html {
    scroll-behavior: smooth;
}

@font-face {
    font-family: "InterTight";
    src: url("../fonts/InterTight-VariableFont_wght.ttf") format("truetype-variations");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "InterTight";
    src: url("../fonts/InterTight-Italic-VariableFont_wght.ttf") format("truetype-variations");
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}

:root {
    --font-primary: 'InterTight', sans-serif;
    --font-heading: 'InterTight', sans-serif;
    --color-accent: #5C87F7;
}

body {
    font-family: var(--font-primary);
    font-size: 1.6rem;
    line-height: 1.6;
    color: #fff;
    background-color: #000;
    margin: 0 !important;
    padding: 0;
    min-height: 100vh;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}

h2 {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    margin-top: 0;
    margin-bottom: 1.875rem;
}

a:visited {
    color: inherit;
}

a:hover,
a:focus,
a:active {
    color: var(--color-accent);
}

button:hover {
    background-color: #000;
    color: #fff;
    transition: background-color 0.2s ease;
}

/* Header
--------------------------------------------- */

.site {
    position: -webkit-sticky;
    /* Safari */
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #ffffff;
    color: #222222;
    width: 100%;
}

.site-header {
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.site-header.is-scrolled {
    border-bottom-color: #e8edf5;
}

/* Top bar */

.top-bar {
    font-size: 0.875rem;
    border-bottom: 1px solid #f1f1f1;
}

.top-bar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 0;
}

.top-bar__location-city {
    color: #000;
    font-size: 0.875rem;
    font-weight: 500;
}

.top-bar__location {
    position: relative;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #aaaaaa;
}

.top-bar__location-icon {
    font-size: 1.6rem;
    color: var(--color-accent);
}

.top-bar__location-icon img {
    width: 0.875rem;
    padding-bottom: 2px;
}

.top-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 1.6rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.top-menu a {
    text-decoration: none;
    color: #030303;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.top-menu a:hover {
    color: var(--color-accent);
}

/* Dropdown submenu styles */
.top-menu li {
    position: relative;
    padding: 10px 0;
}

.top-menu .sub-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    min-width: 220px;
    background: #fff;
    border: 1px solid #f1f1f1;
    padding: 0.5rem 0;
    margin: 0;
    list-style: none;
    z-index: 20;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.top-menu li:hover>.sub-menu {
    display: block;
}

.top-menu .sub-menu li {
    display: block;
}

.top-menu .sub-menu a {
    display: block;
    padding: 8px 16px;
    color: #000;
    white-space: nowrap;
    font-weight: 400;
}

.top-menu .sub-menu a:hover {
    background: #f5f7ff;
}

/* City Selector Button */
.top-bar__city-selector {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
    transition: color 0.2s ease;
}

.top-bar .top-bar__city-selector:hover {
    color: var(--color-accent);
    background-color: transparent;
}

.top-bar__city-arrow {
    transition: transform 0.3s ease;
}

.top-bar__city-selector[aria-expanded="true"] .top-bar__city-arrow {
    transform: rotate(180deg);
}

/* City Dropdown */
.city-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 440px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.city-dropdown[hidden] {
    display: none;
}

.city-dropdown__list {
    list-style: none;
    margin: 0;
    padding: 0.5rem 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.city-dropdown__item {
    display: block;
    width: 100%;
    padding: 0.6rem 1rem;
    text-align: left;
    background: none;
    border: none;
    font-family: inherit;
    font-size: 0.875rem;
    color: #030303;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-radius: 0;
}

.city-dropdown__item:hover {
    background-color: #f5f7ff;
    color: #030303;
}

.city-dropdown__item.is-active {
    background-color: #f5f7ff;
    color: var(--color-accent);
    font-weight: 600;
}


@media (max-width: 768px) {
    .city-dropdown {
        left: 0;
        right: auto;
        min-width: 250px;
    }

    .top-bar__location-icon img {
        padding-bottom: 0;
    }
}

/* Main header row */

.header-main {
    padding: 0.8rem 0 1.2rem;
}

.header-main__inner {
    display: flex;
    align-items: center;
    gap: 1.6rem;
}

.header-main__left {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

/* Logo */

.header-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.header-logo__text {
    font-weight: 700;
    font-size: 1.8rem;
    font-family: var(--font-heading);
    color: #222222;
}

.custom-logo-link {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.custom-logo {
    width: 12rem;
}

/* Catalog button */

.header-catalog {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.2rem;
    border-radius: 0;
    border: none;
    cursor: pointer;
    font-size: 1.4rem;
    font-weight: 500;
    background-color: var(--color-accent);
    color: #ffffff;
}

.header-catalog__text {
    font-size: 0.875rem;
}

.header-catalog__icon {
    display: flex;
}

.header-catalog__icon img {
    width: 16px;
}

/* Search */

.header-search {
    position: relative;
    flex: 1 1 auto;
    max-width: 40rem;
}

.header-search .header-search__input {
    width: 100%;
    padding: 0.8rem 1.6rem 0.8rem 3.4rem;
    border: none;
    border-radius: 0;
    background-color: #f7f7f7;
    font-size: 1rem;
    line-height: 1.4;
    color: #333333;
    outline: none;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.03);
}

.header-search__input::placeholder {
    color: #b3b3b3;
}

.header-search__input:focus {
    box-shadow: 0 0 0 2px #4a6eff1a;
    background-color: #fdfdfd;
}

/* иконка */
.header-search__icon {
    position: absolute;
    left: 1.6rem;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1rem;
    height: 1rem;
    pointer-events: none;
}

.header-search__icon img {
    display: block;
    width: 100%;
    height: 100%;
}

/* Contacts */

.header-contacts {
    display: flex;
    align-items: center;
    gap: 1.6rem;
    margin-left: auto;
}

.header-contacts__messengers {
    display: flex;
    gap: 0.5rem;
}

.header-contacts__icon {
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.header-contacts__icon--whatsapp {
    position: relative;
    z-index: 0;
    background-color: var(--color-accent);
    overflow: hidden;
    transition: background-color 0.2s ease;
}

.header-contacts__icon--whatsapp:hover {
    background-color: #000;
}

.header-contacts__icon--instagram {
    position: relative;
    z-index: 0;
    /* цвет при ховере (фон кнопки) */
    background-color: var(--color-accent);
    overflow: hidden;
    transition: background-color 0.2s ease;
}

.header-contacts__icon--instagram:hover {
    background-color: #000;
}

.header-contacts__icon--tiktok {
    position: relative;
    z-index: 0;
    background-color: var(--color-accent);
    overflow: hidden;
    transition: background-color 0.2s ease;
}

.header-contacts__icon--tiktok:hover {
    background-color: #000;
}

.header-contacts__icon img {
    width: 16px;
}

.header-contacts__phone {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.header-contacts__phone-number {
    font-weight: 600;
    font-size: 1.2rem;
    color: #222222;
    text-decoration: none;
}

.header-contacts__schedule {
    font-size: 0.875rem;
    color: #4FB023;
}

.header-contacts__callback {
    padding: 1rem 1.6rem;
    border-radius: 0;
    border: 0.1rem solid var(--color-accent);
    background-color: transparent;
    color: var(--color-accent);
    font-size: 0.875rem;
    cursor: pointer;
    white-space: nowrap;
    font-weight: 500;
}

/* Primary nav */

.main-navigation {
    border-top: 0.1rem solid #f0f0f0;
    font-size: 1.4rem;
}

.primary-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 1.8rem;
    margin: 0;
    padding: 0.8rem 0;
    list-style: none;
}

.primary-menu a {
    text-decoration: none;
    color: #333333;
}

/* Burger */

.header-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 0.3rem;
    margin-left: 1rem;
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 999rem;
    border: 0.1rem solid #e0e0e0;
    background-color: #ffffff;
    cursor: pointer;
}

.header-burger span {
    display: block;
    height: 0.16rem;
    border-radius: 999rem;
    background-color: #333333;
}

.header-burger:hover {
    background-color: #ffffff;
}

/* Responsive */

@media (max-width: 960px) {

    /* Top bar: show location, hide menu */
    .top-bar {
        display: block;
        border-bottom: 1px solid #f1f1f1;
        background-color: #fff;
        padding: 0.4rem 0;
    }


    .top-bar__inner {
        justify-content: flex-start;
    }

    .top-menu {
        display: none;
    }

    .top-bar__location {
        font-size: 0.875rem;
        color: #aaa;
    }

    .top-bar__location-icon {
        font-size: 1.2rem;
    }

    /* Main header: Logo + Burger only */
    .header-main {
        padding: 0.8rem 0 0.8rem;
    }

    .header-main__inner {
        flex-wrap: nowrap;
        justify-content: space-between;
    }

    .header-search,
    .header-catalog,
    .header-contacts {
        display: none;
    }

    .header-burger {
        display: inline-flex;
        margin-left: 0;
        border: 1px solid #EAEAEA;
        width: 3rem;
        height: 3rem;
        padding: 0;
    }

    .header-burger span {
        background-color: #000;
        height: 2px;
        width: 16px;
        margin: 0 auto;
    }

    .main-navigation {
        display: none;
    }
}

/* Каталог категорий */

.catalog-page {
    padding-top: 3rem;
    padding-bottom: 4rem;
    background-color: #fff;
}

.catalog-page__title {
    font-size: 2.4rem;
    font-weight: 600;
    margin-bottom: 2.4rem;
    margin-top: 0;
    color: #030303;
}

.catalog-subcategory-page__title {
    margin: 0 0 0.5rem;
    font-size: 2rem;
    line-height: 1.2;
    font-weight: 600;
    color: #030303;
}

.catalog-subcategory-page__subtitle {
    margin: 0 0 2rem;
    font-size: 1rem;
    line-height: 1.4;
    color: #6b6f82;
}

.catalog-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.6rem;
}

/* Базовая плитка категории */
.catalog-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.8rem 1.8rem 1.6rem;
    background-color: #F1F1F1;
    text-decoration: none;
    color: inherit;
    flex: 0 1 calc(25% - 1.2rem);
    /* 4 в ряд на десктопе */
    overflow: hidden;
    transition: transform 0.15s ease-out, box-shadow 0.15s ease-out;
}

.catalog-card__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.catalog-card__title {
    font-size: 1.3rem;
    font-weight: 500;
    color: #030303;
    line-height: 1.3;
}

.catalog-card__action {
    flex-shrink: 0;
}

.catalog-card__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 999px;
    border: 1px solid #d4d7e2;
    font-size: 1.4rem;
    line-height: 1;
    color: #6b6f82;
}

.catalog-card__text {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.catalog-card__count {
    font-size: 0.875rem;
    color: #6b6f82;
    /* серый как на референсе */
}

/* Картинка справа */
.catalog-card__image {
    align-self: center;
    max-width: 12rem;
}

.catalog-card__image img {
    display: block;
    width: 100%;
    height: auto;
}

/* Ховер */
.catalog-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.4rem 1.2rem rgba(0, 0, 0, 0.06);
}

.catalog-card--price-request {
    gap: 1rem;
}

.catalog-card--price-request .catalog-card__content {
    margin-bottom: 0;
}

.catalog-card--price-request .catalog-card__price-action {
    width: 100%;
    margin-top: auto;
}

.catalog-card__price-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 2.4rem;
    padding: 0.7rem 0.9rem;
    background-color: #4677c9;
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 500;
    line-height: 1.2;
    text-align: center;
    transition: background-color 0.15s ease-out, border-color 0.15s ease-out;
}

.catalog-card--price-request:hover .catalog-card__price-button {
    background-color: #315fa8;
    border-color: #254e8e;
}

.catalog-card__price-text--mobile {
    display: none;
}

/* Плитка "Все товары" — делаем её более контрастной */
.catalog-card--all {
    background-color: #0b0f13;
}

.catalog-card--all:before {
    content: '';
    position: absolute;
    bottom: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(92, 135, 247, 0.15) 0%, rgba(94, 113, 128, 0) 70%);
    z-index: 0;
    pointer-events: none;
}

.catalog-card--all .catalog-card__title {
    color: #ffffff;
}

.catalog-card--all .catalog-card__arrow {
    border-color: rgba(255, 255, 255, 0.24);
    color: #ffffff;
}

/* Адаптив */

@media (max-width: 1024px) {
    .catalog-card {
        flex: 0 1 calc(33.333% - 1.1rem);
        /* 3 в ряд */
    }
}

@media (max-width: 768px) {
    .catalog-card {
        flex: 0 1 calc(50% - 0.8rem);
        /* 2 в ряд */
    }
}

@media (max-width: 480px) {
    .catalog-card {
        flex: 0 0 calc(50% - 0rem);
        max-width: calc(50% - 0.5rem);
        padding: 1rem;
    }

    .catalog-card__action {
        display: none;
    }

    .catalog-grid {
        gap: 1rem;
    }

    .catalog-card__content {
        margin-bottom: 0;
    }

    .catalog-card__price-button {
        min-height: 2.2rem;
        padding: 0.55rem 0.45rem;
        font-size: 0.78rem;
        white-space: nowrap;
    }

    .catalog-card__price-text--desktop {
        display: none;
    }

    .catalog-card__price-text--mobile {
        display: inline;
    }
}

/* Каталог товаров (архив product)
--------------------------------------------- */

.catalog-layout {
    padding-top: 3rem;
    padding-bottom: 4rem;
    background-color: #ffffff;
}

.catalog-layout__inner {
    display: flex;
    gap: 2.4rem;
}

/* Sidebar */

.catalog-sidebar {
    flex: 0 0 20rem;
    max-width: 20rem;
    font-size: 1.4rem;
}

.catalog-sidebar__title {
    font-weight: 600;
    margin-bottom: 1.6rem;
    color: #030303;
}

.catalog-sidebar__list {
    list-style: none;
    margin: 0;
    padding: 0;
    border: 1px solid #f1f1f1;
    overflow: hidden;
}

.catalog-sidebar__item a {
    font-size: 1rem;
    display: block;
    padding: 1.1rem 1.4rem;
    text-decoration: none;
    color: #333333;
    background-color: #ffffff;
    transition: background-color 0.15s ease-out, color 0.15s ease-out;
}

.catalog-sidebar__item+.catalog-sidebar__item a {
    border-top: 1px solid #f1f1f1;
}

.catalog-sidebar__item a:hover {
    background-color: #f5f7ff;
}

.catalog-sidebar__item.is-active a {
    background-color: #0b0f13;
    color: #ffffff;
}

/* Правая колонка */

.catalog-content {
    flex: 1 1 auto;
    min-width: 0;
}

.catalog-content__title {
    font-size: 2.2rem;
    font-weight: 600;
    margin: 0 0 2rem;
    color: #030303;
    line-height: 1.3;
}

.catalog-system-note {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0 0 2rem;
    padding: 1rem 1.2rem;
    background-color: #f5f7ff;
    border: 1px solid #dce5ff;
    border-left: 4px solid var(--color-accent);
}

.catalog-system-note__icon {
    flex: 0 0 2.5rem;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    background-color: rgba(92, 135, 247, 0.08);
}

.catalog-system-note__text {
    flex: 1 1 auto;
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.55;
    color: #4d5875;
}

.catalog-system-note__button {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    min-height: 3.125rem;
    padding: 0.85rem 1.25rem;
    background-color: #25D366;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.catalog-system-note__button:visited {
    color: #ffffff;
}

.catalog-system-note__button:hover,
.catalog-system-note__button:focus {
    background-color: #1fb85a;
    color: #ffffff;
    transform: translateY(-1px);
}

.catalog-system-note__button-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.125rem;
    height: 1.125rem;
}

/* Сетка карточек */

.catalog-products {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 1.6rem;
}

.catalog-product-card {
    flex: 0 1 calc(25% - 1.2rem);
    display: flex;
    flex-direction: column;
    align-self: stretch;
    overflow: hidden;
    text-decoration: none;
}

.catalog-product-card__image {
    display: block;
    background-color: #ffffff;
}

.catalog-product-card__image img {
    display: block;
    width: 100%;
    height: auto;
}

.catalog-product-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.8rem;
    padding: 1.6rem 0;
}

.catalog-product-card__title {
    line-height: 1.25;
    color: #000000;
    font-weight: 500;
    font-size: 1.125rem;
    margin-bottom: 0;
}

.catalog-product-card__title a {
    text-decoration: none;
    color: #0b0f13;
}

.catalog-products .catalog-product-card__more {
    color: var(--color-accent);
    text-decoration: underline;
    font-size: 0.875rem;
    text-align: center;

}

/* Пагинация */

.catalog-pagination {
    margin-top: 2.4rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.catalog-pagination .nav-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.catalog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0;
    font-size: 0.875rem;
    line-height: 1;
    color: #999999;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.catalog-pagination .page-numbers.current {
    color: #000000;
    border-color: #000000;
    font-weight: 400;
}

.catalog-pagination .page-numbers:hover:not(.current):not(.next) {
    color: #000000;
}

.catalog-pagination .next {
    width: auto;
    height: auto;
    padding-left: 1rem;
    border: none;
    display: inline-flex;
    align-items: center;
}

.catalog-pagination .next svg {
    width: 1.2rem;
    height: 1.2rem;
    stroke: #D4D7E2;
    transition: stroke 0.2s ease;
}

.catalog-pagination .next:hover svg {
    stroke: #000000;
}

/* Адаптив */

@media (max-width: 1024px) {
    .catalog-layout__inner {
        flex-direction: column;
    }

    .catalog-sidebar {
        max-width: 100%;
        flex: 1 1 auto;
    }

    .catalog-products {
        justify-content: flex-start;
    }

    .catalog-product-card {
        flex: 0 1 calc(33.333% - 1.1rem);
    }

    .catalog-system-note {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .catalog-system-note__button {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .catalog-filters {
        flex-direction: column;
        align-items: flex-start;
    }

    .catalog-product-card {
        flex: 0 0 calc(50% - 0.5rem);
        max-width: calc(50% - 0.5rem);
    }

    .catalog-filters__search input[type="search"] {
        width: 100%;
    }

    .catalog-products {
        gap: 1rem;
    }

    .catalog-sidebar {
        display: none;
    }

    .catalog-products .catalog-product-card__more {
        font-size: 0.75rem;
    }

    .catalog-system-note {
        padding: 1rem;
    }

    .catalog-system-note__icon {
        display: none;
    }

    .catalog-content__title {
        font-size: 24px;
    }

}

.catalog-no-results {
    text-align: center;
    padding: 4rem 0;
}

.catalog-no-results__text {
    font-size: 1.6rem;
    margin-bottom: 2.4rem;
    color: #333333;
}

.catalog-no-results__button {
    display: inline-block;
    padding: 1.2rem 2.4rem;
    background-color: #000;
    color: #fff;
    text-decoration: none;
    border-radius: 999px;
    font-weight: 500;
    transition: background-color 0.2s ease;
    font-size: 0.875rem;
}

.catalog-no-results__button:hover {
    background-color: var(--color-accent);
    color: #fff;
}

/* Хлебные крошки */
.breadcrumbs {
    margin-bottom: 1.6rem;
    font-size: 0.875rem;
    color: #8b8f9c;
}

.breadcrumbs__list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    padding: 0;
    margin: 0;
}

.breadcrumbs__item {
    display: flex;
    align-items: center;
}

.breadcrumbs__item::after {
    content: "/";
    margin: 0 0.4rem;
    color: #c0c3d0;
}

.breadcrumbs__item:last-child::after {
    content: "";
    margin: 0;
}

.breadcrumbs__link {
    text-decoration: none;
    color: #6b6f82;
}

.breadcrumbs__link:hover {
    color: var(--color-accent);
}

.breadcrumbs__current {
    color: #0b0f13;
    font-weight: 500;
}

/* WhatsApp button on product cards */
.catalog-products .catalog-product-card__whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-top: auto;
    padding: 0.5rem 1.6rem;
    border-radius: 0;
    background-color: #F7F7F7;
    color: #000;
    font-size: 0.875rem;
    font-weight: 400;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.catalog-product-card__whatsapp-icon {
    width: 1.2rem;
    height: 1.2rem;
    display: inline-block;
}

.catalog-product-card__whatsapp-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.catalog-product-card__whatsapp:hover,
.catalog-product-card__whatsapp:focus {
    background-color: #25D366;
    color: #ffffff;
}

/* Catalog filters: taxonomy selects + submit button */
.catalog-filters-panel__toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 0.8rem;
    padding: 0;
    border: none;
    background: none;
    color: var(--color-accent);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}

.catalog-filters-panel__toggle:hover,
.catalog-filters-panel__toggle:focus-visible {
    background: none;
    color: var(--color-accent);
}

.catalog-filters-panel__toggle-arrow {
    width: 0.5rem;
    height: 0.5rem;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
    margin-top: -0.1rem;
}

.catalog-filters-panel.is-open .catalog-filters-panel__toggle-arrow {
    transform: rotate(-135deg);
}

.catalog-filters-panel__body {
    display: block;
}

.catalog-filters-panel.is-collapsible .catalog-filters-panel__body {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.2s ease;
}

.catalog-filters-panel.is-collapsible.is-open .catalog-filters-panel__body {
    max-height: 2400px;
    opacity: 1;
}

.catalog-filters {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    padding: 0 0 1.5rem 0;
    gap: 0.5rem;
    border-bottom: 1px solid #f1f1f1;
    margin-bottom: 2rem;
}

.catalog-filters__left {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    align-items: center;
}

/* Одна группа фильтра */
.catalog-filters__field {
    display: flex;
    flex-direction: column;
    font-size: 0.9rem;
    gap: 0.4rem;
    min-width: 11rem;
}

/* Лейбл */
.catalog-filters__label {
    font-size: 0.85rem;
    color: #555555;
}

/* Селекты */
.catalog-filters select {
    padding: 0.65rem 2.5rem 0.65rem 1rem;
    font-size: 0.95rem;
    border: 1px solid #f1f1f1;
    background: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23666666' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 12px 8px;
    appearance: none;
    outline: none;
    transition: 0.2s ease;
    cursor: pointer;
}

.catalog-filters select:focus {
    border-color: #6c63ff;
    box-shadow: 0 0 0 2px rgba(108, 99, 255, 0.15);
}

.catalog-filters input[type="text"],
.catalog-filters input[type="number"],
.catalog-filters input[type="search"] {
    padding: 0.65rem 1rem;
    font-size: 0.95rem;
    border: none;
    border-radius: 0;
    background: #ffffff;
    color: #030303;
    outline: none;
    transition: 0.2s ease;
}

.catalog-filters input[type="text"]:focus,
.catalog-filters input[type="number"]:focus,
.catalog-filters input[type="search"]:focus {
    border-color: #6c63ff;
    box-shadow: 0 0 0 2px rgba(108, 99, 255, 0.15);
}

/* Actions block with submit button */
.catalog-filters__actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.catalog-filters__submit {
    padding: 1rem 1.6rem;
    background-color: var(--color-accent);
    color: #ffffff;
    border-radius: 0;
    border: none;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.catalog-filters__submit:hover {
    background-color: #5a52e0;
}

/* Reset button */
.catalog-filters__reset {
    padding: 1rem 1.6rem;
    background-color: transparent;
    color: var(--color-accent) !important;
    border: 1px solid var(--color-accent);
    border-radius: 0;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-block;
    line-height: 1;
}

#catalog-filters__reset:visited {
    color: var(--color-accent);
}

/* Bottom actions (after advanced filters) */
.catalog-filters__actions--bottom {
    margin-top: 0;
}

/* Adaptive layout */
@media (max-width: 850px) {
    .catalog-filters {
        flex-direction: column;
        align-items: flex-start;
    }

    .catalog-filters__actions {
        width: 100%;
        flex-direction: column;
        gap: 0.75rem;
    }

    .catalog-filters__submit,
    .catalog-filters__reset {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 540px) {
    .catalog-filters__left {
        flex-direction: column;
        width: 100%;
    }

    .catalog-filters__field {
        width: 100%;
    }

    .catalog-filters select {
        width: 100%;
    }

    .catalog-filters__actions {
        width: 100%;
    }

    .catalog-filters__submit {
        width: 100%;
    }

    .catalog-products .catalog-product-card__whatsapp {
        padding: 0.5rem 1rem;
    }

    .catalog-product-card__whatsapp-text {
        font-size: 0.75rem;
    }
}

.catalog-product-card__meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.catalog-product-card__meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.3rem;
    color: #aaaaaa;
    font-size: 0.875rem;
    flex-direction: column;
}

/* Stock status badge inside meta row */
.catalog-product-card__param--stock {
    display: inline-flex;
    align-items: center;
    margin-top: 0.35rem;
    padding: 0.1rem 0.75rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 500;
    background-color: #f5f5f7;
    color: #555555;
    max-width: max-content;
}

.catalog-product-card__param--stock::before {
    content: "";
    display: block;
}

/* В наличии — зелёный */
.catalog-product-card__param--stock.stock-status--in_stock {
    color: #0f8a3b;
    background-color: #e4f8ea;
}

/* Под заказ — жёлто-оранжевый */
.catalog-product-card__param--stock.stock-status--on_order {
    color: #b36b00;
    background-color: #fff3d6;
}

/* Нет в наличии — красный */
.catalog-product-card__param--stock.stock-status--out_of_stock {
    color: #c01726;
    background-color: #ffe4e7;
}

/* Тело группы по умолчанию скрыто */
.catalog-filters__group-body {
    display: none;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Когда у группы есть класс is-open — показываем */
.catalog-filters__group.is-open .catalog-filters__group-body {
    display: flex;
}

/* Кнопка */
.catalog-filters__group-toggle {
    padding: 0.75rem 1.25rem;
    border-radius: 999px;
    border: 1px solid #e0e0e0;
    background: #f7f7f9;
    font-size: 0.875rem;
    cursor: pointer;
    white-space: nowrap;
}

/* На десктопе всегда открыто, кнопку можно сделать просто лейблом */
@media (min-width: 992px) {
    .catalog-filters__group-body {
        display: flex !important;
    }

    .catalog-filters__group-toggle {
        cursor: default;
    }
}

/* Advanced catalog filters (ACF-based) */
.catalog-filters__advanced {
    width: 100%;
    margin-top: 0;
}

.catalog-filters__advanced-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0;
    border: none;
    background: none;
    font-size: 0.9rem;
    color: var(--color-accent);
    text-decoration: underline;
    cursor: pointer;
}

/* Override global button hover for this control */
.catalog-filters__advanced-toggle:hover,
.catalog-filters__advanced-toggle:focus-visible {
    background: none;
    color: var(--color-accent);
}

.catalog-filters__advanced-icon {
    display: inline-flex;
    align-items: center;
    gap: 0.12rem;
}

.catalog-advanced-bar {
    width: 2px;
    height: 12px;
    border-radius: 999px;
    background-color: var(--color-accent);
}

.catalog-filters__advanced-text {
    border-bottom: 1px dashed currentColor;
    line-height: 1.2;
}

.catalog-filters__advanced-arrow {
    width: 0.5rem;
    height: 0.5rem;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
    margin-top: 0.1rem;
}

.catalog-filters__advanced.is-open .catalog-filters__advanced-arrow {
    transform: rotate(-135deg);
}

.catalog-filters__advanced-body {
    margin-top: 1rem;
    padding: 0;
    background-color: #E5ECFE;
    display: block;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition:
        max-height 0.25s ease,
        opacity 0.25s ease,
        padding-top 0.25s ease,
        padding-bottom 0.25s ease;
}

.catalog-filters__advanced.is-open .catalog-filters__advanced-body {
    max-height: 500px;
    opacity: 1;
    padding-top: 1.25rem;
    padding-bottom: 1.5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.catalog-filters__row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    width: 100%;
}

/* Make advanced fields expand nicely on narrow screens */
@media (max-width: 768px) {
    .catalog-filters__advanced.is-open .catalog-filters__advanced-body {
        padding: 1.1rem 1.25rem 1.25rem;
    }

    .catalog-filters__row .catalog-filters__field {
        flex: 1 1 100%;
    }

}

/* ===== Фильтр по типу изделия (чипсы) ===== */
.catalog-type-filter {
    margin: 1.5rem 0;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f1f1f1;
}

.catalog-type-filter__title {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.catalog-type-filter__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.catalog-type-filter__item {
    margin: 0;
    padding: 0;
}

.catalog-type-filter__link {
    display: inline-flex;
    align-items: center;
    gap: 0;
    padding: 0;
    border: 1px solid #e5e5e5;
    background-color: #ffffff;
    color: #333333;
    font-size: 0.875rem;
    font-weight: 400;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.catalog-type-filter__link:hover {
    border-color: #d0d0d0;
    background-color: #f9f9f9;
    color: #000000;
}

.catalog-type-filter__link:visited {
    color: #000000;
}

.catalog-type-filter__icon {
    width: auto;
    height: 3.1rem;
    flex-shrink: 0;
    object-fit: contain;
}

.catalog-type-filter__label {
    line-height: 1;
    padding: 0.5rem 1rem;
}

/* Активное состояние чипса */
.catalog-type-filter__item--active .catalog-type-filter__link {
    border-color: var(--color-accent);
    color: var(--color-accent);
    font-weight: 500;
    min-height: 52px;
}

.catalog-type-filter__item--active .catalog-type-filter__link:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    font-weight: 500;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .catalog-type-filter {
        margin: 1rem 0;
        padding-bottom: 1rem;
    }

    .catalog-type-filter__list {
        gap: 0.5rem;
    }

    .catalog-type-filter__link {
        font-size: 0.8125rem;
    }
}

/* На очень узких экранах переносим подкатегории вниз, без горизонтального скролла */
@media (max-width: 480px) {
    .catalog-type-filter__list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        overflow: visible;
        padding-bottom: 0;
    }

    .catalog-type-filter__item {
        min-width: 0;
    }

    .catalog-type-filter__link {
        width: 100%;
    }
}

/* ===== Оверлей каталога ===== */

.catalog-overlay {
    position: fixed;
    inset: 0;
    z-index: 999;
    /* держим элемент в потоке, но делаем его невидимым и некликабельным */
    display: block;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.catalog-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* фон */
.catalog-overlay__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    opacity: 0;
    transition: opacity 0.2s ease;
}

/* панель */
.catalog-overlay__panel {
    position: absolute;
    top: 134px;
    left: 50%;
    transform: translate(-50%, -16px);
    max-width: 1200px;
    width: calc(100% - 32px);
    margin: 0;
    background: #fff;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    padding: 24px 32px 32px;
    opacity: 0;
    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}

/* состояния при открытии */
.catalog-overlay.is-open .catalog-overlay__backdrop {
    opacity: 1;
}

.catalog-overlay.is-open .catalog-overlay__panel {
    opacity: 1;
    transform: translate(-50%, 0);
}

/* шапка панели */
.catalog-overlay__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.catalog-overlay__title {
    color: #000;
    font-size: 24px;
    font-weight: 600;
    margin: 0;
}

/* кнопка закрытия (крестик) */
.catalog-overlay__close {
    position: relative;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: #f3f4f6;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.catalog-overlay__close span {
    position: absolute;
    width: 16px;
    height: 2px;
    background: #111827;
    border-radius: 999px;
}

.catalog-overlay__close span:first-child {
    transform: rotate(45deg);
}

.catalog-overlay__close span:last-child {
    transform: rotate(-45deg);
}

.catalog-overlay__close:hover {
    background: #e5e7eb;
}

/* сетка категорий */
.catalog-overlay__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

/* Базовая плитка категории как на Domforu */
.catalog-overlay__item {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 130px;
    padding: 18px 18px 16px;
    background: #f1f1f1;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    transition:
        background 0.15s ease,
        transform 0.15s ease,
        box-shadow 0.15s ease;
}

/* зона с картинкой */
.catalog-overlay__item-image {
    position: absolute;
    right: -20%;
    bottom: -10%;
    width: 55%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    pointer-events: none;
}

.catalog-overlay__item-image img {
    display: block;
    width: 120%;
    max-width: none;
    height: auto;
    transform: translate(6%, 6%);
}

/* текстовая часть */
.catalog-overlay__item-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0;
    position: relative;
    z-index: 1;
    max-width: 60%;
}

.catalog-overlay__item-title {
    font-size: 1rem;
    font-weight: 400;
    color: #030303;
    margin: 0;
}

.catalog-overlay__item-desc {
    font-size: 13px;
    line-height: 1.3;
    color: #8B8F9C;
}

/* круглая стрелка, как на референсе */
.catalog-overlay__item-arrow {
    position: absolute;
    left: 18px;
    bottom: 14px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid #D4D7E2;
    font-size: 18px;
    line-height: 1;
    color: #6B6F82;

    transition: transform 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

/* hover-состояние: лёгкий подъём и тень */
.catalog-overlay__item:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.4rem 1.2rem rgba(0, 0, 0, 0.06);
}

.catalog-overlay__item:hover .catalog-overlay__item-arrow {
    color: #4F46E5;
    border-color: #4F46E5;
}

/* Плитка "Все товары" — чёрный фон с белым текстом */
.catalog-overlay__item--all {
    background: #0b0f13;
    color: #FFFFFF;
}

.catalog-overlay__item--all .catalog-overlay__item-title {
    color: #FFFFFF;
}

.catalog-overlay__item--all .catalog-overlay__item-desc {
    color: rgba(255, 255, 255, 0.7);
}

.catalog-overlay__item--all .catalog-overlay__item-arrow {
    border-color: rgba(255, 255, 255, 0.3);
    color: #FFFFFF;
}

/* адаптив под уже настроенные брейкпоинты */
@media (max-width: 1024px) {

    .catalog-overlay__panel {
        top: 70px;
        /* шапка на планшете обычно чуть ниже */
        width: calc(100% - 32px);
        padding: 20px 16px 24px;
        border-radius: 20px;
        /* do not override transform here, keep transition working */
    }

    .catalog-overlay__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .catalog-overlay__grid {
        gap: 1rem;
        grid-template-columns: 1fr;
    }

    .catalog-overlay.is-open {
        z-index: 9999;
    }

    .catalog-overlay__item {
        min-height: auto;
        background-color: transparent;
        padding: 0;
    }

    .catalog-overlay__item-image {
        display: none;
    }

    .catalog-overlay__item-arrow {
        display: none;
    }

    .catalog-overlay__panel {
        transform: translateY(-100%);
        transform: translateX(0);
        width: 70%;
        bottom: 56px;
        top: auto;
        left: 0;
        border-radius: 0;

    }

    .catalog-overlay.is-open .catalog-overlay__panel {
        border-radius: 0;
        transform: translateY(0);
        left: 0;
        padding: 1rem;
    }

    .catalog-overlay__item-title {
        font-size: 0.875rem;
    }

    .catalog-overlay__header {
        display: none;
    }

    .catalog-overlay.is-open .catalog-overlay__backdrop {
        background-color: rgba(0, 0, 0, 0.5);
    }

}

/* пустое сообщение */
.catalog-overlay__empty {
    margin: 0;
    padding: 16px;
    color: #6b7280;
}

/* запрет скролла страницы, когда открыт каталог */
body.catalog-overlay-open {
    overflow: hidden;
}

.catalog-filters__field input::placeholder {
    color: #9fa6b2;
}

/* ====== Страница товара ====== */

.product-page {
    padding: 3rem 0;
    padding-bottom: 4rem;
    background-color: #ffffff;
}

/* Заголовок + крошки */
.product-page__header {
    margin-bottom: 1.75rem;
}

.product-page__title {
    font-size: 2rem;
    line-height: 1.2;
    font-weight: 600;
    margin: 0 0 0.75rem;
    color: #000;
}

/* Категории под заголовком */
.product-page__cats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.75rem;
}

.product-page .product-page__cat {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.9rem;
    border-radius: 999px;
    font-size: 0.8rem;
    line-height: 1.3;
    background: #f3f4f6;
    color: #555;
    text-decoration: none;
}

.product-page__cat:hover {
    background: #e4e5ea;
}

/* Короткие параметры в шапке */
.product-meta {
    font-size: 0.875rem;
    color: #555;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.product-meta__row+.product-meta__row {
    margin-top: 0.25rem;
}

/* Статус наличия – переиспользуем цвета, если уже есть такие стили,
   то этот блок можно не дублировать */
.product-meta__stock {
    font-weight: 500;
}

/* Если таких классов нет в архиве, можно оставить: */
.stock-status--in_stock {
    color: #1a9b3b;
}

.stock-status--on_order {
    color: #e0a800;
}

.stock-status--out_of_stock {
    color: #c82333;
}

/* Основной блок: изображение + правый блок */
.product-page__content {
    display: flex;
    gap: 2.5rem;
    align-items: flex-start;
    margin-bottom: 3rem;
}

.product-page__gallery {
    flex: 0 0 40%;
}

.product-page__image {
    overflow: hidden;
    background: #f5f5f7;
}

.product-page__image img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Правая колонка */
.product-page__summary {
    flex: 1 1 auto;
}

/* Короткие характеристики под заголовком */
.product-meta--short {
    margin-bottom: 1.5rem;
}

.product-meta--short .product-meta__row {
    line-height: 1.5;
}

/* Бейдж статуса наличия в шапке товара */
.product-meta__row--stock .product-meta__stock-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.9rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 500;
    background-color: #f5f5f7;
    color: #555555;
    max-width: max-content;
}

.product-meta__row--stock .product-meta__stock-badge.stock-status--in_stock {
    color: #0f8a3b;
    background-color: #e4f8ea;
}

.product-meta__row--stock .product-meta__stock-badge.stock-status--on_order {
    color: #b36b00;
    background-color: #fff3d6;
}

.product-meta__row--stock .product-meta__stock-badge.stock-status--out_of_stock {
    color: #c01726;
    background-color: #ffe4e7;
}

/* Таксономии (марка стали, ГОСТ, покрытие) */
.product-page__taxonomies {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.product-page__tax-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    font-size: 0.875rem;
}

.product-page__tax-label {
    font-weight: 500;
    color: #444;
}

.product-page__tax-chip {
    padding: 0.2rem 0.7rem;
    border-radius: 999px;
    background: #f3f4f6;
    color: #555;
}

/* Кнопка WhatsApp на странице товара */
.product-page__whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.05rem 2.5rem;
    line-height: 1;
    border-radius: 0;
    font-size: 0.95rem;
    font-weight: 500;
    color: #fff;
    background: #25d366;
    text-decoration: none;
    transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.product-page__whatsapp:hover {
    color: #fff;
}

/* ====== Характеристики ====== */

.product-specs {
    margin-bottom: 3rem;
}

.product-specs__title {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0 0 1rem;
}

.product-specs__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.product-specs__table th,
.product-specs__table td {
    padding: 1rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.product-specs__table th {
    width: 40%;
    text-align: left;
    font-weight: 500;
    color: #aaa;
}

.product-specs__table td {
    color: #111;
    font-weight: 500;
}

/* ====== Описание ====== */

.product-description {
    margin-bottom: 2.5rem;
}

.product-description__inner {
    max-width: 760px;
    margin: 0 auto;
}

.product-description__title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 1rem;
    color: #000;
}

.product-description__body {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #333;
}

.product-description__body p+p {
    margin-top: 0.75rem;
}

/* ====== Вкладки товара (Характеристики / Описание) ====== */

.product-tabs {
    margin-bottom: 3rem;
    margin-left: auto;
    margin-right: auto;
}

.product-tabs__title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    margin-top: 0px;
    color: rgb(3, 3, 3);
    line-height: 1;
}

/* Навигация вкладок */
.product-tabs__nav {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.product-tabs__tab {
    position: relative;
    background: none;
    font-size: 0.95rem;
    font-weight: 500;
    color: #000;
    cursor: pointer;
    border-radius: 0;
    padding: 1rem 1.2rem;
    border: solid 1px #f1f1f1;
}

.product-tabs__tab.is-active {
    color: #000;
    border: solid 1px #000;
}

.product-tabs__tab.is-active:hover,
.product-tabs__tab.is-active:focus-visible {
    color: #000;
    border: 1px solid #000;
    background-color: transparent;
}

.product-tabs__tab:hover {
    border: solid 1px #5C87F7;
    color: var(--color-accent);
    background-color: transparent;
}

/* Панели вкладок */
.product-tabs__panes {
    min-height: 4rem;
}

.product-tabs__pane {
    display: none;
}

.product-tabs__pane.is-active {
    display: block;
}

/* Краткое описание внутри вкладки "Описание" */
.product-description__short {
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #111827;
}

.product-description__short ul {
    margin: 0;
}

.product-page__back {
    margin-top: 4rem;
}

.site-main .product-page__back-link {
    font-size: 0.9rem;
    color: #000;
    text-decoration: none;
}

.site-main .product-page__back-link:hover {
    text-decoration: underline;
    color: var(--color-accent);
}

/* ====== Адаптив ====== */

@media (max-width: 900px) {
    .product-page {
        padding: 2rem 0;
    }

    .product-page__content {
        flex-direction: column;
        gap: 1.75rem;
    }

    .product-page__gallery {
        flex-basis: auto;
        width: 100%;
    }
}

@media (max-width: 600px) {
    .product-page__title {
        font-size: 1.6rem;
    }

    .product-specs__table th,
    .product-specs__table td {
        padding: 0.5rem 0.6rem;
    }
}

.home-catalog {
    background-color: #fff;
    padding: 3rem 0;
}

.home-catalog__title {
    font-size: 2.4rem;
    font-weight: 600;
    margin-bottom: 2.4rem;
    margin-top: 0;
    color: #030303;
    line-height: 1.3;
}

/* ===== Преимущества на главной ===== */

.home-benefits {
    background-color: #ffffff;
    padding-bottom: 3rem;
}

.home-benefits__header {
    margin-bottom: 2.4rem;
}

.home-benefits__title {
    font-size: 2.4rem;
    font-weight: 600;
    margin: 0;
    color: #030303;
}

/* Сетка как в референсе: 4 колонки на десктопе без зазоров,
   вертикальные разделители между карточками */

.home-benefits__grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    border-bottom: 1px solid #f3f3f3;
}

.home-benefits__item {
    position: relative;
    flex: 0 1 25%;
    padding: 1.5rem;
    background-color: #ffffff;
}

/* Вертикальный разделитель между карточками */
.home-benefits__item::before {
    content: "";
    position: absolute;
    top: 2.5rem;
    bottom: 0;
    left: 0;
    width: 1px;
    background-color: #f1f1f1;
}

.home-benefits__item:first-child::before {
    content: none;
}

/* Иконка в кружке */

.home-benefits__icon {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 50%;
    background-color: #f7f7f7;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.8rem;
    color: #000;
}

.home-benefits__icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: #000;
}

/* Текст */

.home-benefits__item-title {
    font-size: 1.3rem;
    font-weight: 500;
    margin: 0 0 0.9rem;
    color: #0b0f13;
}

.home-benefits__text {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #6b6f82;
    max-width: 26rem;
}

/* Адаптив: 2 карточки в ряд на планшете, 1 карточка — на мобилке */

@media (max-width: 1024px) {
    .home-benefits__grid {
        margin: 0;
    }

    .home-benefits__item {
        flex: 0 1 50%;
        padding: 2.5rem 1.5rem 3rem;
    }

    .home-benefits__item::before {
        top: 2rem;
        bottom: 2rem;
    }

    .home-benefits__item:nth-child(2n + 1)::before {
        content: none;
    }
}

@media (max-width: 640px) {
    .home-benefits__item {
        flex: 0 1 100%;
        padding: 1rem 0 1rem;
        border-bottom: 1px solid #f5f5f5;
    }

    .home-benefits__item::before {
        content: none;
    }

    .home-benefits__item:last-child {
        border-bottom: none;
    }

    .home-benefits__grid {
        border: none;
    }

    .home-catalog__title {
        font-size: 2.1rem;
    }

    .home-benefits__icon {
        margin-bottom: 1rem;
    }
}


/* ===== Лид-форма на главной: форма слева, картинка справа ===== */

.home-lead {
    background-color: #fff;
}

.home-lead__inner {
    width: 100%;
    display: flex;
    min-height: 420px;
    border-top: 1px solid #f1f1f1;
    border-bottom: 1px solid #f1f1f1;
}

/* Левая часть с формой */

.home-lead__left {
    flex: 0 0 50%;
    background-color: #ffffff;
    padding: 4rem 0 4rem 0;
    display: flex;
    align-items: center;
}

.home-lead__content {
    max-width: 560px;
    width: 100%;
}

.home-lead__title {
    margin: 0 0 1.4rem;
    font-size: 2.4rem;
    font-weight: 600;
    color: #000000;
    line-height: 1.3;
}

.home-lead__subtitle {
    margin: 0 0 2.4rem;
    font-size: 1rem;
    line-height: 1.6;
    color: #6b6f82;
}

/* Форма */

.home-lead__form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.home-lead__fields {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.home-lead__field {
    flex: 1 1 5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.home-lead__label {
    font-size: 0.9rem;
    color: #6b6f82;
}

.home-lead .home-lead__input {
    width: 100%;
    outline: none;
    color: rgb(0, 0, 0);
    border: 0px solid rgb(0, 0, 0);
    background-color: rgb(241, 241, 241);
    border-radius: 0;
    font-size: 15px;
    font-weight: 500;
    height: 48px;
    padding: 1.7rem 1.5rem;
    transition:
        background-color 0.2s ease,
        box-shadow 0.2s ease;
}

.home-lead__input::placeholder {
    color: #9fa3b3;
}

.home-lead__input:focus {
    background-color: #ffffff;
    box-shadow: 0 0 0 1px #0000001a;
}

/* Select dropdown styling */
.home-lead__field select,
.home-lead select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.5rem center;
    padding: 12px 3rem 12px 1.5rem !important;
    cursor: pointer;
    color: rgba(0, 0, 0, 1) !important;
    font-size: 15px !important;
    font-weight: 500;
    line-height: normal;
    height: 48px;
    opacity: 1 !important;
}

/* Override parent color for home-lead select */
.home-lead select,
.home-lead select option {
    color: rgba(0, 0, 0, 1) !important;
    font-size: 15px !important;
    opacity: 1 !important;
}


/* Чекбоксы и подписи */

.home-lead__checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    font-size: 0.78rem;
    line-height: 1.5;
    color: #7a7f8a;
}

.home-lead__checkbox input[type="checkbox"] {
    margin-top: 0.15rem;
}

/* Кнопка */

.home-lead__btn {
    width: 100%;
    margin-top: 0.5rem;
    padding: 1.05rem 2.5rem;
    border-radius: 0;
    border: none;
    background-color: #0b0f13;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition:
        background-color 0.18s ease,
        transform 0.18s ease,
        box-shadow 0.18s ease;
}

.home-lead__btn:hover {
    background-color: var(--color-accent);
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.home-lead__btn:active {
    transform: translateY(0);
    box-shadow: none;
}

/* Правая часть с картинкой до края */

.home-lead__right {
    flex: 1 1 50%;
    background-color: #f5f5f7;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.home-lead__right img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Адаптивное поведение */

@media (max-width: 1024px) {
    .home-lead__inner {
        flex-direction: column;
    }

    .home-lead__left {
        flex: 0 0 auto;
        padding: 3rem 2rem 2.5rem;
    }

    .home-lead__right {
        flex: 0 0 auto;
        padding: 2rem 2rem 3rem;
        justify-content: center;
    }

    .home-lead__right img {
        max-width: 320px;
    }
}

@media (max-width: 640px) {
    .home-lead__left {
        padding: 4rem 0 4rem;
    }

    .home-lead__fields {
        flex-direction: column;
        gap: 1rem;
    }

    .home-lead__field {
        flex: 1 1 5rem;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .home-lead__right img {
        max-width: 100%;
    }

    .home-lead__title {
        font-size: 2.1rem;
    }

    .home-lead__right {
        padding: 0;
    }

    .home-lead {
        border-top: none;
    }
}

.home-partners {
    background-color: #fff;
    padding: 4rem 0;
}

.home-partners__title {
    text-align: center;
    font-size: 2.4rem;
    font-weight: 600;
    margin-bottom: 2.4rem;
    margin-top: 0;
    color: #030303;
}

.home-partners__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.home-partners__item {
    background: #fff;
    box-shadow: 0 0 0 1px #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.home-partners__logo img {
    width: 200px;
    max-width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .home-partners__grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 15px;
    }

    .home-partners__title {
        font-size: 2.1rem;
    }

    .home-partners__item {
        padding: 15px;
    }

}

.home-clients {
    background-color: #fff;
    padding: 0 0 4rem;
}

.home-clients__title {
    text-align: center;
    font-size: 2.4rem;
    font-weight: 600;
    margin-bottom: 2.4rem;
    margin-top: 0;
    color: #030303;
}

.home-clients__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.home-clients__item {
    background: #fff;
    box-shadow: 0 0 0 1px #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.home-clients__logo img {
    width: 200px;
    max-width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .home-clients__grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 15px;
    }

    .home-clients__title {
        font-size: 2.1rem;
    }

    .home-clients__item {
        padding: 15px;
    }

}

/* Footer */

.site-footer {
    background-color: #0b0f13;
    color: #ffffff;
    padding: 4rem 0 2rem;
    font-size: 1rem;
    margin-top: auto;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    bottom: -200px;
    right: -200px;
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgba(92, 135, 247, 0.15) 0%, rgba(94, 113, 128, 0) 70%);
    z-index: 0;
    pointer-events: none;
}

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

.site-footer a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-footer a:hover {
    color: var(--color-accent);
}

/* Top Section */
.site-footer__top {
    display: flex;
    justify-content: space-between;
    gap: 4rem;
    margin-bottom: 8rem;
}

.site-footer__info {
    display: flex;
    flex-direction: column;
    max-width: 40rem;
}

.site-footer__subtitle {
    font-size: 0.875rem;
    color: #6b6f82;
    /* Muted text color */
    margin-bottom: 1.2rem;
}

.site-footer__phone {
    font-size: 3.5rem;
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 0.8rem;
    display: inline-block;
}

.site-footer__email {
    font-size: 1rem;
    text-decoration: underline !important;
    margin-bottom: 3rem;
    display: inline-block;
}

.site-footer__office {
    margin-bottom: 3rem;
}

.site-footer__address {
    font-style: normal;
    font-size: 1rem;
    line-height: 1.6;
}

.site-footer__address a {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.site-footer__address a:hover {
    border-bottom-color: var(--color-accent);
}

/* Socials */
.site-footer__socials {
    display: flex;
    gap: 0.5rem;
}

.site-footer__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 999rem;
    background-color: var(--color-accent);
    color: #ffffff;
    transition: background-color 0.2s ease, color 0.2s ease;
    position: relative;
    z-index: 0;
    overflow: hidden;
}

.site-footer__social-link svg {
    fill: #ffffff;
    transition: background-color 0.2s ease, color 0.2s ease;
}


.site-footer__social-link[aria-label="Instagram"]:hover {
    background-color: #ffffff;
    color: #000000;
}



.site-footer__social-link[aria-label="WhatsApp"]:hover {
    background-color: #ffffff;
    color: #000000;
}

.site-footer__social-link[aria-label="TikTok"]:hover {
    background-color: #ffffff;
    color: #000000;
}

.site-footer__social-link:hover {
    background-color: #ffffff;
    color: #000000;
}

/* Navigation */
.site-footer__nav {
    display: flex;
    gap: 4rem;
}

.site-footer__nav-col {
    display: flex;
    flex-direction: column;
}

.site-footer__menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.site-footer__menu li {
    font-size: 0.875rem;
    line-height: 1.3;
}

/* Bottom Section */
.site-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.875rem;
    color: #6b6f82;
}

.site-footer__logo {
    display: flex;
    align-items: center;
}

.site-footer__logo a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.site-footer__logo img {
    width: 192px;
}

.site-footer__logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.05em;
}

.site-footer__copyright {
    line-height: 1.4;
}

.site-footer__company-id {
    display: inline-block;
    margin-top: 0.25rem;
}

.site-footer__policy a {
    color: #6b6f82;
}

.site-footer__policy a:hover {
    color: #ffffff;
}

.site-footer__developer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.site-footer__developer a {
    color: #ffffff;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 1024px) {
    .site-footer__top {
        flex-direction: column;
        gap: 4rem;
        margin-bottom: 4rem;
    }

    .site-footer__phone {
        font-size: 2.5rem;
    }

    .site-footer__nav {
        gap: 4rem;
    }

    .site-footer__bottom {
        flex-wrap: wrap;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .site-footer__nav {
        flex-direction: row;
        gap: 3rem;
        flex-wrap: wrap;
        align-items: baseline;
        justify-content: space-between;
        order: -1;
    }

    .site-footer__bottom {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
    }

    .site-footer__logo {
        order: -1;
        margin-bottom: 0;

    }

    .site-footer__phone {
        font-size: 2.3rem;
    }

    .site-footer__office {
        margin-bottom: 0;
    }

    .site-footer__top {
        gap: 3rem;
        margin-bottom: 3rem;
    }

    .site-footer__copyright {
        font-size: 0.75rem;
    }

    .site-footer__policy a {
        font-size: 0.85rem;
    }

    .site-footer__nav-col:nth-child(1) {
        order: 2;
        text-align: right;
    }

    .site-footer__nav-col:nth-child(2) {
        order: 1;

    }

    .site-footer__nav-col:nth-child(3) {
        order: 4;
        text-align: right;
    }

    .site-footer__nav-col:nth-child(4) {
        order: 3;
    }

}

/* Callback Popup
--------------------------------------------- */

.callback-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.callback-popup.is-open {
    opacity: 1;
    visibility: visible;
}

.callback-popup__backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.callback-popup__panel {
    position: relative;
    width: 100%;
    max-width: 700px;
    background-color: #ffffff;
    padding: 60px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: transform 0.3s ease;
    color: #000;
}

.callback-popup.is-open .callback-popup__panel {
    transform: translateY(0);
}

.callback-popup__close {
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    border: none;
    background-color: transparent;
    cursor: pointer;
    color: #aaa;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.callback-popup .callback-popup__close:hover {
    color: #000;
    background-color: transparent;
}

.callback-popup__title {
    margin: 0 0 0.5rem;
    font-size: 2.4rem;
    font-weight: 600;
    color: #000000;
    line-height: 1.3;
}

.callback-popup__desc {
    margin: 0 0 2rem;
    font-size: 1rem;
    line-height: 1.6;
    color: #555555;
}

.callback-popup__row {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
}

.callback-popup__field {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.callback-popup__label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #555;
}

.callback-popup .callback-popup__input {
    width: 100%;
    outline: none;
    color: rgb(0, 0, 0);
    border: 0px solid rgb(0, 0, 0);
    background-color: rgb(241, 241, 241);
    border-radius: 0;
    font-size: 15px;
    font-weight: 500;
    height: 48px;
    padding: 1.7rem 1.5rem;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.callback-popup__input:focus {
    background-color: #fff;
    box-shadow: 0 0 0 2px var(--color-accent);
}

/* Select dropdown styling */
.callback-popup__field select,
.callback-popup select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.5rem center;
    padding: 12px 3rem 12px 1.5rem !important;
    cursor: pointer;
    color: rgba(0, 0, 0, 1) !important;
    font-size: 15px !important;
    font-weight: 500;
    line-height: normal;
    height: 48px;
    opacity: 1 !important;
}

/* Override parent color for callback popup select */
.callback-popup select,
.callback-popup select option {
    color: rgba(0, 0, 0, 1) !important;
    font-size: 15px !important;
    opacity: 1 !important;
}


.callback-popup__agreement {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 30px;
}

.callback-popup__checkbox {
    width: 18px;
    height: 18px;
    border-radius: 0;
    border: 1px solid #ccc;
    cursor: pointer;
}

.callback-popup__agree-text {
    font-size: 0.875rem;
    color: #666;
    line-height: 1.4;
    cursor: pointer;
}

.callback-popup__submit {
    width: 100%;
    margin-top: 0.5rem;
    padding: 1.05rem 2.5rem;
    border-radius: 0;
    border: none;
    background-color: #0b0f13;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.callback-popup__submit:hover {
    background-color: var(--color-accent);
}

/* Responsive */
@media (max-width: 768px) {
    .callback-popup__panel {
        padding: 30px 20px;
        max-width: 100%;
        border-radius: 16px;
    }

    .callback-popup__title {
        font-size: 2rem;
    }

    .callback-popup__row {
        flex-direction: column;
        gap: 16px;
    }
}

/* Product Extra Blocks
--------------------------------------------- */

.product-extra-blocks {
    margin-bottom: 4rem;
}

.product-extra-blocks__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Info Card */
.product-info-card {
    background-color: #FDFDFE;
    border: 1px solid #f1f1f1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
}

.product-info-card__title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    color: #000;
}

.product-info-card__text {
    font-size: 1rem;
    line-height: 1.5;
    color: #666;
    margin-bottom: 30px;
    max-width: 66%;
}

.product-info-card img {
    position: absolute;
    top: -16%;
    right: -8%;
    width: 17rem;
}

.product-extra-blocks .product-info-card__link {
    margin-top: auto;
    font-size: 1rem;
    font-weight: 600;
    color: #000;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.product-extra-blocks .product-info-card__link:hover {
    color: var(--color-accent);
}


/* Banner Card */
.product-banner-card {
    position: relative;
    padding: 40px;
    display: flex;
    justify-content: space-between;
    overflow: hidden;
    color: #fff;
}

.product-banner-card--telegram {
    background-color: #222;
    /* Dark background */
    background-image: url('../images/telegram-bg.jpg');
    /* Placeholder */
    background-size: cover;
    background-position: center;
}

.product-banner-card--gift {
    background-color: #ff6600;
    /* Orange background */
    background-image: url('../images/gift-bg.jpg');
    /* Placeholder */
    background-size: cover;
    background-position: center;
}

.product-banner-card__content {
    position: relative;
    z-index: 2;
    max-width: 60%;
    display: flex;
    flex-direction: column;
}

.product-banner-card__title {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}

.product-banner-card__desc {
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 20px;
    opacity: 0.9;
}

.product-banner-card__subdesc {
    font-size: 0.9rem;
    line-height: 1.4;
    margin-top: auto;
    opacity: 0.9;
}

.product-banner-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.product-banner-card__tags span {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    backdrop-filter: blur(4px);
}

.product-banner-card__image {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 40%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: bottom right;
    background-size: contain;
    z-index: 1;
}

/* Responsive */
@media (max-width: 960px) {
    .product-extra-blocks__grid {
        grid-template-columns: 1fr;
    }

    .product-banner-card__content {
        max-width: 100%;
    }

    .product-banner-card__image {
        display: none;
        /* Hide image on smaller screens if it overlaps text */
    }
}

@media (max-width: 640px) {
    .product-info-card__title {
        z-index: 30;
    }

    .product-info-card__text {
        z-index: 30;
    }

    .product-info-card__link {
        z-index: 30;
    }

    .product-info-card img {
        top: 8%;
        right: -31%;
        width: 16rem;
    }
}


/* FAQ and Form Block
--------------------------------------------- */

.faq-form-block__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.faq-form-block--faq-only .faq-form-block__grid {
    grid-template-columns: 1fr;
}

/* FAQ Section */
.faq-section__title {
    margin: 0 0 1.4rem;
    font-size: 2.4rem;
    font-weight: 600;
    color: #000000;
    line-height: 1.1;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-accordion__item {
    background-color: #fff;
    overflow: hidden;
    border-bottom: 1px solid #eee;
}

.faq-accordion__trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: color 0.2s ease;
    border-radius: 0;
}

.faq-accordion__trigger:hover {
    color: #000;
    background-color: transparent;
}

.faq-accordion__question {
    font-size: 1.3rem;
    font-weight: 500;
    margin: 0;
    color: #0b0f13;
    padding-right: 20px;
}

.faq-accordion__icon {
    position: relative;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.faq-accordion__icon::before,
.faq-accordion__icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    background-color: #ccc;
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.faq-accordion__icon::before {
    width: 16px;
    height: 2px;
}

.faq-accordion__icon::after {
    width: 2px;
    height: 16px;
}

.faq-accordion__trigger[aria-expanded="true"] .faq-accordion__icon::before,
.faq-accordion__trigger[aria-expanded="true"] .faq-accordion__icon::after {
    background-color: var(--color-accent);
}

.faq-accordion__trigger[aria-expanded="true"] .faq-accordion__icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.faq-accordion__content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease-out;
    overflow: hidden;
}

.faq-accordion__trigger[aria-expanded="true"]+.faq-accordion__content {
    grid-template-rows: 1fr;
}

.faq-accordion__body {
    overflow: hidden;
    min-height: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}

.faq-accordion__body p {
    margin: 0;
    padding-bottom: 20px;
    color: #6b6f82;
}

/* Form Section */
.form-section {
    background-color: #0b0f13;
    padding: 40px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.form-section:before {
    content: '';
    position: absolute;
    bottom: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(92, 135, 247, 0.15) 0%, rgba(94, 113, 128, 0) 70%);
    z-index: 0;
    pointer-events: none;
}

.form-section__title {
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 16px;
    color: #fff;
}

.form-section__desc {
    font-size: 1rem;
    line-height: 1.5;
    color: #aaa;
    margin-bottom: 30px;
}

.form-section__form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-section__label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 8px;
}

.form-section .form-section__input {
    width: 100%;
    outline: none;
    color: rgb(0, 0, 0);
    border: 0px solid rgb(0, 0, 0);
    background-color: rgb(241, 241, 241);
    border-radius: 0;
    font-size: 15px;
    font-weight: 500;
    height: 48px;
    padding: 1.7rem 1.5rem;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.form-section .form-section__input:focus {
    border-color: #fff;
}

/* Select dropdown styling */
.form-section__field select,
.form-section select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.5rem center;
    background-color: rgb(241, 241, 241);
    padding: 12px 3rem 12px 1.5rem !important;
    cursor: pointer;
    color: rgba(0, 0, 0, 1) !important;
    font-size: 15px !important;
    font-weight: 500;
    line-height: normal;
    height: 48px;
    opacity: 1 !important;
}

/* Explicitly override parent color for select and options */
.form-section select,
.form-section select option {
    color: rgba(0, 0, 0, 1) !important;
    font-size: 15px !important;
    opacity: 1 !important;
}


.form-section__phone-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.form-section__flag {
    position: absolute;
    left: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    pointer-events: none;
}

.form-section__flag img {
    width: 20px;
    height: auto;
}

.form-section__flag::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid #888;
    margin-left: 4px;
}

.form-section__input--phone {
    padding-left: 60px;
}

.form-section__agreement {
    margin-top: 8px;
}

.checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.checkbox-wrapper input {
    display: none;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 1px solid #444;
    border-radius: 0;
    flex-shrink: 0;
    position: relative;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.checkbox-wrapper input:checked+.checkbox-custom {
    background-color: #fff;
    border-color: #fff;
}

.checkbox-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 8px;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 10 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 3.5L3.5 6L9 1' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.2s ease;
}

.checkbox-wrapper input:checked+.checkbox-custom::after {
    transform: translate(-50%, -50%) scale(1);
}

.checkbox-text {
    font-size: 0.8rem;
    color: #888;
    line-height: 1.4;
}

.form-section__actions {
    display: flex;
    gap: 16px;
    margin-top: 10px;
}

.form-section__submit {
    flex: 1;
    background-color: #fff;
    color: #000;
    border: none;
    border-radius: 0;
    padding: 16px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.form-section__submit:hover {
    background-color: var(--color-accent);
}

.form-section__socials {
    display: flex;
    gap: 10px;
}

.form-section__social-link {
    width: 54px;
    height: 54px;
    background-color: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    transition: background-color 0.2s ease;
}

.form-section__social-link:hover {
    background-color: #eee;
}

/* Responsive */
@media (max-width: 960px) {
    .faq-form-block__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .faq-section__title {
        font-size: 2rem;
    }

    .form-section {
        padding: 30px 20px;
    }

    .form-section__actions {
        flex-direction: column;
    }

    .form-section__socials {
        justify-content: center;
    }
}

/* Related Services Section
--------------------------------------------- */

.home-services {
    padding: 4rem 0;
    background-color: #fff;
}

.home-services__header {
    margin-bottom: 3rem;
    text-align: center;
}

.home-services__title {
    font-size: 2.4rem;
    font-weight: 600;
    margin-bottom: 2.4rem;
    margin-top: 0;
    color: #030303;
    line-height: 1.3;
}

.home-services__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.home-services__card {
    background-color: #F1F1F1;
    padding: 26px 24px 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 240px;
    height: 310px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home-services__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.home-services__content {
    position: relative;
    z-index: 2;
}

.home-services__card-title {
    font-size: 1.3rem;
    font-weight: 500;
    margin: 0;
    color: #0b0f13;
    line-height: 1.2;
}

.home-services__graphic {
    margin-top: auto;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    color: var(--color-accent);
    transition: opacity 0.3s ease;
}

.home-services__card--galvanizing .home-services__graphic {
    z-index: 0;
}

.home-services__card--galvanizing .home-services__graphic::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -9rem;
    height: 10rem;
    background: linear-gradient(180deg, rgba(241, 241, 241, 0.98) 0%, rgba(241, 241, 241, 0.86) 45%, rgba(241, 241, 241, 0) 100%);
    z-index: 1;
    pointer-events: none;
}

.home-services__card--galvanizing .home-services__graphic img {
    position: relative;
    z-index: 0;
}

.hsg-01 {
    position: absolute;
    bottom: -2rem;
    left: 0;
}

.hsg-02 {
    position: absolute;
    bottom: -2rem;
    left: 0;
}

.hsg-03 {
    position: absolute;
    bottom: -2rem;
    left: 0;
}

.hsg-04 {
    position: absolute;
    bottom: -3rem;
    left: 0;
}

.hsg-05 {
    position: absolute;
    bottom: 0;
    left: 0;
}

.home-services__graphic svg {
    width: 100%;
    height: auto;
    max-height: 120px;
}

/* Responsive */
@media (max-width: 1200px) {
    .home-services__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .home-services__grid {
        grid-template-columns: 1fr;
    }

    .home-services__title {
        font-size: 2rem;
    }

    .home-services__card {
        min-height: auto;
        height: 280px;
        padding: 24px 20px 0;
    }

    .home-services__graphic {
        left: 0;
        right: 0;
        margin-top: 20px;
    }

    .hsg-01,
    .hsg-03 {
        bottom: -7rem;
    }

    .hsg-02 {
        bottom: -5rem;
    }

    .hsg-04 {
        bottom: -7rem;
        right: -10rem;
    }

    .hsg-05 {
        bottom: -7rem;
    }

}

.home-faq {
    background-color: #fff;
    padding-bottom: 4rem;
}

.home-faq .faq-form-block__grid {
    grid-template-columns: 1fr;
}

.home-faq .faq-section {
    width: 100%;
}

/* Swiper fallback
--------------------------------------------- */

.home-cases__slider,
.home-team__slider {
    overflow: hidden;
}

.home-cases__slider .swiper-wrapper,
.home-team__slider .swiper-wrapper {
    display: flex;
}

.home-cases__slider .swiper-slide,
.home-team__slider .swiper-slide {
    flex-shrink: 0;
}

/* Hero Section
--------------------------------------------- */

.home-hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
}

.home-hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.home-hero__bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 2;
}

.home-hero__container {
    width: 100%;
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding-top: 80px;
    padding-bottom: 80px;
}

.home-hero__content {
    margin-bottom: auto;
}

.home-hero__title {
    font-size: 2.375rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #fff;
    max-width: 22ch;
    text-transform: uppercase;
}

.home-hero__subtitle {
    max-width: 42rem;
    margin: 0 0 2.5rem;
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.9);
}

.home-hero__actions {
    display: flex;
    gap: 20px;
}

.btn {
    display: inline-block;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

/* Override with actual design color if needed, assuming accent is blue-ish or user wants blue */
.btn-primary {
    background-color: var(--color-accent);
    color: #fff;
    border-radius: 0;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1;
    padding: 1rem 2.5rem;
    position: relative;
    overflow: hidden;
}

/* Анимация переливающегося блика */
.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    50%,
    100% {
        left: 200%;
    }
}

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

.btn-outline {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    padding: 1.05rem 2.5rem;
    border-radius: 0;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1;
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    color: #fff;
}

.home-hero__features {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    margin-top: 80px;
    padding: 0;
}

.home-hero__feature {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    min-height: 100%;
    padding: 1rem 1rem 1.1rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.home-hero__feature:hover {
    background: rgba(255, 255, 255, 0.11);
    border-color: rgba(255, 255, 255, 0.22);
    transform: translateY(-2px);
}

.home-hero__feature-icon {
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
}

.home-hero__feature-icon svg {
    width: 24px;
    height: 24px;
}

.home-hero__feature-text {
    font-size: 1rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9);
    max-width: 200px;
}

/* WhatsApp Widget
--------------------------------------------- */
.whatsapp-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 100;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-widget:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.whatsapp-widget img {
    width: 1.5rem;
}

@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* WhatsApp Popup */
.whatsapp-popup {
    position: fixed;
    bottom: 7rem;
    /* 100px */
    right: 1.875rem;
    /* 30px */
    z-index: 99;
    background: #ffffff;
    border-radius: 0.75rem;
    /* 12px */
    box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.15);
    padding: 1.25rem;
    /* 20px */
    width: 18.75rem;
    /* 300px */
    max-width: calc(100vw - 2.5rem);
    /* 40px total padding */
    opacity: 1;
    transform: translateY(0) scale(1);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.whatsapp-popup.hidden {
    opacity: 0;
    transform: translateY(0.625rem) scale(0.95);
    /* 10px */
    visibility: hidden;
    pointer-events: none;
}

@keyframes popup-fade-in {
    from {
        opacity: 0;
        transform: translateY(0.625rem) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.whatsapp-popup__close {
    position: absolute;
    top: 0.625rem;
    /* 10px */
    right: 0.625rem;
    /* 10px */
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    /* 4px */
    width: 1.875rem;
    /* 30px */
    height: 1.875rem;
    /* 30px */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s ease;
    color: #999;
}

.whatsapp-popup__close:hover {
    background-color: #f5f5f5;
    color: #333;
}

.whatsapp-popup__close svg {
    width: 1rem;
    /* 16px */
    height: 1rem;
    /* 16px */
}

.whatsapp-popup__avatar {
    width: 3.75rem;
    /* 60px */
    height: 3.75rem;
    /* 60px */
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 0.75rem;
    /* 12px */
}

.whatsapp-popup__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.whatsapp-popup__title {
    font-size: 1.125rem;
    /* 18px */
    font-weight: 600;
    color: #000;
    text-align: center;
    margin-bottom: 0.5rem;
    /* 8px */
}

.whatsapp-popup__text {
    font-size: 0.875rem;
    /* 14px */
    color: #666;
    text-align: center;
    line-height: 1.5;
}

/* Хвостик popup */
.whatsapp-popup__arrow {
    position: absolute;
    bottom: -0.625rem;
    /* -10px */
    right: 1.25rem;
    /* 20px */
    width: 0;
    height: 0;
    border-left: 0.625rem solid transparent;
    /* 10px */
    border-right: 0.625rem solid transparent;
    /* 10px */
    border-top: 0.625rem solid #ffffff;
    /* 10px */
    filter: drop-shadow(0 0.25rem 0.25rem rgba(0, 0, 0, 0.1));
}

@media (max-width: 768px) {
    .whatsapp-widget {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    .whatsapp-widget img {
        width: 1.5rem;
    }

    .whatsapp-popup {
        bottom: 9rem;
        /* 80px */
        right: 1.25rem;
        /* 20px */
        width: calc(100vw - 2.5rem);
        /* Full width minus padding */
        max-width: 18.75rem;
        /* 300px */
    }

    .whatsapp-popup__arrow {
        right: 1rem;
        /* 16px */
    }

    .home-hero__container {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .home-hero__features {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 2rem;
        gap: 12px;
    }

    @media (min-width: 641px) and (max-width: 1024px) {
        .home-hero__features {
            grid-template-columns: repeat(3, 1fr);
        }
    }

    @media (max-width: 640px) {
        .home-hero__features {
            grid-template-columns: repeat(2, 1fr);
            gap: 10px;
        }

        .home-hero__feature {
            padding: 0.9rem 0.85rem 0.95rem;
        }
    }

    .home-hero__feature-text {
        font-size: 0.875rem;
        line-height: 1.3;
        color: rgba(255, 255, 255, 0.9);
    }


}

/* Contacts Page
--------------------------------------------- */
.contacts-page {
    padding-top: 3rem;
    padding-bottom: 4rem;
    background-color: #ffffff;
}

.contacts-page__title {
    font-size: 2.4rem;
    font-weight: 600;
    margin-bottom: 2.4rem;
    margin-top: 0;
    color: #030303;
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.contacts-grid__col {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contacts-block {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contacts-block__label {
    font-size: 0.9rem;
    color: #8b8f9c;
}

.contacts-block__value {
    font-size: 1.2rem;
    font-weight: 600;
    color: #000;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contacts-block__value:hover {
    color: var(--color-accent);
}

.contacts-block__text {
    font-size: 1rem;
    line-height: 1.5;
    color: #000;
}

.contacts-block__link {
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-accent);
    text-decoration: none;
    transition: text-decoration 0.2s ease;
}

.contacts-block__link:hover {
    color: var(--color-accent);
    text-decoration: underline;
}

.contacts-map {
    width: 100%;
    overflow: hidden;
    background-color: #f1f1f1;
    margin-bottom: 4rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .contacts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

@media (max-width: 640px) {
    .contacts-page__title {
        font-size: 2.4rem;
    }

    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

/* Cases Section
--------------------------------------------- */
.home-cases {
    padding: 0;
    background-color: #ffffff;
}

.home-cases__slider {
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

.home-cases__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2.5rem;
}

.home-cases__title {
    font-size: 2.4rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    margin-top: 0px;
    color: rgb(3, 3, 3);
}

.home-cases__desc {
    font-size: 1rem;
    line-height: 1.5;
    color: #6b6f82;
    max-width: 600px;
    margin: 0;
}

.home-cases__nav {
    display: flex;
    gap: 1rem;
}

.home-cases__prev,
.home-cases__next {
    position: static;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #111;
    color: #fff;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.home-cases__prev::after,
.home-cases__next::after {
    content: none;
}

.home-cases__prev svg,
.home-cases__next svg {
    width: 24px;
    height: 24px;
    stroke-width: 2;
}

.home-cases__prev:hover,
.home-cases__next:hover {
    background-color: var(--color-accent);
    transform: scale(1.05);
}

.home-cases__slide {
    height: auto;
    position: relative;
    padding: 0 10px;
    box-sizing: border-box;
}

.home-cases__img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.home-cases__slide:focus,
.home-cases__img:focus {
    outline: none;
}

.home-cases_title {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: #fff;
    padding: 5px 10px;
    color: #030303;
    border-radius: 80rem;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .home-cases__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .home-cases__nav {
        align-self: flex-start;
    }

    .home-cases__title {
        font-size: 2rem;
    }

    .home-cases__slide {
        padding: 0 6px;
    }
}

/* About Page
--------------------------------------------- */
.about-page {
    background-color: #ffffff;
}

.about-hero {
    padding-bottom: 4rem;
}

.about-hero__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
}

.about-hero__media {
    position: relative;
    overflow: hidden;
    height: 100%;
}


.about-hero__cover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-hero__content {
    padding: 4rem 0 4rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.about-hero__title {
    line-height: 1.2;
    font-size: 2.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    margin-top: 0;
    color: #030303;
}

.about-hero__text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #6b6f82;
    margin-bottom: 0;
}

.about-hero__text p {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.about-hero__mission {
    margin-bottom: 0;
}

.about-hero__mission-title {
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.4;
    color: #000;
    margin-bottom: 0;
}

.about-hero__footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.about-hero__ceo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.about-hero__ceo-avatar img {
    display: flex;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
}

.about-hero__ceo-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #000;
}

.about-hero__ceo-role {
    font-size: 0.9rem;
    color: #6b6f82;
}

.about-hero__certs {
    display: flex;
    gap: 1rem;
}

.about-hero__certs img {
    width: 130px;
    height: auto;
    border: 1px solid #eee;
}

.about-hero__rating {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .about-hero__grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .about-hero__content {
        padding: 3rem 20px;
    }

    .about-hero__media {
        height: 400px;
    }

    .about-hero__title {
        font-size: 2.5rem;
    }

}

@media (max-width: 640px) {

    .about-hero__content {
        padding: 3rem 0 0 0;
    }

    .about-hero__title {
        font-size: 2rem;
    }

    .about-hero__footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }

    .home-hero {
        min-height: auto;
    }

    .home-hero__title {
        font-size: 2rem;
        max-width: none;
    }

    .home-hero__subtitle {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 1.75rem;
    }

    .home-hero__actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

}

.about-faq {
    padding: 4rem 0;
}

/* Promotions Page
--------------------------------------------- */
.promotions-page {
    padding-top: 3rem;
    padding-bottom: 4rem;
    background-color: #ffffff;
}

.promotions-page__title {
    font-size: 2.4rem;
    font-weight: 600;
    margin-bottom: 2.4rem;
    margin-top: 0;
    color: #030303;
}

/* Mobile Bottom Bar
--------------------------------------------- */
.mobile-bottom-bar {
    display: none;
}

@media (max-width: 960px) {
    body {
        padding-bottom: 60px;
    }

    .whatsapp-widget {
        bottom: 80px;
    }

    .mobile-bottom-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 1100;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    }

    .mobile-bottom-btn {
        flex: 1;
        height: 56px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        border: none;
        cursor: pointer;
        color: #fff;
        font-size: 1rem;
        font-weight: 600;
        padding: 0;
        border-radius: 0;
    }

    .mobile-bottom-btn--catalog {
        background-color: var(--color-accent);
        /* Orange from reference */
    }

    .mobile-bottom-btn--contact {
        background-color: #0b0f13;
        /* Dark from reference */
    }

    .mobile-bottom-btn__icon {
        display: flex;
        align-items: center;
    }

    .mobile-bottom-btn__icon svg {
        width: 20px;
        height: 20px;
    }
}

/* Contact Overlay
--------------------------------------------- */
.contact-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.contact-overlay.is-open {
    visibility: visible;
    opacity: 1;
}

.contact-overlay__backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.contact-overlay__panel {
    position: absolute;
    bottom: 56px;
    right: 0;
    width: 50%;
    /* Full width on mobile */
    max-width: 400px;
    /* Limit on larger screens if ever shown */
    height: auto;
    background-color: #fff;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    z-index: 9999;
}

.contact-overlay.is-open .contact-overlay__panel {
    transform: translateY(0);
}

.contact-overlay__body {
    padding: 1rem;
    overflow-y: auto;
    flex: 1;
}

.contact-overlay__info {
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #f1f1f1;
}

.contact-overlay__phone {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: #222;
    text-decoration: none;
    margin-bottom: 0;
}

.contact-overlay__schedule {
    font-size: 0.75rem;
    color: #4FB023;
}

.contact-overlay__messengers {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #f1f1f1;
}

.contact-overlay__messenger {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.5rem;
    border-radius: 999rem;
    text-decoration: none;
    font-weight: 500;
    color: #fff;
    transition: opacity 0.2s;
    font-size: 0.875rem;
    justify-content: center;
}

.contact-overlay__messenger:hover {
    opacity: 0.9;
}

.contact-overlay__messenger--whatsapp {
    background-color: #25D366;
}

.contact-overlay__messenger img {
    width: 0.875rem;
    height: 0.875rem;
    filter: brightness(0) invert(1);
    /* Make icons white */
}

.contact-overlay__address {
    padding: 1rem 0;
    font-style: normal;
    color: #555;
    font-size: 0.875rem;
    border-bottom: 1px solid #f1f1f1;
}

.contact-overlay__subtitle {
    font-weight: 600;
    margin-bottom: 0;
    color: #222;
}

.contact-overlay__subtitle-address {
    font-size: 0.75rem;
    line-height: 1.3;
    font-style: normal;
    margin: 0;
}

.contact-overlay__email {
    display: block;
    font-size: 0.875rem;
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 500;
    padding-top: 1rem;
}

/* About Team Block
--------------------------------------------- */
.about-team {
    padding: 4rem 0 0;
    background-color: #ffffff;
}

.about-team__title {
    font-size: 2.4rem;
    font-weight: 600;
    margin-bottom: 2.4rem;
    margin-top: 0px;
    color: rgb(3, 3, 3);
    line-height: 1.3;
}

.about-team__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.about-team__item {
    flex: 0 1 calc(25% - 1.5rem);
    display: flex;
    flex-direction: column;
}

.about-team__image {
    width: 100%;
    aspect-ratio: 1 / 1;
    background-color: #f5f5f5;
    margin-bottom: 1.6rem;
    overflow: hidden;
}

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

.about-team__info {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.about-team__name {
    font-size: 1.3rem;
    font-weight: 500;
    color: rgb(3, 3, 3);
    line-height: 1.3;
    margin: 0;
}

.about-team__role {
    font-size: 0.875rem;
    color: #6b6f82;
    margin: 0;
    line-height: 1.4;
}

/* Responsive */
@media (max-width: 1024px) {
    .about-team__item {
        flex: 0 1 calc(33.333% - 1.34rem);
    }
}

@media (max-width: 768px) {
    .about-team {
        padding: 4rem 0 0;
    }

    .about-team__title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .about-team__grid {
        gap: 1rem;
        justify-content: space-between;
    }

    .about-team__item {
        flex: 0 1 calc(50% - 0.5rem);
    }
}

/* Promotions List
--------------------------------------------- */
.promotions-list {
    margin-bottom: 4rem;
    border: 1px solid #f1f1f1;
    border-radius: 0;
    overflow: hidden;
}

.promotions-list__header {
    display: flex;
    background-color: #F9F9F9;
    font-weight: 600;
    color: #030303;
    border-bottom: 1px solid #f1f1f1;
}

.promotions-list__row {
    display: flex;
    border-bottom: 1px solid #f1f1f1;
    background-color: #ffffff;
}

.promotions-list__row:last-child {
    border-bottom: none;
}

.promotions-list__col {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 1rem;
    line-height: 1.5;
    color: #333333;
}

.promotions-list__col--name {
    flex: 0 0 25%;
}

.promotions-list__col--cond {
    flex: 0 0 25%;
    border-left: 1px solid #f1f1f1;
}

.promotions-list__col--bonus {
    flex: 0 0 25%;
    border-left: 1px solid #f1f1f1;
}

.promotions-list__col--action {
    flex: 0 0 25%;
    border-left: 1px solid #f1f1f1;
    align-items: flex-start;
}

.promotions-list__label {
    display: none;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: #999;
}

.promotions-btn {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
    background-color: #25D366;
    color: #ffffff;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 0;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.2s ease;
    font-size: 0.9rem;
    width: 100%;
}

.promotions-btn:hover {
    background-color: #000;
    color: #ffffff;
}

.promotions-btn span {
    width: 20px;
    height: 20px;
}

.promotions-btn svg {
    fill: #fff;
}

/* Responsive */
@media (max-width: 960px) {
    .promotions-list__header {
        display: none;
    }

    .promotions-list__row {
        flex-direction: column;
        padding: 1.5rem;
        gap: 1rem;
    }

    .promotions-list__col {
        padding: 0;
        border: none;
        flex: auto;
        display: block;
    }

    .promotions-list__label {
        display: block;
    }

    .promotions-btn {
        width: auto;
    }
}

/* Mobile Menu
--------------------------------------------- */
.mobile-menu {
    position: fixed;
    top: 60px;
    /* Adjust based on header height */
    left: 0;
    width: 100%;
    height: calc(100vh - 60px);
    background-color: #ffffff;
    z-index: 999;
    padding: 1rem 0;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    overflow-y: auto;
}

.mobile-menu.is-open {
    transform: translateX(0);
}

.mobile-menu__search {
    margin-bottom: 1rem;
}

.mobile-menu__search .header-search {
    display: block;
    /* Ensure it's visible */
    width: 100%;
    max-width: none;
}

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

.mobile-menu__list li {
    border-bottom: 1px solid #f1f1f1;
}

.mobile-menu__list li:last-child {
    border-bottom: none;
}

.mobile-menu__list li a {
    display: block;
    padding: 1rem 0;
    font-size: 1rem;
    color: #030303;
    text-decoration: none;
    font-weight: 500;
}

.mobile-menu__list li.menu-item-has-children>a {
    position: relative;
}

.mobile-menu__list li.menu-item-has-children>a::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-right: 2px solid #ccc;
    border-bottom: 2px solid #ccc;
    transform: translateY(-50%) rotate(45deg);
    transition: transform 0.3s ease;
}

.sub-menu li {
    padding: 0;
}

/* Mobile menu submenu styles */
.mobile-menu__list .sub-menu {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0;
    padding-left: 1rem;
    background-color: #f7f7f7;
}

.mobile-menu__list li.menu-item-has-children.is-open>.sub-menu {
    display: block;
}

.mobile-menu__list li.menu-item-has-children.is-open>a::after {
    transform: translateY(-50%) rotate(-135deg);
}

.mobile-menu__list .sub-menu a {
    padding: 1rem 0;
    font-size: 0.9rem;
    color: #555;
}

/* Burger Animation */
.header-burger {
    position: relative;
}

.header-burger span {
    transition: all 0.3s ease;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

/* Default state positions */
.header-burger span:nth-child(1) {
    top: 34%;
}

.header-burger span:nth-child(2) {
    top: 50%;
    transform: translate(-50%, -50%);
}

.header-burger span:nth-child(3) {
    bottom: 34%;
}

/* Active state (X) */
.header-burger.is-active span:nth-child(1) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}

.header-burger.is-active span:nth-child(2) {
    opacity: 0;
}

.header-burger.is-active span:nth-child(3) {
    top: 50%;
    bottom: auto;
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* Adjust header height on mobile if needed */
@media (max-width: 960px) {
    .mobile-menu {
        top: 60px;
        /* Match header height */
        height: calc(100vh - 60px);
    }

    /* Ensure search input in mobile menu looks good */
    .mobile-menu .header-search__input {
        background-color: #f7f7f7;
        padding: 0.8rem 1rem 0.8rem 3rem;
    }

    .mobile-menu .header-search__icon {
        left: 1rem;
    }

    .mobile-menu__search {
        margin-top: 5rem;
    }

}

/* Home Team Slider
--------------------------------------------- */
.home-team {
    padding: 0 0 4rem;
    background-color: #ffffff;
}

.home-team__slider {
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    padding: 5px;
    /* Prevent cut-off shadows if any */
}

.home-team__slide {
    height: auto;
    display: flex;
    flex-direction: column;
}

/* Reuse about-team styles but ensure they work in slider */
.home-team__slide .about-team__image {
    margin-bottom: 1.2rem;
}

.home-team__slide .about-team__name {
    font-size: 1.2rem;
}

.home-team__slide .about-team__role {
    font-size: 0.875rem;
}

/* Navigation buttons */
.home-team__prev,
.home-team__next {
    position: static;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #111;
    color: #fff;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.home-team__prev:hover,
.home-team__next:hover {
    background-color: var(--color-accent);
    transform: scale(1.05);
}

.home-team__prev svg,
.home-team__next svg {
    width: 24px;
    height: 24px;
    stroke-width: 2;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .home-team {
        padding: 0 0 4rem;
    }
}

/* About Documents
--------------------------------------------- */
.about-docs {
    padding: 4rem 0 0;
    background-color: #ffffff;
}

.about-docs__title {
    font-size: 2.4rem;
    font-weight: 600;
    margin-bottom: 2.4rem;
    margin-top: 0;
    color: #030303;
    line-height: 1.3;
}

.about-docs__grid {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.about-docs__item {
    flex: 0 0 calc((100% - 4rem) / 5);
    max-width: calc((100% - 4rem) / 5);
    background-color: #fff;
    overflow: hidden;
    border: 1px solid #eee;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-docs__item img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Responsive */
@media (max-width: 768px) {
    .about-docs__title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .about-docs__grid {
        flex-direction: row;
        gap: 1rem;
        justify-content: space-between;
    }

    .about-docs__item {
        flex: 0 0 47%;
        max-width: 50%;
    }
}

/* Lightbox
--------------------------------------------- */
.js-zoom-image {
    cursor: pointer;
}

.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.lightbox-overlay__backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

.lightbox-overlay__content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    z-index: 10000;
}

.lightbox-overlay__img {
    display: block;
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-overlay__close {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
    padding: 0;
}

.lightbox-overlay__close:hover {
    transform: scale(1.1);
}

.lightbox-overlay__close svg {
    width: 32px;
    height: 32px;
    stroke: #fff;
    stroke-width: 2;
}

@media (max-width: 768px) {
    .lightbox-overlay__close {
        top: -40px;
        right: 0;
    }
}

.cutting-page,
.galvanizing-page,
.embedded-page,
.railway-page,
.auto-delivery-page {
    background-color: #fff;
}

.cutting-hero__btn {
    background-color: #000;
    border-radius: 0;
    color: #fff;
    margin-top: 0.5rem;
    padding: 1.05rem 2.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.cutting-hero__btn:hover {
    background-color: var(--color-accent);
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
    color: #fff;
}

.cutting-hero__btn:visited {
    color: #fff;
}

/* Cutting Info Section
--------------------------------------------- */
.cutting-info {
    padding: 0 0 4rem;
    background-color: #fff;
}

.cutting-info__content {
    max-width: 900px;
    margin: 0 auto;
}

.cutting-info__content h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #111;
    line-height: 1.3;
}

.cutting-info__content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: #111;
}

.cutting-info__content p {
    font-size: 1rem;
    line-height: 1.6;
    color: #111827;
    margin-bottom: 1.5rem;
}

.cutting-info__content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
    margin-left: 0;
}

.cutting-info__content ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.6;
    color: #111827;
    font-size: 1rem;
}

.cutting-info__content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 6px;
    height: 6px;
    background-color: var(--color-accent);
    border-radius: 50%;
}

.cutting-info__content ul li strong {
    color: #111;
    font-weight: 600;
}

.cutting-order {
    padding-bottom: 4rem;
}

/* File Upload Styling - Callback Popup Form */
.callback-popup__file-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 12px 16px;
    background-color: #f7f7f7;
    border: 1px solid #e5e5e5;
    border-radius: 0;
    font-size: 15px;
    font-weight: 500;
    color: #000;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.callback-popup__file-button:hover {
    background-color: #eee;
    border-color: #ccc;
    color: #000;
}

.callback-popup__file-button svg {
    flex-shrink: 0;
}

.callback-popup__file-preview {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 10px;
    padding: 10px 14px;
    background-color: #f5f5f5;
    border-radius: 0;
    border: 1px solid #e5e5e5;
}

.callback-popup__file-name {
    flex: 1;
    font-size: 14px;
    color: #000;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.callback-popup__file-delete {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e5e5e5;
    border: none;
    border-radius: 0;
    font-size: 18px;
    color: #000;
    cursor: pointer;
    transition: background-color 0.2s ease;
    padding: 0.5rem 0.5rem 0.65rem;
}

.callback-popup__file-delete:hover {
    background-color: #ccc;
}

@media (max-width: 768px) {
    .cutting-info__content h2 {
        font-size: 1.75rem;
    }

    .cutting-info__content h3 {
        font-size: 1.35rem;
    }
}

#trustedsite-tm-image {
    display: none;
}

/* ===== Страница 404 ===== */
.error-404-page {
    padding: 4rem 0 6rem;
    background-color: #ffffff;
    min-height: 60vh;
}

.error-404-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    padding: 2rem 1rem;
}

.error-404-number {
    font-size: 8rem;
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.error-404-title {
    font-size: 2rem;
    font-weight: 600;
    color: #0b0f13;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.error-404-text {
    font-size: 1.125rem;
    color: #666666;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.error-404-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.error-404-btn--secondary:visited {
    color: #000 !important;
}

.error-404-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.error-404-btn--primary {
    background-color: var(--color-accent);
    color: #ffffff;
}

.error-404-btn--primary:hover {
    background-color: #000;
    color: #ffffff;
}

.error-404-btn--secondary {
    background-color: #f7f7f7;
    color: #0b0f13;
    border: 1px solid #e5e5e5;
}

.error-404-btn--secondary:hover {
    background-color: #eeeeee;
    color: #0b0f13;
}

.error-404-categories {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #f1f1f1;
}

.error-404-categories-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #0b0f13;
    margin-bottom: 1.5rem;
}

.error-404-categories-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.error-404-categories-list a:visited {
    color: #000;
}

.error-404-category {
    display: inline-block;
    padding: 0.6rem 1.25rem;
    background-color: #f7f7f7;
    color: #333333;
    text-decoration: none;
    font-size: 0.9375rem;
    transition: all 0.2s ease;
    border: 1px solid #e5e5e5;
}

.error-404-category:hover {
    background-color: #eeeeee;
    color: #000000;
    border-color: #d0d0d0;
}

.error-404-actions .error-404-btn .error-404-btn--primary:visited {
    color: #fff;
}

/* Thank You Page (Styled like 404) */
.thank-you-page {
    padding: 4rem 0 6rem;
    background-color: #ffffff;
    min-height: 60vh;
}

.thank-you-page__content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    padding: 2rem 1rem;
}

.thank-you-page__icon {
    margin-bottom: 2rem;
    animation: scaleIn 0.5s ease-out;
    color: var(--color-accent);
}

.thank-you-page__icon svg {
    /* Make it large like the 404 number */
    width: 8rem;
    height: 8rem;
}

.thank-you-page__title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.thank-you-page__text {
    font-size: 1.125rem;
    color: #666666;
    line-height: 1.6;
    margin-bottom: 3rem;
}

.thank-you-page__text p {
    margin-bottom: 0.5rem;
}

.thank-you-page__actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.thank-you-page__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    background-color: var(--color-accent);
    color: #fff;
}

.thank-you-page__btn:hover {
    background-color: #000;
    color: #fff;
    transform: translateY(-2px);
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .thank-you-page {
        padding: 3rem 0 4rem;
    }

    .thank-you-page__title {
        font-size: 1.5rem;
    }

    .thank-you-page__text {
        font-size: 1rem;
    }

    .thank-you-page__btn {
        width: 100%;
    }

    .thank-you-page__icon svg {
        width: 6rem;
        height: 6rem;
    }
}

/* Адаптивность */
@media (max-width: 768px) {
    .error-404-page {
        padding: 3rem 0 4rem;
    }

    .error-404-number {
        font-size: 6rem;
        margin-bottom: 1rem;
    }

    .error-404-title {
        font-size: 1.5rem;
    }

    .error-404-text {
        font-size: 1rem;
    }

    .error-404-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .error-404-btn {
        width: 100%;
    }
}

.icon-promo-wrapper {
    display: flex;
    gap: 0.5rem;
}

.icon-promo-wrapper img {
    width: 25px;
}

/* Privacy Policy Page */
.privacy-policy-page {
    padding: 3rem 0 4rem;
    background-color: #ffffff;
}

.privacy-policy-page__container {
    max-width: 980px;
}

.privacy-policy-page__title {
    margin: 0 0 0.75rem;
    color: #0b0f13;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    line-height: 1.2;
}

.privacy-policy-page__updated {
    margin: 0 0 1.75rem;
    color: #7a7f91;
    font-size: 0.875rem;
}

.privacy-policy-page__content {
    font-size: 0.875rem;
    color: #2c2f36;
    line-height: 1.6;
}

.privacy-policy-page__content h2 {
    margin: 2rem 0 0.85rem;
    font-size: 1.05rem;
    color: #0b0f13;
    line-height: 1.35;
}

.privacy-policy-page__content p {
    margin: 0 0 1rem;
}

.privacy-policy-page__content ul {
    margin: 0 0 1rem 1.25rem;
    padding: 0;
}

.privacy-policy-page__content li {
    margin: 0 0 0.45rem;
}

.privacy-policy-page__operator {
    margin: 1rem 0;
    padding: 1rem 1.2rem;
    background-color: #f7f9ff;
    border: 1px solid #e4e9f8;
}

.privacy-policy-page__operator dt {
    margin: 0.75rem 0 0;
    font-weight: 600;
    font-size: 0.875rem;
}

.privacy-policy-page__operator dt:first-child {
    margin-top: 0;
}

.privacy-policy-page__operator dd {
    margin: 0.2rem 0 0.4rem;
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .privacy-policy-page {
        padding: 2.2rem 0 3rem;
    }

    .privacy-policy-page__content h2 {
        font-size: 1rem;
    }

    .privacy-policy-page__operator {
        padding: 0.9rem 1rem;
    }
}
