
  :root {
    --primary: #e8272b;
    --primary-dark: #c01f23;
    --accent: #f5a623;
    --dark: #111317;
    --mid: #2a2d35;
    --light: #f7f8fa;
    --border: #e2e4e9;
    --text: #1a1c22;
    --muted: #7a7f8e;
    --white: #ffffff;
    --green: #00b894;
    --shadow: 0 2px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.14);
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  body { font-family: 'DM Sans', sans-serif; background: var(--light); color: var(--text); }

  /* ===== HEADER ===== */
  header { background: var(--dark); position: sticky; top: 0; z-index: 1000; }
  .header-top { display: flex; align-items: center; gap: 16px; padding: 10px 24px; }
  .logo { font-family: 'Bebas Neue', sans-serif; font-size: 32px; color: var(--white); letter-spacing: 2px; cursor: pointer; white-space: nowrap; }
  .logo span { color: var(--accent); }
  .header-location { color: #ccc; font-size: 12px; cursor: pointer; white-space: nowrap; }
  .header-location strong { color: var(--white); font-size: 13px; display: block; }
  .search-bar { flex: 1; display: flex; border-radius: 8px; overflow: hidden; box-shadow: 0 0 0 2px transparent; transition: box-shadow .2s; }
  .search-bar:focus-within { box-shadow: 0 0 0 2px var(--accent); }
  .search-cat { background: #e8e8e8; border: none; padding: 0 12px; font-size: 13px; cursor: pointer; color: #444; font-family: 'DM Sans', sans-serif; }
  .search-input { flex: 1; border: none; padding: 0 16px; font-size: 15px; font-family: 'DM Sans', sans-serif; outline: none; }
  .search-btn { background: var(--accent); border: none; padding: 0 18px; cursor: pointer; font-size: 20px; }
  .search-btn:hover { background: #e09510; }
  .header-actions { display: flex; gap: 4px; align-items: center; }
  .header-btn { color: var(--white); padding: 6px 10px; border-radius: 4px; cursor: pointer; font-size: 13px; white-space: nowrap; transition: background .15s; }
  .header-btn:hover { background: var(--mid); }
  .header-btn strong { display: block; font-size: 14px; }
  .cart-btn { display: flex; align-items: center; gap: 6px; position: relative; }
  .cart-count { background: var(--accent); color: var(--dark); font-weight: 700; border-radius: 50%; width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; font-size: 12px; position: absolute; top: -4px; right: 24px; }
  .header-nav { background: var(--mid); padding: 0 24px; display: flex; gap: 4px; overflow-x: auto; }
  .nav-item { color: #ddd; padding: 8px 12px; font-size: 13px; cursor: pointer; white-space: nowrap; border-radius: 4px; transition: background .15s; }
  .nav-item:hover, .nav-item.active { background: rgba(255,255,255,0.15); color: var(--white); }
  .nav-item.active { border-bottom: 2px solid var(--accent); }
  .nav-item.nav-promo { color: var(--accent); font-weight: 600; }

  /* ===== PAGES ===== */
  .page { display: none; }
  .page.active { display: block; }

  /* ===== HERO ===== */
  .hero { position: relative; height: 420px; overflow: hidden; }
  .hero-slides { display: flex; height: 100%; transition: transform .6s ease; }
  .hero-slide { min-width: 100%; height: 100%; position: relative; display: flex; align-items: center; }
  .hero-slide:nth-child(1) { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%); }
  .hero-slide:nth-child(2) { background: linear-gradient(135deg, #2d1b00 0%, #5c3317 50%, #8b4513 100%); }
  .hero-slide:nth-child(3) { background: linear-gradient(135deg, #0d2818 0%, #1a4a2e 50%, #2d6a4f 100%); }
  .hero-content { padding: 0 80px; z-index: 2; }
  .hero-tag { background: var(--accent); color: var(--dark); font-weight: 700; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; padding: 4px 10px; border-radius: 4px; display: inline-block; margin-bottom: 16px; }
  .hero-title { font-family: 'Bebas Neue', sans-serif; font-size: 72px; color: var(--white); line-height: 0.95; margin-bottom: 16px; }
  .hero-sub { color: #bbb; font-size: 16px; margin-bottom: 28px; max-width: 400px; }
  .hero-cta { background: var(--primary); color: var(--white); border: none; padding: 14px 32px; font-size: 15px; font-weight: 600; border-radius: 8px; cursor: pointer; font-family: 'DM Sans', sans-serif; transition: background .2s, transform .15s; }
  .hero-cta:hover { background: var(--primary-dark); transform: translateY(-2px); }
  .hero-deco { position: absolute; right: 80px; top: 50%; transform: translateY(-50%); font-size: 200px; opacity: 0.06; user-select: none; }
  .hero-dots { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 3; }
  .hero-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.3); cursor: pointer; transition: background .2s; }
  .hero-dot.active { background: var(--accent); }

  /* ===== CATEGORIES BAND ===== */
  .cats-band { background: var(--white); border-bottom: 1px solid var(--border); padding: 0 24px; display: flex; gap: 0; overflow-x: auto; }
  .cat-pill { display: flex; align-items: center; gap: 8px; padding: 14px 20px; cursor: pointer; border-bottom: 3px solid transparent; font-size: 14px; font-weight: 500; color: var(--muted); white-space: nowrap; transition: all .2s; }
  .cat-pill:hover, .cat-pill.active { color: var(--primary); border-bottom-color: var(--primary); }
  .cat-pill .icon { font-size: 18px; }

  /* ===== MAIN CONTENT ===== */
  .main-content { max-width: 1400px; margin: 0 auto; padding: 0 24px; }
  .section-header { display: flex; align-items: center; justify-content: space-between; margin: 32px 0 16px; }
  .section-title { font-family: 'Bebas Neue', sans-serif; font-size: 28px; letter-spacing: 1px; }
  .see-all { color: var(--primary); font-size: 13px; font-weight: 600; cursor: pointer; }
  .see-all:hover { text-decoration: underline; }
  .products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }

  /* ===== PRODUCT CARD ===== */
  .product-card { background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; cursor: pointer; position: relative; }
  .product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
  .card-badge { position: absolute; top: 10px; left: 10px; z-index: 2; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 4px; }
  .badge-promo { background: var(--primary); color: var(--white); }
  .badge-new { background: var(--green); color: var(--white); }
  .badge-top { background: var(--accent); color: var(--dark); }
  .card-wish { position: absolute; top: 10px; right: 10px; z-index: 2; background: var(--white); border: none; border-radius: 50%; width: 32px; height: 32px; font-size: 16px; cursor: pointer; box-shadow: var(--shadow); transition: transform .2s; }
  .card-wish:hover { transform: scale(1.2); }
  .card-img { width: 100%; height: 240px; object-fit: cover; background: #f0f0f0; display: block; }
  .card-body { padding: 14px; }
  .card-brand { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); font-weight: 600; }
  .card-name { font-size: 14px; font-weight: 600; margin: 4px 0 6px; line-height: 1.4; }
  .card-stars { color: var(--accent); font-size: 12px; margin-bottom: 6px; }
  .card-stars span { color: var(--muted); margin-left: 4px; }
  .card-prices { display: flex; align-items: center; gap: 8px; }
  .price-now { font-size: 18px; font-weight: 700; color: var(--primary); }
  .price-old { font-size: 13px; color: var(--muted); text-decoration: line-through; }
  .price-save { font-size: 12px; color: var(--green); font-weight: 600; }
  .card-footer { padding: 0 14px 14px; }
  .add-to-cart { width: 100%; background: var(--dark); color: var(--white); border: none; padding: 10px; border-radius: 8px; font-size: 13px; font-weight: 600; cursor: pointer; font-family: 'DM Sans', sans-serif; transition: background .2s; }
  .add-to-cart:hover { background: var(--primary); }

  /* ===== PROMO BANNERS ===== */
  .promo-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; margin: 32px 0; }
  .promo-card { border-radius: 16px; overflow: hidden; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; min-height: 180px; position: relative; cursor: pointer; }
  .promo-card:nth-child(1) { background: linear-gradient(135deg, #1a1a2e, #e8272b); grid-column: span 2; }
  .promo-card:nth-child(2) { background: linear-gradient(135deg, #2d1b00, #f5a623); }
  .promo-card:nth-child(3) { background: linear-gradient(135deg, #0d2818, #00b894); }
  .promo-card:nth-child(4) { background: linear-gradient(135deg, #1a0030, #7c3aed); grid-column: span 2; }
  .promo-label { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.6); }
  .promo-title { font-family: 'Bebas Neue', sans-serif; font-size: 42px; color: var(--white); line-height: 1; margin: 8px 0; }
  .promo-sub { color: rgba(255,255,255,0.75); font-size: 14px; }
  .promo-cta { background: rgba(255,255,255,0.2); color: var(--white); border: 1px solid rgba(255,255,255,0.3); padding: 8px 20px; border-radius: 6px; font-size: 13px; font-weight: 600; cursor: pointer; backdrop-filter: blur(4px); display: inline-block; width: fit-content; transition: background .2s; }
  .promo-cta:hover { background: rgba(255,255,255,0.3); }
  .promo-deco { position: absolute; right: 20px; bottom: 10px; font-size: 80px; opacity: 0.15; }

  /* ===== SEARCH PAGE ===== */
  .search-page-layout { display: flex; gap: 24px; padding: 24px 0; align-items: flex-start; }
  .search-sidebar { width: 240px; flex-shrink: 0; position: sticky; top: 90px; }
  .filter-panel { background: var(--white); border-radius: 12px; padding: 20px; box-shadow: var(--shadow); }
  .filter-title { font-family: 'Bebas Neue', sans-serif; font-size: 20px; letter-spacing: 1px; margin-bottom: 16px; display: flex; justify-content: space-between; align-items: center; }
  .filter-reset { font-family: 'DM Sans', sans-serif; font-size: 12px; font-weight: 500; color: var(--primary); cursor: pointer; }
  .filter-section { border-top: 1px solid var(--border); padding: 14px 0; }
  .filter-section-title { font-weight: 700; font-size: 13px; margin-bottom: 10px; display: flex; justify-content: space-between; cursor: pointer; user-select: none; }
  .filter-option { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; cursor: pointer; font-size: 13px; }
  .filter-option input[type=checkbox] { accent-color: var(--primary); width: 15px; height: 15px; }
  .filter-option label { cursor: pointer; flex: 1; }
  .filter-option .count { color: var(--muted); font-size: 11px; }
  .color-swatches { display: flex; flex-wrap: wrap; gap: 8px; }
  .color-swatch { width: 28px; height: 28px; border-radius: 50%; cursor: pointer; border: 3px solid transparent; transition: border-color .15s; }
  .color-swatch.selected, .color-swatch:hover { border-color: var(--dark); }
  .price-range { padding: 8px 0; }
  .price-inputs { display: flex; gap: 8px; align-items: center; margin-top: 10px; }
  .price-input { flex: 1; border: 1px solid var(--border); border-radius: 6px; padding: 6px 8px; font-size: 13px; font-family: 'DM Sans', sans-serif; }
  .size-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .size-btn { border: 1px solid var(--border); border-radius: 6px; padding: 6px 4px; text-align: center; font-size: 12px; cursor: pointer; transition: all .15s; background: none; }
  .size-btn:hover, .size-btn.active { border-color: var(--dark); background: var(--dark); color: var(--white); }
  .apply-filters { width: 100%; background: var(--primary); color: var(--white); border: none; padding: 12px; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; font-family: 'DM Sans', sans-serif; margin-top: 16px; transition: background .2s; }
  .apply-filters:hover { background: var(--primary-dark); }
  .search-results { flex: 1; }
  .results-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
  .results-count { font-size: 14px; color: var(--muted); }
  .results-count strong { color: var(--text); }
  .sort-select { border: 1px solid var(--border); border-radius: 8px; padding: 8px 12px; font-size: 13px; font-family: 'DM Sans', sans-serif; cursor: pointer; background: var(--white); }
  .active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
  .active-filter-tag { background: var(--dark); color: var(--white); font-size: 12px; padding: 4px 10px; border-radius: 20px; display: flex; align-items: center; gap: 6px; }
  .active-filter-tag button { background: none; border: none; color: var(--white); cursor: pointer; font-size: 14px; line-height: 1; }

  /* ===== PRODUCT PAGE ===== */
  .product-page { padding: 24px 0; }
  .breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 24px; }
  .breadcrumb span { color: var(--primary); cursor: pointer; }
  .product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
  .product-gallery { position: sticky; top: 90px; }
  .gallery-main { background: #f5f5f5; border-radius: 16px; height: 480px; overflow: hidden; margin-bottom: 12px; position: relative; }
  .gallery-main img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; }
  .gallery-thumbs { display: flex; gap: 10px; }
  .gallery-thumb { width: 80px; height: 80px; background: #f0f0f0; border-radius: 10px; cursor: pointer; overflow: hidden; border: 2px solid transparent; transition: border-color .15s; flex-shrink: 0; padding: 0; }
  .gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
  .gallery-thumb.active, .gallery-thumb:hover { border-color: var(--dark); }
  .product-info { }
  .product-brand-line { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; font-weight: 700; }
  .product-title { font-family: 'Bebas Neue', sans-serif; font-size: 40px; line-height: 1.1; margin: 8px 0 12px; letter-spacing: 1px; }
  .product-rating { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
  .stars { color: var(--accent); font-size: 18px; }
  .rating-count { font-size: 13px; color: var(--muted); cursor: pointer; }
  .rating-count:hover { color: var(--primary); text-decoration: underline; }
  .rating-verified { font-size: 12px; color: var(--green); font-weight: 600; }
  .product-prices { display: flex; align-items: baseline; gap: 12px; margin-bottom: 20px; }
  .product-price-now { font-size: 36px; font-weight: 700; color: var(--primary); }
  .product-price-old { font-size: 18px; color: var(--muted); text-decoration: line-through; }
  .product-discount { background: var(--primary); color: var(--white); font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 4px; }
  .product-desc { font-size: 15px; line-height: 1.7; color: #444; margin-bottom: 24px; }
  .product-colors { margin-bottom: 20px; }
  .product-colors-label { font-size: 13px; font-weight: 700; margin-bottom: 10px; }
  .product-colors-label span { font-weight: 400; color: var(--muted); }
  .product-sizes { margin-bottom: 24px; }
  .product-sizes-label { font-size: 13px; font-weight: 700; margin-bottom: 10px; display: flex; justify-content: space-between; }
  .product-sizes-label a { color: var(--primary); font-weight: 400; cursor: pointer; font-size: 12px; }
  .sizes-row { display: flex; flex-wrap: wrap; gap: 8px; }
  .size-opt { border: 1.5px solid var(--border); border-radius: 8px; padding: 8px 16px; font-size: 14px; cursor: pointer; transition: all .15s; background: none; }
  .size-opt:hover { border-color: var(--dark); }
  .size-opt.active { border-color: var(--dark); background: var(--dark); color: var(--white); }
  .size-opt.unavailable { opacity: 0.35; cursor: not-allowed; text-decoration: line-through; }
  .product-qty { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
  .qty-label { font-size: 13px; font-weight: 700; }
  .qty-control { display: flex; align-items: center; gap: 0; border: 1.5px solid var(--border); border-radius: 8px; overflow: hidden; }
  .qty-btn { background: none; border: none; width: 36px; height: 36px; font-size: 18px; cursor: pointer; color: var(--text); transition: background .15s; }
  .qty-btn:hover { background: var(--light); }
  .qty-val { width: 48px; text-align: center; font-size: 15px; font-weight: 600; border-left: 1px solid var(--border); border-right: 1px solid var(--border); height: 36px; display: flex; align-items: center; justify-content: center; }
  .product-actions { display: flex; gap: 12px; margin-bottom: 20px; }
  .btn-add-cart { flex: 1; background: var(--dark); color: var(--white); border: none; padding: 16px; border-radius: 10px; font-size: 15px; font-weight: 700; cursor: pointer; font-family: 'DM Sans', sans-serif; transition: background .2s; }
  .btn-add-cart:hover { background: var(--primary); }
  .btn-buy-now { flex: 1; background: var(--primary); color: var(--white); border: none; padding: 16px; border-radius: 10px; font-size: 15px; font-weight: 700; cursor: pointer; font-family: 'DM Sans', sans-serif; transition: background .2s; }
  .btn-buy-now:hover { background: var(--primary-dark); }
  .btn-wishlist { background: none; border: 1.5px solid var(--border); border-radius: 10px; padding: 16px 18px; font-size: 20px; cursor: pointer; transition: border-color .2s; }
  .btn-wishlist:hover { border-color: var(--primary); }
  .product-delivery { background: var(--light); border-radius: 10px; padding: 16px; font-size: 13px; }
  .delivery-row { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
  .delivery-row:last-child { margin-bottom: 0; }
  .delivery-icon { font-size: 20px; }
  .delivery-text strong { display: block; font-size: 14px; }
  .delivery-text span { color: var(--muted); }

  /* ===== REVIEWS SECTION ===== */
  .reviews-section { margin-top: 56px; padding-top: 40px; border-top: 2px solid var(--border); }
  .reviews-header { display: flex; align-items: flex-start; gap: 48px; margin-bottom: 36px; flex-wrap: wrap; }
  .reviews-title { font-family: 'Bebas Neue', sans-serif; font-size: 28px; letter-spacing: 1px; margin-bottom: 4px; }
  .reviews-global-score { text-align: center; }
  .reviews-big-score { font-family: 'Bebas Neue', sans-serif; font-size: 72px; color: var(--primary); line-height: 1; }
  .reviews-big-stars { color: var(--accent); font-size: 24px; margin: 4px 0; }
  .reviews-big-count { font-size: 13px; color: var(--muted); }
  .reviews-bars { flex: 1; max-width: 300px; }
  .rating-bar-row { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 13px; }
  .rating-bar-label { width: 40px; color: var(--muted); text-align: right; flex-shrink: 0; }
  .rating-bar-track { flex: 1; background: var(--border); border-radius: 4px; height: 8px; overflow: hidden; }
  .rating-bar-fill { height: 100%; background: var(--accent); border-radius: 4px; transition: width .6s ease; }
  .rating-bar-count { width: 28px; color: var(--muted); font-size: 12px; }

  /* Liste des avis */
  .reviews-list { display: flex; flex-direction: column; gap: 20px; margin-bottom: 40px; }
  .review-card { background: var(--white); border-radius: 12px; padding: 20px; box-shadow: var(--shadow); }
  .review-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; flex-wrap: wrap; gap: 8px; }
  .review-author { display: flex; align-items: center; gap: 12px; }
  .review-avatar { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700; color: var(--white); flex-shrink: 0; }
  .review-author-info { }
  .review-author-name { font-weight: 700; font-size: 14px; }
  .review-author-verified { font-size: 11px; color: var(--green); font-weight: 600; }
  .review-date { font-size: 12px; color: var(--muted); }
  .review-stars { color: var(--accent); font-size: 15px; margin-bottom: 8px; }
  .review-title { font-weight: 700; font-size: 14px; margin-bottom: 6px; }
  .review-body { font-size: 14px; line-height: 1.7; color: #444; }
  .review-footer { display: flex; align-items: center; gap: 16px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border); }
  .review-helpful { font-size: 12px; color: var(--muted); }
  .review-helpful-btn { background: none; border: 1px solid var(--border); border-radius: 20px; padding: 4px 12px; font-size: 12px; cursor: pointer; font-family: 'DM Sans', sans-serif; transition: all .15s; }
  .review-helpful-btn:hover { border-color: var(--dark); background: var(--dark); color: var(--white); }
  .review-helpful-btn.voted { border-color: var(--green); color: var(--green); }
  .review-tag { font-size: 11px; background: var(--light); color: var(--muted); border-radius: 20px; padding: 3px 10px; }

  /* Formulaire d'avis */
  .review-form-section { background: var(--white); border-radius: 16px; padding: 32px; box-shadow: var(--shadow); }
  .review-form-title { font-family: 'Bebas Neue', sans-serif; font-size: 24px; letter-spacing: 1px; margin-bottom: 6px; }
  .review-form-sub { font-size: 14px; color: var(--muted); margin-bottom: 24px; }
  .star-picker { display: flex; gap: 8px; margin-bottom: 20px; }
  .star-picker-label { font-size: 13px; font-weight: 700; margin-bottom: 8px; display: block; }
  .star-btn { font-size: 28px; cursor: pointer; background: none; border: none; color: #ddd; transition: color .1s, transform .1s; line-height: 1; padding: 2px; }
  .star-btn.active, .star-btn:hover ~ .star-btn { color: #ddd; }
  .star-picker:hover .star-btn { color: var(--accent); }
  .star-btn:hover ~ .star-btn { color: #ddd !important; }
  .star-picker .star-btn:hover { color: var(--accent); }
  .review-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
  .form-group { display: flex; flex-direction: column; gap: 6px; }
  .form-group.full { grid-column: span 2; }
  .form-label-r { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--muted); }
  .form-input-r { border: 1.5px solid var(--border); border-radius: 8px; padding: 10px 14px; font-size: 14px; font-family: 'DM Sans', sans-serif; transition: border-color .2s; outline: none; resize: none; }
  .form-input-r:focus { border-color: var(--dark); }
  .btn-submit-review { background: var(--primary); color: var(--white); border: none; padding: 14px 32px; border-radius: 10px; font-size: 15px; font-weight: 700; cursor: pointer; font-family: 'DM Sans', sans-serif; transition: background .2s; }
  .btn-submit-review:hover { background: var(--primary-dark); }
  .review-success-msg { display: none; background: #e8f5e9; border: 1px solid #a5d6a7; border-radius: 10px; padding: 16px 20px; color: #2e7d32; font-weight: 600; margin-top: 16px; align-items: center; gap: 10px; }
  .review-success-msg.show { display: flex; }
  .reviews-empty { text-align: center; padding: 40px 20px; color: var(--muted); }
  .reviews-empty .icon { font-size: 48px; margin-bottom: 12px; }
  .no-reviews-yet { font-size: 14px; }

  /* ===== CART PAGE ===== */
  .cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 28px; padding: 28px 0; }
  .cart-title { font-family: 'Bebas Neue', sans-serif; font-size: 32px; letter-spacing: 1px; margin-bottom: 20px; }
  .cart-item { background: var(--white); border-radius: 12px; padding: 20px; box-shadow: var(--shadow); margin-bottom: 16px; display: flex; gap: 16px; }
  .cart-item-img { width: 100px; height: 120px; background: #f0f0f0; border-radius: 10px; overflow: hidden; flex-shrink: 0; }
  .cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
  .cart-item-info { flex: 1; }
  .cart-item-brand { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); font-weight: 700; }
  .cart-item-name { font-size: 16px; font-weight: 600; margin: 4px 0 8px; }
  .cart-item-meta { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
  .cart-item-actions { display: flex; align-items: center; gap: 16px; }
  .cart-item-price { font-size: 20px; font-weight: 700; margin-left: auto; }
  .remove-btn { color: var(--primary); font-size: 13px; cursor: pointer; background: none; border: none; font-family: 'DM Sans', sans-serif; }
  .remove-btn:hover { text-decoration: underline; }
  .cart-summary { background: var(--white); border-radius: 12px; padding: 24px; box-shadow: var(--shadow); position: sticky; top: 90px; height: fit-content; }
  .summary-title { font-family: 'Bebas Neue', sans-serif; font-size: 24px; letter-spacing: 1px; margin-bottom: 20px; }
  .summary-row { display: flex; justify-content: space-between; margin-bottom: 12px; font-size: 14px; }
  .summary-row.total { font-size: 18px; font-weight: 700; border-top: 1px solid var(--border); padding-top: 12px; margin-top: 4px; }
  .promo-input-row { display: flex; gap: 8px; margin: 16px 0; }
  .promo-input { flex: 1; border: 1px solid var(--border); border-radius: 8px; padding: 8px 12px; font-size: 13px; font-family: 'DM Sans', sans-serif; }
  .promo-apply { background: var(--dark); color: var(--white); border: none; padding: 8px 16px; border-radius: 8px; font-size: 13px; cursor: pointer; font-family: 'DM Sans', sans-serif; }
  .checkout-btn { width: 100%; background: var(--primary); color: var(--white); border: none; padding: 16px; border-radius: 10px; font-size: 16px; font-weight: 700; cursor: pointer; font-family: 'DM Sans', sans-serif; margin-top: 16px; transition: background .2s; }
  .checkout-btn:hover { background: var(--primary-dark); }
  .secure-badges { display: flex; justify-content: center; gap: 16px; margin-top: 16px; }
  .secure-badge { font-size: 11px; color: var(--muted); text-align: center; }
  .secure-badge .icon { font-size: 20px; display: block; }
  .cart-empty { text-align: center; padding: 60px 20px; }
  .cart-empty-icon { font-size: 80px; margin-bottom: 16px; }
  .cart-empty h2 { font-family: 'Bebas Neue', sans-serif; font-size: 28px; margin-bottom: 8px; }
  .cart-empty p { color: var(--muted); margin-bottom: 24px; }

  /* ===== CHECKOUT PAGE ===== */
  .checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 28px; padding: 28px 0; }
  .checkout-title { font-family: 'Bebas Neue', sans-serif; font-size: 32px; letter-spacing: 1px; margin-bottom: 24px; }
  .checkout-section { background: var(--white); border-radius: 12px; padding: 24px; box-shadow: var(--shadow); margin-bottom: 20px; }
  .checkout-section-title { font-size: 16px; font-weight: 700; margin-bottom: 20px; display: flex; align-items: center; gap: 8px; }
  .step-num { background: var(--dark); color: var(--white); width: 24px; height: 24px; border-radius: 50%; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
  .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .form-group-co { display: flex; flex-direction: column; gap: 4px; }
  .form-group-co.full { grid-column: span 2; }
  .form-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--muted); }
  .form-input { border: 1.5px solid var(--border); border-radius: 8px; padding: 10px 14px; font-size: 14px; font-family: 'DM Sans', sans-serif; transition: border-color .2s; outline: none; }
  .form-input:focus { border-color: var(--dark); }
  .payment-methods { display: flex; gap: 12px; margin-bottom: 20px; }
  .pay-method { flex: 1; border: 1.5px solid var(--border); border-radius: 10px; padding: 12px; text-align: center; cursor: pointer; font-size: 13px; font-weight: 600; transition: all .15s; }
  .pay-method.active { border-color: var(--dark); background: var(--dark); color: var(--white); }
  .card-number-row { display: flex; align-items: center; position: relative; }
  .card-icons { position: absolute; right: 12px; display: flex; gap: 4px; font-size: 22px; }
  .checkout-order-summary { background: var(--white); border-radius: 12px; padding: 24px; box-shadow: var(--shadow); position: sticky; top: 90px; }
  .order-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
  .order-item:last-of-type { border-bottom: none; }
  .order-item-img { width: 64px; height: 72px; background: #f0f0f0; border-radius: 8px; overflow: hidden; flex-shrink: 0; position: relative; }
  .order-item-img img { width: 100%; height: 100%; object-fit: cover; }
  .order-item-qty { position: absolute; top: -6px; right: -6px; background: var(--muted); color: var(--white); width: 18px; height: 18px; border-radius: 50%; font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
  .order-item-info { flex: 1; }
  .order-item-name { font-size: 13px; font-weight: 600; }
  .order-item-meta { font-size: 12px; color: var(--muted); }
  .order-item-price { font-size: 14px; font-weight: 700; margin-left: auto; }
  .place-order-btn { width: 100%; background: var(--primary); color: var(--white); border: none; padding: 16px; border-radius: 10px; font-size: 16px; font-weight: 700; cursor: pointer; font-family: 'DM Sans', sans-serif; margin-top: 20px; transition: background .2s; }
  .place-order-btn:hover { background: var(--primary-dark); }
  .order-note { font-size: 11px; color: var(--muted); text-align: center; margin-top: 12px; line-height: 1.5; }

  /* ===== SUCCESS PAGE ===== */
  .success-page { text-align: center; padding: 80px 20px; max-width: 600px; margin: 0 auto; }
  .success-icon { font-size: 80px; margin-bottom: 20px; }
  .success-title { font-family: 'Bebas Neue', sans-serif; font-size: 52px; letter-spacing: 2px; margin-bottom: 12px; }
  .success-sub { color: var(--muted); font-size: 16px; line-height: 1.7; margin-bottom: 32px; }
  .success-order-id { background: var(--light); border-radius: 10px; padding: 16px; font-size: 14px; margin-bottom: 32px; }
  .success-order-id strong { font-size: 18px; display: block; margin-top: 4px; font-family: 'Bebas Neue', sans-serif; letter-spacing: 2px; }
  .back-home-btn { background: var(--dark); color: var(--white); border: none; padding: 14px 32px; border-radius: 10px; font-size: 15px; font-weight: 700; cursor: pointer; font-family: 'DM Sans', sans-serif; }

  /* ===== TOAST ===== */
  .toast { position: fixed; bottom: 32px; right: 32px; background: var(--dark); color: var(--white); padding: 14px 22px; border-radius: 10px; font-size: 14px; font-weight: 600; box-shadow: var(--shadow-lg); z-index: 9999; transform: translateY(100px); opacity: 0; transition: all .3s; display: flex; align-items: center; gap: 10px; }
  .toast.show { transform: translateY(0); opacity: 1; }
  .toast .toast-icon { font-size: 20px; }

  /* ===== FOOTER ===== */
  footer { background: var(--dark); color: #aaa; margin-top: 60px; }
  .footer-top { max-width: 1400px; margin: 0 auto; padding: 40px 24px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
  .footer-brand .logo { font-size: 28px; display: block; margin-bottom: 12px; }
  .footer-brand p { font-size: 13px; line-height: 1.7; max-width: 300px; }
  .footer-col h4 { color: var(--white); font-size: 14px; font-weight: 700; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.5px; }
  .footer-col a { display: block; font-size: 13px; margin-bottom: 8px; cursor: pointer; transition: color .15s; }
  .footer-col a:hover { color: var(--white); }
  .footer-bottom { border-top: 1px solid var(--mid); padding: 16px 24px; text-align: center; font-size: 12px; max-width: 1400px; margin: 0 auto; }

  /* ===== MISC ===== */
  input[type=range] { -webkit-appearance: none; width: 100%; height: 4px; border-radius: 4px; background: var(--border); outline: none; }
  input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%; background: var(--dark); cursor: pointer; }

  @media (max-width: 900px) {
    .promo-grid { grid-template-columns: 1fr; }
    .promo-card { grid-column: 1 !important; }
    .product-layout { grid-template-columns: 1fr; }
    .cart-layout { grid-template-columns: 1fr; }
    .checkout-layout { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .review-form-grid { grid-template-columns: 1fr; }
    .form-group.full { grid-column: 1; }
    .reviews-header { flex-direction: column; gap: 20px; }
  }


  /* ===== ACCOUNT DROPDOWN ===== */
  .account-btn { position: relative; }
  .account-dropdown { position: absolute; top: calc(100% + 8px); right: 0; background: var(--white); border-radius: 12px; box-shadow: 0 8px 32px rgba(0,0,0,0.18); min-width: 280px; z-index: 2000; display: none; overflow: hidden; }
  .account-dropdown.open { display: block; animation: fadeDown .15s ease; }
  @keyframes fadeDown { from { opacity:0; transform:translateY(-8px); } to { opacity:1; transform:translateY(0); } }
  .acct-header { padding: 16px; background: var(--dark); color: var(--white); }
  .acct-avatar { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
  .acct-name { font-weight: 700; font-size: 15px; }
  .acct-email { font-size: 12px; color: #aaa; }
  .acct-menu { padding: 8px 0; }
  .acct-item { display: flex; align-items: center; gap: 10px; padding: 10px 16px; font-size: 13px; cursor: pointer; transition: background .15s; }
  .acct-item:hover { background: var(--light); }
  .acct-sep { height: 1px; background: var(--border); margin: 4px 0; }
  .acct-login-btn { display: block; width: calc(100% - 32px); margin: 12px 16px; background: var(--primary); color: var(--white); border: none; padding: 12px; border-radius: 8px; font-size: 14px; font-weight: 700; cursor: pointer; font-family: 'DM Sans', sans-serif; text-align: center; }

  /* ===== MODALS ===== */
  .modal-overlay { position:fixed; inset:0; background:rgba(0,0,0,.55); z-index:3000; display:none; align-items:center; justify-content:center; padding:20px; }
  .modal-overlay.open { display:flex; animation:fadeIn .15s ease; }
  .modal-box { background:#fff; border-radius:16px; padding:32px; width:100%; max-width:420px; box-shadow:0 20px 60px rgba(0,0,0,.2); animation:popIn .2s cubic-bezier(.17,.67,.38,1.2); position:relative; max-height:90vh; overflow-y:auto; }
  @keyframes popIn { from{opacity:0;transform:scale(.92)} to{opacity:1;transform:scale(1)} }
  .modal-close-x { position:absolute; top:16px; right:16px; background:none; border:none; font-size:20px; cursor:pointer; color:var(--muted); line-height:1; }
  .modal-title-h { font-family:'Bebas Neue',sans-serif; font-size:28px; letter-spacing:1px; margin-bottom:4px; }
  .modal-sub { font-size:13px; color:var(--muted); margin-bottom:24px; }
  .modal-form-group { display:flex; flex-direction:column; gap:5px; margin-bottom:14px; }
  .modal-label { font-size:12px; font-weight:700; text-transform:uppercase; letter-spacing:.5px; color:var(--muted); }
  .modal-input { border:1.5px solid var(--border); border-radius:8px; padding:11px 14px; font-size:14px; font-family:'DM Sans',sans-serif; outline:none; transition:border-color .2s; }
  .modal-input:focus { border-color:var(--dark); }
  .modal-btn { width:100%; background:var(--primary); color:#fff; border:none; padding:13px; border-radius:10px; font-size:15px; font-weight:700; cursor:pointer; font-family:'DM Sans',sans-serif; margin-top:4px; transition:background .2s; }
  .modal-btn:hover { background:var(--primary-dark); }
  .modal-err { font-size:13px; color:var(--primary); display:none; margin-top:-8px; margin-bottom:8px; }
  .modal-err.show { display:block; }
  .modal-switch { text-align:center; font-size:13px; color:var(--muted); margin-top:16px; }
  .modal-switch a { color:var(--primary); font-weight:600; cursor:pointer; }
  /* ===== ADDRESS MODAL ===== */
  .address-list { display:flex; flex-direction:column; gap:10px; margin-bottom:16px; }
  .address-item { border:1.5px solid var(--border); border-radius:10px; padding:14px 16px; cursor:pointer; transition:border-color .15s; display:flex; align-items:center; gap:12px; }
  .address-item.selected { border-color:var(--dark); background:var(--light); }
  .address-item:hover { border-color:var(--dark); }
  .address-item .addr-icon { font-size:20px; }
  .address-item .addr-text { flex:1; font-size:14px; font-weight:500; }
  .address-item .addr-tag { font-size:11px; color:var(--muted); margin-top:2px; }
  .address-new-row { display:flex; gap:8px; }
  .address-new-input { flex:1; border:1.5px solid var(--border); border-radius:8px; padding:10px 14px; font-size:14px; font-family:'DM Sans',sans-serif; outline:none; }
  .address-new-input:focus { border-color:var(--dark); }
  .address-add-btn { background:var(--dark); color:#fff; border:none; border-radius:8px; padding:10px 18px; font-size:14px; font-weight:700; cursor:pointer; font-family:'DM Sans',sans-serif; white-space:nowrap; }

  /* ===== ORDERS PAGE ===== */
  .orders-page { max-width:1100px; margin:0 auto; padding:28px 24px; }
  .orders-title { font-family:'Bebas Neue',sans-serif; font-size:36px; letter-spacing:1px; margin-bottom:8px; }
  .orders-search-row { display:flex; gap:12px; margin-bottom:24px; }
  .orders-search-input { flex:1; border:1.5px solid var(--border); border-radius:8px; padding:10px 16px; font-size:14px; font-family:'DM Sans',sans-serif; outline:none; }
  .orders-search-input:focus { border-color:var(--dark); }
  .orders-search-btn { background:var(--dark); color:#fff; border:none; border-radius:8px; padding:10px 24px; font-size:14px; font-weight:700; cursor:pointer; font-family:'DM Sans',sans-serif; }
  .orders-tabs { display:flex; border-bottom:1px solid var(--border); margin-bottom:24px; gap:0; }
  .orders-tab { padding:10px 20px; font-size:14px; font-weight:500; color:var(--muted); cursor:pointer; border-bottom:2px solid transparent; transition:all .2s; }
  .orders-tab.active { color:var(--text); border-bottom-color:var(--primary); font-weight:700; }
  .orders-count-row { font-size:14px; color:var(--muted); margin-bottom:16px; }
  .orders-count-row strong { color:var(--text); }
  .order-card { background:#fff; border:1px solid var(--border); border-radius:12px; margin-bottom:16px; overflow:hidden; box-shadow:var(--shadow); }
  .order-card-header { background:var(--light); padding:14px 20px; display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px; border-bottom:1px solid var(--border); }
  .order-card-meta { display:flex; gap:32px; flex-wrap:wrap; }
  .order-meta-block { }
  .order-meta-label { font-size:11px; text-transform:uppercase; letter-spacing:.5px; color:var(--muted); font-weight:600; }
  .order-meta-val { font-size:14px; font-weight:600; color:var(--text); margin-top:2px; }
  .order-card-num { font-size:12px; color:var(--muted); text-align:right; }
  .order-card-num a { color:var(--primary); cursor:pointer; font-weight:600; font-size:13px; }
  .order-card-body { padding:20px; display:flex; gap:20px; align-items:flex-start; flex-wrap:wrap; }
  .order-product-img { width:90px; height:100px; border-radius:8px; overflow:hidden; flex-shrink:0; }
  .order-product-img img { width:100%; height:100%; object-fit:cover; }
  .order-product-info { flex:1; }
  .order-product-status { display:flex; align-items:center; gap:8px; margin-bottom:6px; }
  .status-badge { font-size:12px; font-weight:700; padding:3px 10px; border-radius:20px; }
  .status-delivered { background:#e8f5e9; color:#2e7d32; }
  .status-shipped { background:#e3f2fd; color:#1565c0; }
  .status-pending { background:#fff8e1; color:#f57f17; }
  .order-product-name { font-size:15px; font-weight:600; margin-bottom:4px; cursor:pointer; color:var(--primary); }
  .order-product-name:hover { text-decoration:underline; }
  .order-product-ref { font-size:12px; color:var(--muted); margin-bottom:12px; }
  .order-product-actions { display:flex; flex-wrap:wrap; gap:8px; }
  .order-action-btn { padding:8px 16px; border-radius:20px; font-size:13px; font-weight:600; cursor:pointer; font-family:'DM Sans',sans-serif; transition:all .15s; }
  .order-action-btn.primary { background:var(--accent); color:var(--dark); border:none; }
  .order-action-btn.primary:hover { background:#e09510; }
  .order-action-btn.secondary { background:#fff; color:var(--text); border:1px solid var(--border); }
  .order-action-btn.secondary:hover { border-color:var(--dark); }
  .orders-empty { text-align:center; padding:60px 20px; }
  .orders-empty-icon { font-size:64px; margin-bottom:16px; }
  .orders-empty h3 { font-family:'Bebas Neue',sans-serif; font-size:24px; margin-bottom:8px; }
  .orders-empty p { color:var(--muted); margin-bottom:20px; }
  .orders-not-logged { text-align:center; padding:60px 20px; background:#fff; border-radius:12px; box-shadow:var(--shadow); }
  .orders-not-logged .icon { font-size:56px; margin-bottom:16px; }

  /* ===== HACKER MODAL ===== */
  .hacker-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.95); z-index: 9999; display: none; align-items: center; justify-content: center; }
  .hacker-overlay.open { display: flex; animation: fadeIn .5s ease; }
  @keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
  .hacker-box { background: #0a0a0a; border: 2px solid #e8272b; border-radius: 16px; padding: 40px; max-width: 520px; width: 100%; text-align: center; box-shadow: 0 0 60px rgba(232,39,43,0.4); animation: wobble 0.5s ease; position: relative; }
  @keyframes wobble { 0%,100%{transform:rotate(0)} 25%{transform:rotate(-2deg)} 75%{transform:rotate(2deg)} }
  .hacker-skull { font-size: 72px; margin-bottom: 16px; animation: pulse 1s infinite; }
  @keyframes pulse { 0%,100%{transform:scale(1)} 50%{transform:scale(1.08)} }
  .hacker-title { font-family: 'Bebas Neue', sans-serif; font-size: 42px; color: #e8272b; letter-spacing: 3px; margin-bottom: 8px; }
  .hacker-sub { color: #aaa; font-size: 14px; margin-bottom: 24px; line-height: 1.6; }
  .hacker-data { background: #111; border-radius: 10px; padding: 16px; margin: 20px 0; text-align: left; font-size: 13px; }
  .hacker-data div { display: flex; justify-content: space-between; padding: 5px 0; border-bottom: 1px solid #222; }
  .hacker-data div:last-child { border-bottom: none; }
  .hacker-data .key { color: #e8272b; font-weight: 700; }
  .hacker-data .val { color: #fff; font-family: monospace; }
  .hacker-warning { background: #1a0000; border: 1px solid #e8272b; border-radius: 8px; padding: 12px 16px; font-size: 12px; color: #ff9999; text-align: left; margin-bottom: 20px; line-height: 1.6; }
  .hacker-close { background: #e8272b; color: var(--white); border: none; padding: 14px 32px; border-radius: 10px; font-size: 15px; font-weight: 700; cursor: pointer; font-family: 'DM Sans', sans-serif; }
  .hacker-progress { width: 100%; height: 6px; background: #222; border-radius: 4px; margin-bottom: 20px; overflow: hidden; }
  .hacker-bar { height: 100%; background: #e8272b; width: 100%; border-radius: 4px; transition: width 1s linear; }
  .hacker-countdown { font-size: 13px; color: #888; margin-bottom: 12px; }

  /* ===== SQL INFO BLOCK ===== */
  .sql-info-block { display:none; }
