/* === BAZARIO STORE CSS === */
/* Design: Dark premium, mobile-first, Temu meets Best Buy */

:root {
  --bg: #0a0a0f;
  --surface: #111118;
  --card: #1a1a25;
  --card-hover: #222230;
  --border: #2a2a3a;
  --accent: #3b82f6;
  --accent-hover: #2563eb;
  --accent-light: rgba(59,130,246,0.12);
  --sale: #ef4444;
  --sale-light: rgba(239,68,68,0.12);
  --success: #22c55e;
  --amber: #f59e0b;
  --amber-light: rgba(245,158,11,0.12);
  --text: #e4e4ec;
  --muted: #8888a0;
  --white: #ffffff;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --radius-pill: 24px;
  --shadow: 0 4px 20px rgba(0,0,0,0.3);
  --transition: 0.2s ease;
}

* { 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);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; font-family: inherit; }
input, select { font-family: inherit; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* === ANNOUNCEMENT BAR === */
.announcement-bar {
  background: linear-gradient(90deg, var(--accent), #7c3aed);
  color: white;
  text-align: center;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* === NAVIGATION === */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10,10,15,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 24px;
}

.logo {
  font-size: 24px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
  flex-shrink: 0;
}

.logo span { color: var(--accent); }

.nav-search {
  flex: 1;
  max-width: 480px;
}

.search-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 10px 18px;
  color: var(--muted);
  font-size: 14px;
  transition: border-color var(--transition);
}

.search-btn:hover { border-color: var(--accent); }

.search-placeholder { color: var(--muted); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.nav-link {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  border-radius: var(--radius-sm);
  transition: color var(--transition);
}

.nav-link:hover { color: var(--white); }

.cart-btn {
  position: relative;
  background: none;
  border: none;
  color: var(--text);
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}

.cart-btn:hover { background: var(--surface); }

.cart-count {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--accent);
  color: white;
  font-size: 11px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  padding: 8px;
}

.mobile-menu {
  display: none;
  padding: 12px 24px 16px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.mobile-menu.open { display: block; }

.mobile-link {
  display: block;
  padding: 12px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

.mobile-link:last-child { border-bottom: none; }

.hide-mobile { display: inline-block; }

@media (max-width: 768px) {
  .nav-search { display: none; }
  .hide-mobile { display: none !important; }
  .mobile-menu-btn { display: block; }
}

/* === SEARCH OVERLAY === */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(8px);
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding-top: 120px;
}

.search-overlay.open { display: flex; }

.search-overlay-inner {
  width: 90%;
  max-width: 640px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  animation: slideDown 0.2s ease;
}

.search-input-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}

.search-input-wrap svg { color: var(--muted); flex-shrink: 0; }

.search-input-wrap input {
  flex: 1;
  background: none;
  border: none;
  color: var(--white);
  font-size: 16px;
  outline: none;
}

.search-close {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 4px;
}

.search-results {
  max-height: 400px;
  overflow-y: auto;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  cursor: pointer;
  transition: background var(--transition);
}

.search-result-item:hover { background: var(--card); }

.search-result-item img {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.search-result-info h4 { font-size: 14px; color: var(--white); font-weight: 600; }
.search-result-info p { font-size: 13px; color: var(--accent); font-weight: 600; }

/* === HERO SECTION === */
.hero {
  background: linear-gradient(135deg, var(--bg) 0%, #0f1028 50%, var(--bg) 100%);
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59,130,246,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--sale-light);
  color: var(--sale);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  animation: pulse 2s infinite;
}

.hero h1 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  color: var(--white);
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--accent), #7c3aed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }

.hero-trust {
  display: flex;
  gap: 24px;
  font-size: 13px;
  color: var(--muted);
  flex-wrap: wrap;
}

.hero-trust span { display: flex; align-items: center; gap: 6px; }

.hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.hero-product-showcase { position: relative; }

.showcase-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  width: 320px;
  box-shadow: var(--shadow);
  animation: float 6s ease-in-out infinite;
}

.showcase-card img { width: 100%; height: 240px; object-fit: cover; }

.showcase-info { padding: 20px; }

.showcase-badge {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 8px;
}

.showcase-info h3 { font-size: 16px; color: var(--white); font-weight: 600; margin-bottom: 6px; }
.showcase-price { font-size: 22px; color: var(--accent); font-weight: 700; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; padding: 48px 24px; gap: 32px; }
  .hero-visual { display: none; }
}

/* === CATEGORIES === */
.categories-section { padding: 24px 0; }

.categories-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 8px 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.categories-scroll::-webkit-scrollbar { display: none; }

.category-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
  transition: all var(--transition);
  flex-shrink: 0;
}

.category-pill:hover, .category-pill.active {
  background: var(--accent-light);
  border-color: var(--accent);
  color: var(--accent);
}

/* === SECTIONS === */
.section { padding: 60px 0; }
.section-alt { background: var(--surface); }

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 32px;
  gap: 20px;
}

.section-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.5px;
}

.section-sub {
  font-size: 15px;
  color: var(--muted);
  margin-top: 4px;
}

/* === PRODUCT GRID === */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.products-grid.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) { .products-grid, .products-grid.grid-4 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .products-grid, .products-grid.grid-4 { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

/* === PRODUCT CARD === */
.product-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(59,130,246,0.1);
}

.product-image {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--surface);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

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

.product-badges {
  position: absolute;
  top: 8px;
  left: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.badge {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-sale { background: var(--sale); color: white; }
.badge-trending { background: var(--amber-light); color: var(--amber); }
.badge-best { background: var(--accent-light); color: var(--accent); }
.badge-lg { font-size: 14px; padding: 8px 16px; }

.product-info {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-category {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 4px;
}

.product-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-desc {
  font-size: 13px;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 8px;
}

.stars { display: flex; align-items: center; gap: 2px; margin-bottom: 8px; }
.star { font-size: 14px; }
.star.full, .star.half { color: var(--amber); }
.star.empty { color: var(--border); }
.rating-text { font-size: 12px; color: var(--muted); margin-left: 6px; }

.product-pricing {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  margin-top: auto;
}

.product-price {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
}

.product-compare {
  font-size: 14px;
  color: var(--muted);
  text-decoration: line-through;
}

.btn-add-cart {
  width: 100%;
  padding: 10px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  transition: background var(--transition);
}

.btn-add-cart:hover { background: var(--accent-hover); }

@media (max-width: 480px) {
  .product-name { font-size: 13px; }
  .product-desc { display: none; }
  .product-price { font-size: 17px; }
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary { background: var(--accent); color: white; }
.btn-primary:hover { background: var(--accent-hover); }

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}
.btn-outline:hover { background: var(--accent-light); }

.btn-lg { padding: 14px 32px; font-size: 16px; }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-full { width: 100%; }

/* === PRODUCT DETAIL PAGE === */
.page-content { padding: 24px 0 80px; }

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.gallery-main {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  aspect-ratio: 1;
}

.gallery-zoom {
  overflow: hidden;
}

.gallery-zoom img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  cursor: zoom-in;
}

.gallery-zoom:hover img {
  transform: scale(1.5);
}

.product-category-link {
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.product-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.5px;
  margin: 8px 0 12px;
}

.product-pricing-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
}

.price-current { font-size: 36px; font-weight: 800; color: var(--white); }
.price-compare { font-size: 20px; color: var(--muted); text-decoration: line-through; }
.price-save { font-size: 14px; color: var(--success); font-weight: 600; background: rgba(34,197,94,0.1); padding: 4px 12px; border-radius: var(--radius-pill); }

.product-short-desc {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.product-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.qty-selector {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.qty-btn {
  background: var(--surface);
  border: none;
  color: var(--text);
  width: 42px;
  height: 48px;
  font-size: 18px;
  transition: background var(--transition);
}

.qty-btn:hover { background: var(--card); }

.qty-input {
  width: 50px;
  text-align: center;
  background: var(--card);
  border: none;
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  height: 48px;
  -moz-appearance: textfield;
}

.qty-input::-webkit-inner-spin-button { display: none; }

.btn-add-main {
  flex: 1;
  padding: 14px 24px;
  font-size: 16px;
}

.product-trust-signals {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.signal {
  font-size: 14px;
  color: var(--muted);
}

.trust-badges-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  padding: 12px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  padding: 6px 12px;
  border-right: 1px solid var(--border);
}

.trust-badge-item:last-child {
  border-right: none;
}

.trust-badge-item svg {
  color: var(--success);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .trust-badges-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .trust-badge-item {
    border-right: none;
    border-bottom: 1px solid var(--border);
    width: 100%;
    padding: 6px 0;
  }
  .trust-badge-item:last-child {
    border-bottom: none;
  }
}

.product-specs {
  margin-top: 24px;
}

.product-specs h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table tr { border-bottom: 1px solid var(--border); }

.specs-table td {
  padding: 12px 0;
  font-size: 14px;
}

.spec-key {
  color: var(--muted);
  width: 40%;
  font-weight: 500;
}

.spec-val { color: var(--white); font-weight: 600; }

.product-full-description {
  margin-bottom: 48px;
}

.product-full-description h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}

.description-content {
  color: var(--text);
  line-height: 1.8;
  font-size: 15px;
}

.description-content h3 {
  color: var(--white);
  font-size: 20px;
  margin: 24px 0 12px;
}

.description-content ul {
  padding-left: 20px;
  margin: 12px 0;
}

.description-content li { margin-bottom: 8px; }

@media (max-width: 768px) {
  .product-detail { grid-template-columns: 1fr; gap: 24px; }
  .product-title { font-size: 24px; }
  .price-current { font-size: 28px; }
  .product-actions { flex-direction: column; }
}

/* === CART DRAWER === */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 60;
  display: none;
}

.cart-overlay.open { display: block; }

.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 400px;
  max-width: 90vw;
  height: 100vh;
  background: var(--surface);
  border-left: 1px solid var(--border);
  z-index: 61;
  display: flex;
  flex-direction: column;
  transition: right 0.3s ease;
}

.cart-drawer.open { right: 0; }

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}

.cart-header h3 { font-size: 18px; font-weight: 700; color: var(--white); }

.cart-close {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 28px;
  line-height: 1;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
}

.cart-empty {
  text-align: center;
  color: var(--muted);
  padding: 48px 0;
  font-size: 15px;
}

.cart-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.cart-item img {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.cart-item-info { flex: 1; }
.cart-item-name { font-size: 14px; font-weight: 600; color: var(--white); margin-bottom: 4px; }
.cart-item-price { font-size: 14px; color: var(--accent); font-weight: 600; }

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.cart-qty-btn {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
  width: 28px;
  height: 28px;
  border-radius: 4px;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-item-qty { font-size: 14px; font-weight: 600; color: var(--white); min-width: 20px; text-align: center; }

.cart-item-remove {
  background: none;
  border: none;
  color: var(--sale);
  font-size: 12px;
  margin-left: auto;
  padding: 4px 8px;
}

.cart-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
}

.cart-subtotal, .cart-shipping {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 15px;
}

.cart-subtotal span:last-child { font-weight: 700; color: var(--white); font-size: 18px; }

.cart-trust {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
}

/* === EMAIL POPUP === */
.email-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.email-popup-overlay.open { display: flex; }

.email-popup {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  position: relative;
  animation: slideUp 0.3s ease;
}

.popup-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 24px;
}

.popup-badge {
  display: inline-block;
  background: var(--amber-light);
  color: var(--amber);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

.email-popup h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.email-popup p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 20px;
}

.popup-form {
  display: flex;
  gap: 8px;
}

.popup-form input {
  flex: 1;
  padding: 12px 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-size: 14px;
  outline: none;
}

.popup-form input:focus { border-color: var(--accent); }

.popup-note { font-size: 12px; color: var(--muted); margin-top: 12px; }

.subscribe-success {
  color: #4ade80;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  padding: 12px 0;
}

/* === TOAST === */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 20px;
  font-size: 14px;
  color: var(--text);
  box-shadow: var(--shadow);
  animation: slideInRight 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 280px;
}

.toast.success { border-color: var(--success); }
.toast.error { border-color: var(--sale); }

/* === BLOG === */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}

.blog-card:hover { border-color: var(--accent); transform: translateY(-4px); }

.blog-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-content { padding: 20px; }

.blog-category {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  margin-bottom: 8px;
}

.blog-card h2 {
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
}

.blog-card p {
  font-size: 14px;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-date { font-size: 12px; color: var(--muted); margin-top: 12px; display: block; }

.blog-post { max-width: 800px; }

.blog-post-header { margin-bottom: 32px; }
.blog-post-header h1 { font-size: 36px; font-weight: 700; color: var(--white); margin: 12px 0; letter-spacing: -0.5px; }

.blog-content {
  color: var(--text);
  line-height: 1.8;
  font-size: 16px;
}

.blog-content h2 { color: var(--white); font-size: 24px; margin: 32px 0 16px; }
.blog-content h3 { color: var(--white); font-size: 20px; margin: 24px 0 12px; }
.blog-content ul, .blog-content ol { padding-left: 24px; margin: 16px 0; }
.blog-content li { margin-bottom: 8px; }
.blog-content p { margin-bottom: 16px; }

.blog-cta {
  margin-top: 48px;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}

.blog-cta h3 { font-size: 20px; color: var(--white); margin-bottom: 16px; }

@media (max-width: 768px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-post-header h1 { font-size: 28px; }
}

/* === BREADCRUMBS === */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 20px;
  flex-wrap: nowrap;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 2px;
}
.breadcrumbs::-webkit-scrollbar { display: none; }

.breadcrumbs a { color: var(--muted); transition: color var(--transition); flex-shrink: 0; }
.breadcrumbs a:hover { color: var(--accent); }
.bc-sep { opacity: 0.4; flex-shrink: 0; font-size: 0.9rem; }
.bc-current { color: var(--text); font-weight: 500; flex-shrink: 0; }

/* === PAGINATION === */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}

.page-btn {
  padding: 8px 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text);
  transition: all var(--transition);
}

.page-btn:hover, .page-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

/* === CHECKOUT === */
.page-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.page-sub {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 32px;
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 48px;
}

.checkout-form h2 {
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
  margin: 24px 0 16px;
}

.checkout-form h2:first-child { margin-top: 0; }

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 6px;
}

.form-group input {
  width: 100%;
  padding: 12px 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-size: 15px;
  outline: none;
  transition: border-color var(--transition);
}

.form-group input:focus { border-color: var(--accent); }

.form-row {
  display: grid;
  grid-template-columns: 1fr 100px 120px;
  gap: 12px;
}

.checkout-trust {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin: 24px 0;
}

.checkout-summary {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  height: fit-content;
  position: sticky;
  top: 100px;
}

.checkout-summary h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.checkout-totals {
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: 16px;
}

@media (max-width: 768px) {
  .checkout-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* === ORDER CONFIRMATION === */
.order-confirmed {
  text-align: center;
  padding: 40px 0;
}

.confirm-icon { font-size: 64px; margin-bottom: 16px; }

.order-confirmed h1 {
  font-size: 32px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.order-number {
  font-size: 18px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 16px;
}

.order-confirmed > p { color: var(--muted); font-size: 16px; margin-bottom: 32px; }

.order-details-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  max-width: 600px;
  margin: 0 auto 24px;
  text-align: left;
}

.order-details-card h3 { font-size: 18px; font-weight: 600; color: var(--white); margin-bottom: 16px; }

.order-item-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.order-item-img {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.order-item-name { font-size: 14px; font-weight: 600; color: var(--white); }
.order-item-qty { font-size: 13px; color: var(--muted); }
.order-item-price { margin-left: auto; font-weight: 600; color: var(--white); }

.order-total-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 14px;
  color: var(--muted);
}

.order-total-row.total {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  border-top: 1px solid var(--border);
  padding-top: 12px;
  margin-top: 4px;
}

.order-shipping-info {
  max-width: 600px;
  margin: 0 auto 32px;
  text-align: left;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.order-shipping-info h3 { font-size: 16px; color: var(--white); margin-bottom: 8px; }
.order-shipping-info p { font-size: 14px; color: var(--muted); margin-bottom: 8px; }

/* === VALUE PROPS === */
.value-props {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.value-prop {
  text-align: center;
  padding: 32px 20px;
}

.value-icon { font-size: 36px; margin-bottom: 12px; }
.value-prop h3 { font-size: 16px; font-weight: 600; color: var(--white); margin-bottom: 8px; }
.value-prop p { font-size: 14px; color: var(--muted); line-height: 1.6; }

@media (max-width: 768px) { .value-props { grid-template-columns: repeat(2, 1fr); gap: 16px; } }

/* === FOOTER === */
.footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 60px 0 0;
  margin-top: 60px;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  gap: 40px;
}

.footer-logo {
  font-size: 24px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}

.footer-logo span { color: var(--accent); }

.footer-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.trust-badges { display: flex; flex-wrap: wrap; gap: 8px; }

.trust-badge {
  font-size: 12px;
  color: var(--muted);
  background: var(--card);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 10px;
  transition: color var(--transition);
}

.footer-col a:hover { color: var(--accent); }

.footer-col p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 12px;
}

.footer-newsletter {
  display: flex;
  gap: 8px;
}

.footer-newsletter input {
  flex: 1;
  padding: 10px 14px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-size: 14px;
  outline: none;
}

.footer-newsletter input:focus { border-color: var(--accent); }

.footer-bottom {
  max-width: 1280px;
  margin: 40px auto 0;
  padding: 20px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p { font-size: 13px; color: var(--muted); }

.footer-payments {
  display: flex;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; }
}

/* === INFO PAGES === */
.info-page { max-width: 800px; }
.info-page h1 { font-size: 32px; font-weight: 700; color: var(--white); margin-bottom: 24px; }
.info-page h2 { font-size: 22px; font-weight: 600; color: var(--white); margin: 32px 0 12px; }
.info-page p { color: var(--text); font-size: 15px; line-height: 1.8; margin-bottom: 12px; }
.info-page ul, .info-page ol { padding-left: 24px; margin: 12px 0 20px; }
.info-page li { color: var(--text); font-size: 15px; margin-bottom: 8px; line-height: 1.7; }
.info-page a { color: var(--accent); }

.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
}

.info-table td {
  padding: 12px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--text);
}

/* === EMPTY STATE === */
.empty-state {
  text-align: center;
  padding: 80px 24px;
}

.empty-state h1, .empty-state h3 {
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.empty-state p {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 24px;
}

/* === FILTER + SORT ROW === */
.filter-sort-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin: 16px 0;
}

.price-filters {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.price-filters-label {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
  white-space: nowrap;
}

.price-pill {
  font-size: 12px;
  padding: 6px 14px;
}

@media (max-width: 640px) {
  .filter-sort-row { flex-direction: column; align-items: flex-start; }
  .price-filters { gap: 6px; }
  .price-pill { font-size: 11px; padding: 5px 10px; }
}

/* === SORT BAR === */
.sort-bar {
  display: flex;
  justify-content: flex-end;
  margin: 16px 0;
}

.sort-select {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 8px 14px;
  font-size: 13px;
  outline: none;
}

.sort-select option { background: var(--card); }

.products-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.products-page-header h1 {
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
}

.results-count {
  font-size: 14px;
  color: var(--muted);
}

.search-again-form {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.search-again-input {
  flex: 1;
  max-width: 400px;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
  color: var(--text);
  font-size: 15px;
}

.search-again-input:focus {
  outline: none;
  border-color: var(--accent);
}

/* === ANIMATIONS === */
@keyframes slideDown {
  from { transform: translateY(-20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes slideInRight {
  from { transform: translateX(100px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* === VALUE PROPS BAR === */
.value-props-bar-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  padding: 0;
}

.value-props-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  padding: 16px 0;
}

.vpb-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 28px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}

.vpb-icon { font-size: 18px; }
.vpb-text { white-space: nowrap; }

.vpb-divider {
  width: 1px;
  height: 24px;
  background: var(--border);
}

@media (max-width: 640px) {
  .value-props-bar { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding: 12px 0; }
  .vpb-item { padding: 6px 16px; }
  .vpb-divider { display: none; }
}

/* === CATEGORY SHOWCASE GRID === */
.category-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.category-showcase-card {
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
}

.category-showcase-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.35);
  border-color: var(--accent);
}

.category-showcase-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--surface);
}

.category-showcase-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.category-showcase-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}

.category-showcase-info {
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.category-showcase-icon { font-size: 20px; flex-shrink: 0; }

.category-showcase-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  margin: 0;
  flex: 1;
}

.category-showcase-count {
  font-size: 12px;
  color: var(--muted);
  background: var(--surface);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

@media (max-width: 900px) {
  .category-showcase-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}

@media (max-width: 480px) {
  .category-showcase-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .category-showcase-info { padding: 12px; gap: 6px; }
  .category-showcase-name { font-size: 13px; }
}

/* === STAR RATINGS === */
.stars {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 6px 0;
}

.star { font-size: 15px; line-height: 1; }
.star.full { color: var(--amber); }
.star.half { color: var(--amber); opacity: 0.7; }
.star.empty { color: #3a3a50; }

.rating-text {
  font-size: 12px;
  color: var(--muted);
  margin-left: 6px;
  white-space: nowrap;
}

/* === CUSTOMER REVIEWS SECTION === */
.reviews-section {
  border-top: 1px solid var(--border);
  padding-top: 48px;
  margin-top: 48px;
}

.reviews-header {
  margin-bottom: 28px;
}

.reviews-summary {
  display: flex;
  gap: 48px;
  align-items: flex-start;
  margin-bottom: 40px;
  padding: 28px 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.reviews-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 100px;
}

.reviews-avg {
  font-size: 52px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.reviews-stars-big {
  display: flex;
  gap: 3px;
}

.reviews-stars-big .star { font-size: 20px; }

.reviews-count-label {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

.reviews-breakdown {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
}

.rating-bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rating-bar-label {
  font-size: 13px;
  color: var(--muted);
  min-width: 24px;
  text-align: right;
}

.rating-bar-track {
  flex: 1;
  height: 8px;
  background: var(--card);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.rating-bar-fill {
  height: 100%;
  background: var(--amber);
  border-radius: var(--radius-pill);
  transition: width 0.3s ease;
}

.rating-bar-pct {
  font-size: 12px;
  color: var(--muted);
  min-width: 32px;
  text-align: right;
}

/* Review Cards */
.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.review-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  transition: border-color var(--transition);
}

.review-card:hover {
  border-color: #3a3a55;
}

.review-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.review-stars {
  display: flex;
  gap: 2px;
}

.review-stars .star { font-size: 16px; }

.review-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.review-author {
  font-weight: 600;
  color: var(--white);
  font-size: 15px;
}

.review-verified {
  font-size: 12px;
  color: var(--success);
  background: rgba(34, 197, 94, 0.1);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-weight: 500;
  white-space: nowrap;
}

.review-date {
  font-size: 13px;
  color: var(--muted);
  margin-left: auto;
  white-space: nowrap;
}

.review-text {
  font-size: 15px;
  color: var(--text);
  line-height: 1.7;
}

.review-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  margin: 0 0 8px;
}

.stars-link {
  display: inline-flex;
  text-decoration: none;
}

.stars-link:hover .star.full,
.stars-link:hover .star.half {
  color: #fbbf24;
}

@media (max-width: 768px) {
  .reviews-summary {
    flex-direction: column;
    gap: 24px;
    padding: 20px;
  }

  .reviews-score {
    flex-direction: row;
    gap: 16px;
    min-width: auto;
    align-items: center;
  }

  .reviews-avg { font-size: 40px; }

  .review-card { padding: 18px 20px; }

  .review-date { margin-left: 0; width: 100%; }

  .review-title { font-size: 15px; }
}

/* ===== Blog CTA Links ===== */
.blog-cta-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 16px;
}

/* ===== Category SEO Description ===== */
.category-seo-description {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin-bottom: 28px;
  color: var(--text-secondary, #a0aec0);
  line-height: 1.75;
  font-size: 15px;
}

.category-seo-description p {
  margin: 0 0 14px;
}

.category-seo-description p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .category-seo-description {
    padding: 18px 20px;
    font-size: 14px;
  }
}

/* ===== Product FAQ Accordion ===== */
.product-faq {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.product-faq .section-title {
  margin-bottom: 24px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item:hover {
  border-color: var(--accent);
}

.faq-item.open {
  border-color: var(--accent);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  background: none;
  border: none;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: color var(--transition);
  line-height: 1.4;
}

.faq-question:hover,
.faq-item.open .faq-question {
  color: var(--accent);
}

.faq-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  transition: transform var(--transition), background var(--transition);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--accent);
  color: var(--white);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-item.open .faq-answer {
  max-height: 400px;
}

.faq-answer-inner {
  padding: 0 22px 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

@media (max-width: 768px) {
  .faq-question {
    padding: 16px 18px;
    font-size: 14px;
  }

  .faq-answer-inner {
    padding: 0 18px 16px;
  }
}

/* === HORIZONTAL SCROLL SECTIONS (Recently Viewed / You May Also Like) === */
.scroll-section {
  padding: 40px 0;
  border-top: 1px solid var(--border);
}

.scroll-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding: 0 24px;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
}

.scroll-row {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.scroll-row-inner {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
  /* Hide scrollbar */
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.scroll-row-inner::-webkit-scrollbar { display: none; }

.scroll-card {
  flex: 0 0 calc(25% - 11px);
  min-width: 200px;
  max-width: 260px;
  scroll-snap-align: start;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.scroll-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(59,130,246,0.12);
}

.scroll-card-img {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--surface);
}

.scroll-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

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

.scroll-card-info {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.scroll-card-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.scroll-card-stars {
  font-size: 11px;
  color: var(--amber);
}

.scroll-card-count {
  color: var(--muted);
}

.scroll-card-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
}

@media (max-width: 768px) {
  .scroll-card {
    flex: 0 0 calc(50% - 7px);
    min-width: 150px;
  }

  .scroll-section-header {
    padding: 0 16px;
  }

  .scroll-row {
    padding: 0 16px;
  }
}

/* =========================================
   AUTOCOMPLETE SEARCH DROPDOWN
   ========================================= */

/* Replace the old search button with an input-based field */
.nav-search {
  position: relative;
  flex: 1;
  max-width: 480px;
}

.search-field-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 10px 16px;
  transition: border-color var(--transition);
}

.search-field-wrap:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(230, 58, 82, 0.12);
}

.search-icon {
  flex-shrink: 0;
  color: var(--muted);
}

.search-field {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--white);
  font-size: 14px;
  font-family: var(--font-body);
  padding: 0;
  min-width: 0;
}

.search-field::placeholder {
  color: var(--muted);
}

/* Loading spinner */
.search-spinner {
  color: var(--accent);
  font-size: 14px;
  animation: spin 0.8s linear infinite;
  flex-shrink: 0;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Dropdown */
.search-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 2px 8px rgba(0,0,0,0.2);
  overflow: hidden;
  z-index: 1000;
  animation: dropdownIn 0.15s ease-out;
}

@keyframes dropdownIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Autocomplete items */
.autocomplete-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  cursor: pointer;
  transition: background var(--transition);
  border-bottom: 1px solid var(--border);
}

.autocomplete-item:last-of-type {
  border-bottom: none;
}

.autocomplete-item:hover,
.autocomplete-item.selected {
  background: var(--surface-hover);
}

.autocomplete-thumb {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--surface);
}

.autocomplete-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.autocomplete-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

.autocomplete-cat-tag {
  display: inline-block;
  font-size: 11px;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1px 6px;
  width: fit-content;
}

.autocomplete-price {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  flex-shrink: 0;
}

/* View all results link */
.autocomplete-view-all {
  display: block;
  padding: 10px 14px;
  text-align: center;
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
  border-top: 1px solid var(--border);
  transition: background var(--transition);
  text-decoration: none;
}

.autocomplete-view-all:hover {
  background: rgba(230, 58, 82, 0.06);
}

/* Mobile: full-width dropdown */
@media (max-width: 768px) {
  .nav-search {
    position: static;
  }

  .search-dropdown {
    position: fixed;
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px 16px 0 0;
    max-height: 70vh;
    overflow-y: auto;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.3);
  }

  .autocomplete-item {
    padding: 14px 16px;
  }

  .autocomplete-thumb {
    width: 48px;
    height: 48px;
  }

  .autocomplete-name {
    font-size: 15px;
  }

  .autocomplete-price {
    font-size: 15px;
  }
}

/* === PRODUCT COMPARE === */

/* Compare toggle button on product card */
.compare-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(10,10,15,0.8);
  border: 2px solid var(--border);
  color: var(--muted);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  z-index: 2;
  line-height: 1;
}

.compare-btn:hover {
  background: var(--card-hover);
  border-color: var(--accent);
  color: var(--accent);
}

.compare-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

/* Compare Tray — fixed bottom bar */
.compare-tray {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--surface);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 24px rgba(0,0,0,0.4);
  transform: translateY(100%);
  transition: transform 0.3s ease;
  padding: 12px 24px;
}

.compare-tray.open {
  transform: translateY(0);
}

.compare-tray-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.compare-tray-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.compare-tray-slots {
  display: flex;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.compare-tray-slot {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  min-width: 160px;
  max-width: 200px;
  position: relative;
}

.compare-tray-slot-empty {
  border-style: dashed;
  color: var(--muted);
  font-size: 12px;
  min-width: 120px;
}

.compare-tray-slot img {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

.compare-tray-slot-name {
  font-size: 12px;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
}

.compare-tray-slot-remove {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0 2px;
}

.compare-tray-slot-remove:hover {
  color: var(--sale);
}

.compare-tray-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.compare-tray-clear {
  font-size: 12px;
  color: var(--muted);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
  background: none;
  border: none;
}

.compare-tray-clear:hover {
  color: var(--text);
}

/* Compare Page */
.compare-page {
  padding: 24px 0 60px;
}

.compare-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

.compare-table th,
.compare-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

/* Row label column */
.compare-table .compare-row-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  background: var(--surface);
  white-space: nowrap;
  width: 140px;
  min-width: 140px;
  position: sticky;
  left: 0;
  z-index: 1;
}

/* Alternating row colors */
.compare-table tr:nth-child(even) td,
.compare-table tr:nth-child(even) th {
  background: var(--card);
}
.compare-table tr:nth-child(odd) td,
.compare-table tr:nth-child(odd) th {
  background: var(--surface);
}

/* Override sticky column */
.compare-table tr:nth-child(even) .compare-row-label {
  background: var(--card);
}
.compare-table tr:nth-child(odd) .compare-row-label {
  background: var(--surface);
}

.compare-table thead th {
  background: var(--card) !important;
  padding: 0;
  border-bottom: 2px solid var(--border);
  vertical-align: bottom;
}

.compare-product-col {
  text-align: center;
  padding: 16px;
  min-width: 200px;
}

.compare-product-img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin: 0 auto 10px;
  display: block;
}

.compare-product-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 6px;
}

.compare-product-price {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 10px;
}

.compare-cell {
  font-size: 14px;
  color: var(--text);
}

.compare-cell.best-value {
  color: var(--success);
  font-weight: 700;
}

.compare-cell .compare-stars {
  color: var(--amber);
  font-size: 14px;
}

/* sticky header row */
.compare-table thead {
  position: sticky;
  top: 64px; /* nav height */
  z-index: 10;
}

/* Mobile: let horizontal scroll handle it */
@media (max-width: 768px) {
  .compare-tray-inner {
    flex-wrap: wrap;
    gap: 10px;
  }

  .compare-tray-slots {
    overflow-x: auto;
  }

  .compare-tray-slot {
    min-width: 140px;
  }

  .compare-table .compare-row-label {
    width: 110px;
    min-width: 110px;
    font-size: 12px;
    padding: 10px 10px;
  }

  .compare-product-col {
    min-width: 160px;
    padding: 12px;
  }

  .compare-product-img {
    width: 80px;
    height: 80px;
  }

  .compare-product-name {
    font-size: 12px;
  }

  .compare-product-price {
    font-size: 16px;
  }
}

/* === WISHLIST === */

/* Nav wishlist button */
.wishlist-nav-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--text);
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  text-decoration: none;
}

.wishlist-nav-btn:hover {
  background: var(--surface);
  color: #ef4444;
}

.wishlist-count {
  background: #ef4444 !important;
}

/* Wishlist button on product card */
.wishlist-btn {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(10,10,15,0.8);
  border: 2px solid var(--border);
  color: var(--muted);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  z-index: 2;
  line-height: 1;
  padding: 0;
}

.wishlist-btn:hover {
  background: rgba(239,68,68,0.15);
  border-color: #ef4444;
  color: #ef4444;
}

.wishlist-btn.active {
  background: rgba(239,68,68,0.2);
  border-color: #ef4444;
  color: #ef4444;
}

/* Pulse animation on wishlist toggle */
@keyframes wishlist-pulse {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.35); }
  70%  { transform: scale(0.9); }
  100% { transform: scale(1); }
}

.wishlist-btn.pulse {
  animation: wishlist-pulse 0.4s ease-out;
}

/* Wishlist button on product detail page */
.wishlist-btn-detail {
  position: static;
  width: 52px;
  height: 52px;
  font-size: 22px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

/* Wishlist page */
.wishlist-page {
  padding: 40px 0 80px;
}

.wishlist-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 16px;
  flex-wrap: wrap;
}

.wishlist-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
}

.wishlist-page-count {
  font-size: 18px;
  font-weight: 500;
  color: var(--muted);
  margin-left: 8px;
}

.wishlist-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 80px 0;
  gap: 16px;
  color: var(--muted);
}

.wishlist-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.wishlist-card-wrap {
  display: flex;
  flex-direction: column;
}

.wishlist-card-actions {
  display: flex;
  gap: 8px;
  padding: 0 12px 12px;
  flex-wrap: wrap;
}

.wishlist-card-actions .btn-add-cart {
  flex: 1;
}

.wishlist-remove-btn {
  background: none;
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.wishlist-remove-btn:hover {
  border-color: #ef4444;
  color: #ef4444;
}

.empty-icon {
  font-size: 64px;
  line-height: 1;
  color: var(--border);
  margin-bottom: 8px;
}

/* btn-secondary style (if not already defined) */
.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  display: inline-block;
}

.btn-secondary:hover {
  background: var(--card-hover);
  border-color: var(--accent);
  color: var(--white);
}

@media (max-width: 640px) {
  .wishlist-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .wishlist-title {
    font-size: 22px;
  }
}

/* ============================================================
   Filter + Sort Bar — /products page
   ============================================================ */

/* Category scroll row (horizontal pill strip) */
.categories-scroll {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.category-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--surface);
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
  cursor: pointer;
}

.category-pill:hover {
  background: var(--card-hover);
  border-color: var(--accent);
  color: var(--white);
}

.category-pill.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

/* Filter + Sort row: price pills on the left, sort dropdown on the right */
.filter-sort-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}

.price-filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  flex: 1;
}

.price-filters-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}

/* Price pills use the same .category-pill base, with a slightly bolder border */
.price-pill {
  border-style: solid;
}

/* Sort dropdown */
.sort-select {
  appearance: none;
  -webkit-appearance: none;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%236b7280' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 10px center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 7px 32px 7px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  min-width: 160px;
  transition: border-color var(--transition);
  white-space: nowrap;
}

.sort-select:hover,
.sort-select:focus {
  border-color: var(--accent);
  outline: none;
}

/* Active filter summary bar — shows "Showing X of Y" + clear tags */
.filter-active-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 13px;
  color: var(--muted);
}

.filter-showing {
  font-size: 13px;
  color: var(--muted);
}

.filter-showing strong {
  color: var(--text);
  font-weight: 600;
}

.filter-active-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-left: auto;
}

.filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: none;
  transition: border-color var(--transition), color var(--transition);
}

.filter-tag:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.filter-clear-all {
  font-size: 12px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  padding: 4px 8px;
}

.filter-clear-all:hover {
  text-decoration: underline;
}

/* Results count in page header */
.results-count {
  font-size: 14px;
  color: var(--muted);
}

.results-count strong {
  color: var(--text);
  font-weight: 600;
}

/* Responsive: stack filters vertically on mobile */
@media (max-width: 640px) {
  .filter-sort-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .sort-select {
    width: 100%;
  }

  .price-filters {
    width: 100%;
  }

  .filter-active-tags {
    margin-left: 0;
  }
}

/* === INLINE EMAIL CAPTURE SECTION === */
.inline-email-section {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 0;
}

.inline-email-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.inline-email-icon {
  font-size: 48px;
  flex-shrink: 0;
}

.inline-email-text {
  flex: 1;
  min-width: 200px;
}

.inline-email-text h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.inline-email-text p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

.inline-email-form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.inline-email-form input {
  padding: 12px 18px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  color: var(--white);
  font-size: 15px;
  min-width: 240px;
  outline: none;
  transition: border-color var(--transition);
}

.inline-email-form input:focus {
  border-color: var(--accent);
}

@media (max-width: 640px) {
  .inline-email-inner {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .inline-email-form {
    justify-content: center;
    width: 100%;
  }

  .inline-email-form input {
    min-width: 0;
    width: 100%;
  }
}

/* === CART PAGE === */
.cart-page-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  align-items: start;
}

.cart-page-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-page-item {
  display: flex;
  gap: 16px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}

.cart-page-item-img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--surface-raised);
  flex-shrink: 0;
}

.cart-page-item-info {
  flex: 1;
  min-width: 0;
}

.cart-page-item-name {
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  display: block;
  margin-bottom: 4px;
}

.cart-page-item-name:hover { color: var(--accent); }

.cart-page-item-price {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 8px;
}

.cart-page-item-qty {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-page-item-qty .cart-qty-btn {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  border: 1px solid var(--border);
  background: var(--surface-raised);
  color: var(--text);
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-page-item-qty .cart-qty-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.cart-page-item-qty span {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  min-width: 20px;
  text-align: center;
}

.cart-page-item-total {
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
  flex-shrink: 0;
  width: 60px;
  text-align: right;
}

.cart-page-item-remove {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 16px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  flex-shrink: 0;
}

.cart-page-item-remove:hover {
  color: var(--sale);
  background: rgba(239, 68, 68, 0.1);
}

.cart-page-summary {
  position: sticky;
  top: 88px;
}

.cart-page-summary-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.cart-page-summary-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 16px;
}

.cart-page-summary-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 14px;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}

.cart-page-summary-row:last-of-type {
  border-bottom: none;
}

.cart-page-summary-row.total {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  padding-top: 12px;
  margin-top: 4px;
  border-top: 1px solid var(--border);
}

.cart-page-free-shipping {
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.3);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  margin-top: 12px;
  font-size: 12px;
  color: var(--accent);
  text-align: center;
}

@media (max-width: 768px) {
  .cart-page-layout {
    grid-template-columns: 1fr;
  }

  .cart-page-summary {
    position: static;
  }

  .cart-page-item {
    flex-wrap: wrap;
  }
}

/* === CART EMAIL CAPTURE PROMPT === */
#cart-email-prompt {
  position: fixed;
  bottom: 0;
  right: 24px;
  z-index: 250;
  transform: translateY(120%);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-width: 360px;
}

#cart-email-prompt.open {
  transform: translateY(0);
}

.cart-email-prompt-inner {
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 -4px 32px rgba(0, 0, 0, 0.5);
  position: relative;
}

.cart-email-close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
}

.cart-email-icon {
  font-size: 32px;
  margin-bottom: 10px;
}

.cart-email-text {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.cart-email-sub {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 16px;
  line-height: 1.5;
}

.cart-email-form {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.cart-email-form input {
  flex: 1;
  padding: 10px 14px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-size: 14px;
  outline: none;
}

.cart-email-form input:focus {
  border-color: var(--accent);
}

.cart-email-skip {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cart-email-skip:hover {
  color: var(--text);
}

.cart-email-success {
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: #4ade80;
  padding: 8px 0;
}

@media (max-width: 480px) {
  #cart-email-prompt {
    right: 12px;
    left: 12px;
    max-width: none;
  }
}
