*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

#footer {
    width: 100vw;
    margin: 0;
    padding: 60px 0 20px 0;
    background: #111;
    position: relative;
    left: 0;
}

#footer .container-fluid {
    width: 100%;
    max-width: 100%;
}
/* ========================================= */
/* MAIN */
/* ========================================= */

main{

    margin-bottom: 0 !important;
    padding-bottom: 0 !important;

}

/* ========================================= */
/* ULTIMA SECTION */
/* ========================================= */

section:last-of-type{

    margin-bottom:0 !important;
    padding-bottom:0 !important;

}

/* SECCIONES */

section{

    margin-bottom:0 !important;

}


/* ==================================================
   TOPBAR
================================================== */

.topbar{
    background:#ff0000;
    color:white;
    text-align:center;
    padding:12px;
    font-size:.9rem;
    font-weight:600;
    letter-spacing:.5px;
}

/* ==================================================
   NAVBAR
================================================== */

.custom-navbar{
    background:white;
    padding:16px 0;
    box-shadow:0 3px 15px rgba(0,0,0,.06);
}

.logo img{
    width:180px;
}

/* LINKS */

.navbar-nav{
    gap:10px;
}

.nav-link{
    color:#111 !important;
    font-weight:700;
    font-size:.95rem;
    transition:.3s;
}

.nav-link:hover{
    color:#c1121f !important;
}

/* DROPDOWN */

.custom-dropdown{
    border:none;
    border-radius:18px;
    padding:10px;
    box-shadow:0 10px 30px rgba(0,0,0,.1);
}

.dropdown-item{
    border-radius:10px;
    padding:12px 15px;
    transition:.2s;
    font-weight:600;
}

.dropdown-item:hover{
    background:#f5f5f5;
    padding-left:20px;
}

/* ==================================================
   SEARCH
================================================== */

.search-container{
    width:100%;
    max-width:420px;
}

.search-input{
    border-radius:14px 0 0 14px !important;
    border:1px solid #ddd;
    padding:13px;
    box-shadow:none !important;
}

.search-button{
    border:none;
    background:#111;
    color:white;
    width:60px;
    border-radius:0 14px 14px 0;
    transition:.3s;
}

.search-button:hover{
    background:#c1121f;
}

/* ==================================================
   HEADER ICONS
================================================== */

.header-icons{
    display:flex;
    align-items:center;
    gap:25px;
}

.icon-box{
    text-decoration:none;
    color:#111;
    display:flex;
    align-items:center;
    gap:10px;
    font-weight:700;
    transition:.3s;
}

.icon-box:hover{
    color:#c1121f;
}

.logged-user{
    display:flex;
    align-items:center;
    gap:10px;
}

.hello-user{
    font-weight:700;
    font-size:.95rem;
}

.logout-link{
    font-size:.85rem;
    color:#6c2bd9;
    text-decoration:none;
}

.logout-link:hover{
    color:black;
}

/* ==================================================
   HERO
================================================== */

.hero-section{
    padding:90px 0;
    background:white;
}

.hero-content h1{
    font-size:4rem;
    font-weight:900;
    line-height:1.1;
    margin:20px 0;
}

.hero-content p{
    color:#666;
    font-size:1.1rem;
    line-height:1.7;
    margin-bottom:30px;
}

.hero-label{
    background:#111;
    color:white;
    padding:10px 18px;
    border-radius:999px;
    font-size:.85rem;
    font-weight:700;
    display:inline-block;
}

.hero-buttons{
    display:flex;
    gap:15px;
    margin-bottom:40px;
}

.hero-btn{
    background:#111;
    color:white;
    padding:15px 28px;
    border-radius:14px;
    text-decoration:none;
    font-weight:700;
    transition:.3s;
}

.hero-btn:hover{
    background:#c1121f;
    color:white;
}

.hero-outline{
    border:2px solid #111;
    color:#111;
    padding:15px 28px;
    border-radius:14px;
    text-decoration:none;
    font-weight:700;
    transition:.3s;
}

.hero-outline:hover{
    background:#111;
    color:white;
}

.hero-image-wrapper{
    position:relative;
}

.hero-image{
    border-radius:30px;
    box-shadow:0 20px 40px rgba(0,0,0,.12);
}

/* ==================================================
   FEATURES
================================================== */

.hero-features{
    display:flex;
    gap:20px;
    flex-wrap:wrap;
}

.feature-box{
    background:#fff;
    border-radius:14px;
    padding:12px 18px;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
    display:flex;
    align-items:center;
    gap:10px;
    font-weight:600;
}

/* ==================================================
   SECTION HEADER
================================================== */

.section-header span{
    color:#c1121f;
    font-weight:800;
    letter-spacing:1px;
}

.section-header h2{
    font-size:2.8rem;
    font-weight:900;
    margin-top:10px;
}
.main-header{
    width:100%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:22px 60px;
    background:white;
    gap:40px;
}

/* IZQUIERDA */

.header-left{
    display:flex;
    align-items:center;
    gap:30px;
}

/* ==================================================
   CATEGORIES
================================================== */

.category-card{
    position:relative;
    border-radius:24px;
    overflow:hidden;
    display:block;
}

.category-card img{
    width:100%;
    height:350px;
    object-fit:cover;
    transition:.4s;
    border-radius: 60px;
}

.category-card:hover img{
    transform:scale(1.06);
}

.category-content{
    position:absolute;
    inset:0;
    background:linear-gradient(
        to top,
        rgba(0,0,0,.7),
        transparent
    );

    display:flex;
    align-items:flex-end;
    padding:25px;
}

.category-content h3{
    color:white;
    font-size:1.7rem;
    font-weight:800;
}


.search-box{
    display:flex;
    align-items:center;
}

.search-box input{
    width:420px;
    height:60px;
    border:none;
    background:#f3f3f3;
    padding:0 20px;
    font-size:1rem;
    outline:none;
    border-radius:12px 0 0 12px;
}

.search-box button{
    width:70px;
    height:60px;
    border:none;
    background:black;
    color:white;
    font-size:1.2rem;
    border-radius:0 12px 12px 0;
    cursor:pointer;
}

/* DERECHA */

.header-right{
    display:flex;
    align-items:center;
    gap:40px;
}

/* NAV */

nav ul{
    display:flex;
    align-items:center;
    gap:35px;
    list-style:none;
}

nav ul li a{
    text-decoration:none;
    color:black;
    font-weight:700;
    font-size:1rem;
}

/* ICONOS */

.header-icons{
    display:flex;
    align-items:center;
    gap:25px;
}

/* LOGIN */

.icon-box{
    display:flex;
    align-items:center;
    gap:10px;
    text-decoration:none;
    color:black;
    font-weight:700;
}

/* CARRITO */

.cart-box{
    position:relative;
    display:flex;
    align-items:center;
    gap:10px;
    text-decoration:none;
    color:black;
    font-weight:700;
}

.cart-count{
    position:absolute;
    top:-10px;
    right:-12px;
    width:22px;
    height:22px;
    background:#d61f26;
    color:white;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:.8rem;
    font-weight:700;
}
/* ==================================================
   PROMO
================================================== */

.promo-wrapper{
    background:#111;
    color:white;
    border-radius:30px;
    padding:60px;
}

.promo-wrapper h2{
    font-size:2.5rem;
    font-weight:900;
}

.promo-wrapper p{
    color:#ccc;
    margin-top:15px;
}

.promo-btn{
    background:white;
    color:#111;
    padding:16px 30px;
    border-radius:14px;
    text-decoration:none;
    font-weight:700;
}
.container-fluid {
    padding-left: 0;
    padding-right: 0;
}
.container-fluid.pb-0 {
    padding-left: 40px;
    padding-right: 40px;
}

/* GRID */

.row.g-4 {
    justify-content: center;
}

/* CARD PRODUCTO */

.product-card {
    background: white;
    border-radius: 18px;
    padding: 18px;
    text-align: center;
    transition: 0.3s;
    border: 1px solid #e5e5e5;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    height: 100%;
}

/* HOVER */

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* IMAGEN */

.product-card img {
    width: 100%;
    max-width: 240px;
    height: 320px;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 15px;
}

/* TITULO */

.product-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

/* PRECIO */

.price {
    font-size: 1.3rem;
    font-weight: bold;
    color: #111;
    margin-bottom: 15px;
}

/* BOTON */

.add-cart-btn {
    background: black;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 10px;
    width: 100%;
    font-weight: 600;
    transition: 0.3s;
}

.add-cart-btn:hover {
    background: red;
}
#footer {
    margin: 0 !important;
    padding: 60px 0 20px 0;
    width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw !important;
    background: #0f0f0f;
    color: white;
}

/* TITULOS */

#footer h2,
#footer h4 {
    color: white;
    font-weight: 700;
}

/* TEXTOS */

#footer p,
#footer a,
#footer li {
    color: #bdbdbd;
    text-decoration: none;
    transition: 0.3s;
}

/* HOVER LINKS */

#footer a:hover {
    color: white;
}

/* ICONOS */

.social-icon {
    width: 45px;
    height: 45px;
    background: #1b1b1b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: 0.3s;
    font-size: 18px;
}

.social-icon:hover {
    background: red;
    color: black;
    transform: translateY(-3px);
}

/* LINEA */

#footer hr {
    border-color: rgba(255,255,255,0.15);
}

/* COPYRIGHT */

#footer .text-secondary {
    color: #8d8d8d !important;
}
/* =========================================
MODAL
========================================= */

.product-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    padding: 20px;
}

.product-modal.active {
    display: flex;
}

/* =========================================
CONTENT
========================================= */

.product-modal-content {
    width: 100%;
    max-width: 1050px;
    background: #0d0d0d;
    border: 1px solid rgba(214, 31, 38, 0.25);
    border-radius: 28px;
    padding: 0;
    display: flex;
    position: relative;
    color: white;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(214,31,38,.15);
    animation: modalShow .28s cubic-bezier(.34,1.56,.64,1);
    overflow: hidden;
    max-height: 90vh;
}

@keyframes modalShow {
    from { transform: scale(.88) translateY(20px); opacity: 0; }
    to   { transform: scale(1) translateY(0);      opacity: 1; }
}

/* =========================================
CLOSE
========================================= */

.close-modal {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 50%;
    color: white;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: .25s;
    z-index: 10;
}

.close-modal:hover {
    background: #d61f26;
    border-color: #d61f26;
}

/* =========================================
LEFT
========================================= */

.modal-left {
    flex: 1.1;
    background: linear-gradient(145deg, #1a0000 0%, #111 60%, #0d0d0d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 30px;
    min-height: 480px;
}

.modal-img-wrapper {
    position: relative;
    width: 100%;
    max-width: 380px;
}

.modal-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: #d61f26;
    color: white;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    padding: 5px 12px;
    border-radius: 999px;
    text-transform: uppercase;
    z-index: 2;
}

.modal-left img {
    width: 100%;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 20px 50px rgba(0,0,0,.6);
    display: block;
}

/* =========================================
RIGHT
========================================= */

.modal-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 40px 35px 35px 35px;
    overflow-y: auto;
}

/* BRAND TAG */

.modal-brand-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(214, 31, 38, .12);
    border: 1px solid rgba(214, 31, 38, .3);
    color: #e84040;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 5px 14px;
    border-radius: 999px;
    text-transform: uppercase;
    margin-bottom: 18px;
    width: fit-content;
}

/* TITLE */

.modal-right h2 {
    font-size: 2rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -.5px;
    color: #fff;
}

/* PRICE ROW */

.modal-price-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 4px;
}

.modal-price-label {
    font-size: .8rem;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-right h3 {
    font-size: 2rem;
    font-weight: 900;
    color: #d61f26;
    margin: 0;
}

/* DIVIDER */

.modal-divider {
    height: 1px;
    background: rgba(255,255,255,.08);
    margin: 20px 0;
}

/* =========================================
TALLES
========================================= */

.modal-sizes-section {
    margin-bottom: 4px;
}

.modal-sizes-label {
    font-size: .85rem;
    font-weight: 700;
    color: #ccc;
    text-transform: uppercase;
    letter-spacing: .8px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 7px;
}

.modal-size-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.modal-size-btn {
    width: 52px;
    height: 52px;
    border: 2px solid rgba(255,255,255,.15);
    background: rgba(255,255,255,.04);
    color: #ccc;
    font-size: .9rem;
    font-weight: 800;
    border-radius: 12px;
    cursor: pointer;
    transition: .2s;
    letter-spacing: .5px;
}

.modal-size-btn:hover {
    border-color: #d61f26;
    color: white;
    background: rgba(214,31,38,.12);
}

.modal-size-btn.selected {
    background: #d61f26;
    border-color: #d61f26;
    color: white;
    box-shadow: 0 4px 18px rgba(214,31,38,.45);
    transform: scale(1.06);
}

.modal-size-hint {
    font-size: .8rem;
    color: #666;
    margin: 0;
    font-style: italic;
}

/* =========================================
BTN AGREGAR
========================================= */

.modal-add-btn {
    width: 100%;
    height: 58px;
    border: none;
    border-radius: 14px;
    background: #d61f26;
    color: white;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    transition: .25s;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.modal-add-btn:hover:not(:disabled) {
    background: #ff2a2a;
    box-shadow: 0 8px 28px rgba(214,31,38,.5);
    transform: translateY(-2px);
}

.modal-add-btn:disabled {
    background: rgba(255,255,255,.08);
    color: #555;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

/* =========================================
PREVIEW CARRITO
========================================= */

.modal-cart-preview {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 16px;
    padding: 18px;
    max-height: 220px;
    overflow-y: auto;
}

.modal-cart-preview:empty {
    display: none;
}

/* ITEM */

.preview-item {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255,255,255,.06);
}

.preview-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

/* IMG */

.preview-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
}

/* INFO */

.preview-info {
    flex: 1;
}

.preview-info h4 {
    font-size: .9rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: #eee;
}

.preview-info p {
    color: #888;
    font-size: .82rem;
    margin: 0;
}

/* TOTAL */

.preview-total {
    margin-top: 14px;
    text-align: right;
    font-size: 1.1rem;
    font-weight: 900;
    color: #d61f26;
    padding-top: 10px;
    border-top: 1px solid rgba(214,31,38,.2);
}

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


/* =========================================
TOAST
========================================= */

#toast{

    position:fixed;

    top:30px;
    left:50%;

    transform:translateX(-50%);

    background:#16a34a;

    color:white;

    padding:18px 30px;

    border-radius:14px;

    font-weight:700;

    font-size:1rem;

    z-index:999999999;

    opacity:0;

    visibility:hidden;

    transition:.35s;

    box-shadow:0 10px 30px rgba(0,0,0,.25);

}

/* SHOW */

#toast.show{

    opacity:1;

    visibility:visible;

    top:45px;

}
/* TOAST */

#toast{

    position:fixed;

    top:-100px;
    left:50%;

    transform:translateX(-50%);

    background:#16a34a;

    color:white;

    padding:18px 28px;

    border-radius:14px;

    font-weight:700;

    z-index:999999999;

    transition:.4s;

}

#toast.show{

    top:30px;

}
/* MOBILE NAV */

.mobile-top{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
}

.mobile-search{
    flex:1;
}

.mobile-search .search-input{
    height:42px;
    border-radius:12px 0 0 12px;
    font-size:14px;
}

.mobile-search .search-button{
    border-radius:0 12px 12px 0;
}

.mobile-actions{
    display:flex;
    align-items:center;
    gap:10px;
}

.mobile-cart{
    color:#000;
    font-size:22px;
    text-decoration:none;
}

.mobile-top .logo img{
    width:42px;
}

.navbar-toggler{
    border:none !important;
    box-shadow:none !important;
}

/* DESKTOP */

@media(min-width:992px){

    .search-container{
        width:500px;
    }

}
.mobile-login-btn{
    display:flex;
    justify-content:center;
    align-items:center;
    width:100%;
    text-align:center;
    text-decoration:none;
    color:#000;
    font-weight:700;
    font-size:16px;
    padding:12px 0;
}
.mobile-logout{
    display:flex;
    justify-content:center;
    align-items:center;
    width:100%;
    text-align:center;
    text-decoration:none;
    color:#000;
    font-weight:600;
    font-size:14px;
    padding-bottom:10px;
}
@media (max-width:768px){

    .row.g-4{
        --bs-gutter-x: 10px !important;
        --bs-gutter-y: 10px !important;
    }

    .row.g-4 > div{
        width:50% !important;
        max-width:50% !important;
        flex:0 0 50% !important;
    }

    .product-card{
        width:100%;
        padding:10px;
    }

    .product-card img{
        width:100%;
        height:auto;
    }

    .product-card h3{
        font-size:13px;
    }

    .price{
        font-size:14px;
    }

    .add-cart-btn{
        width:100%;
        font-size:13px;
        padding:10px;
    }

}
.mobile-login-btn{
    text-decoration:none;
    color:#000;
    font-weight:600;
    font-size:14px;
}
.mobile-login-btn{
    display:flex;
    justify-content:center;
    align-items:center;
    width:100%;
    text-align:center;
    text-decoration:none;
    color:#000;
    font-weight:700;
    font-size:16px;
    padding:12px 0;
}
.mobile-logout{
    display:flex;
    justify-content:center;
    align-items:center;
    width:100%;
    text-align:center;
    text-decoration:none;
    color:#000;
    font-weight:600;
    font-size:14px;
    padding-bottom:10px;
}
.mobile-menu-user{
    border-bottom:1px solid #e5e5e5;
    padding-bottom:15px;
    margin-top:15px;
}

.mobile-user-info{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:10px;
    text-align:center;
    font-weight:700;
    font-size:15px;
    margin-bottom:10px;
}

.mobile-user-info i{
    font-size:18px;
}

.mobile-login-btn{
    display:flex;
    justify-content:center;
    align-items:center;
    width:100%;
    text-align:center;
    text-decoration:none;
    color:#000;
    font-weight:700;
    font-size:16px;
    padding:12px 0;
}
.mobile-logout{
    display:flex;
    justify-content:center;
    align-items:center;
    width:100%;
    text-align:center;
    text-decoration:none;
    color:#000;
    font-weight:600;
    font-size:14px;
    padding-bottom:10px;
}
.navbar-nav{
    text-align:center;
}
.search-modal{

    position: fixed;

    inset: 0;

    display: none;

    align-items: center;

    justify-content: center;

    z-index: 999999;

}

.search-modal.active{

    display: flex;

}

.search-overlay{

    position: absolute;

    inset: 0;

    background: rgba(0,0,0,.6);

    backdrop-filter: blur(4px);

}

.search-box-results{

    position: relative;

    width: 95%;

    max-width: 700px;

    background: white;

    border-radius: 24px;

    overflow: hidden;

    z-index: 10;

    animation: showSearch .25s ease;

}

@keyframes showSearch{

    from{

        opacity: 0;

        transform: scale(.9);

    }

    to{

        opacity: 1;

        transform: scale(1);

    }

}

.search-header{

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 24px;

    border-bottom: 1px solid #eee;

}

.search-header h2{

    margin: 0;

    font-size: 24px;

    font-weight: 800;

}

.close-search{

    border: none;

    background: transparent;

    font-size: 28px;

    cursor: pointer;

}

.search-results-list{

    max-height: 500px;

    overflow-y: auto;

}

.search-item{

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 22px 24px;

    text-decoration: none;

    color: black;

    border-bottom: 1px solid #f3f3f3;

    transition: .2s;

}

.search-item:hover{

    background: #f7f7f7;

    padding-left: 34px;

}

.search-item h3{

    margin: 0;

    font-size: 18px;

    font-weight: 700;

}

.search-item p{

    margin: 0;

    color: gray;

    font-size: 14px;

}

.not-found{

    padding: 70px 20px;

    text-align: center;

}

.not-found h2{

    font-size: 30px;

    font-weight: 800;

}

.not-found p{

    color: gray;

    margin-top: 10px;

}

@media(max-width:768px){

    .search-box-results{

        width: 92%;

    }

}
.product-card img{
    
    text-align:center;
    margin:0 auto 15px auto;
}
.product-card{

    display:flex;

    flex-direction:column;

    justify-content:space-between;

    height:100%;

}

/* BOTON */

.add-cart-btn{

    width:100%;

    margin-top:auto;

    padding:12px 18px;

    border:none;

    border-radius:14px;

    background:#111;

    color:white;

    font-weight:700;

    font-size:15px;

    transition:.25s;

}

/* HOVER */

.add-cart-btn:hover{

    background:#222;

    transform:translateY(-2px);

}

/* MOBILE */


.cart-box{

    display:flex;

    align-items:flex-start;

    gap:10px;

    text-decoration:none;

    color:#111;

}

.cart-box i{

    font-size:18px;

    margin-top:4px;

}

.cart-info-nav{

    display:flex;

    flex-direction:column;

    line-height:1;

}

.cart-count-text{

    font-size:14px;

    font-weight:700;

}

#cart-total{

    font-size:14px;

    font-weight:700;

    margin-top:5px;

}
 *
.accessories-modal{
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0,0,0,.68);
    backdrop-filter: blur(4px);
    z-index: 99999;
}

.accessories-modal.active{
    display: flex;
}

.accessories-modal-content{
    position: relative;
    width: min(920px, 100%);
    max-height: 90vh;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
    gap: 28px;
    overflow: hidden;
    padding: 28px;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 24px 80px rgba(0,0,0,.35);
    animation: accessoriesModalIn .22s ease-out;
}

@keyframes accessoriesModalIn{
    from{ transform: translateY(18px) scale(.98); opacity: 0; }
    to{ transform: translateY(0) scale(1); opacity: 1; }
}

.accessories-close{
    position: absolute;
    top: 14px;
    right: 16px;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: #111;
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    z-index: 3;
    transition: transform .2s ease, background .2s ease;
}

.accessories-close:hover{
    transform: rotate(90deg);
    background: #2a2a2a;
}

.accessories-left,
.accessories-right{
    min-width: 0;
}

.accessories-slider{
    position: relative;
    width: 100%;
    min-height: 430px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 20px;
    background: #f6f6f6;
}

.accessories-item{
    display: none;
    width: 100%;
    height: 100%;
}

.accessories-item.active{
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.accessories-item img,
.accessories-item video{
    width: 100%;
    max-height: 430px;
    object-fit: contain;
    border-radius: 18px;
}

.accessories-arrow{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    display: none;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: rgba(17,17,17,.86);
    color: #fff;
    cursor: pointer;
    z-index: 2;
    transition: background .2s ease, transform .2s ease;
}

.accessories-arrow:hover{
    background: #000;
    transform: translateY(-50%) scale(1.06);
}

.accessories-prev{ left: 14px; }
.accessories-next{ right: 14px; }

.accessories-right{
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
    padding-right: 12px;
}

.accessories-right h2{
    margin: 0;
    padding-right: 42px;
    color: #111;
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 800;
    line-height: 1.12;
    text-transform: uppercase;
}

.accessories-right h3{
    margin: 0;
    color: #111;
    font-size: 28px;
    font-weight: 800;
}

.accessories-right .add-cart-btn{
    width: 100%;
    max-width: 320px;
    min-height: 48px;
}

.accessories-cart-preview{
    display: none;
}

.product-card{
    cursor: pointer;
}

.product-card .add-cart-btn,
.product-card .mate-color-circle,
.product-card select,
.product-card a,
.product-card button{
    cursor: pointer;
}

body.modal-open{
    overflow: hidden;
}


.accessories-options-container {
    margin-bottom: 15px;
    width: 100%;
}
.accessories-options-container .sizes {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.accessories-options-container .size-select {
    padding: 8px;
    border-radius: 8px;
    border: 1px solid #ddd;
    flex: 1;
}
.accessories-options-container .mate-colors-container {
    display: flex;
    gap: 10px;
    margin-top: 5px;
}

.accessories-options-container .sizes {
    display: block !important;
    margin-top: 15px;
}
.accessories-options-container .sizes label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}
.accessories-options-container .size-select {
    display: block !important;
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.product-card img, 
.accessories-item img, 
.accessories-item video {
    border-radius: 20px !important;
    object-fit: cover;
}

.product-card img, 
.accessories-item img, 
.accessories-item video {
    border-radius: 20px !important;
    object-fit: cover;
}
.accessories-options-container .sizes, 
.accessories-options-container .mate-colors-container {
    display: flex !important;
    margin-top: 15px;
    gap: 10px;
    align-items: center;
}
.accessories-options-container .size-select {
    display: block !important;
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

/* =========================================
   MODAL UNIFICADO
========================================= */

#accessories-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
    backdrop-filter: blur(5px);
}

#accessories-modal.active {
    display: flex;
}

.accessories-container {
    background: white;
    width: 100%;
    max-width: 900px;
    border-radius: 30px;
    display: flex;
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.accessories-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #f3f3f3;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.accessories-close:hover {
    background: #e0e0e0;
    transform: rotate(90deg);
}

/* GALERIA MODAL */
.accessories-gallery {
    flex: 1;
    background: #f9f9f9;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.accessories-item {
    display: none;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.accessories-item.active {
    display: flex;
}

.accessories-item img, 
.accessories-item video {
    max-width: 100%;
    max-height: 500px;
    object-fit: contain;
    border-radius: 20px !important;
}

.accessories-prev, .accessories-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.accessories-prev { left: 15px; }
.accessories-next { right: 15px; }

/* INFO MODAL */
.accessories-info {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#accessoriesTitle {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 10px;
}

#accessoriesPrice {
    font-size: 1.5rem;
    color: #c1121f;
    font-weight: 700;
    margin-bottom: 25px;
}

.accessories-options-container {
    margin-bottom: 30px;
}

.accessories-options-container .sizes,
.accessories-options-container .mate-colors-container {
    display: flex !important;
    flex-direction: column;
    gap: 10px;
}

.accessories-options-container .size-select {
    display: block !important;
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid #ddd;
    font-size: 1rem;
}

#accessoriesAddCart {
    background: #111;
    color: white;
    border: none;
    padding: 18px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: 0.3s;
}

#accessoriesAddCart:hover {
    background: #c1121f;
    transform: translateY(-3px);
}

/* RESPONSIVE MODAL */

/* REDONDEADO DE IMAGENES GENERAL */
.product-card img, 
.category-card img,
.hero-image {
    border-radius: 20px !important;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* ==================== PRODUCT CARD MEJORADA ==================== */
.product-card {
    background: white;
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid #e5e5e5;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.product-card img {
    width: 100%;
    max-width: 260px;
    height: 320px;
    object-fit: cover;
    border-radius: 16px;
    margin: 0 auto 18px;
    transition: transform 0.4s ease;
}

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

.product-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}

/* PRECIO */
.price {
    font-size: 1.45rem;
    font-weight: 800;
    color: #111;
    margin-bottom: 16px;
}

/* TALLAS FUERA DEL MODAL - MEJORADO */
.sizes {
    margin: 15px 0;
    text-align: left;
}

.sizes label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 0.95rem;
    color: #333;
}

.size-select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #ddd;
    border-radius: 12px;
    font-size: 1rem;
    background: white;
    transition: all 0.3s;
    cursor: pointer;
}

.size-select:focus {
    border-color: #c1121f;
    outline: none;
    box-shadow: 0 0 0 3px rgba(193, 18, 31, 0.15);
}

/* BOTÓN */
.add-cart-btn {
    background: #111;
    color: white;
    border: none;
    padding: 14px 20px;
    border-radius: 14px;
    width: 100%;
    font-weight: 700;
    font-size: 1.05rem;
    margin-top: auto;
    transition: all 0.3s ease;
    cursor: pointer;
}

.add-cart-btn:hover {
    background: #c1121f;
    transform: translateY(-2px);
}

/* ==================== OTRAS MEJORAS ==================== */
.row.g-4 {
    justify-content: center;
}



/* ====================== MODAL GALERÍA - FLECHAS ====================== */

.modal-gallery-container {
    position: relative;
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
}

.modal-gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.75);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    z-index: 10;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.modal-gallery-btn:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-50%) scale(1.12);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.modal-prev {
    left: 12px;
}

.modal-next {
    right: 12px;
}

.modal-media-container {
    background: #111;
    padding: 10px;
    border-radius: 16px;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#modalImage, #modalVideo {
    width: 100% !important;
    max-height: 520px !important;
    object-fit: contain;
    border-radius: 12px;
}

/* Efecto de transición suave al cambiar de imagen/video */
#modalImage, #modalVideo {
    transition: opacity 0.3s ease;
}

/* Ocultar flechas cuando solo hay una imagen */
.modal-gallery-btn {
    opacity: 0;
    pointer-events: none;
}

.modal-gallery-container:hover .modal-gallery-btn {
    opacity: 1;
    pointer-events: auto;
}
/* =========================================
   🔥 RESPONSIVE FINAL - TODO EL SITIO EN 1 BLOQUE
   (Index + Camisetas + Mates + Accesorios + Mochilas + Neceseres + Cart)
   Pegar AL FINAL de cada .css
   ========================================= */



.accessories-item img,
.accessories-item video,
.modal-left img,
#modalImage,
#modalVideo,
.modal-img-wrapper img {
    border-radius: 42px !important;
    overflow: hidden !important;
    object-fit: cover !important;
    width: 100% !important;
    height: 100% !important;
    box-shadow: 0 12px 35px rgba(0,0,0,0.25) !important;
}

/* Contenedores también redondeados */
.accessories-slider,
.modal-media-container,
.modal-left,
.modal-img-wrapper {
    border-radius: 42px !important;
    overflow: hidden !important;
}

/* Ajuste para móviles (más suave) */
.accessories-item video,
#modalVideo,
.modal-left video,
.modal-img-wrapper video,
video {
    -webkit-appearance: none !important;
    appearance: none !important;
}

/* Chrome, Safari, Edge, Opera */
.accessories-item video::-webkit-media-controls,
#modalVideo::-webkit-media-controls,
.modal-left video::-webkit-media-controls,
.modal-img-wrapper video::-webkit-media-controls,
video::-webkit-media-controls {
    display: none !important;
}

.accessories-item video::-webkit-media-controls-enclosure,
#modalVideo::-webkit-media-controls-enclosure,
.modal-left video::-webkit-media-controls-enclosure,
.modal-img-wrapper video::-webkit-media-controls-enclosure,
video::-webkit-media-controls-enclosure {
    display: none !important;
}

.accessories-item video::-webkit-media-controls-panel,
#modalVideo::-webkit-media-controls-panel,
.modal-left video::-webkit-media-controls-panel,
.modal-img-wrapper video::-webkit-media-controls-panel,
video::-webkit-media-controls-panel {
    display: none !important;
}

/* Firefox */
.accessories-item video::-moz-media-controls,
#modalVideo::-moz-media-controls,
.modal-left video::-moz-media-controls,
.modal-img-wrapper video::-moz-media-controls,
video::-moz-media-controls {
    display: none !important;
}

/* Edge / IE */
.accessories-item video::-ms-media-controls,
#modalVideo::-ms-media-controls,
.modal-left video::-ms-media-controls,
.modal-img-wrapper video::-ms-media-controls,
video::-ms-media-controls {
    display: none !important;
}

/* Asegurar que el video se reproduzca automáticamente si querés (opcional) */
.accessories-item video,
#modalVideo,
.modal-left video {
    pointer-events: none !important;   /* evita que el usuario pueda pausar con clic */
}
.modal-cart-preview,
.accessories-cart-preview {
    display: block !important;
    visibility: visible !important;
    background: #1a1a1a !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    border-radius: 16px !important;
    padding: 18px !important;
    margin-top: 22px !important;
    max-height: 280px;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3) !important;
}

.preview-item {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    padding-bottom: 16px !important;
    border-bottom: 1px solid rgba(255,255,255,0.1) !important;
    margin-bottom: 16px !important;
}

.preview-item:last-child {
    border-bottom: none !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.preview-img {
    width: 62px !important;
    height: 62px !important;
    object-fit: cover !important;
    border-radius: 10px !important;
    flex-shrink: 0;
}

.preview-info h4 {
    font-size: 1.1rem !important;
    font-weight: 800 !important;
    color: #fff !important;
    margin: 0 0 4px 0 !important;
}

.preview-info p {
    font-size: 0.95rem !important;
    color: #bbb !important;
    margin: 0 !important;
}
.modal-media {
    height: 500px; /* antes 700px aprox */
    max-height: 500px;
    overflow: hidden;
}

.modal-media video,
.product-gallery video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.15);
}
/* Ocultar sugerencias negras */
.search-keywords,
.search-suggestions,
.search-popular,
.search-autocomplete {
    display: none !important;
}
/* =========================================
   MEJOR RESPONSIVE PARA TODOS LOS CELULARES
   Detaquito Store - Optimizado para iPhone + Android (2026)
========================================= */
@media (max-width: 576px) {
    .mobile-top { padding: 6px 0; }
    .search-container.mobile-search { margin-left: 8px; margin-right: 8px; }
    .search-input { font-size: 14px; padding: 9px 14px; }
    .search-button { padding: 9px 15px; }

    .product-card { margin-bottom: 14px; }
    .product-card img { height: 172px !important; border-radius: 10px; }
    .product-card h3 { font-size: 0.92rem; line-height: 1.25; margin: 8px 0 4px; }
    .product-card .price { font-size: 1.05rem; margin-bottom: 6px; }
    .add-cart-btn { padding: 9px 14px; font-size: 0.85rem; border-radius: 10px; }

    /* Modal full-screen en celular */
    .product-modal { padding: 0; }
    .product-modal-content {
        width: 100vw; max-width: 100vw; height: 100dvh;
        border-radius: 0; flex-direction: column; margin: 0;
    }
    .modal-left { width: 100%; padding: 10px; }
    .modal-right { width: 100%; padding: 18px 16px 28px; }
    .modal-gallery-container { max-width: 100%; }
    .modal-media-container { min-height: 265px; padding: 6px; border-radius: 12px; }
    #modalImage, #modalVideo, .modal-media { max-height: 265px !important; }
    .modal-gallery-btn { width: 38px; height: 38px; font-size: 1.25rem; }
    .modal-add-btn { padding: 13px 18px; font-size: 0.95rem; }
    .modal-cart-preview { max-height: 105px; }

    section.container-fluid { padding-left: 10px; padding-right: 10px; }
    h2.text-center.fw-bold.mb-5 { font-size: 1.4rem; margin-bottom: 1.1rem !important; }
}

@media (max-width: 380px) {
    .product-card img { height: 152px !important; }
    .product-card h3 { font-size: 0.88rem; }
}

.add-cart-btn, .modal-add-btn, .modal-size-btn, 
.mate-color-circle, .modal-gallery-btn, .search-button {
    min-height: 44px; min-width: 44px;
}
        .product-card {
            height: 100%;
            transition: transform 0.2s;
        }
        .product-card:hover {
            transform: translateY(-8px);
        }
        .product-card img {
            height: 260px;
            object-fit: cover;
            border-radius: 12px;
        }

        .modal-gallery-container {
            position: relative;
            width: 100%;
            max-width: 560px;
            margin: 0 auto;
        }
        .modal-gallery-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(0, 0, 0, 0.75);
            color: white;
            border: none;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.6rem;
            z-index: 10;
            cursor: pointer;
        }
        .modal-gallery-btn:hover {
            background: rgba(0, 0, 0, 0.9);
            transform: translateY(-50%) scale(1.1);
        }
        .modal-media-container {
            background: #111;
            padding: 10px;
            border-radius: 16px;
            min-height: 520px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        #modalImage, #modalVideo {
            width: 100% !important;
            max-height: 520px !important;
            object-fit: contain;
            border-radius: 12px;
        }