:root {
    --taxonomy-main-font-family: "Murecho", sans-serif;
    --taxonomy-second-font-family: 'Days One', sans-serif;
    --taxonomy-color-black: #000000;
    --taxonomy-color-white: #ffffff;
    --taxonomy-color-grey: #757777;
    --taxonomy-font-size-small: 16px;
    --category-main-font-family: "Murecho", sans-serif;
    --category-second-font-family: 'Days One', sans-serif;
    --category-color-black: #000000;
    --category-color-white: #ffffff;
    --category-color-grey: #757777;
}

.taxonomy__heading {
    background-image: none;
    padding: 25px 0 0 0;
}

.taxonomy__heading--title {
    font-family: var(--taxonomy-second-font-family);
    font-weight: 400;
    font-size: 28px;
    text-transform: uppercase;
    text-shadow: 0px 4px 4px rgb(0 0 0 / 25%);
    color: var(--taxonomy-color-black);
    margin: 0;
}

.taxonomy__wrap {
    padding: 25px 0 50px;
}

.taxonomy__content {
    display: block;
    margin-top: 0px;
}

.tabs_mob__list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 10px 15px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
}

.tabs_mob__item {
    font-family: var(--category-main-font-family);
    color: var(--category-color-grey);
    border: 1px solid var(--category-color-grey);
    padding: 10px 15px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 0 10px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    font-size: 0.85rem;
}

.tabs_mob__item.active {
    border-color: var(--kmnd-body-color-accent);
    color: var(--kmnd-body-color-accent);
}

.tabs_mob__item svg {
    margin-top: 4px;
}

.tabs__content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    -webkit-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    overflow: visible;
    max-height: 100%;
    margin-top: 0;
    height: 0;
    opacity: 0;
}

.tabs__content--link {
    padding-left: 30px;
}

.tabs__content--link a,
.tabs__content--link span,
.tabs__content--link label {
    font-family: var(--taxonomy-main-font-family);
    position: relative;
    text-decoration: none;
    font-size: 0.875rem;
    color: #808080;
    padding-left: 0;
    padding-bottom: 0px;
    outline: none;
    box-shadow: none;
    border: none;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.tabs__content--link a::before {
    border: solid 1px #808080;
}

.tabs__content--link a::before,
.tabs__content--link span::before,
.tabs__content--link label::before {
    content: '';
    clear: both;
    position: absolute;
    height: 11px;
    width: 11px;
    left: -22px;
    border-radius: 50%;
}

.tabs__content--link span::after,
.tabs__content--link input:checked+label::after {
    content: '';
    clear: both;
    position: absolute;
    background: #7ACF55;
    width: 7px;
    height: 7px;
    left: -19px;
    top: 5px;
    border-radius: 50%;
}

.tabs__content form,
.taxonomy__sort--content form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
}

.tabs__content--link span::before,
.tabs__content--link label::before {
    border: solid 1px #7ACF55;
    top: 2px;
}

.filter-form--reset {
    background: #7ACF55;
    width: 100vw;
    margin-left: -15px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    min-height: 50px;
    padding-left: 15px;
    padding-right: 15px;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--taxonomy-color-white);
    font-size: 0.875rem;
}

.tabs__content-filter {
    width: 100%;
}

.taxonomy__side {
    display: none;
}

.taxonomy__filter--triger {
    position: relative;
    z-index: 99;
    font-family: var(--taxonomy-main-font-family);
    color: var(--taxonomy-color-black);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    color: #333333;
    font-size: 1.125rem;
    text-transform: uppercase;
    border-bottom: 1px solid var(--taxonomy-color-grey);
    padding-bottom: 5px;
    justify-content: space-between;
    margin-right: 135px;
    cursor: pointer;
}

.taxonomy__filter--triger svg {
    margin-left: 18px;
    -webkit-transition: var(--kmnd-transition);
    transition: var(--kmnd-transition);
    -webkit-transform: rotate(-180deg);
    transform: rotate(-180deg);
}

.taxonomy__filter--triger.toggle__trigger.active svg {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
}

.taxonomy__filter--content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    overflow: visible;
    max-height: 100%;
    margin-top: 0;
    height: 0;
    opacity: 0;
}
html.js-ready .taxonomy__filter--content {
    -webkit-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.taxonomy__filter--content:not(:last-child) {
    margin-bottom: 25px;
}

.taxonomy__sort {
    display: none;
    position: relative;
    margin-left: auto;
    height: 34px;
    width: 34px;
    position: relative;
    z-index: 1;
}

.taxonomy__sort--toggler {
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.taxonomy__sort--content {
    position: absolute;
    top: -10px;
    right: -13px;
    width: 320px;
    padding: 22px 10px 11px;
    background: var(--kmnd-body-background-tertiary);
    display: none;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.taxonomy__sort--content.active {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.taxonomy__items {
    display: flex;
    flex-direction: column;
    margin-top: 30px;
    margin-bottom: 20px;
}

.catalog__item {
    margin-bottom: 20px;
}

.catalog__item--link {
    text-decoration: none;
    display: block;
    position: relative;
}

.catalog__item--image {
    width: 100vw;
    margin-left: -20px;
    position: relative;
    display: block;
    background-position: center;
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    background-size: cover;
}

.catalog__item--image:after {
    content: '';
    display: block;
    position: relative;
    padding-top: 63.190184049079754%;
}
.catalog__item--image-lcp {
    overflow: hidden;
}

.catalog__item--image-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.catalog__item--content {
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: rgba(243, 243, 243, 0.85);
    backdrop-filter: blur(50px);
    padding: 30px;
    margin-top: -30px;
}

.catalog__item--title {
    color: var(--taxonomy-color-black);
    font-family: var(--taxonomy-second-font-family);
    font-size: 28px;
    font-weight: 400;
    line-height: 1;
    text-align: center;
    border: 5px solid var(--taxonomy-color-black);
    padding: 10px 15px;
    cursor: text;
}

.catalog__item--icon {
    display: flex;
    gap: 30px;
    cursor: text;
}

.catalog__item--icon div {
    color: var(--taxonomy-color-grey);
    font-family: var(--taxonomy-main-font-family);
    font-size: var(--taxonomy-font-size-small);
    font-weight: 400;
    padding-left: 25px;
}

.catalog__item--area {
    background: url(/wp-content/themes/unitbud/assets/image/area.svg);
    background-repeat: no-repeat;
}
.catalog__item--bed{
    background: url(/wp-content/themes/unitbud/assets/image/bed.svg);
    background-repeat: no-repeat;
}
.catalog__item--bathroom {
    background: url(/wp-content/themes/unitbud/assets/image/bathroom.svg);
    background-repeat: no-repeat;
}
.catalog__item--price {
    cursor: text;
}

.catalog__item--price span {
    font-family: var(--taxonomy-main-font-family);
    font-weight: 400;
    font-size: 18px;
    margin-right: 15px;
    color: var(--taxonomy-color-black);
}

.catalog__item--price span strong {
    font-size: 24px;
    color: #000000;
}

.catalog__item--button {
    background: var(--taxonomy-color-black);
    border: 2px solid var(--taxonomy-color-black);
    padding: 15px 25px;
    font-family: var(--taxonomy-main-font-family);
    font-weight: 400;
    font-size: 18px;
    text-transform: uppercase;
    color: var(--taxonomy-color-white);
    text-align: center;
    margin-top: 10px;
}

.form-section-container.category__feedback-first,
.form-section-container.category__feedback-second {
    margin: 25px 0;
}

.form-section-container.category__feedback-first.form-margin,
.form-section-container.category__feedback-second.form-margin {
    margin: 25px 0 0 0;
}

.taxonomy__section--title {
    font-family: var(--taxonomy-second-font-family);
    font-size: 24px;
    text-transform: uppercase;
    color: var(--taxonomy-color-black);
    margin: 0 0 10px 0;
    padding-left: 25px;
    border-left: 10px solid #77D14D;
    display: block;
}

.taxonomy__section {
    padding: 25px 0;
    margin: 25px 0;
}

.taxonomy__advantage--section {
    margin-bottom: 50px;
}

/* ============================================================================
   INSTALLED SECTION — стилі блоку
   ============================================================================ */
/* ── Секція ─────────────────────────────────────────────────────────────────*/


/* ── Прев'ю блоку в редакторі Gutenberg ─────────────────────────────────────*/

/* Swiper у редакторі не ініціалізується → примусово показуємо картки */
.installed__section.is-preview .installed__row.swiper-slide {
    opacity: 1;
}

/* Фото-слайдер теж без ініціалізації — лишаємо тільки перше фото, */
/* щоб решта зображень не стовпом вилазили з картки */
.installed__section.is-preview .installed__slider-photo .installed__photo-slide~.installed__photo-slide {
    display: none;
}

.installed__section.is-preview .installed__col--photo {
    overflow: hidden;
}


.installed__section {
    padding: 25px 0;
    margin: 25px 0;
}

.installed__section>.container {
    position: relative;
}

.installed__title {
    font-family: "Days One", sans-serif;
    font-size: 24px;
    text-transform: uppercase;
    color: #000;
    padding-left: 25px;
    border-left: 10px solid #77D14D;
    display: inline-block;
    margin: 50px 0 30px 0;
}

/* ── Головний слайдер-контейнер ─────────────────────────────────────────────*/

.installed__slider {
    padding: 15px;
}

/* ── Картка (slide) ─────────────────────────────────────────────────────────*/

.installed__row.swiper-slide {
    border-radius: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    /* Усі сусідні слайди приховуємо через opacity, щоб не «вилізали» за межі */
    transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.swiper.swiper-initialized .installed__row.swiper-slide {
    opacity: 0;
}

/* Показуємо тільки видимі слайди */
.swiper.swiper-initialized .installed__row.swiper-slide-active,
.swiper.swiper-initialized .installed__row.swiper-slide-next,
.swiper.swiper-initialized .installed__row.swiper-slide-next+.swiper-slide {
    opacity: 1;
}

/* Hover-ефект на картці */
.installed__row:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

/* ── Колонки всередині картки ───────────────────────────────────────────────*/

/* Фото-колонка */
.installed__col--photo {
    height: 300px;
}

/* Текстова колонка */
.installed__col--details {
    padding: 25px;
    background: #ffffff;
}

/* ── Фото-слайдер (вкладений) ───────────────────────────────────────────────*/

.installed__slider-photo {
    height: 100%;
    border-radius: 22px 22px 0 0;

    /* Скасовуємо будь-який padding, що міг прийти від батьківських правил */
    padding: 0;
}

/* Зображення */
.installed__photo-img {
    display: block;
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 22px 22px 0 0;
    transition: scale 0.3s ease;
}

.installed__row:hover .installed__photo-img {
    scale: 1.1;
}

/* ── Lazy loading ───────────────────────────────────────────────────────────*/

/*
 * Поки зображення не завантажено — воно прозоре.
 * Клас .lazy-loaded додається через JS після завантаження.
 */
img.lazy-img {
    background-color: #f0f0f0;
    opacity: 0;
    /* повністю прихований, поки не завантажено */
    transition: all 0.3s;
}

img.lazy-loaded {
    opacity: 1;
}

/* Спіннер */
.swiper-lazy-preloader {
    display: block;
    position: absolute;
    inset: 0;
    margin: auto;
    width: 42px;
    height: 42px;
    z-index: 10;
    transform-origin: 50% 50%;
    animation: swiper-preloader-spin 1s steps(12, end) infinite;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cline id='l' x1='60' y1='7' x2='60' y2='27' stroke='%23ffffff' stroke-width='4' stroke-linecap='round'/%3E%3C/defs%3E%3Cg%3E%3Cuse href='%23l' opacity='.27'/%3E%3Cuse href='%23l' opacity='.27' transform='rotate(30 60 60)'/%3E%3Cuse href='%23l' opacity='.27' transform='rotate(60 60 60)'/%3E%3Cuse href='%23l' opacity='.27' transform='rotate(90 60 60)'/%3E%3Cuse href='%23l' opacity='.27' transform='rotate(120 60 60)'/%3E%3Cuse href='%23l' opacity='.27' transform='rotate(150 60 60)'/%3E%3Cuse href='%23l' opacity='.5' transform='rotate(180 60 60)'/%3E%3Cuse href='%23l' opacity='.5' transform='rotate(210 60 60)'/%3E%3Cuse href='%23l' opacity='.5' transform='rotate(240 60 60)'/%3E%3Cuse href='%23l' opacity='.8' transform='rotate(270 60 60)'/%3E%3Cuse href='%23l' opacity='.8' transform='rotate(300 60 60)'/%3E%3Cuse href='%23l' opacity='.8' transform='rotate(330 60 60)'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / 100%;
    pointer-events: none;
}

/* Спіннер зникає, коли зображення завантажилося */
img.lazy-loaded~.swiper-lazy-preloader {
    display: none;
}

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

/* ── Стрілки фото-слайдера ──────────────────────────────────────────────────*/

/* Стрілки видимі тільки при наведенні на картку */
.installed__row .installed-photo__button-prev,
.installed__row .installed-photo__button-next {
    opacity: 0;
    transition: opacity 0.3s ease, scale 0.2s ease;
    background: none;
    width: auto;
    height: 30px;
    top: 60%;
}

.installed__row:hover .installed-photo__button-prev,
.installed__row:hover .installed-photo__button-next {
    opacity: 1;
}

.installed-photo__button-prev:hover,
.installed-photo__button-next:hover {
    scale: 1.1;
}

.installed-photo__button-prev svg,
.installed-photo__button-next svg {
    background: #77d14d;
    border-radius: 5px;
}

/* Позиціювання стрілок фото-слайдера */
.installed-photo__button-prev {
    left: 22px;
}

.installed-photo__button-next {
    right: 22px;
}

/* Прибираємо стандартний псевдоелемент Swiper */
.installed-photo__button-prev::after,
.installed-photo__button-next::after {
    content: none;
}

/* ── Обкладинка картки + галерея у fancybox ─────────────────────────────── */
/*
 * На головній рендериться лише обкладинка (1 фото на картку).
 * Повна галерея відкривається у fancybox; решта зображень — приховані
 * посилання лише з href і завантажуються тільки при відкритті лайтбоксу.
 */
.installed__photo-cover {
	display: block;
	position: relative;
	height: 100%;
	cursor: zoom-in;
}

/* Приховані посилання на решту галереї — не займають місця і не вантажать зображень. */
.installed__photo-hidden {
	display: none !important;
}

/* Бейдж із кількістю фото — підказка, що за кліком відкриється галерея. */
.installed__photo-count {
	position: absolute;
	right: 12px;
	bottom: 12px;
	z-index: 5;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 4px 9px;
	border-radius: 999px;
	font-size: 13px;
	line-height: 1;
	font-weight: 600;
	color: #fff;
	background: rgba(0, 0, 0, 0.55);
	backdrop-filter: blur(2px);
	pointer-events: none;
}

.installed__photo-count svg {
	flex: 0 0 auto;
}
/* ── Пагінація фото-слайдера ────────────────────────────────────────────────*/

/* Контейнер пагінації — унікальний клас із індексом генерується у PHP */
.installed__slider-photo [class*="installed-photo__pagination-"] {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 6px;
    align-items: center;
    justify-content: center;
}

.installed__slider-photo [class*="installed-photo__pagination-"] .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    border: none;
    background: #ffffff;
    margin: 0;
    border-radius: 50%;
    opacity: 1;
    transition: width 0.3s ease, background 0.3s ease, border-radius 0.3s ease;
    cursor: pointer;
}

.installed__slider-photo [class*="installed-photo__pagination-"] .swiper-pagination-bullet-active {
    width: 20px;
    background: #77d14d;
    border-radius: 3px;
}

/* ── Стрілки головного слайдера ─────────────────────────────────────────────*/

.installed__button-prev,
.installed__button-next {
    /*
	 * Приховані за замовчуванням — показуються через медіазапит (≥ 1400px)
	 * або через JS (showInstalledArrows).
	 */
    display: none;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: #77d14d;
    border-radius: 5px;
    top: 65%;
    box-shadow:
        0 20px 25px -5px rgba(119, 209, 77, 0.5),
        0 8px 10px -6px rgba(119, 209, 77, 0.5);
    transition: scale 0.2s ease, opacity 0.2s ease;
    border: none;
    cursor: pointer;
}

.installed__button-prev::after,
.installed__button-next::after {
    content: none;
}

.installed__button-prev svg,
.installed__button-next svg {
    width: 20px;
    flex-shrink: 0;
}

.installed__button-prev:hover,
.installed__button-next:hover {
    scale: 1.1;
    opacity: 1;
}

/* Позиціювання головних стрілок */
.installed__button-prev {
    left: -40px;
}

.installed__button-next {
    right: -40px;
}

/* ── Текстовий блок картки ──────────────────────────────────────────────────*/

.installed__subtitle {
    font-family: "Murecho", sans-serif;
    font-weight: 700;
    font-size: 18px;
    margin: 0 0 20px;
}

.installed__subtitle a {
    color: #000;
    text-decoration: none;
    transition: color 0.2s ease;
}

.installed__subtitle a:hover {
    color: #77d14d;
}

.installed__info-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
    color: #006045;
    margin-bottom: 30px;
}

.installed__info {
    font-family: "Murecho", sans-serif;
    font-weight: 400;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.installed__info::before {
    content: "";
    display: block;
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #77d14d;
}

.installed__info--title {
    margin-right: auto;
}

.installed__info--value {
    font-weight: 700;
}

/* ── Кнопка «Детальніше» ────────────────────────────────────────────────────*/

.installed__button {
    display: block;
    padding: 15px 25px;
    background: #000;
    color: #fff;
    font-family: "Murecho", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 15px;
    box-shadow:
        0 10px 15px -3px rgba(92, 92, 122, 0.2),
        0 4px 6px -4px rgba(92, 92, 122, 0.2);
    transition: background 0.3s ease, scale 0.2s ease;
}

.installed__button:hover {
    background: #77d14d;
    scale: 1.05;
}

/* ── Пагінація головного слайдера ───────────────────────────────────────────*/

.installed_swiper-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 60px;
}

.installed__slider:not(.swiper-initialized) .installed_swiper-pagination {
    display: none;
}

.installed_swiper-pagination .swiper-pagination-bullet {
    border: 1px solid #fff;
    background: #ebe6e7;
    opacity: 1;
}

.installed_swiper-pagination .swiper-pagination-bullet-active {
    background: #7ACF55;
    border-color: #7ACF55;
}

/* ── Адаптивність ───────────────────────────────────────────────────────────*/

@media (min-width: 768px) {
    .installed__col--photo {
        height: 200px;
    }

    .installed__photo-img {
        height: 200px;
    }

    /*
	 * Коли слайдер ще не ініціалізований (наприклад, на десктопі з малою
	 * кількістю слайдів), відображаємо картки у grid-розкладці.
	 */
    .installed__slider:not(.swiper-initialized)>.swiper-wrapper {
        display: flex;
        gap: 30px;
        justify-content: center;
    }

    .installed__slider:not(.swiper-initialized)>.swiper-wrapper .swiper-slide {
        max-width: 400px;
    }
}

@media (min-width: 992px) {
    .installed__section {
        padding: 50px 0;
        margin: 50px 0;
    }

    .installed__title {
        margin: 0 0 50px;
        font-size: 42px;
    }
}

@media (min-width: 1400px) {

    /* На широкому екрані показуємо стрілки та прибираємо кульки-пагінацію */
    .installed__button-prev,
    .installed__button-next {
        display: flex;
    }

    .installed__slider .installed_swiper-pagination {
        display: none;
    }
}

.taxonomy__advantage--header {
    padding-left: 25px;
    border-left: 10px solid #77D14D;
    margin: 0 0 25px 0;
}

.taxonomy__advantage--title {
    margin-bottom: 5px;
    padding: 0;
    border: none;
}

.taxonomy__advantage--description {
    display: block;
    font-family: var(--taxonomy-main-font-family);
    font-weight: 400;
    font-size: var(--taxonomy-font-size-small);
    color: var(--taxonomy-color-grey);
    text-transform: lowercase;
}

.taxonomy__advantage--items {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 30px;
}

.taxonomy__advantage--item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.taxonomy__advantage--item-title {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 18px;
    color: var(--taxonomy-color-black);
    text-align: center;
}

.taxonomy__advantage--item-description {
    font-family: var(--taxonomy-main-font-family);
    font-weight: 400;
    font-size: var(--taxonomy-font-size-small);
    text-align: center;
    color: var(--taxonomy-color-grey);
}

/** this styles in style.css*/
.faq__section {
    padding: 25px 0;
    margin: 50px 0 25px 0;
}

.faq__titles {
    padding-left: 25px;
    border-left: 10px solid #77D14D;
    display: inline-block;
    margin: 0 0 30px 0;
}

.faq__title {
    display: block;
    font-family: "Days One", sans-serif;
    font-size: 24px;
    text-transform: uppercase;
    color: #000;
}

.faq__description {
    display: block;
    font-family: "Murecho", sans-serif;
    font-size: 14px;
    color: #757777;
    text-transform: lowercase;
}

.faq__items {
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding: 0 0px 0 10px;
}

.faq__section .accordion {
    position: relative;
}

.faq__section .accordion:before {
    content: '';
    position: absolute;
    left: -10px;
    top: 4px;
    width: 4px;
    height: 100%;
    border-radius: 15px;
    background: #ebe6e7;
}

.faq__section .accordion:has(.faq__trigger.open)::before {
    background: #77D14D;
}

.faq__name {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: "Murecho", sans-serif;
    position: relative;
    cursor: pointer;
    font-weight: 700;
    font-size: 18px;
    color: #000;
    font-style: normal;
    line-height: normal;
    padding: 15px 10px 15px 10px;
    z-index: 99;
    transition: transform 0.3s;
}

.faq-title {
    line-height: 1;
}

.faq-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 32px;
    min-width: 32px;
    height: 32px;
    background: #ebe6e7;
    border-radius: 50%;
    transition: -webkit-transform 0.3s;
    -o-transition: transform 0.3s;
    transition: transform 0.3s;
    transition: transform 0.3s, -webkit-transform 0.3s;
}

.faq-arrow:after {
    content: "";
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 24px;
    height: 12px;
    background-image: url(/wp-content/themes/unitbud/assets/image/faq-arrow.svg);
    background-size: 50%;
    background-position: center;
    background-repeat: no-repeat;
    -webkit-transition: -webkit-transform 0.3s;
    transition: -webkit-transform 0.3s;
    -o-transition: transform 0.3s;
    transition: transform 0.3s;
    transition: transform 0.3s, -webkit-transform 0.3s;
}

.faq__name.open {
    color: #77D14D;
}

.faq__name.open .faq-arrow {
    background: #77D14D;
}

.faq__name.open .faq-arrow:after {
    -webkit-transform: translateY(-50%) scale(1, -1);
    -ms-transform: translateY(-50%) scale(1, -1);
    transform: translateY(-50%) scale(1, -1);
    background-image: url(/wp-content/themes/unitbud/assets/image/faq-arrow-active.svg);
}

.faq__body.faq__dropdown {
    position: relative;
    z-index: 9;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    margin-top: 0;
    height: 0;
    opacity: 0;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    padding: 0 10px;
}

.faq__name.open+.faq__body.faq__dropdown {
    height: auto;
    margin: 5px 0;
    opacity: 1;
}

.faq__text {
    padding-right: 50px;
    font-size: 0.938rem;
}

.text__section img.alignright {
    float: right;
    margin: 15px 0 15px 15px;
}

.text__section img.alignleft {
    float: left;
    margin: 15px 15px 15px 0;
}

@media (min-width: 992px) {
    .faq__section {
        padding: 50px 0;
        margin: 50px 0;
    }

    .faq__titles {
        margin: 0 0 50px 0;
    }

    .faq__title {
        font-size: 42px;
    }

    .faq__description {
        font-size: 18px;
    }


    .faq__name {
        font-size: 24px;
    }

    .faq__text {
        font-size: 18px;
    }
}


@media (min-width: 768px) {

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

    .catalog__item {
        margin-bottom: 0px;
    }

    .catalog__item--image {
        width: 100%;
        margin: 0;
    }

    .catalog__item--content {
        margin: -30px 15px 0 15px;
    }

}



@media (min-width: 992px) {

    .taxonomy__heading {
        display: grid;
        padding: 0;
        margin-top: -210px;
    }

    .tax-type-baths .breadcrumbs,
    .post-type-archive-commercial-models .breadcrumbs,
    .tax-type-homes .breadcrumbs {
        z-index: 999;
        position: relative;
    }

    .tax-type-baths .breadcrumbs ul li,
    .post-type-archive-commercial-models .breadcrumbs ul li,
    .tax-type-homes .breadcrumbs ul li {
        color: #ffffff;
    }

    .tax-type-baths .breadcrumbs ul li a,
    .post-type-archive-commercial-models .breadcrumbs ul li a,
    .tax-type-homes .breadcrumbs ul li a {
        color: #c9c9c9;
    }

    .tax-type-baths .breadcrumbs ul li:after,
    .post-type-archive-commercial-models .breadcrumbs ul li:after,
    .tax-type-homes .breadcrumbs ul li:after {
        background: url("data:image/svg+xml,%3Csvg viewBox='0 0 15 8' xmlns='http://www.w3.org/2000/svg' width='15' height='8' fill='none'%3E%3Cpath fill='%23fff' d='M14.354 4.354a.5.5 0 0 0 0-.708L11.172.464a.5.5 0 1 0-.708.708L13.293 4l-2.829 2.828a.5.5 0 1 0 .708.708l3.182-3.182ZM0 4.5h14v-1H0v1Z' opacity='1'/%3E%3C/svg%3E") no-repeat center/contain;
    }

    .taxonomy__heading--bg {
        background-image: url(/wp-content/themes/unitbud/assets/image/bg-heading.webp);
        background-position: center;
        background-repeat: no-repeat;
        -webkit-background-size: cover;
        background-size: cover;
        min-height: 428px;
        padding: 270px 0 60px;
        position: relative;
        order: 0;
    }

    .taxonomy__heading--bg:after {
        content: '';
        background: rgba(0, 0, 0, 0.6);
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

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

    .taxonomy__heading--title {
        color: var(--taxonomy-color-white);
        text-shadow: none;
        font-size: 4rem;
    }

    .taxonomy__content {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        margin-top: 25px;
    }

    .taxonomy__filter--mobile {
        display: none;
    }

    .taxonomy__side {
        display: block;
        -webkit-box-flex: 1;
        -ms-flex: 1;
        flex: 1;
    }

    .taxonomy__main {
        width: 60%;
    }

    .category__filter-mobile {
        display: none;
    }

    .taxonomy__sort {
        display: block;
    }

    .taxonomy__section {
        padding: 50px 0;
        margin: 50px 0;
    }

    .taxonomy__section--title {
        font-size: 36px;
    }

    .taxonomy__advantage--description {
        font-size: 18px;
    }

    .taxonomy__advantage--items {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .form-section-container.category__feedback-first,
    .form-section-container.category__feedback-second {
        margin: 50px 0;
    }

    .form-section-container.category__feedback-first.form-margin,
    .form-section-container.category__feedback-second.form-margin {
        margin: 50px 0 0 0;
    }
}