:root {
  color-scheme: light;
  --milk: #f7f2e9;
  --paper: #fffcf6;
  --ink: #26201e;
  --muted: #655a52;
  --burgundy: #572634;
  --burgundy-dark: #401923;
  --gold: #e8c898;
  --gold-dark: #795027;
  --line: #dfd4c6;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'Segoe UI', Arial, sans-serif;
  --header-height: 68px;
  --shadow: 0 12px 30px #3a282012;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 18px); }
body { margin: 0; color: var(--ink); background: var(--milk); font: 16px/1.55 var(--sans); }
body:has(dialog[open]) { overflow: hidden; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
input, button, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { opacity: .48; cursor: default; }
a { color: inherit; text-decoration: none; }
button, a, input, textarea, select { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #a36032; outline-offset: 3px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.07; }
h2 { font-size: clamp(2.65rem, 6vw, 4.6rem); letter-spacing: -.055em; }
.wrap { max-width: 1320px; width: calc(100% - 36px); margin-inline: auto; }
.section-pad { padding-block: clamp(56px, 8vw, 112px); }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.svg-library { position: absolute; width: 0; height: 0; pointer-events: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 20; background: var(--paper); padding: 12px 18px; border-radius: 6px; transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.site-header { position: sticky; top: 0; z-index: 5; background: var(--paper); border-bottom: 1px solid #e8ded3; }
.header-inner { min-height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.brand { display: inline-flex; align-items: center; gap: 8px; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; flex: none; position: relative; border-radius: 50%; background: var(--burgundy); color: #f7e6cd; font: 27px/1 var(--serif); }
.brand-mark span { position: absolute; top: 6px; right: 7px; color: var(--gold); font-size: 8px; }
.brand-text { white-space: nowrap; font: bold clamp(.68rem, 2.6vw, .95rem)/1.15 var(--serif); letter-spacing: .045em; color: var(--burgundy-dark); }
.brand-text small { display: block; margin-top: 5px; font: 700 .54rem/1 var(--sans); letter-spacing: .25em; color: var(--gold-dark); }
.main-nav { display: none; }
.header-actions { display: flex; align-items: center; gap: 7px; }
.header-cart, .icon-button { min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--line); border-radius: 9px; background: transparent; color: var(--burgundy); transition: background .2s, border-color .2s; }
.icon-button:hover, .header-cart:hover { background: #eee2d6; }
.header-cart { padding: 0 7px; }
.cart-label { display: none; }
.cart-count { min-width: 18px; height: 18px; padding-inline: 3px; display: grid; place-items: center; border-radius: 20px; font-size: .68rem; font-weight: 700; line-height: 1; color: white; background: var(--burgundy); }

.hero { display: grid; position: relative; isolation: isolate; background: #24171a; color: #fff6e9; scroll-margin-top: var(--header-height); }
.hero-media { position: relative; min-width: 0; height: clamp(215px, 58vw, 390px); order: 2; z-index: -1; }
.hero-media picture, .hero-media img { width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: 58% center; }
.hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, #24171a, #24171a00 28%); pointer-events: none; }
.hero-copy { padding-block: 43px 6px; animation: enter .55s ease-out both; }
@keyframes enter { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: translateY(0); } }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--gold-dark); font-size: .7rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; line-height: 1.4; margin-bottom: 12px; }
.eyebrow span { width: 22px; height: 1px; background: currentColor; flex: none; }
.hero-kicker, .footer-kicker { color: var(--gold); }
.hero h1 { font-size: clamp(2.45rem, 8.8vw, 4.9rem); line-height: 1; letter-spacing: -.055em; }
.hero h1 em { font-weight: inherit; color: var(--gold); }
.hero-description { color: #e8dacf; max-width: 35ch; font-size: .96rem; margin-block: 18px 23px; }
.hero-actions { display: flex; gap: 9px; flex-wrap: wrap; }
.button { display: inline-flex; justify-content: center; align-items: center; text-align: center; gap: 9px; padding: 12px 15px; min-height: 46px; border: 1px solid transparent; border-radius: 8px; font-size: .85rem; font-weight: 700; line-height: 1.2; transition: background .2s, color .2s, border-color .2s; }
.button .icon { width: 17px; height: 17px; }
.button-gold { background: var(--gold); color: #271817; }
.button-gold:hover { background: #f7dab0; }
.button-outline-light { color: #fff6e9; border-color: #bda796; background: #28191d52; }
.button-outline-light:hover { background: #fff6e91f; }
.button-brand { color: #fff8ef; background: var(--burgundy); }
.button-brand:hover { background: var(--burgundy-dark); }
.button-subtle { border-color: var(--line); color: var(--burgundy-dark); background: transparent; }
.button-subtle:hover { background: #f1e6da; border-color: #ccb3a1; }

.catalog-strip { background: #eee2d3; border-bottom: 1px solid #e6d7c6; }
.strip-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 16px; padding-block: 12px; color: #5b4033; }
.strip-inner > * { display: inline-flex; gap: 6px; align-items: center; font-size: .72rem; font-weight: 700; }
.strip-inner .icon { width: 15px; height: 15px; color: var(--burgundy); }
.strip-inner a:hover { text-decoration: underline; text-underline-offset: .2em; }

.catalog-heading, .order-heading { display: grid; gap: 18px; align-items: end; margin-bottom: 20px; }
.search-box { display: flex; align-items: center; min-width: 0; gap: 9px; border: 1px solid var(--line); border-radius: 9px; padding-inline: 12px; background: var(--paper); color: var(--burgundy); }
.search-box input { border: 0; width: 100%; min-width: 0; background: transparent; min-height: 48px; color: var(--ink); }
.search-box input:focus { outline: 0; }
.search-box:focus-within { outline: 2px solid #a36032; outline-offset: 2px; }
.category-filters { display: none; }
.category-mobile select, .checkout-form select { appearance: none; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23572634' stroke-width='1.5'/%3E%3C/svg%3E") right 12px center / 16px no-repeat; }
.category-mobile select { width: 100%; min-height: 48px; padding: 10px 34px 10px 12px; border: 1px solid var(--line); border-radius: 9px; }
.catalog-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 5px 14px; color: var(--muted); font-size: .81rem; margin-block: 16px 12px; }
#result-count { font-weight: 700; }

.product-group { margin-top: 27px; }
.product-group + .product-group { margin-top: clamp(37px, 6vw, 72px); }
.group-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding-block: 13px; border-top: 1px solid var(--line); }
.group-heading h3 { font-size: clamp(1.52rem, 3.7vw, 2.5rem); letter-spacing: -.037em; }
.group-heading span { font-size: .78rem; color: var(--muted); white-space: nowrap; }
.product-grid { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
.product-card { display: flex; flex-direction: column; min-width: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 11px; overflow: hidden; transition: box-shadow .22s, border-color .22s; }
.product-card:hover { box-shadow: var(--shadow); border-color: #cbb3a1; }
.product-media { position: relative; isolation: isolate; background: #322625; aspect-ratio: 6 / 4; overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .34s ease; }
.product-card:hover img { transform: scale(1.035); }
.product-media figcaption { position: absolute; right: 8px; bottom: 8px; max-width: calc(100% - 16px); background: #261c1be8; color: #fff6e9; border: 1px solid #baa18d75; border-radius: 4px; padding: 3px 6px; font-size: .64rem; line-height: 1.25; }
.product-body { padding: 14px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.product-body h4 { margin: 0; font: normal clamp(1.16rem, 2.2vw, 1.36rem)/1.15 var(--serif); letter-spacing: -.025em; overflow-wrap: anywhere; }
.product-description { color: var(--muted); font-size: .88rem; line-height: 1.44; margin-bottom: 4px; }
.product-actions { display: grid; gap: 8px; margin-top: auto; }
.product-price { color: var(--burgundy-dark); font-size: 1.18rem; font-weight: 700; line-height: 1.25; }
.product-price.price-on-request { color: var(--muted); font-size: .9rem; line-height: 1.64; }
.product-actions .button { font-size: .79rem; min-width: 0; padding-inline: 7px; }
.quantity-line { display: flex; align-items: center; justify-content: space-between; gap: 5px; flex-wrap: wrap; }
.quantity-caption { color: var(--muted); font-size: .74rem; }
.stepper { display: inline-grid; grid-template-columns: 44px 38px 44px; align-items: stretch; min-height: 44px; border: 1px solid var(--line); border-radius: 7px; background: var(--paper); }
.stepper button { display: inline-grid; place-items: center; border: 0; padding: 0; color: var(--burgundy); background: transparent; }
.stepper button:not(:disabled):hover { background: #f0e3d6; }
.stepper button:first-child { border-radius: 6px 0 0 6px; }
.stepper button:last-child { border-radius: 0 6px 6px 0; }
.stepper .icon { width: 15px; height: 15px; }
.stepper input { margin: 0; padding: 0; text-align: center; font-size: 1rem; width: 100%; border: 0; background: transparent; appearance: textfield; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { appearance: none; margin: 0; }

.empty-state { text-align: center; padding: 30px 16px; border: 1px dashed #c8b29e; border-radius: 12px; margin-top: 22px; }
.empty-state > .icon { width: 30px; height: 30px; margin: 0 auto 10px; color: var(--burgundy); }
.empty-state h3 { font-size: 1.65rem; }
.empty-state p { color: var(--muted); margin-block: 9px 16px; }

.store-section { background: #eee1d3; border-block: 1px solid #e5d6c5; }
.store-inner { display: grid; gap: 30px; }
.store-points { display: grid; gap: 15px; }
.store-points > div { display: grid; grid-template-columns: 31px 1fr; column-gap: 11px; row-gap: 5px; padding-bottom: 15px; border-bottom: 1px solid #d8c5b3; }
.store-points > div > .icon { grid-row: span 2; align-self: start; color: var(--burgundy); width: 25px; height: 25px; }
.store-points h3, .order-steps h3 { font-size: 1.35rem; }
.store-points p, .order-steps p { color: var(--muted); font-size: .94rem; }
.order-heading .button { justify-self: start; }
.order-steps { counter-reset: order; list-style: none; padding: 0; display: grid; gap: 12px; margin: 0; }
.order-steps li { counter-increment: order; border: 1px solid var(--line); background: var(--paper); border-radius: 9px; padding: 19px; }
.order-steps li::before { content: counter(order); display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; background: #efe1d1; color: var(--burgundy); font-size: .85rem; font-weight: 700; margin-bottom: 13px; }
.order-steps p { margin-top: 7px; }
.site-footer { background: #2b1a20; color: #f9eddf; padding-block: 45px 14px; }
.footer-main { display: flex; justify-content: space-between; align-items: start; flex-direction: column; gap: 20px; border-bottom: 1px solid #87695e; padding-bottom: 28px; }
.footer-main p:not(.eyebrow) { color: #e2cfc0; margin-top: 13px; }
.footer-main p a:hover, .footer-bottom a:hover { text-decoration: underline; text-underline-offset: .2em; }
.footer-main p span { padding-inline: 4px; }
.footer-bottom { padding-top: 13px; display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between; padding-right: 52px; font-size: .74rem; color: #e2cfc0; }
.floating-whatsapp { position: fixed; bottom: max(16px, env(safe-area-inset-bottom)); right: max(16px, env(safe-area-inset-right)); z-index: 6; display: grid; place-items: center; width: 54px; height: 54px; color: #fff; background: #187846; border: 1px solid #ffffff6b; border-radius: 50%; box-shadow: 0 5px 20px #1b412b4a; transition: transform .2s, background .2s; }
.floating-whatsapp:hover { transform: translateY(-3px); background: #126437; }
.floating-whatsapp .icon { width: 26px; height: 26px; }

dialog { color: var(--ink); background: var(--milk); border: 0; padding: 0; box-shadow: -8px 0 26px #23141630; }
dialog::backdrop { background: #221518a0; }
dialog[open] { animation: drawer-enter .24s ease-out; }
@keyframes drawer-enter { from { transform: translateX(28px); opacity: .6; } to { transform: translateX(0); opacity: 1; } }
.mobile-menu { position: fixed; inset: 0 0 auto auto; margin: 0; width: min(420px, 100%); max-width: none; border-radius: 0 0 0 12px; }
.mobile-menu nav { display: grid; padding-inline: 17px; }
.mobile-menu nav a { display: flex; align-items: center; justify-content: space-between; min-height: 49px; border-bottom: 1px solid var(--line); }
.mobile-menu > .button { display: flex; margin: 15px 17px 18px; }
.cart-drawer { position: fixed; inset: 0 0 0 auto; margin: 0; width: min(100%, 500px); max-width: none; max-height: none; height: 100%; height: 100dvh; }
.cart-drawer[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.dialog-head { display: flex; align-items: start; justify-content: space-between; gap: 12px; background: var(--paper); border-bottom: 1px solid var(--line); padding: max(15px, env(safe-area-inset-top)) 17px 14px; }
.dialog-head h2 { font-size: 2rem; letter-spacing: -.045em; }
.dialog-head p { font-size: .82rem; color: var(--muted); margin-top: 5px; }
.cart-scroll { overflow: auto; overscroll-behavior: contain; padding-inline: 16px; }
.cart-empty { margin-bottom: 18px; }
.cart-items { list-style: none; padding: 0; margin: 0; }
.cart-item { display: grid; grid-template-columns: 57px minmax(0, 1fr) 44px; gap: 9px; align-items: start; padding-block: 12px; border-bottom: 1px solid var(--line); }
.cart-item img { width: 57px; height: 57px; border-radius: 7px; object-fit: cover; background: #e8dbcc; }
.cart-item h3 { font-size: 1.09rem; line-height: 1.2; margin-bottom: 6px; overflow-wrap: anywhere; }
.cart-price { margin-bottom: 6px; color: var(--burgundy-dark); font-size: .86rem; }
.cart-quantity { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.cart-item .icon-button { border: 0; }
.text-button { border: none; background: transparent; color: var(--burgundy-dark); text-decoration: underline; text-underline-offset: .2em; padding: 6px 2px; min-height: 44px; text-align: left; }
.cart-clear { font-size: .86rem; }
.checkout-form { display: grid; gap: 10px; border-top: 1px solid var(--line); padding: 16px 0 14px; }
.checkout-form h3 { font-size: 1.65rem; }
.checkout-form label { display: grid; gap: 3px; min-width: 0; font-size: .82rem; font-weight: 700; }
.checkout-form input, .checkout-form select, .checkout-form textarea { border: 1px solid var(--line); border-radius: 7px; width: 100%; min-width: 0; background-color: var(--paper); padding: 8px 9px; min-height: 44px; font-size: 1rem; font-weight: 400; }
.checkout-form select { padding-right: 32px; }
.checkout-form textarea { resize: vertical; }
.form-row { display: grid; gap: 9px; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
.checkout-note { font-size: .79rem; color: var(--muted); }
.cart-footer { background: var(--paper); border-top: 1px solid var(--line); padding: 11px 16px max(12px, env(safe-area-inset-bottom)); }
.cart-footer .button { width: 100%; min-height: 49px; }
.toast { position: fixed; bottom: 20px; left: 18px; z-index: 7; max-width: min(420px, calc(100% - 90px)); padding: 10px 13px; border-radius: 8px; color: #fff; background: #42232c; font-size: .86rem; opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .18s, transform .18s; }
.toast.is-visible { opacity: 1; transform: translateY(0); }

@media (min-width: 400px) and (max-width: 479px) {
  .product-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-price, .quantity-line { grid-column: 1 / -1; }
}
@media (min-width: 480px) {
  .wrap { width: calc(100% - 48px); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip-inner { gap: 14px 24px; }
}
@media (min-width: 681px) {
  .hero { min-height: 500px; }
  .hero-media { position: absolute; inset: 0 0 0 41%; height: 100%; }
  .hero-media::after { background: linear-gradient(to right, #24171a 0%, #24171a63 21%, #24171a00 48%); }
  .hero-inner { display: grid; align-items: center; }
  .hero-copy { max-width: 62%; padding-block: 65px; }
  .hero h1 { font-size: clamp(3.2rem, 6.2vw, 6.1rem); }
  .hero-description { font-size: 1.05rem; margin-block: 24px 28px; }
  .hero-actions { gap: 10px; }
  .button { min-height: 47px; padding-inline: 18px; }
  .strip-inner { justify-content: space-between; max-width: 1000px; padding-block: 16px; }
  .strip-inner > * { font-size: .84rem; gap: 8px; }
  .strip-inner .icon { width: 18px; height: 18px; }
  .catalog-heading, .order-heading { grid-template-columns: 1fr minmax(0, 330px); gap: 20px; }
  .order-heading .button { justify-self: end; }
  .order-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-main { flex-direction: row; align-items: center; }
}
@media (min-width: 800px) {
  :root { --header-height: 77px; }
  .wrap { width: calc(100% - 80px); }
  .main-nav { display: flex; gap: clamp(18px, 3.4vw, 54px); align-items: center; font-size: .91rem; font-weight: 700; }
  .main-nav a { padding-block: 10px; }
  .main-nav a:hover { color: var(--burgundy); text-decoration: underline; text-underline-offset: .28em; }
  .header-cart { gap: 8px; padding: 0 11px; }
  .cart-label { display: inline; font-size: .84rem; font-weight: 700; }
  .mobile-toggle, .category-mobile { display: none; }
  .category-filters { display: flex; flex-wrap: wrap; gap: 6px; }
  .filter-button { min-height: 42px; border: 1px solid var(--line); border-radius: 22px; padding: 7px 13px; background: var(--paper); color: var(--ink); font-size: .8rem; font-weight: 700; transition: background .18s, border-color .18s; }
  .filter-button:hover { border-color: #b7886f; background: #f0e2d6; }
  .filter-button[aria-pressed="true"] { background: var(--burgundy); color: #fff7ec; border-color: var(--burgundy); }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
  .store-inner { grid-template-columns: .9fr 1fr; align-items: center; }
}
@media (min-width: 1120px) {
  .hero { min-height: clamp(520px, 45vw, 665px); }
  .hero-copy { padding-inline-end: 20px; }
  .hero-kicker { margin-bottom: 17px; }
  .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .product-body { padding: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

.hero-credit { position: absolute; z-index: 1; right: 14px; bottom: 12px; color: #fff7ed; background: #261c1be8; border-radius: 4px; padding: 3px 6px; font-size: .64rem; line-height: 1.3; }
.group-note { color: var(--muted); margin: -4px 0 13px; font-size: .9rem; }
.group-photo { display: inline-flex; align-items: center; min-height: 44px; gap: 5px; color: var(--burgundy-dark); text-decoration: underline; text-underline-offset: .18em; }
.group-photo .icon { width: 15px; height: 15px; }
.image-unavailable { position: absolute; inset: 0; display: grid; place-items: center; padding: 12px; color: #fff7ed; text-align: center; }
.dialog-head h2:focus { outline: none; }
