/* ============================
   PlayBuddy Store — Main Styles
   ============================ */
:root {
  --primary: #1a1a2e;
  --accent: #e94560;
  --accent-hover: #c73652;
  --bg: #ffffff;
  --bg-alt: #f8f8f8;
  --bg-card: #ffffff;
  --text: #1a1a2e;
  --text-muted: #6b7280;
  --border: #e5e7eb;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 40px rgba(0,0,0,0.15);
  --radius: 12px;
  --radius-sm: 8px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --max-w: 1400px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ======= HEADER ======= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 1px 0 rgba(0,0,0,0.04);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 0;
  width: 100%;
}

.logo { flex-shrink: 0; margin-right: 32px; }
.logo img { height: 40px; width: auto; display: block; }
.logo-text {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
}

.header-inner nav { margin-right: auto; }
.nav-links {
  display: flex;
  gap: 4px;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: #4b5563;
  transition: var(--transition);
  padding: 6px 14px;
  border-radius: 8px;
  display: block;
}
.nav-links a:hover { color: #111827; background: #f3f4f6; }
.nav-links a.active { color: #111827; font-weight: 600; background: #f3f4f6; }

.header-search {
  width: 280px;
  flex-shrink: 0;
  position: relative;
  margin: 0 12px;
}
.header-search input {
  width: 100%;
  padding: 9px 16px 9px 40px;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  font-size: 14px;
  background: #f9fafb;
  transition: var(--transition);
  font-family: var(--font);
  color: var(--text);
}
.header-search input:focus {
  outline: none;
  border-color: #d1d5db;
  background: white;
  box-shadow: 0 0 0 3px rgba(0,0,0,0.05);
}
.header-search .search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 8px;
}

.btn-icon {
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: #374151;
  position: relative;
  text-decoration: none;
}
.btn-icon:hover { background: #f3f4f6; color: #111827; }
.header-shop-cta {
  display: flex; align-items: center;
  background: #111827; color: white;
  font-size: 13px; font-weight: 600;
  padding: 8px 18px; border-radius: 10px;
  text-decoration: none; margin-left: 10px;
  transition: var(--transition); white-space: nowrap;
}
.header-shop-cta:hover { background: #1f2937; }

.cart-count {
  position: absolute;
  top: 2px; right: 2px;
  background: var(--accent);
  color: white;
  font-size: 10px;
  font-weight: 700;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-nav {
  display: none;
  background: white;
  border-top: 1px solid var(--border);
  padding: 16px 24px;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  padding: 12px 0;
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

/* ======= BUTTONS ======= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-family: var(--font);
  letter-spacing: 0.2px;
}
.btn-primary {
  background: var(--accent);
  color: white;
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(233,69,96,0.4);
}
.btn-dark {
  background: var(--primary);
  color: white;
}
.btn-dark:hover {
  background: #0f0f1e;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(26,26,46,0.3);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: white;
}
.btn-lg { padding: 16px 36px; font-size: 16px; }
.btn-full { width: 100%; justify-content: center; }

/* ======= HERO ======= */
.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #ffffff;
  border-bottom: 1px solid #f3f4f6;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.08;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 90% 50%, rgba(99,102,241,0.06) 0%, transparent 60%),
                    radial-gradient(circle at 10% 80%, rgba(233,69,96,0.05) 0%, transparent 50%);
}

.hero-inner {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: 100%;
}
.hero-content {
  position: relative;
  padding: 80px 0;
  color: #111827;
  max-width: 560px;
  flex-shrink: 0;
}
.hero-image-wrap {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 24px 0;
  min-width: 0;
}
.hero-product-img {
  max-width: 100%;
  max-height: 420px;
  object-fit: contain;
  filter: drop-shadow(0 24px 48px rgba(0,0,0,0.15));
  animation: heroFloat 4s ease-in-out infinite;
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff0f3;
  border: 1px solid #fecdd3;
  color: #e11d48;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}
.hero h1 { color: #111827; }
.hero h1 span { color: var(--accent); }

.hero p {
  font-size: 18px;
  color: #6b7280;
  margin-bottom: 36px;
  max-width: 480px;
  line-height: 1.7;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid #f3f4f6;
}
.stat { }
.stat-num {
  font-size: 28px;
  font-weight: 800;
  color: #111827;
  line-height: 1;
}
.stat-label {
  font-size: 12px;
  color: #9ca3af;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ======= SECTION ======= */
.section {
  padding: 80px 24px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
}

.section-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--primary);
}

.section-subtitle {
  font-size: 15px;
  color: var(--text-muted);
  margin-top: 6px;
}

.view-all {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition);
}
.view-all:hover { gap: 8px; }

/* ======= PRODUCT GRID ======= */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid var(--border);
  cursor: pointer;
  position: relative;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

.product-card-image {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--bg-alt);
}
.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.product-card:hover .product-card-image img { transform: scale(1.06); }

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--accent);
  color: white;
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.product-badge.sale { background: #10b981; }
.product-badge.sold-out { background: var(--text-muted); }

.product-card-quick-add {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  opacity: 0;
  transform: translateY(8px);
  transition: var(--transition);
}
.product-card:hover .product-card-quick-add {
  opacity: 1;
  transform: translateY(0);
}
.product-card-mobile-atc {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 8px;
  padding: 10px;
  margin-top: 10px;
  font-size: 13px;
}

.product-card-body {
  padding: 16px;
}
.product-card-vendor {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}
.product-card-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 10px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pc-rating {
  display: flex; align-items: center; gap: 4px;
  margin-bottom: 6px;
}
.pc-stars { color: #f59e0b; font-size: 11px; letter-spacing: 1px; }
.pc-score { font-size: 12px; font-weight: 600; color: #111827; }
.pc-rcount { font-size: 12px; color: #9ca3af; }

.product-card-price {
  display: flex;
  align-items: center;
  gap: 8px;
}
.price-current {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
}
.price-compare {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: line-through;
}
.price-save {
  font-size: 11px;
  font-weight: 700;
  color: #10b981;
  background: rgba(16,185,129,0.1);
  padding: 2px 6px;
  border-radius: 4px;
}

.product-card-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
}
.stars { color: #f59e0b; font-size: 12px; }

/* ======= CATEGORIES STRIP ======= */
.categories-strip {
  background: var(--bg-alt);
  padding: 48px 24px;
}
.categories-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
  margin-top: 32px;
}
.category-card {
  background: white;
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  border: 1.5px solid var(--border);
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
  display: block;
}
.category-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(233,69,96,0.1);
  transform: translateY(-2px);
}
.category-icon {
  font-size: 32px;
  margin-bottom: 10px;
  line-height: 1;
}
.category-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.category-count {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}
.category-img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 10px;
}

/* ======= BANNER ======= */
.promo-banner {
  background: linear-gradient(135deg, #1a1a2e, #0f3460);
  border-radius: var(--radius);
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  overflow: hidden;
  position: relative;
  margin: 40px 0;
}
.promo-banner::before {
  content: '';
  position: absolute;
  right: -40px; top: -40px;
  width: 300px; height: 300px;
  background: rgba(233,69,96,0.1);
  border-radius: 50%;
  pointer-events: none;
}
.promo-text { color: white; }
.promo-text h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}
.promo-text p { opacity: 0.7; font-size: 16px; }

/* ======= FOOTER ======= */
.footer {
  background: #f8f9fa;
  border-top: 1px solid #e5e7eb;
  color: #374151;
  padding: 56px 24px 28px;
}
.footer-inner { max-width: var(--max-w); margin: 0 auto; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer-logo-link { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-bottom: 14px; }
.footer-logo-link img { height: 32px; }
.footer-logo-text { font-size: 18px; font-weight: 800; color: var(--primary); }
.footer-brand #footer-tagline { color: #6b7280; font-size: 14px; line-height: 1.7; max-width: 260px; margin: 0 0 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social-btn {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 8px;
  background: white; border: 1px solid #e5e7eb;
  color: #6b7280; text-decoration: none;
  transition: var(--transition);
}
.footer-social-btn:hover { background: var(--primary); color: white; border-color: var(--primary); }
.footer-col h4 {
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 18px; color: #111827;
}
.footer-col a {
  display: block; color: #6b7280;
  font-size: 14px; margin-bottom: 10px;
  transition: var(--transition); text-decoration: none;
}
.footer-col a:hover { color: var(--primary); transform: translateX(3px); }
.footer-bottom {
  border-top: 1px solid #e5e7eb;
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: #9ca3af;
  flex-wrap: wrap; gap: 12px;
}
.footer-payments { display: flex; gap: 8px; align-items: center; }
.footer-payments svg { opacity: 0.85; }

/* ======= PRODUCT PAGE ======= */
.product-detail {
  max-width: var(--max-w);
  margin: 48px auto 0;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.gallery-wrapper { position: relative; }
.product-gallery { position: sticky; top: 80px; }

.product-lower {
  border-top: 1px solid var(--border);
  margin-top: 48px;
  padding: 48px 0;
  background: white;
}
.product-lower-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.gallery-main {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-alt);
  aspect-ratio: 1;
  margin-bottom: 16px;
}
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}
.thumb-item {
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  background: var(--bg-alt);
  transition: var(--transition);
}
.thumb-item.active, .thumb-item:hover { border-color: var(--accent); }
.thumb-item img { width: 100%; height: 100%; object-fit: cover; }

.product-info { }
.product-brand {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.product-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  line-height: 1.2;
}
.product-rating-link {
  display: inline-flex; align-items: center; gap: 6px;
  text-decoration: none; cursor: pointer; margin-bottom: 12px;
}
.product-rating-link:empty { display: none; }
.prl-stars { color: #f59e0b; font-size: 15px; letter-spacing: 1px; }
.prl-score { font-size: 13px; font-weight: 700; color: var(--text); }
.prl-count { font-size: 13px; color: var(--text-muted); }
.product-rating-link:hover .prl-count { text-decoration: underline; }

.product-price-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.product-price { font-size: 28px; font-weight: 800; }
.product-compare-price {
  font-size: 18px;
  color: var(--text-muted);
  text-decoration: line-through;
}
.product-save-badge {
  background: #10b981;
  color: white;
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
}

.product-options { margin-bottom: 24px; }
.option-label {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text);
}
.option-values { display: flex; flex-wrap: wrap; gap: 8px; }
.option-btn {
  padding: 8px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  background: white;
  font-family: var(--font);
}
.option-btn:hover { border-color: var(--primary); }
.option-btn.selected { border-color: var(--accent); background: rgba(233,69,96,0.05); color: var(--accent); }
.option-btn.unavailable { opacity: 0.4; cursor: not-allowed; text-decoration: line-through; }

.qty-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.qty-label { font-size: 13px; font-weight: 600; }
.qty-control {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.qty-btn {
  width: 40px;
  height: 40px;
  border: none;
  background: var(--bg-alt);
  cursor: pointer;
  font-size: 18px;
  font-weight: 300;
  transition: var(--transition);
  font-family: var(--font);
}
.qty-btn:hover { background: var(--border); }
.qty-input {
  width: 52px;
  height: 40px;
  border: none;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font);
  background: white;
}
.qty-input::-webkit-inner-spin-button { -webkit-appearance: none; }

.express-divider {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 10px; color: var(--text-muted); font-size: 12px;
}
.express-divider::before, .express-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}
#payment-request-btn { border-radius: 8px; overflow: hidden; }

.product-add-row {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

/* ── product page CTA buttons ── */
.pb-cart-btn, .pb-buy-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 700;
  padding: 16px 24px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: transform 0.18s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.18s ease, background 0.18s ease;
  letter-spacing: 0.3px;
  min-width: 0;
}
.pb-cart-btn {
  background: #1a1a2e;
  color: white;
}
.pb-cart-btn:hover {
  background: #2a2a40;
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 8px 24px rgba(26,26,46,0.35);
}
.pb-cart-btn:active {
  transform: translateY(0) scale(0.98);
}
.pb-cart-btn svg {
  transition: transform 0.2s cubic-bezier(0.34,1.56,0.64,1);
}
.pb-cart-btn:hover svg {
  transform: rotate(-8deg) scale(1.15);
}

.pb-buy-btn {
  background: linear-gradient(135deg, #e94560, #c73652);
  color: white;
  box-shadow: 0 4px 16px rgba(233,69,96,0.35);
}
.pb-buy-btn:hover {
  background: linear-gradient(135deg, #f05070, #e94560);
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 10px 28px rgba(233,69,96,0.5);
}
.pb-buy-btn:active {
  transform: translateY(0) scale(0.98);
}
.pb-buy-btn svg {
  transition: transform 0.2s cubic-bezier(0.34,1.56,0.64,1);
}
.pb-buy-btn:hover svg {
  transform: translateX(4px);
}

/* ── out of stock block ── */
.pb-sold-out-block {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: #fef2f2;
  border: 1.5px solid #fecaca;
  border-radius: 50px;
  color: #dc2626;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

/* ── urgency nudges ── */
.urgency-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 4px;
}
.urgency-viewers, .urgency-stock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 50px;
}
.urgency-viewers {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}
.urgency-stock {
  background: #fff7ed;
  color: #c2410c;
  border: 1px solid #fed7aa;
}
.urgency-viewers svg, .urgency-stock svg { flex-shrink: 0; }

.product-features {
  padding: 20px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  margin-bottom: 24px;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-muted);
}
.feature-item:not(:last-child) { border-bottom: 1px solid var(--border); }
.feature-icon { font-size: 18px; }

.product-tabs { }
.tabs-nav {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
  padding-bottom: 0;
}
.tab-btn {
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  background: none;
  cursor: pointer;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color .15s, border-color .15s;
  font-family: var(--font);
  border-radius: 0;
}
.tab-btn:hover { color: var(--text); }
.tab-btn.active { color: var(--text); border-bottom: 2px solid var(--text); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.tab-panel p, .tab-panel li { font-size: 14px; line-height: 1.75; color: var(--text); }
.tab-panel strong { color: var(--text); }
.tab-panel .tab-description { font-size: 14px; line-height: 1.75; color: var(--text); }
.tab-description ul, .tab-description ol { padding-left: 18px; margin: 6px 0 10px; }
.tab-description li { margin-bottom: 3px; padding-left: 2px; }
.tab-description h1, .tab-description h2, .tab-description h3 { font-size: 15px; font-weight: 700; margin: 14px 0 6px; color: var(--text); }
.tab-description p { margin: 0 0 8px; }

/* ======= BREADCRUMB ======= */
.breadcrumb {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 20px 24px 0;
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: #374151;
  flex-wrap: wrap;
}
.breadcrumb a { color: #374151; font-weight: 500; text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: #9ca3af; }
.breadcrumb span:last-child { color: #1a1a2e; font-weight: 600; }

/* ======= CART ======= */
.cart-page {
  max-width: 1100px;
  margin: 48px auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  align-items: start;
}

.cart-title {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 24px;
}

.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.cart-item-img {
  width: 80px; height: 80px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-alt);
  flex-shrink: 0;
}
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-name { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.cart-item-variant { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }
.cart-item-price { font-size: 16px; font-weight: 700; }
.cart-item-remove {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: 1.5px solid var(--border);
  color: var(--text-muted);
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font);
  padding: 4px 10px;
  border-radius: 50px;
  transition: var(--transition);
  margin-top: 8px;
}
.cart-item-remove:hover { color: var(--accent); border-color: var(--accent); background: rgba(233,69,96,0.05); }

.cart-summary {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 28px;
  position: sticky;
  top: 90px;
}
.cart-summary h3 { font-size: 18px; font-weight: 700; margin-bottom: 20px; }
.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 12px;
  color: var(--text-muted);
}
.summary-row.total {
  border-top: 1px solid var(--border);
  padding-top: 12px;
  margin-top: 4px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}
.cart-empty {
  text-align: center;
  padding: 80px 20px;
  grid-column: 1 / -1;
}
.cart-empty-icon { margin-bottom: 16px; color: #d1d5db; display: flex; justify-content: center; }
.cart-empty h2 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.cart-empty p { color: var(--text-muted); margin-bottom: 24px; }

/* ======= FILTERS ======= */
.products-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  max-width: var(--max-w);
  margin: 48px auto;
  padding: 0 24px;
  align-items: start;
}

.filters-panel {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 24px;
  position: sticky;
  top: 90px;
}
.filter-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
}
.filter-section { margin-bottom: 24px; }
.filter-section-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.filter-option {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  cursor: pointer;
  font-size: 14px;
}
.filter-option input { accent-color: var(--accent); }

.products-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 18px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 12px;
}
.products-header-left { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.products-count {
  font-size: 13px; font-weight: 600; color: var(--text);
  background: var(--bg); border: 1.5px solid var(--border);
  border-radius: 20px; padding: 5px 14px; display: inline-flex; align-items: center;
}
.active-filters-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.sort-wrap {
  display: flex; align-items: center; gap: 10px;
}
.sort-label {
  font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.6px; color: var(--text-muted);
}
.sort-select {
  padding: 8px 36px 8px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 13px; font-weight: 500;
  font-family: var(--font);
  background: white;
  color: var(--text);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  transition: border-color 0.15s;
}
.sort-select:hover { border-color: #94a3b8; }
.sort-select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(37,99,235,0.08); }

/* ======= PAGINATION ======= */
.pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 48px;
  padding: 0 16px;
  max-width: 100%;
  overflow: hidden;
}
.page-btn {
  min-width: 38px; height: 38px;
  padding: 0 10px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: white;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
  font-family: var(--font);
  flex-shrink: 0;
  white-space: nowrap;
}
.page-btn:hover:not(:disabled), .page-btn.active {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}
.page-btn.disabled, .page-btn:disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}
.page-dots {
  display: flex;
  align-items: center;
  padding: 0 4px;
  color: var(--text-muted);
  font-size: 14px;
  user-select: none;
}

/* ======= SUCCESS PAGE ======= */
.success-page {
  max-width: 600px;
  margin: 80px auto;
  padding: 0 24px;
  text-align: center;
}
.success-icon {
  width: 80px; height: 80px;
  background: rgba(16,185,129,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  margin: 0 auto 24px;
}
.success-page h1 { font-size: 32px; font-weight: 800; margin-bottom: 12px; }
.success-page p { color: var(--text-muted); font-size: 16px; line-height: 1.7; margin-bottom: 32px; }

/* ======= TOAST ======= */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.toast {
  background: var(--primary);
  color: white;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow-hover);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: toastIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  max-width: 320px;
}
.toast.success { background: #10b981; }
.toast.error { background: #ef4444; }
@keyframes toastIn {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ======= LOADING ======= */
.loading-spinner {
  width: 40px; height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  margin: 40px auto;
}
@keyframes spin { to { transform: rotate(360deg); } }

.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ======= RESPONSIVE ======= */
@media (max-width: 1100px) {
  .home-review-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .products-layout { grid-template-columns: 1fr; }
  .filters-panel { position: static; }
}

@media (max-width: 768px) {
  /* Header */
  .nav-links { display: none; }
  .header-search { display: none; }
  .header-inner { padding: 0 16px; }
  .mobile-menu-btn { display: flex; }

  /* Hero */
  .hero { min-height: auto; }
  .hero-inner { flex-direction: column; text-align: center; padding: 0 16px; }
  .hero-content { padding: 40px 0 0; max-width: 100%; }
  .hero h1 { font-size: clamp(28px, 7vw, 42px); letter-spacing: -1px; }
  .hero p { font-size: 15px; margin-bottom: 24px; }
  .hero-actions { justify-content: center; }
  .hero-image-wrap { justify-content: center; padding-bottom: 24px; }
  .hero-product-img { max-height: 240px; animation: none; }
  .hero-stats { justify-content: center; flex-wrap: wrap; gap: 20px; margin-top: 32px; padding-top: 24px; }
  .hero-badge { font-size: 11px; }

  /* Trust strip */
  .trust-features-inner { flex-wrap: wrap; }
  .trust-feature { flex: 1 1 45%; min-width: 140px; padding: 14px 12px; }
  .tf-divider { display: none; }
  .tf-title { font-size: 12px; }
  .tf-sub { font-size: 11px; }

  /* Sections */
  .section { padding: 48px 16px; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 8px; }
  .section-title { font-size: 20px; }

  /* Products grid */
  .products-grid { grid-template-columns: 1fr; gap: 16px; }

  /* Product page */
  .product-detail { grid-template-columns: 1fr; gap: 24px; padding: 0 16px; margin: 24px auto 0; }
  .product-gallery { position: static; }
  .product-lower { padding: 32px 0; }
  .product-lower-inner { padding: 0 16px; }
  .product-title { font-size: 20px; }
  .product-price { font-size: 22px; }
  .product-info { min-width: 0; max-width: 100%; overflow: hidden; }
  .product-add-row { flex-direction: column; gap: 10px; }
  .pb-cart-btn, .pb-buy-btn { width: 100%; justify-content: center; box-sizing: border-box; }
  /* Share row — all on one line */
  .share-row { gap: 6px; padding-top: 14px; margin-top: 14px; margin-bottom: 18px; flex-wrap: nowrap; align-items: center; }
  .share-label { font-size: 12px; white-space: nowrap; flex-shrink: 0; }
  .share-btn { padding: 6px 10px; font-size: 11px; gap: 4px; border-radius: 8px; white-space: nowrap; flex-shrink: 0; }
  .share-btn svg { width: 12px; height: 12px; }

  /* Trust badges — single column, horizontal layout, compact */
  .trust-badges { grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 20px; }
  .trust-badge { flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 12px 8px; }
  .trust-badge-icon { width: 30px; height: 30px; border-radius: 6px; }
  .trust-badge-icon svg { width: 15px; height: 15px; }
  .trust-badge-text strong { font-size: 12px; }
  .trust-badge-text span { font-size: 11px; line-height: 1.3; }

  /* Tabs — equal width, no scroll, smaller text */
  .tabs-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; overflow: visible; }
  .tab-btn { white-space: nowrap; padding: 10px 4px; font-size: 12px; text-align: center; flex-shrink: 0; }
  .tab-content { word-break: break-word; overflow-wrap: break-word; }
  .tab-content * { max-width: 100%; }

  /* Cart */
  .cart-page { grid-template-columns: 1fr; gap: 24px; padding: 0 16px; margin: 24px auto; }

  /* Reviews slider */
  .home-reviews { padding: 48px 16px; }
  .home-reviews-title { font-size: 22px; }
  .home-review-grid { display: block !important; width: 100% !important; }
  .home-review-card { width: 100% !important; box-sizing: border-box !important; }

  /* Footer */
  .footer { padding: 28px 20px 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 0; row-gap: 0; }
  .footer-brand { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding-bottom: 20px; border-bottom: 1px solid #e5e7eb; margin-bottom: 20px; }
  .footer-brand #footer-tagline { display: none; }
  .footer-brand .footer-social { margin: 0; }
  .footer-logo-link img { height: 28px; }
  .footer-col { padding-bottom: 16px; }
  .footer-col h4 { font-size: 11px; margin-bottom: 10px; }
  .footer-col a { font-size: 13px; margin-bottom: 7px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; padding-top: 16px; font-size: 12px; }
  .footer-payments { justify-content: center; }
  .footer-social { justify-content: flex-start; gap: 8px; }

  /* Promo banner */
  .promo-banner { flex-direction: column; padding: 24px 16px; text-align: center; }

  /* Wishlist / wl-btn always visible on mobile (no hover) */
  .wl-btn { opacity: 1; transform: scale(1); }

  /* Hide overlay quick-add, show below-price button instead */
  .product-card-quick-add { display: none !important; }
  .product-card-mobile-atc { display: flex; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; gap: 14px; }
  .product-card-img { height: 160px; }
  .btn-lg { padding: 13px 24px; font-size: 15px; }
  .trust-feature { flex: 1 1 100%; }
  .hero-product-img { max-height: 200px; }
  .cart-item { flex-direction: column; align-items: flex-start; gap: 12px; }
  .cart-item-img { width: 70px; height: 70px; }
}

/* ═══════════════════════════════════════════
   WISHLIST HEART BUTTON
═══════════════════════════════════════════ */
.wl-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.18s ease, transform 0.2s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.15s;
  color: #9ca3af;
}
.product-card:hover .wl-btn { opacity: 1; transform: scale(1); }
.wl-btn:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.18); }
.wl-btn.hearted { opacity: 1 !important; transform: scale(1) !important; color: #e94560; }
.wl-btn.hearted svg { fill: #e94560 !important; stroke: #e94560 !important; }
.wl-btn:not(.hearted) svg { fill: none !important; stroke: currentColor !important; }
.wl-btn svg { transition: fill 0.15s, stroke 0.15s, transform 0.2s cubic-bezier(0.34,1.56,0.64,1); }
.wl-btn:active svg { transform: scale(1.3); }

/* wishlist count badge (reuse cart-count style) */
.wishlist-count {
  position: absolute;
  top: 2px; right: 2px;
  background: var(--accent);
  color: white;
  font-size: 10px;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
}

/* ═══════════════════════════════════════════
   LIVE SEARCH DROPDOWN
═══════════════════════════════════════════ */
.search-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.14);
  z-index: 9999;
  overflow: hidden;
  animation: sdPop 0.15s cubic-bezier(0.4,0,0.2,1);
}
@keyframes sdPop {
  from { opacity:0; transform:translateY(-6px) scale(0.98); }
  to   { opacity:1; transform:none; }
}
.sd-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  text-decoration: none;
  color: var(--text);
  transition: background 0.1s;
  border-bottom: 1px solid var(--border);
}
.sd-item:hover { background: var(--bg-alt); }
.sd-img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-alt);
  flex-shrink: 0;
}
.sd-img img { width: 100%; height: 100%; object-fit: cover; }
.sd-info { flex: 1; min-width: 0; }
.sd-title {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sd-title mark { background: rgba(233,69,96,0.12); color: var(--accent); border-radius: 2px; padding: 0 1px; }
.sd-price { font-size: 12px; color: var(--text-muted); margin-top: 2px; display: flex; gap: 6px; }
.sd-compare { text-decoration: line-through; }
.sd-see-all {
  display: block;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  background: rgba(233,69,96,0.03);
}
.sd-see-all:hover { background: rgba(233,69,96,0.08); }

/* ═══════════════════════════════════════════
   WISHLIST PAGE
═══════════════════════════════════════════ */
.wishlist-page {
  max-width: var(--max-w);
  margin: 48px auto;
  padding: 0 24px;
}
.wishlist-page h1 { font-size: 32px; font-weight: 800; margin-bottom: 8px; }
.wishlist-empty { text-align: center; padding: 80px 24px; color: var(--text-muted); }
.wishlist-empty .wl-empty-icon { margin-bottom: 20px; color: #d1d5db; display: flex; justify-content: center; }
.wishlist-empty h2 { font-size: 22px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.wishlist-empty p { margin-bottom: 24px; }

/* ═══════════════════════════════════════════
   CART DRAWER
═══════════════════════════════════════════ */
.cd-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1100;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}
.cd-overlay.open { opacity: 1; pointer-events: all; }

.cd-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 420px; max-width: 100vw;
  background: white;
  z-index: 1101;
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.4,0,0.2,1);
  box-shadow: -6px 0 32px rgba(0,0,0,0.12);
}
.cd-drawer.open { transform: translateX(0); }

.cd-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  flex-shrink: 0;
}
.cd-header h3 { font-size: 17px; font-weight: 700; }
.cd-close {
  background: none; border: none; font-size: 26px; cursor: pointer;
  color: var(--text-muted); line-height: 1; padding: 0 6px; border-radius: 6px;
  font-family: var(--font);
}
.cd-close:hover { background: var(--bg-alt); color: var(--text); }

.cd-items { flex: 1; overflow-y: auto; padding: 8px 0; }
.cd-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 12px; padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.cd-item-img {
  width: 72px; height: 72px; border-radius: 8px;
  overflow: hidden; background: var(--bg-alt); flex-shrink: 0;
}
.cd-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cd-item-info { min-width: 0; }
.cd-item-title { font-size: 13px; font-weight: 600; line-height: 1.4; margin-bottom: 3px; }
.cd-item-var { font-size: 11px; color: var(--text-muted); margin-bottom: 8px; }
.cd-item-controls { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cd-item-rm {
  background: none; border: none; cursor: pointer;
  color: var(--text-muted); font-size: 11px; font-family: var(--font);
  text-decoration: underline; padding: 0;
}
.cd-item-rm:hover { color: #e94560; }
.cd-item-price { font-size: 14px; font-weight: 700; color: var(--accent); white-space: nowrap; }

.cd-empty {
  text-align: center; padding: 60px 24px; color: var(--text-muted);
}

.cd-footer {
  padding: 16px 20px; border-top: 1px solid var(--border);
  background: white; flex-shrink: 0;
}
.cd-ship-bar { margin-bottom: 12px; }
.cd-ship-text { font-size: 12px; color: var(--text-muted); margin-bottom: 6px; }
.cd-ship-track { height: 4px; background: var(--border); border-radius: 2px; }
.cd-ship-fill { height: 4px; background: var(--accent); border-radius: 2px; transition: width 0.4s; }

.cd-promo-row { display: flex; gap: 8px; margin-bottom: 6px; }
.cd-promo-in {
  flex: 1; padding: 9px 12px;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-size: 13px; font-family: var(--font); letter-spacing: .5px;
}
.cd-promo-in:focus { outline: none; border-color: var(--accent); }
.cd-promo-btn {
  padding: 9px 14px; background: var(--bg-alt);
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 600; cursor: pointer; font-family: var(--font);
}
.cd-promo-btn:hover { background: var(--border); }
.cd-promo-badge {
  display: none; font-size: 12px; color: #10b981;
  font-weight: 600; margin-bottom: 8px;
}

.cd-totals { margin: 10px 0 12px; }
.cd-row { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 6px; color: var(--text-muted); }
.cd-total-row { font-weight: 700; font-size: 16px; color: var(--text); border-top: 1px solid var(--border); padding-top: 8px; margin-top: 4px; }

.cd-checkout-btn { font-size: 15px; padding: 14px; border-radius: 50px; margin-bottom: 10px; }
.cd-full-cart {
  display: block; text-align: center; font-size: 13px;
  color: var(--text-muted); text-decoration: none;
}
.cd-full-cart:hover { color: var(--accent); }

/* ═══════════════════════════════════════════
   SOCIAL SHARE + BACK-IN-STOCK
═══════════════════════════════════════════ */
.share-row {
  display: flex; align-items: center; gap: 10px;
  margin-top: 20px; padding-top: 20px; margin-bottom: 24px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.share-label { font-size: 13px; font-weight: 600; color: var(--text-muted); }
.share-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: 50px;
  font-size: 12px; font-weight: 600; cursor: pointer;
  text-decoration: none; border: 1.5px solid var(--border);
  background: var(--bg); color: var(--text); font-family: var(--font);
  transition: var(--transition);
}
.share-btn:hover { background: var(--bg-alt); border-color: var(--primary); }
.share-wa:hover { border-color: #25D366; color: #25D366; }
.share-tw:hover { border-color: #000; color: #000; }
.share-pinterest:hover { border-color: #E60023; color: #E60023; }

/* Out of stock + back-in-stock */
.oos-section { margin-top: 4px; }
.back-in-stock-block {
  margin-top: 16px; padding: 20px;
  background: var(--bg); border-radius: 14px;
  border: 1.5px solid var(--border);
}
.bis-title {
  font-size: 15px; font-weight: 700; color: var(--text);
  margin-bottom: 4px;
}
.bis-subtitle {
  font-size: 13px; color: var(--text-muted); margin-bottom: 14px;
}
.bis-form { display: flex; gap: 8px; }
.bis-form input {
  flex: 1; padding: 11px 14px;
  border: 1.5px solid var(--border); border-radius: 10px;
  font-size: 13px; font-family: var(--font);
  background: var(--bg-alt); color: var(--text);
  transition: border-color 0.2s;
}
.bis-form input:focus { outline: none; border-color: var(--accent); background: var(--bg); }
.bis-form button {
  padding: 11px 18px; background: var(--primary); color: white;
  border: none; border-radius: 10px;
  font-size: 13px; font-weight: 700; cursor: pointer; font-family: var(--font);
  white-space: nowrap; transition: opacity 0.2s;
}
.bis-form button:hover { opacity: 0.85; }
.bis-success {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px; background: #f0fdf4;
  border: 1.5px solid #bbf7d0; border-radius: 10px;
  font-size: 13px; font-weight: 600; color: #15803d;
}

/* ═══════════════════════════════════════════
   PROMO CODE — CART PAGE
═══════════════════════════════════════════ */
.cart-promo-section { margin: 12px 0; }
.cart-promo-row { display: flex; gap: 8px; }
.cart-promo-in {
  flex: 1; padding: 10px 14px;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-size: 13px; font-family: var(--font); letter-spacing: .5px;
}
.cart-promo-in:focus { outline: none; border-color: var(--accent); }
.cart-promo-btn {
  padding: 10px 16px; background: var(--bg-alt);
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 600; cursor: pointer; font-family: var(--font);
}
.cart-promo-btn:hover { background: var(--border); }
.cart-promo-badge { font-size: 12px; color: #10b981; font-weight: 600; margin-top: 6px; display: none; }

/* ═══════════════════════════════════════════
   TRUST BADGES (product page)
═══════════════════════════════════════════ */
.trust-badges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 28px;
}
.trust-badge {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px;
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s;
}
.trust-badge:hover { border-color: #cbd5e1; }
.trust-badge-icon {
  width: 38px; height: 38px; border-radius: 8px;
  background: var(--bg-alt);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}
.trust-badge-text strong { display: block; font-size: 12px; font-weight: 700; color: var(--text); line-height: 1.3; }
.trust-badge-text span { font-size: 11px; color: var(--text-muted); }

/* Social proof block */
.social-proof-block {
  display: flex; flex-direction: column; gap: 8px;
  margin: 14px 0 18px;
}
.social-proof-row {
  display: flex; align-items: center; gap: 0;
  border: 1.5px solid var(--border); border-radius: 10px;
  overflow: hidden; width: fit-content;
}
.sp-item {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 500; color: var(--text-muted);
  padding: 9px 16px; background: var(--bg-alt);
}
.sp-item strong { color: var(--text); font-weight: 700; }
.sp-sold svg { stroke: #15803d; }
.sp-viewing svg { stroke: #1d4ed8; }
.sp-divider { width: 1.5px; height: 100%; background: var(--border); align-self: stretch; flex-shrink: 0; }
.sp-stock {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; color: #c2410c;
  background: #fff7ed; border: 1.5px solid #fed7aa;
  border-radius: 8px; padding: 7px 14px; width: fit-content;
}

/* ═══════════════════════════════════════════
   BUY NOW BUTTON ANIMATION
═══════════════════════════════════════════ */
@keyframes buyPulse {
  0%, 60%, 100% { box-shadow: 0 4px 16px rgba(233,69,96,0.35); transform: translateY(0) scale(1); }
  80% { box-shadow: 0 6px 30px rgba(233,69,96,0.65), 0 0 0 5px rgba(233,69,96,0.12); transform: translateY(-2px) scale(1.015); }
}
.pb-buy-btn { animation: buyPulse 3.5s ease-in-out 3s infinite; }
.pb-buy-btn:hover { animation: none; }

/* ═══════════════════════════════════════════
   FAQ ACCORDION
═══════════════════════════════════════════ */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq-item:hover { border-color: #cbd5e1; }
.faq-item.open {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.07);
}
.faq-q {
  width: 100%; text-align: left; background: none; border: none;
  padding: 18px 20px; cursor: pointer; font-family: var(--font);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 15px; font-weight: 600; color: var(--text); gap: 16px;
}
.faq-q:hover { color: var(--accent); }
.faq-chevron-wrap {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
  background: var(--bg); border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.faq-item.open .faq-chevron-wrap { background: var(--accent); border-color: var(--accent); color: white; }
.faq-chevron { transition: transform 0.25s; display: block; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  font-size: 14px; line-height: 1.75; color: var(--text-muted);
  padding: 0 20px;
}
.faq-item.open .faq-a { max-height: 400px; padding: 0 20px 18px; }
.faq-empty { color: var(--text-muted); font-size: 14px; padding: 16px 0; }

/* ═══════════════════════════════════════════
   REVIEWS SECTION
═══════════════════════════════════════════ */
.reviews-section {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border);
  margin-top: 48px;
  padding-top: 48px;
}
.reviews-section-title {
  font-size: 24px; font-weight: 800; margin-bottom: 28px;
}

.rating-summary {
  display: flex; gap: 40px; align-items: center;
  background: var(--bg-alt); border-radius: var(--radius);
  padding: 28px 32px; margin-bottom: 32px; flex-wrap: wrap;
}
.rating-big { text-align: center; }
.rating-big .score {
  font-size: 56px; font-weight: 800; line-height: 1;
  color: var(--text);
}
.rating-big .stars { color: #f59e0b; font-size: 20px; letter-spacing: 2px; margin: 4px 0; }
.rating-big .label { font-size: 13px; color: var(--text-muted); }
.rating-bars { flex: 1; min-width: 200px; }
.rbar-row {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; margin-bottom: 8px;
}
.rbar-label { width: 40px; color: var(--text-muted); }
.rbar-track {
  flex: 1; height: 8px; background: var(--border);
  border-radius: 4px; overflow: hidden;
}
.rbar-fill { height: 100%; background: #f59e0b; border-radius: 4px; }
.rbar-count { width: 28px; text-align: right; color: var(--text-muted); font-size: 12px; }
.rating-stat { text-align: center; }
.rating-stat .stat-num { font-size: 28px; font-weight: 800; color: var(--text); }
.rating-stat .stat-label { font-size: 12px; color: var(--text); opacity: 0.6; margin-top: 2px; text-transform: uppercase; letter-spacing: 0.5px; }
.tp-badge {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  background: #00b67a; color: white; border-radius: 8px;
  padding: 12px 16px; font-size: 11px; font-weight: 700; letter-spacing: 0.5px;
}
.tp-badge .tp-stars { font-size: 16px; letter-spacing: 1px; }
.tp-badge .tp-name { font-size: 10px; opacity: 0.85; }

.reviews-carousel-wrap {
  position: relative;
}
.reviews-carousel-nav {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px;
}
.reviews-carousel-nav-label { font-size: 13px; color: var(--text-muted); }
.reviews-carousel-btns { display: flex; gap: 8px; }
.reviews-carousel-btn {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1.5px solid var(--border); background: white;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all .15s; font-family: var(--font);
}
.reviews-carousel-btn:hover:not(:disabled) { border-color: var(--text); background: var(--text); color: white; }
.reviews-carousel-btn:disabled { opacity: 0.3; cursor: default; }
.reviews-grid {
  display: flex;
  gap: 16px;
  overflow: hidden;
  scroll-behavior: smooth;
}
.review-card {
  background: white; border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  transition: box-shadow 0.2s; flex-shrink: 0;
  width: calc((100% - 48px) / 4);
}
.review-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
.review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.review-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: white; flex-shrink: 0;
}
.review-meta { flex: 1; min-width: 0; }
.review-name { font-size: 14px; font-weight: 700; }
.review-date { font-size: 11px; color: var(--text-muted); }
.review-stars { color: #f59e0b; font-size: 13px; letter-spacing: 1px; margin-bottom: 8px; }
.review-text { font-size: 13px; line-height: 1.6; color: var(--text); }
.review-verified {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; color: #059669; font-weight: 600; margin-top: 10px;
}
.review-helpful { font-size: 11px; color: var(--text-muted); margin-top: 8px; float: right; }

/* ═══════════════════════════════════════════
   HOMEPAGE REVIEWS SECTION
═══════════════════════════════════════════ */
/* ======= TRUST FEATURES STRIP ======= */
.trust-features-strip {
  background: white;
  border-top: 1px solid #f3f4f6;
  border-bottom: 1px solid #f3f4f6;
  padding: 0 24px;
}
.trust-features-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: stretch;
}
.trust-feature {
  flex: 1; display: flex; align-items: center; gap: 14px;
  padding: 20px 16px;
}
.tf-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.tf-icon-green  { background: #f0fdf4; color: #16a34a; }
.tf-icon-blue   { background: #eff6ff; color: #2563eb; }
.tf-icon-orange { background: #fff7ed; color: #ea580c; }
.tf-icon-yellow { background: #fefce8; color: #ca8a04; }
.tf-title { font-size: 13px; font-weight: 700; color: #111827; line-height: 1.3; }
.tf-sub   { font-size: 12px; color: #6b7280; margin-top: 2px; }
.tf-divider { width: 1px; background: #f3f4f6; flex-shrink: 0; margin: 12px 0; }

/* ======= HOMEPAGE REVIEWS ======= */
.home-reviews {
  background: #f9fafb;
  border-top: 1px solid #f3f4f6;
  padding: 72px 24px;
}
.home-reviews-inner { max-width: var(--max-w); margin: 0 auto; }
.home-reviews-header { text-align: center; margin-bottom: 48px; }
.hr-rating-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: white; border: 1px solid #e5e7eb;
  border-radius: 50px; padding: 8px 18px;
  font-size: 13px; font-weight: 600; margin-bottom: 16px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.hr-stars { color: #f59e0b; letter-spacing: 1px; font-size: 14px; }
.hr-score { color: #111827; }
.hr-sep   { color: #d1d5db; }
.hr-count-label { color: #6b7280; font-weight: 500; }
.home-reviews-title { font-size: clamp(22px, 3vw, 32px); font-weight: 800; color: #111827; margin: 0 0 8px; }
.home-reviews-sub   { font-size: 15px; color: #6b7280; margin: 0; }
.hr-slider-viewport { width: 100%; overflow: hidden; }
.hr-nav {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; margin-top: 28px;
  padding: 0 20px;
}
.hr-nav-btn {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid #e5e7eb; background: white;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: #374151; transition: var(--transition);
}
.hr-nav-btn:hover:not(:disabled) { border-color: var(--primary); color: var(--primary); background: #f0f4ff; }
.hr-nav-btn:disabled { opacity: 0.3; cursor: default; }
.home-review-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.hr-dots { display: flex; justify-content: center; gap: 5px; flex-wrap: wrap; max-width: 200px; overflow: hidden; }
.hr-dot {
  width: 8px; height: 8px; border-radius: 50%;
  border: none; background: #d1d5db; cursor: pointer; padding: 0; transition: var(--transition);
}
.hr-dot.active { background: var(--primary); width: 24px; border-radius: 4px; }
.home-review-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px; padding: 22px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.05);
  transition: box-shadow 0.2s;
}
.home-review-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.09); }
.home-review-card .review-stars { color: #f59e0b; font-size: 14px; margin-bottom: 10px; }
.home-review-card .review-text { font-size: 14px; line-height: 1.7; color: #374151; margin-bottom: 16px; }
.home-review-card .review-author { display: flex; align-items: center; gap: 10px; }
.home-review-card .review-avatar { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: white; }
.home-review-card .review-name { font-size: 13px; font-weight: 700; color: #111827; }
.home-review-card .review-verified { font-size: 11px; color: #16a34a; font-weight: 600; }
