/* ===================================================
   Hospa Ultimate Styles - 100% Responsive & Clean
   =================================================== */

:root {
    --h-green: #00843D;
    --h-yellow: #E5A910;
    --h-text: #3a3e42;
    --h-grad-green: linear-gradient(35.47deg, #00843D -1.1%, #00A74F 99.1%);
    --h-grad-yellow: linear-gradient(35.47deg, #E6B800 -1.1%, #FFCC00 99.1%);
    --h-container-w: 1350px;
}

.hospa-head-btn.sale-dynamic-btn {
    display: none;
}

.product-labels .product-label.new {
    background-color: #4284f2;
    color: white ! IMPORTANT;
}


/* ۱. کانتینر هیرو حتما باید relative باشد تا لکه نوری درون آن حبس شود */
.hospa-hero-wrapper {
    position: relative;
    /* اگر این کلاس استایل‌های دیگری دارد، آن‌ها را پاک نکنید */
}

/* ۲. کدهای لکه نوری (Glow) برای گوشه بالا-راست هیرو */
.hospa-hero-wrapper::before {
    content: ""; 
    position: absolute !important; 
    z-index: 0 !important; /* لکه نوری را در لایه زیرین قرار می‌دهیم */
    pointer-events: none !important; /* جلوگیری از تداخل با کلیک روی دکمه‌ها و عکس‌ها */
    
    /* ابعاد لکه نوری */
    width: 50vw !important;
    height: 60vw !important;
    
    /* تنظیم دقیق در گوشه بالا و راست */
    top: -15vw !important; 
    right: -15vw !important; 
    
    /* رنگ، محوی و گرد کردن لبه‌ها */
    background: linear-gradient(250deg, rgba(0, 132, 61, 0.5), rgba(0, 132, 61, 0.1)) !important;
    filter: blur(12vw) !important;
    border-radius: 50% !important;
}

/* ۳. این خط بسیار مهم است: 
برای اینکه متن، دکمه و عکس‌ها حتماً "روی" لکه نوری قرار بگیرند و خوانا باشند */
.hospa-hero-inner {
    position: relative;
    z-index: 2;
}

.container, .container-fluid {
    width: 100%;
    max-width: 100% ! IMPORTANT;}


/* --- ۱. تنظیمات پایه --- */
.container, .container-fluid { padding-inline: 0 !important; }
.wd-content-layout { padding-block: 0 !important; }

.hospa-full-width-page, 
.hospa-full-width-page .container {
    max-width: 100% !important; width: 100% !important; padding: 0 !important; margin: 0 !important;
}
.hospa-custom-homepage { direction: rtl; overflow-x: hidden; }
.hospa-inner-container { max-width: var(--h-container-w) !important; margin: 0 auto !important; width: 100% !important; box-sizing: border-box;  }



.hospa-woo-sliders-wrap .hospa-inner-container {
    display: flex;
    gap: 15px;
}

.hospa-section-head {
    display: flex !important;
    flex-direction: column !important;
    width: 36% ! important;}
    
    .theme-yellow .hospa-section-head {
    width: 230px !important;
}


/* ===================================================
   ۲. هیرو سکشن (Hero Section)
   =================================================== */
.hospa-hero-wrapper { padding:10px 0; }
.hospa-hero-inner { display: flex; align-items: center; justify-content: space-between; }

.hospa-hero-text { flex: 0 0 40%; z-index: 5; }
.hospa-hero-text h1 {
    font-size: clamp(34px, 3.5vw, 49px) !important; font-weight: 900 !important; line-height: 1.3 !important; margin-bottom: 10px; text-align: right;
    background: linear-gradient(90deg, var(--h-green), var(--h-yellow), var(--h-green));
    background-size: 200% auto; -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    animation: smoothGradient 4s linear infinite; will-change: background-position;
}
.hospa-hero-text p { font-size: 22px; color: var(--h-text); margin-bottom: 20px; font-weight: 600; text-align: right; }
.hospa-hero-btn {
    display: inline-block; background: var(--h-yellow); color: #fff !important; padding: 12px 16px; border-radius: 20px; font-weight: bold; font-size: 17px;
    text-decoration: none; transition: transform 0.3s ease; box-shadow: 0 5px 15px rgb(229 169 16 / 90%);    margin-left: 10px;
}

.takhfif{
    background:linear-gradient(35.47deg, #00843D -1.1%, #00A74F 99.1%);
    box-shadow: 0 5px 15px rgb(0 158 75 / 61%);
}

.set {
color: black !important;
    
}
.new {
    background: white;
    box-shadow: 0 5px 15px rgb(167 167 167 / 58%);
    color: green !important;
}

@keyframes smoothGradient { to { background-position: 200% center; } }

/* گرافیک هیرو */
.hospa-hero-graphic { flex: 0 0 60%; position: relative; display: flex; justify-content: flex-end; }
.hospa-main-horse { max-width: 80%; height: auto; z-index: 5; margin-right: 29%; }



.hospa-chat-bubble {
    position: absolute; top: 15%; left: 5%; background:linear-gradient(180deg, #006F2E 0%, #00843D 100%);
    
    color: #fff;
    padding: 10px 15px; border-radius: 15px; display: flex; align-items: center;
    box-shadow: 0 10px 20px rgba(0,132,61,0.2); z-index: 0; transform: rotate(-20deg);
}

.hospa-chat-bubble svg {
    width: 40px;
    fill: white;
}

.hospa-chat-bubble {
    width: 195px;
    top: 19%;
    left: 3%;
    padding: 14px 13px;
    flex-direction: column;
    align-items: flex-start;
    z-index: 10;
    border-radius: 25px;
}

.chat-bubble-top strong {
    font-size: 20px;
}
    .chat-bubble-top { display: flex; flex-direction: row-reverse !important; width: 100%; justify-content: space-between; }
    .hospa-chat-bubble svg { width: 25px; fill: white; }
    .chat-bubble-top strong { color: var(--h-yellow); }
    .hospa-slide { flex: 0 0 calc(80% - 10px); }
    
    
.hospa-floating-items { position: absolute; right: 0; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 15px; z-index: 6; }




/* ===================================================
   ۳. اسلایدر بنرها
   =================================================== */
.hospa-banners-slider {
    display: flex; gap: 10px; overflow-x: auto !important; scroll-snap-type: x mandatory; padding-bottom: 10px; -webkit-overflow-scrolling: touch; margin-right: 15px;
}
.hospa-banners-slider::-webkit-scrollbar { height: 8px !important; display: block !important; }
.hospa-banners-slider::-webkit-scrollbar-track { background: #f1f1f1 !important; border-radius: 10px; }
.hospa-banners-slider::-webkit-scrollbar-thumb { background-color: var(--h-green) !important; border-radius: 10px; }
.hospa-slide { flex: 0 0 calc(40% - 15px); scroll-snap-align: start; border-radius: 15px; overflow: hidden; transform: translateZ(0); }
.hospa-slide img { width: 100%; height: auto; display: block; }

/* ===================================================
   ۴. دسته‌بندی‌های آیکون‌دار
   =================================================== */
.hospa-categories-section { padding: 30px 0 60px; }
.hospa-categories-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 30px 20px; }
.hospa-cat-item { display: flex; flex-direction: column; align-items: center; text-decoration: none; transition: transform 0.3s ease; }
.hospa-cat-item:hover { transform: translateY(-5px); }
.hospa-cat-icon {
    background: #ffffff; border-radius: 28px; padding: 15px; width: 100%; aspect-ratio: 1/1;
    display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 15px rgba(0,0,0,0.03); margin-bottom: 12px ;border: 1px solid #022C5E1A;
}
.hospa-cat-icon img { max-width: 80%; height: auto; object-fit: contain; transition: transform 0.3s; }
.hospa-cat-item:hover .hospa-cat-icon img { transform: scale(1.1); }
.hospa-cat-item .cat-name { font-size: 15px; color: var(--h-text); font-weight: 600; text-align: center; margin: 0; }

/* ===================================================
   ۵. اسلایدرهای اختصاصی محصولات (وودمارت)
   =================================================== */
.hospa-woo-section { margin-bottom: 20px; overflow: hidden; }

/* هدر سکشن‌ها */
.hospa-section-head {
    border-radius: 35px; padding: 15px; display: flex; flex-direction: column; align-items: center;
    text-align: center; position: relative; z-index: 10; margin: 0 15px;
}
.hospa-section-head h2 { font-size: 24px !important; font-weight: 900 !important; margin: 0 0 5px 0 !important; line-height: 1.3; }
.hospa-section-head p { font-size: 13px !important; margin: 0 !important; font-weight: 600; }
.hospa-head-btn {
    width: 90%; padding: 12px 0; margin-top: 15px; border-radius: 25px; font-weight: bold; font-size: 15px; text-decoration: none; display: inline-block; background: #fff; text-align: center; transition: transform 0.2s;
}

/* رنگ‌بندی هدرهای ۳ گانه */
.theme-green .hospa-section-head { background: var(--h-green); color: #fff; }
.theme-green .hospa-section-head h2, .theme-green .hospa-section-head p { color: #fff !important; }

.theme-yellow .hospa-section-head { background: var(--h-yellow); color: #000; }
.theme-yellow .hospa-section-head h2, .theme-yellow .hospa-section-head p { color: #111 !important; }
.theme-yellow .hospa-head-btn { color: var(--h-text); box-shadow: 0 4px 10px rgba(0,0,0,0.1); }

.theme-white .hospa-section-head { background: #fff; box-shadow: 0 5px 15px rgba(0,0,0,0.03); }
.theme-white .hospa-section-head h2 { color: var(--h-green) !important; }
.theme-white .hospa-section-head p { color: #666 !important; }
.theme-white .hospa-head-btn { background: var(--h-green); color: #fff; box-shadow: 0 4px 10px rgba(0,132,61,0.2); }

/* ساختار اسکرول افقی محصولات */
.wd-products[class*="wd-stretch-cont"] {
    align-items: stretch !important; display: flex !important; flex-wrap: nowrap !important;
    overflow-x: auto !important; overflow-y: visible !important; gap: 15px !important;
    padding: 20px 10px 15px 10px !important; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    grid-template-columns: none !important;
    overflow-y: hidden !important;
}
.wd-products[class*="wd-stretch-cont"]::-webkit-scrollbar { height: 8px !important; display: block !important; }
.wd-products[class*="wd-stretch-cont"]::-webkit-scrollbar-track { background: #e5e5e5 !important; border-radius: 10px; margin: 0 20px; }
.wd-products[class*="wd-stretch-cont"]::-webkit-scrollbar-thumb { border-radius: 10px; border: 2px solid #f1f2f4; }

/* ظاهر پایه کارت محصول */
.wd-products[class*="wd-stretch-cont"] .wd-product {
    flex: 0 0 calc(25% - 12px) !important; max-width: none !important; width: auto !important; margin: 0 !important; scroll-snap-align: start;
}
.wd-product .product-wrapper {
    background: #ffffff !important; border-radius: 25px !important; padding: 12px !important;
    border: 1px solid #022C5E1A;
    display: flex !important; flex-direction: column !important; height: 100% !important;
    position: relative !important; transition: all 0.3s ease !important; padding-bottom: 70px !important; 
}
/* افکت هاور محصولات - فقط مخصوص دستگاه‌های دارای موس (دسکتاپ) */
@media (hover: hover) {
    .wd-product:hover .product-wrapper {
        border-color: var(--h-green) !important;
        transform: translateY(-5px) !important;
        z-index: 20;
        box-shadow: 0px 8px 25px rgba(0, 132, 61, 0.15) !important;
    }
}

/* عکس و لیبل کارت */
.product-element-top.wd-quick-shop { position: relative !important; overflow: visible !important; margin-bottom: 15px !important; }
body .wd-product:not(.wd-hover-small) :is(.product-image-link,.hover-img) :is(picture,img) {
    width: 100% !important; height: 200px !important; object-fit: contain !important; border-radius: 15px !important; margin-bottom:20px;
}

/* --- لیبل تخفیف (سمت چپ قیمت، برگشت به رنگ و سایز دیفالت) --- */
.product-element-top.wd-quick-shop .product-labels {
    position: absolute !important; 
    top: auto !important; 
   bottom: -71px !important;
    right: 138px !important;
    left: auto !important; 
    transform: none !important; 
    z-index: 99; 
    width: max-content;
}
.product-labels .product-label { padding: 3px 5px !important; font-size: 11px !important; border-radius: 12px !important; font-weight: bold !important; min-width: unset !important; }


/* --- عنوان کارت --- */
.product-element-bottom { display: flex !important; flex-direction: column !important; flex-grow: 1 !important; position: static !important; }
.product-element-bottom .wd-entities-title { 
    text-align: right !important; direction: rtl !important; width: 100% !important; margin-bottom: auto !important; padding: 0 10px !important; 
}
.product-element-bottom .wd-entities-title a { font-size: 14px !important; color: var(--h-text) !important; font-weight: 600 !important; line-height: 1.2 !important; }

/* --- قیمت (برگشت به رنگ دیفالت) --- */
.wd-product .wrap-price { position: absolute !important; bottom: 15px !important; right: 15px !important; text-align: right !important; padding: 0 !important; width: auto !important; }
.wd-product .price { display: flex !important; flex-direction: column !important; align-items: flex-end !important; margin: 0 !important; line-height: 1.2 !important; }
.price del, .price del .amount { color: #999 !important; font-size: 12px !important; text-decoration: line-through !important; font-weight: 400 !important; margin-bottom: 2px; }
.price ins .amount, .price > .amount { color: var(--h-green) !important; font-size: 17px !important; font-weight: 900 !important; text-decoration: none !important; }
span.woocommerce-Price-currencySymbol { font-size: 12px !important; margin-right: 2px; }

/* --- دکمه سبد خرید --- */
.wd-products[class*="wd-stretch-cont"] .wd-product .wd-add-btn,
.wd-products[class*="wd-stretch-cont"] .wd-product .wd-add-btn-replace {
    position: absolute !important; bottom: 15px !important; left: 15px !important; 
    width: 55px !important; height: 40px !important;
    margin: 0 !important; transform: none !important; opacity: 1 !important; visibility: visible !important; display: block !important;
}
.wd-product.wd-hover-fw-button .wd-add-btn > a {
    display: flex !important; align-items: center !important; justify-content: center !important; width: 100% !important; height: 100% !important;
    border-radius: 20px !important; padding: 0 !important; color: #fff !important; 
    background: var(--h-grad-green) !important;
}
.wd-add-btn-replace .add-to-cart-loop span { display: none !important; }
.wd-add-btn-replace .add-to-cart-loop::before { transform: translateY(0) !important; font-size: 18px !important; line-height: 1 !important; }

/* تناسب رنگی (تم‌ها) */
.theme-yellow .wd-product.wd-hover-fw-button .wd-add-btn > a { background: var(--h-grad-yellow) !important; }


@media (hover: hover) {
    .theme-yellow .wd-product:hover .product-wrapper { 
        border-color: var(--h-yellow) !important; 
        box-shadow: 0px 8px 25px rgba(229, 169, 16, 0.2) !important; 
    }
}

.theme-yellow .wd-products[class*="wd-stretch-cont"]::-webkit-scrollbar-thumb { background: var(--h-yellow) !important; }
.theme-green .wd-products[class*="wd-stretch-cont"]::-webkit-scrollbar-thumb, .theme-white .wd-products[class*="wd-stretch-cont"]::-webkit-scrollbar-thumb { background: var(--h-green) !important; }



@keyframes pureVerticalMoveReverse {
    0% {
        translate: 0 0px;
    }
    50% {
        translate: 0 20px; /* مقدار مثبت یعنی حرکت به سمت پایین */
    }
    100% {
        translate: 0 0px; /* برگشت به جای اول */
    }
}

/* استایل عکس f-1 شما */
img.hospa-float-img.f-1 {
    position: absolute;
    top: -129px;
    right: 28px;
    width: 180px;
    
    /* چرخش ثابت روی منفی ۱۲ درجه */
    rotate: 12deg; 
    
    /* اجرای انیمیشن معکوس (با همان زمان ۹ ثانیه) */
    animation: pureVerticalMoveReverse 9s ease-in-out infinite;
}



   /* تعریف انیمیشن فقط برای حرکت عمودی (بالا و پایین) */
@keyframes pureVerticalMove {
    0% {
        translate: 0 0px;
    }
    50% {
        translate: 0 -20px; /* مقدار حرکت به سمت بالا (منفی یعنی بالا) */
    }
    100% {
        translate: 0 0px; /* برگشت به جای اول */
    }
}

/* استایل عکس f-2 شما */
img.hospa-float-img.f-2 {
    margin-top: -42px;
    width: 180px;
    margin-right: -156px;
    rotate: 22deg;
    animation: pureVerticalMove 9s ease-in-out infinite;
}


  /* تعریف انیمیشن فقط برای حرکت افقی (بدون دخالت در چرخش) */
@keyframes pureHorizontalMove {
    0% {
        translate: 0px;
    }
    50% {
        translate: 25px; /* مقدار حرکت به سمت راست */
    }
    100% {
        translate: 0px; /* برگشت به جای اول */
    }
}

/* استایل عکس شما */
img.hospa-float-img.f-3 {
    margin-top: -20px;
    width: 180px;
    right: 75px;
    
    /* شاه‌کلید: استفاده از rotate مستقل به جای transform */
    rotate: 11deg; 
    
    /* اجرای انیمیشن */
    animation: pureHorizontalMove 9s ease-in-out infinite;
}

.hospa-hero-text {
    flex: 0 0 40%;
    z-index: 5;
    margin-top: 220px;
}




/* ===================================================
   ۶. ریسپانسیو اختصاصی
   =================================================== */
@media (max-width: 1024px) {
    .hospa-categories-grid { grid-template-columns: repeat(5, 1fr); gap: 15px; padding: 15px; }
    .wd-products[class*="wd-stretch-cont"] .wd-product { flex: 0 0 calc(33.333% - 10px) !important; }
        
       .hospa-main-horse {
    max-width: 70%;
    height: auto;
    z-index: 5;
    margin-right: 29%;
     margin-top: 63px;

}
        
        a.hospa-hero-btn.new {
    width: 99%;
}
}

@media (min-width: 769px) {
    .hospa-section-head { flex-direction: row; justify-content: space-between; text-align: right; padding: 25px 20px; margin: 0; }
    .hospa-head-btn { width: auto; margin-top: 0; padding: 10px 30px; }
}

@media (max-width: 768px) {
    
    
    .hospa-section-head {
    display: flex !important;
    flex-direction: column !important;
    width: auto ! important;}
    
    .theme-yellow .hospa-section-head {
    width: auto !important;
}

.hospa-woo-sliders-wrap .hospa-inner-container {
    display: block;
    gap: 15px;
}




    /* هدر موبایل */
    .whb-flex-row.whb-general-header-inner { padding: 0 10px; }
    [class*="wd-header-search-form"] { padding-inline: 20px !important; }
    

    /* هیرو موبایل */
    .hospa-hero-inner { flex-direction: column !important; }
    .hospa-hero-graphic { order: 1; width: 100%; justify-content: center; }
    .hospa-hero-text { order: 2; width: 100%; text-align: center; padding: 0 15px; margin:0;}
    .hospa-hero-text h1, .hospa-hero-text p { text-align: right; font-size:14px;}
    .hospa-hero-btn {
        width: 49%;
        margin: 5px 0px;
        padding: 12px 6px;
    }
    
/* تعریف انیمیشن برعکس (اول پایین، بعد بالا) */
@keyframes pureVerticalMoveReverse {
    0% {
        translate: 0 0px;
    }
    50% {
        translate: 0 20px; /* مقدار مثبت یعنی حرکت به سمت پایین */
    }
    100% {
        translate: 0 0px; /* برگشت به جای اول */
    }
}

/* استایل عکس f-1 شما */
img.hospa-float-img.f-1 {
    position: absolute;
        top: -153px;
        right: 75px;
    width: 85px;
    
    /* چرخش ثابت روی منفی ۱۲ درجه */
    rotate: -12deg; 
    
    /* اجرای انیمیشن معکوس (با همان زمان ۹ ثانیه) */
    animation: pureVerticalMoveReverse 9s ease-in-out infinite;
}
    
    
   /* تعریف انیمیشن فقط برای حرکت عمودی (بالا و پایین) */
@keyframes pureVerticalMove {
    0% {
        translate: 0 0px;
    }
    50% {
        translate: 0 -20px; /* مقدار حرکت به سمت بالا (منفی یعنی بالا) */
    }
    100% {
        translate: 0 0px; /* برگشت به جای اول */
    }
}

/* استایل عکس f-2 شما */
img.hospa-float-img.f-2 {
    margin-top: -42px;
    width: 90px;
    margin-right: 0px;
    
    /* چرخش ثابت و مستقل (جایگزین transform شد) */
    rotate: 22deg; 
    
    /* اجرای انیمیشن بالا و پایین */
    animation: pureVerticalMove 9s ease-in-out infinite;
}

    
    
  /* تعریف انیمیشن فقط برای حرکت افقی (بدون دخالت در چرخش) */
@keyframes pureHorizontalMove {
    0% {
        translate: 0px;
    }
    50% {
        translate: 25px; /* مقدار حرکت به سمت راست */
    }
    100% {
        translate: 0px; /* برگشت به جای اول */
    }
}

/* استایل عکس شما */
img.hospa-float-img.f-3 {
    position: absolute !important;
    margin-top: 50px;
    width: 80px;
    right: 75px;
    
    /* شاه‌کلید: استفاده از rotate مستقل به جای transform */
    rotate: 11deg; 
    
    /* اجرای انیمیشن */
    animation: pureHorizontalMove 9s ease-in-out infinite;
}
    
    
    .hospa-chat-bubble { width: 158px; top: 4%; left: 5%; padding: 7px 13px; flex-direction: column; align-items: flex-start; z-index: 0;}
    .chat-bubble-top { display: flex; flex-direction: row-reverse !important; width: 100%; justify-content: space-between; }
    .hospa-chat-bubble svg { width: 25px; fill: white; }
    .chat-bubble-top strong { color: var(--h-yellow); font-size: 15px; 
}
    .hospa-slide { flex: 0 0 calc(80% - 10px); }

    /* دسته‌بندی موبایل */
    .hospa-categories-section { padding: 20px 0 40px; }
    .hospa-categories-grid { grid-template-columns: repeat(3, 1fr) !important; gap: 20px 10px; }
    .hospa-cat-icon { border-radius: 30px; padding: 0px; margin-bottom: 8px; }
    .hospa-cat-item .cat-name { font-size: 14px !important; }

    /* اسلایدر محصولات در موبایل */
    .wd-products[class*="wd-stretch-cont"] { gap: 12px !important; padding: 10px 10px 10px 10px !important;margin-right: 15px; }
    .wd-products[class*="wd-stretch-cont"] .wd-product { flex: 0 0 calc(65% - 10px) !important; }
    .wd-product:not(.wd-hover-small) :is(.product-image-link,.hover-img) :is(picture,img) { height: 180px !important; }
    
    /* تنظیم جایگاه لیبل تخفیف در موبایل */
    .product-element-top.wd-quick-shop .product-labels    {       width: 100px !important;
        top: 255px !important;
        right: 120px !important;
        display: flex;
        flex-direction: row;
    }
    /* سایز متون موبایل */
    .product-element-bottom .wd-entities-title a { font-size: 13px !important;}
    .price ins .amount, .price > .amount { font-size: 15px !important; }
    
    /* پدینگ کارت در موبایل و سایز دکمه */
    .wd-products[class*="wd-stretch-cont"] .wd-product .wd-add-btn,
    .wd-products[class*="wd-stretch-cont"] .wd-product .wd-add-btn-replace {
        width: 45px !important; height: 36px !important; bottom: 12px !important; left: 12px !important;
    }
    .wd-product .wrap-price { bottom: 12px !important; right: 12px !important; }
    .wd-add-btn-replace .add-to-cart-loop::before { font-size: 16px !important; }
    
    
    
    .hospa-hero-wrapper::before{
            width: 80vw !important;
    height: 80vw !important;
    }
    

}






/* ===================================================
   ۶. سکشن چرا هوسپا (آیکن باکس‌های متحرک و درگ‌شونده)
   =================================================== */
.hospa-why-section {
    padding: 60px 0;
    overflow: hidden;
}

.hospa-why-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom:20px;
        flex-direction: row-reverse;
}
.hospa-why-text { flex: 0 0 50%; text-align: right; direction: rtl; }
.hospa-badge {
    display: inline-block; padding: 6px 18px; border: 1px solid #ddd;
    border-radius: 25px; font-size: 18px; color: #666; margin-bottom: 20px; font-weight: 500;
}
.hospa-why-text h2 { font-size: 30px !important; font-weight: 900 !important; color: var(--h-text); margin-bottom: 10px; line-height: 1.4; }
.hospa-why-text p { font-size: 18px; color: #666; line-height: 1.8; text-align: justify; }
.hospa-why-image { flex: 0 0 50%; text-align: right; }
.hospa-why-image img { max-width: 85%; height: auto; border-radius: 25px; }

/* --- استایل گردونه‌ها (Tickers) --- */
.hospa-tickers-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* برای جلوگیری از تداخل جهت در موبایل، کانتینر اصلی LTR تنظیم شده و داخل باکس‌ها RTL است */
.hospa-ticker {
    overflow: hidden;
    display: flex;
    width: 100%;
    position: relative;
    box-sizing: border-box;
    cursor: grab; 
    direction: ltr !important; 
}
.hospa-ticker:active { cursor: grabbing; }

.cont_motion__track {
    display: flex;
    gap: 15px;
    will-change: transform;
    align-items: stretch; /* ارتفاع همه باکس‌ها را دقیقاً یکسان می‌کند */
}

/* --- باکس‌های آیکون دار --- */
.hospa-feature-box {
    flex: 0 0 245px; /* عرض ثابت برای باکس‌ها */
    width: 320px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 15px;
    background: #ffffff;
    border-radius: 20px;
    padding: 18px;
    border:1px solid #022C5E1A;
    direction: rtl !important; /* محتوای داخل باکس راست‌چین */
    transition: box-shadow 0.3s ease;
    height: auto; 
}

/* جلوگیری از هایلایت شدن متن‌ها یا عکس‌ها موقع کشیدن با موس */
.hospa-feature-box * {
    user-select: none !important;
    pointer-events: none !important;
}

.hospa-feature-box:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.06); }

.feat-icon {
    flex: 0 0 50px; height: 50px; display: flex; align-items: center; justify-content: center;
    background: #fafafa; border-radius: 15px;
}
.feat-icon svg { width: 28px; height: 28px; }
.feat-content { flex: 1; text-align: right; }
.feat-content span { font-size: 15px !important; margin: 0 0 5px 0 !important; font-weight: 600 !important; color: var(--h-text); }
.feat-content p { font-size: 12px !important; margin: 0 !important; color: #888; line-height: 1.6; }

/* --- ریسپانسیو --- */
@media (max-width: 991px) {
    .hospa-why-top { flex-direction: column-reverse; text-align: center; gap: 0px; }
    .hospa-why-text, .hospa-why-image { flex: 0 0 100%; padding:0px 15px;}
    .hospa-why-text p { text-align: justify !important; margin:0px;font-size:14px;}
    
        .hospa-why-image img {
    max-width: 100%;
    }
}
@media (max-width: 768px) {
    .hospa-why-section { padding: 40px 0; }
    .hospa-why-text h2 { font-size: 23px !important;  text-align: right; }
    .hospa-feature-box { flex: 0 0 280px; width: 280px; padding: 15px; } /* سایز دقیق در موبایل */
    .feat-icon { flex: 0 0 45px; height: 45px; }
    .feat-content span { font-size: 15px !important; }
    .feat-content p { font-size: 12px !important; }
}


/* ===================================================
   ۸. سکشن نظرات مشتریان هوسپا (برگرفته از عکس)
   =================================================== */
.hospa-reviews-section {
    padding: 0 0 20px 0;
}
hospa-reviews-g-icon path {
    fill: #00843d;
}
.hospa-reviews-wrapper {
    background-color: #E2B938; /* رنگ زرد دقیق مشابه عکس */
    border-radius: 40px;
    padding: 40px;
    direction: rtl;
}

/* هدر سکشن (عنوان و لوگو) */
.hospa-reviews-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}
.hospa-reviews-titles {
    text-align: right;
}
.hospa-reviews-titles h2 {
    font-size: 26px !important;
    font-weight: 900 !important;
    color: #111;
    margin: 0 0 5px 0 !important;
}
.hospa-reviews-titles p {
    font-size: 16px;
    color: #444;
    margin: 0 !important;
    font-weight: 600;
}
.hospa-reviews-g-icon svg {
    width: 65px;
    height: 65px;
}

/* کانتینر اسلایدر نظرات */
.hospa-reviews-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding-bottom: 25px !important; /* فضا برای اسکرول بار */
    cursor: grab;
}

/* اسکرول بار اختصاصی بخش نظرات (مشابه عکس ارسالی) */
.hospa-reviews-slider::-webkit-scrollbar {
    height: 8px !important;
    display: block !important;
    -webkit-appearance: none;
}
.hospa-reviews-slider::-webkit-scrollbar-track {
    background-color: #ffffff !important; /* پس‌زمینه سفید */
    border-radius: 10px;
}
.hospa-reviews-slider::-webkit-scrollbar-thumb {
    background-color: #317243 !important; /* رنگ سبز تیره دستگیره */
    border-radius: 10px !important;
    border: 1px solid #ffffff !important; /* نوار داخلی برای زیبایی */
    background-clip: padding-box !important; /* سازگاری با آیفون */
}

/* کارت‌های نظرات (سفید رنگ) */
.hospa-review-card {
    flex: 0 0 320px;
    background-color: #ffffff;
    border-radius: 35px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    scroll-snap-align: start;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.hospa-review-text p {
    font-size: 14px;
    color: #666;
    line-height: 2 !important;
    text-align: justify;
    margin: 0;
}

.hospa-review-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 25px;
}
.hospa-review-author span {
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #111;
    margin: 0 !important;
}
.hospa-review-author img {
    width: 90px;
    height: auto;
    object-fit: contain;
}

/* ریسپانسیو نظرات */
@media (max-width: 768px) {
    .hospa-reviews-wrapper {
        border-radius: 0px;
        padding: 30px 15px 20px 0px;
        
    }
    .hospa-reviews-head {
        margin-bottom: 25px;
    }
    .hospa-reviews-titles h2 { font-size: 20px !important; }
    .hospa-reviews-titles p { font-size: 14px; }
    .hospa-reviews-g-icon svg { width: 50px; height: 50px; }
    
    .hospa-review-card {
        flex: 0 0 280px; /* سایز کوچکتر برای موبایل */
        padding: 20px;
        border-radius: 25px;
    }
    .hospa-review-text p { font-size: 13px; line-height: 1.8 !important; }
    .hospa-review-author span { font-size: 16px !important; }
    .hospa-review-author img { width: 80px; }
    .hospa-reviews-g-icon {
    margin-left: 15px;
}
}







/* ===================================================
   ۹. سکشن سوالات متداول (FAQ)
   =================================================== */
.hospa-faq-section {
    padding: 20px 0 20px 0;
    direction: rtl;
}
.hospa-faq-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

/* --- سایدبار راست (باکس سبز رنگ) --- */
.hospa-faq-sidebar {
    flex: 0 0 35%;
    position: sticky;
    top: 100px;
}
.hospa-faq-sidebar-inner {
    background-color: var(--h-green);
    border-radius: 40px;
    padding: 50px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: #fff;
}
.hospa-faq-sidebar-inner h2 {
    font-size: 32px !important;
    font-weight: 900 !important;
    color: #fff !important;
    margin: 0 0 15px 0 !important;
}
.hospa-faq-sidebar-inner p {
    font-size: 15px;
    line-height: 1.8;
    color: #f0f0f0;
    margin: 0 0 30px 0 !important;
}
.hospa-faq-watermark {
    position: absolute;
    width: 250px;
    opacity: 0.1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}
.hospa-faq-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1.5px solid rgba(255,255,255,0.8);
    border-radius: 30px;
    padding: 12px 30px;
    color: #fff !important;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}
.hospa-faq-btn:hover {
    background-color: #fff;
    color: var(--h-green) !important;
}
.hospa-faq-btn:hover svg path {
    stroke: var(--h-green);
}

/* --- بخش چپ (لیست سوالات با شماره‌گذاری خودکار) --- */
.hospa-faq-accordion {
    flex: 0 0 calc(65% - 30px);
    display: flex;
    flex-direction: column;
    gap: 15px;
    /* فعال‌سازی شمارنده CSS */
    counter-reset: faq-counter; 
}
.hospa-faq-item {
    background-color: #ffffff;
    border-radius: 25px;
    border: 1px solid #022C5E1A;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}
.hospa-faq-item:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}

.hospa-faq-question {
    padding: 22px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}
.hospa-faq-question h3 {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: var(--h-text);
    margin: 0 !important;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* طراحی شیک شماره‌ها (Counter) */
.hospa-faq-question h3::before {
    counter-increment: faq-counter;
    content: counter(faq-counter);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background-color: rgba(0, 132, 61, 0.1);
    color: var(--h-green);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 900;
}

.faq-icon {
    width: 35px;
    height: 35px;
    background-color: #f5f5f5;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    transition: all 0.3s ease;
}
.faq-icon svg { width: 18px; height: 18px; }

/* حالت باز شده سوال */
.hospa-faq-item.active .faq-icon {
    background-color: var(--h-green);
    color: #fff;
    transform: rotate(90deg); /* چرخاندن + به x */
}
.hospa-faq-item.active .hospa-faq-question h3 {
    color: var(--h-green);
}

/* متن جواب */
.hospa-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.hospa-faq-answer p {
    padding: 0 25px 25px 55px; /* تنظیم فضای چپ برای تراز شدن با متن بالا */
    margin: 0;
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    text-align: justify;
}

/* --- ریسپانسیو (موبایل و تبلت) --- */
@media (max-width: 991px) {
    .hospa-faq-wrapper {
        flex-direction: column;
        padding: 15px;
    }
    .hospa-faq-sidebar, .hospa-faq-accordion {
        flex: 0 0 100%;
        width: 100%;
    }
    .hospa-faq-sidebar {
        position: static;
    }
}
@media (max-width: 768px) {
    .hospa-faq-sidebar-inner {
        padding: 40px 20px;
        border-radius: 30px;
    }
    .hospa-faq-sidebar-inner h2 { font-size: 24px !important; }
    .hospa-faq-question { padding: 18px 8px; }
    .hospa-faq-question h3 { font-size: 14px !important; }
    .hospa-faq-answer p { padding: 0 20px 20px 20px; font-size: 13px; }
    .faq-icon { width: 30px; height: 30px; }
    .faq-icon svg { width: 15px; height: 15px; }
}



/* ===================================================
   ۱۰. سکشن محتوای سئو و توضیحات (حالت اسکرول داخلی)
   =================================================== */
.hospa-seo-section {
    padding: 0 0 20px 0;
    direction: rtl;
}

.hospa-seo-wrapper {
    position: relative;
}

/* کانتینر اصلی متن با قابلیت باز و بسته شدن نرم */
.hospa-seo-content {
    max-height: 280px; 
    overflow: hidden;
    position: relative;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1); /* انیمیشن نرم‌تر */
}

/* --- حالت باز شده (اسکرول داخلی) --- */
.hospa-seo-content.is-expanded {
    max-height: 500px !important; 
    overflow-y: auto !important; 
    padding-left: 15px; 
}

/* استایل دادن به اسکرول‌بار عمودی داخل متن */
.hospa-seo-content.is-expanded::-webkit-scrollbar {
    width: 6px;
}
.hospa-seo-content.is-expanded::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}
.hospa-seo-content.is-expanded::-webkit-scrollbar-thumb {
    background-color: var(--h-green, #00843D); 
    border-radius: 10px;
}

/* تایپوگرافی تمیز و خوانا */
.hospa-seo-content h1, 
.hospa-seo-content h2 {
    font-size: 26px !important;
    font-weight: 900 !important;
    color: #111;
    margin: 35px 0 15px 0 !important;
}
.hospa-seo-content h1:first-child {
    margin-top: 0 !important;
}

.hospa-seo-content p {
    font-size: 14px;
    color: #666;
    line-height: 2.2 !important;
    text-align: justify;
    margin: 0 0 15px 0;
}

.hospa-seo-content ul {
    margin: 0 25px 20px 0;
    padding: 0;
}
.hospa-seo-content li {
    font-size: 14px;
    color: #555;
    line-height: 2;
    margin-bottom: 5px;
}

.hospa-seo-content a {
    color: var(--h-green, #00843D);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}
.hospa-seo-content a:hover {
    color: var(--h-yellow, #E5A910);
}

/* استایل عکس داخل متن */
.hospa-seo-image {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    margin: 20px 0;
    display: block;
}

/* استایل ویدیوی آپارات (کاملا ریسپانسیو) */
.hospa-video-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%; 
    border-radius: 20px;
    overflow: hidden;
    margin-top: 20px;
}
.hospa-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* رفع مشکل هاله کثیف: استفاده از rgba همرنگ بک‌گراند */
.hospa-seo-overlay {
    position: absolute;
    bottom: 80px; 
    left: 0;
    right: 0;
    height: 100px;
    /* این خط مشکل هاله را در گوشی و سافاری حل می‌کند */
    background: linear-gradient(to bottom, rgba(247, 247, 247, 0) 0%, rgba(247, 247, 247, 1) 90%);
    pointer-events: none;
    transition: opacity 0.4s ease;
}

/* وقتی متن باز شد، هاله باید محو شود */
.hospa-seo-content.is-expanded ~ .hospa-seo-overlay {
    opacity: 0;
}

/* دکمه‌های اکشن */
.hospa-seo-actions {
    display: flex;
    justify-content: flex-start;
    margin-top: 20px;
    position: relative;
    z-index: 5;
}

.hospa-seo-btn {
    background-color: transparent;
    border: 1.5px solid var(--h-green, #00843D);
    color: var(--h-green, #00843D);
    border-radius: 30px;
    padding: 12px 35px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.3s ease;
}
.hospa-seo-btn:hover {
    background-color: var(--h-green, #00843D);
    color: #fff;
}



button#hospa-seo-btn-show {
    background: #00843d33;
    border-radius: 10px;
    color: #00843d;
}
button#hospa-seo-btn-hide{
      background: #00843d33;
    border-radius: 10px;
    color: #00843d;  
}


/* ===================================================
   کدهای واکنش‌گرا (مخصوص موبایل و تبلت) - جدید
   =================================================== */
@media (max-width: 768px) {
    .hospa-seo-wrapper {
        padding: 25px 20px; /* کاهش پدینگ در موبایل */
        border-radius: 25px;
    }
    
     
    .hospa-seo-content h2 {
        font-size: 20px !important; /* کوچک کردن تیترها در موبایل */
        margin: 25px 0 10px 0 !important;
    }

    .hospa-seo-content p,
    .hospa-seo-content li {
        font-size: 13px; /* خوانایی بهتر در صفحه کوچک */
        line-height: 2 !important;
    }

    /* تنظیم مجدد جایگاه هاله برای پدینگ‌های جدید موبایل */
    .hospa-seo-overlay {
        bottom: 70px; 
        height: 80px;
    }

    .hospa-seo-btn {
        padding: 10px 30px;
        font-size: 14px;
        width: 100%; /* در موبایل دکمه تمام عرض باشد بهتر است */
    }
    
    .hospa-seo-actions {
        justify-content: center;
    }
}




