 @font-face {
     font-family: 'Kalpurush';
     src: url('fonts/kalpurush.ttf') format('truetype');
     font-weight: normal;
     font-style: normal;
 }

 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
     text-decoration: none;
     list-style: none;
     font-family: 'Kalpurush', 'Hind Siliguri', sans-serif !important;
     font-size: 18px;
 }

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  /* Brand palette */
  --primary: #2e7d32;
  --primary-dark: #14532d;
  --primary-light: #4caf50;
  --primary-soft: #e8f5e9;
  --accent: #ff9800;
  --accent-dark: #f57c00;
  --danger: #e53935;
  --gold: #fbbf24;

  /* Neutrals */
  --dark: #0f172a;
  --dark-2: #1e293b;
  --gray: #64748b;
  --gray-light: #94a3b8;
  --light-gray: #f8fafc;
  --light-gray-2: #f1f5f9;
  --border: #e2e8f0;
  --white: #ffffff;

  /* Gradients */
  --grad-hero: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 50%, #e8f5e9 100%);
  --grad-primary: linear-gradient(135deg, #2e7d32 0%, #14532d 100%);
  --grad-accent: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
  --grad-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  --grad-glass: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,255,255,0.6));

  /* Shape & shadow */
  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow: 0 4px 20px rgba(15,23,42,0.07);
  --shadow-md: 0 10px 30px rgba(15,23,42,0.09);
  --shadow-lg: 0 20px 50px rgba(15,23,42,0.14);
  --shadow-glow: 0 12px 40px rgba(46,125,50,0.28);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.4s;

  /* Fonts */
  --font-sans: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Fraunces', 'Playfair Display', Georgia, serif;
}

/* ============================================================
   BASE
   ============================================================ */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  color: var(--dark);
  line-height: 1.65;
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; height: auto; }
button { cursor: pointer; border: none; background: none; font-family: inherit; color: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; }
ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--dark);
}
h1 { font-size: clamp(2rem, 4.2vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.4rem); }
h3 { font-size: 1.15rem; }

::selection { background: var(--primary); color: white; }

/* Container */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* Scroll progress */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  background: var(--grad-accent);
  z-index: 9999;
  transition: width 0.1s linear;
}

/* ============================================================
   ANNOUNCEMENT BAR (marquee)
   ============================================================ */
.top-bar {
  background: var(--dark);
  color: #e2e8f0;
  font-size: 12.5px;
  padding: 10px 0;
  overflow: hidden;
  position: relative;
}
.marquee {
  overflow: hidden;
  white-space: nowrap;
}
.marquee__track {
  display: inline-flex;
  gap: 28px;
  animation: marquee 28s linear infinite;
  padding-left: 100%;
}
.marquee__track span { display: inline-block; }
.marquee__track .dot { color: var(--accent); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur), box-shadow var(--dur), background var(--dur);
}
.header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 4px 24px rgba(15,23,42,0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 16px 24px;
  max-width: 1240px;
  margin: 0 auto;
}

.logo { display: flex; align-items: center; gap: 10px; font-size: 22px; }
.logo-icon {
  font-size: 30px;
  display: inline-block;
  transition: transform 0.5s var(--ease);
}
.logo:hover .logo-icon { transform: rotate(-12deg) scale(1.1); }
.logo-text {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.logo-text strong { color: var(--primary); font-weight: 700; }

/* Nav */
.nav { display: flex; gap: 30px; align-items: center; }
.nav a {
  font-weight: 500;
  font-size: 18px;
  color: var(--dark-2);
  position: relative;
  padding: 6px 0;
  transition: color 0.25s;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav a:hover, .nav a.active { color: var(--primary); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }

/* Header actions */
.header-actions { display: flex; align-items: center; gap: 6px; }
.icon-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  color: var(--dark-2);
  position: relative;
  transition: background 0.25s, transform 0.2s;
}
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn:hover { background: var(--light-gray-2); transform: translateY(-1px); }

.cart-count {
  position: absolute;
  top: 2px; right: 2px;
  background: var(--grad-accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  transition: transform 0.3s var(--ease);
}
.cart-count.bump { animation: bump 0.45s var(--ease); }
@keyframes bump {
  0% { transform: scale(1); }
  40% { transform: scale(1.4); }
  100% { transform: scale(1); }
}

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 12px;
  border-radius: 50%;
}
.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.25s;
}
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.01em;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  line-height: 1;
}
.btn-arrow { transition: transform 0.3s var(--ease); display: inline-block; }
.btn:hover .btn-arrow { transform: translateX(4px); }

.btn-primary {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: 0 6px 20px rgba(46,125,50,0.28);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}
.btn-primary:active { transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--dark);
  border: 2px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-soft);
  transform: translateY(-3px);
}

.btn-ghost {
  background: rgba(15,23,42,0.06);
  color: var(--dark);
}
.btn-ghost:hover { background: rgba(15,23,42,0.1); transform: translateY(-3px); }

.btn-light {
  background: #fff;
  color: var(--dark);
  box-shadow: var(--shadow-md);
}
.btn-light:hover { background: var(--primary); color: #fff; }

.btn-lg { padding: 16px 34px; font-size: 15px; }
.btn-block { width: 100%; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: 90px 0 110px;
  background: var(--grad-hero);
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  animation: float 14s ease-in-out infinite;
}
.blob-1 { width: 420px; height: 420px; background: #86efac; top: -120px; left: -100px; }
.blob-2 { width: 360px; height: 360px; background: #fde68a; bottom: -140px; right: 5%; animation-delay: -5s; }
.blob-3 { width: 300px; height: 300px; background: #a7f3d0; top: 40%; right: -80px; animation-delay: -8s; }

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.08); }
  66% { transform: translate(-20px, 30px) scale(0.95); }
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 70px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.9);
  color: var(--primary-dark);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 24px;
  box-shadow: 0 4px 16px rgba(46,125,50,0.14);
  border: 1px solid rgba(46,125,50,0.12);
}

.hero-text h1 {
  margin-bottom: 22px;
  color: var(--dark);
}
.hero-text h1 em {
  font-style: italic;
  color: var(--primary);
  font-weight: 600;
}
.hero-text p {
  font-size: 17px;
  color: var(--gray);
  margin-bottom: 34px;
  max-width: 520px;
}

.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 46px; }

.hero-stats { display: flex; gap: 44px; flex-wrap: wrap; }
.hero-stats > div { display: flex; flex-direction: column; }
.hero-stats strong {
  font-family: var(--font-display);
  font-size: 30px;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 6px;
}
.hero-stats span { font-size: 12.5px; color: var(--gray); font-weight: 500; }

/* Hero visual */
.hero-visual { position: relative; }
.hero-img-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(15,23,42,0.2);
  aspect-ratio: 5/5.5;
  animation: floatImg 6s ease-in-out infinite;
}
.hero-img-wrap::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(160deg, transparent 40%, rgba(20,83,45,0.25));
}
.hero-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
@keyframes floatImg {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.float-card {
  position: absolute;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 14px 18px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255,255,255,0.6);
  animation: floatCard 5s ease-in-out infinite;
}
.float-card--1 { top: 32px; left: -28px; animation-delay: 0.4s; }
.float-card--2 { bottom: 48px; right: -22px; animation-delay: 1.4s; }
.float-icon {
  font-size: 22px;
  width: 42px; height: 42px;
  background: var(--primary-soft);
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.float-card strong { display: block; font-size: 15px; color: var(--dark); line-height: 1.2; }
.float-card span { font-size: 11.5px; color: var(--gray); }
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust-strip {
  background: #fff;
  padding: 26px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 2;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 6px 10px;
}
.trust-item > span {
  font-size: 24px;
  width: 46px; height: 46px;
  background: var(--primary-soft);
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.trust-item strong { display: block; font-size: 14px; font-weight: 600; color: var(--dark); line-height: 1.3; }
.trust-item small { font-size: 12px; color: var(--gray); }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 96px 0; position: relative; }
.section-alt { background: var(--light-gray); }

.section-head {
  text-align: center;
  margin-bottom: 54px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.section-head .eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}
.section-head h2 { margin-bottom: 12px; }
.section-head p { color: var(--gray); font-size: 16px; }

.center { text-align: center; margin-top: 50px; }

/* ============================================================
   CATEGORIES
   ============================================================ */
.categories {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.category-card {
  background: #fff;
  padding: 38px 22px 32px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.4s var(--ease);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-primary);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  z-index: 0;
}
.category-card > * { position: relative; z-index: 1; transition: color 0.3s, transform 0.3s; }
.category-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.category-card:hover::before { opacity: 1; }
.category-card:hover h3,
.category-card:hover span { color: #fff; }
.cat-icon {
  font-size: 52px;
  margin-bottom: 16px;
  display: inline-block;
  transition: transform 0.5s var(--ease);
}
.category-card:hover .cat-icon { transform: scale(1.15) rotate(-6deg); }
.category-card h3 {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
}
.category-card span { font-size: 12.5px; color: var(--gray); display: block; }
.cat-arrow {
  margin-top: 14px;
  font-size: 18px;
  opacity: 0;
  transform: translateX(-8px);
  transition: all 0.35s var(--ease);
  display: inline-block;
}
.category-card:hover .cat-arrow { opacity: 1; transform: translateX(0); }

/* ============================================================
   FILTER TABS
   ============================================================ */
.filter-tabs {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 44px;
}
.filter-tab {
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--gray);
  background: #fff;
  border: 1px solid var(--border);
  transition: all 0.28s var(--ease);
}
.filter-tab:hover { color: var(--primary); border-color: var(--primary); }
.filter-tab.active {
  background: var(--grad-primary);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(46,125,50,0.28);
}

/* ============================================================
   PRODUCT CARDS
   ============================================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 24px;
}
.product-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.4s var(--ease);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: relative;
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.product-card.hide { display: none; }

.product-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--light-gray);
}
.product-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.product-card:hover .product-image img { transform: scale(1.1); }

.product-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--grad-accent);
  color: #fff;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(255,152,0,0.35);
}
.badge-live { background: linear-gradient(135deg, #ef4444, #dc2626); box-shadow: 0 4px 12px rgba(220,38,38,0.35); }
.badge-new { background: linear-gradient(135deg, #3b82f6, #2563eb); box-shadow: 0 4px 12px rgba(59,130,246,0.35); }

.wishlist-btn {
  position: absolute;
  top: 14px; right: 14px;
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  transition: all 0.3s var(--ease);
  color: var(--dark-2);
}
.wishlist-btn svg { width: 17px; height: 17px; }
.wishlist-btn:hover { transform: scale(1.12); color: var(--danger); }
.wishlist-btn.active { color: var(--danger); }
.wishlist-btn.active svg { fill: var(--danger); }

/* Quick add overlay */
.product-quick {
  position: absolute;
  left: 14px; right: 14px;
  bottom: 14px;
  transform: translateY(120%);
  opacity: 0;
  transition: all 0.4s var(--ease);
}
.product-card:hover .product-quick { transform: translateY(0); opacity: 1; }
.product-quick .btn { padding: 11px 18px; font-size: 13px; }

.product-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.product-cat {
  font-size: 10.5px;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}
.product-body h3 {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.4;
}
.product-body h3 a:hover { color: var(--primary); }

.rating {
  font-size: 13px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.stars { color: var(--gold); letter-spacing: 1px; font-size: 12px; }
.rating span:not(.stars) { color: var(--gray); font-size: 12px; }

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}
.price { display: flex; align-items: baseline; gap: 8px; }
.price-current {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  font-family: var(--font-display);
}
.price-old { font-size: 13px; color: var(--gray-light); text-decoration: line-through; }

.btn-add {
  width: 38px; height: 38px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  font-size: 20px;
  font-weight: 300;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease);
  flex-shrink: 0;
  line-height: 1;
}
.btn-add:hover {
  background: var(--primary-dark);
  transform: rotate(90deg) scale(1.08);
}

/* ============================================================
   FEATURES
   ============================================================ */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.feature {
  text-align: center;
  padding: 36px 24px;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all 0.4s var(--ease);
}
.feature:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.feature-icon {
  font-size: 34px;
  width: 78px; height: 78px;
  background: var(--primary-soft);
  border-radius: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all 0.4s var(--ease);
}
.feature:hover .feature-icon {
  background: var(--grad-primary);
  transform: rotate(-8deg) scale(1.08);
  box-shadow: var(--shadow-glow);
}
.feature:hover .feature-icon { filter: brightness(1.1); }
.feature h3 {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}
.feature p { color: var(--gray); font-size: 13.5px; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial {
  background: #fff;
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all 0.4s var(--ease);
  position: relative;
}
.testimonial::before {
  content: '"';
  position: absolute;
  top: 4px; right: 20px;
  font-family: var(--font-display);
  font-size: 90px;
  color: var(--primary-soft);
  line-height: 1;
  z-index: 0;
}
.testimonial:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.testimonial .stars { font-size: 14px; margin-bottom: 14px; position: relative; z-index: 1; }
.testimonial blockquote {
  font-size: 14.5px;
  color: var(--dark-2);
  line-height: 1.7;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}
.testimonial figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 1;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--grad-primary);
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.05em;
}
.testimonial figcaption strong { display: block; font-size: 14px; font-weight: 600; }
.testimonial figcaption small { font-size: 12px; color: var(--gray); }

/* ============================================================
   NEWSLETTER
   ============================================================ */
.newsletter {
  background: var(--grad-primary);
  color: #fff;
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.newsletter::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 30%, rgba(255,255,255,0.12) 0%, transparent 40%),
                    radial-gradient(circle at 80% 70%, rgba(255,255,255,0.1) 0%, transparent 40%);
}
.newsletter-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.newsletter h2 { color: #fff; font-size: 30px; margin-bottom: 6px; }
.newsletter p { opacity: 0.9; font-size: 15px; }
.newsletter p strong { color: var(--gold); }

.newsletter-form {
  display: flex;
  gap: 6px;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-pill);
  padding: 6px;
  flex: 1;
  max-width: 480px;
  min-width: 320px;
}
.newsletter-form input {
  flex: 1;
  border: none;
  outline: none;
  padding: 12px 22px;
  font-size: 14px;
  border-radius: var(--radius-pill);
  background: transparent;
  color: #fff;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.72); }
.newsletter-form .btn-primary {
  background: #fff;
  color: var(--primary-dark);
  box-shadow: none;
}
.newsletter-form .btn-primary:hover { background: var(--gold); color: var(--dark); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--grad-dark);
  color: #cbd5e1;
  padding-top: 72px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 46px;
  padding-bottom: 48px;
}
.footer h3.logo-text {
  font-size: 26px;
  color: #fff;
  margin-bottom: 16px;
  font-family: var(--font-display);
}
.footer h3 strong { color: var(--primary-light); }
.footer h4 {
  font-family: var(--font-sans);
  font-size: 14px;
  color: #fff;
  margin-bottom: 20px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.footer a {
  display: block;
  margin-bottom: 11px;
  font-size: 14px;
  transition: all 0.25s;
  color: #94a3b8;
}
.footer a:hover { color: var(--primary-light); transform: translateX(3px); }
.footer p { font-size: 14px; line-height: 1.75; margin-bottom: 22px; color: #94a3b8; }

.socials { display: flex; gap: 12px; }
.socials a {
  width: 42px; height: 42px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  font-size: 16px;
  transition: all 0.3s var(--ease);
}
.socials a:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  text-align: center;
  font-size: 13px;
  color: #64748b;
}
.footer-bottom p { margin: 0; }

/* ============================================================
   PAGE HEADER
   ============================================================ */
.page-header {
  background: var(--grad-primary);
  color: #fff;
  padding: 72px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 15% 50%, rgba(255,255,255,0.14) 0%, transparent 45%),
                    radial-gradient(circle at 85% 30%, rgba(255,255,255,0.1) 0%, transparent 40%);
}
.page-header .container { position: relative; z-index: 1; }
.page-header h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 10px; color: #fff; }
.page-header p { opacity: 0.88; font-size: 14px; }
.page-header p a { color: #fff; opacity: 0.7; }
.page-header p a:hover { opacity: 1; }

/* ============================================================
   SHOP LAYOUT
   ============================================================ */
.shop-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: start;
}
.filters {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  position: sticky;
  top: 100px;
}
.filters h3 {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  margin: 22px 0 14px;
  color: var(--dark);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.filters h3:first-child { margin-top: 0; }
.filters label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  font-size: 14px;
  color: var(--gray);
  cursor: pointer;
  transition: color 0.2s;
}
.filters label:hover { color: var(--primary); }
.filters input[type="checkbox"] {
  width: 17px; height: 17px;
  accent-color: var(--primary);
  cursor: pointer;
}
.range { width: 100%; accent-color: var(--primary); margin: 12px 0 8px; }
.filters .range + p { font-size: 13px; color: var(--gray); }

.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 26px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 12px;
}
.shop-toolbar p { color: var(--gray); font-size: 13.5px; }
.shop-toolbar select {
  padding: 11px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  background: #fff;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s;
}
.shop-toolbar select:hover { border-color: var(--primary); }

.pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 48px;
}
.pagination a {
  width: 42px; height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-weight: 500;
  font-size: 14px;
  transition: all 0.28s var(--ease);
  background: #fff;
}
.pagination a:hover, .pagination a.active {
  background: var(--grad-primary);
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
}

/* ============================================================
   PRODUCT DETAIL
   ============================================================ */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.product-gallery { position: sticky; top: 100px; }
.main-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 14px;
  aspect-ratio: 1;
  background: var(--light-gray);
}
.main-image img { width: 100%; height: 100%; object-fit: cover; }


/* ============================================================
   PRODUCT IMAGE ZOOM (inner zoom + lightbox)
   ============================================================ */

/* Main image container */
.main-image {
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--light-gray);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin-bottom: 14px;
  aspect-ratio: 1;
  isolation: isolate;
  transform: translateZ(0);
}

.main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform-origin: center center;
  transition: transform 0.55s var(--ease);
  will-change: transform;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none; /* so mousemove hits container, not img */
}

/* Active zoom state */
.main-image.is-zooming img {
  transform: scale(var(--zoom-scale, 2.6));
  transition: transform 0.18s ease-out;
  cursor: zoom-out;
}

/* Ring indicator on hover */
.main-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 0 rgba(46,125,50,0);
  transition: box-shadow 0.35s var(--ease);
  pointer-events: none;
  z-index: 2;
}
.main-image:hover::after {
  box-shadow: inset 0 0 0 3px rgba(46,125,50,0.28);
}
.main-image.is-zooming::after {
  box-shadow: inset 0 0 0 3px var(--primary);
}

/* Floating "Hover to zoom" badge */
.zoom-hint {
  position: absolute;
  bottom: 14px;
  left: 14px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.14);
  color: #fff;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}
.zoom-hint svg { width: 13px; height: 13px; flex-shrink: 0; }
.zoom-hint .zoom-pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
  animation: pulseDot 2s infinite;
}
@keyframes pulseDot {
  0%   { box-shadow: 0 0 0 0 rgba(74,222,128,0.7); }
  70%  { box-shadow: 0 0 0 8px rgba(74,222,128,0); }
  100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); }
}

.main-image.is-zooming .zoom-hint {
  opacity: 0;
  transform: translateY(8px) scale(0.95);
}

/* Thumbnails — hover preview nudge */
.thumbnails img {
  transition: all 0.3s var(--ease);
}
.thumbnails img:hover {
  transform: translateY(-3px) scale(1.03);
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.zoom-lightbox {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}
.zoom-lightbox.open { opacity: 1; pointer-events: auto; }

.zoom-lightbox img {
  max-width: 92vw;
  max-height: 86vh;
  border-radius: var(--radius);
  box-shadow: 0 40px 120px rgba(0,0,0,0.6);
  transform: scale(0.9);
  transition: transform 0.45s var(--ease);
}
.zoom-lightbox.open img { transform: scale(1); }

.zoom-lightbox-close {
  position: absolute;
  top: 24px; right: 24px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease);
}
.zoom-lightbox-close:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: rotate(90deg) scale(1.06);
}

.zoom-lightbox-caption {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.02em;
}

/* Touch devices: no cursor-follow zoom — click opens lightbox */
@media (hover: none) {
  .main-image { cursor: pointer; }
  .main-image.is-zooming img { transform: none; }
}

.thumbnails {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.thumbnails img {
  border-radius: var(--radius-sm);
  cursor: pointer;
  aspect-ratio: 1;
  object-fit: cover;
  border: 2px solid transparent;
  transition: all 0.3s var(--ease);
  opacity: 0.75;
}
.thumbnails img:hover, .thumbnails img.active {
  border-color: var(--primary);
  opacity: 1;
  transform: translateY(-2px);
}

.product-info { padding-top: 8px; }
.product-info > .product-cat {
  font-size: 11px;
  letter-spacing: 0.14em;
  margin-bottom: 14px;
}
.product-info h1 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); margin-bottom: 16px; }

.price-large {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 22px 0;
  flex-wrap: wrap;
}
.price-large .price-current { font-size: 34px; }
.price-large .price-old { font-size: 18px; }
.discount {
  background: #fee2e2;
  color: var(--danger);
  padding: 5px 13px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.desc {
  color: var(--gray);
  margin: 22px 0;
  font-size: 15px;
  line-height: 1.8;
}

.options { margin: 26px 0; }
.options label {
  display: block;
  font-weight: 600;
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--dark);
}
.size-options { display: flex; gap: 10px; flex-wrap: wrap; }
.size-btn {
  padding: 11px 24px;
  border: 2px solid var(--border);
  border-radius: var(--radius-pill);
  font-weight: 500;
  font-size: 13.5px;
  background: #fff;
  transition: all 0.28s var(--ease);
}
.size-btn:hover { border-color: var(--primary); color: var(--primary); }
.size-btn.active {
  border-color: transparent;
  background: var(--grad-primary);
  color: #fff;
  box-shadow: 0 6px 18px rgba(46,125,50,0.25);
}

.quantity {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 26px 0;
  flex-wrap: wrap;
}
.quantity label { font-weight: 600; font-size: 14px; }
.qty-control {
  display: inline-flex;
  align-items: center;
  border: 2px solid var(--border);
  border-radius: var(--radius-pill);
  overflow: hidden;
  background: #fff;
}
.qty-control button {
  width: 44px; height: 44px;
  font-size: 18px;
  background: transparent;
  color: var(--dark);
  transition: background 0.2s;
  font-weight: 500;
}
.qty-control button:hover { background: var(--light-gray-2); }
.qty-control input {
  width: 62px;
  text-align: center;
  border: none;
  outline: none;
  font-weight: 600;
  font-size: 16px;
  background: transparent;
  -moz-appearance: textfield;
}
.qty-control input::-webkit-outer-spin-button,
.qty-control input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-control.small button { width: 34px; height: 34px; font-size: 14px; }
.qty-control.small input { width: 46px; font-size: 14px; }

.product-actions {
  display: flex;
  gap: 12px;
  margin: 32px 0 26px;
  flex-wrap: wrap;
}
.product-actions .btn-primary { flex: 1; min-width: 200px; }
.product-actions .btn-outline { width: 58px; padding: 0; }

.product-meta {
  border-top: 1px solid var(--border);
  padding-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  color: var(--gray);
}

/* ============================================================
   CART
   ============================================================ */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: start;
}
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th {
  text-align: left;
  padding: 16px;
  background: var(--light-gray);
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray);
}
.cart-table th:first-child { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.cart-table th:last-child { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.cart-table td {
  padding: 22px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 14.5px;
  vertical-align: middle;
}
.cart-product { display: flex; gap: 16px; align-items: center; }
.cart-product img {
  width: 74px; height: 74px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}
.cart-product h4 {
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 600;
  margin-bottom: 5px;
}
.cart-product span { font-size: 12.5px; color: var(--gray); }
.remove-btn {
  color: var(--gray-light);
  font-size: 18px;
  width: 32px; height: 32px;
  border-radius: 50%;
  transition: all 0.25s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.remove-btn:hover { background: #fee2e2; color: var(--danger); }

.cart-actions {
  display: flex;
  gap: 12px;
  margin-top: 30px;
  flex-wrap: wrap;
  align-items: center;
}
.coupon-input {
  padding: 13px 20px;
  border: 2px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 14px;
  outline: none;
  flex: 1;
  max-width: 240px;
  transition: border-color 0.25s;
}
.coupon-input:focus { border-color: var(--primary); }

.cart-summary {
  background: #fff;
  border: 1px solid var(--border);
  padding: 32px;
  border-radius: var(--radius-lg);
  position: sticky;
  top: 100px;
  box-shadow: var(--shadow);
}
.cart-summary h3 { font-family: var(--font-sans); font-size: 17px; font-weight: 600; margin-bottom: 22px; }
.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 13px 0;
  font-size: 14.5px;
  color: var(--gray);
}
.summary-row.total {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  border-top: 2px solid var(--border);
  margin-top: 12px;
  padding-top: 22px;
  font-family: var(--font-display);
}
.summary-row.total span:last-child { color: var(--primary); }
.cart-summary .btn { margin-top: 22px; }
.payment-icons {
  text-align: center;
  margin-top: 22px;
  font-size: 22px;
  letter-spacing: 8px;
  opacity: 0.75;
}

/* ============================================================
   CHECKOUT
   ============================================================ */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 40px;
  align-items: start;
}
.checkout-form h2 {
  font-family: var(--font-sans);
  font-size: 19px;
  font-weight: 600;
  margin: 36px 0 22px;
}
.checkout-form h2:first-child { margin-top: 0; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-grid input, .form-grid textarea {
  padding: 15px 20px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  outline: none;
  transition: all 0.25s var(--ease);
  background: #fff;
  color: var(--dark);
  width: 100%;
}
.form-grid input:focus, .form-grid textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(46,125,50,0.1);
}
.form-grid .full { grid-column: 1 / -1; }
.form-grid textarea { resize: vertical; min-height: 88px; font-family: inherit; }

.payment-methods { display: flex; flex-direction: column; gap: 12px; }
.pay-option {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.28s var(--ease);
  background: #fff;
}
.pay-option:hover { border-color: var(--primary-light); }
.pay-option input { accent-color: var(--primary); width: 18px; height: 18px; cursor: pointer; flex-shrink: 0; }
.pay-option div { flex: 1; }
.pay-option strong { display: block; margin-bottom: 3px; font-size: 14.5px; font-weight: 600; }
.pay-option span { font-size: 12.5px; color: var(--gray); }
.pay-option:has(input:checked) {
  border-color: var(--primary);
  background: var(--primary-soft);
  box-shadow: 0 4px 16px rgba(46,125,50,0.1);
}

.order-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.order-item img { width: 54px; height: 54px; border-radius: var(--radius-sm); object-fit: cover; flex-shrink: 0; }
.order-item div { flex: 1; }
.order-item strong { display: block; font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.order-item span { font-size: 12.5px; color: var(--gray); }
.order-item > span { font-weight: 600; color: var(--dark); font-size: 14px; }
.cart-summary hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 16px 0;
}

/* ============================================================
   AUTH
   ============================================================ */
.auth-page {
  background: var(--grad-hero);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
  position: relative;
  overflow: hidden;
}
.auth-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(46,125,50,0.08) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(255,152,0,0.08) 0%, transparent 50%);
}

.auth-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1020px;
  width: 100%;
  background: #fff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
}
.auth-left {
  background: var(--grad-primary);
  color: #fff;
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
  position: relative;
  overflow: hidden;
}
.auth-left::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 80% 20%, rgba(255,255,255,0.14) 0%, transparent 50%),
                    radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 45%);
}
.auth-left > * { position: relative; z-index: 1; }
.auth-brand .logo-icon { font-size: 42px; display: inline-block; }
.auth-brand h2 {
  font-size: 30px;
  margin: 14px 0 8px;
  color: #fff;
  font-family: var(--font-display);
}
.auth-brand h2 strong { color: var(--gold); }
.auth-brand p { opacity: 0.9; font-size: 14.5px; }
.auth-left img {
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
  box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.auth-right { padding: 56px 48px; display: flex; flex-direction: column; justify-content: center; }
.auth-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 32px;
  background: var(--light-gray);
  padding: 6px;
  border-radius: var(--radius-pill);
}
.tab-btn {
  flex: 1;
  padding: 12px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 14px;
  color: var(--gray);
  transition: all 0.28s var(--ease);
}
.tab-btn.active {
  background: #fff;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.auth-form h2 { font-size: 26px; margin-bottom: 8px; font-family: var(--font-sans); font-weight: 700; }
.auth-form > p { color: var(--gray); margin-bottom: 26px; font-size: 14.5px; }
.auth-form input:not([type="checkbox"]) {
  width: 100%;
  padding: 15px 20px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  margin-bottom: 14px;
  outline: none;
  transition: all 0.25s var(--ease);
  background: #fff;
}
.auth-form input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(46,125,50,0.1);
}
.form-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
  font-size: 13px;
  gap: 12px;
  flex-wrap: wrap;
}
.form-row a { color: var(--primary); font-weight: 600; }
.form-row a:hover { text-decoration: underline; }
.auth-form label {
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.auth-form input[type="checkbox"] { accent-color: var(--primary); width: 16px; height: 16px; cursor: pointer; }

.social-login { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.social-login button {
  padding: 13px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 13.5px;
  transition: all 0.28s var(--ease);
  background: #fff;
}
.social-login button:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}
.text-center { text-align: center; font-size: 13px; color: var(--gray); margin-top: 20px; }

/* ============================================================
   CART DRAWER
   ============================================================ */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
  z-index: 500;
}
.drawer-overlay.open { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed;
  top: 0; right: 0;
  width: min(420px, 100vw);
  height: 100vh;
  background: #fff;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.45s var(--ease);
  z-index: 600;
  box-shadow: -20px 0 60px rgba(15,23,42,0.15);
}
.cart-drawer.open { transform: translateX(0); }

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 26px;
  border-bottom: 1px solid var(--border);
}
.drawer-head h3 {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}
.drawer-count {
  background: var(--grad-accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 26px;
}
.drawer-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--gray);
}
.drawer-empty > span { font-size: 56px; display: block; margin-bottom: 16px; }
.drawer-empty p { margin-bottom: 22px; font-size: 15px; }

.drawer-item {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  align-items: center;
  animation: slideIn 0.35s var(--ease);
}
@keyframes slideIn {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}
.drawer-item img {
  width: 66px; height: 66px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}
.drawer-item-info { flex: 1; min-width: 0; }
.drawer-item-info h4 {
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.drawer-item-info .drawer-price {
  font-size: 13px;
  color: var(--primary);
  font-weight: 700;
}
.drawer-qty {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}
.drawer-qty button {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--light-gray-2);
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.drawer-qty button:hover { background: var(--primary); color: #fff; }
.drawer-qty span { font-size: 13px; font-weight: 600; min-width: 22px; text-align: center; }

.drawer-remove {
  color: var(--gray-light);
  font-size: 16px;
  width: 28px; height: 28px;
  border-radius: 50%;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
}
.drawer-remove:hover { background: #fee2e2; color: var(--danger); }

.drawer-foot {
  padding: 22px 26px;
  border-top: 1px solid var(--border);
  background: var(--light-gray);
}
.drawer-foot .btn { margin-top: 16px; }

/* ============================================================
   BACK TO TOP
   ============================================================ */
.to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--grad-primary);
  color: #fff;
  font-size: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all 0.35s var(--ease);
  z-index: 400;
}
.to-top.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.to-top:hover { transform: translateY(-3px); }

/* ============================================================
   TOASTS
   ============================================================ */
.toast-stack {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
  width: min(380px, calc(100vw - 40px));
}
.toast {
  background: var(--dark);
  color: #fff;
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  font-weight: 500;
  font-size: 14px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transform: translateY(30px) scale(0.9);
  transition: all 0.4s var(--ease);
  pointer-events: auto;
}
.toast.show { opacity: 1; transform: translateY(0) scale(1); }
.toast.success { background: var(--grad-primary); }
.toast.error { background: linear-gradient(135deg, #dc2626, #991b1b); }

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  will-change: opacity, transform;
}
[data-reveal].revealed { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ============================================================
   SEARCH OVERLAY
   ============================================================ */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 700;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 15vh;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}
.search-overlay.open { opacity: 1; pointer-events: auto; }
.search-overlay-inner {
  width: min(640px, calc(100vw - 40px));
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 22px 26px;
  box-shadow: var(--shadow-lg);
  transform: translateY(-20px) scale(0.96);
  transition: transform 0.4s var(--ease);
}
.search-overlay.open .search-overlay-inner { transform: translateY(0) scale(1); }
.search-overlay-inner input {
  width: 100%;
  border: none;
  outline: none;
  font-size: 18px;
  padding: 14px 0;
  font-family: inherit;
  background: transparent;
}
.search-hint { font-size: 13px; color: var(--gray); margin-top: 8px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 50px; }
  .hero-visual { max-width: 520px; margin: 0 auto; }
  .product-detail, .cart-layout, .checkout-layout, .shop-layout, .auth-container { grid-template-columns: 1fr; }
  .categories, .features { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .testimonials { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .auth-left { display: none; }
  .product-gallery { position: static; }
  .filters { position: static; }
  .cart-summary { position: static; }
}

@media (max-width: 768px) {
  .nav { display: none; }
  .menu-toggle { display: flex; }
  .nav.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: #fff;
    padding: 26px 24px;
    box-shadow: 0 20px 40px rgba(15,23,42,0.12);
    gap: 16px;
    border-top: 1px solid var(--border);
    animation: slideDown 0.3s var(--ease);
  }
  .nav.mobile-open a { font-size: 16px; padding: 6px 0; }
  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-12px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .header-inner { padding: 14px 20px; }
  .container { padding: 0 20px; }
  .section { padding: 64px 0; }
  .hero { padding: 60px 0 80px; }
  .hero-stats { gap: 28px; }
  .hero-buttons .btn { flex: 1; }
  .float-card--1 { left: 0; }
  .float-card--2 { right: 0; }
  .newsletter-inner { flex-direction: column; text-align: center; }
  .newsletter-form { min-width: auto; width: 100%; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .product-body { padding: 14px; }
  .product-body h3 { font-size: 13.5px; }
  .price-current { font-size: 15px; }
  .btn-add { width: 32px; height: 32px; font-size: 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .cart-table { font-size: 13px; }
  .cart-table th, .cart-table td { padding: 12px 8px; }
  .cart-table th:nth-child(2),
  .cart-table td:nth-child(2) { display: none; }
  .cart-product img { width: 52px; height: 52px; }
  .cart-product h4 { font-size: 13px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .auth-right { padding: 40px 28px; }
  .to-top { bottom: 20px; right: 20px; width: 44px; height: 44px; }
  .product-actions .btn-primary { min-width: 0; flex: 1 1 100%; }
  .product-actions .btn-outline { width: 100%; }
  .page-header { padding: 54px 0; }
}

@media (max-width: 480px) {
  .categories, .features, .trust-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr 1fr; }
  .hero-text h1 { font-size: 28px; }
  .hero-stats strong { font-size: 22px; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; }
  .cart-summary { padding: 22px; }
  .section { padding: 52px 0; }
  .logo-text { font-size: 20px; }
  .filter-tabs { gap: 6px; }
  .filter-tab { padding: 8px 16px; font-size: 12.5px; }
  .toast-stack { width: calc(100vw - 32px); }
  .auth-right { padding: 32px 22px; }
  .social-login { grid-template-columns: 1fr; }
}