/* Zelvix Main Stylesheet */

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

/* -------------------------------------------------------
   CSS Variables
------------------------------------------------------- */
:root {
  --bg: #000000;
  --bg-card: #0d0d0d;
  --bg-elevated: #111111;
  --border: #1a1a1a;
  --border-light: #222222;
  --text-primary: #ffffff;
  --text-secondary: #888888;
  --text-muted: #444444;
  --accent: #ffffff;
  --accent-dark: #e0e0e0;
  --danger: #ef4444;
  --success: #22c55e;
  --warning: #f59e0b;
  --grid-color: rgba(255,255,255,0.035);
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Space Grotesk', sans-serif;
  --transition: 0.25s cubic-bezier(0.4,0,0.2,1);
  --radius: 4px;
}

/* -------------------------------------------------------
   Reset & Base
------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -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, textarea, select { font-family: inherit; }

/* -------------------------------------------------------
   Grid Background Pattern
------------------------------------------------------- */
.grid-bg {
  background-image:
    linear-gradient(var(--grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* -------------------------------------------------------
   Navigation
------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: border-color var(--transition);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo-box {
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.5px;
  flex-shrink: 0;
}

.nav-logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.08em;
}

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

.nav-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--text-primary);
  position: relative;
  transition: opacity var(--transition);
  z-index: 1001; /* always above the mobile overlay (z-index:999) */
}
.nav-btn:hover { opacity: 0.7; }

.cart-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  background: var(--text-primary);
  color: var(--bg);
  font-size: 9px;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* -------------------------------------------------------
   Mobile Menu Overlay
------------------------------------------------------- */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: 80px 24px 40px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.76,0,0.24,1);
}

.menu-overlay.open {
  transform: translateX(0);
}

.menu-nav-links {
  list-style: none;
  margin-top: 16px;
}

.menu-nav-links li {
  border-bottom: 1px solid var(--border);
}

.menu-nav-links a {
  display: block;
  padding: 20px 0;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-secondary);
  transition: color var(--transition);
}
.menu-nav-links a:hover { color: var(--text-primary); }

.menu-warranty-btn {
  margin-top: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--text-primary);
  color: var(--bg);
  padding: 16px 32px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: opacity var(--transition);
}
.menu-warranty-btn:hover { opacity: 0.85; }

/* -------------------------------------------------------
   Hero Section
------------------------------------------------------- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: visible; /* never clip hero content — buttons must always show */
}

.hero-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.hero-label::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--text-secondary);
}

.hero-title {
  font-size: clamp(52px, 10vw, 120px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.03em;
  margin-bottom: 32px;
}

.hero-title-fade {
  color: #333333;
}

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

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  /* Guaranteed visible — no JS/animation dependency */
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

/* Guarantee ALL hero text elements are always visible */
.hero-label,
.hero-title,
.hero-desc,
.hero-actions,
.hero-stats {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

/* -------------------------------------------------------
   Buttons
------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all var(--transition);
  border: none;
  gap: 8px;
  white-space: nowrap;
}

.btn-primary {
  background: var(--text-primary);
  color: var(--bg);
}
.btn-primary:hover { background: var(--accent-dark); }

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid rgba(255,255,255,0.3);
}
.btn-outline:hover {
  border-color: var(--text-primary);
  background: rgba(255,255,255,0.05);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-light);
}
.btn-ghost:hover { color: var(--text-primary); border-color: rgba(255,255,255,0.4); }

.btn-sm {
  padding: 10px 20px;
  font-size: 11px;
}

.btn-lg {
  padding: 18px 36px;
  font-size: 13px;
}

.btn-full { width: 100%; }

.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* -------------------------------------------------------
   Stats Bar
------------------------------------------------------- */
.stats-bar {
  display: flex;
  align-items: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stat-item {
  flex: 1;
  padding: 20px 24px;
  border-right: 1px solid var(--border);
  last-child: { border-right: none; }
}
.stat-item:last-child { border-right: none; }

.stat-value {
  font-size: 24px;
  font-weight: 800;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  margin-bottom: 2px;
}

.stat-label {
  font-size: 10px;
  color: var(--text-secondary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* -------------------------------------------------------
   Section Headers
------------------------------------------------------- */
.section {
  padding: 80px 24px;
  max-width: 1440px;
  margin: 0 auto;
}

.section-full {
  padding: 80px 24px;
}

.section-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.section-label::before {
  content: '—';
  color: var(--text-muted);
}

.section-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 48px;
}

/* -------------------------------------------------------
   Product Cards
------------------------------------------------------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1px;
  border: 1px solid var(--border);
}

.product-card {
  background: var(--bg);
  border: 1px solid var(--border);
  position: relative;
  transition: border-color var(--transition);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.product-card:hover { border-color: rgba(255,255,255,0.25); }

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

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-card-image img {
  transform: scale(1.04);
}

.product-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--text-primary);
  color: var(--bg);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 8px;
}

.product-card-wishlist {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  background: rgba(0,0,0,0.7);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  opacity: 0;
}
.product-card:hover .product-card-wishlist { opacity: 1; }
.product-card-wishlist:hover { background: var(--text-primary); color: var(--bg); }
.product-card-wishlist.active { opacity: 1; color: #ef4444; }

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

.product-card-category {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.product-card-name {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.4;
  flex: 1;
}

.product-card-price {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.price-sale {
  font-size: 18px;
  font-weight: 700;
  font-family: var(--font-display);
}

.price-original {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: line-through;
}

.price-discount {
  font-size: 11px;
  background: rgba(34,197,94,0.15);
  color: #22c55e;
  padding: 2px 6px;
  font-weight: 600;
}

.product-card-actions {
  display: flex;
  gap: 8px;
}

.product-card-actions .btn {
  flex: 1;
}

/* -------------------------------------------------------
   Product Detail
------------------------------------------------------- */
/* Gallery is NEVER sticky by default */
.product-gallery {
  position: static !important;
  top: auto !important;
}
/* Sticky only on desktop inside the two-column pd-layout */
@media (min-width: 1024px) {
  .pd-layout .product-gallery {
    position: sticky !important;
    top: 88px;
    align-self: start;
  }
}

.gallery-main {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  margin-bottom: 12px;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
.gallery-thumbs::-webkit-scrollbar { display: none; }

.gallery-thumb {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color var(--transition);
}
.gallery-thumb.active { border-color: var(--text-primary); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* -------------------------------------------------------
   Cart
------------------------------------------------------- */
.cart-item {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.cart-item-image {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
}
.cart-item-image img { width: 100%; height: 100%; object-fit: cover; }

.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  height: 36px;
}

.qty-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 16px;
  transition: background var(--transition);
}
.qty-btn:hover { background: var(--bg-elevated); }

.qty-input {
  width: 44px;
  height: 36px;
  text-align: center;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
}
.qty-input:focus { outline: none; }

/* -------------------------------------------------------
   Forms
------------------------------------------------------- */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  padding: 12px 16px;
  font-size: 14px;
  transition: border-color var(--transition);
  outline: none;
  -webkit-appearance: none;
}
.form-input:focus { border-color: rgba(255,255,255,0.4); }
.form-input::placeholder { color: var(--text-muted); }

.form-input.error { border-color: var(--danger); }

.form-error {
  font-size: 11px;
  color: var(--danger);
  margin-top: 4px;
}

.form-select {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  padding: 12px 16px;
  font-size: 14px;
  transition: border-color var(--transition);
  outline: none;
  cursor: pointer;
}
.form-select:focus { border-color: rgba(255,255,255,0.4); }

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}
.form-checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--text-primary);
  flex-shrink: 0;
}

/* -------------------------------------------------------
   File Upload Area
------------------------------------------------------- */
.upload-area {
  border: 1.5px dashed var(--border-light);
  padding: 32px;
  text-align: center;
  cursor: pointer;
  transition: border-color var(--transition);
  position: relative;
}
.upload-area:hover, .upload-area.dragover { border-color: rgba(255,255,255,0.4); }
.upload-area input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

/* -------------------------------------------------------
   Order Summary Box
------------------------------------------------------- */
.summary-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 24px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  font-size: 14px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}
.summary-row:last-child { border-bottom: none; }
.summary-row.total {
  color: var(--text-primary);
  font-weight: 700;
  font-size: 18px;
}

/* -------------------------------------------------------
   Badges & Tags
------------------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 2px;
}

.badge-success { background: rgba(34,197,94,0.15); color: #4ade80; }
.badge-warning { background: rgba(245,158,11,0.15); color: #fbbf24; }
.badge-danger  { background: rgba(239,68,68,0.15); color: #f87171; }
.badge-info    { background: rgba(59,130,246,0.15); color: #60a5fa; }
.badge-muted   { background: rgba(255,255,255,0.08); color: var(--text-secondary); }

/* -------------------------------------------------------
   Toast Notifications
------------------------------------------------------- */
#toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 360px;
}

.toast {
  background: var(--bg-elevated);
  border: 1px solid var(--border-light);
  padding: 14px 18px;
  font-size: 13px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  animation: toastIn 0.3s ease;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}

.toast.success { border-color: rgba(34,197,94,0.4); }
.toast.error   { border-color: rgba(239,68,68,0.4); }
.toast.warning { border-color: rgba(245,158,11,0.4); }

.toast-icon { font-size: 16px; margin-top: 1px; flex-shrink: 0; }
.toast.success .toast-icon { color: #4ade80; }
.toast.error .toast-icon   { color: #f87171; }
.toast.warning .toast-icon { color: #fbbf24; }

.toast-msg { flex: 1; line-height: 1.5; }
.toast-close { background: none; border: none; color: var(--text-muted); font-size: 14px; cursor: pointer; padding: 0; line-height: 1; }
.toast-close:hover { color: var(--text-primary); }

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

/* -------------------------------------------------------
   Loading Skeletons
------------------------------------------------------- */
@keyframes shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}

.skeleton {
  background: linear-gradient(90deg, var(--bg-card) 25%, var(--bg-elevated) 37%, var(--bg-card) 63%);
  background-size: 400px 100%;
  animation: shimmer 1.4s ease infinite;
}

/* -------------------------------------------------------
   Footer
------------------------------------------------------- */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 64px 24px 32px;
}

.footer-grid {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
  }
}

.footer-section-title {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
}
.footer-links li + li { margin-top: 12px; }
.footer-links a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--text-primary); }

.footer-bottom {
  max-width: 1440px;
  margin: 48px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-copyright {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-legal-links {
  display: flex;
  gap: 24px;
}
.footer-legal-links a {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color var(--transition);
}
.footer-legal-links a:hover { color: var(--text-secondary); }

/* -------------------------------------------------------
   Compliance Box
------------------------------------------------------- */
.compliance-item {
  margin-bottom: 16px;
}
.compliance-label {
  font-family: monospace;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 2px;
}
.compliance-value {
  font-size: 12px;
  color: var(--text-muted);
  font-family: monospace;
}

/* -------------------------------------------------------
   Why Zelvix Section
------------------------------------------------------- */
.feature-card {
  padding: 32px;
  border: 1px solid var(--border);
  transition: border-color var(--transition);
}
.feature-card:hover { border-color: rgba(255,255,255,0.2); }

.feature-icon {
  font-size: 28px;
  margin-bottom: 20px;
  color: var(--text-secondary);
}

.feature-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
}

.feature-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* -------------------------------------------------------
   Breadcrumb
------------------------------------------------------- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 32px;
}
.breadcrumb a:hover { color: var(--text-secondary); }
.breadcrumb span { color: var(--text-secondary); }

/* -------------------------------------------------------
   Tabs
------------------------------------------------------- */
.tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }

.tab {
  padding: 12px 24px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  cursor: pointer;
  transition: all var(--transition);
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
}
.tab:hover { color: var(--text-secondary); }
.tab.active { color: var(--text-primary); border-bottom-color: var(--text-primary); }

.tab-content { display: none; padding: 32px 0; }
.tab-content.active { display: block; }

/* -------------------------------------------------------
   Testimonials
------------------------------------------------------- */
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 28px;
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  font-size: 13px;
  font-weight: 600;
}

.testimonial-role {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 2px;
}

/* -------------------------------------------------------
   Newsletter
------------------------------------------------------- */
.newsletter-section {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 24px;
  text-align: center;
}

.newsletter-input-wrap {
  display: flex;
  max-width: 480px;
  margin: 0 auto;
  border: 1px solid var(--border-light);
}

.newsletter-input {
  flex: 1;
  background: var(--bg);
  border: none;
  color: var(--text-primary);
  padding: 14px 20px;
  font-size: 14px;
  outline: none;
}
.newsletter-input::placeholder { color: var(--text-muted); }

.newsletter-btn {
  background: var(--text-primary);
  color: var(--bg);
  border: none;
  padding: 14px 24px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity var(--transition);
}
.newsletter-btn:hover { opacity: 0.85; }

/* -------------------------------------------------------
   Coupon Input
------------------------------------------------------- */
.coupon-wrap {
  display: flex;
  gap: 0;
  border: 1px solid var(--border-light);
}
.coupon-input {
  flex: 1;
  background: var(--bg);
  border: none;
  color: var(--text-primary);
  padding: 12px 16px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  outline: none;
}
.coupon-btn {
  background: var(--bg-elevated);
  border: none;
  border-left: 1px solid var(--border-light);
  color: var(--text-secondary);
  padding: 12px 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
}
.coupon-btn:hover { background: var(--text-primary); color: var(--bg); }

/* -------------------------------------------------------
   Warranty Page
------------------------------------------------------- */
.warranty-form-container {
  max-width: 640px;
  margin: 0 auto;
  padding: 80px 24px;
}

.warranty-success-box {
  text-align: center;
  padding: 48px 32px;
  border: 1px solid rgba(34,197,94,0.3);
  background: rgba(34,197,94,0.05);
}

.warranty-id-badge {
  display: inline-block;
  background: var(--bg-elevated);
  border: 1px solid var(--border-light);
  padding: 12px 24px;
  font-family: monospace;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin: 16px 0;
}

/* -------------------------------------------------------
   Account Pages
------------------------------------------------------- */
.account-sidebar {
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.account-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}
.account-nav-link:hover { color: var(--text-primary); background: var(--bg-elevated); }
.account-nav-link.active { color: var(--text-primary); background: var(--bg-elevated); }

/* -------------------------------------------------------
   Scrollbar
------------------------------------------------------- */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* -------------------------------------------------------
   Responsive Utilities
------------------------------------------------------- */
@media (min-width: 640px) {
  .hero { padding: 140px 48px 100px; }
  .section { padding: 100px 48px; }
}

@media (min-width: 1024px) {
  .hero { padding: 160px 80px 120px; }
  .section { padding: 120px 80px; }
}

@media (max-width: 640px) {
  .stats-bar { flex-direction: column; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border); }
  .stat-item:last-child { border-bottom: none; }
}

/* -------------------------------------------------------
   Payment Options
------------------------------------------------------- */
.payment-option {
  border: 1.5px solid var(--border);
  padding: 16px 20px;
  cursor: pointer;
  transition: border-color var(--transition);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.payment-option:hover { border-color: rgba(255,255,255,0.3); }
.payment-option.selected { border-color: var(--text-primary); }

.payment-radio {
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--text-muted);
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--transition);
}
.payment-option.selected .payment-radio { border-color: var(--text-primary); }
.payment-radio::after {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--text-primary);
  border-radius: 50%;
  opacity: 0;
  transition: opacity var(--transition);
}
.payment-option.selected .payment-radio::after { opacity: 1; }

/* -------------------------------------------------------
   Category Cards
------------------------------------------------------- */
.category-card {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color var(--transition);
}
.category-card:hover { border-color: rgba(255,255,255,0.3); }

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  opacity: 0.6;
}
.category-card:hover img { transform: scale(1.06); }

.category-card-label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

.category-name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.category-count {
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* -------------------------------------------------------
   Filter Sidebar
------------------------------------------------------- */
.filter-section {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.filter-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.filter-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.filter-item {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 13px;
  color: var(--text-secondary);
  transition: color var(--transition);
}
.filter-item:hover { color: var(--text-primary); }

.filter-checkbox {
  width: 14px;
  height: 14px;
  border: 1px solid var(--border-light);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.filter-item.active .filter-checkbox {
  background: var(--text-primary);
  border-color: var(--text-primary);
}

/* Price Range */
.price-range { margin-top: 12px; }
.range-input {
  width: 100%;
  accent-color: var(--text-primary);
}
.price-display {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 8px;
}

/* -------------------------------------------------------
   Misc
------------------------------------------------------- */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 32px 0;
}

.text-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.page-header {
  padding: 120px 24px 60px;
  max-width: 1440px;
  margin: 0 auto;
}

.page-header-title {
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 900;
  letter-spacing: -0.03em;
}

/* -------------------------------------------------------
   AOS Override
------------------------------------------------------- */
[data-aos] { pointer-events: none; }
[data-aos].aos-animate { pointer-events: auto; }

/* -------------------------------------------------------
   Swiper Custom
------------------------------------------------------- */
.swiper-pagination-bullet {
  background: var(--text-muted) !important;
  opacity: 1 !important;
  width: 6px !important;
  height: 6px !important;
  border-radius: 0 !important;
}
.swiper-pagination-bullet-active {
  background: var(--text-primary) !important;
  width: 24px !important;
}

/* -------------------------------------------------------
   PRODUCTION-READY RESPONSIVE & STABILITY FIXES
   Addresses: hero visibility, sticky gallery, horizontal
   overflow, mobile layout, and all breakpoints.
------------------------------------------------------- */

/* 1. Prevent flex/grid children from blowing out container widths */
*, *::before, *::after {
  min-width: 0;
}

/* 2. Lock body width — belt-and-suspenders against horizontal scroll */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

/* -------------------------------------------------------
   Hero — responsive fixes
------------------------------------------------------- */
@media (max-width: 767px) {
  .hero {
    padding: 88px 20px 60px !important;
    min-height: auto !important;
  }
  .hero-title {
    font-size: clamp(38px, 11vw, 68px) !important;
    line-height: 0.92 !important;
    margin-bottom: 20px !important;
  }
  .hero-desc {
    font-size: 14px !important;
    margin-bottom: 28px !important;
    max-width: 100% !important;
  }
  .hero-actions {
    gap: 8px !important;
  }
  .hero-actions .btn {
    padding: 11px 18px !important;
    font-size: 11px !important;
  }
  /* hero stats row — 2×2 on small screens */
  .hero-stats {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 16px !important;
    padding-top: 24px !important;
    margin-top: 32px !important;
  }
}

/* -------------------------------------------------------
   Checkout grid — single column on tablet/mobile
------------------------------------------------------- */
@media (max-width: 1023px) {
  .checkout-grid {
    grid-template-columns: 1fr !important;
  }
  .summary-box {
    position: static !important;
    top: auto !important;
  }
}

/* Checkout address grid → stack on mobile */
@media (max-width: 600px) {
  .address-grid {
    grid-template-columns: 1fr !important;
  }
  .address-grid > [style*="grid-column:1/-1"],
  .address-grid > div {
    grid-column: 1 !important;
  }
}

/* -------------------------------------------------------
   Product page — two-column → single column
------------------------------------------------------- */
@media (max-width: 1023px) {
  .lg-two-col {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
}

/* -------------------------------------------------------
   Products grid — 2 cols minimum on mobile
------------------------------------------------------- */
@media (max-width: 640px) {
  /* 2-column grid on all mobile */
  .products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  /* Tighter card body */
  .product-card-body    { padding: 8px 10px 12px !important; }
  .product-card-name    { font-size: 12px !important; line-height: 1.4 !important; }
  .product-card-name a  { -webkit-line-clamp: 2; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
  .price-sale           { font-size: 13px !important; font-weight: 800 !important; }
  .price-original       { font-size: 11px !important; }
  .price-discount       { display: none !important; } /* too cluttered in 2-col */
  /* Hide Add to Cart / arrow buttons — card image is the tap target */
  .product-card-actions { display: none !important; }
  /* Category label — smaller */
  .product-card-category { font-size: 9px !important; letter-spacing: 0.08em !important; }
  /* Make the image a clean tap area */
  .product-card-image { cursor: pointer; }
}

/* -------------------------------------------------------
   Cart item — mobile
------------------------------------------------------- */
@media (max-width: 480px) {
  .cart-item { gap: 10px !important; }
  .cart-item-image { width: 64px !important; height: 64px !important; flex-shrink: 0 !important; }
}

/* -------------------------------------------------------
   Stats bar — 2×2 grid on mobile
------------------------------------------------------- */
@media (max-width: 640px) {
  .stats-bar {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
  }
  .stat-item {
    border-right: 1px solid var(--border) !important;
    border-bottom: 1px solid var(--border) !important;
  }
}

/* -------------------------------------------------------
   Section padding — tighter on mobile
------------------------------------------------------- */
@media (max-width: 640px) {
  .section    { padding: 60px 16px !important; }
  .section-full { padding: 60px 16px !important; }
  .page-header  { padding: 88px 16px 40px !important; }
  .section-title { margin-bottom: 32px !important; }
}

/* -------------------------------------------------------
   Footer — mobile
------------------------------------------------------- */
@media (max-width: 640px) {
  .footer         { padding: 48px 16px 24px !important; }
  .footer-bottom  { margin-top: 24px !important; }
  .footer-legal-links { gap: 16px !important; }
  .footer-copyright   { font-size: 11px !important; }
}

/* -------------------------------------------------------
   Navigation — very small screens
------------------------------------------------------- */
@media (max-width: 360px) {
  .nav-inner     { padding: 0 12px !important; }
  .nav-logo-text { font-size: 14px !important; letter-spacing: 0.05em !important; }
  .nav-btn       { width: 36px !important; height: 36px !important; }
}

/* -------------------------------------------------------
   Breadcrumb — wrap on mobile
------------------------------------------------------- */
.breadcrumb {
  flex-wrap: wrap;
  gap: 4px 8px;
}

/* -------------------------------------------------------
   Tabs — horizontal scroll on mobile
------------------------------------------------------- */
.tabs {
  -webkit-overflow-scrolling: touch;
}

/* -------------------------------------------------------
   Gallery thumbs — touch scroll
------------------------------------------------------- */
.gallery-thumbs {
  -webkit-overflow-scrolling: touch;
}

/* -------------------------------------------------------
   Image safety
------------------------------------------------------- */
img {
  max-width: 100%;
  height: auto;
}

/* -------------------------------------------------------
   Category cards — min height on small screens
------------------------------------------------------- */
@media (max-width: 480px) {
  .category-card {
    min-height: 200px !important;
    aspect-ratio: auto !important;
  }
}

/* -------------------------------------------------------
   Newsletter input — stack on mobile
------------------------------------------------------- */
@media (max-width: 480px) {
  .newsletter-input-wrap {
    flex-direction: column !important;
  }
  .newsletter-btn {
    width: 100% !important;
    padding: 14px !important;
  }
}

/* -------------------------------------------------------
   Toast — full width on mobile
------------------------------------------------------- */
@media (max-width: 480px) {
  #toast-container {
    left: 16px !important;
    right: 16px !important;
    max-width: none !important;
  }
}

/* -------------------------------------------------------
   Payment options — force wrap on mobile
------------------------------------------------------- */
@media (max-width: 480px) {
  .payment-option {
    flex-wrap: wrap !important;
  }
}

/* -------------------------------------------------------
   Quantity control — readable on mobile
------------------------------------------------------- */
@media (max-width: 480px) {
  .qty-btn  { width: 40px !important; height: 40px !important; }
  .qty-input { width: 48px !important; height: 40px !important; }
}

/* -------------------------------------------------------
   Summary box on product page / checkout — no sticky mobile
------------------------------------------------------- */
@media (max-width: 1023px) {
  [style*="position:sticky"], [style*="position: sticky"] {
    /* Carefully override sticky only for content boxes, not nav */
  }
  .summary-box[style] {
    position: static !important;
    top: auto !important;
  }
}

/* =======================================================
   PRODUCT DETAIL PAGE — Full Redesign
   Amazon/Flipkart-style mobile layout
   ======================================================= */

/* Page wrapper */
.pd-page {
  padding-top: 64px;
  max-width: 1440px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
  padding-bottom: 40px;
}

.pd-breadcrumb-wrap {
  padding: 20px 0 12px;
}

/* ── Layout grid ── */
.pd-layout {
  display: grid;
  grid-template-columns: minmax(0, 500px) 1fr;  /* gallery max 500px, info fills rest */
  gap: 48px;
  align-items: start;
  margin-bottom: 64px;
}

/* ── Gallery ── */
.pd-swiper .gallery-main {
  aspect-ratio: 1;
  max-height: 500px;   /* cap so it never fills the full desktop screen */
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  cursor: zoom-in;
}
.pd-swiper .gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.pd-dots { display: none; } /* shown on mobile via media query */

/* Image counter badge (mobile only) */
.pd-img-counter {
  display: none;
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 20px;
  letter-spacing: 0.04em;
  z-index: 10;
  pointer-events: none;
}

.pd-thumbs { margin-top: 10px; }

/* ── Product info typography ── */
.pd-category-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #555;
  margin-bottom: 10px;
}
.pd-category-line a { color: #555; text-decoration: none; transition: color .2s; }
.pd-category-line a:hover { color: #fff; }
.pd-sku { color: #333; }

.pd-title {
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 14px;
}

/* Rating row */
.pd-rating-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.pd-stars { display: flex; gap: 2px; align-items: center; }
.pd-rating-val {
  font-size: 14px;
  font-weight: 700;
  color: #f59e0b;
}
.pd-rating-count {
  font-size: 13px;
  color: #555;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.pd-rating-count:hover { color: #fff; }

/* Price row */
.pd-price-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid #1a1a1a;
}
.pd-price-sale {
  font-size: 30px;
  font-weight: 800;
  font-family: var(--font-display);
  line-height: 1;
}
.pd-price-original {
  font-size: 16px;
  color: #444;
  text-decoration: line-through;
  font-weight: 400;
}
.pd-discount-badge {
  background: rgba(34,197,94,0.15);
  color: #4ade80;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 2px;
  letter-spacing: 0.04em;
}

/* Stock */
.pd-stock-row {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 16px;
}
.pd-stock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-block;
}
.pd-stock-text {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 600;
}

/* Offers strip */
.pd-offers-strip {
  display: none; /* desktop hides this — uses trust badge grid below */
}

/* Short description */
.pd-short-desc {
  font-size: 14px;
  color: #888;
  line-height: 1.8;
  margin-bottom: 20px;
}

/* Spec chips */
.pd-spec-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.pd-spec-chip {
  background: #0d0d0d;
  border: 1px solid #1a1a1a;
  padding: 8px 14px;
  min-width: 80px;
}
.pd-spec-chip-key {
  font-size: 9px;
  color: #555;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 3px;
}
.pd-spec-chip-val {
  font-size: 13px;
  font-weight: 700;
}

/* Desktop action block */
.pd-actions-desktop { margin-bottom: 24px; }
.pd-qty-row { margin-bottom: 14px; }
.pd-qty-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #555;
  margin-bottom: 8px;
}
.pd-btn-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Desktop trust badges */
.pd-trust-desktop {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 18px 0;
  border-top: 1px solid #1a1a1a;
  border-bottom: 1px solid #1a1a1a;
  margin-bottom: 20px;
  text-align: center;
}
.pd-trust-icon { font-size: 18px; margin-bottom: 4px; }
.pd-trust-text { font-size: 10px; color: #555; text-transform: uppercase; letter-spacing: 0.05em; line-height: 1.5; }

/* Share row */
.pd-share-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.pd-share-label { font-size: 11px; color: #444; text-transform: uppercase; letter-spacing: 0.08em; }
.pd-share-link {
  font-size: 12px;
  color: #555;
  text-decoration: none;
  transition: color .2s;
}
.pd-share-link:hover { color: #fff; }

/* Tabs section */
.pd-tabs-section { margin-bottom: 60px; }
.pd-tab-body {
  max-width: 800px;
  color: #888;
  font-size: 14px;
  line-height: 2;
  padding: 24px 0;
}

/* Specs table */
.pd-specs-table { max-width: 560px; padding: 8px 0; }
.pd-spec-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding: 13px 0;
  border-bottom: 1px solid #1a1a1a;
}
.pd-spec-key {
  font-size: 12px;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  flex-shrink: 0;
  max-width: 44%;
}
.pd-spec-val { font-size: 13px; font-weight: 700; text-align: right; }

/* Related section */
.pd-related {
  padding-top: 48px;
  border-top: 1px solid #1a1a1a;
  margin-bottom: 48px;
}

/* Mobile sticky buy bar — hidden on desktop */
.pd-sticky-bar { display: none; }

/* =======================================================
   MOBILE OVERRIDES  ≤ 1023px
   ======================================================= */
@media (max-width: 1023px) {
  /* Page padding flush on mobile */
  .pd-page {
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 90px; /* room for sticky bar */
  }
  .pd-breadcrumb-wrap {
    padding: 14px 16px 8px;
  }

  /* Single column */
  .pd-layout {
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 32px;
  }

  /* ── Gallery: full bleed, no sticky, compact height ── */
  .product-gallery,
  .pd-layout .product-gallery {
    position: static !important;
    top: auto !important;
    width: 100%;
  }
  .pd-swiper .gallery-main {
    height: 300px;          /* fixed compact height — no more viewport-filling image */
    max-height: 300px;
    aspect-ratio: auto;     /* override the desktop 1:1 ratio */
    border: none;
    margin-bottom: 0;
    cursor: default;
  }
  .pd-swiper .gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: none !important;
  }

  /* Show mobile dot pagination */
  .pd-dots {
    display: flex !important;
    padding: 10px 0 6px;
    justify-content: center;
  }
  .pd-dots .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    background: #333;
    opacity: 1;
    margin: 0 3px;
    transition: background .2s, transform .2s;
  }
  .pd-dots .swiper-pagination-bullet-active {
    background: #fff;
    transform: scale(1.3);
  }

  /* Show image counter */
  .pd-img-counter {
    display: block;
  }

  /* Hide desktop thumbnail strip */
  .pd-thumbs { display: none !important; }

  /* Product info: padding inside */
  .pd-info {
    padding: 14px 16px 0;
  }

  /* Category + SKU line */
  .pd-category-line { margin-bottom: 6px; }

  /* Title */
  .pd-title {
    font-size: clamp(18px, 5vw, 26px);
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.2;
    margin-bottom: 8px;
  }

  /* Rating */
  .pd-rating-row { margin-bottom: 10px; }

  /* Price */
  .pd-price-row {
    margin-bottom: 10px;
    padding-bottom: 12px;
  }
  .pd-price-sale     { font-size: 24px; }
  .pd-price-original { font-size: 14px; }
  .pd-discount-badge { font-size: 11px; padding: 2px 8px; }

  /* Stock */
  .pd-stock-row { margin-bottom: 10px; }

  /* Short description */
  .pd-short-desc {
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 14px;
    color: #777;
  }

  /* Offers strip — visible on mobile, horizontal scroll */
  .pd-offers-strip {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 12px 0 4px;
    margin-bottom: 12px;
    -webkit-overflow-scrolling: touch;
  }
  .pd-offers-strip::-webkit-scrollbar { display: none; }
  .pd-offer-pill {
    flex-shrink: 0;
    background: rgba(255,255,255,0.05);
    border: 1px solid #1a1a1a;
    padding: 7px 12px;
    font-size: 11px;
    color: #888;
    white-space: nowrap;
    border-radius: 20px;
  }

  /* Hide desktop action buttons & trust grid — sticky bar handles CTA on mobile */
  .pd-actions-desktop { display: none !important; }
  .pd-trust-desktop   { display: none !important; }

  /* Spec chips — 2 per row on mobile */
  .pd-spec-chips {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .pd-spec-chip { min-width: 0; }

  /* Tabs section */
  .pd-tabs-section {
    padding: 0 16px;
    margin-bottom: 40px;
  }
  .pd-tab-body { font-size: 13px; line-height: 1.9; }
  .pd-spec-row { gap: 12px; }
  .pd-spec-key { font-size: 11px; }

  /* Related section */
  .pd-related { padding: 32px 16px 0; }

  /* ── Sticky buy bar — always visible, always interactive ── */
  .pd-sticky-bar {
    display: flex !important;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 800;
    background: #080808;
    border-top: 1px solid #222;
    padding: 10px 14px;
    gap: 8px;
    align-items: center;
    /* no opacity transition — bar is always fully visible and clickable */
    opacity: 1 !important;
    pointer-events: auto !important;
  }
  .pd-sticky-price-col {
    flex-shrink: 0;
    min-width: 0;
  }
  .pd-sticky-label {
    font-size: 9px;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.1em;
  }
  .pd-sticky-price {
    font-size: 17px;
    font-weight: 800;
    line-height: 1.1;
    white-space: nowrap;
  }
  .pd-sticky-off {
    font-size: 10px;
    color: #4ade80;
    font-weight: 600;
  }
  .pd-sticky-btn {
    flex: 1;
    padding: 11px 8px !important;
    font-size: 11px !important;
    letter-spacing: 0.06em !important;
    min-width: 0;
  }
}

/* Smaller phones */
@media (max-width: 400px) {
  .pd-sticky-price { font-size: 14px; }
  .pd-sticky-btn   { font-size: 10px !important; padding: 10px 6px !important; }
  .pd-title        { font-size: 18px; }
}
