/* ═══════════════════════════════════════════════════════════════
   ShopElite — Premium E-Commerce CSS
   Inspired by: Ella (47K sales), Kalles (25K), Minimog (16K),
   Flatsome, Shoptimizer — ThemeForest top sellers 2024-2026
   ═══════════════════════════════════════════════════════════════ */

/* ── Design Tokens ────────────────────────────────────────── */
:root {
  /* Core palette — clean & modern */
  --color-black:       #111111;
  --color-dark:        #222222;
  --color-body:        #555555;
  --color-muted:       #999999;
  --color-border:      #e8e8e8;
  --color-border-hover:#cccccc;
  --color-bg:          #f7f7f7;
  --color-white:       #ffffff;
  --color-surface:     #ffffff;

  /* Accent — warm amber (Amazon-heritage but modern) */
  --color-accent:      #FF9900;
  --color-accent-dark: #e68a00;
  --color-accent-light:#fff3e0;

  /* Functional */
  --color-sale:        #e53935;
  --color-sale-bg:     #ffebee;
  --color-success:     #2e7d32;
  --color-link:        #222222;
  --color-link-hover:  #FF9900;
  --color-star:        #FFC107;

  /* Typography */
  --font-primary:      'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading:      'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Sizing */
  --container-max:     1320px;
  --radius-sm:         6px;
  --radius-md:         10px;
  --radius-lg:         16px;
  --radius-pill:       50px;

  /* Shadows — subtle depth */
  --shadow-card:       0 1px 3px rgba(0,0,0,.06);
  --shadow-card-hover: 0 8px 25px rgba(0,0,0,.1);
  --shadow-dropdown:   0 10px 40px rgba(0,0,0,.12);
  --shadow-btn:        0 2px 6px rgba(0,0,0,.08);

  /* Transitions */
  --ease:              cubic-bezier(.25,.46,.45,.94);
  --speed:             .25s;
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-primary);
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-body);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: var(--color-link); text-decoration: none; transition: color var(--speed) var(--ease); }
a:hover { color: var(--color-link-hover); }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-black);
  font-weight: 600;
  line-height: 1.3;
}

/* ── Container ────────────────────────────────────────────── */
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container { padding: 0 30px; } }
@media (min-width: 1200px) { .container { padding: 0 40px; } }
.page-shell { max-width: var(--container-max); margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .page-shell { padding: 0 30px; } }

/* ── Grid System ──────────────────────────────────────────── */
.grid { display: grid; gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }

@media (max-width: 1200px) { .grid-5 { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 992px)  { .grid-4, .grid-5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px)  { .grid-3, .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════════════════
   ANNOUNCEMENT BAR — Ella / Kalles pattern
   ═══════════════════════════════════════════════════════════ */
.announcement-bar {
  background: var(--color-black);
  color: #fff;
  text-align: center;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .5px;
}
.announcement-bar a { color: var(--color-accent); text-decoration: underline; margin-left: 6px; }
.announcement-bar a:hover { color: #fff; }

/* ═══════════════════════════════════════════════════════════
   HEADER — Clean white nav (Minimog / Kalles pattern)
   ═══════════════════════════════════════════════════════════ */
header { background: var(--color-white); border-bottom: 1px solid var(--color-border); position: sticky; top: 0; z-index: 1000; }
header.scrolled { box-shadow: var(--shadow-dropdown); }

.header-top { background: var(--color-white); }
.header-top-inner {
  display: flex; align-items: center; gap: 28px; padding: 14px 0;
}

/* Logo */
.header-logo {
  display: flex; align-items: center; gap: 10px; text-decoration: none;
  flex-shrink: 0; padding: 4px 0;
}
.header-logo:hover { text-decoration: none; }
.header-logo svg { flex-shrink: 0; }
.header-logo-text { line-height: 1.1; }
.header-logo-name { font-size: 20px; font-weight: 700; color: var(--color-black); display: block; letter-spacing: -.5px; }
.header-logo-tag { font-size: 10px; color: var(--color-accent); display: block; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 500; }

/* Search bar in header */
.header-search { flex: 1; max-width: 520px; }
@media (max-width: 640px) { .header-search { display: none; } }
.header-search-mobile { display: none; padding: 0 20px 12px; background: #fff; }
@media (max-width: 640px) { .header-search-mobile { display: flex; } }

.search-bar-wrap {
  display: flex; align-items: stretch; border-radius: var(--radius-pill);
  overflow: hidden; border: 2px solid var(--color-border); background: var(--color-bg);
  transition: all var(--speed);
}
.search-bar-wrap:focus-within {
  border-color: var(--color-accent); background: #fff;
  box-shadow: 0 0 0 3px rgba(255,153,0,.15);
}
.search-bar-wrap input {
  flex: 1; border: none; outline: none; padding: 10px 18px;
  font-size: 14px; color: var(--color-black); min-width: 0; background: transparent;
}
.search-bar-wrap input::placeholder { color: var(--color-muted); }
.search-bar-btn {
  background: transparent; border: none; padding: 0 16px;
  display: flex; align-items: center; justify-content: center;
  color: var(--color-muted); transition: color var(--speed);
}
.search-bar-btn:hover { color: var(--color-accent); }

/* Header right actions */
.header-right { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.header-item {
  display: flex; flex-direction: column; align-items: center;
  padding: 6px 14px; border-radius: var(--radius-pill);
  text-decoration: none; color: var(--color-dark);
  transition: all var(--speed); white-space: nowrap;
}
.header-item:hover { background: var(--color-bg); color: var(--color-accent); text-decoration: none; }
.header-item-label { font-size: 10px; color: var(--color-muted); font-weight: 500; }
.header-item-value { font-size: 13px; font-weight: 600; color: var(--color-black); }
.header-item:hover .header-item-value { color: var(--color-accent); }
@media (max-width: 768px) { .header-item { display: none; } .header-item:first-child { display: flex; } }
.header-item-lg { display: none; }
@media (min-width: 1024px) { .header-item-lg { display: flex; } }

/* Category nav bar */
.header-nav { background: var(--color-white); border-bottom: 1px solid var(--color-border); overflow-x: auto; }
.header-nav::-webkit-scrollbar { display: none; }
.header-nav-inner { display: flex; align-items: center; gap: 0; white-space: nowrap; }
.nav-link {
  padding: 10px 16px; font-size: 13px; font-weight: 500;
  color: var(--color-body); text-decoration: none;
  border-bottom: 2px solid transparent; transition: all var(--speed);
}
.nav-link:hover { color: var(--color-accent); border-bottom-color: var(--color-accent); text-decoration: none; }
.nav-link-all {
  font-weight: 700; color: var(--color-black); display: flex;
  align-items: center; gap: 6px;
}

/* ═══════════════════════════════════════════════════════════
   BUTTONS — Minimog / Flatsome pattern
   ═══════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 14px; border-radius: var(--radius-pill);
  padding: 12px 28px; cursor: pointer; transition: all var(--speed) var(--ease);
  text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; }

.btn-primary {
  background: var(--color-accent); color: #fff; border: 2px solid var(--color-accent);
}
.btn-primary:hover { background: var(--color-accent-dark); border-color: var(--color-accent-dark); color: #fff; box-shadow: var(--shadow-btn); }

.btn-dark {
  background: var(--color-black); color: #fff; border: 2px solid var(--color-black);
}
.btn-dark:hover { background: var(--color-dark); border-color: var(--color-dark); color: #fff; box-shadow: var(--shadow-btn); }

.btn-outline-dark {
  background: transparent; color: var(--color-black); border: 2px solid var(--color-black);
}
.btn-outline-dark:hover { background: var(--color-black); color: #fff; }

.btn-outline {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 6px; padding: 10px 22px; border-radius: var(--radius-pill); font-size: 13px; font-weight: 500;
  background: transparent; color: var(--color-black); border: 2px solid var(--color-border);
  cursor: pointer; text-decoration: none;
}
.btn-outline:hover { border-color: var(--color-black); color: var(--color-black); text-decoration: none; }

.btn-sm { padding: 8px 20px; font-size: 13px; }
.btn-lg { padding: 14px 36px; font-size: 15px; }
.btn-block { width: 100%; }

/* Amazon-style buttons (used in cards) */
.btn-amazon, .btn-amazon-primary, .btn-amazon-cart {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border-radius: var(--radius-pill); font-weight: 600; cursor: pointer;
  background: var(--color-black); border: 2px solid var(--color-black); color: #fff;
  text-decoration: none; white-space: nowrap; transition: all var(--speed);
}
.btn-amazon { padding: 10px 24px; font-size: 13px; }
.btn-amazon-primary { padding: 12px 28px; font-size: 14px; }
.btn-amazon-cart { padding: 10px 20px; font-size: 13px; width: 100%; margin-top: 10px; }
.btn-amazon:hover, .btn-amazon-primary:hover, .btn-amazon-cart:hover {
  background: var(--color-accent); border-color: var(--color-accent);
  color: #fff; text-decoration: none; box-shadow: var(--shadow-btn);
}

/* ═══════════════════════════════════════════════════════════
   BADGES — Ella / Shoptimizer conversion pattern
   ═══════════════════════════════════════════════════════════ */
.badge {
  display: inline-flex; align-items: center; padding: 4px 10px;
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .5px; border-radius: var(--radius-sm);
}
.badge-sale { background: var(--color-sale); color: #fff; }
.badge-deal {
  background: var(--color-sale); color: #fff; display: inline-block;
  padding: 3px 10px; font-size: 11px; font-weight: 700;
  border-radius: var(--radius-sm);
}
.badge-hot { background: var(--color-accent); color: #fff; }
.badge-new { background: var(--color-success); color: #fff; }
.badge-info { background: var(--color-muted); color: #fff; }
.badge-bestseller {
  background: var(--color-accent); color: #fff; display: inline-block;
  padding: 3px 10px; font-size: 11px; font-weight: 700;
  border-radius: var(--radius-sm); text-transform: uppercase; letter-spacing: .5px;
}

/* ═══════════════════════════════════════════════════════════
   PRODUCT CARD — Ella / Kalles / Minimog pattern
   Hover: lift + image zoom + CTA reveal
   ═══════════════════════════════════════════════════════════ */
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid transparent;
  transition: all var(--speed) var(--ease);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.product-card:hover {
  border-color: var(--color-border);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}

.pc-img-wrap {
  position: relative;
  aspect-ratio: 1;
  background: var(--color-bg);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.pc-img-wrap a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.pc-img-wrap img {
  max-width: 85%; max-height: 85%; object-fit: contain;
  transition: transform .4s var(--ease); padding: 16px;
}
.product-card:hover .pc-img-wrap img { transform: scale(1.08); }

/* Badge overlay */
.pc-badge { position: absolute; top: 12px; left: 12px; z-index: 2; }

/* Card info */
.pc-info {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1 1 auto;
}
/* Product card actions (button at bottom) */
.pc-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pc-cat { font-size: 11px; color: var(--color-muted); text-transform: uppercase; letter-spacing: .8px; font-weight: 500; }
.pc-title {
  font-size: 14px; font-weight: 500; line-height: 1.4; color: var(--color-black);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pc-title a { color: inherit; text-decoration: none; }
.pc-title a:hover { color: var(--color-accent); text-decoration: none; }

/* Price block */
.pc-price-block { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.pc-price { font-size: 18px; font-weight: 700; color: var(--color-black); }
.pc-save-row { display: flex; align-items: center; gap: 8px; }
.price-was { font-size: 13px; color: var(--color-muted); text-decoration: line-through; }
.price-check { font-size: 13px; color: var(--color-muted); }

.pc-verdict {
  font-size: 12px; color: var(--color-muted); line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* ═══ PRODUCT CARD (small / horizontal) ═══════════════════ */
.product-card-small {
  display: flex; align-items: center; gap: 14px; padding: 14px;
  background: var(--color-white); border-radius: var(--radius-md);
  text-decoration: none; color: var(--color-body);
  transition: all var(--speed) var(--ease); border: 1px solid transparent;
}
.product-card-small:hover {
  border-color: var(--color-border); box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px); text-decoration: none; color: var(--color-body);
}
.pcs-img {
  width: 72px; height: 72px; flex-shrink: 0; background: var(--color-bg);
  border-radius: var(--radius-sm); display: flex; align-items: center;
  justify-content: center; overflow: hidden;
}
.pcs-img img { max-width: 60px; max-height: 60px; object-fit: contain; }
.pcs-info { flex: 1; min-width: 0; }
.pcs-title {
  font-size: 13px; font-weight: 500; color: var(--color-black); line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pcs-price { font-size: 15px; font-weight: 700; color: var(--color-black); margin-top: 4px; }

/* ═══════════════════════════════════════════════════════════
   STARS
   ═══════════════════════════════════════════════════════════ */
.stars { display: flex; align-items: center; gap: 2px; }
.star-icon { width: 14px; height: 14px; }
.star-count { font-size: 12px; color: var(--color-muted); margin-left: 4px; }

/* ═══════════════════════════════════════════════════════════
   HERO BANNER — Full-width Ella/Minimog pattern
   ═══════════════════════════════════════════════════════════ */
.hero-banner {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  position: relative; overflow: hidden;
}
.hero-banner::before {
  content: ''; position: absolute; top: -50%; right: -20%;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,153,0,.15), transparent 70%);
}
.hero-banner::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 80px; background: linear-gradient(transparent, var(--color-bg));
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; padding: 60px 0 80px; }
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  align-items: center; max-width: 1100px; margin: 0 auto;
}
@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-inner { padding: 40px 0 60px; }
}

.hero-text { color: #fff; }
.hero-eyebrow { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.hero-brand { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.hero-stars { margin-bottom: 16px; }
.hero-stars .stars-wrap { color: var(--color-accent); font-size: 16px; }
.hero-stars .review-count { color: rgba(255,255,255,.5); font-size: 13px; }
.hero-save-badge { background: var(--color-sale); color: #fff; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 99px; }
.btn-outline-white { display: inline-flex; align-items: center; justify-content: center; padding: 12px 22px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 700; border: 1.5px solid rgba(255,255,255,.35); color: rgba(255,255,255,.85); text-decoration: none; transition: border-color .2s, color .2s; }
.btn-outline-white:hover { border-color: rgba(255,255,255,.7); color: #fff; }
.hero-cta-buy { font-size: 16px; padding: 14px 28px; }
.hero-text h1 { font-size: 30px; font-weight: 800; line-height: 1.2; margin-bottom: 14px; color: #fff; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 640px) { .hero-text h1 { font-size: 22px; } }
.hero-title-link { color: inherit; text-decoration: none; }
.hero-title-link:hover { color: var(--color-accent); }
.hero-desc { color: rgba(255,255,255,.7); font-size: 16px; line-height: 1.7; margin-bottom: 24px; }
.hero-price { display: flex; align-items: baseline; gap: 12px; margin-bottom: 24px; }
@media (max-width: 768px) { .hero-price { justify-content: center; } }
.hero-price .current { font-size: 36px; font-weight: 800; color: var(--color-accent); }
.hero-was { font-size: 18px; color: rgba(255,255,255,.4); text-decoration: line-through; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
@media (max-width: 768px) { .hero-actions { justify-content: center; } }

.hero-img-wrap { display: flex; justify-content: center; align-items: center; }
.hero-img-box {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 0; max-width: 380px; width: 100%;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
  transition: transform .25s;
}
.hero-img-box:hover { transform: translateY(-4px); }
.hero-image-link { display: block; text-decoration: none; }
.hero-img-box img { width: 100%; height: 320px; object-fit: contain; display: block; padding: 20px; box-sizing: border-box; }

/* ═══════════════════════════════════════════════════════════
   SECTION PANELS — clean white cards
   ═══════════════════════════════════════════════════════════ */
.section-panel {
  background: var(--color-white); border-radius: var(--radius-md);
  padding: 28px; margin-bottom: 20px;
}
.section-title {
  font-size: 22px; font-weight: 700; color: var(--color-black);
  margin-bottom: 20px; display: flex; align-items: center; gap: 10px;
}
.section-subtitle { font-size: 14px; color: var(--color-muted); margin-top: -12px; margin-bottom: 20px; }

/* ═══════════════════════════════════════════════════════════
   CATEGORY CARDS — Ella 4-up grid pattern
   ═══════════════════════════════════════════════════════════ */
.category-card {
  background: var(--color-white); border-radius: var(--radius-md);
  padding: 24px; display: flex; flex-direction: column; gap: 14px;
  text-decoration: none; color: var(--color-body);
  transition: all var(--speed) var(--ease); border: 1px solid transparent;
  height: 100%;
}
.category-card:hover {
  border-color: var(--color-border); box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px); text-decoration: none; color: var(--color-body);
}
.category-card h3 { font-size: 18px; font-weight: 700; color: var(--color-black); }
.cat-img-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; flex: 1; }
.cat-img-item {
  aspect-ratio: 1; background: var(--color-bg); border-radius: var(--radius-sm);
  overflow: hidden; display: flex; align-items: center; justify-content: center;
}
.cat-img-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.category-card:hover .cat-img-item img { transform: scale(1.06); }
.cat-see-all {
  font-size: 13px; font-weight: 600; color: var(--color-accent); margin-top: auto;
  display: flex; align-items: center; gap: 4px;
}
.cat-see-all::after { content: '\2192'; transition: transform var(--speed); }
.category-card:hover .cat-see-all::after { transform: translateX(4px); }

/* ═══════════════════════════════════════════════════════════
   CAROUSEL — Ella / Kalles
   ═══════════════════════════════════════════════════════════ */
.carousel-container { position: relative; overflow: hidden; }
.carousel-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.carousel-header h2 { font-size: 22px; font-weight: 700; margin: 0; color: var(--color-black); }
.carousel-header a { font-size: 13px; font-weight: 600; color: var(--color-accent); display: flex; align-items: center; gap: 4px; }
.carousel-header a::after { content: '\2192'; }
.carousel-track {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth; padding: 4px 0;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > * { scroll-snap-align: start; flex-shrink: 0; }
.carousel-btn {
  position: absolute; top: 50%; z-index: 10;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--color-white); border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card); display: flex; align-items: center;
  justify-content: center; cursor: pointer; font-size: 20px;
  color: var(--color-dark); opacity: 0; transition: all var(--speed);
}
.carousel-container:hover .carousel-btn { opacity: 1; }
.carousel-btn:hover { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }
.carousel-btn-left { left: 8px; transform: translateY(-50%); }
.carousel-btn-right { right: 8px; transform: translateY(-50%); }

/* Deal slide (inside carousel) */
.deal-slide {
  width: 230px; background: var(--color-white); border-radius: var(--radius-md);
  padding: 16px; display: flex; flex-direction: column; gap: 10px;
  border: 1px solid transparent; text-decoration: none; color: var(--color-body);
  transition: all var(--speed) var(--ease);
}
.deal-slide:hover {
  border-color: var(--color-border); box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px); text-decoration: none; color: var(--color-body);
}
.deal-slide-link { color: inherit; text-decoration: none; display: block; }
.deal-slide-img {
  height: 170px; display: flex; align-items: center; justify-content: center;
  background: var(--color-bg); border-radius: var(--radius-sm); overflow: hidden;
}
.deal-slide-img img {
  max-height: 150px; max-width: 100%; padding: 8px; object-fit: contain;
  transition: transform .4s var(--ease);
}
.deal-slide:hover .deal-slide-img img { transform: scale(1.06); }
.deal-slide-title {
  font-size: 13px; font-weight: 500; color: var(--color-black); line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.deal-slide-title a { color: inherit; text-decoration: none; }
.deal-slide-title a:hover { color: var(--color-accent); }
.deal-slide-price { font-size: 16px; font-weight: 700; color: var(--color-black); }
.deal-slide-actions { margin-top: auto; }
.deal-slide-cta { margin-top: 0; }

/* ═══════════════════════════════════════════════════════════
   BEST PICK CARDS — Minimog recommendation pattern
   ═══════════════════════════════════════════════════════════ */
.bestpick-card {
  background: var(--color-white); border-radius: var(--radius-md); padding: 20px;
  display: flex; flex-direction: column; gap: 12px;
  border: 1px solid transparent; transition: all var(--speed) var(--ease);
}
.bestpick-card:hover { border-color: var(--color-border); box-shadow: var(--shadow-card-hover); transform: translateY(-4px); }
.bestpick-label { display: flex; align-items: center; gap: 8px; }
.bestpick-label span:first-child { font-size: 22px; }
.bestpick-label span:last-child { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--color-black); }
.bestpick-img {
  height: 180px; display: flex; align-items: center; justify-content: center;
  background: var(--color-bg); border-radius: var(--radius-sm); overflow: hidden;
}
.bestpick-image-link { display: block; text-decoration: none; }
.bestpick-img img { max-height: 160px; max-width: 100%; padding: 12px; object-fit: contain; }
.bestpick-title {
  font-size: 14px; font-weight: 500; color: var(--color-black);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; line-height: 1.4;
}
.bestpick-title a { color: inherit; text-decoration: none; }
.bestpick-title a:hover { color: var(--color-accent); }
.bestpick-price-row { display: flex; align-items: baseline; gap: 8px; }
.bestpick-price { font-size: 20px; font-weight: 700; color: var(--color-black); }

/* ═══════════════════════════════════════════════════════════
   DEAL CARD (large) — Shoptimizer conversion pattern
   ═══════════════════════════════════════════════════════════ */
.deal-card {
  background: var(--color-white); border-radius: var(--radius-md);
  overflow: hidden; margin-bottom: 20px; transition: box-shadow var(--speed);
}
.deal-card:hover { box-shadow: var(--shadow-card-hover); }
.deal-grid { display: grid; grid-template-columns: 320px 1fr; gap: 0; }
@media (max-width: 768px) { .deal-grid { grid-template-columns: 1fr; } }
.deal-img {
  position: relative; padding: 20px; display: flex; align-items: center;
  justify-content: center; background: var(--color-bg); min-height: 280px;
}
.deal-img img { max-height: 240px; max-width: 100%; object-fit: contain; }
.deal-rank {
  position: absolute; top: 12px; left: 12px; background: var(--color-sale);
  color: #fff; font-size: 11px; font-weight: 700; padding: 4px 10px;
  border-radius: var(--radius-sm); text-transform: uppercase; letter-spacing: .5px;
}
.deal-info { padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.deal-save-row { display: flex; align-items: center; gap: 8px; }
.deal-title { font-size: 20px; font-weight: 700; line-height: 1.35; color: var(--color-black); }
.deal-verdict { font-size: 14px; color: var(--color-muted); line-height: 1.6; }
.deal-price-row { display: flex; align-items: baseline; gap: 10px; margin-top: 4px; }
.deal-price { font-size: 32px; font-weight: 800; color: var(--color-black); }
.deal-actions { display: flex; gap: 12px; margin-top: 8px; flex-wrap: wrap; }

/* ═══════════════════════════════════════════════════════════
   PROMO CARD — coupon / deal card
   ═══════════════════════════════════════════════════════════ */
.promo-card {
  background: var(--color-white); border-radius: var(--radius-md);
  overflow: hidden; transition: all var(--speed); border: 1px solid transparent;
}
.promo-card:hover { border-color: var(--color-border); box-shadow: var(--shadow-card-hover); transform: translateY(-4px); }
.promo-card-top { padding: 20px; }
.promo-title {
  font-size: 14px; font-weight: 600; color: var(--color-black); margin-bottom: 6px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.promo-cat { font-size: 11px; color: var(--color-muted); margin-bottom: 10px; text-transform: uppercase; letter-spacing: .5px; }
.promo-code-badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px;
  border: 2px dashed var(--color-accent); background: var(--color-accent-light);
  font-size: 13px; font-family: 'SF Mono', 'Fira Code', monospace; font-weight: 700;
  color: var(--color-accent-dark); border-radius: var(--radius-sm); cursor: pointer;
  transition: all var(--speed);
}
.promo-code-badge:hover { background: var(--color-accent); color: #fff; border-color: var(--color-accent); }
.promo-discount { font-size: 13px; color: var(--color-sale); font-weight: 600; margin-top: 8px; }
.promo-card-bottom { padding: 16px 20px; border-top: 1px solid var(--color-border); }
.promo-desc { font-size: 13px; color: var(--color-muted); line-height: 1.6; }
.promo-expires { font-size: 12px; color: var(--color-muted); margin-top: 6px; }
.promo-card-products { padding: 12px 20px; border-top: 1px solid var(--color-border); }
.promo-products-label { font-size: 11px; text-transform: uppercase; letter-spacing: .5px; color: var(--color-muted); font-weight: 600; margin-bottom: 8px; }
.promo-product-link { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 13px; color: var(--color-text); text-decoration: none; }
.promo-product-link:hover { color: var(--color-accent); }
.promo-product-link img { width: 48px; height: 48px; object-fit: cover; border-radius: 6px; border: 1px solid var(--color-border); }
.promo-product-link span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.promo-products-more { font-size: 12px; color: var(--color-accent); margin-top: 4px; }
.pc-promos { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.promo-code-badge.small { font-size: 10px; padding: 2px 6px; }

/* ═══════════════════════════════════════════════════════════
   TRUST FEATURES — Conversion social proof strip
   ═══════════════════════════════════════════════════════════ */
.trust-card {
  background: var(--color-white); border-radius: var(--radius-md); padding: 24px; text-align: center;
  border: 1px solid transparent; transition: all var(--speed);
}
.trust-card:hover { border-color: var(--color-border); }
.trust-icon { font-size: 32px; margin-bottom: 12px; }
.trust-title { font-size: 14px; font-weight: 700; color: var(--color-black); margin-bottom: 6px; }
.trust-desc { font-size: 12px; color: var(--color-muted); line-height: 1.6; }

/* ═══════════════════════════════════════════════════════════
   CTA BANNER — promo banner
   ═══════════════════════════════════════════════════════════ */
.cta-banner {
  display: flex; align-items: center; gap: 24px; padding: 28px;
  flex-wrap: wrap; border-radius: var(--radius-md); background: var(--color-white);
}
.cta-icon { font-size: 48px; }
.cta-text { flex: 1; min-width: 200px; }
.cta-text h2 { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.cta-text p { font-size: 14px; color: var(--color-muted); }

/* Newsletter section */
.newsletter-section {
  background: linear-gradient(135deg, #1a1a2e, #0f3460);
  border-radius: var(--radius-lg); padding: 48px; text-align: center; margin-bottom: 20px;
}
.newsletter-section h2 { font-size: 24px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.newsletter-section p { font-size: 14px; color: rgba(255,255,255,.6); margin-bottom: 24px; }
.newsletter-form {
  display: flex; gap: 0; max-width: 480px; margin: 0 auto;
  border-radius: var(--radius-pill); overflow: hidden; background: #fff;
}
.newsletter-form input {
  flex: 1; border: none; outline: none; padding: 14px 20px;
  font-size: 14px; color: var(--color-black); min-width: 0;
}
.newsletter-form button {
  background: var(--color-accent); color: #fff; border: none;
  padding: 14px 28px; font-weight: 700; font-size: 14px; cursor: pointer;
  transition: background var(--speed); white-space: nowrap;
}
.newsletter-form button:hover { background: var(--color-accent-dark); }

/* ═══════════════════════════════════════════════════════════
   PAGE HEADER / BREADCRUMB
   ═══════════════════════════════════════════════════════════ */
.page-header { margin-bottom: 20px; }
.page-header h1 { font-size: 28px; font-weight: 700; }
.page-header p { font-size: 14px; color: var(--color-muted); margin-top: 4px; }

.breadcrumb {
  font-size: 12px; color: var(--color-muted); display: flex; align-items: center;
  gap: 6px; margin-bottom: 16px;
}
.breadcrumb a { color: var(--color-body); font-weight: 500; }
.breadcrumb a:hover { color: var(--color-accent); }
.breadcrumb .sep { color: var(--color-muted); font-size: 10px; }

/* ═══════════════════════════════════════════════════════════
   STATS BAR
   ═══════════════════════════════════════════════════════════ */
.stats-bar { display: flex; gap: 32px; }
.stat-item { text-align: center; }
.stat-val { font-size: 28px; font-weight: 800; color: var(--color-accent); }
.stat-label { font-size: 11px; color: var(--color-muted); text-transform: uppercase; letter-spacing: 1px; font-weight: 500; }

/* ═══════════════════════════════════════════════════════════
   INFO GRID — How-it-works steps
   ═══════════════════════════════════════════════════════════ */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 640px) { .info-grid { grid-template-columns: 1fr; } }
.info-card { display: flex; gap: 14px; }
.info-icon { font-size: 28px; flex-shrink: 0; }
.info-title { font-size: 14px; font-weight: 700; color: var(--color-black); margin-bottom: 4px; }
.info-desc { font-size: 13px; color: var(--color-muted); line-height: 1.6; }

/* ═══════════════════════════════════════════════════════════
   CATEGORY DETAIL PAGE
   ═══════════════════════════════════════════════════════════ */
.cat-detail-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.cat-meta { display: flex; gap: 16px; font-size: 13px; color: var(--color-muted); flex-wrap: wrap; }
.cat-best-pick { display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: center; }
@media (max-width: 640px) { .cat-best-pick { grid-template-columns: 1fr; } }
.cat-best-img {
  height: 200px; display: flex; align-items: center; justify-content: center;
  background: var(--color-bg); border-radius: var(--radius-md);
}
.cat-best-img img { max-height: 180px; max-width: 100%; object-fit: contain; padding: 12px; }

/* ═══════════════════════════════════════════════════════════
   PRODUCT DETAIL PAGE — Flatsome / Ella layout
   ═══════════════════════════════════════════════════════════ */
.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media (max-width: 768px) { .product-detail-grid { grid-template-columns: 1fr; } }
.pd-gallery {
  display: flex; align-items: center; justify-content: center;
  background: var(--color-white); border-radius: var(--radius-md); padding: 32px; min-height: 420px;
  border: 1px solid var(--color-border);
}
.pd-gallery-placeholder { font-size: 96px; color: #d5d9d9; }
.pd-gallery img { max-height: 400px; max-width: 100%; object-fit: contain; }
.pd-info { display: flex; flex-direction: column; gap: 14px; }
.pd-badge { align-self: flex-start; }
.pd-title { font-size: 26px; font-weight: 700; line-height: 1.3; color: var(--color-black); }
.pd-vendor { font-size: 14px; color: var(--color-muted); }
.pd-vendor a { color: var(--color-accent); font-weight: 500; }
.pd-divider { border: none; border-top: 1px solid var(--color-border); margin: 4px 0; }
.pd-save-row { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.pd-deal-note { font-size: 13px; color: var(--color-sale); font-weight: 700; }
.pd-price-block { display: flex; align-items: baseline; gap: 12px; }
.pd-price { font-size: 32px; font-weight: 800; color: var(--color-black); }
.pd-savings-note { font-size: 13px; color: var(--color-success); font-weight: 600; margin-top: 4px; }
.pd-verdict { font-size: 14px; line-height: 1.6; color: var(--color-muted); }
.pd-section-label {
  font-size: 12px; font-weight: 700; margin-bottom: 8px; text-transform: uppercase;
  letter-spacing: .6px; color: var(--color-muted);
}
.pd-bullets { list-style: disc; padding-left: 20px; }
.pd-bullets li { font-size: 14px; line-height: 1.7; margin-bottom: 6px; color: var(--color-body); }
.pd-bullets.compact li { line-height: 1.55; margin-bottom: 4px; }
.pd-audience-grid,
.pd-procon-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (max-width: 768px) {
  .pd-audience-grid,
  .pd-procon-grid { grid-template-columns: 1fr; }
}
.pd-audience-card,
.pd-procon-card,
.pd-promo-box {
  background: var(--color-bg); border-radius: var(--radius-md); padding: 14px 16px;
}
.pd-audience-card.good-fit { border-left: 3px solid var(--color-success); }
.pd-audience-card.avoid-fit { border-left: 3px solid var(--color-sale); }
.pd-audience-copy { font-size: 14px; line-height: 1.6; color: var(--color-body); }
.pd-procon-card.pros { border-left: 3px solid var(--color-success); }
.pd-procon-card.cons { border-left: 3px solid var(--color-muted); }
.pd-attributes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (max-width: 640px) { .pd-attributes { grid-template-columns: 1fr; } }
.pd-attribute-item {
  display: flex; flex-direction: column; gap: 2px; background: var(--color-bg);
  border-radius: var(--radius-sm); padding: 12px 14px;
}
.pd-attribute-label { font-size: 11px; text-transform: uppercase; letter-spacing: .5px; color: var(--color-muted); }
.pd-attribute-value { font-size: 14px; font-weight: 600; color: var(--color-black); }
.pd-promo-list { display: flex; flex-wrap: wrap; gap: 6px; }
.pd-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.pd-meta-link { font-size: 12px; color: var(--color-muted); margin-top: 8px; }
.pd-meta-link a { color: var(--color-body); font-weight: 600; }
.pd-meta-link a:hover { color: var(--color-accent); }
.pd-not-found { padding: 64px; }
.pd-not-found-title { font-size: 24px; margin-bottom: 8px; }
.pd-not-found-copy { color: var(--color-muted); }
.pd-not-found-cta { margin-top: 16px; }

/* ═══════════════════════════════════════════════════════════
   FORM ELEMENTS
   ═══════════════════════════════════════════════════════════ */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: var(--color-black); margin-bottom: 6px; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 10px 14px; border-radius: var(--radius-sm);
  border: 2px solid var(--color-border); font-size: 14px;
  color: var(--color-black); background: #fff; transition: all var(--speed);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none; border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(255,153,0,.15);
}

/* ═══════════════════════════════════════════════════════════
   FOOTER — Modern dark clean (Minimog / Ella)
   ═══════════════════════════════════════════════════════════ */
.footer-top {
  background: var(--color-black); text-align: center;
  cursor: pointer; transition: background var(--speed);
}
.footer-top:hover { background: var(--color-dark); }
.footer-top p { color: #fff; font-size: 13px; font-weight: 500; padding: 14px; }

.footer-links { background: #1a1a1a; padding: 48px 0; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
@media (max-width: 768px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
.link-footer h5 {
  font-weight: 600; color: #fff; margin-bottom: 16px; font-size: 14px;
  text-transform: uppercase; letter-spacing: .5px;
}
.link-footer ul li { margin-bottom: 10px; }
.link-footer ul li a { color: #999; font-size: 13px; transition: color var(--speed); text-decoration: none; }
.link-footer ul li a:hover { color: var(--color-accent); text-decoration: none; }
.footer-disclosure { margin-top: 36px; padding-top: 24px; border-top: 1px solid #333; }
.footer-disclosure p { font-size: 12px; color: #666; max-width: 640px; line-height: 1.7; }

.footer-bottom { background: #111; padding: 24px 0; }
.footer-bottom-inner { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.footer-logo { color: #fff; font-weight: 700; font-size: 18px; text-decoration: none; }
.footer-logo:hover { color: var(--color-accent); text-decoration: none; }
.footer-bottom-links { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }
.footer-bottom-links a { font-size: 12px; color: #777; transition: color var(--speed); text-decoration: none; }
.footer-bottom-links a:hover { color: #fff; text-decoration: none; }
.footer-copy { font-size: 12px; color: #555; }

/* ═══════════════════════════════════════════════════════════
   UTILITIES
   ═══════════════════════════════════════════════════════════ */
.placeholder-icon { color: #d5d9d9; }
.placeholder-icon.lg { font-size: 48px; }
.text-center { text-align: center; }
.mt-4 { margin-top: 16px; }
.mb-4 { margin-bottom: 16px; }

/* ═══════════════════════════════════════════════════════════
   SCROLLBAR
   ═══════════════════════════════════════════════════════════ */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #ddd; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #bbb; }

/* ═══════════════════════════════════════════════════════════
   FORM CONTROLS
   ═══════════════════════════════════════════════════════════ */
.form-select {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 13px;
  color: var(--color-dark);
  outline: none;
  cursor: pointer;
  transition: border-color var(--transition-fast);
}
.form-select:focus { border-color: var(--color-accent); }
.search-controls { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
@media (max-width: 600px) {
  .search-controls { flex-direction: column; width: 100%; }
  .search-controls .form-select { width: 100%; }
}

/* ═══════════════════════════════════════════════════════════
   LIVE FEED — "Live from Amazon" section
   ═══════════════════════════════════════════════════════════ */
.live-feed-section { border-top: 3px solid var(--color-sale); }

/* Animated live dot next to section title */
.live-pulse {
  display: inline-block;
  width: 10px; height: 10px;
  background: var(--color-sale);
  border-radius: 50%;
  margin-left: 6px;
  vertical-align: middle;
  animation: livePulse 1.8s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% { transform: scale(1);   opacity: 1; }
  50%       { transform: scale(1.5); opacity: 0.5; }
}

/* Small dot inside a badge */
.live-dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: #fff;
  border-radius: 50%;
  margin-right: 4px;
  vertical-align: middle;
  animation: livePulse 1.8s ease-in-out infinite;
}

/* ═══════════════════════════════════════════════════════════
   ANIMATIONS — subtle entrance (Kalles / Minimog)
   ═══════════════════════════════════════════════════════════ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-in { animation: fadeInUp .5s var(--ease) both; }
