


* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Inter', sans-serif;
    background: var(--warm-white);
    color: var(--gray-800);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}




.main-content {
    flex: 1;
    padding: 100px 0 60px;
}


.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--imperial-gold);
    position: relative;
}
.cart-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, var(--imperial-gold), var(--primary));
}
.cart-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
}
.cart-count-badge {
    background: linear-gradient(135deg, var(--primary), var(--imperial-gold));
    color: var(--white);
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.2);
    letter-spacing: 0.5px;
}


.shipping-progress-container {
    background: var(--white);
    border-radius: 16px;
    padding: 20px 24px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    border-left: 4px solid var(--imperial-gold);
}
.shipping-progress-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.shipping-progress-text span.amount {
    color: var(--primary);
    font-weight: 800;
}
.shipping-progress-bar-bg {
    width: 100%;
    height: 8px;
    background: var(--gray-200);
    border-radius: 4px;
    overflow: hidden;
}
.shipping-progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--imperial-gold), var(--primary));
    border-radius: 4px;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}


.cart-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 30px;
    align-items: start;
}

.cart-items-section {
    background: var(--white);
    border-radius: 20px;
    padding: 0;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-100);
    overflow: hidden;
}


.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: 20px;
    align-items: center;
    padding: 24px 28px;
    border-bottom: 1px solid var(--gray-100);
    transition: background 0.2s ease;
}
.cart-item:last-child {
    border-bottom: none;
}
.cart-item:hover {
    background: var(--gray-50);
}

.item-image {
    width: 100px;
    height: 100px;
    background: var(--gray-100);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}
.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.item-details {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}
.item-brand {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--imperial-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.item-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--gray-800);
    margin: 0;
}
.item-price {
    font-family: 'Georgia', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    white-space: nowrap;
}
.item-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.item-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: var(--gray-600);
    background: var(--gray-100);
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 500;
}
.item-total {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
}

.item-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 140px;
}
.quantity-wrapper {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.quantity-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.quantity-control {
    display: flex;
    align-items: center;
    gap: 0;
    width: fit-content;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--gray-200);
}
.qty-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: var(--white);
    color: var(--gray-700);
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.2s ease;
}
.qty-btn:hover {
    background: var(--gray-50);
}
.qty-btn:first-child {
    border-right: 1px solid var(--gray-200);
}
.qty-btn:last-child {
    border-left: 1px solid var(--gray-200);
}
.qty-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: var(--gray-50);
}
.qty-value {
    width: 40px;
    text-align: center;
    font-weight: 600;
    color: var(--gray-800);
}
.item-actions-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.save-for-later, .remove-btn {
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    text-align: left;
}
.save-for-later {
    background: var(--gray-50);
    color: var(--gray-600);
}
.save-for-later:hover {
    background: var(--imperial-gold);
    color: var(--white);
}
.remove-btn {
    background: transparent;
    color: var(--primary);
}
.remove-btn:hover {
    background: var(--primary);
    color: var(--white);
}


