/*
 * Ranvet Product Page
 * Styles extracted from the approved product-page prototype.
 *
 * IMPORTANT:
 * - Intentionally excludes the prototype preview/body reset styles.
 * - Selectors are scoped to .rvp-* and .rbo-* components so this file
 *   should not alter existing product pages until the new markup is added.
 * - Product Finder background image should be replaced with a real absolute
 *   WordPress media URL when that section is implemented.
 */

/* ============================================================
   Product Hero
   ============================================================ */
:root {
  --rvp-accent: #DA291C;
  --rvp-accent-lt: #FCEAE8;
  --rvp-dark: #000000;
  --rvp-cream-mid: #EAEAEA;
  --rvp-bg: #F5F5F5;
  --rvp-muted: #6E6E6E;
}
.rvp-wrap { font-family: 'Inter', sans-serif; background: #fff; color: var(--rvp-dark); }
.rvp-inner { max-width: 1200px; margin: 0 auto; padding: 0 40px; }

/* Breadcrumb / eyebrow row */
.rvp-crumb {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--rvp-muted);
  padding: 28px 0 0;
}
.rvp-crumb a { color: var(--rvp-muted); text-decoration: none; }
.rvp-crumb a:hover { color: var(--rvp-accent); }

/* Hero grid */
.rvp-hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  padding: 28px 0 72px;
  align-items: start;
}

/* Gallery */
.rvp-gallery__main {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--rvp-bg);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rvp-gallery__blob {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.rvp-blob-path {
  animation: rvpBreathe 0.9s ease-in-out infinite alternate;
  transform-origin: center;
}
@keyframes rvpBreathe {
  from { transform: scale(1) rotate(0deg); }
  to   { transform: scale(1.035) rotate(1.2deg); }
}
@media (prefers-reduced-motion: reduce) {
  .rvp-blob-path { animation: none; }
}
.rvp-gallery__product {
  position: relative;
  z-index: 1;
  width: 44%;
  filter: drop-shadow(0 18px 28px rgba(0,0,0,0.12));
}
.rvp-gallery__video {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: none;
  background: #000;
  border-radius: 20px;
  overflow: hidden;
}
.rvp-gallery__video.is-active { display: block; }
.rvp-gallery__video iframe { width: 100%; height: 100%; border: 0; }
.rvp-thumb--video { position: relative; }
.rvp-thumb--video img { filter: brightness(0.55); }
.rvp-thumb__play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 22px; height: 22px;
  color: #fff;
}
.rvp-gallery__thumbs {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.rvp-thumb {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  background: var(--rvp-bg);
  border: 1.5px solid transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s;
}
.rvp-thumb.is-active { border-color: var(--rvp-accent); }
.rvp-thumb svg { width: 60%; height: 60%; }

/* Product info panel */
.rvp-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: var(--rvp-accent-lt);
  color: var(--rvp-accent);
  padding: 7px 16px;
  border-radius: 999px;
}
.rvp-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
  font-size: clamp(40px, 5vw, 64px);
  letter-spacing: -1px;
  line-height: 1.05;
  margin: 20px 0 14px;
}
.rvp-title em { font-style: italic; color: var(--rvp-accent); }

.rvp-desc {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 14px;
  line-height: 1.85;
  color: #333;
  max-width: 460px;
  margin-bottom: 28px;
}

.rvp-field-label {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--rvp-muted);
  margin-bottom: 10px;
}
.rvp-sizes { display: flex; gap: 10px; margin-bottom: 28px; }
.rvp-size {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 400;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--rvp-cream-mid);
  background: #fff;
  color: var(--rvp-dark);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.rvp-size:hover { border-color: var(--rvp-accent); }
.rvp-size.is-selected { background: var(--rvp-dark); border-color: var(--rvp-dark); color: #fff; }

/* Qty + CTA row */
.rvp-buy-row { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.rvp-buy-row__secondary { display: flex; gap: 12px; }
.rvp-buy-row__secondary .rvp-btn { flex: 1; }
.rvp-btn--full { width: 100%; }
.rvp-qty {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--rvp-cream-mid);
  border-radius: 999px;
  overflow: hidden;
  flex-shrink: 0;
}
.rvp-qty button {
  width: 40px; height: 48px;
  border: none;
  background: transparent;
  font-size: 16px;
  cursor: pointer;
  color: var(--rvp-dark);
  transition: color 0.2s;
}
.rvp-qty button:hover { color: var(--rvp-accent); }
.rvp-qty input {
  width: 36px;
  text-align: center;
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  -moz-appearance: textfield;
}
.rvp-qty input::-webkit-outer-spin-button,
.rvp-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Buttons — 3 variants per style guide */
.rvp-btn {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0 32px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
}
.rvp-btn:hover { transform: translateY(-3px); }
.rvp-btn--primary { background: var(--rvp-accent); color: #fff; }
.rvp-btn--primary:hover { background: #b8200f; }
.rvp-btn--outline { background: transparent; color: var(--rvp-dark); border-color: var(--rvp-cream-mid); }
.rvp-btn--outline:hover { border-color: var(--rvp-accent); color: var(--rvp-accent); }
.rvp-btn--outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }
.rvp-btn--outline-white:hover { border-color: #fff; }

.rvp-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--rvp-muted);
  margin-bottom: 28px;
}
.rvp-status__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #3f9142;
  box-shadow: 0 0 0 3px rgba(63,145,66,0.15);
}

.rvp-docs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-bottom: 24px;
}
.rvp-doc-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: var(--rvp-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--rvp-cream-mid);
  transition: color 0.2s, text-decoration-color 0.2s;
}
.rvp-doc-link svg { width: 15px; height: 15px; color: var(--rvp-accent); flex-shrink: 0; }
.rvp-doc-link:hover { color: var(--rvp-accent); text-decoration-color: var(--rvp-accent); }

.rvp-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 28px;
  padding-top: 24px;
  border-top: 1px solid var(--rvp-cream-mid);
}
.rvp-trust__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--rvp-muted);
}
.rvp-trust__item svg { width: 16px; height: 16px; color: var(--rvp-accent); flex-shrink: 0; }

@media (max-width: 860px) {
  .rvp-hero { grid-template-columns: 1fr; gap: 32px; padding-bottom: 48px; }
  .rvp-inner { padding: 0 20px; }
}

/* ============================================================
   Details Tabs
   ============================================================ */
.rvp-tabs-section { background: var(--rvp-bg, #F5F5F5); font-family: 'Inter', sans-serif; padding: 64px 40px 80px; }
.rvp-tabs-inner { max-width: 900px; margin: 0 auto; }
.rvp-tabs-nav { display: flex; gap: 10px; margin-bottom: 28px; flex-wrap: wrap; }
.rvp-tab-btn {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1.5px solid #EAEAEA;
  background: #fff;
  color: #000;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
}
.rvp-tab-btn:hover { transform: translateY(-3px); }
.rvp-tab-btn.is-active { background: #DA291C; border-color: #DA291C; color: #fff; }
.rvp-tab-panel { display: none; background: #fff; border-radius: 20px; padding: 40px; }
.rvp-tab-panel.is-active { display: block; }
.rvp-tab-panel h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
  font-size: clamp(18px, 2vw, 24px);
  margin-bottom: 16px;
}
.rvp-tab-panel h3 em { font-style: italic; color: #DA291C; }
.rvp-tab-panel p {
  font-weight: 300;
  font-size: 14px;
  line-height: 1.85;
  color: #333;
  max-width: 640px;
  margin-bottom: 16px;
}
.rvp-dose-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
@media (max-width: 640px) {
  .rvp-dose-table-wrap { overflow-x: auto; }
  .rvp-dose-table { min-width: 560px; }
}
.rvp-dose-table th, .rvp-dose-table td {
  text-align: left;
  padding: 14px 16px;
  font-size: 13px;
  border-bottom: 1px solid #EAEAEA;
}
.rvp-dose-table th { font-weight: 500; color: #6E6E6E; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; }
.rvp-info-box {
  border: 1.5px dashed #EAEAEA;
  border-radius: 14px;
  padding: 24px 28px;
  max-width: 640px;
}
.rvp-info-box p {
  font-weight: 300;
  font-size: 14px;
  line-height: 1.85;
  color: #333;
  max-width: none;
  margin-bottom: 14px;
}
.rvp-info-box p:last-child { margin-bottom: 0; }
.rvp-info-box p strong { font-weight: 500; color: #000; }
.rvp-ingredients-subhead {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #6E6E6E;
  margin-bottom: 18px;
}
.rvp-ingredients-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 24px;
  border-radius: 14px;
  overflow: hidden;
}
.rvp-ingredient-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  font-size: 13px;
}
.rvp-ingredient-row:nth-child(4n+1), .rvp-ingredient-row:nth-child(4n+2) { background: #F5F5F5; }
.rvp-ingredient-row span:first-child { color: #000; }
.rvp-ingredient-row span:last-child { color: #6E6E6E; font-weight: 500; }
@media (max-width: 640px) {
  .rvp-ingredients-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .rvp-tabs-section { padding: 48px 20px 64px; }
  .rvp-tab-panel { padding: 28px 22px; }
}

/* ============================================================
   Nutrition Consult CTA
   ============================================================ */
.rvp-consult { background: #000; font-family: 'Inter', sans-serif; padding: 80px 40px; }
.rvp-consult-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.rvp-consult__eyebrow {
  font-size: 10px; font-weight: 400; letter-spacing: 0.3em; text-transform: uppercase;
  color: #FCEAE8; margin-bottom: 16px;
}
.rvp-consult__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
  font-size: clamp(28px, 3.6vw, 42px);
  color: #fff;
  line-height: 1.2;
  max-width: 640px;
  margin: 0 auto 44px;
}
.rvp-consult__title em { font-style: italic; color: #DA291C; }
.rvp-consult-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: left; }
.rvp-consult-card {
  border: 1.5px solid rgba(255,255,255,0.18);
  border-radius: 20px;
  padding: 32px;
  transition: border-color 0.2s;
  display: flex;
  flex-direction: column;
}
.rvp-consult-card p {
  flex: 1 0 auto;
}
.rvp-consult-card:hover { border-color: #DA291C; }
.rvp-consult-card h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
  font-size: clamp(18px, 2vw, 24px);
  color: #fff;
  margin-bottom: 12px;
}
.rvp-consult-card p {
  font-weight: 300;
  font-size: 14px;
  line-height: 1.85;
  color: rgba(255,255,255,0.65);
  margin-bottom: 24px;
}
.rvp-consult .rvp-btn {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0 28px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid rgba(255,255,255,0.4);
  background: transparent;
  color: #fff;
  transition: transform 0.2s, border-color 0.2s;
}
.rvp-consult .rvp-btn:hover { transform: translateY(-3px); border-color: #fff; }
@media (max-width: 900px) {
  .rvp-consult-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .rvp-consult { padding: 56px 20px; }
  .rvp-consult-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Related Products
   ============================================================ */
.rvp-related { background: #fff; font-family: 'Inter', sans-serif; padding: 72px 40px 96px; }
.rvp-related-inner { max-width: 1200px; margin: 0 auto; }
.rvp-related__eyebrow {
  font-size: 10px; font-weight: 400; letter-spacing: 0.3em; text-transform: uppercase;
  color: #6E6E6E; margin-bottom: 10px;
}
.rvp-related__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
  font-size: clamp(32px, 4vw, 48px);
  margin-bottom: 40px;
}
.rvp-related__title em { font-style: italic; color: #DA291C; }
.rvp-related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.rvp-pcard {
  border-radius: 20px;
  background: #F5F5F5;
  overflow: hidden;
  transition: transform 0.2s;
}
.rvp-pcard:hover { transform: translateY(-3px); }
.rvp-pcard__img { aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; background: #EAEAEA; }
.rvp-pcard__img img { width: 55%; }
.rvp-pcard__body { padding: 20px 22px 24px; }
.rvp-pcard__tag {
  display: inline-block; font-size: 9px; font-weight: 400; letter-spacing: 0.2em; text-transform: uppercase;
  background: #FCEAE8; color: #DA291C; padding: 5px 12px; border-radius: 999px; margin-bottom: 12px;
}
.rvp-pcard__name { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 300; font-size: 21px; margin-bottom: 6px; }
.rvp-pcard__stars { color: #DA291C; font-size: 11px; letter-spacing: 1.5px; margin-bottom: 10px; }
.rvp-pcard__row { display: flex; align-items: center; }
.rvp-pcard__add {
  display: block;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  text-decoration: none;
  font-size: 11px; font-weight: 400; letter-spacing: 1.5px; text-transform: uppercase;
  border: 1.5px solid #000; border-radius: 999px; padding: 10px 18px;
  background: transparent; color: #000; cursor: pointer; transition: transform 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
}
.rvp-pcard__add:hover { transform: translateY(-3px); background: #DA291C; border-color: #DA291C; color: #fff; }
@media (max-width: 640px) {
  .rvp-related { padding: 48px 20px 64px; }
}

/* ============================================================
   Product in Action Carousel
   ============================================================ */
.rvp-carousel-section { background: #F5F5F5; font-family: 'Inter', sans-serif; padding: 72px 0 88px; overflow: hidden; }
.rvp-carousel-head { max-width: 1200px; margin: 0 auto; padding: 0 40px; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.rvp-carousel__eyebrow {
  font-size: 10px; font-weight: 400; letter-spacing: 0.3em; text-transform: uppercase;
  color: #6E6E6E; margin-bottom: 10px;
}
.rvp-carousel__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
  font-size: clamp(32px, 4vw, 48px);
}
.rvp-carousel__title em { font-style: italic; color: #DA291C; }
.rvp-carousel-nav { display: flex; gap: 10px; flex-shrink: 0; }
.rvp-carousel-arrow {
  width: 44px; height: 44px;
  border-radius: 999px;
  border: 1.5px solid #EAEAEA;
  background: #fff;
  color: #000;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.2s, border-color 0.2s, color 0.2s;
}
.rvp-carousel-arrow:hover { transform: translateY(-3px); border-color: #DA291C; color: #DA291C; }
.rvp-carousel-arrow svg { width: 16px; height: 16px; }

.rvp-carousel-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 40px;
  scrollbar-width: none;
}
.rvp-carousel-track::-webkit-scrollbar { display: none; }
.rvp-carousel-slide {
  scroll-snap-align: start;
  flex: 0 0 auto;
  width: 300px;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
}
.rvp-carousel-slide__img { position: relative; aspect-ratio: 4/5; overflow: hidden; }
.rvp-carousel-slide__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rvp-carousel-slide__tag {
  position: absolute; top: 14px; left: 14px;
  font-size: 9px; font-weight: 400; letter-spacing: 0.2em; text-transform: uppercase;
  background: #FCEAE8; color: #DA291C; padding: 5px 12px; border-radius: 999px;
}
.rvp-carousel-slide__caption { padding: 16px 18px 20px; }
.rvp-carousel-slide__name { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 300; font-size: 19px; margin-bottom: 4px; }
.rvp-carousel-slide__meta { font-size: 12px; color: #6E6E6E; }

@media (max-width: 640px) {
  .rvp-carousel-head { padding: 0 20px; }
  .rvp-carousel-track { padding: 0 20px; }
  .rvp-carousel-slide { width: 240px; }
}

/* ============================================================
   Product Finder CTA
   ============================================================ */
.rvp-finder {
  position: relative;
  /* Replace the URL below with the real WordPress Media Library image URL when this section goes live. */
  background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  font-family: 'Inter', sans-serif;
  padding: 120px 40px;
  text-align: center;
}
.rvp-finder-inner { max-width: 620px; margin: 0 auto; position: relative; z-index: 1; }
.rvp-finder__eyebrow {
  font-size: 10px; font-weight: 400; letter-spacing: 0.3em; text-transform: uppercase;
  color: #FCEAE8; margin-bottom: 16px;
}
.rvp-finder__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.15;
  color: #fff;
  margin-bottom: 16px;
}
.rvp-finder__title em { font-style: italic; color: #DA291C; }
.rvp-finder p {
  font-weight: 300;
  font-size: 14px;
  line-height: 1.85;
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
}
.rvp-finder .rvp-btn {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0 34px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  background: #DA291C;
  color: #fff;
  transition: transform 0.2s, background 0.2s;
}
.rvp-finder .rvp-btn:hover { transform: translateY(-3px); background: #b8200f; }
@media (max-width: 640px) {
  .rvp-finder { padding: 80px 20px; }
}

/* ============================================================
   Buy Online Retailer Picker
   ============================================================ */
.rbo-section { background: #fff; font-family: 'Inter', sans-serif; padding: 72px 40px; }
.rbo-inner { max-width: 900px; margin: 0 auto; }

.rbo-head { text-align: center; padding-bottom: 40px; }
.rbo-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}
.rbo-title em { font-style: italic; color: #DA291C; }
.rbo-head p {
  font-weight: 300;
  font-size: 14px;
  line-height: 1.85;
  color: #333;
  max-width: 480px;
  margin: 0 auto;
}

/* Stockist accordion trigger + reveal panel */
.rbo-buy { text-align: center; }

.rbo-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #DA291C;
  padding: 8px 0;
}
.rbo-toggle svg {
  width: 16px;
  height: 16px;
  stroke: #DA291C;
  transition: transform 0.25s ease;
}
.rbo-toggle.is-open svg { transform: rotate(180deg); }

.rbo-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  text-align: left;
}
.rbo-panel.is-open { max-height: 1200px; }
.rbo-panel-inner { padding-top: 28px; }

.rbo-retailer-card {
  display: flex;
  align-items: center;
  gap: 24px;
  border: 1.5px solid #EAEAEA;
  border-radius: 20px;
  padding: 24px 28px;
  margin-bottom: 16px;
  transition: border-color 0.2s;
}
.rbo-retailer-card:hover { border-color: #DA291C; }
.rbo-retailer-card__logo {
  width: 100px;
  height: 60px;
  border-radius: 12px;
  background: #F5F5F5;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #6E6E6E;
  text-align: center;
  padding: 8px;
}
.rbo-retailer-card__logo img { max-width: 100%; max-height: 100%; }
.rbo-retailer-card__body { flex: 1; }
.rbo-retailer-card__name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
  font-size: 22px;
  margin-bottom: 4px;
}
.rbo-retailer-card__note { font-size: 12px; color: #6E6E6E; }
.rbo-retailer-card__btn {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0 26px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  background: #DA291C;
  color: #fff;
  flex-shrink: 0;
  transition: transform 0.2s, background 0.2s;
}
.rbo-retailer-card__btn:hover { transform: translateY(-3px); background: #b8200f; }

/* Empty template slot styling — remove the dashed border treatment once a real retailer is added */
.rbo-retailer-card--placeholder {
  border-style: dashed;
  border-color: #EAEAEA;
}
.rbo-retailer-card--placeholder .rbo-retailer-card__logo { color: #B5B5B5; }
.rbo-retailer-card--placeholder .rbo-retailer-card__name { color: #B5B5B5; }
.rbo-retailer-card--placeholder .rbo-retailer-card__btn {
  background: transparent;
  border-color: #EAEAEA;
  color: #B5B5B5;
  cursor: default;
}
.rbo-retailer-card--placeholder .rbo-retailer-card__btn:hover { transform: none; background: transparent; }

.rbo-footer {
  text-align: center;
  border-top: 1px solid #EAEAEA;
  padding-top: 40px;
  margin-top: 56px;
}
.rbo-footer p {
  font-weight: 300;
  font-size: 14px;
  line-height: 1.85;
  color: #333;
  margin-bottom: 20px;
}
.rbo-footer a.rbo-footer__btn {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0 30px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 1.5px solid #EAEAEA;
  color: #000;
  transition: transform 0.2s, border-color 0.2s, color 0.2s;
}
.rbo-footer a.rbo-footer__btn:hover { transform: translateY(-3px); border-color: #DA291C; color: #DA291C; }

@media (max-width: 640px) {
  .rbo-section { padding: 48px 20px; }
  .rbo-retailer-card { flex-wrap: wrap; text-align: center; justify-content: center; }
  .rbo-retailer-card__body { flex: 1 0 100%; }
}

/* ============================================================
   Ranvet Product Hero — Avada Compatibility / Refinements
   ============================================================ */

/*
 * The original prototype assumed border-box globally.
 * Scope it to our component so Avada/the rest of the site
 * is completely unaffected.
 */
.rvp-wrap,
.rvp-wrap *,
.rvp-wrap *::before,
.rvp-wrap *::after {
    box-sizing: border-box;
}


/* Keep the product layout centred correctly inside Avada. */
.rvp-wrap {
    width: 100%;
    max-width: none;
}

.rvp-inner {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}


/* Prevent grid children from forcing the layout wider. */
.rvp-hero__gallery,
.rvp-hero__info {
    min-width: 0;
}


/*
 * Avada has strong heading typography rules.
 * Force the approved Ranvet product typography here.
 */
.rvp-wrap .rvp-title {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-weight: 300 !important;
    font-style: normal !important;
    color: #000 !important;
    font-size: clamp(40px, 5vw, 64px) !important;
    line-height: 1.05 !important;
    letter-spacing: -1px !important;
    text-transform: none !important;
}

.rvp-wrap .rvp-title em {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-weight: 300 !important;
    font-style: italic !important;
    color: #DA291C !important;
}


/* Keep the body/UI typography consistent with the design. */
.rvp-wrap .rvp-desc,
.rvp-wrap .rvp-field-label,
.rvp-wrap .rvp-size,
.rvp-wrap .rvp-btn,
.rvp-wrap .rvp-status,
.rvp-wrap .rvp-doc-link,
.rvp-wrap .rvp-trust__item,
.rvp-wrap .rvp-tag,
.rvp-wrap .rvp-crumb {
    font-family: 'Inter', sans-serif !important;
}


/* Product thumbnails */
.rvp-thumb {
    padding: 6px;
    appearance: none;
    -webkit-appearance: none;
}

.rvp-thumb img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
}


/* Make sure buttons retain our colours against Avada link styling. */
.rvp-wrap .rvp-btn--primary,
.rvp-wrap .rvp-btn--primary:visited {
    background: #DA291C !important;
    color: #fff !important;
}

.rvp-wrap .rvp-btn--primary:hover {
    background: #b8200f !important;
    color: #fff !important;
}

.rvp-wrap .rvp-btn--outline,
.rvp-wrap .rvp-btn--outline:visited {
    background: #fff !important;
    color: #000 !important;
}

.rvp-wrap .rvp-btn--outline:hover {
    color: #DA291C !important;
}


/* Document links */
.rvp-wrap .rvp-doc-link,
.rvp-wrap .rvp-doc-link:visited {
    color: #000 !important;
}

.rvp-wrap .rvp-doc-link:hover {
    color: #DA291C !important;
}


/* The informational size pills are not form buttons. */
.rvp-wrap .rvp-size {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
}


/* Slightly tighten long descriptions before the controls. */
.rvp-wrap .rvp-desc > *:last-child {
    margin-bottom: 0;
}


/* Mobile */
@media (max-width: 640px) {

    .rvp-buy-row__secondary {
        flex-direction: column;
    }

    .rvp-buy-row__secondary .rvp-btn {
        width: 100%;
    }

    .rvp-sizes {
        flex-wrap: wrap;
    }

    .rvp-docs {
        flex-direction: column;
        align-items: flex-start;
    }

}

/* ============================================================
   Ranvet Product Gallery — Scrollable Thumbnail Rail
   ============================================================ */

.rvp-gallery__thumb-area {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    width: 100%;
}

.rvp-gallery__thumb-area .rvp-gallery__thumbs {
    flex: 1;
    min-width: 0;
    margin-top: 0;

    display: flex;
    gap: 10px;

    overflow-x: auto;
    overflow-y: hidden;

    scroll-behavior: smooth;
    scroll-snap-type: x proximity;

    scrollbar-width: none;

    padding: 2px;
}

.rvp-gallery__thumb-area .rvp-gallery__thumbs::-webkit-scrollbar {
    display: none;
}


/* Individual thumbnail */
.rvp-gallery__thumb-area .rvp-thumb {
    flex: 0 0 64px;

    width: 64px;
    height: 64px;

    scroll-snap-align: start;

    border-radius: 12px;
    border: 1.5px solid transparent;

    background: #F5F5F5;

    padding: 6px;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    transition:
        border-color 0.2s,
        transform 0.2s,
        background 0.2s;
}

.rvp-gallery__thumb-area .rvp-thumb:hover {
    transform: translateY(-2px);
}

.rvp-gallery__thumb-area .rvp-thumb.is-active {
    border-color: #DA291C;
    background: #fff;
}

.rvp-gallery__thumb-area .rvp-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}


/* Previous / next controls */
.rvp-gallery-arrow {
    width: 38px;
    height: 38px;

    flex: 0 0 38px;

    border: 1.5px solid #EAEAEA;
    border-radius: 999px;

    background: #fff;
    color: #000;

    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    transition:
        color 0.2s,
        border-color 0.2s,
        transform 0.2s;
}

.rvp-gallery-arrow:hover {
    color: #DA291C;
    border-color: #DA291C;
    transform: translateY(-2px);
}

.rvp-gallery-arrow svg {
    width: 15px;
    height: 15px;
}


/* Smooth visual change when swapping images */
.rvp-gallery__product {
    transition:
        opacity 0.15s ease,
        transform 0.2s ease;
}


/* Mobile */
@media (max-width: 640px) {

    .rvp-gallery-arrow {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
    }

    .rvp-gallery__thumb-area .rvp-thumb {
        flex-basis: 58px;
        width: 58px;
        height: 58px;
    }

}

/* ============================================================
   Ranvet Product Tabs — Existing WooCommerce Content
   ============================================================ */

.rvp-tabs-section,
.rvp-tabs-section *,
.rvp-tabs-section *::before,
.rvp-tabs-section *::after {
    box-sizing: border-box;
}


/* Prevent Avada from overriding our tab buttons. */
.rvp-tabs-section .rvp-tab-btn {
    font-family: 'Inter', sans-serif !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
    color: #000 !important;
}

.rvp-tabs-section .rvp-tab-btn.is-active {
    background: #DA291C !important;
    border-color: #DA291C !important;
    color: #fff !important;
}


/* Existing tab content */
.rvp-tab-content {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.85;
    color: #333;
}


/* Existing plugin headings */
.rvp-tab-content h2,
.rvp-tab-content h3,
.rvp-tab-content h4 {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-weight: 300 !important;
    color: #000 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    line-height: 1.2 !important;
}

.rvp-tab-content h2 {
    font-size: 28px !important;
    margin: 0 0 22px !important;
}

.rvp-tab-content h3 {
    font-size: 23px !important;
    margin: 28px 0 14px !important;
}

.rvp-tab-content h4 {
    font-size: 19px !important;
    margin: 24px 0 12px !important;
}


/* Paragraphs */
.rvp-tab-content p {
    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    font-weight: 300 !important;
    line-height: 1.85 !important;
    color: #333 !important;
    max-width: none;
    margin: 0 0 16px;
}


/* Lists */
.rvp-tab-content ul,
.rvp-tab-content ol {
    margin: 10px 0 20px 22px;
    padding: 0;
}

.rvp-tab-content li {
    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    font-weight: 300 !important;
    line-height: 1.8 !important;
    color: #333 !important;
    margin-bottom: 8px;
}


/* Keep emphasis readable without Avada making it excessively heavy. */
.rvp-tab-content strong,
.rvp-tab-content b {
    font-weight: 500 !important;
    color: #000;
}


/* Links */
.rvp-tab-content a,
.rvp-tab-content a:visited {
    color: #DA291C !important;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.rvp-tab-content a:hover {
    color: #b8200f !important;
}


/* Tables — useful for dosage rates / ingredients etc. */
.rvp-tab-content table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 18px 0 !important;
    background: #fff;
}

.rvp-tab-content table th,
.rvp-tab-content table td {
    font-family: 'Inter', sans-serif !important;
    text-align: left !important;
    padding: 14px 16px !important;
    border: 0 !important;
    border-bottom: 1px solid #EAEAEA !important;
}

.rvp-tab-content table th {
    font-size: 11px !important;
    font-weight: 500 !important;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #6E6E6E !important;
}

.rvp-tab-content table td {
    font-size: 13px !important;
    font-weight: 300 !important;
    color: #333 !important;
}


/* Images contained within old custom tabs */
.rvp-tab-content img {
    max-width: 100%;
    height: auto;
    border-radius: 14px;
}


/* Remove redundant WooCommerce tab heading where possible. */
.rvp-tab-content > h2:first-child {
    margin-top: 0 !important;
}


/* Mobile */
@media (max-width: 640px) {

    .rvp-tabs-nav {
        gap: 8px;
    }

    .rvp-tabs-section .rvp-tab-btn {
        padding: 10px 16px;
        font-size: 10px;
    }

    .rvp-tab-content {
        overflow-x: auto;
    }

}

/* ============================================================
   Buy Online Tab — Retailer Grid
   ============================================================ */

.rvp-buy-online-content {
    width: 100%;
}


.rvp-buy-online-title {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-size: 30px !important;
    line-height: 1.1 !important;
    font-weight: 300 !important;
    color: #000 !important;

    margin: 0 0 8px !important;
}

.rvp-buy-online-title em {
    font-style: italic;
    color: #DA291C;
}


.rvp-buy-online-intro {
    font-family: 'Inter', sans-serif !important;
    font-size: 13px !important;
    font-weight: 300 !important;
    color: #6E6E6E !important;

    margin: 0 0 28px !important;
}


/* Retailer grid */
.rvp-retailer-grid {
    display: grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(170px, 1fr)
        );

    gap: 16px;

    width: 100%;
}


/* Individual retailer */
.rvp-tab-content a.rvp-retailer-tile,
.rvp-tab-content a.rvp-retailer-tile:visited {
    display: flex;
    flex-direction: column;

    min-width: 0;

    background: #fff;

    border: 1.5px solid #EAEAEA;
    border-radius: 18px;

    overflow: hidden;

    color: #000 !important;

    text-decoration: none !important;

    transition:
        transform 0.2s,
        border-color 0.2s,
        box-shadow 0.2s;
}


.rvp-tab-content a.rvp-retailer-tile:hover {
    transform: translateY(-3px);

    border-color: #DA291C;

    box-shadow:
        0 10px 30px
        rgba(0, 0, 0, 0.06);

    color: #DA291C !important;
}


/* Logo area */
.rvp-retailer-tile__logo {
    height: 150px;

    padding: 24px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #F5F5F5;
}


.rvp-tab-content .rvp-retailer-tile__logo img {
    display: block;

    width: auto !important;
    height: auto !important;

    max-width: 100% !important;
    max-height: 85px !important;

    object-fit: contain;

    border-radius: 0 !important;

    margin: 0 !important;
}


/* CTA below logo */
.rvp-retailer-tile__footer {
    min-height: 48px;

    padding: 12px 16px;

    border-top: 1px solid #EAEAEA;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 12px;

    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.16em;
    text-transform: uppercase;

    background: #fff;
}


.rvp-retailer-tile__footer svg {
    width: 15px;
    height: 15px;

    flex-shrink: 0;

    color: #DA291C;
}


/*
 * Buy Online gets slightly more width than
 * text-heavy tabs because it's a visual grid.
 */
.rvp-tab-panel--buy-online {
    padding: 36px;
}


/* Tablet */
@media (max-width: 800px) {

    .rvp-retailer-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }

}


/* Mobile */
@media (max-width: 520px) {

    .rvp-tab-panel--buy-online {
        padding: 24px 20px;
    }

    .rvp-retailer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .rvp-retailer-tile__logo {
        height: 120px;
        padding: 18px;
    }

    .rvp-tab-content .rvp-retailer-tile__logo img {
        max-height: 68px !important;
    }

    .rvp-retailer-tile__footer {
        padding: 10px 12px;
        font-size: 9px;
    }

}

/* ============================================================
   SECTION C — Consultation CTA final refinements
   ============================================================ */


/*
 * BREAK OUT OF THE AVADA CONTENT CONTAINER
 *
 * Section C should be edge-to-edge even though the
 * product hero/tabs above it are contained.
 */
.rvp-consult {
    position: relative;

    width: 100vw !important;
    max-width: 100vw !important;

    left: 50%;
    margin-left: -50vw !important;
    margin-right: -50vw !important;

    background: #000 !important;

    padding: 80px 40px !important;

    box-sizing: border-box;
}


/*
 * Keep the actual CONTENT contained,
 * while the black background remains full width.
 */
.rvp-consult-inner {
    width: 100%;
    max-width: 900px !important;

    margin-left: auto !important;
    margin-right: auto !important;

    text-align: center;
}


/* Eyebrow */
.rvp-consult .rvp-consult__eyebrow {
    font-family: 'Inter', sans-serif !important;

    font-size: 10px !important;
    font-weight: 400 !important;

    line-height: 1.2 !important;

    letter-spacing: 0.3em !important;
    text-transform: uppercase !important;

    color: #FCEAE8 !important;

    margin: 0 0 16px !important;
}


/*
 * MAIN HEADING
 *
 * Avada was overriding this with a larger,
 * dark heading style.
 */
.rvp-consult .rvp-consult__title {
    font-family: 'Cormorant Garamond', Georgia, serif !important;

    font-weight: 300 !important;
    font-style: normal !important;

    font-size: clamp(28px, 3.6vw, 42px) !important;

    line-height: 1.2 !important;

    letter-spacing: 0 !important;
    text-transform: none !important;

    color: #fff !important;

    max-width: 640px !important;

    margin:
        0
        auto
        44px
        !important;
}


.rvp-consult .rvp-consult__title em {
    font-family: 'Cormorant Garamond', Georgia, serif !important;

    font-weight: 300 !important;
    font-style: italic !important;

    color: #DA291C !important;
}


/* Cards */
.rvp-consult-grid {
    display: grid !important;

    grid-template-columns:
        repeat(3, minmax(0, 1fr)) !important;

    gap: 24px !important;

    text-align: left;
}


.rvp-consult-card {
    min-width: 0;

    border:
        1.5px
        solid
        rgba(255, 255, 255, 0.18)
        !important;

    border-radius: 20px !important;

    padding: 32px !important;

    display: flex !important;
    flex-direction: column !important;

    background: transparent !important;

    transition: border-color 0.2s;
}


.rvp-consult-card:hover {
    border-color: #DA291C !important;
}


/* Card headings */
.rvp-consult .rvp-consult-card h3 {
    font-family: 'Cormorant Garamond', Georgia, serif !important;

    font-weight: 300 !important;

    font-size: clamp(18px, 2vw, 24px) !important;

    line-height: 1.2 !important;

    letter-spacing: 0 !important;
    text-transform: none !important;

    color: #fff !important;

    margin:
        0
        0
        12px
        !important;
}


/* Card descriptions */
.rvp-consult .rvp-consult-card p {
    font-family: 'Inter', sans-serif !important;

    font-weight: 300 !important;

    font-size: 14px !important;
    line-height: 1.85 !important;

    color:
        rgba(255, 255, 255, 0.65)
        !important;

    margin:
        0
        0
        24px
        !important;

    flex: 1 1 auto;
}


/*
 * BUTTONS
 *
 * Use min-height instead of a fixed height so text can
 * never spill outside the pill.
 */
.rvp-consult .rvp-btn,
.rvp-consult .rvp-btn:visited {
    width: 100% !important;

    min-height: 46px !important;
    height: auto !important;

    padding:
        13px
        18px
        !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    box-sizing: border-box;

    border:
        1.5px
        solid
        rgba(255, 255, 255, 0.4)
        !important;

    border-radius: 999px !important;

    background: transparent !important;

    font-family: 'Inter', sans-serif !important;

    font-size: 10px !important;
    font-weight: 400 !important;

    line-height: 1.25 !important;

    letter-spacing: 1.25px !important;
    text-transform: uppercase !important;

    text-align: center !important;
    text-decoration: none !important;

    color: #fff !important;

    white-space: normal;

    transition:
        transform 0.2s,
        border-color 0.2s;
}


.rvp-consult .rvp-btn:hover {
    transform: translateY(-3px);

    border-color: #fff !important;

    color: #fff !important;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 900px) {

    .rvp-consult-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr))
            !important;
    }

}


@media (max-width: 700px) {

    .rvp-consult {
        padding:
            56px
            20px
            !important;
    }

    .rvp-consult-grid {
        grid-template-columns:
            1fr
            !important;
    }

    .rvp-consult-card {
        padding: 28px !important;
    }

}

/* ============================================================
   SECTION D — Related Products
   ============================================================ */

.rvp-related,
.rvp-related *,
.rvp-related *::before,
.rvp-related *::after {
    box-sizing: border-box;
}


/* Section */
.rvp-related {
    width: 100%;

    background: #fff;

    font-family: 'Inter', sans-serif;

    padding: 72px 40px 96px;
}


.rvp-related-inner {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto;
}


/* Heading */
.rvp-related__eyebrow {
    font-family: 'Inter', sans-serif !important;

    font-size: 10px !important;
    font-weight: 400 !important;

    letter-spacing: 0.3em !important;
    text-transform: uppercase !important;

    color: #6E6E6E !important;

    margin-bottom: 10px;
}


.rvp-related .rvp-related__title {
    font-family: 'Cormorant Garamond', Georgia, serif !important;

    font-weight: 300 !important;

    font-size: clamp(32px, 4vw, 48px) !important;

    line-height: 1.1 !important;

    letter-spacing: 0 !important;

    text-transform: none !important;

    color: #000 !important;

    margin:
        0
        0
        40px
        !important;
}


.rvp-related .rvp-related__title em {
    font-family: 'Cormorant Garamond', Georgia, serif !important;

    font-weight: 300 !important;
    font-style: italic !important;

    color: #DA291C !important;
}


/* Product grid */
.rvp-related-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 24px;
}


/* Card */
.rvp-pcard {
    min-width: 0;

    display: flex;
    flex-direction: column;

    overflow: hidden;

    border-radius: 20px;

    background: #F5F5F5;

    transition:
        transform 0.2s,
        box-shadow 0.2s;
}


.rvp-pcard:hover {
    transform: translateY(-3px);

    box-shadow:
        0 14px 34px
        rgba(0, 0, 0, 0.07);
}


/* Image */
.rvp-pcard__image-link {
    display: block;

    color: inherit !important;

    text-decoration: none !important;
}


.rvp-pcard__img {
    position: relative;

    aspect-ratio: 1 / 1;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 30px;

    background: #EAEAEA;

    overflow: hidden;
}


.rvp-pcard__img img {
    display: block;

    width: 72% !important;
    height: 72% !important;

    max-width: 72% !important;

    object-fit: contain;

    margin: 0 !important;

    border-radius: 0 !important;

    transition: transform 0.25s ease;
}


.rvp-pcard:hover .rvp-pcard__img img {
    transform: scale(1.03);
}


/* Card body */
.rvp-pcard__body {
    padding: 20px 22px 24px;

    display: flex;
    flex-direction: column;

    flex: 1;
}


/* Category */
.rvp-pcard__tag {
    align-self: flex-start;

    display: inline-flex;

    font-family: 'Inter', sans-serif !important;

    font-size: 9px !important;
    font-weight: 400 !important;

    letter-spacing: 0.2em !important;
    text-transform: uppercase !important;

    color: #DA291C !important;

    background: #FCEAE8;

    padding: 5px 12px;

    border-radius: 999px;

    margin-bottom: 12px;
}


/* Product name */
.rvp-related .rvp-pcard__name {
    font-family: 'Cormorant Garamond', Georgia, serif !important;

    font-size: 23px !important;
    font-weight: 300 !important;

    line-height: 1.15 !important;

    letter-spacing: 0 !important;

    text-transform: none !important;

    margin:
        0
        0
        20px
        !important;

    flex: 1;
}


.rvp-related .rvp-pcard__name a,
.rvp-related .rvp-pcard__name a:visited {
    font-family: inherit !important;

    color: #000 !important;

    text-decoration: none !important;
}


.rvp-related .rvp-pcard__name a:hover {
    color: #DA291C !important;
}


/* Bottom CTA */
.rvp-pcard__row {
    display: flex;

    margin-top: auto;
}


.rvp-related .rvp-pcard__add,
.rvp-related .rvp-pcard__add:visited {
    width: 100%;

    min-height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 11px 16px;

    border: 1.5px solid #000;

    border-radius: 999px;

    background: transparent;

    font-family: 'Inter', sans-serif !important;

    font-size: 10px !important;
    font-weight: 400 !important;

    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;

    color: #000 !important;

    text-align: center;

    text-decoration: none !important;

    transition:
        transform 0.2s,
        background 0.2s,
        color 0.2s,
        border-color 0.2s;
}


.rvp-related .rvp-pcard__add:hover {
    transform: translateY(-3px);

    background: #DA291C;

    border-color: #DA291C;

    color: #fff !important;
}


/* Tablet */
@media (max-width: 900px) {

    .rvp-related-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* Mobile */
@media (max-width: 640px) {

    .rvp-related {
        padding:
            48px
            20px
            64px;
    }

    .rvp-related-grid {
        grid-template-columns: 1fr;
    }

}


/* ============================================================
   SECTION E — Product In Action Carousel
   ============================================================ */

.rvp-carousel-section,
.rvp-carousel-section *,
.rvp-carousel-section *::before,
.rvp-carousel-section *::after {
    box-sizing: border-box;
}


/* ============================================================
   SECTION + FULL-WIDTH BACKGROUND
   ============================================================ */

.rvp-carousel-section {
    position: relative;
    isolation: isolate;

    width: 100%;

    font-family: 'Inter', sans-serif;

    padding: 72px 0 88px;

    /*
     * Actual section stays inside the existing layout.
     * The pseudo-element below provides the full-width background.
     */
    background: transparent;

    overflow: visible;
}


/*
 * Full-bleed grey background only.
 *
 * This reaches the viewport edges without changing
 * the position or width of any content.
 */
.rvp-carousel-section::before {
    content: '';

    position: absolute;

    z-index: -1;

    top: 0;
    bottom: 0;

    left: 50%;

    width: 100vw;

    transform: translateX(-50%);

    background: #F5F5F5;

    pointer-events: none;
}


/* ============================================================
   HEADER
   ============================================================ */

.rvp-carousel-head {
    width: calc(100% - 80px);
    max-width: 1200px;

    margin:
        0
        auto
        36px;

    padding: 0;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 24px;
}


.rvp-carousel__eyebrow {
    font-family: 'Inter', sans-serif !important;

    font-size: 10px !important;
    font-weight: 400 !important;

    line-height: 1.2 !important;

    letter-spacing: 0.3em !important;
    text-transform: uppercase !important;

    color: #6E6E6E !important;

    margin-bottom: 10px;
}


.rvp-carousel-section .rvp-carousel__title {
    font-family: 'Cormorant Garamond', Georgia, serif !important;

    font-weight: 300 !important;

    font-size: clamp(32px, 4vw, 48px) !important;

    line-height: 1.1 !important;

    letter-spacing: 0 !important;
    text-transform: none !important;

    color: #000 !important;

    margin: 0 !important;
}


.rvp-carousel-section .rvp-carousel__title em {
    font-family: 'Cormorant Garamond', Georgia, serif !important;

    font-weight: 300 !important;
    font-style: italic !important;

    color: #DA291C !important;
}


/* ============================================================
   CAROUSEL NAVIGATION
   ============================================================ */

.rvp-carousel-nav {
    display: flex;

    gap: 10px;

    flex-shrink: 0;
}


.rvp-carousel-arrow {
    width: 44px;
    height: 44px;

    flex: 0 0 44px;

    padding: 0;

    border-radius: 999px;

    border: 1.5px solid #EAEAEA;

    background: #fff;

    color: #000;

    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    transition:
        transform 0.2s,
        border-color 0.2s,
        color 0.2s;
}


.rvp-carousel-arrow:hover {
    transform: translateY(-3px);

    border-color: #DA291C;

    color: #DA291C;
}


.rvp-carousel-arrow svg {
    width: 16px;
    height: 16px;
}


/* ============================================================
   CAROUSEL TRACK
   ============================================================ */

.rvp-carousel-track {
    width: calc(100% - 80px);
    max-width: 1200px;

    margin-left: auto;
    margin-right: auto;

    display: flex;

    gap: 20px;

    overflow-x: auto;
    overflow-y: hidden;

    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;

    padding: 0 0 8px;

    scrollbar-width: none;
}


.rvp-carousel-track::-webkit-scrollbar {
    display: none;
}


/* ============================================================
   INDIVIDUAL SLIDE
   ============================================================ */

.rvp-carousel-slide {
    scroll-snap-align: start;

    /*
     * Four cards fit exactly:
     * 4 cards + 3 x 20px gaps = full container.
     */
    flex: 0 0 calc((100% - 60px) / 4);

    width: calc((100% - 60px) / 4);

    min-width: 0;

    border-radius: 20px;

    overflow: hidden;

    background: #fff;

    transition:
        transform 0.2s,
        box-shadow 0.2s;
}


.rvp-carousel-slide:hover {
    transform: translateY(-3px);

    box-shadow:
        0
        14px
        34px
        rgba(0, 0, 0, 0.07);
}


/* ============================================================
   SLIDE IMAGE
   ============================================================ */

.rvp-carousel-slide__img {
    position: relative;

    aspect-ratio: 4 / 5;

    overflow: hidden;

    background: #EAEAEA;
}


.rvp-carousel-slide__img img {
    width: 100% !important;
    height: 100% !important;

    max-width: none !important;

    object-fit: cover;

    display: block;

    margin: 0 !important;

    border-radius: 0 !important;

    transition:
        transform
        0.3s
        ease;
}


.rvp-carousel-slide:hover
.rvp-carousel-slide__img img {
    transform: scale(1.025);
}


/* ============================================================
   IMAGE TAG
   ============================================================ */

.rvp-carousel-slide__tag {
    position: absolute;

    z-index: 2;

    top: 14px;
    left: 14px;

    font-family: 'Inter', sans-serif !important;

    font-size: 9px !important;
    font-weight: 400 !important;

    line-height: 1.2 !important;

    letter-spacing: 0.2em !important;
    text-transform: uppercase !important;

    background: #FCEAE8;

    color: #DA291C !important;

    padding: 6px 12px;

    border-radius: 999px;
}


/* ============================================================
   CAPTION
   ============================================================ */

.rvp-carousel-slide__caption {
    padding: 16px 18px 20px;
}


.rvp-carousel-slide__name {
    font-family: 'Cormorant Garamond', Georgia, serif !important;

    font-weight: 300 !important;

    font-size: 19px !important;

    line-height: 1.2 !important;

    color: #000 !important;

    margin-bottom: 5px;

    overflow: hidden;

    display: -webkit-box;

    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}


.rvp-carousel-slide__meta {
    font-family: 'Inter', sans-serif !important;

    font-size: 12px !important;
    font-weight: 300 !important;

    line-height: 1.5 !important;

    color: #6E6E6E !important;
}


/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 900px) {

    .rvp-carousel-head,
    .rvp-carousel-track {
        width: calc(100% - 60px);
    }


    .rvp-carousel-slide {
        flex: 0 0 calc((100% - 20px) / 2.25);

        width: calc((100% - 20px) / 2.25);
    }

}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 640px) {

    .rvp-carousel-section {
        padding:
            56px
            0
            64px;
    }


    .rvp-carousel-head,
    .rvp-carousel-track {
        width: calc(100% - 40px);
    }


    .rvp-carousel-head {
        margin-bottom: 28px;

        align-items: center;
    }


    .rvp-carousel-nav {
        gap: 8px;
    }


    .rvp-carousel-arrow {
        width: 38px;
        height: 38px;

        flex-basis: 38px;
    }


    .rvp-carousel-track {
        gap: 14px;
    }


    .rvp-carousel-slide {
        flex: 0 0 82%;

        width: 82%;
    }


    .rvp-carousel-slide__caption {
        padding:
            14px
            16px
            18px;
    }

}


/* ============================================================
   SECTION G — Buy Online Retailer Picker
   ============================================================ */

.rbo-section,
.rbo-section *,
.rbo-section *::before,
.rbo-section *::after {
    box-sizing: border-box;
}


/* ============================================================
   SECTION
   ============================================================ */

.rbo-section {
    position: relative;

    width: 100%;

    background: #fff;

    font-family: 'Inter', sans-serif;

    padding:
        72px
        40px;
}


.rbo-inner {
    width: 100%;

    max-width: 900px;

    margin:
        0
        auto;
}


/* ============================================================
   HEADER
   ============================================================ */

.rbo-head {
    text-align: center;

    padding-bottom: 40px;
}


.rbo-section .rbo-title {
    font-family:
        'Cormorant Garamond',
        Georgia,
        serif
        !important;

    font-weight: 300 !important;

    font-size:
        clamp(
            32px,
            4vw,
            48px
        )
        !important;

    line-height: 1.1 !important;

    letter-spacing:
        -0.5px
        !important;

    text-transform:
        none
        !important;

    color:
        #000
        !important;

    margin:
        0
        0
        14px
        !important;
}


.rbo-section .rbo-title em {
    font-family:
        'Cormorant Garamond',
        Georgia,
        serif
        !important;

    font-weight: 300 !important;

    font-style:
        italic
        !important;

    color:
        #DA291C
        !important;
}


.rbo-section .rbo-head p {
    font-family:
        'Inter',
        sans-serif
        !important;

    font-weight: 300 !important;

    font-size:
        14px
        !important;

    line-height:
        1.85
        !important;

    color:
        #333
        !important;

    max-width: 520px;

    margin:
        0
        auto
        !important;
}


/* ============================================================
   STOCKIST TOGGLE
   ============================================================ */

.rbo-buy {
    text-align: center;
}


.rbo-toggle {
    appearance: none;
    -webkit-appearance: none;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    padding:
        8px
        0;

    border: 0 !important;

    background:
        transparent
        !important;

    font-family:
        'Inter',
        sans-serif
        !important;

    font-size:
        16px
        !important;

    font-weight:
        500
        !important;

    line-height:
        1.2
        !important;

    text-transform:
        none
        !important;

    letter-spacing:
        0
        !important;

    color:
        #DA291C
        !important;

    cursor: pointer;

    box-shadow:
        none
        !important;
}


.rbo-toggle:hover,
.rbo-toggle:focus {
    background:
        transparent
        !important;

    color:
        #DA291C
        !important;
}


.rbo-toggle svg {
    width: 16px;
    height: 16px;

    flex-shrink: 0;

    stroke:
        #DA291C;

    transition:
        transform
        0.25s
        ease;
}


.rbo-toggle.is-open svg {
    transform:
        rotate(
            180deg
        );
}


/* ============================================================
   REVEAL PANEL
   ============================================================ */

.rbo-panel {
    max-height: 0;

    overflow: hidden;

    opacity: 0;

    transition:
        max-height 0.45s ease,
        opacity 0.25s ease;

    text-align: left;
}


.rbo-panel.is-open {
    /*
     * Deliberately generous because products can
     * contain quite a few online retailers.
     */
    max-height: 5000px;

    opacity: 1;
}


.rbo-panel-inner {
    padding-top: 28px;
}


/* ============================================================
   RETAILER CARD
   ============================================================ */

.rbo-retailer-card {
    width: 100%;

    display: flex;

    align-items: center;

    gap: 24px;

    padding:
        24px
        28px;

    margin-bottom: 16px;

    border:
        1.5px
        solid
        #EAEAEA;

    border-radius: 20px;

    background: #fff;

    transition:
        transform 0.2s,
        border-color 0.2s,
        box-shadow 0.2s;
}


.rbo-retailer-card:last-child {
    margin-bottom: 0;
}


.rbo-retailer-card:hover {
    transform:
        translateY(
            -2px
        );

    border-color:
        #DA291C;

    box-shadow:
        0
        10px
        28px
        rgba(
            0,
            0,
            0,
            0.05
        );
}


/* ============================================================
   RETAILER LOGO
   ============================================================ */

.rbo-retailer-card__logo {
    width: 100px;
    height: 60px;

    flex:
        0
        0
        100px;

    border-radius: 12px;

    background:
        #F5F5F5;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 8px;

    overflow: hidden;
}


.rbo-retailer-card__logo img {
    display: block;

    width: auto !important;
    height: auto !important;

    max-width: 100% !important;
    max-height: 100% !important;

    object-fit: contain;

    margin:
        0
        !important;

    border-radius:
        0
        !important;
}


/* ============================================================
   RETAILER DETAILS
   ============================================================ */

.rbo-retailer-card__body {
    flex:
        1
        1
        auto;

    min-width: 0;
}


.rbo-retailer-card__name {
    font-family:
        'Cormorant Garamond',
        Georgia,
        serif
        !important;

    font-weight:
        300
        !important;

    font-size:
        22px
        !important;

    line-height:
        1.15
        !important;

    color:
        #000
        !important;

    margin-bottom: 4px;
}


.rbo-retailer-card__note {
    font-family:
        'Inter',
        sans-serif
        !important;

    font-size:
        12px
        !important;

    font-weight:
        300
        !important;

    line-height:
        1.5
        !important;

    color:
        #6E6E6E
        !important;
}


/* ============================================================
   SHOP NOW BUTTON
   ============================================================ */

.rbo-section a.rbo-retailer-card__btn,
.rbo-section a.rbo-retailer-card__btn:visited {
    min-width: 126px;

    min-height: 46px;

    flex-shrink: 0;

    padding:
        12px
        26px;

    display:
        inline-flex;

    align-items: center;
    justify-content: center;

    border:
        1.5px
        solid
        #DA291C;

    border-radius:
        999px;

    background:
        #DA291C;

    font-family:
        'Inter',
        sans-serif
        !important;

    font-size:
        11px
        !important;

    font-weight:
        400
        !important;

    line-height:
        1.2
        !important;

    letter-spacing:
        1.5px
        !important;

    text-transform:
        uppercase
        !important;

    text-decoration:
        none
        !important;

    color:
        #fff
        !important;

    transition:
        transform 0.2s,
        background 0.2s,
        border-color 0.2s;
}


.rbo-section a.rbo-retailer-card__btn:hover {
    transform:
        translateY(
            -3px
        );

    background:
        #b8200f;

    border-color:
        #b8200f;

    color:
        #fff
        !important;
}


/* ============================================================
   FOOTER / PHYSICAL STOCKIST
   ============================================================ */

.rbo-footer {
    text-align: center;

    border-top:
        1px
        solid
        #EAEAEA;

    padding-top: 40px;

    margin-top: 56px;
}


.rbo-section .rbo-footer p {
    font-family:
        'Inter',
        sans-serif
        !important;

    font-weight:
        300
        !important;

    font-size:
        14px
        !important;

    line-height:
        1.85
        !important;

    color:
        #333
        !important;

    margin:
        0
        0
        20px
        !important;
}


.rbo-section a.rbo-footer__btn,
.rbo-section a.rbo-footer__btn:visited {
    min-height: 48px;

    padding:
        12px
        30px;

    display:
        inline-flex;

    align-items: center;
    justify-content: center;

    border:
        1.5px
        solid
        #EAEAEA;

    border-radius:
        999px;

    background:
        transparent;

    font-family:
        'Inter',
        sans-serif
        !important;

    font-size:
        11px
        !important;

    font-weight:
        400
        !important;

    line-height:
        1.2
        !important;

    letter-spacing:
        1.5px
        !important;

    text-transform:
        uppercase
        !important;

    text-decoration:
        none
        !important;

    color:
        #000
        !important;

    transition:
        transform 0.2s,
        border-color 0.2s,
        color 0.2s;
}


.rbo-section a.rbo-footer__btn:hover {
    transform:
        translateY(
            -3px
        );

    border-color:
        #DA291C;

    color:
        #DA291C
        !important;
}


/* ============================================================
   TABLET / MOBILE
   ============================================================ */

@media (max-width: 640px) {

    .rbo-section {
        padding:
            48px
            20px;
    }


    .rbo-head {
        padding-bottom: 32px;
    }


    .rbo-retailer-card {
        flex-wrap: wrap;

        justify-content: center;

        text-align: center;

        gap: 16px;

        padding:
            22px
            20px;
    }


    .rbo-retailer-card__body {
        flex:
            1
            0
            100%;
    }


    .rbo-section
    a.rbo-retailer-card__btn {
        width: 100%;
    }


    .rbo-footer {
        margin-top: 40px;

        padding-top: 32px;
    }

}


/* ============================================================
   SECTION A — DIRECT WOOCOMMERCE PURCHASE
   ============================================================ */

.rvp-commerce {
    width: 100%;

    margin:
        26px
        0
        12px;
}


/* ============================================================
   PRICE
   ============================================================ */

.rvp-commerce__price {
    margin-bottom: 20px;
}


.rvp-commerce__price .price,
.rvp-commerce__price .amount,
.rvp-commerce__price .woocommerce-Price-amount {
    font-family:
        'Cormorant Garamond',
        Georgia,
        serif
        !important;

    font-size: 32px !important;
    font-weight: 300 !important;

    line-height: 1.1 !important;

    color: #000 !important;
}


.rvp-commerce__price del {
    opacity: 0.45;
}


.rvp-commerce__price ins {
    text-decoration: none !important;

    color: #DA291C !important;
}


/* ============================================================
   CART FORM
   ============================================================ */

.rvp-commerce__cart {
    width: 100%;
}


.rvp-commerce__cart form.cart {
    width: 100%;

    display: flex !important;

    align-items: stretch;

    gap: 12px;

    margin: 0 !important;

    padding: 0 !important;
}


/* ============================================================
   QUANTITY
   ============================================================ */

.rvp-commerce__cart .quantity {
    flex: 0 0 auto;

    margin: 0 !important;
}


.rvp-commerce__cart .quantity input.qty {
    height: 50px !important;

    min-width: 70px;

    border:
        1.5px
        solid
        #EAEAEA
        !important;

    border-radius:
        999px
        !important;

    background:
        #fff
        !important;

    font-family:
        'Inter',
        sans-serif
        !important;

    font-size:
        13px
        !important;

    color:
        #000
        !important;

    text-align: center;

    box-shadow:
        none
        !important;
}


/*
 * Avada may add +/- controls around the
 * standard WooCommerce quantity input.
 */
.rvp-commerce__cart .quantity .minus,
.rvp-commerce__cart .quantity .plus {
    color:
        #000
        !important;

    background:
        #fff
        !important;
}


/* ============================================================
   ADD TO CART
   ============================================================ */

.rvp-commerce__cart
button.single_add_to_cart_button,
.rvp-commerce__cart
.single_add_to_cart_button {
    flex:
        1
        1
        auto;

    min-height:
        50px
        !important;

    margin:
        0
        !important;

    padding:
        13px
        30px
        !important;

    border:
        1.5px
        solid
        #DA291C
        !important;

    border-radius:
        999px
        !important;

    background:
        #DA291C
        !important;

    font-family:
        'Inter',
        sans-serif
        !important;

    font-size:
        11px
        !important;

    font-weight:
        400
        !important;

    line-height:
        1.2
        !important;

    letter-spacing:
        1.5px
        !important;

    text-transform:
        uppercase
        !important;

    color:
        #fff
        !important;

    text-align:
        center
        !important;

    box-shadow:
        none
        !important;

    transition:
        transform 0.2s,
        background 0.2s;
}


.rvp-commerce__cart
.single_add_to_cart_button:hover {
    transform:
        translateY(-3px);

    background:
        #b8200f
        !important;

    border-color:
        #b8200f
        !important;

    color:
        #fff
        !important;
}


/* ============================================================
   STOCK
   ============================================================ */

.rvp-commerce__cart .stock {
    font-family:
        'Inter',
        sans-serif
        !important;

    font-size:
        12px
        !important;

    color:
        #6E6E6E
        !important;
}


/* ============================================================
   VARIABLE PRODUCTS
   ============================================================ */

.rvp-commerce__cart
.variations {
    width: 100%;

    margin-bottom:
        16px
        !important;
}


.rvp-commerce__cart
.variations td,
.rvp-commerce__cart
.variations th {
    border: 0 !important;

    padding:
        6px
        0
        !important;
}


.rvp-commerce__cart
.variations select {
    width: 100%;

    min-height: 46px;

    border:
        1.5px
        solid
        #EAEAEA;

    border-radius:
        999px;

    padding:
        0
        18px;

    background: #fff;

    font-family:
        'Inter',
        sans-serif;

    font-size:
        13px;
}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 640px) {

    .rvp-commerce__cart form.cart {
        flex-wrap: wrap;
    }


    .rvp-commerce__cart .quantity {
        flex:
            0
            0
            100%;
    }


    .rvp-commerce__cart
    .quantity input.qty {
        width:
            100%
            !important;
    }


    .rvp-commerce__cart
    .single_add_to_cart_button {
        width:
            100%
            !important;
    }

}