@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@800&display=swap');
@import url('https://fonts.cdnfonts.com/css/gilroy-bold');

:root {
    --theme-page: #efefef;
    --theme-page-desktop: linear-gradient(180deg, #f5f5f5 0%, #ebedf2 100%);
    --theme-surface: #ffffff;
    --theme-surface-soft: #f8f8f8;
    --theme-surface-muted: #eef1f6;
    --theme-surface-subtle: #f6f7fb;
    --theme-input: #e6e6e6;
    --theme-panel: #ECEFF1;
    --theme-border: rgba(18, 18, 18, 0.08);
    --theme-border-strong: #d6d8e4;
    --theme-text: #121212;
    --theme-text-muted: #7d8398;
    --theme-text-soft: #C1C1C0;
    --theme-text-inverse: #ffffff;
    --theme-accent: #8797DF;
    --theme-accent-hover: #7487dc;
    --theme-accent-soft: #A8B5EF;
    --theme-danger-soft: #fff1f1;
    --theme-badge: #ff5826;
    --theme-shadow-soft: 0 16px 40px rgba(18, 18, 18, 0.06);
    --theme-shadow-medium: 0 18px 48px rgba(18, 18, 18, 0.12);
    --theme-shadow-strong: 0 20px 48px rgba(18, 18, 18, 0.18);
    --theme-scrollbar: rgba(135, 151, 223, 0.55);
}

html[data-theme="dark"] {
    --theme-page: #0f1218;
    --theme-page-desktop: linear-gradient(180deg, #0f1218 0%, #171c26 100%);
    --theme-surface: #171c26;
    --theme-surface-soft: #121720;
    --theme-surface-muted: #1d2532;
    --theme-surface-subtle: #202938;
    --theme-input: #1c2330;
    --theme-panel: #151b24;
    --theme-border: rgba(229, 235, 255, 0.08);
    --theme-border-strong: rgba(229, 235, 255, 0.14);
    --theme-text: #edf2ff;
    --theme-text-muted: #a6b1ca;
    --theme-text-soft: #7f8aa2;
    --theme-text-inverse: #ffffff;
    --theme-accent: #9aa8ff;
    --theme-accent-hover: #b1bcff;
    --theme-accent-soft: rgba(154, 168, 255, 0.18);
    --theme-danger-soft: rgba(192, 82, 82, 0.18);
    --theme-badge: #ff7b52;
    --theme-shadow-soft: 0 16px 40px rgba(0, 0, 0, 0.24);
    --theme-shadow-medium: 0 18px 48px rgba(0, 0, 0, 0.32);
    --theme-shadow-strong: 0 20px 48px rgba(0, 0, 0, 0.42);
    --theme-scrollbar: rgba(154, 168, 255, 0.45);
}

/* font-family: 'Gilroy-Bold', sans-serif;
font-family: 'Gilroy-Heavy', sans-serif;
font-family: 'Gilroy-Light', sans-serif;
font-family: 'Gilroy-Medium', sans-serif;
font-family: 'Gilroy-Regular', sans-serif; */
body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Gilroy-Medium', sans-serif;
    background-color: #efefef;
}

ul {
    padding-inline-start: 0px;
}

.swiper {
    margin-top: 56px;
    width: 100%;
    height: 520px;
    background: transparent;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-pagination {
    margin-bottom: 26px;
    margin-left: 10px;
    text-align: start !important;
}

main {
    display: flex;
    flex-direction: column;
    min-height: 560px;
    width: 100%;
}

a {
    color: #C1C1C0;
    text-decoration: none;
    cursor: pointer;
}
.basket_about_info_cup a img{
    width:15px;
}
footer {
    display: flex;
    align-items: center;
    height: 60px;
    margin-bottom: 80px;
}

.site_footer {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 72px;
    margin: 32px 0 0;
    padding: 24px 20px;
    box-sizing: border-box;
}

.site_footer_inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0;
    width: min(1240px, 100%);
    padding: 24px 0;
    border-top: 1px solid rgba(18, 18, 18, 0.08);
    color: #7d8398;
    font-size: 14px;
    line-height: 1.4;
    text-align: center;
}

.site_footer_text {
    display: none;
}

.site_footer_link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 40px;
    padding: 0 18px;
    border: 1px solid var(--theme-border-strong);
    border-radius: 12px;
    background: transparent;
    box-shadow: none;
    color: var(--theme-accent);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: 15px;
    letter-spacing: 0.02em;
    transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.site_footer_link::after {
    content: "_";
    margin-left: 6px;
    opacity: 0.9;
    animation: siteFooterCursor 1.1s steps(1, end) infinite;
}

.site_footer_link:hover {
    color: var(--theme-accent-hover);
    border-color: var(--theme-accent);
    background: var(--theme-accent-soft);
}

@keyframes siteFooterCursor {
    0%, 49% {
        opacity: 0.92;
    }
    50%, 100% {
        opacity: 0;
    }
}

.home_section {
    margin-bottom: 28px;
    margin-top: 24px;
}

.home_section_head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.home_section_head_catalog {
    margin-top: 28px;
}

.home_section_title {
    margin: 0;
    color: #121212;
    font-size: 2em;
    font-weight: 500;
    line-height: 1.1;
}

.home_popular_strip {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
}

.home_popular_strip::-webkit-scrollbar {
    display: none;
}

.home_popular_card {
    position: relative;
    display: flex;
    flex: 0 0 156px;
    min-height: 164px;
    border-radius: 12px;
    overflow: hidden;
    isolation: isolate;
    background: linear-gradient(180deg, #d9dde8 0%, #bcc5df 100%);
    color: #ffffff;
    scroll-snap-align: start;
    box-shadow: 0 18px 36px rgba(18, 18, 18, 0.12);
}

.home_popular_image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    clip-path: inset(0 round inherit);
    transform: translateZ(0);
    object-fit: cover;
}

.home_popular_overlay {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    clip-path: inset(0 round inherit);
    background: linear-gradient(180deg, rgba(18, 18, 18, 0.04) 0%, rgba(18, 18, 18, 0.82) 100%);
}

.home_popular_copy {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 8px;
    width: 100%;
    padding: 14px 12px;
    box-sizing: border-box;
}

.home_popular_name {
    display: -webkit-box;
    overflow: hidden;
    color: #ffffff;
    font-size: 15px;
    line-height: 1.15;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.home_popular_meta {
    width: fit-content;
    max-width: 100%;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
    color: #ffffff;
    font-size: 12px;
    line-height: 1;
}

.home_hero {
    margin-bottom: 24px;
}

.home_hero .swiper {
    width: 100%;
    height: clamp(300px, 68vw, 420px);
    margin-top: 0;
    border-radius: 12px;
    overflow: hidden;
    background: transparent;
    position: relative;
}

.home_hero .swiper-wrapper,
.home_hero .swiper-slide {
    height: 100%;
}

.home_hero_slide {
    position: relative;
    height: 100%;
    min-height: 0;
    padding: 12px;
    box-sizing: border-box;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, #bbc5f4 0%, #8797df 55%, #7485d0 100%);
    justify-content: flex-start;
    align-items: flex-end;
    text-align: left;
}

.home_hero_image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home_hero_backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.42), transparent 36%),
        linear-gradient(135deg, rgba(20, 24, 38, 0.08), rgba(20, 24, 38, 0.42));
}

.home_hero_content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    height: 100%;
    box-sizing: border-box;
    padding-bottom: 28px;
    max-width: 440px;
    color: #ffffff;
}

.home_hero_eyebrow {
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(12px);
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.home_hero_title {
    margin: 0;
    color: #ffffff;
    font-size: clamp(40px, 12vw, 58px);
    line-height: 0.95;
    font-family: 'Gilroy-Bold', sans-serif;
}

.home_hero_description {
    margin: 0;
    max-width: 320px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    line-height: 1.35;
}

.home_hero_actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: auto;
}

.home_hero_badge,
.home_hero_link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 16px;
    box-sizing: border-box;
}

.home_hero_badge {
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
    color: #ffffff;
    font-size: 16px;
}

.home_hero_link {
    background: #ffffff;
    color: #6e7fd1;
    font-size: 15px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 12px 24px rgba(18, 18, 18, 0.16);
}

.home_hero_link:hover {
    transform: translateY(-1px);
}

.home_hero_pagination.swiper-pagination {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 16px;
    top: auto;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 0 24px;
    box-sizing: border-box;
    margin: 0;
    margin-left: 0;
    text-align: center !important;
    z-index: 2;
}

.home_hero_pagination .swiper-pagination-bullet {
    width: 18px;
    height: 4px;
    border-radius: 999px;
    opacity: 0.5;
    background: rgba(255, 255, 255, 0.5);
}

.home_hero_pagination .swiper-pagination-bullet-active {
    width: 34px;
    opacity: 1;
    background: #ffffff;
}

.home_search_form {
    margin-top: 0;
    margin-bottom: 12px;
}

.basket_empty {
    padding: 14px 0 4px;
    color: #7d8398;
    font-size: 15px;
}

.basket_about_pending {
    opacity: 0.55;
    pointer-events: none;
}

.review_thumb_button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
}

.review_modal {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.review_modal_backdrop {
    position: absolute;
    inset: 0;
    border: none;
    background: rgba(8, 10, 18, 0.72);
    cursor: pointer;
}

.review_modal_dialog {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(92vw, 820px);
    max-height: min(88vh, 820px);
    padding: 18px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    box-sizing: border-box;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.review_modal_image {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: calc(88vh - 36px);
    border-radius: 18px;
    object-fit: contain;
}

.review_modal_close {
    position: absolute;
    top: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: rgba(18, 18, 18, 0.42);
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
}

.modal_open {
    overflow: hidden;
}

.activity {
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
}

.number_priority {
    color: #121212;
}

.activity_in_category {
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
}

.card_text {
    z-index: 1;
    font-family: 'Gilroy-Medium', sans-serif;
    font-size: 10px;
    color: white;
    margin: 4px 20px 4px 4px;
}

.svg-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.bag-logo {
    display: flex;
    align-content: center;
    justify-content: space-between;
    position: fixed;
    right: 16px;
    bottom: 16px;
    width: 50px;
    height: 50px;
    margin-right: 0;
    border: 1px solid var(--theme-border-strong);
    border-radius: 50%;
    background: var(--theme-surface);
    box-shadow: var(--theme-shadow-medium);
    z-index: 120;
}

.bag-flex {
    display: flex;
    position: relative;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.bag-logo a {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.bag-logo svg {
    width: 22px;
    height: 22px;
}
.top_logo{
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;

}

.circle {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #FFFFFF;
    font-size: 10px;
    font-weight: 600;
    position: absolute;
    background-color: #ff5826;
    top: 2px;
    right: 2px;
    height: 18px;
    width: 18px;
    border-radius: 50%;
}
.logo_header{
    max-height: 50px;
    height: 50px;
    transition: filter 0.2s ease;
}

.logo_header_dark {
    display: none;
}

.header {
    align-items: center;
    display: flex;
    width: 100%;
    height: 56px;
    background-color: #f8f8f8;
    position: fixed;
    justify-content: space-between;
    left: 0;
    top: 0;
    z-index: 100;
}

.header_inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
}

.hamburger-menu {
    display: flex;
    align-items: center;
    z-index: 20;
}

.desktop_nav {
    display: none;
}

.desktop_nav_link {
    color: #121212;
    font-family: 'Gilroy-Medium', sans-serif;
    font-size: 15px;
    transition: color 0.2s ease;
}

.desktop_nav_link:hover {
    color: #8797DF;
}

.scrolling {
    display: flex;
    flex-direction: column;
    margin-top: 56px;
    width: 90%;
    height: 100%;
}
.hidden_s{
    display: none !important;
}
.autocomplete-items{
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    top: calc(100% + 8px);
    left: 0;
    z-index: 40;
    width: 100%;
    box-sizing: border-box;
    background-color: #ffffff;
    border: 1px solid rgba(135, 151, 223, 0.22);
    border-radius: 12px;
    box-shadow: 0 18px 48px rgba(18, 18, 18, 0.12);
    padding: 10px;
    gap: 6px;
    font-size: 0.9em;
    max-height: min(50vh, 360px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(135, 151, 223, 0.55) transparent;
}
.autocomplete-items::-webkit-scrollbar{
    width: 8px;
}
.autocomplete-items::-webkit-scrollbar-track{
    background: transparent;
    border-radius: 12px;
}
.autocomplete-items::-webkit-scrollbar-thumb{
    background: rgba(135, 151, 223, 0.55);
    border-radius: 12px;
    border: 2px solid #ffffff;
}
.autocomplete-items::-webkit-scrollbar-thumb:hover{
    background: rgba(135, 151, 223, 0.85);
}
.autocomplete-link{
    display:flex;
    align-items:center;
    gap:12px;
    width:100%;
    min-width:0;
    padding:10px 12px;
    border-radius:12px;
    box-sizing:border-box;
    color:#121212;
    background-color:transparent;
    transition: background-color 0.2s ease, transform 0.2s ease;
}
.autocomplete-link:hover,
.autocomplete-link_active{
    background-color:#f3f5ff;
}
.autocomplete-link_query{
    border:1px dashed rgba(135, 151, 223, 0.35);
    background-color:#f8f9ff;
}
.autocomplete-thumb{
    display:flex;
    align-items:center;
    justify-content:center;
    flex:0 0 52px;
    width:52px;
    height:52px;
    overflow:hidden;
    border-radius:12px;
    background-color:#eef1f6;
}
.autocomplete-thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
}
.autocomplete-copy{
    display:flex;
    flex-direction:column;
    min-width:0;
    gap:4px;
}
.autocomplete-title{
    color:#121212;
    font-size:14px;
    line-height:1.3;
    word-break:break-word;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
}
.autocomplete-meta{
    color:#7d8398;
    font-size:12px;
    line-height:1.35;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
.autocomplete-empty{
    padding:14px 16px;
    border-radius:12px;
    color:#7d8398;
    background-color:#f6f7fb;
    font-size:13px;
}
.scrolling_in_category {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-top: 56px;
    width: 90%;
    height: 100%;
}
.page-item_next {
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    flex-wrap: nowrap;
    margin:0 2px;
    padding:0;
    min-width: 44px;
    min-height: 44px;
    border:solid 1px #d6d8e4;
    border-radius:10px;
    background-color: var(--theme-surface);
    list-style: none;
    overflow: hidden;
}
.page-item{
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    flex-wrap: nowrap;
	padding:0;
	border:solid 1px #8797df;
    border-radius:10px;
    margin:0 2px;
    min-width: 44px;
    min-height: 44px;
    background-color: var(--theme-surface);
    list-style: none;
    overflow: hidden;
}
.active_page{
    background-color: #8797df;
}
.active_page a,
.active_page .page-link{
    color: white;
}
.disabled .page-link {
    color: #9ea3b6;
}
.page-link{
	color:#3a3a3a;
    display:flex;
    justify-content:center;
    align-items:center;
    width:100%;
    min-width:44px;
    min-height:44px;
    padding:0 14px;
    box-sizing:border-box;
}

.img_absolute {
    position: absolute;
    border-radius: 6px;
}

.logo {
    display: flex;
    width: 100%;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    position: absolute;
}

.scrolling-wrapper {
    height: 110px;
    display: flex;
    flex-wrap: nowrap;
    width: 100vw;
    overflow-y: hidden;
}
.scrolling-wrapper_in_category {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    font-family: 'Gilroy-Medium', sans-serif;
    overflow-x: auto;
    height: 60px;
    width: 100vw;
}

.pagination_list {
    width: auto;
    max-width: 100%;
    gap: 6px;
    padding: 0 16px;
    box-sizing: border-box;
    justify-content: center;
}

.pagination_list::-webkit-scrollbar {
    display: none;
}

.pagination_list .page-item,
.pagination_list .page-item_next {
    flex: 0 0 auto;
    max-width: 50px;
}

.scrolling-wrapper_number {
    margin-right: 10px;
    margin-left: 10px;
}
.main-title{
    display: flex;
    padding: 20px 0 0 0;
    justify-content: center;
    font-size: 20px;
}
.title{
    font-size: 16px;
    font-weight: 600;
    padding: 20px 0 20px 0;
    justify-content: left;
}
.weight_600{
    font-weight: 600;
}
.scrolling_title {
    display: flex;
    font-family: 'Gilroy-Medium', sans-serif;
    font-weight: 600;
    color: #121212;
    font-size: 18px;
    margin-top: 26px;
    margin-bottom: 26px;
}

.menu__item_margin{
    margin-left: 20px;
    margin: 10px 0 0 10px;
    color:#333;
}

.swiper-pagination-bullet-active {
    color: #8797df !important;
    --swiper-theme-color: #8797df !important;
}

.swiper-pagination-bullet {
    color: #8797df !important;
    --swiper-theme-color: #8797df !important;
}
.active{
    display: flex!important;
}
.error{
    display: none;
    color: red;
    font-size: 1em;
    margin-top: 0;
}
.errorlist{
    color: red;
    font-size: 1em;
}
.review_block {
    display: flex;
    flex-direction: column-reverse;
    width: 100%;
    height: var(--block-height);
    margin-bottom: 12px;
}

.review_block_left {
    position: absolute;
    height: calc(var(--block-height));
    width: 80%;
    background-color: #e9e9e9;
}

.review_block_full {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
}

.review_block_full_s {
    display: flex;
    flex-direction: column;
    background-color: #e9e9e9;
    border-radius: 12px;
    border: solid 2px #c0bfbf4f;
    font-size: 1em;
    height: 100%;
    width: 100%;
    max-width: 100%;
    padding: 10px;
    z-index: 1;
    box-sizing: border-box;
    align-content: center;
    align-items: center;
}

.review_begin {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 12px;
}
.review_b{
    display: flex;
    flex-wrap: wrap;
    white-space: pre-line;
    width: 100%;
    word-break: break-all;
}
.review_absolute {
    border-radius: 6px;
    margin-right: 6px;
    height: 48px;
    width: 48px;
}

.review_scrolling {
    height: 56px;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
}
.form_review{
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-content: center;
    align-items: center;
    width: 100%;
}
.form_review input, .form_review textarea{
	background:#dadada;
    color: #1b1b1b;
	padding:5px 10px;
	border-radius:8px;

}
.star_field_box{
    display: flex;
    align-content: center;
    align-items: center;
    gap: 5px;
    flex-direction: row;
    flex-wrap: nowrap;
}

.form_review textarea{
	height:120px;
	border-radius:12px;
}

input {
    padding: 0;
    color: #C1C1C0;
    background-color: #e6e6e6;
    outline: none;
    border: none;
}
.privacy_link{
    color: #0075ff;
}
::placeholder {
    color: #656565;
}

:active, :hover, :focus {
    outline: 0;
    outline-offset: 0;
}
.review_new {
    margin-top: 12px;
    color: #C1C1C0 !important;
}

.review_margin {
    margin-top: 2px !important;
    color: #C1C1C0;
    font-size: 0.9em;
}
.review_escape{
    border: solid 2px #8797df;
    border-radius: 12px;
}
.detail_review{
    position: relative;
    display: inline-block;
    outline: none;
    /* padding: 10px 20px 10px 20px; */
    padding: 0;
    box-sizing: border-box;
    /* background-color: #d2d2d2; */
    width: 40%;
    /* border-radius: 4px; */
    /* color: #121212; */
    color: #C1C1C0;
    background-color: #e9e9e9;
    /* margin: 10px 0; */
    border-style: none;
    margin-top: 2px;
    font-size: 10px;
    /* font-family: 'gilroy-medium'; */
    resize: none;
}
.detail_review::-webkit-scrollbar{
    width: 0;
}
.input-file {
	position: relative;
	display: inline-block;
}
.input_review{
    width: 100%;
    height: 50px;
}
.input-file span {
	position: relative;
	display: inline-block;
	cursor: pointer;
	outline: none;
	text-decoration: none;
	font-size: 14px;
	vertical-align: middle;
	color: rgb(255 255 255);
	text-align: center;
	border-radius: 4px;
	background-color: #419152;
	line-height: 22px;
	height: 40px;
	padding: 10px 20px;
	box-sizing: border-box;
	border: none;
	margin: 0;
	transition: background-color 0.2s;
}
.input-file input[type=file] {
	position: absolute;
	z-index: -1;
	opacity: 0;
	display: block;
	width: 0;
	height: 0;
}
/* Focus */
.input-file input[type=file]:focus + span {
	box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

/* Hover/active */
.input-file:hover span {
	background-color: #59be6e;
}
.input-file:active span {
	background-color: #2E703A;
}

/* Disabled */
.input-file input[type=file]:disabled + span {
	background-color: #eee;
}
.card_h_w {
    height: 188px !important;
    width: 140px !important;
    min-width: 140px;
    min-height: 188px;
    margin-right: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: none;
    box-sizing: border-box;
    justify-content: flex-start;
}

.review_block_full_s select{
    margin-left: -3px;
}

.card_different_products_sale {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    line-height: 1.35;
    min-height: 1.35em;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.basket_product_sale {
    margin-top: 12px;
}

.card_different_products_sale_sos {
    margin-top: 4px;
    padding-top: 0;
    font-size: 12px;
}

.card {
    display: flex;
    flex-direction: column;
    justify-content: end;
    position: relative;
    flex: 0 0 auto;
    width: 80px;
    height: 110px;
    margin-right: 12px;
}

.card_scrolling-wrapper {
    width: 100%;
    max-width: 100%;
    height: auto !important;
    display: flex;
    align-items: stretch;
    gap: 8px;
    padding-bottom: 2px;
    overflow-x: auto;
    overflow-y: hidden;
    -ms-overflow-style: none;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    touch-action: pan-x;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
}

.card_scrolling-wrapper::-webkit-scrollbar {
    display: none;
}

.card_scrolling-wrapper .card {
    scroll-snap-align: start;
}

.card_scrolling-wrapper .card:last-child {
    margin-right: 0;
}

.card_block {
    display: flex;
    justify-content: center;
    overflow-x: hidden;
    background-color: var(--theme-surface);
    border-radius: 24px;
    margin-bottom: 18px;
    z-index: 12;
    width: 100%;
}

.product_page {
    width: 100%;
    padding-bottom: 8px;
}

.product_gallery {
    width: 100%;
}

.product_detail_content {
    gap: 18px;
}

.product_related {
    padding-bottom: 12px;
}

.scrolling_margin_top {
    margin-top: 20px;
}

.card_sale_act {
    color: #C1C1C0;
    text-decoration: line-through;
}

.card_sale_money {
    display: flex;
    align-items: end;
    color: #8797DF;
    margin-left: 12px;
    font-size: 0.95em;
}

.card_products_title {
    font-size: 1.25em !important;
}

.card_size_top {
    text-decoration: none !important;
    margin-top: 3px !important;
}

.card_products_title_cnt {
    margin-top: 6px;
    font-size: 0.8em !important;
    font-family: 'Gilroy-Regular', sans-serif;
}

.card_sale {
    display: flex;
    margin-top: 6px;
}

.card_block_about {
    display: flex;
    flex-direction: column;
    min-height: 60px;
    width: 100%;
}

.card_size {
    display: flex;
    flex-direction: column;
    margin-top: 20px;
}

.card_size_title {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
}
.card_size_title {
    display: flex;
    font-size: 20px;
}
.card_size_s {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.card_size_s_color {
    display: flex;
    flex-wrap: wrap;
}

.card_size_s_color_active {
    Box-shadow: 0px 1px 0px #000000, 0px -1px 0px #000000, 1px 0px 0px #000000, -1px 0px 0px #000000;
}

.card_size_s_block {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #CFD5F2;
    color: white;
    font-size: 0.7em;
    margin-right: 6px;
    margin-top: 6px;
    border-radius: 2px;
    width: 48px;
    height: 24px;
}

.card_size_s_block_active {
    background-color: #8797DF !important;
}

.card_size_title_table {
    display: flex;
    align-items: end;
    color: #C1C1C0;
    text-decoration: underline;
    font-size: 0.7em;
}

.card_block_color {
    display: flex;
    flex-direction: column;
    margin-top: 20px;
}

.activity_card {
    display: flex;
    position: relative;
}

.card_add {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--theme-accent);
    font-family: 'Gilroy-Regular', sans-serif;
    color: white;
    font-size: 0.9em;
    margin-right: 0;
    margin-bottom: 20px;
    margin-top: 12px;
    border-radius: 12px;
    width: 100%;
    height: 36px;
    border: none;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: var(--theme-shadow-soft);
    cursor: pointer;
}

.card_add:hover {
    background-color: var(--theme-accent-hover);
}

.product_add_button {
    min-height: 44px;
}

.product_system_message {
    margin: 0;
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--theme-surface-subtle);
    color: var(--theme-text);
    font-size: 14px;
    line-height: 1.45;
}

.product_related {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.product_related_title {
    color: var(--theme-text);
    font-size: 16px;
    line-height: 1.2;
    font-family: 'Gilroy-Bold', sans-serif;
}

.product_gallery .swiper {
    background-color: var(--theme-surface);
    box-shadow: var(--theme-shadow-soft);
}

.product_gallery .swiper-slide video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.sub_terms a{
    color:#8797df
}
.main_item_menu{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: flex-start;
    align-content: flex-start;
}

.review_button {
    background-color: #a3d8fc;
    border-style: none;
    margin-right: 0;
    color: white !important;
    margin-top: 2px;
    font-weight: 600;
    font-size: 0.8em;
    resize: none;
}
.basket_color {
    background-color: #8797DF !important;
}
.card_black {
    background-color: #000000 !important;
}

.card_gray {
    background-color: #C1C1C0 !important;
}

.card_white {
    background-color: #FFFFFF !important;
    Box-shadow: 0px 1px 0px #C1C1C0, 0px -1px 0px #C1C1C0, 1px 0px 0px #C1C1C0, -1px 0px 0px #C1C1C0;
    border: 1px;
    border-color: #C1C1C0 !important;
}

.card_yellow {
    background-color: #DFDB87 !important;
}

.card_green {
    background-color: #89DF87 !important;
}

.card_red {
    background-color: #DF8787 !important;
}

.contacts_block {
    display: flex;
    flex-direction: column;
    width: 100%;
    border-bottom: 1px solid #C1C1C0;
}

.contacts_block_title {
    font-size: 1.2em;
}

.contacts_block_a {
    display: flex;
    align-items: center;
    margin-top: 12px;
}

.contacts_map_icon {
    flex: 0 0 24px;
    display: block;
}

.contacts_block_a_phone {
    color: #121212;
    margin-left: 8px;
}

.color_contact_title {
    color: #121212;
}

.basket_title_summ {
    font-size: 1.1em;
    margin-bottom: 10px;
    margin-top: 10px;
}

.basket_about_summ_block {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.basket_title_summ_t {
    font-size: 0.9em;
}

.contacts_site {
    display: flex;
    align-items: center;
    margin-top: 12px;
}
.contacts_site img{
    width: 24px;
}


.contacts_site_set {
    display: flex;
    margin-right: 12px;
}
.detail {
  position: relative;
  display: inline-block;
  outline: none;
  padding: 10px 20px 10px 20px;
  box-sizing: border-box;
  background-color: #e6e6e6;
  width: 100%;
  border-radius: 4px;
  color: #121212;
  margin: 10px 0;
  border-style: none;
  font-family: 'gilroy-medium';
  resize: none;
}
.review_beg{
    margin: 0!important;
}
.detail_icon{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 0px 4px 4px 0px!important;
    width: 20%;
    margin: 0;
}
.detail_search{
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    border-radius: 0 !important;
    width: 100%;
    margin: 0 !important;
    padding-right: 16px;
    background-color: transparent;
}
.search_form{
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 12px;
    z-index: 12;
}
.search_form_open .search_field{
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(18, 18, 18, 0.08);
}
.search_form_open .detail_search{
    border-bottom-left-radius: 12px !important;
}
.search_form_open .search_icon{
    border-bottom-right-radius: 12px;
}
.search_form_loading .search_icon{
    opacity: 0.78;
}
.search_field{
    display: flex;
    align-content: center;
    align-items: center;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    background-color: #e6e6e6;
    box-shadow: 0 8px 24px rgba(18, 18, 18, 0.06);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.select:after {
  content: "Ã¢â€“Â¼";
  padding: 0 8px;
  font-size: 12px;
  position: absolute;
  right: 8px;
  top: 4px;
  z-index: 1;
  text-align: center;
  width: 10%;
  height: 100%;
  pointer-events: none;
  box-sizing: border-box;
}
.detail_delivery {
  position: relative;
  display: inline-block;
  color:#a2a2a2;
  width: 100%;
}
.detail_delivery:after {
  display:flex;
  align-items:center;
  color:#a2a2a2;
  top:0;
  content: "Ã¢â€“Â¼";
  padding: 0 8px;
  font-size: 12px;
  position: absolute;
  right: 8px;
  z-index: 1;
  text-align: center;
  width: 10%;
  height: 100%;
  pointer-events: none;
  box-sizing: border-box;
}

.basket_about_summ select {
  padding-right: 25px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.basket_about_info_cup {
    display: flex;
    justify-content: space-between;
}

.basket_about_info_size {
    color: #C1C1C0;
    margin-top: 2px;
    font-size: 0.9em;
}

.contacts_site_vk {
    display: flex;
}

.color_contact_title_s {
    color: #121212;
    margin-left: 6px;
}

.contacts_gilroy_regular {
    font-family: 'Gilroy-Regular', sans-serif !important;
}

.info_minus {
    margin-left: 0;
}

.info_plus {
    margin-right: 0;
}

.basket_about_info_block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9em;
    width: 87px;
    height: 22px;
    margin-top: 6px;
    border: 1px solid #C1C1C0;
    border-radius: 2px;
}

.basket_info_08em {
    font-size: 0.8em !important;
}

.basket_title {
    font-size: 1.2em;
    margin-bottom: 20px;
    margin-top: 20px;
}

.basket_about_img {
    width: 100%;
    height: 100%;
    border-radius: 0;
    object-fit: cover;
    display: block;
}
.product_image_basket{
    width: 96px!important;
    height: 96px!important;
    border-radius: 12px;
    overflow: hidden;
    background: #eef1f6;
}
.basket_about_info {
    margin-left: 0;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
}

.basket_about {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 12px;
    align-items: stretch;
    margin-bottom: 12px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(18, 18, 18, 0.08);
}

.basket_about_info_cup {
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.basket_item_title {
    display: block;
    min-width: 0;
    font-size: 15px;
    line-height: 1.35;
}

.basket_about_info_block {
    width: max-content;
    min-width: 94px;
    height: 34px;
    margin-top: 0;
    padding: 0 2px;
    gap: 2px;
    border: none;
    border-radius: 999px;
    background: var(--theme-surface-subtle);
    box-shadow: inset 0 0 0 1px var(--theme-border);
}

.basket_quantity_button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    flex: 0 0 auto;
    border: none;
    border-radius: 999px;
    background: transparent;
    appearance: none;
    color: #121212;
    font-size: 16px;
    line-height: 1;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.basket_quantity_button:hover {
    background: #8797DF;
    color: #ffffff;
}

.basket_quantity_icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    line-height: 1;
    transform: translateY(-0.5px);
}

.basket_quantity_value {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    text-align: center;
    font-size: 13px;
    line-height: 1;
}

.basket_remove_button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    padding: 0;
    border-radius: 12px;
    border: none;
    background: transparent;
    appearance: none;
    line-height: 0;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.basket_remove_button:hover {
    background: #fff1f1;
    border-color: rgba(192, 82, 82, 0.24);
}

.basket_remove_button img {
    display: block;
    width: 14px;
    height: 14px;
    margin: auto;
}

.basket_item_price {
    margin-top: auto !important;
    padding-top: 8px;
    align-items: flex-end;
}

.basket_item_price .card_sale_act {
    font-size: 13px;
}

.basket_item_price .card_sale_money {
    margin-left: 8px;
    font-size: 18px;
}

.basket_about_summ {
    display: flex;
    flex-direction: column;
}

.scrolling_review_90 {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    height: 100%;
    box-sizing: border-box;
}

.scrolling_review {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 56px;
    width: 90%;
    max-width: 100%;
    height: 100%;
    box-sizing: border-box;
}

.contacts_block_s {
    height: 60px;
    margin-top: 25px;
    border-bottom: 1px !important;
}

/* ÃÅ“ÃÂµÃÂ½Ã‘Å½ ÃÂ±ÃÂ¾ÃÂºÃÂ¾ÃÂ²ÃÂ¾ÃÂ¹ ÃÂ¿ÃÂ°ÃÂ½ÃÂµÃÂ»ÃÂ¸ */
.sidepanel {
    height: 100%; /* ÃÂ£ÃÂºÃÂ°ÃÂ¶ÃÂ¸Ã‘â€šÃÂµ ÃÂ²Ã‘â€¹Ã‘ÂÃÂ¾Ã‘â€šÃ‘Æ’ */
    width: 0; /* 0 Ã‘Ë†ÃÂ¸Ã‘â‚¬ÃÂ¸ÃÂ½ÃÂ°-ÃÂ¸ÃÂ·ÃÂ¼ÃÂµÃÂ½ÃÂ¸Ã‘â€šÃÂµ Ã‘ÂÃ‘â€šÃÂ¾ Ã‘Â ÃÂ¿ÃÂ¾ÃÂ¼ÃÂ¾Ã‘â€°Ã‘Å’Ã‘Å½ JavaScript */
    position: fixed; /* ÃÅ¾Ã‘ÂÃ‘â€šÃÂ°ÃÂ²ÃÂ°Ã‘â€šÃ‘Å’Ã‘ÂÃ‘Â ÃÂ½ÃÂ° ÃÂ¼ÃÂµÃ‘ÂÃ‘â€šÃÂµ */
    z-index: 102; /* ÃÅ¾Ã‘ÂÃ‘â€šÃÂ°ÃÂ²ÃÂ°ÃÂ¹Ã‘â€šÃÂµÃ‘ÂÃ‘Å’ ÃÂ½ÃÂ° ÃÂ²ÃÂµÃ‘â‚¬Ã‘Ë†ÃÂ¸ÃÂ½ÃÂµ */
    box-shadow: 20px 0px 16px rgba(0, 0, 0, 0.123);
    top: 0;
    left: 0;
    background-color: #f8f8f8; /* ÃÂ§ÃÂµÃ‘â‚¬ÃÂ½Ã‘â€¹ÃÂ¹ */
    overflow-x: hidden; /* ÃÅ¾Ã‘â€šÃÂºÃÂ»Ã‘Å½Ã‘â€¡ÃÂ¸Ã‘â€šÃ‘Å’ ÃÂ³ÃÂ¾Ã‘â‚¬ÃÂ¸ÃÂ·ÃÂ¾ÃÂ½Ã‘â€šÃÂ°ÃÂ»Ã‘Å’ÃÂ½Ã‘Æ’Ã‘Å½ ÃÂ¿Ã‘â‚¬ÃÂ¾ÃÂºÃ‘â‚¬Ã‘Æ’Ã‘â€šÃÂºÃ‘Æ’ */
    padding-top: 84px; /* ÃÅ¸ÃÂ¾ÃÂ¼ÃÂµÃ‘ÂÃ‘â€šÃÂ¸Ã‘â€šÃÂµ Ã‘ÂÃÂ¾ÃÂ´ÃÂµÃ‘â‚¬ÃÂ¶ÃÂ¸ÃÂ¼ÃÂ¾ÃÂµ 60px Ã‘ÂÃÂ²ÃÂµÃ‘â‚¬Ã‘â€¦Ã‘Æ’ */
    transition: 0.5s; /* 0.5 Ã‘ÂÃÂµÃÂºÃ‘Æ’ÃÂ½ÃÂ´Ã‘â€¹ Ã‘ÂÃ‘â€žÃ‘â€žÃÂµÃÂºÃ‘â€š ÃÂ¿ÃÂµÃ‘â‚¬ÃÂµÃ‘â€¦ÃÂ¾ÃÂ´ÃÂ° ÃÂ´ÃÂ»Ã‘Â Ã‘ÂÃÂºÃÂ¾ÃÂ»Ã‘Å’ÃÂ¶ÃÂµÃÂ½ÃÂ¸Ã‘Â ÃÂ² ÃÂ±ÃÂ¾ÃÂºÃÂ¾ÃÂ²ÃÂ¾ÃÂ¹ ÃÂ¿ÃÂ°ÃÂ½ÃÂµÃÂ»ÃÂ¸ */
}

.iframe_map {
    margin-top: 25px;
    width: min(1240px, 100%);
    height: 400px;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    border-radius: 18px;
}

.iframe_map iframe {
    display: block;
    width: 100% !important;
    max-width: 100%;
    height: 100%;
    border: 0;
}

.details_href {
    font-size: 0.8em !important;
}

/* Ãâ€˜ÃÂ¾ÃÂºÃÂ¾ÃÂ²ÃÂ°Ã‘Â ÃÂ¿ÃÂ°ÃÂ½ÃÂµÃÂ»Ã‘Å’ Ã‘ÂÃ‘ÂÃ‘â€¹ÃÂ»ÃÂ¾ÃÂº */
.sidepanel a {
    padding: 8px 8px 8px 32px;
    font-family: 'Gilroy-Regular', sans-serif;
    text-decoration: none;
    font-size: 1.2em;
    color: #121212;
    display: block;
    transition: 0.3s;
}

.sidepanel details {
    padding: 8px 8px 8px 32px;
    font-family: 'Gilroy-Regular', sans-serif;
    text-decoration: none;
    font-size: 1.2em;
    color: #121212;
    display: block;
    transition: 0.3s;
}

/* ÃÅ¸Ã‘â‚¬ÃÂ¸ ÃÂ½ÃÂ°ÃÂ²ÃÂµÃÂ´ÃÂµÃÂ½ÃÂ¸ÃÂ¸ ÃÂºÃ‘Æ’Ã‘â‚¬Ã‘ÂÃÂ¾Ã‘â‚¬ÃÂ° ÃÂ¼Ã‘â€¹Ã‘Ë†ÃÂ¸ ÃÂ½ÃÂ° ÃÂ½ÃÂ°ÃÂ²ÃÂ¸ÃÂ³ÃÂ°Ã‘â€ ÃÂ¸ÃÂ¾ÃÂ½ÃÂ½Ã‘â€¹ÃÂµ Ã‘ÂÃ‘ÂÃ‘â€¹ÃÂ»ÃÂºÃÂ¸ ÃÂ¸ÃÂ·ÃÂ¼ÃÂµÃÂ½ÃÂ¸Ã‘â€šÃÂµ ÃÂ¸Ã‘â€¦ Ã‘â€ ÃÂ²ÃÂµÃ‘â€š */
.sidepanel a:hover {
    color: #999999;
}

/* ÃÅ¸ÃÂ¾ÃÂ»ÃÂ¾ÃÂ¶ÃÂµÃÂ½ÃÂ¸ÃÂµ ÃÂ¸ Ã‘ÂÃ‘â€šÃÂ¸ÃÂ»Ã‘Å’ ÃÂºÃÂ½ÃÂ¾ÃÂ¿ÃÂºÃÂ¸ ÃÂ·ÃÂ°ÃÂºÃ‘â‚¬Ã‘â€¹Ã‘â€šÃÂ¸Ã‘Â (ÃÂ²ÃÂµÃ‘â‚¬Ã‘â€¦ÃÂ½ÃÂ¸ÃÂ¹ ÃÂ¿Ã‘â‚¬ÃÂ°ÃÂ²Ã‘â€¹ÃÂ¹ Ã‘Æ’ÃÂ³ÃÂ¾ÃÂ») */
.sidepanel .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}

/* ÃÂ¡Ã‘â€šÃÂ¸ÃÂ»Ã‘Å’ ÃÂºÃÂ½ÃÂ¾ÃÂ¿ÃÂºÃÂ°, ÃÂºÃÂ¾Ã‘â€šÃÂ¾Ã‘â‚¬ÃÂ°Ã‘Â ÃÂ¸Ã‘ÂÃÂ¿ÃÂ¾ÃÂ»Ã‘Å’ÃÂ·Ã‘Æ’ÃÂµÃ‘â€šÃ‘ÂÃ‘Â ÃÂ´ÃÂ»Ã‘Â ÃÂ¾Ã‘â€šÃÂºÃ‘â‚¬Ã‘â€¹Ã‘â€šÃÂ¸Ã‘Â ÃÂ±ÃÂ¾ÃÂºÃÂ¾ÃÂ²ÃÂ¾ÃÂ¹ ÃÂ¿ÃÂ°ÃÂ½ÃÂµÃÂ»ÃÂ¸ */
.openbtn {
    font-size: 22px;
    z-index: 101;
    background-color: #f8f8f8;
    cursor: pointer;
    padding: 10px 15px;
    border: none;
}

details > summary {
    list-style: none;
}

.openbtn:hover {
    background-color: #444;
}

#menu__toggle {
    opacity: 0;
    display: none;
}

#menu__toggle:checked ~ .menu__btn > span {
    transform: translate(-50%, -50%) rotate(45deg);
}

#menu__toggle:checked ~ .menu__btn > span::before {
    top: 0;
    transform: rotate(0);
}

#menu__toggle:checked ~ .menu__btn > span::after {
    top: 0;
    transform: rotate(90deg);
}

#menu__toggle:checked ~ .menu__box {
    visibility: visible;
    left: 0;
}

.menu__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    top: auto;
    left: auto;
    width: 38px;
    height: 38px;
    margin-left: 13px;
    border: 1px solid var(--theme-border-strong);
    border-radius: 12px;
    background: var(--theme-surface);
    box-sizing: border-box;
    cursor: pointer;
    z-index: 10;
    transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.menu__btn:hover {
    border-color: var(--theme-accent);
    transform: translateY(-1px);
}

.menu__btn > span,
.menu__btn > span::before,
.menu__btn > span::after {
    display: block;
    position: absolute;
    width: 16px;
    height: 2px;
    background-color: #616161;
    transition-duration: .25s;
}

.menu__btn > span {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.menu__btn > span::before {
    content: '';
    left: 0;
    top: -6px;
}

.menu__btn > span::after {
    content: '';
    left: 0;
    top: 6px;
}

li {
    display: flex;
    align-items: center;
    width: 100%;
}

.menu__item_img {
    height: 16px;
    width: 16px;
    position: absolute;
    left: 5px;
    margin-top: 12px;
}

.menu__box {
    display: block;
    position: fixed;
    visibility: hidden;
    top: 0;
    left: -100%;
    z-index: 9;
    width: 300px;
    height: 100%;
    margin: 0;
    padding: 60px 12px;
    list-style: none;
    background-color: #ECEFF1;
    box-shadow: 1px 0px 6px rgba(0, 0, 0, .2);
    transition-duration: .25s;
}
.menu__box li {
    list-style-type: none;
}

.menu__item_category {
    display: flex;
    flex-direction: column;
}

.menu__item_category span{
    margin-top: 12px;
}

.menu__item {
    display: flex;
    flex-direction: column;
    padding: 12px 0px;
    color: #333;
    font-family: 'Gilroy-Medium', sans-serif;
    font-weight: 400;
    font-size: 1em;
    text-decoration: none;
    transition-duration: .25s;
    justify-content: flex-start;
    width: 100%;
    flex-wrap: nowrap;
    align-items: flex-start;
}

.action {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    height: 144px;
    margin-top: 26px;
    background-color: #8797DF;
    border-radius: 6px;
}
.menu__item summary {
    cursor:pointer;
}
.menu__box a{
    color:#333;
    word-break: break-all;
}
.action_title {
    display: flex;
    align-items: center;
    width: 100%;
    height: 44px;
    font-family: 'Gilroy-Medium', sans-serif;
    font-size: 2em;
    color: white;
    justify-content: center;
}

.action_button {
    display: flex;
    align-items: center;
    width: 100%;
    height: 44px;
    font-family: 'Gilroy-Medium', sans-serif;
    font-size: 1em;
    color: white;
    justify-content: center;
}

.action_button_block {
    font-family: 'Gilroy-Medium', sans-serif;
    font-size: 1em;
    background-color: #A8B5EF;
    padding: 8px;
    border-radius: 4px;
}

.action_img {
    display: flex;
    align-items: center;
    height: 26px;
    width: 29px;
    margin-left: 12px;
}

.products {
    display: flex;
    justify-content: space-between;
    width: 100%;
    flex-wrap: wrap;
}

.products_description{
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 6px;
    line-height: 1.7;
}

.products_description p,
.products_description ul,
.products_description ol,
.products_description blockquote,
.products_description h2,
.products_description h3,
.products_description h4 {
    margin: 0 0 12px;
}

.products_description ul,
.products_description ol {
    padding-left: 22px;
}

.products_description a {
    color: var(--theme-accent);
    text-decoration: underline;
}

.products_description blockquote {
    padding-left: 14px;
    border-left: 2px solid var(--theme-border);
    color: var(--theme-text-soft);
}

.products_block {
    display: flex;
    flex-direction: column;
    font-family: 'Gilroy-Medium', sans-serif;
    color: #121212;
    font-size: 14px;
    margin-bottom: 20px;
    max-width: 300px;
}
.products_block img {
    border-radius: 12px;
}

.product_image {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 12px;
    height: 42vw;
    max-height: 300px;
}
.product_image img {
    flex-shrink: 0;
    width: 42vw;
    max-width: 300px;
    object-fit: cover;
}
.card_img_absolute {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 12px;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    background: var(--theme-surface-subtle);
}

.card_img_absolute img,
img.card_img_absolute {
    display: block;
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    object-fit: cover;
}


.products_title {
    display: flex;
    margin-top: 6px;
}

.products_title_cnt {
    display: flex;
    color: #C1C1C0;
    font-size: 12px;
}
.search_icon{
    display: flex;
    align-items:center;
    justify-content:center;
    height: 46px;
    width: 52px;
    min-width: 52px;
    border-radius: 0px 12px 12px 0px;
    padding: 0;
    background-color: #8797DF;
    border: none;
    cursor: pointer;
    color: white;
    transition: background-color 0.2s ease, opacity 0.2s ease;
}
.search_icon:hover{
    background-color: #7487dc;
}
.search_icon svg{
    width: 18px;
    height: 18px;
    fill: currentColor;
}
@media (max-width: 900px) {
    .products_block {
        width: 47%;
    }
}

@media (max-width: 380px) {
    .products_block {
        width: 154px;
    }
}

@media (max-width: 640px) {
    .pagination_footer {
        height: auto;
        margin-top: 18px;
        margin-bottom: 4px;
        overflow: visible;
    }

    .scrolling-wrapper_in_category {
        width: 100%;
        height: auto;
        overflow: visible;
    }

    .pagination_list {
        width: calc(100% - 24px);
        min-width: 0;
        max-width: 100%;
        padding: 0;
        gap: 4px;
        justify-content: center;
        flex-wrap: wrap;
        overflow: visible;
        margin: 0 auto;
    }

    .pagination_list .page-item,
    .pagination_list .page-item_next {
        min-width: 32px;
        min-height: 32px;
        margin: 0;
    }

    .pagination_list .page-link {
        min-width: 32px;
        min-height: 32px;
        padding: 0 8px;
        font-size: 12px;
    }
}

@media (min-width: 1024px) {
    body {
        background: linear-gradient(180deg, #f5f5f5 0%, #ebedf2 100%);
    }

    .header {
        height: 80px;
        justify-content: center;
        padding: 0;
        box-sizing: border-box;
        border-bottom: 1px solid rgba(18, 18, 18, 0.06);
    }

    .header_inner {
        width: min(1240px, calc(100% - 64px));
        margin: 0 auto;
        justify-content: flex-start;
    }

    .hamburger-menu {
        display: none;
    }

    .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        width: auto;
        justify-content: center;
        flex-shrink: 0;
        z-index: 1;
    }

    .top_logo {
        height: auto;
    }

    .logo_header {
        max-height: 56px;
        height: auto;
    }

    .desktop_nav {
        display: flex;
        align-items: center;
        gap: 24px;
        margin-left: 0;
        margin-right: auto;
        padding-right: 0;
    }

    .bag-logo {
        position: static;
        right: auto;
        bottom: auto;
        width: auto;
        height: auto;
        margin-left: auto;
        margin-right: 0;
        flex-shrink: 0;
        border: none;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .bag-flex {
        position: relative;
        align-items: center;
    }

    .circle {
        position: absolute;
        top: -4px;
        right: -6px;
    }

    .swiper {
        margin-top: 0;
        height: 640px;
        border-radius: 28px;
        overflow: hidden;
        box-shadow: 0 18px 48px rgba(18, 18, 18, 0.08);
        background-color: #ffffff;
    }

    .activity,
    .activity_in_category {
        padding: 0 32px 48px;
        box-sizing: border-box;
    }

    .site_footer {
        margin-top: 8px;
        padding: 0 32px 28px;
    }

    .site_footer_inner {
        justify-content: center;
        font-size: 15px;
    }

    .scrolling,
    .scrolling_in_category {
        width: min(1240px, 100%);
        margin-top: 104px;
    }

    .scrolling_review {
        width: min(1240px, 100%);
        margin-top: 104px;
    }

    .scrolling_review_90 {
        width: 100%;
        margin-top: 0;
    }

    .scrolling_in_category {
        min-height: calc(100vh - 152px);
    }

    .scrolling_title {
        margin-top: 12px;
        margin-bottom: 32px;
        font-size: 32px;
        line-height: 1.15;
    }

    .search_form {
        width: 100%;
        max-width: none;
        margin: 0 0 20px;
    }

    .home_section {
        margin-bottom: 36px;
    }

    .home_section_head {
        margin-bottom: 22px;
    }

    .home_section_head_catalog {
        margin-top: 36px;
    }

    .home_section_title {
        font-size: 42px;
    }

    .home_popular_strip {
        gap: 18px;
        padding-bottom: 8px;
    }

    .home_popular_strip_draggable {
        cursor: grab;
        user-select: none;
    }

    .home_popular_strip_dragging {
        cursor: grabbing;
    }

    .home_popular_strip_dragging .home_popular_card {
        pointer-events: none;
    }

    .home_popular_card {
        flex-basis: 236px;
        min-height: 270px;
        border-radius: 12px;
    }

    .home_popular_copy {
        padding: 18px 16px;
    }

    .home_popular_name {
        font-size: 22px;
    }

    .home_popular_meta {
        font-size: 13px;
    }

    .home_hero {
        margin-bottom: 30px;
    }

    .home_hero_slide {
        min-height: 0;
        padding: 34px;
        border-radius: 12px;
    }

    .home_hero .swiper {
        height: clamp(360px, 38vw, 520px);
        border-radius: 12px;
        background-color: transparent;
    }

    .home_hero_content {
        max-width: 560px;
        gap: 16px;
        padding-bottom: 38px;
    }

    .home_hero_eyebrow {
        font-size: 13px;
    }

    .home_hero_title {
        font-size: clamp(58px, 5vw, 76px);
    }

    .home_hero_description {
        max-width: 420px;
        font-size: 18px;
    }

    .home_hero_actions {
        gap: 14px;
    }

    .home_hero_badge,
    .home_hero_link {
        min-height: 58px;
        padding: 0 24px;
        border-radius: 18px;
        font-size: 18px;
    }

    .home_hero_pagination.swiper-pagination {
        left: 0;
        right: 0;
        bottom: 22px;
    }

    .home_search_form {
        width: 100%;
        margin-bottom: 24px;
    }

    .search_field {
        min-height: 60px;
        border: 1px solid rgba(135, 151, 223, 0.14);
        background: rgba(255, 255, 255, 0.92);
        box-shadow: 0 16px 36px rgba(18, 18, 18, 0.08);
    }

    .search_field:focus-within,
    .search_form_open .search_field {
        border-color: rgba(135, 151, 223, 0.28);
        box-shadow: 0 20px 48px rgba(18, 18, 18, 0.12);
    }

    .detail {
        font-size: 16px;
        padding: 14px 18px;
    }

    .detail_search {
        min-height: 60px;
        padding-left: 22px;
        padding-right: 20px;
        font-size: 17px;
    }

    .search_icon {
        width: 66px;
        min-width: 66px;
        height: 60px;
    }

    .autocomplete-items {
        border-radius: 12px;
        padding: 12px;
        top: calc(100% + 10px);
        max-height: min(55vh, 420px);
        box-shadow: 0 20px 54px rgba(18, 18, 18, 0.12);
    }

    .autocomplete-link {
        padding: 12px 14px;
        gap: 14px;
    }

    .autocomplete-thumb {
        flex-basis: 58px;
        width: 58px;
        height: 58px;
    }

    .autocomplete-title {
        font-size: 15px;
    }

    .autocomplete-meta {
        font-size: 13px;
    }

    .products {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 28px 24px;
        align-items: stretch;
    }

    .products_block {
        width: auto;
        max-width: none;
        min-width: 0;
        margin-bottom: 0;
        padding: 18px;
        border-radius: 12px;
        box-shadow: 0 16px 40px rgba(18, 18, 18, 0.06);
    }

    .product_image {
        height: auto;
        max-height: none;
        width: 100%;
        aspect-ratio: 1 / 1;
        border-radius: 12px;
        overflow: hidden;
    }

    .product_image img {
        display: block;
        width: 100%;
        max-width: none;
        height: 100%;
        object-fit: cover;
    }

    .products_title {
        margin-top: 14px;
        font-size: 17px;
        line-height: 1.35;
    }

    .products_title_cnt {
        margin-top: 8px;
        font-size: 14px;
    }

    .card_sale {
        margin-top: auto;
        padding-top: 12px;
        align-items: center;
        flex-wrap: wrap;
        gap: 8px;
    }

    .card_sale_money {
        margin-left: 0;
        font-size: 1.1em;
    }

    .basket_about {
        grid-template-columns: clamp(132px, 16vw, 180px) minmax(0, 1fr);
        gap: 20px;
        align-items: start;
        margin-bottom: 18px;
        padding: 18px 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .product_image_basket {
        width: 100% !important;
        aspect-ratio: 1 / 1;
        height: auto !important;
        max-height: none;
        align-self: start;
    }

    .basket_about_info {
        justify-content: flex-start;
        min-height: 180px;
    }

    .basket_about_info_cup {
        gap: 16px;
        margin-bottom: 18px;
    }

    .basket_item_title {
        font-size: 18px;
        line-height: 1.35;
    }

    .basket_about_info_block {
        min-width: 108px;
        height: 40px;
        padding: 0 4px;
    }

    .basket_quantity_button {
        width: 28px;
        height: 28px;
        font-size: 18px;
    }

    .basket_quantity_value {
        min-width: 22px;
        font-size: 14px;
    }

    .basket_remove_button {
        width: 36px;
        height: 36px;
    }

    .basket_remove_button img {
        width: 15px;
        height: 15px;
    }

    .basket_item_price {
        padding-top: 18px;
        font-size: 18px;
    }

    .basket_item_price .card_sale_act {
        font-size: 15px;
    }

    .basket_item_price .card_sale_money {
        margin-left: 10px;
        font-size: 22px;
    }

    .pagination_footer {
        height: auto;
        justify-content: center;
        margin-top: 28px;
        margin-bottom: 12px;
    }

    .scrolling-wrapper_in_category {
        width: 100%;
        min-height: 0;
        height: auto;
        flex-wrap: wrap;
        overflow: visible;
    }

    .page-item,
    .page-item_next {
        margin: 0;
    }

    .page-link {
        min-width: 48px;
        min-height: 48px;
        padding: 0 16px;
        font-size: 15px;
    }

    .pagination_list {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        padding: 0;
        justify-content: center;
        flex-wrap: wrap;
        row-gap: 6px;
        overflow: visible;
    }

    .product_page {
        display: grid;
        grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
        gap: 36px;
        width: min(1240px, calc(100% - 64px));
        margin: 112px auto 48px;
        align-items: start;
    }

    .product_gallery {
        position: sticky;
        top: 112px;
    }

    .product_gallery .swiper {
        height: min(78vh, 760px);
        border-radius: 28px;
        overflow: hidden;
        background-color: var(--theme-surface);
        box-shadow: var(--theme-shadow-medium);
    }

    .product_page .card_block {
        border-radius: 28px;
        border: 1px solid var(--theme-border);
        background: var(--theme-surface);
        box-shadow: var(--theme-shadow-soft);
        overflow: hidden;
    }

    .product_page .scrolling {
        width: 100%;
        margin-top: 0;
        padding: 32px;
        box-sizing: border-box;
        gap: 24px;
    }

    .product_page .card_block_about,
    .product_page .card_add,
    .product_page .product_related {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .product_page .card_products_title {
        margin-top: 0;
        font-size: clamp(32px, 2.8vw, 42px) !important;
        line-height: 1.06;
        font-family: 'Gilroy-Bold', sans-serif;
    }

    .product_page .card_products_title_cnt {
        margin-top: 10px;
        font-size: 14px !important;
        color: var(--theme-text-muted);
    }

    .product_page .card_sale {
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid var(--theme-border);
        align-items: flex-end;
        gap: 10px;
    }

    .product_page .card_sale_money,
    .product_page .card_sale > span:last-child {
        font-size: 28px;
        line-height: 1;
        color: var(--theme-accent);
    }

    .product_page .products_description {
        margin-top: 22px;
        padding-top: 22px;
        border-top: 1px solid var(--theme-border);
        font-size: 15px;
        line-height: 1.75;
    }

    .product_page .card_add {
        min-height: 54px;
        height: auto;
        margin-top: 0;
        margin-bottom: 0;
        font-size: 16px;
    }

    .product_page .product_related {
        padding-top: 24px;
        border-top: 1px solid var(--theme-border);
    }

    .product_page .product_related_title {
        font-size: 18px;
    }

    .product_page .card_different_products {
        width: 100%;
    }

    .card_scrolling-wrapper {
        width: 100%;
        height: auto !important;
        gap: 16px;
        padding-bottom: 6px;
        overflow-x: auto;
        overflow-y: hidden;
    }

    .card_scrolling-wrapper_draggable {
        cursor: grab;
        user-select: none;
    }

    .card_scrolling-wrapper_dragging {
        cursor: grabbing;
    }

    .card_scrolling-wrapper_dragging .card {
        pointer-events: none;
    }

    .card_h_w {
        width: 184px !important;
        min-width: 184px;
        height: 236px !important;
        min-height: 236px;
        padding: 0;
        border-radius: 0;
        flex-shrink: 0;
    }

    .product_page .card_img_absolute {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
        border-radius: 14px;
        background: var(--theme-surface-subtle);
    }

    .product_page .card_img_absolute img {
        width: 100%;
        height: 100%;
    }

    .product_page .card_different_products_sale {
        margin-top: 8px;
        font-size: 15px;
        color: var(--theme-text);
    }

    .product_page .card_different_products_sale_sos {
        margin-top: 8px;
        font-size: 14px;
        color: var(--theme-accent);
    }
}

@media (min-width: 1024px) and (max-width: 1320px) {
    .products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

body {
    background: var(--theme-page);
    color: var(--theme-text);
}

@media (min-width: 1024px) {
    body {
        background: var(--theme-page-desktop);
    }
}



.header {
    background-color: var(--theme-surface-soft);
    border-bottom-color: var(--theme-border);
}

.search_field,
.form_review input,
.form_review textarea,
.detail_review {
    background-color: var(--theme-input);
}

.autocomplete-thumb,
.basket_about_info_block,
.autocomplete-empty {
    background-color: var(--theme-surface-subtle);
}

.menu__box {
    background-color: var(--theme-panel);
    box-shadow: var(--theme-shadow-medium);
}

.autocomplete-items {
    background-color: var(--theme-surface);
    box-shadow: var(--theme-shadow-medium);
}



.page-item,
.page-item_next,
.basket_about_info_block,
.theme_toggle,
.autocomplete-items,
.products_block,
.review_block_full_s,
.site_footer_inner,
.search_field,
.menu__box,
.contacts_block {
    border-color: var(--theme-border-strong);
}

.site_footer_inner,
.header,
.basket_about,
.card_sale,
.review_escape {
    border-color: var(--theme-border);
}

.desktop_nav_link,
.menu__item,
.menu__box a,
.menu__item summary,
.scrolling_title,
.home_section_title,
.products_title,
.products_description,
.page-link,
.autocomplete-title,
.basket_item_title,
.review_b,
.review_begin,
.number_priority,
.title,
.main-title,
.weight_600,
.contacts_block_title,
.contacts_block_a,
.contacts_block_a_phone,
.color_contact_title,
.color_contact_title_s,
.contacts_gilroy_regular {
    color: var(--theme-text);
}

.site_footer_inner,
.site_footer_text,
.basket_empty,
.products_title_cnt,
.autocomplete-meta,
.autocomplete-empty,
.review_margin,
.review_new,
.card_sale_act,
.disabled .page-link,
.circle.hidden_s + * {
    color: var(--theme-text-muted);
}

.site_footer_link,
.desktop_nav_link:hover,
.privacy_link {
    color: var(--theme-accent);
}

.site_footer_link:hover,
.search_icon:hover,
.theme_toggle:hover {
    color: var(--theme-accent-hover);
}

input,
::placeholder {
    color: var(--theme-text-soft);
}

.review_block_left,
.review_block_full_s {
    background-color: var(--theme-surface);
}

.form_review input,
.form_review textarea,
.detail_review {
    color: var(--theme-text);
}

.search_icon,
.action {
    background-color: var(--theme-accent);
    color: var(--theme-text-inverse);
}

.search_icon:hover {
    background-color: var(--theme-accent-hover);
}

html[data-theme="dark"] .detail_search {
    color: var(--theme-text);
    caret-color: var(--theme-text);
}

html[data-theme="dark"] .detail_search::placeholder {
    color: var(--theme-text-soft);
}

.action_button_block {
    background-color: var(--theme-accent-soft);
}

.page-link {
    color: var(--theme-text);
}

.active_page {
    background-color: var(--theme-accent);
}

.active_page .page-link,
.action_title,
.action_button,
.theme_toggle[aria-pressed="true"] {
    color: var(--theme-text-inverse);
}

.circle {
    background-color: var(--theme-badge);
}

.bag-logo svg path {
    stroke: var(--theme-text);
}

.menu__btn > span,
.menu__btn > span::before,
.menu__btn > span::after {
    background-color: var(--theme-text-muted);
}

.header_actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: 13px;
    z-index: 20;
}

.theme_toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid var(--theme-border-strong);
    border-radius: 12px;
    background: var(--theme-surface);
    color: var(--theme-text);
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.theme_toggle:hover {
    border-color: var(--theme-accent);
    transform: translateY(-1px);
}

.theme_toggle svg {
    display: block;
}

.theme_toggle_icon_dark {
    display: none;
}

html[data-theme="dark"] .theme_toggle_icon_light {
    display: none;
}

html[data-theme="dark"] .theme_toggle_icon_dark {
    display: inline-flex;
}

.bag-logo {
    margin-right: 0;
}

.autocomplete-items {
    scrollbar-color: var(--theme-scrollbar) transparent;
}

.autocomplete-items::-webkit-scrollbar-thumb {
    background: var(--theme-scrollbar);
    border-color: var(--theme-surface);
}

html[data-theme="dark"] .autocomplete-link:hover,
html[data-theme="dark"] .autocomplete-link_active {
    background-color: rgba(154, 168, 255, 0.14);
}

html[data-theme="dark"] .autocomplete-link_query {
    background-color: rgba(154, 168, 255, 0.08);
}

html[data-theme="dark"] .home_hero_link {
    background: rgba(15, 18, 24, 0.78);
    color: var(--theme-text-inverse);
}

html[data-theme="dark"] .logo_header_light {
    display: none;
}

html[data-theme="dark"] .logo_header_dark {
    display: block;
}

html[data-theme="dark"] .home_hero_badge,
html[data-theme="dark"] .home_popular_meta {
    background: rgba(15, 18, 24, 0.36);
}

html[data-theme="dark"] .home_popular_card {
    background: #151b24;
}

html[data-theme="dark"] .review_modal_dialog {
    background: rgba(15, 18, 24, 0.78);
}

html[data-theme="dark"] .basket_remove_button:hover {
    background: var(--theme-danger-soft);
}

html[data-theme="dark"] .basket_quantity_button {
    color: var(--theme-text-inverse);
}

html[data-theme="dark"] .basket_about_summ .detail {
    background-color: var(--theme-input);
    color: var(--theme-text);
    box-shadow: inset 0 0 0 1px var(--theme-border-strong);
}

html[data-theme="dark"] .basket_about_summ .detail::placeholder {
    color: var(--theme-text-soft);
}

html[data-theme="dark"] .basket_about_summ input[type="checkbox"] {
    accent-color: var(--theme-accent);
}

html[data-theme="light"] .search_field {
    background-color: #f1f4fb;
}

@media (min-width: 1024px) {
    .header_actions {
        margin-left: auto;
        margin-right: 0;
        gap: 12px;
        flex-shrink: 0;
    }

    .theme_toggle {
        width: 42px;
        height: 42px;
    }
}

html.menu-open,
html.menu-open body {
    overflow: hidden;
}

.hamburger-menu {
    position: relative;
    z-index: 32;
}

.menu__overlay {
    position: fixed;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    background: rgba(7, 10, 14, 0.48);
    backdrop-filter: blur(8px);
    transition: opacity 0.24s ease;
    z-index: 38;
}

#menu__toggle:checked ~ .menu__overlay {
    opacity: 1;
    pointer-events: auto;
}

#menu__toggle:checked ~ .menu__btn {
    border-color: var(--theme-accent);
    background: var(--theme-surface-soft);
}

.menu__box {
    position: fixed;
    top: 12px;
    left: 12px;
    bottom: 12px;
    width: min(372px, calc(100vw - 24px));
    height: auto;
    margin: 0;
    padding: 0;
    visibility: hidden;
    overflow: hidden;
    border: 1px solid var(--theme-border);
    border-radius: 12px;
    background: var(--theme-panel);
    box-shadow: var(--theme-shadow-medium);
    transform: translateX(calc(-100% - 24px));
    transition: transform 0.28s ease, visibility 0.28s ease;
    z-index: 39;
}

#menu__toggle:checked ~ .menu__box {
    visibility: visible;
    left: 12px;
    transform: translateX(0);
}

.menu__panel {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    padding: 18px;
    box-sizing: border-box;
}

.menu__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(125, 131, 152, 0.12);
}

.menu__header_copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 6px;
}

.menu__eyebrow {
    color: var(--theme-text-muted);
    font-size: 11px;
    line-height: 1;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.menu__title {
    color: var(--theme-text);
    font-family: 'Gilroy-Bold', sans-serif;
    font-size: 24px;
    line-height: 1.05;
}

.menu__close {
    position: relative;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(125, 131, 152, 0.18);
    border-radius: 12px;
    background: var(--theme-surface);
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.menu__close::before,
.menu__close::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 1.5px;
    background: var(--theme-text-muted);
    transform-origin: center;
}

.menu__close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.menu__close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.menu__close:hover {
    border-color: var(--theme-accent);
    background: var(--theme-surface-soft);
    transform: translateY(-1px);
}

.menu__scroll {
    display: flex;
    flex-direction: column;
    gap: 18px;
    flex: 1 1 auto;
    min-height: 0;
    padding-top: 18px;
    padding-right: 10px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: var(--theme-scrollbar) transparent;
}

.menu__scroll::-webkit-scrollbar {
    width: 7px;
}

.menu__scroll::-webkit-scrollbar-track {
    background: transparent;
}

.menu__scroll::-webkit-scrollbar-thumb {
    background: var(--theme-scrollbar);
    border-radius: 999px;
}

.menu__section {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.menu__section_title {
    padding: 0 2px;
    color: var(--theme-text-muted);
    font-size: 11px;
    line-height: 1;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.menu__quicklinks {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.menu__quicklink,
.menu__info_link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid rgba(125, 131, 152, 0.16);
    border-radius: 12px;
    box-sizing: border-box;
    background: var(--theme-surface-soft);
    color: var(--theme-text);
    font-family: 'Gilroy-Medium', sans-serif;
    font-size: 15px;
    line-height: 1.2;
    text-decoration: none;
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.menu__quicklink:hover,
.menu__info_link:hover {
    border-color: rgba(135, 151, 223, 0.22);
    background: var(--theme-surface);
    color: var(--theme-text);
}

.menu__catalog_all,
.menu__single,
.menu__group {
    border: 1px solid rgba(125, 131, 152, 0.14);
    background: var(--theme-surface-soft);
}

.menu__catalog_all {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 15px 16px;
    border-radius: 12px;
    text-decoration: none;
    background:
        linear-gradient(180deg, rgba(135, 151, 223, 0.08), rgba(135, 151, 223, 0.02)),
        var(--theme-surface-soft);
}

.menu__catalog_all_copy,
.menu__group_text {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 4px;
}

.menu__catalog_all_title,
.menu__group_name {
    color: var(--theme-text);
    font-family: 'Gilroy-Bold', sans-serif;
    font-size: 15px;
    line-height: 1.25;
}

.menu__catalog_all_meta,
.menu__group_meta {
    color: var(--theme-text-muted);
    font-size: 12px;
    line-height: 1.35;
}

.menu__catalog_all_arrow,
.menu__group_arrow {
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    color: var(--theme-text-muted);
    transition: transform 0.2s ease, color 0.2s ease, opacity 0.2s ease;
    opacity: 1;
}

.menu__catalog_all_arrow {
    transform: rotate(-45deg);
}

.menu__group_arrow {
    transform: rotate(45deg);
}

.menu__catalog_list,
.menu__info_links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.menu__group,
.menu__single {
    border-radius: 12px;
    overflow: hidden;
}

.menu__group_summary {
    display: block;
    padding: 14px 16px;
    cursor: pointer;
    list-style: none;
}

.menu__group_summary::-webkit-details-marker {
    display: none;
}

.menu__group_header,
.menu__single {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.menu__single {
    min-height: 74px;
    padding: 14px 16px;
    box-sizing: border-box;
    text-decoration: none;
}

.menu__group_identity {
    display: flex;
    align-items: center;
    gap: 0;
    min-width: 0;
}

.menu__group[open] {
    background: var(--theme-surface);
}

.menu__group[open] .menu__group_arrow {
    transform: rotate(-135deg);
}

.menu__group_body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0 16px 16px;
}

.menu__group_link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid rgba(135, 151, 223, 0.18);
    border-radius: 12px;
    box-sizing: border-box;
    background: rgba(135, 151, 223, 0.06);
    color: var(--theme-accent);
    font-family: 'Gilroy-Medium', sans-serif;
    font-size: 14px;
    line-height: 1.2;
    text-decoration: none;
}

.menu__subcategories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.menu__subcategory {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid rgba(125, 131, 152, 0.12);
    border-radius: 12px;
    box-sizing: border-box;
    background: var(--theme-surface);
    color: var(--theme-text);
    font-size: 14px;
    line-height: 1.2;
    text-decoration: none;
    transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.menu__subcategory:hover,
.menu__group_link:hover {
    border-color: rgba(135, 151, 223, 0.22);
}

.menu__info_link::after {
    content: "";
    width: 8px;
    height: 8px;
    margin-left: 10px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    color: var(--theme-text-muted);
    transform: rotate(-45deg);
    opacity: 1;
}

@media (max-width: 420px) {
    .menu__box {
        top: 10px;
        left: 10px;
        bottom: 10px;
        width: calc(100vw - 20px);
        border-radius: 12px;
    }

    #menu__toggle:checked ~ .menu__box {
        left: 10px;
    }

    .menu__panel {
        padding: 16px;
    }

    .menu__title {
        font-size: 22px;
    }
}
