/* ============================================
   CLOUDCARE STYLES - MATCHING LABEL AESTHETIC
   ============================================ */

/* Fonts - Matching Label Typography */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Pacifico&family=Inter:wght@400;500;600;700&display=swap');

/* Color System - From Labels */
:root {
  /* Primary Palette (from labels) */
  --cloud-blue: #C5DBE8;
  --cloud-white: #FDFEFE;
  --cloud-gray: #6B6B6B;
  --cloud-charcoal: #3A3A3A;
  --cloud-soft-white: #F8F9FA;

  /* Semantic Colors */
  --text-primary: var(--cloud-charcoal);
  --text-secondary: var(--cloud-gray);
  --background: var(--cloud-white);
  --background-alt: var(--cloud-soft-white);
  --accent: var(--cloud-blue);
  --border: rgba(107, 107, 107, 0.12);

  /* Spacing Scale (8px base) */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 32px;
  --space-xl: 48px;
  --space-2xl: 64px;
  --space-3xl: 96px;

  /* Border Radius */
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 24px;

  /* Shadows - Softer than before */
  --shadow-sm: 0 2px 8px rgba(58, 58, 58, 0.04);
  --shadow-md: 0 4px 16px rgba(58, 58, 58, 0.06);
  --shadow-lg: 0 8px 24px rgba(58, 58, 58, 0.08);
}

/* ============================================
   BASE STYLES
   ============================================ */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.125rem; /* 18px */
  line-height: 1.7;
  color: var(--text-primary);
  background: linear-gradient(180deg, #E8F1F7 0%, var(--cloud-white) 40%, var(--cloud-white) 100%);
  min-height: 100vh;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

/* Product Names - Script Font */
h1, h2, h3, .product-name, .brand-collection {
  font-family: 'Pacifico', cursive;
  font-weight: 400;
  letter-spacing: 0.01em;
}

h1 { font-size: 3rem; line-height: 1.1; margin-bottom: var(--space-sm); }
h2 { font-size: 2.25rem; line-height: 1.2; margin-bottom: var(--space-sm); }
h3 { font-size: 1.5rem; line-height: 1.3; margin-bottom: var(--space-xs); }
h4 { font-size: 1.25rem; line-height: 1.4; font-family: 'Cormorant Garamond', serif; font-weight: 600; }

/* Body Text */
p {
  margin-bottom: var(--space-sm);
  color: var(--text-secondary);
}

/* UI Text - Sans-serif for functional elements */
.btn, .nav, input, select, button, label, .pill, .badge {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: -0.01em;
}

/* Links */
a {
  color: var(--text-primary);
  transition: color 0.2s ease;
}

a:hover {
  color: var(--cloud-gray);
}

.no-link {
  text-decoration: none;
  color: inherit;
}

/* ============================================
   LAYOUT
   ============================================ */

.container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--space-3xl) 0;
}

.section-title {
  margin-bottom: var(--space-xl);
  text-align: center;
}

.section-title h1,
.section-title h2 {
  margin-bottom: var(--space-xs);
  color: var(--text-primary);
}

.section-title p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Page headers need more space */
body > main > .section:first-child .section-title {
  margin-bottom: var(--space-2xl);
}

.band {
  background: rgba(248, 249, 250, 0.5);
  border-top: 1px solid rgba(197, 219, 232, 0.3);
  border-bottom: 1px solid rgba(197, 219, 232, 0.3);
}

/* ============================================
   HEADER
   ============================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 254, 254, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.brand-collection {
  color: var(--cloud-gray);
  font-family: 'Pacifico', cursive;
  font-size: 1rem;
  margin-left: var(--space-xs);
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav a {
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--cloud-gray);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--cloud-charcoal);
  color: var(--cloud-white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--text-primary);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  background: var(--background-alt);
  border-color: var(--cloud-gray);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  padding: var(--space-3xl) 0;
  background: linear-gradient(180deg, var(--cloud-blue) 0%, rgba(232, 241, 247, 0.3) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(255,255,255,0.4) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-copy h1 {
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.hero-copy p {
  font-size: 1.25rem;
  margin-bottom: var(--space-lg);
  color: var(--text-secondary);
}

.cta-row {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.hero-art {
  position: relative;
  height: 500px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(197, 219, 232, 0.3);
}

.blob {
  display: none;
}

.mock {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #E8F1F7 0%, #C5DBE8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero_img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ============================================
   CARDS & PRODUCT GRID
   ============================================ */

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(197, 219, 232, 0.3);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(197, 219, 232, 0.15);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(197, 219, 232, 0.25);
  border-color: rgba(197, 219, 232, 0.5);
}

.card-art {
  position: relative;
  overflow: hidden;
  height: 330px;
  background: var(--cloud-blue);
}

.card-art > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: var(--space-md);
}

/* Product Background Colors - Matching Label Blues */
.bg-cloudbath { background: linear-gradient(135deg, #D5E5F0, #E8F1F7); }
.bg-cloudwrap { background: linear-gradient(135deg, #C5DBE8, #DDE9F1); }
.bg-cloudpolish { background: linear-gradient(135deg, #D0E4ED, #E5EFF4); }
.bg-cloudreset { background: linear-gradient(135deg, #CAE0EB, #E0EDF3); }
.bg-cloudsilk { background: linear-gradient(135deg, #D8E7F0, #E8F2F7); }
.bg-cloudmilk { background: linear-gradient(135deg, #C8DEEA, #E2EEF4); }
.bg-cloudbar { background: linear-gradient(135deg, #D2E3ED, #E6F0F5); }
.bg-cloudrinse { background: linear-gradient(135deg, #CBE0EC, #E3EFF4); }
.bg-cloudveil { background: linear-gradient(135deg, #CFE2EE, #E7F1F6); }
.bg-cloudshave { background: linear-gradient(135deg, #C7DDEA, #E1EDF3); }
.bg-cloudlume { background: linear-gradient(135deg, #D4E5F0, #E9F2F7); }
.bg-cloudglow { background: linear-gradient(135deg, #CCE1ED, #E4EFF4); }
.bg-cloudglaze { background: linear-gradient(135deg, #C9DFEB, #E2EEF4); }
.bg-default { background: var(--cloud-blue); }

.card-body {
  padding: var(--space-md);
  background: rgba(255, 255, 255, 0.5);
}

.card-body h3 {
  margin-bottom: var(--space-xs);
  min-height: 48px;
  display: flex;
  align-items: center;
}

.hero_img {
  width: 100%;
}

.blurb {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
  line-height: 1.6;
}

.tags {
  display: flex;
  gap: var(--space-xs);
  flex-wrap: wrap;
  margin: var(--space-sm) 0;
}

.pill {
  font-family: 'Inter', sans-serif;
  background: var(--background-alt);
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.2s ease;
}

.pill:hover {
  background: var(--cloud-blue);
  border-color: var(--cloud-blue);
  color: var(--text-primary);
}

.buy-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--space-sm);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--border);
}

.price {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.375rem;
  color: var(--text-primary);
}

/* ============================================
   FORMS & INPUTS
   ============================================ */

input[type="text"],
input[type="email"],
input[type="search"],
input[type="number"],
select,
textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  color: var(--text-primary);
  background: var(--cloud-white);
  transition: all 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--cloud-gray);
  box-shadow: 0 0 0 3px rgba(107, 107, 107, 0.08);
}

.qty {
  width: 80px;
  text-align: center;
}

/* ============================================
   CART
   ============================================ */

.cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  text-decoration: none;
}

.cart-icon {
  font-size: 1.5rem;
}

.cart-badge {
  position: absolute;
  top: -6px;
  right: -10px;
  background: var(--cloud-charcoal);
  color: var(--cloud-white);
  font-family: 'Inter', sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1;
  padding: 4px 7px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

.cart-drawer {
  position: fixed;
  inset: 0;
  background: rgba(58, 58, 58, 0.4);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 100;
}

.cart-drawer.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer__panel {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: min(440px, 92vw);
  background: var(--cloud-white);
  border-left: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.cart-drawer.open .cart-drawer__panel {
  transform: translateX(0);
}

.cart-drawer__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md);
  border-bottom: 1px solid var(--border);
}

.cart-drawer__head strong {
  font-family: 'Pacifico', cursive;
  font-weight: 400;
  font-size: 1.25rem;
}

.cart-close {
  appearance: none;
  border: 1px solid var(--border);
  background: transparent;
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 1.25rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cart-close:hover {
  background: var(--background-alt);
}

.cart-drawer__body {
  padding: var(--space-md);
  overflow-y: auto;
  flex: 1;
}

.cart-drawer__foot {
  border-top: 1px solid var(--border);
  padding: var(--space-md);
  background: var(--background-alt);
}

.cart-line {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-sm);
  margin-bottom: var(--space-sm);
  background: var(--cloud-white);
}

.line-name {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 4px;
  color: var(--text-secondary);
}

.line-meta {
  font-family: 'Inter', sans-serif;
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.line-actions {
  display: flex;
  gap: var(--space-xs);
  align-items: center;
}

.subtotal {
  font-size: 1.125rem;
  margin-bottom: var(--space-sm);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--border);
}

.subtotal strong {
  font-weight: 700;
  font-size: 1.375rem;
}

.cart-actions {
  display: flex;
  gap: var(--space-xs);
}

.muted {
  color: var(--text-secondary);
  font-style: italic;
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
  border-top: 1px solid rgba(197, 219, 232, 0.3);
  background: rgba(248, 249, 250, 0.5);
  backdrop-filter: blur(8px);
  padding: var(--space-lg) 0;
}

.foot-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.foot-inner p {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  margin: 0;
}

.foot-links {
  display: flex;
  gap: var(--space-md);
}

.foot-links a {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.foot-links a:hover {
  color: var(--text-primary);
}

/* ============================================
   SPECIALTY SECTIONS
   ============================================ */

.spotlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.spot {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(197, 219, 232, 0.3);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: 0 4px 16px rgba(197, 219, 232, 0.15);
}

.spot h4 {
  margin-bottom: var(--space-xs);
}

.type {
  color: var(--cloud-gray);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-left: var(--space-xs);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.step {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(197, 219, 232, 0.3);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: 0 4px 16px rgba(197, 219, 232, 0.15);
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--cloud-charcoal);
  color: var(--cloud-white);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  margin-right: var(--space-xs);
}

.faq {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(197, 219, 232, 0.3);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  margin-bottom: var(--space-sm);
  box-shadow: 0 4px 16px rgba(197, 219, 232, 0.15);
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.125rem;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq[open] summary {
  margin-bottom: var(--space-sm);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--border);
}

/* ============================================
   PAGE-SPECIFIC STYLES
   ============================================ */

/* Shop Page - Make it feel like home page */
.layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.filter {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(197, 219, 232, 0.3);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: 0 4px 16px rgba(197, 219, 232, 0.15);
  position: sticky;
  top: 88px;
}

.filter h2 {
  font-family: 'Pacifico', cursive;
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.filter .group {
  margin: var(--space-md) 0;
  padding: 0;
  border: none;
}

.filter .group + .group {
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(197, 219, 232, 0.3);
}

.filter .group legend {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  margin-bottom: var(--space-xs);
}

.filter .chips {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xs);
  margin-top: var(--space-xs);
}

.filter .chip {
  padding: 8px 10px;
  text-align: center;
  font-size: 0.8125rem;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(197, 219, 232, 0.4);
  transition: all 0.2s ease;
}

.filter .chip:hover {
  background: rgba(197, 219, 232, 0.3);
  border-color: var(--cloud-blue);
}

.filter .chip.active {
  background: var(--cloud-charcoal);
  color: var(--cloud-white);
  border-color: var(--cloud-charcoal);
}

/* Breadcrumbs */
.breadcrumbs,
.crumbs {
  display: flex;
  gap: var(--space-xs);
  align-items: center;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
}

.breadcrumbs a,
.crumbs a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumbs a:hover,
.crumbs a:hover {
  color: var(--text-primary);
}

/* Toolbar */
.toolbar {
  display: flex;
  gap: var(--space-md);
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
  padding: var(--space-md);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(197, 219, 232, 0.3);
  border-radius: var(--radius-md);
}

.search {
  flex: 1;
  max-width: 400px;
}

.search input {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(197, 219, 232, 0.4);
}

.result-count {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.empty-state {
  text-align: center;
  padding: var(--space-3xl) var(--space-md);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(197, 219, 232, 0.3);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 16px rgba(197, 219, 232, 0.15);
}

.empty-state h3 {
  font-family: 'Pacifico', cursive;
  font-size: 1.75rem;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

/* Product Detail Page */
.product-hero {
  padding: var(--space-2xl) 0;
}

.pgrid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--space-xl);
  align-items: start;
}

.pgrid > div:first-child {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(197, 219, 232, 0.3);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  box-shadow: 0 4px 16px rgba(197, 219, 232, 0.15);
}

.pgrid > div:last-child {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(197, 219, 232, 0.3);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  box-shadow: 0 4px 16px rgba(197, 219, 232, 0.15);
}

.p-title {
  font-family: 'Pacifico', cursive;
  font-size: 2.5rem;
  margin-bottom: var(--space-xs);
}

.price-row {
  display: flex;
  gap: var(--space-sm);
  align-items: center;
  margin: var(--space-md) 0;
}

.compare {
  text-decoration: line-through;
  color: var(--text-secondary);
  font-size: 1.125rem;
}

.inv {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
}

.inv.in { color: #1a7f37; }
.inv.low { color: #b45309; }
.inv.soldout { color: #b91c1c; }

.buy-box {
  display: grid;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.buy-box label {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
}

.buy-row {
  display: flex;
  gap: var(--space-sm);
  align-items: center;
}

/* Tabs */
.tabs {
  display: flex;
  gap: var(--space-xs);
  margin-top: var(--space-lg);
  padding: 6px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-md);
  border: 1px solid rgba(197, 219, 232, 0.3);
}

.tab {
  appearance: none;
  border: none;
  background: transparent;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--text-secondary);
}

.tab:hover {
  background: rgba(197, 219, 232, 0.2);
  color: var(--text-primary);
}

.tab.active,
.tab[aria-selected="true"] {
  background: var(--cloud-charcoal);
  color: var(--cloud-white);
}

.pane {
  display: none;
  padding-top: var(--space-md);
}

.pane.active {
  display: block;
}

/* Gallery */
.thumbs {
  display: flex;
  gap: var(--space-xs);
  flex-wrap: wrap;
  margin-top: var(--space-sm);
}

.thumbs button {
  border: 1px solid rgba(197, 219, 232, 0.4);
  background: rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-sm);
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s ease;
}

.thumbs button:hover {
  border-color: var(--cloud-blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.thumbs img {
  height: 64px;
  width: 64px;
  object-fit: cover;
  display: block;
}

/* Related Products */
.related {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 980px) {
  :root {
    --space-3xl: 64px;
  }

  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .hero-art {
    height: 300px;
  }

  .grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .spotlights,
  .steps {
    grid-template-columns: 1fr;
  }

  /* Shop page responsive */
  .layout {
    grid-template-columns: 1fr;
  }

  .filter {
    position: static;
    margin-bottom: var(--space-lg);
  }

  /* Product page responsive */
  .pgrid {
    grid-template-columns: 1fr;
  }

  .related {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  :root {
    --space-3xl: 48px;
    --space-2xl: 48px;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }

  .grid {
    grid-template-columns: 1fr;
  }

  .header-inner {
    height: 64px;
  }

  .nav {
    gap: var(--space-sm);
  }

  .nav a {
    font-size: 0.875rem;
  }

  .cta-row {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .filter .chips {
    grid-template-columns: 1fr;
  }

  .toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .search {
    max-width: 100%;
  }

  .related {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus styles for keyboard navigation */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--cloud-charcoal);
  outline-offset: 2px;
}
