/*
--------------------
Connecting fonts
--------------------
*/
@import url('/wp-content/themes/softstyle/assets/css/fonts-local.css');

/*
--------------------
Connecting colors
--------------------
*/
:root {
    --black: #222222;
    --black2: #0A3231;
    --beige: #B2A298;
    --grey: #F9F9F9;
    --grey2: #CDCDCD;
    --grey3: #909090;
    --grey4: #9DADAD;
    --grey5: #ebe8e8;
    --green: #32BA43;
    --white: #ffffff;
}

/*
--------------------
Base styles
--------------------
*/
* {
    -moz-box-sizing: border-box;
         box-sizing: border-box;
}

body {
    font-family: "Roboto", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    font-size: 16px;
    color: var(--black);
    margin: 0;
    display: flex;
    flex-direction: column;
    padding-top: 89px;
}

body, html {height: 100%;}
body.lock, body.modal-open-noscroll {overflow: hidden;}

body.lock:before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.59);
    display: block;
    z-index: 20;
}

input:not([type=checkbox]):not([type=radio]),
textarea,
select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

input, textarea, a:focus, input:focus, button:active, button:focus, select:focus {outline:none !important; box-shadow: none !important;}
button::-moz-focus-inner {border: 0 !important;}
.grey {background: var(--grey);}

h1 {
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: "Playfair Display", serif;
    font-size: 50px;
    font-weight: 500;
    line-height: 1;
    text-transform: uppercase;
    margin: 0;
}

h2 {
    font-feature-settings: 'liga' off, 'clig' off;
    font-size: 36px;
    font-weight: 500;
    line-height: normal;
    margin: 0;
}

.title {
    color: var(--beige);
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: "Playfair Display";
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.title:before {
    content: "";
    width: 50px;
    height: 2px;
    background: var(--beige);
}

.titles {
    border-left: 4px solid var(--beige);
    padding-left: 20px;
}

.titles span {display: block;}

p {
    margin: 0 0 15px;
    line-height: 1.3;
}

a {text-decoration: none;}
a:hover {text-decoration: underline;}
section {padding: 60px 0;}
main section:first-child {padding: 40px 0 60px;}
.homepage section:first-child {padding: 60px 0;}
section.padd {padding: 0;}
.black {background: var(--black); color: var(--white);}

.container {
    width: 100%;
    max-width: 1200px;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
}

.title-block {
    display: flex;
    gap: 10px;
}

.title-block > div {
    display: flex;
    gap: 5px;
    flex: 1;
}

.title-block > div p {
    font-size: 18px;
    margin-bottom: 0;
}

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

.column {flex-direction: column;}
.wrap {flex-wrap: wrap;}

.column-block {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.unstyled {
    padding: 0;
    margin: 0;
    list-style: none;
}

.btn {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    font-size: 16px;
    line-height: 1.2;
    padding: 10px 25px;
    border: 1px solid var(--black);
    color: var(--black);
    position: relative;
    background: #ffffff;
}

.btn:before, .btn:after {
    content: "";
    position: absolute;
    width: 6px;
    height: 6px;
}

.btn:before {
    border-bottom: 1px solid var(--black);
    border-right: 1px solid var(--black);
    right: 100%;
    bottom: 100%;
}

.btn:after {
    border-top: 1px solid var(--black);
    border-left: 1px solid var(--black);
    left: 100%;
    top: 100%;
}

.btn-white-transparent {
    background: transparent;
    border-color: var(--white);
    color: var(--white);
}

.btn-white-transparent:before, .btn-white-transparent:after {border-color: var(--white);}

.btn-beige {
    background: rgba(178, 162, 152, 0.40);
    backdrop-filter: blur(2px);
    border-color: var(--beige);
    color: var(--white);
}

.btn-beige:before, .btn-beige:after {border-color: var(--beige);}

.btn-black {
    background: rgba(34, 34, 34, 0.4);
    backdrop-filter: blur(2px);
    color: var(--white);
}
.btn-white {
    background: var(--white);
}

.tab-content > div {display: none;}
.tab-content > div.active {display: block;}

.row-block {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.row-block > div {width: 50%;}
.row-text {font-size: 20px; padding-top: 21px;}
.inner-text .row-text {padding-top: 0;}
.row-text p:last-child {margin-bottom: 0;}
.row-block h2 {margin-bottom: 0;}

.modal {
    position: fixed;
    inset: 0;
    background-color: rgba(50, 50, 50, 0.6);
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal-content {
    background: var(--white);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 94%;
    max-width: 550px;
    position: relative;
    padding: 50px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.modal-content p {text-align: center;}

.close-modal {
    background: url(../img/close2.svg) center / cover no-repeat;
    width: 20px;
    height: 20px;
    position: absolute;
    top: 10px;
    right: 10px;
}

.modal-title {
    width: 100%;
    text-align: center;
    padding-right: 20px;
}

.hidden {display: none;}

.forms {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.forms input, .modal textarea {
    background: var(--white);
    padding: 10px 20px;
    color: #f50000;
    font-feature-settings: 'liga' off, 'clig' off;
    font-size: 20px;
    font-weight: 300;
    line-height: normal;
    border: 1px solid var(--black);
    height: 48px;
    width: 100%;
    font-family: "Roboto", Arial, sans-serif;
}

.forms button {height: 48px;}

.forms span a {
    color: var(--black);
    text-decoration: underline;
}

.invalid-feedback {
    color: red;
    font-size: 12px;
    display: none;
}

.modal textarea {
    height: 100px;
    resize: none;
}

/* Styles for select */
.custom-select-wrapper {
    position: relative;
    user-select: none;
    width: 100%;
}

.custom-select-wrapper select {display: none;}

.custom-select {
    position: relative;
    border: 1px solid var(--grey2);
    cursor: pointer;
    background: white;
}

.custom-select__trigger {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 10px;
    color: var(--grey3);
}

.custom-select__trigger::after {
    content: "";
    background: url(../img/check-icon.svg) center / contain no-repeat;
    width: 16px;
    height: 9px;
}

.custom-select.open .custom-select__trigger::after {
    transform: rotate(180deg);
}

.custom-options {
    position: absolute;
    display: none;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--grey);
    border: 1px solid var(--grey2);
    border-top: 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
    max-height: 200px;
    overflow-y: auto;
}

.custom-select.open .custom-options {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 5px 10px;
}

.custom-option {
    position: relative;
    cursor: pointer;
    transition: background 0.3s;
}

.custom-option:hover {
    text-decoration: underline;
}

/*
--------------------
Styles for Header
--------------------
*/
header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    padding-top: 15px;
    background: var(--black);
}

.header-block {padding: 10px 0;}
.main-header {background: transparent;}

header.main-header.fixed {
    background: var(--black);
    padding: 0;
}

.contact-block {
    display: flex;
    gap: 20px;
}

.social {display: flex;}
.social, .tels {gap: 10px;}

.social a {
    width: 25px;
    height: 24px;
    display: block;
}

.whatsapp {background: url(../img/whatsapp.svg) no-repeat;}
.telegram {background: url(../img/telegram.svg) no-repeat;}

.tels a {
    color: var(--white);
    font-feature-settings: 'liga' off, 'clig' off;
    font-size: 18px;
    font-weight: 500;
    line-height: 1;
    text-transform: uppercase;
}

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

nav a {
    color: var(--white);
    font-feature-settings: 'liga' off, 'clig' off;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.2;
}

nav ul:first-child a {
    font-family: "Playfair Display";
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
}

nav ul {
    display: flex;
    width: 100%;
    gap: 20px;
}

nav ul:first-child {gap: 40px;}
nav ul li {position: relative;}

nav ul li div {
    display: flex;
    align-items: center;
    gap: 10px;
}

nav ul li div span {
    background: url(../img/check-icon.svg) center / contain no-repeat;
    filter: brightness(0) invert(1);
    width: 16px;
    height: 9px;
}

nav ul li ul {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    color: #fff;
    flex-direction: column;
    background: var(--black);
    width: 250px;
    z-index: 2;
    gap: 10px;
    padding: 10px;
    margin: 0;
    list-style: none;
}

nav ul li ul:before {
    content: "";
    background: transparent;
    height: 30px;
    position: absolute;
    top: -10px;
    left: 0;
    width: 100%;
}

nav ul li:hover ul {display: flex;}

nav ul:first-child li > ul li a {
    text-transform: none;
    font-family: "Roboto", Arial, sans-serif;
}

nav ul li > ul li a:hover {text-decoration: underline;}

.mobile-nav {
    display: none;
    width: 36px;
    height: 36px;
    border: 1px solid var(--beige);
    background: url(../img/nav.svg) center no-repeat;
    cursor: pointer;
}

.active .mobile-nav {background: url(../img/close.svg) center / 24px no-repeat;}


/*
--------------------
Styles for Offer
--------------------
*/
.offer {
    padding: 215px 0 130px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.40) 0%, rgba(0, 0, 0, 0.40) 100%), url(../img/offer.jpg) lightgray 50% / cover no-repeat;
    background-size: cover;
    background-position: center;
    color: var(--white);
    margin-top: -89px;
    position: relative;
}

/* Стили для изображения из ACF */
.offer__bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Когда есть кастомное изображение, убираем CSS-фон */
.offer--custom-bg {
    background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.40) 0%, rgba(0, 0, 0, 0.40) 100%);
    background-color: transparent;
}

.offer .container {
    position: relative;
    z-index: 1;
}

.offer-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 30px 0;
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.offer:after {
    content: "";
    background: rgba(0, 0, 0, 0.3);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.offer-content h1 {font-size: 62px;}

.offer-content p {
    font-size: 20px;
    margin-bottom: 0;
    max-width: 90%;
}

.offer-btn {
    display: flex;
    gap: 30px;
}

.offer-btn a {
    gap: 10px;
    display: flex;
    gap: 10px;
}

.offer-btn .btn-black {background: rgba(34, 34, 34, 0.6)}

.offers {
    border-left: 4px solid var(--beige);
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}


/*
--------------------
Styles for Company
--------------------
*/
.company-block {
    display: flex;
    gap: 40px;
}

.company-image {width: 38%;}

.company-image img {
    width: 408px;
    height: 430px;
    object-fit: cover;
}

.company-info {
    width: 62%;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.padbord {
    padding: 10px;
    border: 1px solid var(--beige);
}

.title-column h2 {margin-bottom: 20px;}
.title-column p {margin-bottom: 0;}

.tabs {
    gap: 30px;
    display: flex;
    flex-direction: column;
}

.company-tab {
    display: flex;
    flex-direction: column;
}

.company-tab, .company-tab-info {gap: 25px;}

.company-tab-info img {
    width: 165px;
    height: 165px;
    object-fit: cover;
    object-position: center; /* Центрирование при обрезке */
    border-radius: 8px; /* Опционально: скругленные углы */
    flex-shrink: 0; /* Предотвращает сжатие изображения */
}

.tabsmenu li, .tab-block button {
    font-feature-settings: 'liga' off, 'clig' off;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
    border-bottom: 1px solid var(--grey2);
    padding-bottom: 13px;
    position: relative;
    cursor: pointer;
}

.tabsmenu li.active, .tab-block button.active {
    position: relative;
    color: var(--beige);
    border-bottom: none;
}

.tabsmenu li.active::after, .tab-block button.active:after {
    content: '';
    position: absolute;
    top: calc(100% - 6px);
    left: 0;
    width: 100%;
    height: 11px;
    background: url(../img/line.svg) center;
}

.icons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 14px;
}

.icons li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.icons li:before {
    content: "";
    width: 24px;
    height: 24px;
}

.icons li:nth-child(1):before {background: url(../img/tab-icon1.svg) center no-repeat;}
.icons li:nth-child(2):before {background: url(../img/tab-icon2.svg) center no-repeat;}
.icons li:nth-child(3):before {background: url(../img/tab-icon3.svg) center no-repeat;}


/*
--------------------
Styles for Collection
--------------------
*/
.collection {position: relative;}
.homepage .collection {padding: 160px 0;}
.collection h2 {color: var(--white);}

.collection-background {
    width: 100%;
    display: flex;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    height: 100%;
}

.collection-background div {width: 60%;}

.collection-background div img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.collection-background > div:first-child {
    margin-right: -5%;
    z-index: 2;
    height: 85%;
    position: relative;
}

.collection-background > div:first-child:before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.60) 0%, rgba(0, 0, 0, 0.60) 100%);
    backdrop-filter: blur(0.5px);
}

.collection-background > div:last-child {
    margin-left: -5%;
    height: 100%;
}

.collection .title-column {width: 55%;}

.collection-info {
    display: flex;
    position: relative;
    min-height: 400px;
    overflow: visible;
}

.collection-blk {
    border: 1px solid var(--beige);
    background: var(--white);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
    width: 25%;
    position: relative;
    transition: all 0.3s ease;
    transform-origin: center center;
}

.collection-title {
    padding: 40px 20px 0;
    z-index: 3;
}

.collection-title p {margin-bottom: 0;}

.collection-title span {
    display: block;
    margin: 10px 0 27px;
    font-feature-settings: 'liga' off, 'clig' off;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
}

.collection-blk .collection-image {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.collection-title img.collection-icon {
    display: block;
    width: 100px;
    height: 80px;
    object-fit: none;
    object-position: left;
}

.collection-blk a.btn {
    margin: auto 20px 40px;
    z-index: 3;
}

.collection-blk:hover a.btn:hover {text-decoration: none;}

/*
--------------------
Styles for Numbers
--------------------
*/
.number-block {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    border: 1px solid var(--beige);
    border-right: 0;
}

.number {
    width: 30%;
    border-right: 1px solid var(--beige);
    padding: 50px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.number:nth-child(-n+2) {
    width: 40%;
    border-bottom: 1px solid var(--beige);
}

.number span {
    font-feature-settings: 'liga' off, 'clig' off;
    font-size: 80px;
    font-weight: 500;
    line-height: 1;
    text-transform: uppercase;
}

.number div {
    display: flex;
    align-items: flex-start;
}

.number sup {
    font-size: 36px;
    font-weight: 500;
}

.number p {
    font-feature-settings: 'liga' off, 'clig' off;
    font-size: 24px;
    font-weight: 500;
    line-height: 1;
    margin-bottom: 0;
}

.number:first-child {
    background: var(--beige);
    color: var(--white);
    flex-direction: row;
    align-items: flex-end;
    width: 60%;
}

.number:first-child span {
    font-size: 140px;
    line-height: 0.7;
}

.number:first-child p {font-size: 36px;}
.number:last-child {width: 40%;}

/*
--------------------
Styles for Hits
--------------------
*/
.hits .row-text {padding-left: 100px;}
.column-block h2 {margin-bottom: 0;}

.hits .swiper-slide {
    display: flex;
    gap: 10px;
}

.hit-image {
    box-shadow: -2px 2px 6px 4px rgba(0, 0, 0, 0.40);
    width: 50%;
}

.hit-image img {
    width: 100%;
    height: 100%;
    display: block;
}

.hit-info {
    padding: 50px;
    border: 1px solid var(--beige);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    width: 50%;
}

.hit-info span {
    font-feature-settings: 'liga' off, 'clig' off;
    font-size: 24px;
    font-weight: 500;
    line-height: 1;
	color: #000000;
}

.hit-info p {margin-bottom: 0;}
.swiper-pagination {display: flex;}
.hits .swiper-pagination {display: none;}

.hits .swiper {
    padding: 12px;
    margin: -12px;
}

.hits .swiper-wrapper {
    flex-wrap: wrap;
    gap: 10px;
}

.hits .swiper-slide:nth-child(even) .hit-image {order: 2;}
.hits .swiper-slide:nth-child(even) .hit-info {order: 1;}

.swiper-pagination {
    position: relative;
    bottom: 0 !important;
    margin-top: 20px;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.swiper-pagination-bullet {
    width: 10px;
	min-width: 10px;
    height: 1px;
    background: var(--black);
    margin: 0 !important;
    opacity: 1;
}

.swiper-pagination-bullet-active {
    width: 6px;
	min-width: 6px;
    height: 6px;
    transform: rotate(45deg);
    border-top: 1px solid var(--black);
    border-left: 1px solid var(--black);
    background: transparent;
    border-radius: 0;
}

/*
--------------------
Styles for Panels
--------------------
*/
.panels-info {
    display: none;
    padding: 10px 15px;
    border: 1px solid var(--beige);
    background: rgba(0, 0, 0, 0.60) url(../img/arrow.svg) 90% 90% no-repeat;
    backdrop-filter: blur(2px);
    flex-direction: column;
    gap: 10px;
    text-decoration: none;
    position: absolute;
    left: 30px;
    bottom: 30px;
    z-index: 2;
    width: 250px;
}

.swiper-slide:hover .panels-info {display: flex;}

.panels-info:hover {text-decoration: none;}

.panels-info:before, .panels-info:after {
    content: "";
    position: absolute;
    width: 6px;
    height: 6px;
}

.panels-info:before {
    border-bottom: 1px solid var(--beige);
    border-right: 1px solid var(--beige);
    right: 100%;
    bottom: 100%;
}

.panels-info:after {
    border-top: 1px solid var(--beige);
    border-left: 1px solid var(--beige);
    left: 100%;
    top: 100%;
}

.paneles .swiper {
    padding: 12px;
    margin: -12px;
}

.paneles .swiper-slide {
    width: auto;
    height: auto;
}

.panels-image {
    position: relative;
    height: 100%;
	max-height:636px;
}

.panels-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.panels-image:hover:after {
    content: "";
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.40) 0%, rgba(0, 0, 0, 0.40) 100%);
    box-shadow: -2px 2px 6px 4px rgba(0, 0, 0, 0.40);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.panels-info span {
    color: var(--beige);
    font-feature-settings: 'liga' off, 'clig' off;
    font-size: 24px;
    font-weight: 500;
    line-height: 1;
}

.panels-info p {
    color: var(--white);
    font-feature-settings: 'liga' off, 'clig' off;
    font-size: 14px;
    margin-bottom: 0;
}

.panels-info p:last-child {font-size: 12px;}

.panels-info p span {
    font-size: 18px;
    text-transform: uppercase;
}

.swiper-button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
    gap: 25px;
}

.swiper-button-prev, .swiper-button-next {
    position: relative;
    top: 0;
    margin: 0;
    width: 60px;
    min-width: 60px;
    height: 40px;
    border: 1px solid var(--beige);
}

.swiper-button-prev:after, .swiper-button-next:after {
    content: "";
    background: url(../img/swiper-arrow.svg) no-repeat;
    width: 31px;
    height: 30px;
}

.swiper-button-prev:after {transform: rotate(180deg);}

.swiper-button .swiper-pagination {
    width: auto;
    margin: 0;
}

/*
--------------------
Styles for Benefits
--------------------
*/
.benefit-block {
    display: flex;
    gap: 10px;
}

.benefit-blk {
    border: 10px solid var(--white);
    outline: 1px solid var(--beige);
    background: var(--grey);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 20px;
    flex: 1;
}

.benefit-blk img {
    display: block;
    margin: 0 auto;
}

.benefit-blk span {
    font-feature-settings: 'liga' off, 'clig' off;
    font-size: 20px;
    line-height: 1.1;
}

.benefit-blk p {
    font-size: 14px;
    margin-bottom: 0;
}


/*
--------------------
Styles for Sale
--------------------
*/
.sale {
    background: url(../img/sale-bg.png) center / contain no-repeat;
    position: relative;
    padding: 95px 0 175px;
}

.homepage .sale {padding: 95px 0 175px;}

.sale:before {
    content: "";
    width: 50%;
    height: calc(100% - 270px);
    background: var(--beige);
    position: absolute;
    left: 0;
    top: 95px;
    z-index: 1;
}

.sale-info {
    position: relative;
    z-index: 2;
    max-width: 744px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.sale-right {
    color: #ffffff;
    width: 50%;
    margin-left: auto;
}

.sale-date {
    font-feature-settings: 'liga' off, 'clig' off;
    font-size: 32px;
    font-weight: 300;
    line-height: normal;
    text-transform: uppercase;
    padding-left: 20px;
}

.sale-left {
    text-align: right;
    color: var(--white);
    width: 50%;
}

.sale-row {display: flex;}

.sale-title {
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: "Playfair Display";
    font-size: 200px;
    font-weight: 600;
    line-height: 0.85;
    text-transform: uppercase;
}

.sale-text {
    margin-top: 20px;
}

.sale-text .sale-left p {
    max-width: 275px;
    font-feature-settings: 'liga' off, 'clig' off;
    font-size: 29px;
    font-weight: 500;
    line-height: 1;
    text-transform: uppercase;
    margin: 0 10px 0 auto;
}

.sale-text .sale-number {
    font-feature-settings: 'liga' off, 'clig' off;
    font-size: 150px;
    font-weight: 600;
    line-height: 0.85;
    text-transform: uppercase;
}

.sale-text .sale-right {
    display: flex;
    align-items: center;
}

.sale-text .sale-right p {
    display: flex;
    flex-direction: column;
    font-feature-settings: 'liga' off, 'clig' off;
    font-size: 80px;
    line-height: 0.85;
    text-transform: uppercase;
    margin-bottom: 0;
}

.sale-text .sale-right p span {
    font-size: 30px;
    font-weight: 500;
}

.sale-logo {
    margin-top: 10px;
    padding-left: 10px;
}

/*
--------------------
Styles for Reviews
--------------------
*/
.revews-info-block {
    display: flex;
    justify-content: space-between;
}

.revews-info-block .title-column {width: 43%;}
.revews-info-block .title-column .btn {margin-top: 20px;}

.review-data {
    width: 42%;
    background: var(--white);
    box-shadow: -2px 2px 6px 4px rgba(0, 0, 0, 0.40);
    border: 10px solid var(--white);
    padding: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.review-data:before {
    content: "";
    width: 4px;
    height: 100%;
    background: var(--beige);
    position: absolute;
    left: 0;
    top: 0;
}

.review-data-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}

.review-data-logo span {
    font-feature-settings: 'liga' off, 'clig' off;
    font-size: 20px;
    font-weight: 300;
    line-height: 1.2;
    text-transform: uppercase;
    display: block;
}

.reviews-info p {
    margin-bottom: 0;
    color: var(--white);
    font-family: "Hind Madurai";
    font-size: 24px;
    font-weight: 700;
    line-height: 0.5;
    border-radius: 5px;
    background: var(--green);
    width: 40px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reviews-info span {
    font-size: 12px;
}

.review-data-list ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.review-data-list ul li {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.review-data-list ul li p {
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.review-data-list ul li p span {
    color: var(--green);
    display: flex;
    align-items: center;
    gap: 3px;
    font-weight: 500;
}

.review-data-list ul li p span:before {
    content: "";
    background: url(../img/like.svg) center no-repeat;
    width: 15px;
    height: 16px;
}

.review-data-list ul li span.comm {
    color: var(--grey4);
    font-family: "Lora";
    font-size: 12px;
    line-height: 1;
    letter-spacing: 0.24px;
}

.reviews-more {
    margin-top: -10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.reviews-more span {
    color: var(--grey4);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.2;
}

.reviews-more a {
    color: var(--black2);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.2;
    text-decoration-line: underline;
    text-transform: lowercase;
}

/*
--------------------
Styles for Reviews
--------------------
*/
.reviews .swiper-slide {
    border: 1px solid var(--grey2);
    padding: 10px;
    height: auto;
}

.review-block {
    background: var(--white);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 100%;
}

.review-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.review-title img {width:60px; border-radius:555px;}

.review-title p {
    margin-bottom: 0;
    font-feature-settings: 'liga' off, 'clig' off;
    font-size: 24px;
    font-weight: 500;
    line-height: 1;
}

.review-title span {
    color: var(--grey2);
    font-feature-settings: 'liga' off, 'clig' off;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
}

.review-star {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 225px;
}

.review-star span {
    margin-left: auto;
    font-size: 12px;
}

.review-comment p {font-size: 14px;}
.review-comment p:last-child {margin-bottom: 0;}

.circles {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
  
.circles li {
    width: 20px;
    height: 19px;
    background: url(../img/star.svg) center / contain no-repeat;
}
  
.circles li.filled {background:  url(../img/star-active.svg) center / contain no-repeat;}

.reviews .swiper {
    width: 100%;
    overflow: visible;
}

.reviews-slider {overflow: hidden;}
.reviews .swiper-pagination {display: none;}

/*
----------------------
Styles for Specialist
----------------------
*/
.specialist {
    background: linear-gradient(0deg, rgba(178, 162, 152, 0.90) 0%, rgba(178, 162, 152, 0.90) 100%), url(../img/specialist.jpg) center / cover no-repeat;
    background-blend-mode: normal, plus-darker;
}

.specialist-block {
    display: flex;
    gap: 10px;
}

.specialist-info {
    width: 66%;
    color: var(--white);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.specialist-blk {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid var(--white);
    gap: 10px;
    padding: 20px 0;
}

.specialist-blk img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.specialist-blk p {
    color: var(--white);
    text-align: center;
    font-feature-settings: 'liga' off, 'clig' off;
    font-weight: 600;
    line-height: 1.1;
    text-transform: uppercase;
    margin-bottom: 0;
}

.specialist-blk p span {display: block;}

.specialist-form {
    width: 25%;
    color: var(--white);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.specialist-form p {
    margin-bottom: 0;
    font-size: 18px;
}

.specialist-form form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.specialist-form input {
    background: var(--white);
    padding: 10px 20px;
    color: var(--grey2);
    font-feature-settings: 'liga' off, 'clig' off;
    font-size: 20px;
    font-weight: 300;
    line-height: normal;
    letter-spacing: 5px;
    border: none;
    height: 48px;
    width: 100%;
}

.specialist-form input::-webkit-input-placeholder {color: var(--grey2);}
.specialist-form input:-moz-placeholder {color: var(--grey2);}
.specialist-form input::-moz-placeholder {color: var(--grey2);}
.specialist-form input:-ms-input-placeholder {color: var(--grey2);}

.specialist-form button {margin-top: 10px;}

.specialist-form span {
    font-size: 12px;
    font-feature-settings: 'liga' off, 'clig' off;
    line-height: 1.2;
}

.specialist-form span a {
    color: var(--white);
    text-decoration: underline;
}

.specialist-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

/*
--------------------
Styles for Partners
--------------------
*/
.partners .title-column .btn {margin-top: 16px;}
.partnerSwiper {width: 100%;}
.partnerSwiper .swiper-slide img {max-width: 100%;}

/*
--------------------
Styles for Articles
--------------------
*/
.homepage .articles {padding: 0;}
.articles-block {margin-top: 20px;}

.articles-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    border: 1px solid var(--beige);
    background: var(--white);
    padding: 20px;
}

.swiper-slide.swiper-display:nth-child(even) .articles-info {
	order: 1; 
}

.articles-info span {
    font-feature-settings: 'liga' off, 'clig' off;
    font-weight: 600;
    line-height: 1.1;
    text-transform: uppercase;
}

.articles-info p {
    display: -webkit-inline-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0;
    -o-tab-size: 14px;
    font-feature-settings: 'liga' off, 'clig' off;
}

.swiper-double {
    display: flex;
    gap: 10px;
}

.articles .swiper-wrapper {
    flex-wrap: wrap;
    gap: 10px;
}

.articles .swiper-pagination {display: none;}
.articles .swiper-slide, .swiper-double {width: calc(40.5% - 5px); height: auto;}
.articles .swiper-big {width: calc(55.5% - 5px);}

.articles .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.swiper-double {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.swiper-double .swiper-slide {
    width: 100%;
    height: calc(50% - 5px);
}

.articles .swiper-slide {
    display: flex;
    gap: 10px;
}

.swiper-double .swiper-slide > div {
    flex: 1;
    min-width: calc(50% - 5px);
}

.articles .swiper-big .articles-image {width: 70%;}
.articles .swiper-big .articles-info {width: 36.3%;}
.swiper-order {order: 1;}

/*
----------------------
Styles for Breadcrumb
----------------------
*/
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 10px 0;
    color: var(--black);
    font-size: 12px;
}

.breadcrumb-item+.breadcrumb-item {
    padding-left: 10px;
    display: flex;
    align-items: center;
}

.breadcrumb-item+.breadcrumb-item::before {
    margin-right: 10px;
    content: "";
    width: 10px;
    height: 1px;
    background: var(--black);
}

.breadcrumb-item a {color: var(--beige); margin:0 0 0 5px;}

.breadcrumb-item-sep {
    padding-left: 6px;
    padding-right: 6px;
}

/*
--------------------
Styles for Page 404
--------------------
*/
.page404 {
    flex: 1;
    display: flex;
    align-items: center; /* Для вертикального центрирования содержимого */
}

.page-error {gap: 30px;}

.page-error-left h1 {
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: "Playfair Display";
    font-size: 350px;
    font-style: normal;
    font-weight: 500;
    line-height: 0.8;
    transform: translateY(-28%);
    text-transform: uppercase;
    color: var(--white);
    text-shadow: 
        -1px -1px 0 var(--beige),
        1px -1px 0 var(--beige),
        -1px 1px 0 var(--beige),
        1px 1px 0 var(--beige),
        -2px -2px 0 var(--beige),
        2px -2px 0 var(--beige),
        -2px 2px 0 var(--beige),
        2px 2px 0 var(--beige),
        -3px -3px 0 var(--beige),
        3px -3px 0 var(--beige),
        -3px 3px 0 var(--beige),
        3px 3px 0 var(--beige),
        -4px -4px 0 var(--beige),
        4px -4px 0 var(--beige),
        -4px 4px 0 var(--beige),
        4px 4px 0 var(--beige);
}

.page-error-right {
    max-width: 50%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}


/*
--------------------
Styles for Map
--------------------
*/
.map iframe {
    width: 100%;
    height: 540px;
    border: none;
}

/*
-------------------------
Styles for Contact page
-------------------------
*/
.contact-row {
    display: flex;
    gap: 10px;
}

.contact-row > div {min-width: 50%;}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    border: 1px solid var(--beige);
}

.contact-blk {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-blk p, .contact-blk a {
    color: var(--black);
    margin-bottom: 0;
    font-feature-settings: 'liga' off, 'clig' off;
    font-size: 20px;
    line-height: 1.1;
}

.contact-blk ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-blk:first-child ul li a {
    font-size: 24px;
    font-weight: 500;
    line-height: 1;
}

.contact-blk:first-child ul {gap: 5px;}

.contact-blk span {
    color: var(--grey3);
    font-feature-settings: 'liga' off, 'clig' off;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
}

.contact-blk span.info-message {
    color: var(--black);
    font-weight: 400;
    line-height: 1.2;
    text-transform: none;
}

.contact-form {
    background: var(--beige);
    padding: 20px;
    color: var(--white);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form p {margin-bottom: 0;}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.contact-form form input {
    border: none;
    max-width: 285px;
}

.contact-form form input::-webkit-input-placeholder {color: var(--grey2);}
.contact-form form input:-moz-placeholder {color: var(--grey2);}
.contact-form form input::-moz-placeholder {color: var(--grey2);}
.contact-form form input:-ms-input-placeholder {color: var(--grey2);}

.contact-form form textarea {
    border: none;
    height: 100px;
    resize: none;
    padding: 15px 20px;
}

.contact-form form span {font-size: 12px;}
.contact-form form span a {color: var(--white);}

/*
---------------------
Styles for Materials
---------------------
*/
.materials-tab ul {
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
}

.materials-block {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.tab-block {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.tab-block button {
    border: none;
    background: none;
    border-bottom: 1px solid var(--grey2);
    font-size: 16px;
}

.materials-block .tab-content {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.material-blk {
    padding: 10px;
    border: 1px solid var(--beige);
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: calc(25% - 8px);
}

.material-blk:hover {box-shadow: -2px 2px 6px 4px rgba(0, 0, 0, 0.40);}

.material-blk p {
    margin-bottom: 0;
    color: var(--grey3);
    font-feature-settings: 'liga' off, 'clig' off;
    font-size: 12px;
    line-height: 1.2;
}

.material-blk p span {
    color: var(--black);
    font-size: 14px;
}

.materials-block .tab-content > div.active {width: 100%;}
.materials-block .swiper {width: 100%;}

.swiper-pagination-progressbar .swiper-pagination-progressbar-fill {background: var(--beige);}
.swiper-pagination-progressbar {background: var(--grey5);}


/*
--------------------
Styles for FAQ
--------------------
*/
.faq-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
}

.faq-item {
    background: white;
    border: 1px solid var(--beige);
    width: calc(50% - 10px);
}

.faq-question {
    padding: 10px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    font-weight: 500;
    gap: 20px;
}

.question-text {
    font-size: 20px;
    max-width: 384px;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    font-size: 14px;
    max-width: 90%;
}

.faq-answer.active {
    max-height: 100%;
    padding: 0 10px 10px;
}

.faq-answer p {
    margin-bottom: 0;
    font-size: 14px;
}

.arrow {
    transition: transform 0.3s ease;
    background: url(../img/faq-arrow.svg) no-repeat;
    width: 24px;
    min-width: 24px;
    height: 14px;
    margin-top: 10px;
}

.faq-item.active .arrow {
    transform: rotate(180deg);
}

.faq-answer p {
    color: #666;
    line-height: 1.5;
}


.calc-block {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.calc-block h3 {
    font-size: 20px;
    margin: 0;
    font-weight: 400;
}

.calc-container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.calc-check {
    width: 52%;
    border: 2px solid var(--white);
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.options {
    display: flex;
    gap: 15px;
}

.option-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.option-group h3 {
    color: var(--grey3);
    font-feature-settings: 'liga' off, 'clig' off;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.1;
    text-transform: uppercase;
    margin: 0 0 5px;
}

.checkbox-label, .radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    gap: 5px;
}

.custom-checkbox, .custom-radio {
    position: relative;
    width: 16px;
    min-width: 16px;
    height: 16px;
    border: 1px solid var(--grey2);
    cursor: pointer;
    appearance: none;
    margin: 0;
}

.custom-radio {
    border-radius: 50%;
}

.custom-checkbox:checked:after {
    content: '';
    position: absolute;
    left: 4px;
    top: 1px;
    width: 4px;
    height: 8px;
    border: solid #000;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.custom-radio:checked:after {
    content: '';
    position: absolute;
    left: 3px;
    top: 3px;
    width: 8px;
    height: 8px;
    background: #000;
    border-radius: 50%;
}

.dimensions {
    display: flex;
    gap: 20px;
}

.input-wrapper label {
    display: block;
    margin-bottom: 5px;
    font-size: 12px;
}

.input-mm {
    position: relative;
    display: flex;
    align-items: center;
    gap: 2px;
}

.input-mm input {
    width: 65px;
    padding: 4px 5px;
    border: 1px solid var(--grey2);
    text-align: center;
    color: var(--grey3);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
}

.input-mm:after {
    content: 'мм';
    color: var(--grey3);
    font-size: 12px;
}

.comments-wrapper {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.comments-wrapper label {
    display: block;
    margin-bottom: 5px;
    font-size: 12px;
}

.comments-wrapper textarea {
    width: 100%;
    height: 64px;
    padding: 9px 10px;
    resize: none;
    border: 1px solid var(--grey2);
    background: var(--white);
    font-feature-settings: 'liga' off, 'clig' off;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
}

.comments-wrapper textarea::-webkit-input-placeholder {color: var(--grey2); text-transform: uppercase;}
.comments-wrapper textarea:-moz-placeholder {color: var(--grey2); text-transform: uppercase;}
.comments-wrapper textarea::-moz-placeholder {color: var(--grey2); text-transform: uppercase;}
.comments-wrapper textarea:-ms-input-placeholder {color: var(--grey2); text-transform: uppercase;}

.calc-form {
    width: 42%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
}

.upload-area {
    position: relative;
}

.file-upload {
    border: 1px solid var(--grey3);
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.file-upload p {
    margin-bottom: 0;
}

.file-upload > div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.file-upload span {
    font-size: 12px;
    line-height: 1.2;
    display: block;
}

#fileInput {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
}

.select-file {
    background: rgba(34, 34, 34, 0.40);
    padding: 10px 15px;
    cursor: pointer;
    border: none;
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
}

.select-file:after {
    content: "";
    background: url(../img/icon-file.svg) no-repeat;
    width: 12px;
    height: 12px;
}

.file-limit {
    margin-bottom: 0;
    font-size: 10px;
    color: var(--grey3);
}

.file-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.file-info {
    display: flex;
    gap: 10px;
}

.file-size {
    display: none;
}

.delete-file {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid var(--grey2);
    background: url(../img/icon-delete.svg) center no-repeat;
}

.phone-wrapper input {
    width: 100%;
    padding: 8px;
}

.agreement {
    font-size: 12px;
    display: block;
    margin-top: 5px;
}

.agreement a {
    color: var(--black);
    text-decoration: underline;
}

.calc-form-blk {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.phone-wrapper {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.phone-wrapper input {
    padding: 10px;
    border: 1px solid var(--grey3);
    max-width: 224px;
}

.calc-form-blk button {
    background: rgba(34, 34, 34, 0.40);
    backdrop-filter: blur(2px);
    width: 100%;
}

.calc .row-block {justify-content: space-between;}
.calc .title-column {width: 52%;}
.calc .row-text {width: 42%;}

.question-block {
    display: flex;
    gap: 10px;
}

.question-image {
    width: 58%;
    border: 1px solid var(--beige);
    padding: 10px;
}

.question-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.question .column-block {width: 41%;}
.question .faq-container {flex-direction: column;}
.question .faq-item {width: 100%;}

.question .btn-black {
    max-width: 252px;
    margin-left: auto;
    margin-top: -20px;
}



/*
--------------------
Styles for Articles
--------------------
*/
.article-block .tab-block {justify-content: space-between;}
.article-block .tab-content {margin-top: 40px;}

button#load-more {
    width: 100%;
    max-width: 380px;
    margin: 25px auto 0;
    display: block;
}

.articles-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.article-block .blocks button {
    width: 100%;
    max-width: 380px;
    margin: 25px auto 0;
    display: block;
}

.article-blk {
    display: flex;
    gap: 10px;
}

.article-image {width: 45%;}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-info {
    width: 55%;
    border: 1px solid var(--beige);
    background: var(--white);
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    justify-content: space-between;
}

.article-info p {margin-bottom: 0;}

.article-info span {
    display: block;
    font-feature-settings: 'liga' off, 'clig' off;
    font-weight: 600;
    line-height: 1.1;
    text-transform: uppercase;
}

.expand-btn {
    display: inline-block;
    border: none;
    background: none;
    color: #000;
    cursor: pointer;
    padding: 5px 10px;
    font-size: 14px;
    text-decoration: underline;
}

.article-block .blocks .article-info button {
    color: var(--grey3);
    font-feature-settings: 'liga' off, 'clig' off;
    font-size: 12px;
    line-height: 1.2;
    text-decoration: underline;
    margin: 0;
    padding: 0;
    max-width: 100%;
    text-align: right;
}

/*
--------------------
Styles for Post
--------------------
*/
main section:first-child.post {padding-top: 0;}

.post-block {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 30px;
}

.post h1 {
    font-family: "Roboto", Arial, sans-serif;
    font-size: 42px;
    font-weight: 600;
    margin: 10px 0;
}

.post-image {
    display: flex;
    gap: 10px;
    width: 100%;
}

.post-image img {
    width: 100%;
    flex: 1;
    max-height: 400px;
    object-fit: cover;
}

.post2 img {
    max-width: calc(50% - 5px);
    object-fit: cover;
}

.post3 img {
    max-width: calc(33.33333% - 5px);
    object-fit: cover;
}

.post4 img {
    max-width: calc(25% - 7px);
    object-fit: cover;
}

.post-blk {
    display: flex;
    gap: 10px;
}

.post-blk2 {
    display: flex;
    gap: 30px;
}

.col-4 {width: calc(33.33333% - 5px);}
.col-6 {width: calc(50% - 5px);}
.col-8 {width: calc(66.66666% - 5px);}

.post-blk h3, .post-blk2 h3 {
    margin: 0 0 10px;
    font-size: 24px;
    font-weight: 500;
    line-height: 1;
}

.post-blk .col-8 h3 {margin-top: 30px;}

.post-blk ol {
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
}

.post-description {
    border: 1px solid var(--beige);
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.post-description ul {
    padding-left: 20px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.post-description ul li {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
}

.post-description ul li a {color: var(--black);}

.post-blk2 .col-6 h3 {
    padding-bottom: 5px;
    border-bottom: 1px solid var(--beige);
}

.post-block ol ul {
    padding-left: 10px;
    margin: 5px 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
    list-style: disc;
}
.conclusion {
    border: 1px solid var(--beige);
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.post-blk2 .conclusion h3 {
    margin-bottom: 0;
    border-bottom: none;
}

.conclusion p {
    margin-bottom: 0;
    font-size: 20px;
}

.post-blk img, .post-blk2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post .btn-all {
    width: 100%;
    max-width: 370px;
    display: block;
    margin: 30px auto 0;
}

/*
---------------------
Styles for Portfolio
---------------------
*/
.portfolio-block .tab-block {justify-content: space-between;}

.portfolio-block {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.gallery-block {
    display: flex;
    gap: 10px;
    width: 100%;
}

.gallery-row {
    display: flex;
    gap: 10px;
}

.gallery-right, .gallery-left {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 50%;
}

.gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portfolio-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
  
.gallery-row:not(.gallery-half) .gallery-item {
    flex: 0 0 calc(50% - 5px);
    aspect-ratio: 1;
}
  
.gallery-half .gallery-item {
    flex: 0 0 100%;
    aspect-ratio: 2/1;
}

.gallery-item {flex: 1;}

.gallery-more {
    width: 100%;
    max-width: 320px;
    display: block;
    margin: 30px auto 0;
}

/*
-------------------------
Styles for about company
-------------------------
*/
.about-title-block {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.about-title {
    width: 50%;
}

.about-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.about-title h1 {
    font-family: "Roboto", Arial, sans-serif;
    font-size: 36px;
    font-weight: 500;
    text-transform: none;
    border-bottom: 4px solid var(--beige);
    padding-bottom: 10px;
    display: inline-block;
}

.about-title h1 span {
    font-family: "Playfair Display";
    font-size: 52px;
    font-weight: 500;
    text-transform: uppercase;
}

.about-title p {
    margin-bottom: 0;
    font-size: 20px;
}

.about-title-block blockquote {
    width: 44%;
    text-align: right;
    font-feature-settings: 'liga' off, 'clig' off;
    font-size: 54px;
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
    margin: 0;
}

.about-professionals {
    display: flex;
    gap: 10px;
}

.about-left {
    max-width: 33.3333%;
}

.about-image {
    flex-direction: column;
    width: 66.6666%;
}

.about-image, .about-image div {
    display: flex;
    gap: 10px;
}

.about-image img {
    width: 100%;
    object-fit: cover;
}

.about-image div img {width: calc(50% - 5px);}
.about-image div, .about-image img {aspect-ratio: 8 / 3;}

.about-left h2 {margin-bottom: 10px;}
.about-left p:last-child {margin-bottom: 0;}

.about-border {
    margin-top: 20px;
    padding: 0 20px;
    border-left: 2px solid var(--beige);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-blk {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.about-blk span {
    display: block;
    font-weight: 600;
    line-height: 1.1;
    text-transform: uppercase;
}

/*
------------------------
Styles for Departments
------------------------
*/
.departments-block {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.departments-blk {
    border: 1px solid var(--beige);
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    flex: 1;
    min-width: 30%;
}

.departments-blk p {margin-bottom: 0;}

.departments-blk span {
    font-size: 20px;
    display: block;
    margin-top: 5px;
}

/*
--------------------
Styles for Steps
--------------------
*/
.step-block {
    display: flex;
    gap: 10px;
    counter-reset: list;
}

.step-blk {
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border: 1px solid var(--beige);
    min-width: 25%;
    flex: 1;
}

.step-blk span {
    display: block;
    margin-top: 10px;
    font-size: 24px;
    font-weight: 500;
}

.step-icon:before {
    counter-increment: list;
    content: counter(list);
    font-feature-settings: 'liga' off, 'clig' off;
    font-size: 140px;
    font-weight: 600;
    line-height: 0.85;
    letter-spacing: -3px;
    color: var(--black);
    text-transform: uppercase;
    text-shadow: -1px -1px 0 var(--beige), 1px -1px 0 var(--beige), -1px 1px 0 var(--beige), 1px 1px 0 var(--beige);
}

.step-blk p {margin-bottom: 0;}

/*
------------------------
Styles for Delivery
------------------------
*/
.delivery-block {
    display: flex;
    gap: 10px;
}

.delivery-block > div {
    flex: 1;
    min-width: 50%;
}

.delivery-image {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.delivery-img {
    border: 1px solid var(--grey2);
    padding: 10px;
}

.delivery-img img {width: 100%;}

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

.delivery-blk {
    display: flex;
    flex-direction: column;
}

.delivery-blk span {
    font-size: 24px;
    font-weight: 500;
    line-height: 1;
    display: block;
    margin-bottom: 10px;
}

.delivery-blk p {margin-bottom: 0;}
.delivery-blk p.small {font-size: 14px;}

.delivery-blk p.logistic {
    font-size: 12px;
    margin-top: 10px;
}

/*
----------------
Styles for Pay
----------------
*/
.pay h2 {
    font-family: "Playfair Display";
    font-size: 50px;
    font-weight: 500;
    line-height: 1;
    text-transform: uppercase;
}

.pay-block {
    display: flex;
    gap: 10px;
}

.pay-blk {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
    border: 1px solid var(--grey2);
    flex: 1;
    min-width: 33%;
}

.pay-title {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    min-height: 100px;
}

.pay-title span {
    display: block;
    font-size: 24px;
    font-weight: 500;
}

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

.pay-info p {margin-bottom: 0;}
.pay-info p.small {font-size: 12px;}
.pay-info ul li {font-size: 10px;}






/*
------------------------
Styles for Partnership
------------------------
*/
.partnership-image img {width: 100%;}

.partners-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.partners-column {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.partners-blk {
    border: 1px solid var(--beige);
    padding: 10px;
    flex: 1;
    min-width: 30%;
    min-height: 150px;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-direction: column;
    align-items: center;
}

.partners-blk span {
    display: block;
    font-size: 24px;
    font-weight: 500;
}

.partners-blk p {
    font-size: 14px;
    margin-bottom: 0;
}

.partners-info .btn {
    width: 100%;
    max-width: 382px;
}

.partnership .title-column .btn {margin-top: 10px;}
.partnership .row-text {font-size: 18px;}

.partnership-block {
    display: flex;
    gap: 10px;
}

.partnership-blk {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    min-width: 33%;
}

.partnership-blk span {
    display: block;
    margin-bottom: 24px;
    font-size: 24px;
    font-weight: 500;
}

.partnership-blk p {
    margin-bottom: 0;
    font-size: 14px;
}

.partnership-img {
    position: relative;
    margin-top: auto;
}

.partnership-img img {width: 100%;}

.partnership-img span {
    position: absolute;
    color: var(--white);
    font-size: 54px;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 2;
    top: 50%;
    left: 50%;
    margin-bottom: 0;
    line-height: 1;
    -webkit-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
}

/*
--------------------
Styles for Category
--------------------
*/
.category-block {width: 100%;}
.category-blk {border: 1px solid var(--beige);}
.category-image {position: relative;}

.category-image img {
    width: 100%;
    mix-blend-mode: multiply;
    height: 210px;
    object-fit: cover;
}

.category-image a {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
}

.category-blk:hover .category-image {background: linear-gradient(0deg, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0.20) 100%);}
.category-blk:hover .category-image a {display: block;}
.category-blk:hover .category-image a:hover {text-decoration: none;}

.category-blk > div:nth-child(2) {
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
	height: 100%;
}

.product-title span {
    display: block;
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 5px;
}

.product-title p {
    font-size: 14px;
    margin-bottom: 0;
}

.product-price {
    margin-top: auto;
}

.product-price p {
    font-size: 12px;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 30px;
}

.product-price p span {font-size: 20px;}

.product-price p span.old {
    font-size: 14px;
    text-decoration: line-through;
}

.category-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

/*
--------------------
Styles for Recommend
--------------------
*/
.recommend .title-column {width: 43%;}
.recommend .row-text {width: 57%;}
.recommend .row-text img {width: 100%;}

.recommend .title-column p {
    margin: 10px 0 0;
    font-size: 20px;
    line-height: 1.1;
}

.recommendSwiper {margin-top: 20px;}

.recommendSwiper .swiper-slide {
    border: 1px solid var(--beige);
    padding: 10px;
    max-width: 380px;
}

.recommendSwiper .swiper-slide img {
    max-width: 100%;
    margin-bottom: 20px;
    display: block;
}

.recommendSwiper .swiper-slide span {
    display: block;
    margin-bottom: 10px;
    font-size: 20px;
    line-height: 1.1;
}

.recommendSwiper .swiper-slide p {
    font-size: 14px;
    margin-bottom: 0;
}

.catalog-column {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.catalog-column .category-blk {
    flex: 1;
    min-width: 32%;
    color: var(--black);
}

.panely-column {
    flex-direction: column;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.panely-column .category-blk {
	color: var(--black);
	height: auto;
    display: flex;
    flex-direction: column;
}

 /* Отключаем pointer-events для wrapper */
.panely .swiper-wrapper {
	cursor: default;
}

/* Включаем pointer-events для ссылок */
.category-blk {
	pointer-events: auto;
	cursor: pointer;
}

.panely-column .product-price p {font-size: 16px;}

.panely-column .category-blk:hover,
.catalog-column .category-blk:hover {text-decoration: none;}

.catalog-column .category-blk img {max-width: 100%;}

.catalog-block {
    display: flex;
    justify-content: space-between;
}

.catalog-nav {
    width: 20%;
    padding: 10px;
    background: var(--grey);
}

.catalog-nav .options {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.catalog-list {
    width: 75%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.filtr, .sort {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 25px;
}

.filtr span {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--grey3);
}

.sort button {
    font-size: 14px;
    border: none;
    background: none;
    color: var(--black);
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 0;
    cursor: pointer;
}

.sort button.active {color: var(--grey2);}

.sort-price:after {
    content: "";
    background: url(../img/filtr-icon.svg) no-repeat;
    width: 16px;
    min-width: 16px;
    height: 16px;
}

.sort-desc:after {transform: rotate(180deg) scaleX(-1);}

/*
----------------------
Styles for Pagination
----------------------
*/
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
}

.pagination__arrow {
    padding: 5px;
    width: 60px;
    min-width: 60px;
    height: 40px;
    border: 1px solid var(--beige);
    cursor: pointer;
    transition: all 0.3s;
    background: url(../img/swiper-arrow.svg) center no-repeat;
}

.pagination__arrow:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination__arrow--prev {transform: rotate(180deg);}

.pagination__numbers {
    display: flex;
    gap: 7px;
}

.pagination__number {
    color: var(--grey2);
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    background: none;
}

.pagination__number.active {color: var(--black);}
.pagination__ellipsis {color: var(--grey2);}

.pagination__arrow:not(:disabled):hover,
.pagination__number:not(.active):hover {
    color: var(--black);
}

.catalog-nav .option-group h3 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.catalog-nav .option-group h3:after {
    content: "";
    background: url(../img/check-icon.svg) center / contain no-repeat;
    width: 16px;
    height: 9px;
    transition: 0.2s linear all;
}

.catalog-nav .option-group.active h3:after {transform: rotate(180deg);}
.catalog-nav .checkbox-label {display: none;}
.catalog-nav .option-group.active .checkbox-label {display: flex;}

.catalog-column .product-price p {
    font-size: 20px;
    gap: 5px;
}

.catalog-column .category-blk {
    display: flex;
    flex-direction: column;
    max-width: 33%;
}

.catalog-column .product-title {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.catalog-column .category-blk > div {height: 100%;}
.catalog-column .product-price,
.catalog-column .product-title p {margin-top: auto;}

/*
--------------------
Styles for Card
--------------------
*/
.card-title {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.card-title h1 {
    font-family: "Roboto", Arial, sans-serif;
    font-size: 42px;
    font-weight: 600;
    line-height: 0.95;
    text-transform: uppercase;
}

.card-title p {
    font-size: 20px;
    margin-bottom: 0;
}

.card-title p span {
    font-size: 24px;
    font-weight: 500;
}

.choise {
    border: 1px solid var(--grey2);
    box-shadow: -2px 2px 6px 4px rgba(0, 0, 0, 0.20);
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.choise h3 {
    font-size: 24px;
    font-weight: 500;
    border-bottom: 2px solid var(--beige);
    margin: 0;
    display: inline-block;
}

.choise-block, .card-block {
    display: flex;
    gap: 10px;
}

.choise-block > div, .card-block > div {
    flex: 1;
}

.card-block > div {max-width: 50%;}

.card-blk {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.card-tab .tab-content > div.active {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.card-tab .tab-content > div > div {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.card-tab .tab-content > div p {
    color: var(--grey3);
    font-feature-settings: 'liga' off, 'clig' off;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.2;
    text-transform: uppercase;
}

.card-tab .tab-content > div ul {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.card-tab .tab-content > div ul li {
    font-size: 12px;
    display: flex;
    gap: 7px;
}

.card-tab .tab-content > div ul li span {
    color: var(--grey3);
    flex-shrink: 0;
}

.montaj li span {min-width: 150px;}

.choise-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.choise-blk {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.choise-image img {width: 100%;}

.choise-right {
    display: flex;
    flex-direction: column;
}

.choise-price {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
}

.choise-price p {
    border-bottom: 1px solid var(--beige);
    margin-bottom: 0;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    justify-content: center;
}

.choise-price p span {
    font-weight: 600;
    text-transform: uppercase;
}

.card-blk .btn-black {background: rgba(34, 34, 34, 0.60);}

.product-container {position: relative;}

.product-container:before {
    content: "";
    background: var(--grey);
    position: absolute;
    left: 0;
    bottom: 0;
    width: 95%;
    height: 95%;
    z-index: 1;
}

.product-image {
    max-width: 100%;
    position: relative;
    z-index: 2;
    mix-blend-mode: multiply;
}

.color-options {
    display: flex;
    flex-direction: column;
    gap: 5px;
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 3;
}

.color-options > div {
    display: flex;
    gap: 10px;
}

.color-option {
    width: 20px;
    height: 20px;
    cursor: pointer;
    border: 2px solid var(--white);
    transition: all 0.3s ease;
    box-shadow: -2px 2px 6px 4px rgba(0, 0, 0, 0.20);
}

.color-option.active {outline: 1px solid var(--black);}
.color-gray {background: #919AA1;}
.color-beige {background:#A78F7E;}
.color-pink {background: #D4BAB7;}
.color-brown {background: #756866;}
.color-blue {background: #123F74;}
.color-green {background: #034F46;}

.color-options span {
    font-size: 12px;
    color: var(--grey3);
}

.card-blk .swiper {width: 100%;}

.product-project {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-project p {
    margin-bottom: 0;
    font-size: 12px;
}

.card-pictures {gap: 10px;}

.cardSwiper img {
    width: 100%;
    height: 88px;
    object-fit: cover;
}

.card-tab .tabsmenu li {color: var(--grey3);}
.card-tab .tabsmenu li.active {color: var(--beige);}


/*
----------------------
Styles for Companion
----------------------
*/
.companion-block {
    display: flex;
    gap: 10px;
}

.companion-block > div {flex: 1;}
.companion-block img {width: 100%;}

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

.companion-title {
    background: var(--beige);
    box-shadow: -2px 2px 6px 4px rgba(0, 0, 0, 0.20);
    padding: 10px;
    border: 1px solid #ffffff;
    outline: 10px solid var(--beige);
    display: flex;
    align-items: center;
    gap: 20px;
    color: var(--white);
}

.companion-title span {
    text-align: center;
    font-size: 160px;
    font-weight: 600;
    line-height: 0.85;
    letter-spacing: -3px;
    text-transform: uppercase;
}

.companion-title p {
    font-size: 26px;
    line-height: 1;
    margin-bottom: 0;
    font-weight: 500;
}

.companion-title p span {
    font-family: "Playfair Display";
    font-size: 52px;
    text-transform: uppercase;
    line-height: 1;
    letter-spacing: normal;
}

.companion-info-image ul {
    display: flex;
    flex-wrap: wrap;
    gap: 15px 5px;
}

.companion-info-image ul li {width: calc(50% - 5px);}
.companion .row-text {font-size: 18px;}

/*
--------------------
Styles for Fabrics
--------------------
*/
.fabrics {padding: 0;}

.fabrics-block .swiper-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.fabric-blk {
    width: calc(25% - 8px);
    height: auto;
}

.fabric-blk img {
    width: 100%;
    display: block;
    height: 100%;
    object-fit: cover;
}

.fabric-row {
    width: calc(50% - 8px);
    border: 1px solid var(--beige);
    padding: 20px 40px;
}

.fabric-row h2 {
    margin-bottom: 10px;
    max-width: 640px;
}

.fabric-row p {
    font-size: 18px;
    margin-bottom: 8px;
}

.fabric-row .title-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    align-items: flex-start;
}

.fabrics .swiper-pagination {display: none;}

/*
--------------------
Styles for Works
--------------------
*/
.works .column-block {align-items: center;}

.works h2 {
    font-size: 50px;
    color: var(--beige);
    font-family: "Playfair Display";
    text-align: center;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--beige);
    display: table;
    margin: 0 auto;
    text-transform: uppercase;
}

.works .swiper {width: 100%;}

.works .swiper-slide {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--beige);
    padding: 10px;
}

.works .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.works .slide-caption {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    padding: 10px 15px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    border: 1px solid var(--beige);
    background: rgba(0, 0, 0, 0.60);
    backdrop-filter: blur(2px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.works .swiper-slide-active .slide-caption {opacity: 1;}
.works .swiper-pagination {display: none;}

.works .slide-caption span {
    color: var(--beige);
    font-size: 24px;
    font-weight: 500;
}

.works .slide-caption p {
    font-size: 14px;
    margin-bottom: 0;
}

.works .swiper-slide-active {
    transform: scale(1.2);
    z-index: 2;
}

.works .swiper-slide-prev, 
.works .swiper-slide-next {
    transform: scale(0.9);
    z-index: 1;
}

.works .swiper-slide:nth-child(odd) {
    transform: scale(0.75);
}

.works .btn-white-transparent,
.works .btn-white-transparent:before,
.works .btn-white-transparent:after {
    border-color: var(--beige);
}

.works .column-block {gap: 60px;}

/*
--------------------
Styles for Footer
--------------------
*/
footer {
    margin-top: auto;
    padding: 60px 0 20px;
}

.footer-block {align-items: flex-start;}
.footer-bottom {margin-top: 30px;}

.footer-bottom > * {
    color: var(--black);
    font-feature-settings: 'liga' off, 'clig' off;
    font-size: 12px;
    line-height: 1.2;
}

.footer-bottom a {text-decoration: underline;}

footer .social {
    display: flex;
    justify-content: center;
}

footer .social ul {gap: 10px;}

footer .social ul a {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.fblk {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-nav ul, .fnav ul {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-nav ul li a {
    color: var(--black);
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: "Playfair Display";
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
}

.footer-nav ul li a:hover, .fnav a:hover {text-decoration: underline;}
.fnav ul {gap: 10px;}

.fnav a {
    color: var(--black);
    font-feature-settings: 'liga' off, 'clig' off;
    font-size: 12px;
    line-height: 1.2;
}

.footer-contact p {
    font-feature-settings: 'liga' off, 'clig' off;
    margin-bottom: 0;
}

.footer-contact ul a {
    color: var(--black);
    font-feature-settings: 'liga' off, 'clig' off;
    font-weight: 600;
    line-height: 1.1;
    text-transform: uppercase;
}

.time-work p {
    font-feature-settings: 'liga' off, 'clig' off;
    font-size: 12px;
}

.footer-contact {max-width: 286px;}

.card-block .tabs-container .tab-navigation {margin-top: 20px;}
.product-description-wrapper {padding-top: 20px;}

.show-more-btn .arrow {
    background: none;
    margin: 0;
	min-width: 12px;
}

/* Делаем слайды flex-контейнерами для равной высоты */
.recommendSwiper .swiper-slide {
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
}

/* Фиксированная высота изображений + красивая обрезка */
.recommendSwiper .swiper-slide img {
    width: 100%;
    height: 220px;                  /* Основная высота на десктопе */
    object-fit: cover;
    object-position: center;
    margin: 0 0 20px 0 !important;  /* Переопределяем старое margin-bottom */
}

/* Ссылка занимает всё доступное место */
.recommendSwiper .swiper-slide .recommend-link {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-decoration: none;
    color: inherit;
}

/* Описание прижимается к низу блока — для ровной линии снизу */

/* Дополнительно: эффект при наведении (по желанию) */
.recommendSwiper .swiper-slide .recommend-link:hover .recommend-title {
    text-decoration: underline;
}

.recommendSwiper .swiper-slide .recommend-link:hover img {
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.offer-bullets {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.offer-bullets li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    color: var(--white);
    line-height: 1.3;
}

.offer-bullets li::before {
    content: "";
    display: block;
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--beige);
}

@media (max-width: 575px) {
    .offer-bullets li {
        font-size: 14px;
    }
}

/* Адаптивная высота изображений */
@media (max-width: 1199px) {
    .recommendSwiper .swiper-slide img {
        height: 180px;
        margin-bottom: 15px !important;
    }
}

@media (max-width: 991px) {
    .recommendSwiper .swiper-slide img {
        height: 150px;
        margin-bottom: 10px !important;
    }
}

@media (max-width: 767px) {
    .recommendSwiper .swiper-slide img {
        height: 120px;
    }
}

/*
--------------------
Styles for Adaptive
--------------------
*/
@media (max-width: 1439px) {
    .fabric-row {padding: 20px;}
    .fabric-row h2 {max-width: 450px; font-size: 28px;}
    .fabric-row p {font-size: 16px;}
}

@media (max-width: 1199px) {
    .row-block h1, .pay h2 {font-size: 44px; margin-bottom: 20px;}
    .card-title h1, .works h2 {font-size: 36px;}
    section, main section:first-child {padding: 40px 0;}
    .container, nav.active ul {max-width: 960px;}
    .offer-content h1 {font-size: 60px;}
    .offer-content p {font-size: 18px;}
    header.fixed .header-block {background: var(--black);}
    nav {background: var(--grey3); z-index: -1; position: absolute; width: 100%; top: -500px; left: 0; right: 0; margin: 0 auto; padding: 10px;}
    header.main-header nav {transition: none;}
    header nav, header.main-header.fixed nav {transition: all linear 0.3s;}
    nav.active { top: 100%;}
    nav.active ul {margin: 0 auto; padding: 0 15px;}
    nav.active ul li ul {padding: 10px;}
    .mobile-nav {display: block;}
    .offer {padding-top: 150px; padding-bottom: 150px;}
    .company-image {width: 45%;}
    .tabsmenu li {font-size: 13px;}
    h2 {font-size: 28px;}
    .homepage .collection {padding: 60px 0;}
    .collection-background > div:first-child {height: 92%;}
    .number {padding: 30px;}
    .number span {font-size: 60px;}
    .number p {font-size: 18px;}
    .number:first-child span {font-size: 100px;}
    .number:first-child p {font-size: 26px;}
    .number sup {font-size: 30px;}
    .hits .row-text {padding-left: 0;}
    .benefit-blk span {font-size: 18px;}
    .sale-title {font-size: 200px; line-height: 0.7;}
    .homepage .sale, .sale {padding: 50px 0 100px;}
    .sale:before {height: calc(100% - 150px); top: 50px;}
    .sale-text .sale-number {font-size: 100px;}
    .sale-text .sale-right p {font-size: 50px;}
    .sale-text .sale-left p {font-size: 20px; max-width: 200px;}
    .sale-logo img {max-width: 100px;}
    .sale-date {font-size: 20px;}
    .specialist-blk p {font-size: 12px;}
    .specialist-form {width: 27%;}
    .articles .swiper-wrapper {flex-wrap: nowrap; gap: 0;}
    .articles .swiper-slide {width: 285px; flex-direction: column; display: none;}
    .articles .swiper-display {display: flex;}
    .articles-image {order: 1;}
    .articles .swiper-slide img {height: 180px;}
    .articles-info {order: 2; height: 100%;}
	.articles-info a {margin-top: auto;}
	.swiper-slide.swiper-display:nth-child(even) .articles-info {order: 2;}
    .articles .swiper-big .articles-image, .articles .swiper-big .articles-info {width: 100%;}
    .articles-block {padding: 0 15px;}
    .articles .swiper-pagination {display: flex;}
    .flogo img {max-width: 180px;}
    .footer-nav ul li a {font-size: 14px;}
    footer {padding-top: 40px;}
    .page-error-left h1 {font-size: 250px;}
    .calc .title-column, .calc-check {width: 60%;}
    .calc .row-text, .calc-form {width: 35%;}
    .article-block .tab-block, .portfolio-block .tab-block {gap: 20px;}
    .titles span {display: inline;}
    .about-title-block blockquote, .about-title h1 span {font-size: 42px;}
    .about-image div, .about-image img {aspect-ratio: 6 / 3;}
    .step-blk span {font-size: 18px;}
    .partners-blk span, .delivery-blk span, .product-title span {font-size: 20px;}
    .delivery-blk p {font-size: 14px;}
    .pay-title span {font-size: 18px}
    .pay-title img {max-width: 70px;}
    .pay-title {min-height: 80px;}
    .product-price p {gap: 20px;}
    .recommendSwiper .swiper-slide {max-width: 260px;}
    .recommend .title-column p {font-size: 16px;}
    .catalog-column .product-title span {font-size: 18px;}
    .cardSwiper img {height: 70px;}
    .card-tab .tab-content > div ul li {flex-direction: column;}
    .custom-select-wrapper, .choise-price p span, .choise-blk span {font-size: 12px;}
    .card-tab {gap: 0;}
    .card-tab .tab-content > div.active {margin-top: 30px;}
    .companion .row-text {font-size: 16px;}
    .companion-title span {font-size: 100px;}
    .companion-title p span {font-size: 40px;}
    .companion-title p {font-size: 20px;}
    .question .question-text {font-size: 18px;}
    .fabric-row p {font-size: 14px;}
    .fabric-row h2 {font-size: 24px;}
    .works .slide-caption span {font-size: 20px;}
	.category-image img {height: 180px;}
}

@media (min-width: 992px) {
    .collection-blk:hover .collection-image {
        display: block;
        opacity: 1;
    }
    
    .collection-blk:hover p {
        opacity: 0;
        transition: opacity 0.2s ease;
    }
    
    .collection-blk:hover span {
        color: var(--white);
        transition: color 0.3s ease;
    }
    
    .collection-blk:hover {
        transform: scale(1.1) translateY(-15px);
        box-shadow: -2px 2px 12px 6px rgba(0, 0, 0, 0.40);
        z-index: 10;
    }
    
    .collection-blk:hover:before {
        content: "";
        background: rgba(0, 0, 0, 0.50);
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        z-index: 2;
        opacity: 0;
        animation: fadeIn 0.3s ease forwards;
    }
    
    .collection-blk:hover a.btn {
        border: 1px solid var(--white);
        background: rgba(34, 34, 34, 0.60);
        color: var(--white);
        transition: all 0.3s ease;
    }
    
    .collection-blk:hover a.btn:before,
    .collection-blk:hover a.btn:after {
        border-color: var(--white);
        transition: border-color 0.3s ease;
    }
}

@media (max-width: 991px) {
    h1, .row-block h1, .pay h2 {font-size: 36px;}
    section, main section:first-child {padding: 30px 0;}
    .container, nav.active ul {max-width: 720px;}
    .offer-content {max-width: 75%;}
    .offer-content h1 {font-size: 54px;}
    .offer-content p {font-size: 16px;}
    .company-block {flex-direction: column;}
    .company-image {display: none;}
    .company-info {width: 100%;}
    .homepage .collection {padding: 30px 0;}
    .collection-background {height: 100%;}
    .collection-background > div:last-child {display: none;}
    .collection-background > div:first-child {width: 100%; margin-right: 0; height: 100%;}
    .collection .title-column {width: 100%;}
    .collection-info {flex-wrap: wrap;}
    .collection-blk {width: 50%;}
    .number {padding: 20px;}
    .number span {font-size: 36px;}
    .number p {font-size: 16px;}
    .number:first-child span {font-size: 80px;}
    .number:first-child p, .number sup {font-size: 24px;}
    .hit-info {padding: 30px;}
    .row-block {flex-direction: column; gap: 10px;}
    .row-block > div {width: 100%;}
    .row-text {padding-top: 0;}
    .benefit-block {flex-wrap: wrap;}
    .benefit-blk {min-width: calc(50% - 5px);}
    .partnerSwiper .swiper-slide img {max-width: 100px;}
    .revews-info-block .title-column, .review-data {width: 100%;}
    .revews-info-block {flex-direction: column; gap: 20px;}
    .specialist-row {flex-direction: column; gap: 30px;}
    .specialist-info {width: 100%;}
    .specialist-blk p {font-size: 14px;}
    .specialist-form {flex-direction: row; width: 100%; flex-wrap: wrap;}
    .specialist-form p {width: 100%;}
    .specialist-form button {margin-top: 0;}
    footer {padding-top: 30px;}
    .footer-block {flex-wrap: wrap;}
    .flogo, .fnav, .footer-contact {order: 1;}
    .footer-nav {width: 100%; order: 2;}
    .footer-nav ul {flex-direction: row; justify-content: space-between; margin-top: 30px;}
    .page-error-left h1 {font-size: 200px;}
    .page-error-right h2 {font-size: 20px;}
    .map iframe {height: 400px;}
    .contact-blk p, .contact-blk a {font-size: 16px;}
    .contact-blk:first-child ul li a {font-size: 20px;}
    .contact-form p {font-size: 14px;}
    .contact-form h2 {font-size: 24px;}
    .contact-form form input {max-width: 100%;}
    .material-blk {width: 285px;}
    .tab-block {gap: 20px;}
    .tab-block button {font-size: 15px;}
    .calc .title-column, .calc-check, .calc .row-text, .calc-form {width: 100%;}
    .calc-container {flex-direction: column;}
    .article-block .tab-block, .portfolio-block .tab-block {gap: 30px; justify-content: center;}
    .article-block .tab-block button, .portfolio-block .tab-block button {font-size: 16px;}
    .post-blk, .post-blk2 {flex-direction: column;}
    .post-blk > div, .post-blk2 > div {width: 100%;}
    .content-article {order: 1;}
    .article-text {order: 2;}
    .post h1 {margin: 0; font-size: 36px;}
    .about-title {width: 60%;}
    .about-title h1 {font-size: 24px;}
    .about-title-block blockquote, .about-title h1 span {font-size: 36px;}
    .about-professionals {flex-direction: column;}
    .about-left, .about-image {width: 100%; max-width: 100%;}
    .about-image {margin-bottom: 20px; flex-direction: row; overflow: auto; -ms-overflow-style: none; scrollbar-width: none;}
    .about-picture {order: 1;}
    .departments-blk {min-width: 45%;}
    .step-blk {min-width: 45%;}
    .step-block {flex-wrap: wrap;}
    .partners-blk {min-width: 45%;}
    .partnership-blk span {font-size: 18px;}
    .partnership-img span {font-size: 30px;}
    .delivery-block {flex-direction: column;}
    .delivery-blk span {font-size: 24px;}
    .delivery-blk p {font-size: 16px;}
    .pay-title img {max-width: 50px;}
    .pay-title span {font-size: 14px;}
    .category .swiper-slide {width: 280px;}
    .product-title span {font-size: 16px;}
    .product-price p {gap: 10px;}
    .recommendSwiper .swiper-slide {max-width: 200px;}
    .recommendSwiper .swiper-slide span {font-size: 18px;}
    .recommend .title-column, .recommend .row-text {width: 100%;}
    .recommendSwiper .swiper-slide img {margin-bottom: 10px;}
    .recommend .title-column p {font-size: 16px;}
    .catalog-block {flex-direction: column; gap: 25px;}
    .catalog-nav, .catalog-list {width: 100%;}
    .catalog-nav .options {flex-direction: row; gap: 15px;}
    .card-block {flex-direction: column;}
    .card-block > div {max-width: 100%;}
    .cardSwiper img {height: 100px;}
    .card-tab .tab-content > div ul li {flex-direction: row;}
    .panely-column .swiper-slide {width: 280px;}
    .panely-block .tabsmenu {flex-wrap: wrap; gap: 25px; padding: 0 50px; justify-content: center;}
    .companion-title span {font-size: 80px;}
    .companion-title p span {font-size: 30px;}
    .companion-title p {font-size: 18px;}
    .question h2 {font-size: 20px;}
    .question .title {font-size: 12px;}
    .question .column-block {gap: 20px;}
    .question .question-text {font-size: 14px;}
    .question .faq-answer p {line-height: 1.2; font-size: 12px;}
    .question .btn-black {margin-top: 0;}
    .fabric-row {padding: 15px;}
    .fabric-row .title {font-size: 14px;}
    .fabric-row h2 {font-size: 20px;}
    .fabric-row .btn-black {font-size: 14px;}
    .works .column-block {gap: 40px;}
	.card-page .card-block > .card-blk {position: relative; top: 0;}
	.card-page .card-block {display: flex !important;}
}

@media (min-width: 768px) {
    .hits .swiper-wrapper {transform: none !important;}
}

@media (max-width: 767px) {
    body {padding-top: 74px;}
    .container, nav.active ul {max-width: 540px;}
    .offer-content h1 {font-size: 50px;}
    .card-title h1, .works h2 {font-size: 24px;}
	.product-info > .card-title > h1 {font-size: 24px !important;}
    .main-header, .header-block {background: var(--black);}
    header {padding-top: 0;}
	header.main-header nav {
		transition: all linear 0.3s;
		top: 0;
		right: -330px;
		width: 300px;
		height: 100%;
		min-height: 100%;
		position: fixed;
		padding-top: 80px;
		margin: 0;
		left: auto;
		overflow: auto;
    }
	header.main-header nav.active {right: 0; top:0;}
	header nav ul {flex-direction: column;}
	nav ul li ul {top: 0;}
	nav a {font-size:16px;}
	nav ul:first-child li > ul.nav ul {gap:16px;}
	nav ul:first-child li > ul li a {font-weight:400;}
    .offer {padding-top: 150px; padding-bottom: 0;}
    .offer-content {max-width: 100%;}
    .offer-content h1 {max-width: 95%;}
    .tels {gap: 5px;}
    .tels a {font-weight: 300;}
    h2 {font-size: 24px;}
    header nav ul:first-child {flex-direction: column; gap: 20px;}
    header nav ul:last-child {flex-wrap: wrap;}
    header nav ul:last-child li {min-width: 20%;}
    header nav a:hover {text-decoration: underline;}
    .collection-title p {font-size: 14px;}
    .collection-blk {gap: 10px;}
    .collection-blk a.btn {margin: auto 10px 10px;}
    .collection-title {padding: 10px 10px 0;}
    .collection-title span {margin-bottom: 10px;}
    .collection-title img.collection-icon {width: 50px; height: 50px; object-fit: contain;}
    .number {padding: 10px; align-items: center; min-height: 120px; justify-content: center; text-align: center;}
    .number:nth-child(-n+2), .number:last-child, .number {width: 50%;}
    .number:first-child {width: 100%; justify-content: center; order: 1; align-items: center;}
    .number:nth-child(2) {order: 4; border-bottom: none;}
    .number:nth-child(3) {order: 2; border-bottom: 1px solid var(--beige);}
    .number:nth-child(4) {order: 3; border-bottom: 1px solid var(--beige);}
    .number:nth-child(5) {order: 5;}
    .number span, .number p {font-weight: 400;}
    .hit-info {padding: 10px;}
    .homepage .column-block {gap: 20px;}
    .column-block {gap: 25px;}
    .paneles .swiper-slide {width: 280px; height: 400px;}
    .panels-info {display: flex; padding: 10px; position: absolute; left: 15px; right: 15px; bottom: 15px; width: calc(100% - 30px);}
    .panels-info span {font-size: 14px; text-transform: uppercase;}
    .panels-image:hover:after {content: none;}
    .paneles .tabsmenu {flex-wrap: wrap; gap: 20px 50px; justify-content: flex-start;}
    .benefit-blk {padding: 10px;}
    .benefit-blk span {font-size: 16px; font-weight: 600;}
    .benefit-blk img {max-width: 40px;}
    .partnerSwiper .swiper-slide {width: 150px;}
    .sale-title {font-size: 100px;}
    .sale-date, .sale-text .sale-left p {font-size: 14px;}
    .sale-text .sale-left p {max-width: 140px;}
    .sale-text .sale-number {font-size: 60px;}
    .sale-text .sale-right p {font-size: 22px;}
    .sale-text .sale-right p span {font-size: 12px;}
    .sale-logo img {max-width: 50px;}
    .reviews .swiper-pagination {display: flex;}
    .reviews .swiper-slide {width: 280px;}
    .specialist-blk p {font-size: 16px;}
    .specialist-blk {min-width: calc(50% - 5px);}
    .specialist-block {flex-wrap: wrap;}
    .articles-info p {font-size: 14px;}
    .homepage .articles {padding-top: 30px;}
    .footer-contact {order: 2;}
    .footer-nav {order: 3; width: 50%;}
    .fnav {order: 4;}
    .footer-nav ul {flex-direction: column; gap: 10px;}
    .fblk {width: calc(50% - 30px);}
    .fnav ul {flex-wrap: wrap; flex-direction: row;}
    .fnav ul li {width: calc(50% - 5px)}
    .footer-nav ul {margin-top: 0;}
    .footer-block {gap: 30px;}
    .flogo {width: auto;}
    .page-error {flex-direction: column;}
    .page-error-right {max-width: 100%;}
    .page-error-right h2 {font-size: 22px;}
    .map iframe {height: 360px;}
    .contact-row {flex-direction: column;}
    .contact-info {gap: 20px;}
    .contact-blk p, .contact-blk a {font-size: 20px;}
    .contact-blk:first-child ul li a {font-size: 24px;}
    .contact-form p, .question-text {font-size: 16px;}
    .faq-container {flex-direction: column;}
    .faq-item {width: 100%;}
    .article-info {padding: 10px;}
    .article-info p {font-size: 14px;}
    .post h1 {font-size: 24px;}
    .more-btn {background: none; border: none; color: var(--grey3); font-size: 12px; text-decoration: underline; text-align: right; width: 100%;}
    .post-image.post2 {overflow: auto; -ms-overflow-style: none; scrollbar-width: none;}
    .post2 img {min-width: 280px;}
    .gallery-item {width: 280px; flex: none; height: auto;}
    .portfolio-container {gap: 0;}
    .about-title-block {flex-direction: column; gap: 20px;}
    .about-title, .about-title-block blockquote {width: 100%;}
    .about-title {gap: 15px;}
    .about-title-block blockquote {font-size: 38px;}
    .departments-blk span {font-size: 14px; font-weight: 600;}
    .departments-blk p, .step-blk p {font-size: 14px;}
    .step-icon:before {font-size: 80px;}
    .partnership-block, .pay-block {flex-direction: column;}
    .partners-blk span {font-size: 18px;}
    .partnership-blk {min-width: 100%;}
    .partnership-blk span {font-size: 24px;}
    .partnership-img span {font-size: 54px;}
    .partnership-img img {height: 200px; object-fit: cover;}
    .pay-title span {font-size: 24px;}
    .pay-title img {max-width: 100px;}
    .category .swiper-slide {width: 160px;}
    .product-title span {font-size: 14px; font-weight: 600;}
    .product-title p {font-size: 10px;}
    .product-price p {gap: 0; font-size: 0;}
    .product-price p span {font-size: 16px; margin-left: 5px;}
	.recommendSwiper .swiper-slide img{object-fit:cover;width:100%;}  /* height:120px теперь в новом адаптиве выше, object-fit оставляем */
    .recommendSwiper .swiper-slide {max-width: 160px; height: auto;}
    .recommendSwiper .swiper-slide span {font-size: 16px;}
    .catalog-nav .options {flex-wrap: wrap; gap: 25px;}
    .catalog-nav .options .option-group {min-width: 45%;}
    .catalog-column .category-blk {min-width: calc(50% - 5px); max-width: calc(50% - 5px);}
    .catalog-column .product-title span {font-size: 16px;}
    .catalog-column .product-price p {font-size: 16px;}
    .cardSwiper .swiper-slide {width: 88px;}
    .cardSwiper img {height: 88px;}
    .card-tab .tabsmenu {border: 1px solid var(--grey2); padding: 20px 10px;}
    .choise h3 {font-size: 18px;}
    .color-options {position: relative; order: 2;}
    .product-container {order: 1;}
    .product-project {order: 3;}
    .card-blk p {font-size: 14px;}
    .panely-column .swiper-slide {width: 200px;}
    .panely-block .tabsmenu {padding: 0;}
    .companion-title span {font-size: 50px;}
    .companion-title p span {font-size: 20px;}
    .companion-title p {font-size: 12px;}
    .companion-title {padding: 5px; outline-width: 5px;}
    .question-block {flex-direction: column;}
    .question-block > div, .question .column-block {width: 100%;}
    .question .question-text {font-size: 16px;}
    .question .faq-answer p {font-size: 14px;}
    .question .btn-black {margin: 0 auto;}
    .question .title {font-size: 16px;}
    .question h2 {font-size: 24px;}
    .fabric-row .title, .fabric-row p {font-size: 12px;}
    .fabric-row h2 {font-size: 18px;}
    .works .slide-caption {bottom: 20px; left: 20px; right: 20px;}
    .works .slide-caption span {font-size: 16px;}
    .works .swiper-pagination {display: flex;}
    .works .swiper-pagination-bullet {background: var(--beige); border-radius: 0;}
    .works .swiper-pagination-bullet-active {background: transparent; border-top: 1px solid var(--beige); border-left: 1px solid var(--beige);}
    .works .column-block {gap: 25px;}
    nav ul li:hover ul {display: none;}
    nav.active ul li ul {position: relative; margin-top: 10px; left: 0; background: none; padding: 0;display: flex;}
    nav.active ul li ul.active {display: none;}
    nav ul li ul:before {content: none;}
	.category-image img {height: 135px;}
	.paneles .tabsmenu li {display: none; width: 100%; order: 2;}
	.paneles .tabsmenu li.active {display: block; order: 1; position: relative;}
	.paneles .tabsmenu li.active:before {content: ""; background: url(../img/check-icon.svg) center / contain no-repeat; width: 16px; height: 9px; position: absolute; right: 10px;}
	.paneles .tabsmenu.active li {display: block;}
	.paneles .tabsmenu.active li.active:before {content: none;}
	.tabs-container .tab-navigation {overflow: auto; -ms-overflow-style: none; scrollbar-width: none;}
	.tabs-container .tab-button {flex: none !important; flex-shrink: 0;}
	.card-block .product-rating {margin-bottom: 0;}
	.card-block .product-subtitle {margin: 0;}
	.hit-info p {display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;}
	.hit-info p.is-open {-webkit-line-clamp: unset; overflow: visible;}
	.hit-info span.hit-more {display: block; color: #000; font-size: 14px; cursor: pointer; text-decoration: underline; margin-top: -10px; text-align: right; width: 100%;}
}

@media (max-width: 575px) {
    body {padding-top: 60px;}
    .social {display: none;}
    .tels a {font-size: 14px;}
    .logo {max-width: 78px;}
    .logo img {width: 100%;}
    .contact-block {margin: 0 25px 0 auto;}
    header nav {border: 1px solid var(--white); width: calc(100% - 60px);}
    header nav ul:last-child li {min-width: auto;}
    .offer-btn {flex-direction: column; gap: 20px;}
    .offer-btn > * {text-align: left;}
    .tabsmenu {flex-direction: column; gap: 10px; width: 202px; margin: 0 auto;}
    .tabsmenu li {width: 100%; text-align: center;}
    .title-column h2 {margin-bottom: 15px;}
    .column-block h2 {margin-bottom: 0;}
    .company-info {gap: 30px;}
	.company-tab-info {
        flex-direction: column;
    }
    .company-tab-info img {
        width: 100%;
        height: 200px; /* Фиксированная высота на мобильных */
        max-width: 300px; /* Ограничение максимальной ширины */
        margin: 0 auto; /* Центрирование */
    }
    .number sup {font-size: 16px;}
    .number:first-child {flex-direction: column;}
    .hits .swiper-wrapper {flex-wrap: nowrap; gap: 0;}
    .hits .swiper-slide {flex-direction: column; width: 280px; height: auto;}
    .hit-image, .hit-info {width: 100%; height: 100%;}
	.hit-info {height: 100%;}
	.hit-info button {margin-top: auto;}
    .hits .swiper-slide:nth-child(even) .hit-image {order: 1;}
    .hits .swiper-slide:nth-child(even) .hit-info {order: 2;}
    .hits .swiper-pagination {display: flex;}
    .collection-blk {width: 100%;}
    .paneles .swiper-button-prev, .paneles .swiper-button-next {display: none;}
    .paneles .tabsmenu {gap: 20px 30px; flex-direction: row; width: 100%;}
    .benefit-blk span {font-size: 14px;}
    .partnerSwiper .swiper-slide {width: 120px;}
    .partnerSwiper .swiper-slide img {max-width: 90%;}
    .sale-date {padding-left: 10px; font-size: 12px;}
    .sale-text .sale-left p {font-size: 10px; max-width: 100px;}
    .sale-text .sale-number {font-size: 50px;}
    .sale-text .sale-right p {font-size: 20px;}
    .sale-text .sale-right p span {font-size: 10px;}
    .homepage .sale, .sale {padding: 60px 0;}
    .sale:before {height: calc(100% - 60px); top: 30px;}
    .sale-title {font-size: 80px;}
    .sale-logo img {max-width: 35px;}
    .review-data-list ul li p {font-size: 12px;}
    .review-data-list ul li p span {font-size: 16px;}
    .review-data {padding: 10px;}
    .row-text {font-size: 16px;}
    .review-block {padding: 15px;}
    .specialist-form {max-width: 285px; margin: 0 auto;}
    .specialist-form button {width: 100%; margin-top: 10px;}
    .specialist-blk p {font-size: 15px;}
    .specialist-form input {font-size: 20px;}
    .flogo img {max-width: 100%;}
    .footer-nav {order: 2;}
    .fnav {order: 3;}
    .footer-contact {order: 4;}
    .fblk {width: 100%;}
    .fnav ul {justify-content: space-between; gap: 20px;}
    .fnav ul li {width: auto;}
    .footer-nav ul {gap: 20px;}
    .footer-bottom {flex-direction: column; gap: 10px; align-items: flex-start;}
    footer {padding-bottom: 10px;}
    .modal-content {padding: 30px;}
    .tab-block button {font-size: 16px;}
    .options {flex-direction: column; gap: 25px;}
    .calc-check {border: none; padding: 0;}
    .calc-container {gap: 25px;}
    .checkbox-label, .radio-label {display: none;}
    .option-group.active .checkbox-label, .option-group.active .radio-label {display: flex;}
    .option-group h3 {cursor: pointer; margin-bottom: 0; border: 1px solid var(--white); padding: 5px; display: flex; align-items: center; justify-content: space-between; gap: 20px;}
    .option-group h3:after {content: ""; background: url(../img/check-icon.svg) no-repeat; width: 20px; height: 12px; transition: 0.2s linear all;}
    .option-group.active h3:after {transform: rotate(180deg);}
    .article-blk {flex-direction: column;}
    .article-image, .article-info {width: 100%;}
    .article-image img {height: 150px;}
    .article-block .tab-block {gap: 20px;}
    .post4 {flex-wrap: wrap;}
    .post4 img {max-width: calc(50% - 5px);}
    .post-blk h3, .post-blk2 h3 {font-size: 18px;}
    .about-title-block blockquote {font-size: 42px;}
    .about-left h2 {margin-bottom: 10px;}
    .partners-blk {min-width: 100%; min-height: auto;}
    .partners-block h1 {font-size: 32px;}
    .pay-title span {font-size: 20px;}
    .recommend .swiper-button-prev, .recommend .swiper-button-next {display: none;}
    .catalog-nav .option-group h3 {border: none; padding: 0;}
    .catalog-nav .options .option-group {min-width: 100%;}
    .filtr {justify-content: space-between;}
    .catalog-column .product-title span {font-size: 14px;}
    .card-tab .tabsmenu {width: 100%; flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 20px 40px;}
    .card-tab .tabsmenu li {width: auto;}
    .choise {align-items: center;}
    .choise-block {flex-direction: column;}
    .choise-price p span {font-size: 14px;}
    .card-tab .tab-content > div ul li {flex-direction: column;}
    .card-tab .tab-content > div ul {gap: 10px;}
    .panely-column .swiper-slide {width: 160px;}
    .panely-block .tabsmenu {width: 100%; align-items: flex-start;}
    .panely-block .tabsmenu li {width: auto;}
    .companion-block {flex-direction: column;}
    .companion-title span {font-size: 54px;}
    .companion-title p span {font-size: 36px;}
    .companion-title p {font-size: 16px;}
    .companion-title {padding: 10px; outline-width: 10px;}
    .companion-info-image ul {gap: 10px;}
    .fabrics .swiper-pagination {display: flex;}
    .fabrics .swiper-slide {width: 120px;}
    .fabrics-info {border: 1px solid var(--beige); padding: 10px; margin: 0 15px 25px; display: flex; flex-direction: column;}
    .fabrics-info .title, .fabrics-info p {font-size: 16px;}
    .fabrics-info p {margin-bottom: 10px;}
    .fabrics-info h2 {font-size: 24px; margin-bottom: 10px;}
    .fabric-row {display: none;}
    .fabrics .btn-black {margin: 0 auto;}
    .fabrics-block .swiper-wrapper {gap: 0;}
    .fabrics .swiper-slide:first-child {margin-left: -60px;}
    .fabrics {padding: 30px 0;}
    .works .swiper-wrapper {align-items: center;}
    .works .swiper-slide-active {height: 380px;}
	.category-image img {height:110px;}
	.offer-content h1 {font-size: 36px;}
    .offer {min-height: auto;margin-top: 0px;}
	.offer:after {background: rgba(0, 0, 0, 0.5);}
}

@media (max-width: 374px) {
    .offer-content p, .number p {font-size: 14px;}
    .number span {font-size: 30px;}
    .paneles .tabsmenu {gap: 20px;}
    .benefit-blk {min-width: 100%;}
    .homepage .sale, .sale {padding-bottom: 30px;}
    .sale:before {height: calc(100% - 60px);}
    .review-data-list ul li p span {font-size: 12px;}
    .partners .btn {padding: 10px;}
    .review-data-logo span {font-size: 16px;}
    .review-data-list ul li p, .review-data-list ul li span.comm {font-size: 11px;}
    .review-data-list ul li p {gap: 5px;}
    .specialist-blk p {font-size: 12px;}
    .page-error-left h1 {font-size: 180px;}
    .fnav ul {gap: 10px;}
    .article-block .tab-block {gap: 20px 10px;}
    .article-block .tab-block button {font-size: 14px;}
    .about-title-block blockquote {font-size: 34px;}
    .departments-blk, .step-blk {min-width: 100%;}
    .about-title h1 span {font-size: 28px;}
    .pay-title span {font-size: 18px;}
    .pay-title img {max-width: 70px;}
    .pagination {gap: 15px;}
    .pagination__arrow {width: 40px; min-width: 40px; height: 30px; background-size: 20px;}
    .filtr, .sort {gap: 10px;}
    .filtr span, .card-tab .tab-content > div p {font-size: 12px;}
    .catalog-column .product-price p, .product-price p span {font-size: 14px;}
    .companion-title p span {font-size: 28px;}
    .works h2 {font-size: 18px;}
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.collection-title {
    transition: all 0.3s ease;
}

.collection-title p {
    transition: opacity 0.2s ease;
}

.collection-blk a.btn {
    transition: all 0.3s ease;
}

@media (min-width: 992px) {
    .collection-blk:not(:last-child) {
        margin-right: 1%;
    }
}

/* Специфичные стили только для секции панелей */
.paneles .panelsSwiper {
    padding: 20px;
    margin: -20px;
}

.paneles .swiper-slide {
    height: auto !important;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.paneles .swiper-slide:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.paneles .panels-image {
    aspect-ratio: 4/3;
    overflow: hidden;
}

.paneles .panels-image img {
    transition: transform 0.3s ease;
}

.paneles .swiper-slide:hover .panels-image img {
    transform: scale(1.05);
}

.paneles .panels-info {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.paneles .swiper-slide:hover .panels-info {
    opacity: 1;
    transform: translateY(0);
}

.paneles .swiper-button-prev,
.paneles .swiper-button-next {
    position: static !important;
    width: 50px;
    height: 50px;
    background: white;
    border: 2px solid var(--beige, #b8976a);
    border-radius: 50%;
    margin: 0;
    color: var(--beige, #b8976a);
    transition: all 0.3s ease;
}

.paneles .swiper-button-prev:hover,
.paneles .swiper-button-next:hover {
    background: var(--beige, #b8976a);
    color: white;
    transform: scale(1.1);
}

@media (max-width: 767px) {
    .paneles .panels-info {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
}

.filter-reset {
	background: #333;
	color: white;
	padding: 10px 20px;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	margin-top: 20px;
	font-size: 14px;
	width: 100%;
	text-align: center;
	transition: background 0.3s ease;
	}
	
	.filter-reset:hover {
	background: #555;
	}
	
	.sort button {
	background: transparent;
	border: 1px solid #ddd;
	padding: 8px 16px;
	margin-left: 10px;
	cursor: pointer;
	transition: all 0.3s ease;
	border-radius: 4px;
	}
	
	.sort button.active {
	background: #333;
	color: white;
	border-color: #333;
	}
	
	.sort button:hover:not(.active) {
	background: #f5f5f5;
	}
	
	.product-item {
	display: flex;
	/* Убедитесь, что flex используется для видимых элементов */
	transition: opacity 0.3s ease, transform 0.3s ease;
	}
	
	.product-item.hidden {
	display: none !important; /* Важно, чтобы переопределить другие стили */
	opacity: 0;
	transform: scale(0.9);
	}
	
	.products-count {
	font-weight: bold;
	color: #333;
	font-size: 16px;
	flex-grow: 1;
	}
	
	.filtr {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
	padding: 10px;
	background: #f9f9f9;
	border-radius: 5px;
	}
	
	.catalog-column.loading {
    position: relative;
    min-height: 300px;
}

.catalog-column.loading::after {
    content: '';
    position: fixed; /* Изменено с absolute на fixed для позиционирования относительно viewport */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 1000;
}

/* Затемнение фона во время загрузки */
.catalog-column.loading::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.7);
    z-index: 999;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Фиксированная высота блока описания = ровно 3 строки */
.recommendSwiper .swiper-slide p.recommend-desc {
    margin-top: auto;                    /* Прижимаем блок к низу карточки */
    margin-bottom: 0;
    height: calc(1.4em * 3);              /* Точно 3 строки: line-height 1.4 × 3 */
    line-height: 1.4;
    font-size: 14px;
    padding: 0 5px;
    overflow: hidden;                    /* Обрезаем лишнее */
    
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    
    /* Текст выравнивается по верху внутри фиксированного блока */
    display: flex;
    align-items: flex-start;
}

.quiz-wrap {
  font-family: "Roboto", "Helvetica Neue", Arial, sans-serif;
  color: var(--black);
  max-width: 760px;
  margin: 0 auto;
  padding: 2rem 1rem 2.5rem;
}
.quiz-head {
  margin-bottom: 2rem;
}
.quiz-head .eyebrow {
  color: var(--beige);
  font-family: "Georgia", serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.quiz-head .eyebrow:before {
  content: "";
  display: inline-block;
  width: 40px;
  height: 2px;
  background: var(--beige);
}
.quiz-head h2 {
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 500;
  line-height: 1.35;
  color: var(--black);
}
.quiz-head h2 span {
  color: var(--beige);
}
.progress-bar-wrap {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 12px;
}
.progress-steps {
  display: flex;
  gap: 6px;
  flex: 1;
}
.progress-step {
  height: 3px;
  flex: 1;
  background: rgba(178,162,152,0.25);
  border-radius: 2px;
  transition: background 0.4s ease;
}
.progress-step.done {
  background: var(--beige);
}
.progress-step.active {
  background: var(--black);
}
.progress-label {
  font-size: 12px;
  color: var(--beige);
  white-space: nowrap;
  font-weight: 500;
}
.step-block {
  display: none;
}
.step-block.visible {
  display: block;
  animation: fadeUp 0.35s ease;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.step-q {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 1.25rem;
  color: var(--black);
}
.step-q span {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--beige);
  border-left: 3px solid var(--beige);
  padding-left: 8px;
  margin-right: 10px;
  vertical-align: middle;
  line-height: 1;
}
.options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.opt-btn {
  border: 1px solid rgba(178,162,152,0.5);
  background: var(--white);
  padding: 14px 16px;
  cursor: pointer;
  text-align: left;
  font-size: 15px;
  font-family: inherit;
  color: var(--black);
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.2s ease;
  position: relative;
  outline: none;
}
.opt-btn .opt-ico {
  width: 32px;
  min-width: 32px;
  height: 32px;
  border: 1px solid rgba(178,162,152,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.2s;
}
.opt-btn:hover {
  border-color: var(--beige);
  background: var(--beige-light);
}
.opt-btn.selected {
  border-color: var(--black);
  background: var(--beige-light);
}
.opt-btn.selected .opt-ico {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}
.opt-btn.selected:after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 8px;
  height: 12px;
  border-right: 2px solid var(--beige);
  border-bottom: 2px solid var(--beige);
}
.nav-row {
  display: flex;
  gap: 12px;
  margin-top: 1.5rem;
  justify-content: flex-end;
}
.btn-back {
  border: 1px solid rgba(178,162,152,0.5);
  background: transparent;
  padding: 10px 22px;
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
  color: var(--beige);
  letter-spacing: 0.5px;
  transition: all 0.2s;
}
.btn-back:hover { border-color: var(--beige); color: var(--black); }
.btn-next {
  border: 1px solid var(--black);
  background: var(--black);
  padding: 10px 28px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  color: var(--white);
  letter-spacing: 0.5px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.btn-next:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.btn-next:not(:disabled):hover {
  background: var(--beige);
  border-color: var(--beige);
}
.btn-next .arr {
  font-size: 18px;
  line-height: 1;
  transition: transform 0.2s;
}
.btn-next:not(:disabled):hover .arr {
  transform: translateX(4px);
}
.capture-block {
  display: none;
  animation: fadeUp 0.35s ease;
}
.capture-block.visible { display: block; }
.capture-head {
  border-left: 4px solid var(--beige);
  padding-left: 16px;
  margin-bottom: 1.5rem;
}
.capture-head h3 {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 6px;
}
.capture-head p {
  font-size: 14px;
  color: #666;
  margin: 0;
}
.channel-pick {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 1.25rem;
}
.ch-btn {
  border: 1px solid rgba(178,162,152,0.5);
  background: var(--white);
  padding: 14px 10px;
  cursor: pointer;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  color: var(--black);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}
.ch-btn .ch-ico {
  font-size: 22px;
  line-height: 1;
}
.ch-btn:hover { border-color: var(--beige); background: var(--beige-light); }
.ch-btn.selected { border-color: var(--black); background: var(--beige-light); }
.phone-row {
  display: flex;
  gap: 0;
  margin-bottom: 1rem;
}
.phone-prefix {
  border: 1px solid rgba(178,162,152,0.6);
  border-right: none;
  background: var(--grey);
  padding: 0 14px;
  font-size: 15px;
  font-weight: 500;
  display: flex;
  align-items: center;
  color: var(--black);
  letter-spacing: 1px;
  white-space: nowrap;
}
.phone-input {
  flex: 1;
  border: 1px solid rgba(178,162,152,0.6);
  padding: 12px 16px;
  font-size: 15px;
  font-family: inherit;
  outline: none;
  letter-spacing: 1.5px;
  color: var(--black);
  background: var(--white);
  transition: border-color 0.2s;
}
.phone-input:focus { border-color: var(--black); }
.phone-input::placeholder { color: #aaa; letter-spacing: 1px; }
.agree-row {
  font-size: 12px;
  color: #888;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
}
.agree-row a { color: var(--beige); text-decoration: underline; }
.btn-submit {
  width: 100%;
  border: 1px solid var(--black);
  background: var(--black);
  color: var(--white);
  padding: 14px 20px;
  font-size: 16px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.2s;
}
.btn-submit:disabled { opacity: 0.35; cursor: not-allowed; }
.btn-submit:not(:disabled):hover { background: var(--beige); border-color: var(--beige); }
.btn-submit .arr { font-size: 18px; }
.btn-submit:not(:disabled):hover .arr { transform: translateX(4px); }
.summary-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(178,162,152,0.5);
  padding: 4px 10px;
  font-size: 12px;
  color: var(--beige);
  margin: 0 4px 6px 0;
  vertical-align: middle;
}
.summary-row {
  margin-bottom: 1rem;
  line-height: 2;
}
.success-block {
  display: none;
  text-align: center;
  padding: 2.5rem 1rem;
  animation: fadeUp 0.4s ease;
}
.success-block.visible { display: block; }
.success-icon {
  width: 64px;
  height: 64px;
  border: 2px solid var(--beige);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 28px;
}
.success-block h3 {
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 10px;
}
.success-block p {
  font-size: 15px;
  color: #666;
  max-width: 420px;
  margin: 0 auto;
  line-height: 1.6;
}
@media (max-width: 540px) {
  .options-grid { grid-template-columns: 1fr; }
  .channel-pick { grid-template-columns: 1fr; }
  .quiz-head h2 { font-size: 17px; }
}

@media (max-width: 1199px) {
    .recommendSwiper .swiper-slide p.recommend-desc {
        height: calc(1.4em * 3);
        line-height: 1.4;
        font-size: 14px;
    }
}

@media (max-width: 991px) {
    .recommendSwiper .swiper-slide p.recommend-desc {
        height: calc(1.4em * 2);   /* На меньших экранах — 2 строки */
        -webkit-line-clamp: 2;
        font-size: 13px;
    }
}

@media (max-width: 767px) {
    .recommendSwiper .swiper-slide p.recommend-desc {
        height: calc(1.4em * 2);
        -webkit-line-clamp: 2;
        font-size: 13px;
    }
}

/* Основная структура карточки — flex для равной высоты */
.category-blk {
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
    border: 1px solid var(--beige);
    background: var(--white);
}

/* Ссылка занимает место до описания */
.category-blk > a.product-link {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-decoration: none;
    color: inherit;
}

/* Изображение фиксированной высоты */
.category-blk .category-image {
    flex-shrink: 0;
    height: 220px;                  /* Основная высота на десктопе */
    overflow: hidden;
}

.category-blk .category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Название */
.category-blk .product-title {
    padding: 10px 10px 0;
    flex-shrink: 0;
}

.category-blk .product-title span {
    display: block;
    font-size: 20px;
    line-height: 1.1;
    margin-bottom: 5px;
}

/* Описание — фиксированная высота (3 строки), текст сверху */
.category-blk > p {
    flex-grow: 1;
    margin: 10px 10px 0;
    padding: 0;
    font-size: 14px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Цена — прижата к низу */
.category-blk .product-price {
    margin: 10px 10px 0;
    padding-bottom: 10px;
}

/* Кнопка "Купить" — всегда в самом низу */
.category-blk .btn {
    margin: 10px 10px 10px;
    align-self: flex-start;        /* По левому краю */
}

/* Эффект при наведении */
.category-blk:hover .product-title span {
    text-decoration: underline;
}

.category-blk:hover .category-image img {
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

@media (max-width: 1199px) {
    .category-blk .category-image { height: 180px; }
    .category-blk .product-title span { font-size: 18px; }
}

@media (max-width: 991px) {
    .category-blk .category-image { height: 150px; }
    .category-blk > p { -webkit-line-clamp: 2; }
}

@media (max-width: 767px) {
    .category-blk .category-image { height: 120px; }
    .category-blk .product-title span { font-size: 16px; }
    .category-blk > p { font-size: 13px; }
}

@media (max-width: 575px) {
	.category-blk .category-image {height: auto;}
	.paneles .panelsSwiper {padding: 15px; margin: -15px;}
}

/* Обёртка для кнопок — размещает их рядом по центру */
.buttons-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;              /* расстояние между кнопками */
    flex-wrap: wrap;        /* на мобильных перенесётся, если не влезут */
    margin: 40px 0;
}

/* Убираем старый text-center и margin у load-more-wrapper */
.load-more-wrapper {
    display: none; /* больше не нужен, скрываем */
}

/* На мобильных можно уменьшить отступ, если нужно */
@media (max-width: 767px) {
    .buttons-wrapper {
        gap: 15px;
        flex-direction: column; /* опционально: вертикально на очень узких экранах */
    }
}

/* === ЗАЩИТА КАТАЛОГА ОТ РАСТЯЖКИ И КОНФЛИКТОВ === */
.catalog-page .catalog-custom-layout {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 30px !important;
    justify-content: flex-start !important;
    align-items: flex-start !important; /* КЛЮЧЕВОЕ: карточки не растягиваются по высоте */
}

.catalog-page .product-item {
    flex: 1 1 calc(33.333% - 30px) !important;
    min-width: calc(33.333% - 30px) !important;
    max-width: calc(33.333% - 30px) !important;
    display: flex !important;
    flex-direction: column !important;
    border: 1px solid var(--beige) !important;
    background: #fff !important;
    height: auto !important; /* Отменяем любые фиксированные высоты */
    overflow: visible !important;
}

.catalog-page .product-item > div { /* внутренний div с текстом */
    padding: 15px !important;
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
}

.catalog-page .product-title {
    flex-grow: 1 !important;
}

.catalog-page .product-price {
    margin-top: auto !important;
    padding-top: 15px !important;
    border-top: 1px solid #eee !important;
}

/* Отменяем проблемные стили темы, которые растягивают всё на 100% */
.catalog-page .category-blk > div,
.catalog-page .product-title,
.catalog-page .category-blk > div:nth-child(2) {
    height: auto !important;
    min-height: unset !important;
}

/* Адаптив */
@media (max-width: 991px) {
    .catalog-page .product-item {
        flex: 1 1 calc(50% - 30px) !important;
        min-width: calc(50% - 30px) !important;
        max-width: calc(50% - 30px) !important;
    }
}

@media (max-width: 575px) {
    .catalog-page .product-item {
        flex: 1 1 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
    }
}
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.catalog-page .product-price {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.catalog-page .product-price p {
    margin: 0;
    font-size: 16px;
    color: #555;
}

.catalog-page .product-price p span {
    font-size: 22px;
    font-weight: 600;
    color: #000;
}

/* Адаптив */
@media (max-width: 991px) {
    .catalog-page .product-item {
        flex: 1 1 calc(50% - 20px);
    }
}

@media (max-width: 575px) {
    .catalog-page .product-item {
        flex: 1 1 100%;
    }
}

:root {
    --ss-beige: #c4b1a2;
    --ss-beige-rgb: 196, 177, 162;
    --ss-white: #ffffff;
    --ss-accent: #8b7b6d; /* Для кнопки, можно под ваш бренд */
}

/* Основной блок */
.ss-promo-final {
    position: relative;
    min-height: 520px;
    overflow: hidden;
    color: var(--ss-white);
    font-family: 'Montserrat', sans-serif;
}

.ss-promo-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
    z-index: 1;
}

.ss-promo-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.08);
    z-index: 2;
}

/* Бежевая плашка слева (десктоп) */
.ss-promo-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(var(--ss-beige-rgb), 0.98) 0%,
        rgba(var(--ss-beige-rgb), 0.95) 30%,
        rgba(var(--ss-beige-rgb), 0.5) 55%,
        rgba(var(--ss-beige-rgb), 0) 75%
    );
    z-index: 1;
}

.ss-promo-container {
    position: relative;
    z-index: 3;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    height: 100%;
    display: flex;
    align-items: center;
}

.ss-promo-content {
    max-width: 560px;
}

.ss-promo-date {
    display: block;
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.9;
    margin-bottom: 16px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.ss-promo-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(90px, 12vw, 140px);
    font-weight: 700;
    line-height: 0.9;
    margin: 0 0 30px 0;
    letter-spacing: -1px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
}

.ss-promo-offer {
    display: flex;
    align-items: center;
    gap: 35px;
}

.ss-promo-discount {
    display: flex;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.28);
    padding: 16px 24px;
    border-radius: 16px;
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    line-height: 1;
}

.ss-promo-number {
    font-size: 90px;
    font-weight: 900;
    line-height: 1;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.3);
}

.ss-promo-label {
    margin-left: 8px;
    margin-top: 8px;
}

.ss-promo-percent {
    font-size: 36px;
    font-weight: 800;
    line-height: 0.9;
}

.ss-promo-off {
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 6px;
    opacity: 0.9;
}

.ss-promo-desc {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ss-promo-text {
    font-size: 19px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.4;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
}

.ss-promo-text br {
    display: block;
}

/* Кнопка */
.ss-promo-btn {
    display: inline-block;
    background: var(--ss-white);
    color: var(--ss-accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s;
    align-self: flex-start;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.ss-promo-btn:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

/* Мобильная версия */
@media (max-width: 767px) {
    .ss-promo-bg {
        background-position: center top;
    }
    
    /* Усиленный градиент снизу для читаемости */
    .ss-promo-overlay::before {
        background: linear-gradient(
            to top,
            rgba(var(--ss-beige-rgb), 0.99) 0%,
            rgba(var(--ss-beige-rgb), 0.97) 30%,
            rgba(var(--ss-beige-rgb), 0.7) 60%,
            rgba(var(--ss-beige-rgb), 0.1) 90%,
            transparent 100%
        );
    }
    
    .ss-promo-overlay {
        background: rgba(0, 0, 0, 0.15); /* Дополнительное затемнение */
    }
    
    .ss-promo-container {
        align-items: flex-end;
        padding-bottom: 50px;
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .ss-promo-content {
        text-align: center;
        max-width: none;
    }
    
    .ss-promo-offer {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    
    .ss-promo-desc {
        align-items: center;
    }
    
    .ss-promo-btn {
        align-self: center;
    }
    
    .ss-promo-text {
        font-size: 17px;
        max-width: 320px;
        margin: 0 auto;
    }
}

/* 19.03.2026 */
/* --- SEO FAQ Section Styles --- */
.seo-faq {
    background-color: var(--white);
    overflow: hidden;
}

.seo-faq-grid {
    display: flex;
    flex-direction: column;
    gap: 0; /* Границы будут общими */
    border-top: 1px solid var(--grey5);
}

.seo-faq-item {
    border-bottom: 1px solid var(--grey5);
    transition: all 0.3s ease;
}

.seo-faq-header {
    padding: 30px 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    position: relative;
    transition: all 0.3s ease;
}

.seo-faq-number {
    font-family: "Playfair Display", serif;
    font-size: 14px;
    color: var(--beige);
    margin-right: 40px;
    font-weight: 600;
}

.seo-faq-question {
    font-size: 20px;
    font-weight: 500;
    color: var(--black);
    flex: 1;
    transition: color 0.3s ease;
}

.seo-faq-icon {
    width: 24px;
    height: 24px;
    position: relative;
    margin-left: 20px;
}

/* Рисуем "плюс", который превращается в "минус" */
.seo-faq-icon::before,
.seo-faq-icon::after {
    content: "";
    position: absolute;
    background-color: var(--beige);
    transition: all 0.3s transform ease;
}

.seo-faq-icon::before {
    width: 100%;
    height: 2px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.seo-faq-icon::after {
    width: 2px;
    height: 100%;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}

/* Состояние при раскрытии */
.seo-faq-item.active .seo-faq-icon::after {
    transform: translateX(-50%) rotate(90deg);
    opacity: 0;
}

.seo-faq-item.active .seo-faq-question {
    color: var(--beige);
}

/* Контент аккордеона */
.seo-faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.seo-faq-inner {
    padding: 0 0 30px 54px; /* Отступ слева под номер */
}

.seo-faq-inner p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--grey3);
    margin: 0;
}

/* Адаптив */
@media (max-width: 767px) {
    .seo-faq-header {
        padding: 20px 0;
    }
    .seo-faq-number {
        margin-right: 20px;
    }
    .seo-faq-question {
        font-size: 16px;
    }
    .seo-faq-inner {
        padding-left: 34px;
    }
}

/* --- Footer Contacts & Map Styles --- */
.footer-contacts {
    padding: 100px 0;
    background-color: var(--white);
    border-top: 1px solid var(--grey5);
}

.footer-contacts__wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.footer-contacts__info {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.footer-contacts__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.contact-item span {
    display: block;
    color: var(--beige);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.contact-item p, 
.contact-item a {
    font-size: 18px;
    color: var(--black);
    line-height: 1.4;
    text-decoration: none;
    display: block;
}

.contact-item a:hover {
    color: var(--beige);
}

/* Мессенджеры */
.messenger-links p {
    font-weight: 500;
    margin-bottom: 15px;
}

.messenger-links__row {
    display: flex;
    gap: 15px;
}

.m-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    border-radius: 4px;
    color: var(--white);
    font-weight: 500;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.m-btn--wa { background-color: #25D366; }
.m-btn--tg { background-color: #0088CC; }

.m-btn img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

.m-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-decoration: none;
}

/* Стилизация карты */
.footer-contacts__map {
    position: relative;
    padding: 15px;
    border: 1px solid var(--beige); /* Рамка в стиле сайта */
}

.map-container {
    height: 450px;
    background: var(--grey);
    overflow: hidden;
}

.map-container iframe {
    width: 100% !important;
    height: 100% !important;
    border: 0;
    filter: grayscale(0.2); /* Слегка приглушим цвета карты под стиль */
}

/* Адаптивность */
@media (max-width: 1024px) {
    .footer-contacts__wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 575px) {
    .footer-contacts {
        padding: 60px 0;
    }
    .footer-contacts__grid {
        grid-template-columns: 1fr;
    }
    .messenger-links__row {
        flex-direction: column;
    }
    .m-btn {
        justify-content: center;
    }
}

/* --- Commercial Terms Styles --- */
.commercial-terms {
    padding: 100px 0;
    background-color: var(--white);
}

.terms-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 50px;
}

.terms-card {
    background: var(--grey);
    padding: 50px;
    border-radius: 2px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid transparent;
}

.terms-card:hover {
    background: var(--white);
    border-color: var(--beige);
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
    transform: translateY(-5px);
}

.terms-card__header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 35px;
}

.terms-icon {
    width: 60px;
    height: 60px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--beige);
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.terms-card h3 {
    font-family: "Playfair Display", serif;
    font-size: 26px;
    color: var(--black);
    margin: 0;
}

.terms-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.terms-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 30px;
}

/* Маркер списка в виде точки цвета beige */
.terms-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background-color: var(--beige);
    border-radius: 50%;
}

.terms-list li:last-child {
    margin-bottom: 0;
}

.terms-list li strong {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 8px;
}

.terms-list li p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--grey3);
    margin: 0;
}

/* Адаптивность */
@media (max-width: 991px) {
    .terms-grid {
        grid-template-columns: 1fr;
    }
    .terms-card {
        padding: 30px;
    }
}

@media (max-width: 575px) {
    .terms-card__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .terms-card h3 {
        font-size: 22px;
    }
}

/* --- Materials & Customization Styles --- */
.materials-section {
    padding: 100px 0;
    background-color: var(--white);
}

.materials-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
    gap: 30px;
}

/* Стили чекбокса */
.pet-filter {
    background: var(--grey);
    padding: 20px 30px;
    border-radius: 4px;
    border-left: 4px solid var(--beige);
}

.pet-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-bottom: 5px;
}

.pet-checkbox input { display: none; }

.pet-checkbox__box {
    width: 22px;
    height: 22px;
    border: 2px solid var(--beige);
    margin-right: 12px;
    position: relative;
    transition: all 0.2s;
}

.pet-checkbox input:checked + .pet-checkbox__box {
    background: var(--beige);
}

.pet-checkbox input:checked + .pet-checkbox__box::after {
    content: '✓';
    position: absolute;
    color: white;
    font-size: 14px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.pet-checkbox__text {
    font-weight: 600;
    font-size: 16px;
    color: var(--black);
}

.pet-hint {
    font-size: 13px;
    color: var(--grey3);
    margin-left: 34px;
}

/* Сетка материалов */
.materials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.material-card {
    transition: all 0.4s ease;
    border: 1px solid var(--grey5);
    background: var(--white);
    height: 100%;
}

.material-card__img {
    height: 200px;
    width: 100%;
    position: relative;
    background-size: cover;
}

.antivandal-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--black);
    color: var(--white);
    font-size: 10px;
    text-transform: uppercase;
    padding: 4px 10px;
    letter-spacing: 1px;
    opacity: 0;
    transition: opacity 0.3s;
}

.material-card.is-antivandal .antivandal-badge {
    opacity: 0.6;
}

.material-card__info {
    padding: 25px;
}

.material-card h3 {
    font-family: "Playfair Display", serif;
    font-size: 20px;
    margin-bottom: 12px;
}

.material-card p {
    font-size: 14px;
    line-height: 1.5;
    color: var(--grey3);
    margin: 0;
}

/* Логика подсветки */
.filter-active .material-card:not(.is-antivandal) {
    opacity: 0.4;
    filter: grayscale(1);
}

.filter-active .material-card.is-antivandal {
    border-color: var(--beige);
    box-shadow: 0 10px 30px rgba(178, 162, 152, 0.2);
    transform: translateY(-5px);
}

.filter-active .is-antivandal .antivandal-badge {
    opacity: 1;
    background: var(--beige);
}

/* Адаптив */
@media (max-width: 1100px) {
    .materials-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
    .materials-header { flex-direction: column; align-items: flex-start; }
    .materials-grid { grid-template-columns: 1fr; }
    .pet-filter { width: 100%; }
}

/* --- Стили для Блока 5: Механизмы --- */
.mechanisms-section {
    padding: 100px 0;
    background-color: var(--grey); /* Используем ваш светло-серый фон */
}

.mechanisms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 колонки на десктопе */
    gap: 30px;
    margin-top: 50px;
}

.mech-card {
    background: var(--white);
    border-radius: 2px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    border-bottom: 4px solid transparent;
}

.mech-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

/* Верхняя визуальная часть */
.mech-card__visual {
    height: 160px;
    background: #f2f2f2;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mech-icon-placeholder {
    width: 70%;
    height: 50%;
    border: 1px dashed var(--grey2);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Бейджики (Ежедневно / Гости) */
.mech-label {
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 700;
    padding: 5px 12px;
    letter-spacing: 0.5px;
    border-radius: 20px;
}

/* Цвета для ежедневного использования */
.mech-card--daily {
    border-bottom-color: var(--beige);
}
.mech-card--daily .mech-label {
    background: var(--beige);
    color: var(--white);
}

/* Цвета для гостевого использования */
.mech-card--guest {
    border-bottom-color: var(--grey3);
}
.mech-card--guest .mech-label {
    background: var(--grey3);
    color: var(--white);
}

/* Контентная часть */
.mech-card__content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.mech-card__content h3 {
    font-family: "Playfair Display", serif;
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--black);
}

.mech-card__content p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--grey3);
    margin-bottom: 25px;
    flex-grow: 1;
}

/* Подвал карточки с ключевыми фразами */
.mech-card__footer {
    padding-top: 15px;
    border-top: 1px solid var(--grey5);
}

.mech-lsi {
    font-size: 13px;
    color: var(--beige);
    font-weight: 500;
}

/* Адаптивность */
@media (max-width: 1024px) {
    .mechanisms-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 колонки на планшетах */
    }
}

@media (max-width: 767px) {
    .mechanisms-section {
        padding: 60px 0;
    }
    .mechanisms-grid {
        grid-template-columns: 1fr; /* 1 колонка на мобильных */
        gap: 20px;
    }
    .mech-card__visual {
        height: 140px;
    }
}

/* --- Блок 3: Каталог по типам --- */
.catalog-types {
    padding: 100px 0;
    background-color: var(--white);
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.cat-card {
    text-decoration: none !important;
    display: block;
    background: var(--white);
    transition: all 0.4s ease;
}

/* Контейнер для фото */
.cat-card__view {
    height: 260px;
    overflow: hidden;
    background-color: var(--grey);
    margin-bottom: 20px;
    position: relative;
}

.cat-card__img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

/* Заголовок с правильным подчеркиванием */
.cat-card__info {
    text-align: center;
}

.cat-card h3 {
    font-family: "Playfair Display", serif;
    font-size: 22px;
    color: var(--black);
    margin: 0 0 10px 0;
    position: relative;
    display: inline-block; /* Линия будет подстраиваться под длину слова */
    transition: color 0.3s ease;
}

/* Элегантная бежевая линия */
.cat-card h3::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -8px; /* Опускаем линию ниже, чтобы не резать буквы д, ц, р, у */
    width: 0;
    height: 1px;
    background-color: var(--beige);
    transition: all 0.4s ease;
    transform: translateX(-50%);
}

/* Дополнительный текст под заголовком */
.cat-card__more {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--grey3);
    transition: all 0.3s ease;
}

/* Эффекты при наведении */
.cat-card:hover .cat-card__img {
    transform: scale(1.08); /* Плавное увеличение фото */
}

.cat-card:hover h3 {
    color: var(--beige);
}

.cat-card:hover h3::after {
    width: 60%; /* Линия подчеркивает часть слова — выглядит премиально */
}

.cat-card:hover .cat-card__more {
    color: var(--black);
    letter-spacing: 3px;
}

/* Адаптивность */
@media (max-width: 1024px) {
    .catalog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 767px) {
    .catalog-types {
        padding: 60px 0;
    }
    .catalog-grid {
        grid-template-columns: 1fr;
    }
    .cat-card__view {
        height: 220px;
    }
    .cat-card h3 {
        font-size: 20px;
    }
}

/* --- Блок 2: Навигационный хаб (Исправленный) --- */
.task-hub {
    padding: 100px 0;
    background-color: var(--white);
}

.task-hub__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 50px;
}

.task-card {
    text-decoration: none !important;
    display: block;
    padding: 50px;
    background: var(--white);
    border: 1px solid var(--grey5);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

/* Заголовок с безопасной линией */
.task-card h3 {
    font-family: "Playfair Display", serif;
    font-size: 28px;
    color: var(--black);
    margin: 0 0 20px 0;
    display: inline-block;
    position: relative;
}

.task-card h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px; /* Ниже хвостиков букв */
    width: 0;
    height: 1px;
    background-color: var(--beige);
    transition: width 0.4s ease;
}

.task-card p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--grey3);
    margin-bottom: 40px;
    max-width: 90%;
    transition: color 0.3s ease;
}

/* Футер карточки с кнопкой и стрелкой */
.task-card__footer {
    display: flex;
    align-items: center;
    gap: 15px;
}

.task-card__btn {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--black);
    transition: color 0.3s ease;
}

/* Новая стрелка вместо сдвига */
.task-card__arrow {
    width: 32px;
    height: 32px;
    border: 1px solid var(--grey5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--beige);
    opacity: 0; /* Скрыта по умолчанию */
    transform: scale(0.8);
    transition: all 0.4s ease;
}

/* Эффекты при наведении */
.task-card:hover {
    background-color: var(--grey);
    border-color: var(--beige);
}

.task-card:hover h3::after {
    width: 100%;
}

.task-card:hover p {
    color: var(--black);
}

.task-card:hover .task-card__btn {
    color: var(--beige);
}

.task-card:hover .task-card__arrow {
    opacity: 1;
    transform: scale(1);
    border-color: var(--beige);
    background-color: var(--white);
}

/* Адаптив */
@media (max-width: 991px) {
    .task-card { padding: 35px; }
    .task-card__header h3 { font-size: 24px; }
}

@media (max-width: 767px) {
    .task-hub__grid { grid-template-columns: 1fr; gap: 20px; }
    .task-card__arrow { opacity: 1; transform: scale(1); } /* На мобильных всегда видна */
}

/* -------------------- Реквизиты продавца -------------------- */
/* Строка о продавце в подвале — требование ст. 9 закона о защите прав
   потребителей и коммерческий фактор Яндекса. */
.footer-legal { margin-top: 30px; padding-bottom: 14px; border-bottom: 1px solid var(--grey5); }
.footer-legal p { margin: 0; font-size: 12px; line-height: 1.5; color: var(--grey3); }
.footer-legal a { color: var(--grey3); text-decoration: underline; }
.footer-legal a:hover { color: var(--black); }
.footer-legal + .footer-bottom { margin-top: 14px; }

/* Бланк на странице /rekvizity/.
   Подписи мелкие, ОГРНИП и ИНН крупные: в этот блок приходят не читать,
   а сверять пятнадцать знаков и переносить их в договор. Разрядка вместо
   пробелов внутри числа — пробелы ломают вставку в формы. */
.rekvizity-intro { max-width: 620px; margin: 0 0 26px; font-size: 15px; line-height: 1.55; color: var(--grey3); }

.blank {
  max-width: 680px;
  margin: 0 0 34px;
  padding: 24px 30px 22px;
  border: 1px solid var(--grey5);
  border-top: 3px solid var(--black2);
  background: var(--white);
}

.blank-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.blank-kind { font-family: "Playfair Display", "Times New Roman", serif; font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--black2); }
.blank-site { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey3); }

.blank .val {
  -webkit-appearance: none; appearance: none;
  display: flex; align-items: baseline; justify-content: space-between; gap: 14px;
  width: 100%; margin: 0; padding: 0; border: 0; background: none;
  font: inherit; color: inherit; text-align: left; cursor: pointer;
}
.blank .val:focus-visible { outline: 2px solid var(--black2); outline-offset: 2px; }
.blank .hint { flex: 0 0 auto; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey2); opacity: 0; transition: opacity 0.14s ease-out; }
.blank .val:focus-visible .hint { opacity: 1; }
.blank .val[data-state="copied"] .hint { opacity: 1; color: #2f9c3d; }
.blank .num { font-variant-numeric: tabular-nums; letter-spacing: 0.05em; }

.blank-subject { margin: 14px -8px 0; padding: 8px 8px 14px; border-bottom: 1px solid var(--grey5); }
.blank-subject:hover { background: var(--grey); }
.blank-subject:hover .hint { opacity: 1; }
.blank-subject .v { font-size: 21px; font-weight: 500; line-height: 1.25; }

.blank-rows { margin: 0; }
.blank-row { display: grid; grid-template-columns: 152px minmax(0, 1fr); gap: 0 22px; align-items: baseline; margin: 0 -8px; padding: 0 8px; border-bottom: 1px solid var(--grey5); }
.blank-row:hover { background: var(--grey); }
.blank-row:hover .hint { opacity: 1; }
.blank-row dt { padding: 13px 0; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey3); line-height: 1.4; }
.blank-row dd { margin: 0; padding: 10px 0; min-width: 0; }
.blank-row .v { font-size: 15px; line-height: 1.45; }
.blank-row--key .v { font-size: 20px; font-weight: 500; line-height: 1.2; }

/* Граница между «кто продавец» и «где он и как с ним связаться». */
.blank-row--group { margin-top: 8px; border-top: 1px solid var(--grey2); }
.blank-row--group dt { padding-top: 15px; }
.blank-row--group dd { padding-top: 12px; }

.blank-foot { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--grey5); }
.blank-note { margin: 0; max-width: 42ch; font-size: 12px; line-height: 1.5; color: var(--grey3); }
.blank-all {
  -webkit-appearance: none; appearance: none;
  flex: 0 0 auto;
  border: 1px solid var(--black2); background: none; color: var(--black2);
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 11px 18px; cursor: pointer;
  transition: background 0.14s ease-out, color 0.14s ease-out;
}
.blank-all:hover { background: var(--black2); color: var(--white); }
.blank-all:focus-visible { outline: 2px solid var(--black2); outline-offset: 3px; }
.blank-all[data-state="copied"] { background: var(--green); border-color: var(--green); color: var(--white); }

@media (max-width: 640px) {
  .blank { padding: 20px 18px 18px; }
  .blank-row { grid-template-columns: minmax(0, 1fr); }
  .blank-row dt { padding: 12px 0 0; }
  .blank-row dd { padding: 2px 0 12px; }
  .blank-row--group dd { padding-top: 2px; }
  .blank-subject .v { font-size: 19px; }
  .blank-row--key .v { font-size: 19px; }
  .blank .hint { display: none; }
  .blank-all { width: 100%; }
}

/* Бланк для того и бланк, чтобы его можно было распечатать и подшить. */
@media print {
  .rekvizity-intro, .blank .hint, .blank-all { display: none; }
  .blank { max-width: none; border-color: #000; border-top-width: 2px; }
  .blank-row:hover, .blank-subject:hover { background: none; }
}

@media (prefers-reduced-motion: reduce) {
  .blank .hint, .blank-all { transition: none; }
}

/* -------------------- Аватар-буква в отзывах -------------------- */
.review-avatar {
  width: 60px;
  height: 60px;
  flex: 0 0 60px;
  border-radius: 555px;
  background: var(--grey5);
  color: var(--black2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
}
