/* Cart Page Styles */
.cart-section {
    padding: 120px 0 80px;
    min-height: 100vh;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.cart-header {
    text-align: center;
    margin-bottom: 60px;
}

.cart-header h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 700;
}

.cart-header p {
    font-size: 1.2rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
}

.cart-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Cart Summary Section */
.cart-summary-section {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.cart-summary-section h2 {
    color: #2c3e50;
    margin-bottom: 25px;
    font-size: 1.8rem;
    border-bottom: 3px solid #27ae60;
    padding-bottom: 10px;
}

.summary-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    border-left: 4px solid #27ae60;
}

.summary-card h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.summary-card.total-card {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    border-left: 4px solid #1e8449;
}

.summary-card.total-card h3 {
    color: white;
}

.selected-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.selected-item:last-child {
    margin-bottom: 0;
}

.item-info h4 {
    color: #2c3e50;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.item-description {
    color: #6c757d;
    font-size: 0.9rem;
    margin: 0;
}

.item-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #27ae60;
}

.remove-btn {
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 15px;
}

.remove-btn:hover {
    background: #c0392b;
    transform: scale(1.1);
}

.empty-message {
    text-align: center;
    color: #6c757d;
    font-style: italic;
    margin-bottom: 20px;
}

.select-btn {
    display: inline-block;
    background: #27ae60;
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
}

.select-btn:hover {
    background: #2ecc71;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(39, 174, 96, 0.3);
}

.total-display {
    text-align: center;
}

.total-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
}

/* Contact Form Section */
.contact-form-section {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-form-section h2 {
    color: #2c3e50;
    margin-bottom: 25px;
    font-size: 1.8rem;
    border-bottom: 3px solid #3498db;
    padding-bottom: 10px;
}

.contact-form.full-width {
    max-width: none;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

/* Confirmation Section */
.confirmation-section {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.confirmation-section h2 {
    color: #2c3e50;
    margin-bottom: 25px;
    font-size: 1.8rem;
    border-bottom: 3px solid #f39c12;
    padding-bottom: 10px;
}

.preview-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 30px;
    border-left: 4px solid #f39c12;
}

.preview-card h4 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.preview-section {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #dee2e6;
}

.preview-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.preview-section h5 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.preview-section p {
    margin: 5px 0;
    color: #495057;
}

.action-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-secondary, .btn-primary {
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 117, 125, 0.3);
}

.btn-primary {
    background: #25d366;
    color: white;
}

.btn-primary:hover:not(:disabled) {
    background: #128c7e;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.btn-primary:disabled {
    background: #95a5a6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Cart Badge Styles */
.cart-badge {
    background: #e74c3c;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 0.8rem;
    font-weight: 700;
    position: absolute;
    top: -8px;
    right: -8px;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.cart-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cart-section {
        padding: 100px 0 60px;
    }
    
    .cart-header h1 {
        font-size: 2rem;
    }
    
    .cart-content {
        gap: 30px;
        padding: 0 20px;
    }
    
    .cart-summary-section,
    .contact-form-section,
    .confirmation-section {
        padding: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .selected-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .selected-item .item-price {
        align-self: flex-end;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-secondary,
    .btn-primary {
        justify-content: center;
    }
    
    .total-amount {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .cart-header h1 {
        font-size: 1.8rem;
    }
    
    .cart-header p {
        font-size: 1rem;
    }
    
    .summary-card,
    .preview-card {
        padding: 20px;
    }
    
    .selected-item {
        padding: 15px;
    }
}