/* Enjoy Life — design system. Zen restraint, playful details. Phone-first. */
@import url("https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600;9..40,700&family=Newsreader:ital,opsz,wght@0,6..72,500;0,6..72,600;1,6..72,500&display=swap");

:root {
  color-scheme: light dark;
  --bg: #f3f7f4;
  --surface: #ffffff;
  --surface-2: #e9f1ec;
  --ink: #14261e;
  --ink-soft: #2c4034;
  --muted: #5a6f63;
  --line: #d3dfd6;
  --aqua: #0f8f93;
  --aqua-deep: #0a5f63;
  --leaf: #397b4b;
  --sun: #f0b448;
  --coral: #cf6a45;
  --violet: #7b6aad;
  --hero-ink: #f4faf7;
  --hero-muted: #c3d8cd;
  --shadow: 0 18px 48px rgba(20, 55, 40, 0.1);
  --soft: 0 8px 24px rgba(20, 55, 40, 0.07);
  --radius: 20px;
  --radius-sm: 14px;
  --header-h: 64px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1512;
    --surface: #16211c;
    --surface-2: #1f2d26;
    --ink: #eef6f1;
    --ink-soft: #cfddd4;
    --muted: #9db3a7;
    --line: #2e4036;
    --aqua: #4fc4c0;
    --aqua-deep: #2a8f8b;
    --leaf: #7abb87;
    --sun: #eec06a;
    --coral: #e08a68;
    --violet: #9b8dcc;
    --shadow: 0 18px 48px rgba(0, 0, 0, 0.4);
    --soft: 0 8px 24px rgba(0, 0, 0, 0.28);
  }
}

/* Dark-mode contrast corrections (review pass) */
@media (prefers-color-scheme: dark) {
  .nav a.cta { background: var(--aqua); color: #07333a; }
  .nav a.cta:hover { background: var(--aqua); filter: brightness(1.08); color: #07333a; }
  .card-tag, .rel-tag, .modal-tag, .kicker, .dept-card .count b { filter: brightness(1.5); }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "DM Sans", system-ui, -apple-system, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
::selection { background: color-mix(in srgb, var(--aqua) 28%, transparent); }
:focus-visible { outline: 2px solid var(--aqua); outline-offset: 2px; }
input[type="search"]::-webkit-search-cancel-button { display: none; }

.wrap { width: min(1180px, 100%); margin: 0 auto; padding: 0 clamp(16px, 4vw, 44px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.wordmark { display: flex; align-items: center; gap: 10px; text-decoration: none; padding: 6px 0; }
.wordmark-mark { width: 34px; height: 34px; flex: none; }
.wordmark-text { font-family: "Newsreader", serif; font-weight: 600; font-size: 1.35rem; letter-spacing: -0.02em; line-height: 1; }
.wordmark-text em { font-style: italic; color: var(--aqua); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  text-decoration: none; font-weight: 600; font-size: 0.92rem;
  padding: 9px 14px; border-radius: 999px; color: var(--ink-soft);
}
.nav a:hover { background: var(--surface-2); color: var(--ink); }
.nav a.active { background: var(--ink); color: var(--bg); }
.nav a.cta { background: var(--aqua-deep); color: #fff; }
.nav a.cta:hover { background: var(--aqua-deep); filter: brightness(1.25); color: #fff; }
@media (max-width: 560px) {
  .nav a[href="index.html"] { display: none; }
  .nav a { padding: 12px 8px; font-size: 0.8rem; }
  .wordmark-text { font-size: 1.05rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: 28px; margin-top: 18px;
  background: linear-gradient(115deg, #12241d 0%, #14403a 55%, #0d5e61 100%);
  color: var(--hero-ink);
  padding: clamp(40px, 7vw, 88px) clamp(24px, 5vw, 72px);
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 32px; align-items: center;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(circle at 78% 30%, rgba(92, 210, 194, 0.3), transparent 26%),
    radial-gradient(circle at 88% 85%, rgba(240, 180, 72, 0.28), transparent 24%);
}
.eyebrow {
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.17em; text-transform: uppercase;
  color: #8fded2; margin: 0 0 16px;
  display: flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: #8fded2; border-radius: 2px; }
.hero h1 {
  font-family: "Newsreader", serif; font-weight: 600;
  font-size: clamp(2.6rem, 6.4vw, 4.9rem);
  line-height: 0.98; letter-spacing: -0.035em; margin: 0;
}
.hero h1 em { font-style: italic; color: #9fe3d8; }
.hero-sub { color: var(--hero-muted); font-size: clamp(1rem, 1.6vw, 1.15rem); max-width: 34rem; margin: 20px 0 0; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 0.95rem;
  text-decoration: none; border: 0; cursor: pointer; transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-solid { background: #f0b448; color: #1d2b23; box-shadow: 0 10px 26px rgba(240, 180, 72, 0.35); }
.btn-solid:hover { background: #f6c46a; }
.btn-ghost { background: rgba(255, 255, 255, 0.1); color: #f4faf7; border: 1px solid rgba(255, 255, 255, 0.28); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.18); }
.hero-art { position: relative; min-height: 300px; }
.hero-art svg { width: 100%; height: auto; }
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; border-radius: 22px; padding: 38px 24px 8px; }
  .hero-art { min-height: 0; max-width: 420px; margin: 0 auto; }
}

/* ---------- Stats strip ---------- */
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow); margin: -26px clamp(26px, 6vw, 60px) 0;
  position: relative; z-index: 2;
}
.stat { padding: 20px 24px; display: flex; align-items: baseline; gap: 10px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat strong { font-family: "Newsreader", serif; font-size: 1.9rem; font-weight: 600; color: var(--aqua-deep); }
.stat span { font-size: 0.84rem; color: var(--muted); }
@media (max-width: 640px) {
  .stats { margin: -18px 18px 0; }
  .stat { padding: 14px 12px; flex-direction: column; gap: 2px; align-items: flex-start; }
  .stat strong { font-size: 1.5rem; }
  .stat span { font-size: 0.7rem; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(48px, 7vw, 88px) 0 0; }
.section-head { max-width: 660px; margin-bottom: 28px; }
.section-head h2 {
  font-family: "Newsreader", serif; font-weight: 600; letter-spacing: -0.03em;
  font-size: clamp(1.9rem, 3.6vw, 2.9rem); line-height: 1.05; margin: 0 0 10px;
}
.section-head p { margin: 0; color: var(--muted); font-size: 1.02rem; }
.kicker {
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--aqua-deep); margin-bottom: 12px; display: block;
}

/* ---------- Department cards ---------- */
.dept-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.dept-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 16px 16px; text-decoration: none; display: flex; flex-direction: column; gap: 10px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  min-height: 190px;
}
.dept-card:hover { transform: translateY(-4px); box-shadow: var(--soft); border-color: color-mix(in srgb, var(--aqua) 45%, var(--line)); }
.dept-swatch { height: 74px; border-radius: 12px; display: grid; place-items: center; overflow: hidden; }
.dept-swatch svg { width: 52px; height: 52px; }
.dept-card h3 { font-size: 0.98rem; margin: 0; letter-spacing: -0.01em; line-height: 1.25; }
.dept-card .count { font-size: 0.76rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; margin-top: auto; }
.dept-card .count b { color: var(--aqua-deep); }
@media (max-width: 980px) { .dept-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .dept-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .dept-card { min-height: 160px; padding: 14px 12px 12px; }
  .dept-swatch { height: 60px; }
}

/* ---------- Horizontal scroll rail ---------- */
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 300px);
  gap: 14px; overflow-x: auto; scroll-snap-type: x proximity;
  padding: 6px 4px 18px; margin: 0 -4px;
  scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}
.rail > * { scroll-snap-align: start; }
@media (max-width: 640px) { .rail { grid-auto-columns: minmax(180px, 72vw); } }

/* ---------- Product cards ---------- */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 12px; display: flex; flex-direction: column; cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  text-align: left; width: 100%;
}
button.card { font: inherit; color: inherit; }
.card:hover, .card:focus-visible { transform: translateY(-3px); box-shadow: var(--soft); border-color: color-mix(in srgb, var(--aqua) 45%, var(--line)); outline: none; }
.card:focus-visible { box-shadow: 0 0 0 3px color-mix(in srgb, var(--aqua) 30%, transparent); }
.card-art { aspect-ratio: 4 / 3; border-radius: var(--radius-sm); overflow: hidden; display: grid; place-items: center; }
.card-art svg { width: 86%; height: 86%; }
.card-body { padding: 14px 6px 6px; display: flex; flex-direction: column; flex: 1; }
.card-tag { font-size: 0.66rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.09em; margin-bottom: 7px; }
.card h3 { font-size: 1rem; line-height: 1.28; margin: 0; letter-spacing: -0.01em; font-weight: 600; }
.card-desc { font-size: 0.83rem; color: var(--muted); margin: 8px 0 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-foot { margin-top: auto; padding-top: 12px; display: flex; justify-content: space-between; align-items: center; }
.coming { font-size: 0.72rem; font-weight: 600; color: var(--muted); display: inline-flex; align-items: center; gap: 7px; }
.coming::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sun); }
.card-arrow { color: var(--aqua-deep); font-size: 1.05rem; }

/* ---------- Shop grid ---------- */
.shop-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 980px) { .shop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .card { padding: 8px; border-radius: 16px; } .card h3 { font-size: 0.88rem; } .card-desc { display: none; } }

/* ---------- Shop tools ---------- */
.shop-tools { position: sticky; top: var(--header-h); z-index: 20; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding: 14px 0; border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.tools-row { display: grid; grid-template-columns: minmax(220px, 1fr) auto; gap: 12px; align-items: center; }
.search { position: relative; }
.search svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.search input {
  width: 100%; height: 50px; border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  border-radius: 14px; padding: 0 50px 0 44px; outline: none; box-shadow: var(--soft); font-size: 0.95rem;
}
.search input:focus { border-color: var(--aqua); box-shadow: 0 0 0 3px color-mix(in srgb, var(--aqua) 20%, transparent); }
.search-clear { position: absolute; right: 3px; top: 3px; height: 44px; width: 44px; border: 0; background: transparent; border-radius: 50%; cursor: pointer; display: none; font-size: 1.1rem; color: var(--muted); }
.search-clear:hover { background: var(--surface-2); }
.result-count { font-size: 0.85rem; font-weight: 700; color: var(--leaf); white-space: nowrap; }
.dept-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.pill {
  border: 1px solid var(--line); background: var(--surface); border-radius: 999px;
  padding: 11px 16px; font-size: 0.8rem; font-weight: 600; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px; transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease; color: var(--ink-soft);
}
.pill:hover { border-color: var(--aqua); }
.pill.active { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.pill .n { font-size: 0.7rem; opacity: 0.65; font-weight: 700; }
@media (max-width: 640px) {
  .tools-row { grid-template-columns: 1fr; }
  .result-count { justify-self: start; }
  .dept-pills { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; margin: 12px 0 0; scrollbar-width: none; }
  .dept-pills::-webkit-scrollbar { display: none; }
  .pill { flex: none; }
  .search input { font-size: 16px; }
  .shop-tools { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; }
}
.empty-state { display: none; text-align: center; padding: 70px 20px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); }
.empty-state.show { display: block; }
.empty-state strong { display: block; font-size: 1.1rem; color: var(--ink); margin-bottom: 6px; }

/* ---------- Modal ---------- */
dialog.product-modal {
  padding: 0; border: 0; width: min(700px, calc(100% - 28px));
  overscroll-behavior: contain;
  max-height: min(780px, calc(100vh - 28px));
  max-height: min(780px, calc(100dvh - 28px));
  border-radius: 26px; background: var(--surface); color: var(--ink);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35); overflow: auto;
}
dialog.product-modal::backdrop { background: rgba(8, 20, 14, 0.66); backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px); }
.modal-inner { padding: clamp(18px, 4vw, 30px); }
.modal-close {
  position: sticky; top: 10px; display: block; margin: 0 0 -46px auto; z-index: 2; float: none;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--surface); cursor: pointer; font-size: 1.25rem; line-height: 1; color: var(--ink);
}
.modal-top { display: grid; grid-template-columns: 230px 1fr; gap: 26px; align-items: center; }
.modal-art { aspect-ratio: 1; border-radius: 18px; display: grid; place-items: center; overflow: hidden; }
.modal-art svg { width: 88%; height: 88%; }
.modal-status { display: inline-flex; align-items: center; gap: 8px; font-size: 0.74rem; font-weight: 700; color: var(--leaf); background: var(--surface-2); padding: 7px 12px; border-radius: 999px; }
.modal-status i { width: 6px; height: 6px; border-radius: 50%; background: var(--sun); font-style: normal; }
.modal-tag { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin: 14px 0 8px; }
.modal-title { font-family: "Newsreader", serif; font-size: clamp(1.7rem, 4vw, 2.3rem); line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 12px; font-weight: 600; }
.modal-desc { color: var(--muted); margin: 0; font-size: 1rem; }
.modal-related { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.modal-related h3 { font-size: 0.95rem; margin: 0 0 4px; font-weight: 700; }
.modal-related .rel-sub { font-size: 0.82rem; color: var(--muted); margin: 0 0 14px; }
.rel-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 190px); gap: 10px; overflow-x: auto; padding-bottom: 10px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.rel-card { border: 1px solid var(--line); border-radius: 14px; padding: 8px; background: var(--surface); cursor: pointer; scroll-snap-align: start; text-align: left; font: inherit; color: inherit; transition: border-color 0.16s ease, transform 0.16s ease; }
.rel-card:hover { border-color: var(--aqua); transform: translateY(-2px); }
.rel-card .rel-art { border-radius: 9px; aspect-ratio: 4/3; display: grid; place-items: center; overflow: hidden; }
.rel-card .rel-art svg { width: 84%; height: 84%; }
.rel-card b { display: block; font-size: 0.74rem; line-height: 1.3; margin-top: 8px; font-weight: 600; }
.rel-card .rel-tag { font-size: 0.6rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; display: block; margin-top: 4px; }
@media (max-width: 640px) {
  .modal-top { grid-template-columns: 1fr; gap: 18px; }
  .modal-art { width: 62%; margin: 0 auto; }
}

/* ---------- About ---------- */
.about-hero { padding: clamp(44px, 7vw, 84px) 0 0; max-width: 760px; }
.about-hero h1 { font-family: "Newsreader", serif; font-weight: 600; font-size: clamp(2.4rem, 6vw, 4.2rem); letter-spacing: -0.035em; line-height: 1; margin: 0 0 26px; }
.about-lede { font-family: "Newsreader", serif; font-size: clamp(1.25rem, 2.6vw, 1.6rem); line-height: 1.55; color: var(--ink-soft); margin: 0; font-weight: 500; }
.about-lede strong { color: var(--ink); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: clamp(36px, 6vw, 60px); }
.about-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 4vw, 34px); }
.about-card h2 { font-family: "Newsreader", serif; font-size: 1.5rem; letter-spacing: -0.02em; margin: 0 0 12px; font-weight: 600; }
.about-card p { color: var(--muted); margin: 0 0 12px; font-size: 0.98rem; }
.about-card p:last-child { margin-bottom: 0; }
.about-card p strong { color: var(--ink); }
.alf-card { background: linear-gradient(135deg, color-mix(in srgb, var(--violet) 14%, var(--surface)), var(--surface)); position: relative; overflow: hidden; }
.alf-card::after { content: "◌"; position: absolute; right: 14px; top: 6px; font-size: 3.2rem; color: color-mix(in srgb, var(--violet) 30%, transparent); }
.contact-band { margin-top: 16px; background: var(--ink); color: var(--bg); border-radius: var(--radius); padding: clamp(26px, 5vw, 44px); display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
.contact-band h2 { font-family: "Newsreader", serif; font-size: clamp(1.5rem, 3.4vw, 2.2rem); margin: 0 0 8px; letter-spacing: -0.02em; font-weight: 600; }
.contact-band p { margin: 0; opacity: 0.75; font-size: 0.95rem; }
.contact-band .btn-ghost { border-color: color-mix(in srgb, var(--bg) 40%, transparent); color: var(--bg); background: transparent; }
.contact-band .btn-ghost:hover { background: color-mix(in srgb, var(--bg) 14%, transparent); }
@media (max-width: 720px) { .about-grid { grid-template-columns: 1fr; } }

/* ---------- Notice + footer ---------- */
.notice { margin-top: clamp(48px, 7vw, 80px); border-top: 1px solid var(--line); padding: 26px 0; display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; }
.notice-mark { width: 36px; height: 36px; border-radius: 50%; background: var(--surface-2); color: var(--leaf); font-weight: 700; display: grid; place-items: center; flex: none; }
.notice strong { display: block; margin-bottom: 4px; }
.notice p { margin: 0; color: var(--muted); font-size: 0.9rem; max-width: 60rem; }
.site-footer { border-top: 1px solid var(--line); margin-top: 8px; padding: 34px 0 46px; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: flex-start; }
.footer-brand p { margin: 8px 0 0; color: var(--muted); font-size: 0.88rem; max-width: 26rem; }
.footer-links { display: flex; gap: 4px; }
.footer-links a { text-decoration: none; font-weight: 600; font-size: 0.88rem; padding: 12px 14px; border-radius: 999px; color: var(--ink-soft); }
.footer-links a:hover { background: var(--surface-2); color: var(--ink); }
.footer-base { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; color: var(--muted); font-size: 0.8rem; }
.footer-base a { color: var(--aqua-deep); font-weight: 600; text-decoration: none; }
.footer-base a:hover { text-decoration: underline; }

/* ---------- Teaser ---------- */
.teaser { background: var(--surface); border: 1px solid var(--line); border-radius: 26px; padding: clamp(28px, 5vw, 54px); display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; box-shadow: var(--soft); }
.teaser blockquote { font-family: "Newsreader", serif; font-size: clamp(1.3rem, 2.8vw, 1.9rem); line-height: 1.4; margin: 0 0 18px; letter-spacing: -0.015em; font-weight: 500; }
.teaser .btn { flex: none; }
@media (max-width: 720px) { .teaser { grid-template-columns: 1fr; } }

.page-foot-space { height: clamp(40px, 6vw, 72px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* ---------- Product photos (fallback icon behind, photo covers when loaded) ---------- */
.card-art, .rel-art, .dept-swatch, .p-photo, .cart-thumb { position: relative; }
.ph-fallback { position: absolute; inset: 0; display: grid; place-items: center; }
.ph-fallback svg { width: 86%; height: 86%; }
.dept-swatch .ph-fallback svg { width: 52px; height: 52px; }
.card-art img, .rel-art img, .dept-swatch img, .p-photo img, .cart-thumb img {
  position: relative; z-index: 1; width: 100%; height: 100%;
  object-fit: cover; display: block; background: inherit;
}
a.card { text-decoration: none; }
a.rel-card { text-decoration: none; }

/* ---------- Cart link + count badge ---------- */
.cart-link { position: relative; display: inline-flex; align-items: center; gap: 6px; }
.cart-count {
  background: var(--aqua-deep); color: #fff;
  font-size: 0.66rem; font-weight: 700; line-height: 1;
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px;
  display: none; align-items: center; justify-content: center;
}
@media (max-width: 560px) {
  .nav a.cart-link { padding: 12px 8px; font-size: 0.8rem; }
}

/* ---------- Breadcrumb ---------- */
.crumbs { padding-top: 20px; font-size: 0.82rem; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.crumbs a { color: var(--aqua-deep); text-decoration: none; font-weight: 600; }
.crumbs a:hover { text-decoration: underline; }
.crumb-here { color: var(--ink); font-weight: 600; }

/* ---------- Product page ---------- */
.p-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 56px); padding: clamp(22px, 4vw, 40px) 0 0; align-items: start; }
.p-photo { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; box-shadow: var(--soft); border: 1px solid var(--line); }
.p-info { min-width: 0; }
.p-status { display: inline-flex; align-items: center; gap: 8px; font-size: 0.74rem; font-weight: 700; color: var(--leaf); background: var(--surface-2); padding: 7px 12px; border-radius: 999px; margin-bottom: 14px; }
.p-status i { width: 6px; height: 6px; border-radius: 50%; background: var(--sun); font-style: normal; }
.p-info h1 { font-family: "Newsreader", serif; font-size: clamp(1.9rem, 4.4vw, 2.8rem); line-height: 1.05; letter-spacing: -0.025em; margin: 8px 0 12px; font-weight: 600; }
.p-desc { color: var(--muted); font-size: 1.02rem; margin: 0 0 6px; }
.specs { margin: 18px 0 0; padding: 0; border-top: 1px solid var(--line); }
.spec { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 0.92rem; }
.spec dt { color: var(--muted); font-weight: 600; flex: none; }
.spec dd { margin: 0; text-align: right; font-weight: 600; }
.spec dd a { color: var(--aqua-deep); text-decoration: none; }
.spec dd a:hover { text-decoration: underline; }
.p-buy { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 24px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); overflow: hidden; }
.qty button { width: 46px; height: 52px; border: 0; background: transparent; cursor: pointer; font-size: 1.2rem; color: var(--ink); }
.qty button:hover { background: var(--surface-2); }
.qty input { width: 52px; border: 0; background: transparent; text-align: center; font-size: 1rem; font-weight: 700; outline: none; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.btn.added { background: var(--leaf); color: #fff; }
.waitlist { display: inline-block; margin-top: 16px; font-size: 0.9rem; color: var(--aqua-deep); font-weight: 600; text-decoration: none; }
.waitlist:hover { text-decoration: underline; }
.p-fulfill { color: var(--muted); font-size: 0.88rem; margin: 14px 0 0; }
.pickup-chip { display: inline-block; background: var(--surface-2); color: var(--leaf); font-weight: 700; font-size: 0.72rem; padding: 6px 12px; border-radius: 999px; margin: 0 8px 6px 0; }
@media (max-width: 720px) { .p-hero { grid-template-columns: 1fr; } }

/* ---------- Cart page ---------- */
.cart-head { padding: clamp(40px, 6vw, 72px) 0 8px; max-width: 700px; }
.cart-head h1 { font-family: "Newsreader", serif; font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 0 0 12px; letter-spacing: -0.03em; font-weight: 600; }
.cart-lede { color: var(--muted); margin: 0; font-size: 1.02rem; }
.cart-lede strong { color: var(--ink); }
.cart-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.cart-item { display: grid; grid-template-columns: 88px 1fr auto auto; gap: 14px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 12px 14px 12px 12px; }
.cart-thumb { width: 88px; height: 88px; border-radius: 12px; overflow: hidden; display: block; }
.cart-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cart-name { font-weight: 700; text-decoration: none; font-size: 0.98rem; line-height: 1.3; }
.cart-name:hover { color: var(--aqua-deep); }
.cart-price { color: var(--muted); font-size: 0.8rem; }
.cart-qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; }
.cart-qty button { width: 38px; height: 38px; border: 0; background: transparent; cursor: pointer; font-size: 1.05rem; color: var(--ink); border-radius: 50%; }
.cart-qty button:hover { background: var(--surface-2); }
.cart-qty span { min-width: 28px; text-align: center; font-weight: 700; font-size: 0.92rem; }
.cart-remove { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: transparent; cursor: pointer; color: var(--muted); font-size: 1.15rem; line-height: 1; }
.cart-remove:hover { background: var(--surface-2); color: var(--ink); }
@media (max-width: 640px) {
  .cart-item { grid-template-columns: 72px 1fr auto; }
  .cart-thumb { width: 72px; height: 72px; }
  .cart-remove { display: none; }
}

/* ---------- Fulfillment + checkout form ---------- */
.fulfill-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.fulfill-card { position: relative; border: 1px solid var(--line); border-radius: 18px; padding: 18px; cursor: pointer; background: var(--surface); transition: border-color 0.16s ease, box-shadow 0.16s ease; display: block; }
.fulfill-card:hover { border-color: var(--aqua); }
.fulfill-card input { position: absolute; opacity: 0; pointer-events: none; }
.fulfill-card:has(input:checked) { border-color: var(--aqua); box-shadow: 0 0 0 3px color-mix(in srgb, var(--aqua) 22%, transparent); }
.fulfill-card:has(input:focus-visible) { outline: 2px solid var(--aqua); outline-offset: 2px; }
.f-title { display: block; font-weight: 700; margin-bottom: 6px; }
.f-desc { font-size: 0.84rem; color: var(--muted); display: block; }
@media (max-width: 720px) { .fulfill-grid { grid-template-columns: 1fr; } }
.zip-row { margin-top: 16px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.zip-check { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 0.9rem; }
.zip-check input { width: 110px; height: 48px; border: 1px solid var(--line); border-radius: 12px; padding: 0 14px; background: var(--surface); color: var(--ink); font-size: 1rem; }
.zip-check input:focus { border-color: var(--aqua); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--aqua) 20%, transparent); }
.zip-msg { font-size: 0.88rem; margin: 0; font-weight: 600; }

.order-form { max-width: 640px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.order-form label { display: grid; gap: 8px; font-weight: 600; font-size: 0.9rem; margin: 0 0 14px; }
.order-form input, .order-form textarea { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: var(--surface); color: var(--ink); font-size: 1rem; width: 100%; resize: vertical; }
.order-form input:focus, .order-form textarea:focus { border-color: var(--aqua); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--aqua) 20%, transparent); }
.form-msg { min-height: 1.4em; color: var(--coral); font-weight: 600; font-size: 0.9rem; margin: 4px 0 12px; }
.form-fine { color: var(--muted); font-size: 0.84rem; max-width: 34rem; margin: 14px 0 0; }
.btn-big { width: 100%; justify-content: center; font-size: 1.02rem; padding: 16px 26px; }

/* ---------- About disclosure ---------- */
.alf-disclosure { font-size: 0.82rem; opacity: 0.78; font-style: italic; }
