:root {
    --bg-default: #ffffff;
    --bg-l1: #F8FAFD;
    --bg-l2: #E9EEF6;
    --bg-l3: #D6DbE2;
    --bg-inverse: #161617;
    --bg-inverse-l1: #232325;
    --bg-inverse-l2: #39393B;
    --bg-accent: #F82B22;
    
    --fg-default: #1C2024;
    --fg-on-inverse: #FAFAFF;
    --fg-link: #0066CC;
    --fg-accent: #F82B22;
    
    --border-muted: rgba(28, 32, 36, .1);
    --border-default: rgba(28, 32, 36, .2);
    --border-hover: rgba(28, 32, 36, .4);
}

:root[dark] {
    --bg-default: #161617;
    --bg-l1: #232325;
    --bg-l2: #39393B;
    --bg-l3: #434345;
    --bg-inverse: #FFFFFF;
    --bg-inverse-l1: #F8FAFD;
    --bg-inverse-l2: #E9EEF6;
    --bg-accent: #BF1716;
    
    --fg-default: #FAFAFF;
    --fg-on-inverse: #1C2024;
    --fg-link: #2997FF;
    --fg-accent: #D62B24;
    
    --border-muted: rgba(250, 250, 255, .1);
    --border-default: rgba(250, 250, 255, .15);
    --border-hover: rgba(250, 250, 255, .3);
}

:root {
    --fs-based: .875rem;
    --fs-default: 1rem;
}

*, :after, :before {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    color: inherit;
    font-family: Inter, -apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";
    font-size: inherit;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5;
    text-decoration: none;
}

/* Фолбэк для случаев, когда шрифты не загрузились */
.fonts-fallback body {
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";
}

body {
    color: var(--fg-default);
    font-size: var(--fs-based);
    background-color: var(--bg-default);
    min-width: 18rem;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    font-family: InterDisplay;
    margin: inherit;
}
h1 {
    font-size: 3.25rem;
    letter-spacing: -0.02em;
    line-height: 1.125;
}
h2 {
    font-size: 2.5rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}
h3 {
    font-size: 1.5rem;
    line-height: 1.2;
}

.main_container {
    max-width: 1140px;
    margin: auto;
    padding: 0 1.5rem;
}
/* Header start */

header {
    border-bottom: 1px solid var(--border-muted);
    height: 3.75rem;
}
header > .main_container {
    height: 100%;
    display: grid;
    justify-content: space-between;
    max-width: none;
    grid-template-columns: 1fr 1fr 1fr;
}
.h_left, .h_right, .h_center {
    display: flex;
    height: 100%;
    align-items: center;
}
.h_center {
    gap: 1rem;
    justify-content: center;
}
.h_right {
    gap: .5rem;
    justify-content: end;
}
.logo {
    display: flex;
    align-items: center;
}
.icon_button {
    width: 2.25rem;
    height: 2.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: .5rem;
    transition: .2s;
}
.icon_button:hover {
    cursor: pointer;
    background-color: var(--bg-l2);
    transition: .2s;
}
.icon_button svg {
    display: block;
    overflow: visible;
}
.h_nav {
    display: flex;
    gap: .5rem;
}
.h_center {
    display: flex;
    align-items: center;
}
.product_item {
    display: flex;
    background-color: var(--bg-default);
    padding: .5rem 1rem .5rem .5rem;
    gap: .5rem;
    border-radius: .75rem;
    align-items: center;
    transition: .2s;
}
.product_item.active {
    background-color: var(--bg-l2);
}
.product_item:hover {
    background-color: var(--bg-l3);
    transition: .2s;
}
    
    /* Mobile header start */
    .mobile-header {
        display: none;
        justify-content: space-between;
        padding: 0 1rem;
        align-items: center;
    }

    .mobile-nav-content {
        display: flex;
        flex-direction: column;
        gap: 3rem;
        font-size: 1.125rem;
    }
    .mob_menu_pages {
        gap: 1rem !important;
    }
    .mobile-nav .mob_menu_services, .mobile-nav .mob_menu_pages {
        display: flex;
        flex-direction: column;
        gap: 1.25rem;
    }
    .mobile-nav .mob_menu_services a {
        background-color: transparent;
        font-size: 1.125rem;
        font-weight: 600;
        line-height: 1.4;
        padding: 0;
    }
    .mob_menu_label {
        font-family: 'InterDisplay';
        font-weight: 800;
        text-transform: uppercase;
        opacity: .5;
        font-size: var(--fs-based);
        letter-spacing: .025rem;
    }
    .mob_lang_list {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        margin-top: 1rem;
        position: relative;
    }
    .mob_lang_list a {
        display: flex;
        align-items: center;
        gap: .5rem;
    }
    .mob_lang_list .lang-active::after {
        position: inherit;
    }

/*Firster content*/
.firster_container {
    max-width: 1140px;
    margin: auto;
    padding: 0 1.5rem;
}
.hero {
    text-align: center;
    padding: 4rem 1rem 1.5rem 1rem;
}
.hero h1 {
    max-width: 40rem;
    margin: auto;
}
.hero h1 span {
    opacity: .5;
    font-weight: 900;
    font-family: 'InterDisplay';
}
.hero p {
    margin: auto;
    font-size: 1.125rem;
    opacity: .8;
    margin-top: 1.5rem;
    max-width: 33rem;
}


/* Content start */
.content .main_container {
    display: flex;
    gap: 3rem;
    padding-top: 4rem;
    padding-bottom: 6rem;
}

.icon_button:active, .dropbtn:active, .lang_button:active, .product_item:active {
    transform: scale(.96);
}
.button_copy:active, .up:active, .down:active {
    transform: scale(.98);
}

hr {
    height: 1px;
    border: 0;
    color: var(--border-muted);
    background-color: var(--border-muted);
    border-color: var(--border-muted);
}


    /* Filters start */
.mob_container {
    gap: 1.5rem;
    display: flex;
    flex-direction: column;
}

.filters_side, .adv_side {
    min-width: 13.75rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.filter_item fieldset {
    padding: 0;
    text-decoration: none;
    border: none;
    font-size: var(--fs-based);
    display: flex;
    flex-direction: column;
}

.fitem_label {
    margin-bottom: .5rem;
    display: block;
    font-weight: 600;
    font-family: 'InterDisplay';
    font-size: var(--fs-default);
}

.radio_group {
    gap: .5rem;
}

.radio_item, .checkbox_item {
    display: flex;
    align-items: center;
}

.radio_item label, .checkbox_item label {
    padding-left: .5rem;
}

.radio_item > *, .checkbox_item > * {
    cursor: pointer;
}

input[type="radio"], input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
}

input[type="radio"]:checked {
    border: .3125rem solid var(--bg-accent);
    background-color: #fff;
}

.iradio {
    border: 1px solid var(--border-default);
    border-radius: 1rem;
    width: 1rem;
    height: 1rem;
    background-color: var(--bg-l2);
    cursor: pointer;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.radio_item label {
    cursor: pointer;
}

.icheck {
    width: 1rem;
    height: 1rem;
    background-color: var(--bg-l2);
    border: 1px solid var(--border-default);
    border-radius: .125rem;
}

.radio_item > *:hover, .checkbox_item > *:hover {
    border-color: var(--border-hover);
}

input[type="checkbox"]:checked {
    background-color: var(--bg-accent);
    background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxIDEiIHByZXNlcnZlQXNwZWN0UmF0aW89InhNaW5ZTWluIG1lZXQiPjxwYXRoIGQ9Ik0uMDQuNjI3LjE0Ni41Mi40My44MDQuMzIzLjkxem0uMTc3LjE3N0wuODU0LjE2Ny45Ni4yNzMuMzIzLjkxeiIgZmlsbD0iI2ZmZiIvPjwvc3ZnPg==);
    border-color: transparent;
    background-size: 80%;
    background-repeat: no-repeat;
    background-position: center center;
}

.input_flex {
    display: flex;
    flex-direction: row;
    gap: .25rem;
}

.text_input {
    height: 2rem;
    padding: 0 .5rem;
    width: 100%;
}

input[type="text"]:active, input[type="text"]:focus {
    outline: 2px solid var(--bg-accent);
    outline-offset: -2px;
}

input[type=text]:hover {
    border-color: var(--border-hover);
}

.irocker {
    display: flex;
    gap: .25rem;
}

.irocker a {
    border: 1px solid var(--border-default);
    display: flex;
    width: 2rem;
    height: 2rem;
    border-radius: .5rem;
    justify-content: center;
    align-items: center;
    transition: .15s;
}
.irocker a:hover {
    border-color: var(--border-hover);
}

.irocker a:active {
    background-color: var(--bg-l2);
}

.input_text {
    width: 100%;
    background-color: var(--bg-l2);
    border-radius: .5rem;
    border: 1px solid var(--border-muted);
    padding: 0 .75rem;
}

.reset_link {
    color: var(--fg-link);
    font-weight: 600;
}
    /* Filters end */

    /* Output start */
.result_side {
    width: 100%;
}

.output_modul {
    background-color: var(--bg-l2);
    border: 4px solid var(--bg-l2);
    border-radius: 1rem;
}

#idClipboardOk {
    display: none;
    background-color: var(--bg-accent);
    color: #fff;
    text-align: center;
    font-weight: bold;
    border-radius: .375rem;
    font-size: var(--fs-based);
    padding: .5rem .75rem;
    margin-bottom: 1rem;
}

.textstore {
    display: none;
}

.o_modul_actions {
    display: flex;
    min-height: 3rem;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    margin-bottom: .25rem;
}

.faux {
    background-color: var(--bg-l1);
    padding: 1.5rem;
    border-radius: .75rem;
}

.button_copy {
    display: flex;
    align-items: center;
    gap: .5rem;
    cursor: pointer;
    height: 2rem;
    padding: 0 .75rem;
    border-radius: .25rem;
    font-size: var(--fs-based);
    font-weight: 500;
    color: var(--fg-default);
    opacity: .8;
    transition: .2s;
}

.button_copy:hover {
    opacity: 1;
}

.o_text_panel {
    font-size: .75rem;
    gap: 1rem;
    display: flex;
    flex-direction: column;
}
    /* Output end */



    /* Accordion start */
.accordion {
    width: 100%;
    text-align: center;
    padding: 2rem 0;
    transition: 0.25s;
    border-bottom: 1px solid var(--border-muted);
    /*cursor: pointer;*/
    display: flex;
    justify-content: center;
    align-items: center;
}

.accordion.active {
    border-bottom: transparent;
}

/*.accordion:after {*/
/*    content: '\25B6';*/
/*    transition: 0.45s;*/
/*    transform: rotate(90deg);*/
/*    font-size: 1rem;*/
/*    color: var(--border-hover);*/
/*    height: 100%;*/
/*}*/

/*.accordion.active:after {*/
/*    transform: rotate(-90deg);*/
/*    color: var(--bg-accent);*/
/*}*/

/*.panel {*/
/*    max-height: 0;*/
/*    overflow: hidden;*/
/*    transition: max-height 0.2s ease-out;*/
/*    margin: 0;*/
/*    text-align: left;*/
/*    transition: 0.4s;*/
/*}*/

.panel_content {
    padding: 3rem 0;
    /*border-top: 1px solid var(--border-muted);*/
    border-bottom: 1px solid var(--border-muted);
    font-size: var(--fs-default);
    display: grid;
    gap: 3rem;
}
.final {
    margin-top: 2rem;
}
.od_plus_image {
    display: flex;
    gap: 1.5rem;
    flex-direction: row;
}
.snip_two-column {
    display: grid;
    gap: 3rem;
    grid-template-columns: 1fr 1fr;
}

.snip_note {
    background-color: var(--bg-default);
    padding: 1.5rem 1.5rem 1.5rem 3rem;
    border-left: .375rem solid;
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    border-image: linear-gradient(to bottom, #F82B22 0%, #FFD900 100%) 1;
}

.snip_note_content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.snip_note img {
    max-width: 12.5rem;
    height: fit-content;
}

.snip_note .snip_note_content p {
    font-size: var(--fs-based);
}

.fact_title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: .5rem;
}

.other_dummy h4 {
    font-size: 1.25rem;
    margin-bottom: .5rem;
}

.snip_code {
    background-color: var(--bg-l2);
    max-width: 43.75rem;
    padding: 1rem;
    margin-top: 1.5rem;
    font-family: monospace;
    border-radius: 1rem;
    border: 1px solid var(--border-muted);
    font-size: var(--fs-based);
    word-break: break-all;
}

.snip_note_content h4 {
    font-size: 1.125rem;
}

.snip_list {
    list-style-position: inside;
    font-size: 1.125rem;
}

.snip_list li {
    margin-bottom: 1rem;
}
.snip_list li:last-child {
    margin-bottom: 0;
}

    /* Accordion end */



    /* Cookies start */
#band-cookies {
    position: fixed;
    bottom: 24px;
    left: 0px;
    z-index: 200;
    width: fit-content;
    padding: 8px 0px 8px 24px;
    font-size: 14px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    right: 0;
    margin: auto;
    border-radius: 14px;
}
#band-cookies p {
    margin: 0;
    padding: 0px 52px 0 0;
    display: flex;
    align-items: center;
}

a#band-cookies-ok {
    height: 36px;
    display: flex;
    width: fit-content;
    align-items: center;
    color: #fff !important;
    border-radius: 6px;
    padding: 0 12px;
    gap: 4px;
    text-decoration: none;
    background-color: #11A911;
    margin-left: 24px;
    cursor: pointer;
}

#band-cookies-info {
	margin-left: 16px;
	cursor: pointer;
}

#band-cookies-close {
    height: 36px;
    width: 36px;
    position: absolute;
    right: .5rem;
    top: 0;
    margin-top: .5rem;
    border-radius: .375rem;
    background-color: #7b7b7b;
    display: flex;
    bottom: 0;
    align-items: center;
    justify-content: center;
}
    /* Cookies end */




.footer {
    padding: 1.5rem 0;
    border-top: 1px solid var(--border-muted);
}  

.footer .main_container {
    display: flex;
    justify-content: space-between;
}



.accordion_container {
    margin: auto;
    padding: 6rem 0 0;
    background-color: var(--bg-l1);
}
.accordion_title {
    text-align: center;
    margin-bottom: 5rem;
}
.accordion_title h2 {
    margin: auto;
    max-width: 40rem;
}
.accorion h3 {
    font-size: 2rem;
    font-weight: 600;
}
.accorion {
    max-width: 1140px;
    margin: auto;
    padding: 0 1.5rem 6rem 1.5rem;
}
.accorion .accordion:first-child {
    border-top: 1px solid var(--border-muted);
}
.accorion p {
    font-size: 1.125rem;
}



/* Content end */




@media screen and (max-width: 920px) {

    .content .main_container {
        gap: 1.5rem;
        padding-top: 1rem;
        flex-direction: column;
    }   
    .filters_side {
        width: 100%;
    }
    
    .main_container {
        padding: 0 1rem;
    }
    .firster_container {
        padding: 0;
    }
    .hero_image {
        margin-top: 1.5rem;
        padding-bottom: 1.5rem;
    }
    .mob_container {
        flex-direction: row;
    }
    .mob_container > .filter_item {
        width: 100%;
    }
    #idSelectAllText {
        display: none;
    }
    .accordion {
        font-size: 1.25rem;
    }
    .faux {
        padding: 1rem;
    }
    .accorion_container {
        margin-bottom: 1rem;
        margin-top: 0;
    }
    .images_lorem {
        gap: .25rem;
    }
    #band-cookies {
        bottom: .25rem;
        /*top: .25rem;*/
        /*bottom: auto;*/
        padding: 8px;
        margin-left: .25rem;
        margin-right: .25rem;
        width: auto;
    }
    #band-cookies p {
        margin: 0;
        padding: .5rem;
        align-items: flex-start;
        flex-direction: column;
    }
    #band-cookies-close {
        right: 1rem;
        bottom: 0;
        top: auto;
        margin-bottom: 1rem;
        align-items: center;
        justify-content: center;
    }
    #band-cookies-info {
        margin-bottom: 1.5rem;
        margin-top: 0.75rem;
        margin-left: 0;
    }
    a#band-cookies-ok {
        width: calc(100% - 52px);
        justify-content: center;
        margin: 0;
    }
    
    /* Mobile menu */
    
    .service_item {
        aspect-ratio: auto !important;
    }
    .mobile-header {
        display: flex;
    }
    .mobile-menu-wrapper {
        display: block;
    }
    .desktop-header {
        display: none;
    }
    .mobile-menu-btn {
        background: none;
        border: none;
        width: 40px;
        height: 40px;
        position: relative;
        cursor: pointer;
        z-index: 100;
        padding: .625rem;
    }
    .menu-icon, .menu-icon::before, .menu-icon::after {
        content: '';
        display: block;
        width: 100%;
        height: 2px;
        background: var(--fg-default);
        position: absolute;
        transition: all 0.3s ease;
        width: 1.25rem;
        border-radius: .25rem;
    }
    .menu-icon {
        top: 50%;
        transform: translateY(-50%);
        background: transparent;
    }
    .menu-icon::before {
        top: -4px;
    }
    .menu-icon::after {
        bottom: -4px;
    }
    .mobile-menu-btn.active .menu-icon {
        background: transparent;
    }
    .mobile-menu-btn.active .menu-icon::before {
        transform: translateY(4px) rotate(45deg);
    }
    .mobile-menu-btn.active .menu-icon::after {
        transform: translateY(-4px) rotate(-45deg);
    }
    .mobile-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 20rem;
        height: 100vh;
        z-index: 10;
        transition: right 0.4s ease;
        background-color: var(--bg-l1);
        padding: 1.25rem 1.5rem 1.5rem 1.5rem;
    }
    .mobile-nav.active {
        right: 0;
    }
    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: black;
        z-index: 1;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }
    .mobile-menu-overlay.active {
        opacity: .64;
        pointer-events: all;
    }
    body.menu-open {
        overflow: hidden;
    }
    
    /* Firster container */
    .hero {
        padding: 3rem 1rem 2rem;
    }
    .hero h1 {
    font-size: 2rem;
    }
    .hero p {
        font-size: var(--fs-default);
        margin-top: 1rem;
    }
    
    /* Text page - Accordion */
    .accordion_container {
        padding: 3rem 1rem 5rem;
    }
    .accordion_title {
        margin-bottom: 3rem;
    }
    .accordion_title h2 {
        font-size: 1.75rem;
    }
    .accorion {
        padding: 0;
    }
    .accorion h3 {
        font-size: 1.125rem;
    }
    .snip_two-column {
        gap: 1.5rem;
        grid-template-columns: 1fr;
    }
    .panel_content {
        padding: 1.5rem 0;
        gap: 1.5rem;
    }
    .accorion p {
        font-size: inherit;
    }
    .snip_note {
        padding: 1rem 1rem 1rem 1.5rem;
        flex-direction: column;
        gap: 1.5rem;
    }
    .snip_list {
        font-size: inherit;
    }
    .od_plus_image {
        gap: .5rem;
        flex-direction: column-reverse;
    }
}

@media screen and (max-width: 380px) {
    .mob_container {
        flex-direction: column;
    }
}






