/* =========================================================
   LESTNICY-ALMATY — GLOBAL STYLE
   ========================================================= */

:root {
    --green: #244a2b;
    --green-dark: #193a20;
    --green-light: #6f8c6d;

    --cream: #f7f5ef;
    --cream-2: #f1eee5;

    --white: #ffffff;

    --text: #292823;
    --muted: #77746d;
    --border: #e5e1d7;

    --shadow: 0 8px 28px rgba(36, 44, 31, .08);

    --radius: 10px;
    --container: 1180px;

    --font-body: "Manrope", Arial, sans-serif;
    --font-display: "Cormorant Garamond", Georgia, serif;
}


/* =========================================================
   RESET
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;

    color: var(--text);
    background: #fff;

    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.55;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img {
    display: block;
    width: 100%;
    max-width: 100%;
}

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

button,
input,
textarea,
select {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

.container {
    width: min(calc(100% - 64px), var(--container));
    margin-inline: auto;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    position: relative;
    z-index: 50;

    background: rgba(255, 255, 255, .97);
    border-bottom: 1px solid rgba(229, 225, 215, .8);
}

.header-inner {
    min-height: 74px;

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

    gap: 28px;
}

.logo {
    display: inline-flex;
    align-items: center;

    width: 180px;
    flex-shrink: 0;
}

.logo img {
    width: auto;
    max-width: 180px;
    height: auto;
}


.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: clamp(14px, 2vw, 28px);

    margin-left: auto;

    color: #56564f;

    font-size: 13px;
    font-weight: 600;
}

.main-nav a {
    white-space: nowrap;
    transition: color .2s ease;
}

.main-nav a:hover {
    color: var(--green);
}


.btn {
    min-height: 48px;

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

    padding: 0 25px;

    border: 1px solid var(--green);
    border-radius: 5px;

    background: var(--green);
    color: #fff;

    font-size: 14px;
    font-weight: 600;

    transition:
        background .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}

.btn:hover {
    background: var(--green-dark);

    transform: translateY(-1px);

    box-shadow: 0 7px 20px rgba(36, 74, 43, .18);
}

.btn-small {
    min-height: 40px;
    padding-inline: 18px;
    font-size: 12px;
}

.header-btn {
    margin-left: 4px;
    white-space: nowrap;
}


.menu-toggle {
    display: none;

    width: 42px;
    height: 42px;

    padding: 8px;

    border: 0;
    background: transparent;

    cursor: pointer;
}

.menu-toggle span {
    display: block;

    width: 24px;
    height: 2px;

    margin: 5px auto;

    background: var(--green);
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    position: relative;

    min-height: 505px;

    overflow: hidden;

    background: #f8f6f1;
}

.hero-media {
    position: absolute;
    inset: 0;
}

.hero-media::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(250, 248, 243, .98) 0%,
            rgba(250, 248, 243, .94) 25%,
            rgba(250, 248, 243, .74) 42%,
            rgba(250, 248, 243, .10) 67%,
            rgba(250, 248, 243, 0) 100%
        );
}

.hero-media img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}

.hero-inner {
    position: relative;

    min-height: 505px;

    display: flex;
    align-items: center;
}

.hero-content {
    width: 57%;

    padding: 54px 0 65px;
}

.eyebrow {
    margin: 0 0 15px;

    color: var(--green);

    font-size: 12px;
    letter-spacing: .16em;
    font-weight: 700;
}

.hero h1 {
    max-width: 680px;

    margin: 0;

    font-size: clamp(39px, 4vw, 59px);
    line-height: 1.05;
    font-weight: 600;
    letter-spacing: -.025em;
}

.hero-subtitle {
    margin: 20px 0 22px;

    color: #77746e;

    font-family: var(--font-display);
    font-size: 22px;
}

.check-list {
    list-style: none;

    margin: 0 0 28px;
    padding: 0;

    display: grid;
    gap: 10px;

    color: #66655e;

    font-size: 14px;
}

.check-list li {
    position: relative;
    padding-left: 24px;
}

.check-list li::before {
    content: "✓";

    position: absolute;
    left: 0;

    color: var(--green-light);
    font-weight: 700;
}


/* =========================================================
   GENERAL SECTIONS
   ========================================================= */

.section {
    padding: 82px 0;
}

.section-heading {
    margin-bottom: 38px;
    text-align: center;
}

.section-heading h2 {
    margin: 0 0 7px;

    font-size: clamp(31px, 3vw, 43px);
    line-height: 1.1;
    font-weight: 600;
    letter-spacing: -.02em;
}

.section-heading p {
    margin: 0;

    color: var(--muted);

    font-size: 14px;
}


/* =========================================================
   CATEGORY PAGE
   ========================================================= */

.category-head {
    padding: 30px 0 23px;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;

    margin-bottom: 28px;

    color: #8a887f;

    font-size: 11px;
}

.breadcrumbs a:hover {
    color: var(--green);
}

.category-head h1 {
    margin: 0 0 13px;

    font-family: var(--font-body);
    font-size: clamp(32px, 3vw, 42px);
    line-height: 1.05;
    font-weight: 600;
    letter-spacing: -.025em;
}

.category-intro {
    max-width: 760px;

    margin: 0 0 28px;

    color: #696760;

    font-size: 14px;
    line-height: 1.7;
}


/* =========================================================
   WOOD FILTERS / NAVIGATION
   ========================================================= */

.wood-filters,
.wood-navigation {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 10px;
}

.wood-filters {
    margin-bottom: 30px;
}

.filter-label,
.wood-navigation-label {
    flex-shrink: 0;

    margin-right: 8px;

    color: #222;

    font-size: 14px;
    font-weight: 600;
}

.filter {
    min-width: 68px;

    padding: 10px 17px;

    border: 1px solid #e4e1da;
    border-radius: 9px;

    background: #f4f2ed;
    color: #4e4d48;

    text-align: center;

    font-size: 13px;

    transition: .2s ease;
}

.filter:hover,
.filter.active {
    border-color: var(--green);
    background: var(--green);
    color: #fff;
}


/* =========================================================
   SORTS PAGE NAVIGATION
   ========================================================= */

.wood-navigation {
    margin-bottom: 65px;
}

.wood-navigation-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 10px;
}

.wood-link {
    min-height: 46px;

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

    padding: 0 24px;

    border: 1px solid #e1ded8;
    border-radius: 9px;

    background: #f7f5f1;
    color: #4d4d4d;

    font-size: 14px;

    transition:
        background .25s ease,
        color .25s ease,
        border-color .25s ease,
        transform .25s ease;
}

.wood-link:hover {
    border-color: var(--green);
    color: var(--green);

    transform: translateY(-1px);
}

.wood-link.active,
.wood-link.sorts-link {
    border-color: var(--green);
    background: var(--green);
    color: #fff;
}

.wood-link.sorts-link {
    margin-left: 22px;
}


/* =========================================================
   PRODUCTS TABLE
   ========================================================= */

.products-section {
    padding-bottom: 30px;
}

.products-table-head {
    min-height: 42px;

    display: grid;

    grid-template-columns:
        215px
        minmax(180px, 1.15fr)
        1fr
        .8fr
        190px;

    align-items: center;

    column-gap: 18px;

    padding: 0 18px;

    border-radius: 8px 8px 0 0;

    background: #f5f3ee;
    color: #55534c;

    font-size: 12px;
}

.products-list {
    overflow: hidden;

    border: 1px solid #e8e5de;
    border-top: 0;

    border-radius: 0 0 9px 9px;
}

.product-row {
    min-height: 180px;

    display: grid;

    grid-template-columns:
        215px
        minmax(180px, 1.15fr)
        1fr
        .8fr
        190px;

    align-items: center;

    column-gap: 18px;

    padding: 18px;

    border-bottom: 1px solid #ebe8e0;
}

.product-row:last-child {
    border-bottom: 0;
}


/* Product image */

.product-photo {
    width: 215px;
    height: 140px;

    overflow: hidden;

    border: 1px solid #ddd9d0;
    border-radius: 8px;

    background: #f3f1ec;
}

.product-photo img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* Product name */

.product-name h2 {
    margin: 0 0 8px;

    font-family: var(--font-body);

    font-size: 17px;
    line-height: 1.25;
    font-weight: 600;
}

.product-name p {
    margin: 0;

    color: var(--muted);

    font-size: 13px;
}


/* Sizes / prices */

.product-sizes,
.product-prices {
    display: flex;
    flex-direction: column;

    gap: 8px;

    font-size: 13px;
    line-height: 1.3;
}

.product-prices {
    color: #30302c;
    font-weight: 700;
}


/* Product actions */

.product-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;

    gap: 10px;

    width: 100%;
}

.product-whatsapp {
    width: 100%;
    min-height: 48px;

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

    padding: 0 18px;

    border: 1px solid var(--green);
    border-radius: 5px;

    background: var(--green);
    color: #fff;

    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;

    text-align: center;

    transition: .2s ease;
}

.product-whatsapp:hover {
    background: var(--green-dark);
}

.btn-outline {
    width: 100%;
    min-height: 42px;

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

    padding: 0 18px;

    border: 1px solid #E8B83F;
    border-radius: 5px;

    background: #F2C85B;
    color: #292823;

    font-size: 12px;
    font-weight: 700;

    transition: 0.25s ease;
}

.btn-outline:hover {
    background: #E5B43D;
    border-color: #E5B43D;
    color: #292823;

    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(180, 130, 25, 0.18);
}


/* =========================================================
   CATEGORY CTA
   ========================================================= */

.category-cta {
    padding: 0 0 20px;
}

.category-cta-inner {
    min-height: 108px;

    display: grid;
    grid-template-columns: 42px 1fr auto 130px;
    align-items: center;

    gap: 18px;

    overflow: hidden;

    padding: 15px 18px;

    border: 1px solid #e7e2d8;
    border-radius: 9px;

    background: #f5f2eb;
}

.category-cta-icon {
    width: 32px;
    height: 32px;

    display: grid;
    place-items: center;

    border: 1.5px solid var(--green-light);
    border-radius: 7px;

    color: var(--green);
}

.category-cta-inner h2 {
    margin: 0 0 4px;

    font-size: 13px;
}

.category-cta-inner p {
    margin: 0;

    color: var(--muted);

    font-size: 10px;
}

.category-cta-inner > .btn {
    min-height: 37px;

    padding-inline: 14px;

    font-size: 10px;
}

.category-cta-image {
    height: 108px;

    align-self: stretch;

    margin: -15px -18px -15px 0;
}

.category-cta-image img {
    height: 100%;

    object-fit: cover;
}


/* =========================================================
   CATEGORY INFO
   ========================================================= */

.category-info {
    padding: 70px 0;

    background: var(--cream);
}

.category-info-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 70px;

    align-items: center;
}

.category-info h2 {
    margin: 0;

    font-size: clamp(30px, 3vw, 42px);
    line-height: 1.08;
    font-weight: 600;
}

.category-info p:not(.eyebrow) {
    margin: 0;

    color: var(--muted);

    font-size: 14px;
    line-height: 1.8;
}


/* =========================================================
   MAIN CATALOG
   ========================================================= */

.catalog {
    background: #fff;
}

.catalog-grid {
    display: grid;

    grid-template-columns: repeat(6, 1fr);

    gap: 20px;
}

.product-card {
    grid-column: span 2;

    overflow: hidden;

    border: 1px solid #ebe8df;
    border-radius: var(--radius);

    background: #fff;

    box-shadow: var(--shadow);

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}



.product-card:hover {
    transform: translateY(-4px);

    box-shadow: 0 14px 35px rgba(36, 44, 31, .12);
}

.card-image {
    height: 250px;

    overflow: hidden;

    background: #eae7df;
}

.card-image img {
    height: 100%;

    object-fit: cover;

    transition: transform .4s ease;
}

.product-card:hover .card-image img {
    transform: scale(1.035);
}

.card-body {
    min-height: 126px;

    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 14px;

    padding: 17px 20px 19px;
}

.card-body h3 {
    margin: 0 0 6px;

    font-size: 19px;
    line-height: 1.15;
    font-weight: 600;
}

.card-body p {
    max-width: 235px;

    margin: 0;

    color: var(--muted);

    font-size: 13px;
    line-height: 1.45;
}

.arrow {
    align-self: flex-end;

    flex: 0 0 auto;

    color: var(--green);

    font-size: 24px;
    line-height: 1;
}


/* =========================================================
   ADVANTAGE STRIP
   ========================================================= */

.advantage-strip {
    padding: 0 0 10px;
}

.advantage-strip-inner {
    min-height: 108px;

    display: grid;

    grid-template-columns: 1fr auto 1fr;

    align-items: center;

    padding: 20px 35px;

    border-radius: 16px;

    background: var(--cream);
}

.strip-item {
    display: flex;
    align-items: center;

    gap: 18px;
}

.strip-item strong,
.strip-item span {
    display: block;
}

.strip-item strong {
    margin-bottom: 4px;

    font-family: var(--font-display);
    font-size: 17px;
}

.strip-item span {
    color: #7c7971;
    font-size: 12px;
}

.line-icon {
    color: var(--green-light);

    font-size: 34px;
    line-height: 1;
}

.strip-divider {
    width: 1px;
    height: 55px;

    margin-inline: 32px;

    background: #ddd8ca;
}


/* =========================================================
   WHY US
   ========================================================= */

.why-us {
    margin-top: 32px;

    background: var(--cream);
}

.why-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 30px;
}

.why-item {
    text-align: center;
}

.why-icon {
    width: 58px;
    height: 58px;

    display: grid;
    place-items: center;

    margin: 0 auto 13px;

    color: var(--green-light);

    font-size: 31px;
}

.why-item h3 {
    margin: 0 0 5px;

    font-size: 17px;
    font-weight: 600;
}

.why-item p {
    margin: 0;

    color: #7c7971;

    font-size: 12px;
}


/* =========================================================
   ABOUT
   ========================================================= */

.about {
    background: #fff;
}

.about-grid {
    display: grid;

    grid-template-columns: .88fr 1.12fr;

    align-items: center;

    gap: 70px;
}

.about-content h2 {
    margin: 0 0 22px;

    font-size: clamp(32px, 3vw, 43px);
    line-height: 1.1;
    font-weight: 600;
}

.about-content p {
    max-width: 500px;

    margin: 0 0 28px;

    color: var(--muted);

    font-size: 14px;
    line-height: 1.75;
}

.about-image {
    height: 350px;

    overflow: hidden;

    border-radius: 14px;
}

.about-image img {
    height: 100%;

    object-fit: cover;
}


/* =========================================================
   CTA
   ========================================================= */

.cta {
    position: relative;

    min-height: 285px;

    margin: 0 0 10px;

    overflow: hidden;

    border-radius: 14px;
}

.cta-bg {
    position: absolute;
    inset: 0;
}

.cta-bg::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(27, 30, 24, .72),
            rgba(27, 30, 24, .34)
        );
}

.cta-bg img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.cta-inner {
    position: relative;
    z-index: 1;

    min-height: 285px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    color: #fff;

    text-align: center;
}

.cta-inner h2 {
    margin: 0 0 7px;

    font-size: clamp(33px, 4vw, 47px);
    font-weight: 500;
}

.cta-inner p {
    max-width: 620px;

    margin: 0 0 23px;

    font-size: 14px;
}


/* =========================================================
   PRODUCT PAGE
   ========================================================= */

.product-page {
    padding-bottom: 70px;

    background: #fff;
}

.product-header {
    max-width: 850px;

    margin-bottom: 38px;
}

.product-header .eyebrow {
    margin-bottom: 10px;
}

.product-title {
    margin: 0 0 12px;

    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.05;
    font-weight: 600;
    letter-spacing: -.03em;
}

.product-subtitle {
    max-width: 700px;

    margin: 0;

    color: var(--muted);

    font-size: 15px;
    line-height: 1.65;
}

.product-title-line {
    display: block;
}


/* =========================================================
   PRODUCT MAIN
   ========================================================= */

.product-main {
    display: grid;

    grid-template-columns:
        minmax(0, 1.12fr)
        minmax(360px, .88fr);

    gap: 65px;

    align-items: start;

    margin-bottom: 85px;
}


/* Gallery */

.product-gallery {
    min-width: 0;
}

.product-main-image-wrap {
    width: 100%;
    height: 490px;

    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: 14px;

    background: #f3f1eb;
}

.product-main-image {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.product-thumbs {
    display: grid;

    grid-template-columns: repeat(5, 1fr);

    gap: 10px;

    margin-top: 12px;
}

.product-thumb {
    width: 100%;
    height: 82px;

    padding: 0;

    overflow: hidden;

    border: 1px solid #e2dfd7;
    border-radius: 8px;

    background: #f3f1eb;

    cursor: pointer;

    transition: border-color .2s ease;
}

.product-thumb img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.product-thumb:hover {
    border-color: var(--green-light);
}

.product-thumb.active {
    border: 2px solid var(--green);
}


/* Product info */

.product-info {
    padding: 12px 0;
}

.product-label {
    display: inline-flex;
    align-items: center;

    min-height: 28px;

    padding: 0 11px;

    margin-bottom: 17px;

    border-radius: 5px;

    background: #edf2eb;
    color: var(--green);

    font-size: 11px;
    font-weight: 700;
}

.product-info-title {
    margin: 0 0 6px;

    font-size: 27px;
    line-height: 1.15;
    font-weight: 600;
}

.product-info-sort {
    margin-bottom: 28px;

    color: var(--muted);

    font-size: 13px;
}

.product-info-sort strong {
    color: var(--text);
}


/* =========================================================
   PRODUCT SPECS
   ========================================================= */

.product-specs {
    width: 100%;

    border-top: 1px solid var(--border);
}

.product-spec {
    display: flex;
    justify-content: space-between;

    gap: 25px;

    padding: 13px 0;

    border-bottom: 1px solid var(--border);

    font-size: 13px;
}

.product-spec-name {
    color: var(--muted);
}

.product-spec-value {
    max-width: 55%;

    text-align: right;

    font-weight: 600;
}


/* =========================================================
   PRODUCT PRICE
   ========================================================= */

.product-price-block {
    display: flex;
    align-items: baseline;

    gap: 5px;

    margin-top: 28px;

    color: var(--muted);

    font-size: 13px;
}

.product-price {
    color: var(--text);

    font-size: 30px;
    line-height: 1;
    font-weight: 700;
}

.product-price-note {
    margin: 8px 0 22px;

    color: var(--muted);

    font-size: 11px;
}


/* =========================================================
   WHATSAPP / BUY
   ========================================================= */

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 50px;

    padding: 0 24px;

    border: 1px solid var(--green);
    border-radius: 5px;

    background: var(--green);
    color: #fff;

    font-size: 13px;
    font-weight: 600;

    transition: .2s ease;
}

.whatsapp-btn:hover {
    background: var(--green-dark);

    transform: translateY(-1px);

    box-shadow: 0 8px 22px rgba(36, 74, 43, .16);
}

.product-buy-btn {
    width: 100%;
    min-height: 52px;
}

.product-buy-note {
    margin-top: 11px;

    color: var(--muted);

    font-size: 11px;
    line-height: 1.55;
}


/* =========================================================
   PRODUCT SECTIONS
   ========================================================= */

.product-section {
    padding: 70px 0;

    border-top: 1px solid var(--border);
}

.product-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 30px;

    margin-bottom: 28px;
}

.product-section-heading .eyebrow {
    margin-bottom: 9px;
}

.product-section-heading > p {
    margin: 0 0 5px;

    color: var(--muted);

    font-size: 12px;
}

.section-title {
    margin: 0;

    font-size: clamp(30px, 3vw, 42px);
    line-height: 1.1;
    font-weight: 600;
    letter-spacing: -.025em;
}


/* =========================================================
   SIZES TABLE
   ========================================================= */

.sizes-table-wrapper {
    overflow-x: auto;

    border: 1px solid var(--border);
    border-radius: 10px;
}

.sizes-table {
    width: 100%;
    min-width: 650px;

    border-collapse: collapse;

    font-size: 13px;
}

.sizes-table th {
    padding: 15px 18px;

    background: var(--cream);
    color: #5c5a53;

    font-size: 11px;
    font-weight: 600;

    text-align: left;
}

.sizes-table td {
    padding: 18px;

    border-top: 1px solid var(--border);

    color: #55534d;
}

.sizes-table td:nth-child(2),
.sizes-table td:nth-child(3) {
    color: var(--text);
    font-weight: 700;
}

.sizes-table td:last-child {
    text-align: right;
}

.sizes-table td:last-child a {
    color: var(--green);

    font-size: 11px;
    font-weight: 700;
}

.sizes-table tbody tr:hover td {
    background: #faf9f6;
}


/* =========================================================
   О МАТЕРИАЛЕ
   ========================================================= */

.material-section {
    width: 100%;

    display: grid;

    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);

    gap: 70px;

    align-items: stretch;

    margin-top: 90px;

    padding: 70px;

    border-radius: 8px;

    background: var(--cream);
}

.material-content {
    min-width: 0;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.material-content .section-title {
    margin: 12px 0 28px;

    font-size: clamp(30px, 3vw, 42px);
}

.material-text {
    max-width: 650px;
}

.material-text p {
    margin: 0 0 18px;

    color: #5d5a54;

    font-size: 14px;
    line-height: 1.8;
}

.material-text p:last-child {
    margin-bottom: 0;
}

.material-features {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 24px;

    margin-top: 35px;
    padding-top: 30px;

    border-top: 1px solid rgba(0, 0, 0, .12);
}

.material-feature {
    display: flex;
    flex-direction: column;

    gap: 7px;
}

.material-feature strong {
    color: #292825;

    font-size: 15px;
    font-weight: 600;
}

.material-feature span {
    color: #77736b;

    font-size: 13px;
    line-height: 1.5;
}

.material-image {
    min-width: 0;
    min-height: 500px;

    overflow: hidden;

    border-radius: 6px;
}

.material-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
object-position: right bottom;
}


/* =========================================================
   ADVANTAGES
   ========================================================= */

.product-advantages {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 30px;

    padding: 70px 0;
}

.product-advantage {
    text-align: center;
}

.product-advantage-icon {
    width: 52px;
    height: 52px;

    display: grid;
    place-items: center;

    margin: 0 auto 15px;

    border: 1px solid #bdcbb9;
    border-radius: 50%;

    color: var(--green);

    font-size: 20px;
}

.product-advantage h3 {
    margin: 0 0 6px;

    font-size: 16px;
    font-weight: 600;
}

.product-advantage p {
    max-width: 190px;

    margin: auto;

    color: var(--muted);

    font-size: 11px;
    line-height: 1.55;
}


/* =========================================================
   OTHER PRODUCTS / OTHER SORTS
   ========================================================= */

.other-products {
    margin-top: 90px;
}

.other-products-grid,
.related-products-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 22px;
}

.other-product-card,
.related-product {
    overflow: hidden;

    border: 1px solid #e6e2d9;
    border-radius: 10px;

    background: #fff;

    box-shadow: 0 5px 22px rgba(36, 44, 31, .05);

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.other-product-card:hover,
.related-product:hover {
    transform: translateY(-4px);

    box-shadow: 0 12px 30px rgba(36, 44, 31, .1);
}

.other-product-image,
.related-product-image {
    height: 220px;

    overflow: hidden;

    background: #f1eee8;
}

.other-product-image img,
.related-product-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .5s ease;
}

.other-product-card:hover img,
.related-product:hover img {
    transform: scale(1.04);
}

.other-product-content,
.related-product-body {
    padding: 22px;
}

.other-product-sort,
.related-product-label {
    color: #8a8175;

    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.other-product-content h3,
.related-product-body h3 {
    margin: 8px 0 15px;

    font-family: var(--font-display);

    font-size: 27px;
    line-height: 1.15;
    font-weight: 500;
}

.other-product-price,
.related-product-price {
    color: var(--green);

    font-size: 14px;
    font-weight: 700;
}

.other-product-price span {
    color: var(--muted);

    font-size: 12px;
    font-weight: 400;
}

.other-product-link {
    display: inline-block;

    margin-top: 18px;

    color: #5e5a53;

    font-size: 13px;
}


/* =========================================================
   RELATED PRODUCTS
   ========================================================= */

.related-products {
    padding: 75px 0;

    border-top: 1px solid var(--border);
}

.related-products .section-heading {
    margin-bottom: 35px;
}

.related-product {
    position: relative;
}

.related-product-label {
    position: absolute;

    top: 13px;
    left: 13px;

    z-index: 2;

    padding: 6px 10px;

    border-radius: 5px;

    background: #fff;
    color: var(--green);

    font-weight: 700;
}

.related-product-body {
    min-height: 125px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    gap: 15px;
}

.related-product-body h3 {
    margin: 0 0 6px;

    font-family: var(--font-body);

    font-size: 16px;
    font-weight: 600;
}

.related-product-body p {
    margin: 0;

    color: var(--muted);

    font-size: 11px;
    line-height: 1.45;
}


/* =========================================================
   FAQ
   ========================================================= */

.faq {
    padding-top: 90px;

    background: #fff;
}

.faq-container,
.product-faq {
    max-width: 900px;

    margin-inline: auto;
}

.product-faq {
    padding: 75px 0;
}

.product-faq .faq-header {
    margin-bottom: 35px;

    text-align: center;
}

.product-faq .faq-subtitle {
    margin: 8px 0 0;

    color: var(--muted);

    font-size: 13px;
}

.faq-list {
    border-top: 1px solid var(--border);
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-item summary {
    position: relative;

    padding: 23px 52px 23px 0;

    cursor: pointer;

    list-style: none;

    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";

    position: absolute;

    top: 50%;
    right: 5px;

    transform: translateY(-50%);

    color: var(--green);

    font-family: var(--font-body);
    font-size: 28px;
    font-weight: 300;

    transition: transform .2s ease;
}

.faq-item[open] summary::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
    padding: 0 52px 23px 0;

    color: var(--muted);

    font-size: 14px;
}

.faq-answer p {
    margin: 0;
}


/* Product FAQ */

.product-faq .faq-question {
    width: 100%;

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

    gap: 25px;

    padding: 21px 5px;

    border: 0;

    background: transparent;
    color: var(--text);

    font-family: inherit;
    font-size: 15px;
    font-weight: 600;

    text-align: left;

    cursor: pointer;
}

.product-faq .faq-icon {
    flex: 0 0 auto;

    color: var(--green);

    font-size: 24px;
    font-weight: 300;

    transition: transform .2s ease;
}

.product-faq .faq-item.is-open .faq-icon {
    transform: rotate(45deg);
}

.product-faq .faq-answer {
    display: grid;

    grid-template-rows: 0fr;

    padding: 0 5px;

    overflow: hidden;

    transition: grid-template-rows .25s ease;
}

.product-faq .faq-item.is-open .faq-answer {
    grid-template-rows: 1fr;
}

.product-faq .faq-answer-inner {
    min-height: 0;

    overflow: hidden;
}

.product-faq .faq-answer p {
    margin: 0 0 21px;

    color: var(--muted);

    font-size: 13px;
    line-height: 1.7;
}


/* =========================================================
   FINAL CTA
   ========================================================= */

.product-final-cta {
    margin-top: 10px;

    padding: 55px 30px;

    border-radius: 14px;

    background: var(--cream);

    text-align: center;
}

.product-final-cta .eyebrow {
    margin-bottom: 10px;
}

.product-final-cta h2 {
    margin: 0 0 9px;

    font-size: clamp(28px, 3vw, 39px);
    line-height: 1.1;
    font-weight: 600;
}

.product-final-cta p {
    max-width: 600px;

    margin: 0 auto 23px;

    color: var(--muted);

    font-size: 13px;
    line-height: 1.65;
}

.product-final-cta .btn {
    min-width: 210px;
}


/* =========================================================
   СТРАНИЦА СОРТОВ
   ========================================================= */

.sorts-page {
    padding: 35px 0 100px;
}


/* Intro */

.sorts-intro {
    max-width: 850px;

    margin-bottom: 42px;
}

.sorts-title {
    margin: 0 0 16px;

    /*
       ВАЖНО:
       раньше здесь было до 72px,
       из-за этого страница сортов выглядела
       совершенно иначе остальных страниц.
    */

    font-family: var(--font-body);
    font-size: clamp(32px, 3vw, 42px);
    line-height: 1.05;
    font-weight: 600;
    letter-spacing: -.025em;

    text-transform: uppercase;

    color: var(--text);
}

.sorts-description {
    max-width: 760px;

    margin: 0;

    color: #686868;

    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.7;
}


/* =========================================================
   SORTS SECTION
   ========================================================= */

.sorts-section {
    margin-bottom: 85px;
}

.sorts-section-header {
    margin-bottom: 32px;
}

.sorts-section-header h2 {
    margin: 0 0 8px;

    font-family: var(--font-body);

    font-size: 30px;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: -.02em;

    color: var(--text);
}

.sorts-section-header p {
    margin: 0;

    color: var(--muted);

    font-size: 14px;
    line-height: 1.6;
}


/* =========================================================
   SORTS GRID
   ========================================================= */

.sorts-grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 22px;
}

.sort-card {
    overflow: hidden;

    border: 1px solid #e7e3dc;
    border-radius: 8px;

    background: #fff;

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.sort-card:hover {
    transform: translateY(-4px);

    box-shadow: 0 14px 35px rgba(0, 0, 0, .07);
}


/* Sort image */

.sort-image {
    position: relative;

    width: 100%;
    height: 245px;

    overflow: hidden;

    background: #e7c39a;
}

.sort-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .5s ease;
}

.sort-card:hover .sort-image img {
    transform: scale(1.035);
}


/* Sort content */

.sort-content {
    position: relative;

    padding: 27px 27px 30px;
}

.sort-number {
    position: absolute;

    top: 25px;
    right: 27px;

    font-family: var(--font-display);

    font-size: 22px;
    line-height: 1;

    color: #aaa;
}

.sort-content h3 {
    margin: 0 0 5px;

    font-family: var(--font-display);

    font-size: 38px;
    line-height: 1;
    font-weight: 500;

    color: #222;
}

.sort-label {
    margin-bottom: 20px;

    color: var(--green);

    font-size: 12px;
    line-height: 1.4;
    font-weight: 600;

    letter-spacing: .06em;
    text-transform: uppercase;
}

.sort-content p {
    margin: 0 0 12px;

    color: #666;

    font-size: 14px;
    line-height: 1.65;
}

.sort-use {
    display: flex;
    flex-direction: column;

    gap: 4px;

    margin-top: 22px;
    padding-top: 18px;

    border-top: 1px solid #ebe8e2;

    font-size: 13px;
    line-height: 1.5;
}

.sort-use span {
    color: #999;
}

.sort-use strong {
    color: #333;

    font-weight: 600;
}


/* =========================================================
   SORT CHOICE
   ========================================================= */

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

    gap: 50px;

    padding: 42px 48px;

    border-radius: 8px;

    background: #f4f3ef;
}

.sort-choice-content {
    display: flex;
    align-items: flex-start;

    gap: 25px;

    max-width: 850px;
}

.sort-choice-number {
    flex-shrink: 0;

    color: var(--green);

    font-family: var(--font-display);
    font-size: 22px;
}

.sort-choice-content h2 {
    margin: 0 0 16px;

    color: #222;

    font-size: 30px;
    line-height: 1.2;
    font-weight: 500;
}

.sort-choice-content p {
    margin: 0 0 10px;

    color: #666;

    font-size: 14px;
    line-height: 1.7;
}

.sort-choice-content strong {
    color: #333;
    font-weight: 700;
}

.sort-choice-button {
    flex-shrink: 0;

    min-height: 50px;

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

    padding: 0 28px;

    border-radius: 5px;

    background: var(--green);
    color: #fff;

    font-size: 14px;
    font-weight: 600;

    transition: .25s ease;
}

.sort-choice-button:hover {
    background: var(--green-dark);

    transform: translateY(-2px);
}


/* =========================================================
   FOOTER
   ========================================================= */

.contacts {
    margin-top: 20px;

    padding: 68px 0 55px;

    background: var(--cream);
}

.contacts-grid {
    display: grid;

    grid-template-columns:
        1.25fr
        .8fr
        .8fr
        1.1fr;

    gap: 45px;
}

.footer-logo {
    margin-bottom: 25px;
}

.footer-logo img {
    width: auto;
    max-width: 180px;
}

.footer-logo span {
    font-size: 23px;
}

.footer-description {
    max-width: 300px;

    margin: 0;

    color: var(--muted);

    font-size: 12px;
    line-height: 1.6;
}

.footer-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    gap: 9px;

    color: #6d6a63;

    font-size: 12px;
}

.footer-col h3 {
    margin: 0 0 10px;

    color: var(--text);

    font-size: 17px;
    font-weight: 600;
}

.footer-col a {
    transition: color .2s ease;
}

.footer-col a:hover {
    color: var(--green);
}

.footer-contacts p {
    margin: 0 0 1px;
}

.footer-btn {
    margin-top: 9px;

    min-height: 42px;

    padding-inline: 18px;

    font-size: 12px;
}


/* =========================================================
   FOCUS
   ========================================================= */

:focus-visible {
    outline: 2px solid var(--green-light);
    outline-offset: 3px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

    .products-table-head {
        grid-template-columns:
            145px
            1.1fr
            .9fr
            .7fr
            160px;

        column-gap: 12px;
    }

    .product-row {
        grid-template-columns:
            145px
            1.1fr
            .9fr
            .7fr
            160px;

        column-gap: 12px;

        padding: 14px;
    }

    .product-photo {
        width: 140px;
        height: 115px;
    }

    .product-whatsapp {
        font-size: 11px;
        padding-inline: 12px;
    }

    .btn-outline {
        font-size: 11px;
    }

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

    .sort-choice {
        align-items: flex-start;

        flex-direction: column;
    }

    .sort-choice-button {
        width: 100%;
    }

    .material-section {
        grid-template-columns: 1fr 1fr;

        gap: 45px;

        padding: 45px;
    }

    .material-features {
        grid-template-columns: 1fr;
    }

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


/* =========================================================
   MOBILE HEADER
   ========================================================= */

@media (max-width: 860px) {

    .header-inner {
        min-height: 66px;
    }

    .menu-toggle {
        display: block;
        order: 3;
    }

    .header-btn {
        margin-left: auto;
    }

    .main-nav {
        position: absolute;

        top: 66px;
        left: 0;
        right: 0;

        display: none;

        flex-direction: column;
        align-items: stretch;

        gap: 0;

        padding: 8px 22px 18px;

        background: #fff;

        box-shadow: 0 12px 25px rgba(0, 0, 0, .08);
    }

    .main-nav.is-open {
        display: flex;
    }

    .main-nav a {
        padding: 13px 0;

        border-bottom: 1px solid #eeeae1;
    }

    .category-cta-inner {
        grid-template-columns: 40px 1fr auto;
    }

    .category-cta-image {
        display: none;
    }
}


/* =========================================================
   900 PX
   ========================================================= */

@media (max-width: 900px) {

    .product-main {
        grid-template-columns: 1fr;

        gap: 35px;

        margin-bottom: 55px;
    }

    .product-main-image-wrap {
        height: 430px;
    }

    .product-info {
        max-width: 700px;
    }

    .product-description-grid {
        grid-template-columns: 1fr;

        gap: 30px;
    }

    .product-advantages {
        grid-template-columns: repeat(2, 1fr);
    }

    .related-products-grid,
    .other-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .material-section {
        grid-template-columns: 1fr;

        gap: 40px;
    }

    .material-image {
        min-height: 400px;
    }

    .material-features {
        grid-template-columns: repeat(3, 1fr);
    }

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


/* =========================================================
   760 PX
   ========================================================= */

@media (max-width: 760px) {

    .sorts-page {
        padding: 25px 0 70px;
    }

    .sorts-title {
        font-size: 34px;
    }

    .sorts-description {
        font-size: 14px;
    }

    .wood-navigation {
        align-items: flex-start;

        flex-direction: column;

        gap: 14px;

        margin-bottom: 50px;
    }

    .wood-navigation-links {
        width: 100%;
    }

    .wood-link {
        min-height: 43px;

        padding: 0 18px;
    }

    .wood-link.sorts-link {
        margin-left: 0;
    }

    .sorts-grid {
        grid-template-columns: 1fr;
    }

    .sort-image {
        height: 230px;
    }

    .sort-choice {
        padding: 30px 24px;
    }

    .sort-choice-content {
        gap: 15px;
    }
}


/* =========================================================
   700 PX
   ========================================================= */

@media (max-width: 700px) {

    .container {
        width: min(calc(100% - 30px), var(--container));
    }


    /* Product table */

    .products-table-head {
        display: none;
    }

    .products-list {
        overflow: visible;

        border: 0;
    }

    .product-row {
        grid-template-columns: 108px 1fr;

        grid-template-areas:
            "photo name"
            "photo sizes"
            "photo prices"
            "photo actions";

        align-items: start;

        gap: 7px 15px;

        min-height: 0;

        margin-bottom: 12px;

        padding: 12px;

        border: 1px solid #e8e5de;
        border-radius: 10px;

        box-shadow: 0 5px 18px rgba(36, 44, 31, .05);
    }

    .product-photo {
        grid-area: photo;

        width: 108px;
        height: 90px;

        border-radius: 7px;
    }

    .product-name {
        grid-area: name;
    }

    .product-name h2 {
        margin-bottom: 5px;

        font-size: 13px;
    }

    .product-name p {
        font-size: 10px;
    }

    .product-sizes {
        grid-area: sizes;

        display: grid;

        grid-template-columns: 1fr 1fr;

        gap: 5px 12px;

        font-size: 9px;
    }

    .product-prices {
        grid-area: prices;

        display: grid;

        grid-template-columns: repeat(3, 1fr);

        gap: 5px;

        font-size: 9px;
    }

    .product-actions {
        grid-area: actions;

        flex-direction: row;

        gap: 7px;
    }

    .product-whatsapp,
    .btn-outline {
        width: auto;

        flex: 1;

        min-height: 35px;

        padding: 0 8px;

        font-size: 9px;
    }


    /* Category */

    .category-cta-inner {
        grid-template-columns: 35px 1fr;

        gap: 12px;
    }

    .category-cta-inner > .btn {
        grid-column: 2;

        justify-self: start;
    }


    /* Category info */

    .category-info-grid {
        grid-template-columns: 1fr;

        gap: 25px;
    }


    /* Material */

    .material-section {
        margin-top: 70px;

        padding: 35px 25px;
    }

    .material-image {
        min-height: 330px;
    }

    .material-features {
        grid-template-columns: 1fr;

        gap: 20px;
    }


    /* Product */

    .product-page {
        padding-bottom: 40px;
    }

    .product-header {
        margin-bottom: 28px;
    }

    .product-title {
        font-size: 34px;
    }

    .product-subtitle {
        font-size: 13px;
    }

    .product-main-image-wrap {
        height: 330px;

        border-radius: 10px;
    }

    .product-thumbs {
        gap: 7px;
    }

    .product-thumb {
        height: 60px;

        border-radius: 6px;
    }

    .product-info-title {
        font-size: 23px;
    }

    .product-price {
        font-size: 27px;
    }

    .product-section {
        padding: 50px 0;
    }

    .product-section-heading {
        display: block;
    }

    .product-section-heading > p {
        margin-top: 8px;
    }

    .product-description {
        margin-inline: -15px;

        padding: 50px 15px;
    }

    .product-advantages {
        grid-template-columns: 1fr 1fr;

        gap: 30px 15px;

        padding: 50px 0;
    }

    .related-products,
    .other-products {
        padding: 50px 0;
    }

    .related-products-grid,
    .other-products-grid {
        grid-template-columns: 1fr;
    }

    .related-product-image,
    .other-product-image {
        height: 210px;
    }

    .product-faq {
        padding: 50px 0;
    }

    .product-final-cta {
        padding: 42px 20px;
    }


    /* Footer */

    .contacts {
        padding: 50px 0 40px;
    }

    .contacts-grid {
        grid-template-columns: 1fr 1fr;

        gap: 35px 25px;
    }
}


/* =========================================================
   600 PX
   ========================================================= */

@media (max-width: 600px) {

    .material-section {
        grid-template-columns: 1fr;

        padding: 28px 22px;
    }

    .material-image {
        min-height: 300px;
    }

    .material-text p {
        font-size: 14px;
    }
}


/* =========================================================
   480 PX
   ========================================================= */

@media (max-width: 480px) {

    .sorts-title {
        font-size: 32px;
    }

    .sorts-section-header h2 {
        font-size: 27px;
    }

    .sort-content {
        padding: 23px 21px 25px;
    }

    .sort-content h3 {
        font-size: 34px;
    }

    .sort-image {
        height: 200px;
    }

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


/* =========================================================
   420 PX
   ========================================================= */

@media (max-width: 420px) {

    .header-btn {
        display: none;
    }

    .product-row {
        grid-template-columns: 92px 1fr;
    }

    .product-photo {
        width: 92px;
        height: 78px;
    }

    .product-prices {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-whatsapp,
    .btn-outline {
        font-size: 8.5px;
    }

    .product-title {
        font-size: 30px;
    }

    .product-main-image-wrap {
        height: 270px;
    }

    .product-thumbs {
        grid-template-columns: repeat(4, 1fr);
    }

    .product-thumb:last-child {
        display: none;
    }

    .product-spec {
        flex-direction: column;

        gap: 4px;
    }

    .product-spec-value {
        max-width: none;

        text-align: left;
    }

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

    .product-advantage p {
        max-width: 250px;
    }

    .product-faq .faq-question {
        padding: 18px 3px;

        font-size: 13px;
    }

    .filter-label {
        width: 100%;

        margin-right: 0;
    }

    .filter {
        flex: 1;
    }
}

body > main > div > section.product-section > div.sizes-table-wrapper > table > tbody > tr > td:last-child {
  display: flex;  
}

/* =========================================================
   DELIVERY PAGE
   ========================================================= */

.delivery-page {
    padding: 35px 0 90px;
    background: #fff;
}


/* ---------------------------------------------------------
   HEADER
   --------------------------------------------------------- */

.delivery-header {
    max-width: 850px;
    margin-bottom: 55px;
}

.delivery-header .breadcrumbs {
    margin-bottom: 35px;
}

.delivery-header .eyebrow {
    margin-bottom: 12px;
}

.delivery-title {
    margin: 0 0 18px;
    font-family: "Manrope", sans-serif;
    font-size: clamp(42px, 5vw, 72px);
    line-height: 1;
    font-weight: 500;
    letter-spacing: -.045em;
    color: #222;
}

.delivery-intro {
    max-width: 760px;
    margin: 0;
    color: #686868;
    font-size: 17px;
    line-height: 1.65;
}


/* ---------------------------------------------------------
   DELIVERY CARDS
   --------------------------------------------------------- */

.delivery-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 90px;
}

.delivery-card {
    position: relative;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    padding: 30px;
    overflow: hidden;
    border: 1px solid #e6e2da;
    border-radius: 8px;
    background: #fff;
    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.delivery-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 35px rgba(36, 44, 31, .08);
}

.delivery-card-number {
    position: absolute;
    top: 25px;
    right: 27px;
    font-family: "Cormorant Garamond", serif;
    font-size: 22px;
    color: #aaa;
}

.delivery-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    margin-bottom: 45px;
    border: 1px solid #bdcbb9;
    border-radius: 50%;
    color: var(--green);
    font-size: 22px;
}

.delivery-card h2 {
    margin: 0 0 12px;
    font-size: 23px;
    line-height: 1.2;
    font-weight: 600;
}

.delivery-card p {
    margin: 0;
    color: #77746d;
    font-size: 13px;
    line-height: 1.7;
}

.delivery-card-bottom {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: auto;
    padding-top: 25px;
    border-top: 1px solid #ebe8e1;
}

.delivery-card-bottom span {
    color: #99958d;
    font-size: 11px;
}

.delivery-card-bottom strong {
    color: #333;
    font-size: 12px;
    font-weight: 600;
}


/* ---------------------------------------------------------
   PROCESS
   --------------------------------------------------------- */

.delivery-process {
    padding: 70px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.delivery-process-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 45px;
}

.delivery-process-header .section-title {
    margin: 0;
}

.delivery-process-header > p {
    max-width: 370px;
    margin: 0 0 4px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.65;
}


/* ---------------------------------------------------------
   STEPS
   --------------------------------------------------------- */

.delivery-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.delivery-step {
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding-right: 20px;
    border-right: 1px solid #e5e1d7;
}

.delivery-step:last-child {
    border-right: 0;
}

.delivery-step-number {
    color: var(--green);
    font-family: "Cormorant Garamond", serif;
    font-size: 22px;
}

.delivery-step h3 {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 600;
}

.delivery-step p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.65;
}


/* ---------------------------------------------------------
   INFO
   --------------------------------------------------------- */

.delivery-info {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 80px;
    align-items: start;
    margin-top: 90px;
    padding: 65px;
    border-radius: 8px;
    background: var(--cream);
}

.delivery-info-content h2 {
    margin: 0;
    font-size: clamp(30px, 3vw, 42px);
    line-height: 1.1;
    font-weight: 600;
    letter-spacing: -.025em;
}

.delivery-info-text {
    max-width: 650px;
}

.delivery-info-text p {
    margin: 0 0 18px;
    color: #706d65;
    font-size: 14px;
    line-height: 1.8;
}

.delivery-info-text .btn {
    margin-top: 12px;
}


/* ---------------------------------------------------------
   CTA
   --------------------------------------------------------- */

.delivery-cta {
    margin-top: 90px;
    padding: 65px 30px;
    border-radius: 10px;
    background: #f1eee7;
    text-align: center;
}

.delivery-cta .eyebrow {
    margin-bottom: 10px;
}

.delivery-cta h2 {
    margin: 0 0 12px;
    font-size: clamp(30px, 3vw, 42px);
    line-height: 1.1;
    font-weight: 600;
}

.delivery-cta > p:not(.eyebrow) {
    max-width: 570px;
    margin: 0 auto 25px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.65;
}

.delivery-cta .btn {
    min-width: 210px;
}


/* ---------------------------------------------------------
   DELIVERY MOBILE
   --------------------------------------------------------- */

@media (max-width: 950px) {

    .delivery-options {
        grid-template-columns: 1fr 1fr;
    }

    .delivery-card:last-child {
        grid-column: 1 / -1;
    }

    .delivery-steps {
        grid-template-columns: 1fr 1fr;
        gap: 35px 25px;
    }

    .delivery-step:nth-child(2) {
        border-right: 0;
    }

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

}


@media (max-width: 700px) {

    .delivery-page {
        padding: 25px 0 60px;
    }

    .delivery-header {
        margin-bottom: 40px;
    }

    .delivery-title {
        font-size: 42px;
    }

    .delivery-intro {
        font-size: 15px;
    }

    .delivery-options {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-bottom: 60px;
    }

    .delivery-card:last-child {
        grid-column: auto;
    }

    .delivery-card {
        min-height: 310px;
        padding: 25px;
    }

    .delivery-process {
        padding: 50px 0;
    }

    .delivery-process-header {
        display: block;
        margin-bottom: 35px;
    }

    .delivery-process-header > p {
        margin-top: 12px;
    }

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

    .delivery-step,
    .delivery-step:nth-child(2) {
        padding-right: 0;
        padding-bottom: 30px;
        border-right: 0;
        border-bottom: 1px solid #e5e1d7;
    }

    .delivery-step:last-child {
        padding-bottom: 0;
        border-bottom: 0;
    }

    .delivery-info {
        margin-top: 60px;
        padding: 35px 25px;
    }

    .delivery-cta {
        margin-top: 60px;
        padding: 45px 20px;
    }

}


@media (max-width: 480px) {

    .delivery-title {
        font-size: 35px;
    }

    .delivery-card h2 {
        font-size: 21px;
    }

}

/* =========================================================
   CONTACTS PAGE
   ========================================================= */

.contacts-page {
    padding: 35px 0 90px;
    background: #fff;
}


/* ---------------------------------------------------------
   HEADER
   --------------------------------------------------------- */

.contacts-header {
    max-width: 850px;
    margin-bottom: 55px;
}

.contacts-header .breadcrumbs {
    margin-bottom: 35px;
}

.contacts-header .eyebrow {
    margin-bottom: 12px;
}

.contacts-title {
    margin: 0 0 18px;
    font-family: "Manrope", sans-serif;
    font-size: clamp(42px, 5vw, 72px);
    line-height: 1;
    font-weight: 500;
    letter-spacing: -.045em;
    color: #222;
}

.contacts-intro {
    max-width: 700px;
    margin: 0;
    color: #686868;
    font-size: 17px;
    line-height: 1.65;
}


/* ---------------------------------------------------------
   MAIN CONTACTS
   --------------------------------------------------------- */

.contacts-main {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 25px;
    margin-bottom: 90px;
}


/* ---------------------------------------------------------
   CONTACT DETAILS
   --------------------------------------------------------- */

.contacts-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 1px solid #e5e1d7;
    border-radius: 8px;
    overflow: hidden;
}

.contact-item {
    min-height: 185px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 27px;
    border-right: 1px solid #e5e1d7;
    border-bottom: 1px solid #e5e1d7;
}

.contact-item:nth-child(2n) {
    border-right: 0;
}

.contact-item:nth-child(3),
.contact-item:nth-child(4) {
    border-bottom: 0;
}

.contact-label {
    margin-bottom: 17px;
    color: #8a8175;
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.contact-value {
    margin-bottom: 7px;
    color: #292823;
    font-size: 16px;
    line-height: 1.35;
    font-weight: 600;
}

a.contact-value {
    transition: color .2s ease;
}

a.contact-value:hover {
    color: var(--green);
}

.contact-note {
    margin-top: auto;
    color: #88847c;
    font-size: 11px;
    line-height: 1.5;
}


/* ---------------------------------------------------------
   MAP
   --------------------------------------------------------- */

.contacts-map {
    min-height: 370px;
    overflow: hidden;
    border-radius: 8px;
}

.contacts-map-placeholder {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 370px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(
            135deg,
            #e8e5dd 0%,
            #f4f2ec 48%,
            #e2dfd6 100%
        );
}

.contacts-map-placeholder::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(
            35deg,
            transparent 46%,
            rgba(255,255,255,.65) 47%,
            rgba(255,255,255,.65) 48%,
            transparent 49%
        ),
        linear-gradient(
            125deg,
            transparent 46%,
            rgba(255,255,255,.65) 47%,
            rgba(255,255,255,.65) 48%,
            transparent 49%
        );
    background-size: 130px 130px;
    opacity: .7;
}

.contacts-map-content {
    position: relative;
    z-index: 1;
    max-width: 350px;
    padding: 35px;
    border: 1px solid rgba(255,255,255,.7);
    border-radius: 8px;
    background: rgba(255,255,255,.86);
    text-align: center;
    box-shadow: 0 12px 35px rgba(36,44,31,.08);
}

.contacts-map-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    margin: 0 auto 15px;
    border: 1px solid #bdcbb9;
    border-radius: 50%;
    color: var(--green);
    font-size: 22px;
}

.contacts-map-content h2 {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 600;
}

.contacts-map-content p {
    margin: 0 0 20px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.6;
}


/* ---------------------------------------------------------
   CHANNELS
   --------------------------------------------------------- */

.contact-channels {
    padding: 70px 0;
    border-top: 1px solid var(--border);
}

.contact-channels-header {
    margin-bottom: 35px;
}

.contact-channels-header .eyebrow {
    margin-bottom: 9px;
}

.contact-channel-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.contact-channel {
    position: relative;
    min-height: 210px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 27px;
    border: 1px solid #e5e1d7;
    border-radius: 8px;
    background: #fff;
    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.contact-channel:hover {
    transform: translateY(-4px);
    border-color: #d6d2c8;
    box-shadow: 0 12px 30px rgba(36,44,31,.07);
}

.contact-channel-number {
    position: absolute;
    top: 24px;
    right: 25px;
    color: #aaa;
    font-family: "Cormorant Garamond", serif;
    font-size: 21px;
}

.contact-channel h3 {
    margin: 0 0 8px;
    font-size: 19px;
    font-weight: 600;
}

.contact-channel p {
    max-width: 250px;
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.6;
}

.contact-channel-arrow {
    align-self: flex-end;
    color: var(--green);
    font-size: 23px;
    line-height: 1;
}


/* ---------------------------------------------------------
   INFO
   --------------------------------------------------------- */

.contacts-info {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 80px;
    align-items: start;
    margin-top: 20px;
    padding: 65px;
    border-radius: 8px;
    background: var(--cream);
}

.contacts-info-content h2 {
    margin: 0;
    font-size: clamp(30px, 3vw, 42px);
    line-height: 1.1;
    font-weight: 600;
    letter-spacing: -.025em;
}

.contacts-info-text {
    max-width: 650px;
}

.contacts-info-text p {
    margin: 0 0 18px;
    color: #706d65;
    font-size: 14px;
    line-height: 1.8;
}

.contacts-info-text .btn {
    margin-top: 12px;
}


/* ---------------------------------------------------------
   CONTACTS MOBILE
   --------------------------------------------------------- */

@media (max-width: 950px) {

    .contacts-main {
        grid-template-columns: 1fr;
    }

    .contacts-map {
        min-height: 350px;
    }

    .contact-channel-grid {
        grid-template-columns: 1fr 1fr;
    }

    .contact-channel:last-child {
        grid-column: 1 / -1;
    }

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

}


@media (max-width: 700px) {

    .contacts-page {
        padding: 25px 0 60px;
    }

    .contacts-header {
        margin-bottom: 40px;
    }

    .contacts-title {
        font-size: 42px;
    }

    .contacts-intro {
        font-size: 15px;
    }

    .contacts-details {
        grid-template-columns: 1fr;
    }

    .contact-item,
    .contact-item:nth-child(2),
    .contact-item:nth-child(3) {
        min-height: 150px;
        border-right: 0;
        border-bottom: 1px solid #e5e1d7;
    }

    .contact-item:last-child {
        border-bottom: 0;
    }

    .contacts-map,
    .contacts-map-placeholder {
        min-height: 330px;
    }

    .contacts-map-content {
        max-width: calc(100% - 40px);
        padding: 28px 22px;
    }

    .contact-channels {
        padding: 50px 0;
    }

    .contact-channel-grid {
        grid-template-columns: 1fr;
    }

    .contact-channel:last-child {
        grid-column: auto;
    }

    .contacts-info {
        margin-top: 0;
        padding: 35px 25px;
    }

}


@media (max-width: 480px) {

    .contacts-title {
        font-size: 35px;
    }

    .contact-item {
        padding: 23px;
    }

}


/* ===== Страница породы дерева ===== */

.wood-page {
    padding: 80px 0;
}

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

.wood-page__image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.wood-page__info h1 {
    margin: 0 0 25px;
    font-family: "Cormorant Garamond", serif;
    font-size: 56px;
    font-weight: 500;
    line-height: 1;
}

.wood-page__description {
    margin-bottom: 40px;
    font-size: 17px;
    line-height: 1.7;
}

.wood-page__info h2 {
    margin: 0 0 20px;
    font-family: "Cormorant Garamond", serif;
    font-size: 34px;
    font-weight: 500;
}

.wood-grades {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.wood-grade {
    min-width: 110px;
    padding: 20px;
    border: 1px solid rgba(36, 74, 43, 0.25);
    border-radius: 4px;
    text-align: center;
    transition: 0.3s ease;
}

.wood-grade strong {
    display: block;
    margin-bottom: 5px;
    color: #244a2b;
    font-family: "Cormorant Garamond", serif;
    font-size: 32px;
}

.wood-grade span {
    font-size: 13px;
}

.wood-grade:hover {
    background: #244a2b;
    color: #fff;
}

.wood-grade:hover strong {
    color: #fff;
}

@media (max-width: 860px) {
    .wood-page {
        padding: 50px 0;
    }

    .wood-page__hero {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .wood-page__info h1 {
        font-size: 44px;
    }
}

@media (max-width: 620px) {
    .wood-page__info h1 {
        font-size: 38px;
    }

    .wood-page__description {
        font-size: 15px;
    }
}



/* =====================================================
   ПОПАП СОРТОВ ДРЕВЕСИНЫ
   ===================================================== */

.sort-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.sort-modal.is-open {
    display: flex;
}

.sort-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(20, 30, 24, 0.55);
    backdrop-filter: blur(4px);
}

.sort-modal-window {
    position: relative;
    z-index: 2;
    width: min(900px, 100%);
    max-height: 90vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 18px;
    padding: 50px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.2);
}

.sort-modal-close {
    position: absolute;
    top: 18px;
    right: 20px;

    width: 42px;
    height: 42px;

    border: 1px solid #ddd;
    border-radius: 50%;
    background: #fff;

    font-family: Arial, sans-serif;
    font-size: 28px;
    font-weight: 300;
    line-height: 1;

    cursor: pointer;

    color: #315449;

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

    transition: 0.2s ease;
}

.sort-modal-close:hover {
    background: #315449;
    color: #fff;
}

.sort-modal-header {
    max-width: 650px;
    margin-bottom: 35px;
}

.sort-modal-header .eyebrow {
    margin: 0 0 8px;
}

.sort-modal-header h2 {
    margin: 0 0 12px;
    font-family: "Cormorant Garamond", serif;
    font-size: 48px;
    font-weight: 500;
    line-height: 1;
}

.sort-modal-header p:last-child {
    margin: 0;
    color: #666;
    font-size: 15px;
    line-height: 1.6;
}

.sort-modal-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sort-modal-item {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 30px;

    padding: 20px;

    border: 1px solid #e5e2dc;
    border-radius: 14px;

    background: #faf9f6;
}

.sort-modal-image {
    width: 100%;
    height: 190px;
    overflow: hidden;
    border-radius: 10px;
}

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

.sort-modal-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.sort-modal-number {
    margin-bottom: 5px;
    color: #315449;
    font-size: 13px;
    letter-spacing: 0.08em;
}

.sort-modal-content h3 {
    margin: 0 0 5px;
    font-family: "Cormorant Garamond", serif;
    font-size: 34px;
    font-weight: 500;
}

.sort-modal-label {
    margin-bottom: 12px;
    color: #315449;
    font-size: 13px;
    font-weight: 600;
}

.sort-modal-content p {
    margin: 0 0 10px;
    color: #555;
    font-size: 14px;
    line-height: 1.55;
}

body.sort-modal-open {
    overflow: hidden;
}


/* =====================================================
   КНОПКА СОРТА
   ===================================================== */

button.filter {
    font-family: inherit;
    font-size: inherit;
    cursor: pointer;
}

.category-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-top: 36px;
}

.category-actions .wood-filters {
    margin: 0;
}

.price-list-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;

    min-width: 220px;
    padding: 17px 28px;

    background: #C62828;
    color: #fff;

    border: 1px solid #C62828;
    border-radius: 12px;

    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-decoration: none;

    transition: 0.25s ease;
}

.price-list-btn:hover {
    background: #A91F1F;
    border-color: #A91F1F;
    color: #fff;
}


/* МОБИЛЬНАЯ ВЕРСИЯ */

@media (max-width: 768px) {

    .category-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }

    .price-list-btn {
        width: 100%;
        box-sizing: border-box;
    }

}
/* ===== ПОЛНОЕ ОТОБРАЖЕНИЕ ОБЛОЖЕК СТАТЕЙ ===== */

.la-article .article-cover img {
    display: block;
    width: 100%;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
}