/* ==========================================================================
   CART ITEMS: Columna izquierda (Lista de Productos)
   ========================================================================== */

.hs-cart-items-header {
    display: flex;
    align-items: baseline;
    gap: 15px;
    margin-bottom: 20px;
}

.hs-selections-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600; 
    font-size: 20px;
    color: #000;
    margin: 0;
    text-transform: uppercase;
}

.hs-added-pieces {
    font-family: 'General Sans', sans-serif;
    font-weight: 400; 
    font-size: 12px;
    color: #333;
}

.hs-cart-divider {
    border: none;
    border-top: 1px solid #D6D6D6;
    margin: 0 0 40px 0;
}

/* --- TARJETA DE PRODUCTO HORIZONTAL --- */
.hs-cart-item {
    display: flex;
    gap: 30px;
    align-items: center;
    margin-bottom: 40px;
}

.hs-cart-item-image {
    flex: 0 0 22%; /* Approx 180x180 */
    aspect-ratio: 1 / 1;
    background: #EAEAEA;
    overflow: hidden;
}

.hs-cart-item-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
}

.hs-cart-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.hs-cart-item-cat {
    font-family: 'General Sans', sans-serif;
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.hs-cart-item-cat a {
    color: inherit;
    text-decoration: none;
}

.hs-cart-item-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    font-size: 20px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hs-cart-item-title a {
    color: #000;
    text-decoration: none;
}

/* --- ACCIONES BLINDADAS (Edit | Remove | Fav) --- */
.hs-cart-item-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'General Sans', sans-serif;
    font-size: 14px;
    flex-wrap: wrap; 
}

.hs-cart-item-actions a,
.hs-cart-item-actions button,
.hs-cart-item-actions a.remove,
.woocommerce a.remove {
    color: #000 !important;
    text-decoration: underline !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    font-size: 14px !important;
    font-family: 'General Sans', sans-serif !important;
    font-weight: 400 !important; 
    line-height: normal !important;
    width: auto !important;
    height: auto !important;
    white-space: nowrap !important; 
}

.hs-cart-item-actions a:hover,
.hs-cart-item-actions button:hover,
.hs-cart-item-actions a.remove:hover,
.woocommerce a.remove:hover {
    color: #333 !important;
    background: transparent !important;
}

.hs-cart-item-actions button svg {
    margin-top: -2px !important;
}

.hs-sep {
    color: #000 !important;
    text-decoration: none !important;
    pointer-events: none !important; 
}

/* --- QUANTITY & PRECIO --- */
.hs-cart-item-qty-price {
    display: flex;
    align-items: center;
    gap: 30px;
    flex: 0 0 auto;
}

.hs-qty-selector {
    display: flex;
    align-items: center;
    gap: 15px;
}

.hs-qty-label {
    font-family: 'General Sans', sans-serif;
    font-size: 14px;
}

.hs-qty-btn {
    width: 32px;
    height: 32px;
    border: 1px solid #000;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.hs-qty-input {
    width: 40px;
    height: 32px;
    text-align: center;
    border: 1px solid #000;
    font-family: 'General Sans', sans-serif;
    font-weight: 600;
    -moz-appearance: textfield;
}

.hs-qty-input::-webkit-outer-spin-button, 
.hs-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.hs-cart-item-price {
    font-family: 'Cinzel', serif;
    font-weight: 500;
    font-size: 20px;
    color: #000;
    min-width: 90px;
    text-align: right;
}

.hs-cart-item-divider {
    border: none;
    border-top: 1px solid #EAEAEA;
    margin: 0 0 40px 0;
}

/* =========================================
   MOBILE VIEW (< 1024px)
   ========================================= */
@media (max-width: 1023px) {
    .hs-cart-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .hs-cart-item-image {
        width: 100%;
        flex: 0 0 auto;
    }

    .hs-cart-item-qty-price {
        width: 100%;
        justify-content: space-between;
        margin-top: 10px;
    }
}