:root {
   --dark-red: #cd8501;
    --red: #ee9236;
    --dark-bg: #000000;
    --text-white: #ffffff;
    --border-gray: #333333;
    /* إضافة المتغيرات المستخدمة في الناف بار المتطابقة */
    --red: #ee9236;
    --white: #ffffff;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* --- Navbar المطابقة تماماً لكود الـ Contact --- */
.navbar {
    height: 90px; 
    background-color: rgba(0, 0, 0);
    backdrop-filter: blur(200px); 
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0, 0.08);
    display: flex;
    align-items: center;
    position: fixed; 
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

.nav-wrapper { display: flex; justify-content: space-between; align-items: center; width: 100%; }

/* Logo Group */
.nav-logo { display: flex; align-items: center; gap: 15px; }
.logo-img { height: 90px; width: auto; object-fit: contain; }
.logo-divider { width: 1px; height: 30px; background-color: rgba(0, 0, 0, 0.2); }

/* تأثير الـ Badge الحلال المتطابق */
.nav-logo:hover .halal-badge {
    background-color: var(--red);
    transform: scale(1.05);
}

/* Nav Menu */
.nav-menu { display: flex; list-style: none; gap: 30px; align-items: center; }

.nav-link {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--red);
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active { color: var(--red); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

/* Buttons */
.btn {
    padding: 12px 28px;
    border-radius: 4px; 
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    display: inline-block;
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
}

.btn-red {
    background-color: var(--red);
    color: var(--white);
    border: 1px solid var(--red);
}

.btn-red:hover {
    background-color: transparent;
    color: var(--red);
    transform: translateY(-3px);
}

.btn-white { background-color: var(--white); color: var(--red); padding: 15px 40px; }

/* Control Visibility */
.mobile-only-item { display: none; } 

/* Mobile Toggle */
.menu-toggle { display: none; flex-direction: column; cursor: pointer; gap: 6px; }
.menu-toggle .bar { width: 28px; height: 2px; background-color: var(--white); transition: var(--transition); }

/* --- بقية ستايل الصفحة الأصلي بدون أي تعديل --- */
/* Header */
.product-header { margin-bottom: 30px; margin-top: 110px; /* إضافة إزاحة علوية صغيرة لتجنب الغطاء تحت الـ navbar الثابتة */ }
.gold-text {
    color: var(--gold);
    font-weight: bold;
    text-transform: uppercase;
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    letter-spacing: 1px;
}
.product-header h1 { font-family: 'Montserrat', sans-serif; font-size: 2.2rem; margin-bottom: 10px; }
.sub-headline { font-size: 1.1rem; color: #ccc; }

/* Main Layout */
.main-flex { display: flex; gap: 30px; align-items: stretch; } 

/* تصغير صورة الكراتين العلوية */
.product-image-container {
    flex: 0.8; 
    background-color: #000;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    max-height: 500px; 
}

.image-wrapper {
    position: relative;
    width: 100%;
    -webkit-mask-image: radial-gradient(circle, black 65%, transparent 98%);
    mask-image: radial-gradient(circle, black 65%, transparent 98%);
}

.box-image {
    width: 100%;
    height: auto;
    display: block;
    filter: brightness(0.9) contrast(1.2) saturate(1.1);
    mix-blend-mode: lighten; 
}

.info-card {
    flex: 1.2; 
    border: 1px solid var(--gold);
    padding: 30px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
}

.info-group h2 { font-size: 1.2rem; margin-bottom: 15px; }
.info-group ul { list-style: none; margin-bottom: 25px; }
.info-group ul li { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 0.95rem; }
.info-group ul li i { color: var(--gold); font-size: 1.1rem; }

.divider { height: 1px; background: var(--border-gray); margin-bottom: 25px; }

/* Icons Grid */
.icons-grid {
    display: flex; justify-content: space-around;
    border: 1px solid var(--gold);
    padding: 15px 5px; margin: 15px 0;
    border-radius: 4px;
}
.icon-item { text-align: center; }
.icon-item i { display: block; font-size: 1.5rem; color: var(--gold); margin-bottom: 5px; }
.icon-item span { font-size: 10px; font-weight: bold; text-transform: uppercase; }
.custom-note { text-align: center; font-size: 0.85rem; color: #aaa; }

/* Bottom Section */
.bottom-flex { 
    display: flex; 
    align-items: center; 
    gap: 30px; 
    margin-top: 40px; 
    border-top: 1px solid var(--border-gray); 
    padding-top: 30px; 
}

/* تصغير الصورة السفلية للربع */
.bottom-img-small { 
    flex: 0.25; 
}

.bottom-img-small img { 
    width: 100%; 
    height: auto;
    border-radius: 4px; 
    filter: brightness(0.8); 
}

.bottom-text { flex: 1.5; }

.page-num { text-align: right; padding: 20px; }
.page-num span { background: var(--gold); color: #000; padding: 5px 20px; font-weight: bold; border-radius: 4px; font-size: 12px; }

/* Media Queries */
@media (max-width: 992px) {
    /* دمج الميديا كويري المتطابقة والخاصة بالـ Navbar من صفحة Contact */
    .menu-toggle { display: flex; z-index: 1001; }
    .nav-actions { display: none; }
    .nav-menu {
        position: fixed; top: 0; right: -100%; width: 75%; height: 100vh; 
        background-color: rgba(5, 5, 5, 0.98);
        flex-direction: column; justify-content: center; align-items: center; 
        transition: 0.5s ease-in-out; gap: 25px;
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }
    .nav-menu.active { right: 0; }
    .mobile-only-item { display: block; width: 80%; text-align: center; margin-top: 10px; }
    .mobile-only-item .btn { width: 100%; }
    .menu-toggle.active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

@media (max-width: 768px) {
    /* تنسيقات ريسبرونسيف صفحة المنتجات الأصلية بدون تغيير */
    .main-flex, .bottom-flex { flex-direction: column; }
    .product-header h1 { font-size: 1.8rem; }
    .product-image-container { flex: none; width: 100%; }
    .bottom-img-small { width: 50%; margin: 0 auto; } 
}