/* Tienda pública de Tendexa. Los colores de cada tienda llegan como --brand y --accent. */
:root {
    --brand: #2E7D7D;
    --accent: #D4AF37;
    --bg: #F9F6F1;
    --surface: #ffffff;
    --text: #2B2B2B;
    --muted: #7d838a;
    --border: #ebe6da;
    --soft: #F1EDE3;
    --danger: #C2413B;
    --success: #1F7A4D;
    --radius: 14px;
    --shadow: 0 6px 24px rgba(30, 40, 40, .08);
    --wrap: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--text); background: var(--bg); font-size: 15px; line-height: 1.5; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.2; margin: 0; }
button, input, select, textarea { font: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Barra de anuncios */
.announce { background: var(--announce-bg); color: var(--announce-text); font-size: 13px; font-weight: 600; letter-spacing: .03em; text-align: center; height: 36px; overflow: hidden; position: relative; }
.announce:not(.announce-slide) > div { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 0 12px; opacity: 0; transform: translateY(100%); transition: .5s; }
.announce:not(.announce-slide) > div.on { opacity: 1; transform: none; }
.announce a { text-decoration: none; }
/* Estilo "deslizar": los mensajes corren de derecha a izquierda; se detiene al pasar el mouse */
.announce-slide { display: flex; align-items: center; white-space: nowrap; }
.announce-slide .marquee-track { display: inline-flex; gap: 64px; padding-left: 100%; animation: marquee linear infinite; }
.announce-slide:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) {
    .announce-slide .marquee-track { animation: none; padding-left: 16px; }
}

/* Encabezado */
.header { background: var(--header-bg); color: var(--header-text); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 30; }
.header .bar { display: flex; align-items: center; gap: 16px; height: 92px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 20px; color: var(--brand); flex: none; }
.logo img { height: 74px; width: auto; max-width: 220px; object-fit: contain; }
.search { flex: 1; display: flex; max-width: 520px; margin: 0 auto; }
.search input { flex: 1; border: 1px solid var(--border); border-right: 0; border-radius: 999px 0 0 999px; padding: 10px 16px; background: var(--bg); min-width: 0; }
.search input:focus { outline: 2px solid var(--brand); outline-offset: -1px; }
.search button { border: 0; background: var(--brand); color: var(--brand-text); border-radius: 0 999px 999px 0; padding: 0 18px; cursor: pointer; }
.icon-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; color: inherit; cursor: pointer; text-decoration: none; }
.icon-btn:hover { background: color-mix(in srgb, currentColor 10%, transparent); }
.icon-btn svg { width: 24px; height: 24px; }
.icon-btn .count { position: absolute; top: 2px; right: 0; background: var(--accent); color: var(--accent-text); font-size: 11px; font-weight: 700; min-width: 20px; height: 20px; border-radius: 10px; display: grid; place-items: center; padding: 0 5px; }
.menu-btn { display: none; }
.cart-link { display: inline-flex; align-items: center; gap: 2px; text-decoration: none; color: inherit; font-weight: 600; border-radius: 999px; padding-right: 12px; }
.cart-link:hover { background: color-mix(in srgb, currentColor 8%, transparent); }
.cart-link .icon-btn { pointer-events: none; }
.nav { border-top: 1px solid var(--border); }
.nav ul { list-style: none; margin: 0 auto; padding: 0 16px; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.nav a { display: block; padding: 12px 14px; text-decoration: none; font-weight: 500; white-space: nowrap; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a.active { color: var(--brand); border-bottom-color: var(--brand); }
.nav a.sale { color: var(--danger); }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 13px 26px; font-weight: 600; cursor: pointer; text-decoration: none; background: var(--brand); color: var(--brand-text); transition: filter .15s, transform .15s; }
.btn:hover { filter: brightness(.92); }
.btn:active { transform: scale(.98); }
.btn-accent { background: var(--accent); color: var(--accent-text); }
.btn-outline { background: transparent; color: var(--brand); box-shadow: inset 0 0 0 2px var(--brand); }
.btn-light { background: var(--soft); color: var(--text); }
.btn-block { width: 100%; }
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* Avisos */
.flash { margin: 16px auto 0; padding: 12px 16px; border-radius: 10px; font-weight: 500; }
.flash-ok { background: #DDF3E7; color: var(--success); }
.flash-error { background: #FBE7E5; color: var(--danger); }
.toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: var(--text); color: #fff; padding: 12px 18px; border-radius: 12px; box-shadow: var(--shadow); z-index: 60; display: flex; gap: 14px; align-items: center; max-width: calc(100% - 32px); animation: toast 4s forwards; }
.toast a { color: #fff; font-weight: 700; white-space: nowrap; }
@keyframes toast { 0% { opacity: 0; bottom: 0; } 8%, 85% { opacity: 1; bottom: 20px; } 100% { opacity: 0; visibility: hidden; } }

/* Secciones */
.section { padding: 36px 0 8px; }
.section-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; margin-bottom: 24px; }
.section-head h2 { font-size: 26px; }
.section-head h2::after { content: ""; display: block; width: 48px; height: 3px; border-radius: 2px; background: var(--accent); margin: 10px auto 0; }
.section-head a { color: var(--brand); font-weight: 600; text-decoration: none; white-space: nowrap; }

/* Banners */
.hero { position: relative; overflow: hidden; border-radius: var(--radius); margin-top: 20px; background: var(--soft); }
.hero .slide { display: none; position: relative; }
.hero .slide.on { display: block; animation: fade .6s; }
/* Efecto "deslizar": todos los banners en fila y la fila se corre */
.hero[data-effect="deslizar"] .track { display: flex; transition: transform .7s cubic-bezier(.4, 0, .2, 1); }
.hero[data-effect="deslizar"] .slide { display: block; flex: 0 0 100%; animation: none; }
@media (prefers-reduced-motion: reduce) { .hero[data-effect="deslizar"] .track { transition: none; } }
@keyframes fade { from { opacity: .3; } }
.hero img { width: 100%; aspect-ratio: 3 / 1; object-fit: cover; }
.hero .caption { position: absolute; inset: auto 0 0 0; padding: 32px; background: linear-gradient(transparent, rgba(0,0,0,.55)); color: #fff; }
.hero .caption h2 { font-size: clamp(22px, 4vw, 40px); }
.hero .caption p { margin: 6px 0 14px; font-size: 17px; }
.hero .dots { position: absolute; bottom: 14px; right: 18px; display: flex; gap: 6px; }
.hero .dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(255,255,255,.5); cursor: pointer; padding: 0; }
.hero .dots button.on { background: #fff; width: 24px; border-radius: 5px; }
.hero .arrow { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.85); border: 0; width: 42px; height: 42px; border-radius: 50%; cursor: pointer; font-size: 22px; line-height: 1; }
.hero .prev { left: 14px; } .hero .next { right: 14px; }

/* Categorías */
.cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px 28px; }
.cat { width: 136px; text-decoration: none; text-align: center; transition: transform .2s; }
.cat:hover { transform: translateY(-4px); }
.cat:hover img, .cat:hover .ph { box-shadow: 0 0 0 3px var(--brand), var(--shadow); }
.cat img, .cat .ph { width: 124px; height: 124px; margin: 0 auto; border-radius: 50%; object-fit: cover; background: var(--surface); border: 4px solid var(--surface); box-shadow: 0 0 0 2px var(--border); transition: box-shadow .2s; }
.cat .ph { display: grid; place-items: center; font-size: 42px; font-weight: 700; color: var(--brand); background: color-mix(in srgb, var(--brand) 10%, white); }
.cat span { display: block; padding: 12px 4px 0; font-weight: 600; line-height: 1.3; }

/* Beneficios */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.benefit { display: flex; gap: 14px; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.benefit .ico { width: 48px; height: 48px; border-radius: 50%; background: color-mix(in srgb, var(--brand) 12%, white); color: var(--brand); display: grid; place-items: center; flex: none; }
.benefit .ico svg { width: 24px; height: 24px; }
.benefit strong { display: block; }

/* Bloque de texto */
.text-block { background: var(--brand); color: var(--brand-text); border-radius: var(--radius); padding: 40px 28px; text-align: center; }
.text-block h2 { font-size: 28px; margin-bottom: 10px; }
.text-block p { max-width: 720px; margin: 0 auto; white-space: pre-line; opacity: .95; }

/* Productos */
.grid-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.card { background: var(--surface); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; position: relative; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card .img { display: block; aspect-ratio: 1; background: #fff; }
.card .img img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.card .body { padding: 12px 14px 16px; display: flex; flex-direction: column; flex: 1; gap: 4px; }
.card .brand { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.card h3 { font-size: 15px; font-weight: 500; }
.card h3 a { text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card .price { margin-top: auto; padding-top: 8px; }
.card form { margin-top: 10px; }
.tag { position: absolute; top: 10px; left: 10px; background: var(--accent); color: var(--accent-text); font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; z-index: 2; }
.tag.out { background: var(--muted); }
.price-now { font-size: 20px; font-weight: 700; color: var(--brand); }
.price-old { color: var(--muted); text-decoration: line-through; font-size: 14px; margin-left: 6px; }

/* Listados */
.listing-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin: 28px 0 18px; }
.listing-head h1 { font-size: 28px; }
.listing-head select { border: 1px solid var(--border); border-radius: 999px; padding: 9px 14px; background: var(--surface); }
.pager { display: flex; justify-content: center; gap: 6px; margin: 30px 0; flex-wrap: wrap; }
.pager a, .pager span { min-width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; text-decoration: none; background: var(--surface); border: 1px solid var(--border); padding: 0 10px; }
.pager .current { background: var(--brand); color: var(--brand-text); border-color: var(--brand); }
.empty { text-align: center; padding: 60px 16px; color: var(--muted); }

/* Producto */
.breadcrumb { font-size: 13px; color: var(--muted); margin: 20px 0; }
.breadcrumb a { text-decoration: none; }
.product { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.gallery-main { background: #fff; border-radius: var(--radius); border: 1px solid var(--border); aspect-ratio: 1; overflow: hidden; position: relative; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; padding: 20px; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; }
.thumbs button { flex: none; width: 76px; height: 76px; border-radius: 10px; border: 2px solid var(--border); background: #fff; padding: 4px; cursor: pointer; }
.thumbs button.on { border-color: var(--brand); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; }
.product-info h1 { font-size: clamp(22px, 3vw, 30px); margin: 4px 0 10px; }
.product-info .price-now { font-size: 32px; }
.product-info .save { display: inline-block; background: color-mix(in srgb, var(--accent) 18%, white); color: #7a5d0c; font-weight: 700; border-radius: 999px; padding: 3px 12px; font-size: 13px; margin-left: 8px; }
.product-info .short { font-size: 16px; margin: 14px 0; }
.stock { font-weight: 600; margin: 12px 0; }
.stock.ok { color: var(--success); } .stock.low { color: #9a6b00; } .stock.none { color: var(--danger); }

/* Colores del producto */
.dot { display: inline-block; width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .18); vertical-align: middle; flex-shrink: 0; }
.variants { border: 0; padding: 0; margin: 16px 0 4px; }
.variants legend { padding: 0; margin-bottom: 8px; font-size: 14px; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { position: relative; display: inline-flex; padding: 3px; border: 2px solid transparent; border-radius: 50%; cursor: pointer; }
.swatch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.swatch .dot { width: 30px; height: 30px; }
.swatch:has(input:checked) { border-color: var(--brand); }
.swatch:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.swatch.out { cursor: not-allowed; opacity: .4; }
.swatch.out::after { content: ""; position: absolute; left: 50%; top: 4px; bottom: 4px; width: 2px; background: var(--danger); transform: translateX(-50%) rotate(45deg); }
.card-swatches { display: flex; align-items: center; gap: 4px; margin: 2px 0 8px; }
.card-swatches .dot.out { opacity: .35; }
.variant-line { display: flex; align-items: center; gap: 6px; }
.variant-line .dot { width: 12px; height: 12px; }
.buy { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0; }
.qty { display: flex; align-items: center; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); }
.qty button { width: 42px; height: 46px; border: 0; background: none; font-size: 20px; cursor: pointer; }
.qty input { width: 42px; text-align: center; border: 0; background: none; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.buy .btn { flex: 1; min-width: 180px; }
.perks { list-style: none; padding: 16px; margin: 18px 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); display: grid; gap: 10px; }
.perks li { display: flex; gap: 10px; align-items: center; }
.perks svg { width: 20px; height: 20px; color: var(--brand); flex: none; }
.description { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; margin-top: 32px; }
.description h2 { font-size: 20px; margin-bottom: 12px; }
.description ul { padding-left: 20px; }

/* Carrito y checkout */
.page-title { font-size: 28px; margin: 28px 0 18px; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; }
.box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.box + .box { margin-top: 18px; }
.box h2 { font-size: 18px; margin-bottom: 14px; }
.line { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--border); }
.line:last-child { border-bottom: 0; }
.line img { width: 76px; height: 76px; object-fit: contain; background: #fff; border-radius: 10px; border: 1px solid var(--border); }
.line .name { font-weight: 500; text-decoration: none; }
.line .controls { display: flex; gap: 10px; align-items: center; margin-top: 6px; }
.line .qty button { height: 34px; width: 34px; font-size: 16px; }
.line .qty input { width: 34px; }
.link-btn { background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font-size: 13px; padding: 0; }
.sum-row { display: flex; justify-content: space-between; padding: 6px 0; }
.sum-row.total { font-size: 20px; font-weight: 700; border-top: 1px solid var(--border); margin-top: 8px; padding-top: 14px; }
.sticky { position: sticky; top: 130px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; background: #fff; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--brand); outline-offset: -1px; }
.field .error, .error { color: var(--danger); font-size: 13px; margin-top: 4px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.fields .wide { grid-column: 1 / -1; }
.option { display: flex; gap: 12px; align-items: flex-start; border: 1.5px solid var(--border); border-radius: 12px; padding: 14px; cursor: pointer; margin-bottom: 10px; background: #fff; }
.option:has(input:checked) { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 5%, white); }
.option input { margin-top: 4px; accent-color: var(--brand); width: 18px; height: 18px; flex: none; }
.option .grow { flex: 1; }
.option .right { font-weight: 700; white-space: nowrap; }
.discount-badge { align-self: center; background: #DDF3E7; color: var(--success); font-weight: 700; font-size: 13px; border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
[hidden] { display: none !important; }
.bank-details { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; background: var(--soft); border-radius: 12px; padding: 16px; margin: 0; }
.bank-details dt { color: var(--muted); }
.bank-details dd { margin: 0; font-weight: 600; word-break: break-word; }
.receipt-box { scroll-margin-top: 150px; margin-top: 16px; border: 2px dashed var(--border); border-radius: 12px; padding: 16px; }
.receipt-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.file-pick { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
.file-pick input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file-pick .btn { pointer-events: none; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.check input { margin-top: 3px; accent-color: var(--brand); width: 18px; height: 18px; flex: none; }
.mini-line { display: flex; gap: 12px; align-items: center; padding: 8px 0; }
.mini-line img { width: 52px; height: 52px; object-fit: contain; border-radius: 8px; border: 1px solid var(--border); background: #fff; flex: none; }
.mini-line .q { background: var(--muted); color: #fff; border-radius: 10px; font-size: 12px; padding: 0 7px; }

/* Pedido */
.thanks { text-align: center; padding: 20px 0 8px; }
.thanks .big { width: 72px; height: 72px; border-radius: 50%; background: color-mix(in srgb, var(--brand) 14%, white); color: var(--brand); display: grid; place-items: center; margin: 0 auto 14px; font-size: 36px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 18px 0 8px; text-align: center; font-size: 13px; }
.steps div { padding-top: 12px; border-top: 4px solid var(--border); color: var(--muted); }
.steps div.done { border-color: var(--brand); color: var(--text); font-weight: 600; }
.notice { background: var(--soft); border-radius: 12px; padding: 16px; white-space: pre-line; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.badge-ok { background: #DDF3E7; color: var(--success); }
.badge-wait { background: #FDF1D2; color: #9a6b00; }
.badge-bad { background: #FBE7E5; color: var(--danger); }

/* Legal */
.legal { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(20px, 4vw, 48px); margin: 28px auto; max-width: 860px; }
.legal h1 { font-size: 30px; margin-bottom: 18px; }
.legal h2 { font-size: 20px; margin: 24px 0 8px; }

/* Preguntas frecuentes */
.faq { border-bottom: 1px solid var(--border); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; font-weight: 600; font-size: 16px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 26px; color: var(--brand); font-weight: 400; transition: transform .2s; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 0 18px; white-space: pre-line; color: #4a4f55; }

/* Pie */
.footer .footer-logo { max-height: 70px; width: auto; margin-bottom: 12px; }
.footer .about { margin: 10px 0 0; opacity: .8; max-width: 320px; }
.footer { background: var(--footer-bg); color: var(--footer-text); margin-top: 60px; padding: 44px 0 20px; font-size: 14px; }
.footer .cols { display: grid; grid-template-columns: minmax(220px, 1.4fr) repeat(auto-fit, minmax(150px, 1fr)); gap: 28px; }
.footer h3 { color: inherit; font-size: 15px; margin-bottom: 12px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a { text-decoration: none; color: inherit; opacity: .85; }
.footer a:hover { opacity: 1; }
.footer .brand-name { font-size: 20px; font-weight: 700; }
.footer .social { display: flex; gap: 10px; margin-top: 14px; }
.footer .social a { width: 38px; height: 38px; border-radius: 50%; background: color-mix(in srgb, currentColor 12%, transparent); opacity: 1; display: grid; place-items: center; }
.footer .social svg { width: 18px; height: 18px; }
.footer .bottom { border-top: 1px solid color-mix(in srgb, currentColor 15%, transparent); margin-top: 32px; padding-top: 16px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; opacity: .75; font-size: 13px; }
.footer .pays { display: flex; gap: 8px; flex-wrap: wrap; }
.footer .pays span { background: color-mix(in srgb, currentColor 12%, transparent); border-radius: 6px; padding: 3px 10px; font-size: 12px; }
.wa-float { position: fixed; right: 18px; bottom: 18px; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.25); z-index: 50; }
.wa-float svg { width: 30px; height: 30px; }

/* Celular */
@media (max-width: 960px) {
    .product, .two-col { grid-template-columns: 1fr; gap: 24px; }
    .sticky { position: static; }
    .footer .cols { grid-template-columns: 1fr 1fr; }
    .benefits { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
    .header .bar { height: 72px; gap: 8px; }
    .logo img { height: 56px; max-width: 160px; }
    .search { order: 3; flex-basis: 100%; max-width: none; margin: 0 0 10px; }
    .header .bar { flex-wrap: wrap; height: auto; padding-top: 8px; }
    .header .spacer { flex: 1; }
    .menu-btn { display: inline-flex; }
    .nav { display: none; }
    .nav.open { display: block; }
    .nav ul { flex-direction: column; padding: 6px 16px; }
    .hero img { aspect-ratio: 4 / 3; }
    .hero .caption { padding: 18px; }
    .hero .arrow { display: none; }
    .grid-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .card .body { padding: 10px; }
    .card h3 { font-size: 14px; }
    .price-now { font-size: 17px; }
    .card .btn { padding: 10px; font-size: 13px; }
    .cats { gap: 16px 12px; }
    .cat { width: 96px; }
    .cat img, .cat .ph { width: 86px; height: 86px; font-size: 30px; }
    .cat span { font-size: 13px; padding-top: 8px; }
    .fields { grid-template-columns: 1fr; }
    .footer .cols { grid-template-columns: 1fr; }
    .section-head h2 { font-size: 21px; }
    .steps { font-size: 11px; }
}
