/* === PRODUCT DETAILS PAGE === */
.product-header-nav { margin-bottom: 2rem; }
.product-details-container { display: flex; flex-direction: column; gap: 3rem; }
.product-main-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: start; }
@media (min-width: 992px) { .product-main-grid { grid-template-columns: 40% 1fr; } }
.engineering-corners {
    position: relative;
}

.engineering-corners::before,
.engineering-corners::after {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    border-color: rgba(15, 23, 42, 0.15);
    border-style: solid;
    pointer-events: none;
    z-index: 5;
}

/* Top-Left */
.engineering-corners::before {
    top: 8px;
    left: 8px;
    border-width: 1px 0 0 1px;
}

/* Bottom-Right */
.engineering-corners::after {
    bottom: 8px;
    right: 8px;
    border-width: 0 1px 1px 0;
}

/* Specific Application */
.product-image-wrapper {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    background: transparent;
}

.product-image-large { width: 100%; height: auto; display: block; cursor: zoom-in; }

/* Product Main Image Container - responsive for landscape images */
.product-image-main {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-secondary, #f8fafc);
    max-height: 50vh;
    overflow: hidden;
}

.product-image-main img {
    max-height: 50vh;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

@media (min-width: 768px) {
    .product-image-main {
        aspect-ratio: 1 / 1;
        max-height: none;
    }

    .product-image-main img {
        max-height: 100%;
        width: 100%;
        height: 100%;
    }
}

/* Product Gallery Thumbnails */
.product-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.thumb-item {
    width: 80px;
    height: 80px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background: white;
    padding: 5px;
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.thumb-item:hover {
    border-color: var(--color-accent);
}

.thumb-item.active {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.1);
}

/* Product Meta & Info */
.product-meta { margin-bottom: 1.5rem; color: var(--color-text-muted); font-size: 0.95rem; }
.product-meta a { color: var(--color-accent); text-decoration: none; font-weight: 500; }
.product-price { font-size: 2rem; font-weight: 700; color: var(--color-accent); margin: 1.5rem 0; font-variant-numeric: tabular-nums; }
.product-description { line-height: 1.8; }

/* Product Applications Section */
.product__applications { margin-top: 1.5rem; }
.product__applications-title { font-size: 1.1rem; margin-bottom: 0.75rem; color: var(--color-primary); }

/* Product Details Collapsible Section */
.product-details-extra summary {
    cursor: pointer;
    list-style: none;
    outline: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.product-details-extra summary::-webkit-details-marker {
    display: none;
}

.product-details-extra summary::before {
    content: "⊕";
    font-size: 1.2rem;
    color: var(--color-accent);
}

.product-details-extra[open] summary::before {
    content: "⊖";
}

.product-details-extra[open] summary {
    margin-bottom: 1.5rem;
}

.product-details-extra .product-description {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.product__actions { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.btn__icon { vertical-align: middle; margin-right: 5px; }

/* Stack product action buttons on mobile */
@media (max-width: 576px) {
    .product__actions {
        flex-direction: column;
        gap: 0.75rem;
        align-items: stretch;
    }

    .product__actions .btn {
        width: 100%;
        justify-content: center;
    }

    /* Keep icon buttons side by side */
    .product__actions .btn-link {
        width: auto;
        align-self: flex-start;
    }
}

/* Technical Specs Section (bp-md: 768px) */
.product-specs-section {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-color);
}

/* Mobile-first: single column, expand to 2-col on tablet+ */
.specs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

@media (min-width: 769px) {
    .product-specs-section {
        margin-top: 4rem;
        padding-top: 3rem;
    }
    .specs-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2rem;
    }
}

/* Admin Preview Scaling Overrides */
.is-admin-preview {
    margin-top: 0 !important;
    padding-top: 1rem !important;
    font-size: 0.85rem !important;
    max-height: 80vh;
    overflow-y: auto;
    overflow-x: hidden;
}

.is-admin-preview .specs-grid {
    grid-template-columns: 1fr !important; /* Force single column in sidebar preview */
    gap: 1rem !important;
}

.is-admin-preview .tech-card {
    padding: 1rem !important;
    margin-bottom: 0 !important;
}

.is-admin-preview .tech-card__title {
    font-size: 1rem !important;
}

.is-admin-preview .table-standard {
    font-size: 0.75rem !important;
}

.is-admin-preview .specs-group-wrapper--full {
    grid-column: span 1 !important;
}

.is-admin-preview .performance-chart-container {
    max-height: 200px;
}

/* Logical Grouping for Technical Cards */
.specs-group-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    grid-column: span 1;
    break-inside: avoid;
    page-break-inside: avoid;
}

@media (max-width: 768px) {
    .specs-group-wrapper {
        gap: 0.75rem;
    }
}

.specs-group-wrapper--full {
    grid-column: 1 / -1 !important;
}

.text-danger-muted {
    color: #991b1b !important;
}

/* Materials Layout */
.materials-container {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
}

.materials-diagram-side {
    display: flex;
    justify-content: center;
    background: white;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.materials-diagram-side img {
    max-width: 100%;
    height: auto;
    max-height: 300px; /* Standardized with other diagrams */
    object-fit: contain;
}

.materials-table-wrapper {
    width: 100%;
    overflow-x: auto !important;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 1rem;
}

.materials-table-wrapper::-webkit-scrollbar {
    display: none;
}

.product-main-grid > *, .specs-grid > * { min-width: 0; }

.unit-toggle-container { display: flex; justify-content: flex-end; margin-bottom: 1rem; }
.unit-toggle { display: inline-flex; background: #f1f5f9; border-radius: 6px; padding: 3px; border: 1px solid var(--border-color); }
.unit-toggle-btn { padding: 6px 12px; border: none; background: transparent; font-size: 0.85rem; font-weight: 600; color: #64748b; cursor: pointer; border-radius: 4px; transition: background-color 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s; }
.unit-toggle-btn.active { background: white; color: var(--color-primary); box-shadow: 0 1px 2px rgba(0,0,0,0.1); }
.unit-toggle-btn:active { transform: scale(0.96); }

/* Mobile unit toggle - larger touch targets */
@media (max-width: 768px) {
    .unit-toggle {
        padding: 3px;
        border-radius: 8px;
    }

    .unit-toggle-btn {
        min-height: 44px;
        min-width: 48px;
        padding: 10px 16px;
        font-size: 0.85rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* When inside tech-card header, position below title on small screens */
    .tech-card__header {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .tech-card__header .unit-toggle {
        order: 1;
        margin-left: auto;
    }

    /* Hide unit-toggle when card is collapsed */
    .tech-card.is-collapsed .unit-toggle {
        display: none;
    }
}

/* Very small screens - full width toggle (bp-xs: 480px) */
@media (max-width: 480px) {
    .tech-card__header .unit-toggle {
        width: 100%;
        justify-content: center;
    }

    .unit-toggle-btn {
        flex: 1;
        min-height: 44px;
    }
}

.app-list { list-style: none; padding: 0; margin: 0; flex-grow: 1; }
.app-list li { position: relative; padding-left: 1.75rem; margin-bottom: 0.75rem; line-height: 1.5; font-size: 0.95rem; color: #374151; }
.app-list li::before { content: "→"; position: absolute; left: 0; color: var(--color-primary); font-weight: bold; }
.app-list--warning li { color: #b91c1c; font-weight: 600; }
.app-list--warning li::before { content: "⚠"; color: #dc2626; }

.contact-form-wrapper { 
    background-color: #f8fafc !important; 
    border-radius: 16px !important; 
    padding: 3rem !important; 
    border: 1px solid var(--border-color) !important;
    max-width: 800px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
}


/* === PRODUCTS PAGE LAYOUT === */
.products-page-layout {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    margin-top: 2rem;
}

/* === PRODUCTS SIDEBAR === */
.products-sidebar {
    width: 280px;
    flex-shrink: 0;
    position: sticky;
    top: 100px;
    padding: 1.75rem;
    background: var(--color-bg-white);
    /* Floating Panel Style */
    border: none;
    box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.1);
    clip-path: polygon(
        0 12px, 12px 0, 100% 0, 100% calc(100% - 12px),
        calc(100% - 12px) 100%, 0 100%
    );
    transition: box-shadow 0.3s ease;
}

.products-sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-primary-light));
    opacity: 0.9;
}

.products-sidebar .sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0 0 1.25rem 0;
    margin-bottom: 1.25rem;
    border-bottom: 1px dashed var(--border-color);
    background: none;
    border-left: none;
    border-right: none;
    border-top: none;
    width: 100%;
    cursor: pointer;
    text-align: left;
}

.products-sidebar .sidebar-header::before {
    content: '';
    display: block;
    width: 4px;
    height: 1.5rem;
    background: var(--color-accent);
    box-shadow: 0 0 10px rgba(2, 132, 199, 0.3);
    border-radius: 1px;
    flex-shrink: 0;
}

.products-sidebar h3 {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin: 0;
    flex-grow: 1;
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* "All Products" Separation */
.category-list > li:first-child {
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px dashed var(--border-color);
}

.category-list li {
    margin: 0;
}

.category-list a {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.6rem 0.75rem;
    color: var(--color-text-main);
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 4px;
    background: transparent;
    transition: color 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), background-color 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
}

/* Mechanical Marker */
.category-list a::before {
    content: '';
    width: 8px;
    height: 8px;
    border: 1.5px solid var(--border-color);
    background: transparent;
    flex-shrink: 0;
    transition: border-color 0.2s ease, transform 0.2s ease;
    border-radius: 1px;
}

.category-list a:hover {
    color: var(--color-primary);
    background: rgba(241, 245, 249, 0.5);
    transform: translateX(4px);
}

.category-list a:hover::before {
    border-color: var(--color-accent);
    transform: rotate(90deg);
}

.category-list a.active {
    color: var(--color-primary);
    font-weight: 600;
    background: linear-gradient(90deg, rgba(2, 132, 199, 0.08), transparent);
}

.category-list a.active::before {
    background: var(--color-accent);
    border-color: var(--color-accent);
    box-shadow: 0 0 8px rgba(2, 132, 199, 0.4);
    transform: scale(1.1);
}

.products-main {
    flex-grow: 1;
}

.contact-form-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .products-page-layout {
        flex-direction: column;
    }

    .products-sidebar {
        width: 100%;
        position: static;
        clip-path: polygon(
            0 8px, 8px 0, 100% 0, 100% calc(100% - 8px),
            calc(100% - 8px) 100%, 0 100%
        );
        padding: 1rem 1.25rem;
    }

    .products-sidebar .sidebar-header {
        padding-bottom: 0;
        margin-bottom: 0;
        border-bottom: none;
        min-height: 3rem; /* Improved touch target */
    }

    .products-sidebar.active .sidebar-header {
        padding-bottom: 1rem;
        margin-bottom: 1rem;
        border-bottom: 1px dashed var(--border-color);
    }

    .category-list a {
        padding: 0.625rem 0.875rem;
    }
}

/* === PRODUCTS PAGE HERO === */
.products-hero {
    background: var(--gradient-mesh), var(--color-primary);
    color: white;
    padding: 4rem 0 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.products-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--blueprint-grid);
    background-size: 40px 40px;
    opacity: 0.08;
    animation: blueprint-drift 20s linear infinite;
}

@keyframes blueprint-drift {
    from { transform: translate(0, 0); }
    to { transform: translate(40px, 40px); }
}

.products-hero h1 {
    color: white;
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 0.75rem;
}

.products-hero .lead {
    max-width: 600px;
    margin: 0 auto;
    opacity: 1;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.products-hero .eyebrow {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    opacity: 0.7;
    margin-bottom: 0.5rem;
}

/* === PRODUCT CARD TECHNICAL ENHANCEMENTS === */
/* Scan-line effect on hover */
.product-image-container {
    position: relative;
}

/* Secondary image reveal */
.product-image-secondary {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-image-secondary {
    opacity: 1;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Machined corners animation enhancement */
.product-card.machined-corners::before,
.product-card.machined-corners::after {
    transition: border-color 0.3s var(--ease-out-expo),
                width 0.3s var(--ease-out-expo),
                height 0.3s var(--ease-out-expo);
}

.product-card.machined-corners:hover::before,
.product-card.machined-corners:hover::after {
    width: 14px;
    height: 14px;
}

/* === TECHNICAL SECTION DIVIDER === */
.tech-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 2.5rem 0 2rem;
    color: var(--color-text-muted);
}

.tech-divider::before,
.tech-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--border-color) 15%,
        var(--border-color) 85%,
        transparent 100%);
}

.tech-divider__icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    border-radius: 3px;
}

.tech-divider__icon svg {
    width: 14px;
    height: 14px;
    stroke: var(--color-accent);
}

/* Products page mobile adjustments */
@media (max-width: 768px) {
    .products-hero {
        padding: 3rem 0 2rem;
    }

    .products-hero h1 {
        font-size: 1.75rem;
    }

    .product-image-secondary {
        display: none;
    }
}

/* === PRODUCTS CTA === */
.products-cta {
    padding: 4rem 0;
    background: var(--color-primary);
    position: relative;
    overflow: hidden;
}

.products-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--blueprint-grid);
    background-size: 60px 60px;
    opacity: 0.06;
}

.products-cta__inner {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.products-cta__text {
    color: white;
}

.products-cta__eyebrow {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.products-cta__text h2 {
    color: white;
    font-size: 1.75rem;
    line-height: 1.25;
    margin-bottom: 1rem;
    text-wrap: balance;
}

.products-cta__text p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    font-size: 0.95rem;
    max-width: 440px;
}

/* Contact info pills */
.products-cta__contact-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.products-cta__info-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

.products-cta__info-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s;
}

.products-cta__info-item a:hover {
    color: var(--color-accent);
}

.products-cta__info-item svg {
    color: var(--color-accent);
    flex-shrink: 0;
}

.products-cta__info-item--separator {
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, 0.15);
}

/* Form card — frosted glass */
.products-cta__form-card {
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg, 12px);
    padding: 2rem;
    position: relative;
}

.products-cta__form-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.18) 0%,
        rgba(255, 255, 255, 0.04) 50%,
        rgba(255, 255, 255, 0.1) 100%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.products-cta__form-card h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.products-cta__form-subtitle {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1.5rem;
    font-family: var(--font-mono);
}

/* Dark-theme form overrides inside CTA */
.products-cta__form-card .form-group label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    font-weight: 500;
}

.products-cta__form-card .form-control,
.products-cta__form-card .form-group input,
.products-cta__form-card .form-group textarea {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    border-radius: 8px;
}

.products-cta__form-card .form-control::placeholder,
.products-cta__form-card .form-group input::placeholder,
.products-cta__form-card .form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.products-cta__form-card .form-control:focus,
.products-cta__form-card .form-group input:focus,
.products-cta__form-card .form-group textarea:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-accent);
    outline: 2px solid rgba(2, 132, 199, 0.3);
    outline-offset: 1px;
    box-shadow: 0 0 20px rgba(2, 132, 199, 0.1);
}

/* Stacked form layout for narrow card */
.products-cta__form-card .form-grid--stacked {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.products-cta__form-card .form-grid--2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.products-cta__form-card .form-group {
    margin-bottom: 1rem;
}

.products-cta__form-card textarea {
    min-height: 80px;
    resize: vertical;
}

/* Submit button — full width inside card */
.products-cta__form-card .btn-primary {
    width: 100%;
    margin-top: 0.5rem;
    padding: 0.875rem 1.5rem;
}

/* Success panel on dark background */
.products-cta__form-card .form-success-panel__title {
    color: white;
}

.products-cta__form-card .form-success-panel__description {
    color: rgba(255, 255, 255, 0.7);
}

.products-cta__form-card .form-success-panel__urgent {
    color: rgba(255, 255, 255, 0.6);
}

.products-cta__form-card .form-success-panel__urgent a {
    color: var(--color-accent);
}

.products-cta__form-card .btn-outline {
    color: rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 255, 255, 0.2);
}

.products-cta__form-card .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

@media (max-width: 768px) {
    .products-cta {
        padding: 3rem 0;
    }

    .products-cta__inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .products-cta__text {
        text-align: center;
    }

    .products-cta__text p {
        max-width: none;
        margin: 0 auto;
    }

    .products-cta__contact-info {
        justify-content: center;
    }

    .products-cta__form-card .form-grid--2col {
        grid-template-columns: 1fr;
    }
}

/* === PRODUCTS INFO SECTION === */
.products-info-section {
    padding: 4rem 0;
    background: linear-gradient(180deg, var(--color-bg-body) 0%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
}

.products-info-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--blueprint-grid);
    background-size: 60px 60px;
    opacity: 0.03;
}

.products-info-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    position: relative;
}

.products-info-header h2 {
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.products-info-header .lead {
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

.products-info-header .tech-divider {
    margin-bottom: 1.5rem;
}

.products-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    position: relative;
}

.info-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2rem;
    position: relative;
    transition: border-color 0.3s var(--ease-out-expo), box-shadow 0.3s var(--ease-out-expo), transform 0.3s var(--ease-out-expo);
}

.info-card:hover {
    border-color: var(--color-accent);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.info-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.1) 0%, rgba(2, 132, 199, 0.05) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.info-card__icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--color-accent);
}

.info-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.info-card__intro {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.info-card__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-card__list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: var(--color-text);
    line-height: 1.5;
}

.info-card__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 6px;
    height: 6px;
    background: var(--color-accent);
    border-radius: 1px;
    transform: rotate(45deg);
}

.info-card__list li:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .products-info-section {
        padding: 3rem 0;
    }

    .products-info-grid {
        grid-template-columns: 1fr;
    }

    .info-card {
        padding: 1.5rem;
    }
}


/* === TECHNICAL DATA COMPONENTS (Product Page) === */
.tech-card {
    background: var(--color-bg-white);
    border-radius: var(--radius-md);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    padding: 0 !important;
    border: 1px solid var(--border-color);
    transition: box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
    position: relative;
    
    /* Reveal Animation */
    animation: reveal-up 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    opacity: 0;
    transform: translateY(20px);
}

/* Shimmering Loading State */
.tech-card.is-loading::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.6) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    animation: shimmer 1.5s infinite;
    z-index: 10;
    pointer-events: none;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(50%); }
}

.tech-card::before,
.tech-card::after {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    border-color: rgba(2, 132, 199, 0.4);
    border-style: solid;
    pointer-events: none;
    z-index: 5;
}

.tech-card::before { top: 6px; left: 6px; border-width: 1px 0 0 1px; }
.tech-card::after { bottom: 6px; right: 6px; border-width: 0 1px 1px 0; }

.tech-card:hover::before { border-color: var(--color-accent); }
.tech-card:hover::after { border-color: var(--color-accent); }

@keyframes reveal-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Staggered Delays for Grid-based Tech Cards */
.specs-grid > .specs-group-wrapper:nth-child(1) .tech-card { animation-delay: 0.1s; }
.specs-grid > .specs-group-wrapper:nth-child(2) .tech-card { animation-delay: 0.15s; }
.specs-grid > .specs-group-wrapper:nth-child(3) .tech-card { animation-delay: 0.2s; }
.specs-grid > .specs-group-wrapper:nth-child(4) .tech-card { animation-delay: 0.25s; }
.specs-grid > .specs-group-wrapper:nth-child(5) .tech-card { animation-delay: 0.3s; }
.specs-grid > .specs-group-wrapper:nth-child(6) .tech-card { animation-delay: 0.35s; }
.specs-grid > .specs-group-wrapper:nth-child(n+7) .tech-card { animation-delay: 0.4s; }

.tech-card .table-responsive {
    overflow-x: auto !important;
    position: relative;
    /* Minimalist Scrollbar for Firefox */
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
    
    /* Scroll Shadows Logic: Creates gradients that indicate more content */
    background: 
        linear-gradient(to right, white 30%, rgba(255,255,255,0)),
        linear-gradient(to right, rgba(255,255,255,0), white 70%) 0 100%,
        radial-gradient(farthest-side at 0 50%, rgba(0,0,0,0.1), rgba(0,0,0,0)),
        radial-gradient(farthest-side at 100% 50%, rgba(0,0,0,0.1), rgba(0,0,0,0)) 0 100%;
    background-repeat: no-repeat;
    background-color: white;
    background-size: 40px 100%, 40px 100%, 14px 100%, 14px 100%;
    background-attachment: local, local, scroll, scroll;
}

/* Minimalist Scrollbar for Chrome/Safari */
.tech-card .table-responsive::-webkit-scrollbar {
    height: 5px; /* Very thin */
    display: block !important; /* Re-enable but style */
}

.tech-card .table-responsive::-webkit-scrollbar-track {
    background: transparent;
}

.tech-card .table-responsive::-webkit-scrollbar-thumb {
    background-color: #cbd5e1; /* Slate 300 */
    border-radius: 20px;
    border: 1px solid transparent; /* Padding effect */
}

.tech-card .table-responsive::-webkit-scrollbar-thumb:hover {
    background-color: var(--color-accent); /* Joval Blue on hover */
}

.tech-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    transform: translateY(-2px);
    border-color: var(--color-accent);
}

/* Loading States (Shimmer/Pulse) */
.tech-card.is-loading {
    pointer-events: none;
    position: relative;
    overflow: hidden;
    opacity: 0.7;
    animation: tech-card-pulse 1.5s ease-in-out infinite;
}

.tech-card.is-loading::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(2, 132, 199, 0.05) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    animation: tech-card-shimmer 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    z-index: 10;
}

@keyframes tech-card-pulse {
    0% { opacity: 0.7; }
    50% { opacity: 0.5; }
    100% { opacity: 0.7; }
}

@keyframes tech-card-shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(50%); }
}

.tech-card__header {
    background-color: #f8fafc;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.tech-card__title {
    margin-bottom: 0 !important;
    font-size: 1rem !important;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    font-weight: 700 !important;
    color: var(--color-primary) !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    width: 100%;
}

.tech-card__title-text {
    /* Standard flow */
}

.tech-card__model {
    font-family: var(--font-main);
    color: var(--color-accent) !important;
    font-weight: 700 !important;
    line-height: 1;
    font-size: 0.9rem !important;
    background: rgba(2, 132, 199, 0.05);
    padding: 4px 8px;
    border-radius: 2px;
    border: 1px solid rgba(2, 132, 199, 0.1);
}

.tech-card__title::before {
    content: "";
    display: block;
    width: 3px;
    height: 16px;
    background: var(--color-accent);
    border-radius: 2px;
}

.tech-card__content {
    padding: 1.5rem;
}

.tech-card__footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid #f1f5f9;
    background-color: #fafafa;
    display: flex;
    justify-content: center;
}

.table-standard,
.performance-table-horizontal,
.dimensions-table-refined {
    margin: 0 auto !important; /* Remove top/bottom margin inside cards */
    border: none !important; /* Use card border */
}

.table-standard thead th {
    background-color: #f1f5f9 !important;
    color: #475569 !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid var(--border-color) !important;
}

.dimensions-table-refined tbody td {
    padding: 0.6rem 1rem !important; /* More compact dimension tables */
}

.dimensions-diagram {
    background: #fff;
    padding: 2rem !important;
    border-bottom: none;
}

.dimensions-diagram img {
    max-height: 300px !important;
    margin: 0 auto;
    object-fit: contain;
}

.table-note-wrapper {
    padding: 1rem 1.5rem 0;
    margin-bottom: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.table-interaction-note {
    font-size: 0.75rem !important;
    color: var(--color-text-muted) !important;
    font-style: italic;
    margin: 0 !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.table-interaction-note::before {
    content: "💡";
    font-style: normal;
}

.clear-selection-btn {
    font-size: 0.75rem;
    color: var(--color-accent);
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    text-decoration: underline;
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
}

.clear-selection-btn.is-visible {
    opacity: 1;
    pointer-events: auto;
}

/* Sticky Column Shadow for depth */
.sticky-col {
    position: sticky !important;
    left: 0 !important;
    z-index: 15 !important; /* Increased to stay above standard content */
    background-color: #fff !important;
    border-right: 1px solid var(--border-color);
    box-shadow: 4px 0 12px -2px rgba(0,0,0,0.1); /* Stronger shadow for depth */
    transition: background-color 0.2s, border-right-color 0.2s;
}

@media print {
    /* Override CSS variables at source to kill gradient */
    :root {
        --blueprint-grid: none !important;
        --gradient-mesh: none !important;
        --gradient-mesh-overlay: none !important;
        --color-bg-body: #fff !important;
    }

    /* Nuclear: kill ALL backgrounds on ALL elements */
    *, *::before, *::after {
        background: transparent none !important;
        background-image: none !important;
        background-attachment: scroll !important;
    }

    html, body {
        background: #fff !important;
        background-color: #fff !important;
        background-image: none !important;
        background-attachment: scroll !important;
        background-size: initial !important;
    }

    .table-note-wrapper { display: none !important; }
    .sticky-col { box-shadow: none !important; }

    /* Hide grain effects on print */
    .grain-effect,
    .grain-overlay {
        display: none !important;
    }

    .site-footer::before,
    .hero:not(.home-hero)::after,
    .selector-hero::after,
    .products-hero::after {
        display: none !important;
    }
}

/* Standardized Technical Tables (Dimensions, Performance & Generic) */
.table-standard,
.performance-table-horizontal,
.dimensions-table-refined,
.tech-table {
    width: 100% !important;
    max-width: 100% !important;
    margin: 1.5rem auto !important;
    border-collapse: separate !important; /* Required for sticky borders to work correctly */
    border-spacing: 0 !important;
    font-size: 0.8rem !important; /* Strictly 0.8rem per memory */
    table-layout: auto !important;
    /* overflow: hidden !important; Removed to fix sticky columns */
    display: table; /* Ensure it behaves as a table for margin auto */
}

.table-standard th, .table-standard td,
.performance-table-horizontal th, .performance-table-horizontal td,
.dimensions-table-refined th, .dimensions-table-refined td,
.tech-table th, .tech-table td {
    padding: 0.75rem 1rem !important; 
    border: 1px solid #e2e8f0 !important; /* Slate 200 Prominent Borders */
    text-align: center !important; /* Center aligned columns per memory */
    color: var(--color-text-main) !important;
    white-space: normal;
    background-color: #fff; /* Ensure cells have background for sticky overlap */
}

/* Standard Technical Table Defaults (Design Decision: Regular Font) */
.table-standard td,
.tech-table td,
.materials-table td {
    font-family: var(--font-main);
    font-size: 0.85rem !important;
    letter-spacing: normal;
}

/* Technical Data Typography Overrides (Dimensions and Performance) */
.performance-table-horizontal td,
.dimensions-table-refined td {
    font-family: var(--font-mono) !important;
    font-size: 0.9rem !important;
    letter-spacing: 0.02em;
}

/* Preserve main font for headers */
.table-standard th,
.performance-table-horizontal th,
.dimensions-table-refined th,
.tech-table th {
    font-family: var(--font-main);
    font-size: 0.85rem !important;
}

/* Sticky Header Logic */
.table-standard thead th,
.performance-table-horizontal thead th,
.dimensions-table-refined thead th {
    position: sticky !important;
    top: 0;
    z-index: 10;
    background-color: #f8fafc !important; /* Slate 50 background */
    border-bottom: 2px solid #cbd5e1 !important; /* Slate 300 header accent */
}

.sticky-col strong {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* The "Corner" - intersection of sticky header and sticky column */
thead th.sticky-col {
    z-index: 12 !important;
}

.table-standard th,
.performance-table-horizontal th,
.dimensions-table-refined th,
.tech-table th {
    background-color: #f8fafc !important; 
    color: var(--color-primary) !important;
    font-weight: 700 !important;
}

/* Restored Hover Animations */
.table-standard tbody tr,
.performance-table-horizontal tbody tr,
.dimensions-table-refined tbody tr,
.tech-table tbody tr {
    transition: background-color 0.2s ease;
}

/* Subtle Zebra Striping - improves row tracking across wide tables */
.table-standard tbody tr:nth-child(even):not(.table-standard__spacer),
.performance-table-horizontal tbody tr:nth-child(even):not(.table-standard__spacer),
.dimensions-table-refined tbody tr:nth-child(even):not(.table-standard__spacer),
.tech-table tbody tr:nth-child(even) {
    background-color: rgba(248, 250, 252, 0.6); /* Slate-50 at 60% - barely perceptible */
}

.table-standard tbody tr:nth-child(even):not(.table-standard__spacer) td,
.performance-table-horizontal tbody tr:nth-child(even):not(.table-standard__spacer) td,
.dimensions-table-refined tbody tr:nth-child(even):not(.table-standard__spacer) td,
.tech-table tbody tr:nth-child(even) td {
    background-color: inherit;
}

/* Sticky column zebra - matches row stripe */
.table-standard tbody tr:nth-child(even):not(.table-standard__spacer) .sticky-col,
.performance-table-horizontal tbody tr:nth-child(even):not(.table-standard__spacer) .sticky-col,
.dimensions-table-refined tbody tr:nth-child(even):not(.table-standard__spacer) .sticky-col {
    background-color: #f9fafb !important; /* Slightly more opaque for sticky overlap */
}

.table-standard__spacer {
    height: 12px !important;
    background-color: #f8fafc !important; /* Slate 50 */
    background-image: radial-gradient(#cbd5e1 1px, transparent 1px) !important; /* Dotted Technical Grid */
    background-size: 4px 4px !important;
    border: none !important;
    pointer-events: none !important;
    opacity: 0.5;
}

.table-standard__spacer td {
    border: none !important;
    padding: 0 !important;
}

/* Muted Separator Column - visual divider between motor details and flow data */
.table-standard__cell--muted {
    width: 1.25rem !important;
    min-width: 1.25rem !important;
    max-width: 1.25rem !important;
    padding: 0 !important;
    background-color: #f1f5f9 !important; /* Slate 100 */
    border-left: 1px solid #cbd5e1 !important;
    border-right: 1px solid #cbd5e1 !important;
    position: relative;
}

/* Vertical Label Container (e.g., "Hm (m)") */
.table-standard__cell--v-label {
    vertical-align: middle;
    text-align: center !important;
    padding: 0 0.25rem !important;
}

.table-standard__v-label {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    font-size: 0.65rem;
    font-weight: 600;
    color: #64748b; /* Slate 500 */
    letter-spacing: 0.03em;
    text-transform: uppercase;
    white-space: nowrap;
}

/* Compact Table Mode - tighter cells for dense numeric data */
.table-standard.compact th,
.table-standard.compact td,
.performance-table-horizontal.compact th,
.performance-table-horizontal.compact td,
.dimensions-table-refined.compact th,
.dimensions-table-refined.compact td {
    padding: 0.35rem 0.4rem !important;
    font-size: 0.75rem !important;
    line-height: 1.3;
}

.table-standard.compact thead th,
.performance-table-horizontal.compact thead th,
.dimensions-table-refined.compact thead th {
    padding: 0.5rem 0.4rem !important;
    font-size: 0.7rem !important;
}

.table-standard.compact .sticky-col,
.performance-table-horizontal.compact .sticky-col,
.dimensions-table-refined.compact .sticky-col {
    padding: 0.35rem 0.6rem !important;
    font-size: 0.75rem !important;
}

.table-standard.compact .sticky-col strong,
.performance-table-horizontal.compact .sticky-col strong,
.dimensions-table-refined.compact .sticky-col strong {
    font-size: 0.75rem;
}

/* Muted column should not have hover effect */
.table-standard__cell--muted:hover,
.table-standard__cell--v-label:hover {
    background-color: #f1f5f9 !important;
    box-shadow: none !important;
    cursor: default !important;
}

.table-standard tbody tr:hover,
.performance-table-horizontal tbody tr:hover,
.dimensions-table-refined tbody tr:hover,
.tech-table tbody tr:hover {
    background-color: #f1f5f9 !important; /* Subtle Slate 100 hover */
}

/* Precision Cell Focus */
.table-standard td:hover,
.performance-table-horizontal td:hover,
.dimensions-table-refined td:hover,
.tech-table td:hover {
    background-color: #e2e8f0 !important; /* Slate 200 */
    color: var(--color-accent) !important;
    font-weight: 500;
    box-shadow: inset 0 0 0 1px var(--color-accent);
    cursor: crosshair;
}

/* Selected Row State (Click to Highlight) */
.table-standard tbody tr.is-selected td,
.performance-table-horizontal tbody tr.is-selected td,
.dimensions-table-refined tbody tr.is-selected td,
.tech-table tbody tr.is-selected td {
    background-color: #cbd5e1 !important; /* Slate 300 for clearer selection */
    border-color: #94a3b8 !important; /* Darker border for selected items */
}

/* Synchronized Hover State (via Chart or Table hover) */
.table-standard tbody tr.is-hovered td,
.performance-table-horizontal tbody tr.is-hovered td,
.dimensions-table-refined tbody tr.is-hovered td {
    background-color: #e2e8f0 !important; /* Slate 200 */
}

.table-standard tbody tr.is-hovered .sticky-col,
.performance-table-horizontal tbody tr.is-hovered .sticky-col,
.dimensions-table-refined tbody tr.is-hovered .sticky-col {
    background-color: #e2e8f0 !important;
}

/* Ensure sticky columns in selected rows match exactly */
.table-standard tbody tr.is-selected .sticky-col,
.performance-table-horizontal tbody tr.is-selected .sticky-col,
.dimensions-table-refined tbody tr.is-selected .sticky-col {
    background-color: #cbd5e1 !important;
    border-right-color: #64748b !important; /* Distinct anchor border */
}

/* Selected from Solar Calculator - prominent blue highlight */
.table-standard tbody tr.is-selected.from-calculator td,
.performance-table-horizontal tbody tr.is-selected.from-calculator td,
.dimensions-table-refined tbody tr.is-selected.from-calculator td {
    background-color: #dbeafe !important; /* Blue 100 */
    border-top: 2px solid #3b82f6 !important;
    border-bottom: 2px solid #3b82f6 !important;
}

.table-standard tbody tr.is-selected.from-calculator .sticky-col,
.performance-table-horizontal tbody tr.is-selected.from-calculator .sticky-col,
.dimensions-table-refined tbody tr.is-selected.from-calculator .sticky-col {
    background-color: #dbeafe !important;
    border-left: 4px solid #3b82f6 !important;
    font-weight: 700;
}

.table-standard tbody tr.is-selected.from-calculator td:last-child,
.performance-table-horizontal tbody tr.is-selected.from-calculator td:last-child,
.dimensions-table-refined tbody tr.is-selected.from-calculator td:last-child {
    border-right: 2px solid #3b82f6 !important;
}

/* Force first column to keep text on one line */
.table-standard td:first-child,
.performance-table-horizontal td:first-child,
.dimensions-table-refined td:first-child {
    white-space: nowrap !important;
    font-weight: 600;
}

/* Modifier for full-width technical cards */
.tech-card--full-width,
.tech-card--dimensions,
.tech-card--materials {
    grid-column: 1 / -1 !important;
    width: 100% !important;
}

/* Materials Table */
.materials-diagram-side {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 1rem;
}

/* Ensure other half-width cards strictly occupy one column */
.specs-grid > .tech-card:not(.tech-card--full-width):not(.tech-card--dimensions):not(.tech-card--materials) {
    grid-column: span 1 !important;
    width: 100% !important;
}

@media (min-width: 768px) {
    .specs-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

/* Diagram inside tech-card */
.dimensions-diagram {
    width: 100%;
    padding: 1.5rem 1.5rem 0 !important;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dimensions-diagram img {
    max-width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: contain;
}

.tech-card:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Mobile Table Responsiveness */
@media (max-width: 768px) {
    /* Restore scrolling but hide the scrollbar visual element to satisfy "NO scrollbars" rule */
    .table-standard, 
    .performance-table-horizontal, 
    .dimensions-table-refined {
        display: block !important;
        width: 100% !important;
        margin: 1rem 0 !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap !important;
        font-size: 0.75rem !important;
        /* Hide scrollbars */
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none;  /* IE/Edge */
    }

    .table-standard::-webkit-scrollbar,
    .performance-table-horizontal::-webkit-scrollbar,
    .dimensions-table-refined::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }

    /* Standard tech-table (key-value pairs) can still stack */
    .tech-table, .tech-table tbody, .tech-table tr, .tech-table th, .tech-table td {
        display: block;
        width: 100%;
    }
    .tech-table th { background-color: #f8fafc; border-bottom: none; padding: 0.8rem 0.5rem 0.2rem; text-align: left !important; }
    .tech-table td { padding: 0.2rem 0.5rem 0.8rem; border-top: none; text-align: left !important; }

    /* Enforce 1:1 aspect ratio for performance chart on mobile */
    .performance-chart-container {
        width: 100%;
        aspect-ratio: 1 / 1;
        min-height: unset; /* Let aspect-ratio control height */
        overflow: visible; /* Prevent clipping */
        margin: 0;
        padding: 0;
    }

    /* Full-bleed chart on mobile - remove card padding around chart */
    .tech-card > .performance-chart-container {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
    }

    /* Reset dimensions when collapsed */
    .tech-card.is-collapsed .performance-chart-container {
        min-height: 0;
        aspect-ratio: unset;
        height: 0;
    }

    /* Adjust cards for narrow screens */
    .tech-card {
        min-width: 100% !important;
        flex: 1 1 100% !important;
        overflow: visible !important; /* Allow internal scrolling tables to be fully visible */
    }

    .contact-form-wrapper {
        padding: 1.25rem !important;
        margin-top: 2rem !important;
        border-radius: 0.5rem !important;
    }

    .section-padding {
        padding: 2rem 0 !important;
    }
}

/* Product Sticky Sub-Navigation */
.product-sticky-nav {
    position: sticky;
    top: var(--header-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    z-index: 90;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 0; /* Margin handled by section padding */
    padding: 0.25rem 0;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.product-sticky-nav__list {
    display: flex;
    justify-content: flex-start; /* Align with container start */
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2.5rem;
    position: relative;
}

.nav-indicator {
    position: absolute;
    bottom: 0;
    height: 2px;
    background: var(--color-accent);
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1), width 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    pointer-events: none;
    opacity: 0;
}

.product-sticky-nav a {
    color: var(--color-text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    font-family: var(--font-main); /* Reverted to Primary Font */
    padding: 0.75rem 0;
    position: relative;
    transition: color 0.2s ease, opacity 0.2s ease;
    text-decoration: none;
    opacity: 0.7;
    z-index: 2;
}

.product-sticky-nav a:hover,
.product-sticky-nav a.active {
    color: var(--color-primary);
    opacity: 1;
}

.product-sticky-nav .nav-cta {
    margin-left: auto; /* Push CTA to the right */
    border: 1px solid var(--color-accent);
    background: transparent;
    color: var(--color-accent) !important;
    padding: 0.4rem 1rem;
    border-radius: 4px;
    font-size: 0.8rem;
    opacity: 1;
}

.product-sticky-nav .nav-cta:hover {
    background: var(--color-accent);
    color: white !important;
}

@media (max-width: 768px) {
    .product-sticky-nav {
        top: var(--header-height);
        padding: 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        border-bottom: 1px solid var(--border-color);
        position: relative;
    }

    /* Scroll indicators - fade gradients showing more content */
    .product-sticky-nav::before,
    .product-sticky-nav::after {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        width: 32px;
        pointer-events: none;
        z-index: 10;
        opacity: 0;
        transition: opacity 0.2s ease;
    }

    .product-sticky-nav::before {
        left: 0;
        background: linear-gradient(90deg, rgba(255,255,255,0.95) 0%, transparent 100%);
    }

    .product-sticky-nav::after {
        right: 0;
        background: linear-gradient(-90deg, rgba(255,255,255,0.95) 0%, transparent 100%);
        opacity: 1; /* Show right indicator by default (more content to the right) */
    }

    /* Hide indicators when scrolled to edges (controlled via JS) */
    .product-sticky-nav.scrolled-start::before {
        opacity: 0;
    }

    .product-sticky-nav.scrolled-end::after {
        opacity: 0;
    }

    .product-sticky-nav.scrolled-middle::before,
    .product-sticky-nav.scrolled-middle::after {
        opacity: 1;
    }

    .product-sticky-nav::-webkit-scrollbar {
        display: none;
    }

    .product-sticky-nav .container {
        padding: 0;
        max-width: none;
    }

    .product-sticky-nav__list {
        display: flex;
        justify-content: flex-start;
        gap: 0;
        width: max-content;
        min-width: 100%;
        padding: 0 1rem;
    }
    
    .product-sticky-nav li {
        scroll-snap-align: start;
    }

    .product-sticky-nav a {
        display: block;
        padding: 0.75rem 1.25rem;
        border-bottom: 2px solid transparent;
        white-space: nowrap;
    }
    
    .product-sticky-nav .nav-cta {
        margin-left: 0;
        color: var(--color-accent);
        font-weight: 700;
    }
}

/* Joval Chart External Tooltip */
.performance-chart-container {
    position: relative;
    /* Ensure tooltips can be positioned absolutely within */
}

/* Chart Loading Skeleton */
.chart-skeleton {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    gap: 0.5rem;
    background: linear-gradient(180deg, rgba(248, 250, 252, 0) 0%, rgba(248, 250, 252, 0.8) 100%);
    pointer-events: none;
    z-index: 1;
}

.chart-skeleton .skeleton-line {
    height: 2px;
    background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 50%, #e2e8f0 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s ease-in-out infinite;
    border-radius: 1px;
}

.chart-skeleton .skeleton-line:nth-child(1) { width: 85%; }
.chart-skeleton .skeleton-line:nth-child(2) { width: 60%; }
.chart-skeleton .skeleton-line:nth-child(3) { width: 75%; }

@keyframes skeleton-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

@media (prefers-reduced-motion: reduce) {
    .chart-skeleton .skeleton-line {
        animation: none;
        background: #e2e8f0;
    }
}

/* Hide skeleton when chart is rendered */
.performance-chart-container:has(canvas.chartjs-render-monitor) .chart-skeleton,
.performance-chart-container.chart-loaded .chart-skeleton {
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

/* Legend Touch Target Enhancement (44px minimum for accessibility) */
.performance-chart-container .chartjs-legend li,
.performance-chart-container + .chartjs-legend li {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 8px 12px;
    cursor: pointer;
}

/* Fallback for Chart.js built-in legend */
.performance-chart-container canvas + div[class*="legend"] li {
    min-height: 44px;
    padding: 8px 12px;
}

/* Chart canvas full width */
.performance-chart-container canvas {
    width: 100% !important;
    max-width: 100%;
    display: block;
}

.joval-chart-tooltip {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 4px;
    box-shadow: 0 10px 15px -3px rgba(15, 23, 42, 0.1);
    color: var(--color-text-main);
    font-family: var(--font-main);
    font-size: 0.8rem;
    padding: 0.75rem;
    pointer-events: none;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 20;
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
    min-width: 160px;
    backdrop-filter: blur(12px) saturate(180%);
    border-left: 3px solid var(--color-accent);
}

.joval-chart-tooltip strong {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-primary);
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
    padding-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.tooltip-color-indicator {
    display: inline-block !important;
    width: 8px !important;
    height: 8px !important;
    border-radius: 2px !important; /* Square/Machined */
    flex-shrink: 0 !important;
}

.joval-chart-tooltip .tooltip-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.35rem;
}

.joval-chart-tooltip .tooltip-label {
    color: var(--color-text-muted);
    font-size: 0.75rem;
    font-weight: 500;
}

.joval-chart-tooltip .tooltip-value {
    color: var(--color-primary);
    font-weight: 600;
    font-family: var(--font-mono) !important;
    font-size: 0.75rem;
}

/* Utility: No Scrollbar (for PDF/Print) */
.no-scrollbar {
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

/* Unit Conversion Gauge Animation */
.unit-flicker {
    animation: gauge-update 0.4s ease-out;
}

@keyframes gauge-update {
    0% { opacity: 1; filter: blur(0); }
    20% { opacity: 0.5; filter: blur(1px); transform: scale(1.02); }
    40% { opacity: 0.8; filter: blur(0); transform: scale(0.98); }
    60% { opacity: 0.4; filter: blur(1px); }
    100% { opacity: 1; filter: blur(0); transform: scale(1); }
}

/* Print & PDF Legibility Overrides */
/* Moved to public/css/print-media.css */





/* === SELECTOR PAGE === */
.selector-hero {
    background: var(--gradient-mesh), var(--color-primary);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.selector-box {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: -4rem auto 0; /* Overlap hero */
    position: relative;
    z-index: 10;
    border: 1px solid #e2e8f0;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 1.5rem;
    align-items: end;
}

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

.selector-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.selector-input-group input {
    width: 100%;
    padding: 1rem 3.5rem 1rem 1.25rem;
    border: 2px solid #e2e8f0;
    border-radius: 4px;
    font-size: 1.1rem;
    font-family: var(--font-main);
    font-weight: 600;
    color: var(--color-primary);
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, outline 0.2s ease;
    background: #f8fafc;
}

.selector-input-group input:focus {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
    border-color: var(--color-accent);
    background: white;
    box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.1), inset 0 2px 4px rgba(0,0,0,0.02);
}

.selector-input-group .unit {
    position: absolute;
    right: 1.25rem;
    color: #64748b;
    font-weight: 700;
    font-family: var(--font-main);
    font-size: 0.75rem;
    text-transform: uppercase;
    pointer-events: none;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.selector-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.selector-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.15);
}

.selector-card .card-header {
    padding: 1rem;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #f8fafc;
}

.product-thumb {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.product-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    color: #0f172a;
}

.product-meta {
    font-size: 0.85rem;
    color: #64748b;
}

.selector-card .card-body {
    padding: 1rem;
}

.performance-summary {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.metric {
    display: flex;
    flex-direction: column;
}

.metric .label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #94a3b8;
    letter-spacing: 0.05em;
}

.metric .value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
}

.chart-container {
    height: 160px;
    width: 100%;
}

.text-success { color: #22c55e !important; }
.text-warning { color: #f59e0b !important; }
.text-danger { color: #ef4444 !important; }

.fade-in-up {
    animation: fadeInUp 0.5s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #e2e8f0;
    border-top-color: #0f172a;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

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

.d-none {
    display: none !important;
}

/* === SELECTOR PAGE === */
.selector-hero {
    background: var(--gradient-mesh), var(--color-primary);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.selector-box {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: -4rem auto 0; /* Overlap hero */
    position: relative;
    z-index: 10;
    border: 1px solid #e2e8f0;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 1.5rem;
    align-items: end;
}

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

.selector-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.selector-input-group input {
    width: 100%;
    padding: 1rem 3.5rem 1rem 1.25rem;
    border: 2px solid #e2e8f0;
    border-radius: 4px;
    font-size: 1.1rem;
    font-family: var(--font-main);
    font-weight: 600;
    color: var(--color-primary);
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, outline 0.2s ease;
    background: #f8fafc;
}

.selector-input-group input:focus {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
    border-color: var(--color-accent);
    background: white;
    box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.1), inset 0 2px 4px rgba(0,0,0,0.02);
}

.selector-input-group .unit {
    position: absolute;
    right: 1.25rem;
    color: #64748b;
    font-weight: 700;
    font-family: var(--font-main);
    font-size: 0.75rem;
    text-transform: uppercase;
    pointer-events: none;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.selector-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.selector-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.15);
}

.selector-card .card-header {
    padding: 1rem;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #f8fafc;
}

.product-thumb {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.product-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    color: #0f172a;
}

.product-meta {
    font-size: 0.85rem;
    color: #64748b;
}

.selector-card .card-body {
    padding: 1rem;
}

.performance-summary {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.metric {
    display: flex;
    flex-direction: column;
}

.metric .label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #94a3b8;
    letter-spacing: 0.05em;
}

.metric .value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
}

.chart-container {
    height: 160px;
    width: 100%;
}

.text-success { color: #22c55e !important; }
.text-success--prominent { color: #166534 !important; font-weight: 600; }
.text-warning { color: #f59e0b !important; }
.text-danger { color: #ef4444 !important; }

.fade-in-up {
    animation: fadeInUp 0.5s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #e2e8f0;
    border-top-color: #0f172a;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

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

.d-none {
    display: none !important;
}

.variation-badge { display: inline-flex; align-items: center; background: #0ea5e9; color: white; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; padding: 2px 8px; border-radius: 4px; vertical-align: middle; margin-left: 12px; letter-spacing: 0.05em; box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
.variation-banner { background: #0f172a; color: white; border-radius: 8px; padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; border-left: 4px solid #0ea5e9; }
.variation-banner__info { display: flex; align-items: center; gap: 16px; }
.variation-banner__icon { background: rgba(14, 165, 233, 0.2); color: #0ea5e9; padding: 8px; border-radius: 50%; display: flex; }
.variation-banner__label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: #94a3b8; display: block; margin-bottom: 2px; }
.variation-banner__title { font-weight: 600; font-size: 1rem; }
.btn-variation-exit { background: rgba(255,255,255,0.1); color: white; border: 1px solid rgba(255,255,255,0.2); padding: 6px 12px; font-size: 0.8rem; border-radius: 4px; transition: background-color 0.2s, border-color 0.2s; text-decoration: none !important; }
.btn-variation-exit:hover { background: rgba(255,255,255,0.2); border-color: white; }
.is-variation .tech-card { border-color: rgba(14, 165, 233, 0.3) !important; }
.is-variation .tech-card__header { background-color: #f0f9ff !important; }


/* Premium Polish for Variations */
.variation-badge {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.2);
    padding: 4px 10px;
    border-radius: 6px;
    font-variant-numeric: tabular-nums;
}

.variation-banner {
    background-color: #0f172a;
    background-image: radial-gradient(#1e293b 1px, transparent 1px);
    background-size: 20px 20px; /* Technical Grid Pattern */
    border: 1px solid #1e293b;
    border-left: 4px solid #0ea5e9;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.variation-banner::after {
    content: 'PRO CONF';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 4rem;
    font-weight: 900;
    color: rgba(255,255,255,0.03);
    pointer-events: none;
    letter-spacing: -0.05em;
}

.variation-banner__icon {
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.3);
    border: 1px solid rgba(14, 165, 233, 0.3);
}

.btn-variation-exit {
    backdrop-filter: blur(4px);
    font-weight: 600;
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

/* Subtle marker for technical cards in Pro Mode */
.is-variation .tech-card__header::after {
    content: 'VALIDATED SPEC';
    font-size: 0.6rem;
    font-weight: 800;
    color: #0ea5e9;
    background: #f0f9ff;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: auto;
    border: 1px solid rgba(14, 165, 233, 0.2);
    letter-spacing: 0.05em;
}


/* --- ULTRA PREMIUM VARIATION OVERHAUL --- */

.variation-badge {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    color: white;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 50px; /* Pill shape */
    letter-spacing: 0.08em;
    border: 1px solid rgba(255,255,255,0.3);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 15px;
    vertical-align: middle;
}

.variation-badge--permanent {
    background: linear-gradient(135deg, #64748b 0%, #475569 100%);
    border-color: rgba(255,255,255,0.1);
    box-shadow: 0 4px 12px rgba(100, 116, 139, 0.2);
}

.variation-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 8px #fff;
    animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
    100% { opacity: 1; transform: scale(1); }
}

.variation-banner {
    background: #0f172a;
    background-image: 
        linear-gradient(90deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.8) 100%),
        radial-gradient(circle at 2px 2px, rgba(255,255,255,0.05) 1px, transparent 0);
    background-size: 100% 100%, 24px 24px;
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-left: 5px solid #0ea5e9;
    border-radius: 16px;
    padding: 28px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 95;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.variation-banner::before {
    content: 'AUTHORIZED';
    position: absolute;
    left: 20%;
    top: 50%;
    transform: translateY(-50%) rotate(-5deg);
    font-size: 6rem;
    font-weight: 900;
    color: rgba(255,255,255,0.02);
    pointer-events: none;
    white-space: nowrap;
}

.variation-banner__info {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}

.variation-banner__icon {
    background: #0ea5e9;
    color: #0f172a;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    margin-right: 24px;
    box-shadow: 0 0 25px rgba(14, 165, 233, 0.4);
    flex-shrink: 0;
}

.variation-banner__label {
    color: #38bdf8;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 6px;
    display: block;
}

.variation-banner__title {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.btn-variation-exit {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1), color 0.4s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

.btn-variation-exit:hover {
    background: #ef4444;
    color: white;
    border-color: #ef4444;
    box-shadow: 0 0 30px rgba(239, 68, 68, 0.4);
    transform: scale(1.05);
}

/* Subtle Card Glow in Pro Mode */
.is-variation .tech-card {
    border-color: rgba(14, 165, 233, 0.2) !important;
    background: linear-gradient(to bottom, #fff, #f8fafc) !important;
}

.is-variation .tech-card__header {
    border-bottom: 1px solid rgba(14, 165, 233, 0.15) !important;
}


/* Fix for overlapping Exit button and better responsiveness */
.variation-banner {
    flex-wrap: wrap; /* Allow wrapping on small screens */
    gap: 24px;
}

.variation-banner__info {
    flex: 1; /* Take up available space */
    min-width: 280px; /* Ensure text doesn't get too squashed before wrapping */
}

/* Stack variation banner on mobile (bp-sm: 576px) */
@media (max-width: 576px) {
    .variation-banner {
        padding: 24px;
        flex-direction: column;
        align-items: flex-start;
    }

    .btn-variation-exit {
        width: 100%;
        text-align: center;
    }
}


.variation-banner__title {
    word-break: break-word;
    overflow-wrap: break-word;
}


/* Sleeker, more horizontal variation banner */
.variation-banner {
    padding: 14px 32px; /* Reduced vertical padding */
    border-radius: 12px;
    gap: 40px; /* Increased horizontal gap */
}

.variation-banner__icon {
    width: 42px; /* Smaller icon to reduce height */
    height: 42px;
    margin-right: 20px;
}

.variation-banner__title {
    font-size: 1.25rem; /* Slightly smaller to fit slim profile */
}

.btn-variation-exit {
    padding: 8px 20px; /* Slimmer button */
}

.variation-banner::before {
    font-size: 4.5rem; /* Adjust watermark size for slimmer height */
}


/* ============================================
   RELATED RESOURCES (Product Page)
   ============================================ */
.related-resources__grid {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.related-resources__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    color: var(--color-accent, #0284c7);
    border: 1px solid var(--color-border, #e2e8f0);
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.related-resources__link:hover {
    background: var(--color-accent, #0284c7);
    color: #fff;
    border-color: var(--color-accent, #0284c7);
}

.related-resources__link svg {
    flex-shrink: 0;
}

