/* ========================================================
   مجمع لآنه الطبي - الثيم الغامق الفاخر (Luxury Dark Theme)
   Lanh Medical Complex - Aesthetics & Laser Dark Design
   ======================================================== */

:root {
    --bg-dark: #070e15;
    --bg-surface: #0c1722;
    --bg-card: #0f1d2b;
    --bg-card-hover: #142536;
    
    --primary-rose: #e65c82;
    --primary-rose-light: #ffa3bc;
    --primary-teal: #14b8a6;
    --gold-accent: #e5b97d;
    --gold-glow: rgba(229, 185, 125, 0.4);
    
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    
    --whatsapp-green: #25d366;
    --whatsapp-hover: #20ba5a;
    
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(230, 92, 130, 0.4);
    
    --radius: 18px;
    --font: 'Cairo', 'Tajawal', system-ui, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

body {
    direction: rtl;
    font-family: var(--font);
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(circle at 80% 15%, rgba(230, 92, 130, 0.08) 0%, transparent 45%),
        radial-gradient(circle at 15% 75%, rgba(20, 184, 166, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(229, 185, 125, 0.03) 0%, transparent 60%);
    color: var(--text-main);
    line-height: 1.6;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

/* ========================================================
   الهيدر (Dark Header)
   ======================================================== */
.site-header {
    background: rgba(7, 14, 21, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-subtle);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.logo-wrap {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.96);
    padding: 5px 14px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
    transition: transform 0.2s ease;
}

.logo-wrap:hover {
    transform: scale(1.02);
}

.logo-wrap img {
    height: 44px;
    width: auto;
    object-fit: contain;
}

.header-contact-btns {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-header-wa {
    background: var(--whatsapp-green);
    color: white;
    font-weight: 700;
    padding: 9px 18px;
    border-radius: 99px;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-header-wa:hover {
    background: var(--whatsapp-hover);
    transform: translateY(-2px);
}

.btn-header-call {
    background: rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
    border: 1px solid var(--border-subtle);
    font-weight: 700;
    padding: 9px 16px;
    border-radius: 99px;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.btn-header-call:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: var(--primary-rose-light);
}

.btn-text-short {
    display: none;
}

/* ========================================================
   شريط التنبيه العلوي
   ======================================================== */
.top-notice {
    background: linear-gradient(90deg, #13080e 0%, #290f1e 50%, #13080e 100%);
    border-bottom: 1px solid rgba(230, 92, 130, 0.25);
    color: #fbcfe8;
    text-align: center;
    padding: 9px 16px;
    font-size: 0.86rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.top-notice .tamara-img {
    height: 18px;
    display: inline-block;
    vertical-align: middle;
    border-radius: 3px;
    background: white;
    padding: 1px 4px;
}

/* ========================================================
   مقدمة الصفحة المدمجة والأنيقة (Compact Hero)
   ======================================================== */
.hero-simple {
    text-align: center;
    padding: 24px 16px 14px;
    max-width: 800px;
    margin: 0 auto;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(230, 92, 130, 0.12);
    border: 1px solid rgba(230, 92, 130, 0.3);
    color: var(--primary-rose-light);
    padding: 4px 16px;
    border-radius: 99px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.hero-simple h1 {
    font-size: clamp(1.6rem, 3.8vw, 2.3rem);
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 6px;
    line-height: 1.25;
}

.hero-simple h1 .glow-text {
    background: linear-gradient(135deg, #ffa3bc 0%, #e65c82 50%, #ffc0d0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-simple p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* ========================================================
   شريط الأقسام الرئيسية الثلاثة (Segmented Navigation)
   ======================================================== */
.dept-nav-wrapper {
    max-width: 650px;
    margin: 0 auto 16px;
    padding: 0 16px;
    position: sticky;
    top: 68px;
    z-index: 90;
}

.dept-segmented-bar {
    display: flex;
    background: rgba(13, 23, 35, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 99px;
    padding: 5px;
    gap: 6px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.dept-seg-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 99px;
    border: none;
    background: transparent;
    color: #94a3b8;
    font-family: inherit;
    font-size: 0.96rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.dept-seg-btn i {
    font-size: 1.05rem;
}

.dept-seg-btn:hover {
    color: #ffffff;
}

.dept-seg-btn.active {
    color: #ffffff;
}

.dept-seg-btn.theme-dental.active {
    background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
    box-shadow: 0 4px 16px rgba(20, 184, 166, 0.45);
}

.dept-seg-btn.theme-laser.active {
    background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
    box-shadow: 0 4px 16px rgba(56, 189, 248, 0.45);
}

.dept-seg-btn.theme-derma.active {
    background: linear-gradient(135deg, #e65c82 0%, #ba3860 100%);
    box-shadow: 0 4px 16px rgba(230, 92, 130, 0.5);
}

.dept-seg-btn.theme-obgyn.active {
    background: linear-gradient(135deg, #ec4899 0%, #be185d 100%);
    box-shadow: 0 4px 16px rgba(236, 72, 153, 0.5);
}

/* شريط الفروع الأفقية المدمجة (Sub-chips Scroll) */
.sub-chips-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 10px 4px 2px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    justify-content: center;
}

.sub-chips-scroll::-webkit-scrollbar {
    display: none;
}

.sub-chip {
    background: rgba(15, 29, 43, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    padding: 6px 14px;
    border-radius: 99px;
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    flex-shrink: 0;
    backdrop-filter: blur(8px);
}

.sub-chip:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    transform: translateY(-1px);
}

.sub-chip.active {
    background: rgba(230, 92, 130, 0.2);
    border-color: rgba(230, 92, 130, 0.6);
    color: #ffd6e0;
    box-shadow: 0 0 14px rgba(230, 92, 130, 0.3);
}


/* ========================================================
   حاوية الأقسام والشبكة المباشرة (Clean Direct Grid)
   ======================================================== */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 16px 60px;
}

.sections-container,
.carousels-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* كتلة كل قسم */
.section-block-wrapper,
.section-carousel-wrapper {
    background: rgba(12, 23, 34, 0.45);
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    padding: 24px 20px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

/* رأس القسم */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 14px;
}

.section-title-box {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.section-title-main {
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-icon-wrap {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(230, 92, 130, 0.15);
    border: 1px solid rgba(230, 92, 130, 0.3);
    color: var(--primary-rose-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}

.section-title-text {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    font-weight: 900;
    color: #ffffff;
}

.section-count-tag {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 99px;
}

/* ========================================================
   شبكة بطاقات العروض المباشرة (Direct Responsive Grid)
   ======================================================== */
.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

/* ========================================================
   بطاقة الغلاف الرسمي (Official Cover Card)
   ======================================================== */
.cover-card {
    border: 2px solid rgba(229, 185, 125, 0.45) !important;
    background: linear-gradient(180deg, #131b26 0%, #0d1723 100%) !important;
    position: relative;
    box-shadow: 0 12px 30px rgba(229, 185, 125, 0.15) !important;
}

.cover-card:hover {
    border-color: var(--gold-accent) !important;
    box-shadow: 0 16px 36px rgba(229, 185, 125, 0.3) !important;
}

.cover-crown-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: linear-gradient(135deg, #e5b97d 0%, #d49a4f 100%);
    color: #111827;
    font-weight: 900;
    font-size: 0.85rem;
    padding: 6px 14px;
    border-radius: 99px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.cover-crown-badge i {
    color: #553406;
}

.cover-body .card-dept-tag {
    color: var(--gold-accent);
    font-size: 0.82rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.cover-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cover-offers-count {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}

.cover-offers-count i {
    color: var(--gold-accent);
}

.cover-direct-wa {
    background: var(--whatsapp-green);
    color: white;
    font-weight: 800;
    font-size: 0.82rem;
    padding: 6px 14px;
    border-radius: 99px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.cover-direct-wa:hover {
    background: var(--whatsapp-hover);
    transform: scale(1.05);
}

/* ========================================================
   بطاقة العرض (Offer Card)
   ======================================================== */
.offer-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.offer-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-glow);
    box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.7), 0 0 20px rgba(230, 92, 130, 0.2);
}

.offer-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 4.9;
    background: #050b10;
    overflow: hidden;
}

.offer-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.45s ease;
}

.offer-card:hover .offer-img-wrap img {
    transform: scale(1.04);
}

.price-chip {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(7, 14, 21, 0.92);
    color: #ffffff;
    font-weight: 800;
    font-size: 0.85rem;
    padding: 6px 14px;
    border-radius: 99px;
    border: 1px solid rgba(230, 92, 130, 0.45);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 2;
}

.preview-btn {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(0, 0, 0, 0.65);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.88rem;
    cursor: pointer;
    z-index: 5;
    transition: all 0.2s ease;
    backdrop-filter: blur(6px);
}

.preview-btn:hover {
    background: var(--primary-rose);
    border-color: var(--primary-rose);
    transform: scale(1.1);
}

.card-wa-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7, 14, 21, 0.88) 0%, transparent 60%);
    opacity: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 20px;
    transition: opacity 0.25s ease;
}

.offer-card:hover .card-wa-overlay {
    opacity: 1;
}

.wa-overlay-pill {
    background: var(--whatsapp-green);
    color: white;
    font-size: 0.9rem;
    font-weight: 800;
    padding: 8px 18px;
    border-radius: 99px;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.offer-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-dept-tag {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--primary-rose-light);
    margin-bottom: 4px;
    text-transform: uppercase;
}

.offer-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0;
    line-height: 1.45;
}

.offer-desc {
    display: none; /* تم حذف شرح كل عرض حسب طلب العميل */
}

/* ========================================================
   الفوتر (Dark Footer)
   ======================================================== */
.site-footer-simple {
    background: #04080d;
    border-top: 1px solid var(--border-subtle);
    padding: 36px 20px;
    text-align: center;
    font-size: 0.88rem;
    color: var(--text-dim);
}

.footer-info {
    max-width: 900px;
    margin: 0 auto 16px;
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    color: #cbd5e1;
    font-weight: 600;
}

.footer-info a {
    color: var(--primary-rose-light);
    transition: color 0.2s;
}

.footer-info a:hover {
    color: #ffffff;
}

/* ========================================================
   زر وقائمة الواتساب المدمجة (WhatsApp Dual-Choice Popup)
   ======================================================== */
.float-wa-wrapper {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 99;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.wa-popup-menu {
    position: absolute;
    bottom: calc(100% + 14px);
    left: 0;
    width: 320px;
    max-width: calc(100vw - 32px);
    background: rgba(13, 20, 27, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 20px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.65), 0 0 25px rgba(37, 211, 102, 0.2);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(12px) scale(0.95);
    transform-origin: bottom left;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.wa-popup-menu.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.wa-popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.15), rgba(230, 92, 130, 0.1));
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.wa-popup-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 800;
    color: #ffffff;
}

.wa-popup-title i {
    color: var(--whatsapp-green);
    font-size: 1.1rem;
}

.wa-popup-close-btn {
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: var(--text-muted);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    transition: all 0.2s ease;
}

.wa-popup-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.wa-popup-body {
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wa-popup-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    text-decoration: none;
    color: #ffffff;
    transition: all 0.22s ease;
}

.wa-popup-item:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.16);
    transform: translateY(-2px);
}

.wa-popup-item.item-general:hover {
    border-color: rgba(56, 189, 248, 0.4);
    box-shadow: 0 4px 16px rgba(56, 189, 248, 0.15);
}

.wa-popup-item.item-derma:hover {
    border-color: rgba(230, 92, 130, 0.4);
    box-shadow: 0 4px 16px rgba(230, 92, 130, 0.15);
}

.wa-item-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.item-general .wa-item-icon {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(14, 165, 233, 0.1));
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.3);
}

.item-derma .wa-item-icon {
    background: linear-gradient(135deg, rgba(230, 92, 130, 0.2), rgba(168, 85, 247, 0.1));
    color: #ff7597;
    border: 1px solid rgba(230, 92, 130, 0.3);
}

.wa-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.wa-item-name {
    font-weight: 800;
    font-size: 0.92rem;
    color: #ffffff;
}

.wa-item-desc {
    font-size: 0.74rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wa-item-phone {
    font-size: 0.78rem;
    color: var(--gold-accent);
    font-weight: 700;
    direction: ltr;
    text-align: right;
    margin-top: 2px;
}

.wa-item-arrow {
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: transform 0.2s ease, color 0.2s ease;
}

.wa-popup-item:hover .wa-item-arrow {
    color: #ffffff;
    transform: translateX(-3px);
}

/* زر التفعيل العائم */
.float-wa-btn {
    background: var(--whatsapp-green);
    color: white;
    padding: 13px 22px;
    border-radius: 99px;
    font-weight: 800;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
}

.float-wa-btn:hover {
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.6);
}

.float-wa-btn .wa-icon-close {
    display: none;
}

.float-wa-btn.open {
    background: #e11d48;
    box-shadow: 0 6px 24px rgba(225, 29, 72, 0.5);
}

.float-wa-btn.open .wa-icon-default {
    display: none;
}

.float-wa-btn.open .wa-icon-close {
    display: inline-block;
}

.wa-counter-badge {
    background: #ffffff;
    color: #111827;
    font-size: 0.72rem;
    font-weight: 900;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: -2px;
}

/* ========================================================
   نافذة تكبير الصورة (Dark Modal)
   ======================================================== */
.poster-modal {
    position: fixed;
    inset: 0;
    background: rgba(3, 7, 11, 0.93);
    backdrop-filter: blur(12px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    padding: 16px;
}

.poster-modal.active {
    display: flex;
}

.poster-modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius);
    max-width: 540px;
    width: 100%;
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(230, 92, 130, 0.25);
}

.close-btn {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.2s ease;
}

.close-btn:hover {
    background: var(--primary-rose);
    transform: scale(1.1);
}

.poster-modal-content img {
    max-height: 72vh;
    width: 100%;
    object-fit: contain;
    background: #000;
}

.poster-modal-footer {
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid var(--border-subtle);
    background: var(--bg-surface);
}

.poster-modal-footer span {
    font-weight: 700;
    font-size: 0.95rem;
    color: #ffffff;
}

.modal-wa-btn {
    background: var(--whatsapp-green);
    color: white;
    font-weight: 800;
    padding: 9px 18px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.modal-wa-btn:hover {
    background: var(--whatsapp-hover);
}

/* ========================================================
   استجابة الشاشات الصغيرة (Mobile Responsiveness)
   ======================================================== */
@media (max-width: 640px) {
    .header-contact-btns {
        gap: 6px;
    }
    .header-contact-btns .btn-header-call,
    .header-contact-btns .btn-header-wa {
        padding: 6px 10px;
        font-size: 0.78rem;
    }
    .btn-text-full {
        display: none;
    }
    .btn-text-short {
        display: inline;
    }
    .logo-wrap img {
        height: 36px;
    }
    .float-wa-btn span:not(.wa-counter-badge) {
        display: none;
    }
    .float-wa-btn {
        width: 52px;
        height: 52px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }
    .float-wa-btn i {
        font-size: 1.5rem;
    }
    .float-wa-btn .wa-counter-badge {
        position: absolute;
        top: -4px;
        right: -4px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    }
    .float-wa-wrapper {
        bottom: 18px;
        left: 18px;
    }
    .wa-popup-menu {
        left: 0;
        width: calc(100vw - 36px);
        max-width: 330px;
    }

    .dept-nav-wrapper {
        top: 60px;
        padding: 0 12px;
        margin-bottom: 14px;
    }

    .dept-seg-btn {
        padding: 8px 10px;
        font-size: 0.88rem;
        gap: 5px;
    }

    .dept-seg-btn i {
        font-size: 0.95rem;
    }

    .sub-chips-scroll {
        justify-content: flex-start;
        padding: 8px 4px 2px;
    }

    .sub-chip {
        padding: 5px 12px;
        font-size: 0.78rem;
    }

    .section-block-wrapper,
    .section-carousel-wrapper {
        padding: 16px 12px;
        border-radius: 18px;
    }

    .offers-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 14px;
    }
}

