/* ========================== BITRIX THEME VARIABLES ==========================*/
/* Эти переменные в оригинале генерировались PHP (style.php) — задаём вручную */
:root {
    --theme-skit-color: #CB11AB;          /* основной розово-фиолетовый */
    --theme-skit-color-dark: #481173;     /* тёмный вариант */
    --theme-h-top-color: #ffffff;         /* цвет текста в шапке (белый) */
    --theme-h-top-bg-color: transparent;  /* фон шапки */
}

/* ========================== SCROLL ==========================*/
html { scroll-behavior: smooth; }

/* ========================== DRAWER ==========================*/
body.drawer-open { overflow: hidden; }

.drawer {
    position: fixed;
    top: 0; right: 0; bottom: 0; left: 0;
    z-index: 9999;
    pointer-events: none;
}
.drawer.is-open { pointer-events: all; }

.drawer__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    transition: opacity 0.3s;
}
.drawer.is-open .drawer__overlay { opacity: 1; }

.drawer__wrapper {
    position: absolute;
    top: 0; right: 0;
    width: 320px;
    max-width: 90vw;
    height: 100%;
    background: #fff;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}
.drawer.is-open .drawer__wrapper { transform: translateX(0); }

/* ========================== SCROLL-UP BUTTON ==========================*/
.scroll-up-down {
    display: none;
    position: fixed;
    bottom: 30px; right: 30px;
    z-index: 999;
    cursor: pointer;
}
.scroll-up-down.visible { display: flex; }

/* ========================== REVIEWS "READ MORE" ==========================*/
.review_slider_item_text:not(.expanded) {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.review_slider_item_text.expanded {
    display: block;
    -webkit-line-clamp: unset;
}
.review_slider_item_text_more { cursor: pointer; color: #CB11AB; font-size: 14px; margin-top: 5px; }

/* ========================== HEADER SCROLLED ==========================*/
.header.scrolled {
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

/* ========================== NAV LINK VISIBILITY ==========================*/
/* White nav links need text-shadow to stay readable over hero image */
.theme_h_top_color #more-nav-1 > li.nav-item a.root-item {
    text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}

/* ========================== FAQ ACCORDION ==========================*/
.about-list-2-item-text { display: none; }
.about-list-2-item-title.active .about-list-2-item-text { display: block; }

/* ========================== STARS (REVIEWS) ==========================*/
.review_slider_item_rating_star { color: #CB11AB; display: inline-block; }
.review_slider_item_rating_list { display: flex; gap: 4px; align-items: center; margin-bottom: 8px; }

/* ========================== CALCULATOR SECTION OVERRIDE ==========================*/
.calculator-cta {
    padding: 60px 0;
    text-align: center;
    background: #fff;
}
.calculator-cta .title-main {
    margin-bottom: 30px;
}
.calculator-cta .btn-calc {
    display: inline-block;
    padding: 18px 48px;
    background: linear-gradient(90deg, #CB11AB 0%, #481173 100%);
    color: #fff;
    border-radius: 8px;
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s;
}
.calculator-cta .btn-calc:hover { opacity: 0.85; color: #fff; text-decoration: none; }

/* ========================== FORMS ==========================*/
.banner_form_input, .skit-input-text, .skit-input-textarea {
    width: 100%;
    border-radius: 5px;
    border: 1px solid #CB11AB;
    background: #F2F2F2;
    padding: 12px 14px;
    font-size: 16px;
    outline: none;
}
.banner_form_input:focus, .skit-input-text:focus, .skit-input-textarea:focus {
    border-color: #481173;
    box-shadow: 0 0 0 3px rgba(203,17,171,0.15);
}
