/* =====================================================================
 * altsmoke.shop - Global styles (v2)
 * Inspired directly by altsuperstore.com - light blue hero, white
 * header, large search bar, points icon, rounded carousel arrows.
 * ===================================================================== */

:root {
  --color-primary: #6c44f0;
  --color-primary-dark: #5936c7;
  --color-primary-light: #9b6cff;
  --color-primary-bg: rgba(108, 68, 240, 0.08);

  /* altsuperstore's signature light-blue hero */
  --color-hero: #6ec5ff;
  --color-hero-dark: #2f8fd6;

  --color-black: #020202;
  --color-text: #020202;
  --color-text-muted: #4b5563;
  --color-text-light: #6b7280;
  --color-border: #e5e7eb;
  --color-bg: #ffffff;
  --color-bg-alt: #f3f4f6;

  --color-success: #16a34a;
  --color-error: #dc2626;
  --color-warning: #f59e0b;
  --color-gold: #facc15;

  --font-heading: "Onest", "Hanken Grotesk", system-ui, -apple-system,
    "Segoe UI", sans-serif;
  --font-body: "Hanken Grotesk", "Onest", system-ui, -apple-system,
    "Segoe UI", sans-serif;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 24px 60px rgba(0, 0, 0, 0.12);

  --content-max: 1440px;
  --header-h: 116px;
  --transition: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-primary); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: inherit; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 24px;
}
@media (max-width: 768px) {
  .container { padding: 0 16px; }
}

/* =====================================================================
 * MARQUEE TOP BAR - continuous left-scrolling announcement strip
 * ===================================================================== */
.marquee-bar {
  background: var(--color-black);
  color: #fff;
  overflow: hidden;
  font-size: 14px;
  font-weight: 600;
  position: relative;
  height: 44px;
  display: flex;
  align-items: center;
}
.marquee-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: marquee-scroll 35s linear infinite;
  width: max-content;
  will-change: transform;
  /* hover-pause intentionally removed */
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  padding: 0 32px;
}
.marquee-item .marquee-icon {
  width: 16px;
  height: 16px;
  color: #fff;
  flex: 0 0 16px;
}
.marquee-item .marquee-icon--heart {
  color: #9b6cff;
}
.marquee-item .marquee-icon--shipping {
  color: #fff;
}
.marquee-item .marquee-icon--check {
  color: var(--color-primary);
}
@keyframes marquee-scroll {
  0%   { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}
/* Each group sits side-by-side; groups are spaced only by their own
   internal item padding so the gap is consistent and there's no dead
   strip between groups (the original "blank bar" bug). */
.marquee-track .marquee-group {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

/* =====================================================================
 * HEADER
 * ===================================================================== */
.sticky-top {
  position: sticky;
  top: 0;
  z-index: 5000;
  background: #fff;
  isolation: isolate;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}
.site-header {
  background: #fff;
  position: relative;
  z-index: 1;
}
.sticky-top.site-chrome .site-header {
  position: relative;
  top: auto;
  z-index: 1;
}
.header-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 18px 24px 12px;
}
.header-row {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  align-items: center;
  gap: 32px;
}
.brand-link img {
  height: 32px;
  width: auto;
}
.header-search {
  position: relative;
  width: 100%;
  max-width: 720px;
  justify-self: center;
}
.header-search input {
  width: 100%;
  padding: 14px 20px 14px 48px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-pill);
  font-size: 16px;
  background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.header-search input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px var(--color-primary-bg);
}
.header-search .search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--color-text-muted);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.icon-btn {
  position: relative;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--color-text);
  transition: all var(--transition);
}
.icon-btn:hover {
  background: var(--color-bg-alt);
  color: var(--color-primary);
}
.icon-btn svg { width: 22px; height: 22px; }
.icon-btn.account {
  background: var(--color-primary);
  color: #fff;
}
.icon-btn.account:hover {
  background: var(--color-primary-dark);
  color: #fff;
}
.icon-btn.account svg { width: 20px; height: 20px; }
.points-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px 8px 10px;
  background: var(--color-primary-bg);
  color: var(--color-primary);
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 14px;
}
.points-pill svg {
  width: 20px;
  height: 20px;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.1));
}
.points-pill:hover {
  background: var(--color-primary);
  color: #fff;
}
.points-pill:hover svg { color: var(--color-gold); }
.cart-count {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--color-primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* ---------- Categories nav ---------- */
.header-cats {
  border-top: 1px solid var(--color-border);
  margin-top: 12px;
}
.cats-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 44px;
  list-style: none;
  padding: 18px 0;
}
.cats-list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.3px;
  color: var(--color-text);
  position: relative;
  padding: 4px 0;
  font-family: var(--font-heading);
}
.cats-list a.has-caret::after {
  content: "";
  width: 9px;
  height: 9px;
  border-right: 2.5px solid currentColor;
  border-bottom: 2.5px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
  margin-left: 2px;
}
.cats-list a:hover { color: var(--color-primary); }
.cats-list a.sale { color: var(--color-error); font-weight: 800; }

.mobile-toggle { display: none; }

/* =====================================================================
 * NAV DROPDOWNS
 * ===================================================================== */
.cats-list li.has-dropdown {
  position: relative;
}
.cats-list li.has-dropdown .cat-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 260px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
  transform: translateX(-50%) translateY(-4px);
}
.cats-list li.has-dropdown:hover .cat-dropdown,
.cats-list li.has-dropdown:focus-within .cat-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
/* keep dropdown open when mouse moves into it */
.cats-list li.has-dropdown .cat-dropdown::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}
.cat-dropdown a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: var(--color-text);
  transition: background var(--transition);
}
.cat-dropdown a:hover {
  background: var(--color-bg-alt);
  color: var(--color-primary);
}
.cat-dropdown a strong {
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font-heading);
}
.cat-dropdown a span {
  font-size: 12px;
  color: var(--color-text-muted);
  font-weight: 400;
}
.cat-dropdown a:hover span { color: var(--color-primary-dark); }

/* =====================================================================
 * HERO SLIDE LINK (clickable product slides)
 * ===================================================================== */
.hero-slide-link {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}
.hero-slide-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-slide-link::after {
  content: "View product →";
  position: absolute;
  bottom: 12px;
  right: 14px;
  background: rgba(0,0,0,0.65);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  backdrop-filter: blur(4px);
}
.hero-slide.active .hero-slide-link:hover::after,
.hero-slide.active .hero-slide-link:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}
.hero-slide-link::after {
  pointer-events: none;
}

/* =====================================================================
 * VALUE PROPS - TOOLTIP
 * ===================================================================== */
.section--value-props .value-prop {
  position: relative;
  cursor: default;
}
.value-prop .vp-tooltip {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  width: 240px;
  background: #111;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  text-align: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 100;
  white-space: normal;
}
.value-prop .vp-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #111;
}
.section--value-props .value-prop:hover .vp-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* =====================================================================
 * SECTION HEADER ROW (title + "shop all" link)
 * ===================================================================== */
.section-header-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 24px;
}
.section-header-row .section-title { margin-bottom: 0; }
.section-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary);
  white-space: nowrap;
}
.section-link:hover { color: var(--color-primary-dark); }

/* =====================================================================
 * EXPLORE BY CATEGORY GRID
 * ===================================================================== */
.explore-cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 900px) {
  .explore-cat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .explore-cat-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
}
.explore-cat-tile {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-decoration: none;
  color: var(--color-text);
  transition: color var(--transition);
}
.explore-cat-tile:hover { color: var(--color-primary); }
.explore-cat-img {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1 / 1;
}
.explore-cat-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.explore-cat-tile:hover .explore-cat-img img { transform: scale(1.05); }
.explore-cat-tile span {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
}

/* =====================================================================
 * CUSTOMER REVIEWS
 * ===================================================================== */
.section--reviews { background: var(--color-bg-alt); }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) {
  .reviews-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .reviews-grid { grid-template-columns: 1fr; }
}
.review-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid var(--color-border);
}
.review-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.review-name {
  font-weight: 700;
  font-size: 14px;
}
.review-placeholder-label {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 6px;
  border-radius: var(--radius-pill);
  background: var(--color-primary-bg);
  color: var(--color-primary);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.review-card--placeholder {
  border-style: dashed;
}
.review-verified {
  color: var(--color-primary);
  font-size: 12px;
  margin-left: 4px;
}
.review-date {
  font-size: 12px;
  color: var(--color-text-muted);
}
.review-stars {
  color: var(--color-primary);
  font-size: 14px;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.review-card p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* =====================================================================
 * CLEARANCE BANNER
 * ===================================================================== */
.section--clearance { padding: 32px 0; }
.clearance-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  padding: 40px 48px;
  gap: 32px;
  min-height: 220px;
  overflow: hidden;
}
.clearance-eyebrow {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-text-muted);
  margin-bottom: 6px;
}
.clearance-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
}
.clearance-cta {
  display: inline-flex;
  padding: 10px 24px;
  border: 2px solid var(--color-text);
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 15px;
  color: var(--color-text);
  transition: all var(--transition);
}
.clearance-cta:hover {
  background: var(--color-text);
  color: #fff;
}
.clearance-img-stub {
  flex: 1;
  max-width: 55%;
  display: flex;
  justify-content: flex-end;
}
.clearance-stub-placeholder {
  width: 100%;
  max-width: 480px;
  height: 160px;
  background: #e5e7eb;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 13px;
  border: 2px dashed var(--color-border);
}
@media (max-width: 700px) {
  .clearance-banner { flex-direction: column; padding: 28px 24px; }
  .clearance-img-stub { max-width: 100%; width: 100%; }
}

/* =====================================================================
 * PRODUCT ROW (horizontal scroll on narrow, grid on wide)
 * ===================================================================== */
.product-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
@media (max-width: 1200px) {
  .product-row { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 900px) {
  .product-row {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .product-row::-webkit-scrollbar { display: none; }
  .product-row .product-card {
    flex: 0 0 220px;
    scroll-snap-align: start;
  }
}

/* =====================================================================
 * HERO - light blue, with rotating product carousel + rounded arrows
 * ===================================================================== */
.hero {
  background: var(--color-hero);
  position: relative;
  overflow: hidden;
  margin: 16px 24px 0;
  border-radius: var(--radius-xl);
  padding: 56px 56px;
  min-height: 420px;
}
@media (max-width: 768px) {
  .hero {
    margin: 16px 16px 0;
    padding: 40px 24px;
    min-height: auto;
  }
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  max-width: var(--content-max);
  margin: 0 auto;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
}
.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.02;
  margin-bottom: 24px;
  color: var(--color-black);
}
.hero-sub {
  font-size: 20px;
  font-weight: 600;
  color: var(--color-black);
  margin-bottom: 28px;
  line-height: 1.35;
}
.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  background: #fff;
  color: var(--color-black);
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 17px;
  transition: all var(--transition);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}
.hero-cta:hover {
  transform: translateY(-1px);
  background: var(--color-black);
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}
.hero-trust {
  font-size: 14px;
  color: var(--color-black);
  font-weight: 600;
  opacity: 0.85;
}

/* Carousel - single product collage that auto-rotates */
.hero-carousel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
}
.hero-carousel-track {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1.15 / 1;
  transition: opacity 0.4s ease;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}
.hero-slide.active { opacity: 1; pointer-events: auto; }
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  color: var(--color-black);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  z-index: 2;
  backdrop-filter: blur(4px);
}
.hero-arrow:hover {
  background: #fff;
  color: var(--color-black);
  transform: translateY(-50%) scale(1.06);
}
.hero-arrow.prev { left: -8px; }
.hero-arrow.next { right: -8px; }
.hero-arrow svg { width: 20px; height: 20px; }

/* =====================================================================
 * SECTIONS
 * ===================================================================== */
.section { padding: 64px 0; }
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 8px;
  color: var(--color-black);
}
.section-subtitle {
  color: var(--color-text-muted);
  margin-bottom: 32px;
  font-size: 16px;
}

/* ---------- Category strip ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-bottom: 48px;
}
.cat-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px 16px;
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  text-align: center;
  transition: all var(--transition);
}
.cat-tile:hover {
  background: var(--color-primary-bg);
  color: var(--color-primary);
  transform: translateY(-2px);
}
.cat-tile .cat-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}
.cat-tile .cat-label {
  font-weight: 600;
  font-size: 14px;
}

/* ---------- Product grid ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}
.product-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}
.product-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.product-card .badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--color-primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  z-index: 2;
}
.product-card .badge.sale { background: var(--color-error); }
.product-card .image-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--color-bg-alt);
  overflow: hidden;
}
.product-card .image-wrap > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .image-wrap > img { transform: scale(1.06); }
.product-card .info { padding: 14px 16px 18px; display: flex; flex-direction: column; flex: 1; }
.product-card .brand {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--color-text-muted);
  margin-bottom: 6px;
}
.product-card h3 {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 39px;
}
.product-card .image-wrap {
  position: relative;
}
.product-card .image-wrap::after {
  content: "View product →";
  position: absolute;
  right: 12px;
  bottom: 12px;
  background: rgba(0, 0, 0, 0.68);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  padding: 7px 11px;
  border-radius: var(--radius-pill);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  backdrop-filter: blur(4px);
  pointer-events: none;
}
.product-card:hover .image-wrap::after,
.product-card:focus-within .image-wrap::after,
.product-card .image-wrap:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.product-card .rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--color-text-muted);
  font-size: 13px;
  margin-bottom: 10px;
}
.product-card .rating img,
.product-card .rating svg {
  width: 14px;
  height: 14px;
  object-fit: contain;
  flex: 0 0 14px;
  fill: var(--color-primary);
}
.product-card .add-btn img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex: 0 0 18px;
}
.product-card .add-btn img.cart-icon-invert { filter: invert(1); }
.product-card .price-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: auto;
}
.product-card .price { font-weight: 800; font-size: 18px; color: var(--color-text); }
.product-card .price.sale { color: var(--color-error); }
.product-card .add-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  flex-shrink: 0;
}
.product-card .add-btn:hover { background: var(--color-primary-dark); transform: scale(1.1); }
.product-card .add-btn svg { width: 18px; height: 18px; }

/* ---------- Value props ---------- */
.value-props {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  background: var(--color-bg-alt);
  padding: 40px;
  border-radius: var(--radius-lg);
}
.value-prop { display: flex; align-items: flex-start; gap: 16px; }
.value-prop .icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 48px;
}
.value-prop .icon img,
.value-prop .icon svg {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.value-prop h4 { font-family: var(--font-heading); font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.value-prop p { font-size: 14px; color: var(--color-text-muted); line-height: 1.4; }

/* ---------- Newsletter ---------- */
.newsletter {
  background: linear-gradient(135deg, #1a0d3a, #6c44f0);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  text-align: center;
}
.newsletter h3 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 8px;
}
.newsletter p { opacity: 0.9; margin-bottom: 28px; font-size: 17px; }
.newsletter form {
  display: flex;
  max-width: 480px;
  margin: 0 auto;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.newsletter input[type="email"] {
  flex: 1;
  min-width: 240px;
  padding: 14px 20px;
  border-radius: var(--radius-pill);
  border: none;
  background: #fff;
  color: var(--color-text);
  font-size: 15px;
}
.newsletter button {
  padding: 14px 28px;
  background: var(--color-black);
  color: #fff;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 15px;
  transition: all var(--transition);
}
.newsletter button:hover { background: #1f1f1f; transform: translateY(-1px); }
.newsletter .legal { margin-top: 16px; font-size: 12px; opacity: 0.7; }

/* =====================================================================
 * POINTS / ACCOUNT MODAL
 * ===================================================================== */
.account-modal {
  position: fixed;
  inset: 0;
  background: rgba(2, 2, 2, 0.6);
  backdrop-filter: blur(6px);
  z-index: 9980;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.account-modal.show { opacity: 1; pointer-events: auto; }
.account-card {
  background: #fff;
  border-radius: var(--radius-xl);
  max-width: 440px;
  width: 100%;
  padding: 36px;
  position: relative;
}
.account-card h2 {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 8px;
}
.account-card .points-display {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--color-primary-bg);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  margin: 16px 0 24px;
}
.account-card .points-display .num {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  color: var(--color-primary);
}
.account-card .form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}
.account-card label {
  font-size: 13px;
  font-weight: 600;
}
.account-card input {
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 15px;
}
.account-card input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-bg);
}
.account-card .primary-btn {
  width: 100%;
  margin-top: 8px;
  padding: 14px;
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 16px;
}
.account-card .primary-btn:hover { background: var(--color-primary-dark); }

.account-card .auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  background: var(--color-bg-alt);
  padding: 5px;
  border-radius: var(--radius-pill);
  margin: 16px 0 14px;
}
.account-card .auth-tab {
  border: 0;
  background: transparent;
  color: var(--color-text-muted);
  border-radius: var(--radius-pill);
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.account-card .auth-tab.active {
  background: #fff;
  color: var(--color-text);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
}
.account-card .auth-message {
  margin: 0 0 14px;
  padding: 11px 13px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  line-height: 1.45;
  background: var(--color-primary-bg);
  color: var(--color-text);
}
.account-card .auth-message.success {
  color: #1f6b3a;
  background: #ecf8f0;
}
.account-card .auth-message.error {
  color: #8b1e2d;
  background: #fff0f2;
}
.account-card .auth-tab:focus-visible,
.account-card input:focus-visible,
.account-card .primary-btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.account-card .toggle-link {
  margin-top: 14px;
  text-align: center;
  font-size: 14px;
  color: var(--color-primary);
  font-weight: 600;
  background: none;
  width: 100%;
}
.account-card .welcome-bonus {
  background: linear-gradient(135deg, var(--color-gold), #f59e0b);
  color: var(--color-black);
  padding: 16px;
  border-radius: var(--radius-md);
  margin: 16px 0;
  text-align: center;
}
.account-card .welcome-bonus strong {
  font-size: 24px;
  font-weight: 800;
  display: block;
  margin-bottom: 2px;
}

/* =====================================================================
 * FOOTER
 * ===================================================================== */
.site-footer {
  background: var(--color-black);
  color: #d4d4d4;
  padding: 64px 0 24px;
  margin-top: 64px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 48px;
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
.footer-col h5 {
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 18px;
  font-size: 14px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: #a1a1aa; font-size: 14px; }
.footer-col a:hover { color: #fff; }
.footer-brand img {
  height: 28px;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}
.footer-brand p { font-size: 14px; color: #a1a1aa; margin-bottom: 16px; max-width: 320px; line-height: 1.6; }
.footer-legal {
  border-top: 1px solid #2a2a2a;
  padding-top: 24px;
  font-size: 12px;
  color: #71717a;
  text-align: center;
  line-height: 1.6;
}
.footer-legal .disclaimer { margin-top: 16px; max-width: 900px; margin-left: auto; margin-right: auto; }

/* =====================================================================
 * AGE GATE
 * ===================================================================== */
.age-gate {
  position: fixed;
  inset: 0;
  background: rgba(2, 2, 2, 0.92);
  backdrop-filter: blur(12px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.age-gate[hidden] { display: none; }
.age-gate-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 48px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-xl);
}
.age-gate-logo { height: 36px; margin: 0 auto 24px; }
.age-gate h1 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 8px;
}
.age-gate p { color: var(--color-text-muted); margin-bottom: 28px; line-height: 1.55; }
.age-gate-actions { display: flex; flex-direction: column; gap: 12px; }
.age-gate-btn {
  width: 100%;
  padding: 16px 24px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 16px;
  transition: all var(--transition);
}
.age-gate-btn.yes { background: var(--color-primary); color: #fff; }
.age-gate-btn.yes:hover { background: var(--color-primary-dark); }
.age-gate-btn.no { background: var(--color-bg-alt); color: var(--color-text); }
.age-gate-btn.no:hover { background: #e5e7eb; }
.age-gate-legal { margin-top: 24px; font-size: 11px; color: var(--color-text-light); line-height: 1.5; }

/* =====================================================================
 * WELCOME COUPON MODAL
 * ===================================================================== */
.coupon-modal {
  position: fixed;
  inset: 0;
  background: rgba(2, 2, 2, 0.6);
  backdrop-filter: blur(6px);
  z-index: 9990;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.coupon-modal.show { opacity: 1; pointer-events: auto; }
.coupon-card {
  background: #fff;
  border-radius: var(--radius-xl);
  max-width: 460px;
  width: 100%;
  padding: 40px;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s ease;
  text-align: center;
}
.coupon-modal.show .coupon-card { transform: scale(1); }
.coupon-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
}
.coupon-close:hover { background: var(--color-bg-alt); color: var(--color-text); }
.coupon-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-primary-bg);
  color: var(--color-primary);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.coupon-card h2 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 8px;
  line-height: 1.1;
}
.coupon-card h2 .discount { color: var(--color-primary); }
.coupon-card p { color: var(--color-text-muted); margin-bottom: 24px; line-height: 1.5; }
.coupon-form { display: flex; gap: 10px; }
.coupon-form input {
  flex: 1;
  padding: 14px 18px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  font-size: 15px;
}
.coupon-form input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(108, 68, 240, 0.15);
}
.coupon-form button {
  padding: 14px 24px;
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 15px;
  transition: all var(--transition);
}
.coupon-form button:hover { background: var(--color-primary-dark); }
.coupon-decline {
  margin-top: 12px;
  font-size: 13px;
  color: var(--color-text-light);
  background: none;
  padding: 6px 10px;
}
.coupon-decline:hover { color: var(--color-text-muted); }
.coupon-success {
  background: linear-gradient(135deg, #16a34a, #22c55e);
  color: #fff;
  padding: 20px;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
}
.coupon-success h3 { font-family: var(--font-heading); font-size: 20px; font-weight: 800; margin-bottom: 4px; }
.coupon-success p { color: rgba(255, 255, 255, 0.95); margin: 0; font-size: 14px; }
.coupon-code-box {
  background: var(--color-bg-alt);
  padding: 18px;
  border-radius: var(--radius-md);
  margin-top: 16px;
  border: 2px dashed var(--color-primary);
}
.coupon-code-box .label {
  font-size: 11px;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 700;
  margin-bottom: 6px;
}
.coupon-code-box .code {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--color-primary);
}
.coupon-code-box .copy {
  margin-top: 8px;
  background: var(--color-primary);
  color: #fff;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* =====================================================================
 * CART DRAWER
 * ===================================================================== */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 2, 2, 0.5);
  z-index: 9000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.drawer-overlay.open { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 420px;
  background: #fff;
  z-index: 9001;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xl);
}
.cart-drawer.open { transform: translateX(0); }
.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--color-border);
}
.cart-drawer-header h3 { font-family: var(--font-heading); font-size: 20px; font-weight: 800; }
.cart-drawer-body { flex: 1; overflow-y: auto; padding: 16px 24px; }
.cart-line {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
  align-items: flex-start;
}
.cart-line img { width: 80px; height: 80px; border-radius: var(--radius-sm); object-fit: cover; }
.cart-line h4 { font-size: 14px; font-weight: 600; line-height: 1.3; margin-bottom: 4px; }
.cart-line .variant { font-size: 12px; color: var(--color-text-light); margin-bottom: 8px; }
.cart-line .qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  overflow: hidden;
}
.cart-line .qty button {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
}
.cart-line .qty button:hover { background: var(--color-bg-alt); }
.cart-line .qty input { width: 32px; height: 28px; text-align: center; border: none; font-size: 13px; font-weight: 600; }
.cart-line .remove { background: none; font-size: 12px; color: var(--color-text-light); margin-top: 4px; text-decoration: underline; }
.cart-line .remove:hover { color: var(--color-error); }
.cart-line .price { font-weight: 700; font-size: 15px; }
.cart-empty { text-align: center; padding: 60px 24px; color: var(--color-text-muted); }
.cart-empty h4 { font-family: var(--font-heading); font-size: 18px; font-weight: 700; color: var(--color-text); margin-bottom: 6px; }
.cart-drawer-footer { border-top: 1px solid var(--color-border); padding: 20px 24px; background: var(--color-bg-alt); }
.cart-shipping-pick { display: flex; gap: 10px; margin-bottom: 14px; }
.cart-shipping-pick label {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px;
  background: #fff;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition);
}
.cart-shipping-pick label.active { border-color: var(--color-primary); background: var(--color-primary-bg); }
.cart-shipping-pick input { display: none; }
.cart-shipping-pick .label { font-size: 12px; font-weight: 700; color: var(--color-text); text-transform: uppercase; }
.cart-shipping-pick .price { font-size: 16px; font-weight: 800; color: var(--color-primary); }
.cart-shipping-pick .desc { font-size: 11px; color: var(--color-text-muted); }
.cart-summary-row { display: flex; justify-content: space-between; margin-bottom: 6px; font-size: 14px; color: var(--color-text-muted); }
.cart-summary-row.total { font-size: 18px; font-weight: 800; color: var(--color-text); margin-top: 8px; padding-top: 12px; border-top: 1px solid #d4d4d8; }
.cart-checkout-btn {
  width: 100%;
  margin-top: 16px;
  padding: 16px;
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 16px;
  transition: all var(--transition);
}
.cart-checkout-btn:hover { background: var(--color-primary-dark); }
.cart-bump-note { font-size: 11px; color: var(--color-text-muted); margin-top: 8px; text-align: center; font-style: italic; }

/* =====================================================================
 * SHOP / LISTING PAGE
 * ===================================================================== */
.shop-header { background: var(--color-bg-alt); padding: 32px 0; margin-bottom: 32px; }
.shop-header h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 6px;
}
.shop-header p { color: var(--color-text-muted); font-size: 17px; }
.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}
.shop-toolbar select {
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border);
  font-size: 14px;
  font-weight: 500;
  background: #fff;
  cursor: pointer;
}

/* =====================================================================
 * PRODUCT DETAIL
 * ===================================================================== */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  padding: 40px 0;
}
@media (max-width: 900px) { .product-detail { grid-template-columns: 1fr; } }
.pd-gallery .main-img {
  aspect-ratio: 1 / 1;
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.pd-gallery .main-img img { width: 100%; height: 100%; object-fit: cover; }
.pd-info .brand {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.pd-info h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 16px;
}
.pd-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 14px;
  color: var(--color-text-muted);
}
.pd-rating .stars { display: inline-flex; gap: 2px; }
.pd-rating .stars svg { width: 14px; height: 14px; fill: var(--color-primary); }
.pd-price-block {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 24px;
}
.pd-price-block .now {
  font-size: 36px;
  font-weight: 800;
  color: var(--color-text);
}
.pd-price-block .now.sale { color: var(--color-error); }
.pd-price-block .compare {
  font-size: 18px;
  color: var(--color-text-light);
  text-decoration: line-through;
}
.pd-variants { margin-bottom: 24px; }
.pd-variants .label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}
.pd-variant-options { display: flex; flex-wrap: wrap; gap: 10px; }
.pd-variant-options button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  background: #fff;
  transition: all var(--transition);
}
.pd-variant-options button.active {
  border-color: var(--color-primary);
  background: var(--color-primary-bg);
  color: var(--color-primary);
}
.pd-variant-options .swatch {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.1);
}
.pd-shipping-pick {
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 24px;
}
.pd-shipping-pick h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}
.pd-shipping-pick .option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid #e5e7eb;
}
.pd-shipping-pick .option:first-of-type { border-top: none; }
.pd-shipping-pick .option input { width: 18px; height: 18px; accent-color: var(--color-primary); }
.pd-shipping-pick .option .meta { flex: 1; }
.pd-shipping-pick .option .meta strong { display: block; font-size: 15px; }
.pd-shipping-pick .option .meta span { font-size: 13px; color: var(--color-text-muted); }
.pd-shipping-pick .option .price { font-weight: 800; font-size: 16px; color: var(--color-primary); }
.pd-qty-row { display: flex; gap: 16px; align-items: center; margin-bottom: 24px; }
.pd-qty-row .qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  overflow: hidden;
}
.pd-qty-row .qty button { width: 44px; height: 44px; font-size: 18px; font-weight: 700; }
.pd-qty-row .qty button:hover { background: var(--color-bg-alt); }
.pd-qty-row .qty input { width: 48px; height: 44px; text-align: center; border: none; font-weight: 700; }
.pd-add-btn {
  flex: 1;
  padding: 14px 24px;
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 16px;
  transition: all var(--transition);
}
.pd-add-btn:hover { background: var(--color-primary-dark); transform: translateY(-1px); }
.pd-description {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* =====================================================================
 * CHECKOUT PAGE
 * ===================================================================== */
.checkout-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  padding: 40px 0;
}
@media (max-width: 900px) { .checkout-grid { grid-template-columns: 1fr; } }
.checkout-section {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 24px;
}
.checkout-section h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.checkout-section h3 .step {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.form-row.single { grid-template-columns: 1fr; }
.form-row label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
}
.form-row input, .form-row select {
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 15px;
}
.form-row input:focus, .form-row select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(108, 68, 240, 0.15);
}
.checkout-summary {
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: sticky;
  top: 132px;
}
.checkout-summary h3 { font-family: var(--font-heading); font-size: 18px; font-weight: 800; margin-bottom: 16px; }
.summary-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #e5e7eb;
  font-size: 14px;
}
.summary-line:last-of-type { border-bottom: none; }
.summary-line .name { flex: 1; }
.summary-line .name small { display: block; color: var(--color-text-light); font-size: 12px; }
.summary-line .price { font-weight: 700; }
.checkout-totals {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 2px solid var(--color-text);
}
.checkout-totals .row { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 15px; }
.checkout-totals .row.total { font-size: 20px; font-weight: 800; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--color-border); }
.checkout-pay-btn {
  width: 100%;
  margin-top: 20px;
  padding: 16px;
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 16px;
}
.checkout-pay-btn:hover { background: var(--color-primary-dark); }
.checkout-trust { margin-top: 16px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 12px; color: var(--color-text-muted); }

/* =====================================================================
 * FLOATING CHAT BUBBLE
 * ===================================================================== */
.chat-bubble {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 100;
  transition: transform var(--transition);
}
.chat-bubble:hover { transform: scale(1.06); background: var(--color-primary-dark); }
.chat-bubble svg { width: 24px; height: 24px; }

/* =====================================================================
 * UTILITIES
 * ===================================================================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.fade-in { animation: fadeIn 0.3s ease; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.shake { animation: shake 0.4s; }
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}


/* ---------- Responsive masthead ---------- */
@media (max-width: 900px) {
  .header-inner { padding: 12px 16px 10px; }
  .header-row {
    grid-template-columns: 1fr auto;
    gap: 10px 14px;
  }
  .brand-link { grid-column: 1; grid-row: 1; min-width: 0; }
  .header-actions { grid-column: 2; grid-row: 1; }
  .header-search {
    grid-column: 1 / -1;
    grid-row: 2;
    max-width: none;
  }
  .header-cats {
    margin-top: 10px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .header-cats::-webkit-scrollbar { display: none; }
  .cats-list {
    justify-content: flex-start;
    gap: 24px;
    padding: 12px 2px;
    min-width: max-content;
  }
  .cats-list a { font-size: 15px; }
  .cats-list li.has-dropdown .cat-dropdown {
    left: 0;
    transform: translateY(-4px);
  }
  .cats-list li.has-dropdown:hover .cat-dropdown,
  .cats-list li.has-dropdown:focus-within .cat-dropdown {
    transform: translateY(0);
  }
}

/* ---------- Product image fallback ---------- */
.product-card .image-wrap { background: #f1f2f4; }
@media (hover: none), (pointer: coarse) {
  .product-card .image-wrap::after {
    opacity: 1;
    transform: none;
    background: rgba(0, 0, 0, 0.6);
  }
}
.pd-gallery .main-img { background: #f1f2f4; }

.legal-meta { color: var(--color-text-light); font-size: 13px; }
