/* Pearl collection: refined motion, richer home, and interactive demo forms. */
:root {
  --motion-quick: 180ms;
  --motion-soft: 480ms;
  --ease-pearl: cubic-bezier(.22, .68, .22, 1);
}
html { overflow-y: scroll; scrollbar-gutter: stable; scroll-behavior: smooth; }
body {
  background-color: var(--paper);
  background-image: radial-gradient(ellipse at 0 36%, #f4e4df66, transparent 23%), radial-gradient(ellipse at 100% 67%, #e9dbde55, transparent 21%);
}
body:has(dialog[open]) { overflow: hidden; }
.shell { width: min(1480px, calc(100% - 64px)); }
.brand > span { font-weight: 350; letter-spacing: .55px; font-size: 29px; line-height: 1.05; }
.brand small { letter-spacing: .1px; font-weight: 400; font-size: 9px; margin-top: 6px; }
.header-inner { gap: 32px; min-height: 98px; }
.search-form { width: 260px; }
.hero { min-height: 490px; }
.hero-content { padding: 46px 55px; }
.hero h1 { font-weight: 550; }
.hero-art { transition: transform 1.1s var(--ease-pearl); }
.hero:hover .hero-art { transform: scale(1.012); }
.section-eyebrow { font-size: 10px; letter-spacing: 1.9px; }
.category-visual {
  background-image: url("assets/categories.png");
  background-size: 200% 200%;
  background-repeat: no-repeat;
  background-position: 0 0;
  border-radius: 50%;
  width: 88px;
  height: 88px;
  transition: transform 550ms var(--ease-pearl);
}
.category-care { background-position: 0 0; }
.category-color { background-position: 100% 0; }
.category-style { background-position: 0 100%; }
.category-sets { background-position: 100% 100%; }
.category-color { transform: none; }
.product-photo { background-image: var(--sheet, url("assets/products.png")); }
.category-visual > * { display: none; }
.category-style::before, .category-sets::before, .category-sets::after { content: none; }
.category-tile { min-height: 100px; gap: 14px; padding: 6px 17px 6px 6px; }
.category-tile:hover .category-visual { transform: scale(1.06); }
.primary-button, .secondary-button, .add-button, .wallet-button {
  transition: color var(--motion-quick), background var(--motion-quick), transform 260ms var(--ease-pearl), box-shadow 260ms var(--ease-pearl);
}
.primary-button:hover, .add-button:hover, .secondary-button:hover { transform: translateY(-2px); box-shadow: 0 8px 20px #5915261c; }
.primary-button:active, .add-button:active, .secondary-button:active, .wallet-button:active { transform: translateY(1px) scale(.98); box-shadow: none; }
.primary-button > .icon, .add-button > .icon { transition: transform 260ms var(--ease-pearl); }
.primary-button:hover > .icon { transform: translateX(3px); }
.add-button:hover > .icon { transform: translateY(-2px); }
.icon-button { transition: background 180ms, transform 260ms var(--ease-pearl); }
.icon-button:active, .favorite-button:active { transform: scale(.91); }
.filter-chip { transition: background 180ms, transform 200ms; }
.filter-chip:hover { transform: translateY(-1px); }
.product-card { transition: transform 350ms var(--ease-pearl); }
.product-media { transition: box-shadow 350ms var(--ease-pearl); }
.product-card:hover .product-media { box-shadow: 0 12px 28px #6f343c0d; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 650ms var(--ease-pearl), transform 650ms var(--ease-pearl); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
dialog[open] { animation: modal-arrive 280ms var(--ease-pearl) both; }
dialog[open]::backdrop { animation: backdrop-arrive 240ms ease both; }
.cart-dialog[open] { animation: drawer-arrive 360ms var(--ease-pearl) both; }
@keyframes modal-arrive { from { opacity: 0; transform: translateY(12px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes drawer-arrive { from { opacity: .5; transform: translateX(36px); } to { opacity: 1; transform: none; } }
@keyframes backdrop-arrive { from { opacity: 0; } to { opacity: 1; } }

/* The editorial section makes the home feel like a professional beauty store. */
.home-editorial { display: grid; grid-template-columns: .9fr 1.1fr; margin-top: 65px; overflow: hidden; border-radius: 25px; background: #f7eeea; min-height: 420px; }
.editorial-visual { position: relative; min-height: 420px; background: #eadbd4 url("assets/hero.png") 76% center / cover no-repeat; }
.editorial-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 62%, #47172233); }
.editorial-visual > span, .editorial-caption { position: absolute; z-index: 1; bottom: 28px; left: 30px; color: white; font-size: 11px; letter-spacing: 1.7px; text-transform: uppercase; }
.editorial-copy { padding: 43px 48px; }
.editorial-copy h2 { font-size: clamp(26px, 2.9vw, 39px); font-weight: 500; color: var(--wine); line-height: 1.15; letter-spacing: -1px; margin-bottom: 15px; }
.editorial-copy > p:not(.eyebrow) { max-width: 440px; font-size: 14px; line-height: 1.75; color: var(--muted); margin-bottom: 23px; }
.ritual-step { display: grid; grid-template-columns: 36px 1fr 22px; gap: 0 15px; text-align: left; width: 100%; align-items: center; padding: 14px 0; border-top: 1px solid #e2cfcc; transition: padding-left 260ms var(--ease-pearl), color 200ms; }
.ritual-step:hover { padding-left: 7px; color: var(--wine-soft); }
.ritual-step .step-index, .ritual-step > span:first-child { grid-row: span 2; width: 33px; height: 33px; border: 1px solid #d6babe; border-radius: 50%; display: grid; place-items: center; font-size: 11px; color: var(--wine-soft); }
.ritual-step strong { font-size: 14px; font-weight: 600; }
.ritual-step p, .ritual-step small { grid-column: 2; margin: 2px 0 0; font-size: 12px; color: var(--muted); }
.ritual-step > .icon { grid-column: 3; grid-row: 1 / 3; width: 18px; height: 18px; }
.home-collections { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.collection-panel { position: relative; overflow: hidden; min-height: 230px; padding: 29px; border-radius: 20px; background: #f4ebe5; text-align: left; display: flex; align-items: center; transition: transform 350ms var(--ease-pearl), box-shadow 350ms; }
.collection-panel:hover { transform: translateY(-4px); box-shadow: 0 12px 25px #59263712; }
.collection-care { background: #edf0e8; }
.collection-color { background: #f0e9f4; }
.collection-style { background: #f4e8df; }
.collection-image { width: 180px; height: 180px; border-radius: 50%; position: absolute; right: -25px; top: 50%; transform: translateY(-50%); background: url("assets/categories.png") 0 0 / 200% 200% no-repeat; opacity: .9; transition: transform 700ms var(--ease-pearl); }
.collection-color .collection-image { background-position: 100% 0; }
.collection-style .collection-image { background-position: 0 100%; }
.collection-panel:hover .collection-image { transform: translateY(-50%) scale(1.05); }
.collection-copy { position: relative; z-index: 1; max-width: 64%; }
.collection-copy .eyebrow { font-size: 9px; letter-spacing: 1.4px; margin-bottom: 9px; }
.collection-copy h3 { font-size: 24px; font-weight: 500; line-height: 1.2; letter-spacing: -.6px; color: var(--wine); margin: 0 0 10px; }
.collection-copy p { font-size: 12px; line-height: 1.7; margin-bottom: 17px; color: var(--muted); }
.collection-copy .text-link { font-size: 12px; }
.home-discover { margin-top: 62px; }
.home-discover .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.home-discover .product-media { aspect-ratio: .94; }
.home-cta { margin-top: 54px; border-radius: 23px; padding: 35px 43px; display: flex; align-items: center; justify-content: space-between; gap: 25px; background: #f4e6e2; position: relative; overflow: hidden; }
.home-cta::before { content: ""; position: absolute; right: 12%; top: -125px; width: 390px; height: 280px; border: 1px solid #b9788559; border-radius: 50%; transform: rotate(-22deg); box-shadow: 0 10px 0 -9px #b9788559, 0 20px 0 -19px #b9788559; pointer-events: none; }
.home-cta > * { position: relative; }
.home-cta h2 { color: var(--wine); font-size: 27px; line-height: 1.2; font-weight: 500; margin: 0 0 8px; letter-spacing: -.6px; }
.home-cta p { font-size: 13px; line-height: 1.7; color: var(--muted); margin: 0; }
.home-cta .primary-button { flex-shrink: 0; }

/* Two independent thumbs retain an accessible native range control. */
.price-range { margin-top: 17px; }
.price-range-values { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12px; color: var(--wine); margin-bottom: 15px; }
.price-range-values label { display: grid; gap: 4px; }
.price-range-values input { width: 83px; min-width: 0; background: #fffdfb; border: 1px solid #d5bfc3; border-radius: 7px; padding: 7px 8px; font-size: 12px; color: var(--wine); }
.range-inputs { position: relative; height: 28px; margin: 4px 0 11px; }
.range-inputs::before { content: ""; position: absolute; left: 0; right: 0; top: 12px; height: 4px; border-radius: 5px; background: linear-gradient(to right, #e6d0d1 0 var(--range-start,0%), var(--wine-soft) var(--range-start,0%) var(--range-end,100%), #e6d0d1 var(--range-end,100%) 100%); }
.price-range-hint { font-size: 10px; color: var(--muted); margin: 0 0 4px; }
input.price-slider, .range-inputs input[type="range"] { position: absolute; inset: 0; width: 100%; height: 28px; margin: 0; background: transparent; border: 0; padding: 0; appearance: none; -webkit-appearance: none; accent-color: var(--wine-soft); pointer-events: none; }
.range-inputs input[type="range"]::-webkit-slider-runnable-track { height: 4px; background: transparent; border: 0; }
.range-inputs input[type="range"]::-webkit-slider-thumb { appearance: none; -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: #fffdfb; border: 4px solid var(--wine-soft); box-shadow: 0 2px 6px #59263823; margin-top: -7px; pointer-events: auto; cursor: ew-resize; }
.range-inputs input[type="range"]::-moz-range-track { height: 4px; background: transparent; border: 0; }
.range-inputs input[type="range"]::-moz-range-thumb { width: 11px; height: 11px; border-radius: 50%; border: 4px solid var(--wine-soft); background: #fffdfb; pointer-events: auto; cursor: ew-resize; }
.range-inputs input[type="range"]:focus-visible { outline: 0; }
.range-inputs #max-price { z-index: 1; }
.range-inputs #min-price:focus-visible { z-index: 2; }
.range-inputs input[type="range"]:focus-visible::-webkit-slider-thumb { outline: 3px solid #b37783; outline-offset: 3px; }
.range-inputs input[type="range"]:focus-visible::-moz-range-thumb { outline: 3px solid #b37783; outline-offset: 3px; }

/* Checkout intentionally stays local and never submits card or personal data. */
.checkout-page { max-width: 1280px; margin-inline: auto; }
.checkout-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.checkout-header h1 { font-size: 41px; letter-spacing: -1.2px; font-weight: 550; line-height: 1.2; color: var(--wine); margin: 0; }
.checkout-demo-badge { font-size: 11px; letter-spacing: 1.1px; color: var(--wine-soft); padding: 7px 12px; background: #f3e5e1; border-radius: 999px; flex-shrink: 0; }
.checkout-demo-note { padding: 16px 20px; margin-bottom: 28px; border-radius: 13px; background: #f8eee8; border: 1px solid #ebdbd3; color: #75565b; font-size: 12px; line-height: 1.7; }
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 30px; align-items: start; }
.checkout-form { min-width: 0; display: grid; gap: 22px; }
.checkout-section { border: 1px solid #e8d9d7; border-radius: 20px; padding: 29px; background: #fffdfbee; }
.checkout-section-title { display: flex; align-items: center; gap: 13px; font-size: 20px; font-weight: 550; letter-spacing: -.3px; margin-bottom: 23px; color: var(--wine); }
.step-number { width: 29px; height: 29px; border-radius: 50%; background: #f1e4df; display: inline-grid; place-content: center; font-size: 12px; font-weight: 500; letter-spacing: 0; flex-shrink: 0; }
.checkout-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.checkout-field { display: grid; gap: 7px; min-width: 0; font-size: 12px; color: var(--ink); }
.checkout-field > span { font-weight: 500; }
.checkout-field input, .checkout-field select, .demo-login-form input, .demo-login-form select { width: 100%; min-width: 0; border: 1px solid #d7c3c6; border-radius: 9px; background: #fffdfb; color: var(--ink); min-height: 46px; padding: 11px 13px; font-size: 14px; transition: border-color 180ms, box-shadow 180ms; }
.checkout-field input::placeholder, .demo-login-form input::placeholder { color: #8c727a; opacity: 1; }
.checkout-field input:hover, .checkout-field select:hover, .demo-login-form input:hover { border-color: #b98b95; }
.checkout-field input:focus, .checkout-field select:focus, .demo-login-form input:focus { outline: none; border-color: #9b5b6b; box-shadow: 0 0 0 3px #9b5b6b14; }
.checkout-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; margin-bottom: 22px; }
.delivery-choice, .payment-choice { border: 1px solid #decacf; border-radius: 12px; display: flex; gap: 9px; padding: 15px 12px; align-items: flex-start; cursor: pointer; background: #fffdfb; transition: background 200ms, border-color 200ms, box-shadow 200ms; min-width: 0; }
.delivery-choice:has(input:checked), .payment-choice:has(input:checked) { border-color: #955366; background: #f7eae7; box-shadow: inset 0 0 0 1px #95536622; }
.delivery-choice:hover, .payment-choice:hover { background: #faf2ee; }
.delivery-choice > input, .payment-choice > input { accent-color: var(--wine-soft); margin: 3px 0 0; width: 15px; height: 15px; flex-shrink: 0; }
.choice-copy { display: grid; gap: 5px; }
.choice-copy strong { font-size: 12px; font-weight: 600; color: var(--wine); line-height: 1.4; }
.choice-copy small { font-size: 10px; line-height: 1.55; color: var(--muted); }
.checkout-delivery-fields { border-top: 1px solid var(--line); padding-top: 20px; }
.checkout-delivery-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
.checkout-delivery-fields > .checkout-fields { grid-column: 1 / -1; }
.checkout-section-title + .checkout-small-note { margin-top: -10px; margin-bottom: 18px; }
.payment-panel { border-top: 1px solid var(--line); padding-top: 20px; }
.card-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.card-fields > .checkout-field:first-child { grid-column: 1 / -1; }
.card-fields > .checkout-fields, .card-fields > .checkout-small-note { grid-column: 1 / -1; }
.card-fields > .checkout-small-note { margin-top: -2px; }
.wallet-button { width: 100%; min-height: 49px; border-radius: 10px; display: flex; gap: 9px; justify-content: center; align-items: center; font-size: 19px; font-weight: 500; padding: 12px 18px; }
.apple-wallet { color: #fff; background: #191617; }
.apple-wallet:hover { background: #35282d; box-shadow: 0 7px 16px #2514211f; transform: translateY(-2px); }
.google-wallet { border: 1px solid #d6c6c9; background: #fff; color: #3b3438; }
.google-wallet:hover { background: #faf6f4; box-shadow: 0 7px 16px #25142110; transform: translateY(-2px); }
.checkout-small-note { margin: 13px 0 0; font-size: 11px; line-height: 1.7; color: var(--muted); }
.checkout-summary { border: 1px solid #e5d5d1; background: #faf3ef; border-radius: 20px; padding: 26px; position: sticky; top: 22px; }
.checkout-summary > h2 { font-size: 22px; font-weight: 550; color: var(--wine); letter-spacing: -.5px; margin-bottom: 22px; }
.checkout-items { max-height: 340px; overflow-y: auto; padding-right: 3px; }
.checkout-item { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 5px 12px; padding-bottom: 17px; margin-bottom: 17px; border-bottom: 1px solid #e5d5d0; }
.checkout-item-photo { width: 54px; height: 70px; overflow: hidden; border-radius: 7px; grid-row: span 2; }
.checkout-item-copy { min-width: 0; }
.checkout-item-copy strong, .checkout-item-copy h3 { font-size: 12px; color: var(--wine); line-height: 1.45; margin: 0 0 5px; font-weight: 600; display: block; }
.checkout-item-copy p, .checkout-item-copy span, .checkout-item-copy small { font-size: 10px; color: var(--muted); line-height: 1.5; margin: 0; }
.checkout-item-price { font-size: 13px; font-weight: 600; color: var(--wine); grid-column: 2; }
.checkout-totals > div { display: flex; gap: 12px; justify-content: space-between; font-size: 12px; margin-bottom: 12px; }
.checkout-totals > div > span { color: var(--muted); }
.checkout-totals > .checkout-total { border-top: 1px solid #e0cbc8; padding-top: 18px; margin-top: 18px; font-size: 15px; align-items: center; }
.checkout-total > strong { font-size: 24px; color: var(--wine); letter-spacing: -.6px; }
.checkout-edit-cart { margin: -3px 0 20px; font-size: 11px; }
.checkout-layout:has(.checkout-form[hidden]) { grid-template-columns: minmax(0, 760px); justify-content: center; }
.checkout-layout:has(.checkout-form[hidden]) .checkout-summary { position: static; }
.checkout-success-icon { display: inline-grid; place-content: center; width: 35px; height: 35px; border-radius: 50%; background: #dfe8d7; color: #435939; margin-bottom: 12px; }
.checkout-success .primary-button { margin-top: 15px; }
.checkout-success .text-link { margin-right: 17px; }
.checkout-submit { width: 100%; margin-top: 15px; }
.checkout-status { color: var(--wine); font-size: 12px; line-height: 1.6; margin: 15px 0 0; }
.checkout-success { padding: 17px; background: #eff2e9; border-radius: 12px; color: #435939; font-size: 13px; line-height: 1.7; margin-top: 20px; }
.checkout-success h2, .checkout-success h3 { font-size: 20px; line-height: 1.3; font-weight: 500; margin-bottom: 10px; }
.checkout-success p { margin-bottom: 7px; }
.checkout-empty { padding: 65px 25px; background: #faf3ef; border-radius: 20px; text-align: center; }
.checkout-empty h1 { color: var(--wine); font-size: 32px; font-weight: 550; letter-spacing: -.7px; }
.checkout-empty p { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.demo-login-form { display: grid; gap: 17px; margin-top: 24px; }
.demo-login-form label { display: grid; gap: 7px; font-size: 12px; font-weight: 500; color: var(--ink); }
.demo-login-form .primary-button { margin-top: 5px; width: 100%; }
.login-demo-note { padding: 10px 13px; border-radius: 9px; background: #f6ece8; font-size: 11px; color: var(--muted); }
.password-field { position: relative; display: block; }
.password-field input { padding-right: 86px; }
.password-field button { position: absolute; right: 9px; top: 0; height: 46px; font-size: 11px; padding: 0 5px; color: var(--wine); border-radius: 6px; }
.login-forgot { justify-self: end; font-size: 12px; margin-top: -7px; }
.login-status { padding: 11px 13px; margin: 0; background: #eff2e9; border-radius: 9px; font-size: 12px; color: #435939; font-weight: 400; }
.login-status:empty { display: none; }
.login-register { margin-top: 23px; padding-top: 22px; border-top: 1px solid var(--line); display: grid; gap: 10px; text-align: center; font-size: 12px; color: var(--muted); }
.login-feedback { font-size: 12px; color: var(--wine-soft); line-height: 1.65; background: #f5e9e4; padding: 12px 14px; border-radius: 10px; margin: 0; }

@media (min-width: 1700px) {
  .hero { min-height: 530px; }
  .hero-content { padding-left: 63px; }
}
@media (max-width: 1150px) {
  .shell { width: calc(100% - 48px); }
  .header-inner { gap: 19px; }
  .brand > span { font-size: 26px; }
  .search-form { width: 205px; }
  .hero { min-height: 450px; }
  .hero-content { padding: 35px; }
  .category-visual { width: 67px; height: 67px; }
  .category-tile { min-height: 80px; gap: 8px; padding-right: 11px; }
  .home-editorial { grid-template-columns: .85fr 1.15fr; }
  .editorial-copy { padding: 35px; }
  .collection-panel { padding: 23px; min-height: 230px; }
  .collection-image { width: 150px; height: 150px; right: -30px; opacity: .7; }
  .collection-copy { max-width: 80%; }
  .checkout-layout { grid-template-columns: minmax(0, 1fr) 310px; gap: 22px; }
  .checkout-section { padding: 24px; }
  .checkout-options { gap: 7px; }
  .delivery-choice, .payment-choice { padding: 12px 9px; gap: 7px; }
}
@media (max-width: 900px) {
  .search-form { width: 255px; }
  .hero-content { padding: 29px; }
  .category-visual { width: 78px; height: 78px; }
  .category-tile { gap: 14px; }
  .home-editorial { min-height: 0; }
  .editorial-visual { min-height: 370px; }
  .editorial-copy { padding: 29px; }
  .editorial-copy h2 { font-size: 29px; }
  .home-collections { gap: 13px; }
  .collection-panel { min-height: 245px; align-items: flex-start; padding: 22px; }
  .collection-image { top: auto; bottom: -28px; right: -35px; transform: none; opacity: .5; }
  .collection-panel:hover .collection-image { transform: scale(1.05); }
  .collection-copy { max-width: 100%; }
  .collection-copy h3 { font-size: 21px; }
  .home-discover .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-cta { padding: 30px; }
  .home-cta h2 { font-size: 25px; }
  .checkout-layout { grid-template-columns: minmax(0, 1fr) 280px; gap: 18px; }
  .checkout-section { padding: 22px; }
  .checkout-summary { padding: 20px; }
  .checkout-options { grid-template-columns: 1fr; }
  .choice-copy { grid-template-columns: 1fr 1fr; width: 100%; align-items: center; gap: 9px; }
  .choice-copy small { text-align: right; }
}
@media (max-width: 740px) {
  .checkout-layout { grid-template-columns: 1fr; gap: 22px; }
  .checkout-summary { position: static; }
  .checkout-options { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .choice-copy { display: grid; grid-template-columns: 1fr; }
  .choice-copy small { text-align: left; }
}
@media (max-width: 640px) {
  .shell { width: calc(100% - 32px); }
  .brand > span { font-size: 25px; letter-spacing: .4px; }
  .brand small { font-size: 8px; letter-spacing: 0; }
  .header-inner { min-height: 116px; gap: 12px 8px; }
  .search-form { width: 100%; }
  .hero { min-height: 515px; }
  .hero-content { padding: 28px 25px; }
  .hero h1 { font-size: 38px; font-weight: 550; }
  .hero:hover .hero-art { transform: none; }
  .category-visual { width: 55px; height: 55px; border-radius: 50%; }
  .category-tile { min-height: 73px; padding: 5px 8px 5px 5px; gap: 7px; }
  .home-editorial { grid-template-columns: 1fr; margin-top: 37px; border-radius: 19px; }
  .editorial-visual { min-height: 260px; background-position: 74% 47%; }
  .editorial-copy { padding: 28px 23px; }
  .editorial-copy h2 { font-size: 29px; }
  .editorial-copy > p:not(.eyebrow) { font-size: 13px; }
  .ritual-step { gap: 0 12px; }
  .ritual-step strong { font-size: 13px; }
  .ritual-step p, .ritual-step small { font-size: 11px; }
  .home-collections { grid-template-columns: 1fr; gap: 13px; margin-top: 23px; }
  .collection-panel { min-height: 195px; align-items: center; padding: 27px; }
  .collection-copy { max-width: 65%; }
  .collection-copy h3 { font-size: 25px; }
  .collection-image { width: 180px; height: 180px; bottom: auto; top: 50%; right: -15px; transform: translateY(-50%); opacity: .85; }
  .collection-panel:hover .collection-image { transform: translateY(-50%) scale(1.05); }
  .home-discover { margin-top: 37px; }
  .home-discover .product-grid { gap: 24px 11px; }
  .home-discover .product-media { aspect-ratio: .83; }
  .home-cta { margin-top: 34px; display: grid; padding: 27px 24px; gap: 20px; border-radius: 18px; }
  .home-cta h2 { font-size: 26px; }
  .home-cta .primary-button { justify-self: start; }
  .checkout-header { align-items: flex-start; flex-direction: column; gap: 12px; margin-bottom: 17px; }
  .checkout-header h1 { font-size: 32px; letter-spacing: -.8px; }
  .checkout-demo-badge { font-size: 10px; }
  .checkout-demo-note { font-size: 11px; padding: 14px 16px; margin-bottom: 20px; }
  .checkout-section { padding: 23px 19px; border-radius: 16px; }
  .checkout-section-title { font-size: 19px; margin-bottom: 20px; }
  .checkout-fields, .checkout-delivery-fields { grid-template-columns: 1fr; gap: 16px; }
  .card-fields > .checkout-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
  .checkout-field input, .checkout-field select, .demo-login-form input { font-size: 16px; }
  .checkout-options { grid-template-columns: 1fr; gap: 9px; }
  .delivery-choice, .payment-choice { padding: 13px 15px; gap: 11px; }
  .choice-copy { grid-template-columns: 1fr 1fr; align-items: center; width: 100%; }
  .choice-copy small { text-align: right; font-size: 10px; }
  .choice-copy strong { font-size: 13px; }
  .checkout-summary { padding: 24px 21px; border-radius: 16px; }
  .checkout-items { max-height: 330px; }
  .checkout-item { grid-template-columns: 63px minmax(0, 1fr); gap: 6px 13px; }
  .checkout-item-photo { width: 63px; height: 81px; }
  .checkout-item-copy strong, .checkout-item-copy h3 { font-size: 13px; }
  .checkout-item-copy p, .checkout-item-copy span, .checkout-item-copy small { font-size: 11px; }
  .checkout-item-price { font-size: 14px; }
  .checkout-empty { padding: 45px 22px; }
  .checkout-empty h1 { font-size: 28px; }
  .price-range-values input { width: 110px; }
  .range-inputs { margin: 8px 0 14px; }
}
@media (max-width: 370px) {
  .shell { width: calc(100% - 24px); }
  .brand > span { font-size: 23px; }
  .brand small { font-size: 7px; }
  .hero-content { padding: 26px 20px; }
  .hero h1 { font-size: 35px; }
  .category-visual { width: 48px; height: 48px; }
  .collection-panel { padding: 23px; }
  .collection-copy { max-width: 68%; }
  .collection-image { right: -40px; opacity: .72; }
  .checkout-section { padding: 20px 16px; }
  .choice-copy { grid-template-columns: 1fr; gap: 3px; }
  .choice-copy small { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .hero-art, .category-visual, .collection-image { transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
