/* ==========================================================================
   MATHURA CRACKERS - SIVAKASI PREMIER PYROTECHNICS
   Handcrafted Brand Design System & Visual Art Direction
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;800;900&family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200');

:root {
  /* Sivakasi Pyrotechnic Brand Palette */
  --primary: #8b1e16;
  --primary-rgb: 139, 30, 22;
  --primary-dark: #63120c;
  --primary-light: #b8281e;
  --primary-container: #8b1e16;
  --primary-subtle: #fbeee9;
  --on-primary: #ffffff;

  /* Golden Theme Palette (per improvement.txt) */
  --gold-primary: #F5C542;       /* Warm golden yellow */
  --gold-deep: #E5A000;          /* Deep amber */
  --cream: #FFF8E7;              /* Cream */
  --warm-ivory: #FFFDF5;         /* Warm ivory */
  --charcoal: #24211C;           /* Charcoal */
  --deep-maroon: #8F1D14;        /* Deep maroon */
  --dark-brown: #684000;         /* Dark brown */

  /* Ceremonial Temple Brass & Incandescent Spark Gold */
  --gold: #E5A000;
  --gold-rgb: 229, 160, 0;
  --gold-bright: #F5C542;
  --gold-dark: #684000;
  --gold-light: #FFF8E7;
  --gold-border: rgba(229, 160, 0, 0.4);
  --gold-glow: rgba(245, 197, 66, 0.3);
  --secondary: #E5A000;
  --secondary-rgb: 229, 160, 0;
  --tertiary-gold: #F5C542;

  /* Sivakasi Obsidian Night / Deep Nocturne Surfaces */
  --dark-night: #0b0d12;
  --dark-surface: #141722;
  --dark-card: #1c202e;
  --dark-card-hover: #23283a;
  --dark-border: rgba(255, 255, 255, 0.09);
  --midnight-dark: #0b0d12;
  --midnight-surface: #141722;
  --midnight-card: #1c202e;

  /* Warm Ivory, Rice Paper & Crisp Day Surfaces */
  --background: #fbf9f6;
  --surface: #ffffff;
  --surface-container-lowest: #ffffff;
  --surface-container-low: #f7f3ec;
  --surface-container: #f1ebd0;
  --surface-container-high: #eae1d2;
  --surface-dim: #e4d7c5;
  --border-light: #e5dcce;
  --border-subtle: #ece5d8;
  --outline: #756a5c;
  --outline-variant: #d5cbba;

  /* High-Contrast Readable Text Tokens */
  --on-surface: #18191f;
  --on-surface-variant: #545663;
  --text-primary: #18191f;
  --text-muted: #5e606e;
  --text-light: #f7f8fc;
  --text-light-muted: #a4a7b8;

  /* Layout Spacing & Geometric Radii */
  --container-max: 1280px;
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  /* Typography Families */
  --font-brand: 'Cinzel', serif;
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  /* Elevation & Architectural Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 14px -2px rgba(24, 25, 31, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 12px 32px -4px rgba(24, 25, 31, 0.12), 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-dark: 0 16px 40px rgba(0, 0, 0, 0.5);
  --shadow-gold: 0 4px 20px rgba(201, 151, 38, 0.25);
  --shadow-crimson: 0 4px 20px rgba(139, 30, 22, 0.25);

  /* Motion & Timing Design System (per improvement.txt) */
  --ease-standard: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --duration-fast: 160ms;       /* Fast micro-interactions: 120-180ms */
  --duration-btn: 200ms;        /* Button and icon transitions: 180-250ms */
  --duration-reveal: 550ms;     /* Standard reveal animations: 450-650ms */
  --duration-page: 240ms;       /* Page transitions: 200-300ms */
  --duration-decorative: 650ms; /* Large decorative transitions: 500-800ms */
}

/* ==========================================================================
   RESET & FOUNDATIONS
   ========================================================================== */
*,
*::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);
  background-color: var(--background);
  color: var(--on-surface);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

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

@media (max-width: 768px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* Typography Utilities */
.font-brand {
  font-family: var(--font-brand);
}

.font-display {
  font-family: var(--font-display);
}

.font-body {
  font-family: var(--font-body);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--on-surface);
}

/* ==========================================================================
   SITE HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 50;
  background: var(--warm-ivory);
  border-bottom: 1px solid rgba(229, 160, 0, 0.28);
  box-shadow: 0 2px 14px rgba(73, 50, 10, 0.08);
  transition: all 0.25s ease;
}

.site-header.scrolled {
  background: rgba(255, 253, 245, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(73, 50, 10, 0.12);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
  transition: height 0.25s ease;
}

.site-header.scrolled .header-container {
  height: 70px;
}

/* Distinctive Brand Mark */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo-img {
  height: 54px;
  width: auto;
  max-width: 90px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(73, 50, 10, 0.12));
  transition: transform 0.22s ease, filter 0.22s ease;
  flex-shrink: 0;
  display: block;
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.05);
  filter: drop-shadow(0 4px 12px rgba(229, 160, 0, 0.35));
}

.footer-logo-img {
  height: 48px;
  max-width: 80px;
  filter: drop-shadow(0 0 10px rgba(229, 160, 0, 0.35));
}

.brand-emblem {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #741710 0%, #4a0d08 100%);
  border: 1.5px solid var(--gold);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-bright);
  box-shadow: 0 3px 10px rgba(73, 50, 10, 0.2);
  position: relative;
}

.brand-emblem::after {
  content: '';
  position: absolute;
  inset: 2px;
  border: 1px dashed rgba(229, 160, 0, 0.4);
  border-radius: 4px;
  pointer-events: none;
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  color: var(--charcoal);
  line-height: 1.1;
  text-transform: uppercase;
}

.brand-title-white {
  color: var(--charcoal);
}

.brand-title-gold {
  color: var(--gold-deep);
}

.brand-subtitle {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--dark-brown);
  opacity: 0.95;
  text-transform: uppercase;
  margin-top: 2px;
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  color: var(--charcoal);
  text-transform: uppercase;
  position: relative;
  padding: 8px 0;
  transition: color var(--duration-fast) var(--ease-standard), transform var(--duration-fast) var(--ease-standard);
  display: inline-block;
}

.nav-link:hover {
  transform: translateY(-1px);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: var(--gold-deep);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-btn) var(--ease-standard);
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold-deep);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-quick-link {
  display: flex;
  flex-direction: column;
  text-align: right;
  font-size: 0.82rem;
  line-height: 1.25;
}

.contact-quick-link span {
  font-size: 0.68rem;
  color: var(--dark-brown);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-quick-link a {
  color: var(--deep-maroon);
  font-weight: 800;
  font-family: var(--font-display);
}

.contact-quick-link a:hover {
  color: var(--gold-deep);
}

/* Intro Replay Trigger in Header */
.intro-replay-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(229, 160, 0, 0.12);
  color: var(--dark-brown);
  border: 1px solid rgba(229, 160, 0, 0.35);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
}

.intro-replay-btn:hover {
  background: var(--gold-primary);
  border-color: var(--gold-deep);
  color: var(--charcoal);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(229, 160, 0, 0.25);
}

/* Cart / Enquiry Trigger */
.cart-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-primary);
  color: var(--charcoal);
  border: 1px solid var(--gold-deep);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(229, 160, 0, 0.25);
}

.cart-toggle-btn:hover {
  background: var(--gold-deep);
  border-color: var(--gold-deep);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(229, 160, 0, 0.35);
}

.cart-count-badge {
  background: var(--charcoal);
  color: var(--gold-primary);
  font-size: 0.72rem;
  font-weight: 900;
  padding: 1px 7px;
  border-radius: var(--radius-xs);
  min-width: 20px;
  text-align: center;
}

@media (max-width: 992px) {
  .nav-links,
  .contact-quick-link,
  .header-actions {
    display: none !important;
  }

  .header-container {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    height: 64px !important;
    padding: 0 16px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .brand-logo {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    min-width: 0 !important;
    flex: 1 !important;
    width: 100% !important;
    overflow: hidden !important;
    text-decoration: none !important;
  }

  .brand-emblem {
    width: 38px !important;
    height: 38px !important;
    flex-shrink: 0 !important;
  }

  .brand-emblem svg {
    width: 20px !important;
    height: 20px !important;
  }

  .brand-text-wrap {
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
    flex: 1 !important;
    overflow: hidden !important;
  }

  .brand-title {
    font-size: 1.08rem !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    letter-spacing: 0.04em !important;
    line-height: 1.2 !important;
    color: var(--charcoal) !important;
  }

  .brand-subtitle {
    font-size: 0.60rem !important;
    letter-spacing: 0.06em !important;
    color: var(--dark-brown) !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.2 !important;
  }
}

@media (max-width: 360px) {
  .header-container {
    padding: 0 12px !important;
  }
  .brand-logo {
    gap: 8px !important;
  }
  .brand-emblem {
    width: 32px !important;
    height: 32px !important;
  }
  .brand-emblem svg {
    width: 17px !important;
    height: 17px !important;
  }
  .brand-title {
    font-size: 0.96rem !important;
  }
  .brand-subtitle {
    font-size: 0.52rem !important;
  }
}

@media (min-width: 480px) and (max-width: 768px) {
  .cart-toggle-btn span:not(.cart-count-badge):not(.material-symbols-outlined) {
    display: inline;
    font-size: 0.72rem;
  }
}

/* ==========================================================================
   BUTTONS & BADGES
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  transition: all 0.25s ease;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, #8b1e16 0%, #a8281e 100%);
  color: #ffffff;
  border: 1px solid rgba(229, 184, 56, 0.4);
  box-shadow: 0 4px 14px rgba(139, 30, 22, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #a8281e 0%, #b8281e 100%);
  border-color: var(--gold-bright);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139, 30, 22, 0.45);
}

.btn-secondary {
  background: linear-gradient(135deg, #c99726 0%, #e5b838 100%);
  color: #0b0d12;
  border: 1px solid #c99726;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(201, 151, 38, 0.3);
}

.btn-secondary:hover {
  background: #e5b838;
  color: #0b0d12;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 151, 38, 0.45);
}

.btn-outline-white {
  background: rgba(20, 23, 34, 0.7);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
}

.btn-outline-white:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-outline-coral {
  background: transparent;
  border: 1.5px solid var(--primary);
  color: var(--primary);
}

.btn-outline-coral:hover {
  background: var(--primary);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.8rem;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-xs);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.badge-gold {
  background: rgba(201, 151, 38, 0.15);
  color: #8c6511;
  border: 1px solid rgba(201, 151, 38, 0.35);
}

.badge-coral {
  background: rgba(139, 30, 22, 0.1);
  color: var(--primary);
  border: 1px solid rgba(139, 30, 22, 0.25);
}

.badge-green {
  background: rgba(46, 125, 50, 0.12);
  color: #2e7d32;
  border: 1px solid rgba(46, 125, 50, 0.3);
}

.badge-dark {
  background: #141722;
  color: var(--gold-bright);
  border: 1px solid var(--gold-border);
}

/* ==========================================================================
   HERO SECTION - EDITORIAL SPLIT LAYOUT (Reference Match)
   ========================================================================== */

/* /* ── Hero section wrapper ─────────────────────────────────────── */
.hero-section {
  position: relative;
  background-color: #f7e6b8;
  color: var(--charcoal);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow: hidden;
}

/* Layer 2: Golden Sunrise Above the Clouds (from Golden Sunrise Above the Clouds.png) */
.hero-bg-image {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero_golden_sunrise.png');
  background-size: cover;
  background-position: center 25%;
  background-repeat: no-repeat;
  image-rendering: -webkit-optimize-contrast;
  opacity: 1;
  pointer-events: none;
  z-index: 1;
}

/* Layer 3: Warm luminous overlay preserving crystal-clear readability */
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(255, 253, 245, 0.92) 0%, rgba(255, 248, 231, 0.76) 42%, rgba(255, 248, 231, 0.18) 72%, rgba(255, 248, 231, 0.35) 100%),
    linear-gradient(to bottom, rgba(255, 253, 245, 0.25) 0%, transparent 45%, rgba(255, 248, 231, 0.88) 100%);
  pointer-events: none;
  z-index: 2;
}

/* Layer 4: Transparent real-time canvas fireworks */
.hero-fireworks-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 3;
}

/* ── Scroll indicator (left edge) ────────────────────────────── */
.hero-scroll-indicator {
  position: absolute;
  left: 28px;
  bottom: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 20;
}

.hero-scroll-label {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: var(--font-brand);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  color: var(--dark-brown);
  text-transform: uppercase;
  font-weight: 700;
}

.hero-scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, rgba(229, 160, 0, 0.6), transparent);
}

.hero-scroll-arrow {
  font-size: 18px;
  color: var(--gold-deep);
  animation: scrollBounce 1.6s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(5px); }
}

/* ── Inner: 60/40 split (Layer 5) ────────────────────────────── */
.hero-inner {
  position: relative;
  z-index: 10;
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 100px 64px 40px 80px;
  gap: 48px;
  max-width: 1600px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 1100px) {
  .hero-inner {
    padding: 80px 40px 40px 64px;
  }
}

@media (max-width: 860px) {
  .hero-inner {
    grid-template-columns: 1fr;
    padding: 32px 18px 24px 18px;
    gap: 24px;
  }
  .hero-scroll-indicator { display: none; }
  .hero-bg-overlay {
    background:
      linear-gradient(to bottom, rgba(255, 253, 245, 0.95) 0%, rgba(255, 248, 231, 0.85) 45%, rgba(255, 248, 231, 0.35) 75%, rgba(255, 248, 231, 0.95) 100%);
  }
}

/* ── Left column ─────────────────────────────────────────────── */
.hero-left {
  display: flex;
  flex-direction: column;
  gap: 0;
  z-index: 10;
}

/* Overline */
.hero-overline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.hero-overline-line {
  display: block;
  width: 36px;
  height: 1.5px;
  background: var(--gold-deep);
  flex-shrink: 0;
}

.hero-overline-text {
  font-family: var(--font-brand);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  font-weight: 800;
  color: var(--deep-maroon);
  text-transform: uppercase;
}

/* Main headline - Classic bold serif matching reference */
.hero-title {
  font-family: var(--font-brand);
  font-size: clamp(2.4rem, 7.5vw, 6.8rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0.01em;
  color: var(--charcoal);
  text-transform: uppercase;
  margin: 0 0 20px 0;
}

.hero-title-gold {
  display: inline;
  color: var(--gold-deep);
  background: none;
  -webkit-text-fill-color: initial;
}

/* Description */
.hero-description {
  font-size: 0.98rem;
  color: #382e21;
  line-height: 1.58;
  margin-bottom: 24px;
  max-width: 440px;
  font-weight: 500;
}

/* CTA buttons */
.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.hero-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--gold-deep);
  color: var(--charcoal);
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 6px;
  transition: transform var(--duration-btn) var(--ease-standard),
              background var(--duration-btn) var(--ease-standard),
              box-shadow var(--duration-btn) var(--ease-standard),
              color var(--duration-btn) var(--ease-standard);
  width: 100%;
  max-width: 340px;
  box-sizing: border-box;
  box-shadow: 0 6px 20px rgba(229, 160, 0, 0.35);
  border: 1px solid rgba(229, 160, 0, 0.4);
}

.hero-btn-primary:hover {
  background: var(--gold-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(229, 160, 0, 0.45);
  color: var(--charcoal);
}

.hero-btn-primary:active {
  transform: translateY(0) scale(0.98);
}

.hero-btn-primary .material-symbols-outlined {
  transition: transform var(--duration-btn) var(--ease-standard);
}

.hero-btn-primary:hover .material-symbols-outlined {
  transform: translateX(4px);
}

.hero-btn-text {
  font-family: var(--font-brand);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--charcoal);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  position: relative;
  text-decoration: none;
  padding: 4px 0;
  display: inline-block;
  transition: color var(--duration-fast) var(--ease-standard);
}

.hero-btn-text::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0.7);
  transform-origin: left;
  transition: transform var(--duration-btn) var(--ease-standard), background var(--duration-fast) var(--ease-standard);
}

.hero-btn-text:hover,
.hero-btn-text:focus-visible {
  color: var(--gold-deep);
}

.hero-btn-text:hover::after,
.hero-btn-text:focus-visible::after {
  transform: scaleX(1);
  background: var(--gold-deep);
}

/* ── Right column: photo frame ───────────────────────────────── */
.hero-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.hero-image-frame {
  position: relative;
  width: 100%;
  max-width: 740px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 0 0 1.5px rgba(229, 160, 0, 0.35),
    0 24px 60px -10px rgba(73, 50, 10, 0.28),
    0 4px 16px rgba(0, 0, 0, 0.12);
}

.hero-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  aspect-ratio: 16/10;
  image-rendering: high-quality;
  border-radius: 14px;
}

/* Subtle inner vignette on the image */
.hero-image-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(11, 13, 18, 0.3) 0%,
    transparent 50%,
    rgba(11, 13, 18, 0.15) 100%
  );
  border-radius: 14px;
  pointer-events: none;
}

/* Floating discount badge on photo - dark restrained badge with gold typography */
.hero-float-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(36, 33, 28, 0.90);
  border: 1px solid rgba(245, 197, 66, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 8px;
  padding: 10px 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.hero-float-badge-main {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--gold-primary);
  letter-spacing: 0.04em;
}

.hero-float-badge-sub {
  font-size: 0.72rem;
  color: var(--cream);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (max-width: 860px) {
  .hero-float-badge {
    display: none !important;
  }
}

/* ── Bottom feature strip (Matching reference image) ──────────── */
.hero-feature-strip {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 253, 245, 0.96);
  border-top: 1px solid rgba(229, 160, 0, 0.25);
  border-bottom: 1px solid rgba(229, 160, 0, 0.25);
  padding: 16px 40px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

@media (max-width: 860px) {
  .hero-feature-strip {
    padding: 14px 10px;
  }
}

.hero-feature-item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 4px 6px;
  min-width: 0;
}

.hero-feature-divider {
  width: 1px;
  height: 28px;
  background: rgba(229, 160, 0, 0.35);
  flex-shrink: 0;
}

.hero-feature-icon {
  font-size: 26px;
  color: var(--gold-deep);
  flex-shrink: 0;
}

.hero-feature-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.hero-feature-title {
  font-family: var(--font-brand);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--charcoal);
  text-transform: uppercase;
}

.hero-feature-sub {
  font-family: var(--font-brand);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--deep-maroon);
  text-transform: uppercase;
}

/* ==========================================================================
   HALLMARKS / SIVAKASI ASSURANCE BAND (Replaces generic feature cards)

   ========================================================================== */
.hallmarks-section {
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  padding: 0;
  position: relative;
  z-index: 20;
}

.hallmarks-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  divide-x: 1px solid var(--border-light);
}

@media (max-width: 1024px) {
  .hallmarks-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .hallmarks-grid {
    grid-template-columns: 1fr;
  }
}

.hallmark-item {
  padding: 32px 28px;
  border-right: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  transition: background-color 0.25s ease;
}

.hallmark-item:last-child {
  border-right: none;
}

.hallmark-item:hover {
  background-color: var(--surface-container-low);
}

.hallmark-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-xs);
  background: var(--surface-container-low);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 16px;
}

.hallmark-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--on-surface);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.hallmark-desc {
  font-size: 0.88rem;
  color: var(--on-surface-variant);
  line-height: 1.5;
}

/* ==========================================================================
   HERITAGE & CRAFTSMANSHIP SECTION
   ========================================================================== */
.heritage-section {
  padding: 90px 0;
  background: var(--background);
  border-bottom: 1px solid var(--border-light);
}

.heritage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 992px) {
  .heritage-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.heritage-visual-card {
  position: relative;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #141722;
}

.heritage-visual-card img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  display: block;
}

.heritage-plaque {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(14, 16, 22, 0.92);
  border: 1px solid var(--gold-border);
  border-left: 4px solid var(--gold-bright);
  padding: 16px 20px;
  border-radius: var(--radius-xs);
  color: #ffffff;
}

.heritage-plaque-title {
  font-family: var(--font-brand);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--gold-bright);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.heritage-plaque-text {
  font-size: 0.8rem;
  color: #c5c7d0;
  line-height: 1.4;
}

.heritage-content-wrap {
  display: flex;
  flex-direction: column;
}

.section-overline {
  font-family: var(--font-brand);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 8px;
  display: inline-block;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--on-surface);
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.section-subtext {
  font-size: 1.02rem;
  color: var(--on-surface-variant);
  line-height: 1.6;
  margin-bottom: 28px;
}

.heritage-metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 32px;
}

.metric-block {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
}

.metric-num {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 4px;
}

.metric-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--on-surface);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.metric-sub {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ==========================================================================
   ADVANCE BOOKING SALE & LIVE COUNTDOWN
   ========================================================================== */
.sale-countdown-section {
  background: #0f121a;
  border-top: 1px solid var(--dark-border);
  border-bottom: 1px solid var(--dark-border);
  color: #ffffff;
  padding: 75px 0;
  position: relative;
}

.sale-panel {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.sale-pre-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201, 151, 38, 0.15);
  border: 1px solid var(--gold-border);
  color: var(--gold-bright);
  font-family: var(--font-brand);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 6px 16px;
  border-radius: var(--radius-xs);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.sale-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.sale-subtext {
  font-size: 1.05rem;
  color: #a4a7b8;
  max-width: 640px;
  margin: 0 auto 32px;
  line-height: 1.55;
}

.countdown-timer-wrap {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.timer-box {
  background: #181d29;
  border: 1.5px solid var(--gold-border);
  border-radius: var(--radius-sm);
  padding: 18px 24px;
  min-width: 105px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.timer-num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--gold-bright);
  line-height: 1;
}

.timer-label {
  font-size: 0.76rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 6px;
}

.timer-box.timer-secs .timer-num {
  color: #ff6f61;
}

/* ==========================================================================
   FAMILY FESTIVE CELEBRATION SHOWCASE
   ========================================================================== */
.family-showcase-section {
  padding: 90px 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
}

.family-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 992px) {
  .family-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.family-img-wrap {
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.family-img-wrap img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  display: block;
}

.safety-points-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 24px 0 32px;
}

.safety-point-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.safety-point-bullet {
  width: 28px;
  height: 28px;
  background: var(--surface-container-low);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

.safety-point-title {
  font-weight: 800;
  color: var(--on-surface);
  font-size: 0.98rem;
  line-height: 1.3;
}

.safety-point-desc {
  font-size: 0.86rem;
  color: var(--on-surface-variant);
  margin-top: 2px;
}

/* ==========================================================================
   REGIONAL TESTIMONIALS (EDITORIAL STYLE)
   ========================================================================== */
.testimonials-section {
  padding: 85px 0;
  background: var(--surface-container-low);
  border-bottom: 1px solid var(--border-light);
}

.testimonials-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 992px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

.testimonial-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-top: 3px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.testimonial-quote-symbol {
  font-family: var(--font-brand);
  font-size: 2.4rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 10px;
}

.testimonial-quote {
  font-size: 0.95rem;
  color: var(--on-surface);
  line-height: 1.6;
  margin-bottom: 24px;
}

.testimonial-author-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.author-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--on-surface);
}

.author-location {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.author-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: #2e7d32;
  background: rgba(46, 125, 50, 0.1);
  padding: 2px 8px;
  border-radius: var(--radius-xs);
}

/* ==========================================================================
   2018 SUPREME COURT LEGAL NOTICE CARD
   ========================================================================== */
.legal-notice-box {
  background: #141722;
  border: 1.5px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  margin: 40px auto 50px;
  color: #ffffff;
  max-width: 100%;
}

.legal-notice-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-brand);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--gold-bright);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.legal-notice-text {
  font-size: 0.88rem;
  color: #c5c7d0;
  line-height: 1.6;
}

/* ==========================================================================
   SITE FOOTER
   ========================================================================== */
.site-footer {
  background: #0b0d12;
  color: #e2e4ea;
  padding: 70px 0 30px;
  border-top: 3px solid var(--primary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1.3fr 1.1fr;
  gap: 40px;
  margin-bottom: 50px;
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-col-title {
  font-family: var(--font-brand);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--gold-bright);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  color: #b5b8c5;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-link:hover {
  color: #ffffff;
  transform: translateX(3px);
}

.footer-payment-box {
  background: #141722;
  border: 1px solid var(--dark-border);
  padding: 18px;
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  color: #c5c7d0;
  line-height: 1.5;
}

.footer-bottom {
  border-top: 1px solid var(--dark-border);
  padding-top: 24px;
  text-align: center;
  font-size: 0.8rem;
  color: #8c8f9e;
  letter-spacing: 0.04em;
}

/* ==========================================================================
   PAGE HERO BANNER (Golden Sunrise Above the Clouds)
   Applied across all pages: Enquiry/Catalog, About/Heritage, Contact Store
   ========================================================================== */
.catalog-page-header,
.page-hero-banner,
.about-hero-header,
.contact-hero-header {
  position: relative;
  background-color: #2b1808;
  background-image: 
    linear-gradient(180deg, rgba(14, 10, 6, 0.52) 0%, rgba(28, 18, 8, 0.36) 45%, rgba(14, 10, 6, 0.68) 100%),
    url('../images/hero_golden_sunrise.png');
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  border-bottom: 2px solid var(--gold);
  color: #ffffff;
  padding: 68px 0 85px;
  text-align: center;
  overflow: hidden;
  box-shadow: inset 0 -24px 48px rgba(0, 0, 0, 0.4);
}

.catalog-page-header::before,
.page-hero-banner::before,
.about-hero-header::before,
.contact-hero-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 35%, rgba(255, 215, 0, 0.16) 0%, rgba(0, 0, 0, 0) 72%);
  pointer-events: none;
  z-index: 1;
}

.catalog-page-header .container,
.page-hero-banner .container,
.about-hero-header .container,
.contact-hero-header .container {
  position: relative;
  z-index: 2;
}

.catalog-page-header h1,
.page-hero-banner h1,
.about-hero-header h1,
.contact-hero-header h1 {
  font-family: var(--font-brand);
  color: #ffffff;
  letter-spacing: -0.01em;
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.9), 0 0 36px rgba(229, 160, 0, 0.45);
}

.catalog-page-header p,
.page-hero-banner p,
.about-hero-header p,
.contact-hero-header p {
  color: rgba(255, 255, 255, 0.94) !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
}

.catalog-page-header .badge-gold,
.page-hero-banner .badge-gold,
.about-hero-header .badge-gold,
.contact-hero-header .badge-gold {
  background: rgba(229, 160, 0, 0.25);
  color: #ffd166;
  border: 1px solid rgba(229, 160, 0, 0.6);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.catalog-controls-bar {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  box-shadow: var(--shadow-md);
  margin-top: -36px;
  margin-bottom: 30px;
  position: relative;
  z-index: 30;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.search-sort-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.search-box {
  flex: 1;
  min-width: 260px;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 12px 16px 12px 44px;
  background: var(--surface-container-low);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  color: var(--on-surface);
  transition: all 0.2s ease;
}

.search-input:focus {
  background: #ffffff;
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(139, 30, 22, 0.12);
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--outline);
}

.search-clear-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--outline);
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: color 0.2s ease, background 0.2s ease;
}

.search-clear-btn:hover {
  color: var(--primary);
  background: rgba(139, 30, 22, 0.08);
}

.btn-reset-filters {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: #fff1f2;
  color: #be123c;
  border: 1px solid #fecdd3;
  border-radius: var(--radius-xs);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-reset-filters:hover {
  background: #be123c;
  color: #ffffff;
}

.category-chips-scroll {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
}

.category-chip {
  white-space: nowrap;
  padding: 8px 16px;
  background: var(--surface-container-low);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xs);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--on-surface-variant);
  cursor: pointer;
  transition: all 0.2s ease;
}

.category-chip:hover {
  background: #ffffff;
  border-color: var(--primary);
  color: var(--primary);
}

.category-chip.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

/* Category Block */
.category-block {
  margin-bottom: 45px;
}

.category-header-banner {
  background: #141722;
  border-left: 4px solid var(--gold-bright);
  color: #ffffff;
  padding: 12px 20px;
  border-radius: var(--radius-xs);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.category-header-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Product Cards Grid - Clean Responsive Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
}

/* Product Card - Clean, Text-Focused Accessible Box */
.product-card {
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 20px 20px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
  box-sizing: border-box;
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(73, 50, 10, 0.08);
  border-color: var(--primary);
}

.product-card.in-cart {
  border: 2px solid #2e7d32;
  background: #fbfdfb;
  box-shadow: 0 4px 16px rgba(46, 125, 50, 0.12);
}

/* 1. Category Tag & In-Cart Badge */
.product-category-row,
.product-card-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 6px;
}

.product-category-tag {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--primary);
  background: rgba(139, 30, 22, 0.08);
  border: 1px solid rgba(139, 30, 22, 0.18);
  padding: 2px 7px;
  border-radius: var(--radius-xs);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 70%;
}

.product-in-cart-indicator {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: #2e7d32;
  color: #ffffff;
  font-size: 0.64rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: var(--radius-xs);
  letter-spacing: 0.03em;
  white-space: nowrap;
}

/* 2. Product Name */
.product-title {
  font-family: var(--font-brand);
  font-size: 1.12rem;
  font-weight: 800;
  color: #141722;
  line-height: 1.3;
  margin: 0 0 6px 0;
  letter-spacing: 0.01em;
  word-break: break-word;
}

/* 3. Product Code and Packaging Unit */
.product-code-unit-row,
.product-code-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.product-code-unit-row .code-badge,
.product-code-row .code-badge {
  font-family: monospace;
  font-weight: 800;
  font-size: 0.76rem;
  color: #141722;
  background: var(--surface-container-low);
  padding: 1px 6px;
  border-radius: 4px;
  border: 1px solid var(--border-light);
}

.product-code-unit-row .unit-badge {
  font-size: 0.76rem;
  font-weight: 700;
  color: #475569;
}

/* 3. Selling Price in prominent red or dark maroon text */
.product-selling-price-box {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 4px;
}

.product-selling-price-box .price-currency {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 900;
  color: #8b1e16;
}

.product-selling-price-box .price-amount {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 900;
  color: #8b1e16;
  line-height: 1;
}

.product-selling-price-box .price-per-unit {
  font-size: 0.95rem;
  font-weight: 700;
  color: #8b1e16;
  text-transform: uppercase;
}

/* 4. MRP and Discount */
.product-mrp-discount-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.mrp-strikethrough {
  font-size: 0.88rem;
  color: #71717a;
  text-decoration: line-through;
  font-weight: 600;
}

.discount-pill {
  font-size: 0.72rem;
  font-weight: 800;
  color: #ffffff;
  background: #2e7d32;
  padding: 2px 7px;
  border-radius: var(--radius-xs);
  letter-spacing: 0.04em;
}

/* 5. Packaging Unit */
.product-packaging-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.86rem;
  color: #3f3f46;
  margin-bottom: 8px;
}

.product-packaging-row strong {
  color: #141722;
  font-weight: 700;
}

/* 6. Availability / Stock */
.product-stock-row {
  margin-bottom: 18px;
}

.stock-badge {
  font-size: 0.78rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: var(--radius-xs);
}

.badge-in-stock {
  color: #2e7d32;
  background: rgba(46, 125, 50, 0.08);
  border: 1px solid rgba(46, 125, 50, 0.2);
}

.badge-low-stock {
  color: #b45309;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.badge-out-of-stock {
  color: #dc2626;
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.2);
}

/* 7. Quantity Controls */
.product-qty-section {
  background: var(--surface-container-low);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xs);
  padding: 10px 12px;
  margin-bottom: 12px;
}

.qty-section-title {
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  color: #71717a;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
  text-align: center;
}

.qty-selector-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.btn-qty-control {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  background: #ffffff;
  color: #141722;
  border: 1.5px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.btn-qty-control:hover:not(:disabled) {
  background: var(--surface-container-high);
  border-color: var(--primary);
  color: var(--primary);
}

.btn-qty-control:active:not(:disabled) {
  transform: scale(0.95);
}

.btn-qty-control:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.qty-display-badge {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 1.05rem;
  font-weight: 800;
  color: #141722;
  padding: 6px 10px;
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: 6px;
  min-height: 44px;
  box-sizing: border-box;
}

.qty-display-badge .qty-value-number {
  font-size: 1.15rem;
  font-weight: 900;
  color: #141722;
  min-width: 22px;
  text-align: center;
}

.qty-display-badge .qty-value-unit {
  font-size: 0.78rem;
  color: #71717a;
  font-weight: 700;
  text-transform: uppercase;
}

/* 8. Add to Enquiry Button */
.product-action-section {
  width: 100%;
}

.btn-add-to-enquiry {
  width: 100%;
  min-height: 46px;
  padding: 12px 18px;
  background: #8b1e16;
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 6px;
  border: 1px solid rgba(201, 151, 38, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 12px rgba(139, 30, 22, 0.25);
}

.btn-add-to-enquiry:hover {
  background: #a8281e;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(139, 30, 22, 0.35);
}

.btn-add-to-enquiry:active {
  transform: translateY(0) scale(0.98);
}

/* Added Status & Remove Button Group */
.card-added-action-group {
  display: flex;
  gap: 8px;
  width: 100%;
}

.btn-card-added {
  flex: 1;
  min-height: 46px;
  padding: 10px 14px;
  background: #2e7d32;
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.84rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-card-added:hover {
  background: #256d29;
}

.btn-card-remove {
  min-height: 46px;
  padding: 10px 14px;
  background: #fff1f2;
  color: #be123c;
  border: 1px solid #fecdd3;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn-card-remove:hover {
  background: #be123c;
  color: #ffffff;
}

/* Sticky Floating Bottom Order Bar */
.floating-order-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #0b0d12;
  border-top: 2px solid var(--gold);
  color: #ffffff;
  padding: 12px 24px;
  z-index: 99;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.5);
  transform: translateY(120%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-order-bar.visible {
  transform: translateY(0);
}

.floating-bar-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.floating-bar-info {
  display: flex;
  align-items: center;
  gap: 20px;
}

.floating-bar-amount {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--gold-bright);
}

/* Floating Actions on Screen */
.floating-actions {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.whatsapp-float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.4);
  transition: all 0.25s ease;
}

.whatsapp-float-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.6);
}

.quick-enquiry-float-badge {
  position: fixed;
  bottom: 90px;
  right: 24px;
  z-index: 79;
}

.quick-enquiry-float-badge .btn-secondary {
  background: var(--gold-primary);
  color: var(--charcoal);
  border: 1px solid var(--gold-deep);
  box-shadow: 0 4px 18px rgba(73, 50, 10, 0.25);
  font-weight: 800;
}

.quick-enquiry-float-badge .btn-secondary:hover {
  background: var(--gold-deep);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(229, 160, 0, 0.35);
}

/* Mobile Bottom Navigation Bar - Gliding Indicator & Smooth Transitions */
.mobile-bottom-nav {
  display: none;
}

/* Page Content Transition Wrapper */
.page-transition-content {
  transition: opacity 0.22s cubic-bezier(0.25, 1, 0.5, 1), transform 0.22s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: opacity, transform;
}

.page-transition-content.nav-transition-exit-left {
  opacity: 0 !important;
  transform: translateX(-16px) !important;
}

.page-transition-content.nav-transition-exit-right {
  opacity: 0 !important;
  transform: translateX(16px) !important;
}

.page-transition-content.nav-transition-enter-left {
  opacity: 0 !important;
  transform: translateX(16px) !important;
}

.page-transition-content.nav-transition-enter-right {
  opacity: 0 !important;
  transform: translateX(-16px) !important;
}

@media (max-width: 992px) {
  body {
    padding-bottom: 72px;
  }

  .mobile-bottom-nav {
    display: block !important;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 253, 245, 0.98);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid rgba(229, 160, 0, 0.28);
    z-index: 990;
    padding: 6px 0 max(6px, env(safe-area-inset-bottom));
    box-shadow: 0 -4px 20px rgba(73, 50, 10, 0.10);
  }

  .mobile-bottom-nav-container {
    display: flex;
    align-items: center;
    justify-content: space-around;
    max-width: 480px;
    margin: 0 auto;
    position: relative;
    padding: 0 4px;
  }

  .bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: #686358;
    font-size: 0.72rem;
    font-weight: 600;
    text-decoration: none;
    position: relative;
    padding: 4px 8px 6px;
    flex: 1;
    min-height: 48px;
    border-radius: 8px;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    transition: color 0.24s ease, transform 0.24s cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  .bottom-nav-item .material-symbols-outlined {
    font-size: 22px;
    color: inherit;
    transition: color 0.24s ease, transform 0.24s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.24s ease;
  }

  .bottom-nav-item span:last-child {
    transition: color 0.24s ease, transform 0.24s ease, font-weight 0.24s ease;
    letter-spacing: 0.01em;
  }

  .bottom-nav-item:hover,
  .bottom-nav-item:focus-visible {
    color: var(--charcoal);
  }

  .bottom-nav-item:focus-visible {
    outline: 2px solid var(--gold-deep);
    outline-offset: -2px;
  }

  /* Active state with elegant lift and gold radiance */
  .bottom-nav-item.active {
    color: var(--gold-deep) !important;
  }

  .bottom-nav-item.active .material-symbols-outlined {
    color: var(--gold-deep) !important;
    transform: translateY(-2px) scale(1.08);
    filter: drop-shadow(0 0 6px rgba(229, 160, 0, 0.45));
  }

  .bottom-nav-item.active span:last-child {
    color: var(--gold-deep) !important;
    font-weight: 700;
    transform: translateY(-1px);
    letter-spacing: 0.02em;
  }

  /* Touch press feedback */
  .bottom-nav-item:active {
    transform: scale(0.95);
  }

  /* Hide floating badges on mobile/tablet to prevent clutter & overlap */
  .quick-enquiry-float-badge {
    display: none !important;
  }

  .floating-actions {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bottom-nav-item,
  .bottom-nav-item .material-symbols-outlined,
  .bottom-nav-item span:last-child,
  .page-transition-content {
    transition: none !important;
    transform: none !important;
    animation: none !important;
  }
}

/* ==========================================================================
   CHECKOUT MODAL & CUSTOM ESTIMATE SLIP
   ========================================================================== */
.modal-backdrop,
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 13, 18, 0.75);
  backdrop-filter: blur(4px);
  z-index: 105;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-backdrop.open,
.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-dialog,
.modal-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
}

.modal-header {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fbf9f6;
}

.modal-title {
  font-family: var(--font-brand);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-close-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--on-surface);
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-body {
  padding: 24px;
}

.modal-footer {
  padding: 18px 24px;
  border-top: 1px solid var(--border-light);
  background: #fbf9f6;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.disabled-btn {
  background: #e2e8f0 !important;
  color: #94a3b8 !important;
  border: none !important;
  cursor: not-allowed !important;
}

/* Floating Order Bar Inner Structure */
.order-bar-container {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.order-summary-stats {
  display: flex;
  align-items: center;
  gap: 20px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-title {
  font-size: 0.72rem;
  color: #94a3b8;
  text-transform: uppercase;
  font-weight: 700;
}

.stat-val {
  font-weight: 800;
  font-size: 1rem;
  color: #ffffff;
}

.stat-val.gold {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--gold-bright);
}

.btn-checkout-main {
  background: var(--gold-bright);
  color: #0b0d12;
  border: 1px solid var(--gold);
  font-weight: 800;
  font-size: 0.88rem;
  padding: 10px 20px;
  border-radius: var(--radius-xs);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-checkout-main:hover {
  background: #fae082;
  transform: translateY(-1px);
}

/* ==========================================================================
   Custom App Dialog & Notification Card System (Fixed Overlays Only)
   ========================================================================== */
.app-dialog-backdrop {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(11, 13, 18, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.app-dialog-backdrop.active {
  display: flex !important;
}

.app-dialog-card {
  background: #141721;
  border: 1px solid rgba(226, 179, 66, 0.25);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7), 0 0 30px rgba(226, 179, 66, 0.12);
  border-radius: 14px;
  width: 100%;
  max-width: 440px;
  padding: 28px 24px;
  text-align: center;
  position: relative;
  animation: dialogCardPop 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

@keyframes dialogCardPop {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(12px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.app-dialog-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin: 0 auto 16px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(226, 179, 66, 0.15);
  color: var(--gold-bright);
}

.app-dialog-card.type-warning .app-dialog-icon-wrap {
  background: rgba(234, 150, 39, 0.15);
  color: #ea9627;
}

.app-dialog-card.type-danger .app-dialog-icon-wrap {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}

.app-dialog-card.type-success .app-dialog-icon-wrap {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
}

.app-dialog-icon-wrap .material-symbols-outlined {
  font-size: 30px;
}

.app-dialog-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 10px 0;
  letter-spacing: 0.02em;
}

.app-dialog-message {
  font-size: 0.95rem;
  color: #cbd5e1;
  line-height: 1.55;
  margin: 0 0 24px 0;
}

.app-dialog-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

.app-dialog-btn {
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  min-width: 110px;
}

.app-dialog-btn-primary {
  background: var(--gold-bright);
  color: #0b0d12;
}

.app-dialog-btn-primary:hover {
  background: #fae082;
  transform: translateY(-1px);
}

.app-dialog-btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.app-dialog-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.app-dialog-btn-danger {
  background: #ef4444;
  color: #ffffff;
}

.app-dialog-btn-danger:hover {
  background: #dc2626;
}

/* Toast container & cards */
.app-toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
  max-width: 380px;
}

.app-toast-card {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-radius: 10px;
  background: #141721;
  border: 1px solid rgba(226, 179, 66, 0.3);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  color: #ffffff;
  font-size: 0.9rem;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.app-toast-card.show {
  opacity: 1;
  transform: translateY(0);
}

.app-toast-icon {
  font-size: 22px;
  color: var(--gold-bright);
  flex-shrink: 0;
}

.app-toast-card.type-warning .app-toast-icon {
  color: #ea9627;
}

.app-toast-card.type-error .app-toast-icon,
.app-toast-card.type-danger .app-toast-icon {
  color: #ef4444;
}

.app-toast-card.type-success .app-toast-icon {
  color: #22c55e;
}

.app-toast-content {
  flex: 1;
  line-height: 1.4;
}

/* ==========================================================================
   GLOBAL MOBILE RESPONSIVE ENHANCEMENTS (All Pages)
   ========================================================================== */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

@media (max-width: 768px) {
  /* Container Safe Padding */
  .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  /* Section Headings */
  .section-heading {
    font-size: clamp(1.6rem, 5.5vw, 2.3rem) !important;
    line-height: 1.2 !important;
  }

  /* Hero Banners Across Pages */
  .catalog-page-header,
  .page-hero-banner,
  .about-hero-header,
  .contact-hero-header {
    padding: 42px 16px 52px !important;
    background-position: center 25% !important;
  }

  .catalog-page-header h1,
  .page-hero-banner h1,
  .about-hero-header h1,
  .contact-hero-header h1 {
    font-size: clamp(1.6rem, 5.5vw, 2.2rem) !important;
  }

  .catalog-controls-bar {
    margin-top: -24px !important;
    padding: 14px 12px !important;
    gap: 12px !important;
    border-radius: 10px !important;
  }

  .search-sort-row {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
  }

  .search-box {
    min-width: 0 !important;
    width: 100% !important;
  }

  .search-input {
    padding: 10px 14px 10px 38px !important;
    font-size: 0.88rem !important;
  }

  #catalog-count-badge {
    font-size: 0.8rem !important;
    text-align: left;
    color: var(--primary);
    font-weight: 700;
  }

  #catalog-unit-filter-chips {
    gap: 6px !important;
    width: 100% !important;
  }

  #catalog-unit-filter-chips .filter-btn {
    flex: 1 1 auto !important;
    padding: 6px 10px !important;
    font-size: 0.76rem !important;
    text-align: center !important;
    white-space: nowrap !important;
  }

  .category-chips-scroll {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px !important;
  }

  .category-chip {
    padding: 6px 12px !important;
    font-size: 0.76rem !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }

  .category-block {
    margin-bottom: 30px !important;
  }

  .category-header-banner {
    padding: 10px 14px !important;
    margin-bottom: 14px !important;
  }

  .category-header-title {
    font-size: 0.9rem !important;
  }

  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .product-card {
    padding: 12px 10px 10px !important;
    border-radius: 8px !important;
  }

  .product-title {
    font-size: 0.88rem !important;
    line-height: 1.25 !important;
    min-height: 2.5em !important;
    margin-bottom: 4px !important;
  }

  .product-code-unit-row {
    margin-bottom: 6px !important;
    gap: 4px !important;
  }

  .product-code-unit-row .code-badge {
    font-size: 0.68rem !important;
    padding: 1px 4px !important;
  }

  .product-code-unit-row .unit-badge {
    font-size: 0.68rem !important;
  }

  .product-selling-price-box {
    margin-bottom: 2px !important;
  }

  .product-selling-price-box .price-amount {
    font-size: 1.25rem !important;
  }

  .product-selling-price-box .price-currency {
    font-size: 0.9rem !important;
  }

  .product-selling-price-box .price-per-unit {
    font-size: 0.7rem !important;
  }

  .product-mrp-discount-row {
    margin-bottom: 6px !important;
    gap: 4px !important;
  }

  .mrp-strikethrough {
    font-size: 0.72rem !important;
  }

  .discount-pill {
    font-size: 0.62rem !important;
    padding: 1px 4px !important;
  }

  .product-stock-row {
    margin-bottom: 8px !important;
  }

  .stock-badge {
    font-size: 0.66rem !important;
    padding: 1px 5px !important;
  }

  .product-qty-section {
    padding: 5px 4px !important;
    margin-bottom: 8px !important;
    border-radius: 6px !important;
  }

  .qty-section-title {
    font-size: 0.6rem !important;
    margin-bottom: 4px !important;
  }

  .btn-qty-control {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    border-radius: 5px !important;
  }

  .btn-qty-control .material-symbols-outlined {
    font-size: 18px !important;
  }

  .qty-display-badge {
    height: 36px !important;
    min-height: 36px !important;
    padding: 2px 4px !important;
    border-radius: 5px !important;
  }

  .qty-display-badge .qty-value-number {
    font-size: 0.95rem !important;
  }

  .qty-display-badge .qty-value-unit {
    font-size: 0.62rem !important;
  }

  .btn-add-to-enquiry {
    min-height: 40px !important;
    padding: 8px 6px !important;
    font-size: 0.76rem !important;
    letter-spacing: 0.02em !important;
    border-radius: 6px !important;
  }

  .card-added-action-group {
    flex-direction: column !important;
    gap: 4px !important;
  }

  .btn-card-added {
    width: 100% !important;
    min-height: 34px !important;
    font-size: 0.7rem !important;
    padding: 5px 4px !important;
    border-radius: 5px !important;
  }

  .btn-card-remove {
    width: 100% !important;
    min-height: 28px !important;
    font-size: 0.66rem !important;
    padding: 3px 4px !important;
    border-radius: 4px !important;
  }

  /* Floating Order Bar on Mobile: sits smoothly above bottom nav */
  .floating-order-bar {
    padding: 10px 14px !important;
    bottom: 58px !important;
    z-index: 980 !important;
  }

  .floating-bar-inner {
    gap: 8px !important;
  }

  .floating-bar-info {
    gap: 12px !important;
  }

  .floating-bar-amount {
    font-size: 1.15rem !important;
  }

  #order-bar-qty {
    display: none !important;
  }

  .floating-order-bar .btn-sm {
    padding: 8px 12px !important;
    font-size: 0.78rem !important;
  }

  /* Modals on Mobile */
  .modal-dialog,
  .modal-card {
    width: 95% !important;
    max-width: 100% !important;
    max-height: 90vh !important;
    border-radius: 12px !important;
  }

  .modal-header {
    padding: 14px 16px !important;
  }

  .modal-body {
    padding: 16px 14px !important;
  }

  .modal-footer {
    padding: 14px 16px !important;
    flex-direction: column-reverse !important;
    gap: 8px !important;
  }

  .modal-footer .btn {
    width: 100% !important;
    justify-content: center !important;
  }

  /* About Page (about.html) */
  .timeline-wrap::before {
    left: 12px !important;
  }

  .timeline-dot {
    left: 12px !important;
    width: 14px !important;
    height: 14px !important;
  }

  .timeline-content {
    width: calc(100% - 36px) !important;
    margin-left: 36px !important;
    padding: 16px 14px !important;
  }

  .infra-gallery-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .infra-gallery-grid .heritage-visual-card {
    height: 220px !important;
  }

  .infra-features-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  /* Contact Page (contact.html) */
  .contact-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .contact-card-box {
    padding: 20px 16px !important;
  }

  .contact-map-form-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .contact-map-form-grid > div {
    padding: 20px 16px !important;
  }

  .contact-map-form-grid iframe {
    min-height: 240px !important;
    height: 240px !important;
  }

  /* App Dialog & Toast */
  .app-dialog-card {
    width: 92% !important;
    padding: 22px 18px !important;
  }

  .app-dialog-actions {
    flex-direction: column !important;
    width: 100% !important;
  }

  .app-dialog-btn {
    width: 100% !important;
  }

  .app-toast-container {
    left: 16px !important;
    right: 16px !important;
    bottom: 74px !important;
    max-width: 100% !important;
  }
}

@media (max-width: 350px) {
  .products-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .product-card {
    padding: 14px 12px 12px !important;
  }

  .product-title {
    font-size: 1rem !important;
    min-height: auto !important;
  }

  .product-selling-price-box .price-amount {
    font-size: 1.45rem !important;
  }

  .btn-qty-control {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
  }

  .qty-display-badge {
    height: 40px !important;
    min-height: 40px !important;
  }

  .card-added-action-group {
    flex-direction: row !important;
    gap: 6px !important;
  }

  .btn-card-added {
    min-height: 38px !important;
  }

  .btn-card-remove {
    min-height: 38px !important;
  }
}

/* ==========================================================================
   BRAND INTRO OVERLAY ("IGNITE THE WONDER")
   ========================================================================== */
.brand-intro-overlay {
  display: flex;
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 100000;
  background: #08090d;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.65s ease;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.intro-active .brand-intro-overlay {
  display: flex;
}

.brand-intro-overlay.intro-hidden {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

body.intro-active {
  overflow: hidden !important;
  touch-action: none;
}

/* Pause and prepare hero entrance animation while intro is active */
body.intro-active .hero-section .hero-overline,
body.intro-active .hero-section .hero-title,
body.intro-active .hero-section .hero-description,
body.intro-active .hero-section .hero-actions,
body.intro-active .hero-section .hero-image-frame,
body.intro-active .hero-section .hero-float-badge,
body.intro-active .hero-section .hero-feature-strip,
body.intro-active .hero-section .hero-scroll-indicator {
  animation: none !important;
  opacity: 0 !important;
  transform: translateY(20px) !important;
}

.brand-intro-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.brand-intro-light-sweep {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(229, 184, 56, 0.18) 50%, transparent 70%);
  pointer-events: none;
  opacity: 0;
  transform: translateX(-100%);
  transition: transform 0.75s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.4s ease;
  z-index: 3;
}

.brand-intro-overlay.sweep-active .brand-intro-light-sweep {
  opacity: 1;
  transform: translateX(100%);
}

.brand-intro-skip-btn {
  position: absolute;
  top: calc(env(safe-area-inset-top, 16px) + 16px);
  right: 20px;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(229, 184, 56, 0.35);
  color: #e5b838;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.brand-intro-skip-btn:hover,
.brand-intro-skip-btn:focus-visible {
  background: rgba(229, 184, 56, 0.22);
  border-color: #e5b838;
  color: #ffffff;
  box-shadow: 0 0 16px rgba(229, 184, 56, 0.35);
  transform: translateY(-1px);
  outline: none;
}

.brand-intro-center {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 90vw;
  user-select: none;
}

.brand-intro-spark-target {
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  z-index: 6;
  background: transparent;
  -webkit-tap-highlight-color: transparent;
}

.brand-intro-reveal {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  pointer-events: none;
}

.brand-intro-reveal.reveal-visible {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.brand-intro-emblem-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 290px;
  max-width: 86vw;
  margin-bottom: 8px;
}

.brand-intro-ring-glow {
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 197, 66, 0.45) 0%, rgba(229, 160, 0, 0.15) 50%, rgba(0, 0, 0, 0) 72%);
  filter: blur(16px);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.brand-intro-reveal.reveal-visible .brand-intro-ring-glow {
  opacity: 1;
}

.brand-intro-emblem {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  transform: scale(0.85);
  transition: transform 0.65s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.brand-intro-reveal.reveal-visible .brand-intro-emblem {
  transform: scale(1);
}

.brand-intro-logo-img {
  width: 100%;
  max-width: 290px;
  height: auto;
  max-height: 195px;
  object-fit: contain;
  filter: drop-shadow(0 0 24px rgba(229, 160, 0, 0.5)) drop-shadow(0 10px 30px rgba(0, 0, 0, 0.95));
  display: block;
}

.brand-intro-title {
  font-family: var(--font-brand);
  font-size: clamp(1.65rem, 5.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.15;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.8), 0 0 24px rgba(229, 184, 56, 0.25);
}

.brand-intro-tagline {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: clamp(0.7rem, 2.2vw, 0.84rem);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-bright);
  text-shadow: 0 0 12px rgba(229, 184, 56, 0.5);
  margin-top: 2px;
}

.brand-intro-dot {
  color: var(--gold-bright);
  opacity: 0.8;
}

.brand-intro-hint {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(229, 184, 56, 0.7);
  margin-top: 24px;
  opacity: 0.85;
  transition: opacity 0.3s ease;
  animation: introHintPulse 1.8s ease-in-out infinite;
  pointer-events: none;
}

.brand-intro-reveal.reveal-visible ~ .brand-intro-hint {
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

@keyframes introHintPulse {
  0%, 100% { opacity: 0.4; transform: translateY(0); }
  50% { opacity: 0.9; transform: translateY(-2px); }
}

@media (prefers-reduced-motion: reduce) {
  .brand-intro-overlay {
    transition: opacity 0.25s ease !important;
  }
  .brand-intro-reveal {
    transition: opacity 0.25s ease !important;
    transform: none !important;
  }
  .brand-intro-emblem {
    transition: none !important;
    transform: none !important;
  }
  .brand-intro-hint {
    animation: none !important;
  }
}

/* ==========================================================================
   UNIFIED MOTION & ANIMATION SYSTEM (per improvement.txt)
   Includes:
   - Homepage Hero Choreography
   - Scroll-Triggered Reveals (.reveal-up, .reveal-fade, .reveal-left, .reveal-right, .reveal-scale)
   - Staggered Child Utilities (.stagger-grid, .stagger-wrap)
   - Seamless Page-to-Page Transitions (.page-transition-content, .page-transition-exit)
   - Interactive Card & Micro-Interaction Enhancements
   - Footer Column Stagger
   - Complete Accessibility & Reduced Motion Safeguards
   ========================================================================== */

/* ── 1. Page Opening & Multi-Page Transitions ──────────────────────── */
@keyframes pageFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.page-transition-content {
  animation: pageFadeIn 300ms cubic-bezier(0.22, 1, 0.36, 1) both;
  will-change: opacity;
}

.page-transition-content.page-transition-exit {
  opacity: 0 !important;
  transform: translateY(-8px) !important;
  transition: opacity 180ms cubic-bezier(0.22, 1, 0.36, 1), transform 180ms cubic-bezier(0.22, 1, 0.36, 1) !important;
  pointer-events: none;
}

/* ── 2. Homepage Hero Entrance Sequence ────────────────────────────── */
@keyframes heroEntrance {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-section .hero-overline {
  animation: heroEntrance 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both;
  will-change: opacity, transform;
}

.hero-section .hero-title {
  animation: heroEntrance 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.18s both;
  will-change: opacity, transform;
}

.hero-section .hero-description {
  animation: heroEntrance 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.28s both;
  will-change: opacity, transform;
}

.hero-section .hero-actions {
  animation: heroEntrance 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.38s both;
  will-change: opacity, transform;
}

.hero-section .hero-image-frame {
  animation: heroEntrance 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.48s both;
  will-change: opacity, transform;
}

.hero-section .hero-float-badge {
  animation: heroEntrance 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.58s both;
  will-change: opacity, transform;
}

.hero-section .hero-feature-strip {
  animation: heroEntrance 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.68s both;
  will-change: opacity, transform;
}

.hero-section .hero-scroll-indicator {
  animation: heroEntrance 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.68s both;
  will-change: opacity, transform;
}

/* ── 3. Scroll-Triggered Reveal System (Section 4) ──────────────────── */
/* Progressive Enhancement: Visible by default if JS is disabled/fails */
.reveal-up,
.reveal-fade,
.reveal-left,
.reveal-right,
.reveal-scale {
  opacity: 1;
  transform: none;
  transition: opacity var(--duration-reveal) var(--ease-standard),
              transform var(--duration-reveal) var(--ease-standard);
  will-change: opacity, transform;
}

/* Only hide elements when JS observer has confirmed readiness */
body.reveal-ready .reveal-up:not(.is-revealed) {
  opacity: 0;
  transform: translateY(22px);
}

body.reveal-ready .reveal-fade:not(.is-revealed) {
  opacity: 0;
}

body.reveal-ready .reveal-left:not(.is-revealed) {
  opacity: 0;
  transform: translateX(-22px);
}

body.reveal-ready .reveal-right:not(.is-revealed) {
  opacity: 0;
  transform: translateX(22px);
}

body.reveal-ready .reveal-scale:not(.is-revealed) {
  opacity: 0;
  transform: scale(0.97);
}

/* Revealed active state */
body.reveal-ready .reveal-up.is-revealed,
body.reveal-ready .reveal-fade.is-revealed,
body.reveal-ready .reveal-left.is-revealed,
body.reveal-ready .reveal-right.is-revealed,
body.reveal-ready .reveal-scale.is-revealed {
  opacity: 1 !important;
  transform: none !important;
}

/* ── 4. Staggered Children Utilities (Section 5) ───────────────────── */
.stagger-grid > *:nth-child(1), .stagger-wrap > *:nth-child(1) { transition-delay: 0ms; }
.stagger-grid > *:nth-child(2), .stagger-wrap > *:nth-child(2) { transition-delay: 60ms; }
.stagger-grid > *:nth-child(3), .stagger-wrap > *:nth-child(3) { transition-delay: 120ms; }
.stagger-grid > *:nth-child(4), .stagger-wrap > *:nth-child(4) { transition-delay: 180ms; }
.stagger-grid > *:nth-child(5), .stagger-wrap > *:nth-child(5) { transition-delay: 240ms; }
.stagger-grid > *:nth-child(6), .stagger-wrap > *:nth-child(6) { transition-delay: 300ms; }
.stagger-grid > *:nth-child(7), .stagger-wrap > *:nth-child(7) { transition-delay: 360ms; }
.stagger-grid > *:nth-child(8), .stagger-wrap > *:nth-child(8) { transition-delay: 420ms; }

/* ── 5. Buttons & Micro-Interactions (Section 8) ───────────────────── */
.btn {
  transition: transform var(--duration-btn) var(--ease-standard),
              background var(--duration-btn) var(--ease-standard),
              color var(--duration-btn) var(--ease-standard),
              box-shadow var(--duration-btn) var(--ease-standard),
              border-color var(--duration-btn) var(--ease-standard);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn .material-symbols-outlined,
.hero-btn-primary .material-symbols-outlined {
  transition: transform var(--duration-btn) var(--ease-standard);
}

.btn:hover .material-symbols-outlined,
.hero-btn-primary:hover .material-symbols-outlined {
  transform: translateX(4px);
}

/* Interactive Cards Hover Elevation */
.hallmark-item,
.testimonial-card,
.contact-card-box,
.product-card,
.feature-card,
.metric-block,
.timeline-content,
.infra-gallery-card,
.infra-feature-card {
  transition: transform var(--duration-btn) var(--ease-standard),
              box-shadow var(--duration-btn) var(--ease-standard),
              border-color var(--duration-btn) var(--ease-standard);
}

.hallmark-item:hover,
.testimonial-card:hover,
.contact-card-box:hover,
.product-card:hover,
.feature-card:hover,
.timeline-content:hover,
.infra-gallery-card:hover,
.infra-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(73, 50, 10, 0.12);
}

/* Footer Links Micro-Interaction */
.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color var(--duration-fast) var(--ease-standard),
              transform var(--duration-fast) var(--ease-standard);
}

.footer-link:hover {
  transform: translateX(4px);
  color: var(--gold-deep) !important;
}

/* ── 6. Accessibility & Reduced Motion (Section 13) ────────────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal-up,
  .reveal-fade,
  .reveal-left,
  .reveal-right,
  .reveal-scale,
  body.reveal-ready .reveal-up,
  body.reveal-ready .reveal-fade,
  body.reveal-ready .reveal-left,
  body.reveal-ready .reveal-right,
  body.reveal-ready .reveal-scale {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .page-transition-content {
    animation: none !important;
  }
  .hero-scroll-arrow {
    animation: none !important;
  }
}

/* ── 7. FAQ Accordion & Screen-Reader Utilities (AEO & Accessibility) ── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.faq-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--duration-fast) var(--ease-standard), border-color var(--duration-fast) var(--ease-standard);
}

.faq-card[open] {
  border-color: var(--gold-border);
  box-shadow: var(--shadow-md);
}

.faq-summary {
  padding: 18px 22px;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--on-surface);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  user-select: none;
  transition: background-color var(--duration-fast) var(--ease-standard), color var(--duration-fast) var(--ease-standard);
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-summary:hover {
  background-color: var(--surface-container-low);
  color: var(--primary);
}

.faq-icon {
  color: var(--primary);
  font-size: 24px;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.faq-card[open] .faq-icon {
  transform: rotate(180deg);
  color: var(--gold-deep);
}

.faq-answer {
  padding: 0 22px 20px;
  color: var(--on-surface-variant);
  font-size: 0.92rem;
  line-height: 1.65;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  margin-top: 4px;
  padding-top: 14px;
}