/* Product Detail Specific Styles */

.product-detail-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; padding: 60px 0; }

.product-gallery { 
    background: #fff; 
    border-radius: 40px; 
    padding: 40px; 
    box-shadow: 0 40px 100px rgba(10,36,99,0.05);
    border: 1px solid #f0f4f8;
    position: sticky;
    top: 100px;
}
.product-gallery img { width: 100%; border-radius: 20px; object-fit: contain; }

.product-meta h1 { font-size: 2.8rem; color: var(--primary); margin-bottom: 25px; line-height: 1.2; }
.product-category-tag { 
    display: inline-block; 
    padding: 8px 20px; 
    background: #f0f7ff; 
    color: var(--secondary); 
    border-radius: 50px; 
    font-weight: 700; 
    font-size: 0.85rem; 
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-description { 
    font-size: 1.1rem; 
    color: #555; 
    line-height: 1.8; 
    margin-bottom: 40px; 
}

.cta-block { 
    background: #f8fafc; 
    padding: 40px; 
    border-radius: 30px; 
    border: 1px solid #eef2f6;
}
.price-tag { font-size: 1.5rem; color: var(--primary); font-weight: 700; margin-bottom: 25px; display: block; }

.btn-buy {
    width: 100%;
    padding: 22px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 18px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 20px 40px rgba(10,36,99,0.2);
}
.btn-buy:hover { transform: translateY(-5px); box-shadow: 0 25px 50px rgba(10,36,99,0.3); }

.specs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.spec-item { padding: 15px; background: #fff; border-radius: 15px; border: 1px solid #f0f0f0; }
.spec-label { display: block; font-size: 0.8rem; color: #888; margin-bottom: 5px; }
.spec-value { font-weight: 600; color: var(--primary); }

/* Modal Content Improvements */
.modal-content { 
    background: #fff;
    border-radius: 40px; 
    padding: 50px; 
    max-width: 550px; 
    margin: 5% auto; 
    position: relative; 
    box-shadow: 0 40px 100px rgba(0,0,0,0.2);
}
.modal-form input, .modal-form select { 
    width: 100%; padding: 16px; border-radius: 14px; border: 2px solid #f0f0f0; background: #fafafa; outline: none; transition: 0.3s; font-family: inherit;
}
.modal-form input:focus { border-color: var(--primary-light); background: #fff; }
.modal-form button { 
    width: 100%; padding: 18px; background: var(--primary); color: #fff; border-radius: 15px; border: none; font-weight: 700; font-size: 1.1rem; cursor: pointer; transition: 0.3s;
}
.modal-form button:hover { background: var(--secondary); transform: translateY(-2px); }

/* --- Mobile Responsiveness --- */
@media (max-width: 992px) {
    .product-detail-layout { grid-template-columns: 1fr; gap: 30px; padding: 30px 0; }
    .product-gallery { position: static; padding: 25px; border-radius: 30px; }
    .product-meta h1 { font-size: 1.8rem; margin-bottom: 15px; }
    .product-description { font-size: 1rem; margin-bottom: 30px; }
    .cta-block { padding: 30px; border-radius: 25px; }
    .specs-grid { grid-template-columns: 1fr; gap: 12px; }
    .modal-content { padding: 30px; width: 95%; margin: 15% auto; }
}

@media (max-width: 576px) {
    .product-meta h1 { font-size: 1.5rem; }
    .btn-buy { padding: 18px; font-size: 1.1rem; }
    .price-tag { font-size: 1.3rem; }
}
