/* ============ ОБЩИЕ ============ */
.ds-layout{background-color:var(--bg-layout-default);display:flex;flex-direction:column;min-height:100vh;font-family:var(--font-family-body);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
.ds-main{display:flex;flex:1 0 auto;flex-direction:column;overflow:clip}
.ds-packer{background-color:var(--bg-layout-packer);display:flex;flex:1;flex-direction:column}
.ds-packer_cropped{overflow:hidden}
.ds-packer_type_stretch{width:100%}
.ds-packer_type_fix{padding:0 16px}
@media(min-width:620px) and (max-width:1199px){.ds-packer_type_fix{padding:0 24px}}
@media(min-width:1200px){.ds-packer_type_fix{padding:0 calc(50% - 570px)}}
.ds-packer_gap-top_none{padding-top:0}
.ds-packer_gap-top_small{padding-top:8px}
@media(min-width:620px) and (max-width:1023px){.ds-packer_gap-top_small{padding-top:16px}}
@media(min-width:1024px){.ds-packer_gap-top_small{padding-top:16px}}
.ds-packer_gap-top_middle{padding-top:16px}
@media(min-width:620px) and (max-width:1023px){.ds-packer_gap-top_middle{padding-top:24px}}
@media(min-width:1024px){.ds-packer_gap-top_middle{padding-top:32px}}
.ds-packer_gap-top_large{padding-top:32px}
@media(min-width:620px) and (max-width:1023px){.ds-packer_gap-top_large{padding-top:40px}}
@media(min-width:1024px){.ds-packer_gap-top_large{padding-top:52px}}
.ds-packer_gap-top_extra-large{padding-top:48px}
@media(min-width:620px) and (max-width:1023px){.ds-packer_gap-top_extra-large{padding-top:56px}}
@media(min-width:1024px){.ds-packer_gap-top_extra-large{padding-top:96px}}
.ds-packer_gap-bottom_none{padding-bottom:0}
.ds-packer_gap-bottom_small{padding-bottom:8px}
@media(min-width:620px) and (max-width:1023px){.ds-packer_gap-bottom_small{padding-bottom:16px}}
@media(min-width:1024px){.ds-packer_gap-bottom_small{padding-bottom:16px}}
.ds-packer_gap-bottom_middle{padding-bottom:16px}
@media(min-width:620px) and (max-width:1023px){.ds-packer_gap-bottom_middle{padding-bottom:24px}}
@media(min-width:1024px){.ds-packer_gap-bottom_middle{padding-bottom:32px}}
.ds-packer_gap-bottom_large{padding-bottom:32px}
@media(min-width:620px) and (max-width:1023px){.ds-packer_gap-bottom_large{padding-bottom:40px}}
@media(min-width:1024px){.ds-packer_gap-bottom_large{padding-bottom:52px}}
.ds-packer_gap-bottom_extra-large{padding-bottom:48px}
@media(min-width:620px) and (max-width:1023px){.ds-packer_gap-bottom_extra-large{padding-bottom:56px}}
@media(min-width:1024px){.ds-packer_gap-bottom_extra-large{padding-bottom:96px}}

/* ============ ХЕДЕР ============ */
.lb-header{background-color:var(--bg-header);position:sticky;top:0;z-index:200}
.lb-header__wrapper{box-shadow:0 1px 2px #2b2d3314,0 4px 12px #2b2d330a;height:72px;margin:auto;padding:0 16px;position:relative;width:100%;z-index:1}
@media(min-width:620px) and (max-width:1023px){.lb-header__wrapper{padding:0 24px}}
@media(min-width:1024px){.lb-header__wrapper{padding:0 24px}}
.lb-header__content{display:flex;height:72px;justify-content:space-between;align-items:center;margin:auto;max-width:1280px}
.lb-header__group{align-items:center;display:flex}
.lb-header__group_type_left{gap:40px;justify-content:start}
@media(min-width:1024px) and (max-width:1199px){.lb-header__group_type_left{gap:16px}}
.lb-header__group_type_right{gap:12px;justify-content:end}

/* Кнопки в шапке */
.lb-header__buttons{display:flex;gap:12px;align-items:center}
/* На узких экранах (<620) кнопки прячем — они уходят в мобильную панель */
@media(max-width:619px){
    .lb-header__buttons{display:none}
}

/* ============ ЛОГО ============ */
.ds-logo{display:flex;flex-shrink:0;height:56px;max-width:164px}
@media(min-width:1024px){.ds-logo{max-width:200px}}
.ds-logo__image{height:100%;-o-object-fit:contain;object-fit:contain;-o-object-position:left;object-position:left;width:auto}

/* ============ ГОРИЗОНТАЛЬНОЕ МЕНЮ ============ */
.ds-menu{height:auto;overflow:visible;padding:0}
.ds-menu__list{display:flex;flex-direction:row;align-items:center;gap:32px;margin:0;padding:0}
@media(min-width:1024px) and (max-width:1199px){.ds-menu__list{gap:16px}}
.ds-menu__list-item{list-style-type:none}
.ds-menu-item{position:relative}
.ds-menu-item__link{color:var(--font-tertiary);cursor:pointer;display:block;font-family:var(--font-family-body);font-size:18px;font-weight:400;line-height:26px;padding:12px 0;text-decoration:none;transition:color .2s ease;white-space:nowrap}
.ds-menu-item__link:hover,.ds-menu-item__link_active{color:var(--font-primary);text-decoration:underline}

/* Скрываем горизонтальное меню на планшете и мобиле */
@media(max-width:1023px){
    .ds-menu{display:none}
}

/* ============ ГАМБУРГЕР ============ */
.lb-header__burger{
    display:none;
    align-items:center;
    justify-content:center;
    width:32px;
    height:32px;
    padding:0;
    background:none;
    border:0;
    cursor:pointer;
    flex-shrink:0;
    position:relative;
}
.lb-header__burger-icon{
    position:absolute;
    top:0;
    left:0;
    width:32px;
    height:32px;
    display:block;
    transition:opacity .2s ease, transform .2s ease;
    pointer-events:none;
}
/* По умолчанию видна иконка "меню", "крестик" скрыт */
.lb-header__burger-icon_open{opacity:1;transform:rotate(0deg)}
.lb-header__burger-icon_close{opacity:0;transform:rotate(-90deg)}

/* Когда меню открыто — наоборот */
.lb-header__burger_active .lb-header__burger-icon_open{opacity:0;transform:rotate(90deg)}
.lb-header__burger_active .lb-header__burger-icon_close{opacity:1;transform:rotate(0deg)}

@media(max-width:1023px){
    .lb-header__burger{display:flex}
}

/* ============ ВЫЕЗЖАЮЩАЯ МОБИЛЬНАЯ ПАНЕЛЬ ============ */
.lb-header__mobile{
    position:fixed;
    top:72px;
    left:0;
    right:0;
    bottom:0;
    background-color:var(--bg-color-light, #fff);
    z-index:190;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    padding:32px 32px 24px;
    overflow-y:auto;
    transform:translateY(-110%);
    transition:transform .3s ease;
    visibility:hidden;
}
.lb-header__mobile_open{
    transform:translateY(0);
    visibility:visible;
}

.lb-header__mobile-nav{flex:1}
.lb-header__mobile-list{
    display:flex;
    flex-direction:column;
    gap:8px;
    margin:0;
    padding:0;
    list-style:none;
}
.lb-header__mobile-item{list-style-type:none}
.lb-header__mobile-link{
    display:block;
    color:var(--font-tertiary);
    font-family:var(--font-family-body);
    font-size:18px;
    font-weight:400;
    line-height:26px;
    padding:12px 32px 12px 0;
    text-decoration:none;
    transition:color .2s ease;
}
.lb-header__mobile-link:hover,
.lb-header__mobile-link_active{
    color:var(--font-primary);
    text-decoration:underline;
}

.lb-header__mobile-buttons{
    display:flex;
    flex-direction:column;
    gap:12px;
    margin-top:24px;
}

/* Блокировка скролла страницы при открытом меню */
body.menu-open{
    overflow:hidden;
}

/* На десктопе мобильная панель не нужна */
@media(min-width:1024px){
    .lb-header__mobile{display:none}
}

/* Чуть уменьшаем высоту шапки на узких экранах */
@media(max-width:619px){
    .lb-header__wrapper,
    .lb-header__content{height:64px}
    .lb-header__mobile{top:64px}
    .ds-logo{height:48px;max-width:140px}
}
/* ============ ЛОГО ============ */
.ds-logo{display:flex;flex-shrink:0;height:56px;max-width:164px}
@media(min-width:1024px){.ds-logo{max-width:200px}}
.ds-logo__image{height:100%;-o-object-fit:contain;object-fit:contain;-o-object-position:left;object-position:left;width:auto}

/* ============ КНОПКИ ============ */
.ds-button{align-items:center;border-radius:var(--radius-xs);cursor:pointer;display:inline-flex;font-family:inherit;justify-content:center;text-decoration:none;touch-action:manipulation;-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap;transition:background-color .15s ease}
.ds-button:disabled{cursor:default}
.ds-button_color_primary{background-color:var(--bg-button-primary-default);color:var(--font-dynamic)}
.ds-button_color_primary:hover{background-color:var(--bg-button-primary-hover)}
.ds-button_color_primary:active{background-color:var(--bg-button-primary-active)}
.ds-button_color_primary-inverse{background-color:var(--bg-button-primary-inverse-default);color:var(--font-primary-bg-light)}
.ds-button_color_primary-inverse:hover{background-color:var(--bg-button-primary-inverse-hover)}
.ds-button_color_primary-inverse:active{background-color:var(--bg-button-primary-inverse-active)}
.ds-button_color_secondary{background-color:var(--bg-button-secondary-default);color:var(--font-primary)}
.ds-button_color_secondary:hover{background-color:var(--bg-button-secondary-hover)}
.ds-button_color_secondary:active{background-color:var(--bg-button-secondary-active)}
.ds-button_color_secondary-inverse{-webkit-backdrop-filter:blur(22px);backdrop-filter:blur(22px);background-color:var(--bg-button-secondary-inverse-default);color:var(--font-primary-bg-dark)}
.ds-button_color_secondary-inverse:hover{background-color:var(--bg-button-secondary-inverse-hover)}
.ds-button_color_secondary-inverse:active{background-color:var(--bg-button-secondary-inverse-active)}
.ds-button_color_tertiary{color:var(--font-primary)}
.ds-button_color_tertiary:hover{background-color:var(--bg-button-tertiary-hover)}
.ds-button_color_tertiary:active{background-color:var(--bg-button-tertiary-active)}
.ds-button_color_shadow{background-color:var(--bg-button-shadow-default);box-shadow:0 1px 2px #2b2d3314,0 4px 12px #2b2d330a;color:var(--font-primary)}
.ds-button_color_shadow:hover{background-color:var(--bg-button-shadow-hover);box-shadow:0 4px 12px #2b2d3314,0 1px 2px #2b2d331f}
.ds-button_color_shadow:active{background-color:var(--bg-button-shadow-active);box-shadow:0 1px 2px #2b2d3314,0 4px 12px #2b2d330a}
.ds-button_size_s{font-family:var(--font-family-body);font-size:14px;font-style:normal;font-weight:400;line-height:18px;padding:11px 14px}
@media(min-width:1024px){.ds-button_size_s{font-size:16px;line-height:22px;padding:13px 12px}}
.ds-button_size_m{font-family:var(--font-family-body);font-size:16px;font-style:normal;font-weight:400;line-height:22px;padding:13px 18px}
@media(min-width:1024px){.ds-button_size_m{font-size:18px;line-height:26px}}
.ds-button_size_l{font-family:var(--font-family-body);font-size:20px;font-style:normal;font-weight:400;line-height:28px;padding:16px 24px}
@media(min-width:1024px){.ds-button_size_l{padding:20px 24px}}
.ds-button_stretch{display:flex;width:100%}
.ds-button__text{font-family:inherit}

/* ============ GHOST BUTTON ============ */
.ds-button-ghost{align-items:center;cursor:pointer;display:inline-flex;font-family:var(--font-family-body);font-size:14px;font-weight:400;gap:4px;justify-content:center;line-height:18px;padding:0;text-decoration:none;transition:color .15s ease}
@media(min-width:1024px){.ds-button-ghost{font-size:16px;line-height:22px}}
.ds-button-ghost:hover{text-decoration:underline}
.ds-button-ghost_color_primary{color:var(--font-primary)}
.ds-button-ghost_color_tertiary{color:var(--font-secondary)}
.ds-button-ghost__text{font-family:inherit;text-align:left;white-space:pre-wrap}

/* ============ FOOTER ============ */
.lb-footer-column{background-color:var(--bg-footer);padding:40px 0;width:100%}
@media(min-width:620px) and (max-width:1023px){.lb-footer-column{padding:40px 0}}
@media(min-width:1024px){.lb-footer-column{padding:52px 0 40px}}
.lb-footer-column__wrapper{padding:0 16px}
@media(min-width:620px) and (max-width:1199px){.lb-footer-column__wrapper{padding:0 24px}}
@media(min-width:1200px){.lb-footer-column__wrapper{padding:0 calc(50% - 570px)}}
.lb-footer-column__content{display:flex;flex-direction:column;gap:32px;margin-bottom:20px}
@media(min-width:620px) and (max-width:1023px){.lb-footer-column__content{margin-bottom:32px}}
@media(min-width:1024px){.lb-footer-column__content{flex-direction:row;justify-content:space-between;margin-bottom:24px}}
.lb-footer-column__groups{display:flex;flex-wrap:wrap;gap:24px}
@media(min-width:1024px){.lb-footer-column__groups{justify-content:flex-end}}
.lb-footer-column__group-item{margin-bottom:24px;width:156px}
.lb-footer-column__group{display:flex;flex-direction:column;gap:16px}
.lb-footer-column__item-title{color:var(--font-primary);display:block;font-family:var(--font-family-body);font-size:16px;font-weight:400;line-height:22px;margin-bottom:16px;text-decoration:none}
.lb-footer-column__footer{align-items:flex-start;border-top:1px solid var(--border-divider);display:flex;flex-direction:column;gap:12px;padding-top:24px}
@media(min-width:1024px){.lb-footer-column__footer{flex-direction:row;gap:40px;justify-content:space-between;margin-bottom:24px}}
.lb-footer-column__socials-list{display:flex;flex-direction:row;flex-wrap:wrap;gap:4px;justify-content:flex-start}
.lb-footer-column__сopyright{color:var(--font-secondary);font-family:var(--font-family-body);font-size:16px;font-weight:400;line-height:22px}
@media(min-width:1024px){.lb-footer-column__сopyright{flex-basis:448px}}
.lb-footer-column__text{color:var(--font-secondary);font-family:var(--font-family-body);font-size:16px;font-weight:400;line-height:22px;white-space:pre-wrap}
@media(min-width:1024px){.lb-footer-column__text{text-align:right}}
.lb-footer-column__footer-content{display:flex;flex-direction:column;justify-content:center}

/* ============ СОЦСЕТИ ============ */
.ds-social{align-items:center;border-radius:var(--radius-s);display:inline-flex;gap:8px;height:48px;justify-content:center;padding:12px;transition:all .2s ease-out;color:var(--font-tertiary)}
.ds-social:hover{color:var(--font-primary-inverse)}
.ds-social_color_secondary{background-color:var(--bg-socials-secondary);color:var(--font-tertiary)}
.ds-social_social_whats-app:hover{background-color:#20dd5e;color:var(--font-primary-bg-dark)}
.ds-social_social_telegram:hover{background-color:#5dafe9;color:var(--font-primary-bg-dark)}
.ds-social_social_mail:hover{background-color:var(--havana-400);color:var(--font-primary-bg-dark)}
.ds-social_social_share:hover{background-color:var(--bg-button-secondary-hover);color:var(--font-primary)}
.ds-social__icon{flex-shrink:0}

/* ============ BANNER HERO ============ */
.b-banner-hero{
    height:700px;
    overflow:hidden;
    position:relative;
}
@media(min-width:620px) and (max-width:1023px){
    .b-banner-hero{height:800px}
}
@media(min-width:1024px){
    .b-banner-hero{height:840px}
}

.b-banner-hero__wrapper{
    height:100%;
}
.b-banner-hero__content{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;position:relative}
.b-banner-hero__content-wrapper{max-width:100%;padding:0 12px;text-align:center;width:100%}
@media(min-width:1024px){.b-banner-hero__content-wrapper{max-width:840px}}
.b-banner-hero__title{color:var(--font-primary-bg-dark);display:block;margin-bottom:8px;font-family:var(--font-family-heading);font-size:32px;font-weight:500;line-height:32px;white-space:pre-wrap;word-break:break-word}
@media(min-width:620px) and (max-width:1023px){.b-banner-hero__title{font-size:40px;line-height:44px;margin-bottom:0}}
@media(min-width:1024px){.b-banner-hero__title{font-size:52px;line-height:52px;margin-bottom:8px}}
.b-banner-hero__text{color:var(--font-primary-bg-dark);margin:auto;font-family:var(--font-family-body);font-size:18px;font-weight:400;line-height:26px;white-space:pre-wrap;word-break:break-word}
@media(min-width:1024px){.b-banner-hero__text{font-size:20px;line-height:28px}}
.b-banner-hero__buttons-wrapper{align-items:center;display:flex;flex-direction:column;gap:8px;margin:16px auto 0;width:300px}
@media(min-width:620px) and (max-width:1023px){.b-banner-hero__buttons-wrapper{margin-top:12px}}
@media(min-width:1024px){.b-banner-hero__buttons-wrapper{flex-direction:row;justify-content:center;margin-top:32px;/*padding:0 32px;width:100%*/}}
.b-banner-hero__button{flex-grow:1;width:100%}

/* ============ SLIDER ============ */
.ds-slider{position:relative;width:100%}
.ds-slider_type_single .ds-slider__control{top:50%;translate:0 -50%}
.ds-slider_type_single .ds-slider__control_orientation_left{left:8px}
.ds-slider_type_single .ds-slider__control_orientation_right{right:8px}
.ds-slider__control{top:50%;transform:translateY(-50%)}
.ds-slider,
.ds-slider__swiper,
.ds-slider .swiper-wrapper,
.ds-slider .swiper-slide.ds-slide,
.ds-slide{
    height:100%;
}
.ds-control{align-items:center;border:none;cursor:pointer;display:flex;height:40px;justify-content:center;position:absolute;width:40px;z-index:1}
.ds-control_color_secondary{-webkit-backdrop-filter:blur(22px);backdrop-filter:blur(22px);background-color:rgb(185 181 181 / 36%);border-radius:50%;color:var(--font-primary-bg-dark);transition:transform .15s ease-in-out,background-color .15s ease-in-out}
.ds-control_color_secondary:hover{background-color:rgb(34 34 34 / 30%)}
.ds-control_color_secondary:hover svg path{fill:#fff;}
.ds-control_color_secondary:active{transform:scale(1)}
.swiper-pagination-bullet{background:var(--opacity-white-500);opacity:1}
.swiper-pagination-bullet-active{background:var(--basic-1300)}

/* ============ COVER ============ */
.b-cover__wrapper{border-radius:var(--radius-s);display:flex;flex-direction:column;gap:16px;overflow:hidden}
@media(min-width:1024px){.b-cover__wrapper{align-items:center;flex-direction:row-reverse;gap:32px;height:460px}}
.b-cover__wrapper .b-cover__gallery{border-radius:var(--radius-s);overflow:hidden}
@media(min-width:1024px){.b-cover__wrapper_reverse{flex-direction:row}}
.b-cover__wrapper_backed-content{background-color:var(--bg-layout-container);border-radius:var(--radius-ms);box-shadow:0 4px 12px #2b2d3314,0 1px 2px #2b2d331f}
.b-cover__description{text-align:center}
@media(min-width:1024px){.b-cover__description{flex-basis:446px;text-align:left}}
.b-cover__content-title{color:var(--font-primary);display:block;font-family:var(--font-family-heading);font-size:20px;font-weight:500;line-height:22px;margin-bottom:8px;white-space:pre-wrap}
@media(min-width:1024px){.b-cover__content-title{font-size:44px;line-height:44px;margin-bottom:12px}}
.b-cover__text{color:var(--font-tertiary);font-family:var(--font-family-body);font-size:16px;font-weight:400;line-height:22px;white-space:pre-wrap}
@media(min-width:1024px){.b-cover__text{font-size:18px;line-height:26px}}
.b-cover__button-wrapper{align-items:center;display:flex;flex-direction:column;gap:8px;margin-top:16px}
@media(min-width:1024px){.b-cover__button-wrapper{flex-direction:row;gap:12px;margin-top:24px}}
.b-cover__gallery{height:280px;width:100%}
@media(min-width:620px) and (max-width:1023px){.b-cover__gallery{height:340px}}
@media(min-width:1024px){.b-cover__gallery{flex-basis:612px;height:100%}}
.b-cover__image{height:100%;-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center;width:100%}

/* ============ CONTAINER ============ */
.ds-container{border-radius:var(--radius-ms)}
@media(min-width:1024px){.ds-container{border-radius:var(--radius-m)}}
.ds-container_type_short-color .ds-container__content_backed{background-color:var(--bg-layout-container)}
.ds-container_type_short-color .ds-container__title-wrapper{margin-bottom:20px}
@media(min-width:620px) and (max-width:1023px){.ds-container_type_short-color .ds-container__title-wrapper{margin-bottom:40px}}
@media(min-width:1024px){.ds-container_type_short-color .ds-container__title-wrapper{margin-bottom:64px}}
.ds-container__title-wrapper{display:flex;flex-direction:column;gap:8px}
@media(min-width:620px) and (max-width:1023px){.ds-container__title-wrapper{gap:12px}}
@media(min-width:1024px){.ds-container__title-wrapper{gap:16px}}
.ds-container__title{color:var(--font-primary);font-family:var(--font-family-heading);font-size:24px;font-weight:500;line-height:26px;text-align:left;white-space:pre-wrap;word-break:break-word}
@media(min-width:620px) and (max-width:1023px){.ds-container__title{font-size:32px;line-height:32px;text-align:center}}
@media(min-width:1024px){.ds-container__title{font-size:44px;line-height:44px;text-align:center}}
.ds-container__subtitle{color:var(--font-primary);display:block;font-family:var(--font-family-body);font-size:14px;font-weight:400;line-height:18px;text-align:left;white-space:pre-wrap;word-break:break-word}
@media(min-width:620px) and (max-width:1023px){.ds-container__subtitle{font-size:16px;line-height:22px;text-align:center}}
@media(min-width:1024px){.ds-container__subtitle{font-size:18px;line-height:26px;text-align:center}}
.ds-container__content{border-radius:var(--radius-ms)}
@media(min-width:1024px){.ds-container__content{border-radius:var(--radius-2xl)}}
.ds-container__content_backed{padding:16px}
@media(min-width:620px) and (max-width:1023px){.ds-container__content_backed{padding:24px}}
@media(min-width:1024px){.ds-container__content_backed{padding:56px}}

/* ============ LIST ============ */
.ds-list{display:grid;grid-template-columns:repeat(var(--47ab58a4,12),1fr);margin:0;padding:0}
.ds-list_schematic .ds-list-item{grid-column:auto/span var(--9b0c37d8,12)}
@media(min-width:620px) and (max-width:1023px){.ds-list_schematic .ds-list-item{grid-column:auto/span var(--7a13a250,6)}}
@media(min-width:1024px){.ds-list_schematic .ds-list-item{grid-column:auto/span var(--6b726496,4)}}
.ds-list_type_horizontal .ds-list-item{grid-column:auto/span var(--067cad34,12)}
@media(min-width:620px) and (max-width:1023px){.ds-list_type_horizontal .ds-list-item{grid-column:auto/span var(--067cad35,6)}}
@media(min-width:1024px){.ds-list_type_horizontal .ds-list-item{grid-column:auto/span var(--067cad36,4)}}
.ds-list_gap_s{gap:12px}
.ds-list_gap_m{gap:24px}
.ds-list-item{list-style-type:none}

/* ============ CARD WRAPPER ============ */
.ds-card-wrapper{border-radius:var(--radius-xl);height:100%;overflow:hidden;transition:all .3s ease;width:100%}
.ds-card-wrapper_type_product{background-color:var(--bg-card-wrapper-product-default);transition:background-color .3s ease, box-shadow .3s ease;}
.ds-card-wrapper_type_product:hover{background-color:var(--bg-card-wrapper-product-hover);box-shadow:0 4px 12px rgba(43,45,51,.18);}
.ds-card-wrapper_type_product:active{background-color:var(--bg-card-wrapper-product-active)}
.ds-card-wrapper_type_basic{background-color:var(--bg-card-wrapper-basic-default)}
.ds-card-wrapper_type_basic:hover{background-color:var(--bg-card-wrapper-basic-hover)}
.ds-card-wrapper_type_basic:active{background-color:var(--bg-card-wrapper-basic-active)}

/* ============ PRODUCT CARD ============ */
.ds-product-card{display:flex;flex-direction:column;gap:4px;height:100%;padding:4px;position:relative;text-decoration:none}
@media(min-width:1024px){.ds-product-card{gap:8px}}
.ds-product-card:hover .ds-product-card__image{transform:scale(1.1)}
.ds-product-card:active .ds-product-card__image{transform:scale(1)}
.ds-product-card__link{bottom:0;left:0;position:absolute;right:0;top:0;z-index:1}
.ds-product-card__image-wrapper{aspect-ratio:1/1;border-radius:var(--radius-sm);overflow:hidden;position:relative}
.ds-product-card__image{height:100%;-o-object-fit:cover;object-fit:cover;transition:transform .35s ease-in-out;width:100%}
.ds-product-card__content-wrapper{display:flex;flex-direction:column;flex-grow:1;gap:8px;padding:12px 12px 4px}
@media(min-width:1024px){.ds-product-card__content-wrapper{padding:16px 16px 8px}}
.ds-product-card__content{padding:0px}
@media(min-width:1024px){.ds-product-card__content{padding:8px}}
.ds-product-card__description-wrapper{width:100%}
.ds-product-card__title{color:var(--font-primary);font-family:var(--font-family-heading);font-size:16px;font-weight:500;line-height:18px;padding-top:0px}
@media(min-width:1024px){.ds-product-card__title{font-size:18px;line-height:20px}}
.ds-product-card__description{color:var(--font-tertiary);font-family:var(--font-family-body);font-size:12px;font-weight:400;line-height:16px;padding-top:8px;
  display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
@media(min-width:1024px){.ds-product-card__description{font-size:14px;line-height:18px}}
.ds-product-card__button-wrapper{display:flex;flex-direction:column;flex-grow:1;gap:6px;justify-content:flex-end;padding:0 8px 8px;}
@media(min-width:1024px){
    .ds-product-card__button-wrapper{padding:0 12px 12px}
}
.ds-product-card__button{position:relative;z-index:2}

/* ============ PRICE ============ */
.ds-price__price-wrapper{display:flex;flex-wrap:wrap;gap:10px}
.ds-price__price-wrapper_position_horizontal-left{align-items:center;flex-direction:row;justify-content:flex-start}
.ds-price__price{color:var(--font-primary);font-family:var(--font-family-body);font-weight:700}
.ds-price__price_size_l{font-size:24px;line-height:32px}

/* ============ INFO CARD (преимущества) ============ */
.ds-info-card{align-items:center;cursor:pointer;display:flex;flex-direction:column;height:100%}
.ds-info-card_theme_compact{padding:32px 16px}
@media(min-width:620px) and (max-width:1023px){.ds-info-card_theme_compact{padding:64px 40px}}
@media(min-width:1024px){.ds-info-card_theme_compact{padding:44px 40px}}
.ds-info-card_theme_compact .ds-info-card__image{border-radius:var(--radius-s);flex-shrink:0;height:80px;width:80px;margin-bottom:24px;margin-top:12px;-o-object-fit:cover;object-fit:cover}
@media(min-width:1024px){.ds-info-card_theme_compact .ds-info-card__image{margin-bottom:32px}}
.ds-info-card__wrapper{align-items:center;display:flex;flex:1;flex-direction:column;overflow-wrap:anywhere;text-align:center;width:100%}
.ds-info-card__content-wrapper{display:flex;flex:1;flex-direction:column;width:100%}
.ds-info-card__title{color:var(--font-primary);font-family:var(--font-family-heading);font-size:20px;font-weight:500;line-height:22px;margin-bottom:20px;width:100%}
@media(min-width:1024px){.ds-info-card__title{font-size:24px;line-height:26px}}
.ds-info-card__description{color:var(--font-tertiary);font-family:var(--font-family-body);font-size:16px;font-weight:400;line-height:22px;margin-bottom:16px;width:100%}

/* ============ Секция каталога ============ */
.b-catalog__button-wrapper{align-items:center;display:flex;flex-direction:column;justify-content:center;margin-top:32px}
@media(min-width:1024px){.b-catalog__button-wrapper{margin-top:56px}}
.b-catalogs__button-wrapper{align-items:center;display:flex;flex-direction:column;justify-content:center;margin-top:32px}
@media(min-width:1024px){.b-catalogs__button-wrapper{margin-top:56px}}

/* ============ Утилиты ============ */
.ds-icon{display:block}
.ds-icon path{fill:currentcolor}

/* ============ Адаптив для мобильных ============ */
@media(max-width:619px){
  .lb-header__content{height:64px}
  .lb-header__wrapper{height:64px}
  .ds-menu__list{display:none}
  .b-banner-hero{height:600px}
  .ds-product-card__image-wrapper{aspect-ratio:1/1}
  .lb-footer-column__groups{flex-direction:column;gap:16px}
}
/* ============ Кнопка "Заказать" в карточке товара ============
   На тёмном фоне карточек (главная, разделы) нужна белая кнопка
   с тёмным текстом, а не "shadow" из тёмной темы Reg.ru. */
.ds-product-card__button.ds-button_color_shadow{
    background-color:#b2b2b2;
    color:var(--basic-300);
    box-shadow:0 1px 2px rgba(43,45,51,.08), 0 4px 12px rgba(43,45,51,.04);
    padding:14px 18px;
}
.ds-product-card__button.ds-button_color_shadow:hover{
    background-color:var(--basic-1200);
    color:var(--basic-100);
    box-shadow:0 4px 12px rgba(43,45,51,.08), 0 1px 2px rgba(43,45,51,.12);
}
.ds-product-card__button.ds-button_color_shadow:active{
    background-color:var(--basic-1100);
    color:var(--basic-100);
    box-shadow:0 1px 2px rgba(43,45,51,.08), 0 4px 12px rgba(43,45,51,.04);
}
.ds-product-card__button.ds-button_color_shadow .ds-button__text{
    color:inherit;
}
/* ============ ИНФО-КАРТОЧКА: кликабельность ============ */
.ds-info-card[data-adv-open]{
    cursor:pointer;
}
.ds-info-card[data-adv-open]:focus-visible{
    outline:2px solid var(--accent);
    outline-offset:2px;
}

/* ============ МОДАЛКА ============ */
.ds-modal{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.75);
    -webkit-backdrop-filter:blur(6px);
    backdrop-filter:blur(6px);
    z-index:500;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:16px;
    opacity:0;
    transition:opacity .2s ease;
}
.ds-modal[hidden]{display:none}
.ds-modal_open{opacity:1}

.ds-modal__wrapper{
    background:#151515;
    color:#fafafa;
    border-radius:var(--radius-m);
    box-shadow:0 8px 32px rgba(0,0,0,.55);
    max-width:600px;
    width:100%;
    max-height:calc(100vh - 32px);
    overflow:auto;
    position:relative;
    transform:translateY(20px);
    transition:transform .25s ease;
}
@media(min-width:620px){
    .ds-modal__wrapper{max-width:680px}
}
.ds-modal_open .ds-modal__wrapper{transform:translateY(0)}

.ds-modal__close-button{
    position:absolute;
    top:8px;
    right:8px;
    z-index:2;
    width:40px;
    height:40px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:transparent;
    border:0;
    border-radius:var(--radius-xs);
    cursor:pointer;
    transition:background-color .15s ease;
}
.ds-modal__close-button:hover{background-color:rgba(255,255,255,.1)}
.ds-modal__close-button svg path{stroke:#fafafa}

.ds-modal__content{padding:0}

/* ============ МОДАЛКА ИНФО-КАРТОЧКИ ============ */
.ds-info-card-modal{
    display:flex;
    flex-direction:column;
    padding:40px 24px 32px;
    text-align:center;
}
@media(min-width:620px){
    .ds-info-card-modal{padding:48px 56px 40px}
}
@media(min-width:1024px){
    .ds-info-card-modal{padding:56px 80px 48px}
}
.ds-info-card-modal_theme_compact .ds-info-card-modal__image{
    width:120px;
    height:120px;
    border-radius:var(--radius-s);
    object-fit:cover;
    margin:0 auto 24px;
}
.ds-info-card-modal__wrapper{
    display:flex;
    flex-direction:column;
    width:100%;
}
.ds-info-card-modal__title{
    color:#fafafa;
    font-family:var(--font-family-heading);
    font-size:22px;
    font-weight:500;
    line-height:26px;
    margin-bottom:16px;
}
@media(min-width:1024px){
    .ds-info-card-modal__title{font-size:24px;line-height:28px}
}
.ds-info-card-modal__description{
    color:#a3a3a3;
    font-family:var(--font-family-body);
    font-size:16px;
    font-weight:400;
    line-height:24px;
    text-align:left;
}

/* === Стили для HTML-контента внутри модалки === */
.ds-info-card-modal__description p{margin:0 0 12px}
.ds-info-card-modal__description p:last-child{margin-bottom:0}
.ds-info-card-modal__description strong,
.ds-info-card-modal__description b{color:#fafafa;font-weight:500}
.ds-info-card-modal__description em{font-style:italic;color:#d9d9d9}
.ds-info-card-modal__description ul,
.ds-info-card-modal__description ol{
    margin:8px 0 12px;
    padding-left:0;
    list-style:none;
}
.ds-info-card-modal__description li{
    position:relative;
    padding-left:20px;
    margin-bottom:8px;
    list-style:none;
}
.ds-info-card-modal__description li:before{
    content:"";
    position:absolute;
    left:0;
    top:10px;
    width:6px;
    height:6px;
    border-radius:50%;
    background:var(--accent);
}
.ds-info-card-modal__description hr{
    border:0;
    border-top:1px solid rgba(255,255,255,.1);
    margin:20px 0;
}
.ds-info-card-modal__description small,
.ds-info-card-modal__description .ds-note{
    display:block;
    margin-top:20px;
    padding-top:16px;
    border-top:1px solid rgba(255,255,255,.1);
    color:#8a8a8a;
    font-size:14px;
    line-height:20px;
}