/* Mobile storefront. The same single-column layout is shown on larger screens. */
html { background: #e9e9e6; scroll-padding-top: 90px; }
body { max-width: 520px; min-height: 100dvh; margin: 0 auto; box-shadow: 0 0 60px #00000006; }
button, input, select { font: inherit; }
button, input, select, a { touch-action: manipulation; }
button:focus-visible, input:focus-visible, select:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
button, .button { border: 0; }
input, select { border-radius: 0; }
.site-header { position: sticky; top: 0; min-height: 76px; padding: 12px 5%; gap: 12px; background: #f8f8f6f5; backdrop-filter: blur(14px); }
.header-link, .desktop-nav, .collection-count, .strip-last, .last-star { display: none; }
.cart-link { margin-left: auto; min-height: 44px; min-width: 56px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; }
.cart-link svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.25; }
.cart-link span { min-width: 16px; }
.hero-visual { height: auto; aspect-ratio: 1 / 1.05; max-height: none; }
.hero-content { padding-left: 5%; padding-right: 5%; }
.philosophy, .care { grid-template-columns: 1fr; }
.philosophy-intro { display: block; }
.philosophy-stamp { display: none; }
.collection, .philosophy, .care { scroll-margin-top: 0; }
.product-select { width: 100%; display: flex; justify-content: space-between; align-items: center; min-height: 46px; padding: 8px 0; margin-top: 8px; background: transparent; font-size: 14px; }
.product-select span { font-size: 21px; }
.product-select:hover { text-decoration: underline; text-underline-offset: 5px; }
.product-caption { font-size: 14px; }
.collection-footnote { max-width: 100%; line-height: 1.7; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.shop-page { padding: 24px 5% calc(36px + env(safe-area-inset-bottom)); min-height: calc(100dvh - 76px); }
.back-link { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; min-height: 44px; margin-top: -8px; color: var(--muted); }
.back-link span { font-size: 22px; color: var(--ink); }
.checkout-steps { list-style: none; padding: 18px 0 0; margin: 10px 0 32px; display: grid; grid-template-columns: .85fr 1.25fr .8fr; gap: 6px; border-top: 1px solid var(--line); }
.checkout-steps li { color: #74756f; display: flex; align-items: center; gap: 7px; font-size: 12px; white-space: nowrap; }
.checkout-steps li:last-child { justify-content: end; }
.checkout-steps span { display: inline-grid; place-items: center; height: 22px; min-width: 22px; border: 1px solid var(--line); border-radius: 50%; font-size: 12px; }
.checkout-steps [aria-current] { color: var(--ink); }
.checkout-steps [aria-current] span { color: white; background: var(--ink); border-color: var(--ink); }
.checkout-steps .is-done span { background: #e8e9e2; border-color: #e8e9e2; color: var(--ink); font-size: 12px; }
.page-heading { margin-bottom: 28px; }
.page-heading .eyebrow { color: var(--muted); margin-bottom: 10px; }
.shop-page h1 { font-size: clamp(2.3rem, 9.5vw, 3.1rem); letter-spacing: -.05em; line-height: 1.16; }
.page-subtitle { margin-top: 12px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.full-button { width: 100%; font-size: 16px; min-height: 56px; margin-top: 22px; padding: 16px 20px; }
.full-button>span { font-size: 22px; font-weight: 400; line-height: 1; }
.full-button:hover, .dialog-purchase .button:hover { transform: none; }
.cart-item { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 16px; padding: 24px 0; border-top: 1px solid var(--line); }
.cart-item-photo { background: #ebebe7; min-width: 0; }
.cart-item-photo img { width: 100%; height: 100%; max-height: 148px; min-height: 136px; object-fit: cover; }
.bowl-photo img { object-position: 37% center; }
.cart-item-body { min-width: 0; }
.cart-item-heading { display: flex; justify-content: space-between; align-items: start; gap: 4px; }
.cart-item-heading h2 { font-size: 20px; letter-spacing: -.035em; padding-top: 3px; line-height: 1.35; }
.remove-item { flex: 0 0 36px; height: 36px; display: grid; place-items: center; background: transparent; margin: -4px -6px 0 0; color: #777872; }
.remove-item svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.2; }
.cart-item-scent { margin-top: 3px; font-size: 14px; line-height: 1.45; }
.cart-item-meta { font-size: 12px; color: var(--muted); margin-top: 6px; }
.cart-item-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 17px; }
.quantity { display: inline-flex; align-items: center; border: 1px solid var(--line); height: 38px; }
.quantity button { width: 34px; height: 36px; background: transparent; font-size: 19px; }
.quantity button:disabled { color: #b6b7b1; }
.quantity span { text-align: center; min-width: 23px; font-size: 14px; }
.line-total { font-size: 16px; white-space: nowrap; font-weight: 400; }
.continue-link { display: flex; align-items: center; gap: 12px; padding: 20px 0; border-top: 1px solid var(--line); font-size: 14px; }
.continue-link>span { font-size: 24px; }
.cart-summary { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.summary-row { display: flex; justify-content: space-between; gap: 20px; font-size: 14px; margin-bottom: 12px; }
.summary-row>span:last-child { text-align: right; }
.summary-row.muted { color: var(--muted); font-size: 12px; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 16px; }
.summary-total strong { font-size: 26px; letter-spacing: -.04em; font-weight: 400; white-space: nowrap; }
.understated-link { display: block; text-align: center; text-decoration: underline; text-underline-offset: 5px; padding: 18px 0 8px; font-size: 14px; }
.empty-cart { padding: 22px 0 44px; text-align: center; }
.empty-cart>svg { width: 56px; height: 56px; stroke: #6b6d63; fill: none; stroke-width: 1; margin: 0 auto 26px; }
.empty-cart h2 { font-size: 30px; }
.empty-cart>p { color: var(--muted); margin: 16px 0 30px; font-size: 16px; line-height: 1.65; }
.order-overview { background: #edede8; margin-bottom: 32px; }
.order-overview summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 18px 16px; list-style: none; font-size: 14px; cursor: pointer; }
.order-overview summary::-webkit-details-marker { display: none; }
.order-overview summary>span { display: inline-flex; align-items: center; gap: 8px; }
.order-overview summary strong { font-weight: 400; white-space: nowrap; }
.small-count { color: var(--muted); font-size: 12px; }
.chevron { font-size: 20px; line-height: 1; }
.order-overview[open] .chevron { transform: rotate(180deg); }
.mini-items { display: grid; gap: 18px; }
.order-overview .mini-items { padding: 0 16px 18px; }
.mini-item { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 12px; }
.mini-item>img { width: 48px; height: 60px; object-fit: cover; background: #e3e3dc; }
.mini-item>div { min-width: 0; }
.mini-item strong { display: block; font-size: 14px; font-weight: 400; }
.mini-item span { display: block; font-size: 12px; color: var(--muted); margin-top: 3px; }
.mini-item small { display: block; font-size: 12px; color: var(--muted); margin-top: 3px; }
.mini-item b { font-size: 14px; font-weight: 400; white-space: nowrap; }
.overview-edit { display: block; margin: 0 16px; padding: 0 0 18px; text-decoration: underline; text-underline-offset: 4px; font-size: 14px; }
.form-section { margin: 0 0 30px; padding: 0 0 30px; border: 0; border-bottom: 1px solid var(--line); min-width: 0; }
.form-section legend { padding: 0; margin-bottom: 22px; font-size: 22px; letter-spacing: -.035em; width: 100%; }
.section-index { display: inline-block; width: 26px; margin-right: 8px; font-size: 12px; color: var(--muted); vertical-align: 3px; letter-spacing: 0; }
.field-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.field { margin-bottom: 18px; min-width: 0; }
.form-section>.field:last-child, .form-section>div:last-child .field { margin-bottom: 0; }
.field label { display: block; margin-bottom: 8px; font-size: 14px; line-height: 1.5; }
.field input { display: block; width: 100%; min-height: 52px; padding: 14px 12px; color: var(--ink); border: 1px solid #cfd0c9; background: #fff; font-size: 16px; line-height: 1.35; }
.field input::placeholder { color: #898a83; opacity: 1; }
.field input:focus { border-color: var(--ink); }
.field input[aria-invalid=true] { border-color: #a44636; background: #fffdfc; }
.optional { display: block; color: var(--muted); font-size: 12px; font-weight: 400; }
.field-grid:has(.optional) { align-items: end; }
.field-hint { display: block; color: var(--muted); font-size: 12px; line-height: 1.6; margin-top: 9px; }
.field-error { display: block; color: #983e30; font-size: 14px; line-height: 1.5; margin-top: 7px; }
.carrier-label { display: flex; align-items: center; gap: 10px; font-size: 16px; margin-bottom: 18px; }
.carrier-label svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.2; overflow: visible; }
.carrier-note { margin-left: auto; font-size: 12px; color: var(--muted); }
.delivery-options { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-bottom: 24px; }
.delivery-option, .payment-option { position: relative; border: 1px solid #cfd0c9; cursor: pointer; background: transparent; }
.delivery-option { padding: 14px 4px; display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 14px; }
.delivery-option:has(:checked), .payment-option:has(:checked) { border-color: var(--ink); background: #ededE7; }
.delivery-option:has(:focus-visible), .payment-option:has(:focus-visible) { outline: 2px solid var(--ink); outline-offset: 4px; }
.delivery-option input, .payment-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.radio-marker { flex: 0 0 16px; display: inline-block; height: 16px; width: 16px; border: 1px solid #97998d; border-radius: 50%; background: transparent; }
input:checked+.radio-marker { border-color: var(--ink); background: var(--ink); box-shadow: inset 0 0 0 4px #edede7; }
.delivery-hint { margin-top: 16px; }
.payment-options { display: grid; gap: 10px; }
.payment-option { display: flex; gap: 14px; align-items: flex-start; padding: 18px 16px; }
.payment-option .radio-marker { margin-top: 3px; }
.payment-option strong { font-weight: 400; display: block; font-size: 16px; }
.payment-option small { font-size: 12px; color: var(--muted); display: block; margin-top: 5px; line-height: 1.6; }
.payment-hint { margin-top: 14px; }
.checkout-final .summary-total { padding-top: 0; border: 0; margin-top: 0; }
.checkout-notice { font-size: 12px; line-height: 1.75; color: #62645c; margin-top: 22px; }
.checkout-caption { margin-top: 12px; text-align: center; font-size: 12px; color: var(--muted); }
.form-error { color: #983e30; font-size: 14px; line-height: 1.6; margin-top: 18px; }
.complete-page { text-align: center; }
.complete-page .checkout-steps { margin-top: 0; border-top: 0; }
.success-mark { width: 72px; height: 72px; border-radius: 50%; border: 1px solid #cbd0be; display: grid; place-items: center; margin: 48px auto 28px; background: #ebede3; }
.success-mark svg { width: 40px; height: 40px; stroke: #4c5740; fill: none; stroke-width: 1.2; }
.complete-page>.eyebrow { color: var(--muted); margin-bottom: 12px; }
.complete-page h1 { font-size: 46px; }
.success-description { color: var(--muted); margin-top: 18px; font-size: 16px; }
.receipt { text-align: left; margin-top: 28px; padding: 22px 0; border-top: 1px solid var(--line); }
.receipt-title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 22px; font-size: 16px; }
.receipt-title>span:last-child { font-size: 12px; color: var(--muted); letter-spacing: .03em; overflow-wrap: anywhere; }
.receipt .summary-total { margin-top: 22px; }
.receipt-details { display: grid; gap: 20px; border-top: 1px solid var(--line); padding-top: 22px; margin: 22px 0 0; }
.receipt-details dt { color: var(--muted); font-size: 12px; margin-bottom: 6px; }
.receipt-details dd { margin: 0; font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.receipt>.field-hint { margin-top: 24px; }
.complete-page>.full-button { margin-top: 0; }
.product-dialog { position: fixed; inset: auto 0 0; margin: 0 auto; padding: 0; width: min(520px, 100%); max-width: 100%; max-height: 94dvh; border-radius: 20px 20px 0 0; overflow: hidden; }
.product-dialog::backdrop { background: #191b189c; backdrop-filter: blur(4px); }
.product-form { display: flex; flex-direction: column; margin: 0; max-height: 94dvh; }
.dialog-scroll { overflow-y: auto; overscroll-behavior: contain; min-height: 0; }
.dialog-image-wrap { min-height: 0; height: auto; aspect-ratio: 4 / 3; max-height: 300px; }
.dialog-image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.dialog-image-wrap .is-bowl { object-position: 43% center; }
.dialog-content { padding: 24px 5% 22px; }
.dialog-content h2 { font-size: 34px; margin-top: 6px; }
#dialog-description { font-size: 16px; line-height: 1.65; margin-top: 16px; }
.dialog-close { position: absolute; top: 12px; right: 12px; z-index: 1; border: 1px solid var(--line); }
.product-facts { font-size: 14px; margin: 20px 0 28px; }
.product-facts>div { padding: 10px 0; }
.scent-label { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.scent-label label { font-size: 18px; }
.scent-label span { font-size: 12px; color: var(--muted); }
.select-wrap { position: relative; }
.select-wrap select { width: 100%; min-height: 54px; background: white; border: 1px solid #b5b7ac; color: var(--ink); padding: 14px 40px 14px 14px; appearance: none; font-size: 16px; }
.select-wrap>span { position: absolute; pointer-events: none; right: 16px; top: 10px; font-size: 24px; }
.scent-notes { font-size: 14px; color: var(--muted); line-height: 1.65; min-height: 46px; margin-top: 12px; }
.dialog-purchase { display: flex; flex-shrink: 0; justify-content: space-between; align-items: center; gap: 20px; padding: 14px 5% calc(14px + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px #00000004; }
.purchase-label { color: var(--muted); font-size: 12px; display: block; margin-bottom: 1px; }
.dialog-price { font-size: 24px; white-space: nowrap; }
.dialog-purchase .button { margin: 0; min-width: 48%; min-height: 52px; gap: 18px; font-size: 16px; }
@media (max-width: 359px) {
  .cart-item { grid-template-columns: 76px minmax(0, 1fr); gap: 12px; }
  .cart-item-heading h2 { font-size: 18px; }
  .cart-item-bottom { gap: 6px; }
  .quantity button { width: 29px; }
  .line-total { font-size: 14px; }
  .checkout-steps li { gap: 4px; font-size: 12px; }
  .field-grid { gap: 10px; }
  .mini-item { gap: 8px; }
  .mini-item b { font-size: 12px; }
}
@media (prefers-reduced-motion: no-preference) {
  .product-dialog[open] { animation: sheet-in .24s ease-out; }
  @keyframes sheet-in { from { transform: translateY(24px); opacity: .6; } to { transform: translateY(0); opacity: 1; } }
}
