.catalog-product-hero {
    padding: 20px 0 34px;
    background: #fff;
}

.catalog-product-hero .breadcrumbs {
    max-width: 1160px;
    margin: 0 auto 16px;
    font-size: 12px;
}

.catalog-product-grid {
    display: grid;
    grid-template-columns: minmax(0, 530px) minmax(0, 560px);
    gap: 44px;
    align-items: start;
    max-width: 1160px;
    margin: 0 auto;
}

.catalog-product-gallery {
    position: sticky;
    top: 104px;
    min-width: 0;
}

.catalog-product-media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border: 1px solid #e1e2e0;
    border-radius: 8px;
    background: #f5f5f4;
}

.catalog-product-media-button {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    padding: 28px;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}

.catalog-product-media-button::after {
    position: absolute;
    right: 14px;
    bottom: 14px;
    z-index: 2;
    width: 38px;
    height: 38px;
    border: 1px solid #dde0dc;
    border-radius: 50%;
    background: rgba(255, 255, 255, .94);
    content: "";
}

.catalog-product-media-button::before {
    position: absolute;
    right: 27px;
    bottom: 28px;
    z-index: 3;
    width: 11px;
    height: 11px;
    border: 2px solid var(--ink);
    border-radius: 50%;
    box-shadow: 8px 8px 0 -6px var(--ink);
    content: "";
    transform: rotate(-45deg);
}

.catalog-product-media .product-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    max-width: calc(100% - 28px);
}

.catalog-product-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity .18s ease, transform .22s ease;
}

.catalog-product-media-button:hover img,
.catalog-product-media-button:focus-visible img {
    transform: scale(1.015);
}

.catalog-gallery-nav {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid #d9dcda;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: #4b5350;
    font-size: 22px;
    line-height: 1;
    transform: translateY(-50%);
    cursor: pointer;
}

.catalog-gallery-nav-prev {
    left: 12px;
}

.catalog-gallery-nav-next {
    right: 12px;
}

.catalog-gallery-nav:hover,
.catalog-gallery-nav:focus-visible {
    border-color: var(--accent);
    color: var(--accent);
}

.catalog-product-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.catalog-thumb {
    flex: 0 0 74px;
    width: 74px;
    height: 58px;
    display: grid;
    place-items: center;
    padding: 6px;
    border: 1px solid #e0e2df;
    border-radius: 6px;
    background: #f5f5f4;
    cursor: pointer;
}

.catalog-thumb.is-active {
    border-color: var(--accent);
    box-shadow: inset 0 0 0 1px var(--accent);
}

.catalog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.catalog-product-info {
    min-width: 0;
    padding-top: 2px;
}

.catalog-product-kicker {
    margin-bottom: 8px;
    color: #626b67;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.catalog-product-info h1 {
    max-width: 620px;
    margin: 0 0 14px;
    color: var(--ink);
    font-size: 34px;
    font-weight: 760;
    line-height: 1.12;
    letter-spacing: 0;
    overflow-wrap: anywhere;
}

.catalog-product-status-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
}

.catalog-stock {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: #eef7f0;
    color: #24733b;
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

.catalog-stock.stock-out {
    background: #fff2ef;
    color: #a33c32;
}

.catalog-stock i {
    width: 7px;
    height: 7px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #31a759;
}

.catalog-stock.stock-out i {
    background: #d34b3f;
}

.catalog-product-category-link {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: #f3f4f2;
    color: #606965;
    font-size: 12px;
    font-weight: 750;
    line-height: 1;
}

.catalog-product-category-link:hover,
.catalog-product-category-link:focus-visible {
    color: var(--accent);
}

.catalog-product-price-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 0 0 6px;
}

.catalog-product-price,
.catalog-product-old-price {
    margin: 0;
}

.catalog-product-price {
    color: var(--ink);
    font-size: 34px;
    font-weight: 820;
    line-height: 1;
}

.catalog-product-old-price {
    color: #969d99;
    font-size: 15px;
    font-weight: 750;
    line-height: 1;
    text-decoration: line-through;
}

.catalog-product-discount {
    padding: 4px 7px;
    border-radius: 999px;
    background: rgba(217, 28, 30, .09);
    color: var(--accent);
    font-size: 11px;
    font-weight: 850;
}

.catalog-product-vat {
    max-width: 440px;
    margin: 0;
    color: #747d79;
    font-size: 12px;
    line-height: 1.45;
}

.catalog-product-buy {
    display: grid;
    grid-template-columns: 116px minmax(0, 1fr);
    gap: 10px;
    margin-top: 18px;
}

.catalog-product-buy .btn,
.catalog-product-action-stack .btn,
.catalog-product-unavailable .btn,
.catalog-product-measure {
    min-height: 46px;
}

.catalog-product-unavailable {
    margin-top: 18px;
}

.catalog-product-unavailable .btn[disabled] {
    width: 100%;
    cursor: not-allowed;
    opacity: .72;
}

.catalog-product-action-stack {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    margin-top: 18px;
}

.catalog-product-action-stack--out {
    grid-template-columns: minmax(0, 1fr) minmax(180px, auto);
}

.catalog-product-action-stack .btn,
.catalog-product-measure {
    width: 100%;
}

.catalog-product-primary-consult {
    background: var(--accent);
}

.catalog-product-stock-note {
    margin: 10px 0 0;
    color: #6f7773;
    font-size: 12px;
    line-height: 1.5;
}

.catalog-product-measure {
    margin-top: 10px;
}

.catalog-qty {
    min-height: 46px;
    display: grid;
    grid-template-columns: 34px 1fr 34px;
    align-items: center;
    border: 1px solid #d9dcda;
    border-radius: 999px;
    background: #fff;
}

.catalog-qty button,
.catalog-qty input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    text-align: center;
}

.catalog-qty button {
    height: 100%;
    color: var(--ink);
    font-size: 18px;
}

.catalog-qty input {
    min-width: 0;
    font-weight: 800;
}

.catalog-product-documents {
    margin-top: 20px;
    padding: 14px;
    border: 1px solid #e1e3df;
    border-radius: 8px;
    background: #f3f4f2;
}

.catalog-product-documents h2,
.catalog-product-side-block h2 {
    margin: 0 0 12px;
    color: var(--ink);
    font-size: 15px;
    font-weight: 850;
    line-height: 1.25;
}

.catalog-product-file-list {
    display: grid;
    gap: 7px;
}

.catalog-product-file {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    min-height: 44px;
    padding: 7px 10px;
    border: 1px solid #e2e4e0;
    border-radius: 6px;
    background: #fff;
    color: var(--ink);
}

.catalog-product-file:hover,
.catalog-product-file:focus-visible {
    border-color: rgba(217, 28, 30, .38);
}

.catalog-product-file-icon {
    width: 27px;
    height: 27px;
    display: grid;
    place-items: center;
    border: 1px solid #d8ddda;
    border-radius: 4px;
    color: #646d69;
    font-size: 9px;
    font-weight: 850;
}

.catalog-product-file-title {
    min-width: 0;
    overflow: hidden;
    color: var(--ink);
    font-size: 13px;
    font-weight: 720;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.catalog-product-file strong {
    color: var(--accent);
    font-size: 10px;
    font-weight: 850;
    text-transform: uppercase;
}

.catalog-product-documents-extra {
    margin-top: 9px;
}

.catalog-product-documents-extra summary {
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 10px;
    border-radius: 6px;
    color: var(--accent);
    font-size: 11px;
    font-weight: 850;
    line-height: 1.2;
    list-style: none;
    text-transform: uppercase;
    cursor: pointer;
}

.catalog-product-documents-extra summary::-webkit-details-marker {
    display: none;
}

.catalog-product-documents-extra summary::after {
    font-size: 14px;
    content: "+";
}

.catalog-product-documents-extra[open] summary {
    margin-bottom: 7px;
    background: rgba(217, 28, 30, .06);
}

.catalog-product-documents-extra[open] summary::after {
    content: "-";
}

.catalog-product-documents-extra summary span {
    min-width: 24px;
    height: 24px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
    font-size: 11px;
}

.catalog-product-content-section {
    padding: 34px 0 54px;
    background: #f4f5f3;
}

.catalog-product-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 22px;
    align-items: start;
    max-width: 1160px;
    margin: 0 auto;
}

.catalog-product-tabs-shell {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e2e3e0;
    border-radius: 8px;
    background: #fff;
}

.catalog-product-tab-list {
    display: flex;
    gap: 0;
    overflow-x: auto;
    border-bottom: 1px solid #e2e3e0;
    background: #f8f8f7;
    scrollbar-width: thin;
}

.catalog-product-tab {
    position: relative;
    flex: 0 0 auto;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border: 0;
    border-bottom: 2px solid transparent;
    background: transparent;
    color: #626b67;
    font-size: 13px;
    font-weight: 820;
    line-height: 1.2;
}

.catalog-product-tab.is-active {
    border-bottom-color: var(--accent);
    background: #fff;
    color: var(--ink);
}

.catalog-product-tab:hover,
.catalog-product-tab:focus-visible {
    color: var(--accent);
}

.catalog-product-tab:focus-visible {
    outline: 2px solid rgba(217, 28, 30, .25);
    outline-offset: -5px;
}

.catalog-product-tab-panel {
    padding: 28px 32px 34px;
}

.catalog-product-tab-panel[hidden] {
    display: none;
}

.catalog-product-description {
    max-width: 820px;
}

.feed-description {
    color: #3f4844;
    font-size: 14px;
    line-height: 1.68;
}

.feed-description > :first-child {
    margin-top: 0;
}

.feed-description > :last-child {
    margin-bottom: 0;
}

.feed-description p,
.feed-description ul,
.feed-description ol {
    margin: 0 0 15px;
}

.feed-description ul,
.feed-description ol {
    padding-left: 20px;
}

.feed-description li + li {
    margin-top: 4px;
}

.feed-description h2,
.feed-description h3,
.feed-description h4 {
    margin: 26px 0 11px;
    color: var(--ink);
    font-weight: 850;
    line-height: 1.25;
    letter-spacing: 0;
}

.feed-description h2 {
    font-size: 20px;
}

.feed-description h3 {
    font-size: 17px;
}

.feed-description h4 {
    font-size: 15px;
}

.feed-description strong {
    color: var(--ink);
}

.catalog-spec-table {
    border-top: 1px solid #e2e4e0;
}

.catalog-spec-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(180px, .9fr);
    gap: 18px;
    padding: 12px 0;
    border-bottom: 1px solid #e2e4e0;
}

.catalog-spec-row span {
    color: #68716d;
    font-size: 13px;
    line-height: 1.45;
}

.catalog-spec-row strong {
    color: var(--ink);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
    text-align: right;
}

.catalog-product-video-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.catalog-product-video {
    display: grid;
    gap: 10px;
    padding: 10px;
    border: 1px solid #e1e3df;
    border-radius: 8px;
    background: #f6f7f5;
    color: var(--ink);
}

.catalog-product-video:hover,
.catalog-product-video:focus-visible {
    border-color: rgba(217, 28, 30, .35);
}

.catalog-product-video-media {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: 6px;
    background: var(--night);
}

.catalog-product-video-media img,
.catalog-product-video-placeholder {
    width: 100%;
    height: 100%;
}

.catalog-product-video-media img {
    object-fit: cover;
}

.catalog-product-video-placeholder {
    display: block;
    background: linear-gradient(135deg, #242927, #111614);
}

.catalog-product-video-play {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    transform: translate(-50%, -50%);
}

.catalog-product-video-play::after {
    position: absolute;
    left: 17px;
    top: 13px;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 12px solid var(--accent);
    content: "";
}

.catalog-product-video strong {
    font-size: 14px;
    line-height: 1.35;
}

.catalog-product-service-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border-radius: 999px;
    background: var(--night);
    color: #fff;
    font-size: 12px;
    font-weight: 850;
}

.catalog-product-side {
    position: sticky;
    top: 104px;
    display: grid;
    gap: 12px;
}

.catalog-product-side-block {
    padding: 14px;
    border: 1px solid #e1e3df;
    border-radius: 8px;
    background: #fff;
}

.catalog-compact-products {
    display: grid;
    gap: 8px;
}

.catalog-compact-product {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 8px;
    border: 1px solid #e7e8e5;
    border-radius: 7px;
    background: #fbfbfa;
    color: var(--ink);
}

.catalog-compact-product:hover,
.catalog-compact-product:focus-visible {
    border-color: rgba(217, 28, 30, .35);
}

.catalog-compact-product-media {
    display: grid;
    place-items: center;
    aspect-ratio: 4 / 3;
    border-radius: 6px;
    background: #f1f2f0;
}

.catalog-compact-product-media img {
    width: 90%;
    height: 88%;
    object-fit: contain;
}

.catalog-compact-product-body {
    min-width: 0;
    display: grid;
    gap: 5px;
}

.catalog-compact-product-body small {
    min-width: 0;
    overflow: hidden;
    color: #7b827f;
    font-size: 10px;
    font-weight: 750;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.catalog-compact-product-body strong {
    display: -webkit-box;
    overflow: hidden;
    color: var(--ink);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.25;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.catalog-compact-product-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.catalog-compact-product-bottom b {
    color: var(--ink);
    font-size: 12px;
    font-weight: 850;
    white-space: nowrap;
}

.catalog-compact-product .catalog-stock {
    min-height: 22px;
    padding: 0 7px;
    font-size: 10px;
}

.catalog-product-consult {
    padding: 0 0 54px;
    background: #f4f5f3;
}

.catalog-product-consult-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    max-width: 1160px;
    margin: 0 auto;
    padding: 22px 24px;
    border: 1px solid #e0e2de;
    border-radius: 8px;
    background: #fff;
}

.catalog-product-consult-card .eyebrow {
    margin-bottom: 8px;
}

.catalog-product-consult-card h2 {
    margin: 0 0 6px;
    color: var(--ink);
    font-size: 22px;
    font-weight: 850;
    line-height: 1.2;
    letter-spacing: 0;
}

.catalog-product-consult-card p {
    max-width: 720px;
    margin: 0;
    color: #69736f;
    font-size: 13px;
    line-height: 1.55;
}

.catalog-product-consult-card .btn {
    min-width: 210px;
}

.catalog-product-not-found {
    padding: 100px 0;
    text-align: center;
}

.catalog-product-not-found h1 {
    margin: 0 0 16px;
    font-size: 42px;
    letter-spacing: 0;
}

.catalog-product-not-found p {
    margin: 0 0 24px;
    color: var(--muted);
}

@media (max-width: 1080px) {
    .catalog-product-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 28px;
    }

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

    .catalog-product-side {
        position: static;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .catalog-product-grid,
    .catalog-product-consult-card {
        grid-template-columns: 1fr;
    }

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

    .catalog-product-info h1 {
        max-width: none;
        font-size: 30px;
    }

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

@media (max-width: 620px) {
    .catalog-product-hero {
        padding: 16px 0 28px;
    }

    .catalog-product-hero .breadcrumbs {
        margin-bottom: 12px;
    }

    .catalog-product-grid {
        gap: 20px;
    }

    .catalog-product-media-button {
        padding: 22px;
    }

    .catalog-gallery-nav {
        width: 32px;
        height: 32px;
    }

    .catalog-thumb {
        flex-basis: 66px;
        width: 66px;
        height: 52px;
    }

    .catalog-product-info h1 {
        font-size: 25px;
        line-height: 1.16;
    }

    .catalog-product-price {
        font-size: 28px;
    }

    .catalog-product-buy,
    .catalog-product-action-stack,
    .catalog-product-action-stack--out {
        grid-template-columns: 1fr;
    }

    .catalog-product-buy {
        gap: 8px;
    }

    .catalog-product-file {
        grid-template-columns: 30px minmax(0, 1fr);
    }

    .catalog-product-file strong {
        display: none;
    }

    .catalog-product-content-section {
        padding: 28px 0 42px;
    }

    .catalog-product-tab {
        min-height: 44px;
        padding: 0 13px;
        font-size: 12px;
    }

    .catalog-product-tab-panel {
        padding: 22px 18px 26px;
    }

    .feed-description {
        font-size: 13px;
        line-height: 1.62;
    }

    .catalog-spec-row {
        grid-template-columns: 1fr;
        gap: 4px;
        padding: 11px 0;
    }

    .catalog-spec-row strong {
        text-align: left;
    }

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

    .catalog-compact-product {
        grid-template-columns: 86px minmax(0, 1fr);
    }

    .catalog-product-consult-card {
        padding: 18px;
    }
}
