/* =========================================================================
   SHINE CRACKERS — Official E-Commerce Shop Stylesheet
   Luxury Sivakasi Factory Direct Theme (Emerald, Royal Gold & Ivory)
   Fully responsive across all mobile, tablet, and desktop devices
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;800;900&family=Outfit:wght@400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Emerald & Forest Green Luxury Palette (Matching Home Page) */
  --bg-page: #F0F7F4;
  --bg-surface: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-card-alt: #F4F9F6;
  --bg-alt: #E3EFE9;

  --emerald-950: #042418;
  --emerald-900: #064E3B;
  --emerald-800: #065F46;
  --emerald-700: #047857;
  --emerald-600: #059669;
  --emerald-500: #10B981;
  --emerald-400: #34D399;
  --emerald-subtle: rgba(5, 150, 105, 0.08);
  --emerald-border: rgba(5, 150, 105, 0.22);
  --emerald-glow: rgba(5, 150, 105, 0.15);

  /* Festive Royal Gold & Amber */
  --gold-200: #FEF3C7;
  --gold-300: #FDE68A;
  --gold-400: #F59E0B;
  --gold-500: #D97706;
  --gold-600: #B45309;
  --gold-subtle: rgba(217, 119, 6, 0.08);
  --gold-border: rgba(217, 119, 6, 0.32);

  /* Typography Colors */
  --text-primary: #0A2619;
  --text-secondary: #244234;
  --text-muted: #527565;
  --text-light: #64748B;
  --border-light: rgba(6, 78, 59, 0.14);
  --border-hairline: rgba(6, 78, 59, 0.08);

  /* Badges & Accents */
  --badge-discount: #DC2626;
  --wa-green: #16A34A;
  --wa-dark: #15803D;

  /* Fonts */
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Cinzel', serif;
  --font-editorial: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(6, 78, 59, 0.06), 0 1px 2px rgba(6, 78, 59, 0.04);
  --shadow-md: 0 4px 14px -2px rgba(6, 78, 59, 0.08), 0 2px 6px -1px rgba(6, 78, 59, 0.04);
  --shadow-lg: 0 12px 28px -4px rgba(6, 78, 59, 0.12), 0 6px 12px -2px rgba(6, 78, 59, 0.06);
  --shadow-gold: 0 4px 18px rgba(217, 119, 6, 0.25);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: light;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg-page);
  background-image: radial-gradient(ellipse at 50% -10%, #F9FCFB 0%, #F0F7F4 45%, #DFEFE7 100%);
  background-attachment: fixed;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.5;
  overflow-x: clip;
  min-height: 100vh;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* =========================================================================
   1. TOP ANNOUNCEMENT BAR
   ========================================================================= */
.luxury-top-bar {
  background: linear-gradient(135deg, #042418 0%, #064E3B 50%, #065F46 100%);
  border-bottom: 1.5px solid rgba(212, 160, 23, 0.4);
  padding: 8px 16px;
  font-size: 12px;
  color: #FFFDF8;
  position: relative;
  z-index: 1001;
  box-shadow: 0 2px 8px rgba(4, 36, 24, 0.35);
}

.top-bar-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.top-bar-badge {
  background: rgba(253, 230, 138, 0.18);
  border: 1px solid rgba(253, 230, 138, 0.45);
  color: #FDE68A;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 9999px;
  white-space: nowrap;
}

.top-bar-text {
  flex: 1;
  text-align: center;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.top-bar-link {
  color: #FDE68A;
  text-decoration: none;
  font-weight: 700;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.top-bar-link:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

/* =========================================================================
   2. STICKY LUXURY HEADER
   ========================================================================= */
.shop-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1.5px solid rgba(6, 78, 59, 0.12);
  box-shadow: 0 4px 20px -2px rgba(6, 78, 59, 0.06);
  transition: all 0.3s ease;
}

.shop-header-inner {
  max-width: 1400px;
  margin: 0 auto;
  height: 68px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-sizing: border-box;
}

/* Brand Identity */
.brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
  flex-shrink: 0;
}

.brand-monogram {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #064E3B;
  border: 2px solid rgba(245, 158, 11, 0.5);
  box-shadow: 0 3px 12px rgba(6, 78, 59, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 2px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.brand-wrap:hover .brand-monogram {
  transform: scale(1.04);
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 9px;
  display: block;
}

.brand-name-group {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--emerald-900);
  line-height: 1.15;
  white-space: nowrap;
}

.brand-sub {
  font-size: 8.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-600);
  font-weight: 700;
  white-space: nowrap;
}

/* Price List Quick Capsule */
.btn-price-list-nav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFFFFF;
  color: var(--emerald-900);
  border: 1.5px solid var(--emerald-border);
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(6, 78, 59, 0.06);
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-price-list-nav:hover {
  background: var(--emerald-900);
  color: #FFFFFF;
  border-color: var(--emerald-900);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(6, 78, 59, 0.2);
}

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

.shop-nav-links a {
  display: inline-block;
  padding: 7px 14px;
  border-radius: 9999px;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.shop-nav-links a:hover {
  color: var(--emerald-900);
  background: rgba(6, 78, 59, 0.06);
}

.shop-nav-links a.active {
  background: var(--emerald-900);
  color: #FFFFFF;
  font-weight: 700;
  box-shadow: 0 3px 10px rgba(6, 78, 59, 0.25);
}

/* Right Header Widgets */
.header-right-widgets {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn-header-cart {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--emerald-900);
  color: #FFFFFF;
  border: 1.5px solid rgba(245, 158, 11, 0.4);
  padding: 7px 16px;
  border-radius: 9999px;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(6, 78, 59, 0.2);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-header-cart:hover {
  background: var(--emerald-800);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(6, 78, 59, 0.3);
}

.cart-count-badge {
  background: var(--badge-discount);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 9999px;
  line-height: 1;
}

.header-social-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.header-social-links a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #F0F7F4;
  border: 1px solid var(--emerald-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald-900);
  text-decoration: none;
  transition: all 0.2s ease;
}

.header-social-links a:hover {
  background: var(--emerald-900);
  color: #FFFFFF;
  transform: translateY(-2px);
}

/* Mobile Hamburger Button in Header */
.shop-mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: #F0F7F4;
  border: 1.5px solid rgba(6, 78, 59, 0.25);
  cursor: pointer;
  padding: 0;
}

.shop-mobile-toggle .bar {
  width: 18px;
  height: 2px;
  background: var(--emerald-900);
  border-radius: 2px;
  display: block;
}

/* =========================================================================
   3. FESTIVE HERO BANNER (Matches Home Page Luxury)
   ========================================================================= */
.festive-hero-banner {
  max-width: 1400px;
  margin: 20px auto 16px;
  padding: 0 20px;
}

.festive-banner-inner {
  background: linear-gradient(135deg, #042418 0%, #064E3B 55%, #065F46 100%);
  border: 2px solid rgba(212, 160, 23, 0.45);
  border-radius: 20px;
  padding: 28px 32px;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(4, 36, 24, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.festive-banner-inner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.banner-content-left {
  flex: 1;
  position: relative;
  z-index: 2;
}

.banner-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(253, 230, 138, 0.15);
  border: 1px solid rgba(253, 230, 138, 0.4);
  color: #FDE68A;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 12px;
}

.banner-sale-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: #FFFFFF;
  line-height: 1.2;
  margin-bottom: 6px;
}

.banner-sale-offer {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: #FDE68A;
  margin-bottom: 8px;
}

.banner-sale-sub {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
  max-width: 620px;
  margin-bottom: 16px;
}

.banner-badges-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.banner-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
}

.banner-pill-tag strong {
  color: #FDE68A;
}

.banner-cta-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.btn-banner-catalog {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: #042418;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  padding: 11px 22px;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.4);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-banner-catalog:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
  color: #042418;
}

.btn-banner-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  color: var(--wa-dark);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 9999px;
  text-decoration: none;
  border: 1.5px solid rgba(22, 163, 74, 0.4);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-banner-wa:hover {
  background: #16A34A;
  color: #FFFFFF;
  border-color: #16A34A;
}

/* =========================================================================
   4. SEARCH, QUICK PILLS & CATEGORY BAR
   ========================================================================= */
.filter-search-section {
  max-width: 1400px;
  margin: 18px auto 20px;
  padding: 0 20px;
}

/* Quick Filter Pills */
.quick-pills-row {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 8px;
  margin-bottom: 12px;
}

.quick-pills-row::-webkit-scrollbar {
  display: none;
}

.quick-pill {
  flex-shrink: 0;
  background: #FFFFFF;
  color: var(--text-secondary);
  border: 1.5px solid var(--border-light);
  padding: 7px 16px;
  border-radius: 9999px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.quick-pill:hover {
  border-color: var(--emerald-600);
  color: var(--emerald-900);
  background: #F4F9F6;
}

.quick-pill.active {
  background: var(--emerald-900);
  color: #FFFFFF;
  border-color: var(--emerald-900);
  box-shadow: 0 3px 10px rgba(6, 78, 59, 0.25);
}

/* Live Search Input */
.search-bar-wrap {
  position: relative;
  margin-bottom: 14px;
}

.search-icon-svg {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--emerald-700);
  pointer-events: none;
}

.search-input {
  width: 100%;
  height: 48px;
  padding: 0 18px 0 46px;
  background: #FFFFFF;
  border: 1.5px solid var(--border-light);
  border-radius: 14px;
  font-family: var(--font-sans);
  font-size: 14.5px;
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
  outline: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.search-input:focus {
  border-color: var(--emerald-600);
  box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.12);
}

.search-input::placeholder {
  color: #94A3B8;
  font-size: 13.5px;
}

/* Category Filter Bar */
.shop-category-filter-bar {
  background: #FFFFFF;
  border: 1.5px solid var(--border-light);
  border-radius: 16px;
  padding: 12px 16px;
  box-shadow: var(--shadow-sm);
}

.cat-select-container {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.cat-select-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--emerald-900);
  white-space: nowrap;
}

.shop-category-select {
  flex: 1;
  height: 40px;
  padding: 0 12px;
  background: #F4F9F6;
  border: 1.5px solid var(--border-light);
  border-radius: 10px;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-primary);
  outline: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.shop-category-select:focus {
  border-color: var(--emerald-600);
  background: #FFFFFF;
}

/* Horizontal Category Chips Strip */
.shop-category-chips-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-top: 4px;
}

.shop-category-chips-strip::-webkit-scrollbar {
  display: none;
}

.shop-cat-chip {
  flex-shrink: 0;
  background: #F4F9F6;
  color: var(--text-secondary);
  border: 1px solid var(--border-light);
  padding: 6px 12px;
  border-radius: 9999px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.shop-cat-chip .chip-count {
  color: var(--text-muted);
  font-size: 11px;
}

.shop-cat-chip:hover {
  background: #E3EFE9;
  border-color: var(--emerald-600);
}

.shop-cat-chip.active {
  background: var(--emerald-900);
  color: #FFFFFF;
  border-color: var(--emerald-900);
  box-shadow: 0 2px 8px rgba(6, 78, 59, 0.2);
}

.shop-cat-chip.active .chip-count {
  color: #FDE68A;
}

/* =========================================================================
   5. TWO-COLUMN LAYOUT: CATEGORIES SIDEBAR + PRODUCTS GRID
   ========================================================================= */
.shop-layout-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px 60px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  align-items: flex-start;
}

/* Left Sidebar */
.categories-sidebar-card {
  background: #FFFFFF;
  border: 1.5px solid var(--border-light);
  border-radius: 18px;
  padding: 20px 16px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 90px;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
}

.sidebar-header {
  margin-bottom: 14px;
}

.sidebar-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  color: var(--emerald-900);
  margin-bottom: 10px;
}

.sidebar-search-input {
  width: 100%;
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  font-size: 12.5px;
  outline: none;
  background: #F4F9F6;
  box-sizing: border-box;
}

.sidebar-search-input:focus {
  border-color: var(--emerald-600);
  background: #FFFFFF;
}

.sidebar-cat-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-cat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: 10px;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s ease;
}

.sidebar-cat-item:hover {
  background: #F4F9F6;
  color: var(--emerald-900);
}

.sidebar-cat-item.active {
  background: var(--emerald-900);
  color: #FFFFFF;
  font-weight: 700;
}

.cat-count-pill {
  background: rgba(6, 78, 59, 0.08);
  color: var(--emerald-800);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 9999px;
}

.sidebar-cat-item.active .cat-count-pill {
  background: rgba(255, 255, 255, 0.2);
  color: #FDE68A;
}

/* Right Content Area */
.products-content-area {
  min-width: 0;
}

.catalog-info-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-light);
}

.active-cat-heading {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--emerald-900);
}

.cat-total-count {
  font-size: 13px;
  font-weight: 700;
  color: var(--emerald-700);
  background: var(--emerald-subtle);
  padding: 4px 10px;
  border-radius: 9999px;
}

/* Products Cards Grid */
.products-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* Product Card */
.product-shop-card {
  background: #FFFFFF;
  border: 1.5px solid var(--border-light);
  border-radius: 16px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.product-shop-card:hover {
  transform: translateY(-4px);
  border-color: var(--emerald-500);
  box-shadow: var(--shadow-md);
}

/* Card Image Wrap - Medium Size */
.card-img-wrap,
.card-image-wrap {
  width: 100%;
  height: 160px;
  max-height: 165px;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  background: #F4F9F6;
  position: relative;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(6, 78, 59, 0.08);
}

.card-prod-img,
.card-img {
  width: 100%;
  height: 100%;
  max-height: 165px;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s ease;
  display: block;
}

.product-shop-card:hover .card-prod-img,
.product-shop-card:hover .card-img {
  transform: scale(1.05);
}

.card-discount-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: linear-gradient(135deg, #DC2626 0%, #EF4444 100%);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(220, 38, 38, 0.35);
  z-index: 2;
}

/* Card Body */
.card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-title {
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.25;
  margin-bottom: 3px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 36px;
}

.card-sub-info {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
}

.card-mrp {
  font-size: 12px;
  color: #94A3B8;
  text-decoration: line-through;
  font-weight: 500;
}

.card-our-price {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 900;
  color: var(--emerald-800);
}

.card-save-pill {
  font-size: 10px;
  font-weight: 800;
  color: #15803D;
  background: rgba(22, 163, 74, 0.12);
  padding: 2px 6px;
  border-radius: 4px;
}

/* Card Actions */
.card-actions-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}

.stepper-wrap {
  display: inline-flex;
  align-items: center;
  background: #F4F9F6;
  border: 1.5px solid var(--border-light);
  border-radius: 9px;
  overflow: hidden;
}

.stepper-btn {
  width: 28px;
  height: 34px;
  border: none;
  background: transparent;
  color: var(--emerald-900);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

.stepper-btn:hover {
  background: rgba(6, 78, 59, 0.1);
}

.stepper-input {
  width: 28px;
  height: 34px;
  border: none;
  background: transparent;
  text-align: center;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 800;
  color: var(--emerald-950);
  outline: none;
}

.btn-card-add {
  flex: 1;
  height: 36px;
  background: var(--emerald-900);
  color: #FFFFFF;
  border: none;
  border-radius: 9px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  box-shadow: 0 2px 8px rgba(6, 78, 59, 0.2);
  transition: all 0.2s ease;
}

.btn-card-add:hover {
  background: var(--emerald-800);
  transform: translateY(-1px);
}

.btn-card-add.added {
  background: #16A34A;
  color: #FFFFFF;
}

/* Watch Video Button */
.btn-watch-video {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: transparent;
  border: none;
  color: var(--gold-600);
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  padding: 4px 0;
  margin-bottom: 6px;
  transition: color 0.15s ease;
}

.btn-watch-video:hover {
  color: var(--emerald-900);
  text-decoration: underline;
}

/* =========================================================================
   6. FLOATING ACTIONS
   ========================================================================= */
.floating-wa-btn {
  position: fixed;
  bottom: 86px;
  left: 18px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #25D366;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
  z-index: 998;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.floating-wa-btn:hover {
  transform: scale(1.08);
}

.floating-cart-pill {
  position: fixed;
  bottom: 86px;
  right: 18px;
  background: var(--emerald-900);
  color: #FFFFFF;
  border: 1.5px solid rgba(245, 158, 11, 0.45);
  border-radius: 9999px;
  padding: 9px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 6px 22px rgba(6, 78, 59, 0.35);
  cursor: pointer;
  z-index: 998;
  transition: all 0.2s ease;
}

.floating-cart-pill:hover {
  transform: translateY(-2px);
  background: var(--emerald-800);
}

.floating-cart-badge {
  background: var(--badge-discount);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 9999px;
}

.floating-quick-shop {
  display: none;
}

/* =========================================================================
   7. LUXURY CART SLIDING DRAWER
   ========================================================================= */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 36, 24, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 10005;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.drawer-overlay.open {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.cart-drawer-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: min(440px, 92vw);
  height: 100%;
  background: #FFFFFF;
  z-index: 10006;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.25);
  transform: translateX(105%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.cart-drawer-panel.open {
  transform: translateX(0) !important;
}

.cart-drawer-header-box {
  padding: 18px 20px;
  background: linear-gradient(135deg, #042418 0%, #064E3B 100%);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid rgba(212, 160, 23, 0.35);
}

.cart-drawer-header-box h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

#drawer-close-btn {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #FFFFFF;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

#drawer-close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Minimum Order Meter */
.cart-min-order-meter {
  background: #F4F9F6;
  border-bottom: 1px solid var(--border-light);
  padding: 12px 18px;
}

.meter-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  color: var(--emerald-900);
  margin-bottom: 6px;
}

.meter-track {
  height: 7px;
  background: #E2E8F0;
  border-radius: 9999px;
  overflow: hidden;
}

.meter-fill {
  height: 100%;
  background: linear-gradient(90deg, #10B981, #059669);
  border-radius: 9999px;
  transition: width 0.3s ease;
}

/* Drawer Cart Items Container */
#drawer-cart-items-container {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.drawer-cart-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #F8FAF9;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 10px;
}

.drawer-cart-row img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.drawer-cart-info {
  flex: 1;
  min-width: 0;
}

.drawer-cart-name {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.drawer-cart-sub {
  font-size: 11.5px;
  color: var(--text-muted);
}

.drawer-cart-price {
  font-size: 13px;
  font-weight: 800;
  color: var(--emerald-800);
}

.drawer-cart-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.drawer-remove-btn {
  background: transparent;
  border: none;
  color: #94A3B8;
  font-size: 16px;
  cursor: pointer;
  padding: 4px;
}

.drawer-remove-btn:hover {
  color: #DC2626;
}

/* Drawer Footer */
.cart-drawer-footer-box {
  padding: 16px 20px;
  border-top: 1.5px solid var(--border-light);
  background: #F8FAF9;
}

.cart-summary-line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 13px;
  color: var(--text-secondary);
}

.cart-total-line {
  display: flex;
  justify-content: space-between;
  margin: 10px 0 14px;
  padding-top: 8px;
  border-top: 1px dashed var(--border-light);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 900;
  color: var(--emerald-950);
}

#drawer-total-val {
  color: var(--emerald-800);
}

#drawer-btn-checkout {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: none;
  background: #25D366;
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
  transition: all 0.2s ease;
}

#drawer-btn-checkout:hover {
  background: #1eb857;
  transform: translateY(-1px);
}

#drawer-btn-checkout:disabled {
  background: #CBD5E1;
  color: #64748B;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

/* =========================================================================
   8. MOBILE FROZEN BOTTOM BAR (Exact 4-Tab Sivakasi Store Design)
   ========================================================================= */
.mobile-freeze-bar {
  display: none;
}

@media (max-width: 768px) {
  body {
    padding-bottom: 96px !important;
  }

  .mobile-freeze-bar {
    display: block !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 9999 !important;
    background: #FFFFFF !important;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12) !important;
    border-top: 1px solid var(--border-light) !important;
  }

  .freeze-order-strip {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 6px 14px !important;
    background: #042418 !important;
    border-bottom: 1px solid rgba(212, 160, 23, 0.35) !important;
  }

  .freeze-order-info {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    font-size: 12px !important;
    color: #FDE68A !important;
    font-weight: 700 !important;
  }

  .freeze-order-info strong {
    color: #FFFFFF !important;
  }

  .freeze-order-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: #DC2626 !important;
    color: #FFFFFF !important;
    border: none !important;
    padding: 6px 14px !important;
    border-radius: 9999px !important;
    font-family: var(--font-display) !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.4) !important;
  }

  .freeze-nav-tabs {
    display: flex !important;
    align-items: center !important;
    justify-content: space-around !important;
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .freeze-tab {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 2px !important;
    text-decoration: none !important;
    color: #64748B !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    flex: 1 !important;
    position: relative !important;
  }

  .freeze-tab-icon {
    width: 24px !important;
    height: 24px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
  }

  .freeze-tab-icon svg {
    width: 22px !important;
    height: 22px !important;
    fill: currentColor !important;
  }

  .freeze-tab.active {
    color: var(--emerald-800) !important;
  }

  .freeze-tab.active .freeze-tab-icon svg {
    fill: var(--emerald-800) !important;
  }

  .tab-badge {
    position: absolute !important;
    top: -4px !important;
    right: -8px !important;
    background: #DC2626 !important;
    color: #FFFFFF !important;
    font-size: 9px !important;
    font-weight: 800 !important;
    padding: 1px 5px !important;
    border-radius: 9999px !important;
  }
}

/* =========================================================================
   9. MOBILE RESPONSIVE TWEAKS (Full Zero-Overflow Perfection)
   ========================================================================= */
@media (max-width: 1024px) {
  .shop-layout-container {
    grid-template-columns: 240px 1fr;
    gap: 16px;
    padding: 0 16px 60px;
  }
  .products-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .shop-nav-links {
    display: none;
  }
  .shop-mobile-toggle {
    display: inline-flex;
  }
}

@media (max-width: 768px) {
  .luxury-top-bar {
    padding: 6px 10px !important;
  }
  .top-bar-inner {
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 4px !important;
    text-align: center !important;
  }
  .top-bar-text {
    display: none !important;
  }
  .top-bar-link {
    font-size: 11px !important;
  }

  .shop-header {
    height: 64px !important;
  }
  .shop-header-inner {
    height: 64px !important;
    padding: 0 12px !important;
    gap: 8px !important;
  }

  .brand-monogram {
    width: 40px !important;
    height: 40px !important;
    border-radius: 10px !important;
  }
  .brand-name {
    font-size: 15px !important;
  }
  .brand-sub {
    font-size: 7.5px !important;
  }

  .btn-price-list-nav {
    display: none !important;
  }
  /* Mobile Header: Hide cart button, show Instagram & Facebook logo buttons */
  .btn-header-cart {
    display: none !important;
  }
  .floating-cart-pill {
    display: none !important;
  }

  .header-social-links {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
  }
  .header-social-links a.yt,
  .header-social-links a[aria-label="YouTube"] {
    display: none !important;
  }
  .header-social-links a {
    width: 34px !important;
    height: 34px !important;
    border-radius: 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15) !important;
    transition: transform 0.15s ease !important;
    flex-shrink: 0 !important;
  }
  .header-social-links a:hover {
    transform: scale(1.08) !important;
  }
  .header-social-links a[aria-label*="Instagram"] {
    background: linear-gradient(135deg, #833AB4, #FD1D1D, #FCB045) !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
  }
  .header-social-links a[aria-label*="Facebook"] {
    background: #1877F2 !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
  }
  .header-social-links a svg {
    width: 17px !important;
    height: 17px !important;
    fill: currentColor !important;
  }

  .shop-mobile-toggle {
    display: inline-flex !important;
    width: 34px !important;
    height: 34px !important;
    flex-shrink: 0 !important;
  }

  /* Festive Hero Banner on Mobile */
  .festive-hero-banner {
    margin: 12px auto !important;
    padding: 0 12px !important;
  }
  .festive-banner-inner {
    flex-direction: column !important;
    padding: 18px 16px !important;
    gap: 14px !important;
    border-radius: 16px !important;
  }
  .banner-sale-title {
    font-size: 20px !important;
  }
  .banner-sale-offer {
    font-size: 16px !important;
  }
  .banner-sale-sub {
    font-size: 12px !important;
    margin-bottom: 12px !important;
  }
  .banner-cta-group {
    width: 100% !important;
    align-items: stretch !important;
  }
  .btn-banner-catalog, .btn-banner-wa {
    justify-content: center !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Filters on Mobile */
  .filter-search-section {
    padding: 0 12px !important;
    margin-top: 14px !important;
    margin-bottom: 14px !important;
  }
  .search-input {
    height: 44px !important;
    font-size: 13.5px !important;
  }

  /* Hide left category sidebar on mobile — horizontal chips take over */
  .shop-layout-container {
    grid-template-columns: 1fr !important;
    padding: 0 12px 60px !important;
  }
  .categories-sidebar-card {
    display: none !important;
  }

  /* Clean 2-column Product Grid on Mobile */
  .products-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .product-shop-card {
    padding: 10px !important;
    border-radius: 14px !important;
    display: flex !important;
    flex-direction: column !important;
  }

  /* Medium Size Card Image on Mobile */
  .card-img-wrap,
  .card-image-wrap {
    width: 100% !important;
    height: 125px !important;
    max-height: 130px !important;
    aspect-ratio: 1 / 1 !important;
    margin-bottom: 8px !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #F4F9F6 !important;
    border: 1px solid rgba(6, 78, 59, 0.08) !important;
  }

  .card-prod-img,
  .card-img {
    width: 100% !important;
    height: 100% !important;
    max-height: 130px !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 10px !important;
    display: block !important;
  }

  .card-discount-badge {
    font-size: 9px !important;
    padding: 2px 6px !important;
    top: 5px !important;
    left: 5px !important;
  }
  .card-title {
    font-size: 13px !important;
    min-height: 32px !important;
    line-height: 1.2 !important;
  }
  .card-sub-info,
  .card-tamil-title {
    font-size: 11px !important;
    margin-bottom: 6px !important;
  }
  .card-desc {
    display: none !important; /* Hide long description on 2-col mobile cards to keep cards clean and compact */
  }
  .card-price-row {
    margin-bottom: 8px !important;
    gap: 5px !important;
  }
  .card-mrp,
  .price-mrp {
    font-size: 11px !important;
  }
  .card-our-price,
  .price-actual {
    font-size: 15px !important;
    font-weight: 900 !important;
  }

  .card-actions-row {
    flex-direction: column !important;
    gap: 6px !important;
  }
  .stepper-wrap,
  .qty-stepper-box {
    width: 100% !important;
    justify-content: space-between !important;
    display: flex !important;
    background: #F4F9F6 !important;
    border: 1px solid var(--border-light) !important;
    border-radius: 8px !important;
  }
  .stepper-btn {
    flex: 1 !important;
    height: 30px !important;
  }
  .stepper-input,
  .stepper-val {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    min-width: 24px !important;
  }
  .btn-card-add {
    width: 100% !important;
    height: 34px !important;
    font-size: 12px !important;
  }
}

/* Universal Hidden Utility */
.hidden {
  display: none !important;
}

/* Pyrotechnic Simulation Modal */
.video-modal-wrap {
  position: fixed !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: rgba(4, 36, 24, 0.85) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  z-index: 20000 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 1.5rem !important;
}

.video-modal-wrap.hidden,
#shop-video-modal.hidden {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Mobile Drawer & Backdrop */
.mobile-drawer,
#shop-mobile-drawer {
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-width: 100vw !important;
  background: #FAF6ED !important;
  border-radius: 22px 22px 0 0 !important;
  border-top: 2px solid rgba(212, 160, 23, 0.45) !important;
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.45) !important;
  z-index: 10020 !important;
  transform: translateY(105%) !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s !important;
  padding: 16px 20px calc(24px + env(safe-area-inset-bottom, 12px)) !important;
  overflow-y: auto !important;
  max-height: 85vh !important;
}

.mobile-drawer.open,
#shop-mobile-drawer.open {
  transform: translateY(0) !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.drawer-backdrop,
#shop-mobile-backdrop {
  position: fixed !important;
  inset: 0 !important;
  background: rgba(0, 0, 0, 0.6) !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
  z-index: 10019 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity 0.3s ease, visibility 0.3s ease !important;
}

.drawer-backdrop.open,
#shop-mobile-backdrop.open {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

/* Modal Backdrops & Overlays */
.pricelist-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 36, 24, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 10010;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s;
}

.pricelist-modal-backdrop.open {
  opacity: 1 !important;
  visibility: visible !important;
}

.pricelist-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  width: min(940px, 94vw);
  max-height: 90vh;
  background: #FFFFFF;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  z-index: 10011;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.pricelist-modal.open {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translate(-50%, -50%) scale(1) !important;
}

.pricelist-modal-header {
  padding: 16px 20px;
  background: linear-gradient(135deg, #042418 0%, #064E3B 100%);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pricelist-heading {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
}

.pricelist-sub {
  font-size: 11.5px;
  color: #FDE68A;
}

.pricelist-actions-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-export-pdf, .btn-print-pricelist {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-export-pdf:hover, .btn-print-pricelist:hover {
  background: #F59E0B;
  color: #042418;
  border-color: #F59E0B;
}

.btn-close-pricelist {
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-size: 18px;
  cursor: pointer;
  padding: 4px;
}

.pricelist-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  background: #FAF6ED;
}

.pricelist-sheet {
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  padding: 24px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.sheet-brand-header {
  text-align: center;
  border-bottom: 2px solid #064E3B;
  padding-bottom: 14px;
  margin-bottom: 16px;
}

.sheet-badge {
  color: #B45309;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.sheet-brand-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
  color: #064E3B;
  margin: 4px 0;
}

.sheet-tagline {
  font-size: 12px;
  font-weight: 700;
  color: #475569;
}

.sheet-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  margin-top: 10px;
  font-size: 11px;
  color: #334155;
  text-align: left;
}

.sheet-table-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11.5px;
  margin-top: 10px;
}

.sheet-table-wrap th {
  background: #064E3B;
  color: #FFFFFF;
  padding: 8px 10px;
  text-align: left;
  font-weight: 700;
}

.sheet-table-wrap td {
  padding: 6px 10px;
  border-bottom: 1px solid #E2E8F0;
}

.sheet-footer-terms {
  margin-top: 16px;
  font-size: 11px;
  color: #475569;
  border-top: 1px solid #E2E8F0;
  padding-top: 10px;
}

.terms-title {
  font-weight: 800;
  color: #064E3B;
  margin-bottom: 4px;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   OFFICIAL SIVAKASI PRICE LIST & INVOICE PRINT STYLES (shop.html)
   ========================================================================== */
@media print {
  @page {
    size: A4 portrait;
    margin: 8mm;
  }

  body, html {
    background: #FFFFFF !important;
    color: #000000 !important;
    font-family: Arial, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Hide website UI during print */
  .luxury-top-bar,
  .shop-header,
  .shop-hero-editorial,
  .shop-main-layout,
  .shop-mobile-drawer,
  .cart-drawer-panel,
  .drawer-overlay,
  .mobile-freeze-bar,
  .pricelist-modal-backdrop,
  .pricelist-actions-group,
  .btn-close-pricelist,
  #shop-video-modal,
  .floating-quick-shop {
    display: none !important;
  }

  /* Show the price list modal and sheet cleanly */
  .pricelist-modal {
    position: static !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    width: 100% !important;
    max-height: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    display: block !important;
    background: #FFFFFF !important;
  }

  .pricelist-modal-header {
    background: none !important;
    color: #000000 !important;
    padding: 0 0 10px 0 !important;
    border-bottom: 2px solid #064E3B !important;
  }

  .pricelist-modal-body {
    overflow: visible !important;
    padding: 0 !important;
    background: #FFFFFF !important;
  }

  .pricelist-sheet {
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    width: 100% !important;
  }

  .pricelist-cat-header {
    background: #064E3B !important;
    color: #FFFFFF !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
    padding: 6px 10px !important;
    page-break-after: avoid !important;
    break-after: avoid !important;
  }

  .pricelist-table {
    width: 100% !important;
    border-collapse: collapse !important;
    page-break-inside: auto !important;
  }

  .pricelist-table tr {
    page-break-inside: avoid !important;
    break-inside: avoid !important;
  }

  .pricelist-table th {
    background: #F1F5F9 !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
    border: 1px solid #CBD5E1 !important;
  }

  .pricelist-table td {
    border: 1px solid #E2E8F0 !important;
  }
}



/* ==========================================================================
   MOBILE PRICE LIST MODAL ENHANCEMENTS
   ========================================================================== */
@media (max-width: 768px) {
  .pricelist-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100% !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    transform: none !important;
    border-radius: 0 !important;
    z-index: 99999999 !important;
    display: none;
    flex-direction: column !important;
    background: #f8fafc !important;
    box-sizing: border-box !important;
    margin: 0 !important;
  }

  .pricelist-modal.open {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .pricelist-modal-backdrop {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 99999998 !important;
    background: rgba(15, 23, 42, 0.82) !important;
  }

  .pricelist-modal-header {
    padding: 10px 14px !important;
    gap: 8px !important;
    flex-shrink: 0 !important;
    background: #0f172a !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  .pricelist-title-group .pricelist-heading {
    font-size: 13.5px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 175px !important;
  }

  .pricelist-actions-group {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    flex-shrink: 0 !important;
  }

  .btn-export-pdf,
  .btn-print-pricelist {
    padding: 6px 9px !important;
    font-size: 11px !important;
    gap: 4px !important;
    border-radius: 6px !important;
    white-space: nowrap !important;
  }

  .btn-close-pricelist {
    width: 36px !important;
    height: 36px !important;
    font-size: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
    border-radius: 50% !important;
    border: none !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
  }

  .pricelist-modal-body {
    flex: 1 !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 10px 8px 40px 8px !important;
  }

  .pricelist-sheet {
    padding: 14px 10px !important;
    border-radius: 8px !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .sheet-brand-title {
    font-size: 18px !important;
  }

  .sheet-tagline {
    font-size: 11px !important;
  }

  .sheet-meta-grid {
    grid-template-columns: 1fr !important;
    gap: 4px !important;
    font-size: 10.5px !important;
    padding: 8px !important;
  }

  .sheet-table-wrap,
  .table-responsive {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    width: 100% !important;
    margin-top: 10px !important;
  }

  .pricelist-table {
    min-width: 520px !important;
    font-size: 11px !important;
  }

  .pricelist-table th,
  .pricelist-table td {
    padding: 5px 6px !important;
  }

  #tab-nav-pricelist {
    cursor: pointer !important;
    touch-action: manipulation !important;
    -webkit-tap-highlight-color: rgba(74, 21, 75, 0.15) !important;
  }
}

