@font-face { font-family: Manrope; src: url('fonts/Manrope-500.ttf') format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: Manrope; src: url('fonts/Manrope-750.ttf') format('truetype'); font-weight: 750; font-display: swap; }
@font-face { font-family: Manrope; src: url('fonts/Manrope-800.ttf') format('truetype'); font-weight: 800; font-display: swap; }

:root {
    color-scheme: light;
    --paper: #fff;
    --ink: #21191b;
    --muted: #62585a;
    --wine: #bd1720;
    --line: #e9e1df;
    --wash: #f5f1f0;
    --rose: #faeaeb;
    --gutter: clamp(12px, 4.65vw, 20px);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; }
body { display: flex; flex-direction: column; min-height: 100dvh; margin: 0; color: var(--ink); background: var(--paper); font: 500 16px/1.5 Manrope, Arial, sans-serif; }
.home-surface { --paper: #fffdf7; --gutter: clamp(12px, 4.2vw, 18px); }
.product-surface { --ink: #231c1d; --muted: #685d5d; --wine: #b51d29; --line: #eadede; --wash: #f7f3f3; --rose: #f9e7e9; }
[hidden] { display: none !important; }
a { color: inherit; }
button, select, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
h1, h2, p, dl, dd, fieldset { margin: 0; }
h1 { font-size: 32px; line-height: 38px; letter-spacing: -.04em; font-weight: 800; }
h2 { font-weight: 800; line-height: 1.2; letter-spacing: -.035em; }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--wine); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.shell { width: min(100%, 906px); margin-inline: auto; padding-inline: var(--gutter); }
.icon { display: block; width: 22px; height: 22px; flex: none; }
.header { min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 8px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 7px; min-height: 44px; font-size: clamp(15px, 4.2vw, 18px); font-weight: 800; letter-spacing: -.04em; text-decoration: none; }
.brand img { width: 33px; height: 33px; flex: none; }
.place { display: flex; gap: 4px; align-items: center; min-height: 44px; color: var(--muted); font-size: clamp(10px, 3vw, 13px); text-decoration: none; white-space: nowrap; }
.place .icon { width: 15px; height: 15px; color: var(--wine); }
.main { flex: 1; padding-block: 16px 24px; }
.bottom-bar { position: sticky; bottom: 0; z-index: 2; border-top: 1px solid var(--line); background: var(--paper); padding-bottom: var(--safe-bottom); }
.bottom-nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 650px; }
.bottom-actions + .bottom-nav { border-top: 1px solid var(--line); }
.bottom-nav a { display: grid; align-content: center; justify-items: center; gap: 3px; min-height: 62px; color: var(--muted); font-size: 12px; line-height: 16px; font-weight: 750; text-decoration: none; }
.bottom-nav a[aria-current] { color: var(--wine); }
.cart-icon { position: relative; display: inline-flex; }
.cart-badge { position: absolute; top: -5px; left: 70%; min-width: 16px; min-height: 16px; padding-inline: 3px; border-radius: 99px; background: var(--wine); color: white; font-size: 10px; font-weight: 800; line-height: 16px; text-align: center; }
.bottom-actions { max-width: calc(600px + 2 * var(--gutter)); padding-block: 12px; }
.purchase-bar { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 12px; }
.counter { display: inline-flex; align-items: center; align-self: start; border: 0; border-radius: 12px; background: var(--wash); }
.counter button { flex: none; width: 44px; height: 44px; border: 0; border-radius: inherit; color: var(--ink); background: transparent; font-size: 21px; font-weight: 800; }
.counter button:disabled { color: #756a6b; }
.counter output { min-width: 26px; padding: 0 3px; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }
.purchase-bar .counter button, .button.purchase-button { min-height: 52px; }
.cart-feedback:not(:empty) { position: absolute; left: 50%; bottom: calc(100% + 12px); transform: translateX(-50%); width: max-content; max-width: calc(100vw - 32px); padding: 9px 15px; border-radius: 12px; color: white; background: var(--ink); font-size: 14px; text-align: center; pointer-events: none; }

.banner-stage { display: grid; touch-action: pan-y pinch-zoom; }
.banner { grid-area: 1 / 1; display: flex; flex-direction: column; align-items: start; gap: 8px; min-width: 0; padding: 16px; border-radius: 24px; background: #ffdd89; }
.banner:nth-child(2n) { background: #ffe5a8; }
.banner:nth-child(3n) { background: #ffe09a; }
.banner[aria-hidden='true'] { visibility: hidden; pointer-events: none; }
.banner-label { padding: 3px 10px; border-radius: 20px; background: #fff5d1; color: #6f321e; font-size: 13px; font-weight: 800; }
.banner h2 { white-space: pre-line; overflow-wrap: anywhere; font-size: clamp(24px, 7.2vw, 34px); line-height: 1.06; color: #792b1d; }
.banner-description { font-size: 14px; font-weight: 750; }
.banner-figure { position: relative; width: 100%; height: clamp(131px, 35vw, 210px); margin: auto 0 0; overflow: hidden; border-radius: 14px; }
.banner-photo { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 56%; }
.banner-figure figcaption { position: absolute; right: 8px; bottom: 8px; padding: 2px 8px; border-radius: 20px; background: #fff8e2; color: #4d2719; font-size: 12px; font-weight: 800; }
.button { display: flex; justify-content: center; align-items: center; gap: 8px; width: 100%; min-height: 48px; padding: 8px 15px; border: 0; border-radius: 12px; background: var(--wine); color: #fff; font-weight: 800; text-decoration: none; text-align: center; }
.button:disabled { background: #ede6e4; color: var(--muted); }
.banner .button { position: relative; flex: none; min-height: 52px; padding-inline: 35px; background: #a72b22; }
.banner .button .icon { position: absolute; right: 12px; width: 19px; height: 19px; }
.carousel-controls { display: flex; justify-content: space-between; align-items: center; }
.carousel-controls button { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 10px; background: transparent; color: #792b1d; font-size: 25px; }
.carousel-dots { display: flex; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.carousel-dots button::after { content: ''; width: 8px; height: 8px; border-radius: 10px; background: #b48248; }
.carousel-dots button[aria-current]::after { width: 20px; background: var(--wine); }

.store-section { margin-top: 12px; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.section-head h2 { font-size: 22px; }
.section-head a, .back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 800; font-size: 15px; text-decoration: none; }
.section-head a { color: var(--wine); font-size: 13px; }
.delivery { border-radius: 16px; padding: 16px; background: #f6eee0; scroll-margin-top: 16px; }
.delivery h2 { margin-bottom: 4px; font-size: 20px; }
.delivery a { color: #792b1d; font-size: 14px; }
.home-benefits { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 10px; margin: 14px 0 0; padding: 11px 12px; border-radius: 14px; list-style: none; background: #f6eee0; font-size: 13px; font-weight: 800; }
.home-benefits li { display: flex; align-items: center; gap: 6px; }
.home-benefits .icon { color: var(--wine); width: 16px; height: 16px; }

.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.catalog-grid { margin-top: 12px; }
.product-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.product-picture { display: block; width: 100%; aspect-ratio: 1.83; background: #eeeae5; }
.featured-card .product-picture { aspect-ratio: 1.55; }
.product-picture img { display: block; width: 100%; height: 100%; object-fit: cover; }
.product-card-body { display: flex; flex-direction: column; flex: 1; padding: 8px 9px; }
.product-card-title { margin: 0 0 4px; overflow-wrap: anywhere; font-size: 15px; line-height: 19px; font-weight: 800; letter-spacing: -.035em; }
.featured-card .product-card-title { margin: 0; }
.product-card-title a { text-decoration: none; }
.product-card .variant-picker { margin-top: auto; }
.weights { display: flex; gap: 6px; padding: 3px; margin-inline: -3px; overflow-x: auto; }
.weight { flex: 1 0 auto; min-width: 44px; min-height: 44px; padding: 3px 7px; border: 1px solid transparent; border-radius: 10px; background: var(--wash); color: var(--ink); font-weight: 800; white-space: nowrap; }
.product-card .weights { gap: 4px; }
.product-card .weight { padding-inline: 2px; font-size: 12px; }
.weight[aria-pressed='true'] { border-color: var(--wine); background: var(--rose); color: var(--wine); }
.weight:disabled { text-decoration: line-through; opacity: .65; cursor: default; }
.single-weight { display: flex; align-items: center; flex-wrap: wrap; gap: 3px 5px; min-height: 50px; color: var(--muted); font-size: 12px; }
.single-weight strong { color: var(--wine); white-space: nowrap; }
.tile-meta { display: flex; align-items: center; justify-content: space-between; gap: 4px; margin-top: 4px; }
.tile-price { display: grid; color: var(--muted); font-size: 12px; line-height: 16px; }
.tile-price strong { color: var(--ink); font-size: 14px; line-height: 18px; overflow-wrap: anywhere; }
.icon-button { display: grid; flex: none; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 12px; color: inherit; background: transparent; text-decoration: none; }
.add-tile { background: var(--wine); color: #fff; }
.add-tile:disabled { background: var(--wash); color: #756a6b; }
.narrow, .product-detail { max-width: 600px; margin-inline: auto; }
.product-surface .header { min-height: 54px; }
.product-surface .main { padding-bottom: 22px; }
.product-surface .bottom-actions { padding-block: 9px; }
.detail-image { display: block; width: 100%; height: auto; aspect-ratio: 1.82; object-fit: cover; margin-bottom: 13px; border-radius: 20px; }
.product-detail h1 { font-size: clamp(28px, 8vw, 34px); line-height: 1.1; overflow-wrap: anywhere; }
.product-manufacturer { display: flex; flex-wrap: wrap; gap: 0 8px; margin: 5px 0 0; font-size: 14px; line-height: 20px; }
.product-manufacturer dt { color: var(--muted); }
.product-manufacturer dd { overflow-wrap: anywhere; font-weight: 750; }
.product-detail .variant-picker { display: grid; gap: 7px; margin-top: 11px; }
.product-detail .weights { gap: 7px; }
.product-detail .weight { font-size: 14px; }
.detail-prices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding-block: 6px 11px; }
.detail-prices > div { display: grid; gap: 1px; align-content: start; }
.detail-prices > div + div { border-left: 1px solid var(--line); padding-left: 15px; }
.detail-prices dt { color: var(--muted); font-size: 12px; }
.detail-prices dd { font-size: 20px; line-height: 25px; font-weight: 800; overflow-wrap: anywhere; }
.product-nutrition { padding-top: 12px; border-top: 1px solid var(--line); }
.product-nutrition-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 5px; }
.product-nutrition-heading h2 { color: var(--wine); font-size: 20px; }
.product-nutrition-heading span { color: var(--muted); font-size: 13px; white-space: nowrap; }
.nutrition-rows > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; min-height: 34px; padding-block: 6px; border-bottom: 1px solid var(--line); }
.nutrition-rows dt { color: var(--muted); font-size: 14px; }
.nutrition-rows dd { font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.product-composition, .product-description, .product-storage { margin-top: 14px; }
.product-composition + .product-description, .product-description + .product-storage,
.product-composition + .product-storage { padding-top: 11px; border-top: 1px solid var(--line); }
.product-composition h2, .product-description h2, .product-storage h2 { font-size: 17px; line-height: 23px; }
.product-note { margin-top: 3px; color: var(--muted); font-size: 13px; line-height: 19px; overflow-wrap: anywhere; white-space: pre-line; }
.product-information { border-block: 1px solid var(--line); }
.product-information summary { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 52px; cursor: pointer; font-weight: 800; list-style: none; }
.product-information summary::-webkit-details-marker { display: none; }
.product-information summary .icon { width: 18px; }
.product-information[open] summary .icon { transform: rotate(90deg); }
.details-body { display: grid; gap: 9px; padding-block: 6px 14px; }
.details-body p { white-space: pre-line; }
.details-body h2 { font-size: 17px; }
.summary { display: grid; gap: 6px; padding: 14px; background: var(--wash); border-radius: 16px; }
.summary > div { display: flex; justify-content: space-between; align-items: baseline; gap: 9px; }
.summary dd { font-weight: 800; text-align: end; }
.summary-total { border-top: 1px solid var(--line); margin-top: 2px; padding-top: 8px; font-size: 18px; font-weight: 800; }
.catalog-search { display: flex; align-items: center; position: relative; gap: 5px; margin-top: 10px; }
.catalog-search input { flex: 1; min-width: 0; height: 44px; padding: 0 12px 0 43px; border: 1px solid #d5cbcc; border-radius: 12px; color: var(--ink); background: #fff; }
.catalog-search button { position: absolute; inset-inline-start: 0; color: var(--muted); }
.clear-search { color: var(--wine); }
.filter-form { display: flex; flex-wrap: wrap; align-items: end; gap: 8px; margin-top: 12px; }
.filter-form label { display: grid; gap: 3px; }
.filter-form select { min-height: 48px; max-width: 100%; padding: 6px 9px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.filter-form .button { width: auto; }

.stack { display: grid; gap: 16px; }
.stack h2 { font-size: 22px; }
.notice, .empty-state { padding: 12px; border-radius: 12px; background: var(--wash); font-size: 14px; }
.empty-state { display: grid; justify-items: center; gap: 9px; padding: 20px; text-align: center; }
.empty-state .icon { width: 32px; height: 32px; color: var(--wine); }
.empty-state .button { width: auto; }
.muted { color: var(--muted); }
.cart-row { display: grid; grid-template-columns: clamp(60px, 20vw, 86px) minmax(0, 1fr) 44px; align-items: start; gap: 8px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.cart-photo { overflow: hidden; aspect-ratio: 1.06; border-radius: 12px; background: #eeeae5; }
.cart-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cart-line h2 { font-size: 17px; overflow-wrap: anywhere; }
.cart-line h2 a { text-decoration: none; }
.cart-line p { font-size: 13px; }
.cart-row-meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 5px; margin-top: 7px; }
.cart-row-meta strong { font-size: 13px; }
.remove-item .icon { width: 18px; height: 18px; }
.section-tabs { display: flex; flex-wrap: wrap; gap: 16px; border-bottom: 1px solid var(--line); }
.section-tabs a { display: flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 800; text-decoration: none; }
.section-tabs [aria-current] { box-shadow: inset 0 -2px var(--wine); color: var(--wine); }
.city-options, .checkout-fields { min-width: 0; padding: 0; border: 0; }
.city-options, .form-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.city-options legend, .checkout-fields label { font-size: 14px; font-weight: 800; }
.city-options legend { margin-bottom: 5px; padding: 0; }
.city-options label { position: relative; display: grid; }
.city-options input { position: absolute; margin: 0; opacity: 0; }
.city-options span { display: grid; place-items: center; min-height: 44px; border: 1px solid transparent; border-radius: 10px; background: var(--wash); font-size: 14px; font-weight: 800; cursor: pointer; }
.city-options input:checked + span { border-color: var(--wine); color: var(--wine); background: var(--rose); }
.city-options input:focus-visible + span { outline: 2px solid var(--wine); outline-offset: 3px; }
.checkout-fields { display: grid; gap: 12px; }
.checkout-fields label { display: grid; gap: 4px; }
.checkout-fields input { width: 100%; min-height: 50px; padding: 8px 11px; border: 1px solid var(--line); border-radius: 12px; opacity: 1; background: #fff; }
.checkout-fields input::placeholder { color: #766b6d; }
.pay-on-delivery { display: flex; justify-content: space-between; align-items: center; font-weight: 800; }
.pay-on-delivery .icon { color: var(--wine); }

@media (max-width: 360px) {
    .product-card .weight { min-width: 0; }
}

@media (min-width: 700px) {
    h1 { font-size: 40px; line-height: 46px; }
    .banner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-content: center; padding: 22px; column-gap: 20px; }
    .banner-label { justify-self: start; }
    .banner-figure { grid-column: 2; grid-row: 1 / span 4; height: 100%; min-height: 235px; }
    .banner .button { grid-column: 1; align-self: end; }
    .catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.store-contact-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 5px 14px; padding-block: 8px; font-size: 13px; }
.store-contact-links a { color: var(--wine); text-decoration: underline; text-underline-offset: .15em; }
.launch-notice { margin-bottom: 16px; padding: 14px 16px; color: var(--ink); background: var(--wash); border: 1px solid var(--line); border-radius: 16px; }
.launch-notice h2 { margin: 0; font-size: clamp(19px, 4vw, 24px); }
.launch-notice p { margin: 0; }
.launch-document { white-space: pre-wrap; overflow-wrap: anywhere; }
.zone-choice { display: grid; grid-template-columns: minmax(0, 1fr) max-content; gap: 8px; }
.zone-choice select { width: 100%; min-height: 44px; padding: 8px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); }
.checkout-fields .customer-consent { display: flex; align-items: start; gap: 8px; font-weight: 600; }
.checkout-fields .customer-consent input { width: 20px; height: 20px; min-height: 20px; flex: 0 0 20px; margin: 2px 0; accent-color: var(--wine); }
.checkout-fields .customer-consent a { text-decoration: underline; }
.tile-purchase { display: grid; grid-template-columns: 1fr; gap: 4px; margin-top: 6px; }
.tile-purchase .counter { width: 100%; justify-content: space-between; }
.tile-purchase .counter button { min-width: 32px; min-height: 34px; }
.tile-purchase .add-tile { width: 100%; min-width: 0; height: auto; min-height: 36px; padding: 5px 2px; font-size: 13px; }
