/* ========================================
   LIORE DESIGNS — Premium Kerala Boutique
   Design System v4.0 — World Class Edition
======================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400;1,600&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Lato:wght@300;400;700;900&display=swap');

/* ========================
   DESIGN TOKENS
======================== */
:root {
  --ivory:       #FDFAF4;
  --ivory-warm:  #F7F0E0;
  --ivory-mid:   #EDE2C8;
  --white:       #FFFFFF;
  --gold:        #B8860B;
  --gold-rich:   #C8962A;
  --gold-light:  #DFB849;
  --gold-pale:   #F2E0A0;
  --gold-faint:  #FBF3DC;
  --crimson:     #8B1A3F;
  --crimson-light:#A82050;
  --dark:        #1C1008;
  --text:        #3C2415;
  --text-mid:    #6A4E35;
  --text-light:  #9C7E68;
  --border:      rgba(184,134,11,0.15);
  --border-mid:  rgba(184,134,11,0.30);
  --border-strong:rgba(184,134,11,0.55);
  --shadow-sm:   0 2px 12px rgba(60,36,21,0.07);
  --shadow-md:   0 8px 32px rgba(60,36,21,0.12);
  --shadow-lg:   0 24px 64px rgba(60,36,21,0.16);
  --shadow-gold: 0 8px 28px rgba(184,134,11,0.22);
  --font-display:'Playfair Display', Georgia, serif;
  --font-serif:  'Cormorant Garamond', Georgia, serif;
  --font-body:   'Lato', 'Helvetica Neue', sans-serif;
  --r-sm: 6px; --r-md: 14px; --r-lg: 22px; --r-pill: 100px;
  --t-fast: 0.2s ease; --t-base: 0.35s ease;
  --t-slow: 0.6s cubic-bezier(0.23,1,0.32,1);
  --t-spring: 0.5s cubic-bezier(0.34,1.56,0.64,1);
  --navbar-h: 82px;
  --announce-h: 36px;
}

/* ========================
   RESET & BASE
======================== */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body { font-family: var(--font-body); color: var(--text); background: var(--ivory); line-height: 1.6; overflow-x: hidden; max-width: 100vw; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
::selection { background: var(--gold-pale); color: var(--dark); }
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--ivory); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }

/* ========================
   LOADING SCREEN
======================== */
/* ============================================================
   LOADING SCREEN — "The Kasavu Unveil"
   Inspired by Kerala's iconic ivory-gold Kasavu saree border.
   Dark luxury box → gold Kasavu bars extend full-width →
   logo blooms with spinning zari ring → brand reveals →
   screen lifts like silk being raised (curtain-up exit).
============================================================ */
#loadingScreen {
  position: fixed; inset: 0; z-index: 9999;
  /* Deep jewel purple — rich velvet box, silk unfolds from here */
  background: #0a0814;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  overflow: hidden;
}

/* Canvas wrapper — position:absolute takes it fully out of Safari flex flow */
.ldr-silk-wrap {
  position: absolute; inset: 0; z-index: 0;
  pointer-events: none; overflow: hidden;
  opacity: 0;
  animation: ldrSilkIn 0.7s ease 0.15s forwards;
}
.ldr-silk-wrap canvas { display: block; width: 100%; height: 100%; }
@keyframes ldrSilkIn { to { opacity: 1; } }

/* ── EXIT: entire screen lifts up like a silk curtain being raised ── */
#loadingScreen.ldr-exit {
  animation: ldrCurtainUp 0.7s cubic-bezier(0.76, 0, 0.24, 1) forwards;
}
@keyframes ldrCurtainUp { to { transform: translateY(-100%); } }
#loadingScreen.hidden { display: none !important; }

/* ── Kasavu Bars: the iconic gold stripe of Kerala sarees ── */
/* Grow from centre outward — full screen width */
.ldr-top-bar, .ldr-bot-bar {
  position: absolute; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg,
    transparent 0%, var(--gold-light) 15%,
    var(--gold-rich) 40%, var(--gold) 50%,
    var(--gold-rich) 60%, var(--gold-light) 85%, transparent 100%);
  transform: scaleX(0);
  animation: ldrKasavuBar 0.9s cubic-bezier(0.4, 0, 0.2, 1) 0.15s forwards;
  z-index: 1;
}
.ldr-top-bar { top: 0; }
.ldr-bot-bar { bottom: 4px; } /* sits just above progress track */
/* Secondary thin accent lines */
.ldr-top-bar::after, .ldr-bot-bar::after {
  content: '';
  position: absolute; left: 0; right: 0;
  height: 1px;
  background: inherit; opacity: 0.4;
}
.ldr-top-bar::after { top: 5px; }
.ldr-bot-bar::after { bottom: 5px; }
@keyframes ldrKasavuBar { to { transform: scaleX(1); } }

/* ── Corner ornaments — temple bracket motif ── */
.ldr-corner {
  position: absolute; width: 22px; height: 22px;
  opacity: 0; z-index: 1;
  animation: ldrFadeIn 0.5s ease 0.6s forwards;
}
.ldr-c1 { top: 12px;  left: 12px;  border-top: 1px solid rgba(184,134,11,0.55); border-left: 1px solid rgba(184,134,11,0.55); }
.ldr-c2 { top: 12px;  right: 12px; border-top: 1px solid rgba(184,134,11,0.55); border-right: 1px solid rgba(184,134,11,0.55); }
.ldr-c3 { bottom: 14px; left: 12px;  border-bottom: 1px solid rgba(184,134,11,0.55); border-left: 1px solid rgba(184,134,11,0.55); }
.ldr-c4 { bottom: 14px; right: 12px; border-bottom: 1px solid rgba(184,134,11,0.55); border-right: 1px solid rgba(184,134,11,0.55); }
@keyframes ldrFadeIn { to { opacity: 1; } }

/* ── Centre body ── */
.ldr-body {
  position: relative; z-index: 2;
  display: flex; flex-direction: column;
  align-items: center; gap: 22px;
}
/* Warm diya/candle glow bloom behind logo */
.ldr-body::before {
  content: '';
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -60%);
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(210,155,30,0.28) 0%, rgba(184,134,11,0.10) 50%, transparent 70%);
  border-radius: 50%;
  animation: ldrDiyaGlow 2.2s ease-in-out 0.9s infinite alternate;
  pointer-events: none;
}
@keyframes ldrDiyaGlow {
  from { transform: translate(-50%,-60%) scale(0.85); opacity: 0.7; }
  to   { transform: translate(-50%,-60%) scale(1.2);  opacity: 1; }
}

/* ── Logo with double spinning zari ring ── */
.ldr-ring {
  position: relative;
  width: 148px; height: 148px;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: scale(0.7);
  animation: ldrLogoBloom 0.85s cubic-bezier(0.34, 1.5, 0.64, 1) 0.35s forwards;
}
@keyframes ldrLogoBloom { to { opacity: 1; transform: scale(1); } }
/* Outer zari ring — slow clockwise */
.ldr-ring::before {
  content: '';
  position: absolute; inset: -8px; border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--gold);
  border-right-color: var(--gold-light);
  border-bottom-color: rgba(184,134,11,0.2);
  animation: ldrRingSpin 2.2s linear 1s infinite;
}
/* Inner zari ring — faster counter-clockwise */
.ldr-ring::after {
  content: '';
  position: absolute; inset: -15px; border-radius: 50%;
  border: 1px solid transparent;
  border-bottom-color: rgba(184,134,11,0.4);
  border-left-color: rgba(184,134,11,0.2);
  animation: ldrRingSpin 3.5s linear 1s infinite reverse;
}
@keyframes ldrRingSpin { to { transform: rotate(360deg); } }
/* Logo itself */
.ldr-logo {
  width: 132px; height: 132px;
  border-radius: 50%; object-fit: contain;
  background: #fff;
  box-shadow: 0 0 0 2px rgba(184,134,11,0.4), 0 6px 36px rgba(184,134,11,0.22);
  animation: ldrLogoGlow 2.8s ease-in-out 1.2s infinite alternate;
}
@keyframes ldrLogoGlow {
  from { box-shadow: 0 0 0 2px rgba(184,134,11,0.4), 0 6px 36px rgba(184,134,11,0.22); }
  to   { box-shadow: 0 0 0 5px rgba(184,134,11,0.75), 0 8px 56px rgba(184,134,11,0.44); }
}

/* ── Brand name — clip reveal (slides up from below) ── */
.ldr-brand-clip {
  overflow: hidden;
  padding-bottom: 3px;
}
.ldr-brand {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 400;
  letter-spacing: 0.42em;
  color: #f5ead8;   /* warm ivory — saree white tone */
  transform: translateY(115%);
  animation: ldrBrandReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.9s forwards;
}
@keyframes ldrBrandReveal { to { transform: translateY(0); } }

/* ── Ornament — zari stitch lines + gem ── */
.ldr-orn {
  display: flex; align-items: center; gap: 14px;
  opacity: 0;
  animation: ldrFadeIn 0.5s ease 1.55s forwards;
}
.ldr-orn-line {
  display: block; height: 1px; width: 0;
  background: linear-gradient(90deg, transparent, var(--gold-rich));
  animation: ldrLineOut 0.65s cubic-bezier(0.4,0,0.2,1) 1.6s forwards;
}
.ldr-orn-line:last-child {
  background: linear-gradient(90deg, var(--gold-rich), transparent);
}
@keyframes ldrLineOut { to { width: 64px; } }
.ldr-orn-gem {
  display: block; width: 7px; height: 7px;
  background: var(--gold);
  transform: rotate(45deg) scale(0);
  animation: ldrGemPop 0.45s cubic-bezier(0.34,1.56,0.64,1) 1.7s forwards;
}
@keyframes ldrGemPop { to { transform: rotate(45deg) scale(1); } }

/* ── Tagline ── */
.ldr-tagline {
  font-family: var(--font-body);
  font-size: 0.56rem; letter-spacing: 9px;
  text-transform: uppercase;
  color: var(--gold-light);
  opacity: 0;
  animation: ldrFadeIn 0.7s ease 1.9s forwards;
}

/* ── Full-width Kasavu progress bar at very bottom ── */
/* Bar fills in 3.0s exactly; JS exit triggers at 3.1s */
.ldr-progress {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 4px;
  background: rgba(184,134,11,0.1);
  z-index: 1;
}
.ldr-progress-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--gold-light), var(--gold), var(--gold-rich), var(--gold));
  animation: ldrProgFill 5.9s cubic-bezier(0.25,0.46,0.45,0.94) 0.1s forwards;
}
@keyframes ldrProgFill {
  0%   { width: 0% }
  25%  { width: 38% }
  55%  { width: 68% }
  80%  { width: 88% }
  95%  { width: 97% }
  100% { width: 100% }
}

/* ── Mobile ── */
@media (max-width: 540px) {
  .ldr-ring  { width: 112px; height: 112px; }
  .ldr-logo  { width: 98px; height: 98px; }
  .ldr-brand { font-size: 1.25rem; letter-spacing: 0.28em; }
  .ldr-corner { width: 16px; height: 16px; }
}

/* ========================
   ANNOUNCEMENT BAR
======================== */
.announcement {
  position: fixed; top: 0; width: 100%; z-index: 1001;
  height: var(--announce-h);
  background: var(--dark);
  border-bottom: 1px solid rgba(184,134,11,0.25);
  color: rgba(255,255,255,0.8);
  display: flex; justify-content: center; align-items: center; gap: 14px; flex-wrap: nowrap; overflow: hidden;
  font-family: var(--font-body); font-size: 0.68rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  transition: all 0.4s ease;
}
.announcement.hidden { transform: translateY(-100%); pointer-events: none; }
.announcement .ann-badge {
  background: var(--gold); color: var(--dark);
  padding: 2px 10px; border-radius: var(--r-pill);
  font-size: 0.58rem; font-weight: 900; letter-spacing: 1px; white-space: nowrap; flex-shrink: 0;
}
.announcement .ann-text strong { color: var(--gold-light); }
.announcement .ann-sep { color: var(--gold); opacity: 0.5; flex-shrink: 0; font-size: 0.45rem; }
.announcement .ann-wa { color: var(--gold-light); flex-shrink: 0; }

/* ========================
   NAVBAR — always light/ivory
======================== */
.navbar {
  position: fixed; top: var(--announce-h); width: 100%;
  z-index: 1002; padding: 0 5%;
  background: rgba(253,250,244,0.97);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: top 0.4s ease, box-shadow 0.4s ease;
}
.navbar.scrolled { top: 0; box-shadow: 0 2px 30px rgba(60,36,21,0.09); }
.nav-inner { display: flex; justify-content: space-between; align-items: center; height: var(--navbar-h); max-width: 1400px; margin: 0 auto; }

/* Logo — real brand image + brand name text */
.nav-logo { display: flex; align-items: center; gap: 11px; text-decoration: none; flex-shrink: 0; }
.nav-logo-img {
  width: 78px; height: 78px;
  object-fit: contain;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--gold);
  box-shadow: 0 2px 18px rgba(184,134,11,0.26);
  transition: box-shadow var(--t-base), transform var(--t-base);
  flex-shrink: 0;
}
.nav-logo:hover .nav-logo-img {
  box-shadow: 0 4px 24px rgba(184,134,11,0.38);
  transform: scale(1.04);
}

.nav-links { display: flex; list-style: none; gap: 2px; align-items: center; }
.nav-links a { color: var(--text-mid); font-family: var(--font-body); font-size: 0.7rem; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase; transition: color var(--t-base); padding: 8px 12px; border-radius: var(--r-sm); position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%); width: 0; height: 1px; background: var(--gold); transition: width 0.3s ease; }
.nav-links a:hover::after { width: 55%; }
.nav-links a:hover { color: var(--gold); }
.nav-links .nav-admin a { background: var(--gold-faint); border: 1px solid var(--border-mid); color: var(--gold); padding: 6px 14px; border-radius: var(--r-pill); font-size: 0.65rem; }
.nav-links .nav-admin a:hover { background: var(--gold); color: var(--dark); }
.nav-links .nav-admin a::after { display: none; }

.nav-toggle { display: none; flex-direction: column; cursor: pointer; gap: 5px; padding: 8px; border-radius: var(--r-sm); }
.nav-toggle span { width: 22px; height: 2px; background: var(--dark); border-radius: 2px; transition: var(--t-base); }
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ========================
   HERO — Split Panel (no flicker, no bleed)
======================== */
.hero {
  display: grid;
  grid-template-columns: 30% 70%;
  height: 42vh; min-height: 260px; max-height: 400px;
  overflow: hidden;
  margin-top: calc(var(--announce-h) + var(--navbar-h));
  background: var(--ivory);
  border-top: 3px solid var(--gold);
}

/* Left: text panel */
.hero-left {
  position: relative;
  background: var(--ivory);
  overflow: hidden;
}
/* Subtle kasavu border bottom of left panel */
.hero-left::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold-light), var(--gold), var(--gold-rich), var(--gold));
}

/* Slide text containers */
.hero-slide-text {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: center;
  padding: 18px 7% 40px 9%;
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  pointer-events: none;
}
.hero-slide-text.active {
  opacity: 1; transform: translateY(0); pointer-events: auto;
}
.hero-overline {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-size: 0.55rem; font-weight: 900;
  letter-spacing: 4px; text-transform: uppercase; color: var(--gold);
  margin-bottom: 8px;
}
.hero-overline::before { content: ''; display: block; width: 20px; height: 1px; background: var(--gold); }
.hero-slide-text h1 { font-family: var(--font-display); font-size: clamp(1.3rem, 1.9vw, 2.2rem); font-weight: 700; color: var(--dark); line-height: 1.1; margin-bottom: 8px; }
.hero-slide-text h1 em { font-style: italic; color: var(--crimson); }
.hero-slide-text p { font-size: clamp(0.72rem, 0.9vw, 0.84rem); color: var(--text-mid); max-width: 340px; margin-bottom: 16px; line-height: 1.7; }
.hero-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.hero-actions .btn { font-size: 0.62rem; padding: 9px 16px; letter-spacing: 1.4px; }


/* Right: image panel */
.hero-right { position: relative; overflow: hidden; background: #0c0812; }
.hero-slide-img {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 1.2s ease;
}
.hero-slide-img.active { opacity: 1; }
.hero-slide-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
/* Gradient blend from text panel into image — syncs both halves */
.hero-right::before {
  content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(to right, var(--ivory) 0%, rgba(253,250,244,0.18) 22%, transparent 42%);
}
/* Subtle warm overlay to unify image tone */
.hero-right::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(160deg, rgba(184,134,11,0.06) 0%, transparent 60%);
}

/* Hero nav dots (bottom-left of text panel) */
.hero-controls {
  position: absolute; bottom: 14px; left: 8%;
  display: flex; align-items: center; gap: 14px; z-index: 3;
}
.hero-dots { display: flex; gap: 7px; }
.hero-dot {
  width: 8px; height: 8px; border-radius: 50%; border: none; padding: 0;
  background: rgba(60,36,21,0.2); cursor: pointer; transition: var(--t-base);
}
.hero-dot.active { background: var(--gold); width: 26px; border-radius: var(--r-pill); }
.hero-prev-btn, .hero-next-btn {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1.5px solid var(--border-mid); background: transparent; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-mid); font-size: 0.7rem; transition: var(--t-base);
}
.hero-prev-btn:hover, .hero-next-btn:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-faint); }

/* Badge card on image panel */
.hero-badge {
  position: absolute; top: 28px; right: 28px; z-index: 2;
  background: rgba(253,250,244,0.96); backdrop-filter: blur(10px);
  border: 1px solid var(--border-mid); border-radius: var(--r-md);
  padding: 14px 18px; text-align: center; box-shadow: var(--shadow-md);
}
.hero-badge .badge-num { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; color: var(--gold); line-height: 1; }
.hero-badge .badge-label { font-size: 0.58rem; letter-spacing: 2.5px; text-transform: uppercase; color: var(--text-light); margin-top: 3px; font-weight: 700; }

/* ========================
   FEATURES STRIP
======================== */
.features-strip { background: var(--white); border-bottom: 1px solid var(--border); padding: 0 5%; }
.features-inner { display: flex; justify-content: center; align-items: stretch; max-width: 1200px; margin: 0 auto; }
.feature-item { display: flex; align-items: center; gap: 10px; padding: 10px 20px; flex: 1; min-width: 140px; justify-content: center; border-right: 1px solid var(--border); }
.feature-item:last-child { border-right: none; }
.feature-item i { font-size: 1.1rem; color: var(--gold); flex-shrink: 0; }
.ft-label { font-size: 0.67rem; font-weight: 900; letter-spacing: 1.5px; text-transform: uppercase; color: var(--dark); }
.ft-sub { font-size: 0.61rem; color: var(--text-light); margin-top: 1px; }

/* ========================
   SECTIONS
======================== */
.section { padding: 52px 5%; }
.section-header { text-align: center; margin-bottom: 32px; }
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-size: 0.6rem; font-weight: 900;
  letter-spacing: 4px; text-transform: uppercase; color: var(--gold); margin-bottom: 12px;
}
.section-eyebrow::before, .section-eyebrow::after { content: ''; display: block; width: 26px; height: 1px; background: var(--gold); }
.section-header h2 { font-family: var(--font-display); font-size: clamp(1.5rem, 2.2vw, 2.2rem); color: var(--dark); font-weight: 700; line-height: 1.15; margin-bottom: 10px; }
.section-header h2 em { font-style: italic; color: var(--crimson); }
.section-header p { font-size: 0.95rem; color: var(--text-light); max-width: 520px; margin: 0 auto; line-height: 1.85; }
.kasavu-divider { width: 72px; height: 2px; margin: 14px auto 0; background: linear-gradient(90deg, transparent, var(--gold), transparent); }

/* Reveal animations */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.75s ease, transform 0.75s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ========================
   CATEGORIES
======================== */
.categories { background: var(--ivory); padding-top: 28px; }
.cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; max-width: 1300px; margin: 0 auto; }
.cat-card { position: relative; border-radius: var(--r-md); overflow: hidden; cursor: pointer; aspect-ratio: 3/4; box-shadow: var(--shadow-sm); transition: transform var(--t-slow), box-shadow var(--t-slow); border: 1px solid var(--border); touch-action: manipulation; }
.cat-card:first-child { grid-row: span 2; aspect-ratio: unset; }
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(0.23,1,0.32,1); }
.cat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.cat-card:hover img { transform: scale(1.06); }
.cat-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(28,16,8,0.78) 0%, rgba(28,16,8,0.1) 55%, transparent 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 16px; z-index: 2; transition: background 0.4s ease; }
.cat-card:hover .cat-overlay { background: linear-gradient(to top, rgba(139,26,63,0.82) 0%, rgba(139,26,63,0.18) 55%, transparent 100%); }
.cat-overlay h3 { font-family: var(--font-display); font-size: 0.92rem; font-weight: 700; color: var(--white); margin-bottom: 3px; line-height: 1.2; }
.cat-card:first-child .cat-overlay h3 { font-size: 1.2rem; }
.cat-overlay .cat-count { font-size: 0.62rem; color: var(--gold-pale); letter-spacing: 1.5px; text-transform: uppercase; font-weight: 700; }
.cat-arrow { position: absolute; top: 12px; right: 12px; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.5); display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 0.7rem; opacity: 0; transform: scale(0.7); transition: var(--t-spring); }
.cat-card:hover .cat-arrow { opacity: 1; transform: scale(1); }
.cat-placeholder { width: 100%; height: 100%; background: var(--ivory-warm); display: flex; align-items: center; justify-content: center; font-size: 3rem; color: var(--gold); }

/* ========================
   PRODUCTS
======================== */
.products { background: var(--white); }
.prod-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; max-width: 1300px; margin: 0 auto 36px; flex-wrap: wrap; }
.prod-filters { display: flex; gap: 7px; flex-wrap: wrap; }
.filter-btn { padding: 9px 17px; border-radius: var(--r-pill); font-family: var(--font-body); font-size: 0.67rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; cursor: pointer; transition: var(--t-base); border: 1.5px solid var(--border-mid); background: transparent; color: var(--text-mid); touch-action: manipulation; min-height: 38px; }
.filter-btn:hover { border-color: var(--gold); color: var(--gold); }
.filter-btn.active { background: var(--dark); border-color: var(--dark); color: var(--white); }
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 1300px; margin: 0 auto; }

/* Product Card */
.prod-card { background: var(--white); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--border); transition: transform var(--t-slow), box-shadow var(--t-slow), border-color var(--t-base); contain: layout style; will-change: auto; }
.prod-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--border-mid); }
.prod-card-img { position: relative; overflow: hidden; aspect-ratio: 3/4; background: var(--ivory-warm); }
.prod-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(0.23,1,0.32,1); }
.prod-card:hover .prod-card-img img { transform: scale(1.06); }
.placeholder-img { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 3.5rem; background: var(--ivory-warm); color: var(--gold); }
.prod-badge-wrap { position: absolute; top: 9px; left: 9px; display: flex; flex-direction: column; gap: 4px; z-index: 2; }
.badge { display: inline-block; padding: 3px 9px; border-radius: var(--r-pill); font-size: 0.57rem; font-weight: 900; letter-spacing: 1.5px; text-transform: uppercase; }
.badge-bestseller { background: var(--crimson); color: var(--white); }
.badge-new { background: var(--dark); color: var(--gold-light); }
.badge-kerala { background: var(--gold); color: var(--dark); }
.badge-premium { background: linear-gradient(135deg, var(--gold), var(--gold-light)); color: var(--dark); }
.badge-bridal { background: var(--crimson); color: var(--white); }
.badge-discount { position: absolute; top: 9px; right: 9px; background: var(--white); color: var(--crimson); z-index: 2; border: 1px solid rgba(139,26,63,0.2); box-shadow: var(--shadow-sm); }
.prod-card-actions { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%) translateY(8px); opacity: 0; transition: var(--t-spring); display: flex; gap: 6px; z-index: 3; white-space: nowrap; }
.prod-card:hover .prod-card-actions { opacity: 1; transform: translateX(-50%) translateY(0); }
.prod-card-info { padding: 14px; }
.prod-card-cat { font-size: 0.59rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 5px; }
.prod-card-name { font-family: var(--font-display); font-size: 0.95rem; font-weight: 600; color: var(--dark); margin-bottom: 8px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.prod-card-price { display: flex; align-items: baseline; gap: 7px; flex-wrap: wrap; }
.price-current { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: var(--crimson); }
.price-original { font-size: 0.8rem; color: var(--text-light); text-decoration: line-through; }
.price-save { font-size: 0.58rem; font-weight: 700; color: #16a34a; background: rgba(22,163,74,0.09); padding: 2px 6px; border-radius: var(--r-sm); }
.prod-card-footer { display: flex; gap: 7px; margin-top: 12px; }
.prod-card-footer .btn,
.prod-card-footer .btn-wa-enquire { flex: 1; justify-content: center; }

/* Skeleton */
.prod-skeleton { background: var(--ivory-warm); border-radius: var(--r-md); overflow: hidden; animation: shimmer 1.6s ease infinite; }
@keyframes shimmer { 0%,100%{opacity:.5} 50%{opacity:1} }
.prod-skeleton-img { aspect-ratio: 3/4; background: var(--ivory-mid); }
.prod-skeleton-info { padding: 14px; }
.prod-skeleton-line { height: 10px; background: var(--ivory-mid); border-radius: 5px; margin-bottom: 9px; }
.prod-skeleton-line:last-child { width: 55%; }

/* ========================
   HERITAGE
======================== */
.heritage-banner {
  background: var(--ivory-warm); padding: 88px 5%;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.heritage-banner::before { content: ''; position: absolute; top: 0; left: 5%; right: 5%; height: 2px; background: linear-gradient(90deg, transparent, var(--gold-light), var(--gold), var(--gold-light), transparent); }
.heritage-banner::after  { content: ''; position: absolute; bottom: 0; left: 5%; right: 5%; height: 2px; background: linear-gradient(90deg, transparent, var(--gold-light), var(--gold), var(--gold-light), transparent); }
.heritage-bg-motif { position: absolute; right: -60px; top: 50%; transform: translateY(-50%); width: 420px; height: 420px; opacity: 0.04; font-size: 380px; line-height: 1; color: var(--gold); pointer-events: none; user-select: none; }
.heritage-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; position: relative; z-index: 1; }
.heritage-content .section-eyebrow { justify-content: flex-start; }
.heritage-content .section-eyebrow::before { display: none; }
.heritage-content h2 { font-family: var(--font-display); font-size: clamp(1.85rem, 3vw, 2.8rem); color: var(--dark); font-weight: 700; line-height: 1.2; margin-bottom: 16px; }
.heritage-content h2 em { font-style: italic; color: var(--crimson); }
.heritage-content p { color: var(--text-mid); line-height: 1.9; margin-bottom: 16px; font-size: 0.93rem; }
.heritage-stats { display: flex; gap: 36px; margin: 26px 0 30px; }
.heritage-stat .stat-num { font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; color: var(--gold); line-height: 1; }
.heritage-stat .stat-label { font-size: 0.63rem; letter-spacing: 2px; text-transform: uppercase; color: var(--text-light); margin-top: 3px; }
.heritage-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.heritage-visual-img { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow-md); border: 1px solid var(--border); }
.heritage-visual-img:first-child { margin-top: 36px; }
.heritage-visual-img img { width: 100%; height: 100%; object-fit: cover; }
.hv-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, var(--ivory-warm), var(--gold-pale)); display: flex; align-items: center; justify-content: center; font-size: 2.5rem; }

/* ========================
   ABOUT
======================== */
.about { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; max-width: 1200px; margin: 0 auto; }
.about-visual { position: relative; }
.about-logo-showcase {
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--ivory), var(--gold-faint));
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 24px; padding: 40px; border: 1px solid var(--border);
  position: relative;
}
.about-logo-showcase::before {
  content: ''; position: absolute; inset: 16px;
  border: 1px solid var(--border-mid); border-radius: var(--r-md); pointer-events: none;
}
.about-logo-img {
  width: 78%; max-width: 270px; height: auto;
  object-fit: contain;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 12px 48px rgba(184,134,11,0.20);
}
.about-logo-tagline { font-family: var(--font-serif); font-size: 1.1rem; font-style: italic; color: var(--text-mid); text-align: center; }
.about-logo-tagline strong { display: block; font-family: var(--font-body); font-size: 0.58rem; letter-spacing: 4px; text-transform: uppercase; color: var(--gold); margin-top: 6px; font-weight: 700; }
.about-badge-card { position: absolute; bottom: -16px; right: -16px; background: var(--dark); border-radius: var(--r-md); padding: 18px 22px; box-shadow: var(--shadow-lg); text-align: center; }
.about-badge-card .badge-num { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--gold); line-height: 1; }
.about-badge-card .badge-text { font-size: 0.63rem; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.45); margin-top: 3px; }
.about-content h2 { font-family: var(--font-display); font-size: clamp(1.75rem, 2.7vw, 2.4rem); color: var(--dark); font-weight: 700; line-height: 1.2; margin-bottom: 16px; }
.about-content h2 em { font-style: italic; color: var(--crimson); }
.about-content p { color: var(--text-mid); line-height: 1.9; margin-bottom: 16px; font-size: 0.93rem; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 22px 0; }
.about-feature { display: flex; align-items: center; gap: 9px; font-size: 0.83rem; color: var(--text); font-weight: 600; }
.about-feature i { width: 24px; height: 24px; border-radius: 50%; background: var(--gold-faint); color: var(--gold); display: flex; align-items: center; justify-content: center; font-size: 0.65rem; flex-shrink: 0; }
.about-social { display: flex; gap: 9px; margin-top: 22px; flex-wrap: wrap; }
.about-social a { display: flex; align-items: center; gap: 7px; padding: 8px 16px; border-radius: var(--r-pill); font-size: 0.7rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; transition: var(--t-base); border: 1.5px solid var(--border-mid); color: var(--text-mid); }
.about-social a:hover { background: var(--dark); color: var(--white); border-color: var(--dark); }

/* ========================
   CONTACT
======================== */
.contact { background: var(--ivory); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; max-width: 1100px; margin: 0 auto; align-items: stretch; }
.contact-info-card { background: var(--dark); border-radius: var(--r-lg); padding: 40px 34px; position: relative; overflow: hidden; }
.contact-info-card::before { content: ''; position: absolute; top:-40%; left:-20%; width:180%; height:180%; background: radial-gradient(ellipse, rgba(184,134,11,0.07) 0%, transparent 65%); pointer-events: none; }
.contact-info-card h3 { font-family: var(--font-display); font-size: 1.45rem; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.contact-subtitle { font-size: 0.62rem; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 28px; }
.contact-item { display: flex; align-items: flex-start; gap: 13px; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid rgba(184,134,11,0.1); }
.contact-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.contact-icon { width: 36px; height: 36px; border-radius: var(--r-sm); background: rgba(184,134,11,0.1); border: 1px solid rgba(184,134,11,0.2); display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 0.85rem; flex-shrink: 0; }
.contact-item-text h4 { font-size: 0.58rem; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold-light); margin-bottom: 3px; }
.contact-item-text a, .contact-item-text p { font-size: 0.86rem; color: rgba(255,255,255,0.7); transition: color var(--t-fast); }
.contact-item-text a:hover { color: var(--gold-light); }
.contact-map-wrap { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--border); }
.contact-map-wrap iframe { width: 100%; height: 100%; min-height: 420px; display: block; border: none; }

/* ========================
   FOOTER
======================== */
.footer { background: var(--dark); color: rgba(255,255,255,0.55); }
.footer-kasavu { height: 3px; background: linear-gradient(90deg, transparent, var(--gold-light), var(--gold), var(--gold-rich), var(--gold-light), transparent); }
.footer-main { padding: 64px 5% 40px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; max-width: 1300px; margin: 0 auto; border-bottom: 1px solid rgba(184,134,11,0.1); }
.footer-brand .footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo-img {
  width: 72px; height: 72px;
  object-fit: contain;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid rgba(184,134,11,0.35);
  box-shadow: 0 4px 18px rgba(184,134,11,0.18);
  opacity: 0.92;
}
.footer-brand p { font-size: 0.8rem; line-height: 1.85; color: rgba(255,255,255,0.60); margin-bottom: 20px; }
.footer-socials { display: flex; gap: 7px; }
.footer-socials a { width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(184,134,11,0.35); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.65); font-size: 0.8rem; transition: var(--t-base); }
.footer-socials a:hover { background: var(--gold); color: var(--dark); border-color: var(--gold); transform: translateY(-2px); }
.footer-col h4 { font-size: 0.58rem; font-weight: 900; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a { font-size: 0.8rem; color: rgba(255,255,255,0.60); transition: color var(--t-fast); }
.footer-col ul li a:hover { color: var(--gold-light); }
.foot-contact-item { display: flex; align-items: center; gap: 9px; font-size: 0.78rem; color: rgba(255,255,255,0.60); margin-bottom: 8px; }
.foot-contact-item i { color: var(--gold); font-size: 0.75rem; width: 13px; flex-shrink: 0; }
.foot-contact-item a { color: rgba(255,255,255,0.60); transition: color var(--t-fast); }
.foot-contact-item a:hover { color: var(--gold-light); }
.footer-bottom { padding: 20px 5%; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; max-width: 1300px; margin: 0 auto; border-top: 1px solid rgba(184,134,11,0.12); }
.footer-bottom p { font-size: 0.72rem; color: rgba(255,255,255,0.55); }
.footer-bottom-links { display: flex; gap: 16px; }
.footer-bottom-links a { font-size: 0.7rem; color: rgba(255,255,255,0.55); transition: color var(--t-fast); }
.footer-bottom-links a:hover { color: var(--gold); }
.footer-powered {
  text-align: center;
  padding: 10px 5% 18px;
  font-size: 0.63rem;
  color: rgba(255,255,255,0.40);
  letter-spacing: 0.04em;
}
.footer-powered a {
  color: var(--gold-light);
  text-decoration: none;
  transition: color var(--t-fast);
  font-weight: 600;
}
.footer-powered a:hover { color: var(--gold); }

/* ========================
   BUTTONS
======================== */
.btn { display: inline-flex; align-items: center; gap: 7px; padding: 13px 30px; border-radius: var(--r-pill); font-family: var(--font-body); font-weight: 700; font-size: 0.73rem; letter-spacing: 1.5px; text-transform: uppercase; transition: var(--t-base); cursor: pointer; border: none; text-decoration: none; touch-action: manipulation; min-height: 44px; }
.btn-primary { background: var(--dark); color: var(--white); box-shadow: 0 4px 18px rgba(28,16,8,0.22); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 26px rgba(28,16,8,0.32); background: var(--text); }
.btn-gold { background: linear-gradient(135deg, var(--gold), var(--gold-light)); color: var(--dark); box-shadow: var(--shadow-gold); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(184,134,11,0.38); }
.btn-outline-dark { background: transparent; color: var(--dark); border: 1.5px solid rgba(28,16,8,0.28); }
.btn-outline-dark:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-faint); }
.btn-crimson { background: var(--crimson); color: var(--white); }
.btn-crimson:hover { background: var(--crimson-light); transform: translateY(-2px); }
.btn-wa { background: #25D366; color: var(--white); }
.btn-wa:hover { background: #1da851; transform: translateY(-2px); box-shadow: 0 8px 22px rgba(37,211,102,0.32); }
/* Product card WhatsApp enquiry button */
.btn-wa-enquire {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: var(--white);
  font-size: 0.63rem;
  letter-spacing: 1px;
  padding: 9px 14px;
  border-radius: var(--r-pill);
  box-shadow: 0 3px 12px rgba(37,211,102,0.28);
  transition: var(--t-base);
  display: inline-flex; align-items: center; gap: 5px;
  font-weight: 700; text-transform: uppercase;
  touch-action: manipulation;
}
.btn-wa-enquire i { font-size: 0.88rem; }
.btn-wa-enquire:hover {
  background: linear-gradient(135deg, #1da851, #075E54);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37,211,102,0.42);
  color: var(--white);
}
.btn-sm { padding: 8px 18px; font-size: 0.65rem; }

/* ========================
   PRODUCT MODAL
======================== */
.modal-overlay { position: fixed; inset: 0; z-index: 2000; background: rgba(28,16,8,0.72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; visibility: hidden; transition: opacity 0.4s ease, visibility 0.4s ease; }
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal-box { background: var(--white); border-radius: var(--r-lg); overflow: hidden; max-width: 840px; width: 100%; max-height: 90vh; overflow-y: auto; display: grid; grid-template-columns: 1fr 1.1fr; box-shadow: 0 40px 100px rgba(28,16,8,0.35); transform: scale(0.93) translateY(20px); transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1); }
.modal-overlay.open .modal-box { transform: scale(1) translateY(0); }
.modal-img-panel { background: var(--ivory-warm); position: relative; min-height: 340px; border-right: 1px solid var(--border); }
.modal-img-panel img { width: 100%; height: 100%; object-fit: cover; }
.modal-cat-tag { position: absolute; top: 13px; left: 13px; background: var(--crimson); color: var(--white); font-size: 0.58rem; font-weight: 900; letter-spacing: 2px; text-transform: uppercase; padding: 3px 10px; border-radius: var(--r-pill); z-index: 2; }
.modal-close { position: absolute; top: 13px; right: 13px; width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,0.9); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 0.9rem; color: var(--dark); box-shadow: var(--shadow-sm); transition: var(--t-base); z-index: 5; }
.modal-close:hover { background: var(--crimson); color: var(--white); border-color: var(--crimson); }
.modal-body { padding: 34px 30px; overflow-y: auto; }
.modal-code { font-size: 0.58rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 7px; }
.modal-body h2 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--dark); line-height: 1.2; margin-bottom: 13px; }
.modal-price-row { display: flex; align-items: baseline; gap: 9px; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.modal-price { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; color: var(--crimson); }
.modal-original { font-size: 0.92rem; color: var(--text-light); text-decoration: line-through; }
.modal-save { font-size: 0.63rem; font-weight: 700; color: #16a34a; background: rgba(22,163,74,0.08); padding: 2px 7px; border-radius: var(--r-pill); }
.modal-desc { font-size: 0.84rem; color: var(--text-mid); line-height: 1.85; margin-bottom: 16px; }
.modal-specs { display: flex; flex-direction: column; gap: 0; margin-bottom: 20px; }
.modal-specs li { display: flex; gap: 7px; padding: 7px 0; border-bottom: 1px solid var(--border); font-size: 0.78rem; }
.modal-specs li:last-child { border-bottom: none; }
.modal-specs li strong { color: var(--dark); min-width: 95px; font-weight: 600; }
.modal-specs li span { color: var(--text-light); }
.modal-actions { display: flex; gap: 7px; flex-wrap: wrap; }
.modal-actions .btn { flex: 1; justify-content: center; min-width: 120px; }

/* ========================
   CONTACT CTA ROW
======================== */
.contact-cta-row { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.contact-cta-row .btn { flex: 1; min-width: 120px; justify-content: center; }

/* ========================
   FLOATS
======================== */
.float-stack { position: fixed; bottom: 26px; right: 26px; z-index: 999; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.whatsapp-float { background: #25D366; width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; color: var(--white); box-shadow: 0 8px 26px rgba(37,211,102,0.42); transition: var(--t-spring); animation: waFloat 3s ease-in-out infinite; position: relative; }
.whatsapp-float:hover { transform: scale(1.1); animation: none; box-shadow: 0 12px 34px rgba(37,211,102,0.58); }
@keyframes waFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-5px)} }
.wa-tooltip { position: absolute; right: 62px; background: var(--dark); color: var(--white); font-size: 0.7rem; font-weight: 600; white-space: nowrap; padding: 6px 12px; border-radius: var(--r-sm); opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.wa-tooltip::after { content:''; position:absolute; top:50%; right:-4px; transform:translateY(-50%); border:5px solid transparent; border-left-color:var(--dark); border-right:none; }
.whatsapp-float:hover .wa-tooltip { opacity: 1; }
/* Call float */
.call-float { background: var(--crimson); width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.15rem; color: var(--white); box-shadow: 0 6px 20px rgba(139,26,63,0.38); transition: var(--t-spring); position: relative; animation: callPulse 2.5s ease-in-out infinite; }
.call-float:hover { transform: scale(1.12); animation: none; box-shadow: 0 10px 28px rgba(139,26,63,0.52); }
@keyframes callPulse { 0%,100%{box-shadow:0 6px 20px rgba(139,26,63,0.38)} 50%{box-shadow:0 6px 28px rgba(139,26,63,0.62),0 0 0 8px rgba(139,26,63,0.08)} }
.call-tooltip { position: absolute; right: 56px; background: var(--crimson); color: var(--white); font-size: 0.7rem; font-weight: 600; white-space: nowrap; padding: 6px 12px; border-radius: var(--r-sm); opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.call-tooltip::after { content:''; position:absolute; top:50%; right:-4px; transform:translateY(-50%); border:5px solid transparent; border-left-color:var(--crimson); border-right:none; }
.call-float:hover .call-tooltip { opacity: 1; }
.scroll-top { position: fixed; bottom: 26px; left: 26px; z-index: 999; background: var(--white); width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 0.82rem; cursor: pointer; opacity: 0; transform: translateY(16px); transition: var(--t-spring); border: 1.5px solid var(--border-mid); box-shadow: var(--shadow-md); }
.scroll-top.visible { opacity: 1; transform: translateY(0); }
.scroll-top:hover { background: var(--dark); color: var(--gold-light); border-color: var(--dark); }

/* Empty state */
.empty-state { grid-column: 1/-1; text-align: center; padding: 72px 20px; }
.empty-state i { font-size: 2.6rem; color: var(--gold-pale); margin-bottom: 12px; }
.empty-state h3 { font-family: var(--font-display); font-size: 1.35rem; color: var(--dark); margin-bottom: 7px; }
.empty-state p { color: var(--text-light); margin-bottom: 20px; }

/* ========================
   RESPONSIVE
======================== */
@media (max-width: 1100px) {
  .prod-grid { grid-template-columns: repeat(3,1fr); }
  .cat-grid { grid-template-columns: repeat(3,1fr); }
  .cat-card:first-child { grid-row: auto; aspect-ratio: 3/4; }
  .footer-main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .about-grid, .heritage-inner, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .heritage-visual { display: none; }
  .heritage-banner { padding: 52px 5%; }
  .about-badge-card { display: none; }
  .prod-grid { grid-template-columns: repeat(2,1fr); }
  .section { padding: 48px 5%; }
  .modal-box { grid-template-columns: 1fr; }
  .modal-img-panel { min-height: 260px; }
  .contact-map-wrap iframe { min-height: 300px; }
}
@media (max-width: 900px) {
  :root { --announce-h: 0px; --navbar-h: 62px; }
  .announcement { display: none !important; }
  .navbar { top: 0; padding: 0 4%; }
  .nav-inner { height: 62px; }
  .nav-logo-img { width: 52px; height: 52px; }
  .nav-links {
    position: fixed; top: 62px; left: 0; right: 0;
    background: rgba(253,250,244,0.98); backdrop-filter: blur(20px);
    flex-direction: column; padding: 12px 5%; gap: 2px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-110%); transition: transform 0.4s ease; z-index: 999;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 12px; }
  .nav-toggle { display: flex; }
  /* Hero: stack on mobile/tablet */
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    height: auto; min-height: unset; max-height: unset;
    margin-top: var(--navbar-h);
  }
  .hero-left { order: 2; padding: 22px 6% 32px; min-height: unset; }
  .hero-right { order: 1; height: 55vw; min-height: 200px; max-height: 340px; }
  .hero-slide-text { position: static; opacity: 1; transform: none; padding: 0; pointer-events: auto; display: none; }
  .hero-slide-text.active { display: flex; }
  .hero-slide-text h1 { font-size: clamp(1.6rem, 6vw, 2.4rem); margin-bottom: 12px; }
  .hero-slide-text p { font-size: 0.85rem; margin-bottom: 22px; }
  .hero-right::before { display: none; }
  .hero-badge { display: none; }
  .hero-controls { position: static; margin-top: 18px; }
  .hero-overline { margin-bottom: 14px; }
  .hero-actions { flex-direction: column; gap: 8px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .features-inner { flex-direction: column; }
  .feature-item { border-right: none; border-bottom: 1px solid var(--border); width: 100%; justify-content: flex-start; padding: 12px 16px; }
  .feature-item:last-child { border-bottom: none; }
  .cat-grid { grid-template-columns: repeat(2,1fr); }
  .prod-filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .prod-filters::-webkit-scrollbar { display: none; }
  .prod-toolbar { flex-direction: column; align-items: stretch; gap: 12px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 24px; }
  .about-features { grid-template-columns: 1fr; }
  /* Ensure nothing bleeds horizontally */
  section, .section, .hero, footer { max-width: 100vw; overflow-x: hidden; }
}
@media (max-width: 480px) {
  .prod-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .prod-card-info { padding: 10px; }
  .prod-card-name { font-size: 0.82rem; }
  .price-current { font-size: 1.05rem; }
  .prod-card-footer { flex-direction: column; gap: 5px; }
  .prod-card-footer .btn,
  .prod-card-footer .btn-wa-enquire { width: 100%; }
  .section { padding: 40px 4%; }
  .btn { padding: 12px 20px; font-size: 0.7rem; min-height: 44px; }
  .filter-btn { min-height: 40px; }
  .hero-slide-text h1 { font-size: clamp(1.4rem, 7vw, 1.9rem); }
  .hero-right { height: 60vw; max-height: 320px; }
  .modal-img-panel { min-height: 230px; }
  .modal-body { padding: 22px 16px; }
  .modal-actions { flex-direction: column; }
  .modal-actions .btn { width: 100%; min-width: unset; }
  .heritage-stats { gap: 16px; flex-wrap: wrap; }
  .heritage-stats .stat-num { font-size: 1.7rem; }
  .footer-main { grid-template-columns: 1fr; gap: 20px; }
  .footer-main { padding: 40px 5% 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }
  .cat-grid { grid-template-columns: repeat(2,1fr); gap: 10px; }
  .cat-card:last-child:nth-child(odd) { grid-column: 1 / -1; aspect-ratio: 5/2; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info-card { padding: 28px 22px; }
  .contact-map-wrap iframe { min-height: 260px; }
  .section-header p { font-size: 0.88rem; }
  .float-stack { bottom: 20px; right: 20px; gap: 9px; }
  .whatsapp-float { width: 48px; height: 48px; font-size: 1.25rem; }
  .call-float { width: 44px; height: 44px; font-size: 1.1rem; }
  .scroll-top { bottom: 20px; left: 20px; }
  .wa-tooltip, .call-tooltip { display: none; }
}
