/*#region---Reboot---*/
@font-face {
    font-family: 'Raleway';
    font-style: normal;
    /* Не заменяем системный шрифт после первого отображения страницы. */
    font-display: optional;
    src: local("Raleway"),
    url("../fonts/Raleway/WOFF2/Raleway-VF.woff2") format("woff2"),
    url("../fonts/Raleway/WOFF/Raleway-VF.woff") format("woff"),
    url("../fonts/Raleway/TTF/Raleway-VF.ttf") format("truetype");
}

:root {
    --main-font: "Raleway", "Helvetica";

    --color-PrimaryBlack: #202020;
    --color-PrimaryYellow: #F8E71C;
    --font16pxTo1Rem: 1rem;
    --font18pxTo1_125Rem: 1rem;
    --font20pxTo1_25Rem: 1.25rem;
    --font24pxTo1_5Rem: 1.5rem;
    --font32pxTo2Rem: 2rem;
    --font34pxTo2_125Rem: 2.125rem;
    --font48pxTo3Rem: 3rem;
    --font56pxTo4Rem: 4rem;
    --font80pxTo5Rem: 5rem;
    --font112pxTo7Rem: 7rem;
    --fontDvw5: 5dvw;
    --fontDvw7: 7dvw;
    --fontDvw9: 9dvw;
    font-variant-numeric: lining-nums;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
}


body {
    background-color: #ffffff;
    font-family: var(--main-font), sans-serif;
    font-size: 16px;
    font-weight: 400;
    font-style: normal;
    color: #404040;

    /*Прижимаем футер вниз экрана при недостатке контента */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    width: 100%;
    display: flex;
    flex-direction: column;
}

img,
video,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

textarea {
    resize: none;
    border-radius: 0;
}

textarea::placeholder {
    opacity: 1;
}

textarea:invalid {
    box-shadow: none;
}

select {
    border-radius: 0;
}

input::-ms-clear,
input::-ms-reveal {
    display: none;
}

input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
    appearance: none;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    margin: 0;

    appearance: none;
}

select,
textarea,
input:matches ([type="email"],
  [type="number"],
  [type="password"],
  [type="search"],
  [type="tel"],
  [type="text"],
  [type="url"]) {
    appearance: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
    appearance: none;
}


/*a:visited {*/
/*    text-decoration: none;*/
/*    color: #800080;*/
/*    border-bottom-color: rgba(128, 0, 128, 0.2);*/
/*}*/

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    padding: 1rem 0;
    font-weight: 600;
}

h1 {
    font-size: var(--font34pxTo2_125Rem);
}

h2 {
    font-size: var(--font32pxTo2Rem);
}

h3 {
    font-size: var(--font24pxTo1_5Rem);
}


ul {
    margin-left: 1em;
}

.item-units {
    font-size: 14px;
}

.sup {
    vertical-align: super;
}

blockquote p {
    padding: 15px;
    background: #eee;
    border-radius: 5px;
}

.breadcrumbs {
    font-size: 12px;
    text-transform: uppercase;
    color: #494949;
}

.breadcrumbs > a  {

    color: gray;
}

/*#endregion*/

/*#region---Общие стили для body---*/
.container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
    /*align-content: space-around;*/
    margin-inline: auto;
    color: black;
}

.container-900 {
    width: 100%;
    max-width: 900px;
    line-height: 30px;
    font-size: var(--font16pxTo1Rem);
    /*background: #fbf6e5;*/
    padding: 1rem;
    margin-inline: auto;
    color: black;
    display: block;
}

.btn {
    width: 200px;
    height: 54px;
    color: rgba(0, 0, 0, 0.7);
    text-transform: uppercase;
    text-decoration: none;
    word-wrap: break-word;
    background-color: white;
    border: 2px solid #404040;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    /*margin-inline: auto;*/
}

.btn:hover {
    background-color: #404040;
    color: #fff;
    border: 1px solid #fff;
    text-decoration: none;
    cursor: pointer;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    /*border: 0;*/
    /*padding: 0;*/
    white-space: nowrap;
    clip-path: inset(100%);
    clip: rect(0 0 0 0);
    overflow: hidden;
}

.overlay {
    display: none;
    position: absolute;
    font-size: 10px;
    top: 52px;
    left: 0;
    padding: 0.5rem;
    border: 1px solid #007E7EFF;
    border-radius: 3px;

    background-color: black;
}

.button-copy-url .overlay {
    top: 0;
    left: 200px;
    background-color: rgb(238, 237, 237);
    border: 1px solid black;
    font-size: 14px;
}

a:hover .overlay {
    display: block;
}

.button-copy-url:hover .overlay {
    display: block;
    white-space: nowrap;
}

/*#endregion*/

/*#region---Таблицы---*/
table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    border: 1px solid black;
    padding: 8px;
    text-align: center;
}

th {
    background-color: #f9f9f9;
}

tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.fix {
    position: sticky;
    left: 0;
    /*background-color: #f9f9f9;*/
    /*z-index: 4;*/
}

video {
    max-width: 100%;
}

.product-video {
    display: flex;
    flex-direction: row;
    /*flex-wrap: wrap;*/
    gap: 1rem;
}

/*.product-video video {*/
/*    width: 30%;*/
/*}*/

/*#endregion*/

/*#region---Header---*/

header {
    width: 100%;
    position: fixed;
    top: 0;

    background-color: rgba(0, 0, 0, 0.8);
    transition: all .3s ease;
    z-index: 700;
}

header .container {
    padding: 1dvh 1dvw;
}

.header-logo {
    height: 66px;
    max-width: 250px;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: start;
    gap: 5px;
}

nav {
    width: 100%;
}

nav > ul {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
    gap: 30px;
    text-transform: uppercase;
}

.site-navigation > li {
    position: relative;
}

.navigation-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0;
    border: 0;
    color: white;
    font: inherit;
    text-transform: inherit;
    background: transparent;
    cursor: pointer;
}

.navigation-dropdown-arrow {
    width: 0.5rem;
    height: 0.5rem;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: translateY(-0.15rem) rotate(45deg);
    transition: transform 0.2s ease;
}

.navigation-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    z-index: 10;
    min-width: 220px;
    margin: 0;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    border: 1px solid #007e7e;
    border-radius: 3px;
    background-color: rgba(0, 0, 0, 0.96);
    list-style: none;
    text-align: left;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, -0.5rem);
    transition: opacity 0.2s ease, transform 0.2s ease,
        visibility 0.2s ease;
}

.navigation-dropdown-menu a {
    display: block;
    padding: 0.5rem 0.75rem;
    white-space: nowrap;
}

.navigation-dropdown.is-open > .navigation-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.navigation-dropdown.is-open .navigation-dropdown-arrow {
    transform: translateY(0.15rem) rotate(225deg);
}

.navigation-dropdown.is-current > .navigation-dropdown-toggle,
.site-navigation a[aria-current="page"] {
    text-decoration: underline;
    text-underline-offset: 0.25rem;
}

#contact-btn {
    cursor: pointer;
}

header a,
header ul,
header li {
    color: white;
    text-decoration: none;
}

header a,
header button,
header [role="button"] {
    -webkit-tap-highlight-color: transparent;
}

header a:visited,
header ul li:visited,
header ul li a:visited {
    text-decoration: none;
    color: white;
}

header a:focus,
header button:focus,
header [role="button"]:focus {
    outline: none;
    text-decoration: none;
}

@media (hover: hover) and (pointer: fine) {
    .navigation-dropdown:hover > .navigation-dropdown-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translate(-50%, 0);
    }

    .navigation-dropdown:hover .navigation-dropdown-arrow {
        transform: translateY(0.15rem) rotate(225deg);
    }

    header a:hover,
    header ul li a:hover {
        color: white;
        text-decoration: underline;
    }

    header a:focus-visible,
    header button:focus-visible,
    header [role="button"]:focus-visible {
        outline: 2px solid #f8e71c;
        outline-offset: 3px;
    }
}

.header-logo > a,
.header-logo > a:hover,
.header-logo > a:active,
.header-logo > a:focus,
.header-logo > a:visited {
    display: flex;
    flex: 0 0 auto;
    border: 0;
    color: inherit;
    line-height: 0;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    box-shadow: none;
    outline: none;
}

.header-logo > a:focus,
.header-logo > a:focus-visible,
.header-logo > a:active {
    border: 0;
    box-shadow: none;
    outline: none;
    text-decoration: none;
}

.header-logo svg {
    border: 0;
    box-shadow: none;
    outline: 0;
}

.burger-icon {
    display: none;
}

.burger-menu {
    display: none;
}

.contact-container {
    position: fixed;
    right: 0;
    z-index: 99999999;
    top: 100px;
    transform: translateX(100%);
    transition: transform 0.4s ease-in-out;
}

.contact-container.visible {
    transform: translateX(-1rem);
}

.contact {
    background-color: rgba(0, 0, 0, 1);
    border-radius: 3px;
    border: 1px solid #007E7EFF;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    position: relative;
    /*height: 110px;*/
    /*width: 350px;*/
    max-width: calc(100% - 1rem);
    max-height: calc(100vh - 120px);
    overflow-y: auto;

    padding: 2rem;
    color: #e3e3e3;
}

.contact span.close-btn {
    width: 20px;
    height: 20px;
    border: 0;
    cursor: pointer;
    position: absolute;
    top: 5px;
    right: 5px;
}

.contact span.close-btn svg {
    stroke: #007E7EFF;
    width: 20px;
    height: 20px;
}

.contact span.close-btn:focus {
    outline: none;
}

.contact span.close-btn:hover svg {
    stroke: #e3e3e3;
}

.contact-form {
    width: min(360px, 78vw);
    margin-top: 1.5rem;
    display: grid;
    gap: 0.75rem;
}

.contact-form h2 {
    margin: 0;
    color: #fff;
    font-size: 1.25rem;
}

.contact-form label {
    display: grid;
    gap: 0.25rem;
    color: #e3e3e3;
    font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    border: 1px solid #5d7373;
    border-radius: 3px;
    padding: 0.65rem 0.75rem;
    background: #fff;
    color: #111;
    font: inherit;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #007e7e;
    outline: 2px solid rgba(0, 126, 126, 0.35);
    outline-offset: 1px;
}

.contact-form button {
    border: 1px solid #007e7e;
    border-radius: 3px;
    padding: 0.7rem 1rem;
    background: #007e7e;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 600;
}

.contact-form button:disabled {
    cursor: wait;
    opacity: 0.65;
}

.contact-form-status {
    min-height: 1.4em;
    margin: 0;
    color: #e3e3e3;
    font-size: 0.9rem;
}

.contact-form-status.is-error {
    color: #ffb4b4;
}

.contact-form-status.is-success {
    color: #9ee7bd;
}

.contact-form-trap {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.glossary-banner-mobile {
    display: none;
}

@media (max-width: 1022px) {
    .glossary-banner-desktop {
        display: none;
    }

    .glossary-banner-mobile {
        display: block;
    }
}

/*#endregion*/

/*#region--- Banner ---*/
.parallax-container {
    background-image: url("https://darkfoils.ru/img/banners/banner-back-gorz.png");
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
}

.banner-grid-container {
    width: 100%;
    max-width: 1440px;
    max-height: 120vh;
    margin-inline: auto;

    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: repeat(12, minmax(0, 1fr));
    padding: 3rem;
    align-items: stretch;
}

.text-1 {
    grid-column: 1 / span 8;
    grid-row: 2 / 7;

    color: rgba(0, 0, 0, 0);
    -webkit-text-stroke: 0.1rem white; /* Толщина и цвет обводки (для браузеров, использующих движок WebKit) */
    text-stroke: 0.1rem white;
    font-size: var(--fontDvw7);
    align-self: stretch;
    justify-self: stretch;
    font-weight: bold;
    line-height: var(--fontDvw7);
}

.last-word {
    font-size: var(--fontDvw9);
}

.text-2 {
    width: fit-content;
    height: fit-content;
    grid-column: 1 / 8;
    grid-row: 7 / 8;
    align-items: stretch;
    /*display: inline-block;*/
    padding: 10px 20px;
    color: black;
    font-weight: 300;
    font-size: var(--font16pxTo1Rem);
    text-transform: uppercase;
    background-color: #f1f1f1;
    border: 1px solid #007E7EFF;
    border-radius: 3px;
    z-index: 1;
}

.banner-video {
    grid-column: 9 / 13;
    grid-row: 2 / 5;
    justify-self: end;
    width: 300px;
    height: 300px;
}

.banner-btn-container {
    display: flex;
    flex-direction: column;
    align-items: end;
    justify-content: space-between;
}

.btn-banner {
    grid-column: 10 / 13;
    grid-row: 7 / 8;

    background-color: rgba(0, 0, 0, 0);
    border: 1px solid #007E7EFF;
    color: white;
    justify-self: end;
}

.btn-banner:hover {
    background-color: #007E7EFF;
    border: 1px solid white;
    color: white;
}

.banner-img {
    grid-column: 1 / 13;
    grid-row: 8 / 12;
}


/*#endregion*/

/*#region---Popular---*/

.popular-items {
    background-color: #f5f5f5;
    width: 100%;
}

.popular-items .container {
    width: 100%;
    max-width: 1440px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;

    margin-inline: auto;
    background-color: white;
    padding: 6dvw 2dvw;
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.1);
    color: black;
}

.faq-container {
    width: 100%;
    max-width: 900px;
    overflow-x: auto;
}

.info-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.btn-container {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    gap: 1rem;

    padding: 1rem;
}

/*.info-container h2 {*/
/*    color: #404040;*/
/*    text-transform: uppercase;*/
/*    text-align: center;*/
/*    letter-spacing: 5px;*/
/*    text-decoration: none;*/
/*}*/

.info-container a {
    text-decoration: none;
    text-align: center;
}

.item-container {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;

    padding: 30px;
    margin-top: 40px;
}

.catalog-item {
    width: 370px;
    height: fit-content;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    background-color: rgba(250, 250, 250);
    color: #404040;
    text-align: center;
    padding-bottom: 15px;
    border: none;
}


.catalog-item:hover {
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.2);
    color: black;
}

.catalog-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
}


.title h2, .title h3 {
    letter-spacing: normal;
    color: #404040;
    text-transform: uppercase;
}

h2 .item-type {
    font-style: italic;
    font-size: var(--font18pxTo1_125Rem);
}

h2 .item-size {
    font-size: var(--font20pxTo1_25Rem);
}

.catalog-item i {
    font-size: var(--font16pxTo1Rem);
    color: #6f6f6f;
    display: block;
}


/*#endregion*/

/*#region---Partner---*/

.partner-section {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

.partner-grid-container {
    width: 100%;
    max-width: 1440px;
    height: calc(100dvw * 2 / 3);
    margin-inline: auto;
    padding: 5dvw;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: 1dvw;
    /*aspect-ratio: 6 / 4;*/
}

.test-center {
    grid-column: 1 / 4;
    grid-row: 1 / 5;

}

.dealer {
    grid-column: 4 / 7;
    grid-row: 1 / 3;

}

.service-center {
    grid-column: 4 / 7;
    grid-row: 3 / 5;


}

.grid-item {
    background-size: cover;
}

/*.grid-item img {*/
/*    max-height: 100%;*/
/*    min-height: 100%;*/
/*    min-width: 100%;*/
/*    max-width: 100%;*/
/*    object-fit: cover;*/
/*}*/

.item-inside {
    /*position: absolute;*/
    /*top: 0;*/
    /*left: 0;*/
    width: 100%;
    height: 100%;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.item-inside h2 {
    color: white;
}

.item-inside-2 {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: end;
}

.item-inside-2 .description {
    color: white;
    font-size: var(--font20pxTo1_25Rem);
    width: 50%;
}

/*#endregion*/

/*#region---Footer---*/

footer {
    color: #c3c3c3;
    background-color: rgba(0, 0, 0, 1);

    margin-top: auto; /*Прижимаем футер вниз экрана при недостатке контента */
}

footer a,
footer ul a,
footer li a {
    color: white;
    text-decoration: none;
}

footer a:hover,
footer ul li:hover,
footer ul li a:hover,
footer a:focus,
footer ul li:focus,
footer ul li a:focus,
footer a:visited,
footer ul li:visited,
footer ul li a:visited {
    text-decoration: underline;
    color: white;
}

.footer-grid-container {
    width: 100%;
    max-width: 1440px;
    margin-inline: auto;
    display: grid;
    grid-template-columns: minmax(225px, 1fr) 2fr 1fr;
    grid-template-rows: auto;
    gap: 1rem;
    padding: 20px;
    color: #c3c3c3;
    /*justify-content: space-around;*/
}

.footer-grid {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    flex-wrap: nowrap;
    gap: 1.5rem;

    padding-left: 1rem;
}

.footer-1-column {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
}

.footer-column-title {
    /*align-self: end;*/
    justify-items: center;
    font-size: var(--font24pxTo1_5Rem);
    font-weight: 500;
    text-transform: uppercase;
    text-align: center;
}

.footer-2-column {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    align-items: center;

    padding-left: 0;
}

.footer-3-column {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
}

.footer-site-map {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;

    font-size: var(--font20pxTo1_25Rem);
    text-transform: uppercase;
    text-align: left;
}

.footer-site-map > li {

    font-size: var(--font16pxTo1Rem);
    text-transform: none;
    list-style-type: circle;
    text-align: left;
    margin-left: 1rem;

}

.footer-contacts {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    flex-wrap: nowrap;
    gap: 1rem;

    padding: 0.5rem;
    border: 1px solid #007E7EFF;
    border-radius: 3px;
}

.footer-social {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    flex-wrap: nowrap;
    gap: 1rem;

    padding: 0.5rem;
    border: 1px solid #007E7EFF;
    border-radius: 3px;
}

.footer-icon-container {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.5rem;
    font-size: 0;
}

.footer-contacts-phone:hover {
    font-weight: 700;
}

.footer-contacts-email:hover {
    font-weight: 700;
}


.icon-sprite-svg-background {

    background: url("https://darkfoils.ru/img/icons/iconSpriteSvg.svg") no-repeat;
}

.footer-icon-svg {
    width: 33px;
    height: 33px;
    /*font-size: 0;*/
    /*background-size: 32px 32px;*/
}

.icon-max {
    width: 33px;
    height: 33px;
    background-position: 0 0;
}

.icon-max:hover {
    background-position: 0 -50px;
}

.icon-telegram {
    background-position: -50px 0;
}

.icon-telegram:hover {
    background-position: -50px -50px;
}

.icon-vk {
    background-position: -100px 0;
}

.icon-vk:hover {
    background-position: -100px -50px;
}

.icon-whatsapp {
    background-position: -150px 0;
}

.icon-whatsapp:hover {
    background-position: -150px -50px;
}

.icon-instagram {
    background-position: -200px 0;
    position: relative;
}

.icon-instagram:hover {
    background-position: -200px -50px;
}

.icon-youtube {
    background-position: -250px 0;
}

.icon-youtube:hover {
    background-position: -250px -50px;
}

.icon-facebook {
    background-position: -300px 0;
}

.icon-facebook:hover {
    background-position: -300px -50px;
}

.icon-phone {
    background-position: -350px 0;
}

.icon-phone:hover {
    background-position: -350px -50px;
}

.icon-email {
    background-position: -400px 0;
}

.icon-email:hover {
    background-position: -400px -50px;
}


/*#endregion*/

/*#region---Catalog---*/

.catalog {

}

.catalog .container {

    width: 100%;
    max-width: 1440px;

    margin-top: calc(86px + 2dvh);
    margin-inline: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: start;

    padding: 0 1rem 2rem 1rem;
    color: black;
}

.catalog-filters {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: start;
    justify-content: center;
    top: calc(86px + 2dvh);
    z-index: 10;
    text-transform: uppercase;
}

.catalog-filters-container {
    /*position: relative;*/
    /*max-width: calc(100% - 1rem);*/
    height: fit-content;
    /*position: sticky;*/
    top: calc(86px + 2dvh);

    display: flex;
    flex-direction: column;
    gap: 1.5rem;

    margin-inline: auto;
    padding: 1rem;
    background-color: rgb(238, 237, 237);
    list-style: none;

    text-align: center;
}

.catalog-filters-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;

    gap: 0.5rem;
    /*overflow-y: auto;*/
}

.url-filter {
    width: 100%;
    /*height: 30px;*/
    color: rgba(0, 0, 0, 0.7);
    text-transform: uppercase;
    text-decoration: none;
    word-wrap: break-word;
    background-color: white;
    border: 1px solid #404040;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    /*margin-inline: auto;*/
    transition: all 0.2s ease;
    padding: 0.5rem 1rem;
    white-space: nowrap;
}

.btn-filter {
    width: 100%;
    /*height: 30px;*/
    color: rgba(0, 0, 0, 0.7);
    text-transform: uppercase;
    text-decoration: none;
    word-wrap: break-word;
    background-color: white;
    border: 1px solid #404040;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    /*margin-inline: auto;*/
    transition: all 0.2s ease;
    padding: 0.5rem 1rem;
    white-space: nowrap;
}

.btn-filter:active { /* Имитация нажатой кнопки, передвигающейся вниз */
    transform: translateY(2px);
}

.btn-filter:hover {
    background-color: #404040;
    color: #fff;
    border: 1px solid #fff;
    text-decoration: none;
    cursor: pointer;
}

.btn-filter.is-active {
    background-color: #00dada;
    color: black;
    border: 1px solid black;
    text-decoration: none;
    cursor: pointer;
}

.button-copy-url {
    position: relative;
    width: 33.5px;
    height: 33.5px;
    border: 1px solid black;
    border-radius: 3px;
    background-color: rgba(0, 0, 0, 0);
    cursor: pointer;
}

.catalog-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.catalog-container .breadcrumbs {
    align-self: start;
    margin-left: 2rem;
}

.catalog-container h1 {
    font-size: var(--font24pxTo1_5Rem);
}

.catalog-item-flex-container {
    /*width: 85%;*/
    display: flex;

    flex-direction: row;
    flex-wrap: wrap;

    justify-content: center;
    gap: 1rem;

    /*margin-left: 100px;*/
    /*align-items: center;*/
    padding-inline: 0;
    /*margin-inline: auto;*/
    /*padding: 1rem;*/
}


.dropdown-filter, #dropdown-btn-filter, #dropdown-btn-filter-2 {
    display: none;
}

/*#endregion*/

/*#region---Info-page---*/

.info-page {
width: 100%;
    /*margin-top: calc(86px + 2dvh);*/
}
.info-page .container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

}

.info-page .catalog-filters-container {
    flex-direction: row;
}
/*#endregion*/

/*#region---Guide---*/

.guide {
    width: 100%;
    /*padding-top: calc(66px + 2dvh);*/
    /*background: #fbf6e5;*/
}

.guide .container {

    width: 100%;

    margin-top: calc(86px + 2dvh);
    margin-inline: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: start;

    padding: 0 1rem 2rem 1rem;
    color: black;
}


/*.guide h1 {*/
/*    flex-basis: 100%;*/
/*    text-transform: uppercase;*/
/*    font-size:  var(--font34pxTo2_125Rem);*/
/*    color: black;*/
/*}*/

.article-flex-container {
    width: 85%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;

    padding: 0 1rem;
}

article {
    /*background: #fbf6e5;*/
    /*padding-top: calc(66px + 2dvh);*/
}

article .breadcrumbs {
    display: flex;
    gap: 5px;
    margin: 1rem 0;
    /*background: #fbf6e5;*/

}


.article_text {
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 20px;
    /*background: #fbf6e5;*/
}

.content h1 {
    line-height: 1.3;
}

article img {
    /*width: 70%;*/
}

.article_text h2 {
    margin: 2em 0 1em 0;
}

.article_text p,
.article_text ul {
    margin: 1em 0;
}

article a {
    text-decoration: none;
    color: #0f7afc;
    /*border-bottom: 1px solid rgba(15, 122, 252, 0.2);*/
}

article a:hover,
article a:focus {
    cursor: pointer;
    text-decoration: none;
    color: #007E7EFF;
    border-bottom: 1px solid #007E7EFF;
}

.article-video {
    width: 960px;
    /*height: 540px;*/
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.art_top {
    margin-top: 90px;
    /*color: black;*/
}

.art_top img {
    width: 100%;

    object-fit: cover;
}

/*.gradient_header {*/
/*    width: 100%;*/
/*    height: 60%;*/

/*    bottom: 0;*/
/*    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 1));*/
/*    display: flex;*/
/*}*/

.art_header {

    /* ширина и высота 2 блока в % */
    /*height: 80%;*/
    /*width: 80%;*/
    /* Значения определяются в зависимости от его размера в % */
    /*left: 10%; !* (100% - width) / 2 *!*/
    /*top: 10%; !* (100% - height) / 2 *!*/
    text-align: center;
    line-height: normal;
    margin: auto;
    color: black;
    font-size: var(--font34pxTo2_125Rem);
    /*text-shadow: 0 2px 5px rgba(0, 0, 0, 1);*/
}

.art_description {
    position: absolute;
    color: #FFFFFF;
    padding-top: 35%;
    margin-left: 30%;
    font-size: 24px;
    line-height: 1.5em;
    max-width: 600px;
}

.theory_cont,
.lessons_cont {
    padding-left: 10%;
    line-height: 2em;
    color: #c0c0c0;
}

.theory_cont ul,
.lessons_cont ul {
    list-style: none;
}

.theory_cont .dark_color,
.lessons_cont .dark_color {
    color: #404040;
    font-weight: bolder;
}

.theory_cont a,
.lessons_cont a {
    color: #404040;
}

.theory_cont a:hover,
.lessons_cont a:hover {
    color: black;
    text-decoration: none;
}

/*ТИМУР*/

.guide .catalog-item {
    /*background-color: #FFFFFF;*/
    /*margin-top: 20px;*/
    width: calc((100% - 3rem) / 2);

    height: 120px;

    flex-direction: row;
    justify-content: space-between;
    /*aspect-ratio: 3 / 1;*/
    padding: 10px;
    border: 1px solid #404040;
    border-radius: 5px;
    color: black;
}


.guide .catalog-item-flex {
    display: flex;
    max-width: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding: 5px;
}

.guide .catalog-item h2 {
    max-width: 100%;
    font-size: 18px;
    line-height: 1.24;
    font-weight: 600;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;

    -webkit-font-smoothing: antialiased;
    padding: 0 5px;
}

.guide .catalog-item a {

    text-decoration: none;
    background-color: transparent;
    border: none;
}

.guide .catalog-item img {
    width: 150px;
    height: 100px;
    object-fit: cover;

}

/*.guide .catalog-item img:before {*/
/*    content: ' ';*/
/*    display: block;*/
/*    position: absolute;*/
/*    height: 100px;*/
/*    width: 100px;*/
/*    background: url(https://darkfoils.ru/img/articles/articles_images.png) no-repeat;*/
/*    background-size: cover;*/
/*}*/


.guide .description {

    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    tab-size: 14px;
    font-style: italic;
}

/*#endregion*/

/*#region---Terms---*/

.terms {
    width: 100%;
    /*padding-left: 5%;*/
    padding: calc(66px + 2dvh) 2rem 2rem;
}

.terms > .container {
    width: 100%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    color: black;
}

.terms h3 {
    font-size: var(--font20pxTo1_25Rem);
    padding: 1rem 0;
}

.terms details {
    padding: 1rem 0 0 0;
}

.terms details > summary:before {
    top: 50%;
}

.terms ul li {
    padding: 5px 0;
    list-style-type: none;
}

.terms li:before {
    content: "• ";
}

.terms ul li ul li {
    padding: 5px 20px;
    list-style-type: none;
}

.terms p {
    padding: 5px 0;
}

/*#endregion*/

/*#region---Product---*/

/*Товары*/
.product-card .container {
    width: 100%;
    max-width: 1440px;
    margin-inline: auto;
    margin-top: calc(86px + 2dvh);

    display: flex;
    flex-direction: column;
    align-items: end;
    color: black;
}

.product-card p {
    margin: 1rem 0;
}

.product-card-flex-container {
    width: 100%;
    margin-inline: auto;

    display: flex;
    flex-direction: column;
    align-items: end;
}

.product-title {
    display: flex;
    flex-direction: column;
    align-items: start;
    padding: 0 1rem;
}

.product-title .item-units {
    font-size: var(--font24pxTo1_5Rem);
}

.product-title .item-units .sup {
    font-size: var(--font18pxTo1_125Rem);
}

.product-card-flex-container-2 {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: end;
}

.picture-container {
    width: 60%;
    min-width: 60%;

    display: flex;
    flex-direction: row;
    align-items: center;
}

.product-info-container {
    width: 40%;
    min-width: 40%;
    margin-top: 1rem;

    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
}

.product-info {
    padding: 1rem;
    width: 100%;

    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    gap: 1rem;
}

.form-group-product {
    min-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 1rem;
}

.form-group-product > div {
    min-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 0.3rem;
}

select {
    border: 1px solid gray;
    border-radius: 3px;
    width: 100%;
    height: 2rem;
    background-color: rgba(0, 0, 0, 0);
    font-size: var(--font18pxTo1_125Rem);
    color: black;
    padding: 0 0.5rem;
}

.product-title svg {
    width: 42px;
    height: auto;
    flex-shrink: 0;
}

.product-title h1 {
    display: inline;
    /*font-size: 2dvw;*/
    white-space: normal;
}

.description h2 {
    display: inline;
    /*font-size: 1.5dvw;*/
    white-space: normal;
}

#price-count {
    min-width: 100%;

    display: flex;
    flex-direction: column;
    align-items: start;

    border-top: 1px solid black;
    padding-top: 1rem;
}

.parameters {
    font-size: var(--font16pxTo1Rem);
    width: 100%;

    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
    gap: 1rem;

    padding: 0 1rem;
}

.parameters label {
    margin: 2% 0;
    font-weight: bolder;
}

.price span {
    display: inline-block;
    font-size: var(--font24pxTo1_5Rem);
    font-weight: 500;
    margin-bottom: 1rem;
}

.small-picture-container {
    width: 20%;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;

    padding-inline: 1rem;
}

.small-picture-container img {
    cursor: pointer;
    border: 1px solid black;
}

.slider {
    width: 80%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    overflow: hidden; /* Скрываем лишние слайды */
    position: relative;
}

.slides {
    display: flex; /* Располагаем изображения горизонтально */
    transition: transform 0.5s ease; /* Анимация перехода */
}

.slides img {
    flex-shrink: 0; /* Запрещаем сжатие изображений */
}

.btn-slider {
    width: 32px;
    height: 32px;
    position: absolute;
    top: 50%;
    cursor: pointer;
}

.prev {
    left: 10px;
    background-position: -450px 0;
}

.prev:hover {
    background-position: -450px -50px;
}

.next {
    right: 10px;
    background-position: -500px 0;
}

.next:hover {
    background-position: -500px -50px;
}

.description {
    width: 100%;
    padding-inline: 2rem;
}

.description h3 {
    text-transform: uppercase;
    font-size: 24px;
    margin: 1rem 0;
}

.description p {
    margin: 1rem 0;
}

details {
    interpolate-size: allow-keywords;

    &::details-content {
        transition: block-size 500ms,
        content-visibility 500ms allow-discrete;
        overflow: hidden;
        block-size: 0; /* Or also:  height:0; */
    }

    &[open]::details-content {
        block-size: auto; /* Or also:  height:auto; */
        /*border-bottom: 1px gray solid;*/
    }
}

.details {
    width: 100%;
    position: sticky;

    margin-inline: auto;
    border-bottom: 1px gray solid;
}

.details ul ul {
    margin: 0 0 0 1rem;
}

.screw > ul > li {
    /*font-weight: bold;*/
}

.details ul li, .details p {
    margin: 1rem 0;
    list-style-type: none;
}


details ul li:before {
    content: "• ";
}

.details > summary {
    position: relative;
    box-sizing: border-box;
    min-height: 2.5rem;
    padding: 5px 3.25rem 5px 0;
    font-size: var(--font24pxTo1_5Rem);
    overflow-wrap: anywhere;
    cursor: pointer;
    list-style: none;
}

.details[open] > summary {
    font-weight: 600;
}

.details > summary::-webkit-details-marker {
    display: none; /* Для Chrome и Safari */
}

.details > summary::marker {
    content: "";
}

.details > summary:before {
    position: absolute;
    top: 50%;
    right: 0.5rem;
    width: 2rem;
    height: 2rem;
    display: grid;
    place-items: center;
    content: "+";
    font-size: var(--font24pxTo1_5Rem);
    line-height: 1;
    transform: translateY(-50%);
}

.details[open] > summary:before {
    content: "−";
}

/*#endregion*/

/*#region---404---*/






/*#endregion*/

/*#region---Болванка---*/



/*#endregion*/
