:root {
            --page: min(1440px, calc(100% - 64px));
            --accent: #c9ad68;
            --accent-deep: #9f8349;
            --ink: #28231e;
            --muted: #6f6b66;
            --paper: #f5f1eb;
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            min-height: 100vh;
            background: var(--paper);
            color: var(--ink);
            font-family: "Helvetica Neue", Arial, "Microsoft YaHei", sans-serif;
        }

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

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

        button,
        input {
            font: inherit;
        }

        .hidden {
            display: none !important;
        }

        .productlist-hero {
            color: #fff;
            background: #000;
            overflow: hidden;
        }

        .productlist-hero-inner {
            position: relative;
            display: grid;
            place-items: center;
            width: 100%;
            min-height: clamp(520px, 41.667vw, 800px);
            aspect-ratio: 12 / 5;
            background: url("/skin/static/image/product-bg-category.jpg") center 50% / cover no-repeat;
        }

        .productlist-hero-inner::before {
            content: "";
            position: absolute;
            inset: 0;
            z-index: 0;
            background:
                linear-gradient(rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0.34)),
                radial-gradient(circle at 50% 48%, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.52) 100%);
        }

        .product-hero-card {
            position: relative;
            z-index: 1;
            width: 100%;
            min-height: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: clamp(88px, 8vw, 154px) clamp(28px, 7vw, 148px) clamp(150px, 12vw, 230px);
            text-align: center;
            text-shadow: 0 4px 18px rgba(0, 0, 0, 0.55);
        }

        .product-hero-kicker {
            display: none;
        }

        .productlist-hero h1 {
            max-width: 1300px;
            margin: 0 0 clamp(22px, 2.3vw, 42px);
            font-size: clamp(36px, 4.25vw, 76px);
            line-height: 1.18;
            letter-spacing: 0.015em;
            font-weight: 900;
        }

        .product-hero-copy {
            max-width: 1080px;
            margin: 0;
            color: rgba(255, 255, 255, 0.9);
            font-size: clamp(18px, 1.45vw, 30px);
            font-weight: 700;
            line-height: 1.38;
        }

        .hero-points {
            position: absolute;
            left: 0;
            right: 0;
            bottom: clamp(34px, 4.2vw, 68px);
            z-index: 2;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: center;
            gap: 0;
            list-style: none;
            padding: clamp(18px, 2vw, 30px) clamp(24px, 5vw, 96px);
            background: rgba(0, 0, 0, 0.5);
            font-size: clamp(13px, 1.15vw, 22px);
            line-height: 1.2;
        }

        .hero-points li {
            display: flex;
            align-items: center;
            color: rgba(255, 255, 255, 0.96);
            font-weight: 900;
            letter-spacing: 0.05em;
            text-transform: uppercase;
        }

        .hero-points li:not(:last-child)::after {
            content: "|";
            margin: 0 0.55em;
            color: rgba(255, 255, 255, 0.78);
            font-weight: 700;
            letter-spacing: 0;
        }

        .catalog {
            width: var(--page);
            margin: 50px auto 0;
            display: grid;
            grid-template-columns: 330px minmax(0, 1fr);
            gap: 56px;
            align-items: flex-start;
        }

        .sidebar {
            min-width: 0;
        }

        .search-box {
            position: relative;
            margin-bottom: 38px;
            border-bottom: 1px solid #cfc8ba;
        }

        .search-box input {
            width: 100%;
            padding: 0 40px 17px 0;
            border: 0;
            outline: 0;
            color: #5d5650;
            font-size: 16px;
            background: transparent;
        }

        .search-box i {
            position: absolute;
            right: 7px;
            top: 1px;
            color: #9d9d9d;
            font-size: 20px;
        }

        .category-list {
            display: grid;
            gap: 18px;
        }

        .category-group {
            display: grid;
            gap: 8px;
        }

        .category-title {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 10px;
            width: 100%;
            padding: 0 8px 0 0;
            border: 0;
            background: transparent;
            color: #333;
            font-weight: 900;
            text-align: left;
            text-transform: uppercase;
            cursor: pointer;
        }

        .category-title::before {
            content: "";
            flex: 0 0 auto;
            width: 8px;
            height: 8px;
            margin-top: 0.38em;
            border-radius: 50%;
            background: #111;
        }

        .category-title-main {
            flex: 1;
            min-width: 0;
        }

        .category-name {
            display: block;
            color: #333;
            font-size: 18px;
            font-weight: 900;
            letter-spacing: 0.09em;
            line-height: 1.18;
        }

        .category-label,
        .category-child-note {
            display: none;
        }

        .category-title i {
            color: #b1b1b1;
            font-size: 9px;
            margin-top: 0.38em;
            transition: transform 0.25s ease;
        }

        .category-group.is-collapsed .category-title i {
            transform: rotate(-90deg);
        }

        .category-sub {
            display: grid;
            gap: 8px;
            max-height: 360px;
            overflow: hidden;
            padding: 8px 0 0 20px;
            transition: max-height 0.28s ease, padding 0.28s ease, opacity 0.22s ease;
        }

        .category-group.is-collapsed .category-sub {
            max-height: 0;
            padding-top: 0;
            opacity: 0;
            pointer-events: none;
        }

        .category-child {
            width: 100%;
            border: 0;
            background: transparent;
            color: #828282;
            text-align: left;
            cursor: pointer;
            transition: color 0.25s ease;
        }

        .category-child:hover,
        .category-child.is-active {
            color: #2f2f2f;
        }

        .category-child-name {
            display: block;
            font-size: 15px;
            font-weight: 600;
            letter-spacing: 0.06em;
            line-height: 1.35;
            text-transform: uppercase;
        }

        .news-box {
            margin-top: 72px;
        }

        .sidebar-heading,
        .section-title,
        .products-head h2 {
            color: #2d2b29;
            font-size: clamp(28px, 2.25vw, 40px);
            font-weight: 900;
            letter-spacing: 0.08em;
            line-height: 1.15;
            text-transform: uppercase;
        }

        .sidebar-heading {
            margin-bottom: 18px;
            padding-bottom: 18px;
            border-bottom: 1px solid #bcb6aa;
        }

        .news-list {
            display: grid;
            gap: 26px;
        }

        .news-card {
            display: grid;
            gap: 9px;
            color: #686868;
        }

        .news-card-image {
            overflow: hidden;
            aspect-ratio: 2.4 / 1;
            background: #fff;
        }

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

        .news-card p {
            font-size: 14px;
            font-weight: 800;
            letter-spacing: 0.04em;
            line-height: 1.18;
            text-transform: uppercase;
        }

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

        .products-head {
            margin-bottom: 20px;
            padding-bottom: 14px;
            border-bottom: 1px solid #d2cdc4;
        }

        .product-grid {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 36px 42px;
            align-items: start;
        }

        .product-card {
            display: none;
            color: #333;
            text-align: center;
        }

        .product-card.is-page-visible {
            display: block;
        }

        .product-card-image {
            width: 100%;
            padding: 38px;
            border: 1px solid #d8d8d8;
            background: #fff;
        }

        .product-card-image img {
            width: 100%;
            height: auto;
            object-fit: contain;
        }

        .product-name {
            margin-top: 14px;
            color: #6e6a65;
            font-size: 14px;
            font-weight: 900;
            letter-spacing: 0.035em;
            line-height: 1.18;
            text-transform: uppercase;
        }

        .product-meta {
            margin-top: 5px;
            color: #726c65;
            font-size: 11px;
            line-height: 1.35;
            text-transform: uppercase;
        }

        .product-pagination {
            display: flex;
            justify-content: center;
            gap: 10px;
            margin-top: 38px;
        }

        .product-page-btn {
            width: 34px;
            height: 34px;
            border: 1px solid #c8b37b;
            background: transparent;
            color: #9f8349;
            cursor: pointer;
        }

        .product-page-btn.active {
            background: #c8b37b;
            color: #fff;
        }

        .recommendation {
            width: var(--page);
            margin: 86px auto 98px;
            text-align: center;
        }

        .section-title {
            color: #c7aa62;
        }

        .section-title::after {
            content: "";
            display: block;
            width: 82px;
            height: 3px;
            margin: 18px auto 34px;
            background: #c7aa62;
        }

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

        .recommend-grid .product-card {
            display: block;
        }

        .footer-banner {
            position: relative;
            width: min(1080px, calc(100% - 40px));
            min-height: 220px;
            margin: 0 auto 0;
            display: grid;
            place-items: center;
            overflow: hidden;
            background:
                linear-gradient(rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0.38)),
                url("/skin/static/image/footer-sheep-compressed.gif") center / cover no-repeat;
            color: #fff;
            text-align: center;
        }

        .banner-title {
            max-width: 900px;
            font-size: clamp(32px, 3.3vw, 54px);
            font-weight: 900;
            letter-spacing: 0.02em;
            line-height: 1.08;
            text-transform: uppercase;
        }

        .site-footer {
            margin-top: -70px;
            padding: 118px 24px 30px;
            background:
                linear-gradient(rgba(28, 27, 24, 0.86), rgba(28, 27, 24, 0.94)),
                url("/skin/static/image/footer-yurts-compressed.gif") center / cover no-repeat;
            color: rgba(255, 255, 255, 0.82);
        }

        .footer-inner {
            width: var(--page);
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1.1fr 0.9fr;
            gap: 52px;
            align-items: start;
        }

        .footer-brand {
            color: #fff;
            font-size: 26px;
            font-weight: 900;
            letter-spacing: 0.08em;
        }

        .footer-copy {
            max-width: 560px;
            margin-top: 12px;
            line-height: 1.7;
        }

        .inquiry-form {
            display: grid;
            gap: 12px;
        }

        .inquiry-form input,
        .inquiry-form textarea {
            width: 100%;
            border: 1px solid rgba(255, 255, 255, 0.22);
            background: rgba(255, 255, 255, 0.08);
            color: #fff;
            padding: 11px 13px;
            outline: 0;
        }

        .inquiry-form textarea {
            min-height: 90px;
            resize: vertical;
        }

        .submit-btn {
            border: 0;
            background: #c9ad68;
            color: #211c16;
            padding: 12px 20px;
            font-weight: 800;
            cursor: pointer;
        }

        .copyright {
            width: var(--page);
            margin: 42px auto 0;
            padding-top: 22px;
            border-top: 1px solid rgba(255, 255, 255, 0.16);
            font-size: 13px;
            text-align: center;
        }

        @media (max-width: 1180px) {.catalog {
                grid-template-columns: 280px minmax(0, 1fr);
                gap: 34px;
            }

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

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

        @media (max-width: 768px) {:root {
                --page: calc(100% - 32px);
            }

            .productlist-hero-inner {
                min-height: 560px;
                aspect-ratio: auto;
            }

            .product-hero-card {
                padding: 76px 18px 154px;
            }

            .productlist-hero h1 {
                margin-bottom: 18px;
                font-size: clamp(26px, 7.4vw, 36px);
                line-height: 1.16;
            }

            .product-hero-copy {
                font-size: 15px;
                line-height: 1.45;
            }

            .hero-points {
                bottom: 24px;
                padding: 14px 16px;
                font-size: 12px;
                line-height: 1.45;
            }

            .catalog {
                grid-template-columns: 1fr;
                margin-top: 36px;
            }

            .news-box {
                margin-top: 44px;
            }

            .product-grid,
            .recommend-grid {
                grid-template-columns: 1fr;
                gap: 28px;
            }

            .product-card-image {
                padding: 28px;
            }

            .recommendation {
                margin: 64px auto 74px;
            }

            .footer-inner {
                grid-template-columns: 1fr;
            }
}

.category-child { text-align: left; }
.category-child.is-active { background: transparent; color: #9f8349; box-shadow: none; }
.empty-state { display: none; margin-top: 34px; padding: 28px; border: 1px solid #d8d1c5; background: rgba(255,255,255,0.72); color: #6f6b66; text-align: center; }
.empty-state.is-visible { display: block; }
.productlist-hero-media { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 50%; }
.productlist-hero-inner::before { z-index: 1; }
.product-hero-card { z-index: 2; }
