/*
Theme Name: crystal
Author: @artemweb10
Description: Description
Version: 1.0.0
Text Domain: crystal
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

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

:root {
    --gray-light: #E8E8E8;
    --gray: #8F8F8F;
    --dark: #161920;
    --white: #fff;
    --brown: #C6AC68;
    --yellow: #FFEBA8;
    --yellow-gradient: linear-gradient(2.37deg, #FFE998 35.64%, #D1AD7F 171.52%);
    --red: #DD0F0F;
    --border-light-gray: #F5F5F5;
    --border-gray: #D7D7D7;
    --border-brown: #8B806E;
    --transition: all .3s ease;
}

html {
    height: 100%;
    scroll-behavior: auto !important;
}

body {
    font-family: "Manrope", sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1em;
    letter-spacing: 0px;
    color: var(--dark);
    /* overflow-x: hidden; */
}

body.lock {
    overflow: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--gray-dark);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 9;
}

body.overlay::before {
    transition-delay: 0.15s;
    opacity: 0.3;
    visibility: visible;
}

.main,
.footer {
    overflow-x: hidden;
}

.no-overflow-page {
    overflow: initial;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 60px;
}

.e-con.e-parent {
    padding: 0px !important;
}

.e-con.e-parent>.e-con-inner {
    padding: 0px 60px;
}

.advantages-list .e-con>.e-con-inner {
    margin: 0;
}

input,
textarea,
button {
    font-family: "Manrope", sans-serif;
}

button {
    border: none;
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

@media (max-width: 1279px) {
    .swiper-full-width {
        margin-right: calc((100% - 100vw) / 2);
        margin-left: -40px;
        padding-left: 40px;
        padding-right: 40px;
    }
}

@media (max-width: 1023px) {
    .container,
    .e-con.e-parent>.e-con-inner {
        padding: 0 40px;
    }
}

@media (max-width: 767px) {
    body {
        font-size: 18px;
    }

    .container,
    .e-con.e-parent>.e-con-inner,
    .full-width {
        padding: 0 20px;
    }

    .swiper-full-width {
        margin-left: -20px;
        padding-left: 20px;
        padding-right: 20px;
    }
}

/*---------- TYPOGRAPHY ----------*/

h1,
.h1,
.h1 h1,
.h1 .elementor-heading-title {
    font-family: "Manrope", sans-serif;
    font-size: 64px;
    font-weight: 400;
    line-height: 120%;
    letter-spacing: -2%;
}

h2,
.h2,
.h2 h2,
.h2 .elementor-heading-title {
    font-family: "Manrope", sans-serif;
    font-size: 54px;
    font-weight: 400;
    line-height: 120%;
    letter-spacing: -2%;
}

h3,
.h3,
.h3 h3,
.h3 .elementor-heading-title {
    font-family: "Manrope", sans-serif;
    font-size: 36px;
    font-weight: 400;
    line-height: 120%;
    letter-spacing: -2%;
}

h4,
.h4,
.h4 h4,
.h4 .elementor-heading-title,
.h4.btn.simple {
    font-family: "Manrope", sans-serif;
    font-size: 26px;
    font-weight: 400;
    line-height: 120%;
    letter-spacing: -2%;
}

h5,
.h5,
.h5 h5,
.h5 .elementor-heading-title,
.h5.btn.simple {
    font-family: "Manrope", sans-serif;
    font-size: 22px;
    font-weight: 500;
    line-height: 120%;
    letter-spacing: -2%;
}

.body-1,
.body-1.btn.simple {
    font-family: "Manrope", sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 140%;
    letter-spacing: -2%;
}

.body-2 {
    font-family: "Manrope", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 130%;
    letter-spacing: -2%;
}

.caption {
    font-family: "Manrope", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 110%;
    letter-spacing: -2%;
}

.main ul>li,
.seo-section ul>li {
    position: relative;
    list-style-type: none;
    padding-left: 1.3em;
}

.main ul>li:not([class])::before,
.seo-section ul>li:not([class])::before {
    content: "";
    position: absolute;
    top: 7px;
    left: 1px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--brown);
}

@media (max-width: 1023px) {}

@media (max-width: 767px) {
    h1,
    .h1,
    .h1 h1,
    .h1 .elementor-heading-title {
        font-size: 40px;
    }

    h2,
    .h2,
    .h2 h2,
    .h2 .elementor-heading-title {
        font-size: 32px;
    }

    h3,
    .h3,
    .h3 h3,
    .h3 .elementor-heading-title {
        font-size: 26px;
    }

    h4,
    .h4,
    .h4 h4,
    .h4 .elementor-heading-title,
    .h4.btn.simple {
        font-size: 22px;
    }

    h5,
    .h5,
    .h5 h5,
    .h5 .elementor-heading-title,
    .h5.btn.simple  {
        font-size: 18px;
    }

    .body-1,
    .body-1.btn.simple {
        font-size: 16px;
    }

    .body-2 {
        font-size: 14px;
    }

    .caption {
        font-size: 12px;
    }
}

/*---------- TYPOGRAPHY END ----------*/

/*---------- COLORS ----------*/

.dark {
    color: var(--dark);
}

.white {
    color: var(--white);
}

.gray-light {
    color: var(--gray-light);
}

.gray-dark {
    color: var(--gray);
}

.yellow {
    color: var(--yellow);
}

/*---------- COLORS END ----------*/

/*---------- BUTTONS ----------*/

.btn,
.button.elementor-widget-button .elementor-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 306px;
    min-height: 53px;
    padding: 6px 10px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
}

.button.elementor-widget-button .elementor-button {
    width: 100%;
    min-width: auto !important;
    max-width: 306px;
}

.btn:hover,
.button.elementor-widget-button .elementor-button:hover {
    background-color: var(--green-hover);
}

.btn:disabled,
.btn.disabled,
.btn.btn-green:disabled,
.btn.btn-green.disabled,
.btn.btn-with-icon:disabled,
.btn.btn-with-icon.disabled,
.button.elementor-widget-button .elementor-button:disabled,
.button.disabled.elementor-widget-button .elementor-button,
.button.button-with-icon.elementor-widget-button .elementor-button:disabled,
.button.button-with-icon.disabled.elementor-widget-button .elementor-button {
    background-color: var(--gray);
    cursor: default;
    pointer-events: none;
}

.btn.btn-with-icon:disabled .icon,
.btn.btn-with-icon.disabled .icon,
.button.button-with-icon.elementor-widget-button .elementor-button:disabled .elementor-button-icon,
.button.button-with-icon.disabled.elementor-widget-button .elementor-button .elementor-button-icon {
    fill: #495C62;
    color: #495C62;
}

/* Buttons - Types - Simple */
.btn.simple,
.button.simple.elementor-widget-button .elementor-button {
    position: relative;
    min-width: auto;
    min-height: auto;
    padding: 0 0 3px 0;
    text-decoration: none;
    border: none;
    background-color: transparent !important;
}

.btn.simple::after,
.button.simple.elementor-widget-button .elementor-button::after {
    content: "";
    display: block;
    width: 0%;
    height: 1px;
    position: absolute;
    left: 50%;
    bottom: 0;
    background-color: var(--blue-dark);
    transform: translateX(-50%);
    transition: var(--transition);
    opacity: 1;
}

.btn.simple.reverse::after,
.button.simple.reverse.elementor-widget-button .elementor-button::after {
    width: 100%;
}

/* Button Simple white */

.white.btn.simple:hover::after,
.white.button.simple.elementor-widget-button .elementor-button:hover::after {
    width: 100%;
    background-color: var(--white);
}

/* Button Simple yellow */

.yellow.btn.simple:hover::after,
.yellow.button.simple.elementor-widget-button .elementor-button:hover::after {
    width: 100%;
    background-color: var(--yellow);
}

/* Button Simple brown */

.brown.btn.simple:hover::after,
.brown.button.simple.elementor-widget-button .elementor-button:hover::after {
    width: 100%;
    background-color: var(--brown);
}

.btn.simple.reverse:hover::after,
.button.simple.reverse.elementor-widget-button .elementor-button:hover::after {
    width: 0%;
}

.btn.simple:disabled,
.btn.simple.disabled,
.button.simple.elementor-widget-button .elementor-button:disabled,
.button.simple.disabled.elementor-widget-button .elementor-button {
    color: var(--gray);
}

/* Buttons - Types - With icon */
.btn.btn-with-icon,
.button.button-with-icon.elementor-widget-button .elementor-button {
    position: relative;
    z-index: 1;
    overflow: hidden;
    min-width: fit-content;
    width: fit-content;
    border-radius: 100px;
}

.btn.btn-with-icon::before,
.button.button-with-icon.elementor-widget-button .elementor-button::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--yellow-gradient);
    transition: opacity 0.3s ease;
    z-index: -1;
    opacity: 1;
}

.button.button-with-icon.elementor-widget-button .elementor-button {
    min-width: auto !important;
    max-width: 240px;
}

.btn.btn-with-icon,
.button.button-with-icon.elementor-widget-button .elementor-button-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid var(--yellow);
}

.button.button-with-icon.elementor-widget-button .elementor-button-content-wrapper {
    width: 100%;
}

.btn.btn-with-icon .title,
.button.button-with-icon.elementor-widget-button .elementor-button-text {
    padding: 0px 40px;
    display: inline-flex;
    color: var(--dark);
    transition: var(--transition);
}

.btn.btn-with-icon .icon,
.button.button-with-icon.elementor-widget-button .elementor-button-icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0 !important;
    color: var(--white);
    background-color: var(--dark);
    border-radius: 50%;
    transition: var(--transition);
}

.btn.btn-with-icon .icon svg,
.button.button-with-icon.elementor-widget-button .elementor-button-icon svg {
    width: 1em;
    height: 1em;
}

.btn.btn-with-icon:hover,
.button.button-with-icon.elementor-widget-button .elementor-button:hover {
    background-color: var(--dark); /* будет виден при opacity: 0 у псевдоэлемента */
    border-color: var(--dark);
    transition: var(--transition);
}

.btn.btn-with-icon:hover::before,
.button.button-with-icon.elementor-widget-button .elementor-button:hover::before {
    opacity: 0;
}

.btn.btn-with-icon:hover .title,
.button.button-with-icon.elementor-widget-button .elementor-button:hover .elementor-button-text {
    color: var(--white);
}

.btn.btn-with-icon:hover .icon,
.button.button-with-icon.elementor-widget-button .elementor-button:hover .elementor-button-icon {
    color: var(--dark);
    background-color: var(--yellow);
}

/* Button with icon - 2 */

.btn.btn-with-icon-2:hover,
.button.button-with-icon-2.elementor-widget-button .elementor-button:hover {
    border-color: var(--white);
}

.btn.btn-with-icon-2:hover .icon,
.button.button-with-icon-2.elementor-widget-button .elementor-button:hover .elementor-button-icon {
    background-color: var(--white);
}

/* Buttons - Button icon */

.btn-circle.btn-icon {
    position: relative;
    overflow: hidden;
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--border-light-gray);
    color: var(--dark);
    border-radius: 50%;
    transition: var(--transition);
}

.btn-circle.btn-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--yellow-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
    border-radius: 50%;
}

.btn-circle.btn-icon:hover::before {
    opacity: 1;
}

.btn-circle.btn-icon > * {
    position: relative;
    z-index: 1;
}


.btn-circle.btn-icon svg {
    width: 12px;
    height: 12px;
}

/* Circle plus button */

.active .btn-circle-plus.btn-circle.btn-icon svg path:last-child {
    opacity: 0;   
}

/* Simple arrow button */

.btn-arrow {
    margin: 0px 8px 0px 0px;
    display: flex;
    align-items: center;
}

@media (max-width: 1359.75px) {}

@media (max-width: 1023px) {}

@media (max-width: 767px) {
    .btn,
    .button.elementor-widget-button .elementor-button {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .btn.btn-with-icon, 
    .button.button-with-icon.elementor-widget-button .elementor-button-content-wrapper {
        min-width: 100%;
    }

    .btn.btn-with-icon .title, 
    .button.button-with-icon.elementor-widget-button .elementor-button-text {
        width: 100%;
        padding: 0px 32px;
        justify-content: center;
    }
}

/*---------- BUTTONS END ----------*/

/*---------- FORM ----------*/

.form {}

.form-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0px 0px 10px;
}

.form-field {
    position: relative;
    width: 100%;
    /* height: 100%; */
}

.form-field.w50 {
    width: calc(50% - 5px);
}

.form-field>label {
    position: absolute;
    top: 50%;
    left: 24px;
    right: 24px;
    overflow: hidden;
    color: var(--gray);
    transition: var(--transition);
    transition-duration: 0.4s;
    transform: translateY(-50%);
    white-space: nowrap;
    pointer-events: none;
    z-index: 1;
}

.form-field--textarea>label {
    top: 22px;
}

.form-field .wpcf7-form-control-wrap {
    display: flex;
}

.form-field input,
.form-field textarea {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
    width: 100%;
    min-height: 53px;
    padding: 0 24px;
    color: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 100px;
    background: var(--white-secondary);
    transition: var(--transition);
    cursor: pointer;
}

.form-field input::-webkit-input-placeholder {
    transition: var(--transition);
}

.form-field input:-moz-placeholder {
    transition: var(--transition);
}

.form-field textarea {
    height: 110px;
    resize: none;
}

.form-field input:-webkit-autofill {
    -webkit-box-shadow: inset 0 0 0 50px var(--white) !important;
    -webkit-text-fill-color: var(--blue-dark) !important;
    color: var(--blue-dark) !important;
}

.form-field input.wpcf7-not-valid,
.form-field textarea.wpcf7-not-valid {
    color: var(--red) !important;
    border-color: var(--red);
}

.form-field input.wpcf7-not-valid::-webkit-input-placeholder {
    color: var(--red) !important;
}

.form-field input.wpcf7-not-valid:-moz-placeholder {
    color: var(--red) !important;
}

.form-field>label:has(+ span input.wpcf7-not-valid),
.form-field>label:has(+ span textarea.wpcf7-not-valid) {
    color: var(--red) !important;
}

.form-field--privacy {
    margin-bottom: 8px;
}

.form-field--privacy .wpcf7-list-item {
    margin: 0;
}

.form-field--privacy .wpcf7-list-item>label {
    position: relative;
    display: flex;
    font-size: 14px;
    cursor: pointer;
}

.form-field--privacy .wpcf7-list-item>label::before {
    content: '';
    display: inline-flex;
    flex-grow: 0;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin-right: 0.75em;
    background-color: transparent;
    border: 1px solid var(--blue-dark);
    border-radius: 2px;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    transition: var(--transition);
}

.form-field--privacy .wpcf7-list-item>label:hover::before {
    background-color: var(--blue-dark);
}

.form-field--privacy .wpcf7-list-item>label:has(input[type=checkbox]:checked)::before {
    background-color: var(--blue-dark);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3e%3cpath d='M17.2559 4.41107C17.5814 4.73651 17.5814 5.26414 17.2559 5.58958L8.08926 14.7562C7.76382 15.0817 7.23618 15.0817 6.91074 14.7562L2.74408 10.5896C2.41864 10.2641 2.41864 9.73651 2.74408 9.41107C3.06951 9.08563 3.59715 9.08563 3.92259 9.41107L7.5 12.9885L16.0774 4.41107C16.4028 4.08563 16.9305 4.08563 17.2559 4.41107Z' /%3e%3c/svg%3e");
}

.form-field--privacy input {
    display: none;
}

.form-field .wpcf7-not-valid-tip {
    display: none;
}

.form-buttons {
    display: flex;
}

.form-buttons.w50 {
    width: calc(50% - 12px);
}

.form-fields+.form-buttons {
    margin-top: 24px;
}

.form-button {
    position: relative;
    display: flex;
    width: 100%;
    color: var(--white);
    border: none;
    overflow: hidden;
    z-index: 1;
}

.form-button input[type="submit"] {
    appearance: none;
    border: none;
    cursor: pointer;
}

.form-buttons.w50 .form-button input[type="submit"],
.form-button--wide input[type="submit"] {
    width: 100%;
    min-width: 100%;
}

.form-button--search {
    display: none;
}

.form-buttons .wpcf7-spinner,
.form .wpcf7-response-output {
    display: none;
}

/* Form - Hover and focus effects */
.form-field label:hover,
.form-field>label:has(+ input:hover),
.form-field>label:has(+ input:focus),
.form-field>label:has(+ span input:hover),
.form-field>label:has(+ span input:focus),
.form-field input:hover,
.form-field input:focus,
.form-field>label:has(+ textarea:hover),
.form-field>label:has(+ textarea:focus),
.form-field>label:has(+ span textarea:hover),
.form-field>label:has(+ span textarea:focus),
.form-field textarea:hover,
.form-field textarea:focus,
.form-field.filled label,
.form-field.filled input,
.form-field.filled textarea {
    color: var(--white);
    border-color: var(--brown);
}

.form-field>input:hover,
.form-field>input:focus,
.form-field>textarea:hover,
.form-field>textarea:focus,
.form-field--select label:hover,
.form-field.filled label + input,
.form-field.filled label + textarea {
    border-color: var(--brown);
}

.form-field input:hover::-webkit-input-placeholder {
    color: var(--blue-dark);
}

.form-field input:hover:-moz-placeholder {
    color: var(--blue-dark);
}

.form-field.filled>label {
    left: 40%;
    opacity: 0;
}

@media (max-width: 1023px) {
    .form-field.filled>label {
        display: none;
    }

    .form-buttons {
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .form-fields {
        gap: 16px;
    }

    .form-field>label {
        left: 16px;
    }

    .form-field input,
    .form-field textarea {
        min-height: 46px;
        padding: 0px 16px;
        font-size: 14px;
    }

    .form-button input[type="submit"] {
        min-height: 58px;
    }
}

@media (max-width: 499.75px) {
    .form-field.w50,
    .form-buttons.w50,
    .form-button {
        width: 100%;
    }
}

/*---------- FORM END ----------*/

/*---------- GLOBAL ----------*/

#global-overlay,
#cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

#cart-overlay {
    display: none;
    position: absolute;
    inset: 0; /* перекрывает весь cart-popup */
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.overlay-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/*---------- GLOBAL END ----------*/


/*---------- BREADCRUMBS ----------*/

.breadcrumbs {
    margin: 0px 0px 16px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 2px 14px;
}

span.breadcrumbs-item:not(:last-child) {
    color: var(--dark);
}

.breadcrumbs .breadcrumbs-item a {
    transition: var(--transition);
}

.breadcrumbs .breadcrumbs-item a:hover {
    color: var(--brown);
}

.breadcrumbs .breadcrumbs-separator {
    height: 1px;
    width: 64px;
    display: inline-flex;
    background-color: var(--border-gray);
}

.breadcrumbs .breadcrumbs-separator svg {
    width: 8px;
    height: 9px;
}

.breadcrumbs-item.breadcrumbs-item--last {
    color: var(--border-gray);
}

@media (max-width: 767px) {
    .breadcrumbs {
        margin: 0px 0px 20px;
    }
}

/*---------- BREADCRUMBS END ----------*/

/*---------- POPUPS ----------*/

.mfp-bg {
    background: var(--gray-dark);
}

.mfp-container {
    padding: 36px !important;
    overflow-y: auto;
}

/* Animation - Zoom In */

.mfp-zoom-in {
    opacity: 0;
    transition: var(--transition);
}

.mfp-wrap.mfp-zoom-in {
    transform: scale(0.8);
}

.mfp-bg.mfp-zoom-in.mfp-ready {
    opacity: 0.3;
}

.mfp-wrap.mfp-zoom-in.mfp-ready {
    opacity: 1;
    transform: scale(1);
}

.mfp-zoom-in.mfp-removing {
    opacity: 0 !important;
}

.mfp-wrap.mfp-zoom-in.mfp-removing {
    transform: scale(0.8);
}

/* Animation - Zoom In - END */

/* Animation - Fade */

.mfp-fade {
    opacity: 0;
    transition: var(--transition);
}

.mfp-bg.mfp-fade.mfp-ready {
    opacity: 0.3;
}

.mfp-wrap.mfp-fade.mfp-ready {
    opacity: 1;
}

.mfp-fade.mfp-removing {
    opacity: 0 !important;
}

/* Animation - Fade - END */

.popup {
    position: relative;
    max-width: 654px;
    margin: 0 auto;
    padding: 40px 80px;
    background: var(--white-secondary);
}

.popup-title {
    max-width: 360px;
    margin: 0 auto 20px;
    text-align: center;
}

.popup-close {
    position: absolute;
    top: 34px;
    right: 34px;
    display: flex;
    width: 25px;
    height: 25px;
    color: var(--gray-light);
    transition: var(--transition);
    cursor: pointer;
}

.popup-close svg {
    width: 100%;
    height: 100%;
}

.popup-close:hover {
    color: var(--red);
}

@media (max-width: 767px) {
    .mfp-container {
        padding: 18px !important;
    }

    .popup {
        padding: 30px;
    }

    .popup-close {
        top: 12px;
        right: 12px;
        width: 16px;
        height: 16px;
    }
}

.simple-modal {
    position: fixed;
    top: 50px;
    left: 0;
    display: flex;
    align-items: center;
    width: 100%;
    height: calc(100dvh - 50px);
    padding: 100px 0;
    overflow: auto;
    overscroll-behavior: contain;
    background: #16192099;
    z-index: 1111111;
    visibility: hidden;
    opacity: 0;
    transition: 0.33s ease-in-out;
    z-index: -1;
}

.simple-modal.show {
    visibility: visible;
    opacity: 1;
    z-index: 3;
}

.simple-modal-window {
    position: relative;
    width: 745px;
    padding: 60px;
    border: 1px solid #ADBCB4;
    border-radius: 24px;
    box-shadow: 0 0 4px 0 #12332233;
    background: #FFF;
    margin: auto;
}

.simple-modal-window__close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 38px;
    height: 38px;
    display: flex;
    padding: 5px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: none;
    transition: var(--transition);
}

/* Newsletter modal */

.newsletter-modal-window.simple-modal-window {
    position: relative;
    overflow: hidden; /* чтобы алмазы не вылазили */
    padding: 28px 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--dark);
    border-color: var(--dark);
}

.newsletter-modal-window .simple-modal-window__close {
    color: var(--white);
}

.newsletter-modal-window .simple-modal-window__close:hover {
    color: var(--yellow);
}

.newsletter-modal-window .simple-modal-window__content {
    position: relative;
    padding: 0px 50px;
    width: 566px;
    height: 566px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    backdrop-filter: blur(1px);
    background-color: rgba(42, 46, 57, 0.2);
    text-align: center;
    z-index: 2;
}

.newsletter-modal-window .form-title {
    color: var(--gray);
}

.newsletter-modal-window .form-title strong {
    color: var(--white);
    font-weight: 400;
}

.newsletter-modal-window .spnl-form {
    margin: 40px 0px 0px;
    width: 100%;
    display: grid;
}

.newsletter-modal-window .btn,
.subscribe-form .btn
 {
    width: 100%;
}

.newsletter-modal-window .btn .title,
.subscribe-form .btn .spnl-subscribe {
    width: 100%;
    justify-content: center;
}

.newsletter-modal-window .spnl-msg,
.subscribe-form .spnl-msg {
    margin: 8px 0px 0px;
}

/* Контейнер для алмазов */
.falling-diamonds {
  position: absolute;
  inset: 0; 
  pointer-events: none;
  z-index: 1; 
}

/* Алмазы */
.diamond {
  position: absolute;
  top: -60px; 
  animation: fall 10s linear infinite;
}

/* каждому — своя позиция и задержка */
.diamond:nth-child(1) { left: 15%; transform: rotate(-65deg); animation-delay: 0s; }
.diamond:nth-child(2) { left: 75%; animation-delay: 2s; }
.diamond:nth-child(3) { left: 35%; transform: rotate(-65deg); animation-delay: 4s; }
.diamond:nth-child(4) { left: 75%; animation-delay: 6s; }
.diamond:nth-child(5) { left: 50%; transform: rotate(); animation-delay: 8s; }

@keyframes fall {
  0% {
    top: -50px;
  }
  10% {
  }
  100% {
    top: 100%;
    opacity: 0;
  }
}

@media (max-width: 767px) {
    .simple-modal {
        padding: 20px;
    }
    .simple-modal-window {
        padding: 40px 24px;
    }

    /* Newsletter modal */

    .newsletter-modal-window.simple-modal-window {
        padding: 20px;
    }

    .newsletter-modal-window .simple-modal-window__content {
        padding: 0px;
        width: 100%;
        height: auto;
        background: transparent;
        backdrop-filter: blur(0px);
    }

    .newsletter-modal-window .form-title {
        position: relative;
        padding: 0px 24px;
        width: 280px;
        height: 280px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        border-radius: 100%;
        backdrop-filter: blur(1px);
        background-color: rgba(42, 46, 57, 0.2);
        text-align: center;
        z-index: 2;
    }

    .diamond:nth-child(1) svg { width: 52px; }
    .diamond:nth-child(2) svg { width: 42px; }
    .diamond:nth-child(3) svg { width: 70px; }
    .diamond:nth-child(4) svg { width: 42px; }
    .diamond:nth-child(5) svg { width: 46px; }
}

/*---------- POPUPS END ----------*/


/*---------- HEADER ----------*/

header {
    position: fixed;
    top: 50px;
    left: 0;
    width: 100%;
    border-bottom: 0px solid var(--gray-light);
    transition: var(--transition);
    z-index: 1001;
}

header.scroll-header {
    top: 0px;
}

body.admin-bar header {
    top: 32px;
}

header+main,
header+div[data-elementor-type="single-post"],
header+div[data-elementor-type="archive"] {
    margin-top: 111px;
}

header .header-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 44px;
    margin: 0 calc((100% - 100vw) / 2);
    background: var(--white);
}

header .logo {
    flex-shrink: 0;
    max-width: 188px;
}

header .logo a {
    display: flex;
}

header .logo svg {
    width: 100%;
    height: 100%;
}

header .logo img {
    height: auto;
    width: 100%;
}

header .header-main {
    width: 100%;
}

.header-bottom {
    background-color: var(--dark);
}

.header-bottom-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-additional-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.header-additional-links svg {
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
}

.header-additional-links svg:hover {
    color: var(--yellow);
}

.header-additional-links .cart-link {
    position: relative;
}

.header-additional-links .cart-link__count {
    position: absolute;
    top: -8px;
    right: -8px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 18px;
    width: 18px;
    font-size: 12px;
    font-weight: 500;
    color: var(--dark);
    background: var(--yellow-gradient);
    border-radius: 50%;
    transition: var(--transition);
}


.lang-switcher {
    position: relative;
    margin: 0px 6px 0px 0px;
}

header .header-bottom .menu {
    display: flex;
    align-items: center;
    gap: 36px;
}

header .menu .menu-wrapper {
    display: flex;
    width: 100%;
}

header .menu .menu-list {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
    width: 100%;
    list-style: none;
}

header .menu .current-menu-item>a {
    color: var(--yellow) !important;
}

header .burger-icon {
    display: none;
}

/* Black friday */

.black-friday-container {
    padding: 8px 20px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    background: black;
    color: var(--white);
}
.black-friday-text-xl {
    font-size: 20px;
}
.black-friday-text-2xl {
    font-size: 24px;
}
.black-friday-text-xl,
.black-friday-text-2xl {
    font-weight: 700;
}

.black-friday-text-red {
    color: var(--red);
}

/* Ticker */

.ticker-wrap {
    overflow: hidden;
    padding: 15px 0;
}

.ticker {
    display: flex;
    align-items: center;
}

.ticker__track {
    display: flex;
    align-items: center;
    gap: 24px;
    width: max-content;
    animation: tickerScroll 30s linear infinite; /* Увеличим время для 3 блоков */
}

.ticker__item {
    flex: 0 0 auto;
    font-size: 16px;
    white-space: nowrap;
    color: #333;
}

.ticker-divider {
    height: 1px;
    width: 64px;
    background-color: #1619205C;
}

@keyframes tickerScroll {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-33.333%);
    }
}

/* Language switcher */

.current-lang {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.current-lang span,
.current-lang svg,
.lang-option {
    transition: var(--transition);
}
 
.current-lang:hover span,
.current-lang:hover svg,
.lang-switcher.open span,
.lang-switcher.open svg {
    color: var(--yellow);
}

.current-lang svg,
.current-lang span,
.lang-option {
    color: var(--white);
}

.lang-switcher.open .current-lang svg {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 34%;
    transform: translateX(-50%) translateY(-10px); /* начальное смещение вверх */
    opacity: 0;
    pointer-events: none; /* чтобы нельзя было кликнуть */
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1;
    padding: 10px 14px;
    display: flex; /* всегда flex */
    flex-direction: column;
    gap: 8px;
    background: var(--dark);
    border: 1px solid var(--border-brown);
    border-radius: 12px;
}

.lang-option:hover {
    color: var(--yellow);
}

.lang-switcher.open .lang-dropdown {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

/* Megamenu */

.menu .sub-menu {
    display: none;
}
.mega-menu {
    display: none;
    position: absolute;
    top: 100%;
    left:50%;
    transform: translateX(-50%);
    z-index: 1000;
    padding: 32px 60px;
    width: 100%;
    display: flex;
    gap: 60px;
    background: var(--white);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-radius: 0px 0px 12px 12px;
}

.mega-left {
    width: 350px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    justify-content: space-between;
}

.mega-left-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mega-left .mega-item {
    width: fit-content;
    justify-content: flex-start;
    cursor: pointer;
    transition: var(--transition);
}

.mega-left .mega-item.active {
    color: var(--brown);
}

.mega-left .mega-item:focus {
    color: var(--brown);
}

.brown.btn.simple:focus::after {
    width: 100%;
    background-color: var(--brown);
}

.mega-right {
    flex: 1;
    padding: 10px 15px;
}

.mega-menu-submenu-container {
    display: grid;
    grid-template-columns: repeat(2, 220px);
    gap: 0px 80px;
}

.mega-menu-submenu-container li {
    list-style: none;
}

.mega-menu-submenu-container li a {
    width: fit-content;
    transition: var(--transition);
    text-decoration: none;
}

.mega-right .mega-submenu a {
    display: block;
    padding: 5px 0;
    color: #000;
    text-decoration: none;
}

.mega-right .mega-submenu a:focus,
.mega-right .mega-submenu a:hover {
    color: var(--brown);
}


.mega-image img {
    max-width: 208px;
    max-height: 196px;
    object-fit: contain;
    border-radius: 12px;
}

.accordion-item .btn-arrow svg {
    transition: var(--transition);
}

.accordion-item.active .btn-arrow svg {
    transform: rotate(180deg);
}

.mega-menu-catalog-btn {
    margin: 14px 0px;
}

/* Header popup cart - start */

.user-authorized path {
    stroke: var(--yellow);
}

.cart-popup-container {
    position: relative;
}

.cart-popup {
    position: absolute;
    top: 100%;
    right: 24px;
    width: 350px;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 9999;
    display: none;
}

.cart-popup__content {
    padding: 50px 24px 24px;
}

.cart-popup__content .cart-popup__close svg,
.cart-popup__content .cart-popup__item svg {
    cursor: pointer;
    transition: var(--transition);
}

.cart-popup__content .cart-popup__close svg {
    width: 30px;
    height: 30px;
    color: var(--dark);
}

.cart-popup__content .cart-popup__close svg:hover {
    color: var(--brown);
}

.cart-popup__content .cart-popup__item svg {
    color: var(--gray);
}

.cart-popup__content .cart-popup__item svg:hover {
    color: var(--brown)
}

.cart-popup__close {
    position: absolute;
    right: 10px;
    top: 10px;
    background-color: transparent;
    cursor: pointer;
}

.cart-popup__items {
    padding-bottom: 10px;
    max-height: 65vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cart-popup__item {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.cart-popup__item + .cart-popup__item {
    padding: 20px 0px 0px;
    border-top: 1px solid var(--border-gray);
}

.cart-popup__item img {
    width: auto;
    height: 90px;
}

.cart-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: space-between;
}

.cart-info-item-nowrap {
    white-space: nowrap;
}

.cart-popup__item-price {
    margin: 14px 0px 0px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cart-item-divider {
    position: relative;
    height: 1px;
    width: 100%;
    background-color: var(--border-gray);
}

.cart-item-divider.brown {
    background-color: var(--brown);
}

.cart-item-divider:before,
.cart-item-divider:after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--border-gray);
}

.cart-item-divider.brown:after,
.cart-item-divider.brown::before {
    background-color: var(--brown);
}

.cart-item-divider:before {
    left: 0;
}

.cart-item-divider::after {
    right: 0;
}

.cart-popup__total {
    margin: 20px 0px 0px;
}

.cart-popup__view-cart {
    margin: 20px 0px 0px;
}

.cart-popup__view-cart.btn.btn-with-icon,
.cart-popup__view-cart.btn.btn-with-icon .title {
    width: 100%;
}

.cart-popup__view-cart.btn.btn-with-icon .title {
    justify-content: center;
}

.btn.btn-with-icon:hover .icon svg {
    color: var(--dark);
}

.cart-popup__content .free-shipping {
    min-width: auto;
}

/* Header popup cart - end */

.desktop-only { display: flex; }
.mobile-only { display: none; }

@media (max-width: 1279.75px) {
    header .menu .menu-list,
    .header-additional-links,
    header .header-bottom .menu {
        gap: 16px;
    }
}

@media (max-width: 1023px) {
    header+main,
    header+div[data-elementor-type="single-post"],
    header+div[data-elementor-type="archive"] {
        margin-top: 105px;
    }

    header .header-wrapper {
        gap: 14px;
    }

    header .header-wrapper.active {
        box-shadow: 0px 4px 4px 0px #2E3A5914;
    }

    header .header-main .header-top {
        gap: 14px;
    }

    header .header-bottom .menu {
        position: absolute;
        top: -100vh;
        left: 0;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        width: 100%;
        padding: 36px 40px 0;
        min-height: calc(100dvh - 54px);
        height: 100%;
        background: var(--white);
        transition: var(--transition);
        transition-duration: 0.6s;
        z-index: -1;
        overflow: auto;
    }

    header .header-wrapper.active .menu {
        top: 70px;
    }

    header .header-bottom .menu a {
        color: var(--dark);
    }

    header .header-bottom .menu a:hover {
        color: var(--brown);
    }

    header .menu .menu-wrapper {
        flex-grow: 0;
        width: 100%;
        padding: 0px;
    }

    header .menu .menu-list {
        flex-direction: column;
        align-items: stretch;
        gap: 24px;
    }

    header .menu .menu-list a {
        font-size: 16px;
    }

    header .burger-icon {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 30px;
        height: 30px;
        margin-left: auto;
        cursor: pointer;
        z-index: 5;
        overflow: hidden;
        border-radius: 50%;
        background: var(--yellow-gradient);
    }

    header .burger-icon span {
        position: absolute;
        height: 1px;
        max-width: 12px;
        width: 100%;
        background: var(--dark);
        border-radius: 30px;
        transition: var(--transition);
    }

    header .burger-icon span:nth-child(1) {
        transform: translate(0px, -5px);
        transition-delay: 0s;
    }

    header .burger-icon span:nth-child(2) {
        max-width: 8px;
        width: 100%;
        transition-delay: 0.2s;
    }

    header .burger-icon span:nth-child(3) {
        transform: translate(0px, 5px);
        transition-delay: 0s;
    }

    header .header-wrapper.active .burger-icon span:nth-child(1) {
        transform: rotate(45deg);
        transition-delay: 0.15s;
    }

    header .header-wrapper.active .burger-icon span:nth-child(2) {
        right: -100%;
        transition-delay: 0s;
    }

    header .header-wrapper.active .burger-icon span:nth-child(3) {
        transform: rotate(-45deg);
        transition-delay: 0.15s;
    }

    .catalog-main-page-container {
        width: 100%;
    }

    .mobile-only { display: block; }
    .desktop-only { display: none; }
    .mega-menu-mobile {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .mega-menu-mobile .accordion-item {
        padding: 0px 0px 10px;
        border-bottom: 1px solid var(--border-gray);
    }

    .mega-menu-mobile .accordion-item .btn-circle.btn-icon svg {
        transition: var(--transition);
    }

    .mega-menu-mobile .accordion-item.active .btn-circle.btn-icon svg {
        transform: rotate(90deg);
    }
}

@media (max-width: 767px) {
    body.admin-bar header {
        top: 46px;
    }

    header+main,
    header+div[data-elementor-type="single-post"],
    header+div[data-elementor-type="archive"] {
        margin-top: 99px;
    }

    .black-friday-text-xl {
        font-size: 18px;
    }

    .black-friday-text-2xl {
        font-size: 22px;
    }

    header .logo {
        max-width: 75px;
    }
    .header-bottom {
        padding: 8px 0px;
    }

    header .header-bottom .menu {
        min-height: calc(100dvh - 54px);
        padding: 30px 20px 0;
    }

    header .header-wrapper.active .menu {
        top: 58px;
    }

    .mega-menu-submenu-container {
        padding: 0px 0px 0px 12px;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .mega-menu-submenu-container li:first-child {
        margin: 12px 0px 0px;
    } 

    /* Cart popup */

    .cart-popup {
        right: 0px;
        max-width: 300px;
        width: 100%;
    }

    .cart-popup__close {
        top: 6px;
        right: 6px;
    }

    .cart-popup__content .cart-popup__close svg {
        width: 20px;
        height: 20px;
    }

    .cart-popup__content {
        padding: 30px 12px 12px;
    }
    
}

@media (max-width: 499.75px) {}

/*---------- HEADER END ----------*/

/*---------- FOOTER ----------*/

.footer {
    margin: 140px 0px 0px;
    padding: 60px 0px;
    background-color: var(--dark);
    overflow: hidden;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 150px;
}

.footer-column {
    max-width: 350px;
    width: 100%;
}


/* Column info */

.column-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.column-info-item {
    display: flex;
    flex-direction: column-reverse;
    gap: 6px;
}

.column-info-item .btn.simple {
    justify-content: flex-start;
    width: fit-content;
    min-width: fit-content;
}

.column-info-item .btn {
    color: var(--white);
}
.column-info-item .btn:hover {
    color: var(--yellow);
}
.column-info-item:hover {
    color: var(--yellow);
}

.column-info-socials-list {
    display: flex;
    align-items: center;
    gap: 8px;
}

.column-info-social-item {
    color: var(--white);
    transition: var(--transition);
}

.column-info-social-item:hover {
    color: var(--yellow);
}

/* Footer column navigation */

.column-nav {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.column-nav-item {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.column-nav-item .btn.simple {
    color: var(--gray);
}

.column-nav-item .btn.simple:hover {
    color: var(--yellow);
}

.column-nav-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
} 

.menu.accordion-content {
    max-height: max-content;
}

.column-nav-item-header .btn-circle.btn-icon {
    display: none;
}

/* Footer column subscribe */

.subscribe-desc {
    margin: 16px 0px 0px;
}

/* Footer bottom */

.footer-bottom {
    margin: 60px 0px 0px;
    padding: 32px 0px 0px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    border-top: 1px solid var(--border-gray);
}

.footer-bottom .logo svg {
    width: 154px;
}

.subscribe-button.btn.btn-with-icon {
    margin: 16px 0px 0px;
    width: 100%;
}

.subscribe-button.btn.btn-with-icon .title {
    width: 100%;
    justify-content: center;
}

.subscribe-form {
    margin: 32px 0px 0px;
}

@media (max-width: 1279px) {
    .footer-top {
        gap: 100px;
    }

    .subscribe-button.btn.btn-with-icon .title {
        padding: 0px 20px;
    }
}

@media (max-width: 1024px) {
    .footer {
        margin: 110px 0px 0px;
    }

    .footer-top {
        grid-template-areas:
        "first second"
        "third third";
        grid-template-columns: repeat(2,1fr);
        gap: 40px 100px;
    }

    .column-info {
        grid-area: first;
    }
    .column-nav {
        grid-area: second;
    }
    .column-subscribe {
        grid-area: third;
    }

    .column-subscribe.footer-column {
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .footer {
        margin: 80px 0px 0px;
    }

    .footer-top {
        grid-template-areas:
        "first"
        "second"
        "third";
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-column {
        max-width: 100%;
    }

    .column-nav {
        gap: 12px;
    }

    .column-nav-item+.column-nav-item {
        padding: 10px 0px 0px;
        border-top: 1px solid var(--border-gray);
    }

    .column-nav-item-header .btn-circle.btn-icon {
        display: flex;
    }

    .column-nav-item {
        gap: 0px;
    }

    .menu.accordion-content {
        max-height: 0;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}

/*---------- FOOTER END ----------*/

/*---------- ELEMENTOR ----------*/

.elementor-element h1+*,
.elementor-element h2+*,
.elementor-element h3+*,
.elementor-element h4+*,
.elementor-element h5+*,
.elementor-element h6+* {
    margin-top: 1em;
}

.elementor-element p+* {
    margin-top: 1em;
}

.elementor-element p+h1,
.elementor-element p+h2,
.elementor-element p+h3,
.elementor-element p+h4,
.elementor-element p+h5,
.elementor-element p+h6 {
    margin-top: .8em;
}

.elementor-element p+ul,
.elementor-element p+ol {
    margin-top: 1.5em;
}

.elementor-element ul+*,
.elementor-element ol+* {
    margin-top: 1.5em;
}

.elementor-element ul+h1,
.elementor-element ul+h2,
.elementor-element ul+h3,
.elementor-element ul+h4,
.elementor-element ul+h5,
.elementor-element ul+h6,
.elementor-element ol+h1,
.elementor-element ol+h2,
.elementor-element ol+h3,
.elementor-element ol+h4,
.elementor-element ol+h5,
.elementor-element ol+h6 {
    margin-top: 1.4em;
}

.elementor-element ul>li {
    position: relative;
    list-style-type: none;
    padding-left: 1.1em;
}

.elementor-element ul>li+li {
    margin-top: 8px;
}

.elementor-element ul>li:not([class])::before {
    content: "";
    position: absolute;
    top: 6px;
    left: 1px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--yellow);
}

.elementor-element ol {
    margin-left: 1.15em;
}

.elementor-element ol>li {
    margin-top: 8px;
}

.elementor-element .body-1 a {
    position: relative;
    min-width: auto;
    min-height: auto;
    padding: 0 0 3px 0;
    text-decoration: none;
    color: var(--brown);
    border: none;
    background-color: transparent !important;
}

.elementor-element .body-1 a::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    position: absolute;
    left: 50%;
    bottom: 0;
    background-color: var(--brown);
    transform: translateX(-50%);
    transition: var(--transition);
    opacity: 1;
}

.elementor-element .body-1 a:hover::after {
    width: 0%;
}

@media (max-width: 767.75px) {
    .elementor .elementor-hidden-mobile,
    .elementor .elementor-hidden-phone {
        display: none;
    }
}

/*---------- ELEMENTOR END ----------*/

/*---------- SEARCH START ----------*/

.search-bar {
    position: absolute;
    top: -100vh;
    left: 0;
    width: 100%;
    padding: 16px 0px;
    background: var(--dark);
    transition: var(--transition);
    transition-duration: 0.6s;
    z-index: -1;
}  

.search-bar .container {
    position: relative;
}

.search-bar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.search-bar-form {
    position: relative;
    width: 100%;
    margin: 0px 14px 0px 40px;
}

.search-bar-closing {
    position: relative;
    z-index: 1;
    cursor: pointer;
    color: var(--white);
    transition: var(--transition);
}

.search-bar-closing {
    color: var(--white);
}

.search-bar-closing:hover {
    color: var(--yellow);
}

.active .search-bar {
    position: fixed;
    top: 0px;
    overflow: auto;
    z-index: 9999;
}

input.search-field {
    padding: 16px 0px 16px 32px;
    width: 100%;
    border: none;
    visibility: visible;
    background-color: transparent;
    border: 1px solid var(--yellow);
    border-radius: 66px;
    color: var(--white);
}

.search-submit {
    position: absolute;
    top: 50%;
    right: 27px;
    transform: translateY(-50%);
    height: 16px;
    width: 16px;
    cursor: pointer;
    border: none;
    background: transparent;
}

.search-field:focus {
    outline: none;
    border-color: var(--border-gray);
}

.search-submit svg {
    width: 16px;
    height: 16px;
    color: var(--white);
    transition: var(--transition);
}

.search-submit:hover svg {
    color: var(--yellow);
}


@media only screen and (max-width: 767px) {
    .search-bar-logo {
        display: none;
    }

    .search-bar-container {
        gap: 10px;
    }

    .search-bar-form {
        margin: 0px;
    }

    input.search-field {
        padding: 14px 0px 14px 56px;
    }

    .search-bar-closing {
        min-width: 42px;
        width: 42px;
        height: 42px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/*---------- SEARCH END ----------*/   

/*---------- SECTIONS ----------*/

.seo h2,
.seo h3 {
    margin-bottom: 1em;
}

.section-margin {
    margin: 140px 0px 0px;
}

.double-section-margin {
    margin: 140px 0px 140px;
}

@media (max-width: 1023px) {
    .section-margin {
        margin: 110px 0px 0px;
    }

    .double-section-margin {
        margin: 110px 0px 110px;
    }
}

@media (max-width: 767px) {
    .section-margin {
        margin: 80px 0px 0px;
    }
    .double-section-margin {
        margin: 80px 0px 80px;
    }
}

/*---------- SECTIONS END ----------*/

/*---------- 404 - PAGE START ----------*/

.page-404 {
    padding: 0px 0px 75px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.page-404-wrapper {
    max-width: 790px;
    margin-top: 20px;
    text-align: center;
}

.page-404-number {
    font-size: 300px;
    font-weight: 600;
    line-height: 1.1em;
    letter-spacing: -2.72px;
}

.page-404-text {
    margin: 10px 0px 0px;
}

.page-404-button {
    margin: 32px 0px 0px;
    display: flex;
    justify-content: center;
}

@media (max-width: 1024px) {
    .page-404-number {
        font-size: 200px;
    }
}

@media (max-width: 767px) {
    .page-404 {
        padding: 0px 0px 50px;
    }

    .page-404-number {
        font-size: min(28vw, 200px);
    }

    .page-404-button {
        margin-top: 16px;
    }
}

/*---------- 404 - PAGE END ----------*/

/*---------- Zalety naszych produktów START ----------*/

.advantages-desc-list img {
    object-position: 20% 100% !important;
}

.advantages-desc-item {
    position: absolute !important;
    max-width: 400px;
}

.advantages-desc-item:nth-child(3) {
    top: 200px;
}

.advantages-desc-item:nth-child(4) {
    bottom: 330px;
}

.advantages-desc-item:nth-child(5) {
    top: 240px;
}

.advantages-desc-item:last-child {
    bottom: 260px;
}

.advantages-desc-item:nth-child(3),
.advantages-desc-item:nth-child(4) {
    left: 0px;
}

.advantages-desc-item:nth-child(5),
.advantages-desc-item:last-child {
    right: 0px;
}

.advantages-desc-item:nth-child(3):before {
    content: url(/wp-content/uploads/2025/08/top-left-line.svg);
    position: absolute;
    left: 40%;
    top: 110%;
}

.advantages-desc-item:nth-child(4):after  {
    content: url(/wp-content/uploads/2025/08/bottom-left-line.svg);
    position: absolute;
    top: 80%;
    left: 76%;
}

.advantages-desc-item:nth-child(5):after {
    content: url(/wp-content/uploads/2025/08/top-right-line.svg);
    position: absolute;
    right: 110%;
    top: 80%;
}

.advantages-desc-item:last-child:after {
    content: url(/wp-content/uploads/2025/08/bottom-right-line.svg);
    position: absolute;
    left: -150px;
    top: 110%;
}

@media (max-width: 1300px) {
    .advantages-desc-item:nth-child(5),
    .advantages-desc-item:last-child {
        max-width: 200px;
    }

    .advantages-desc-item:last-child {
        right: -30px;
    }
    .advantages-desc-item:nth-child(5):after {
        right: 104%;
        top: 90%;
    }
    .advantages-desc-item:last-child:after {
        left: -250px;
    }
}

@media (max-width: 1024px) {
    .advantages-desc-item:nth-child(3),
    .advantages-desc-item:nth-child(4),
    .advantages-desc-item:nth-child(5),
    .advantages-desc-item:last-child {
        position: initial !important;
    }

    .advantages-desc-item:nth-child(3):before,
    .advantages-desc-item:nth-child(4):after,
    .advantages-desc-item:nth-child(5):after,
    .advantages-desc-item:last-child:after {
        display: none;
    }

    .advantages-desc-item:nth-child(3),
    .advantages-desc-item:nth-child(4),
    .advantages-desc-item:nth-child(5),
    .advantages-desc-item:last-child {
        padding-left: 20px;
        max-width: 100%;
    }

    .advantages-desc-item + .advantages-desc-item {
        margin: 20px 0px 0px;
    }
}

@media (max-width: 1024px) {
    .adv-main-line {
        position: absolute;
        left: -24px;
        bottom: -20px;
        min-height: 535px;
        height: 90vh;
        width: 1px;
        background: var(--yellow);
    }

    .advantages-desc-item .elementor-widget-heading:before {
        content: "";
        position: absolute;
        left: -24px;
        bottom: 50%;
        transform: translateY(-50%);
        display: block;
        width: 20px;
        height: 1px;
        background: var(--yellow);
    }

    .adv-1-line,
    .adv-2-line,
    .adv-3-line,
    .adv-4-line {
        position: absolute;
        left: 0px;
        max-width: 500px;
        width: 50vw;
        height: 1px;
        background: var(--yellow);
    }

    .adv-2-line {
        top: 100px;
        width: 60vw;
    }
    .adv-3-line {
        top: 130px;
        width: 40vw;
    }
    .adv-4-line {
        top: 200px;
        width: 35vw;
    }

    .adv-1-line::after,
    .adv-2-line::after,
    .adv-3-line::after,
    .adv-4-line::after {
        content: url(/wp-content/uploads/2025/08/circle-line.svg);
        position: absolute;
        right: -12px;
        top: 50%;
        transform: translateY(-50%);
    }
}

@media (max-width: 767px) { 
    .adv-main-line {
        height: 70vh;
    }
}

@media (max-width: 480px) { 
    .adv-main-line {
        height: 60vh;
    }
}

@media (max-width: 350px) {
    .adv-main-line {
        height: 70vh;
        min-height: 550px;
    }
}
/*---------- Zalety naszych produktów END ----------*/

/*---------- FAQ START ----------*/

.accordion-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.accordion-item.active .btn-circle{
    background: var(--yellow-gradient);
}

.accordion-tablet .btn-arrow {
    display: none;
}

.accordion-tablet .accordion-trigger {
    gap: 0px;
}

@media (max-width: 1023px) {
    .accordion-tablet .btn-arrow {
        display: flex;
    }

    .accordion-tablet .accordion-trigger {
        gap: 20px;
    }
}

/*---------- FAQ END ----------*/

/*---------- FANCYBOX START ----------*/

.fancy-gallery img {
    cursor: pointer;
}

/*---------- FANCYBOX END ----------*/
