/* ============================================
   Smile Karisma — Design System & Global Styles
   ============================================ */

/* ---- CSS Custom Properties ---- */
:root {
  /* Colors */
  --primary: #E85B9A;
  --primary-dark: #c7427f;
  --primary-light: #F08BC2;
  --primary-lighter: #fce4f1;
  --primary-50: rgba(232, 91, 154, 0.05);
  --primary-100: rgba(232, 91, 154, 0.1);

  --accent: #5FC9C4;
  --accent-dark: #3aada8;
  --accent-light: #9BDAD9;
  --accent-glow: rgba(95, 201, 196, 0.25);

  --bg: #FFFFFF;
  --bg-alt: #F6FAFB;
  --bg-dark: #0C1B2A;
  --bg-darker: #071421;

  --surface: #FFFFFF;
  --surface-glass: rgba(255, 255, 255, 0.7);
  --surface-dark: rgba(255, 255, 255, 0.05);

  --text: #1A1A2E;
  --text-secondary: #5A6578;
  --text-muted: #8E99A9;
  --text-on-dark: #E8ECF1;
  --text-on-primary: #FFFFFF;

  --border: #E5E9EF;
  --border-light: #F0F3F6;

  --success: #22C55E;
  --warning: #F59E0B;
  --error: #EF4444;
  --white: #fff;
  --black: #000;
  --hero-bg: #050d16;
  --hero-shadow: #2d2d44;
  --slate: #64748B;
  --success-dark: #16a34a;
  --neutral-200: #E5E7EB;
  --gold: #FBBF24;

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font: var(--font-body);

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;
  --text-7xl: 4.5rem;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Borders & Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.1), 0 4px 8px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 48px rgba(0, 0, 0, 0.12), 0 8px 16px rgba(0, 0, 0, 0.06);
  --shadow-glow: 0 0 30px rgba(31, 138, 167, 0.2);
  --shadow-glow-accent: 0 0 30px rgba(235, 107, 176, 0.2);
  --shadow-card-hover: 0 16px 40px rgba(31, 138, 167, 0.15), 0 4px 12px rgba(0,0,0,0.06);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 200ms;
  --duration-normal: 350ms;
  --duration-slow: 500ms;

  /* Layout */
  --header-height: 80px;
  --container-max: 1280px;
  --container-wide: 1440px;

  /* Preserved translucent design tones */
  --tone-01: rgba(0, 0, 0, 0.06);
  --tone-02: rgba(0, 0, 0, 0.3);
  --tone-03: rgba(0,0,0,0.03);
  --tone-04: rgba(0,0,0,0.05);
  --tone-05: rgba(0,0,0,0.08);
  --tone-06: rgba(155, 218, 217, 0.1);
  --tone-07: rgba(155, 218, 217, 0.15);
  --tone-08: rgba(232, 91, 154, 0.1);
  --tone-09: rgba(232, 91, 154, 0.15);
  --tone-10: rgba(232, 91, 154, 0.2);
  --tone-11: rgba(232, 91, 154, 0.3);
  --tone-12: rgba(235, 107, 176, 0.1);
  --tone-13: rgba(235, 107, 176, 0.4);
  --tone-14: rgba(239, 68, 68, 0.1);
  --tone-15: rgba(255, 255, 255, 0.05);
  --tone-16: rgba(255, 255, 255, 0.06);
  --tone-17: rgba(255, 255, 255, 0.08);
  --tone-18: rgba(255, 255, 255, 0.1);
  --tone-19: rgba(255, 255, 255, 0.12);
  --tone-20: rgba(255, 255, 255, 0.15);
  --tone-21: rgba(255, 255, 255, 0.2);
  --tone-22: rgba(255, 255, 255, 0.3);
  --tone-23: rgba(255, 255, 255, 0.35);
  --tone-24: rgba(255, 255, 255, 0.5);
  --tone-25: rgba(255, 255, 255, 0.55);
  --tone-26: rgba(255, 255, 255, 0.6);
  --tone-27: rgba(255, 255, 255, 0.65);
  --tone-28: rgba(255, 255, 255, 0.7);
  --tone-29: rgba(255, 255, 255, 0.75);
  --tone-30: rgba(255, 255, 255, 0.8);
  --tone-31: rgba(255, 255, 255, 0.85);
  --tone-32: rgba(255, 255, 255, 0.9);
  --tone-33: rgba(255, 255, 255, 0.92);
  --tone-34: rgba(255,255,255,0.2);
  --tone-35: rgba(26, 26, 46, 0.45);
  --tone-36: rgba(31, 138, 167, 0.1);
  --tone-37: rgba(31, 138, 167, 0.15);
  --tone-38: rgba(31, 138, 167, 0.2);
  --tone-39: rgba(31, 138, 167, 0.25);
  --tone-40: rgba(31, 138, 167, 0.3);
  --tone-41: rgba(31, 138, 167, 0.35);
  --tone-42: rgba(31, 138, 167, 0.4);
  --tone-43: rgba(5, 13, 22, 0.2);
  --tone-44: rgba(5, 13, 22, 0.5);
  --tone-45: rgba(5, 13, 22, 0.6);
  --tone-46: rgba(5, 13, 22, 0.75);
}

@view-transition {
  navigation: auto;
}

/* ---- Reset & Base ---- */
*,
*::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: var(--text-base);
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

a:hover {
  color: var(--primary-dark);
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  font-size: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

h1 { font-size: var(--text-5xl); letter-spacing: -0.02em; }
h2 { font-size: var(--text-4xl); letter-spacing: -0.01em; }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }

p { margin-bottom: var(--space-4); }

ul, ol { list-style: none; }

.text-center { text-align: center; }

/* ---- Layout ---- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container-wide {
  max-width: var(--container-wide);
}

.section {
  padding: var(--space-24) 0;
}

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

.section-dark {
  background: var(--bg-dark);
  color: var(--text-on-dark);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--white);
}

/* ---- Section Headers ---- */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--space-16);
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-5);
  background: var(--primary-100);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}

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

.section-header p {
  color: var(--text-secondary);
  font-size: var(--text-lg);
  line-height: 1.8;
}

.section-dark .section-badge {
  background: var(--tone-07);
  color: var(--primary-light);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-8);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-base);
  border-radius: var(--radius-full);
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--tone-34), transparent);
  opacity: 0;
  transition: opacity var(--duration-fast);
}

.btn:hover::after {
  opacity: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  box-shadow: 0 4px 16px var(--tone-40);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--tone-42);
  color: var(--white);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--white);
  box-shadow: 0 4px 16px var(--accent-glow);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--tone-13);
  color: var(--white);
}

.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--primary-dark);
}

.btn-lg {
  padding: var(--space-4) var(--space-10);
  font-size: var(--text-lg);
}

.btn-sm {
  padding: var(--space-2) var(--space-5);
  font-size: var(--text-sm);
}

.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: var(--radius-full);
}

/* Add to cart button states */
.btn.adding {
  pointer-events: none;
  transform: scale(0.95);
}

.btn.added {
  background: linear-gradient(135deg, var(--success), var(--success-dark)) !important;
  pointer-events: none;
}

/* ---- Header / Navigation ---- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: var(--space-4) 0;
  transition: all var(--duration-normal) var(--ease-out);
  background: transparent;
}

header.scrolled {
  background: var(--tone-33);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 20px var(--tone-01);
  padding: var(--space-3) 0;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  z-index: 101;
}

.nav-logo img {
  height: 46px;
  width: auto;
  transition: transform var(--duration-fast);
}

.nav-logo:hover img {
  transform: scale(1.03);
}

.nav-logo .logo-text {
  display: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav-links a {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: var(--text-sm);
  color: var(--tone-31);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  position: relative;
  padding: var(--space-2) 0;
}

header.scrolled .nav-links a {
  color: var(--text-secondary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
  transition: width var(--duration-normal) var(--ease-out);
}

.nav-links a:hover {
  color: var(--white);
}

header.scrolled .nav-links a:hover {
  color: var(--primary);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--tone-19);
  color: var(--white);
  transition: all var(--duration-fast);
}

header.scrolled .cart-btn {
  background: var(--primary-100);
  color: var(--primary);
}

.cart-btn:hover {
  background: var(--tone-21);
  transform: scale(1.05);
}

header.scrolled .cart-btn:hover {
  background: var(--primary);
  color: var(--white);
}

#cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 20px;
  height: 20px;
  background: var(--accent);
  color: var(--white);
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  display: none;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-dark);
}

header.scrolled #cart-count {
  border-color: var(--white);
}

#cart-count.pop {
  animation: popIn 0.4s var(--ease-spring);
}

@keyframes popIn {
  0% { transform: scale(0); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  gap: 6px;
  z-index: 101;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
  transition: all var(--duration-normal) var(--ease-out);
}

header.scrolled .nav-toggle span {
  background: var(--text);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* ---- Product Card ---- */
.product-card {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-normal) var(--ease-out);
  border: 1px solid var(--border-light);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: transparent;
}

.product-card-image {
  position: relative;
  aspect-ratio: 1;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: var(--space-6);
}

.product-card-image img {
  width: 80%;
  height: 80%;
  object-fit: contain;
  transition: transform var(--duration-slow) var(--ease-out);
}

.product-card:hover .product-card-image img {
  transform: scale(1.08);
}

.product-badge {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  padding: var(--space-1) var(--space-3);
  background: var(--accent);
  color: var(--white);
  font-size: var(--text-xs);
  font-weight: 700;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  z-index: 2;
}

.product-badge.premium {
  background: linear-gradient(135deg, var(--text), var(--hero-shadow));
}

.product-card-quick-add {
  position: absolute;
  bottom: var(--space-4);
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  opacity: 0;
  transition: all var(--duration-normal) var(--ease-out);
}

.product-card:hover .product-card-quick-add {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.product-card-body {
  padding: var(--space-5) var(--space-5) var(--space-6);
}

.product-card-brand {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-1);
}

.product-card-name {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--space-1);
  line-height: 1.3;
}

.product-card-variant {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-2);
}

.product-card-rating {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}

.star { color: var(--gold); font-size: 14px; }
.star.empty { color: var(--neutral-200); }
.star.half {
  background: linear-gradient(90deg, var(--gold) 50%, var(--neutral-200) 50%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.product-card-rating span:last-child {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.product-card-price {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.price-current {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text);
}

.price-original {
  font-size: var(--text-sm);
  color: var(--text-muted);
  text-decoration: line-through;
}

/* ---- Cart Toast ---- */
.cart-toast {
  position: fixed;
  bottom: var(--space-8);
  right: var(--space-8);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-6);
  background: var(--bg-dark);
  color: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  z-index: 10000;
  transform: translateY(120%);
  opacity: 0;
  transition: all var(--duration-normal) var(--ease-out);
}

.cart-toast.show {
  transform: translateY(0);
  opacity: 1;
}

.cart-toast.hide {
  transform: translateY(120%);
  opacity: 0;
}

.cart-toast-icon {
  width: 36px;
  height: 36px;
  background: var(--success);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cart-toast-content {
  display: flex;
  flex-direction: column;
}

.cart-toast-title {
  font-weight: 700;
  font-size: var(--text-sm);
}

.cart-toast-product {
  font-size: var(--text-xs);
  color: var(--text-on-dark);
  opacity: 0.7;
}

/* ---- Footer ---- */
footer {
  position: relative;
  background: var(--hero-bg);
  color: var(--text-on-dark);
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary), var(--accent), var(--primary), transparent);
  z-index: 2;
}

.footer-bg-overlay {
  position: absolute;
  inset: 0;
  background: url('../images/footer-bg.jpg') center/cover no-repeat;
  opacity: 0.15;
  z-index: 0;
}

.footer-content {
  position: relative;
  z-index: 1;
  padding-top: var(--space-20);
  padding-bottom: var(--space-16);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: var(--space-12);
  align-items: start;
  padding-bottom: var(--space-16);
  border-bottom: 1px solid var(--tone-17);
}

.footer-brand p {
  color: var(--tone-26);
  font-size: var(--text-sm);
  line-height: 1.8;
  margin-top: var(--space-4);
  max-width: 320px;
}

.footer-brand .nav-logo {
  margin-bottom: var(--space-2);
}

.footer-social {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--tone-16);
  border: 1px solid var(--tone-17);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tone-26);
  transition: all var(--duration-fast);
}

.footer-social a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px var(--tone-41);
}

.footer-column h4 {
  color: var(--white);
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-6);
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-column a {
  color: var(--tone-25);
  font-size: var(--text-sm);
  transition: all var(--duration-fast);
}

.footer-column a:hover {
  color: var(--primary-light);
  padding-left: 4px;
}

/* Contact column with icons */
.footer-contact ul {
  gap: var(--space-4);
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.footer-contact li svg {
  flex-shrink: 0;
  color: var(--primary);
}

.footer-contact-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--tone-24);
}

.footer-contact a {
  color: var(--tone-25);
  font-size: var(--text-sm);
  line-height: 1.5;
  transition: all var(--duration-fast);
}

.footer-contact a:hover {
  color: var(--primary-light);
  padding-left: 0;
}

/* Footer Bottom — Solid black bar */
.footer-bottom {
  background: var(--black);
  padding: var(--space-5) 0;
}

.footer-bottom p {
  font-size: var(--text-sm);
  color: var(--tone-23);
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-6);
}

.footer-bottom-links a {
  font-size: var(--text-sm);
  color: var(--tone-23);
}

.footer-bottom-links a:hover {
  color: var(--tone-28);
}

/* ---- Scroll Animations ---- */
html.js .animate-on-scroll {
  opacity: 0;
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

html.js .animate-on-scroll[data-animation="fade-up"],
html.js .animate-on-scroll:not([data-animation]) {
  transform: translateY(40px);
}

html.js .animate-on-scroll[data-animation="fade-left"] {
  transform: translateX(-40px);
}

html.js .animate-on-scroll[data-animation="fade-right"] {
  transform: translateX(40px);
}

html.js .animate-on-scroll[data-animation="scale-in"] {
  transform: scale(0.9);
}

html.js .animate-on-scroll[data-animation="fade-in"] {
  transform: none;
}

html.js .animate-on-scroll.animated {
  opacity: 1;
  transform: none;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  h1 { font-size: var(--text-4xl); }
  h2 { font-size: var(--text-3xl); }

  .section { padding: var(--space-16) 0; }
  .section-header { margin-bottom: var(--space-12); }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }
}

/* Show Add to Cart immediately on touch devices (no hover) */
@media (hover: none) {
  .product-card-quick-add {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* ---- CMS-ready shop additions ---- */
.product-card-link { display: block; color: inherit; }
.product-card-link:hover { color: inherit; }
.shop-pager { display: flex; justify-content: center; align-items: center; gap: var(--space-2); margin-top: var(--space-10); }
.shop-pager a { min-width: 42px; height: 42px; padding: 0 var(--space-3); display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: var(--radius-md); color: var(--text-secondary); font-family: var(--font-heading); font-weight: 600; }
.shop-pager a:hover, .shop-pager a.active { background: var(--primary); border-color: var(--primary); color: var(--text-on-primary); }
.shop-pager .pager-next { gap: var(--space-2); min-width: auto; }
.pd-badge { position: static; align-self: flex-start; margin: 0 0 var(--space-4); }
.pd-rating { margin-bottom: var(--space-6); }
.pd-option { margin-bottom: var(--space-4); }
.pd-option label { display: block; margin-bottom: var(--space-2); color: var(--text); font-family: var(--font-heading); font-weight: 600; font-size: var(--text-sm); }
.pd-option select { width: 100%; padding: var(--space-3) var(--space-4); border: 1px solid var(--border); border-radius: var(--radius-md); color: var(--text); background: var(--surface); font: inherit; }
.pd-stock { margin-bottom: var(--space-5); color: var(--success); font-weight: 600; }

html.js .hero-bg { animation: heroKenBurns 25s ease-in-out infinite alternate; }
html.js .hero-particles span { animation: particleFloat linear infinite; }
html.js .hero-content { animation: heroContentIn 1s var(--ease-out) 0.3s both; }
html.js .hero-tag { animation: heroContentIn 1s var(--ease-out) 0.5s both; }
html.js .hero h1 { animation: heroContentIn 1s var(--ease-out) 0.6s both; }
html.js .hero h1 .gradient-text { animation: gradientShift 6s ease-in-out infinite; }
html.js .hero-desc { animation: heroContentIn 1s var(--ease-out) 0.7s both; }
html.js .hero-actions { animation: heroContentIn 1s var(--ease-out) 0.8s both; }
html.js .hero-stats { animation: heroContentIn 1s var(--ease-out) 0.9s both; }
html.js .hero-scroll-indicator span { animation: scrollBounce 2s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
  html.js .animate-on-scroll { opacity: 1; transform: none; }
}

/* ---- Smile Journal: scoped blog pages ---- */
body.page-blog .blog-hero { background: var(--bg-dark); }
body.page-blog .blog-kicker,
body.page-blog-post .blog-kicker { color: var(--primary-light); font-size: var(--text-sm); font-weight: 700; letter-spacing: 0.12em; margin-bottom: var(--space-3); text-transform: uppercase; }
body.page-blog .blog-listing-section { background: var(--bg); }
body.page-blog .blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-8); }
body.page-blog .blog-card { background: var(--surface); border: 1px solid var(--border-light); border-radius: var(--radius-xl); box-shadow: var(--shadow-sm); overflow: hidden; transition: transform var(--duration-normal) var(--ease-out), box-shadow var(--duration-normal) var(--ease-out); }
body.page-blog .blog-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-6px); }
body.page-blog .blog-card-image { aspect-ratio: 16 / 10; background: var(--bg-alt); display: block; overflow: hidden; }
body.page-blog .blog-card-image img { height: 100%; object-fit: cover; transition: transform var(--duration-slow) var(--ease-out); width: 100%; }
body.page-blog .blog-card:hover .blog-card-image img { transform: scale(1.05); }
body.page-blog .blog-card-body { padding: var(--space-6); }
body.page-blog .blog-card-meta,
body.page-blog-post .blog-post-meta { align-items: center; color: var(--text-muted); display: flex; flex-wrap: wrap; font-size: var(--text-xs); font-weight: 600; gap: var(--space-3); letter-spacing: 0.04em; margin-bottom: var(--space-4); text-transform: uppercase; }
body.page-blog .blog-card-meta span { color: var(--primary); }
body.page-blog .blog-card-meta time::before,
body.page-blog-post .blog-post-meta span::before { background: var(--border); border-radius: var(--radius-full); content: ''; display: inline-block; height: 4px; margin-right: var(--space-3); vertical-align: middle; width: 4px; }
body.page-blog .blog-card h2 { font-size: var(--text-xl); line-height: 1.3; margin-bottom: var(--space-3); }
body.page-blog .blog-card h2 a { color: var(--text); }
body.page-blog .blog-card h2 a:hover { color: var(--primary); }
body.page-blog .blog-card-body > p:not(.blog-card-meta) { color: var(--text-secondary); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-height: 1.7; margin-bottom: var(--space-5); overflow: hidden; }
body.page-blog .blog-read-more,
body.page-blog-post .blog-back-link { align-items: center; display: inline-flex; font-family: var(--font-heading); font-size: var(--text-sm); font-weight: 700; gap: var(--space-2); text-transform: uppercase; letter-spacing: 0.07em; }
body.page-blog .blog-pager { display: flex; justify-content: center; gap: var(--space-2); margin-top: var(--space-10); }
body.page-blog .blog-pager a { align-items: center; border: 1px solid var(--border); border-radius: var(--radius-md); color: var(--text-secondary); display: inline-flex; font-family: var(--font-heading); font-weight: 600; height: 42px; justify-content: center; min-width: 42px; padding: 0 var(--space-3); }
body.page-blog .blog-pager a:hover,
body.page-blog .blog-pager a.active { background: var(--primary); border-color: var(--primary); color: var(--text-on-primary); }
body.page-blog .blog-pager .pager-next { gap: var(--space-2); min-width: auto; }
body.page-blog-post .blog-post-hero { background: var(--bg-dark); color: var(--text-on-dark); padding: calc(var(--header-height) + var(--space-12)) 0 var(--space-16); }
body.page-blog-post .blog-post-hero-grid { align-items: center; display: grid; gap: var(--space-16); grid-template-columns: 1fr 1fr; }
body.page-blog-post .blog-post-hero-copy { max-width: 620px; }
body.page-blog-post .blog-post-hero h1 { color: var(--white); font-size: clamp(var(--text-4xl), 5vw, var(--text-6xl)); line-height: 1.08; margin-bottom: var(--space-5); }
body.page-blog-post .blog-post-hero-copy > p:last-child { color: var(--tone-32); font-size: var(--text-lg); line-height: 1.8; }
body.page-blog-post .blog-post-hero-image { aspect-ratio: 4 / 3; border-radius: var(--radius-xl); box-shadow: var(--shadow-xl); overflow: hidden; }
body.page-blog-post .blog-post-hero-image img { height: 100%; object-fit: cover; width: 100%; }
body.page-blog-post .blog-post-section { background: var(--bg); }
body.page-blog-post .blog-post-content { color: var(--text-secondary); font-size: var(--text-lg); line-height: 1.9; margin: 0 auto; max-width: 760px; }
body.page-blog-post .blog-post-content p { margin-bottom: var(--space-6); }
body.page-blog-post .blog-post-content h2 { color: var(--text); font-size: var(--text-2xl); margin: var(--space-10) 0 var(--space-4); }
body.page-blog-post .blog-post-content blockquote { border-left: 4px solid var(--primary); color: var(--text); font-family: var(--font-heading); font-size: var(--text-xl); font-weight: 600; line-height: 1.6; margin: var(--space-10) 0; padding: var(--space-4) 0 var(--space-4) var(--space-6); }
body.page-blog-post .blog-back-link { margin-top: var(--space-6); }

@media (max-width: 1024px) { body.page-blog .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 768px) { body.page-blog-post .blog-post-hero-grid { gap: var(--space-8); grid-template-columns: 1fr; } body.page-blog-post .blog-post-hero-image { order: -1; } }
@media (max-width: 560px) { body.page-blog .blog-grid { grid-template-columns: 1fr; } body.page-blog-post .blog-post-content { font-size: var(--text-base); } body.page-blog-post .blog-post-hero { padding-bottom: var(--space-12); } }

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }

  h1 { font-size: var(--text-3xl); }
  h2 { font-size: var(--text-2xl); }

  .container { padding-left: var(--space-4); padding-right: var(--space-4); }
  .section { padding: var(--space-12) 0; }
  .section-header { margin-bottom: var(--space-8); }

  /* Mobile Nav */
  .nav-toggle {
    display: flex;
  }

  #nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 85%;
    max-width: 380px;
    height: 100vh;
    background: var(--bg-dark);
    padding: calc(var(--header-height) + var(--space-8)) var(--space-8) var(--space-8);
    transform: translateX(100%);
    transition: transform var(--duration-normal) var(--ease-out);
    z-index: 100;
    box-shadow: -10px 0 40px var(--tone-02);
  }

  #nav-menu.active {
    transform: translateX(0);
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .nav-links a {
    color: var(--tone-30) !important;
    font-size: var(--text-lg);
    padding: var(--space-4) 0;
    width: 100%;
    border-bottom: 1px solid var(--tone-16);
  }

  .nav-links a:hover {
    color: var(--primary-light) !important;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .cart-toast {
    left: var(--space-4);
    right: var(--space-4);
    bottom: var(--space-4);
  }
}

@media (max-width: 480px) {
  h1 { font-size: var(--text-2xl); }

  .btn-lg {
    padding: var(--space-3) var(--space-6);
    font-size: var(--text-base);
  }
}
/* ============================================
   Smile Karisma — Homepage Styles
   ============================================ */

/* ---- Hero Section ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--hero-bg);
  /* Push content down so it centers in the space BELOW the fixed header */
  padding-top: var(--header-height);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

@keyframes heroKenBurns {
  0% { transform: scale(1); }
  100% { transform: scale(1.12); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: 
    linear-gradient(180deg, var(--tone-44) 0%, var(--tone-43) 40%, var(--tone-45) 100%),
    linear-gradient(90deg, var(--tone-46) 0%, var(--tone-43) 65%, transparent 100%);
}

/* Animated floating particles */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 3;
  overflow: hidden;
  pointer-events: none;
}

.hero-particles span {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--primary-light);
  border-radius: 50%;
  opacity: 0;
}

.hero-particles span:nth-child(1) { left: 10%; animation-duration: 12s; animation-delay: 0s; width: 3px; height: 3px; }
.hero-particles span:nth-child(2) { left: 25%; animation-duration: 15s; animation-delay: 2s; width: 5px; height: 5px; }
.hero-particles span:nth-child(3) { left: 40%; animation-duration: 10s; animation-delay: 4s; }
.hero-particles span:nth-child(4) { left: 55%; animation-duration: 14s; animation-delay: 1s; width: 6px; height: 6px; }
.hero-particles span:nth-child(5) { left: 70%; animation-duration: 11s; animation-delay: 3s; width: 3px; height: 3px; }
.hero-particles span:nth-child(6) { left: 82%; animation-duration: 16s; animation-delay: 5s; }
.hero-particles span:nth-child(7) { left: 90%; animation-duration: 13s; animation-delay: 2.5s; width: 5px; height: 5px; }
.hero-particles span:nth-child(8) { left: 50%; animation-duration: 9s; animation-delay: 6s; width: 3px; height: 3px; }

@keyframes particleFloat {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.4; }
  100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 700px;
  padding: var(--space-16) 0 var(--space-16);
}

@keyframes heroContentIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-5);
  background: var(--tone-17);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--tone-20);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--space-8);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-tag svg {
  width: 14px;
  height: 14px;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 900;
  line-height: 1.04;
  margin-bottom: var(--space-6);
  letter-spacing: -0.03em;
}

.hero h1 .gradient-text {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 50%, var(--accent-light) 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-desc {
  font-size: var(--text-lg);
  color: var(--tone-29);
  line-height: 1.8;
  margin-bottom: var(--space-10);
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-16);
}

/* Glassmorphism button */
.btn-glass {
  background: var(--tone-17);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--tone-20);
  color: var(--white);
}

.btn-glass:hover {
  background: var(--tone-20);
  border-color: var(--tone-22);
  transform: translateY(-2px);
  color: var(--white);
}

.hero-stats {
  display: flex;
  gap: var(--space-10);
  padding-top: var(--space-8);
  border-top: 1px solid var(--tone-09);
}

.hero-stat {
  text-align: left;
}

.hero-stat-number {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: var(--space-1);
}

.hero-stat-label {
  font-size: var(--text-xs);
  color: var(--tone-35);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  width: 24px;
  height: 40px;
  border: 2px solid var(--tone-11);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.hero-scroll-indicator span {
  width: 4px;
  height: 8px;
  background: var(--primary);
  border-radius: 2px;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(14px); opacity: 0; }
}

/* ---- Categories Section ---- */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
}

.category-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  padding: var(--space-8);
  min-height: 300px;
  background: var(--white);
  border: 1px solid var(--tone-04);
  box-shadow: 0 10px 30px var(--tone-03);
  transition: all var(--duration-normal);
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0.8;
  transition: all var(--duration-normal);
  z-index: 3;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px var(--tone-05);
}

.category-card:hover::before {
  opacity: 1;
  height: 6px;
}

.category-card-bg {
  display: none;
}

.category-card-overlay {
  display: none;
}

.category-card-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.category-card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  background: var(--tone-08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-6);
  font-size: 28px;
  transition: all var(--duration-normal) var(--ease-out);
}

.category-card:hover .category-card-icon {
  background: var(--tone-10);
  transform: translateY(-4px);
}

.category-card h3 {
  color: var(--text);
  font-size: var(--text-2xl);
  margin-bottom: var(--space-2);
}

.category-card p {
  color: var(--slate);
  font-size: var(--text-sm);
  margin-bottom: var(--space-4);
  line-height: 1.6;
}

.category-card-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--primary);
  font-weight: 700;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding-top: var(--space-4);
  transition: all var(--duration-fast);
}

.category-card:hover .category-card-link {
  color: var(--accent);
  gap: var(--space-3);
}

/* ---- Featured Products Section ---- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

/* ---- How It Works Section ---- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 56px;
  left: 16.66%;
  width: 66.66%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-light), var(--accent-light));
  opacity: 0.3;
  z-index: 0;
}

.step-card {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-6);
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 800;
  box-shadow: 0 8px 24px var(--tone-39);
  position: relative;
}

.step-number::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: var(--radius-full);
  border: 2px dashed var(--primary-light);
  opacity: 0.3;
}

.step-icon {
  font-size: 40px;
  margin-bottom: var(--space-4);
}

.step-card h3 {
  margin-bottom: var(--space-3);
  font-size: var(--text-xl);
}

.step-card p {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  line-height: 1.7;
  max-width: 300px;
  margin: 0 auto;
}

/* ---- Trust / Brand Section ---- */
.trust-section {
  position: relative;
  overflow: hidden;
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.trust-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-xl);
}

.trust-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trust-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  border: 1px solid var(--tone-18);
}

.trust-image-badge {
  position: absolute;
  bottom: var(--space-6);
  right: var(--space-6);
  padding: var(--space-4) var(--space-6);
  background: var(--tone-32);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.trust-image-badge-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 20px;
}

.trust-image-badge-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-sm);
  line-height: 1.3;
}

.trust-content {
  padding: var(--space-4) 0;
}

.trust-content h2 {
  margin-bottom: var(--space-6);
}

.trust-content > p {
  color: var(--text-secondary);
  font-size: var(--text-lg);
  line-height: 1.8;
  margin-bottom: var(--space-8);
}

.trust-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  margin-bottom: var(--space-10);
}

.trust-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}

.trust-feature-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--primary-100);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
  font-size: 18px;
}

.trust-feature h4 {
  font-size: var(--text-sm);
  font-weight: 700;
  margin-bottom: 2px;
}

.trust-feature p {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.5;
}

/* ---- Stats Section ---- */
.stats-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: var(--space-16) 0;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: var(--tone-06);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: var(--text-5xl);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.stat-label {
  font-size: var(--text-sm);
  color: var(--tone-27);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

/* ---- Testimonials Section ---- */
.testimonials-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.testimonials-track {
  display: flex;
  transition: transform var(--duration-slow) var(--ease-out);
}

.testimonial-card {
  min-width: 100%;
  padding: var(--space-12) var(--space-16);
  text-align: center;
}

.testimonial-stars {
  color: var(--gold);
  font-size: 20px;
  letter-spacing: 4px;
  margin-bottom: var(--space-6);
}

.testimonial-text {
  font-size: var(--text-2xl);
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--text);
  line-height: 1.6;
  max-width: 720px;
  margin: 0 auto var(--space-8);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
}

.testimonial-avatar {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--primary-light), var(--accent-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-lg);
  color: var(--white);
}

.testimonial-author-info {
  text-align: left;
}

.testimonial-name {
  font-weight: 700;
  font-size: var(--text-base);
  margin-bottom: 2px;
}

.testimonial-role {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.testimonials-dots {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-6);
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: all var(--duration-fast);
}

.carousel-dot.active {
  background: var(--primary);
  width: 24px;
}

/* ---- CTA Section ---- */
.cta-section {
  position: relative;
  padding: var(--space-24) 0;
  background: var(--bg-dark);
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, var(--tone-37) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, var(--tone-12) 0%, transparent 50%);
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

.cta-content h2 {
  color: var(--white);
  font-size: var(--text-5xl);
  margin-bottom: var(--space-4);
}

.cta-content p {
  color: var(--tone-26);
  font-size: var(--text-lg);
  margin-bottom: var(--space-8);
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* ---- Newsletter ---- */
.newsletter-form {
  display: flex;
  max-width: 480px;
  margin: 0 auto;
  gap: var(--space-3);
}

.newsletter-form input {
  flex: 1;
  padding: var(--space-3) var(--space-5);
  border: 2px solid var(--tone-20);
  border-radius: var(--radius-full);
  background: var(--tone-15);
  color: var(--white);
  font-size: var(--text-base);
  outline: none;
  transition: border-color var(--duration-fast);
}

.newsletter-form input::placeholder {
  color: var(--tone-23);
}

.newsletter-form input:focus {
  border-color: var(--primary-light);
}

/* ---- Responsive (Homepage) ---- */
@media (max-width: 1024px) {
  .hero h1 { font-size: var(--text-5xl); }

  .categories-grid { gap: var(--space-5); }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-5);
  }

  .trust-grid { gap: var(--space-8); }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-6); }

  .testimonial-card { padding: var(--space-8); }
  .testimonial-text { font-size: var(--text-xl); }
}

@media (max-width: 768px) {
  .hero {
    min-height: 100svh;
  }

  .hero h1 { font-size: var(--text-4xl); }

  .hero-desc { font-size: var(--text-base); }

  .hero-stats {
    flex-direction: column;
    gap: var(--space-4);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-tag {
    font-size: var(--text-xs);
    padding: var(--space-2) var(--space-4);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
  }

  .category-card { aspect-ratio: auto; min-height: 220px; }

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

  .steps-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .steps-grid::before { display: none; }

  .trust-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .trust-features {
    grid-template-columns: 1fr;
  }

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

  .testimonial-text { font-size: var(--text-lg); }

  .cta-content h2 { font-size: var(--text-3xl); }
}

@media (max-width: 480px) {
  .hero h1 { font-size: var(--text-3xl); }
  
  .hero-tag {
    white-space: normal;
    text-align: center;
  }

  .categories-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .products-grid {
    grid-template-columns: 1fr;
  }
}
/* ============================================
   SmileKarisma — Pages Shared Styles
   (About, Contact, FAQ, How It Works)
   ============================================ */

/* ---- Page Hero Header ---- */
.page-hero {
  padding: calc(var(--header-height) + var(--space-16)) 0 var(--space-16);
  background: var(--bg-dark);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 10% 20%, var(--tone-37) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, var(--tone-12) 0%, transparent 40%);
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: var(--space-4);
}

.page-hero p {
  color: var(--tone-28);
  font-size: var(--text-lg);
  margin-bottom: 0;
}

/* ---- About Page ---- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
  margin-bottom: var(--space-20);
}

.about-grid.reverse {
  direction: rtl;
}

.about-grid.reverse > * {
  direction: ltr;
}

.about-content h2 {
  margin-bottom: var(--space-4);
}

.about-content p {
  color: var(--text-secondary);
  font-size: var(--text-lg);
  margin-bottom: var(--space-6);
}

.about-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 4/3;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---- Contact Page ---- */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-12);
  max-width: 1000px;
  margin: 0 auto;
}

.contact-info {
  background: var(--bg-alt);
  padding: var(--space-8);
  border-radius: var(--radius-lg);
}

.contact-item {
  margin-bottom: var(--space-6);
}

.contact-item-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-2);
}

.contact-item p {
  color: var(--text-secondary);
  margin-bottom: 0;
}

.contact-form {
  background: var(--surface);
  padding: var(--space-10);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

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

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-sm);
  margin-bottom: var(--space-2);
  color: var(--text);
}

.form-control {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--text);
  transition: all var(--duration-fast);
  background: var(--bg-alt);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--tone-36);
  background: var(--white);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* ---- FAQ Page ---- */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-category {
  margin-bottom: var(--space-10);
}

.faq-category-title {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-2);
  border-bottom: 2px solid var(--primary-100);
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-4);
  overflow: hidden;
  background: var(--surface);
  transition: all var(--duration-fast);
}

.faq-item:hover {
  border-color: var(--primary-light);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: var(--space-4) var(--space-5);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-lg);
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
}

.faq-icon {
  color: var(--primary);
  transition: transform var(--duration-fast);
  flex-shrink: 0;
  margin-left: var(--space-4);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-normal) var(--ease-out);
}

.faq-answer-inner {
  padding: 0 var(--space-5) var(--space-5);
  color: var(--text-secondary);
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  
  .about-grid.reverse {
    direction: ltr;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
  }
  
  .contact-form {
    padding: var(--space-6);
  }
}
/* ============================================
   SmileKarisma — Shop & Product Page Styles
   ============================================ */

/* ---- Shop Page ---- */
.shop-header {
  padding: calc(var(--header-height) + var(--space-12)) 0 var(--space-12);
  background: var(--bg-alt);
  text-align: center;
}

.shop-filters {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-top: var(--space-8);
}

.filter-btn {
  padding: var(--space-2) var(--space-6);
  border-radius: var(--radius-full);
  background: var(--surface);
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: var(--text-sm);
  border: 1px solid var(--border);
  transition: all var(--duration-fast);
}

.filter-btn:hover {
  border-color: var(--primary-light);
  color: var(--primary);
}

.filter-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 4px 12px var(--tone-38);
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
  margin-top: var(--space-12);
}

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: var(--space-16) 0;
  color: var(--text-muted);
}

/* ---- Product Detail Page ---- */
.product-detail-section {
  padding: calc(var(--header-height) + var(--space-12)) 0 var(--space-16);
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
}

.product-gallery {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.main-image-container {
  border-radius: var(--radius-xl);
  background: var(--bg-alt);
  padding: var(--space-8);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-light);
  overflow: hidden;
}

.main-image-container img {
  width: 85%;
  height: 85%;
  object-fit: contain;
  transition: transform var(--duration-slow);
}

.main-image-container:hover img {
  transform: scale(1.1);
}

.thumbnail-list {
  display: flex;
  gap: var(--space-4);
  overflow-x: auto;
  padding-bottom: var(--space-2);
}

.thumbnail-btn {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-md);
  background: var(--bg-alt);
  padding: var(--space-2);
  border: 2px solid transparent;
  transition: all var(--duration-fast);
  flex-shrink: 0;
}

.thumbnail-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.thumbnail-btn.active, .thumbnail-btn:hover {
  border-color: var(--primary);
}

.product-info {
  display: flex;
  flex-direction: column;
}

.pd-brand {
  color: var(--primary);
  font-weight: 700;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-2);
}

.pd-title {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-2);
  line-height: 1.1;
}

.pd-variant {
  color: var(--text-secondary);
  font-size: var(--text-lg);
  margin-bottom: var(--space-4);
}

.pd-price {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.pd-price-current {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--text);
}

.pd-price-original {
  font-size: var(--text-lg);
  color: var(--text-muted);
  text-decoration: line-through;
}

.pd-desc {
  color: var(--text-secondary);
  font-size: var(--text-base);
  line-height: 1.8;
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--border);
}

.pd-features, .pd-features-wrap ul {
  margin-bottom: var(--space-8);
}

.pd-features li, .pd-features-wrap li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
  color: var(--text);
}

.pd-features li::before, .pd-features-wrap li::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--success);
  color: var(--white);
  font-size: 12px;
  font-weight: bold;
}

.pd-actions {
  display: flex;
  gap: var(--space-4);
  align-items: stretch;
}

.quantity-selector {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  height: 52px;
}

.qty-btn {
  width: 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: var(--text-lg);
}

.qty-btn:hover {
  color: var(--primary);
  background: var(--bg-alt);
}

.qty-input {
  width: 40px;
  text-align: center;
  border: none;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--text);
  pointer-events: none;
}

.btn-add-cart {
  flex: 1;
  height: 52px;
  font-size: var(--text-lg);
}

/* ---- Tabs ---- */
.pd-tabs {
  margin-top: var(--space-16);
  border-top: 1px solid var(--border);
  padding-top: var(--space-8);
}

.tabs-nav {
  display: flex;
  gap: var(--space-8);
  margin-bottom: var(--space-6);
  border-bottom: 1px solid var(--border);
}

.tab-btn {
  padding: var(--space-3) 0;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-lg);
  color: var(--text-muted);
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
}

.tab-btn:hover {
  color: var(--text);
}

.tab-btn.active {
  color: var(--primary);
  border-color: var(--primary);
}

.tab-content {
  display: none;
  color: var(--text-secondary);
  line-height: 1.8;
}

.tab-content.active {
  display: block;
  animation: fadeIn var(--duration-normal) var(--ease-out);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---- Cart Page ---- */
.cart-page-section {
  padding: calc(var(--header-height) + var(--space-12)) 0 var(--space-16);
}

.cart-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-12);
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.cart-item {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  padding: var(--space-4);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.cart-item-img {
  width: 100px;
  height: 100px;
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  padding: var(--space-2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cart-item-details {
  flex: 1;
}

.cart-item-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-lg);
  color: var(--text);
  margin-bottom: var(--space-1);
}

.cart-item-variant {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.cart-item-price {
  font-weight: 700;
  font-size: var(--text-lg);
  color: var(--text);
}

.cart-item-remove {
  color: var(--text-muted);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
}

.cart-item-remove:hover {
  background: var(--tone-14);
  color: var(--error);
}

.cart-summary {
  background: var(--bg-alt);
  padding: var(--space-8);
  border-radius: var(--radius-xl);
  height: fit-content;
  position: sticky;
  top: calc(var(--header-height) + var(--space-8));
}

.cart-summary h3 {
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--border);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--space-4);
  color: var(--text-secondary);
}

.summary-total {
  display: flex;
  justify-content: space-between;
  margin-top: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-2xl);
  color: var(--text);
}

.cart-empty {
  text-align: center;
  padding: var(--space-16) 0;
  grid-column: 1 / -1;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .shop-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .shop-grid { grid-template-columns: repeat(2, 1fr); }
  
  .product-detail-grid { grid-template-columns: 1fr; }
  
  .cart-layout { grid-template-columns: 1fr; }
  
  .cart-item {
    flex-wrap: wrap;
    position: relative;
  }
  
  .cart-item-remove {
    position: absolute;
    top: var(--space-2);
    right: var(--space-2);
  }
  
  .cart-item-price-qty {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: var(--space-4);
  }
}

@media (max-width: 480px) {
  .shop-grid { grid-template-columns: 1fr; }
  
  .pd-actions { flex-direction: column; }
  
  .tabs-nav { flex-direction: column; gap: var(--space-2); border: none; }
  .tab-btn { border-bottom: none; border-left: 3px solid transparent; padding-left: var(--space-3); text-align: left; }
}





/* ---- Added when the design was connected to the CMS ---- */
[hidden] { display: none !important; }
.hero-bg { background-image: url('../images/lifestyle/hero-banner.jpg'); }
.section:not(:has(*)) { display: none; }
.nav-links a[aria-current="page"] { color: var(--primary); }
header.scrolled .nav-links a[aria-current="page"] { color: var(--primary); }

.category-card { position: relative; }
.category-card-link::after { content: ''; position: absolute; inset: 0; }

.product-badge:empty, .product-card-variant:empty, .price-original:empty, .pd-price-original:empty { display: none; }
.product-card-name a { color: inherit; }

a.filter-btn { display: inline-flex; align-items: center; text-decoration: none; }

.shop-grid + .pager, .blog-grid + .pager, .pager { margin-top: var(--space-10); }
.pager__list { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: var(--space-2); list-style: none; margin: 0; padding: 0; }
.pager__page, .pager__step, .pager__gap { min-width: 42px; height: 42px; padding: 0 var(--space-3); display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: var(--radius-md); color: var(--text-secondary); font-family: var(--font-heading); font-weight: 600; }
.pager__page.is-current, a.pager__page:hover, a.pager__step:hover { background: var(--primary); border-color: var(--primary); color: var(--text-on-primary); }
.pager__gap { border: 0; }

.faq-section + .faq-section { padding-top: 0; }
.faq-section:has(+ .faq-section) { padding-bottom: 0; }

.contact-fields { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; }
.contact-fields .formField { grid-column: 1 / -1; margin-bottom: var(--space-5); }
.contact-fields .formField:nth-child(1), .contact-fields .formField:nth-child(2) { grid-column: auto; }
.formField__label { display: block; font-family: var(--font-heading); font-weight: 600; font-size: var(--text-sm); margin-bottom: var(--space-2); color: var(--text); }
.formField__input { width: 100%; padding: var(--space-3) var(--space-4); border: 1px solid var(--border); border-radius: var(--radius-md); font-family: var(--font-body); font-size: var(--text-base); color: var(--text); background: var(--bg-alt); }
.formField__input:focus { outline: none; border-color: var(--primary); background: var(--white); }
textarea.formField__input { resize: vertical; min-height: 120px; }
.formField__req { color: var(--primary); }
.form-status { margin: var(--space-4) 0 0; text-align: center; }
.form-status:empty { display: none; }
.form-status.is-error { color: #c0392b; }

.text-page { max-width: 760px; margin: 0 auto; color: var(--text-secondary); line-height: 1.8; }
.text-page p, .text-page ul, .text-page ol { margin-bottom: var(--space-5); }
.text-page h2, .text-page h3 { color: var(--text); margin: var(--space-8) 0 var(--space-3); }

/* The basket and checkout pages are written by the CMS: clear the fixed header. */
.shopPage { padding-top: var(--header-height); }

/* The design strips the background off every <button>; give the checkout's "Place order" button its colour back. */
html body button:where(.shopPage .btn--primary) { background: var(--shop-primary); color: #fff; }
html body button:where(.shopPage .btn--ghost) { border: 1px solid var(--shop-border); }

/* Product photographs are composed 4:3 on their own studio background: show them edge to edge. */
.products-grid .product-card-image,
.shop-grid .product-card-image { aspect-ratio: 4 / 3; padding: 0; }
.products-grid .product-card-image img,
.shop-grid .product-card-image img { width: 100%; height: 100%; object-fit: contain; }
.products-grid .product-card:hover .product-card-image img,
.shop-grid .product-card:hover .product-card-image img { transform: scale(1.03); }
.product-gallery .main-image-container { aspect-ratio: 4 / 3; padding: 0; }
.product-gallery .main-image-container img { width: 100%; height: 100%; object-fit: contain; }
.product-gallery .main-image-container:hover img { transform: scale(1.04); }
.price-ask { color: var(--text-secondary); font-weight: 600; font-size: var(--text-sm); }
.pd-enquire { margin-bottom: var(--space-6); }
.pd-enquire .btn { align-self: flex-start; }
/* Product cards: keep room under the price for the "View product" button, so it covers neither the
   photograph nor the text. */
.products-grid .product-card-body,
.shop-grid .product-card-body { padding-bottom: 4.75rem; }

/* Three product lines and six products: three to a row on a wide screen. */
@media (min-width: 1025px) {
  .categories-grid,
  .shop-grid { grid-template-columns: repeat(3, 1fr); }
}
