/* Shared product navigation and product page components. */

.catalog-search {
    max-width: 900px;
    margin-inline: auto;
    padding: 1rem 1.25rem;
    border: 1px solid var(--border-color);
    border-radius: 0.9rem;
    background: #fff;
}

.catalog-quote-hint {
    padding: 1rem 1.25rem;
    border-left: 4px solid var(--primary);
    border-radius: 0.5rem;
    background: #fff;
    color: var(--text-muted);
}

.catalog-item[hidden] {
    display: none !important;
}

.product-breadcrumbs {
    padding-top: 0.7rem;
    padding-bottom: 0.35rem;
    font-size: 0.875rem;
}

.product-breadcrumbs .breadcrumb {
    --bs-breadcrumb-divider: '›';
}

.product-breadcrumbs .breadcrumb-item a {
    color: var(--text-muted);
    text-decoration: none;
}

.product-breadcrumbs .breadcrumb-item a:hover,
.product-breadcrumbs .breadcrumb-item a:focus-visible {
    color: var(--primary);
    text-decoration: underline;
}

/* Family navigation shares the page palette while staying legible over decorative backgrounds. */
.sidebar-wrapper {
    position: relative;
    flex: 0 0 240px;
    width: 240px;
    max-width: 240px;
    min-height: calc(100vh - var(--navbar-height));
    background: var(--bg-light);
    border-right: 1px solid var(--border-color);
}

.sidebar {
    position: sticky;
    top: calc(var(--navbar-height) + 1rem);
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    max-height: calc(100vh - var(--navbar-height) - 2rem);
    overflow-y: auto;
    padding: 1.35rem 0.8rem;
}

.sidebar-brand {
    display: block;
    margin: 0 0 0.55rem;
    padding: 0 0.85rem 0.8rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--primary);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
}

.sidebar-brand > i {
    display: none;
}

.sidebar-link,
.sidebar-section-toggle {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.65rem;
    width: 100%;
    margin: 0;
    padding: 0.65rem 0.8rem;
    min-height: 44px;
    border: 0;
    border-radius: 0.35rem;
    border-left: 2px solid transparent;
    background: transparent;
    color: var(--primary);
    font-size: 0.94rem;
    font-weight: 500;
    line-height: 1.35;
    text-decoration: none;
    transition: background-color var(--transition-fast), color var(--transition-fast);
}

.sidebar-link > i,
.sidebar-section-toggle > i {
    display: none;
}

.sidebar-link:hover,
.sidebar-section-toggle:hover,
.sidebar-section-toggle.active-section {
    background: rgba(18, 54, 75, 0.07);
    color: var(--primary);
}

.sidebar-link.active,
.sidebar-subitems li a.active {
    border-left-color: var(--accent-blue);
    background: #fff;
    color: var(--primary);
    font-weight: 700;
    box-shadow: 0 1px 3px rgba(18, 54, 75, 0.08);
}

.sidebar-subitems {
    margin: 0 0 0.4rem;
    padding: 0.15rem 0 0.15rem 0.65rem;
    list-style: none;
}

.sidebar-subitems li a {
    display: block;
    padding: 0.5rem 0.7rem;
    border-radius: 0.5rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    text-decoration: none;
}

.sidebar-subitems li a:hover {
    background: var(--accent-bg);
    color: var(--primary);
}

.sidebar-divider {
    display: none;
}

.sidebar-cta {
    display: none;
}

.sidebar-cta .btn-success {
    border: 1px solid var(--primary-light);
    background: #fff;
    color: var(--primary-light);
}

.sidebar-cta .btn-success:hover,
.sidebar-cta .btn-success:focus-visible {
    border-color: var(--primary-dark);
    background: var(--accent-bg);
    color: var(--primary-dark);
}

.sidebar-cta .btn-success i {
    color: #72d6a8;
}

.content-col {
    flex: 1 1 0;
    min-width: 0;
    background: transparent;
}

/* Remove the old wallpaper treatment from product pages. */
body.product-page {
    background-color: var(--bg-light) !important;
    background-image: none !important;
    background-attachment: scroll !important;
}

body.product-page::before {
    display: none !important;
}

/* Clean product headers; white-background catalog photos blend into the page. */
.content-col .hero {
    position: relative;
    z-index: 1;
    padding: clamp(2rem, 4vw, 3.25rem) 1rem;
    border-bottom: 1px solid var(--border-color);
    background: #fff;
    background-image: none !important;
    color: var(--text-dark);
}

.content-col .hero::before,
.content-col .hero::after {
    display: none !important;
}

.content-col .hero h1 {
    max-width: 900px;
    margin: 0 auto 0.55rem;
    color: var(--primary);
    font-size: clamp(1.9rem, 3.4vw, 2.65rem);
    font-weight: 650;
    letter-spacing: -0.035em;
    line-height: 1.14;
}

.content-col .hero p {
    max-width: 760px;
    margin: 0 auto;
    color: var(--text-muted);
    font-size: clamp(0.95rem, 1.4vw, 1.08rem);
    line-height: 1.6;
}

.content-col .hero.exhibitor-hero {
    padding: clamp(2.2rem, 5vw, 3.6rem) 1rem;
    border-bottom: 1px solid var(--border-color);
    background: #fff;
    text-align: left;
}

.content-col .hero.exhibitor-hero .container {
    max-width: 840px;
}

.content-col .hero.exhibitor-hero .eyebrow {
    margin-bottom: .7rem;
    color: var(--accent-blue);
}

.content-col .hero.exhibitor-hero h1 {
    margin-inline: 0;
}

.content-col .hero.exhibitor-hero p:not(.eyebrow) {
    margin-inline: 0;
}

/* Product family pages pair the existing copy with a real product image. */
.content-col .hero .product-hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(250px, 380px);
    align-items: center;
    gap: clamp(1.5rem, 4vw, 3.5rem);
    max-width: 1120px;
    text-align: left;
}

.content-col .hero .product-hero-copy h1 {
    margin: 0 0 0.7rem;
    color: var(--primary);
}

.content-col .hero .product-hero-copy p {
    margin: 0;
}

.content-col .product-hero-photo {
    display: block;
    width: 100%;
    height: clamp(175px, 22vw, 245px);
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    object-fit: contain;
    box-shadow: none;
    mix-blend-mode: normal;
}

/* WELTKIT uses an opaque white catalog photo, so the full hero shares its white canvas. */
.weltkit-hero {
    padding: clamp(2.4rem, 5vw, 4rem) 0;
    border-bottom: 1px solid var(--border-color);
    background: #fff;
}

.weltkit-hero h1 {
    margin: 0 0 0.55rem;
    color: var(--primary);
    font-size: clamp(1.9rem, 3.4vw, 2.65rem);
    font-weight: 650;
    letter-spacing: -0.035em;
    line-height: 1.14;
}

.weltkit-hero p {
    max-width: 760px;
    margin: 0 auto;
    color: var(--text-muted);
}

.weltkit-hero-photo {
    display: block;
    width: min(100%, 800px);
    height: auto;
    margin: 1.25rem auto 0;
    object-fit: contain;
}

/* Temporary illustrations are intentionally easy to swap for final photos. */
.product-placeholder {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 220px;
    margin: 0;
    padding: 0.8rem;
    overflow: hidden;
    border: 1px solid #dbe8ed;
    border-radius: 0.8rem;
    background: #f4f7f8;
}

.product-placeholder::before,
.product-placeholder::after {
    position: absolute;
    z-index: 0;
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.product-placeholder::before {
    top: -3.5rem;
    right: -2rem;
    width: 9rem;
    height: 9rem;
    background: rgba(79, 130, 153, 0.09);
}

.product-placeholder::after {
    bottom: -4rem;
    left: -2.5rem;
    width: 10rem;
    height: 10rem;
    background: rgba(18, 54, 75, 0.06);
}

.product-placeholder img {
    position: relative;
    z-index: 1;
    display: block;
    width: min(100%, 330px);
    height: 170px;
    object-fit: contain;
}

.product-placeholder figcaption {
    position: relative;
    z-index: 1;
    margin-top: 0.15rem;
    color: #536875;
    font-size: 0.75rem;
    letter-spacing: 0.015em;
}

.product-icon-accent,
.product-shipping-icon {
    color: var(--accent-blue) !important;
}

.product-media-card {
    min-height: 220px;
}

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

.product-category-thumbnail {
    max-height: 80px;
    width: auto;
    object-fit: contain;
}

.product-shipping-icon {
    font-size: 3rem;
}

.product-inline-divider {
    border-top: 1px solid var(--border-color);
}

.content-col .hero .product-hero-placeholder {
    display: block;
    width: 116px;
    height: 100px;
    margin: 0 auto 1rem;
    border-radius: 0;
    object-fit: contain;
    background: transparent;
}

.content-col .hero .product-hero-art {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto 1rem;
}

.content-col .hero .product-hero-art img {
    display: block;
    width: 116px;
    height: 100px;
    border-radius: 0;
    object-fit: contain;
    background: transparent;
}

.content-col .hero .product-hero-art span {
    margin-top: 0.45rem;
    color: var(--text-muted);
    font-size: 0.68rem;
}

/* Keep catalog images readable when their original proportions differ. */
.product-image {
    height: 220px;
    background: #fff;
    object-fit: contain !important;
}

.category-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 15px;
    border-radius: 20px;
    background: var(--primary);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 500;
}

.content-col .info-card {
    position: relative;
    z-index: 1;
    margin-bottom: 1.25rem;
    padding: clamp(1.2rem, 2vw, 1.75rem);
    border: 1px solid var(--border-color);
    border-radius: 0.65rem;
    background: #fff;
    box-shadow: 0 4px 16px rgba(16, 47, 67, 0.035);
}

/* Family landing cards use the same left-aligned rhythm whether a real photo exists or not. */
.family-grid-five {
    --bs-gutter-x: 1.25rem;
    row-gap: 0.25rem;
}

.family-grid-five > [class*="col-"] {
    display: flex;
}

.family-grid-five .info-card {
    display: flex;
    width: 100%;
    min-height: 15rem;
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 0;
    padding: 1.35rem;
    border-top: 3px solid var(--accent-blue);
    text-align: left !important;
}

.family-grid-five .info-card > i {
    display: none;
}

.family-grid-five .info-card h2 {
    margin: 0 0 0.65rem;
    font-size: 1.12rem;
}

.family-grid-five .info-card p {
    color: var(--text-muted);
    line-height: 1.55;
}

.family-grid-five .info-card .card-link {
    align-self: flex-start;
    margin-top: auto;
    padding-top: 0.7rem;
    color: var(--accent-blue);
    font-size: 0.92rem;
    font-weight: 650;
}

.family-grid-five .info-card .card-link:hover,
.family-grid-five .info-card .card-link:focus-visible {
    color: var(--primary-dark);
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.family-grid-five .product-category-image {
    height: 9rem;
    aspect-ratio: auto;
    margin: -0.15rem 0 1rem;
    background: transparent;
}

.pending-product-photo { margin: 0 0 1rem; overflow: hidden; border: 1px solid var(--border-color); border-radius: var(--radius-sm); background: #f4f8fa; }
.pending-product-photo img { display: block; width: 100%; height: 9rem; margin: 0 !important; object-fit: contain; }
.pending-product-photo figcaption { padding: .35rem .6rem; background: #e9f1f4; color: var(--text-muted); font-size: .75rem; font-weight: 600; text-align: center; }
.pending-product-photo-detail { width: min(100%, 320px); margin: 0 auto 1.25rem; }
.pending-product-photo-detail img { height: 11rem; }
.product-visual-frame { margin: 0 0 1rem; overflow: hidden; border: 1px solid var(--border-color); border-radius: var(--radius-sm); background: #f4f8fa; }
.product-visual-frame img { display: block; width: 100%; height: 9rem; margin: 0 !important; object-fit: contain; }
.product-visual-frame-detail { width: min(100%, 320px); margin: 0 auto 1.25rem; }
.product-visual-frame-detail img { height: 11rem; }
.product-visual-frame-banner { width: min(100%, 640px); margin: 0 auto 1.25rem; }
.product-visual-frame-banner img { height: auto; }

.content-col .info-card h2,
.content-col .info-card h3,
.content-col .info-card h4 {
    margin-bottom: 0.85rem;
    color: var(--primary);
    font-size: clamp(1.05rem, 1.4vw, 1.2rem);
    font-weight: 650;
    letter-spacing: -0.015em;
    line-height: 1.35;
}

.content-col .info-card p:last-child,
.content-col .info-card ul:last-child {
    margin-bottom: 0;
}

.product-page .accordion {
    width: 100%;
}

.product-page .accordion-item {
    margin-bottom: 0.5rem;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 0.65rem;
}

.product-page .accordion-button {
    font-size: 1rem;
    font-weight: 500;
}

.product-page .accordion-body {
    font-size: 0.95rem;
}

.content-col .step-circle {
    display: flex;
    flex: 0 0 2.35rem;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 50%;
    background: var(--accent-bg);
    color: var(--primary);
    font-size: 0.95rem;
    font-weight: 700;
}

.content-col .cta-section {
    padding: clamp(1.5rem, 3vw, 2.25rem);
    border: 0;
    border-radius: 0.8rem;
    background: var(--primary);
    color: #fff;
}

.content-col .cta-section h2,
.content-col .cta-section h3 {
    color: #fff;
}

.content-col .cta-section .btn-success {
    border-color: #fff;
    background: #fff;
    color: var(--primary);
}

.content-col .cta-section .btn-success:hover,
.content-col .cta-section .btn-success:focus-visible {
    border-color: #d9e3e7;
    background: #e9f1f4;
    color: var(--primary-dark);
}

.content-col .table {
    --bs-table-striped-bg: #f5f8fa;
    margin-bottom: 0;
}

@media (max-width: 991.98px) {
    .sidebar-wrapper {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
        min-height: 0;
        border-right: 0;
        border-bottom: 1px solid var(--border-color);
        background: var(--bg-light);
    }

    .content-col .hero .product-hero-layout {
        grid-template-columns: minmax(0, 1fr) minmax(210px, 300px);
        gap: 1.5rem;
    }

    .sidebar {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 0.2rem 0.35rem;
        max-height: none;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 0.7rem 1rem 0.6rem;
        scrollbar-width: thin;
        white-space: nowrap;
    }

    .sidebar-brand {
        flex: 0 0 100%;
        margin: 0 0 0.15rem;
        padding: 0 0.1rem 0.55rem;
        font-size: 0.94rem;
    }

    .sidebar-link,
    .sidebar-section-toggle {
        flex: 0 0 auto;
        width: auto;
        min-height: 44px;
        padding: 0.55rem 0.7rem;
        border: 0;
        border-bottom: 2px solid transparent;
        border-radius: 0;
        background: transparent;
        color: var(--primary);
        font-size: 0.9rem;
        font-weight: 500;
    }

    .sidebar-wrapper.has-more-right::after,
    .sidebar-wrapper.has-more-left::before {
        position: absolute;
        z-index: 2;
        top: 50%;
        display: grid;
        width: 2.25rem;
        height: 2.7rem;
        place-items: center;
        transform: translateY(-50%);
        color: var(--primary);
        font-size: 1.5rem;
        font-weight: 700;
        pointer-events: none;
    }

    .sidebar-wrapper.has-more-right::after {
        right: 0;
        background: linear-gradient(90deg, transparent, var(--bg-light) 45%);
        content: "›";
    }

    .sidebar-wrapper.has-more-left::before {
        left: 0;
        background: linear-gradient(270deg, transparent, var(--bg-light) 45%);
        content: "‹";
    }

    .sidebar-link.active,
    .sidebar-subitems li a.active {
        border-bottom-color: var(--accent-blue);
        background: #fff;
        color: var(--primary);
    }

    .sidebar-divider,
    .sidebar-cta {
        display: none;
    }

    .content-col {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (max-width: 575.98px) {
    .content-col .hero {
        padding: 2rem 1rem;
    }

    .content-col .hero .product-hero-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .content-col .hero .product-hero-copy h1,
    .content-col .hero .product-hero-copy p {
        text-align: center;
    }

    .content-col .product-hero-photo {
        width: min(100%, 340px);
        height: 175px;
        margin-inline: auto;
    }

    .content-col .info-card {
        border-radius: 0.85rem;
    }
}

@media (max-width: 767.98px) {
    .family-grid-five .info-card {
        min-height: 0;
    }
}

.selection-guide {
    padding: 1rem 1.25rem;
}

.selection-guide summary {
    color: var(--primary);
    cursor: pointer;
    font-weight: 650;
    line-height: 1.4;
}

.selection-guide summary:focus-visible {
    border-radius: 0.2rem;
    outline: 2px solid var(--accent-blue);
    outline-offset: 3px;
}

.selection-guide-content {
    padding-top: 0.85rem;
}

.selection-guide-content li + li {
    margin-top: 0.35rem;
}


.product-category-image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    margin: 0 0 1rem;
    border: 0;
    border-radius: 0;
    background: #fff;
    object-fit: contain;
}

.product-photo {
    min-height: 250px;
    padding: 0;
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    background: #fff;
    box-shadow: none;
}

.product-photo::before,
.product-photo::after {
    display: none;
}

.product-photo-pair {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.product-photo-pair img {
    width: calc(50% - 0.25rem);
    height: 165px;
}

.product-photo:not(.product-photo-pair) img {
    width: min(100%, 380px);
    height: clamp(220px, 25vw, 300px);
    object-fit: contain;
}

.product-photo-pair figcaption {
    flex-basis: 100%;
    text-align: center;
}

.product-hero-photo-art img {
    width: min(100%, 300px);
    height: 180px;
    object-fit: contain;
}

.content-col .hero .product-hero-art.product-hero-photo-art img {
    width: min(100%, 300px);
    height: 180px;
    background: transparent;
    mix-blend-mode: normal;
}

.content-col .hero .product-hero-mvq-photo {
    object-fit: cover;
    object-position: center 53%;
}

@media (min-width: 768px) {
    #norma-exhibidores {
        margin-left: 33.333333%;
    }

    .family-grid-center {
        justify-content: center;
    }

    .family-grid-five { justify-content: center; }
}

/* Normatec visual refresh: clear editorial hierarchy, restrained blue and consistent surfaces. */
:root {
    --primary: #173b78;
    --primary-dark: #102c5c;
    --primary-light: #1769d2;
    --accent-blue: #2783e8;
    --accent-bg: #edf5ff;
    --text-dark: #18345f;
    --text-muted: #5a6f8f;
    --bg-light: #f5f8fc;
    --border-color: #dce6f2;
    --shadow-sm: 0 6px 18px rgba(19,56,112,.06);
    --shadow-md: 0 14px 34px rgba(19,56,112,.11);
    --radius-sm: 8px;
    --radius-md: 14px;
    --section-padding: clamp(3.25rem, 6vw, 5rem);
}

body {
    background: #fff;
    color: var(--text-dark);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    line-height: 1.65;
}
h1, h2, h3, h4, h5, h6 { color: var(--primary-dark); letter-spacing: -.035em; }
.container { --bs-gutter-x: clamp(1.5rem, 3vw, 2rem); }
section > .container > h2, .section-heading { margin-bottom: 1.6rem; text-align: left; }
.section-heading::after, section > .container > h2::after { width: 3.25rem; height: 3px; margin: .75rem 0 0; background: var(--accent-blue); }
.eyebrow { color: var(--primary-light); letter-spacing: .14em; }

/* White navigation with a calm, spacious menu and a compact search field. */
.navbar {
    border-bottom: 1px solid #e5edf7;
    background: rgba(255,255,255,.97);
    box-shadow: 0 3px 16px rgba(24,52,95,.055);
}
.navbar::after {
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, #1769d2 0 18%, #eaf2fd 18% 100%);
    content: "";
}
.navbar-brand { padding: 0; background: transparent; }
.navbar-brand img { height: 50px; max-width: min(30vw,205px); }
.navbar-collapse { gap: .8rem; }
.navbar-nav { gap: .15rem; }
.navbar .nav-link { padding-inline: .62rem; color: #28436d; font-size: .9rem; font-weight: 560; letter-spacing: 0; text-transform: none; }
.navbar .nav-link:hover, .navbar .nav-link.active, .navbar .show > .nav-link { background: #edf5ff; color: var(--primary-light); }
.navbar-search { order: 2; flex: 0 1 190px; width: 190px; margin: 0 0 0 .35rem; }
.navbar-nav { order: 1; }
.navbar .navbar-search-toggle, .navbar .navbar-toggler { border-color: #cfdded; background: #fff; color: var(--primary); }
.navbar .navbar-toggler-icon { filter: none; }
.navbar .nav-quote { min-height: 42px; padding-inline: .95rem; border: 0; border-radius: 7px; background: var(--primary); color: #fff; }
.navbar .nav-quote:hover { background: var(--primary-light); color: #fff; }

/* The home hero pairs a readable headline with the original product photo. */
.home-hero { padding: 1.25rem 0 0; background: #fff; }
.home-hero #mainCarousel { background: #f1f6fd; }
.home-hero #mainCarousel > .container { max-width: 1240px; }
.home-hero .carousel-item { min-height: 440px; }
.home-hero-slide {
    min-height: 440px;
    grid-template-columns: minmax(0,1.02fr) minmax(320px,.98fr);
    gap: clamp(2rem,5vw,4.5rem);
    padding: clamp(2.5rem,5vw,4.5rem) clamp(1.25rem,3vw,2.5rem);
}
.home-hero-slide::before { display: none; }
.home-hero-copy { max-width: 570px; }
.home-hero-copy .eyebrow { color: var(--primary-light); }
.home-hero-copy h1, .home-hero-copy h2 {
    max-width: 18ch;
    margin-bottom: 1rem;
    color: var(--primary-dark);
    font-size: clamp(2.25rem,3.8vw,3.5rem);
    font-weight: 730;
    line-height: 1.04;
}
.home-hero-copy > p:not(.eyebrow) { max-width: 49ch; color: #536985; font-size: 1.05rem; }
.home-hero-copy .btn-primary { border: 0; background: var(--primary); color: #fff; }
.home-hero-copy .btn-primary:hover { background: var(--primary-light); color: #fff; }
.home-hero-media {
    min-height: 330px;
    padding: clamp(.75rem,2vw,1.5rem);
    border-radius: 22px;
    background: radial-gradient(ellipse at 50% 55%, #fff 0 46%, #e2efff 100%);
}
.home-hero-media img { height: clamp(270px,30vw,350px); mix-blend-mode: multiply; }
.home-hero-controls { justify-content: flex-start; padding: .5rem 0 1.25rem clamp(1.25rem,3vw,2.5rem); }
.home-hero-controls button[data-bs-slide-to]::before { background: #b8c9df; }
.home-hero-controls button[data-bs-slide-to].active::before { background: var(--primary-light); }
.home-hero-controls button[data-bs-slide] { color: var(--primary); }
.brand-strip { max-width: 1100px; margin-inline: auto; gap: 1rem; }
.brand-logo { min-height: 70px; border: 0; }

/* Product cards become one consistent catalog grid on desktop and mobile. */
#productos { overflow: visible; background: #f6f9fd !important; }
#productos::before { display: none; }
#productos > .container > .eyebrow { text-align: left !important; }
#productos > .container > .section-heading { max-width: 680px; margin: 0 0 2rem; }
#productos > .container > .section-heading::after { margin: .8rem 0 0; }
#productos .row.row-cols-lg-3 { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.25rem; }
#productos .row.row-cols-lg-3 { margin-inline: 0; }
#productos .row.row-cols-lg-3 > .col,
#productos .row.row-cols-lg-3 > .col:nth-child(n) { width: auto; grid-column: auto; padding: 0; }
.product-card, #productos .product-card {
    overflow: hidden;
    border: 1px solid #e1eaf5;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(19,56,112,.045);
}
.product-card:hover, #productos .product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.product-card .card-img-top { height: 205px; padding: 1rem; background: #fff; object-fit: contain; }
.product-card .card-body { padding: 1.2rem 1.25rem 1.35rem; }
.product-card .card-title { color: var(--primary-dark); font-size: 1.08rem; }
.product-card .card-text { color: var(--text-muted); line-height: 1.55; }
.card-link { color: var(--primary-light); }
.card-link:hover { color: var(--primary-dark); }

/* The product catalog has an intentional title band and a tighter discovery flow. */
.catalog-intro { padding-block: clamp(2rem,4vw,3rem) !important; background: #edf4fd !important; }
.catalog-intro h1 { max-width: 780px; margin-inline: 0; color: var(--primary-dark) !important; font-size: clamp(2rem,4vw,3rem); }
.catalog-intro .lead { max-width: 760px; color: #536985; }
.catalog-intro .container { text-align: left; }
.catalog-search { max-width: 900px; margin: 0 auto; padding: 1.25rem 1.4rem; border: 1px solid #dce7f4; border-radius: 14px; box-shadow: 0 8px 24px rgba(19,56,112,.07); }
.catalog-quote-hint, .catalog-family-spotlight { border: 1px solid #dfebf8; border-left: 4px solid var(--primary-light); border-radius: 10px; background: #f7faff; }
.category-badge { border-radius: 6px; background: var(--primary); }

/* Reuse the same rounded, lightly layered surfaces through product and business pages. */
.card, .business-card, .business-contact, .catalog-family-spotlight, .seeger-diagram { border-radius: 12px; }
.card { border-color: #e1eaf5; box-shadow: 0 5px 18px rgba(19,56,112,.045); }
.business-card { border: 1px solid #e1eaf5; border-top: 3px solid var(--primary-light); box-shadow: var(--shadow-sm); }
.business-card-icon, .value-icon, .benefit-icon { border-radius: 10px; background: #eaf3ff; color: var(--primary-light); }
.business-hero { background: #f3f7fc; }
.business-hero-grid > img, .business-hero-grid picture { outline: 0; border-radius: 18px; background: #fff; box-shadow: var(--shadow-md); }
.business-hero-grid > img { padding: .6rem; }
.business-hero-grid picture img { border-radius: 18px; }
.business-process { align-items: stretch; }
.business-process > div { padding: 1.5rem; border-radius: 12px; background: #f5f8fc; }
.business-contact { border-color: #dce7f4; background: #edf4fd; }
.distributor-promo { background: #fff; }
.distributor-promo-panel {
    gap: 2rem;
    padding: clamp(1.6rem,4vw,3rem);
    border: 0;
    border-radius: 16px;
    background: linear-gradient(115deg,#173b78,#21579f);
    box-shadow: 0 15px 34px rgba(23,59,120,.18);
}
.distributor-promo-panel::after { display: none; }
.distributor-promo-panel h2 { max-width: 19ch; color: #fff; font-size: clamp(1.8rem,3.3vw,2.75rem); }
.distributor-promo-panel p:not(.eyebrow) { color: #e0ebf9; }
.distributor-promo-panel .eyebrow { color: #c5dcff; }
.distributor-promo-points span { border: 1px solid rgba(255,255,255,.28); border-radius: 99px; background: rgba(255,255,255,.11); color: #fff; }
.distributor-promo-panel .btn { border: 0; border-radius: 8px; background: #fff; color: var(--primary); }
.distributor-promo-panel .btn:hover { background: #e9f2ff; }
.hero-about, .hero-careers { background: linear-gradient(115deg,#173b78,#21579f) !important; }
.hero-about::after, .hero-careers::after { display: none; }
.business-links a { border-radius: 10px; }
.selection-guide-section, .faq-section { background: #f5f8fc; }
.sidebar-wrapper { background: #f5f8fc; }
.sidebar-link, .sidebar-section-toggle { border-radius: 8px; }
.sidebar-link.active, .sidebar-subitems li a.active { border-left-color: var(--primary-light); border-radius: 8px; background: #e7f1ff; color: var(--primary); box-shadow: none; }
.sidebar-link:hover, .sidebar-section-toggle:hover, .sidebar-section-toggle.active-section { border-radius: 8px; background: #eaf2fc; }
.content-col .hero { border: 0; border-radius: 0 0 18px 18px; background: #f1f6fc; }
.content-col .hero .product-hero-photo { padding: .8rem; border-radius: 16px; background: #fff; box-shadow: var(--shadow-sm); }
.content-col .hero.exhibitor-hero { border-radius: 0 0 18px 18px; background: #f1f6fc; }
.weltkit-hero { border: 0; border-radius: 0 0 18px 18px; background: #f1f6fc; }

/* A low contrast footer lets the content remain the visual focus. */
.footer { background: #102c5c; }
.footer::before { display: none; }
.footer h5 { color: #d3e4ff; }
.footer-bottom { border-top-color: rgba(255,255,255,.2); }

@media (max-width: 1199.98px) {
    .navbar-collapse { gap: .25rem; border-color: #e1eaf5; background: #fff; }
    .navbar .dropdown-menu { border: 1px solid #e2ebf5; border-radius: 10px; background: #f7faff; }
    .navbar .dropdown-item { color: var(--text-dark); }
    .navbar .dropdown-item:hover, .navbar .dropdown-item:focus { background: #eaf2fc; color: var(--primary); }
}
@media (max-width: 991.98px) {
    #productos .row.row-cols-lg-3 { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .navbar-search { order: 0; width: 100%; max-width: none; margin: 0 0 .55rem; }
    .navbar-nav { order: 1; }
}
@media (max-width: 767.98px) {
    .home-hero { padding-top: .5rem; }
    .home-hero #mainCarousel { border-radius: 0; }
    .home-hero .carousel-item { min-height: 0; }
    .home-hero-slide { min-height: 0; grid-template-columns: 1fr; gap: 1.25rem; padding: 2rem 1.1rem 1rem; }
    .home-hero-copy h1, .home-hero-copy h2 { max-width: none; font-size: clamp(1.85rem,7.6vw,2.3rem); line-height: 1.08; }
    .home-hero-copy > p:not(.eyebrow) { font-size: 1rem; }
    .home-hero-media { min-height: 0; padding: .4rem; border-radius: 14px; }
    .home-hero-media img { height: clamp(190px,58vw,250px); }
    .home-hero-controls { padding: .2rem 1.1rem 1rem; }
    .brand-strip { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .35rem; }
    .brand-logo { min-height: 58px; }
    #productos .row.row-cols-lg-3 { grid-template-columns: 1fr; }
    .product-card .card-img-top { height: 190px; }
    .catalog-intro h1 { font-size: clamp(1.85rem,8vw,2.5rem); }
    .content-col .hero .product-hero-layout { gap: 1rem; }
    .distributor-promo-panel { padding: 1.5rem; border-radius: 12px; }
}

.catalog-intro h1, .catalog-intro .lead { text-align: left; }
.catalog-intro h1 { max-width: 22ch; margin-inline: 0; }
.navbar-search .form-control { font-size: .78rem; }
@media (max-width: 767.98px) {
    .whatsapp-text { display: none; }
}

/* The homepage feature carousel moves vertically; its controls sit on the right edge. */
.home-hero #mainCarousel > .container { position: relative; }
.home-hero #mainCarousel .carousel-inner { position: relative; overflow: hidden; }
.home-hero #mainCarousel .carousel-item {
    position: absolute;
    inset: 0;
    float: none;
    width: 100%;
    margin: 0;
    transform: translateY(100%);
    transition: transform .65s cubic-bezier(.22,.75,.22,1);
}
.home-hero #mainCarousel .carousel-item.active { position: relative; transform: translateY(0); }
.home-hero #mainCarousel .carousel-item-next,
.home-hero #mainCarousel .carousel-item-prev { display: block; }
.home-hero #mainCarousel .carousel-item-next:not(.carousel-item-start) { transform: translateY(100%); }
.home-hero #mainCarousel .carousel-item-prev:not(.carousel-item-end) { transform: translateY(-100%); }
.home-hero #mainCarousel .carousel-item.active.carousel-item-start { transform: translateY(-100%); }
.home-hero #mainCarousel .carousel-item.active.carousel-item-end { transform: translateY(100%); }
.home-hero #mainCarousel .carousel-item-next.carousel-item-start,
.home-hero #mainCarousel .carousel-item-prev.carousel-item-end { transform: translateY(0); }
.home-hero-controls {
    position: absolute;
    z-index: 5;
    top: 50%;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .2rem;
    padding: 0;
    transform: translateY(-50%);
}
.home-hero-controls button { width: 38px; height: 38px; color: var(--primary); font-size: 1.1rem; }
.home-hero-controls button[data-bs-slide-to]::before {
    width: 7px;
    height: 23px;
    border-radius: 99px;
    background: #b8c9df;
    transition: height .2s ease, background-color .2s ease;
}
.home-hero-controls button[data-bs-slide-to].active::before { width: 7px; height: 36px; background: var(--primary-light); }
.home-hero-slide { padding-right: 4.25rem; }
@media (max-width: 767.98px) {
    .home-hero-controls { right: .35rem; padding: 0; }
    .home-hero-slide { padding-right: 3.5rem; }
    .home-hero-media { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .home-hero #mainCarousel .carousel-item { transition-duration: .01ms; }
}

/* Final visual polish: add depth through light, gradients and quiet technical detail. */
.home-hero #mainCarousel {
    position: relative;
    overflow: hidden;
    border: 1px solid #e4edf8;
    border-radius: 24px;
    background:
        radial-gradient(ellipse at 82% 18%, rgba(194,220,255,.52), transparent 35%),
        linear-gradient(118deg, #f7faff 0%, #edf4fd 53%, #f8fbff 100%);
    box-shadow: 0 18px 44px rgba(23,59,120,.08);
}
.home-hero #mainCarousel::before {
    position: absolute;
    z-index: 0;
    inset: 0;
    background-image: linear-gradient(rgba(58,105,167,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(58,105,167,.035) 1px, transparent 1px);
    background-size: 34px 34px;
    content: "";
    mask-image: linear-gradient(110deg, #000 0%, transparent 64%);
    pointer-events: none;
}
.home-hero #mainCarousel > .container { z-index: 1; }
.home-hero-media {
    border: 1px solid rgba(255,255,255,.8);
    box-shadow: 0 18px 38px rgba(31,75,137,.09), inset 0 1px 0 rgba(255,255,255,.9);
}
.home-hero-copy .eyebrow { display: inline-flex; align-items: center; gap: .55rem; }
.home-hero-copy .eyebrow::before { width: 24px; height: 2px; border-radius: 9px; background: currentColor; content: ""; }
.home-hero-copy h1, .home-hero-copy h2 { letter-spacing: -.045em; }
.home-hero-copy .btn-primary, .navbar .nav-quote {
    background: linear-gradient(135deg, #17458e, #1769d2);
    box-shadow: 0 8px 18px rgba(23,82,158,.18);
}
.home-hero-copy .btn-primary:hover, .navbar .nav-quote:hover { background: linear-gradient(135deg, #10366f, #125bb9); }

#productos {
    background: linear-gradient(180deg, #f4f8fe 0%, #fff 100%) !important;
}
.catalog-intro {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 84% 0%, rgba(197,221,255,.62), transparent 34%),
        linear-gradient(120deg, #f7faff, #edf4fd 72%, #f8fbff) !important;
}
.catalog-intro::after {
    position: absolute;
    top: -5rem;
    right: max(2rem, calc((100vw - 1120px) / 2));
    width: 18rem;
    height: 18rem;
    border: 1px solid rgba(44,99,168,.08);
    border-radius: 50%;
    box-shadow: 0 0 0 2rem rgba(44,99,168,.025), 0 0 0 4rem rgba(44,99,168,.02);
    content: "";
    pointer-events: none;
}
.catalog-intro > .container { position: relative; z-index: 1; }
.business-hero, .content-col .hero, .weltkit-hero {
    background:
        radial-gradient(ellipse at 88% 8%, rgba(202,224,255,.5), transparent 34%),
        linear-gradient(125deg, #f8faff, #edf4fd 70%, #f8fbff);
}
.distributor-promo-panel {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 90% 0%, rgba(105,160,235,.32), transparent 35%),
        linear-gradient(115deg, #102e62 0%, #174889 60%, #1c5aa4 100%);
}
.distributor-promo-panel::after {
    position: absolute;
    top: -5rem;
    right: 8%;
    width: 19rem;
    height: 19rem;
    display: block;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 50%;
    box-shadow: 0 0 0 2rem rgba(255,255,255,.035), 0 0 0 4rem rgba(255,255,255,.025);
    content: "";
    pointer-events: none;
}
.distributor-promo-panel > * { position: relative; z-index: 1; }
.hero-about, .hero-careers {
    background:
        radial-gradient(ellipse at 85% 0%, rgba(96,153,230,.38), transparent 38%),
        linear-gradient(115deg, #102e62, #1b559a) !important;
}
.product-card, .business-card, .card { transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.product-card:hover, .business-card:hover, .card:hover { border-color: #c8daf1; }
.brand-strip { padding-block: 1rem; }
.brand-logo img { filter: saturate(.94); transition: transform .2s ease; }
.brand-logo:hover img { transform: translateY(-2px); }
.whatsapp-text {
    visibility: hidden;
    opacity: 0;
    transform: translateX(8px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.whatsapp-float-container:hover .whatsapp-text,
.whatsapp-float-container:focus-visible .whatsapp-text,
.whatsapp-float-container:focus-within .whatsapp-text {
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
}
@media (max-width: 767.98px) {
    .row.g-5 { --bs-gutter-x: 1.5rem; }
    .home-hero #mainCarousel { border-radius: 16px; }
    .home-hero #mainCarousel::before { background-size: 26px 26px; }
    .home-hero-slide { padding-right: 3.4rem; }
    .catalog-intro::after { right: -7rem; }
}
@media (prefers-reduced-motion: reduce) {
    .product-card, .business-card, .card, .brand-logo img { transition: none; }
}

/* Brand-blue zones with neutral photo and content surfaces. */
:root { --bg-light: #f7f8fa; }
.navbar {
    border-bottom: 0;
    background: #075ca8;
    box-shadow: 0 5px 18px rgba(7,45,87,.18);
}
.navbar::after { background: linear-gradient(90deg, #53b9ff 0 22%, rgba(255,255,255,.32) 22% 100%); }
.navbar-brand img { background: transparent; }
.navbar .nav-link,
.navbar .nav-link:hover,
.navbar .nav-link.active,
.navbar .show > .nav-link { color: #fff; }
.navbar .nav-link:hover,
.navbar .nav-link.active,
.navbar .show > .nav-link { background: rgba(255,255,255,.14); }
.navbar .nav-quote {
    border: 1px solid rgba(255,255,255,.72);
    background: transparent;
    color: #fff;
    box-shadow: none;
}
.navbar .nav-quote:hover { background: rgba(255,255,255,.13); color: #fff; }
.navbar-search .form-control {
    border-color: rgba(255,255,255,.5);
    background: rgba(255,255,255,.1);
    color: #fff;
}
.navbar-search .form-control::placeholder { color: #e5f2ff; }
.navbar-search .btn { border-color: rgba(255,255,255,.58); background: transparent; color: #fff; }
.navbar .navbar-toggler, .navbar .navbar-search-toggle {
    border-color: rgba(255,255,255,.7);
    background: transparent;
    color: #fff;
}
.navbar .navbar-toggler-icon { filter: brightness(0) invert(1); }

.home-hero #mainCarousel {
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
}
.home-hero #mainCarousel::before {
    background: linear-gradient(90deg, #075ca8 0 4px, transparent 4px 100%);
    mask-image: none;
    opacity: .82;
}
.home-hero-media {
    border: 0;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
}
.home-hero-media img { mix-blend-mode: normal; }
#productos { background: #f7f8fa !important; }
.catalog-intro {
    border-bottom: 1px solid #e1e6ed;
    background: #fff !important;
}
.catalog-intro::after { border-color: rgba(23,59,120,.055); box-shadow: 0 0 0 2rem rgba(23,59,120,.018), 0 0 0 4rem rgba(23,59,120,.012); }
.business-hero, .content-col .hero, .weltkit-hero { background: #fff; }
.business-contact, .business-process > div, .selection-guide-section, .faq-section, .sidebar-wrapper { background: #f7f8fa; }
.sidebar-link.active, .sidebar-subitems li a.active {
    border-left-color: #075ca8;
    background: #fff;
    color: #075ca8;
    box-shadow: none;
}
.sidebar-link:hover, .sidebar-section-toggle:hover, .sidebar-section-toggle.active-section { background: #eef2f6; }
.hero-about, .hero-careers { background: linear-gradient(115deg, #075ca8, #173b78) !important; }
.brand-marquee {
    display: flex;
    overflow: hidden;
    width: 100%;
    padding-block: .25rem;
    background: #fff;
    mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.brand-marquee .brand-strip {
    display: flex;
    flex: 0 0 auto;
    width: max-content;
    max-width: none;
    margin: 0;
    gap: clamp(2rem, 5vw, 5rem);
    padding: .5rem 2rem;
    animation: brand-marquee-scroll 36s linear infinite;
}
.brand-marquee:hover .brand-strip,
.brand-marquee:focus-within .brand-strip { animation-play-state: paused; }
.brand-marquee .brand-logo { display: grid; flex: 0 0 140px; min-height: 70px; place-items: center; }
.brand-marquee .brand-logo img { width: min(100%, 140px); max-height: 54px; object-fit: contain; }
@keyframes brand-marquee-scroll { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) {
    .brand-marquee { overflow-x: auto; mask-image: none; }
    .brand-marquee .brand-strip { animation: none; }
    .brand-marquee .brand-strip-copy { display: none; }
}

@media (max-width: 1199.98px) {
    .navbar-collapse { border: 1px solid #dce6f2; background: #fff; }
    .navbar-collapse .nav-link,
    .navbar-collapse .nav-link:hover,
    .navbar-collapse .nav-link.active,
    .navbar-collapse .show > .nav-link { color: var(--primary-dark); }
    .navbar-collapse .nav-link:hover,
    .navbar-collapse .nav-link.active,
    .navbar-collapse .show > .nav-link { background: #eef2f6; }
    .navbar .dropdown-menu { background: #f7f8fa; }
    .navbar .navbar-toggler, .navbar .navbar-search-toggle { background: transparent; color: #fff; }
}
@media (max-width: 767.98px) {
    .home-hero #mainCarousel { border-radius: 0; }
    .home-hero-media { border-radius: 0; }
}

/* Visual treatment for the recovered Normatec product families. */
.product-line-art {
    display: grid !important;
    place-items: center;
    border: 1px solid #dce8f4 !important;
    border-radius: 1rem !important;
    background: radial-gradient(circle at 50% 42%, #fff 0, #f0f6fc 70%) !important;
    box-shadow: 0 12px 28px rgba(13, 48, 83, .08) !important;
}
.product-line-art i {
    color: var(--primary-light, #1763a7);
    font-size: clamp(3.5rem, 8vw, 5.5rem);
}
.product-line-card-illustration {
    display: grid;
    min-height: 190px;
    aspect-ratio: 4 / 3;
    place-items: center;
    border-bottom: 1px solid #e4edf6;
    background: radial-gradient(circle at 50% 42%, #fff 0, #f0f6fc 74%);
    color: var(--primary-light, #1763a7);
}
.product-line-card-illustration i { font-size: clamp(2.7rem, 5vw, 3.7rem); }
@media (max-width: 575.98px) {
    .product-line-card-illustration { min-height: 150px; }
}

.product-line-page .hero {
    position: relative;
    padding: clamp(2rem, 4vw, 3.25rem) 1rem;
    border-bottom: 1px solid var(--border-color);
    background: #f1f6fc;
    color: var(--text-dark);
}
.product-line-page .hero::before,
.product-line-page .hero::after { display: none !important; }
.product-line-page .hero .container { max-width: 1120px; }
.product-line-page .hero .product-hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 330px);
    align-items: center;
    gap: clamp(1.5rem, 4vw, 3.5rem);
    text-align: left;
}
.product-line-page .product-hero-copy h1 {
    margin: 0 0 .7rem;
    color: var(--primary);
    font-size: clamp(1.9rem, 3.4vw, 2.65rem);
    font-weight: 650;
    letter-spacing: -.035em;
    line-height: 1.14;
}
.product-line-page .product-hero-copy > p:last-child {
    max-width: 58ch;
    margin: 0;
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}
.product-line-page .product-line-art {
    width: 100%;
    height: clamp(175px, 22vw, 245px);
}
@media (max-width: 767.98px) {
    .product-line-page .hero .product-hero-layout { grid-template-columns: 1fr; text-align: center; }
    .product-line-page .product-hero-copy > p:last-child { margin-inline: auto; }
    .product-line-page .product-line-art { width: min(100%, 340px); height: 175px; margin-inline: auto; }
}

/* Compact, readable product-line summary displayed at the end of selected pages. */
.seo-copy-note {
    margin: 0;
    padding: .65rem .8rem;
    border: 1px solid #edf1f2;
    border-radius: var(--radius-sm);
    background: #fbfcfc;
    color: var(--text-muted);
    font-size: .8125rem;
    line-height: 1.6;
}
