@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --bg-primary: #080b12;
  --bg-secondary: #0f1320;
  --bg-card: #161b2e;
  --bg-card-hover: #1d2340;
  --accent: #c9a84c;
  --accent-hover: #e0be6a;
  --accent-dim: rgba(201, 168, 76, 0.1);
  --accent-border: rgba(201, 168, 76, 0.25);
  --text-primary: #f0eeea;
  --text-secondary: #8a8fa8;
  --text-muted: #50546a;
  --border: #1e2235;
  --danger: #e74c3c;
  --success: #27ae60;
  --warning: #f39c12;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow: 0 4px 20px rgba(0,0,0,0.5);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.7);
  --radius: 8px;
  --radius-lg: 14px;
  --transition: 0.2s ease;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, .brand-font { font-family: 'Cinzel', Georgia, serif; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; line-height: 1.2; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 600; line-height: 1.3; }
h3 { font-size: 1.2rem; font-weight: 600; }
.accent { color: var(--accent); }

/* ── LAYOUT ── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 900px; margin: 0 auto; padding: 0 24px; }
section { padding: 80px 0; }

/* ── NAVBAR ── */
.navbar {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(8, 11, 18, 0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.navbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 70px; gap: 24px;
}
.navbar-logo { display: flex; align-items: center; gap: 0; flex-shrink: 0; }
.navbar-logo img { height: 44px; width: auto; }
.navbar-nav { display: flex; align-items: center; gap: 4px; list-style: none; }
.navbar-nav a {
  display: block; padding: 8px 14px; border-radius: var(--radius);
  color: var(--text-secondary); font-size: 0.88rem; font-weight: 500;
  transition: var(--transition);
}
.navbar-nav a:hover, .navbar-nav a.active {
  color: var(--text-primary); background: var(--accent-dim);
}
.navbar-actions { display: flex; align-items: center; gap: 10px; }
.cart-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 18px;
  background: var(--accent-dim); border: 1px solid var(--accent-border);
  border-radius: var(--radius); color: var(--accent);
  font-size: 0.88rem; font-weight: 600; cursor: pointer;
  transition: var(--transition);
}
.cart-btn:hover { background: var(--accent); color: var(--bg-primary); border-color: var(--accent); }
.cart-count {
  background: var(--accent); color: var(--bg-primary);
  font-size: 0.7rem; font-weight: 700; padding: 1px 6px;
  border-radius: 99px; min-width: 18px; text-align: center;
}
.cart-btn:hover .cart-count { background: var(--bg-primary); color: var(--accent); }
.mobile-menu-btn {
  display: none; background: none; border: none;
  color: var(--text-primary); cursor: pointer; padding: 8px; font-size: 1.4rem;
}

/* ── HERO ── */
.hero {
  position: relative; min-height: 88vh;
  display: flex; align-items: center; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(201,168,76,0.13) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 85% 70%, rgba(201,168,76,0.07) 0%, transparent 50%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}
.hero-content { position: relative; z-index: 1; text-align: center; padding: 60px 0; width: 100%; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 18px;
  background: var(--accent-dim); border: 1px solid var(--accent-border);
  border-radius: 99px; font-size: 0.75rem; color: var(--accent);
  font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 32px;
}
.hero h1 { margin-bottom: 24px; }
.hero h1 span { color: var(--accent); }
.hero-subtitle {
  font-size: 1.1rem; color: var(--text-secondary);
  max-width: 560px; margin: 0 auto 40px;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: var(--radius);
  font-size: 0.9rem; font-weight: 600; cursor: pointer;
  border: none; transition: var(--transition);
  white-space: nowrap; text-align: center;
}
.btn-primary { background: var(--accent); color: var(--bg-primary); }
.btn-primary:hover {
  background: var(--accent-hover); transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(201,168,76,0.35);
}
.btn-secondary {
  background: transparent; color: var(--accent);
  border: 1px solid var(--accent-border);
}
.btn-secondary:hover { background: var(--accent-dim); border-color: var(--accent); }
.btn-ghost { background: var(--bg-card); color: var(--text-primary); border: 1px solid var(--border); }
.btn-ghost:hover { background: var(--bg-card-hover); border-color: var(--accent-border); }
.btn-danger { background: var(--danger); color: white; }
.btn-danger:hover { background: #c0392b; }
.btn-success { background: var(--success); color: white; }
.btn-sm { padding: 8px 16px; font-size: 0.82rem; }
.btn-lg { padding: 15px 38px; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }

/* ── SECTION HEADERS ── */
.section-header { margin-bottom: 48px; }
.section-header.centered { text-align: center; }
.section-tag {
  display: inline-block; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 12px;
}
.section-header h2 { margin-bottom: 12px; }
.section-header p { color: var(--text-secondary); max-width: 560px; }
.section-header.centered p { margin: 0 auto; }
.section-divider { width: 48px; height: 2px; background: var(--accent); margin: 14px 0; }
.section-header.centered .section-divider { margin: 14px auto; }

/* ── TCG CATEGORY GRID ── */
.tcg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 14px;
}
.tcg-card {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 22px 16px; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  cursor: pointer; transition: var(--transition); text-align: center;
}
.tcg-card:hover {
  border-color: var(--accent-border); background: var(--bg-card-hover);
  transform: translateY(-3px); box-shadow: var(--shadow);
}
.tcg-card.active { border-color: var(--accent); background: var(--accent-dim); }
.tcg-icon {
  width: 50px; height: 50px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; background: var(--accent-dim);
  border: 1px solid var(--accent-border);
}
.tcg-card .tcg-name { font-size: 0.78rem; font-weight: 600; color: var(--text-secondary); line-height: 1.3; }
.tcg-card:hover .tcg-name, .tcg-card.active .tcg-name { color: var(--text-primary); }

/* ── PRODUCT GRID ── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}
.product-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: var(--transition); display: flex; flex-direction: column;
}
.product-card:hover {
  border-color: var(--accent-border); transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.product-img-wrap {
  position: relative; aspect-ratio: 4/3;
  background: var(--bg-secondary); overflow: hidden;
}
.product-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .product-img-wrap img { transform: scale(1.06); }
.product-no-image {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 8px; color: var(--text-muted);
}
.product-no-image .icon { font-size: 2.8rem; }
.product-no-image span { font-size: 0.75rem; }
.product-badge {
  position: absolute; top: 10px; left: 10px;
  padding: 4px 10px; border-radius: 99px;
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
}
.badge-featured { background: var(--accent); color: var(--bg-primary); }
.badge-low { background: var(--warning); color: var(--bg-primary); }
.badge-out { background: var(--danger); color: white; }
.product-tcg-tag {
  position: absolute; top: 10px; right: 10px;
  padding: 3px 9px; background: rgba(8,11,18,0.85);
  border: 1px solid var(--border); border-radius: 99px;
  font-size: 0.65rem; font-weight: 600; color: var(--text-secondary);
  backdrop-filter: blur(4px);
}
.product-info { padding: 16px; display: flex; flex-direction: column; flex: 1; gap: 6px; }
.product-type {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-muted);
}
.product-name { font-size: 0.92rem; font-weight: 600; line-height: 1.4; flex: 1; }
.product-footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--border);
}
.product-price {
  font-size: 1.15rem; font-weight: 700; color: var(--accent);
  font-family: 'Cinzel', serif;
}
.product-card .add-btn {
  padding: 7px 14px; font-size: 0.78rem; border-radius: var(--radius);
  background: var(--accent-dim); border: 1px solid var(--accent-border);
  color: var(--accent); cursor: pointer; font-weight: 600;
  transition: var(--transition);
}
.product-card .add-btn:hover { background: var(--accent); color: var(--bg-primary); }
.product-card .add-btn:disabled {
  opacity: 0.4; cursor: not-allowed;
  background: var(--bg-secondary); border-color: var(--border); color: var(--text-muted);
}

/* ── PAGE BANNER ── */
.page-banner {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  padding: 52px 0;
}
.page-banner h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 8px; }
.page-banner p { color: var(--text-secondary); }

/* ── BREADCRUMB ── */
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.8rem; color: var(--text-muted); margin-bottom: 10px;
}
.breadcrumb a:hover { color: var(--accent); }

/* ── SHOP LAYOUT ── */
.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: start; }
.filters-sidebar {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px;
  position: sticky; top: 90px;
}
.filter-section { margin-bottom: 28px; }
.filter-section:last-child { margin-bottom: 0; }
.filter-label {
  display: block; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 12px;
}
.filter-options { display: flex; flex-direction: column; gap: 2px; }
.filter-option {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: var(--radius);
  cursor: pointer; transition: var(--transition);
  color: var(--text-secondary); font-size: 0.86rem;
}
.filter-option:hover { background: var(--bg-card-hover); color: var(--text-primary); }
.filter-option input[type="checkbox"] { accent-color: var(--accent); width: 14px; height: 14px; }
.filter-count {
  margin-left: auto; font-size: 0.7rem; color: var(--text-muted);
  background: var(--bg-secondary); padding: 1px 7px; border-radius: 99px;
}
.price-range { display: flex; align-items: center; gap: 8px; }
.price-range input {
  flex: 1; padding: 8px 10px; background: var(--bg-secondary);
  border: 1px solid var(--border); border-radius: var(--radius);
  color: var(--text-primary); font-size: 0.85rem; width: 0;
}
.price-range input:focus { outline: none; border-color: var(--accent-border); }
.shop-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px; flex-wrap: wrap; gap: 12px;
}
.shop-toolbar-left { display: flex; align-items: center; gap: 12px; }
.results-count { font-size: 0.85rem; color: var(--text-muted); }
.sort-select {
  padding: 8px 12px; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); color: var(--text-primary);
  font-size: 0.85rem; cursor: pointer;
}
.sort-select:focus { outline: none; border-color: var(--accent-border); }
.filter-toggle {
  display: none; align-items: center; gap: 8px;
  padding: 8px 16px; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--radius);
  color: var(--text-secondary); font-size: 0.85rem; cursor: pointer;
}
.no-products {
  grid-column: 1 / -1; text-align: center; padding: 80px 20px;
  color: var(--text-muted);
}
.no-products .icon { font-size: 3rem; margin-bottom: 16px; }

/* ── PRODUCT DETAIL ── */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.product-detail-img {
  aspect-ratio: 4/3; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden;
}
.product-detail-img img { width: 100%; height: 100%; object-fit: cover; }
.product-detail-no-img {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 12px; color: var(--text-muted); font-size: 4rem;
}
.product-detail-info { display: flex; flex-direction: column; gap: 20px; }
.product-tags { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.product-tag {
  padding: 4px 12px; border-radius: 99px; font-size: 0.74rem; font-weight: 600;
  background: var(--accent-dim); border: 1px solid var(--accent-border); color: var(--accent);
}
.product-detail-name { font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.3; }
.product-detail-price {
  font-size: 2.4rem; font-weight: 700; color: var(--accent);
  font-family: 'Cinzel', serif;
}
.product-detail-desc { color: var(--text-secondary); line-height: 1.75; font-size: 0.95rem; }
.product-meta {
  padding: 20px; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--radius);
  display: flex; flex-direction: column; gap: 10px;
}
.meta-row { display: flex; justify-content: space-between; font-size: 0.88rem; }
.meta-row .label { color: var(--text-muted); }
.meta-row .value { font-weight: 600; }
.stock-ok { color: var(--success); }
.stock-low { color: var(--warning); }
.stock-out { color: var(--danger); }
.qty-selector { display: flex; align-items: center; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; width: fit-content; }
.qty-btn {
  background: var(--bg-card); border: none; color: var(--text-primary);
  padding: 10px 16px; cursor: pointer; font-size: 1rem; transition: var(--transition);
}
.qty-btn:hover { background: var(--bg-card-hover); color: var(--accent); }
.qty-input {
  background: var(--bg-secondary); border: none;
  border-left: 1px solid var(--border); border-right: 1px solid var(--border);
  color: var(--text-primary); text-align: center;
  width: 52px; padding: 10px 0; font-size: 0.9rem;
}
.qty-input:focus { outline: none; }
.detail-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── CART ── */
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; }
.cart-items { display: flex; flex-direction: column; gap: 14px; }
.cart-item {
  display: grid; grid-template-columns: 90px 1fr auto;
  gap: 16px; align-items: center;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 16px;
}
.cart-item-img {
  width: 90px; height: 68px; object-fit: cover;
  border-radius: var(--radius); background: var(--bg-secondary);
}
.cart-item-name { font-weight: 600; margin-bottom: 4px; font-size: 0.92rem; }
.cart-item-meta { font-size: 0.8rem; color: var(--text-muted); }
.cart-item-right { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.cart-item-price { font-weight: 700; color: var(--accent); font-size: 1.05rem; }
.cart-item-remove {
  background: none; border: none; color: var(--text-muted);
  cursor: pointer; font-size: 0.82rem; transition: var(--transition);
  padding: 4px 8px; border-radius: 4px;
}
.cart-item-remove:hover { color: var(--danger); background: rgba(231,76,60,0.1); }
.cart-summary {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  position: sticky; top: 90px;
}
.cart-summary h3 { margin-bottom: 24px; }
.summary-row {
  display: flex; justify-content: space-between;
  font-size: 0.88rem; color: var(--text-secondary); margin-bottom: 12px;
}
.summary-row.total {
  font-size: 1.1rem; font-weight: 700; color: var(--text-primary);
  border-top: 1px solid var(--border); padding-top: 16px; margin-top: 4px;
}
.summary-row.total .val { color: var(--accent); }
.cart-empty { text-align: center; padding: 80px 0; color: var(--text-muted); }
.cart-empty .icon { font-size: 4rem; margin-bottom: 16px; }
.cart-empty p { margin-bottom: 28px; font-size: 1rem; }

/* ── CHECKOUT ── */
.checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; }
.form-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px;
}
.form-section { margin-bottom: 32px; }
.form-section:last-child { margin-bottom: 0; }
.form-section-title {
  font-size: 0.85rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 20px;
  padding-bottom: 10px; border-bottom: 1px solid var(--border);
}
.form-grid { display: grid; gap: 16px; }
.form-grid-2 { grid-template-columns: 1fr 1fr; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: 0.82rem; font-weight: 600; color: var(--text-secondary); }
.form-input, .form-select, .form-textarea {
  padding: 10px 14px; background: var(--bg-secondary);
  border: 1px solid var(--border); border-radius: var(--radius);
  color: var(--text-primary); font-size: 0.9rem; transition: var(--transition);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none; border-color: var(--accent-border);
}
.form-textarea { resize: vertical; min-height: 100px; }
.form-select option { background: var(--bg-card); }

/* ── STATS BAR ── */
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden;
}
.stat-item { background: var(--bg-card); padding: 32px; text-align: center; }
.stat-value {
  font-family: 'Cinzel', serif; font-size: 2.2rem; font-weight: 700;
  color: var(--accent); display: block; margin-bottom: 6px;
}
.stat-label { font-size: 0.8rem; color: var(--text-muted); font-weight: 500; }

/* ── ALERTS ── */
.alert { padding: 14px 18px; border-radius: var(--radius); margin-bottom: 20px; font-size: 0.9rem; }
.alert-success { background: rgba(39,174,96,0.1); border: 1px solid rgba(39,174,96,0.3); color: #2ecc71; }
.alert-error { background: rgba(231,76,60,0.1); border: 1px solid rgba(231,76,60,0.3); color: #e74c3c; }
.alert-info { background: var(--accent-dim); border: 1px solid var(--accent-border); color: var(--accent); }

/* ── TOAST ── */
#toast-container { position: fixed; bottom: 24px; right: 24px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; }
.toast {
  padding: 14px 20px; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--radius);
  font-size: 0.88rem; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 10px;
  min-width: 280px; max-width: 360px;
  animation: toastIn 0.3s ease;
}
.toast.success { border-left: 3px solid var(--success); }
.toast.error { border-left: 3px solid var(--danger); }
.toast.info { border-left: 3px solid var(--accent); }
@keyframes toastIn { from { transform: translateX(110%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes toastOut { from { opacity: 1; } to { opacity: 0; transform: translateX(110%); } }

/* ── FOOTER ── */
.footer {
  background: var(--bg-secondary); border-top: 1px solid var(--border);
  padding: 64px 0 32px; margin-top: auto;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; margin-top: 16px; }
.footer-col h4 {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 16px;
}
.footer-links { display: flex; flex-direction: column; gap: 8px; list-style: none; }
.footer-links a { font-size: 0.85rem; color: var(--text-muted); transition: var(--transition); }
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.8rem; color: var(--text-muted); flex-wrap: wrap; gap: 12px;
}

/* ── MOBILE MENU ── */
.mobile-nav {
  display: none; position: fixed; inset: 0; z-index: 999;
  background: rgba(8,11,18,0.98); backdrop-filter: blur(12px);
  flex-direction: column; align-items: center; justify-content: center; gap: 8px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 1.3rem; font-family: 'Cinzel', serif;
  color: var(--text-secondary); padding: 14px 32px;
  transition: var(--transition);
}
.mobile-nav a:hover { color: var(--accent); }
.mobile-nav-close {
  position: absolute; top: 20px; right: 20px;
  background: none; border: none; color: var(--text-primary);
  font-size: 1.8rem; cursor: pointer;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .shop-layout { grid-template-columns: 1fr; }
  .filters-sidebar { position: static; display: none; }
  .filters-sidebar.open { display: block; }
  .filter-toggle { display: flex; }
  .product-detail { grid-template-columns: 1fr; gap: 32px; }
  .cart-layout { grid-template-columns: 1fr; }
  .checkout-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  section { padding: 56px 0; }
  .navbar-nav { display: none; }
  .mobile-menu-btn { display: flex; }
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }
  .tcg-grid { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }
  .form-grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cart-item { grid-template-columns: 72px 1fr; }
  .cart-item-right { flex-direction: row; align-items: center; grid-column: 1 / -1; justify-content: space-between; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .products-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .hero-actions { flex-direction: column; align-items: center; }
}
