/* CONTENEDOR PRINCIPAL */

.product-layout{
max-width:1200px;
margin:40px auto;
display:grid;
grid-template-columns:1fr 1fr;
gap:60px;
margin-bottom:30px;
}

/* ===== GALERIA ===== */

.product-gallery{
display:flex;
gap:15px;
}

.product-thumbs{
display:flex;
flex-direction:column;
gap:12px;
width:90px;
}

.product-thumbs img{
width:100%;
cursor:pointer;
border-radius:6px;
border:1px solid #eee;
transition:0.2s;
}

.product-thumbs img:hover{
border-color:#000;
}

.product-main-image{
flex:1;
min-width:400px;
}

.product-main-image img{
width:100%;
border-radius:10px;
transition:opacity .2s ease;
}

/* ===== INFO PRODUCTO ===== */

.product-info{
display:flex;
flex-direction:column;
}

/* ===== TITULO ===== */

.product-title{
font-family:Poppins,sans-serif;
font-weight:700;
font-size:52px;
line-height:60px;
margin-bottom:20px;
color: #000;
}

/* ===== PRECIO ===== */

.product-price{
font-family:Poppins,sans-serif;
font-weight:600;
font-size:40px;
line-height:48px;
margin-bottom:20px;
color: #000;
}

/* ===== DESCRIPCION ===== */

.product-short-description{
font-family:Poppins,sans-serif;
font-weight:400;
font-size:20px;
line-height:24px;
margin-bottom:30px;
color:#333;
}

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

.mpb-cart{
display:flex;
gap:20px;
align-items:center;
margin-top:30px;
}

/* ===== BOTON CANTIDAD ===== */

.mpb-qty-wrapper{
width:170px;
height:52px;
background:#f3f3f3;
border-radius:62px;
display:flex;
align-items:center;
justify-content:space-between;
padding:0 20px;
}

.qty-minus,
.qty-plus{
background:none;
border:none;
font-size:26px;
font-weight:500;
cursor:pointer;
color:#000;
width:40px;
height:100%;
display:flex;
align-items:center;
justify-content:center;
}

.qty-number{
font-size:20px;
font-weight:500;
color:#000;
min-width:20px;
text-align:center;
}

/* ===== BOTON ADD TO CART ===== */

.mpb-add-to-cart{
width:400px;
height:52px;
background:#000;
color:#fff;
border:none;
border-radius:62px;
font-family:Poppins,sans-serif;
font-weight:600;
cursor:pointer;
display:flex;
align-items:center;
justify-content:center;
transition:.2s;
}

.mpb-add-to-cart:hover{
background:#222;

}

/* ===== DETALLES DEL PRODUCTO ===== */

.product-details-section{
max-width:1200px;
width:100%;
margin:20px auto;
font-family:Poppins,sans-serif;
}

.details-title{
font-weight:700;
font-size:52px;
line-height:60px;
margin-bottom:20px;
color:#000;
}
.details-description{
font-weight:400;
font-size:20px;
line-height:28px;
column-count:2;
column-gap:80px;
margin-bottom:15px;
color:#000;
}

.details-grid{
display:block;
}

.detail-item{
display:flex;
gap:10px;
margin-bottom:10px;
}

.detail-label,
.detail-value{
font-weight:700;
font-size:24px;
line-height:28px;
}

/* ===== QUIZAS TE INTERESE ===== */

.related-products-section{
max-width:1200px;
margin:20px auto;
}

.related-title{
font-family:Poppins,sans-serif;
font-weight:700;
font-size:52px;
line-height:60px;
text-align:center;
margin-top:-80px;
margin-bottom:60px;
color:#000;
}

/* GRID PRODUCTOS */

.related-products-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:24px;
width:100%;
margin-top:90px;
}
/* TARJETA */

.related-product-card{
display:flex;
flex-direction:column;
gap:10px;
font-family:Poppins,sans-serif;
background:#fff;
}

/* IMAGEN */

.related-product-image{
display:block;
}

.related-product-image img{
width:100%;
border-radius:10px;
}

/* TITULO */

.related-product-title{
font-weight:600;
font-size:18px;
color: #000;
}

/* DESCRIPCION */

.related-product-desc{
font-size:14px;
line-height:18px;
color:#555;
}

/* PRECIO + CARRITO */

.related-price-cart{
display:flex;
align-items:center;
justify-content:space-between;
margin-top:6px;
}

/* PRECIO */

.related-product-price{
font-weight:600;
font-size:18px;
color:#000;
}

/* BOTON CARRITO */

.related-add-cart{
width:75px;
height:35px;
border:1px solid #000;
background:#fff;
border-radius:20px;
display:flex;
align-items:center;
justify-content:center;
cursor:pointer;
transition:0.2s;
}

.related-add-cart svg{
width:24px;
height:24px;
stroke:#000;
}

.related-add-cart:hover{
background:#000;
}

.related-add-cart:hover svg{
stroke:#fff;
}

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

@media(max-width:900px){

.product-layout{
grid-template-columns:1fr;
}

.product-gallery{
flex-direction:column;
}

.product-thumbs{
flex-direction:row;
width:100%;
}



.mpb-add-to-cart{
width:100%;
}

.details-description{
column-count:1;
}

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

}
.product-details-section{
grid-column:1 / -1;
}

.related-products-section{
grid-column:1 / -1;
}
.product-color-selector{
margin-top:25px;
}

.color-title{
font-size:16px;
margin-bottom:10px;
color:#666;
}

.color-options{
display:flex;
gap:15px;
}

.color-circle{
width:38px;
height:38px;
border-radius:50%;
cursor:pointer;
border:2px solid transparent;
transition:all .2s ease;
}

.color-circle.active{
border:2px solid #000;
}

.color-circle:hover{
transform:scale(1.1);
}
.kit-grid{
display:grid;
grid-template-columns: repeat(3, 1fr);
gap:20px;
margin-top:20px;
}

.kit-item{
background:#fff;
padding:15px;
border-radius:12px;
text-align:center;
box-shadow:0 5px 15px rgba(0,0,0,0.05);
transition:0.3s;
}

.kit-item:hover{
transform:translateY(-5px);
}
/* CONTENEDOR PRINCIPAL */
/* CONTENEDOR */
.kit-pagination{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between; /* extremos */
    margin-top: 40px;
    position: relative;
}

/* IZQUIERDA */
.kit-pagination .prev{
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 14px;

    background: none;
    border: none;
    cursor: pointer;
    color: #000;
}

/* DERECHA (BOTÓN) */
.kit-pagination .next{
    width: 87px;
    height: 37px;
    border-radius: 8px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;

    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 14px;

    background: #000;
    color: #fff;
    border: none;
    cursor: pointer;
}

/* CENTRO */
.kit-pages{
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;

    flex: 1; /* 🔥 ocupa el centro real */
}

/* NÚMEROS */
.kit-pages span,
.kit-pages a{
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 14px;
    text-align: center;
    cursor: pointer;
}

/* ACTIVO */
.kit-pages .current{
    font-weight: 600;
}
/* GRID 3x3 */
.kit-grid{
display:grid;
grid-template-columns: repeat(3, 1fr);
gap:20px;
margin-top:20px;
}

/* ITEM */
.kit-item{
background:#fff;
padding:15px;
border-radius:12px;
text-align:center;
box-shadow:0 5px 15px rgba(0,0,0,0.05);
}

/* DESCRIPCIÓN */
.kit-desc{
font-size:13px;
color:#666;
margin:8px 0;
}

/* PRECIO */
.kit-price{
font-weight:700;
margin-bottom:10px;
}

.kit-select-btn{
width:100%; /* 🔥 CLAVE */
max-width:295px;
height:48px;

background:#fff;
color:#000;

border:none;
border-radius:62px;

font-family:'Poppins', sans-serif;
font-weight:700;
font-size:14px;
line-height:16px;

padding:16px 20px;

cursor:pointer;
}
.kit-grid{
display:grid;
grid-template-columns: repeat(3, 1fr);
gap:20px;
}
/* HOVER */
.kit-select-btn:hover{
background:#000;
color:#fff;
}
.kit-select-btn.active{
background:#000;
color:#fff;
}
/* 🔥 CONTENEDOR IMAGEN PRINCIPAL */
.woocommerce div.product div.images img{
width:100% !important;
max-height:500px;
object-fit:contain;
}

/* 🔥 EVITA QUE SE EXPANDA */
.product-layout img{
max-width:100%;
height:auto;
}

/* 🔥 MINIATURAS */
.woocommerce div.product div.images .flex-control-thumbs img{
height:80px;
object-fit:cover;
}
.kit-item img{
width:100%;
height:200px;
object-fit:contain;
}
/* 🔥 CONTENEDOR PRINCIPAL */
.product-layout{
max-width:1200px;
margin:0 auto;
padding:20px;

display:grid;
grid-template-columns:1fr 1fr;
gap:40px;

align-items:start;
}

/* 🔥 EVITA DESBORDES */
body, html{
overflow-x:hidden;
}

/* 🔥 ASEGURA QUE NO SE SALGA NADA */
.product-layout > *{
min-width:0;
}
/* CONTENEDOR DEL KIT */
.kit-section{
    width: 100%;
    max-width: 100%; /* 🔥 quita límite */
    margin: 40px 0;
    padding: 0;
    width: calc(100% + 80px);
    margin-left: -40px;
    margin-right: -40px;
    overflow: visible !important;
}

/* WRAPPER */
.kit-wrapper{
    
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    
}

/* GRID REAL */
.kit-grid{
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 🔥 exacto como tu diseño */
    gap: 25px;
    width: 100%;
}

/* ITEM */
.kit-item{
    background: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}
/* 🔥 ROMPE EL CONTENEDOR PADRE REAL */
.woocommerce div.product .kit-section{
     position: relative;
    width: 100vw;
    left: 50%;
    margin-left: -50vw;
    padding: 40px 0px; /* ajusta si quieres más aire */
}
body{
    overflow-x: hidden;
}
.kit-grid{
    
    margin: 0 auto;       /* 🔥 lo centra */
    display: grid;
    grid-template-columns: repeat(4, 280px); /* tamaño fijo */
    gap: 30px;
}
.kit-section *{
    max-width: none !important;
}
.kit-wrapper,
.kit-grid{
    width: 100%;
    max-width: none !important;
}
.woocommerce-tabs,
.entry-content{
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.woocommerce div.product{
    max-width: 100% !important;
}
.kit-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;

    margin-top: 30px;
}

/* 🔢 CENTRO */
.kit-pages {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex: 1;
}

/* 🔘 BOTONES */
.kit-pagination a,
.kit-pagination span {
    padding: 8px 12px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
}

/* ACTIVA */
.kit-pages .current {
    background: #000;
    color: #fff;
}

/* LINKS */
.kit-pages a {
    background: #f5f5f5;
    color: #333;
}

/* HOVER */
.kit-pages a:hover {
    background: #000;
    color: #fff;
}

.kit-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    max-width: 100%;

    margin-top: 30px;
    gap: 10px;
}

/* 🔙 ANTERIOR Y SIGUIENTE NO SE ENCOGEN */
.kit-pagination .prev,
.kit-pagination .next {
    flex: 0 0 auto; /* 👈 ESTO ARREGLA QUE DESAPAREZCAN */
    min-width: 120px;
}

/* 🔢 CENTRO FLEXIBLE */
.kit-pages {
    flex: 1;
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}
.kit-pagination a,
.kit-pagination span {
    display: inline-block;
    padding: 10px 14px;
    border-radius: 6px;
    text-decoration: none;
    background: #f3f3f3;
    color: #333;
    font-size: 14px;
}

/* ACTIVO */
.kit-pages .current {
    background: #000;
    color: #fff;
}
/* ===== KIT DISABLED ===== */

.kit-item.disabled{
    opacity: 0.4;
    pointer-events: none;
    filter: grayscale(100%);
}

/* BOTÓN DESACTIVADO */
.kit-item.disabled .kit-select-btn{
    background: #ccc;
    color: #666;
    cursor: not-allowed;
}
.kit-item.disabled{
    opacity:0.4;
    pointer-events:none;
    filter:grayscale(100%);
}

.kit-item.active{
    border:2px solid #28a745;
}

.csw-page-btn {
    width: 115px;
    height: 37px;
    border-radius: 8px;
    border: 1px solid #0000001A;
    padding: 8px 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #000 !important;
    text-decoration: none !important;
}

.csw-page-numbers {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.csw-page-number {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    text-align: center;
    color: #000 !important;
    text-decoration: none !important;
}

.csw-page-number.active {
    font-weight: 600;
}
.csw-pagination-wrapper{
    width: 100%;
    margin-top: 40px;
}

.csw-pagination{
    width: 100%;
    display: grid;
    grid-template-columns: 115px 1fr 115px; /* 🔥 magia */
    align-items: center;
}

.csw-page-numbers{
    display:flex;
    gap:12px;
    align-items:center;
    justify-content:center;
    flex:1;
}

/* 🔥 PLACEHOLDER LIMPIO */
.csw-page-btn.placeholder{
    visibility: hidden;
}

/* (tu CSS original intacto) */
.csw-page-btn {
    width: 115px;
    height: 37px;
    border-radius: 8px;
    border: 1px solid #0000001A;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    font-size: 14px;
    text-decoration: none;
    color: #000;
}

.csw-page-numbers{
    display:flex;
    gap:12px;
    flex:1;
    justify-content:center;
}

.csw-page-number{
    font-size:14px;
    text-decoration:none;
    color:#000;
}

.csw-page-number.active{
    font-weight:600;
}
.csw-pagination-wrapper{
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 40px;
    overflow: visible; /* 🔥 clave */
}
.csw-page-btn{
    flex-shrink: 0;
    width: 115px;
    justify-self: center;
}
body{
    overflow-x: hidden;
}
.csw-page-numbers{
    display: flex;
    justify-content: center;
    gap: 12px;
}
/* ===== FIX PAGINACIÓN KIT (DEFINITIVO) ===== */

/* 🚫 QUITAR hacks anteriores */
.csw-pagination-wrapper{
    width: 100% !important;
    position: static !important;
    transform: none !important;
    left: auto !important;
}

/* 🚫 quitar 100vw del kit */
.woocommerce div.product .kit-section{
    width: 100% !important;
    left: auto !important;
    margin-left: 0 !important;
}

/* 🔥 CONTENEDOR LIMPIO */
.csw-pagination{
    width: 100%;
    max-width: 1200px; /* 🔥 igual que tu layout */
    margin: 40px auto 0 auto;

    display: grid;
    grid-template-columns: 115px 1fr 115px;
    align-items: center;
}

/* 🔥 BOTONES */
.csw-page-btn{
    width: 115px;
    justify-self: center;
}

/* 🔥 CENTRO PERFECTO */
.csw-page-numbers{
    display: flex;
    justify-content: center;
    gap: 12px;
}

/* 🔥 placeholder invisible pero ocupa espacio */
.csw-page-btn.placeholder{
    visibility: hidden;
}
/* ===== NOTIFICACION ===== */

.mpb-notification{
position:fixed;
top:20px;
right:20px;
background:#fff;
color:#111;
display:flex;
align-items:center;
gap:12px;
padding:14px 18px;
border-radius:10px;
box-shadow:0 10px 30px rgba(0,0,0,0.15);
z-index:9999;

opacity:0;
transform:translateY(-20px);
transition:all .3s ease;
min-width:260px;
}

/* animación */
.mpb-notification.show{
opacity:1;
transform:translateY(0);
}

/* icono */
.mpb-notif-icon{
background:#00a650;
color:#fff;
width:28px;
height:28px;
display:flex;
align-items:center;
justify-content:center;
border-radius:50%;
font-size:14px;
font-weight:bold;
}

/* texto */
.mpb-notif-content{
display:flex;
flex-direction:column;
font-size:13px;
}

.mpb-notif-content strong{
font-size:14px;
}
.mpb-notification{
position:fixed;
top:20px;
right:20px;
background:#fff;
color:#111;
display:flex;
align-items:center;
gap:12px;
padding:14px 18px;
border-radius:10px;
box-shadow:0 10px 30px rgba(0,0,0,0.15);
z-index:9999;

opacity:0;
transform:translateY(-20px);
transition:all .3s ease;
}

.mpb-notification.show{
opacity:1;
transform:translateY(0);
}

.mpb-notif-icon{
background:#00a650;
color:#fff;
width:28px;
height:28px;
display:flex;
align-items:center;
justify-content:center;
border-radius:50%;
font-size:14px;
}

.mpb-notif-content{
display:flex;
flex-direction:column;
font-size:13px;
}
/* ===== NOTIFICACIÓN TIPO AMAZON ===== */

.mpb-notification{
    position: fixed;
    top: 20px;
    right: 20px;
    background: #fff;
    color: #111;
    border-radius: 12px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    z-index: 9999;

    opacity: 0;
    transform: translateY(-20px);
    transition: all .3s ease;
    min-width: 260px;
}

/* animación */
.mpb-notification.show{
    opacity: 1;
    transform: translateY(0);
}

/* icono */
.mpb-notif-icon{
    width: 32px;
    height: 32px;
    background: #00a650; /* verde tipo MercadoLibre */
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* texto */
.mpb-notif-text{
    display: flex;
    flex-direction: column;
    font-size: 14px;
}

.mpb-notif-text strong{
    font-size: 14px;
}

.mpb-notif-text span{
    font-size: 12px;
    color: #666;
}
/* ===== OVERLAY ===== */
.mpb-overlay{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 9998;
    opacity: 0;
    transition: all .3s ease;
}

.mpb-overlay.active{
    opacity: 1;
}

/* ===== PANEL DERECHO ===== */
.mpb-cart-drawer{
    position: fixed;
    top: 0;
    right: -400px;
    width: 360px;
    height: 100%;
    background: #fff;
    z-index: 9999;
    box-shadow: -5px 0 25px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    transition: all .3s ease;
}

.mpb-cart-drawer.active{
    right: 0;
}

/* HEADER */
.mpb-drawer-header{
    padding: 16px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* 🔥 CAMBIO CLAVE */
    border-bottom: 1px solid #eee;
}
.mpb-header-left{
    display:flex;
    gap:12px;
    align-items:flex-start;
}

/* 🔥 BAJA TODO EL BLOQUE DEL PRODUCTO */
.mpb-header-left{
    margin-top:23px;
}

/* 🔥 BAJA SOLO LA IMAGEN (más control fino) */
.mpb-product-thumb{
    margin-top:23px;
}
/* 🔥 baja un poco más la palomita si está dentro */
.mpb-product-thumb svg,
.mpb-product-thumb i{
    transform: translateY(3px);
}

/* 🔥 BAJA EL TEXTO TAMBIÉN */
.mpb-product-info{
    margin-top:19px;
}

.mpb-close{
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
}

/* BODY */
.mpb-drawer-body {
  padding: 16px;
  flex: 1;
  overflow-y: auto;
}
.mpb-drawer-footer {
  flex-shrink: 0; /* 🔥 evita que desaparezca */
  background: #fff;
  padding: 16px;
  border-top: 1px solid #eee;
}
.mpb-product-name{
    font-size: 14px;
    margin-bottom: 5px;
}

.mpb-qty{
    font-size: 13px;
    color: #666;
}

/* FOOTER */
.mpb-drawer-footer{
    margin-top: auto;
    padding: 16px;
}
/* BOTN IR AL CARRITO DE LA NORTIFICACIÓN */
.mpb-go-cart{
    display: block;
    text-align: center;
    background: #000000;
    color: #fff;
    padding: 12px;
    border-radius: 22px;
    text-decoration: none;
    font-weight: 600;
}
/* HEADER CON IMAGEN */
.mpb-header-left{
    display: flex;
    gap: 10px;
    align-items: center;
}

.mpb-product-thumb{
    position: relative;
    width: 50px;
    height: 50px;
}

.mpb-product-thumb img{
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.mpb-check{
    position: absolute;
    bottom: -2px;
    right: -2px;
    background: #00a650;
    color: #fff;
    border-radius: 50%;
    font-size: 12px;
    padding: 2px 5px;
}

.mpb-title{
    font-weight: 600;
    font-size: 14px;
}

.mpb-related-title{
    font-size: 13px;
    margin-bottom: 10px;
    color: #666;
}

/* GRID PRODUCTOS */
.mpb-related-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 8px !important;
}
.mpb-drawer-body {
  flex: 1;
  overflow-y: auto;
}

.mpb-related-item{
    text-decoration: none;
    color: #111;
    font-size: 12px;
}

.mpb-related-item img{
    width: 100%;
    border-radius: 6px;
}
.mpb-add-to-cart{
width:400px;
height:52px;
background:#000;
color:#fff;
border:none;
border-radius:62px;
font-family:Poppins,sans-serif;
font-weight:600;
cursor:pointer;

/* 🔥 FIXES IMPORTANTES */
display:flex;
align-items:center;
justify-content:center;
flex-shrink:0; /* evita que se haga chico */
white-space:nowrap; /* evita que el texto se rompa */

transition:.2s;
}

.mpb-add-to-cart:hover{
background:#222;
}
.mpb-cart{
display:flex;
align-items:center;
gap:15px; /* espacio entre cantidad y botón */
}
.mpb-add-to-cart{
flex-shrink:0; /* 🔥 clave */
}
.mpb-header-left{
    display:flex;
    gap:12px;
    align-items:flex-start;
}

.mpb-product-thumb{
    margin-top:4px; /* 🔥 baja ligeramente la imagen */
}
.mpb-product-thumb img{
    border-radius:8px; /* en vez de circular */
}
/* ===== NOTIFICACIÓN - TIPOGRAFÍA ===== */
.mpb-notification,
.mpb-notification * {
  font-family: 'Poppins', sans-serif;
}
/* ===== NOTIFICACIÓN POPPINS ===== */
.mpb-cart-drawer,
.mpb-cart-drawer * {
  font-family: 'Poppins', sans-serif;
}
.mpb-cart-drawer {
  display: flex;
  flex-direction: column;
  height: 100vh;
}

/* ===== PRODUCTOS RELACIONADOS ===== */
/* ===== FORZAR PRODUCTOS PEQUEÑOS ===== */

.mpb-cart-drawer .mpb-related-item {
  display: flex !important;
  flex-direction: column !important; /* 🔥 clave */
  align-items: flex-start !important;
  gap: 4px !important;
  padding: 6px !important;
}

.mpb-cart-drawer .mpb-related-item img {
  width: 100% !important;
  height: 120px !important;
  object-fit: cover !important;
  border-radius: 6px !important;
}
.mpb-cart-drawer .mpb-related-info {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  width: 100%;
}

/* TEXTO MÁS CHICO */
.mpb-related-title {
  font-size: 11px !important;
  line-height: 1.2 !important;
  margin: 0 !important;
}

.mpb-related-desc {
  font-size: 10px !important;
  line-height: 1.2 !important;
  margin: 0 !important;
  color: #777 !important;

  display: -webkit-box !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mpb-related-price {
  font-size: 12px !important;
  font-weight: 600 !important;
  margin: 0 !important;
}
/* ===== CONTENEDOR GENERAL ===== */

.woocommerce-cart .site-main{
    max-width:1300px !important;
    margin:auto !important;
    padding:40px 20px !important;
}

/* ===== GRID ===== */

.woocommerce-cart .wc-block-cart{
    display:grid !important;
    grid-template-columns:1fr 380px !important;
    gap:30px !important;
    align-items:start !important;
}

/* ===== LISTA PRODUCTOS ===== */

.woocommerce-cart .wc-block-cart-items{
    background:#fff !important;
    border-radius:28px !important;
    padding:15px 30px !important;
    box-shadow:0 4px 25px rgba(0,0,0,.05) !important;
    border:none !important;
}

/* ===== CADA PRODUCTO ===== */

.woocommerce-cart .wc-block-cart-items__row{
    padding:28px 0 !important;
    border-bottom:1px solid #f1f1f1 !important;
}

/* ===== IMAGEN ===== */

.woocommerce-cart .wc-block-components-product-image img{
    width:95px !important;
    border-radius:16px !important;
}

/* ===== TITULO ===== */

.woocommerce-cart .wc-block-components-product-name{
    font-size:22px !important;
    font-weight:700 !important;
    color:#111 !important;
    text-decoration:none !important;
}

/* ===== DESCRIPCION ===== */

.woocommerce-cart .wc-block-components-product-details{
    font-size:14px !important;
    color:#777 !important;
}

/* ===== PRECIOS ===== */

.woocommerce-cart .wc-block-components-product-price{
    font-size:24px !important;
    font-weight:700 !important;
    color:#111 !important;
}

/* ===== SELECTOR CANTIDAD ===== */

.woocommerce-cart .wc-block-components-quantity-selector{
    background:#f3f3f3 !important;
    border:none !important;
    border-radius:999px !important;
    overflow:hidden !important;
    height:46px !important;
}

.woocommerce-cart .wc-block-components-quantity-selector input{
    border:none !important;
    background:transparent !important;
    font-weight:700 !important;
}

.woocommerce-cart .wc-block-components-quantity-selector button{
    border:none !important;
    background:transparent !important;
}

/* ===== ELIMINAR ===== */

.woocommerce-cart .wc-block-cart-item__remove-link{
    color:#ff3d3d !important;
    font-weight:700 !important;
}

/* ===== SIDEBAR ===== */

.woocommerce-cart .wc-block-cart__sidebar{
    background:#fff !important;
    padding:35px !important;
    border-radius:28px !important;
    box-shadow:0 4px 25px rgba(0,0,0,.05) !important;
}

/* ===== TITULO SIDEBAR ===== */

.woocommerce-cart .wc-block-components-title{
    font-size:30px !important;
    font-weight:700 !important;
}

/* ===== TOTAL ===== */

.woocommerce-cart .wc-block-components-totals-item{
    padding:18px 0 !important;
}

/* ===== BOTON CHECKOUT ===== */

.woocommerce-cart .wc-block-cart__submit-button,
.woocommerce-cart .wc-block-components-button{
    background:#000 !important;
    border:none !important;
    border-radius:999px !important;
    min-height:60px !important;
    font-size:16px !important;
    font-weight:700 !important;
    transition:.3s !important;
}

.woocommerce-cart .wc-block-components-button:hover{
    opacity:.9 !important;
}

/* ===== CUPON ===== */

.woocommerce-cart .wc-block-components-panel{
    border:none !important;
    background:#fafafa !important;
    border-radius:18px !important;
    padding:10px 15px !important;
}

/* ===== TITULO CARRITO ===== */

.woocommerce-cart h1.entry-title{
    font-size:52px !important;
    font-weight:700 !important;
    margin-bottom:35px !important;
}

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

@media(max-width:768px){

    .woocommerce-cart .wc-block-cart{
        grid-template-columns:1fr !important;
    }

    .woocommerce-cart .wc-block-cart__sidebar{
        margin-top:20px !important;
    }

    .woocommerce-cart h1.entry-title{
        font-size:38px !important;
    }

}
