/* ============================================
   TIENDA DE ROPA ONLINE - MGTEX 2026
   ============================================ */

/* === VARIABLES GLOBALES === */
:root {
    --ec-marca:       #890620;
    --ec-marca-dark:  #6b0419;
    --ec-marca-hover: rgba(255,255,255,0.12);
    --color-oscuro:   #1a1a1a;
    --color-texto:    #555555;
    --sombra-suave:   0 4px 20px rgba(0,0,0,0.08);
    --sombra-hover:   0 8px 30px rgba(0,0,0,0.14);
    --transicion:     all 0.25s ease;
}

* { font-family: 'Barlow', sans-serif; }

body {
    color: var(--color-texto);
    line-height: 1.7;
}

.scroll-top { display: none !important; }

/* ============================================================
   FILA SUPERIOR (blanca): Logo grande Â· Buscador Â· Carrito Â· Perfil
   ============================================================ */

.ec-topbar {
    background: #ffffff;
    border-bottom: 1px solid #e8e8e8;
    padding: 0;
}

.ec-topbar-inner {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 8px 0;
}

/* --- LOGO grande --- */
.ec-brand {
    flex-shrink: 0;
    text-decoration: none;
}

.ec-brand img {
    height: 95px;
    width: auto;
    display: block;
}

/* --- BUSCADOR (mÃ¡s pequeÃ±o) --- */
.ec-search-wrapper {
    flex: 1;
    position: relative;
    max-width: 680px;
}

.ec-search-form {
    display: flex;
    align-items: center;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    position: relative;
    transition: border-color 0.25s ease;
}

.ec-search-form:focus-within {
    border-color: #333;
}

.ec-search-icon {
    position: absolute;
    left: 14px;
    color: #aaa;
    font-size: 13px;
    pointer-events: none;
}

.ec-search-input {
    flex: 1;
    border: none;
    outline: none !important;
    box-shadow: none !important;
    padding: 9px 14px 9px 36px;
    font-size: 13px;
    color: #333;
    background: transparent;
    font-family: 'Barlow', sans-serif;
}

.ec-search-input:focus {
    outline: none !important;
    box-shadow: none !important;
}

.ec-search-input::placeholder {
    color: #aaa;
}

.ec-search-btn {
    background: #111111;
    border: none;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 10px 22px;
    cursor: pointer;
    transition: background 0.25s ease;
    white-space: nowrap;
    font-family: 'Barlow', sans-serif;
}

.ec-search-btn:hover {
    background: #333;
}

/* --- RESULTADOS EN VIVO --- */
.ec-live-results {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    z-index: 2000;
    padding: 8px;
    max-height: 480px;
    overflow-y: auto;
}

.ec-lr-list {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.ec-lr-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
    text-decoration: none;
    transition: background 0.2s ease;
    border-radius: 6px;
}

.ec-lr-item:hover {
    background: #faf0f2;
}

.ec-lr-thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
    background: #f0f0f0;
}

.ec-lr-info {
    flex: 1;
    min-width: 0;
}

.ec-lr-price {
    font-size: 15px;
    font-weight: 700;
    color: var(--ec-marca);
    margin-bottom: 2px;
}

.ec-lr-name {
    font-size: 13px;
    font-weight: 500;
    color: #555;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.ec-lr-empty {
    text-align: center;
    padding: 20px;
    color: #999;
    font-size: 13px;
}


/* --- ACCIONES DERECHA: Carrito + Perfil --- */
.ec-topbar-actions {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-shrink: 0;
    margin-left: auto;
}

.ec-action-item {
    position: relative;
}

.ec-user-wrap {
    margin-left: 24px;
}

.ec-action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #333;
    transition: color 0.2s ease;
    cursor: pointer;
}

.ec-action-btn:hover {
    color: var(--ec-marca);
}

.ec-action-icon-box {
    position: relative;
    font-size: 22px;
    line-height: 1;
}

.ec-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--ec-marca);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ec-action-price {
    font-size: 14px;
    font-weight: 700;
    color: #222;
    white-space: nowrap;
}

/* --- DROPDOWN de carrito y perfil --- */
.ec-action-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    min-width: 220px;
    z-index: 2100;
    padding: 0;
    overflow: hidden;
}

.ec-action-item.open .ec-action-dropdown {
    display: block;
    animation: ecFadeDown 0.2s ease;
}

@keyframes ecFadeDown {
    from { opacity:0; transform:translateY(-6px); }
    to   { opacity:1; transform:translateY(0); }
}

.ec-action-dd-body {
    padding: 20px;
    text-align: center;
}

.ec-dd-empty-icon {
    font-size: 36px;
    color: #ddd;
    display: block;
    margin-bottom: 10px;
}

.ec-dd-empty-text {
    font-size: 13px;
    color: #888;
    margin-bottom: 14px;
}

.ec-dd-btn {
    display: inline-block;
    background: var(--ec-marca);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 9px 22px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.ec-dd-btn:hover {
    background: var(--ec-marca-dark);
    color: #fff;
}

.ec-dd-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    font-size: 13px;
    font-weight: 600;
    color: #444;
    text-decoration: none;
    border-bottom: 1px solid #f2f2f2;
    transition: background 0.2s ease, color 0.2s ease;
}

.ec-dd-link:last-child {
    border-bottom: none;
}

.ec-dd-link:hover {
    background: #faf0f2;
    color: var(--ec-marca);
}

.ec-dd-link i {
    font-size: 15px;
    width: 20px;
    text-align: center;
}

/* ============================================================
   FILA INFERIOR (#890620): CategorÃ­as Â· NavegaciÃ³n
   ============================================================ */

.ec-navbar-area {
    background: var(--ec-marca);
}

.ec-navbar {
    min-height: 46px;
}

/* --- BotÃ³n VER CATEGORÃAS --- */
.ec-cat-wrapper {
    flex-shrink: 0;
    margin-right: 12px;
    position: relative;
}

.ec-cat-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0,0,0,0.22);
    border: none;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 13px 18px;
    cursor: pointer;
    transition: background 0.25s ease;
    white-space: nowrap;
    font-family: 'Barlow', sans-serif;
}

.ec-cat-btn:hover {
    background: rgba(0,0,0,0.38);
}

.ec-cat-arrow {
    font-size: 10px;
    margin-left: 2px;
    transition: transform 0.25s ease;
}

.ec-cat-btn:hover .ec-cat-arrow,
.ec-cat-panel.open ~ .ec-cat-btn .ec-cat-arrow {
    transform: rotate(180deg);
}

/* --- PANEL DE CATEGORÃAS (desplegable) --- */
.ec-cat-panel {
    display: none;
    position: fixed;
    width: 260px;
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 12px 40px rgba(0,0,0,0.14);
    z-index: 9995;
    border-radius: 0 0 8px 8px;
}

.ec-cat-panel.open {
    display: block;
    animation: ecFadeDown 0.2s ease;
}

.ec-cat-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ec-cat-item {
    position: relative;
}

.ec-cat-item > a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 16px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #f2f2f2;
    transition: background 0.2s ease, color 0.2s ease;
}

.ec-cat-item:last-child > a {
    border-bottom: none;
}

.ec-cat-item > a:hover {
    background: #faf0f2;
    color: var(--ec-marca);
}

.ec-cat-item > a .fa-arrow-right {
    font-size: 10px;
    color: #ccc;
}

.ec-cat-chevron {
    margin-left: auto;
    font-size: 10px;
    color: #bbb;
    transition: color 0.2s ease;
}

.ec-cat-item:hover .ec-cat-chevron {
    color: var(--ec-marca);
}

/* Subpanel que sale a la derecha */
.ec-cat-sub-panel {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    min-width: 460px;
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 6px 8px 30px rgba(0,0,0,0.12);
    border-radius: 0 8px 8px 0;
    z-index: 1600;
    padding: 0;
    overflow: hidden;
}

.ec-cat-item:hover > .ec-cat-sub-panel {
    display: flex;
}

.ec-cat-sub-list {
    flex: 1;
    padding: 14px 0;
}

.ec-cat-sub-list a {
    display: block;
    padding: 9px 22px;
    font-size: 14px;
    font-weight: 500;
    color: #444;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}

.ec-cat-sub-list a:hover {
    background: #faf0f2;
    color: var(--ec-marca);
    padding-left: 28px;
}

.ec-cat-sub-img {
    width: 200px;
    flex-shrink: 0;
    overflow: hidden;
    background: #f5f5f5;
}

.ec-cat-sub-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --- Links de navegaciÃ³n --- */
.ec-nav .nav-item .ec-nav-link {
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 13px 13px !important;
    text-decoration: none;
    display: block;
    position: relative;
    transition: background 0.2s ease;
    white-space: nowrap;
}

.ec-nav .nav-item .ec-nav-link:hover,
.ec-nav .nav-item .ec-nav-link.active {
    background: rgba(0,0,0,0.18) !important;
    color: #ffffff !important;
}

.ec-nav .nav-item .ec-nav-link::after {
    display: none !important;
}

.ec-nav .nav-item.dropdown .dropdown-toggle::after {
    border-top-color: rgba(255,255,255,0.8);
    vertical-align: 0.18em;
}

.ec-nav .nav-item.dropdown .dropdown-toggle:focus,
.ec-nav .nav-item.dropdown.show > .dropdown-toggle {
    background: rgba(0,0,0,0.25) !important;
    color: #fff !important;
    box-shadow: none;
}

/* ============================================================
   DROPDOWN DE PRIMER NIVEL (nav)
   ============================================================ */

.ec-dropdown {
    background: #fff;
    border: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.14);
    padding: 6px 0;
    min-width: 200px;
    margin-top: 0 !important;
}

.ec-dropdown .dropdown-item {
    font-size: 15px;
    font-weight: 600;
    color: #333 !important;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
    border-bottom: 1px solid #f2f2f2;
}

.ec-dropdown .dropdown-item:last-child {
    border-bottom: none;
}

.ec-dropdown .dropdown-item:hover,
.ec-dropdown .dropdown-item:focus {
    background: #faf0f2 !important;
    color: var(--ec-marca) !important;
    padding-left: 26px;
}

.ec-dropdown .dropdown-item.active,
.ec-dropdown .dropdown-item:active {
    background: transparent;
}

/* ============================================================
   SUBMENU DE SEGUNDO NIVEL (nav)
   ============================================================ */

.ec-has-sub {
    position: relative;
}

.ec-submenu {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    background: #fff;
    list-style: none;
    padding: 6px 0;
    margin: 0;
    min-width: 200px;
    box-shadow: 4px 8px 24px rgba(0,0,0,0.12);
    border-radius: 0 8px 8px 0;
    z-index: 1100;
}

.ec-has-sub:hover > .ec-submenu {
    display: block;
}

.ec-submenu .dropdown-item {
    font-size: 15px;
    font-weight: 500;
    color: #444 !important;
    padding: 9px 20px;
    border-bottom: 1px solid #f2f2f2;
    justify-content: flex-start;
    transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}

.ec-submenu .dropdown-item:last-child {
    border-bottom: none;
}

.ec-submenu .dropdown-item:hover {
    background: #faf0f2 !important;
    color: var(--ec-marca) !important;
    padding-left: 26px;
}

.ec-sub-toggle .fa-chevron-right {
    font-size: 10px;
    color: #bbb;
    transition: color 0.2s ease;
}

.ec-has-sub:hover > .ec-sub-toggle .fa-chevron-right {
    color: var(--ec-marca);
}

/* ============================================================
   HAMBURGUESA MOBILE
   ============================================================ */

.ec-toggler {
    border: 1px solid rgba(255,255,255,0.4);
    padding: 8px 10px;
    margin-left: auto;
}

.ec-toggler:focus {
    box-shadow: none;
}

.toggler-icon {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    margin: 4px 0;
    transition: var(--transicion);
}

/* ============================================================
   OVERLAY SEMITRANSPARENTE PARA MOBILE
   ============================================================ */

.ec-mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9990;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ec-mobile-overlay.active {
    display: block;
    opacity: 1;
}

/* ============================================================
   HAMBURGUESA MOBILE EN TOPBAR
   ============================================================ */

.ec-toggler-mobile {
    display: none;
    border: 2px solid #333;
    border-radius: 6px;
    padding: 8px 10px;
    background: transparent;
    cursor: pointer;
    flex-shrink: 0;
    transition: border-color 0.2s ease;
}

.ec-toggler-mobile:hover {
    border-color: var(--ec-marca);
}

.ec-toggler-mobile .toggler-icon {
    display: block;
    width: 22px;
    height: 2px;
    background: #333;
    margin: 4px 0;
    transition: var(--transicion);
}

/* ============================================================
   BOTTOM NAV MÃ“VIL (solo visible 0-767px)
   ============================================================ */

.ec-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--ec-marca);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
    z-index: 9999;
    padding: 6px 0 4px;
    overflow: visible;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Ocultar completamente incluyendo el cÃ­rculo que sobresale */
.ec-bottom-nav.ec-bn-hidden {
    transform: translateY(calc(100% + 40px));
}

.ec-bn-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    text-decoration: none;
    color: rgba(255,255,255,0.65);
    transition: color 0.2s ease;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 4px 2px;
}

.ec-bn-item i {
    font-size: 19px;
}

.ec-bn-item span {
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.ec-bn-item:hover,
.ec-bn-item.active {
    color: #ffffff;
}

/* --- BotÃ³n central elevado --- */
.ec-bn-center {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    text-decoration: none;
    color: rgba(255,255,255,0.9);
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0 2px 4px;
    position: relative;
    z-index: 2;
}

.ec-bn-center-circle {
    width: 54px;
    height: 54px;
    background: var(--ec-marca);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -26px;
    box-shadow: 0 -4px 18px rgba(137, 6, 32, 0.45), 0 2px 8px rgba(0,0,0,0.25);
    position: relative;
    z-index: 2;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ec-bn-center-circle:hover {
    transform: scale(1.08);
    box-shadow: 0 -8px 24px rgba(137, 6, 32, 0.55), 0 2px 10px rgba(0,0,0,0.3);
}

.ec-bn-center-circle i {
    font-size: 22px;
    color: #fff;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* === TABLET Y MOBILE (< 992px) ===  */

@media (max-width: 991px) {
    .ec-topbar-inner {
        gap: 14px;
    }

    .ec-brand img {
        height: 55px;
    }

    .ec-action-price {
        display: none;
    }

    .ec-navbar {
        flex-wrap: wrap;
        padding: 8px 0;
        gap: 8px;
    }

    .ec-cat-wrapper {
        display: none;
    }

    .navbar-collapse {
        background: var(--ec-marca-dark);
        border-radius: 0 0 10px 10px;
        padding: 10px 16px 16px;
        width: 100%;
    }

    .ec-nav .nav-item .ec-nav-link {
        padding: 11px 6px !important;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .ec-nav .nav-item:last-child .ec-nav-link {
        border-bottom: none;
    }

    .ec-dropdown {
        background: rgba(0,0,0,0.2);
        box-shadow: none;
        border-radius: 8px;
    }

    .ec-dropdown .dropdown-item {
        color: rgba(255,255,255,0.88) !important;
    }

    .ec-dropdown .dropdown-item:hover {
        background: rgba(255,255,255,0.1) !important;
        color: #fff !important;
    }

    .ec-submenu {
        position: static;
        display: none;
        box-shadow: none;
        border-radius: 6px;
        background: rgba(0,0,0,0.15);
        margin: 4px 0 8px 12px;
        padding: 4px 0;
    }

    .ec-has-sub.open > .ec-submenu {
        display: block;
    }

    .ec-submenu .dropdown-item {
        color: rgba(255,255,255,0.8) !important;
    }

    .ec-toggler {
        margin-left: auto;
    }

    /* Mostrar hamburguesa mobile en tablet tambiÃ©n */
    .ec-toggler-mobile {
        display: block;
    }

    .ec-cat-sub-panel {
        min-width: 240px;
    }
}

/* === TABLET (768px - 991px): Cat panel estilo desktop con imagen === */
@media (min-width: 768px) and (max-width: 991px) {
    .ec-topbar-inner {
        position: relative;
    }

    .ec-search-wrapper {
        max-width: 400px;
    }

    /* Ocultar ambas hamburguesas en tablet: VER CATEGORÃAS es suficiente */
    .ec-toggler,
    .ec-toggler-mobile {
        display: none !important;
    }

    /* Mostrar solo el botÃ³n VER CATEGORÃAS, ocultar links de nav */
    .ec-cat-wrapper {
        display: flex;
    }

    .navbar-collapse {
        display: none !important;
    }

    .ec-navbar-area {
        display: block;
    }

    /* Panel principal mÃ¡s compacto */
    .ec-cat-panel {
        width: 220px;
    }

    /* SubcategorÃ­as se abren al hacer clic (touch) */
    .ec-cat-item.open > .ec-cat-sub-panel {
        display: flex;
    }

    /* Sub-panel reducido para que quepa imagen + lista */
    .ec-cat-sub-panel {
        min-width: auto;
        width: 320px;
    }

    .ec-cat-sub-list a {
        padding: 8px 14px;
        font-size: 12px;
    }

    /* Imagen lateral mÃ¡s pequeÃ±a */
    .ec-cat-sub-img {
        display: block;
        width: 130px;
        flex-shrink: 0;
    }

    .ec-cat-item > a {
        padding: 10px 12px;
        font-size: 12px;
    }
}

/* === MOBILE (0-767px): Hamburger izq, logo centro, carrito der, buscador abajo === */
@media (max-width: 767px) {
    body {
        padding-bottom: 0;
    }

    /* Mostrar bottom nav */
    .ec-bottom-nav {
        display: flex;
        align-items: flex-end;
    }

    /* Mostrar hamburguesa en topbar */
    .ec-toggler-mobile {
        display: block;
    }

    /* Reorganizar topbar mÃ³vil */
    .ec-topbar-inner {
        flex-wrap: wrap;
        gap: 10px;
        padding: 10px 0 4px;
    }

    /* Hamburguesa izquierda */
    .ec-toggler-mobile {
        order: 1;
    }

    /* Logo centro */
    .ec-brand {
        order: 2;
        flex-grow: 1;
        text-align: center;
    }

    .ec-brand img {
        height: 45px;
        margin: 0 auto;
    }

    /* Carrito derecha (solo icono) */
    .ec-topbar-actions {
        order: 3;
        margin-left: 0;
        gap: 0;
    }

    .ec-cart-wrap .ec-action-btn {
        gap: 0;
    }

    .ec-cart-wrap .ec-action-icon-box {
        font-size: 24px;
    }

    /* Perfil oculto en mobile (estÃ¡ en bottom nav) */
    .ec-user-wrap {
        display: none !important;
    }

    .ec-user-wrap + .ec-user-wrap {
        display: none !important;
    }

    /* Buscador abajo, todo el ancho */
    .ec-search-wrapper {
        order: 4;
        width: 100%;
        max-width: none;
        margin-top: 6px;
    }

    .ec-search-form {
        border-radius: 8px;
    }

    .ec-search-btn {
        padding: 9px 14px;
        letter-spacing: 0;
        font-size: 10px;
    }

    .ec-search-input {
        font-size: 13px;
        padding: 9px 14px 9px 36px;
    }

    /* Navbar Ã¡rea completa oculta (se usa bottom nav) */
    .ec-navbar-area {
        display: none;
    }

    /* Hamburguesa desktop tambiÃ©n oculta */
    .ec-toggler {
        display: none;
    }

    /* ---- Panel de categorÃ­as: full width desde abajo ---- */
    .ec-cat-panel {
        position: fixed;
        top: auto;
        bottom: 64px;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        border-radius: 14px 14px 0 0;
        max-height: none;
        overflow-y: visible;
        overflow-x: hidden;
        box-shadow: 0 -6px 30px rgba(0,0,0,0.2);
        z-index: 9995;
    }

    .ec-cat-panel.open {
        animation: slideUpMobile 0.3s ease;
    }

    @keyframes slideUpMobile {
        from { transform: translateY(30px); opacity: 0; }
        to   { transform: translateY(0);    opacity: 1; }
    }

    /* Subpanel de categorÃ­as en mobile: lista debajo */
    .ec-cat-sub-panel {
        position: static;
        display: none;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        background: #f5f5f5;
        margin: 0;
        min-width: auto;
        flex-direction: column;
    }

    .ec-cat-item:hover > .ec-cat-sub-panel {
        display: none;
    }

    .ec-cat-item.open > .ec-cat-sub-panel {
        display: block;
    }

    .ec-cat-sub-list {
        padding: 4px 0;
    }

    .ec-cat-sub-list a {
        padding: 10px 24px 10px 32px;
        font-size: 13px;
        background: #f5f5f5;
        border-bottom: 1px solid #eee;
    }

    .ec-cat-sub-list a:hover {
        background: #fff;
        color: var(--ec-marca);
        padding-left: 38px;
    }

    .ec-cat-item > a {
        cursor: pointer;
    }

    .ec-cat-chevron {
        pointer-events: none;
        transition: transform 0.25s ease;
    }

    .ec-cat-item.open > a .ec-cat-chevron {
        transform: rotate(90deg);
        color: var(--ec-marca);
    }

    /* Sin imÃ¡genes en mobile */
    .ec-cat-sub-img {
        display: none !important;
    }
}

/* ============================================================
   UTILIDADES
   ============================================================ */

.mw-200  { max-width: 200px; }
.w-60    { width: 60px; }
.pointer { cursor: pointer; }
.overflow-mobile-hidden { overflow: hidden; }

/* === HERO SECTION CON OVERLAY DEGRADADO === */
.slider-wrapper {
    position: relative;
}

.slider-section {
    position: relative;
}



@media (min-width: 1700px) {
    /* === CONTENIDO DE TEXTO === */
    .hero-moto-content {
        position: relative;
        z-index: 10;
        padding: 120px 150px 40px !important;
        color: #fff;
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-height: 100vh;
    }
}

@media (min-width: 992px) {
    .slider-section .single-slider {
        min-height: 600px;
    }
}

.slider-section .single-slider {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    padding: 100px 0;
}

.slider-section .single-slider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(90deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.2) 40%, rgba(0, 0, 0, 0) 70%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.1) 100%),
        linear-gradient(135deg, rgba(17, 89, 122, 0.85) 0%, rgba(26, 51, 50, 0.85) 100%);
    z-index: -1;
}

/* === CONTENIDO DEL SLIDER MODERNO === */
.slider-content-modern {
    position: relative;
    z-index: 10;
    animation: fadeInUp 1s ease;
}

/* Badge de SatisfacciÃ³n */
.satisfaction-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(127, 170, 64, 0.15);
    border: 2px solid var(--color-principal);
    border-radius: 50px;
    padding: 8px 20px;
    color: var(--color-principal);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    animation: fadeInDown 1s ease;
}

.satisfaction-badge i {
    font-size: 24px;
    color: var(--color-principal);
}

/* TÃ­tulo Hero */
.hero-title {
    font-family: 'Barlow', sans-serif;
    font-size: 72px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-title .text-green {
    color: var(--color-principal);
}

/* SubtÃ­tulo */
.hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    max-width: 600px;
    margin-bottom: 0;
    animation: fadeInUp 1s ease 0.4s both;
}

/* Responsive Hero */
@media (max-width: 1199px) {
    .hero-title {
        font-size: 60px;
    }
}

@media (max-width: 991px) {
    .slider-section .single-slider {
        padding: 80px 0;
        min-height: 500px;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    .slider-section .single-slider {
        padding: 60px 0;
        min-height: 450px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .satisfaction-badge {
        font-size: 12px;
        padding: 6px 16px;
    }
    
    .satisfaction-badge i {
        font-size: 20px;
    }
    
    .hero-subtitle {
        font-size: 15px;
    }
}

.slider-title {
    text-shadow: 2px 4px 12px rgba(0, 0, 0, 0.3);
}

/* === CATEGORÃAS MOTO === */
.moto-categories-section {
    padding: 60px 0;
    background: #f5f5f5;
}

.moto-category-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 20px 28px 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: box-shadow 0.3s ease;
}

.moto-category-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.moto-category-text {
    margin-bottom: 0px;
}

.moto-category-label {
    font-family: 'Barlow', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #d90429;
    display: block;
    margin-bottom: 8px;
}

.moto-category-title {
    font-family: 'Barlow', sans-serif;
    font-size: 22px;
    font-weight: 800;
    text-transform: uppercase;
    color: #111;
    line-height: 1.2;
    margin: 0;
}

.moto-category-img {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0px 0;
    min-height: 220px;
}

.moto-category-img img {
    max-width: 100%;
    max-height: 350px;
    object-fit: contain;
}

.moto-category-link {
    font-family: 'Barlow', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #111;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding-top: 0px;
    border-top: none;
    transition: color 0.3s ease, gap 0.3s ease;
}

.moto-category-link span {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.moto-category-link:hover {
    color: #d90429;
}

.moto-category-link:hover span {
    transform: translateX(5px);
}

@media (max-width: 991px) {
    .moto-categories-section {
        padding: 40px 0;
    }
    .moto-category-card {
        padding: 30px 25px 25px;
    }
    .moto-category-title {
        font-size: 18px;
    }
    .moto-category-img {
        min-height: 180px;
    }
}

@media (max-width: 767px) {
    .moto-category-card {
        padding: 25px 20px 20px;
    }
    .moto-category-img {
        min-height: 150px;
    }
    .moto-category-img img {
        max-height: 200px;
    }
}

/* === SERVICIOS FLOTANTES - BARRA VERDE CONTINUA === */
.services-floating-bar {
    position: absolute;
    /* bottom: -120px; */
    left: 0;
    right: 0;
    z-index: 2;
    padding: 0 15px;
}

.service-inner-bar {
    background-color: var(--color-principal);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.service-card-green {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
}

.service-card-green.border-right {
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.service-card-green:hover {
    background: linear-gradient(135deg, #2d3e50 0%, #1a2332 100%);
    transform: translateY(-5px);
}

/* Ãcono circular con fondo oscuro */
.service-icon-dark {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #2d3e50;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.4s ease;
    border: 2px dashed rgba(255, 255, 255, 0.3);
}

.service-icon-dark i {
    font-size: 36px;
    color: #ffffff;
}

.service-card-green:hover .service-icon-dark {
    background: #4CAF50;
    border-color: #ffffff;
    transform: scale(1.05);
}

/* Textos en blanco */
.service-title-white {
    font-family: 'Barlow', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
    line-height: 1.3;
}

.service-desc-white {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Ajustar espaciado despuÃ©s del header */
/* .header {
    margin-bottom: 180px;
} */

.first-section-after-services {
    padding-top: 100px !important;
}

@media (max-width: 1199px) {
    .services-floating-bar {
        bottom: -100px;
    }
    
   
}

@media (max-width: 991px) {
    .services-floating-bar {
        position: relative;
        bottom: auto;
        margin-top: 30px;
        margin-bottom: 30px;
    }
    
    .header {
        margin-bottom: 0;
    }
    
    .service-card-green {
        padding: 35px 25px;
        border-radius: 0 !important;
    }
    
    .service-card-green.border-right {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }
    
    .service-inner-bar {
        border-radius: 20px !important;
    }
    
    .first-section-after-services {
        padding-top: 3rem !important;
    }
}

@media (max-width: 767px) {
    .service-card-green {
        padding: 30px 20px;
    }
    
    .service-title-white {
        font-size: 18px;
    }
    
    .service-desc-white {
        font-size: 13px;
    }
    
    .service-icon-dark {
        width: 70px;
        height: 70px;
    }
    
    .service-icon-dark i {
        font-size: 32px;
    }
}

/* === SECCIONES === */
section {
    position: relative;
    /* padding: 80px 0; */
}

section:nth-child(even) {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.section-title {
    margin-bottom: 50px;
}

.section-title .color-verde {
    color: var(--color-principal) !important;
}

.section-title .color_principal {
    color: var(--color-secundario) !important;
}

/* === DIVIDER === */
.section-divider{
    position: relative;
    border-top: 3px solid var(--color-principal);
}

.section-divider .img-container{
   position: absolute;
   bottom: -2px;
    left: 50%;
    transform: translate(-50%);
    font-size: 2.3em;
    color: var(--color-oscuro);
    background: #fff;
    width: 100px;
    text-align: center;
    padding: 0 15px;
}

/* === TARJETAS MODERNAS === */
.card-inicio {
    background: #ffffff;
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--sombra-suave);
    transition: var(--transicion);
    overflow: hidden;
    min-height: 643px;
    position: relative;
}

.card-inicio:hover {
    transform: translateY(-10px);
    box-shadow: var(--sombra-hover);
}

.card-inicio .card-body {
    padding: 30px 25px;
}

.card-inicio .color-verde {
    color: var(--color-secundario) !important;
    transition: var(--transicion);
}

.card-inicio:hover .color-verde {
    color: var(--color-principal) !important;
}

.card2 {
    box-shadow: var(--sombra-suave);
    border: none;
    border-radius: var(--border-radius);
    transition: var(--transicion);
}

.card2:hover {
    box-shadow: var(--sombra-hover);
}

.div-custom{
    border-radius: var(--border-radius);
    padding: 2.3em 1em;
    transition: var(--transicion);
    min-height: 100%;
    background: #fff;
}

.div-custom:hover{
    box-shadow: var(--sombra-hover);
    transform: translateY(-5px);
}

.card-section{
    border-radius: 20px;
    box-shadow: var(--sombra-suave);
}

/* === IMÃGENES DE TARJETAS === */
.img-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.img-wrapper img {
    transition: var(--transicion);
}

.card-inicio:hover .img-wrapper img {
    transform: scale(1.05);
}

.img-shadow {
    position: absolute;
    width: 130%;
    height: 120%;
    background-image: url(../img/inicio/shadow.png);
    bottom: -137px;
    left: -116px;
    z-index: -2;
    background-size: cover;
    transition: var(--transicion);
}

.card-inicio:hover .img-shadow {
    z-index: 1;
}

/* === ÃCONOS CIRCULARES MODERNOS === */
.icon-wrapper {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-principal) 0%, var(--color-secundario) 100%);
    box-shadow: 0 8px 25px rgba(127, 170, 64, 0.25);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 15;
    transition: var(--transicion);
}

.card-inicio:hover .icon-wrapper {
    margin-top: -80px;
    background: linear-gradient(135deg, var(--color-secundario) 0%, var(--color-principal) 100%);
    box-shadow: 0 15px 35px rgba(17, 89, 122, 0.3);
    transform: rotate(360deg);
}

/* === BOTONES MODERNOS === */
.theme-btn,
.fondo_verde_claro {
    background: linear-gradient(135deg, var(--color-principal) 0%, #6a9335 100%);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    padding: 15px 40px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transicion);
    box-shadow: 0 8px 20px rgba(127, 170, 64, 0.25);
    display: inline-block;
}

.theme-btn:hover,
.fondo_verde_claro:hover {
    background: linear-gradient(135deg, #6a9335 0%, var(--color-principal) 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(127, 170, 64, 0.35);
    color: #ffffff;
}

.btn-menu {

    width: 56px;
    height: 50px;
    padding-top: 0;
    border-radius: 10px !important;
    transition: var(--transicion);
}



/* === CARACTERÃSTICAS / FEATURES === */
.row.py-3.my-2 {
    border-radius: 15px;
    box-shadow: var(--sombra-suave);
    transition: var(--transicion);
    background: #ffffff;
}

.row.py-3.my-2:hover {
    box-shadow: var(--sombra-hover);
    transform: translateX(10px);
}

.row.py-3.my-2 img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

/* === SOMBRAS Y EFECTOS === */
.shadow-contact {
    box-shadow: var(--sombra-suave);
    border-radius: var(--border-radius);
    transition: var(--transicion);
}

.shadow-contact:hover {
    box-shadow: var(--sombra-hover);
}

/*** Contact ***/

.contact1 {
        width: 100%;
        min-height: 100%;
        padding: 15px;
        padding-bottom: 50px;
        display: -webkit-box;
        display: -webkit-flex;
        display: -moz-box;
        display: -ms-flexbox;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }

    .container-contact1 {
        width: 1163px;
        background: #ffffff;
        background-image: url('../img/elements/botella-contacto.jpg');
        background-size: contain;
        background-repeat: no-repeat;
        border-radius: 20px;
        overflow: hidden;

        display: -webkit-box;
        display: -webkit-flex;
        display: -moz-box;
        display: -ms-flexbox;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;

        padding: 90px 130px 88px 148px;

        box-shadow: var(--sombra-suave);
        transition: var(--transicion);
    }

    .container-contact1:hover {
        box-shadow: var(--sombra-hover);
    }

    /*------------------------------------------------------------------
[  ]*/
    .contact1-pic {
        width: 296px;
    }

    .contact1-pic img {
        max-width: 100%;
    }


    /*------------------------------------------------------------------
[  ]*/


    .contact1-form-title {
        display: block;
        font-size: 24px;
        color: var(--color-secundario);
        line-height: 1.2;
        text-align: center;
        padding-bottom: 44px;
        font-weight: 700;
    }

    input.input1 {
        height: 50px;
        border-radius: 12px;
        padding: 0 30px;
        border: 2px solid rgba(127, 170, 64, 0.2);
        transition: var(--transicion);
    }

    input.input1:focus {
        border-color: var(--color-principal);
        outline: none;
    }

    input.input1+.shadow-input1 {
        border-radius: 12px;
    }

    textarea.input1 {
        min-height: 150px;
        padding: 12px 30px;
        border: 2px solid rgba(127, 170, 64, 0.2);
        border-radius: 12px;
        resize: none;
        transition: var(--transicion);
    }

    textarea.input1:focus {
        border-color: var(--color-principal);
        outline: none;
    }

    textarea.input1+.shadow-input1 {
        border-radius: 12px;
    }

    /*---------------------------------------------*/
    .wrap-input1 {
        position: relative;
        width: 100%;
        z-index: 1;
        margin-bottom: 20px;
    }

    .input1 {
        display: block;
        width: 100%;
        background: #f8f9fa;
        font-size: 15px;
        line-height: 1.5;
        color: #000;
        border: none;
    }

    .shadow-input1 {
        content: '';
        display: block;
        position: absolute;
        bottom: 0;
        left: 0;
        z-index: -1;
        width: 100%;
        height: 100%;
        box-shadow: 0px 0px 0px 0px;
        color: rgba(87, 184, 70, 0.5);
    }

    .input1:focus+.shadow-input1 {
        -webkit-animation: anim-shadow 0.5s ease-in-out forwards;
        animation: anim-shadow 0.5s ease-in-out forwards;
    }

    @-webkit-keyframes anim-shadow {
        to {
            box-shadow: 0px 0px 80px 30px;
            opacity: 0;
        }
    }

    @keyframes anim-shadow {
        to {
            box-shadow: 0px 0px 80px 30px;
            opacity: 0;
        }
    }

    /*---------------------------------------------*/
    .container-contact1-form-btn {
        display: -webkit-box;
        display: -webkit-flex;
        display: -moz-box;
        display: -ms-flexbox;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .contact1-form-btn {
        border: none;
        min-width: 193px;
        height: 50px;
        border-radius: 25px;
        background: linear-gradient(135deg, var(--color-principal) 0%, #6a9335 100%);
        font-size: 15px;
        line-height: 1.5;
        color: #fff;
        display: -webkit-box;
        display: -webkit-flex;
        display: -moz-box;
        display: -ms-flexbox;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0 25px;

        -webkit-transition: all 0.4s;
        -o-transition: all 0.4s;
        -moz-transition: all 0.4s;
        transition: all 0.4s;
        box-shadow: 0 8px 20px rgba(127, 170, 64, 0.25);
    }

    .contact1-form-btn i {
        margin-left: 7px;

        -webkit-transition: all 0.4s;
        -o-transition: all 0.4s;
        -moz-transition: all 0.4s;
        transition: all 0.4s;
    }

    .contact1-form-btn:hover {
        background: linear-gradient(135deg, var(--color-secundario) 0%, #0d4661 100%);
        transform: translateY(-3px);
        box-shadow: 0 12px 30px rgba(17, 89, 122, 0.3);
    }

    .contact1-form-btn:hover i {
        -webkit-transform: translateX(10px);
        -moz-transform: translateX(10px);
        -ms-transform: translateX(10px);
        -o-transform: translateX(10px);
        transform: translateX(10px);
    }




    /*------------------------------------------------------------------
[ Responsive ]*/

    @media (max-width: 1200px) {
        .contact1-pic {
            width: 33.5%;
        }

        .contact1-form {
            width: 44%;
        }
    }

    @media (max-width: 992px) {
        .container-contact1 {
            padding: 90px 80px 88px 90px;
            background-position: -200px;
        }

        .contact1-pic {
            width: 35%;
        }

        .contact1-form {
            width: 55%;
        }
    }

    @media (max-width: 768px) {
        .container-contact1 {
            padding: 90px 80px 88px 80px;
            background-image: none;
        }

        .contact1-pic {
            display: none;
        }

        .contact1-form {
            width: 100%;
        }
    }

    @media (max-width: 576px) {
        .container-contact1 {
            padding: 90px 15px 88px 15px;
        }
    }

    .dbox {
        width: 100%;
        margin-bottom: 25px;
        padding: 0 20px;
    }

    @media (min-width: 768px) {
        .dbox {
            margin-bottom: 0;
            padding: 0;
        }
    }

    .dbox p {
        margin-bottom: 0;
        font-size: 16px;
    }

    .dbox p span {
        font-weight: 500;
        color: #000;
    }

    .dbox p a {
        color: var(--color-secundario);
        transition: var(--transicion);
    }

    .dbox p a:hover {
        color: var(--color-principal);
    }

    .dbox .icon {
        width: 70px;
        height: 70px;
        border-radius: 50%;
        background: linear-gradient(135deg, var(--color-principal) 0%, var(--color-secundario) 100%);
        margin: 0 auto;
        margin-bottom: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 8px 20px rgba(127, 170, 64, 0.25);
        transition: var(--transicion);
    }

    .dbox .icon:hover {
        transform: scale(1.1) rotate(5deg);
        box-shadow: 0 12px 30px rgba(127, 170, 64, 0.35);
    }

    .dbox .icon span {
        font-size: 20px;
        color: #fff;
    }

    .dbox .text {
        width: 100%;
    }
    .negrita{font-weight: 900;}


button {
    position: relative;
    display: inline-block;
    cursor: pointer;
    outline: none;
    border: 0;
    vertical-align: middle;
    text-decoration: none;
    font-size: inherit;
    font-family: inherit;
}
button.learn-more {
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    padding: 1.25em 2em;
    background: linear-gradient(135deg, var(--color-principal) 0%, #6a9335 100%);
    border: 2px solid var(--color-principal);
    border-radius: 50px;
    transform-style: preserve-3d;
    transition: var(--transicion);
    box-shadow: 0 8px 20px rgba(127, 170, 64, 0.25);
}
button.learn-more::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-secundario);
    border-radius: inherit;
    box-shadow: 0 0 0 2px var(--color-secundario), 0 0.625em 0 0 rgba(127, 170, 64, 0.3);
    transform: translate3d(0, 0.75em, -1em);
    transition: var(--transicion);
}
button.learn-more:hover {
    color: #fff;
    background: var(--color-secundario);
    transform: translate(0, 0.25em);
}
button.learn-more:hover::before {
    box-shadow: 0 0 0 2px var(--color-secundario), 0 0.5em 0 0 rgba(127, 170, 64, 0.3);
    transform: translate3d(0, 0.5em, -1em);
}
button.learn-more:active {
    background: var(--color-secundario);
    transform: translate(0em, 0.75em);
}
button.learn-more:active::before {
    box-shadow: 0 0 0 2px var(--color-secundario), 0 0 rgba(127, 170, 64, 0.3);
    transform: translate3d(0, 0, -1em);
}

.nav-link {
    /*padding: .5rem !important;*/
    margin-right: 5px;
    margin-left: 5px;
    transition: var(--transicion);
}

.nav-link:hover {
    color: var(--color-principal) !important;
}

.theme-btn:hover {
    box-shadow: 0 12px 30px rgba(127, 170, 64, 0.35);
}

.font-oswald-bold{    
    font-family: "Barlow", sans-serif;
    font-weight: 600 !important;
}

.font-normal{    
    font-family: "Barlow", sans-serif;
}
.lh-1_6{line-height: 1.6em;}
.linetop{position: absolute;
    top: 0;
    margin-top: -17px;
    left: 0;
    right: 0;
    font-weight: 900;
}
@media (min-width: 992px) {
.dropdown-menu2{
    top: 112px!important;
    position: fixed !important;width: 100% !important; left: 0; right: 0; border-radius:0 !important; padding-top: 0;
}}
.heauto{height: auto !important;}
.div-img-menu{
    position: relative; margin-top: -50px;
    z-index: 3;}
.borrar{
    filter: blur(3.5px);
     position: fixed;
     height: 100%;
     width: 100%;
     backdrop-filter: blur(5px);
     z-index: -9;
 }
.borrar-show{
    z-index: 9;display:block;}
.lh-3{line-height: 3em;}

@media (min-width: 768px) {
    .banner0 {
        background-image: url("../img/slider/banner3.jpg");
        background-size: cover;
        background-size: cover;
        background-position: center;
    }
    .banner1 {
        background-image: url("../img/slider/banner2.jpg");
        background-size: cover;
        background-size: cover;
        background-position: center;
    }
    .banner2 {
        background-image: url("../img/slider/banner1.jpg");
        background-size: cover;
        background-position: center;
    }
    .bannernosotros {
        background-image: url("../img/nosotros/banner.jpg");
        background-size: cover;
        background-size: cover;
        background-position: top;
    }
    .bannercontacto {
        background-image: url("../img/nosotros/contacto.jpg");
        background-size:cover; background-position:right;background-repeat: no-repeat;
    }
    .bannerservicios {
        background-image: url("../img/servicios/banner.jpg");
        background-size: cover;
        background-size: cover;
        background-position: center;
    }
    .icon-contact{
        background: linear-gradient(135deg, var(--color-principal) 0%, var(--color-secundario) 100%);
        color: #fff;
        width: 75px;
        height: 75px;
        font-size: 35px;
        padding: 5px;
        margin: auto;
        line-height: 65px;
        text-align: center;
        display: block;
        border-radius: 50%;
        box-shadow: 0 8px 20px rgba(127, 170, 64, 0.25);
        transition: var(--transicion);
    }
    
    .icon-contact:hover {
        transform: scale(1.1) rotate(5deg);
        box-shadow: 0 12px 30px rgba(127, 170, 64, 0.35);
    }
}

@media (max-width: 767px) {
    .banner0 {
        background-image: url("../img/slider/banner3.jpg");
        background-size: cover;
        background-position: 50% -5%;
    }
    .banner1 {
        background-image: url("../img/slider/banner2.jpg");
        background-size: cover;
        background-position: center;
    }
    .banner2 {
        background-image: url("../img/slider/banner1.jpg");
        background-size: cover;
        background-position: 70% 10%;
    }
    .bannernosotros {
        background-image: url("../img/nosotros/banner.jpg");
        background-size: cover;
        background-size: cover;
        background-position: top;
    }
    .bannercontacto {
        background-image: url("../img/nosotros/contacto-movil.jpg")!important;
        background-size: cover;
        background-position: center;
    }
    .bannerservicios {
        background-image: url("../img/servicios/banner.jpg");
        background-size: cover;
        background-size: cover;
        background-position: center;
    }
    .icon-contact{
        background: linear-gradient(135deg, var(--color-principal) 0%, var(--color-secundario) 100%);
        color: #fff;
        width:40px;
        height:40px;
        font-size: 25px;
        padding: 5px;
        margin: auto;
        line-height: 20px;
        text-align: center;
        display: block;
        border-radius: 50%;
        box-shadow: 0 6px 15px rgba(127, 170, 64, 0.25);
        transition: var(--transicion);
    }
    
    .icon-contact:hover {
        transform: scale(1.1);
        box-shadow: 0 10px 25px rgba(127, 170, 64, 0.35);
    }
}
.fs-19{font-size: 19px !important ;}

.box-divform{
    width: calc(100% - 1px) !important;
    padding: 8px 16px !important;
    box-shadow: 0 0 0 2px rgba(127, 170, 64, 0.2) inset !important;
    border-radius: 12px !important;
    display: inline-block !important;
    transition: var(--transicion);
}

.box-divform:focus-within {
    box-shadow: 0 0 0 2px var(--color-principal) inset !important;
}
.span-form-input{
    position: relative !important;
    -webkit-flex: 1 !important;
    -ms-flex: 1 1 0% !important;
    flex: 1 !important;
    padding: 0px !important;
    color:#00000080;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 2px;
    line-height: .9;
}
.form-control3{min-height: 31px !important;
    font-size: 17px;
    color: #000 !important;
    width: 100%;
    outline: transparent;
    border:none;
    background-color: transparent !important;
    font-family: "Barlow";
    font-weight:200 !important;
    line-height: inherit !important;
    -webkit-appearance: none !important;
    margin: 0px !important;
    padding: 0px !important;
}
.form-control3::placeholder {color: #4f4f4f78;
}
@media (min-width: 992px) {
    .modal-lg {
        --bs-modal-width: 582px;
    }
}
@media (max-width: 767px) {
.theme-btn{
    width: 100%;
}
    .slider-section .single-slider{
        height: 75vh;
    }

    .header {
        /*padding-top: 50px;*/
    }
    .navbar-brand img {
        max-width: 120px;
        transition: .3s;
        overflow: auto;
        padding-left: 10px;
    }
}
.btn-menu{
    background: linear-gradient(135deg, #000000 0%, #ad1313 100%);
    width: 56px;
    height: 50px;
    right: 10px;
    padding-top: 0;
    border-radius: 10px !important;
    box-shadow: 0 6px 15px rgba(127, 170, 64, 0.25);
    transition: var(--transicion);
}

.btn-menu:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(127, 170, 64, 0.35);
}
.centrar-navs{display: flex;
    margin: auto;
    flex-wrap: nowrap;
    justify-content: space-evenly;}
@media (max-width:1199px) {
    .cuadro-az{padding: 40px; }
}
@media (min-width:1200px) and (max-width: 1700px) {
    .div550 {
        height:500px;

    }
    .cuadro-az{padding-left: 40px; padding-right: 40px;
        width: 50%;}
    .img-cuadro-az{width: 50%;padding: 0; height: 500px; object-fit: cover;}
}

@media (min-width:1701px) {
    .div550 {
        height:560px;
        max-width:1550px ;
        margin: auto;
    }
    .cuadro-az{padding-left: 40px; padding-right: 40px;
        width: 40%;}
    .img-cuadro-az{width: 60%;padding: 0; height: 560px; object-fit: cover;}
}

.cuadro-az{padding-left: 40px; padding-right: 40px; }
/* The Image container */


.boton-distribuidor{
    position: absolute;
right: 0;
    background:#fff ;
    top: 0;
    padding: 1.2em;

}

.grid {
    position: relative;
    clear: both;
    margin: 0 auto;
    padding: 1em 0 4em;
    max-width: 1000px;
    list-style: none;
    text-align: center;
}

/* Common style */
.grid figure {
    position: relative;
    float: left;
    overflow: hidden;
    margin: 10px 1%;
    height: auto;
    background: #3085a3;
    text-align: center;

}

.grid figure img {
    position: relative;
    display: block;
    min-height: 100%;
    max-width: 100%;
    opacity: 0.8;
}

.grid figure figcaption {
    padding: 2em;
    color: #fff;
    text-transform: uppercase;
    font-size: 1.25em;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.grid figure figcaption::before,
.grid figure figcaption::after {
    pointer-events: none;
}

.grid figure figcaption,
.grid figure figcaption > a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Anchor will cover the whole item by default */
/* For some effects it will show as a button */
.grid figure figcaption > a {
    z-index: 1000;
    text-indent: 200%;
    white-space: nowrap;
    font-size: 0;
    opacity: 0;
}

.grid figure h2 {
    word-spacing: -0.15em;
    font-weight: 300;
}

.grid figure h2 span {
    font-weight: 800;
}

.grid figure h2,
.grid figure p {
    margin: 0;
}

.grid figure p {
    letter-spacing: 1px;
    font-size: 68.5%;}
/*---------------*/
/***** Julia *****/
/*---------------*/

figure.effect-ineos {
    background: #2f3238;
}

figure.effect-ineos img {
    -webkit-transition: opacity 1s, -webkit-transform 1s;
    transition: opacity 1s, transform 1s;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

figure.effect-ineos figcaption {
    text-align: left;
}

figure.effect-ineos h2 {
    position: relative;
    padding: 0.5em 0;
}

figure.effect-ineos p {
    display: inline-block;
    margin: 0 0 0.25em;
    padding: 0.4em 1em;
    background: #B61615;
    color: #fff;
    text-transform: none;
    font-weight: 500;
    font-size: 75%;
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
    -webkit-transform: translate3d(-360px,0,0);
    transform: translate3d(-360px,0,0);
}

figure.effect-ineos p:first-child {
    -webkit-transition-delay: 0.15s;
    transition-delay: 0.15s;
}

figure.effect-ineos p:nth-of-type(2) {
    -webkit-transition-delay: 0.1s;
    transition-delay: 0.1s;
}

figure.effect-ineos p:nth-of-type(3) {
    -webkit-transition-delay: 0.05s;
    transition-delay: 0.05s;
}

figure.effect-ineos:hover p:first-child {
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
}

figure.effect-ineos:hover p:nth-of-type(2) {
    -webkit-transition-delay: 0.05s;
    transition-delay: 0.05s;
}

figure.effect-ineos:hover p:nth-of-type(3) {
    -webkit-transition-delay: 0.1s;
    transition-delay: 0.1s;
}

figure.effect-ineos:hover img {
    opacity: 0.4;
    -webkit-transform: scale3d(1.1,1.1,1);
    transform: scale3d(1.1,1.1,1);
}

figure.effect-ineos:hover p {
    opacity: 1;
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
}
.spanabajo{
    position: absolute;
    bottom: 92px;
}

.abajo{
    position: absolute;
    bottom: 40px;
}

.ml-toleft{
    margin-left: -15px;
}

.sombreado-text{
    text-shadow: 2px 4px 12px rgba(0, 0, 0, 0.4);
}

/* Estilos de carrusel modern */
.carousel-inner {
    display: flex;
    overflow: hidden;
}

.carousel-item {
    display: flex;
    justify-content: center;
    flex: 0 0 auto;
    width: 100%;
}

.d-flex {
    display: flex;
    justify-content: space-between;
}

.carousel-item-image {
    flex: 0 0 14.2857%;
    padding: 5px;
    transition: var(--transicion);
}

.carousel-item-image:hover {
    transform: scale(1.05);
}

.carousel-item img {
    width: 100%;
    height: auto;
    display: block;
    filter: grayscale(100%);
    transition: var(--transicion);
}

.carousel-item img:hover {
    filter: grayscale(0%);
}

@media (min-width:992px) {
    .slider-section .single-slider.interior {
        height: 45vh;
    }
    .slider-interior.slider-section .single-slider .slider-content .interior .slider-title{
        font-size: 65px;
    }
}

.fs-65{
    font-size: 65px !important;
}

/*EFECTO ANTES DESPUES */
main {
    display: grid;
    place-items: center;
}

.container-img {
    display: grid;
    place-content: center;
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    --position: 50%;
    box-shadow: var(--sombra-suave);
    transition: var(--transicion);
}

.container-img:hover {
    box-shadow: var(--sombra-hover);
}

.image-container {
    border-radius: var(--border-radius);
}

.slider-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left;
}

.image-before {
    position: absolute;
    inset: 0;
    width: var(--position);
}

.slider {
    position: absolute;
    inset: 0;
    cursor: pointer;
    opacity: 0;
    width: 100%;
    height: 100%;
}

.slider:focus-visible ~ .slider-button {
    outline: 5px solid var(--color-principal);
    outline-offset: 3px;
}

.slider-line {
    position: absolute;
    inset: 0;
    width: .2rem;
    height: 100%;
    background-color: #fff;
    left: var(--position);
    transform: translateX(-50%);
    pointer-events: none;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.slider-button {
    position: absolute;
    background: linear-gradient(135deg, var(--color-principal) 0%, var(--color-secundario) 100%);
    color: #fff;
    padding: .5rem;
    border-radius: 100vw;
    display: grid;
    place-items: center;
    top: 50%;
    left: var(--position);
    transform: translate(-50%, -50%);
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: var(--transicion);
}

.slider-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.totop-testimonio{
    margin-top: -160px;
}

.shadow-contact{
    box-shadow: var(--sombra-suave);
    border-radius: var(--border-radius);
    transition: var(--transicion);
}

.shadow-contact:hover {
    box-shadow: var(--sombra-hover);
}

.bradius50{
    border-radius: 50px;
}

/* === UTILIDADES ADICIONALES === */
.lh-1_6{
    line-height: 1.6em;
}

.lh-3{
    line-height: 3em;
}

.heauto{
    height: auto !important;
}

.fs-19{
    font-size: 19px !important;
}

/* === ANIMACIONES Y TRANSICIONES === */

/* WOW.js - Prevenir flash inicial */
.wow {
    visibility: hidden;
}

.wow.animated {
    visibility: visible;
}

/* AnimaciÃ³n fadeInUp mejorada */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fadeInUp {
    animation: fadeInUp 0.6s ease-out;
}

/* AnimaciÃ³n fadeInUp de Animate.css para WOW */
.animate__fadeInUp {
    animation-name: fadeInUp;
    animation-duration: 0.8s;
    animation-timing-function: ease-out;
    animation-fill-mode: both;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === BURBUJAS ANIMADAS === */
.bubbles {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    top: 0;
    left: 0;
    pointer-events: none;
}

.bubble {
    position: absolute;
    bottom: -100px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0), inset 1px -7px 13px rgba(255, 255, 255, 0.54);
    border-radius: 50%;
    opacity: 0.5;
    animation: rise 10s infinite ease-in;
}

.bubble:nth-child(1) {
    width: 40px;
    height: 40px;
    left: 10%;
    animation-duration: 8s;
}

.bubble:nth-child(2) {
    width: 20px;
    height: 20px;
    left: 20%;
    animation-duration: 5s;
    animation-delay: 1s;
}

.bubble:nth-child(3) {
    width: 50px;
    height: 50px;
    left: 35%;
    animation-duration: 7s;
    animation-delay: 2s;
}

.bubble:nth-child(4) {
    width: 80px;
    height: 80px;
    left: 50%;
    animation-duration: 11s;
    animation-delay: 0s;
}

.bubble:nth-child(5) {
    width: 35px;
    height: 35px;
    left: 55%;
    animation-duration: 6s;
    animation-delay: 1s;
}

.bubble:nth-child(6) {
    width: 45px;
    height: 45px;
    left: 65%;
    animation-duration: 8s;
    animation-delay: 3s;
}

.bubble:nth-child(7) {
    width: 90px;
    height: 90px;
    left: 70%;
    animation-duration: 12s;
    animation-delay: 2s;
}

.bubble:nth-child(8) {
    width: 25px;
    height: 25px;
    left: 80%;
    animation-duration: 6s;
    animation-delay: 2s;
}

.bubble:nth-child(9) {
    width: 15px;
    height: 15px;
    left: 70%;
    animation-duration: 5s;
    animation-delay: 1s;
}

.bubble:nth-child(10) {
    width: 90px;
    height: 90px;
    left: 25%;
    animation-duration: 10s;
    animation-delay: 4s;
}

@keyframes rise {
    0% {
        bottom: -100px;
        transform: translateX(0);
    }
    50% {
        transform: translateX(100px);
    }
    100% {
        bottom: 1080px;
        transform: translateX(-200px);
    }
}

/* === ADRENALINE RACING SECTION === */
.adrenaline-section {
    position: relative;
    padding: 100px 0;
    background: #f8f9fa;
    overflow: hidden;
}

/* Contenido Izquierdo */
.adrenaline-content {
    padding-right: 50px;
}

.adrenaline-badge {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: #d90429;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.adrenaline-title {
    font-family: 'Barlow', sans-serif;
    font-size: 48px;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.1;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.adrenaline-description {
    font-size: 16px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 30px;
    max-width: 480px;
}

.adrenaline-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: transparent;
    color: #1a1a1a;
    border: 2px solid #1a1a1a;
    padding: 16px 32px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.adrenaline-btn:hover {
    background: #1a1a1a;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.adrenaline-btn i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.adrenaline-btn:hover i {
    transform: translateX(5px);
}

/* Contenedor de Imagen Derecha */
.adrenaline-image-container {
    position: relative;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Texto de Fondo VAENZ */
.adrenaline-background-text {
    position: absolute;
    font-size: 16em;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.08);
    text-transform: uppercase;
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    letter-spacing: 8px;
}

/* Marco/Shape Decorativo */
.adrenaline-shape-frame {
    display: none;
}

/* Wrapper del Casco */
.adrenaline-helmet-wrapper {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.adrenaline-helmet {
    max-width: 480px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
    transition: transform 0.5s ease;
}

.adrenaline-helmet:hover {
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 1199px) {
    .adrenaline-title {
        font-size: 42px;
    }
    
    .adrenaline-background-text {
        font-size: 160px;
    }
    
    .adrenaline-helmet {
        max-width: 320px;
    }
}

@media (max-width: 991px) {
    .adrenaline-content {
        padding-right: 0;
        margin-bottom: 40px;
        text-align: center;
    }
    
    .adrenaline-title {
        font-size: 38px;
    }
    
    .adrenaline-background-text {
        font-size: 140px;
    }
    
    .adrenaline-helmet {
        max-width: 280px;
    }
    
    .adrenaline-image-container {
        height: 350px;
    }
}

@media (max-width: 767px) {
    .adrenaline-section {
        padding: 80px 0;
    }
    
    .adrenaline-title {
        font-size: 32px;
    }
    
    .adrenaline-background-text {
        font-size: 120px;
        letter-spacing: 4px;
    }
    
    .adrenaline-helmet {
        max-width: 240px;
    }
    
    .adrenaline-image-container {
        height: 300px;
    }
    
    .adrenaline-btn {
        padding: 14px 25px;
        font-size: 13px;
    }
}

@media (max-width: 575px) {
    .adrenaline-title {
        font-size: 28px;
    }
    
    .adrenaline-background-text {
        font-size: 8em;
    }
    
    .adrenaline-helmet {
        max-width: 300px;
    }
}

/* =========================== CONTACT PRICE SECTION =========================== */
.contact-price-section {
    background: #fff !important;
    padding: 100px 0;
    position: relative;
    overflow: visible;
}

.contact-price-section .container {
    max-width: 1320px;
}

.contact-price-section .row {
    position: relative;
}

.contact-content-wrapper {
    padding: 60px 80px 60px 60px;
    position: relative;
}

/* DecoraciÃ³n de puntos */
.contact-decoration-dots {
    position: absolute;
    top: 20px;
    left: 40px;
    width: 120px;
    height: 120px;
    background-image: radial-gradient(circle, #e0e0e0 2px, transparent 2px);
    background-size: 15px 15px;
    opacity: 0.5;
}

.contact-subtitle {
    font-size: 14px;
    font-weight: 700;
    color: #7faa40;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 15px;
}

.contact-main-title {
    font-family: 'Barlow', sans-serif;
    font-size: 48px;
    font-weight: 800;
    color: #1a3d3d;
    line-height: 1.2;
    margin-bottom: 40px;
}

.contact-main-title .text-green {
    color: #7faa40;
}

/* Phone Box */
.contact-phone-box {

    gap: 20px;
    margin-bottom: 40px;
    padding: 25px 30px;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.phone-icon-circle {
    width: 70px;
    height: 70px;
    background: #7faa40;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.phone-icon-circle i {
    font-size: 32px;
    color: #ffffff;
}

.phone-text {
    /*display: flex;*/
    flex-direction: column;
    gap: 5px;
}

.phone-label {
    font-size: 15px;
    color: #6c757d;
}

.phone-number {
    font-family: 'Barlow', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #1a3d3d;
    text-decoration: none;
    transition: color 0.3s ease;
}

.phone-number:hover {
    color: #7faa40;
}

/* Contact Action Button */
.btn-contact-action {
    font-family: 'Barlow', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff !important;
    background: #7faa40;
    padding: 18px 45px;
    border-radius: 50px;
    border: none;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(127, 170, 64, 0.3);
}

.btn-contact-action:hover {
    background: #6a9235;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(127, 170, 64, 0.4);
}

/* Cleaning Bucket Icon */
.cleaning-bucket-icon {
    position: absolute;
    bottom: 30px;
    left: 60px;
    width: 120px;
    opacity: 0.9;
}

.cleaning-bucket-icon img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2));
}

/* Contact Image Wrapper - IMAGEN AL RAS DEL BORDE DERECHO */
.contact-price-section .col-lg-6:last-child {
    padding-right: 0;
    padding-left: 0;
}

.contact-image-wrapper {
    position: relative;
    min-height: 650px;
    margin-right: calc(-50vw + 50%);
    background-image: url('https://images.unsplash.com/photo-1581578731548-c64695cc6952?w=1200&h=800&fit=crop');
    background-size: cover;
    background-position: center left;
    background-repeat: no-repeat;
    overflow: hidden;
    clip-path: polygon(15% 0%, 100% 0%, 100% 100%, 0% 100%, 0% 25%);
}

/* Overlay diagonal gris para cubrir la parte que no debe verse */
.contact-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
   width: 20%;
    height: 157%;
    background: linear-gradient(103deg, #f5f7fa 0%, #f5f7fa 48%, transparent 48%, transparent 100%);
    z-index: 3;
}

/* Green Corner Decoration */
.green-corner-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 150px 150px 0 0;
    border-color: #7faa40 transparent transparent transparent;
    z-index: 5;
}

.green-corner-decoration::after {
    content: '';
    position: absolute;
    top: -145px;
    left: 5px;
    width: 120px;
    height: 120px;
    border-right: 3px solid rgba(255, 255, 255, 0.3);
    border-bottom: 3px solid rgba(255, 255, 255, 0.3);
}

/* Responsive Contact Section */
@media (max-width: 1199px) {
    .contact-main-title {
        font-size: 40px;
    }
    
    .contact-content-wrapper {
        padding: 50px 60px;
    }
}

@media (max-width: 991px) {
    .contact-price-section {
        padding: 80px 0;
    }
    
    .contact-main-title {
        font-size: 36px;
    }
    
    .contact-content-wrapper {
        padding: 40px 30px;
    }
    
    .contact-image-wrapper {
        min-height: 400px;
        margin-right: 0;
        margin-top: 40px;
        clip-path: none;
    }
    
    .contact-image-wrapper::before {
        display: none;
    }
    
    .cleaning-bucket-icon {
        left: 30px;
        width: 100px;
    }
}

@media (max-width: 767px) {
    .contact-price-section {
        padding: 60px 0;
    }
    
    .contact-main-title {
        font-size: 28px;
        line-height: 1.3;
    }
    
    .contact-subtitle {
        font-size: 12px;
    }
    
    .contact-content-wrapper {
        padding: 30px 20px;
    }
    
    .contact-decoration-dots {
        width: 80px;
        height: 80px;
        background-size: 12px 12px;
    }
    
    .contact-phone-box {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        gap: 15px;
    }
    
    .phone-icon-circle {
        width: 60px;
        height: 60px;
    }
    
    .phone-icon-circle i {
        font-size: 28px;
    }
    
    .phone-number {
        font-size: 20px;
    }
    
    .btn-contact-action {
        font-size: 14px;
        padding: 15px 35px;
    }
    
    .contact-image-wrapper {
        min-height: 320px;
    }
    
    .cleaning-bucket-icon {
        width: 80px;
        left: 20px;
        bottom: 20px;
    }
    
    .green-corner-decoration {
        border-width: 80px 80px 0 0;
    }
}

@media (max-width: 575px) {
    .contact-price-section {
        padding: 40px 0;
    }
    
    .contact-main-title {
        font-size: 24px;
        margin-bottom: 25px;
    }
    
    .contact-subtitle {
        font-size: 11px;
        letter-spacing: 1.5px;
        margin-bottom: 10px;
    }
    
    .contact-content-wrapper {
        padding: 25px 15px;
    }
    
    .contact-phone-box {
        padding: 18px 15px;
        margin-bottom: 30px;
    }
    
    .phone-icon-circle {
        width: 55px;
        height: 55px;
    }
    
    .phone-icon-circle i {
        font-size: 24px;
    }
    
    .phone-label {
        font-size: 13px;
    }
    
    .phone-number {
        font-size: 18px;
    }
    
    .btn-contact-action {
        font-size: 13px;
        padding: 14px 30px;
        width: 100%;
        text-align: center;
    }
    
    .contact-image-wrapper {
        min-height: 280px;
    }
    
    .cleaning-bucket-icon {
        width: 70px;
        bottom: 15px;
        left: 15px;
    }
    
    .green-corner-decoration {
        border-width: 60px 60px 0 0;
    }
    
    .green-corner-decoration::after {
        top: -56px;
        left: 4px;
        width: 90px;
        height: 90px;
    }
}

/* =========================== ABOUT US PAGE STYLES =========================== */

/* About Hero Banner */
.about-hero-banner {
    /*background:#000;*/
    min-height: 580px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 0px 0;
}

.about-hero-banner::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(127, 170, 64, 0.06) 0%, transparent 70%);
    border-radius: 50%;
}

/* Banner Content */
.about-banner-content {
    padding: 20px 0;
}

/* Breadcrumb Navigation */
.breadcrumb-nav {
    font-family: 'Barlow', sans-serif;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 25px;
    letter-spacing: 1.5px;
}

.breadcrumb-nav a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-nav a:hover {
    color: #7faa40;
}

.breadcrumb-nav .separator {
    color: #7faa40;
    margin: 0 12px;
}

.breadcrumb-nav .current {
    color: #7faa40;
}

/* About Hero Title */
.about-hero-title {
    font-family: 'Barlow', sans-serif;
    font-size: 75px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    margin: 0;
    text-transform: capitalize;
    letter-spacing: 3px;
}

.about-hero-title .text-green {
    color: #7faa40;
}

/* Banner Image */
.about-banner-image {
    position: relative;
    padding: 0px 0;
    text-align: right;
}

.about-banner-image img {
    max-width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
}

/* Responsive About Banner */
@media (max-width: 1199px) {
    .about-hero-title {
        font-size: 65px;
        letter-spacing: 2px;
    }
}

@media (max-width: 991px) {
    .about-hero-banner {
        min-height: 450px;
        padding: 0px 0;
    }
    
    .about-hero-title {
        font-size: 55px;
        letter-spacing: 2px;
    }
    
    .about-banner-image {
        text-align: center;
        margin-top: 25px;
    }
    
    .about-banner-image img {
        max-height: 280px;
    }
}

@media (max-width: 767px) {
    .about-hero-banner {
        min-height: 400px;
        padding: 0px 0;
    }
    
    .about-hero-title {
        font-size: 42px;
        letter-spacing: 1px;
    }
    
    .breadcrumb-nav {
        font-size: 12px;
        margin-bottom: 18px;
        letter-spacing: 1px;
    }
    
    .breadcrumb-nav .separator {
        margin: 0 8px;
    }
    
    .about-banner-image img {
        /*max-height: 220px;*/
    }
}

@media (max-width: 575px) {
    .about-hero-banner {
        padding: 35px 0 0 0;
        min-height: 290px;
    }
    
    .about-hero-title {
        font-size: 36px;
        letter-spacing: 1px;
    }
    
    .breadcrumb-nav {
        font-size: 11px;
    }
    
    .about-banner-content {
        padding: 10px 0;
    }
    
    .about-banner-image {
        margin-top: 20px;
    }
    
    .about-banner-image img {
        /*max-height: 180px;*/
    }
}

/* =========================== VIDEO SECTION (NOSOTROS) =========================== */
.video-section-wrapper {
    position: relative;
    padding: 0;
    min-height: 600px;
    overflow: visible;
}

/* Fondo blanco - mitad superior */
.video-bg-white {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: #ffffff;
    z-index: 0;
}

/* Fondo verde - mitad inferior */
.video-bg-green {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: #7faa40;
    z-index: 0;
}

.video-section-wrapper .container {
    position: relative;
    z-index: 1;
}

.video-section-wrapper .row {

}

.video-box {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 0;
    overflow: hidden;
    border: 8px solid #7faa40;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 61, 61, 0.75) 0%, rgba(16, 48, 48, 0.75) 100%);
    z-index: 1;
}

.video-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
}

.video-title {
    font-family: 'Barlow', sans-serif;
    font-size: 56px;
    font-weight: 800;
    color: #ffffff;
    margin-top: 30px;
    text-transform: capitalize;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.5);
}

.video-play-btn {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(127, 170, 64, 0.95);
    border: 5px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 auto;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.video-play-btn:hover {
    background: #7faa40;
    transform: scale(1.15);
    box-shadow: 0 12px 35px rgba(127, 170, 64, 0.6);
}

.video-play-btn i {
    font-size: 40px;
    color: #ffffff;
    margin-left: 5px;
}

/* Modal Styles */
#videoModal .modal-content {
    background: #000000;
    border: none;
}

#videoModal .modal-body {
    background: #000000;
}

#videoModal .btn-close-white {
    filter: brightness(0) invert(1);
}

/* Responsive Video Section */
@media (max-width: 991px) {
    .video-section-wrapper {
        min-height: 500px;
    }
    
    .video-section-wrapper .row {
        margin-top: -200px;
        padding-top: 200px;
    }
    
    .video-box {
        height: 400px;
        border-width: 6px;
    }
    
    .video-title {
        font-size: 42px;
        margin-top: 25px;
    }
    
    .video-play-btn {
        width: 80px;
        height: 80px;
        border-width: 4px;
    }
    
    .video-play-btn i {
        font-size: 32px;
    }
}

@media (max-width: 767px) {
    .video-section-wrapper {
        min-height: 400px;
    }
    
    .video-section-wrapper .row {
        margin-top: -150px;
        padding-top: 150px;
    }
    
    .video-box {
        height: 300px;
        border-width: 5px;
    }
    
    .video-title {
        font-size: 32px;
        margin-top: 20px;
    }
    
    .video-play-btn {
        width: 70px;
        height: 70px;
        border-width: 3px;
    }
    
    .video-play-btn i {
        font-size: 28px;
    }
}

@media (max-width: 575px) {
    .video-section-wrapper {
        min-height: 350px;
    }
    
    .video-section-wrapper .row {
        margin-top: -125px;
        padding-top: 125px;
    }
    
    .video-box {
        height: 250px;
        border-width: 4px;
    }
    
    .video-title {
        font-size: 26px;
        margin-top: 15px;
    }
    
    .video-play-btn {
        width: 60px;
        height: 60px;
    }
    
    .video-play-btn i {
        font-size: 24px;
    }
}

/* =========================== CLIENTS SECTION (NOSOTROS) =========================== */
.clients-section-wrapper {
    position: relative;
    background: #7faa40;
    padding: 0px 0 100px 0;
    z-index: 1;
}

.clients-title-box {
    padding-right: 30px;
}

.clients-title {
    font-family: 'Barlow', sans-serif;
    font-size: 48px;
    font-weight: 800;
    color: #1a3d3d;
    line-height: 1.2;
    text-transform: capitalize;
    margin: 0;
}

.clients-title .text-white {
    color: #ffffff;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.client-logo-box {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 30px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    transition: all 0.4s ease;
    backdrop-filter: blur(5px);
}

.client-logo-box:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-5px);
}

.client-logo {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

/* Responsive Clients Section */
@media (max-width: 991px) {
    .clients-section-wrapper {
        padding: 80px 0;
    }
    
    .clients-title {
        font-size: 38px;
        margin-bottom: 40px;
    }
    
    .clients-title-box {
        padding-right: 0;
        text-align: center;
    }
    
    .clients-grid {
        gap: 20px;
    }
}

@media (max-width: 767px) {
    .clients-section-wrapper {
        padding: 60px 0;
    }
    
    .clients-title {
        font-size: 32px;
        margin-bottom: 30px;
    }
    
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .client-logo-box {
        padding: 20px 15px;
        min-height: 100px;
    }
    
    .client-logo {
        max-height: 60px;
    }
}

@media (max-width: 575px) {
    .clients-section-wrapper {
        padding: 50px 0;
    }
    
    .clients-title {
        font-size: 28px;
    }
    
    .client-logo-box {
        padding: 15px 10px;
        min-height: 90px;
    }
    
    .client-logo {
        max-height: 50px;
    }
}

/* =========================== ALL SERVICES GRID (SERVICIOS.PHP) =========================== */
.all-services-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.all-services-section .row {
    row-gap: 24px !important;
}

.all-services-section .service-card-item {
    min-width: unset;
    max-width: unset;
    width: 100%;
    margin: 0;
    height: 100%;
}

.all-services-section .service-card-wrapper {
    height: 100%;
    min-height: 450px;
    display: flex;
    flex-direction: column;
}

.all-services-section .service-card-image {
    height: 240px;
    flex-shrink: 0;
}

.all-services-section .service-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 70px 20px 30px;
}

.all-services-section .service-card-title {
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.all-services-section .service-card-text {
    flex: 1;
    display: flex;
    align-items: flex-start;
}

/* Responsive All Services Grid */
@media (max-width: 991px) {
    .all-services-section {
        padding: 60px 0;
    }
    
    .all-services-section .service-card-wrapper {
        min-height: 420px;
    }
}

@media (max-width: 767px) {
    .all-services-section {
        padding: 50px 0;
    }
    
    .all-services-section .row {
        row-gap: 20px !important;
        column-gap: 20px !important;
    }
    
    .all-services-section .service-card-wrapper {
        min-height: 380px;
    }
    
    .all-services-section .service-card-image {
        height: 200px;
    }
}

/* ============================================
   HERO MOTO RACING - ESTILO DEPORTIVO PREMIUM
   ============================================ */

/* === NAVBAR TRANSPARENTE SOBRE SLIDER === */
.header.hero-header {
    position: relative;
}

.header.hero-header .navbar-area {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: transparent !important;
    transition: all 0.3s ease;
}

.header.hero-header .navbar-area.sticky {
    position: fixed;
    background: rgba(0, 0, 0, 0.95) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.header.hero-header .navbar-area .navbar-nav .nav-item a {
    color: #000;
}

.header.hero-header .navbar-area .navbar-nav .nav-item a:hover {
    color: #d90429 !important;
}

.header.hero-header .navbar-area .navbar-nav .nav-item a::after {
    background: #d90429;
}

/* Cuando el navbar tenga clase sticky */


/* Home (casita) queda sobre el fondo rojo â†’ blanco, solo desktop */
@media (min-width: 992px) {
    .header.hero-header .navbar-area.sticky .navbar-nav .nav-item a {
        color: #fff;
    }
    .header.hero-header .navbar-area:not(.sticky) .navbar-nav .nav-item:first-child > a {
        color: #fff !important;
    }
    .header.hero-header .navbar-area:not(.sticky) .navbar-nav .nav-item:first-child > a:hover {
        color: #d90429 !important;
    }
}

/* === CONTENIDO EN PANTALLAS MUY GRANDES === */
@media (min-width: 1700px) {
    .hero-moto-content {
        position: relative;
        z-index: 10;
        padding: 120px 150px 40px !important;
        color: #fff;
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-height: 100vh;
    }
}

/* === CONTENEDOR PRINCIPAL === */
.hero-moto-racing {
    position: relative;
    width: 100%;
    height: 50vh;
    min-height: 320px;
    overflow: hidden;
    background: #eee;
}

.hero-moto-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

/* === SLIDE INDIVIDUAL === */
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.7s ease-in-out, visibility 0.7s ease-in-out;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* === FONDO === */
.hero-bg-moto {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

/* === INNER (centra el contenido verticalmente) === */
.hero-slide-inner {
    position: relative;
    z-index: 5;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 80px;
}

.text-right-slide {
    justify-content: flex-end;
}

.text-left-slide {
    justify-content: flex-start;
}

/* === CONTENIDO DE TEXTO === */
.hero-moto-content {
    /* max-width: 480px; */
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: rgba(255,255,255,0.72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    padding: 32px 40px;
    border-radius: 4px;
}

/* Badge Superior */
.hero-moto-badge {
    display: inline-block;
    margin-bottom: 0;
}

.hero-moto-badge span {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--ec-marca);
}

/* TÃ­tulo Principal */
.hero-moto-title {
    font-size: 42px;
    font-weight: 900;
    line-height: 1.05;
    text-transform: uppercase;
    letter-spacing: -1px;
    color: #111;
    margin: 0;
}

/* DescripciÃ³n */
.hero-moto-description {
    font-size: 14px;
    line-height: 1.6;
    color: #444;
    margin: 0;
    font-weight: 400;
}

/* BotÃ³n CTA */
.hero-moto-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 30px;
    background: var(--ec-marca);
    border: 2px solid var(--ec-marca);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    align-self: flex-start;
    transition: background 0.3s ease, color 0.3s ease;
}

.hero-moto-btn:hover {
    background: transparent;
    color: var(--ec-marca);
}

.hero-moto-btn i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.hero-moto-btn:hover i {
    transform: translateX(4px);
}

/* === BOTONES PREV / NEXT (lados, centrados verticalmente) === */
.hero-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.75);
    border: 1px solid rgba(0,0,0,0.15);
    color: #222;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease;
    border-radius: 2px;
    backdrop-filter: blur(4px);
}

.hero-nav-btn.prev {
    left: 20px;
}

.hero-nav-btn.next {
    right: 20px;
}

.hero-nav-btn:hover {
    background: var(--ec-marca);
    border-color: var(--ec-marca);
    color: #fff;
}

.hero-nav-btn i {
    font-size: 18px;
}

/* === ANIMACIONES === */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(40px); }
    to   { opacity: 1; transform: translateX(0); }
}
}

/* === HERO RESPONSIVE === */
@media (max-width: 991px) {
    .hero-moto-title { font-size: 32px; }
    .hero-moto-content { padding: 24px 28px; max-width: 360px; }
    .hero-slide-inner { padding: 0 60px; }
}

@media (max-width: 767px) {
    .hero-moto-racing { height: 50vh; min-height: 260px; }
    .hero-slide-inner { padding: 0 50px; }
    .hero-moto-title { font-size: 26px; }
    .hero-moto-description { font-size: 13px; }
    .hero-moto-content { padding: 20px 22px; max-width: 280px; gap: 10px; }
    .hero-nav-btn { width: 38px; height: 38px; }
}

@media (max-width: 480px) {
    .hero-slide-inner { padding: 0 44px; }
    .hero-moto-title { font-size: 22px; }
    .hero-moto-content { padding: 16px 18px; }
    .hero-moto-btn { padding: 10px 20px; font-size: 11px; }
}

/* ============================================
   DETALLE PRODUCTO
   ============================================ */

/* Breadcrumb */
.detalle-breadcrumb {
    background: #f5f5f5;
    padding: 12px 0;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #999;
}

.detalle-breadcrumb a {
    color: #999;
    text-decoration: none;
    transition: color 0.2s;
}

.detalle-breadcrumb a:hover {
    color: #d90429;
}

.bc-sep {
    margin: 0 8px;
    color: #ccc;
}

.bc-current {
    color: #111;
}

/* SecciÃ³n principal */
.detalle-section {
    padding: 60px 0 80px;
    background: #fff;
}

/* Imagen principal */
.detalle-img-principal {
    position: relative;
    background: #ffffff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 480px;
}

.detalle-img-principal img {
    /* max-width: 100%; */
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.detalle-img-principal:hover img {
    transform: scale(1.03);
}

/* Miniaturas */
.detalle-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.detalle-thumb {
    flex: 1;
    height: 90px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s ease;
}

.detalle-thumb.active,
.detalle-thumb:hover {
    border-color: #d90429;
}

.detalle-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Info derecha */
.detalle-cat {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #d90429;
    margin-bottom: 10px;
}

.detalle-nombre {
    font-family: 'Barlow', sans-serif;
    font-size: 36px;
    font-weight: 900;
    text-transform: uppercase;
    color: #111;
    line-height: 1.1;
    margin-bottom: 16px;
}

/* Precios */
.detalle-precios {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
}

.detalle-precio-original {
    font-size: 18px;
    color: #bbb;
    text-decoration: line-through;
    font-weight: 600;
}

.detalle-precio-actual {
    font-size: 26px;
    font-weight: 900;
    color: #111;
}

/* DescripciÃ³n corta */
.detalle-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 0;
}

.detalle-divider {
    border: none;
    border-top: 1px solid rgba(0,0,0,0.09);
    margin: 24px 0;
}

/* Acciones: cantidad + botÃ³n */
.detalle-acciones {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* Selector cantidad */
.detalle-cantidad {
    display: flex;
    align-items: center;
    background: #d90429;
    height: 48px;
}

.detalle-cantidad input {
    width: 44px;
    height: 100%;
    background: #d90429;
    border: none;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    text-align: center;
    outline: none;
    pointer-events: none;
}

.cant-btn {
    width: 30px;
    height: 100%;
    background: rgba(0,0,0,0.15);
    border: none;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.cant-btn:hover {
    background: rgba(0,0,0,0.3);
}

/* BotÃ³n pedido WhatsApp */
.btn-pedido-wa {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: #fff !important;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none !important;
    padding: 0 30px;
    height: 48px;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease;
}

.btn-pedido-wa i {
    font-size: 20px;
}

.btn-pedido-wa:hover {
    background: #1ebe5d;
    color: #fff !important;
}

/* Quick info */
.detalle-quickinfo {
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.detalle-quickinfo p {
    margin-bottom: 8px;
    color: #888;
}

.qi-label {
    font-weight: 800;
    color: #111;
    margin-right: 8px;
}

.qi-link {
    color: #d90429;
    text-decoration: none;
    font-weight: 700;
}

.qi-link:hover {
    text-decoration: underline;
}

/* Tabs */
.detalle-tabs {
    margin-top: 60px;
    border-top: 1px solid rgba(0,0,0,0.09);
    padding-top: 0;
}

.detalle-tabs-nav {
    display: flex;
    gap: 0;
    border-bottom: 2px solid rgba(0,0,0,0.09);
    margin-bottom: 30px;
}

.tab-btn {
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    padding: 16px 24px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #999;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.tab-btn.active {
    color: #d90429;
    border-bottom-color: #d90429;
}

.tab-btn:hover {
    color: #d90429;
}

.tab-content {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
}

.tab-content p + p {
    margin-top: 12px;
}

/* Tabla info adicional */
.tabla-info-adicional {
    width: 100%;
    max-width: 500px;
    border-collapse: collapse;
    font-size: 13px;
}

.tabla-info-adicional tr {
    border-bottom: 1px solid rgba(0,0,0,0.07);
}

.tabla-info-adicional tr:nth-child(odd) {
    background: #fafafa;
}

.tabla-info-adicional td {
    padding: 10px 14px;
    color: #555;
}

.tabla-info-adicional td:first-child {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 1px;
    color: #111;
    width: 160px;
}

/* Responsive */
@media (max-width: 991px) {
    .detalle-img-principal {
        height: 340px;
    }

    .detalle-nombre {
        font-size: 28px;
    }
}

@media (max-width: 575px) {
    .detalle-acciones {
        flex-wrap: wrap;
    }

    .btn-agregar-detalle {
        flex: 1 1 0;
        min-width: 0;
    }

    .btn-pedido-wa {
        width: 100%;
        justify-content: center;
    }

    .tab-btn {
        padding: 12px 14px;
        font-size: 10px;
    }
}

/* ============================================================
   DETALLE PRODUCTO â€“ Nuevos elementos
   ============================================================ */

/* Rating */
.detalle-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 14px;
    color: #f4a01a;
    font-size: 13px;
}
.detalle-rating-cnt {
    font-size: 12px;
    color: #999;
    font-weight: 500;
    margin-left: 4px;
}

/* Grupos de opciones (color / talla) */
.dp-grupo-opciones {
    margin-bottom: 18px;
}
.dp-opcion-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 10px;
}
.dp-opcion-label strong {
    color: #111;
}

/* Swatches de color */
.dp-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.dp-swatch {
    position: relative;
    cursor: pointer;
}
.dp-swatch input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}
.dp-swatch-box {
    display: block;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    border: 2px solid transparent;
    box-shadow: 0 0 0 1px #d0d0d0;
    transition: box-shadow 0.15s, transform 0.15s;
    position: relative;
}
.dp-swatch:hover .dp-swatch-box {
    transform: scale(1.12);
    box-shadow: 0 0 0 2px var(--ec-marca);
}
.dp-swatch input:checked + .dp-swatch-box {
    border-color: var(--ec-marca);
    box-shadow: 0 0 0 2px var(--ec-marca);
}
.dp-swatch input:checked + .dp-swatch-box::after {
    content: 'âœ“';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 14px;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0,0,0,0.6);
    line-height: 1;
}

/* Botones de talla */
.dp-tallas {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.dp-talla-btn {
    min-width: 42px;
    height: 38px;
    padding: 0 10px;
    background: #fff;
    border: 1.5px solid #ddd;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    color: #555;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.dp-talla-btn:hover {
    border-color: var(--ec-marca);
    color: var(--ec-marca);
}
.dp-talla-btn.active {
    background: var(--ec-marca);
    border-color: var(--ec-marca);
    color: #fff;
}
.dp-talla-btn.dp-talla-disabled {
    opacity: 0.35;
    text-decoration: line-through;
    cursor: not-allowed;
    border-color: #ddd;
    color: #bbb;
    background: #f5f5f5;
}
.dp-talla-btn.dp-talla-disabled:hover {
    border-color: #ddd;
    color: #bbb;
}
.dp-talla-btn.dp-talla-disabled.active {
    background: #ccc;
    border-color: #ccc;
    color: #fff;
}
/* Color swatch agotado */
.dp-swatch.dp-swatch-out {
    opacity: 0.3;
    position: relative;
}
.dp-swatch.dp-swatch-out .dp-swatch-box::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -2px;
    right: -2px;
    height: 2px;
    background: #999;
    transform: rotate(-45deg);
    z-index: 2;
}

/* BotÃ³n Agregar al carrito (detalle) */
.btn-agregar-detalle {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #1a1a1a;
    color: #fff;
    border: none;
    height: 48px;
    padding: 0 28px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s ease;
    white-space: nowrap;
}
.btn-agregar-detalle:hover      { background: var(--ec-marca); }
.btn-agregar-detalle--added     { background: var(--ec-marca) !important; }

/* WhatsApp â€“ solo Ã­cono */
.btn-wa-solo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #25D366;
    color: #fff !important;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border: none;
    text-decoration: none !important;
    font-size: 22px;
    transition: background 0.2s ease;
}
.btn-wa-solo:hover { background: #1ebe5d; color: #fff !important; }

/* BotÃ³n Compartir */
.dp-compartir {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    cursor: pointer;
}
.btn-compartir {
    background: none;
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-size: 13px;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
}
.btn-compartir:hover,
.btn-compartir--copied { border-color: var(--ec-marca); color: var(--ec-marca); }
.dp-compartir-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #aaa;
}

/* ============================================================
   PRODUCTOS RELACIONADOS
   ============================================================ */
.relacionados-section {
    padding: 60px 0 80px;
    background: #f8f8f8;
    border-top: 1px solid #ebebeb;
}
.relacionados-header {
    margin-bottom: 32px;
}
.rel-tagline {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--ec-marca);
    margin-bottom: 6px;
}
.rel-title {
    font-size: 28px;
    font-weight: 900;
    color: #111;
    letter-spacing: -0.5px;
    margin: 0;
}

/* Wrapper con flechas absolutas */
.relacionados-wrapper {
    position: relative;
    padding: 0 30px;
}
.rel-ctrl {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: #fff;
    border: 1px solid #ddd;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: #555;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.rel-ctrl:hover {
    background: var(--ec-marca);
    color: #fff;
    border-color: var(--ec-marca);
}
.rel-prev { left: 0; }
.rel-next { right: 0; }

/* Card relacionada */
.rel-card {
    display: block;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none !important;
    color: inherit;
    transition: box-shadow 0.25s, transform 0.25s;
}
.rel-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    transform: translateY(-3px);
    color: inherit;
}
.rel-card-img {
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #f0f0f0;
}
.rel-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.rel-card:hover .rel-card-img img { transform: scale(1.04); }
.rel-card-body {
    padding: 12px 14px;
    border-top: 1px solid #f0f0f0;
}
.rel-card-nombre {
    font-size: 13px;
    font-weight: 700;
    color: #222;
    margin: 0 0 6px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.rel-card-precio {
    font-size: 14px;
    font-weight: 800;
    color: var(--ec-marca);
}

/* Tiny slider spacing */
#relacionadosSlider .tns-item { padding: 0 4px; }

@media (max-width: 767px) {
    .rel-title { font-size: 22px; }
    .relacionados-wrapper { padding: 0 24px; }
    .dp-swatch-box { width: 28px; height: 28px; }
}

/* ============================================
   PARTES - TOOLBAR & TABLA VISTA
   ============================================ */
.partes-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.partes-toolbar-count {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #999;
}

.btn-vista-toggle {
    background: #111;
    color: #fff;
    border: none;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
    font-size: 14px;
}

.btn-vista-toggle:hover {
    background: #d90429;
}

/* Badge dentro de celda de tabla: sin posiciÃ³n absoluta */
.tabla-productos td .producto-badge {
    position: static;
    display: inline-block;
}

/* Tabla de productos */
.tabla-productos {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Barlow', sans-serif;
}

.tabla-productos thead tr {
    border-bottom: 2px solid #111;
}

.tabla-productos th {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #111;
    padding: 10px 14px;
}

.tabla-productos tbody tr {
    border-bottom: 1px solid rgba(0,0,0,0.07);
    transition: background 0.2s ease;
}

.tabla-productos tbody tr:hover {
    background: #fafafa;
}

.tabla-productos td {
    padding: 14px;
    vertical-align: middle;
}

.tabla-productos td img {
    width: 80px;
    height: 60px;
    object-fit: cover;
}

.tabla-nombre {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    color: #111;
}

.tabla-nombre a {
    color: #111;
    text-decoration: none;
    transition: color 0.2s ease;
}

.tabla-nombre a:hover {
    color: #d90429;
}

.tabla-cat {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #d90429;
}

/* Responsive tabla: ocultar columnas en mobile */
@media (max-width: 575px) {
    .tabla-productos th:nth-child(1),
    .tabla-productos td:nth-child(1),
    .tabla-productos th:nth-child(3),
    .tabla-productos td:nth-child(3) {
        display: none;
    }
}
.partes-banner {
    background: #000;
    padding: 40px 0 30px;
    border-bottom: none;
    min-height: unset !important;
}

/* Navbar blanco para pÃ¡ginas con header oscuro (solo desktop) */
@media (min-width: 992px) {
    .page-dark-header .navbar-area .navbar-nav .nav-item > a {
        color: #fff !important;
    }
    .page-dark-header .navbar-area .navbar-nav .nav-item > a:hover {
        color: #d90429 !important;
    }
    /* Dropdown items siguen oscuros sobre fondo blanco */
    .page-dark-header .navbar-area .nav-dropdown-moto .dropdown-item {
        color: #4a4a4a !important;
    }
    .page-dark-header .navbar-area .nav-dropdown-moto .dropdown-item:hover,
    .page-dark-header .navbar-area .nav-dropdown-moto .dropdown-item:focus {
        color: #d90429 !important;
    }
}

.partes-banner-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 4px;
    color: #d90429;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.partes-banner-title {
    font-family: 'Barlow', sans-serif;
    font-size: 42px;
    font-weight: 900;
    text-transform: uppercase;
    color: #fff;
    line-height: 1;
    margin-bottom: 12px;
}

.text-red-vaenz {
    color: #d90429;
}

.partes-banner-sub {
    font-size: 14px;
    color: rgba(255,255,255,0.55);
    letter-spacing: 1px;
    margin-bottom: 0;
}

/* ============================================
   PARTES PAGE - PRODUCTS GRID
   ============================================ */
.partes-grid-section {
    padding: 70px 0 90px;
    background: #fff;
}

/* Card */
.producto-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    height: 100%;
    cursor: pointer;
    text-decoration: none !important;
    color: inherit !important;
}

.producto-card:hover {
    box-shadow: none;
}

/* Imagen */
.producto-img-wrap {
    position: relative;
    background: #ffffff;
    overflow: hidden;
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.producto-img-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.producto-card:hover .producto-img-wrap img {
}

/* Badge */
.producto-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    padding: 5px 10px;
    z-index: 2;
    text-transform: uppercase;
}

.badge-sale {
    background: #d90429;
    color: #fff;
}

.badge-new {
    background: #111;
    color: #fff;
}

.badge-sold {
    background: #888;
    color: #fff;
}

/* Body */
.producto-body {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
    border-top: 1px solid rgba(0,0,0,0.07);
}

/* CategorÃ­a */
.producto-cat {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #d90429;
    display: block;
    margin-bottom: 10px;
}

.cat-sep {
    color: #aaa;
    margin: 0 4px;
}

/* Footer de la card */
.producto-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

/* Nombre */
.producto-nombre {
    font-family: 'Barlow', sans-serif;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    color: #111;
    margin: 0;
    line-height: 1.3;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Precios */
.producto-precios {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    white-space: nowrap;
}

.precio-original {
    font-size: 12px;
    color: #aaa;
    text-decoration: line-through;
    line-height: 1.2;
}

.precio-actual {
    font-size: 14px;
    font-weight: 800;
    color: #111;
    line-height: 1.3;
}

/* Responsive */
@media (max-width: 767px) {
    .partes-banner-title {
        font-size: 28px;
    }

    .producto-img-wrap {
        height: 220px;
    }
}

/* === FIN HERO MOTO RACING === */

/* ============================================
   NOSOTROS - HIGHLIGHTS SECTION
   ============================================ */

.hl-section {
    padding: 85px 0 70px;
    background: #fff;
}

/* Encabezado */
.hl-main-title {
    font-family: 'Barlow', sans-serif;
    font-size: 44px;
    font-weight: 900;
    text-transform: uppercase;
    color: #111;
    line-height: 1.05;
    letter-spacing: -1px;
}

.hl-tag {
    font-family: 'Barlow', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: #d90429;
    padding-top: 16px;
}

/* Item base */
.hl-item {
    margin-bottom: 38px;
}

.hl-item:last-child {
    margin-bottom: 0;
}

/* Izquierda â€” nÃºmero a la derecha, texto a la izquierda */
.hl-right {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    text-align: right;
}

.hl-right > div {
    flex: 1;
}

.hl-right .hl-item-title {
    font-family: 'Barlow', sans-serif;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    color: #111;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.hl-right .hl-item-desc {
    font-size: 13px;
    color: #999;
    line-height: 1.7;
    margin: 0;
}

/* Derecha â€” nÃºmero grande + texto alineado a la izquierda */
.hl-left {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    text-align: left;
}

.hl-num-lg {
    font-family: 'Barlow', sans-serif;
    font-size: 30px;
    font-weight: 900;
    color: #ddd;
    line-height: 1;
    flex-shrink: 0;
    padding-top: 2px;
}

.hl-left .hl-item-title {
    font-family: 'Barlow', sans-serif;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    color: #111;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.hl-left .hl-item-desc {
    font-size: 13px;
    color: #999;
    line-height: 1.7;
    margin: 0;
}

/* Imagen central con marco de esquinas rojas */
.hl-img-wrapper {
    position: relative;
    display: inline-block;
}

.hl-img {
    display: block;
    width: 100%;
    max-width: 460px;
    filter: grayscale(15%);
    object-fit: cover;
}

.hl-corner {
    position: absolute;
    width: 28px;
    height: 28px;
    border-color: #d90429;
    border-style: solid;
}

.hl-tl { top: -2px;    left: -2px;    border-width: 3px 0 0 3px; }
.hl-tr { top: -2px;    right: -2px;   border-width: 3px 3px 0 0; }
.hl-bl { bottom: -2px; left: -2px;    border-width: 0 0 3px 3px; }
.hl-br { bottom: -2px; right: -2px;   border-width: 0 3px 3px 0; }

/* Responsive */
@media (max-width: 991px) {
    .hl-main-title {
        font-size: 30px;
    }
    .hl-tag {
        display: none;
    }
    .hl-right {
        text-align: left;
    }
    .hl-right .hl-item-title {
        text-align: left;
    }
    .hl-img {
        max-width: 100%;
        margin-bottom: 30px;
    }
}

/* === FIN DEL ARCHIVO === */

/* ============================================
   CONTACTO - NUEVO ESTILO
   ============================================ */

.contacto-section {
    padding: 70px 0 90px;
    background: #fff;
}

/* Grupo de campo */
.cf-group {
    position: relative;
    margin-bottom: 36px;
}

/* Label en rojo uppercase */
.cf-label {
    display: block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #d90429;
    margin-bottom: 8px;
}

/* Input limpio solo con borde inferior */
.cf-input {
    display: block;
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid #ccc;
    outline: none;
    font-family: 'Barlow', sans-serif;
    font-size: 14px;
    color: #111;
    padding: 6px 0;
    transition: border-color 0.25s ease;
}

.cf-input:focus {
    border-bottom-color: #111;
}

/* LÃ­nea animada debajo del input al focus */
.cf-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: #d90429;
    transition: width 0.3s ease;
    pointer-events: none;
}

.cf-input:focus ~ .cf-line {
    width: 100%;
}

/* Textarea */
.cf-textarea {
    min-height: 100px;
    resize: none;
    padding-top: 6px;
}

/* Radios */
.cf-radios {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.cf-radio {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #555;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

.cf-radio input {
    accent-color: #d90429;
}

/* BotÃ³n enviar */
.cf-btn-enviar {
    background: #d90429;
    color: #fff;
    border: none;
    padding: 16px 36px;
    font-family: 'Barlow', sans-serif;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s ease;
}

.cf-btn-enviar:hover {
    background: #b0021f;
}

/* ===== Info box ===== */
.cf-info-box {
    padding: 0;
}

.cf-info-title {
    font-family: 'Barlow', sans-serif;
    font-size: 16px;
    font-weight: 900;
    text-transform: uppercase;
    color: #111;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

.cf-divider {
    width: 40px;
    height: 3px;
    background: #d90429;
    margin-bottom: 28px;
}

.cf-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.cf-info-icon {
    width: 38px;
    height: 38px;
    border: 1.5px solid #d90429;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #d90429;
    font-size: 16px;
    transition: background 0.2s ease;
}

.cf-info-item:hover .cf-info-icon {
    background: #d90429;
    color: #fff;
}

.cf-info-text {
    font-size: 13px;
    color: #555;
    line-height: 1.7;
    padding-top: 6px;
}


/* ============================================================
   TIENDA â€“ partes.php
   ============================================================ */

/* --- Banner --- */
.partes-banner {
    background: #f8f8f8;
    padding: 20px 0 10px;
    border-bottom: 1px solid #e8e8e8;
}
.partes-banner-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--ec-marca);
    margin-bottom: 6px;
    text-transform: uppercase;
}
.partes-banner-title {
    font-size: 36px;
    font-weight: 800;
    color: #111;
    margin-bottom: 8px;
}
.partes-banner-title .text-red-vaenz { color: var(--ec-marca); }
.partes-banner-sub {
    color: #666;
    font-size: 15px;
    margin: 0;
}

/* --- Layout --- */
.tienda-section {
    padding: 0 0 60px;
    background: #fff;
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.tienda-sidebar {
    background: #fff;
    border-right: 1px solid #e8e8e8;
    min-height: 600px;
    position: sticky;
    top: 0;
    align-self: flex-start;
}
.tsb-inner {
    padding: 0;
}
.tsb-header {
    background: #ffcc6f;
    color: #000000;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 14px 20px;
    text-transform: uppercase;
}
.tsb-no-filtros {
    font-size: 12px;
    color: #999;
    padding: 12px 20px 4px;
    margin: 0;
    font-style: italic;
}

/* Grupos */
.tsb-grupo {
    border-bottom: 1px solid #ebebeb;
}
.tsb-grupo-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 20px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: #222;
    user-select: none;
    transition: background .15s;
}
.tsb-grupo-header:hover { background: #f7f7f7; }
.tsb-toggle-icon { font-size: 10px; color: #888; }
.tsb-grupo-body {
    padding: 4px 20px 14px;
}
.tsb-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #444;
    padding: 4px 0;
    cursor: pointer;
    line-height: 1.4;
}
.tsb-check input { accent-color: var(--ec-marca); width: 14px; height: 14px; cursor: pointer; }
.tsb-cnt { color: #999; font-size: 11px; }

/* Stars */
.tsb-stars .tsb-star-row { color: #f4a01a; font-size: 12px; display: flex; gap: 2px; }
.tsb-stars .tsb-cnt { color: #888; font-size: 11px; }

/* Precio inputs */
.tsb-precio-range { display: flex; flex-wrap: wrap; gap: 6px; }
.tsb-precio-input {
    width: calc(50% - 4px);
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 6px 10px;
    font-size: 12px;
    outline: none;
    transition: border-color .2s;
}
.tsb-precio-input:focus { border-color: var(--ec-marca); }
.tsb-precio-btn {
    background: var(--ec-marca);
    color: #fff;
    border: none;
    padding: 7px 14px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s;
    width: 100%;
}
.tsb-precio-btn:hover { background: var(--ec-marca-dark); }

/* ============================================================
   MAIN AREA
   ============================================================ */
.tienda-main {
    padding: 0;
}

/* Toolbar */
.tienda-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-bottom: 1px solid #ebebeb;
    background: #fafafa;
    flex-wrap: wrap;
    gap: 10px;
}
.tienda-toolbar-bottom { border-top: 1px solid #ebebeb; border-bottom: none; margin-top: 24px; }
.tt-left { display: flex; align-items: center; gap: 10px; }
.tt-right { display: flex; align-items: center; gap: 6px; }
.tt-sort-label { font-size: 13px; color: #555; white-space: nowrap; }
.tt-sort-select {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 7px 28px 7px 10px;
    font-size: 13px;
    color: #333;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23888'/%3E%3C/svg%3E") no-repeat right 10px center;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    outline: none;
    transition: border-color .2s;
}
.tt-sort-select:focus { border-color: var(--ec-marca); }
.tt-conteo { font-size: 13px; color: #666; }

/* Pagination */
.tt-pagination { display: flex; align-items: center; gap: 4px; }
.tt-page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
    color: #444;
    text-decoration: none;
    transition: all .2s;
    background: #fff;
}
.tt-page:hover { border-color: var(--ec-marca); color: var(--ec-marca); }
.tt-page.active { background: var(--ec-marca); color: #fff; border-color: var(--ec-marca); }
.tt-page-next { min-width: 32px; }

/* Product grid padding */
#productosGrid {
    padding: 20px 20px 0;
}

/* ============================================================
   PRODUCT CARD
   ============================================================ */
.producto-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
}
.producto-card:hover {
    color: inherit;
}
.producto-img-wrap {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #f0f0f0;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}
.producto-img-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Badge */
.producto-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 3px 9px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    z-index: 1;
}
.badge-new  { background: #1a1a1a; color: #fff; }
.badge-sale { background: var(--ec-marca); color: #fff; }
.badge-out  { background: #888; color: #fff; }

/* Body */
.producto-body {
    padding: 12px 14px 14px;
}
.prod-rating { color: #f4a01a; font-size: 11px; display: flex; gap: 2px; margin-bottom: 6px; }
.producto-nombre {
    font-size: 13px;
    font-weight: 600;
    color: #222;
    margin-bottom: 8px;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.producto-precios { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.precio-actual { font-size: 15px; font-weight: 700; color: var(--ec-marca); }
.precio-original { font-size: 12px; color: #aaa; text-decoration: line-through; }

/* Add to cart btn */
.prod-add-btn {
    width: 100%;
    background: #ffcc6f;
    color: #000000;
    border: none;
    border-radius: 5px;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s;
    text-align: center;
}
.prod-add-btn:hover { background: #f5af2d; color: #000; }

/* Detail button (same look as add-btn but no cart behavior) */
.prod-detail-btn {
    display: block;
    width: 100%;
    background: #ffcc6f;
    color: #000000;
    border: none;
    border-radius: 5px;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
}
.prod-detail-btn:hover { background: #f5af2d; color: #000; }

/* Color swatches en tarjetas de producto */
.producto-card-colores {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 10px;
    justify-content: center;
}
.producto-card-swatch {
    display: inline-block;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #e0e0e0;
    cursor: pointer;
    transition: border-color .2s, transform .2s;
}
.producto-card-swatch:hover,
.producto-card-swatch.active {
    border-color: #333;
    transform: scale(1.15);
}

/* Empty state */
.tienda-empty {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}
.tienda-empty i { font-size: 40px; display: block; margin-bottom: 16px; }
.tienda-empty p { font-size: 15px; margin-bottom: 20px; }

/* ============================================================
   RESPONSIVE â€“ Tablet (768 â€“ 991)
   ============================================================ */
@media (min-width: 768px) and (max-width: 991px) {
    .tienda-sidebar {
        position: relative;
        border-right: none;
        border-bottom: 1px solid #e8e8e8;
        min-height: auto;
    }
    .tsb-inner { display: flex; flex-wrap: wrap; }
    .tsb-header { width: 100%; }
    .tsb-no-filtros { width: 100%; }
    .tsb-grupo { border-right: 1px solid #ebebeb; flex: 1 1 180px; border-bottom: none; }
    .tsb-grupo:last-child { border-right: none; }
    #productosGrid { padding: 16px 10px 0; }
    .tienda-toolbar { padding: 12px 14px; }
}

/* ============================================================
   RESPONSIVE â€“ Mobile (< 768)
   ============================================================ */
@media (max-width: 767px) {
    .partes-banner-title { font-size: 26px; }
    .tienda-sidebar {
        position: relative;
        border-right: none;
        min-height: auto;
    }
    .tsb-grupo-header { padding: 12px 16px; }
    .tienda-toolbar { padding: 10px 14px; }
    .tt-sort-label { display: none; }
    .tienda-toolbar-bottom .tt-conteo { display: none; }
    #productosGrid { padding: 12px 8px 0; }
    .producto-nombre { font-size: 12px; }
    .precio-actual { font-size: 13px; }
    .prod-add-btn { font-size: 11px; padding: 7px 8px; }
    .prod-detail-btn { font-size: 11px; padding: 7px 8px; }
    .producto-card-swatch { width: 15px; height: 15px; }
    .producto-card-colores { gap: 4px; margin-bottom: 8px; }
}

/* =========================================================
   NOSOTROS â€“ About Section
   ========================================================= */
.nos-about-section {
    padding: 80px 0;
    background: #fff;
}
.nos-img-wrap {
    overflow: hidden;
    border-radius: 6px;
}
.nos-img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
}
.nos-tag {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--ec-marca);
    margin-bottom: 10px;
    text-transform: uppercase;
}
.nos-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 900;
    letter-spacing: 2px;
    color: #111;
    line-height: 1.1;
    margin-bottom: 14px;
}
.nos-divider {
    width: 54px;
    height: 4px;
    background: var(--ec-marca);
    border-radius: 2px;
    margin-bottom: 24px;
}
.nos-text {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 16px;
}

/* =========================================================
   CONTACTO â€“ Form v2
   ========================================================= */
.cf2-title {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 800;
    color: #111;
    margin-bottom: 6px;
}
.cf2-subtitle {
    font-size: 14px;
    color: #777;
    margin-bottom: 28px;
    line-height: 1.6;
}
.cf2-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #333;
    margin-bottom: 6px;
}
.cf2-req {
    color: var(--ec-marca);
}
.cf2-input {
    display: block;
    width: 100%;
    padding: 11px 14px;
    font-size: 14px;
    color: #333;
    background: #fff;
    border: 1.5px solid #ddd;
    border-radius: 5px;
    outline: none;
    transition: border-color .2s;
}
.cf2-input:focus {
    border-color: var(--ec-marca);
    box-shadow: 0 0 0 3px rgba(137,6,32,.08);
}
.cf2-textarea {
    resize: vertical;
    min-height: 130px;
}
/* Asunto pill buttons */
.cf2-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.cf2-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border: 1.5px solid #ddd;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    transition: border-color .2s, background .2s;
    user-select: none;
}
.cf2-pill:hover {
    border-color: var(--ec-marca);
    background: rgba(137,6,32,.05);
}
.cf2-pill input[type="radio"] { accent-color: var(--ec-marca); }
.cf2-pill input[type="radio"]:checked + * { color: var(--ec-marca); }
.cf2-pill:has(input:checked) {
    border-color: var(--ec-marca);
    background: rgba(137,6,32,.07);
    font-weight: 600;
}
/* Newsletter checkbox */
.cf2-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #555;
    cursor: pointer;
}
.cf2-check input[type="checkbox"] { accent-color: var(--ec-marca); width: 15px; height: 15px; }
/* Submit button */
.cf2-btn {
    display: inline-block;
    padding: 14px 40px;
    background: #111;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background .2s;
}
.cf2-btn:hover { background: var(--ec-marca); }

/* =========================================================
   INDEX – Lo Más Vendido
   ========================================================= */
.lmv-section {
    padding: 70px 0 60px;
    background: #fff;
}
.lmv-header {
    text-align: center;
    margin-bottom: 6px;
}
.lmv-title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    color: #111;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.lmv-title::after {
    content: '';
    display: block;
    width: 54px;
    height: 4px;
    background: var(--ec-marca);
    border-radius: 2px;
    margin: 12px auto 0;
}
.lmv-controls-bar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 16px;
}
#lmvControls {
    display: flex;
    gap: 8px;
}
#lmvControls button {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid #ddd;
    background: #fff;
    cursor: pointer;
    font-size: 14px;
    transition: all .2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
#lmvControls button:hover {
    background: var(--ec-marca);
    border-color: var(--ec-marca);
    color: #fff;
}
#lmvSlider .producto-card {
    margin: 0 6px;
}
.lmv-ver-todo {
    display: inline-block;
    padding: 11px 32px;
    border: 2px solid #111;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #111;
    text-decoration: none;
    border-radius: 3px;
    transition: all .2s;
}
.lmv-ver-todo:hover {
    background: var(--ec-marca);
    border-color: var(--ec-marca);
    color: #fff;
}

/* =========================================================
   INDEX – Nuestras Categorías
   ========================================================= */
.idx-cats-section {
    padding: 70px 0;
    background: #f8f8f8;
    overflow: hidden;
}

/* Carrusel infinito */
.idx-cat-carousel-wrap {
    overflow: hidden;
    width: 100%;
    padding: 10px 0 20px;
}
.idx-cat-track {
    display: flex;
    gap: 32px;
    width: max-content;
    animation: idxCatScroll 30s linear infinite;
}
.idx-cat-slide {
    flex-shrink: 0;
    width: 170px;
    text-align: center;
}
@keyframes idxCatScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.idx-cats-title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    color: #111;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.idx-cats-title::after {
    content: '';
    display: block;
    width: 54px;
    height: 4px;
    background: var(--ec-marca);
    border-radius: 2px;
    margin: 12px auto 0;
}
.idx-cat-item {
    display: block;
    text-decoration: none;
}
.idx-cat-circle {
    width: 170px;
    height: 170px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 14px;
    border: 3px solid #e8e8e8;
    transition: border-color .2s, transform .2s;
}
.idx-cat-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.idx-cat-item:hover .idx-cat-circle {
    border-color: var(--ec-marca);
    transform: translateY(-4px);
}
.idx-cat-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin: 0;
    transition: color .2s;
}
.idx-cat-item:hover .idx-cat-name {
    color: var(--ec-marca);
}

/* =========================================================
   INDEX – Highlights Bar
   ========================================================= */
.idx-highlights {
    padding: 60px 0;
    background: #fff;
}
.idx-hl-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    padding: 22px 28px;
    flex-wrap: wrap;
    gap: 0;
}
.idx-hl-item {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    min-width: 140px;
    padding: 8px 10px;
}
.idx-hl-item i {
    font-size: 30px;
    color: #222;
    flex-shrink: 0;
}
.idx-hl-item strong {
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #111;
}
.idx-hl-item span {
    display: block;
    font-size: 11px;
    color: #888;
    margin-top: 2px;
}
.idx-hl-sep {
    width: 1px;
    height: 40px;
    background: #e0e0e0;
    flex-shrink: 0;
}
@media (max-width: 768px) {
    .idx-hl-bar { flex-direction: column; gap: 16px; padding: 20px 16px; }
    .idx-hl-sep { width: 100%; height: 1px; }
    .idx-hl-item { min-width: 100%; }
}


/* =========================================================
   CARRITO PAGE  carrito.php
   ========================================================= */
.cart-page-section {
    padding: 60px 0 80px;
    background: #fff;
    min-height: 55vh;
}

/*  Estado vacio  */
.cart-page-empty {
    text-align: center;
    padding: 70px 20px;
}
.cart-page-empty-icon {
    font-size: 64px;
    color: #ddd;
    display: block;
    margin-bottom: 20px;
}
.cart-page-empty-title {
    font-size: 22px;
    font-weight: 700;
    color: #222;
    margin-bottom: 8px;
}
.cart-page-empty-sub {
    font-size: 14px;
    color: #888;
    margin-bottom: 28px;
}

/*  Botones reutilizables  */
.cart-page-btn-primary {
    display: inline-block;
    padding: 13px 32px;
    background: var(--ec-marca);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    border: none;
    text-decoration: none;
    transition: background .2s, transform .15s;
    cursor: pointer;
    text-align: center;
}
.cart-page-btn-primary:hover {
    background: #6b0418;
    color: #fff;
    transform: translateY(-1px);
}
.cart-page-btn-outline {
    display: inline-flex;
    align-items: center;
    padding: 10px 22px;
    border: 2px solid #222;
    color: #222;
    font-size: 13px;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none;
    transition: all .2s;
}
.cart-page-btn-outline:hover {
    background: #222;
    color: #fff;
}
.cart-page-btn-danger {
    display: inline-flex;
    align-items: center;
    padding: 10px 22px;
    border: 2px solid #dc3545;
    color: #dc3545;
    font-size: 13px;
    font-weight: 600;
    border-radius: 4px;
    background: none;
    cursor: pointer;
    transition: all .2s;
}
.cart-page-btn-danger:hover {
    background: #dc3545;
    color: #fff;
}

/*  Tabla  */
.cart-page-table-wrap {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    overflow: hidden;
}
.cart-page-table {
    width: 100%;
    border-collapse: collapse;
}
.cart-page-table thead tr {
    background: #f7f7f7;
    border-bottom: 2px solid #ebebeb;
}
.cart-page-table thead th {
    padding: 14px 16px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #555;
}
.cpt-row {
    border-bottom: 1px solid #f4f4f4;
    transition: background .15s;
}
.cpt-row:last-child { border-bottom: none; }
.cpt-row:hover { background: #fafafa; }
.cpt-row td {
    padding: 16px;
    vertical-align: middle;
}

/* Miniatura */
.cpt-thumb {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #ebebeb;
    display: block;
}

/* Nombre + color */
.cpt-name {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #222;
    margin-bottom: 3px;
}
.cpt-color {
    display: block;
    font-size: 11px;
    color: #999;
    text-transform: capitalize;
}

/* Columnas de precio/subtotal */
.cpt-col-price,
.cpt-col-subtotal {
    font-size: 14px;
    font-weight: 600;
    color: var(--ec-marca);
    white-space: nowrap;
}
.cpt-col-subtotal { color: #111; }

/* Cantidad */
.cpt-qty-wrap {
    display: inline-flex;
    align-items: center;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}
.cpt-qty-btn {
    width: 32px;
    height: 32px;
    background: #f5f5f5;
    border: none;
    font-size: 16px;
    font-weight: 700;
    color: #333;
    cursor: pointer;
    transition: background .15s;
    line-height: 1;
}
.cpt-qty-btn:hover { background: #e8e8e8; }
.cpt-qty-val {
    min-width: 34px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #222;
    padding: 0 4px;
}

/* Eliminar */
.cpt-del-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid #e0e0e0;
    background: none;
    color: #aaa;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    transition: all .2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cpt-del-btn:hover {
    background: #dc3545;
    border-color: #dc3545;
    color: #fff;
}

/* Acciones inferiores de la tabla */
.cart-page-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    flex-wrap: wrap;
}

/*  Resumen  */
.cart-page-summary {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    padding: 28px 24px;
}
.cps-title {
    font-size: 16px;
    font-weight: 800;
    color: #111;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 2px solid #f0f0f0;
}
.cps-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #555;
    margin-bottom: 12px;
}
.cps-row strong { color: #222; }
.cps-envio { color: #28a745; font-weight: 700; }
.cps-divider {
    height: 1px;
    background: #f0f0f0;
    margin: 14px 0;
}
.cps-total {
    font-size: 16px;
    font-weight: 700;
}
.cps-total span, .cps-total strong { color: #111; font-size: 18px; }
.cps-total strong { color: var(--ec-marca); }
.cps-note {
    font-size: 11px;
    color: #aaa;
    text-align: center;
    margin-top: 14px;
    margin-bottom: 0;
}

/*  Info box  */
.cart-page-info-box {
    margin-top: 16px;
    background: #f9f9f9;
    border-radius: 8px;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.cpib-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.cpib-icon {
    font-size: 18px;
    color: var(--ec-marca);
    flex-shrink: 0;
    margin-top: 2px;
}
.cpib-item div { display: flex; flex-direction: column; gap: 2px; }
.cpib-item strong { font-size: 13px; color: #222; font-weight: 700; }
.cpib-item span   { font-size: 11px; color: #999; }

/*  Responsive  */
@media (max-width: 767px) {
    .cart-page-table thead { display: none; }
    .cpt-row { display: flex; flex-wrap: wrap; padding: 14px 0; gap: 8px; }
    .cpt-row td { display: block; padding: 4px 10px; border: none !important; }
    .cpt-col-img { width: 80px; }
    .cpt-col-name { flex: 1; }
    .cpt-col-price,
    .cpt-col-qty,
    .cpt-col-subtotal,
    .cpt-col-del { width: auto; }
}
/* =========================================================
   CHECKOUT PAGE  checkout.php
   ========================================================= */
.ck-section {
    padding: 50px 0 80px;
    background: #f7f7f7 !important;
}

/*  Barra de pasos  */
.ck-steps-bar {
    background: #fff;
    border-bottom: 1px solid #ebebeb;
    padding: 18px 0;
}
.ck-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}
.ck-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 80px;
}
.ck-step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #ddd;
    background: #fff;
    color: #bbb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all .2s;
}
.ck-step span {
    font-size: 11px;
    font-weight: 600;
    color: #bbb;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.ck-step.done .ck-step-circle {
    background: var(--ec-marca);
    border-color: var(--ec-marca);
    color: #fff;
}
.ck-step.done span { color: var(--ec-marca); }
.ck-step.active .ck-step-circle {
    background: var(--ec-marca);
    border-color: var(--ec-marca);
    color: #fff;
    box-shadow: 0 0 0 4px rgba(137,6,32,.15);
}
.ck-step.active span { color: var(--ec-marca); font-weight: 800; }
.ck-step-line {
    flex: 1;
    height: 2px;
    background: #e0e0e0;
    margin-bottom: 22px;
    max-width: 80px;
    min-width: 30px;
}
.ck-step-line.done { background: var(--ec-marca); }

/*  Cards de seccion  */
.ck-card {
    background: #fff;
    border-radius: 8px;
    border: 1px solid #f0f0f0;
    padding: 28px 24px;
}
.ck-card-title {
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #111;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 2px solid #f4f4f4;
}

/*  Inputs  */
.ck-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 6px;
}
.ck-input {
    width: 100%;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    padding: 10px 14px;
    font-size: 13px;
    color: #333;
    background: #fafafa;
    transition: border-color .2s, box-shadow .2s;
    outline: none;
    font-family: inherit;
    appearance: none;
}
.ck-input:focus {
    border-color: var(--ec-marca);
    box-shadow: 0 0 0 3px rgba(137,6,32,.08);
    background: #fff;
}
.ck-input.ck-input-error {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220,53,69,.1);
}
.ck-textarea {
    min-height: 90px;
    resize: vertical;
}

/*  Metodos de pago  */
.ck-payment-methods {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.ck-method-option {
    border: 2px solid #e8e8e8;
    border-radius: 7px;
    padding: 14px 18px;
    cursor: pointer;
    transition: border-color .2s, background .2s;
    display: block;
}
.ck-method-option input[type="radio"] { display: none; }
.ck-method-option:hover { border-color: #c0c0c0; }
.ck-method-option.selected {
    border-color: var(--ec-marca);
    background: #fff7f8;
}
.ck-method-head {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #222;
}
.ck-method-icon {
    font-size: 18px;
    color: var(--ec-marca);
    width: 22px;
    text-align: center;
}
.paypal-color { color: #003087; }
.ck-card-logos {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
}
.ck-badge-coming {
    margin-left: auto;
    background: #f0f0f0;
    color: #999;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    text-transform: uppercase;
}
.ck-bank-box {
    background: #f8f8f8;
    border-radius: 5px;
    padding: 14px 16px;
    font-size: 13px;
    color: #444;
    line-height: 1.9;
}
.ck-bank-box p { margin: 0; }
.ck-bank-note {
    margin-top: 8px !important;
    font-size: 12px;
    color: #888;
    border-top: 1px solid #e8e8e8;
    padding-top: 8px;
}
.ck-input-icon-wrap { position: relative; }
.ck-input-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #bbb;
    font-size: 14px;
    pointer-events: none;
}

/*  Resumen  */
.ck-summary-card {
    background: #fff;
    border-radius: 8px;
    border: 1px solid #f0f0f0;
    padding: 26px 22px;
    position: sticky;
    top: 80px;
}
.ck-item-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 4px;
    max-height: 260px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #e0e0e0 transparent;
}
.ck-item-row {
    display: flex;
    align-items: center;
    gap: 10px;
}
.ck-item-thumb {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 5px;
    border: 1px solid #ebebeb;
    flex-shrink: 0;
}
.ck-item-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.ck-item-name {
    font-size: 12px;
    font-weight: 600;
    color: #222;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ck-item-qty {
    font-size: 11px;
    color: #999;
}
.ck-item-price {
    font-size: 13px;
    font-weight: 700;
    color: #111;
    white-space: nowrap;
}
.ck-summary-divider {
    height: 1px;
    background: #f0f0f0;
    margin: 14px 0;
}
.ck-sum-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #555;
    margin-bottom: 8px;
}
.ck-sum-row strong { color: #222; }
.ck-envio-free { color: #28a745; font-weight: 700; }
.ck-sum-total {
    font-size: 16px;
    font-weight: 700;
}
.ck-sum-total span, .ck-sum-total strong { font-size: 18px; color: #111; }
.ck-sum-total strong { color: var(--ec-marca); }
.ck-back-link {
    display: block;
    text-align: center;
    font-size: 12px;
    color: #888;
    margin-top: 14px;
    text-decoration: none;
    transition: color .2s;
}
.ck-back-link:hover { color: var(--ec-marca); }

.ck-security-badges {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 16px;
    flex-wrap: wrap;
}
.ck-security-badges span {
    font-size: 11px;
    color: #aaa;
    display: flex;
    align-items: center;
    gap: 4px;
}
.ck-security-badges i { color: #28a745; }

/*  Modal de confirmacion  */
.ck-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
}
.ck-modal-overlay.show {
    opacity: 1;
    pointer-events: all;
}
.ck-modal {
    background: #fff;
    border-radius: 12px;
    padding: 44px 36px;
    max-width: 420px;
    width: 90%;
    text-align: center;
    transform: scale(.9);
    transition: transform .3s;
}
.ck-modal-overlay.show .ck-modal { transform: scale(1); }
.ck-modal-icon {
    font-size: 56px;
    color: #28a745;
    margin-bottom: 16px;
}
.ck-modal-title {
    font-size: 22px;
    font-weight: 800;
    color: #111;
    margin-bottom: 10px;
}
.ck-modal-sub {
    font-size: 13px;
    color: #666;
    margin-bottom: 14px;
}
.ck-modal-order {
    font-size: 13px;
    color: #888;
    margin-bottom: 24px;
}
.ck-modal-order strong { color: var(--ec-marca); font-size: 15px; }

/*  Responsive  */
@media (max-width: 767px) {
    .ck-steps { gap: 0; }
    .ck-step-line { max-width: 30px; min-width: 15px; }
    .ck-step { min-width: 54px; }
    .ck-step span { font-size: 9px; }
    .ck-summary-card { position: static; }
}

