/* --- تنسيق قسم فيديو الواجهة المطور --- */
.hero-video {
    position: relative;
    height: 90vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* إضافة صورة خلفية مؤقتة هنا (استبدل الرابط بصورتك) */
    background-image: url('رابط_صورة_الغلاف_هنا.jpg');
    background-size: cover;
    background-position: center;
    background-color: #1a1a1a; /* لون احتياطي داكن */
}

/* الفيديو الخلفي */
.hero-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
    /* لجعل ظهور الفيديو ناعماً بعد تحميل الصورة */
    transition: opacity 0.8s ease-in-out;
}

/* طبقة التغبيش */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 2;
}

/* محتوى النص */
.hero-content {
    position: relative;
    z-index: 3;
    color: #fff;
    padding: 20px;
    max-width: 700px;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 25px;
    opacity: 0.9;
}

.hero-btn {
    display: inline-block;
    background: #c89b5b;
    color: #fff;
    padding: 14px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 16px;
    transition: 0.3s;
}

.hero-btn:hover {
    background: #b6894f;
    transform: translateY(-2px);
}

/* --- تعديلات الجوال --- */
@media(max-width: 768px) {
    .hero-content h1 { font-size: 32px; }
    .hero-content p { font-size: 16px; }
    .hero-video { height: 75vh; }
}

/* --- تنسيقات الربط مع بلوكات سلة --- */
.s-block--bundle-html-content {
    margin: 0px !important;
}

.s-block-html-content {
    margin-top: 0 !important;
}

/* رفع قسم التصنيفات ليتداخل مع الفيديو بشكل أنيق */
.s-block--categories {
    margin-top: -45px !important;
    z-index: 1000 !important;
    position: relative; /* لضمان عمل z-index */
}