:root {
    --cyan: #08bfd6;
    --turquoise: #13c7c6;
    --green: #79dc52;
    --graphite: #202d33;
    --graphite-soft: #34444b;
    --white: #ffffff;
    --offwhite: #f6f8f7;
    --line: #dfe6e5;
    --muted: #6d7a7f;
    --gradient: linear-gradient(135deg, var(--cyan), var(--turquoise) 48%, var(--green));
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, "Helvetica Neue", Arial, sans-serif;
    color: var(--graphite);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

.site-header {
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    color: white;
    transition: .3s ease;
}

.site-header.scrolled,
body:not(.home) .site-header {
    color: var(--graphite);
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(18px);
    box-shadow: 0 1px 0 rgba(20,40,45,.08);
}

.header-inner {
    width: min(1500px, calc(100% - 80px));
    height: 92px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand,
.footer-brand {
    font-size: 31px;
    font-weight: 650;
    letter-spacing: -1.8px;
}

.brand-s,
.brand-l {
    background: var(--gradient);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 34px;
    font-size: 14px;
    font-weight: 600;
}

.main-nav a {
    transition: opacity .2s ease;
}

.main-nav a:hover {
    opacity: .6;
}

.nav-contact {
    border: 1px solid currentColor;
    padding: 13px 22px;
    border-radius: 30px;
}

.menu-toggle {
    display: none;
}

.hero {
    position: relative;
    height: 100svh;
    min-height: 700px;
    color: white;
    overflow: hidden;
    background: #142126;
}

.hero-video,
.hero-background,
.hero-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-video {
    object-fit: cover;
    z-index: 0;
}

.hero-background {
    z-index: 1;
    background:
        radial-gradient(circle at 80% 35%, rgba(8,191,214,.28), transparent 32%),
        radial-gradient(circle at 70% 80%, rgba(121,220,82,.16), transparent 35%),
        linear-gradient(125deg, #17262c 0%, #22363c 52%, #122026 100%);
}

.hero-overlay {
    z-index: 2;
    background: linear-gradient(90deg, rgba(9,18,22,.64), rgba(9,18,22,.12));
}

.hero-content {
    position: relative;
    z-index: 3;
    width: min(1500px, calc(100% - 80px));
    margin: auto;
    padding-top: 27vh;
}

.eyebrow {
    font-size: 12px;
    font-weight: 750;
    letter-spacing: 2.5px;
    margin-bottom: 30px;
}

.eyebrow.dark {
    color: var(--muted);
}

.hero h1,
.catalog-hero h1 {
    font-size: clamp(62px, 8vw, 132px);
    line-height: .89;
    letter-spacing: -6px;
    margin: 0;
    max-width: 1100px;
    font-weight: 550;
}

.hero h1 span,
.intro h2 span,
.section-heading h2 span,
.services-intro h2 span,
.catalog-hero h1 span,
.contact-section h2 span {
    background: var(--gradient);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.hero-content > p {
    font-size: 19px;
    line-height: 1.6;
    max-width: 650px;
    margin: 38px 0;
    color: rgba(255,255,255,.82);
}

.hero-actions {
    display: flex;
    gap: 14px;
}

.button {
    min-height: 54px;
    padding: 0 27px;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.button-primary {
    background: var(--gradient);
    color: #102126;
}

.button-secondary {
    border: 1px solid rgba(255,255,255,.55);
    color: white;
}

.scroll-indicator {
    position: absolute;
    z-index: 3;
    bottom: 38px;
    right: 50px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.scroll-indicator span {
    width: 48px;
    height: 1px;
    background: white;
}

.section {
    padding: 130px max(40px, calc((100vw - 1500px)/2));
}

.section-number {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 60px;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 12vw;
}

.intro h2,
.section-heading h2,
.services-intro h2,
.contact-section h2 {
    font-size: clamp(48px, 6vw, 92px);
    line-height: .96;
    letter-spacing: -4px;
    font-weight: 520;
    margin: 0;
}

.intro-copy {
    padding-top: 55px;
    max-width: 650px;
}

.large-copy {
    font-size: 27px;
    line-height: 1.4;
}

.intro-copy > p:not(.large-copy) {
    color: var(--muted);
    line-height: 1.8;
    font-size: 16px;
}

.text-link {
    display: inline-block;
    margin-top: 20px;
    font-weight: 700;
    border-bottom: 1px solid var(--graphite);
    padding-bottom: 5px;
}

.solutions {
    background: var(--offwhite);
}

.section-heading {
    margin-bottom: 75px;
}

.split-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.solution-card {
    min-height: 500px;
    padding: 42px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform .25s ease;
}

.solution-card:hover {
    transform: translateY(-8px);
}

.solution-dark {
    background: var(--graphite);
    color: white;
}

.solution-gradient {
    background: var(--gradient);
    color: #13262b;
}

.solution-light {
    background: white;
    color: var(--graphite);
}

.solution-index {
    font-size: 12px;
    opacity: .65;
}

.solution-card h3 {
    font-size: 42px;
    margin: 0 0 20px;
    letter-spacing: -2px;
}

.solution-card p {
    max-width: 350px;
    line-height: 1.6;
    opacity: .76;
}

.card-arrow {
    align-self: flex-end;
    font-size: 32px;
}

.category-grid {
    border-top: 1px solid var(--line);
}

.category-card {
    min-height: 125px;
    display: grid;
    grid-template-columns: 80px 1fr auto;
    align-items: center;
    border-bottom: 1px solid var(--line);
    transition: padding .25s, background .25s;
}

.category-card:hover {
    padding-left: 20px;
    background: var(--offwhite);
}

.category-number {
    color: var(--muted);
    font-size: 12px;
}

.category-card h3 {
    margin: 0;
    font-size: 26px;
    letter-spacing: -1px;
}

.category-card p {
    margin: 8px 0 0;
    color: var(--muted);
}

.category-arrow {
    font-size: 25px;
}

.services-section {
    padding: 130px max(40px, calc((100vw - 1500px)/2));
    background: var(--graphite);
    color: white;
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 9vw;
}

.services-intro {
    position: sticky;
    top: 150px;
    align-self: start;
}

.services-intro p {
    max-width: 450px;
    color: rgba(255,255,255,.65);
    line-height: 1.7;
    margin-top: 35px;
}

.service-row {
    padding: 37px 0;
    display: grid;
    grid-template-columns: 55px .8fr 1fr;
    gap: 25px;
    border-bottom: 1px solid rgba(255,255,255,.14);
}

.service-row > span {
    font-size: 11px;
    color: var(--cyan);
}

.service-row h3 {
    margin: 0;
    font-size: 25px;
}

.service-row p {
    margin: 0;
    color: rgba(255,255,255,.55);
    line-height: 1.6;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 25px;
}

.project-card {
    background: var(--offwhite);
}

.project-visual {
    height: 340px;
    position: relative;
    background:
        radial-gradient(circle at 70% 30%, rgba(8,191,214,.5), transparent 28%),
        linear-gradient(145deg, #24353b, #15252b);
}

.project-visual span {
    position: absolute;
    top: 25px;
    left: 25px;
    color: white;
    font-size: 12px;
}

.project-copy {
    padding: 32px;
}

.project-copy small {
    color: var(--muted);
    letter-spacing: 1px;
}

.project-copy h3 {
    font-size: 27px;
    margin: 14px 0;
}

.project-copy p {
    color: var(--muted);
    line-height: 1.6;
}

.contact-section {
    padding: 130px max(40px, calc((100vw - 1500px)/2));
    background: var(--gradient);
    color: #13262b;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-section h2 span {
    color: white;
    background: none;
    -webkit-text-fill-color: white;
}

.contact-section p {
    font-size: 18px;
    max-width: 550px;
    line-height: 1.6;
}

.contact-circle {
    width: 210px;
    height: 210px;
    border-radius: 50%;
    background: var(--graphite);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: transform .25s;
}

.contact-circle:hover {
    transform: scale(1.05);
}

.contact-circle strong {
    font-size: 28px;
    margin-top: 10px;
}

.site-footer {
    padding: 85px max(40px, calc((100vw - 1500px)/2)) 30px;
    background: #111c20;
    color: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3,1fr);
    gap: 70px;
}

.footer-grid h4 {
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.footer-grid a,
.footer-grid p {
    display: block;
    color: rgba(255,255,255,.58);
    margin: 12px 0;
    line-height: 1.5;
}

.footer-muted {
    font-size: 13px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.12);
    margin-top: 70px;
    padding-top: 25px;
    color: rgba(255,255,255,.4);
    font-size: 12px;
}

.catalog-hero {
    padding: 190px max(40px, calc((100vw - 1500px)/2)) 100px;
    background: var(--offwhite);
}

.catalog-hero h1 {
    color: var(--graphite);
    font-size: clamp(55px, 7vw, 105px);
}

.catalog-hero.compact h1 {
    font-size: clamp(45px, 6vw, 80px);
}

.catalog-layout {
    padding: 70px max(40px, calc((100vw - 1500px)/2)) 120px;
}

.search-box {
    display: flex;
    max-width: 800px;
}

.search-box input {
    flex: 1;
    height: 58px;
    border: 1px solid var(--line);
    padding: 0 20px;
    font-size: 15px;
    outline: none;
}

.search-box button {
    border: 0;
    background: var(--graphite);
    color: white;
    padding: 0 28px;
    font-weight: 700;
}

.category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 25px;
}

.category-filter a {
    padding: 9px 14px;
    background: var(--offwhite);
    font-size: 12px;
    border-radius: 20px;
}

.category-filter a.active {
    background: var(--graphite);
    color: white;
}

.catalog-count {
    margin: 55px 0 20px;
    color: var(--muted);
    font-size: 13px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.product-card {
    border: 1px solid var(--line);
    background: white;
    transition: transform .2s, box-shadow .2s;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(20,40,45,.08);
}

.product-image-placeholder {
    aspect-ratio: 1.2;
    padding: 25px;
    background:
        radial-gradient(circle at 75% 25%, rgba(8,191,214,.16), transparent 28%),
        var(--offwhite);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.placeholder-mark {
    font-size: 45px;
    font-weight: 750;
    letter-spacing: -5px;
    background: var(--gradient);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.product-image-placeholder small {
    color: var(--muted);
}

.product-info {
    padding: 23px;
}

.product-info > small {
    color: var(--muted);
}

.product-info h3 {
    min-height: 62px;
    font-size: 17px;
    line-height: 1.4;
}

.product-bottom {
    border-top: 1px solid var(--line);
    padding-top: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-bottom strong {
    font-size: 18px;
}

.product-bottom strong small {
    font-size: 10px;
    color: var(--muted);
}

.product-detail {
    min-height: 100vh;
    padding: 160px max(40px, calc((100vw - 1500px)/2)) 100px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8vw;
}

.product-detail-media {
    background: var(--offwhite);
    min-height: 620px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-detail-media img {
    max-width: 90%;
    max-height: 580px;
    object-fit: contain;
}

.detail-placeholder {
    text-align: center;
}

.detail-placeholder span {
    display: block;
    font-size: 120px;
    font-weight: 750;
    letter-spacing: -12px;
    background: var(--gradient);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.detail-placeholder small {
    color: var(--muted);
}

.product-detail-copy {
    padding-top: 40px;
}

.breadcrumbs {
    color: var(--muted);
    font-size: 12px;
    margin-bottom: 50px;
}

.product-code {
    font-size: 13px;
    color: var(--cyan);
    font-weight: 750;
    letter-spacing: 1px;
}

.product-detail h1 {
    font-size: clamp(38px, 4vw, 65px);
    line-height: 1.05;
    letter-spacing: -2.5px;
    margin: 15px 0 25px;
}

.condition {
    display: inline-block;
    background: var(--offwhite);
    padding: 8px 13px;
    font-size: 12px;
}

.detail-description {
    color: var(--muted);
    line-height: 1.7;
    margin: 30px 0;
}

.detail-price {
    margin: 45px 0 25px;
}

.detail-price strong {
    display: block;
    font-size: 38px;
}

.detail-price span {
    color: var(--muted);
    font-size: 12px;
}

.dark-button {
    color: #102126;
}

.product-meta {
    margin-top: 50px;
    border-top: 1px solid var(--line);
}

.product-meta > div {
    padding: 17px 0;
    border-bottom: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.product-meta span {
    color: var(--muted);
    font-size: 12px;
}

.product-meta strong {
    font-size: 12px;
    text-align: right;
}

.empty-state {
    padding: 70px 0;
    color: var(--muted);
}

@media (max-width: 1000px) {

    .header-inner {
        width: calc(100% - 40px);
    }

    .menu-toggle {
        display: block;
        background: none;
        border: 0;
        padding: 10px;
    }

    .menu-toggle span {
        display: block;
        width: 25px;
        height: 2px;
        background: currentColor;
        margin: 5px;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 92px;
        left: 0;
        width: 100%;
        padding: 30px;
        background: white;
        color: var(--graphite);
        flex-direction: column;
        align-items: flex-start;
    }

    .main-nav.open {
        display: flex;
    }

    .hero-content {
        width: calc(100% - 40px);
    }

    .hero h1 {
        letter-spacing: -3px;
    }

    .intro-grid,
    .services-section,
    .product-detail {
        grid-template-columns: 1fr;
    }

    .solution-grid,
    .project-grid {
        grid-template-columns: 1fr;
    }

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

    .services-intro {
        position: static;
    }

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

@media (max-width: 600px) {

    .section,
    .services-section,
    .catalog-layout,
    .contact-section {
        padding-left: 20px;
        padding-right: 20px;
    }

    .hero h1 {
        font-size: 58px;
        letter-spacing: -3px;
    }

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

    .intro-grid {
        gap: 20px;
    }

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

    .service-row {
        grid-template-columns: 35px 1fr;
    }

    .service-row p {
        grid-column: 2;
    }

    .contact-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 50px;
    }

    .contact-circle {
        width: 150px;
        height: 150px;
    }

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

    .product-detail {
        padding-left: 20px;
        padding-right: 20px;
    }

    .product-detail-media {
        min-height: 400px;
    }
}

/* SmartLink hero video visibility fix */
.hero-background {
    background: transparent !important;
    pointer-events: none;
}

.hero-video {
    z-index: 0;
    object-fit: cover;
}

.hero-overlay {
    z-index: 1;
    background: linear-gradient(
        90deg,
        rgba(9,18,22,.68) 0%,
        rgba(9,18,22,.32) 48%,
        rgba(9,18,22,.12) 100%
    );
    pointer-events: none;
}

.hero-content {
    z-index: 2;
}

/* SmartLink catalog product images */
.product-image {
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: #fff;
    overflow: hidden;
}

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



/* =========================================================
   SmartLink structured product detail
   ========================================================= */

.product-detail-page {
    max-width: 1280px;
    margin: 0 auto;
    padding: 32px 24px 80px;
}

.product-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
    font-size: 14px;
    opacity: .72;
}

.product-breadcrumbs a {
    text-decoration: none;
}

.product-detail-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr);
    gap: 56px;
    align-items: start;
    margin-bottom: 64px;
}

.product-detail-media {
    min-height: 480px;
    background: #fff;
    border-radius: 18px;
    padding: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-detail-main-image {
    width: 100%;
    max-height: 500px;
    object-fit: contain;
}

.product-detail-placeholder {
    min-height: 360px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.product-detail-placeholder span {
    font-size: 54px;
    font-weight: 700;
}

.product-code {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    opacity: .62;
    margin-bottom: 12px;
}

.product-detail-summary h1 {
    font-size: clamp(32px, 4vw, 50px);
    line-height: 1.08;
    margin: 0 0 20px;
}

.product-condition {
    display: inline-block;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 28px;
    background: rgba(40, 190, 150, .12);
}

.product-detail-price {
    margin: 12px 0 28px;
}

.product-detail-price strong {
    display: block;
    font-size: 34px;
    line-height: 1.1;
}

.product-detail-price span {
    display: block;
    font-size: 14px;
    margin-top: 6px;
    opacity: .65;
}

.product-inquiry-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 24px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    margin-bottom: 32px;
}

.product-detail-meta {
    border-top: 1px solid rgba(128,128,128,.22);
    padding-top: 22px;
}

.product-detail-meta > div {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 16px;
    padding: 9px 0;
}

.product-detail-meta strong {
    font-size: 14px;
}

.product-detail-meta span {
    font-size: 14px;
    opacity: .78;
}

.product-content-section {
    padding: 42px 0;
    border-top: 1px solid rgba(128,128,128,.2);
}

.product-content-section h2 {
    font-size: 30px;
    margin: 0 0 26px;
}

.product-overview {
    max-width: 980px;
}

.product-overview p,
.product-content-list p {
    line-height: 1.75;
    margin: 0 0 16px;
}

.product-feature-list {
    margin: 0;
    padding-left: 22px;
    max-width: 1000px;
}

.product-feature-list li {
    line-height: 1.6;
    margin-bottom: 9px;
}

.product-spec-table-wrapper {
    width: 100%;
    overflow-x: auto;
}

.product-spec-table {
    width: 100%;
    border-collapse: collapse;
}

.product-spec-table th,
.product-spec-table td {
    text-align: left;
    vertical-align: top;
    padding: 13px 16px;
    border-bottom: 1px solid rgba(128,128,128,.18);
    line-height: 1.5;
}

.product-spec-table th {
    width: 34%;
    font-weight: 700;
}

.product-spec-table .spec-section-row th {
    width: auto;
    padding-top: 28px;
    font-size: 18px;
}

.product-download-list {
    display: grid;
    gap: 10px;
}

.product-download-item {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 16px 18px;
    border: 1px solid rgba(128,128,128,.2);
    border-radius: 10px;
    text-decoration: none;
}

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

.related-product-item {
    padding: 18px;
    border: 1px solid rgba(128,128,128,.2);
    border-radius: 12px;
}

.related-product-item strong,
.related-product-item span {
    display: block;
}

.related-product-item span {
    margin-top: 6px;
    font-size: 13px;
    opacity: .65;
}

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

    .product-detail-media {
        min-height: 340px;
    }

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

@media (max-width: 600px) {
    .product-detail-page {
        padding-left: 16px;
        padding-right: 16px;
    }

    .product-detail-meta > div {
        grid-template-columns: 1fr;
        gap: 3px;
    }

    .product-spec-table th,
    .product-spec-table td {
        min-width: 180px;
    }

    .product-download-item {
        flex-direction: column;
        gap: 4px;
    }
}

/* === SMARTLINK LIVE HERO VIDEO === */

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 0;
    display: block;
}

.hero-background {
    z-index: 1;
    background: transparent;
    pointer-events: none;
}

.hero-overlay {
    z-index: 2;
    background:
        linear-gradient(
            90deg,
            rgba(5, 13, 20, .78) 0%,
            rgba(5, 13, 20, .48) 42%,
            rgba(5, 13, 20, .16) 72%,
            rgba(5, 13, 20, .10) 100%
        );
    pointer-events: none;
}



/* =========================================================
   SMARTLINK HOMEPAGE V2 — HEADER + HERO
========================================================= */

body:has(.hero) .site-header:not(.scrolled) {
    background: linear-gradient(
        180deg,
        rgba(5, 14, 20, .72) 0%,
        rgba(5, 14, 20, .30) 55%,
        transparent 100%
    );
    color: #fff;
    box-shadow: none;
}

body:has(.hero) .site-header:not(.scrolled) .header-inner {
    border-bottom: 1px solid rgba(255,255,255,.14);
}

.header-inner {
    width: min(1500px, calc(100% - 96px));
    height: 96px;
}

.brand {
    font-size: 34px;
    font-weight: 700;
}

.main-nav {
    gap: 32px;
}

.main-nav a {
    font-size: 14px;
    letter-spacing: .1px;
}

body:has(.hero) .site-header:not(.scrolled) .nav-contact {
    border-color: rgba(255,255,255,.55);
}

.hero-content {
    width: min(1500px, calc(100% - 96px));
    padding-top: 29vh;
}

.hero h1 {
    font-size: clamp(72px, 7.2vw, 124px);
    line-height: .88;
    max-width: 1050px;
    letter-spacing: -5px;
}

.hero-content > p {
    max-width: 700px;
    font-size: 20px;
    line-height: 1.55;
    margin: 34px 0 32px;
}

.hero .eyebrow {
    margin-bottom: 24px;
    letter-spacing: 3px;
}

.hero-actions {
    gap: 16px;
}

.hero .button {
    min-height: 58px;
    padding: 0 30px;
}

.hero-overlay {
    background:
        linear-gradient(
            90deg,
            rgba(3,11,18,.82) 0%,
            rgba(3,11,18,.62) 28%,
            rgba(3,11,18,.28) 57%,
            rgba(3,11,18,.08) 100%
        );
}

@media (max-width: 900px) {
    .header-inner,
    .hero-content {
        width: calc(100% - 40px);
    }

    .hero h1 {
        font-size: clamp(55px, 15vw, 85px);
        letter-spacing: -3px;
    }

    .hero-content > p {
        font-size: 17px;
    }
}


/* =========================================================
   PROJECTS
========================================================= */

.projects-section {
    background: #f4f7f8;
}

.projects-lead {
    max-width: 430px;
    align-self: end;
    color: #52616b;
    font-size: 18px;
    line-height: 1.6;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    margin-top: 64px;
    background: rgba(8, 37, 55, .14);
    border: 1px solid rgba(8, 37, 55, .14);
}

.project-card {
    min-height: 420px;
    padding: 42px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: #71808a;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .13em;
}

.project-card h3 {
    margin: auto 0 22px;
    color: #082537;
    font-size: clamp(28px, 2.4vw, 40px);
    line-height: 1.05;
}

.project-card p {
    margin: 0;
    max-width: 390px;
    color: #52616b;
    line-height: 1.65;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 30px;
}

.project-tags span {
    padding: 8px 12px;
    border: 1px solid rgba(8, 37, 55, .16);
    border-radius: 999px;
    color: #17394a;
    font-size: 11px;
    font-weight: 700;
}

@media (max-width: 900px) {
    .projects-grid {
        grid-template-columns: 1fr;
        margin-top: 40px;
    }

    .project-card {
        min-height: 330px;
        padding: 30px;
    }

    .project-card h3 {
        margin-top: 80px;
    }

    .projects-lead {
        margin-top: 24px;
    }
}



/* =========================================================
   PROJECT VIDEO MEDIA
========================================================= */

.project-card {
    padding: 0;
    overflow: hidden;
}

.project-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #071c28;
}

.project-media video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .8s cubic-bezier(.2,.7,.2,1);
}

.project-media-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(
            180deg,
            rgba(5,20,30,0) 45%,
            rgba(5,20,30,.22) 100%
        );
}

.project-card:hover .project-media video {
    transform: scale(1.035);
}

.project-card .project-meta {
    padding: 30px 36px 0;
}

.project-card h3 {
    margin: 70px 36px 22px;
}

.project-card > p {
    margin-left: 36px;
    margin-right: 36px;
}

.project-card .project-tags {
    margin: 30px 36px 36px;
}

@media (max-width: 900px) {

    .project-card {
        min-height: 0;
    }

    .project-card .project-meta {
        padding: 25px 26px 0;
    }

    .project-card h3 {
        margin: 55px 26px 20px;
    }

    .project-card > p {
        margin-left: 26px;
        margin-right: 26px;
    }

    .project-card .project-tags {
        margin: 26px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .project-media video {
        transition: none;
    }

    .project-card:hover .project-media video {
        transform: none;
    }
}



/* =========================================================
   LEGAL PAGES
========================================================= */

.legal-page {
    padding: 170px 48px 120px;
    background: #f5f7f8;
    color: #082537;
}

.legal-container {
    width: min(920px, 100%);
    margin: 0 auto;
}

.legal-page h1 {
    margin: 18px 0 20px;
    font-size: clamp(52px, 7vw, 92px);
    line-height: .95;
    letter-spacing: -4px;
}

.legal-intro {
    margin: 0 0 80px;
    max-width: 650px;
    color: #5c6971;
    font-size: 20px;
    line-height: 1.6;
}

.legal-block {
    padding: 38px 0;
    border-top: 1px solid rgba(8,37,55,.14);
}

.legal-block h2 {
    margin: 0 0 20px;
    font-size: 22px;
    color: #082537;
}

.legal-block p {
    max-width: 760px;
    margin: 0 0 16px;
    color: #52616b;
    font-size: 16px;
    line-height: 1.75;
}

.legal-block a {
    color: #008fba;
    text-decoration: none;
}

.legal-block a:hover {
    text-decoration: underline;
}

@media (max-width: 900px) {

    .legal-page {
        padding: 130px 24px 80px;
    }

    .legal-page h1 {
        letter-spacing: -2px;
    }

    .legal-intro {
        margin-bottom: 50px;
    }
}



/* =========================================================
   SMARTLINK HEADER LOGO
========================================================= */

.brand-logo {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    line-height: 0;
}

.brand-logo img {
    display: block;
    width: auto;
    height: 58px;
    max-width: 270px;
    object-fit: contain;
}

/* Logo2 has a white background:
   keep the approved artwork unchanged. */
body:has(.hero) .site-header:not(.scrolled) .brand-logo {
    background: rgba(255,255,255,.96);
    padding: 5px 12px;
    border-radius: 6px;
}

.site-header.scrolled .brand-logo {
    background: transparent;
    padding: 0;
}

@media (max-width: 1100px) {
    .brand-logo img {
        height: 50px;
        max-width: 230px;
    }
}

@media (max-width: 700px) {
    .brand-logo img {
        height: 42px;
        max-width: 190px;
    }

    body:has(.hero) .site-header:not(.scrolled) .brand-logo {
        padding: 4px 8px;
    }
}


/* =========================================================
   HEADER LOGO — FINAL INTEGRATION
========================================================= */

body:has(.hero) .site-header:not(.scrolled) .brand-logo,
.site-header.scrolled .brand-logo {
    background: transparent;
    padding: 0;
    border-radius: 0;
}

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

@media (max-width: 1100px) {
    .brand-logo img {
        height: 54px;
        max-width: 260px;
    }
}

@media (max-width: 700px) {
    .brand-logo img {
        height: 46px;
        max-width: 220px;
    }
}


/* =========================================================
   SMARTLINK WHITE HEADER — FINAL
========================================================= */

.site-header,
body:has(.hero) .site-header:not(.scrolled),
.site-header.scrolled {
    background: #ffffff;
    color: #082537;
    box-shadow: 0 1px 0 rgba(8,37,55,.08);
}

.header-inner {
    width: min(1500px, calc(100% - 96px));
    height: 92px;
}

/* Logo */
body:has(.hero) .site-header:not(.scrolled) .brand-logo,
.site-header.scrolled .brand-logo,
.brand-logo {
    background: transparent;
    padding: 0;
    border-radius: 0;
}

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

/* Navigation */
.main-nav {
    gap: 38px;
}

.main-nav a,
body:has(.hero) .site-header:not(.scrolled) .main-nav a {
    color: #082537;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.main-nav a:hover,
body:has(.hero) .site-header:not(.scrolled) .main-nav a:hover {
    color: #00a8c8;
}

/* Contact button */
.main-nav .nav-contact,
body:has(.hero) .site-header:not(.scrolled) .main-nav .nav-contact {
    color: #ffffff;
    background: linear-gradient(90deg, #00a9ca, #008eae);
    border-color: transparent;
    padding: 13px 25px;
}

.main-nav .nav-contact:hover,
body:has(.hero) .site-header:not(.scrolled) .main-nav .nav-contact:hover {
    color: #ffffff;
    transform: translateY(-1px);
}

/* Mobile menu icon */
.menu-toggle span,
body:has(.hero) .site-header:not(.scrolled) .menu-toggle span {
    background: #082537;
}

@media (max-width: 1100px) {

    .header-inner {
        width: min(100% - 48px, 1500px);
    }

    .main-nav {
        gap: 22px;
    }

    .main-nav a,
    body:has(.hero) .site-header:not(.scrolled) .main-nav a {
        font-size: 14px;
    }

    .brand-logo img {
        height: 56px;
        max-width: 270px;
    }
}

@media (max-width: 900px) {

    .header-inner {
        width: calc(100% - 40px);
        height: 78px;
    }

    .brand-logo img {
        height: 50px;
        max-width: 235px;
    }

    .main-nav {
        background: #ffffff;
    }

    .main-nav a,
    body:has(.hero) .site-header:not(.scrolled) .main-nav a {
        color: #082537;
        font-size: 17px;
    }
}


/* =========================================================
   CORE CARDS — REAL IMAGES
========================================================= */

.solution-card {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.solution-media {
    position: relative;
    width: 100%;
    height: 245px;
    overflow: hidden;
    flex: 0 0 auto;
}

.solution-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .7s cubic-bezier(.2,.7,.2,1);
}

.solution-media-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(
            180deg,
            rgba(4,20,30,.02) 40%,
            rgba(4,20,30,.20) 100%
        );
}

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

/* restore internal card spacing */

.solution-card .solution-index {
    padding: 28px 38px 0;
}

.solution-card > div:not(.solution-media):not(.solution-index) {
    padding-left: 38px;
    padding-right: 38px;
}

.solution-card .card-arrow {
    margin: auto 38px 38px;
    padding-top: 35px;
}

/* Keep card heights visually balanced */

.solution-card {
    min-height: 610px;
}

.solution-card h3 {
    margin-top: 65px;
}

/* Individual image positioning */

.solution-dark .solution-media img {
    object-position: center center;
}

.solution-gradient .solution-media img {
    object-position: center center;
}

.solution-light .solution-media img {
    object-position: center center;
}

@media (max-width: 900px) {

    .solution-card {
        min-height: 540px;
    }

    .solution-media {
        height: 230px;
    }

    .solution-card .solution-index {
        padding: 24px 28px 0;
    }

    .solution-card > div:not(.solution-media):not(.solution-index) {
        padding-left: 28px;
        padding-right: 28px;
    }

    .solution-card .card-arrow {
        margin: auto 28px 28px;
    }

    .solution-card h3 {
        margin-top: 45px;
    }
}


/* =========================================================
   CORE CARD IMAGES — WIDER VISUAL
========================================================= */

.solution-media {
    width: calc(100% + 36px);
    height: 275px;
    margin-left: -18px;
    margin-right: -18px;
    margin-top: -12px;
}

.solution-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* keep first/last visual clean inside the grid */
.solution-card {
    overflow: visible;
}

.solution-grid {
    overflow: visible;
}

@media (max-width: 900px) {
    .solution-media {
        width: calc(100% + 20px);
        height: 245px;
        margin-left: -10px;
        margin-right: -10px;
        margin-top: -8px;
    }
}


/* =========================================================
   CORE CARDS — FINAL SYMMETRY
========================================================= */

.solution-grid {
    overflow: hidden;
}

.solution-card {
    overflow: hidden;
}

.solution-media {
    width: 100%;
    height: 275px;
    margin: 0;
}

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

/* identical geometry for all three cards */
.solution-card .solution-index {
    padding: 28px 38px 0;
}

.solution-card h3 {
    margin-top: 65px;
}

@media (max-width: 900px) {
    .solution-media {
        width: 100%;
        height: 240px;
        margin: 0;
    }
}


/* =========================================================
   FOOTER LOGO — FINAL
========================================================= */

.footer-logo {
    line-height: 0;
    margin-bottom: 18px;
}

.footer-logo img {
    display: block;
    width: auto;
    height: 52px;
    max-width: 240px;
    object-fit: contain;
}

@media (max-width: 700px) {
    .footer-logo img {
        height: 46px;
        max-width: 210px;
    }
}


/* =========================================================
   FOOTER — LIGHT FINAL
========================================================= */

.site-footer {
    background: #eef3f5;
    color: #082537;
}

.site-footer h4 {
    color: #082537;
}

.site-footer p,
.site-footer a,
.site-footer .footer-muted {
    color: #526873;
}

.site-footer a:hover {
    color: #00a8c8;
}

.footer-bottom {
    color: #71838c;
    border-top-color: rgba(8, 37, 55, .14);
}

.footer-logo img {
    opacity: 1;
    filter: none;
}


/* ==========================================================
   SMARTLINK WARENKORB
========================================================== */

.nav-cart {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cart-badge {
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: #00a8c8;
    color: #ffffff;

    font-size: 11px;
    font-weight: 800;
    line-height: 1;
}


.product-cart-box {
    width: 100%;
    margin-top: 34px;

    padding: 24px;

    border: 1px solid rgba(8, 37, 55, .12);
    border-radius: 18px;

    background: #f4f8f9;
}

.product-cart-form {
    display: flex;
    align-items: flex-end;
    gap: 14px;
}

.product-cart-quantity {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-cart-quantity label {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #526873;
}

.product-cart-quantity input {
    width: 88px;
    height: 50px;

    border: 1px solid rgba(8, 37, 55, .18);
    border-radius: 10px;

    padding: 0 14px;

    background: #ffffff;
    color: #082537;

    font: inherit;
    font-weight: 700;
}

.product-cart-button {
    min-height: 50px;
}


.cart-page {
    min-height: 70vh;
    padding-top: 150px;
    padding-bottom: 100px;

    background: #f5f8f9;
}

.cart-shell {
    width: min(1400px, calc(100% - 80px));
    margin: 0 auto;
}

.cart-shell > h1 {
    margin: 14px 0 50px;

    color: #082537;

    font-size: clamp(42px, 5vw, 72px);
    line-height: .98;
    letter-spacing: -.045em;
}

.cart-shell > h1 span {
    color: #00a8c8;
}


.cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(360px, .7fr);
    gap: 38px;
    align-items: start;
}


.cart-products {
    display: flex;
    flex-direction: column;
    gap: 18px;
}


.cart-item {
    display: flex;
    justify-content: space-between;
    gap: 30px;

    padding: 32px;

    background: #ffffff;

    border: 1px solid rgba(8, 37, 55, .08);
    border-radius: 20px;
}

.cart-code {
    margin-bottom: 8px;

    color: #00a8c8;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
}

.cart-item h3 {
    margin: 0 0 14px;

    color: #082537;

    font-size: 22px;
    line-height: 1.2;
}

.cart-product-link {
    color: #58717c;
    font-size: 14px;
    font-weight: 700;
}

.cart-product-link:hover {
    color: #00a8c8;
}


.cart-item-actions {
    display: flex;
    align-items: flex-end;
    gap: 12px;
}


.cart-quantity-form {
    display: flex;
    align-items: flex-end;
    gap: 8px;
}

.cart-quantity-form label {
    display: none;
}

.cart-quantity-form input {
    width: 76px;
    height: 44px;

    padding: 0 10px;

    border: 1px solid rgba(8, 37, 55, .16);
    border-radius: 9px;

    font: inherit;
}

.cart-quantity-form button,
.cart-remove {
    height: 44px;

    padding: 0 15px;

    border-radius: 9px;

    font: inherit;
    font-size: 13px;
    font-weight: 700;

    cursor: pointer;
}

.cart-quantity-form button {
    border: 1px solid #082537;

    background: #082537;
    color: #ffffff;
}

.cart-remove {
    border: 1px solid rgba(8, 37, 55, .14);

    background: #ffffff;
    color: #71838c;
}


.cart-request {
    position: sticky;
    top: 120px;

    padding: 34px;

    background: #082537;

    border-radius: 22px;

    color: #ffffff;
}

.cart-request .eyebrow {
    color: #00c2d9;
}

.cart-request h2 {
    margin: 10px 0 14px;

    color: #ffffff;

    font-size: 34px;
    letter-spacing: -.03em;
}

.cart-request > p {
    margin-bottom: 28px;

    color: rgba(255,255,255,.7);

    line-height: 1.6;
}


.request-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}


.request-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.request-field label {
    font-size: 12px;
    font-weight: 700;

    color: rgba(255,255,255,.72);
}

.request-field input,
.request-field textarea {
    width: 100%;

    border: 1px solid rgba(255,255,255,.16);
    border-radius: 10px;

    padding: 13px 14px;

    background: rgba(255,255,255,.08);
    color: #ffffff;

    font: inherit;

    outline: none;
}

.request-field input:focus,
.request-field textarea:focus {
    border-color: #00a8c8;
}

.request-field textarea {
    resize: vertical;
}


.request-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}


.privacy-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;

    margin-top: 6px;

    color: rgba(255,255,255,.67);

    font-size: 12px;
    line-height: 1.5;
}

.privacy-checkbox input {
    margin-top: 3px;
}

.privacy-checkbox a {
    color: #00c2d9;
}

.request-submit {
    width: 100%;
    margin-top: 6px;
}


.cart-empty {
    max-width: 760px;

    padding: 54px;

    background: #ffffff;

    border-radius: 22px;
}

.cart-empty h2 {
    margin-top: 0;

    color: #082537;
}

.cart-empty p {
    margin-bottom: 28px;

    color: #58717c;
}


.cart-success {
    min-height: 75vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding-top: 150px;
    padding-bottom: 100px;

    background: #f5f8f9;
}

.cart-success-box {
    width: min(720px, calc(100% - 50px));

    padding: 60px;

    text-align: center;

    background: #ffffff;

    border-radius: 24px;
}

.cart-success-icon {
    width: 66px;
    height: 66px;

    margin: 0 auto 24px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #00a8c8;
    color: #ffffff;

    font-size: 30px;
    font-weight: 900;
}

.cart-success-box h1 {
    margin: 10px 0 18px;

    color: #082537;

    font-size: 48px;
}

.cart-success-box p {
    max-width: 520px;

    margin: 0 auto 28px;

    color: #58717c;

    line-height: 1.7;
}

.cart-messages {
    margin-bottom: 24px;
}

.cart-message {
    padding: 15px 18px;

    border-radius: 10px;

    background: #eaf7f8;
    color: #086276;

    font-weight: 700;
}


@media (max-width: 1050px) {

    .cart-layout {
        grid-template-columns: 1fr;
    }

    .cart-request {
        position: static;
    }

}


@media (max-width: 720px) {

    .cart-page {
        padding-top: 120px;
    }

    .cart-shell {
        width: min(100% - 32px, 1400px);
    }

    .cart-item {
        flex-direction: column;

        padding: 24px;
    }

    .cart-item-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .cart-quantity-form {
        width: 100%;
    }

    .cart-quantity-form input {
        flex: 1;
    }

    .cart-request {
        padding: 25px;
    }

    .product-cart-form {
        flex-direction: column;
        align-items: stretch;
    }

    .product-cart-quantity input {
        width: 100%;
    }

}


/* ==========================================================
   PRODUCT PURCHASE CONTROLS — FINAL
   Menge | Warenkorb | Produkt anfragen
========================================================== */

.product-purchase-cart {
    display: inline-flex;
    align-items: stretch;
    gap: 14px;
    margin: 26px 14px 26px 0;
    vertical-align: middle;
}

.product-quantity-control {
    display: flex;
    align-items: stretch;
    height: 54px;

    border: 1px solid rgba(8, 37, 55, .12);
    border-radius: 11px;
    overflow: hidden;

    background: #f5f7f8;
}

.qty-button {
    width: 52px;
    height: 54px;

    border: 0;
    background: #f5f7f8;
    color: #082537;

    font-size: 24px;
    font-weight: 600;

    cursor: pointer;

    transition:
        background .18s ease,
        color .18s ease;
}

.qty-button:hover {
    background: #e7f4f7;
    color: #00a8c8;
}

.qty-input {
    width: 64px;
    height: 54px;

    padding: 0;

    border: 0;
    border-left: 1px solid rgba(8, 37, 55, .08);
    border-right: 1px solid rgba(8, 37, 55, .08);

    background: #ffffff;
    color: #082537;

    text-align: center;

    font: inherit;
    font-size: 16px;
    font-weight: 800;

    appearance: textfield;
    -moz-appearance: textfield;
}

.qty-input::-webkit-inner-spin-button,
.qty-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.product-cart-main-button {
    min-width: 260px;
    min-height: 54px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;

    margin: 0;

    border: 0;
    border-radius: 10px;

    cursor: pointer;
}

.cart-symbol {
    font-size: 17px;
    line-height: 1;
}


/* Existing Produkt-anfragen action beside cart */
.product-purchase-cart + a,
.product-purchase-cart + button {
    min-height: 54px;
    vertical-align: middle;
}


/* Hide obsolete large cart container if any old CSS remains */
.product-cart-box {
    display: none !important;
}


@media (max-width: 850px) {

    .product-purchase-cart {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        margin-right: 0;
    }

    .product-quantity-control {
        flex: 0 0 auto;
    }

    .product-cart-main-button {
        flex: 1;
        min-width: 220px;
    }

}

@media (max-width: 560px) {

    .product-purchase-cart {
        flex-direction: column;
    }

    .product-quantity-control {
        width: 100%;
    }

    .qty-button {
        flex: 1;
    }

    .qty-input {
        flex: 1;
    }

    .product-cart-main-button {
        width: 100%;
        min-width: 0;
    }

}


/* =========================================================
   PRODUCT ACTIONS — FINAL POSITION
========================================================= */

.product-purchase-actions {
    width: 100%;
    display: flex;
    align-items: stretch;
    gap: 12px;
    margin: 28px 0 30px;
}

.product-purchase-actions .product-quantity-control {
    display: flex;
    height: 54px;
    overflow: hidden;
    flex: 0 0 auto;

    border: 1px solid rgba(8, 37, 55, .14);
    border-radius: 10px;

    background: #f4f7f8;
}

.product-purchase-actions .qty-button {
    width: 50px;
    height: 54px;

    border: 0;
    background: #f4f7f8;
    color: #082537;

    font-size: 23px;
    cursor: pointer;
}

.product-purchase-actions .qty-input {
    width: 58px;
    height: 54px;

    border: 0;
    border-left: 1px solid rgba(8,37,55,.08);
    border-right: 1px solid rgba(8,37,55,.08);

    background: #fff;
    color: #082537;

    text-align: center;
    font-weight: 800;

    appearance: textfield;
    -moz-appearance: textfield;
}

.product-purchase-actions .qty-input::-webkit-inner-spin-button,
.product-purchase-actions .qty-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.product-purchase-actions .product-cart-main-button,
.product-purchase-actions .product-request-button {
    flex: 1 1 0;
    min-width: 0;
    width: 0;
    height: 54px;
    min-height: 54px;
    margin: 0;
    padding: 0 14px;
    box-sizing: border-box;
    border-radius: 10px;
    white-space: nowrap;
}

.product-purchase-actions .product-request-button {
    min-height: 54px;
    flex: 1 1 0;
    min-width: 0;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 24px;

    border: 1px solid #082537;
    border-radius: 10px;

    background: #fff;
    color: #082537;

    font: inherit;
    font-weight: 800;

    cursor: pointer;
    white-space: nowrap;
}

.product-purchase-actions .product-request-button:hover {
    background: #082537;
    color: #fff;
}

@media (max-width: 900px) {

    .product-purchase-actions {
        flex-wrap: wrap;
    }

    .product-purchase-actions .product-cart-main-button,
    .product-purchase-actions .product-request-button {
        flex: 1 1 0;
        min-width: 0;
        min-height: 48px;
        height: 48px;
        padding: 0 14px;
        white-space: nowrap;
    }
}

@media (max-width: 560px) {

    .product-purchase-actions {
        flex-direction: column;
    }

    .product-purchase-actions .product-quantity-control {
        width: 100%;
    }

    .product-purchase-actions .qty-button,
    .product-purchase-actions .qty-input {
        flex: 1;
        width: auto;
    }

    .product-purchase-actions .product-cart-main-button,
    .product-purchase-actions .product-request-button {
        flex: 0 0 46px;
        width: 100%;
        min-width: 0;
        height: 46px;
        min-height: 46px;
        padding: 0 14px;
    }
}

/* GSD-2022P media pilot */
.product-content-media {
    width: 100%;
    margin: 28px 0 36px;
    text-align: center;
}

.product-content-media > img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 620px;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
}

.product-content-media-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    align-items: center;
}

.product-content-media-grid > img {
    width: 100%;
    max-height: 360px;
    object-fit: contain;
}

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

    .product-content-media > img,
    .product-content-media-grid > img {
        max-height: none;
    }
}

/* PLANET operation diagrams — readable technical layout */
.product-content-media-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
}

.product-content-media-grid > img {
    width: 100%;
    max-height: none;
}

.product-content-media-grid > img:nth-child(3) {
    grid-column: 1 / -1;
    width: calc(50% - 9px);
    justify-self: center;
}

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

    .product-content-media-grid > img:nth-child(3) {
        grid-column: auto;
        width: 100%;
    }
}

/* GSD-2022P gallery pilot */
.product-gallery-pilot {
    width: 100%;
}

.product-gallery-main {
    display: flex;
    width: 100%;
    min-height: 390px;
    padding: 20px;
    align-items: center;
    justify-content: center;
    border: 0;
    background: #fff;
    cursor: zoom-in;
}

.product-gallery-main .product-detail-main-image {
    display: block;
    width: 100%;
    max-height: 430px;
    object-fit: contain;
}

.product-gallery-thumbnails {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 18px;
}

.product-gallery-thumb {
    width: 82px;
    height: 70px;
    padding: 6px;
    border: 1px solid #d8e0e5;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    box-sizing: border-box;
}

.product-gallery-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-gallery-thumb.is-active {
    border: 2px solid #079dbb;
}

.product-gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background: rgba(0, 18, 29, 0.88);
}

.product-gallery-lightbox.is-open {
    display: flex;
}

.product-gallery-lightbox img {
    display: block;
    max-width: 94vw;
    max-height: 90vh;
    object-fit: contain;
}

.product-gallery-lightbox-close {
    position: absolute;
    top: 20px;
    right: 26px;
    width: 46px;
    height: 46px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 38px;
    line-height: 1;
    cursor: pointer;
}

@media (max-width: 700px) {
    .product-gallery-main {
        min-height: 280px;
        padding: 10px;
    }

    .product-gallery-thumbnails {
        gap: 8px;
    }

    .product-gallery-thumb {
        width: 70px;
        height: 60px;
    }

    .product-gallery-lightbox {
        padding: 15px;
    }
}

/* Product gallery lightbox — fullscreen viewer */
.product-gallery-lightbox {
    padding: 12px;
}

.product-gallery-lightbox img {
    max-width: 98vw;
    max-height: 96vh;
    width: auto;
    height: auto;
    object-fit: contain;
    cursor: pointer;
    user-select: none;
}

.product-gallery-lightbox-close {
    z-index: 2;
    top: 14px;
    right: 18px;
}

.product-gallery-lightbox-counter {
    position: absolute;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    padding: 6px 12px;
    border-radius: 20px;
    background: rgba(0, 18, 29, 0.72);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    pointer-events: none;
}

/* Product gallery — approved large fullscreen viewer */
.product-gallery-lightbox {
    padding: 18px 70px 60px;
}

.product-gallery-lightbox img {
    width: auto;
    height: auto;
    max-width: calc(100vw - 160px);
    max-height: calc(100vh - 100px);
    object-fit: contain;
    cursor: pointer;
}

@media (min-width: 1000px) {
    .product-gallery-lightbox img {
        min-width: min(1100px, calc(100vw - 160px));
    }
}

@media (max-width: 700px) {
    .product-gallery-lightbox {
        padding: 55px 8px 50px;
    }

    .product-gallery-lightbox img {
        min-width: 0;
        max-width: 100%;
        max-height: calc(100vh - 110px);
    }
}

.product-gallery-lightbox-nav {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 54px;
    height: 70px;
    transform: translateY(-50%);
    border: 0;
    border-radius: 8px;
    background: rgba(0, 18, 29, 0.72);
    color: #fff;
    font-size: 52px;
    line-height: 1;
    cursor: pointer;
}

.product-gallery-lightbox-prev {
    left: 12px;
}

.product-gallery-lightbox-next {
    right: 12px;
}

@media (max-width: 700px) {
    .product-gallery-lightbox-nav {
        width: 42px;
        height: 58px;
        font-size: 42px;
        background: rgba(0, 18, 29, 0.62);
    }
}

/* Lightbox: never upscale product photography beyond native resolution */
.product-gallery-lightbox img {
    width: auto;
    height: auto;
    min-width: 0 !important;
    max-width: calc(100vw - 160px);
    max-height: calc(100vh - 100px);
    object-fit: contain;
    image-rendering: auto;
}

@media (max-width: 700px) {
    .product-gallery-lightbox img {
        max-width: calc(100vw - 16px);
        max-height: calc(100vh - 110px);
    }
}
