/* ============================================
   PREMIUM — "Clean Luxury Wellness"
   DM Serif Display + Plus Jakarta Sans
   ============================================ */

/* ---------- 1. CSS Variables ---------- */
:root {
  /* Typography */
  --font-display: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Primary — overridden per-site in <style> block */
  --primary: #06D6A0;
  --primary-light: color-mix(in srgb, var(--primary) 12%, #fff);
  --primary-dark: color-mix(in srgb, var(--primary) 85%, #000);
  --primary-10: color-mix(in srgb, var(--primary) 10%, transparent);
  --primary-20: color-mix(in srgb, var(--primary) 20%, transparent);

  /* Secondary / dark — overridden per-site */
  --secondary: #1E293B;

  /* Neutral palette */
  --bg-body: #FAFAF8;
  --bg-card: #FFFFFF;
  --bg-alt: #F3F4F6;
  --bg-dark: #0F172A;
  --text-heading: #111827;
  --text-body: #374151;
  --text-secondary: #6B7280;
  --text-muted: #9CA3AF;
  --text-inverse: #F9FAFB;

  /* Accents */
  --accent-warm: #F59E0B;
  --accent-red: #EF4444;
  --accent-green: #10B981;

  /* Borders & Shadows */
  --border: #E5E7EB;
  --border-light: #F3F4F6;
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.07);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.10);
  --shadow-xl: 0 24px 60px rgba(0,0,0,0.14);

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Easing */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast: 150ms;
  --dur-normal: 250ms;
  --dur-slow: 450ms;

  /* Container */
  --container-max: 1280px;
  --container-px: clamp(1rem, 4vw, 2rem);
}

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

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

body.premium-theme {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-body);
  background-color: var(--bg-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; transition: color var(--dur-normal) ease; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

/* ---------- 3. Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text-heading);
  line-height: 1.2;
  font-weight: 400;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

strong, b { font-weight: 700; }

/* ---------- 4. Layout ---------- */
.pm-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-px);
  padding-right: var(--container-px);
}

.pm-section {
  padding: var(--space-4xl) 0;
}

.pm-section--alt {
  background: var(--bg-alt);
}

.pm-section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.pm-section-header h2 {
  margin-bottom: var(--space-sm);
}

.pm-section-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ---------- 5. Header ---------- */
.pm-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 248, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-normal) ease, box-shadow var(--dur-normal) ease;
}

.pm-header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.pm-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--space-md) var(--container-px);
  height: 72px;
}

.pm-header__logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--text-heading);
  letter-spacing: -0.01em;
  flex-shrink: 0;
}

.pm-header__nav {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.pm-header__nav a {
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.01em;
  position: relative;
  padding: var(--space-xs) 0;
}

.pm-header__nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
  transition: width var(--dur-normal) var(--ease-out);
}

.pm-header__nav a:hover { color: var(--text-heading); }
.pm-header__nav a:hover::after { width: 100%; }

/* Dropdown */
.pm-dropdown {
  position: relative;
}

.pm-dropdown__trigger {
  display: flex;
  align-items: center;
  gap: 4px;
}

.pm-dropdown__trigger svg {
  width: 14px;
  height: 14px;
  transition: transform var(--dur-fast) ease;
}

.pm-dropdown:hover .pm-dropdown__trigger svg { transform: rotate(180deg); }

.pm-dropdown__menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 200px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: var(--space-sm) 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--dur-fast) ease, transform var(--dur-fast) ease, visibility var(--dur-fast) ease;
}

.pm-dropdown:hover .pm-dropdown__menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.pm-dropdown__menu a {
  display: block;
  padding: var(--space-sm) var(--space-lg);
  font-size: 0.9rem;
  color: var(--text-body);
}

.pm-dropdown__menu a:hover {
  background: var(--bg-alt);
  color: var(--primary);
}

.pm-dropdown__menu a::after { display: none; }

/* Cart icon */
.pm-header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.pm-header__cart {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  transition: background var(--dur-fast) ease;
}

.pm-header__cart:hover { background: var(--bg-alt); }

.pm-header__cart svg {
  width: 22px;
  height: 22px;
  stroke: var(--text-heading);
  stroke-width: 1.8;
  fill: none;
}

.pm-header__cart-count {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  background: var(--primary);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Hamburger */
.pm-header__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: var(--radius-sm);
}

.pm-header__hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-heading);
  border-radius: 2px;
  transition: transform var(--dur-normal) ease, opacity var(--dur-fast) ease;
}

.pm-header__hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.pm-header__hamburger.active span:nth-child(2) { opacity: 0; }
.pm-header__hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.pm-mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-card);
  z-index: 99;
  transform: translateX(-100%);
  transition: transform var(--dur-slow) var(--ease-out);
  overflow-y: auto;
  padding: 80px var(--container-px) var(--space-3xl);
}

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

.pm-mobile-menu a {
  display: block;
  font-size: 1.25rem;
  font-weight: 500;
  padding: var(--space-md) 0;
  color: var(--text-heading);
  border-bottom: 1px solid var(--border-light);
}

.pm-mobile-menu__cats {
  padding-top: var(--space-md);
}

.pm-mobile-menu__cats a {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-secondary);
  padding: var(--space-sm) 0 var(--space-sm) var(--space-lg);
}

/* ---------- 6. Hero Banner ---------- */
.pm-hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 25% 40%, color-mix(in srgb, var(--primary) 25%, transparent) 0%, transparent 55%),
    radial-gradient(ellipse at 75% 70%, color-mix(in srgb, var(--primary) 12%, transparent) 0%, transparent 50%),
    linear-gradient(160deg, var(--bg-dark) 0%, color-mix(in srgb, var(--secondary) 90%, #000) 100%);
}

.pm-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
}

/* Decorative shapes */
.pm-hero__shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.pm-hero__shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.07;
  background: var(--primary);
  filter: blur(80px);
}

.pm-hero__shape--1 {
  width: 500px; height: 500px;
  top: -120px; right: -80px;
  animation: pmFloat 18s ease-in-out infinite;
}

.pm-hero__shape--2 {
  width: 350px; height: 350px;
  bottom: -60px; left: 10%;
  animation: pmFloat 22s ease-in-out infinite reverse;
}

.pm-hero__shape--3 {
  width: 200px; height: 200px;
  top: 40%; left: 60%;
  opacity: 0.04;
  animation: pmFloat 15s ease-in-out infinite 3s;
}

@keyframes pmFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -30px) scale(1.05); }
  66% { transform: translate(-15px, 15px) scale(0.97); }
}

.pm-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 720px;
  padding: var(--space-4xl) var(--container-px);
}

.pm-hero__eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary);
  margin-bottom: var(--space-lg);
  padding: var(--space-xs) var(--space-lg);
  border: 1px solid color-mix(in srgb, var(--primary) 30%, transparent);
  border-radius: var(--radius-full);
}

.pm-hero__title {
  color: #fff;
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: var(--space-lg);
  letter-spacing: -0.02em;
}

.pm-hero__subtitle {
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: var(--space-2xl);
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.pm-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-2xl);
  background: var(--primary);
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--dur-normal) var(--ease-out);
  box-shadow: 0 4px 20px color-mix(in srgb, var(--primary) 40%, transparent);
}

.pm-hero__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px color-mix(in srgb, var(--primary) 50%, transparent);
  color: #fff;
}

.pm-hero__cta svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  transition: transform var(--dur-normal) ease;
}

.pm-hero__cta:hover svg { transform: translateX(3px); }

/* ---------- 7. Product Cards ---------- */
.pm-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: transform var(--dur-slow) var(--ease-out), box-shadow var(--dur-slow) var(--ease-out);
  display: flex;
  flex-direction: column;
}

.pm-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.pm-card__link {
  display: block;
  flex: 1;
}

.pm-card__image {
  aspect-ratio: 1;
  background: var(--bg-alt);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
}

.pm-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform var(--dur-slow) var(--ease-out);
}

.pm-card:hover .pm-card__image img { transform: scale(1.06); }

.pm-card__body {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.pm-card__category {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  background: var(--primary-10);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  width: fit-content;
}

.pm-card__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--text-heading);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pm-card__price {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-top: auto;
}

.pm-card__price del {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-decoration: line-through;
}

.pm-card__price ins {
  text-decoration: none;
  color: var(--primary-dark);
  font-size: 1.1rem;
  font-weight: 700;
}

.pm-card__price .pm-price-single {
  color: var(--text-heading);
  font-size: 1.1rem;
  font-weight: 700;
}

.pm-card__cta {
  display: block;
  text-align: center;
  padding: var(--space-md) var(--space-lg);
  margin: 0 var(--space-lg) var(--space-lg);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-dark);
  background: var(--primary-light);
  border-radius: var(--radius-full);
  transition: all var(--dur-normal) ease;
}

.pm-card__cta:hover {
  background: var(--primary);
  color: #fff;
}

/* ---------- 8. Product Grid ---------- */
.pm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: var(--space-xl);
}

.pm-grid--3 { grid-template-columns: repeat(3, 1fr); }
.pm-grid--4 { grid-template-columns: repeat(4, 1fr); }

/* Shop/Category page */
.pm-shop-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

.pm-shop-header__info {
  display: flex;
  align-items: baseline;
  gap: var(--space-md);
}

.pm-shop-header__count {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.pm-sort-select {
  font-family: var(--font-body);
  font-size: 0.875rem;
  padding: var(--space-sm) var(--space-xl) var(--space-sm) var(--space-md);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--text-body);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}

/* Category pills */
.pm-cat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-2xl);
}

.pm-cat-pill {
  font-size: 0.85rem;
  font-weight: 500;
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  transition: all var(--dur-normal) ease;
}

.pm-cat-pill:hover,
.pm-cat-pill.active {
  border-color: var(--primary);
  background: var(--primary-10);
  color: var(--primary-dark);
}

/* Pagination */
.pm-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  margin-top: var(--space-3xl);
}

.pm-pagination__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 var(--space-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all var(--dur-fast) ease;
  cursor: pointer;
}

.pm-pagination__btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.pm-pagination__btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.pm-pagination__btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

/* ---------- 9. Product Detail ---------- */
.pm-product-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
  padding: var(--space-2xl) 0 var(--space-4xl);
}

.pm-product-gallery {
  position: sticky;
  top: 96px;
}

.pm-product-gallery__main {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: zoom-in;
  padding: var(--space-xl);
}

.pm-product-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform var(--dur-slow) var(--ease-out);
}

.pm-product-gallery__main:hover img { transform: scale(1.08); }

.pm-product-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.pm-product-info__category {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
}

.pm-product-info__title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin: 0;
}

.pm-product-info__short {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
}

.pm-product-info__price {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.pm-product-info__price del {
  font-size: 1.1rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.pm-product-info__price ins {
  text-decoration: none;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-heading);
}

.pm-product-info__price .pm-price-single {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-heading);
}

.pm-badge-discount {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  background: var(--accent-warm);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: var(--radius-full);
}

/* CTA Button */
.pm-product-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  width: 100%;
  padding: var(--space-lg) var(--space-2xl);
  background: var(--primary);
  color: #fff;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  transition: all var(--dur-normal) ease;
  box-shadow: 0 4px 20px color-mix(in srgb, var(--primary) 35%, transparent);
}

.pm-product-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px color-mix(in srgb, var(--primary) 45%, transparent);
  color: #fff;
}

.pm-product-cta svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.pm-product-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.pm-product-meta span { font-family: var(--font-body); }

/* Trust Badges */
.pm-trust {
  display: flex;
  gap: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border-light);
}

.pm-trust__item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.pm-trust__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  stroke: var(--primary);
  stroke-width: 1.8;
  fill: none;
}

/* ---------- 10. Description Sections ---------- */
.pm-description {
  padding: var(--space-4xl) 0;
}

.pm-description h2 {
  padding-top: var(--space-3xl);
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-md);
  border-bottom: 2px solid var(--primary-10);
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.pm-description h2:first-child {
  padding-top: 0;
}

.pm-description p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-body);
  max-width: 75ch;
}

.pm-description strong {
  color: var(--text-heading);
}

/* Benefits list → grid cards */
.pm-description ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-md);
  padding: 0;
  margin: var(--space-md) 0 var(--space-xl);
}

.pm-description ul li {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-lg) var(--space-xl);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-body);
  position: relative;
  padding-left: calc(var(--space-xl) + 28px);
  transition: border-color var(--dur-normal) ease, box-shadow var(--dur-normal) ease;
}

.pm-description ul li:hover {
  border-color: var(--primary-20);
  box-shadow: var(--shadow-sm);
}

.pm-description ul li::before {
  content: '';
  position: absolute;
  left: var(--space-xl);
  top: calc(var(--space-lg) + 4px);
  width: 18px;
  height: 18px;
  background: var(--primary-light);
  border-radius: var(--radius-full);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2306D6A0' stroke-width='3'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
}

/* Ordered list → numbered steps */
.pm-description ol {
  counter-reset: step;
  padding: 0;
  margin: var(--space-xl) 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.pm-description ol li {
  counter-increment: step;
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
  font-size: 1rem;
  line-height: 1.7;
}

.pm-description ol li::before {
  content: counter(step);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.1rem;
  border-radius: var(--radius-full);
}

/* Testimonials */
.pm-description blockquote {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  margin: var(--space-md) 0;
  position: relative;
  font-style: normal;
  line-height: 1.7;
}

.pm-description blockquote::before {
  content: '';
  position: absolute;
  top: var(--space-lg);
  left: var(--space-xl);
  width: 32px;
  height: 24px;
  opacity: 0.15;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23111827'%3E%3Cpath d='M14.017 21v-7.391c0-5.704 3.731-9.57 8.983-10.609l.995 2.151c-2.432.917-3.995 3.638-3.995 5.849h4v10H14.017zM0 21v-7.391c0-5.704 3.731-9.57 8.983-10.609l.995 2.151C7.546 6.068 5.983 8.789 5.983 11H10v10H0z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.pm-description blockquote p {
  padding-left: var(--space-2xl);
  font-size: 1rem;
}

.pm-description blockquote cite,
.pm-description blockquote .author {
  display: block;
  padding-left: var(--space-2xl);
  margin-top: var(--space-md);
  font-style: normal;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-heading);
}

/* Description CTA button */
.pm-description .description-cta {
  margin: var(--space-3xl) 0 var(--space-xl);
  text-align: center;
}

.pm-description .description-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  width: 100%;
  padding: var(--space-lg) var(--space-2xl);
  background: var(--primary);
  color: #fff;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all var(--dur-normal) ease;
  box-shadow: 0 4px 20px color-mix(in srgb, var(--primary) 35%, transparent);
}

.pm-description .description-cta a:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px color-mix(in srgb, var(--primary) 45%, transparent);
  color: #fff;
}

/* ---------- 11. Related Products ---------- */
.pm-related {
  background: var(--bg-alt);
  padding: var(--space-4xl) 0;
}

.pm-related h2 {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

/* ---------- 12. Footer ---------- */
.pm-footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--space-4xl) 0 0;
}

.pm-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  padding-bottom: var(--space-3xl);
}

.pm-footer__brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: var(--space-md);
  display: block;
}

.pm-footer__desc {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: var(--space-lg);
  max-width: 280px;
}

.pm-footer__heading {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: var(--space-lg);
}

.pm-footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.pm-footer__links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--dur-fast) ease;
}

.pm-footer__links a:hover { color: #fff; }

.pm-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: var(--space-lg) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pm-footer__copy {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
}

.pm-footer__locale {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ---------- 13. Breadcrumbs ---------- */
.pm-breadcrumb {
  padding: var(--space-lg) 0;
}

.pm-breadcrumb__list {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.pm-breadcrumb__list a {
  color: var(--text-secondary);
  transition: color var(--dur-fast) ease;
}

.pm-breadcrumb__list a:hover { color: var(--primary); }

.pm-breadcrumb__sep {
  color: var(--border);
  font-size: 0.75rem;
}

/* ---------- 14. Buttons & Forms ---------- */
.pm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-family: var(--font-body);
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--dur-normal) ease;
  cursor: pointer;
  border: none;
  line-height: 1;
}

.pm-btn--primary {
  background: var(--primary);
  color: #fff;
  padding: var(--space-md) var(--space-2xl);
  font-size: 0.95rem;
}

.pm-btn--primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  color: #fff;
}

.pm-btn--outline {
  background: transparent;
  color: var(--primary);
  padding: var(--space-md) var(--space-2xl);
  font-size: 0.95rem;
  border: 2px solid var(--primary);
}

.pm-btn--outline:hover {
  background: var(--primary);
  color: #fff;
}

.pm-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

/* Form elements */
.pm-input {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: var(--space-md) var(--space-lg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--text-body);
  width: 100%;
  transition: border-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
}

.pm-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-10);
}

textarea.pm-input { resize: vertical; min-height: 120px; }

.pm-form-group {
  margin-bottom: var(--space-lg);
}

.pm-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: var(--space-sm);
}

/* ---------- 15. Categories grid (homepage) ---------- */
.pm-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--space-lg);
}

.pm-cat-card {
  position: relative;
  padding: var(--space-2xl) var(--space-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all var(--dur-normal) var(--ease-out);
  overflow: hidden;
}

.pm-cat-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform var(--dur-normal) var(--ease-out);
}

.pm-cat-card:hover {
  border-color: var(--primary-20);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.pm-cat-card:hover::before { transform: scaleX(1); }

.pm-cat-card__name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--text-heading);
  margin-bottom: var(--space-xs);
}

.pm-cat-card__count {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ---------- 16. Content pages ---------- */
.pm-page {
  padding: var(--space-3xl) 0 var(--space-4xl);
}

.pm-page__header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.pm-page__header h1 {
  margin-bottom: var(--space-md);
}

.pm-page__header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.pm-page__content {
  max-width: 780px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.8;
}

.pm-page__content h2 {
  margin-top: var(--space-3xl);
  margin-bottom: var(--space-md);
}

.pm-page__content h3 {
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
}

.pm-page__content ul, .pm-page__content ol {
  padding-left: var(--space-xl);
  margin-bottom: var(--space-lg);
}

.pm-page__content ul { list-style: disc; }
.pm-page__content ol { list-style: decimal; }
.pm-page__content li { margin-bottom: var(--space-sm); }

.pm-page__content a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Contact form */
.pm-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  max-width: 900px;
  margin: 0 auto;
}

.pm-contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.pm-contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.pm-contact-info__icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
}

.pm-contact-info__icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--primary);
  stroke-width: 1.8;
  fill: none;
}

/* Cart page */
.pm-cart-empty {
  text-align: center;
  padding: var(--space-5xl) 0;
}

.pm-cart-empty svg {
  width: 64px;
  height: 64px;
  stroke: var(--text-muted);
  stroke-width: 1.5;
  fill: none;
  margin: 0 auto var(--space-lg);
}

/* 404 */
.pm-404 {
  text-align: center;
  padding: var(--space-5xl) 0;
}

.pm-404__code {
  font-family: var(--font-display);
  font-size: clamp(5rem, 15vw, 12rem);
  color: var(--border);
  line-height: 1;
  margin-bottom: var(--space-lg);
}

.pm-404 h1 {
  margin-bottom: var(--space-md);
}

.pm-404 p {
  color: var(--text-secondary);
  margin-bottom: var(--space-2xl);
  font-size: 1.1rem;
}

/* ---------- 17. Scroll Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children (cards in grids) */
.pm-grid .reveal:nth-child(1) { --reveal-delay: 0s; }
.pm-grid .reveal:nth-child(2) { --reveal-delay: 0.06s; }
.pm-grid .reveal:nth-child(3) { --reveal-delay: 0.12s; }
.pm-grid .reveal:nth-child(4) { --reveal-delay: 0.18s; }
.pm-grid .reveal:nth-child(5) { --reveal-delay: 0.24s; }
.pm-grid .reveal:nth-child(6) { --reveal-delay: 0.30s; }
.pm-grid .reveal:nth-child(7) { --reveal-delay: 0.36s; }
.pm-grid .reveal:nth-child(8) { --reveal-delay: 0.42s; }

/* Hero entrance */
.pm-hero .pm-hero__eyebrow {
  opacity: 0;
  transform: translateY(20px);
  animation: pmFadeUp 0.7s var(--ease-out) 0.2s forwards;
}

.pm-hero .pm-hero__title {
  opacity: 0;
  transform: translateY(20px);
  animation: pmFadeUp 0.7s var(--ease-out) 0.4s forwards;
}

.pm-hero .pm-hero__subtitle {
  opacity: 0;
  transform: translateY(20px);
  animation: pmFadeUp 0.7s var(--ease-out) 0.55s forwards;
}

.pm-hero .pm-hero__cta {
  opacity: 0;
  transform: translateY(20px);
  animation: pmFadeUp 0.7s var(--ease-out) 0.7s forwards;
}

@keyframes pmFadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- 18. Lightbox ---------- */
.pm-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-normal) ease, visibility var(--dur-normal) ease;
  cursor: zoom-out;
}

.pm-lightbox.active {
  opacity: 1;
  visibility: visible;
}

.pm-lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-md);
}

/* ---------- 19. Mobile sticky CTA ---------- */
.pm-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  padding: var(--space-md) var(--container-px);
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}

.pm-sticky-cta .pm-product-cta {
  font-size: 0.95rem;
  padding: var(--space-md);
}

/* ---------- 20. Responsive — Tablet ---------- */
@media (max-width: 1024px) {
  .pm-product-top {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .pm-product-gallery { position: static; }

  .pm-grid--4 { grid-template-columns: repeat(3, 1fr); }

  .pm-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }

  .pm-trust { flex-wrap: wrap; gap: var(--space-md); }

  .pm-contact-grid { grid-template-columns: 1fr; }
}

/* ---------- 21. Responsive — Mobile ---------- */
@media (max-width: 768px) {
  .pm-header__nav { display: none; }
  .pm-header__hamburger { display: flex; }

  .pm-hero { min-height: 60vh; }
  .pm-hero__title { font-size: clamp(2rem, 8vw, 3rem); }

  .pm-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-md); }
  .pm-grid--3, .pm-grid--4 { grid-template-columns: repeat(2, 1fr); }

  .pm-card__body { padding: var(--space-md); }
  .pm-card__cta { margin: 0 var(--space-md) var(--space-md); padding: var(--space-sm) var(--space-md); font-size: 0.82rem; }

  .pm-description ul {
    grid-template-columns: 1fr;
  }

  .pm-footer__grid { grid-template-columns: 1fr 1fr; gap: var(--space-xl); }
  .pm-footer__grid > div:first-child { grid-column: 1 / -1; }

  .pm-categories-grid { grid-template-columns: repeat(2, 1fr); }

  .pm-section { padding: var(--space-3xl) 0; }

  .pm-shop-header { flex-direction: column; align-items: flex-start; }

  body.single-product .pm-sticky-cta { display: block; }
  body.single-product .pm-footer { padding-bottom: 80px; }
}

@media (max-width: 480px) {
  .pm-grid { grid-template-columns: 1fr; }
  .pm-grid--3, .pm-grid--4 { grid-template-columns: 1fr; }

  .pm-footer__grid { grid-template-columns: 1fr; }

  .pm-categories-grid { grid-template-columns: 1fr; }

  .pm-hero { min-height: 55vh; }

  .pm-product-info__price ins,
  .pm-product-info__price .pm-price-single { font-size: 1.5rem; }

  .pm-trust { flex-direction: column; }
}

/* ---------- 22. Print ---------- */
@media print {
  .pm-header, .pm-footer, .pm-sticky-cta { display: none; }
  body.premium-theme { background: #fff; }
  .reveal { opacity: 1; transform: none; }
}
