@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Marcellus&display=swap');

:root {
  --ink: #112250;
  --ivory: #f5f4f0;              /* User requested: Light Yellow #f5f4f0 */
  --ivory-alt: #f5f4f0;          /* Soft light yellow accent */
  --gold: #9D8366;
  --gold-accent: #9D8366;
  --gold-light: #f5f4f0;
  --green: #112250;              /* Vibrant Dark Blue */
  --dark-green: #112250;         /* User requested: Dark Blue #112250 */
  --deep-green: #112250;         /* Deep Midnight Navy */
  --sage: #f5f4f0;               /* Light Blue-Yellow Slate */
  --sage-light: #f5f4f0;         /* Crisp Soft Tint */
  --warm-grey: #112250;
  --border-light: rgba(183, 185, 188, 0.55);       /* Soft Light Yellow Border */
  --card-bg: #f5f4f0;
  --serif: "Marcellus", Georgia, serif;
  --sans: "Josefin Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --shadow-sm: 0 2px 8px rgba(11, 37, 69, 0.05);
  --shadow-md: 0 8px 24px rgba(11, 37, 69, 0.09);
  --shadow-lg: 0 16px 36px rgba(11, 37, 69, 0.14);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-pill: 999px;
   --story-ease: cubic-bezier(.22, .8, .24, 1);
  --story-gold: var(--gold, #c8a45c);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font: 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--dark-green);
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23112250' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.8rem center;
  background-size: 0.75rem;
}
select:focus { outline: none; border-color: var(--gold); }
button { cursor: pointer; border: none; background: none; }

.skip { position: absolute; left: -999px; }
.skip:focus {
  left: 1rem; top: 1rem; z-index: 999;
  background: var(--ivory); padding: .5rem 1rem; border: 1px solid var(--gold);
}

/* Header & Announcement */
.announcement-bar {
  background: var(--dark-green);
  color: #ffffff;
  text-align: center;
  padding: 0.65rem 1.2rem;
  font-size: 0.86rem;
  font-weight: 400;
  letter-spacing: 0.01em;
}
.announcement-highlight { color: var(--gold-accent); font-weight: 600; }
.announcement-highlight:hover { text-decoration: underline; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--ivory);
  box-shadow: 0 1px 0 var(--border-light);
}
.header-inner {
  max-width: 1240px; margin: 0 auto;
  padding: 1.15rem 5vw;
  display: flex; align-items: center; justify-content: space-between;
}
.header-brand {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--serif); font-size: 1.75rem; font-weight: 500;
  color: var(--dark-green); letter-spacing: 0.02em;
}
.header-brand-icon { width: 14px; height: 18px; fill: var(--gold-accent); flex-shrink: 0; }
.header-brand-logo { width: 28px; height: 28px; object-fit: contain; flex-shrink: 0; }
.footer-brand-logo { width: 30px; height: 30px; object-fit: contain; flex-shrink: 0; }


.nav { display: flex; gap: 1.8rem; align-items: center; }
.nav a {
  color: #112250; font-size: 0.94rem; font-weight: 500;
  transition: color 0.2s ease;
}
.nav a:hover { color: var(--gold); }

/* Dropdown */
.nav-dropdown { position: relative; display: inline-flex; align-items: center; }
.nav-dropdown-btn {
  background: none; border: none; font-family: inherit;
  font-size: 0.94rem; font-weight: 500; color: #112250;
  cursor: pointer; display: inline-flex; align-items: center; gap: 4px; padding: 6px 0;
  transition: color 0.2s ease;
}
.nav-dropdown-btn:hover, .nav-dropdown:hover .nav-dropdown-btn { color: var(--gold); }
.nav-dropdown-arrow { transition: transform 0.25s ease; fill: currentColor; }
.nav-dropdown.is-open .nav-dropdown-arrow { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--ivory); min-width: 220px;
  box-shadow: 0 10px 30px rgba(17,34,80,0.12), 0 1px 3px rgba(0,0,0,0.05);
  border: 1px solid rgba(212, 175, 55, 0.25); border-radius: 8px;
  padding: 0.6rem 0; opacity: 0; visibility: hidden; pointer-events: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1); z-index: 200;
}
.nav-dropdown.is-open .nav-dropdown-menu {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.65rem 1.2rem; font-size: 0.88rem; font-weight: 500;
  color: #112250 !important;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-dropdown-menu a:hover {
  background: var(--sage-light); color: var(--dark-green) !important;
  padding-left: 1.4rem;
}
.nav-dropdown-menu .dropdown-badge {
  font-size: 0.68rem; background: rgba(11, 37, 69, 0.1);
  color: var(--dark-green); padding: 2px 6px; border-radius: 999px; font-weight: 600;
}

.header-favorites-link {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  color: var(--dark-green); padding: 0.3rem; text-decoration: none;
}
.header-favorites-link:hover { color: var(--gold); }

.header-account-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.42rem;
  border: 1px solid rgba(17,34,80,.22); background: transparent; color: var(--dark-green);
  padding: 0.52rem 0.82rem; border-radius: 999px; font: inherit; font-size: 0.86rem;
  font-weight: 600; cursor: pointer; white-space: nowrap; transition: all 0.2s ease;
}
.header-account-btn:hover, .header-account-btn:focus-visible {
  color: var(--gold); border-color: var(--gold); outline: none; background: rgba(17,34,80,.03);
}
.header-account-btn.is-logged-in { border-color: rgba(181,136,32,.45); }
.favorites-badge {
  position: absolute; top: -5px; right: -7px;
  background: var(--gold); color: #ffffff;
  font-size: 0.68rem; font-weight: 600; border-radius: 999px;
  min-width: 17px; height: 17px; display: flex; align-items: center; justify-content: center;
  padding: 0 3px;
}
.header-cart-icon { position: relative; display: inline-flex; align-items: center; color: var(--dark-green); padding: 0.3rem; }
.cart-badge {
  position: absolute; top: -4px; right: -8px;
  background: var(--gold); color: #ffffff;
  font-size: 0.72rem; font-weight: 600; border-radius: var(--radius-pill);
  min-width: 18px; height: 18px; display: flex; align-items: center; justify-content: center;
  padding: 0 4px;
}
.header-whatsapp-btn {
  background: var(--dark-green) !important; color: #ffffff !important;
  font-size: 0.88rem !important; font-weight: 600 !important;
  padding: 0.72rem 1.4rem; border-radius: 4px; display: inline-flex;
  align-items: center; justify-content: center; transition: all 0.2s ease !important;
  white-space: nowrap;
}
.header-whatsapp-btn:hover {
  background: var(--deep-green) !important; transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(11, 37, 69, 0.25);
}
.header-whatsapp-btn { gap: .42rem; }
.header-whatsapp-icon { flex: 0 0 auto; }

/* Page Common */
.page { max-width: 1240px; margin: auto; padding: 2.75rem 5vw 3.5rem; }
.eyebrow {
  color: var(--gold); font-size: 0.8rem; letter-spacing: 0.15em;
  text-transform: uppercase; font-weight: 600; margin: 0 0 0.4rem;
}
.eyebrow.center { text-align: center; }
.heading {
  font: 500 clamp(2.2rem, 4.5vw, 3.8rem)/1.05 var(--serif);
  margin: 0.3rem 0 1rem; color: var(--dark-green);
}
.heading.center { text-align: center; margin-bottom: 2rem; }
.subhead { max-width: 650px; color: var(--warm-grey); font-size: 1.05rem; line-height: 1.65; }
.gold-eyebrow { color: var(--gold-accent) !important; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--green); background: var(--green); color: #ffffff;
  padding: 0.85rem 1.6rem; border-radius: 4px; font-weight: 500; font-size: 0.95rem;
  transition: all 0.2s ease;
}
.btn:hover { background: var(--deep-green); border-color: var(--deep-green); transform: translateY(-1px); }
.btn.secondary { background: transparent; color: var(--green); }
.btn.secondary:hover { background: var(--green); color: #ffffff; }

/* Hero */
.home-hero {
  min-height: 85vh;
  background: radial-gradient(ellipse at 70% 30%, rgba(217, 224, 243, 0.75) 0%, var(--ivory) 55%, var(--ivory-alt) 100%);
  padding: 4.5rem 5vw 4rem; display: flex; align-items: center; position: relative; overflow: hidden;
}
.hero-container { max-width: 1280px; margin: 0 auto; width: 100%; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 2.5rem; align-items: center; }
.hero-eyebrow-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(181, 136, 32, 0.12); color: var(--gold);
  border: 1px solid rgba(181, 136, 32, 0.3); padding: 6px 14px;
  border-radius: var(--radius-pill); font-size: 0.76rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1.2rem;
}
.sparkle-icon { color: var(--gold-accent); }
.hero-heading {
  font-size: clamp(2.6rem, 5.2vw, 4.2rem); line-height: 1.08; margin: 0 0 1.2rem;
  color: var(--dark-green); letter-spacing: -0.01em;
}
.hero-heading-highlight {
  background: linear-gradient(135deg, #112250 0%, #9D8366 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-style: italic;
}
.hero-subhead { max-width: 540px; font-size: 1.1rem; line-height: 1.65; color: #112250; margin-bottom: 2rem; }
.hero-cta-group { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; margin-bottom: 2.2rem; }
.hero-btn {
  padding: 1rem 2.2rem; font-size: 0.95rem; display: inline-flex; align-items: center; gap: 8px;
  background: var(--dark-green); color: #ffffff; border-radius: var(--radius-pill);
  box-shadow: 0 8px 24px rgba(11, 37, 69, 0.28); transition: all 0.25s ease;
}
.hero-btn:hover { background: var(--green); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(11, 37, 69, 0.38); }
.btn-hero-secondary {
  background: var(--ivory); color: var(--dark-green); border: 1.5px solid var(--border-light);
  padding: 1rem 1.8rem; border-radius: var(--radius-pill); font-weight: 600; font-size: 0.95rem;
  transition: all 0.25s ease;
}
.btn-hero-secondary:hover { background: var(--sage-light); border-color: var(--dark-green); color: var(--dark-green); }

.hero-trust-pills { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 1.2rem; border-top: 1px solid rgba(11, 37, 69, 0.1); }
.hero-trust-pill {
  display: flex; align-items: center; gap: 6px; font-size: 0.78rem; font-weight: 600;
  color: var(--dark-green); background: rgba(255, 255, 255, 0.92);
  padding: 5px 12px; border-radius: var(--radius-pill); border: 1px solid rgba(11, 37, 69, 0.1);
}
.hero-trust-pill svg { color: var(--gold); }

.hero-visual-wrapper { position: relative; display: flex; justify-content: center; align-items: center; }
.hero-image-frame {
  position: relative; width: 100%; max-width: 500px; aspect-ratio: 4 / 3;
  border-radius: 28px; overflow: hidden; box-shadow: 0 24px 60px rgba(11, 37, 69, 0.22);
  border: 4px solid #ffffff; background: var(--sage-light);
}
.hero-banner-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.hero-image-frame:hover .hero-banner-img { transform: scale(1.05); }

.floating-badge {
  position: absolute; background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 32px rgba(11, 37, 69, 0.12); padding: 10px 16px; border-radius: 14px;
  display: flex; align-items: center; gap: 10px; z-index: 5;
}
.badge-top { top: 12%; right: -20px; }
.badge-bottom { bottom: 8%; left: -24px; }
.floating-badge-icon {
  width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.gold-pulse { background: var(--gold-light); color: var(--gold); }
.green-glow { background: var(--sage-light); color: var(--green); }
.fb-title { font-size: 0.8rem; font-weight: 700; color: var(--dark-green); line-height: 1.2; }
.fb-sub { font-size: 0.68rem; color: var(--warm-grey); }

/* PAIS · Our Story — scrollytelling layer
   Loaded AFTER style.css. Animation-only: it does not change layout.
   All hidden "before" states are gated behind .story-js, which is added
   in <head> only when JS runs and the user has not asked for reduced motion. */

/* ---------- Scroll progress bar ---------- */
.story-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: 9999;
  pointer-events: none;
  transform-origin: 0 50%;
  transform: scaleX(var(--p, 0));
  background: linear-gradient(90deg, #b3b2af);
}
 

/* ---------- Neutralise any older reveal rules ---------- */
.story-js .story-reveal {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}
 
/* ---------- Staggered text groups ---------- */
.story-js [data-stagger] > *:not(.story-statement):not(.story-line-art):not(.story-closing-mark) {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity .9s var(--story-ease), transform 1.1s var(--story-ease);
  transition-delay: calc(var(--i, 0) * .14s);
}
.story-js [data-stagger].is-in > *:not(.story-statement):not(.story-line-art):not(.story-closing-mark) {
  opacity: 1;
  transform: none;
}
 
/* ---------- Opening: scroll-linked exit ---------- */
.story-opening-inner {
  will-change: transform, opacity;
  transform: translate3d(0, calc(var(--o, 0) * -70px), 0) scale(calc(1 - var(--o, 0) * .05));
  opacity: calc(1 - var(--o, 0) * 1.25);
}
.story-js .story-display em {
  display: inline-block;
  opacity: 0;
  transform: translate3d(0, .5em, 0);
  transition: opacity 1.2s var(--story-ease) .55s, transform 1.4s var(--story-ease) .55s;
}
.story-js .story-opening-inner.is-in .story-display em { opacity: 1; transform: none; }
 
.story-scroll-cue span {
  transform-origin: 50% 0;
  animation: story-cue 2.2s var(--story-ease) infinite;
}
@keyframes story-cue {
  0%   { transform: scaleY(0); opacity: 0; }
  35%  { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1) translateY(14px); opacity: 0; }
}
 
/* ---------- Chapter images: mask reveal + parallax ---------- */
.story-image { overflow: hidden; }
.story-js .story-image {
  clip-path: inset(14% 10% 14% 10%);
  opacity: 0;
  transition: clip-path 1.5s var(--story-ease), opacity 1s ease;
}
.story-js .story-image.is-in { clip-path: inset(0); opacity: 1; }
 
.story-image img {
  will-change: transform;
  transform: translate3d(0, var(--py, 0px), 0) scale(var(--sc, 1.15));
}
.story-js .story-image figcaption {
  opacity: 0;
  transform: translate3d(0, 10px, 0);
  transition: opacity .8s ease 1s, transform .8s var(--story-ease) 1s;
}
.story-js .story-image.is-in figcaption { opacity: 1; transform: none; }
 
/* Copy drifts a little slower than the image for depth */
.story-copy {
  will-change: transform;
  transform: translate3d(0, var(--cy, 0px), 0);
}
 
/* ---------- Interlude: word-mask headline + drawn lines ---------- */
.story-statement .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.story-statement .w > span { display: inline-block; }
.story-js .story-statement .w > span {
  transform: translate3d(0, 110%, 0);
  transition: transform 1.1s var(--story-ease);
  transition-delay: calc(var(--wi, 0) * .12s);
}
.story-js .is-in .story-statement .w > span { transform: none; }
 
.story-js .story-small-copy {
  transition-delay: .5s !important;
}
.story-js .story-line-art span {
  transform: scaleX(0);
  transition: transform 1.4s var(--story-ease);
  transition-delay: calc(.6s + var(--k, 0) * .18s);
}
.story-js .is-in .story-line-art span { transform: scaleX(1); }
 
/* ---------- Timeline: a spine that fills as you scroll ---------- */
.story-timeline .story-timeline-track {
  display: block;
  position: relative;
  overflow: visible;
  max-width: 960px;
  margin: 0 auto;
  padding: 8px 0;
  --tl: 0;
}
/* Spine: faint track + gold fill driven by --tl (set in JS) */
.story-timeline-track::before,
.story-timeline-track::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 7px;
  width: 2px;
  margin-left: -1px;
  pointer-events: none;
}
.story-timeline-track::before { background: currentColor; opacity: .16; }
.story-timeline-track::after {
  background: linear-gradient(180deg, var(--story-gold), #f2e2b8);
  box-shadow: 0 0 14px rgba(200, 164, 92, .55);
  transform-origin: 50% 0;
  transform: scaleY(var(--tl));
  will-change: transform;
}
 
.story-timeline .story-milestone {
  position: relative;
  width: auto;
  margin: 0 0 64px;
  padding: 0 0 0 44px;
  border: 0;
  text-align: left;
}
.story-timeline .story-milestone:last-child { margin-bottom: 0; }
 
/* Node on the spine */
.story-timeline .story-milestone::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(128, 128, 128, .55);
  transition: background .5s ease, transform .6s var(--story-ease), box-shadow .6s ease;
}
.story-timeline .story-milestone.is-active::before {
  background: var(--story-gold);
  transform: scale(1.25);
  box-shadow: 0 0 0 7px rgba(200, 164, 92, .22);
}
 
/* Year + copy brighten when the spine reaches them */
.story-timeline .story-year {
  display: block;
  opacity: .4;
  transition: opacity .6s ease;
}
.story-timeline .story-milestone p { opacity: .65; transition: opacity .6s ease; }
.story-timeline .story-milestone.is-active .story-year,
.story-timeline .story-milestone.is-active p { opacity: 1; }
 
.story-timeline .story-milestone-line {
  display: block;
  width: 56px;
  height: 1px;
  margin: 12px 0 14px;
  background: var(--story-gold);
  transform-origin: 0 50%;
}
 
/* Reveal states */
.story-js .story-milestone {
  opacity: 0;
  transform: translate3d(0, 34px, 0);
  transition: opacity .9s ease, transform 1.1s var(--story-ease);
}
.story-js .story-milestone-line {
  transform: scaleX(0);
  transition: transform 1.1s var(--story-ease) .3s;
}
 
/* Desktop: alternate left / right of a centred spine */
@media (min-width: 768px) {
  .story-timeline-track::before,
  .story-timeline-track::after { left: 50%; }
 
  .story-timeline .story-milestone {
    width: 50%;
    margin-bottom: 72px;
    padding: 0 56px 0 0;
    text-align: right;
  }
  .story-timeline .story-milestone:nth-child(even) {
    margin-left: 50%;
    padding: 0 0 0 56px;
    text-align: left;
  }
  .story-timeline .story-milestone:nth-child(odd)::before { left: auto; right: -7px; }
  .story-timeline .story-milestone:nth-child(even)::before { left: -7px; }
 
  .story-timeline .story-milestone:nth-child(odd) .story-milestone-line {
    margin-left: auto;
    transform-origin: 100% 50%;
  }
  .story-js .story-milestone:nth-child(odd) { transform: translate3d(-44px, 0, 0); }
  .story-js .story-milestone:nth-child(even) { transform: translate3d(44px, 0, 0); }
}
 
.story-js .story-milestone.is-in { opacity: 1; transform: none; }
.story-js .story-milestone.is-in .story-milestone-line { transform: scaleX(1); }
 
.story-year { font-variant-numeric: tabular-nums; }
 
/* ---------- Closing: scroll-linked mark ---------- */
.story-closing-mark {
  display: block;
  will-change: transform, opacity;
  opacity: calc(.08 + var(--c, 0) * .92);
  transform: translate3d(0, calc((1 - var(--c, 0)) * 50px), 0) scale(calc(.82 + var(--c, 0) * .18));
  letter-spacing: calc(.5em - var(--c, 0) * .28em);
}
.story-js .story-closing h2 { transition-delay: .1s; }
 
/* ---------- Mobile tuning ---------- */
@media (max-width: 767.98px) {
  .story-js .story-image { clip-path: inset(10% 6% 10% 6%); }
  .story-js [data-stagger] > *:not(.story-statement):not(.story-line-art):not(.story-closing-mark) { transform: translate3d(0, 20px, 0); }
}
 
/* ---------- Reduced motion: show everything, no movement ---------- */
@media (prefers-reduced-motion: reduce) {
  .story-progress { display: none; }
  .story-scroll-cue span { animation: none; }
  .story-opening-inner, .story-copy, .story-image img, .story-closing-mark {
    transform: none !important; opacity: 1 !important; letter-spacing: inherit;
  }
}
 
/* ---------- Timeline layout lock ----------
   Higher specificity + !important so older rules in style.css or
   bootstrap-responsive-layer.css can't pull the text back over the spine. */
.story-journey .story-timeline .story-timeline-track {
  display: block !important;
  grid-template-columns: none !important;
  gap: 0 !important;
  overflow: visible !important;
  position: relative !important;
  padding: 8px 0 !important;
}
.story-journey .story-timeline .story-timeline-track .story-milestone {
  display: block !important;
  position: relative !important;
  width: auto !important;
  min-width: 0 !important;
  margin: 0 0 56px 0 !important;
  padding: 0 0 0 44px !important;   /* clears the spine on mobile */
  text-align: left !important;
  border: 0 !important;
}
.story-journey .story-timeline .story-timeline-track .story-milestone:last-child {
  margin-bottom: 0 !important;
}
.story-journey .story-timeline .story-timeline-track .story-milestone::before {
  left: 0;
  right: auto;
}
 
@media (min-width: 768px) {
  .story-journey .story-timeline .story-timeline-track .story-milestone {
    width: 50% !important;
    margin-bottom: 72px !important;
    padding: 0 56px 0 0 !important;
    text-align: right !important;
  }
  .story-journey .story-timeline .story-timeline-track .story-milestone:last-child {
    margin-bottom: 0 !important;
  }
  .story-journey .story-timeline .story-timeline-track .story-milestone:nth-child(even) {
    margin-left: 50% !important;
    padding: 0 0 0 56px !important;
    text-align: left !important;
  }
  .story-journey .story-timeline .story-timeline-track .story-milestone:nth-child(odd)::before {
    left: auto;
    right: -7px;
  }
  .story-journey .story-timeline .story-timeline-track .story-milestone:nth-child(even)::before {
    left: -7px;
    right: auto;
  }
}
 
/* ---------- Parallax depth layers (created by our-story.js) ---------- */
.story-px { position: relative; isolation: isolate; overflow: hidden; overflow: clip; }
.story-px-bg {
  position: absolute;
  inset: 0;
  z-index: -1;            /* above the section background, below its content */
  overflow: hidden;
  pointer-events: none;
}
.story-px-bg > * { position: absolute; display: block; will-change: translate; }
 
.story-px-ghost {
  font-family: "Marcellus", "Josefin Sans", serif;
  font-size: clamp(8rem, 15vw, 16rem);
  line-height: .8;
  letter-spacing: -.02em;
  white-space: nowrap;
  color: currentColor;
  opacity: 0.08;
  user-select: none;
}
.story-px-orb {
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 164, 92, .26) 0%, rgba(200, 164, 92, 0) 66%);
}
.story-px-ring {
  border-radius: 50%;
  border: 1px solid rgba(200, 164, 92, .28);
}
 
/* Parallax targets inside the content move on their own (not via transform) */
.story-opening-inner .story-kicker,
.story-opening-inner .story-display,
.story-opening-inner .story-lede,
.story-chapter h2,
.story-chapter .story-image,
.story-timeline-intro,
.story-closing h2,
.story-closing-inner > p { will-change: translate; }
 
@media (max-width: 767.98px) {
  .story-px-ghost { font-size: clamp(5.5rem, 12vw, 14rem); opacity: .08; }
  .story-px-ring { border-color: rgba(200, 164, 92, .22); }
}
 
@media (prefers-reduced-motion: reduce) {
  .story-px-bg { display: none; }
}

/* Marquee */
.hallmark-marquee-strip {
  background: var(--dark-blue, #112250); color: #ffffff; padding: 14px 0; overflow: hidden;
  white-space: nowrap; position: relative; border-top: 1px solid rgba(212, 175, 55, 0.25); border-bottom: 1px solid rgba(212, 175, 55, 0.25);
}
.marquee-track { display: flex; width: max-content; animation: marqueeScroll 28s linear infinite; }
.marquee-group { display: flex; align-items: center; gap: 2.5rem; padding-right: 2.5rem; }
.marquee-item { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.08em; color: var(--ivory); text-transform: uppercase; }
@keyframes marqueeScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Spotlight */
.hallmark-spotlight-section { padding: 4rem 5vw; background: linear-gradient(180deg, var(--sage-light) 0%, var(--ivory) 100%); }
.spotlight-container { max-width: 1240px; margin: 0 auto; }
.spotlight-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 2.5rem; align-items: center; }
.spotlight-media-wrap { position: relative; }
.spotlight-img-frame {
  position: relative; border-radius: 24px; overflow: hidden; box-shadow: 0 20px 50px rgba(11, 37, 69, 0.15); border: 3px solid #ffffff;
}
.spotlight-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.spotlight-badge-stamp {
  position: absolute; bottom: 20px; right: 20px; background: rgba(11, 37, 69, 0.94);
  backdrop-filter: blur(8px); color: #ffffff; padding: 10px 18px; border-radius: 12px;
  border: 1px solid rgba(212, 175, 55, 0.4); display: flex; flex-direction: column; align-items: center;
}
.stamp-purity { font-size: 1.4rem; font-weight: 800; color: var(--gold-accent); }
.stamp-text { font-size: 0.6rem; letter-spacing: 0.16em; color: rgba(255, 255, 255, 0.9); }
.spotlight-heading { font-size: clamp(2rem, 3.8vw, 2.8rem); margin-bottom: 0.8rem; color: var(--dark-green); }
.spotlight-sub { color: var(--warm-grey); font-size: 1.05rem; line-height: 1.6; margin-bottom: 2rem; }
.spotlight-features { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 2.2rem; }
.spotlight-feature-card {
  display: flex; gap: 12px; align-items: flex-start; background: var(--ivory); padding: 16px; border-radius: 14px;
  border: 1px solid var(--border-light); transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.spotlight-feature-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); border-color: var(--gold); }
.sfc-icon {
  width: 38px; height: 38px; border-radius: 10px; background: var(--sage-light); color: var(--green);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.spotlight-feature-card h3 { font-size: 0.88rem; font-weight: 700; color: var(--dark-green); margin-bottom: 4px; }
.spotlight-feature-card p { font-size: 0.78rem; color: var(--warm-grey); line-height: 1.45; margin: 0; }
.btn-spotlight {
  background: var(--dark-green); color: #ffffff; padding: 0.9rem 2rem; border-radius: var(--radius-pill);
  font-weight: 600; display: inline-block; transition: all 0.2s ease;
}
.btn-spotlight:hover { background: var(--green); transform: translateY(-2px); }

/* Curation Cards */
.curation-hub-section { padding: 3.5rem 5vw; background: var(--ivory); }
.curation-container { max-width: 1240px; margin: 0 auto; }
.curation-cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 2rem; }
.curation-card {
  position: relative; border-radius: 20px; padding: 2.2rem 2rem; overflow: hidden; background: var(--ivory);
  border: 1px solid var(--border-light); display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 240px; box-shadow: var(--shadow-sm); transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.curation-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.curation-card-bg { position: absolute; inset: 0; opacity: 0.08; transition: opacity 0.3s ease; }
.bg-1 { background: radial-gradient(circle at top right, #9D8366 0%, transparent 70%); }
.bg-2 { background: radial-gradient(circle at top right, #112250 0%, transparent 70%); }
.bg-3 { background: radial-gradient(circle at top right, #9D8366 0%, transparent 70%); }
.curation-tag {
  display: inline-block; background: var(--sage-light); color: var(--dark-green);
  font-size: 1.2rem; font-weight: 700; padding: 3px 10px; border-radius: var(--radius-pill); margin-bottom: 0.8rem;
}
.curation-card h3 { font-size: 1.25rem; font-weight: 700; color: var(--dark-green); margin-bottom: 0.4rem; }
.curation-card p { font-size: 0.85rem; color: var(--warm-grey); line-height: 1.45; margin-bottom: 1.2rem; }
.curation-link { font-size: 0.85rem; font-weight: 700; color: var(--gold); display: inline-flex; align-items: center; gap: 4px; }

/* Category Circles */
.home-categories-section { padding: 3.5rem 5vw 2rem; background: var(--ivory); }
.categories-container { max-width: 1240px; margin: 0 auto; }
.category-circles-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; margin-top: 2rem; }
.cat-circle-card { display: flex; flex-direction: column; align-items: center; text-align: center; }
.cat-circle-avatar {
  width: 88px; height: 88px; border-radius: 50%; background: var(--ivory); border: 1.5px solid var(--border-light);
  display: flex; align-items: center; justify-content: center; color: var(--green); margin-bottom: 0.9rem;
  box-shadow: var(--shadow-sm); transition: all 0.25s ease;
  overflow: hidden;
}
.cat-circle-avatar img { width: 100%; height: 100%; object-fit: cover; }
.cat-circle-card:hover .cat-circle-avatar { border-color: var(--gold); color: var(--gold); background: var(--gold-light); transform: translateY(-4px); }
.cat-circle-title { font-size: 0.92rem; font-weight: 500; color: var(--ink); }

/* Section Common */
.home-section { max-width: 1240px; margin: 0 auto; padding: 3.5rem 5vw; }
.section-head-row { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 2rem; flex-wrap: wrap; gap: 1rem; }
.view-all-link { color: var(--green); font-weight: 600; font-size: 0.95rem; display: inline-flex; align-items: center; gap: 0.3rem; }
.view-all-link:hover { color: var(--gold); }

/* Carousel */
.carousel-head-actions { display: flex; align-items: center; gap: 1.2rem; }
.carousel-nav-btns { display: flex; align-items: center; gap: 0.5rem; }
.carousel-arrow {
  width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--border-light);
  background: var(--card-bg); color: var(--dark-green); display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.2s ease;
}
.carousel-arrow:hover { background: var(--dark-green); color: #ffffff; border-color: var(--dark-green); }
.carousel-container {
  position: relative; width: 100%; overflow-x: auto; overflow-y: hidden;
  padding: 1.2rem 0.2rem 1.8rem; -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain; scroll-behavior: smooth; scroll-snap-type: x mandatory;
  scrollbar-width: thin; scrollbar-color: var(--gold) var(--ivory);
}
.carousel-container::-webkit-scrollbar { height: 8px; }
.carousel-container::-webkit-scrollbar-track { background: var(--ivory); border-radius: var(--radius-pill); }
.carousel-container::-webkit-scrollbar-thumb { background: var(--gold); border-radius: var(--radius-pill); }
.carousel-track { display: flex; gap: 1.5rem; }
.carousel-track .product-card { flex: 0 0 calc((100% - 3 * 1.5rem) / 4); min-width: 250px; max-width: 340px; scroll-snap-align: start; }
.carousel-dots { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 1.5rem; }
.carousel-dot { width: 9px; height: 9px; border-radius: 50%; background: #B7B9BC; border: none; cursor: pointer; transition: all 0.25s ease; }
.carousel-dot.active { background: var(--gold); width: 26px; border-radius: var(--radius-pill); }

/* Product Cards */
.collection-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 1.5rem; }
.product-card {
  background: var(--card-bg); border: 1px solid var(--border-light); border-radius: 12px;
  overflow: hidden; display: flex; flex-direction: column; position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(11, 37, 69, 0.12); border-color: #B7B9BC; }
.card-media { position: relative; aspect-ratio: 1 / 1; background: var(--sage-light); overflow: hidden; }
.card-img-link { display: block; width: 100%; height: 100%; }
.card-media .ph {
  width: 100%; height: 100%; background: var(--sage-light); color: var(--green);
  display: flex; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; font-size: 0.9rem; font-weight: 500;
}
.card-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.55s ease; }
.product-card:hover .card-img { transform: scale(1.07); }

.wishlist-btn {
  position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center;
  color: #B7B9BC; box-shadow: var(--shadow-sm); z-index: 2;
}
.wishlist-btn:hover { transform: scale(1.1); color: #e53935; }
.wishlist-btn.active { color: #e53935; background: var(--ivory); }

.card-badges {
  position: absolute; bottom: 8px; left: 8px; right: 8px; display: flex; gap: 5px; align-items: center; z-index: 2;
  pointer-events: none;
}
.badge-purity {
  background: #112250; color: #ffffff; font-size: 0.68rem; font-weight: 600; padding: 3px 8px; border-radius: var(--radius-pill);
}
.badge-discount {
  background: #9D8366; color: #ffffff; font-size: 0.68rem; font-weight: 600; padding: 3px 8px; border-radius: var(--radius-pill);
}
.badge-special {
  background: #112250; color: #ffffff; font-size: 0.68rem; font-weight: 600; padding: 3px 8px; border-radius: var(--radius-pill);
}
.card-feature-tag {
  display: inline-block; font-size: 0.72rem; font-weight: 500; color: var(--green); background: var(--sage-light);
  padding: 2px 8px; border-radius: var(--radius-pill); margin-bottom: 0.6rem; width: fit-content;
}

.card-copy { padding: 1.2rem; display: flex; flex-direction: column; flex-grow: 1; }
.card-rating { display: flex; align-items: center; gap: 0.4rem; margin-bottom: 0.4rem; font-size: 0.8rem; }
.rating-stars { background: var(--gold-light); color: var(--gold); font-weight: 600; padding: 1px 6px; border-radius: 4px; }
.rating-count { color: var(--warm-grey); }
.card-title { font: 600 1.25rem/1.2 var(--serif); margin: 0 0 0.5rem; }
.card-title a { color: var(--dark-green); }
.card-title a:hover { color: var(--green); }
.price-row { display: flex; align-items: baseline; gap: 0.5rem; margin: 0.2rem 0 0.5rem; }
.price { font-size: 1rem; font-family: var(--serif); font-weight: 600; color: var(--dark-green); }
.old-price { text-decoration: line-through; color: #B7B9BC; font-size: 0.78rem; }
.card-desc {
  font-size: 0.85rem; color: var(--warm-grey); line-height: 1.5; margin: 0 0 1rem; flex-grow: 1;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-quick-add {
  width: 100%; background: var(--ivory); border: 1px solid var(--green); color: var(--green);
  font-weight: 600; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em;
  padding: 0.65rem 0.8rem; border-radius: var(--radius-pill); transition: all 0.2s ease;
}
.card-quick-add:hover { background: var(--green); color: #ffffff; }
.card-quick-add.added { background: var(--dark-green); border-color: var(--dark-green); color: #ffffff; }

/* Filter Bar */
.category-filter-bar { display: flex; gap: 0.6rem; flex-wrap: wrap; margin: 1.5rem 0 1.8rem; }
.filter-btn {
  background: var(--ivory); border: 1px solid var(--border-light); padding: 0.5rem 1.1rem;
  font-size: 0.88rem; font-weight: 500; border-radius: var(--radius-pill); color: var(--ink);
  transition: all 0.2s ease; box-shadow: var(--shadow-sm);
}
.filter-btn:hover { border-color: var(--green); color: var(--green); }
.filter-btn.active {
  background: var(--dark-green); border-color: var(--dark-green); color: #ffffff;
  box-shadow: 0 4px 12px rgba(11, 37, 69, 0.25);
}
.subcategory-filter-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .85rem .5rem;
  margin: -.4rem 0 1.35rem;
}
.subcategory-filter-bar[hidden] { display: none; }
.subcategory-filter-btn {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  padding: .35rem .2rem;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: .8rem;
  cursor: pointer;
  text-align: center;
}
.subcategory-filter-btn:hover,
.subcategory-filter-btn.active { border-color: var(--green); color: var(--green); }
.subcategory-filter-btn.active { background: rgba(17, 34, 80, .045); }
.subcategory-filter-image {
  display: flex;
  width: clamp(3.5rem, 10vw, 4.75rem);
  aspect-ratio: 1;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 50%;
  background: #eef0f7;
}
.subcategory-filter-image img {
  display: block;
  width: 100%;
  height: 100%;
  padding: .35rem;
  object-fit: contain;
}
.subcategory-filter-placeholder {
  color: var(--dark-green);
  font-family: var(--font-heading);
  font-size: 1.5rem;
}
.subcategory-filter-label {
  max-width: 100%;
  font-size: .75rem;
  line-height: 1.25;
}
.shop-toolbar {
  display: flex; justify-content: space-between; align-items: center; padding: 0.8rem 0;
  border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); margin-bottom: 1.8rem;
  flex-wrap: wrap; gap: 1rem;
}
.product-count { font-size: 0.9rem; color: var(--warm-grey); font-weight: 500; }
.sort-select {
  padding: 0.4rem 2.25rem 0.4rem 0.8rem; border-radius: 4px;
  background-color: var(--ivory); color: var(--ink); font-size: 0.88rem;
}

/* Product Detail Page */
.product-layout {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 2.5rem; margin-bottom: 2.5rem;
}
.gallery-wrapper {
  position: relative; aspect-ratio: 1 / 1; background: var(--sage-light);
  border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border-light);
  cursor: crosshair; user-select: none;
}
.gallery-main { width: 100%; height: 100%; }
.gallery-real-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.25s ease; }
.gallery-wrapper.is-touch-zoomed .gallery-real-img { transform: scale(2.25); }
.gallery-wishlist-btn,
.gallery-share-btn {
  position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center;
  color: #888; box-shadow: var(--shadow-sm); z-index: 2;
}
.gallery-wishlist-btn.active { color: #e53935; background: var(--ivory); }

.gallery-share-btn {
  right: 70px;               /* heart's right (16) + heart's width (44) + 10px gap */
  cursor: pointer;
  pointer-events: auto;
  touch-action: manipulation; /* no double-tap-zoom delay on phones */
  z-index: 6;                 /* above the zoom lens (5) */
}
.gallery-share-btn svg {
  fill: none;
  stroke: currentColor;
}
.gallery-share-icon-desktop { display: block; }
.gallery-share-icon-mobile { display: none; }
.gallery-share-btn.show-tip::after {
  content: attr(data-tip);
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(17, 34, 80, 0.92);
  color: #fff;
  font-size: 0.72rem;
  padding: 0.3rem 0.55rem;
  border-radius: 6px;
  white-space: nowrap;
  pointer-events: none;
}

.gallery-zoom-lens {
  position: absolute; width: 180px; height: 180px; border-radius: 50%;
  border: 2.5px solid var(--gold); box-shadow: 0 0 0 9999px rgba(11, 37, 69, 0.35), 0 8px 24px rgba(0,0,0,0.4);
  pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(0.85);
  transition: opacity 0.2s ease, transform 0.2s ease; z-index: 5; background-repeat: no-repeat;
}
.gallery-wrapper:hover .gallery-zoom-lens.visible { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.gallery-wrapper:fullscreen {
  width: min(100vw, 100vh); height: min(100vw, 100vh); margin: auto;
  aspect-ratio: auto; border-radius: 0; background: #111;
}
.gallery-wrapper:fullscreen .gallery-real-img { object-fit: contain; }

@media (hover: none), (pointer: coarse) {
  .gallery-wrapper { cursor: zoom-in; }
  .gallery-wrapper.is-touch-zoomed { cursor: zoom-out; }
}

.gallery-expand-btn {
  position: absolute; bottom: 14px; left: 14px; background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px); border: 1px solid rgba(11, 37, 69, 0.15); border-radius: 24px;
  padding: 6px 14px; font-size: 0.78rem; font-weight: 600; color: var(--green); display: flex; align-items: center; gap: 6px;
  cursor: pointer; z-index: 3;
}
.gallery-badge-purity {
  position: absolute; top: 16px; left: 16px; background: rgba(11, 37, 69, 0.9); color: #ffffff;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.04em; padding: 4px 10px; border-radius: 20px; z-index: 2;
}
.gallery-angle-pills { display: flex; gap: 6px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; }
.angle-pill-btn {
  background: var(--ivory); border: 1px solid var(--border-light); padding: 5px 12px; font-size: 0.78rem;
  font-weight: 600; border-radius: 20px; color: var(--warm-grey); cursor: pointer;
}
.angle-pill-btn.active { background: var(--sage-light); border-color: var(--green); color: var(--green); }

.thumbs { display: flex; gap: 0.75rem; margin-top: 1rem; overflow-x: auto; }
.thumb {
  border: 2px solid transparent; border-radius: 8px; padding: 0; background: var(--sage-light);
  flex: 0 0 76px; aspect-ratio: 1 / 1; overflow: hidden; cursor: pointer; position: relative;
}
.thumb.active-thumb, .thumb[aria-current="true"] { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(181, 136, 32, 0.4); }
.thumb-tag-badge {
  position: absolute; bottom: 0; left: 0; right: 0; background: rgba(11, 37, 69, 0.85);
  color: #ffffff; font-size: 0.58rem; font-weight: 700; text-align: center; padding: 2px 0;
}
.thumb-real-img { width: 100%; height: 100%; object-fit: cover; }

.product-price-box {
  background: var(--ivory-alt); padding: 1.2rem; border-radius: var(--radius-sm);
  border: 1px solid var(--border-light); margin-bottom: 1.4rem;
}
.price-main-line { display: flex; align-items: baseline; gap: 0.8rem; flex-wrap: wrap; margin-bottom: 0.3rem; }
.current-price { 
  font-size: 1.45rem;
  line-height: 1.2;
  font-weight: 600;
  color: var(--dark-green);
  font-family: var(--serif);
}
.original-price { text-decoration: line-through; color: #B7B9BC; font-size: 0.92rem; }
.save-pill { background: var(--gold); color: #ffffff; font-size: 0.82rem; font-weight: 600; padding: 3px 10px; border-radius: var(--radius-pill); }
.tax-note { font-size: 0.82rem; color: var(--warm-grey); }

.hallmark-guarantee-card {
  display: flex; align-items: center; gap: 0.8rem; background: var(--ivory);
  border: 1px solid var(--border-light); padding: 0.9rem 1.1rem; border-radius: var(--radius-sm); margin-bottom: 1.4rem;
}
.hallmark-text strong { display: block; font-size: 0.9rem; color: var(--green); }
.hallmark-text p { margin: 0; font-size: 0.82rem; color: var(--warm-grey); }

.style-tip-box {
  align-self: stretch; background: #f5f4f0; border: 1px solid rgba(157, 131, 102, 0.32);
  border-left: 3px solid var(--gold); border-radius: var(--radius-sm); padding: 1.2rem 1.35rem;
}
.product-description-layout {
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(210px, 0.8fr);
  align-items: stretch; gap: 1rem; margin: 1.5rem 0 1.25rem;
}
.product-description-card {
  min-width: 0; padding: 1.2rem 1.35rem; background: var(--ivory);
  border: 1px solid var(--border-light); border-radius: var(--radius-sm);
}
.product-story-title {
  margin: 0 0 0.65rem; color: #806247; font: 500 1.2rem var(--serif);
}
.product-short-story {
  margin: 0; color: var(--ink); font-size: 0.94rem; line-height: 1.7; white-space: pre-line;
}
.product-short-story.is-collapsed { max-height: 6.8em; overflow: hidden; }
.product-short-story:not(.is-collapsed) { max-height: 2000px; }
.product-description-toggle {
  margin-top: 0.65rem; padding: 0; color: var(--dark-green); font-size: 0.88rem;
  font-weight: 600; text-decoration: underline; text-underline-offset: 3px;
}
.product-description-toggle[hidden] { display: none; }
.style-tip-badge { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; color: var(--gold); display: block; margin-bottom: 0.5rem; }
.style-tip-box p { margin: 0; color: var(--ink); font-size: 0.92rem; line-height: 1.65; }

.qty-selector { display: inline-flex; align-items: center; border: 1px solid var(--border-light); border-radius: 4px; background: var(--ivory); }
.qty-selector button { padding: 0.55rem 0.95rem; font-size: 1.1rem; color: var(--green); }
.qty-selector button:hover { background: var(--sage-light); }
.qty-selector span { padding: 0 0.8rem; font-weight: 600; min-width: 32px; text-align: center; }

.availability-pill { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.85rem; font-weight: 500; padding: 0.4rem 0.8rem; border-radius: var(--radius-pill); }
.availability-pill.in-stock { background: #f5f4f0; color: var(--dark-green); }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

.product-action-stack { display: flex; flex-direction: column; gap: 0.8rem; margin-bottom: 1.8rem; }
.btn-add-cart { width: 100%; padding: 1rem; font-size: 1.05rem; background: var(--dark-green); border-color: var(--dark-green); color: #ffffff; }
.btn-add-cart:hover { background: var(--green); }
.btn-whatsapp-order {
  width: 100%; background: #112250; border: 1px solid #112250; color: #ffffff; padding: 1rem; font-size: 1rem;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 4px;
}
.btn-whatsapp-order:hover { background: var(--deep-green); }

.product-perks-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.8rem; margin: 1.5rem 0; }
.perk-box {
  background: var(--ivory); border: 1px solid var(--border-light); padding: 0.8rem 0.5rem; text-align: center;
  border-radius: var(--radius-sm); font-size: 0.76rem; font-weight: 600; color: var(--dark-green);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}

.delivery-checker-box { background: var(--ivory); border: 1px solid var(--border-light); padding: 1.2rem; border-radius: var(--radius-sm); margin-bottom: 2rem; }
.delivery-checker-title { font-weight: 600; font-size: 0.9rem; margin-bottom: 0.6rem; display: block; color: var(--dark-green); }
.pincode-input-row { display: flex; gap: 0.5rem; }
.pincode-input-row input { flex: 1; padding: 0.6rem 0.9rem; border: 1px solid var(--border-light); border-radius: 3px; }
.pincode-input-row button { background: var(--dark-green); color: #ffffff; padding: 0.6rem 1.2rem; border-radius: 3px; }
.pincode-result { min-height: 1.5rem; margin-top: 0.65rem; font-size: 0.9rem; color: var(--dark-green); font-weight: 500; }
.pincode-result.error { color: #a33a32; }


/* Accordions */
.product-accordions { border-top: 1px solid var(--border-light); }
.accordion-item { border-bottom: 1px solid var(--border-light); }
.accordion-header {
  list-style: none; display: flex; justify-content: space-between; align-items: center;
  padding: 1.1rem 0; font-weight: 600; font-size: 1.05rem; cursor: pointer; color: var(--dark-green);
}
.accordion-header::-webkit-details-marker { display: none; }
.acc-icon {
  width: 0.62rem; height: 0.62rem; flex: 0 0 0.62rem;
  border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
  transform: rotate(45deg) translateY(-2px); transition: transform 0.2s ease;
}
.accordion-item[open] .acc-icon { transform: rotate(225deg) translate(-2px, -1px); }
.specs-grid-layout { display: grid; grid-template-columns: 1fr; gap: 0.5rem; }
.spec-item { display: flex; justify-content: space-between; border-bottom: 1px solid var(--border-light); padding: 0.45rem 0; }
.spec-label { color: var(--warm-grey); }
.spec-val { font-weight: 500; color: var(--dark-green); }

@media (max-width: 680px) {
  .product-description-layout { grid-template-columns: minmax(0, 1fr); gap: 0.75rem; }
  .product-description-card, .style-tip-box { padding: 1rem 1.1rem; }
}

/* Why PAIS Section */
.why {
  background: var(--dark-green); color: #ffffff; border-radius: var(--radius-md);
  margin-top: 2.5rem; margin-bottom: 2.5rem; padding: 3rem 5vw;
}
.why-heading { color: #ffffff !important; font-size: clamp(2.3rem, 4vw, 3.2rem); margin-bottom: 2rem; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.why-box { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); padding: 1.5rem; border-radius: var(--radius-sm); }
.why-box h2 { font: 500 1.8rem var(--serif); margin: 0 0 0.6rem; color: #ffffff; }
.why-box p { color: #B7B9BC; font-size: 0.92rem; line-height: 1.6; margin: 0; }

/* Testimonials */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2rem; }
.testimonial-card {
  background: var(--ivory); border: 1px solid var(--border-light); padding: 2rem 1.6rem;
  border-radius: var(--radius-md); display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
}
.t-stars { color: var(--gold); margin-bottom: 0.8rem; }
.t-quote { font-family: var(--serif); font-size: 1.15rem; line-height: 1.5; color: var(--ink); font-style: italic; margin: 0 0 1.2rem; flex-grow: 1; }
.t-author { font-size: 0.82rem; font-weight: 600; color: var(--green); }

/* CTA Banner */
.cta-banner-box { background: var(--sage); border-radius: var(--radius-md); padding: 2.75rem 5vw; text-align: center; }
.banner-title { max-width: 700px; margin: 0.5rem auto 1rem; color: var(--dark-green); }
.banner-sub { max-width: 600px; margin: 0 auto 1.8rem; color: #112250; font-size: 1.05rem; }
.btn-banner-wa {
  background: var(--dark-green); color: #ffffff; padding: 0.95rem 2rem; font-size: 1rem; border-radius: 4px;
  display: inline-flex; align-items: center; justify-content: center;
}
.btn-banner-wa:hover { background: var(--deep-green); }

/* Footer */
.site-footer {
  background: var(--dark-green); color: #B7B9BC; padding: 1.25rem 5vw; margin-top: 3rem;
}
.footer-container { max-width: 1240px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr 1fr; gap: 1.75rem; margin-bottom: 2.25rem; }
.footer-brand-title {
  display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--serif); font-size: 1.6rem;
  font-weight: 500; color: #ffffff; margin: 0 0 1rem;
}
.footer-brand-icon { width: 14px; height: 18px; fill: var(--gold-accent); flex-shrink: 0; }
.footer-brand-desc { color: #B7B9BC; font-size: 0.88rem; line-height: 1.6; max-width: 270px; }
.footer-col-title { color: var(--gold-accent); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; margin: 0 0 1.25rem; }
.footer-nav-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.7rem; }
.footer-nav-list a { color: #B7B9BC; font-size: 0.92rem; transition: all 0.2s ease; }
.footer-nav-list a:hover { color: #ffffff; transform: translateX(3px); }
.footer-divider { border: 0; border-top: 1px solid rgba(255, 255, 255, 0.12); margin: 0 0 1.8rem; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; font-size: 0.82rem; color: #B7B9BC; }
.footer-bottom-links a { color: #B7B9BC; }
.footer-bottom-links a:hover { color: var(--gold-accent); }

/* Floating WhatsApp */
.floating-whatsapp-btn {
  position: fixed; bottom: 24px; right: 24px; background: #25d366; color: #ffffff;
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.75rem 1.2rem;
  border-radius: var(--radius-pill); box-shadow: var(--shadow-lg); font-size: 0.88rem; font-weight: 600; z-index: 99;
}

/* Cart Page */
.free-shipping-bar-box { background: var(--ivory); border: 1px solid var(--border-light); border-radius: var(--radius-sm); padding: 1.1rem 1.4rem; margin-bottom: 2rem; }
.shipping-progress-track { height: 7px; background: var(--sage); border-radius: var(--radius-pill); overflow: hidden; }
.shipping-progress-fill { height: 100%; background: var(--dark-green); border-radius: var(--radius-pill); }
.cart-layout { display: grid; grid-template-columns: 1.4fr 0.85fr; gap: 2rem; }
.cart-item-card {
  background: var(--ivory); border: 1px solid var(--border-light); border-radius: var(--radius-sm);
  padding: 1.2rem; margin-bottom: 1rem; display: grid; grid-template-columns: 90px 1fr; gap: 1.2rem; align-items: center;
}
.cart-item-media { width: 90px; height: 90px; border-radius: var(--radius-sm); overflow: hidden; background: var(--sage-light); }
.cart-item-img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-title a { color: var(--dark-green); font-family: var(--serif); font-size: 1.25rem; }
.cart-item-price { font-size: 1.15rem; font-weight: 600; color: var(--dark-green); font-family: var(--serif); }
.summary-card { background: var(--ivory); border: 1px solid var(--border-light); border-radius: var(--radius-sm); padding: 1.8rem; }
.summary-heading { font: 600 1.6rem var(--serif); color: var(--dark-green); margin: 0 0 1.4rem; }
.summary-line { display: flex; justify-content: space-between; margin-bottom: 0.8rem; font-size: 0.92rem; color: #112250; }
.summary-total-line { display: flex; justify-content: space-between; font-size: 1.15rem; font-weight: 600; color: var(--dark-green); margin-bottom: 1.4rem; }
.total-amount { font-size: 1.4rem; color: var(--dark-green); }
.btn-checkout-wa {
  width: 100%; background: var(--dark-green); color: #ffffff; padding: 0.95rem; font-size: 1rem; font-weight: 600;
  border-radius: 4px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-checkout-wa:hover { background: var(--deep-green); }

/* Reviews */
.cart-review-section, .reviews-section {
  margin-top: 2.5rem; background: var(--ivory); border: 1px solid rgba(11, 37, 69, 0.12);
  border-radius: 12px; padding: 2.2rem; box-shadow: 0 4px 20px rgba(11, 37, 69, 0.04);
}
.review-form-card { background: #f5f4f0; border: 1px solid rgba(11, 37, 69, 0.1); border-radius: 10px; padding: 1.8rem; }
.review-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-bottom: 1.2rem; }
.review-input, .review-select, .review-textarea {
  width: 100%; padding: 0.75rem 1rem; border: 1px solid #B7B9BC; border-radius: 6px; background: var(--ivory);
}
.review-input:focus, .review-select:focus, .review-textarea:focus { border-color: var(--dark-green); outline: none; }
.review-submit-btn {
  background: var(--dark-green); color: #ffffff; font-weight: 600; font-size: 0.92rem; padding: 0.85rem 1.8rem;
  border: none; border-radius: 6px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
}
.star-btn { font-size: 1.6rem; color: #B7B9BC; cursor: pointer; }
.star-btn.active { color: #f59e0b; }

/* Custom Banners & Blog */
.home-custom-promo-banner {
  background: linear-gradient(135deg, #112250 0%, #112250 100%);
  border-radius: 16px; overflow: hidden; box-shadow: 0 12px 32px rgba(11, 37, 69, 0.18);
  display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; margin-bottom: 2rem;
  border: 1px solid rgba(212, 175, 55, 0.25);
}
.home-custom-promo-content { padding: 3rem 2.5rem; color: #ffffff; }
.home-custom-promo-title { font-family: var(--serif); font-size: 2.2rem; margin-bottom: 0.9rem; color: #ffffff; }
.home-custom-promo-btn {
  background: var(--gold-accent); color: #112250; font-weight: 600; font-size: 0.92rem; padding: 0.85rem 1.8rem;
  border-radius: 999px; display: inline-flex; align-items: center; gap: 8px;
}
.home-custom-promo-media { height: 100%; min-height: 320px; }
.home-custom-promo-img { width: 100%; height: 100%; object-fit: cover; }

.blog-hero-section {
  background: var(--dark-green); color: #ffffff; padding: 4.5rem 1.5rem 3.5rem; text-align: center;
  background-image: radial-gradient(ellipse at 70% 30%, rgba(212,175,55,0.15) 0%, transparent 60%),
                    radial-gradient(ellipse at 20% 80%, rgba(10,21,51,0.8) 0%, transparent 60%);
}
.blog-main-heading { color: #ffffff !important; }
.blog-card {
  background: var(--ivory); border: 1px solid var(--border-light); border-radius: var(--radius-md);
  overflow: hidden; display: flex; flex-direction: column; transition: all 0.25s ease;
}
.blog-card:hover { transform: translateY(-5px); box-shadow: 0 16px 36px rgba(11, 37, 69, 0.12); border-color: var(--gold); }
.blog-card-media { position: relative; width: 100%; height: 230px; background: var(--dark-green); overflow: hidden; }
.blog-card-img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-cat {
  position: absolute; top: 14px; left: 14px; background: rgba(11, 37, 69, 0.92); color: var(--gold-accent);
  font-size: 0.7rem; font-weight: 700; padding: 4px 10px; border-radius: var(--radius-pill);
}
.blog-card-body { padding: 1.6rem; display: flex; flex-direction: column; flex-grow: 1; }
.blog-card-title { font-family: var(--serif); font-size: 1.25rem; color: var(--dark-green); margin-bottom: 0.7rem; }
.blog-read-btn { color: var(--gold); font-weight: 700; font-size: 0.84rem; text-transform: uppercase; display: inline-flex; align-items: center; gap: 6px; }

/* Toast */
.toast-container { position: fixed; bottom: 24px; right: 24px; z-index: 99999; display: flex; flex-direction: column; gap: 12px; }
.luxury-toast {
  background: rgba(255, 255, 255, 0.97); backdrop-filter: blur(16px);
  border: 1px solid rgba(11, 37, 69, 0.14); border-left: 4px solid var(--dark-green);
  border-radius: 12px; box-shadow: 0 12px 32px rgba(11, 37, 69, 0.16); padding: 14px 16px;
}
.toast-title { font-size: 0.82rem; font-weight: 700; text-transform: uppercase; color: var(--dark-green); }
/* Keep the add-to-cart notification image as a compact thumbnail; never let it expand over the page. */
.toast-media {
  width: 54px;
  height: 54px;
  min-width: 54px;
  flex: 0 0 54px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--pearl-white, #f5f4f0);
  border: 1px solid rgba(11, 37, 69, 0.12);
}
.toast-thumb-img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: cover;
}

/* Responsive */
@media (max-width: 1024px) {
  .category-circles-grid { grid-template-columns: repeat(3, 1fr); }
  .collection-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .header-inner { flex-direction: column; gap: 1rem; padding: 1rem 4vw; }
  .nav { flex-wrap: wrap; justify-content: center; gap: 1.2rem; }
  .hero-grid, .product-layout, .cart-layout, .spotlight-grid, .curation-cards-grid, .why-grid, .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .collection-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .collection-grid { grid-template-columns: 1fr; }
  .spotlight-features { grid-template-columns: 1fr; gap: 1rem; }
  .spotlight-feature-card > div:last-child { min-width: 0; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* Our Story — continuous editorial narrative */
.story-journey {
  --story-navy: #112250;
  --story-ivory: #f5f4f0;
  --story-brass: #9D8366;
  --story-grey: #B7B9BC;
  position: relative;
  overflow: clip;
  background: var(--story-ivory);
}

.story-opening {
  position: relative;
  min-height: calc(100svh - 78px);
  display: grid;
  place-items: center;
  padding: 8rem 7vw 7rem;
  color: var(--story-ivory);
  background:
    radial-gradient(circle at 78% 22%, rgba(157,131,102,.20), transparent 25%),
    radial-gradient(circle at 16% 82%, rgba(183,185,188,.08), transparent 28%),
    var(--story-navy);
}
.story-opening::before {
  content: "";
  position: absolute;
  width: min(58vw, 720px);
  height: min(58vw, 720px);
  right: -16vw;
  top: -18vw;
  border: 1px solid rgba(245,241,226,.14);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(245,241,226,.025), 0 0 0 140px rgba(245,241,226,.018);
  pointer-events: none;
}
.story-opening-inner {
  width: min(980px, 100%);
  position: relative;
  z-index: 1;
  padding: 3rem 0 5rem;
}
.story-kicker,
.story-index {
  display: block;
  color: var(--story-brass);
  font-size: 13.5px;
  font-weight: bolder;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.story-display {
  margin: 1.8rem 0 2rem;
  max-width: 900px;
  font-family: var(--serif);
  font-size: clamp(4rem, 9.8vw, 9rem);
  line-height: .91;
  letter-spacing: -.045em;
  color: var(--story-ivory);
}
.story-display em,
.story-chapter h2 em,
.story-timeline h2 em,
.story-closing h2 em {
  color: var(--story-brass);
  font-style: normal;
}
.story-lede {
  max-width: 720px;
  margin: 0;
  color: rgba(245,241,226,.82);
  font-size: clamp(1rem, 1.55vw, 1.28rem);
  line-height: 1.85;
}
.story-scroll-cue {
  position: absolute;
  left: 0;
  bottom: 0;
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  color: rgba(245,241,226,.58);
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.story-scroll-cue span {
  width: 34px;
  height: 1px;
  background: var(--story-brass);
  position: relative;
}
.story-scroll-cue span::after {
  content: "";
  position: absolute;
  right: 0;
  top: -3px;
  width: 7px;
  height: 7px;
  border-right: 1px solid var(--story-brass);
  border-bottom: 1px solid var(--story-brass);
  transform: rotate(45deg);
  animation: storyCue 1.8s ease-in-out infinite;
}

.story-chapter {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: center;
  padding: 9rem 7vw;
}
.story-chapter-light { background: var(--story-ivory); color: var(--story-navy); }
.story-chapter-dark {
  color: var(--story-ivory);
  background:
    radial-gradient(circle at 18% 72%, rgba(157,131,102,.14), transparent 28%),
    var(--story-navy);
}
.story-chapter-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(340px, 1.1fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 9rem);
}
.story-chapter-grid-reverse { grid-template-columns: minmax(340px, 1.1fr) minmax(0, .9fr); }
.story-chapter-grid-reverse .story-copy { order: 2; }
.story-chapter-grid-reverse .story-image { order: 1; }
.story-copy { max-width: 600px; }
.story-copy h2 {
  margin: 1rem 0 1.6rem;
  color: currentColor;
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5vw, 5.6rem);
  line-height: 1;
  letter-spacing: -.035em;
}
.story-copy p {
  margin: 0;
  max-width: 570px;
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.9;
  color: currentColor;
  opacity: .78;
}
.story-chapter-light .story-index { color: var(--story-brass); }
.story-chapter-dark .story-index { color: var(--story-brass); }

.story-image {
  margin: 0;
  position: relative;
  overflow: hidden;
  min-height: 420px;
  background: #ddd;
  box-shadow: 0 28px 70px rgba(11,37,69,.16);
}
.story-image::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(245,241,226,.42);
  z-index: 2;
  pointer-events: none;
}
.story-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  transform: scale(1.045) translateY(var(--story-parallax, 0px));
  transition: transform 1.1s cubic-bezier(.2,.75,.2,1), filter 1s ease;
  filter: saturate(.92);
}
.story-image:hover img { transform: scale(1.075) translateY(var(--story-parallax, 0px)); }
.story-image-vintage img { filter: grayscale(.78) sepia(.12) contrast(.96); }
.story-image-tall { min-height: 560px; }
.story-image-tall img { min-height: 560px; }
.story-image-modern { min-height: 500px; }
.story-image-modern img { min-height: 500px; object-position: center; }
.story-image figcaption {
  position: absolute;
  left: 30px;
  bottom: 24px;
  z-index: 3;
  color: var(--story-ivory);
  font-size: .67rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-shadow: 0 2px 12px rgba(0,0,0,.35);
}

.story-interlude {
  min-height: 78svh;
  display: grid;
  place-items: center;
  padding: 8rem 7vw;
  background: var(--story-brass);
  color: var(--story-navy);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.story-interlude::before,
.story-interlude::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(11,37,69,.18);
  border-radius: 50%;
  pointer-events: none;
}
.story-interlude::before { width: 46vw; height: 46vw; left: -24vw; top: 14%; }
.story-interlude::after { width: 32vw; height: 32vw; right: -15vw; bottom: -15vw; }
.story-interlude-inner { width: min(820px, 100%); position: relative; z-index: 1; }
.story-interlude .story-index { color: var(--story-navy); opacity: .65; }
.story-statement {
  margin: 1.3rem 0 1.5rem;
  font-family: var(--serif);
  font-size: clamp(3.5rem, 8vw, 8rem);
  line-height: .95;
  letter-spacing: -.04em;
}
.story-small-copy {
  max-width: 670px;
  margin: 0 auto;
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  line-height: 1.9;
  opacity: .78;
}
.story-line-art {
  margin: 3.5rem auto 0;
  width: min(300px, 70vw);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.story-line-art::before {
  content: "";
  position: absolute;
  left: 50%;
  width: min(300px, 70vw);
  height: 1px;
  background: rgba(11,37,69,.28);
  transform: translateX(-50%);
}
.story-line-art span {
  width: 9px;
  height: 9px;
  border: 1px solid var(--story-navy);
  border-radius: 50%;
  background: var(--story-brass);
  position: relative;
}
.story-line-art span:nth-child(2) { width: 13px; height: 13px; background: var(--story-navy); }

.story-timeline {
  padding: 10rem 7vw;
  background: var(--story-navy);
  color: var(--story-ivory);
}
.story-timeline-intro { width: min(1180px,100%); margin: 0 auto; }
.story-timeline h2 {
  margin: 1rem 0 5rem;
  color: var(--story-ivory);
  font-size: clamp(3rem, 6.5vw, 7rem);
  line-height: .96;
  letter-spacing: -.04em;
}
.story-timeline-track {
  width: min(1180px,100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4,1fr);
  border-top: 1px solid rgba(245,241,226,.24);
}
.story-milestone {
  min-height: 260px;
  padding: 2.2rem 2rem 0 0;
  position: relative;
}
.story-milestone + .story-milestone { padding-left: 2rem; border-left: 1px solid rgba(245,241,226,.16); }
.story-year {
  display: block;
  color: var(--story-brass);
  font-family: var(--serif);
  font-size: clamp(2rem, 3vw, 3rem);
  margin-bottom: 2rem;
}
.story-milestone-line {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--story-brass);
  margin-bottom: 1.2rem;
  position: relative;
}
.story-milestone-line::after {
  content: "";
  position: absolute;
  width: 90px;
  height: 1px;
  left: 0;
  top: 3px;
  background: rgba(157,131,102,.35);
}
.story-milestone p {
  margin: 0;
  max-width: 230px;
  color: rgba(245,241,226,.7);
  font-size: .95rem;
  line-height: 1.7;
}

.story-closing {
  min-height: 88svh;
  display: grid;
  place-items: center;
  padding: 9rem 7vw;
  text-align: center;
  background: var(--story-ivory);
  color: var(--story-navy);
  position: relative;
}
.story-closing-inner { width: min(900px,100%); }
.story-closing h2 {
  margin: 1rem 0 2rem;
  color: var(--story-navy);
  font-size: clamp(3.5rem, 8vw, 8rem);
  line-height: .94;
  letter-spacing: -.045em;
}
.story-closing p {
  width: min(690px,100%);
  margin: 0 auto;
  color: rgba(11,37,69,.72);
  font-size: clamp(1rem,1.35vw,1.15rem);
  line-height: 1.9;
}
.story-closing-mark {
  display: inline-block;
  margin-top: 5rem;
  color: var(--story-brass);
  font-family: var(--serif);
  font-size: 1.4rem;
  letter-spacing: .22em;
}

.story-reveal {
  opacity: 0;
  transform: translate3d(0, 70px, 0);
  transition: opacity .95s ease, transform 1.05s cubic-bezier(.2,.75,.2,1);
}
.story-reveal.is-visible { opacity: 1; transform: translate3d(0,0,0); }
.story-chapter .story-copy { transition-delay: .08s; }
.story-chapter .story-image { transition-delay: .18s; }

@keyframes storyCue {
  0%, 100% { transform: translateY(-2px) rotate(45deg); opacity: .5; }
  50% { transform: translateY(4px) rotate(45deg); opacity: 1; }
}

@media (max-width: 860px) {
  .story-opening { min-height: calc(100svh - 130px); padding: 6rem 6vw 6rem; }
  .story-opening-inner { padding-bottom: 4rem; }
  .story-display { font-size: clamp(3.4rem, 14vw, 6rem); }
  .story-chapter { min-height: auto; padding: 6rem 6vw; }
  .story-chapter-grid,
  .story-chapter-grid-reverse { grid-template-columns: 1fr; gap: 3.2rem; }
  .story-chapter-grid-reverse .story-copy,
  .story-chapter-grid-reverse .story-image { order: initial; }
  .story-copy { max-width: 680px; }
  .story-image,
  .story-image-tall,
  .story-image-modern,
  .story-image img,
  .story-image-tall img,
  .story-image-modern img { min-height: 420px; }
  .story-timeline { padding: 7rem 6vw; }
  .story-timeline h2 { margin-bottom: 3.5rem; }
  .story-timeline-track { grid-template-columns: 1fr 1fr; }
  .story-milestone { min-height: 230px; padding-right: 1.2rem; }
  .story-milestone + .story-milestone { padding-left: 1.2rem; }
}

@media (max-width: 560px) {
  .story-opening { padding: 5rem 6vw; }
  .story-display { font-size: clamp(3rem, 15vw, 4.8rem); }
  .story-lede { line-height: 1.75; }
  .story-chapter { padding: 5rem 6vw; }
  .story-copy h2 { font-size: clamp(2.7rem, 12vw, 4.2rem); }
  .story-image,
  .story-image-tall,
  .story-image-modern,
  .story-image img,
  .story-image-tall img,
  .story-image-modern img { min-height: 300px; }
  .story-image::before { inset: 10px; }
  .story-image figcaption { left: 20px; bottom: 16px; }
  .story-interlude { min-height: 68svh; padding: 6rem 6vw; }
  .story-statement { font-size: clamp(3rem, 15vw, 5rem); }
  .story-timeline { padding: 6rem 6vw; }
  .story-timeline-track { grid-template-columns: 1fr; }
  .story-milestone { min-height: auto; padding: 1.8rem 0 2.2rem; border-top: 1px solid rgba(245,241,226,.16); }
  .story-milestone + .story-milestone { padding-left: 0; border-left: 0; }
  .story-year { margin-bottom: 1rem; }
  .story-closing { min-height: 72svh; padding: 6rem 6vw; }
  .story-closing h2 { font-size: clamp(3.2rem, 15vw, 5rem); }
  .story-closing-mark { margin-top: 3.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .story-reveal { opacity: 1; transform: none; transition: none; }
  .story-image img { transform: none !important; transition: none; }
  .story-scroll-cue span::after { animation: none; }
  .story-journey * { scroll-behavior: auto; }
}

/* Mobile responsiveness: layout-only adjustments, desktop design unchanged. */
@media (max-width: 768px) {
  .gallery-share-icon-desktop { display: none; }
  .gallery-share-icon-mobile { display: block; }
  .announcement-bar { font-size: .78rem; }
  .announcement-bar > * { max-width: 100%; }
  .header-inner { padding: .8rem 4vw; gap: .75rem; }
  .header-brand { font-size: 1.45rem; }
  .header-brand-logo { width: 25px; height: 25px; }
  .nav { width: 100%; gap: .55rem .9rem; overflow-x: auto; flex-wrap: nowrap; justify-content: flex-start; padding: .15rem 0 .35rem; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a, .nav-dropdown-btn { font-size: .82rem; white-space: nowrap; }
  .nav-dropdown-menu { position: fixed; left: 50%; top: auto; min-width: min(220px, 88vw); }
  .header-actions { width: 100%; display: flex; align-items: center; justify-content: flex-end; gap: .5rem; flex-wrap: wrap; }
  .header-account-btn { font-size: .78rem; padding: .45rem .7rem; }
  .header-whatsapp-btn { font-size: .78rem !important; padding: .58rem .8rem; }
  .page { padding: 2.1rem 5vw 3rem; }
  .heading { font-size: clamp(2rem, 10vw, 3rem); }
  .hero { padding-left: 5vw; padding-right: 5vw; }
  .hero-grid { gap: 2rem; }
  .hero-heading { font-size: clamp(2.5rem, 12vw, 4rem); }
  .hero-subhead { font-size: .98rem; }
  .hero-cta-group { flex-direction: column; align-items: stretch; }
  .hero-btn { width: 100%; justify-content: center; }
  .collection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
  .product-card { min-width: 0; }
  .product-card .card-body { padding: .8rem; }
  .product-layout { gap: 2rem; }
  .product-perks-row { grid-template-columns: repeat(2, 1fr); }
  .pincode-input-row { flex-direction: column; }
  .pincode-input-row input, .pincode-input-row button { width: 100%; }
  .cart-layout { gap: 1.5rem; }
  .shop-toolbar { align-items: stretch; }
  .shop-toolbar > * { width: 100%; }
  .sort-select { width: 100%; }
  .footer-grid { gap: 1.5rem; }
  .footer { padding-left: 5vw; padding-right: 5vw; }
  img, video { max-width: 100%; }
}

@media (max-width: 480px) {
  .announcement-bar { padding: .5rem .75rem; font-size: .72rem; }
  .header-inner { padding: .7rem 4vw; }
  .header-brand { font-size: 1.25rem; }
  .header-actions { justify-content: space-between; }
  .header-whatsapp-btn { flex: 1 1 auto; }
  .header-account-btn { flex: 0 0 auto; }
  .page { padding: 1.75rem 4vw 2.5rem; }
  .collection-grid { grid-template-columns: 1fr; gap: 1rem; }
  .product-perks-row { grid-template-columns: 1fr 1fr; gap: .55rem; }
  .current-price { font-size: 1.35rem; }
  .gallery-wishlist-btn { width: 40px; height: 40px; top: 10px; right: 10px; }
  .gallery-share-btn { width: 40px; height: 40px; top: 10px; right: 60px; } /* 10 + 40 + 10 */
  .gallery-expand-btn { left: 10px; bottom: 10px; padding: 6px 10px; }
  .delivery-checker-box { padding: .95rem; }
  .accordion-header { font-size: .95rem; }
  .spec-item { gap: .8rem; align-items: flex-start; }
  .spec-item span:last-child { text-align: right; }
}

/* Final responsive fit: phone, tablet and laptop widths. No desktop redesign. */
@media (min-width: 861px) and (max-width: 1280px) {
  .header-inner { padding-left: 3vw; padding-right: 3vw; }
  .nav { gap: 1rem; }
  .header-actions { gap: .6rem; }
  .header-whatsapp-btn, .header-account-btn { white-space: nowrap; }
  .page { padding-left: 4vw; padding-right: 4vw; }
  .hero { padding-left: 4vw; padding-right: 4vw; }
  .home-section { padding-left: 4vw; padding-right: 4vw; }
  .collection-grid { gap: 1rem; }
  .carousel-track .product-card { min-width: 220px; }
}

@media (max-width: 860px) {
  .header-inner { width: 100%; }
  .header-actions { width: 100%; }
  .header-actions > * { min-width: 0; }
  .hero-container, .spotlight-container, .curation-container, .categories-container,
  .footer-container, .home-section, .page { width: 100%; }
  .hero-image, .hero-media, .product-gallery, .product-info { min-width: 0; }
  .collection-grid, .category-circles-grid, .footer-grid { width: 100%; }
  .cart-item { grid-template-columns: 72px minmax(0, 1fr); }
  .cart-item-media { width: 72px; height: 72px; }
  .cart-item-details, .cart-item-actions { min-width: 0; }
  .cart-item-actions { grid-column: 2; justify-content: flex-start; flex-wrap: wrap; }
}

@media (max-width: 560px) {
  .header-inner { align-items: stretch; }
  .header-brand { align-self: center; }
  .nav { justify-content: flex-start; width: 100%; }
  .header-actions { justify-content: stretch; }
  .header-actions .header-whatsapp-btn { flex: 1 1 auto; min-width: 0; }
  .header-actions .header-account-btn { flex: 0 0 auto; }
  .hero-grid, .product-layout, .cart-layout, .spotlight-grid, .curation-cards-grid,
  .why-grid, .testimonials-grid { min-width: 0; }
  .hero-heading { overflow-wrap: anywhere; }
  .collection-grid { grid-template-columns: 1fr; }
  .product-card img { width: 100%; height: auto; }
  .cart-item { grid-template-columns: 64px minmax(0, 1fr); gap: .8rem; }
  .cart-item-media { width: 64px; height: 64px; }
  .cart-item-actions { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr; }
  .toast { max-width: calc(100vw - 24px); }
}


/* PAIS frontend visual refinement — presentation only */
@media (min-width: 769px) {
  .whatsapp-btn,
  .whatsapp-link,
  .header-whatsapp,
  [class*="whatsapp"] {
    border-radius: 4px;
    padding-left: 16px;
    padding-right: 16px;
  }
}

@media (max-width: 768px) {
  .whatsapp-btn,
  .whatsapp-link,
  .header-whatsapp,
  [class*="whatsapp"] {
    border-radius: 4px;
    min-height: 42px;
    padding: 10px 14px;
    width: auto;
    max-width: 100%;
  }

  .site-header,
  header {
    overflow-x: hidden;
  }
}


/* ──────────────────────────────────────────────────────
   PAIS frontend refinement — clean, modern jewellery-store direction
   Uses only existing PAIS assets. No new imagery.
   ────────────────────────────────────────────────────── */
body {
  background: #e9e7df;
}

.site-header,
.site-footer,
main {
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
}

 .site-header { width: 100%; position: sticky; top: 0; z-index: 1000; }
main { background: var(--ivory); }

.header-whatsapp-btn {
  background: transparent !important;
  color: var(--dark-green) !important;
  border: 1px solid rgba(11,37,69,.22);
  padding: .42rem .72rem !important;
  border-radius: 999px !important;
  font-size: .76rem !important;
  font-weight: 600 !important;
}
.header-whatsapp-btn:hover {
  background: rgba(11,37,69,.04) !important;
  border-color: var(--gold) !important;
  color: var(--dark-green) !important;
  box-shadow: none !important;
  transform: none !important;
}

.floating-whatsapp-btn {
  width: 46px;
  height: 46px;
  padding: 0;
  right: 18px;
  bottom: 18px;
  border-radius: 50%;
  justify-content: center;
  gap: 0;
  box-shadow: 0 8px 24px rgba(11,37,69,.20);
}
.floating-whatsapp-btn svg { width: 20px; height: 20px; }
.floating-whatsapp-btn:hover { transform: translateY(-2px); }

/* Visit Us page */
.visit-page-body { background: #e9e7df; }
.visit-main { overflow: hidden; }
.visit-hero-section {
  padding: clamp(2.8rem, 5vw, 4.5rem) 5vw clamp(2rem, 4vw, 3.5rem);
  background: var(--ivory);
}
.visit-hero-container { width: min(920px, 100%); margin: 0 auto; }
.visit-hero-section .heading {
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  line-height: .98;
  letter-spacing: -.025em;
  margin-bottom: 1.6rem;
}
.visit-hero-copy {
  margin: 0 auto;
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  max-width: 650px;
}
.visit-content-container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 3.5rem;
}
.visit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, .98fr);
  gap: 22px;
  align-items: stretch;
}
.visit-info-card,
.visit-visual-card {
  background: #fffdf7;
  border: 1px solid rgba(11,37,69,.10);
  border-radius: 18px;
  box-shadow: 0 12px 34px rgba(11,37,69,.06);
  overflow: hidden;
}
.visit-info-card { padding: clamp(1.4rem, 3vw, 2.4rem); }
.visit-card-kicker {
  margin: 0 0 .55rem;
  color: var(--gold);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.visit-info-card h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.08;
  margin: 0 0 1rem;
}
.visit-intro {
  margin: 0 0 1.3rem;
  color: rgba(11,37,69,.74);
  line-height: 1.75;
}
.visit-detail-item {
  display: grid;
  grid-template-columns: 38px minmax(0,1fr);
  gap: 12px;
  padding: 1rem 0;
  border-top: 1px solid rgba(11,37,69,.09);
}
.vdi-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold);
  background: rgba(157,131,102,.10);
}
.visit-detail-item strong { display: block; margin-bottom: .18rem; color: var(--dark-green); }
.visit-detail-item p { margin: 0; color: rgba(11,37,69,.74); line-height: 1.55; }
.visit-detail-item a { color: inherit; }
.visit-detail-item a:hover { color: var(--gold); }
.visit-text-link {
  display: inline-block;
  margin-top: .35rem;
  color: var(--dark-green) !important;
  font-size: .84rem;
  font-weight: 600;
}
.visit-action-row {
  display: flex;
  gap: .7rem;
  flex-wrap: wrap;
  margin-top: 1.1rem;
}
.visit-action-row .btn { min-height: 44px; padding: .68rem 1rem; border-radius: 999px; font-size: .84rem; }
.visit-primary-btn { background: var(--dark-green); }
.visit-wa-btn { background: transparent; color: var(--dark-green); border-color: rgba(11,37,69,.22); }
.visit-wa-btn:hover { background: var(--dark-green); color: #fff; }
.visit-social-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid rgba(11,37,69,.09);
  margin-top: 1.25rem;
  padding-top: 1rem;
  color: rgba(11,37,69,.6);
  font-size: .82rem;
}
.visit-social-row a { color: var(--dark-green); font-weight: 600; }
.visit-visual-card { display: flex; flex-direction: column; }
.visit-image-wrap { aspect-ratio: 1.08 / 1; overflow: hidden; background: #eee9dc; }
.visit-image-wrap img { width: 100%; height: 100%; display: block; object-fit: cover; }
.visit-visual-copy { padding: 1.5rem 1.6rem 1.7rem; }
.visit-visual-copy h3 { font-size: clamp(1.65rem, 3vw, 2.3rem); line-height: 1.1; margin: 0 0 .65rem; }
.visit-visual-copy p:last-child { margin: 0; color: rgba(11,37,69,.7); line-height: 1.7; }

@media (max-width: 860px) {
  .visit-content-container { width: min(100% - 28px, 720px); }
  .visit-grid { grid-template-columns: 1fr; }
  .visit-visual-card { order: -1; }
  .visit-image-wrap { aspect-ratio: 16 / 10; }
}

@media (max-width: 560px) {
  body { padding: 0 10px; }
  .site-header, main, .site-footer { width: 100%; }
  .announcement-bar { border-radius: 0 0 10px 10px; }
  .site-header { border-radius: 0 0 12px 12px; overflow: hidden; }
  .visit-main { border-radius: 12px; margin-top: 10px; }
  .visit-hero-section { padding: 2.8rem 1rem 2rem; }
  .visit-hero-section .heading { font-size: clamp(2.25rem, 11vw, 3.2rem); }
  .visit-title-break { display: none; }
  .visit-content-container { width: calc(100% - 20px); margin-bottom: 2rem; }
  .visit-grid { gap: 14px; }
  .visit-info-card, .visit-visual-card { border-radius: 14px; }
  .visit-info-card { padding: 1.15rem; }
  .visit-info-card h2 { font-size: 2rem; }
  .visit-action-row { display: grid; grid-template-columns: 1fr 1fr; }
  .visit-action-row .btn { width: 100%; }
  .visit-social-row { align-items: flex-start; flex-direction: column; gap: .35rem; }
  .visit-image-wrap { aspect-ratio: 4 / 3; }
  .floating-whatsapp-btn { width: 42px; height: 42px; right: 14px; bottom: 14px; }
  .floating-whatsapp-btn svg { width: 18px; height: 18px; }
}

/* PAIS premium search + mobile edge-safe refinement */
.site-search {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-width: 118px;
  width: 150px;
  border-bottom: 1px solid rgba(11,37,69,.24);
  padding: .28rem 0;
  color: var(--dark-green);
}
.site-search:focus-within { border-color: var(--gold); }
.site-search-icon { flex: 0 0 auto; }
.site-search input {
  width: 100%; min-width: 0; border: 0; outline: 0; background: transparent;
  color: var(--dark-green); font-size: .82rem; padding: 0;
}
.site-search input::placeholder { color: rgba(11,37,69,.58); }
.search-hero { max-width: 900px; margin: 0 auto; padding-bottom: 2rem; }
.search-page-form {
  max-width: 680px; margin: 1.6rem auto .8rem; display: flex; align-items: center; gap: .75rem;
  background: rgba(255,255,255,.35); border: 1px solid rgba(11,37,69,.18); border-radius: 999px; padding: .45rem .55rem .45rem 1rem;
}
.search-page-form:focus-within { border-color: var(--gold); box-shadow: 0 8px 25px rgba(11,37,69,.06); }
.search-page-form input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--dark-green); padding: .55rem 0; }
.search-page-form button { border-radius: 999px; background: var(--dark-green); color: #fff; padding: .62rem 1.15rem; font-weight: 600; }
.search-query-label { text-align: center; color: var(--warm-grey); font-size: .9rem; }
.search-count { margin: 0 0 1.2rem; color: var(--warm-grey); font-size: .88rem; }
.search-empty { text-align: center; padding: 3rem 1.2rem; border: 1px solid var(--border-light); border-radius: 16px; background: rgba(255,255,255,.22); }
.search-empty h2 { margin-top: 0; }
.search-empty .btn { display: inline-flex; margin-top: .7rem; }
.search-grid { margin-top: 0; }

/* Keep the storefront visually contained on narrow screens. */
@media (max-width: 560px) {
  body { padding-left: 10px; padding-right: 10px; overflow-x: hidden; }
  .announcement-bar, .site-header, .site-footer, main { width: 100%; max-width: 100%; }
  .header-inner { padding-left: 4vw; padding-right: 4vw; }
  .site-search { order: 3; width: 100%; min-width: 0; margin-top: .2rem; }
  .nav { flex-wrap: wrap; overflow: visible; }
  .header-whatsapp-btn { flex: 0 0 auto !important; width: auto !important; padding: .38rem .6rem !important; font-size: .72rem !important; }
  .header-account-btn { padding: .42rem .62rem !important; }
  .floating-whatsapp-btn { width: 40px !important; height: 40px !important; right: 12px !important; bottom: 12px !important; }
  .floating-whatsapp-btn svg { width: 17px !important; height: 17px !important; }
  .search-page { padding-left: 4vw !important; padding-right: 4vw !important; }
  .search-page-form { border-radius: 14px; }
  .search-page-form button { padding: .58rem .85rem; }
}


/* =========================================================
   PAIS RESPONSIVE EXPERIENCE LAYER
   Safe UI-only overrides: desktop layout remains intact,
   mobile navigation becomes contained and touch friendly.
   ========================================================= */
.site-header { width: 100%; }
.header-inner { min-width: 0; }
.nav-shell { min-width: 0; }
.header-actions { display: inline-flex; align-items: center; gap: .65rem; min-width: 0; }
.mobile-nav-toggle { display: none; }

.site-search {
  min-width: 150px;
  width: clamp(150px, 16vw, 220px);
  height: 38px;
  border: 1px solid rgba(17,34,80,.20);
  border-radius: 999px;
  background: rgba(255,255,255,.38);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.site-search:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(157,131,102,.10); background: #fff; }
.site-search input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--dark-green); font-size: .82rem; }
.site-search-icon { color: var(--dark-green); flex: 0 0 auto; }
.site-search-submit {
  flex: 0 0 auto; border: 0; background: var(--dark-green); color: #fff;
  border-radius: 999px; padding: .34rem .72rem; font-size: .72rem;
  font-weight: 600; cursor: pointer; line-height: 1;
}
.site-search-submit:hover { opacity: .9; }

.header-whatsapp-btn { border-radius: 999px !important; font-size: .74rem !important; padding: .38rem .65rem !important; }
.floating-whatsapp-btn { width: 42px !important; height: 42px !important; right: 14px !important; bottom: 14px !important; border-radius: 50% !important; padding: 0 !important; min-height: 0 !important; }
.floating-whatsapp-btn svg { width: 18px !important; height: 18px !important; }

@media (max-width: 1120px) and (min-width: 861px) {
  .header-inner { padding-left: 3vw; padding-right: 3vw; }
  .nav { gap: .85rem; }
  .site-search { width: 150px; min-width: 130px; }
  .header-actions { gap: .4rem; }
}

@media (max-width: 860px) {
  body { overflow-x: hidden; }
  .site-header,
  main,
  .site-footer { width: calc(100% - 20px); margin-left: auto; margin-right: auto; }
  .site-header { border-radius: 0 0 12px 12px; overflow: visible; }
  main { border-radius: 12px; overflow: hidden; }
  .site-footer { border-radius: 12px 12px 0 0; overflow: hidden; }
  .announcement-bar { border-radius: 0 0 0 0; }
  .header-inner { padding: .8rem 16px; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: .7rem; }
  .header-brand { min-width: 0; font-size: clamp(1.2rem, 5vw, 1.5rem); }
  .header-brand span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .header-brand-logo { width: 26px; height: 26px; }
  .mobile-nav-toggle {
    display: inline-flex; width: 42px; height: 42px; border: 1px solid rgba(17,34,80,.18);
    border-radius: 50%; align-items: center; justify-content: center; flex-direction: column; gap: 4px;
    color: var(--dark-green); background: transparent; flex: 0 0 auto;
  }
  .mobile-nav-toggle span { display:block; width: 16px; height: 1.5px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
  .mobile-nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
  .mobile-nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .mobile-nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
  .nav-shell { grid-column: 1 / -1; display: none; width: 100%; }
  .nav-shell.is-open { display: block; }
  .nav {
    width: 100%; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .35rem;
    padding: .25rem 0 .1rem; overflow: visible; align-items: stretch;
  }
  .nav > a,
  .nav .nav-dropdown-btn { min-height: 42px; display:flex; align-items:center; justify-content:center; padding:.55rem .4rem; border-radius: 8px; font-size:.86rem; }
  .nav > a:hover, .nav .nav-dropdown-btn:hover { background: rgba(17,34,80,.045); }
  .nav-dropdown { width: 100%; }
  .nav-dropdown-btn { width: 100%; }
  .nav-dropdown-menu { position: absolute; left: 0; top: 100%; transform: translateY(4px); width: 100%; min-width: 0; }
  .nav-dropdown.is-open .nav-dropdown-menu { transform: translateY(0); }
  .site-search { grid-column: 1 / -1; width: 100%; min-width: 0; height: 44px; margin: .2rem 0; }
  .header-actions { grid-column: 1 / -1; width: 100%; display:grid; grid-template-columns: auto auto 1fr auto; align-items:center; gap:.45rem; padding-top:.2rem; }
  .header-whatsapp-btn { justify-self:stretch; text-align:center; }
  .header-account-btn { min-height: 40px; }
  .header-favorites-link, .header-cart-icon { min-width: 40px; min-height: 40px; }
  .pais-nav-open { overflow: hidden; }
  .hero-container, .spotlight-container, .curation-container, .categories-container, .footer-container, .home-section, .page { max-width: 100%; }
  .page, .visit-hero-section, .shop-main-layout, .product-page-container { padding-left: 16px; padding-right: 16px; }
  .collection-grid, .product-grid { min-width: 0; }
}

@media (max-width: 560px) {
  .site-header, main, .site-footer { width: calc(100% - 14px); }
  .announcement-bar { padding: .55rem .7rem; font-size: .7rem; line-height: 1.45; }
  .header-inner { padding: .7rem 12px; }
  .nav { grid-template-columns: 1fr 1fr; }
  .header-actions { grid-template-columns: 40px 40px minmax(0,1fr) auto; }
  .header-whatsapp-btn { font-size: .7rem !important; padding: .42rem .5rem !important; }
  .header-account-btn { padding: .45rem .65rem; font-size: .76rem; }
  .floating-whatsapp-btn { width: 38px !important; height: 38px !important; right: 10px !important; bottom: 10px !important; }
  .floating-whatsapp-btn svg { width: 16px !important; height: 16px !important; }
  .hero-heading { font-size: clamp(2.25rem, 12vw, 3.6rem); }
  .collection-grid { grid-template-columns: 1fr 1fr; gap: .65rem; }
  .card-copy { padding: .7rem; }
  .card-title { font-size: .95rem; }
  .card-desc { font-size: .74rem; }
  .price { font-size: .95rem; }
}

@media (max-width: 390px) {
  .collection-grid { grid-template-columns: 1fr; }
  .header-actions { grid-template-columns: 38px 38px minmax(0,1fr) auto; }
  .header-account-btn svg { display:none; }
}


.recently-viewed-section { padding: 3rem 5vw 4rem; background: var(--ivory); }
.recently-viewed-inner { width: min(1180px,100%); margin:0 auto; }
.recently-viewed-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:1rem; margin-top:1.25rem; }
.recently-viewed-card { border:1px solid var(--border-light); border-radius:12px; overflow:hidden; background:var(--ivory); transition:transform .2s ease, box-shadow .2s ease; }
.recently-viewed-card:hover { transform:translateY(-2px); box-shadow:var(--shadow-md); }
/* Recently Viewed product image */
.recently-viewed-media {
aspect-ratio: auto;
height: 180px;
background: var(--ivory);
overflow: hidden;
}

.recently-viewed-media img {
display: block;
width: 100%;
height: 100%;
object-fit: contain;
object-position: center;
}

/* Recently Viewed product details */
.recently-viewed-copy {
padding: .7rem .75rem .85rem;
display: flex;
flex-direction: column;
gap: .35rem;
}

.recently-viewed-copy strong {
font-size: 1rem;
line-height: 1.45;
font-weight: 600;
color: var(--dark-green);
}

.recently-viewed-copy span {
font-size: .95rem;
line-height: 1.4;
color: var(--gold);
font-weight: 600;
}

/* Compact mobile cards */
@media (max-width: 560px) {
.recently-viewed-media {
height: 145px;
}

.recently-viewed-copy {
padding: .6rem .65rem .75rem;
gap: .3rem;
}

.recently-viewed-copy strong {
font-size: .95rem;
line-height: 1.4;
}

.recently-viewed-copy span {
font-size: .9rem;
}
}

.db-table-wrap { overflow-x:auto; -webkit-overflow-scrolling:touch; }
.db-table { min-width:760px; }
img, video { max-width:100%; }
button, a { -webkit-tap-highlight-color:transparent; }

@media (max-width: 760px) {
  .recently-viewed-section { padding:2.3rem 16px 3rem; }
  .recently-viewed-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:.7rem; }
}

/* =========================================================
   PAIS MOBILE POLISH — safe layout overrides
   ========================================================= */
html { overflow-x: hidden; }
body { min-width: 0; }
img { max-width: 100%; height: auto; }
input, select, textarea, button { max-width: 100%; }

@media (max-width: 860px) {
  .page,
  .home-section,
  .shop-main-layout,
  .product-page-container,
  .cart-page,
  .favorites-page,
  .account-page,
  .search-page,
  .visit-main,
  .our-story-page { box-sizing: border-box; }

  .page { padding-left: 14px; padding-right: 14px; }
  .section-heading { max-width: 100%; }
  .section-heading h1,
  .section-heading h2,
  .heading { overflow-wrap: anywhere; }

  .collection-grid,
  .product-grid,
  .shop-grid,
  .favorites-grid { width: 100%; min-width: 0; }

  .product-card,
  .card-copy,
  .card-media { min-width: 0; }
  .card-title,
  .card-desc { overflow-wrap: anywhere; }

  .cart-layout,
  .checkout-layout,
  .product-layout,
  .account-shell { width: 100%; min-width: 0; }

  .cart-item,
  .product-info,
  .summary-card,
  .account-card { min-width: 0; }

  .cart-item img,
  .product-gallery img { max-width: 100%; }

  .btn,
  .card-quick-add,
  .visit-action-row .btn { min-height: 42px; }

  .footer-container { padding-left: 14px; padding-right: 14px; }
}

@media (max-width: 560px) {
  body { padding-left: 7px; padding-right: 7px; }
  .site-header, main, .site-footer { width: calc(100% - 8px); }
  .announcement-bar { font-size: .68rem; padding: .5rem .6rem; }
  .header-inner { gap: .55rem; }

  .page,
  .product-page-container,
  .cart-page,
  .favorites-page,
  .account-page,
  .search-page { padding-left: 10px !important; padding-right: 10px !important; }

  .collection-grid,
  .product-grid,
  .recently-viewed-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }

  .card-media { aspect-ratio: 1 / 1.08; }
  .card-copy { padding: .65rem; }
  .card-actions { gap: .35rem; }
  .card-quick-add { width: 100%; }

  .product-layout { display: block !important; }
  .product-gallery { width: 100%; margin-bottom: 1rem; }
  .product-info { width: 100%; }
  .product-title { font-size: clamp(1.5rem, 5vw, 1.8rem); line-height: 1.12; }

  .cart-layout { display: block !important; }
  .cart-items-column, .cart-summary-aside { width: 100%; }
  .summary-card { position: static !important; }
  .cart-item { grid-template-columns: 76px minmax(0,1fr) !important; }
  .cart-item-actions { grid-column: 2; }

  .search-page-form { width: 100%; max-width: 100%; }
  .search-page-form button { flex: 0 0 auto; }

  .account-shell { display: block !important; }
  .account-copy { padding: 1rem 0 1.2rem; }
  .account-card { width: 100%; }

  .visit-content-container { width: calc(100% - 12px); }
  .visit-hero-section { padding-left: 12px; padding-right: 12px; }
  .visit-info-card, .visit-visual-card { min-width: 0; }

  .floating-whatsapp-btn { width: 38px !important; height: 38px !important; }
}

@media (max-width: 390px) {
  .collection-grid,
  .product-grid,
  .recently-viewed-grid { grid-template-columns: 1fr; }
  .header-actions { grid-template-columns: 38px 38px minmax(0,1fr) auto; }
  .site-search { height: 42px; }
}


/* PAIS FINAL MOBILE HEADER POLISH */
@media (max-width: 860px) {
  .nav {
    display: flex !important;
    flex-direction: column !important;
    width: 100%;
    gap: 2px !important;
    padding: .25rem 0 !important;
  }
  .nav > a,
  .nav .nav-dropdown,
  .nav .nav-dropdown-btn {
    width: 100% !important;
  }
  .nav > a,
  .nav .nav-dropdown-btn {
    min-height: 42px;
    justify-content: flex-start !important;
    padding: .65rem .85rem !important;
    text-align: left;
  }
  .nav-dropdown-menu {
    position: static !important;
    width: 100% !important;
    transform: none !important;
    box-shadow: none !important;
    border: 0 !important;
    border-radius: 8px !important;
    padding: 0 0 .25rem !important;
    background: rgba(17,34,80,.025) !important;
  }
  .nav-dropdown-menu a { justify-content: flex-start !important; padding-left: 1.6rem !important; }
  .site-search { order: -1 !important; width: 100% !important; margin: 0 0 .45rem !important; }
  .site-search-submit { padding: .42rem .78rem; }
  .header-actions { grid-template-columns: 40px 40px minmax(0,1fr) auto !important; }
}
@media (max-width: 560px) {
  body { padding-left: 0 !important; padding-right: 0 !important; }
  .site-header, main, .site-footer { width: 100% !important; }
  .header-inner { padding-left: 14px !important; padding-right: 14px !important; }
}

/* =========================================================
   PAIS COLLECTION + JOURNAL REFINEMENT
   Keeps the PAIS navy / ivory / gold palette and existing copy,
   while reducing oversized typography and visual density.
   ========================================================= */
.shop-hero-header {
  background: linear-gradient(180deg, rgba(17,34,80,.055), rgba(245,244,240,0));
  border-bottom: 1px solid rgba(17,34,80,.08);
}
.shop-hero-container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 2.8rem 0 2rem;
  text-align: center;
}
.shop-page-title {
  max-width: 820px;
  margin: .25rem auto .65rem !important;
  font-size: clamp(2rem, 4vw, 3.15rem) !important;
  line-height: 1.08 !important;
  letter-spacing: .01em;
}
.shop-page-subhead {
  max-width: 650px !important;
  margin: 0 auto !important;
  font-size: .94rem !important;
  line-height: 1.6 !important;
}
.shop-main-layout {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 1.5rem 0 2.75rem;
}
.category-filter-bar {
  justify-content: center;
  margin: 0 0 1.25rem !important;
  gap: .5rem !important;
}
.category-filter-bar .filter-btn {
  padding: .48rem .9rem !important;
  font-size: .78rem !important;
  box-shadow: none !important;
}
.shop-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .75rem 0;
  margin-bottom: 1.25rem;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.product-count { font-size: .78rem !important; }
.sort-wrapper { display:flex; align-items:center; gap:.45rem; }
.sort-label { font-size:.75rem; color:var(--warm-grey); }
.shop-sort-dropdown {
  position: relative;
  min-width: 165px;
}
.shop-sort-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .48rem .7rem;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  background: var(--ivory);
  color: var(--ink);
  font-size: .78rem;
  cursor: pointer;
  list-style: none;
}
.shop-sort-trigger::-webkit-details-marker { display: none; }
.shop-sort-trigger::after {
  content: "";
  width: .45rem;
  height: .45rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}
.shop-sort-dropdown[open] .shop-sort-trigger {
  border-color: var(--gold);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.shop-sort-options {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 20;
  display: grid;
  width: 100%;
  min-width: max-content;
  overflow: hidden;
  border: 1px solid var(--border-light);
  border-top: 0;
  border-radius: 0 0 6px 6px;
  background: var(--ivory);
  box-shadow: 0 8px 18px rgba(17, 34, 80, .12);
}
.shop-sort-option {
  padding: .55rem .7rem;
  color: var(--ink);
  font-size: .78rem;
  text-align: left;
  white-space: nowrap;
}
.shop-sort-option:hover,
.shop-sort-option:focus-visible,
.shop-sort-option.active {
  background: rgba(17, 34, 80, .08);
  outline: none;
}
.shop-main-layout .product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem;
  width: 100%;
}
.shop-main-layout .product-card { border-radius: 10px; }
.shop-main-layout .card-media { aspect-ratio: 1 / 1; }
.shop-main-layout .card-copy { padding: .9rem; }
.shop-main-layout .card-title { font-size: 1rem !important; line-height: 1.28 !important; }
.shop-main-layout .price { font-size: 1rem !important; }
.shop-main-layout .card-desc { font-size: .76rem !important; line-height: 1.45 !important; }
.shop-main-layout .card-rating { font-size: .72rem; }
.shop-main-layout .card-quick-add { font-size: .7rem; padding: .55rem .7rem; }
.shop-custom-order-box {
  margin-top: 2.2rem;
  padding: 1.35rem 1.5rem;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1.5rem;
  border:1px solid rgba(157,131,102,.35);
  border-radius:12px;
  background: rgba(157,131,102,.07);
}
.shop-custom-order-box h3 { font-size:1.15rem; margin:0 0 .35rem; }
.shop-custom-order-box p { margin:0; max-width:680px; color:var(--warm-grey); font-size:.8rem; line-height:1.55; }
.btn-scob { flex:0 0 auto; padding:.65rem 1rem !important; font-size:.76rem !important; }

.blog-hero-section {
  padding: 2.8rem 1.5rem 2.35rem !important;
}
.blog-hero-container {
  width: min(900px, 100%);
  margin: 0 auto;
}
.blog-hero-section .heading {
  color:#fff !important;
  font-size: clamp(2rem, 4vw, 3rem) !important;
  line-height:1.1 !important;
  margin-bottom:.7rem !important;
}
.blog-hero-section .subhead {
  margin:0 auto !important;
  color:rgba(255,255,255,.82) !important;
  font-size:.92rem !important;
  line-height:1.6 !important;
}
.blog-main-container {
  width:min(1180px, calc(100% - 40px));
  margin:0 auto;
  padding:2rem 0 4rem;
}
.blog-toolbar {
  display:grid;
  grid-template-columns:minmax(220px, 1fr) auto auto;
  align-items:center;
  gap:.75rem;
  margin-bottom:1.4rem;
  padding-bottom:1rem;
  border-bottom:1px solid var(--border-light);
}
.blog-search-box input {
  width:100%;
  height:42px;
  padding:.65rem .85rem;
  border:1px solid var(--border-light);
  border-radius:7px;
  background:var(--ivory);
  color:var(--ink);
  outline:none;
  font-size:.8rem;
}
.blog-search-box input:focus { border-color:var(--dark-green); }
.blog-cat-filter-wrap { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:.35rem; }
.blog-cat-pill {
  padding:.48rem .72rem;
  border:1px solid var(--border-light);
  border-radius:999px;
  background:var(--ivory);
  color:var(--ink);
  font-size:.72rem;
}
.blog-cat-pill.active { background:var(--dark-green); color:#fff; border-color:var(--dark-green); }
.blog-results-count { color:var(--warm-grey); font-size:.72rem; white-space:nowrap; }
.blog-grid-layout {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:1.15rem;
}
.blog-card { min-width:0; border-radius:10px !important; }
.blog-card-media { height:205px !important; }
.blog-card-body { padding:1.05rem !important; }
.blog-card-meta { color:var(--warm-grey); font-size:.68rem; margin-bottom:.45rem; }
.blog-card-title { font-size:1.05rem !important; line-height:1.28 !important; margin-bottom:.5rem !important; }
.blog-card-excerpt { color:var(--warm-grey); font-size:.78rem; line-height:1.55; margin:0; }
.blog-read-btn { font-size:.72rem !important; margin-top:1rem; }
.blog-card-footer { margin-top:auto; padding-top:.65rem; }
.blog-empty-state { text-align:center; padding:3rem 1rem; color:var(--warm-grey); }
.brm-modal { position:fixed; inset:0; z-index:10000; align-items:center; justify-content:center; padding:20px; }
.brm-backdrop { position:absolute; inset:0; background:rgba(17,34,80,.62); backdrop-filter:blur(4px); }
.brm-content { position:relative; z-index:1; width:min(760px,94vw); max-height:88vh; overflow:auto; background:var(--ivory); border:1px solid var(--border-light); border-radius:12px; padding:2rem; box-shadow:var(--shadow-lg); }
.brm-close-btn { position:absolute; top:12px; right:12px; width:36px; height:36px; border:1px solid var(--border-light); border-radius:50%; color:var(--ink); background:var(--ivory); }
.brm-title { font-size:clamp(1.6rem,3vw,2.35rem); line-height:1.15; padding-right:2.5rem; margin:.2rem 0 0; }
.brm-body-text { color:var(--warm-grey); font-size:.9rem; line-height:1.75; }
.brm-body-text h2 { font-size:1.15rem; margin:1.4rem 0 .45rem; }
.brm-body-text p { margin:.55rem 0; }

@media (max-width: 900px) {
  .shop-main-layout .product-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .blog-grid-layout { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .blog-toolbar { grid-template-columns:1fr; }
  .blog-cat-filter-wrap { justify-content:flex-start; }
  .blog-results-count { display:none; }
}
@media (max-width: 600px) {
  .shop-hero-container { width:calc(100% - 28px); padding:1.15rem 0 .9rem; }
  .shop-hero-container .eyebrow { margin-bottom:.15rem; font-size:.65rem; }
  .shop-page-title { margin:.15rem auto .35rem !important; font-size:clamp(1.45rem,6vw,1.65rem) !important; line-height:1.1 !important; }
  .shop-page-subhead { font-size:.78rem !important; line-height:1.4 !important; }
  .shop-main-layout { width:calc(100% - 28px); padding-top:1.25rem; }
  .category-filter-bar { justify-content:flex-start; overflow-x:auto; flex-wrap:nowrap !important; padding-bottom:.2rem; scrollbar-width:none; }
  .category-filter-bar::-webkit-scrollbar { display:none; }
  .category-filter-bar .filter-btn { flex:0 0 auto; }
  .shop-controls-bar { align-items:flex-start; flex-direction:column; }
  .sort-wrapper { width:100%; }
  .shop-sort-dropdown { flex:1; min-width:0; }
  .shop-main-layout .product-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:.75rem; }
  .shop-main-layout .card-copy { padding:.7rem; }
  .shop-main-layout .card-title { font-size:.88rem !important; }
  .shop-main-layout .card-desc { font-size:.7rem !important; }
  .shop-custom-order-box { flex-direction:column; align-items:flex-start; padding:1rem; }
  .btn-scob { width:100%; }
  .blog-hero-section { padding:2.15rem 1rem 1.8rem !important; }
  .blog-hero-section .heading { font-size:1.85rem !important; }
  .blog-hero-section .subhead { font-size:.8rem !important; }
  .blog-main-container { width:calc(100% - 28px); padding:1.3rem 0 3rem; }
  .blog-grid-layout { grid-template-columns:1fr; gap:.85rem; }
  .blog-card-media { height:185px !important; }
  .blog-card-body { padding:.9rem !important; }
  .blog-card-title { font-size:1rem !important; }
  .blog-card-excerpt { font-size:.75rem; }
  .brm-content { padding:1.35rem; }
}
.badge-special { display:none !important; }


/* FINAL MOBILE SEARCH POSITION — search stays outside the hamburger navigation. */
.site-search { order: 2; flex: 0 1 220px; }
.nav-shell { order: 3; }
.header-actions { order: 4; }

@media (max-width: 860px) {
  .header-inner {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand toggle"
      "search search"
      "nav nav"
      "actions actions";
    align-items: center;
  }
  .header-brand { grid-area: brand; }
  .mobile-nav-toggle { grid-area: toggle; }
  .site-search {
    grid-area: search;
    order: initial !important;
    width: min(100%, 420px) !important;
    height: 38px !important;
    min-width: 0 !important;
    justify-self: center;
    margin: .15rem auto .35rem !important;
    padding: 0 8px !important;
  }
  .site-search input { font-size: .76rem !important; }
  .site-search-submit { padding: .32rem .62rem !important; font-size: .68rem !important; }
  .nav-shell {
    grid-area: nav;
    order: initial !important;
  }
  .header-actions {
    grid-area: actions;
    order: initial !important;
  }
}

@media (max-width: 560px) {
  .site-search {
    width: min(100%, 340px) !important;
    height: 36px !important;
    margin: .1rem auto .3rem !important;
  }
  .site-search-icon { width: 15px; height: 15px; }
  .site-search input { font-size: .72rem !important; }
  .site-search-submit { padding: .3rem .55rem !important; font-size: .64rem !important; }
}

@media (max-width: 420px) {
  .header-actions { gap: .12rem !important; }
  .header-store-icon, .header-favorites-link, .header-cart-icon { width: 31px; min-width:31px !important; height:31px; min-height:31px !important; }
  .header-store-icon svg, .header-favorites-link svg, .header-cart-icon svg { width:18px; height:18px; }
  .header-account-btn { min-width:31px; height:31px; padding:0 .32rem; font-size:.52rem; }
  .header-account-btn svg { width:15px; height:15px; }
}

/* =========================================================
   MOBILE GIVA-STYLE STOREFRONT HEADER + CATEGORY BROWSE
   PAIS branding, colours and existing functionality are kept.
   ========================================================= */
.mobile-delivery-row,
.mobile-quick-categories,
.header-store-icon { display: none; }

@media (max-width: 860px) {
  .announcement-bar {
    background: #f5f4f0;
    color: #112250;
    border-bottom: 1px solid rgba(17,34,80,.10);
    padding: .48rem .7rem;
    font-size: .72rem;
    font-weight: 500;
    letter-spacing: .01em;
  }

  .site-header { background: #fff; border-radius: 0 !important; }
  .header-inner {
    background: #fff;
    padding: .55rem 10px .65rem !important;
    gap: .35rem !important;
    grid-template-columns: auto minmax(0,1fr) auto !important;
    grid-template-areas:
      "toggle brand actions"
      "delivery delivery delivery"
      "search search search"
      "nav nav nav" !important;
  }
  .mobile-nav-toggle {
    grid-area: toggle;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 0;
    padding: 0;
  }
  .mobile-nav-toggle span { width: 22px; height: 1.4px; }
  .header-brand {
    grid-area: brand;
    justify-self: center;
    font-size: 1.38rem !important;
    letter-spacing: .01em;
  }
  .header-brand-logo { width: 25px !important; height: 25px !important; }
  .header-brand span { max-width: 145px; }

  .header-actions {
    grid-area: actions;
    width: auto !important;
    display: flex !important;
    gap: .25rem !important;
    padding: 0 !important;
    justify-self: end;
  }
  .header-store-icon,
  .header-favorites-link,
  .header-cart-icon {
    display: inline-flex !important;
    position: relative;
    width: 35px;
    height: 35px;
    min-width: 35px !important;
    min-height: 35px !important;
    align-items: center;
    justify-content: center;
    color: #112250;
  }
  .header-store-icon svg,
  .header-favorites-link svg,
  .header-cart-icon svg { width: 20px; height: 20px; }
  .header-whatsapp-btn { display: none !important; }
  .header-account-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: .2rem;
    width: auto;
    min-width: 35px;
    height: 35px;
    padding: 0 .42rem;
    border: 1px solid rgba(17,34,80,.14);
    border-radius: 18px;
    background: #f5f4f0;
    color: #112250;
    font-size: .58rem;
    font-weight: 600;
    letter-spacing: .01em;
    white-space: nowrap;
  }
  .header-account-btn svg { width: 17px; height: 17px; flex: 0 0 auto; }
  .header-account-btn span { display: inline; }

  .mobile-delivery-row {
    grid-area: delivery;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: .28rem;
    min-height: 26px;
    padding: 0 3px;
    color: #112250;
    font-size: .72rem;
  }
  .mobile-location-pin { color: #b84c65; font-size: 1rem; line-height: 1; }
  .mobile-pincode-btn {
    color: #112250;
    font-size: .72rem;
    padding: 0;
    text-decoration: underline;
    text-underline-offset: 2px;
  }
  .mobile-pincode-chevron { font-size: .8rem; margin-top: -2px; }

  .site-search {
    grid-area: search;
    width: 100% !important;
    height: 43px !important;
    margin: .18rem 0 .15rem !important;
    border: 1px solid rgba(17,34,80,.28) !important;
    border-radius: 7px !important;
    background: #fff !important;
    padding: 0 10px !important;
    box-shadow: 0 1px 3px rgba(17,34,80,.05);
  }
  .site-search input { font-size: .86rem !important; }
  .site-search-submit {
    background: transparent !important;
    color: #112250 !important;
    padding: .3rem !important;
    font-size: 0 !important;
  }
  .site-search-submit::after {
    content: "⌕";
    font-size: 1.55rem;
    line-height: 1;
  }

  /* The hamburger contains only the navigation links; search stays visible. */
  .nav-shell { grid-area: nav; }

  /* Mobile category browse sits directly below the home promotional area. */
  .mobile-quick-categories {
    display: block;
    background: #fff;
    padding: 14px 10px 18px;
  }
  .mobile-quick-category-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 3px 11px;
    color: #112250;
    font-size: .88rem;
    font-weight: 600;
  }
  .mobile-quick-category-heading a {
    font-size: .7rem;
    font-weight: 500;
    color: #6d6d6d;
  }
  .mobile-quick-category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px 9px;
  }
  .mobile-quick-category {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: #112250;
    text-align: center;
    font-size: .67rem;
    line-height: 1.15;
  }
  .mobile-quick-category-image {
    display: block;
    width: 100%;
    max-width: 84px;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 16px;
    background: #f5f4f0;
    border: 1px solid rgba(17,34,80,.08);
  }
  .mobile-quick-category-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* Keep the original desktop category presentation from duplicating this mobile block. */
  .home-categories-section { display: none; }
  .hallmark-marquee-strip { display: none; }
}

@media (max-width: 420px) {
  .header-brand { font-size: 1.25rem !important; }
  .header-brand-logo { width: 22px !important; height: 22px !important; }
  .header-store-icon, .header-favorites-link, .header-cart-icon { width: 33px; height: 33px; min-width: 33px !important; }
  .site-search { height: 40px !important; }
  .mobile-quick-category-grid { gap: 12px 7px; }
  .mobile-quick-category-image { max-width: 78px; border-radius: 14px; }
  .mobile-quick-category { font-size: .64rem; }
}


/* =========================================================
   MOBILE BOTTOM SHOPPING TABS
   Inspired by the compact tab bar in the supplied reference.
   ========================================================= */
.mobile-bottom-nav { display:none; }

@media (max-width: 860px) {
  body { padding-bottom: 74px; }
  .mobile-bottom-nav {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    z-index: 1200;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: stretch;
    background: rgba(255,255,255,.97);
    border: 1px solid rgba(17,34,80,.10);
    border-radius: 24px;
    box-shadow: 0 8px 28px rgba(17,34,80,.14);
    overflow: hidden;
    backdrop-filter: blur(12px);
  }
  .mobile-bottom-tab {
    min-width:0;
    min-height:64px;
    padding:8px 3px 7px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:4px;
    text-decoration:none;
    color:#112250;
    font-size:.58rem;
    line-height:1.1;
    font-weight:500;
    text-align:center;
  }
  .mobile-bottom-tab + .mobile-bottom-tab {
    border-left:1px solid rgba(17,34,80,.08);
  }
  .mobile-bottom-tab:hover,
  .mobile-bottom-tab:focus-visible { color:#112250; background:#f5f4f0; }
  .mobile-bottom-icon {
    width:23px;
    height:23px;
    display:grid;
    place-items:center;
    color:#112250;
  }
  .mobile-bottom-icon svg { width:22px; height:22px; }
  .mobile-bottom-price {
    font-family:var(--serif, Georgia, serif);
    font-size:1.2rem;
    font-weight:700;
    line-height:1;
  }
  @media (max-width:420px) {
    .mobile-bottom-nav { left:8px; right:8px; bottom:max(8px, env(safe-area-inset-bottom)); border-radius:22px; }
    .mobile-bottom-tab { min-height:60px; font-size:.54rem; }
    .mobile-bottom-icon { width:21px; height:21px; }
    .mobile-bottom-icon svg { width:20px; height:20px; }
  }
}

@media (max-width:860px) {
  .floating-whatsapp-btn { bottom:84px !important; }
}


/* FINAL: keep Log In / Log Out visible on mobile in the header. */
@media (max-width: 860px) {
  .header-actions .header-whatsapp-btn { display: none !important; }
  .header-actions .header-account-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 58px;
    min-height: 35px;
    padding: .38rem .55rem !important;
    border: 1px solid rgba(17,34,80,.22);
    border-radius: 999px;
    background: #fff;
    color: #112250;
    font-size: .68rem !important;
    line-height: 1;
    white-space: nowrap;
  }
  .header-actions .header-account-btn svg { width: 15px; height: 15px; }
}
@media (max-width: 390px) {
  .header-actions .header-account-btn { min-width: 54px; padding: .36rem .48rem !important; font-size: .64rem !important; }
  .header-actions .header-account-btn svg { display: none; }
}

/* FINAL MOBILE BOTTOM BAR — exactly three shortcuts. */
@media (max-width: 860px) {
  .mobile-bottom-nav { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .mobile-bottom-tab { min-width:0; }
}

/* =========================================================
   PAIS FINAL UI POLISH — requested storefront-only changes
   ========================================================= */
.header-inner {
  max-width: 1320px;
  display: grid;
  grid-template-columns: auto minmax(280px, 1fr) auto;
  grid-template-areas:
    "brand search actions"
    "nav nav nav";
  gap: .65rem 2.4rem;
  align-items: center;
  padding-top: .85rem;
  padding-bottom: .7rem;
}
.header-brand { grid-area: brand; white-space: nowrap; }
.site-search { grid-area: search; justify-self: center; width: min(100%, 470px); min-width: 260px; height: 44px; background:#fff; box-shadow:0 3px 14px rgba(17,34,80,.07); position:relative; z-index:220; }
.header-actions { grid-area: actions; justify-self:end; gap: 1.05rem; }
.nav-shell { grid-area: nav; width:100%; }
.nav { justify-content:center; padding-top:.15rem; }
.nav-auth-action { display:none; }
.header-store-icon, .header-favorites-link, .header-cart-icon { width:42px; height:42px; padding:0; align-items:center; justify-content:center; border-radius:50%; }
.header-store-icon:hover, .header-favorites-link:hover, .header-cart-icon:hover { background:rgba(17,34,80,.05); color:var(--gold); }
.header-whatsapp-btn { display:none !important; }
.header-account-btn { display:none !important; }
.site-search-suggestions {
  position:absolute; left:-1px; right:-1px; top:calc(100% + 8px); background:#fff; border:1px solid rgba(17,34,80,.12);
  border-radius:14px; box-shadow:0 16px 35px rgba(17,34,80,.14); overflow:hidden; display:none; padding:.35rem; z-index:500;
}
.site-search-suggestions.is-open { display:block; }
.site-search-suggestion { width:100%; display:grid; grid-template-columns:42px minmax(0,1fr) auto; gap:.7rem; align-items:center; text-align:left; padding:.55rem; border-radius:10px; color:var(--dark-green); }
.site-search-suggestion:hover, .site-search-view-all:hover { background:var(--ivory); }
.site-search-suggestion-image { width:42px; height:42px; border-radius:8px; overflow:hidden; background:var(--ivory); display:flex; align-items:center; justify-content:center; }
.site-search-suggestion-image img { width:100%; height:100%; object-fit:cover; }
.site-search-suggestion-copy { min-width:0; display:flex; flex-direction:column; gap:1px; }
.site-search-suggestion-copy strong { font-size:.8rem; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.site-search-suggestion-copy small { color:#7b8190; font-size:.7rem; }
.site-search-suggestion-arrow { color:var(--gold); font-size:1rem; }
.site-search-view-all { width:100%; text-align:left; padding:.75rem .65rem; border-top:1px solid rgba(17,34,80,.08); color:var(--dark-green); font-size:.76rem; font-weight:600; }

/* Full-width, GIVA-inspired promotional banner treatment using only PAIS assets. */
.pais-hero-carousel { position:relative; overflow:hidden; background:#d8c0ad; min-height:clamp(300px, 38vw, 520px); }
.pais-hero-track { display:flex; width:100%; transition:transform .55s ease; }
.pais-hero-slide { position:relative; min-width:100%; min-height:clamp(300px, 38vw, 520px); overflow:hidden; display:flex; align-items:center; }
.pais-hero-slide .hero-banner-img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center; }
.pais-hero-overlay { position:absolute; inset:0; background:linear-gradient(90deg,rgba(17,34,80,.74) 0%,rgba(17,34,80,.34) 37%,rgba(17,34,80,.04) 72%); }
.pais-hero-copy { position:relative; z-index:2; width:min(560px,72%); margin-left:clamp(7%,12vw,15%); padding:2rem 0; color:#fff; }
.pais-hero-kicker { display:inline-block; font-size:.76rem; letter-spacing:.13em; text-transform:uppercase; margin-bottom:.8rem; color:#fff; }
.pais-hero-copy h1, .pais-hero-copy h2 { margin:0 0 .8rem; color:#fff; font-family:var(--serif); font-size:clamp(2.2rem,5vw,4.4rem); line-height:1.02; font-weight:400; }
.pais-hero-copy h1 em, .pais-hero-copy h2 em { color:#f5f4f0; font-style:italic; }
.pais-hero-copy p { max-width:480px; margin:0 0 1.25rem; color:rgba(255,255,255,.92); font-size:clamp(.86rem,1.4vw,1rem); }
.pais-hero-cta { background:#fff !important; color:var(--dark-green) !important; border-radius:4px; padding:.7rem 1.1rem; display:inline-flex; align-items:center; gap:1rem; font-weight:700; }
.pais-hero-arrow { position:absolute; top:50%; transform:translateY(-50%); z-index:3; width:42px; height:42px; border-radius:50%; background:rgba(255,255,255,.84); color:var(--dark-green); font-size:1.8rem; display:flex; align-items:center; justify-content:center; }
.pais-hero-prev { left:18px; } .pais-hero-next { right:18px; }
.pais-hero-dots { position:absolute; left:50%; bottom:16px; transform:translateX(-50%); z-index:3; display:flex; gap:8px; }
.pais-hero-dots button { width:8px; height:8px; border-radius:50%; background:rgba(255,255,255,.55); padding:0; }
.pais-hero-dots button.is-active { width:24px; border-radius:999px; background:#fff; }

/* Professional footer */
.site-footer { background:var(--dark-green); color:#fff; }
.footer-container { max-width:1320px; margin:0 auto; padding:2.25rem 5vw .75rem; }
.footer-grid { grid-template-columns:1.35fr repeat(3,1fr) 1.15fr; gap:2.4rem; margin-bottom:2.2rem; }
.footer-col { min-width:0; }
.footer-col-brand { padding-right:1.5rem; border-right:1px solid rgba(255,255,255,.14); }
.footer-brand-title { gap:.7rem; color:#fff; }
.footer-brand-title span { font-family:var(--serif); font-size:1.2rem; letter-spacing:.08em; }
.footer-brand-desc { color:rgba(255,255,255,.7); font-size:.82rem; line-height:1.7; max-width:330px; }
.footer-col-title { color:#f5f4f0; font-size:.72rem; letter-spacing:.16em; margin-bottom:1rem; }
.footer-nav-list { gap:.48rem; }
.footer-nav-list a { color:rgba(255,255,255,.72); font-size:.8rem; }
.footer-nav-list a:hover { color:#fff; transform:none; }
.footer-divider { margin-bottom:1rem; border-top-color:rgba(255,255,255,.14); }
.footer-bottom { color:rgba(255,255,255,.62); font-size:.72rem; }
.footer-bottom-links a { color:rgba(255,255,255,.7); }

/* WhatsApp floating circle — larger icon and circle, still subtle. */
.floating-whatsapp-btn { width:54px !important; height:54px !important; right:20px !important; bottom:20px !important; background:#25D366 !important; box-shadow:0 8px 20px rgba(17,34,80,.18); }
.floating-whatsapp-btn svg { width:28px !important; height:28px !important; }

/* Category browser mirrors the storefront's vertical category rail. */
.categories-page { padding-top:1.25rem; padding-bottom:2rem; }
.categories-page-hero { padding:0 0 1rem; }
.categories-page .eyebrow { margin-bottom:.2rem; font-size:.7rem; }
.categories-page .heading.center { margin:.15rem 0 .55rem; font-size:clamp(1.8rem,6vw,2.6rem); line-height:1.1; }
.categories-page-intro { max-width:680px; margin:.25rem auto 0; color:rgba(17,34,80,.72); font-size:.95rem; line-height:1.45; }
.category-browser { display:grid; grid-template-columns:210px minmax(0,1fr); height:min(70vh,720px); min-height:420px; overflow:hidden; border:1px solid var(--border-light); border-radius:12px; background:#fff; }
.category-browser-sidebar { display:flex; min-height:0; flex-direction:column; align-items:stretch; overflow-y:auto; overscroll-behavior:contain; scrollbar-width:thin; background:#f5f6fa; border-right:1px solid var(--border-light); }
.category-browser-item { display:flex; min-height:76px; align-items:center; gap:.75rem; padding:.65rem .8rem; border:0; border-bottom:1px solid rgba(17,34,80,.06); background:transparent; color:var(--dark-green); text-align:left; cursor:pointer; }
.category-browser-item:hover { background:rgba(17,34,80,.04); }
.category-browser-item.is-active { background:#f9d9eb; box-shadow:inset 3px 0 #df4d9a; }
.category-browser-item-image { display:flex; width:62px; height:68px; flex:0 0 62px; align-items:center; justify-content:center; overflow:hidden; border-radius:10px; background:#fff; }
.category-browser-item-image img { width:100%; height:100%; padding:.1rem; object-fit:contain; }
.category-browser-item-image .category-directory-placeholder { font-size:1.2rem; }
.category-browser-item-label { min-width:0; font-size:.78rem; font-weight:600; line-height:1.25; }
.category-browser-content { min-width:0; overflow-y:auto; overscroll-behavior:contain; padding:1.25rem; }
.category-browser-heading { margin:0 0 .9rem; color:var(--ink); font-size:1.1rem; line-height:1.2; }
.category-browser-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1rem .65rem; }
.category-browser-tile { display:flex; min-width:0; flex-direction:column; align-items:center; gap:.4rem; color:var(--ink); text-align:center; text-decoration:none; }
.category-browser-tile-image { display:flex; width:clamp(5rem,9vw,6.25rem); aspect-ratio:4 / 5; align-items:center; justify-content:center; overflow:hidden; border-radius:10px; background:#eef0f7; transition:transform .18s ease, box-shadow .18s ease; }
.category-browser-tile:hover .category-browser-tile-image { transform:translateY(-2px); box-shadow:0 5px 14px rgba(17,34,80,.12); }
.category-browser-tile-image img { width:100%; height:100%; padding:.15rem; object-fit:contain; }
.category-browser-tile-image .category-directory-placeholder { font-size:1.6rem; }
.category-browser-tile-label { max-width:100%; font-size:.72rem; line-height:1.25; }
.category-browser-empty { display:flex; align-items:center; justify-content:space-between; padding:1rem; border:1px solid var(--border-light); border-radius:8px; color:var(--dark-green); font-size:.85rem; }
.category-browser-empty span { font-size:1.2rem; }
.category-browser-item:focus-visible,.category-browser-tile:focus-visible,.category-browser-empty:focus-visible { outline:2px solid var(--gold); outline-offset:-2px; }
.category-directory-placeholder { display:flex; width:100%; height:100%; align-items:center; justify-content:center; color:var(--dark-green); font-family:var(--font-heading); font-size:3rem; }
.category-directory-empty { grid-column:1/-1; margin:1rem 0; text-align:center; color:var(--warm-grey); }

/* Mobile hamburger owns authentication; header stays clean like the reference. */
@media (max-width:860px) {
  .header-inner { grid-template-columns:minmax(0,1fr) auto; grid-template-areas:"brand toggle" "search search" "nav nav" "actions actions"; gap:.5rem .7rem; }
  .site-search { width:100%; min-width:0; justify-self:stretch; }
  .header-actions { justify-self:stretch; justify-content:center; gap:.75rem; }
  .nav-shell { width:100%; }
  .nav-auth-action { display:flex !important; width:100%; min-height:42px; align-items:center; justify-content:center; gap:.45rem; border:1px solid rgba(17,34,80,.10); border-radius:8px; color:var(--dark-green); font-weight:600; }
  .nav-auth-action.is-logged-in { color:var(--gold); }
  .floating-whatsapp-btn { width:50px !important; height:50px !important; right:14px !important; bottom:14px !important; }
  .floating-whatsapp-btn svg { width:25px !important; height:25px !important; }
  .pais-hero-slide, .pais-hero-carousel { min-height:360px; }
  .pais-hero-copy { width:76%; margin-left:8%; padding-top:3rem; }
  .pais-hero-copy h1, .pais-hero-copy h2 { font-size:clamp(2rem,10vw,3.1rem); }
  .pais-hero-copy p { font-size:.82rem; }
  .pais-hero-arrow { width:36px; height:36px; font-size:1.5rem; }
  .footer-grid { grid-template-columns:repeat(2,1fr); }
  .footer-col-brand { grid-column:1/-1; border-right:0; border-bottom:1px solid rgba(255,255,255,.14); padding:0 0 1.3rem; }
}
@media (max-width:560px) {
  .categories-page { padding-top:1rem; padding-bottom:1.5rem; }
  .categories-page-intro { font-size:.84rem; }
  .categories-page { padding:0 0 1.5rem; }
  .categories-page-hero { padding:.7rem .75rem; background:#fff; }
  .categories-page .eyebrow { display:none; }
  .categories-page .heading.center { margin:0 0 .25rem; font-size:1.05rem; text-align:left; }
  .categories-page-intro { margin:0; font-size:.72rem; text-align:left; }
  .category-browser { grid-template-columns:clamp(78px,24vw,112px) minmax(0,1fr); height:max(160px,calc(100dvh - 340px)); max-height:720px; min-height:0; border:0; border-radius:0; }
  .category-browser-sidebar { border-right:1px solid rgba(17,34,80,.08); }
  .category-browser-item { min-height:104px; flex:0 0 auto; flex-direction:column; justify-content:center; gap:.4rem; padding:.6rem .25rem; text-align:center; }
  .category-browser-item.is-active { box-shadow:inset 3px 0 #df4d9a; }
  .category-browser-item-image { width:62px; height:68px; flex:0 0 68px; border-radius:9px; }
  .category-browser-item-label { display:block; width:100%; font-size:.62rem; line-height:1.25; overflow-wrap:anywhere; }
  .category-browser-content { padding:.85rem .6rem 1rem; }
  .category-browser-heading { margin:0 0 .8rem; font-size:.92rem; }
  .category-browser-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:.9rem .25rem; }
  .category-browser-tile-image { width:clamp(4.4rem,20vw,5.3rem); aspect-ratio:4 / 5; border-radius:9px; }
  .category-browser-tile-image img { padding:.08rem; }
  .category-browser-tile-label { font-size:.59rem; }
  .pais-hero-slide, .pais-hero-carousel { min-height:310px; }
  .pais-hero-copy { width:82%; margin-left:7%; padding-top:2rem; }
  .pais-hero-kicker { font-size:.62rem; }
  .pais-hero-copy h1, .pais-hero-copy h2 { font-size:2rem; }
  .pais-hero-copy p { font-size:.74rem; line-height:1.45; }
  .pais-hero-cta { font-size:.7rem; padding:.6rem .8rem; }
  .pais-hero-prev { left:8px; } .pais-hero-next { right:8px; }
  .footer-grid { grid-template-columns:1fr 1fr; gap:1.5rem 1rem; }
  .footer-bottom { align-items:flex-start; flex-direction:column; }
}
@media (max-width:860px){ .nav-auth-action { grid-column:1 / -1; } }
/* Keep the GIVA-style three-line menu available on desktop too; login/logout lives inside it. */
@media (min-width:861px) {
  .header-inner { grid-template-columns:auto auto minmax(280px,1fr) auto; grid-template-areas:"brand toggle search actions"; gap:1rem 1.25rem; }
  .mobile-nav-toggle { grid-area:toggle; display:inline-flex; width:40px; height:40px; border:1px solid rgba(17,34,80,.18); border-radius:50%; align-items:center; justify-content:center; flex-direction:column; gap:4px; color:var(--dark-green); background:transparent; }
  .mobile-nav-toggle span { display:block; width:16px; height:1.5px; background:currentColor; }
  .nav-shell { display:none; grid-area:nav; }
  .nav-shell.is-open { display:block; }
  .nav { justify-content:center; padding:.2rem 0 .3rem; }
  .site-search { width:min(100%,500px); }
}

/* Final requested storefront polish. */
.announcement-bar { background: #112250 !important; }
.floating-whatsapp-btn { width:56px !important;height:56px !important;right:18px !important;bottom:88px !important;border-radius:50% !important;display:inline-flex !important;align-items:center !important;justify-content:center !important;padding:0 !important;z-index:1300 !important; }
.floating-whatsapp-btn svg { width:27px !important;height:27px !important; }
.visit-instagram-link { display:inline-flex;align-items:center;gap:.45rem;margin-top:.45rem;color:#112250;font-weight:600;text-decoration:none; }
.visit-instagram-link:hover { text-decoration:underline; }
@media(max-width:860px){.floating-whatsapp-btn{width:50px !important;height:50px !important;right:14px !important;bottom:84px !important}.floating-whatsapp-btn svg{width:24px !important;height:24px !important}}
@media(max-width:420px){.floating-whatsapp-btn{width:46px !important;height:46px !important;right:12px !important;bottom:82px !important}.floating-whatsapp-btn svg{width:22px !important;height:22px !important}}


/* Final requested WhatsApp asset + sticky storefront header. */
.site-header { position: sticky !important; top: 0 !important; z-index: 2000 !important; }
.floating-whatsapp-btn { background: transparent !important; border: 0 !important; box-shadow: none !important; width: 62px !important; height: 62px !important; padding: 0 !important; }
.floating-whatsapp-logo { width: 100% !important; height: 100% !important; display: block !important; object-fit: contain !important; }
.floating-whatsapp-btn:hover { transform: translateY(-2px) !important; background: transparent !important; }
@media (max-width: 860px) { .floating-whatsapp-btn { width: 58px !important; height: 58px !important; right: 14px !important; bottom: 84px !important; } }
@media (max-width: 420px) { .floating-whatsapp-btn { width: 54px !important; height: 54px !important; right: 12px !important; bottom: 82px !important; } }
.visit-instagram-link { margin-top: .55rem !important; display: inline-flex !important; align-items: center !important; gap: .45rem !important; }
.announcement-bar { background: #112250 !important; color: #fff !important; }


/* Final exact-request fix: keep the complete storefront header (announcement + logo + search + navigation)
   pinned while the page content scrolls. `clip` prevents the horizontal overflow layer from
   creating a separate scroll container that can interfere with position: sticky. */
html, body { overflow-x: clip; }
.site-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 3000 !important;
  align-self: flex-start;
  overflow: visible !important;
}
.site-header .announcement-bar,
.site-header .header-inner { position: relative; }

/* Keep the Visit Us contact order exactly: Phone → Email → Instagram. */
.visit-detail-item .visit-instagram-link {
  display: inline-flex !important;
  margin-top: .5rem !important;
}


/* Final contact-only polish: keep Phone, Email and Instagram as separate rows. */
.visit-info-card .visit-detail-item { align-items: start; }
.visit-info-card .visit-detail-item p { margin: 0; }
.visit-info-card .visit-detail-item strong { margin-bottom: .12rem; }
.visit-info-card .visit-detail-item a { text-decoration: none; }
.visit-info-card .visit-detail-item a:hover { text-decoration: underline; }


/* V8 storefront polish: professional footer, touch-safe mobile menu and smooth navigation. */
html { scroll-behavior: smooth; }
.site-header { position: sticky !important; top: 0 !important; z-index: 2000 !important; }
.site-header .nav-shell.is-open { position: relative; z-index: 2001; }
.site-header .nav-shell.is-open .nav { animation: paisMenuIn .18s ease-out; }
@keyframes paisMenuIn { from { opacity: .6; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }

.footer-topline { display:flex; justify-content:space-between; align-items:center; gap:1.5rem; padding-bottom:2rem; margin-bottom:2rem; border-bottom:1px solid rgba(255,255,255,.12); }
.footer-kicker { display:block; color:#d4af37; font-size:.68rem; font-weight:700; letter-spacing:.18em; text-transform:uppercase; margin-bottom:.35rem; }
.footer-topline h2 { margin:0; color:#fff; font-size:clamp(1.35rem,2.4vw,2rem); line-height:1.15; }
.footer-quick-whatsapp { display:inline-flex; align-items:center; gap:.55rem; flex:0 0 auto; border:1px solid rgba(255,255,255,.18); color:#fff; padding:.7rem 1rem; border-radius:999px; font-size:.78rem; font-weight:600; transition:.2s ease; }
.footer-quick-whatsapp svg { width:18px; height:18px; }
.footer-quick-whatsapp:hover { background:rgba(255,255,255,.08); border-color:#d4af37; transform:translateY(-1px); }
.footer-social-row { display:flex; gap:.55rem; margin-top:1.15rem; }
.footer-social-row a { width:38px; height:38px; display:grid; place-items:center; border:1px solid rgba(255,255,255,.18); border-radius:50%; color:#fff; transition:.2s ease; }
.footer-social-row a:hover { color:#d4af37; border-color:#d4af37; transform:translateY(-2px); }
.footer-social-row svg { width:18px; height:18px; }
.footer-contact-link { display:flex; align-items:flex-start; gap:.6rem; color:rgba(255,255,255,.72); font-size:.8rem; line-height:1.45; margin-bottom:.8rem; }
.footer-contact-link:hover { color:#fff; }
.footer-contact-link svg { width:18px; height:18px; flex:0 0 18px; margin-top:1px; }
.footer-contact-link small { color:rgba(255,255,255,.5); font-size:.68rem; }
.footer-trust-row { display:flex; flex-wrap:wrap; gap:.55rem .9rem; padding:.8rem 0; color:rgba(255,255,255,.58); font-size:.68rem; letter-spacing:.02em; }
.footer-trust-row span { white-space:nowrap; }

@media (max-width:860px) {
  .site-header { overflow:visible !important; }
  .header-inner { position:relative; }
  .nav-shell.is-open { display:block !important; max-height:calc(100svh - 76px); overflow:auto; overscroll-behavior:contain; -webkit-overflow-scrolling:touch; }
  .nav-shell.is-open .nav { padding-bottom:.65rem; }
  .nav-auth-action { min-height:46px !important; background:#fffdf7; }
  .footer-topline { align-items:flex-start; flex-direction:column; gap:1rem; padding-bottom:1.25rem; margin-bottom:1.25rem; }
  .footer-quick-whatsapp { width:100%; justify-content:center; }
  .footer-container { padding:2.2rem 16px 1rem; }
  .footer-grid { gap:1.5rem 1rem; }
  .footer-col-contact { grid-column:1/-1; padding-top:.35rem; border-top:1px solid rgba(255,255,255,.1); }
  .footer-trust-row { gap:.45rem .7rem; }
}
@media (max-width:560px) {
  .footer-grid { grid-template-columns:1fr 1fr !important; }
  .footer-col-brand, .footer-col-contact { grid-column:1/-1; }
  .footer-col-brand { padding-bottom:1.1rem; }
  .footer-brand-desc { max-width:none; }
  .footer-bottom { gap:.45rem; }
  .footer-hallmark { display:none; }
}


.visit-map-card { grid-column:1/-1; background:#fffdf7; border:1px solid rgba(11,37,69,.10); border-radius:18px; box-shadow:0 12px 34px rgba(11,37,69,.06); overflow:hidden; min-height:100%; }
.visit-map-header { display:flex; justify-content:space-between; align-items:center; gap:1rem; padding:1.25rem 1.35rem; border-bottom:1px solid rgba(11,37,69,.08); }
.visit-map-header h3 { margin:0; font-size:1.25rem; }
.visit-map-open { color:var(--dark-green); font-size:.78rem; font-weight:700; white-space:nowrap; }
.visit-map-frame { min-height:360px; height:100%; }
.visit-map-frame iframe { display:block; width:100%; height:100%; min-height:360px; border:0; }
@media (max-width:860px) { .visit-map-card { grid-column:1; order:2; } .visit-map-frame,.visit-map-frame iframe { min-height:300px; } }
@media (max-width:560px) { .visit-map-card { border-radius:14px; } .visit-map-header { padding:1rem; } .visit-map-header h3 { font-size:1.08rem; } .visit-map-frame,.visit-map-frame iframe { min-height:270px; } }

/* FINAL HEADER + MENU BEHAVIOUR
   - The full storefront header is always fixed and never scrolls away.
   - The three-line mobile menu stays attached to the header and never moves independently.
   - The floating WhatsApp logo is independent of both. */
:root { --pais-header-height: 0px; }
html, body { overflow-x: clip; }
.site-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  z-index: 5000 !important;
  overflow: visible !important;
}
.site-header .announcement-bar,
.site-header .header-inner { position: relative; }
body {
  padding-top: var(--pais-header-height) !important;
}

/* Three-line menu: stays in its normal header position. It never floats or jumps. */
@media (max-width: 860px) {
  .site-header .mobile-nav-toggle,
  .site-header .mobile-nav-toggle.is-floating {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    z-index: 5001 !important;
    transform: none !important;
  }
  .site-header .nav-shell.is-open {
    position: fixed !important;
    top: 58px !important;
    left: 10px !important;
    right: 10px !important;
    width: auto !important;
    max-height: calc(100svh - 70px) !important;
    overflow: auto !important;
    background: #fff !important;
    border: 1px solid rgba(17,34,80,.12);
    border-radius: 14px;
    box-shadow: 0 14px 38px rgba(17,34,80,.18);
    padding: 8px 10px 10px;
    z-index: 6000 !important;
  }
}

/* Restore the WhatsApp logo as a true floating button, like the earlier version. */
.floating-whatsapp-btn {
  position: fixed !important;
  right: 22px !important;
  bottom: 22px !important;
  width: 58px !important;
  height: 58px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: transparent !important;
  box-shadow: 0 8px 24px rgba(17,34,80,.18) !important;
  z-index: 7000 !important;
  line-height: 0 !important;
}
.floating-whatsapp-logo {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: contain !important;
}
.floating-whatsapp-btn:hover { transform: translateY(-2px) !important; }
@media (max-width: 860px) {
  .floating-whatsapp-btn { width: 52px !important; height: 52px !important; right: 16px !important; bottom: 18px !important; }
}
@media (max-width: 420px) {
  .floating-whatsapp-btn { width: 48px !important; height: 48px !important; right: 12px !important; bottom: 16px !important; }
}

/* Cleaner, showroom-focused Google Maps card. */
.visit-map-card {
  background: #fffdf7;
  border: 1px solid rgba(17,34,80,.10);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(17,34,80,.08);
  overflow: hidden;
}
.visit-map-header {
  align-items: flex-start;
  padding: 1.15rem 1.25rem;
  background: #f5f4f0;
}
.visit-map-title-wrap { min-width: 0; }
.visit-map-header h3 { margin: .08rem 0 .3rem; color: #112250; }
.visit-map-address {
  margin: 0;
  max-width: 760px;
  color: rgba(17,34,80,.68);
  font-size: .82rem;
  line-height: 1.45;
}
.visit-map-status {
  flex: 0 0 auto;
  margin-top: .15rem;
  padding: .38rem .65rem;
  border: 1px solid rgba(17,34,80,.12);
  border-radius: 999px;
  color: #112250;
  background: #fff;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .03em;
}
.visit-map-frame { min-height: 350px; height: 350px; background: #e9e7df; }
.visit-map-frame iframe { width: 100%; height: 100%; min-height: 350px; border: 0; display: block; }
.visit-map-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .65rem;
  padding: .8rem 1rem;
  border-top: 1px solid rgba(17,34,80,.08);
  background: #fff;
}
.visit-map-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  min-height: 38px;
  padding: .55rem .9rem;
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 700;
}
.visit-map-directions { background: #112250; color: #fff !important; }
.visit-map-pin { border: 1px solid rgba(17,34,80,.16); color: #112250 !important; background: #f5f4f0; }
@media (max-width: 560px) {
  .visit-map-header { padding: 1rem; }
  .visit-map-status { display: none; }
  .visit-map-frame, .visit-map-frame iframe { min-height: 270px; height: 270px; }
  .visit-map-actions { flex-direction: column; align-items: stretch; padding: .75rem; }
  .visit-map-actions a { width: 100%; }
}

/* FINAL MOBILE MENU POLISH
   The close (X) remains in the header, directly above the menu panel.
   Keep the dropdown compact with no unnecessary vertical gaps. */
@media (max-width: 860px) {
  .site-header .mobile-nav-toggle[aria-expanded="true"] {
    position: relative !important;
    z-index: 6001 !important;
  }

  .site-header .nav-shell.is-open {
    top: var(--pais-header-height) !important;
    left: 10px !important;
    right: 10px !important;
    width: auto !important;
    max-height: calc(100svh - var(--pais-header-height) - 12px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding: 4px 8px 6px !important;
    margin: 0 !important;
    border-radius: 12px !important;
    z-index: 6000 !important;
  }

  .site-header .nav-shell.is-open .nav {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 2px !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .site-header .nav-shell.is-open .nav > a,
  .site-header .nav-shell.is-open .nav .nav-dropdown-btn {
    min-height: 36px !important;
    height: 36px !important;
    padding: .28rem .35rem !important;
    margin: 0 !important;
    border-radius: 7px !important;
    font-size: .78rem !important;
    line-height: 1.1 !important;
  }

  .site-header .nav-shell.is-open .nav-dropdown-menu {
    margin-top: 2px !important;
  }
}


/* FINAL MENU + WHATSAPP POSITION FIX
   - The hamburger/X always stays in the fixed header and remains clickable.
   - The open menu starts below the complete header, never covering the X.
   - WhatsApp floats above the mobile bottom category/tab bar.
*/
@media (max-width: 860px) {
  .site-header .mobile-nav-toggle,
  .site-header .mobile-nav-toggle.is-floating {
    position: relative !important;
    z-index: 7002 !important;
    pointer-events: auto !important;
  }

  .site-header .nav-shell.is-open {
    top: var(--pais-header-height) !important;
    z-index: 5001 !important;
    max-height: calc(100svh - var(--pais-header-height) - 88px) !important;
  }

  .floating-whatsapp-btn {
    bottom: 88px !important;
    z-index: 7000 !important;
  }
}

@media (max-width: 420px) {
  .floating-whatsapp-btn { bottom: 82px !important; }
}

/* FINAL MOBILE MENU ORDER FIX
   Keep the mobile dropdown in one clean vertical sequence:
   Collections → About → Visit Us → Log In / Sign Up.
*/
@media (max-width: 860px) {
  .site-header .nav-shell.is-open .nav {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 2px !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .site-header .nav-shell.is-open .nav > a,
  .site-header .nav-shell.is-open .nav > .nav-dropdown,
  .site-header .nav-shell.is-open .nav > .nav-auth-action {
    width: 100% !important;
    flex: 0 0 auto !important;
    box-sizing: border-box !important;
  }

  .site-header .nav-shell.is-open .nav > a,
  .site-header .nav-shell.is-open .nav > .nav-dropdown > .nav-dropdown-btn {
    min-height: 38px !important;
    height: 38px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: left !important;
    padding: .3rem .65rem !important;
    margin: 0 !important;
  }

  .site-header .nav-shell.is-open .nav > .nav-dropdown {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .site-header .nav-shell.is-open .nav > .nav-auth-action {
    min-height: 42px !important;
    height: 42px !important;
    margin: 0 !important;
  }
}


/* Checkout coupon */
.checkout-coupon-box { margin: 1rem 0 .85rem; padding: .9rem; border: 1px solid rgba(17,34,80,.12); border-radius: 10px; background: #f5f4f0; }
.checkout-coupon-title { color:#112250; font-size:.78rem; font-weight:700; margin-bottom:.5rem; }
.checkout-coupon-row { display:flex; gap:.45rem; }
.checkout-coupon-row input { min-width:0; flex:1; height:40px; padding:0 .75rem; border:1px solid rgba(17,34,80,.18); border-radius:7px; background:#fff; color:#112250; font:inherit; font-size:.8rem; }
.checkout-coupon-row button { flex:0 0 auto; height:40px; padding:0 .85rem; border:0; border-radius:7px; background:#112250; color:#fff; font:inherit; font-size:.78rem; font-weight:700; cursor:pointer; }
.checkout-coupon-row button:disabled { opacity:.6; cursor:wait; }
.checkout-coupon-message { min-height:16px; margin-top:.35rem; color:#b42318; font-size:.7rem; line-height:1.4; }
.checkout-coupon-message.success { color:#176b45; }
.checkout-coupon-applied { margin-top:.45rem; color:#176b45; font-size:.7rem; display:flex; align-items:center; gap:.45rem; flex-wrap:wrap; }
.checkout-coupon-applied button { border:0; background:none; color:#112250; text-decoration:underline; font:inherit; font-size:.7rem; cursor:pointer; padding:0; }
.coupon-discount-line span:last-child { color:#176b45; font-weight:700; }
@media (max-width:480px){ .checkout-coupon-row { flex-direction:column; } .checkout-coupon-row button { width:100%; } }

/* FINAL FIX — About submenu is click-only on storefront at every viewport. */
.site-header .nav-dropdown:not(.is-open):hover .nav-dropdown-menu,
.site-header .nav-dropdown:not(.is-open):focus .nav-dropdown-menu,
.site-header .nav-dropdown:not(.is-open):focus-within .nav-dropdown-menu {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* FINAL FIX — About submenu opens ONLY after the About button is clicked.
   No hover/focus-triggered opening on mobile. */
@media (max-width: 860px) {
  .site-header .nav-dropdown { position: relative !important; }
  .site-header .nav-dropdown-menu {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    max-height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
  }

  .site-header .nav-dropdown.is-open .nav-dropdown-menu {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    max-height: 180px !important;
    padding: 2px 0 4px !important;
    margin: 0 !important;
  }

  .site-header .nav-dropdown:not(.is-open):hover .nav-dropdown-menu,
  .site-header .nav-dropdown:not(.is-open):focus .nav-dropdown-menu,
  .site-header .nav-dropdown:not(.is-open):focus-within .nav-dropdown-menu {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    max-height: 0 !important;
  }

  .site-header .nav-dropdown-btn {
    cursor: pointer !important;
  }

  .site-header .nav-dropdown-menu a {
    min-height: 34px !important;
    height: 34px !important;
    box-sizing: border-box !important;
    padding: .35rem .75rem .35rem 1.25rem !important;
  }
}

/* Simple, always-visible footer columns with the brand mark beside its name. */
.header-brand { gap:.55rem; }
.header-brand-logo { width:36px; height:36px; }
.footer-brand-row { display:flex; align-items:center; margin:0 0 1.25rem; }
.footer-brand-lockup {
  display:inline-flex; align-items:center; gap:.6rem; color:var(--ink);
  font-family:var(--serif); font-size:1.25rem; font-weight:600; text-decoration:none;
}
.footer-brand-logo { width:40px; height:40px; }
.site-footer {
  background:var(--ivory) !important;
  color:var(--ink); border-top:2px solid var(--gold-accent);
}
.footer-container { max-width:1320px; padding:1.25rem 2.5vw .75rem; }
.footer-grid {
  display:grid !important; grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:1.5rem; margin-bottom:1.35rem;
}
.footer-col { min-width:0; }
.footer-col-title {
  position:relative; margin:0 0 .95rem; padding-bottom:.5rem; color:var(--ink); font-family:var(--serif);
  font-size:1rem; font-weight:400; letter-spacing:0; line-height:1.3; text-transform:none;
}
.footer-col-title::after {
  position:absolute; bottom:0; left:0; width:32px; height:2px;
  background:var(--gold-accent); content:"";
}
.footer-nav-list { gap:.55rem; }
.footer-nav-list a { color:var(--ink); font-size:.88rem; line-height:1.35; transition:color .2s ease; }
.footer-nav-list a:hover { color:var(--gold); transform:none; }
.footer-promo { padding:.7rem 0 0; text-align:center; color:var(--ink); }
.footer-promo h2 { margin:0 0 .3rem; color:var(--gold); font-size:.95rem; font-weight:700; letter-spacing:.04em; }
.footer-promo p { margin:0; color:var(--ink); font-size:.82rem; opacity:.82; }
.footer-social-row { justify-content:center; gap:1rem; margin:.8rem 0 1rem; }
.footer-social-row a {
  width:30px; height:30px; border:0; border-radius:0; color:var(--ink);
}
.footer-social-row a:hover { color:var(--gold); border-color:transparent; transform:translateY(-1px); }
.footer-social-row svg { width:20px; height:20px; }
.footer-divider { margin:0 0 .65rem; border-top-color:rgba(17,34,80,.18); }
.footer-bottom { color:var(--ink); font-size:.74rem; opacity:.78; }
.footer-bottom-links a { color:var(--ink); }
@media (max-width:860px) {
  .footer-grid { grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:1.35rem 1rem; }
  .footer-brand-row { justify-content:center; }
  .footer-container { padding:1.25rem 1rem .75rem; }
}
@media (max-width:560px) {
  .footer-grid { grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:1.25rem .8rem; }
  .footer-bottom { align-items:center; flex-direction:column; text-align:center; }
}
/* =========================================================
   PAIS — WhatsApp icon sizing (FINAL)
   Symbols only. No button, circle, padding, colour or SVG path changes.
   ========================================================= */

/* 1. "Order via WhatsApp Direct" — icon only */
.product-action-stack .btn-whatsapp-order svg,
.product-action-stack .btn-whatsapp-order img,
.product-action-stack a[class*="whatsapp"] svg,
.product-action-stack a[class*="whatsapp"] img {
  width: 27px !important;
  height: 27px !important;
  min-width: 27px !important;
  flex: 0 0 27px !important;
}
/* PAIS — enlarge only the WhatsApp icon in the blue product button */
.product-action-stack svg[width="20"][height="20"] {
  width: 27px !important;
  height: 27px !important;
}

/* 2. Floating WhatsApp: logo sits inside the button, button size untouched */
.floating-whatsapp-btn {
  overflow: visible;
}
.floating-whatsapp-btn .floating-whatsapp-logo {
  padding: 0 !important;
  border-radius: 0 !important;
  min-height: 0 !important;
  width: 68% !important;         /* the one number to tweak: 80% smaller, 95% bigger */
  height: 68% !important;
  object-fit: contain !important;
  transform: none !important;
}

/* 3. Footer "WhatsApp Concierge" row (4th link in the Contact column)
   Bigger box with negative margins, so the row's text alignment doesn't move */
.footer-col-contact .footer-contact-link:nth-of-type(4) svg {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  margin: -1px -2px 0 -2px;
}

/* 4. Footer social circles: WhatsApp symbol only (circles stay 38px) */
.footer-social-row a[aria-label="WhatsApp"] svg {
  width: 28px;
  height: 28px;
}

/* Review form: one field per row on mobile */
@media (max-width: 768px) {
  .review-form-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem;
  }
  .review-form-grid > * {
    min-width: 0;
    width: 100%;
  }
  .review-form-card {
    padding: 1.2rem;
  }
  .cart-review-section,
  .reviews-section {
    padding: 1.2rem;
  }
}

/* ===== Custom banners: plain image with text on top ===== */

.home-banner-overlay {
  display: grid;
  width: 100%;
  max-width: 1600px;
  aspect-ratio: 2 / 1;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  background: #eae7e7;
}

.home-banner-overlay > * {
  grid-area: 1 / 1;
}

.home-banner-overlay__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Mobile banner */
@media (max-width: 768px) {
  .home-banner-overlay {
    aspect-ratio: 16 / 9;
    min-height: 0;
    height: auto;
  }

  .home-banner-overlay__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .home-banner-overlay__copy {
    padding: 20px;
  }
}
/* Header carousel slides: image fills the slide, no tint */
.pais-hero-slide[data-custom-banner] .hero-banner-img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}
.pais-hero-slide[data-custom-banner] .pais-hero-copy,
.pais-hero-slide[data-custom-banner] .pais-hero-copy h2,
.pais-hero-slide[data-custom-banner] .pais-hero-copy p,
.pais-hero-slide[data-custom-banner] .pais-hero-kicker{color:#fff;text-shadow:0 1px 3px rgba(0,0,0,.6),0 2px 18px rgba(0,0,0,.45)}

@media (max-width:600px){
  .home-banner-overlay__img{min-height:280px}
}

/* Force banner text to white */
.home-banner-overlay__copy,
.home-banner-overlay__copy *,
.home-banner-overlay__kicker,
.home-banner-overlay__title,
.home-banner-overlay__desc {
    color: #ffffff !important;
}

/* Keep Explore Collection button text navy */
.home-banner-overlay__btn,
.home-banner-overlay__btn * {
    color: #eceef4 !important;
}


/* Space between multiple custom banners */
.home-banner-overlay {
    margin-bottom: 16px !important;
}

/* Remove extra space after the last banner if needed */
.home-banner-overlay:last-child {
    margin-bottom: 0 !important;
}


/* Make the complete custom banner clickable */
.home-banner-overlay {
    display: grid;
    position: relative;
    cursor: pointer;
    text-decoration: none !important;
}

/* Keep all banner text white */
.home-banner-overlay__copy,
.home-banner-overlay__copy * {
    color: #ffffff !important;
}

/* Keep Explore button appearance */
.home-banner-overlay__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    color: #0f2050 !important;
    pointer-events: none;
}

/* Keep arrow navy */
.home-banner-overlay__btn span {
    color: #0f2050 !important;
}

/* Header banner CTA — normal text, no extra effects */
.pais-hero-slide[data-custom-banner] .pais-hero-copy a {
  font-weight: 400 !important;
  text-shadow: none !important;
  letter-spacing: normal !important;
  box-shadow: none !important;
  text-transform: none !important;
}

.pais-hero-slide[data-custom-banner] .pais-hero-copy a span {
  font-weight: 400 !important;
  text-shadow: none !important;
}

/* PAIS — Natural navy fade on ALL banners */
.pais-hero-slide[data-custom-banner],
.home-banner-overlay {
  position: relative;
  isolation: isolate;
}

/* Navy fade from left to right */
.pais-hero-slide[data-custom-banner]::after,
.home-banner-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(
    90deg,
    rgba(8, 24, 62, 0.62) 0%,
    rgba(8, 24, 62, 0.42) 28%,
    rgba(8, 24, 62, 0.16) 55%,
    rgba(8, 24, 62, 0) 78%
  );
}

/* Keep banner images unchanged and sharp */
.pais-hero-slide[data-custom-banner] .hero-banner-img,
.home-banner-overlay .home-banner-overlay__img {
  filter: none !important;
}

/* Keep text above the blue fade */
.pais-hero-slide[data-custom-banner] .pais-hero-copy,
.home-banner-overlay .home-banner-overlay__copy {
  position: relative;
  z-index: 2;
}

@media (max-width: 560px) {
  .home-section {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .home-section.why {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .carousel-container { padding-bottom: .75rem; }
  .carousel-dots { margin-bottom: .75rem; }
  .cta-banner-box { padding: 2rem 1rem; }
  .site-footer { margin-top: 1.5rem; }
}

/* PAIS — WhatsApp icon size for product action button */
#whatsapp-order-btn svg {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
  flex: 0 0 18px !important;
}

/* Curated cards: uploaded image variant */
.curation-card-bg { transition: opacity .3s ease, transform .5s ease; background-size: cover; background-position: center; }
.curation-card-content { position: relative; z-index: 2; }
.curation-card-bg.has-image { opacity: 1; }
.curation-card.has-image::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(0deg, rgba(8,24,62,.80) 0%, rgba(8,24,62,.45) 55%, rgba(8,24,62,.08) 100%);
}
.curation-card.has-image:hover .curation-card-bg { transform: scale(1.04); }
.curation-card.has-image h3,
.curation-card.has-image p { color: #fff; }
.curation-card.has-image .curation-link { color: #f5f4f0; }

.footer-nav-list a.footer-link-with-icon {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}
.footer-col-title.footer-heading-with-icon {
  display: flex;
  align-items: center;
  gap: .55rem;
}
.footer-heading-with-icon .footer-link-icon { width: 22px; height: 22px; flex-basis: 22px; }
.footer-link-icon { width: 15px; height: 15px; flex: 0 0 15px; }
.footer-link-chevron {
  width: 10px;
  height: 10px;
  margin-left: auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-footer .footer-col-title.footer-heading-with-icon {
  display: flex;
  align-items: center;
  gap: .3rem;
  white-space: nowrap;
  font-size: clamp(.66rem, 3.3vw, .95rem);
}
.site-footer .footer-heading-with-icon > span { white-space: nowrap; }
.site-footer .footer-heading-with-icon .footer-link-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}
.site-footer .footer-heading-with-icon .footer-link-chevron {
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  margin-left: auto;
}
.site-footer .footer-nav-list li { min-width: 0; }
.site-footer .footer-nav-list a.footer-link-with-icon {
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  gap: clamp(.2rem, .8vw, .4rem);
  white-space: nowrap;
  font-size: clamp(.62rem, 2.5vw, .86rem);
  line-height: 1.1;
}
.site-footer .footer-link-with-icon > span { white-space: nowrap; }
.site-footer .footer-link-with-icon .footer-link-icon {
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
}
.site-footer .footer-link-with-icon .footer-link-chevron {
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  margin-left: 0;
}

/* Recently Viewed - horizontal left-to-right scrolling */

.recently-viewed-section {
  padding-left: 10px;
  padding-right: 10px;
  width: 100%;
  overflow: hidden;
}

.recently-viewed-inner {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.recently-viewed-grid {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;

  gap: 12px;
  width: 100%;
  max-width: 100%;

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

  padding: 8px 0 14px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;

  /* Hide scrollbar */
  scrollbar-width: none;
}

.recently-viewed-grid::-webkit-scrollbar {
  display: none;
}

/* Each product stays beside the previous one */
.recently-viewed-grid .recently-viewed-card {
  flex: 0 0 160px !important;
  width: 160px !important;
  min-width: 160px !important;
  max-width: 160px !important;
  margin: 0 !important;
}

.recently-viewed-card .recently-viewed-media {
  width: 100%;
  height: 145px;
  aspect-ratio: auto;
  background: var(--ivory);
  overflow: hidden;
}

.recently-viewed-card .recently-viewed-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.recently-viewed-card .recently-viewed-copy {
  padding: 10px;
}

.recently-viewed-card .recently-viewed-copy strong {
  font-size: 15px;
  line-height: 1.4;
}

.recently-viewed-card .recently-viewed-copy span {
  font-size: 14px;
}

/* Mobile card sizing */
@media (max-width: 560px) {
  .recently-viewed-grid .recently-viewed-card {
    flex-basis: 145px !important;
    width: 145px !important;
    min-width: 145px !important;
    max-width: 145px !important;
  }
}


/* Reduce Cancel and Submit Review button sizes */
#rv-cancel,
#rv-submit {
  padding: 6px 12px;
  font-size: 13px;
  min-height: 32px;
}


/* Keep reviewer name and product link side by side */
.testimonials-section .testimonial-footer {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  column-gap: 8px !important;
  width: 100% !important;
  margin-top: 14px !important;
}

.testimonials-section .testimonial-footer .t-author {
  display: block !important;
  min-width: 0 !important;
  margin: 0 !important;
  font-size: 12px !important;
  line-height: 1.4 !important;
  white-space: nowrap !important;
}

.testimonials-section .testimonial-footer .review-product-link {
  display: inline-block !important;
  position: static !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
  border: none !important;
  background: transparent !important;
  color: #0b2a5b !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

.testimonials-section .testimonial-footer .review-product-link:hover {
  color: #b18a55 !important;
  text-decoration: underline !important;
}

/* Apply rounded corners globally to all buttons, cards, and feature boxes */
button, 
.btn, 
.feature-box, 
.perk-box, 
.card, 
div[class*="box"], 
div[class*="card"] {
  border-radius: 12px !important; /* Adjust this value (e.g., 8px, 12px, 16px) for more or less curve */
}

.faq-section {
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 4rem) 5vw;
}
.faq-inner { max-width: 900px; margin: 0 auto; }
.faq-inner > .heading {
  margin-bottom: 1.5rem;
  font-size: clamp(1.35rem, 2.6vw, 1.8rem);
}
.faq-list { display: grid; gap: .7rem; }
.faq-item {
  overflow: hidden;
  border: 1px solid var(--border-light, #e8e2d6);
  border-radius: 12px;
  background: #fff;
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  color: var(--dark-green, #112250);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon {
  position: relative;
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  margin: 0 4px 4px 0;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  color: var(--gold, #c7b27a);
  transform: rotate(45deg);
  transition: transform .2s ease;
}
.faq-item[open] .faq-icon { transform: rotate(225deg); }
.faq-answer {
  padding: 0 1.2rem 1.1rem;
  color: var(--warm-grey, #6b7280);
  font-size: .94rem;
  line-height: 1.65;
  white-space: pre-line;
}
.faq-item summary:focus-visible { outline: 2px solid var(--gold, #c7b27a); outline-offset: -3px; }
.faq-page-section {
  max-width: none;
  padding: 0;
}
.faq-help-hero {
  padding: 1.5rem 5vw 3rem;
  background: var(--dark-green, #112250);
  color: #fff;
  text-align: center;
}
.faq-help-hero h1 {
  margin: 0 auto 1rem;
  color: #fff;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  line-height: 1.2;
}
.faq-search {
  display: flex;
  width: min(720px, 100%);
  min-height: 54px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid #dedede;
  border-radius: 12px;
  background: #fff;
}
.faq-search input {
  width: 100%;
  min-width: 0;
  padding: .8rem 1rem;
  border: 0;
  color: var(--dark-green, #112250);
  font: inherit;
}
.faq-search input:focus { outline: 2px solid var(--gold, #c7b27a); outline-offset: -2px; }
.faq-search button {
  display: grid;
  width: 64px;
  flex: 0 0 64px;
  place-items: center;
  border-left: 1px solid #dedede;
  background: #f2f3f5;
  color: var(--dark-green, #112250);
}
.faq-search svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.faq-support-content {
  width: min(1080px, 100%);
  margin: 0 auto;
  padding: 1.25rem clamp(1rem, 4vw, 2rem) 4rem;
}
.faq-help-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.faq-help-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  min-height: 145px;
  padding: 1.25rem;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(17, 34, 80, .09);
  color: var(--dark-green, #112250);
  text-decoration: none;
}
.faq-help-card:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(17, 34, 80, .13); }
.faq-help-card > span:last-child { display: grid; gap: .35rem; }
.faq-help-card strong { font-size: 1.15rem; }
.faq-help-card > span:last-child > span { line-height: 1.55; }
.faq-help-card-icon { display:grid; place-items:center; color: #00a789; }
.faq-help-card-icon svg {
  width: 48px;
  height: 48px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.faq-ticket-icon { color: #566377; }
.faq-article-section h2, .faq-ticket-section h2 {
  margin: 0 0 .4rem;
  color: var(--dark-green, #112250);
  font-size: clamp(1.35rem, 3vw, 1.7rem);
}
.faq-article-section { padding: 2rem 0; scroll-margin-top: calc(var(--pais-header-height, 0px) + 1rem); }
.faq-article-section > h2 { margin-bottom: 1.25rem; text-align: center; }
.faq-article-section .faq-list { max-width: 820px; margin: 0 auto; }
.faq-search-empty { margin: 1rem auto; color: var(--warm-grey, #6b7280); text-align: center; }
.faq-help-article[hidden] { display: none; }
.faq-ticket-section {
  max-width: 820px;
  margin: 2rem auto 0;
  padding: clamp(1.25rem, 4vw, 2rem);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(17, 34, 80, .08);
  scroll-margin-top: calc(var(--pais-header-height, 0px) + 1rem);
}
.faq-ticket-section[hidden] { display: none; }
.faq-ticket-heading { display:flex; justify-content:space-between; align-items:flex-start; gap:1rem; margin-bottom:1.5rem; }
.faq-ticket-heading > div { flex:1; }
.faq-ticket-heading h2, .faq-ticket-heading p { text-align:center; }
.faq-ticket-heading p { margin:.5rem 0 0; color:var(--warm-grey, #6b7280); }
.faq-ticket-close { width:36px; height:36px; flex:0 0 36px; border:1px solid var(--border-light, #e8e2d6); border-radius:50%; color:var(--dark-green, #112250); font-size:1.4rem; line-height:1; }
.faq-ticket-form { display: grid; gap: .55rem; }
.faq-ticket-form label { margin-top: .45rem; color: var(--dark-green, #112250); font-size: .9rem; font-weight: 600; }
.faq-ticket-form input, .faq-ticket-form textarea {
  width: 100%;
  padding: .8rem .9rem;
  border: 1px solid var(--border-light, #e8e2d6);
  border-radius: 10px;
  background: #f8f7f4;
  color: var(--dark-green, #112250);
  font: inherit;
}
.faq-ticket-form input:focus, .faq-ticket-form textarea:focus { outline: 2px solid var(--gold, #c7b27a); }
.faq-ticket-contact-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
.faq-ticket-contact-row > div { display: grid; gap: .55rem; }
.faq-ticket-contact-help { color: var(--warm-grey, #6b7280); font-size: .8rem; }
.faq-ticket-submit {
  justify-self: start;
  margin-top: .75rem;
  padding: .8rem 1.5rem;
  border-radius: 999px;
  background: var(--dark-green, #112250);
  color: #fff;
  font: inherit;
  font-weight: 600;
}
.faq-ticket-submit:disabled { cursor: wait; opacity: .65; }
.faq-ticket-status { min-height: 1.3em; margin: .2rem 0 0; color: #167044; }
.faq-ticket-status.is-error { color: #b42318; }
.faq-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
@media (max-width: 640px) {
  .faq-help-hero { padding: 1.1rem 1rem 2.5rem; }
  .faq-help-cards { grid-template-columns: 1fr; gap: .75rem; }
  .faq-help-card { grid-template-columns: 64px minmax(0, 1fr); min-height: 125px; padding: 1rem; }
  .faq-ticket-contact-row { grid-template-columns: 1fr; gap: .2rem; }
}

/* ---- Remove extra space below the FAQ (home, products, FAQ page) ---- */

/* Home + Products: the inline FAQ section */
[data-pais-faq] {
  min-height: 0 !important;
  height: auto !important;
  padding-bottom: 40px !important;   /* adjust: smaller = tighter */
  margin-bottom: 0 !important;
}
[data-pais-faq] .faq-inner {
  min-height: 0 !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

/* Main FAQ page */
[data-pais-faq-page] {
  min-height: 0 !important;
  height: auto !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}
.faq-support-content {
  min-height: 0 !important;
  padding-bottom: 32px !important;
  margin-bottom: 0 !important;
}

/* Shared */
.faq-list,
.faq-article-section {
  min-height: 0 !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
.faq-list > .faq-item:last-child {
  margin-bottom: 0 !important;
}

/* Hidden elements must take no space */
[data-pais-faq][hidden],
.faq-ticket-section[hidden] {
  display: none !important;
}

/* FAQ section: no bottom space */
[data-pais-faq],
[data-pais-faq] .faq-inner,
section:has(> [data-pais-faq]),
section:has(> .faq-inner) {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
  min-height: 0 !important;
}

/* The section right after the FAQ: reduce its top space */
[data-pais-faq] + section,
[data-pais-faq] + div,
section:has([data-pais-faq]) + section,
section:has([data-pais-faq]) + div {
  padding-top: 24px !important;
  margin-top: 0 !important;
}