@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600&family=Italiana&display=swap");

:root {
  --ink: #40342d;
  --paper: #fff9f1;
  --warm: #f3dfca;
  --cream: #fffdf8;
  --line: rgba(112, 84, 65, 0.18);
  --muted: #74675d;
  --accent: #d8755e;
  --green: #7b956a;
  --display: "Italiana", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; font-weight: 400; }
body.locked { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.announcement { height: 34px; background: #8d604d; color: #fffaf5; display: flex; align-items: center; justify-content: center; gap: 18px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.announcement-dot { width: 3px; height: 3px; border-radius: 50%; background: #f1c798; }
.site-header { height: 90px; padding: 0 clamp(24px, 5vw, 78px); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid var(--line); background: rgba(255,249,241,.96); backdrop-filter: blur(18px); position: sticky; top: 0; z-index: 40; }
.brand-link { width: max-content; display: block; }
.brand-logo { width: 74px; height: 74px; display: block; overflow: hidden; border-radius: 50%; border: 1px solid rgba(169,127,43,.45); background: #111; box-shadow: 0 5px 18px rgba(17,17,15,.14); }
.brand-logo img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; transform: scale(1.08); }
.desktop-nav { display: flex; align-items: center; gap: 34px; font-size: 14px; }
.desktop-nav a { position: relative; padding: 31px 0; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 20px; height: 1px; background: var(--ink); transition: right .25s; }
.desktop-nav a:hover::after { right: 0; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 16px; }
.icon-button, .text-button { background: none; border: 0; cursor: pointer; padding: 8px; font-size: 13px; }
.icon-button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.cart-button { border: 0; background: var(--accent); color: white; min-width: 100px; height: 43px; padding: 0 14px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-size: 12px; letter-spacing: .04em; }
.cart-count { width: 21px; height: 21px; border-radius: 50%; background: white; color: var(--ink); display: grid; place-items: center; font-size: 10px; }

.hero { min-height: 560px; height: calc(100svh - 124px); max-height: 780px; display: grid; grid-template-columns: minmax(520px, 48%) 1fr; position: relative; overflow: hidden; }
.hero-copy { padding: clamp(66px, 8vh, 96px) clamp(44px, 6vw, 92px) 58px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; background: var(--paper); position: relative; z-index: 2; }
.eyebrow { margin: 0 0 22px; font-size: 11px; line-height: 1.45; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.hero-eyebrow { color: #615e57; margin-bottom: 34px; }
.hero-eyebrow span { color: var(--accent); margin-right: 10px; }
.hero-eyebrow b, .hero-button b { font: inherit; }
.hero h1 { margin: 0 0 32px; font-family: var(--display); font-weight: 400; font-size: clamp(56px, 5.6vw, 88px); line-height: .96; letter-spacing: -.035em; }
.hero h1 em { color: var(--accent); font-weight: 400; }
.hero-text { width: min(560px, 100%); margin: 0 0 34px; color: #535049; font-size: 17px; line-height: 1.7; }
.hero-actions { display: flex; align-items: center; gap: 12px; margin-bottom: 42px; }
.hero-button { min-height: 52px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; gap: 28px; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; border: 1px solid var(--ink); transition: .2s; }
.hero-button.primary { color: white; background: var(--accent); border-color: var(--accent); }
.hero-button.secondary { background: transparent; }
.hero-button:hover { transform: translateY(-2px); }
.hero-assurance { display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: center; padding-top: 22px; border-top: 1px solid var(--line); width: 100%; }
.assurance-mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--warm); font-family: var(--display); font-size: 17px; }
.hero-assurance p { color: #615e57; font-size: 12px; line-height: 1.55; margin: 0; }
.hero-assurance strong { color: var(--ink); font-size: 13px; font-weight: 500; }
.primary-link { border-bottom: 1px solid var(--ink); padding: 0 0 8px; text-transform: uppercase; font-size: 10px; letter-spacing: .16em; display: flex; align-items: center; gap: 42px; }
.primary-link span { font-size: 16px; }
.hero-visual { min-height: 0; overflow: hidden; position: relative; display: grid; place-items: center; background: #f4dfc9; }
.hero-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(40,30,20,.06), transparent 35%); }
.hero-visual img { position: absolute; inset: 8%; width: 84%; height: 84%; object-fit: contain; object-position: center center; background: transparent; }
.hero-stamp { position: absolute; right: 30px; top: 28px; width: 87px; height: 87px; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; z-index: 2; color: white; display: flex; flex-direction: column; align-items: center; justify-content: center; backdrop-filter: blur(8px); }
.hero-stamp span { font-size: 7px; letter-spacing: .25em; }
.hero-stamp strong { font-family: var(--display); font-size: 20px; font-weight: 400; line-height: 1.05; }
.hero-image-caption { position: absolute; left: 28px; bottom: 28px; z-index: 2; display: flex; align-items: center; gap: 12px; background: rgba(246,242,235,.92); padding: 13px 16px; backdrop-filter: blur(10px); }
.hero-image-caption > span { color: var(--accent); font-family: var(--display); font-size: 20px; }
.hero-image-caption p { color: #58554f; font-size: 11px; line-height: 1.5; margin: 0; }
.hero-image-caption strong { color: var(--ink); font-weight: 500; }

.trust-row { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--cream); padding: 0 clamp(24px, 5vw, 78px); }
.trust-row article { min-height: 168px; padding: 36px 4vw 36px 0; display: flex; align-items: flex-start; gap: 20px; border-right: 1px solid var(--line); }
.trust-row article + article { padding-left: 4vw; }
.trust-row article:last-child { border-right: 0; }
.trust-row article > span { flex: 0 0 auto; min-width: 32px; padding-top: 3px; color: var(--accent); font-family: var(--sans); font-size: 20px; line-height: 1.25; font-weight: 600; letter-spacing: .04em; }
.trust-row div { display: flex; flex-direction: column; gap: 11px; }
.trust-row strong { color: var(--ink); font-family: var(--display); font-size: clamp(24px, 1.8vw, 29px); line-height: 1.25; font-weight: 500; }
.trust-row p { margin: 0; color: #47433d; font-size: 16px; line-height: 1.72; }

.collection { padding: 105px clamp(24px, 5vw, 78px) 130px; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 55px; }
.section-heading .eyebrow { margin-bottom: 16px; }
.section-heading h2, .editorial h2, .contact-strip h2 { font-family: var(--display); font-weight: 400; font-size: clamp(40px, 5vw, 67px); margin: 0; letter-spacing: -.025em; }
.section-heading > p { max-width: 440px; color: #5c5952; font-size: 16px; line-height: 1.7; margin: 0 0 4px; }
.catalog-toolbar { padding: 13px 0; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 34px; }
.category-list { display: flex; gap: 6px; flex-wrap: wrap; }
.filter-button { border: 0; background: transparent; padding: 11px 15px; font-size: 13px; cursor: pointer; color: #5c5952; }
.filter-button.active { background: var(--ink); color: white; }
.catalog-tools { display: flex; align-items: center; gap: 9px; }
.search-field { max-width: 0; opacity: 0; overflow: hidden; transition: .3s; }
.search-field.open { max-width: 190px; opacity: 1; }
.search-field input { width: 180px; border: 0; border-bottom: 1px solid var(--ink); background: transparent; outline: none; padding: 8px 2px; font-size: 11px; }
.catalog-tools select { border: 0; background: transparent; padding: 8px 28px 8px 8px; font-size: 12px; color: #5c5952; outline: none; cursor: pointer; }
.catalog-intro { display: flex; justify-content: space-between; gap: 20px; margin: 0 0 24px; color: #6a675f; font-size: 12px; line-height: 1.5; }
.catalog-intro p { margin: 0; }
.catalog-intro strong { color: var(--ink); font-weight: 600; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px 18px; }
.product-card { position: relative; min-width: 0; }
.product-image-wrap { aspect-ratio: 2 / 3; background: #f3e5d7; overflow: hidden; position: relative; cursor: pointer; }
.product-image-wrap img { height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.75,.25,1); }
.product-card:hover .product-image-wrap img { transform: scale(1.035); }
.product-badge { position: absolute; top: 12px; left: 12px; background: var(--paper); padding: 8px 10px; font-size: 10px; text-transform: uppercase; letter-spacing: .13em; z-index: 2; }
.product-demo { position: absolute; top: 12px; right: 12px; z-index: 2; color: white; background: rgba(23,23,19,.72); padding: 7px 8px; font-size: 8px; font-weight: 600; letter-spacing: .12em; backdrop-filter: blur(5px); }
.quick-add { position: absolute; left: 10px; right: 10px; bottom: 10px; border: 0; background: rgba(246,242,235,.95); height: 46px; cursor: pointer; transform: translateY(62px); transition: .3s; text-transform: uppercase; font-size: 10px; font-weight: 600; letter-spacing: .12em; }
.product-card:hover .quick-add, .quick-add:focus { transform: translateY(0); }
.product-meta { padding-top: 15px; display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; cursor: pointer; }
.product-meta h3 { margin: 0; font-size: 15px; font-weight: 500; line-height: 1.4; }
.product-meta strong { color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.4; font-weight: 600; letter-spacing: .01em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.product-meta p { grid-column: 1 / -1; margin: 0; color: #69665f; font-size: 11px; line-height: 1.45; text-transform: uppercase; letter-spacing: .1em; }
.empty-state { text-align: center; padding: 70px 20px; border: 1px solid var(--line); }
.empty-state p { font-family: var(--display); font-size: 25px; }

.editorial { display: grid; grid-template-columns: 53% 47%; min-height: 680px; background: #d7d0c6; }
.editorial-image { overflow: hidden; }
.editorial-image img { height: 100%; object-fit: cover; object-position: center 26%; }
.editorial-copy { padding: 90px 8vw; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.editorial-copy h2 { line-height: 1.03; margin-bottom: 34px; }
.editorial-copy > p:not(.eyebrow) { color: #504d47; font-size: 16px; line-height: 1.8; max-width: 470px; margin: 0 0 42px; }
.editorial-copy a { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; padding-bottom: 7px; border-bottom: 1px solid; display: flex; gap: 38px; }
.contact-strip { text-align: center; padding: 105px 24px; background: var(--paper); }
.contact-strip h2 { margin-bottom: 34px; }
.contact-strip a { display: inline-flex; gap: 45px; border-bottom: 1px solid; padding: 0 0 9px; font-size: 12px; text-transform: uppercase; letter-spacing: .13em; }

footer { background: #6d5548; color: #fff7ed; }
.footer-main { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 55px; padding: 75px clamp(24px, 5vw, 78px) 65px; }
.footer-logo .brand-logo { width: 112px; height: 112px; border-color: rgba(215,183,96,.68); box-shadow: 0 10px 32px rgba(0,0,0,.3); }
.footer-logo .brand-logo img { filter: none; object-position: center; }
.footer-brand p, .newsletter p { font-family: var(--display); color: #c5c0b7; font-size: 16px; line-height: 1.65; font-style: italic; margin-top: 28px; }
.footer-main > div:not(.footer-brand) { display: flex; flex-direction: column; gap: 15px; color: #c8c3ba; font-size: 14px; line-height: 1.55; }
.footer-main strong { color: #f3eee5; font-size: 12px; line-height: 1.45; text-transform: uppercase; letter-spacing: .15em; margin-bottom: 11px; }
.newsletter form { display: flex; border-bottom: 1px solid #5c5a55; margin-top: 12px; }
.newsletter input { flex: 1; color: white; min-width: 0; border: 0; background: none; outline: 0; padding: 12px 0; font-size: 14px; }
.newsletter button { border: 0; background: none; color: white; cursor: pointer; }
.footer-bottom { border-top: 1px solid #33332f; padding: 21px clamp(24px, 5vw, 78px); display: flex; justify-content: space-between; color: #aaa69e; font-size: 12px; line-height: 1.5; text-transform: uppercase; letter-spacing: .1em; }

.drawer-backdrop { position: fixed; inset: 0; background: rgba(23,23,19,.42); backdrop-filter: blur(2px); z-index: 80; opacity: 0; visibility: hidden; transition: .3s; }
.drawer-backdrop.open { opacity: 1; visibility: visible; }
.drawer { position: fixed; z-index: 90; right: 0; top: 0; width: min(490px, 100%); height: 100dvh; background: var(--cream); transform: translateX(100%); transition: transform .38s cubic-bezier(.2,.8,.2,1); display: flex; flex-direction: column; box-shadow: -20px 0 50px rgba(20,20,15,.13); }
.drawer.open { transform: translateX(0); }
.admin-drawer { width: min(620px, 100%); }
.drawer-header { min-height: 100px; padding: 25px 30px 21px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.drawer-header .eyebrow { margin-bottom: 6px; }
.drawer-header h2 { font-family: var(--display); font-size: 30px; font-weight: 400; margin: 0; }
.close-button, .dialog-close { border: 0; background: none; font-family: var(--display); font-size: 29px; cursor: pointer; }
.cart-body, .admin-body { flex: 1; overflow-y: auto; padding: 25px 30px; }
.cart-item { display: grid; grid-template-columns: 82px 1fr auto; gap: 14px; padding: 0 0 20px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.cart-item img { width: 82px; height: 103px; object-fit: cover; background: var(--warm); }
.cart-item h3 { font-family: var(--display); font-weight: 400; font-size: 16px; margin: 4px 0 8px; }
.cart-item p { margin: 0 0 13px; color: var(--muted); font-size: 10px; }
.qty-controls { border: 1px solid var(--line); width: 86px; display: grid; grid-template-columns: 1fr 1fr 1fr; }
.qty-controls button, .qty-controls span { height: 27px; border: 0; background: transparent; display: grid; place-items: center; font-size: 11px; }
.qty-controls button { cursor: pointer; }
.cart-item > div:last-child { text-align: right; display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }
.cart-item strong { font-family: var(--display); font-weight: 400; font-size: 14px; }
.remove-item { border: 0; background: none; color: var(--muted); text-decoration: underline; font-size: 9px; cursor: pointer; padding: 0; }
.cart-empty { text-align: center; height: 100%; display: grid; place-items: center; align-content: center; gap: 14px; }
.cart-empty .empty-mark { font-family: var(--display); font-size: 58px; color: #c2baae; }
.cart-empty h3 { font-family: var(--display); font-size: 26px; font-weight: 400; margin: 0; }
.cart-empty p { color: var(--muted); font-size: 11px; }
.cart-footer { border-top: 1px solid var(--line); padding: 22px 30px 27px; }
.cart-footer[hidden] { display: none; }
.cart-total { display: flex; justify-content: space-between; align-items: center; }
.cart-total span { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; }
.cart-total strong { font-family: var(--display); font-size: 27px; font-weight: 400; }
.cart-footer > p { color: var(--muted); font-size: 9px; margin: 8px 0 20px; }
.primary-button, .secondary-button, .whatsapp-button { border: 0; min-height: 46px; padding: 0 18px; display: inline-flex; justify-content: center; align-items: center; gap: 20px; cursor: pointer; font-size: 10px; text-transform: uppercase; letter-spacing: .12em; }
.primary-button { width: 100%; background: var(--accent); color: white; }
.secondary-button { background: transparent; border: 1px solid var(--ink); color: var(--ink); }
.primary-button.compact { width: auto; min-height: 38px; margin-left: auto; font-size: 9px; }

dialog { border: 0; padding: 0; max-width: none; color: var(--ink); background: var(--cream); box-shadow: 0 25px 70px rgba(0,0,0,.22); }
dialog::backdrop { background: rgba(23,23,19,.58); backdrop-filter: blur(3px); }
.dialog-close { position: absolute; z-index: 5; right: 19px; top: 14px; }
.product-dialog { width: min(980px, calc(100% - 34px)); }
.product-detail { display: grid; grid-template-columns: 52% 48%; min-height: 600px; }
.product-detail-image { background: var(--warm); min-height: 600px; }
.product-detail-image img { height: 100%; object-fit: cover; }
.product-detail-copy { padding: 65px 55px 45px; }
.product-detail-copy .eyebrow { margin-bottom: 15px; }
.product-detail-copy h2 { font-family: var(--display); font-weight: 400; font-size: 39px; line-height: 1.08; margin: 0 0 13px; }
.detail-price { font-family: var(--display); font-size: 21px; margin: 0 0 28px; }
.detail-description { color: var(--muted); font-size: 12px; line-height: 1.75; padding: 23px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.size-title { display: flex; justify-content: space-between; margin: 25px 0 13px; font-size: 10px; text-transform: uppercase; letter-spacing: .12em; }
.size-title button { border: 0; background: none; text-decoration: underline; color: var(--muted); cursor: pointer; font-size: 9px; }
.size-options { display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; margin-bottom: 25px; }
.size-option { height: 43px; border: 1px solid var(--line); background: transparent; cursor: pointer; font-size: 11px; }
.size-option.active { background: var(--ink); color: white; border-color: var(--ink); }
.size-option[disabled] { opacity: .35; cursor: not-allowed; text-decoration: line-through; }
.stock-note { font-size: 9px; color: var(--green); margin: -12px 0 25px; }
.detail-help { margin-top: 18px; font-size: 9px; color: var(--muted); text-align: center; }

.checkout-dialog { width: min(1030px, calc(100% - 34px)); }
.checkout-layout { display: grid; grid-template-columns: 58% 42%; }
.checkout-form-panel { padding: 55px 60px 50px; }
.checkout-form-panel h2 { font-family: var(--display); font-weight: 400; font-size: 41px; margin: 0 0 12px; }
.checkout-intro { color: var(--muted); font-size: 11px; margin-bottom: 30px; }
#checkoutForm { display: grid; gap: 15px; }
#checkoutForm label, #settingsForm label, .form-grid > label { display: grid; gap: 7px; font-size: 9px; text-transform: uppercase; letter-spacing: .11em; }
#checkoutForm label > span { color: var(--muted); text-transform: none; letter-spacing: 0; }
input, textarea { border: 1px solid var(--line); background: transparent; padding: 12px; outline: none; resize: vertical; }
input:focus, textarea:focus { border-color: var(--ink); }
.consent { grid-template-columns: auto 1fr !important; align-items: start; text-transform: none !important; letter-spacing: 0 !important; line-height: 1.5; }
.consent input { accent-color: var(--ink); margin: 2px 0 0; }
.whatsapp-button { width: 100%; background: #1f694d; color: white; margin-top: 5px; }
.whatsapp-button svg { width: 17px; height: 17px; fill: currentColor; }
.payment-panel { background: #e7dfd4; padding: 58px 45px 40px; }
.payment-panel h3 { font-family: var(--display); font-size: 27px; font-weight: 400; margin: 0 0 25px; }
.bank-card { border: 1px solid rgba(23,23,19,.2); background: rgba(255,255,255,.25); padding: 20px; display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; }
.bank-icon { width: 33px; height: 33px; border-radius: 50%; background: var(--ink); color: white; display: grid; place-items: center; }
.bank-card p { white-space: pre-line; margin: 0; font-size: 11px; line-height: 1.65; }
.payment-panel ol { padding-left: 18px; margin: 25px 0; color: #5e5a54; font-size: 10px; line-height: 2; }
.no-card-note { display: flex; gap: 10px; padding: 13px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 9px; line-height: 1.5; color: #5e5a54; }
.no-card-note span { color: var(--green); }
.no-card-note p { margin: 0; }
.checkout-mini-summary { margin-top: 20px; }
.checkout-mini-row, .checkout-mini-total { display: flex; justify-content: space-between; gap: 15px; font-size: 9px; padding: 7px 0; }
.checkout-mini-total { border-top: 1px solid var(--line); margin-top: 7px; padding-top: 14px; font-family: var(--display); font-size: 16px; }

.admin-summary { display: flex; gap: 24px; align-items: center; background: var(--warm); padding: 17px 18px; margin-bottom: 22px; }
.admin-summary div { display: flex; flex-direction: column; }
.admin-summary strong { font-family: var(--display); font-size: 24px; font-weight: 400; }
.admin-summary span { font-size: 8px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.admin-product { display: grid; grid-template-columns: 58px 1fr auto; gap: 13px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); }
.admin-product img { width: 58px; height: 72px; object-fit: cover; background: var(--warm); }
.admin-product h4 { margin: 0 0 5px; font-family: var(--display); font-weight: 400; font-size: 15px; }
.admin-product p { margin: 0; color: var(--muted); font-size: 9px; }
.admin-status { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--green); margin-right: 5px; }
.admin-status.off { background: #aaa49a; }
.admin-product-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 7px; }
.admin-product-actions button { border: 0; background: none; cursor: pointer; padding: 2px; font-size: 9px; text-decoration: underline; }
.admin-settings { margin-top: 40px; padding-top: 25px; border-top: 1px solid var(--line); }
.admin-section-title h3 { font-family: var(--display); font-size: 23px; font-weight: 400; margin: 0 0 20px; }
.admin-section-title .eyebrow { margin-bottom: 5px; }
#settingsForm { display: grid; gap: 14px; }
#settingsForm .secondary-button { justify-self: start; }
.admin-help { margin: -8px 0 18px; color: var(--muted); font-size: 12px; line-height: 1.65; }
.admin-category-add { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: end; margin-bottom: 18px; }
.admin-category-add label, #heroSettingsForm label { display: grid; gap: 7px; color: var(--ink); font-size: 10px; line-height: 1.4; text-transform: uppercase; letter-spacing: .09em; }
.admin-category-add .secondary-button { min-height: 43px; }
.admin-category-list { display: grid; gap: 10px; }
.admin-category-row { border: 1px solid var(--line); background: rgba(255,255,255,.32); padding: 13px; display: grid; grid-template-columns: minmax(150px, 1fr) minmax(170px, 1fr) auto; gap: 12px; align-items: end; }
.admin-category-name { display: grid; gap: 5px; }
.admin-category-name input { min-width: 0; font-size: 13px; font-weight: 600; }
.admin-category-name span, .admin-category-empty { color: var(--muted); font-size: 10px; line-height: 1.45; }
.admin-category-row label { display: grid; gap: 5px; color: var(--muted); font-size: 9px; line-height: 1.4; text-transform: uppercase; letter-spacing: .08em; }
.admin-category-row select, #heroSettingsForm select { width: 100%; border: 1px solid var(--line); background: var(--paper); min-height: 43px; padding: 9px 30px 9px 10px; color: var(--ink); }
.admin-category-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 7px; }
.admin-category-actions button { border: 0; background: none; padding: 2px; font-size: 10px; text-decoration: underline; cursor: pointer; }
.admin-category-actions button:last-child { color: #984033; }
.admin-category-actions button:disabled { opacity: .4; cursor: not-allowed; }
#heroSettingsForm { display: grid; gap: 18px; }
.hero-admin-preview { min-height: 245px; display: grid; grid-template-columns: 46% 54%; border: 1px solid var(--line); background: var(--paper); overflow: hidden; }
.hero-admin-preview-copy { padding: 22px; display: flex; flex-direction: column; justify-content: center; }
.hero-admin-preview-copy small { color: var(--accent); font-size: 8px; letter-spacing: .12em; }
.hero-admin-preview-copy strong { margin: 14px 0 11px; font-family: var(--display); font-size: 27px; line-height: 1; font-weight: 400; }
.hero-admin-preview-copy strong span, .hero-admin-preview-copy strong em { display: block; }
.hero-admin-preview-copy strong em { color: var(--accent); font-weight: 400; }
.hero-admin-preview-copy p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.hero-admin-preview img { width: 100%; height: 245px; background: #d6c6b4; }
.admin-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
#heroSettingsForm .secondary-button { justify-self: start; }
.data-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 42px; padding-top: 25px; border-top: 1px solid var(--line); }
.file-button input { display: none; }
.text-danger { border: 0; background: none; color: #984033; text-decoration: underline; cursor: pointer; font-size: 9px; }
.admin-note { padding: 20px 0; color: var(--muted); font-size: 9px; line-height: 1.6; }
.admin-dialog { width: min(680px, calc(100% - 34px)); max-height: calc(100dvh - 34px); overflow-y: auto; }
#productForm { padding: 45px 48px 35px; }
.form-heading h2 { font-family: var(--display); font-weight: 400; font-size: 34px; margin: 0 0 30px; }
.form-heading .eyebrow { margin-bottom: 5px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.span-2 { grid-column: 1 / -1; }
.form-grid fieldset { border: 0; padding: 0; margin: 0; }
.form-grid legend { font-size: 9px; text-transform: uppercase; letter-spacing: .11em; margin-bottom: 8px; }
.size-checkboxes { display: flex; gap: 7px; }
.size-checkboxes label input { display: none; }
.size-checkboxes span { width: 48px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); font-size: 10px; cursor: pointer; }
.size-checkboxes input:checked + span { background: var(--ink); color: white; }
.upload-field small { color: var(--muted); text-transform: none; letter-spacing: 0; }
.toggle-label { display: flex !important; grid-template-columns: auto 1fr; align-items: center; flex-direction: row; }
.toggle-label input { display: none; }
.toggle-label > span { width: 34px; height: 19px; border-radius: 20px; background: #bbb6ae; position: relative; }
.toggle-label > span::after { content: ""; width: 13px; height: 13px; border-radius: 50%; background: white; position: absolute; top: 3px; left: 3px; transition: .2s; }
.toggle-label input:checked + span { background: var(--green); }
.toggle-label input:checked + span::after { left: 18px; }
.form-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 30px; }
.form-actions .primary-button { width: auto; }
.toast { position: fixed; z-index: 200; left: 50%; bottom: 28px; transform: translate(-50%, 20px); background: var(--ink); color: white; padding: 12px 20px; font-size: 10px; letter-spacing: .05em; opacity: 0; visibility: hidden; transition: .25s; }
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr 1fr; }
  .desktop-nav { display: none; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .hero { grid-template-columns: minmax(420px, 48%) 1fr; }
  .hero-copy { padding-left: 44px; padding-right: 44px; }
  .hero h1 { font-size: 65px; }
  .hero-actions { align-items: stretch; flex-direction: column; width: 100%; }
  .footer-main { grid-template-columns: 2fr 1fr 1fr; }
  .newsletter { grid-column: 1 / -1; max-width: 420px; }
}

@media (max-width: 720px) {
  .announcement { justify-content: center; gap: 0; }
  .announcement span:not(:first-child) { display: none; }
  .site-header { height: 70px; padding: 0 17px; }
  .brand-logo { width: 56px; height: 56px; }
  .admin-trigger, .icon-button { display: none; }
  .hero { min-height: auto; height: auto; max-height: none; display: flex; flex-direction: column; }
  .hero-visual { min-height: 0; height: auto; aspect-ratio: 2 / 3; order: 1; }
  .hero-copy { padding: 44px 24px 46px; order: 2; }
  .hero-copy .eyebrow { margin-bottom: 25px; }
  .hero h1 { margin: 0 0 25px; font-size: clamp(53px, 15vw, 68px); line-height: .95; }
  .hero-text { font-size: 16px; line-height: 1.68; }
  .hero-actions { margin-bottom: 32px; }
  .hero-button { width: 100%; min-height: 50px; }
  .hero-assurance { padding-top: 18px; }
  .hero-visual img { inset: 0; width: 100%; height: 100%; }
  .hero-image-caption, .hero-stamp { display: none; }
  .trust-row { grid-template-columns: 1fr; padding: 0 24px; }
  .trust-row article, .trust-row article + article { border-right: 0; border-bottom: 1px solid var(--line); padding: 30px 0; min-height: 125px; }
  .trust-row article:last-child { border-bottom: 0; }
  .collection { padding: 75px 16px 90px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 20px; margin-bottom: 40px; padding: 0 8px; }
  .catalog-toolbar { align-items: flex-start; gap: 12px; }
  .category-list { gap: 2px; overflow-x: auto; flex-wrap: nowrap; max-width: 100%; }
  .filter-button { white-space: nowrap; padding: 8px 11px; }
  .catalog-tools { display: none; }
  .catalog-intro { align-items: flex-start; flex-direction: column; font-size: 12px; padding: 0 8px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 35px 9px; }
  .quick-add { transform: translateY(0); height: 40px; font-size: 9px; }
  .product-meta { grid-template-columns: 1fr; gap: 4px; }
  .product-meta strong { grid-row: 3; }
  .product-meta h3 { font-size: 14px; }
  .product-meta p { font-size: 10px; line-height: 1.5; }
  .editorial { grid-template-columns: 1fr; }
  .editorial-image { height: 60vh; }
  .editorial-copy { padding: 70px 27px; }
  .footer-main { grid-template-columns: 1fr 1fr; padding: 55px 25px; }
  .footer-brand, .newsletter { grid-column: 1 / -1; }
  .footer-bottom { padding: 18px 25px; }
  .product-detail { grid-template-columns: 1fr; max-height: 90vh; overflow-y: auto; }
  .product-detail-image { min-height: 52vh; height: 52vh; }
  .product-detail-copy { padding: 35px 25px; }
  .checkout-dialog { max-height: calc(100dvh - 24px); overflow-y: auto; width: calc(100% - 24px); }
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-form-panel, .payment-panel { padding: 45px 25px 35px; }
  .payment-panel { grid-row: 1; }
  .form-grid { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  #productForm { padding: 45px 22px 30px; }
  .admin-category-add, .admin-category-row, .admin-form-grid { grid-template-columns: 1fr; }
  .admin-category-actions { align-items: flex-start; flex-direction: row; gap: 14px; }
  .hero-admin-preview { grid-template-columns: 1fr; }
  .hero-admin-preview img { height: 230px; }
  .admin-summary { gap: 13px; }
  .drawer-header, .cart-body, .admin-body, .cart-footer { padding-left: 20px; padding-right: 20px; }
}


/* Multi-page storefront */
[hidden] { display: none !important; }
.mobile-nav { display: none; }
.route-view { min-height: calc(100svh - 116px); background: var(--paper); }
.route-shell { width: min(1320px, calc(100% - 48px)); margin: 0 auto; padding: 72px 0 110px; }
.route-heading { max-width: 780px; margin-bottom: 54px; }
.route-heading.wide { max-width: 980px; }
.route-heading h1, .route-empty h1 { margin: 0 0 22px; font-family: var(--display); font-size: clamp(52px, 7vw, 94px); line-height: .98; font-weight: 400; letter-spacing: -.03em; }
.route-heading h1 em { color: var(--accent); font-weight: 400; }
.route-heading > p:last-child { max-width: 650px; color: #57534c; font-size: 17px; line-height: 1.75; }
.breadcrumbs { display: flex; gap: 10px; align-items: center; margin-bottom: 28px; color: #716d65; font-size: 12px; }
.breadcrumbs a { text-decoration: underline; }
.route-product-detail { min-height: 660px; border: 1px solid var(--line); background: var(--cream); }
.route-product-detail .product-detail-copy h1 { margin: 0 0 14px; font-family: var(--display); font-size: clamp(42px, 4vw, 64px); line-height: 1; font-weight: 400; }
.route-cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 60px; align-items: start; }
.route-cart-list { border-top: 1px solid var(--line); }
.route-cart-item { display: grid; grid-template-columns: 130px 1fr auto; gap: 22px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.route-cart-item img { width: 130px; height: 160px; object-fit: cover; background: var(--warm); }
.route-cart-item .eyebrow { margin-bottom: 8px; }
.route-cart-item h3 { margin: 0 0 12px; font-family: var(--display); font-size: 24px; font-weight: 400; }
.route-cart-item p { margin: 0 0 16px; color: #625f58; font-size: 13px; }
.route-cart-price { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }
.route-cart-price > strong { font-family: var(--display); font-size: 20px; font-weight: 400; }
.route-cart-summary { position: sticky; top: 110px; padding: 30px; background: #e9e1d5; }
.route-cart-summary > div { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; font-size: 13px; }
.route-cart-summary > p:not(.eyebrow) { color: #615d56; font-size: 12px; line-height: 1.6; }
.route-cart-summary .route-total { margin-top: 18px; padding-top: 20px; border-top: 1px solid var(--line); font-family: var(--display); font-size: 21px; }
.route-cart-summary > a { display: block; margin-top: 18px; text-align: center; text-decoration: underline; font-size: 11px; }
.route-empty { min-height: 470px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; border: 1px solid var(--line); }
.route-empty > span { margin-bottom: 20px; color: var(--accent); font-family: var(--display); font-size: 38px; }
.route-empty h2 { margin: 0 0 12px; font-family: var(--display); font-size: 38px; font-weight: 400; }
.route-empty p { margin-bottom: 28px; color: #625f58; }
.route-empty .hero-button { width: auto; }
.about-grid { display: grid; grid-template-columns: 52% 48%; min-height: 680px; background: #ded5ca; }
.about-grid > img { width: 100%; height: 100%; object-fit: contain; background: #cdbca9; }
.about-grid > div { padding: 72px clamp(34px, 6vw, 84px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.about-grid h2, .support-grid h2, .gateway-card h2 { margin: 0 0 24px; font-family: var(--display); font-size: clamp(34px, 4vw, 55px); line-height: 1.05; font-weight: 400; }
.about-grid p:not(.eyebrow) { color: #524f49; font-size: 16px; line-height: 1.8; }
.support-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.support-grid article { min-height: 420px; padding: 42px 34px; border-right: 1px solid var(--line); }
.support-grid article:last-child { border-right: 0; }
.support-grid article > span { color: var(--accent); font-family: var(--display); font-size: 20px; }
.support-grid h2 { margin-top: 32px; font-size: 34px; }
.support-grid p, .support-grid li { color: #5c5952; font-size: 14px; line-height: 1.75; }
.support-grid ol { padding-left: 20px; }
.support-grid .whatsapp-button { margin-top: 25px; }
.instagram-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 14px; padding-bottom: 7px; border-bottom: 1px solid var(--accent); color: var(--ink); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.collection-all-link { width: max-content; margin: 0 0 28px auto; display: flex; gap: 28px; align-items: center; border-bottom: 1px solid; padding-bottom: 8px; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.load-more-button { min-width: 280px; min-height: 52px; margin: 54px auto 0; padding: 0 24px; display: flex; align-items: center; justify-content: center; gap: 28px; border: 1px solid var(--ink); background: transparent; cursor: pointer; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
body[data-page="home"] .catalog-toolbar { display: none; }
.admin-gateway { max-width: 900px; }
.gateway-card { max-width: 520px; padding: 38px; border: 1px solid var(--line); background: var(--cream); display: grid; gap: 18px; }
.gateway-card label { display: grid; gap: 8px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.gateway-card h2 { font-size: 34px; margin: 0; }
.gateway-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: white; }
.gateway-help { color: #6c685f; font-size: 11px; }
.footer-bottom a { color: #aaa69e; transition: color .2s; }
.footer-bottom a:hover { color: white; }
.desktop-nav a.active, .mobile-nav a.active { color: var(--accent); }

@media (max-width: 720px) {
  .mobile-nav { min-height: 48px; padding: 0 16px; display: flex; align-items: center; gap: 22px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); background: rgba(246,242,235,.97); position: sticky; top: 67px; z-index: 38; }
  .mobile-nav::-webkit-scrollbar { display: none; }
  .mobile-nav a { flex: 0 0 auto; font-size: 11px; }
  .route-view { min-height: calc(100svh - 149px); }
  .route-shell { width: calc(100% - 32px); padding: 48px 0 80px; }
  .route-heading { margin-bottom: 36px; }
  .route-heading h1, .route-empty h1 { font-size: 52px; }
  .route-heading > p:last-child { font-size: 15px; }
  .route-product-detail { grid-template-columns: 1fr; }
  .route-product-detail .product-detail-image { min-height: 0; height: auto; aspect-ratio: 4 / 5; }
  .route-cart-layout { grid-template-columns: 1fr; gap: 34px; }
  .route-cart-item { grid-template-columns: 88px 1fr; gap: 15px; }
  .route-cart-item img { width: 88px; height: 112px; }
  .route-cart-price { grid-column: 2; align-items: flex-start; flex-direction: row; }
  .route-cart-summary { position: static; }
  .about-grid { grid-template-columns: 1fr; }
  .about-grid > img { aspect-ratio: 4 / 5; }
  .about-grid > div { padding: 48px 25px; }
  .support-grid { grid-template-columns: 1fr; }
  .support-grid article { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .support-grid article:last-child { border-bottom: 0; }
  .collection-all-link { margin-left: 8px; margin-right: 8px; }
  .footer-bottom { gap: 18px; align-items: flex-start; flex-direction: column; }
}


/* Final hero correction: original composition, owner-managed visual */
.hero-visual { width: auto; height: 100%; aspect-ratio: 1 / 1; padding: 0; gap: 0; border: 0; outline: 0; box-shadow: none; background: #f4dfc9; }
.hero-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: 50% 50%; border: 0; outline: 0; box-shadow: none; background: transparent; }
@media (min-width: 721px) {
  .hero { grid-template-columns: minmax(520px, 48%) 1fr; background: var(--paper); }
  .hero-copy { background: transparent; }
  .hero-visual {
    position: absolute;
    inset: 0 0 0 auto;
    z-index: 1;
    width: min(65vw, calc((100svh - 116px) * 1.2));
    height: 100%;
    aspect-ratio: auto;
    overflow: hidden;
  }
  .hero-visual[data-hero-fit="width"] img {
    inset: 50% 0 auto;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    transform: translateY(-50%);
    transform-origin: center center;
  }
  .hero-visual[data-hero-fit="width"] img[style*="top"] { inset: 0 0 auto; transform: none; }
  .hero-visual[data-hero-fit="width"] img[style*="bottom"] { inset: auto 0 0; transform: none; }
  .hero-visual[data-hero-fit="contain"] img { inset: 0; width: 100%; height: 100%; object-fit: contain; transform: none; }
  .hero-visual[data-hero-fit="cover"] img { inset: 0; width: 100%; height: 100%; object-fit: cover; transform: none; }
}
@media (max-width: 720px) {
  .hero-visual { width: 100%; height: auto; aspect-ratio: 1 / 1; }
  .hero-visual img { inset: 0; width: 100%; height: 100%; transform: none; }
  .hero-visual[data-hero-fit="cover"] img { object-fit: cover; }
  .hero-visual[data-hero-fit="contain"] img,
  .hero-visual[data-hero-fit="width"] img { object-fit: contain; }
}

/* Keep large-catalog search and sorting available on mobile */
@media (max-width: 720px) {
  .catalog-toolbar { flex-direction: column; align-items: stretch; gap: 16px; }
  .category-list { width: 100%; }
  .catalog-tools { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; width: 100%; }
  .search-field { display: block; max-width: none; opacity: 1; overflow: visible; }
  .search-field input { width: 100%; min-height: 42px; padding: 9px 10px; border: 1px solid var(--line); font-size: 14px; background: #fff; }
  .catalog-tools select { width: 100%; min-height: 42px; padding: 9px 30px 9px 10px; border: 1px solid var(--line); font-size: 13px; background-color: #fff; }
}
