/* ============================================================
   OFIR | ToolTrove — XP Luna Elevated Design
   ============================================================ */

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

:root {
  /* XP Luna Blue palette */
  --xp-blue-1:    #0639a8;
  --xp-blue-2:    #1160cc;
  --xp-blue-3:    #2b86dd;
  --xp-blue-4:    #5aaee8;
  --xp-blue-5:    #acd7f5;
  --xp-shine:     #7ec5f0;

  /* Backgrounds */
  --bg:           #ece9d8;   /* classic XP beige */
  --bg-white:     #ffffff;
  --bg-section:   #f5f3ea;

  /* Text */
  --text:         #1a1a2e;
  --text-secondary:#4a4a6a;
  --text-muted:   #8888a0;

  /* Borders */
  --border:       #c0bdb0;
  --border-light: #dedad2;

  /* Store colors */
  --amazon-orange:#e07b10;
  --ebay-blue:    #0064d2;
  --walmart-blue: #0071ce;
  --bestbuy-blue: #003b8e;
  --target-red:   #cc0000;
  --etsy-orange:  #d5641c;

  /* Shadows */
  --shadow-card:  0 1px 4px rgba(0,0,0,0.14), 0 2px 8px rgba(0,0,0,0.10);
  --shadow-hover: 0 4px 16px rgba(0,60,160,0.18), 0 2px 6px rgba(0,0,0,0.12);
  --shadow-btn:   0 2px 4px rgba(0,0,0,0.25);

  --radius-sm: 4px;
  --radius:    6px;
  --radius-lg: 10px;

  --container: 1360px;
  --banner-h:  74px;
  --ticker-h:  38px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', Tahoma, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.55;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #d8d5c7; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--xp-blue-3), var(--xp-blue-1));
  border-radius: 4px;
  border: 1px solid #0050b0;
}
::-webkit-scrollbar-thumb:hover { background: var(--xp-blue-2); }

/* ============================================================
   XP BANNER — the iconic blue gradient header
   ============================================================ */
.xp-banner {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--banner-h);
  z-index: 200;
  /* XP Luna signature gradient */
  background:
    linear-gradient(180deg,
      #6ac0ef 0%,
      #3a9de0 6%,
      #1a78d4 25%,
      #1262c4 55%,
      #0a4eb8 80%,
      #083a9c 100%
    );
  /* XP highlight strip at very top */
  border-top: 2px solid #9ed6f8;
  /* XP shadow at bottom */
  box-shadow: 0 2px 0 #062e88, 0 3px 10px rgba(0,0,0,0.35);
}

.xp-banner-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Brand: OFIR */
.banner-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  text-decoration: none;
}

.banner-icon {
  font-size: 28px;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4));
  flex-shrink: 0;
}

.banner-titles { display: flex; flex-direction: column; line-height: 1; }

.banner-ofir {
  font-size: 38px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -1px;
  line-height: 1;
  /* XP-style text shadow */
  text-shadow:
    0 1px 2px rgba(0,0,0,0.5),
    0 0 24px rgba(255,255,255,0.18),
    0 2px 8px rgba(0,30,120,0.5);
}

.banner-sub {
  font-size: 12px;
  color: #c8e8ff;
  font-weight: 500;
  letter-spacing: 0.3px;
  margin-top: 2px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}

/* Search */
.banner-search {
  flex: 1;
  max-width: 440px;
  margin: 0 auto;
}

.search-wrap { position: relative; display: flex; }

.search-wrap input {
  width: 100%;
  background: rgba(255,255,255,0.92);
  border: 1px solid #0060c8;
  border-radius: var(--radius-sm);
  padding: 9px 42px 9px 14px;
  color: var(--text);
  font-size: 13px;
  font-family: inherit;
  outline: none;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.15);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.search-wrap input::placeholder { color: #8888a0; }

.search-wrap input:focus {
  background: #fff;
  border-color: var(--xp-shine);
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.1), 0 0 0 2px rgba(90,174,232,0.4);
}

.search-btn {
  position: absolute;
  right: 4px; top: 50%;
  transform: translateY(-50%);
  width: 32px; height: 28px;
  background: linear-gradient(180deg, #4aa8e8 0%, #1a70d0 50%, #0d5abc 100%);
  border: 1px solid #0848a4;
  border-radius: var(--radius-sm);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-btn);
  transition: filter 0.15s;
}

.search-btn:hover { filter: brightness(1.12); }

/* Header nav */
.banner-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.banner-link {
  color: #d8eeff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: background 0.15s, color 0.15s;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.banner-link:hover {
  background: rgba(255,255,255,0.18);
  color: #fff;
}

/* ============================================================
   TICKER BANNER — scrolling deals strip
   ============================================================ */
.ticker-bar {
  position: fixed;
  top: var(--banner-h);
  left: 0; right: 0;
  height: var(--ticker-h);
  z-index: 199;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(90deg, #d96800 0%, #f09020 40%, #e87810 60%, #d96800 100%);
  border-top: 1px solid #f5b040;
  border-bottom: 1px solid #b05008;
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);
}

.ticker-label {
  background: rgba(0,0,0,0.22);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  border-right: 1px solid rgba(255,255,255,0.25);
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.ticker-track {
  flex: 1;
  overflow: hidden;
  height: 100%;
  display: flex;
  align-items: center;
}

.ticker-content {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  animation: ticker-run 32s linear infinite;
}

.ticker-content:hover { animation-play-state: paused; }

.ticker-item {
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  padding: 0 28px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.ticker-item strong { font-weight: 800; }

.ticker-sep {
  color: rgba(255,255,255,0.45);
  font-size: 9px;
  flex-shrink: 0;
}

@keyframes ticker-run {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   PAGE OFFSET (behind fixed bars)
   ============================================================ */
.hero, .categories-section, .products-section, .why-section {
  padding-top: 0;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  margin-top: calc(var(--banner-h) + var(--ticker-h));
  background: linear-gradient(160deg, #e8f4ff 0%, #f5f3ea 60%);
  border-bottom: 2px solid var(--border-light);
  padding: 60px 28px 56px;
}

.hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.hero-content { flex: 1; min-width: 280px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, #e0f0ff, #cce4ff);
  border: 1px solid #90c8f0;
  color: var(--xp-blue-2);
  padding: 5px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
  box-shadow: 0 1px 3px rgba(0,80,200,0.12);
}

.hero-title {
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -1.5px;
  color: var(--text);
  margin-bottom: 16px;
}

.xp-blue-text {
  background: linear-gradient(135deg, var(--xp-blue-2) 0%, var(--xp-blue-3) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  color: var(--text-secondary);
  font-size: 16px;
  max-width: 500px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* XP-style primary button */
.btn-xp-primary {
  background: linear-gradient(180deg, #4aa8e8 0%, #1a70d4 40%, #0c58c0 100%);
  border: 1px solid #0848a4;
  border-bottom-color: #06328a;
  color: #fff;
  padding: 11px 26px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  box-shadow: var(--shadow-btn), inset 0 1px 0 rgba(255,255,255,0.25);
  text-shadow: 0 1px 2px rgba(0,0,0,0.35);
  transition: filter 0.15s, transform 0.15s;
}

.btn-xp-primary:hover {
  filter: brightness(1.10);
  transform: translateY(-1px);
}

.btn-xp-primary:active { transform: translateY(0); filter: brightness(0.95); }

/* XP-style secondary button */
.btn-xp-secondary {
  background: linear-gradient(180deg, #ffffff 0%, #e8e4d8 100%);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 11px 26px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  box-shadow: var(--shadow-btn), inset 0 1px 0 rgba(255,255,255,0.8);
  transition: filter 0.15s, transform 0.15s;
}

.btn-xp-secondary:hover {
  background: linear-gradient(180deg, #f0f4ff 0%, #dde4f0 100%);
  border-color: var(--xp-blue-3);
  color: var(--xp-blue-1);
  transform: translateY(-1px);
}

/* Hero stats panel */
.hero-stats-panel {
  display: flex;
  gap: 0;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  flex-shrink: 0;
}

.stat-box {
  padding: 20px 28px;
  text-align: center;
  border-right: 1px solid var(--border-light);
  flex: 1;
  min-width: 80px;
}

.stat-box:last-child { border-right: none; }

.stat-num {
  font-size: 26px;
  font-weight: 900;
  color: var(--xp-blue-2);
  display: block;
  line-height: 1;
}

.stat-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-top: 4px;
  display: block;
}

/* ============================================================
   SHARED UTILITIES
   ============================================================ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

/* XP-style group header (like a section title with XP feel) */
.xp-group-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 800;
  color: var(--xp-blue-1);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid;
  border-image: linear-gradient(90deg, var(--xp-blue-3), transparent) 1;
}

.xp-group-icon { font-size: 18px; }

/* ============================================================
   CATEGORIES
   ============================================================ */
.categories-section {
  padding: 48px 0 40px;
  background: var(--bg-section);
  border-bottom: 1px solid var(--border-light);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}

.cat-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.20s;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.cat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--xp-blue-2), var(--xp-blue-4));
  opacity: 0;
  transition: opacity 0.2s;
}

.cat-card:hover {
  transform: translateY(-3px);
  border-color: var(--xp-blue-4);
  box-shadow: var(--shadow-hover);
}

.cat-card:hover::before { opacity: 1; }

.cat-icon  { font-size: 30px; margin-bottom: 10px; display: block; }
.cat-name  { font-weight: 700; font-size: 13px; margin-bottom: 4px; color: var(--text); }
.cat-count { color: var(--text-muted); font-size: 11px; }

/* ============================================================
   PRODUCTS SECTION
   ============================================================ */
.products-section { padding: 40px 0 60px; }

/* Toolbar */
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-light);
}

.toolbar-left { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

.result-count {
  background: linear-gradient(135deg, #e0f0ff, #cce4ff);
  border: 1px solid #90c8f0;
  color: var(--xp-blue-2);
  padding: 2px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
}

.toolbar-right { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.filter-group { display: flex; gap: 5px; flex-wrap: wrap; }

.filter-btn {
  background: linear-gradient(180deg, #fff 0%, #f0ede2 100%);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
  transition: all 0.15s;
}

.filter-btn:hover {
  border-color: var(--xp-blue-3);
  color: var(--xp-blue-1);
  background: linear-gradient(180deg, #edf5ff 0%, #ddeeff 100%);
}

.filter-btn.active {
  background: linear-gradient(180deg, #3a90e4 0%, #1060c4 100%);
  border-color: #0848a4;
  color: #fff;
  box-shadow: 0 2px 5px rgba(10,80,190,0.28);
}

.sort-select {
  background: linear-gradient(180deg, #fff 0%, #f0ede2 100%);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 7px 32px 7px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-family: inherit;
  cursor: pointer;
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%234a4a6a' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
  transition: border-color 0.15s;
}

.sort-select:focus { border-color: var(--xp-blue-3); }

/* ============================================================
   PRODUCTS GRID
   ============================================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}

/* Product card */
.product-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
  box-shadow: var(--shadow-card);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--xp-blue-4);
}

/* XP accent stripe on hover */
.product-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--xp-blue-2), var(--xp-blue-4));
  opacity: 0;
  transition: opacity 0.2s;
}

.product-card:hover::after { opacity: 1; }

/* store-badge intentionally hidden — store names not shown to visitors */
.store-badge { display: none; }

/* Product deal badge (top left) */
.product-badge {
  position: absolute;
  top: 10px; left: 10px;
  z-index: 4;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.badge-hot  { background: #fff3e0; border: 1px solid #f0a030; color: #c07010; }
.badge-top  { background: #fffce0; border: 1px solid #d0b000; color: #8a7000; }
.badge-new  { background: #e0f8f0; border: 1px solid #40b880; color: #207850; }
.badge-sale { background: #e8f0ff; border: 1px solid #6090e0; color: #2050c0; }

/* Product image */
.product-img {
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #f8f6f0 0%, #f0ede2 100%);
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
}

.product-img img {
  max-height: 160px;
  max-width: 88%;
  object-fit: contain;
  transition: transform 0.35s;
  filter: drop-shadow(0 3px 8px rgba(0,0,0,0.12));
}

.product-card:hover .product-img img { transform: scale(1.05); }

.img-fallback {
  font-size: 58px;
  display: none;
  align-items: center;
  justify-content: center;
  width: 100%; height: 100%;
}

/* Product body */
.product-body { padding: 16px 18px 18px; }

.product-cat-tag {
  display: inline-block;
  background: linear-gradient(135deg, #e0f0ff, #cce4ff);
  border: 1px solid #90c8f0;
  color: var(--xp-blue-2);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  padding: 2px 9px;
  border-radius: 50px;
  margin-bottom: 8px;
}

.product-name {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 8px;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}

.stars { color: #e8a000; font-size: 13px; letter-spacing: 0.5px; }
.review-count { color: var(--text-muted); font-size: 11px; }

.product-price-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.price-current  { font-size: 21px; font-weight: 900; color: var(--text); }
.price-original { font-size: 13px; color: var(--text-muted); text-decoration: line-through; }
.price-save {
  background: #e0f5ec;
  border: 1px solid #70c890;
  color: #1a7a40;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 3px;
}

/* Buy buttons — store-specific colors */
.btn-buy {
  display: block;
  width: 100%;
  color: #fff;
  text-decoration: none;
  text-align: center;
  padding: 10px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  transition: filter 0.18s, transform 0.18s;
  box-shadow: var(--shadow-btn);
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
  border-bottom-width: 2px;
  border-style: solid;
}

.btn-buy:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn-buy:active { transform: translateY(0); }

/* Generic XP-blue buy button (no store branding) */
.btn-buy {
  background: linear-gradient(180deg, #3a90e4 0%, #1262c8 60%, #0a52b8 100%);
  border-color: #0848a4;
}

/* ============================================================
   EMPTY STATE
   ============================================================ */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 24px;
  background: var(--bg-white);
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
}

.empty-icon { font-size: 52px; margin-bottom: 16px; display: block; opacity: 0.5; }

.empty-state h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.empty-state p {
  font-size: 14px;
  color: var(--text-muted);
}

/* ============================================================
   WHY SECTION
   ============================================================ */
.why-section {
  background: var(--bg-section);
  border-top: 1px solid var(--border-light);
  padding: 48px 0 56px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 16px;
}

.why-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--xp-blue-2), var(--xp-blue-4));
}

.why-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: var(--xp-blue-4);
}

.why-icon { font-size: 32px; margin-bottom: 14px; display: block; }
.why-card h3 { font-size: 15px; font-weight: 800; margin-bottom: 8px; color: var(--text); }
.why-card p  { color: var(--text-secondary); font-size: 13px; line-height: 1.65; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: linear-gradient(180deg,
    #1a6dc4 0%,
    #0f58b5 40%,
    #0a47a0 100%
  );
  border-top: 2px solid #0b3a8a;
  padding: 52px 0 0;
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 60px;
  margin-bottom: 44px;
}

/* Footer brand */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.footer-logo-icon { font-size: 22px; }

.footer-ofir {
  font-size: 28px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.5px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

.footer-tt {
  font-size: 16px;
  font-weight: 600;
  color: #a8d4f8;
}

.footer-tagline {
  font-size: 13px;
  color: #b8d8f8;
  margin-bottom: 16px;
}

.footer-disclaimer {
  font-size: 11px;
  color: #7ab0dc;
  line-height: 1.6;
  max-width: 300px;
}

/* Footer columns */
.footer-links {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 28px;
}

.footer-col { display: flex; flex-direction: column; gap: 9px; }

.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #a8d4f8;
  margin-bottom: 4px;
}

.footer-col a {
  color: #c8e4ff;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.15s;
}

.footer-col a:hover { color: #fff; }

.footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px 28px;
  border-top: 1px solid rgba(255,255,255,0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom span { font-size: 12px; color: #90c0e8; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-links { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 768px) {
  :root {
    --banner-h: 62px;
    --ticker-h:  34px;
  }

  .xp-banner-inner { padding: 0 14px; gap: 10px; }
  .banner-nav       { display: none; }
  .banner-ofir      { font-size: 28px; }
  .banner-sub       { display: none; }

  .store-bar-inner { padding: 0 14px; gap: 8px; }
  .store-bar-label  { display: none; }

  .hero { padding: 36px 14px 40px; }
  .hero-stats-panel { width: 100%; }

  .container { padding: 0 14px; }

  .categories-section,
  .products-section,
  .why-section { padding-top: 36px; padding-bottom: 36px; }

  .toolbar { flex-direction: column; align-items: flex-start; }

  .footer-inner  { padding: 0 14px; }
  .footer-bottom { padding: 16px 14px; }
}

@media (max-width: 520px) {
  .products-grid { grid-template-columns: repeat(2,1fr); gap: 12px; }
  .product-img   { height: 140px; }
  .product-body  { padding: 12px 12px 14px; }
  .price-current { font-size: 17px; }
  .filter-group  { display: none; }
  .hero-stats-panel { display: none; }
  .banner-search { display: none; }
}
