/* ============================================================
   Pera Orient Express — multi-page additions
   Layered on top of site.css (the prototype design system).
   ============================================================ */

/* ---------------- Consent bar (analytics) ---------------- */

.consent-bar {
  position: fixed;
  inset: auto 0 0;
  z-index: 130;
  background: rgba(251, 246, 236, 0.97);
  border-top: 1px solid rgba(197, 160, 33, 0.45);
  box-shadow: 0 -18px 40px rgba(36, 3, 3, 0.12);
  backdrop-filter: blur(10px);
}

.consent-bar[hidden] {
  display: none;
}

.consent-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(16px, 3vw, 32px);
  padding-block: 14px;
}

.consent-title {
  margin: 0 0 3px;
  font-family: var(--font-label);
  font-size: 0.64rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--wine-800);
}

.consent-text {
  margin: 0;
  max-width: 64ch;
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--muted);
}

.consent-text a {
  color: var(--gold-700);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.consent-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.footer-consent {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 0.7rem;
  color: inherit;
  opacity: 0.72;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.footer-consent:hover {
  opacity: 1;
  color: var(--gold-200);
}

@media (max-width: 760px) {
  .consent-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding-block: 14px;
  }

  .consent-actions {
    width: 100%;
  }

  .consent-actions .btn {
    flex: 1;
  }
}

/* ---------------- Language switch ---------------- */

.lang-switch {
  font-family: var(--font-label);
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(251, 246, 236, 0.72);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.lang-switch:hover {
  color: var(--gold-200);
  border-color: var(--gold-400);
}

.site-header.is-scrolled .lang-switch {
  color: rgba(42, 26, 28, 0.72);
}

.site-header.is-scrolled .lang-switch:hover {
  color: var(--wine-800);
}

@media (max-width: 980px) {
  .lang-switch {
    display: none;
  }
}

/* ---------------- Interior page hero ---------------- */

.page-hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(56px, 7vw, 92px));
  padding-bottom: clamp(48px, 6vw, 76px);
  background-color: var(--wine-900);
  background-image: radial-gradient(
      circle at 82% 8%,
      rgba(197, 160, 33, 0.2),
      transparent 46%
    ),
    linear-gradient(180deg, var(--wine-950) 0%, var(--wine-900) 100%);
  border-bottom: 1px solid rgba(197, 160, 33, 0.35);
  color: var(--cream);
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(197, 160, 33, 0.55),
    transparent
  );
}

.page-hero .display {
  margin: 18px 0 0;
  color: var(--cream);
  font-size: clamp(2.4rem, 5vw, 4.1rem);
}

.page-hero .display em {
  color: var(--gold-200);
}

.page-hero-lede {
  max-width: 640px;
  margin: 22px 0 0;
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(251, 246, 236, 0.74);
}

.page-hero-compact {
  padding-top: calc(var(--header-h) + clamp(36px, 4vw, 56px));
  padding-bottom: clamp(32px, 4vw, 48px);
}

.page-hero-compact .display {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
}

/* ---------------- Breadcrumbs ---------------- */

.breadcrumbs {
  margin-bottom: 26px;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-label);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.breadcrumbs li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(251, 246, 236, 0.5);
}

.breadcrumbs li + li::before {
  content: "/";
  color: rgba(197, 160, 33, 0.65);
}

.breadcrumbs a {
  color: rgba(251, 246, 236, 0.68);
  transition: color 0.2s ease;
}

.breadcrumbs a:hover {
  color: var(--gold-200);
}

.breadcrumbs [aria-current="page"] {
  color: var(--gold-200);
}

/* ---------------- Article / Markdown ---------------- */

.section-doc {
  padding-top: clamp(48px, 6vw, 80px);
}

.doc-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}

.prose {
  max-width: 760px;
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--muted);
}

.prose > * + * {
  margin-top: 18px;
}

.prose h2 {
  margin-top: clamp(36px, 4vw, 52px);
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.15rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--wine-800);
}

.prose h3 {
  margin-top: 30px;
  font-family: var(--font-label);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--wine-800);
}

.prose p {
  margin: 0;
}

.prose a {
  color: var(--gold-700, #8f6f14);
  text-decoration: none;
  border-bottom: 1px solid rgba(197, 160, 33, 0.45);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.prose a:hover {
  color: var(--wine-800);
  border-color: var(--wine-800);
}

.prose strong {
  color: var(--wine-800);
  font-weight: 600;
}

.prose ul,
.prose ol {
  padding-left: 1.2rem;
}

.prose li + li {
  margin-top: 8px;
}

.prose li::marker {
  color: var(--gold-500);
}

.prose blockquote {
  margin: 28px 0;
  padding: 6px 0 6px 24px;
  border-left: 1px solid var(--gold-500);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--wine-700);
}

.prose hr {
  margin: 40px 0;
  border: 0;
  height: 1px;
  background: rgba(197, 160, 33, 0.3);
}

.prose table {
  width: 100%;
  margin: 28px 0;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.table-scroll {
  margin: 28px 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table-scroll:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 4px;
}

.table-scroll > table {
  min-width: 520px;
  margin: 0;
}

.prose th {
  padding: 12px 14px;
  background: rgba(239, 228, 210, 0.55);
  border-bottom: 1px solid rgba(197, 160, 33, 0.5);
  font-family: var(--font-label);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: left;
  color: var(--wine-800);
}

.prose td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(197, 160, 33, 0.2);
  vertical-align: top;
}

.prose tr:last-child td {
  border-bottom: 0;
}

.prose h2:first-child,
.prose h3:first-child {
  margin-top: 0;
}

.doc-aside {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  padding: 24px;
  background: #fff;
  border: 1px solid rgba(197, 160, 33, 0.32);
}

.doc-aside ul {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.doc-aside li + li {
  margin-top: 10px;
}

.doc-aside a {
  font-size: 0.82rem;
  color: var(--wine-800);
  border-bottom: 1px solid transparent;
}

.doc-aside a:hover {
  border-color: var(--gold-500);
}

@media (max-width: 900px) {
  .doc-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .doc-aside {
    position: static;
  }
}

/* ---------------- Doc: opening image + inline figures ---------------- */

.doc-plate {
  padding-block: clamp(28px, 4vw, 52px);
  background: linear-gradient(180deg, var(--cream-2) 0%, var(--cream) 100%);
  border-bottom: 1px solid rgba(197, 160, 33, 0.25);
}

.doc-plate figure {
  max-width: 520px;
  margin: 0 auto;
}

.doc-plate-wide figure {
  max-width: 900px;
}

.doc-plate img {
  display: block;
  width: 100%;
  height: auto;
  padding: 10px;
  background: #fff;
  border: 1px solid rgba(197, 160, 33, 0.4);
  box-shadow: 0 28px 64px rgba(36, 3, 3, 0.1);
}

.doc-plate figcaption {
  margin-top: 14px;
  font-family: var(--font-label);
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
  color: var(--muted);
}

.prose .doc-figure,
.prose .doc-figure-pair {
  margin: 34px 0;
}

.prose .doc-figure img,
.prose .doc-figure-pair img {
  display: block;
  width: 100%;
  height: auto;
  padding: 8px;
  background: #fff;
  border: 1px solid rgba(197, 160, 33, 0.35);
}

.prose .doc-figure-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.prose .doc-figure-pair figure {
  margin: 0;
}

.prose figcaption {
  margin-top: 10px;
  font-family: var(--font-label);
  font-size: 0.55rem;
  letter-spacing: 0.14em;
  line-height: 1.7;
  text-transform: uppercase;
  color: var(--muted);
}

@media (max-width: 620px) {
  .prose .doc-figure-pair {
    grid-template-columns: minmax(0, 1fr);
  }

  .doc-plate img {
    padding: 7px;
  }
}

/* ---------------- Brand marks ---------------- */

.prose .house-marks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 32px 0 42px;
}

.house-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 132px;
  padding: 18px 14px;
  text-align: center;
  background: linear-gradient(160deg, #fff 0%, var(--cream-2) 100%);
  border: 1px solid rgba(197, 160, 33, 0.42);
  box-shadow: 0 16px 38px rgba(49, 6, 32, 0.05);
}

.house-mark-name {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--wine-800);
}

.house-logo {
  display: block;
  width: 96px;
  height: 96px;
  object-fit: contain;
}

.prose .brand-logo-figure {
  max-width: 260px;
  margin: 0 0 34px;
}

.prose .brand-logo-figure img {
  width: 190px;
  margin-inline: auto;
  padding: 14px;
}

.prose .brand-logo-figure figcaption {
  text-align: center;
}

.house-mark-sub {
  font-family: var(--font-label);
  font-size: 0.52rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-700);
}

@media (max-width: 620px) {
  .prose .house-marks {
    grid-template-columns: minmax(0, 1fr);
  }

  .house-mark {
    min-height: 104px;
  }
}

/* ---------------- Cocktail cards ---------------- */

.prose .cocktail-card {
  display: grid;
  grid-template-columns: minmax(190px, 250px) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 38px);
  align-items: start;
  margin: 30px 0 42px;
  padding: 22px;
  background: #fff;
  border: 1px solid rgba(197, 160, 33, 0.34);
  box-shadow: 0 20px 48px rgba(49, 6, 32, 0.05);
}

.cocktail-photo {
  margin: 0;
  padding: 10px;
  background: var(--cream);
  border: 1px solid rgba(197, 160, 33, 0.22);
}

.cocktail-photo img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.cocktail-photo figcaption {
  margin-top: 10px;
  text-align: center;
}

.cocktail-detail h3 {
  margin-top: 0;
}

.cocktail-detail h4 {
  margin: 18px 0 6px;
  font-family: var(--font-label);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-700);
}

.cocktail-detail ul,
.cocktail-detail ol {
  margin: 0;
  padding-left: 18px;
  font-size: 0.88rem;
  line-height: 1.75;
}

.cocktail-detail li + li {
  margin-top: 2px;
}

.cocktail-note {
  margin: 14px 0 0;
  font-size: 0.8rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--muted);
}

@media (max-width: 720px) {
  .prose .cocktail-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .cocktail-photo {
    max-width: 280px;
    margin-inline: auto;
  }
}

/* ---------------- Product range ---------------- */

.section.section-range {
  padding-block: clamp(44px, 5.5vw, 72px);
  background: var(--cream-2);
  border-bottom: 1px solid rgba(197, 160, 33, 0.22);
}

.range-head {
  max-width: 720px;
  margin-bottom: clamp(26px, 3vw, 40px);
}

.range-head .display {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--wine-800);
}

.range-note {
  margin: 14px 0 0;
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--muted);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 28px);
}

.product-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 780px;
}

.product-grid-4 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 980px;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(197, 160, 33, 0.32);
  box-shadow: 0 18px 40px rgba(36, 3, 3, 0.05);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
    border-color 0.4s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(197, 160, 33, 0.7);
  box-shadow: 0 26px 52px rgba(36, 3, 3, 0.09);
}

.product-card-media {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px 26px 20px;
  aspect-ratio: 4 / 5;
  background: radial-gradient(
    circle at 50% 40%,
    #fff 0%,
    var(--sand) 82%
  );
  border-bottom: 1px solid rgba(197, 160, 33, 0.22);
}

.product-card-media img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 18px rgba(36, 3, 3, 0.16));
}

.product-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 22px 24px;
}

.product-card-house {
  margin: 0;
  font-family: var(--font-label);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-700, #8f6f14);
}

.product-card-name {
  margin: 6px 0 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.15;
  color: var(--wine-800);
}

.product-card-tagline {
  margin: 6px 0 0;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-style: italic;
  line-height: 1.4;
  color: var(--gold-700, #8f6f14);
}

.product-card-desc {
  margin: 12px 0 0;
  font-size: 0.82rem;
  line-height: 1.75;
  color: var(--muted);
}

.product-notes {
  margin: 16px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid rgba(197, 160, 33, 0.25);
}

.product-notes div {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 10px;
}

.product-notes div + div {
  margin-top: 7px;
}

.product-notes dt {
  padding-top: 2px;
  font-family: var(--font-label);
  font-size: 0.55rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-700, #8f6f14);
}

.product-notes dd {
  margin: 0;
  font-size: 0.79rem;
  line-height: 1.6;
  color: var(--muted);
}

.product-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.product-facts li {
  padding: 4px 9px;
  border: 1px solid rgba(197, 160, 33, 0.35);
  font-family: var(--font-label);
  font-size: 0.56rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--wine-800);
}

.product-awards {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.product-awards li {
  font-family: var(--font-label);
  font-size: 0.58rem;
  letter-spacing: 0.09em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--gold-700, #8f6f14);
}

.product-awards li::before {
  content: "✦";
  margin-right: 7px;
  color: var(--gold-500);
}

.product-spec {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(197, 160, 33, 0.25);
  font-family: var(--font-label);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wine-800);
}

.product-sku {
  margin: 5px 0 0;
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  color: var(--muted);
}

.product-link {
  align-self: flex-start;
  margin-top: 16px;
  font-family: var(--font-label);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-700, #8f6f14);
  border-bottom: 1px solid rgba(197, 160, 33, 0.4);
}

.product-link:hover {
  color: var(--wine-800);
  border-color: var(--wine-800);
}

@media (max-width: 980px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .product-grid,
  .product-grid-2,
  .product-grid-4 {
    grid-template-columns: minmax(0, 1fr);
    max-width: none;
  }
}

/* ---------------- Home: brand cards ---------------- */

.brand-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 32px);
}

.brand-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(197, 160, 33, 0.32);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
    border-color 0.4s ease;
}

.brand-card:hover {
  transform: translateY(-4px);
  border-color: rgba(197, 160, 33, 0.7);
  box-shadow: 0 24px 48px rgba(36, 3, 3, 0.08);
}

.brand-card-media {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px;
  aspect-ratio: 4 / 5;
  background: radial-gradient(
      circle at 50% 42%,
      #fff 0%,
      var(--sand-100, #efe4d2) 78%
    );
  border-bottom: 1px solid rgba(197, 160, 33, 0.22);
}

.brand-card-media img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
}

.brand-card-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 24px 26px;
}

.brand-card-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--wine-800);
}

.brand-card-note {
  font-family: var(--font-label);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.brand-card-link {
  margin-top: 12px;
  font-family: var(--font-label);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-700, #8f6f14);
}

@media (max-width: 900px) {
  .brand-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .brand-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------------- Home: recipe teasers ---------------- */

.recipe-teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 32px);
}

.recipe-teaser {
  padding: 30px 28px 34px;
  border: 1px solid rgba(197, 160, 33, 0.34);
  background: rgba(251, 246, 236, 0.03);
}

.recipe-teaser h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--cream);
}

.recipe-teaser p {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.7;
  color: rgba(251, 246, 236, 0.62);
}

@media (max-width: 820px) {
  .recipe-teaser-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------------- Home: callout band ---------------- */

.section-contact-alt {
  padding-block: clamp(56px, 7vw, 96px);
}

.callout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) auto;
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  padding: clamp(32px, 4vw, 56px);
  background-color: var(--wine-900);
  background-image: radial-gradient(
      circle at 90% 0%,
      rgba(197, 160, 33, 0.18),
      transparent 46%
    );
  border: 1px solid rgba(197, 160, 33, 0.35);
  color: var(--cream);
}

.callout .display {
  margin: 14px 0 0;
  color: var(--cream);
}

.callout .display em {
  color: var(--gold-200);
}

.callout .lead {
  margin-top: 16px;
  color: rgba(251, 246, 236, 0.7);
}

.callout-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.callout-actions .btn-outline {
  color: var(--cream);
  border-color: rgba(251, 246, 236, 0.4);
}

.callout-actions .btn-outline:hover {
  background: var(--cream);
  color: var(--wine-800);
}

@media (max-width: 840px) {
  .callout {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------------- Links / helpers ---------------- */

.section-more {
  margin-top: 34px !important;
}

.section-more.center {
  text-align: center;
}

.link-arrow {
  display: inline-block;
  font-family: var(--font-label);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-700, #8f6f14);
  border-bottom: 1px solid rgba(197, 160, 33, 0.4);
  padding-bottom: 4px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.link-arrow:hover {
  color: var(--wine-800);
  border-color: var(--wine-800);
}

.link-arrow-light {
  color: var(--gold-200);
  border-color: rgba(217, 180, 91, 0.5);
}

.link-arrow-light:hover {
  color: var(--cream);
  border-color: var(--cream);
}

/* ---------------- Contact form extras ---------------- */

.form-errors {
  margin: 0 0 18px;
  padding: 14px 18px;
  list-style: none;
  background: rgba(180, 69, 60, 0.08);
  border-left: 2px solid #b4453c;
  font-size: 0.8rem;
  line-height: 1.6;
  color: #8d322b;
}

.form-errors li + li {
  margin-top: 6px;
}

/* ---------------- Error page ---------------- */

.section-error {
  min-height: 62vh;
  display: flex;
  align-items: center;
}

.error-inner {
  max-width: 640px;
}

.error-inner .display {
  margin: 14px 0 20px;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

/* ---------------- Footer additions ---------------- */

.footer-legal {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-legal a {
  font-size: 0.7rem;
  color: inherit;
  opacity: 0.72;
}

.footer-legal a:hover {
  opacity: 1;
  color: var(--gold-200);
}

/* ---------------- Small screens ---------------- */

@media (max-width: 640px) {
  .page-hero {
    padding-top: calc(var(--header-h) + 40px);
  }
}

/* ============================================================
   Where to buy — store directory + Alberta map
   ============================================================ */

.section-stores {
  background: var(--cream-2);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

/* gold-400 is tuned for the dark hero; on cream it fails contrast. */
.section-stores .eyebrow-gold {
  color: var(--gold-700);
}

/* Map first, full width above the directory — as on the original site. */
.stores-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(34px, 5vw, 64px);
  align-items: start;
}

/* ---------------- Google map ---------------- */

.stores-map {
  width: 100%;
  margin: 0 0 clamp(4px, 1.5vw, 16px);
}

.stores-map-frame {
  position: relative;
  padding: 0;
  background: #fff;
  border: 1px solid rgba(197, 160, 33, 0.32);
  box-shadow: 0 24px 60px rgba(49, 6, 32, 0.08);
  overflow: hidden;
}

.stores-map-canvas {
  width: 100%;
  height: clamp(360px, 46vw, 560px);
  background: #e9e3d7;
}

.stores-map-canvas .map-fallback {
  position: static;
  min-height: 100%;
  background: var(--cream-2);
}

.map-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 32px;
  background: var(--cream-2);
  font-size: 0.85rem;
  line-height: 1.7;
  text-align: center;
  color: var(--wine-800);
}

.stores-map-fallback {
  display: block;
  width: 100%;
  height: clamp(360px, 46vw, 560px);
  border: 0;
}

.map-note {
  margin: 0;
  padding: 8px 14px;
  border-top: 1px solid var(--hairline);
  font-size: 0.7rem;
  line-height: 1.6;
  color: var(--muted);
}

.stores-map figcaption {
  margin-top: 14px;
  font-size: 0.72rem;
  line-height: 1.65;
  color: var(--muted);
}

/* Info window over the Google canvas. */
.map-info {
  display: grid;
  gap: 5px;
  min-width: 190px;
  padding: 4px 2px;
  font-family: var(--font-body);
  color: var(--ink);
}

.map-info strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--wine-800);
}

.map-info > span {
  font-size: 0.78rem;
  line-height: 1.5;
}

.map-info-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-top: 4px;
}

.map-info-actions a {
  font-family: var(--font-label);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-700);
  border-bottom: 1px solid rgba(197, 160, 33, 0.5);
}

/* ---------------- Filter ---------------- */

.store-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-bottom: 30px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--hairline);
}

.store-filter[hidden] {
  display: none;
}

.store-filter-label {
  font-family: var(--font-label);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.store-filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.store-filter-btn {
  padding: 7px 14px;
  background: transparent;
  border: 1px solid rgba(197, 160, 33, 0.38);
  font-family: var(--font-label);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wine-800);
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.store-filter-btn span {
  margin-left: 4px;
  color: var(--gold-700);
}

.store-filter-btn:hover,
.store-filter-btn.is-active {
  background: var(--wine-800);
  border-color: var(--wine-800);
  color: var(--cream);
}

.store-filter-btn.is-active span,
.store-filter-btn:hover span {
  color: var(--gold-300);
}

/* ---------------- Distance search ---------------- */

.store-search {
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--hairline);
}

.store-search[hidden] {
  display: none;
}

.store-search-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.store-search-controls input[type="text"],
.store-search-controls select {
  padding: 8px 12px;
  border: 1px solid rgba(197, 160, 33, 0.38);
  border-radius: 2px;
  background: rgba(251, 246, 236, 0.65);
  font-size: 0.78rem;
  color: var(--ink);
}

.store-search-controls input[type="text"] {
  min-width: 190px;
}

.store-search-status {
  margin: 10px 0 0;
  font-size: 0.72rem;
  color: var(--muted);
}

.store-skip {
  margin: 0 0 12px;
  font-size: 0.7rem;
}

.store-skip a {
  color: var(--gold-700);
  text-decoration: underline;
}

.store-distance {
  margin: 2px 0 6px;
  font-family: var(--font-label);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-700);
}

/* ---------------- Store list ---------------- */

.store-group[hidden],
.store-card[hidden] {
  display: none;
}

.store-group + .store-group {
  margin-top: 44px;
}

.store-group-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--hairline);
}

.store-group-head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 1.75rem);
  font-weight: 500;
  color: var(--wine-800);
}

.store-group-count {
  margin: 0;
  font-family: var(--font-label);
  font-size: 0.56rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.store-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.store-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 18px 16px;
  background: #fff;
  border: 1px solid rgba(197, 160, 33, 0.26);
  cursor: pointer;
  content-visibility: auto;
  /* ~142px rendered; auto keeps the last real size on re-scroll. */
  contain-intrinsic-size: auto 106px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.store-card:hover,
.store-card:focus-within {
  border-color: rgba(197, 160, 33, 0.6);
  box-shadow: 0 14px 32px rgba(49, 6, 32, 0.06);
}

.store-card.is-selected {
  border-color: var(--gold-500);
  box-shadow: inset 3px 0 0 var(--gold-500), 0 14px 32px rgba(49, 6, 32, 0.08);
}

.store-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.14rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--wine-800);
}

.store-address {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.65;
  color: var(--muted);
}

.store-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: auto;
  padding-top: 8px;
}

.store-action {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-label);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-700);
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.store-action:hover {
  color: var(--wine-800);
  border-color: var(--gold-500);
}

.store-action-focus {
  padding: 0;
  background: transparent;
  border-top: 0;
  border-right: 0;
  border-left: 0;
  cursor: pointer;
}

.store-action-map span {
  font-size: 0.7rem;
  line-height: 1;
}

@media (max-width: 560px) {
  .stores-map-canvas,
  .stores-map-fallback {
    height: 400px;
  }

  .store-filter {
    align-items: flex-start;
    flex-direction: column;
  }

  .store-cards {
    grid-template-columns: minmax(0, 1fr);
  }
}
