/*
  Sree Chinnamadevi Photo Frame Works
  Notes:
  - Mobile-first, responsive grid/flex.
  - Reusable components: .btn, cards, sections, utilities.
  - Animations are subtle and respect prefers-reduced-motion.
*/

/* ── PRELOADER ──────────────────────────────────────────────────────────── */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #0d0b08;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}
#preloader.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Scene — gentle float up/down + gold glow that brightens at the edge */
.preloader-scene {
  width: 160px;
  height: 160px;
  perspective: 600px;
  animation: plFloat 2.8s ease-in-out infinite alternate,
             plGlow  1.6s linear infinite;
}
@keyframes plFloat {
  from { transform: translateY(-9px); }
  to   { transform: translateY(9px);  }
}
/* Glow peaks twice per rotation — once each time the edge faces the viewer */
@keyframes plGlow {
  0%   { filter: drop-shadow(0 0 10px rgba(200, 168, 75, 0.35)); }
  25%  { filter: drop-shadow(0 0 38px rgba(230, 200, 90, 0.95)); }
  50%  { filter: drop-shadow(0 0 10px rgba(200, 168, 75, 0.35)); }
  75%  { filter: drop-shadow(0 0 38px rgba(230, 200, 90, 0.95)); }
  100% { filter: drop-shadow(0 0 10px rgba(200, 168, 75, 0.35)); }
}

/* Flipper — constant-speed 3D spin, showing both faces naturally */
.preloader-flipper {
  width: 160px;
  height: 160px;
  position: relative;
  transform-style: preserve-3d;
  animation: coinSpin 1.6s linear infinite;
}
@keyframes coinSpin {
  from { transform: rotateY(0deg);   }
  to   { transform: rotateY(360deg); }
}

/* Both faces share these base styles */
.coin-face {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow: hidden;
}

/* Front — SCD logo image */
.coin-front img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 50%;
}

/* Back — rotated 180deg so it shows when the flipper reaches 180deg */
.coin-back {
  transform: rotateY(180deg);
}
.coin-back svg {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 50%;
}

/* ── CSS RESET ─────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body {
  font-family: "DM Sans", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--white);
  overflow-x: clip;
  -webkit-overflow-scrolling: touch;
}
img {
  max-width: 100%;
  display: block;
}
button,
input {
  font: inherit;
}
a {
  color: inherit;
}

/* ── THEME ─────────────────────────────────────────────────────────────── */
/* ── DARK MODE (default) ────────────────────────────────────────────────── */
:root {
  --bg: #0d0b08;
  --bg2: #141210;
  --bg3: #1c1915;
  --bg4: #231f1a;

  --gold: #c8a84b;
  --gold2: #e4c876;
  --gold3: #f5e0a0;
  --gold-dim: #7a6228;

  --silver: #b8c4cc;
  --silver2: #d8e2e8;

  --white: #faf8f4;
  --muted: #8a7e70;
  --border: rgba(200, 168, 75, 0.15);

  --wa: #25d366;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;

  --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.25);
}

/* ── LIGHT MODE VARIABLES ───────────────────────────────────────────────── */
[data-theme="light"] {
  --bg:  #fdfaf5;
  --bg2: #f5f0e6;
  --bg3: #ede6d8;
  --bg4: #e3dace;

  --gold: #a07018;
  --gold2: #bf8c20;
  --gold3: #7a5210;
  --gold-dim: #d4a84b;

  --silver: #3a4450;
  --silver2: #1e2830;

  --white: #1c1408;
  --muted: #6a5e50;
  --border: rgba(140, 100, 20, 0.18);

  --shadow-soft: 0 4px 24px rgba(0, 0, 0, 0.08);
}

/* ── THEME TOGGLE BUTTON ────────────────────────────────────────────────── */
.theme-toggle {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 6px;
  border: 1px solid rgba(200, 168, 75, 0.25);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
}
.theme-toggle:hover {
  border-color: var(--gold);
  color: var(--gold);
}
/* Dark mode → show sun icon */
.theme-toggle .icon-sun  { display: block; }
.theme-toggle .icon-moon { display: none;  }
/* Light mode → show moon icon */
[data-theme="light"] .theme-toggle .icon-sun  { display: none;  }
[data-theme="light"] .theme-toggle .icon-moon { display: block; }

/* ── HEADER: always dark in both modes ──────────────────────────────────── */
/* Header keeps its dark bg so white nav text is always readable */
[data-theme="light"] .site-header {
  background: rgba(13, 11, 8, 0.97) !important;
  border-bottom-color: rgba(200, 168, 75, 0.15);
}
[data-theme="light"] .nav-link-item       { color: #b8a880; }
[data-theme="light"] .nav-link-item:hover,
[data-theme="light"] .nav-link-item.nav-active { color: #e4c876; }
[data-theme="light"] .icon-btn            { color: #b8a880; border-color: rgba(200,168,75,0.2); }
[data-theme="light"] .icon-btn:hover      { color: #e4c876; border-color: #c8a84b; }
[data-theme="light"] .theme-toggle        { color: #b8a880; border-color: rgba(200,168,75,0.2); }
[data-theme="light"] .theme-toggle:hover  { color: #e4c876; border-color: #c8a84b; }
[data-theme="light"] .hamburger span      { background: #c8b890; }
[data-theme="light"] .mobile-nav-drawer   { background: #141210; border-top-color: rgba(200,168,75,0.15); }
[data-theme="light"] .mobile-nav-drawer a { color: #c8b890; }
[data-theme="light"] .mobile-nav-drawer a:hover { color: #e4c876; }

/* ── LIGHT MODE PAGE BODY ───────────────────────────────────────────────── */
[data-theme="light"] .marquee-strip       { background: #a07018; }
[data-theme="light"] .marquee-item        { color: #fff; }

[data-theme="light"] .section-full        { background: var(--bg2); }
[data-theme="light"] .craft-strip         { background: var(--bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

[data-theme="light"] .s-h2               { color: #1c1408; }
[data-theme="light"] .s-sub              { color: #6a5e50; }
[data-theme="light"] .s-tag              { color: #a07018; background: rgba(160,112,24,0.1); }

[data-theme="light"] .stats-strip        { background: var(--bg3); border-color: var(--border); }
[data-theme="light"] .stat-num           { color: #1c1408; }
[data-theme="light"] .stat-lbl           { color: #6a5e50; }

[data-theme="light"] .cat-card           { background: #fff; border-color: rgba(140,100,20,0.15); box-shadow: 0 2px 12px rgba(0,0,0,0.07); text-decoration: none; }
[data-theme="light"] .cat-name           { color: #1c1408; }
[data-theme="light"] .cat-count          { color: #6a5e50; }

[data-theme="light"] .prod-card          { background: #fff; border-color: rgba(140,100,20,0.12); box-shadow: 0 2px 10px rgba(0,0,0,0.06); }
[data-theme="light"] .prod-card:hover    { box-shadow: 0 6px 22px rgba(0,0,0,0.1); }
[data-theme="light"] .prod-img           { background: #f5f2ed; }
[data-theme="light"] .prod-name          { color: #1c1408; }
[data-theme="light"] .prod-sku           { color: #8a7e6a; }
[data-theme="light"] .mat-pill           { background: rgba(140,100,20,0.08); color: #5a4e3a; border-color: rgba(140,100,20,0.15); }

[data-theme="light"] .filter-select      { background: #fff; color: #1c1408; border-color: rgba(140,100,20,0.2); }
[data-theme="light"] .filter-select option { background: #fff; color: #1c1408; }
[data-theme="light"] .filter-dropdown-label { color: #8a7a60; }

[data-theme="light"] .showcase-search,
[data-theme="light"] .search-bar         { background: #fff; border-color: rgba(140,100,20,0.2); }
[data-theme="light"] .showcase-search input,
[data-theme="light"] .search-bar input   { color: #1c1408; }
[data-theme="light"] .showcase-search input::placeholder,
[data-theme="light"] .search-bar input::placeholder { color: #a09080; }

[data-theme="light"] .stab               { color: #5a4e3a; border-color: rgba(140,100,20,0.2); }
[data-theme="light"] .stab:hover         { color: #7a5210; border-color: #a07018; background: rgba(160,112,24,0.08); }
[data-theme="light"] .stab.active        { background: #a07018; color: #fff; border-color: #a07018; }

[data-theme="light"] .results-count,
[data-theme="light"] .no-results         { color: #8a7a60; }

[data-theme="light"] .craft-list li      { color: #3a2e1c; border-bottom-color: rgba(140,100,20,0.1); }

[data-theme="light"] .testi-card         { background: #fff; border-color: rgba(140,100,20,0.12); box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
[data-theme="light"] .testi-text         { color: #3a2e1c; }
[data-theme="light"] .testi-name         { color: #1c1408; }

[data-theme="light"] .cta-banner         { background: linear-gradient(135deg,#f0e8d0,#e8dcc0); border-color: rgba(140,100,20,0.2); }

[data-theme="light"] .btn--ghost         { color: #3a2e1c; border-color: rgba(140,100,20,0.25); }
[data-theme="light"] .btn--ghost:hover   { background: rgba(140,100,20,0.06); border-color: #a07018; color: #a07018; }

[data-theme="light"] .modal-wrap         { background: rgba(80,60,20,0.55); }
[data-theme="light"] .modal              { background: #fff; border-color: rgba(140,100,20,0.15); }
[data-theme="light"] .modal-img-bg       { background: #f5f0e6; }
[data-theme="light"] .modal-name         { color: #1c1408; }
[data-theme="light"] .modal-sku,
[data-theme="light"] .modal-spec-label   { color: #8a7860; }
[data-theme="light"] .modal-spec-val     { color: #2a1e0c; }
[data-theme="light"] .modal-close        { color: #5a4e3a; border-color: rgba(140,100,20,0.2); }

[data-theme="light"] .contact-card       { background: #fff; border-color: rgba(140,100,20,0.12); box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
[data-theme="light"] .contact-label      { color: #8a7860; }
[data-theme="light"] .contact-val        { color: #1c1408; }

/* Footer stays dark in both modes */
[data-theme="light"] .site-footer        { background: #0d0b08; }

/* ── ACCESSIBILITY ─────────────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--white);
  z-index: 2000;
  transform: translateY(-180%);
  transition: transform 0.2s ease;
}
.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 2px solid rgba(228, 200, 118, 0.8);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ── SCROLLBAR (WebKit) ────────────────────────────────────────────────── */
::-webkit-scrollbar {
  width: 4px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: var(--gold-dim);
}

/* ── LAYOUT HELPERS ────────────────────────────────────────────────────── */
.u-mt-xs {
  margin-top: 0.4rem;
}
.u-mt-sm {
  margin-top: 1rem;
}
.u-mt-lg {
  margin-top: 3rem;
}
.u-pt-0 {
  padding-top: 0 !important;
}
.u-center {
  text-align: center;
}

/* ── HEADER / NAV ──────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
}
.nav {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.25rem;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(20px);
  background: rgba(13, 11, 8, 0.88);
}
.nav-logo {
  text-decoration: none;
  cursor: pointer;
  display: flex;
  align-items: center;
}
.nav-logo-img {
  height: 44px;
  width: auto;
  display: block;
  object-fit: contain;
}
.nav-links {
  display: none;
  gap: 2.5rem;
  list-style: none;
}
.nav-link-item {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}
.nav-link-item:hover,
.nav-link-item.nav-active {
  color: var(--gold2);
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.icon-btn {
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  display: grid;
  place-items: center;
  border-radius: 6px;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.icon-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-1px);
}

/* ── BUTTONS ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease,
    opacity 0.18s ease;
  letter-spacing: 0.5px;
}
.btn:active {
  transform: translateY(1px);
}
.btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.btn--gold {
  background: var(--gold);
  color: #0d0b08;
  border-color: var(--gold);
  padding: 14px 22px;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 10px;
}
.btn--gold:hover {
  background: var(--gold2);
  border-color: var(--gold2);
}
.btn--ghost {
  background: transparent;
  color: var(--gold2);
  border-color: var(--border);
  padding: 13px 18px;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 10px;
}
.btn--ghost:hover {
  border-color: var(--gold);
  background: rgba(200, 168, 75, 0.07);
}
.btn--wa {
  background: var(--wa);
  color: #fff;
  border-color: var(--wa);
  padding: 9px 12px;
  font-size: 11px;
  font-weight: 600;
}
.btn--wa:hover {
  opacity: 0.9;
}
.btn--wa-lg {
  padding: 14px 18px;
  font-size: 13px;
}

/* ── HAMBURGER + MOBILE DRAWER ─────────────────────────────────────────── */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px 8px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 6px;
}
.hamburger span {
  width: 18px;
  height: 1.5px;
  background: var(--muted);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
  display: block;
}
.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(4.5px, 4.5px);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(4.5px, -4.5px);
}

.mobile-nav-drawer {
  display: block;
  position: fixed;
  left: 0;
  right: 0;
  top: 60px;
  background: rgba(13, 11, 8, 0.98);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(20px);
  z-index: 998;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
}
.mobile-nav-drawer.open {
  max-height: 500px;
}
.mobile-nav-drawer ul {
  list-style: none;
  padding: 1rem 1.5rem 0.5rem;
}
.mobile-nav-drawer a {
  display: block;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}
.mobile-nav-drawer li:last-child a {
  border-bottom: none;
}
/* Higher specificity beats .mobile-nav-drawer a { display: block } */
.mobile-nav-drawer .drawer-wa {
  margin: 0.75rem 1.5rem 1.25rem;
  display: flex !important;
  justify-content: center;
  align-items: center;
  gap: 8px;
  background: var(--wa);
  color: #fff;
  padding: 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

/* ── SEARCH OVERLAY ─────────────────────────────────────────────────────── */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(0, 0, 0, 0.92);
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding-top: 12vh;
  backdrop-filter: blur(8px);
}
.search-overlay.open {
  display: flex;
}
.search-box-wrap {
  width: 100%;
  max-width: 720px;
  padding: 0 1.25rem;
}
.search-label {
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  display: block;
}
.search-input-row {
  display: flex;
  align-items: center;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 1rem;
  gap: 1rem;
}
.search-input-row input {
  flex: 1;
  background: transparent;
  border: none;
  font-family: "Playfair Display", serif;
  font-size: 30px;
  color: var(--white);
  outline: none;
  font-weight: 400;
}
.search-input-row input::placeholder {
  color: rgba(255, 255, 255, 0.2);
}
.search-close {
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 24px;
  cursor: pointer;
  padding: 4px;
}
.search-results {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-height: 52vh;
  overflow-y: auto;
}
.search-hint {
  font-size: 13px;
  color: var(--muted);
  margin-top: 1rem;
}

/* ── PAGES ─────────────────────────────────────────────────────────────── */
.page {
  display: none;
  animation: pageIn 0.25s ease both;
}
.page.active {
  display: block;
}
@keyframes pageIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── HERO ──────────────────────────────────────────────────────────────── */
.hero {
  min-height: calc(100vh - 60px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 2.5rem 0 3rem;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(200, 168, 75, 0.07) 0%, transparent 60%),
    radial-gradient(ellipse at 10% 80%, rgba(184, 196, 204, 0.04) 0%, transparent 50%);
}
.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(200, 168, 75, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 168, 75, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 0 1.25rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.5rem;
}
.eyebrow-line {
  width: 40px;
  height: 1px;
  background: var(--gold);
}
.eyebrow-text {
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--gold);
  text-transform: uppercase;
}
.hero-h1 {
  font-family: "Playfair Display", serif;
  font-size: 36px;
  font-weight: 400;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.hero-h1 em {
  color: var(--gold2);
  font-style: italic;
}
.hero-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.85;
  max-width: 560px;
  margin-bottom: 1.75rem;
  font-weight: 300;
}
.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.hero-ctas .btn {
  width: 100%;
}
.hero-right {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.hero-stat-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: border-color 0.25s ease, transform 0.25s ease;
  flex: 1 1 calc(50% - 0.375rem);
  min-width: 0;
}
.hero-stat-card:hover {
  border-color: var(--gold-dim);
  transform: translateY(-2px);
}
.stat-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: rgba(200, 168, 75, 0.12);
  display: grid;
  place-items: center;
  font-size: 20px;
  flex-shrink: 0;
}
.stat-num {
  font-family: "Playfair Display", serif;
  font-size: 22px;
  color: var(--gold2);
  line-height: 1;
}
.stat-lbl {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 1px;
  margin-top: 3px;
}
.hero-scroll {
  display: none;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s infinite;
}
@keyframes scrollPulse {
  0%,
  100% {
    opacity: 0.4;
    transform: scaleY(1);
  }
  50% {
    opacity: 1;
    transform: scaleY(1.1);
  }
}
.scroll-text {
  font-size: 9px;
  letter-spacing: 3px;
  color: var(--muted);
  text-transform: uppercase;
}

/* ── MARQUEE ───────────────────────────────────────────────────────────── */
.marquee-wrap {
  background: var(--gold);
  overflow: hidden;
  padding: 12px 0;
}
.marquee-track {
  display: flex;
  gap: 0;
  animation: ticker 25s linear infinite;
  white-space: nowrap;
}
.marquee-item {
  padding: 0 2.5rem;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #0d0b08;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 2rem;
}
.marquee-item::after {
  content: "✦";
  font-size: 8px;
  opacity: 0.55;
}
@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ── SECTIONS ──────────────────────────────────────────────────────────── */
.section {
  padding: 3rem 1.25rem;
  max-width: 1200px;
  margin: 0 auto;
}
.section-full {
  padding: 3.25rem 0;
  background: var(--bg2);
}
.section-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
}
.s-tag {
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.s-h2 {
  font-family: "Playfair Display", serif;
  font-size: 28px;
  font-weight: 400;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}
.s-h2 em {
  color: var(--gold2);
  font-style: italic;
}
.s-h2--left {
  text-align: left;
}
.s-sub {
  font-size: 14px;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.7;
}
.see-all {
  font-size: 12px;
  letter-spacing: 1.5px;
  color: var(--gold);
  cursor: pointer;
  border: none;
  background: transparent;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.2s ease;
}
.see-all:hover {
  gap: 12px;
}

/* ── CATEGORY CARDS ────────────────────────────────────────────────────── */
.cats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.cat-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem 1.25rem 1.6rem;
  min-height: 160px;
  text-decoration: none;
}
.cat-card:hover {
  border-color: var(--gold-dim);
  transform: translateY(-4px);
}

/* Hide old image/gradient elements */
.cat-card-bg,
.cat-card-gradient,
.cat-card-deco {
  display: none;
}

.cat-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.cat-badge {
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  background: rgba(200, 168, 75, 0.12);
  border: 1px solid rgba(200, 168, 75, 0.28);
  padding: 3px 10px;
  border-radius: 999px;
  display: inline-block;
  align-self: flex-start;
}
.cat-name {
  font-family: "Playfair Display", serif;
  font-size: clamp(20px, 3vw, 28px);
  color: var(--white);
  font-weight: 700;
  line-height: 1.2;
}
.cat-count {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

.cat-arrow {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 30px;
  height: 30px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 13px;
  transition: border-color 0.25s ease, color 0.25s ease;
}
.cat-card:hover .cat-arrow {
  border-color: var(--gold);
  color: var(--gold);
}

/* ── PRODUCT GRID + CARDS ──────────────────────────────────────────────── */
.prods-grid,
.cat-prods-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.875rem;
}

/* ── GOD IDOLS EMPTY / COMING SOON STATE ───────────────────────────────── */
.cat-empty-state {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem 3rem;
  gap: 1rem;
}
.cat-empty-icon {
  font-size: 4rem;
  opacity: 0.7;
  filter: grayscale(0.2);
}
.cat-empty-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.4rem, 4vw, 2rem);
  color: var(--white);
  letter-spacing: 0.5px;
}
.cat-empty-desc {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
  max-width: 480px;
}
.cat-empty-state .btn--wa {
  margin-top: 0.5rem;
}
.prod-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease;
  position: relative;
}
.prod-card:hover {
  border-color: var(--gold-dim);
  transform: translateY(-3px);
}
.prod-img {
  /* Match your real product photos (600×720 = 5:6) */
  aspect-ratio: 5 / 6;
  display: grid;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}
.prod-photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 6px;
}
.prod-card--custom .prod-img {
  aspect-ratio: 4 / 5;
}
.prod-card--custom .prod-photo {
  object-fit: contain;
  background: #ffffff;
  padding: 10px;
}

/* God Idols — keep dark background for idol photos (anywhere on the site) */
[data-category="god-idol"] .prod-img {
  background: var(--bg4);
}
[data-category="god-idol"] .prod-photo {
  object-fit: cover;
  padding: 0;
}
.prod-icon-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-size: clamp(40px, 6vw, 64px);
  color: rgba(250, 248, 244, 0.92);
  background:
    radial-gradient(ellipse at 50% 40%, rgba(200,168,75,.16) 0%, transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(184,196,204,.10) 0%, transparent 50%),
    linear-gradient(135deg, rgba(255,255,255,.04), rgba(255,255,255,.015));
}
.prod-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 6px;
  font-weight: 700;
  border: 1px solid transparent;
}
.badge-new {
  background: var(--bg);
  color: var(--gold);
  border-color: var(--gold-dim);
}
.badge-top {
  background: var(--gold);
  color: #0d0b08;
}
.prod-body {
  padding: 1.05rem 1.1rem 1.15rem;
}
.prod-sku {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 1px;
  margin-bottom: 0.3rem;
}
.prod-name {
  font-family: "Playfair Display", serif;
  font-size: 15px;
  color: var(--white);
  line-height: 1.35;
  margin-bottom: 0.6rem;
}
.prod-mats {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 0.9rem;
}
.mat-pill {
  font-size: 10px;
  color: var(--muted);
  background: var(--bg4);
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.prod-wa-btn {
  width: 100%;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 9px;
  border-radius: 10px;
  font-size: 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.prod-wa-btn:hover {
  background: rgba(37, 211, 102, 0.1);
  border-color: var(--wa);
  color: var(--wa);
}
.prod-wa-btn svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* ── SHOWCASE FILTER UI ────────────────────────────────────────────────── */
.showcase-tabs {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 1.1rem;
  flex-wrap: wrap;
}
.stab {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.stab:hover {
  border-color: var(--gold-dim);
  color: var(--white);
}
.stab.active {
  background: var(--gold);
  color: #0d0b08;
  border-color: var(--gold);
  font-weight: 700;
}
/* ── FILTER DROPDOWNS ───────────────────────────────────────────────────── */
.filter-dropdowns-row {
  display: flex;
  align-items: flex-end;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}
.filter-dropdown-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 140px;
}
.filter-dropdown-label {
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
}
.filter-select {
  appearance: none;
  -webkit-appearance: none;
  background: var(--bg3) 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' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 0.75rem center;
  border: 1px solid var(--border);
  color: var(--silver);
  padding: 0.5rem 2rem 0.5rem 0.75rem;
  border-radius: 8px;
  font-size: 13px;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s ease;
  width: 100%;
}
.filter-select:hover,
.filter-select:focus {
  border-color: var(--gold-dim);
  color: var(--white);
}
.filter-select option {
  background: #1e1a13;
  color: var(--silver);
}

/* Keep old pill/spill classes harmless if referenced elsewhere */
.spill, .filter-pill {
  display: none;
}
.showcase-search {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0 1rem;
  margin-bottom: 1.5rem;
  transition: border-color 0.2s ease;
}
.showcase-search:focus-within {
  border-color: var(--gold-dim);
}
.showcase-search svg {
  flex-shrink: 0;
  color: var(--muted);
}
.showcase-search input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 13px 0;
  font-size: 14px;
  color: var(--white);
  outline: none;
}
.showcase-search input::placeholder {
  color: var(--muted);
}
.clear-x {
  cursor: pointer;
  color: var(--muted);
  font-size: 18px;
  display: none;
  line-height: 1;
  background: transparent;
  border: none;
  padding: 8px 4px;
}

.hint {
  font-size: 13px;
  color: var(--muted);
}

/* ── PHOTO BENTO GRID ──────────────────────────────────────────────────── */
.photo-grid-section { padding-bottom: 0; }

/*
  Layout built from actual image ratios:
    5 Fig     : 1414×721  → 1.96:1  (row 1, full width)
    Temple    :  574×703  → 0.82:1  (row 2 left)
    Inside Sh : 1519×491  → 3.09:1  (row 2 right)
    Shop Ext  : 1920×720  → 2.67:1  (row 3, full width)

  Col split: Temple col = 1fr, Inside Shop col = 2.8fr
  (~26 % : 74 %) — matches Temple's 0.82 ratio at the row height
*/
.photo-bento-grid {
  display: grid;
  gap: 10px;
  grid-template-areas:
    "temple  inside"
    "fivefig fivefig";
  grid-template-columns: 1fr 2.8fr;
}

/* Base cell */
.bento-cell {
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  background: var(--bg3);
  border: 1px solid var(--border);
  min-height: 0;
}
.bento-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s ease;
}
.bento-cell:hover img { transform: scale(1.04); }

/* ── Per-cell sizing via aspect-ratio (images fill naturally) ── */

/* Row 1: 5-Fig 1.96:1 — full container width */
.bento-fivefig {
  grid-area: fivefig;
  aspect-ratio: 1414 / 721;
}

/* Row 2 left: Temple 0.82:1 — sets the row height */
.bento-temple {
  grid-area: temple;
  aspect-ratio: 574 / 703;
  background: #13100b;          /* dark bg behind white product photo */
}
/* Slight zoom-in to crop the white product-photo margin */
.bento-temple img { object-position: center center; transform-origin: center; }

/* Row 2 right: Inside Shop — fills the height set by temple */
.bento-inside {
  grid-area: inside;
  overflow: hidden;
}
.bento-inside img { object-position: center 40%; }

/* ── Caption overlay ──────────────────────────────────────────────────── */
.bento-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.72));
  color: #ede8d8;
  font-size: 0.72rem;
  letter-spacing: 0.5px;
  padding: 2rem 0.9rem 0.65rem;
  opacity: 0;
  transition: opacity 0.25s;
  pointer-events: none;
}
.bento-cell:hover .bento-label { opacity: 1; }

/* ── Mobile ───────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .photo-bento-grid {
    grid-template-areas:
      "temple"
      "inside"
      "fivefig";
    grid-template-columns: 1fr;
  }
  /* On mobile restore natural heights */
  .bento-temple   { aspect-ratio: 574  / 703; }
  .bento-inside   { aspect-ratio: 1519 / 491; }
  .bento-fivefig  { aspect-ratio: 1414 / 721; }
  .bento-cell:hover .bento-label { opacity: 1; }
}

/* ── CRAFT STRIP ───────────────────────────────────────────────────────── */
.craft-strip {
  background: var(--bg2);
  padding: 4rem 1.25rem;
}
.craft-visual {
  display: none;
}
.craft-founder-img {
  display: none;
}
.cat-card-bg:has(.cat-thumb) {
  opacity: 1;
}
.craft-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg, transparent, transparent 24px, rgba(200, 168, 75, 0.03) 24px,
      rgba(200, 168, 75, 0.03) 25px);
}
.craft-big {
  font-size: 140px;
  opacity: 0.12;
  position: relative;
  z-index: 1;
}
.craft-content {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.craft-head {
  max-width: 640px;
}
.craft-list {
  list-style: none;
  margin: 2rem 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  width: 100%;
  border: 1px solid rgba(200, 168, 75, 0.15);
  border-radius: 14px;
  overflow: hidden;
}
.craft-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 14px;
  color: var(--silver);
  background: rgba(255, 255, 255, 0.02);
  text-align: left;
}
.craft-list li:last-child {
  border-bottom: none;
}
.craft-list li::before {
  content: "";
  width: 20px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}
.craft-cta {
  margin-top: 0.5rem;
}

/* ── TESTIMONIALS ──────────────────────────────────────────────────────── */
.testi-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.testi-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
}
.testi-stars {
  color: var(--gold);
  font-size: 13px;
  margin-bottom: 0.9rem;
  letter-spacing: 2px;
}
.testi-q {
  font-family: "Playfair Display", serif;
  font-size: 15px;
  color: var(--silver2);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 1.1rem;
}
.testi-by {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ── CTA BANNER ────────────────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--bg3), var(--bg4));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  box-shadow: var(--shadow-soft);
}
.cta-text h3 {
  font-family: "Playfair Display", serif;
  font-size: 24px;
  color: var(--white);
  font-weight: 400;
  margin-bottom: 0.4rem;
}
.cta-text h3 em {
  color: var(--gold2);
  font-style: italic;
}
.cta-text p {
  font-size: 14px;
  color: var(--muted);
  font-weight: 300;
}

/* ── FOOTER ────────────────────────────────────────────────────────────── */
.footer {
  background: #080705;
  border-top: 1px solid var(--border);
  padding: 3rem 1.25rem 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 1.25rem;
  margin-bottom: 2.5rem;
}
.footer-grid > div:first-child {
  grid-column: 1 / -1;
}
.footer-brand {
  font-family: "Playfair Display", serif;
  font-size: 20px;
  color: var(--gold2);
  margin-bottom: 0.75rem;
}
.footer-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.85;
  font-weight: 300;
  max-width: 520px;
}
.footer-col h4 {
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-col ul {
  list-style: none;
}
.footer-col li {
  margin-bottom: 0.65rem;
}
.footer-col a,
.footer-text {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-col a:hover {
  color: var(--gold2);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: center;
}
.footer-copy {
  font-size: 12px;
  color: rgba(138, 126, 112, 0.7);
}

/* ── FLOATING WHATSAPP ─────────────────────────────────────────────────── */
.float-wa {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  width: 56px;
  height: 56px;
  background: var(--wa);
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 4px 24px rgba(37, 211, 102, 0.4);
  z-index: 500;
  transition: transform 0.2s ease;
  text-decoration: none;
  color: #fff;
}
.float-wa:hover {
  transform: scale(1.08);
}
.float-wa svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}
.float-wa-tooltip {
  position: absolute;
  right: 68px;
  background: var(--bg3);
  color: var(--white);
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 10px;
  white-space: nowrap;
  border: 1px solid var(--border);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.float-wa:hover .float-wa-tooltip {
  opacity: 1;
}

/* ── MODAL ─────────────────────────────────────────────────────────────── */
.modal-wrap {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(6px);
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}
.modal-wrap.open {
  display: flex;
}
.modal-box {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 20px 20px 0 0;
  width: 100%;
  max-width: 860px;
  height: 92vh;
  overflow: hidden;
  /* flex column: image fixed at top, info scrolls below */
  display: flex;
  flex-direction: column;
  position: relative;
}
.modal-img-side {
  background: var(--bg4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 72px;
  /* Fixed height — flex-shrink:0 keeps it from collapsing */
  height: clamp(200px, 32vh, 280px);
  flex-shrink: 0;
  flex-grow: 0;
}
.modal-img-side img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 14px;
  background: radial-gradient(ellipse at 50% 30%, rgba(200, 168, 75, 0.10) 0%, transparent 55%);
}
.modal-info {
  /* flex:1 + min-height:0 = fills remaining space and enables scroll */
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 1.25rem 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
}
.modal-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 34px;
  height: 34px;
  background: rgba(35, 31, 26, 0.8);
  border: 1px solid var(--border);
  border-radius: 50%;
  cursor: pointer;
  color: var(--muted);
  font-size: 16px;
  display: grid;
  place-items: center;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.modal-close:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.modal-sku {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 1.5px;
  margin-bottom: 0.4rem;
}
.modal-title {
  font-family: "Playfair Display", serif;
  font-size: 20px;
  color: var(--white);
  font-weight: 400;
  margin-bottom: 1rem;
  line-height: 1.3;
}
.modal-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 1.25rem;
  font-weight: 300;
}
.specs-head {
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.spec-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 13px;
}
.spec-k {
  color: var(--muted);
}
.spec-v {
  color: var(--silver);
  text-align: right;
}
.modal-actions {
  margin-top: 1.25rem;
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* ── CATEGORY/FINISH PAGE SHELL ────────────────────────────────────────── */
.cat-page-header {
  padding: 5rem 1.25rem 2rem;
  background: var(--bg2);
  text-align: center;
}
.cat-page-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}
.filter-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.filter-row::-webkit-scrollbar {
  display: none;
}
.search-bar {
  display: flex;
  align-items: center;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0 1rem;
  margin-bottom: 1.25rem;
  transition: border-color 0.2s ease;
}
.search-bar:focus-within {
  border-color: var(--gold-dim);
}
.search-bar input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 12px 0;
  font-size: 14px;
  color: var(--white);
  outline: none;
}
.search-bar input::placeholder {
  color: var(--muted);
}
.search-bar svg {
  width: 18px;
  height: 18px;
  color: var(--muted);
  margin-right: 8px;
}
.results-count {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 1.25rem;
}
.no-results {
  text-align: center;
  padding: 4rem 1rem;
  color: var(--muted);
  font-size: 15px;
  grid-column: 1 / -1;
}

/* ── RESPONSIVE ENHANCEMENTS (>= 768px) ────────────────────────────────── */
@media (min-width: 768px) {
  .nav {
    height: 68px;
    padding: 0 3rem;
  }
  .nav-logo-img {
    height: 52px;
  }
  .nav-links {
    display: flex;
  }
  .hamburger {
    display: none;
  }
  .mobile-nav-drawer {
    display: none;
  }

  .hero {
    min-height: calc(100vh - 68px);
    padding: 4rem 0 5rem;
  }
  .hero-content {
    padding: 0 3rem;
    grid-template-columns: 1fr 420px;
    gap: 4rem;
  }
  .hero-h1 {
    font-size: 62px;
  }
  .hero-ctas {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .hero-ctas .btn {
    width: auto;
  }
  .hero-right {
    flex-direction: column;
    gap: 1.25rem;
  }
  .hero-stat-card {
    flex: initial;
    padding: 1.5rem;
    gap: 1.25rem;
  }
  .stat-num {
    font-size: 28px;
  }
  .hero-scroll {
    display: flex;
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 2;
  }

  .section {
    padding: 6rem 3rem;
  }
  .section-head {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
  }
  .s-h2 {
    font-size: 40px;
  }

  .cats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
  .prods-grid,
  .cat-prods-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }
  /* keep aspect-ratio-driven height on desktop too */

  .craft-strip {
    padding: 5rem 2rem;
  }
  .craft-list {
    grid-template-columns: 1fr 1fr;
  }

  .testi-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .cta-banner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 3.5rem 4rem;
  }
  .cta-text h3 {
    font-size: 32px;
  }

  .footer {
    padding: 4rem 3rem 2rem;
  }
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
  }
  .footer-grid > div:first-child {
    grid-column: auto;
  }
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .modal-wrap {
    align-items: center;
    padding: 2rem;
  }
  .modal-box {
    border-radius: var(--radius-lg);
    /* Switch to side-by-side grid on desktop */
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    height: auto;
    max-height: 90vh;
    align-items: stretch;
  }
  .modal-img-side {
    font-size: 110px;
    height: auto;
    min-height: 420px;
    flex-shrink: unset;
  }
  .modal-info {
    flex: unset;
    min-height: unset;
    overflow-y: auto;
    padding: 1.5rem 1.5rem 2rem;
  }
  .modal-title {
    font-size: 26px;
  }
}

/* ── MOBILE: header / nav fixes ─────────────────────────────────────────── */
@media (max-width: 767px) {
  /* Hide WhatsApp nav button on mobile — drawer button shows instead */
  .nav .btn--wa {
    display: none;
  }

  /* Drawer WhatsApp button must stay flex so icon + text stay centred */
  .drawer-wa {
    display: flex;
  }
  /* Prevent logo from overflowing into the right buttons */
  .nav-logo {
    font-size: 15px;
    max-width: calc(100vw - 110px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .nav-right {
    gap: 0.5rem;
    flex-shrink: 0;
  }
  /* Make search icon button slightly more compact */
  .icon-btn {
    width: 34px;
    height: 34px;
  }
  /* Search overlay: reduce top padding, make font smaller */
  .search-overlay {
    padding-top: 6vh;
  }
  .search-input-row input {
    font-size: 22px;
  }
  .search-results {
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    max-height: 58vh;
  }
}

/* ── MOBILE: horizontal scroll pills/tabs ──────────────────────────────── */
@media (max-width: 768px) {
  .showcase-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .showcase-tabs::-webkit-scrollbar {
    display: none;
  }
  .stab {
    flex-shrink: 0;
    padding: 8px 16px;
    font-size: 11px;
  }
  .filter-dropdown-wrap {
    min-width: 120px;
    flex: 1;
  }
}

/* ── Very small phones (≤ 390px) ─────────────────────────────────────────── */
@media (max-width: 390px) {
  .modal-img-side {
    height: clamp(160px, 26vh, 220px);
  }
  .modal-info {
    padding: 1rem 1rem 1.25rem;
  }
}

/* ── Category cards — mobile fix (≤ 600px) ───────────────────────────────── */
@media (max-width: 600px) {
  /* Single column, horizontal-style cards */
  .cats-grid {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .cat-card {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    min-height: unset;
    padding: 1rem 3.5rem 1rem 1.1rem; /* right gap reserves space for arrow */
    gap: 0;
  }

  .cat-card-body {
    flex: 1;
    min-width: 0; /* prevents text overflow */
  }

  .cat-badge {
    font-size: 9px;
    margin-bottom: 0.3rem;
    padding: 2px 8px;
  }

  .cat-name {
    font-size: 17px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .cat-count {
    font-size: 11px;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Keep arrow vertically centred */
  .cat-arrow {
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    font-size: 12px;
  }
}

/* ── GALLERY PAGE ───────────────────────────────────────────────────────── */
.gal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  align-items: start;
}

.gal-wide {
  grid-column: span 2;
}

.gal-item {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg3);
  border: 1px solid var(--border);
  cursor: zoom-in;
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.gal-item:hover {
  transform: translateY(-3px);
  border-color: var(--gold-dim);
}

.gal-img {
  width: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  transition: transform 0.3s ease;
}

.gal-wide .gal-img {
  aspect-ratio: 16 / 9;
}

.gal-item:hover .gal-img {
  transform: scale(1.03);
}

.gal-caption {
  padding: 0.6rem 0.85rem 0.75rem;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}

@media (max-width: 600px) {
  .gal-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
  }
  .gal-wide {
    grid-column: span 1;
  }
  .gal-wide .gal-img {
    aspect-ratio: 4 / 3;
  }
}

/* ── GALLERY LIGHTBOX ───────────────────────────────────────────────────── */
.gal-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 1.5rem;
}

.gal-lightbox.open {
  display: flex;
}

.gal-lb-img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
}

.gal-lb-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.gal-lb-caption {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  text-align: center;
}

.gal-lb-counter {
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.gal-lb-prev,
.gal-lb-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 36px;
  line-height: 1;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease;
  z-index: 1;
}

.gal-lb-prev { left: 1.25rem; }
.gal-lb-next { right: 1.25rem; }

.gal-lb-prev:hover,
.gal-lb-next:hover {
  background: rgba(255, 255, 255, 0.22);
}

@media (max-width: 768px) {
  .gal-lb-prev,
  .gal-lb-next { display: none; }
}

.gal-lb-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease;
}

.gal-lb-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ── DASHBOARD TABS ─────────────────────────────────────────────────────── */
.dash-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.dash-tabs {
  display: flex;
  gap: 0.5rem;
  background: var(--bg3);
  border: 1px solid var(--border);
  padding: 4px;
  border-radius: 10px;
}

.dash-tab-btn {
  padding: 0.45rem 1.25rem;
  border-radius: 7px;
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}

.dash-tab-btn.active {
  background: var(--gold);
  color: #0d0b08;
  font-weight: 700;
}

[data-theme="light"] .dash-tab-btn.active {
  color: #fff;
}

.dash-tab-content {
  min-height: 300px;
}

/* ── PRODUCT QUICK PHOTO BUTTON ─────────────────────────────────────────── */
.dash-photo-label {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.dash-photo-label .dash-file-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

/* ── GALLERY DASHBOARD ──────────────────────────────────────────────────── */
.gal-dash-hint {
  font-size: 12px;
  color: var(--muted);
  margin: 0.75rem 0 1rem;
}

.gal-dash-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 0.5rem;
}

.gal-dash-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.gal-dash-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.gal-dash-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gal-dash-badge {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  background: var(--gold);
  color: #0d0b08;
  font-size: 9px;
  letter-spacing: 1px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 999px;
}

.gal-dash-info {
  padding: 0.65rem 0.75rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.gal-caption-input {
  width: 100%;
  background: var(--bg2);
  border: 1px solid var(--border);
  color: var(--white);
  border-radius: 6px;
  padding: 0.35rem 0.6rem;
  font-size: 12px;
  font-family: inherit;
}

.gal-caption-input:focus {
  outline: none;
  border-color: var(--gold-dim);
}

.gal-dash-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.gal-wide-toggle {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 12px;
  color: var(--muted);
  cursor: pointer;
}

/* ── GALLERY UPLOAD PANEL ───────────────────────────────────────────────── */
.gal-upload-panel {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
}

.gal-upload-inner {
  padding: 1.25rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-width: 520px;
}

.gal-upload-title {
  font-size: 15px;
  color: var(--white);
  font-weight: 600;
  margin: 0;
}

.gal-upload-drop {
  border: 2px dashed var(--border);
  border-radius: 10px;
  padding: 2rem 1rem;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  transition: border-color 0.2s ease;
}

.gal-upload-drop:hover,
.gal-upload-drop.drag-over {
  border-color: var(--gold);
}

.gal-upload-drop.drag-over {
  background: rgba(197,160,72,.06);
}

.gal-drop-icon {
  font-size: 40px;
  margin-bottom: 0.5rem;
}

#gal-upload-preview img {
  width: 100%;
  max-height: 220px;
  object-fit: contain;
  border-radius: 8px;
  background: var(--bg3);
  border: 1px solid var(--border);
}

.gal-queue-grid {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin: .25rem 0;
}

.gal-queue-item {
  position: relative;
  width: 76px;
  height: 76px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.gal-queue-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gal-qi-remove {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(0,0,0,.72);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  font-size: 15px;
  cursor: pointer;
  display: grid;
  place-items: center;
  line-height: 1;
  padding: 0;
  transition: background .15s;
}

.gal-qi-remove:hover {
  background: rgba(200,50,50,.85);
}

.gal-upload-fields {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.gal-upload-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .dash-tabs {
    flex: 1;
  }
  .gal-dash-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
  }
}
