@font-face {
    font-family: 'Inter';
    src: url('/wp-content/themes/matrix/webfonts/Inter-VariableFont_opsz,wght.ttf') format('truetype');
    font-weight: 100 900;
    font-stretch: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --color-primary: #D41317;
}

body {
    font-family: 'Inter', sans-serif;
    font-optical-sizing: auto;
    background-color: #F8F8F8 !important;
}

main {
    min-height: 600px;
    padding-bottom: 3rem;
}

a {
	color: inherit;
    text-decoration: none;
}

a:visited {
	color: inherit;
}

a:hover,
a:focus,
a:active {
	color: inherit;
}

header {
    background-color: #fff;
}

.custom-logo {
    width: 180px;
    height: 30px;
}

.additional-menu {
    background-color: #F8F8F8;
}

footer {
    background-color: #fff;
}

.second-footer .contact-info .address,
.second-footer .copyright {
    font-weight: 500;
    font-size: 14px;
    color: #909090;
}

.second-footer .catalog-menu .title {
    font-size: 18px;
    font-weight: 500;
}

.second-footer .catalog-menu ul {
    list-style-type: none;
    padding: 0;
}

.second-footer .catalog-menu ul > li {
    margin-bottom: 0.6rem;
}

ul,
ol {
    margin-left: 0;
}

.text-truncate-2-lines {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.menu-item {
    font-weight: 500;
}

.menu-item.current-menu-item {
    text-decoration: underline;
    text-decoration-color: var(--color-primary);
    text-underline-offset: 10px;
}

.search-input-block {
    border: 0;
    border-radius: 10px;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.05);
    padding: 8px 15px;
    background-color: #fff;
}

input.search-input {
    border: 0px;
    width: 250px;
    outline: 0;
}

.bg-white {
    background-color: #fff;
}

.section-title {
    font-size: 24px;
    font-weight: bold;
}

.btn.btn-primary {
    color: #fff;
    background-color: var(--color-primary);
    border: 0;
    padding: 8px 15px;
    border-radius: 10px;
}

.btn.btn-primary:hover {
    background-color: #e31c1f;
}

.btn.btn-primary:active {
    background-color: #c31316;
}

.accent {
    color: var(--color-primary);
}

#mainBlock {
    height: 92vh;
    background-color: #fff;
    background-image: url('/wp-content/uploads/pages/home/main-bg.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position-x: -60%;
}

.slogan {
    font-size: 64px;
    font-weight: bold;
    line-height: 100%;
    margin: 0;
}

@media (max-width: 2560px) {
    #mainBlock {
        background-position-x: -5%;
    }
}

@media (max-width: 1980px) {
    #mainBlock {
        background-position-x: -30%;
    }
}

@media (max-width: 1440px) {
    #mainBlock {
        background-position-x: -100%;
    }
}

@media (max-width: 576px) {
    #mainBlock {
        background-image: none;
    }

    .slogan {
        text-align: center;
    }
}

.how-it-works {
    font-size: 40px;
    font-weight: 500;
}

.care-types-cataloge {
    margin-top: -8%;
}

.care-card {
    width: 100%;
    aspect-ratio: 3 / 4;
    background-size: cover;
    background-position: center;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
    transition: transform 0.5s;
}

.care-card:hover {
    transform: scale(1.05);
}

.card-overlay {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(54, 54, 54, 0) 0%, rgba(54, 54, 54, 0.5) 100%);
}

.care-text{
    font-size: 20px;
    font-weight: 500;
    color: #fff;
    text-align: center;
}

.product-card .product-image {
    width: 100%;
    aspect-ratio: 3 / 4;
    background-color: #fff;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.05);
}

.product-card .product-overlay {
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: all 0.3s ease;
}

.product-card .product-overlay:hover {
    opacity: 1;
}

.product-card .product-more-btn {
    width: 100%;
    font-size: 20px;
    font-weight: 500;
    text-align: center;
    padding: 15px 0;
}

.product-card .product-more-btn.btn-red {
    color: #fff;
    background-color: var(--color-primary);
}

.product-card .product-more-btn.btn-grey {
    color: #fff;
    background-color: #363636;
}

.product-card .product-more-btn.btn-green {
    color: #fff;
    background-color: #82AC00;
}

.product-card .product-more-btn.btn-yellow {
    color: #fff;
    background-color: #e4ce2c;
}

.product-card .product-name {
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

img.manufacturer-logo {
    height: 50px;
    width: auto;
}

img.about-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.05);
}

.about-card {
    width: 100%;
    height: 100%;
    background-color: #FFFFFF;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.05);
}

.about-card p {
    font-size: 24px;
    line-height: 1.8rem;
}

.custom-carousel {
    overflow-x: auto;
}

.custom-carousel-item img {
    max-height: 120px;
}

.review-card {
    font-size: 18px;
    line-height: 1.4rem;
    background-color: #fff;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.05);
}

.review-card img {
    width: 100%;
    height:100%;
    object-fit: cover;
    object-position: center;
}

.review-content {
    max-height: 8rem;
    overflow-y: auto;
}

.reviewer-name {
    font-weight: 500;
}

.email-subscription-card {
    background-color: #fff;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.05);
    padding: 100px 0;
}

.email-subscription-card .subscription-title {
    font-size: 48px;
}

.subscribe-agreement {
    color: #909090;
    font-size: 14px;
    font-weight: 500;
}

.wp-block-button__link {
    color: #fff !important;
}

.main-category-card {
    width: 100%;
    height: 100%;
    background-color: #FFFFFF;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.05);
}

.main-category-card img.category-logo {
    width: 100%;
}

.main-category-card .category-name {
    font-weight: bold;
    margin: 0;
}
