/* MNK Baby — Blush Garden Atelier
   Soft rose + sage on cool pearl mist. Fraunces + Manrope. */

:root {
  --ink: #181416;
  --ink-soft: #2f292c;
  --muted: #5a5155;
  --muted-soft: #7a7075;
  --line: rgba(24, 20, 22, 0.11);
  --line-strong: rgba(24, 20, 22, 0.18);

  --rose: #b24f64;
  --rose-deep: #8a364a;
  --rose-soft: #f0d6dd;
  --rose-mist: rgba(178, 79, 100, 0.16);

  --sage: #456858;
  --sage-deep: #345044;
  --sage-soft: #d2e1d8;
  --sage-mist: rgba(69, 104, 88, 0.16);

  --bg: #f3ecee;
  --bg-2: #e8e0e4;
  --surface: rgba(255, 253, 252, 0.92);
  --surface-solid: #fffcfb;
  --surface-hover: #ffffff;

  --shadow-sm: 0 1px 2px rgba(28, 23, 25, 0.04);
  --shadow: 0 12px 36px rgba(28, 23, 25, 0.07);
  --shadow-lift: 0 20px 48px rgba(28, 23, 25, 0.11);

  --radius: 1.35rem;
  --radius-sm: 0.85rem;
  --radius-xs: 0.55rem;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;

  --space: clamp(1rem, 2.5vw, 1.5rem);
  --wrap: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: auto; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 500;
  line-height: 1.55;
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 900px 520px at 8% -8%, rgba(243, 221, 227, 0.9) 0%, transparent 58%),
    radial-gradient(ellipse 720px 480px at 96% 4%, rgba(216, 229, 221, 0.85) 0%, transparent 52%),
    radial-gradient(ellipse 600px 400px at 50% 100%, rgba(243, 221, 227, 0.35) 0%, transparent 55%),
    linear-gradient(165deg, var(--bg) 0%, var(--bg-2) 100%);
  /* fixed attachment forces per-frame repaints while scrolling — keep scroll */
  -webkit-font-smoothing: antialiased;
}

/* Fine grain texture */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, select { font: inherit; color: inherit; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: .75rem 1rem;
  z-index: 100;
  border-radius: var(--radius-xs);
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  /* Opaque-enough fill avoids scroll-time backdrop-filter cost */
  background: rgba(243, 236, 238, 0.96);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0.95rem var(--space);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  transition: opacity 0.2s var(--ease);
}
.brand:hover { opacity: 0.82; }
.brand-logo {
  display: block;
  height: 1.85rem;
  width: auto;
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
}
.brand-tag {
  color: var(--rose);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  align-self: flex-end;
  margin-bottom: 0.12rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.15rem;
  justify-content: flex-end;
  align-items: center;
}
.nav a {
  font-size: 0.88rem;
  font-weight: 650;
  color: var(--muted);
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}
.nav a:hover {
  color: var(--ink);
  background: rgba(255, 252, 251, 0.7);
}
.nav a[aria-current="page"] {
  color: var(--ink);
  background: var(--surface-solid);
  box-shadow: var(--shadow-sm);
}

.nav-mobile {
  display: none;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0 var(--space) 0.9rem;
  max-width: var(--wrap);
  margin: 0 auto;
}
.nav-mobile a {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--muted);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.nav-mobile a[aria-current="page"],
.nav-mobile a:hover {
  color: var(--ink);
  border-color: rgba(184, 92, 110, 0.35);
  background: var(--surface-solid);
}

.wrap {
  position: relative;
  z-index: 1;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 1.75rem var(--space) 4.5rem;
}

.page-home .wrap {
  max-width: none;
  padding: 0;
}

.page-home .site-header {
  background: rgba(247, 241, 243, 0.72);
}

/* —— Motion: page enter —— */
@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@keyframes soft-in {
  from { opacity: 0; transform: translateY(10px) scale(0.985); }
  to { opacity: 1; transform: none; }
}
@keyframes drift {
  from { transform: translate(0, 0) rotate(0deg) scale(1); }
  to { transform: translate(-28px, 22px) rotate(10deg) scale(1.04); }
}
@keyframes bloom {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 0.9; transform: scale(1); }
}
@keyframes home-fade {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes home-bloom {
  from { opacity: 0; transform: scale(0.88); }
  to { opacity: 1; transform: scale(1); }
}

.page-eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
}

/* —— Home hero (page-home only) —— */
.home-hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100vh - 72px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: clip;
  padding: clamp(0.85rem, 2.4vh, 1.6rem) var(--space) clamp(1.1rem, 3vh, 2rem);
}

.home-atmosphere {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 18% 18%, rgba(244, 214, 222, 0.72), transparent 62%),
    radial-gradient(ellipse 55% 50% at 88% 22%, rgba(204, 223, 214, 0.7), transparent 58%),
    radial-gradient(ellipse 60% 45% at 55% 92%, rgba(240, 220, 214, 0.45), transparent 60%),
    linear-gradient(168deg, #f7f0f2 0%, #ebe3e7 48%, #e4ebe6 100%);
}

.home-blob {
  position: absolute;
  border-radius: 46% 54% 48% 52%;
  filter: blur(2px);
  animation: home-bloom 1.15s var(--ease) both, drift 16s ease-in-out 0.8s infinite alternate;
}
.home-blob--rose {
  top: 6%;
  right: 8%;
  width: min(42vw, 420px);
  height: min(42vw, 420px);
  background:
    radial-gradient(circle at 38% 36%, rgba(255, 248, 249, 0.95), transparent 62%),
    linear-gradient(145deg, rgba(226, 168, 180, 0.45), rgba(240, 214, 221, 0.2));
}
.home-blob--sage {
  left: -6%;
  bottom: 12%;
  width: min(38vw, 360px);
  height: min(38vw, 360px);
  background:
    radial-gradient(circle at 55% 40%, rgba(255, 252, 251, 0.85), transparent 64%),
    linear-gradient(160deg, rgba(158, 186, 170, 0.38), rgba(210, 225, 216, 0.18));
  animation-delay: 0s, 1.4s;
  animation-direction: normal, alternate-reverse;
}
.home-veil {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.home-stage {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  gap: clamp(0.85rem, 2vh, 1.45rem);
  justify-items: stretch;
}

.home-brand-block {
  display: grid;
  gap: 0.55rem;
  justify-items: start;
  animation: home-fade 0.85s var(--ease) both;
}

.home-logo {
  display: block;
  width: min(100%, 250px);
  height: auto;
  filter: drop-shadow(0 10px 28px rgba(28, 23, 25, 0.08));
}

.home-kicker {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage);
}

.home-copy {
  max-width: 34rem;
  animation: home-fade 0.9s var(--ease) 0.08s both;
}

.home-headline {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.4vw, 2.15rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ink);
}

.home-lead {
  margin: 0;
  max-width: 32rem;
  font-size: clamp(0.98rem, 1.8vw, 1.08rem);
  line-height: 1.5;
  color: var(--ink-soft);
  font-weight: 550;
}

.home-choices {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.home-choice {
  --i: 0;
  --accent: var(--rose);
  --wash: linear-gradient(160deg, rgba(255, 252, 251, 0.94), rgba(240, 214, 221, 0.42));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.85rem;
  min-height: 8.5rem;
  padding: 1.15rem 1.15rem 1.05rem;
  border-radius: calc(var(--radius) + 0.15rem);
  border: 1px solid rgba(24, 20, 22, 0.1);
  background: var(--wash);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
  transition:
    transform 0.35s var(--ease),
    border-color 0.3s ease,
    box-shadow 0.35s var(--ease);
  animation: soft-in 0.7s var(--ease) calc(0.14s + var(--i) * 0.08s) both;
}
.home-choice::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: var(--accent);
  opacity: 0.75;
  transition: height 0.3s var(--ease), opacity 0.3s;
}
.home-choice::after {
  content: "";
  position: absolute;
  right: -18%;
  top: -30%;
  width: 55%;
  height: 70%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.58), transparent 70%);
  pointer-events: none;
}
.home-choice:hover,
.home-choice:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(178, 79, 100, 0.28);
  box-shadow: var(--shadow-lift);
  outline: none;
}
.home-choice:hover::before,
.home-choice:focus-visible::before {
  height: 4px;
  opacity: 1;
}
.home-choice:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 3px;
}

.home-choice--kiz {
  --accent: #c15d72;
  --wash: linear-gradient(160deg, #fffcfb 0%, #f6e2e8 100%);
}
.home-choice--erkek {
  --accent: var(--sage);
  --wash: linear-gradient(160deg, #fffcfb 0%, #dbe8e1 100%);
}
.home-choice--ozel-gun {
  --accent: #b07a55;
  --wash: linear-gradient(160deg, #fffcfb 0%, #efe3d7 100%);
}

.home-choice-label {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.8vw, 1.9rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--ink);
}

.home-choice-hint {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
  font-weight: 500;
  max-width: 16rem;
}

.home-choice-go {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
}

.home-choice-count {
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
}

.home-choice-arrow {
  font-size: 1.15rem;
  color: var(--accent);
  transition: transform 0.3s var(--ease);
}
.home-choice:hover .home-choice-arrow { transform: translateX(5px); }

/* —— Category / page heads —— */
.page-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.25rem;
  margin-bottom: 1.85rem;
  animation: rise 0.65s var(--ease) both;
}
.page-head h1 {
  margin: 0 0 0.3rem;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.5vw, 3rem);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--ink);
}
.page-sub {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 550;
}

/* —— Listing toolbar —— */
.listing-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.35rem;
  margin: -0.35rem 0 1.15rem;
  padding: 0.75rem 0.9rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(247, 236, 239, 0.55));
  border: 1px solid var(--line);
  border-radius: 1rem;
  box-shadow: var(--shadow-sm);
}
.toolbar-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
}
.toolbar-label {
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.toolbar-select {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b645e' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 0.7rem center;
  padding: 0.45rem 2rem 0.45rem 0.75rem;
  border-radius: 0.7rem;
  color: var(--ink);
  font: inherit;
  font-weight: 650;
  font-size: 0.9rem;
  cursor: pointer;
  outline: none;
}
.toolbar-select:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 2px;
}
.view-switch {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  padding: 0.2rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
}
.view-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.3rem 0.75rem;
  border-radius: 0.55rem;
  border: 1px solid transparent;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 650;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.view-chip:hover {
  background: var(--rose-soft);
  border-color: var(--rose);
}
.view-chip.is-active {
  background: var(--sage);
  border-color: transparent;
  color: #fff;
}
.view-chip:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 2px;
}

.age-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 1.5rem;
}
.age-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.3rem 0.75rem;
  border-radius: 0.65rem;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 650;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.age-chip:hover {
  border-color: var(--rose);
  background: var(--rose-soft);
}
.age-chip.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.age-chip:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 2px;
}

.load-more {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.75rem 0 0.5rem;
}
.load-more-sentinel {
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.load-more-status {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}

/* —— Product grid —— */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.6rem 1.25rem;
}

.product-card {
  --i: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  color: inherit;
  content-visibility: auto;
  contain-intrinsic-size: auto 420px;
  contain: layout style;
  animation: soft-in 0.45s var(--ease) calc(0.02s + min(var(--i), 8) * 0.03s) both;
}
.product-card.is-static { animation: none; }
@media (hover: hover) and (pointer: fine) {
  .product-card { transition: transform 0.25s var(--ease); }
  .product-card:hover { transform: translateY(-3px); }
  .product-card:hover .thumb { border-color: var(--line-strong); }
}
.product-card:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 4px;
  border-radius: var(--radius-sm);
}

.product-card .thumb {
  aspect-ratio: 3 / 4;
  border-radius: 1.15rem;
  overflow: hidden;
  background:
    linear-gradient(155deg, var(--rose-soft), var(--sage-soft));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.card-colors,
.card-color {
  position: absolute;
  left: 0.65rem;
  bottom: 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.55rem 0.3rem 0.4rem;
  border-radius: 999px;
  background: rgba(255, 252, 251, 0.96);
  border: 1px solid var(--line);
  max-width: calc(100% - 1.3rem);
}
.card-color-name {
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  color: var(--ink);
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: capitalize;
}
.card-colors .dot,
.card-color .dot,
.swatch,
.swatch-lg {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--swatch, #c9bfb8);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
}
.product-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card-body { display: flex; flex-direction: column; gap: 0.45rem; padding: 0 0.15rem; }
.product-card h2 {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card .row {
  display: flex;
  justify-content: space-between;
  gap: 0.65rem;
  align-items: baseline;
  font-size: 0.88rem;
}
.product-card .age {
  color: var(--muted);
  font-weight: 550;
}
.product-card .price {
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.ph {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 1rem;
  text-align: center;
}
.ph-tall { min-height: 420px; }

/* —— Product detail —— */
.detail {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 2.75rem);
  align-items: start;
  animation: rise 0.7s var(--ease) both;
}

.gallery-main {
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--rose-soft), var(--sage-soft));
  aspect-ratio: 3 / 4;
  box-shadow: var(--shadow);
}
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.2s ease;
}
.gallery-main img.is-fading { opacity: 0.35; }

.thumbs {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin-top: 0.95rem;
}
.thumbs button {
  width: 72px;
  height: 72px;
  padding: 0;
  border-radius: var(--radius-xs);
  border: 2px solid transparent;
  overflow: hidden;
  cursor: pointer;
  background: var(--rose-soft);
  transition: border-color 0.2s, transform 0.25s var(--ease), box-shadow 0.25s;
}
.thumbs button:hover { transform: translateY(-2px); }
.thumbs button[aria-selected="true"] {
  border-color: var(--rose);
  box-shadow: 0 0 0 1px var(--rose-mist);
}
.thumbs button:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 2px;
}
.thumbs img { width: 100%; height: 100%; object-fit: cover; }

.detail-copy h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.2vw, 2.45rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--ink);
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.75rem;
  margin-bottom: 1.5rem;
}
.detail-meta .price {
  color: var(--ink);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-right: 0.25rem;
}
.detail-meta .pill {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--sage-deep);
  background: var(--sage-soft);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.detail-meta .code {
  font-size: 0.8rem;
  font-weight: 650;
  color: var(--muted);
}

.color-siblings {
  margin: 0 0 1.5rem;
  padding: 1.1rem 1.15rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  animation: soft-in 0.65s var(--ease) 0.1s both;
}
.color-siblings h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.color-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.color-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  width: 4.5rem;
  text-decoration: none;
  color: var(--muted);
  transition: transform 0.25s var(--ease), color 0.2s;
}
.color-chip img,
.color-chip .swatch-lg {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.85rem;
  object-fit: cover;
  border: 2px solid transparent;
  background: var(--swatch, var(--rose-soft));
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s, box-shadow 0.25s;
}
.color-chip .swatch-lg {
  display: block;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08), var(--shadow-sm);
}
.color-chip:hover { transform: translateY(-2px); color: var(--ink); }
.color-chip:hover img,
.color-chip:hover .swatch-lg {
  border-color: rgba(178, 79, 100, 0.35);
}
.color-chip.is-current img,
.color-chip.is-current .swatch-lg {
  border-color: var(--rose);
  box-shadow: 0 0 0 1px var(--rose-mist), var(--shadow-sm);
}
.color-chip:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 3px;
  border-radius: 0.5rem;
}
.color-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.detail-desc {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.3rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.65;
  box-shadow: var(--shadow-sm);
}
.detail-desc :is(h1, h2, h3) {
  font-family: var(--font-display);
  color: var(--ink);
  font-size: 1.1rem;
  margin: 1rem 0 0.4rem;
}
.detail-desc :is(h1, h2, h3):first-child { margin-top: 0; }
.detail-desc p { margin: 0.5rem 0; }
.detail-desc table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  margin: 0.75rem 0;
}
.detail-desc td,
.detail-desc th {
  border: 1px solid var(--line);
  padding: 0.45rem 0.55rem;
}

.related { margin-top: 3.5rem; }
.related h2 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem;
  color: var(--ink);
}

/* —— Contact —— */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
  margin-top: 0.5rem;
  animation: soft-in 0.7s var(--ease) 0.08s both;
}
.contact-card {
  padding: 1.4rem 1.35rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}
.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(184, 92, 110, 0.22);
}
.contact-card h2 {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 750;
  color: var(--sage);
}
.contact-card p,
.contact-card a {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
}
.contact-card a:hover { color: var(--rose-deep); }

.note {
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.note code {
  font-size: 0.85em;
  background: var(--surface);
  padding: 0.15rem 0.4rem;
  border-radius: 0.3rem;
  border: 1px solid var(--line);
}

.text-link {
  font-weight: 750;
  color: var(--rose-deep);
  border-bottom: 1px solid rgba(143, 63, 82, 0.35);
  transition: border-color 0.2s;
}
.text-link:hover { border-color: var(--rose-deep); }

/* —— Footer —— */
.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  padding: 1.75rem var(--space) 2.75rem;
}
.footer-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  text-align: center;
}
.footer-brand {
  display: inline-flex;
  justify-content: center;
  margin: 0 0 0.55rem;
  color: var(--ink);
  transition: opacity 0.2s var(--ease);
}
.footer-brand:hover { opacity: 0.8; }
.footer-logo {
  display: block;
  height: 1.55rem;
  width: auto;
  margin: 0 auto;
}
.footer-links {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 550;
}
.footer-links a {
  font-weight: 700;
  color: var(--ink-soft);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--rose-deep); }

.empty {
  padding: 3rem 1.25rem;
  text-align: center;
  color: var(--muted);
  font-weight: 550;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px dashed var(--line-strong);
}

.error-box {
  max-width: 28rem;
  margin: 4rem auto;
  text-align: center;
  padding: 2.25rem 1.75rem;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  animation: soft-in 0.65s var(--ease) both;
}
.error-box h1 {
  font-family: var(--font-display);
  font-size: 3rem;
  margin: 0.25rem 0 0.75rem;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.error-box p { color: var(--muted); margin: 0.5rem 0; }

/* —— Responsive —— */
@media (max-width: 900px) {
  .home-choices { grid-template-columns: 1fr; }
  .home-choice { min-height: 8.5rem; gap: 0.85rem; }
  .home-blob--rose {
    width: min(68vw, 300px);
    height: min(68vw, 300px);
    opacity: 0.75;
  }
  .home-blob--sage { opacity: 0.55; }
}

@media (max-width: 860px) {
  .detail { grid-template-columns: 1fr; }
  .nav { display: none; }
  .nav-mobile { display: flex !important; }
  .brand-logo { height: 1.65rem; }
  .home-logo { width: min(100%, 240px); }
}

@media (max-width: 560px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.15rem 0.75rem;
  }
  .product-card h2 { font-size: 0.86rem; }
  .product-card .row { flex-direction: column; gap: 0.15rem; align-items: flex-start; }
  .thumbs button { width: 60px; height: 60px; }
  .home-headline { font-size: clamp(1.55rem, 7vw, 2rem); }
  .home-hero { min-height: auto; padding-top: 1.75rem; padding-bottom: 2.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .home-blob { animation: none; }
}
