:root {
  color-scheme: light;
  --cream: #fffdf9;
  --ink: #3a3a44;
  --muted: #66646f;
  --mint: #d8f3e8;
  --pine: #1f5e47;
  --lavender: #ede4ff;
  --plum: #4b3278;
  --blue: #dcf0ff;
  --line: #e3ded9;
  --shadow: 0 10px 32px rgb(64 60 48 / .055);
  font: 100%/1.55 "Plus Jakarta Sans", "Avenir Next", Avenir, system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
}
* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; color: inherit; }
button, select { cursor: pointer; }
a { color: var(--pine); text-underline-offset: .2em; }
button, a { -webkit-tap-highlight-color: transparent; }
button:disabled { cursor: default; opacity: .56; }
:focus-visible { outline: 3px solid #55418a; outline-offset: 3px; }
::selection { color: var(--plum); background: var(--lavender); }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.13; letter-spacing: -.035em; text-wrap: balance; }
h1 { font-size: clamp(2.55rem, 5.25vw, 4.8rem); }
h2 { font-size: clamp(1.65rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.22rem; }
.wrap { max-width: 1160px; padding-inline: clamp(20px, 4vw, 48px); margin-inline: auto; }
.skip { position: fixed; top: 8px; left: 12px; transform: translateY(-180%); z-index: 8; background: white; padding: .65rem 1rem; }
.skip:focus { transform: none; }
.site-head { position: sticky; top: 0; z-index: 3; background: var(--cream); border-bottom: 1px solid var(--line); }
.head-row, .footer-row, .title-row, .card-meta, .summary-line, .bag-product, .actions, .quantity { display: flex; align-items: center; gap: 12px; }
.head-row { min-height: 70px; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: .5rem; color: var(--ink); font-weight: 800; text-decoration: none; font-size: 1.12rem; letter-spacing: -.045em; white-space: nowrap; }
.brand::before { content: ""; width: .58em; height: .58em; border-radius: 50%; background: #81cdb1; }
.nav { display: flex; align-items: center; gap: .2rem; }
.nav a, .pill, .filter, .quantity button { min-height: 44px; padding: .6rem 1rem; border: 0; border-radius: 30px; background: transparent; color: var(--ink); text-align: center; text-decoration: none; font-weight: 650; display: inline-flex; justify-content: center; align-items: center; line-height: 1.2; }
.nav a[aria-current], .filter[aria-pressed="true"], .secondary { color: var(--plum); background: var(--lavender); }
.primary, .bag-button { color: var(--pine); background: var(--mint); }
.pill:hover, .nav a:hover, .filter:hover, .quantity button:hover { filter: brightness(.96); }
.icon { width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.bag-button { gap: 6px; white-space: nowrap; }
.hero, .product-page { display: grid; align-items: center; gap: clamp(24px, 5vw, 80px); grid-template-columns: 1fr 1fr; margin-block: clamp(36px, 7vw, 88px); }
.hero p, .story p, .product-page p { color: var(--muted); margin-block: 18px 24px; max-width: 51ch; }
.hero img, .product-image { width: 100%; border-radius: 24px; object-fit: cover; }
.hero img { aspect-ratio: 4 / 3; }
.section { margin-block: clamp(52px, 7vw, 88px); }
.title-row, .footer-row, .summary-line, .card-meta { justify-content: space-between; }
.title-row { margin-bottom: 22px; align-items: baseline; }
.title-row a { font-weight: 630; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.card { background: white; border-radius: 24px; padding: 14px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card-image { display: block; border-radius: 17px; overflow: hidden; }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card-body { padding: 15px 5px 6px; display: flex; flex-direction: column; align-items: start; flex: 1; gap: .55rem; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { text-decoration: underline; }
.category { font-size: .78rem; font-weight: 700; color: var(--muted); }
.card-body p, .muted { color: var(--muted); }
.card-meta { align-self: stretch; margin-top: auto; padding-top: .65rem; }
.price { font-weight: 750; color: var(--pine); font-variant-numeric: tabular-nums; }
.story { padding: clamp(26px, 5vw, 60px); border-radius: 24px; background: #f2edf8; }
.story p { margin-bottom: 0; }
.site-foot { border-top: 1px solid var(--line); padding-block: 28px; }
.footer-row { flex-wrap: wrap; }
.collection { position: relative; isolation: isolate; overflow: hidden; border-radius: 24px; padding: clamp(34px, 7vw, 85px) clamp(24px, 6vw, 72px); margin-top: 32px; }
.collection img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.collection::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(255 253 249 / .93), rgb(255 253 249 / .68) 62%, transparent); z-index: -1; }
.collection h1 { font-size: clamp(2rem, 4vw, 3.35rem); }
.collection p { margin-top: 8px; }
.tools, .filters { display: flex; align-items: end; flex-wrap: wrap; gap: 10px; }
.tools { margin-block: 28px; gap: 14px; }
.filters { flex: 1 1 350px; gap: 4px; margin-block: 4px; }
.filter { font-size: .92rem; padding-inline: .78rem; }
.field { display: grid; gap: 5px; font-weight: 620; font-size: .9rem; min-width: 0; }
input, select, textarea { min-height: 44px; border: 1px solid #c6c0c5; border-radius: 11px; padding: .62rem .8rem; background: white; min-width: 0; max-width: 100%; }
textarea { resize: vertical; }
.shop-search { flex: 1 1 150px; }
.grid + .empty { margin-block: 32px; }
dialog { border: 0; color: var(--ink); border-radius: 24px; padding: 0; max-width: min(540px, calc(100% - 28px)); width: 100%; max-height: calc(100dvh - 32px); background: var(--cream); box-shadow: 0 18px 70px rgb(29 29 34 / .17); }
dialog::backdrop { background: rgb(32 32 40 / .38); }
.dialog-body { padding: 24px; }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.dialog-head h2 { font-size: 1.5rem; }
.close { width: 44px; height: 44px; background: #efedf0; border: 0; border-radius: 50%; flex: none; display: grid; place-items: center; }
.detail-photo { width: 100%; max-height: 260px; object-fit: cover; border-radius: 16px; margin-bottom: 14px; }
.detail-copy { margin-block: 10px 16px; }
.quantity { gap: 0; }
.quantity input { text-align: center; width: 64px; }
.quantity button { min-width: 44px; font-size: 1.15rem; padding-inline: 8px; }
.actions { flex-wrap: wrap; margin-block: 15px; }
.drawer { margin: 0 0 0 auto; height: 100dvh; max-height: 100dvh; max-width: min(100%, 490px); border-radius: 22px 0 0 22px; }
.bag-list { list-style: none; padding: 0; margin: 0; }
.bag-product { border-bottom: 1px solid var(--line); padding-block: 12px; }
.bag-product img { width: 54px; height: 54px; object-fit: cover; border-radius: 12px; }
.bag-product > div { flex: 1; }
.bag-product .quantity { flex: none; }
.checkout-form { display: grid; gap: 15px; margin-top: 22px; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { font-weight: 720; margin-bottom: 8px; }
.checkout-form textarea { width: 100%; }
.summary { padding-block: 14px; border-bottom: 1px solid var(--line); }
.summary-line { padding-block: 3px; }
.notice { color: #8d263f; }
.status { position: fixed; z-index: 4; bottom: 18px; left: 50%; transform: translateX(-50%); max-width: calc(100% - 24px); background: var(--ink); color: white; padding: .65rem 1.05rem; border-radius: 20px; box-shadow: var(--shadow); }
.status:empty { display: none; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
:where(main, section, h1, h2, a, button) { scroll-margin-top: 90px; }
@media (max-width: 800px) {
  .grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 620px) {
  .head-row { min-height: 62px; gap: 3px; }
  .head-row.wrap { padding-inline: 14px; }
  .brand { font-size: 1rem; gap: .3rem; }
  .nav a { padding-inline: .53rem; font-size: .9rem; }
  .bag-button { padding-inline: .58rem; font-size: .87rem; }
  .hero, .product-page { grid-template-columns: 1fr; margin-block: 36px 52px; }
  .hero img { max-height: 320px; }
  .grid { grid-template-columns: 1fr; }
  .tools { align-items: stretch; }
  .filters { flex-basis: 100%; }
  .filter { padding-inline: .65rem; }
  .drawer { border-radius: 0; }
  .dialog-body { padding: 19px; }
  .title-row { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: no-preference) {
  .card-image img { transition: transform .25s ease-out; }
  .card-image:hover img { transform: scale(1.025); }
}
.head-actions, .footer-links { display: flex; align-items: center; gap: .6rem; }
.owner-icon { width: 44px; height: 44px; display: grid; place-items: center; color: var(--muted); border-radius: 50%; }
.owner-icon:hover { background: #eeebec; }
.cta-arrow { margin-left: .5rem; }
.footer-links { flex-wrap: wrap; gap: 1rem; font-size: .9rem; color: var(--muted); }
.shop-listing { margin-bottom: 64px; }
.back-link { display: inline-block; margin-top: 24px; }
.product-page { margin-top: 24px; }
.actions { align-items: end; }
.actions input { width: 76px; }
.close { font-size: 1.65rem; line-height: 1; }
.checkout-form fieldset > .field, .checkout-form fieldset > p, #delivery-fields > .field { margin-bottom: 12px; }
#order-review > p { overflow-wrap: anywhere; white-space: pre-line; margin-top: 7px; }
.notice:empty { display: none; }
@media (max-width: 620px) {
  .head-actions { gap: 0; }
  .owner-icon { width: 32px; }
}
.nav .nav-track { color: var(--pine); background: #eef7f1; }
@media (max-width: 620px) {
  .head-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "brand actions" "nav nav";
    row-gap: 0;
    padding-block: 5px;
  }
  .head-row .brand { grid-area: brand; }
  .head-actions { grid-area: actions; }
  .head-actions .owner-icon { width: 44px; }
  .head-row nav { grid-area: nav; justify-content: flex-start; }
  .head-row nav a { padding-inline: 14px; }
  :where(main, section, h1, h2, a, button) { scroll-margin-top: 110px; }
}
.card img, .hero img, .product-image { height: auto; }
