/* products-style.css - تنسيق صفحة المنتجات فقط */

/* العنوان */
.products-section {
    padding: 80px 0 100px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.products-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
}

.products-title {
    font-family: 'Delight', sans-serif;
    font-weight: 900;
    font-size: 4.8rem;
    color: #0e71aa;
    margin: 0 auto 80px;
    position: relative;
    display: inline-block;
}

.products-title::after {
    content: '';
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 6px;
    background: linear-gradient(90deg, #e4771e, #0e71aa, #e4771e);
    border-radius: 3px;
}

/* كل منتج */
.product-full {
    background: white;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
    margin-bottom: 60px;
    transition: transform 0.4s ease;
}

.product-full:hover {
    transform: translateY(-10px);
}

/* الصف الأول: صورة + اسم + وزن + مميزات */
.product-header-row {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
    padding: 32px;
    background: #fdfdfd;
    border-bottom: 1px solid #eee;
}

.product-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #e4771e;
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}

.product-info-header h3 {
    font-family: 'Delight', sans-serif;
    font-weight: 800;
    font-size: 1.8rem;
    color: #0e71aa;
    margin: 0 0 8px;
}

.product-info-header .product-weight {
    font-size: 1.2rem;
    color: #e4771e;
    font-weight: 700;
    margin: 0 0 16px;
}

.highlights-row {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.05rem;
    color: #444;
}

.highlight-item i {
    color: #e4771e;
    font-size: 1.3rem;
}

/* الأقسام تحت */
.product-section {
    padding: 28px 32px;
    border-bottom: 1px dashed #ddd;
}

.product-section:last-child {
    border-bottom: none;
}

.product-section h4 {
    font-family: 'Delight', sans-serif;
    font-weight: 800;
    font-size: 1.4rem;
    color: #0e71aa;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-section h4 i {
    color: #e4771e;
    font-size: 1.3rem;
}

.product-section ul,
.product-section ol {
    padding-left: 20px;
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
}

.product-section li {
    margin-bottom: 8px;
}

.product-section li::marker {
    color: #e4771e;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    font-size: 1.05rem;
}

.info-grid p {
    margin: 0;
}

.info-grid strong {
    color: #0e71aa;
}
/* NEW: Grid for Description + Facts */
.product-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding: 28px 32px;
    border-bottom: 1px dashed #ddd;
    align-items: start;
}

.product-details-grid .description-section,
.product-details-grid .facts-section {
    padding: 0;
    border: none;
}

/* تصغير صورة الحقائق + تنسيق أنيق */
.facts-img-wrapper {
    position: relative;
    display: inline-block;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
    max-width: 100%;
    border: 3px solid #0e71aa;
    background: white;
}

.facts-img {
    max-width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.facts-img:hover {
    transform: scale(1.03);
}

.zoom-btn {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0,0,0,0.7);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: 0.3s;
}

.zoom-btn:hover {
    background: #e4771e;
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 992px) {
    .product-details-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .facts-img-wrapper {
        max-width: 80%;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .product-details-grid {
        padding: 20px;
    }
    .facts-img-wrapper {
        max-width: 100%;
    }
}
/* صورة الحقائق */
.facts-img-wrapper {
    position: relative;
    display: inline-block;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
    max-width: 70%;
}

.facts-img {
    max-width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.facts-img:hover {
    transform: scale(1.03);
}

.zoom-btn {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(0,0,0,0.6);
    color: white;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    transition: 0.3s;
}

.zoom-btn:hover {
    background: #e4771e;
}

/* Modal */
#image-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

#image-modal.show { display: flex; }

.modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 3rem;
    background: none;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

.modal-close:hover {
    color: #e4771e;
    transform: scale(1.2);
}

#modal-img {
    max-width: 90%;
    max-height: 85vh;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

/* Responsive */
@media (max-width: 992px) {
    .product-header-row {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .product-image {
        max-width: 260px;
        margin: 0 auto;
    }
    .highlights-row {
        justify-content: center;
    }
    .info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .products-title { font-size: 3.6rem; }
    .product-header-row { padding: 24px; gap: 24px; }
    .product-info-header h3 { font-size: 1.6rem; }
}

@media (max-width: 576px) {
    .products-title { font-size: 2.8rem; margin-bottom: 50px; }
    .product-full { margin-bottom: 40px; }
    .product-header-row { padding: 20px; gap: 16px; }
    .product-image { max-width: 200px; }
    .product-section { padding: 20px; }
}