/* Reset básico */
*{
margin:0;
padding:0;
box-sizing:border-box;
}

/* Overlay */
#overlay{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.7);
opacity:0;
visibility:hidden;
transition:0.3s;
z-index:999;
}

#overlay.active{
opacity:1;
visibility:visible;
}
        
/* Fullscreen Menu */
#fullMenu{
    position:fixed;
    top:0;
    right:0;
    width:100%;
    height:100vh;
    background:white;
    transform:translateX(100%);
    transition:0.3s;
    z-index:1090 !important;
    display:flex;
    flex-direction:column;
}

#fullMenu.active{
    transform:translateX(0);
}

#fullMenu ul li a{
    display:block;
    padding:0.5rem 0;
}

/* Desktop: ocultar fullscreen menu */
@media(min-width:992px){
    #fullMenu, #overlay, #openMenu{
        display:none;
    }
}



/* Overlay */
#overlay{
    position:fixed; top:0; left:0; width:100%; height:100%;
    background:rgba(0,0,0,0.7); opacity:0; visibility:hidden; transition:0.3s; z-index:999;
}
#overlay.active{opacity:1; visibility:visible;}

#fullMenu.active{transform:translateX(0);}
#fullMenu ul li a{display:block; padding:0.5rem 0;}

/* Logo imagen */
.navbar-brand img{ display:block; max-height:50px; width:auto; }

/* Desktop: ocultar móvil */
@media(min-width:992px){
    #fullMenu, #overlay, #openMenu { display:none; }
}

/* Flex header */
header .container { display:flex; justify-content:space-between; align-items:center; }


.container-90{
    position: relative;       /* o absolute si lo necesitas */
    width: 99vw !important;   /* tu ancho deseado */
    left: 50%; 
    transform: translateX(-50%); /* lo centra según su ancho */
    margin-left: 0 !important;   /* opcional: limpiar márgenes previos */
    margin-right: 0 !important;
}

.card{
    border: 3px solid white !important;
}


 
/* ---------- PRODUCTOS ---------- */
.products {
    padding: 20px 0px;
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.products-header h2 {
    font-size: 18px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.card {
    position: relative;
    transition: 0.3s;
    cursor: pointer;
}

.card:hover {
    transform: translateY(-5px);
}

.card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: 0.4s;
}

.card:hover img {
    transform: scale(1.05);
}

.quick-add {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.9);
    text-align: center;
    padding: 10px;
    font-size: 12px;
    opacity: 0;
    transition: 0.3s;
}

.card:hover .quick-add {
    opacity: 1;
}

.info {
    text-align: center;
    padding: 12px 5px;
}

.info h3 {
    font-size: 14px;
    margin-bottom: 5px;
}

.price {
    font-size: 13px;
    color: #444;
}



.category-tree {
    list-style: none;
    padding: 0;
}

.category-tree li {
    margin-bottom: 8px;
}

.category-title {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    color: #333;
    padding: 12px 15px;
    background-color: #f5f5f5;
    margin-bottom: 10px;
    cursor: pointer;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.category-title:hover {
    background-color: #d8d8d8;
}

.category-title .toggle-icon {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.category-title.collapsed .toggle-icon {
    transform: rotate(-90deg);
}

.category-content {
    max-height: 500px;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.category-content.collapsed {
    max-height: 0;
}

.subcategory-item {
    margin-left: 20px;
    padding: 6px 10px;
    border-radius: 4px;
    transition: all 0.3s ease;
    border-left: 2px solid #ddd;
    padding-left: 15px;
}

.subcategory-item:hover {
    background-color: #f0f0f0;
}

.form-check-input {
    cursor: pointer;
}

.form-check-label {
    cursor: pointer;
    font-size: 12px;
    color: #555;
    margin-left: 5px;
}

.form-check-input:checked + .form-check-label {
    font-weight: 600;
}

.product-img {
      background: #e9ecef;
      height: 400px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .thumbnail {
      background: #e9ecef;
      height: 90px;
    }
    .size-btn {
      border-radius: 20px;
      border: 1px solid #ddd;
      padding: 8px 14px;
      margin: 4px;
      cursor: pointer;
    }
    .size-btn.active {
      background: #000;
      color: #fff;
    }
    .badge-custom {
      background: #f1f3f5;
      color: #333 !important;
      margin-right: 5px;
    }
    .price-detail {
      font-size: 20px;
      font-weight: bold;
    }
    .btn-black {
      background: #000;
      color: #fff;
    }
    .btn-black:hover {
      background: #333;
    }
    .qty-box {
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .qty-btn {
      width: 35px;
      height: 35px;
      border-radius: 50%;
      border: none;
      background: #000;
      color: #fff;
    }

    .qty-btn-cart{
        width: 20px;
        height: 20px;
        border-radius: 50%;
        border: none;
        background: #000;
        color: #fff;
        align-items: center;
        display: flex;
        justify-content: center;
    }

    /* Estilos del carrito lateral */
/* Estilos del carrito lateral mejorados */
.sidecart {
    position: fixed;
    top: 0;
    right: -100%;
    width: 400px;
    max-width: 90%;
    height: 100%;
    background: #ffffff;
    box-shadow: -12px 0 24px rgba(0, 0, 0, 0.15);
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 1050;
    overflow-y: auto;
    border-left: 1px solid #e0e0e0;
    border-radius: 0 8px 8px 0;
    display: flex;
    flex-direction: column;
}

/* Cuando el carrito está abierto */
.sidecart.open-cart {
    right: 0;
}

/* Cabecera del carrito */
.sidecart .header-cart {
    position: relative;
    padding: 16px 20px;
    border-bottom: 2px solid #f4f4f4;
    color: #333;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 0 8px 0 0;
}

.sidecart .header-cart h6 {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-cart{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidecart .header-cart a {
    color: #333;
    font-size: 20px;
    transition: transform 0.2s ease;
}

.sidecart .header-cart a:hover {
    transform: rotate(90deg);
}

/* Contador de productos */
.cart-count {
    position: absolute;
    top: -10px;
    right: -10px;
    background: linear-gradient(135deg, #ff6b81, #ff4757);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Contenido del carrito */
.content-cart {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #333;
}

.content-cart p {
    font-size: 16px;
    margin-bottom: 24px;
}
p.small.text-muted{
    display: none !important;
}
/* Estilos para paginación en negro */
.pagination .page-link {
    color: #000;
    background-color: #fff;
}

.pagination .page-link:hover {
    color: #fff;
    background-color: #000;
}

.pagination .page-item.active .page-link {
    background-color: #000;
    border-color: #000;
    color: #fff;
}

.pagination .page-item.disabled .page-link {
    color: #999;
    background-color: #f5f5f5;
    border-color: #ddd;
}


.option input:checked + div {
    transform: translateX(2px);
}
.option:hover {
    background: #f2f2f2;
}


/* HEADER */
.customization-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 15px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    position: relative;
    background: #2B475C; 
    color: white !important;
}

/* LINEA */
.customization-header .line {
    width: 40px;
    height: 1px;
    background: white;
    transition: width 0.3s ease;
}

.customization-header:hover .line {
    width: 70px;
}

/* CONTENIDO */
.customization-content {
    padding: 10px 30px;
    border: 1px solid #eaeaea;
}

/* TITULO */
.section-title {
    display: block;
    font-size: 13px;
    color: #888;
    margin-bottom: 15px;
}

/* OPCIONES */
.options {
    display: flex;
    flex-direction: column; 
    gap: 0px !important;
}

/* OPTION ITEM */
.option {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 10px 12px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.option:hover {
    background: #f7f7f7;
}

/* RADIO */
.option input {
    accent-color: black;
}

/* TEXTO */
.option .title {
    font-size: 14px;
    color: #333;
}

/* ACTIVO */
.option input:checked + div .title {
    font-weight: 600;
}

/* TEXTAREA */
.dynamic-block {
    margin-top: 20px;
}

.dynamic-block textarea {
    width: 100%;
    border: none;
    border: 1px solid #2b475c4f;
    padding: 8px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s ease;
}

.dynamic-block textarea:focus {
    border-color: #000;
}

/* INFO */
.dynamic-info {
    margin-top: 15px;
    font-size: 13px;
    color: black;
    background: #2b475c4f;
    padding: 10px 15px;
}


.badge-info{
    background: #2a597c4f !important;
    color: black !important;
    text-align: left !important;
    padding: 10px !important;
}


.footer-link {
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: #0dcaf0; /* color Bootstrap info */
    text-decoration: underline;
    padding-left: 5px;
}


