@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap');

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: #fff; color: #111; zoom: 1.3; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; }

/* ── Design Tokens ── */
:root {
  --black: #111;
  --black-mid: #1d1d1f;
  --black-soft: #333;
  --gray-bg: #f5f5f7;
  --gray-border: #e5e5e5;
  --gray-muted: #888;
  --gray-light: #ddd;
  --gray-50:  #f7f7f5;
  --gray-100: #f0f0ec;
  --gray-200: #e8e8e6;
  --gray-300: #e5e5e5;
  --gray-400: #cccccc;
  --gray-500: #999999;
  --gray-600: #666666;
  --gray-700: #444444;
  --blue-link: #0071e3;
  --red-sale: #c00;
  --white: #fff;
  --font: 'DM Sans', system-ui, -apple-system, sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-pill: 30px;
}

/* ════════════════════════════════════════
   NAV
════════════════════════════════════════ */
.nav {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 52px;
  border-bottom: 0.5px solid var(--gray-border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-logo {
  display: flex;
  align-items: center;
  cursor: pointer;
}
.nav-logo-img {
  height: 42px;
  width: auto;
  display: block;
}
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}
.nav-links li a {
  font-size: 13px;
  color: #444;
  transition: color 0.15s;
}
.nav-links li a:hover { color: var(--black); }
.nav-links li a.sale { color: var(--red-sale); }
.nav-links li a.active { color: var(--black); font-weight: 500; }
.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav-icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #444;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  transition: color 0.15s;
}
.nav-icon-btn:hover { color: var(--black); }

/* ── Search ── */
.nav-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.nav-search-input {
  width: 200px;
  padding: 5px 12px;
  border: 1px solid #e5e5e5;
  border-radius: 20px;
  background: #f5f5f7;
  font-size: 13px;
  font-family: var(--font);
  color: var(--black);
  outline: none;
  transition: border-color 0.15s, background 0.15s;
}
.nav-search-input:focus {
  border-color: #bbb;
  background: #fff;
}
.search-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 340px;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0,0,0,.10);
  z-index: 200;
  overflow: hidden;
}
.search-dropdown.visible { display: block; }
.search-result {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.12s;
}
.search-result:last-child { border-bottom: none; }
.search-result:hover { background: #f7f7f7; }
.search-result-img {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 4px;
  overflow: hidden;
  background: #f2f2f2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.search-result-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.search-result-info { flex: 1; min-width: 0; }
.search-result-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--black);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0 0 2px;
}
.search-result-price {
  font-size: 12px;
  color: #666;
  margin: 0;
}
.search-no-results {
  padding: 14px;
  font-size: 13px;
  color: #888;
  margin: 0;
  text-align: center;
}

/* ── Account dropdown ── */
.nav-account-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.account-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding-top: 8px;
  z-index: 200;
}
.account-dropdown-inner {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,.10);
  padding: 10px;
  white-space: nowrap;
}
.nav-account-wrap:hover .account-dropdown { display: block; }
.account-dropdown-btn {
  display: block;
  width: 100%;
  background: var(--black);
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  text-align: center;
  cursor: pointer;
  border-radius: var(--radius-pill);
  transition: opacity 0.15s;
  box-sizing: border-box;
}
.account-dropdown-btn:hover { opacity: 0.8; }

.cart-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--black);
  border-radius: 50%;
  margin-left: 2px;
}

/* ════════════════════════════════════════
   HERO
════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 0 0 80px;
  overflow: hidden;
  background: #000;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0.72;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.05) 0%,
    rgba(0, 0, 0, 0.55) 55%,
    rgba(0, 0, 0, 0.82) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #bbb;
  margin-bottom: 18px;
}
.hero-headline {
  font-size: 64px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.02;
  letter-spacing: -2.5px;
  margin-bottom: 18px;
}
.hero-sub {
  font-size: 16px;
  color: #ccc;
  margin-bottom: 36px;
  line-height: 1.6;
  max-width: 460px;
}
.hero-ctas {
  display: flex;
  gap: 12px;
}
.cta-white {
  background: var(--white);
  color: var(--black);
  font-size: 13px;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-pill);
  padding: 12px 28px;
  cursor: pointer;
  transition: background 0.15s;
}
.cta-white:hover { background: #e8e8e8; }
.cta-outline {
  background: transparent;
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-pill);
  padding: 12px 28px;
  cursor: pointer;
  transition: border-color 0.15s;
}
.cta-outline:hover { border-color: rgba(255,255,255,0.85); }

/* ════════════════════════════════════════
   CATEGORY STRIP
════════════════════════════════════════ */
.cats-row {
  background: var(--white);
  border-bottom: 0.5px solid var(--gray-border);
  display: flex;
  justify-content: center;
  overflow-x: auto;
  scrollbar-width: none;
}
.cats-row::-webkit-scrollbar { display: none; }
.cat {
  padding: 16px 26px;
  font-size: 13px;
  color: #555;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
}
.cat:hover { color: var(--black); }
.cat.active {
  color: var(--black);
  border-bottom: 2px solid var(--black);
}

/* ════════════════════════════════════════
   SECTIONS
════════════════════════════════════════ */
.section { padding: 56px 40px; }
.section.gray { background: var(--gray-bg); }
.sec-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gray-muted);
  margin-bottom: 10px;
}
.sec-title {
  font-size: 30px;
  font-weight: 600;
  color: var(--black);
  letter-spacing: -0.6px;
}
.sec-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
}
.see-all {
  font-size: 13px;
  color: var(--blue-link);
  cursor: pointer;
}
.see-all:hover { text-decoration: underline; }

/* ════════════════════════════════════════
   PRODUCT GRID & CARDS
════════════════════════════════════════ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.pcard {
  background: var(--gray-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}
.pcard:hover {
  background: #ebebed;
  transform: translateY(-2px);
}
.pcard-img {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: var(--gray-bg);
  overflow: hidden;
  position: relative;
}
.pcard-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.pcard-img-placeholder {
  width: 80px;
  height: 80px;
  background: #e0e0e0;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #aaa;
  text-align: center;
}
.pcard-body { padding: 14px 18px 18px; }
.pcard-brand {
  font-size: 10px;
  font-weight: 600;
  color: var(--gray-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.pcard-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 3px;
  line-height: 1.35;
}
.pcard-category {
  font-size: 11px;
  color: var(--gray-muted);
  margin-bottom: 10px;
}
.pcard-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pcard-price {
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
}
.pcard-orig {
  font-size: 11px;
  color: #aaa;
  text-decoration: line-through;
  margin-left: 5px;
}
.badge {
  font-size: 10px;
  font-weight: 500;
  padding: 2px 7px;
  border-radius: 20px;
  margin-left: 5px;
}
.badge-sale { background: #fee2e2; color: #991b1b; }
.badge-new  { background: #e8f5e9; color: #1b5e20; }
.pcard-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 10px;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 20px;
  pointer-events: none;
  z-index: 1;
}
.add-to-cart-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  color: var(--white);
  font-size: 18px;
  line-height: 1;
  transition: background 0.15s;
  flex-shrink: 0;
}
.add-to-cart-icon:hover { background: #333; }

.qty-stepper {
  display: flex;
  align-items: center;
  background: var(--black);
  border-radius: 20px;
  height: 28px;
  flex-shrink: 0;
  overflow: hidden;
}
.qty-stepper-btn {
  width: 28px;
  height: 28px;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.qty-stepper-btn:hover { background: #333; }
.qty-stepper-val {
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  min-width: 20px;
  text-align: center;
}

/* ════════════════════════════════════════
   PROMO SPLIT CARDS
════════════════════════════════════════ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.split-card {
  border-radius: var(--radius-xl);
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
}
.split-card.dark  { background: var(--black); }
.split-card.dark2 { background: var(--black-mid); }
.split-eyebrow {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray-muted);
  margin-bottom: 8px;
}
.split-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.4px;
  margin-bottom: 8px;
  line-height: 1.15;
}
.split-desc {
  font-size: 13px;
  color: #888;
  margin-bottom: 18px;
  line-height: 1.5;
}
.split-link {
  font-size: 13px;
  color: var(--blue-link);
  cursor: pointer;
}
.split-link:hover { text-decoration: underline; }

/* ════════════════════════════════════════
   BRANDS
════════════════════════════════════════ */
.brands-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.brand-chip {
  background: var(--white);
  border: 0.5px solid #ddd;
  border-radius: var(--radius-sm);
  padding: 12px 22px;
  font-size: 13px;
  font-weight: 500;
  color: #444;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
  text-decoration: none;
  display: inline-block;
}
.brand-chip:hover { border-color: #999; color: var(--black); }

.cat-group { margin-bottom: 40px; }
.cat-group-title { font-size: 18px; font-weight: 600; margin-bottom: 16px; color: var(--black); }

/* ════════════════════════════════════════
   TRUST BAR
════════════════════════════════════════ */
.trust {
  background: var(--black);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.trust-item {
  padding: 32px 36px;
  border-right: 0.5px solid #2a2a2a;
}
.trust-item:last-child { border-right: none; }
.trust-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 8px;
}
.trust-desc {
  font-size: 12px;
  color: #666;
  line-height: 1.55;
}

/* ════════════════════════════════════════
   FOOTER
════════════════════════════════════════ */
.footer {
  background: var(--gray-bg);
  border-top: 0.5px solid var(--gray-border);
  padding: 44px 40px 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-bottom: 36px;
}
.footer-col-title {
  font-size: 11px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 12px;
}
.footer-link {
  font-size: 12px;
  color: #666;
  display: block;
  margin-bottom: 8px;
  cursor: pointer;
  transition: color 0.15s;
}
.footer-link:hover { color: var(--black); }
.footer-bottom {
  border-top: 0.5px solid #ddd;
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-copy { font-size: 11px; color: #aaa; }
.footer-legal { display: flex; gap: 18px; }
.footer-legal span { font-size: 11px; color: #aaa; cursor: pointer; }
.footer-legal span:hover { color: var(--black); }

/* ════════════════════════════════════════
   PRODUCT DETAIL PAGE (PDP)
════════════════════════════════════════ */
.pdp-breadcrumb {
  padding: 14px 40px;
  font-size: 12px;
  color: var(--gray-muted);
  border-bottom: 0.5px solid var(--gray-border);
  background: var(--white);
}
.pdp-breadcrumb a { color: var(--blue-link); cursor: pointer; }
.pdp-breadcrumb a:hover { text-decoration: underline; }

.pdp {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--white);
}

/* Gallery */
.pdp-gallery {
  background: #fff;
  padding: 32px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.pdp-main-img {
  width: 100%;
  height: 440px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-in;
}
.pdp-main-img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}
.pdp-gallery-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.pdp-arrow {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 30px;
  height: 30px;
  line-height: 30px;
  color: #888;
  padding: 0 2px;
  transition: color 0.15s;
}
.pdp-arrow:hover { color: var(--black); }
.pdp-thumbs {
  display: flex;
  gap: 8px;
}
.pdp-thumb {
  width: 30px;
  height: 30px;
  background: #e0e0e0;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 1.5px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: border-color 0.15s;
}
.pdp-thumb.active { border-color: var(--black); }
.pdp-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Info panel */
.pdp-info {
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
}
.pdp-brand {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray-muted);
  margin-bottom: 8px;
}
.pdp-name {
  font-size: 30px;
  font-weight: 600;
  color: var(--black);
  letter-spacing: -0.6px;
  margin-bottom: 6px;
  line-height: 1.15;
}
.pdp-subtitle {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
}
.hr { height: 0.5px; background: var(--gray-border); margin: 18px 0; }
.pdp-price {
  font-size: 30px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 4px;
}
.pdp-stock {
  font-size: 12px;
  color: var(--blue-link);
  margin-bottom: 28px;
}

/* CTAs */
.pdp-ctas { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.btn-black {
  background: var(--black);
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  border: none;
  outline: none;
  border-radius: var(--radius-pill);
  padding: 15px;
  cursor: pointer;
  width: 100%;
  transition: background 0.15s;
}
.btn-black:hover { background: #333; }
.pdp-qty-stepper {
  display: flex;
  align-items: stretch;
  background: var(--black);
  border-radius: var(--radius-pill);
  width: 100%;
  overflow: hidden;
}
.pdp-qty-stepper-btn {
  min-width: 50px;
  padding: 15px;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s;
}
.pdp-qty-stepper-btn:hover { background: #333; }
.pdp-qty-stepper-val {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
}
.btn-ghost {
  background: transparent;
  color: var(--black);
  font-size: 14px;
  font-weight: 500;
  border: 1px solid #ccc;
  border-radius: var(--radius-pill);
  padding: 15px;
  cursor: pointer;
  width: 100%;
  transition: border-color 0.15s;
}
.btn-ghost:hover { border-color: #888; }

/* Feature list */
.feature-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
}
.feature-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.feature-txt { font-size: 13px; color: #555; line-height: 1.5; }

/* ════════════════════════════════════════
   PDP TABS
════════════════════════════════════════ */
.pdp-tabs {
  border-top: 0.5px solid var(--gray-border);
  display: flex;
  background: var(--white);
}
.pdp-tab {
  padding: 16px 28px;
  font-size: 13px;
  color: var(--gray-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  border-top: none;
  border-left: none;
  border-right: none;
  background: none;
  transition: color 0.15s, border-color 0.15s;
}
.pdp-tab:hover { color: var(--black); }
.pdp-tab.active {
  color: var(--black);
  border-bottom: 2px solid var(--black);
}
.tab-content {
  padding: 36px 40px;
  background: var(--white);
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.tab-panel-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

/* Specs table */
.specs-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 14px;
}
.spec-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 0.5px solid #f0f0f0;
  font-size: 13px;
}
.spec-key { color: var(--gray-muted); }
.spec-val { color: var(--black); font-weight: 500; }

/* Reviews */
.reviews-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 14px;
}
.review-card {
  background: var(--gray-bg);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  margin-bottom: 12px;
}
.review-name {
  font-size: 12px;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 4px;
}
.review-stars {
  font-size: 12px;
  letter-spacing: 1px;
  margin-bottom: 6px;
}
.review-body { font-size: 12px; color: #555; line-height: 1.55; }
.reviews-load-more {
  background: none;
  border: none;
  padding: 0;
  margin-top: 8px;
  font-size: 13px;
  font-family: inherit;
  color: var(--blue-link);
  cursor: pointer;
  display: block;
}
.reviews-load-more:hover { text-decoration: underline; }

/* ════════════════════════════════════════
   SKELETON LOADING
════════════════════════════════════════ */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: var(--radius-md);
}
@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.skeleton-card { height: 280px; border-radius: var(--radius-lg); }
.skeleton-chip { height: 44px; width: 100px; display: inline-block; border-radius: 0; }
.skeleton-line { height: 14px; margin-bottom: 8px; border-radius: 4px; }
.skeleton-line.short { width: 60%; }

/* ════════════════════════════════════════
   ERROR STATE
════════════════════════════════════════ */
.error-state {
  text-align: center;
  padding: 48px 20px;
  color: var(--gray-muted);
  grid-column: 1 / -1;
}
.error-state strong {
  display: block;
  font-size: 16px;
  color: var(--black);
  margin-bottom: 8px;
}
.error-retry {
  margin-top: 16px;
  background: var(--black);
  color: var(--white);
  border: none;
  border-radius: var(--radius-pill);
  padding: 10px 24px;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.15s;
}
.error-retry:hover { background: #333; }

/* ════════════════════════════════════════
   LOAD MORE
════════════════════════════════════════ */
.load-more-wrap { text-align: center; margin-top: 36px; }
.btn-load-more {
  background: var(--white);
  color: var(--black);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-pill);
  padding: 12px 36px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.15s;
}
.btn-load-more:hover { border-color: #999; }
.btn-load-more:disabled { opacity: 0.5; cursor: not-allowed; }

/* ════════════════════════════════════════
   SLOW API NOTICE
════════════════════════════════════════ */
.slow-notice {
  text-align: center;
  font-size: 13px;
  color: var(--gray-muted);
  padding: 12px 20px;
  grid-column: 1 / -1;
}

/* ════════════════════════════════════════
   PDP SKELETON
════════════════════════════════════════ */
.pdp-skeleton-gallery {
  background: var(--gray-bg);
  padding: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 520px;
}
.pdp-error {
  padding: 80px 40px;
  text-align: center;
}
.pdp-error p { color: var(--gray-muted); font-size: 14px; margin-bottom: 16px; }
.pdp-error a { color: var(--blue-link); font-size: 13px; }

/* ════════════════════════════════════════
   HERO STRIP + SALE BANNER (shared)
════════════════════════════════════════ */
.hero-strip {
  background: var(--black);
  padding: 52px 40px 48px;
}
.hero-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 12px;
}
.hero-title {
  font-size: 46px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -2px;
  line-height: 1.0;
}
.sale-banner-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 44px 40px 0;
}
.sale-banner {
  background: var(--black);
  border-radius: 14px;
  padding: 26px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 52px;
}
.sale-eyebrow {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 6px;
}
.sale-heading {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.5px;
}
.sale-sub {
  font-size: 13px;
  color: #999;
  margin-top: 5px;
}
.sale-btn {
  background: var(--white);
  color: var(--black);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  border: none;
  border-radius: 999px;
  padding: 11px 24px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, transform 0.1s;
}
.sale-btn:hover { background: #f0f0f0; }
.sale-btn:active { transform: scale(0.98); }

/* ════════════════════════════════════════
   RESPONSIVE — TABLET / MOBILE
════════════════════════════════════════ */
@media (max-width: 1331px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .pdp { grid-template-columns: 1fr; }
  .tab-panel-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 998px) {
  .nav { padding: 0 20px; }
  .nav-links { display: none; }
  .hero { min-height: 420px; padding-bottom: 56px; }
  .hero-headline { font-size: 40px; letter-spacing: -1.5px; }
  .section { padding: 40px 20px; }
  .split { grid-template-columns: 1fr; }
  .trust { grid-template-columns: 1fr; }
  .trust-item { border-right: none; border-bottom: 0.5px solid #2a2a2a; }
  .footer { padding: 32px 20px 16px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .pdp-info { padding: 32px 20px; }
  .pdp-gallery { padding: 32px 20px; }
  .tab-content { padding: 24px 20px; }
  .pdp-breadcrumb { padding: 14px 20px; }
  .cats-row { justify-content: flex-start; }
  .hero-strip { padding: 36px 20px 32px; }
  .hero-title { font-size: 34px; }
  .sale-banner-wrap { padding: 28px 20px 0; }
  .sale-banner { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* ════════════════════════════════════════
   CART BADGE
════════════════════════════════════════ */
.cart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  background: var(--black);
  color: var(--white);
  font-size: 10px;
  font-weight: 600;
  border-radius: 99px;
  line-height: 1;
  margin-left: 2px;
}

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

/* Cart item row */
.cart-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--gray-border);
}
.cart-item-img {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--gray-bg);
}
.cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cart-item-info {
  flex: 1;
  min-width: 0;
}
.cart-item-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-decoration: none;
  cursor: pointer;
}
.cart-item-name:hover { color: #0066cc; }
.cart-item-price {
  font-size: 13px;
  color: var(--gray-muted);
}
.cart-item-line-total {
  font-size: 14px;
  font-weight: 500;
  color: var(--black);
  white-space: nowrap;
  min-width: 60px;
  text-align: right;
}
.cart-item-remove {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray-muted);
  font-size: 20px;
  line-height: 1;
  padding: 4px;
  transition: color 0.15s;
}
.cart-item-remove:hover { color: var(--black); }

/* Quantity control */
.qty-control {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.qty-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--gray-border);
  background: var(--white);
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s;
}
.qty-btn:hover { border-color: var(--black); }
.qty-val {
  font-size: 14px;
  font-weight: 500;
  min-width: 20px;
  text-align: center;
}

/* Order summary */
.cart-summary {
  background: var(--gray-bg);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: sticky;
  top: 72px;
}
.cart-summary-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
}
.cart-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #444;
  margin-bottom: 12px;
}
.cart-summary-divider {
  border-top: 1px solid var(--gray-border);
  margin: 16px 0;
}
.cart-summary-total {
  font-size: 16px;
  font-weight: 600;
  color: var(--black);
}
.cart-free-shipping-hint {
  font-size: 12px;
  color: green;
  margin-top: -4px;
  margin-bottom: 8px;
}
.cart-continue-link {
  display: block;
  text-align: center;
  margin-top: 14px;
  font-size: 13px;
  color: var(--gray-muted);
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  width: 100%;
  text-decoration: underline;
}
.cart-continue-link:hover { color: var(--black); }

/* Empty cart */
.cart-empty {
  text-align: center;
  padding: 80px 20px;
}
.cart-empty-msg {
  font-size: 18px;
  color: var(--gray-muted);
  margin-bottom: 24px;
}

/* Cart responsive */
@media (max-width: 998px) {
  .cart-layout { grid-template-columns: 1fr; }
  .cart-item { flex-wrap: wrap; }
  .cart-item-line-total { order: 3; }
}

/* ════════════════════════════════════════
   CHECKOUT PAGE
════════════════════════════════════════ */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  padding: 40px 40px 80px;
  max-width: 1300px;
  margin: 0 auto;
}
.checkout-back-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 13px;
  color: var(--gray-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 28px;
  padding: 0;
  font-family: inherit;
}
.checkout-back-btn:hover { color: var(--black); }
.checkout-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 28px;
  letter-spacing: -0.5px;
}
.checkout-section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-muted);
  margin-bottom: 14px;
}
.checkout-input-group { margin-bottom: 16px; }
.checkout-input-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #444;
  margin-bottom: 6px;
}
.checkout-input-group input,
.checkout-input-group select {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14px;
  font-family: inherit;
  color: var(--black);
  background: #fff;
  outline: none;
  transition: border-color 0.15s;
  appearance: none;
  -webkit-appearance: none;
}
.checkout-input-group input:focus,
.checkout-input-group select:focus { border-color: var(--black); }
.checkout-input-group input::placeholder { color: #bbb; }
.checkout-input-group input:disabled {
  background: #f5f5f3;
  color: #999;
  cursor: not-allowed;
}
.checkout-select-wrap { position: relative; }
.checkout-select-wrap::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #888;
  pointer-events: none;
}
.checkout-select-wrap select { padding-right: 36px; cursor: pointer; }
.checkout-input-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.checkout-divider-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0;
}
.checkout-divider-line { flex: 1; height: 1px; background: #eee; }
.checkout-divider-text { font-size: 13px; color: #999; }
.checkout-signin-btn {
  width: 100%;
  background: #fff;
  color: var(--black);
  border: 1px solid #ddd;
  border-radius: 999px;
  padding: 14px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.15s, background 0.15s;
}
.checkout-signin-btn:hover { border-color: var(--black); background: #f7f7f7; }
.checkout-place-order-btn {
  width: 100%;
  border: none;
  outline: none;
  border-radius: 999px;
  padding: 16px;
  font-size: 15px;
  font-weight: 600;
  margin-top: 28px;
  font-family: inherit;
  transition: background 0.2s, color 0.2s;
}
.checkout-place-order-btn.disabled {
  background: #e5e5e5;
  color: #aaa;
  cursor: not-allowed;
}
.checkout-place-order-btn.enabled {
  background: var(--black);
  color: #fff;
  cursor: pointer;
}
.checkout-place-order-btn.enabled:hover { background: #333; }
.checkout-summary-box {
  background: #f7f7f5;
  border-radius: 14px;
  padding: 28px;
  height: fit-content;
  position: sticky;
  top: 20px;
}
.checkout-summary-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 20px;
}
.checkout-summary-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.checkout-item-img {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: #e8e8e4;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.checkout-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}
.checkout-item-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: #888;
  color: #fff;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.checkout-item-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--black);
  flex: 1;
  line-height: 1.35;
}
.checkout-item-price {
  font-size: 13px;
  font-weight: 600;
  color: var(--black);
}
.checkout-summary-divider {
  border: none;
  border-top: 1px solid #e5e5e5;
  margin: 16px 0;
}
.checkout-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 14px;
}
.checkout-summary-row .label { color: #444; }
.checkout-summary-row .val { color: var(--black); font-weight: 500; }
.checkout-summary-row .free { color: #2a7d4f; font-weight: 600; }
.checkout-summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  font-weight: 700;
}
@media (max-width: 998px) {
  .checkout-layout { grid-template-columns: 1fr; padding: 24px 20px 48px; }
  .checkout-input-row { grid-template-columns: 1fr; }
}

/* Lightbox */
.pdp-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(6px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.pdp-lightbox.pdp-lightbox-open { display: flex; }
.pdp-lightbox-close {
  position: absolute;
  top: 16px;
  left: 16px;
  background: none;
  border: none;
  color: #222;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  transition: opacity 0.15s;
}
.pdp-lightbox-close:hover { opacity: 0.5; }
.pdp-lightbox-main {
  flex: 1;
  min-height: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 48px 40px 20px;
  box-sizing: border-box;
}
.pdp-lightbox-main img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}
.pdp-lightbox-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 20px 28px;
}
.pdp-lightbox-arrow { color: #888; }
.pdp-lightbox-arrow:hover { color: #222; }
.pdp-lightbox-thumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 80vw;
}
.pdp-lightbox-thumb {
  width: 48px;
  height: 48px;
  background: #e0e0e0;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 2px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: border-color 0.15s;
}
.pdp-lightbox-thumb.active { border-color: #222; }
.pdp-lightbox-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ── Gift cards grid ── */
#gift-grid {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 10px;
  justify-items: center;
}
@media (max-width: 1440px) { #gift-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); } }
@media (max-width: 1100px) { #gift-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 800px)  { #gift-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 600px)  { #gift-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ════════════════════════════════════════
   FILTER BAR (dept pages)
════════════════════════════════════════ */
.filter-bar {
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 0.5px solid var(--gray-200);
  flex-wrap: wrap;
}
.filter-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  flex: 1;
}
.filter-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--gray-muted);
  margin-right: 4px;
  white-space: nowrap;
}
.filter-pill {
  background: var(--white);
  border: 0.5px solid var(--gray-300);
  border-radius: 20px;
  font-size: 12px;
  color: #555;
  padding: 7px 16px;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
  white-space: nowrap;
  user-select: none;
  font-family: inherit;
}
.filter-pill:hover { border-color: #999; color: var(--black); }
.filter-pill.active { background: var(--black); color: var(--white); border-color: var(--black); }
.filter-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.filter-results-count { font-size: 12px; color: var(--gray-muted); white-space: nowrap; }
.sort-wrap { position: relative; }
.sort-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  border: 0.5px solid var(--gray-300);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.15s;
}
.sort-btn:hover { border-color: #999; }
.sort-btn:focus { outline: none; }
.sort-btn.open { border-color: var(--black); }
.sort-btn svg { transition: transform 0.2s; flex-shrink: 0; }
.sort-btn.open svg { transform: rotate(180deg); }
.sort-label { font-size: 12px; color: var(--gray-muted); white-space: nowrap; }
.sort-selected-text { font-size: 13px; color: var(--black); white-space: nowrap; }
.sort-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: var(--white);
  border: 0.5px solid var(--gray-200);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.10);
  min-width: 210px;
  z-index: 50;
  overflow: hidden;
  display: none;
}
.sort-dropdown.open { display: block; }
.sort-option {
  padding: 11px 16px;
  font-size: 13px;
  color: #555;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.1s;
}
.sort-option:hover { background: var(--gray-50); color: var(--black); }
.sort-option.selected { color: var(--black); font-weight: 500; }
.sort-option.selected::after { content: '✓'; font-size: 12px; color: var(--black); }
.active-filters {
  padding: 12px 40px 16px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  border-bottom: 0.5px solid var(--gray-200);
}
.active-filters-label { font-size: 12px; color: var(--gray-muted); white-space: nowrap; margin-right: 2px; }
#cat-chips { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.active-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--gray-50);
  border: 0.5px solid var(--gray-200);
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 12px;
  color: var(--black);
}
.active-chip-x {
  background: none;
  border: none;
  cursor: pointer;
  color: #888;
  font-size: 14px;
  line-height: 1;
  padding: 0;
  display: flex;
  align-items: center;
  font-family: inherit;
}
.active-chip-x:hover { color: var(--black); }
.clear-all { font-size: 12px; color: var(--blue-link); cursor: pointer; white-space: nowrap; margin-left: 4px; }
.clear-all:hover { text-decoration: underline; }
@media (max-width: 998px) {
  .filter-bar { padding: 16px 20px; }
  .active-filters { padding: 10px 20px 14px; }
}
@media (max-width: 400px)  { #gift-grid { grid-template-columns: repeat(1, minmax(0, 1fr)); } }
