/* === Royal De-Prince Technologies — Global Styles === */
:root {
  --radius: 0.625rem;
  --bg: oklch(0.99 0.005 80);
  --fg: oklch(0.18 0.04 260);
  --card: oklch(1 0 0);
  --card-fg: oklch(0.18 0.04 260);
  --secondary: oklch(0.95 0.02 80);
  --muted: oklch(0.95 0.01 80);
  --muted-fg: oklch(0.5 0.03 260);
  --border: oklch(0.9 0.015 80);
  --input: oklch(0.9 0.015 80);
  --navy: oklch(0.22 0.06 260);
  --gold: oklch(0.78 0.14 85);
  --gold-fg: oklch(0.22 0.06 260);
  --whatsapp: oklch(0.65 0.16 150);
  --primary-fg: oklch(0.98 0.01 90);
  --destructive: oklch(0.6 0.22 27);
  --gradient-hero: linear-gradient(135deg, oklch(0.18 0.06 260) 0%, oklch(0.28 0.08 265) 60%, oklch(0.4 0.1 270) 100%);
  --gradient-gold: linear-gradient(135deg, oklch(0.82 0.14 90), oklch(0.7 0.16 75));
  --shadow-royal: 0 20px 60px -15px color-mix(in oklab, var(--navy) 40%, transparent);
  --shadow-gold: 0 10px 40px -10px color-mix(in oklab, var(--gold) 50%, transparent);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; border-color: var(--border); }

html { font-family: 'Inter', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }

body {
  background: var(--bg);
  color: var(--fg);
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  letter-spacing: -0.02em;
}

/* === Utilities === */
.text-gradient-gold {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.bg-hero-gradient { background: var(--gradient-hero); }
.bg-gold-gradient { background: var(--gradient-gold); }
.shadow-royal { box-shadow: var(--shadow-royal); }
.shadow-gold { box-shadow: var(--shadow-gold); }
.font-display { font-family: 'Playfair Display', Georgia, serif; }
.text-navy { color: var(--navy); }

/* === Site wrapper === */
.site-wrap { display: flex; min-height: 100vh; flex-direction: column; }
.main-content { flex: 1; }

/* === Header === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: color-mix(in oklab, var(--bg) 85%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px) { .header-inner { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .header-inner { padding: 0 2rem; } }

.logo { display: flex; align-items: center; gap: 0.75rem; }
.logo img { width: 44px; height: 44px; }
.logo-text { line-height: 1.25; }
.logo-name { font-family: 'Playfair Display', Georgia, serif; font-size: 1.125rem; font-weight: 700; color: var(--navy); }
.logo-tag { font-size: 10px; text-transform: uppercase; letter-spacing: 0.2em; color: var(--muted-fg); }

.desktop-nav { display: none; align-items: center; gap: 2rem; }
@media (min-width: 768px) { .desktop-nav { display: flex; } }
.nav-link { font-size: 0.875rem; font-weight: 500; transition: color 0.15s; }
.nav-link:hover { color: var(--fg); }
.nav-link-active { color: var(--fg); font-weight: 600; }

.header-actions { display: flex; align-items: center; gap: 0.75rem; }

.cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  height: 2.75rem;
  padding: 0 1.25rem;
  border-radius: 9999px;
  background: var(--navy);
  color: var(--primary-fg);
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: var(--shadow-royal);
  transition: opacity 0.15s;
}
.cart-btn:hover { opacity: 0.9; }
.cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 1.25rem;
  min-width: 1.25rem;
  border-radius: 9999px;
  background: var(--gold);
  padding: 0 0.375rem;
  font-size: 11px;
  font-weight: 700;
  color: var(--gold-fg);
}

.menu-toggle {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 9999px;
  padding: 0.5rem;
  background: transparent;
  cursor: pointer;
  color: var(--fg);
}
@media (min-width: 768px) { .menu-toggle { display: none; } }

.mobile-nav {
  border-top: 1px solid var(--border);
  padding: 0.75rem 1rem;
}
@media (min-width: 768px) { .mobile-nav { display: none !important; } }
.mobile-nav nav { display: flex; flex-direction: column; max-width: 80rem; margin: 0 auto; }
.mobile-nav-link {
  padding: 0.75rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 0.375rem;
  display: block;
}
.mobile-nav-link:hover { background: var(--secondary); }

/* === Buttons === */
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 9999px;
  background: var(--gradient-gold);
  color: var(--gold-fg);
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: var(--shadow-gold);
  transition: transform 0.15s;
}
.btn-gold:hover { transform: scale(1.02); }

.btn-navy {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 9999px;
  background: var(--navy);
  color: var(--primary-fg);
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: var(--shadow-royal);
  transition: opacity 0.15s;
}
.btn-navy:hover { opacity: 0.9; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 9999px;
  border: 1px solid color-mix(in oklab, var(--primary-fg) 30%, transparent);
  color: var(--primary-fg);
  font-size: 0.875rem;
  font-weight: 600;
  transition: background 0.15s;
}
.btn-outline:hover { background: color-mix(in oklab, var(--primary-fg) 10%, transparent); }

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 9999px;
  background: var(--whatsapp);
  color: white;
  font-size: 0.875rem;
  font-weight: 600;
}
.btn-whatsapp:hover { opacity: 0.9; }
.btn-block { width: 100%; justify-content: center; }

.btn-add {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  height: 2.5rem;
  padding: 0 1rem;
  border-radius: 9999px;
  background: var(--navy);
  color: var(--primary-fg);
  font-size: 0.875rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.btn-add:hover { background: var(--gold); color: var(--gold-fg); }

.btn-remove {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted-fg);
  padding: 0.25rem;
}
.btn-remove:hover { color: var(--destructive); }

.btn-clear {
  width: 100%;
  padding: 0.625rem 1.5rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: transparent;
  font-size: 0.75rem;
  color: var(--muted-fg);
  cursor: pointer;
}
.btn-clear:hover { background: var(--secondary); }

/* === Section suptitle === */
.section-suptitle {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--gold);
}

/* === Badge === */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid color-mix(in oklab, var(--gold) 40%, transparent);
  background: color-mix(in oklab, var(--gold) 10%, transparent);
  padding: 0.375rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gold);
}

/* === Hero === */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #111;
  color: var(--primary-fg);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -10;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

/* Hero slideshow */
.hero-slides {
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: heroFade 30s ease-in-out infinite;
}
.hero-slide:nth-child(1) { animation-delay: 0s; }
.hero-slide:nth-child(2) { animation-delay: 5s; }
.hero-slide:nth-child(3) { animation-delay: 10s; }
.hero-slide:nth-child(4) { animation-delay: 15s; }
.hero-slide:nth-child(5) { animation-delay: 20s; }
.hero-slide:nth-child(6) { animation-delay: 25s; }

@keyframes heroFade {
  0%, 100% { opacity: 0; transform: scale(1.05); }
  3% { opacity: 0.3; transform: scale(1); }
  15% { opacity: 0.3; transform: scale(1); }
  18% { opacity: 0; transform: scale(1.05); }
}

.hero-slideshow .hero-content {
  position: relative;
  z-index: 2;
}

.hero-slideshow .hero-text h1 {
  text-shadow: 0 2px 30px rgba(0,0,0,0.5);
}
.hero-slideshow .hero-text p {
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.hero-slideshow .badge {
  border-color: rgba(255,255,255,0.3);
  background: rgba(0,0,0,0.3);
}
.hero-slideshow .hero-stats {
  border-top-color: rgba(255,255,255,0.2);
}
.hero-slideshow .stat-label {
  color: rgba(255,255,255,0.7);
}
.hero-content {
  max-width: 80rem;
  margin: 0 auto;
  padding: 6rem 1rem;
  display: grid;
  gap: 3rem;
}
@media (min-width: 640px) { .hero-content { padding: 6rem 1.5rem; } }
@media (min-width: 1024px) { .hero-content { padding: 8rem 2rem; grid-template-columns: 1fr 1fr; } }

.hero-text h1 {
  margin-top: 1.5rem;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.05;
}
@media (min-width: 640px) { .hero-text h1 { font-size: 3.75rem; } }
@media (min-width: 1024px) { .hero-text h1 { font-size: 4.5rem; } }

.hero-text p {
  margin-top: 1.5rem;
  max-width: 36rem;
  font-size: 1.125rem;
  line-height: 1.625;
  color: color-mix(in oklab, var(--primary-fg) 80%, transparent);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  border-top: 1px solid color-mix(in oklab, var(--primary-fg) 15%, transparent);
  padding-top: 2rem;
  margin-top: 3rem;
}
.stat-value { font-family: 'Playfair Display', Georgia, serif; font-size: 1.5rem; font-weight: 700; color: var(--gold); }
.stat-label { display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: color-mix(in oklab, var(--primary-fg) 60%, transparent); }

/* === Services strip === */
.services-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: color-mix(in oklab, var(--secondary) 40%, transparent);
  display: grid;
  gap: 1.5rem;
  max-width: 80rem;
  margin: 0 auto;
  padding: 3rem 1rem;
}
@media (min-width: 640px) { .services-strip { padding: 3rem 1.5rem; grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-strip { padding: 3rem 2rem; grid-template-columns: repeat(4, 1fr); } }

.service-item { display: flex; align-items: flex-start; gap: 1rem; }
.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: color-mix(in oklab, var(--gold) 15%, transparent);
  color: var(--navy);
  flex-shrink: 0;
}
.service-title { font-weight: 600; }
.service-desc { font-size: 0.875rem; color: var(--muted-fg); }

/* === Section header === */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.section-header h2 {
  margin-top: 0.5rem;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.25rem;
  font-weight: 700;
}
@media (min-width: 640px) { .section-header h2 { font-size: 3rem; } }
.view-all { display: none; font-size: 0.875rem; font-weight: 600; color: var(--navy); }
.view-all:hover { text-decoration: underline; }
@media (min-width: 640px) { .view-all { display: inline; } }

/* === Product grid === */
.product-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
@media (min-width: 640px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }

.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--card);
  transition: box-shadow 0.2s;
}
.product-card:hover { box-shadow: var(--shadow-royal); }

.product-image-wrap {
  position: relative;
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--secondary);
}
.product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.product-card:hover .product-image-wrap img { transform: scale(1.05); }

.product-cat {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  border-radius: 9999px;
  background: var(--gold);
  padding: 0.25rem 0.75rem;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gold-fg);
}

.product-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.25rem;
}
.product-name { font-family: 'Playfair Display', Georgia, serif; font-size: 1.125rem; font-weight: 600; line-height: 1.25; }
.product-name:hover { color: var(--navy); }
.product-desc {
  margin-top: 0.25rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 0.875rem;
  color: var(--muted-fg);
}
.product-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: 1rem;
}
.price-label { font-size: 0.75rem; color: var(--muted-fg); }
.product-price { display: block; font-size: 1.25rem; font-weight: 700; color: var(--navy); }

/* === Featured products section === */
.featured-products {
  max-width: 80rem;
  margin: 0 auto;
  padding: 6rem 1rem;
}
@media (min-width: 640px) { .featured-products { padding: 6rem 1.5rem; } }
@media (min-width: 1024px) { .featured-products { padding: 6rem 2rem; } }

/* === Home Services section === */
.home-services {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem 6rem;
}
@media (min-width: 640px) { .home-services { padding: 0 1.5rem 6rem; } }
@media (min-width: 1024px) { .home-services { padding: 0 2rem 6rem; } }

/* === Home About section === */
.home-about {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem 6rem;
}
@media (min-width: 640px) { .home-about { padding: 0 1.5rem 6rem; } }
@media (min-width: 1024px) { .home-about { padding: 0 2rem 6rem; } }

.home-about-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 768px) { .home-about-grid { grid-template-columns: 1fr 1fr; } }

.home-about-image img {
  width: 100%;
  border-radius: 1.5rem;
  object-fit: cover;
  box-shadow: var(--shadow-royal);
}

.home-about-text h2 {
  margin-top: 0.5rem;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.25rem;
  font-weight: 700;
}
@media (min-width: 640px) { .home-about-text h2 { font-size: 3rem; } }

.home-about-text p {
  margin-top: 1.25rem;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: color-mix(in oklab, var(--fg) 80%, transparent);
}

.home-about-text .btn-gold { margin-top: 1.5rem; }

/* === CTA section === */
.cta-section {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem 6rem;
}
@media (min-width: 640px) { .cta-section { padding: 0 1.5rem 6rem; } }
@media (min-width: 1024px) { .cta-section { padding: 0 2rem 6rem; } }

.cta-card {
  border-radius: 1.5rem;
  background: var(--gradient-hero);
  padding: 3rem 1.5rem;
  text-align: center;
  color: var(--primary-fg);
}
@media (min-width: 640px) { .cta-card { padding: 4rem; } }
.cta-card h2 { font-family: 'Playfair Display', Georgia, serif; font-size: 1.875rem; font-weight: 700; }
@media (min-width: 640px) { .cta-card h2 { font-size: 3rem; } }
.cta-card p {
  max-width: 36rem;
  margin: 1rem auto 0;
  color: color-mix(in oklab, var(--primary-fg) 75%, transparent);
}
.cta-card .btn-gold { margin-top: 2rem; }

/* === Services page === */
.services-page, .shop-page, .about-page, .contact-page, .cart-page, .product-detail, .error-page {
  max-width: 80rem;
  margin: 0 auto;
  padding: 4rem 1rem;
}
@media (min-width: 640px) { .services-page, .shop-page, .about-page, .contact-page, .cart-page, .product-detail, .error-page { padding: 4rem 1.5rem; } }
@media (min-width: 1024px) { .services-page, .shop-page, .about-page, .contact-page, .cart-page, .product-detail, .error-page { padding: 4rem 2rem; } }

.services-header, .shop-header, .about-header, .contact-header { text-align: center; }
.services-header h1, .shop-header h1, .about-header h1, .contact-header h1 {
  margin-top: 0.5rem;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3rem;
  font-weight: 700;
}
.services-header p, .shop-header p, .contact-header p {
  max-width: 42rem;
  margin: 0.75rem auto 0;
  color: var(--muted-fg);
}

/* === Services grid === */
.services-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 3.5rem;
}
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 1.75rem;
  transition: box-shadow 0.2s;
}
.service-card:hover { box-shadow: var(--shadow-royal); }

.service-card-icon {
  display: inline-flex;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background: var(--gradient-gold);
  color: var(--gold-fg);
  box-shadow: var(--shadow-gold);
}
.service-card h3 { margin-top: 1.25rem; font-family: 'Playfair Display', Georgia, serif; font-size: 1.25rem; font-weight: 600; }
.service-card p { margin-top: 0.5rem; font-size: 0.875rem; color: var(--muted-fg); }

.services-cta {
  margin-top: 4rem;
  border-radius: 1.5rem;
  background: var(--gradient-hero);
  padding: 2.5rem;
  text-align: center;
  color: var(--primary-fg);
}
@media (min-width: 640px) { .services-cta { padding: 3.5rem; } }
.services-cta h2 { font-family: 'Playfair Display', Georgia, serif; font-size: 1.875rem; font-weight: 700; }
@media (min-width: 640px) { .services-cta h2 { font-size: 2.25rem; } }
.services-cta p { max-width: 36rem; margin: 0.75rem auto 0; color: color-mix(in oklab, var(--primary-fg) 75%, transparent); }
.services-cta .btn-gold { margin-top: 1.75rem; }

/* === Shop controls === */
.shop-controls {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}
@media (min-width: 640px) {
  .shop-controls { flex-direction: row; align-items: center; justify-content: space-between; }
}

.category-filters { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.filter-btn {
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  background: var(--secondary);
  color: var(--fg);
  border: none;
  cursor: pointer;
  transition: background 0.15s;
}
.filter-btn:hover { background: color-mix(in oklab, var(--secondary) 70%, transparent); }
.filter-active { background: var(--navy) !important; color: var(--primary-fg) !important; }

.search-form input {
  width: 100%;
  padding: 0.625rem 1.25rem;
  border-radius: 9999px;
  border: 1px solid var(--input);
  background: var(--bg);
  font-size: 0.875rem;
  outline: none;
}
.search-form input:focus { ring: 2px solid color-mix(in oklab, var(--gold) 30%, transparent); }
@media (min-width: 640px) { .search-form input { width: 18rem; } }

.no-results { text-align: center; padding: 5rem 0; color: var(--muted-fg); }

/* === About page === */
.about-content {
  max-width: 48rem;
  margin: 2.5rem auto 0;
}
.about-content p {
  font-size: 1.125rem;
  line-height: 1.625;
  color: color-mix(in oklab, var(--fg) 80%, transparent);
  margin-top: 1rem;
}
.about-content p:first-child { margin-top: 0; }

.values-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 4rem;
}
@media (min-width: 640px) { .values-grid { grid-template-columns: repeat(3, 1fr); } }

.value-card {
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 1.5rem;
  text-align: center;
}
.value-icon {
  display: inline-flex;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background: color-mix(in oklab, var(--gold) 15%, transparent);
  color: var(--navy);
}
.value-card h3 { margin-top: 1rem; font-family: 'Playfair Display', Georgia, serif; font-size: 1.125rem; font-weight: 600; }
.value-card p { margin-top: 0.25rem; font-size: 0.875rem; color: var(--muted-fg); }

/* === Contact page === */
.contact-grid {
  display: grid;
  gap: 2.5rem;
  margin-top: 3rem;
}
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; } }

.contact-info { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-card {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--card);
  transition: box-shadow 0.2s;
}
.contact-card:hover { box-shadow: var(--shadow-royal); }
.contact-card-icon {
  display: inline-flex;
  width: 3rem;
  height: 3rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background: var(--gradient-gold);
  color: var(--gold-fg);
}
.contact-card-title { font-weight: 600; }
.contact-card-desc { font-size: 0.875rem; color: var(--muted-fg); }

.contact-form {
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 1.75rem;
  box-shadow: var(--shadow-royal);
}
.contact-form h2 { font-family: 'Playfair Display', Georgia, serif; font-size: 1.5rem; font-weight: 700; }
.contact-form p { margin-top: 0.25rem; font-size: 0.875rem; color: var(--muted-fg); }

.form-fields { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.form-fields label { display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: 0.25rem; }
.form-fields input, .form-fields textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid var(--input);
  background: var(--bg);
  font-size: 0.875rem;
  outline: none;
  font-family: inherit;
}
.form-fields input:focus, .form-fields textarea:focus { ring: 2px solid color-mix(in oklab, var(--gold) 40%, transparent); }

/* === Product detail page === */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  font-size: 0.875rem;
  color: var(--muted-fg);
}
.back-link:hover { color: var(--fg); }

.product-detail-grid {
  display: grid;
  gap: 3rem;
}
@media (min-width: 1024px) { .product-detail-grid { grid-template-columns: 1fr 1fr; } }

.product-detail-image {
  overflow: hidden;
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--secondary) 40%, transparent);
}
.product-detail-image img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.product-detail-info .product-cat { position: static; display: inline-flex; margin-bottom: 1rem; }
.product-detail-info h1 {
  margin-top: 1rem;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.25rem;
  font-weight: 700;
}
@media (min-width: 640px) { .product-detail-info h1 { font-size: 3rem; } }
.product-detail-price { margin-top: 1rem; font-size: 1.875rem; font-weight: 700; color: var(--navy); }
.product-detail-info > p { margin-top: 1.5rem; font-size: 1.125rem; line-height: 1.625; color: var(--muted-fg); }

.feature-list { margin-top: 2rem; list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.feature-list li { display: flex; align-items: center; gap: 0.75rem; font-size: 0.875rem; }
.check-icon {
  display: inline-flex;
  width: 1.5rem;
  height: 1.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: color-mix(in oklab, var(--gold) 20%, transparent);
  color: var(--navy);
  flex-shrink: 0;
}

.product-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.5rem; }

.install-note {
  margin-top: 2.5rem;
  padding: 1.25rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--secondary) 40%, transparent);
  font-size: 0.875rem;
  color: var(--muted-fg);
}
.install-note strong { color: var(--fg); }

/* === Cart page === */
.cart-empty { text-align: center; padding: 6rem 1rem; }
.cart-empty svg { margin: 0 auto; color: var(--muted-fg); }
.cart-empty h1 { margin-top: 1.5rem; font-family: 'Playfair Display', Georgia, serif; font-size: 2.25rem; font-weight: 700; }
.cart-empty p { margin-top: 0.75rem; color: var(--muted-fg); }
.cart-empty .btn-navy { margin-top: 2rem; }

.cart-title { font-family: 'Playfair Display', Georgia, serif; font-size: 2.25rem; font-weight: 700; }
@media (min-width: 640px) { .cart-title { font-size: 3rem; } }

.cart-layout {
  display: grid;
  gap: 2.5rem;
  margin-top: 2.5rem;
}
@media (min-width: 1024px) { .cart-layout { grid-template-columns: 1fr 360px; } }

.cart-items {
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--card);
  overflow: hidden;
}
.cart-items > * + * { border-top: 1px solid var(--border); }

.cart-item {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
}
.cart-item img {
  width: 6rem;
  height: 6rem;
  border-radius: 0.75rem;
  object-fit: cover;
  flex-shrink: 0;
}
.cart-item-info { flex: 1; display: flex; flex-direction: column; }
.cart-item-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.75rem; }
.cart-item-name { font-weight: 600; }
.cart-item-name:hover { color: var(--navy); }
.cart-item-price { font-size: 0.875rem; color: var(--muted-fg); }
.cart-item-actions { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.cart-item-total { font-weight: 600; color: var(--navy); }

.qty-controls {
  display: flex;
  align-items: center;
  gap: 0;
  border-radius: 9999px;
  border: 1px solid var(--border);
  overflow: hidden;
}
.qty-controls button {
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qty-controls span {
  width: 2rem;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 500;
}

.cart-summary {
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 1.5rem;
  box-shadow: var(--shadow-royal);
  height: fit-content;
}
.cart-summary h2 { font-family: 'Playfair Display', Georgia, serif; font-size: 1.25rem; font-weight: 700; }
.summary-row, .summary-total {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
  font-size: 0.875rem;
}
.summary-row span:first-child { color: var(--muted-fg); }
.summary-total {
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  margin-top: 1rem;
  font-size: 1.125rem;
  font-weight: 700;
}
.summary-total span:last-child { color: var(--navy); }
.cart-summary .btn-whatsapp { margin-top: 1.5rem; }
.cart-summary .btn-clear { margin-top: 0.75rem; }
.cart-disclaimer {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted-fg);
}

/* === Error page === */
.error-page { text-align: center; }
.error-page h1 { font-size: 4.5rem; font-weight: 700; }
.error-page h2 { margin-top: 1rem; font-family: 'Playfair Display', Georgia, serif; font-size: 1.25rem; font-weight: 600; }
.error-page p { margin-top: 0.5rem; font-size: 0.875rem; color: var(--muted-fg); }
.error-page .btn-navy { margin-top: 1.5rem; }

/* === Footer === */
.site-footer { margin-top: 6rem; background: var(--navy); color: var(--primary-fg); }
.footer-inner {
  display: grid;
  gap: 2.5rem;
  max-width: 80rem;
  margin: 0 auto;
  padding: 4rem 1rem;
}
@media (min-width: 640px) { .footer-inner { padding: 4rem 1.5rem; } }
@media (min-width: 1024px) { .footer-inner { padding: 4rem 2rem; grid-template-columns: 2fr 1fr 1fr; } }

.footer-brand h3 { font-family: 'Playfair Display', Georgia, serif; font-size: 1.5rem; font-weight: 700; }
.footer-brand p { margin-top: 0.75rem; max-width: 28rem; font-size: 0.875rem; line-height: 1.5; color: color-mix(in oklab, var(--primary-fg) 70%, transparent); }
.footer-links h4, .footer-contact h4 {
  margin-bottom: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gold);
}
.footer-links ul, .footer-contact ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.875rem; color: color-mix(in oklab, var(--primary-fg) 70%, transparent); }
.footer-links a:hover { color: var(--gold); }
.footer-contact li { display: flex; gap: 0.5rem; }
.footer-contact li svg { width: 1rem; height: 1rem; color: var(--gold); flex-shrink: 0; margin-top: 0.125rem; }

.footer-bottom {
  border-top: 1px solid color-mix(in oklab, var(--primary-fg) 10%, transparent);
}
.footer-bottom p {
  max-width: 80rem;
  margin: 0 auto;
  padding: 1.5rem 1rem;
  text-align: center;
  font-size: 0.75rem;
  color: color-mix(in oklab, var(--primary-fg) 60%, transparent);
}

/* === WhatsApp FAB === */
.whatsapp-fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 40;
  display: inline-flex;
  width: 3.5rem;
  height: 3.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: var(--whatsapp);
  color: white;
  box-shadow: var(--shadow-gold);
  transition: transform 0.15s;
}
.whatsapp-fab:hover { transform: scale(1.1); }

/* === Responsive helpers === */
@media (min-width: 640px) { .sm\:inline { display: inline; } }
@media (min-width: 640px) { .sm\:flex { display: flex; } }

/* === Print === */
@media print {
  .site-header, .site-footer, .whatsapp-fab { display: none; }
}
