/* =========================================================
   Andén — ropa y zapatos (demo de Atom Tecnología)
   Paleta: negro tinta, hueso y coral; letras Outfit y Manrope
   ========================================================= */
:root {
    --ink: #141414;
    --ink-2: #2a2a2a;
    --ink-soft: #66625c;
    --bone: #f6f4ef;
    --bone-2: #ece8e0;
    --paper: #fff;
    --coral: #ff5a36;
    --coral-dark: #e2431f;
    --coral-soft: #ffe9e3;
    --ok: #1f8a4c;
    --whatsapp: #25d366;
    --line: rgba(20, 20, 20, .1);
    --radius: 18px;
    --radius-sm: 12px;
    --shadow-sm: 0 2px 10px -4px rgba(20, 20, 20, .14);
    --shadow: 0 24px 48px -24px rgba(20, 20, 20, .35);
    --nav-h: 72px;
    --font-title: 'Outfit', system-ui, sans-serif;
    --font-body: 'Manrope', system-ui, sans-serif;
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
    margin: 0; background: var(--paper); color: var(--ink);
    font-family: var(--font-body); font-size: 16px; line-height: 1.6;
    -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.is-cart-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-title); line-height: 1.05; letter-spacing: -.03em; margin: 0; }
p, figure { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
[hidden] { display: none !important; }

.wrap { width: min(1240px, 100% - 40px); margin-inline: auto; }
.icon { width: 1.15em; height: 1.15em; flex-shrink: 0; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 200; padding: 8px 14px; border-radius: 8px; background: var(--ink); color: #fff; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 6px; }

/* ===== Botones ===== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
    padding: .85rem 1.5rem; border-radius: 999px; border: 1.5px solid transparent;
    font-weight: 700; font-size: .96rem; line-height: 1.2; white-space: nowrap;
    transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-2); }
.btn--accent { background: var(--coral); color: #fff; }
.btn--accent:hover { background: var(--coral-dark); }
.btn--ghost { border-color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--whatsapp { background: var(--whatsapp); color: #0b3d20; }
.btn--whatsapp:hover { background: #1fbe5b; }
.btn--sm { padding: .55rem 1.05rem; font-size: .88rem; }
.btn--block { width: 100%; }

.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--coral-dark); margin-bottom: .7rem; }
.eyebrow--light { color: var(--coral); }
.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; border-bottom: 2px solid var(--ink); padding-bottom: 2px; }
.link-arrow .icon { transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ===== Barra superior y navegación ===== */
.topbar { background: var(--ink); color: #e9e6e0; font-size: .84rem; text-align: center; padding: .5rem 0; }
.topbar strong { color: #fff; }
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.nav.is-solid { border-color: var(--line); box-shadow: var(--shadow-sm); }
.nav__inner { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.logo { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--font-title); font-weight: 800; font-size: 1.65rem; letter-spacing: -.04em; }
.logo__icon { width: 30px; height: 30px; padding: 5px; border-radius: 9px; background: var(--ink); color: var(--coral); }
.logo__dot { color: var(--coral); }
.logo--light { color: #fff; }
.logo--light .logo__icon { background: var(--coral); color: #fff; }
.nav__links { display: flex; align-items: center; gap: 1.8rem; font-weight: 600; font-size: .95rem; }
.nav__links a { position: relative; padding: .3rem 0; }
.nav__links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--coral); transform: scaleX(0); transition: transform .25s; }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__actions { display: flex; align-items: center; gap: .6rem; }
.cart-btn { position: relative; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; transition: border-color .2s; }
.cart-btn:hover { border-color: var(--ink); }
.cart-btn .icon { width: 22px; height: 22px; }
.cart-btn__count { position: absolute; top: -4px; right: -4px; min-width: 21px; height: 21px; padding: 0 5px; border-radius: 999px; background: var(--coral); color: #fff; font-size: .74rem; font-weight: 800; display: grid; place-items: center; }
.cart-btn.is-bumped { animation: bump .5s ease; }
@keyframes bump { 30% { transform: scale(1.18); } 60% { transform: scale(.94); } }
.nav__toggle { display: none; width: 46px; height: 46px; border: 0; background: transparent; padding: 12px 10px; flex-direction: column; justify-content: space-between; }
.nav__toggle span { display: block; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .25s, opacity .25s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ===== Portada ===== */
.hero { background: var(--bone); padding: 3.5rem 0 4rem; overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: 1.02fr 1fr; gap: 3.5rem; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--coral); }
.hero__lead { margin: 1.4rem 0 2rem; font-size: 1.1rem; color: var(--ink-soft); max-width: 34rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero__perks { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; margin-top: 2.2rem; font-size: .92rem; font-weight: 600; }
.hero__perks li { display: inline-flex; align-items: center; gap: .45rem; }
.hero__perks .icon { color: var(--coral-dark); }
.hero__media { position: relative; }
.hero__media img { width: 100%; height: auto; aspect-ratio: 4 / 4.4; object-fit: cover; object-position: 60% 30%; border-radius: 28px; box-shadow: var(--shadow); }
.hero__tag {
    position: absolute; left: -26px; bottom: 34px; display: grid; justify-items: center; gap: 0;
    width: 132px; height: 132px; border-radius: 50%; background: var(--coral); color: #fff; place-content: center;
    font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; box-shadow: var(--shadow); transform: rotate(-8deg);
}
.hero__tag strong { font-family: var(--font-title); font-size: 2.1rem; letter-spacing: -.03em; line-height: 1; }

/* ===== Categorías ===== */
.categories { padding: 2.2rem 0 0; }
.categories__list { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.tile { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; background: var(--bone); text-align: left; }
.tile img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .5s; }
.tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, .65)); }
.tile span { position: absolute; z-index: 1; left: 14px; right: 14px; bottom: 12px; color: #fff; font-family: var(--font-title); font-weight: 700; font-size: 1.08rem; line-height: 1.15; }
.tile:hover img { transform: scale(1.06); }

/* ===== Secciones ===== */
.section { padding: 5.5rem 0; }
.section--soft { background: var(--bone); }
.section--dark { background: var(--ink); color: #f1eee8; }
.section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem 2rem; flex-wrap: wrap; margin-bottom: 2.4rem; }
.section__head h2 { font-size: clamp(2rem, 3.8vw, 3rem); font-weight: 800; }
.section__head--center { justify-content: center; text-align: center; flex-direction: column; align-items: center; }

/* ===== Novedades ===== */
.new-row { display: grid; grid-template-columns: .9fr 2fr; gap: 1.4rem; align-items: stretch; }
.new-row__banner { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 320px; }
.new-row__banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.new-row__banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, .7)); }
.new-row__banner figcaption { position: absolute; z-index: 1; left: 22px; right: 22px; bottom: 20px; color: #fff; display: grid; gap: .2rem; }
.new-row__banner strong { font-family: var(--font-title); font-size: 1.6rem; letter-spacing: -.02em; }
.new-row__banner span { font-size: .92rem; opacity: .9; }

.mini-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.mini-grid--wide { margin-top: 1.6rem; }
.mini__open { display: grid; gap: .35rem; width: 100%; padding: 0; border: 0; background: none; text-align: left; }
.mini__media { position: relative; display: block; border-radius: var(--radius-sm); overflow: hidden; background: var(--bone); }
.mini__media img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .45s; }
.mini__open:hover img { transform: scale(1.05); }
.mini__name { margin-top: .35rem; font-weight: 700; font-size: .95rem; line-height: 1.3; }

/* ===== Insignias y precios ===== */
.card__badges { position: absolute; top: 10px; left: 10px; display: flex; flex-wrap: wrap; gap: .35rem; }
.badge { display: inline-block; padding: .22rem .6rem; border-radius: 999px; font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; line-height: 1.4; }
.badge--sale { background: var(--coral); color: #fff; }
.badge--new { background: #fff; color: var(--ink); }
.badge--out { background: var(--ink); color: #fff; }
.price { font-weight: 800; }
.price--sale { color: var(--coral-dark); }
.price-old { color: var(--ink-soft); font-size: .88em; font-weight: 500; }

/* ===== Catálogo ===== */
.results { color: var(--ink-soft); font-weight: 600; }
.shop { display: grid; grid-template-columns: 270px 1fr; gap: 2.2rem; align-items: start; }
.filters-toggle { display: none; }
.filters { position: sticky; top: calc(var(--nav-h) + 18px); display: grid; gap: 1.5rem; padding: 1.5rem; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.filters__label { display: block; margin-bottom: .6rem; font-size: .82rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.filters__label strong { color: var(--coral-dark); letter-spacing: 0; }
.filters__reset { justify-self: start; }

.search { position: relative; }
.search .icon { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--ink-soft); }
.search input { width: 100%; padding: .7rem .9rem .7rem 2.5rem; border: 1.5px solid var(--line); border-radius: 999px; background: var(--bone); }
.search input:focus { outline: none; border-color: var(--ink); background: #fff; }

.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip { padding: .4rem .8rem; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-size: .86rem; font-weight: 600; transition: border-color .2s, background .2s, color .2s; }
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.range { width: 100%; accent-color: var(--coral); }

.sizes { display: flex; flex-wrap: wrap; gap: .4rem; }
.size { position: relative; }
.size input { position: absolute; opacity: 0; pointer-events: none; }
.size span { display: grid; place-items: center; min-width: 44px; height: 40px; padding: 0 .55rem; border: 1.5px solid var(--line); border-radius: 10px; font-size: .88rem; font-weight: 700; cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.size span:hover { border-color: var(--ink); }
.size input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.size input:focus-visible + span { outline: 3px solid var(--coral); outline-offset: 2px; }
.size.is-out span { color: #b3aea6; text-decoration: line-through; background: var(--bone); cursor: not-allowed; border-style: dashed; }

.swatches { display: flex; flex-wrap: wrap; gap: .55rem; }
.swatch { position: relative; }
.swatch input { position: absolute; opacity: 0; pointer-events: none; }
.swatch span { display: block; width: 30px; height: 30px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1.5px var(--line); cursor: pointer; transition: box-shadow .2s; }
.swatch--lg span { width: 36px; height: 36px; }
.swatch span:hover { box-shadow: 0 0 0 1.5px var(--ink); }
.swatch input:checked + span { box-shadow: 0 0 0 2.5px var(--ink); }
.swatch input:focus-visible + span { outline: 3px solid var(--coral); outline-offset: 3px; }

.check { display: flex; align-items: center; gap: .6rem; font-weight: 600; font-size: .94rem; cursor: pointer; }
.check input { width: 19px; height: 19px; accent-color: var(--ink); }

.shop__bar { display: flex; justify-content: flex-end; align-items: center; gap: .7rem; margin-bottom: 1.2rem; font-size: .92rem; font-weight: 600; }
.shop__bar select { padding: .55rem 2rem .55rem .9rem; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem 1.2rem; }
.card__open { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; }
.card__media { position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: var(--bone-2); }
.card__media img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .5s; }
.card__open:hover .card__media img { transform: scale(1.05); }
.card__body { display: grid; gap: .2rem; padding: .85rem .2rem 0; }
.card__cat { font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.card__name { font-weight: 700; font-size: 1.02rem; line-height: 1.3; }
.card__price { font-size: 1rem; }
.card__colors { display: flex; gap: .3rem; margin-top: .3rem; }
.dot { width: 14px; height: 14px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(0, 0, 0, .15); }
.card.is-sold-out .card__media img { filter: grayscale(.85); opacity: .65; }

.empty { display: grid; justify-items: center; gap: .8rem; padding: 3rem 1rem; text-align: center; border: 2px dashed var(--line); border-radius: var(--radius); }
.empty .icon { width: 34px; height: 34px; color: var(--ink-soft); }

/* ===== Ofertas ===== */
.offers { display: grid; grid-template-columns: 1.1fr 1fr; border-radius: 26px; overflow: hidden; background: var(--ink); color: #f3f0ea; }
.offers__media img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; }
.offers__text { padding: clamp(2rem, 4vw, 3.4rem); align-self: center; }
.offers__text h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); font-weight: 800; }
.offers__text > p:not(.eyebrow) { margin: 1rem 0 0; color: #c8c3ba; }
.offers__timer { display: inline-block; margin: 1.3rem 0 1.6rem !important; padding: .45rem .9rem; border-radius: 999px; background: rgba(255, 90, 54, .16); color: #ffb39f !important; font-weight: 700; font-size: .9rem; }

/* ===== Cómo comprar ===== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; counter-reset: step; }
.step { padding: 1.8rem 1.5rem; border-radius: var(--radius); background: #1f1f1f; border: 1px solid rgba(255, 255, 255, .08); }
.step__num { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 1.1rem; border-radius: 50%; background: var(--coral); color: #fff; font-family: var(--font-title); font-weight: 800; font-size: 1.2rem; }
.step h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.step p { color: #bdb8af; font-size: .95rem; }
.policies { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.2rem; padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, .1); }
.policies li { display: flex; gap: .7rem; align-items: flex-start; font-size: .95rem; color: #d6d1c8; }
.policies .icon { width: 22px; height: 22px; color: var(--coral); margin-top: 2px; }
.policies strong { color: #fff; }

/* ===== Tienda ===== */
.store { display: grid; grid-template-columns: 1.15fr 1fr; gap: 3rem; align-items: center; }
.store__img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 24px; }
.store__info h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 800; margin-bottom: 1.5rem; }
.store__list { display: grid; gap: .9rem; }
.store__list li { display: flex; gap: .7rem; align-items: flex-start; color: var(--ink-soft); }
.store__list .icon { width: 21px; height: 21px; margin-top: 3px; color: var(--ink); }
.store__status { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.5rem; padding: .45rem .95rem; border-radius: 999px; background: var(--bone-2); font-weight: 700; font-size: .9rem; }
.store__status::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: #a19b92; }
.store__status.is-open { background: #e3f4ea; color: var(--ok); }
.store__status.is-open::before { background: var(--ok); box-shadow: 0 0 0 4px rgba(31, 138, 76, .2); }

/* ===== Pie y franja demo ===== */
.footer { background: var(--ink); color: #b9b4ab; padding: 2.4rem 0; font-size: .92rem; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.demo-strip { padding: .9rem 0 6.5rem; background: #0b0b0b; color: #c9d1d9; font-size: .88rem; }
.demo-strip__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .6rem 1rem; }
.demo-strip a { color: #3ddc97; font-weight: 600; }
.demo-strip__cta { padding: .4rem .9rem; border: 1px solid rgba(61, 220, 151, .45); border-radius: 999px; }

/* ===== Botón flotante del carrito ===== */
.cart-fab {
    position: fixed; right: 20px; bottom: 20px; z-index: 40; display: inline-flex; align-items: center; gap: .55rem;
    padding: .9rem 1.35rem; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700;
    box-shadow: 0 16px 34px -12px rgba(0, 0, 0, .55); transition: transform .2s;
}
.cart-fab:hover { transform: translateY(-2px); }
.cart-fab .icon { color: var(--coral); }
.is-cart-open .cart-fab { opacity: 0; pointer-events: none; }

/* ===== Ventana del producto ===== */
.product-dialog { width: min(920px, 100% - 32px); max-height: calc(100% - 32px); padding: 0; border: 0; border-radius: 24px; background: #fff; color: var(--ink); box-shadow: var(--shadow); overflow: auto; }
.product-dialog::backdrop { background: rgba(10, 10, 10, .55); backdrop-filter: blur(3px); }
.dialog-close { position: absolute; top: 14px; right: 14px; z-index: 2; display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); box-shadow: var(--shadow-sm); }
.dialog-close--static { position: static; box-shadow: none; background: var(--bone); }
.pd { display: grid; grid-template-columns: 1fr 1.05fr; }
.pd__media { background: var(--bone); }
.pd__media img { width: 100%; height: 100%; min-height: 100%; max-height: 640px; aspect-ratio: 4 / 5; object-fit: cover; }
.pd__body { display: grid; align-content: start; gap: 1rem; padding: 2.4rem 2.2rem; }
.pd__cat { font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.pd__name { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; margin-top: -.6rem; }
.pd__price { font-size: 1.35rem; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.pd__desc { color: var(--ink-soft); }
.pd__group legend { margin-bottom: .6rem; font-weight: 700; font-size: .94rem; }
.pd__hint { margin-top: .5rem; font-size: .82rem; color: var(--ink-soft); }
.pd__buy { display: flex; gap: .7rem; margin-top: .4rem; }
.pd__add { flex: 1; }
.pd__error { color: var(--coral-dark); font-weight: 700; font-size: .9rem; min-height: 1.3em; }

.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; }
.qty button { width: 42px; height: 46px; border: 0; background: none; font-size: 1.2rem; font-weight: 700; }
.qty output { min-width: 26px; text-align: center; font-weight: 800; }
.qty.is-disabled { opacity: .4; pointer-events: none; }
.qty--sm button { width: 32px; height: 32px; font-size: 1rem; }
.qty--sm output { min-width: 20px; font-size: .9rem; }

/* ===== Carrito lateral ===== */
.cart-backdrop { position: fixed; inset: 0; z-index: 80; background: rgba(10, 10, 10, .5); }
.cart {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 90; display: flex; flex-direction: column;
    width: min(440px, 100%); background: #fff; box-shadow: -20px 0 50px -20px rgba(0, 0, 0, .35);
    transform: translateX(100%); transition: transform .35s cubic-bezier(.2, .8, .2, 1); visibility: hidden;
}
.cart.is-open { transform: none; visibility: visible; }
.cart__head { display: flex; justify-content: space-between; align-items: center; padding: 1.2rem 1.4rem; border-bottom: 1px solid var(--line); }
.cart__head h2 { font-size: 1.5rem; font-weight: 800; }
.cart__body { flex: 1; overflow-y: auto; padding: 1rem 1.4rem 1.4rem; }
.cart__empty { display: grid; justify-items: center; gap: .9rem; padding: 3rem 0; color: var(--ink-soft); text-align: center; }
.cart__empty .icon { width: 44px; height: 44px; }
.cart__items { display: grid; gap: 1rem; }
.line { display: grid; grid-template-columns: 72px 1fr auto; gap: .9rem; align-items: start; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.line img { width: 72px; height: 90px; object-fit: cover; border-radius: 10px; }
.line__name { font-weight: 700; line-height: 1.3; }
.line__meta { font-size: .85rem; color: var(--ink-soft); margin: .15rem 0 .5rem; }
.line__side { display: grid; justify-items: end; gap: .5rem; }
.line__price { font-weight: 800; }
.line__remove { display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--bone); color: var(--ink-soft); }
.line__remove:hover { color: var(--coral-dark); }

.checkout { display: grid; gap: 1rem; margin-top: 1.4rem; }
.checkout__group legend { margin-bottom: .6rem; font-weight: 800; }
.delivery { display: grid; gap: .5rem; }
.delivery__option { display: grid; grid-template-columns: auto 1fr auto; gap: .7rem; align-items: center; padding: .75rem .9rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; transition: border-color .2s, background .2s; }
.delivery__option:has(input:checked) { border-color: var(--ink); background: var(--bone); }
.delivery__option input { accent-color: var(--ink); width: 18px; height: 18px; }
.delivery__text { display: grid; line-height: 1.35; }
.delivery__text small { color: var(--ink-soft); font-size: .82rem; }
.delivery__cost { font-weight: 800; font-size: .92rem; }
.field { display: grid; gap: .35rem; }
.field label { font-weight: 700; font-size: .9rem; }
.field input, .field select { width: 100%; padding: .75rem .9rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.field input:focus, .field select:focus { outline: none; border-color: var(--ink); }
.form-error { color: var(--coral-dark); font-weight: 700; font-size: .9rem; }
.form-error:empty { display: none; }

.cart__foot { padding: 1.1rem 1.4rem 1.3rem; border-top: 1px solid var(--line); background: var(--bone); }
.totals { display: grid; gap: .3rem; margin-bottom: .5rem; }
.totals div { display: flex; justify-content: space-between; }
.totals dt { color: var(--ink-soft); }
.totals dd { font-weight: 700; }
.totals__total { padding-top: .4rem; margin-top: .2rem; border-top: 1px dashed var(--line); font-size: 1.15rem; }
.totals__total dt { color: var(--ink); font-weight: 800; }
.totals__total dd { font-weight: 800; }
.cart__free { font-size: .84rem; color: var(--coral-dark); font-weight: 700; margin-bottom: .7rem; }
.cart__free:empty { display: none; }

/* ===== Aviso breve ===== */
.toast {
    position: fixed; left: 50%; bottom: 26px; z-index: 120; max-width: calc(100% - 32px);
    padding: .85rem 1.3rem; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; font-size: .92rem;
    box-shadow: var(--shadow); transform: translate(-50%, 140%); opacity: 0; transition: transform .35s, opacity .35s; pointer-events: none;
}
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; }

/* ===== Aparición al hacer scroll ===== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 1080px) {
    .tile span { font-size: .95rem; left: 10px; right: 10px; }
    .shop { grid-template-columns: 240px 1fr; }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
    .nav__toggle { display: flex; }
    .nav__links {
        position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
        padding: .6rem 20px 1.2rem; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-sm);
        opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s;
    }
    .nav__links.is-open { opacity: 1; visibility: visible; transform: none; }
    .nav__links a { padding: .85rem 0; border-bottom: 1px solid var(--line); }
    .nav__links a::after { display: none; }

    .hero__inner { grid-template-columns: 1fr; gap: 2.4rem; }
    .hero__media img { aspect-ratio: 16 / 11; }
    .hero__tag { left: auto; right: 14px; bottom: -22px; width: 112px; height: 112px; }
    .hero__tag strong { font-size: 1.75rem; }

    .categories__list { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 34%; gap: .8rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .4rem; scrollbar-width: none; }
    .categories__list li { scroll-snap-align: start; }
    .new-row { grid-template-columns: 1fr; }
    .new-row__banner { min-height: 240px; }
    .mini-grid { grid-template-columns: repeat(2, 1fr); }

    .shop { grid-template-columns: 1fr; gap: 1rem; }
    .filters-toggle { display: inline-flex; justify-self: start; }
    .filters { position: static; display: none; }
    .filters.is-open { display: grid; }
    .shop__bar { justify-content: space-between; }

    .offers, .store { grid-template-columns: 1fr; }
    .offers__media img { min-height: 0; aspect-ratio: 16 / 10; height: auto; }
    .policies { grid-template-columns: 1fr; }

    .pd { grid-template-columns: 1fr; }
    .pd__media img { aspect-ratio: 4 / 3; max-height: 360px; object-position: center 25%; }
    .pd__body { padding: 1.6rem 1.4rem 1.8rem; }
}

@media (max-width: 600px) {
    .wrap { width: calc(100% - 32px); }
    .topbar { font-size: .78rem; }
    .categories__list { grid-auto-columns: 42%; }
    .section { padding: 4rem 0; }
    .hero { padding: 2.2rem 0 3.4rem; }
    .hero__perks { gap: .5rem 1.2rem; }
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 1.2rem .8rem; }
    .card__name { font-size: .94rem; }
    .card__badges { top: 8px; left: 8px; }
    .badge { font-size: .66rem; padding: .18rem .5rem; }
    .steps { grid-template-columns: 1fr; }
    .footer__inner, .demo-strip__inner { flex-direction: column; text-align: center; }
    .cart-fab { left: 16px; right: 16px; bottom: 16px; justify-content: center; }
    .pd__buy { flex-direction: column; }
    .pd__buy .qty { align-self: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
