/* ============================================================
   Dotaciones JR18 — Tienda web
   Paleta de marca: ámbar #FFB300 · negro #0E0E0E · blanco
   ============================================================ */
:root {
  --amber: #FFB300;
  --amber-600: #E09E00;
  --amber-100: #FFF3D6;
  --black: #0E0E0E;
  --ink: #1D232B;
  --slate: #16233A;
  --paper: #FFFFFF;
  --bg: #F6F7F9;
  --line: #E6E9EE;
  --muted: #6B7280;
  --ok: #16A34A;
  --err: #DC2626;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(14, 14, 14, .08);
  --shadow-lg: 0 18px 50px rgba(14, 14, 14, .16);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Archivo', 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }

.container { width: min(1180px, 100% - 2rem); margin-inline: auto; }

/* ---------- Barra superior ---------- */
.topbar { background: var(--black); color: #EDEDED; font-size: .8rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .45rem 0; flex-wrap: wrap; }
.topbar a { color: var(--amber); }
.topbar-contact { display: flex; gap: 1.2rem; flex-wrap: wrap; }

/* ---------- Encabezado ---------- */
.header { background: var(--paper); position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 0 var(--line); }
.header-inner { display: flex; align-items: center; gap: 1.2rem; padding: .7rem 0; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: .65rem; }
.brand-icon { width: 52px; height: 52px; border-radius: 12px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-top { font-weight: 800; font-size: .68rem; letter-spacing: .34em; color: var(--muted); }
.brand-main { font-family: var(--font-display); font-weight: 900; font-size: 1.65rem; color: var(--black); letter-spacing: .02em; }
.brand-main::after { content: ''; display: block; height: 4px; background: var(--amber); border-radius: 3px; margin-top: 3px; }
.search { flex: 1 1 260px; display: flex; background: var(--bg); border: 2px solid var(--line); border-radius: 999px; overflow: hidden; transition: border-color .2s; }
.search:focus-within { border-color: var(--amber); }
.search input { flex: 1; border: 0; outline: 0; background: transparent; padding: .6rem 1rem; font-size: .95rem; min-width: 0; }
.search button { border: 0; background: transparent; padding: 0 1rem; font-size: 1rem; }
.header-actions { display: flex; align-items: center; gap: .6rem; }
.btn-ghost { background: transparent; border: 2px solid var(--line); border-radius: 999px; padding: .5rem .95rem; font-weight: 600; font-size: .88rem; display: inline-flex; align-items: center; gap: .4rem; transition: border-color .2s; white-space: nowrap; }
.btn-ghost:hover { border-color: var(--amber); }
.btn-cart { position: relative; background: var(--amber); border: 0; border-radius: 999px; padding: .55rem 1.1rem; font-weight: 700; font-size: .9rem; display: inline-flex; align-items: center; gap: .4rem; }
.btn-cart:hover { background: var(--amber-600); }
.cart-count { position: absolute; top: -7px; right: -7px; background: var(--black); color: #fff; font-size: .68rem; font-weight: 800; min-width: 19px; height: 19px; border-radius: 999px; display: grid; place-items: center; padding: 0 4px; }

.mainnav { background: var(--paper); border-top: 1px solid var(--line); }
.mainnav-inner { display: flex; gap: .4rem; overflow-x: auto; padding: .35rem 0; }
.mainnav-inner a { font-size: .88rem; font-weight: 600; color: var(--ink); padding: .42rem .85rem; border-radius: 999px; white-space: nowrap; }
.mainnav-inner a:hover { background: var(--amber-100); color: var(--black); }
.mainnav-inner a.active { background: var(--amber); color: var(--black); }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; border: 0; border-radius: 12px; padding: .8rem 1.4rem; font-weight: 700; font-size: .95rem; transition: transform .15s, background .2s, box-shadow .2s; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--amber); color: var(--black); }
.btn-primary:hover { background: var(--amber-600); box-shadow: 0 8px 22px rgba(255, 179, 0, .4); }
.btn-dark { background: var(--black); color: #fff; }
.btn-dark:hover { background: #2A2A2A; }
.btn-outline { background: transparent; border: 2px solid var(--black); color: var(--black); }
.btn-outline:hover { background: var(--black); color: #fff; }
.btn-ghosty { background: var(--bg); color: var(--ink); }
.btn-sm { padding: .5rem .9rem; font-size: .84rem; border-radius: 10px; }
.btn:disabled { opacity: .55; cursor: not-allowed; }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, #FFFFFF 0%, #FDF6E6 100%); padding: clamp(2rem, 5vw, 4.5rem) 0; }
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.hero-kicker { display: inline-flex; align-items: center; gap: .5rem; background: var(--amber); color: var(--black); font-weight: 800; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; padding: .35rem .8rem; border-radius: 999px; }
.hero h1 { font-family: var(--font-display); font-size: clamp(2rem, 5.2vw, 3.6rem); line-height: 1.06; margin: 1rem 0; letter-spacing: -.01em; }
.hero h1 em { font-style: normal; background: linear-gradient(120deg, var(--amber), #FFD34D); padding: 0 .18em; border-radius: .2em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hero p.lead { color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.15rem); max-width: 46ch; margin-bottom: 1.6rem; }
.hero-cta { display: flex; gap: .8rem; flex-wrap: wrap; }
.hero-figure { position: relative; }
.hero-figure img { border-radius: 24px; box-shadow: var(--shadow-lg); aspect-ratio: 4/4.6; object-fit: cover; }
.hero-figure::before { content: ''; position: absolute; inset: auto -14px -14px auto; width: 58%; height: 58%; background: var(--amber); border-radius: 24px; z-index: -1; transform: rotate(-4deg); }
.hero-figure::after { content: ''; position: absolute; inset: -14px auto auto -14px; width: 40%; height: 40%; border: 4px solid var(--black); border-radius: 24px; z-index: -1; transform: rotate(5deg); }
.hero-badges { display: flex; gap: 1.4rem; margin-top: 1.8rem; flex-wrap: wrap; }
.hero-badges div { display: flex; align-items: center; gap: .55rem; font-size: .88rem; font-weight: 600; color: var(--ink); }
.hero-badges span.ic { background: var(--black); color: var(--amber); width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: 1rem; }

/* ---------- Secciones ---------- */
.section { padding: clamp(1.8rem, 4vw, 3.2rem) 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; flex-wrap: wrap; }
.section-head h2 { font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 2rem); letter-spacing: -.01em; }
.section-head h2::after { content: ''; display: block; width: 52px; height: 5px; background: var(--amber); border-radius: 3px; margin-top: .35rem; }
.section-head a { color: var(--muted); font-weight: 700; font-size: .88rem; border-bottom: 2px solid var(--amber); }
.section-head a:hover { color: var(--black); }

/* ---------- Categorías ---------- */
.cats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.1rem; }
.cat-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/8; box-shadow: var(--shadow); background: var(--black); }
.cat-card img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: transform .35s, opacity .35s; }
.cat-card:hover img { transform: scale(1.06); opacity: .65; }
.cat-card .cat-label { position: absolute; inset: auto 0 0 0; padding: 1.6rem 1.1rem 1rem; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.82)); }
.cat-label strong { display: block; font-size: 1.12rem; font-family: var(--font-display); }
.cat-label small { color: #F3D9A0; font-size: .8rem; }

/* ---------- Grid de productos ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(225px, 1fr)); gap: 1.1rem; }
.prod-card { background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .2s, box-shadow .25s; position: relative; }
.prod-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.prod-card .thumb { position: relative; aspect-ratio: 1/1; background: #fff; overflow: hidden; }
.prod-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.prod-card:hover .thumb img { transform: scale(1.07); }
.badge { position: absolute; top: .7rem; left: .7rem; background: var(--amber); color: var(--black); font-weight: 800; font-size: .74rem; padding: .25rem .55rem; border-radius: 8px; box-shadow: 0 4px 10px rgba(0,0,0,.15); }
.badge.out { background: var(--black); color: var(--amber); right: .7rem; left: auto; }
.badge-low { background: #DC2626; color: #fff; right: .7rem; left: auto; }
.prod-info { padding: .9rem 1rem 1rem; display: flex; flex-direction: column; gap: .3rem; flex: 1; }
.prod-cat { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.prod-name { font-weight: 700; font-size: .94rem; line-height: 1.3; min-height: 2.5em; }
.prod-name a:hover { color: var(--amber-600); }
.prod-provider { font-size: .74rem; color: var(--muted); }
.price-row { display: flex; align-items: baseline; gap: .5rem; margin-top: auto; padding-top: .45rem; flex-wrap: wrap; }
.price { font-family: var(--font-display); font-weight: 800; font-size: 1.18rem; }
.price-old { color: var(--muted); text-decoration: line-through; font-size: .85rem; }
.price-save { color: var(--ok); font-size: .74rem; font-weight: 700; }
.prod-card .btn { margin: .75rem 1rem 1rem; padding: .62rem; border-radius: 10px; }

/* ---------- Detalle de producto ---------- */
.pd { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); padding: 1.5rem 0; align-items: start; }
.pd-gallery { display: grid; gap: .7rem; }
.pd-gallery .main { border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow); aspect-ratio: 1/1; }
.pd-gallery .main img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumbs { display: flex; gap: .6rem; flex-wrap: wrap; }
.pd-thumbs button { width: 64px; height: 64px; border-radius: 10px; overflow: hidden; border: 2px solid transparent; padding: 0; background: #fff; }
.pd-thumbs button.on { border-color: var(--amber); }
.pd-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pd h1 { font-family: var(--font-display); font-size: clamp(1.5rem, 3.4vw, 2.2rem); line-height: 1.12; margin: .3rem 0 .8rem; }
.pd .price { font-size: 2rem; }
.pd .price-old { font-size: 1.05rem; }
.pd-meta { color: var(--muted); font-size: .86rem; display: flex; gap: 1rem; flex-wrap: wrap; margin: .4rem 0 .9rem; }
.pd-desc { margin: 1rem 0 1.3rem; color: #3A4149; }
.size-label { font-weight: 700; font-size: .86rem; margin-bottom: .45rem; }
.sizes { display: flex; gap: .45rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.sizes button { min-width: 46px; padding: .5rem .7rem; border-radius: 10px; border: 2px solid var(--line); background: #fff; font-weight: 700; font-size: .86rem; }
.sizes button.on { border-color: var(--black); background: var(--black); color: var(--amber); }
.qty-add { display: flex; gap: .8rem; align-items: stretch; flex-wrap: wrap; }
.qty { display: inline-flex; align-items: center; border: 2px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.qty button { border: 0; background: transparent; width: 44px; font-size: 1.2rem; font-weight: 800; }
.qty input { width: 52px; text-align: center; border: 0; outline: 0; font-weight: 700; }
.stock-note { font-size: .8rem; margin-top: .7rem; color: var(--muted); }
.stock-note.ok { color: var(--ok); font-weight: 600; }

/* ---------- Carrito ---------- */
.cart-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 1.4rem; align-items: start; padding: 1.5rem 0; }
.card { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.3rem; }
.cart-item { display: grid; grid-template-columns: 84px 1fr auto; gap: 1rem; align-items: center; padding: 1rem 0; border-bottom: 1px dashed var(--line); }
.cart-item:last-child { border-bottom: 0; }
.cart-item img { width: 84px; height: 84px; object-fit: cover; border-radius: 10px; background: #fff; }
.cart-item .name { font-weight: 700; font-size: .92rem; }
.cart-item .variant { font-size: .78rem; color: var(--muted); margin: .15rem 0 .4rem; }
.cart-item .line-total { font-weight: 800; text-align: right; }
.cart-item .remove { background: none; border: 0; color: var(--err); font-size: .78rem; font-weight: 700; padding: .2rem 0; }
.totals { display: grid; gap: .55rem; font-size: .92rem; }
.totals .trow { display: flex; justify-content: space-between; }
.totals .trow.big { font-size: 1.25rem; font-weight: 800; border-top: 2px solid var(--line); padding-top: .7rem; margin-top: .3rem; }
.totals .trow .free { color: var(--ok); font-weight: 700; }
.coupon-row { display: flex; gap: .5rem; margin: .9rem 0; }
.coupon-row input { flex: 1; border: 2px solid var(--line); border-radius: 10px; padding: .55rem .8rem; text-transform: uppercase; }
.coupon-msg { font-size: .8rem; margin-top: .3rem; font-weight: 600; }
.coupon-msg.ok { color: var(--ok); }
.coupon-msg.err { color: var(--err); }
.empty { text-align: center; padding: 3.5rem 1rem; }
.empty .big-ic { font-size: 3rem; margin-bottom: .6rem; }
.empty h3 { font-family: var(--font-display); font-size: 1.3rem; margin-bottom: .4rem; }
.empty p { color: var(--muted); margin-bottom: 1.2rem; }

/* ---------- Checkout ---------- */
.checkout-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 1.4rem; align-items: start; padding: 1.5rem 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem 1rem; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: .8rem; font-weight: 700; margin-bottom: .3rem; }
.field input, .field select, .field textarea { width: 100%; border: 2px solid var(--line); border-radius: 10px; padding: .65rem .85rem; background: #fff; outline: none; transition: border-color .2s; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--amber); }
.pay-method { display: flex; gap: .9rem; align-items: center; border: 2px solid var(--line); border-radius: 12px; padding: .9rem 1rem; background: #fff; }
.pay-method img { width: 118px; }
.secure-note { font-size: .78rem; color: var(--muted); display: flex; gap: .4rem; align-items: center; margin-top: .7rem; }

/* ---------- Pedidos ---------- */
.order-card { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.1rem 1.3rem; margin-bottom: .9rem; display: flex; justify-content: space-between; gap: 1rem; align-items: center; flex-wrap: wrap; }
.order-card .oid { font-weight: 800; font-family: var(--font-display); }
.order-card .odate { color: var(--muted); font-size: .8rem; }
.chip { display: inline-flex; align-items: center; gap: .35rem; font-size: .74rem; font-weight: 800; padding: .3rem .7rem; border-radius: 999px; }
.chip.pendiente { background: #FEF3C7; color: #92400E; }
.chip.pagado { background: #D1FAE5; color: #065F46; }
.chip.en_preparacion { background: #DBEAFE; color: #1E40AF; }
.chip.enviado { background: #EDE9FE; color: #5B21B6; }
.chip.entregado { background: #D1FAE5; color: #065F46; }
.chip.cancelado, .chip.rechazado { background: #FEE2E2; color: #991B1B; }
.timeline { display: flex; flex-direction: column; gap: 0; margin: 1rem 0; }
.timeline .step { display: flex; gap: .9rem; }
.timeline .step .dot { width: 26px; height: 26px; border-radius: 999px; background: var(--line); display: grid; place-items: center; font-size: .8rem; flex-shrink: 0; z-index: 1; }
.timeline .step .line { display: flex; flex-direction: column; align-items: center; flex: 0 0 2px; }
.timeline .step:not(:last-child) .line::after { content: ''; flex: 1; width: 2px; background: var(--line); min-height: 26px; margin: 4px 0; }
.timeline .step.done .dot { background: var(--amber); }
.timeline .step .txt { padding-bottom: 1rem; font-size: .9rem; }
.timeline .step .txt small { color: var(--muted); display: block; }

/* Regla global de ocultación (especificidad alta para no ser sobreescrita por display: grid/flex) */
[hidden], .auth-form[hidden], .modal-back[hidden] { display: none !important; }

/* ---------- Resultado de pago ---------- */
.pay-result { max-width: 560px; margin: 3rem auto; text-align: center; background: var(--paper); border-radius: 20px; box-shadow: var(--shadow); padding: clamp(1.6rem, 5vw, 3rem); }
.pay-result .ic { width: 86px; height: 86px; border-radius: 999px; display: grid; place-items: center; font-size: 2.6rem; margin: 0 auto 1.1rem; }
.pay-result.ok .ic { background: #D1FAE5; }
.pay-result.bad .ic { background: #FEE2E2; }
.pay-result h2 { font-family: var(--font-display); margin-bottom: .5rem; }
.pay-result p { color: var(--muted); margin-bottom: 1.4rem; }

/* ---------- Modal ---------- */
.modal-back { position: fixed; inset: 0; background: rgba(14, 14, 14, .55); backdrop-filter: blur(3px); display: grid; place-items: center; z-index: 100; padding: 1rem; }
.modal-back[hidden] { display: none; }
.modal { background: var(--paper); border-radius: 18px; width: min(440px, 100%); padding: 1.6rem; position: relative; box-shadow: var(--shadow-lg); animation: pop .25s ease; }
@keyframes pop { from { transform: scale(.94); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal-close { position: absolute; top: .8rem; right: .8rem; border: 0; background: var(--bg); width: 34px; height: 34px; border-radius: 999px; font-size: 1rem; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--bg); border-radius: 10px; padding: .3rem; margin-bottom: 1.2rem; }
.auth-tabs .tab { border: 0; background: transparent; padding: .55rem; font-weight: 700; border-radius: 8px; color: var(--muted); }
.auth-tabs .tab.active { background: var(--amber); color: var(--black); }
.auth-form { display: grid; gap: .85rem; }
.auth-form label { font-size: .82rem; font-weight: 700; display: grid; gap: .3rem; }
.auth-form input { border: 2px solid var(--line); border-radius: 10px; padding: .65rem .85rem; outline: none; }
.auth-form input:focus { border-color: var(--amber); }
.form-error { color: var(--err); font-size: .82rem; font-weight: 600; min-height: 1em; }

/* ---------- Toasts ---------- */
.toast-wrap { position: fixed; bottom: 1.2rem; left: 50%; transform: translateX(-50%); display: grid; gap: .6rem; z-index: 200; width: min(420px, calc(100vw - 2rem)); }
.toast { background: var(--black); color: #fff; border-radius: 12px; padding: .8rem 1.1rem; font-size: .9rem; font-weight: 600; box-shadow: var(--shadow-lg); display: flex; gap: .6rem; align-items: center; animation: rise .3s ease; }
.toast.ok { background: var(--black); border-left: 5px solid var(--amber); }
.toast.err { background: #7F1D1D; }
@keyframes rise { from { transform: translateY(14px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* ---------- Paginación y filtros ---------- */
.catalog-layout { display: grid; grid-template-columns: 250px 1fr; gap: 1.4rem; align-items: start; padding: 1.5rem 0; }
.filters { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.2rem; position: sticky; top: 130px; }
.filters h3 { font-size: .95rem; margin-bottom: .8rem; }
.filters .fgroup { margin-bottom: 1.1rem; }
.filters .fgroup strong { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: .5rem; }
.filters label.opt { display: flex; align-items: center; gap: .5rem; padding: .3rem 0; font-size: .9rem; cursor: pointer; }
.filters select { width: 100%; border: 2px solid var(--line); border-radius: 10px; padding: .5rem; background: #fff; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
.toolbar .result-count { color: var(--muted); font-size: .88rem; }
.toolbar select { border: 2px solid var(--line); border-radius: 10px; padding: .5rem .7rem; background: #fff; font-weight: 600; font-size: .86rem; }
.pager { display: flex; gap: .4rem; justify-content: center; margin-top: 1.6rem; }
.pager button { border: 2px solid var(--line); background: #fff; min-width: 40px; height: 40px; border-radius: 10px; font-weight: 700; }
.pager button.on { background: var(--black); border-color: var(--black); color: var(--amber); }
.pager button:disabled { opacity: .4; cursor: default; }

/* ---------- Cuenta ---------- */
.account-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.stat-card { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.1rem; text-align: center; }
.stat-card .num { font-family: var(--font-display); font-size: 1.7rem; font-weight: 800; }

/* ---------- Footer ---------- */
.footer { background: var(--black); color: #C9CDD3; margin-top: 3rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 2rem; padding: 2.8rem 0 2rem; }
.footer h4 { color: #fff; font-size: .95rem; margin-bottom: .8rem; }
.footer-brand { display: flex; gap: .8rem; align-items: center; margin-bottom: .9rem; }
.footer-brand img { border-radius: 12px; }
.footer-brand strong { color: #fff; font-size: 1.05rem; display: block; }
.footer-brand small { color: var(--amber); font-size: .76rem; }
.footer-desc { font-size: .88rem; max-width: 34ch; }
.footer a:hover { color: var(--amber); }
.footer p { font-size: .88rem; line-height: 2; }
.footer-bottom { border-top: 1px solid #23272C; padding: 1.1rem 0; font-size: .8rem; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer-bottom strong { color: var(--amber); }

/* ---------- Utilidades ---------- */
.muted { color: var(--muted); }
.center { text-align: center; }
.mt1 { margin-top: 1rem; } .mt2 { margin-top: 2rem; }
.skeleton { background: linear-gradient(100deg, #ECEEF1 40%, #F8F9FB 50%, #ECEEF1 60%); background-size: 200% 100%; animation: shine 1.2s infinite; border-radius: var(--radius); }
@keyframes shine { to { background-position: -200% 0; } }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-figure { max-width: 480px; margin-inline: auto; width: 100%; }
  .pd, .cart-layout, .checkout-grid { grid-template-columns: 1fr; }
  .catalog-layout { grid-template-columns: 1fr; }
  .filters { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .topbar-inner { justify-content: center; }
  .header-inner { gap: .7rem; }
  .search { order: 3; flex-basis: 100%; }
  .form-grid { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 64px 1fr; }
  .cart-item .line-total { grid-column: 2; text-align: left; }
  .cart-item img { width: 64px; height: 64px; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.4rem; }
  .mainnav-inner { justify-content: flex-start; }
}
