﻿/* ==========================================================================
   PERSONALIZACIÓN GLOBAL / VARIABLES
   ========================================================================== */

:root {
    /* Brand / Accents */
    --color-brand: #244195; /* Azul corporativo oscuro */
    --color-brand-600: #2e4da7; /* Azul corporativo medio */
    --color-brand-700: #1f3c8f; /* Azul corporativo más oscuro */
    --color-accent: #555; /* Gris oscuro */
    --color-accent-700: #c62828; /* Rojo oscuro */
    --color-highlight: #d6b74a; /* Dorado / kaki */
    --color-highlight-700: #bb9f3b; /* Dorado oscuro / kaki oscuro */
    --color-info: #0981b6; /* Azul cielo intenso */
    --color-elegant: #3982a1; /* Azul elegante / azul verdoso */
    --color-tenue: #717980; /* Gris azulado tenue */
    --color-rojo: #e00909; /* Rojo intenso */
    --color-rojo-dark: #ad0b0b; /* Rojo oscuro */
    /* Text */
    --color-text: #0f172a; /* Azul noche / casi negro */
    --color-text-2: #334155; /* Azul grisáceo oscuro */
    --color-muted: #64748b; /* Gris azulado */
    --color-foreground: #514f4f; /* Gris oscuro */
    --color-foreground-sub: #898686; /* Gris medio */
    /* Backgrounds */
    --color-bg: #ffffff; /* Blanco */
    --color-bg-soft: #f7f7f7; /* Gris muy claro */
    --color-bg-muted: #f5f5f5; /* Gris muy claro */
    --color-bg-panel: #fcfcfc; /* Blanco suave */
    /* Borders / Shadows / Radius */
    --color-border: #e7eaf0; /* Gris azulado muy claro */
    --shadow-1: 0 10px 25px rgba(2, 6, 23, 0.06); /* Sombra azul/negra muy suave */
    --shadow-2: 0 14px 35px rgba(16, 24, 40, 0.12); /* Sombra azul/negra suave */
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 16px;
    /* States */
    --color-success: #198754; /* Verde éxito Bootstrap */
    --color-warning: #ffc107; /* Amarillo advertencia Bootstrap */
    --color-danger: #dc3545; /* Rojo peligro Bootstrap */
    --color-success-apple: #e6f8b1; /* Verde manzana claro */
    --color-success-apple-borde: #d2eaa3; /* Verde manzana suave */
    --color-success-azul: #b6e5fa; /* Azul cielo claro */
    /* Compatibilidad plantilla */
    --primary-color: #212121; /* Gris muy oscuro / casi negro */
    --secondary-color: var(--color-brand); /* Azul corporativo oscuro */
    --foreground-color: var(--color-foreground); /* Gris oscuro */
    --foreground-sub-color: var(--color-foreground-sub); /* Gris medio */
    --body-text-color: #000000; /* Negro */
    --text-white-color: #fff; /* Blanco */
    --body-background-color: var(--color-bg); /* Blanco */
    --bg-offwhite-color: var(--color-bg-soft); /* Gris muy claro */
    --bg-black-color: #000000; /* Negro */
    --bg-light-dark-color: #1a1818; /* Negro suave / gris carbón */
    --border-color: var(--color-border); /* Gris azulado muy claro */
    /* Compatibilidad variables actuales */
    --azul-222: #222222; /* Gris muy oscuro */
    --negro-standar: #0d2849; /* Azul marino muy oscuro */
    --base-color: var(--color-brand-600); /* Azul corporativo medio */
    --brand-blue: var(--color-brand-600); /* Azul corporativo medio */
    --baja-accent: var(--color-brand); /* Azul corporativo oscuro */
    --baja-accent-dark: var(--color-brand-600); /* Azul corporativo medio */
    --baja-accent-soft: rgba(36, 65, 149, 0.10); /* Azul corporativo muy transparente */
    --baja-accent-soft-2: rgba(36, 65, 149, 0.06); /* Azul corporativo extra suave */
    --baja-accent-border: rgba(36, 65, 149, 0.25); /* Borde azul corporativo suave */
    --baja-text: var(--color-text); /* Azul noche / casi negro */
    --baja-text-2: var(--color-text-2); /* Azul grisáceo oscuro */
    --baja-muted: var(--color-muted); /* Gris azulado */
    --baja-border: rgba(15, 23, 42, 0.10); /* Borde azul noche muy suave */
    --baja-border-2: rgba(15, 23, 42, 0.08); /* Borde azul noche extra suave */
    --baja-shadow: var(--shadow-1); /* Sombra suave */
    --baja-radius: var(--radius-md);
    --baja-radius-lg: var(--radius-lg);
    --base-color-resalte: var(--color-highlight); /* Dorado / kaki */
    --base-color-resalte-oscuro: var(--color-highlight-700); /* Dorado oscuro / kaki oscuro */
    --base-cielo: var(--color-info); /* Azul cielo intenso */
    --azul-elegante: var(--color-elegant); /* Azul elegante / azul verdoso */
    --gris-tenue: var(--color-bg-muted); /* Gris muy claro */
    --gris-elegante: #555; /* Gris oscuro */
    --kaki: var(--color-highlight); /* Dorado / kaki */
    --kaki-hover: var(--color-highlight-700); /* Dorado oscuro / kaki oscuro */
    --kaki-active: #efe08b; /* Amarillo dorado claro */
    --kaki-sticky: #7a6515; /* Marrón dorado oscuro */
    --kaki-sticky-hover: #5f4f10; /* Marrón dorado más oscuro */
    --badge-red: var(--color-accent-700); /* Rojo oscuro */
    /* Pantalla pedido */
    --standar-bg: var(--color-bg-panel); /* Blanco suave */
    --standar-border: var(--color-border); /* Gris azulado muy claro */
    --standar-shadow: var(--shadow-2); /* Sombra suave */
    --standar-blue: var(--color-brand-700); /* Azul corporativo más oscuro */
    --standar-blue-2: var(--color-brand-600); /* Azul corporativo medio */
    --standar-radius: var(--radius-lg);
    --standar-input-radius: var(--radius-sm);
    --standar-black: #302e2e; /* Gris carbón */
    --standar-white: #fff; /* Blanco */
    --standar-muted: #9a9ca0; /* Gris medio claro */
}


/* ==========================================================================
   UTILIDADES GLOBALES
   ========================================================================== */

.bg-fondo-gris {
    background-color: var(--gris-tenue); /* Gris muy claro */
}

.color-azul-elegante {
    color: var(--azul-elegante); /* Azul elegante / azul verdoso */
}

.text__secondary {
    color: var(--base-color-resalte); /* Dorado / kaki */
}

.text__base {
    color: var(--base-color); /* Azul corporativo medio */
}

.hr-resalte,
.hr-resalte-green {
    height: 3px !important;
    margin: 3px auto 10px;
    border: 0;
    border-radius: 3px;
}

.hr-resalte {
    background-color: var(--base-color); /* Azul corporativo medio */
}

.hr-resalte-green {
    background-color: #198754; /* Verde éxito */
}

.hr-mini {
    height: 2px;
    margin: 5px 0;
    padding: 0;
}

/* ==========================================================================
   PLACEHOLDERS
   ========================================================================== */

input::placeholder,
textarea::placeholder {
    color: rgba(0, 0, 0, 0.45);
    opacity: 0.5;
    font-style: italic;
}

input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
    opacity: 0.5;
    font-style: italic;
}

input:-moz-placeholder,
textarea:-moz-placeholder,
input::-moz-placeholder,
textarea::-moz-placeholder {
    opacity: 0.5;
    font-style: italic;
}

input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
    opacity: 0.5;
    font-style: italic;
}


/* ==========================================================================
   CTA MECÁNICO FIJO
   ========================================================================== */

.cta-mecanico {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 320px;
    padding: 14px 18px;
    color: #1a1a1a;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
    cursor: pointer;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

    .cta-mecanico:hover {
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
        transform: translateY(-3px);
    }

.cta-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    min-width: 44px;
    height: 44px;
    overflow: hidden;
    color: transparent;
    background: var(--base-color);
    border-radius: 50%;
    font-size: 0;
}

    .cta-icon * {
        display: none !important;
        visibility: hidden !important;
    }

    .cta-icon::before {
        content: "";
        display: block;
        width: 22px;
        height: 22px;
        background: center / contain no-repeat url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'>\
<path fill='white' d='M6.6 10.8c1.4 2.7 3.9 5.2 6.6 6.6l2.2-2.2c.3-.3.8-.4 1.2-.2 1 .4 2 .6 3.1.6.7 0 1.2.5 1.2 1.2V20c0 .7-.5 1.2-1.2 1.2C10.3 21.2 2.8 13.7 2.8 4.2 2.8 3.5 3.3 3 4 3h2.7c.7 0 1.2.5 1.2 1.2 0 1.1.2 2.1.6 3.1.1.4 0 .9-.3 1.2L6.6 10.8z'/>\
</svg>");
    }

.cta-text {
    font-size: 14px;
    line-height: 1.25;
}

    .cta-text span {
        color: #555;
        font-size: 13px;
    }


/* ==========================================================================
   HEADER - BUSCADOR
   ========================================================================== */

.header__search--form .header__select--categories {
    display: none !important;
}

.header__search--form {
    overflow: hidden;
    border-radius: 26px;
}

    .header__search--form .header__search--box {
        display: flex !important;
        flex: 1 1 0% !important;
        align-items: center;
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
    }

        .header__search--form .header__search--box > label {
            display: flex !important;
            flex: 1 1 auto !important;
            width: 100% !important;
            min-width: 0 !important;
            margin: 0 !important;
        }

    .header__search--form .header__search--input {
        flex: 1 1 auto !important;
        width: 100% !important;
        min-width: 0 !important;
        border-radius: 26px 0 0 26px;
    }

    .header__search--form .header__search--button {
        flex: 0 0 auto !important;
        border-radius: 0 26px 26px 0;
    }

.header__search--widget {
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
}

.header__logo,
.header__logo a,
.header__logo img,
.header__account,
.header__cart,
.header__right,
.header__actions,
.header__right--inner {
    flex: 0 0 auto !important;
    flex-shrink: 0 !important;
}


/* ==========================================================================
   HEADER - ICONOS / CUENTA / CARRITO
   ========================================================================== */

.header__search--button i,
.header__search--button svg {
    font-size: 2rem !important;
    line-height: 1 !important;
}

.header__account i,
.header__account svg {
    font-size: 1.9rem !important;
    line-height: 1 !important;
}

.header__cart i,
.header__cart svg {
    font-size: 2rem !important;
    line-height: 1 !important;
}

.header__account--btn i {
    font-size: 2.2rem !important;
    line-height: 1;
}

.header__minicart--items .bi-cart3 {
    font-size: 2.3rem !important;
}

.header__account .icono-usuario-header {
    font-size: 3rem !important;
    line-height: 1 !important;
    vertical-align: middle;
}

.header__account .bi-search {
    font-size: 2.1rem !important;
}

.header__cart--count {
    color: #fff;
    background-color: var(--badge-red);
    border-radius: 50%;
    font-weight: 600;
}

.minicart__btn--text {
    color: #8a8585 !important;
}

.minicart__btn--text__price {
    color: #000 !important;
    font-size: 14px;
    font-weight: 700;
}

.items__count {
    position: absolute;
    top: -6px;
    right: -8px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    color: #fff;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 600;
    line-height: 18px;
    text-align: center;
}

.minicart__open--btn .items__count {
    background-color: var(--badge-red);
}


/* ==========================================================================
   HEADER - CTA FORMULARIO PEDIDO
   ========================================================================== */

.header__menu--cta {
    display: flex;
    align-items: center;
    margin-left: 14px;
}

.header__menu--cta__btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 42px;
    padding: 0 18px;
    color: #2f2f2f !important;
    background: rgba(61, 61, 59, 0.06);
    border: 1px solid rgba(61, 61, 59, 0.14);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: background-color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

    .header__menu--cta__btn:hover {
        color: #1d4ed8 !important;
        background: rgba(37, 99, 235, 0.08);
        border-color: rgba(37, 99, 235, 0.22);
        box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
        transform: translateY(-1px);
    }

    .header__menu--cta__btn:active {
        box-shadow: 0 4px 10px rgba(15, 23, 42, 0.06);
        transform: translateY(0);
    }

    .header__menu--cta__btn .cta-dot {
        flex: 0 0 auto;
        width: 8px;
        height: 8px;
        background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 100%);
        border-radius: 50%;
        box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.10);
        transition: box-shadow 0.22s ease, transform 0.22s ease;
    }

    .header__menu--cta__btn:hover .cta-dot {
        box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.12);
        transform: scale(1.08);
    }


/* ==========================================================================
   TOPBAR TELÉFONO
   ========================================================================== */

.topbar-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    line-height: 1;
}

    .topbar-phone svg {
        flex-shrink: 0;
        color: var(--base-color);
    }

.topbar-phone__label {
    color: #555;
    font-weight: 500;
}

.topbar-phone__number {
    color: var(--color-text);
    font-weight: 700;
    letter-spacing: 0.3px;
}

.call-link {
    color: #555;
    font-weight: 500;
    text-decoration: none;
}

    .call-link i {
        margin-right: 4px;
        font-size: 0.95em;
    }

    .call-link:hover {
        color: var(--base-color);
    }


/* ==========================================================================
   MENÚ MÓVIL / OFFCANVAS
   ========================================================================== */

.offcanvas__inner {
    display: flex;
    flex-direction: column;
    height: 100dvh;
}

.offcanvas__menu {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
}

.offcanvas__menu_ul {
    flex: 0 0 auto;
    margin: 0;
    padding: 0;
    overflow: visible;
}

.offcanvas__account--items {
    margin-top: auto;
    padding: 54px 0 20px;
    border-top: 1px solid #eee;
    text-align: center;
}

.offcanvas__account--items__btn {
    justify-content: center;
    gap: 8px;
}


/* ==========================================================================
   TOOLBAR MÓVIL
   ========================================================================== */

.offcanvas__stikcy--toolbar__btn {
    position: relative;
}

.offcanvas__stikcy--toolbar__icon .icono-usuario-header {
    font-size: 1.75rem !important;
    line-height: 1 !important;
}


/* ==========================================================================
   SLIDER / BANNER MENSAJE
   ========================================================================== */

.slider4__items--bg1 {
    background: radial-gradient(circle at 15% 25%, rgba(255, 255, 255, 0.55), transparent 55%), radial-gradient(circle at 85% 70%, rgba(0, 0, 0, 0.05), transparent 65%), linear-gradient(135deg, #eef0f3 0%, #dfe2e8 45%, #d2d6dd 100%) !important;
    background-repeat: no-repeat;
    background-size: cover;
}

.banner-msg {
    position: relative;
    display: flex;
    align-items: center;
    height: 220px;
    overflow: visible;
}

.banner-msg--teal {
    background: linear-gradient(90deg, #0a6a82 0%, #075b72 30%, #064c62 55%, #04394b 75%, #022634 100%);
}

    .banner-msg--teal::after {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 1;
        background: radial-gradient(circle at 85% 50%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.18) 70%, rgba(0, 0, 0, 0.30) 100%);
        pointer-events: none;
    }

.banner-msg .container {
    position: relative;
    z-index: 2;
}

.banner-msg__title {
    margin: 0 0 8px;
    color: #fff;
    font-size: clamp(2.1rem, 1.7vw, 2.9rem) !important;
    font-weight: 700;
}

.banner-msg__subtitle {
    max-width: 560px;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(1.4rem, 1.3vw, 2rem) !important;
}

.banner-msg__img {
    position: absolute;
    top: -40px;
    right: clamp(-10px, 294vw, 320px);
    z-index: 3;
    width: auto;
    height: 320px;
    filter: drop-shadow(0 16px 22px rgba(0, 0, 0, 0.35));
    pointer-events: none;
    user-select: none;
    transform: rotate(5deg) scale(0.94);
}


/* ==========================================================================
   TÍTULOS / ORNAMENTO
   ========================================================================== */

.section__heading--maintitle {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
}

    .section__heading--maintitle .heading__sub {
        color: #8c8c8c;
        font-size: 0.65em;
        font-weight: 400;
    }

.ornamento {
    position: relative;
}

    .ornamento::before {
        content: "//";
        display: inline-block;
        margin-right: 16px;
        color: var(--color-elegant);
        font-size: 0.6em;
        font-weight: 700;
        letter-spacing: -7px;
        vertical-align: middle;
        transform: scaleX(2.9);
    }


/* ==========================================================================
   ENLACES
   ========================================================================== */

.seccion_base a {
    color: var(--base-color);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

    .seccion_base a:visited {
        color: var(--base-color);
    }

    .seccion_base a:hover,
    .seccion_base a:active {
        text-decoration: underline;
        text-underline-offset: 3px;
    }

    .seccion_base a:focus-visible {
        outline: 2px solid color-mix(in srgb, var(--base-color) 60%, #000);
        outline-offset: 2px;
        text-decoration: underline;
    }

.link-underline,
.link-underline-green,
.link-underline-error,
.bt-underline-red,
.bt-underline-green {
    position: relative;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.link-underline {
    color: var(--baja-accent) !important;
}

.link-underline-green {
    color: #198754 !important;
}

.link-underline-error {
    color: var(--color-accent-700) !important;
}

.link-simple {
    position: relative;
    color: var(--baja-accent) !important;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.25s ease;
}

    .link-simple:hover {
        color: var(--gris-elegante) !important;
        text-decoration: none !important;
    }

.bt-underline-red,
.bt-underline-green {
    display: inline-block;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
}

.bt-underline-red {
    color: #dc3545 !important;
}

.bt-underline-green {
    color: #198754 !important;
}

    .link-underline::after,
    .link-underline-green::after,
    .link-underline-error::after,
    .bt-underline-red::after,
    .bt-underline-green::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -2px;
        width: 100%;
        height: 1px;
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.25s ease;
    }

.link-underline::after {
    bottom: 0;
    background: var(--gris-elegante) !important;
}

.link-underline-green::after {
    bottom: 0;
    background: #198754 !important;
}

.link-underline-error::after {
    bottom: 0;
    background: var(--color-accent-700) !important;
}

.bt-underline-red::after {
    background: #fb4d0b;
}

.bt-underline-green::after {
    background: #157347;
}

.link-underline:hover,
.link-underline:hover::after {
    color: var(--gris-elegante) !important;
    text-decoration: none !important;
}

.link-underline-green:hover {
    color: #157347 !important;
    text-decoration: none !important;
}

.link-underline-error:hover {
    color: var(--color-accent-700) !important;
    text-decoration: none !important;
}

.bt-underline-red:hover {
    color: #fb4d0b !important;
}

.bt-underline-green:hover {
    color: #157347 !important;
}

    .link-underline:hover::after,
    .link-underline-green:hover::after,
    .link-underline-error:hover::after,
    .bt-underline-red:hover::after,
    .bt-underline-green:hover::after {
        transform: scaleX(1);
    }


/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer__widget--menu__text {
    transition: color 0.25s ease;
}

    .footer__widget--menu__text:hover,
    .footer__widget--menu__text:focus,
    .copyright__content--link:hover,
    .copyright__content--link:focus {
        color: var(--kaki-hover);
        text-decoration: none;
    }


/* ==========================================================================
   SCROLL TOP
   ========================================================================== */

#scroll__top {
    left: 50% !important;
}


/* ==========================================================================
   BREADCRUMB
   ========================================================================== */

.breadcrumb__bg {
    padding: 1rem 0;
}

.breadcrumb__content--menu {
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
}

.breadcrumb__content--menu__items {
    margin: 0;
    padding: 0 7px;
    font-size: 1.4rem;
    white-space: normal;
}

    .breadcrumb__content--menu__items a {
        font-weight: 600;
        text-decoration: none;
        word-break: break-word;
    }

        .breadcrumb__content--menu__items a:hover {
            text-decoration: underline;
        }

    .breadcrumb__content--menu__items span {
        color: rgba(0, 0, 0, 0.25) !important;
        font-weight: 600;
        cursor: default;
    }

    .breadcrumb__content--menu__items::before {
        top: 9px;
        right: -2px;
        height: 8px;
    }

.mg-ancho {
    max-width: 190px;
}


/* ==========================================================================
   ERROR ESTÁNDAR
   ========================================================================== */

.error-standar {
    padding: 100px 0;
    text-align: center;
}

    .error-standar h1 {
        margin-bottom: 30px;
        color: var(--color-accent-700);
        font-size: 30px;
        font-weight: bold;
    }

    .error-standar a {
        margin-top: 50px;
        color: var(--color-accent-700);
    }


/* ==========================================================================
   STAR RATING
   ========================================================================== */

.star-rating {
    position: relative;
    display: inline-block;
    width: 5.3em;
    height: 1em;
    font-family: Arial, sans-serif;
    font-size: 18px;
    line-height: 1em;
}

    .star-rating::before {
        content: "★★★★★";
        position: absolute;
        top: 0;
        left: 0;
        color: #ddd;
    }

    .star-rating span {
        position: absolute;
        top: 0;
        left: 0;
        overflow: hidden;
        white-space: nowrap;
    }

        .star-rating span::before {
            content: "★★★★★";
            color: #ffc000;
        }


/* ==========================================================================
   VENOBOX
   ========================================================================== */

.row-modelos-photos .venobox {
    display: block;
    overflow: hidden;
    background: #f3f3f3;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    cursor: zoom-in;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

    .row-modelos-photos .venobox:hover {
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
        transform: translateY(-3px);
    }

.row-modelos-photos .vehiculo-img {
    display: block;
    width: 100%;
    height: auto;
}

.vbox-overlay,
.vbox-wrap,
.vbox-container {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.vbox-container {
    overflow: hidden !important;
    scrollbar-width: none !important;
}

    .vbox-container::-webkit-scrollbar {
        width: 0 !important;
        height: 0 !important;
    }

.vbox-content {
    position: relative !important;
    right: auto !important;
    left: auto !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    transform: none !important;
}

.vbox-wrap,
.vbox-container,
.vbox-content {
    width: auto !important;
    max-width: 94vw !important;
}

    .vbox-content img {
        display: block !important;
        width: auto !important;
        max-width: 94vw !important;
        height: auto !important;
        max-height: 86vh !important;
        margin: 0 auto !important;
    }

.vbox-figlio {
    background: #000 !important;
}

.vbox-preloader {
    background: transparent !important;
}

.vbox-overlay {
    background: rgba(0, 0, 0, 0.92) !important;
}

body.vbox-open {
    overflow: hidden !important;
    padding-right: var(--sbw, 0) !important;
}

.vbox-animated {
    transition: margin 0.65s ease-out !important;
}


/* ==========================================================================
   PRODUCT CARDS
   ========================================================================== */

.custom-col {
    display: flex;
}

.product__card {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.product__card--content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
}

.product__card--footer {
    margin-top: auto;
}

    .product__card--footer a {
        font-size: clamp(1.6rem, 1.3vw, 1.6rem) !important;
        font-weight: 600;
    }

.product__card--title a,
.product__card--title a:hover {
    font-size: clamp(1.4rem, 1.1vw, 1.2rem) !important;
    font-weight: 500;
}


/* ==========================================================================
   BUTTON EFFECTS / CART STATES
   ========================================================================== */

.btn-lift {
    transition: box-shadow 0.18s ease, transform 0.18s ease;
    will-change: transform;
}

    .btn-lift:active {
        box-shadow: 0 6px 10px rgba(0, 0, 0, 0.22);
        transform: translateY(-1px);
    }

.js-add-cart.is-loading {
    opacity: 0.85;
    pointer-events: none;
}

.js-add-cart.is-added {
    color: #fff !important;
    background-color: #198754 !important;
    border-color: #198754 !important;
    animation: cartPop 180ms ease;
}

.js-add-cart.is-error {
    color: #fff !important;
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
    animation: cartPop 180ms ease;
}

.js-cart-count.bump {
    animation: bump 250ms ease;
}

@keyframes cartPop {
    0% {
        transform: translateY(-1px) scale(1);
    }

    60% {
        transform: translateY(-1px) scale(1.04);
    }

    100% {
        transform: translateY(-1px) scale(1);
    }
}

@keyframes bump {
    0% {
        transform: scale(1);
    }

    60% {
        transform: scale(1.25);
    }

    100% {
        transform: scale(1);
    }
}


/* ==========================================================================
   MINI CART
   ========================================================================== */

.minicart__header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.minicart__header--desc {
    font-size: 1.5rem;
    line-height: 1.8rem;
}

.minicart__product {
    margin-top: 50px;
}

.mini-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 110px 20px 30px;
    text-align: center;
}

.mini-empty__img {
    width: 95px;
    margin-bottom: 23px;
    opacity: 0.85;
}

.mini-empty__title {
    margin-bottom: 8px;
    color: #1f1f1f;
    font-size: 1.8rem;
    font-weight: 600;
}

.mini-empty__text {
    max-width: 295px;
    margin-bottom: 25px;
    color: var(--color-muted);
    font-size: 1.4rem;
    line-height: 1.6rem;
}

.mini-empty__btn {
    padding: 9px 18px;
    color: #fff;
    background: #ff5a00;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

    .mini-empty__btn:hover {
        color: #fff;
        background: #e64e00;
    }

.mc {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.mc__title {
    color: #222;
    font-size: 14px;
    font-weight: 700;
}

.mc__close {
    width: 34px;
    height: 34px;
    color: #222;
    background: transparent;
    border: 0;
    border-radius: 10px;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.mc__body {
    flex: 1;
    overflow: auto;
    padding: 10px 14px;
}

.mc__item {
    display: grid;
    grid-template-columns: 62px 1fr 34px;
    align-items: center;
    gap: 12px;
    padding: 12px 6px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.mc__thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 52px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 10px;
}

    .mc__thumb img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

.mc__info {
    min-width: 0;
}

.mc__name {
    display: -webkit-box;
    margin-bottom: 6px;
    overflow: hidden;
    color: #333;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.25;
    text-decoration: none;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.mc__price {
    margin-bottom: 4px;
    color: #222;
    font-size: 12px;
    font-weight: 700;
}

.mc__units {
    color: rgba(0, 0, 0, 0.55);
    font-size: 11px;
}

.mc__remove {
    width: 34px;
    height: 34px;
    background: transparent;
    border: 0;
    opacity: 0.65;
    cursor: pointer;
}

    .mc__remove:hover {
        opacity: 1;
    }

        .mc__remove:hover i {
            color: #dc3545;
            transform: scale(1.1);
        }

.mc__footer {
    padding: 12px 14px 16px;
    background: #fff;
}

.mc__resume {
    padding: 6px 4px 12px;
}

.mc__row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin: 6px 0;
    color: rgba(0, 0, 0, 0.65);
    font-size: 12px;
}

.mc__total {
    color: #111;
    font-size: 18px;
    font-weight: 800;
}

.mc__cta {
    display: block;
    width: 100%;
    padding: 12px 8px;
    color: #fff;
    background: var(--base-color);
    border-radius: 6px;
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
}

    .mc__cta:hover {
        color: #fff;
        background: #333;
    }

.mc__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 55vh;
    padding: 24px 10px;
    text-align: center;
}

.mc__empty-img {
    width: 92px;
    margin-bottom: 16px;
    opacity: 0.85;
}

.mc__empty-title {
    margin-bottom: 6px;
    color: #222;
    font-size: 15px;
    font-weight: 700;
}

.mc__empty-text {
    max-width: 240px;
    margin-bottom: 14px;
    color: rgba(0, 0, 0, 0.55);
    font-size: 12px;
}

.mc__empty-btn {
    padding: 10px 16px;
    color: #fff;
    background: var(--base-color);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

    .mc__empty-btn:hover {
        color: #fff;
        background: #333;
    }


/* ==========================================================================
   AJAX SEARCH LOADING
   ========================================================================== */

.main-content-ajax-wrapper {
    position: relative;
    min-height: 180px;
}

.search-loading-overlay {
    position: absolute;
    inset: 0;
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(2px);
}

.main-content-ajax-wrapper.loading-search .search-loading-overlay {
    display: flex;
}

.search-loading-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 20px 24px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.10);
}

.search-loading-spinner {
    width: 44px;
    height: 44px;
    border: 4px solid #e5e5e5;
    border-top-color: #c41e3a;
    border-radius: 50%;
    animation: search-spin 0.8s linear infinite;
}

.search-loading-text {
    color: #333;
    font-size: 15px;
    font-weight: 600;
}

@keyframes search-spin {
    to {
        transform: rotate(360deg);
    }
}


/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (hover: hover) {
    .btn-lift:hover {
        box-shadow: 0 12px 20px rgba(0, 0, 0, 0.18);
        transform: translateY(-4px);
    }
}

@media only screen and (min-width: 768px) {
    .breadcrumb__bg {
        padding: 2.2rem 0;
    }
}

@media (max-width: 1700px) {
    .banner-msg__img {
        right: clamp(-10px, 4vw, 120px);
    }
}

@media (max-width: 991px) {
    .cta-mecanico {
        display: none !important;
    }
}

@media (max-width: 991.98px) {
    :root {
        --mobile-toolbar-h: 64px;
    }

    body {
        padding-bottom: calc(var(--mobile-toolbar-h) + env(safe-area-inset-bottom));
    }

    .offcanvas__stikcy--toolbar {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 999;
        height: calc(var(--mobile-toolbar-h) + env(safe-area-inset-bottom));
        padding-bottom: env(safe-area-inset-bottom);
        background: rgba(255, 255, 255, 0.97);
        border-top: 1px solid rgba(0, 0, 0, 0.08);
        box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.08);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }

        .offcanvas__stikcy--toolbar > ul {
            display: grid !important;
            grid-template-columns: repeat(5, 1fr);
            align-items: stretch;
            height: var(--mobile-toolbar-h);
            margin: 0;
            padding: 0 4px;
            list-style: none;
        }

    .offcanvas__stikcy--toolbar__list {
        display: flex;
        min-width: 0;
    }

    .offcanvas__stikcy--toolbar__btn {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 2px;
        position: relative;
        width: 100%;
        min-width: 0;
        height: 100%;
        padding: 7px 2px 3px;
        color: #555;
        background: transparent;
        border: 0;
        text-decoration: none;
    }

    .offcanvas__stikcy--toolbar__icon {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: auto;
        margin: 0;
        line-height: 1;
    }

        .offcanvas__stikcy--toolbar__icon i {
            font-size: 1.75rem !important;
            line-height: 1;
        }

    .offcanvas__stikcy--toolbar__label {
        display: block;
        margin: 0;
        color: #4b4b4b;
        font-size: 1.02rem;
        font-weight: 500;
        line-height: 1;
        text-align: center;
        white-space: nowrap;
    }

    .offcanvas__stikcy--toolbar .items__count {
        top: 1px;
        right: 18%;
        min-width: 17px;
        height: 17px;
        padding: 0 4px;
        color: #fff;
        border-radius: 999px;
        font-size: 10px;
        font-weight: 700;
        line-height: 17px;
        text-align: center;
    }

    main,
    .main__content,
    .section--padding,
    footer {
        position: relative;
        z-index: 1;
    }

    .banner-msg {
        height: 200px;
    }

    .banner-msg__img {
        top: -40px;
        right: -20px;
        height: 280px;
    }
}

@media (max-width: 768px) {
    body.page-product .glightbox-container .gprev,
    body.page-product .glightbox-container .gnext,
    body.page-product .glightbox-container.glightbox-mobile .gprev,
    body.page-product .glightbox-container.glightbox-mobile .gnext {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }
}

@media (max-width: 767.98px) {
    .banner-msg {
        height: auto;
        padding: 28px 0;
        overflow: hidden;
        text-align: center;
    }

    .banner-msg__img {
        display: none;
    }

    .banner-msg__subtitle {
        margin: 0 auto;
    }
}

@media (max-width: 520px) {
    .breadcrumb__section.breadcrumb__bg {
        margin: 0;
        padding: 0;
    }

    .breadcrumb__content {
        margin: 0 !important;
        padding: 0 !important;
    }

    .breadcrumb__content--menu {
        gap: 4px;
        padding-left: 10px;
    }

    .breadcrumb__content--menu__items {
        min-height: 10px;
        margin: 4px;
        padding: 0 4px;
        font-size: 1.1rem;
    }

    .mg-ancho {
        max-width: 67px;
    }
}

@media (max-width: 420px) {
    .offcanvas__stikcy--toolbar__icon i,
    .offcanvas__stikcy--toolbar__icon .icono-usuario-header {
        font-size: 1.65rem !important;
    }

    .offcanvas__stikcy--toolbar__label {
        font-size: 0.98rem;
    }

    .offcanvas__stikcy--toolbar .items__count {
        right: 16%;
    }
}
/* ==========================================================================
   TELEFONO - WHATSAPP
 ========================================================================== */
.telefono__head,
.telefono__head:link,
.telefono__head:visited,
.whatsapp__head,
.whatsapp__head:link,
.whatsapp__head:visited {
    font-size: 1.5rem;
    font-weight: 600;
    text-decoration: none;
}

    .telefono__head,
    .telefono__head:link,
    .telefono__head:visited {
        margin-right: 20px;
        color: var(--color-text-2);
    }

        .telefono__head:hover,
        .telefono__head:active {
            color: var(--color-foreground-sub);
        }

    .whatsapp__head,
    .whatsapp__head:link,
    .whatsapp__head:visited {
        color: var(--color-success);
    }

        .whatsapp__head:hover,
        .whatsapp__head:active {
            color: var(--color-foreground-sub);
        }