/* ============================================
   CRISTALLIN — "Medical-Natural Purity"
   Playfair Display + DM Sans
   ============================================ */

/* ---------- 1. CSS Variables ---------- */
:root {
  /* Typography */
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Primary — crystal blue */
  --primary: #4aa8d0;
  --primary-color: #4aa8d0;
  --primary-light: #e8f4fa;
  --primary-dark: #2d7da3;
  --primary-hover: #2d7da3;
  --primary-10: rgba(74, 168, 208, 0.10);
  --primary-20: rgba(74, 168, 208, 0.20);

  /* Secondary / dark */
  --secondary: #1a2a3a;

  /* Neutral palette — crystalline */
  --bg-body: #fafcfe;
  --bg-card: rgba(255, 255, 255, 0.82);
  --bg-card-solid: #ffffff;
  --bg-alt: #f0f5f9;
  --bg-dark: #0f1a26;
  --text-heading: #1a2a3a;
  --text-body: #3d4f5f;
  --text-secondary: #6b7f8f;
  --text-muted: #99aab8;
  --text-inverse: #f8fafc;

  /* Gold accent — subtle premium */
  --accent-gold: #d4a853;
  --accent-gold-light: rgba(212, 168, 83, 0.15);
  --accent-aqua: #6bc4e8;
  --accent-red: #e85d5d;
  --accent-green: #4dba87;

  /* Borders & Shadows — soft, crystalline */
  --border: #e0e8ef;
  --border-light: #edf2f7;
  --shadow-xs: 0 1px 2px rgba(26, 42, 58, 0.04);
  --shadow-sm: 0 1px 4px rgba(26, 42, 58, 0.05), 0 1px 2px rgba(26, 42, 58, 0.03);
  --shadow-md: 0 4px 20px rgba(26, 42, 58, 0.06);
  --shadow-lg: 0 8px 32px rgba(26, 42, 58, 0.08);
  --shadow-xl: 0 16px 48px rgba(26, 42, 58, 0.10);
  --shadow-card: 0 2px 16px rgba(74, 168, 208, 0.06), 0 1px 4px rgba(26, 42, 58, 0.04);
  --shadow-card-hover: 0 8px 32px rgba(74, 168, 208, 0.12), 0 2px 8px rgba(26, 42, 58, 0.06);

  /* Radii — slightly rounded, never harsh */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --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: 400ms;

  /* 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.cristallin-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.25;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

/* ---------- 4. Container ---------- */
.cr-container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-px);
  padding-right: var(--container-px);
}

/* ---------- 5. Scroll Reveal ---------- */
.reveal-cr {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.reveal-cr.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 6. Header / Nav ---------- */
.cr-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(250, 252, 254, 0.92);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow var(--dur-normal) ease, border-color var(--dur-normal) ease;
}
.cr-header.scrolled {
  box-shadow: 0 2px 16px rgba(26, 42, 58, 0.06);
  border-bottom-color: var(--border);
}

.cr-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
  height: 68px;
}

.cr-header__logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-heading);
  letter-spacing: -0.02em;
  white-space: nowrap;
  margin-right: var(--space-2xl);
}
.cr-header__logo:hover { color: var(--primary); }

.cr-header__nav {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}
.cr-header__nav > a,
.cr-dropdown__trigger {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--dur-fast) ease;
  display: flex;
  align-items: center;
  gap: 4px;
}
.cr-header__nav > a:hover,
.cr-dropdown__trigger:hover {
  color: var(--primary);
}
.cr-dropdown__trigger svg {
  width: 14px; height: 14px;
  transition: transform var(--dur-fast) ease;
}

/* Dropdown */
.cr-dropdown { position: relative; }
.cr-dropdown__menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-card-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: var(--space-sm) 0;
  padding-top: calc(var(--space-sm) + 8px);
  min-width: 180px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-fast) ease;
}
/* Invisible bridge to keep hover alive across gap */
.cr-dropdown__menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}
.cr-dropdown:hover .cr-dropdown__menu {
  opacity: 1;
  pointer-events: auto;
}
.cr-dropdown:hover .cr-dropdown__trigger svg { transform: rotate(180deg); }
.cr-dropdown__menu a {
  display: block;
  padding: var(--space-sm) var(--space-lg);
  font-size: 0.85rem;
  color: var(--text-body);
  transition: background var(--dur-fast) ease, color var(--dur-fast) ease;
}
.cr-dropdown__menu a:hover {
  background: var(--primary-10);
  color: var(--primary);
}

/* Header actions */
.cr-header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.cr-header__cart {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: var(--radius-full);
  background: var(--primary-10);
  transition: background var(--dur-fast) ease, transform var(--dur-fast) ease;
}
.cr-header__cart:hover {
  background: var(--primary-20);
  transform: scale(1.05);
}
.cr-header__cart svg {
  width: 18px; height: 18px;
  fill: none; stroke: var(--primary);
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.cr-header__cart-count {
  position: absolute;
  top: -2px; right: -2px;
  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;
  border: 2px solid var(--bg-body);
}

/* Hamburger */
.cr-header__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 10;
}
.cr-header__hamburger span {
  width: 22px; height: 2px;
  background: var(--text-heading);
  border-radius: 1px;
  transition: transform var(--dur-normal) ease, opacity var(--dur-fast) ease;
}
.cr-header__hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.cr-header__hamburger.active span:nth-child(2) { opacity: 0; }
.cr-header__hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile menu */
.cr-mobile-menu {
  position: fixed;
  top: 68px; left: 0; right: 0; bottom: 0;
  background: rgba(250, 252, 254, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: var(--space-2xl) var(--space-xl);
  gap: var(--space-md);
  transform: translateX(100%);
  transition: transform var(--dur-slow) var(--ease-out);
}
.cr-mobile-menu.open { transform: translateX(0); }
.cr-mobile-menu > a {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-heading);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--border-light);
}
.cr-mobile-menu__cats {
  display: flex;
  flex-direction: column;
  padding-left: var(--space-lg);
  gap: var(--space-xs);
}
.cr-mobile-menu__cats a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding: var(--space-xs) 0;
}

/* Currency dropdown */
.cs-dropdown { position: relative; }
.cs-dropdown__trigger {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  cursor: pointer;
  transition: border-color var(--dur-fast) ease;
}
.cs-dropdown__trigger:hover { border-color: var(--primary); }
.cs-dropdown__menu {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  background: var(--bg-card-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  min-width: 100px;
  padding: 4px 0;
  opacity: 0;
  pointer-events: none;
  z-index: 10;
  transition: opacity var(--dur-fast) ease;
}
.cs-dropdown:hover .cs-dropdown__menu,
.cs-dropdown:focus-within .cs-dropdown__menu {
  opacity: 1;
  pointer-events: auto;
}
.cs-dropdown__item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-body);
  transition: background var(--dur-fast) ease;
}
.cs-dropdown__item:hover { background: var(--primary-10); }
.cs-dropdown__item.cs-active { color: var(--primary); font-weight: 600; }

/* ---------- 7. Hero Banner ---------- */
.cr-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-5xl) var(--container-px);
  overflow: hidden;
  background: linear-gradient(160deg, #fafcfe 0%, #e8f4fa 40%, #f0f5f9 100%);
}

/* Decorative crystalline shapes */
.cr-hero__shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.cr-hero__shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
}
.cr-hero__shape--1 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(74, 168, 208, 0.3), transparent 70%);
  top: -10%; right: -5%;
}
.cr-hero__shape--2 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(107, 196, 232, 0.25), transparent 70%);
  bottom: -5%; left: 10%;
}
.cr-hero__shape--3 {
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(212, 168, 83, 0.15), transparent 70%);
  top: 20%; left: 60%;
}

.cr-hero__content {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.cr-hero__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--space-lg);
  padding: 6px 16px;
  background: rgba(74, 168, 208, 0.08);
  border-radius: var(--radius-full);
  border: 1px solid rgba(74, 168, 208, 0.15);
}

.cr-hero__title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.15;
  color: var(--text-heading);
  margin-bottom: var(--space-lg);
}

.cr-hero__subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-2xl);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.cr-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 32px;
  border-radius: var(--radius-md);
  transition: background var(--dur-normal) ease, transform var(--dur-fast) ease, box-shadow var(--dur-normal) ease;
  box-shadow: 0 4px 16px rgba(74, 168, 208, 0.25);
}
.cr-hero__cta:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(74, 168, 208, 0.35);
}
.cr-hero__cta svg {
  width: 18px; height: 18px;
  fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- 8. Sections ---------- */
.cr-section {
  padding: var(--space-4xl) 0;
}
.cr-section--alt {
  background: var(--bg-alt);
}

.cr-section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}
.cr-section-header h2 {
  margin-bottom: var(--space-sm);
}
.cr-section-header p {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 480px;
  margin: 0 auto;
}

/* ---------- 9. Product Grid ---------- */
.cr-grid {
  display: grid;
  gap: var(--space-xl);
}
.cr-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

/* ---------- 10. Product Cards — frosted glass, soft shadow ---------- */
.cr-card {
  position: relative;
  background: var(--bg-card);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--dur-normal) var(--ease-out), box-shadow var(--dur-normal) var(--ease-out), border-color var(--dur-normal) ease;
  box-shadow: var(--shadow-card);
}
.cr-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--border);
}

/* Shimmer overlay on hover */
.cr-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.5) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.6s var(--ease-out);
  pointer-events: none;
  z-index: 2;
}
.cr-card:hover::after {
  transform: translateX(100%);
}

.cr-card__link {
  display: block;
}

.cr-card__image {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--bg-alt);
}
.cr-card__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}
.cr-card:hover .cr-card__image img {
  transform: scale(1.04);
}

.cr-card__body {
  padding: var(--space-lg);
}

.cr-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);
  margin-bottom: var(--space-sm);
}

.cr-card__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-heading);
  line-height: 1.35;
  margin-bottom: var(--space-sm);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cr-card__price {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-heading);
}
.cr-card__price del {
  color: var(--text-muted);
  font-weight: 400;
  font-size: 0.85rem;
}
.cr-card__price ins {
  text-decoration: none;
  color: var(--primary);
  font-weight: 700;
}

/* Card CTA */
.cr-card__cta {
  display: block;
  text-align: center;
  padding: var(--space-md) var(--space-lg);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--primary);
  background: var(--primary-10);
  border-top: 1px solid var(--border-light);
  transition: background var(--dur-fast) ease, color var(--dur-fast) ease;
}
.cr-card__cta:hover {
  background: var(--primary);
  color: #fff;
}

/* ---------- 11. Buttons ---------- */
.cr-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  transition: all var(--dur-normal) ease;
}
.cr-btn svg {
  width: 16px; height: 16px;
  fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

.cr-btn--primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(74, 168, 208, 0.2);
}
.cr-btn--primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(74, 168, 208, 0.3);
}

.cr-btn--outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.cr-btn--outline:hover {
  background: var(--primary);
  color: #fff;
}

/* ---------- 12. Categories Grid ---------- */
.cr-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--space-lg);
}

.cr-cat-card {
  position: relative;
  background: var(--bg-card);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
  transition: transform var(--dur-normal) var(--ease-out), box-shadow var(--dur-normal) ease, border-color var(--dur-normal) ease;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.cr-cat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent-aqua));
  opacity: 0;
  transition: opacity var(--dur-normal) ease;
}
.cr-cat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-20);
}
.cr-cat-card:hover::before { opacity: 1; }

.cr-cat-card__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-heading);
  margin-bottom: var(--space-xs);
}
.cr-cat-card__count {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Category pills */
.cr-cat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-2xl);
}
.cr-cat-pill {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 7px 18px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: var(--bg-card-solid);
  transition: all var(--dur-fast) ease;
}
.cr-cat-pill:hover,
.cr-cat-pill.active {
  color: var(--primary);
  border-color: var(--primary);
  background: var(--primary-10);
}

/* ---------- 13. Shop / Category header ---------- */
.cr-shop-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
  padding-top: var(--space-2xl);
}
.cr-shop-header h1 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}
.cr-shop-header__count {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-left: var(--space-sm);
}
.cr-sort-select {
  font-family: var(--font-body);
  font-size: 0.85rem;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card-solid);
  color: var(--text-body);
  cursor: pointer;
  transition: border-color var(--dur-fast) ease;
}
.cr-sort-select:focus {
  outline: none;
  border-color: var(--primary);
}

/* ---------- 14. Breadcrumb ---------- */
.cr-breadcrumb {
  padding: var(--space-lg) 0 var(--space-sm);
}
.cr-breadcrumb__list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
  font-size: 0.82rem;
  color: var(--text-muted);
}
.cr-breadcrumb__list a {
  color: var(--text-secondary);
  transition: color var(--dur-fast) ease;
}
.cr-breadcrumb__list a:hover { color: var(--primary); }
.cr-breadcrumb__sep { color: var(--border); }

/* ---------- 15. Product Detail (PDP) ---------- */
.cr-product-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  padding: var(--space-xl) 0 var(--space-3xl);
}

.cr-product-gallery__main {
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  cursor: zoom-in;
}
.cr-product-gallery__main img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}
.cr-product-gallery__main:hover img {
  transform: scale(1.03);
}

.cr-product-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cr-product-info__category {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  background: var(--primary-10);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
  width: fit-content;
}

.cr-product-info__title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: var(--space-md);
}

.cr-product-info__short {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: var(--space-xl);
}

.cr-product-info__price {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
  font-size: 1.1rem;
}
.cr-product-info__price del {
  color: var(--text-muted);
  font-size: 1rem;
}
.cr-product-info__price ins {
  text-decoration: none;
  font-weight: 700;
  color: var(--primary);
  font-size: 1.5rem;
}

.cr-badge-discount {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-red);
  background: rgba(232, 93, 93, 0.08);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.cr-price-single {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text-heading);
}

/* Product CTA */
.cr-product-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  padding: 16px 36px;
  border-radius: var(--radius-md);
  transition: background var(--dur-normal) ease, transform var(--dur-fast) ease, box-shadow var(--dur-normal) ease;
  box-shadow: 0 4px 16px rgba(74, 168, 208, 0.2);
  width: 100%;
}
.cr-product-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(74, 168, 208, 0.35);
}
.cr-product-cta svg {
  width: 20px; height: 20px;
  fill: none; stroke: currentColor;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

/* Trust badges */
.cr-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border-light);
}
.cr-trust__item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-secondary);
}
.cr-trust__icon {
  width: 20px; height: 20px;
  fill: none;
  stroke: var(--primary);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.cr-product-meta {
  margin-top: var(--space-lg);
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ---------- 16. Description Section ---------- */
.cr-description {
  padding: var(--space-4xl) 0;
  background: var(--bg-alt);
}
.cr-description h2 {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  margin-bottom: var(--space-md);
  margin-top: var(--space-2xl);
  color: var(--text-heading);
}
.cr-description h2:first-child { margin-top: 0; }
.cr-description h3 {
  font-size: 1.1rem;
  margin-bottom: var(--space-sm);
  margin-top: var(--space-xl);
  color: var(--text-heading);
}
.cr-description p {
  margin-bottom: var(--space-md);
  color: var(--text-body);
  line-height: 1.8;
}
.cr-description ul, .cr-description ol {
  padding-left: var(--space-xl);
  margin-bottom: var(--space-md);
}
.cr-description li {
  list-style: disc;
  margin-bottom: var(--space-xs);
  color: var(--text-body);
  line-height: 1.7;
}
.cr-description ol li { list-style: decimal; }
.cr-description strong { color: var(--text-heading); }
.cr-description a { color: var(--primary); text-decoration: underline; }

/* ---------- 17. Related Products ---------- */
.cr-related {
  padding: var(--space-4xl) 0;
}
.cr-related h2 {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

/* ---------- 18. Sticky CTA (mobile) ---------- */
.cr-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  padding: var(--space-md) var(--container-px);
  background: rgba(250, 252, 254, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 16px rgba(0,0,0,0.06);
  z-index: 900;
}
.cr-sticky-cta .cr-product-cta {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(74, 168, 208, 0.25);
}
.cr-sticky-cta .cr-product-cta:hover {
  background: var(--primary-dark);
}

/* ---------- 19. Pages (about, contact, terms, etc.) ---------- */
.cr-page {
  padding: var(--space-3xl) 0;
  max-width: 800px;
  margin: 0 auto;
}
.cr-page__header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}
.cr-page__header h1 { margin-bottom: var(--space-md); }
.cr-page__header p {
  color: var(--text-secondary);
  font-size: 1rem;
}

.cr-page__content h2 {
  font-size: 1.4rem;
  margin: var(--space-2xl) 0 var(--space-md);
  color: var(--text-heading);
}
.cr-page__content p {
  margin-bottom: var(--space-md);
  line-height: 1.8;
}
.cr-page__content ul {
  padding-left: var(--space-xl);
  margin-bottom: var(--space-md);
}
.cr-page__content li {
  list-style: disc;
  margin-bottom: var(--space-sm);
  line-height: 1.7;
}
.cr-page__content a { color: var(--primary); }

/* ---------- 20. Contact ---------- */
.cr-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-3xl);
  max-width: 900px;
  margin: 0 auto;
}
.cr-contact-info { display: flex; flex-direction: column; gap: var(--space-xl); }
.cr-contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}
.cr-contact-info__icon {
  width: 40px; height: 40px;
  background: var(--primary-10);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.cr-contact-info__icon svg {
  width: 20px; height: 20px;
  fill: none; stroke: var(--primary);
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}

.cr-contact-form { display: flex; flex-direction: column; gap: var(--space-lg); }
.cr-form-group { display: flex; flex-direction: column; gap: var(--space-xs); }
.cr-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-heading);
}
.cr-input {
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card-solid);
  color: var(--text-body);
  transition: border-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
}
.cr-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-10);
}

/* ---------- 21. Cart empty ---------- */
.cr-cart-empty {
  text-align: center;
  padding: var(--space-5xl) var(--space-xl);
}
.cr-cart-empty svg {
  width: 64px; height: 64px;
  fill: none; stroke: var(--text-muted);
  stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round;
  margin: 0 auto var(--space-xl);
}
.cr-cart-empty h2 {
  margin-bottom: var(--space-md);
}

/* ---------- 22. 404 ---------- */
.cr-404 {
  text-align: center;
  padding: var(--space-5xl) var(--space-xl);
}
.cr-404__code {
  font-family: var(--font-display);
  font-size: clamp(5rem, 12vw, 8rem);
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--accent-aqua));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: var(--space-md);
}
.cr-404 h1 { margin-bottom: var(--space-md); }
.cr-404 p {
  color: var(--text-secondary);
  margin-bottom: var(--space-2xl);
}

/* ---------- 23. Footer ---------- */
.cr-footer {
  background: var(--secondary);
  color: var(--text-inverse);
  padding: var(--space-4xl) 0 var(--space-2xl);
}
.cr-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}
.cr-footer__brand {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  display: block;
  margin-bottom: var(--space-md);
}
.cr-footer__desc {
  color: rgba(248, 250, 252, 0.6);
  font-size: 0.88rem;
  line-height: 1.7;
}
.cr-footer__heading {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(248, 250, 252, 0.5);
  margin-bottom: var(--space-lg);
}
.cr-footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.cr-footer__links a {
  color: rgba(248, 250, 252, 0.75);
  font-size: 0.88rem;
  transition: color var(--dur-fast) ease;
}
.cr-footer__links a:hover { color: var(--accent-aqua); }

.cr-footer__bottom {
  border-top: 1px solid rgba(248, 250, 252, 0.1);
  padding-top: var(--space-xl);
  text-align: center;
}
.cr-footer__copy {
  font-size: 0.78rem;
  color: rgba(248, 250, 252, 0.4);
}

/* ---------- 24. Pagination ---------- */
.cr-pagination {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-3xl);
}
.cr-pagination__btn {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-body);
  background: var(--bg-card-solid);
  transition: all var(--dur-fast) ease;
}
.cr-pagination__btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.cr-pagination__btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.cr-pagination__btn svg {
  width: 16px; height: 16px;
  fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- 25. Lightbox ---------- */
.cr-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-normal) ease;
  cursor: zoom-out;
}
.cr-lightbox.active {
  opacity: 1;
  pointer-events: auto;
}
.cr-lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
}

/* ---------- 26. Gold Star Rating (decorative) ---------- */
.cr-stars {
  display: inline-flex;
  gap: 2px;
}
.cr-stars svg {
  width: 14px; height: 14px;
  fill: var(--accent-gold);
  stroke: none;
}

/* ---------- 27. Responsive ---------- */
@media (max-width: 1024px) {
  .cr-grid--4 { grid-template-columns: repeat(3, 1fr); }
  .cr-footer__grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-2xl); }
}

@media (max-width: 768px) {
  .cr-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .cr-product-top { grid-template-columns: 1fr; gap: var(--space-xl); }
  .cr-trust { grid-template-columns: 1fr; }
  .cr-contact-grid { grid-template-columns: 1fr; }
  .cr-footer__grid { grid-template-columns: 1fr; }

  .cr-header__nav { display: none; }
  .cr-header__hamburger { display: flex; }
  .cr-header__logo {
    position: relative;
    left: auto;
    transform: none;
  }

  .cr-sticky-cta { display: block; }

  .cr-hero { min-height: 400px; padding: var(--space-3xl) var(--container-px); }
  .cr-hero__title { font-size: clamp(1.8rem, 6vw, 2.5rem); }
}

@media (max-width: 480px) {
  .cr-grid--4 { grid-template-columns: 1fr; }
  .cr-categories-grid { grid-template-columns: 1fr; }
  .cr-hero { min-height: 340px; }
}
