@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500&display=swap');

:root {
    --site-content-max: 1280px;
    --site-content-pad-x: clamp(20px, 5%, 48px);
    --hero-bento-max: 1320px;
    --font-sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

body {
    font-family: var(--font-sans);
    margin: 0;
    color: #333;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* Шапка */
.header {
    position: relative;
    z-index: 500;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    box-sizing: border-box;
    overflow: visible;
    background: #fff;
}

.header__inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: clamp(16px, 3vw, 40px);
    max-width: var(--site-content-max);
    width: 100%;
    min-height: 48px;
    margin: 0 auto;
    padding: 0 var(--site-content-pad-x);
    box-sizing: border-box;
}

.logo {
    display: flex;
    align-items: flex-end;
    align-self: flex-end;
    line-height: 0;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-img {
    height: clamp(34px, 4.2vw, 44px);
    width: auto;
    display: block;
    vertical-align: middle;
}

.nav {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    flex: 1 1 auto;
    flex-wrap: nowrap;
    gap: clamp(20px, 2.8vw, 40px);
    min-width: 0;
    margin: 0;
    padding: 0 0 1px;
    overflow: visible;
}

.nav > a {
    display: inline-block;
    position: relative;
    margin: 0;
    padding: 0 0 2px;
    line-height: 1.2;
    font-family: inherit;
    font-size: clamp(14px, 1.15vw, 16px);
    letter-spacing: -0.01em;
    text-decoration: none;
    color: #243044;
    font-weight: 600;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.nav .nav-link--parent {
    position: relative;
    margin: 0;
    padding: 0 0 2px;
    line-height: 1.2;
    font-family: inherit;
    font-size: clamp(14px, 1.15vw, 16px);
    letter-spacing: -0.01em;
    text-decoration: none;
    color: #243044;
    font-weight: 600;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.nav > a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1.5px;
    background-color: #1a6fd4;
    clip-path: inset(0 100% 0 0);
    -webkit-clip-path: inset(0 100% 0 0);
    transition:
        clip-path 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        -webkit-clip-path 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        background-color 0.25s ease;
    pointer-events: none;
}

.nav > a:hover {
    color: #1a6fd4;
    text-decoration: none;
}

.nav > a:hover::after {
    clip-path: inset(0 0 0 0);
    -webkit-clip-path: inset(0 0 0 0);
    background-color: #1558a8;
}

.nav .nav-link--parent::before {
    content: '';
    position: absolute;
    left: 0;
    right: 14px;
    bottom: 0;
    height: 1.5px;
    background-color: #1a6fd4;
    clip-path: inset(0 100% 0 0);
    -webkit-clip-path: inset(0 100% 0 0);
    transition:
        clip-path 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        -webkit-clip-path 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        background-color 0.25s ease;
    pointer-events: none;
}

.nav .nav-link--parent:hover {
    color: #1a6fd4;
    text-decoration: none;
}

.nav .nav-link--parent:hover::before {
    clip-path: inset(0 0 0 0);
    -webkit-clip-path: inset(0 0 0 0);
    background-color: #1558a8;
}

.header-actions {
    display: flex;
    align-items: flex-end;
    align-self: flex-end;
    flex-shrink: 0;
    margin-left: auto;
    padding-bottom: 1px;
}

.header-phone {
    display: inline-flex;
    align-items: flex-end;
    gap: 10px;
    color: #1a4d8c;
    font-family: inherit;
    font-size: clamp(13px, 1.05vw, 15px);
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.25;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.25s ease;
}

.header-phone-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(145deg, #eef5fc 0%, #d9e9f8 100%);
    color: #1a6fd4;
    box-shadow: 0 2px 8px rgba(26, 111, 212, 0.12);
    transition:
        background 0.25s ease,
        color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.header-phone-icon svg {
    display: block;
    width: 17px;
    height: 17px;
}

.header-phone:hover {
    color: #1558a8;
    text-decoration: none;
}

.header-phone:hover .header-phone-icon {
    background: linear-gradient(145deg, #1a6fd4 0%, #1558a8 100%);
    color: #fff;
    box-shadow: 0 4px 14px rgba(26, 111, 212, 0.28);
    transform: scale(1.04);
}

.header-phone-text {
    position: relative;
    display: inline-block;
}

.header-phone-text::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 1.5px;
    background-color: #1a6fd4;
    clip-path: inset(0 100% 0 0);
    -webkit-clip-path: inset(0 100% 0 0);
    transition:
        clip-path 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        -webkit-clip-path 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        background-color 0.25s ease;
    pointer-events: none;
}

.header-phone-group:hover .header-phone-text::after {
    clip-path: inset(0 0 0 0);
    -webkit-clip-path: inset(0 0 0 0);
    background-color: #1558a8;
}

.header-phone-group:hover .header-phone-text {
    text-decoration: none;
}

.nav-item--dropdown {
    position: relative;
    margin: 0;
    display: flex;
    align-items: flex-end;
    overflow: visible;
}

.nav-item--dropdown .nav-link--parent {
    display: inline-flex;
    align-items: flex-end;
    gap: 6px;
    padding: 0 0 2px;
}

.nav-item--dropdown .nav-link--parent::after {
    content: '';
    position: static;
    width: auto;
    height: auto;
    background: none;
    clip-path: none;
    -webkit-clip-path: none;
    border: 4px solid transparent;
    border-top-color: currentColor;
    margin: 0 0 3px;
    flex-shrink: 0;
    transition: border-top-color 0.2s ease;
}

.nav-item--dropdown .nav-link--parent:hover::after {
    border-top-color: #1558a8;
    background: none;
    clip-path: none;
    -webkit-clip-path: none;
}

.nav-submenu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 1000;
    min-width: 220px;
    margin: 0;
    padding: 8px 0;
    list-style: none;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    overflow: visible;
    transform: translateY(6px);
    transition:
        opacity 320ms cubic-bezier(0.22, 1, 0.36, 1),
        transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0ms linear 320ms;
}

/* Невидимый мост: курсор не теряет hover при переходе к подменю */
.nav-submenu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 0;
    right: 0;
    height: 8px;
}

.nav-item--dropdown:hover .nav-submenu,
.nav-item--dropdown:focus-within .nav-submenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition:
        opacity 320ms cubic-bezier(0.22, 1, 0.36, 1),
        transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0ms linear 0ms;
}

.nav-submenu li {
    opacity: 0;
    transform: translateY(6px);
    transition:
        opacity 420ms cubic-bezier(0.22, 1, 0.36, 1),
        transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: 0ms;
}

.nav-item--dropdown:hover .nav-submenu li,
.nav-item--dropdown:focus-within .nav-submenu li {
    opacity: 1;
    transform: translateY(0);
}

.nav-item--dropdown:hover .nav-submenu li:nth-child(1),
.nav-item--dropdown:focus-within .nav-submenu li:nth-child(1) {
    transition-delay: 80ms;
}

.nav-item--dropdown:hover .nav-submenu li:nth-child(2),
.nav-item--dropdown:focus-within .nav-submenu li:nth-child(2) {
    transition-delay: 160ms;
}

.nav-item--dropdown:hover .nav-submenu li:nth-child(3),
.nav-item--dropdown:focus-within .nav-submenu li:nth-child(3) {
    transition-delay: 240ms;
}

.nav-item--dropdown:hover .nav-submenu li:nth-child(4),
.nav-item--dropdown:focus-within .nav-submenu li:nth-child(4) {
    transition-delay: 320ms;
}

.nav-item--dropdown:hover .nav-submenu li:nth-child(n + 5),
.nav-item--dropdown:focus-within .nav-submenu li:nth-child(n + 5) {
    transition-delay: 400ms;
}

@media (prefers-reduced-motion: reduce) {
    .nav-submenu,
    .nav-submenu li {
        transition: none;
    }

    .nav-item--dropdown:hover .nav-submenu li,
    .nav-item--dropdown:focus-within .nav-submenu li {
        transition-delay: 0ms;
    }
}

.nav-submenu a {
    display: block;
    padding: 10px 18px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    white-space: nowrap;
    transition: color 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-submenu a:hover {
    color: #1a6fd4;
    text-decoration: none;
}

@media (max-width: 1100px) {
    .product-page {
        --product-site-header-height: 64px;
    }

    .header {
        gap: 16px;
        min-height: 64px;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .nav {
        gap: 14px;
    }

    .nav > a,
    .nav .nav-link--parent {
        font-size: 14px;
        padding: 0 0 2px;
    }

    .nav-item--dropdown .nav-link--parent {
        padding: 0 0 2px;
    }

    .header-phone-icon {
        width: 32px;
        height: 32px;
    }

    .header-phone-icon svg {
        width: 15px;
        height: 15px;
    }
}

@media (max-width: 860px) {
    .header__inner {
        flex-wrap: wrap;
        justify-content: center;
        row-gap: 12px;
    }

    .logo {
        order: 1;
    }

    .header-actions {
        order: 2;
        margin-left: 0;
    }

    .nav {
        order: 3;
        flex: 1 1 100%;
        flex-wrap: wrap;
        justify-content: center;
        row-gap: 4px;
    }
}

/* Баннер категории на всю ширину */
.category-hero {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    line-height: 0;
    background: #0c0c0c;
    overflow: hidden;
}

.category-hero-img {
    display: block;
    width: 100%;
    aspect-ratio: 1920 / 600;
    object-fit: cover;
    object-position: center;
}

@media (min-width: 901px) {
    .category-hero-img {
        max-height: 600px;
        height: auto;
    }
}

/* Первый экран: Bento Grid */
.hero-bento {
    padding: clamp(16px, 2.5vw, 28px) 5% 0;
    background: #fff;
}

.hero-bento.is-hidden {
    display: none;
}

.bento-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(240px, 1fr);
    gap: clamp(10px, 1.2vw, 14px);
    max-width: var(--hero-bento-max);
    margin: 0 auto;
    min-height: clamp(360px, 36vw, 520px);
}

.bento-cell--hero {
    min-height: 0;
    border-radius: 18px;
    overflow: hidden;
}

.bento-aside {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: clamp(10px, 1.2vw, 14px);
    min-height: 0;
}

.bento-tile {
    position: relative;
    display: block;
    min-height: 0;
    border-radius: 18px;
    overflow: hidden;
    color: #fff;
    text-decoration: none;
    background: #1a1a1a;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.bento-tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.16);
}

.bento-tile:focus-visible {
    outline: 2px solid #1a6fd4;
    outline-offset: 3px;
}

.bento-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.bento-tile::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.05) 0%,
        rgba(0, 0, 0, 0.45) 100%
    );
    pointer-events: none;
}

.bento-tile-content {
    position: absolute;
    inset: auto 0 0 0;
    z-index: 1;
    padding: clamp(14px, 2vw, 22px);
}

.bento-tile-label {
    display: block;
    margin-bottom: 4px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.82);
}

.bento-tile-title {
    display: block;
    font-size: clamp(1.15rem, 1.4vw + 0.5rem, 1.65rem);
    font-weight: 700;
    line-height: 1.15;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.bento-tile--scales img {
    object-position: center top;
    background: #f4f6f8;
}

/* Баннер (главная плитка) */
.hero-composite {
    margin: 0;
    padding: 0;
    line-height: normal;
    background: #0c0c0c;
    height: 100%;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.hero-bento .hero-scene {
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: clamp(360px, 36vw, 520px);
    max-height: none;
}

.hero-scene {
    position: relative;
    overflow: hidden;
    min-height: clamp(360px, 52vw, 600px);
    max-height: min(92vh, 680px);
}

.hero-bg-picture {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg,
.hero-bg-picture img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Затемнение слева под белый текст */
.hero-scene::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.62) 0%,
        rgba(0, 0, 0, 0.45) 26%,
        rgba(0, 0, 0, 0.22) 46%,
        transparent 72%
    );
}

.hero-caption {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    color: #fff;
}

.hero-caption-top {
    position: absolute;
    top: 0;
    left: 0;
    padding: clamp(14px, 3vw, 40px) clamp(16px, 4vw, 56px);
}

.hero-caption-main {
    position: absolute;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    transform: none;
    padding: 0 clamp(16px, 4vw, 56px) clamp(28px, 5vw, 52px);
}

.hero-headline {
    margin: 0;
    max-width: min(16em, 88vw);
    text-align: left;
    font-weight: 700;
    font-size: clamp(1.75rem, 2.6vw + 1rem, 3.25rem);
    line-height: 1.12;
    letter-spacing: 0.01em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5), 0 0 1px rgba(0, 0, 0, 0.85);
}

.hero-caption .hero-slogan {
    margin: 0;
    text-align: left;
    max-width: min(22em, 88vw);
    font-size: clamp(1.05rem, 1.35vw + 0.75rem, 1.65rem);
    letter-spacing: 0.045em;
    line-height: 1.35;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55), 0 0 1px rgba(0, 0, 0, 0.8);
}

@media (max-width: 900px) {
    .bento-grid {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .hero-bento .hero-scene {
        min-height: clamp(300px, 78vw, 420px);
    }

    .bento-aside {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        min-height: clamp(150px, 42vw, 220px);
    }

    .hero-scene::after {
        background: linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.58) 0%,
            rgba(0, 0, 0, 0.38) 38%,
            rgba(0, 0, 0, 0.14) 58%,
            transparent 82%
        );
    }

    .hero-caption-top {
        padding: clamp(12px, 3vw, 24px) clamp(16px, 4vw, 32px);
    }

    .hero-caption .hero-slogan {
        font-size: clamp(0.95rem, 3.2vw + 0.5rem, 1.25rem);
        line-height: 1.4;
    }

    .hero-headline {
        font-size: clamp(1.45rem, 5.5vw + 0.35rem, 2.15rem);
        max-width: min(14em, 92vw);
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: stretch;
    box-sizing: border-box;
    padding: clamp(14px, 3vw, 40px) clamp(16px, 4vw, 56px);
    background: linear-gradient(
        90deg,
        rgba(6, 8, 7, 0.93) 0%,
        rgba(6, 8, 7, 0.75) min(38%, 380px),
        rgba(6, 8, 7, 0.35) 52%,
        transparent 72%
    );
}

.hero-panel {
    position: relative;
    z-index: 1;
    width: min(100%, 560px);
    max-width: min(92vw, 560px);
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: clamp(10px, 1.5vw, 18px);
    overflow: auto;
    background: none;
    padding: 0;
}

.hero-panel-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px 20px;
}

.hero-brand-title {
    font-weight: 800;
    font-size: clamp(1.35rem, 2.2vw + 0.4rem, 2.25rem);
    letter-spacing: 0.04em;
    line-height: 1;
}

.hero-brand-letter {
    position: relative;
    display: inline-block;
}

.hero-brand-drop {
    position: absolute;
    left: 0.08em;
    top: 0.12em;
    width: 0.38em;
    height: 0.48em;
    background: linear-gradient(180deg, #3a9eff 0%, #1a6fd4 100%);
    border-radius: 50% 50% 50% 50% / 58% 58% 42% 42%;
    transform: rotate(-14deg);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.hero-brand-sub {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    font-size: clamp(0.55rem, 0.35vw + 0.55rem, 0.7rem);
    letter-spacing: 0.14em;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 600;
}

.hero-brand-line {
    width: 14px;
    height: 2px;
    background: #e07020;
    flex-shrink: 0;
}

.hero-slogan {
    margin: 0;
    max-width: 18em;
    font-size: clamp(0.55rem, 0.4vw + 0.52rem, 0.72rem);
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.35;
    text-align: right;
    color: #fff;
}

.hero-slogan-accent {
    color: #3a9eff;
}

.hero-title {
    margin: 0;
    font-weight: 700;
    font-size: clamp(1rem, 1.1vw + 0.85rem, 1.65rem);
    line-height: 1.22;
    letter-spacing: 0.02em;
    text-transform: none;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
}

.hero-title-accent {
    color: #3a9eff;
    font-weight: 800;
}

.hero-features {
    list-style: none;
    margin: auto 0 0;
    padding: 0;
    display: grid;
    gap: clamp(8px, 1vw, 12px);
}

.hero-features li {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 10px;
    align-items: start;
    font-size: clamp(0.62rem, 0.25vw + 0.58rem, 0.78rem);
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.hero-ficon {
    color: #3a9eff;
    flex-shrink: 0;
    margin-top: 1px;
    filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.35));
}

.hero-ficon svg {
    display: block;
}

.hero-ftext strong {
    display: block;
    color: #3a9eff;
    font-size: 0.92em;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
}

@media (max-width: 900px) {
    .hero-scene {
        min-height: clamp(420px, 120vw, 560px);
        max-height: none;
    }

    .hero-overlay {
        align-items: flex-end;
        padding-bottom: clamp(20px, 5vw, 36px);
        background: linear-gradient(
            180deg,
            transparent 0%,
            rgba(6, 8, 7, 0.25) 35%,
            rgba(6, 8, 7, 0.88) 100%
        );
    }

    .hero-panel {
        width: 100%;
        max-width: none;
        max-height: 58%;
        margin-top: auto;
    }

    .hero-slogan {
        text-align: left;
        max-width: none;
    }

    .hero-panel-head {
        flex-direction: column;
    }
}

/* Категории */
.categories {
    padding: 50px 5%;
    text-align: center;
    box-sizing: border-box;
}

.categories h2 {
    max-width: var(--hero-bento-max);
    margin-left: auto;
    margin-right: auto;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(10px, 1.2vw, 14px);
    max-width: var(--hero-bento-max);
    margin: 30px auto 0;
}

a.category-item,
.category-item {
    display: block;
    background: #f9f9f9;
    padding: 30px;
    border-radius: 15px;
    transition: 0.3s;
    color: inherit;
    text-decoration: none;
}

a.category-item:hover,
.category-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.category-item .icon { font-size: 40px; margin-bottom: 15px; }
.category-item h3 { margin: 0; font-size: 1rem; color: #222; }

/* Блок товаров */
.top-products { padding: 50px 5%; background-color: #fff; text-align: center; }

.catalog-filter-note {
    margin: 0 auto 12px;
    max-width: 720px;
    font-size: 14px;
    color: #555;
}

.catalog-filter-note a {
    color: #1a5fb4;
    font-weight: 600;
}

.catalog-status {
    color: #888;
    font-size: 14px;
    margin-bottom: 8px;
}

/* Наши бренды */
.brands-section {
    margin-top: 32px;
    padding: 56px 5% 48px;
    background: #fff;
    text-align: center;
    border-top: 1px solid #eee;
    overflow: visible;
}

.brands-section h2 {
    margin: 0 0 28px;
    font-size: clamp(18px, 2.5vw, 22px);
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #1a2f1f;
}

.brands-strip {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 24px 40px;
    max-width: 1100px;
    margin: 0 auto;
    overflow-x: auto;
    overflow-y: visible;
    padding: 16px 12px 20px;
    scrollbar-width: none;
}

.brands-strip::-webkit-scrollbar {
    display: none;
}

.brand-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-width: 120px;
    min-height: 56px;
    padding: 12px 20px;
    border: 1px solid #eee;
    border-radius: 12px;
    background: #f9fafb;
    text-decoration: none;
    transition: border-color 0.25s, box-shadow 0.25s;
}

.brand-logo:hover {
    border-color: rgba(26, 95, 180, 0.35);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
}

.brand-logo img {
    height: 36px;
    width: auto;
    max-width: 130px;
    object-fit: contain;
    display: block;
    transition: transform 0.35s ease;
    transform-origin: center center;
}

.brand-logo:hover img {
    transform: scale(1.04);
}

.brand-logo img.brand-logo-img--boost {
    height: 40px;
    max-width: 160px;
}

.brand-logo img.brand-logo-img--datamars {
    height: 44px;
    max-width: 190px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.top-products .product-grid + .product-grid {
    margin-top: 28px;
}

.top-products .catalog-category-promo {
    --pd-navy: #0c2340;
    --pd-accent: #1a4d8c;
    --pd-line: rgba(12, 35, 64, 0.08);
    --pd-radius: 18px;
    --pd-ease: cubic-bezier(0.22, 1, 0.36, 1);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 18px rgba(12, 35, 64, 0.045);
    transition:
        box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    text-align: left;
    color: inherit;
    text-decoration: none;
}

.product-card:hover,
.product-card:focus-within {
    box-shadow: 0 6px 28px rgba(12, 35, 64, 0.07);
}

.product-card-cta {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    margin-top: 0;
}

.product-card-cta__link {
    display: inline-flex;
    align-items: center;
    gap: 0.35em;
    font-size: 14px;
    font-weight: 600;
    color: #1a4d8c;
}

.product-card-cta__arrow {
    display: inline-block;
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-card:hover .product-card-cta__arrow,
.product-card:focus-within .product-card-cta__arrow {
    transform: translateX(3px);
}

.product-image {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

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

.product-image--hover .product-image__primary,
.product-image--hover .product-image__hover {
    transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-image--hover .product-image__hover {
    position: absolute;
    inset: 0;
    opacity: 0;
}

@media (hover: hover) {
    .product-card:hover .product-image--hover .product-image__primary,
    .product-card:focus-within .product-image--hover .product-image__primary {
        opacity: 0;
    }

    .product-card:hover .product-image--hover .product-image__hover,
    .product-card:focus-within .product-image--hover .product-image__hover {
        opacity: 1;
    }
}

.product-image--placeholder img {
    object-fit: contain;
    object-position: center;
    padding: 12px;
    box-sizing: border-box;
}

.product-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 15px;
}

.product-info h3 {
    margin: 0;
    font-size: 16px;
    line-height: 1.35;
    color: #222;
}

.brand {
    font-size: 12px;
    color: #888;
    margin: 5px 0 0;
    flex: 1;
}

.product-card .price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 12px;
    margin-bottom: 12px;
}

.price { font-weight: bold; font-size: 18px; color: #333; }

.rating { color: #f39c12; font-size: 14px; }

.buy-btn {
    width: 75%;
    margin-left: auto;
    margin-right: auto;
    display: block;
    background-color: #3498db;
    color: white;
    border: none;
    padding: 7.5px 14px;
    border-radius: 999px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s ease;
    line-height: 1.2;
    text-align: center;
}

.buy-btn:hover { background-color: #2980b9; }

/* Почему выбирают AGRALMARKET.COM */
.why-us {
    padding: 48px 5% 56px;
    background: linear-gradient(180deg, #f6f8f6 0%, #eef2ee 100%);
    text-align: center;
    border-top: 1px solid #e4e8e4;
}

.why-us-title {
    margin: 0 0 36px;
    font-size: clamp(1.1rem, 1.2vw + 0.75rem, 1.55rem);
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #1a2f1f;
    line-height: 1.3;
}

.why-us-brand {
    color: #2d5a27;
    white-space: nowrap;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.why-us-card {
    background: #fff;
    border: 1px solid #e8ebe8;
    border-radius: 14px;
    padding: 24px 20px;
    transition: box-shadow 0.25s, transform 0.2s;
}

.why-us-card:hover {
    box-shadow: 0 12px 28px rgba(45, 90, 39, 0.1);
    transform: translateY(-3px);
}

.why-us-icon {
    font-size: clamp(2.75rem, 3.5vw, 3.25rem);
    line-height: 1;
    margin-bottom: 16px;
}

.why-us-card h3 {
    margin: 0 0 10px;
    font-size: 1rem;
    color: #2d5a27;
    font-weight: 700;
}

.why-us-card p {
    margin: 0;
    font-size: 0.88rem;
    color: #555;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Отзывы клиентов */
.reviews {
    padding: 48px 5% 56px;
    background: #fff;
    text-align: center;
    border-top: 1px solid #eee;
}

.reviews-title {
    margin: 0 0 32px;
    font-size: clamp(1.05rem, 1vw + 0.75rem, 1.4rem);
    font-weight: 800;
    letter-spacing: 0.1em;
    color: #1a2f1f;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.review-card {
    margin: 0;
    padding: 20px 20px 22px;
    background: #f9faf9;
    border: 1px solid #e8ebe8;
    border-radius: 14px;
    border-left: 4px solid #2d5a27;
    display: grid;
    grid-template-columns: 88px 1fr;
    grid-template-rows: auto auto;
    gap: 14px 16px;
    align-items: start;
}

.review-photo-wrap {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #dfeadf;
    box-shadow: 0 4px 14px rgba(45, 90, 39, 0.12);
    flex-shrink: 0;
}

.review-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.review-footer {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-self: center;
    min-width: 0;
}

.review-text {
    grid-column: 1 / -1;
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.5;
    color: #333;
    font-style: normal;
}

.review-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: #1a2f1f;
}

.review-role {
    font-size: 0.78rem;
    color: #777;
}

.review-stars {
    margin-top: 8px;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    color: #f39c12;
}

.review-star-dim {
    opacity: 0.35;
}

/* Подвал сайта — premium industrial */
.site-footer {
    position: relative;
    margin-top: 0;
    padding: 72px 0 40px;
    overflow: hidden;
    font-family: 'Inter', 'Manrope', system-ui, -apple-system, sans-serif;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.68);
    background:
        radial-gradient(ellipse 80% 55% at 0% 0%, rgba(38, 88, 160, 0.22) 0%, transparent 58%),
        linear-gradient(165deg, #071426 0%, #0b1b33 48%, #09172d 100%);
    -webkit-font-smoothing: antialiased;
}

.site-footer__glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 8% 12%, rgba(72, 130, 210, 0.14) 0%, transparent 42%),
        radial-gradient(circle at 92% 88%, rgba(12, 35, 64, 0.35) 0%, transparent 50%);
}

.site-footer-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: clamp(32px, 4vw, 72px);
    row-gap: clamp(40px, 5vw, 56px);
    width: 100%;
    max-width: var(--site-content-max);
    margin: 0 auto;
    padding: 0 var(--site-content-pad-x);
    box-sizing: border-box;
}

.site-footer__grid {
    display: contents;
}

.site-footer-col {
    min-width: 0;
}

.site-footer-heading {
    margin: 0 0 22px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.92);
}

.site-footer-links,
.site-footer-contacts {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer-links li {
    margin-bottom: 14px;
}

.site-footer-links li:last-child {
    margin-bottom: 0;
}

.site-footer-links a {
    display: inline-block;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.01em;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.68);
    text-decoration: none;
    transition: color 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-footer-links a:hover {
    color: rgba(255, 255, 255, 1);
}

.site-footer-contacts li {
    margin-bottom: 16px;
}

.site-footer-contacts li:last-child {
    margin-bottom: 0;
}

.site-footer-contact {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.68);
    text-decoration: none;
    transition: color 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-footer-contact:hover {
    color: rgba(255, 255, 255, 1);
}

.site-footer-contact__icon {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    opacity: 0.72;
    transition: opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-footer-contact:hover .site-footer-contact__icon {
    opacity: 1;
}

.site-footer-bar {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: subgrid;
    align-items: center;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer-copy,
.site-footer-legal,
.site-footer-tagline {
    margin: 0;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.48);
}

.site-footer-copy {
    grid-column: 1;
    justify-self: start;
}

.site-footer-legal {
    grid-column: 2 / 4;
    justify-self: center;
    text-align: center;
}

.site-footer-legal a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: color 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-footer-legal a:hover {
    color: rgba(255, 255, 255, 0.92);
}

.site-footer-tagline {
    grid-column: 4;
    justify-self: end;
    text-align: right;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.42);
}

@media (max-width: 1024px) {
    .site-footer-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 36px;
        row-gap: 40px;
    }

    .site-footer-copy {
        grid-column: 1;
        grid-row: 1;
    }

    .site-footer-tagline {
        grid-column: 2;
        grid-row: 1;
    }

    .site-footer-legal {
        grid-column: 1 / -1;
        grid-row: 2;
    }
}

@media (max-width: 640px) {
    .site-footer {
        padding-top: 56px;
    }

    .site-footer-inner {
        grid-template-columns: 1fr;
        row-gap: 36px;
    }

    .site-footer-bar {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 14px;
        text-align: center;
    }

    .site-footer-copy,
    .site-footer-legal,
    .site-footer-tagline {
        grid-column: auto;
        grid-row: auto;
        justify-self: center;
        text-align: center;
    }
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .product-grid, .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

@media (max-width: 520px) {
    .product-grid {
        grid-template-columns: 1fr;
    }

    .why-us-grid {
        grid-template-columns: 1fr;
    }

    .review-card {
        grid-template-columns: 72px 1fr;
        gap: 12px 14px;
    }

    .review-photo-wrap {
        width: 72px;
        height: 72px;
    }
}

/* Страница товара — premium */
.product-page {
    --pd-navy: #0c2340;
    --pd-navy-soft: #163a63;
    --pd-accent: #1a4d8c;
    --pd-text: #1a2332;
    --pd-muted: #6b7785;
    --pd-line: rgba(12, 35, 64, 0.08);
    --pd-surface: #ffffff;
    --pd-radius: 18px;
    --pd-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --product-site-header-height: 72px;
    --product-sticky-bar-height: 60px;

    font-family: 'Manrope', 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--pd-text);
    background: linear-gradient(180deg, #fafbfc 0%, #f5f7fa 42%, #ffffff 100%);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.product-page .header {
    position: relative;
    z-index: 700;
    overflow: visible;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: none;
    box-shadow: none;
}

.product-page .header__inner {
    font-family: var(--font-sans);
}

.product-page .nav,
.product-page .nav-item--dropdown {
    overflow: visible;
}

.product-page .nav-submenu {
    z-index: 1100;
}

.product-page .product-main {
    max-width: var(--site-content-max);
    margin: 0 auto;
    padding: clamp(20px, 3vw, 32px) var(--site-content-pad-x) 80px;
}

.product-breadcrumb {
    font-size: 13px;
    font-weight: 500;
    color: var(--pd-muted);
    margin-bottom: clamp(20px, 3vw, 32px);
    letter-spacing: 0.01em;
}

.product-breadcrumb a {
    color: var(--pd-accent);
    text-decoration: none;
    transition: color 0.25s var(--pd-ease);
}

.product-breadcrumb a:hover {
    color: var(--pd-navy);
}

.product-status {
    color: var(--pd-muted);
    font-size: 15px;
    font-weight: 500;
}

.product-detail {
    display: flex;
    flex-direction: column;
    gap: clamp(32px, 4vw, 48px);
    align-items: stretch;
}

.product-detail-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(300px, 420px);
    gap: clamp(28px, 4vw, 48px);
    align-items: start;
}

.product-sticky-header {
    position: sticky;
    top: 0;
    z-index: 600;
    width: 100%;
    margin: 0;
    padding: 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: none;
    border-bottom: 1px solid var(--pd-line);
    box-shadow: none;
}

.product-sticky-header.hidden {
    display: none;
}

.product-sticky-header__inner {
    display: flex;
    align-items: center;
    gap: clamp(12px, 2.5vw, 24px);
    max-width: var(--site-content-max);
    margin: 0 auto;
    padding: 10px var(--site-content-pad-x);
    box-sizing: border-box;
}

.product-sticky-header__title {
    flex: 1;
    min-width: 0;
    margin: 0;
    font-size: clamp(1.0625rem, 2.2vw, 1.3125rem);
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: var(--pd-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-sticky-header__actions {
    display: flex;
    align-items: center;
    gap: clamp(12px, 2vw, 20px);
    flex-shrink: 0;
}

.product-sticky-header__price {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.product-sticky-header__price .product-detail-price {
    flex: none;
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    line-height: 1.1;
}

.product-sticky-header__buy.buy-btn {
    width: auto;
    min-width: 0;
    white-space: nowrap;
}

.product-detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: clamp(18px, 2.2vw, 24px);
    min-width: 0;
    position: sticky;
    top: var(--product-sticky-bar-height);
    align-self: start;
}

.product-detail-sidebar .product-detail-block--specs,
.product-detail-sidebar .product-detail-commerce {
    opacity: 1;
}

.product-buybox-sticky {
    position: sticky;
    top: var(--product-sticky-bar-height);
    z-index: 20;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    box-sizing: border-box;
    will-change: transform;
}

.product-buybox-fade {
    opacity: var(--buybox-secondary-opacity, 1);
}

.product-buybox-fade--soft {
    opacity: var(--buybox-soft-opacity, 1);
}

@media (prefers-reduced-motion: reduce) {
    .product-buybox-sticky,
    .product-gallery-sticky {
        transform: none !important;
        will-change: auto;
    }

    .product-buybox-fade,
    .product-buybox-fade--soft {
        opacity: 1 !important;
    }
}

.product-detail-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: clamp(20px, 2.5vw, 28px);
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
}

.product-detail-content:not(:has(.product-detail-block:not(.hidden))) {
    display: none;
}

/* Галерея */
.product-detail-gallery {
    display: block;
    min-width: 0;
}

.product-detail-image-stage {
    position: relative;
    min-width: 0;
    aspect-ratio: 1 / 1;
    border-radius: var(--pd-radius);
    overflow: visible;
    background: linear-gradient(
        165deg,
        #ffffff 0%,
        #f8fafc 38%,
        #eef2f6 100%
    );
    isolation: isolate;
}

.product-detail-image-stage::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        radial-gradient(ellipse 80% 55% at 50% 28%, rgba(255, 255, 255, 0.95) 0%, transparent 72%),
        radial-gradient(ellipse 60% 40% at 85% 15%, rgba(200, 220, 245, 0.35) 0%, transparent 55%),
        radial-gradient(ellipse 50% 35% at 10% 80%, rgba(220, 230, 240, 0.25) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.product-detail-image-stage::after {
    content: '';
    position: absolute;
    left: 12%;
    right: 12%;
    bottom: 6%;
    height: 14%;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(12, 35, 64, 0.14) 0%, transparent 72%);
    filter: blur(14px);
    pointer-events: none;
    z-index: 0;
}

.product-detail-image-wrap {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-width: 0;
    padding: clamp(20px, 4vw, 36px);
    box-sizing: border-box;
    border: none;
    border-radius: inherit;
    overflow: visible;
    background: transparent;
}

.product-detail-image-wrap img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    filter:
        drop-shadow(0 32px 48px rgba(12, 35, 64, 0.14))
        drop-shadow(0 12px 24px rgba(12, 35, 64, 0.1))
        drop-shadow(0 4px 8px rgba(12, 35, 64, 0.06));
    transition:
        transform 0.55s var(--pd-ease),
        filter 0.55s var(--pd-ease);
}

.product-detail-image-stage:hover .product-detail-image-wrap img {
    transform: translateY(-6px) scale(1.015);
    filter:
        drop-shadow(0 40px 56px rgba(12, 35, 64, 0.16))
        drop-shadow(0 16px 28px rgba(12, 35, 64, 0.11))
        drop-shadow(0 4px 10px rgba(12, 35, 64, 0.07));
}

.product-gallery-lines {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 16px 0 0;
    padding: 0;
}

.product-gallery-line {
    position: relative;
    width: 28px;
    height: 20px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
}

.product-gallery-line::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 22px;
    height: 2px;
    border-radius: 1px;
    background: rgba(12, 35, 64, 0.2);
    transform: translate(-50%, -50%);
    transition:
        width 0.28s var(--pd-ease),
        background-color 0.28s var(--pd-ease);
}

.product-gallery-line:hover::after {
    background: rgba(12, 35, 64, 0.38);
}

.product-gallery-line.is-active::after {
    width: 32px;
    background: #4f5d6b;
}

.product-gallery-line:focus-visible {
    outline: none;
}

.product-gallery-line:focus-visible::after {
    box-shadow: 0 0 0 2px rgba(79, 93, 107, 0.35);
}

/* Панель покупки (внутри motion-обёртки) */
.product-detail-info {
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.product-detail-gallery-slot {
    flex-shrink: 0;
    min-width: 0;
}

.product-gallery-sticky {
    position: relative;
    z-index: 0;
}

.product-gallery-scaler {
    transform-origin: top center;
    will-change: transform;
    backface-visibility: hidden;
}

.product-buybox-scaler {
    transform-origin: top center;
    will-change: transform;
    backface-visibility: hidden;
}

.product-detail-brand {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--pd-muted);
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.product-detail-sku {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    color: var(--pd-muted);
    letter-spacing: 0.02em;
}

.product-detail-commerce {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 4px;
    border-radius: calc(var(--pd-radius) + 4px);
    border: 1px solid rgba(12, 35, 64, 0.1);
    background:
        linear-gradient(168deg, rgba(255, 255, 255, 0.99) 0%, rgba(248, 250, 252, 0.97) 52%, rgba(241, 246, 252, 0.95) 100%);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 20px 44px -18px rgba(12, 35, 64, 0.14);
    overflow: hidden;
}

.product-detail-commerce .product-detail-prices {
    margin: 0;
    padding: 22px 22px 18px;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    border-bottom: 1px solid rgba(12, 35, 64, 0.08);
}

.product-detail-commerce .product-detail-buy-wrap {
    margin: 0;
    padding: 18px 18px 14px;
}

.product-detail-commerce .product-buybox-trust {
    margin: 0;
    padding: 16px 14px 14px;
    border: none;
    border-radius: 0;
    border-top: 1px solid rgba(12, 35, 64, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, rgba(248, 250, 252, 0.35) 100%);
    box-shadow: none;
}

.product-detail-prices {
    margin: 0 0 24px;
    padding: 24px 28px;
    background: var(--pd-surface);
    border: 1px solid var(--pd-line);
    border-radius: var(--pd-radius);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.product-detail-prices::before {
    content: 'Стоимость';
    display: block;
    margin-bottom: 8px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--pd-muted);
}

.product-detail-price-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}

.product-detail-price {
    margin: 0;
    flex: 1;
    min-width: 0;
    font-size: clamp(1.75rem, 2.8vw, 2.25rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--pd-navy);
    font-variant-numeric: tabular-nums;
}

.product-price-vat {
    flex-shrink: 0;
    align-self: center;
    padding: 8px 14px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--pd-navy-soft);
    white-space: nowrap;
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f6 100%);
    border: 1px solid rgba(12, 35, 64, 0.1);
    border-radius: 999px;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 2px 8px rgba(12, 35, 64, 0.04);
}

.product-detail-old-price {
    margin: 12px 0 0;
    font-size: 1rem;
    font-weight: 500;
    color: var(--pd-muted);
    text-decoration: line-through;
    font-variant-numeric: tabular-nums;
}

.product-detail-buy-wrap {
    margin: 0 0 24px;
}

.product-detail-sidebar .product-detail-actions {
    margin-top: 4px;
}

.product-buybox-trust {
    margin: 0 0 32px;
    padding: 18px 16px 16px;
    border-radius: calc(var(--pd-radius) + 2px);
    border: 1px solid rgba(12, 35, 64, 0.08);
    background:
        linear-gradient(165deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.96) 100%);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 12px 32px -12px rgba(12, 35, 64, 0.1);
}

.product-buybox-trust__eyebrow {
    margin: 0 0 14px;
    padding: 0 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--pd-muted);
}

.product-buybox-trust__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
}

.product-buybox-trust__item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 8px 10px 4px;
    text-align: center;
}

.product-buybox-trust__item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 12%;
    right: 0;
    width: 1px;
    height: 76%;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(12, 35, 64, 0.1) 18%,
        rgba(12, 35, 64, 0.1) 82%,
        transparent 100%
    );
}

.product-buybox-trust__icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    color: var(--pd-accent);
    background: linear-gradient(145deg, #f0f5fa 0%, #e8eef5 100%);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 4px 12px rgba(12, 35, 64, 0.06);
}

.product-buybox-trust__icon svg {
    width: 20px;
    height: 20px;
}

.product-buybox-trust__icon--stock {
    color: #1a7a4a;
    background: linear-gradient(145deg, #eef8f1 0%, #dcf3e4 100%);
}

.product-buybox-trust__icon--warranty {
    color: var(--pd-accent);
    background: linear-gradient(145deg, #eef4fa 0%, #dfeaf5 100%);
}

.product-buybox-trust__icon--delivery {
    color: #5c4a9e;
    background: linear-gradient(145deg, #f3f0fa 0%, #e8e2f5 100%);
}

.product-buybox-trust__text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.product-buybox-trust__label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--pd-muted);
    line-height: 1.3;
}

.product-buybox-trust__value {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--pd-text);
    line-height: 1.35;
}

.product-detail-lead {
    margin: 0 0 8px;
    font-size: 1.05rem;
    font-weight: 400;
    line-height: 1.65;
    color: #3d4a57;
    letter-spacing: 0.01em;
}

.product-detail-actions {
    margin-top: 20px;
    padding-top: 0;
    border-top: none;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
}

.product-page .product-detail-buy.buy-btn {
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 10px 22px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: #fff;
    background: linear-gradient(180deg, var(--pd-accent) 0%, var(--pd-navy) 100%);
    border: none;
    border-radius: 12px;
    box-shadow:
        0 4px 14px rgba(12, 35, 64, 0.22),
        0 1px 0 rgba(255, 255, 255, 0.12) inset;
    cursor: pointer;
    transition:
        transform 0.4s var(--pd-ease),
        box-shadow 0.4s var(--pd-ease),
        background 0.4s var(--pd-ease);
}

.product-detail-buy-wrap .product-detail-buy.buy-btn {
    width: 100%;
}

.product-page .product-detail-buy.buy-btn:hover {
    background: linear-gradient(180deg, var(--pd-navy-soft) 0%, var(--pd-navy) 100%);
    transform: translateY(-2px);
    box-shadow:
        0 12px 28px rgba(12, 35, 64, 0.28),
        0 1px 0 rgba(255, 255, 255, 0.12) inset;
}

.product-page .product-detail-buy.buy-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(12, 35, 64, 0.2);
}

.product-detail-back {
    font-size: 14px;
    font-weight: 500;
    color: var(--pd-accent);
    text-decoration: none;
    transition: color 0.25s var(--pd-ease), opacity 0.25s var(--pd-ease);
}

.product-detail-back:hover {
    color: var(--pd-navy);
    text-decoration: none;
    opacity: 0.85;
}

.product-detail-block {
    margin: 0;
    padding: clamp(22px, 2.8vw, 32px) clamp(20px, 2.6vw, 28px);
    background: var(--pd-surface);
    border: 1px solid var(--pd-line);
    border-radius: calc(var(--pd-radius) + 4px);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.92) inset,
        0 16px 36px -14px rgba(12, 35, 64, 0.09);
}

.product-detail-sidebar .product-detail-block--specs {
    background: linear-gradient(168deg, #ffffff 0%, #fafcfe 100%);
}

.product-detail-content .product-detail-block--desc {
    border-left: 4px solid rgba(12, 35, 64, 0.14);
    background: linear-gradient(165deg, #ffffff 0%, #fafbfc 100%);
}

.product-detail-content .product-detail-block--desc h2 {
    margin-bottom: clamp(20px, 2.5vw, 28px);
    font-size: clamp(1.375rem, 2.2vw, 1.625rem);
}

.product-detail-block-eyebrow {
    margin: 0 0 8px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--pd-accent);
}

.product-detail-block h2 {
    margin: 0 0 clamp(16px, 2vw, 22px);
    font-size: clamp(1.125rem, 1.8vw, 1.375rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.2;
    color: var(--pd-text);
}

.product-detail-sidebar .product-detail-block--specs h2 {
    font-size: clamp(1.125rem, 1.7vw, 1.3125rem);
}

.product-detail-sidebar .specs-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.product-detail-sidebar .spec-card {
    padding: 14px 16px;
    background: linear-gradient(165deg, #ffffff 0%, #f8fafc 100%);
}

.product-detail-sidebar .spec-card-icon {
    width: 37px;
    height: 37px;
    border-radius: 9px;
}

.product-detail-sidebar .spec-card-icon svg {
    width: 19px;
    height: 19px;
}

.product-detail-content .product-detail-description {
    max-width: 72ch;
}

.product-detail-specs {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

.specs-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
}

.spec-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    background: #fff;
    border: 1px solid rgba(12, 35, 64, 0.08);
    border-radius: 14px;
    transition: border-color 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.spec-card:hover {
    border-color: rgba(26, 77, 140, 0.2);
    box-shadow: 0 8px 24px rgba(12, 35, 64, 0.06);
}

.spec-card-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 11px;
    background: linear-gradient(145deg, #f0f5fa 0%, #e8eef5 100%);
    color: #1a4d8c;
}

.spec-card-icon svg {
    display: block;
    width: 22px;
    height: 22px;
}

.spec-card-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.4;
    color: #333;
}

.spec-card-label,
.spec-card-value,
.product-detail-specs .specs-unit {
    font: inherit;
    line-height: inherit;
}

.spec-card-label {
    color: #666;
}

.spec-card-value {
    color: #222;
    word-break: break-word;
}

.product-detail-specs .specs-unit {
    color: #555;
}

@media (max-width: 520px) {
    .specs-cards,
    .product-detail-sidebar .specs-cards {
        grid-template-columns: 1fr;
    }

    .product-detail-commerce .product-buybox-trust__list {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .product-detail-commerce .product-buybox-trust__item:not(:last-child)::after {
        display: none;
    }

    .product-detail-commerce .product-buybox-trust__item {
        flex-direction: row;
        align-items: center;
        text-align: left;
        padding: 10px 8px;
    }
}

/* Описание товара — лёгкая типографика для длинного текста */
.product-page .product-detail-description {
    font-size: clamp(0.9375rem, 1.05vw, 1.0625rem);
    font-weight: 400;
    line-height: 1.85;
    color: #5f6b78;
    letter-spacing: 0.018em;
    -webkit-font-smoothing: antialiased;
}

.product-page .product-description-prose {
    max-width: none;
}

.product-page .product-description-prose :is(h1, h2, h3, h4, h5, h6) {
    display: block;
    clear: both;
    width: 100%;
    font-weight: 600;
    color: #243044;
    letter-spacing: -0.02em;
    line-height: 1.3;
    margin: 0;
    margin-top: clamp(2.25rem, 4.5vw, 3.25rem);
    margin-bottom: 0;
    padding-bottom: 0;
}

.product-page .product-description-prose :is(h1, h2, h3, h4, h5, h6):first-child {
    margin-top: 0;
}

.product-page .product-description-prose h1 {
    font-size: clamp(1.5rem, 2.5vw, 1.875rem);
}

.product-page .product-description-prose h2 {
    font-size: clamp(1.375rem, 2.2vw, 1.625rem);
}

.product-page .product-description-prose h3 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
}

.product-page .product-description-prose h4 {
    font-size: clamp(1.125rem, 1.65vw, 1.3125rem);
    color: #3d4f63;
}

.product-page .product-description-prose h5,
.product-page .product-description-prose h6 {
    font-size: clamp(1.0625rem, 1.4vw, 1.1875rem);
    color: #3d4f63;
}

/* Текст и списки — всегда с новой строки после заголовка */
.product-page .product-description-prose :is(h1, h2, h3, h4, h5, h6) + :is(p, ul, ol, blockquote, pre, table) {
    display: block;
    margin-top: 1em;
}

.product-page .product-description-prose p {
    display: block;
    margin: 0 0 1.35em;
    color: #5f6b78;
    line-height: 1.85;
}

.product-page .product-description-prose p:last-child {
    margin-bottom: 0;
}

.product-page .product-description-prose :is(ul, ol) {
    margin: 0 0 1.35em;
    padding-left: 1.35em;
    color: #5f6b78;
}

.product-page .product-description-prose ul {
    list-style-type: disc;
}

.product-page .product-description-prose ol {
    list-style-type: decimal;
}

.product-page .product-description-prose li {
    margin: 0.55em 0;
    padding-left: 0.2em;
    color: #5f6b78;
    line-height: 1.8;
}

.product-page .product-description-prose li::marker {
    color: #9aa5b3;
}

/* Псевдозаголовки в маркированных списках — слева иконка вместо • */
.product-page .product-description-prose ul:has(> li > .desc-pseudo-heading--with-icon) {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
}

.product-page .product-description-prose ul > li:has(> .desc-pseudo-heading--with-icon) {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
}

.product-page .product-description-prose ul > li:has(> .desc-pseudo-heading--with-icon)::marker {
    content: '';
}

.product-page .product-description-prose li > :is(ul, ol) {
    margin-top: 0.5em;
    margin-bottom: 0.25em;
}

.product-page .product-description-prose strong {
    font-weight: 500;
    color: #3d4f63;
}

/* Псевдо-заголовки вида **Название:** в абзаце или пункте списка */
.product-page .product-description-prose .desc-pseudo-heading {
    font-size: clamp(1.125rem, 1.85vw, 1.4375rem);
    font-weight: 600;
    color: #243044;
    letter-spacing: -0.02em;
    line-height: 1.35;
    margin-top: clamp(1.75rem, 3.5vw, 2.5rem);
    margin-bottom: 0;
}

.product-page .product-description-prose .desc-pseudo-heading--with-icon {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.product-page .product-description-prose .desc-pseudo-heading--plain {
    display: block;
}

.product-page .product-description-prose .desc-pseudo-heading--with-icon .desc-pseudo-heading__icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-top: 0.05em;
    border-radius: 12px;
    color: var(--pd-accent);
    background: linear-gradient(145deg, #f0f5fa 0%, #e8eef5 100%);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 4px 12px rgba(12, 35, 64, 0.06);
}

.product-page .product-description-prose .desc-pseudo-heading--with-icon .desc-pseudo-heading__icon svg {
    display: block;
    width: 22px;
    height: 22px;
}

.product-page .product-description-prose .desc-pseudo-heading--with-icon .desc-pseudo-heading__text {
    flex: 1;
    min-width: 0;
    padding-top: 0.4em;
}

.product-page .product-description-prose .desc-pseudo-heading--with-icon.desc-pseudo-heading--thermo .desc-pseudo-heading__icon {
    color: #c45c26;
    background: linear-gradient(145deg, #fff5ee 0%, #ffe8d6 100%);
}

.product-page .product-description-prose .desc-pseudo-heading--flow .desc-pseudo-heading__icon {
    color: #1a6eb5;
    background: linear-gradient(145deg, #eef6fc 0%, #dceefb 100%);
}

.product-page .product-description-prose .desc-pseudo-heading--shield .desc-pseudo-heading__icon {
    color: #1a7a4a;
    background: linear-gradient(145deg, #eef8f1 0%, #dcf3e4 100%);
}

.product-page .product-description-prose .desc-pseudo-heading--service .desc-pseudo-heading__icon {
    color: #5c4a9e;
    background: linear-gradient(145deg, #f3f0fa 0%, #e8e2f5 100%);
}

.product-page .product-description-prose .desc-pseudo-heading--economy .desc-pseudo-heading__icon,
.product-page .product-description-prose .desc-pseudo-heading--growth .desc-pseudo-heading__icon {
    color: #1a4d8c;
    background: linear-gradient(145deg, #eef4fa 0%, #dfeaf5 100%);
}

.product-page .product-description-prose .desc-pseudo-heading--health .desc-pseudo-heading__icon {
    color: #b42318;
    background: linear-gradient(145deg, #fef3f2 0%, #fde8e6 100%);
}

.product-page .product-description-prose .desc-pseudo-heading--durability .desc-pseudo-heading__icon {
    color: #3d4f63;
    background: linear-gradient(145deg, #f4f6f8 0%, #e8ecf0 100%);
}

.product-page .product-description-prose .desc-pseudo-heading--tech .desc-pseudo-heading__icon {
    color: #1a4d8c;
    background: linear-gradient(145deg, #f0f5ff 0%, #e0ebff 100%);
}

.product-page .product-description-prose .desc-pseudo-body {
    display: block;
    margin-top: 0.85em;
}

.product-page .product-description-prose :is(p, ol > li) > .desc-pseudo-body,
.product-page .product-description-prose .desc-pseudo-heading--plain + .desc-pseudo-body {
    padding-left: 0;
}

.product-page .product-description-prose ul > li > .desc-pseudo-body {
    padding-left: calc(42px + 14px);
}

.product-page .product-description-prose p:has(> .desc-pseudo-heading:first-child:last-child) {
    margin-top: clamp(1.75rem, 3.5vw, 2.5rem);
}

.product-page .product-description-prose p:has(> .desc-pseudo-heading:first-child:last-child):first-child {
    margin-top: 0;
}

.product-page .product-description-prose p:has(> .desc-pseudo-heading:first-child:last-child) > .desc-pseudo-heading {
    margin-top: 0;
}

.product-page .product-description-prose :is(p, li) > .desc-pseudo-heading:first-child:not(:last-child) {
    margin-top: clamp(1.75rem, 3.5vw, 2.5rem);
}

.product-page .product-description-prose > :first-child .desc-pseudo-heading,
.product-page .product-description-prose > :first-child:is(.desc-pseudo-heading) {
    margin-top: 0;
}

.product-page .product-description-prose li .desc-pseudo-heading {
    margin-top: 1.25em;
}

.product-page .product-description-prose li:first-child > .desc-pseudo-heading {
    margin-top: 0;
}

.product-page .product-description-prose ul > li > .desc-pseudo-body {
    margin-top: 0.65em;
}

@media (max-width: 520px) {
    .product-page .product-description-prose .desc-pseudo-heading--with-icon {
        gap: 12px;
    }

    .product-page .product-description-prose .desc-pseudo-heading--with-icon .desc-pseudo-heading__icon {
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }

    .product-page .product-description-prose .desc-pseudo-heading--with-icon .desc-pseudo-heading__icon svg {
        width: 20px;
        height: 20px;
    }

    .product-page .product-description-prose ul > li > .desc-pseudo-body {
        padding-left: calc(36px + 12px);
    }
}

.product-page .product-description-prose a {
    color: var(--pd-accent);
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: rgba(26, 77, 140, 0.35);
    text-underline-offset: 3px;
    transition: color 0.2s var(--pd-ease), text-decoration-color 0.2s var(--pd-ease);
}

.product-page .product-description-prose a:hover {
    color: var(--pd-navy-soft);
    text-decoration-color: rgba(12, 35, 64, 0.45);
}

.product-page .product-description-prose blockquote {
    margin: 1.5em 0;
    padding: 1em 1.25em;
    border-left: 3px solid rgba(12, 35, 64, 0.12);
    border-radius: 0 10px 10px 0;
    background: rgba(12, 35, 64, 0.03);
    color: #6b7785;
    line-height: 1.8;
}

.product-page .product-description-prose code {
    font-size: 0.88em;
    padding: 0.12em 0.4em;
    border-radius: 5px;
    background: rgba(12, 35, 64, 0.05);
    color: #3d4f63;
}

.product-page .product-description-prose pre {
    margin: 1.25em 0;
    padding: 1.1em 1.25em;
    overflow-x: auto;
    border-radius: 10px;
    background: rgba(12, 35, 64, 0.04);
    font-size: 0.88em;
    line-height: 1.65;
}

.product-page .product-description-prose pre code {
    padding: 0;
    background: transparent;
}

.product-page .product-description-prose hr {
    margin: 2em 0;
    border: 0;
    border-top: 1px solid rgba(12, 35, 64, 0.1);
}

.hidden {
    display: none !important;
}

.product-category-promo {
    margin-top: clamp(40px, 5vw, 56px);
    width: 100%;
}

.product-category-promo__head {
    margin: 0 0 clamp(32px, 4vw, 48px);
    padding: clamp(24px, 3vw, 36px) 0;
    border-bottom: 1px solid var(--pd-line);
}

.product-category-promo__title {
    margin: 0;
    font-family: inherit;
    font-size: clamp(1.625rem, 3.2vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--pd-navy);
    white-space: nowrap;
}

@media (max-width: 720px) {
    .product-category-promo__title {
        font-size: clamp(1.25rem, 4.2vw, 1.625rem);
        white-space: normal;
    }
}

.product-category-banner__link {
    position: relative;
    display: block;
    width: 100%;
    min-height: clamp(320px, 42vw, 480px);
    line-height: 0;
    border-radius: var(--pd-radius);
    overflow: hidden;
    border: none;
    background: #1a1a1a;
    box-shadow: 0 24px 64px rgba(12, 35, 64, 0.14);
    transition:
        transform 0.35s var(--pd-ease),
        box-shadow 0.35s var(--pd-ease);
}

.product-category-banner__link:hover {
    transform: translateY(-2px);
    box-shadow: 0 28px 72px rgba(12, 35, 64, 0.18);
}

.product-category-banner__link:focus-visible {
    outline: 2px solid var(--pd-accent);
    outline-offset: 3px;
}

.product-category-banner__img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.product-page .related-products {
    margin-top: clamp(40px, 5vw, 64px);
    padding-top: 48px;
    border-top: 1px solid var(--pd-line);
}

.product-page .related-products-header {
    text-align: left;
}

.product-page .related-products h2 {
    margin: 0;
    font-size: clamp(1.5rem, 2.2vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: var(--pd-text);
}

.product-page .related-products-subtitle {
    margin: 10px 0 0;
    max-width: 36em;
    font-size: clamp(0.95rem, 1.1vw, 1.05rem);
    font-weight: 500;
    line-height: 1.5;
    color: var(--pd-muted);
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 28px;
    max-width: none;
}

@media (max-width: 900px) {
    .product-detail-hero {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .product-detail-gallery-slot {
        order: 1;
    }

    .product-detail-sidebar {
        order: 2;
    }

    .product-detail-sidebar {
        position: static;
    }

    .product-gallery-sticky {
        position: static;
    }

    .product-gallery-scaler {
        transform: none !important;
    }

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

    .product-skeleton .product-detail-hero {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 640px) {
    .product-sticky-header__inner {
        flex-wrap: wrap;
        row-gap: 8px;
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .product-sticky-header__title {
        flex: 1 1 100%;
    }

    .product-sticky-header__actions {
        flex: 1 1 100%;
        justify-content: space-between;
    }

    .product-sticky-header__buy.buy-btn {
        padding: 9px 16px;
        font-size: 13px;
    }
}

@media (max-width: 520px) {
    .product-gallery-lines {
        gap: 5px;
        margin-top: 14px;
    }

    .product-gallery-line {
        width: 24px;
    }

    .product-gallery-line::after {
        width: 18px;
    }

    .product-gallery-line.is-active::after {
        width: 26px;
    }

    .product-page .related-products-grid {
        grid-template-columns: 1fr;
    }
}

/* Скелетон страницы товара */
.product-skeleton-root {
    min-height: 70vh;
}

.product-skeleton-root.hidden {
    display: none !important;
    min-height: 0;
    margin: 0;
    padding: 0;
}

.product-skeleton .skeleton-block {
    background-color: #e2e8f0;
    border-radius: 10px;
}

.product-skeleton .animate-pulse {
    animation: product-skeleton-pulse 1.6s ease-in-out infinite;
}

@keyframes product-skeleton-pulse {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.45;
    }
}

.product-skeleton-gallery-lines {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin: 16px 0 0;
    padding: 0;
}

.product-skeleton .skeleton-gallery-line {
    width: 22px;
    height: 2px;
    border-radius: 1px;
}

.product-skeleton .skeleton-gallery-line:first-child {
    width: 32px;
}

.product-skeleton-image-stage {
    display: flex;
    align-items: stretch;
    min-height: 0;
}

.product-skeleton .skeleton-main-image {
    flex: 1;
    width: 100%;
    min-height: 100%;
    border-radius: var(--pd-radius, 18px);
}

.product-skeleton .skeleton-brand {
    width: 28%;
    max-width: 140px;
    height: 14px;
    margin-bottom: 12px;
}

.product-sticky-header--loading .product-sticky-header__inner {
    pointer-events: none;
}

.product-sticky-header--loading .product-sticky-header__title {
    width: min(40%, 360px);
    max-width: 100%;
    height: 22px;
    border-radius: 8px;
    color: transparent;
    background: linear-gradient(90deg, #e8ecf0 0%, #f4f6f8 50%, #e8ecf0 100%);
    background-size: 200% 100%;
    animation: product-skeleton-pulse 1.4s ease-in-out infinite;
}

.product-sticky-header--loading .product-sticky-header__actions::before,
.product-sticky-header--loading .product-sticky-header__actions::after {
    content: '';
    display: block;
    border-radius: 8px;
    background: linear-gradient(90deg, #e8ecf0 0%, #f4f6f8 50%, #e8ecf0 100%);
    background-size: 200% 100%;
    animation: product-skeleton-pulse 1.4s ease-in-out infinite;
}

.product-sticky-header--loading .product-sticky-header__actions::before {
    width: 88px;
    height: 28px;
}

.product-sticky-header--loading .product-sticky-header__actions::after {
    width: 108px;
    height: 38px;
    border-radius: 12px;
}

.product-sticky-header--loading .product-sticky-header__price,
.product-sticky-header--loading .product-sticky-header__buy {
    visibility: hidden;
    width: 0;
    height: 0;
    overflow: hidden;
    padding: 0;
    margin: 0;
    border: 0;
}

.product-skeleton .skeleton-sticky-title {
    width: min(72%, 520px);
    height: 22px;
    border-radius: 8px;
}

.product-skeleton .skeleton-sku {
    width: 36%;
    max-width: 200px;
    height: 14px;
    margin-bottom: 24px;
}

.product-skeleton-prices {
    margin-bottom: 8px;
}

.product-skeleton .skeleton-price-label {
    width: 72px;
    height: 12px;
    margin-bottom: 10px;
}

.product-skeleton .skeleton-price {
    width: 180px;
    height: 44px;
    border-radius: 12px;
}

.product-skeleton .skeleton-vat {
    width: 64px;
    height: 28px;
    border-radius: 999px;
}

.product-skeleton-trust {
    margin-bottom: 32px;
}

.product-skeleton .skeleton-trust-eyebrow {
    width: 48%;
    max-width: 160px;
    height: 12px;
    margin-bottom: 14px;
    border-radius: 6px;
}

.product-skeleton-trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 8px 10px 4px;
}

.product-skeleton .skeleton-trust-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 12px;
}

.product-skeleton-trust-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.product-skeleton .skeleton-trust-line {
    width: 72%;
    height: 12px;
    border-radius: 6px;
}

.product-skeleton .skeleton-trust-line--short {
    width: 88%;
    height: 14px;
}

.product-skeleton-actions {
    margin-top: 8px;
}

.product-skeleton .skeleton-btn {
    width: 100%;
    height: 52px;
    border-radius: 14px;
}

.product-skeleton .skeleton-link {
    width: 168px;
    height: 16px;
    margin-top: 16px;
    border-radius: 6px;
}

.product-skeleton-content {
    display: flex;
    flex-direction: column;
    gap: clamp(20px, 2.5vw, 28px);
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    overflow: visible;
}

.product-skeleton .product-detail-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(300px, 420px);
    gap: clamp(28px, 4vw, 48px);
    align-items: start;
}

.product-skeleton .product-detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: clamp(18px, 2.2vw, 24px);
}

.product-skeleton-block {
    margin: 0;
    padding: clamp(28px, 3.5vw, 40px) clamp(24px, 3vw, 36px);
    background: var(--pd-surface);
    border: 1px solid var(--pd-line);
    border-radius: calc(var(--pd-radius) + 4px);
    box-shadow: 0 16px 36px -14px rgba(12, 35, 64, 0.09);
}

.product-skeleton-content .product-skeleton-block + .product-skeleton-block {
    border-top: none;
}

.product-skeleton .skeleton-eyebrow {
    width: 120px;
    height: 10px;
    margin-bottom: 10px;
    border-radius: 4px;
}

.product-skeleton .skeleton-block-title {
    width: 160px;
    height: 22px;
    margin-bottom: 20px;
    border-radius: 8px;
}

.product-skeleton-spec-card {
    pointer-events: none;
}

.product-skeleton .skeleton-spec-icon {
    flex-shrink: 0;
    width: 37px;
    height: 37px;
    border-radius: 9px;
}

.product-skeleton .skeleton-spec-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.product-skeleton .skeleton-spec-line {
    width: 100%;
    height: 14px;
}

.product-skeleton .skeleton-spec-line--short {
    width: 68%;
}

.product-skeleton .skeleton-desc {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.product-skeleton .skeleton-desc-line {
    width: 100%;
    height: 14px;
}

.product-skeleton .skeleton-desc-line--short {
    width: 72%;
}

@media (max-width: 520px) {
    .product-skeleton .skeleton-btn {
        width: 100%;
    }
}

/* Premium-страницы: О компании, Сервис, Кейсы */
.about-page,
.service-page,
.projects-page {
    --pd-navy: #0c2340;
    --pd-navy-soft: #163a63;
    --pd-accent: #1a4d8c;
    --pd-text: #1a2332;
    --pd-muted: #6b7785;
    --pd-line: rgba(12, 35, 64, 0.08);
    --pd-surface: #ffffff;
    --pd-radius: 18px;
    --pd-ease: cubic-bezier(0.22, 1, 0.36, 1);

    font-family: 'Manrope', 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--pd-text);
    background: linear-gradient(180deg, #fafbfc 0%, #f5f7fa 38%, #ffffff 100%);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.about-page .header,
.service-page .header,
.projects-page .header {
    z-index: 600;
    overflow: visible;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
    border-bottom-color: var(--pd-line);
}

.nav > a.nav-link--active {
    color: var(--pd-accent);
}

.nav > a.nav-link--active::after {
    clip-path: inset(0 0 0 0);
    -webkit-clip-path: inset(0 0 0 0);
    background-color: var(--pd-accent);
}

.about-main {
    max-width: 1280px;
    margin: 0 auto;
    padding: clamp(16px, 3vw, 28px) clamp(20px, 5%, 48px) 80px;
}

.about-breadcrumb {
    font-size: 13px;
    font-weight: 500;
    color: var(--pd-muted);
    margin-bottom: clamp(16px, 2.5vw, 24px);
}

.about-breadcrumb a {
    color: var(--pd-accent);
    text-decoration: none;
}

.about-breadcrumb a:hover {
    text-decoration: underline;
}

.about-breadcrumb span:last-child {
    color: var(--pd-text);
}

/* Hero */
.about-hero {
    position: relative;
    border-radius: var(--pd-radius);
    overflow: hidden;
    min-height: clamp(320px, 42vw, 480px);
    margin-bottom: clamp(28px, 4vw, 48px);
    box-shadow: 0 24px 64px rgba(12, 35, 64, 0.14);
}

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

.about-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
}

.about-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(105deg, rgba(12, 35, 64, 0.88) 0%, rgba(12, 35, 64, 0.55) 48%, rgba(12, 35, 64, 0.2) 100%),
        linear-gradient(0deg, rgba(12, 35, 64, 0.35) 0%, transparent 45%);
}

.about-hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: inherit;
    padding: clamp(28px, 5vw, 56px);
    max-width: 720px;
}

.about-hero-eyebrow {
    margin: 0 0 12px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
}

.about-hero h1 {
    margin: 0 0 16px;
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: #fff;
}

.about-hero-lead {
    margin: 0 0 28px;
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.88);
    max-width: 52ch;
}

.about-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.about-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 26px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition:
        background 0.3s var(--pd-ease),
        color 0.3s var(--pd-ease),
        border-color 0.3s var(--pd-ease),
        box-shadow 0.3s var(--pd-ease),
        transform 0.3s var(--pd-ease);
}

.about-btn--primary {
    background: linear-gradient(145deg, #2a6cb8 0%, #1a4d8c 100%);
    color: #fff;
    box-shadow: 0 8px 24px rgba(26, 77, 140, 0.35);
}

.about-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(26, 77, 140, 0.42);
}

.about-btn--ghost {
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
}

.about-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.7);
}

/* Stats */
.about-stats {
    margin-bottom: clamp(40px, 6vw, 72px);
}

.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.about-stat {
    padding: clamp(20px, 3vw, 28px);
    background: var(--pd-surface);
    border: 1px solid var(--pd-line);
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(12, 35, 64, 0.04);
    transition:
        transform 0.35s var(--pd-ease),
        box-shadow 0.35s var(--pd-ease);
}

.about-stat:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(12, 35, 64, 0.08);
}

.about-stat-value {
    display: block;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--pd-accent);
    line-height: 1.1;
}

.about-stat-value--icon {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: clamp(2rem, 3vw, 2.25rem);
    margin: 0 auto;
    color: var(--pd-accent);
}

.about-stat-value--icon svg {
    display: block;
    width: clamp(2.1rem, 3.5vw, 2.5rem);
    height: clamp(2.1rem, 3.5vw, 2.5rem);
}

.about-stat-label {
    display: block;
    margin-top: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--pd-muted);
    line-height: 1.35;
}

/* Sections */
.about-section {
    margin-bottom: clamp(48px, 7vw, 88px);
}

.about-section-header {
    max-width: 560px;
    margin-bottom: clamp(24px, 4vw, 40px);
}

.about-section-header h2,
.about-section-copy h2 {
    margin: 0 0 12px;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--pd-text);
}

.about-section-header p {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--pd-muted);
}

.about-section-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(24px, 4vw, 40px);
    align-items: start;
}

.about-section-copy p {
    margin: 0 0 16px;
    font-size: 1rem;
    line-height: 1.7;
    color: #3d4a57;
}

.about-section-copy p:last-child {
    margin-bottom: 0;
}

.about-lead {
    font-size: 1.0625rem !important;
    color: var(--pd-text) !important;
    font-weight: 500;
}

.about-mission-card {
    padding: clamp(24px, 4vw, 36px);
    background: linear-gradient(145deg, #f0f5fa 0%, #e8eef5 100%);
    border: 1px solid var(--pd-line);
    border-radius: var(--pd-radius);
    border-left: 4px solid var(--pd-accent);
}

.about-mission-quote {
    margin: 0 0 20px;
    font-size: clamp(1.05rem, 1.8vw, 1.2rem);
    font-weight: 600;
    line-height: 1.55;
    color: var(--pd-navy);
    font-style: italic;
}

.about-mission-author {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--pd-muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* Values */
.about-values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.about-value-card {
    padding: 24px 22px;
    background: var(--pd-surface);
    border: 1px solid var(--pd-line);
    border-radius: 14px;
    transition:
        border-color 0.3s var(--pd-ease),
        box-shadow 0.35s var(--pd-ease),
        transform 0.35s var(--pd-ease);
}

.about-value-card:hover {
    border-color: rgba(26, 77, 140, 0.22);
    box-shadow: 0 12px 36px rgba(12, 35, 64, 0.08);
    transform: translateY(-4px);
}

.about-value-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    border-radius: 12px;
    background: linear-gradient(145deg, #eef5fc 0%, #dce8f4 100%);
    color: var(--pd-accent);
}

.about-value-icon svg {
    width: 24px;
    height: 24px;
}

.about-value-card h3 {
    margin: 0 0 10px;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--pd-text);
}

.about-value-card p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--pd-muted);
}

/* Steps */
.about-steps-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: about-step;
}

.about-step {
    position: relative;
    padding: 28px 24px 24px;
    background: var(--pd-surface);
    border: 1px solid var(--pd-line);
    border-radius: var(--pd-radius);
}

.about-step-num {
    display: block;
    margin-bottom: 16px;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    color: rgba(26, 77, 140, 0.12);
}

.about-step h3 {
    margin: 0 0 10px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--pd-text);
}

.about-step p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--pd-muted);
}

/* Brands */
.about-brands-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: clamp(20px, 4vw, 48px);
    padding: clamp(28px, 4vw, 40px);
    background: var(--pd-surface);
    border: 1px solid var(--pd-line);
    border-radius: var(--pd-radius);
}

.about-brand-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.85;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.about-brand-logo:hover {
    opacity: 1;
    transform: scale(1.04);
}

.about-brand-logo img {
    max-height: 44px;
    width: auto;
    object-fit: contain;
}

/* CTA */
.about-cta {
    margin-bottom: 0;
}

.about-cta-inner {
    padding: clamp(36px, 5vw, 56px);
    text-align: center;
    background: linear-gradient(135deg, var(--pd-navy) 0%, var(--pd-navy-soft) 55%, #1a4d8c 100%);
    border-radius: var(--pd-radius);
    box-shadow: 0 20px 56px rgba(12, 35, 64, 0.2);
}

.about-cta-inner h2 {
    margin: 0 0 12px;
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
}

.about-cta-inner > p {
    margin: 0 auto 28px;
    max-width: 48ch;
    font-size: 1.05rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.82);
}

.about-cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.about-cta .about-btn--ghost {
    border-color: rgba(255, 255, 255, 0.35);
}

@media (max-width: 960px) {
    .about-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-section-grid {
        grid-template-columns: 1fr;
    }

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

    .about-steps-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .about-stats-grid,
    .about-values-grid {
        grid-template-columns: 1fr;
    }

    .about-hero-actions,
    .about-cta-actions {
        flex-direction: column;
    }

    .about-btn {
        width: 100%;
    }
}

/* Страница «Сервис» — дополнения */
.service-hero .about-hero-img {
    object-position: center 42%;
}

.service-offers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.service-offer-card {
    padding: 28px 26px;
    background: var(--pd-surface);
    border: 1px solid var(--pd-line);
    border-radius: var(--pd-radius);
    transition:
        border-color 0.3s var(--pd-ease),
        box-shadow 0.35s var(--pd-ease),
        transform 0.35s var(--pd-ease);
}

.service-offer-card:hover {
    border-color: rgba(26, 77, 140, 0.22);
    box-shadow: 0 14px 40px rgba(12, 35, 64, 0.09);
    transform: translateY(-4px);
}

.service-offer-card h3 {
    margin: 0 0 10px;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--pd-text);
}

.service-offer-card p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--pd-muted);
}

.service-highlight-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-highlight-title {
    margin: 0 0 12px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--pd-muted);
}

.service-highlight-value {
    margin: 0 0 12px;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    color: var(--pd-accent);
}

.service-highlight-note {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--pd-muted);
}

.service-faq-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.service-faq-item {
    padding: 22px 24px;
    background: var(--pd-surface);
    border: 1px solid var(--pd-line);
    border-radius: 14px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.service-faq-item:hover {
    border-color: rgba(26, 77, 140, 0.18);
    box-shadow: 0 8px 24px rgba(12, 35, 64, 0.06);
}

.service-faq-item h3 {
    margin: 0 0 8px;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--pd-text);
}

.service-faq-item p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--pd-muted);
}

@media (max-width: 960px) {
    .service-offers-grid {
        grid-template-columns: 1fr;
    }
}

/* Страница «Кейсы / Проекты» */
.projects-hero .about-hero-img {
    object-position: center 40%;
}

.projects-cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.project-case-card {
    display: flex;
    flex-direction: column;
    background: var(--pd-surface);
    border: 1px solid var(--pd-line);
    border-radius: var(--pd-radius);
    overflow: hidden;
    transition:
        border-color 0.3s var(--pd-ease),
        box-shadow 0.4s var(--pd-ease),
        transform 0.4s var(--pd-ease);
}

.project-case-card:hover {
    border-color: rgba(26, 77, 140, 0.22);
    box-shadow: 0 18px 48px rgba(12, 35, 64, 0.1);
    transform: translateY(-5px);
}

.project-case-media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #eef2f6;
}

.project-case-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.55s var(--pd-ease);
}

.project-case-card:hover .project-case-media img {
    transform: scale(1.04);
}

.project-case-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(12, 35, 64, 0.75);
    backdrop-filter: blur(8px);
    border-radius: 8px;
}

.project-case-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 22px 24px 24px;
}

.project-case-body h3 {
    margin: 0 0 6px;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--pd-text);
}

.project-case-meta {
    margin: 0 0 12px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--pd-muted);
}

.project-case-body > p:not(.project-case-meta) {
    margin: 0 0 16px;
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--pd-muted);
    flex: 1;
}

.project-case-results {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.project-case-results li {
    padding: 8px 14px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--pd-text);
    background: linear-gradient(145deg, #f0f5fa 0%, #e8eef5 100%);
    border-radius: 10px;
}

.project-case-results strong {
    font-weight: 800;
    color: var(--pd-accent);
}

.projects-highlight-card {
    justify-content: flex-start;
}

.projects-highlight-title {
    margin: 0 0 16px;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--pd-text);
}

.projects-highlight-list {
    margin: 0;
    padding: 0 0 0 18px;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #3d4a57;
}

.projects-highlight-list li {
    margin-bottom: 8px;
}

.projects-highlight-list li:last-child {
    margin-bottom: 0;
}

@media (max-width: 960px) {
    .projects-cases-grid {
        grid-template-columns: 1fr;
    }
}
