@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* ---------- Design tokens ---------- */
:root {
  --background: 0 0% 5%;
  --foreground: 45 25% 92%;

  --card: 0 0% 8%;
  --card-foreground: 45 25% 92%;

  --primary: 43 74% 52%;
  --primary-foreground: 0 0% 6%;
  --primary-glow: 45 90% 65%;

  --secondary: 0 0% 12%;
  --secondary-foreground: 45 25% 92%;

  --muted: 0 0% 14%;
  --muted-foreground: 45 8% 65%;

  --destructive: 0 70% 50%;
  --destructive-foreground: 45 25% 95%;

  --border: 43 30% 18%;
  --input: 0 0% 14%;
  --ring: 43 74% 52%;

  --radius: 0.25rem;

  --gradient-gold: linear-gradient(135deg, hsl(43 74% 52%), hsl(45 90% 65%));
  --gradient-overlay: linear-gradient(90deg, hsl(0 0% 3% / 0.95) 0%, hsl(0 0% 3% / 0.6) 50%, transparent 100%);
  --gradient-bottom: linear-gradient(to top, hsl(var(--background)), hsl(var(--background) / 0.4), transparent);

  --shadow-gold: 0 10px 40px -10px hsl(43 74% 52% / 0.4);
  --shadow-elegant: 0 20px 60px -20px hsl(0 0% 0% / 0.8);
  --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);

  --container: 1400px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { border-color: hsl(var(--border)); }

html { -webkit-text-size-adjust: 100%; overflow-x: hidden; }

body {
  margin: 0;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11";
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
input, textarea, select, button { font-family: inherit; color: inherit; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 1.05;
}

p { margin: 0; }

::selection { background: hsl(var(--primary) / 0.3); color: hsl(var(--foreground)); }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}
@media (min-width: 768px)  { .container { padding: 0 2rem; } }

.section { padding: 6rem 0; }
@media (min-width: 768px) { .section { padding: 8rem 0; } }

.section--bg-card {
  background: hsl(var(--card));
  border-top: 1px solid hsl(var(--border) / 0.5);
  border-bottom: 1px solid hsl(var(--border) / 0.5);
}

/* ---------- Typography utilities ---------- */
.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  color: hsl(var(--primary));
}
.eyebrow--bordered {
  border: 1px solid hsl(var(--primary) / 0.4);
  padding: 0.5rem 1rem;
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

.h-display { font-family: 'Cormorant Garamond', serif; font-weight: 500; line-height: 1.05; }

.h-hero {
  font-size: 3rem;
  letter-spacing: -0.02em;
  margin: 0 0 1.5rem;
}
@media (min-width: 768px)  { .h-hero { font-size: 4.5rem; } }
@media (min-width: 1024px) { .h-hero { font-size: 6rem; } }

.h-section {
  font-size: 2.25rem;
  margin-top: 1rem;
  line-height: 1.1;
}
@media (min-width: 768px) { .h-section { font-size: 3.75rem; } }

.italic { font-style: italic; }

.text-gradient-gold {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-muted { color: hsl(var(--muted-foreground)); }
.text-primary { color: hsl(var(--primary)); }

.lead {
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.7;
}
@media (min-width: 768px) { .lead { font-size: 1.25rem; } }

.upper-track {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.6875rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0 1.5rem;
  height: 2.5rem;
  border-radius: 2px;
  border: 1px solid transparent;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  white-space: nowrap;
  background: transparent;
  color: hsl(var(--foreground));
  transition: var(--transition-smooth);
  cursor: pointer;
  user-select: none;
}
.btn:focus-visible {
  outline: 2px solid hsl(var(--ring));
  outline-offset: 2px;
}
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }

.btn--gold {
  background: var(--gradient-gold);
  color: hsl(var(--primary-foreground));
  box-shadow: var(--shadow-gold);
}
.btn--gold:hover:not([disabled]) { opacity: 0.92; }

.btn--outline {
  border-color: hsl(var(--primary) / 0.5);
  color: hsl(var(--foreground));
}
.btn--outline:hover:not([disabled]) {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.btn--ghost { color: hsl(var(--foreground)); }
.btn--ghost:hover:not([disabled]) { color: hsl(var(--primary)); }

.btn--lg { height: 3.5rem; padding: 0 2rem; }

.btn--icon {
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border-radius: 2px;
}
.btn--icon-sm { width: 1.5rem; height: 1.5rem; }

.btn--block { width: 100%; }

.btn .icon { width: 1rem; height: 1rem; flex-shrink: 0; }

/* ---------- Header / Navbar ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: transparent;
  transition: var(--transition-smooth);
}
.site-header.is-scrolled {
  background: hsl(var(--background) / 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid hsl(var(--border) / 0.6);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand__name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand__sub {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: hsl(var(--muted-foreground));
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2.5rem;
}
@media (min-width: 768px) { .nav-links { display: flex; } }
.nav-links a {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: hsl(var(--foreground) / 0.8);
  transition: var(--transition-smooth);
}
.nav-links a:hover { color: hsl(var(--primary)); }
.nav-links__sep {
  font-size: 0.75rem;
  color: hsl(var(--foreground) / 0.25);
  user-select: none;
  pointer-events: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.nav-quote { display: none; }
@media (min-width: 768px) { .nav-quote { display: inline-flex; } }

.menu-btn { display: inline-flex; }
@media (min-width: 768px) { .menu-btn { display: none; } }

.cart-btn {
  position: relative;
  background: transparent;
  border: none;
  color: hsl(var(--foreground));
  padding: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 2px;
  transition: var(--transition-smooth);
}
.cart-btn:hover { color: hsl(var(--primary)); }
.cart-btn .icon { width: 1.25rem; height: 1.25rem; }
.cart-badge {
  position: absolute;
  top: -2px; right: -2px;
  min-width: 1.25rem; height: 1.25rem;
  padding: 0 4px;
  border-radius: 999px;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  font-size: 0.6875rem;
  font-weight: 600;
  display: none;
  align-items: center;
  justify-content: center;
}
.cart-badge.is-visible { display: inline-flex; }

.mobile-nav {
  display: none;
  background: hsl(var(--background) / 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid hsl(var(--border) / 0.6);
}
.mobile-nav.is-open { display: block; }
.mobile-nav__inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem 1.25rem;
}
.mobile-nav a {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: hsl(var(--foreground) / 0.8);
}
.mobile-nav a.is-quote { color: hsl(var(--primary)); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-overlay);
  z-index: 1;
}
.hero__overlay--bottom {
  background: var(--gradient-bottom);
}
.hero__inner {
  position: relative;
  z-index: 2;
  padding: 8rem 0 5rem;
  width: 100%;
}
.hero__content { max-width: 42rem; }
.hero__lead { max-width: 36rem; margin: 0 0 2.5rem; }
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: hsl(var(--border));
}
@media (min-width: 768px)  { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  background: hsl(var(--background));
  padding: 2.5rem;
  transition: var(--transition-smooth);
}
.service-card:hover { background: hsl(var(--card)); }
.service-card .icon-lg {
  width: 2.5rem; height: 2.5rem;
  color: hsl(var(--primary));
  margin-bottom: 1.5rem;
  transition: var(--transition-smooth);
  stroke-width: 1.25;
}
.service-card:hover .icon-lg { transform: scale(1.1); }
.service-card h3 {
  font-size: 1.5rem;
  margin: 0 0 0.75rem;
}
.service-card p {
  color: hsl(var(--muted-foreground));
  line-height: 1.7;
}

/* ---------- Custom apparel (steps) ---------- */
.custom-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .custom-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

.steps {
  display: grid;
  gap: 1px;
  background: hsl(var(--border));
  list-style: none;
  margin: 0;
  padding: 0;
}
.step {
  background: hsl(var(--card));
  padding: 2rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}
.step__num {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 2px;
  border: 1px solid hsl(var(--primary) / 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}
.step__num .icon { width: 1.25rem; height: 1.25rem; color: hsl(var(--primary)); stroke-width: 1.5; }
.step__label {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: hsl(var(--primary));
  margin-bottom: 0.25rem;
}
.step h3 { font-size: 1.5rem; margin: 0 0 0.25rem; }
.step p { font-size: 0.875rem; color: hsl(var(--muted-foreground)); }

/* ---------- About ---------- */
.about { position: relative; overflow: hidden; }
.about::before {
  content: '';
  position: absolute;
  top: -5rem; right: -5rem;
  width: 24rem; height: 24rem;
  background: hsl(var(--primary) / 0.1);
  border-radius: 999px;
  filter: blur(80px);
}
.about__grid {
  position: relative;
  display: grid;
  gap: 4rem;
  align-items: center;
}
@media (min-width: 1024px) { .about__grid { grid-template-columns: 1fr 1fr; } }
.about__text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.7;
}
.about__text strong { color: hsl(var(--foreground)); font-weight: 500; }
.about__text em { font-style: normal; color: hsl(var(--primary)); }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid hsl(var(--border));
}
.stat__num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.25rem;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.stat__label {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-top: 0.25rem;
}

/* ---------- Contact ---------- */
.contact-cta {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}
.contact-cta .lead { max-width: 32rem; margin: 1.5rem auto 2.5rem; }
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
.contact-meta {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}
@media (min-width: 640px) {
  .contact-meta { flex-direction: row; gap: 1.5rem; }
  .contact-meta__sep { display: inline; }
}
.contact-meta__sep { display: none; }
.contact-meta a:hover { color: hsl(var(--primary)); }

/* ---------- Footer ---------- */
.site-footer {
  background: hsl(var(--background));
  border-top: 1px solid hsl(var(--border));
  padding: 3rem 0;
}
.footer-row {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
}
@media (min-width: 768px) { .footer-row { flex-direction: row; } }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}
.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-smooth);
}
.footer-links a:hover { color: hsl(var(--primary)); }
.footer-links .icon { width: 0.875rem; height: 0.875rem; }
.footer-copy {
  font-size: 0.75rem;
  text-align: center;
  color: hsl(var(--muted-foreground));
  border-top: 1px solid hsl(var(--border) / 0.5);
  padding-top: 1.5rem;
  margin-top: 2rem;
}
.footer-meta-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1rem;
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: hsl(var(--muted-foreground) / 0.6);
}
.footer-meta-links a:hover { color: hsl(var(--primary)); }

/* ---------- Cart drawer ---------- */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: hsl(0 0% 0% / 0.6);
  z-index: 60;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.drawer-backdrop.is-open { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed;
  top: 0; right: 0;
  height: 100dvh;
  width: 100%;
  max-width: 32rem;
  background: hsl(var(--card));
  border-left: 1px solid hsl(var(--border));
  z-index: 70;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}
.cart-drawer.is-open { transform: translateX(0); }

.cart-head {
  flex-shrink: 0;
  padding: 1.5rem;
  border-bottom: 1px solid hsl(var(--border) / 0.6);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  position: relative;
}
.cart-head h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cart-head p { color: hsl(var(--muted-foreground)); font-size: 0.875rem; }
.cart-close {
  position: absolute;
  top: 1rem; right: 1rem;
  background: transparent;
  border: none;
  color: hsl(var(--muted-foreground));
  width: 2rem; height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  transition: var(--transition-smooth);
}
.cart-close:hover { color: hsl(var(--foreground)); background: hsl(var(--secondary)); }

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  min-height: 0;
}
.cart-empty {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: hsl(var(--muted-foreground));
}
.cart-empty .icon { width: 3rem; height: 3rem; margin-bottom: 1rem; }

.cart-line {
  display: flex;
  gap: 1rem;
  padding: 0.75rem;
  background: hsl(var(--secondary) / 0.4);
  border: 1px solid hsl(var(--border) / 0.5);
  border-radius: 2px;
  margin-bottom: 1rem;
}
.cart-line__img {
  width: 5rem; height: 5rem;
  background: hsl(var(--background));
  border-radius: 2px;
  overflow: hidden;
  flex-shrink: 0;
}
.cart-line__img img { width: 100%; height: 100%; object-fit: cover; }
.cart-line__info { flex: 1; min-width: 0; }
.cart-line__title {
  font-weight: 500;
  color: hsl(var(--foreground));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
}
.cart-line__opts {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin: 0.125rem 0 0.25rem;
}
.cart-line__price {
  color: hsl(var(--primary));
  font-weight: 600;
}
.cart-line__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
  flex-shrink: 0;
}
.cart-line__qty {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.qty-btn {
  width: 1.5rem; height: 1.5rem;
  border: 1px solid hsl(var(--border));
  background: transparent;
  border-radius: 2px;
  color: hsl(var(--foreground));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}
.qty-btn:hover { border-color: hsl(var(--primary)); }
.qty-btn .icon { width: 0.75rem; height: 0.75rem; }
.qty-num {
  width: 2rem;
  text-align: center;
  font-size: 0.875rem;
}
.cart-remove {
  width: 1.5rem; height: 1.5rem;
  background: transparent;
  border: none;
  color: hsl(var(--muted-foreground));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}
.cart-remove:hover { color: hsl(var(--destructive)); }
.cart-remove .icon { width: 0.75rem; height: 0.75rem; }

.cart-foot {
  flex-shrink: 0;
  padding: 1.5rem;
  border-top: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cart-total__label {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}
.cart-total__value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 600;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Toast ---------- */
.toasts {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}
.toast {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  color: hsl(var(--foreground));
  padding: 0.875rem 1.25rem;
  border-radius: 2px;
  box-shadow: var(--shadow-elegant);
  min-width: 18rem;
  max-width: 24rem;
  pointer-events: auto;
  animation: toast-in 0.25s ease-out;
}
.toast.is-out { animation: toast-out 0.2s ease-in forwards; }
.toast__title { font-weight: 600; font-size: 0.875rem; }
.toast__desc { color: hsl(var(--muted-foreground)); font-size: 0.8125rem; margin-top: 0.125rem; }
.toast.is-error .toast__title { color: hsl(var(--destructive)); }
.toast.is-success .toast__title { color: hsl(var(--primary)); }
@keyframes toast-in  { from { opacity: 0; transform: translateY(-12px) scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes toast-out { from { opacity: 1; transform: none; }                            to { opacity: 0; transform: translateY(-12px) scale(0.96); } }

/* ---------- Page header (sub-pages) ---------- */
.page-main {
  flex: 1;
  padding: 6rem 0 4rem;
}
@media (min-width: 768px) { .page-main { padding: 7rem 0 5rem; } }
.page-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1.5rem;
  transition: var(--transition-smooth);
}
.page-back:hover { color: hsl(var(--primary)); }
.page-back .icon { width: 0.75rem; height: 0.75rem; }
.page-intro { max-width: 42rem; margin-bottom: 2rem; }
.page-intro h1 { font-size: 1.875rem; margin-top: 0.75rem; line-height: 1.1; }
@media (min-width: 768px) { .page-intro h1 { font-size: 2.5rem; } }
@media (min-width: 1024px) { .page-intro h1 { font-size: 2.75rem; } }
.page-intro p { color: hsl(var(--muted-foreground)); margin-top: 0.75rem; max-width: 32rem; font-size: 0.9375rem; }

.page-app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: hsl(var(--background));
}

/* ---------- Shop page ---------- */
.shop-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid hsl(var(--border));
  padding-bottom: 0.75rem;
}
.chip {
  padding: 0.4375rem 0.875rem;
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  border-radius: 2px;
  background: transparent;
  border: 1px solid hsl(var(--border));
  color: hsl(var(--muted-foreground));
  transition: var(--transition-smooth);
}
.chip:hover { color: hsl(var(--primary)); }
.chip.is-active {
  background: var(--gradient-gold);
  color: hsl(var(--primary-foreground));
  border-color: transparent;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 1rem;
  row-gap: 2rem;
  width: 100%;
}
@media (min-width: 640px)  { .products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 1.25rem; } }
@media (min-width: 1024px) { .products-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 1.25rem; row-gap: 2.25rem; } }

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
}
.product-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: hsl(var(--secondary));
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 0.625rem;
}
.product-card__media img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}
.product-card:hover .product-card__media img { transform: scale(1.05); }
.product-card__noimg {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: hsl(var(--muted-foreground));
  font-size: 0.8125rem;
}
.product-card__add {
  position: absolute;
  inset: auto 0.625rem 0.625rem 0.625rem;
  opacity: 0;
  transform: translateY(8px);
  transition: var(--transition-smooth);
}
.product-card:hover .product-card__add { opacity: 1; transform: none; }

.product-card__add .btn {
  width: 100%;
  height: 2.25rem;
  font-size: 0.6875rem;
  background: hsl(var(--background) / 0.95);
  color: hsl(var(--foreground));
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.product-card__add .btn:hover { background: var(--gradient-gold); color: hsl(var(--primary-foreground)); }

.product-card__title {
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.3;
  color: hsl(var(--foreground));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: var(--transition-smooth);
  margin: 0;
}
.product-card:hover .product-card__title { color: hsl(var(--primary)); }
.product-card__price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.8125rem;
  color: hsl(var(--primary));
  margin: 0.125rem 0 0;
  line-height: 1.2;
}

.empty-state {
  text-align: center;
  padding: 4rem 1rem;
  border: 1px dashed hsl(var(--border));
  border-radius: 2px;
}
.empty-state p { color: hsl(var(--muted-foreground)); margin-bottom: 1.5rem; }

.spinner-block {
  display: flex;
  justify-content: center;
  padding: 4rem 0;
}
.spinner {
  width: 2.5rem; height: 2.5rem;
  color: hsl(var(--primary));
  animation: spin 0.9s linear infinite;
}
.spinner-sm { width: 1rem; height: 1rem; }
@keyframes spin { to { transform: rotate(360deg); } }

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

.product-gallery { display: flex; flex-direction: column; gap: 1rem; }
.product-main-img {
  aspect-ratio: 1 / 1;
  background: hsl(var(--card));
  border-radius: 2px;
  overflow: hidden;
}
.product-main-img img { width: 100%; height: 100%; object-fit: cover; }
.product-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
}
.product-thumbs button {
  aspect-ratio: 1 / 1;
  background: hsl(var(--card));
  border-radius: 2px;
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  transition: var(--transition-smooth);
}
.product-thumbs button.is-active { border-color: hsl(var(--primary)); }
.product-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.product-detail h1 {
  font-size: 2.25rem;
  line-height: 1.1;
  margin: 0 0 1rem;
}
@media (min-width: 768px) { .product-detail h1 { font-size: 3rem; } }
.product-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.875rem;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0 0 2rem;
}
.option-group { margin-bottom: 1.5rem; }
.option-group__label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.75rem;
}
.option-values {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
}
.option-pill {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  border: 1px solid hsl(var(--border));
  border-radius: 2px;
  background: transparent;
  color: hsl(var(--foreground));
  transition: var(--transition-smooth);
}
.option-pill:hover { border-color: hsl(var(--primary)); }
.option-pill.is-active {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border-color: hsl(var(--primary));
}
.product-description {
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid hsl(var(--border));
}
.product-description__label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1rem;
}
.product-description p {
  color: hsl(var(--muted-foreground));
  line-height: 1.7;
  white-space: pre-line;
}

/* ---------- Quote / forms ---------- */
.form-narrow { max-width: 48rem; }

.form-section { margin-bottom: 2.5rem; }
.form-section h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 500;
  margin: 0 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid hsl(var(--border) / 0.6);
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 768px) { .field-grid { grid-template-columns: 1fr 1fr; } }

.field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.field label {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: hsl(var(--muted-foreground));
}

.field--full { grid-column: 1 / -1; }

.input,
.textarea,
.select {
  background: hsl(var(--input));
  border: 1px solid hsl(var(--border));
  color: hsl(var(--foreground));
  border-radius: 2px;
  padding: 0.625rem 0.875rem;
  font-size: 0.875rem;
  transition: var(--transition-smooth);
  width: 100%;
}
.input:focus,
.textarea:focus,
.select:focus {
  outline: none;
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 3px hsl(var(--primary) / 0.15);
}
.textarea { resize: vertical; min-height: 8rem; line-height: 1.6; }

.upload {
  display: block;
  border: 1px dashed hsl(var(--border));
  border-radius: 2px;
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}
.upload:hover { border-color: hsl(var(--primary) / 0.6); }
.upload .icon { width: 1.5rem; height: 1.5rem; color: hsl(var(--primary)); margin: 0 auto 0.75rem; stroke-width: 1.5; }
.upload input { display: none; }
.upload__hint { font-size: 0.75rem; color: hsl(var(--muted-foreground)); margin-top: 0.25rem; }

.file-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.file-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 2px;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}
.file-row__name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.file-row__size { color: hsl(var(--muted-foreground)); font-size: 0.75rem; margin-left: 0.5rem; }
.file-row__remove {
  background: transparent;
  border: none;
  color: hsl(var(--muted-foreground));
  width: 1.5rem; height: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}
.file-row__remove:hover { color: hsl(var(--destructive)); }
.file-row__remove .icon { width: 0.875rem; height: 0.875rem; }

.form-submit-row {
  padding-top: 1rem;
  border-top: 1px solid hsl(var(--border));
}
.form-submit-row .hint {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  margin-top: 1rem;
}
.form-submit-row .hint a { color: hsl(var(--primary)); text-decoration: underline; text-underline-offset: 4px; }

.success-block {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1rem;
}
.success-block .icon-check {
  width: 3.5rem; height: 3.5rem;
  color: hsl(var(--primary));
  margin: 0 auto 1.5rem;
  stroke-width: 1.25;
}
.success-block h1 {
  font-size: 2.25rem;
  margin: 0 0 1rem;
}
@media (min-width: 768px) { .success-block h1 { font-size: 3rem; } }
.success-block p {
  color: hsl(var(--muted-foreground));
  margin-bottom: 2rem;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}
.success-block strong { color: hsl(var(--foreground)); font-weight: 500; }
.success-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- 404 ---------- */
.notfound {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1rem;
}
.notfound h1 {
  font-size: 5rem;
  margin: 0 0 0.5rem;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.notfound p { color: hsl(var(--muted-foreground)); margin-bottom: 1.5rem; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .product-card:hover .product-card__media img,
  .service-card:hover .icon-lg { transform: none; }
}

/* ---------- Body scroll lock when drawer / menu open ---------- */
body.no-scroll { overflow: hidden; }
