.rt-wine-card-page {
  overflow-x: clip !important;
}

.rt-wine-card-page .header-wrapper .row-parent.row-header:has(.rt-wine-custom-hero) {
  padding-top: 0 !important;
}

.rt-wine-prototype-shell {
  position: relative;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  overflow: clip;
  background: #fff;
}

.rt-wine-custom-hero {
  position: relative;
  left: 50%;
  display: flex;
  width: 100vw;
  min-height: 70vh;
  margin-left: -50vw;
  align-items: center;
  justify-content: center;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.rt-wine-custom-hero .rt-wine-hero {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  padding: 7vh 24px;
  color: #fff;
  text-align: center;
  transform: translateY(var(--rt-wine-hero-title-shift, 0px));
}

.rt-wine-custom-hero .rt-wine-hero h1 {
  margin: 0 0 18px !important;
  color: #fff !important;
  font-family: "Noto Serif", serif !important;
  font-size: 35px !important;
  font-weight: 600 !important;
  letter-spacing: normal !important;
  line-height: 42px !important;
  text-transform: none !important;
}

.rt-wine-custom-hero .rt-wine-hero p {
  max-width: 680px !important;
  margin: 0 auto !important;
  color: #fff !important;
  font-family: "Noto Serif", serif !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  letter-spacing: normal !important;
  line-height: 26.25px !important;
}

.rt-wine-web-prototype {
  --rt-wine-accent: #4b8c6f;
  --rt-wine-green: #002b14;
  --rt-wine-ink: #17221e;
  --rt-wine-muted: #66746d;
  --rt-wine-line: rgba(112, 141, 126, 0.28);
  max-width: 1280px;
  margin: 0 auto;
  padding: 74px 34px 100px;
  color: var(--rt-wine-ink);
  font-family: "Noto Serif", serif;
}

.rt-wine-web-prototype,
.rt-wine-web-prototype * {
  box-sizing: border-box;
}

.rt-wine-card-unavailable {
  margin: 30px auto;
  color: #66746d;
  text-align: center;
}

.rt-wine-intro {
  max-width: 1008px;
  margin: 0 auto 76px;
  padding-left: 288px;
  text-align: left;
}

.rt-wine-intro h2 {
  margin: 0 0 18px;
  color: var(--rt-wine-green);
  font-size: clamp(30px, 3.4vw, 48px);
  font-weight: 500;
  line-height: 1.15;
}

.rt-wine-intro p {
  max-width: 720px;
  margin: 0;
  color: #59625e;
  font-size: 17px;
  line-height: 1.75;
}

.rt-wine-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 720px);
  gap: 58px;
  max-width: 1008px;
  margin: 0 auto;
  align-items: start;
}

.rt-wine-sidebar {
  position: sticky;
  top: 110px;
  max-height: calc(100vh - 145px);
  padding: 5px 34px 24px 0;
  overflow: auto;
  border-right: 1px solid var(--rt-wine-line);
  scrollbar-width: thin;
}

.rt-wine-sidebar a,
.rt-wine-sidebar summary {
  color: var(--rt-wine-ink);
  text-align: left;
  text-decoration: none;
}

.rt-wine-sidebar .rt-wine-top-link,
.rt-wine-sidebar summary {
  position: relative;
  display: block;
  padding: 9px 24px 9px 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.055em;
  line-height: 1.35;
  text-transform: uppercase;
}

.rt-wine-sidebar summary {
  cursor: pointer;
  list-style: none;
}

.rt-wine-sidebar summary::-webkit-details-marker {
  display: none;
}

.rt-wine-sidebar summary::after {
  position: absolute;
  top: 8px;
  right: 2px;
  color: var(--rt-wine-accent);
  content: "+";
  font-family: Arial, sans-serif;
  font-size: 18px;
  font-weight: 400;
}

.rt-wine-sidebar details[open] summary::after {
  content: "−";
}

.rt-wine-sidebar details {
  margin: 4px 0;
}

.rt-wine-sidebar details p {
  margin: 2px 0 10px;
  padding-left: 13px;
  border-left: 1px solid rgba(112, 141, 126, 0.38);
}

.rt-wine-sidebar details a {
  display: block;
  padding: 4px 0 4px 12px;
  color: var(--rt-wine-muted);
  font-size: 13px;
  line-height: 1.35;
}

.rt-wine-sidebar a:hover,
.rt-wine-sidebar a:focus-visible {
  color: var(--rt-wine-accent);
}

body.rt-wine-card-page .header-style-dark .rt-wine-web-prototype .rt-wine-sidebar a,
body.rt-wine-card-page .header-style-dark .rt-wine-web-prototype .rt-wine-sidebar summary {
  color: var(--rt-wine-ink) !important;
}

body.rt-wine-card-page .header-style-dark .rt-wine-web-prototype .rt-wine-sidebar a:hover,
body.rt-wine-card-page .header-style-dark .rt-wine-web-prototype .rt-wine-sidebar a:focus-visible {
  color: var(--rt-wine-accent) !important;
}

body.rt-wine-card-page .rt-wine-web-prototype .rt-wine-section-heading h2 {
  color: var(--rt-wine-green) !important;
}

body.rt-wine-card-page .rt-wine-web-prototype .rt-wine-byglass-type h3 {
  color: var(--rt-wine-accent) !important;
  font-size: 20px !important;
}

body.rt-wine-card-page .rt-wine-web-prototype .rt-wine-country-heading h3,
body.rt-wine-card-page .rt-wine-web-prototype .rt-wine-subregion h5 {
  color: var(--rt-wine-ink) !important;
}

body.rt-wine-card-page .rt-wine-web-prototype .rt-wine-region-heading {
  font-size: 20px !important;
}

body.rt-wine-card-page .rt-wine-web-prototype .rt-wine-subregion h5 {
  font-size: 15px !important;
}

@media (min-width: 900px) {
  .rt-wine-card-page .rt-wine-prototype-shell {
    overflow: visible;
  }

  .rt-wine-card-page .wpb_row.row-inner:has(.rt-wine-web-prototype),
  .rt-wine-card-page .wpb_column.column_parent:has(.rt-wine-web-prototype),
  .rt-wine-card-page .uncoltable:has(.rt-wine-web-prototype),
  .rt-wine-card-page .uncell:has(.rt-wine-web-prototype) {
    display: block !important;
    height: auto !important;
    overflow: visible !important;
  }

  .rt-wine-card-page .header-wrapper.header-uncode-block,
  .rt-wine-card-page .box-wrapper {
    overflow: visible !important;
  }
}

.rt-wine-content {
  min-width: 0;
  text-align: left;
}

.rt-wine-section,
.rt-wine-country,
.rt-wine-region,
.rt-wine-subregion {
  scroll-margin-top: 120px;
}

.rt-wine-section {
  margin: 0 0 112px;
}

.rt-wine-section:last-child {
  margin-bottom: 0;
}

.rt-wine-section-heading {
  margin: 0 0 46px;
}

.rt-wine-section-heading h2 {
  margin: 0;
  color: var(--rt-wine-green);
  font-size: 52px;
  font-weight: 500;
  line-height: 1.08;
}

.rt-wine-byglass-type {
  margin: 0 0 40px;
}

.rt-wine-byglass-type h3,
.rt-wine-region-heading {
  margin: 0 0 13px;
  color: var(--rt-wine-accent);
  font-weight: 500;
  letter-spacing: 0.075em;
  line-height: 1.3;
  text-transform: uppercase;
}

.rt-wine-byglass-type h3 {
  font-size: 20px;
}

.rt-wine-region-heading {
  font-size: 20px;
}

.rt-wine-country {
  margin: 0 0 64px;
}

.rt-wine-country-heading {
  margin: 0 0 26px;
}

.rt-wine-country-heading h3 {
  margin: 0;
  color: var(--rt-wine-ink);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.055em;
  line-height: 1.2;
  text-transform: uppercase;
}

.rt-wine-region {
  margin: 0 0 34px;
}

.rt-wine-region-title {
  display: block;
}

.rt-wine-region-body {
  padding-top: 15px;
}

.rt-wine-subregion {
  margin: 0 0 27px;
}

.rt-wine-subregion h5 {
  margin: 0 0 11px;
  color: var(--rt-wine-ink);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.035em;
  line-height: 1.3;
}

.wine-row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1.25fr) minmax(180px, 0.9fr) 70px;
  column-gap: 18px;
  align-items: baseline;
  padding: 6px 0;
  color: var(--rt-wine-ink);
  line-height: 1.35;
  text-align: left;
}

.wine-vintage {
  grid-column: 1;
  color: var(--rt-wine-ink);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.wine-name,
.wine-producer,
.byglass-text {
  min-width: 0;
  color: var(--rt-wine-ink);
  font-size: 14px;
  font-weight: 400;
  overflow-wrap: anywhere;
}

.wine-name {
  grid-column: 2;
}

.wine-producer {
  grid-column: 3;
}

.wine-price {
  grid-column: 4;
  color: var(--rt-wine-ink);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
}

.wine-row.byglass-row {
  grid-template-columns: 52px minmax(0, 1fr) 96px;
}

.byglass-main {
  grid-column: 2;
  min-width: 0;
}

.wine-row.byglass-row .wine-price {
  grid-column: 3;
}

.rt-wine-mobile-nav {
  display: none;
}

.rt-wine-web-prototype a[x-apple-data-detectors],
.rt-wine-web-prototype a[href^="x-apple-data-detectors"] {
  color: inherit !important;
  text-decoration: none !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
  pointer-events: none !important;
  cursor: default !important;
}

body.rt-wine-card-page #CookiebotWidget {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

@media (min-width: 900px) and (max-width: 1199px) {
  .rt-wine-layout {
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 42px;
    max-width: 932px;
    padding: 0 20px;
  }

  .rt-wine-intro {
    max-width: 932px;
    padding: 0 20px 0 252px;
  }
}

@media (max-width: 899px) {
  body.rt-wine-nav-open {
    overflow: hidden !important;
  }

  .rt-wine-custom-hero {
    min-height: 70vh;
  }

  .rt-wine-web-prototype {
    padding: 54px 22px calc(150px + env(safe-area-inset-bottom));
  }

  .rt-wine-intro {
    margin-bottom: 40px;
    padding: 0;
  }

  .rt-wine-intro p {
    font-size: 15px;
  }

  .rt-wine-layout {
    display: block;
    max-width: none;
  }

  .rt-wine-sidebar {
    display: none;
  }

  .rt-wine-section,
  .rt-wine-country,
  .rt-wine-region,
  .rt-wine-subregion {
    scroll-margin-top: 28px;
  }

  .rt-wine-section {
    margin-bottom: 76px;
  }

  .rt-wine-section-heading {
    margin-bottom: 34px;
  }

  .rt-wine-section-heading h2 {
    font-size: 40px;
  }

  .rt-wine-country {
    margin-bottom: 52px;
  }

  .rt-wine-country-heading {
    margin-bottom: 21px;
  }

  .rt-wine-country-heading h3 {
    font-size: 20px;
  }

  .rt-wine-region {
    margin-bottom: 27px;
  }

  .rt-wine-region-heading {
    font-size: 18px;
  }

  .rt-wine-byglass-type h3 {
    font-size: 18px;
  }

  .rt-wine-region-body {
    padding-top: 13px;
  }

  .rt-wine-subregion {
    margin-bottom: 24px;
  }

  .rt-wine-subregion h5 {
    font-size: 14px;
  }

  body.rt-wine-card-page .rt-wine-web-prototype .rt-wine-region-heading,
  body.rt-wine-card-page .rt-wine-web-prototype .rt-wine-byglass-type h3 {
    font-size: 18px !important;
  }

  body.rt-wine-card-page .rt-wine-web-prototype .rt-wine-subregion h5 {
    font-size: 14px !important;
  }

  .wine-row {
    grid-template-columns: 38px minmax(0, 1fr) max-content;
    column-gap: 9px;
    align-items: start;
    padding: 8px 0 10px;
  }

  .wine-vintage {
    grid-column: 1;
    grid-row: 1;
    font-size: 12px;
  }

  .wine-name {
    grid-column: 2;
    grid-row: 1;
    font-size: 13px;
  }

  .wine-producer {
    grid-column: 2;
    grid-row: 2;
    margin-top: 0;
    font-size: 12px;
  }

  .wine-price {
    grid-column: 3;
    grid-row: 1;
    font-size: 13px;
  }

  .wine-row.byglass-row {
    grid-template-columns: 38px minmax(0, 1fr) max-content;
  }

  .wine-row.byglass-row .wine-price {
    grid-column: 3;
  }

  .byglass-text {
    font-size: 13px;
  }

  .rt-wine-mobile-nav {
    --rt-wine-boundary-shift: 0px;
    position: fixed;
    right: max(16px, env(safe-area-inset-right));
    bottom: calc(12px + env(safe-area-inset-bottom));
    left: max(16px, env(safe-area-inset-left));
    z-index: 10000;
    display: block;
    margin: 0;
    transform: translateY(var(--rt-wine-boundary-shift));
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  }

  body.open-overlay-menu .rt-wine-mobile-nav {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(calc(100% + 24px));
  }

  .rt-wine-mobile-nav > summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 38px;
    gap: 11px;
    min-height: 62px;
    padding: 10px 11px 10px 16px;
    align-items: center;
    border: 1px solid rgba(75, 140, 111, 0.34);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 14px 38px rgba(0, 43, 20, 0.12);
    cursor: pointer;
    list-style: none;
    text-align: left;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }

  .rt-wine-mobile-nav > summary::-webkit-details-marker {
    display: none;
  }

  .rt-wine-mobile-nav > summary::marker {
    content: "";
  }

  .rt-wine-mobile-hint {
    position: absolute;
    bottom: calc(100% + 9px);
    left: 16px;
    display: block;
    padding: 7px 10px;
    border: 1px solid rgba(75, 140, 111, 0.24);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 9px 28px rgba(0, 43, 20, 0.1);
    color: var(--rt-wine-accent);
    font-family: Arial, sans-serif;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.1em;
    line-height: 1.2;
    opacity: 0;
    pointer-events: none;
    text-transform: uppercase;
    transform: translateY(8px);
    white-space: nowrap;
  }

  .rt-wine-mobile-nav.is-discoverable > summary {
    animation: rtWineNavReveal 0.64s cubic-bezier(0.22, 0.8, 0.24, 1) both;
  }

  .rt-wine-mobile-nav.is-discoverable .rt-wine-mobile-hint {
    animation: rtWineHintReveal 4.35s ease both;
  }

  .rt-wine-mobile-summary-copy {
    display: flex;
    min-width: 0;
    align-items: baseline;
    gap: 11px;
  }

  .rt-wine-mobile-summary-kicker,
  .rt-wine-mobile-sheet-kicker,
  .rt-wine-mobile-number {
    color: var(--rt-wine-accent);
    font-family: Arial, sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.15em;
    line-height: 1;
    text-transform: uppercase;
  }

  .rt-wine-mobile-current {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    color: var(--rt-wine-ink);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .rt-wine-mobile-summary-icon {
    display: grid;
    align-self: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--rt-wine-green);
    place-items: center;
  }

  .rt-wine-mobile-summary-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: #fff;
    stroke-linecap: round;
    stroke-width: 1.7;
  }

  .rt-wine-mobile-backdrop {
    position: fixed;
    inset: 0;
    z-index: 10010;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: rgba(0, 25, 12, 0.58);
    appearance: none;
    animation: rtWineBackdropIn 0.24s ease-out both;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
  }

  .rt-wine-mobile-sheet {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10020;
    max-height: 82svh;
    padding: 10px 24px calc(24px + env(safe-area-inset-bottom));
    overflow-y: auto;
    border-radius: 24px 24px 0 0;
    background: #fff;
    box-shadow: 0 -24px 70px rgba(0, 25, 12, 0.22);
    overscroll-behavior: contain;
    animation: rtWineSheetIn 0.32s cubic-bezier(0.22, 0.8, 0.24, 1) both;
  }

  .rt-wine-mobile-sheet-handle {
    display: none;
  }

  .rt-wine-mobile-sheet-header {
    position: sticky;
    top: -10px;
    z-index: 2;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 10px 0 18px;
    align-items: center;
    justify-content: space-between;
    background: #fff;
  }

  .rt-wine-mobile-sheet-header h2 {
    margin: 0;
    color: var(--rt-wine-green);
    font-size: 30px;
    line-height: 1.08;
  }

  .rt-wine-mobile-close {
    display: grid;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #f1f4f0;
    color: var(--rt-wine-ink);
    place-items: center;
  }

  .rt-wine-mobile-close svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 1.7;
  }

  .rt-wine-mobile-sheet-group {
    margin: 0 0 7px;
  }

  .rt-wine-mobile-primary {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) 20px;
    gap: 10px;
    padding: 11px 0;
    align-items: center;
    color: var(--rt-wine-ink);
    text-decoration: none;
  }

  body.rt-wine-card-page .header-style-dark .rt-wine-web-prototype .rt-wine-mobile-primary {
    color: var(--rt-wine-ink) !important;
  }

  .rt-wine-mobile-primary strong {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.18;
  }

  .rt-wine-mobile-primary svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: var(--rt-wine-green);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.4;
  }

  .rt-wine-mobile-number {
    align-self: start;
    padding-top: 5px;
    letter-spacing: 0.08em;
  }

  .rt-wine-mobile-regions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 17px;
    padding: 0 0 9px 38px;
  }

  .rt-wine-mobile-regions a {
    padding: 2px 0;
    color: var(--rt-wine-accent);
    font-size: 12px;
    line-height: 1.3;
    text-decoration: none;
  }

  body.rt-wine-card-page .header-style-dark .rt-wine-web-prototype .rt-wine-mobile-regions a {
    color: var(--rt-wine-accent) !important;
  }
}

@media (max-width: 480px) {
  .rt-wine-custom-hero .rt-wine-hero {
    padding: 6vh 20px;
  }

  .rt-wine-web-prototype {
    padding-right: 16px;
    padding-left: 16px;
  }
}

@keyframes rtWineBackdropIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes rtWineSheetIn {
  from { opacity: 0.92; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes rtWineNavReveal {
  0% { opacity: 0.72; transform: translateY(12px); }
  68% { opacity: 1; transform: translateY(-2px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes rtWineHintReveal {
  0%, 100% { opacity: 0; transform: translateY(8px); }
  12%, 82% { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .rt-wine-mobile-backdrop,
  .rt-wine-mobile-sheet,
  .rt-wine-mobile-nav.is-discoverable > summary {
    animation: none;
  }

  .rt-wine-mobile-nav.is-discoverable .rt-wine-mobile-hint {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
