@font-face {
    font-family: "Montserrat";
    src: url("../fonts/montserrat-600.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Montserrat";
    src: url("../fonts/montserrat-700.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Open Sans";
    src: url("../fonts/opensans-400.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Open Sans";
    src: url("../fonts/opensans-600.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: "Open Sans", Arial, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
button,
.btn,
.site-nav {
    font-family: "Montserrat", Arial, sans-serif;
}

/* ==========================================================================
   DESIGN SYSTEM
   ========================================================================== */
:root {
    --color-black: #0b0b0b;
    --color-dark: #171717;
    --color-red: #e31b23;
    --color-red-dark: #bd1118;
    --color-white: #ffffff;
    --color-bg: #f7f5f1;
    --color-border: #e5e1da;
    --color-text: #1b1b1b;
    --color-muted: #6c6c6c;
    --container-width: 1240px;
    --container-padding: 24px;
    --radius-small: 8px;
    --radius-medium: 14px;
    --radius-large: 22px;
}

/* ==========================================================================
   GLOBAL HEADINGS
   Все основные заголовки управляются отсюда
   ========================================================================== */
h1 {
    font-size: 27px;
    line-height: 1.15;
}

h2 {
    font-size: 25px;
    line-height: 1.2;
}

h3 {
    font-size: 21px;
    line-height: 1.25;
}

h4 {
    font-size: 18px;
    line-height: 1.3;
}

@media (max-width: 1024px) {
    h1 {
        font-size: 27px;
    }

    h2 {
        font-size: 24px;
    }

    h3 {
        font-size: 20px;
    }

    h4 {
        font-size: 18px;
    }
}

/* ==========================================================================
   LAYOUT
   ========================================================================== */
.container {
    width: min(calc(100% - (var(--container-padding) * 2)),
            var(--container-width));
    margin-inline: auto;
}

/* ==========================================================================
   HEADER TOP
   ========================================================================== */
.header-top {
    background: var(--color-black);
    color: var(--color-white);
    font-size: 14px;
}

.header-top__inner {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.header-top__text {
    opacity: 0.8;
}

.header-top__links a {
    font-weight: 700;
    transition: opacity 0.2s ease;
    font-size: 16px;
}

.header-top__links a:hover {
    opacity: 0.75;
}

/* ==========================================================================
   HEADER MAIN
   ========================================================================== */
.site-header {
    position: relative;
    z-index: 100;
}

.header-main {
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
}

.header-main__inner {
    min-height: 94px;
    display: flex;
    align-items: center;
    gap: 42px;
}

/* ==========================================================
   BRAND / LOGO
========================================================== */
.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
    color: var(--color-dark);
    text-decoration: none;
}

.site-brand__logo {
    display: block;
    width: 100px;
    height: 95px;
    object-fit: contain;
    flex-shrink: 0;
}

.site-brand__text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    gap: 4px;
}

.site-brand__title {
    color: var(--color-dark);
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 23px;
    font-weight: 700;
    line-height: 1.05;
    white-space: nowrap;
}

.site-brand__subtitle {
    color: #292929;
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    letter-spacing: 0.1rem;
}

.header-main__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

@media (max-width: 1024px) {
    .site-brand {
        gap: 10px;
    }

    .site-brand__logo {
        width: 80px;
        height: 70px;
    }

    .site-brand__title {
        font-size: 18px;
    }

    .site-brand__subtitle {
        font-size: 11px;
    }
}

@media (max-width: 700px) {
    .site-brand {
        gap: 7px;
    }

    .site-brand__logo {
        width: 60px;
        height: 52px;
    }

    .site-brand__title {
        font-size: 15px;
    }

    .site-brand__subtitle {
        font-size: 9px;
    }

    .header-cart {
        width: 42px;
        height: 42px;
        min-height: 0;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        font-size: 0;
        gap: 0;
        background: #ffffff;
    }

    .header-cart__count {
        position: absolute;
        top: -5px;
        right: -5px;
        width: 18px;
        height: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        border-radius: 50%;
        background: #fff;
        color: var(--color-red);
        font-size: 10px;
        font-weight: 700;
        line-height: 1;
    }
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.site-nav {
    flex: 1 1 auto;
}

.site-nav__list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-nav__list a {
    position: relative;
    display: block;
    padding: 34px 0;
    color: var(--color-dark);
    font-size: 15px;
    font-weight: 700;
    transition: color 0.2s ease;
}

.site-nav__list a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 27px;
    height: 2px;
    background: var(--color-red);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}

.site-nav__list a:hover {
    color: var(--color-red);
}

.site-nav__list a:hover::after {
    transform: scaleX(1);
}

.site-nav__list .current-menu-item>a,
.site-nav__list .current_page_item>a {
    color: var(--color-red);
}

/* ==========================================================================
   CART
   ========================================================================== */
.header-actions {
    flex: 0 0 auto;
}

.header-cart {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 45px;
    padding: 0 15px;
    color: var(--color-white);
    background: var(--color-red);
    border-radius: var(--radius-small);
    font-size: 14px;
    font-weight: 700;
    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.header-cart:hover {
    background: var(--color-red-dark);
    transform: translateY(-1px);
}

.header-cart__icon {
    font-size: 18px;
}

.header-cart__count {
    display: grid;
    place-items: center;
    min-width: 22px;
    height: 22px;
    padding: 0 5px;
    color: var(--color-red);
    background: var(--color-white);
    border-radius: 50%;
    font-size: 12px;
    line-height: 1;
}

.header-cart__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
}

.header-cart__icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

/* ==========================================================================
   MOBILE — TEMPORARY
   ========================================================================== */

@media (max-width: 1025px) {
    .site-nav__list a {
        font-size: 12px;
    }

    .header-cart {
        font-size: 12px;
        min-height: 38px;
        padding: 0 10px;
    }
}

@media (max-width: 900px) {
    :root {
        --container-padding: 18px;
    }

    .header-top__text {
        display: none;
    }

    .header-top__inner {
        justify-content: center;
    }

    .header-main__inner {
        min-height: 80px;
        justify-content: space-between;
    }

    .site-logo img {
        width: 78px;
        height: 78px;
    }

    .site-nav {
        display: none;
    }

    .header-cart__text {
        display: none;
    }

    .woocommerce-cart .cart-page {
        width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
    }

    .header-main__inner {
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: center;
        column-gap: 18px;
    }

    .site-brand {
        justify-self: start;
    }

    .header-actions {
        justify-self: end;
        margin-left: auto;
    }

    .menu-toggle {
        justify-self: end;
    }
}

@media (max-width: 700px) {
    .header-cart {
        position: relative;
        width: 38px;
        height: 42px;
        min-height: 0;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        background: transparent;
        border: 0;
        border-radius: 0;
        color: var(--color-dark);
        gap: 0;
    }

    .header-cart:hover {
        background: transparent;
        color: var(--color-red);
        transform: none;
    }

    .header-cart__text {
        display: none;
    }

    .header-cart__icon {
        width: 27px;
        height: 27px;
        flex: 0 0 27px;
    }

    .header-cart__icon svg {
        width: 100%;
        height: 100%;
    }

    .header-cart__count {
        position: absolute;
        top: 0;
        right: -6px;
        width: auto;
        height: auto;
        min-width: 0;
        padding: 0;
        background: transparent;
        border-radius: 0;
        color: var(--color-red);
        font-size: 12px;
        font-weight: 700;
        line-height: 1;
    }

    .header-main__inner {
        min-height: 55px;
    }
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 28px;
    border: 1px solid var(--color-red);
    border-radius: var(--radius-small);
    font-size: 16px;
    font-weight: 700;
    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
    color: var(--color-dark);
}

.hero .button:hover {
    color: #ffffff;
}

.button--primary {
    color: var(--color-white);
    background: var(--color-red);
}

.button--primary:hover {
    background: var(--color-red-dark);
}

.button--outline {
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.35);
}

.button--outline:hover {
    border-color: var(--color-white);
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
    position: relative;
    overflow: hidden;
    color: var(--color-white);
    background:
        radial-gradient(circle at 78% 45%,
            #292929 0,
            #151515 34%,
            #0b0b0b 68%);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(115deg,
            rgba(227, 27, 35, 0.08),
            transparent 35%);
}

.hero__inner {
    position: relative;
    z-index: 1;
    min-height: 620px;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
    align-items: center;
    gap: 70px;
    padding-top: 70px;
    padding-bottom: 70px;
}

/* CONTENT */
.hero__content {
    max-width: 680px;
}

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: #d8d8d8;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero__eyebrow::before {
    content: "";
    width: 34px;
    height: 3px;
    background: var(--color-red);
}

.hero__title {
    max-width: 700px;
    margin: 0;
    color: var(--color-white);
    letter-spacing: -0.045em;
}

.hero__content h1 {
    font-size: clamp(26px, 3.45vw, 51px);
}

.hero__title span {
    color: var(--color-red);
}

.hero__text {
    max-width: 590px;
    margin: 28px 0 0;
    color: #c9c9c9;
    font-size: 19px;
    line-height: 1.6;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

/* FEATURES */
.hero__features {
    display: flex;
    align-items: stretch;
    margin-top: 48px;
}

.hero-feature {
    min-width: 130px;
    padding: 0 28px;
    border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-feature:first-child {
    padding-left: 0;
    border-left: 0;
}

.hero-feature strong,
.hero-feature span {
    display: block;
}

.hero-feature strong {
    margin-bottom: 4px;
    color: var(--color-white);
    font-size: 22px;
    line-height: 1.1;
}

.hero-feature span {
    color: #999999;
    font-size: 13px;
}

/* VISUAL */
.hero__visual {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 480px;
}

.hero__visual-circle {
    position: absolute;
    width: min(430px, 90%);
    aspect-ratio: 1;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    box-shadow:
        0 0 0 50px rgba(255, 255, 255, 0.015),
        0 0 0 100px rgba(255, 255, 255, 0.01);
}

.hero__logo {
    position: relative;
    z-index: 1;
    width: min(430px, 90%);
    height: auto;
    border-radius: 50%;
    filter:
        drop-shadow(0 30px 50px rgba(0, 0, 0, 0.45));
}

/* ==========================================================================
   HERO — TABLET / MOBILE
   ========================================================================== */
@media (max-width: 900px) {
    .hero__inner {
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 30px;
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .hero__content {
        max-width: 700px;
    }

    .hero__visual {
        min-height: 350px;
    }

    .hero__logo {
        width: min(350px, 78vw);
    }

    .hero__visual-circle {
        width: min(350px, 78vw);
    }
}

@media (max-width: 600px) {
    .hero__visual {
        display: none;
    }

    .hero__inner {
        gap: 0;
        padding-top: 46px;
        padding-bottom: 46px;
    }

    .hero__text {
        margin-top: 22px;
        font-size: 17px;
    }

    .hero__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .hero__features {
        justify-content: space-between;
        margin-bottom: 0;
        margin-top: 38px;
    }

    .hero-feature {
        min-width: 0;
        flex: 1;
        padding: 0 12px;
    }

    .hero-feature strong {
        font-size: 18px;
    }

    .hero-feature span {
        font-size: 11px;
    }

    .hero__visual {
        min-height: 300px;
    }
}

/* ==========================================================================
   MOBILE MENU
   ========================================================================== */
.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    margin: 5px auto;
    background: var(--color-dark);
    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}

.mobile-menu {
    display: none;
    background: var(--color-white);
    border-top: 1px solid var(--color-border);
}

.mobile-menu__list {
    margin: 0;
    padding: 10px 0 20px;
    list-style: none;
}

.mobile-menu__list a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-dark);
    font-size: 16px;
    font-weight: 700;
}

.mobile-menu.is-open {
    display: block;
}

.menu-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 900px) {
    .menu-toggle {
        display: block;
        order: 2;
    }

    .header-cart {
        order: 3;
    }

    .header-actions {
        display: flex;
        align-items: center;
        gap: 5px;
    }
}

/* ==========================================================================
   SECTION HEADING
   ========================================================================== */
.section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
    align-items: end;
    gap: 60px;
    margin-bottom: 42px;
}

.section-heading__label {
    display: block;
    margin-bottom: 10px;
    color: var(--color-red);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
}

.section-heading h2 {
    margin: 0;
    color: var(--color-dark);
    letter-spacing: -0.035em;
}

.section-heading p {
    margin: 0;
    color: var(--color-muted);
    font-size: 16px;
    line-height: 1.7;
}

/* ==========================================================================
   HOME CATEGORIES
   ========================================================================== */
.home-categories {
    padding: 90px 0;
    background: var(--color-bg);
}

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

.category-card {
    position: relative;
    overflow: hidden;
    min-height: 360px;
    display: flex;
    align-items: flex-end;
    padding: 42px;
    border-radius: var(--radius-large);
    color: var(--color-white);
    isolation: isolate;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.14);
}

.category-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
}

.category-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg,
            rgba(0, 0, 0, 0.08) 0%,
            rgba(0, 0, 0, 0.72) 100%);
}

/* SETS */
.category-card--sets::before {
    background:
        radial-gradient(circle at 75% 25%,
            rgba(227, 27, 35, 0.35),
            transparent 38%),
        linear-gradient(135deg,
            #282828,
            #0e0e0e);
}

/* WOOD */
.category-card--wood::before {
    background:
        radial-gradient(circle at 75% 30%,
            rgba(160, 104, 55, 0.45),
            transparent 40%),
        linear-gradient(135deg,
            #47301f,
            #18110d);
}

/* CONTENT */
.category-card__content {
    max-width: 460px;
}

.category-card__number {
    display: block;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 35px;
    font-weight: 600;
    letter-spacing: 0.1em;
}

.category-card h3 {
    font-size: 25px;
    line-height: 1.15;
    margin: 0 0 16px;
    color: var(--color-white);
    letter-spacing: -0.03em;
}

.category-card p {
    max-width: 410px;
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 16px;
    line-height: 1.55;
}

.category-card__link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 38px;
    color: var(--color-white);
    font-size: 17px;
    font-weight: 600;
}

.category-card__link:hover {
    content: "→";
    color: var(--color-red);
    font-size: 17px;
    transition: transform .2s ease;
}

.category-card__link span {
    color: var(--color-red);
    font-size: 20px;
    transition: transform 0.2s ease;
}

.category-card:hover .category-card__link span {
    transform: translateX(5px);
}

/* ==========================================================================
   HOME CATEGORIES — MOBILE
   ========================================================================== */
@media (max-width: 900px) {
    .home-categories {
        padding: 65px 0;
    }

    .section-heading {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-bottom: 32px;
    }

    .home-categories__grid {
        grid-template-columns: 1fr;
    }

    .category-card {
        min-height: 310px;
        padding: 32px;
    }

    .category-card__number {
        margin-bottom: 30px;
    }
}

@media (max-width: 600px) {
    .home-categories {
        padding: 52px 0;
    }

    .section-heading p {
        font-size: 15px;
    }

    .category-card {
        min-height: 285px;
        padding: 27px;
        border-radius: 18px;
    }

    .category-card__number {
        margin-bottom: 25px;
        font-size: 27px;
    }
}

/* ==========================================================================
   SINGLE PRODUCT
   ========================================================================== */
.product-page {
    padding: 42px 0 90px;
    background: var(--color-bg);
}

.product-single .woocommerce-breadcrumb {
    margin: 0 0 32px;
    color: var(--color-muted);
    font-size: 13px;
}

.product-single .woocommerce-breadcrumb a {
    color: var(--color-muted);
}

.product-single .woocommerce-breadcrumb a:hover {
    color: var(--color-red);
}

/* GRID */
.product-single__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(400px, 0.95fr);
    gap: 70px;
    align-items: start;
}

.product-summary-custom h1 {
    font-size: 23px;
    font-weight: 600;
    line-height: 1.30;
}

/* ==========================================================================
   SINGLE PRODUCT — LOW HEIGHT
   Для zoom 125–150% и невысоких экранов
   ========================================================================== */
@media (min-width: 901px) and (max-height: 760px) {
    .single-product-custom {
        padding-top: 24px;
        padding-bottom: 30px;
    }

    .product-gallery-custom {
        max-width: 390px;
    }

    .product-summary-custom__price {
        margin-top: 20px;
        font-size: 26px;
    }

    .product-summary-custom__description {
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .product-gallery-nav {
        margin-top: 10px;
    }

    .product-gallery-thumb {
        flex-basis: 58px;
        width: 58px;
        height: 58px;
    }

    .product-gallery-arrow {
        height: 48px;
    }
}

@media (min-width: 901px) and (max-height: 650px) {
    .single-product-custom {
        padding-top: 16px;
        padding-bottom: 20px;
    }

    .product-gallery-custom {
        max-width: 320px;
    }

    .product-summary-custom__price {
        margin-top: 16px;
        font-size: 23px;
    }

    .product-summary-custom__description {
        margin-top: 16px;
        margin-bottom: 16px;
        line-height: 1.5;
    }

    .product-gallery-thumb {
        flex-basis: 52px;
        width: 52px;
        height: 52px;
    }

    .product-gallery-custom__thumbs {
        gap: 7px;
    }
}

/* ==========================================================================
   PRODUCT GALLERY
   ========================================================================== */
.product-gallery-custom {
    min-width: 0;
    width: 100%;
    max-width: 520px;
    margin-inline: auto;
}

.product-gallery-custom__main {
    overflow: hidden;
    display: grid;
    place-items: center;
    aspect-ratio: 1 / 1;
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-large);
}

.product-gallery-custom__main-link {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
}

.product-gallery-custom__main-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-gallery-nav {
    position: relative;
    margin-top: 14px;
}

.product-gallery-custom__thumbs {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    width: 100%;
    min-width: 0;
    padding: 0 46px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.product-gallery-custom__thumbs::-webkit-scrollbar {
    display: none;
}

.product-gallery-thumb {
    overflow: hidden;
    flex: 0 0 68px;
    width: 68px;
    height: 68px;
    padding: 0;
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    cursor: pointer;
    transition:
        border-color 0.2s ease,
        transform 0.2s ease;
}

.product-gallery-thumb.is-active {
    border: 2px solid var(--color-red);
}

.product-gallery-arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 36px;
    height: 52px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    color: var(--color-dark);
    background: rgba(255, 255, 255, 0.95);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    transition:
        color 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

.product-gallery-arrow--prev {
    left: 4px;
}

.product-gallery-arrow--next {
    right: 4px;
}

.product-gallery-arrow:hover {
    color: #fff;
    background: var(--color-red);
    border-color: var(--color-red);
}

.product-gallery-arrow:disabled {
    opacity: 0.25;
    cursor: default;
}

.product-gallery-arrow:disabled:hover {
    color: var(--color-dark);
    background: rgba(255, 255, 255, 0.95);
    border-color: var(--color-border);
}

/* ==========================================================================
   PRODUCT SUMMARY
   ========================================================================== */
.product-summary-custom {
    position: sticky;
    top: 24px;
    padding: 8px 0;
}

.admin-bar .product-summary-custom {
    top: 56px;
}

.product-summary-custom__category {
    margin-bottom: 14px;
    color: var(--color-red);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.product-summary-custom__title {
    margin: 0;
    color: var(--color-dark);
    letter-spacing: -0.04em;
}

.product-summary-custom__price {
    margin-top: 26px;
    color: var(--color-dark);
    font-size: 28px;
    font-weight: 600;
    font-family: "Montserrat";
}

.product-summary-custom__price del {
    margin-right: 10px;
    color: var(--color-muted);
    font-size: 20px;
    font-weight: 500;
}

.product-summary-custom__price ins {
    color: var(--color-red);
    text-decoration: none;
}

.product-summary-custom__description {
    margin-top: 24px;
    color: var(--color-dark);
    font-size: 16px;
    line-height: 1.7;
}

.product-summary-custom__description p {
    margin: 0;
}

/* ==========================================================================
   ADD TO CART
   ========================================================================== */
.product-summary-custom__purchase {
    margin-top: 30px;
}

.product-summary-custom__purchase form.cart {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0;
}

.product-summary-custom__purchase .quantity {
    display: inline-flex;
    align-items: stretch;
    height: 45px;
    overflow: hidden;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-small);
    padding-bottom: 4px;
}

.product-summary-custom__purchase .qty {
    width: 54px;
    height: 45px;
    padding: 0 5px;
    border: 0;
    border-left: 1px solid var(--color-border);
    border-right: 1px solid var(--color-border);
    border-radius: 0;
    outline: 0;
    background: var(--color-white);
    text-align: center;
    appearance: textfield;
    -moz-appearance: textfield;
}

.product-summary-custom__purchase .qty::-webkit-inner-spin-button,
.product-summary-custom__purchase .qty::-webkit-outer-spin-button {
    margin: 0;
    appearance: none;
    -webkit-appearance: none;
}

.quantity-button {
    width: 42px;
    padding: 0;
    border: 0;
    color: var(--color-dark);
    background: var(--color-white);
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    transition:
        color 0.2s ease,
        background 0.2s ease;
}

.quantity-button:hover {
    color: var(--color-red);
    background: #f4f1ec;
}

.product-summary-custom__purchase .single_add_to_cart_button,
.product-summary-custom__purchase button.single_add_to_cart_button,
.woocommerce div.product .product-summary-custom__purchase .button {
    min-height: 45px;
    padding: 0 32px;
    border: 0 !important;
    border-radius: var(--radius-small);
    color: var(--color-white) !important;
    background: var(--color-red) !important;
    font-weight: 600;
    cursor: pointer;
    box-shadow: none !important;
    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.product-summary-custom__purchase .single_add_to_cart_button:hover,
.product-summary-custom__purchase button.single_add_to_cart_button:hover,
.woocommerce div.product .product-summary-custom__purchase .button:hover {
    color: var(--color-white) !important;
    background: var(--color-red-dark) !important;
    transform: translateY(-1px);
}

/* ==========================================================================
   PRODUCT BENEFITS
   ========================================================================== */
.product-benefits {
    display: grid;
    gap: 12px;
    margin-top: 34px;
    padding-top: 26px;
    border-top: 1px solid var(--color-border);
}

.product-benefit {
    display: flex;
    align-items: center;
    gap: 11px;
    color: var(--color-dark);
    font-size: 14px;
    font-weight: 600;
}

.product-benefit__icon {
    display: grid;
    place-items: center;
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    color: var(--color-white);
    background: var(--color-red);
    border-radius: 50%;
    font-size: 13px;
    font-weight: 900;
}

/* ==========================================================================
   PRODUCT DESCRIPTION
   ========================================================================== */
.product-description-custom {
    margin-top: 90px;
    padding-top: 60px;
    border-top: 1px solid var(--color-border);
}

.product-description-custom__heading span {
    display: block;
    margin-bottom: 9px;
    color: var(--color-red);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
}

.product-description-custom__heading h2 {
    margin: 0;
    color: var(--color-dark);
}

.product-description-custom__content {
    max-width: 100%;
    margin-top: 30px;
    color: var(--color-text);
    font-size: 17px;
    line-height: 1.75;
}

/* ==========================================================================
   SINGLE PRODUCT — TABLET
   ========================================================================== */
@media (max-width: 900px) {
    .product-page {
        padding-top: 28px;
    }

    .product-single__grid {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .product-summary-custom {
        position: static;
    }

    .product-description-custom {
        margin-top: 65px;
    }

    .product-summary-custom h1 {
        font-size: 21px;
    }
}

/* ==========================================================================
   SINGLE PRODUCT — MOBILE
   ========================================================================== */
@media (max-width: 600px) {
    .product-page {
        padding-top: 20px;
        padding-bottom: 60px;
    }

    .product-summary-custom h1 {
        font-size: 20px;
    }

    .product-single .woocommerce-breadcrumb {
        margin-bottom: 20px;
    }

    .product-gallery-custom__main {
        border-radius: 16px;
    }

    .product-gallery-thumb {
        width: 62px;
        height: 62px;
    }

    .product-summary-custom__price {
        margin-top: 20px;
        font-size: 28px;
    }

    .product-summary-custom__description {
        margin-top: 18px;
        font-size: 15px;
    }

    .product-summary-custom__purchase form.cart {
        display: block;
    }

    /* Обычный товар */
    .product-summary-custom__purchase form.cart:not(.variations_form) {
        display: flex;
        flex-wrap: nowrap;
        align-items: stretch;
        gap: 10px;
    }

    /* Вариативный товар */
    .product-summary-custom__purchase form.variations_form .single_variation_wrap {
        width: 100%;
    }

    .product-summary-custom__purchase .woocommerce-variation-add-to-cart {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: stretch;
        gap: 10px;
    }

    .product-summary-custom__purchase .qty {
        width: 54px;
    }

    .product-summary-custom__purchase .single_add_to_cart_button {
        flex: 1 1 auto;
        width: auto !important;
        min-width: 0;
        padding: 0 16px;
        white-space: nowrap;
        height: 45px;
        min-height: 45px;
        padding-top: 0;
        padding-bottom: 0;
        display: inline-flex;
    }
    
    .product-description-custom {
        margin-top: 50px;
        padding-top: 42px;
    }
}

/* ==========================================================================
   IMAGE LIGHTBOX
   ========================================================================== */
.image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: rgba(0, 0, 0, 0.92);
}

.image-lightbox.is-open {
    display: flex;
}

.image-lightbox__image {
    display: block;
    max-width: min(1200px, 92vw);
    max-height: 88vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.45);
}

.image-lightbox__close {
    position: absolute;
    top: 24px;
    right: 30px;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.image-lightbox__close:hover {
    background: var(--color-red);
    transform: rotate(90deg);
}

body.lightbox-open {
    overflow: hidden;
}

@media (max-width: 600px) {
    .image-lightbox {
        padding: 18px;
    }

    .image-lightbox__close {
        top: 14px;
        right: 14px;
        width: 44px;
        height: 44px;
    }

    .image-lightbox__image {
        max-width: 96vw;
        max-height: 82vh;
    }

    .image-lightbox__content {
        max-width: 100%;
    }

    .image-lightbox__content .image-lightbox__image {
        max-width: 94vw;
        max-height: calc(82vh - 80px);
    }

    .image-lightbox__arrow {
        width: 38px;
        height: 54px;
        font-size: 32px;
        background: rgba(0, 0, 0, 0.45);
    }

    .image-lightbox__arrow--prev {
        left: 6px;
    }

    .image-lightbox__arrow--next {
        right: 6px;
    }

    .image-lightbox__thumbs {
        max-width: 90vw;
        margin-top: 10px;
    }

    .image-lightbox__thumb {
        flex-basis: 52px;
        width: 52px;
        height: 52px;
    }
}

.image-lightbox__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: calc(100vw - 180px);
    max-height: 94vh;
}

.image-lightbox__content .image-lightbox__image {
    max-height: calc(88vh - 100px);
}

/* ARROWS */
.image-lightbox__arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    display: grid;
    place-items: center;
    width: 54px;
    height: 70px;
    padding: 0;
    border: 0;
    border-radius: 12px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
    font-size: 42px;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.image-lightbox__arrow--prev {
    left: 26px;
}

.image-lightbox__arrow--next {
    right: 26px;
}

.image-lightbox__arrow:hover {
    background: var(--color-red);
}

/* THUMBNAILS */
.image-lightbox__thumbs {
    display: flex;
    gap: 9px;
    max-width: min(760px, 80vw);
    margin-top: 14px;
    padding: 4px;
    overflow-x: auto;
    scrollbar-width: none;
}

.image-lightbox__thumbs::-webkit-scrollbar {
    display: none;
}

.image-lightbox__thumb {
    flex: 0 0 62px;
    width: 62px;
    height: 62px;
    overflow: hidden;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 9px;
    background: #ffffff;
    cursor: pointer;
    opacity: 0.7;
    transition:
        opacity 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.image-lightbox__thumb:hover {
    opacity: 1;
}

.image-lightbox__thumb.is-active {
    opacity: 1;
    border-color: var(--color-red);
    transform: translateY(-2px);
}

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

/* ==========================================================================
   SHOP / CATALOG
   ========================================================================== */
.shop-page {
    min-height: 650px;
    padding: 70px 0 100px;
    background: var(--color-bg);
}

/* HEADER */
.shop-header {
    margin-bottom: 52px;
}

.shop-header__content {
    max-width: 720px;
}

.shop-header__label {
    display: block;
    margin-bottom: 10px;
    color: var(--color-red);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.1em;
}

.shop-header h1 {
    margin: 0;
    color: var(--color-dark);
    letter-spacing: -0.04em;
}

.shop-header p {
    max-width: 560px;
    margin: 20px 0 0;
    color: var(--color-muted);
    font-size: 17px;
    line-height: 1.6;
}

/* TOOLBAR */
.shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 28px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--color-border);
}

.shop-toolbar__result {
    color: var(--color-muted);
    font-size: 14px;
}

.shop-toolbar .woocommerce-result-count {
    float: none;
    margin: 0;
}

.shop-toolbar .woocommerce-ordering {
    float: none;
    margin: 0;
}

.shop-toolbar select {
    min-height: 42px;
    padding: 0 38px 0 13px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-small);
    background: var(--color-white);
    color: var(--color-dark);
}

/* GRID */
.shop-page ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin: 0 !important;
    padding: 0;
    list-style: none;
}

.shop-page ul.products::before,
.shop-page ul.products::after {
    display: none !important;
}

.shop-page ul.products li.product {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
}

/* CARD */
.shop-product-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-medium);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.shop-product-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.08);
}

.shop-product-card__image {
    overflow: hidden;
    display: block;
    aspect-ratio: 1 / 1;
    background: #ffffff;
}

.shop-product-card__image img {
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.shop-product-card:hover .shop-product-card__image img {
    transform: scale(1.025);
}

/* CONTENT */
.shop-product-card__content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 24px;
}

.shop-product-card__category {
    margin-bottom: 9px;
    color: var(--color-red);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.shop-product-card__title {
    margin: 0;
}

.shop-product-card__content h2 {
    font-size: 17px;
}

.shop-product-card__title a {
    color: var(--color-dark);
}

.shop-product-card__title a:hover {
    color: var(--color-red);
}

/* BOTTOM */
.shop-product-card__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: auto;
    padding-top: 25px;
}

.shop-product-card__price {
    color: var(--color-dark);
    font-size: 20px;
    font-weight: 600;
}

.shop-product-card__price del {
    color: var(--color-muted);
    font-size: 14px;
}

.shop-product-card__price ins {
    color: var(--color-red);
    text-decoration: none;
}

.shop-product-card__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 18px;
    color: var(--color-white) !important;
    background: var(--color-red);
    border-radius: var(--radius-small);
    font-size: 13px;
    font-weight: 600;
    transition: background 0.2s ease;
}

.shop-product-card__button:hover {
    background: var(--color-red-dark);
}

/* PAGINATION */
.shop-page .woocommerce-pagination {
    margin-top: 55px;
}

/* ==========================================================================
   SHOP — TABLET
   ========================================================================== */
@media (max-width: 900px) {
    .shop-page {
        padding: 55px 0 80px;
    }

    .shop-page ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ==========================================================================
   SHOP — MOBILE
   ========================================================================== */
@media (max-width: 600px) {
    .shop-page {
        padding: 42px 0 65px;
    }

    .shop-product-card__content h2 {
        font-size: 17px;
    }

    .shop-header {
        margin-bottom: 10px;
    }

    .shop-header p {
        font-size: 15px;
    }

    .shop-toolbar {
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
    }

    .shop-toolbar select {
        width: 100%;
    }

    .shop-page ul.products {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .shop-product-card__content {
        padding: 21px;
    }
}

/* ==========================================================================
   PRODUCT WEIGHT PICKER
   ========================================================================== */
.product-weight-picker {
    margin-top: 28px;
}

.product-weight-picker__label {
    margin-bottom: 12px;
    color: var(--color-dark);
    font-size: 14px;
    font-weight: 600;
}

.product-weight-picker__options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.product-weight-option {
    min-width: 82px;
    height: 46px;
    padding: 0 18px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-small);
    color: var(--color-dark);
    background: var(--color-white);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition:
        color 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.product-weight-option:hover {
    border-color: var(--color-red);
    color: var(--color-red);
    transform: translateY(-1px);
}

.product-weight-option.is-active {
    color: var(--color-white);
    background: var(--color-red);
    border-color: var(--color-red);
}

/* Прячем стандартный выбор вариаций WooCommerce */
.product-summary-custom__purchase table.variations {
    display: none !important;
}

/* Оставляем цену выбранной вариации */
.product-summary-custom__purchase .single_variation_wrap {
    margin-top: 18px;
}

.product-summary-custom__purchase .woocommerce-variation-price {
    margin-bottom: 16px;
    color: var(--color-dark);
    font-size: 22px;
    font-weight: 600;
}

.product-summary-custom__purchase .reset_variations {
    display: none !important;
}

@media (max-width: 600px) {
    .product-weight-option {
        flex: 1;
        min-width: 0;
    }
}

/* ==========================================================================
   CART
   ========================================================================== */
.cart-page {
    min-height: 650px;
    padding: 70px 0 100px;
    background: var(--color-bg);
    box-shadow: 0 0 0 100vmax var(--color-bg);
    clip-path: inset(0 -100vmax);
}

.cart-page__header {
    margin-bottom: 45px;
}

.cart-page__label {
    display: block;
    margin-bottom: 9px;
    color: var(--color-red);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
}

.cart-page__header h1 {
    margin: 0;
    color: var(--color-dark);
    letter-spacing: -0.04em;
}

/* LAYOUT */
.cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 55px;
    align-items: start;
}

/* ==========================================================================
   CART ITEMS
   ========================================================================== */
.cart-items {
    min-width: 0;
}

.cart-item h2 {
    font-size: 17px;
}

.cart-item {
    display: grid;
    grid-template-columns: 145px minmax(0, 1fr);
    gap: 25px;
    padding: 24px 0;
    border-top: 1px solid var(--color-border);
}

.cart-item:last-of-type {
    border-bottom: 1px solid var(--color-border);
}

.cart-item__image {
    overflow: hidden;
    width: 145px;
    height: 145px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-medium);
}

.cart-item__image a {
    display: block;
    width: 100%;
    height: 100%;
}

.cart-item__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* CONTENT */
.cart-item__content {
    min-width: 0;
}

.cart-item__top {
    display: flex;
    justify-content: space-between;
    gap: 25px;
}

.cart-item__title {
    margin: 0;
}

.cart-item__title a {
    color: var(--color-dark);
}

.cart-item__title a:hover {
    color: var(--color-red);
}

.cart-item__meta {
    margin-top: 9px;
    color: var(--color-muted);
    font-size: 13px;
}

.cart-item__unit-price {
    margin-top: 8px;
    color: var(--color-muted);
    font-size: 14px;
    font-weight: 600;
}

.cart-item__unit-price span {
    margin: 0 4px;
    color: var(--color-red);
}

.cart-item__meta dl {
    margin: 0;
}

.cart-item__meta dt,
.cart-item__meta dd {
    display: inline;
    margin: 0;
}

.cart-item__meta dd::after {
    content: "";
    display: block;
}

.cart-item__price {
    flex: 0 0 auto;
    color: var(--color-dark);
    font-size: 17px;
    font-weight: 700;
    white-space: nowrap;
}

/* BOTTOM */
.cart-item__bottom {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 24px;
}

.cart-item__quantity .quantity {
    display: inline-flex;
    align-items: stretch;
    height: 44px;
    overflow: hidden;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-small);
}

.cart-item__quantity .qty {
    width: 48px;
    height: 42px;
    padding: 0 5px;
    border: 0;
    border-left: 1px solid var(--color-border);
    border-right: 1px solid var(--color-border);
    background: var(--color-white);
    text-align: center;
    appearance: textfield;
    -moz-appearance: textfield;
}

.cart-item__quantity .qty::-webkit-inner-spin-button,
.cart-item__quantity .qty::-webkit-outer-spin-button {
    margin: 0;
    appearance: none;
    -webkit-appearance: none;
}

.cart-item__quantity .quantity-button {
    width: 38px;
    font-size: 18px;
}

.cart-item__remove {
    color: var(--color-muted);
    font-size: 13px;
    font-weight: 700;
}

.cart-item__remove:hover {
    color: var(--color-red);
}

/* UPDATE */
.cart-update {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.cart-update__button {
    min-height: 44px;
    padding: 0 20px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-small);
    color: var(--color-dark);
    background: var(--color-white);
    font-weight: 700;
    cursor: pointer;
    transition:
        border-color 0.2s ease,
        color 0.2s ease;
}

.cart-update__button:hover {
    color: var(--color-red);
    border-color: var(--color-red);
}

/* ==========================================================================
   CART SUMMARY
   ========================================================================== */
.cart-summary {
    position: sticky;
    top: 24px;
}

.admin-bar .cart-summary {
    top: 56px;
}

.cart-summary__box {
    padding: 30px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-large);
}

.cart-summary__label {
    display: block;
    margin-bottom: 8px;
    color: var(--color-red);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
}

.cart-summary h2 {
    font-size: 25px;
    margin: 0 0 28px;
    color: var(--color-dark);
}

.cart-summary__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 13px 0;
    border-top: 1px solid var(--color-border);
    color: var(--color-muted);
    font-size: 14px;
}

.cart-summary__row strong {
    color: var(--color-dark);
}

.cart-summary__note {
    margin-top: 15px;
    padding: 14px;
    color: var(--color-muted);
    background: var(--color-bg);
    border-radius: var(--radius-small);
    font-size: 13px;
    line-height: 1.5;
}

.cart-summary__total {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
}

.cart-summary__total span {
    color: var(--color-dark);
    font-size: 17px;
    font-weight: 700;
}

.cart-summary__total strong {
    color: var(--color-dark);
    font-size: 25px;
    line-height: 1;
}

.cart-summary__checkout {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 45px;
    margin-top: 26px;
    padding: 0 20px;
    color: var(--color-white) !important;
    background: var(--color-red);
    border-radius: var(--radius-small);
    font-size: 15px;
    font-weight: 600;
    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.cart-summary__checkout:hover {
    background: var(--color-red-dark);
    transform: translateY(-1px);
}

.cart-summary__continue {
    display: block;
    margin-top: 17px;
    color: var(--color-muted);
    text-align: center;
    font-size: 13px;
    font-weight: 700;
}

.cart-summary__continue:hover {
    color: var(--color-red);
}

/* ==========================================================================
   CART — TABLET
   ========================================================================== */
@media (max-width: 1200px) {
    .product-gallery-custom {
        max-width: 470px;
    }
}

@media (max-width: 900px) {
    .cart-page {
        padding: 55px 0 80px;
    }

    .cart-layout {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .cart-summary {
        position: static;
    }

    .product-gallery-custom {
        max-width: 520px;
    }
}

/* ==========================================================================
   CART — MOBILE
   ========================================================================== */
@media (max-width: 600px) {
    .cart-page {
        padding: 42px 0 65px;
    }

    .cart-page__header {
        margin-bottom: 28px;
    }

    .cart-item {
        grid-template-columns: 92px minmax(0, 1fr);
        gap: 15px;
        padding: 20px 0;
    }

    .cart-item__image {
        width: 92px;
        height: 92px;
        border-radius: 12px;
    }

    .cart-item__top {
        display: block;
    }

    .cart-item__price {
        margin-top: 10px;
        font-size: 17px;
    }

    .cart-item__bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
        margin-top: 14px;
    }

    .cart-update {
        justify-content: stretch;
    }

    .cart-update__button {
        width: 100%;
    }

    .cart-summary__box {
        padding: 24px;
    }
}

/* ==========================================================================
   PRODUCT QUANTITY TOTAL
   ========================================================================== */
.product-quantity-total {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 16px;
    color: var(--color-muted);
    font-size: 15px;
    font-weight: 600;
}

.product-quantity-total[hidden] {
    display: none;
}

.product-quantity-total__multiply,
.product-quantity-total__equals {
    color: var(--color-red);
}

.product-quantity-total__sum {
    color: var(--color-dark);
    font-size: 21px;
    font-weight: 600;
    font-family: "Montserrat";
}

.product-weight-option.is-active,
.product-weight-option.is-active:hover,
.product-weight-option:focus.is-active {
    color: #ffffff !important;
    background: var(--color-red) !important;
    border-color: var(--color-red) !important;
    box-shadow: none !important;
}

.product-weight-option.is-active {
    transform: translateY(-1px);
}

body.woocommerce-cart .site-content>.container>article>h1 {
    display: none !important;
}

/* =========================================================
   CHECKOUT
========================================================= */
.checkout-page {
    padding: 40px 0 80px;
    background: var(--color-bg);
    width: 100vw;
    margin-left: calc(50% - 50vw);
}

.checkout-page__header {
    margin-bottom: 30px;
}

body.woocommerce-checkout .site-content>.container {
    padding-top: 70px;
    padding-bottom: 100px;
}

body.woocommerce-checkout .checkout-page {
    padding-top: 35px;
}

/* Основная сетка */
.checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(400px, 0.85fr);
    gap: 32px;
    align-items: start;
}

/* Карточки */
.checkout-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 16px;
}

.checkout-card--customer {
    padding: 32px;
}

.checkout-card--order {
    padding: 28px;
}

body.woocommerce-checkout .site-content {
    background: var(--color-bg);
}

/* Заголовки карточек */
.checkout-card__heading {
    margin-bottom: 0px;
    /*padding-bottom: 18px; */
    border-bottom: 0px solid var(--color-border);
}

.checkout-card__heading h2 {
    margin: 0;
}

/* Скрываем ненужные стандартные заголовки WooCommerce */
.checkout-page .woocommerce-billing-fields>h3,
.checkout-page .woocommerce-additional-fields>h3 {
    display: none;
}

/* Поля */
.checkout-page .woocommerce-billing-fields__field-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 20px;
}

.checkout-page .form-row {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.checkout-page #billing_phone_field,
.checkout-page #billing_email_field,
.checkout-page #billing_city_field,
.checkout-page #billing_address_1_field {
    grid-column: 1 / -1;
}

.checkout-page .form-row label {
    display: block;
    margin-bottom: 7px;
    font-size: 14px;
    font-weight: 700;
}

.checkout-page input.input-text,
.checkout-page textarea,
.checkout-page select {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: #fff;
    font: inherit;
    outline: none;
}

.checkout-page textarea {
    min-height: 100px;
    padding-top: 12px;
    padding-bottom: 12px;
}

.checkout-page input.input-text:focus,
.checkout-page textarea:focus,
.checkout-page select:focus {
    border-color: var(--color-red);
    box-shadow: 0 0 0 3px rgba(227, 27, 35, 0.08);
}

/* Комментарий */
.checkout-page .woocommerce-additional-fields {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid var(--color-border);
}

/* Товары */
.checkout-order__item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px;
    padding: 17px 0;
    border-bottom: 1px solid var(--color-border);
    padding-top: 0px;
}

.checkout-order__item-title {
    font-weight: 700;
}

.checkout-order__item-qty {
    margin-top: 4px;
    color: var(--color-muted);
    font-size: 13px;
}

.checkout-order__item-total {
    font-weight: 700;
    white-space: nowrap;
}

/* Итоги */
.checkout-order__summary-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 15px 0;
    border-bottom: 1px solid var(--color-border);
}

.checkout-order__summary-row--total {
    font-size: 18px;
    font-weight: 700;
}

/* Оплата */
.checkout-page #payment {
    margin-top: 24px;
    padding: 0 !important;
    background: transparent !important;
}

.checkout-page #payment ul.payment_methods {
    padding: 0 0 20px !important;
    border-bottom: 1px solid var(--color-border) !important;
}

.checkout-page #payment .place-order {
    padding: 20px 0 0 !important;
}

.checkout-page #place_order {
    width: 100%;
    min-height: 52px;
    border: 0 !important;
    border-radius: 8px !important;
    background: var(--color-red) !important;
    color: #fff !important;
    font-weight: 700 !important;
}

.checkout-page #place_order:hover {
    background: var(--color-red-dark) !important;
}

/* Служебная информация при оформлении заказа */
.checkout-page #payment .woocommerce-info,
.checkout-page .woocommerce-privacy-policy-text {
    font-size: 13px;
    line-height: 1.4;
}

.checkout-page #payment .woocommerce-info {
    padding: 14px 16px 14px 42px !important;
}

.checkout-page .woocommerce-privacy-policy-text {
    margin-bottom: 15px;
}

.woocommerce-checkout #payment div.payment_box.payment_method_cod,
.woocommerce-checkout #payment div.payment_box.payment_method_yookassa_epl {
    background-color: #f7f5f2;
}

.woocommerce-checkout #payment div.payment_box.payment_method_cod::before,
.woocommerce-checkout #payment div.payment_box.payment_method_yookassa_epl::before {
    border-bottom-color: #f7f5f2;
}

/* Планшет */
@media (max-width: 900px) {
    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .checkout-card--customer,
    .checkout-card--order {
        padding: 25px;
    }
}

/* Смартфон */
@media (max-width: 600px) {
    .checkout-page {
        padding: 25px 0 55px;
    }

    .checkout-layout {
        gap: 20px;
    }

    .checkout-card--customer,
    .checkout-card--order {
        padding: 20px;
        border-radius: 12px;
    }

    .checkout-page .woocommerce-billing-fields__field-wrapper {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .checkout-page #billing_phone_field,
    .checkout-page #billing_email_field,
    .checkout-page #billing_city_field,
    .checkout-page #billing_address_1_field {
        grid-column: 1;
    }

    .checkout-page input.input-text,
    .checkout-page textarea,
    .checkout-page select {
        font-size: 16px;
    }

    .checkout-page .container {
        width: 100%;
        max-width: none;
        padding-left: 16px;
        padding-right: 16px;
    }

    body.woocommerce-checkout .site-content>.container {
        padding-top: 55px;
    }
}

/* ==========================================================
   HOME — BENEFITS
========================================================== */
.home-benefits {
    padding: 90px 0;
    background: var(--color-white);
}

.home-benefits__head {
    max-width: 720px;
    margin-bottom: 42px;
}

.home-benefits__head h2 {
    margin: 10px 0 14px;
}

.home-benefits__head p {
    margin: 0;
    max-width: 620px;
    color: var(--color-text-muted);
    font-size: 17px;
    line-height: 1.6;
}

.home-benefits__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.home-benefit-card {
    min-height: 260px;
    padding: 30px;
    border: 1px solid var(--color-border);
    border-radius: 18px;
    background:
        linear-gradient(145deg,
            #ffffff 0%,
            #faf8f5 100%);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.home-benefit-card:hover {
    transform: translateY(-4px);
    border-color: rgba(237, 28, 36, 0.35);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.home-benefit-card__number {
    margin-bottom: 25px;
    color: var(--color-red);
    font-size: 25px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.home-benefit-card h3 {
    margin: 0 0 14px;
}

.home-benefit-card p {
    margin: 0;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* ==========================================================
   HOME — BENEFITS — TABLET
========================================================== */
@media (max-width: 1024px) {
    .home-benefits {
        padding: 70px 0;
    }

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

    .home-benefit-card {
        min-height: 230px;
    }
}

/* ==========================================================
   HOME — BENEFITS — MOBILE
========================================================== */
@media (max-width: 600px) {
    .home-benefits {
        padding: 55px 0;
    }

    .home-benefits__head {
        margin-bottom: 28px;
    }

    .home-benefits__head p {
        font-size: 15px;
    }

    .home-benefits__grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .home-benefit-card {
        min-height: auto;
        padding: 24px;
    }

    .home-benefit-card__number {
        margin-bottom: 20px;
    }
}

.section-kicker {
    color: var(--color-red);
    font-weight: 600;
}

/* ==========================================================
   HOME — ABOUT
========================================================== */
.home-about {
    padding: 90px 0;
    background: var(--color-bg);
}

.home-about__inner {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    align-items: center;
    gap: 60px;
    padding: 55px;
    background:
        radial-gradient(circle at 85% 35%, rgba(227, 27, 35, 0.12), transparent 35%),
        linear-gradient(135deg, #171717 0%, #090909 100%);

    border-radius: 24px;
    overflow: hidden;
}

.home-about__content {
    max-width: 620px;
}

.home-about .section-kicker {
    margin-bottom: 14px;
    color: var(--color-red);
    font-weight: 600;
}

.home-about h2 {
    margin: 0 0 22px;
    color: var(--color-white);
}

.home-about p {
    margin: 0 0 16px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 16px;
    line-height: 1.65;
}

.home-about .btn {
    margin-top: 14px;
}

.home-about__image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-about__image img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: 22px;
}

/* ==========================================================
   HOME — ABOUT — TABLET
========================================================== */
@media (max-width: 1024px) {
    .home-about {
        padding: 70px 0;
    }

    .home-about__inner {
        gap: 40px;
        padding: 42px;
    }

    .home-about__image img {
        max-width: 340px;
    }
}

/* ==========================================================
   HOME — ABOUT — MOBILE
========================================================== */
@media (max-width: 700px) {
    .home-about {
        padding: 55px 0;
    }

    .home-about__inner {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 28px 24px;
    }

    .home-about__content {
        max-width: none;
    }

    .home-about p {
        font-size: 15px;
    }

    .home-about__image {
        order: -1;
    }

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

/* ==========================================================
   HOME — STEPS
========================================================== */
.home-steps {
    padding: 90px 0;
    background: var(--color-white);
}

.home-steps__head {
    max-width: 700px;
    margin-bottom: 42px;
}

.home-steps__head .section-kicker {
    margin-bottom: 10px;
}

.home-steps__head h2 {
    margin: 0 0 14px;
}

.home-steps__head p {
    margin: 0;
    max-width: 620px;
    color: var(--color-text-muted);
    font-size: 16px;
    line-height: 1.6;
}

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

.home-step {
    position: relative;
    min-height: 280px;
    padding: 32px;
    border: 1px solid var(--color-border);
    border-radius: 18px;
    background: #fff;
}

.home-step__number {
    margin-bottom: 25px;
    color: var(--color-red);
    font-size: 25px;
    font-weight: 700;
}

.home-step h3 {
    margin: 0 0 14px;
    font-size: 24px;
    line-height: 1.2;
}

.home-step p {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 16px;
    line-height: 1.6;
}

.home-step__link {
    display: inline-block;
    margin-top: 24px;
    color: var(--color-dark);
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
}

.home-step__link:hover {
    color: var(--color-red);
}

/* ==========================================================
   HOME — STEPS — TABLET
========================================================== */
@media (max-width: 1024px) {
    .home-steps {
        padding: 70px 0;
    }

    .home-steps__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .home-step {
        min-height: 250px;
        padding: 26px;
    }

    .home-step h3 {
        font-size: 22px;
    }
}

/* ==========================================================
   HOME — STEPS — MOBILE
========================================================== */
@media (max-width: 700px) {
    .home-steps {
        padding: 55px 0;
    }

    .home-steps__head {
        margin-bottom: 28px;
    }

    .home-steps__grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .home-step {
        min-height: auto;
        padding: 24px;
    }

    .home-step__number {
        margin-bottom: 28px;
    }

    .home-step h3 {
        font-size: 22px;
    }

    .home-step p {
        font-size: 15px;
    }
}

/* ==========================================================================
   SETS PAGE
   ========================================================================== */
.sets-page {
    background: var(--color-white);
}

/* ==========================================================================
   SETS HERO
   ========================================================================== */
.sets-hero {
    padding: 70px 0 60px;
    background: var(--color-bg);
}

.sets-hero__content {
    max-width: 760px;
}

.sets-hero .section-kicker {
    margin-bottom: 10px;
}

.sets-hero h1 {
    margin: 0;
    color: var(--color-dark);
    letter-spacing: -0.04em;
}

.sets-hero p {
    max-width: 680px;
    margin: 22px 0 0;
    color: var(--color-muted);
    font-size: 17px;
    line-height: 1.65;
}

/* ==========================================================================
   SETS PRODUCTS
   ========================================================================== */
.sets-products {
    padding: 80px 0 90px;
    background: var(--color-white);
}

.sets-products__head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
    align-items: end;
    gap: 60px;
    margin-bottom: 42px;
}

.sets-products__head h2 {
    margin: 8px 0 0;
}

.sets-products__head>p {
    margin: 0;
    color: var(--color-muted);
    font-size: 16px;
    line-height: 1.65;
}

/* Убираем лишние отступы shop-page внутри этой страницы */
.sets-products__catalog.shop-page {
    min-height: 0;
    padding: 0;
    background: transparent;
}

/* ==========================================================================
   SETS BENEFITS
   ========================================================================== */
.sets-benefits {
    padding: 90px 0;
    background: var(--color-bg);
}

.sets-benefits__head {
    max-width: 760px;
    margin-bottom: 42px;
}

.sets-benefits__head h2 {
    margin: 8px 0 14px;
}

.sets-benefits__head p {
    max-width: 650px;
    margin: 0;
    color: var(--color-muted);
    font-size: 16px;
    line-height: 1.65;
}

.sets-benefits__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.sets-benefit {
    min-height: 270px;
    padding: 32px;
    border: 1px solid var(--color-border);
    border-radius: 18px;
    background: var(--color-white);
}

.sets-benefit__number {
    margin-bottom: 25px;
    color: var(--color-red);
    font-size: 25px;
    font-weight: 700;
}

.sets-benefit h3 {
    margin: 0 0 14px;
}

.sets-benefit p {
    margin: 0;
    color: var(--color-muted);
    font-size: 16px;
    line-height: 1.6;
}

/* ==========================================================================
   SETS CTA
   ========================================================================== */
.sets-cta {
    padding: 90px 0;
    background: var(--color-white);
}

.sets-cta__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 500px;
    align-items: center;
    gap: 60px;
    padding: 55px;
    overflow: hidden;
    color: var(--color-white);
    background:
        radial-gradient(circle at 85% 30%,
            rgba(227, 27, 35, 0.14),
            transparent 38%),
        linear-gradient(135deg,
            #171717,
            #080808);
    border-radius: var(--radius-large);
}

.sets-cta__content {
    max-width: 650px;
}

.sets-cta .section-kicker {
    margin-bottom: 10px;
}

.sets-cta h2 {
    margin: 0 0 18px;
    color: var(--color-white);
}

.sets-cta p {
    max-width: 590px;
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 16px;
    line-height: 1.65;
}

.sets-cta__link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 28px;
    color: var(--color-white);
    font-size: 17px;
    font-weight: 600;
}

.sets-cta__link span {
    color: var(--color-red);
    font-size: 20px;
    transition: transform 0.2s ease;
}

.sets-cta__link:hover {
    color: var(--color-red);
}

.sets-cta__link:hover span {
    transform: translateX(5px);
}

.sets-cta__image img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: 18px;
}

/* ==========================================================================
   SETS PAGE — TABLET
   ========================================================================== */
@media (max-width: 900px) {
    .sets-hero {
        padding: 55px 0 50px;
    }

    .sets-products {
        padding: 65px 0 70px;
    }

    .sets-products__head {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-bottom: 34px;
    }

    .sets-benefits {
        padding: 70px 0;
    }

    .sets-benefits__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .sets-benefit {
        padding: 26px;
    }

    .sets-cta {
        padding: 70px 0;
    }

    .sets-cta__inner {
        grid-template-columns: minmax(0, 1fr) 280px;
        gap: 40px;
        padding: 42px;
    }
}

/* ==========================================================================
   SETS PAGE — MOBILE
   ========================================================================== */
@media (max-width: 700px) {
    .sets-hero {
        padding: 45px 0;
    }

    .sets-hero p {
        margin-top: 18px;
        font-size: 15px;
    }

    .sets-products {
        padding: 55px 0;
    }

    .sets-products__head>p {
        font-size: 15px;
    }

    .sets-benefits {
        padding: 55px 0;
    }

    .sets-benefits__head {
        margin-bottom: 28px;
    }

    .sets-benefits__head p {
        font-size: 15px;
    }

    .sets-benefits__grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .sets-benefit {
        min-height: auto;
        padding: 24px;
    }

    .sets-benefit__number {
        margin-bottom: 25px;
        font-size: 25px;
    }

    .sets-benefit p {
        font-size: 15px;
    }

    .sets-cta {
        padding: 55px 0;
    }

    .sets-cta__inner {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 24px;
    }

    .sets-cta__image {
        order: -1;
    }

    .sets-cta p {
        font-size: 15px;
    }
}

/* Не показываем служебное сообщение после автообновления корзины */
.woocommerce-cart .woocommerce-message {
    display: none;
}

.woocommerce-result-count,
.woocommerce-ordering {
    display: none !important;
}

/* WooCommerce не должен менять размеры логотипа в Header */
.woocommerce .site-brand__logo,
.woocommerce-page .site-brand__logo {
    width: 100px !important;
    height: 95px !important;
    max-width: none;
    object-fit: contain;
}

@media (max-width: 1024px) {

    .woocommerce .site-brand__logo,
    .woocommerce-page .site-brand__logo {
        width: 80px !important;
        height: 70px !important;
    }

    .woocommerce .site-nav__list a,
    .woocommerce-page .site-nav__list a {
        padding: 28px 0;
    }

    .site-nav__list a,
    .site-nav__list a {
        padding: 28px 0;
    }

    .header-main__inner {
        min-height: 75px;
    }

    .woocommerce-cart .cart-page {
        width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
    }
}

@media (max-width: 700px) {

    .woocommerce .site-brand__logo,
    .woocommerce-page .site-brand__logo {
        width: 60px !important;
        height: 52px !important;
    }

    .woocommerce .site-nav__list a,
    .woocommerce-page .site-nav__list a {
        padding: 28px 0;
    }

    .site-nav__list a,
    .site-nav__list a {
        padding: 28px 0;
    }

    .header-main__inner {
        min-height: 53px;
    }
}

/* ==========================================================================
   PRODUCT INFO PAGE
   ========================================================================== */
.product-info-page {
    background: var(--color-white);
}

/* HERO */
.product-info-hero {
    padding: 70px 0;
    background: var(--color-bg);
}

.product-info-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 500px;
    align-items: center;
    gap: 60px;
}

.product-info-hero__content {
    max-width: 720px;
}

.product-info-hero h1 {
    margin: 8px 0 20px;
}

.product-info-hero p {
    max-width: 670px;
    margin: 0;
    color: var(--color-muted);
    font-size: 17px;
    line-height: 1.65;
}

.product-info-hero__image img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: 18px;
}

.product-info-wood {
    color: inherit;
    text-decoration: none;
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        color 0.25s ease;
}

.product-info-wood:hover {
    transform: translateY(-4px);
    border-color: #e31e24;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
    color: #e31e24;
}

/* COMMON LINK */
.product-info-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 28px;
    color: var(--color-dark);
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
}

.product-info-link:hover {
    color: var(--color-red);
}

.product-info-link span {
    color: var(--color-red);
    transition: transform .2s ease;
}

.product-info-link:hover span {
    transform: translateX(5px);
}

/* FEATURES */
.product-info-features {
    padding: 90px 0;
}

.product-info-section-head {
    max-width: 760px;
    margin-bottom: 42px;
}

.product-info-section-head h2 {
    margin: 8px 0 14px;
}

.product-info-section-head p {
    margin: 0;
    color: var(--color-muted);
    line-height: 1.65;
}

.product-info-features__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.product-info-feature {
    min-height: 270px;
    padding: 30px;
    border: 1px solid var(--color-border);
    border-radius: 18px;
    background: var(--color-white);
}

.product-info-feature__number {
    margin-bottom: 25px;
    color: var(--color-red);
    font-size: 25px;
    font-weight: 700;
}

.product-info-feature h3 {
    margin: 0 0 14px;
}

.product-info-feature p {
    margin: 0;
    color: var(--color-muted);
    line-height: 1.6;
}

/* WOODS */
.product-info-woods {
    padding: 90px 0;
    background: var(--color-bg);
}

.product-info-woods__head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    align-items: end;
    gap: 70px;
    margin-bottom: 40px;
}

.product-info-woods__head h2 {
    margin: 8px 0 0;
}

.product-info-woods__head>p {
    margin: 0;
    color: var(--color-muted);
    line-height: 1.65;
}

.product-info-woods__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.product-info-wood {
    padding: 24px 28px;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    background: var(--color-white);
    font-size: 18px;
    font-weight: 600;
}

.product-info-woods__link {
    margin-top: 30px;
}

/* APPLICATION */
.product-info-use {
    padding: 90px 0;
}

.product-info-use__inner {
    display: grid;
    grid-template-columns: 500px minmax(0, 1fr);
    align-items: center;
    gap: 60px;
    padding: 55px;
    color: var(--color-white);
    background:
        radial-gradient(circle at 15% 25%,
            rgba(227, 27, 35, .16),
            transparent 38%),
        #111;
    border-radius: var(--radius-large);
}

.product-info-use__image img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: 18px;
}

.product-info-use h2 {
    margin: 8px 0 18px;
    color: var(--color-white);
}

.product-info-use__content>p {
    max-width: 580px;
    margin: 0 0 30px;
    color: rgba(255, 255, 255, .72);
    line-height: 1.65;
}

.product-info-use__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.product-info-use__list div {
    padding: 18px 20px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 12px;
    font-weight: 600;
}

.product-info-use__list span {
    display: block;
    margin-bottom: 7px;
    color: var(--color-red);
    font-size: 14px;
}

/* CTA */
.product-info-cta {
    padding: 0 0 90px;
}

.product-info-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    padding: 50px;
    background: var(--color-bg);
    border-radius: var(--radius-large);
}

.product-info-cta h2 {
    margin: 8px 0 12px;
}

.product-info-cta p {
    max-width: 650px;
    margin: 0;
    color: var(--color-muted);
    line-height: 1.65;
}

.product-info-cta__actions {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-shrink: 0;
}

.product-info-cta__actions .product-info-link {
    margin-top: 0;
}

/* TABLET 0 */
@media (max-width: 1024px) {
    .product-info-features__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* TABLET */
@media (max-width: 900px) {
    .product-info-hero__grid {
        grid-template-columns: minmax(0, 1fr) 280px;
        gap: 45px;
    }

    .product-info-features__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-info-woods__head {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .product-info-use__inner {
        grid-template-columns: 300px minmax(0, 1fr);
        gap: 45px;
        padding: 40px;
    }

    .product-info-cta__inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* MOBILE */
@media (max-width: 700px) {
    .product-info-hero {
        padding: 45px 0 55px;
    }

    .product-info-hero__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .product-info-hero__image {
        order: -1;
    }

    .product-info-hero p {
        font-size: 15px;
    }

    .product-info-features {
        padding: 55px 0;
    }

    .product-info-features__grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .product-info-feature {
        min-height: auto;
        padding: 24px;
    }

    .product-info-woods {
        padding: 55px 0;
    }

    .product-info-woods__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-info-wood {
        padding: 18px;
        font-size: 16px;
    }

    .product-info-use {
        padding: 55px 0;
    }

    .product-info-use__inner {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 24px;
    }

    .product-info-use__image {
        order: -1;
    }

    .product-info-use__list {
        grid-template-columns: 1fr;
    }

    .product-info-cta {
        padding-bottom: 55px;
    }

    .product-info-cta__inner {
        padding: 28px 24px;
    }

    .product-info-cta__actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }
}

/* ==========================================================================
   DELIVERY PAGE
   ========================================================================== */
.delivery-page {
    background: var(--color-white);
}

/* HERO */
.delivery-hero {
    padding: 70px 0;
    background: var(--color-bg);
}

.delivery-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 500px;
    align-items: center;
    gap: 60px;
}

.delivery-hero__content {
    max-width: 720px;
}

.delivery-hero h1 {
    margin: 8px 0 20px;
}

.delivery-hero p {
    max-width: 670px;
    margin: 0;
    color: var(--color-muted);
    font-size: 17px;
    line-height: 1.65;
}

.delivery-hero__image img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: 18px;
}

/* SECTION HEAD */
.delivery-section-head {
    max-width: 760px;
    margin-bottom: 42px;
}

.delivery-section-head h2 {
    margin: 8px 0 14px;
}

.delivery-section-head p {
    margin: 0;
    color: var(--color-muted);
    line-height: 1.65;
}

/* DELIVERY METHODS */
.delivery-methods {
    padding: 90px 0;
}

.delivery-methods__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.delivery-method {
    min-height: 260px;
    padding: 32px;
    border: 1px solid var(--color-border);
    border-radius: 18px;
    background: var(--color-white);
}

.delivery-method__number {
    margin-bottom: 25px;
    color: var(--color-red);
    font-size: 25px;
    font-weight: 700;
}

.delivery-method h3 {
    margin: 0 0 14px;
}

.delivery-method p {
    margin: 0;
    color: var(--color-muted);
    line-height: 1.65;
}

/* PAYMENT */
.delivery-payment {
    padding: 90px 0;
    background: var(--color-bg);
}

.delivery-payment__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 500px;
    align-items: center;
    gap: 60px;
    padding: 55px;
    color: var(--color-white);
    background:
        radial-gradient(circle at 85% 30%,
            rgba(227, 27, 35, .16),
            transparent 38%),
        #111;
    border-radius: var(--radius-large);
}

.delivery-payment h2 {
    margin: 8px 0 18px;
    color: var(--color-white);
}

.delivery-payment p {
    max-width: 620px;
    margin: 0;
    color: rgba(255, 255, 255, .72);
    line-height: 1.65;
}

.delivery-payment__note {
    margin-top: 26px;
    padding: 16px 18px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 12px;
    color: rgba(255, 255, 255, .7);
    font-size: 14px;
}

.delivery-payment__image img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: 18px;
}

/* STEPS */
.delivery-steps {
    padding: 90px 0;
}

.delivery-steps__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.delivery-step {
    min-height: 240px;
    padding: 30px;
    border: 1px solid var(--color-border);
    border-radius: 18px;
}

.delivery-step__number {
    margin-bottom: 25px;
    color: var(--color-red);
    font-size: 25px;
    font-weight: 700;
}

.delivery-step h3 {
    margin: 0 0 14px;
}

.delivery-step p {
    margin: 0;
    color: var(--color-muted);
    line-height: 1.6;
}

/* CTA */
.delivery-cta {
    padding: 0 0 90px;
}

.delivery-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    padding: 50px;
    background: var(--color-bg);
    border-radius: var(--radius-large);
}

.delivery-cta h2 {
    margin: 8px 0 12px;
}

.delivery-cta p {
    max-width: 650px;
    margin: 0;
    color: var(--color-muted);
    line-height: 1.65;
}

.delivery-cta__actions {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-shrink: 0;
}

.delivery-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--color-dark);
    font-size: 17px;
    font-weight: 600;
}

.delivery-link:hover {
    color: var(--color-red);
}

.delivery-link span {
    color: var(--color-red);
}

/* TABLET */
@media (max-width: 900px) {
    .delivery-hero__grid {
        grid-template-columns: minmax(0, 1fr) 280px;
        gap: 45px;
    }

    .delivery-payment__inner {
        grid-template-columns: minmax(0, 1fr) 280px;
        gap: 45px;
        padding: 40px;
    }

    .delivery-cta__inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* MOBILE */
@media (max-width: 700px) {
    .delivery-hero {
        padding: 45px 0 55px;
    }

    .delivery-hero__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .delivery-hero__image {
        order: -1;
    }

    .delivery-hero p {
        font-size: 15px;
    }

    .delivery-methods {
        padding: 55px 0;
    }

    .delivery-methods__grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .delivery-method {
        min-height: auto;
        padding: 24px;
    }

    .delivery-payment {
        padding: 55px 0;
    }

    .delivery-payment__inner {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 24px;
    }

    .delivery-payment__image {
        order: -1;
    }

    .delivery-steps {
        padding: 55px 0;
    }

    .delivery-steps__grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .delivery-step {
        min-height: auto;
        padding: 24px;
    }

    .delivery-cta {
        padding-bottom: 55px;
    }

    .delivery-cta__inner {
        padding: 28px 24px;
    }

    .delivery-cta__actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }
}

/* ==========================================================================
   CONTACTS PAGE
   ========================================================================== */
.contacts-page {
    background: var(--color-white);
}

/* HERO */
.contacts-hero {
    padding: 70px 0;
    background: var(--color-bg);
}

.contacts-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 500px;
    align-items: center;
    gap: 60px;
}

.contacts-hero__content {
    max-width: 720px;
}

.contacts-hero h1 {
    margin: 8px 0 20px;
}

.contacts-hero p {
    max-width: 670px;
    margin: 0;
    color: var(--color-muted);
    font-size: 17px;
    line-height: 1.65;
}

.contacts-hero__image img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: 18px;
}

/* CONTACT CARDS */
.contacts-main {
    padding: 90px 0;
}

.contacts-main__head {
    margin-bottom: 42px;
}

.contacts-main__head h2 {
    margin: 8px 0 0;
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.contacts-card {
    display: flex;
    flex-direction: column;
    min-height: 280px;
    padding: 32px;
    color: var(--color-dark);
    text-decoration: none;
    border: 1px solid var(--color-border);
    border-radius: 18px;
    background: var(--color-white);
    transition:
        transform .2s ease,
        border-color .2s ease;
}

a.contacts-card:hover {
    transform: translateY(-3px);
    border-color: rgba(227, 27, 35, .35);
}

.contacts-card__number {
    margin-bottom: 35px;
    color: var(--color-red);
    font-size: 25px;
    font-weight: 700;
}

.contacts-card__label {
    margin-bottom: 7px;
    color: var(--color-muted);
    font-size: 14px;
}

.contacts-card__value {
    margin-bottom: 14px;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
}

.contacts-card p {
    margin: 0;
    color: var(--color-muted);
    line-height: 1.6;
}

.contacts-card__link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    padding-top: 25px;
    font-weight: 600;
}

.contacts-card__link span {
    color: var(--color-red);
    transition: transform .2s ease;
}

.contacts-card:hover .contacts-card__link span {
    transform: translateX(5px);
}

/* SOCIAL */
.contacts-social {
    padding: 90px 0;
    background: var(--color-bg);
}

.contacts-social__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 500px;
    align-items: center;
    gap: 60px;
    padding: 55px;
    color: var(--color-white);
    background:
        radial-gradient(circle at 85% 30%,
            rgba(227, 27, 35, .16),
            transparent 38%),
        #111;
    border-radius: var(--radius-large);
}

.contacts-social h2 {
    margin: 8px 0 18px;
    color: var(--color-white);
}

.contacts-social p {
    max-width: 620px;
    margin: 0;
    color: rgba(255, 255, 255, .72);
    line-height: 1.65;
}

.contacts-social__links {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 28px;
}

.contacts-social__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    padding: 0 20px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    background: #111;
    border: 1px solid var(--color-red);
    border-radius: 8px;
    transition:
        background .2s ease,
        border-color .2s ease,
        transform .2s ease;
}

.contacts-social__button svg {
    width: 21px;
    height: 21px;
    flex: 0 0 21px;
    color: var(--color-red);
    transition: color .2s ease;
}

.contacts-social__button span {
    color: #fff;
}

.contacts-social__button:hover {
    color: #fff;
    background: var(--color-red);
    border-color: var(--color-red);
    transform: translateY(-2px);
}

.contacts-social__button:hover svg {
    color: #fff;
}

.contacts-social__image img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: 18px;
}

.contacts-card {
    position: relative;
    overflow: hidden;
}

.contacts-card__icon {
    position: absolute;
    top: 26px;
    right: 26px;
    width: 46px;
    height: 46px;
    color: var(--color-red);
    opacity: .3;
    transition:
        opacity .2s ease,
        transform .2s ease;
}

.contacts-card__icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

.contacts-card__icon--max svg {
    width: 36px;
    height: 36px;
    display: block;
    margin-left: 12px;
}

a.contacts-card:hover .contacts-card__icon {
    opacity: .7;
    transform: scale(1.08);
}

@media (max-width: 700px) {
    .contacts-social__links {
        width: 100%;
        align-items: flex-start;
    }

    .contacts-social__button {
        width: 150px;
        min-width: 150px;
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* CTA */
.contacts-cta {
    padding: 90px 0 0px;
}

.contacts-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    padding: 50px;
    background: var(--color-bg);
    border-radius: var(--radius-large);
}

.contacts-cta h2 {
    margin: 8px 0 12px;
}

.contacts-cta p {
    max-width: 650px;
    margin: 0;
    color: var(--color-muted);
    line-height: 1.65;
}

.contacts-cta__actions {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-shrink: 0;
}

.contacts-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--color-dark);
    font-size: 17px;
    font-weight: 600;
}

.contacts-link:hover {
    color: var(--color-red);
}

.contacts-link span {
    color: var(--color-red);
}

/* TABLET 0 */
@media (max-width: 1024px) {
    .contacts-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* TABLET */
@media (max-width: 900px) {
    .contacts-hero__grid {
        grid-template-columns: minmax(0, 1fr) 280px;
        gap: 45px;
    }

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

    .contacts-card {
        padding: 26px;
    }

    .contacts-social__inner {
        grid-template-columns: minmax(0, 1fr) 280px;
        gap: 45px;
        padding: 40px;
    }

    .contacts-cta__inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* MOBILE */
@media (max-width: 700px) {
    .contacts-hero {
        padding: 45px 0 55px;
    }

    .contacts-hero__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contacts-hero__image {
        order: -1;
    }

    .contacts-hero p {
        font-size: 15px;
    }

    .contacts-main {
        padding: 55px 0;
    }

    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .contacts-card {
        min-height: auto;
        padding: 24px;
    }

    .contacts-card__number {
        margin-bottom: 25px;
    }

    .contacts-card__value {
        font-size: 20px;
    }

    .contacts-social {
        padding: 55px 0;
    }

    .contacts-social__inner {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 24px;
    }

    .contacts-social__image {
        order: -1;
    }

    .contacts-social__links {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .contacts-cta {
        padding: 55px 0;
    }

    .contacts-cta__inner {
        padding: 28px 24px;
    }

    .contacts-cta__actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }
}

/* ==========================================================
   CATALOG LAYOUT
========================================================== */
.catalog-layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 32px;
    align-items: start;
    margin-top: 35px;
}

.catalog-sidebar {
    position: sticky;
    top: 25px;
    padding: 22px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 14px;
}

.catalog-sidebar__title {
    margin-bottom: 18px;
    font-size: 17px;
    font-weight: 700;
}

.catalog-filter {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.catalog-filter__item {
    display: flex;
    align-items: center;
    min-height: 40px;
    padding: 0 13px;
    color: var(--color-dark);
    background: transparent;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 600;
    transition:
        color .2s ease,
        background .2s ease;
}

.catalog-filter__item:hover {
    color: var(--color-red);
    background: var(--color-bg);
}

.catalog-filter__item.is-active {
    color: #fff;
    background: var(--color-red);
}

.woocommerce-result-count,
.woocommerce-ordering {
    display: none !important;
}

@media (max-width: 1100px) {
    .catalog-layout {
        grid-template-columns: 190px minmax(0, 1fr);
        gap: 22px;
    }

    .catalog-products ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 700px) {
    .catalog-layout {
        display: block;
        margin-top: 10px;
    }

    .catalog-sidebar {
        display: none;
    }

    .catalog-products ul.products {
        grid-template-columns: 1fr !important;
    }
}

.catalog-filter-toggle,
.catalog-filter-drawer {
    display: none;
}

@media (max-width: 700px) {
    .catalog-filter-toggle {
        position: fixed;
        left: 18px;
        right: 18px;
        bottom: 18px;
        z-index: 999;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 40px;
        padding: 0 20px;
        border: 0;
        border-radius: 10px;
        background: var(--color-red);
        color: #fff;
        font-size: 15px;
        font-weight: 700;
        box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
        cursor: pointer;
    }

    .catalog-filter-drawer {
        position: fixed;
        inset: 0;
        z-index: 1000;
    }

    .catalog-filter-drawer.is-open {
        display: block;
    }

    .catalog-filter-drawer__overlay {
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, .45);
    }

    .catalog-filter-drawer__panel {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        max-height: 78vh;
        overflow-y: auto;
        padding: 20px 18px 24px;
        background: #fff;
        border-radius: 18px 18px 0 0;
        box-shadow: 0 -10px 35px rgba(0, 0, 0, .18);
    }

    .catalog-filter-drawer__head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 18px;
    }

    .catalog-filter-drawer__head strong {
        font-size: 18px;
    }

    .catalog-filter-drawer__close {
        width: 38px;
        height: 38px;
        padding: 0;
        border: 0;
        background: transparent;
        color: var(--color-dark);
        font-size: 30px;
        line-height: 1;
        cursor: pointer;
    }

    .catalog-filter--mobile {
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

    .catalog-filter--mobile .catalog-filter__item {
        min-height: 43px;
        padding: 0 15px;
    }
}

.catalog-filter__children {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin: 2px 0 8px;
    padding-left: 12px;
}

.catalog-filter__item--child {
    position: relative;
    padding: 7px 10px 7px 18px;
    font-size: 13px;
    font-weight: 500;
}

.catalog-filter__item--child::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--color-red);
}

.catalog-filter__item--child.is-active {
    color: #fff;
}

.catalog-filter__item--child.is-active::before {
    color: #fff;
}

@media (max-width: 700px) {
    .mobile-filter-group__head {
        position: relative;
        display: flex;
        align-items: center;
        width: 100%;
    }

    .mobile-filter-group__head .catalog-filter__item {
        width: 100%;
        min-height: 46px;
        padding-right: 52px;
    }

    .mobile-filter-group__toggle {
        position: absolute;
        top: 0;
        right: 0;
        width: 46px;
        height: 46px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        border: 0;
        background: transparent;
        color: var(--color-red);
        font-size: 23px;
        cursor: pointer;
    }
}

/* ==========================================================================
   CONTACTS MAP
   ========================================================================== */
.contacts-map {
    padding-top: 90px;
    background: var(--color-white);
}

.contacts-map__head {
    max-width: 700px;
    margin-bottom: 35px;
}

.contacts-map__head h2 {
    margin: 8px 0 14px;
}

.contacts-map__head p {
    margin: 0;
    color: var(--color-muted);
    line-height: 1.65;
}

.contacts-map__frame {
    width: 100%;
    overflow: hidden;
}

.contacts-map__frame iframe {
    display: block;
    width: 100%;
    height: 500px;
    border: 0;
}

@media (max-width: 700px) {
    .contacts-map {
        padding-top: 55px;
    }

    .contacts-map__head {
        margin-bottom: 25px;
    }

    .contacts-map__frame iframe {
        height: 380px;
    }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
    background: #0d0d0d;
    color: rgba(255, 255, 255, .72);
}

.site-footer__main {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 35px;
    padding-top: 60px;
    padding-bottom: 55px;
}

.site-footer__brand {
    max-width: 330px;
}

.site-footer__logo {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    color: #fff;
    text-decoration: none;
}

.site-footer__logo img {
    display: block;
    width: 125px;
    height: auto;
}

.site-footer__brand-text {
    display: flex;
    flex-direction: column;
}

.site-footer__brand-text strong {
    color: #fff;
    font-size: 19px;
    line-height: 1.2;
}

.site-footer__brand-text span {
    margin-top: 4px;
    color: rgba(255, 255, 255, .65);
    font-size: 12px;
    letter-spacing: .08em;
}

.site-footer__brand p {
    margin: 0;
    color: rgba(255, 255, 255, .58);
    font-size: 14px;
    line-height: 1.7;
}

.site-footer__column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
}

.site-footer__title {
    margin-bottom: 7px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
}

.site-footer__column a {
    color: rgba(255, 255, 255, .65);
    font-size: 14px;
    text-decoration: none;
    transition: color .2s ease;
}

.site-footer__column a:hover {
    color: var(--color-red);
}

/* BOTTOM */
.site-footer__bottom {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 30px;
    padding-top: 22px;
    padding-bottom: 22px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    font-size: 13px;
}

.site-footer__legal {
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-footer__bottom a {
    color: rgba(255, 255, 255, .65);
    text-decoration: none;
    transition: color .2s ease;
}

.site-footer__bottom a:hover {
    color: var(--color-red);
}

.site-footer__developer {
    text-align: right;
}

/* COOKIE */
.cookie-banner {
    position: fixed;
    left: 50%;
    bottom: 20px;
    z-index: 9999;
    display: none;
    align-items: center;
    gap: 25px;
    width: min(520px, calc(100% - 36px));
    padding: 12px 12px;
    background: #111;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .28);
    transform: translateX(-50%);
}

.cookie-banner.is-visible {
    display: flex;
}

.cookie-banner__text {
    flex: 1;
    font-size: 13px;
    line-height: 1.5;
}

.cookie-banner__text a {
    color: var(--color-red);
}

.cookie-banner__button {
    flex: 0 0 auto;
    min-height: 35px;
    padding: 0 12px;
    border: 0;
    border-radius: 7px;
    background: var(--color-red);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
}

/* TABLET */
@media (max-width: 900px) {
    .site-footer__main {
        grid-template-columns: 1.5fr 1fr 1fr;
    }

    .site-footer__column:last-child {
        grid-column: 2 / 4;
    }

    .site-footer__bottom {
        grid-template-columns: 1fr 1fr;
    }

    .site-footer__developer {
        grid-column: 1 / -1;
        text-align: left;
    }
}

/* MOBILE */
@media (max-width: 700px) {
    .site-footer__main {
        grid-template-columns: 1fr;
        gap: 35px;
        padding-top: 45px;
        padding-bottom: 40px;
    }

    .site-footer__column:last-child {
        grid-column: auto;
    }

    .site-footer__bottom {
        grid-template-columns: 1fr;
        gap: 12px;
        padding-top: 20px;
        padding-bottom: 95px;
    }

    .site-footer__legal {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
    }

    .site-footer__legal>span {
        display: none;
    }

    .site-footer__developer {
        grid-column: auto;
    }

    .cookie-banner {
        align-items: stretch;
        flex-direction: column;
        gap: 13px;
        bottom: 12px;
    }

    .cookie-banner__button {
        width: 100%;
    }
}

/* ==========================================================================
   LEGAL PAGES
   ========================================================================== */
.legal-page__hero {
    padding: 70px 0;
    background: var(--color-bg);
}

.legal-page__hero h1 {
    margin: 8px 0 18px;
}

.legal-page__hero p {
    max-width: 720px;
    margin: 0;
    color: var(--color-dark);
    font-size: 16px;
    line-height: 1.65;
}

.legal-page__content {
    padding: 80px 0 100px;
}

.legal-document {
    max-width: 100%;
}

.legal-document h2 {
    margin: 42px 0 14px;
    font-size: 22px;
}

.legal-document h2:first-child {
    margin-top: 0;
}

.legal-document p {
    margin: 0 0 18px;
    color: var(--color-dark);
    font-size: 16px;
    line-height: 1.75;
}

.legal-document a {
    color: var(--color-red);
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 700px) {
    .legal-page__hero {
        padding: 45px 0 50px;
    }

    .legal-page__content {
        padding: 50px 0 65px;
    }

    .legal-document h2 {
        margin-top: 34px;
        font-size: 19px;
    }

    .legal-document p {
        font-size: 13px;
        line-height: 1.7;
    }
}

.checkout-legal-consents {
    margin: 20px 0;
    padding: 18px 20px;
    background: #f7f5f2;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.5;
}

.checkout-legal-consents .form-row {
    margin: 0 0 12px;
}

.checkout-legal-consents .form-row:last-child {
    margin-bottom: 0;
}

.checkout-legal-consents label {
    cursor: pointer;
}

.checkout-legal-consents input[type="checkbox"] {
    margin-right: 8px;
}

.checkout-legal-consents a {
    color: #ed1c24;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.checkout-legal-consents a:hover {
    text-decoration: none;
    color: #c9151c;
    text-decoration: none;
}

/* ============================================================
   RELATED PRODUCTS
   ============================================================ */
.product-related-custom {
    width: 100%;
    min-width: 0;
    margin-top: 70px;
    padding-top: 45px;
    border-top: 1px solid var(--color-border);
}

.product-related-custom__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}

.product-related-custom__label {
    display: block;
    margin-bottom: 8px;
    color: var(--color-red);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.product-related-custom__header h2 {
    margin: 0;
    font-size: 28px;
    line-height: 1.2;
}

.product-related-custom__arrows {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.product-related-custom__arrow {
    width: 42px;
    height: 42px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: #fff;
    color: var(--color-dark);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    transition: 0.2s ease;
}

.product-related-custom__arrow:hover {
    border-color: var(--color-red);
    color: var(--color-red);
}

.product-related-custom__arrow:disabled {
    opacity: 0.35;
    cursor: default;
}

.product-related-custom__viewport {
    width: 100%;
    min-width: 0;
}

.product-related-custom__track {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    width: 100%;
    min-width: 0;
}

.product-related-card {
    display: none;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    background: #fff;
}

.product-related-card.is-visible {
    display: flex;
    flex-direction: column;
}

.product-related-card__image {
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #fff4e3;
}

.product-related-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-related-card:hover .product-related-card__image img {
    transform: scale(1.03);
}

.product-related-card__content {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 12px;
    padding: 18px;
}

.product-related-card__title {
    color: var(--color-dark);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    text-decoration: none;
}

.product-related-card__title:hover {
    color: var(--color-red);
}

.product-related-card__price {
    margin-top: auto;
    color: var(--color-dark);
    font-size: 18px;
    font-weight: 700;
}

.product-related-card__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 18px;
    border-radius: 8px;
    background: var(--color-red);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.product-related-card__button:hover {
    opacity: 0.9;
    color: #fff;
}

@media (max-width: 1024px) {
    .product-related-custom__track {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .product-related-custom {
        margin-top: 50px;
        padding-top: 35px;
    }

    .product-related-custom__track {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .product-related-custom__header {
        align-items: center;
    }

    .product-related-custom__header h2 {
        font-size: 24px;
    }

    .product-related-custom__label {
        font-size: 11px;
    }

    .product-related-custom__arrow {
        width: 38px;
        height: 38px;
    }

    .product-related-custom__track {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }
}

/* ============================================================
   EMPTY CART
   ============================================================ */
.woocommerce-cart .woocommerce {
    padding-top: 60px;
}

.woocommerce-cart .woocommerce-notices-wrapper+.cart-empty,
.woocommerce-cart .cart-empty {
    max-width: 760px;
    margin: 0 auto 20px;
    padding: 34px 36px;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    background: #fff;
    color: var(--color-dark);
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.woocommerce-cart .cart-empty::before {
    display: none;
}

.woocommerce-cart .return-to-shop {
    margin: 0 auto 70px;
    text-align: center;
}

.woocommerce-cart .return-to-shop .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 45px;
    padding: 12px 28px;
    border-radius: 8px;
    background: var(--color-red) !important;
    color: #fff !important;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.2s ease;
}

.woocommerce-cart .return-to-shop .button:hover {
    opacity: 0.9;
}

.woocommerce-cart .site-main,
.woocommerce-cart .site-content {
    background: var(--color-bg);
}

@media (max-width: 600px) {
    .woocommerce-cart .cart-empty {
        margin: 35px 16px 18px;
        padding: 28px 20px;
        font-size: 16px;
    }

    .woocommerce-cart .return-to-shop {
        margin-bottom: 45px;
    }

    .woocommerce-cart .return-to-shop .button {
        width: calc(100% - 32px);
        max-width: 360px;
    }
}

@media (max-width: 600px) {
    .woocommerce-cart .woocommerce {
        padding-top: 15px;
    }
}

.product-pickup-only {
    margin-top: 18px;
    padding: 14px 16px;
    border: 1px solid #f0c7c9;
    border-radius: 10px;
    background: #fff4f4;
}

.product-pickup-only strong,
.product-pickup-only span {
    display: block;
}

.product-pickup-only strong {
    color: var(--color-red);
    font-size: 15px;
    font-weight: 700;
}

.product-pickup-only span {
    margin-top: 4px;
    color: var(--color-text);
    font-size: 13px;
    line-height: 1.45;
}

/* ========================================
   WOOD STYLE — тёмные секции
   ======================================== */
/* Главный экран */
.hero {
    background:
        linear-gradient(rgba(10, 8, 7, 0.38),
            rgba(10, 8, 7, 0.38)),
        url("../img/wood-dark.jpg") center center / cover no-repeat;
}

/* Тёмные информационные блоки */
.home-about__inner,
.about-usage,
.delivery-payment__inner,
.contacts-social__inner,
.sets-cta__inner,
.product-info-use__inner {
    background:
        linear-gradient(rgba(10, 8, 7, 0.28),
            rgba(10, 8, 7, 0.28)),
        url("../img/wood-dark.jpg") center center / cover no-repeat;
}

/* Карточки на главной:
   "Готовые наборы" / "Щепа по видам" */
.home-category-card {
    background:
        linear-gradient(rgba(10, 8, 7, 0.22),
            rgba(10, 8, 7, 0.22)),
        url("../img/wood-dark.jpg") center center / cover no-repeat;
}

/* Футер */
.site-footer {
    background:
        linear-gradient(rgba(5, 5, 5, 0.48),
            rgba(5, 5, 5, 0.48)),
        url("../img/wood-dark.jpg") center center / cover no-repeat;
}

/* ==========================================================
   ДРЕВЕСНЫЕ КАРТОЧКИ НА ГЛАВНОЙ
   ========================================================== */
.category-card--sets::before,
.category-card--wood::before {
    background:
        linear-gradient(135deg,
            rgba(54, 31, 15, 0.40) 0%,
            rgba(20, 12, 8, 0.62) 100%),
        url("../img/wood-cards.jpg") center center / cover no-repeat;
}

/* Пагинация каталога */
.woocommerce nav.woocommerce-pagination ul {
    border: 0 !important;
    display: flex;
    gap: 8px;
}

.woocommerce nav.woocommerce-pagination ul li {
    border: 0 !important;
    float: none !important;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0 !important;
    background: #fff;
    border: 1px solid #e3ded8;
    border-radius: 8px;
    color: #111 !important;
    font-size: 15px;
    font-weight: 700;
    transition: all 0.2s ease;
}

/* Текущая страница */
.woocommerce nav.woocommerce-pagination ul li span.current {
    background: #ed1c24 !important;
    border-color: #ed1c24 !important;
    color: #fff !important;
}

/* Наведение */
.woocommerce nav.woocommerce-pagination ul li a:hover {
    background: #ed1c24 !important;
    border-color: #ed1c24 !important;
    color: #fff !important;
}

/* Вся пагинация */
.woocommerce nav.woocommerce-pagination {
    margin-top: 40px;
    margin-bottom: 20px;
}

/* Растягиваем поле Имя в оформлении заказа */
.checkout-page #billing_first_name_field,
.checkout-page #billing_email_field,
.checkout-page #billing_country_field,
.checkout-page #billing_address_1_field,
.checkout-page #billing_address_2_field,
.checkout-page #billing_city_field,
.checkout-page #billing_phone_field {
    grid-column: 1 / -1;
}

/* Сообщение WooCommerce "товаров не найдено" */
.catalog-products .woocommerce-info,
.catalog-products .woocommerce-message,
.catalog-products .woocommerce-error {
    margin: 0;
    padding: 18px 20px;
    border: 1px solid #e9dfd7;
    border-left: 4px solid #ed1c24;
    border-radius: 10px;
    background: #fff;
    color: #2b2b2b;
    box-shadow: none;
    font-size: 15px;
    line-height: 1.5;
}

/* Убираем стандартную синюю верхнюю линию WooCommerce */
.catalog-products .woocommerce-info::before,
.catalog-products .woocommerce-message::before,
.catalog-products .woocommerce-error::before {
    color: #ed1c24;
}

/* Убираем стандартный синий border-top */
.catalog-products .woocommerce-info {
    border-top-color: #e9dfd7;
}

.catalog-products .woocommerce-info::before {
    display: none;
}

.catalog-products .woocommerce-info {
    padding-left: 20px;
}

/* API Яндекс список адресов в форме заказа*/
#billing_city_field {
    position: relative;
}

.yandex-city-suggestions {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 99999;

    background: #fff;
    border: 1px solid #ddd;
    border-top: 0;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .12);

    max-height: 260px;
    overflow-y: auto;
}

.yandex-city-suggestion {
    padding: 11px 14px;
    cursor: pointer;
    line-height: 1.35;
}

.yandex-city-suggestion:hover {
    background: #f3f3f3;
}

/* Уведомление на странице оформления заказа о необходимости указать город */
.checkout-delivery-hint {
    margin: 0 0 22px;
    padding: 6px 12px;
    background: #f5efe7;
    border: 1px solid #e1d7ca;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 600;
}

.checkout-delivery-hint strong {
    font-weight: 700;
}

.woocommerce-checkout .form-row input.input-text, .woocommerce-checkout .form-row textarea {
    min-height: 10px !important;
}

/* Декоррирование заголовка Наборы щепы и Ассортимент на странице Наборы щепы */
.section-kicker a,
.sets-hero h1 a,
.sets-products__head h2 a {
    position: relative;
    display: inline-block;
    color: inherit;
    text-decoration: none;
}

.section-kicker a::after,
.sets-hero h1 a::after,
.sets-products__head h2 a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 2px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.section-kicker a:hover::after,
.sets-hero h1 a:hover::after,
.sets-products__head h2 a:hover::after {
    transform: scaleX(1);
}

.sets-benefit--link {
    display: block;
    color: inherit;
    text-decoration: none;
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.sets-benefit--link:hover {
    transform: translateY(-4px);
    border-color: #e31e24;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
}

.sets-benefit--link:hover h3 {
    color: #e31e24;
}

/* Стилизация дополнительной кнопки в каталоге */
.shop-product-card__bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.shop-product-card__price {
    width: 100%;
}

.shop-product-card__actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.shop-product-card__actions .shop-product-card__button {
    width: 100%;
    padding: 9px 6px;
    font-size: 12px;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
    box-sizing: border-box;
}

.shop-product-card__button--details {
    background: transparent !important;
    color: var(--color-red) !important;
    border: 1px solid var(--color-red);
}

.shop-product-card__button--cart {
    background: var(--color-red) !important;
    color: #fff !important;
    border: 1px solid var(--color-red);
}

.shop-product-card .added_to_cart {
    display: none !important;
}

/* Информация на кнопке при добавлении товара */
.shop-product-card__button--cart.is-loading {
    opacity: 0.7;
    pointer-events: none;
    cursor: wait;
}

.shop-product-card__button--cart.is-added {
    opacity: 0.85;
    pointer-events: none;
}

@media (max-width: 700px) {
    .koptim-cart-notice__text {
        font-size: 12px;
    }
    
    .koptim-cart-notice {
        padding: 10px 12px !important;
    }
}

/* Плавающая корзина */
.floating-cart-widget {
    position: fixed;
    top: 35px;
    right: 22px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e31e24;
    color: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    z-index: 9999;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease,
        transform 0.25s ease,
        background-color 0.25s ease;
}

.floating-cart-widget.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.floating-cart-widget:hover {
    background: #c9181d;
}

.floating-cart-widget__icon {
    width: 25px;
    height: 25px;
    display: flex;
}

.floating-cart-widget__icon svg {
    width: 100%;
    height: 100%;
}

.floating-cart-widget__count {
    position: absolute;
    top: -7px;
    right: -7px;
    min-width: 22px;
    height: 22px;
    padding: 0 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #e31e24;
    border: 2px solid #e31e24;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

@media (max-width: 768px) {

    .floating-cart-widget {
        top: 20px;
        right: 14px;
        width: 42px;
        height: 40px;
        border-radius: 10px;
    }

    .floating-cart-widget__icon {
        width: 22px;
        height: 22px;
    }
}

/* Ошибки checkout занимают всю ширину и не ломают сетку */
.checkout-page .woocommerce-NoticeGroup-checkout,
.checkout-page .woocommerce-error,
.checkout-page .woocommerce-notices-wrapper {
    grid-column: 1 / -1;
}

.woocommerce-error, .woocommerce-info, .woocommerce-message {
    display: none !important;
}

.checkout-legal-consents.is-checked:has(input[type="checkbox"]:not(:checked)) {
    border: 1px solid #e31e24;
}

.checkout-legal-consents.is-checked:has(input[type="checkbox"]:not(:checked))::after {
    content: 'Необходимо принять обязательные условия.';
    display: block;
    margin-top: 10px;
    color: #e31e24;
    font-size: 13px;
    line-height: 1.4;
}

#add_payment_method .checkout .checkout-inline-error-message, .woocommerce-cart .checkout .checkout-inline-error-message, .woocommerce-checkout .checkout .checkout-inline-error-message {
    display: none !important;
}