/* ============================================================
   MIRDECORE — ROYAL THEME
   Ivory + ink + antique gold. Cormorant Garamond + Jost.
   ============================================================ */

:root {
  --ivory: #F7F7F5;
  --paper: #EDEDEB;
  --sand: #DEDEDB;
  --ink: #141414;
  --ink-2: #333333;
  --muted: #6B6B6B;
  --gold: #767676;
  --gold-2: #D4D4D4;
  --gold-grad: linear-gradient(135deg, #7E7E7E 0%, #F4F4F4 42%, #B5B5B5 62%, #8C8C8C 100%);
  --royal: #1C1D1F;
  --royal-2: #0C0C0D;
  --royal-grad: linear-gradient(160deg, #2B2C2F 0%, #17181A 55%, #0B0B0C 100%);
  --jaali: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cpath d='M28 2 L54 28 L28 54 L2 28Z' fill='none' stroke='%23D4D4D4' stroke-width='1'/%3E%3Cpath d='M28 16 L40 28 L28 40 L16 28Z' fill='none' stroke='%23D4D4D4' stroke-width='.8'/%3E%3Ccircle cx='28' cy='28' r='2.2' fill='%23D4D4D4'/%3E%3C/svg%3E");
  --orn: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='16' viewBox='0 0 140 16'%3E%3Cpath d='M0 8h56M84 8h56' stroke='%23767676' stroke-width='1'/%3E%3Cpath d='M70 1l7 7-7 7-7-7z' fill='none' stroke='%23767676'/%3E%3Ccircle cx='70' cy='8' r='2' fill='%23767676'/%3E%3Ccircle cx='59' cy='8' r='1.4' fill='%23767676'/%3E%3Ccircle cx='81' cy='8' r='1.4' fill='%23767676'/%3E%3C/svg%3E");
  --display: "Cinzel", "Cormorant Garamond", Georgia, serif;
  --maroon: #8A2C3D;
  --green: #1E7B4F;
  --wa: #25D366;
  --line: rgba(20, 20, 20, 0.12);
  --white: #fff;
  --shadow-1: 0 2px 10px rgba(20, 20, 20, 0.06);
  --shadow-2: 0 18px 50px rgba(20, 20, 20, 0.14);
  --radius: 18px;
  --radius-sm: 12px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 72px;
  --announce-h: 34px;
  --bottom-nav-h: 0px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--ivory);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  padding-bottom: var(--bottom-nav-h);
}
body.is-loading { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.12; margin: 0; letter-spacing: -0.005em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

i[data-icon] { display: inline-flex; width: 22px; height: 22px; flex: none; }
i[data-icon] svg { width: 100%; height: 100%; }

/* ==================== SPLASH (WHITE) ==================== */
#splash {
  position: fixed; inset: 0; z-index: 1000;
  background: #fff;
  display: grid; place-items: center;
  transition: opacity 0.8s var(--ease), visibility 0.8s, transform 0.9s var(--ease);
}
body.splash-done #splash { opacity: 0; visibility: hidden; transform: scale(1.04); pointer-events: none; }
.splash-inner { text-align: center; }
.splash-mark { width: 116px; height: 116px; margin: 0 auto 18px; overflow: visible; }
.splash-mark .ring {
  fill: none; stroke: var(--gold); stroke-width: 1.4;
  stroke-dasharray: 340; stroke-dashoffset: 340;
  animation: draw 1.4s var(--ease) forwards;
  transform-origin: center;
}
.splash-mark .ring-2 { stroke-width: 0.8; opacity: 0.6; animation-delay: 0.25s; }
.splash-mark .crown {
  fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linejoin: round;
  stroke-dasharray: 160; stroke-dashoffset: 160;
  animation: draw 1.1s 0.5s var(--ease) forwards, crownFill 0.6s 1.4s forwards;
}
.splash-mark text {
  font-family: var(--serif); font-size: 40px; font-weight: 600; fill: var(--ink);
  opacity: 0; animation: fadeUp 0.8s 0.7s var(--ease) forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes crownFill { to { fill: rgba(205, 205, 205, 0.35); } }
.splash-word { font-family: var(--serif); font-size: clamp(34px, 8vw, 52px); font-weight: 600; letter-spacing: 0.04em; display: flex; justify-content: center; }
.splash-word span { display: inline-block; opacity: 0; transform: translateY(18px); animation: fadeUp 0.7s var(--ease) forwards; }
.splash-word span.g { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.splash-word span:nth-child(1) { animation-delay: 0.85s; }
.splash-word span:nth-child(2) { animation-delay: 0.9s; }
.splash-word span:nth-child(3) { animation-delay: 0.95s; }
.splash-word span:nth-child(4) { animation-delay: 1.0s; }
.splash-word span:nth-child(5) { animation-delay: 1.05s; }
.splash-word span:nth-child(6) { animation-delay: 1.1s; }
.splash-word span:nth-child(7) { animation-delay: 1.15s; }
.splash-word span:nth-child(8) { animation-delay: 1.2s; }
.splash-word span:nth-child(9) { animation-delay: 1.25s; }
.splash-line { width: 0; height: 1px; background: var(--gold-grad); margin: 14px auto 12px; animation: grow 0.9s 1.3s var(--ease) forwards; }
@keyframes grow { to { width: 140px; } }
.splash-tag { font-size: 11px; letter-spacing: 0.42em; text-transform: uppercase; color: var(--muted); opacity: 0; animation: fadeUp 0.8s 1.5s var(--ease) forwards; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

/* ==================== ANNOUNCEMENT ==================== */
.announce { height: var(--announce-h); background: var(--ink); color: var(--gold-2); overflow: hidden; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; display: flex; align-items: center; }
.announce-track { display: flex; gap: 56px; white-space: nowrap; animation: marquee 32s linear infinite; padding-left: 56px; }
.announce-track span::before { content: "✦"; margin-right: 56px; color: var(--gold); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ==================== HEADER ==================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(247, 247, 245, 0.86);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.4s, border-color 0.4s, box-shadow 0.4s, color 0.4s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 30px rgba(20, 20, 20, 0.06); }
.header-row { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--gold-2); font-family: var(--serif); font-size: 21px; font-weight: 600; box-shadow: inset 0 0 0 1.5px rgba(205, 205, 205, 0.6); }
.logo-text { font-family: var(--serif); font-size: 26px; font-weight: 600; letter-spacing: 0.01em; line-height: 1; }
.logo-text em { font-style: normal; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo-text small { font-family: var(--sans); font-size: 12px; color: var(--muted); margin-left: 2px; letter-spacing: 0.05em; }

.main-nav { display: none; align-items: center; gap: 30px; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; }
.main-nav > a, .nav-drop-btn { position: relative; padding: 8px 0; display: inline-flex; align-items: center; gap: 4px; text-transform: uppercase; letter-spacing: 0.08em; font-size: 14px; }
.main-nav > a::after, .nav-drop-btn::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform 0.45s var(--ease); }
.main-nav > a:hover::after, .main-nav > a.active::after, .nav-drop:hover .nav-drop-btn::after { transform: scaleX(1); transform-origin: left; }
.nav-drop-btn i[data-icon] { width: 14px; height: 14px; }
.nav-drop { position: relative; }
.nav-drop-menu { position: absolute; top: 100%; left: 50%; min-width: 240px; padding: 12px; background: var(--white); border-radius: var(--radius-sm); box-shadow: var(--shadow-2); opacity: 0; visibility: hidden; transform: translate(-50%, 10px); transition: 0.35s var(--ease); text-transform: none; letter-spacing: 0; }
.nav-drop:hover .nav-drop-menu, .nav-drop:focus-within .nav-drop-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-drop-menu a { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 10px; font-size: 15px; transition: background 0.25s; }
.nav-drop-menu a:hover { background: var(--paper); }
.nav-drop-menu img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }

.header-icons { display: flex; align-items: center; gap: 4px; }
.icon-btn { position: relative; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; transition: background 0.25s, transform 0.25s; }
.icon-btn:hover { background: rgba(110, 110, 110, 0.12); }
.icon-btn:active { transform: scale(0.92); }
.badge { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--gold); color: #fff; font-size: 11px; font-weight: 600; display: grid; place-items: center; line-height: 1; transform: scale(0); transition: transform 0.35s var(--ease); font-style: normal; }
.badge.show { transform: scale(1); }
.badge.bump { animation: bump 0.5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.45); } }

/* Home: header over hero */
body.is-home .site-header:not(.scrolled) { background: transparent; color: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
body.is-home .site-header:not(.scrolled) .logo-text small { color: rgba(255,255,255,0.7); }
body.is-home .site-header:not(.scrolled) .icon-btn:hover { background: rgba(255,255,255,0.15); }
body.is-home .site-header { position: fixed; left: 0; right: 0; top: var(--announce-h); }
body.is-home .site-header.scrolled { top: 0; }

@media (min-width: 1024px) {
  .main-nav { display: flex; }
}

/* ==================== MAIN / PAGE TRANSITION ==================== */
#app { min-height: 60vh; outline: none; }
.page { animation: pageIn 0.7s var(--ease); }
@keyframes pageIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ==================== REVEAL ON SCROLL ==================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.reveal-zoom { opacity: 0; transform: scale(0.96); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.reveal-zoom.in { opacity: 1; transform: none; }

/* ==================== BUTTONS ==================== */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 30px; border-radius: 999px;
  font-size: 14px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, background 0.3s, color 0.3s;
  white-space: nowrap;
}
.btn i[data-icon] { width: 18px; height: 18px; }
.btn:active { transform: scale(0.97); }
.btn-gold { background: var(--gold-grad); background-size: 200% 200%; color: #fff; box-shadow: 0 10px 30px rgba(110, 110, 110, 0.35); animation: shimmerBg 6s ease infinite; }
.btn-gold:hover { box-shadow: 0 14px 40px rgba(110, 110, 110, 0.5); transform: translateY(-2px); }
@keyframes shimmerBg { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.btn-dark { background: var(--ink); color: var(--ivory); }
.btn-dark:hover { background: #000; transform: translateY(-2px); box-shadow: var(--shadow-2); }
.btn-line { border: 1px solid var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--ivory); }
.btn-light { border: 1px solid rgba(255,255,255,0.7); color: #fff; }
.btn-light:hover { background: #fff; color: var(--ink); }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3); }
.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(37, 211, 102, 0.45); }
.btn-block { width: 100%; }
.btn::after { content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%; background: linear-gradient(110deg, transparent, rgba(255,255,255,0.35), transparent); transform: skewX(-20deg); transition: left 0.8s var(--ease); }
.btn:hover::after { left: 140%; }
.btn[disabled] { opacity: 0.5; pointer-events: none; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.link-arrow i[data-icon] { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.link-arrow:hover i[data-icon] { transform: translateX(4px); }

/* ==================== HERO (ROYAL ARCH) ==================== */
.hero {
  position: relative; overflow: hidden; color: #F4F4F4;
  background: radial-gradient(ellipse at 78% 38%, rgba(215, 215, 215, 0.22), transparent 55%), var(--royal-grad);
  padding: calc(var(--announce-h) + var(--header-h) + 22px) 0 56px;
}
.hero::before { content: ""; position: absolute; inset: 0; background-image: var(--jaali); background-size: 56px; opacity: 0.07; pointer-events: none; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-2), transparent); opacity: 0.6; }
.hero-track { display: grid; position: relative; z-index: 1; }
.hero-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity 1.1s var(--ease), visibility 1.1s; }
.hero-slide.active { opacity: 1; visibility: visible; }
.hero-grid { display: grid; gap: 34px; align-items: center; }
.hero-arch { order: -1; justify-self: center; position: relative; width: min(74vw, 340px); margin-top: 18px; }
.hero-arch::before { content: ""; position: absolute; inset: -12px; border: 1px solid rgba(215, 215, 215, 0.75); border-radius: 999px 999px 30px 30px; }
.hero-arch::after { content: "✦"; position: absolute; top: -30px; left: 50%; transform: translateX(-50%); color: var(--gold-2); font-size: 16px; line-height: 1; }
.arch-frame { position: relative; aspect-ratio: 4 / 5; border-radius: 999px 999px 22px 22px; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45); background: var(--royal-2); }
.arch-frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.14); }
.hero-slide.active .arch-frame img { animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.14); } to { transform: scale(1); } }
.hero-content { text-align: center; }
.hero-content > * { opacity: 0; transform: translateY(26px); }
.hero-slide.active .hero-content > * { animation: fadeUp 0.95s var(--ease) forwards; }
.hero-slide.active .hero-content > :nth-child(1) { animation-delay: 0.25s; }
.hero-slide.active .hero-content > :nth-child(2) { animation-delay: 0.4s; }
.hero-slide.active .hero-content > :nth-child(3) { animation-delay: 0.6s; }
.hero-slide.active .hero-content > :nth-child(4) { animation-delay: 0.8s; }
.hero-tag { display: inline-flex; align-items: center; gap: 12px; font-family: var(--display); font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 16px; }
.hero-tag::before, .hero-tag::after { content: ""; width: 28px; height: 1px; background: var(--gold-2); }
.hero .hero-title { font-size: clamp(36px, 6.2vw, 82px); font-weight: 500; line-height: 1.04; }
.hero p { margin: 16px auto 0; font-size: clamp(15px, 1.5vw, 18px); max-width: 44ch; color: rgba(244, 244, 244, 0.8); font-weight: 300; }
.hero-cta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero-dots { position: relative; z-index: 2; margin-top: 30px; }
.hero-dots .container { display: flex; align-items: center; justify-content: center; gap: 10px; }
.hero-dot { width: 40px; height: 2px; background: rgba(255, 255, 255, 0.25); position: relative; overflow: hidden; }
.hero-dot span { position: absolute; inset: 0; background: var(--gold-2); transform: scaleX(0); transform-origin: left; }
.hero-dot.active span { animation: dotFill var(--hero-ms, 6000ms) linear forwards; }
@keyframes dotFill { to { transform: scaleX(1); } }
.hero-count { margin-left: 12px; font-family: var(--display); font-size: 13px; letter-spacing: 0.12em; color: rgba(244, 244, 244, 0.75); }
@media (min-width: 900px) {
  .hero { min-height: min(100svh, 920px); display: flex; flex-direction: column; justify-content: center; padding-bottom: 70px; }
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 70px; }
  .hero-arch { order: 0; width: min(100%, 430px); margin-top: 30px; }
  .hero-content { text-align: left; }
  .hero-tag::after { display: none; }
  .hero p { margin-left: 0; }
  .hero-cta { justify-content: flex-start; }
  .hero-dots .container { justify-content: flex-start; }
}

/* ==================== SECTIONS ==================== */
.section { padding: clamp(56px, 9vw, 110px) 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: clamp(26px, 4vw, 46px); }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; font-weight: 500; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
.section-title { font-size: clamp(32px, 5vw, 56px); font-weight: 500; }
.section-title em { font-style: italic; color: var(--gold); }
.section-sub { color: var(--muted); margin-top: 10px; max-width: 52ch; }
.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.section-head.center { flex-direction: column; align-items: center; }

/* Marquee strip */
.strip { background: var(--paper); border-block: 1px solid var(--line); overflow: hidden; padding: 18px 0; }
.strip-track { display: flex; gap: 48px; width: max-content; animation: marquee 40s linear infinite; font-family: var(--serif); font-size: clamp(20px, 2.6vw, 28px); font-style: italic; color: var(--ink-2); }
.strip-track span { display: inline-flex; align-items: center; gap: 48px; white-space: nowrap; }
.strip-track span::after { content: "✦"; font-style: normal; font-size: 14px; color: var(--gold); }

/* ==================== CATEGORIES ==================== */
.cat-row { display: grid; grid-auto-flow: column; grid-auto-columns: 128px; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 16px 10px; margin: 0 -16px; scrollbar-width: none; }
.cat-row::-webkit-scrollbar { display: none; }
.cat-card { scroll-snap-align: start; text-align: center; }
.cat-img { position: relative; aspect-ratio: 3 / 4; border-radius: 999px 999px 18px 18px; overflow: hidden; background: var(--sand); }
.cat-img::after { content: ""; position: absolute; inset: 6px; border-radius: inherit; border: 1px solid rgba(255,255,255,0.55); pointer-events: none; transition: inset 0.5s var(--ease); }
.cat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.cat-card:hover .cat-img img { transform: scale(1.08); }
.cat-card:hover .cat-img::after { inset: 10px; }
.cat-name { margin-top: 12px; font-family: var(--serif); font-size: 19px; font-weight: 600; }
@media (min-width: 768px) {
  .cat-row { grid-auto-columns: 170px; margin: 0; padding: 4px 0 10px; }
}
@media (min-width: 1100px) {
  .cat-row { grid-auto-flow: row; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); overflow: visible; }
}

/* ==================== PRODUCT GRID & CARD ==================== */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
@media (min-width: 768px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 22px; } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.scroller { display: grid; grid-auto-flow: column; grid-auto-columns: 62%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 16px 10px; margin: 0 -16px; scrollbar-width: none; }
.scroller::-webkit-scrollbar { display: none; }
.scroller > * { scroll-snap-align: start; }
@media (min-width: 768px) { .scroller { grid-auto-columns: 34%; gap: 22px; margin: 0; padding: 0 0 10px; } }
@media (min-width: 1100px) { .scroller { grid-auto-columns: calc(25% - 17px); } }

.pcard { position: relative; display: flex; flex-direction: column; }
.pcard-media { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.pcard-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), opacity 0.7s var(--ease); }
.pcard-media img.alt { opacity: 0; }
.pcard:hover .pcard-media img { transform: scale(1.06); }
.pcard:hover .pcard-media img.alt { opacity: 1; }
.pcard-badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 6px; z-index: 2; }
.tag { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 10.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; background: #fff; color: var(--ink); box-shadow: var(--shadow-1); }
.tag-sale { background: var(--maroon); color: #fff; }
.tag-gold { background: var(--gold-grad); color: #fff; }
.tag-out { background: var(--ink); color: #fff; }
.wish-btn { position: absolute; top: 10px; right: 10px; z-index: 3; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.92); display: grid; place-items: center; box-shadow: var(--shadow-1); transition: transform 0.3s var(--ease), color 0.3s; }
.wish-btn i[data-icon] { width: 18px; height: 18px; }
.wish-btn:hover { transform: scale(1.1); }
.wish-btn.on { color: var(--maroon); }
.wish-btn.on svg path { fill: currentColor; }
.wish-btn.pop { animation: heartPop 0.6s var(--ease); }
@keyframes heartPop { 30% { transform: scale(1.35); } 60% { transform: scale(0.9); } }
.pcard-body { padding: 14px 2px 0; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.pcard-cat { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.pcard-title { font-family: var(--serif); font-size: clamp(18px, 2vw, 21px); font-weight: 600; line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.price b { font-size: 17px; font-weight: 600; }
.price s { font-size: 13.5px; color: var(--muted); }
.price .off { font-size: 12.5px; color: var(--green); font-weight: 600; }
.pcard-add { margin-top: 12px; height: 44px; border-radius: 999px; border: 1px solid var(--ink); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; display: flex; align-items: center; justify-content: center; gap: 8px; transition: background 0.3s, color 0.3s, transform 0.2s; }
.pcard-add i[data-icon] { width: 16px; height: 16px; }
.pcard-add:hover { background: var(--ink); color: var(--ivory); }
.pcard-add:active { transform: scale(0.97); }
.pcard-add.done { background: var(--green); border-color: var(--green); color: #fff; }
.pcard-add[disabled] { opacity: 0.45; pointer-events: none; }

/* ==================== EDITORIAL ==================== */
.editorial { display: grid; gap: 0; background: var(--ink); color: var(--ivory); }
.editorial-img { position: relative; min-height: 360px; overflow: hidden; }
.editorial-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); transition: transform 1.6s var(--ease); }
.editorial.in .editorial-img img { transform: scale(1); }
.editorial-text { padding: clamp(40px, 7vw, 100px) clamp(20px, 6vw, 90px); display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.editorial-text .eyebrow { color: var(--gold-2); }
.editorial-text .eyebrow::before { background: var(--gold-2); }
.editorial-text h2 { font-size: clamp(34px, 4.6vw, 60px); font-weight: 500; }
.editorial-text h2 em { color: var(--gold-2); }
.editorial-text p { color: rgba(247,247,245,0.72); max-width: 46ch; font-weight: 300; }
.editorial-list { list-style: none; padding: 0; margin: 6px 0 10px; display: grid; gap: 12px; }
.editorial-list li { display: flex; gap: 12px; align-items: center; color: rgba(247,247,245,0.9); }
.editorial-list li i[data-icon] { color: var(--gold-2); width: 20px; height: 20px; }
@media (min-width: 900px) { .editorial { grid-template-columns: 1.1fr 1fr; } .editorial-img { min-height: 620px; } }

/* ==================== PROMISE ==================== */
.promise { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.promise-item { background: var(--ivory); padding: 30px 18px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.promise-item i[data-icon] { width: 34px; height: 34px; color: var(--gold); }
.promise-item h4 { font-size: 20px; }
.promise-item p { font-size: 13.5px; color: var(--muted); max-width: 26ch; }
@media (min-width: 900px) { .promise { grid-template-columns: repeat(4, 1fr); } .promise-item { padding: 46px 24px; } }

/* WhatsApp band */
.wa-band { position: relative; overflow: hidden; border-radius: 28px; background: var(--paper); padding: clamp(36px, 6vw, 70px) clamp(22px, 5vw, 70px); display: grid; gap: 22px; align-items: center; }
.wa-band::before { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(205,205,205,0.35), transparent 70%); }
.wa-band h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 500; position: relative; }
.wa-band p { color: var(--muted); position: relative; }
.wa-band .btn { position: relative; justify-self: start; }
@media (min-width: 900px) { .wa-band { grid-template-columns: 1.4fr auto; } }

/* ==================== PAGE HEADER (inner pages) ==================== */
.page-hero { padding: 40px 0 26px; text-align: center; background: linear-gradient(180deg, var(--paper), var(--ivory)); }
.page-hero h1 { font-size: clamp(38px, 6vw, 64px); font-weight: 500; }
.page-hero p { color: var(--muted); margin-top: 8px; }
.crumbs { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.crumbs a:hover { color: var(--gold); }

/* ==================== SHOP ==================== */
.chips { display: flex; gap: 10px; overflow-x: auto; padding: 4px 16px 6px; margin: 0 -16px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
@media (min-width: 768px) { .chips { flex-wrap: wrap; justify-content: center; margin: 0; padding: 4px 0; } }
.chip { flex: none; height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 14px; display: inline-flex; align-items: center; transition: 0.3s var(--ease); }
.chip:hover { border-color: var(--gold); }
.chip.active { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.toolbar { display: flex; gap: 10px; align-items: center; justify-content: space-between; margin: 24px 0 26px; flex-wrap: wrap; }
.toolbar .count { color: var(--muted); font-size: 14px; }
.input, .select {
  height: 48px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line); background: #fff; width: 100%; font-size: 15px;
  transition: border-color 0.25s, box-shadow 0.25s; appearance: none; -webkit-appearance: none;
}
.input:focus, .select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(110,110,110,0.14); }
textarea.input { height: auto; min-height: 92px; padding: 12px 16px; resize: vertical; }
.select { 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 1l5 5 5-5' fill='none' stroke='%231F1B16' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.toolbar .select { width: auto; min-width: 190px; }
.shop-search { position: relative; flex: 1; min-width: 200px; max-width: 360px; }
.shop-search .input { padding-left: 44px; }
.shop-search i[data-icon] { position: absolute; left: 14px; top: 13px; color: var(--muted); }

.empty { text-align: center; padding: 70px 16px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.empty i[data-icon] { width: 56px; height: 56px; color: var(--gold); }
.empty h3 { font-size: 30px; font-weight: 500; }
.empty p { color: var(--muted); max-width: 40ch; }

/* ==================== PRODUCT PAGE ==================== */
.pdp { display: grid; gap: 26px; padding-top: 18px; padding-bottom: 40px; }
@media (min-width: 960px) { .pdp { grid-template-columns: 1.1fr 1fr; gap: 64px; padding-top: 34px; align-items: start; } }
.gallery { position: relative; }
@media (min-width: 960px) { .gallery { position: sticky; top: calc(var(--header-h) + 20px); } }
.gallery-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: var(--radius); scrollbar-width: none; background: var(--paper); }
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track img { flex: 0 0 100%; width: 100%; aspect-ratio: 1 / 1.05; object-fit: cover; scroll-snap-align: start; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; }
.gallery-thumbs button { flex: none; width: 72px; height: 72px; border-radius: 12px; overflow: hidden; opacity: 0.55; border: 2px solid transparent; transition: 0.3s; }
.gallery-thumbs button.active { opacity: 1; border-color: var(--gold); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gallery .wish-btn { top: 14px; right: 14px; width: 44px; height: 44px; }

.pdp-info { display: flex; flex-direction: column; gap: 18px; }
.pdp-info h1 { font-size: clamp(34px, 4.4vw, 52px); font-weight: 500; }
.pdp-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.pdp-price b { font-size: 30px; font-weight: 500; font-family: var(--sans); }
.pdp-price s { color: var(--muted); font-size: 18px; }
.pdp-price .off { background: rgba(30,123,79,0.1); color: var(--green); font-weight: 600; font-size: 13px; padding: 4px 10px; border-radius: 999px; }
.tax-note { font-size: 13px; color: var(--muted); margin-top: -10px; }
.stock { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; }
.stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(30,123,79,0.15); animation: pulse 2s infinite; }
.stock.low::before { background: #C77C12; box-shadow: 0 0 0 4px rgba(199,124,18,0.15); }
.stock.out::before { background: var(--maroon); animation: none; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(30,123,79,0); } }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: #fff; height: 52px; }
.qty button { width: 46px; height: 100%; display: grid; place-items: center; font-size: 20px; border-radius: 999px; transition: background 0.2s; }
.qty button:hover { background: var(--paper); }
.qty span { min-width: 32px; text-align: center; font-weight: 500; }
.qty.sm { height: 36px; }
.qty.sm button { width: 34px; font-size: 16px; }
.pdp-actions { display: grid; grid-template-columns: auto 1fr; gap: 10px; }
.pdp-actions .btn-gold { grid-column: 1 / -1; }
.highlights { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.highlights li { display: flex; gap: 10px; align-items: center; }
.highlights li i[data-icon] { color: var(--gold); width: 18px; height: 18px; }
.perks { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.perks div { padding: 14px 8px; text-align: center; font-size: 12.5px; color: var(--ink-2); display: flex; flex-direction: column; align-items: center; gap: 6px; }
.perks div + div { border-left: 1px solid var(--line); }
.perks i[data-icon] { color: var(--gold); }
.desc { border-top: 1px solid var(--line); padding-top: 18px; }
.desc h3 { font-size: 24px; margin-bottom: 10px; }
.desc p { color: var(--ink-2); margin-bottom: 10px; }
.share-link { display: inline-flex; gap: 8px; align-items: center; font-size: 14px; color: var(--muted); }
.share-link:hover { color: var(--green); }
.share-link i[data-icon] { width: 18px; height: 18px; }

.sticky-buy { position: fixed; left: 0; right: 0; bottom: var(--bottom-nav-h); z-index: 40; background: rgba(255,255,255,0.96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); padding: 10px 16px; display: flex; gap: 10px; align-items: center; transform: translateY(110%); transition: transform 0.45s var(--ease); }
.sticky-buy.show { transform: none; }
.sticky-buy .sb-price { display: flex; flex-direction: column; line-height: 1.15; margin-right: auto; }
.sticky-buy .sb-price b { font-size: 18px; }
.sticky-buy .sb-price s { font-size: 12px; color: var(--muted); }
.sticky-buy .btn { height: 46px; padding: 0 18px; font-size: 12px; letter-spacing: 0.1em; }
@media (min-width: 960px) { .sticky-buy { display: none; } }

/* ==================== CART DRAWER ==================== */
.drawer-backdrop { position: fixed; inset: 0; z-index: 80; background: rgba(10,10,10,0.45); opacity: 0; visibility: hidden; transition: 0.4s; }
.drawer { position: fixed; z-index: 90; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--ivory); display: flex; flex-direction: column; transform: translateX(100%); transition: transform 0.55s var(--ease); box-shadow: var(--shadow-2); }
body.cart-open .drawer { transform: none; }
body.cart-open .drawer-backdrop { opacity: 1; visibility: visible; }
body.cart-open, body.search-open { overflow: hidden; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-size: 28px; font-weight: 500; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 20px; }
.drawer-foot { padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fff; }
.ship-meter { font-size: 13px; color: var(--ink-2); margin-bottom: 14px; }
.ship-meter .bar { height: 4px; border-radius: 4px; background: var(--sand); margin-top: 8px; overflow: hidden; }
.ship-meter .bar span { display: block; height: 100%; background: var(--gold-grad); border-radius: inherit; transition: width 0.8s var(--ease); }
.citem { display: grid; grid-template-columns: 82px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); animation: pageIn 0.5s var(--ease); }
.citem img { width: 82px; height: 100px; object-fit: cover; border-radius: 12px; background: var(--paper); }
.citem-title { font-family: var(--serif); font-size: 18px; font-weight: 600; line-height: 1.2; }
.citem-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
.citem-remove { font-size: 12px; color: var(--muted); text-decoration: underline; margin-top: 6px; }
.citem-remove:hover { color: var(--maroon); }
.sum-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 15px; }
.sum-row.total { font-size: 19px; font-weight: 600; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; }
.sum-row .free { color: var(--green); font-weight: 600; }

/* ==================== CHECKOUT / ACCOUNT ==================== */
.checkout { display: grid; gap: 26px; padding: 26px 0 60px; }
@media (min-width: 960px) { .checkout { grid-template-columns: 1.3fr 1fr; gap: 50px; align-items: start; } }
.card { background: #fff; border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow-1); border: 1px solid rgba(20,20,20,0.05); }
.card h2 { font-size: 28px; font-weight: 500; margin-bottom: 4px; }
.card .card-sub { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; grid-column: span 2; }
.field.half { grid-column: span 1; }
@media (max-width: 520px) { .field.half { grid-column: span 2; } }
.field label { font-size: 13px; font-weight: 500; color: var(--ink-2); }
.field label span { color: var(--maroon); }
.field .err { font-size: 12.5px; color: var(--maroon); min-height: 0; }
.field.invalid .input, .field.invalid .select { border-color: var(--maroon); }
.summary { position: relative; }
@media (min-width: 960px) { .summary { position: sticky; top: calc(var(--header-h) + 20px); } }
.sum-item { display: grid; grid-template-columns: 58px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.sum-item img { width: 58px; height: 66px; border-radius: 10px; object-fit: cover; }
.sum-item .t { font-family: var(--serif); font-size: 17px; font-weight: 600; line-height: 1.2; }
.sum-item small { color: var(--muted); }
.pay-note { display: flex; gap: 12px; padding: 14px; border-radius: 12px; background: var(--paper); font-size: 13.5px; color: var(--ink-2); margin: 16px 0; }
.pay-note i[data-icon] { color: var(--gold); }
.addr-card { padding: 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--ivory); font-size: 14.5px; line-height: 1.55; }

.success { text-align: center; padding: 60px 0 80px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.success-check { width: 96px; height: 96px; }
.success-check circle { fill: none; stroke: var(--green); stroke-width: 3; stroke-dasharray: 290; stroke-dashoffset: 290; animation: draw 0.9s var(--ease) forwards; }
.success-check path { fill: none; stroke: var(--green); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw 0.5s 0.7s var(--ease) forwards; }
.success h1 { font-size: clamp(36px, 5vw, 54px); font-weight: 500; }
.success p { color: var(--muted); max-width: 46ch; }
.order-id { font-family: var(--serif); font-size: 22px; padding: 8px 18px; border-radius: 999px; background: var(--paper); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

.orders-list { display: grid; gap: 14px; }
.order-row { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--ivory); flex-wrap: wrap; }
.order-row b { font-family: var(--serif); font-size: 19px; }
.order-row small { color: var(--muted); display: block; }

.account-grid { display: grid; gap: 24px; padding: 26px 0 60px; }
@media (min-width: 960px) { .account-grid { grid-template-columns: 1.2fr 1fr; align-items: start; } }

/* ==================== SEARCH OVERLAY ==================== */
.search-overlay { position: fixed; inset: 0; z-index: 95; background: rgba(247,247,245,0.97); backdrop-filter: blur(10px); opacity: 0; visibility: hidden; transition: 0.4s var(--ease); overflow-y: auto; }
body.search-open .search-overlay { opacity: 1; visibility: visible; }
.search-box { padding-top: 26px; padding-bottom: 40px; transform: translateY(-16px); transition: transform 0.5s var(--ease); }
body.search-open .search-box { transform: none; }
.search-field { display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--ink); padding-bottom: 10px; }
.search-field input { flex: 1; border: 0; background: transparent; font-family: var(--serif); font-size: clamp(26px, 4vw, 40px); outline: none; min-width: 0; }
.search-results { margin-top: 24px; display: grid; gap: 6px; }
.sr-item { display: grid; grid-template-columns: 60px 1fr auto; gap: 14px; align-items: center; padding: 10px; border-radius: 14px; transition: background 0.25s; animation: pageIn 0.4s var(--ease); }
.sr-item:hover { background: var(--paper); }
.sr-item img { width: 60px; height: 70px; border-radius: 10px; object-fit: cover; }
.sr-item .t { font-family: var(--serif); font-size: 19px; font-weight: 600; }
.sr-item small { color: var(--muted); }
.sr-hint { color: var(--muted); font-size: 14px; }
.sr-hint a { color: var(--gold); text-decoration: underline; }

/* ==================== FOOTER ==================== */
.site-footer { background: var(--ink); color: rgba(247,247,245,0.75); padding: 64px 0 28px; margin-top: 30px; }
.footer-grid { display: grid; gap: 34px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.3fr; } }
.site-footer .logo-text { color: var(--ivory); }
.site-footer p { font-size: 14.5px; margin-top: 14px; max-width: 36ch; }
.site-footer h4 { font-family: var(--sans); font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-2); font-weight: 500; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14.5px; }
.site-footer ul a:hover { color: var(--gold-2); }
.site-footer li { display: flex; gap: 10px; align-items: flex-start; }
.site-footer li i[data-icon] { width: 18px; height: 18px; color: var(--gold-2); margin-top: 3px; }
.footer-bottom { margin-top: 46px; padding-top: 22px; border-top: 1px solid rgba(247,247,245,0.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 13px; }

/* ==================== MOBILE BOTTOM NAV ==================== */
.bottom-nav { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; height: calc(64px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: rgba(255,255,255,0.96); backdrop-filter: blur(14px); border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(5, 1fr); }
.bottom-nav > * { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 10.5px; letter-spacing: 0.06em; color: var(--muted); transition: color 0.3s; }
.bottom-nav > * i[data-icon] { width: 22px; height: 22px; transition: transform 0.35s var(--ease); }
.bottom-nav > .active { color: var(--ink); }
.bottom-nav > .active i[data-icon] { transform: translateY(-2px); color: var(--gold); }
.bottom-nav > .active::before { content: ""; position: absolute; top: 0; width: 26px; height: 2px; border-radius: 2px; background: var(--gold-grad); }
.bottom-nav .badge { top: 6px; right: calc(50% - 22px); }
body { --bottom-nav-h: 64px; }
@media (min-width: 768px) {
  .bottom-nav { display: none; }
  body { --bottom-nav-h: 0px; }
  .hide-sm { display: grid; }
}
@media (max-width: 767px) { .hide-sm { display: none; } }

/* ==================== WHATSAPP FLOAT ==================== */
.wa-float { position: fixed; z-index: 55; right: 16px; bottom: calc(var(--bottom-nav-h) + 16px + env(safe-area-inset-bottom)); width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(37,211,102,0.45); transition: transform 0.3s var(--ease); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--wa); z-index: -1; animation: ripple 2.4s infinite; }
@keyframes ripple { from { transform: scale(1); opacity: 0.6; } to { transform: scale(1.7); opacity: 0; } }
.wa-float i[data-icon] { width: 28px; height: 28px; }
.wa-float:hover { transform: scale(1.08); }
body.on-product .wa-float { bottom: calc(var(--bottom-nav-h) + 86px); }
@media (min-width: 960px) { body.on-product .wa-float { bottom: 24px; } .wa-float { right: 24px; bottom: 24px; } }

/* ==================== TOAST ==================== */
.toast { position: fixed; z-index: 120; left: 50%; bottom: calc(var(--bottom-nav-h) + 24px); transform: translate(-50%, 30px); background: var(--ink); color: var(--ivory); padding: 13px 20px; border-radius: 999px; font-size: 14px; opacity: 0; pointer-events: none; transition: 0.45s var(--ease); display: flex; gap: 10px; align-items: center; box-shadow: var(--shadow-2); max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast i[data-icon] { width: 18px; height: 18px; color: var(--gold-2); }

/* fly-to-cart clone */
.fly { position: fixed; z-index: 200; border-radius: 14px; object-fit: cover; pointer-events: none; box-shadow: var(--shadow-2); }

/* Skeleton shimmer for images */
.pcard-media, .gallery-track, .cat-img { background: linear-gradient(100deg, var(--paper) 30%, #f6f6f6 50%, var(--paper) 70%) 0 0 / 300% 100%; animation: skel 1.6s linear infinite; }
@keyframes skel { to { background-position: -150% 0; } }

/* ============================================================
   ROYAL PALACE THEME — maroon, gold, arches, jaali
   ============================================================ */
/* Logo & type */
.logo-mark { background: var(--royal); color: var(--gold-2); font-family: var(--display); font-size: 18px; box-shadow: inset 0 0 0 1.5px rgba(215, 215, 215, 0.7), 0 0 0 3px rgba(130, 130, 130, 0.18); }
.logo-text { font-family: var(--display); font-size: 21px; letter-spacing: 0.05em; font-weight: 600; }
.logo-text small { font-family: var(--sans); }
.eyebrow { font-family: var(--display); letter-spacing: 0.24em; font-size: 11.5px; font-weight: 600; }
.main-nav > a, .nav-drop-btn { font-family: var(--display); font-size: 13px; letter-spacing: 0.12em; font-weight: 500; }

/* Ornament under centred headings */
.section-head.center::after { content: ""; display: block; width: 140px; height: 16px; margin: 16px auto 0; background: var(--orn) center / contain no-repeat; }

/* Announcement */
.announce { background: var(--royal-2); color: var(--gold-2); font-family: var(--display); letter-spacing: 0.18em; font-size: 11px; }

/* Buttons */
.btn { font-family: var(--display); letter-spacing: 0.14em; font-weight: 600; font-size: 13px; }
.btn-dark { background: var(--royal); color: #F4F4F4; }
.btn-dark:hover { background: var(--royal-2); }
.btn-line { border-color: var(--royal); color: var(--royal); }
.btn-line:hover { background: var(--royal); color: #F4F4F4; }
.btn-gold { color: #111; }
.link-arrow { color: var(--royal); font-family: var(--display); letter-spacing: 0.14em; }

/* Strip */
.strip { background: var(--royal); border: 0; position: relative; }
.strip::before { content: ""; position: absolute; inset: 0; background-image: var(--jaali); background-size: 40px; opacity: 0.06; }
.strip-track { color: var(--gold-2); }
.strip-track span::after { color: var(--gold-2); }

/* Categories — arch with gold ring */
.cat-row { padding-top: 10px; }
.cat-img { box-shadow: 0 0 0 1px var(--gold), 0 0 0 5px var(--ivory), 0 0 0 6px rgba(130, 130, 130, 0.35); margin: 6px; }
.cat-name { font-family: var(--display); font-size: 14.5px; letter-spacing: 0.08em; color: var(--royal); }

/* Product cards — palace arch */
.pcard-frame { position: relative; }
.pcard-media { border-radius: 999px 999px 16px 16px; }
.pcard-media::after { content: ""; position: absolute; inset: 7px; border: 1px solid rgba(244, 244, 244, 0.75); border-radius: 999px 999px 11px 11px; opacity: 0; transition: opacity 0.5s var(--ease), inset 0.5s var(--ease); pointer-events: none; z-index: 2; }
.pcard:hover .pcard-media::after { opacity: 1; inset: 10px; }
.pcard-badges { top: auto; bottom: 10px; left: 10px; flex-direction: row; flex-wrap: wrap; }
.pcard-frame .wish-btn { top: auto; bottom: 10px; right: 10px; }
.pcard-cat { font-family: var(--display); letter-spacing: 0.14em; font-size: 10.5px; color: var(--gold); }
.price b { color: var(--royal); }
.pcard-add { border-color: var(--royal); color: var(--royal); font-family: var(--display); letter-spacing: 0.12em; font-weight: 600; font-size: 11.5px; }
.pcard-add:hover { background: var(--royal); color: #F4F4F4; }
.tag { font-family: var(--display); letter-spacing: 0.08em; }
.tag-sale { background: var(--royal); }

/* Editorial */
.editorial { background: var(--royal-grad); position: relative; }
.editorial::before { content: ""; position: absolute; inset: 0; background-image: var(--jaali); background-size: 56px; opacity: 0.06; pointer-events: none; }
.editorial-img::after { content: ""; position: absolute; inset: 18px; border: 1px solid rgba(215, 215, 215, 0.7); pointer-events: none; }
.editorial-text { position: relative; }

/* Promise */
.promise { background: rgba(130, 130, 130, 0.25); }
.promise-item h4 { font-family: var(--display); font-size: 16px; letter-spacing: 0.06em; color: var(--royal); }

/* WhatsApp band */
.wa-band { background: var(--paper); border: 1px solid rgba(130, 130, 130, 0.35); }
.wa-band::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(130, 130, 130, 0.25); border-radius: 20px; pointer-events: none; }

/* Inner page headers */
.page-hero { background: var(--royal-grad); color: #F4F4F4; padding: 46px 0 40px; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background-image: var(--jaali); background-size: 56px; opacity: 0.07; }
.page-hero .container { position: relative; }
.page-hero .crumbs, .page-hero .crumbs a { color: var(--gold-2); }
.page-hero p { color: rgba(244, 244, 244, 0.75); }
.page-hero h1::after { content: ""; display: block; width: 140px; height: 16px; margin: 14px auto 0; background: var(--orn) center / contain no-repeat; filter: brightness(1.5); }
.chips { margin-top: 22px; }
.chip.active { background: var(--royal); border-color: var(--royal); }

/* Product page */
.gallery-track { border-radius: 26px; box-shadow: 0 0 0 1px rgba(130, 130, 130, 0.4), 0 0 0 7px var(--ivory), 0 0 0 8px rgba(130, 130, 130, 0.25); }
.pdp-price b { color: var(--royal); }
.perks i[data-icon], .highlights li i[data-icon] { color: var(--gold); }

/* Cards / checkout */
.card { border: 1px solid rgba(130, 130, 130, 0.18); }
.drawer-head h3, .card h2 { color: var(--royal); }

/* Footer */
.site-footer { background: var(--royal-grad); position: relative; border-top: 1px solid var(--gold); }
.site-footer::before { content: ""; position: absolute; inset: 0; background-image: var(--jaali); background-size: 56px; opacity: 0.05; pointer-events: none; }
.site-footer .container { position: relative; }
.site-footer h4 { font-family: var(--display); letter-spacing: 0.2em; }

/* Bottom nav */
.bottom-nav > .active { color: var(--royal); }

/* Splash in royal colours (background stays white) */
.splash-mark text { fill: var(--royal); font-family: var(--display); font-size: 34px; }
.splash-word { font-family: var(--display); letter-spacing: 0.08em; font-size: clamp(28px, 7vw, 44px); }
.splash-word span:not(.g) { color: var(--royal); }

/* Mobile polish */
.link-arrow { white-space: nowrap; flex: none; }
@media (max-width: 899px) {
  .hero { padding-top: calc(var(--announce-h) + var(--header-h) + 8px); padding-bottom: 40px; }
  .hero-arch { width: min(56vw, 250px); margin-top: 22px; }
  .hero-grid { gap: 26px; }
  .hero .hero-title { font-size: clamp(32px, 8.6vw, 46px); }
  .hero p { font-size: 14.5px; margin-top: 12px; }
  .hero-cta { margin-top: 20px; }
}
@media (max-width: 767px) {
  .pcard-badges .tag:nth-child(n+2) { display: none; }
  .section-head { align-items: flex-end; }
}

/* ==================== BRAND LOGO (Mir Decor) ==================== */
.logo-img { width: 46px; height: 46px; border-radius: 50%; flex: none; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25), 0 4px 14px rgba(0, 0, 0, 0.25); transition: transform 0.6s var(--ease); }
.logo:hover .logo-img { transform: rotate(-8deg) scale(1.05); }
.logo-text { font-family: var(--display); font-size: 20px; letter-spacing: 0.14em; font-weight: 600; white-space: nowrap; }
.logo-lg .logo-img { width: 72px; height: 72px; }
.logo-lg .logo-text { font-size: 22px; }
@media (max-width: 380px) { .logo-text { font-size: 17px; letter-spacing: 0.1em; } .logo-img { width: 40px; height: 40px; } }

/* Splash with real logo */
.splash-logo { position: relative; width: 176px; height: 176px; margin: 0 auto 8px; }
.splash-logo img { position: absolute; inset: 10px; width: 156px; height: 156px; border-radius: 50%; opacity: 0; transform: scale(0.82); filter: blur(6px); box-shadow: 0 22px 50px rgba(0, 0, 0, 0.28); animation: logoIn 1.1s 0.35s var(--ease) forwards; }
.splash-logo::after { content: ""; position: absolute; inset: 10px; border-radius: 50%; pointer-events: none; background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, 0.6) 50%, transparent 62%); background-size: 260% 100%; background-position: 160% 0; animation: shine 1.3s 1.25s ease-in-out forwards; }
.splash-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.splash-ring circle { fill: none; stroke: #A9A9A9; stroke-width: 1.2; stroke-dasharray: 604; stroke-dashoffset: 604; animation: draw 1.4s var(--ease) forwards; }
@keyframes logoIn { to { opacity: 1; transform: none; filter: none; } }
@keyframes shine { to { background-position: -60% 0; } }
.splash-line { background: linear-gradient(90deg, transparent, #8E8E8E, transparent); animation-delay: 1.1s; }
.splash-tag { font-family: var(--display); letter-spacing: 0.26em; font-size: 11px; color: #5E5E5E; animation-delay: 1.3s; }

/* Categories: few categories sit centred on bigger screens */
@media (min-width: 768px) { .cat-row { justify-content: safe center; } }
@media (min-width: 1100px) { .cat-row { grid-template-columns: repeat(auto-fit, minmax(150px, 220px)); justify-content: center; gap: 40px; } }

/* ==================== BLACK + SILVER finishing ==================== */
.logo-text em, .splash-word span.g { background: var(--gold-grad); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: chrome 6s linear infinite; }
body.is-home .site-header:not(.scrolled) .logo-text em, .site-footer .logo-text em { background: linear-gradient(135deg, #BDBDBD 0%, #FFFFFF 45%, #CFCFCF 60%, #9E9E9E 100%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; }
@keyframes chrome { to { background-position: -200% 0; } }
.section-title em { color: var(--ink-2); font-weight: 500; }
.btn-gold { border: 1px solid rgba(255, 255, 255, 0.6); }
.tag-gold { color: #111; }
.hero { background: radial-gradient(ellipse at 78% 38%, rgba(255, 255, 255, 0.10), transparent 55%), var(--royal-grad); }

/* ==================== SPLASH: Aligarh artisan line ==================== */
.splash-inner { padding: 0 20px; }
.splash-quote { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(18px, 4.9vw, 27px); line-height: 1.4; color: #2A2A2A; max-width: min(92vw, 560px); margin: 22px auto 0; text-wrap: balance; }
@media (max-width: 480px) { #splash .splash-tag { letter-spacing: 0.16em; font-size: 10px; } }
.splash-quote span { display: inline-block; opacity: 0; transform: translateY(12px); filter: blur(5px); animation: wordIn 0.7s var(--ease) forwards; animation-delay: calc(1.45s + var(--i) * 0.1s); }
.splash-quote .chrome { font-style: normal; font-family: var(--display); font-weight: 600; letter-spacing: 0.08em; font-size: 0.92em; background: linear-gradient(135deg, #5E5E5E 0%, #CFCFCF 40%, #FFFFFF 50%, #9A9A9A 62%, #5E5E5E 100%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: wordIn 0.7s var(--ease) forwards, chrome 3s 2.6s linear infinite; animation-delay: calc(1.45s + var(--i) * 0.1s), 2.6s; }
@keyframes wordIn { to { opacity: 1; transform: none; filter: none; } }
#splash .splash-line { animation-delay: 2.5s; margin-top: 18px; }
#splash .splash-tag { animation-delay: 2.7s; }

/* ==================== SPLASH: Aligarh legends background ==================== */
#splash { overflow: hidden; isolation: isolate; }
.splash-inner { position: relative; z-index: 2; }
.splash-legends { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.splash-legends img {
  position: absolute; left: var(--x); top: var(--y); width: clamp(120px, var(--w), 270px); height: auto;
  opacity: 0; filter: grayscale(1) contrast(1.08) brightness(1.04); mix-blend-mode: multiply;
  -webkit-mask-image: radial-gradient(ellipse 50% 52% at 50% 44%, #000 42%, transparent 74%);
  mask-image: radial-gradient(ellipse 50% 52% at 50% 44%, #000 42%, transparent 74%);
}
.splash-legends img.lr { transform: translateX(-70px); animation: legendIn 1.8s var(--ease) var(--delay) forwards, driftX 7s ease-in-out calc(var(--delay) + 1.8s) infinite alternate; }
.splash-legends img.td { transform: translateY(-70px); animation: legendIn 1.8s var(--ease) var(--delay) forwards, driftY 7s ease-in-out calc(var(--delay) + 1.8s) infinite alternate; }
@keyframes legendIn { to { opacity: 0.17; transform: none; } }
@keyframes driftX { from { opacity: 0.17; transform: none; } to { opacity: 0.17; transform: translateX(16px); } }
@keyframes driftY { from { opacity: 0.17; transform: none; } to { opacity: 0.17; transform: translateY(16px); } }
@media (min-width: 900px) {
  .splash-legends img:nth-child(3) { left: 8%; }
  .splash-legends img:nth-child(4) { left: 80%; }
}

/* ==================== HOME SEO / ABOUT BLOCK ==================== */
.seo-block { padding: clamp(46px, 7vw, 80px) 0; border-top: 1px solid var(--line); background: var(--paper); }
.seo-block .container { max-width: 900px; text-align: center; }
.seo-block .eyebrow { justify-content: center; }
.seo-block h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 500; margin-bottom: 16px; }
.seo-block p { color: var(--ink-2); margin-bottom: 12px; line-height: 1.75; }
.seo-block a { text-decoration: underline; text-underline-offset: 3px; }

/* ==================== FOOTER EXTRAS ==================== */
.footer-note { margin-top: 14px; font-size: 13px; padding: 10px 14px; border: 1px solid rgba(255,255,255,0.15); border-radius: 12px; display: inline-flex; gap: 8px; align-items: center; }
.dev-credit a { color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px; }
.dev-credit a:hover { color: #fff; }

/* ==================== STATIC INFO PAGES (about, policies, support) ==================== */
body.static-page { --bottom-nav-h: 0px; }
.static-header { position: sticky; top: 0; z-index: 50; background: rgba(247, 247, 245, 0.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.static-header .header-row { height: 70px; }
.static-header nav { display: flex; gap: 18px; font-family: var(--display); font-size: 12.5px; letter-spacing: 0.12em; }
.static-header nav a:hover { color: var(--gold); }
@media (max-width: 600px) { .static-header nav a.hide-xs { display: none; } }
.prose { max-width: 780px; margin: 0 auto; padding: 46px 16px 70px; }
.prose h2 { font-size: clamp(26px, 3.4vw, 34px); font-weight: 500; margin: 34px 0 12px; }
.prose h3 { font-size: 22px; margin: 22px 0 8px; }
.prose p, .prose li { color: var(--ink-2); line-height: 1.8; }
.prose p { margin-bottom: 12px; }
.prose ul { padding-left: 20px; margin: 8px 0 14px; }
.prose li { margin-bottom: 6px; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose .updated { color: var(--muted); font-size: 14px; }
.callout { padding: 18px 20px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); margin: 18px 0; }
.callout b { color: var(--ink); }
.mission-grid { display: grid; gap: 16px; margin: 20px 0; }
@media (min-width: 700px) { .mission-grid { grid-template-columns: repeat(3, 1fr); } }
.mission-card { padding: 22px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.mission-card h3 { margin-top: 0; font-family: var(--display); font-size: 16px; letter-spacing: 0.08em; }
.support-cards { display: grid; gap: 14px; margin: 20px 0; }
@media (min-width: 700px) { .support-cards { grid-template-columns: repeat(2, 1fr); } }
.support-card { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-1); text-decoration: none !important; transition: transform 0.3s var(--ease), box-shadow 0.3s; }
.support-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.support-card .ico { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--royal); color: #fff; flex: none; font-size: 20px; }
.support-card b { display: block; font-size: 17px; color: var(--ink); }
.support-card span { color: var(--muted); font-size: 14px; }

/* ==================== REDUCED MOTION ==================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal, .reveal-zoom { opacity: 1; transform: none; }
}
