@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap');

/* ============================================================
   NetShield — Unified site styles
   Shared, home, about-us, contacts, and catalog styles in one file.
   ============================================================ */

body {
    background: #000;
}

/* ── Shared navigation ───────────────────────────────────── */
.nav-link {
    position: relative;
    padding-bottom: 4px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #10b981;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.navbar-scrolled {
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(16, 185, 129, 0.2);
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

#mobile-menu {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-open {
    transform: translateX(0) !important;
}

/* ── Shared buttons ──────────────────────────────────────── */
.btn-glow {
    background-color: #05221a;
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    color: #a0a0a0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    outline: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-glow:hover {
    background-color: #00ffaa;
    border-color: #00ffaa;
    color: #fff;
    transform: translateY(-4px);
    box-shadow: 0 0 8px #00ffaa, 0 0 25px #00ffaa, 0 0 50px rgba(0, 255, 170, 0.6);
}

.btn-glow:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 0 15px #00ffaa;
}

.btn-social-glow,
.contact-action {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    background-color: #05221a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    outline: none;
    color: #a0a0a0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-social-glow svg,
.contact-action svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    transition: all 0.4s ease;
}

.btn-social-glow:hover,
.contact-action:hover {
    background-color: #00ffaa;
    border-color: #00ffaa;
    color: #fff;
    transform: translateY(-4px);
    box-shadow: 0 0 8px #00ffaa, 0 0 25px #00ffaa, 0 0 50px rgba(0, 255, 170, 0.6);
}

.btn-social-glow:hover svg,
.contact-action:hover svg {
    fill: #fff;
    filter: drop-shadow(0 0 4px white);
}

/* ── Home page ───────────────────────────────────────────── */
.showcase-section {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: #000;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.5rem;
}

.showcase-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 0.25rem;
}

.showcase-visual {
    width: 250px;
    height: 250px;
    object-fit: contain;
    margin-bottom: -70px;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.55));
    transition: transform 0.35s ease;
}

.showcase-panel {
    width: 100%;
    max-width: 340px;
    min-height: 210px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 2.35rem 1.25rem 1.5rem;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.showcase-panel p {
    max-width: 285px;
    margin: 0 auto;
}

.showcase-card:hover .showcase-visual {
    transform: translateY(-6px) scale(1.02);
}

.showcase-card:hover .showcase-panel {
    transform: translateY(-4px);
    border-color: rgba(52, 211, 153, 0.4);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.55);
}

/* ── About us page ───────────────────────────────────────── */
.about-hero {
    position: relative;
    min-height: 72vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #000;
}

.about-hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.34;
}

.about-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.78) 100%);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.04);
    border-radius: 9999px;
    padding: 0.45rem 0.85rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #d1d5db;
}

.content-section {
    padding: 5rem 0;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.section-subtitle {
    max-width: 44rem;
    margin: 1rem auto 0;
    color: #9ca3af;
    font-size: 0.98rem;
    line-height: 1.75;
    font-weight: 300;
}

.about-surface {
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
    padding: 1.25rem;
}

.warning-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
}

.warning-card {
    --card-rotate: 0deg;
    --card-shift-x: 0px;
    --card-shift-y: 0px;
    position: relative;
    width: min(100%, 23rem);
    min-height: 210px;
    padding: 0.9rem 1.1rem 1.2rem;
    text-align: left;
    overflow: hidden;
    border-radius: 24px;
    border: 1.5px solid rgba(255, 196, 176, 0.68);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.08) 16%, rgba(255, 96, 64, 0.18) 35%, rgba(145, 22, 18, 0.64) 100%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(10px) saturate(135%);
    -webkit-backdrop-filter: blur(10px) saturate(135%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 -1px 0 rgba(255, 255, 255, 0.1),
        0 18px 34px rgba(0, 0, 0, 0.45),
        0 0 22px rgba(255, 90, 70, 0.28);
    transform: rotate(var(--card-rotate)) translate(var(--card-shift-x), var(--card-shift-y));
    transform-origin: center center;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.warning-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(115deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.12) 22%, transparent 38%),
        linear-gradient(180deg, transparent 0%, rgba(255, 57, 31, 0.1) 100%);
    pointer-events: none;
}

.warning-card::after {
    content: '';
    position: absolute;
    inset: 8px;
    border-radius: 18px;
    border: 1px solid rgba(255, 214, 204, 0.38);
    pointer-events: none;
}

.warning-card__chrome {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding-bottom: 0.8rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 240, 235, 0.28);
}

.warning-card__chrome span {
    width: 12px;
    height: 12px;
    border-radius: 9999px;
    background: linear-gradient(180deg, #ffd29c 0%, #ff744d 100%);
    box-shadow: 0 0 0 1px rgba(128, 25, 14, 0.2), 0 0 10px rgba(255, 110, 80, 0.4);
}

.warning-card__text {
    position: relative;
    z-index: 2;
    color: rgba(255, 255, 255, 0.96);
    font-size: 1rem;
    line-height: 1.8;
    font-weight: 300;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.warning-card--left {
    --card-rotate: -9deg;
    --card-shift-x: 0px;
    --card-shift-y: 10px;
    z-index: 1;
}

.warning-card--center {
    --card-rotate: -4deg;
    --card-shift-x: 0px;
    --card-shift-y: -2px;
    z-index: 3;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.34) 0%, rgba(255, 255, 255, 0.1) 16%, rgba(255, 88, 52, 0.28) 35%, rgba(176, 20, 20, 0.8) 100%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
}

.warning-card--mid-right {
    --card-rotate: 4deg;
    --card-shift-x: 0px;
    --card-shift-y: 6px;
    z-index: 2;
}

.warning-card--right {
    --card-rotate: 8deg;
    --card-shift-x: 0px;
    --card-shift-y: 10px;
    z-index: 1;
}

.warning-card:hover {
    z-index: 10;
    transform: rotate(0deg) translate(var(--card-shift-x), calc(var(--card-shift-y) - 25px)) scale(1.06);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.55),
        inset 0 -1px 0 rgba(255, 255, 255, 0.12),
        0 26px 48px rgba(0, 0, 0, 0.55),
        0 0 40px rgba(255, 90, 70, 0.42);
}

.muted-note {
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.06);
    color: #d1d5db;
    font-size: 0.9rem;
    line-height: 1.7;
    padding: 0.85rem 1.25rem;
}

.vision-main-image {
    width: min(250px, 100%);
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.45));
    margin-bottom: -100px;
}

.vision-main-image--large {
    width: min(380px, 100%);
}

.vision-feature-icon {
    width: 44px;
    height: 44px;
    object-fit: contain;
    display: block;
}

.compliance-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 2rem;
}

.compliance-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
}

.compliance-image {
    width: 160px;
    height: auto;
    object-fit: contain;
    display: block;
    margin-bottom: -100px;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.45));
}

.compliance-panel {
    width: 100%;
    min-height: 210px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    padding: 6.5rem 1.5rem 1.5rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.4rem;
    border-radius: 9999px;
    background: #10b981;
    color: white;
    font-weight: 700;
    transition: transform 0.25s ease, background-color 0.25s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    background: #059669;
}

/* ── Contacts page ───────────────────────────────────────── */
.contacts-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.5rem;
}

.contact-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.34);
    padding: 1.25rem;
}

.contact-card__image {
    width: 44px;
    height: 44px;
    object-fit: contain;
    margin-bottom: 0.25rem;
}

.contact-card__title {
    margin-top: 1rem;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.2;
}

.contact-card__text {
    margin-top: 0.9rem;
    color: #d1d5db;
    font-size: 0.95rem;
    line-height: 1.7;
    font-weight: 300;
}

.contact-card__meta {
    margin-top: auto;
    padding-top: 1.5rem;
    color: #f3f4f6;
    font-size: 0.92rem;
    line-height: 1.8;
}

.contact-card__meta a {
    color: #e5e7eb;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.contact-card__actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 1rem;
}

.faq-list {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.faq-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 0.25rem;
    text-align: left;
    font-size: 1rem;
    font-weight: 700;
    color: #10b981;
}

.faq-icon {
    color: #fff;
    font-size: 1.1rem;
    transition: transform 0.25s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
    padding: 0 0.25rem;
}

.faq-answer p {
    color: #d1d5db;
    font-size: 0.95rem;
    line-height: 1.8;
    padding-bottom: 1rem;
}

.faq-item.is-open .faq-answer {
    max-height: 220px;
    opacity: 1;
}

.faq-item.is-open .faq-icon {
    transform: rotate(180deg);
}

/* ── Responsive ──────────────────────────────────────────── */
@media (min-width: 768px) {
    .showcase-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .warning-stack {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 0;
        perspective: 1600px;
        padding: 0 1rem;
    }

    .warning-card {
        width: 20rem;
        min-height: 255px;
    }

    .warning-card + .warning-card {
        margin-left: -2.1rem;
    }

    .warning-card--left {
        --card-shift-x: 22px;
        --card-shift-y: 14px;
    }

    .warning-card--center {
        --card-shift-x: 10px;
        --card-shift-y: -4px;
    }

    .warning-card--mid-right {
        --card-shift-x: -6px;
        --card-shift-y: 2px;
    }

    .warning-card--right {
        --card-shift-x: -22px;
        --card-shift-y: 12px;
    }

    .compliance-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 3rem;
        align-items: start;
    }

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

    .contact-card {
        min-height: 360px;
        padding: 1.35rem;
    }

    .contact-card--featured {
        transform: translateY(8px);
    }
}

@media (min-width: 1280px) {
    .showcase-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .warning-card {
        --card-rotate: 0deg;
        --card-shift-x: 0px;
        --card-shift-y: 0px;
        width: min(100%, 24rem);
    }

    .content-section {
        padding: 4rem 0;
    }

    .muted-note {
        border-radius: 18px;
    }
}

/* ── Catalogo page ───────────────────────────────────────── */
body {
    font-family: 'Inter', sans-serif;
    background-color: #000000;
    color: #ffffff;
    overflow-x: hidden;
}

.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}
.custom-scrollbar::-webkit-scrollbar-track {
    background: #111;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 10px;
}

/* Effetti Glow e Transizioni */
.glow-button {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid #222;
    background-color: #111;
}

.glow-button:hover {
    border-color: #00ffaa;
    box-shadow: 0 0 8px #00ffaa, 0 0 25px #00ffaa, 0 0 50px rgba(0, 255, 170, 0.6);
    transform: translateY(-4px);
}

.glow-button.active {
    background-color: #00ffaa;
    color: #000;
    border-color: #00ffaa;
    box-shadow: 0 0 20px rgba(0, 240, 160, 0.5);
}

.search-btn-glow {
    background: linear-gradient(135deg, #00ffaa 0%, #00d080 100%);
    box-shadow: 0 0 8px #00ffaa, 0 0 25px #00ffaa, 0 0 50px rgba(0, 255, 170, 0.6);
    transition: all 0.3s ease;
}

.search-btn-glow:hover {
    box-shadow: 0 0 8px #00ffaa, 0 0 25px #00ffaa, 0 0 50px rgba(0, 255, 170, 0.6), 0 0 30px rgba(0, 240, 160, 0.6);
    transform: scale(1.02);
}

.product-card {
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.01);
    backdrop-filter: blur(12px);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.product-card:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(0, 255, 170, 0.3);
    box-shadow: 0 12px 35px -10px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 255, 170, 0.08);
    transform: translateY(-5px);
}

.filter-pill {
    transition: all 0.3s ease;
    border: 1px solid #333;
}

.filter-pill.active {
    background-color: #00f0a0;
    color: #000;
    border-color: #00f0a0;
    box-shadow: 0 0 8px #00ffaa, 0 0 25px #00ffaa, 0 0 50px rgba(0, 255, 170, 0.6);
}

.floating-arrow {
    background: linear-gradient(135deg, #00f0a0 0%, #00d080 100%);
    box-shadow: 0 0 8px #00ffaa, 0 0 25px #00ffaa, 0 0 50px rgba(0, 255, 170, 0.6);
}

.hidden-view {
    display: none;
}

/* Animazione per l'icona di ricerca */
.search-icon-container i {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Transizione fluida immagini */
.product-image {
    transition: opacity 0.4s ease;
}

.catalog-shell {
    border: 1px solid #151515;
    border-radius: 18px;
    background: radial-gradient(circle at 0 0, rgba(0, 255, 170, 0.06), transparent 38%), #060606;
    padding: 1.5rem;
}

.catalog-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.catalog-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f2f2f2;
}

.catalog-subtitle {
    font-size: 0.9rem;
    color: #a0a0a0;
    margin-top: 0.35rem;
}

.catalog-reset-btn {
    border: 1px solid #2f2f2f;
    color: #c5c5c5;
    border-radius: 999px;
    padding: 0.45rem 0.95rem;
    font-size: 0.8rem;
    transition: all 0.2s ease;
}

.catalog-reset-btn:hover {
    border-color: #00ffaa;
    color: #00ffaa;
}

.catalog-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.2rem;
}

.cat-pill {
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    border: 1px solid #323232;
    color: #8b8b8b;
    font-size: 0.78rem;
    transition: all 0.2s ease;
}

.cat-pill:hover {
    border-color: #00ffaa;
    color: #00ffaa;
}

.cat-pill.active {
    background-color: #00ffaa;
    border-color: #00ffaa;
    color: #04150f;
    font-weight: 700;
}

.catalog-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 1.2rem;
}

.catalog-sidebar {
    border: 1px solid #1e1e1e;
    border-radius: 12px;
    background: #0f0f0f;
    padding: 1rem;
    height: fit-content;
    position: sticky;
    top: 6rem;
}

.catalog-search-box {
    margin-bottom: 1rem;
}

.catalog-field-label {
    display: block;
    color: #d2d2d2;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.45rem;
}

.catalog-search-input {
    width: 100%;
    border: 1px solid #2c2c2c;
    border-radius: 8px;
    background: #171717;
    color: #ececec;
    padding: 0.58rem 0.7rem;
    font-size: 0.82rem;
}

.catalog-search-input:focus {
    outline: none;
    border-color: #00ffaa;
}

.catalog-filter-groups {
    display: grid;
    gap: 0.6rem;
}

.catalog-filter-group {
    border-top: 1px solid #1f1f1f;
    padding-top: 0.6rem;
}

.catalog-filter-title {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #d8d8d8;
    font-size: 0.82rem;
    font-weight: 600;
}

.catalog-filter-title .catalog-chevron {
    transition: transform 0.2s ease;
}

.catalog-filter-title.is-open .catalog-chevron {
    transform: rotate(180deg);
}

.catalog-filter-body {
    display: grid;
    gap: 0.42rem;
    margin-top: 0.6rem;
}

.catalog-filter-body.is-hidden {
    display: none;
}

.catalog-check-row {
    display: flex;
    gap: 0.65rem;
    align-items: center;
    color: #909090;
    font-size: 0.8rem;
    cursor: pointer;
    transition: color 0.2s ease;
    padding: 0.15rem 0;
}

.catalog-check-row:hover {
    color: #f0f0f0;
}

.catalog-check-row input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    height: 15px;
    width: 15px;
    border: 1px solid #3a3a3a;
    background-color: #121212;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    outline: none;
    margin: 0;
}

.catalog-check-row:hover input[type="checkbox"] {
    border-color: #00ffaa;
}

.catalog-check-row input[type="checkbox"]:checked {
    background-color: #00ffaa;
    border-color: #00ffaa;
}

.catalog-check-row input[type="checkbox"]:checked::after {
    content: "✓";
    font-size: 0.65rem;
    color: #04150f;
    font-weight: 900;
}

.catalog-filter-empty {
    font-size: 0.78rem;
    color: #5f5f5f;
}

.catalog-main {
    min-width: 0;
}

.catalog-state {
    margin-bottom: 0.75rem;
    color: #979797;
    font-size: 0.85rem;
}

.catalog-state.is-hidden {
    display: none;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
}

.catalog-product-image-wrap {
    width: 100%;
    height: 160px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0.8rem;
    background: rgba(255, 255, 255, 0.015);
    border-radius: 12px;
    padding: 0.75rem;
    overflow: hidden;
    transition: background 0.3s ease;
}

.product-card:hover .catalog-product-image-wrap {
    background: rgba(255, 255, 255, 0.025);
}

.catalog-product-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .catalog-product-image {
    transform: scale(1.05);
}

.catalog-product-subtitle {
    color: #6e6e6e;
    font-size: 0.74rem;
    margin-top: 0.2rem;
}

/* Shimmer Skeleton Loader */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.catalog-skeleton-card {
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.01);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    height: 250px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.skeleton-shimmer {
    background: linear-gradient(90deg, #121212 25%, #1d1d1d 50%, #121212 75%);
    background-size: 200% 100%;
    animation: shimmer 1.6s infinite;
}

.skeleton-image {
    width: 100%;
    height: 140px;
    margin-bottom: 0.8rem;
    border-radius: 12px;
}

.skeleton-text-sm {
    width: 40%;
    height: 12px;
    margin-bottom: 0.5rem;
    border-radius: 4px;
}

.skeleton-text-lg {
    width: 75%;
    height: 16px;
    border-radius: 4px;
}

/* Badges & Monospace labels inside Card */
.catalog-product-model {
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    font-size: 0.72rem;
    color: #5a6578;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
}

.catalog-product-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ececec;
    line-height: 1.3;
    margin-bottom: auto;
}

.catalog-card-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.8rem;
}

.catalog-card-badge {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
    background: rgba(0, 255, 170, 0.06);
    border: 1px solid rgba(0, 255, 170, 0.15);
    color: #00ffaa;
    letter-spacing: 0.02em;
}

.catalog-card-badge--tech {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #9a9a9a;
}

.catalog-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1rem;
}

.page-btn {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    border: 1px solid #2d2d2d;
    color: #b4b4b4;
    font-size: 0.78rem;
    font-weight: 700;
}

.page-btn:hover {
    border-color: #00ffaa;
    color: #00ffaa;
}

.page-btn.active {
    background: #00ffaa;
    color: #03120d;
    border-color: #00ffaa;
}

.page-btn.arrow:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

@media (max-width: 1024px) {
    .catalog-layout {
        grid-template-columns: 1fr;
    }

    .catalog-sidebar {
        position: static;
    }

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

@media (max-width: 640px) {
    .catalog-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Product page ───────────────────────────────────────── */
.product-shell {
    border: 1px solid #171717;
    border-radius: 20px;
    background:
        radial-gradient(circle at 0 0, rgba(0, 255, 170, 0.1), transparent 45%),
        radial-gradient(circle at 100% 100%, rgba(16, 185, 129, 0.08), transparent 38%),
        #070707;
    background-attachment: fixed;
    padding: 1.5rem;
}

.product-empty-state {
    max-width: 42rem;
    margin: 0 auto;
    text-align: center;
    border: 1px solid #1e1e1e;
    background: #0d0d0d;
    border-radius: 18px;
    padding: 2.5rem 1.5rem;
}

.product-empty-kicker {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #10b981;
    margin-bottom: 0.4rem;
}

.product-empty-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #f5f5f5;
}

.product-empty-text {
    color: #a0a0a0;
    margin-top: 0.75rem;
}

.product-empty-link {
    margin-top: 1.1rem;
    display: inline-flex;
    border: 1px solid #10b981;
    color: #10b981;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
}

.product-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
    font-size: 0.78rem;
    color: #7b7b7b;
    margin-bottom: 1rem;
}

.product-breadcrumb a {
    color: #8d8d8d;
    transition: color 0.2s ease;
}

.product-breadcrumb a:hover {
    color: #10b981;
}

.product-breadcrumb strong {
    color: #d4d4d4;
}

.product-hero-grid {
    display: grid;
    gap: 1.2rem;
    grid-template-columns: minmax(0, 1fr);
}

.product-main-image-wrap {
    position: relative;
    height: 320px;
    border-radius: 14px;
    border: 1px solid #1f1f1f;
    background: #101010;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-main-image {
    max-width: 92%;
    max-height: 92%;
    object-fit: contain;
}

.product-gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid #2f2f2f;
    background: rgba(10, 10, 10, 0.76);
    color: #b6b6b6;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.product-gallery-arrow:hover {
    border-color: #10b981;
    color: #10b981;
}

.product-gallery-arrow.prev {
    left: 10px;
}

.product-gallery-arrow.next {
    right: 10px;
}

.product-thumbs {
    margin-top: 0.8rem;
    display: flex;
    gap: 0.55rem;
    overflow-x: auto;
    padding-bottom: 0.3rem;
}

.product-thumb {
    width: 74px;
    height: 64px;
    border-radius: 8px;
    border: 1px solid #2a2a2a;
    background: #0f0f0f;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.product-thumb img {
    max-width: 88%;
    max-height: 88%;
    object-fit: contain;
}

.product-thumb:hover,
.product-thumb.is-active {
    border-color: #10b981;
    box-shadow: 0 0 14px rgba(16, 185, 129, 0.25);
}

.product-code {
    color: #10b981;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.product-heading {
    margin-top: 0.35rem;
    color: #f4f4f4;
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    line-height: 1.2;
    font-weight: 800;
}

.product-lang-switcher {
    display: flex;
    gap: 0.4rem;
    margin-top: 0.65rem;
}

.product-lang-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.2rem 0.65rem;
    border-radius: 6px;
    border: 1px solid #333;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #888;
    text-decoration: none;
    transition: border-color 0.15s, color 0.15s;
}

.product-lang-btn:hover {
    border-color: #10b981;
    color: #10b981;
}

.product-lang-btn.is-active {
    border-color: #10b981;
    color: #10b981;
    background: rgba(16, 185, 129, 0.08);
}

.product-quick-summary {
    margin-top: 0.9rem;
    color: #cdcdcd;
    line-height: 1.8;
    font-size: 0.95rem;
}

.product-badge-grid {
    margin-top: 1rem;
    display: grid;
    gap: 0.65rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-badge-item {
    border: 1px solid #232323;
    border-radius: 10px;
    padding: 0.6rem 0.75rem;
    background: #111;
}

.product-badge-label {
    display: block;
    color: #737373;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.64rem;
    font-weight: 700;
}

.product-badge-value {
    display: block;
    color: #e4e4e4;
    margin-top: 0.25rem;
    font-size: 0.83rem;
    font-weight: 600;
}

.product-cta {
    margin-top: 1rem;
    display: inline-flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    background: #10b981;
    color: #04160f;
    font-size: 0.84rem;
    font-weight: 800;
    padding: 0.72rem 1rem;
    transition: background 0.2s ease;
}

.product-cta:hover {
    background: #0e9f6e;
}

.product-tabs {
    margin-top: 1.5rem;
    border-bottom: 1px solid #1f1f1f;
    display: flex;
    gap: 1.1rem;
    flex-wrap: wrap;
}

.product-tab-btn {
    color: #6f6f6f;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0 0 0.7rem;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

.product-tab-btn:hover {
    color: #c3c3c3;
}

.product-tab-btn.is-active {
    color: #10b981;
    border-bottom-color: #10b981;
}

.product-panel {
    display: none;
    padding-top: 1.15rem;
}

.product-panel.is-active {
    display: block;
}

.product-copy-block {
    display: grid;
    gap: 0.7rem;
}

.product-copy-block p {
    color: #d0d0d0;
    line-height: 1.8;
}

.product-bullet-list {
    margin: 0.5rem 0 1rem 1.5rem;
    padding-left: 0;
    list-style-type: disc;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.product-bullet-list li {
    color: #d0d0d0;
    line-height: 1.8;
}

.product-feature-list {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.product-feature-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 1.1rem 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.2s ease, padding-left 0.2s ease, border-bottom-color 0.2s ease;
}

.product-feature-item:hover {
    background: rgba(255, 255, 255, 0.01);
    padding-left: 1rem;
    border-bottom-color: rgba(16, 185, 129, 0.25);
}

.product-feature-item.is-collapsed {
    display: none;
}

.product-feature-list.is-expanded .product-feature-item.is-collapsed {
    display: flex;
}

.product-feature-num {
    font-family: monospace;
    font-size: 0.95rem;
    font-weight: 700;
    color: #10b981;
    flex-shrink: 0;
    letter-spacing: 0.05em;
    min-width: 2rem;
    margin-top: 0.2rem;
}

.product-feature-content {
    flex-grow: 1;
    min-width: 0;
}

.product-feature-value {
    color: #e5e7eb;
    font-size: 0.95rem;
    line-height: 1.65;
    margin: 0;
    word-break: break-word;
    overflow-wrap: break-word;
}

.product-expand-btn {
    margin-top: 0.85rem;
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.5);
    border-radius: 999px;
    padding: 0.45rem 0.85rem;
    font-size: 0.76rem;
    font-weight: 700;
}

/* Specifications Two-Column Dashboard Layout */
.product-specs-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    margin-top: 1.5rem;
}

@media (max-width: 860px) {
    .product-specs-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Sidebar: Compact parameter blocks */
.product-specs-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-spec-section {
    border: 1px solid rgba(255, 255, 255, 0.04);
    background: rgba(255, 255, 255, 0.01);
    border-radius: 10px;
    padding: 0.9rem;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.product-spec-section:hover {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(16, 185, 129, 0.2);
}

.product-spec-title {
    font-size: 0.76rem;
    color: #8a8a8a;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.product-spec-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.product-spec-tag {
    font-size: 0.74rem;
    font-weight: 600;
    color: #e2e8f0;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.15);
    border-radius: 4px;
    padding: 0.25rem 0.6rem;
}

/* Main specs content (Funzionalità list) */
.product-specs-main {
    display: flex;
    flex-direction: column;
}

.product-features-box {
    border: 1px solid rgba(255, 255, 255, 0.04);
    background: rgba(255, 255, 255, 0.01);
    border-radius: 10px;
    padding: 1.5rem;
}

.product-specs-heading {
    font-size: 1.05rem;
    color: #f3f4f6;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 1.2rem;
}

.product-specs-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
}

.product-spec-list-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.product-spec-bullet {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 6px #10b981;
    margin-top: 0.6rem;
    flex-shrink: 0;
}

.product-spec-text {
    color: #d1d5db;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
    word-break: break-word;
    overflow-wrap: break-word;
}

/* Bottom: Technologies & Functions Grid Section */
.product-functions-section {
    margin-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
}

.product-functions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.2rem;
    margin-top: 1rem;
}

.product-function-card-detail {
    border: 1px solid rgba(255, 255, 255, 0.04);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.01), rgba(255, 255, 255, 0.02));
    border-radius: 8px;
    padding: 1.2rem;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.product-function-card-detail:hover {
    transform: translateY(-2px);
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.05);
}

.product-function-card-title {
    font-size: 0.95rem;
    color: #10b981;
    font-weight: 700;
    margin-bottom: 0.6rem;
    letter-spacing: -0.01em;
}

.product-function-card-desc {
    color: #9ca3af;
    font-size: 0.85rem;
    line-height: 1.6;
    margin: 0;
}

/* Segmented Technical Specification Sheet */
.product-specs-sheet {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    margin-top: 1.5rem;
}

.product-spec-group {
    border: 1px solid rgba(255, 255, 255, 0.04);
    background: rgba(255, 255, 255, 0.01);
    border-radius: 10px;
    overflow: hidden;
}

.product-spec-group-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding: 0.9rem 1.2rem;
}

.product-spec-group-accent {
    width: 3px;
    height: 14px;
    background: #10b981;
    border-radius: 99px;
    box-shadow: 0 0 8px #10b981;
}

.product-spec-group-title {
    font-size: 0.9rem;
    color: #f3f4f6;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
}

.product-spec-group-rows {
    display: flex;
    flex-direction: column;
}

.product-spec-row {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    padding: 0.95rem 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
    transition: background-color 0.2s ease, padding-left 0.2s ease;
}

.product-spec-row:last-child {
    border-bottom: none;
}

/* Zebra striping */
.product-spec-row:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.005);
}

.product-spec-row:hover {
    background-color: rgba(255, 255, 255, 0.015);
    padding-left: 1.5rem; /* Sleek sliding feedback */
}

.product-spec-label {
    color: #9ca3af;
    font-size: 0.88rem;
    font-weight: 600;
    word-break: break-word;
    overflow-wrap: break-word;
}

.product-spec-val {
    color: #e5e7eb;
    font-size: 0.88rem;
    line-height: 1.6;
    word-break: break-word;
    overflow-wrap: break-word;
}

/* Responsive adjustment for small tablets/phones */
@media (max-width: 640px) {
    .product-spec-row {
        grid-template-columns: 1fr;
        gap: 0.4rem;
        padding: 0.8rem 1.2rem;
    }
}

.product-empty-inline {
    color: #8c8c8c;
    border: 1px dashed #2a2a2a;
    border-radius: 10px;
    padding: 0.9rem;
    font-size: 0.85rem;
}

/* Product Spec Logos / Highlights Section */
.product-spec-logos-container {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.product-spec-logos-title {
    font-size: 0.72rem;
    text-transform: uppercase;
    color: #6b7280;
    letter-spacing: 0.05em;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.product-spec-logos-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.product-spec-logo-box {
    width: 72px;
    height: 72px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem;
    overflow: hidden;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.product-spec-logo-box:hover {
    transform: translateY(-2px);
    border-color: rgba(16, 185, 129, 0.3);
    background: rgba(255, 255, 255, 0.04);
}

.product-spec-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    /* Contrast-inversion magic filter to convert white bg logos to glowing high-contrast tech icons */
    filter: invert(1) contrast(1.1) brightness(1.15);
    mix-blend-mode: screen;
}

@media (min-width: 1024px) {
    .product-shell {
        padding: 1.8rem;
    }

    .product-hero-grid {
        grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
        align-items: start;
        gap: 1.4rem;
    }
}

@media (max-width: 640px) {
    .product-shell {
        padding: 1rem;
    }

    .product-main-image-wrap {
        height: 240px;
    }

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

    .product-tabs {
        gap: 0.7rem;
    }
}
