/* =========================================================
   ROF CENTER - ESTILOS PRINCIPALES
   ========================================================= */

/* ---------- RESET ---------- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #ffffff;
    color: #222222;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

button,
input {
    font-family: inherit;
}


/* ---------- VARIABLES ---------- */

:root {
    --primary: #e30613;
    --primary-dark: #b8000b;
    --dark: #111111;
    --dark-2: #1d1d1d;
    --gray: #666666;
    --light-gray: #f5f5f5;
    --border: #e5e5e5;
    --white: #ffffff;

    --container: 1200px;

    --shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 10px 30px rgba(0, 0, 0, 0.14);

    --radius: 10px;
}


/* ---------- CONTENEDOR ---------- */

.container {
    width: 90%;
    max-width: var(--container);
    margin: auto;
}


/* =========================================================
   TOP BAR
   ========================================================= */

.top-bar {
    background: var(--dark);
    color: var(--white);
    font-size: 13px;
}

.top-bar .container {
    min-height: 38px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}

.top-bar-right,
.social-icons {
    display: flex;
    align-items: center;
}

.top-bar-right {
    gap: 16px;
}

.contact-top-button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 32px;
    border-radius: 5px;
    padding: 0 10px;
    color: var(--white);
    font-size: 13px;
    font-weight: 700;
    transition: background .2s ease;
}

.contact-top-button img {
    width: 19px;
    height: 19px;
    border-radius: 50%;
    object-fit: cover;
}

.contact-top-button:hover {
    background: rgba(255, 255, 255, .14);
    color: var(--white);
}

.top-bar-left-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.top-bar-left-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    font-size: 13px;
    font-weight: 700;
}

.top-bar-left-links a:first-child {
    color: #fff;
}

.top-bar-left-links a::first-letter {
    color: #79b2ff;
    font-size: 20px;
}

.top-bar-left-links a img {
    width: 18px;
    height: 20px;
    object-fit: contain;
    filter: invert(1);
}

.top-bar-left-links a:hover {
    color: #74a9ff;
}

.social-icons {
    gap: 10px;
}

.social-icon {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 50%;
    color: var(--white);
    font-size: 13px;
    font-weight: bold;
    line-height: 1;
}

.social-icon.instagram {
    font-size: 18px;
    font-weight: normal;
}

.social-icon.tiktok {
    font-size: 16px;
}

.social-icon.facebook {
    background: #1877f2;
    border-color: #1877f2;
}

.social-icon.youtube {
    background: #ff0000;
    border-color: #ff0000;
}


/* =========================================================
   HEADER
   ========================================================= */

.header {
    background: var(--white);
    position: relative;
    z-index: 1000;
}

/* Mantiene visible la cabecera durante el desplazamiento. */
.header {
    position: sticky;
    top: 0;
    z-index: 5000;
}

.header-main {
    min-height: 90px;

    display: flex;
    align-items: center;
    gap: 25px;
}


/* ---------- LOGO ---------- */

.logo {
    width: 180px;
    flex-shrink: 0;
}

.logo img {
    width: 100%;
    height: auto;
}


/* =========================================================
   BUSCADOR
   ========================================================= */

.search-box {
    flex: 1;

    display: flex;

    height: 46px;

    border: 1px solid var(--border);
    border-radius: 6px;

    overflow: hidden;

    background: var(--white);
}

.search-box input {
    flex: 1;

    border: none;
    outline: none;

    padding: 0 18px;

    font-size: 14px;
}

.search-box button {
    width: 55px;

    border: none;

    background: var(--primary);
    color: var(--white);

    cursor: pointer;

    font-size: 18px;

    transition: 0.3s;
}

.search-box button:hover {
    background: var(--primary-dark);
}


/* =========================================================
   WHATSAPP HEADER
   ========================================================= */

.whatsapp-header {
    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    color: #168c42;

    font-size: 14px;
    font-weight: bold;

    white-space: nowrap;
}

.whatsapp-header span {
    color: var(--dark);

    font-size: 12px;
    font-weight: normal;
}

/* Evita que se muestre brevemente el encabezado anterior antes del JavaScript. */
.whatsapp-header,
.top-bar .container > p,
#menu > li:first-child > a {
    display: none;
}

/* La barra se revela solo después de construir sus accesos actuales. */
.top-bar {
    visibility: hidden;
}

body.header-ready .top-bar {
    visibility: visible;
}

/* Al desplazarse, se oculta la franja informativa y permanece la tienda. */
.header.is-scrolled .top-bar {
    display: none;
}

.account-link {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    border: 0;
    padding: 0;
    background: transparent;
    color: var(--dark);
    cursor: pointer;
    font-size: 12px;
    white-space: nowrap;
}

.account-link:hover {
    color: var(--primary);
}

.account-icon {
    font-size: 25px;
    line-height: 1;
}


/* =========================================================
   CARRITO
   ========================================================= */

.cart,
.cart-link {
    position: relative;

    font-size: 24px;

    cursor: pointer;
}

#cartCount {
    position: absolute;

    top: -8px;
    right: -10px;

    width: 20px;
    height: 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--primary);
    color: var(--white);

    border-radius: 50%;

    font-size: 11px;
    font-weight: bold;
}


/* =========================================================
   MENU PRINCIPAL
   ========================================================= */

.main-menu {
    background: var(--primary);
}

.main-menu .container {
    display: flex;
    align-items: center;
}

.main-menu ul {
    width: 100%;

    display: flex;
    align-items: center;

    list-style: none;
}

.main-menu li {
    position: relative;
}

.main-menu li a {
    display: block;

    padding: 15px 17px;

    color: var(--white);

    font-size: 14px;
    font-weight: bold;

    transition: 0.3s;
}

.main-menu li a:hover {
    background: var(--primary-dark);
}

.category-trigger {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    min-height: 50px;
    border: 0;
    padding: 0 8px;
    background: transparent;
    color: var(--white);
    cursor: pointer;
    font: inherit;
    font-size: 14px;
    font-weight: bold;
}

.category-menu {
    flex: 0 0 auto;
}

.category-trigger:hover,
.category-menu.is-open .category-trigger {
    background: var(--primary-dark);
}

.category-panel {
    position: absolute;
    z-index: 1100;
    top: 100%;
    left: 0;
    width: min(790px, 88vw);
    display: none;
    grid-template-columns: 240px 1fr;
    overflow: hidden;
    border-radius: 0 0 12px 12px;
    background: var(--white);
    box-shadow: 0 15px 32px rgba(0, 0, 0, 0.2);
}

.category-menu:hover .category-panel,
.category-menu.is-open .category-panel {
    display: grid;
}

.category-panel-list {
    padding: 10px 0;
    background: #f6f8fb;
    max-height: 630px;
    overflow-y: auto;
}

.category-panel-list a {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px !important;
    border-left: 3px solid transparent;
    color: #172544 !important;
    font-size: 14px !important;
}

.category-panel-list a:hover {
    border-left-color: var(--primary);
    background: #fff0f1 !important;
    color: var(--primary) !important;
}

.category-panel-list span {
    color: #9aa8bd;
    font-size: 23px;
    line-height: 1;
}

.category-panel-content {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    padding: 26px;
}

.category-panel-content h3 {
    margin-bottom: 10px;
    color: var(--primary);
    font-size: 13px;
    letter-spacing: 0.5px;
}

.category-panel-content a {
    display: block !important;
    padding: 7px 0 !important;
    color: #56657e !important;
    font-size: 13px !important;
    font-weight: normal !important;
}

.category-panel-content a:hover {
    background: transparent !important;
    color: var(--primary) !important;
}

.main-menu .distribution-menu-item {
    margin-left: auto;
}

.main-menu li .distribution-menu-link {
    margin: 7px 0;
    padding: 9px 14px;
    border-radius: 7px;
    background: var(--white);
    color: var(--primary);
}

.main-menu li .distribution-menu-link:hover,
.main-menu li .distribution-menu-link.active {
    background: #ffe4e6;
    color: var(--primary-dark);
}


/* ---------- BOTÓN MENÚ MÓVIL ---------- */

.menu-toggle {
    display: none;

    width: 100%;

    padding: 13px;

    border: none;

    background: var(--primary);
    color: var(--white);

    font-size: 16px;
    font-weight: bold;

    cursor: pointer;
}


/* =========================================================
   HERO / BANNER
   ========================================================= */

.hero {
    position: relative;
    overflow: hidden;
    color: var(--white);
}

.hero-carousel-track {
    position: relative;
}

.hero-slide {
    position: relative;
    display: none;
    min-height: clamp(300px, 38vw, 610px);
}

.hero-slide.is-active {
    display: flex;
    align-items: center;
}

.hero-slide-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-slide-image {
    object-fit: cover;
    object-position: center;
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 80px 0;
}

.hero-carousel-controls {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
}

.hero-carousel:hover .hero-carousel-controls,
.hero-carousel:focus-within .hero-carousel-controls { opacity: 1; }

.hero-carousel-button {
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: rgba(8, 20, 40, .45) !important;
    color: #fff !important;
    cursor: pointer;
    font-size: 39px;
    line-height: 1;
    pointer-events: auto;
}

.hero-carousel-button:hover { background: rgba(8, 20, 40, .78) !important; transform: scale(1.06); }

@media (max-width: 700px) {
    .hero-carousel-controls { padding: 0 8px; opacity: 1; }
    .hero-carousel-button { width: 38px; height: 38px; font-size: 31px; background: rgba(8, 20, 40, .32); }
}

.hero-carousel {
    cursor: grab;
    touch-action: pan-y;
    user-select: none;
}

.hero-carousel img {
    -webkit-user-drag: none;
}

.hero-carousel:active {
    cursor: grabbing;
}

.hero-carousel-button {
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    color: var(--dark);
    cursor: pointer;
    font-size: 32px;
    line-height: 1;
    transition: transform 0.2s, background 0.2s;
}

.hero-carousel-button:hover {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.06);
}

.hero-carousel-dots {
    position: absolute;
    z-index: 2;
    right: 4%;
    bottom: 8px;
    display: flex;
    gap: 7px;
}

.hero-carousel-dot {
    width: 9px;
    height: 9px;
    border: 0;
    border-radius: 50%;
    padding: 0;
    background: rgba(255, 255, 255, 0.65);
    cursor: pointer;
}

.hero-carousel-dot.is-active {
    width: 24px;
    border-radius: 10px;
    background: var(--primary);
}

.hero-carousel.single-slide .hero-carousel-controls,
.hero-carousel.single-slide .hero-carousel-dots {
    display: none;
}

.hero-text {
    max-width: 650px;
}

.hero-tag {
    display: inline-block;

    margin-bottom: 15px;

    padding: 6px 14px;

    background: var(--primary);

    border-radius: 4px;

    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1px;
}

.hero h1 {
    margin-bottom: 20px;

    font-size: 52px;
    line-height: 1.1;
    font-weight: 800;
}

.hero p {
    max-width: 560px;

    margin-bottom: 30px;

    font-size: 18px;
    color: #eeeeee;
}


/* ---------- BOTONES ---------- */

.hero-buttons {
    display: flex;
    flex-wrap: wrap;

    gap: 12px;
}

.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 46px;

    padding: 0 24px;

    border-radius: 5px;

    font-size: 13px;
    font-weight: bold;

    transition: 0.3s;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: #1aa85b;
    color: var(--white);
}

.btn-whatsapp:hover {
    background: #128746;
    transform: translateY(-2px);
}


/* =========================================================
   TÍTULOS DE SECCIÓN
   ========================================================= */

.section-title {
    text-align: center;

    margin-bottom: 40px;
}

.section-title span {
    color: var(--primary);

    font-size: 12px;
    font-weight: bold;

    letter-spacing: 2px;
}

.section-title h2 {
    margin-top: 5px;

    font-size: 32px;
    line-height: 1.2;
}

.section-title p {
    margin-top: 10px;

    color: var(--gray);
}


/* =========================================================
   CATEGORÍAS
   ========================================================= */

.categories {
    padding: 80px 0;

    background: var(--white);
}

.category-grid {
    display: grid;

    grid-template-columns: repeat(6, 1fr);

    gap: 18px;
}

.category-card {
    min-height: 190px;

    padding: 25px 15px;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    text-align: center;

    border: 1px solid var(--border);
    border-radius: var(--radius);

    background: var(--white);

    transition: 0.3s;
}

.category-card:hover {
    border-color: var(--primary);

    transform: translateY(-7px);

    box-shadow: var(--shadow-hover);
}

.category-icon {
    width: 70px;
    height: 70px;

    margin-bottom: 15px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #fff1f2;

    font-size: 32px;
}

.category-card h3 {
    margin-bottom: 5px;

    font-size: 16px;
}

.category-card p {
    color: var(--gray);

    font-size: 12px;
}


/* =========================================================
   PRODUCTOS
   ========================================================= */

.products {
    padding: 80px 0;

    background: var(--light-gray);
}

.product-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 20px;
}


/* ---------- TARJETA PRODUCTO ---------- */

.product-card {
    position: relative;

    overflow: hidden;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: var(--radius);

    transition: 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);

    box-shadow: var(--shadow-hover);
}


/* ---------- IMAGEN ---------- */

.product-image {
    position: relative;

    height: 230px;

    padding: 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--white);
}

.product-image img {
    width: 100%;
    height: 100%;

    object-fit: contain;
}

@media (min-width: 1100px) {
    .products .product-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 14px;
    }
}

.product-image-link {
    cursor: pointer;
}

.product-image-link:hover img {
    transform: scale(1.04);
}

.product-image-link img {
    transition: transform 0.25s ease;
}


/* ---------- ETIQUETA OFERTA ---------- */

.product-badge {
    position: absolute;

    top: 12px;
    left: 12px;

    padding: 5px 9px;

    background: var(--primary);
    color: var(--white);

    border-radius: 4px;

    font-size: 11px;
    font-weight: bold;
}


/* ---------- INFORMACIÓN ---------- */

.product-info {
    padding: 18px;
}

.product-brand {
    margin-bottom: 5px;

    color: var(--gray);

    font-size: 11px;
    text-transform: uppercase;
}

.product-name {
    min-height: 48px;

    margin-bottom: 10px;

    font-size: 15px;
    font-weight: bold;

    line-height: 1.4;
}

.product-description {
    margin-bottom: 12px;

    color: var(--gray);

    font-size: 12px;
}


/* ---------- PRECIO ---------- */

.product-price-old {
    color: #999999;

    font-size: 12px;

    text-decoration: line-through;
}

.product-price {
    color: var(--primary);

    font-size: 22px;
    font-weight: 800;
}


/* ---------- BOTONES PRODUCTO ---------- */

.product-buttons {
    display: flex;

    gap: 8px;

    margin-top: 15px;
}

.product-buttons a,
.product-buttons button {
    flex: 1;

    min-height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 4px;

    font-size: 11px;
    font-weight: bold;

    text-align: center;
}

.btn-view {
    background: var(--dark);
    color: var(--white);
}

.btn-view:hover {
    background: #333333;
}

.btn-product-whatsapp {
    background: #1aa85b;
    color: var(--white);
}

.btn-product-whatsapp:hover {
    background: #128746;
}


/* ---------- VER MÁS ---------- */

.view-more {
    margin-top: 40px;

    text-align: center;
}


/* =========================================================
   SERVICIO TÉCNICO
   ========================================================= */

.technical-service {
    padding: 90px 0;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.88),
            rgba(0, 0, 0, 0.60)
        ),
        url("../img/servicio-tecnico.jpg")
        center / cover no-repeat;

    color: var(--white);
}

.service-content {
    display: flex;

    justify-content: flex-end;
}

.service-text {
    width: 50%;
}

.service-text > span {
    color: #ff4b55;

    font-size: 12px;
    font-weight: bold;

    letter-spacing: 2px;
}

.service-text h2 {
    margin: 10px 0 15px;

    font-size: 40px;
    line-height: 1.2;
}

.service-text p {
    margin-bottom: 20px;

    color: #dddddd;
}

.service-text ul {
    margin-bottom: 30px;

    list-style: none;
}

.service-text li {
    margin-bottom: 8px;

    font-size: 14px;
}


/* =========================================================
   BENEFICIOS
   ========================================================= */

.benefits {
    padding: 80px 0;
}

.benefits-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 25px;
}

.benefit {
    padding: 30px 20px;

    text-align: center;

    border: 1px solid var(--border);

    border-radius: var(--radius);

    transition: 0.3s;
}

.benefit:hover {
    transform: translateY(-5px);

    box-shadow: var(--shadow);
}

.benefit > div {
    margin-bottom: 15px;

    font-size: 40px;
}

.benefit h3 {
    margin-bottom: 8px;

    font-size: 16px;
}

.benefit p {
    color: var(--gray);

    font-size: 13px;
}


/* =========================================================
   CTA
   ========================================================= */

.cta {
    padding: 70px 20px;

    background: var(--primary);

    color: var(--white);

    text-align: center;
}

.cta h2 {
    margin-bottom: 10px;

    font-size: 34px;
}

.cta p {
    margin-bottom: 25px;

    color: #ffe6e6;
}

.cta .btn {
    background: var(--white);

    color: var(--dark);
}

.cta .btn:hover {
    transform: translateY(-3px);
}


/* =========================================================
   FOOTER
   ========================================================= */

.footer {
    padding: 60px 0 0;

    background: var(--dark);

    color: var(--white);
}

.footer-grid {
    display: grid;

    grid-template-columns: 1.5fr 1fr 1fr 1fr;

    gap: 40px;

    padding-bottom: 50px;
}

.footer-logo {
    width: 160px;

    margin-bottom: 20px;
}

.footer-column p {
    color: #bbbbbb;

    font-size: 13px;
}

.footer-column h3 {
    margin-bottom: 20px;

    font-size: 16px;
}

.footer-column a {
    display: block;

    margin-bottom: 10px;

    color: #bbbbbb;

    font-size: 13px;

    transition: 0.3s;
}

.footer-column a:hover {
    color: var(--white);
    padding-left: 4px;
}


/* ---------- FOOTER BOTTOM ---------- */

.footer-bottom {
    padding: 20px 0;

    border-top: 1px solid #333333;

    text-align: center;
}

.footer-bottom p {
    color: #888888;

    font-size: 12px;
}


/* =========================================================
   WHATSAPP FLOTANTE
   ========================================================= */

.whatsapp-float {
    position: fixed;

    right: 25px;
    bottom: 25px;

    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: transparent;
    color: transparent;

    border-radius: 50%;

    font-size: 0;

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);

    z-index: 9999;

    transition: 0.3s;
}

/* Tarjetas uniformes para todos los catálogos. */
.product-card { border-radius: 3px; box-shadow: none; }
.product-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(22, 35, 63, .12); }
.product-image { height: 265px; padding: 12px; border-bottom: 1px solid #e7eaf0; }
.product-badge { top: 10px; left: 10px; border-radius: 4px; padding: 7px 10px; background: #f20823; font-size: 13px; }
.product-info { display: flex; min-height: 270px; flex-direction: column; padding: 14px; }
.product-brand { display: flex; justify-content: space-between; border-bottom: 1px solid #e5e9ef; padding-bottom: 10px; color: #17233b; font-size: 12px; font-weight: 800; }
.product-sku { color: #53627a; font-weight: 500; }
.product-name { min-height: 62px; margin: 15px 0 7px; color: #16213a; font-size: 16px; line-height: 1.38; }
.product-description { min-height: 48px; margin: 15px 0 10px; color: #16213a; font-size: 14px; font-weight: 800; line-height: 1.45; }
.product-price-old { display: inline-block; margin-right: 10px; color: #66748b; font-size: 15px; }
.product-price { display: inline-block; color: #c91423; font-size: 23px; }
.product-card-stock { margin: 13px 0 0; color: #23884a; font-size: 12px; }
.product-buttons { margin-top: auto; padding-top: 14px; }
.btn-add-cart { width: 100%; min-height: 48px; border: 0; border-radius: 3px; background: #2bb80a; color: #fff; cursor: pointer; font-weight: 800; }
.btn-add-cart:hover { background: #229b08; }
@media (max-width: 700px) { .product-image { height: 190px; }.product-info { min-height: 250px; padding: 11px; }.product-name { font-size: 14px; }.product-description { font-size: 11px; }.product-price { font-size: 19px; } }

/* La cotización principal se gestiona desde las fichas de producto. */
.cta {
    display: none;
}

/* Banners de servicio técnico en la página principal. */
.technical-service:has(.home-service-banners) {
    padding: 28px 0;
    background: #fff;
}

.home-service-banners {
    display: grid;
    gap: 22px;
}

.home-service-banners img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 3;
    border-radius: 8px;
    background: #e9edf3;
    object-fit: cover;
}

.home-featured-products {
    padding: 62px 0 72px;
    background: linear-gradient(180deg, #fbfaff 0%, #fff 100%);
}

.home-featured-products .section-title h2 {
    background: linear-gradient(90deg, #285eff, #be27cb);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.home-featured-products .product-card {
    box-shadow: 0 6px 20px rgba(28, 42, 78, .07);
}

.home-promo-banners { padding: 16px 0 46px; background: #fff; }
.home-promo-row { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; margin-bottom: 24px; }
.home-promo-row img, .home-promo-wide { display: block; width: 100%; border-radius: 32px; background: #edf0f5; object-fit: cover; box-shadow: 0 8px 20px rgba(24, 38, 68, .10); }
.home-promo-row img:first-child { aspect-ratio: 2.05 / 1; }.home-promo-row img:last-child { aspect-ratio: 1 / 1; }.home-promo-wide { aspect-ratio: 5.2 / 1; }
@media (max-width: 700px) { .home-promo-row { grid-template-columns: 1fr; gap: 14px; margin-bottom: 14px; }.home-promo-row img:first-child, .home-promo-row img:last-child, .home-promo-wide { aspect-ratio: 16 / 7; border-radius: 15px; }.home-promo-banners { padding-bottom: 28px; } }

.trusted-brands { padding: 62px 0; background: linear-gradient(180deg, #fbfaff, #fff); }
.trusted-brands .section-title h2 { background: linear-gradient(90deg, #285eff, #cc26c9); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brands-carousel-wrap { position: relative; padding: 8px 48px; }
.brands-carousel { display: flex; gap: 18px; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; }
.brands-carousel::-webkit-scrollbar { display: none; }
.brands-carousel > div { display: grid; flex: 0 0 130px; height: 92px; place-items: center; border: 1px solid #edf0f5; border-radius: 8px; padding: 10px; background: #fff; }
.brands-carousel img { max-width: 100%; max-height: 65px; object-fit: contain; }
.brands-arrow { position: absolute; top: 50%; z-index: 2; width: 38px; height: 38px; border: 0; border-radius: 50%; background: #edf0f4; color: #596879; cursor: pointer; font-size: 32px; line-height: 28px; transform: translateY(-50%); }
.brands-arrow:hover { background: var(--primary); color: #fff; }.brands-arrow.previous { left: 0; }.brands-arrow.next { right: 0; }

/* Carruseles de ofertas y productos destacados. */
.products > .container,
.home-featured-products > .container {
    position: relative;
}

.products .product-grid,
.home-featured-products .product-grid {
    display: flex;
    grid-template-columns: none;
    gap: 14px;
    overflow-x: auto;
    padding: 4px 2px 16px;
    scroll-behavior: smooth;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
}

.products .product-grid::-webkit-scrollbar,
.home-featured-products .product-grid::-webkit-scrollbar { display: none; }

.products .product-grid .product-card,
.home-featured-products .product-grid .product-card {
    flex: 0 0 calc((100% - 56px) / 5);
    scroll-snap-align: start;
}

.products .view-more,
.home-featured-products .view-more { display: none; }

.home-products-controls {
    position: absolute;
    top: 50%;
    right: 6px;
    left: 6px;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.home-products-arrow {
    width: 39px;
    height: 39px;
    border: 0;
    border-radius: 50%;
    background: #edf0f4;
    color: #596879;
    cursor: pointer;
    font-size: 35px;
    line-height: 30px;
    pointer-events: auto;
}

.home-products-arrow:hover { background: var(--primary); color: #fff; }

@media (max-width: 1000px) {
    .products .product-grid .product-card,
    .home-featured-products .product-grid .product-card { flex-basis: calc((100% - 28px) / 3); }
}

@media (max-width: 700px) {
    .products .product-grid .product-card,
    .home-featured-products .product-grid .product-card { flex-basis: calc((100% - 14px) / 2); }
    .home-products-controls { top: 54%; }
}

@media (max-width: 700px) {
    .technical-service:has(.home-service-banners) {
        padding: 16px 0;
    }

    .home-service-banners {
        gap: 12px;
    }

    .home-service-banners img {
        border-radius: 5px;
    }
}

/* =========================================================
   PIE DE PÁGINA LEGAL
   ========================================================= */

.footer {
    padding: 0;
    background: #101b2f;
}

.footer-legal-wrap {
    padding: 56px 0 0;
}

.footer-legal-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.15fr 1.15fr;
    gap: 55px;
    padding-bottom: 48px;
}

.footer-legal-column h3 {
    margin: 0 0 23px;
    color: #fff;
    font-size: 20px;
}

.footer-legal-column a,
.footer-legal-column p {
    display: block;
    margin: 0 0 15px;
    color: #d9e1ed;
    font-size: 15px;
    line-height: 1.45;
}

.footer-legal-column a:hover {
    padding-left: 0;
    color: #5da3ff;
}

.footer-legal-actions p {
    max-width: 280px;
}

.complaints-book {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 76px;
    min-width: 122px;
    margin-top: 6px !important;
    border-radius: 8px;
    padding: 5px;
    background: #fff;
}

.complaints-book img {
    display: block;
    width: 112px;
    height: 66px;
    object-fit: contain;
}

.footer-legal-bottom {
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 84px;
    border-top: 1px solid rgba(255,255,255,.12);
    color: #d9e1ed;
    font-size: 13px;
}

.footer-legal-bottom p {
    margin: 0;
}

.footer-payment {
    margin-left: auto !important;
    color: #91a0b9;
}

.footer-payment strong {
    margin-left: 10px;
    color: #d9e1ed;
    font-size: 11px;
    letter-spacing: .7px;
}

.footer-social {
    display: flex;
    gap: 9px;
}

.footer-social span,
.footer-social a {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    font-weight: 800;
}

.footer-social-facebook { background: #1877f2; }
.footer-social-tiktok { background: #050505; border: 1px solid #72809a; }
.footer-social-youtube { background: #f00; font-size: 12px; }

.legal-header .header-main {
    min-height: 95px;
}

.legal-back-link {
    margin-left: auto;
    color: var(--primary);
    font-weight: 700;
}

.legal-page {
    padding: 72px 0 88px;
    background: #f5f7fb;
}

.legal-page h1 {
    margin: 5px 0 14px;
    color: #142645;
    font-size: 38px;
}

.legal-eyebrow {
    margin: 0;
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.4px;
}

.legal-intro {
    max-width: 760px;
    margin: 0 0 34px;
    color: #53617a;
    line-height: 1.7;
}

.legal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.legal-card {
    border: 1px solid #e0e6ef;
    border-radius: 12px;
    padding: 25px;
    background: var(--white);
}

.legal-card h2 {
    margin: 0 0 12px;
    color: #142645;
    font-size: 20px;
}

.legal-card p {
    margin: 0;
    color: #5d6b83;
    line-height: 1.65;
}

.legal-detail-link {
    display: inline-block;
    margin-top: 14px;
    color: #1264bc;
    font-size: 14px;
    font-weight: 700;
}

.legal-card-wide {
    grid-column: 1 / -1;
}

.legal-card-wide .btn {
    display: inline-block;
    margin-top: 20px;
}

.terms-page {
    padding: 60px 0 90px;
    background: #f5f7fb;
}

.terms-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    align-items: start;
    gap: 42px;
}

.terms-sidebar {
    position: sticky;
    top: 22px;
    border-radius: 12px;
    padding: 27px;
    background: #132442;
    color: #fff;
}

.terms-sidebar > p {
    margin: 0 0 9px;
    color: #7db3ff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.2px;
}

.terms-sidebar h1 {
    margin: 0 0 10px;
    font-size: 26px;
    line-height: 1.15;
}

.terms-sidebar > span {
    display: block;
    margin-bottom: 25px;
    color: #b8c5d8;
    font-size: 12px;
    line-height: 1.5;
}

.terms-sidebar nav {
    display: grid;
    gap: 3px;
}

.terms-sidebar nav a {
    border-radius: 6px;
    padding: 8px 9px;
    color: #d8e2f1;
    font-size: 13px;
}

.terms-sidebar nav a:hover {
    background: rgba(255,255,255,.1);
    color: #fff;
}

.terms-content {
    border: 1px solid #e0e6ef;
    border-radius: 14px;
    padding: 44px 52px;
    background: #fff;
}

.terms-content section + section {
    margin-top: 38px;
    border-top: 1px solid #e7ebf1;
    padding-top: 38px;
}

.terms-content section {
    padding-bottom: 1px;
}

.terms-content h2 {
    margin: 0 0 16px;
    color: #142645;
    font-size: 25px;
}

.terms-content h3 {
    margin: 24px 0 11px;
    color: #20395f;
    font-size: 18px;
}

.terms-content p,
.terms-content li {
    color: #52617a;
    font-size: 15px;
    line-height: 1.8;
}

.terms-content p + p {
    margin-top: 14px;
}

.terms-content ol,
.terms-content ul {
    padding-left: 22px;
}

.terms-content li + li {
    margin-top: 9px;
}

.terms-content a {
    color: #1264bc;
    text-decoration: underline;
}

.terms-contact-card {
    border-radius: 10px;
    padding: 26px;
    background: #eef5ff;
}

.terms-contact-card ul {
    margin: 15px 0 0;
}

.about-page { padding: 40px 0 80px; background: #f6f8fc; }
.about-hero { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(260px, .8fr); gap: 45px; align-items: center; border-radius: 8px; padding: 48px 42px; background: linear-gradient(115deg, #2355c7, #118096); color: #fff; }
.about-hero-copy > span, .about-story > span, .about-company-data > span, .about-values > span { color: #00a8a6; font-size: 11px; font-weight: 800; letter-spacing: .7px; }
.about-hero-copy > span { color: #d2effe; }
.about-hero h1 { max-width: 660px; margin: 10px 0 15px; font-size: clamp(32px, 4vw, 49px); line-height: 1.05; }
.about-hero p { max-width: 650px; margin: 0; line-height: 1.65; }
.about-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.about-outline-button { border-radius: 6px; padding: 12px 17px; background: #fff; color: #2451bd; font-size: 13px; font-weight: 800; }
.about-logo-card { border-radius: 7px; padding: 20px; background: #fff; color: #17315a; text-align: center; }
.about-logo-card img { display: block; width: 100%; max-height: 155px; object-fit: contain; }
.about-logo-card p { margin: 10px 0 0; font-size: 10px; font-weight: 800; }
.about-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 10px 0; }
.about-benefits article, .about-story, .about-company-data, .about-values { border: 1px solid #dce4ef; border-radius: 7px; padding: 20px; background: #fff; }
.about-benefits h2 { margin: 0 0 8px; color: #122b51; font-size: 15px; }
.about-benefits p, .about-story p, .about-values p { margin: 0; color: #586a88; font-size: 13px; line-height: 1.65; }
.about-details { display: grid; grid-template-columns: 1.45fr .95fr; gap: 10px; margin-bottom: 10px; }
.about-story h2, .about-values h2 { margin: 8px 0 18px; color: #10264a; font-size: 25px; }
.about-story p + p { margin-top: 16px; }
.about-company-data dl { margin: 13px 0 0; }
.about-company-data dl div { border-top: 1px solid #e4e9f1; padding: 12px 0; }
.about-company-data dt { margin-bottom: 5px; color: #70809a; font-size: 10px; font-weight: 800; }
.about-company-data dd { margin: 0; color: #152d54; font-size: 13px; font-weight: 800; line-height: 1.45; }
.about-company-data dd a { color: #075fd0; }
.about-values { margin-top: 10px; }
.about-values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.about-values-grid article { min-height: 165px; border: 1px solid #dce4ef; border-radius: 6px; padding: 15px; background: #f8fafc; }
.about-values-grid b { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 8px; background: #dff6f3; color: #047c79; }
.about-values-grid h3 { margin: 12px 0 8px; color: #152d54; font-size: 13px; }
.stores-page { padding: 38px 0 78px; background: #f6f8fc; }.stores-hero { display:grid; grid-template-columns:1.5fr .7fr; gap:42px; align-items:center; border-radius:7px; padding:30px 25px; background:linear-gradient(120deg,#2454f3,#007e95); color:#fff; }.stores-hero > div > span,.stores-map-card > span,.stores-contact-card > span { font-size:10px; font-weight:800; letter-spacing:.8px; }.stores-hero h1 { max-width:650px; margin:10px 0; font-size:clamp(30px,4vw,47px); line-height:1.04; }.stores-hero p { max-width:600px; line-height:1.65; }.stores-actions { display:flex; gap:12px; margin-top:20px; }.stores-whatsapp { border-radius:6px; padding:12px 17px; background:#00bd56; color:#fff; font-size:13px; font-weight:800; }.stores-info-card { border-radius:6px; padding:16px; background:#fff; color:#17315a; }.stores-info-card img { display:block; width:125px; height:55px; margin-bottom:10px; object-fit:contain; }.stores-info-card p { margin:11px 0; color:#315070; font-size:12px; line-height:1.5; }.stores-benefits { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin:10px 0; }.stores-benefits article,.stores-map-card,.stores-contact-card { border:1px solid #dce4ef; border-radius:6px; padding:16px; background:#fff; }.stores-benefits b { display:grid; width:27px; height:27px; place-items:center; border-radius:6px; background:#ddecff; color:#075fd0; }.stores-benefits h2 { margin:11px 0 6px; color:#122b51; font-size:15px; }.stores-benefits p { margin:0; color:#62718a; font-size:12px; line-height:1.5; }.stores-content { display:grid; grid-template-columns:1.55fr .7fr; gap:10px; }.stores-content h2 { margin:8px 0 15px; color:#10264a; font-size:22px; }.stores-map-card iframe { display:block; width:100%; height:360px; border:0; }.stores-map-card > a { display:inline-block; margin-top:13px; color:#075fd0; font-size:13px; font-weight:700; }.stores-channel { display:flex; align-items:center; gap:12px; margin:10px 0; border:1px solid; border-radius:6px; padding:12px; font-size:20px; }.stores-channel b { font-size:13px; }.stores-channel small { display:block; margin-top:3px; font-size:11px; font-weight:400; }.stores-channel.whatsapp { border-color:#a8ecc5; background:#edfff4; color:#008e3f; }.stores-channel.phone { border-color:#b9d8ff; background:#f1f7ff; color:#075fd0; }.stores-channel.map { border-color:#dbe2ec; background:#f8fafc; color:#24334d; }.stores-before { margin-top:20px; border-top:1px solid #e2e7ee; padding-top:15px; }.stores-before h3 { margin:0 0 10px; color:#152d54; font-size:14px; }.stores-before p { margin:8px 0; color:#5b6d86; font-size:12px; }
@media (max-width: 850px) { .about-hero, .about-details { grid-template-columns: 1fr; } .about-values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width:850px) { .stores-hero,.stores-content { grid-template-columns:1fr; } }
@media (max-width: 560px) { .about-page { padding: 25px 0 50px; } .about-hero { gap: 25px; padding: 30px 22px; } .about-benefits, .about-values-grid { grid-template-columns: 1fr; } .about-hero h1 { font-size: 32px; } }

@media (max-width: 850px) {
    .terms-layout {
        grid-template-columns: 1fr;
    }

    .terms-sidebar {
        position: static;
    }

    .terms-sidebar nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .terms-page {
        padding: 35px 0 55px;
    }

    .terms-content {
        padding: 29px 22px;
    }

    .terms-content h2 {
        font-size: 22px;
    }

    .terms-sidebar nav {
        grid-template-columns: 1fr;
    }
}

/* Cabecera compacta para teléfono */
@media (max-width: 700px) {
    .top-bar {
        display: none;
    }

    .header {
        position: sticky;
    }

    .header-main {
        min-height: 88px;
        grid-template-columns: minmax(105px, 1fr) auto auto auto;
        grid-template-rows: 1fr;
        gap: 12px;
        padding: 0 16px 0 76px;
        background: #1227dc;
    }

    .logo {
        width: 102px;
        grid-column: 1;
        grid-row: 1;
    }

    .logo img {
        filter: brightness(0) invert(1);
    }

    .search-box {
        grid-column: 2;
        grid-row: 1;
        width: 36px;
        height: 42px;
        overflow: visible;
        border: 0;
        background: transparent;
    }

    .search-box input {
        display: none;
    }

    .search-box button {
        width: 36px;
        padding: 0;
        background: transparent;
        color: #fff;
        font-size: 26px;
    }

    .account-link {
        grid-column: 3;
        grid-row: 1;
        color: #fff;
    }

    .account-icon {
        font-size: 27px;
    }

    .cart,
    .cart-link {
        grid-column: 4;
        grid-row: 1;
        color: #fff;
        font-size: 28px;
    }

    #cartCount {
        background: #fff;
        color: #1227dc;
    }

    .main-menu {
        position: absolute;
        top: 0;
        left: 0;
        z-index: 2000;
        width: 64px;
        background: transparent;
    }

    .main-menu .container {
        width: 64px;
        padding: 0;
    }

    .menu-toggle {
        width: 64px;
        min-height: 88px;
        padding: 0;
        background: transparent;
        color: transparent;
        font-size: 0;
        text-align: center;
    }

    .menu-toggle::after {
        content: "☰";
        color: #fff;
        font-size: 31px;
    }

    .main-menu ul.active {
        position: absolute;
        top: 88px;
        left: 0;
        width: min(300px, 88vw);
        box-shadow: 0 10px 22px rgba(0, 0, 0, .2);
    }
}

/* En teléfonos se conserva la cabecera compacta, sin barra adicional. */
@media (max-width: 700px) {
    .top-bar {
        display: none !important;
    }

    .top-bar .container {
        display: none;
    }

    .top-bar-left-links,
    .top-bar-right {
        display: none !important;
    }

    .legal-header .header-main {
        display: grid !important;
        grid-template-columns: 1fr auto !important;
        grid-template-rows: 74px !important;
        min-height: 74px !important;
        padding: 0 14px !important;
    }

    .legal-header .logo {
        width: 105px !important;
        grid-column: 1 !important;
        grid-row: 1 !important;
    }

    .legal-header .legal-back-link {
        grid-column: 2 !important;
        grid-row: 1 !important;
        margin: 0 !important;
        border-radius: 6px;
        padding: 9px 12px;
        background: var(--primary);
        color: var(--white);
        font-size: 12px;
        font-weight: 800;
        white-space: nowrap;
    }
}

/* Ajuste final: barra móvil ordenada, conservando colores de la tienda */
@media (max-width: 700px) {
    .header-main {
        display: grid !important;
        min-height: 74px !important;
        grid-template-columns: minmax(120px, 1fr) 34px 34px 34px !important;
        grid-template-rows: 74px !important;
        align-items: center;
        gap: 12px !important;
        padding: 0 14px 0 78px !important;
        background: var(--white) !important;
    }

    .logo {
        width: 108px !important;
        grid-column: 1 !important;
        grid-row: 1 !important;
    }

    .logo img {
        filter: none !important;
    }

    .search-box {
        display: flex !important;
        grid-column: 2 !important;
        grid-row: 1 !important;
        width: 34px !important;
        height: 42px !important;
        border: 0 !important;
        background: transparent !important;
    }

    .search-box input {
        display: none !important;
    }

    .search-box button {
        width: 34px !important;
        background: transparent !important;
        color: var(--dark) !important;
        font-size: 24px !important;
    }

    .cart,
    .cart-link {
        grid-column: 3 !important;
        grid-row: 1 !important;
        justify-self: center !important;
        margin: 0 !important;
        color: var(--dark) !important;
        font-size: 26px !important;
    }

    .account-link {
        grid-column: 4 !important;
        grid-row: 1 !important;
        justify-self: center !important;
        color: var(--dark) !important;
    }

    .account-icon {
        font-size: 25px !important;
    }

    #cartCount {
        background: var(--primary) !important;
        color: var(--white) !important;
    }

    .main-menu {
        top: 0 !important;
        width: 64px !important;
        background: var(--white) !important;
    }

    .main-menu .container {
        width: 64px !important;
    }

    .menu-toggle {
        width: 64px !important;
        min-height: 74px !important;
        background: var(--white) !important;
    }

    .menu-toggle::after {
        color: var(--dark) !important;
    }

    .main-menu ul.active {
        top: 74px !important;
    }

    .search-box.mobile-search-open {
        position: absolute !important;
        top: 14px;
        right: 14px;
        z-index: 2100;
        display: flex !important;
        width: calc(100% - 92px) !important;
        height: 46px !important;
        overflow: hidden !important;
        border: 1px solid #d7dce5 !important;
        border-radius: 7px;
        background: #fff !important;
        box-shadow: 0 5px 16px rgba(0, 0, 0, .18);
    }

    .search-box.mobile-search-open input {
        display: block !important;
        width: 100%;
        padding: 0 12px;
        font-size: 15px;
    }

    .search-box.mobile-search-open button {
        flex: 0 0 46px;
        width: 46px !important;
        background: var(--primary) !important;
        color: #fff !important;
        font-size: 20px !important;
    }
}

@media (max-width: 850px) {
    .footer-legal-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 35px;
    }

    .footer-legal-bottom {
        flex-wrap: wrap;
        padding: 20px 0;
    }

    .footer-payment {
        margin-left: 0 !important;
    }
}

@media (max-width: 560px) {
    .footer-legal-wrap {
        padding-top: 42px;
    }

    .footer-legal-grid,
    .legal-grid {
        grid-template-columns: 1fr;
    }

    .footer-legal-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .legal-card-wide {
        grid-column: auto;
    }

    .legal-page {
        padding: 48px 0 60px;
    }

    .legal-page h1 {
        font-size: 30px;
    }
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float::after {
    content: "";
    display: block;
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: url("../img/whatsapp.png") center / 167% no-repeat;
}


/* =========================================================
   RESPONSIVE - TABLET
   ========================================================= */

@media (max-width: 1000px) {

    .header-main {
        flex-wrap: wrap;

        padding: 15px 0;
    }

    .logo {
        width: 150px;
    }

    .search-box {
        order: 3;

        flex-basis: 100%;
    }

    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero h1 {
        font-size: 44px;
    }

    .service-text {
        width: 65%;
    }
}


/* =========================================================
   RESPONSIVE - CELULAR
   ========================================================= */

@media (max-width: 700px) {

    /* ---------- TOP BAR ---------- */

    .top-bar .container {
        min-height: auto;

        padding: 8px 0;

        flex-direction: column;

        gap: 2px;

        text-align: center;
    }


    /* ---------- HEADER ---------- */

    .header-main {
        min-height: auto;

        display: grid;
        grid-template-columns: minmax(0, 1fr) auto auto;
        gap: 14px 12px;
        padding: 15px 0;
    }

    .logo {
        width: 130px;
        grid-column: 1;
    }

    .account-link {
        grid-column: 2;
        justify-self: end;
    }

    .cart,
    .cart-link {
        grid-column: 3;
        justify-self: end;
        margin-left: 0;
    }

    .search-box {
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
    }

    .whatsapp-header {
        display: none;
    }

    .top-bar-right {
        justify-content: center;
    }

    .main-menu .distribution-menu-item {
        margin-left: 0;
    }

    .main-menu li .distribution-menu-link {
        margin: 0;
        border-radius: 0;
    }

    .account-label {
        display: none;
    }

    /* ---------- MENU ---------- */

    .main-menu .container {
        width: 100%;
    }

    .menu-toggle {
        display: block;
        text-align: left;
        padding-left: 24px;
    }

    .main-menu ul {
        display: none;

        flex-direction: column;

        align-items: stretch;

        background: var(--primary);
    }

    .main-menu ul.active {
        display: flex;
    }

    .main-menu li a {
        padding: 13px 20px;

        border-top: 1px solid rgba(255,255,255,0.12);
    }

    .category-trigger {
        width: 100%;
        min-height: 48px;
        padding: 0 20px;
        border-top: 1px solid rgba(255,255,255,0.12);
        text-align: left;
    }

    .category-panel {
        position: static;
        width: 100%;
        grid-template-columns: 1fr;
        border-radius: 0;
        box-shadow: none;
    }

    .category-panel-content {
        display: none;
    }


    /* ---------- HERO ---------- */

    .hero {
        min-height: 500px;

        background-position: center;
    }

    .hero-content {
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;

        align-items: stretch;
    }

    .hero-buttons .btn {
        width: 100%;
    }


    /* ---------- SECCIONES ---------- */

    .categories,
    .products,
    .benefits {
        padding: 60px 0;
    }

    .section-title {
        margin-bottom: 30px;
    }

    .section-title h2 {
        font-size: 27px;
    }


    /* ---------- CATEGORÍAS ---------- */

    .category-grid {
        grid-template-columns: repeat(2, 1fr);

        gap: 12px;
    }

    .category-card {
        min-height: 170px;
    }


    /* ---------- PRODUCTOS ---------- */

    .product-grid {
        grid-template-columns: repeat(2, 1fr);

        gap: 12px;
    }

    .product-image {
        height: 170px;

        padding: 12px;
    }

    .product-info {
        padding: 13px;
    }

    .product-name {
        font-size: 13px;
    }

    .product-price {
        font-size: 19px;
    }

    .product-buttons {
        flex-direction: column;
    }


    /* ---------- SERVICIO ---------- */

    .technical-service {
        padding: 65px 0;
    }

    .service-text {
        width: 100%;
    }

    .service-text h2 {
        font-size: 32px;
    }


    /* ---------- BENEFICIOS ---------- */

    .benefits-grid {
        grid-template-columns: 1fr 1fr;

        gap: 12px;
    }

    .benefit {
        padding: 20px 12px;
    }

    .benefit > div {
        font-size: 32px;
    }


    /* ---------- CTA ---------- */

    .cta {
        padding: 55px 15px;
    }

    .cta h2 {
        font-size: 27px;
    }


    /* ---------- FOOTER ---------- */

    .footer {
        padding-top: 45px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;

        gap: 30px;
    }


    /* ---------- WHATSAPP ---------- */

    .whatsapp-float {
        width: 52px;
        height: 52px;

        right: 18px;
        bottom: 18px;

        font-size: 24px;
    }
}


/* =========================================================
   CELULARES PEQUEÑOS
   ========================================================= */

@media (max-width: 450px) {

    .container {
        width: 92%;
    }

    .hero h1 {
        font-size: 31px;
    }

    .category-grid {
        grid-template-columns: 1fr 1fr;
    }

    .product-grid {
        grid-template-columns: 1fr 1fr;
    }

    .product-image {
        height: 145px;
    }

    .product-description {
        display: none;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-column {
        text-align: center;
    }

    .footer-logo {
        margin-left: auto;
        margin-right: auto;
    }
}

/* =========================================================
   PÁGINA DE PRODUCTO
   ========================================================= */

.product-detail {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.product-breadcrumb {
    margin-bottom: 25px;
    color: #777;
    font-size: 14px;
}

.product-breadcrumb a {
    color: #111;
    text-decoration: none;
}

.product-breadcrumb a:hover {
    color: #e30613;
}

.product-detail-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background: #fff;
}

/* =========================
   GALERÍA
   ========================= */

.product-gallery {
    position: relative;
}

.product-main-image {
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}

.product-main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 30px;
}

.product-thumbnails {
    display: flex;
    gap: 12px;
    margin-top: 15px;
    overflow-x: auto;
}

.product-thumbnail {
    width: 80px;
    height: 80px;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    background: #fff;
    transition: 0.2s;
}

.product-thumbnail:hover {
    border-color: #e30613;
}

.product-thumbnail.active {
    border: 2px solid #e30613;
}

.product-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* =========================
   INFORMACIÓN DEL PRODUCTO
   ========================= */

.product-info-detail {
    padding: 10px 0;
}

.product-brand-detail {
    color: #777;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.product-title-detail {
    font-size: 32px;
    line-height: 1.2;
    margin: 0 0 20px;
    color: #222;
}

.product-description-detail {
    color: #666;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 25px;
}

/* =========================
   PRECIOS
   ========================= */

.product-price-detail {
    margin: 25px 0;
}

.product-old-price {
    color: #999;
    font-size: 18px;
    text-decoration: line-through;
    margin-right: 10px;
}

.product-current-price {
    color: #e30613;
    font-size: 34px;
    font-weight: 700;
}

.product-discount {
    display: inline-block;
    background: #e30613;
    color: #fff;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    margin-left: 10px;
}

/* =========================
   DISPONIBILIDAD
   ========================= */

.product-availability {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 20px 0;
    font-size: 15px;
}

.product-availability.available {
    color: #198754;
}

.product-availability::before {
    content: "●";
    font-size: 12px;
}

/* =========================
   BOTONES
   ========================= */

.product-actions {
    display: flex;
    gap: 12px;
    margin: 25px 0;
    flex-wrap: wrap;
}

.btn-product {
    border: none;
    padding: 14px 22px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-cart {
    background: #111;
    color: #fff;
}

.btn-cart:hover {
    background: #333;
}

.btn-whatsapp {
    background: #25d366;
    color: #fff;
}

.btn-whatsapp:hover {
    background: #1ebe5d;
}

/* =========================
   INFORMACIÓN DE COMPRA
   ========================= */

.product-benefits {
    margin-top: 30px;
    border-top: 1px solid #eee;
}

.product-benefit {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.product-benefit-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 50%;
    font-size: 18px;
}

.product-benefit-text strong {
    display: block;
    color: #222;
    margin-bottom: 3px;
}

.product-benefit-text span {
    color: #777;
    font-size: 13px;
}

/* =========================
   ESPECIFICACIONES
   ========================= */

.product-specifications {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.product-section-title {
    font-size: 26px;
    margin-bottom: 25px;
    color: #222;
}

.specifications-table {
    width: 100%;
    border-collapse: collapse;
}

.specifications-table tr {
    border-bottom: 1px solid #eee;
}

.specifications-table td {
    padding: 14px 15px;
    font-size: 14px;
}

.specifications-table td:first-child {
    width: 35%;
    font-weight: 700;
    background: #f8f8f8;
    color: #333;
}

.specifications-table td:last-child {
    color: #666;
}

/* =========================
   PRODUCTOS RELACIONADOS
   ========================= */

.related-products {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* =========================
   MENSAJE / TOAST
   ========================= */

.product-toast {
    position: fixed;
    bottom: 90px;
    right: 25px;
    background: #111;
    color: #fff;
    padding: 14px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    z-index: 9999;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 992px) {

    .product-detail-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .product-main-image {
        height: 450px;
    }

    .related-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {

    .product-detail {
        margin: 25px auto;
    }

    .product-main-image {
        height: 350px;
    }

    .product-title-detail {
        font-size: 26px;
    }

    .product-current-price {
        font-size: 28px;
    }

    .product-actions {
        flex-direction: column;
    }

    .btn-product {
        width: 100%;
    }

    .related-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {

    .product-main-image {
        height: 280px;
    }

    .product-main-image img {
        padding: 15px;
    }

    .product-title-detail {
        font-size: 23px;
    }

    .product-description-detail {
        font-size: 14px;
    }

    .product-current-price {
        font-size: 25px;
    }

    .product-thumbnail {
        width: 65px;
        height: 65px;
    }

    .related-products-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   CARRITO DE COMPRAS
   ========================================================= */

.cart-page {
    padding: 40px 0 70px;
    background: #f8f8f8;
    min-height: 600px;
}

.cart-breadcrumb {
    margin-bottom: 25px;
    font-size: 14px;
    color: #777;
}

.cart-breadcrumb a {
    color: #222;
    text-decoration: none;
}

.cart-breadcrumb a:hover {
    color: #e30613;
}

.cart-title {
    font-size: 32px;
    margin-bottom: 30px;
    color: #222;
}

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 30px;
    align-items: start;
}

/* PRODUCTOS */

.cart-products {
    background: #fff;
    border-radius: 8px;
    padding: 25px;
}

.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
    margin-bottom: 10px;
}

.cart-header h2 {
    margin: 0;
    font-size: 21px;
}

.clear-cart-button {
    border: none;
    background: transparent;
    color: #e30613;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
}

.clear-cart-button:hover {
    text-decoration: underline;
}


/* ITEM */

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto 120px 30px;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.cart-product-image {
    width: 100px;
    height: 100px;
    border: 1px solid #eee;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cart-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.cart-product-info h3 {
    font-size: 16px;
    margin: 5px 0;
    color: #222;
}

.cart-product-info p {
    margin: 8px 0 0;
    color: #e30613;
    font-weight: 700;
}

.cart-product-brand {
    font-size: 12px;
    color: #888;
    text-transform: uppercase;
}


/* CANTIDAD */

.cart-quantity {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.cart-quantity button {
    width: 32px;
    height: 34px;
    border: none;
    background: #f5f5f5;
    cursor: pointer;
    font-size: 18px;
}

.cart-quantity button:hover {
    background: #e9e9e9;
}

.cart-quantity span {
    width: 35px;
    text-align: center;
    font-weight: 600;
}


/* TOTAL PRODUCTO */

.cart-product-total {
    font-weight: 700;
    color: #222;
    text-align: right;
}


/* ELIMINAR */

.remove-cart-item {
    border: none;
    background: transparent;
    color: #999;
    cursor: pointer;
    font-size: 18px;
}

.remove-cart-item:hover {
    color: #e30613;
}


/* =========================
   RESUMEN
   ========================= */

.cart-summary {
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    position: sticky;
    top: 20px;
}

.cart-summary h2 {
    margin-top: 0;
    margin-bottom: 25px;
    font-size: 21px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 13px 0;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

.summary-row span {
    color: #666;
}

.summary-row strong {
    color: #222;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 25px 0;
    padding-top: 10px;
    font-size: 17px;
}

.summary-total strong {
    color: #e30613;
    font-size: 24px;
}


/* WHATSAPP */

.cart-whatsapp-button {
    width: 100%;
    border: none;
    background: #25d366;
    color: #fff;
    padding: 16px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: 0.2s;
}

.cart-whatsapp-button:hover {
    background: #1ebe5d;
    transform: translateY(-1px);
}


/* CONTINUAR */

.continue-shopping {
    display: block;
    text-align: center;
    margin-top: 18px;
    color: #222;
    text-decoration: none;
    font-size: 14px;
}

.continue-shopping:hover {
    color: #e30613;
}


/* INFORMACIÓN */

.cart-info {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.cart-info div {
    font-size: 13px;
    color: #666;
    margin-bottom: 10px;
}


/* =========================
   CARRITO VACÍO
   ========================= */

.empty-cart {
    background: #fff;
    text-align: center;
    padding: 70px 20px;
    border-radius: 8px;
}

.empty-cart-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.empty-cart h2 {
    margin-bottom: 10px;
}

.empty-cart p {
    color: #777;
    margin-bottom: 30px;
}

.empty-cart-button {
    display: inline-block;
    background: #111;
    color: #fff;
    padding: 14px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 700;
}

.empty-cart-button:hover {
    background: #e30613;
}


/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 1000px) {

    .cart-layout {
        grid-template-columns: 1fr;
    }

    .cart-summary {
        position: static;
    }

}


@media (max-width: 768px) {

    .cart-page {
        padding: 25px 0 50px;
    }

    .cart-title {
        font-size: 27px;
    }

    .cart-products {
        padding: 18px;
    }

    .cart-header {
        align-items: flex-start;
        gap: 15px;
    }

    .cart-item {
        grid-template-columns: 80px 1fr;
        gap: 12px;
    }

    .cart-product-image {
        width: 80px;
        height: 80px;
        grid-row: span 2;
    }

    .cart-product-info {
        grid-column: 2;
    }

    .cart-quantity {
        grid-column: 2;
        width: fit-content;
    }

    .cart-product-total {
        grid-column: 2;
        text-align: left;
    }

    .remove-cart-item {
        position: absolute;
        right: 10px;
        top: 10px;
    }

    .cart-item {
        position: relative;
        padding-right: 35px;
    }

}


@media (max-width: 480px) {

    .cart-header {
        flex-direction: column;
    }

    .cart-summary {
        padding: 20px;
    }

    .summary-total strong {
        font-size: 21px;
    }




        /* ==============================================
           BREADCRUMB
           ============================================== */

        .breadcrumb-section {
            padding: 18px 0;

            background: #f5f5f5;

            border-bottom: 1px solid #e5e5e5;
        }

        .breadcrumb {
            color: #666;

            font-size: 13px;
        }

        .breadcrumb a {
            color: #e30613;

            font-weight: bold;
        }


        /* ==============================================
           PRODUCTO
           ============================================== */

        .product-detail-section {
            padding: 60px 0 90px;
        }


        .product-detail {
            display: grid;

            grid-template-columns: 1fr 1fr;

            gap: 60px;

            align-items: start;
        }


        /* ==============================================
           GALERÍA
           ============================================== */

        .product-gallery {
            position: sticky;

            top: 20px;
        }


        .main-product-image {
            width: 100%;

            height: 480px;

            padding: 30px;

            display: flex;

            align-items: center;

            justify-content: center;

            background: #ffffff;

            border: 1px solid #e5e5e5;

            border-radius: 10px;
        }


        .main-product-image img {
            width: 100%;

            height: 100%;

            object-fit: contain;
        }


        /* ==============================================
           MINIATURAS
           ============================================== */

        .product-thumbnails {
            margin-top: 15px;

            display: flex;

            gap: 10px;
        }


        .product-thumbnail {
            width: 80px;

            height: 80px;

            padding: 8px;

            border: 1px solid #ddd;

            border-radius: 6px;

            background: #fff;

            cursor: pointer;
        }


        .product-thumbnail.active {
            border: 2px solid #e30613;
        }


        .product-thumbnail img {
            width: 100%;

            height: 100%;

            object-fit: contain;
        }


        /* ==============================================
           INFORMACIÓN DEL PRODUCTO
           ============================================== */

        .product-detail-info {
            padding-top: 10px;
        }


        .product-detail-brand {
            margin-bottom: 8px;

            color: #e30613;

            font-size: 13px;

            font-weight: bold;

            text-transform: uppercase;

            letter-spacing: 1px;
        }


        .product-detail-title {
            margin-bottom: 15px;

            color: #111;

            font-size: 38px;

            line-height: 1.2;
        }


        .product-detail-description {
            margin-bottom: 25px;

            color: #666;

            font-size: 15px;
        }


        /* ==============================================
           PRECIO
           ============================================== */

        .detail-old-price {
            margin-bottom: 3px;

            color: #999;

            font-size: 15px;

            text-decoration: line-through;
        }


        .detail-price {
            margin-bottom: 8px;

            color: #e30613;

            font-size: 38px;

            font-weight: 800;
        }


        .detail-offer {
            display: inline-block;

            margin-bottom: 25px;

            padding: 6px 10px;

            background: #e30613;

            color: #fff;

            border-radius: 4px;

            font-size: 12px;

            font-weight: bold;
        }


        /* ==============================================
           DISPONIBILIDAD
           ============================================== */

        .availability {
            margin-bottom: 25px;

            padding: 15px;

            background: #f5f5f5;

            border-radius: 6px;
        }


        .availability strong {
            color: #168c42;
        }


        /* ==============================================
           BOTONES
           ============================================== */

        .detail-buttons {
            display: flex;

            gap: 12px;

            margin-bottom: 30px;
        }


        .detail-button {
            min-height: 50px;

            padding: 0 25px;

            display: inline-flex;

            align-items: center;

            justify-content: center;

            border-radius: 5px;

            font-size: 13px;

            font-weight: bold;

            cursor: pointer;

            border: none;
        }


        .detail-whatsapp {
            background: #1aa85b;

            color: #fff;
        }


        .detail-whatsapp:hover {
            background: #128746;
        }


        .detail-cart {
            background: #111;

            color: #fff;
        }


        .detail-cart:hover {
            background: #333;
        }


        /* ==============================================
           INFORMACIÓN DE COMPRA
           ============================================== */

        .purchase-info {
            display: grid;

            grid-template-columns: 1fr 1fr;

            gap: 12px;

            margin-top: 20px;
        }


        .purchase-item {
            padding: 15px;

            border: 1px solid #e5e5e5;

            border-radius: 6px;
        }


        .purchase-item strong {
            display: block;

            margin-bottom: 4px;

            font-size: 13px;
        }


        .purchase-item span {
            color: #666;

            font-size: 12px;
        }


        /* ==============================================
           ESPECIFICACIONES
           ============================================== */

        .specifications-section {
            padding: 70px 0;

            background: #f5f5f5;
        }


        .specifications-box {
            overflow: hidden;

            background: #fff;

            border: 1px solid #e5e5e5;

            border-radius: 10px;
        }


        .specifications-title {
            padding: 20px 25px;

            background: #111;

            color: #fff;

            font-size: 20px;

            font-weight: bold;
        }


        .specification-row {
            display: grid;

            grid-template-columns: 250px 1fr;

            padding: 17px 25px;

            border-bottom: 1px solid #eee;
        }


        .specification-row:last-child {
            border-bottom: none;
        }


        .specification-name {
            font-weight: bold;
        }


        .specification-value {
            color: #666;
        }


        /* ==============================================
           PRODUCTOS RELACIONADOS
           ============================================== */

        .related-products {
            padding: 80px 0;
        }


        /* ==============================================
           PRODUCTO NO ENCONTRADO
           ============================================== */

        .product-not-found {
            padding: 100px 20px;

            text-align: center;
        }


        .product-not-found h1 {
            margin-bottom: 15px;
        }


        .product-not-found p {
            margin-bottom: 25px;

            color: #666;
        }


        /* ==============================================
           RESPONSIVE
           ============================================== */

        @media (max-width: 850px) {

            .product-detail {
                grid-template-columns: 1fr;

                gap: 35px;
            }


            .product-gallery {
                position: static;
            }


            .main-product-image {
                height: 400px;
            }


            .product-detail-title {
                font-size: 30px;
            }


            .detail-price {
                font-size: 32px;
            }

        }


        @media (max-width: 600px) {

            .product-detail-section {
                padding: 40px 0 60px;
            }


            .main-product-image {
                height: 320px;

                padding: 20px;
            }


            .product-detail-title {
                font-size: 27px;
            }


            .detail-buttons {
                flex-direction: column;
            }


            .detail-button {
                width: 100%;
            }


            .purchase-info {
                grid-template-columns: 1fr;
            }


            .specification-row {
                grid-template-columns: 1fr;

                gap: 5px;

                padding: 15px 18px;
            }

        }
    }


    /* ==========================================
   HEADER EXCLUSIVO DEL CARRITO
========================================== */

.cart-header {
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
}

.cart-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cart-logo img {
    width: 150px;
    height: auto;
    display: block;
}

.cart-header-title h1 {
    margin: 0;
    font-size: 26px;
    font-weight: 700;
    color: var(--secondary);
}

.cart-back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 18px;
    background: #f5f5f5;
    color: var(--secondary);
    border: 1px solid var(--border);
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.cart-back-button:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}


/* ==========================================
   CANTIDAD DEL CARRITO
========================================== */

.cart-item-subtotal {
    font-size: 16px;
    font-weight: 700;
    color: var(--secondary);
}


/* ==========================================
   MENSAJE TOAST
========================================== */

.toast-message {
    position: fixed;
    right: 25px;
    bottom: 30px;
    z-index: 99999;

    background: #111111;
    color: #ffffff;

    padding: 14px 20px;
    border-radius: 6px;

    font-size: 14px;
    font-weight: 600;

    opacity: 0;
    transform: translateY(15px);

    transition: all 0.3s ease;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.18);
}

.toast-message.show {
    opacity: 1;
    transform: translateY(0);
}


/* ==========================================
   RESPONSIVE HEADER CARRITO
========================================== */

@media (max-width: 600px) {

    .cart-header-inner {
        flex-wrap: wrap;
        justify-content: center;
    }

    .cart-logo img {
        width: 125px;
    }

    .cart-header-title {
        width: 100%;
        text-align: center;
        order: 3;
    }

    .cart-header-title h1 {
        font-size: 22px;
    }

    .cart-back-button {
        font-size: 13px;
        padding: 9px 13px;
    }
}

/* Ficha de producto: presentación ampliada para el catálogo. */
.product-detail-section {
    padding: 34px 0 55px;
    background: #fff;
}

.product-detail {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, .92fr);
    gap: 46px;
    align-items: start;
}

.product-gallery {
    position: sticky;
    top: 145px;
}

.product-main-image {
    min-height: 500px;
    height: auto;
    border-color: #dfe4eb;
    border-radius: 4px;
}

.product-main-image img {
    padding: 18px;
}

.product-detail-brand {
    color: #506079;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.product-detail-brand span {
    margin-left: 7px;
    font-weight: 500;
}

.product-detail-title {
    margin: 14px 0 12px;
    color: #151d33;
    font-size: 26px;
    line-height: 1.24;
}

.web-exclusive-label {
    display: inline-block;
    margin-bottom: 16px;
    border-radius: 8px;
    padding: 10px 15px;
    background: #d7ff00;
    color: #1128a9;
    font-size: 14px;
    font-weight: 800;
}

.product-detail-description {
    border-bottom: 1px solid #dfe4eb;
    padding-bottom: 16px;
    color: #46536b;
    line-height: 1.55;
}

.product-detail-price-box {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin: 20px 0;
}

.product-detail-price { color: #c71525; font-size: 31px; font-weight: 800; }
.product-detail-price sup, .product-price-old sup { font-size: .54em; vertical-align: super; }
.product-price-old { color: #68738a; font-size: 22px; text-decoration: line-through; }
.product-detail-discount { color: #c71525; font-size: 13px; font-weight: 700; }
.product-availability { border-top: 1px solid #dfe4eb; padding-top: 14px; color: #238849; }
.product-availability small { display: block; margin-top: 4px; color: #5e6b83; }
.product-quantity { display: flex; align-items: center; gap: 16px; margin: 18px 0; }
.quantity-control { display: flex; border: 1px solid #24324f; border-radius: 3px; overflow: hidden; }
.quantity-control button { width: 40px; border: 0; background: #fff; color: #16223d; font-size: 21px; cursor: pointer; }
.quantity-control input { width: 48px; border: 0; text-align: center; }
.product-detail-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.product-detail-buttons .btn { min-height: 46px; border-radius: 3px; font-size: 13px; font-weight: 800; }
.product-detail-buttons .btn-cart { background: #26b708; color: #fff; }
.product-specifications { grid-column: 1 / -1; margin-top: 24px; border-top: 1px solid #dfe4eb; padding-top: 32px; }
.specifications-grid { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid #e0e5ed; }
.specification-item { display: grid; grid-template-columns: 130px 1fr; gap: 12px; border-bottom: 1px solid #e0e5ed; padding: 14px 16px; font-size: 14px; }
.specification-item strong { color: #19294a; }
.specification-item span { color: #53627a; }
@media (max-width: 850px) { .product-detail { grid-template-columns: 1fr; gap: 25px; } .product-gallery { position: static; } .product-main-image { min-height: 360px; } }
@media (max-width: 560px) { .product-detail-section { padding: 22px 0 42px; } .product-detail-title { font-size: 22px; } .product-detail-buttons, .specifications-grid { grid-template-columns: 1fr; } .product-main-image { min-height: 290px; } }

/* Variante breve de ficha de producto. */
.product-detail-section { background: #f8fafc; }
.product-detail { max-width: 1160px; margin: 26px auto; border: 1px solid #e4e9f0; border-radius: 15px; padding: 36px; background: #fff; }
.product-main-image { min-height: 470px; border-radius: 10px; }
.web-exclusive-label, .purchase-info, .product-specifications, .related-products { display: none; }
.product-detail-description { margin: 20px 0 0; border-top: 1px solid #e3e8ef; border-bottom: 0; padding: 20px 0 0; color: #415574; font-size: 13px; font-weight: 600; text-transform: uppercase; }
.product-payment-prices { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 18px 0 12px; }
.product-payment-prices > div { border: 1px solid #ffb7bd; border-radius: 14px; padding: 15px; background: #fff; }
.product-payment-prices > div:last-child { border-color: #dce3ee; background: #f8fafc; }
.product-payment-prices small { display: block; color: #5c6c87; font-size: 11px; font-weight: 700; }
.product-payment-prices strong { display: block; margin-top: 5px; color: #f11529; font-size: 27px; line-height: 1; }
.product-payment-prices > div:last-child strong { color: #293a57; }
.product-availability { margin: 10px 0 20px; border: 0; padding: 0; color: #d68612; font-weight: 800; }
.product-availability small { display: none; }
.product-detail-buttons { grid-template-columns: 1fr 1fr; gap: 12px; }
.product-quantity { display: flex; align-items: center; gap: 12px; margin: 18px 0; }
.product-quantity label { color: #25334e; font-size: 14px; font-weight: 700; }
.quantity-control { height: 50px; border: 1px solid #18243c; border-radius: 4px; }
.quantity-control button { width: 48px; font-weight: 800; }
.quantity-control input { width: 60px; font-size: 15px; }
.product-detail-buttons .btn-cart { grid-column: 1 / -1; order: -1; min-height: 59px; border-radius: 14px; background: #ff1023; font-size: 15px; }
.product-detail-buttons .btn-whatsapp { grid-column: 1 / -1; min-height: 50px; border: 1px solid #18b951; border-radius: 10px; background: #fff; color: #109a42; }
@media (max-width: 700px) { .product-detail { margin: 12px auto; padding: 18px; } .product-payment-prices { grid-template-columns: 1fr; } .product-main-image { min-height: 320px; } }

/* Descripción, cotización y productos relacionados. */
.product-specifications { display: block; grid-column: 1 / -1; margin-top: 28px; border: 1px solid #e1e6ee; border-radius: 12px; padding: 26px; }
.product-specifications .section-title { margin-bottom: 18px; text-align: left; }
.product-specifications .section-title h2 { margin-top: 6px; font-size: 22px; }
.formal-quote-section { grid-column: 1 / -1; margin-top: 24px; border: 1px solid #e0e6ef; border-radius: 14px; padding: 22px; background: #fff; }
.formal-quote-section > span { display: inline-block; border-bottom: 3px solid var(--primary); padding-bottom: 12px; color: #152a4d; font-size: 12px; font-weight: 800; }
.formal-quote-card { max-width: 630px; margin: 28px auto 8px; border: 1px dashed #d7e0ed; border-radius: 18px; padding: 25px; background: #f8fafc; text-align: center; }
.formal-quote-icon { color: #8da0bb; font-size: 23px; }.formal-quote-card h2 { margin: 10px 0; color: #111d35; font-size: 20px; }.formal-quote-card p { margin: 0 auto 20px; color: #58708f; font-size: 14px; line-height: 1.55; }.formal-quote-card a { display: inline-block; border-radius: 10px; padding: 14px 24px; background: #101b32; color: #fff; font-size: 12px; font-weight: 800; }.formal-quote-card a:hover { background: #1d3158; }
.related-products { display: block; padding: 46px 0 70px; background: #fff; }.related-products .section-title { text-align: left; }.related-products .section-title h2 { font-size: 27px; }.related-products .section-title h2::first-letter { color: #111d35; }
@media (max-width: 560px) { .product-specifications, .formal-quote-section { padding: 18px; }.formal-quote-card { padding: 22px 16px; }.formal-quote-card a { width: 100%; padding: 14px 8px; } }


/* Icono de WhatsApp para acciones de cotización */
.quote-whatsapp-icon {
    width: 18px;
    height: 18px;
    margin-right: 7px;
    vertical-align: -4px;
    object-fit: contain;
}

/* =========================================================
   PÁGINA OFERTAS
   ========================================================= */

.offers-hero {
    padding: 88px 0;
    background: linear-gradient(120deg, #7c090e 0%, #d31a25 55%, #f29422 100%);
    color: var(--white);
}

.offers-hero > .container > span,
.offers-heading > div > span {
    color: #ffe4a8;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.offers-hero h1 {
    margin: 10px 0 16px;
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.05;
}

.offers-hero p {
    max-width: 560px;
    margin-bottom: 30px;
    color: #fff0e9;
    font-size: 18px;
}

.offers-catalog {
    padding: 70px 0 90px;
}

.offers-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 34px;
}

.offers-heading h2 {
    margin-top: 7px;
    color: #111936;
    font-size: 32px;
}

.offers-heading p {
    max-width: 360px;
    color: #68738a;
    text-align: right;
}

.offers-products {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.offer-product-card {
    border-top: 4px solid #e30613;
}

.offers-empty {
    grid-column: 1 / -1;
    padding: 28px;
    border-radius: 12px;
    background: #fff5f5;
    color: #7c090e;
    text-align: center;
}

@media (max-width: 1000px) {
    .offers-products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .offers-hero {
        padding: 65px 0;
    }

    .offers-hero p {
        font-size: 16px;
    }

    .offers-catalog {
        padding: 48px 0 65px;
    }

    .offers-heading {
        align-items: start;
        flex-direction: column;
        margin-bottom: 25px;
    }

    .offers-heading h2 {
        font-size: 26px;
    }

    .offers-heading p {
        text-align: left;
    }

    .offers-products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 440px) {
    .offers-products {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   PÁGINA DISTRIBUCIÓN
   ========================================================= */

.distribution-page {
    min-height: 640px;
    padding: 52px 0 85px;
    background: #f4f6f9;
}

.distribution-access {
    display: grid;
    min-height: 530px;
    place-items: center;
    padding: 65px 20px;
}

.distribution-access[hidden] {
    display: none;
}

.distribution-access-card {
    width: min(100%, 500px);
    text-align: center;
}

.distribution-access-card h1 {
    margin: 0 0 30px;
    color: #1b355c;
    font-size: 23px;
    font-weight: 500;
}

.distribution-access-field {
    display: flex;
    align-items: center;
    height: 43px;
    margin-bottom: 20px;
    overflow: hidden;
    border: 1px solid #cbd3df;
    border-radius: 20px;
    background: var(--white);
}

.distribution-access-field span {
    display: grid;
    width: 44px;
    place-items: center;
    color: #304765;
    font-size: 17px;
}

.distribution-access-field input {
    width: 100%;
    height: 100%;
    border: 0;
    border-left: 1px solid #182a77;
    padding: 0 16px;
    color: #304765;
    font: inherit;
    font-size: 17px;
    outline: none;
}

.distribution-access-field:focus-within {
    border-color: #182a77;
    box-shadow: 0 0 0 2px rgba(24, 42, 119, 0.12);
}

.distribution-access-error {
    min-height: 20px;
    margin: -8px 0 12px;
    color: #c62828;
    font-size: 14px;
}

.distribution-access-card button {
    min-width: 250px;
    min-height: 54px;
    border: 0;
    border-radius: 7px;
    background: #ff2c0b;
    color: var(--white);
    cursor: pointer;
    font: inherit;
    font-size: 18px;
}

.distribution-access-card button:hover {
    background: #e52608;
}

.distribution-controls {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) auto minmax(210px, 280px);
    gap: 12px;
    margin-bottom: 36px;
}

.distribution-controls input,
.distribution-controls select {
    min-height: 50px;
    border: 1px solid #d7dfeb;
    border-radius: 8px;
    padding: 0 16px;
    background: var(--white);
    color: #18243c;
    font: inherit;
}

.distribution-controls button {
    min-height: 50px;
    border: 0;
    border-radius: 8px;
    padding: 0 24px;
    background: var(--primary);
    color: var(--white);
    cursor: pointer;
    font-weight: 800;
}

.distribution-heading {
    margin-bottom: 25px;
}

.distribution-heading span {
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.4px;
}

.distribution-heading h1 {
    margin: 6px 0;
    color: #132343;
    font-size: 34px;
}

.distribution-heading p {
    color: #65738c;
}

.distribution-list {
    overflow: hidden;
    border: 1px solid #dce3ec;
    border-radius: 14px;
    background: var(--white);
}

.distribution-list-header,
.distribution-row {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) 100px 130px 220px;
    align-items: center;
    gap: 18px;
    padding: 17px 28px;
}

.distribution-list-header {
    background: #e9edf3;
    color: #596983;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
}

.distribution-row {
    min-height: 78px;
    border-top: 1px solid #e7ebf1;
}

.distribution-product {
    color: #152a4f;
    font-size: 15px;
    text-decoration: underline;
}

.distribution-product small {
    display: block;
    margin-top: 4px;
    color: #73819a;
    font-size: 12px;
    text-decoration: none;
}

.distribution-stock {
    justify-self: start;
    min-width: 34px;
    border-radius: 6px;
    padding: 4px 9px;
    background: #e8f5ee;
    color: #16824d;
    font-size: 13px;
    font-weight: 800;
    text-align: center;
}

.distribution-price {
    color: #ba1725;
    font-size: 17px;
    text-align: right;
}

.distribution-add {
    display: flex;
    gap: 9px;
}

.distribution-add input {
    width: 70px;
    min-height: 42px;
    border: 1px solid #d5ddea;
    border-radius: 7px;
    padding: 0 9px;
    color: #18243c;
    font: inherit;
}

.distribution-add button {
    min-height: 42px;
    border: 0;
    border-radius: 7px;
    padding: 0 16px;
    background: #bd2638;
    color: var(--white);
    cursor: pointer;
    font-weight: 800;
}

.distribution-add button:hover {
    background: #9e1728;
}

.distribution-empty {
    padding: 30px;
    color: #65738c;
    text-align: center;
}

@media (max-width: 850px) {
    .distribution-list-header {
        display: none;
    }

    .distribution-row {
        grid-template-columns: 1fr auto;
        gap: 14px;
        padding: 18px;
    }

    .distribution-stock,
    .distribution-price,
    .distribution-add {
        justify-self: start;
    }
}

@media (max-width: 600px) {
    .distribution-page {
        padding: 35px 0 60px;
    }

    .distribution-controls {
        grid-template-columns: 1fr;
    }

    .distribution-heading h1 {
        font-size: 28px;
    }

    .distribution-row {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   PÁGINA SERVICIO TÉCNICO
   ========================================================= */

.technical-page {
    padding: 72px 0 90px;
    background: #f4f6fa;
}

.technical-intro {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(260px, 0.55fr);
    align-items: end;
    gap: 60px;
    margin-bottom: 40px;
}

.technical-intro span {
    color: #2455ff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.4px;
}

.technical-intro h1 {
    max-width: 650px;
    margin-top: 10px;
    color: #101d37;
    font-size: clamp(37px, 4.8vw, 64px);
    line-height: 1.04;
}

.technical-intro > p {
    max-width: 360px;
    color: #61708b;
    font-size: 15px;
}

.technical-services {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.technical-service-card {
    overflow: hidden;
    border: 1px solid #dbe2ed;
    border-radius: 13px;
    background: var(--white);
    box-shadow: 0 8px 22px rgba(17, 25, 54, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.technical-service-card:hover {
    box-shadow: 0 14px 28px rgba(17, 25, 54, 0.13);
    transform: translateY(-5px);
}

.technical-service-visual {
    min-height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 20px;
    background: linear-gradient(135deg, #2455ff, #1638c8);
    color: var(--white);
    text-align: center;
}

.technical-service-visual span {
    font-size: 64px;
    filter: drop-shadow(0 7px 8px rgba(0, 0, 0, 0.2));
}

.technical-service-visual strong {
    font-size: 18px;
    line-height: 1.08;
}

.technical-service-info {
    display: flex;
    min-height: 250px;
    flex-direction: column;
    padding: 20px 16px 16px;
}

.technical-service-info small {
    color: #2455ff;
    font-size: 11px;
    font-weight: 800;
}

.technical-service-info h2 {
    min-height: 46px;
    margin: 9px 0 10px;
    color: #101d37;
    font-size: 16px;
    line-height: 1.25;
}

.technical-service-info p {
    margin-bottom: 16px;
    color: #65738c;
    font-size: 12px;
    line-height: 1.55;
}

.technical-service-info a {
    display: flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    border-radius: 6px;
    background: #1dcc67;
    color: var(--white);
    font-size: 10px;
    font-weight: 800;
    text-align: center;
}

.technical-service-info a:hover {
    background: #13a650;
}

@media (max-width: 1050px) {
    .technical-services {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .technical-page {
        padding: 50px 0 65px;
    }

    .technical-intro {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-bottom: 28px;
    }

    .technical-intro > p {
        font-size: 14px;
    }
}

@media (max-width: 520px) {
    .technical-services {
        grid-template-columns: 1fr;
    }

    .technical-service-visual {
        min-height: 160px;
    }
}


/* =========================================================
   PÁGINA ACCESORIOS
   ========================================================= */

.accessories-hero {
    padding: 88px 0;
    background: linear-gradient(120deg, #2b124c 0%, #5a1d6e 56%, #d24763 100%);
    color: var(--white);
}

.accessories-hero > .container > span,
.accessories-heading > div > span {
    color: #ffd2e0;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.accessories-hero h1 {
    margin: 10px 0 16px;
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.05;
}

.accessories-hero p {
    max-width: 550px;
    margin-bottom: 30px;
    color: #ffe9f1;
    font-size: 18px;
}

.accessories-catalog {
    padding: 70px 0 90px;
}

.accessories-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 34px;
}

.accessories-heading h2 {
    margin-top: 7px;
    color: #111936;
    font-size: 32px;
}

.accessories-heading p {
    max-width: 360px;
    color: #68738a;
    text-align: right;
}

.accessory-models {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.accessory-model-card {
    overflow: hidden;
    border: 1px solid #e2e7ed;
    border-radius: 16px;
    background: var(--white);
    box-shadow: 0 8px 25px rgba(17, 25, 54, 0.07);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.accessory-model-card:hover {
    box-shadow: 0 14px 30px rgba(17, 25, 54, 0.14);
    transform: translateY(-5px);
}

.accessory-model-image {
    aspect-ratio: 1 / 0.8;
    overflow: hidden;
    background: #f7f4f8;
}

.accessory-model-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
}

.accessory-model-info {
    padding: 24px;
}

.accessory-brand {
    color: #a51e75;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.2px;
}

.accessory-model-info h3 {
    min-height: 54px;
    margin: 7px 0 9px;
    color: #111936;
    font-size: 21px;
    line-height: 1.25;
}

.accessory-model-info p {
    min-height: 50px;
    margin-bottom: 14px;
    color: #66728a;
    font-size: 14px;
}

.accessory-price {
    margin-bottom: 18px;
    color: #111936;
    font-size: 25px;
    font-weight: 800;
}

.accessory-quote-button {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    background: #1aa85b;
    color: var(--white);
    font-size: 13px;
    font-weight: 800;
    transition: background 0.2s ease;
}

.accessory-quote-button:hover {
    background: #128348;
}

@media (max-width: 850px) {
    .accessory-models {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .accessories-hero {
        padding: 65px 0;
    }

    .accessories-hero p {
        font-size: 16px;
    }

    .accessories-catalog {
        padding: 48px 0 65px;
    }

    .accessories-heading {
        align-items: start;
        flex-direction: column;
        margin-bottom: 25px;
    }

    .accessories-heading h2 {
        font-size: 26px;
    }

    .accessories-heading p {
        text-align: left;
    }

    .accessory-models {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   PÁGINA COMPUTADORAS
   ========================================================= */

.computers-hero {
    padding: 88px 0;
    background: linear-gradient(125deg, #111936 0%, #273f6e 56%, #627aa9 100%);
    color: var(--white);
}

.computers-hero > .container > span,
.computers-heading > span {
    color: #b7d6ff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.computers-hero h1 {
    max-width: 720px;
    margin: 10px 0 16px;
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.05;
}

.computers-hero p {
    max-width: 540px;
    color: #e4ecfc;
    font-size: 18px;
}

.computers-categories {
    padding: 70px 0 90px;
}

.computers-heading {
    margin-bottom: 34px;
    text-align: center;
}

.btn-add-cart {
    width: 100%;
    border: 0;
    background: var(--primary);
    color: var(--white);
    cursor: pointer;
}

.btn-add-cart:hover {
    background: var(--primary-dark);
}

.computers-heading h2 {
    margin-top: 8px;
    color: #111936;
    font-size: 32px;
}

.computers-options-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.computers-option-card {
    display: flex;
    min-height: 330px;
    flex-direction: column;
    align-items: center;
    padding: 35px 28px 30px;
    border: 1px solid #e1e7f0;
    border-radius: 16px;
    background: var(--white);
    box-shadow: 0 8px 26px rgba(17, 25, 54, 0.07);
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.computers-option-card:hover {
    box-shadow: 0 14px 30px rgba(17, 25, 54, 0.14);
    transform: translateY(-5px);
}

.computers-option-icon {
    width: 94px;
    height: 94px;
    display: grid;
    place-items: center;
    margin-bottom: 20px;
    border-radius: 50%;
    background: #eaf3ff;
    font-size: 48px;
}

.computers-option-icon.all-in-one {
    background: #fff3e8;
}

.computers-option-icon.components {
    background: #edfae9;
}

.computers-option-card h3 {
    color: #111936;
    font-size: 22px;
}

.computers-option-card p {
    margin: 10px 0 22px;
    color: #66728a;
    font-size: 14px;
}

.computers-option-card a {
    margin-top: auto;
    color: var(--primary);
    font-size: 13px;
    font-weight: 800;
}

.computers-option-card a:hover {
    text-decoration: underline;
}

@media (max-width: 800px) {
    .computers-options-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: auto;
    }
}

@media (max-width: 600px) {
    .computers-hero {
        padding: 65px 0;
    }

    .computers-hero p {
        font-size: 16px;
    }

    .computers-categories {
        padding: 48px 0 65px;
    }

    .computers-heading h2 {
        font-size: 26px;
    }
}


/* =========================================================
   PÁGINA IMPRESORAS
   ========================================================= */

.printers-hero {
    padding: 88px 0;
    background: linear-gradient(115deg, #10284d 0%, #0d5393 58%, #26a69a 100%);
    color: var(--white);
}

.printers-hero .container {
    max-width: 1200px;
}

.printers-hero > .container > span,
.printers-heading > div > span {
    color: #9df2e8;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.printers-hero h1 {
    max-width: 620px;
    margin: 10px 0 16px;
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.05;
}

.printers-hero p {
    max-width: 560px;
    margin-bottom: 30px;
    color: #e3f4ff;
    font-size: 18px;
}

.printers-catalog {
    padding: 70px 0 90px;
}

.printers-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 34px;
}

.printers-heading h2 {
    margin-top: 7px;
    color: #111936;
    font-size: 32px;
}

.printers-heading p {
    max-width: 360px;
    color: #68738a;
    text-align: right;
}

.printer-models {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.printer-model-card {
    overflow: hidden;
    border: 1px solid #e2e7ed;
    border-radius: 16px;
    background: var(--white);
    box-shadow: 0 8px 25px rgba(17, 25, 54, 0.07);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.printer-model-card:hover {
    box-shadow: 0 14px 30px rgba(17, 25, 54, 0.14);
    transform: translateY(-5px);
}

.printer-model-image {
    aspect-ratio: 1 / 0.78;
    overflow: hidden;
    background: #f4f8fb;
}

.printer-model-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
}

.printer-model-image-link,
.accessory-model-image-link {
    display: block;
    cursor: pointer;
}

.printer-model-image-link img,
.accessory-model-image-link img {
    transition: transform 0.25s ease;
}

.printer-model-image-link:hover img,
.accessory-model-image-link:hover img {
    transform: scale(1.04);
}

.printer-model-info {
    padding: 24px;
}

.printer-brand {
    color: #168c8a;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.2px;
}

.printer-model-info h3 {
    margin: 7px 0 9px;
    color: #111936;
    font-size: 22px;
}

.printer-model-info p {
    min-height: 52px;
    margin-bottom: 20px;
    color: #66728a;
    font-size: 14px;
}

.printer-price {
    margin-bottom: 18px;
    color: #111936;
    font-size: 25px;
    font-weight: 800;
}

.printer-quote-button {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    background: #1aa85b;
    color: var(--white);
    font-size: 13px;
    font-weight: 800;
    transition: background 0.2s ease;
}

.printer-quote-button:hover {
    background: #128348;
}

.printer-add-cart,
.accessory-add-cart {
    width: 100%;
    min-height: 44px;
    border: 0;
    border-radius: 7px;
    background: var(--primary);
    color: var(--white);
    cursor: pointer;
    font-size: 13px;
    font-weight: 800;
    transition: background 0.2s ease;
}

.printer-add-cart:hover,
.accessory-add-cart:hover {
    background: var(--primary-dark);
}

@media (max-width: 850px) {
    .printer-models {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .printers-hero {
        padding: 65px 0;
    }

    .printers-hero p {
        font-size: 16px;
    }

    .printers-catalog {
        padding: 48px 0 65px;
    }

    .printers-heading {
        align-items: start;
        flex-direction: column;
        margin-bottom: 25px;
    }

    .printers-heading h2 {
        font-size: 26px;
    }

    .printers-heading p {
        text-align: left;
    }

    .printer-models {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   PÁGINA GAMING
   ========================================================= */

.gaming-hero {
    position: relative;
    overflow: hidden;
    padding: 92px 0;
    background:
        radial-gradient(circle at 78% 30%, rgba(227, 6, 19, 0.48), transparent 28%),
        radial-gradient(circle at 65% 85%, rgba(96, 59, 255, 0.42), transparent 35%),
        #090b17;
    color: var(--white);
}

.gaming-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: linear-gradient(to right, #000, transparent 80%);
}

.gaming-hero-content {
    position: relative;
    z-index: 1;
    max-width: 650px;
}

.gaming-hero-content > span,
.gaming-catalog-heading > div > span {
    color: #ff5460;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.gaming-hero h1 {
    max-width: 580px;
    margin: 12px 0 18px;
    font-size: clamp(38px, 5vw, 68px);
    line-height: 1.02;
}

.gaming-hero p {
    max-width: 540px;
    margin-bottom: 30px;
    color: #d7d9ea;
    font-size: 18px;
}

.gaming-catalog {
    padding: 70px 0 90px;
}

.gaming-catalog-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 34px;
}

.gaming-catalog-heading h2 {
    margin-top: 7px;
    color: #111936;
    font-size: 32px;
}

.gaming-catalog-heading p {
    max-width: 390px;
    color: #68738a;
    text-align: right;
}

.gaming-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 760px;
}

.gaming-product-card {
    border-top: 4px solid #e30613;
}

.gaming-empty {
    grid-column: 1 / -1;
    padding: 28px;
    border-radius: 12px;
    background: #f5f6fa;
    color: #536078;
    text-align: center;
}

@media (max-width: 700px) {
    .gaming-hero {
        padding: 68px 0;
    }

    .gaming-hero p {
        font-size: 16px;
    }

    .gaming-catalog {
        padding: 48px 0 65px;
    }

    .gaming-catalog-heading {
        align-items: start;
        flex-direction: column;
        margin-bottom: 25px;
    }

    .gaming-catalog-heading h2 {
        font-size: 26px;
    }

    .gaming-catalog-heading p {
        text-align: left;
    }

    .gaming-products {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   PRESENTACIÓN: CATEGORÍA COMPUTADORAS
   ========================================================= */

.computer-category-intro {
    display: grid;
    grid-template-columns: minmax(260px, 0.9fr) minmax(500px, 1.4fr);
    align-items: center;
    gap: 42px;
    margin: 0 0 44px;
    padding: 38px 44px;
    border: 1px solid #e7ebf2;
    border-radius: 16px;
    background: linear-gradient(115deg, #f7faff 0%, #ffffff 58%, #f4fff1 100%);
    box-shadow: 0 10px 30px rgba(17, 25, 54, 0.06);
}

.computer-category-intro[hidden] {
    display: none;
}

.computer-category-kicker {
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.4px;
}

.computer-category-copy h2 {
    margin: 9px 0 13px;
    color: #111936;
    font-size: clamp(24px, 2.4vw, 34px);
    line-height: 1.16;
}

.computer-category-copy p {
    max-width: 500px;
    color: #536078;
    font-size: 16px;
}

.computer-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.computer-option {
    min-height: 190px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 20px 12px;
    border: 1px solid #e3e8f0;
    border-radius: 14px;
    background: var(--white);
    color: #111936;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.computer-option:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 22px rgba(17, 25, 54, 0.12);
    transform: translateY(-4px);
}

.computer-option-icon {
    width: 74px;
    height: 74px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #eef6ff;
    font-size: 38px;
}

.computer-option:nth-child(2) .computer-option-icon {
    background: #fff3e8;
}

.computer-option:nth-child(3) .computer-option-icon {
    background: #edfae9;
}

.computer-option strong {
    font-size: 16px;
}

.computer-option small {
    color: #68738a;
    font-size: 12px;
}

@media (max-width: 950px) {
    .computer-category-intro {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

@media (max-width: 600px) {
    .computer-category-intro {
        padding: 28px 20px;
    }

    .computer-options {
        gap: 10px;
    }

    .computer-option {
        min-height: 160px;
        padding: 14px 8px;
    }

    .computer-option-icon {
        width: 58px;
        height: 58px;
        font-size: 30px;
    }

    .computer-option strong {
        font-size: 13px;
    }

    .computer-option small {
        display: none;
    }
}
