/* ============================================================
   BagIT Dropshop — Master Stylesheet
   ============================================================ */

:root {
  --bg: #0d0d0d;
  --surface: #161616;
  --surface2: #1f1f1f;
  --accent: #f5c400;
  --accent2: #ff4d2e;
  --accent3: #00e5c3;
  --text: #f0f0f0;
  --muted: #888;
  --border: #2a2a2a;
  --radius: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

a { color: inherit; }

/* TICKER */
.ticker {
  background: var(--accent);
  color: #000;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1px;
  padding: 8px 0;
  overflow: hidden;
  white-space: nowrap;
}
.ticker-inner {
  display: inline-block;
  animation: ticker 30s linear infinite;
}
.ticker-inner span { margin: 0 40px; }
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* HEADER */
header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 16px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 32px;
  letter-spacing: 2px;
  color: var(--text);
  text-decoration: none;
  line-height: 1;
}
.logo span { color: var(--accent); }

.search-bar {
  flex: 1;
  max-width: 500px;
  display: flex;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 50px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.search-bar:focus-within { border-color: var(--accent); }
.search-bar input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text);
  padding: 12px 20px;
  font-size: 14px;
  font-family: inherit;
}
.search-bar button {
  background: var(--accent);
  border: none;
  padding: 0 20px;
  cursor: pointer;
  font-size: 16px;
  color: #000;
  font-weight: 700;
}

.header-actions { display: flex; gap: 16px; align-items: center; }
.btn-icon {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 50px;
  color: var(--text);
  padding: 10px 18px;
  cursor: pointer;
  font-size: 14px;
  font-family: inherit;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-icon:hover { border-color: var(--accent); color: var(--accent); }
.cart-btn {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
  font-weight: 700;
}
.cart-btn:hover { background: #ffd700; color: #000; }

/* NAV */
nav {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 0 40px;
  display: flex;
  gap: 4px;
  overflow-x: auto;
}
nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}
nav a:hover, nav a.active { color: var(--accent); border-bottom-color: var(--accent); }

/* HERO */
.hero {
  position: relative;
  background: var(--surface);
  overflow: hidden;
  min-height: 500px;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.hero-left {
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245,196,0,0.1);
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 24px;
  width: fit-content;
}
.hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(60px, 8vw, 100px);
  line-height: 0.95;
  letter-spacing: 2px;
  margin-bottom: 20px;
}
.hero h1 em {
  color: var(--accent);
  font-style: normal;
  display: block;
}
.hero p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: 380px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-right {
  position: relative;
  background: linear-gradient(135deg, #1a1a00 0%, #1f1a00 50%, var(--surface) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-visual {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-circle {
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,196,0,0.15) 0%, transparent 70%);
  position: absolute;
  animation: pulse 3s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.1); opacity: 1; }
}
.hero-product-cards {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 40px;
}
.mini-card {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(245,196,0,0.2);
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 280px;
  animation: floatIn 0.6s ease both;
}
.mini-card:nth-child(1) { animation-delay: 0.2s; transform: rotate(-2deg); }
.mini-card:nth-child(2) { animation-delay: 0.4s; margin-left: 30px; }
.mini-card:nth-child(3) { animation-delay: 0.6s; transform: rotate(1deg); margin-left: 15px; }
@keyframes floatIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.mini-card-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.mini-card-info { flex: 1; }
.mini-card-info strong { display: block; font-size: 13px; font-weight: 600; }
.mini-card-info span { font-size: 12px; color: var(--muted); }
.mini-card-price { font-family: 'Space Mono', monospace; font-size: 14px; color: var(--accent); font-weight: 700; }

/* BUTTONS */
.btn-primary {
  background: var(--accent);
  color: #000;
  font-weight: 700;
  font-size: 15px;
  padding: 16px 32px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}
.btn-primary:hover { background: #ffd700; transform: translateY(-2px); }
.btn-secondary {
  background: transparent;
  color: var(--text);
  font-weight: 600;
  font-size: 15px;
  padding: 16px 32px;
  border-radius: 50px;
  border: 1px solid var(--border);
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}
.btn-secondary:hover { border-color: var(--text); }

.btn-sm {
  padding: 10px 20px;
  font-size: 13px;
}
.btn-danger {
  background: var(--accent2);
  color: #fff;
}
.btn-danger:hover { background: #e0341a; }

/* STATS */
.stats {
  background: var(--accent);
  padding: 20px 40px;
  display: flex;
  gap: 0;
  justify-content: space-around;
}
.stat {
  text-align: center;
  color: #000;
  padding: 0 20px;
  border-right: 1px solid rgba(0,0,0,0.15);
}
.stat:last-child { border-right: none; }
.stat-num { font-family: 'Bebas Neue', sans-serif; font-size: 32px; line-height: 1; }
.stat-label { font-size: 12px; font-weight: 600; letter-spacing: 1px; opacity: 0.7; }

/* SECTIONS */
section { padding: 60px 40px; }
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 32px;
}
.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 42px;
  letter-spacing: 1px;
  line-height: 1;
}
.section-title span { color: var(--accent); }
.section-link {
  color: var(--accent);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}
.section-link:hover { text-decoration: underline; }

/* CATEGORIES */
.categories { background: var(--surface); }
.categories-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.cat-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  color: var(--text);
}
.cat-card:hover { border-color: var(--accent); transform: translateY(-4px); background: #1a1a00; }
.cat-icon { font-size: 36px; margin-bottom: 12px; display: block; }
.cat-name { font-size: 13px; font-weight: 600; }
.cat-count { font-size: 11px; color: var(--muted); margin-top: 4px; }

/* FLASH SALE */
.flash-sale { background: var(--bg); }
.flash-header {
  background: var(--accent2);
  border-radius: var(--radius);
  padding: 20px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.flash-title { display: flex; align-items: center; gap: 14px; }
.flash-title h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 36px;
  color: #fff;
  letter-spacing: 2px;
}
.flash-emoji { font-size: 32px; animation: bounce 0.6s infinite alternate; }
@keyframes bounce { from { transform: scale(1); } to { transform: scale(1.2); } }

.countdown { display: flex; gap: 8px; align-items: center; }
.countdown-block {
  background: rgba(0,0,0,0.3);
  border-radius: 8px;
  padding: 10px 14px;
  text-align: center;
  min-width: 58px;
}
.countdown-num {
  font-family: 'Space Mono', monospace;
  font-size: 24px;
  color: #fff;
  font-weight: 700;
  line-height: 1;
}
.countdown-label { font-size: 10px; color: rgba(255,255,255,0.6); font-weight: 600; letter-spacing: 1px; margin-top: 3px; }
.countdown-sep { font-size: 24px; color: #fff; font-weight: 700; opacity: 0.6; }

/* PRODUCT GRID & CARDS */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.25s;
  position: relative;
  text-decoration: none;
  color: var(--text);
  display: block;
}
.product-card:hover {
  border-color: rgba(245,196,0,0.4);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.product-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--surface2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 70px;
  position: relative;
  overflow: hidden;
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--accent2);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
  letter-spacing: 0.5px;
  z-index: 2;
}
.badge.new { background: var(--accent3); color: #000; }
.badge.hot { background: var(--accent); color: #000; }

.wishlist-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0,0,0,0.5);
  border: none;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  color: var(--muted);
  transition: all 0.2s;
  z-index: 2;
  opacity: 0;
}
.product-card:hover .wishlist-btn { opacity: 1; }
.wishlist-btn:hover { background: rgba(255,77,46,0.8); color: #fff; }

.product-info { padding: 16px; }
.product-category { font-size: 11px; color: var(--muted); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 6px; }
.product-name { font-size: 15px; font-weight: 600; margin-bottom: 10px; line-height: 1.3; }
.product-pricing { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.price-current { font-family: 'Space Mono', monospace; font-size: 18px; font-weight: 700; color: var(--accent); }
.price-original { font-size: 13px; color: var(--muted); text-decoration: line-through; }
.price-save { font-size: 11px; background: rgba(245,196,0,0.1); color: var(--accent); padding: 3px 8px; border-radius: 50px; font-weight: 700; }
.product-stars { font-size: 13px; color: var(--accent); margin-bottom: 14px; }
.product-stars span { color: var(--muted); margin-left: 4px; font-size: 12px; }

.add-to-cart {
  width: 100%;
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 600;
  font-size: 13px;
  padding: 12px;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}
.add-to-cart:hover { background: var(--accent); color: #000; border-color: var(--accent); }

/* FEATURED BANNERS */
.featured-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 0 40px 40px;
}
.banner-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 30px;
  position: relative;
  overflow: hidden;
}
.banner-card.tech { background: linear-gradient(135deg, #1a1a2e, #16213e); border-color: #1e3a5f; }
.banner-card.beauty { background: linear-gradient(135deg, #2d1f3d, #1f1a2e); border-color: #3d2a5f; }
.banner-card-tag { font-size: 11px; font-weight: 700; letter-spacing: 2px; color: var(--accent); margin-bottom: 12px; text-transform: uppercase; }
.banner-card h3 { font-family: 'Bebas Neue', sans-serif; font-size: 36px; letter-spacing: 2px; margin-bottom: 10px; }
.banner-card p { color: var(--muted); font-size: 14px; margin-bottom: 20px; max-width: 300px; }
.banner-btn {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  width: fit-content;
  display: inline-block;
  transition: all 0.2s;
}
.banner-btn:hover { background: rgba(255,255,255,0.2); }
.banner-emoji {
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 80px;
  opacity: 0.3;
}

/* NEWSLETTER */
.newsletter {
  background: var(--accent);
  padding: 60px 40px;
  text-align: center;
}
.newsletter h2 { font-family: 'Bebas Neue', sans-serif; font-size: 52px; color: #000; letter-spacing: 2px; margin-bottom: 10px; }
.newsletter p { color: rgba(0,0,0,0.6); font-size: 16px; margin-bottom: 30px; }
.newsletter-form { display: flex; gap: 0; max-width: 480px; margin: 0 auto; border-radius: 50px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
.newsletter-form input { flex: 1; background: #fff; border: none; outline: none; padding: 16px 24px; font-size: 15px; font-family: inherit; color: #000; }
.newsletter-form button { background: #000; color: var(--accent); font-weight: 700; font-size: 14px; padding: 16px 28px; border: none; cursor: pointer; font-family: inherit; white-space: nowrap; transition: background 0.2s; }
.newsletter-form button:hover { background: #222; }

/* FOOTER */
footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 50px 40px 30px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .logo { display: block; margin-bottom: 14px; font-size: 28px; }
.footer-brand p { color: var(--muted); font-size: 14px; line-height: 1.7; }
.footer-col h4 { font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.footer-col a { display: block; color: var(--text); text-decoration: none; font-size: 14px; margin-bottom: 10px; opacity: 0.7; transition: opacity 0.2s; }
.footer-col a:hover { opacity: 1; color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { color: var(--muted); font-size: 13px; }
.payment-icons { display: flex; gap: 10px; }
.payment-icon {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.5px;
}
.payment-icon.yoco { background: rgba(0,229,195,0.1); border-color: var(--accent3); color: var(--accent3); }

/* ============================================================
   PAGE-SPECIFIC STYLES
   ============================================================ */

/* PAGE CONTAINER */
.page-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 40px 80px;
}

.page-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 48px;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.page-title span { color: var(--accent); }

.page-breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 32px;
}
.page-breadcrumb a { color: var(--muted); text-decoration: none; }
.page-breadcrumb a:hover { color: var(--accent); }

/* SHOP PAGE — FILTERS */
.shop-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 30px;
}
.shop-sidebar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  height: fit-content;
  position: sticky;
  top: 100px;
}
.filter-group { margin-bottom: 24px; }
.filter-group h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.filter-group a, .filter-group label {
  display: block;
  font-size: 14px;
  padding: 8px 0;
  color: var(--text);
  opacity: 0.7;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
}
.filter-group a:hover, .filter-group label:hover,
.filter-group a.active { opacity: 1; color: var(--accent); }
.filter-group input[type="checkbox"] { margin-right: 8px; accent-color: var(--accent); }

.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.shop-count { font-size: 14px; color: var(--muted); }
.shop-sort select {
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 10px 16px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
}

/* SINGLE PRODUCT PAGE */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-bottom: 60px;
}
.product-gallery {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 120px;
}
.product-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-detail-info h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 42px;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.product-detail-info .product-category {
  font-size: 13px;
  margin-bottom: 16px;
}
.product-detail-info .product-pricing {
  margin-bottom: 24px;
}
.product-detail-info .price-current {
  font-size: 32px;
}
.product-detail-info .price-original {
  font-size: 18px;
}
.product-detail-info .price-save {
  font-size: 14px;
  padding: 6px 14px;
}
.product-description {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 30px;
}
.product-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 30px;
}
.qty-control {
  display: flex;
  align-items: center;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.qty-control button {
  background: none;
  border: none;
  color: var(--text);
  font-size: 18px;
  padding: 12px 16px;
  cursor: pointer;
  font-weight: 700;
}
.qty-control button:hover { color: var(--accent); }
.qty-control input {
  width: 50px;
  background: none;
  border: none;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  color: var(--text);
  text-align: center;
  font-size: 16px;
  font-family: inherit;
  font-weight: 700;
  padding: 12px 0;
  outline: none;
}
.product-meta {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  font-size: 13px;
  color: var(--muted);
}
.product-meta p { margin-bottom: 8px; }
.product-meta strong { color: var(--text); }

/* CART PAGE */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
}
.cart-items { display: flex; flex-direction: column; gap: 16px; }
.cart-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: grid;
  grid-template-columns: 80px 1fr auto auto;
  gap: 20px;
  align-items: center;
}
.cart-item-img {
  width: 80px;
  height: 80px;
  background: var(--surface2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  overflow: hidden;
}
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-name { font-weight: 600; font-size: 15px; margin-bottom: 4px; }
.cart-item-variant { font-size: 12px; color: var(--muted); }
.cart-item-price { font-family: 'Space Mono', monospace; font-size: 16px; font-weight: 700; color: var(--accent); }
.cart-item-remove {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 18px;
  padding: 8px;
  transition: color 0.2s;
}
.cart-item-remove:hover { color: var(--accent2); }

.cart-summary {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  height: fit-content;
  position: sticky;
  top: 100px;
}
.cart-summary h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  letter-spacing: 1px;
  margin-bottom: 24px;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
}
.summary-row.total {
  font-weight: 700;
  font-size: 18px;
  border-bottom: none;
  margin-top: 8px;
  color: var(--accent);
}
.summary-row.total .price { font-family: 'Space Mono', monospace; }
.promo-input {
  display: flex;
  gap: 8px;
  margin: 20px 0;
}
.promo-input input {
  flex: 1;
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 12px 16px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  outline: none;
}
.promo-input input:focus { border-color: var(--accent); }
.promo-input button {
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 12px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-family: inherit;
  font-size: 13px;
  white-space: nowrap;
  transition: all 0.2s;
}
.promo-input button:hover { border-color: var(--accent); color: var(--accent); }

.cart-summary .btn-primary {
  width: 100%;
  justify-content: center;
  margin-top: 16px;
  font-size: 16px;
  padding: 18px;
}

.empty-state {
  text-align: center;
  padding: 80px 40px;
}
.empty-state .icon { font-size: 80px; margin-bottom: 24px; display: block; }
.empty-state h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 36px;
  margin-bottom: 12px;
}
.empty-state p { color: var(--muted); margin-bottom: 30px; }

/* CHECKOUT */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 40px;
}
.checkout-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  margin-bottom: 24px;
}
.checkout-section h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px;
  letter-spacing: 1px;
  margin-bottom: 20px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-row.full { grid-template-columns: 1fr; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: 0.5px; text-transform: uppercase; }
.form-group input, .form-group select, .form-group textarea {
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 14px 16px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--accent);
}
.form-group select { cursor: pointer; }
.form-group textarea { min-height: 100px; resize: vertical; }

/* ACCOUNT */
.auth-container {
  max-width: 440px;
  margin: 60px auto;
  padding: 0 20px;
}
.auth-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}
.auth-box h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 36px;
  letter-spacing: 1px;
  margin-bottom: 8px;
  text-align: center;
}
.auth-box p.subtitle {
  color: var(--muted);
  text-align: center;
  margin-bottom: 30px;
  font-size: 14px;
}
.auth-box .form-group { margin-bottom: 16px; }
.auth-box .btn-primary { width: 100%; justify-content: center; margin-top: 8px; }
.auth-footer {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: var(--muted);
}
.auth-footer a { color: var(--accent); text-decoration: none; font-weight: 600; }
.auth-footer a:hover { text-decoration: underline; }

.auth-error {
  background: rgba(255,77,46,0.1);
  border: 1px solid var(--accent2);
  color: var(--accent2);
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 20px;
  text-align: center;
}

/* ORDER HISTORY */
.orders-table {
  width: 100%;
  border-collapse: collapse;
}
.orders-table th {
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}
.orders-table td {
  padding: 16px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.orders-table tr:hover td { background: var(--surface2); }

.status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.status-pending { background: rgba(245,196,0,0.1); color: var(--accent); }
.status-confirmed, .status-processing { background: rgba(0,229,195,0.1); color: var(--accent3); }
.status-shipped { background: rgba(100,149,237,0.1); color: #6495ed; }
.status-delivered { background: rgba(0,229,195,0.2); color: var(--accent3); }
.status-cancelled, .status-refunded { background: rgba(255,77,46,0.1); color: var(--accent2); }

/* PAGINATION */
.pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 40px;
}
.page-link {
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s;
}
.page-link:hover, .page-link.active { background: var(--accent); color: #000; border-color: var(--accent); }

/* STATIC PAGES */
.prose { max-width: 800px; }
.prose h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 32px;
  letter-spacing: 1px;
  margin: 40px 0 16px;
}
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--muted); font-size: 15px; line-height: 1.8; margin-bottom: 16px; }
.prose ul { margin: 0 0 16px 20px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.prose a { color: var(--accent); }

/* ORDER CONFIRMATION */
.order-success {
  text-align: center;
  max-width: 600px;
  margin: 60px auto;
}
.order-success .icon { font-size: 80px; display: block; margin-bottom: 20px; }
.order-success h1 { font-family: 'Bebas Neue', sans-serif; font-size: 48px; margin-bottom: 12px; }
.order-success h1 span { color: var(--accent); }
.order-success .order-num {
  font-family: 'Space Mono', monospace;
  font-size: 18px;
  color: var(--accent);
  background: rgba(245,196,0,0.1);
  padding: 10px 24px;
  border-radius: 8px;
  display: inline-block;
  margin: 16px 0 24px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .categories-grid { grid-template-columns: repeat(3, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .shop-layout { grid-template-columns: 1fr; }
  .shop-sidebar { position: static; }
  .cart-layout { grid-template-columns: 1fr; }
  .checkout-layout { grid-template-columns: 1fr; }
  .product-detail { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  header { padding: 12px 20px; flex-wrap: wrap; }
  .search-bar { order: 3; max-width: 100%; width: 100%; }
  nav { padding: 0 20px; }
  .hero { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .hero-left { padding: 50px 20px; }
  section { padding: 40px 20px; }
  .page-container { padding: 30px 20px 60px; }
  .categories-grid { grid-template-columns: repeat(3, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-banner { grid-template-columns: 1fr; padding: 40px 20px; }
  .stats { flex-wrap: wrap; gap: 20px; padding: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; }
  .cart-item { grid-template-columns: 60px 1fr; gap: 12px; }
  .cart-item-price { grid-column: 2; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
}
