/* Tiny Sky Soap Co. - storefront styles */

@font-face { font-family: "Jost"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/jost-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/jost-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/jost-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/instrument-serif-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); }

:root {
  --ink: #282828;
  --ink-soft: #57554F;
  --blue: #D4DFED;
  --blue-deep: #B8C8DD;
  --cream: #F4ECDD;
  --paper: #FCFAF6;
  --cloud: #FBF6EC;
  --line: rgba(40, 40, 40, 0.16);
  --line-strong: rgba(40, 40, 40, 0.42);
  --rose: #F3DFDA;
  --serif: "Instrument Serif", "Iowan Old Style", "Times New Roman", serif;
  --sans: "Jost", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --radius: 2px;
  --gutter: 20px;
}
@media (min-width: 760px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0 0 0.4em; font-weight: 400; }
h1, h2 { font-family: var(--serif); line-height: 1.04; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.6rem, 5.2vw, 4rem); }
h2 { font-size: clamp(2.15rem, 4vw, 3.1rem); }
h3 { font-family: var(--sans); font-size: 1.0625rem; font-weight: 500; line-height: 1.35; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
main:focus { outline: none; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 16px; background: var(--ink); color: var(--cream); text-decoration: none; }
.skip-link:focus { top: 12px; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding-inline: var(--gutter); }
.narrow { max-width: 780px; }
.center { text-align: center; }
.muted { color: var(--ink-soft); }
.small { font-size: 0.875rem; }
.spacer { height: clamp(48px, 7vw, 88px); }
.lede { font-size: clamp(1.125rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--ink); }
.icon { width: 22px; height: 22px; flex: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 30px;
  background: var(--ink); color: var(--cream);
  border: 1px solid var(--ink); border-radius: var(--radius);
  font-family: var(--sans); font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.btn:hover { background: #3b3b3b; border-color: #3b3b3b; }
.btn .icon { width: 18px; height: 18px; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.btn-small { min-height: 44px; padding: 0 18px; }
.btn-wide { width: 100%; }
.link-btn { min-height: 44px; padding: 0; background: none; border: 0; cursor: pointer; font-size: 0.875rem; color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px; }
.link-btn:hover { color: var(--ink); }
.text-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 0.9375rem; }
.js .js-hide { display: none; }

/* ---------- Announcement + header ---------- */
.announce { background: var(--ink); color: var(--cream); text-align: center; }
.announce p { margin: 0; padding: 9px var(--gutter); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; }

.site-header { position: relative; z-index: 20; background: var(--blue); }
.header-inner {
  display: grid; align-items: center;
  grid-template-columns: 48px 1fr 48px;
  grid-template-areas: "toggle brand tools" "nav nav nav";
  min-height: 84px;
}
.brand { grid-area: brand; justify-self: center; min-width: 0; max-width: 100%; padding: 8px 0; }
.brand img { width: auto; height: 60px; max-width: 100%; object-fit: contain; }
.nav-toggle { grid-area: toggle; display: inline-grid; place-items: center; width: 48px; height: 48px; margin-left: -12px; color: var(--ink); }
.nav-toggle .icon-close, .is-open .nav-toggle .icon-menu { display: none; }
.is-open .nav-toggle .icon-close { display: block; }
.nav-toggle-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.header-tools { grid-area: tools; justify-self: end; }
.cart-link { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; min-width: 48px; justify-content: center; text-decoration: none; }
.cart-label { display: none; font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; }
.cart-count {
  position: absolute; top: 4px; right: 2px;
  min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px;
  background: var(--ink); color: var(--cream);
  font-size: 0.6875rem; font-weight: 600; line-height: 19px; text-align: center;
}
.cart-count.is-empty { display: none; }

.site-nav { grid-area: nav; display: none; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.is-open .site-nav { display: block; border-top: 1px solid var(--line); padding: 8px 0 16px; }
.site-nav a {
  display: flex; align-items: center; min-height: 48px;
  font-size: 0.875rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none;
}
.site-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }

@media (min-width: 900px) {
  .header-inner { grid-template-columns: 1fr auto 1fr; grid-template-areas: "nav brand tools"; min-height: 112px; }
  .brand img { height: 86px; max-width: 380px; }
  .nav-toggle { display: none; }
  .site-nav, .is-open .site-nav { display: block; border: 0; padding: 0; }
  .site-nav ul { display: flex; gap: 30px; }
  .site-nav a { font-size: 0.8125rem; }
  .site-nav a:hover { text-decoration: underline; text-underline-offset: 6px; }
  .cart-label { display: inline; }
  .cart-count { position: static; }
}

/* ---------- Clouds ---------- */
.cloud { color: var(--cloud); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--blue); }
.hero-cloud { position: absolute; pointer-events: none; }
.hc1 { width: 340px; left: -110px; top: 18px; opacity: 0.75; }
.hc2 { width: 260px; right: -70px; bottom: 40px; opacity: 0.9; }
.hc3 { width: 150px; left: 44%; bottom: -26px; opacity: 0.55; }
.hero-inner { position: relative; display: grid; gap: 44px; padding-block: 40px 72px; }
.hero h1 { font-size: clamp(3rem, 8.5vw, 5.75rem); line-height: 0.98; max-width: 11ch; margin-bottom: 0.3em; }
.hero .lede { max-width: 34ch; margin-bottom: 1.6em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-media { justify-self: center; width: min(76%, 300px); margin-bottom: 8px; }
.arch {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: 999px 999px var(--radius) var(--radius);
  background: var(--cream);
  outline: 1px solid var(--line-strong); outline-offset: 10px;
}
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch-fill { display: grid; place-items: center; width: 100%; height: 100%; }
.arch-fill img { width: 82%; height: auto; max-height: 82%; object-fit: contain; }
@media (min-width: 900px) {
  .hero-inner { grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 64px; padding-block: 56px 104px; }
  .hero-media { width: min(100%, 440px); justify-self: end; margin-right: 24px; }
  .hc1 { width: 460px; left: -120px; top: 24px; }
  .hc2 { width: 380px; right: -90px; bottom: 30px; }
  .hc3 { width: 200px; left: 40%; bottom: -30px; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 9vw, 112px); }
.section-cream { background: var(--cream); }
.section-blue { background: var(--blue); }
.section-head { text-align: center; margin-bottom: clamp(32px, 4vw, 48px); }
.section-head h2 { margin: 0; }
.section-foot { text-align: center; margin: clamp(36px, 5vw, 56px) 0 0; }

/* ---------- Product grid ---------- */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 16px; }
@media (min-width: 760px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 24px; } }
@media (min-width: 1080px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 56px 28px; } }
.grid.grid-few { grid-template-columns: repeat(auto-fit, minmax(150px, 320px)); justify-content: center; }

.card-link { display: block; text-decoration: none; }
.card-media { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); background: var(--cream); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.card-link:hover .card-media img { transform: scale(1.035); }
.card-title { margin: 16px 0 2px; font-family: var(--sans); font-size: 1.0625rem; font-weight: 500; }
.card-link:hover .card-title { text-decoration: underline; text-underline-offset: 4px; }
.card-sub { margin: 0 0 6px; color: var(--ink-soft); font-size: 0.9375rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-price { margin: 0; font-size: 0.9375rem; }
.badge {
  position: absolute; top: 12px; left: 12px; z-index: 1;
  padding: 5px 10px; background: var(--paper); color: var(--ink);
  font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.2;
}
.badge-soldout { background: var(--ink); color: var(--cream); }
.ph { display: grid; place-items: center; width: 100%; height: 100%; background: var(--blue); }
.ph .cloud { width: 56%; }

/* ---------- Split sections ---------- */
.split { display: grid; gap: 40px; align-items: center; }
.split-text h2 { margin-bottom: 0.45em; }
.split-text p { max-width: 46ch; }
.split-media { position: relative; }
.split-media .cover, .split-media img.cover { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.sky-tile { position: relative; overflow: hidden; display: grid; place-items: center; background: var(--blue); }
.sky-tile .cloud { position: absolute; }
.sky-tile .c1 { width: 62%; left: -14%; top: 8%; opacity: 0.7; }
.sky-tile .c2 { width: 48%; right: -10%; bottom: 10%; opacity: 0.85; }
.sky-tile .sky-mark { position: relative; width: 62%; height: auto; max-height: 62%; object-fit: contain; }
.sky-tile .c3 { width: 40%; left: 30%; top: 44%; opacity: 0.95; }
.sky-tile.only-clouds .c1 { top: 14%; }
@media (min-width: 860px) {
  .split { grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 104px); }
  .split-media { max-width: 520px; width: 100%; justify-self: center; }
}

.cat-list { list-style: none; margin: 8px 0 0; padding: 0; border-top: 1px solid var(--line); }
.cat-list li { border-bottom: 1px solid var(--line); }
.cat-list a { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 14px 0; min-height: 48px; text-decoration: none; font-family: var(--serif); font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.2; }
.cat-list a:hover span:first-child { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.cat-count { font-family: var(--sans); font-size: 0.875rem; color: var(--ink-soft); }

/* ---------- Reviews ---------- */
.reviews h2 { margin-bottom: clamp(24px, 3vw, 40px); }
.review-list { display: grid; gap: 20px; }
@media (min-width: 860px) { .review-list { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; } }
.review { margin: 0; padding: 32px 28px; background: var(--paper); border-radius: var(--radius); }
.review blockquote { margin: 0 0 16px; }
.review blockquote p { margin: 0; font-family: var(--serif); font-size: 1.6rem; line-height: 1.2; }
.review figcaption { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); }
.review-list.is-single { max-width: 860px; margin: 0 auto; }
.is-single .review { background: none; padding: 0; text-align: center; }
.is-single .review blockquote p { font-style: italic; font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.08; }
.is-single .review figcaption { color: var(--ink); }

/* ---------- Info blocks ---------- */
.info-grid { display: grid; gap: 32px; margin-top: clamp(28px, 3.5vw, 44px); }
@media (min-width: 760px) { .info-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px; } }
.info { padding-top: 22px; border-top: 1px solid var(--ink); }
.info h3 { font-family: var(--serif); font-size: 1.75rem; font-weight: 400; line-height: 1.1; margin-bottom: 0.4em; }
.info p { color: var(--ink-soft); margin: 0; }
.info a { color: var(--ink); }

.insta .btn .icon { width: 18px; height: 18px; }

/* ---------- Page heads, toolbar, breadcrumbs ---------- */
.page-head { padding-block: clamp(40px, 6vw, 72px) clamp(24px, 3vw, 36px); }
.page-head h1 { margin-bottom: 0.25em; }
.page-head .lede { max-width: 44ch; margin-inline: auto; }
.page-head:not(.center) .lede { margin-inline: 0; }

.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding-bottom: 20px; margin-bottom: clamp(28px, 4vw, 44px); border-bottom: 1px solid var(--line); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
  border: 1px solid var(--line-strong); border-radius: 999px; text-decoration: none;
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.sort { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.sort label { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
select {
  min-height: 44px; padding: 0 36px 0 12px;
  border: 1px solid var(--line-strong); border-radius: var(--radius); background-color: var(--paper);
  appearance: none; -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
  background-size: 5px 5px; background-repeat: no-repeat;
}

.crumbs { padding-top: 24px; font-size: 0.8125rem; color: var(--ink-soft); }
.crumbs ol { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin: 0 10px; color: var(--line-strong); }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; }
.crumbs li[aria-current] { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); }

.empty { padding: 56px 0 24px; text-align: center; color: var(--ink-soft); }

/* ---------- Product page ---------- */
.product { display: grid; gap: 32px; padding-top: 8px; }
.gallery-main { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); background: var(--cream); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.thumb { display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); border: 1px solid transparent; }
.thumb[aria-current="true"] { border-color: var(--ink); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.kicker { margin: 0 0 10px; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); }
.product-info h1 { font-size: clamp(2.6rem, 4.6vw, 3.8rem); margin-bottom: 0.15em; }
.price { font-size: 1.375rem; margin-bottom: 0.9em; }
.buy { display: flex; gap: 12px; margin: 28px 0 24px; }
.buy .btn { flex: 1; }
.soldout-note { margin: 24px 0; padding: 14px 18px; background: var(--cream); }
.perks { list-style: none; margin: 0 0 28px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 10px; font-size: 0.9375rem; }
.perks li { display: flex; align-items: center; gap: 12px; }
.prose p { max-width: 62ch; }
.details { border-top: 1px solid var(--line); }
.perks + .details { border-top: 0; margin-top: -28px; }
.details details { border-bottom: 1px solid var(--line); }
.details summary {
  display: flex; align-items: center; justify-content: space-between; min-height: 56px; cursor: pointer; list-style: none;
  font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
}
.details summary::-webkit-details-marker { display: none; }
.details summary::after { content: "+"; font-size: 1.25rem; font-weight: 400; letter-spacing: 0; }
.details details[open] summary::after { content: "−"; }
.details details p { margin: 0 0 20px; color: var(--ink-soft); }
@media (min-width: 900px) {
  .product { grid-template-columns: 1.08fr 0.92fr; gap: clamp(48px, 6vw, 88px); align-items: start; }
  .product-info { position: sticky; top: 24px; padding-top: 12px; }
}

/* Quantity stepper */
.qty { display: inline-flex; align-items: stretch; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--paper); height: 50px; }
.qty-btn { width: 44px; display: grid; place-items: center; background: none; border: 0; cursor: pointer; color: var(--ink); }
.qty-btn .icon { width: 16px; height: 16px; }
.qty-btn:hover { background: var(--cream); }
.qty input { width: 3rem; border: 0; background: transparent; text-align: center; font-size: 1rem; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty input:focus-visible { outline-offset: -2px; }

/* ---------- Cart ---------- */
.cart { display: grid; gap: 40px; }
.lines { list-style: none; margin: 0 0 12px; padding: 0; border-top: 1px solid var(--line); }
.line { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: start; }
.line-media { display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); background: var(--cream); }
.line-media img { width: 100%; height: 100%; object-fit: cover; }
.line-title { margin: 0 0 2px; font-family: var(--sans); font-size: 1.0625rem; font-weight: 500; line-height: 1.35; }
.line-title a { text-decoration: none; }
.line-title a:hover { text-decoration: underline; }
.line-info .muted { margin: 0 0 12px; font-size: 0.9375rem; }
.line-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
.line-qty { display: flex; align-items: center; gap: 8px; }
.line-qty .qty { height: 44px; }
.line-total { margin: 0; font-weight: 500; }
.line-warn { color: #8a2d1f; font-size: 0.875rem; font-weight: 500; }
.summary { padding: 28px 24px; background: var(--cream); border-radius: var(--radius); align-self: start; }
.summary h2 { font-size: 2.1rem; margin-bottom: 0.6em; }
.free-ship { margin-bottom: 20px; font-size: 0.9375rem; }
.free-ship p { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.free-ship .icon { width: 18px; height: 18px; }
.meter { display: block; width: 100%; height: 6px; border: 0; border-radius: 3px; background: var(--paper); overflow: hidden; -webkit-appearance: none; appearance: none; }
.meter::-webkit-progress-bar { background: var(--paper); border-radius: 3px; }
.meter::-webkit-progress-value { background: var(--ink); border-radius: 3px; }
.meter::-moz-progress-bar { background: var(--ink); border-radius: 3px; }
.totals { margin: 0 0 14px; }
.totals div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; }
.totals dt, .totals dd { margin: 0; }
.totals .grand { margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line-strong); font-weight: 500; font-size: 1.125rem; }
.summary form { margin: 18px 0 12px; }
@media (min-width: 900px) {
  .cart { grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; align-items: start; }
  .line { grid-template-columns: 112px minmax(0, 1fr) auto; gap: 24px; }
  .summary { position: sticky; top: 24px; padding: 32px 30px; }
}

/* ---------- Messages ---------- */
.flashes { padding-top: 20px; }
.flash { margin: 0 0 8px; padding: 14px 18px; background: var(--cream); border-left: 3px solid var(--ink); font-size: 0.9375rem; }
.flash a { font-weight: 500; }
.flash-error { background: var(--rose); border-left-color: #8a2d1f; }

/* ---------- Thank-you page ---------- */
.thanks-mark { display: inline-grid; place-items: center; width: 64px; height: 64px; margin-bottom: 16px; border: 1px solid var(--ink); border-radius: 50%; }
.thanks-mark .icon { width: 28px; height: 28px; }
.receipt { padding: 28px 24px; margin-bottom: 32px; background: var(--cream); border-radius: var(--radius); }
.receipt h2 { font-size: 2rem; }
.receipt h3 { margin-top: 24px; font-family: var(--serif); font-size: 1.5rem; font-weight: 400; }
.receipt-items { list-style: none; margin: 0 0 8px; padding: 0; border-top: 1px solid var(--line); }
.receipt-items li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.receipt address { font-style: normal; color: var(--ink-soft); }
@media (min-width: 640px) { .receipt { padding: 36px 40px; } }

/* ---------- Contact + policies ---------- */
.contact-cards { display: grid; gap: 16px; margin: 8px 0 28px; }
@media (min-width: 640px) { .contact-cards { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); } }
.contact-card { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 36px 24px; background: var(--cream); border-radius: var(--radius); text-decoration: none; text-align: center; transition: background-color 0.2s ease; }
.contact-card:hover { background: var(--blue); }
.contact-card .icon { width: 28px; height: 28px; margin-bottom: 6px; }
.contact-label { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); }
.contact-value { font-family: var(--serif); font-size: 1.5rem; line-height: 1.2; overflow-wrap: anywhere; }
.policy h2 { font-size: 2rem; margin-top: 1.4em; }
.policy p { max-width: 68ch; }
.about .prose p { font-size: 1.125rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--cream); padding-top: clamp(56px, 7vw, 80px); }
.footer-grid { display: grid; gap: 36px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.footer-brand { grid-column: 1 / -1; }
.footer-brand img { width: 128px; height: auto; max-height: 128px; object-fit: contain; object-position: left center; margin-bottom: 10px; }
.footer-brand p { color: var(--ink-soft); }
.footer-col h2 { margin: 0 0 10px; font-family: var(--sans); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; line-height: 1.4; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col a { display: inline-flex; align-items: center; min-height: 40px; font-size: 0.9375rem; text-decoration: none; overflow-wrap: anywhere; }
.footer-col a:hover { text-decoration: underline; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 40px; padding-block: 20px 28px; border-top: 1px solid var(--line); font-size: 0.8125rem; color: var(--ink-soft); }
.footer-base p { margin: 0; }
.secure { display: inline-flex; align-items: center; gap: 8px; }
.secure .icon { width: 16px; height: 16px; }
@media (min-width: 900px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; }
  .footer-brand { grid-column: auto; }
}
@media (max-width: 420px) {
  .footer-grid > .footer-col:last-child { grid-column: 1 / -1; }
}

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

/* ---------- "You're signed in" strip (only you see this) ---------- */
.edit-strip { background: #F3DFDA; color: var(--ink); font-size: 0.875rem; }
.edit-strip-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 0 20px; min-height: 44px; }
.edit-strip a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; }

/* ---------- Stock ---------- */
.stock-note { margin: 12px 0 0; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }

/* ---------- Page blocks ---------- */
.section-dark { background: var(--ink); color: var(--cream); }
.section-dark h2, .section-dark h3, .section-dark .lede, .section-dark a:not(.btn) { color: var(--cream); }
.section-dark .btn { background: var(--cream); border-color: var(--cream); color: var(--ink); }
.section-dark .btn:hover { background: #fff; border-color: #fff; }
.section-dark .btn-ghost { background: transparent; color: var(--cream); border-color: var(--cream); }
.section-dark .btn-ghost:hover { background: var(--cream); color: var(--ink); }
.section-dark .card-sub, .section-dark .card-price, .section-dark .muted { color: rgba(244, 236, 221, 0.78); }
.section-dark .review { color: var(--ink); }
.section-dark .review figcaption { color: var(--ink-soft); }
.section-dark .faq-item { border-color: rgba(244, 236, 221, 0.35); }
.block h2 { margin-bottom: 0.5em; }
.block .section-head h2 { margin: 0; }
.block-prose p { max-width: 62ch; }
.block .center .block-prose p, .block.block-cta .center p { margin-inline: auto; }
.block-actions { margin: 1.4em 0 0; }
.block-cta .lede { max-width: 52ch; }
.block-cta .center .lede { margin-inline: auto; }
@media (min-width: 860px) { .block-image-text.photo-right .split-media { order: 2; } }
.block-photo.is-full { padding-block: 0; }
.block-photo.is-full.section-cream, .block-photo.is-full.section-blue, .block-photo.is-full.section-dark { padding-block: 0 24px; }
.block-figure { margin: 0 auto; }
.block-photo-img { display: block; width: 100%; height: auto; border-radius: var(--radius); }
.block-photo.is-full .block-photo-img { border-radius: 0; }
.block-photo-img.is-banner { aspect-ratio: 3 / 1; object-fit: cover; }
@media (max-width: 640px) { .block-photo-img.is-banner { aspect-ratio: 2 / 1; } }
.block-figure figcaption { margin-top: 12px; font-size: 0.9375rem; color: var(--ink-soft); text-align: center; }
.section-dark .block-figure figcaption { color: rgba(244, 236, 221, 0.78); }
.photo-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.photo-grid.cols-1 { grid-template-columns: minmax(0, 560px); justify-content: center; }
@media (min-width: 760px) {
  .photo-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; }
  .photo-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .photo-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.gallery-cell { display: block; overflow: hidden; border-radius: var(--radius); background: var(--blue); }
.gallery-cell img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform 0.3s ease; }
.gallery-cell:hover img { transform: scale(1.03); }
.faq { border-top: 1px solid var(--line-strong); }
.faq-item { border-bottom: 1px solid var(--line-strong); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding: 14px 0; cursor: pointer; font-family: var(--serif); font-size: 1.4rem; line-height: 1.2; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: none; font-family: var(--sans); font-size: 1.4rem; font-weight: 300; }
.faq-item[open] summary::after { content: "−"; }
.faq-answer { padding: 0 0 18px; }
.faq-answer p { max-width: 62ch; }
.faq-answer p:last-child { margin-bottom: 0; }
