/* =========================================================
   CANICOM /products — Phase 11
   Более насыщенная premium-композиция без изменения общей
   стилистики CANICOM: техническая сетка, крупная типографика,
   аккуратные glow-эффекты, информационная шапка и более
   выразительные карточки продукции.
   ========================================================= */

.products-page {
    min-height: 100vh;
    overflow-x: hidden;
    background: #101010;
}

.products-section {
    position: relative;
    overflow: hidden;
    padding: 72px 0 86px;
    background:
        radial-gradient(circle at 78% 31%, rgba(89, 71, 192, .08), transparent 24%),
        radial-gradient(circle at 19% 63%, rgba(95, 214, 214, .055), transparent 25%),
        #101010;
}

.products-shell {
    position: relative;
    z-index: 3;
    width: min(1180px, calc(100% - 64px));
    margin: 0 auto;
}

.products-grid-lines {
    position: absolute;
    z-index: 0;
    inset: 0;
    opacity: .22;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(95, 214, 214, .06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(95, 214, 214, .05) 1px, transparent 1px);
    background-size: 74px 74px;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.8), rgba(0,0,0,.14) 62%, transparent 88%);
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.8), rgba(0,0,0,.14) 62%, transparent 88%);
}

.products-watermark {
    position: absolute;
    z-index: 0;
    top: 238px;
    right: -54px;
    color: rgba(95, 214, 214, .025);
    font-size: clamp(100px, 11vw, 210px);
    line-height: .8;
    font-weight: 900;
    letter-spacing: -8px;
    white-space: nowrap;
    transform: rotate(90deg);
    transform-origin: right top;
    user-select: none;
    pointer-events: none;
}

/* ---------- heading ---------- */
.products-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 60px;
    margin-bottom: 28px;
}

.products-heading-copy {
    max-width: 860px;
}

.products-kicker {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    color: rgba(255,255,255,.58);
    font-size: 11px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 2.2px;
}

.products-kicker span:first-child {
    color: var(--turquoise);
}

.products-kicker i {
    display: block;
    width: 44px;
    height: 1px;
    background: rgba(95, 214, 214, .55);
}

.products-title {
    margin: 0;
    color: var(--turquoise);
    font-size: 64px;
    line-height: .98;
    font-weight: 500;
    letter-spacing: -2.4px;
}

.products-title strong {
    font-weight: 800;
}

.products-lead {
    max-width: 720px;
    margin: 22px 0 0;
    color: rgba(255,255,255,.72);
    font-size: 16px;
    line-height: 1.55;
    font-weight: 500;
}

.products-count {
    min-width: 184px;
    padding: 18px 22px 17px;
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px solid rgba(95, 214, 214, .38);
    background: rgba(8, 16, 16, .54);
    box-shadow: inset 0 0 30px rgba(95,214,214,.025);
}

.products-count strong {
    color: var(--turquoise);
    font-size: 39px;
    line-height: .9;
    font-weight: 800;
    letter-spacing: -1px;
}

.products-count span {
    color: rgba(255,255,255,.65);
    font-size: 11px;
    line-height: 1.35;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.products-heading-line {
    position: relative;
    height: 1px;
    margin: 0 0 30px;
    overflow: hidden;
    background: rgba(95,214,214,.13);
}

.products-heading-line span {
    display: block;
    width: 180px;
    height: 100%;
    background: var(--turquoise);
    box-shadow: 0 0 14px rgba(95,214,214,.55);
}

/* ---------- cards ---------- */
.products-mosaic {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.products-row {
    display: grid;
    height: 300px;
    gap: 16px;
}

.products-row-a {
    grid-template-columns: .86fr 1.14fr;
}

.products-row-b {
    grid-template-columns: 1.14fr .86fr;
}

.product-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    display: block;
    border: 1px solid rgba(95, 214, 214, .8);
    border-radius: 18px;
    background:
        linear-gradient(145deg, rgba(18, 29, 30, .44), transparent 42%),
        linear-gradient(180deg, #060909 0%, #020303 100%);
    color: #fff;
    isolation: isolate;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.025),
        0 18px 44px rgba(0,0,0,.18);
    transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}

.product-card::before {
    content: attr(data-index);
    position: absolute;
    z-index: 0;
    right: 18px;
    bottom: -14px;
    color: rgba(95,214,214,.045);
    font-size: 112px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -8px;
    pointer-events: none;
}

.product-card::after {
    content: "";
    position: absolute;
    z-index: 0;
    width: 58%;
    height: 50%;
    right: -16%;
    bottom: -25%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(215, 50, 58, .22), rgba(215, 50, 58, .06) 42%, transparent 72%);
    filter: blur(22px);
    pointer-events: none;
}

.product-card:hover {
    color: #fff;
    transform: translateY(-4px);
    border-color: rgba(95, 214, 214, 1);
    box-shadow:
        0 0 0 1px rgba(95,214,214,.07),
        0 24px 50px rgba(0,0,0,.27),
        0 0 34px rgba(95,214,214,.065);
}

.product-card-head {
    position: absolute;
    z-index: 5;
    top: 22px;
    left: 24px;
    right: 22px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.product-name {
    display: block;
    max-width: 72%;
    color: #fff;
    font-size: 18px;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -.3px;
}

.product-code {
    flex: 0 0 auto;
    margin-top: 2px;
    color: rgba(95,214,214,.62);
    font-size: 9px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 1.25px;
}

.product-card-caption {
    position: absolute;
    z-index: 4;
    left: 24px;
    bottom: 18px;
    color: rgba(255,255,255,.22);
    font-size: 8px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 2px;
}

.product-card-caption::before {
    content: "";
    display: inline-block;
    width: 22px;
    height: 1px;
    margin: 0 9px 3px 0;
    background: rgba(95,214,214,.48);
}

.product-card img {
    position: absolute;
    z-index: 2;
    display: block;
    object-fit: contain;
    transition: transform .32s ease, filter .32s ease;
    filter: drop-shadow(20px 22px 20px rgba(0, 0, 0, .36));
}

.product-card:hover img {
    transform: translate(var(--tx, 0), var(--ty, 0)) scale(1.045);
    filter: drop-shadow(24px 28px 24px rgba(0,0,0,.44));
}

.card-pads img {
    width: 100%;
    max-width: none;
    right: 0%;
    bottom: -3%;
}

.card-linings img {
    width: 76%;
    right: 1%;
    bottom: -3%;
}

.card-chambers img {
    width: 83%;
    left: 5%;
    bottom: -40%;
}

.card-kits img {
    width: 74%;
    right: 10%;
    bottom: 1%;
}

.card-discs img {
    width: 75%;
    left: 15%;
    bottom: 5%;
}

.card-filters img {
    width: 67%;
    left: 16%;
    bottom: -9%;
}

/* ---------- description ---------- */
.products-description {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr) 280px;
    gap: 30px;
    align-items: start;
    margin-top: 54px;
    padding: 34px 34px 32px;
    border: 1px solid rgba(95,214,214,.28);
    background:
        linear-gradient(135deg, rgba(95,214,214,.035), transparent 36%),
        rgba(4, 8, 8, .66);
    box-shadow: inset 0 0 52px rgba(95,214,214,.018);
}

.products-description-label {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 3px;
    color: var(--turquoise);
    font-size: 11px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.products-description-label i {
    display: block;
    flex: 1;
    height: 1px;
    background: rgba(95,214,214,.36);
}

.products-description-copy p {
    margin: 0;
    max-width: 640px;
    color: rgba(255,255,255,.76);
    font-size: 15px;
    line-height: 1.62;
    font-weight: 450;
}

.products-description-copy p + p {
    margin-top: 12px;
    color: rgba(95,214,214,.78);
}

.products-description-copy strong {
    color: var(--turquoise);
    font-weight: 800;
}

.products-facts {
    display: grid;
    gap: 10px;
}

.products-fact {
    min-height: 58px;
    display: grid;
    grid-template-columns: 62px 1fr;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-left: 2px solid rgba(95,214,214,.62);
    background: rgba(95,214,214,.035);
}

.products-fact strong {
    color: var(--turquoise);
    font-size: 19px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -.2px;
}

.products-fact span {
    color: rgba(255,255,255,.52);
    font-size: 9px;
    line-height: 1.35;
    font-weight: 700;
    letter-spacing: .7px;
    text-transform: uppercase;
}

/* ---------- glows ---------- */
.products-glow {
    position: absolute;
    z-index: 1;
    pointer-events: none;
    user-select: none;
}

.products-glow-cyan {
    width: 430px;
    left: -172px;
    top: -206px;
    opacity: .34;
}

.products-glow-red {
    width: 650px;
    right: -260px;
    top: 410px;
    opacity: .30;
}

.product-anchor-strip {
    position: relative;
    height: 1px;
    overflow: hidden;
}

/* ---------- partner ---------- */
.products-partner {
    padding: 38px 0 92px;
}

.products-page .products-partner .partner-panel {
    width: min(1180px, calc(100% - 64px));
    min-height: 350px;
    margin: 0 auto;
    padding: 32px 46px 30px 30px;
    grid-template-columns: 310px 1fr 380px;
    gap: 34px;
}

.products-page .products-partner .partner-boxes img {
    width: 320px;
}

.products-page .products-partner .partner-benefits {
    gap: 20px;
}

.products-page .products-partner .partner-benefits li {
    font-size: 16px;
}

.products-page .products-partner .partner-form h2 {
    margin-bottom: 20px;
    font-size: 30px;
}

.products-page .products-partner .partner-form input {
    height: 58px;
}

.products-page .products-partner .form-button {
    min-height: 55px;
}

/* ---------- responsive ---------- */
@media (max-width: 1199px) and (min-width: 851px) {
    .products-shell,
    .products-page .products-partner .partner-panel {
        width: min(960px, calc(100% - 50px));
    }

    .products-title {
        font-size: 54px;
    }

    .products-heading {
        gap: 34px;
    }

    .products-row {
        height: 250px;
    }

    .product-name {
        font-size: 15px;
    }

    .product-code {
        display: none;
    }

    .products-description {
        grid-template-columns: 130px minmax(0,1fr) 230px;
        gap: 22px;
        padding: 28px;
    }

    .products-page .products-partner .partner-panel {
        grid-template-columns: 245px 1fr 320px;
        gap: 22px;
    }

    .products-page .products-partner .partner-boxes img {
        width: 255px;
    }
}

@media (max-width: 850px) {
    .products-section {
        padding: 34px 0 48px;
    }

    .products-shell {
        width: min(100% - 24px, 620px);
    }

    .products-grid-lines {
        background-size: 48px 48px;
    }

    .products-watermark {
        display: none;
    }

    .products-heading {
        grid-template-columns: 1fr;
        gap: 20px;
        align-items: start;
        margin-bottom: 20px;
    }

    .products-kicker {
        margin-bottom: 13px;
        font-size: 9px;
    }

    .products-title {
        font-size: clamp(36px, 10vw, 50px);
        letter-spacing: -1.2px;
    }

    .products-lead {
        margin-top: 15px;
        max-width: 520px;
        font-size: 13px;
        line-height: 1.45;
    }

    .products-count {
        width: max-content;
        min-width: 0;
        padding: 12px 16px;
    }

    .products-count strong {
        font-size: 30px;
    }

    .products-count span {
        font-size: 9px;
    }

    .products-heading-line {
        margin-bottom: 18px;
    }

    .products-mosaic {
        gap: 10px;
    }

    .products-row,
    .products-row-a,
    .products-row-b {
        grid-template-columns: 1fr 1fr;
        height: 192px;
        gap: 10px;
    }

    .product-card {
        border-radius: 12px;
    }

    .product-card::before {
        right: 10px;
        bottom: -7px;
        font-size: 64px;
        letter-spacing: -5px;
    }

    .product-card-head {
        top: 12px;
        left: 13px;
        right: 12px;
    }

    .product-name {
        max-width: 88%;
        font-size: 12px;
        line-height: 1.12;
    }

    .product-code,
    .product-card-caption {
        display: none;
    }

    .card-pads img { width: 88%; right: -12%; }
    .card-linings img { width: 91%; right: -8%; }
    .card-chambers img { width: 96%; left: 0; }
    .card-kits img { width: 94%; right: -3%; }
    .card-discs img { width: 82%; left: 9%; }
    .card-filters img { width: 84%; left: 8%; }

    .products-description {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-top: 24px;
        padding: 22px 18px;
    }

    .products-description-label {
        max-width: 170px;
    }

    .products-description-copy p {
        max-width: none;
        font-size: 13px;
        line-height: 1.52;
    }

    .products-facts {
        grid-template-columns: repeat(3, 1fr);
        gap: 7px;
    }

    .products-fact {
        min-height: 72px;
        grid-template-columns: 1fr;
        gap: 6px;
        align-content: center;
        padding: 10px;
        border-left-width: 1px;
    }

    .products-fact strong {
        font-size: 16px;
    }

    .products-fact span {
        font-size: 7px;
    }

    .products-glow-red {
        width: 420px;
        right: -240px;
        top: 370px;
    }

    .products-page .products-partner .partner-panel {
        width: min(100% - 24px, 620px);
    }
}

@media (max-width: 560px) {
    .products-shell {
        width: calc(100% - 18px);
    }

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

    .products-lead {
        font-size: 12px;
    }

    .products-row,
    .products-row-a,
    .products-row-b {
        height: 158px;
        gap: 7px;
    }

    .products-mosaic {
        gap: 7px;
    }

    .product-card {
        border-radius: 9px;
        border-width: 1px;
    }

    .product-card-head {
        top: 9px;
        left: 10px;
        right: 9px;
    }

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

    .products-description-copy p {
        font-size: 12px;
    }

    .products-facts {
        grid-template-columns: 1fr;
    }

    .products-fact {
        min-height: 50px;
        grid-template-columns: 54px 1fr;
        align-items: center;
    }
}

@media (max-width: 390px) {
    .products-title {
        font-size: 32px;
    }

    .products-row,
    .products-row-a,
    .products-row-b {
        height: 145px;
    }

    .product-name {
        font-size: 9px;
    }
}

/* Semantic h2 inside product cards: keep the exact visual design. */
.product-name { margin: 0; }
