.cart-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.cart-title {
    /* font-size: 2rem; */
    color: #333;
    margin-bottom: 2rem;
}

.cart-header {
    display: grid;
    grid-template-columns: 3fr 1fr 1fr;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
    font-weight: 500;
    color: #666;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
}

.cart-item {
    display: grid;
    grid-template-columns: 3fr 1fr 1fr;
    padding: 2rem 0;
    border-bottom: 1px solid #eee;
    align-items: center;
    gap: 1rem;
}

.product-col {
    display: flex;
    gap: 1.5rem;
}

.product-image {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.product-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.product-image a:hover img {
    opacity: 0.8;
    transition: opacity 0.2s;
}

.product-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex-grow: 1;
}

.product-brand {
    color: #666;
    font-size: 0.9rem;
}

.product-name {
    font-weight: 500;
}

.product-name a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
}

.product-name a:hover {
    color: #4A5859;
    text-decoration: underline;
}

.product-price {
    color: #666;
    margin-top: 0.25rem;
}

.quantity-col {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-wrapper {
    display: inline-flex;
    align-items: center;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    background: #fff;
}

.minus-btn,
.plus-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    font-size: 16px;
    padding: 0 15px;
    margin: 0;
}

.minus-btn:hover,
.plus-btn:hover {
    color: #333;
}

.qty-input {
    min-width: 100px;
    width: 100px;
    height: 32px;
    text-align: center;
    border: none !important;
    margin: 0;
    border-left: 1px solid #e5e5e5;
    border-right: 1px solid #e5e5e5;
    background: transparent;
    font-size: 14px;
    color: #333;
    padding: 0;
    -moz-appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.qty-input:focus {
    outline: none !important;
    box-shadow:none !important;
}

.remove-item {
    background: none;
    border: none;
    color: #ccc;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0 10px;
    justify-content: center;
}

.remove-item:hover {
    color: #999;
}

.remove-item .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.total-col {
    text-align: right;
    font-weight: 500;
    color: #333;
}

.cart-collaterals {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.cart-notes h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #333;
}

.cart-notes textarea {
    width: 100%;
    height: 100px;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    resize: none;
    font-size: 0.9rem;
}

/* .cart-totals {
    background: #f9f9f9;
    border-radius: 8px;
} */

.subtotal {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.shipping-note {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.checkout-buttons {
    margin-bottom: 1.5rem;
}

.checkout-buttons-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.checkout-button,
.paypal-button {
    width: 100%;
    padding: 0.875rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
    transition: opacity 0.2s;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

.checkout-button:hover,
.paypal-button:hover {
    opacity: 0.9;
    text-decoration: none;
    color: inherit;
}

.checkout-button {
    background: #939c90 !important;
    color: white !important;
}

.paypal-button {
    background: #FFC439;
    color: #000;
}

.continue-shopping {
    display: block;
    text-align: center;
    margin-top: 1.5rem;
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
}

@media (max-width: 991px) {
    .cart-container {
        padding: 1.5rem;
    }

    .cart-header {
        font-size: 0.8rem;
    }

    .product-image {
        width: 80px;
        height: 80px;
    }

    .cart-collaterals {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .cart-container {
        padding: 1rem;
    }

    .cart-header {
        display: none;
    }
    
    .cart-item {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.5rem 0;
    }

    .product-col {
        gap: 1rem;
    }

    .quantity-col {
        justify-content: space-between;
        width: 100%;
    }

    .total-col {
        text-align: left;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .total-col::before {
        content: 'Total:';
        font-weight: normal;
        color: #666;
    }
    
    .cart-collaterals {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 2rem;
    }
}

@media (max-width: 480px) {
    .product-image {
        width: 60px;
        height: 60px;
    }

    .product-info {
        gap: 0.25rem;
    }

    .product-brand {
        font-size: 0.8rem;
    }

    .product-name {
        font-size: 0.9rem;
    }

    .cart-notes textarea {
        height: 80px;
    }

    .cart-totals {
        padding: 1.5rem;
    }

    .checkout-buttons-row {
        grid-template-columns: 1fr;
    }
} 