/* ============================================
   SHOP — Complete CSS Design System
   ============================================ */

:root {
  --primary: #4F46E5;
  --primary-dark: #4338CA;
  --primary-light: #EEF2FF;
  --hero-bg: #0B0C1E;
  --features-bg: #111827;
  --text: #1F2937;
  --text-muted: #6B7280;
  --border: #E5E7EB;
  --section-alt: #F9FAFB;
  --white: #fff;
  --radius: 12px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,.12);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.18);
}

*, *::before, *::after { box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', 'Segoe UI', sans-serif;
  color: var(--text); margin: 0; padding: 0; background: #fff;
}
a { text-decoration: none; }
img { max-width: 100%; }

/* ============================================
   NAVBAR
   ============================================ */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: #fff; border-bottom: 1px solid var(--border);
  height: 64px;
}
.nav-inner {
  max-width: 1260px; margin: 0 auto; padding: 0 24px;
  height: 64px; display: flex; align-items: center; gap: 28px;
}
.nav-logo {
  display: flex; align-items: center; gap: 8px; flex-shrink: 0;
}
.nav-logo-icon {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--primary);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 13px; font-weight: 800;
  flex-shrink: 0;
}
.nav-logo-text {
  font-size: 18px; font-weight: 700; color: var(--text); letter-spacing: -.3px;
}
.nav-links {
  display: flex; align-items: center; gap: 2px;
  list-style: none; margin: 0; padding: 0; flex: 1;
}
.nav-links a {
  padding: 7px 14px; border-radius: 6px; font-size: 14px; font-weight: 500;
  color: var(--text); transition: background .15s, color .15s; white-space: nowrap;
}
.nav-links a:hover { background: var(--primary-light); color: var(--primary); }
.nav-actions {
  display: flex; align-items: center; gap: 6px; flex-shrink: 0;
}
.nav-icon-btn {
  width: 36px; height: 36px; border-radius: 8px;
  border: none; background: transparent; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); transition: background .15s; text-decoration: none;
}
.nav-icon-btn:hover { background: var(--section-alt); color: var(--text); }
.nav-pill-btn {
  display: flex; align-items: center; gap: 4px; padding: 6px 11px;
  border-radius: 7px; border: 1px solid var(--border);
  background: transparent; cursor: pointer; font-size: 13px; font-weight: 500;
  color: var(--text); transition: border-color .15s; position: relative;
}
.nav-pill-btn:hover { border-color: var(--primary); color: var(--primary); }
.nav-pill-btn svg { flex-shrink: 0; }
.nav-lang-menu {
  display: none; position: absolute; top: calc(100% + 6px); right: 0;
  background: #fff; border: 1px solid var(--border); border-radius: 8px;
  box-shadow: var(--shadow-md); padding: 4px 0; min-width: 150px; z-index: 9999;
}
.nav-lang-menu a {
  display: block; padding: 8px 16px; font-size: 13px; color: var(--text);
  transition: background .1s;
}
.nav-lang-menu a:hover { background: var(--section-alt); }
.nav-lang-container { position: relative; }
.nav-lang-container.open .nav-lang-menu { display: block; }
.nav-cart-btn {
  position: relative; display: flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: 8px; background: var(--primary); color: #fff;
  border: none; cursor: pointer; font-size: 13px; font-weight: 600;
  transition: background .15s;
}
.nav-cart-btn:hover { background: var(--primary-dark); color: #fff; }
#cart-count {
  position: absolute; top: -7px; right: -7px;
  min-width: 18px; height: 18px; border-radius: 9px; padding: 0 4px;
  background: #EF4444; color: #fff; font-size: 10px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; line-height: 1;
}
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px; padding: 8px;
  border: none; background: transparent; cursor: pointer;
}
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; }
.mobile-menu {
  display: none; background: #fff; border-top: 1px solid var(--border);
  padding: 8px 24px 16px;
}
.mobile-menu a {
  display: block; padding: 10px 0; font-size: 14px; font-weight: 500;
  color: var(--text); border-bottom: 1px solid #F3F4F6;
}
.mobile-menu a:last-child { border-bottom: 0; }

/* ============================================
   PAGE WRAPPER (inner pages)
   ============================================ */
#page-wrapper {
  max-width: 1260px; margin: 0 auto;
  padding: 96px 24px 72px; min-height: calc(100vh - 400px);
}
body.home #page-wrapper { display: none; }

/* ============================================
   HERO
   ============================================ */
.hero-section {
  background: var(--hero-bg); overflow: hidden;
  padding-top: 64px; /* offset for fixed nav */
}
.hero-inner {
  max-width: 1260px; margin: 0 auto; padding: 64px 24px 72px;
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 56px;
}
.hero-title {
  font-size: 44px; font-weight: 800; color: #fff;
  line-height: 1.12; margin: 0 0 16px; letter-spacing: -.5px;
}
.hero-subtitle {
  font-size: 16px; color: rgba(255,255,255,.6); margin: 0 0 32px; line-height: 1.65;
}
.hero-btn {
  display: inline-block; padding: 14px 30px; background: var(--primary); color: #fff;
  border-radius: 8px; font-size: 15px; font-weight: 600;
  transition: background .15s, transform .1s;
}
.hero-btn:hover { background: var(--primary-dark); color: #fff; transform: translateY(-1px); }
.hero-visual {
  position: relative; display: flex; align-items: center; justify-content: center;
  min-height: 300px;
}
.hero-product-img {
  width: 100%; max-height: 300px; object-fit: contain; border-radius: 16px;
  position: relative; z-index: 2;
}
.hero-img-box {
  width: 100%; height: 280px; border-radius: 16px; overflow: hidden;
  background: linear-gradient(135deg, #131629 0%, #1e2456 50%, #131629 100%);
  display: flex; align-items: center; justify-content: center; position: relative; z-index: 2;
}
.hero-img-box svg { opacity: .2; }
/* Background video — sits behind product image and tags */
.hero-video-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 16px;
  z-index: 1;
  opacity: .92;
}
.hero-tags { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.htag {
  position: absolute; padding: 6px 14px; border-radius: 20px;
  font-size: 12px; font-weight: 600; color: #fff; white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0,0,0,.35);
}

/* ============================================
   TRUST BADGES
   ============================================ */
.trust-section {
  background: #fff; border-bottom: 1px solid var(--border); padding: 44px 24px;
}
.trust-inner {
  max-width: 1260px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.trust-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.trust-icon-wrap {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--primary-light);
  display: flex; align-items: center; justify-content: center;
}
.trust-icon-wrap svg { color: var(--primary); }
.trust-label { font-size: 14px; font-weight: 700; color: var(--text); margin: 0; }
.trust-desc { font-size: 13px; color: var(--text-muted); margin: 0; }

/* ============================================
   SECTION COMMONS
   ============================================ */
.section-wrap { padding: 72px 24px; }
.section-wrap-alt { background: var(--section-alt); }
.section-wrap-dark { background: var(--features-bg); }
.section-inner { max-width: 1260px; margin: 0 auto; }
.section-hd { text-align: center; margin-bottom: 48px; }
.section-title { font-size: 32px; font-weight: 800; color: var(--text); margin: 0 0 10px; letter-spacing: -.3px; }
.section-subtitle { font-size: 15px; color: var(--text-muted); margin: 0; }
.section-wrap-dark .section-title { color: #fff; }
.section-wrap-dark .section-subtitle { color: rgba(255,255,255,.45); }

/* ============================================
   PRODUCT CARDS
   ============================================ */
.products-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.product-card {
  background: #fff; border-radius: var(--radius); border: 1px solid var(--border);
  overflow: hidden; transition: box-shadow .2s, transform .2s; display: flex; flex-direction: column;
  position: relative; cursor: pointer;
}
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
/* Cover link makes the whole card a link; btn-add-cart sits above it */
.pc-cover-link { position: absolute; inset: 0; z-index: 1; }
.btn-add-cart { position: relative; z-index: 2; }
.pc-img-wrap {
  position: relative; aspect-ratio: 1; background: var(--section-alt); overflow: hidden;
}
.pc-img-wrap img {
  width: 100%; height: 100%; object-fit: contain; padding: 16px; transition: transform .3s;
}
.product-card:hover .pc-img-wrap img { transform: scale(1.05); }
.pc-img-placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  color: #D1D5DB;
}
.pc-badge {
  position: absolute; top: 10px; right: 10px; background: var(--primary); color: #fff;
  font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 4px;
}
.pc-body { padding: 16px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.pc-title {
  font-size: 14px; font-weight: 600; color: var(--text); margin: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.4;
}
.pc-rating { display: flex; align-items: center; gap: 5px; }
.stars { color: #F59E0B; font-size: 13px; letter-spacing: -1px; }
.rating-count { font-size: 12px; color: var(--text-muted); }
.pc-price { display: flex; align-items: center; gap: 8px; margin-top: auto; }
.price-now { font-size: 18px; font-weight: 800; color: var(--text); }
.price-was { font-size: 13px; color: var(--text-muted); text-decoration: line-through; }
.btn-add-cart {
   margin-top: 4px; padding: 10px; border: none; border-radius: 8px;
  background: var(--primary); color: #fff; font-size: 14px; font-weight: 600;
  cursor: pointer; transition: background .15s;
}
.btn-add-cart:hover { background: var(--primary-dark); }
.btn-add-cart:active { transform: scale(.98); }

/* ============================================
   VIDEO SECTION
   ============================================ */
.video-section { padding: 72px 24px; background: #fff; }
.video-section-top { text-align: center; margin-bottom: 32px; }
.video-wrap {
  max-width: 860px; margin: 0 auto 48px; border-radius: 16px; overflow: hidden;
  background: #D1D5DB; aspect-ratio: 16/9; position: relative;
}
.video-wrap iframe, .video-wrap video { width: 100%; height: 100%; border: 0; }
.video-play-overlay {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
}
.video-play-btn {
  width: 72px; height: 72px; border-radius: 50%;
  background: rgba(0,0,0,.45); display: flex; align-items: center; justify-content: center;
  color: #fff; cursor: pointer; transition: background .2s;
}
.video-play-btn:hover { background: var(--primary); }
.video-placeholder-text {
  font-size: 72px; font-weight: 800; color: rgba(0,0,0,.07); letter-spacing: 8px;
  user-select: none;
}
.video-footer { max-width: 640px; margin: 0 auto; text-align: center; }
.video-footer-title { font-size: 28px; font-weight: 800; color: var(--text); margin: 0 0 12px; }
.video-footer-desc { font-size: 15px; color: var(--text-muted); line-height: 1.7; margin: 0 0 28px; }
.video-cta-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-solid {
  padding: 13px 28px; background: var(--primary); color: #fff; border-radius: 8px;
  font-size: 15px; font-weight: 600; border: none; cursor: pointer; transition: background .15s;
}
.btn-solid:hover { background: var(--primary-dark); color: #fff; }
.btn-outline {
  padding: 12px 28px; background: transparent; color: var(--text);
  border: 2px solid var(--border); border-radius: 8px;
  font-size: 15px; font-weight: 600; cursor: pointer; transition: border-color .15s, color .15s;
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

/* ============================================
   FEATURES SECTION
   ============================================ */
.features-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.features-img-box {
  background: rgba(255,255,255,.05); border-radius: 20px; overflow: hidden;
  min-height: 380px; display: flex; align-items: center; justify-content: center;
}
.features-img-box img { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; }
.features-img-placeholder { color: rgba(255,255,255,.15); }
.features-content-subtitle {
  font-size: 20px; font-weight: 700; color: #fff; margin: 0 0 28px;
}
.feature-list { list-style: none; padding: 0; margin: 0 0 32px; display: flex; flex-direction: column; gap: 22px; }
.feature-item { display: flex; gap: 14px; }
.feature-check {
  width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%;
  background: rgba(79,70,229,.25); border: 2px solid var(--primary);
  display: flex; align-items: center; justify-content: center; margin-top: 2px;
}
.feature-check svg { color: var(--primary); }
.feature-item-title { font-size: 15px; font-weight: 700; color: #fff; margin: 0 0 4px; }
.feature-item-desc { font-size: 13px; color: rgba(255,255,255,.5); line-height: 1.55; margin: 0; }
.features-price { font-size: 28px; font-weight: 800; color: #fff; margin-bottom: 20px; }
.btn-buy-now {
  display: inline-block; padding: 13px 32px; background: var(--primary); color: #fff;
  border-radius: 8px; font-size: 15px; font-weight: 600; border: none; cursor: pointer;
  transition: background .15s;
}
.btn-buy-now:hover { background: var(--primary-dark); color: #fff; }

/* ============================================
   REVIEWS
   ============================================ */
.reviews-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.review-card {
  background: #fff; border-radius: var(--radius); border: 1px solid var(--border);
  padding: 20px; display: flex; flex-direction: column; gap: 8px;
}
.review-hd { display: flex; align-items: center; justify-content: space-between; }
.reviewer-name { font-size: 14px; font-weight: 700; color: var(--text); }
.review-stars { color: #F59E0B; font-size: 14px; letter-spacing: -1px; }
.review-text {
  font-size: 13px; color: var(--text-muted); line-height: 1.6; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-section { background: var(--primary); padding: 52px 24px; }
.cta-inner {
  max-width: 1260px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.cta-title { font-size: 30px; font-weight: 800; color: #fff; margin: 0 0 8px; }
.cta-desc { font-size: 15px; color: rgba(255,255,255,.72); margin: 0; }
.btn-cta {
  flex-shrink: 0; padding: 15px 36px; background: #fff; color: var(--primary);
  border-radius: 8px; font-size: 15px; font-weight: 700; transition: opacity .15s;
}
.btn-cta:hover { opacity: .9; color: var(--primary); }

/* ============================================
   FOOTER
   ============================================ */
.site-footer { background: #111827; padding-top: 56px; }
.footer-inner {
  max-width: 1260px; margin: 0 auto; padding: 0 24px 48px;
  display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 48px;
}
.footer-brand .nav-logo-text { color: #fff; }
.footer-brand-desc {
  font-size: 14px; color: rgba(255,255,255,.45); line-height: 1.65; margin: 16px 0 20px;
}
.social-row { display: flex; gap: 8px; }
.social-btn {
  width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.55); transition: background .15s, color .15s;
}
.social-btn:hover { background: var(--primary); color: #fff; }
.footer-col-title {
  font-size: 12px; font-weight: 700; color: #fff; text-transform: uppercase;
  letter-spacing: .6px; margin: 0 0 18px;
}
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,.5); transition: color .15s; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  max-width: 1260px; margin: 0 auto; padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.payment-row { display: flex; gap: 8px; }
.pay-badge {
  padding: 4px 8px; border-radius: 4px; background: rgba(255,255,255,.12);
  font-size: 10px; font-weight: 700; color: rgba(255,255,255,.7); letter-spacing: .3px;
}
.footer-copy { font-size: 12px; color: rgba(255,255,255,.3); }

/* ============================================
   TOAST
   ============================================ */
.shop-toast {
  position: fixed; bottom: 28px; right: 28px;
  background: var(--primary); color: #fff; padding: 12px 20px;
  border-radius: 8px; z-index: 9999; font-size: 14px; font-weight: 500;
  box-shadow: 0 4px 20px rgba(79,70,229,.4); animation: toastPop 2.2s ease forwards;
}
@keyframes toastPop {
  0% { opacity: 0; transform: translateY(12px) scale(.95); }
  15% { opacity: 1; transform: translateY(0) scale(1); }
  75% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-4px); }
}

/* ============================================
   PRODUCT DETAIL PAGE
   ============================================ */

/* Layout */
.pd-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start;
  margin-bottom: 48px;
}

/* Gallery */
.pd-gallery { display: flex; gap: 12px; }
.pd-thumbs {
  display: flex; flex-direction: column; gap: 8px; width: 72px; flex-shrink: 0;
}
.pd-thumb {
  width: 72px; height: 72px; border: 2px solid var(--border); border-radius: 6px;
  overflow: hidden; cursor: pointer; background: #fafafa;
  display: flex; align-items: center; justify-content: center; transition: border-color .15s;
}
.pd-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.pd-thumb.active { border-color: var(--primary); }
.pd-thumb:hover { border-color: var(--primary); }
.pd-thumb-placeholder { color: #D1D5DB; }
.pd-main-img-wrap {
  flex: 1; border: 1px solid var(--border); border-radius: 10px; overflow: hidden;
  background: #fafafa; display: flex; align-items: center; justify-content: center;
  min-height: 340px;
}
.pd-main-img-wrap img { width: 100%; max-height: 420px; object-fit: contain; padding: 16px; }
.pd-main-placeholder { color: #D1D5DB; }

/* Info panel */
.pd-title {
  font-size: 20px; font-weight: 700; color: var(--text); margin: 0 0 16px; line-height: 1.35;
}
.pd-price-row { display: flex; align-items: baseline; gap: 10px; margin-bottom: 16px; }
.pd-price { font-size: 28px; font-weight: 800; color: #059669; }
.pd-price-was { font-size: 16px; color: var(--text-muted); text-decoration: line-through; }

/* Specs */
.pd-specs { margin-bottom: 16px; display: flex; flex-direction: column; gap: 14px; }
.pd-spec-group { }
.pd-spec-label { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.pd-spec-options { display: flex; flex-wrap: wrap; gap: 8px; }
.pd-spec-btn {
  padding: 6px 14px; border: 1.5px solid var(--border); border-radius: 6px;
  background: #fff; font-size: 13px; color: var(--text); cursor: pointer;
  transition: border-color .15s, background .15s, color .15s;
}
.pd-spec-btn:hover { border-color: var(--primary); color: var(--primary); }
.pd-spec-btn.active {
  border-color: var(--primary); background: var(--primary-light); color: var(--primary);
  font-weight: 600;
}

/* Meta rows */
.pd-meta-row { font-size: 13px; margin-bottom: 10px; color: var(--text-muted); }
.pd-meta-key { font-weight: 600; color: var(--text); }
.pd-meta-val { color: var(--text-muted); }

/* Quantity */
.pd-qty-row {
  display: flex; align-items: center; gap: 12px; margin-bottom: 12px;
}
.pd-qty-ctrl { display: flex; align-items: center; }
.pd-qty-btn {
  width: 32px; height: 32px; border: 1px solid var(--border); background: #fff;
  border-radius: 6px; font-size: 18px; cursor: pointer; line-height: 1;
  color: var(--text); transition: background .1s;
}
.pd-qty-btn:hover { background: var(--section-alt); }
.pd-qty-input {
  width: 52px; height: 32px; border: 1px solid var(--border); border-left: none; border-right: none;
  text-align: center; font-size: 14px; font-weight: 600; -moz-appearance: textfield;
}
.pd-qty-input::-webkit-outer-spin-button,
.pd-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; }
.pd-stock-hint { font-size: 12px; color: var(--text-muted); }
.pd-stock-hint.out { color: #EF4444; }

/* Total */
.pd-total-row {
  display: flex; align-items: center; gap: 12px; margin-bottom: 20px; font-size: 14px;
}
.pd-total-price { font-size: 20px; font-weight: 800; color: #059669; }

/* Action buttons */
.pd-actions { display: flex; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.pd-btn-cart {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px;
  background: #F5A623; color: #fff; border: none; border-radius: 8px;
  font-size: 14px; font-weight: 700; cursor: pointer; transition: background .15s;
}
.pd-btn-cart:hover { background: #E09418; }
.pd-btn-buy {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px;
  background: var(--primary); color: #fff; border-radius: 8px;
  font-size: 14px; font-weight: 700; transition: background .15s;
}
.pd-btn-buy:hover { background: var(--primary-dark); color: #fff; }

/* Guarantee */
.pd-guarantee {
  display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-muted);
  padding: 12px 14px; background: #F0FDF4; border-radius: 8px; border: 1px solid #BBF7D0;
}
.pd-guarantee svg { color: #059669; flex-shrink: 0; }

/* ── Tabs ── */
.pd-tabs-wrap { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; margin-bottom: 48px; }
.pd-tabs { display: flex; border-bottom: 1px solid var(--border); background: var(--section-alt); }
.pd-tab {
  padding: 13px 24px; border: none; background: transparent; font-size: 14px; font-weight: 600;
  color: var(--text-muted); cursor: pointer; border-bottom: 3px solid transparent;
  transition: color .15s, border-color .15s;
}
.pd-tab.active { color: var(--primary); border-bottom-color: var(--primary); background: #fff; }
.pd-tab:hover { color: var(--primary); }
.pd-tab-pane { display: none; padding: 28px; }
.pd-tab-pane.active { display: block; }
.pd-description-body { font-size: 14px; line-height: 1.8; color: var(--text); }
.pd-description-body ul, .pd-description-body ol { padding-left: 20px; margin: 12px 0; }
.pd-description-body li { margin-bottom: 6px; }
.pd-description-body p { margin: 0 0 12px; }
.pd-description-body img { display: block; width: 100%; max-width: 100%; height: auto; margin: 16px 0; }
.pd-details-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.pd-details-table th, .pd-details-table td {
  padding: 10px 14px; border-bottom: 1px solid var(--border); text-align: left;
}
.pd-details-table th { width: 160px; font-weight: 600; color: var(--text); background: var(--section-alt); }
.pd-details-table td { color: var(--text-muted); }

/* ── Related Products ── */
.pd-related { margin-bottom: 48px; }
.pd-related-title { font-size: 20px; font-weight: 700; color: var(--text); margin: 0 0 20px; }
.pd-related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pd-related-card {
  border: 1px solid var(--border); border-radius: 8px; overflow: hidden;
  display: flex; flex-direction: column; transition: box-shadow .2s;
}
.pd-related-card:hover { box-shadow: var(--shadow-md); }
.pd-related-img {
  aspect-ratio: 1; background: #fafafa;
  display: flex; align-items: center; justify-content: center; padding: 12px; overflow: hidden;
}
.pd-related-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s; }
.pd-related-card:hover .pd-related-img img { transform: scale(1.05); }
.pd-related-placeholder { color: #D1D5DB; }
.pd-related-body { padding: 10px 12px; border-top: 1px solid var(--border); }
.pd-related-name {
  font-size: 13px; color: var(--text); margin: 0 0 6px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pd-related-price { font-size: 15px; font-weight: 700; color: #059669; margin: 0; }

/* Responsive */
@media (max-width: 768px) {
  .pd-layout { grid-template-columns: 1fr; gap: 24px; }
  .pd-gallery { flex-direction: column-reverse; }
  .pd-thumbs { flex-direction: row; width: auto; overflow-x: auto; }
  .pd-related-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================
   CATALOG / PRODUCTS PAGE
   ============================================ */
.shop-breadcrumb {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--text-muted); margin-bottom: 28px;
}
.shop-breadcrumb a { color: var(--text-muted); transition: color .15s; }
.shop-breadcrumb a:hover { color: var(--primary); }
.shop-breadcrumb .bc-sep { color: #D1D5DB; }

.catalog-layout {
  display: grid; grid-template-columns: 190px 1fr; gap: 40px; align-items: start;
}

.catalog-sidebar-title {
  font-size: 12px; font-weight: 700; color: var(--text);
  text-transform: uppercase; letter-spacing: .9px;
  margin: 0 0 0; padding-bottom: 12px;
  border-bottom: 2px solid var(--text);
}

.catalog-cat-list { list-style: none; padding: 0; margin: 0; }

.catalog-cat-item {
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--border);
}
.catalog-cat-item a {
  display: block; padding: 9px 0;
  font-size: 13px; color: var(--text); flex: 1; transition: color .15s;
}
.catalog-cat-item a:hover { color: var(--primary); }
.catalog-cat-item.active a { color: var(--primary); font-weight: 600; }
.cat-arrow { color: #C4C4C4; font-size: 13px; }
.catalog-cat-item.active .cat-arrow { color: var(--primary); }

.catalog-main-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--text);
}
.catalog-main-title {
  font-size: 13px; font-weight: 700; color: var(--text);
  margin: 0; text-transform: uppercase; letter-spacing: .9px;
}
.catalog-sort-select {
  font-size: 12px; padding: 5px 8px; border: 1px solid var(--border);
  border-radius: 4px; color: var(--text); background: #fff; cursor: pointer;
}

.catalog-products-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}

.catalog-product-card {
  background: #fff; border: 1px solid #e0e0e0;
  overflow: hidden; display: flex; flex-direction: column;
  transition: box-shadow .2s;
}
.catalog-product-card:hover { box-shadow: 0 2px 12px rgba(0,0,0,.12); }

.catalog-card-img-link {
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 1; overflow: hidden; background: #fff; padding: 12px;
}
.catalog-card-img-link img {
  max-width: 100%; max-height: 100%; object-fit: contain;
  transition: transform .3s;
}
.catalog-product-card:hover .catalog-card-img-link img { transform: scale(1.06); }
.catalog-card-img-placeholder {
  width: 80px; height: 80px; display: flex; align-items: center; justify-content: center;
  color: #D1D5DB;
}

.catalog-card-body {
  padding: 10px 12px 12px; border-top: 1px solid #e0e0e0;
  display: flex; flex-direction: column; gap: 10px; flex: 1;
}
.catalog-card-title {
  font-size: 12px; color: var(--text); line-height: 1.5; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.catalog-card-title:hover { color: var(--primary); }

.catalog-btn-quote {
  width: 100%; padding: 8px 6px; border: none; border-radius: 3px;
  background: #F5A623; color: #fff; font-size: 11px; font-weight: 700;
  cursor: pointer; text-transform: uppercase; letter-spacing: .4px;
  transition: background .15s; margin-top: auto;
}
.catalog-btn-quote:hover { background: #E09418; }
.catalog-btn-quote:active { transform: scale(.98); }

.catalog-pagination { margin-top: 32px; }
.catalog-pagination .pagination { margin: 0; }

/* ============================================
   INNER PAGES OVERRIDES
   ============================================ */
/* Bootstrap grid works inside #page-wrapper without .container */
#page-wrapper .row { margin-left: -15px; margin-right: -15px; }
#page-wrapper .col-xs-1, #page-wrapper .col-xs-2,
#page-wrapper .col-xs-3, #page-wrapper .col-xs-4,
#page-wrapper .col-xs-6, #page-wrapper .col-xs-8,
#page-wrapper .col-xs-12,
#page-wrapper .col-sm-6, #page-wrapper .col-sm-8,
#page-wrapper .col-md-2, #page-wrapper .col-md-3,
#page-wrapper .col-md-4, #page-wrapper .col-md-5,
#page-wrapper .col-md-6, #page-wrapper .col-md-7,
#page-wrapper .col-md-8, #page-wrapper .col-md-9,
#page-wrapper .col-md-10, #page-wrapper .col-md-12 {
  padding-left: 15px; padding-right: 15px;
}
#page-wrapper .panel { border-radius: var(--radius); }
#page-wrapper .btn-primary { background-color: var(--primary); border-color: var(--primary-dark); }
#page-wrapper .btn-primary:hover { background-color: var(--primary-dark); border-color: var(--primary-dark); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .catalog-products-grid { grid-template-columns: repeat(3, 1fr); }
  .features-grid { grid-template-columns: 1fr; }
  .features-img-box { min-height: 260px; }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero-title { font-size: 30px; }
  .trust-inner { grid-template-columns: repeat(2, 1fr); }
  .nav-links, .nav-pill-btn.currency { display: none; }
  .nav-hamburger { display: flex; }
  .cta-inner { flex-direction: column; text-align: center; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .catalog-layout { grid-template-columns: 1fr; }
  .catalog-sidebar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
  .catalog-sidebar-title { border-bottom: none; padding-bottom: 0; white-space: nowrap; }
  .catalog-cat-list { display: flex; flex-wrap: wrap; gap: 6px; }
  .catalog-cat-item { border-bottom: none; }
  .catalog-cat-item a { padding: 5px 12px; background: var(--section-alt); border-radius: 20px; font-size: 12px; }
  .cat-arrow { display: none; }
  .catalog-products-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .reviews-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-title { font-size: 26px; }
  .section-title { font-size: 24px; }
  .trust-inner { grid-template-columns: repeat(2, 1fr); }
}
