/* ==========================================================
   Orozco Motorepuestos Online — Hoja de estilos principal
   ========================================================== */
:root {
    --red: #E30613;
    --red-d: #B8000D;
    --blue: #0B2C8F;
    --blue-d: #071E66;
    --navy: #050F33;
    --ink: #0F172A;
    --text: #334155;
    --muted: #64748B;
    --line: #E2E8F0;
    --soft: #F4F6FB;
    --white: #FFFFFF;
    --wa: #25D366;
    --wa-d: #1DA851;
    --radius: 14px;
    --radius-sm: 10px;
    --shadow: 0 10px 30px -12px rgba(11, 22, 51, .18);
    --shadow-lg: 0 24px 60px -20px rgba(11, 22, 51, .35);
    --ff-head: 'Barlow', 'Inter', system-ui, sans-serif;
    --ff: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --header-h: 0px;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0; font-family: var(--ff); font-size: 16px; line-height: 1.6; color: var(--text);
    background: var(--white); -webkit-font-smoothing: antialiased; touch-action: manipulation; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
main, .site-footer { overflow-x: clip; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
input, select, textarea, button { font-family: inherit; }
input, select, textarea { font-size: 16px; }
h1, h2, h3, h4 { font-family: var(--ff-head); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.container--wide { max-width: 1320px; }
.center { text-align: center; }
.mt-32 { margin-top: 32px; }
.only-mobile { display: none !important; }
.ico { flex-shrink: 0; }

/* ---------- Botones ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 14px 26px; border-radius: 999px; border: 2px solid transparent; font-weight: 600; font-size: 15px;
    letter-spacing: .01em; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
    white-space: nowrap; line-height: 1.2;
}
.btn:hover { transform: translateY(-2px); }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 10px 24px -10px rgba(227, 6, 19, .7); }
.btn--red:hover { background: var(--red-d); }
.btn--blue { background: var(--blue); color: #fff; box-shadow: 0 10px 24px -10px rgba(11, 44, 143, .7); }
.btn--blue:hover { background: var(--blue-d); }
.btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .6); background: rgba(255, 255, 255, .06); backdrop-filter: blur(4px); }
.btn--ghost:hover { background: #fff; color: var(--blue); border-color: #fff; }
.btn--outline { color: var(--blue); border-color: var(--blue); background: transparent; }
.btn--outline:hover { background: var(--blue); color: #fff; }
.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 12px 28px -10px rgba(37, 211, 102, .8); }
.btn--wa:hover { background: var(--wa-d); }
.btn--lg { padding: 17px 32px; font-size: 16px; }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* ---------- Barra superior ---------- */
.topbar { background: var(--navy); color: rgba(255, 255, 255, .82); font-size: 13px; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 40px; }
.topbar__text { margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar__links { display: flex; align-items: center; gap: 20px; }
.topbar__links a { display: inline-flex; align-items: center; gap: 7px; transition: color .2s; white-space: nowrap; }
.topbar__links a:hover { color: #fff; }
.topbar__social { width: 28px; height: 28px; justify-content: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); }
.topbar__links .topbar__social + .topbar__social { margin-left: -10px; }

/* ---------- Encabezado ---------- */
.site-header { position: sticky; top: 0; z-index: 90; background: #fff; box-shadow: 0 1px 0 var(--line); transition: box-shadow .3s; }
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(11, 22, 51, .45); }
.header__main { display: flex; align-items: center; gap: 36px; padding-top: 12px; padding-bottom: 12px; transition: padding .3s; }
.brand img { height: 74px; width: auto; transition: height .3s var(--ease); }
.site-header.is-scrolled .brand img { height: 56px; }
.site-header.is-scrolled .header__main { padding-top: 8px; padding-bottom: 8px; }

.search { position: relative; flex: 1; display: flex; max-width: 620px; }
.search input {
    width: 100%; height: 52px; border: 1.5px solid var(--line); border-radius: 999px; padding: 0 64px 0 24px;
    background: var(--soft); color: var(--ink); transition: border-color .2s, background .2s, box-shadow .2s; outline: none;
    -webkit-appearance: none; appearance: none;
}
.search input::-webkit-search-cancel-button { display: none; }
.search input:focus { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(11, 44, 143, .1); }
.search button {
    position: absolute; right: 5px; top: 5px; width: 42px; height: 42px; border-radius: 50%; border: 0;
    background: var(--red); color: #fff; display: grid; place-items: center; transition: background .2s, transform .2s;
}
.search button:hover { background: var(--red-d); transform: scale(1.05); }
.search__results {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0; background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; display: none; z-index: 100;
}
.search__results.is-open { display: block; animation: dropIn .25s var(--ease); }
.search__item { display: flex; align-items: center; gap: 14px; padding: 10px 14px; transition: background .15s; }
.search__item:hover, .search__item.is-focus { background: var(--soft); }
.search__item img { width: 52px; height: 52px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); background: #fff; }
.search__item strong { display: block; font-size: 14px; color: var(--ink); font-weight: 600; line-height: 1.3; }
.search__item small { color: var(--muted); font-size: 12px; }
.search__item .price-s { margin-left: auto; font-weight: 700; color: var(--red); font-size: 14px; white-space: nowrap; }
.search__empty { padding: 18px; color: var(--muted); font-size: 14px; text-align: center; }
.search__all { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; font-size: 14px; font-weight: 600; color: var(--blue); border-top: 1px solid var(--line); background: #fafbfe; }
.search__all:hover { color: var(--red); }

.header__actions { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.header__contact { display: flex; align-items: center; gap: 12px; padding-right: 18px; border-right: 1px solid var(--line); }
.header__contact-ico { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: var(--wa); border: 1.5px solid rgba(37, 211, 102, .35); transition: background .25s, color .25s; }
.header__contact:hover .header__contact-ico { background: var(--wa); color: #fff; }
.header__contact small { display: block; font-size: 12px; color: var(--muted); line-height: 1.2; }
.header__contact strong { font-family: var(--ff-head); font-size: 19px; color: var(--ink); line-height: 1.2; }
.icon-btn { position: relative; width: 50px; height: 50px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; display: grid; place-items: center; color: var(--ink); transition: border-color .2s, color .2s, transform .2s; }
.icon-btn:hover { border-color: var(--blue); color: var(--blue); }
.cart-badge {
    position: absolute; top: -4px; right: -4px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px;
    background: var(--red); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; border: 2px solid #fff;
    transition: transform .3s var(--ease);
}
.cart-badge.is-empty { transform: scale(0); }
.cart-badge.is-bump { animation: bump .5s var(--ease); }

.navbar { background: var(--blue); }
.navbar__inner { display: flex; align-items: center; justify-content: space-between; }
.navbar__menu { list-style: none; margin: 0; padding: 0; display: flex; }
.navbar__menu > li { position: relative; }
.navbar__menu > li > a {
    display: flex; align-items: center; gap: 6px; padding: 15px 22px; color: rgba(255, 255, 255, .88); font-weight: 600; font-size: 15px;
    position: relative; transition: color .2s, background .2s;
}
.navbar__menu > li > a::after { content: ''; position: absolute; left: 22px; right: 22px; bottom: 0; height: 3px; background: var(--red); transform: scaleX(0); transition: transform .3s var(--ease); border-radius: 3px 3px 0 0; }
.navbar__menu > li > a:hover, .navbar__menu > li > a.is-active { color: #fff; }
.navbar__menu > li > a:hover::after, .navbar__menu > li > a.is-active::after { transform: scaleX(1); }
.navbar__menu > li:first-child > a { padding-left: 0; }
.navbar__menu > li:first-child > a::after { left: 0; }
.dropdown {
    position: absolute; top: 100%; left: 0; min-width: 320px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow-lg); padding: 10px; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s var(--ease); z-index: 50;
}
.has-drop:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 10px; transition: background .2s; }
.dropdown a:hover { background: var(--soft); }
.dropdown img { width: 54px; height: 54px; object-fit: cover; border-radius: 10px; }
.dropdown strong { display: block; color: var(--ink); font-size: 15px; }
.dropdown small { color: var(--muted); font-size: 13px; }
.dropdown .dropdown__all { justify-content: space-between; margin-top: 6px; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; color: var(--blue); font-weight: 600; font-size: 14px; padding: 12px 10px 8px; }
.navbar__cats { display: flex; gap: 8px; }
.navbar__cats a { padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .3); color: #fff; font-size: 13px; font-weight: 500; transition: background .2s, border-color .2s; }
.navbar__cats a:hover { background: var(--red); border-color: var(--red); }
.mobile-search { display: none; }

/* ---------- Slider principal ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy); height: auto; transition: height .45s var(--ease); }
.hero__track { display: flex; transition: transform .8s var(--ease); will-change: transform; }
.hero__slide { position: relative; flex-shrink: 0; }
.hero__slide img { width: 100%; height: auto; user-select: none; -webkit-user-drag: none; }
.hero__content { position: absolute; inset: 0; display: flex; align-items: center; }
.hero__text { max-width: 600px; color: #fff; }
.hero__title { color: #fff; font-size: clamp(34px, 3.9vw, 56px); font-weight: 800; letter-spacing: -.01em; margin-bottom: 18px; text-wrap: balance; }
.hero__sub { font-size: clamp(16px, 1.3vw, 19px); color: rgba(255, 255, 255, .85); max-width: 520px; margin-bottom: 30px; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__slide .hero__title, .hero__slide .hero__sub, .hero__slide .hero__btns { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.hero__slide.is-active .hero__title { opacity: 1; transform: none; transition-delay: .25s; }
.hero__slide.is-active .hero__sub { opacity: 1; transform: none; transition-delay: .4s; }
.hero__slide.is-active .hero__btns { opacity: 1; transform: none; transition-delay: .55s; }
.hero__arrow {
    position: absolute; top: 50%; transform: translateY(-50%); width: 54px; height: 54px; border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, .35); background: rgba(5, 15, 51, .35); color: #fff; display: grid; place-items: center;
    backdrop-filter: blur(6px); transition: background .25s, border-color .25s; z-index: 3;
}
.hero__arrow:hover { background: var(--red); border-color: var(--red); }
.hero__arrow--prev { left: 24px; }
.hero__arrow--next { right: 24px; }
.hero__dots { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; gap: 10px; z-index: 3; }
.hero__dots button { width: 12px; height: 12px; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .45); transition: width .35s var(--ease), background .3s; padding: 0; }
.hero__dots button.is-active { width: 36px; background: var(--red); }
.hero__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, .1); z-index: 3; }
.hero__progress span { display: block; height: 100%; width: 0; background: var(--red); }

/* ---------- Secciones ---------- */
.section { padding: 96px 0; position: relative; }
.section--soft { background: var(--soft); }
.section--navy { background: radial-gradient(1200px 600px at 80% 0%, rgba(11, 44, 143, .55), transparent 60%), var(--navy); color: rgba(255, 255, 255, .8); overflow: hidden; }
.section--blue { background: linear-gradient(135deg, var(--blue) 0%, var(--blue-d) 60%, var(--navy) 100%); color: rgba(255, 255, 255, .85); position: relative; overflow: hidden; }
.section--blue::before { content: ''; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(255, 255, 255, .04); }
.section--blue::after { content: ''; position: absolute; left: -80px; bottom: -160px; width: 360px; height: 360px; border-radius: 50%; border: 50px solid rgba(227, 6, 19, .12); }
.section--blue > .container { position: relative; z-index: 1; }

.sec-title { margin-bottom: 52px; }
.sec-title--center { text-align: center; max-width: 720px; margin-left: auto; margin-right: auto; }
.sec-title h2 { font-size: clamp(30px, 3.2vw, 44px); font-weight: 800; margin-bottom: 16px; letter-spacing: -.01em; }
.sec-title__line { display: block; width: 72px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--red) 0 60%, var(--blue) 60% 100%); margin-bottom: 18px; }
.sec-title--center .sec-title__line { margin-left: auto; margin-right: auto; }
.sec-title p { color: var(--muted); font-size: 17px; margin: 0; }
.sec-title--light h2 { color: #fff; }
.sec-title--light p { color: rgba(255, 255, 255, .75); }
.sec-title--light .sec-title__line { background: linear-gradient(90deg, var(--red) 0 60%, #fff 60% 100%); }

/* ---------- Recuadros con ícono (centrados, ícono sin fondo) ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature {
    text-align: center; padding: 36px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; position: relative; overflow: hidden;
}
.feature::before { content: ''; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(11, 44, 143, .05), transparent 55%); opacity: 0; transition: opacity .35s; }
.feature:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: rgba(11, 44, 143, .35); }
.feature:hover::before { opacity: 1; }
.feature__ico { display: flex; justify-content: center; color: var(--red); margin-bottom: 18px; position: relative; transition: transform .45s var(--ease); }
.feature:hover .feature__ico { transform: translateY(-4px) scale(1.08); }
.feature h3 { font-size: 21px; margin-bottom: 10px; position: relative; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; position: relative; }
.features--benefits .feature { padding: 28px 20px; }
.features--benefits .feature h3 { font-size: 18px; margin-bottom: 6px; }
.features--benefits .feature p { font-size: 14px; }
.features--benefits .feature__ico svg { width: 34px; height: 34px; }
.features--dark .feature { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .16); backdrop-filter: blur(4px); }
.features--dark .feature:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .4); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.features--dark .feature h3 { color: #fff; }
.features--dark .feature p { color: rgba(255, 255, 255, .72); }
.features--dark .feature__ico { color: #fff; }
.features--dark .feature:hover .feature__ico { color: var(--red); }
.benefits { padding: 56px 0 0; }

/* ---------- Nosotros (inicio) ---------- */
.about { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.rich p { font-size: 16.5px; color: var(--text); }
.about__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.about__media { position: relative; }
.about__frame { position: relative; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.about__frame img { width: 100%; height: auto; transition: transform 1.2s var(--ease); }
.about__frame:hover img { transform: scale(1.04); }
.about__media::before { content: ''; position: absolute; inset: 24px -24px -24px 24px; border: 2px solid var(--red); border-radius: 20px; z-index: -1; }

/* ---------- Categorías dinámicas ---------- */
.cats { display: flex; gap: 18px; height: 560px; }
.cat {
    position: relative; flex: 1; border-radius: 20px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .14);
    transition: flex .7s var(--ease), border-color .4s, box-shadow .4s; min-width: 0; isolation: isolate;
}
.cat.is-open { flex: 2.3; border-color: rgba(255, 255, 255, .35); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8); }
.cat__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); z-index: -2; }
.cat.is-open .cat__img { transform: scale(1.06); }
.cat__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5, 15, 51, .15) 0%, rgba(5, 15, 51, .15) 40%, rgba(5, 15, 51, .92) 100%); }
.cat__num { position: absolute; top: 24px; left: 26px; font-family: var(--ff-head); font-size: 20px; font-weight: 700; color: rgba(255, 255, 255, .8); }
.cat__num::after { content: ''; display: inline-block; width: 28px; height: 2px; background: var(--red); vertical-align: middle; margin-left: 10px; }
.cat__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 28px; display: flex; flex-direction: column; gap: 8px; }
.cat__count { font-size: 13px; color: rgba(255, 255, 255, .7); font-weight: 500; }
.cat__name { font-family: var(--ff-head); font-weight: 800; color: #fff; font-size: 34px; line-height: 1.05; }
.cat__desc, .cat__btn { max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .5s var(--ease), margin .5s; }
.cat__desc { color: rgba(255, 255, 255, .8); font-size: 15px; max-width: 420px; }
.cat__btn { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; background: var(--red); color: #fff; border-radius: 999px; padding: 0 22px; font-weight: 600; font-size: 14px; }
.cat.is-open .cat__desc { max-height: 120px; opacity: 1; }
.cat.is-open .cat__btn { max-height: 60px; opacity: 1; padding: 12px 22px; margin-top: 8px; }
.cat.is-open .cat__name { font-size: 42px; }

/* ---------- Tarjeta de producto ---------- */
.pcard {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; position: relative; height: 100%;
}
.pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(11, 44, 143, .3); }
.pcard__media { position: relative; display: block; aspect-ratio: 1 / 1; background: #f6f7fa; overflow: hidden; }
.pcard__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s var(--ease), transform .8s var(--ease); }
.pcard__img--alt { opacity: 0; }
.pcard:hover .pcard__img { transform: scale(1.05); }
.pcard:hover .pcard__img--alt { opacity: 1; }
.pcard__tag { position: absolute; top: 14px; left: 14px; background: var(--red); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: 999px; }
.pcard__tag--out { background: var(--ink); left: auto; right: 14px; }
.pcard__body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.pcard__cat { font-size: 12px; font-weight: 600; color: var(--blue); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.pcard__title { font-family: var(--ff); font-size: 15.5px; font-weight: 600; line-height: 1.4; margin: 0 0 16px; flex: 1; }
.pcard__title a { color: var(--ink); transition: color .2s; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard__title a:hover { color: var(--red); }
.pcard__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.price { display: flex; flex-direction: column; line-height: 1.2; }
.price del { color: var(--muted); font-size: 13px; }
.price strong { font-family: var(--ff-head); font-size: 22px; color: var(--ink); font-weight: 700; white-space: nowrap; }
.price del { white-space: nowrap; }
.pcard__add {
    display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--blue);
    background: #fff; color: var(--blue); font-weight: 600; font-size: 14px; transition: background .25s, color .25s, transform .2s;
}
.pcard__add:hover { background: var(--blue); color: #fff; }
.pcard__add.is-added { background: var(--wa); border-color: var(--wa); color: #fff; }
.pcard__add[disabled] { opacity: .45; cursor: not-allowed; }

/* ---------- Carrusel de productos en movimiento ---------- */
.pcarousel { position: relative; }
.pcarousel__viewport { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -ms-overflow-style: none; padding: 12px 4px 30px; cursor: grab; }
.pcarousel__viewport::-webkit-scrollbar { display: none; }
.pcarousel__viewport.is-dragging { cursor: grabbing; }
.pcarousel__viewport.is-dragging a { pointer-events: none; }
.pcarousel__track { display: flex; gap: 22px; width: max-content; }
.pcard--slide { width: 280px; flex-shrink: 0; }
.pcarousel__nav {
    position: absolute; top: calc(50% - 30px); width: 50px; height: 50px; border-radius: 50%; background: #fff; border: 1px solid var(--line);
    display: grid; place-items: center; color: var(--ink); z-index: 3; box-shadow: var(--shadow); transition: background .25s, color .25s, border-color .25s;
}
.pcarousel__nav:hover { background: var(--red); color: #fff; border-color: var(--red); }
.pcarousel__nav--prev { left: -8px; }
.pcarousel__nav--next { right: -8px; }
.pcarousel::before, .pcarousel::after { content: ''; position: absolute; top: 0; bottom: 20px; width: 60px; z-index: 2; pointer-events: none; }
.pcarousel::before { left: 0; background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0)); }
.pcarousel::after { right: 0; background: linear-gradient(-90deg, #fff, rgba(255, 255, 255, 0)); }
.section--soft .pcarousel::before { background: linear-gradient(90deg, var(--soft), rgba(244, 246, 251, 0)); }
.section--soft .pcarousel::after { background: linear-gradient(-90deg, var(--soft), rgba(244, 246, 251, 0)); }

/* ---------- Banda de llamada a la acción ---------- */
.cta-band { position: relative; padding: 120px 0; background-size: cover; background-position: center; text-align: center; color: #fff; }
.cta-band__inner { max-width: 820px; }
.cta-band h2 { color: #fff; font-size: clamp(30px, 3.6vw, 50px); font-weight: 800; margin-bottom: 16px; }
.cta-band p { color: rgba(255, 255, 255, .85); font-size: 18px; margin-bottom: 34px; }

/* ---------- Encabezado de páginas internas ---------- */
.page-hero { position: relative; padding: 110px 0 100px; background-size: cover; background-position: center; color: #fff; overflow: hidden; }
.page-hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: linear-gradient(90deg, var(--red) 0 30%, var(--blue) 30% 100%); }
.page-hero h1 { color: #fff; font-size: clamp(34px, 4.4vw, 58px); font-weight: 800; margin: 14px 0 12px; }
.page-hero p { color: rgba(255, 255, 255, .85); font-size: 18px; max-width: 620px; margin: 0; }
.crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 14px; color: rgba(255, 255, 255, .7); }
.crumbs a:hover { color: #fff; }
.crumbs span { color: #fff; }

/* ---------- Página Nosotros ---------- */
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.mv__box { text-align: center; padding: 46px 38px; border: 1px solid var(--line); border-radius: 18px; background: #fff; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.mv__box:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(11, 44, 143, .3); }
.mv__box .feature__ico { color: var(--blue); }
.mv__box h3 { font-size: 26px; }
.mv__box p { margin: 0; color: var(--muted); font-size: 16px; }

/* ---------- Catálogo ---------- */
.shop { display: grid; grid-template-columns: 270px 1fr; gap: 36px; align-items: start; }
.shop__side { position: sticky; top: calc(var(--header-h) + 20px); display: flex; flex-direction: column; gap: 20px; }
.side-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: #fff; }
.side-box h3 { font-size: 18px; margin-bottom: 14px; }
.side-cats { list-style: none; margin: 0; padding: 0; }
.side-cats a { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-radius: 10px; font-weight: 500; color: var(--text); transition: background .2s, color .2s; }
.side-cats a:hover { background: var(--soft); color: var(--blue); }
.side-cats a.is-active { background: var(--blue); color: #fff; }
.side-cats small { font-size: 12px; min-width: 26px; height: 22px; border-radius: 999px; display: grid; place-items: center; background: var(--soft); color: var(--muted); padding: 0 8px; }
.side-cats a.is-active small { background: rgba(255, 255, 255, .2); color: #fff; }
.side-help { text-align: center; background: linear-gradient(160deg, var(--blue), var(--navy)); color: rgba(255, 255, 255, .85); border: 0; }
.side-help h3 { color: #fff; }
.side-help p { font-size: 14px; }
.shop__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.shop__bar p { margin: 0; color: var(--muted); font-size: 15px; }
.shop__bar p strong { color: var(--ink); }
.select { height: 46px; border: 1.5px solid var(--line); border-radius: 999px; padding: 0 40px 0 18px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23334155' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; -webkit-appearance: none; appearance: none; color: var(--ink); font-weight: 500; font-size: 15px; outline: none; }
.select:focus { border-color: var(--blue); }
.grid-products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cat-chips { display: none; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-bottom: 18px; padding-bottom: 4px; }
.cat-chips::-webkit-scrollbar { display: none; }
.cat-chips a { flex-shrink: 0; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line); font-size: 14px; font-weight: 600; color: var(--text); }
.cat-chips a.is-active { background: var(--blue); border-color: var(--blue); color: #fff; }
.empty { text-align: center; padding: 70px 20px; border: 1px dashed var(--line); border-radius: var(--radius); }
.empty .ico { color: var(--muted); margin: 0 auto 14px; }
.empty h3 { font-size: 22px; }
.empty p { color: var(--muted); }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pagination a, .pagination span { min-width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center; border: 1.5px solid var(--line); font-weight: 600; padding: 0 12px; }
.pagination a:hover { border-color: var(--blue); color: var(--blue); }
.pagination .is-current { background: var(--blue); border-color: var(--blue); color: #fff; }

/* ---------- Detalle de producto ---------- */
.pdetail { padding: 50px 0 70px; }
.pdetail__crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 30px; }
.pdetail__crumbs a:hover { color: var(--red); }
.pdetail__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: start; }
.gallery__main { position: relative; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: #f6f7fa; aspect-ratio: 1 / 1; cursor: zoom-in; }
.gallery__main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .35s, transform .35s var(--ease); }
.gallery__main.is-zoom img { transform: scale(1.8); }
.gallery__thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 14px; }
.gallery__thumbs button { padding: 0; border: 2px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; aspect-ratio: 1 / 1; transition: border-color .2s; }
.gallery__thumbs button.is-active { border-color: var(--red); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pinfo__cat { display: inline-block; font-size: 13px; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; }
.pinfo h1 { font-size: clamp(28px, 3vw, 40px); font-weight: 800; margin-bottom: 14px; }
.pinfo__meta { display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.pinfo__meta strong { color: var(--ink); font-weight: 600; }
.stock { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.stock--ok { color: #15803d; }
.stock--no { color: var(--red); }
.pinfo__price { display: flex; align-items: baseline; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.pinfo__price strong { font-family: var(--ff-head); font-size: 42px; color: var(--ink); line-height: 1; }
.pinfo__price del { color: var(--muted); font-size: 20px; }
.pinfo__price .off { background: rgba(227, 6, 19, .1); color: var(--red); font-weight: 700; font-size: 14px; padding: 4px 12px; border-radius: 999px; }
.pinfo__summary { font-size: 16.5px; margin-bottom: 26px; }
.buy { display: grid; grid-template-columns: auto 1fr; gap: 14px; margin-bottom: 14px; }
.qty { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; height: 54px; overflow: hidden; }
.qty button { width: 46px; height: 100%; border: 0; background: transparent; display: grid; place-items: center; color: var(--ink); transition: background .2s; }
.qty button:hover { background: var(--soft); }
.qty input { width: 48px; text-align: center; border: 0; font-weight: 700; color: var(--ink); outline: none; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.buy .btn { height: 54px; }
.buy-alt { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.buy-alt .btn { height: 54px; }
.assure { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 26px; }
.assure div { border: 1px solid var(--line); border-radius: 12px; padding: 16px 10px; text-align: center; font-size: 13px; font-weight: 600; color: var(--ink); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.assure .ico { color: var(--red); }
.tabs { margin-top: 64px; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.tabs__head { display: flex; background: var(--soft); border-bottom: 1px solid var(--line); }
.tabs__head button { padding: 18px 28px; border: 0; background: transparent; font-weight: 600; color: var(--muted); position: relative; font-size: 15px; }
.tabs__head button.is-active { color: var(--ink); background: #fff; }
.tabs__head button.is-active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--red); }
.tabs__panel { display: none; padding: 32px; }
.tabs__panel.is-active { display: block; animation: fadeIn .4s var(--ease); }
.specs { width: 100%; border-collapse: collapse; }
.specs th, .specs td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: left; font-size: 15px; }
.specs th { width: 38%; color: var(--ink); font-weight: 600; background: #fafbfe; }
.specs tr:last-child th, .specs tr:last-child td { border-bottom: 0; }

/* ---------- Carrito ---------- */
.cart { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start; }
.cart__list { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.citem { display: grid; grid-template-columns: 96px 1fr auto auto 40px; gap: 20px; align-items: center; padding: 20px 22px; border-bottom: 1px solid var(--line); transition: opacity .3s; }
.citem:last-child { border-bottom: 0; }
.citem img { width: 96px; height: 96px; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); }
.citem h3 { font-family: var(--ff); font-size: 16px; font-weight: 600; margin: 0 0 4px; }
.citem h3 a:hover { color: var(--red); }
.citem small { color: var(--muted); font-size: 13px; }
.citem__total { font-family: var(--ff-head); font-weight: 700; font-size: 20px; color: var(--ink); min-width: 100px; text-align: right; }
.citem .qty { height: 44px; }
.citem .qty button { width: 38px; }
.citem .qty input { width: 38px; }
.citem__del { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--muted); display: grid; place-items: center; transition: all .2s; }
.citem__del:hover { color: #fff; background: var(--red); border-color: var(--red); }
.summary { border: 1px solid var(--line); border-radius: 18px; padding: 28px; position: sticky; top: calc(var(--header-h) + 20px); background: #fff; }
.summary h3 { font-size: 22px; margin-bottom: 18px; }
.summary__row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; font-size: 15px; }
.summary__row--total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 18px; font-weight: 700; color: var(--ink); font-size: 18px; }
.summary__row--total strong { font-family: var(--ff-head); font-size: 28px; color: var(--red); }
.summary .btn { margin-top: 12px; }
.summary__note { font-size: 13px; color: var(--muted); margin: 14px 0 0; text-align: center; }
.summary__items { max-height: 320px; overflow: auto; margin-bottom: 10px; }
.sitem { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.sitem img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; border: 1px solid var(--line); }
.sitem span { flex: 1; font-size: 14px; line-height: 1.35; color: var(--ink); }
.sitem small { display: block; color: var(--muted); }
.sitem strong { font-size: 14px; white-space: nowrap; }

/* ---------- Formularios ---------- */
.form-card { border: 1px solid var(--line); border-radius: 18px; padding: 32px; background: #fff; }
.form-card h3 { font-size: 22px; margin-bottom: 6px; }
.form-card > p { color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.field label em { color: var(--red); font-style: normal; }
.field input, .field select, .field textarea {
    width: 100%; height: 50px; border: 1.5px solid var(--line); border-radius: 12px; padding: 0 16px; background: #fff; color: var(--ink); outline: none;
    transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none;
}
.field select { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23334155' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; padding-right: 40px; }
.field textarea { height: auto; min-height: 130px; padding: 14px 16px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(11, 44, 143, .1); }
.field small { display: block; color: var(--muted); font-size: 13px; margin-top: 6px; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--blue); flex-shrink: 0; }
.radio-group { display: flex; gap: 12px; flex-wrap: wrap; }
.radio-pill { position: relative; }
.radio-pill input { position: absolute; opacity: 0; }
.radio-pill span { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border: 1.5px solid var(--line); border-radius: 12px; font-weight: 600; font-size: 14px; cursor: pointer; transition: all .2s; }
.radio-pill input:checked + span { border-color: var(--blue); background: rgba(11, 44, 143, .06); color: var(--blue); }
.paymethods { display: grid; gap: 12px; }
.paym { position: relative; display: block; cursor: pointer; }
.paym input { position: absolute; opacity: 0; }
.paym__box { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border: 1.5px solid var(--line); border-radius: 14px; transition: border-color .2s, background .2s, box-shadow .2s; }
.paym input:checked + .paym__box { border-color: var(--blue); background: rgba(11, 44, 143, .04); box-shadow: 0 0 0 4px rgba(11, 44, 143, .08); }
.paym__logo { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; font-size: 13px; color: #fff; flex-shrink: 0; }
.paym__logo--yape { background: #742284; font-family: var(--ff-head); font-size: 17px; letter-spacing: .02em; }
.paym__logo--mp { background: #00B1EA; }
.paym__logo--wa { background: var(--wa); }
.paym__box strong { display: block; color: var(--ink); font-size: 16px; }
.paym__box small { color: var(--muted); font-size: 13px; }
.paym__radio { margin-left: auto; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); flex-shrink: 0; position: relative; transition: border-color .2s; }
.paym input:checked + .paym__box .paym__radio { border-color: var(--blue); }
.paym input:checked + .paym__box .paym__radio::after { content: ''; position: absolute; inset: 4px; border-radius: 50%; background: var(--blue); }
.alert { padding: 16px 18px; border-radius: 12px; font-size: 15px; margin-bottom: 20px; display: flex; gap: 10px; align-items: flex-start; border: 1px solid; }
.alert--ok { background: #f0fdf4; border-color: #bbf7d0; color: #166534; }
.alert--err { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.alert--info { background: #eff4ff; border-color: #c7d6fe; color: var(--blue-d); }
.hp { position: absolute; left: -9999px; }

/* ---------- Confirmación de pedido ---------- */
.order { display: grid; grid-template-columns: 1fr 400px; gap: 32px; align-items: start; }
.order__head { text-align: center; padding: 40px 30px; border: 1px solid var(--line); border-radius: 18px; margin-bottom: 26px; }
.order__head .ico { color: var(--wa); margin: 0 auto 14px; }
.order__head h2 { font-size: 30px; }
.order__code { display: inline-block; font-family: var(--ff-head); font-size: 20px; font-weight: 700; color: var(--blue); padding: 8px 18px; border: 1.5px dashed var(--blue); border-radius: 10px; margin-top: 6px; }
.yape-box { text-align: center; }
.yape-box__qr { width: 230px; margin: 0 auto 16px; border-radius: 16px; border: 1px solid var(--line); padding: 10px; background: #fff; }
.yape-box__num { font-family: var(--ff-head); font-size: 32px; font-weight: 800; color: #742284; letter-spacing: .02em; display: inline-flex; align-items: center; gap: 10px; }
.copy-btn { border: 1px solid var(--line); background: #fff; border-radius: 8px; width: 36px; height: 36px; display: inline-grid; place-items: center; color: var(--muted); }
.copy-btn:hover { color: var(--blue); border-color: var(--blue); }
.yape-box__amount { font-size: 15px; color: var(--muted); }
.yape-box__amount strong { display: block; font-family: var(--ff-head); font-size: 36px; color: var(--ink); }
.steps-list { counter-reset: st; list-style: none; padding: 0; margin: 20px 0; text-align: left; }
.steps-list li { counter-increment: st; position: relative; padding: 0 0 14px 44px; font-size: 15px; }
.steps-list li::before { content: counter(st); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--blue); color: var(--blue); font-weight: 700; display: grid; place-items: center; font-size: 14px; }
.status-pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; background: #fff7ed; color: #c2410c; border: 1px solid #fed7aa; }
.status-pill--ok { background: #f0fdf4; color: #15803d; border-color: #bbf7d0; }

/* ---------- Contacto ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: start; }
.cinfo { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.cinfo__item { text-align: center; padding: 28px 18px; border: 1px solid var(--line); border-radius: 16px; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.cinfo__item:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(11, 44, 143, .3); }
.cinfo__item .feature__ico { color: var(--red); margin-bottom: 12px; }
.cinfo__item .ico-wa { color: var(--wa); }
.cinfo__item h3 { font-size: 17px; margin-bottom: 6px; }
.cinfo__item p, .cinfo__item a { font-size: 15px; color: var(--text); margin: 0; word-break: break-word; }
.cinfo__item a:hover { color: var(--red); }
.map { margin-top: 70px; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); height: 420px; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Libro de reclamaciones ---------- */
.claims { max-width: 980px; margin: 0 auto; }
.claims__company { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 26px; }
.claims__company div { border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; font-size: 14px; }
.claims__company small { display: block; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 4px; }
.claims__company strong { color: var(--ink); }
.form-sec { margin: 30px 0 18px; padding-bottom: 12px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 12px; }
.form-sec span { width: 32px; height: 32px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.form-sec h3 { margin: 0; font-size: 19px; }
.legal { font-size: 13px; color: var(--muted); background: var(--soft); border-radius: 12px; padding: 16px 18px; margin-top: 22px; border: 1px solid var(--line); }
.legal p { margin: 0 0 8px; }
.legal p:last-child { margin: 0; }

/* ---------- Pie de página ---------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .72); position: relative; }
.site-footer::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--red) 0 33%, var(--blue) 33% 100%); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 48px; padding-top: 80px; padding-bottom: 56px; }
.footer__logo { display: inline-block; background: #fff; border-radius: 16px; padding: 14px 18px; margin-bottom: 22px; }
.footer__logo img { height: 78px; width: auto; }
.footer__brand p { font-size: 15px; max-width: 340px; }
.footer__social { display: flex; gap: 10px; margin-top: 20px; }
.footer__social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); display: grid; place-items: center; color: #fff; transition: background .25s, border-color .25s, transform .25s; }
.footer__social a:hover { background: var(--red); border-color: var(--red); transform: translateY(-3px); }
.site-footer h4 { color: #fff; font-size: 19px; margin-bottom: 22px; position: relative; padding-bottom: 12px; }
.site-footer h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 36px; height: 3px; background: var(--red); border-radius: 3px; }
.footer__col ul { list-style: none; margin: 0; padding: 0; }
.footer__col li { margin-bottom: 12px; font-size: 15px; }
.footer__col li a { transition: color .2s, padding .2s; }
.footer__col li a:hover { color: #fff; padding-left: 4px; }
.footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer__contact li svg { color: var(--red); margin-top: 3px; flex-shrink: 0; }
.footer__contact li .ico-wa { color: var(--wa); }
.lr-badge { display: inline-flex; align-items: center; gap: 12px; margin-top: 10px; padding: 12px 16px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 12px; transition: border-color .25s, background .25s; }
.lr-badge:hover { border-color: #fff; background: rgba(255, 255, 255, .05); }
.lr-badge strong { display: block; color: #fff; font-size: 14px; line-height: 1.3; }
.lr-badge small { font-size: 12px; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.footer__bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; padding-bottom: 22px; flex-wrap: wrap; }
.footer__bottom p { margin: 0; font-size: 14px; }
.footer__pay { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.pay-chip { padding: 5px 12px; border-radius: 8px; font-weight: 700; font-size: 12px; color: #fff; }
.pay-chip--yape { background: #742284; }
.pay-chip--mp { background: #00B1EA; }

/* ---------- Barra flotante del carrito ---------- */
.cart-bar {
    position: fixed; left: 50%; bottom: 24px; z-index: 95; transform: translate(-50%, 140%); display: flex; align-items: center; gap: 22px;
    background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 8px 8px 12px; box-shadow: 0 20px 50px -15px rgba(11, 22, 51, .45);
    transition: transform .5s var(--ease), opacity .4s, visibility .4s; max-width: calc(100% - 32px); opacity: 0; visibility: hidden;
}
.cart-bar.is-visible { transform: translate(-50%, 0); opacity: 1; visibility: visible; }
.cart-bar__info { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--ink); white-space: nowrap; }
.cart-bar__ico { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: var(--blue); border: 1.5px solid rgba(11, 44, 143, .25); }
.cart-bar strong { font-family: var(--ff-head); font-size: 18px; }

/* ---------- Botón flotante de WhatsApp ---------- */
.wa-float {
    position: fixed; right: 24px; bottom: 24px; z-index: 96; width: 62px; height: 62px; border-radius: 50%; background: var(--wa); color: #fff;
    display: grid; place-items: center; box-shadow: 0 14px 30px -8px rgba(37, 211, 102, .7); transition: transform .3s var(--ease), bottom .5s var(--ease);
}
.wa-float::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ring 2.4s infinite; }
.wa-float:hover { transform: scale(1.08); }
.wa-float__tip { position: absolute; right: calc(100% + 14px); background: #fff; color: var(--ink); font-size: 14px; font-weight: 600; padding: 9px 14px; border-radius: 10px; border: 1px solid var(--line); box-shadow: var(--shadow); white-space: nowrap; opacity: 0; transform: translateX(8px); transition: all .3s var(--ease); pointer-events: none; }
.wa-float:hover .wa-float__tip { opacity: 1; transform: none; }

/* ---------- Menú inferior tipo app ---------- */
.app-nav { display: none; }

/* ---------- Aviso emergente ---------- */
.toast { position: fixed; top: 20px; left: 50%; transform: translate(-50%, -150%); z-index: 200; background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 12px; font-size: 14px; font-weight: 500; box-shadow: var(--shadow-lg); transition: transform .4s var(--ease), opacity .3s, visibility .3s; display: flex; align-items: center; gap: 10px; max-width: calc(100% - 32px); opacity: 0; visibility: hidden; }
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; visibility: visible; }
.toast .ico { color: var(--wa); }

/* ---------- Animaciones al hacer scroll ---------- */
[data-anim] { opacity: 0; transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); will-change: opacity, transform; }
[data-anim="fade-up"] { transform: translateY(40px); }
[data-anim="fade-left"] { transform: translateX(50px); }
[data-anim="fade-right"] { transform: translateX(-50px); }
[data-anim="zoom"] { transform: scale(.92); }
[data-anim].is-visible { opacity: 1; transform: none; }

@keyframes dropIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.4); } 100% { transform: scale(1); } }
@keyframes ring { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }

/* ==========================================================
   Responsivo
   ========================================================== */
@media (max-width: 1180px) {
    .header__contact { display: none; }
    .navbar__cats { display: none; }
    .features { grid-template-columns: repeat(2, 1fr); }
    .footer__grid { grid-template-columns: 1fr 1fr; }
    .grid-products { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 991px) {
    .about, .pdetail__grid, .contact, .cart, .order { grid-template-columns: 1fr; }
    .about { gap: 50px; }
    .about__media::before { inset: 16px -12px -16px 16px; }
    .shop { grid-template-columns: 1fr; }
    .shop__side { display: none; }
    .cat-chips { display: flex; }
    .cats { flex-direction: column; height: auto; }
    .cat, .cat.is-open { flex: none; height: 300px; }
    .cat__desc, .cat__btn { max-height: none; opacity: 1; }
    .cat__btn { padding: 11px 20px; margin-top: 6px; }
    .cat__name, .cat.is-open .cat__name { font-size: 32px; }
    .cat__img { object-position: center 65%; }
    .summary { position: static; }
    .pdetail__grid { gap: 36px; }
}

@media (max-width: 767px) {
    body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
    .container { padding: 0 16px; }
    .only-mobile { display: grid !important; }
    .topbar { display: none; }
    .header__main { gap: 10px; padding-top: 10px; padding-bottom: 10px; }
    .brand img, .site-header.is-scrolled .brand img { height: 50px; }
    .header__main > .search { display: none; }
    .icon-btn { width: 44px; height: 44px; }
    .header__actions { gap: 10px; }
    .navbar { display: none; }
    .mobile-search { display: block; max-height: 0; overflow: hidden; transition: max-height .35s var(--ease), padding .35s; padding: 0 16px; }
    .mobile-search.is-open { max-height: 90px; padding: 0 16px 12px; overflow: visible; }
    .search input { height: 48px; }
    .search button { width: 38px; height: 38px; }

    .hero__content { align-items: flex-start; padding-top: 44px; }
    .hero__title { font-size: 31px; margin-bottom: 12px; }
    .hero__sub { font-size: 15.5px; margin-bottom: 20px; }
    .hero__btns .btn { padding: 12px 20px; font-size: 14px; }
    .hero__arrow { display: none; }
    .hero__dots { bottom: 18px; }

    .section { padding: 64px 0; }
    .benefits { padding-top: 36px; }
    .sec-title { margin-bottom: 36px; }
    .features { grid-template-columns: 1fr 1fr; gap: 12px; }
    .feature { padding: 26px 14px; }
    .feature h3 { font-size: 17px; }
    .feature p { font-size: 13.5px; }
    .features--benefits .feature { padding: 20px 12px; }
    .features--benefits .feature h3 { font-size: 15px; }
    .features--benefits .feature p { font-size: 12.5px; }
    .cat, .cat.is-open { height: auto; display: flex; flex-direction: column; background: #0a1a55; }
    .cat__img, .cat.is-open .cat__img { position: relative; inset: auto; height: 190px; object-position: center 47%; transform: none; z-index: 0; }
    .cat__shade { display: none; }
    .cat__body { position: relative; padding: 18px 20px 22px; z-index: 1; }
    .cat__num { z-index: 1; top: 16px; left: 18px; }
    .cat__name, .cat.is-open .cat__name { font-size: 28px; }

    .pcard--slide { width: 230px; }
    .pcarousel__nav { display: none; }
    .pcarousel::before, .pcarousel::after { width: 24px; }
    .pcarousel__track { gap: 14px; }
    .pcard__body { padding: 14px; }
    .pcard__title { font-size: 14.5px; margin-bottom: 12px; }
    .price strong { font-size: 19px; }
    .pcard__add { width: 42px; padding: 0; justify-content: center; }
    .pcard__add span { display: none; }
    .grid-products { gap: 12px; }
    .grid-products .pcard__foot { flex-direction: row; }

    .cta-band { padding: 80px 0; }
    .page-hero { padding: 64px 0 60px; }
    .page-hero p { font-size: 16px; }
    .mv, .cinfo, .claims__company { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .form-card { padding: 22px; }
    .assure { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .assure div { font-size: 12px; padding: 12px 6px; }
    .buy-alt { grid-template-columns: 1fr; }
    .tabs__head button { padding: 16px 18px; flex: 1; }
    .tabs__panel { padding: 22px 18px; }
    .specs th, .specs td { padding: 12px; font-size: 14px; }
    .citem { grid-template-columns: 76px 1fr 36px; grid-template-areas: "img info del" "img qty total"; gap: 10px 14px; padding: 16px; }
    .citem img { width: 76px; height: 76px; grid-area: img; }
    .citem__info { grid-area: info; }
    .citem .qty { grid-area: qty; justify-self: start; height: 40px; }
    .citem__total { grid-area: total; min-width: 0; font-size: 18px; }
    .citem__del { grid-area: del; width: 36px; height: 36px; }
    .map { height: 320px; margin-top: 50px; }
    .footer__grid { grid-template-columns: 1fr; gap: 36px; padding-top: 60px; }
    .footer__bottom-inner { flex-direction: column; text-align: center; }

    .app-nav {
        display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 97; background: #fff;
        box-shadow: 0 -8px 30px -12px rgba(11, 22, 51, .25); padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
    }
    .app-nav a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 2px; font-size: 11.5px; font-weight: 600; color: var(--muted); border-radius: 12px; position: relative; transition: color .2s; }
    .app-nav a.is-active { color: var(--red); }
    .app-nav a.is-active::before { content: ''; position: absolute; top: -6px; width: 28px; height: 3px; border-radius: 0 0 3px 3px; background: var(--red); }
    .cart-bar { bottom: calc(80px + env(safe-area-inset-bottom)); left: 16px; right: 16px; transform: translateY(160%); max-width: none; justify-content: space-between; border-radius: 16px; padding: 8px 8px 8px 10px; }
    .cart-bar.is-visible { transform: translateY(0); }
    .cart-bar__info { font-size: 14px; }
    .wa-float { right: 16px; bottom: calc(84px + env(safe-area-inset-bottom)); width: 56px; height: 56px; }
    body.has-cart-bar .wa-float { bottom: calc(150px + env(safe-area-inset-bottom)); }
    .wa-float__tip { display: none; }
}

@media (min-width: 768px) {
    body.has-cart-bar .wa-float { bottom: 24px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
    [data-anim] { opacity: 1; transform: none; }
}

@media print {
    .topbar, .site-header, .site-footer, .app-nav, .wa-float, .cart-bar, .page-hero, .btn, .toast { display: none !important; }
    body { padding: 0; }
    [data-anim] { opacity: 1 !important; transform: none !important; }
    .section { padding: 20px 0; }
}

/* ---------- Otros servicios (inicio) ---------- */
.oservs { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.oserv { position: relative; display: block; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 12 / 7; background: var(--navy); isolation: isolate; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.oserv:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.oserv__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease); }
.oserv:hover .oserv__img { transform: scale(1.06); }
.oserv__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5, 15, 51, .85) 0%, rgba(5, 15, 51, .45) 45%, rgba(5, 15, 51, 0) 70%), linear-gradient(180deg, rgba(5, 15, 51, 0) 50%, rgba(5, 15, 51, .6) 100%); }
.oserv__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 30px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.oserv__title { font-family: var(--ff-head); font-weight: 800; font-size: clamp(24px, 2.4vw, 34px); color: #fff; line-height: 1.1; }
.oserv__text { color: rgba(255, 255, 255, .85); font-size: 15px; max-width: 58%; }
.oserv__title { max-width: 60%; }
.oserv__btn { display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; background: var(--red); color: #fff; font-weight: 600; font-size: 14px; padding: 12px 22px; border-radius: 999px; transition: background .25s, gap .25s; }
.oserv:hover .oserv__btn { background: var(--red-d); gap: 14px; }

/* ---------- Ítems de páginas de servicios ---------- */
.sitems { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.sitem-card { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.sitem-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(11, 44, 143, .3); }
.sitem-card__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--soft); }
.sitem-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.sitem-card:hover .sitem-card__img img { transform: scale(1.05); }
.sitem-card figcaption { padding: 18px 20px; font-size: 15px; color: var(--text); }

/* ---------- Menú hamburguesa (móvil) ---------- */
.mobile-menu { display: none; }

/* Navegación con más opciones */
.navbar__menu > li > a { padding-left: 18px; padding-right: 18px; }
.navbar__menu > li > a::after { left: 18px; right: 18px; }
@media (max-width: 1300px) { .navbar__cats { display: none; } }
@media (max-width: 1100px) {
    .navbar__menu { overflow-x: auto; scrollbar-width: none; }
    .navbar__menu::-webkit-scrollbar { display: none; }
    .navbar__menu > li > a { padding: 14px 12px; font-size: 14px; white-space: nowrap; }
    .navbar__menu > li > a::after { left: 12px; right: 12px; }
    .has-drop .dropdown { display: none; }
}
@media (max-width: 991px) {
    .oservs, .sitems { grid-template-columns: 1fr; }
    .sitems { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
    .header__actions { gap: 8px; }
    .mobile-menu { display: block; max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); background: #fff; }
    .mobile-menu.is-open { max-height: 200px; border-top: 1px solid var(--line); }
    .mobile-menu a { display: flex; align-items: center; gap: 12px; padding: 15px 18px; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line); }
    .mobile-menu a .ico:first-child { color: var(--red); }
    .mobile-menu a span { flex: 1; }
    .mobile-menu a .ico:last-child { color: var(--muted); }
    .mobile-menu a.is-active { color: var(--blue); background: var(--soft); }
    .oserv { aspect-ratio: 4 / 3; }
    .oserv__body { padding: 20px; }
    .oserv__text { font-size: 14px; }
    .sitems { grid-template-columns: 1fr; }
}
@media (max-width: 380px) {
    .brand img, .site-header.is-scrolled .brand img { height: 44px; }
    .icon-btn { width: 40px; height: 40px; }
}
