@font-face {
    font-family: 'Roboto';
    src: url('/wp-content/themes/matrix/webfonts/Roboto-VariableFont_wdth,wght.ttf') format('truetype');
    font-weight: 100 900;
    font-stretch: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --color-primary: #136188;
    --color-primary-hover: #1c739e;
    --color-secondary: #AD1C1F;
    --text-color-primary: #3F4B50;
}

main {
    min-height: 94.5vh;
    padding-top: 120px;
}

body {
    font-family: 'Roboto', sans-serif;
    font-optical-sizing: auto;
    background-color: #F1F3F5;
    color: var(--text-color-primary);
}

a {
	color: inherit;
    text-decoration: none;
}

a:visited {
	color: inherit;
}

a:hover,
a:focus,
a:active {
	color: inherit;
}

header.site-header {
    position: fixed;
    width: 100%;
    background-color: #FFF;
    box-shadow: 0 0 10px #0000007a;
    z-index: 100;
}

header.site-header .top-head {
    padding: 0 12px;
}

footer {
    font-size: 16px;
    background-color: var(--color-primary);
    color: #fff;
    padding: 100px 0;
}

img.custom-logo {
    max-width: 160px;
    user-select: none;
}

.navbar-nav .menu-item,
.main-menu a {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    color: var(--color-primary);
    transition: all 0.3s ease;
}

.navbar-nav .menu-item:hover {
    background-color: #F1F3F5;
}

.main-menu a:hover {
    color: var(--color-primary-hover);
}

.navbar-nav .menu-item {
    padding: 12px;
}

.main-menu a {
    font-weight: 500;
}

.main-menu a.current {
    color: var(--text-color-primary);
    pointer-events: none;
}

ul,
ol {
    margin-left: 0;
}

.row>* {
    margin-top: 0;
    margin-bottom: var(--bs-gutter-y);
}

.bg-white {
    background-color: #fff;
}

.bg-light-blue {
    background-color: #13618826;
}

.bg-gradient-primary {
    background: linear-gradient(90deg, #11506C 0%, #0A2C3A 100%);
}

.bg-gradient-secondary {
    background: linear-gradient(90deg, #AD1C1F 0%, #470B0D 100%);
}

.btn.btn-primary {
    font-size: 20px;
    line-height: 1.2;
    max-height: 63px;
    color: #fff;
    background-color: var(--color-primary);
    border: 0;
    border-radius: 0;
    padding: 20px 30px;
    box-shadow: none;
    outline: none;
    white-space: nowrap;
    transition: all 0.2s;
}

.btn.btn-primary:hover {
    background-color: var(--color-primary-hover);
}

.btn.btn-primary:focus,
.btn.btn-primary:active {
    background-color: #11506C;
}

.btn.btn-outline-primary {
    font-size: 20px;
    line-height: 1.2;
    max-height: 63px;
    color: var(--color-primary);
    background-color: transparent;
    border: 1px solid var(--color-primary);
    border-radius: 0;
    padding: 20px 30px;
    box-shadow: none;
    outline: none;
    white-space: nowrap;
    transition: all 0.2s;
}

.btn.btn-outline-primary:hover {
    color: #fff;
    background-color: var(--color-primary);
}

.btn.btn-outline-primary:focus,
.btn.btn-outline-primary:active {
    color: #fff;
    background-color: #11506C;
    border-color: #11506C;
}

.text--blue {
    color: var(--color-primary);
}

footer .btn.btn-outline-primary {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
    max-height: 50px;
    color: #fff;
    border: 1px solid #fff;
    padding: 14px 15px;
}

footer .btn.btn-outline-primary:hover {
    color: var(--color-primary);
    background-color: #fff;
}

footer .btn.btn-outline-primary:focus,
footer .btn.btn-outline-primary:active {
    color: var(--color-primary);
    background-color: #f5f4f4;
    border-color: #f5f4f4;
}

.btn-sm {
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.8 !important;
    height: 50px !important;
    padding: 10px 30px !important;
}

section {
    margin: 100px 0;
    padding: 100px 0;
}

.section-title {
    font-size: 48px;
    font-weight: 500;
    color: var(--color-primary);
    margin-top: 0;
}

.section-subtitle {
    position: relative;
    font-size: 16px;
    font-weight: 700;
    padding-bottom: 10px;
    margin-bottom: .8rem;
}

.section-subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 83px;
    height: 3px;
    background: var(--text-color-primary);
}

.section-text {
    font-size: 20px;
}

.section-text a {
    color: var(--color-secondary);
    text-decoration: underline;
    text-decoration-thickness: 1px;
}

#searchform button {
    border: 0;
    background-color: transparent;
    padding: 0;
    margin: 0;
}

#searchform input {
    font-size: 16px;
    padding: 10px 15px;
}

header #searchform {
    min-width: 350px;
}

.banner-section {
    width: 100%;
    height: 100vh;
    background-image: url('/wp-content/uploads/pages/home/main_banner.png');
    background-size: cover;
}

.banner-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    background-color: #08124C73;
}

.banner-title {
    font-size: 115px;
    font-weight: 500;
}

.banner-text-block {
    border-top: 3px solid #fff;
}

.banner-text {
    font-size: 20px;
    font-weight: 500;
    text-align: center;
}

.catalog-section {
    padding: 100px 0;
}

.product-card,
.post-card {
    border: 0;
    border-radius: 0;
    background-color: #fff;
    box-shadow: 0px 0px 15px 0px #0000001A;
    height: 100%;
}

.product-card .card-body {
    border-bottom: 5px solid #fff;
    padding: 20px;
    transition: all 0.2s ease;
}

.product-card:hover .card-body {
    border-bottom: 5px solid var(--color-secondary);
}

.product-card .product-card__image {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    background-color: #E9E9E9;
}

.product-card .product-card__name {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-primary);
    text-align: center;
    margin: 0;
}

.product-card .product-card__category {
    font-size: 14px;
}

.post-card .card-body {
    border-bottom: 2px solid #fff;
    padding: 15px;
    transition: all 0.2s ease;
}

.post-card:hover .card-body {
    border-bottom: 2px solid var(--color-secondary);
}

.post-card .post-card__image {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background-color: #E9E9E9;
}

.post-card .post-card__title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-primary);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.advantage-card {
    border: 0;
    border-radius: 5px;
    background-color: #fff;
}

.advantage-card .card-body {
    padding: 20px;
}

.advantage-card .advantage-card__title {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0;
    text-align: center;
}

.feature-card {
    position: relative;
    border: 0;
    border-radius: 5px;
    width: 100%;
    height: 300px;
    padding: 20px;
}

.feature-card .feature-card__title {
    position: absolute;
    font-size: 40px;
    font-weight: 500;
    line-height: 1;
    color: #fff;
    z-index: 2;
    margin: 0;
}

.feature-card .feature-card__bg-image {
    position: absolute;
    z-index: 1;
}

.feature-card[id="comprehensiveSupplies"] .feature-card__title {
    top: 50px;
    right: 35px;
}

.feature-card[id="coupons"] .feature-card__title {
    bottom: 50px;
    right: 85px;
}

.feature-card[id="comprehensiveSupplies"] .feature-card__bg-image[id="bgImage1"] {
    bottom: 0;
    left: -42px;
}

.feature-card[id="comprehensiveSupplies"] .feature-card__bg-image[id="bgImage2"] {
    bottom: 0;
    right: 0;
}

.feature-card[id="coupons"] .feature-card__bg-image[id="bgImage1"] {
    top: 50%;
    transform: translateY(-50%);
    left: -56px;
}

.feature-card[id="coupons"] .feature-card__bg-image[id="bgImage2"] {
    top: 0;
    right: 0;
}

.about-company-section .section-text {
    text-align: justify;
}

.about-company-section .section-image {
    width: 100%;
    height: auto;
    aspect-ratio: 5.3 / 4.3;
    background-color: #E9E9E9;
}

.projects-list {
    gap: 15px;
    overflow-x: auto;
    width: 100%;
}

.project-card {
    border: 0;
    border-radius: 0;
    min-width: 312px;
}

.project-card .card-body {
    padding: 20px;
}

.project-card .project-card__image {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.project-card .project-card__title {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-card .project-card__text {
    font-size: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-card .project-card__text > *:not(p) {
    display: none;
}

.project-card .project-card__more {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-primary);
}

.project-card .project-card__more:hover {
    color: var(--color-primary-hover);
}

.contact-form__header {
    width: 100%;
    border-bottom: 3px solid var(--color-secondary);
}

.contact-form__title {
    font-size: 20px;
    font-weight: 400;
    color: var(--color-secondary);
}

.input-block {
    background-color: #F1F3F5;
}

.input-block input {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-primary);
    background-color: transparent;
    border: 0;
    padding: 20px 15px;
    outline: 0;
}

.input-block:has(input:focus) {
    outline: 2px solid var(--color-primary);
}

.input-block input::placeholder {
    color: var(--text-color-primary);
}

.contact-form__policy-text {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 0;
}

.contact-form__policy-text a {
    color: var(--color-secondary);
}

.contact-form__checkbox {
    display: block;
    opacity: 1;
    appearance: none;
    -webkit-appearance: none;
    width: 25px;
    height: 25px;
    min-width: 25px;
    min-height: 25px;
    border: none;
    border-radius: 0;
    background-color: #F1F3F5;
    padding: 0;
    margin-right: 10px;
    outline: none;
    box-shadow: none;
}

.contact-form__checkbox:checked {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23136188' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
}

.catalog-page .product-card .product-card__image {
    aspect-ratio: 2.6 / 1.5;
}

.catalog-page .product-card .product-card__name {
    font-size: 16px;
    text-align: left;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sidebar {
    background-color: #fff;
    border: 0;
    border-radius: 5px;
}

.sidebar .sidebar__item > .sidebar__item-header {
    border-bottom: 1px solid #F1F3F5;
}

.sidebar .sidebar__item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.sidebar .sidebar__item-header:hover {
    cursor: pointer;
}

.sidebar .sidebar__item-header:hover .sidebar__item-text {
    color: var(--color-primary);
}

.sidebar .sidebar__item > .sidebar__items-list {
    display: none;
    height: 0;
    transition: height 0.3s ease;
}

.sidebar .sidebar__item.active > .sidebar__items-list {
    display: block;
    height: auto;
}

.sidebar .sidebar__item-text {
    font-size: 16px;
    margin: 0;
}

.sidebar .sidebar__item.active > .sidebar__item-header > .sidebar__item-text {
    color: var(--color-primary);
}

.sidebar > .sidebar__item > .sidebar__item-header > .sidebar__item-text {
    font-size: 20px;
    font-weight: 700;
}

.sidebar .sidebar__item-icon {
    width: 16px;
    height: 16px;
    background-image: url('/wp-content/uploads/icons/arrow_down_gray.svg');
    background-size: cover;
}

.sidebar .sidebar__item.active > .sidebar__item-header > .sidebar__item-icon {
    background-image: url('/wp-content/uploads/icons/arrow_up_blue.svg');
}

.post-section .post-content {
    background-color: #fff;
    padding: 20px;
}

.project-request-card {
    background-color: #fff;
    border: 0;
    border-radius: 0;
    border-left: 2px solid var(--color-primary);
}

.project-request-card .card-body {
    padding: 20px 30px;
}

.project-request-card .project-request-card__text {
    font-size: 20px;
    color: #000;
    margin: 0;
}

.post-section .post-content h1,
.post-section .post-content h2,
.post-section .post-content h3,
.post-section .post-content h4,
.post-section .post-content h5,
.post-section .post-content h6 {
    font-weight: 700;
    color: var(--color-primary);
}

.post-section .post-content p {
    line-height: 30px;
}

.post-section .post-content a {
    color: var(--color-primary);
    text-decoration: underline;
}

.woocommerce nav.woocommerce-pagination ul,
.pagination .nav-links {
    display: inline-flex;
    gap: 10px;
}

.woocommerce nav.woocommerce-pagination ul,
.woocommerce nav.woocommerce-pagination ul li {
    border: 0;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span,
.pagination .nav-links a,
.pagination .nav-links span {
    width: 50px;
    height: 50px;
    font-size: 16px;
    font-weight: 700;
    line-height: 2.2;
    background-color: #fff;
    color: var(--color-primary);
    transition: all 0.2s;
}

.pagination .nav-links a,
.pagination .nav-links span {
    line-height: 3.2;
    text-align: center;
}

.woocommerce nav.woocommerce-pagination ul li a:focus,
.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current,
.pagination .nav-links a:focus,
.pagination .nav-links a:hover,
.pagination .nav-links span.current {
    background-color: var(--color-primary);
    color: #fff;
}

.woocommerce-breadcrumb {
    font-size: 14px !important;
    color: var(--text-color-primary) !important;
    margin: 1.5rem 0 !important;
}

.woocommerce-breadcrumb a {
    color: var(--text-color-primary) !important;
}

footer p {
    margin: 0;
}

footer .footer-menu__title {
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: .2rem;
}

footer .footer-menu {
    list-style-type: none;
    padding: 0;
}

footer .footer-menu li {
    font-weight: 300;
    margin-bottom: .2rem;
}

footer .company-address {
    font-size: 16px;
    font-weight: 300;
}

header.site-header .header-dropdown-menu {
    display: none;
}

header.site-header .header-dropdown-menu.show,
header.site-header .header-dropdown-menu:hover {
    display: inherit;
}

.header-dropdown-menu .project-card {
    background-color: #F1F3F5;
    min-width: 0;
    width: 100%;
}

.header-dropdown-menu .project-card .project-card__title {
    font-size: 16px;
}

.dropdown-products-menu {
    position: relative;
    list-style-type: none;
    padding: 0;
    margin: 0;
    background-color: var(--color-primary);
    color: #fff;
    font-size: 16px;
}

.dropdown-products-menu::before {
    content: '';
    position: absolute;
    bottom: 0;
    top: 0;
    right: 0;
    left: -10000px;
    background-color: var(--color-primary);
    z-index: 1;
}

.dropdown-products-menu li {
    position: relative;
    padding: 12px 0;
    z-index: 2;
    cursor: pointer;
    transition: padding 0.3s ease;
}

.dropdown-products-menu li:hover,
.dropdown-products-menu li.active {
    background-color: #fff;
    color: var(--color-primary);
    padding: 20px 0;
}

.dropdown-products-menu li:hover::before,
.dropdown-products-menu li.active::before {
    content: '';
    position: absolute;
    bottom: 0;
    top: 0;
    right: 0;
    left: -10000px;
    background-color: #fff;
}

.dropdown-products-menu li .d-flex {
    position: relative;
    z-index: 3;
}

.dropdown-products-list {
    display: none;
}

.dropdown-products-list.show,
.dropdown-products-list:hover {
    display: inherit;
}

.header-dropdown-menu .product-card {
    background-color: #F1F3F5;
}

.header-dropdown-menu .product-card .card-body {
    border: 0;
}

.header-dropdown-menu .product-card .product-card__image {
    background-color: #fff;
}

.header-dropdown-menu .product-card .product-card__name {
    font-size: 16px;
}

.header-dropdown-menu:not(:has(.dropdown-products-list.show)) .dropdown-products-list[id="bestsellers"] {
    display: inherit !important;
}



.woocommerce-products-header__title {
    font-size: 48px;
    font-weight: 500;
    color: var(--color-primary);
    margin-top: 0;
}

@media (max-width: 992px) {
    .header-dropdown-menu {
        display: none !important;
    }
}

@media (max-width: 768px) {
    img.custom-logo {
        max-width: 120px;
    }

    main {
        padding-top: 180px;
    }

    header.site-header .top-head {
        padding: 0;
    }

    footer {
        padding: 50px 0;
    }

    .btn.btn-primary,
    .btn.btn-outline-primary {
        font-size: 16px;
        max-height: 48px;
        padding: 15px 20px;
    }

    section {
        margin: 50px 0;
        padding: 50px 0;
    }

    .section-title {
        font-size: 28px;
    }

    .section-text {
        font-size: 16px;
    }

    .catalog-section {
        padding: 50px 0;
    }

    .section-subtitle {
        font-size: 14px;
        padding-bottom: 5px;
    }

    .section-subtitle::after {
        width: 73px;
        height: 2px;
    }

    .banner-title {
        font-size: 50px;
    }

    .product-card .product-card__name {
        font-size: 16px;
    }

    .advantage-card .advantage-card__title {
        font-size: 16px;
    }

    .feature-card .feature-card__title {
        font-size: 30px;
    }

    .feature-card[id="comprehensiveSupplies"] .feature-card__title {
        top: 40px;
        right: 45px;
    }

    .feature-card[id="coupons"] .feature-card__title {
        bottom: 40px;
        right: 45px;
    }

    .feature-card[id="comprehensiveSupplies"] .feature-card__bg-image[id="bgImage1"] {
        width: 240px;
        left: 0;
    }

    .feature-card[id="coupons"] .feature-card__bg-image[id="bgImage1"] {
        width: 220px;
        top: -5%;
        transform: rotate(28deg);
        left: -20px;
    }

    .project-request-card .project-request-card__text {
        font-size: 18px;
    }

    .post-section .post-content p {
        line-height: 25px;
    }
}

@media (max-width: 576px) {
    header #searchform {
        width: 100%;
    }
}
