.elementor-12 .elementor-element.elementor-element-5d78a15{--display:flex;}.elementor-widget-heading .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );color:var( --e-global-color-primary );}.elementor-12 .elementor-element.elementor-element-7d1da1a{text-align:center;}.elementor-12 .elementor-element.elementor-element-7d1da1a .elementor-heading-title{font-family:"Poppins", Sans-serif;color:var( --e-global-color-ce81cdf );}.elementor-12 .elementor-element.elementor-element-3d11760{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;}.elementor-12 .elementor-element.elementor-element-b315dbb{width:var( --container-widget-width, 95.166% );max-width:95.166%;--container-widget-width:95.166%;--container-widget-flex-grow:0;}.elementor-12 .elementor-element.elementor-element-b315dbb.elementor-element{--flex-grow:0;--flex-shrink:0;}.elementor-12 .elementor-element.elementor-element-23c789f{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;}.elementor-12 .elementor-element.elementor-element-8b2e235{width:var( --container-widget-width, 100% );max-width:100%;margin:0px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;--container-widget-width:100%;--container-widget-flex-grow:0;}.elementor-12 .elementor-element.elementor-element-8b2e235.elementor-element{--align-self:center;}:root{--page-title-display:none;}/* Start custom CSS for shortcode, class: .elementor-element-b315dbb *//* ========================================================= */
/* CONFIGURACIÓN BASE Y TIPOGRAFÍA (POPPINS) */
/* ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700;800&display=swap');

.poppins, 
.custom-cart-container, 
.custom-checkout-btn,
.custom-cart-item,
.custom-cart-total-line {
    font-family: 'Poppins', sans-serif !important;
}

/* ------------------------------------------- */
/* LAYOUT DE COLUMNAS */
/* ------------------------------------------- */
.custom-cart-columns { 
    display: flex; 
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee; 
}
.custom-cart-column { 
    flex: 1 1 50%; 
    padding: 0; 
    margin: 0;
}

/* ------------------------------------------- */
/* ITEM STYLE BASE (Contenedor principal de cada producto) */
/* ------------------------------------------- */
.custom-cart-item { 
    display: flex; 
    flex-direction: row; 
    align-items: flex-start;
    justify-content: space-between;
    padding: 15px 0; 
    border-bottom: 1px solid #eee; 
    gap: 15px; 
    position: relative; 
}

/* Contenedor de Imagen y Texto/Controles */
.item-visual-container {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    flex-grow: 1; 
}

/* Contenido de texto y controles (FLUJO VERTICAL: Nombre > Precio > Contador) */
.item-content-group {
    display: flex;
    flex-direction: column; 
    justify-content: flex-start;
    flex-grow: 1;
}

/* 1. IMAGEN */
.item-thumbnail {
    width: 70px; 
    height: 70px;
    overflow: hidden;
    border-radius: 6px;
    flex-shrink: 0;
}
.item-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 2. NOMBRE Y 3. PRECIO */
.item-header {
    display: flex; 
    flex-direction: column; 
    margin-bottom: 5px;
}
.item-name { 
    font-weight: 600; 
    font-size: 1.1em;
    margin-bottom: 2px;
}

/* PRECIO VISIBLE Y NEGRO (desktop) */
.custom-cart-item .item-price-header {
    display: block !important;
    font-size: 1em;
    font-weight: 400; 
    margin-bottom: 5px; 
}

/* 4. CONTROLES (Solo Contadores) */
.item-controls { 
    display: flex; 
    align-items: center; 
    justify-content: flex-start; 
    width: 100%;
    margin-top: 5px; 
}
.item-controls .item-price-desktop,
.item-controls .item-price {
    display: none !important;
}


/* ------------------------------------------- */
/* AJUSTE ESPECÍFICO PARA ESPACIADO HORIZONTAL (Columna Derecha) */
/* ------------------------------------------- */
.item-card-normal { 
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.item-card-normal > div:first-child { 
    flex-grow: 0; 
    flex-shrink: 1;
    max-width: 60%; 
}
.item-card-normal > div:last-child {
    flex-shrink: 0; 
    margin-left: auto; 
}


/* ------------------------------------------- */
/* CONTADOR COMPACTO Y CUADRADO (AJUSTADO) */
/* ------------------------------------------- */
.quantity-control { 
    display: flex; 
    align-items: center; 
    border: none !important; 
    overflow: visible;
    flex-shrink: 0 !important; 
}

/* Botones cuadrados y ligeramente más grandes */
.quantity-control button { 
    border: none; 
    width: 35px !important; /* Ligeramente más grande */
    height: 35px !important; /* Ligeramente más grande */
    padding: 0; 
    text-align: center;
    line-height: 35px !important; /* Asegura el centrado vertical del símbolo */
    font-size: 1.2em;
    font-weight: bold; 
    border-radius: 4px; 
    flex-shrink: 0 !important; 
}
.quantity-control button:hover {
}

/* Input del número (Centrado y Ligeramente más grande) */
.qty-input { 
    width: 30px !important; /* Ligeramente más ancho */
    height: 35px !important; /* Mismo alto que los botones */
    
    /* Centrado Horizontal y Vertical (SOLUCIÓN DEFINITIVA) */
    text-align: center !important; 
    direction: ltr !important; 
    padding: 0 !important; 
    line-height: 35px !important; /* CLAVE: Mismo valor que la altura para centrado vertical */
    
    /* Colores y Fuente */
    font-weight: 600 !important;
    font-size: 0.9em !important;
    
    /* Borde y protección de layout */
    pointer-events: none; 
    z-index: 10; 
    flex-shrink: 0 !important; 
}

/* Ajuste de esquinas para que se vean unidos */
.quantity-control .qty-minus {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    margin-right: -1px; 
}
.quantity-control .qty-plus {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    margin-left: -1px; 
}


/* ------------------------------------------- */
/* BOTÓN DE ELIMINAR (Icono de papelera) */
/* ------------------------------------------- */
.remove-item { 
    background: none !important; 
    border: none !important; 
    cursor: pointer; 
    padding: 0; 
    align-self: flex-start; 
    flex-shrink: 0;
    margin-left: 10px;
}
.remove-item:hover {
}
.remove-item .dashicons { 
    font-size: 20px; 
    line-height: 1; 
}

/* ------------------------------------------- */
/* TOTAL Y BOTÓN DE PEDIDO */
/* ------------------------------------------- */
.custom-cart-total-line {
    font-weight: 700;
    font-size: 1.5em;
    text-align: right;
    padding-top: 20px;
}
.custom-cart-grand-total {
}

.custom-checkout-button-wrapper {
    text-align: center; 
    padding: 20px 0;
}
.custom-checkout-btn {
    width: 300px; 
    max-width: 100%; 
}
.custom-checkout-btn:hover:not(:disabled) {
}


/* ------------------------------------------- */
/* MOBILE (Ajustes Responsive) */
/* ------------------------------------------- */
@media (max-width: 767px) {
    .custom-cart-columns { 
        flex-direction: column; 
        gap: 0;
    }
    .custom-cart-column.personalized-column {
        border-bottom: 1px solid #ddd;
        margin-bottom: 10px;
        padding-bottom: 10px;
    }
    
    .remove-item {
        position: absolute; 
        top: 15px; 
        right: 0; 
    }
    .custom-cart-item {
        padding-right: 35px; 
    }

    /* Ocultamos el precio del header en móvil */
    .item-price-header {
        display: none !important;
    }
    
    /* El precio total del ítem se muestra abajo a la derecha en móvil */
    .item-price-mobile { 
        display: block !important; 
        position: absolute; 
        bottom: 15px; 
        right: 35px; 
        font-weight: 700;
        font-size: 1.1em;
    }
    .item-controls {
        justify-content: flex-start; 
        gap: 15px;
    }
}/* End custom CSS */