.w-full {
    width: 100% !important;
}
.w-max {
    width: max-content !important;
}

.btn-xs {
    padding: 11px;
    border: 1px solid transparent;
}

.btn-sm {
    padding: 11px 19px;
    border: 1px solid transparent;
}

.btn-md {
    padding: 16px 60px;
}

.cursor-zoom-in {
    cursor: zoom-in;
}

.gap-1 {
    gap: 0.25rem;
}

.mt-12 {
    margin-top: 12px;
}

.img-cover {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.rounded {
    border-radius: 16px !important;
    overflow: hidden;
}
@media (min-width: 1600px) {
    .rounded-xxl {
        border-radius: 16px !important;
        overflow: hidden;
    }
}

[class*="line-clamp-"] {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.line-clamp-3 {
    -webkit-line-clamp: 3;
}
.line-clamp-4 {
    -webkit-line-clamp: 4;
}

.fs-18 {
    font-size: 18px;
}

.flex-grow-1 {
    flex-grow: 1;
}

@media (max-width: 525px) {
    .w-sm-full {
        width: 100% !important;
    }
}

@media (min-width: 768px) {
    .fs-md-18 {
        font-size: 18px;
    }
}

/* MEGAMENU */

.rd-navbar-nav {
    position: relative;
}

.rd-navbar:not(.rd-navbar-fixed) .megamenu.rd-navbar--has-dropdown {
    position: relative;
}

.rd-navbar:not(.rd-navbar-fixed) .megamenu > .rd-navbar-dropdown.rd-menu {
    width: max-content;
    max-width: 1020px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 60px;
    padding: 20px !important;
    max-height: 80vh;
}

.megamenu .rd-navbar-dropdown .rd-navbar-dropdown {
    position: static;
    margin: 0;
    transform: unset;
    padding: 0;
    box-shadow: unset;
    font-size: 16px;
}
.rd-navbar:not(.rd-navbar-fixed) .megamenu .level-2 > .rd-nav-link,
.rd-navbar:not(.rd-navbar-fixed) .megamenu .level-2 > .rd-dropdown-link {
    text-transform: uppercase;
    font-weight: 600;
}

.rd-navbar:not(.rd-navbar-fixed) .megamenu .rd-nav-item {
    min-width: 0;
    width: 180px;
    white-space: unset;
}

.rd-navbar:not(.rd-navbar-fixed) .megamenu .rd-navbar-dropdown .rd-navbar-dropdown li {
    margin-top: 12px;
}

.rd-navbar-fixed .header-contacts--wrap.desktop {
    display: none;
}

.header-contacts--wrap a {
    color: var(--text-primary);
}
.header-contacts--wrap a:hover {
    color: var(--accent);
}

.header-contacts--wrap.desktop {
    display: flex;
    gap: 16px;
}

.megamenu .rd-navbar-dropdown .rd-navbar-dropdown {
    position: static;
    margin: 0;
    transform: unset;
}

@media (min-width: 1200px) {
    .megamenu > .rd-navbar-dropdown.rd-menu {
        padding: 30px 60px;
    }
}

@media (min-width: 1500px) {
    .header-contacts--wrap.desktop {
        gap: 32px;
    }
}

@media (min-width: 1680px) {
    .header-contacts--wrap.desktop {
        gap: 32px;
    }
}

.rd-navbar-static .header-contacts--wrap.mobile {
    display: none;
}

@media (max-width: 1499px) {
    .rd-navbar--is-stuck .header-contacts--wrap .contacts {
        display: none !important;
    }
}

.rd-navbar-fixed .rd-navbar-dropdown .rd-navbar-dropdown li + li {
    margin-top: 6px;
}

/* FOOTER */

footer {
    background: var(--text-primary);
    padding: 40px 0;
    color: #FFF;
    text-align: start;
}

footer .footer-text {
    margin-top: 20px;
}

footer .list-item {
    margin-top: 12px;
}
footer a {
    color: #FFF;
}
footer a:hover {
    color: var(--accent);
}

footer .title {
    opacity: .6;
}

.footer-row {
    row-gap: 32px;
}

.footer-row [class*=col-] {
    max-width: 416px;
}

/* buttons */


.button-xs {
    padding: 8px 17px;
}

.button-sm {
    padding: 5px 25px 3px;
    font-size: 12px;
}

.button-md {
    min-width: 140px;
    padding: 12px 23px 10px;
    font-size: 16px;
}

.button-md.button-gradient, .button-md.button-wapasha, .button-md.button-pipaluk {
    padding: 14px 25px 12px;
}

.button-lg {
    padding: 20px 33px 18px;
}

.button-lg.button-gradient, .button-lg.button-wapasha, .button-lg.button-pipaluk {
    padding: 22px 35px 20px;
}

.button-xl {
    padding: 16px 50px 14px;
    font-size: 16px;
}

@media (min-width: 992px) {
    .button-xl {
        padding: 20px 80px;
    }
}

.btn-primary {
    transition: .33s;
}

.btn-primary, .btn-primary:active, .btn-primary:focus {
    color: #ffffff;
    background: var(--accent);
    border-color: var(--accent);
}

.btn-primary:hover {
    color: #ffffff;
    background: var(--accent2);
    border-color: var(--accent2);
}

.btn-outline-light {
    color: #ffffff;
    background: transparent;
    border-color: #FFF;
}
.btn-outline-light:hover {
    background: var(--accent2);
}

.btn-outline-accent {
    color: var(--accent);
    background: transparent;
    border-color: var(--accent);
}
.btn-outline-accent:hover {
    background: var(--accent);
    color: #FFF;
}
.btn-outline-accent path {
    transition: .2s ease-in-out;
}
.btn-outline-accent:hover svg path {
    stroke: #FFF !important;
}

/* banner-slider */

.banner-slider {
    margin-top: 12px;
}

.banner-slider .swiper-slide-caption ul li::before {
    content: "•";
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    margin-right: 4px;
}

.swiper-slide-caption {
    z-index: 2;
}

.overlay {
    position: relative;
}
.overlay > * {
    z-index: 2;
}

.overlay::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #0C264799;
    pointer-events: none;
    z-index: 1;
}

@media (min-width: 768px) {
    .swiper-slide-caption {
        font-size: 20px;
    }

    .banner-slider .swiper-slide {
        border-radius: 16px;
        overflow: hidden;
    }
}

@media (max-width: 525px) {
    .banner-slider .button {
        width: 100%;
    }
}

/* CATEGORIES SECTION    */

.categories-section .figure-classic {
    /*height: auto;*/
    /*max-height: 670px;*/
    min-height: 255px;
    background-size: cover;
}

/* margins */

.mb-12 {
    margin-bottom: 12px;
}

.mt-20 {
    margin-top: 20px;
}
.mb-20 {
    margin-bottom: 20px;
}

.mt-30 {
    margin-top: 30px;
}
.mb-30 {
    margin-bottom: 30px;
}

.mt-40 {
    margin-top: 40px;
}
.mb-40 {
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .mt-md-20 {
        margin-top: 20px;
    }

    .mb-md-30 {
        margin-bottom: 30px;
    }
    .mt-md-30 {
        margin-top: 30px;
    }

    .mt-md-40 {
        margin-top: 40px;
    }
}

@media (min-width: 992px) {
    .mt-lg-20 {
        margin-top: 20px;
    }

    .mb-lg-30 {
        margin-bottom: 30px;
    }

    .mt-lg-40 {
        margin-top: 40px;
    }
}

/* portfolio */

.section-header {
    max-width: 800px;
    margin: 0 auto 20px;
}

@media (min-width: 768px) {
    .section-header {
        margin-bottom: 30px;
    }
}

@media (min-width: 1200px) {
    .portfolio-section .isotope-item:first-child .thumbnail {
        border-top-left-radius: 16px;
    }

    .portfolio-section .isotope-item:nth-child(4) .thumbnail {
        border-top-right-radius: 16px;
    }

    .portfolio-section .isotope-item:nth-last-child(4) .thumbnail {
        border-bottom-left-radius: 16px;
    }

    .portfolio-section .isotope-item:last-child .thumbnail {
        border-bottom-right-radius: 16px;
    }
}

/* about section */

.utp-item {
    padding: 15px 10px;
}

.utp-item .title,
.box-icon-leah .title {
    font-size: 40px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--accent);
}

@media (min-width: 768px) {
    .utp-item {
        padding: 20px;
    }

    .utp-item .title,
    .box-icon-leah .title {
        font-size: 44px;
    }
}

@media (min-width: 992px) {
    .utp-item {
        padding: 20px 30px;
    }

    .utp-item .title,
    .box-icon-leah .title {
        font-size: 48px;
    }
}

@media (min-width: 1200px) {
    .utp-item {
        padding: 20px 30px;
    }

    .utp-item .title,
    .box-icon-leah .title {
        font-size: 52px;
    }
}

@media (min-width: 1600px) {
    .utp-item {
        padding: 20px 30px;
    }

    .utp-item .title,
    .box-icon-leah .title {
        font-size: 60px;
    }

}

.partners-section .item {
    aspect-ratio: 2.3 / 1;
    border: 1px solid var(--stroke-neutral);
    border-radius: 16px;
}

@media (max-width: 479px) {
    .partners-section .owl-carousel .owl-stage-outer {
        overflow: visible;
    }
}

/* certificates */


@media (min-width: 992px) {
    .owl-with-nav {
        max-width: calc(100% - 180px);
        margin: 0 auto;
    }
}

.certificates-carousel .owl-item {
    max-height: 712px;
}

/* blog-section */

.article-card .post-modern-figure {
    aspect-ratio: 1.21 / 1;
}

/* crumbs */

/* catalog page  */

.catalog-page .category-item .button {
    margin-top: 15px;
}

@media (min-width: 768px) {
    .catalog-page .category-item .button {
        margin-top: 17px;
    }
}

/* checkbox */

.checkbox .checkbox-custom,
.checkbox-inline .checkbox-custom {
    opacity: 0;
}

.checkbox .checkbox-custom,
.checkbox .checkbox-custom-dummy,
.checkbox-inline .checkbox-custom,
.checkbox-inline .checkbox-custom-dummy {
    position: absolute;
    left: 0;
    width: 18px;
    height: 18px;
    outline: none;
    cursor: pointer;
}

.checkbox .checkbox-custom-dummy,
.checkbox-inline .checkbox-custom-dummy {
    pointer-events: none;
    background: #ffffff;
}

.checkbox .checkbox-custom-dummy::after,
.checkbox-inline .checkbox-custom-dummy::after {
    position: absolute;
    opacity: 0;
    transition: .22s;
}

.checkbox .checkbox-custom:focus,
.checkbox-inline .checkbox-custom:focus {
    outline: none;
}

.checkbox input,
.checkbox-inline input {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.checkbox-custom:checked + .checkbox-custom-dummy:after {
    opacity: 1;
}

.checkbox-inline {
    position: relative;
    display: inline-flex;
    cursor: pointer;
    padding-left: 36px;
}

.checkbox-inline input.checkbox-custom {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkbox-inline input.checkbox-custom {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.checkbox-inline .checkbox-custom-dummy {
    position: absolute;
    width: 22px;
    height: 22px;
    border: 2px solid var(--accent);
    border-radius: 4px;
    background-color: transparent;
    box-sizing: border-box;
    transition: border-color 0.2s ease-in-out, background-color 0.2s ease-in-out;
}

.checkbox-inline .checkbox-custom-dummy::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    top: -3px;
    right: -3px;
    background-image: url('data:image/svg+xml;utf8,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M8.25 10.75L12 14.5L22 4.5" stroke="%239C1006" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M22 12V19.5C22 20.163 21.7366 20.7989 21.2678 21.2678C20.7989 21.7366 20.163 22 19.5 22H4.5C3.83696 22 3.20107 21.7366 2.73223 21.2678C2.26339 20.7989 2 20.163 2 19.5V4.5C2 3.83696 2.26339 3.20107 2.73223 2.73223C3.20107 2.26339 3.83696 2 4.5 2H15.75" stroke="%239C1006" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease-in-out;
}

.checkbox-inline input:checked + .checkbox-custom-dummy::after {
    opacity: 1;
}

.checkbox-inline input:checked + .checkbox-custom-dummy {
    border-color: transparent;
}

.policy a {
    color: var(--accent);
    text-decoration: underline;
}

label .required {
    color: var(--accent);
}

/* banner section */

.banner-form__section form {
    padding: 30px 0;
}

.banner-form__section .form-content {
    padding: 60px 0;
    position: relative;
    z-index: 2;
    max-width: 855px;
}

.file-upload {
    display: flex;
    align-items: center;
    gap: 12px;
}

.file-upload input[type="file"] {
    display: none;
}

.file-button {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: .2s;
    text-transform: unset;
}

.file-button:hover {
    background: var(--accent);
    color: #fff;
}

@media (min-width: 768px) {
    .form-bg-img {
        height: 100%;
        width: 50%;
        top: 0;
        left: 0;
        position: absolute;
        background-size: cover;
    }
}

@media (min-width: 1200px) {
    .banner-form__section form > .row {
        padding-left: 15px;
    }
}

/* product page */

.product-content-wrap {
    display: flex;
    gap: 12px;
}

@media (max-width: 1199px) {
    .product-content-wrap {
        flex-direction: column;
    }
}

.item-gallery {
    padding-bottom: 52px;
}
.item-gallery.no-text {
    max-width: unset;
    height: 480px;
}
.item-gallery.product{
    height: auto !important;
    max-height: 600px;
}
.item-gallery.sm {
    max-width: 418px;
    height: 342px;
}
.item-gallery.md .swiper-slide {
    aspect-ratio: 1.29 / 1;
}

.item-gallery .swiper-pagination__module {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    bottom: 0;
}
.item-gallery .swiper-pagination__fraction {
    transform: unset;
    display: block;
}
.item-gallery .swiper-pagination__divider {
    flex-grow: 1;
    width: auto;
    height: 1px;
    margin: 0;
    display: block;
}
.item-gallery .swiper-nav {
    display: flex;
    gap: 16px;
}
.item-gallery .swiper-button-prev,
.item-gallery .swiper-button-next {
    display: block;
}

.project-calculation {
    margin-top: 12px;
    padding: 16px 100px;
}

@media (max-width: 560px) {
    .project-calculation {
        padding: 16px 20px;
        width: 100%;
    }

    .item-gallery.sm {
        height: 280px;
    }
}

.list-contacts .title {
    color: var(--text-secondary);
}
.list-contacts li {
    color: var(--text-primary);
}

.content {
    text-align: left;
}
.content h2 {
    font-size: 32px;
    font-weight: 600;
}

.content * + h2 {
    margin: 24px 0 12px;
}

.content h3 {
    font-size: 28px;
    font-weight: 600;
}

.content * + h3 {
    margin: 12px 0;
}

.content h4 {
    font-size: 24px;
    font-weight: 600;
}

.content * + h4 {
    margin: 8px 0;
}

.content h5 {
    font-size: 20px;
    font-weight: 600;
}

.content * + h5 {
    margin: 4px;
}
.content ul:not(.list-marked) {
    list-style: disc;
    padding-left: 26px;
    margin: 12px 0;
}
.content ol {
    list-style: decimal;
    padding-left: 26px;
    margin: 12px 0;
}
.content ul li,.content ol li {
    display: list-item;
}

.content p + ul,.content p + ol {
    margin-top: 12px;
}

/*.content.custom-list > ul > li > ul {*/
/*    list-style: disc;*/
/*    padding-left: 26px;*/
/*}*/
/*.content.custom-list > ul > li > ul > li {*/
/*    display: list-item;*/
/*}*/

.content.custom-list.list-lg > ul > li + li {
    margin-top: 20px;
}

.owl-carousel .certificate-item  {
    aspect-ratio: 1 / 1.395;
}

/* modal */

.modal .btn-close {
    position: absolute;
    top: 10px;
    right: 10px;
}

.modal-dialog .modal-content {
    border-radius: 16px;
    overflow: hidden;
}

.modal-header {
    padding: 60px 15px 0;
    border: unset;
}
.modal-body {
    padding: 30px 15px;
}

@media (min-width: 992px) {
    .modal-dialog {
        max-width: 800px;
    }

    .modal-header {
        padding: 60px 30px 0;
    }
    .modal-body {
        padding: 30px;
    }
}

.portfolio-image-carousel.nav-bottom .owl-nav {
    text-align: end;
    margin-top: 20px;
}

.portfolio-image-carousel.nav-bottom .owl-nav > * {
    transform: unset;
    top: unset;
    bottom: 0;
    left: 0;
    right: 0;
    position: static;
}

.portfolio-image-carousel.nav-bottom .owl-nav > * + * {
    margin-left: 20px;
}