/* =====================================================================
   FRONELLA — Royal Modern stylesheet
   Primary #0D6582 · Secondary #F0D778
   ===================================================================== */
:root {
  --teal: #0D6582;
  --teal-700: #0A5068;
  --teal-800: #083F52;
  --teal-900: #052C3A;
  --teal-50: #E8F2F5;
  --gold: #F0D778;
  --gold-300: #F5E3A0;
  --gold-600: #C9A949;
  --antique: #A6803A;       /* gold that reads on cream */
  --antique-700: #86662B;
  --cream: #FBF5E8;
  --ivory: #FFFCF5;
  --paper: #F6EEDC;
  --ink: #1F2A30;
  --ink-soft: #4A5A62;
  --line: #E7DCC2;
  --danger: #B3261E;
  --ok: #2E7D4F;

  --font-display: "Cormorant Garamond", "Noto Serif Gujarati", Georgia, serif;
  --font-body: "Montserrat", "Hind Vadodara", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(5, 44, 58, .06);
  --shadow: 0 12px 32px -12px rgba(5, 44, 58, .22);
  --shadow-lg: 0 30px 60px -20px rgba(5, 44, 58, .35);
  --container: 1200px;
  --header-h: 76px;
}
html[lang="gu"] {
  --font-display: "Noto Serif Gujarati", "Cormorant Garamond", Georgia, serif;
  --font-body: "Hind Vadodara", "Montserrat", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--cream);
  font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
html[lang="gu"] body { font-size: 17px; line-height: 1.75; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; color: var(--teal-900); letter-spacing: .005em; }
html[lang="gu"] h1, html[lang="gu"] h2, html[lang="gu"] h3 { line-height: 1.35; font-weight: 600; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4.1rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.45rem; }
html[lang="gu"] h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
html[lang="gu"] h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
p { margin: 0 0 1em; }
.lead { font-size: 1.1rem; color: var(--ink-soft); max-width: 62ch; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-body);
  font-size: .78rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--antique); margin-bottom: 14px;
}
html[lang="gu"] .eyebrow { letter-spacing: .04em; font-size: .9rem; }
.eyebrow::before, .eyebrow::after { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .7; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--teal); --fg: #fff; --bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 24px; min-height: 48px; border-radius: 999px; border: 1.5px solid var(--bd);
  background: var(--bg); color: var(--fg); font-weight: 600; font-size: .95rem; letter-spacing: .02em;
  text-decoration: none; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn svg { width: 19px; height: 19px; flex: none; }
.btn-gold { --bg: linear-gradient(135deg, #F7E6A0, #F0D778 45%, #D9B85A); --fg: var(--teal-900); background: var(--bg); }
.btn-outline { --bg: transparent; --fg: var(--teal); --bd: var(--teal); }
.btn-outline-light { --bg: transparent; --fg: var(--gold); --bd: rgba(240,215,120,.6); }
.btn-wa { --bg: #1FA855; --fg: #fff; }
.btn-ghost { --bg: transparent; --fg: var(--teal); padding-inline: 12px; }
.btn-sm { padding: 8px 16px; min-height: 38px; font-size: .85rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.topbar { background: var(--teal-900); color: var(--gold-300); font-size: .8rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 36px; }
.topbar a { text-decoration: none; }
.topbar .tb-left { display: flex; gap: 20px; align-items: center; }
.topbar .tb-left span, .topbar .tb-left a { display: inline-flex; align-items: center; gap: 6px; }
.topbar svg { width: 14px; height: 14px; }
.lang-toggle {
  border: 1px solid rgba(240,215,120,.5); background: transparent; color: var(--gold); border-radius: 999px;
  padding: 3px 14px; cursor: pointer; font-size: .8rem; font-weight: 600; display: inline-flex; gap: 6px; align-items: center;
}
.lang-toggle:hover { background: rgba(240,215,120,.12); }
.lang-toggle .gu-font { font-family: "Hind Vadodara", sans-serif; font-size: .95rem; }

.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(13,101,130,.97);
  backdrop-filter: saturate(140%) blur(8px); border-bottom: 1px solid rgba(240,215,120,.25);
}
.site-header::after { /* gold pinstripe */
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 3px;
  background: linear-gradient(90deg, transparent, rgba(240,215,120,.6), transparent);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img.lotus { height: 40px; width: auto; }
.brand .brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand img.wordmark { height: 24px; width: auto; }
.brand small { color: var(--gold-300); font-size: .58rem; letter-spacing: .2em; text-transform: uppercase; margin-top: 6px; font-weight: 500; }
html[lang="gu"] .brand small { letter-spacing: .02em; font-size: .72rem; text-transform: none; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  color: #EAF3F6; text-decoration: none; font-weight: 500; font-size: .92rem; padding: 10px 14px; border-radius: 999px;
  position: relative; transition: color .2s;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a[aria-current="page"] { color: var(--gold); }
.nav-links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; width: 6px; height: 6px; background: var(--gold);
  transform: translateX(-50%) rotate(45deg);
}
.nav-cta { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; background: none; border: 1px solid rgba(240,215,120,.5); color: var(--gold); border-radius: 12px; width: 46px; height: 46px; cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; margin: auto; }

@media (max-width: 1060px) {
  .nav-cta .btn-gold { display: none; }
}
@media (max-width: 900px) {
  .menu-btn { display: grid; place-items: center; }
  .nav-links {
    position: fixed; inset: calc(var(--header-h) + 36px) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--teal-800); padding: 12px 16px 24px; border-bottom: 1px solid rgba(240,215,120,.3);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .25s; box-shadow: var(--shadow-lg);
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { display: block; padding: 14px 8px; border-bottom: 1px solid rgba(255,255,255,.08); border-radius: 0; font-size: 1.05rem; }
  .nav-links a[aria-current="page"]::after { left: auto; right: 10px; top: 50%; transform: translateY(-50%) rotate(45deg); }
  .topbar .tb-hours { display: none; }
}
@media (max-width: 520px) {
  .brand img.lotus { height: 34px; }
  .brand img.wordmark { height: 20px; }
  .topbar .tb-left a .tb-num { display: none; }
}

/* ---------- Ornaments ---------- */
.leaf-bg { position: relative; isolation: isolate; }
.leaf-bg::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .16; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cg fill='none' stroke='%2378B9CF' stroke-width='1.1'%3E%3Cpath d='M20 200C40 120 110 70 200 40C150 110 100 170 20 200Z'/%3E%3Cpath d='M20 200C80 140 140 90 200 40'/%3E%3Cpath d='M60 170l-6-34M90 146l-4-38M120 122l-2-40M150 98l0-36M75 158l34 6M105 134l38 4M135 110l40 2'/%3E%3Cpath d='M-20 90C10 40 60 10 120 0C90 50 50 85-20 90Z'/%3E%3Cpath d='M-20 90C30 55 75 25 120 0'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 260px;
}
.gold-border {
  --zig: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='10' viewBox='0 0 16 10'%3E%3Cpath d='M0 10L8 1L16 10Z' fill='%23F0D778'/%3E%3C/svg%3E");
  height: 10px; background: var(--zig) repeat-x; background-size: 16px 10px; opacity: .85;
}
.gold-border.flip { transform: scaleY(-1); }
.divider-lotus { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 0 auto 18px; color: var(--antique); }
.divider-lotus::before, .divider-lotus::after { content: ""; height: 1px; width: 60px; background: linear-gradient(90deg, transparent, currentColor); }
.divider-lotus::after { transform: scaleX(-1); }
.divider-lotus img { height: 26px; width: auto; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-tight { padding: clamp(40px, 6vw, 72px) 0; }
.section-head { margin-bottom: clamp(32px, 4vw, 52px); }
.section-head.center { display: flex; flex-direction: column; align-items: center; }
.bg-ivory { background: var(--ivory); }
.bg-paper { background: var(--paper); }
.bg-teal { background: var(--teal); color: #EAF3F6; }
.bg-deep { background: radial-gradient(120% 120% at 20% 0%, var(--teal) 0%, var(--teal-800) 55%, var(--teal-900) 100%); color: #EAF3F6; }
.bg-teal h1, .bg-teal h2, .bg-teal h3, .bg-deep h1, .bg-deep h2, .bg-deep h3 { color: #fff; }
.bg-teal .lead, .bg-deep .lead { color: #CFE3EA; }
.bg-teal .eyebrow, .bg-deep .eyebrow { color: var(--gold); }
.gold-text { color: var(--gold); }
.on-dark .gold-text, .bg-deep .gold-text { color: var(--gold); }
em.gilt { font-style: italic; color: var(--antique); }
.bg-deep em.gilt { color: var(--gold); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero .container { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding: clamp(56px, 8vw, 104px) 0; }
.hero h1 { color: #fff; }
.hero h1 em { color: var(--gold); font-style: italic; font-weight: 500; }
.hero .lead { color: #D3E6EC; font-size: 1.15rem; }
.hero .btn-row { margin-top: 30px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 36px; color: var(--gold-300); font-size: .88rem; }
.hero-meta span { display: inline-flex; gap: 8px; align-items: center; }
.hero-meta svg { width: 17px; height: 17px; }
.hero-visual { position: relative; justify-self: center; width: min(100%, 520px); }
.hero-visual::before {
  content: ""; position: absolute; inset: -10%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(240,215,120,.35), transparent 70%); filter: blur(10px);
}
.hero-visual img { position: relative; border-radius: 10px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6), 0 0 0 1px rgba(240,215,120,.35); transform: rotate(-3deg); }
.hero-visual .hero-badge {
  position: absolute; right: -6px; bottom: 9%; background: var(--ivory); color: var(--teal-900); border-radius: 16px;
  padding: 14px 18px; box-shadow: var(--shadow-lg); display: flex; gap: 12px; align-items: center; max-width: 240px; transform: rotate(2deg);
  border: 1px solid var(--line);
}
.hero-badge img { width: 42px; height: auto; }
.hero-badge strong { display: block; font-family: var(--font-display); font-size: 1.15rem; line-height: 1.1; }
.hero-badge span { font-size: .78rem; color: var(--ink-soft); }
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero .lead { margin-inline: auto; }
  .hero .btn-row, .hero-meta { justify-content: center; }
  .hero-visual { width: min(86%, 400px); margin-bottom: 28px; }
  .hero-visual .hero-badge { bottom: -24px; left: 50%; right: auto; transform: translateX(-50%); white-space: nowrap; max-width: none; width: max-content; text-align: left; }
}

.page-hero { position: relative; overflow: hidden; padding: clamp(52px, 7vw, 88px) 0 clamp(44px, 6vw, 72px); text-align: center; }
.page-hero h1 { margin-bottom: .3em; }
.page-hero .lead { margin-inline: auto; }
.page-hero .divider-lotus img { height: 32px; }

/* ---------- Category tiles ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.cat-tile {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 20px 12px 18px;
  background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.cat-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold-600); }
.cat-tile .art { width: 92px; height: 92px; }
.cat-tile strong { font-family: var(--font-display); font-size: 1.15rem; color: var(--teal-900); line-height: 1.2; }
html[lang="gu"] .cat-tile strong { font-size: 1rem; }
.cat-tile span { font-size: .78rem; color: var(--ink-soft); }

/* ---------- Product cards ---------- */
.grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.p-card {
  position: relative; display: flex; flex-direction: column; background: var(--ivory); border-radius: var(--radius-lg);
  border: 1px solid var(--line); overflow: hidden; transition: transform .3s, box-shadow .3s, border-color .3s;
}
.p-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #D9C48E; }
.p-media { position: relative; aspect-ratio: 1 / .82; background: var(--paper); cursor: pointer; overflow: hidden; border: 0; padding: 0; width: 100%; display: block; }
.p-media img, .p-media svg { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.p-card:hover .p-media img, .p-card:hover .p-media svg { transform: scale(1.04); }
.p-media .badge { position: absolute; top: 12px; left: 12px; }
.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: .72rem; font-weight: 600;
  background: rgba(255,255,255,.92); color: var(--teal-800); border: 1px solid var(--line); letter-spacing: .02em;
}
.badge.warn { background: #FCEDEA; color: var(--danger); border-color: #F3C9C2; }
.badge.gold { background: var(--gold); color: var(--teal-900); border-color: var(--gold-600); }
.p-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.p-cat { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--antique); font-weight: 600; }
html[lang="gu"] .p-cat { letter-spacing: .02em; font-size: .82rem; text-transform: none; }
.p-name { font-family: var(--font-display); font-size: 1.4rem; line-height: 1.15; color: var(--teal-900); margin: 0; font-weight: 600; }
html[lang="gu"] .p-name { font-size: 1.2rem; line-height: 1.35; }
.p-weight { font-size: .82rem; color: var(--ink-soft); }
.p-actions { display: flex; gap: 8px; margin-top: auto; padding-top: 12px; }
.p-actions .btn { flex: 1; padding-inline: 12px; }
.p-actions .btn-icon { flex: 0 0 auto; width: 40px; padding: 0; }
.p-card.is-off .p-media { filter: grayscale(.6); opacity: .8; }

/* ---------- Sweets page toolbar ---------- */
.toolbar {
  position: sticky; top: calc(var(--header-h) + 3px); z-index: 20; background: rgba(251,245,232,.96); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line); padding: 14px 0;
}
.toolbar .container { display: flex; flex-direction: column; gap: 12px; }
.search { position: relative; max-width: 560px; width: 100%; }
.search svg { position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--antique); }
.search input {
  width: 100%; padding: 13px 44px 13px 46px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; min-height: 48px;
}
.search input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(13,101,130,.12); }
.search .clear { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: none; cursor: pointer; padding: 8px; color: var(--ink-soft); display: none; }
.search.has-value .clear { display: block; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.chip {
  flex: none; border: 1.5px solid var(--line); background: #fff; color: var(--teal-800); border-radius: 999px; padding: 7px 16px;
  font-size: .86rem; font-weight: 500; cursor: pointer; transition: .2s; white-space: nowrap;
}
.chip:hover { border-color: var(--teal); }
.chip[aria-pressed="true"] { background: var(--teal); color: #fff; border-color: var(--teal); }
.chip .n { opacity: .65; margin-left: 4px; font-size: .78em; }
.result-meta { font-size: .85rem; color: var(--ink-soft); }
.cat-section { margin-bottom: 56px; }
.cat-section header { display: flex; align-items: end; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 24px; }
.cat-section h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin: 0; }
.cat-section header p { margin: 0; color: var(--ink-soft); font-size: .92rem; }
.empty { text-align: center; padding: 60px 16px; color: var(--ink-soft); }
.empty img { width: 70px; margin: 0 auto 14px; opacity: .6; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: none; }
.modal.open { display: block; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(5,44,58,.6); backdrop-filter: blur(3px); animation: fade .25s; }
.modal-panel {
  position: relative; margin: 4vh auto; width: min(100% - 24px, 980px); max-height: 92vh; overflow: auto; background: var(--ivory);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); display: grid; grid-template-columns: 1fr 1.05fr; animation: pop .3s;
  border: 1px solid var(--gold-600);
}
.modal-close {
  position: absolute; top: 12px; right: 12px; z-index: 3; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; cursor: pointer; display: grid; place-items: center;
}
.modal-close svg { width: 18px; height: 18px; }
.m-gallery { background: var(--paper); padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.m-main { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: #fff; position: relative; }
.m-main img, .m-main svg { width: 100%; height: 100%; object-fit: cover; }
.m-main .badge { position: absolute; left: 12px; bottom: 12px; }
.m-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.m-thumbs button { width: 64px; height: 64px; border-radius: 10px; overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; background: #fff; }
.m-thumbs button[aria-current="true"] { border-color: var(--teal); }
.m-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.m-info { padding: 34px 32px 28px; }
.m-info h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: .25em; padding-right: 40px; }
.m-desc { color: var(--ink-soft); }
.m-facts { display: grid; gap: 16px; margin: 22px 0; }
.m-fact h4 { font-family: var(--font-body); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--antique); margin: 0 0 6px; font-weight: 700; }
html[lang="gu"] .m-fact h4 { letter-spacing: .02em; font-size: .9rem; text-transform: none; }
.m-fact p { margin: 0; font-size: .95rem; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: .82rem; padding: 4px 11px; border-radius: 999px; background: var(--teal-50); color: var(--teal-800); }
.tag.allergen { background: #FDF0E0; color: #8A4B08; border: 1px solid #F2D3A9; }
.small-note { font-size: .8rem; color: var(--ink-soft); margin-top: 6px; }
.guidance {
  display: flex; gap: 10px; padding: 12px 14px; background: #FFF8E1; border: 1px dashed #D9B85A; border-radius: 12px; font-size: .82rem; color: #5D4A16;
}
.guidance svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--antique); }
.m-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
@media (max-width: 780px) {
  .modal-panel { grid-template-columns: 1fr; margin: 0; width: 100%; max-height: 100%; height: 100%; border-radius: 0; border: 0; }
  .m-info { padding: 22px 18px 32px; }
  .m-gallery { padding: 14px; }
  .m-main { aspect-ratio: 4/3; }
}
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } }

/* ---------- Feature blocks ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 860px) { .split, .split.reverse { grid-template-columns: 1fr; } .split.reverse > :first-child { order: 0; } }
.frame-img { position: relative; }
.frame-img img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.frame-img::after { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 1.5px solid var(--gold-600); border-radius: var(--radius); z-index: -1; }
.frame-img.dark::after { border-color: rgba(240,215,120,.55); }

.size-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 26px 0; }
.size-card {
  border: 1.5px solid rgba(240,215,120,.4); border-radius: var(--radius); padding: 18px 12px; text-align: center; background: rgba(255,255,255,.04);
}
.size-card strong { display: block; font-family: var(--font-display); font-size: 1.9rem; color: var(--gold); line-height: 1.1; }
.size-card span { font-size: .8rem; color: #CFE3EA; }

.occ-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 960px) { .occ-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .occ-grid { grid-template-columns: 1fr; } .size-cards { grid-template-columns: repeat(3, 1fr); gap: 8px; } .size-card strong { font-size: 1.5rem; } }
.occ-card {
  background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 22px; position: relative; overflow: hidden;
}
.occ-card .ic { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--teal); color: var(--gold); margin-bottom: 16px; box-shadow: 0 0 0 5px var(--teal-50); }
.occ-card .ic svg { width: 26px; height: 26px; }
.occ-card h3 { font-size: 1.35rem; margin-bottom: .3em; }
.occ-card p { font-size: .92rem; color: var(--ink-soft); margin: 0; }
.bg-deep .occ-card { background: rgba(255,255,255,.05); border-color: rgba(240,215,120,.25); }
.bg-deep .occ-card h3 { color: #fff; }
.bg-deep .occ-card p { color: #CFE3EA; }
.bg-deep .occ-card .ic { background: var(--gold); color: var(--teal-900); box-shadow: 0 0 0 5px rgba(240,215,120,.15); }

.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 40px; }
@media (max-width: 900px) { .values { grid-template-columns: repeat(2, 1fr); } }
.value { text-align: center; padding: 8px; }
.value .ic { width: 58px; height: 58px; margin: 0 auto 12px; border-radius: 50%; border: 1.5px solid var(--gold-600); display: grid; place-items: center; color: var(--antique); }
.value .ic svg { width: 26px; height: 26px; }
.value h3 { font-size: 1.2rem; margin-bottom: .2em; }
.value p { font-size: .88rem; color: var(--ink-soft); margin: 0; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 24px; position: relative; }
.step::before {
  counter-increment: s; content: counter(s, decimal-leading-zero); font-family: var(--font-display); font-size: 2.6rem; color: var(--gold-600);
  line-height: 1; display: block; margin-bottom: 10px; font-weight: 500;
}
.step h3 { font-size: 1.3rem; margin-bottom: .3em; }
.step p { margin: 0; font-size: .92rem; color: var(--ink-soft); }

/* ---------- Visit / contact ---------- */
.info-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 960px) { .info-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .info-grid { grid-template-columns: 1fr; } }
.info-card { background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; gap: 14px; align-items: flex-start; text-decoration: none; transition: .25s; }
a.info-card:hover { border-color: var(--gold-600); box-shadow: var(--shadow); }
.info-card .ic { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--teal); color: var(--gold); display: grid; place-items: center; }
.info-card .ic svg { width: 20px; height: 20px; }
.info-card h3 { font-family: var(--font-body); font-size: .74rem; text-transform: uppercase; letter-spacing: .16em; color: var(--antique); margin: 2px 0 4px; font-weight: 700; }
html[lang="gu"] .info-card h3 { letter-spacing: .02em; font-size: .9rem; text-transform: none; }
.info-card p { margin: 0; font-weight: 500; font-size: .95rem; }
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--paper); aspect-ratio: 16/9; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 600px) { .map-wrap { aspect-ratio: 4/3.4; } }

/* ---------- Forms ---------- */
.form-card { background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-size: .84rem; font-weight: 600; color: var(--teal-800); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; min-height: 48px;
}
.field textarea { min-height: 100px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(13,101,130,.12); }
.form-error { color: var(--danger); font-size: .88rem; margin-top: 10px; min-height: 1.2em; }

/* ---------- Gift box builder ---------- */
.builder { display: grid; grid-template-columns: 1fr 420px; gap: 28px; align-items: start; }
@media (max-width: 1020px) { .builder { grid-template-columns: 1fr; } }
.b-step-title { font-family: var(--font-display); font-size: 1.5rem; color: var(--teal-900); margin: 0 0 14px; }
.size-picker { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 34px; }
.size-opt {
  position: relative; border: 1.5px solid var(--line); background: var(--ivory); border-radius: var(--radius); padding: 16px 12px 14px; cursor: pointer; text-align: center; transition: .2s;
}
.size-opt:hover { border-color: var(--gold-600); }
.size-opt[aria-checked="true"] { border-color: var(--teal); background: var(--teal); color: #fff; box-shadow: var(--shadow); }
.size-opt .box-ic { width: 44px; height: 36px; margin: 0 auto 8px; color: var(--antique); }
.size-opt[aria-checked="true"] .box-ic { color: var(--gold); }
.size-opt strong { display: block; font-family: var(--font-display); font-size: 1.6rem; line-height: 1.1; }
.size-opt small { display: block; font-size: .76rem; opacity: .8; }
.b-filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.b-filters .search { flex: 1 1 240px; }
.b-filters select { border-radius: 999px; border: 1.5px solid var(--line); background: #fff; padding: 10px 16px; min-height: 48px; flex: 0 1 260px; min-width: 0; }
.b-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; align-content: start; }
@media (min-width: 1021px) { .b-list { max-height: 760px; overflow-y: auto; padding-right: 6px; scrollbar-width: thin; } }
.b-item {
  display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; background: var(--ivory);
  border: 1px solid var(--line); border-radius: var(--radius); transition: .2s;
}
.b-item.has-qty { border-color: var(--teal); box-shadow: inset 3px 0 0 var(--teal); }
.b-item.is-off { opacity: .55; }
.b-item .thumb { width: 56px; height: 56px; border-radius: 10px; overflow: hidden; background: var(--paper); border: 0; padding: 0; cursor: pointer; }
.b-item .thumb img, .b-item .thumb svg { width: 100%; height: 100%; object-fit: cover; }
.b-item .nm { font-weight: 600; font-size: .92rem; line-height: 1.25; color: var(--teal-900); }
.b-item .wt { font-size: .76rem; color: var(--ink-soft); }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; }
.stepper button { width: 34px; height: 34px; border: 0; background: none; cursor: pointer; font-size: 1.15rem; color: var(--teal); border-radius: 50%; display: grid; place-items: center; }
.stepper button:hover:not([disabled]) { background: var(--teal-50); }
.stepper button[disabled] { color: #B9C4C8; cursor: not-allowed; }
.stepper output { min-width: 26px; text-align: center; font-weight: 700; font-size: .92rem; }

.b-panel { position: sticky; top: calc(var(--header-h) + 16px); }
.b-summary { background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow); }
.box-visual {
  position: relative; background: linear-gradient(160deg, #1A5C97, #134A7E 60%, #0F3D6A); border-radius: 14px; padding: 16px; min-height: 210px;
  box-shadow: inset 0 0 0 2px #C9A949, inset 0 0 0 6px #134A7E, inset 0 0 0 7px rgba(240,215,120,.6), 0 16px 32px -14px rgba(5,30,60,.6);
  overflow: hidden;
}
.box-visual::before { content: ""; position: absolute; inset: 0; opacity: .13; background-image: inherit; }
.box-visual .tray {
  position: relative; display: flex; flex-wrap: wrap; align-content: flex-start; gap: 4px; padding: 10px; min-height: 170px;
  background: rgba(255,250,235,.95); border-radius: 8px; box-shadow: inset 0 2px 8px rgba(0,0,0,.15);
}
.box-visual .tray .piece { flex: none; animation: drop .3s ease-out; }
.box-visual .tray .piece svg { width: 100%; height: 100%; display: block; }
.box-visual .tray .ghost { flex: none; border: 1.5px dashed #D9C48E; border-radius: 6px; opacity: .8; }
.box-visual .empty-msg { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 20px; color: var(--antique); font-size: .9rem; }
.box-visual .lid-label { display: flex; align-items: center; justify-content: space-between; color: var(--gold); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 10px; }
.box-visual .lid-label img { height: 22px; }
@keyframes drop { from { transform: translateY(-8px) scale(.6); opacity: 0; } }
.meter { margin: 16px 0 6px; }
.meter-bar { height: 12px; border-radius: 999px; background: var(--paper); overflow: hidden; border: 1px solid var(--line); }
.meter-fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--teal), #1A86A8); border-radius: 999px; transition: width .35s; }
.meter-fill.full { background: linear-gradient(90deg, #C9A949, var(--gold)); }
.meter-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; text-align: center; }
.meter-stats div { background: var(--cream); border-radius: 10px; padding: 8px 4px; }
.meter-stats small { display: block; font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft); }
html[lang="gu"] .meter-stats small { letter-spacing: 0; font-size: .78rem; text-transform: none; }
.meter-stats strong { font-family: var(--font-display); font-size: 1.3rem; color: var(--teal-900); }
.sel-list { list-style: none; margin: 14px 0; padding: 0; max-height: 240px; overflow: auto; }
.sel-list li { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: .88rem; }
.sel-list .dot { width: 14px; height: 14px; border-radius: 4px; flex: none; transform: rotate(45deg); border: 1px solid rgba(0,0,0,.12); }
.sel-list .nm { flex: 1; }
.sel-list .q { color: var(--ink-soft); white-space: nowrap; }
.sel-list button { border: 0; background: none; cursor: pointer; color: var(--ink-soft); padding: 4px; border-radius: 6px; }
.sel-list button:hover { color: var(--danger); background: #FCEDEA; }
.sel-list button svg { width: 16px; height: 16px; display: block; }
.b-form { display: grid; gap: 12px; margin-top: 14px; }
.b-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.saved-note { display: flex; align-items: center; gap: 6px; font-size: .76rem; color: var(--ok); margin-top: 10px; justify-content: center; }
.saved-note svg { width: 14px; height: 14px; }
.b-mobilebar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: none; align-items: center; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: var(--teal-900); color: #fff; box-shadow: 0 -10px 30px rgba(0,0,0,.2);
}
.b-mobilebar .mini-meter { flex: 1; }
.b-mobilebar .mini-meter span { font-size: .85rem; color: var(--gold-300); }
.b-mobilebar .meter-bar { height: 8px; background: rgba(255,255,255,.15); border: 0; margin-top: 4px; }
@media (max-width: 1020px) {
  .b-panel { position: static; }
  .b-mobilebar.show { display: flex; }
  body.has-mobilebar .wa-float { bottom: 84px; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--teal-900); color: #BFD6DE; padding-top: 0; position: relative; }
.site-footer .gold-border { opacity: .5; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 40px; padding: 56px 0 36px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }
.footer-logo { width: 210px; margin-bottom: 14px; }
.site-footer h4 { font-family: var(--font-body); color: var(--gold); font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 14px; }
html[lang="gu"] .site-footer h4 { letter-spacing: .02em; font-size: .95rem; text-transform: none; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; color: #DCEAF0; }
.site-footer a:hover { color: var(--gold); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 17px; height: 17px; flex: none; margin-top: 4px; color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(240,215,120,.18); padding: 18px 0 24px; font-size: .8rem; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.footer-tag { font-family: var(--font-display); font-style: italic; color: var(--gold-300); font-size: 1.15rem; }

/* ---------- Floating WhatsApp + toast ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 45; width: 58px; height: 58px; border-radius: 50%; background: #1FA855; color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 25px -5px rgba(0,0,0,.35); transition: transform .2s, bottom .2s;
}
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 30px; height: 30px; }
.toast-wrap { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 200; display: grid; gap: 8px; width: min(92vw, 440px); }
body.has-mobilebar .toast-wrap { bottom: 90px; }
.toast {
  background: var(--teal-900); color: #fff; border-left: 4px solid var(--gold); border-radius: 12px; padding: 12px 16px; box-shadow: var(--shadow-lg);
  font-size: .9rem; animation: pop .25s; display: flex; gap: 10px; align-items: center;
}
.toast.err { border-left-color: #FF8A80; }
.toast button { margin-left: auto; background: none; border: 0; color: var(--gold-300); cursor: pointer; font-size: 1.1rem; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s, transform .7s; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
