/* ========================================
   LTS - Components
   ======================================== */

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: var(--off-white);
    z-index: 2000;
    box-shadow: var(--shadow-lg);
    transition: right var(--transition-normal);
}

.cart-sidebar.active {
    right: 0;
}

.cart-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: var(--color-negro);
    border-bottom: 3px solid var(--color-crema);
}

.cart-header h3 {
    margin: 0;
    font-size: 18px;
    color: var(--white);
    font-family: var(--font-body);
    text-transform: none;
    letter-spacing: 0;
}

.close-cart {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--white);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 15px 0;
    border-bottom: 1px solid var(--gray-border);
    gap: 15px;
}

.cart-item-info {
    flex: 1;
}

.cart-item-info h4 {
    margin: 0 0 8px 0;
    font-size: 14px;
    font-family: var(--font-body);
    text-transform: none;
    letter-spacing: 0;
    color: var(--text-primary);
    font-weight: 600;
}

.cart-item-talla {
    margin: 0;
    font-size: 12px;
    color: var(--text-light);
}

.cart-item-cantidad {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
}

.qty-btn {
    width: 28px;
    height: 28px;
    border: 1px solid var(--gray-border);
    background: var(--white);
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.qty-btn:hover {
    background: var(--color-crema);
    color: var(--color-negro);
    border-color: var(--color-crema);
}

.cart-item-price {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 5px 0;
}

.cart-item-subtotal {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-negro);
    margin: 5px 0;
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: 5px;
    font-size: 16px;
    transition: color 0.2s ease;
    flex-shrink: 0;
}

.cart-item-remove:hover {
    color: #f44336;
}

.empty-cart {
    text-align: center;
    color: var(--text-light);
    padding: 60px 0;
    font-size: 16px;
}

.cart-footer {
    padding: 20px;
    background: var(--white);
    border-top: 1px solid var(--gray-border);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.total-amount {
    color: var(--color-crema);
}

.btn-block {
    width: 100%;
}

/* Scroll Animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Notification */
.notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--color-negro);
    color: var(--white);
    padding: 15px 25px;
    border-radius: 50px;
    box-shadow: var(--shadow-lg);
    z-index: 3000;
    transform: translateX(150%);
    transition: transform var(--transition-normal);
    font-weight: 600;
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    background: #4CAF50;
}

.notification.error {
    background: #f44336;
}
