@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600;700&display=swap");

/* ===== Design Tokens ===== */

:root {
  --bg: #f7f4ef;
  --bg-alt: #ede8e0;
  --surface: #ffffff;
  --surface-2: rgba(255, 255, 255, 0.82);
  --text: #1a1714;
  --text-2: #3d3530;
  --muted: #7a6e65;
  --muted-2: #9e9088;
  --line: rgba(26, 23, 20, 0.09);
  --line-strong: rgba(26, 23, 20, 0.16);
  --shadow-sm: 0 2px 8px rgba(40, 30, 20, 0.07);
  --shadow: 0 8px 32px rgba(40, 30, 20, 0.1);
  --shadow-lg: 0 24px 64px rgba(40, 30, 20, 0.14);
  --accent: #8a6747;
  --accent-light: #c9a57d;
  --accent-dark: #5c4028;
  --radius-xl: 20px;
  --radius-lg: 14px;
  --radius-md: 10px;
  --radius-sm: 6px;
  --container: min(1240px, calc(100vw - 48px));
  --serif: "Playfair Display", "Georgia", "Times New Roman", serif;
  --sans: "Inter", "Segoe UI", "Helvetica Neue", sans-serif;
  /* Footer dark theme */
  --footer-bg: #0d1117;
  --footer-bg-2: #111820;
  --footer-text: #e8e3da;
  --footer-muted: #8a8f96;
  --footer-accent: #c9a57d;
  --footer-line: rgba(255, 255, 255, 0.08);
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { border: 0; background: none; color: inherit; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; }

/* ===== Layout Utilities ===== */
.container {
  width: var(--container);
  margin: 0 auto;
}

.page {
  padding-bottom: 0;
  flex: 1;
}

/* ===== Typography ===== */
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.7rem;
  color: var(--accent);
  font-weight: 700;
  font-family: var(--sans);
}

.section__title {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.15;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 244, 239, 0.92);
  backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}

.site-header__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 70px;
  padding: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
  color: var(--text);
}

.brand__mark {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(138, 103, 71, 0.15);
  flex-shrink: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav__link {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 6px;
  transition: color 150ms ease, background 150ms ease;
}

.site-nav__link:hover {
  color: var(--text);
  background: rgba(26, 23, 20, 0.05);
}

.site-nav__link[aria-current="page"] {
  color: var(--text);
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ===== Buttons ===== */
.icon-button,
.pill-button,
.chip-button,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.875rem;
  transition: transform 140ms ease, background 140ms ease, box-shadow 140ms ease, color 140ms ease, border-color 140ms ease;
  white-space: nowrap;
}

.icon-button {
  min-height: 40px;
  min-width: 40px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  font-size: 0.85rem;
}

.icon-button:hover,
.primary-button:hover,
.secondary-button:hover,
.pill-button:hover,
.chip-button:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.count-pill {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
}

.primary-button {
  min-height: 44px;
  padding: 0 22px;
  background: var(--text);
  color: #fff;
  font-size: 0.875rem;
}

.primary-button:hover {
  background: var(--text-2);
}

.secondary-button {
  min-height: 44px;
  padding: 0 22px;
  border: 1.5px solid var(--line-strong);
  background: transparent;
  color: var(--text);
}

.secondary-button:hover {
  border-color: var(--text);
  background: transparent;
}

.pill-button, .chip-button {
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--muted);
  font-size: 0.82rem;
}

.pill-button.is-active,
.chip-button.is-active,
.filter-chip.is-active {
  background: var(--text);
  border-color: var(--text);
  color: #fff;
}

/* ===== Hero Banner ===== */
.hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 0;
}

.hero-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 540px;
  position: relative;
}

.hero-banner__content {
  background: linear-gradient(135deg, #1a1714 0%, #2c2420 50%, #3d3126 100%);
  padding: clamp(40px, 6vw, 80px) clamp(30px, 5vw, 70px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  position: relative;
  overflow: hidden;
}

.hero-banner__content::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(201, 165, 125, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 100% 100%, rgba(138, 103, 71, 0.12) 0%, transparent 45%);
  pointer-events: none;
}

.hero-banner__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.68rem;
  color: var(--accent-light);
  font-weight: 700;
  margin-bottom: 16px;
}

.hero-banner__title {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #f5f0e8;
  margin-bottom: 20px;
}

.hero-banner__lead {
  color: rgba(245, 240, 232, 0.65);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 42ch;
  margin-bottom: 32px;
}

.hero-banner__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-banner__actions .primary-button {
  background: var(--accent);
  color: #fff;
}

.hero-banner__actions .primary-button:hover {
  background: var(--accent-dark);
}

.hero-banner__actions .secondary-button {
  border-color: rgba(245, 240, 232, 0.3);
  color: rgba(245, 240, 232, 0.85);
}

.hero-banner__actions .secondary-button:hover {
  border-color: rgba(245, 240, 232, 0.7);
  background: rgba(245, 240, 232, 0.08);
}

.hero-banner__visual {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(255, 255, 255, 0.6), transparent 30%),
    linear-gradient(155deg, #ddd0be 0%, #c4b09a 40%, #96775a 100%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-badge {
  position: absolute;
  top: 28px;
  left: 28px;
  background: #fff;
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 999px;
  z-index: 2;
}

.hero-cta-floating {
  position: absolute;
  bottom: 32px;
  right: 32px;
  background: var(--accent);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 12px 22px;
  border-radius: 999px;
  z-index: 2;
  transition: background 150ms ease, transform 150ms ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-cta-floating:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

/* ===== Brand Strip ===== */
.brand-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  padding: 16px 0;
}

.brand-strip__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  overflow: hidden;
}

.brand-strip__label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted-2);
  padding-right: 28px;
  border-right: 1px solid var(--line-strong);
  margin-right: 28px;
  white-space: nowrap;
  flex-shrink: 0;
}

.brand-strip__logos {
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
}

.brand-strip__logo {
  font-family: var(--serif);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.05em;
  transition: color 150ms ease;
  white-space: nowrap;
}

.brand-strip__logo:hover {
  color: var(--text);
}

/* ===== Section Generic ===== */
.section {
  padding: 60px 0;
}

.section--tight {
  padding: 40px 0;
}

.section--flush {
  padding: 0;
}

.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section__lead {
  margin-top: 10px;
  max-width: 58ch;
  color: var(--muted);
  line-height: 1.72;
  font-size: 0.95rem;
}

.section__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.section__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 140ms ease;
}

.section__link:hover {
  color: var(--accent);
}

/* ===== Product Cards ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: box-shadow 200ms ease, transform 200ms ease;
}

.product-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.product-card__media {
  aspect-ratio: 3 / 4;
  position: relative;
  overflow: hidden;
  background: var(--bg-alt);
  isolation: isolate;
}

.product-art {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.55), transparent 22%),
    linear-gradient(148deg, var(--tone-1) 0%, var(--tone-2) 44%, var(--tone-3) 100%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.product-art::before {
  content: none;
}

.product-art::after {
  content: none;
}

.product-art__base,
.product-art__orb,
.product-art__line {
  display: none;
}

.product-art__base {
  display: none;
}

.product-art__orb {
  display: none;
}

.product-card__badge {
  position: absolute;
  left: 12px; top: 12px;
  padding: 5px 10px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.92);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
}

.product-card__fav-btn {
  position: absolute;
  right: 10px; top: 10px;
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  cursor: pointer;
  font-size: 0.9rem;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 150ms ease, transform 150ms ease, background 150ms ease;
}

.product-card:hover .product-card__fav-btn {
  opacity: 1;
  transform: translateY(0);
}

.product-card__fav-btn.is-active {
  opacity: 1;
  background: #fff;
  color: #c0392b;
}

.product-card__body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.product-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.product-card__cat {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted-2);
}

.rating {
  color: #b07d30;
  font-size: 0.78rem;
  font-weight: 700;
}

.product-card__title {
  font-family: var(--serif);
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--text);
  line-height: 1.35;
}

.product-card__text {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.compare-price {
  color: var(--muted-2);
  text-decoration: line-through;
  font-size: 0.84rem;
}

.card-actions {
  display: flex;
  gap: 6px;
}

.icon-button--small {
  min-height: 36px;
  min-width: 36px;
  padding: 0 10px;
  font-size: 0.82rem;
  background: var(--bg);
  border: 1px solid var(--line-strong);
}

/* ===== Category Cards ===== */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.category-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  min-height: 168px;
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  position: relative;
  transition: box-shadow 200ms ease, transform 200ms ease;
}

.category-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.category-card::after {
  content: "";
  position: absolute;
  inset: auto -30px -30px auto;
  width: 100px; height: 100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(138, 103, 71, 0.12), transparent 70%);
  pointer-events: none;
}

.category-card__eyebrow {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 6px;
}

.category-card__name {
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.2;
}

.category-card__desc {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.6;
  margin-top: 6px;
}

.category-card__link {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
}

/* ===== Editorial / Lookbook Grid ===== */
.lookbook-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}

.lookbook-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.lookbook-card--main {
  grid-row: 1 / 3;
}

.lookbook-card__inner {
  width: 100%;
  height: 100%;
  min-height: 220px;
  position: relative;
  overflow: hidden;
}

.lookbook-card--main .lookbook-card__inner {
  min-height: 100%;
}

.lookbook-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 400ms ease;
}

.lookbook-card:hover .lookbook-bg {
  transform: scale(1.04);
}

.lookbook-card__label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 60px 18px 18px;
  background: linear-gradient(to top, rgba(14, 11, 9, 0.72) 0%, transparent 100%);
  color: #fff;
}

.lookbook-card__title {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 2px;
}

.lookbook-card--main .lookbook-card__title {
  font-size: 1.4rem;
}

.lookbook-card__sub {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.72);
}

/* ===== "Made With" Feature Strip ===== */
.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 200ms ease;
}

.feature-card:hover {
  box-shadow: var(--shadow);
}

.feature-card__media {
  aspect-ratio: 16 / 10;
  position: relative;
  overflow: hidden;
}

.feature-card__art {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 400ms ease;
}

.feature-card:hover .feature-card__art {
  transform: scale(1.05);
}

.feature-card__body {
  padding: 18px 20px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-card__eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
}

.feature-card__title {
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--text);
}

.feature-card__text {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.65;
  flex: 1;
}

.feature-card__link {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-top: auto;
}

/* ===== Inspiration / Blog Strip ===== */
.inspiration-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

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

.inspiration-image__art {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 22% 18%, rgba(255, 255, 255, 0.5), transparent 28%),
    linear-gradient(150deg, #d8c8b4 0%, #b8a088 38%, #7d5f43 100%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.inspiration-content {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.inspiration-item {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.inspiration-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.inspiration-item__eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 8px;
}

.inspiration-item__title {
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 10px;
}

.inspiration-item__text {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 14px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
  border-bottom: 1.5px solid var(--text);
  padding-bottom: 1px;
  transition: color 140ms ease, border-color 140ms ease;
}

.text-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ===== Trust Band ===== */
.trust-strip {
  background: var(--text);
  padding: 28px 0;
}

.trust-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(245, 240, 232, 0.9);
}

.trust-item__icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.trust-item__text strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: #f5f0e8;
}

.trust-item__text span {
  font-size: 0.78rem;
  color: rgba(245, 240, 232, 0.58);
}

/* ===== Products Page Toolbar ===== */
.product-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.toolbar-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip {
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--muted);
  font-weight: 600;
  font-size: 0.82rem;
  cursor: pointer;
  transition: background 140ms ease, color 140ms ease, border-color 140ms ease;
}

.filter-chip:hover {
  background: var(--bg-alt);
  color: var(--text);
}

.sort-select,
.search-input {
  min-height: 40px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--text);
  padding: 0 16px;
  font-size: 0.85rem;
}

.search-input { min-width: min(100%, 280px); }

.search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px 6px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  min-width: min(100%, 380px);
}

.search-bar input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  outline: 0;
  font-size: 0.9rem;
}

.search-bar input::placeholder { color: var(--muted-2); }

/* ===== Detail Page ===== */
.breadcrumbs {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: 28px;
  align-items: start;
}

.detail-card {
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
}

.detail-card__media {
  min-height: 640px;
  padding: 18px;
  display: grid;
  gap: 14px;
  grid-template-columns: 1.12fr 0.88fr;
}

.detail-hero {
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.62), transparent 16%),
    linear-gradient(155deg, var(--tone-1) 0%, var(--tone-2) 44%, var(--tone-3) 100%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.detail-hero::before {
  content: none;
}

.detail-hero::after {
  content: none;
}

.detail-side { display: grid; gap: 14px; }

.detail-side__block {
  border-radius: 12px;
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 16px 18px;
}

.detail-side__block h3 {
  margin-bottom: 10px;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}

.detail-side__block p,
.detail-side__block li {
  color: var(--muted);
  line-height: 1.72;
  font-size: 0.88rem;
}

.detail-side__block ul { margin: 0; padding-left: 18px; }

.detail-content {
  padding: 28px 30px;
}

.detail-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-top: 6px;
}

.detail-subtitle {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 58ch;
}

.detail-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0 20px;
  color: var(--muted);
  font-size: 0.9rem;
}

.detail-price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 20px;
}

.detail-price {
  font-size: 2rem;
  font-weight: 700;
}

.detail-selectors {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.selector-group { display: grid; gap: 8px; }

.selector-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  font-weight: 700;
}

.selector-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.selector-button {
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  color: var(--muted);
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 140ms ease, color 140ms ease, border-color 140ms ease;
}

.selector-button.is-active {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.detail-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.spec {
  padding: 14px 16px;
  border-radius: 10px;
  background: var(--bg);
  border: 1px solid var(--line);
}

.spec__label {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.68rem;
  font-weight: 700;
}

.spec__value {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.88rem;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

/* ===== Cart Page ===== */
.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 24px;
}

.cart-items { display: grid; gap: 14px; }

.cart-line {
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 18px;
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
}

.cart-line__media {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.cart-line__media .product-art {
  position: static;
  height: 100%;
  width: 100%;
}

.cart-line__title {
  font-family: var(--serif);
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.cart-line__meta {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.7;
}

.cart-line__controls {
  display: grid;
  justify-items: end;
  gap: 10px;
}

.qty-stepper {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--bg);
}

.qty-stepper__value {
  min-width: 22px;
  text-align: center;
  font-weight: 700;
  font-size: 0.88rem;
}

.summary-card {
  border-radius: var(--radius-xl);
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  position: sticky;
  top: 90px;
}

.summary-card h2 {
  font-family: var(--serif);
  font-size: 1.8rem;
  margin-bottom: 18px;
}

.summary-list {
  display: grid;
  gap: 12px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.summary-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.summary-list strong { color: var(--text); }

.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding-top: 16px;
  border-top: 2px solid var(--line-strong);
}

.summary-total strong { font-size: 1.2rem; }

.empty-state {
  padding: 48px 36px;
  border-radius: var(--radius-xl);
  border: 1.5px dashed var(--line-strong);
  background: rgba(255, 255, 255, 0.7);
  color: var(--muted);
  text-align: center;
}

.empty-state h2 {
  font-family: var(--serif);
  font-size: 1.8rem;
  color: var(--text);
  margin-bottom: 10px;
}

/* ===== FOOTER – Dark theme, Northstar-style ===== */
.footer {
  background: var(--footer-bg);
  margin-top: 0;
}

.footer__divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--footer-line) 20%, var(--footer-line) 80%, transparent);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: 48px;
  padding: 56px 0 48px;
  align-items: start;
}

.footer__brand-col {}

.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--footer-text);
  margin-bottom: 16px;
}

.footer__logo-mark {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--footer-accent);
  flex-shrink: 0;
}

.footer__tagline {
  color: var(--footer-muted);
  font-size: 0.9rem;
  line-height: 1.75;
  max-width: 44ch;
}

.footer__col-title {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--footer-accent);
  margin-bottom: 18px;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  margin: 0; padding: 0;
}

.footer__nav a {
  color: var(--footer-muted);
  font-size: 0.9rem;
  transition: color 140ms ease;
}

.footer__nav a:hover {
  color: var(--footer-text);
}

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__contact-item {
  color: var(--footer-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  transition: color 140ms ease;
}

.footer__contact-item:is(a):hover {
  color: var(--footer-text);
}

.footer__bottom {
  border-top: 1px solid var(--footer-line);
  padding: 20px 0;
}

.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer__copy {
  font-size: 0.78rem;
  color: var(--footer-muted);
}

/* ===== Legal Page ===== */
.legal-container {
  padding-top: 48px;
  padding-bottom: 80px;
  max-width: 760px;
}

.legal-section {
  padding: 48px 0 40px;
}

.legal-section__title {
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--text);
  margin: 10px 0 6px;
  line-height: 1.2;
}

.legal-section__meta {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 36px;
}

.legal-body h2 {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  margin: 32px 0 10px;
}

.legal-body p,
.legal-body li {
  font-size: 0.95rem;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 12px;
}

.legal-body ul {
  padding-left: 20px;
  margin-bottom: 12px;
}

.legal-body li {
  margin-bottom: 6px;
}

.legal-body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-body a:hover {
  color: var(--accent-dark);
}

.legal-body code {
  font-size: 0.85em;
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  padding: 1px 6px;
  color: var(--text-2);
}

.legal-divider {
  height: 1px;
  background: var(--line-strong);
  margin: 0;
}

.footer__legal-links {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer__legal-link {
  color: var(--footer-muted);
  font-size: 0.78rem;
  transition: color 140ms ease;
}

.footer__legal-link:hover {
  color: var(--footer-text);
}

/* ===== Misc ===== */
.hidden { display: none !important; }

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .hero-banner { grid-template-columns: 1fr; }
  .hero-banner__visual { min-height: 320px; }
  .detail-layout, .cart-layout { grid-template-columns: 1fr; }
  .detail-card__media { min-height: 0; }
  .category-grid, .product-grid, .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lookbook-grid { grid-template-columns: 1fr 1fr; }
  .lookbook-card--main { grid-row: auto; }
  .feature-strip { grid-template-columns: 1fr 1fr; }
  .inspiration-layout { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer__brand-col { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  :root { --container: min(100vw - 28px, 1240px); }
  .hero-banner__content { padding: 40px 28px; }
  .hero-banner__title { font-size: 2.6rem; }
  .section { padding: 40px 0; }
  .category-grid, .product-grid, .related-grid, .feature-strip, .lookbook-grid { grid-template-columns: 1fr; }
  .product-toolbar, .section__head { flex-direction: column; align-items: flex-start; }
  .search-bar { min-width: 100%; }
  .cart-line { grid-template-columns: 1fr; }
  .cart-line__controls { justify-items: start; }
  .detail-card__media { grid-template-columns: 1fr; }
  .detail-specs { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
  .trust-strip__inner { flex-direction: column; align-items: flex-start; gap: 16px; }
}
