/* ============================================================
   Trishul Calendars — Main Stylesheet
   Design: Premium printing-industry catalogue aesthetic
   Fonts: Playfair Display (headings) + Inter (body)
   ============================================================ */

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
  /* Brand Palette — Trishul Calendars brand identity (rose/pink + warm cream) */
  --ink:        #23263A;   /* Near-black warm charcoal-navy — hero/CTA/dark sections */
  --ink-light:  #343850;   /* Lighter for hovers on dark bg */
  --gold:       #C23A5C;   /* Brand rose/pink — primary accent */
  --gold-light: #DB6483;   /* Light rose */
  --gold-dim:   #A32E4C;   /* Deep rose (text on light bg) */
  --saffron:    #C23A5C;   /* Alias: primary CTA colour (kept for compat) */
  --saffron-h:  #A32E4C;   /* CTA hover */
  --paper:      #FCFAF6;   /* Warm off-white — body bg */
  --cream:      #F8EEF0;   /* Card tint bg / secondary panels (soft rose-cream) */
  --cream-dark: #EFDDE1;   /* Borders, dividers on cream */
  --white:      #FFFFFF;
  --charcoal:   #23263A;   /* Body text (matches ink) */
  --slate:      #6B6E7D;   /* Secondary text */
  --slate-light:#9C9FAC;   /* Tertiary */
  --border:     #E8DEE0;   /* Default border */
  --wa-green:   #25D366;   /* WhatsApp brand */
  --wa-dark:    #1DA851;   /* WhatsApp hover */

  /* Typography — Fraunces (display/serif) + Manrope (sans) */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body:    'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing scale */
  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Layout */
  --container:  1280px;
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  10px;
  --radius-xl:  16px;

  /* Shadows */
  --shadow-sm:  0 1px 2px rgba(35,38,58,.05), 0 8px 24px -16px rgba(35,38,58,.25);
  --shadow-md:  0 4px 16px rgba(35,38,58,.08), 0 2px 6px rgba(35,38,58,.05);
  --shadow-lg:  0 20px 50px -24px rgba(35,38,58,.45);
  --shadow-gold:0 8px 30px rgba(194,58,92,.25);

  /* Transitions */
  --transition: 0.2s ease;
  --transition-slow: 0.4s ease;
}

/* ── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.015em;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; }

p { color: var(--slate); line-height: 1.75; }

/* ── Layout ─────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

@media (min-width: 768px) { .container { padding: 0 var(--space-xl); } }
@media (min-width: 1280px) { .container { padding: 0 var(--space-2xl); } }

section { padding: var(--space-4xl) 0; }

/* ── Registration Mark Divider (print-industry signature) ──── */
.reg-divider {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin: var(--space-xl) 0;
}
.reg-divider::before,
.reg-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border));
}
.reg-divider::after {
  background: linear-gradient(to left, transparent, var(--border));
}
.reg-mark {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.reg-mark::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
}
.reg-mark::after {
  content: '';
  position: absolute;
  top: 50%; left: 0; right: 0;
  height: 1.5px;
  background: var(--gold);
  transform: translateY(-50%);
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
  border: 2px solid transparent;
  line-height: 1;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

.btn-outline-dark {
  background: var(--white);
  color: var(--ink);
  border-color: var(--border);
}
.btn-outline-dark:hover {
  border-color: var(--gold);
  color: var(--gold-dim);
}

.btn-wa {
  background: var(--wa-green);
  color: var(--white);
  border-color: var(--wa-green);
}
.btn-wa:hover {
  background: var(--wa-dark);
  border-color: var(--wa-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37,211,102,.35);
}

.btn-ghost {
  background: transparent;
  color: var(--gold-dim);
  border-color: transparent;
  padding: 0.5rem 0;
  gap: 0.35rem;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.btn-ghost:hover { color: var(--saffron); }

.btn-lg { padding: 0.9rem 2rem; font-size: 1rem; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.8rem; }

/* ── Section Header ─────────────────────────────────────────── */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-2xl);
}
.section-eyebrow {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-sm);
  font-family: var(--font-body);
}

/* Underline-on-hover link style (used in nav & footer) */
.link-underline {
  position: relative;
}
.link-underline::after {
  content: '';
  position: absolute;
  left: 0; bottom: -3px;
  height: 1px; width: 0;
  background: var(--gold);
  transition: width var(--transition);
}
.link-underline:hover::after { width: 100%; }
.section-header h2 { margin-bottom: var(--space-sm); }
.section-header p { color: var(--slate); font-size: 1.0625rem; }

/* ── Header / Navigation ─────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(252,250,246,.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.site-header.scrolled {
  box-shadow: 0 1px 12px rgba(35,38,58,.06);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  height: 68px;
}

@media (min-width: 768px) { .header-inner { height: 80px; } }

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  text-decoration: none;
}
.logo-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border: 1px solid rgba(194,58,92,.35);
  background: rgba(194,58,92,.07);
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: var(--gold);
  transition: background var(--transition);
}
.logo-img {
  height: 38px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}
.logo:hover .logo-mark { background: rgba(194,58,92,.13); }
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 4px;
}
.logo-name {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.logo-sub {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--slate);
}

/* Main Nav */
.main-nav { margin-left: auto; }
.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}
.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate);
  letter-spacing: 0.01em;
  padding: 0.25rem 0;
  position: relative;
  transition: color var(--transition);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-link:hover,
.nav-link.active { color: var(--ink); }
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

/* Header WhatsApp */
.header-wa {
  margin-left: var(--space-md);
  padding: 0.6rem 1.25rem;
  font-size: 0.8125rem;
  flex-shrink: 0;
}
.header-wa .wa-icon { width: 16px; height: 16px; }

/* Hamburger */
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  transition: all var(--transition);
}
.hamburger { position: relative; }
.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
}
.hamburger::before { top: -6px; }
.hamburger::after  { top: 6px; }

.nav-toggle[aria-expanded="true"] .hamburger { background: transparent; }
.nav-toggle[aria-expanded="true"] .hamburger::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .hamburger::after  { top: 0; transform: rotate(-45deg); }

/* ── Hero Section ─────────────────────────────────────────────── */
.hero {
  background: var(--ink);
  position: relative;
  overflow: hidden;
}

/* Subtle gold vignette (kept understated to match minimal editorial look) */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 75% 30%, rgba(194,58,92,.12) 0%, transparent 60%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  padding: var(--space-2xl) 0 var(--space-3xl);
}

.hero-content { max-width: 560px; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-lg);
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--gold);
}

.hero h1 {
  color: var(--white);
  font-size: clamp(1.85rem, 6vw, 3.6rem);
  line-height: 1.18;
  margin-bottom: var(--space-lg);
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-desc {
  color: rgba(255,255,255,.70);
  font-size: 1.0625rem;
  margin-bottom: var(--space-2xl);
  max-width: 440px;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: nowrap;
}
.hero-cta .btn { white-space: nowrap; }

@media (max-width: 480px) {
  .hero-cta { flex-wrap: wrap; }
}

@media (min-width: 481px) and (max-width: 960px) {
  .hero-cta .btn { padding: 0.75rem 1.25rem; font-size: 0.875rem; }
}

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-mockup {
  position: relative;
  width: 100%;
  max-width: 480px;
}

.hero-mockup-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
  aspect-ratio: 3/4;
  background: var(--cream);
  position: relative;
}
.hero-mockup-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Floating badge */
.hero-badge {
  position: absolute;
  bottom: -16px;
  left: -20px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}
.hero-badge-icon { font-size: 1.25rem; }



/* ── About Intro Strip ──────────────────────────────────────── */
.intro-strip {
  padding: var(--space-3xl) 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 2px 1fr 2px 1fr;
  gap: var(--space-xl);
  align-items: center;
}
.intro-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
}
.intro-stat {
  text-align: center;
}
.intro-stat-number {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 0.25rem;
  display: block;
}
.intro-stat-number em { color: var(--gold-dim); font-style: normal; }
.intro-stat-label {
  font-size: 0.8125rem;
  color: var(--slate);
  font-weight: 500;
  letter-spacing: 0.03em;
}

/* ── Category Filter Bar ────────────────────────────────────── */
.filter-bar {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-bottom: var(--space-2xl);
}
.filter-btn {
  padding: 0.4rem 1rem;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--slate);
  background: var(--white);
  transition: all var(--transition);
  cursor: pointer;
}
.filter-btn:hover,
.filter-btn.active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

/* ── Product Grid ────────────────────────────────────────────── */
#collection {
  background: var(--paper);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

/* Product Card */
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}
.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(194,58,92,.35);
}
.product-card:hover::before { transform: scaleX(1); }

.card-image-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--cream);
  cursor: pointer;
}
.card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.product-card:hover .card-image-wrap img {
  transform: scale(1.04);
}

/* Card badge */
.card-badge {
  position: absolute;
  top: var(--space-sm);
  left: var(--space-sm);
  background: rgba(252,250,246,.9);
  backdrop-filter: blur(6px);
  color: var(--charcoal);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
}

/* Quick-view overlay */
.card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(35,38,58,.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}
.product-card:hover .card-overlay { opacity: 1; }
.card-overlay-btn {
  padding: 0.6rem 1.25rem;
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius-md);
  font-size: 0.8125rem;
  font-weight: 600;
  transform: translateY(8px);
  transition: transform var(--transition);
}
.product-card:hover .card-overlay-btn { transform: translateY(0); }

/* Card body */
.card-body {
  padding: var(--space-lg);
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card-category {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: var(--space-xs);
  font-family: var(--font-body);
}
.card-title {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: var(--space-sm);
  line-height: 1.3;
}
.card-desc {
  font-size: 0.8125rem;
  color: var(--slate);
  margin-bottom: var(--space-md);
  line-height: 1.6;
  flex: 1;
}
.card-meta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  flex-wrap: wrap;
}
.card-meta-item {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: var(--slate);
  background: var(--cream);
  padding: 0.2rem 0.5rem;
  border-radius: 100px;
  border: 1px solid var(--cream-dark);
}
.card-meta-item svg { width: 11px; height: 11px; flex-shrink: 0; }
.card-actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}
.card-actions .btn { flex: 1; min-width: 0; justify-content: center; }

/* ── Product Detail Page ─────────────────────────────────────── */
.product-page {
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-4xl);
  min-height: 100vh;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--space-4xl);
  align-items: start;
}

/* Slider */
.product-slider-wrap {
  position: sticky;
  top: calc(80px + var(--space-lg));
}

.slider-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--cream);
  aspect-ratio: 3/4;
  position: relative;
  box-shadow: var(--shadow-lg);
  cursor: zoom-in;
}
.slider-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: var(--space-md);
  transition: opacity 0.25s ease;
}

/* Slider arrows */
.slider-prev,
.slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(35,38,58,.8);
  backdrop-filter: blur(4px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: background var(--transition), transform var(--transition);
  z-index: 2;
  border: 1.5px solid rgba(255,255,255,.15);
}
.slider-prev { left: var(--space-sm); }
.slider-next { right: var(--space-sm); }
.slider-prev:hover, .slider-next:hover {
  background: var(--ink);
  transform: translateY(-50%) scale(1.08);
}
.slider-prev svg, .slider-next svg { width: 18px; height: 18px; }

/* Page counter — bottom-center pill, e.g. "Cover · 1 / 4" */
.slider-counter {
  position: absolute;
  bottom: var(--space-sm);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(35,38,58,.75);
  backdrop-filter: blur(4px);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.875rem;
  border-radius: 100px;
  white-space: nowrap;
}

/* Zoom button — top-right circle on the main image */
.slider-zoom {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  width: 38px;
  height: 38px;
  background: rgba(252,250,246,.9);
  backdrop-filter: blur(4px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: background var(--transition), transform var(--transition);
  z-index: 2;
  border: 1px solid var(--border);
}
.slider-zoom:hover { background: var(--white); transform: scale(1.06); }
.slider-zoom svg { width: 16px; height: 16px; }

/* Thumbnails */
.slider-thumbs {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-md);
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.slider-thumbs::-webkit-scrollbar { height: 4px; }
.slider-thumbs::-webkit-scrollbar-track { background: transparent; }
.slider-thumbs::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.thumb-item {
  flex-shrink: 0;
  width: 68px;
  height: 90px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid var(--border);
  cursor: pointer;
  transition: border-color var(--transition);
  background: var(--cream);
}
.thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.thumb-item:hover { border-color: var(--gold); }
.thumb-item.active { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }

/* Product Info Panel */
.product-info { padding: var(--space-sm) 0; }

/* Back to collection link (replaces breadcrumb) */
.back-to-collection {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--slate);
  margin-bottom: var(--space-lg);
  transition: color var(--transition);
}
.back-to-collection svg { width: 15px; height: 15px; }
.back-to-collection:hover { color: var(--ink); }

.product-category-tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: var(--space-md);
  font-family: var(--font-body);
}

.product-info h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: var(--space-md);
  line-height: 1.2;
}

.product-info-desc {
  font-size: 1rem;
  color: var(--slate);
  line-height: 1.75;
  margin-bottom: var(--space-xl);
}

.product-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-bottom: var(--space-xl);
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
}
.spec-item { padding: var(--space-md) var(--space-lg); }
.spec-item:nth-child(odd)  { border-right: 1px solid var(--border); }
.spec-item:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
.spec-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 0.25rem;
  display: block;
}
.spec-value {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
}

.product-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}
.product-actions .btn {
  width: 100%;
  padding: 0.875rem;
  font-size: 0.9375rem;
}

.product-price-note {
  font-size: 0.8125rem;
  color: var(--slate);
  line-height: 1.6;
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
}

/* ── Catalog Flipbook ─────────────────────────────────────────── */
.flipbook-wrap {
  max-width: 1040px;
  margin: 0 auto;
  text-align: center;
}
.flipbook-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-4xl) 0;
  color: var(--slate);
}
.flipbook-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--border);
  border-top-color: var(--gold);
  border-radius: 50%;
  /* Rotation is driven by JS (requestAnimationFrame) in main.js, not CSS
     @keyframes — this avoids a known browser bug where CSS animations
     play too fast on high-refresh-rate (120Hz+) desktop monitors. */
}

.flipbook {
  margin: 0 auto;
  width: 100%;
}
.flipbook-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}
.flipbook-counter {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
  min-width: 90px;
}
.flipbook-fallback {
  margin-top: var(--space-lg);
  font-size: 0.8125rem;
  color: var(--slate);
}
.flipbook-fallback a { color: var(--gold-dim); font-weight: 600; }

/* ── Related / "More Calendars" carousel ─────────────────────── */
.related-section {
  margin-top: var(--space-4xl);
  padding-top: var(--space-3xl);
  border-top: 1px solid var(--border);
}
.related-carousel {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}
.related-track-wrap {
  overflow: hidden;
  flex: 1;
}
.related-track {
  display: flex;
  gap: var(--space-lg);
  transition: transform 0.5s ease;
}
.related-slide {
  flex: 0 0 calc((100% - 2 * var(--space-lg)) / 3);
  min-width: 0;
}
.related-nav {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: all var(--transition);
}
.related-nav:hover { border-color: var(--gold); color: var(--gold-dim); }
.related-nav svg { width: 18px; height: 18px; }

/* ── Lightbox ─────────────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,.94);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}
.lightbox.open {
  opacity: 1;
  visibility: visible;
}
.lightbox-inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-md);
}
.lightbox-close {
  position: absolute;
  top: -40px;
  right: -4px;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  cursor: pointer;
  transition: background var(--transition);
}
.lightbox-close:hover { background: rgba(255,255,255,.3); }

/* ── Features Section ────────────────────────────────────────── */
.features { background: var(--white); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}
.feature-card {
  text-align: center;
  padding: var(--space-xl);
}
.feature-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--cream), var(--cream-dark));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  border: 1px solid var(--border);
}
.feature-icon svg { width: 24px; height: 24px; color: var(--gold-dim); }
.feature-card h3 {
  font-size: 1.0625rem;
  margin-bottom: var(--space-sm);
  color: var(--ink);
}
.feature-card p { font-size: 0.875rem; }

/* ── About Page ──────────────────────────────────────────────── */
.page-hero {
  background: var(--ink);
  padding: var(--space-3xl) 0 var(--space-4xl);
  text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: var(--space-sm); }
.page-hero p  { color: rgba(255,255,255,.70); max-width: 520px; margin: 0 auto; }

/* ── Contact Page ────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: start;
}
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.form-group {
  margin-bottom: var(--space-lg);
}
.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: var(--space-xs);
}
.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  color: var(--charcoal);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus { border-color: var(--ink); }
.form-textarea { resize: vertical; min-height: 120px; }

.contact-info h3 { margin-bottom: var(--space-md); }
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--border);
}
.contact-info-icon {
  width: 42px;
  height: 42px;
  background: var(--cream);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--border);
}
.contact-info-icon svg { width: 18px; height: 18px; color: var(--gold-dim); }
.contact-info-label { font-size: 0.75rem; color: var(--slate); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.contact-info-value { font-size: 0.9375rem; font-weight: 500; color: var(--ink); }

/* ── Footer — dark brand navy ─────────────────────────────────── */
.site-footer { background: #061722; border-top: 1px solid rgba(255,255,255,.08); }
.footer-top { padding: var(--space-3xl) 0 var(--space-2xl); }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-3xl);
}
.footer-brand .logo-name { color: var(--white) !important; }
.footer-brand .logo-sub  { color: rgba(255,255,255,.5) !important; }
.footer-tagline {
  font-size: 0.875rem;
  color: rgba(255,255,255,.55);
  margin: var(--space-lg) 0;
  line-height: 1.7;
}
.footer-wa { font-size: 0.8125rem; margin-top: var(--space-sm); }

.footer-heading {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: var(--space-lg);
}
.footer-links li + li { margin-top: 0.625rem; }
.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,.65);
  transition: color var(--transition), opacity var(--transition);
}
.footer-links a:hover { color: var(--white); }

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-contact svg { color: var(--gold-light); flex-shrink: 0; }
.footer-contact a { color: rgba(255,255,255,.65); }
.footer-contact a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: var(--space-lg) 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.8125rem; color: rgba(255,255,255,.4); }
.footer-made { font-size: 0.8125rem !important; }

/* ── Floating WhatsApp ───────────────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  z-index: 999;
  width: 58px;
  height: 58px;
  background: var(--wa-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 6px 24px rgba(37,211,102,.45);
  transition: all var(--transition);
}
.wa-float:hover {
  background: var(--wa-dark);
  transform: scale(1.08);
  box-shadow: 0 8px 30px rgba(37,211,102,.55);
}
.wa-float-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--wa-green);
  pointer-events: none;
  /* Scale/opacity are driven by JS (requestAnimationFrame) in main.js,
     not CSS @keyframes — this avoids a known browser bug where CSS
     animations play too fast on high-refresh-rate (120Hz+) monitors,
     which was making this pulse "blink" fast on desktop. */
}

/* ── Admin Panel ─────────────────────────────────────────────── */
.admin-body {
  background: #F0F2F5;
  font-family: var(--font-body);
}
.admin-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
}
.admin-sidebar {
  background: var(--ink);
  padding: var(--space-xl);
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}
.admin-sidebar-logo {
  margin-bottom: var(--space-2xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.admin-nav-label {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin: var(--space-xl) 0 var(--space-sm);
  padding-left: 0.75rem;
}
.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,.7);
  transition: all var(--transition);
  margin-bottom: 2px;
}
.admin-nav-item:hover,
.admin-nav-item.active {
  background: rgba(255,255,255,.1);
  color: var(--white);
}
.admin-nav-item svg { width: 16px; height: 16px; flex-shrink: 0; }

.admin-main { padding: var(--space-2xl); overflow-y: auto; }
.admin-top { margin-bottom: var(--space-xl); }
.admin-top h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
  font-family: var(--font-body);
}
.admin-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  border: 1px solid #E4E7EC;
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--space-xl);
}
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th {
  text-align: left;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--slate);
  padding: 0.75rem var(--space-md);
  border-bottom: 2px solid #E4E7EC;
}
.admin-table td {
  padding: 0.875rem var(--space-md);
  font-size: 0.875rem;
  color: var(--charcoal);
  border-bottom: 1px solid #F0F2F5;
}
.admin-table tr:hover td { background: #FAFBFC; }
.admin-table img { width: 48px; height: 64px; object-fit: cover; border-radius: 4px; }

.badge {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  border-radius: 100px;
  font-size: 0.6875rem;
  font-weight: 700;
}
.badge-active   { background: #D1FAE5; color: #065F46; }
.badge-inactive { background: #FEE2E2; color: #991B1B; }

.admin-actions { display: flex; gap: 0.5rem; }
.admin-action-btn {
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}
.btn-edit   { background: #EFF6FF; color: #1D4ED8; border: 1px solid #BFDBFE; }
.btn-delete { background: #FEF2F2; color: #DC2626; border: 1px solid #FECACA; }
.btn-edit:hover   { background: #1D4ED8; color: white; }
.btn-delete:hover { background: #DC2626; color: white; }

.admin-login {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  padding: var(--space-xl);
}
.login-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-3xl);
  width: 100%;
  max-width: 420px;
  box-shadow: 0 25px 60px rgba(0,0,0,.3);
}
.login-card h1 {
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: var(--space-sm);
}
.login-card p {
  text-align: center;
  font-size: 0.875rem;
  margin-bottom: var(--space-2xl);
}

/* ── Flash Messages ──────────────────────────────────────────── */
.flash {
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: var(--space-lg);
}
.flash-success { background: #D1FAE5; color: #065F46; border: 1px solid #A7F3D0; }
.flash-error   { background: #FEE2E2; color: #991B1B; border: 1px solid #FECACA; }

/* ── Pagination ──────────────────────────────────────────────── */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  margin-top: var(--space-3xl);
}
.page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate);
  border: 1.5px solid var(--border);
  transition: all var(--transition);
}
.page-link:hover,
.page-link.active {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

/* ── 404 Page ─────────────────────────────────────────────────── */
.error-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-4xl) var(--space-lg);
}
.error-number {
  font-family: var(--font-display);
  font-size: 8rem;
  font-weight: 700;
  line-height: 1;
  color: var(--cream-dark);
  margin-bottom: var(--space-lg);
}

/* ── Utility classes ─────────────────────────────────────────── */
.text-center { text-align: center; }
.text-gold   { color: var(--gold-dim); }
.mb-0 { margin-bottom: 0; }
.mt-lg { margin-top: var(--space-lg); }
.hidden { display: none !important; }

/* ── Lazy load fade-in ───────────────────────────────────────── */
img[data-src] { opacity: 0; transition: opacity 0.4s ease; }
img.loaded    { opacity: 1; }

/* ── Reduced motion ─────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ── Responsive — Tablet (768px) ────────────────────────────── */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-2xl); }
  .hero-inner { grid-template-columns: 1fr; gap: var(--space-2xl); }
  .hero-visual { display: none; }
  .hero { padding: var(--space-2xl) 0 var(--space-2xl); }
  .hero h1 { font-size: clamp(1.7rem, 8vw, 2.5rem); }
  .product-detail-grid { grid-template-columns: 1fr; }
  .product-slider-wrap { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .intro-grid { grid-template-columns: 1fr; }
  .intro-divider { display: none; }
  .related-slide { flex: 0 0 calc((100% - var(--space-lg)) / 2); }
}

/* ── Responsive — Mobile (640px) ────────────────────────────── */
@media (max-width: 640px) {
  section { padding: var(--space-3xl) 0; }

  /* Header — prevent overflow/cutoff on narrow phones */
  .container { padding: 0 var(--space-md); }
  .header-inner { gap: var(--space-sm); }
  .logo { gap: 0.5rem; min-width: 0; }
  .logo-img { height: 30px; max-width: 110px; }
  .logo-mark { width: 30px; height: 30px; font-size: 0.9375rem; }
  .logo-name { font-size: 0.875rem; }
  .logo-sub { display: none; }

  .main-nav { display: none; }
  .header-wa span { display: none; }
  .header-wa { padding: 0.55rem 0.6rem; flex-shrink: 0; }
  .nav-toggle { display: flex; flex-shrink: 0; }

  /* Mobile nav open */
  .main-nav.nav-open {
    display: block;
    position: fixed;
    top: 68px; left: 0; right: 0; bottom: 0;
    background: var(--ink);
    z-index: 999;
    padding: var(--space-xl);
    overflow-y: auto;
  }
  .main-nav.nav-open .nav-list {
    flex-direction: column;
    gap: var(--space-sm);
    align-items: stretch;
  }
  .main-nav.nav-open .nav-link {
    font-size: 1.25rem;
    padding: var(--space-md) 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }

  .product-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-md); }
  .card-body { padding: var(--space-md); }
  .card-title { font-size: 0.9rem; }
  .card-desc { display: none; }
  .card-actions { flex-direction: column; }
  .card-actions .btn { font-size: 0.75rem; padding: 0.55rem 0.75rem; }

  .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-xl); }
  .footer-bottom-inner { flex-direction: column; text-align: center; gap: var(--space-sm); }

  .product-specs { grid-template-columns: 1fr 1fr; }
  .spec-item { padding: var(--space-sm) var(--space-md); }
  .related-slide { flex: 0 0 78%; }
  .back-to-collection { margin-bottom: var(--space-md); }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { text-align: center; justify-content: center; }

  .intro-grid { display: flex; flex-direction: column; gap: var(--space-xl); }
  .filter-bar { gap: var(--space-xs); }

  .wa-float { bottom: var(--space-lg); right: var(--space-lg); }

  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { display: none; }
}
