/* ===================================================================
   House of Cards — theme
   Palette: red (#e11b22) + white, ink black, warm ivory, gold accent
   Type:    Playfair Display serif headings + system-ui sans body
   =================================================================== */

:root {
  --red: #e11b22;
  --red-dark: #b3141a;
  --red-deep: #7d0d12;
  --ink: #1a1a1a;
  --ink-soft: #4a4a4a;
  --muted: #8a8a8a;
  --ivory: #fbf6f3;
  --cream: #f6efe9;
  --line: #ece3dd;
  --white: #ffffff;
  --gold: #c9a96a;

  --shadow-sm: 0 2px 8px rgba(26, 16, 16, 0.06);
  --shadow-md: 0 10px 30px rgba(125, 13, 18, 0.10);
  --shadow-lg: 0 24px 60px rgba(125, 13, 18, 0.18);

  --radius: 14px;
  --radius-lg: 22px;
  --container: 1200px;

  --serif: "Playfair Display", Georgia, "Times New Roman", "Noto Serif", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; overflow-x: hidden; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden; /* contain animated/rotating decorative layers */
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* Visible keyboard-focus ring — applies site-wide, including the custom
   tabindex="0" role="button" cards (faith-card, style-card) that have no
   other focus indicator of their own. */
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }
.search-form input:focus-visible { outline: 2px solid var(--red); outline-offset: -2px; border-radius: 0; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; line-height: 1.15; margin: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-weight: 600; font-size: 15px;
  padding: 12px 22px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--red); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--red-dark); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--red); color: var(--red); }
.btn-light { background: #fff; color: var(--red); }
.btn-light:hover { background: var(--cream); }

.eyebrow {
  display: inline-block; font-family: var(--sans); font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase; font-size: 12px;
  color: var(--red); margin-bottom: 10px;
}
.eyebrow::before { content: "✦"; margin-right: 8px; color: var(--gold); }

.section { padding: 84px 0; }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); color: var(--ink); }
.section-head p { color: var(--ink-soft); font-size: 17px; margin-top: 12px; }
.section-alt { background: var(--ivory); }

/* ===================== Ticker bar (static, after stat strip) ===================== */
.ticker-bar {
  width: 100%; overflow: hidden; display: flex; align-items: center;
  height: 40px; background: var(--ink); color: #f3eae6;
}
.ticker-track {
  display: flex; white-space: nowrap;
  animation: ticker-scroll 28s linear infinite;
}
.ticker-item {
  padding: 0 40px; font-size: 11.5px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
}
.ticker-sep { padding: 0 10px; opacity: .4; font-size: 10px; }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===================== Top utility bar ===================== */
.topbar {
  background: var(--ink); color: #f3eae6; font-size: 13px;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 38px; }
.topbar a:hover { color: #fff; }
.topbar .tb-right { display: flex; gap: 18px; align-items: center; }
.topbar .dot { opacity: .4; }

/* ===================== Header / nav (overlays hero, turns solid on scroll) ===================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  background: transparent; border-bottom: 1px solid transparent;
  transition: transform .35s ease, opacity .35s ease, background .35s ease;
}
.site-header.hidden { transform: translateY(-100%); opacity: 0; pointer-events: none; }
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(125, 13, 18, 0.07);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 84px; transition: height .35s ease; }
.site-header.scrolled .nav { height: 72px; }

/* brand: new main logo (header) */
.brand { display: flex; align-items: center; flex-shrink: 0; margin-right: 10px; }
.brand-logo {
  height: 72px; width: auto; display: block;
  filter: drop-shadow(0 4px 14px rgba(0,0,0,0.38));
  transition: filter .25s ease, transform .25s ease, height .35s ease;
}
/* Logo corner — fixed top-left, completely detached from header.
   A white card tucked flush into the corner, rounded only on the
   bottom-right edge (like a tag/flag sticking out of the corner). */
.logo-corner {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  display: block;
  line-height: 0;
}
.logo-corner-card {
  display: flex;
  align-items: center;
  background: #fff;
  padding: 14px 24px 14px 18px;
  border-radius: 0 0 28px 0;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
  transition: box-shadow .25s ease, transform .25s ease;
}
.logo-corner .brand-logo {
  height: 52px;
  width: auto;
  display: block;
  filter: none;
  transition: transform .25s ease;
}
.logo-corner:hover .logo-corner-card {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.24);
}
@media (max-width: 860px) { .logo-corner { display: none; } }

/* brand badge: used in footer, drawer, preloader */
.brand-badge {
  display: grid; place-items: center; border-radius: 14px;
  width: 60px; height: 60px; padding: 6px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
  transition: transform .25s ease, width .35s ease, height .35s ease,
              box-shadow .35s ease, background .35s ease, border-color .35s ease;
}
.brand-badge img { width: 100%; height: 100%; object-fit: contain; }
.brand-badge-lg { width: 92px; height: 92px; border-radius: 18px; padding: 10px; margin-bottom: 18px; }

.nav-mobile-cta { display: none; }   /* shown only inside the mobile menu */

/* over the hero (header not yet solid) the nav text is white — desktop only,
   because on mobile the menu is a white dropdown panel that needs dark text */
@media (min-width: 861px) {
  .site-header:not(.scrolled) .nav-menu > li > a,
  .site-header:not(.scrolled) .nav-menu > li > .nav-trigger { color: #fff; }
  .site-header:not(.scrolled) .nav-menu > li > a:hover,
  .site-header:not(.scrolled) .nav-menu > li > .nav-trigger:hover { background: none; color: rgba(255,255,255,0.75); }
}
.site-header:not(.scrolled) .hamburger span { background: #fff; }

.nav-menu { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-menu > li > a, .nav-menu > li > .nav-trigger {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 16px; border-radius: 999px; font-weight: 600; font-size: 15px;
  color: var(--ink); background: none; border: none; cursor: pointer; font-family: var(--sans);
}
.nav-menu > li > a:hover, .nav-menu > li > .nav-trigger:hover { color: var(--red); background: none; }
.nav-menu > li.open > .nav-trigger { color: var(--red); background: none; }
.nav-trigger .caret { transition: transform .2s ease; font-size: 11px; }
.nav-menu > li.open .nav-trigger .caret { transform: rotate(180deg); }

.nav-actions { display: flex; align-items: center; gap: 10px; }

/* Mobile/tablet-only brand mark inside the fixed header bar (desktop uses
   the separate detached .logo-corner instead, which is hidden below 861px).
   Sits on its own white chip so it stays legible whether the header is
   transparent-over-hero or solid/scrolled. */
.mobile-brand {
  display: none;
  align-items: center;
  flex-shrink: 0;
  background: #fff;
  border-radius: 12px;
  padding: 6px 12px 6px 8px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
}
.mobile-brand img { height: 34px; width: auto; display: block; }

/* dropdown (mega) */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(10px);
  width: 560px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 18px;
  opacity: 0; visibility: hidden; transition: opacity .18s ease, transform .18s ease;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px;
}
.dropdown::before {
  content: ""; position: absolute; top: -7px; left: 50%; transform: translateX(-50%) rotate(45deg);
  width: 14px; height: 14px; background: #fff; border-left: 1px solid var(--line); border-top: 1px solid var(--line);
}
.has-dropdown:hover .dropdown,
.has-dropdown.open .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }

/* column heading with divider line */
.dd-col h4 {
  font-family: var(--sans); font-size: 10px; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--muted); margin: 6px 10px 10px;
  padding-bottom: 8px; border-bottom: 1px solid var(--line);
}
/* vertical divider between columns */
.dropdown > .dd-col + .dd-col { border-left: 1px solid var(--line); padding-left: 18px; }

/* clean text-only link rows */
.dd-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 10px; border-radius: 8px; transition: background .15s;
}
.dd-link:hover { background: var(--cream); }
.dd-link .tx b { display: block; font-size: 14px; color: var(--ink); font-weight: 600; font-family: var(--sans); }
.dd-link .tx small { color: var(--muted); font-size: 12px; }

/* nested wedding submenu */
.dd-sub { position: relative; }
.dd-sub > .dd-link .chev { color: var(--muted); font-size: 16px; flex-shrink: 0; }
.submenu {
  position: absolute; top: -18px; left: calc(100% + 8px);
  width: 230px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 10px; opacity: 0; visibility: hidden; transform: translateX(8px);
  transition: opacity .16s ease, transform .16s ease; z-index: 2;
}
.dd-sub:hover .submenu,
.dd-sub.open .submenu { opacity: 1; visibility: visible; transform: translateX(0); }
.submenu a {
  display: flex; align-items: center; gap: 10px; padding: 8px 10px;
  border-radius: 8px; font-size: 14px;
}
.submenu a + a { border-top: 1px solid var(--line); }
.submenu a:hover { background: var(--cream); color: var(--red); }
.dd-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red); flex-shrink: 0; }

/* mobile menu toggle */
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .25s; }

/* ===================== Full-screen animated hero ===================== */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; overflow: hidden;
  background: #5e0a0f; color: #fff; padding: 110px 0 90px;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-layer { position: absolute; inset: 0; }

/* Full-screen background video */
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  z-index: 0;
}

/* gradient overlay removed — video plays clean */
.hero-gradient { display: none; }

/* faint giant rotating brand motif for texture */
.hero-motif {
  background: url('/assets/logo-mark.svg') center / min(64vmin, 620px) no-repeat;
  opacity: .06; mix-blend-mode: screen; animation: heroSpin 100s linear infinite;
}
@keyframes heroSpin { to { transform: rotate(360deg) scale(1.06); } }

/* diagonal light sheen sweeping across */
.hero-sheen {
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .08) 45%,
              rgba(255, 231, 209, .16) 50%, rgba(255, 255, 255, .08) 55%, transparent 70%);
  background-size: 250% 100%; animation: heroSheen 10s ease-in-out infinite;
}
@keyframes heroSheen { 0%, 100% { background-position: 130% 0; } 50% { background-position: -30% 0; } }

/* floating bokeh particles (injected by JS) */
.hero-particles { overflow: hidden; }
.particle {
  position: absolute; bottom: -8%; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255, 236, 210, .95), rgba(201, 169, 106, .25) 60%, transparent 72%);
  filter: blur(.4px); opacity: 0; animation: floatUp linear infinite;
}
@keyframes floatUp {
  0%   { transform: translateY(0) translateX(0) scale(.7); opacity: 0; }
  12%  { opacity: .9; }
  88%  { opacity: .5; }
  100% { transform: translateY(-114vh) translateX(var(--drift, 24px)) scale(1.12); opacity: 0; }
}

/* dark vignette for legibility (stronger lower-left, where the copy sits) */
.hero-vignette {
  background:
    radial-gradient(120% 95% at 28% 62%, rgba(15, 4, 5, .55), rgba(15, 4, 5, 0) 60%),
    linear-gradient(180deg, rgba(15, 4, 5, .45) 0%, rgba(15, 4, 5, .10) 32%, rgba(15, 4, 5, .38) 100%);
}

.hero-inner { position: relative; z-index: 2; width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.hero-inner .eyebrow, .hero-inner .eyebrow::before { color: #ffd9a8; }
.hero-inner h1 {
  font-size: clamp(34px, 6.2vw, 76px); line-height: 1.05; letter-spacing: -.5px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, .35); margin-bottom: 18px;
}
.hero-inner p { font-size: clamp(16px, 1.5vw, 20px); color: #f4e6e0; max-width: 540px; margin-bottom: 30px; }
/* Pre-launch tagline under the headline. Script face so it reads as a
   separate voice from the Playfair headline rather than more of it.
   Needs .hero-inner in the selector to outrank .hero-inner p above. */
.hero-inner .hero-coming {
  font-family: "Great Vibes", "Snell Roundhand", "Apple Chancery", cursive;
  font-size: clamp(28px, 3.6vw, 46px);
  font-weight: 400;
  line-height: 1.25;
  color: #ffd9a8;                                  /* matches the eyebrow */
  text-shadow: 0 3px 24px rgba(0, 0, 0, .42);
  max-width: none;
  margin: -6px 0 18px;
}
/* On narrow phones the line has to wrap; keep "Coming Soon!" whole so it
   breaks after "designs" instead of orphaning "Soon!". */
.hero-inner .hero-coming span { white-space: nowrap; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .14); border-color: #fff; }

/* scroll cue */
.scroll-cue {
  position: absolute; z-index: 2; bottom: 24px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255, 255, 255, .85); font-size: 10px; letter-spacing: 2.5px; text-transform: uppercase;
}
.scroll-cue .mouse { width: 24px; height: 38px; border: 2px solid rgba(255, 255, 255, .6); border-radius: 14px; display: flex; justify-content: center; padding-top: 6px; }
.scroll-cue .wheel { width: 4px; height: 8px; background: #fff; border-radius: 2px; animation: wheel 1.6s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(-4px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(8px); } }

@media (prefers-reduced-motion: reduce) {
  .hero-gradient, .hero-motif, .hero-sheen, .particle, .scroll-cue .wheel { animation: none !important; }
  .hero-video { display: none; }
  .hero-gradient { transform: none; background: rgba(44, 6, 10, 0.85); }
  .reveal, .reveal-in { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* Scroll-triggered reveal — class added by JS (initScrollReveal); if JS never
   runs, elements simply keep their default visible state (no FOUC risk).
   The hidden state itself is untransitioned (applied the instant the class
   lands, before scroll); only the reveal-in state carries the transition,
   so nothing animates until the element actually enters the viewport. */
.reveal { opacity: 0; transform: translateY(22px); }
.reveal.reveal-in { opacity: 1; transform: translateY(0); transition: opacity .6s ease, transform .6s ease; }

/* quick stat strip under hero */
.stat-strip { background: var(--red); color: #fff; }
.stat-strip .container { display: flex; flex-wrap: wrap; justify-content: space-around; align-items: baseline; gap: 6px 20px; padding: 12px 24px; }
.stat { text-align: center; display: flex; align-items: baseline; gap: 8px; }
.stat b { font-family: var(--serif); font-size: 21px; line-height: 1; }
.stat span { font-size: 11px; opacity: .85; letter-spacing: .5px; text-transform: uppercase; }

/* ===================== Reviews ===================== */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.review-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px; box-shadow: var(--shadow-sm); position: relative; transition: transform .2s, box-shadow .2s;
}
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.review-card .quote { font-family: var(--serif); font-size: 52px; line-height: 0; color: var(--cream); position: absolute; top: 30px; right: 26px; }
.stars { color: var(--gold); letter-spacing: 3px; margin-bottom: 12px; }
.review-card p { color: var(--ink-soft); font-size: 15.5px; }
.reviewer { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.reviewer img { width: 46px; height: 46px; border-radius: 50%; }
.reviewer b { display: block; font-size: 15px; }
.reviewer span { font-size: 13px; color: var(--muted); }

/* ===================== Categories ===================== */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cat-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; height: 240px;
  box-shadow: var(--shadow-sm); cursor: pointer; transition: transform .25s, box-shadow .25s;
}
.cat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.cat-card:hover img { transform: scale(1.07); }
.cat-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(20,6,6,.78)); }
.cat-card .cat-body { position: absolute; z-index: 2; left: 0; bottom: 0; padding: 22px; color: #fff; width: 100%; }
.cat-card h3 { font-size: 23px; }
.cat-card .cat-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.cat-card .cat-meta span { font-size: 13px; opacity: .85; }
.cat-card .cat-meta .go { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.18); display: grid; place-items: center; border: 1px solid rgba(255,255,255,.35); transition: .2s; }
.cat-card:hover .cat-meta .go { background: var(--red); }

/* ===================== Trending gallery ===================== */
.gallery-toolbar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 36px; }
.chip {
  border: 1.5px solid var(--line); background: #fff; color: var(--ink-soft);
  padding: 9px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; cursor: pointer; transition: .18s;
}
.chip:hover { border-color: var(--red); color: var(--red); }
.chip.active { background: var(--red); border-color: var(--red); color: #fff; }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-card {
  background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.product-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--cream); border-radius: 20px 20px 0 0; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.product-card:hover .product-media img { transform: scale(1.06); }
.badge {
  position: absolute; top: 12px; left: 12px; z-index: 2; background: #fff; color: var(--red);
  font-size: 11px; font-weight: 700; letter-spacing: .5px; padding: 5px 11px; border-radius: 999px;
  box-shadow: var(--shadow-sm); text-transform: uppercase;
  /* cap each badge to under half the card width so the top-left (category/
     religion) and top-right (type) badges can never overlap on narrow
     (mobile, 2-col grid) cards — long labels ellipsis instead */
  max-width: calc(50% - 18px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.badge.badge-type { left: auto; right: 12px; background: var(--ink); color: #fff; }
/* clickable badges (data-href, wired up in main.js's initBadgeLinks) —
   filter through to a browse page for that tag, e.g. Frame or Hindu */
.badge[data-href] { cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; }
.badge[data-href]:hover { transform: translateY(-1px) scale(1.04); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22); }
.product-body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-body .p-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.product-body .p-tags span { font-size: 11px; color: var(--muted); background: var(--cream); padding: 3px 9px; border-radius: 6px; }
.product-body h3 { font-size: 18px; }
.product-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 12px; }
/* sans-serif on purpose — Georgia's ₹ glyph renders out of proportion next
   to bold numerals; a plain system font keeps ₹ and the amount matched in
   weight/baseline on a single line */
.price { font-family: var(--sans); font-size: 18px; color: var(--red); font-weight: 700; white-space: nowrap; }
.price small { font-size: 12px; color: var(--muted); font-weight: 400; font-family: var(--sans); }
.product-foot .view { font-size: 13px; font-weight: 700; color: var(--ink); display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; flex-shrink: 0; }

.empty-state { text-align: center; padding: 60px 20px; color: var(--muted); grid-column: 1 / -1; }
.empty-state b { color: var(--ink); font-family: var(--serif); font-size: 20px; display: block; margin-bottom: 8px; }

/* ===================== CTA band ===================== */
.cta-band { background: linear-gradient(120deg, var(--red-deep), var(--red)); color: #fff; text-align: center; }
.cta-band h2 { font-size: clamp(26px, 4vw, 40px); }
.cta-band p { max-width: 560px; margin: 14px auto 26px; color: #ffe6df; font-size: 17px; }

/* ===================== Footer ===================== */
.site-footer { background: var(--ink); color: #cbbdb7; padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; }
.site-footer h4 { color: #fff; font-family: var(--sans); font-size: 13px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 18px; }
.site-footer a { display: block; padding: 6px 0; font-size: 14.5px; color: #c9bcb6; transition: color .15s; }
.site-footer a:hover { color: var(--red); }
.foot-brand .brand-badge-lg { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); }
.foot-brand p { font-size: 14.5px; max-width: 320px; }
.foot-contact li { display: flex; gap: 12px; align-items: flex-start; padding: 7px 0; font-size: 14.5px; list-style: none; }
.foot-contact { padding: 0; margin: 0; }
.foot-contact .ic { color: var(--red); flex: 0 0 auto; }
.social { display: flex; gap: 12px; margin-top: 18px; }
.social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #fff; padding: 0; }
.social a:hover { background: var(--red); color: #fff; }
.news-form { display: flex; gap: 8px; margin-top: 14px; }
.news-form input { flex: 1; padding: 11px 14px; border-radius: 999px; border: 1px solid #3a3a3a; background: #232323; color: #fff; font-size: 14px; }
.news-form input::placeholder { color: #8b8079; }
.footer-bottom { border-top: 1px solid #2c2c2c; margin-top: 56px; padding: 22px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 13px; color: #9a8d87; }
.footer-bottom a { display: inline; }

/* ===================== Toast ===================== */
.toast-wrap { position: fixed; right: 22px; bottom: 22px; z-index: 200; display: flex; flex-direction: column; gap: 10px; }
.toast {
  background: var(--ink); color: #fff; padding: 14px 18px; border-radius: 12px; box-shadow: var(--shadow-lg);
  font-size: 14.5px; display: flex; gap: 10px; align-items: center; min-width: 260px; animation: toastIn .25s ease;
  border-left: 4px solid var(--red);
}
.toast.ok { border-left-color: #2faa5e; }
.toast.err { border-left-color: #e11b22; }
@keyframes toastIn { from { transform: translateY(14px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* ===================== Categories dropdown ===================== */
#categoriesDropdown { grid-template-columns: 1fr 1fr; width: 480px; }

/* ===================== Discount badge ===================== */
.discount-badge {
  margin-top: 8px; display: inline-flex; align-items: center; gap: 8px;
  background: #e8f8ef; color: #1a7a45; border-radius: 999px;
  padding: 5px 14px; font-size: 13px; font-weight: 700;
}
.discount-badge .pct { font-size: 15px; }

/* ===================== Responsive ===================== */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .hamburger { display: block; }
  .mobile-brand { display: flex; }
  .nav-actions .btn-primary { display: none; }   /* upload reachable via menu / topbar Admin */
  .nav-menu {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px; gap: 2px;
    box-shadow: var(--shadow-md); display: none;
  }
  .nav-menu.show { display: flex; }
  .nav-menu > li > a, .nav-menu > li > .nav-trigger { width: 100%; justify-content: space-between; }
  .dropdown { position: static; width: auto; transform: none; box-shadow: none; border: none;
    grid-template-columns: 1fr; opacity: 1; visibility: visible; padding: 4px 8px 12px; display: none; }
  .dropdown::before { display: none; }
  /* override the desktop centering transform (higher specificity) so the
     accordion isn't shifted off the left edge on mobile */
  .has-dropdown:hover .dropdown,
  .has-dropdown.open .dropdown { transform: none; }
  .has-dropdown.open .dropdown { display: grid; }
  .submenu { position: static; width: auto; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; padding: 4px 0 4px 18px; }
  .reviews-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .brand-badge { width: 50px; height: 50px; }
  .brand-logo { height: 56px; }
  .site-header.scrolled .brand-logo { height: 48px; }
  .hero { padding: 100px 0 84px; }
  .hero-inner h1 { font-size: clamp(30px, 8vw, 46px); }
  .scroll-cue { display: none; }
  .nav-mobile-cta { display: block; margin-top: 8px; }
  /* selector must out-specify `.nav-menu > li > a` (0,1,2) */
  .nav-menu .nav-mobile-cta a { background: var(--red); color: #fff; border-radius: 12px; justify-content: center; font-weight: 700; padding: 13px; }
}
@media (max-width: 640px) {
  .topbar .tb-contact { display: none; }       /* keep just the Admin link */
  .car-btn { display: none; }                  /* dots + autoplay on mobile */
}
@media (max-width: 560px) {
  .section { padding: 60px 0; }
  .cat-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-strip .container { gap: 4px 14px; }
  .stat b { font-size: 19px; }
}

/* ===================== Floating button + left side drawer ===================== */
.nav-fab { display: none !important; } /* header hamburger is used instead */

/* ===================== Header search bar ===================== */
.header-search {
  position: relative; display: flex; align-items: center;
  align-self: stretch; /* fills full nav height so form aligns to header bottom */
}
.search-toggle {
  width: 38px; height: 38px; border: none; background: none; cursor: pointer;
  color: var(--ink); display: flex; align-items: center; justify-content: center;
  border-radius: 50%; transition: background .15s, color .15s; flex-shrink: 0;
}
.search-toggle:hover { background: rgba(0,0,0,.06); }
.site-header:not(.scrolled) .search-toggle { color: #fff; }
.site-header:not(.scrolled) .search-toggle:hover { background: rgba(255,255,255,.18); }
.search-form {
  display: flex; align-items: center;
  position: absolute; right: 0; top: 100%; transform: none;
  background: #fff; border: 1.5px solid var(--line);
  border-radius: 0 0 var(--radius) var(--radius);
  overflow: hidden; box-shadow: 0 8px 24px rgba(0,0,0,.14);
  width: 0; opacity: 0; pointer-events: none;
  transition: width .25s ease, opacity .2s ease;
}
.search-form.open { width: 280px; opacity: 1; pointer-events: auto; }
.search-form input {
  flex: 1; border: none; outline: none; padding: 10px 14px;
  font-size: 14px; font-family: var(--sans); color: var(--ink);
  background: transparent; min-width: 0;
}
.search-clear {
  border: none; background: none; cursor: pointer;
  color: var(--muted); padding: 8px 14px; font-size: 18px; line-height: 1;
  display: none; flex-shrink: 0;
}
.search-clear.visible { display: block; }
@media (max-width: 860px) {
  .search-form.open { width: 220px; }
}
@media (max-width: 480px) {
  .search-form.open { width: 180px; }
}

/* ===================== See More bar (weddings page) ===================== */
.see-more-bar {
  display: flex; justify-content: center; padding: 28px 0 8px;
}
.see-more-link {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--red); color: #fff; font-weight: 700; font-size: 15px;
  padding: 13px 30px; border-radius: 999px;
  transition: background .2s, transform .15s;
}
.see-more-link:hover { background: var(--red-dark); transform: translateY(-1px); }

.drawer-overlay {
  position: fixed; inset: 0; z-index: 80; background: rgba(15, 4, 5, .5);
  opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s ease; backdrop-filter: blur(2px);
}
.drawer-overlay.open { opacity: 1; visibility: visible; }

.side-drawer {
  position: fixed; top: 0; left: 0; z-index: 90; height: 100%; width: min(330px, 88vw);
  background: #fff; box-shadow: 10px 0 40px rgba(0, 0, 0, .32);
  transform: translateX(-105%); transition: transform .32s cubic-bezier(.4, 0, .2, 1);
  display: flex; flex-direction: column; overflow-y: auto; overflow-x: hidden;
}
.side-drawer.open { transform: none; }
/* curly-brace right edge — HOME PAGE ONLY (JS adds .braced when a hero exists) */
.side-drawer.braced {
  box-shadow: none;
  -webkit-mask: url('/assets/drawer-brace.svg') left center / 100% 100% no-repeat;
  mask: url('/assets/drawer-brace.svg') left center / 100% 100% no-repeat;
  filter: drop-shadow(7px 5px 24px rgba(0, 0, 0, .36));
}
/* keep content clear of the brace curve (only when braced) */
.side-drawer.braced .drawer-head,
.side-drawer.braced .drawer-nav,
.side-drawer.braced .drawer-foot { padding-right: 52px; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer-head .brand-badge { width: 50px; height: 50px; box-shadow: 0 4px 12px rgba(0, 0, 0, .12); }
.drawer-close { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font-size: 24px; line-height: 1; color: var(--ink-soft); cursor: pointer; transition: .15s; }
.drawer-close:hover { border-color: var(--red); color: var(--red); }

.drawer-nav { padding: 14px 14px 8px; display: flex; flex-direction: column; gap: 2px; }
.drawer-link { padding: 13px 14px; border-radius: 12px; font-weight: 600; font-size: 16px; color: var(--ink); transition: background .15s, color .15s; }
.drawer-link:hover { background: var(--cream); color: var(--red); }
.drawer-group { display: flex; flex-direction: column; }
.drawer-group-head {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 13px 14px; border-radius: 12px; background: none; border: none; cursor: pointer;
  font-family: var(--sans); font-weight: 600; font-size: 16px; color: var(--ink);
}
.drawer-group-head:hover { background: var(--cream); }
.drawer-group-head .dg-caret { transition: transform .2s ease; color: var(--muted); }
.drawer-group.open .dg-caret { transform: rotate(180deg); }
.drawer-sub { display: none; flex-direction: column; padding: 2px 0 6px 8px; }
.drawer-group.open .drawer-sub { display: flex; }
.drawer-sublink { padding: 10px 14px; border-radius: 10px; font-size: 14.5px; color: var(--ink-soft); transition: .15s; }
.drawer-sublink:hover { background: var(--cream); color: var(--red); }
.drawer-sub-label { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); padding: 12px 14px 6px; }
.drawer-subgroup { display: flex; flex-direction: column; }
.drawer-subgroup-head {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 10px 14px; border-radius: 10px; background: none; border: none; cursor: pointer;
  font-family: var(--sans); font-weight: 600; font-size: 14.5px; color: var(--ink);
}
.drawer-subgroup-head:hover { background: var(--cream); }
.drawer-subgroup-head .dg-caret { transition: transform .2s ease; color: var(--muted); font-size: 12px; }
.drawer-subgroup.open .dg-caret { transform: rotate(180deg); }
.drawer-subsub { display: none; flex-direction: column; padding: 2px 0 6px 10px; }
.drawer-subgroup.open .drawer-subsub { display: flex; }
.drawer-subsublink { padding: 9px 14px; border-radius: 9px; font-size: 13.5px; color: var(--ink-soft); transition: .15s; }
.drawer-subsublink:hover { background: var(--cream); color: var(--red); }
.drawer-foot { margin-top: auto; padding: 16px 20px 24px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.drawer-foot a { font-size: 14px; color: var(--ink-soft); }
.drawer-foot a:hover { color: var(--red); }
body.nav-open { overflow: hidden; }

/* ===================== Preloader ===================== */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 40px 24px; gap: 0;
  transition: opacity .7s ease, visibility .7s ease;
}
.preloader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-logo {
  width: 76px; height: 76px; border-radius: 20px; padding: 8px;
  background: #fff; object-fit: contain; margin-bottom: 52px;
  box-shadow: 0 16px 40px rgba(0,0,0,.4);
}
.preloader-quote { max-width: 580px; text-align: center; }
.preloader-text {
  font-family: var(--serif); font-size: clamp(15px, 2vw, 21px);
  color: #f0e4df; line-height: 1.7; font-style: italic; margin: 0 0 22px;
}
.preloader-author {
  font-family: var(--sans); font-size: 12px; color: var(--gold);
  letter-spacing: 2px; text-transform: uppercase; font-weight: 600;
}
.preloader-bar { position: absolute; bottom: 0; left: 0; width: 100%; height: 3px; background: rgba(255,255,255,.08); }
.preloader-bar-fill { height: 100%; background: var(--red); animation: preloaderFill 2.5s ease-out forwards; }
@keyframes preloaderFill { from { width: 0; } to { width: 100%; } }

/* ===================== Wedding page — style tiles ===================== */
.style-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 12px;
}
.style-card {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  height: 260px; cursor: pointer; border: none;
  transition: transform .25s ease, box-shadow .25s ease;
}
.style-card:hover { transform: translateY(-5px); box-shadow: 0 20px 56px rgba(0,0,0,.3); }
.style-card::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(0deg, rgba(0,0,0,.75) 0%, rgba(0,0,0,.12) 70%);
}
.style-card.active::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  border: 3px solid rgba(255,255,255,.88); border-radius: inherit;
}
.style-card[data-filter="traditional"] { background: linear-gradient(145deg, #7d0d12 0%, #b3141a 50%, #e84a50 100%); }
.style-card[data-filter="premium"] { background: linear-gradient(145deg, #5c3d10 0%, #c9a96a 55%, #ead6a0 100%); }
.style-card[data-filter="unique"] { background: linear-gradient(145deg, #1a0840 0%, #4a1a7a 55%, #8a3be8 100%); }
.style-card[data-filter="aesthetic"] { background: linear-gradient(145deg, #0a2e1e 0%, #1a5c3e 55%, #3daa70 100%); }
.style-card-inner { position: absolute; bottom: 0; left: 0; right: 0; z-index: 3; padding: 22px; }
.style-card-inner h3 { font-size: 20px; color: #fff; margin-bottom: 6px; }
.style-card-inner p { font-size: 13px; color: rgba(255,255,255,.85); margin-bottom: 10px; line-height: 1.5; }
.style-count { font-size: 11.5px; font-weight: 700; color: rgba(255,255,255,.7); letter-spacing: .5px; }

/* Wedding page — favorites grid */
.favorites-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.fav-card {
  border-radius: var(--radius-lg); overflow: hidden; background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column;
}
.fav-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.fav-media { position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--cream); }
.fav-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.fav-card:hover .fav-media img { transform: scale(1.05); }
.fav-badge {
  position: absolute; top: 12px; left: 12px;
  background: rgba(255,255,255,.92); color: var(--red);
  font-size: 11px; font-weight: 700; letter-spacing: .5px;
  padding: 5px 11px; border-radius: 999px; text-transform: uppercase;
}
.fav-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; }
.fav-body h3 { font-size: 18px; color: var(--ink); }
.fav-view { font-size: 13px; font-weight: 700; color: var(--red); margin-top: 4px; }

/* Wedding hero — no particles, simpler vignette */
.wedding-hero .hero-motif { display: none; }
.wedding-hero .hero-sheen { display: none; }

@media (max-width: 860px) {
  .style-grid { grid-template-columns: repeat(2, 1fr); }
  .favorites-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
}
@media (max-width: 560px) {
  .style-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .favorites-grid { grid-template-columns: 1fr; }
  .preloader-logo { margin-bottom: 36px; }
}

/* ===================== WhatsApp floating button ===================== */
.whatsapp-fab {
  position: fixed; bottom: 24px; right: 24px; z-index: 150;
  display: flex; align-items: center; gap: 10px;
  background: #25d366; color: #fff;
  padding: 14px 20px 14px 16px; border-radius: 999px;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.42);
  font-weight: 700; font-size: 14px; font-family: var(--sans);
  transition: transform .2s ease, box-shadow .2s ease, padding .3s ease;
  text-decoration: none;
}
.whatsapp-fab:hover {
  background: #20b858; transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(37, 211, 102, 0.52);
}
.whatsapp-fab svg { flex: 0 0 auto; }
.whatsapp-fab-label { white-space: nowrap; }
@media (max-width: 560px) {
  .whatsapp-fab { padding: 14px; border-radius: 50%; }
  .whatsapp-fab-label { display: none; }
}

/* ===================== Instagram section ===================== */
.instagram-section { background: var(--ivory); }
.insta-embed-wrap {
  display: flex; justify-content: center; max-width: 700px; margin: 0 auto;
}
.insta-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
  border: none; color: #fff; font-size: 16px; padding: 14px 30px;
}
.insta-btn:hover { opacity: .9; background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045); color: #fff; }

/* ===================== Footer map ===================== */
.foot-map {
  margin-top: 16px; border-radius: var(--radius); overflow: hidden;
  border: 1px solid #2c2c2c; box-shadow: 0 4px 16px rgba(0,0,0,.3);
}
.foot-map iframe { display: block; }

/* ===================== Product detail page ===================== */
.detail-section { padding: 48px 0 80px; }
.detail-crumbs { font-size: 13px; color: var(--muted); padding: 22px 0 0; }
.detail-crumbs a { color: var(--ink-soft); }
.detail-crumbs a:hover { color: var(--red); }
.detail-crumbs span { color: var(--ink); font-weight: 600; }
.detail-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: start; }
.detail-gallery { position: sticky; top: 90px; }
.detail-main { border-radius: 20px; overflow: hidden; background: var(--cream); box-shadow: var(--shadow-md); aspect-ratio: 4/5; }
.detail-main img { width: 100%; height: 100%; object-fit: cover; }
.detail-thumbs { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.detail-thumb { width: 72px; height: 90px; border-radius: 10px; overflow: hidden; border: 2px solid var(--line); background: none; cursor: pointer; padding: 0; transition: .15s; }
.detail-thumb.active, .detail-thumb:hover { border-color: var(--red); }
.detail-thumb img { width: 100%; height: 100%; object-fit: cover; }
.detail-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.detail-badges .badge { position: static; display: inline-block; box-shadow: none; background: var(--cream); color: var(--red); cursor: pointer; transition: background .15s ease, color .15s ease; }
.detail-badges .badge:hover { background: var(--red); color: #fff; }
.detail-info h1 { font-size: clamp(26px, 3.5vw, 40px); line-height: 1.1; margin-bottom: 16px; }
.detail-price-wrap { display: flex; align-items: baseline; gap: 10px; margin-bottom: 6px; }
.detail-price-main { font-family: var(--sans); font-size: 42px; color: var(--red); font-weight: 700; line-height: 1; white-space: nowrap; }
.detail-price-note { font-size: 14px; color: var(--muted); }
.detail-min-qty { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.detail-desc { color: var(--ink-soft); font-size: 15.5px; line-height: 1.7; margin-bottom: 28px; }
.detail-make-yours { background: var(--ivory); border-radius: var(--radius-lg); padding: 22px 24px; margin-bottom: 28px; }
.detail-make-yours-title { font-size: 11px; text-transform: uppercase; letter-spacing: 2px; color: var(--red); font-weight: 700; margin-bottom: 18px; }
.detail-features { display: flex; flex-direction: column; gap: 14px; }
.detail-feature { display: flex; gap: 12px; align-items: flex-start; }
.df-ic { width: 26px; height: 26px; flex: 0 0 26px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 700; margin-top: 2px; }
.detail-feature > div > b { display: block; font-size: 14.5px; color: var(--ink); }
.detail-feature > div > p { font-size: 13px; color: var(--muted); margin: 2px 0 0; }
.detail-cta { display: flex; gap: 12px; margin-bottom: 24px; }
.btn-wa {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: #25d366; color: #fff; font-weight: 700; font-size: 15.5px; font-family: var(--sans);
  padding: 16px 24px; border-radius: var(--radius); text-decoration: none;
  transition: background .2s, transform .2s; border: none; cursor: pointer;
}
.btn-wa:hover { background: #1daa54; transform: translateY(-2px); color: #fff; }
.detail-specs { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 20px; }
.detail-spec { display: flex; justify-content: space-between; padding: 13px 18px; font-size: 14px; }
.detail-spec:nth-child(odd) { background: var(--ivory); }
.detail-spec span { color: var(--muted); }
.detail-spec b { color: var(--ink); font-weight: 600; }
.detail-note { font-size: 13px; color: var(--muted); }

.detail-video {
  position: relative; width: 100%; max-width: 860px; aspect-ratio: 16/9;
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); background: var(--ink);
}
.detail-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.detail-missing { text-align: center; padding: 90px 24px; }
.detail-missing h1 { font-size: 32px; margin-bottom: 10px; }
.detail-missing p { color: var(--muted); margin-bottom: 22px; }

/* Header always solid on detail & weddings pages */
body.page-detail #siteHeader, body.page-detail #siteHeader.hidden,
body.page-weddings #siteHeader, body.page-weddings #siteHeader.hidden {
  transform: none; opacity: 1; pointer-events: auto;
  background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
}
body.page-detail #siteHeader .nav-menu > li > a,
body.page-detail #siteHeader .nav-trigger,
body.page-weddings #siteHeader .nav-menu > li > a,
body.page-weddings #siteHeader .nav-trigger { color: var(--ink); }
body.page-detail #siteHeader .hamburger span,
body.page-weddings #siteHeader .hamburger span { background: var(--ink); }

.share-wrap { position: relative; }
.share-wrap .btn-share { width: 100%; }
.share-menu {
  display: none; position: absolute; bottom: calc(100% + 8px); left: 0; z-index: 40;
  min-width: 200px; background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .14); padding: 6px; flex-direction: column;
}
.share-menu.open { display: flex; }
.share-menu-item {
  display: flex; align-items: center; gap: 10px; width: 100%; text-align: left;
  padding: 10px 12px; border-radius: 8px; border: none; background: none;
  font-family: var(--sans); font-size: 14px; font-weight: 600; color: var(--ink);
  cursor: pointer; transition: background .15s;
}
.share-menu-item:hover { background: var(--cream); }
.share-menu-item .smi-ic { font-size: 16px; width: 20px; text-align: center; flex-shrink: 0; }

@media (max-width: 820px) {
  .detail-grid { grid-template-columns: 1fr; gap: 28px; }
  .detail-gallery { position: static; }
  .detail-cta { flex-direction: column; }
  .btn-wa { width: 100%; }
  .share-menu { left: 0; right: 0; min-width: 0; }
}

/* ===================== Faith selector ===================== */
.faith-section .section-head { margin-bottom: 40px; }
.faith-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.faith-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  height: 320px; cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease;
}
.faith-card:hover { transform: translateY(-6px); box-shadow: 0 24px 64px rgba(0,0,0,.3); }
.faith-card::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(0deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.08) 65%);
}
.faith-card.active::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  border: 3px solid rgba(255,255,255,.9); border-radius: inherit;
}
.faith-card[data-faith="hindu"] {
  background-image: url('/assets/Hindu.jpg');
  background-size: cover; background-position: center;
}
.faith-card[data-faith="muslim"] {
  background-image: url('/assets/Muslim.jpg');
  background-size: cover; background-position: center;
}
.faith-card[data-faith="christian"] {
  background-image: url('/assets/Christian.jpg');
  background-size: cover; background-position: center;
}
.faith-card[data-faith="general"] {
  background-image: url('/assets/General.jpg');
  background-size: cover; background-position: center;
}
.faith-card-inner { position: absolute; bottom: 0; left: 0; right: 0; z-index: 3; padding: 28px; }
.faith-card h3 { font-family: var(--serif); font-size: 28px; color: #fff; margin-bottom: 8px; }
.faith-card p { font-size: 14px; color: rgba(255,255,255,.85); margin-bottom: 16px; line-height: 1.5; }
.faith-cta { font-size: 13px; font-weight: 700; color: rgba(255,255,255,.9); display: inline-flex; align-items: center; gap: 6px; }

/* ===================== Ambience overlay (mood system) ===================== */
.ambience-bg {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  opacity: 0; transition: opacity .9s ease;
  will-change: opacity;
}
body.mood-hindu .ambience-bg {
  opacity: .20;
  background-image: url('/assets/Hindu.jpg');
  background-size: cover; background-position: center;
}
body.mood-muslim .ambience-bg {
  opacity: .20;
  background-image: url('/assets/Muslim.jpg');
  background-size: cover; background-position: center;
}
body.mood-christian .ambience-bg {
  opacity: .20;
  background-image: url('/assets/Christian.jpg');
  background-size: cover; background-position: center;
}
body.mood-general .ambience-bg {
  opacity: .18;
  background-image: url('/assets/General.jpg');
  background-size: cover; background-position: center;
}
body.mood-premium .ambience-bg {
  opacity: .50; background: linear-gradient(180deg, #fffaf2 0%, #f5e8d0 50%, #e8d4a8 100%);
}
body.mood-aesthetic .ambience-bg {
  opacity: .18; background: radial-gradient(ellipse at 50% 100%, #90c880 0%, #509840 40%, #205020 80%);
}
body.mood-unique .ambience-bg {
  opacity: .15; background: radial-gradient(ellipse at 50% 100%, #d090e8 0%, #9040c0 40%, #4010a0 80%);
}
body.mood-traditional .ambience-bg {
  opacity: .30; background: linear-gradient(145deg, #7d0d12 0%, #b3141a 50%, #e84a50 100%);
}

/* Premium mood: elegant gold-toned colour scheme */
body.mood-premium { --red: #b8906a; --red-dark: #9a7050; --red-deep: #7a5030; }

@media (max-width: 860px) {
  .faith-grid { grid-template-columns: repeat(2, 1fr); }
  .faith-card { height: 240px; }
  .faith-card h3 { font-size: 24px; }
}
@media (max-width: 480px) {
  .faith-grid { gap: 12px; }
  .faith-card { height: 200px; }
  .faith-card h3 { font-size: 20px; }
  .faith-card-inner { padding: 20px; }
}
