.cart-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.cart-header {
    margin-bottom: 2rem;
}

.cart-header h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.cart-summary {
    color: #666;
    font-size: 1.1rem;
}

.cart-content {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2rem;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cart-item {
    display: grid;
    grid-template-columns: 120px 1fr auto;
    gap: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

.cart-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.item-image {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.item-details h3 {
    font-size: 1.2rem;
    color: #333;
    margin: 0;
}

.item-description {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

.item-meta {
    display: flex;
    gap: 1rem;
    color: #666;
    font-size: 0.9rem;
}

.item-meta i {
    margin-right: 0.5rem;
    color: #007bff;
}

.item-rating {
    color: #ffc107;
    font-size: 0.9rem;
}

.item-rating i {
    margin-right: 0.2rem;
}

.item-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
}

.price {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f8f9fa;
    padding: 0.5rem;
    border-radius: 4px;
}

.quantity-btn {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0 0.5rem;
}

.quantity {
    min-width: 2rem;
    text-align: center;
}

.remove-btn {
    background: none;
    border: none;
    color: #dc3545;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.2s ease;
}

.remove-btn:hover {
    color: #c82333;
}

.cart-summary-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.summary-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.summary-card h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 1.5rem;
}

.summary-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    color: #666;
}

.summary-row.total {
    font-weight: 600;
    color: #333;
    font-size: 1.1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.promo-code {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.promo-code input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9rem;
}

.apply-btn {
    background: #f8f9fa;
    border: 1px solid #ddd;
    padding: 0 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.apply-btn:hover {
    background: #e9ecef;
}

.checkout-btn {
    width: 100%;
    padding: 1rem;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
    margin-bottom: 1.5rem;
}

.checkout-btn:hover {
    background: #0056b3;
}

.payment-methods {
    text-align: center;
}

.payment-methods p {
    color: #666;
    margin-bottom: 1rem;
}

.payment-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    font-size: 1.5rem;
    color: #666;
}

.safety-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.safety-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.safety-item i {
    font-size: 1.5rem;
    color: #007bff;
}

.safety-item h4 {
    margin: 0 0 0.5rem 0;
    color: #333;
}

.safety-item p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .cart-content {
        grid-template-columns: 1fr;
    }

    .cart-item {
        grid-template-columns: 1fr;
    }

    .item-image {
        width: 100%;
        height: 200px;
    }

    .item-price {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
} 