/* Depurarte Cart Page Styles - 1:1 Pixel Match with Design Spec */

html, body {
    max-width: 100vw;
    overflow-x: hidden !important;
}

.depurarte-cart-page {
    background: #F8F5F0;
    color: #3A2A3F;
    font-family: var(--font-body, 'Montserrat', sans-serif);
    padding: 44px 0 72px 0;
    min-height: 80vh;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
}

.depurarte-cart-container {
    max-width: 1000px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
}

.depurarte-cart-title {
    font-family: 'Cormorant Garamond', 'Cinzel Decorative', serif;
    font-size: 40px;
    font-weight: 600;
    color: var(--violeta-profundo, #340E49);
    margin: 0 0 28px 0;
}

/* Empty Cart Card */
.depurarte-cart-empty-card {
    background: #FFFFFF;
    border: 1px solid var(--border-default, #E5DCCB);
    border-radius: 18px;
    padding: 56px 24px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(18, 3, 27, 0.04);
}

.depurarte-cart-empty-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    color: var(--violeta-profundo, #340E49);
    margin: 0 0 20px 0;
}

/* Cart Grid Layout */
.depurarte-cart-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 32px;
    align-items: start;
}

/* Items Card Column */
.depurarte-cart-items-card {
    background: #FFFFFF;
    border: 1px solid var(--border-default, #E5DCCB);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(18, 3, 27, 0.04);
}

.depurarte-cart-item-row {
    display: flex;
    gap: 18px;
    padding: 20px;
    border-bottom: 1px solid var(--border-default, #E5DCCB);
    align-items: center;
    transition: background 0.16s ease;
}

.depurarte-cart-item-row:hover {
    background: #FDFBF7;
}

.depurarte-cart-item-thumb {
    width: 76px;
    height: 76px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    background: #EFE7D6;
}

.depurarte-cart-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.depurarte-cart-item-details {
    flex: 1;
}

.depurarte-cart-item-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 19px;
    font-weight: 600;
    color: var(--violeta-profundo, #340E49);
    line-height: 1.25;
}

.depurarte-cart-item-title a {
    color: var(--violeta-profundo, #340E49);
    text-decoration: none;
    transition: color 0.16s ease;
}

.depurarte-cart-item-title a:hover {
    color: var(--oro-antiguo, #D0A761);
}

.depurarte-cart-item-meta {
    font-size: 12px;
    color: var(--text-muted, #7A6A7E);
    margin-top: 4px;
}

.depurarte-cart-item-remove {
    font-size: 12px;
    color: var(--oro-antiguo, #D0A761);
    margin-top: 8px;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
    display: inline-block;
    transition: color 0.16s ease;
}

.depurarte-cart-item-remove:hover {
    color: var(--violeta-profundo, #340E49);
}

.depurarte-cart-item-qty {
    font-size: 13px;
    color: var(--text-muted, #7A6A7E);
}

.depurarte-cart-item-total {
    font-size: 16px;
    font-weight: 600;
    color: var(--violeta-profundo, #340E49);
    min-width: 80px;
    text-align: right;
}

/* Coupon Form Row */
.depurarte-cart-coupon-row {
    display: flex;
    gap: 12px;
    padding: 20px;
    align-items: center;
}

.depurarte-coupon-input {
    flex: 1;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid var(--border-strong, #CDBFA6);
    font-family: var(--font-body, 'Montserrat', sans-serif);
    font-size: 14px;
    outline: none;
    background: #FFFFFF;
    color: #3A2A3F;
    transition: border-color 0.16s ease;
}

.depurarte-coupon-input:focus {
    border-color: var(--violeta-profundo, #340E49);
}

/* Secondary Button Component */
.depurarte-btn-secondary {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid var(--border-strong, #CDBFA6);
    background: #FFFFFF;
    color: #3A2A3F;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.depurarte-btn-secondary:hover {
    border-color: var(--violeta-profundo, #340E49);
    color: var(--violeta-profundo, #340E49);
    transform: translateY(-1px);
}

/* Order Summary Panel Card (340px) */
.depurarte-cart-summary-card {
    background: var(--marfil-100, #FCFAF4);
    border: 1px solid var(--border-default, #E5DCCB);
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 2px 10px rgba(18, 3, 27, 0.04);
}

.depurarte-summary-heading {
    font-size: 11px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--purpura-loto, #572760);
    font-weight: 600;
    margin-bottom: 18px;
}

.depurarte-summary-line {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    padding: 8px 0;
    color: var(--text-body, #3A2A3F);
}

.depurarte-summary-total {
    font-size: 18px;
    font-weight: 600;
    padding: 16px 0 20px;
    margin-top: 8px;
    border-top: 1px solid var(--border-default, #E5DCCB);
    color: var(--violeta-profundo, #340E49);
}

.depurarte-btn-primary-lg {
    display: block;
    width: 100%;
    background: var(--violeta-profundo, #340E49);
    color: #F8F3E8;
    border: none;
    padding: 16px 28px;
    border-radius: 999px;
    font-family: var(--font-body, 'Montserrat', sans-serif);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 4px 16px rgba(52, 14, 73, 0.28);
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.depurarte-btn-primary-lg:hover {
    background: #1F082C;
    box-shadow: 0 6px 20px rgba(52, 14, 73, 0.38);
    transform: translateY(-1px);

}

.depurarte-summary-trust-note {
    font-size: 12px;
    color: var(--text-muted, #7A6A7E);
    text-align: center;
    margin-top: 14px;
}

/* Responsive Overrides */
@media (max-width: 900px) {
    .depurarte-cart-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .depurarte-cart-title {
        font-size: 32px;
    }

    .depurarte-cart-item-row {
        flex-wrap: wrap;
        gap: 12px;
    }

    .depurarte-cart-item-total {
        margin-left: auto;
    }
}
