:root {
  color-scheme: light;
  --navy: #101f3a;
  --green: #226128;
  --lime: #cbe879;
  --text: #162640;
  --muted: #506078;
  --line: #dce4df;
  --page: #f7f8f3;
  --white: #fff;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 88px; }
body { margin: 0; background: var(--page); color: var(--text); }
[hidden] { display: none !important; }
body:has(dialog[open]) { overflow: hidden; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .55; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 3px solid #477c36; outline-offset: 4px; }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.shell { width: min(100% - 48px, 1120px); margin-inline: auto; }

.site-header { position: sticky; top: 0; z-index: 2; border-bottom: 1px solid var(--line); background: #fff; }
.nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 19px; font-weight: 850; text-decoration: none; white-space: nowrap; letter-spacing: -.045em; }
.brand strong { color: var(--green); }
.brand-mark { width: 43px; height: 28px; background: url("assets/logo.webp") center top / 100% auto no-repeat; }
.nav nav { display: flex; gap: 32px; color: var(--muted); font-weight: 650; font-size: 14px; }
.nav nav a { text-decoration: none; }
.nav nav a:hover { color: var(--green); text-decoration: underline; }
.cart-button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 11px; border: 1px solid var(--line); border-radius: 12px; background: #f5f8f3; color: var(--navy); font-size: 14px; font-weight: 750; }
.cart-count, .dock-count { display: grid; place-items: center; min-width: 22px; height: 22px; padding-inline: 4px; border-radius: 50px; background: var(--green); color: #fff; font-size: 12px; }

.hero { margin-top: 28px; display: grid; grid-template-columns: 1.08fr 1fr; gap: 26px; align-items: stretch; padding: 25px; background: var(--navy); border-radius: 24px; color: #fff; overflow: hidden; }
.hero-copy { align-self: center; padding: 22px 16px 22px 20px; }
.eyebrow { font-size: 11px; font-weight: 850; letter-spacing: .13em; line-height: 1.4; }
.hero-eyebrow { color: var(--lime); display: flex; align-items: center; gap: 8px; }
.hero-eyebrow span { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); }
.hero h1 { margin-top: 15px; font-size: clamp(40px, 5.3vw, 66px); line-height: .99; letter-spacing: -.071em; font-weight: 840; }
.hero h1 em { font-style: normal; color: var(--lime); }
.hero-copy > p:not(.eyebrow) { margin-top: 18px; max-width: 34ch; color: #e2e9f2; font-size: 16px; line-height: 1.55; }
.button { min-height: 47px; border-radius: 11px; border: 0; padding: 0 16px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; text-decoration: none; font-size: 14px; font-weight: 800; line-height: 1.2; }
.button-lime { background: var(--lime); color: var(--navy); }
.button-lime:hover { background: #dcf0a8; }
.button-green { background: var(--green); color: #fff; }
.button-green:not(:disabled):hover { background: #174a1d; }
.hero .button { margin-top: 24px; }
.hero-visual {
  position: relative;
  align-self: center;
  width: 100%;
  aspect-ratio: 1.40;
  overflow: hidden;
  border-radius: 15px;
  background: #e9e7e2 url("assets/catalogo.webp") right top / 227% auto no-repeat;
}
.hero-visual span { position: absolute; bottom: 8px; right: 9px; border-radius: 30px; padding: 5px 8px; color: #fff; background: #101f3a; font-size: 8px; font-weight: 800; letter-spacing: .1em; }

.catalog-section, .how { margin: 49px 0; }
.section-eyebrow { color: var(--green); }
h2 { margin-top: 4px; font-size: clamp(26px, 3.8vw, 39px); line-height: 1.13; letter-spacing: -.055em; }
.product { margin-top: 17px; max-width: 730px; padding: 20px; border-radius: 17px; background: #fff; border: 1px solid var(--line); box-shadow: 0 8px 24px #19263708; }
.product-main { display: flex; gap: 15px; align-items: flex-start; }
.product-icon { display: grid; place-items: center; width: 64px; height: 64px; flex: none; background: #edf5df; color: var(--green); border-radius: 13px; font-size: 28px; }
.product-label, .price-label { font-size: 10px; color: var(--muted); font-weight: 850; letter-spacing: .11em; }
.product h3 { margin-top: 3px; font-size: clamp(22px, 3vw, 30px); letter-spacing: -.04em; line-height: 1.1; }
.product-description { margin-top: 7px; color: var(--muted); font-size: 14px; line-height: 1.4; }
.product-meta { margin-top: 8px; color: var(--green); font-size: 12px; font-weight: 750; }
.product-details { margin-top: 17px; border: 1px solid var(--line); border-radius: 11px; overflow: clip; }
.product-details summary { min-height: 44px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 12px; cursor: pointer; font-weight: 750; font-size: 14px; }
.product-details summary::-webkit-details-marker { display: none; }
.product-details summary:focus-visible { outline-offset: -4px; }
.product-details[open] summary .icon { transform: rotate(180deg); }
.product-details ul { margin: 0; padding: 0 12px 5px; list-style: none; }
.product-details li { display: flex; gap: 9px; align-items: baseline; border-top: 1px solid #e8ece8; padding: 8px 0; font-size: 14px; }
.product-details li span { min-width: 25px; color: var(--green); font-weight: 800; }
.product-bottom { margin-top: 17px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price { margin-top: 3px; font-size: 20px; font-weight: 850; letter-spacing: -.035em; }
.how { border-top: 1px solid var(--line); padding-top: 32px; }
.steps { list-style: none; padding: 0; margin: 17px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.steps li { padding: 16px; border-radius: 12px; border: 1px solid var(--line); display: flex; align-items: flex-start; gap: 11px; background: #fff; }
.steps li > span { flex: none; color: var(--green); font-weight: 850; font-size: 12px; background: #edf5df; border-radius: 8px; padding: 7px; }
.steps h3 { font-size: 15px; }
.steps p { margin-top: 5px; color: var(--muted); line-height: 1.45; font-size: 13px; }
.site-footer { background: var(--navy); color: white; }
.site-footer .shell { display: flex; justify-content: space-between; gap: 10px; padding-block: 22px; font-size: 14px; }
.site-footer span { color: #dce7f2; }

.mobile-cart { display: none; }
dialog { width: min(100% - 28px, 510px); max-height: calc(100dvh - 28px); padding: 21px; border-radius: 18px; border: 1px solid var(--line); color: var(--text); overflow: auto; }
dialog::backdrop { background: #0a1938ac; }
.dialog-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 17px; }
.icon-button { width: 44px; height: 44px; display: grid; place-items: center; background: #f5f8f3; color: var(--navy); border: 1px solid var(--line); border-radius: 10px; }
.empty { text-align: center; border: 1px dashed var(--line); padding: 24px 10px; border-radius: 13px; }
.empty > .icon { color: var(--green); font-size: 25px; margin-bottom: 7px; }
.empty p { color: var(--muted); font-size: 14px; margin: 5px 0 15px; }
.cart-line { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--page); border-radius: 12px; padding: 9px; }
.cart-line strong, #cart-price { display: block; }
#cart-price { color: var(--muted); font-size: 13px; margin-top: 4px; }
.stepper { display: flex; align-items: center; gap: 6px; }
.stepper output { min-width: 22px; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }
.form-fields { display: grid; gap: 12px; margin-top: 15px; }
label { display: block; font-size: 14px; font-weight: 740; }
.optional { color: var(--muted); font-weight: 500; }
input, textarea { display: block; width: 100%; padding: 9px 10px; min-height: 44px; margin-top: 4px; border: 1px solid #cdd7d0; border-radius: 9px; color: var(--navy); background: #fff; font-size: 16px; }
textarea { resize: vertical; }
.subtotal { display: flex; justify-content: space-between; gap: 12px; padding-top: 13px; border-top: 1px solid var(--line); margin-top: 15px; font-size: 14px; }
.order-note, .preview-note, .order-status { color: var(--muted); font-size: 13px; line-height: 1.4; margin-top: 8px; }
.preview-note { padding: 8px 10px; border-radius: 8px; background: #eef5e7; color: #23491e; }
.order-button { width: 100%; margin-top: 12px; }
.checkout { margin-top: 16px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; }
.checkout h3 { margin: 0; font-size: 17px; }
.order-status:empty { margin: 0; }
.copy-result { margin-top: 12px; }

@media (max-width: 730px) {
  html { scroll-padding-top: 75px; }
  .shell { width: calc(100% - 32px); }
  .nav { min-height: 62px; }
  .nav nav { display: none; }
  .hero { margin-top: 15px; grid-template-columns: 1fr; gap: 16px; padding: 16px; border-radius: 18px; }
  .hero-copy { padding: 5px 3px 0; }
  .hero h1 { margin-top: 11px; font-size: clamp(37px, 10.4vw, 58px); }
  .hero-copy > p:not(.eyebrow) { margin-top: 12px; font-size: 14px; }
  .hero .button { margin-top: 15px; }
  .hero-visual { max-width: 490px; aspect-ratio: 1.40; }
  .catalog-section, .how { margin-block: 31px; }
  .product { padding: 13px; margin-top: 12px; }
  .product-icon { width: 48px; height: 48px; border-radius: 10px; font-size: 22px; }
  .product-main { gap: 10px; }
  .steps { grid-template-columns: 1fr; }
  .mobile-cart { display: block; position: fixed; z-index: 2; bottom: 0; inset-inline: 0; padding: 10px 16px max(10px, env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); }
  .mobile-cart .button { width: 100%; justify-content: flex-start; }
  .mobile-cart .button > .icon:last-child { margin-left: auto; }
  .dock-count { background: #e6f3d7; color: var(--green); }
  body:has(.mobile-cart:not([hidden])) { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
}
@media (max-width: 355px) {
  .brand { font-size: 17px; }
  .product-bottom .button { padding-inline: 12px; }
  dialog { padding: 13px; }
}

/* Touch-friendly browsing and immediate cart feedback. */
html { scroll-behavior: smooth; }
.button, .chip, .cart-button, .quick-nav a, .quick-nav button { transition: transform .18s ease, background .18s ease, box-shadow .18s ease; }
.button:active, .cart-button:active, .chip:active { transform: scale(.96); }
.hero-copy { animation: enter .55s ease both; }
.hero-visual { animation: enter .7s ease both; }
.quick-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
.quick-nav a, .quick-nav button { background: #edf2e7; border: 1px solid #dce5d5; border-radius: 12px; padding: 16px; text-align: left; font-size: 13px; font-weight: 750; text-decoration: none; color: var(--green); display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.quick-nav a:hover, .quick-nav button:hover { background: #e1edce; transform: translateY(-2px); }
.item-tools { padding: 12px; background: #f6f8f2; }
.item-tools label { font-size: 12px; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.chip { min-height: 44px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 30px; background: white; color: var(--muted); font-size: 12px; font-weight: 700; }
.chip.active { background: var(--green); border-color: var(--green); color: white; }
#filter-count, #no-items { font-size: 12px; color: var(--muted); }
#no-items { padding: 18px; }
.product-details { scroll-margin-top: 90px; }
.product-details summary .icon { transition: transform .2s; }
.product-details[open] ul { animation: enter .25s ease; }
.cart-feedback { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); width: max-content; max-width: calc(100% - 32px); z-index: 5; display: flex; align-items: center; gap: 16px; padding: 14px 18px; background: var(--navy); color: white; border: 1px solid #ffffff30; border-radius: 14px; box-shadow: 0 8px 30px #101f3a30; font-size: 13px; }
.cart-feedback button { background: transparent; color: var(--lime); border: 0; min-height: 44px; font-weight: 800; }
.text-button { color: var(--green); background: transparent; border: 0; min-height: 44px; padding: 8px 0; font-size: 13px; text-decoration: underline; }
.order-progress { display: flex; gap: 6px; margin-bottom: 18px; }
.order-progress span { flex: 1; border-top: 3px solid var(--line); padding-top: 8px; font-size: 11px; color: var(--muted); }
.order-progress span.current { border-color: var(--green); color: var(--green); font-weight: 750; }
.live-review { margin-top: 18px; background: var(--page); padding: 12px; border-radius: 10px; font-size: 13px; }
.live-review summary { cursor: pointer; min-height: 24px; font-weight: 750; }
.live-review pre { white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; line-height: 1.5; color: var(--muted); }
dialog[open] { animation: enter .22s ease; }
.added { animation: added .35s ease; }
@keyframes enter { from { opacity: 0; translate: 0 12px; } to { opacity: 1; translate: 0 0; } }
@keyframes added { 50% { transform: scale(1.07); } }
@media(max-width:730px) { .quick-nav { gap: 6px; } .quick-nav a, .quick-nav button { padding: 12px 9px; font-size: 11px; } .cart-feedback { bottom: calc(85px + env(safe-area-inset-bottom)); } dialog { margin: auto auto 12px; } }
@media(prefers-reduced-motion:reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
.catalog-intro{margin-top:12px;color:var(--muted);line-height:1.5}.demo-banner{margin-top:16px;padding:12px 16px;background:#fff0cd;border:1px solid #f1d995;border-radius:10px;color:#70501d;font-size:13px}.catalog-tools{margin:24px 0}.catalog-tools input{max-width:580px}.catalog-tools>p{font-size:12px;color:var(--muted)}.products-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-items:start}.basket-card{margin:0;padding:0;overflow:hidden;max-width:none;transition:box-shadow .2s,transform .2s}.basket-card:hover{box-shadow:0 14px 35px #18282e15;transform:translateY(-3px)}.basket-art{height:150px;position:relative;display:grid;place-items:center;background:radial-gradient(circle at 50% 90%,#fff9,transparent 65%),#e5eed8}.art-rose{background-color:#f3dfd7}.art-gold{background-color:#f2e8ca}.basket-art>span:first-child{font-size:70px;filter:drop-shadow(0 10px 8px #0001)}.basket-category{position:absolute;top:13px;left:13px;background:#ffffffcc;padding:5px 9px;border-radius:20px;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.basket-body{padding:17px}.basket-body h3{font-size:24px;min-height:53px}.basket-body .product-description{min-height:40px}.basket-body .product-bottom{gap:6px}.basket-body .button{font-size:12px;padding-inline:11px}.basket-body .price{font-size:23px}.composition-note{font-size:11px;color:var(--muted);padding:4px 12px 10px}.selected-basket{font-size:12px;min-height:18px;margin-top:8px;color:var(--green);font-weight:700}.line-price{display:block;font-size:12px;margin:4px 0;color:var(--muted)}#cart-lines{display:grid;gap:10px}.cart-line strong{font-size:14px}.cart-line b{font-size:13px}.cart-line .stepper{gap:3px}.cart-line .icon-button{width:38px;height:44px}.cart-line>div:first-child{min-width:0}.cart-line .stepper{flex-shrink:0}@media(max-width:1000px){.products-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:580px){.products-grid{grid-template-columns:1fr;gap:16px}.basket-art{height:145px}.basket-body h3{min-height:0}.basket-body .product-description{min-height:0}.basket-body{padding:18px}.basket-body .button{font-size:14px;padding-inline:16px}}

.hero-copy > .payment-slogan { color: var(--lime); font-size: clamp(19px, 2.3vw, 26px); line-height: 1.3; font-weight: 650; margin-top: 22px; max-width: 28ch; } .payment-slogan strong { color: #fff; } .site-footer span { max-width: 490px; line-height: 1.5; }
