/* NOTOYO Shop · diseño de la tienda (basado en el prototipo de la marca).
   Paleta: coral para acciones, amarillo para promociones, cian para resaltar,
   azul marino para estructura. Letra Poppins (servida desde /fuentes). */
@font-face { font-family: Poppins; font-style: normal; font-weight: 400; font-display: swap; src: url(/fuentes/poppins-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: Poppins; font-style: normal; font-weight: 600; font-display: swap; src: url(/fuentes/poppins-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: Poppins; font-style: normal; font-weight: 800; font-display: swap; src: url(/fuentes/poppins-latin-800-normal.woff2) format('woff2'); }

:root {
  --coral: #ff2d26; --coral-dark: #d91e18; --yellow: #ffc928; --cyan: #18bec7; --navy: #072d3d; --ink: #17212b;
  --muted: #5d6970; --surface: #f5f8f9; --border: #dde3e6; --white: #fff; --ok: #0d7a4d;
  --shadow: 0 18px 48px rgba(7, 45, 61, .14);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font-family: Poppins, Arial, sans-serif; letter-spacing: 0; }
body.sin-scroll { overflow: hidden; }
button, input, textarea, select { font: inherit; color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .55; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }
[hidden] { display: none !important; }
.ico { width: 20px; height: 20px; flex: 0 0 auto; }
.ico.lleno { fill: currentColor; }
.saltar { position: absolute; left: 8px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: 8px; background: var(--navy); color: #fff; }
.saltar:focus { top: 8px; }

/* ---------------------------------------------------------------- cabecera */
.promo-bar { min-height: 32px; padding: 0 5vw; display: flex; align-items: center; justify-content: center; gap: 8vw; background: var(--navy); color: #fff; font-size: 11px; font-weight: 600; }
.site-header { min-height: 76px; padding: 0 max(24px, 5vw); display: flex; align-items: center; gap: 28px; position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--border); backdrop-filter: blur(16px); }
.brand { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.brand-mascota { height: 42px; width: auto; display: block; }
.brand-texto { font-size: 26px; font-weight: 800; line-height: 1; color: var(--coral); white-space: nowrap; }
.brand-texto small { margin-left: 4px; font-size: 14px; font-weight: 600; color: #008893; }
.brand.inverse .brand-texto { color: #fff; }
.brand.inverse .brand-texto small { color: var(--cyan); }
.desktop-nav { display: flex; gap: 22px; font-size: 13px; font-weight: 600; }
.desktop-nav a { position: relative; padding: 12px 0; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 4px; height: 3px; background: var(--coral); transition: right .25s; }
.desktop-nav a:hover::after { right: 0; }
.search { height: 44px; min-width: 240px; max-width: 420px; flex: 1; margin-left: auto; display: flex; align-items: center; gap: 10px; padding: 0 14px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); transition: border-color .2s, box-shadow .2s; }
.search:focus-within { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(24, 190, 199, .14); }
.search .ico { width: 18px; color: var(--muted); }
.search input { width: 100%; border: 0; outline: 0; background: transparent; font-size: 13px; }
.header-actions { display: flex; gap: 6px; }
.icon-button, .slider-arrow, .slider-pause { width: 44px; height: 44px; border: 0; border-radius: 8px; display: grid; place-items: center; background: transparent; color: var(--ink); position: relative; transition: background .2s, transform .2s; }
.icon-button:hover { background: var(--surface); transform: translateY(-2px); }
.cart-count { position: absolute; right: 1px; top: 0; min-width: 18px; height: 18px; padding: 0 4px; display: grid; place-items: center; border-radius: 9px; background: var(--coral); color: #fff; font-size: 10px; font-weight: 700; }
.menu-button { display: none; }
.menu-movil { position: absolute; left: 0; right: 0; top: 100%; padding: 8px 16px 16px; display: flex; flex-direction: column; background: #fff; border-bottom: 1px solid var(--border); box-shadow: var(--shadow); }
.menu-movil a { min-height: 48px; display: flex; align-items: center; border-bottom: 1px solid var(--border); font-weight: 600; }

/* ---------------------------------------------------------------- carrusel */
.hero { height: min(620px, calc(100vh - 108px)); min-height: 470px; position: relative; overflow: hidden; background: var(--navy); }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transform: scale(1.04); transition: opacity .65s ease, transform 1s ease, visibility .65s; }
.slide.active { opacity: 1; visibility: visible; transform: scale(1); }
.slide-fondo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide.marca::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(7, 45, 61, .68); }
.slide.producto::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(255, 255, 255, .66); }
.hero-copy { width: min(620px, 80%); height: 100%; margin-left: max(24px, 8vw); position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; color: #fff; }
.hero-copy > * { opacity: 0; transform: translateY(22px); }
.slide.active .hero-copy > * { animation: rise .65s both; }
.slide.active .hero-copy h1, .slide.active .hero-copy h2 { animation-delay: .1s; }
.slide.active .hero-copy p { animation-delay: .2s; }
.slide.active .hero-copy .primary-button { animation-delay: .3s; }
.hero-copy.dark { color: var(--navy); }
.eyebrow { font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--coral); letter-spacing: 0; }
.hero-copy > .eyebrow { color: var(--yellow); }
.hero-copy.dark > .eyebrow { color: var(--coral); }
.hero h1, .hero h2 { max-width: 700px; margin: 10px 0 14px; font-size: 64px; line-height: 1.05; }
.slide.producto h2 { font-size: 46px; }
.hero p { max-width: 540px; margin: 0 0 20px; font-size: 17px; line-height: 1.7; }
.hero .hero-precio { margin: 0 0 24px; font-size: 26px; font-weight: 800; }
.primary-button, .secondary-button, .outline-button { min-height: 48px; padding: 0 22px; border: 0; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--coral); color: #fff; font-weight: 700; font-size: 14px; transition: transform .2s, background .2s, box-shadow .2s; }
.primary-button:hover:not(:disabled) { background: var(--coral-dark); transform: translateY(-3px); box-shadow: 0 12px 28px rgba(255, 45, 38, .3); }
.primary-button .ico, .secondary-button .ico { width: 18px; }
.outline-button { min-height: 44px; background: #fff; color: var(--navy); border: 1px solid var(--navy); }
.outline-button:hover { background: var(--surface); }
.link-button { min-height: 44px; padding: 0 4px; border: 0; background: none; display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; text-decoration: underline; }
.ancho { width: 100%; }
.slider-arrow { position: absolute; top: 50%; z-index: 3; margin-top: -22px; background: rgba(255, 255, 255, .92); }
.slider-arrow:hover { transform: scale(1.08); }
.slider-arrow.prev { left: 24px; }
.slider-arrow.next { right: 24px; }
.slider-dots { position: absolute; left: 50%; bottom: 14px; z-index: 3; display: flex; gap: 4px; transform: translateX(-50%); }
.slider-dots button { width: 28px; height: 44px; padding: 0; border: 0; background: none; display: grid; place-items: center; }
.slider-dots button::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .6); box-shadow: 0 0 0 1px rgba(7, 45, 61, .25); transition: width .3s, background .3s; }
.slider-dots button.active::before { width: 30px; border-radius: 6px; background: var(--yellow); }
.slider-pause { position: absolute; right: 26px; bottom: 14px; z-index: 3; background: rgba(7, 45, 61, .7); color: #fff; }
.slider-pause .ico { width: 17px; }

/* ---------------------------------------------------------------- beneficios y categorías */
.benefits { min-height: 94px; padding: 18px max(24px, 7vw); display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; border-bottom: 1px solid var(--border); background: #fff; }
.benefits > div { display: flex; align-items: center; justify-content: center; gap: 13px; }
.benefits .ico { width: 27px; height: 27px; color: var(--coral); }
.benefits span { display: flex; flex-direction: column; font-size: 12px; color: var(--muted); }
.benefits strong { font-size: 14px; color: var(--ink); }
.section { padding: 78px max(24px, 7vw); scroll-margin-top: 80px; }
.section-heading { margin-bottom: 30px; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.section-heading h2 { margin: 5px 0 0; font-size: 32px; }
.section-heading > a { min-height: 44px; display: flex; align-items: center; gap: 6px; color: var(--coral-dark); font-size: 13px; font-weight: 700; }
.section-heading > a .ico { width: 16px; }
.category-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }
.categoria { padding: 0 0 18px; border: 1px solid var(--border); border-radius: 8px; background: #fff; overflow: hidden; transition: transform .25s, box-shadow .25s, border .25s; }
.categoria:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.categoria strong, .categoria small { display: block; padding: 0 16px; }
.categoria strong { margin-top: 14px; }
.categoria small { margin-top: 3px; color: var(--muted); }
.category-visual { height: 130px; display: grid; place-items: center; }
.category-visual .ico { width: 52px; height: 52px; transition: transform .3s; }
.categoria:hover .ico { transform: scale(1.15) rotate(-6deg); }
.coral { background: #ffe4e2; color: var(--coral-dark); }
.cyan { background: #ddf8fa; color: #087d85; }
.yellow { background: #fff4b8; color: #8a6500; }
.navy { background: #dce8ed; color: var(--navy); }
.soft { background: var(--surface); color: var(--muted); }

/* ---------------------------------------------------------------- productos */
.products { background: var(--surface); }
.filter-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-pills button { min-height: 44px; padding: 0 16px; border: 1px solid var(--border); border-radius: 22px; background: #fff; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; }
.filter-pills button .ico { width: 15px; height: 15px; color: var(--coral); }
.filter-pills button.active { border-color: var(--navy); background: var(--navy); color: #fff; }
.filter-pills button.active .ico { color: #fff; }
.resultado { margin: -12px 0 18px; color: var(--muted); font-size: 13px; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.product-card { position: relative; display: flex; flex-direction: column; border-radius: 8px; background: #fff; overflow: hidden; box-shadow: 0 2px 0 rgba(7, 45, 61, .04); transition: transform .3s, box-shadow .3s; }
.product-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.product-media { height: 240px; display: block; overflow: hidden; background: #e8eef0; }
.product-media img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .55s; }
.product-card:hover .product-media img { transform: scale(1.08); }
.product-card.agotado .product-media img { opacity: .55; }
.sin-foto { width: 100%; height: 100%; display: grid; place-items: center; color: var(--border); background: var(--surface); }
.sin-foto .ico { width: 48px; height: 48px; }
.product-badge { position: absolute; left: 12px; top: 12px; z-index: 2; padding: 6px 9px; border-radius: 5px; background: var(--yellow); color: var(--navy); font-size: 10px; font-weight: 800; }
.product-badge.oscuro { background: var(--navy); color: #fff; }
.product-badge.en-linea { position: static; vertical-align: middle; }
.favorite { position: absolute; right: 12px; top: 12px; z-index: 2; background: rgba(255, 255, 255, .92); }
.favorite.active { color: var(--coral); }
.product-copy { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.product-copy small { color: var(--muted); }
.product-copy h3 { min-height: 48px; margin: 7px 0; font-size: 16px; line-height: 1.45; }
.product-bottom { margin-top: auto; padding-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.price { font-size: 19px; font-weight: 800; color: var(--navy); white-space: nowrap; }
.price s, .modal-price s { margin-right: 8px; color: var(--muted); font-size: .7em; font-weight: 500; }
.add-button { width: 44px; height: 44px; flex: 0 0 auto; border: 0; border-radius: 8px; background: var(--coral); color: #fff; display: grid; place-items: center; transition: transform .2s, background .2s; }
.add-button:hover:not(:disabled) { transform: rotate(-5deg) scale(1.08); background: var(--coral-dark); }
.quick-trigger { position: absolute; left: 50%; top: 190px; z-index: 3; min-height: 38px; padding: 0 14px; border: 0; border-radius: 6px; background: var(--navy); color: #fff; font-size: 12px; font-weight: 700; opacity: 0; transform: translate(-50%, 12px); transition: opacity .25s, transform .25s; }
.product-card:hover .quick-trigger, .quick-trigger:focus-visible { opacity: 1; transform: translate(-50%, 0); }
.vacio { grid-column: 1 / -1; padding: 48px 16px; text-align: center; color: var(--muted); }
.vacio .ico { width: 40px; height: 40px; color: var(--coral); }

/* ---------------------------------------------------------------- banda y pie */
.offer-band { margin: 0 max(24px, 7vw) 80px; padding: 52px 7%; min-height: 340px; display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; gap: 30px; border-radius: 8px; background: var(--yellow); overflow: hidden; }
.offer-band h2 { max-width: 680px; margin: 7px 0; font-size: 38px; color: var(--navy); }
.offer-band p { max-width: 560px; color: #3f4c53; line-height: 1.7; }
.offer-band .eyebrow { color: var(--coral-dark); }
.secondary-button { background: var(--navy); }
.secondary-button:hover { transform: translateY(-3px); box-shadow: 0 12px 25px rgba(7, 45, 61, .2); }
.offer-art { height: 230px; position: relative; display: grid; place-items: center; }
.offer-art > img { width: 184px; height: auto; position: relative; z-index: 2; animation: float 3s ease-in-out infinite; }
.orbit { position: absolute; border: 2px solid var(--coral); border-radius: 50%; animation: spin 8s linear infinite; }
.orbit.one { width: 210px; height: 210px; }
.orbit.two { width: 160px; height: 160px; border-color: var(--cyan); animation-direction: reverse; animation-duration: 5s; }
footer { min-height: 200px; padding: 55px max(24px, 7vw); display: flex; align-items: flex-start; gap: 34px; background: var(--navy); color: #fff; }
footer p { margin: 8px auto 0 0; color: #b8c7cc; line-height: 1.7; }
footer > div { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 13px; }
footer > div a { min-height: 44px; display: inline-flex; align-items: center; }

/* ---------------------------------------------------------------- carrito */
.cart-drawer { width: min(430px, 92vw); position: fixed; right: 0; top: 0; bottom: 0; z-index: 60; padding: 22px; display: flex; flex-direction: column; background: #fff; box-shadow: -20px 0 60px rgba(7, 45, 61, .18); transform: translateX(105%); visibility: hidden; transition: transform .4s cubic-bezier(.2, .8, .2, 1), visibility .4s; }
.cart-drawer.open { transform: translateX(0); visibility: visible; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border); }
.drawer-head h2 { margin: 12px 0; font-size: 20px; }
.cart-items { flex: 1; padding: 12px 0; overflow: auto; }
.empty-cart { height: 100%; display: grid; place-content: center; justify-items: center; text-align: center; color: var(--muted); }
.empty-cart .ico { width: 44px; height: 44px; color: var(--coral); }
.empty-cart h3 { margin: 14px 0 5px; color: var(--ink); }
.cart-row { padding: 12px 0; display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; align-items: start; border-bottom: 1px solid var(--border); }
.cart-img { width: 72px; height: 72px; display: block; border-radius: 6px; overflow: hidden; background: #e8eef0; }
.cart-img img { width: 100%; height: 100%; display: block; object-fit: cover; }
.cart-row h3 { margin: 0 0 2px; font-size: 13px; line-height: 1.4; }
.cart-row small { color: var(--muted); }
.cart-row strong { font-size: 13px; white-space: nowrap; }
.cart-row-actions { margin-top: 8px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cart-total { padding-top: 18px; border-top: 1px solid var(--border); }
.total-line { margin: 6px 0; display: flex; justify-content: space-between; gap: 12px; }
.cart-total .total-line { font-size: 18px; }
.nota { margin: 6px 0 14px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.checkout { width: 100%; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.qty button { width: 40px; height: 44px; border: 0; background: var(--surface); display: grid; place-items: center; }
.qty button .ico { width: 16px; }
.qty input { width: 46px; height: 44px; border: 0; text-align: center; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.scrim { position: fixed; inset: 0; z-index: 50; background: rgba(7, 45, 61, .52); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.scrim.show { opacity: 1; visibility: visible; }

/* ---------------------------------------------------------------- vista rápida */
.quick-view { width: min(900px, 92vw); max-height: 92vh; padding: 0; border: 0; border-radius: 8px; box-shadow: var(--shadow); overflow: auto; }
.quick-view[open] { animation: modalIn .35s both; }
.quick-view::backdrop { background: rgba(7, 45, 61, .65); }
.vr-cuerpo { display: grid; grid-template-columns: 1fr 1fr; }
.close-modal { position: absolute; right: 12px; top: 12px; z-index: 2; background: #fff; }
.modal-image { min-height: 460px; position: relative; overflow: hidden; background: #e8eef0; }
.modal-image img, .modal-image .sin-foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.modal-copy { padding: 55px 42px 40px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.modal-copy h2 { margin: 8px 0 12px; font-size: 26px; line-height: 1.3; }
.modal-copy p { margin: 0 0 8px; color: var(--muted); line-height: 1.7; }
.modal-price { margin: 10px 0 0; font-size: 24px; color: var(--navy); }
.modal-copy .nota { margin: 2px 0 18px; }
.modal-acciones { display: flex; flex-wrap: wrap; gap: 10px; }
.agotado-txt { font-weight: 700; color: var(--coral-dark) !important; }
.fav-modal { margin-top: 10px; }
.fav-modal .ico.lleno { color: var(--coral); }

/* ---------------------------------------------------------------- aviso */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 80; padding: 12px 18px; display: flex; align-items: center; gap: 10px; border-radius: 7px; background: var(--navy); color: #fff; opacity: 0; visibility: hidden; transform: translate(-50%, 30px); transition: opacity .25s, transform .25s, visibility .25s; max-width: calc(100vw - 32px); }
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.toast .ico { width: 19px; color: var(--cyan); }
.toast.error { background: var(--coral-dark); }
.toast.error .ico { color: #fff; }

/* ---------------------------------------------------------------- pago y confirmación */
#pagina { min-height: 60vh; }
.checkout-page { padding: 40px max(24px, 7vw) 80px; }
.migas { display: flex; gap: 8px; font-size: 13px; color: var(--muted); }
.migas a:hover { color: var(--coral-dark); }
.checkout-page h1 { margin: 12px 0 4px; font-size: 34px; }
.sub { margin: 0 0 28px; color: var(--muted); }
.pago { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; }
.bloque { min-width: 0; margin: 0 0 22px; padding: 22px; border: 1px solid var(--border); border-radius: 8px; }
.bloque legend { padding: 0 6px; font-weight: 700; font-size: 16px; }
.campos { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.campo { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; }
.campo small { font-weight: 400; color: var(--muted); }
.campo input, .campo textarea { width: 100%; min-width: 0; min-height: 46px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px; background: #fff; font-size: 15px; font-weight: 400; }
.campo input:focus, .campo textarea:focus { outline: 0; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(24, 190, 199, .16); }
.campo input:disabled { background: var(--surface); color: var(--muted); }
.completo { grid-column: 1 / -1; }
.marca { min-height: 44px; display: flex; align-items: center; gap: 10px; font-size: 14px; }
.marca input { width: 20px; height: 20px; accent-color: var(--coral); }
.opciones { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.opcion { padding: 14px; display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--border); border-radius: 8px; cursor: pointer; transition: border-color .2s, background .2s; }
.opcion:has(input:checked) { border-color: var(--coral); background: #fff6f5; }
.opcion input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--coral); }
.opcion b, .opcion small { display: block; }
.opcion small { margin-top: 2px; color: var(--muted); }
.ubicacion { margin-bottom: 14px; }
.estado { margin-bottom: 10px; font-size: 14px; color: var(--muted); }
.estado.ok { color: var(--ok); font-weight: 600; }
.estado.error { color: var(--coral-dark); }
.fila { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
#ubi-mapa { min-height: 44px; display: inline-flex; align-items: center; color: var(--navy); font-size: 14px; text-decoration: underline; }
.error-form { margin: 0 0 18px; padding: 12px 14px; border-radius: 8px; background: #fff0ef; color: var(--coral-dark); font-weight: 600; }
.resumen { position: sticky; top: 100px; padding: 22px; border-radius: 8px; background: var(--surface); }
.resumen h2 { margin: 0 0 14px; font-size: 18px; }
.resumen-linea { padding: 10px 0; display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; border-bottom: 1px solid var(--border); font-size: 13px; }
.resumen-img { width: 56px; height: 56px; position: relative; border-radius: 6px; background: #e8eef0; }
.resumen-img img { width: 100%; height: 100%; display: block; object-fit: cover; border-radius: 6px; }
.resumen-img b { position: absolute; right: -8px; top: -8px; min-width: 22px; height: 22px; padding: 0 5px; display: grid; place-items: center; border-radius: 11px; background: var(--navy); color: #fff; font-size: 11px; }
.resumen .total-line { font-size: 14px; }
.resumen .total-line:first-of-type { margin-top: 14px; }
.total-line.grande { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--border); font-size: 18px; font-weight: 800; color: var(--navy); }
.gracias, .pagina-vacia { max-width: 640px; margin: 0 auto; padding: 80px 24px 100px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.gracias .check { width: 84px; height: 84px; display: grid; place-items: center; border-radius: 50%; background: #ddf8fa; color: #087d85; }
.gracias .check .ico { width: 44px; height: 44px; }
.gracias h1, .pagina-vacia h1 { margin: 8px 0 12px; font-size: 32px; }
.gracias p, .pagina-vacia p { margin: 0 0 12px; color: var(--muted); line-height: 1.7; }
.gracias .primary-button, .pagina-vacia .primary-button { margin-top: 18px; }
.pagina-vacia > .ico { width: 48px; height: 48px; color: var(--coral); }

@keyframes rise { to { opacity: 1; transform: translateY(0); } }
@keyframes float { 50% { transform: translateY(-12px) rotate(3deg); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes modalIn { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }

/* ---------------------------------------------------------------- iPad (≈834px) */
@media (max-width: 1100px) {
  .desktop-nav { display: none; }
  .menu-button { display: grid; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-copy { margin-left: 8vw; }
  .product-media { height: 220px; }
  .slide.producto h2 { font-size: 38px; }
  .pago { grid-template-columns: 1fr; }
  .resumen { position: static; order: -1; }
}

/* ---------------------------------------------------------------- celular (≈390px) */
@media (max-width: 760px) {
  .promo-bar { justify-content: flex-start; overflow: hidden; }
  .promo-bar span:not(:first-child) { display: none; }
  .site-header { height: auto; min-height: 68px; padding: 10px 16px; gap: 10px; flex-wrap: wrap; }
  .brand-mascota { height: 34px; }
  .brand-texto { font-size: 21px; }
  .search { order: 3; min-width: 100%; height: 44px; }
  .header-actions { margin-left: auto; }
  .toast { top: 16px; bottom: auto; transform: translate(-50%, -30px); }
  .hero { height: 610px; min-height: 0; }
  .slide.marca::before { background: rgba(7, 45, 61, .72); }
  .hero-copy, .hero-copy.dark { width: auto; margin: 0; padding: 220px 24px 75px; justify-content: flex-end; }
  .slide.producto::before { background: rgba(7, 45, 61, .72); }
  .hero-copy.dark { color: #fff; }
  .hero-copy.dark > .eyebrow { color: var(--yellow); }
  .hero h1, .hero h2, .slide.producto h2 { font-size: 34px; }
  .slide.producto p:not(.hero-precio) { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .hero p { font-size: 15px; }
  .slider-arrow { top: 26%; width: 44px; height: 44px; }
  .slider-arrow.prev { left: 12px; }
  .slider-arrow.next { right: 12px; }
  .benefits { grid-template-columns: 1fr; gap: 0; padding: 8px 24px; }
  .benefits > div { justify-content: flex-start; padding: 10px 0; }
  .section { padding: 58px 20px; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .section-heading h2 { font-size: 27px; }
  .category-strip { margin-right: -20px; padding-bottom: 12px; display: grid; grid-auto-flow: column; grid-auto-columns: 150px; grid-template-columns: none; overflow-x: auto; }
  .category-visual { height: 110px; }
  .filter-pills { width: 100%; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .filter-pills button { flex: 0 0 auto; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .product-media { height: 170px; }
  .product-copy { padding: 13px; }
  .product-copy h3 { min-height: 42px; font-size: 14px; }
  .quick-trigger { display: none; }
  .price { font-size: 15px; }
  .offer-band { margin: 0 20px 58px; padding: 35px 24px; grid-template-columns: 1fr; }
  .offer-band h2 { font-size: 28px; }
  .offer-art { height: 190px; }
  footer { padding: 42px 24px; flex-direction: column; gap: 18px; }
  .vr-cuerpo { grid-template-columns: 1fr; }
  .modal-image { min-height: 270px; }
  .modal-copy { padding: 26px 22px 30px; }
  .checkout-page { padding: 28px 16px 60px; }
  .checkout-page h1 { font-size: 27px; }
  .bloque { padding: 16px; }
  .campos, .opciones { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 390px) {
  .product-media { height: 150px; }
  .add-button { width: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero-copy > * { opacity: 1; transform: none; }
}

/* ------------------------------------------- subcategorías, datos y entrega digital */
.subfiltros { margin: -8px 0 22px; }
.subfiltros a { min-height: 40px; padding: 0 14px; border: 1px solid var(--border); border-radius: 20px; background: #fff; display: inline-flex; align-items: center; font-size: 12px; font-weight: 600; color: var(--navy); }
.subfiltros a:hover { border-color: var(--navy); }
.subfiltros a.active { border-color: var(--cyan); background: var(--cyan); color: #fff; }
.entrega-digital { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 12px; font-weight: 600; color: var(--muted); }
.entrega-digital .ico { width: 14px; height: 14px; color: var(--cyan); }
.modal-copy .datos { display: grid; grid-template-columns: max-content 1fr; gap: 4px 18px; margin: 4px 0 14px; font-size: 14px; }
.modal-copy .datos dt { color: var(--muted); }
.modal-copy .datos dd { margin: 0; font-weight: 600; color: var(--navy); }
.nota-digital { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 14px !important; padding: 10px 12px; border-radius: 8px; background: #e3f7f8; color: var(--navy) !important; font-size: 13px; line-height: 1.5 !important; }
.nota-digital .ico { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 1px; color: var(--cyan); }
