:root {
    --product-primary: #003d95;
    --product-primary-deep: #0d1e38;
    --product-accent: #00b01d;
    --product-surface: #ffffff;
    --product-surface-soft: #f4f7fb;
    --product-border: rgba(0, 61, 149, 0.08);
    --product-text: #1a2a44;
    --product-text-soft: #6b7a8d;
    --product-text-light: #b0bdcc;
    --product-shadow: 0 16px 44px rgba(0, 61, 136, 0.08);
    --product-shell-width: min(1328px, calc(100% - 296px));
}

body.product-page {
    background: #ffffff;
    color: var(--product-text);
}

.product-main {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(244, 247, 251, 0.92) 100%);
}

.product-shell {
    width: var(--product-shell-width);
    margin: 0 auto;
}

.product-kicker {
    margin: 0;
    color: var(--product-accent);
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0.2em;
}

.product-mega {
    padding: 18px 0 48px;
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid rgba(0, 61, 149, 0.07);
}

.product-mega-shell {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr);
    background: #ffffff;
    min-height: 368px;
    border: 1px solid rgba(0, 61, 149, 0.07);
    border-radius: 0 0 28px 28px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0, 61, 136, 0.04);
}

.product-series-panel {
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border-right: 1px solid rgba(0, 61, 149, 0.08);
}

.product-series-item {
    display: grid;
    grid-template-columns: 16px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    min-height: 114px;
    padding: 0 22px;
    border: none;
    border-left: 3px solid transparent;
    background: transparent;
    text-align: left;
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.product-series-item:hover,
.product-series-item.is-active {
    background: rgba(0, 61, 149, 0.05);
    border-left-color: var(--product-primary);
}

.product-series-icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
}

.product-series-icon {
    width: 16px;
    height: 16px;
}

.product-series-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.product-series-copy strong {
    color: #3a4558;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: 0.04em;
}

.product-series-copy em {
    color: var(--product-text-light);
    font-size: 12px;
    font-style: normal;
    line-height: 18px;
    letter-spacing: 0.12em;
}

.product-series-item.is-active .product-series-copy strong {
    color: var(--product-primary);
}

.product-mega-stage {
    padding: 28px 32px 34px;
}

.product-mega-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 24px;
}

.product-mega-heading h1,
.product-catalog-head h2 {
    margin: 8px 0 10px;
    color: var(--product-primary-deep);
    font-size: 36px;
    line-height: 40px;
    font-weight: 500;
    letter-spacing: 0.37px;
}

.product-mega-heading p:last-child {
    max-width: 680px;
    margin: 0;
    color: var(--product-text-soft);
    font-size: 16px;
    line-height: 26px;
}

.product-view-all,
.product-collapse-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid rgba(0, 61, 149, 0.12);
    background: #ffffff;
    color: var(--product-primary);
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    white-space: nowrap;
}

.product-view-all:hover,
.product-collapse-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(0, 61, 149, 0.22);
    box-shadow: 0 10px 20px rgba(0, 61, 136, 0.08);
}

.product-view-all img {
    width: 12px;
    height: 12px;
}

.product-featured-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.product-feature-card,
.product-catalog-card {
    display: flex;
    flex-direction: column;
    background: var(--product-surface);
    border: 1px solid rgba(0, 61, 149, 0);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 14px rgba(0, 61, 136, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.product-feature-card:hover,
.product-catalog-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 61, 149, 0.08);
    box-shadow: var(--product-shadow);
}

.product-feature-card {
    min-height: 288px;
}

.product-card-media {
    position: relative;
    aspect-ratio: 423 / 264;
    overflow: hidden;
    background: #eef3f9;
}

.product-card-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 54%, rgba(0, 8, 28, 0.15) 100%);
    pointer-events: none;
}

.product-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-card-badge {
    position: absolute;
    top: 18px;
    left: 12px;
    z-index: 1;
    min-width: 40px;
    height: 20px;
    padding: 0 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, #e06b00 0%, #ff8c00 100%);
    color: #ffffff;
    font-size: 12px;
    line-height: 20px;
    letter-spacing: 0.18em;
    text-align: center;
}

.product-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 18px 20px 20px;
}

.product-card-series {
    margin: 0;
    color: var(--product-accent);
    font-size: 12px;
    line-height: 18px;
    letter-spacing: 0.2em;
}

.product-card-title {
    margin: 8px 0 6px;
    color: var(--product-primary-deep);
    font-size: 18px;
    line-height: 28px;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.product-card-subtitle {
    margin: 0;
    color: #8a9ab5;
    font-size: 14px;
    line-height: 22px;
    letter-spacing: 0.03em;
}

.product-card-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(0, 61, 149, 0.07);
}

.product-card-metric dt {
    margin: 0;
    color: var(--product-primary);
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    text-align: center;
}

.product-card-metric dd {
    margin: 4px 0 0;
    color: var(--product-text-light);
    font-size: 12px;
    line-height: 18px;
    letter-spacing: 0.08em;
    text-align: center;
}

.product-card-foot {
    display: flex;
    justify-content: flex-end;
    margin-top: 14px;
}

.product-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #c0ccda;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: 0.08em;
    text-decoration: none;
}

.product-card-link img {
    width: 14px;
    height: 14px;
}

.product-catalog {
    padding: 0;
    background: radial-gradient(circle at center, rgba(0, 61, 136, 0.055) 0%, rgba(0, 0, 0, 0) 36%), linear-gradient(90deg, #f4f7fb 0%, #f4f7fb 100%);
}

.product-catalog.is-expanded {
    padding: 0 0 92px;
}

.product-catalog-reveal {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    transition: grid-template-rows 0.5s ease, opacity 0.3s ease;
}

.product-catalog.is-expanded .product-catalog-reveal {
    grid-template-rows: 1fr;
    opacity: 1;
}

.product-catalog-shell {
    min-height: 0;
    overflow: hidden;
    padding-top: 28px;
}

.product-catalog-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-bottom: 26px;
}

.product-catalog-tabs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    min-height: 56px;
    margin-bottom: 24px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0, 61, 136, 0.08);
}

.product-catalog-tab {
    position: relative;
    min-height: 36px;
    padding: 0 2px 10px;
    border: none;
    background: transparent;
    color: var(--product-text-soft);
    font-size: 14px;
    line-height: 22px;
    letter-spacing: 0.06em;
    cursor: pointer;
}

.product-catalog-tab::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    border-radius: 999px;
    background: transparent;
}

.product-catalog-tab.is-active {
    color: var(--product-primary);
    font-weight: 500;
}

.product-catalog-tab.is-active::after {
    background: var(--product-primary);
}

.product-catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.product-catalog-card {
    min-height: 440px;
}

.product-catalog-card .product-card-title {
    font-size: 18px;
}

.product-catalog-card .product-card-subtitle {
    font-size: 14px;
}

.product-catalog-card .product-card-link {
    color: #9aabc0;
}

.product-empty-state {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    border: 1px dashed rgba(0, 61, 149, 0.14);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--product-text-soft);
    font-size: 15px;
    line-height: 24px;
    text-align: center;
}

.product-card-enter {
    animation: productFadeUp 0.45s ease both;
}

@keyframes productFadeUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 968px) {
    :root {
        --product-shell-width: min(1328px, calc(100% - 56px));
    }

    .product-mega-shell {
        grid-template-columns: 1fr;
    }

    .product-series-panel {
        flex-direction: row;
        flex-wrap: wrap;
        border-right: none;
        border-bottom: 1px solid rgba(0, 61, 149, 0.08);
    }

    .product-series-item {
        flex: 1 1 calc(50% - 1px);
        min-height: 72px;
        border-left: none;
        border-bottom: 2px solid transparent;
    }

    .product-series-item:hover,
    .product-series-item.is-active {
        border-left-color: transparent;
        border-bottom-color: var(--product-primary);
    }

    .product-mega-stage {
        padding: 24px;
    }

    .product-mega-head,
    .product-catalog-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .product-mega-heading h1,
    .product-catalog-head h2 {
        font-size: 30px;
        line-height: 36px;
        letter-spacing: 0.2px;
    }

    .product-mega-heading p:last-child {
        font-size: 15px;
        line-height: 25px;
    }

    .product-featured-grid,
    .product-catalog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 750px) {
    :root {
        --product-shell-width: calc(100% - 32px);
    }

    .product-mega {
        padding-bottom: 32px;
    }

    .product-series-item {
        flex-basis: 100%;
        min-height: 64px;
        padding: 0 16px;
    }

    .product-series-copy strong {
        font-size: 14px;
    }

    .product-series-copy em {
        font-size: 12px;
    }

    .product-mega-stage {
        padding: 18px 16px 20px;
    }

    .product-mega-heading h1,
    .product-catalog-head h2 {
        font-size: 24px;
        line-height: 32px;
        letter-spacing: 0;
    }

    .product-mega-heading p:last-child {
        font-size: 14px;
        line-height: 22px;
    }

    .product-featured-grid,
    .product-catalog-grid {
        grid-template-columns: 1fr;
    }

    .product-card-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 10px;
    }

    .product-catalog {
        padding-bottom: 0;
    }

    .product-catalog.is-expanded {
        padding-bottom: 72px;
    }

    .product-catalog-shell {
        padding-top: 18px;
    }

    .product-catalog-tabs {
        gap: 6px 12px;
        margin-bottom: 18px;
    }

    .product-catalog-tab {
        font-size: 13px;
        padding-bottom: 8px;
    }
}