/* Ocean Techno — modern product catalog */
.products-page {
    background: #fff;
}

.products-hero {
    position: relative;
    min-height: 700px;
    overflow: hidden;
    color: var(--white);
    background:
        radial-gradient(circle at 77% 43%, rgba(0, 143, 199, .28), transparent 27%),
        radial-gradient(circle at 19% 20%, rgba(41, 196, 220, .08), transparent 23%),
        linear-gradient(122deg, #03111d 0%, #061b2d 58%, #0a2b44 100%);
}

.products-hero::after {
    position: absolute;
    right: -170px;
    bottom: -245px;
    width: 540px;
    height: 540px;
    border: 1px solid rgba(99, 216, 232, .12);
    border-radius: 50%;
    box-shadow: 0 0 0 76px rgba(99, 216, 232, .025), 0 0 0 152px rgba(99, 216, 232, .018);
    content: "";
}

.products-hero-grid {
    position: absolute;
    inset: 0;
    opacity: .27;
    background-image:
        linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(to right, transparent 2%, #000 60%, #000 100%);
}

.products-hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr);
    align-items: center;
    gap: 70px;
    min-height: 700px;
    padding-top: 128px;
}

.eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--cyan-400);
    font-family: var(--heading);
    font-size: .73rem;
    font-weight: 800;
    letter-spacing: .17em;
    text-transform: uppercase;
}

.eyebrow > span,
.section-kicker::before {
    width: 28px;
    height: 2px;
    content: "";
    background: currentColor;
}

.section-kicker.light {
    color: var(--cyan-300);
}

.products-hero-copy h1 {
    max-width: 720px;
    margin: 18px 0 22px;
    color: #fff;
    font-family: var(--heading);
    font-size: clamp(3rem, 5.7vw, 5.35rem);
    font-weight: 800;
    line-height: .98;
    letter-spacing: -.052em;
}

.products-hero-copy {
    min-width: 0;
    width: 100%;
}

.products-hero-copy h1 em {
    color: var(--cyan-400);
    font-style: normal;
}

.products-hero-copy > p {
    max-width: 650px;
    margin: 0;
    color: rgba(255, 255, 255, .7);
    font-size: 1.03rem;
    line-height: 1.75;
}

.products-hero-actions {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-top: 31px;
}

.products-hero-link,
.catalog-support-actions > a:last-child {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: rgba(255, 255, 255, .88);
    font-family: var(--heading);
    font-size: .88rem;
    font-weight: 800;
}

.products-hero-link span,
.catalog-support-actions > a:last-child span {
    color: var(--cyan-400);
    transition: transform .2s ease;
}

.products-hero-link:hover span,
.catalog-support-actions > a:last-child:hover span {
    transform: translateX(4px);
}

.products-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 46px;
    color: rgba(255, 255, 255, .48);
    font-size: .8rem;
}

.products-breadcrumb a:hover {
    color: var(--cyan-300);
}

.products-breadcrumb strong {
    color: rgba(255, 255, 255, .78);
    font-weight: 500;
}

/* Product category radar */
.products-radar {
    position: relative;
    width: min(100%, 480px);
    aspect-ratio: 1;
    margin-left: auto;
}

.radar-ring,
.radar-axis {
    position: absolute;
    pointer-events: none;
}

.radar-ring {
    border: 1px solid rgba(99, 216, 232, .2);
    border-radius: 50%;
}

.radar-ring-one {
    inset: 8%;
}

.radar-ring-two {
    inset: 24%;
    border-style: dashed;
    animation: radar-spin 28s linear infinite;
}

.radar-axis {
    background: linear-gradient(90deg, transparent, rgba(99, 216, 232, .18), transparent);
}

.axis-horizontal {
    top: 50%;
    right: 0;
    left: 0;
    height: 1px;
}

.axis-vertical {
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    background: linear-gradient(transparent, rgba(99, 216, 232, .18), transparent);
}

.radar-core {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 150px;
    height: 150px;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(99, 216, 232, .48);
    border-radius: 50%;
    color: #fff;
    background: radial-gradient(circle, rgba(0, 143, 199, .4), rgba(4, 19, 32, .9) 70%);
    box-shadow: 0 0 55px rgba(0, 143, 199, .2);
}

.radar-core::after {
    position: absolute;
    inset: -9px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: inherit;
    content: "";
}

.radar-core strong {
    font-family: var(--heading);
    font-size: 3.25rem;
    line-height: .95;
}

.radar-core span {
    margin-top: 8px;
    color: var(--cyan-300);
    font-size: .66rem;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.radar-label {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 125px;
    padding: 11px 14px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 7px;
    color: rgba(255, 255, 255, .85);
    background: rgba(4, 19, 32, .68);
    box-shadow: 0 14px 35px rgba(0, 0, 0, .15);
    backdrop-filter: blur(8px);
}

.radar-label b {
    color: var(--cyan-400);
    font-size: .66rem;
    letter-spacing: .08em;
}

.radar-label span {
    font-family: var(--heading);
    font-size: .82rem;
    font-weight: 700;
}

.label-control { top: 10%; left: 35%; }
.label-power { top: 43%; right: -2%; }
.label-converter { right: 12%; bottom: 10%; }
.label-meter { bottom: 15%; left: 0; }

@keyframes radar-spin {
    to { transform: rotate(360deg); }
}

/* Catalog */
.catalog-section {
    padding: 108px 0 118px;
    background: linear-gradient(180deg, #fff 0%, #f4f9fb 100%);
}

.catalog-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 40px;
    margin-bottom: 42px;
}

.catalog-heading h2 {
    margin: 12px 0 14px;
    color: var(--navy-900);
    font-family: var(--heading);
    font-size: clamp(2.2rem, 4.2vw, 3.45rem);
    font-weight: 800;
    line-height: 1.07;
    letter-spacing: -.04em;
}

.catalog-heading p {
    max-width: 720px;
    margin: 0;
    color: var(--text);
    line-height: 1.75;
}

.catalog-count {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 10px 0 10px 24px;
    border-left: 1px solid var(--line);
    color: #718696;
    font-size: .77rem;
    line-height: 1.4;
}

.catalog-count strong {
    color: var(--navy-900);
    font-family: var(--heading);
    font-size: 2.55rem;
    line-height: 1;
}

.catalog-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 40px;
    padding: 13px 14px 13px 20px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 13px 35px rgba(4, 19, 32, .055);
}

.catalog-search {
    display: flex;
    align-items: center;
    flex: 1 1 260px;
    gap: 11px;
    max-width: 360px;
    margin: 0;
    padding-right: 20px;
    border-right: 1px solid var(--line);
    color: #7e93a3;
}

.catalog-search svg {
    flex: 0 0 20px;
    width: 20px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 1.8;
}

.catalog-search input {
    width: 100%;
    padding: 10px 0;
    border: 0;
    outline: 0;
    color: var(--navy-900);
    background: transparent;
    font: .88rem var(--body);
}

.catalog-search input::placeholder {
    color: #8ca0af;
}

.catalog-filters {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 5px;
}

.filter-button {
    padding: 10px 13px;
    border: 1px solid transparent;
    border-radius: 999px;
    color: #536a7c;
    background: transparent;
    font-family: var(--heading);
    font-size: .78rem;
    font-weight: 800;
    transition: color .2s ease, background .2s ease, box-shadow .2s ease;
}

.filter-button:hover {
    color: var(--blue-600);
    background: #ecf8fb;
}

.filter-button.active {
    color: #fff;
    background: var(--navy-900);
    box-shadow: 0 7px 17px rgba(4, 19, 32, .16);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.product-card {
    display: flex;
    min-width: 0;
    overflow: hidden;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 11px 32px rgba(4, 19, 32, .045);
    transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}

.product-card[hidden] {
    display: none;
}

.product-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 143, 199, .35);
    box-shadow: 0 22px 48px rgba(4, 19, 32, .11);
}

.product-card-media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    padding: 18px;
    background:
        linear-gradient(rgba(7, 27, 46, .027) 1px, transparent 1px),
        linear-gradient(90deg, rgba(7, 27, 46, .027) 1px, transparent 1px),
        linear-gradient(145deg, #edf5f8, #fbfdfe);
    background-size: 22px 22px, 22px 22px, auto;
}

.product-card-media::after {
    position: absolute;
    right: 18px;
    bottom: 18px;
    left: 18px;
    height: 32%;
    border-radius: 50%;
    content: "";
    background: rgba(7, 27, 46, .09);
    filter: blur(20px);
    transform: scaleX(.65);
}

.product-card-media img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .38s ease;
}

.product-card:hover .product-card-media img {
    transform: scale(1.045);
}

.product-index {
    position: absolute;
    z-index: 2;
    top: 13px;
    right: 14px;
    min-width: 34px;
    padding: 7px 8px;
    border: 1px solid rgba(7, 27, 46, .08);
    border-radius: 6px;
    color: #617787;
    background: rgba(255, 255, 255, .9);
    font-size: .64rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-align: center;
    backdrop-filter: blur(7px);
}

.product-card-body {
    display: flex;
    flex: 1;
    align-items: flex-start;
    flex-direction: column;
    padding: 25px 25px 27px;
}

.product-category {
    margin-bottom: 10px;
    color: var(--blue-600);
    font-family: var(--heading);
    font-size: .66rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.product-card h3 {
    margin: 0 0 11px;
    color: var(--navy-900);
    font-family: var(--heading);
    font-size: 1.18rem;
    font-weight: 800;
    line-height: 1.3;
}

.product-card h3 a {
    transition: color .2s ease;
}

.product-card h3 a:hover {
    color: var(--blue-600);
}

.product-card p {
    margin: 0 0 20px;
    color: var(--text);
    font-size: .86rem;
    line-height: 1.65;
}

.product-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    color: var(--navy-900);
    font-family: var(--heading);
    font-size: .77rem;
    font-weight: 800;
    letter-spacing: .03em;
}

.product-card-link span {
    color: var(--blue-600);
    font-size: 1rem;
    transition: transform .2s ease;
}

.product-card-link:hover span {
    transform: translateX(4px);
}

.catalog-empty {
    margin-top: 30px;
    padding: 70px 20px;
    border: 1px dashed #c9dbe5;
    border-radius: 15px;
    color: var(--text);
    background: rgba(255, 255, 255, .75);
    text-align: center;
}

.catalog-empty[hidden] {
    display: none;
}

.catalog-empty > span {
    display: block;
    margin-bottom: 8px;
    color: var(--blue-600);
    font-size: 2.5rem;
}

.catalog-empty h3 {
    margin: 0 0 8px;
    color: var(--navy-900);
    font: 800 1.3rem var(--heading);
}

.catalog-empty p {
    margin: 0;
}

/* Bottom contact panel */
.catalog-support {
    padding: 0 0 105px;
    background: #f4f9fb;
}

.catalog-support-card {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) auto;
    align-items: center;
    gap: 60px;
    overflow: hidden;
    padding: 58px 62px;
    border-radius: 16px;
    color: #fff;
    background:
        radial-gradient(circle at 90% 10%, rgba(41, 196, 220, .18), transparent 28%),
        linear-gradient(120deg, #061827, #0a2a43);
    box-shadow: 0 25px 65px rgba(4, 19, 32, .15);
}

.catalog-support-card h2 {
    margin: 11px 0 12px;
    color: #fff;
    font: 800 clamp(2rem, 3.5vw, 3rem)/1.08 var(--heading);
    letter-spacing: -.035em;
}

.catalog-support-card p {
    max-width: 700px;
    margin: 0;
    color: rgba(255, 255, 255, .66);
    line-height: 1.7;
}

.catalog-support-actions {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 17px;
}

@media (max-width: 1199.98px) {
    .products-hero-inner {
        grid-template-columns: minmax(0, 1.05fr) minmax(330px, .75fr);
        gap: 30px;
    }

    .products-radar {
        transform: scale(.9);
    }

    .catalog-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .catalog-search {
        flex-basis: auto;
        max-width: none;
        padding: 0 5px 12px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .catalog-filters {
        justify-content: flex-start;
    }
}

@media (max-width: 991.98px) {
    .products-hero,
    .products-hero-inner {
        min-height: 720px;
    }

    .products-hero-inner {
        grid-template-columns: 1fr;
        padding-top: 130px;
        padding-bottom: 65px;
    }

    .products-hero-copy {
        max-width: 760px;
    }

    .products-radar {
        position: absolute;
        right: -120px;
        bottom: -120px;
        width: 410px;
        opacity: .42;
    }

    .radar-label {
        display: none;
    }

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

    .catalog-support-card {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .catalog-support-actions {
        align-items: flex-start;
        flex-direction: row;
    }
}

@media (max-width: 767.98px) {
    .products-hero,
    .products-hero-inner {
        min-height: 670px;
    }

    .products-hero-inner {
        padding-top: 118px;
    }

    .products-hero-copy h1 {
        font-size: clamp(2.6rem, 12vw, 4.25rem);
    }

    .products-hero-copy > p {
        font-size: .96rem;
    }

    .products-hero-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
    }

    .products-breadcrumb {
        margin-top: 34px;
    }

    .products-radar {
        right: -155px;
        bottom: -150px;
        width: 380px;
    }

    .catalog-section {
        padding: 78px 0 84px;
    }

    .catalog-heading {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 30px;
    }

    .catalog-count {
        padding: 0;
        border-left: 0;
    }

    .catalog-toolbar {
        margin-bottom: 27px;
    }

    .catalog-filters {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 3px;
        scrollbar-width: thin;
    }

    .filter-button {
        flex: 0 0 auto;
    }

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

    .product-card-media {
        aspect-ratio: 4 / 2.8;
    }

    .catalog-support {
        padding-bottom: 75px;
    }

    .catalog-support-card {
        padding: 42px 27px;
    }

    .catalog-support-actions {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 420px) {
    .products-hero-copy h1 br {
        display: none;
    }

    .catalog-toolbar {
        padding: 11px;
    }

    .product-card-body {
        padding: 22px 21px 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .radar-ring-two {
        animation: none;
    }
}
