/**
 * Luna Design - Contact & Cart Page Styles
 */

.contact-wrapper {
    padding-top: 140px;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 5%;
    padding-right: 5%;
}

.contact-grid {
    display: flex;
    gap: 80px;
}

.contact-section, .cart-section {
    flex: 1;
}

/* Contact Form */
.contact-section h1 { font-size: 3rem; margin-bottom: 12px; }
.subtitle { color: var(--text-muted); margin-bottom: 40px; font-size: 1.1rem; }

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    background: white;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--text-dark);
    box-shadow: 0 0 0 4px rgba(0,0,0,0.05);
}

.contact-form button[type="submit"] {
    width: 100%;
    margin-top: 10px;
}

.contact-info {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border-light);
    color: var(--text-muted);
}
.contact-info p { margin-bottom: 10px; }

/* Shopping Cart */
.cart-section {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    height: fit-content;
}

.cart-section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
}

.empty-cart-msg {
    color: var(--text-muted);
    font-size: 1.1rem;
    text-align: center;
    padding: 40px 0;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 20px;
}

.item-img-placeholder {
    width: 80px;
    height: 80px;
    background: var(--bg-cream);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.item-details h4 { font-size: 1.2rem; margin-bottom: 4px; }
.item-details p { color: var(--text-muted); font-size: 0.9rem; }
.item-price { margin-left: auto; font-weight: 500; font-size: 1.2rem; }

.cart-total { margin-top: 30px; }
.total-row { display: flex; justify-content: space-between; margin-bottom: 16px; color: var(--text-muted); }
.total-row.grand-total { font-size: 1.4rem; color: var(--text-dark); border-top: 1px solid var(--border-light); padding-top: 16px; margin-bottom: 30px; }

.checkout-btn { width: 100%; font-size: 1.1rem; padding: 18px; }
.btn-clear { width: 100%; background: none; border: none; padding: 16px; margin-top: 10px; color: #e53935; cursor: pointer; text-decoration: underline; font-family: inherit; }

/* --- RESPONSIVE BREAKPOINTS --- */
@media screen and (max-width: 900px) {
    .contact-wrapper {
        padding-top: 100px;
    }
    
    .contact-grid { 
        flex-direction: column; 
        gap: 40px; 
    }
    
    .contact-section h1 {
        font-size: 2.6rem;
    }
    
    .subtitle {
        margin-bottom: 30px;
    }
    
    .cart-section {
        padding: 30px 20px;
    }
    
    .cart-section h2 {
        font-size: 1.8rem;
    }
    
    .contact-info {
        margin-top: 40px;
        padding-top: 30px;
    }
}

@media screen and (max-width: 480px) {
    .contact-section h1 {
        font-size: 2.2rem;
    }
    
    .item-img-placeholder {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .item-price {
        font-size: 1.1rem;
    }
}
