/* =====================================================================
   BHAI BHAI BASTRALAY (ভাই ভাই বস্ত্রালয়) — CORE STYLESHEET
   Location: Dayanagar, Bhagwangola, Murshidabad, West Bengal
   Design: Deep Maroon (#7B1E3B) & Warm Gold (#D4A24C) on Cream (#FFF9F5)
   ===================================================================== */

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

:root {
  --primary: #7B1E3B;
  --primary-dark: #581228;
  --primary-light: #9B284D;
  --primary-soft: rgba(123, 30, 59, 0.08);
  --accent-gold: #D4A24C;
  --accent-gold-hover: #BF8C36;
  --accent-gold-light: #FBF4E6;
  --accent-gold-glow: rgba(212, 162, 76, 0.35);
  --soft-blush: #F8EBE6;
  --bg-cream: #FFF9F5;
  --bg-white: #FFFFFF;
  --text-main: #242424;
  --text-muted: #6B6565;
  --border-light: #EBDDD7;
  --border-gold: rgba(212, 162, 76, 0.45);
  --wa-green: #25D366;
  --wa-green-dark: #1EBE5D;
  --wa-glow: rgba(37, 211, 102, 0.35);

  --font-bengali: 'Hind Siliguri', 'Segoe UI', Tahoma, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(123, 30, 59, 0.05);
  --shadow-md: 0 6px 20px rgba(123, 30, 59, 0.08);
  --shadow-lg: 0 12px 36px rgba(123, 30, 59, 0.14);
  --shadow-gold: 0 8px 24px rgba(212, 162, 76, 0.28);
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  --transition-smooth: 0.45s cubic-bezier(0.16, 1, 0.3, 1);

  --container-max: 1240px;
}

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

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

body {
  font-family: var(--font-bengali), var(--font-sans);
  background-color: var(--bg-cream);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Typography styles */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-bengali), var(--font-serif);
  color: var(--primary);
  font-weight: 700;
  line-height: 1.3;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

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

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.section-padding {
  padding: 64px 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 42px 0;
  }
}

/* Alpona Bengali Motif Dividers */
.alpona-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 16px auto 28px;
  max-width: 320px;
}
.alpona-line {
  flex: 1;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
}
.alpona-icon {
  width: 22px;
  height: 22px;
  color: var(--accent-gold);
  flex-shrink: 0;
}

/* Section Header Component */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 40px;
}
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-gold-light);
  color: var(--primary);
  border: 1px solid var(--border-gold);
  padding: 5px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-title {
  font-size: 2.25rem;
  color: var(--primary);
  margin-bottom: 10px;
}
.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 1.75rem;
  }
  .section-subtitle {
    font-size: 0.95rem;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition-normal);
  text-align: center;
  min-height: 48px;
  user-select: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #FFF;
  box-shadow: 0 4px 16px rgba(123, 30, 59, 0.25);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(123, 30, 59, 0.35);
  color: #FFF;
}
.btn-whatsapp {
  background-color: var(--wa-green);
  color: #FFF;
  box-shadow: 0 4px 16px var(--wa-glow);
}
.btn-whatsapp:hover {
  background-color: var(--wa-green-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.45);
  color: #FFF;
}
.btn-gold {
  background: linear-gradient(135deg, var(--accent-gold) 0%, #B8852B 100%);
  color: #FFF;
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(212, 162, 76, 0.45);
  color: #FFF;
}
.btn-outline {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary-soft);
  transform: translateY(-2px);
}
.btn-sm {
  padding: 8px 18px;
  font-size: 0.88rem;
  min-height: 38px;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.badge-gold {
  background: linear-gradient(135deg, #FFD875 0%, var(--accent-gold) 100%);
  color: #553400;
  box-shadow: 0 2px 8px rgba(212, 162, 76, 0.3);
}
.badge-maroon {
  background: var(--primary);
  color: #FFF;
}
.badge-discount {
  background: #E53935;
  color: #FFF;
  font-weight: 700;
}
.badge-pulse {
  animation: pulse-ring 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse-ring {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(212, 162, 76, 0.4);
  }
  50% {
    transform: scale(1.04);
    box-shadow: 0 0 0 8px rgba(212, 162, 76, 0);
  }
}

/* =====================================================================
   HEADER & TOP NAVBAR
   ===================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 249, 245, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: all var(--transition-normal);
}
.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(123, 30, 59, 0.08);
  background: rgba(255, 255, 255, 0.98);
}

.top-announcement-bar {
  background: linear-gradient(90deg, var(--primary-dark), var(--primary), var(--primary-dark));
  color: #FFF;
  padding: 6px 16px;
  font-size: 0.84rem;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}
.top-announcement-bar a {
  color: var(--accent-gold-light);
  text-decoration: underline;
  font-weight: 600;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

/* Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-icon-wrapper {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  border: 1px solid var(--border-gold);
  box-shadow: 0 4px 12px rgba(123, 30, 59, 0.15);
}
.brand-text {
  display: flex;
  flex-direction: column;
}
.brand-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.15;
}
.brand-subtitle {
  font-size: 0.76rem;
  color: var(--accent-gold);
  font-weight: 600;
  letter-spacing: 0.8px;
}

/* Nav links */
.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 26px;
}
.nav-link {
  font-weight: 600;
  color: var(--text-main);
  position: relative;
  padding: 6px 0;
  font-size: 0.98rem;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gold);
  transition: width var(--transition-fast);
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}
.nav-link.active {
  color: var(--primary);
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Language Switcher Pill */
.lang-toggle-btn {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: all var(--transition-fast);
}
.lang-toggle-btn:hover {
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-sm);
}
.lang-toggle-btn .active-lang {
  color: var(--primary);
}

/* Hamburger button */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 101;
}
.hamburger-btn span {
  width: 100%;
  height: 2.5px;
  background-color: var(--primary);
  border-radius: 4px;
  transition: all var(--transition-normal);
}
.hamburger-btn.open span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}
.hamburger-btn.open span:nth-child(2) {
  opacity: 0;
}
.hamburger-btn.open span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

/* Mobile Navigation Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 82%;
  max-width: 340px;
  height: 100vh;
  background: var(--bg-cream);
  z-index: 1000;
  box-shadow: -6px 0 24px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  padding: 30px 24px;
  transition: right var(--transition-smooth);
}
.mobile-drawer.open {
  right: 0;
}
.mobile-drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}
.mobile-drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}
.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 24px;
}
.drawer-close {
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--text-main);
  cursor: pointer;
}
.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
}
.drawer-link {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border-light);
}
.drawer-footer {
  margin-top: auto;
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

@media (max-width: 900px) {
  .nav-menu {
    display: none;
  }
  .hamburger-btn {
    display: flex;
  }
  .nav-actions .btn-whatsapp {
    display: none;
  }
}

/* =====================================================================
   HERO SECTION
   ===================================================================== */
.hero-section {
  position: relative;
  background: radial-gradient(circle at 80% 20%, #FFF4ED 0%, var(--bg-cream) 70%);
  padding: 48px 0 64px;
  overflow: hidden;
}
.hero-decor-blob {
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 162, 76, 0.12) 0%, rgba(123, 30, 59, 0.04) 70%);
  top: -120px;
  right: -80px;
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.hero-badge-pill {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-gold-light);
  border: 1px solid var(--border-gold);
  color: var(--primary);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9rem;
}
.hero-title {
  font-size: 3rem;
  color: var(--primary);
  line-height: 1.18;
}
.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 540px;
  line-height: 1.6;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 10px;
}
.hero-stats {
  display: flex;
  gap: 28px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}
.hero-stat-item {
  display: flex;
  flex-direction: column;
}
.hero-stat-num {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  font-family: var(--font-bengali), var(--font-sans);
}
.hero-stat-lbl {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Hero Media Showcase */
.hero-media-wrapper {
  position: relative;
}
.hero-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--bg-white);
  background: var(--bg-white);
  aspect-ratio: 4 / 5;
}
.hero-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.hero-image-card:hover img {
  transform: scale(1.04);
}
.hero-floating-tag {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(212, 162, 76, 0.4);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hero-floating-info h4 {
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 2px;
}
.hero-floating-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-gold);
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }
  .hero-content {
    align-items: center;
  }
  .hero-title {
    font-size: 2.25rem;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
  }
  .hero-media-wrapper {
    max-width: 440px;
    margin: 0 auto;
    width: 100%;
  }
}

/* =====================================================================
   TRUST STRIP
   ===================================================================== */
.trust-strip-section {
  background: var(--bg-white);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 24px 0;
}
.trust-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.trust-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--soft-blush);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.3rem;
  border: 1px solid var(--border-light);
}
.trust-text h4 {
  font-size: 0.98rem;
  color: var(--primary);
  margin-bottom: 2px;
}
.trust-text p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.35;
}

@media (max-width: 900px) {
  .trust-strip-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 16px;
  }
}
@media (max-width: 480px) {
  .trust-strip-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* =====================================================================
   PRODUCT CARD COMPONENT & GRID
   ===================================================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 1100px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}
@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}
@media (max-width: 380px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}

/* Horizontal scroll container for mobile */
.horizontal-scroll-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 768px) {
  .horizontal-scroll-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding-bottom: 12px;
    -webkit-overflow-scrolling: touch;
  }
  .horizontal-scroll-container::-webkit-scrollbar {
    height: 5px;
  }
  .horizontal-scroll-container::-webkit-scrollbar-thumb {
    background: var(--border-gold);
    border-radius: var(--radius-full);
  }
  .horizontal-scroll-container .product-card {
    min-width: 250px;
    scroll-snap-align: start;
    flex-shrink: 0;
  }
}

.product-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-gold);
}
.product-card-media {
  position: relative;
  aspect-ratio: 4 / 5;
  background: #F2EBE7;
  overflow: hidden;
}
.product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-card-media img {
  transform: scale(1.06);
}
.product-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
}
.wishlist-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(4px);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
  z-index: 2;
}
.wishlist-btn:hover {
  color: #E53935;
  background: #FFF;
  transform: scale(1.1);
}
.product-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.product-category-tag {
  font-size: 0.78rem;
  color: var(--accent-gold);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.product-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.35;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.7em;
}
.product-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
}
.product-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}
.product-mrp {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: line-through;
}
.product-discount-pill {
  font-size: 0.75rem;
  font-weight: 700;
  color: #2E7D32;
  background: #E8F5E9;
  padding: 2px 6px;
  border-radius: 4px;
}
.product-card-actions {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.product-card-actions .btn {
  padding: 8px 12px;
  font-size: 0.85rem;
  min-height: 40px;
}

@media (max-width: 500px) {
  .product-card-body {
    padding: 12px;
  }
  .product-title {
    font-size: 0.95rem;
  }
  .product-price {
    font-size: 1.15rem;
  }
  .product-card-actions {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

/* =====================================================================
   CATEGORY TILES
   ===================================================================== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.category-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: flex-end;
  border: 1px solid var(--border-light);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}
.category-card img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.category-card:hover img {
  transform: scale(1.08);
}
.category-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(123, 30, 59, 0.05) 0%, rgba(123, 30, 59, 0.85) 100%);
  transition: background var(--transition-normal);
}
.category-card:hover::after {
  background: linear-gradient(180deg, rgba(123, 30, 59, 0.15) 0%, rgba(123, 30, 59, 0.92) 100%);
}
.category-content {
  position: relative;
  z-index: 2;
  padding: 20px;
  color: #FFF;
  width: 100%;
}
.category-title {
  font-size: 1.35rem;
  color: #FFF;
  margin-bottom: 4px;
}
.category-subtitle {
  font-size: 0.86rem;
  color: var(--accent-gold-light);
}

@media (max-width: 900px) {
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .categories-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* =====================================================================
   DEAL OF THE DAY / FESTIVAL COUNTDOWN
   ===================================================================== */
.deal-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #FFF;
  border-radius: var(--radius-lg);
  padding: 48px;
  margin: 40px auto;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-gold);
}
.deal-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.deal-content h3 {
  font-size: 2.2rem;
  color: #FFF;
  margin-bottom: 14px;
}
.deal-content p {
  font-size: 1.05rem;
  color: var(--soft-blush);
  margin-bottom: 24px;
  max-width: 500px;
}
.countdown-timer-box {
  display: flex;
  gap: 14px;
  margin-bottom: 28px;
}
.timer-block {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(212, 162, 76, 0.4);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  text-align: center;
  min-width: 70px;
}
.timer-num {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-gold-light);
  line-height: 1.1;
  font-family: var(--font-bengali), var(--font-sans);
}
.timer-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: #FFF;
  letter-spacing: 0.5px;
}

@media (max-width: 900px) {
  .deal-section {
    padding: 32px 20px;
  }
  .deal-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .deal-content h3 {
    font-size: 1.7rem;
  }
  .deal-content p {
    margin-left: auto;
    margin-right: auto;
  }
  .countdown-timer-box {
    justify-content: center;
  }
}

/* =====================================================================
   WHY CHOOSE US
   ===================================================================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.why-card {
  background: var(--bg-white);
  padding: 30px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.why-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-md);
}
.why-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--soft-blush);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 18px;
  border: 1px solid var(--border-light);
}
.why-card h4 {
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 10px;
}
.why-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

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

/* =====================================================================
   TESTIMONIALS CAROUSEL
   ===================================================================== */
.testimonials-section {
  background: var(--soft-blush);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--bg-white);
  padding: 28px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.testimonial-stars {
  color: #FFA000;
  font-size: 1.1rem;
  margin-bottom: 14px;
}
.testimonial-quote {
  font-size: 1rem;
  color: var(--text-main);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border: 1px solid var(--border-gold);
}
.testimonial-meta h5 {
  font-size: 0.98rem;
  color: var(--primary);
}
.testimonial-meta span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

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

/* =====================================================================
   CATALOG PAGE (collections.html)
   ===================================================================== */
.catalog-header-banner {
  background: radial-gradient(circle at 50% 50%, var(--soft-blush) 0%, var(--bg-cream) 100%);
  padding: 44px 0 28px;
  text-align: center;
  border-bottom: 1px solid var(--border-light);
}
.catalog-controls-bar {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 74px;
  z-index: 50;
  padding: 16px 0;
  box-shadow: var(--shadow-sm);
}
.catalog-controls-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.search-input-box {
  position: relative;
  flex: 1;
  min-width: 260px;
  max-width: 440px;
}
.search-input-box input {
  width: 100%;
  height: 46px;
  padding: 10px 16px 10px 44px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border-light);
  background: var(--bg-cream);
  outline: none;
  transition: border-color var(--transition-fast);
}
.search-input-box input:focus {
  border-color: var(--accent-gold);
  background: #FFF;
}
.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}
.filter-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.filter-chip {
  background: var(--bg-cream);
  border: 1px solid var(--border-light);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.filter-chip:hover {
  border-color: var(--accent-gold);
}
.filter-chip.active {
  background: var(--primary);
  color: #FFF;
  border-color: var(--primary);
}
.sort-select-box select {
  height: 44px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border-light);
  background: var(--bg-cream);
  color: var(--text-main);
  font-weight: 600;
  outline: none;
  cursor: pointer;
}

/* Empty State */
.empty-state-box {
  text-align: center;
  padding: 60px 20px;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px dashed var(--border-light);
  max-width: 520px;
  margin: 40px auto;
}
.empty-state-icon {
  font-size: 3rem;
  color: var(--accent-gold);
  margin-bottom: 16px;
}

/* =====================================================================
   PRODUCT DETAIL PAGE (product.html)
   ===================================================================== */
.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 30px;
}
.detail-gallery {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.detail-main-img {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  background: #FFF;
  box-shadow: var(--shadow-md);
}
.detail-main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.detail-thumbs-strip {
  display: flex;
  gap: 12px;
  overflow-x: auto;
}
.detail-thumb {
  width: 80px;
  height: 96px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid var(--border-light);
  cursor: pointer;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}
.detail-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.detail-thumb.active {
  border-color: var(--primary);
  transform: scale(1.04);
}

.detail-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.detail-title {
  font-size: 2.2rem;
  color: var(--primary);
}
.detail-price-box {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 12px 18px;
  background: var(--soft-blush);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-gold);
}
.detail-current-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}
.detail-mrp {
  font-size: 1.2rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

/* Size Selector */
.size-selector-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.size-options-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.size-btn {
  min-width: 52px;
  height: 44px;
  padding: 6px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-light);
  background: var(--bg-white);
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.size-btn:hover {
  border-color: var(--accent-gold);
}
.size-btn.active {
  border-color: var(--primary);
  background: var(--primary);
  color: #FFF;
}

/* Color & Fabric Tags */
.detail-meta-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.96rem;
}
.detail-meta-item {
  display: flex;
  gap: 10px;
}
.detail-meta-label {
  font-weight: 700;
  color: var(--primary);
  min-width: 120px;
}

/* Bullet Points */
.detail-bullets-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}
.detail-bullets-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
}
.detail-bullets-list li span.bullet-icon {
  color: var(--accent-gold);
  font-weight: 700;
}

/* Action Buttons */
.detail-actions-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
}

@media (max-width: 900px) {
  .product-detail-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .detail-title {
    font-size: 1.75rem;
  }
}

/* Sticky Mobile Order Bar */
.sticky-mobile-order-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--border-light);
  padding: 10px 16px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  z-index: 90;
  display: none;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 10px;
}
@media (max-width: 768px) {
  .sticky-mobile-order-bar {
    display: grid;
  }
  body.has-sticky-bar {
    padding-bottom: 74px;
  }
}

/* =====================================================================
   ABOUT & CONTACT PAGES
   ===================================================================== */
.about-hero {
  background: radial-gradient(circle at 70% 30%, var(--soft-blush) 0%, var(--bg-cream) 100%);
  padding: 60px 0 40px;
  text-align: center;
}
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.story-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--bg-white);
}

.timeline-box {
  position: relative;
  max-width: 680px;
  margin: 40px auto 0;
  padding-left: 30px;
  border-left: 2px solid var(--border-gold);
}
.timeline-item {
  position: relative;
  margin-bottom: 30px;
}
.timeline-dot {
  position: absolute;
  left: -38px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent-gold);
  border: 3px solid #FFF;
  box-shadow: 0 0 0 2px var(--primary);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
}
.contact-info-card {
  background: var(--bg-white);
  padding: 36px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.contact-detail-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--soft-blush);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-form-card {
  background: var(--bg-white);
  padding: 36px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}
.form-group label {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--primary);
}
.form-group input,
.form-group textarea {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-light);
  background: var(--bg-cream);
  outline: none;
  font-size: 1rem;
  transition: border-color var(--transition-fast);
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent-gold);
  background: #FFF;
}

@media (max-width: 860px) {
  .story-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* =====================================================================
   ADMIN PANEL (admin.html)
   ===================================================================== */
.admin-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  padding: 24px;
  margin-bottom: 24px;
}
.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}
.admin-stat-box {
  background: var(--soft-blush);
  padding: 20px;
  border-radius: var(--radius-sm);
  text-align: center;
  border: 1px solid var(--border-gold);
}
.admin-stat-box h3 {
  font-size: 2rem;
  color: var(--primary);
}
.admin-products-table {
  width: 100%;
  border-collapse: collapse;
}
.admin-products-table th,
.admin-products-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}
.admin-products-table th {
  background: var(--soft-blush);
  color: var(--primary);
}
.table-img {
  width: 50px;
  height: 60px;
  border-radius: 4px;
  object-fit: cover;
}

/* =====================================================================
   FLOATING WHATSAPP BUBBLE
   ===================================================================== */
.floating-wa-bubble {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--wa-green);
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px var(--wa-glow);
  z-index: 99;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
}
.floating-wa-bubble:hover {
  transform: scale(1.1) translateY(-3px);
  background-color: var(--wa-green-dark);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
}
.floating-wa-bubble svg {
  width: 34px;
  height: 34px;
  fill: currentColor;
}
.floating-wa-bubble::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid var(--wa-green);
  animation: wa-pulse 2s infinite ease-out;
  pointer-events: none;
}
@keyframes wa-pulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

@media (max-width: 768px) {
  .floating-wa-bubble {
    bottom: 84px; /* Move above sticky order bar */
    right: 18px;
    width: 52px;
    height: 52px;
  }
  .floating-wa-bubble svg {
    width: 28px;
    height: 28px;
  }
}

/* =====================================================================
   QUICK VIEW MODAL & TOAST
   ===================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.modal-dialog {
  background: var(--bg-white);
  width: 100%;
  max-width: 820px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px) scale(0.96);
  transition: transform var(--transition-normal);
}
.modal-overlay.open .modal-dialog {
  transform: translateY(0) scale(1);
}
.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-cream);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  cursor: pointer;
  z-index: 10;
  color: var(--text-main);
  transition: all var(--transition-fast);
}
.modal-close-btn:hover {
  background: var(--primary);
  color: #FFF;
}

/* Toast */
.toast-msg {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--primary);
  color: #FFF;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  font-weight: 600;
  z-index: 2000;
  opacity: 0;
  transition: all var(--transition-normal);
  border: 1px solid var(--border-gold);
}
.toast-msg.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer {
  background: linear-gradient(180deg, #3A0C1B 0%, #20040D 100%);
  color: #FFF;
  margin-top: auto;
  padding-top: 60px;
  border-top: 3px solid var(--accent-gold);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  margin-bottom: 48px;
}
.footer-brand h3 {
  font-size: 1.6rem;
  color: var(--accent-gold-light);
  margin-bottom: 8px;
}
.footer-brand p {
  color: #D3C4C8;
  font-size: 0.94rem;
  line-height: 1.6;
  margin-bottom: 18px;
}
.footer-social-links {
  display: flex;
  gap: 12px;
}
.social-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFF;
  transition: all var(--transition-fast);
  border: 1px solid rgba(212, 162, 76, 0.2);
}
.social-icon-btn:hover {
  background: var(--accent-gold);
  color: #FFF;
  transform: translateY(-2px);
}
.footer-column h4 {
  font-size: 1.15rem;
  color: var(--accent-gold);
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 6px;
}
.footer-column h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--accent-gold);
}
.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links-list a {
  color: #D3C4C8;
  font-size: 0.94rem;
  transition: color var(--transition-fast);
}
.footer-links-list a:hover {
  color: var(--accent-gold-light);
  padding-left: 4px;
}
.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  color: #D3C4C8;
  font-size: 0.92rem;
}
.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  text-align: center;
  font-size: 0.86rem;
  color: #A99B9F;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}
@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .footer-bottom-bar {
    flex-direction: column;
    text-align: center;
  }
}
