/* =========================================================
   Blancalita Home: site design
   The site stays calm and neutral so the fabrics bring the color.
   To change a color everywhere, edit it once in :root below.
   ========================================================= */

:root {
  /* Palette */
  --ivory: #FBF8F2;      /* page background */
  --cream: #F4EDE2;      /* soft section background */
  --beige: #E6DACA;      /* cards, frames */
  --sand: #CBB89D;       /* lines, dividers */
  --taupe: #8C7B6B;      /* quiet text */
  --espresso: #3A2E28;   /* main text, buttons */
  --espresso-soft: #57483F;

  /* Type */
  --font-serif: "Cormorant Garamond", "Georgia", serif;
  --font-sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  /* Spacing and shape */
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section: clamp(3.5rem, 9vw, 7rem);
  --max: 1200px;
  --radius: 14px;
  --arch: 999px 999px var(--radius) var(--radius); /* arched photo frame */
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--espresso);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip; /* soft background shapes never cause sideways scrolling */
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: var(--sand); text-underline-offset: 0.2em; }
a:hover { text-decoration-color: var(--espresso); }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: 0.005em;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.6rem, 7vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.6vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.6vw, 1.75rem); }
p { margin: 0 0 1.1em; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 1rem;
}
.lead { font-size: clamp(1.1rem, 2vw, 1.25rem); color: var(--espresso-soft); max-width: 36em; }
.serif-italic { font-family: var(--font-serif); font-style: italic; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.section { padding: var(--section) 0; }
.section--cream { background: var(--cream); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--espresso); color: var(--ivory); padding: 0.6rem 1rem; z-index: 100; }
.skip-link:focus { left: 1rem; }
:focus-visible { outline: 2px solid var(--espresso); outline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0.75rem 1.6rem;
  border: 1px solid var(--espresso); border-radius: 999px;
  background: var(--espresso); color: var(--ivory);
  font: 500 0.82rem/1 var(--font-sans); letter-spacing: 0.16em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.btn:hover { background: var(--espresso-soft); }
.btn--ghost { background: transparent; color: var(--espresso); }
.btn--ghost:hover { background: var(--espresso); color: var(--ivory); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.text-link {
  font-size: 0.82rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  text-decoration: none; border-bottom: 1px solid var(--sand); padding-bottom: 0.2rem;
}
.text-link:hover { border-color: var(--espresso); }

/* ---------- Hand-drawn divider ---------- */
.divider { display: block; width: 140px; height: 18px; margin: 0 auto; color: var(--sand); }
.divider--left { margin: 0 0 1.5rem; }

/* ---------- Header ---------- */
.announce {
  background: var(--espresso); color: var(--cream);
  text-align: center; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.55rem var(--gutter);
}
.announce a { color: inherit; }
.announce--preview { background: var(--sand); color: var(--espresso); }
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 248, 242, 0.94);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(203, 184, 157, 0.45);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.wordmark { text-decoration: none; display: flex; flex-direction: column; line-height: 1; }
.wordmark__name { font-family: var(--font-serif); font-size: clamp(1.55rem, 4vw, 1.9rem); font-weight: 500; letter-spacing: 0.02em; }
.wordmark__sub { font-size: 0.62rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--taupe); margin-top: 0.3rem; }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(1rem, 2.2vw, 2rem); }
.site-nav a {
  text-decoration: none; font-size: 0.8rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.4rem 0; border-bottom: 1px solid transparent;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { border-color: var(--espresso); }

.header-actions { display: flex; align-items: center; gap: 0.25rem; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 0; background: none; color: var(--espresso);
  border-radius: 50%; cursor: pointer; text-decoration: none;
}
.icon-btn:hover { background: var(--cream); }
.icon-btn svg { width: 22px; height: 22px; }
.menu-toggle { display: none; }

@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    max-height: calc(100vh - 72px); overflow-y: auto;
    background: var(--ivory); border-bottom: 1px solid var(--beige);
    box-shadow: 0 18px 30px -20px rgba(58, 46, 40, 0.25);
    padding: 0.5rem var(--gutter) 1.5rem;
    display: none;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav a {
    display: block; padding: 1rem 0; font-size: 0.95rem;
    border-bottom: 1px solid var(--beige);
  }
  .site-nav a[aria-current="page"] { border-color: var(--beige); font-weight: 600; }
}

/* ---------- Photo frames ---------- */
.frame { position: relative; background: var(--beige); border-radius: var(--radius); overflow: hidden; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--arch { border-radius: var(--arch); }
.frame--portrait { aspect-ratio: 4 / 5; }
.frame--tall { aspect-ratio: 9 / 11; }
.frame--wide { aspect-ratio: 6 / 5; }
/* A thin offset line around a photo, like a gallery mat */
.matted { position: relative; isolation: isolate; }
.matted::after {
  content: ""; position: absolute; inset: 14px -14px -14px 14px;
  border: 1px solid var(--sand); border-radius: var(--radius); z-index: -1;
}
.matted--arch::after { border-radius: var(--arch); }

/* ---------- Hero ---------- */
.hero { padding: clamp(2.5rem, 7vw, 5.5rem) 0 var(--section); }
.hero-grid { display: grid; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; grid-template-columns: 1.05fr 0.95fr; }
.hero h1 { margin-bottom: 0.35em; }
.hero h1 em { font-style: italic; font-weight: 400; }
.hero .matted { max-width: 480px; margin-left: auto; }
.hero__visual { position: relative; isolation: isolate; }
.blob {
  position: absolute; z-index: -1; width: 70%; aspect-ratio: 1; right: -8%; bottom: -10%;
  background: var(--cream); border-radius: 58% 42% 55% 45% / 48% 56% 44% 52%;
}
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero__visual { order: -1; }
  .hero .matted { margin: 0 auto; max-width: 340px; }
}

/* ---------- Value strip ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; text-align: center; }
.value h3 { font-size: 1.45rem; margin-bottom: 0.35rem; }
.value p { color: var(--espresso-soft); margin: 0; font-size: 0.98rem; }
.value__icon { width: 40px; height: 40px; margin: 0 auto 0.9rem; color: var(--taupe); }
@media (max-width: 720px) { .values { grid-template-columns: 1fr; gap: 2.25rem; } }

/* ---------- Section heading ---------- */
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: clamp(2rem, 4vw, 3rem); flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }

/* ---------- Category tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(0.9rem, 2vw, 1.5rem); }
.tile { text-decoration: none; display: block; }
.tile .frame { transition: transform 0.35s ease; }
.tile:hover .frame { transform: translateY(-4px); }
.tile__label { font-family: var(--font-serif); font-size: 1.3rem; text-align: center; margin-top: 0.85rem; }
@media (max-width: 960px) {
  /* swipeable row on phones */
  .tiles { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 58%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 0.75rem; margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter); }
  .tile { scroll-snap-align: start; }
}
@media (min-width: 600px) and (max-width: 960px) { .tiles { grid-auto-columns: 34%; } }

/* ---------- Drop teaser ---------- */
.drop-card {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 0;
  background: var(--ivory); border: 1px solid var(--beige); border-radius: calc(var(--radius) * 1.5); overflow: hidden;
}
.drop-card .frame { border-radius: 0; height: 100%; min-height: 320px; }
.drop-card__body { padding: clamp(1.75rem, 5vw, 3.5rem); display: flex; flex-direction: column; justify-content: center; }
.drop-meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; font-size: 0.9rem; color: var(--espresso-soft); margin: 0.25rem 0 1.25rem; }
.drop-meta strong { font-weight: 500; color: var(--espresso); }
.pill {
  display: inline-block; align-self: flex-start;
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 0.4rem 0.85rem; border: 1px solid var(--sand); border-radius: 999px; color: var(--espresso-soft);
  margin-bottom: 1rem;
}
@media (max-width: 820px) {
  .drop-card { grid-template-columns: 1fr; }
  .drop-card .frame { min-height: 0; aspect-ratio: 6 / 5; }
}

/* ---------- Signup ---------- */
.signup { display: flex; gap: 0.5rem; max-width: 460px; margin-top: 0.5rem; }
.signup input {
  flex: 1; min-width: 0; min-height: 48px; padding: 0 1.1rem;
  border: 1px solid var(--sand); border-radius: 999px; background: #fff;
  font: inherit; font-size: 1rem; color: var(--espresso);
}
.signup input::placeholder { color: var(--taupe); }
.signup .btn { flex-shrink: 0; }
.form-note { font-size: 0.82rem; color: var(--taupe); margin-top: 0.6rem; }
@media (max-width: 420px) { .signup { flex-direction: column; } }

/* ---------- Swatch row ---------- */
.swatches { display: flex; justify-content: center; flex-wrap: wrap; gap: clamp(0.6rem, 2vw, 1.1rem); margin: 0 0 2.25rem; padding: 0; list-style: none; }
.swatches img { width: clamp(56px, 11vw, 92px); aspect-ratio: 1; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 4px var(--ivory), 0 0 0 5px var(--beige); }

/* ---------- Story ---------- */
.story-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.story-grid .matted { max-width: 420px; }
.quote {
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  font-size: clamp(1.7rem, 3.6vw, 2.4rem); line-height: 1.25; margin: 0 0 1.25rem;
}
@media (max-width: 820px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-grid .matted { margin: 0 auto; max-width: 320px; }
}

/* ---------- Simple pages (About, FAQ, etc.) ---------- */
.page-hero { padding: clamp(2.5rem, 7vw, 5rem) 0 clamp(1.5rem, 4vw, 2.5rem); text-align: center; }
.page-hero .lead { margin: 0 auto 1.75rem; }
.prose { font-size: 1.08rem; }
.prose h2 { font-size: clamp(1.8rem, 3.6vw, 2.3rem); margin-top: 2.2em; }
.prose h3 { margin-top: 1.8em; }
.prose > :first-child { margin-top: 0; }
.prose blockquote {
  margin: 2.5rem 0; padding: 0 0 0 1.5rem; border-left: 1px solid var(--sand);
  font-family: var(--font-serif); font-style: italic; font-size: clamp(1.5rem, 3vw, 1.9rem); line-height: 1.3;
}
.prose blockquote p { margin: 0; }
.prose img { border-radius: var(--radius); margin: 2rem 0; }

.about-intro { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.about-intro .matted { position: sticky; top: 110px; }
@media (max-width: 820px) {
  .about-intro { grid-template-columns: 1fr; }
  .about-intro .matted { position: relative; top: auto; max-width: 340px; margin: 0 auto 1rem; }
}

.motto-band { text-align: center; }
.motto-band .quote { font-size: clamp(2.2rem, 6vw, 3.6rem); margin-bottom: 0.75rem; }

/* FAQ */
.faq-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-bottom: 1rem; }
.faq-nav a { text-decoration: none; font-size: 0.88rem; padding: 0.45rem 1rem; border: 1px solid var(--beige); border-radius: 999px; }
.faq-nav a:hover { border-color: var(--sand); }
.prose h2[id] { scroll-margin-top: 100px; padding-top: 1.5rem; border-top: 1px solid var(--beige); }
.prose h3 { font-size: 1.35rem; margin-top: 1.6em; margin-bottom: 0.35em; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-details { margin: 2rem 0 0; display: grid; gap: 1rem; }
.contact-details dt { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--taupe); }
.contact-details dd { margin: 0.15rem 0 0; }
.contact-form { background: var(--cream); border-radius: calc(var(--radius) * 1.5); padding: clamp(1.5rem, 4vw, 2.5rem); }
.contact-form .field__label { margin: 1.1rem 0 0.45rem; }
.contact-form .field__label:first-of-type { margin-top: 0; }
.input.input--box { border-radius: 12px; }
select.input { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233A2E28' stroke-width='1.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 0.9rem center / 18px; padding-right: 2.5rem; }
.form-success { margin-top: 1rem; text-align: center; }
.form-success .serif-italic { font-size: 1.5rem; margin-bottom: 0.25rem; }

/* Coming-soon placeholder pages */
.soon { text-align: center; padding: var(--section) 0; }
.soon .frame { width: 180px; margin: 0 auto 2rem; }

/* ---------- Filter chips ---------- */
.h3 { font-size: clamp(1.4rem, 2.6vw, 1.75rem); }
.filter-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-bottom: 1rem; }
.chip {
  display: inline-flex; align-items: center; gap: 0.5rem;
  min-height: 40px; padding: 0 1rem;
  border: 1px solid var(--beige); border-radius: 999px; background: transparent;
  font: 400 0.9rem/1 var(--font-sans); color: var(--espresso); cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.chip:hover { border-color: var(--sand); }
.chip.is-active, .chip[aria-pressed="true"] { background: var(--espresso); border-color: var(--espresso); color: var(--ivory); }
.chip__dot { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,0.08); }
.chip--toggle { border-style: dashed; }
.filter-count { text-align: center; color: var(--taupe); font-size: 0.9rem; margin-bottom: 2.25rem; }
@media (max-width: 720px) {
  /* one swipeable row of chips on phones */
  .filter-bar { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin: 0 calc(var(--gutter) * -1) 1rem; padding: 0.25rem var(--gutter); scrollbar-width: none; }
  .filter-bar::-webkit-scrollbar { display: none; }
  .chip { flex-shrink: 0; }
}

/* ---------- Fabric grid ---------- */
.fabric-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2.5vw, 2rem) clamp(0.9rem, 2vw, 1.5rem); }
@media (max-width: 960px) { .fabric-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .fabric-grid { grid-template-columns: repeat(2, 1fr); } }
.fabric[hidden] { display: none; }
.fabric__open { all: unset; display: block; width: 100%; cursor: pointer; }
.fabric__open:focus-visible { outline: 2px solid var(--espresso); outline-offset: 4px; border-radius: var(--radius); }
.fabric__swatch { position: relative; display: block; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--beige); }
.fabric__swatch img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.fabric__open:hover .fabric__swatch img { transform: scale(1.04); }
.fabric__badge {
  position: absolute; top: 0.6rem; left: 0.6rem;
  background: var(--ivory); color: var(--espresso); border-radius: 999px;
  font-size: 0.68rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; padding: 0.3rem 0.65rem;
}
.fabric__name { display: block; font-family: var(--font-serif); font-size: 1.3rem; line-height: 1.2; margin-top: 0.75rem; }
.fabric__meta { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; font-size: 0.85rem; color: var(--taupe); margin-top: 0.15rem; }
.fabric__dots { display: inline-flex; gap: 4px; }
.fabric__dots span { width: 10px; height: 10px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,0.08); }
.filter-empty { text-align: center; color: var(--espresso-soft); padding: 3rem 0; }

.fabric-note { max-width: 680px; margin: var(--section) auto 0; padding: clamp(1.5rem, 4vw, 2.5rem); background: var(--cream); border-radius: calc(var(--radius) * 1.5); }
.fabric-note ul { margin: 0; padding-left: 1.2rem; color: var(--espresso-soft); }
.fabric-note li { margin-bottom: 0.4rem; }
.fabric-note strong { color: var(--espresso); font-weight: 500; }

/* ---------- Fabric close-up ---------- */
.fabric-dialog {
  width: min(880px, calc(100% - 2rem)); max-height: calc(100% - 2rem);
  padding: 0; border: 0; border-radius: calc(var(--radius) * 1.5);
  background: var(--ivory); color: var(--espresso);
}
.fabric-dialog::backdrop { background: rgba(58, 46, 40, 0.45); backdrop-filter: blur(3px); }
.fabric-dialog__inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; }
.fabric-dialog__swatch { aspect-ratio: 1; background: var(--beige); }
.fabric-dialog__swatch img { width: 100%; height: 100%; object-fit: cover; }
.fabric-dialog__body { padding: clamp(1.75rem, 4vw, 3rem); align-self: center; }
.fabric-dialog__body h2 { font-size: clamp(2rem, 4vw, 2.6rem); }
.fabric-dialog__colors { color: var(--taupe); }
.fabric-dialog__limited { font-style: italic; color: var(--espresso-soft); }
.fabric-dialog__close { position: absolute; top: 0.6rem; right: 0.6rem; background: var(--ivory); z-index: 1; }
@media (max-width: 680px) {
  .fabric-dialog__inner { grid-template-columns: 1fr; }
  .fabric-dialog__swatch { aspect-ratio: 4 / 3; }
}

/* ---------- Helpers ---------- */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.btn--wide { flex: 1; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ---------- Cart icon count ---------- */
.cart-link { position: relative; }
.cart-count {
  position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 999px; background: var(--espresso); color: var(--ivory);
  font-size: 0.68rem; font-weight: 500; line-height: 18px; text-align: center;
}
.cart-count[hidden] { display: none; }

/* ---------- Shop grid ---------- */
.product-grid { list-style: none; margin: 2.25rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(2rem, 4vw, 3rem) clamp(1rem, 3vw, 2.25rem); }
@media (max-width: 960px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
.product-card[hidden] { display: none; }
.product-card a { text-decoration: none; display: block; }
.product-card .frame img { transition: transform 0.5s ease; }
.product-card a:hover .frame img { transform: scale(1.03); }
.product-card__title { font-size: clamp(1.25rem, 2.4vw, 1.6rem); margin: 1rem 0 0.2rem; text-align: center; }
.product-card__price { text-align: center; margin: 0; }
.product-card__note { text-align: center; margin: 0.1rem 0 0; font-size: 0.82rem; color: var(--taupe); letter-spacing: 0.04em; }
.fabric-banner {
  display: flex; align-items: center; justify-content: center; gap: 0.75rem;
  max-width: 560px; margin: 0 auto 1.5rem; padding: 0.6rem 1.1rem;
  background: var(--cream); border-radius: 999px; font-size: 0.95rem;
}
.fabric-banner[hidden] { display: none; }
.fabric-banner img { width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0; }

/* ---------- Product page ---------- */
.product-section { padding-top: clamp(1.25rem, 3vw, 2rem); }
.breadcrumb { font-size: 0.85rem; color: var(--taupe); margin-bottom: 1.5rem; display: flex; gap: 0.6rem; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.product { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
@media (max-width: 860px) { .product { grid-template-columns: 1fr; } }

.gallery { position: sticky; top: 100px; }
@media (max-width: 860px) { .gallery { position: static; margin: 0 calc(var(--gutter) * -1); } }
@media (min-width: 560px) and (max-width: 860px) { .gallery { width: 480px; margin: 0 auto; } }
.gallery__main { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--radius); }
.gallery__main::-webkit-scrollbar { display: none; }
.gallery__slide { flex: 0 0 100%; scroll-snap-align: start; border-radius: 0; }
@media (max-width: 860px) { .gallery__main { border-radius: 0; } }
.gallery__thumbs { display: flex; gap: 0.6rem; margin-top: 0.75rem; }
@media (max-width: 860px) { .gallery__thumbs { justify-content: center; } }
.gallery__thumb { width: 64px; padding: 0; border: 1px solid transparent; border-radius: 8px; overflow: hidden; background: none; cursor: pointer; opacity: 0.6; }
.gallery__thumb.is-active { opacity: 1; border-color: var(--espresso); }
.gallery__thumb img { aspect-ratio: 9 / 11; object-fit: cover; }

.product__title { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: 0.25rem; }
.product__price { font-size: 1.3rem; margin-bottom: 0.75rem; }
.product__summary { color: var(--espresso-soft); }
.product__lead { font-size: 0.88rem; color: var(--taupe); margin-top: 0.85rem; }

.product-form { margin-top: 1.75rem; }
.field { border: 0; margin: 0 0 1.5rem; padding: 0; min-width: 0; }
.field__label {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 0.6rem; padding: 0; margin-bottom: 0.75rem;
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
}
.zone__choice { font-family: var(--font-serif); font-size: 1.1rem; font-style: italic; letter-spacing: 0; text-transform: none; font-weight: 400; color: var(--espresso-soft); }
.field__hint { font-size: 0.85rem; color: var(--taupe); margin: -0.5rem 0 1.5rem; }

.option-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.option input { position: absolute; opacity: 0; pointer-events: none; }
.option span {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 96px; min-height: 56px; padding: 0.4rem 1rem; line-height: 1.25;
  border: 1px solid var(--beige); border-radius: 12px; cursor: pointer; font-size: 0.95rem;
}
.option small { color: var(--taupe); font-size: 0.8rem; }
.option input:checked + span { border-color: var(--espresso); box-shadow: inset 0 0 0 1px var(--espresso); }
.option input:focus-visible + span { outline: 2px solid var(--espresso); outline-offset: 2px; }

.swatch-picker { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.swatch { position: relative; cursor: pointer; }
.swatch input { position: absolute; opacity: 0; pointer-events: none; }
.swatch__img {
  display: flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%; object-fit: cover;
  box-shadow: 0 0 0 3px var(--ivory), 0 0 0 4px var(--beige);
  transition: box-shadow 0.15s;
}
.swatch--same .swatch__img { background: var(--cream); font-family: var(--font-serif); font-size: 1.4rem; color: var(--espresso-soft); }
.swatch:hover .swatch__img { box-shadow: 0 0 0 3px var(--ivory), 0 0 0 4px var(--sand); }
.swatch input:checked + .swatch__img { box-shadow: 0 0 0 3px var(--ivory), 0 0 0 5px var(--espresso); }
.swatch input:focus-visible + .swatch__img { outline: 2px solid var(--espresso); outline-offset: 6px; }
.swatch.is-short { cursor: not-allowed; }
.swatch.is-short .swatch__img { opacity: 0.25; filter: grayscale(0.6); }

.rts-fabrics { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 1.25rem; }
.rts-fabric { display: flex; align-items: center; gap: 0.65rem; }
.rts-fabric img { width: 46px; height: 46px; border-radius: 50%; }
.rts-fabric span { display: flex; flex-direction: column; line-height: 1.25; font-family: var(--font-serif); font-size: 1.15rem; }
.rts-fabric small { font-family: var(--font-sans); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--taupe); }

.buy-row { display: flex; gap: 0.75rem; align-items: stretch; margin-top: 0.5rem; }
.qty { display: flex; align-items: center; border: 1px solid var(--sand); border-radius: 999px; overflow: hidden; }
.qty button { width: 40px; height: 100%; min-height: 46px; border: 0; background: none; font-size: 1.2rem; color: var(--espresso); cursor: pointer; }
.qty button:hover { background: var(--cream); }
.qty input { width: 36px; border: 0; background: none; text-align: center; font: inherit; color: var(--espresso); -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.form-error { margin: 0.85rem 0 0; padding: 0.7rem 1rem; border-radius: 10px; background: #F6E3DC; color: #7A2E1B; font-size: 0.92rem; }

.accordion { margin-top: 2.25rem; border-top: 1px solid var(--beige); }
.accordion details { border-bottom: 1px solid var(--beige); }
.accordion summary {
  display: flex; justify-content: space-between; align-items: center; cursor: pointer; list-style: none;
  padding: 1.1rem 0; font-size: 0.8rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-size: 1.3rem; font-weight: 300; letter-spacing: 0; }
.accordion details[open] summary::after { content: "−"; }
.accordion__body { padding: 0 0 1.25rem; color: var(--espresso-soft); }
ul.accordion__body { padding-left: 1.2rem; }
.accordion__body p:last-child { margin-bottom: 0; }

.toast {
  position: fixed; z-index: 60; left: 50%; bottom: 1.25rem; transform: translateX(-50%);
  width: min(460px, calc(100% - 2rem));
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.9rem 0.9rem 0.9rem 1.25rem; border-radius: 18px;
  background: var(--ivory); border: 1px solid var(--beige); box-shadow: 0 18px 40px -18px rgba(58, 46, 40, 0.4);
}
.toast[hidden] { display: none; }
.toast p { margin: 0; font-size: 0.92rem; line-height: 1.4; }
.toast strong { font-weight: 500; display: block; }
.toast .btn { flex-shrink: 0; min-height: 42px; padding: 0.6rem 1.1rem; }

/* ---------- Cart ---------- */
.cart-empty { text-align: center; padding: 2rem 0 1rem; }
.cart-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.cart-layout[hidden], .cart-empty[hidden] { display: none; }
@media (max-width: 860px) { .cart-layout { grid-template-columns: 1fr; } }
.cart-items { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--beige); }
.cart-item { display: grid; grid-template-columns: 90px 1fr; gap: 1.25rem; padding: 1.5rem 0; border-bottom: 1px solid var(--beige); }
.cart-item__photo { aspect-ratio: 9 / 11; display: block; }
.cart-item__top { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.cart-item__title { font-size: 1.4rem; margin: 0; }
.cart-item__title a { text-decoration: none; }
.cart-item__price { margin: 0; font-weight: 500; }
.cart-item__option { margin: 0.15rem 0 0.5rem; font-size: 0.9rem; color: var(--taupe); }
.cart-item__fabrics { list-style: none; margin: 0 0 0.85rem; padding: 0; font-size: 0.92rem; }
.cart-item__fabrics span { color: var(--taupe); }
.cart-item__fabrics strong { font-weight: 500; }
.cart-item__actions { display: flex; align-items: center; gap: 1.25rem; }
.qty--small { height: 38px; }
.qty--small button { min-height: 36px; width: 34px; font-size: 1rem; }
.qty--small span { min-width: 22px; text-align: center; font-size: 0.95rem; }
.link-btn { border: 0; background: none; padding: 0; font: inherit; font-size: 0.85rem; color: var(--taupe); text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; }
.link-btn:hover { color: var(--espresso); }

.cart-summary { position: sticky; top: 100px; background: var(--cream); border-radius: calc(var(--radius) * 1.5); padding: clamp(1.5rem, 4vw, 2.25rem); }
@media (max-width: 860px) { .cart-summary { position: static; } }
.cart-totals { margin: 0; }
.cart-totals div { display: flex; justify-content: space-between; padding: 0.4rem 0; }
.cart-totals dt { color: var(--espresso-soft); }
.cart-totals dd { margin: 0; }
.cart-totals div:first-child dd { font-weight: 500; font-size: 1.15rem; }
.cart-free-ship { font-size: 0.9rem; color: var(--espresso-soft); font-style: italic; margin: 0.5rem 0 0; }
.textarea {
  width: 100%; padding: 0.75rem 1rem; border: 1px solid var(--sand); border-radius: 12px;
  background: #fff; font: inherit; font-size: 0.98rem; color: var(--espresso); resize: vertical;
}
.btn--block { width: 100%; margin-top: 1.25rem; }
.cart-fine-print { font-size: 0.82rem; color: var(--taupe); margin: 1rem 0 0; }

/* ---------- Furniture drops ---------- */
.drop-pill { margin-bottom: 0.75rem; }
.drop-pill[data-state="live"] { background: var(--espresso); border-color: var(--espresso); color: var(--ivory); }
.drop__facts { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; font-size: 0.92rem; color: var(--espresso-soft); }
.drop__facts strong { font-weight: 500; color: var(--espresso); }
.drop-panel { margin-top: 1.5rem; padding: clamp(1.25rem, 4vw, 2rem); background: var(--cream); border-radius: calc(var(--radius) * 1.5); }
.drop-panel__label { font-size: 0.78rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 0.75rem; }
.drop-panel__note { font-size: 0.85rem; color: var(--taupe); margin: 1rem 0 0.6rem; }
.drop-panel .field { margin-bottom: 0.5rem; }

.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.6rem; text-align: center; }
.countdown div { background: var(--ivory); border-radius: 12px; padding: 0.75rem 0.25rem; }
.countdown span { display: block; font-family: var(--font-serif); font-size: clamp(2rem, 6vw, 2.6rem); line-height: 1; }
.countdown small { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--taupe); }

.choice { display: block; margin-bottom: 0.5rem; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: flex; flex-direction: column; padding: 0.8rem 1.1rem; background: var(--ivory); border: 1px solid var(--beige); border-radius: 12px; line-height: 1.35; }
.choice strong { font-weight: 500; }
.choice small { color: var(--taupe); font-size: 0.85rem; }
.choice input:checked + span { border-color: var(--espresso); box-shadow: inset 0 0 0 1px var(--espresso); }
.choice input:focus-visible + span { outline: 2px solid var(--espresso); outline-offset: 2px; }
.input {
  width: 100%; min-height: 48px; padding: 0 1.1rem;
  border: 1px solid var(--sand); border-radius: 999px; background: #fff;
  font: inherit; font-size: 1rem; color: var(--espresso);
}
.zip-row { margin-top: 0.25rem; max-width: 220px; }
.drop-card a.frame { display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--cream); padding: clamp(3rem, 7vw, 5rem) 0 2rem; margin-top: var(--section); font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.footer-grid h4 { font-family: var(--font-sans); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--taupe); margin-bottom: 1rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { text-decoration: underline; }
.footer-motto { font-family: var(--font-serif); font-style: italic; font-size: 1.6rem; margin-bottom: 0.5rem; }
.footer-bottom { border-top: 1px solid var(--beige); margin-top: 3rem; padding-top: 1.5rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; color: var(--taupe); font-size: 0.82rem; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* main sits on top; the footer adds its own top margin */
main > .section:last-child { padding-bottom: 0; }
