/* ============================================================
   SHOPIFY PRIME — DESIGN SYSTEM
   Modern eCommerce UI Kit | Bootstrap 5 Enhancement Layer
   ============================================================ */

/* ─── GOOGLE FONTS ──────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@400;600;700&display=swap');

/* ─── CSS CUSTOM PROPERTIES (DESIGN TOKENS) ─────────────── */
:root {
  /* ── Color Palette ── */
  --primary:       #1a1a2e;   /* Deep Navy */
  --primary-dark:  #0f0f1a;
  --primary-light: #2d2d4e;
  --secondary:     #e94560;   /* Vibrant Red-Pink */
  --secondary-dark:#c73652;
  --accent:        #f5a623;   /* Golden Amber */
  --accent-dark:   #e09410;

  /* ── Neutral Scale ── */
  --white:       #ffffff;
  --gray-50:     #f9fafb;
  --gray-100:    #f3f4f6;
  --gray-200:    #e5e7eb;
  --gray-300:    #d1d5db;
  --gray-400:    #9ca3af;
  --gray-500:    #6b7280;
  --gray-600:    #4b5563;
  --gray-700:    #374151;
  --gray-800:    #1f2937;
  --gray-900:    #111827;
  --black:       #000000;

  /* ── Semantic Colors ── */
  --success:  #10b981;
  --warning:  #f59e0b;
  --danger:   #ef4444;
  --info:     #3b82f6;

  /* ── Typography ── */
  --font-sans:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-mono:    'SF Mono', 'Fira Code', monospace;

  --text-xs:   0.75rem;    /* 12px */
  --text-sm:   0.875rem;   /* 14px */
  --text-base: 1rem;       /* 16px */
  --text-lg:   1.125rem;   /* 18px */
  --text-xl:   1.25rem;    /* 20px */
  --text-2xl:  1.5rem;     /* 24px */
  --text-3xl:  1.875rem;   /* 30px */
  --text-4xl:  2.25rem;    /* 36px */
  --text-5xl:  3rem;       /* 48px */
  --text-6xl:  3.75rem;    /* 60px */

  --weight-light:    300;
  --weight-normal:   400;
  --weight-medium:   500;
  --weight-semibold: 600;
  --weight-bold:     700;
  --weight-extrabold:800;
  --weight-black:    900;

  --leading-tight:  1.25;
  --leading-snug:   1.375;
  --leading-normal: 1.5;
  --leading-relaxed:1.625;
  --leading-loose:  2;

  /* ── Spacing (8px grid) ── */
  --space-1:  0.25rem;   /* 4px  */
  --space-2:  0.5rem;    /* 8px  */
  --space-3:  0.75rem;   /* 12px */
  --space-4:  1rem;      /* 16px */
  --space-5:  1.25rem;   /* 20px */
  --space-6:  1.5rem;    /* 24px */
  --space-8:  2rem;      /* 32px */
  --space-10: 2.5rem;    /* 40px */
  --space-12: 3rem;      /* 48px */
  --space-16: 4rem;      /* 64px */
  --space-20: 5rem;      /* 80px */
  --space-24: 6rem;      /* 96px */
  --space-32: 8rem;      /* 128px */

  /* ── Border Radius ── */
  --radius-sm:   0.375rem;   /* 6px  */
  --radius-md:   0.5rem;     /* 8px  */
  --radius-lg:   0.75rem;    /* 12px */
  --radius-xl:   1rem;       /* 16px */
  --radius-2xl:  1.5rem;     /* 24px */
  --radius-full: 9999px;

  /* ── Shadows ── */
  --shadow-xs:  0 1px 2px 0 rgba(0,0,0,.05);
  --shadow-sm:  0 1px 3px 0 rgba(0,0,0,.10), 0 1px 2px -1px rgba(0,0,0,.10);
  --shadow-md:  0 4px 6px -1px rgba(0,0,0,.10), 0 2px 4px -2px rgba(0,0,0,.10);
  --shadow-lg:  0 10px 15px -3px rgba(0,0,0,.10), 0 4px 6px -4px rgba(0,0,0,.10);
  --shadow-xl:  0 20px 25px -5px rgba(0,0,0,.10), 0 8px 10px -6px rgba(0,0,0,.10);
  --shadow-2xl: 0 25px 50px -12px rgba(0,0,0,.25);
  --shadow-glow:0 0 20px rgba(233,69,96,.35);

  /* ── Transitions ── */
  --ease-fast:   all .15s ease;
  --ease-normal: all .25s ease;
  --ease-slow:   all .40s ease;
  --ease-bounce: all .3s cubic-bezier(.34,1.56,.64,1);

  /* ── Z-Index Scale ── */
  --z-base:    1;
  --z-dropdown:100;
  --z-sticky:  200;
  --z-fixed:   300;
  --z-modal:   400;
  --z-toast:   500;
}

/* ─── DARK MODE ──────────────────────────────────────────── */
[data-theme="dark"] {
  --primary:       #e94560;
  --primary-dark:  #c73652;
  --primary-light: #f06b82;
  --secondary:     #f5a623;
  --body-bg:       #0f0f1a;
  --surface:       #1a1a2e;
  --surface-2:     #2d2d4e;
  --text-primary:  #f9fafb;
  --text-secondary:#9ca3af;
  --border-color:  #374151;
}

/* ─── BASE RESET ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--gray-800);
  background-color: var(--gray-50);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; transition: var(--ease-fast); }

/* ─── TYPOGRAPHY ─────────────────────────────────────────── */
.display-font { font-family: var(--font-display); }
h1, .h1 { font-size: clamp(2rem, 5vw, var(--text-5xl)); font-weight: var(--weight-extrabold); line-height: var(--leading-tight); letter-spacing: -0.025em; }
h2, .h2 { font-size: clamp(1.5rem, 3.5vw, var(--text-4xl)); font-weight: var(--weight-bold); line-height: var(--leading-tight); letter-spacing: -0.02em; }
h3, .h3 { font-size: clamp(1.25rem, 2.5vw, var(--text-3xl)); font-weight: var(--weight-semibold); line-height: var(--leading-snug); }
h4, .h4 { font-size: var(--text-xl); font-weight: var(--weight-semibold); }
h5, .h5 { font-size: var(--text-lg); font-weight: var(--weight-medium); }

.section-title { font-weight: var(--weight-bold); color: var(--gray-900); margin-bottom: var(--space-2); }
.section-subtitle { color: var(--gray-500); font-size: var(--text-sm); text-transform: uppercase; letter-spacing: 0.1em; font-weight: var(--weight-semibold); margin-bottom: var(--space-3); }

/* ─── BUTTON SYSTEM ──────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); font-family: var(--font-sans); font-weight: var(--weight-semibold); font-size: var(--text-sm); line-height: 1; cursor: pointer; border: 2px solid transparent; border-radius: var(--radius-lg); padding: var(--space-3) var(--space-6); transition: var(--ease-normal); white-space: nowrap; letter-spacing: 0.01em; user-select: none; position: relative; overflow: hidden; }
.btn::after { content: ''; position: absolute; inset: 0; background: rgba(255,255,255,0); transition: var(--ease-fast); }
.btn:hover::after { background: rgba(255,255,255,.08); }
.btn:active { transform: scale(.98); }

.btn-primary { background: var(--secondary); color: var(--white); border-color: var(--secondary); box-shadow: 0 4px 14px rgba(233,69,96,.4); }
.btn-primary:hover { background: var(--secondary-dark); border-color: var(--secondary-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(233,69,96,.5); color: var(--white); }

.btn-dark { background: var(--primary); color: var(--white); border-color: var(--primary); }
.btn-dark:hover { background: var(--primary-light); border-color: var(--primary-light); transform: translateY(-1px); color: var(--white); }

.btn-outline { background: transparent; color: var(--gray-800); border-color: var(--gray-300); }
.btn-outline:hover { border-color: var(--secondary); color: var(--secondary); background: rgba(233,69,96,.05); }

.btn-outline-primary { background: transparent; color: var(--secondary); border-color: var(--secondary); }
.btn-outline-primary:hover { background: var(--secondary); color: var(--white); transform: translateY(-1px); }

.btn-ghost { background: transparent; color: var(--gray-600); border-color: transparent; }
.btn-ghost:hover { background: var(--gray-100); color: var(--gray-900); }

.btn-white { background: var(--white); color: var(--primary); border-color: var(--white); }
.btn-white:hover { background: var(--gray-100); transform: translateY(-1px); }

.btn-success { background: var(--success); color: var(--white); border-color: var(--success); }
.btn-success:hover { filter: brightness(1.1); transform: translateY(-1px); color: var(--white); }

/* Sizes */
.btn-sm { padding: var(--space-2) var(--space-4); font-size: var(--text-xs); border-radius: var(--radius-md); }
.btn-lg { padding: var(--space-4) var(--space-8); font-size: var(--text-base); border-radius: var(--radius-xl); }
.btn-xl { padding: var(--space-5) var(--space-10); font-size: var(--text-lg); border-radius: var(--radius-xl); }
.btn-icon { width: 40px; height: 40px; padding: 0; border-radius: var(--radius-lg); }
.btn-icon-sm { width: 32px; height: 32px; padding: 0; border-radius: var(--radius-md); }
.btn-block { width: 100%; }

/* ─── BADGES ─────────────────────────────────────────────── */
.badge { display: inline-flex; align-items: center; font-size: var(--text-xs); font-weight: var(--weight-semibold); padding: 2px 8px; border-radius: var(--radius-full); letter-spacing: 0.03em; line-height: 1.5; }
.badge-primary { background: rgba(233,69,96,.12); color: var(--secondary); }
.badge-success { background: rgba(16,185,129,.12); color: var(--success); }
.badge-warning { background: rgba(245,158,11,.12); color: var(--warning); }
.badge-danger  { background: rgba(239,68,68,.12); color: var(--danger); }
.badge-dark    { background: var(--primary); color: var(--white); }
.badge-sale    { background: var(--secondary); color: var(--white); }
.badge-new     { background: var(--success); color: var(--white); }
.badge-hot     { background: var(--accent); color: var(--white); }

/* ─── FORM SYSTEM ────────────────────────────────────────── */
.form-label { font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--gray-700); margin-bottom: var(--space-2); display: block; }
.form-control, .form-select {
  width: 100%; padding: var(--space-3) var(--space-4);
  font-family: var(--font-sans); font-size: var(--text-sm);
  color: var(--gray-900); background: var(--white);
  border: 1.5px solid var(--gray-200); border-radius: var(--radius-lg);
  transition: var(--ease-fast); outline: none;
  box-shadow: var(--shadow-xs);
}
.form-control:focus, .form-select:focus { border-color: var(--secondary); box-shadow: 0 0 0 3px rgba(233,69,96,.15); }
.form-control::placeholder { color: var(--gray-400); }
.form-control-lg { padding: var(--space-4) var(--space-5); font-size: var(--text-base); }
.input-group { position: relative; display: flex; }
.input-group .form-control { border-radius: var(--radius-lg) 0 0 var(--radius-lg); }
.input-group-btn { border-radius: 0 var(--radius-lg) var(--radius-lg) 0; }
.form-check-input:checked { background-color: var(--secondary); border-color: var(--secondary); }
.range-slider { accent-color: var(--secondary); }

/* ─── CARD SYSTEM ────────────────────────────────────────── */
.card-base { background: var(--white); border-radius: var(--radius-xl); border: 1px solid var(--gray-100); box-shadow: var(--shadow-sm); transition: var(--ease-normal); overflow: hidden; }
.card-base:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }

/* Product Card */
.product-card { position: relative; background: var(--white); border-radius: var(--radius-xl); border: 1px solid var(--gray-100); overflow: hidden; transition: var(--ease-normal); }
.product-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-4px); }
.product-card:hover .product-card-actions { opacity: 1; transform: translateY(0); }
.product-card-image { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--gray-100); }
.product-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .product-card-image img { transform: scale(1.06); }
.product-card-badges { position: absolute; top: var(--space-3); left: var(--space-3); display: flex; flex-direction: column; gap: var(--space-1); z-index: 2; }
.product-card-wishlist { position: absolute; top: var(--space-3); right: var(--space-3); z-index: 2; }
.product-card-actions { position: absolute; bottom: 0; left: 0; right: 0; padding: var(--space-3); background: linear-gradient(to top, rgba(255,255,255,.98) 0%, rgba(255,255,255,.85) 100%); display: flex; gap: var(--space-2); opacity: 0; transform: translateY(8px); transition: var(--ease-normal); }
.product-card-body { padding: var(--space-4); }
.product-card-brand { font-size: var(--text-xs); font-weight: var(--weight-semibold); color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: var(--space-1); }
.product-card-title { font-size: var(--text-sm); font-weight: var(--weight-semibold); color: var(--gray-900); margin-bottom: var(--space-2); line-height: var(--leading-snug); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-card-price { display: flex; align-items: center; gap: var(--space-2); flex-wrap: wrap; }
.price-current { font-size: var(--text-lg); font-weight: var(--weight-bold); color: var(--gray-900); }
.price-original { font-size: var(--text-sm); color: var(--gray-400); text-decoration: line-through; }
.price-discount { font-size: var(--text-xs); font-weight: var(--weight-semibold); color: var(--success); }

/* Star Rating */
.star-rating { display: inline-flex; align-items: center; gap: 2px; color: var(--accent); font-size: var(--text-xs); }
.star-rating .count { color: var(--gray-400); font-size: var(--text-xs); margin-left: var(--space-1); }

/* ─── NAVBAR ─────────────────────────────────────────────── */
.navbar-custom { background: var(--primary); padding: var(--space-3) 0; position: sticky; top: 0; z-index: var(--z-fixed); box-shadow: 0 2px 20px rgba(0,0,0,.3); }
.navbar-brand-text { font-family: var(--font-display); font-size: var(--text-2xl); font-weight: var(--weight-bold); color: var(--white) !important; letter-spacing: -0.02em; }
.navbar-brand-text span { color: var(--secondary); }
.nav-search-wrap { flex: 1; max-width: 500px; margin: 0 var(--space-6); }
.nav-search { display: flex; background: var(--white); border-radius: var(--radius-full); overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,.2); }
.nav-search .form-control { border: none; border-radius: 0; background: transparent; padding: var(--space-2) var(--space-4); font-size: var(--text-sm); box-shadow: none; }
.nav-search .form-control:focus { box-shadow: none; }
.nav-search-btn { background: var(--secondary); border: none; color: var(--white); padding: var(--space-2) var(--space-4); cursor: pointer; transition: var(--ease-fast); }
.nav-search-btn:hover { background: var(--secondary-dark); }
.nav-icon-btn { background: none; border: none; color: var(--white); font-size: var(--text-xl); cursor: pointer; padding: var(--space-2); border-radius: var(--radius-md); transition: var(--ease-fast); position: relative; }
.nav-icon-btn:hover { background: rgba(255,255,255,.1); }
.nav-badge { position: absolute; top: 0; right: 0; background: var(--secondary); color: var(--white); font-size: 9px; font-weight: var(--weight-bold); width: 16px; height: 16px; border-radius: var(--radius-full); display: flex; align-items: center; justify-content: center; }
.navbar-sub { background: var(--primary-dark); padding: var(--space-2) 0; border-top: 1px solid rgba(255,255,255,.08); }
.navbar-sub .nav-link { color: rgba(255,255,255,.75) !important; font-size: var(--text-sm); font-weight: var(--weight-medium); padding: var(--space-1) var(--space-3) !important; border-radius: var(--radius-md); transition: var(--ease-fast); }
.navbar-sub .nav-link:hover { color: var(--white) !important; background: rgba(255,255,255,.08); }

/* ─── HERO ────────────────────────────────────────────────── */
.hero { position: relative; min-height: 90vh; display: flex; align-items: center; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 40%, #1e1e3f 100%); overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.hero-content { position: relative; z-index: 2; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: var(--space-2); background: rgba(233,69,96,.2); border: 1px solid rgba(233,69,96,.4); color: #fca5b5; font-size: var(--text-xs); font-weight: var(--weight-semibold); padding: var(--space-2) var(--space-4); border-radius: var(--radius-full); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: var(--space-6); }
.hero-title { color: var(--white); margin-bottom: var(--space-6); font-weight: var(--weight-black); }
.hero-title .highlight { color: var(--secondary); position: relative; }
.hero-description { color: rgba(255,255,255,.7); font-size: var(--text-lg); line-height: var(--leading-relaxed); margin-bottom: var(--space-8); max-width: 520px; }
.hero-stats { display: flex; gap: var(--space-8); margin-top: var(--space-8); }
.hero-stat-value { font-size: var(--text-3xl); font-weight: var(--weight-black); color: var(--white); line-height: 1; }
.hero-stat-label { font-size: var(--text-xs); color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: 0.08em; margin-top: var(--space-1); }
.hero-image-container { position: relative; }
.hero-image-glow { position: absolute; inset: -40px; background: radial-gradient(circle, rgba(233,69,96,.3) 0%, transparent 70%); z-index: 0; }
.hero-image { position: relative; z-index: 1; border-radius: var(--radius-2xl); overflow: hidden; box-shadow: var(--shadow-2xl); }
.hero-floating-card { position: absolute; background: var(--white); border-radius: var(--radius-xl); padding: var(--space-4); box-shadow: var(--shadow-xl); display: flex; align-items: center; gap: var(--space-3); z-index: 3; animation: float 3s ease-in-out infinite; }
.hero-floating-card.card-1 { bottom: 10%; left: -20px; }
.hero-floating-card.card-2 { top: 15%; right: -20px; animation-delay: 1.5s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ─── SECTION HEADERS ────────────────────────────────────── */
.section-header { margin-bottom: var(--space-10); }
.section-header .line { width: 48px; height: 4px; background: linear-gradient(90deg, var(--secondary), var(--accent)); border-radius: var(--radius-full); margin-bottom: var(--space-3); }

/* ─── CATEGORY CARDS ─────────────────────────────────────── */
.category-card { position: relative; border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 1; cursor: pointer; }
.category-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(26,26,46,.85) 0%, rgba(26,26,46,.2) 60%, transparent 100%); transition: var(--ease-normal); }
.category-card:hover::after { background: linear-gradient(to top, rgba(233,69,96,.85) 0%, rgba(233,69,96,.3) 60%, transparent 100%); }
.category-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.category-card:hover img { transform: scale(1.08); }
.category-card-label { position: absolute; bottom: 0; left: 0; right: 0; z-index: 2; padding: var(--space-4); }
.category-card-label h5 { color: var(--white); font-weight: var(--weight-bold); margin-bottom: 2px; }
.category-card-label span { color: rgba(255,255,255,.7); font-size: var(--text-xs); }

/* ─── PROMO BANNERS ──────────────────────────────────────── */
.promo-banner { border-radius: var(--radius-2xl); overflow: hidden; position: relative; }
.promo-banner-inner { padding: var(--space-10) var(--space-12); position: relative; z-index: 2; }
.promo-banner-tag { display: inline-block; background: rgba(255,255,255,.2); backdrop-filter: blur(10px); color: var(--white); font-size: var(--text-xs); font-weight: var(--weight-semibold); padding: var(--space-1) var(--space-3); border-radius: var(--radius-full); margin-bottom: var(--space-3); text-transform: uppercase; letter-spacing: 0.08em; }

/* ─── TRUST BADGES ───────────────────────────────────────── */
.trust-strip { background: var(--white); border-top: 1px solid var(--gray-100); border-bottom: 1px solid var(--gray-100); padding: var(--space-6) 0; }
.trust-item { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-4); }
.trust-icon { width: 48px; height: 48px; background: rgba(233,69,96,.08); border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; color: var(--secondary); font-size: var(--text-xl); flex-shrink: 0; }
.trust-title { font-weight: var(--weight-semibold); font-size: var(--text-sm); color: var(--gray-900); }
.trust-desc { font-size: var(--text-xs); color: var(--gray-500); margin-top: 2px; }

/* ─── TESTIMONIALS ───────────────────────────────────────── */
.testimonial-card { background: var(--white); border-radius: var(--radius-xl); padding: var(--space-6); border: 1px solid var(--gray-100); box-shadow: var(--shadow-sm); transition: var(--ease-normal); }
.testimonial-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.testimonial-quote { font-size: var(--text-sm); color: var(--gray-600); line-height: var(--leading-relaxed); margin-bottom: var(--space-5); font-style: italic; }
.testimonial-quote::before { content: '\201C'; font-size: 2.5em; color: var(--secondary); line-height: 0; vertical-align: -0.4em; margin-right: var(--space-1); font-family: var(--font-display); }
.testimonial-avatar { width: 44px; height: 44px; border-radius: var(--radius-full); object-fit: cover; border: 2px solid var(--gray-100); }

/* ─── FILTER SIDEBAR ─────────────────────────────────────── */
.filter-sidebar { background: var(--white); border-radius: var(--radius-xl); border: 1px solid var(--gray-100); padding: var(--space-6); position: sticky; top: 80px; }
.filter-group { margin-bottom: var(--space-6); padding-bottom: var(--space-6); border-bottom: 1px solid var(--gray-100); }
.filter-group:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.filter-group-title { font-size: var(--text-sm); font-weight: var(--weight-semibold); color: var(--gray-900); margin-bottom: var(--space-4); display: flex; align-items: center; justify-content: space-between; }
.filter-checkbox { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-2); cursor: pointer; }
.filter-checkbox input { width: 16px; height: 16px; accent-color: var(--secondary); cursor: pointer; }
.filter-checkbox label { font-size: var(--text-sm); color: var(--gray-600); cursor: pointer; flex: 1; }
.filter-checkbox .count { font-size: var(--text-xs); color: var(--gray-400); }
.price-range-display { display: flex; justify-content: space-between; font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--gray-700); margin-bottom: var(--space-3); }
.color-swatch { width: 24px; height: 24px; border-radius: var(--radius-full); cursor: pointer; border: 2px solid transparent; transition: var(--ease-fast); }
.color-swatch:hover, .color-swatch.active { border-color: var(--gray-400); transform: scale(1.15); }

/* ─── PRODUCT DETAIL ─────────────────────────────────────── */
.gallery-main { border-radius: var(--radius-xl); overflow: hidden; background: var(--gray-50); aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border: 1px solid var(--gray-100); position: relative; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-zoom-btn { position: absolute; top: var(--space-3); right: var(--space-3); background: var(--white); border: none; width: 36px; height: 36px; border-radius: var(--radius-md); box-shadow: var(--shadow-md); cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--gray-600); }
.gallery-thumb { border-radius: var(--radius-md); overflow: hidden; cursor: pointer; border: 2px solid transparent; aspect-ratio: 1; background: var(--gray-100); transition: var(--ease-fast); }
.gallery-thumb:hover, .gallery-thumb.active { border-color: var(--secondary); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-detail-brand { font-size: var(--text-xs); font-weight: var(--weight-semibold); color: var(--secondary); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: var(--space-2); }
.product-detail-title { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: var(--weight-bold); color: var(--gray-900); line-height: var(--leading-tight); margin-bottom: var(--space-4); }
.product-price-wrap { display: flex; align-items: baseline; gap: var(--space-3); margin-bottom: var(--space-5); }
.product-price-current { font-size: var(--text-4xl); font-weight: var(--weight-black); color: var(--gray-900); line-height: 1; }
.product-price-original { font-size: var(--text-xl); color: var(--gray-400); text-decoration: line-through; }
.product-price-save { font-size: var(--text-sm); font-weight: var(--weight-semibold); color: var(--success); background: rgba(16,185,129,.1); padding: 2px 8px; border-radius: var(--radius-full); }
.option-group { margin-bottom: var(--space-5); }
.option-label { font-size: var(--text-sm); font-weight: var(--weight-semibold); color: var(--gray-700); margin-bottom: var(--space-3); }
.option-swatch { width: 40px; height: 40px; border-radius: var(--radius-md); cursor: pointer; border: 2px solid transparent; transition: var(--ease-bounce); }
.option-swatch:hover, .option-swatch.active { border-color: var(--gray-800); transform: scale(1.1); }
.size-btn { min-width: 48px; height: 40px; padding: 0 var(--space-3); font-size: var(--text-sm); font-weight: var(--weight-medium); border: 1.5px solid var(--gray-200); border-radius: var(--radius-md); cursor: pointer; background: var(--white); color: var(--gray-700); transition: var(--ease-fast); }
.size-btn:hover, .size-btn.active { border-color: var(--secondary); color: var(--secondary); background: rgba(233,69,96,.05); }
.size-btn.disabled { opacity: .35; cursor: not-allowed; text-decoration: line-through; }
.qty-control { display: flex; align-items: center; gap: var(--space-2); background: var(--gray-100); border-radius: var(--radius-lg); padding: var(--space-1); }
.qty-btn { width: 36px; height: 36px; border: none; background: transparent; font-size: var(--text-lg); cursor: pointer; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; color: var(--gray-700); transition: var(--ease-fast); }
.qty-btn:hover { background: var(--white); color: var(--secondary); }
.qty-input { width: 48px; text-align: center; border: none; background: transparent; font-size: var(--text-base); font-weight: var(--weight-semibold); color: var(--gray-900); outline: none; }
.product-tabs .nav-link { color: var(--gray-500); font-weight: var(--weight-medium); padding: var(--space-3) var(--space-5); border: none; border-bottom: 2px solid transparent; border-radius: 0; transition: var(--ease-fast); }
.product-tabs .nav-link.active, .product-tabs .nav-link:hover { color: var(--secondary); border-bottom-color: var(--secondary); }

/* ─── CART ────────────────────────────────────────────────── */
.cart-item { background: var(--white); border-radius: var(--radius-xl); border: 1px solid var(--gray-100); padding: var(--space-5); display: flex; gap: var(--space-5); transition: var(--ease-normal); }
.cart-item:hover { box-shadow: var(--shadow-md); }
.cart-item-image { width: 100px; height: 100px; border-radius: var(--radius-lg); overflow: hidden; background: var(--gray-100); flex-shrink: 0; }
.cart-item-image img { width: 100%; height: 100%; object-fit: cover; }
.order-summary { background: var(--white); border-radius: var(--radius-xl); border: 1px solid var(--gray-100); padding: var(--space-6); position: sticky; top: 80px; }
.order-row { display: flex; justify-content: space-between; align-items: center; padding: var(--space-3) 0; border-bottom: 1px solid var(--gray-100); }
.order-row:last-child { border-bottom: none; }
.order-row.total { font-size: var(--text-lg); font-weight: var(--weight-bold); color: var(--gray-900); border-top: 2px solid var(--gray-200); margin-top: var(--space-2); padding-top: var(--space-4); }

/* ─── CHECKOUT ───────────────────────────────────────────── */
.checkout-step-bar { display: flex; align-items: center; justify-content: center; gap: 0; margin-bottom: var(--space-10); overflow: hidden; }
.step-item { display: flex; align-items: center; flex: 1; max-width: 200px; }
.step-circle { width: 40px; height: 40px; border-radius: var(--radius-full); border: 2px solid var(--gray-200); display: flex; align-items: center; justify-content: center; font-size: var(--text-sm); font-weight: var(--weight-semibold); color: var(--gray-400); background: var(--white); flex-shrink: 0; transition: var(--ease-normal); }
.step-circle.active { border-color: var(--secondary); color: var(--secondary); box-shadow: 0 0 0 4px rgba(233,69,96,.15); }
.step-circle.done { background: var(--secondary); border-color: var(--secondary); color: var(--white); }
.step-line { flex: 1; height: 2px; background: var(--gray-200); transition: var(--ease-normal); }
.step-line.done { background: var(--secondary); }
.step-label { font-size: var(--text-xs); text-align: center; color: var(--gray-400); margin-top: var(--space-2); }
.step-label.active { color: var(--secondary); font-weight: var(--weight-semibold); }
.payment-card-input { background: var(--gray-50); border-radius: var(--radius-xl); padding: var(--space-6); border: 1px solid var(--gray-200); }
.card-number-display { font-family: var(--font-mono); letter-spacing: 0.2em; font-size: var(--text-xl); color: var(--gray-700); }

/* ─── ACCOUNT ────────────────────────────────────────────── */
.account-sidebar { background: var(--white); border-radius: var(--radius-xl); border: 1px solid var(--gray-100); overflow: hidden; }
.account-nav-item { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-4) var(--space-5); color: var(--gray-600); font-size: var(--text-sm); font-weight: var(--weight-medium); cursor: pointer; border-left: 3px solid transparent; transition: var(--ease-fast); }
.account-nav-item:hover { background: var(--gray-50); color: var(--gray-900); }
.account-nav-item.active { background: rgba(233,69,96,.06); color: var(--secondary); border-left-color: var(--secondary); font-weight: var(--weight-semibold); }
.account-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); margin-bottom: var(--space-6); }
.account-stat-card { background: var(--white); border-radius: var(--radius-xl); border: 1px solid var(--gray-100); padding: var(--space-5); text-align: center; }
.order-history-card { background: var(--white); border-radius: var(--radius-xl); border: 1px solid var(--gray-100); padding: var(--space-5); transition: var(--ease-normal); }
.order-history-card:hover { box-shadow: var(--shadow-md); }

/* ─── AUTH PAGES ─────────────────────────────────────────── */
.auth-wrapper { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-panel-left { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; padding: var(--space-12); }
.auth-panel-left::before { content: ''; position: absolute; width: 600px; height: 600px; border-radius: var(--radius-full); background: rgba(233,69,96,.15); top: -200px; right: -200px; }
.auth-panel-left::after { content: ''; position: absolute; width: 400px; height: 400px; border-radius: var(--radius-full); background: rgba(245,166,35,.1); bottom: -150px; left: -100px; }
.auth-panel-right { background: var(--white); display: flex; align-items: center; justify-content: center; padding: var(--space-12); }
.auth-form-wrap { width: 100%; max-width: 420px; }
.auth-social-btn { display: flex; align-items: center; justify-content: center; gap: var(--space-3); width: 100%; padding: var(--space-3); border: 1.5px solid var(--gray-200); border-radius: var(--radius-lg); background: var(--white); font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--gray-700); cursor: pointer; transition: var(--ease-fast); }
.auth-social-btn:hover { border-color: var(--gray-400); background: var(--gray-50); }
.auth-divider { display: flex; align-items: center; gap: var(--space-4); margin: var(--space-5) 0; color: var(--gray-400); font-size: var(--text-sm); }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--gray-200); }
.password-toggle { position: absolute; right: var(--space-4); top: 50%; transform: translateY(-50%); background: none; border: none; color: var(--gray-400); cursor: pointer; font-size: var(--text-lg); transition: var(--ease-fast); }
.password-toggle:hover { color: var(--gray-700); }

/* ─── BLOG ────────────────────────────────────────────────── */
.blog-card { background: var(--white); border-radius: var(--radius-xl); border: 1px solid var(--gray-100); overflow: hidden; transition: var(--ease-normal); }
.blog-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-4px); }
.blog-card-image { aspect-ratio: 16/10; overflow: hidden; }
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.blog-card:hover .blog-card-image img { transform: scale(1.05); }
.blog-card-body { padding: var(--space-5); }
.blog-category { font-size: var(--text-xs); font-weight: var(--weight-semibold); color: var(--secondary); text-transform: uppercase; letter-spacing: 0.08em; }
.blog-tag { display: inline-flex; align-items: center; padding: var(--space-1) var(--space-3); background: var(--gray-100); color: var(--gray-600); border-radius: var(--radius-full); font-size: var(--text-xs); font-weight: var(--weight-medium); transition: var(--ease-fast); }
.blog-tag:hover { background: rgba(233,69,96,.1); color: var(--secondary); }

/* ─── FOOTER ─────────────────────────────────────────────── */
.footer { background: var(--primary); color: rgba(255,255,255,.7); }
.footer-top { padding: var(--space-16) 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand { font-family: var(--font-display); font-size: var(--text-2xl); font-weight: var(--weight-bold); color: var(--white); margin-bottom: var(--space-4); }
.footer-brand span { color: var(--secondary); }
.footer-desc { font-size: var(--text-sm); line-height: var(--leading-relaxed); margin-bottom: var(--space-6); max-width: 280px; }
.footer-heading { font-size: var(--text-sm); font-weight: var(--weight-semibold); color: var(--white); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: var(--space-5); }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: var(--space-3); }
.footer-links a { font-size: var(--text-sm); color: rgba(255,255,255,.6); transition: var(--ease-fast); display: inline-flex; align-items: center; gap: var(--space-2); }
.footer-links a:hover { color: var(--secondary); transform: translateX(3px); }
.footer-newsletter { background: rgba(255,255,255,.05); border-radius: var(--radius-xl); padding: var(--space-6); border: 1px solid rgba(255,255,255,.08); }
.footer-newsletter input { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.1); color: var(--white); }
.footer-newsletter input::placeholder { color: rgba(255,255,255,.35); }
.footer-bottom { padding: var(--space-5) 0; font-size: var(--text-xs); color: rgba(255,255,255,.4); }
.social-icon { width: 38px; height: 38px; border-radius: var(--radius-md); background: rgba(255,255,255,.08); display: inline-flex; align-items: center; justify-content: center; color: rgba(255,255,255,.6); font-size: var(--text-base); transition: var(--ease-normal); }
.social-icon:hover { background: var(--secondary); color: var(--white); transform: translateY(-2px); }

/* ─── MODAL ───────────────────────────────────────────────── */
.modal-custom .modal-content { border-radius: var(--radius-2xl); border: none; box-shadow: var(--shadow-2xl); }
.modal-custom .modal-header { border-bottom: 1px solid var(--gray-100); padding: var(--space-5) var(--space-6); }
.modal-custom .modal-body { padding: var(--space-6); }
.quick-view-modal .product-actions { display: flex; gap: var(--space-3); }

/* ─── TOAST ───────────────────────────────────────────────── */
.toast-container { position: fixed; bottom: var(--space-6); right: var(--space-6); z-index: var(--z-toast); display: flex; flex-direction: column; gap: var(--space-3); }
.toast-custom { background: var(--white); border-radius: var(--radius-xl); box-shadow: var(--shadow-2xl); padding: var(--space-4) var(--space-5); display: flex; align-items: center; gap: var(--space-3); min-width: 300px; border-left: 4px solid var(--success); animation: slideInRight .3s ease; }
.toast-custom.toast-error { border-left-color: var(--danger); }
.toast-custom.toast-info { border-left-color: var(--info); }
@keyframes slideInRight { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ─── SKELETON LOADING ───────────────────────────────────── */
.skeleton { background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-200) 50%, var(--gray-100) 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: var(--radius-md); }
.skeleton-card { border-radius: var(--radius-xl); overflow: hidden; background: var(--white); border: 1px solid var(--gray-100); }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.skeleton-img  { aspect-ratio: 1; }
.skeleton-text { height: 14px; margin-bottom: var(--space-2); }
.skeleton-text.w-80 { width: 80%; }
.skeleton-text.w-60 { width: 60%; }
.skeleton-text.w-40 { width: 40%; }
.skeleton-title { height: 20px; margin-bottom: var(--space-3); }

/* ─── UTILITIES ──────────────────────────────────────────── */
.section-pad { padding: var(--space-20) 0; }
.section-pad-sm { padding: var(--space-12) 0; }
.rounded-xl { border-radius: var(--radius-xl) !important; }
.rounded-2xl { border-radius: var(--radius-2xl) !important; }
.text-gradient { background: linear-gradient(135deg, var(--secondary), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.text-primary-custom { color: var(--secondary) !important; }
.bg-primary-custom { background-color: var(--primary) !important; }
.border-primary-custom { border-color: var(--secondary) !important; }
.divide-y > * + * { border-top: 1px solid var(--gray-100); }
.hover-lift { transition: var(--ease-normal); }
.hover-lift:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.overlay-dark { background: rgba(26,26,46,.6); }
.bg-gradient-primary { background: linear-gradient(135deg, var(--primary), var(--primary-light)); }
.bg-gradient-accent { background: linear-gradient(135deg, var(--secondary), var(--accent)); }
.text-muted-custom { color: var(--gray-500) !important; }

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 991.98px) {
  .hero { min-height: 60vh; }
  .hero-image-container { display: none; }
  .auth-wrapper { grid-template-columns: 1fr; }
  .auth-panel-left { display: none; }
  .filter-sidebar { position: static; margin-bottom: var(--space-6); }
  .checkout-step-bar .step-label { display: none; }
}
@media (max-width: 767.98px) {
  .section-pad { padding: var(--space-12) 0; }
  .hero-stats { gap: var(--space-6); }
  .hero-floating-card { display: none; }
  .promo-banner-inner { padding: var(--space-8); }
  .cart-item { flex-wrap: wrap; }
  .cart-item-image { width: 80px; height: 80px; }
  .navbar-sub { display: none; }
  .account-stats { grid-template-columns: 1fr; }
}
@media (max-width: 575.98px) {
  .nav-search-wrap { max-width: none; margin: var(--space-2) 0; }
  .hero-title { font-size: 2rem; }
  .trust-strip .row > div:nth-child(n+3) { display: none; }
}
