@font-face {
  font-family: Inter;
  src: url("./assets/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f7f8f6;
  --ink: #1d2723;
  --muted: #505b55;
  --line: #dfe4df;
  --hero: #183d34;
  --interface-tint: #e8eee9;
  --white: #fff;
  --radius: .58rem;
  --catalogue-columns: minmax(9.5rem, 11rem) minmax(0, 1fr);
  --catalogue-gutter: 1.15rem;
  font: 1rem/1.55 Inter, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
body { min-width: 0; margin: 0; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.25; letter-spacing: -.015em; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #39745f; outline-offset: 4px; }
[tabindex="-1"]:focus { outline: none; }
.wrap { width: min(100% - 4rem, 82rem); margin-inline: auto; }
.visually-hidden, .skip:not(:focus) {
  position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
.skip:focus { position: fixed; z-index: 4; inset: 1rem auto auto 1rem; padding: .625rem 1rem; background: var(--white); }
.shop-header { border-bottom: 1px solid var(--line); background: var(--white); }
.footer-inner { display: grid; grid-template-columns: var(--catalogue-columns); align-items: center; column-gap: var(--catalogue-gutter); }
.footer-inner > .wordmark { justify-self: start; }
.footer-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0 clamp(.75rem, 1.65vw, 1.6rem); }
.footer-nav a { display: inline-flex; align-items: center; min-height: 2rem; }
.footer-studio { gap: .65rem; margin-inline-start: auto; white-space: nowrap; }
.footer-studio span { color: var(--muted); }
.header-inner { display: grid; grid-template-columns: max-content minmax(12rem, 1fr) max-content; align-items: center; gap: clamp(.85rem, 3vw, 3rem); min-height: 3.65rem; padding-block: .4rem; }
[data-store-mode="public"] .header-inner { grid-template-columns: max-content minmax(0, 1fr); }
[data-store-mode="public"] .market-search { justify-self: end; }
.wordmark { display: inline-flex; align-items: center; gap: .5rem; font-size: 1.15rem; font-weight: 715; letter-spacing: -.038em; word-spacing: .06em; line-height: 1; text-decoration: none; white-space: nowrap; }
.shop-label { margin-inline-start: .3em; color: #4d6455; font-size: .71em; font-weight: 600; letter-spacing: -.045em; }
.fold-mark { position: relative; display: inline-block; width: 1.6rem; aspect-ratio: 1; background: #335c4b; border-radius: .16rem; clip-path: polygon(0 0, 100% 0, 100% 67%, 67% 100%, 0 100%); }
.fold-mark::after { content: ""; position: absolute; inset: 67% 0 0 67%; background: #b5d1a4; }
.market-search { display: flex; align-items: center; justify-self: center; width: min(100%, 39rem); min-width: 0; padding: .16rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.market-search:focus-within { outline: 2px solid #39745f; outline-offset: 2px; }
.market-search input { flex: 1; width: 0; min-height: 2.45rem; padding: .35rem .75rem; border: 0; outline: 0; background: transparent; }
.market-search .button { min-height: 2.45rem; padding: .3rem .85rem; border-radius: .42rem; }
.market-search .button:focus-visible { outline-offset: 1px; }
.search-toggle { display: none; }
.search-icon { position: relative; display: block; width: .83rem; aspect-ratio: 1; margin: 0 .18rem .18rem 0; border: 1.5px solid currentColor; border-radius: 50%; }
.search-icon::after { content: ""; position: absolute; left: 90%; top: 90%; width: .37rem; height: 1.5px; transform: rotate(45deg); transform-origin: left center; background: currentColor; }
.header-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0 clamp(.85rem, 2.2vw, 1.9rem); }
.header-nav { border-top: 1px solid var(--line); }
.header-nav a { display: flex; align-items: center; min-height: 2.55rem; white-space: nowrap; }
.header-nav a[data-nav="how-it-works"] { margin-inline-start: auto; }
nav a { font-size: .875rem; font-weight: 560; text-decoration: none; text-underline-offset: .24em; }
nav a:hover, nav a[aria-current] { text-decoration: underline; }
.cart-trigger { display: inline-flex; align-items: center; gap: .6rem; min-height: 2.75rem; padding: .45rem .8rem; border: 1px solid var(--line); border-radius: 100px; background: var(--white); font-size: .875rem; font-weight: 630; white-space: nowrap; }
.cart-trigger:hover { background: var(--interface-tint); }
.cart-count { display: inline-grid; place-items: center; min-width: 1.3rem; min-height: 1.3rem; padding-inline: .22rem; margin-inline-start: .2rem; border-radius: 99px; background: var(--interface-tint); font-size: .75rem; }
.bag-icon { position: relative; display: inline-block; width: .85rem; height: .79rem; margin-top: .14rem; border: 1.5px solid currentColor; border-radius: .15rem; }
.bag-icon::before { content: ""; position: absolute; top: -.35rem; left: .15rem; width: .38rem; height: .4rem; border: 1.5px solid currentColor; border-bottom: 0; border-radius: 1rem 1rem 0 0; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 2.75rem; padding: .62rem 1.15rem; border: 1px solid transparent; border-radius: var(--radius); text-decoration: none; font-size: .875rem; font-weight: 630; line-height: 1.3; text-align: center; }
.primary { color: var(--white); background: var(--hero); }
.primary:hover { background: #365343; }
.secondary { border-color: var(--line); background: var(--white); }
.secondary:hover { background: var(--interface-tint); }

.collection { padding-block: clamp(.82rem, 1.7vw, 1.6rem) 3.5rem; }
.collection h1 { overflow-wrap: anywhere; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: .5rem 1.25rem; }
.section-heading h1, .how h1, .faq h1, .inner-page h1 { font-size: clamp(1.3rem, 1.8vw, 1.55rem); font-weight: 640; }
#collection-description { font-size: .875rem; }
.section-heading p, .faq > div > p { margin-top: .32rem; color: var(--muted); }
.section-heading .preview-label { font-size: .78rem; white-space: nowrap; }
.collection-intro { margin-bottom: .72rem; }
.kids-collection .collection-intro { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); overflow: hidden; border: 1px solid #e5dbca; border-radius: var(--radius); background: #f3ede1; }
.kids-collection .section-heading { display: grid; align-content: center; justify-content: start; padding: clamp(.85rem, 2.4vw, 1.65rem); }
.kids-collection .section-heading p { max-width: 36ch; }
#kids-collection-cover { display: block; width: 100%; height: clamp(8rem, 14vw, 10.75rem); object-fit: cover; object-position: center 27%; }

.shop-featured { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin: 0 0 .85rem; padding: 0; list-style: none; }
.shop-featured li { min-width: 0; }
.store-feature { display: grid; grid-template-columns: clamp(5.5rem, 12vw, 8.5rem) minmax(0, 1fr); height: 100%; min-height: 4.8rem; overflow: clip; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); text-decoration: none; }
.store-feature:focus-visible { outline-offset: -4px; }
.store-feature .mockup { height: 100%; aspect-ratio: auto; }
.store-feature-copy { display: grid; align-content: center; gap: .12rem; min-width: 0; padding: .5rem .75rem; line-height: 1.26; }
.store-feature-copy span { color: var(--muted); font-size: .76rem; }
.store-feature-copy strong { font-size: .92rem; font-weight: 640; overflow-wrap: anywhere; }
.store-feature-copy .feature-price { color: var(--ink); font-size: .875rem; font-weight: 650; }
.store-feature:hover strong { text-decoration: underline; text-underline-offset: .18em; }

.catalogue-layout { display: grid; grid-template-columns: var(--catalogue-columns); grid-template-areas: "filters toolbar" "filters results"; gap: .72rem var(--catalogue-gutter); align-items: start; }
.catalogue-results { grid-area: results; min-width: 0; }
.catalogue-sidebar { grid-area: filters; }
.catalogue-filters { padding: .78rem .65rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.catalogue-filters h2 { margin-bottom: .45rem; padding-inline: .35rem; font-size: .94rem; font-weight: 630; }
.filter-toggle { display: none; }
#filter-count { margin-inline-start: .28rem; color: var(--hero); }
.filters { display: grid; gap: .12rem; }
.filters a { display: flex; align-items: center; justify-content: space-between; gap: .45rem; min-height: 2.32rem; padding: .25rem .35rem; font-size: .87rem; font-weight: 600; line-height: 1.22; border-radius: .35rem; }
.filters a:hover { background: var(--paper); }
.filters a[aria-current] { color: var(--hero); background: var(--interface-tint); text-decoration: none; font-weight: 660; }
.category-count { color: var(--muted); font-weight: 570; font-size: .78rem; }
.filter-field { display: grid; gap: .34rem; margin-top: .75rem; padding: .67rem .25rem 0; border-top: 1px solid var(--line); }
.filter-field label { font-size: .84rem; font-weight: 640; }
.filter-field select, .results-bar select { min-width: 0; min-height: 2.35rem; padding: .3rem .4rem; border: 1px solid #aab7ad; border-radius: .38rem; background: var(--white); color: var(--ink); font: inherit; font-size: .84rem; }
.text-link { display: inline-block; font-size: .87rem; font-weight: 680; text-decoration: underline; text-underline-offset: .21em; }
.reset-filters { margin: .65rem .25rem 0; padding: .22rem 0; border: 0; background: transparent; text-align: start; }
.results-bar { grid-area: toolbar; display: flex; flex-wrap: wrap; align-items: center; gap: .48rem .65rem; min-height: 2.65rem; padding-bottom: .52rem; border-bottom: 1px solid var(--line); }
.collection-feedback { color: var(--muted); font-size: .875rem; }
.results-bar label { display: inline-flex; align-items: center; gap: .42rem; margin-inline-start: auto; color: var(--muted); font-size: .84rem; }
.catalogue-empty { padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--muted); font-size: .875rem; }
.load-more { margin-top: 1rem; }

.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .85rem; }
.product-card { display: flex; flex-direction: column; min-width: 0; overflow: clip; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.product-link { display: flex; flex: 1; flex-direction: column; text-decoration: none; }
.product-link:focus-visible { outline-offset: -5px; }
.product-card h3 { font-size: .9rem; font-weight: 625; line-height: 1.3; letter-spacing: -.006em; overflow-wrap: anywhere; }
.product-link:hover h3 { text-decoration: underline; text-decoration-thickness: .08em; text-underline-offset: .14em; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .product-link img { transition: filter 160ms ease; }
  .product-link:hover img { filter: brightness(.94); }
}
.card-title { padding: .57rem .7rem 0; }
.product-kind { color: var(--muted); font-size: .78rem; font-weight: 600; }
.card-format { display: flex; flex: 1; flex-direction: column; gap: .3rem; padding: .28rem .7rem .46rem; color: var(--muted); font-size: .78rem; line-height: 1.3; }
.card-format strong { margin-top: auto; color: var(--ink); font-size: .98rem; font-weight: 660; }
.card-format .price-pending { color: var(--muted); font-size: .78rem; font-weight: 600; }
.card-bottom { padding: 0 .7rem .68rem; }
.listing-status { color: var(--hero); font-size: .78rem; font-weight: 650; }
[data-in-cart] { color: var(--hero); background: var(--interface-tint); border-color: #9ab2a3; }
[data-in-cart]:hover { color: var(--white); background: var(--hero); }

.mockup { position: relative; display: grid; place-items: center; min-width: 0; isolation: isolate; overflow: hidden; aspect-ratio: 1.48; }
.product-card .mockup { aspect-ratio: 1.65; }
.mockup img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.mockup.image-art, .format-art { background: var(--interface-tint); }
.format-art { padding: 1.5rem; text-align: center; }
.product-media { grid-area: media; min-width: 0; }
.product-video { margin-top: 1rem; }
.product-video h2 { margin-bottom: .6rem; font-size: 1.45rem; }
.product-video video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: .85rem; background: var(--ink); }

.how { padding: clamp(1.1rem, 3.2vw, 2.1rem); margin-block: clamp(1.2rem, 3vw, 2.6rem) 3rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.how > p { margin-top: .55rem; color: var(--muted); }
.how ol { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.35rem; margin: 1.5rem 0 0; padding: 0; list-style: none; counter-reset: step; }
.how li { counter-increment: step; padding-top: 1.05rem; border-top: 1px solid var(--line); }
.how li::before { display: grid; place-items: center; width: 2rem; aspect-ratio: 1; margin-bottom: .85rem; border-radius: 100%; background: var(--white); content: counter(step) / ""; font-weight: 750; }
.how h2 { font-size: 1.2rem; }
.how li p { margin-top: .45rem; color: var(--muted); }
.how .how-preview { margin-top: 1.2rem; font-size: .88rem; }
.faq { padding-block: clamp(1.5rem, 3vw, 2.8rem) 3.5rem; }
.faq-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 2rem; margin-top: 1.5rem; }
.faq-items h2 { margin-bottom: .45rem; font-size: 1.18rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { padding: .85rem .1rem; cursor: pointer; font-weight: 720; }
.faq details p { padding: 0 .25rem .9rem 1.15rem; color: var(--muted); }
.shop-footer { padding-block: 1.5rem; border-top: 1px solid var(--line); background: #f3f6f3; }
.inner-page { min-height: 65vh; padding-block: 2.5rem 4rem; }
.back { display: inline-block; margin-bottom: 1.4rem; font-size: .9rem; font-weight: 700; text-underline-offset: .23em; }
.product-page { padding-top: clamp(.74rem, 2.2vw, 1.8rem); }
.product-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-bottom: .8rem; color: var(--muted); font-size: .8rem; }
.product-breadcrumb a { text-decoration: underline; }
.product-detail { display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(17.5rem, 1fr); grid-template-areas: "media intro" "media summary"; grid-template-rows: auto 1fr; align-items: start; gap: .9rem clamp(1.2rem, 3.25vw, 3rem); }
.listing-intro { grid-area: intro; min-width: 0; }
.listing-summary { grid-area: summary; min-width: 0; }
.product-detail .mockup { border-radius: var(--radius); }
.listing-gallery { display: grid; grid-template-columns: clamp(3.1rem, 6.3vw, 5rem) minmax(0, 1fr); gap: .65rem; }
.listing-gallery.single-image { grid-template-columns: minmax(0, 1fr); }
.listing-thumbs { display: flex; flex-direction: column; gap: .5rem; }
.listing-thumbs button { display: block; padding: 2px; overflow: clip; border: 1px solid var(--line); border-bottom-width: 3px; border-radius: var(--radius); background: var(--white); }
.listing-thumbs button:hover, .listing-thumbs button[aria-pressed="true"] { border-bottom-color: var(--hero); }
.listing-thumbs img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; border-radius: .24rem; object-fit: cover; }
.listing-figure { min-width: 0; margin: 0; }
.listing-image-button { position: relative; display: block; width: 100%; padding: 0; overflow: hidden; border: 0; border-radius: var(--radius); background: var(--interface-tint); touch-action: pan-y pinch-zoom; }
.listing-image-button img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.listing-image-button span { position: absolute; right: .65rem; bottom: .65rem; display: grid; place-items: center; width: 2.75rem; aspect-ratio: 1; border: 1px solid var(--line); border-radius: 50%; background: var(--white); font-size: 1.45rem; }
.gallery-caption { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: .05rem .6rem; padding-block: .28rem .4rem; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .8rem; }
.gallery-nav { display: flex; gap: .35rem; }
.gallery-nav button { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; padding: 0; border: 1px solid var(--line); border-radius: .3rem; background: var(--white); font-size: 1.15rem; line-height: 1; }
.gallery-nav button:hover { background: var(--interface-tint); }
.gallery-note { grid-column: 1 / -1; font-size: .77rem; }
[data-close-up] > img { transform: scale(1.35); }
.listing-intro h1 { margin-top: .18rem; overflow-wrap: anywhere; }
.listing-intro .page-lede { margin-block: .33rem .54rem; font-size: .875rem; }
.listing-purchase { display: grid; gap: .4rem; margin-bottom: 1rem; }
.listing-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .28rem .58rem; }
.listing-price strong { font-size: 1.25rem; font-weight: 665; line-height: 1.15; }
.listing-price span, .listing-checkout-note { color: var(--muted); font-size: .82rem; }
.listing-purchase .button { width: 100%; }
.mobile-purchase-bar { display: none; }
.listing-specs { font-size: .875rem; }
.listing-specs h2 { margin-bottom: .45rem; font-size: 1.05rem; font-weight: 650; }
.listing-specs dl { margin: 0; }
.listing-specs dl div { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: .65rem; padding: .53rem 0; border-top: 1px solid var(--line); }
.listing-specs dt { font-weight: 630; }
.listing-specs dd { margin: 0; color: var(--muted); }
.listing-specs details { padding: .6rem 0; border-block: 1px solid var(--line); }
.listing-specs summary, .feedback-panel summary { cursor: pointer; font-weight: 630; }
.listing-specs details p { margin: .35rem 0 0 1rem; color: var(--muted); }
.listing-help { display: flex; flex-wrap: wrap; gap: .45rem 1rem; margin-top: .65rem; }
.listing-feedback { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); align-items: start; gap: .5rem 1.5rem; margin-top: clamp(1.5rem, 4vw, 3rem); padding: clamp(1rem, 2.4vw, 1.55rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.listing-feedback h2, .listing-related h2 { margin-bottom: .45rem; font-size: 1.18rem; font-weight: 650; }
.listing-feedback p { color: var(--muted); font-size: .92rem; }
.feedback-panel { border-radius: .5rem; background: var(--paper); }
.feedback-panel summary { padding: .61rem .75rem; }
#feedback-form { display: grid; gap: .55rem; padding: 0 .8rem .8rem; }
#feedback-form fieldset { min-width: 0; margin: .2rem 0; padding: 0; border: 0; }
#feedback-form legend, #feedback-form > label { font-size: .88rem; font-weight: 650; }
.rating-options, .rating-key { display: flex; justify-content: space-between; gap: .3rem; }
.rating-options label { display: inline-flex; align-items: center; gap: .2rem; min-height: 2.75rem; cursor: pointer; }
.rating-options input { accent-color: var(--hero); }
#feedback-form textarea { width: 100%; padding: .5rem; resize: vertical; border: 1px solid #aab7ad; border-radius: .4rem; background: var(--white); font: inherit; }
#feedback-form .button { justify-self: start; }
#feedback-status { grid-column: 1 / -1; }
#feedback-status:empty { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.listing-related { margin-top: clamp(1.6rem, 4.5vw, 3.5rem); }
.listing-related h2 { margin-bottom: .9rem; }
.product-lightbox { width: min(54rem, calc(100% - 1.5rem)); max-height: calc(100% - 1.5rem); padding: 0; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); background: var(--paper); }
.product-lightbox::backdrop { background: #17261fba; }
.lightbox-inner { display: grid; gap: .7rem; padding: clamp(.7rem, 2.5vw, 1.3rem); }
.lightbox-header, .lightbox-controls { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.lightbox-header h2 { font-size: 1.13rem; font-weight: 650; }
.lightbox-header button { flex: 0 0 auto; }
.lightbox-controls p { color: var(--muted); font-size: .85rem; text-align: center; }
.lightbox-controls .button { min-height: 2.75rem; padding-inline: .6rem; }
.lightbox-image-frame { overflow: hidden; border-radius: var(--radius); background: var(--interface-tint); }
#lightbox-image { display: block; width: 100%; height: auto; max-height: min(67vh, 38rem); object-fit: contain; }
.page-lede { margin-top: .5rem; max-width: 55ch; color: var(--muted); font-size: .94rem; }
.checkout-grid { display: grid; grid-template-columns: 1fr .9fr; align-items: start; max-width: 57rem; gap: .85rem; margin-top: 1rem; }
.order-panel, .plan-list section { padding: clamp(.85rem, 2vw, 1.35rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); font-size: .9rem; }
.order-panel h2, .plan-list h2 { margin-bottom: .5rem; font-size: 1.06rem; font-weight: 650; }
.order-panel label { display: block; margin-top: 1rem; font-weight: 650; }
.order-panel input { width: 100%; min-height: 2.75rem; padding: .45rem .65rem; margin-top: .35rem; border: 1px solid #87958a; border-radius: .4rem; background: var(--white); font-size: 1rem; }
.preview-note { margin-block: .7rem; color: var(--muted); font-size: .9rem; }
#checkout-empty { padding: 1rem; border-radius: .6rem; background: var(--interface-tint); }
.confirmation { max-width: 44rem; margin-top: 1.5rem; }
.plan-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.5rem; }
.cart { position: fixed; inset: 0 0 0 auto; width: min(100%, 26rem); max-width: 100%; height: 100%; max-height: 100%; margin: 0; padding: 0; overflow: hidden; border: 0; color: var(--ink); background: var(--white); box-shadow: -1rem 0 4rem #17261f28; }
.cart::backdrop, .filter-dialog::backdrop { background: #17261f6f; }
body:has(dialog[open]) { overflow: hidden; }
.cart-inner { display: flex; flex-direction: column; gap: .75rem; height: 100%; padding: 1.2rem; }
.cart-content { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.cart-actions { display: grid; gap: .5rem; }
.cart-header, .total, .order-items li { display: flex; align-items: center; justify-content: space-between; gap: .8rem; }
.cart-header h2 { font-size: 1.15rem; font-weight: 650; }
.close-cart { width: 2.75rem; height: 2.75rem; border: 1px solid var(--line); border-radius: 99px; background: var(--white); font-size: 1.5rem; line-height: 1; }
.order-items { display: grid; gap: .55rem; margin: 0; padding: 0; list-style: none; }
.order-items li { padding: .65rem 0; border-bottom: 1px solid var(--line); font-weight: 650; }
.order-items li > :last-child { flex-shrink: 0; }
.order-product { display: grid; grid-template-columns: 3.25rem minmax(0, 1fr); align-items: start; gap: .6rem; min-width: 0; }
.order-product img { display: block; width: 3.25rem; height: 2.75rem; border-radius: .32rem; object-fit: cover; }
.order-product small { display: block; margin-top: .12rem; color: var(--muted); font-weight: 500; line-height: 1.3; }
.cart-remove { display: block; min-height: 1.65rem; padding: 0; border: 0; color: var(--muted); background: transparent; font-size: .875rem; text-decoration: underline; }
.total { padding-block: .6rem; font-weight: 700; }
.cart-bottom .button { width: 100%; }
.filter-dialog { position: fixed; inset: auto 0 0; width: min(100%, 32rem); max-width: 100%; max-height: 88dvh; margin: 0 auto; padding: 0; overflow: hidden; border: 0; border-radius: .95rem .95rem 0 0; color: var(--ink); background: var(--white); }
.filter-dialog-inner { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: .5rem; max-height: inherit; padding: .75rem 1rem calc(.85rem + env(safe-area-inset-bottom, 0px)); }
#mobile-filter-slot { min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
#mobile-filter-slot .catalogue-filters { padding: .2rem .22rem .45rem; border: 0; }
#mobile-filter-slot .filter-field select, #mobile-filter-slot .filters a, #mobile-filter-slot .reset-filters { min-height: 2.75rem; }

@media (max-width: 60rem) {
  .wrap { width: min(100% - 3rem, 82rem); }
  .products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 46rem) {
  .wrap { width: calc(100% - 2rem); }
  .header-inner { grid-template-columns: minmax(0, 1fr) auto auto; gap: .35rem .45rem; min-height: 0; padding-block: .32rem; }
  [data-store-mode="public"] .header-inner { grid-template-columns: minmax(0, 1fr) auto; }
  .header-inner .wordmark { min-height: 2.75rem; justify-self: start; }
  .market-search { display: none; grid-row: 2; grid-column: 1 / -1; width: 100%; }
  .shop-header[data-search-open] .market-search { display: flex; margin-bottom: .25rem; }
  .search-toggle { display: grid; grid-row: 1; grid-column: 2; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--white); }
  .search-toggle:hover, .search-toggle[aria-expanded="true"] { background: var(--interface-tint); }
  .cart-trigger { grid-row: 1; grid-column: 3; gap: .4rem; padding-inline: .55rem; }
  .header-nav { flex-wrap: nowrap; align-items: stretch; gap: .9rem; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; }
  .header-nav a { flex-shrink: 0; min-height: 2.75rem; font-size: .83rem; }
  .header-nav a:focus-visible { outline-offset: -3px; }
  .header-nav a[data-nav="how-it-works"] { margin-inline-start: 0; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .section-heading .preview-label { margin: 0; white-space: normal; }
  .catalogue-layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "toolbar" "results"; gap: .55rem; }
  .footer-inner { grid-template-columns: minmax(0, 1fr); row-gap: .45rem; }
  .footer-nav a { min-height: 2.75rem; }
  .catalogue-sidebar { display: none; }
  .filter-toggle { display: inline-flex; grid-area: filter; padding: .32rem .62rem; font-size: .84rem; }
  .results-bar { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, max-content); grid-template-areas: "filter count sort"; gap: .35rem .5rem; padding-bottom: .42rem; }
  .results-bar:has(#clear-search:not([hidden])) { grid-template-areas: "filter count sort" "clear clear clear"; }
  .results-bar #clear-search { grid-area: clear; justify-self: start; }
  .results-bar .collection-feedback { grid-area: count; font-size: .8rem; }
  .results-bar label { grid-area: sort; min-width: 0; margin: 0; }
  .results-bar select { width: 100%; min-height: 2.75rem; }
  .products, .how ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-detail { grid-template-columns: minmax(0, 1fr); grid-template-areas: "intro" "media" "summary"; grid-template-rows: auto; gap: .7rem; }
  .product-breadcrumb { margin-bottom: .55rem; }
  .checkout-grid { grid-template-columns: minmax(0, 1fr); }
  #checkout-form .button { width: 100%; }
  .listing-gallery { grid-template-columns: 1fr; }
  .listing-figure { grid-row: 1; }
  .listing-image-button img { aspect-ratio: 1.72; max-height: clamp(9rem, 50vw, 17rem); }
  .gallery-caption { padding-block: .2rem .3rem; }
  .gallery-nav { gap: .2rem; }
  .gallery-nav button { width: 2.75rem; height: 2.75rem; }
  .listing-thumbs { flex-direction: row; }
  .listing-thumbs button { width: 3.75rem; min-height: 2.75rem; max-width: calc((100% - 1.5rem) / 4); }
  .mobile-purchase-bar { position: fixed; z-index: 2; inset: auto 0 0; display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: .5rem 1rem calc(.5rem + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); background: var(--white); }
  .mobile-purchase-bar strong, .mobile-purchase-bar span { display: block; }
  .mobile-purchase-bar span { color: var(--muted); font-size: .76rem; }
  .mobile-purchase-bar .button { flex-basis: min(54%, 12rem); }
  body:has(.product-page:not([hidden]) .mobile-purchase-bar) .shop-footer { padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px)); }
  .inner-page { padding-top: .82rem; }
  .inner-page .back { margin-bottom: .7rem; }
  .cart { inset: auto 0 0; width: min(100%, 32rem); height: auto; max-height: 86dvh; margin-inline: auto; border-radius: .95rem .95rem 0 0; }
  .cart-inner { height: auto; max-height: inherit; padding: .75rem 1rem calc(.85rem + env(safe-area-inset-bottom, 0px)); gap: .5rem; }
  .cart-remove { min-height: 2.75rem; }
}

@media (max-width: 33rem) {
  .plan-list, .faq-groups, .listing-feedback { grid-template-columns: 1fr; }
  #kids-collection-cover { height: 100%; min-height: 8rem; }
  .shop-featured { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 83%; gap: .5rem; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; scroll-snap-type: x proximity; }
  .shop-featured li { scroll-snap-align: start; }
  .store-feature { grid-template-columns: 31% minmax(0, 1fr); min-height: 4.15rem; }
  .store-feature-copy { padding: .38rem .55rem; }
  .store-feature-copy strong { font-size: .88rem; }
  .products { gap: .56rem; }
  .card-title, .card-format, .card-bottom { padding-inline: .56rem; }
  .listing-specs dl div { grid-template-columns: 6rem minmax(0, 1fr); gap: .5rem; }
  .results-bar label > span { display: none; }
}

@media (max-width: 22rem) {
  .header-inner .wordmark { font-size: 1.05rem; }
  .header-inner .fold-mark { width: 1.35rem; }
  .header-nav { gap: .72rem; }
  .results-bar select { max-width: 8rem; }
}
