/* ==========================================================================
   FitStore — Premium Fitness & Wellness theme
   Custom CSS layered on top of Bootstrap 5
   ========================================================================== */

:root {
  --primary: #1a1a2e;
  --secondary: #16213e;
  --accent: #e94560;
  --accent-2: #0f3460;
  --accent-dark: #c9304a;
  --bg: #f8f9fa;
  --surface: #ffffff;
  --text-dark: #1a1a2e;
  --text-muted: #6b7280;
  --text-light: #ffffff;
  --success: #28a745;
  --warning: #ffc107;
  --danger: #e94560;
  --border: #e5e7eb;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(26, 26, 46, .06);
  --shadow: 0 8px 30px rgba(26, 26, 46, .10);
  --shadow-lg: 0 20px 60px rgba(26, 26, 46, .18);
  --shadow-accent: 0 10px 30px rgba(233, 69, 96, .35);

  --gradient-dark: linear-gradient(135deg, #1a1a2e 0%, #16213e 55%, #0f3460 100%);
  --gradient-accent: linear-gradient(135deg, #e94560 0%, #ff6b6b 100%);

  --font-head: 'Montserrat', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --nav-h: 74px;
}

/* --------------------------------------------------------------- Base ----- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--bg);
  margin: 0;
  padding-top: var(--nav-h);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .h-font {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--text-dark);
}

a { color: var(--accent-2); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--accent); }

img { max-width: 100%; }

.container-fs { max-width: 1240px; margin: 0 auto; padding: 0 20px; }

.text-accent { color: var(--accent) !important; }
.bg-primary-fs { background: var(--primary) !important; color: #fff; }
.bg-gradient-dark { background: var(--gradient-dark) !important; color: #fff; }

.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: .35rem;
  position: relative;
}
.section-subtitle { color: var(--text-muted); margin-bottom: 2.2rem; font-size: 1.02rem; }
.section-head-line::after {
  content: ""; display: block; width: 60px; height: 4px;
  background: var(--gradient-accent); border-radius: 4px; margin-top: 14px;
}
.section-head-line.text-center::after { margin-left: auto; margin-right: auto; }

/* --------------------------------------------------------------- Buttons -- */
.btn { font-family: var(--font-head); font-weight: 600; border-radius: 50px; padding: .7rem 1.6rem; transition: all .25s ease; border: none; }
.btn-lg { padding: .95rem 2.3rem; font-size: 1.02rem; }

.btn-accent { background: var(--gradient-accent); color: #fff; box-shadow: var(--shadow-accent); }
.btn-accent:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 38px rgba(233,69,96,.45); }

.btn-dark-fs { background: var(--primary); color: #fff; }
.btn-dark-fs:hover { background: var(--secondary); color: #fff; transform: translateY(-2px); }

.btn-outline-fs { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline-fs:hover { background: var(--primary); color: #fff; }

.btn-outline-light-fs { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.55); }
.btn-outline-light-fs:hover { background: #fff; color: var(--primary); }

.btn-pulse { animation: pulse 2.4s infinite; }

/* --------------------------------------------------------------- Navbar --- */
.navbar-fs {
  position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h);
  background: rgba(26, 26, 46, .96);
  backdrop-filter: blur(10px);
  z-index: 1030;
  display: flex; align-items: center;
  transition: box-shadow .3s ease, background .3s ease;
}
.navbar-fs.scrolled { box-shadow: 0 6px 24px rgba(0,0,0,.25); }
.navbar-fs .container-fs { display: flex; align-items: center; justify-content: space-between; width: 100%; }

.navbar-logo { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; color: #fff; letter-spacing: -.03em; display: flex; align-items: center; gap: .3rem; }
.navbar-logo:hover { color: #fff; }
.navbar-logo .logo-dot { color: var(--accent); }
.navbar-logo i { color: var(--accent); }

.nav-menu { display: flex; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.nav-menu a { color: rgba(255,255,255,.86); font-family: var(--font-head); font-weight: 500; font-size: .95rem; padding: .4rem 0; position: relative; }
.nav-menu a::after { content: ""; position: absolute; left: 0; bottom: -3px; width: 0; height: 2px; background: var(--accent); transition: width .25s ease; }
.nav-menu a:hover, .nav-menu a.active { color: #fff; }
.nav-menu a:hover::after, .nav-menu a.active::after { width: 100%; }

.nav-icons { display: flex; align-items: center; gap: 1.15rem; }
.nav-icon { color: #fff; font-size: 1.2rem; position: relative; background: none; border: none; cursor: pointer; padding: 4px; line-height: 1; }
.nav-icon:hover { color: var(--accent); }
.cart-badge {
  position: absolute; top: -8px; right: -10px;
  background: var(--accent); color: #fff; font-size: .68rem; font-weight: 700;
  min-width: 18px; height: 18px; padding: 0 4px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; font-family: var(--font-body);
}
.cart-badge.hidden { display: none; }

.nav-toggle { display: none; background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; }

/* Search overlay */
.search-overlay {
  position: fixed; inset: 0; background: rgba(26,26,46,.97); z-index: 1060;
  display: none; align-items: flex-start; justify-content: center; padding-top: 15vh;
}
.search-overlay.open { display: flex; animation: fadeIn .25s ease; }
.search-overlay .search-box { width: min(680px, 90%); position: relative; }
.search-overlay input {
  width: 100%; background: transparent; border: none; border-bottom: 2px solid rgba(255,255,255,.4);
  color: #fff; font-size: 1.8rem; padding: .5rem 0; font-family: var(--font-head);
}
.search-overlay input:focus { outline: none; border-color: var(--accent); }
.search-overlay .search-close { position: absolute; top: -70px; right: 0; background: none; border: none; color: #fff; font-size: 2rem; cursor: pointer; }
.autocomplete-list { list-style: none; margin: 1rem 0 0; padding: 0; }
.autocomplete-list li a { display: block; color: rgba(255,255,255,.85); padding: .7rem .4rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.autocomplete-list li a:hover { color: #fff; background: rgba(255,255,255,.05); }

/* --------------------------------------------------------------- Hero ----- */
.hero {
  position: relative; min-height: 88vh; display: flex; align-items: center;
  color: #fff; overflow: hidden;
  background-size: cover; background-position: center;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(26,26,46,.94) 0%, rgba(22,33,62,.82) 45%, rgba(15,52,96,.55) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 640px; }
.hero-eyebrow { color: var(--accent); font-family: var(--font-head); font-weight: 700; letter-spacing: .18em; text-transform: uppercase; font-size: .85rem; margin-bottom: 1rem; }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 800; line-height: 1.02; margin-bottom: 1.2rem; }
.hero p.lead { font-size: 1.2rem; color: rgba(255,255,255,.9); margin-bottom: 2rem; max-width: 520px; }
.hero .hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

/* --------------------------------------------------------------- Categories */
.category-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.2rem; }
.category-card {
  background: var(--surface); border-radius: var(--radius); padding: 2rem 1rem; text-align: center;
  box-shadow: var(--shadow-sm); transition: all .3s ease; border: 1px solid var(--border);
  display: block; color: var(--text-dark);
}
.category-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); color: var(--text-dark); border-color: transparent; }
.category-card .cat-icon {
  width: 66px; height: 66px; margin: 0 auto 1rem; border-radius: 50%;
  background: var(--gradient-dark); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.6rem;
  transition: transform .3s ease;
}
.category-card:hover .cat-icon { transform: scale(1.1) rotate(-6deg); }
.category-card h5 { font-size: 1rem; margin: 0; }

/* --------------------------------------------------------------- Product card */
.product-grid { display: grid; gap: 1.5rem; }
.product-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.product-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }

.product-card {
  background: var(--surface); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease;
  display: flex; flex-direction: column; position: relative; border: 1px solid var(--border);
}
.product-card:hover { transform: translateY(-8px) scale(1.01); box-shadow: var(--shadow-lg); }
.product-card .card-media { position: relative; overflow: hidden; aspect-ratio: 1/1; background: #f0f1f4; }
.product-card .card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .card-media img { transform: scale(1.08); }
.product-card .card-body { padding: 1.1rem 1.15rem 1.3rem; display: flex; flex-direction: column; flex: 1; }
.product-brand { font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); font-weight: 600; }
.product-name { font-family: var(--font-head); font-weight: 600; font-size: 1rem; margin: .25rem 0 .6rem; color: var(--text-dark); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.product-name a { color: inherit; }
.product-name a:hover { color: var(--accent); }
.product-price { display: flex; align-items: baseline; gap: .5rem; margin-top: auto; }
.product-price .price-now { font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; color: var(--primary); }
.product-price .price-old { text-decoration: line-through; color: var(--text-muted); font-size: .95rem; }
.product-card .card-actions { margin-top: .9rem; }
.product-card .btn-add { width: 100%; }

.wishlist-btn {
  position: absolute; top: 12px; right: 12px; z-index: 3;
  width: 38px; height: 38px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255,255,255,.9); color: var(--primary); display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm); transition: all .2s ease; backdrop-filter: blur(4px);
}
.wishlist-btn:hover { background: #fff; color: var(--accent); transform: scale(1.1); }
.wishlist-btn.active { color: var(--accent); }
.wishlist-btn.active i::before { font-weight: 900; }

/* --------------------------------------------------------------- Badges --- */
.badge-stack { position: absolute; top: 12px; left: 12px; z-index: 3; display: flex; flex-direction: column; gap: 6px; }
.badge-fs { font-family: var(--font-head); font-weight: 700; font-size: .7rem; letter-spacing: .04em; text-transform: uppercase; padding: .32rem .6rem; border-radius: 6px; color: #fff; }
.badge-new { background: var(--accent-2); }
.badge-sale { background: var(--accent); }
.badge-out { background: #6b7280; }
.badge-stock-in { color: var(--success); font-weight: 600; }
.badge-stock-low { color: var(--warning); font-weight: 600; }
.badge-stock-out { color: var(--danger); font-weight: 600; }

/* --------------------------------------------------------------- Rating --- */
.rating-stars { color: var(--warning); font-size: .9rem; letter-spacing: 1px; }
.rating-stars .empty { color: #d5d7dd; }

/* --------------------------------------------------------------- Promo banner */
.promo-banner {
  background: var(--gradient-dark); color: #fff; border-radius: var(--radius-lg);
  padding: 2.4rem 2.6rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  position: relative; overflow: hidden;
}
.promo-banner::after {
  content: "\f091"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  position: absolute; right: -20px; bottom: -30px; font-size: 12rem; opacity: .07;
}
.promo-banner h3 { color: #fff; font-size: 1.8rem; margin: 0; }
.promo-banner p { margin: .3rem 0 0; color: rgba(255,255,255,.85); }

/* --------------------------------------------------------------- Features - */
.feature-item { text-align: center; padding: 1rem; }
.feature-item .feat-icon {
  width: 64px; height: 64px; margin: 0 auto 1rem; border-radius: var(--radius);
  background: rgba(233,69,96,.1); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
}
.feature-item h5 { font-size: 1.05rem; margin-bottom: .35rem; }
.feature-item p { color: var(--text-muted); font-size: .9rem; margin: 0; }

/* --------------------------------------------------------------- Breadcrumb */
.breadcrumb-fs { background: transparent; padding: 1rem 0; font-size: .88rem; }
.breadcrumb-fs .breadcrumb { margin: 0; }
.breadcrumb-fs a { color: var(--text-muted); }
.breadcrumb-fs a:hover { color: var(--accent); }
.breadcrumb-fs .active { color: var(--primary); font-weight: 600; }

/* --------------------------------------------------------------- Shop layout */
.shop-layout { display: grid; grid-template-columns: 280px 1fr; gap: 2rem; align-items: start; }
.filter-sidebar {
  background: var(--surface); border-radius: var(--radius); padding: 1.5rem;
  box-shadow: var(--shadow-sm); position: sticky; top: calc(var(--nav-h) + 16px); border: 1px solid var(--border);
}
.filter-group { border-bottom: 1px solid var(--border); padding: 1.1rem 0; }
.filter-group:first-child { padding-top: 0; }
.filter-group:last-child { border-bottom: none; padding-bottom: 0; }
.filter-group h6 { font-family: var(--font-head); font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: .9rem; }
.filter-check { display: flex; align-items: center; gap: .55rem; margin-bottom: .55rem; font-size: .92rem; cursor: pointer; }
.filter-check input { accent-color: var(--accent); width: 16px; height: 16px; }
.price-range-values { display: flex; justify-content: space-between; font-size: .85rem; color: var(--text-muted); margin-top: .5rem; }
input[type="range"] { accent-color: var(--accent); width: 100%; }

.shop-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; flex-wrap: wrap; gap: 1rem; }
.shop-toolbar .results-count { font-weight: 600; color: var(--text-dark); }
.filter-toggle-mobile { display: none; }

/* --------------------------------------------------------------- Product page */
.gallery-main { border-radius: var(--radius); overflow: hidden; background: #f0f1f4; aspect-ratio: 1/1; box-shadow: var(--shadow-sm); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: .7rem; margin-top: .9rem; flex-wrap: wrap; }
.gallery-thumb { width: 76px; height: 76px; border-radius: var(--radius-sm); overflow: hidden; cursor: pointer; border: 2px solid transparent; background: #f0f1f4; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb.active { border-color: var(--accent); }

.product-detail h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: .5rem; }
.product-detail .price-block { display: flex; align-items: baseline; gap: .8rem; margin: 1.2rem 0; }
.product-detail .price-now { font-family: var(--font-head); font-weight: 800; font-size: 2rem; color: var(--accent); }
.product-detail .price-old { text-decoration: line-through; color: var(--text-muted); font-size: 1.15rem; }

.qty-selector { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: 50px; overflow: hidden; }
.qty-selector button { background: transparent; border: none; width: 42px; height: 44px; font-size: 1.1rem; cursor: pointer; color: var(--primary); }
.qty-selector button:hover { background: var(--bg); color: var(--accent); }
.qty-selector input { width: 48px; text-align: center; border: none; font-family: var(--font-head); font-weight: 700; font-size: 1rem; }
.qty-selector input:focus { outline: none; }

.variant-options { display: flex; flex-wrap: wrap; gap: .6rem; margin: .6rem 0 1.2rem; }
.variant-chip { border: 1.5px solid var(--border); border-radius: 50px; padding: .45rem 1.1rem; cursor: pointer; font-size: .9rem; background: #fff; transition: all .2s ease; }
.variant-chip.active, .variant-chip:hover { border-color: var(--accent); color: var(--accent); }

.product-tabs .nav-link { font-family: var(--font-head); font-weight: 600; color: var(--text-muted); border: none; border-bottom: 3px solid transparent; padding: .8rem 1.2rem; }
.product-tabs .nav-link.active { color: var(--primary); border-bottom-color: var(--accent); background: transparent; }
.product-tabs .tab-content { padding: 1.6rem 0; color: var(--text-muted); line-height: 1.8; }

/* --------------------------------------------------------------- Cart ----- */
.cart-item { display: grid; grid-template-columns: 90px 1fr auto; gap: 1.2rem; align-items: center; padding: 1.2rem 0; border-bottom: 1px solid var(--border); }
.cart-item .cart-thumb { width: 90px; height: 90px; border-radius: var(--radius-sm); object-fit: cover; background: #f0f1f4; }
.cart-item .cart-name { font-family: var(--font-head); font-weight: 600; color: var(--text-dark); }
.cart-item .cart-variant { font-size: .82rem; color: var(--text-muted); }
.cart-item .remove-item { background: none; border: none; color: var(--text-muted); cursor: pointer; font-size: .9rem; }
.cart-item .remove-item:hover { color: var(--danger); }

.order-summary {
  background: var(--surface); border-radius: var(--radius); padding: 1.7rem; box-shadow: var(--shadow-sm);
  position: sticky; top: calc(var(--nav-h) + 16px); border: 1px solid var(--border);
}
.order-summary h5 { margin-bottom: 1.2rem; }
.summary-row { display: flex; justify-content: space-between; padding: .55rem 0; color: var(--text-muted); }
.summary-row.total { border-top: 2px solid var(--border); margin-top: .6rem; padding-top: 1rem; font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; color: var(--primary); }
.coupon-row { display: flex; gap: .5rem; margin: 1rem 0; }

.empty-state { text-align: center; padding: 4rem 1rem; }
.empty-state .empty-icon { font-size: 4rem; color: var(--border); margin-bottom: 1rem; }
.empty-state h3 { margin-bottom: .5rem; }
.empty-state p { color: var(--text-muted); margin-bottom: 1.5rem; }

/* --------------------------------------------------------------- Checkout - */
.checkout-steps { display: flex; justify-content: center; gap: 0; margin-bottom: 2.5rem; }
.checkout-steps .step { display: flex; align-items: center; color: var(--text-muted); font-family: var(--font-head); font-weight: 600; }
.checkout-steps .step .step-num {
  width: 36px; height: 36px; border-radius: 50%; background: var(--border); color: #fff;
  display: flex; align-items: center; justify-content: center; margin-right: .6rem; transition: background .3s ease;
}
.checkout-steps .step.active .step-num, .checkout-steps .step.done .step-num { background: var(--accent); }
.checkout-steps .step.active { color: var(--primary); }
.checkout-steps .step-divider { width: 60px; height: 2px; background: var(--border); margin: 0 1rem; }

.checkout-panel { background: var(--surface); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.checkout-step-pane { display: none; }
.checkout-step-pane.active { display: block; animation: fadeIn .3s ease; }

.shipping-option { border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 1rem 1.2rem; margin-bottom: .8rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: all .2s ease; }
.shipping-option:hover, .shipping-option.selected { border-color: var(--accent); background: rgba(233,69,96,.03); }

.payment-tabs .nav-link { border: 1.5px solid var(--border); border-radius: var(--radius-sm); margin-right: .6rem; color: var(--primary); font-weight: 600; }
.payment-tabs .nav-link.active { border-color: var(--accent); color: var(--accent); background: rgba(233,69,96,.04); }
#card-element { border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 1rem; background: #fff; }
#card-errors { color: var(--danger); font-size: .88rem; margin-top: .5rem; }

/* --------------------------------------------------------------- Forms ---- */
.form-control, .form-select { border-radius: var(--radius-sm); border: 1.5px solid var(--border); padding: .7rem .95rem; font-size: .95rem; }
.form-control:focus, .form-select:focus { border-color: var(--accent); box-shadow: 0 0 0 .2rem rgba(233,69,96,.12); }
.form-label { font-family: var(--font-head); font-weight: 600; font-size: .85rem; color: var(--text-dark); margin-bottom: .35rem; }
.input-group-text { border-radius: var(--radius-sm); }

.auth-card { max-width: 460px; margin: 3rem auto; background: var(--surface); border-radius: var(--radius-lg); padding: 2.6rem; box-shadow: var(--shadow); border: 1px solid var(--border); }
.auth-card h2 { text-align: center; margin-bottom: .4rem; }
.auth-card .auth-sub { text-align: center; color: var(--text-muted); margin-bottom: 1.8rem; }
.auth-divider { text-align: center; color: var(--text-muted); margin: 1.4rem 0; font-size: .85rem; }

/* --------------------------------------------------------------- Account -- */
.account-layout { display: grid; grid-template-columns: 260px 1fr; gap: 2rem; align-items: start; }
.account-nav { background: var(--surface); border-radius: var(--radius); padding: 1.2rem; box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.account-nav a { display: flex; align-items: center; gap: .7rem; padding: .75rem .9rem; border-radius: var(--radius-sm); color: var(--text-dark); font-weight: 500; margin-bottom: .2rem; }
.account-nav a:hover, .account-nav a.active { background: var(--primary); color: #fff; }
.account-nav a i { width: 20px; text-align: center; }

.stat-card { background: var(--surface); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.stat-card .stat-value { font-family: var(--font-head); font-weight: 800; font-size: 1.8rem; color: var(--primary); }
.stat-card .stat-label { color: var(--text-muted); font-size: .9rem; }

.status-pill { display: inline-block; padding: .3rem .75rem; border-radius: 50px; font-size: .78rem; font-weight: 700; font-family: var(--font-head); }
.status-paid, .status-processing, .status-delivered { background: rgba(40,167,69,.12); color: var(--success); }
.status-pending, .status-unpaid { background: rgba(255,193,7,.15); color: #b8860b; }
.status-shipped { background: rgba(15,52,96,.1); color: var(--accent-2); }
.status-error, .status-cancelled, .status-failed { background: rgba(233,69,96,.12); color: var(--danger); }

.data-table { width: 100%; background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.data-table th { font-family: var(--font-head); font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--text-muted); background: #fafbfc; padding: 1rem; text-align: left; }
.data-table td { padding: 1rem; border-top: 1px solid var(--border); font-size: .92rem; }

/* --------------------------------------------------------------- Footer --- */
.footer-fs { background: var(--primary); color: rgba(255,255,255,.75); padding-top: 3.5rem; margin-top: 4rem; }
.footer-fs h5, .footer-fs .navbar-logo { color: #fff; }
.footer-fs h6 { color: #fff; font-family: var(--font-head); font-size: .95rem; margin-bottom: 1.1rem; text-transform: uppercase; letter-spacing: .05em; }
.footer-fs a { color: rgba(255,255,255,.72); font-size: .92rem; display: block; padding: .28rem 0; }
.footer-fs a:hover { color: var(--accent); }
.footer-newsletter { background: var(--secondary); border-radius: var(--radius); padding: 2rem; }
.footer-newsletter .form-control { border: none; }
.footer-social { display: flex; gap: .8rem; margin-top: 1rem; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; color: #fff; padding: 0; }
.footer-social a:hover { background: var(--accent); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 3rem; padding: 1.4rem 0; text-align: center; font-size: .85rem; }

/* --------------------------------------------------------------- Toasts --- */
.toast-container-fs { position: fixed; top: calc(var(--nav-h) + 16px); right: 20px; z-index: 1080; display: flex; flex-direction: column; gap: .7rem; }
.toast-fs {
  min-width: 300px; max-width: 380px; background: #fff; border-radius: var(--radius-sm); padding: 1rem 1.2rem;
  box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: .8rem; border-left: 4px solid var(--accent-2);
  animation: slideInRight .35s ease; font-size: .92rem;
}
.toast-fs.success { border-left-color: var(--success); }
.toast-fs.error { border-left-color: var(--danger); }
.toast-fs.hide { animation: slideOutRight .35s ease forwards; }
.toast-fs .toast-icon { font-size: 1.3rem; }
.toast-fs.success .toast-icon { color: var(--success); }
.toast-fs.error .toast-icon { color: var(--danger); }
.toast-fs.info .toast-icon { color: var(--accent-2); }

/* --------------------------------------------------------------- Cookie --- */
.cookie-banner {
  position: fixed; bottom: 20px; left: 20px; right: 20px; max-width: 900px; margin: 0 auto; z-index: 1070;
  background: var(--primary); color: #fff; border-radius: var(--radius); padding: 1.4rem 1.6rem;
  box-shadow: var(--shadow-lg); display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; flex-wrap: wrap;
  transform: translateY(150%); transition: transform .4s ease;
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner p { margin: 0; font-size: .9rem; color: rgba(255,255,255,.85); flex: 1; min-width: 240px; }
.cookie-banner a { color: var(--accent); }
.cookie-actions { display: flex; gap: .6rem; }

/* --------------------------------------------------------------- Spinner -- */
.spinner-fs { width: 44px; height: 44px; border: 4px solid rgba(233,69,96,.2); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; margin: 2rem auto; }
.btn-loading { position: relative; color: transparent !important; pointer-events: none; }
.btn-loading::after { content: ""; position: absolute; top: 50%; left: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border: 2px solid rgba(255,255,255,.5); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }

/* --------------------------------------------------------------- Scroll top */
.scroll-top { position: fixed; bottom: 24px; right: 24px; width: 48px; height: 48px; border-radius: 50%; background: var(--accent); color: #fff; border: none; box-shadow: var(--shadow-accent); cursor: pointer; z-index: 1040; opacity: 0; visibility: hidden; transition: all .3s ease; font-size: 1.1rem; }
.scroll-top.show { opacity: 1; visibility: visible; }
.scroll-top:hover { background: var(--accent-dark); transform: translateY(-3px); }

/* --------------------------------------------------------------- Countdown */
.countdown { display: flex; gap: .6rem; }
.countdown .cd-box { background: var(--primary); color: #fff; border-radius: var(--radius-sm); padding: .5rem .7rem; text-align: center; min-width: 56px; }
.countdown .cd-num { font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; display: block; }
.countdown .cd-label { font-size: .65rem; text-transform: uppercase; opacity: .75; }

/* --------------------------------------------------------------- Flash ---- */
.flash-messages { position: fixed; top: calc(var(--nav-h) + 12px); left: 50%; transform: translateX(-50%); z-index: 1075; width: min(600px, 92%); }

/* --------------------------------------------------------------- Glassmorphism */
.glass { background: rgba(255,255,255,.12); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); }

/* --------------------------------------------------------------- Success -- */
.success-hero { text-align: center; padding: 3rem 1rem; }
.success-check { width: 96px; height: 96px; border-radius: 50%; background: rgba(40,167,69,.12); color: var(--success); display: flex; align-items: center; justify-content: center; font-size: 3rem; margin: 0 auto 1.5rem; animation: pop .5s ease; }

/* --------------------------------------------------------------- Page hero */
.page-hero { background: var(--gradient-dark); color: #fff; padding: 3.5rem 0; margin-bottom: 2.5rem; }
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255,255,255,.8); margin: 0; }

/* Legal / prose */
.prose h2 { margin-top: 2rem; font-size: 1.4rem; }
.prose h3 { margin-top: 1.4rem; font-size: 1.1rem; }
.prose p, .prose li { color: #444; line-height: 1.8; }
.placeholder-note { background: rgba(255,193,7,.12); border-left: 4px solid var(--warning); padding: .8rem 1rem; border-radius: var(--radius-sm); font-size: .88rem; color: #7a5c00; margin: 1rem 0; }

/* FAQ accordion */
.accordion-fs .accordion-button { font-family: var(--font-head); font-weight: 600; color: var(--primary); }
.accordion-fs .accordion-button:not(.collapsed) { background: rgba(233,69,96,.05); color: var(--accent); box-shadow: none; }
.accordion-fs .accordion-button:focus { box-shadow: none; border-color: var(--border); }

/* --------------------------------------------------------------- Animations */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideInRight { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideOutRight { to { opacity: 0; transform: translateX(40px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pop { 0% { transform: scale(0); } 70% { transform: scale(1.15); } 100% { transform: scale(1); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(233,69,96,.5); } 70% { box-shadow: 0 0 0 16px rgba(233,69,96,0); } 100% { box-shadow: 0 0 0 0 rgba(233,69,96,0); } }

.animate-fade { animation: fadeIn .6s ease both; }
.animate-up { animation: slideUp .6s ease both; }
[data-reveal] { opacity: 0; }
[data-reveal].revealed { animation: slideUp .7s ease both; }

/* --------------------------------------------------------------- Lazy img - */
img.lazy { opacity: 0; transition: opacity .4s ease; }
img.lazy.loaded { opacity: 1; }

/* --------------------------------------------------------------- Responsive */
@media (max-width: 1100px) {
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid.cols-4 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 991px) {
  .nav-menu {
    position: fixed; top: var(--nav-h); left: 0; right: 0; background: var(--secondary);
    flex-direction: column; gap: 0; padding: 1rem 20px; max-height: 0; overflow: hidden; transition: max-height .35s ease;
  }
  .nav-menu.open { max-height: 400px; padding: 1rem 20px; }
  .nav-menu a { padding: .9rem 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav-toggle { display: block; }
  .shop-layout { grid-template-columns: 1fr; }
  .filter-sidebar { position: static; display: none; }
  .filter-sidebar.open { display: block; }
  .filter-toggle-mobile { display: inline-flex; }
  .account-layout { grid-template-columns: 1fr; }
  .account-nav { display: flex; flex-wrap: wrap; gap: .4rem; }
  .account-nav a { flex: 1; justify-content: center; margin: 0; }
}
@media (max-width: 767px) {
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid.cols-4, .product-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .promo-banner { flex-direction: column; text-align: center; }
  .checkout-steps .step-divider { width: 30px; margin: 0 .4rem; }
  .checkout-steps .step span.step-label { display: none; }
  .hero { min-height: 78vh; }
}
@media (max-width: 520px) {
  .product-grid.cols-4, .product-grid.cols-3 { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 70px 1fr; }
  .cart-item .cart-thumb { width: 70px; height: 70px; }
  .auth-card { padding: 1.8rem; margin: 1.5rem auto; }
}



/* ============================================================
   INFORMATIONAL PAGES (about, contact, faq, legal)
   ============================================================ */
.page-hero__title { font-family: var(--font-head); font-weight: 800; font-size: 2.4rem; color: #fff; margin: .4rem 0 .8rem; letter-spacing: -.02em; }
.page-hero__subtitle { color: rgba(255,255,255,.82); font-size: 1.05rem; max-width: 720px; margin: 0; line-height: 1.7; }
.page-breadcrumb { font-size: .85rem; color: rgba(255,255,255,.6); }
.page-breadcrumb a { color: rgba(255,255,255,.8); }
.page-breadcrumb a:hover { color: #fff; }
.page-breadcrumb span { margin: 0 .35rem; }

.eyebrow { display: inline-block; color: var(--accent); font-family: var(--font-head); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; font-size: .78rem; margin-bottom: .6rem; }
.section--muted { background: #fff; }
.section-head { margin-bottom: 2.4rem; }
.section-head--center { text-align: center; max-width: 640px; margin-left: auto; margin-right: auto; }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.about-grid__media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }

.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.value-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem 1.5rem; text-align: center; transition: all .3s ease; box-shadow: var(--shadow-sm); }
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.value-card__icon { width: 60px; height: 60px; margin: 0 auto 1.1rem; border-radius: 16px; background: var(--gradient-dark); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; }
.value-card h3 { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; margin-bottom: .5rem; color: var(--primary); }
.value-card p { color: var(--text-muted); font-size: .9rem; margin: 0; line-height: 1.6; }

.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.stat-item__num { display: block; font-family: var(--font-head); font-weight: 800; font-size: 2.4rem; color: var(--accent); line-height: 1; }
.stat-item__label { display: block; margin-top: .5rem; color: var(--text-muted); font-size: .92rem; }

.cta-band { background: var(--gradient-accent); color: #fff; padding: 3rem 0; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-family: var(--font-head); font-weight: 800; margin: 0 0 .3rem; }
.cta-band p { color: rgba(255,255,255,.9); margin: 0; }
.btn-lg { padding: .9rem 2.2rem; font-size: 1.05rem; }
.cta-band .btn-accent { background: #fff; color: var(--accent); box-shadow: var(--shadow-lg); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2.5rem; align-items: start; }
.contact-form { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-sm); }
.info-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem; margin-bottom: 1.2rem; box-shadow: var(--shadow-sm); }
.info-card__row { display: flex; gap: 1rem; align-items: flex-start; padding: .7rem 0; border-bottom: 1px solid var(--border); }
.info-card__row:last-child { border-bottom: none; }
.info-card__row i { color: var(--accent); font-size: 1.25rem; margin-top: .15rem; }
.info-card__row strong { display: block; font-family: var(--font-head); color: var(--primary); font-size: .95rem; }
.info-card__row span { color: var(--text-muted); font-size: .9rem; }
.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); background: #eef1f4; min-height: 220px; display: flex; align-items: center; justify-content: center; color: var(--text-muted); text-align: center; padding: 1rem; }

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 1.8rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .cta-band__inner { flex-direction: column; text-align: center; }
  .page-hero__title { font-size: 1.9rem; }
}
@media (max-width: 520px) {
  .values-grid { grid-template-columns: 1fr; }
}



/* ============================================================
   ERROR PAGES (404 / 500)
   ============================================================ */
.error-page { min-height: 62vh; display: flex; align-items: center; text-align: center; padding: 4rem 0; }
.error-page .container { max-width: 620px; }
.error-code { font-family: var(--font-head); font-weight: 800; font-size: clamp(5rem, 18vw, 9rem); line-height: 1; background: var(--gradient-accent); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; letter-spacing: -.04em; }
.error-title { font-family: var(--font-head); font-weight: 800; font-size: 1.8rem; color: var(--primary); margin: .5rem 0 1rem; }
.error-text { color: var(--text-muted); font-size: 1.05rem; line-height: 1.7; margin-bottom: 2rem; }
.error-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
