.product-hero-container {
        width: 100%;
        height: 500px;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        background: #fff;
        padding: 20px;
    }
    .product-hero-img {
        max-height: 400px !important;
        width: auto;
        max-width: 100%;
        object-fit: contain;
        transition: opacity 0.3s ease;
    }
    /* Vertical Thumbnail Gallery */
    .product-gallery-sidebar {
        height: 500px;
        overflow-y: auto;
        scrollbar-width: thin;
        scrollbar-color: #dee2e6 transparent;
    }
    .product-gallery-sidebar::-webkit-scrollbar {
        width: 4px;
    }
    .product-gallery-sidebar::-webkit-scrollbar-thumb {
        background-color: #dee2e6;
        border-radius: 4px;
    }
    .thumb-item {
        width: 80px;
        height: 80px;
        padding: 5px;
        margin-bottom: 10px;
        border: 1px solid #dee2e6;
        border-radius: 4px;
        cursor: pointer;
        transition: all 0.2s ease;
        background: white;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .thumb-item img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }
    .thumb-item:hover, .thumb-item.active {
        border-color: var(--toyo-red);
        box-shadow: 0 0 5px rgba(203, 51, 59, 0.2);
    }
    .thumb-item.active {
        border-width: 2px;
    }

    @media (max-width: 991px) {
        .product-hero-container {
            height: auto;
            aspect-ratio: 4 / 3;
            padding: 10px;
        }
        .product-hero-img {
            max-height: 300px !important;
        }
        .product-gallery-sidebar {
            height: auto;
            overflow-y: hidden;
            overflow-x: auto;
            display: flex;
            gap: 10px;
            padding-bottom: 10px;
            margin-bottom: 20px;
            order: 2;
        }
        .thumb-item {
            margin-bottom: 0;
            flex-shrink: 0;
        }
    }
    .nav-tabs .nav-link {
        color: #495057;
        font-weight: 600;
        border: none;
        border-bottom: 3px solid transparent;
        padding: 1rem 1.5rem;
        transition: all 0.2s ease;
    }
    .nav-tabs .nav-link.active {
        color: var(--toyo-red) !important;
        background: transparent !important;
        border-bottom: 3px solid var(--toyo-red) !important;
    }
    .tab-content {
        background: #fff;
        padding: 3rem 0;
    }
    .sidebar-image-container {
        position: relative;
        overflow: hidden;
        border-radius: 0.5rem;
    }
    .sidebar-image-caption {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(203, 51, 59, 0.9);
        color: white;
        padding: 1rem;
        font-size: 0.85rem;
        transform: translateY(100%);
        transition: transform 0.3s ease;
    }
    .sidebar-image-container:hover .sidebar-image-caption {
        transform: translateY(0);
    }
    .sidebar-image-container img {
        transition: transform 0.5s ease;
    }
    .sidebar-image-container:hover img {
        transform: scale(1.05);
    }
    
    /* Videos Tab Responsive Iframes */
    #videos iframe {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 16 / 9;
        border-radius: 0.5rem;
    }
    
    /* Product Card Styling (Matched to Portfolio Overview) */
    .product-card {
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border: 1px solid #eee;
        border-radius: 4px;
        overflow: hidden;
        height: 100%;
        display: flex;
        flex-direction: column;
        background: #fff;
    }
    .product-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.1);
        border-color: var(--toyo-red);
    }
    .product-card .img-container {
        height: 180px;
        background: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 1.5rem;
        border-bottom: 1px solid #f8f9fa;
    }
    .product-card img {
        max-height: 100%;
        max-width: 150px; 
        width: auto;
        object-fit: contain;
    }
    .product-card .card-body {
        padding: 1.25rem;
        background: #fff;
        flex-grow: 1;
        display: flex;
        flex-direction: column;
    }
    .product-card .series-name {
        color: var(--toyo-red);
        font-weight: 800;
        font-size: 1.1rem;
        margin-bottom: 0.4rem;
    }
    .product-card .tagline {
        font-size: 0.85rem;
        color: #666;
        line-height: 1.4;
        margin-bottom: 1.25rem;
    }

/* Sticky Tabs Navigation */
    .sticky-tabs-wrapper {
        position: sticky;
        top: 153px;
        z-index: 1020;
        background: white;
        box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        transition: all 0.3s ease;
        border-bottom: 1px solid #dee2e6;
    }
    
    .header-shrunk .sticky-tabs-wrapper {
        top: 92px;
    }

    .border-bottom-dark-row td {
        border-bottom: 2px solid #212529 !important;
    }

    .cell-not-available {
        background-color: #212529 !important;
        color: #ffffff !important;
        font-weight: bold;
        text-transform: uppercase;
        font-size: 0.7rem;
    }

    .cell-coming-soon {
        color: #adb5bd !important;
    }

    /* Product Page Active Filter Dimming & Notice Styling */
    .filter-notice-banner {
        background-color: #fff8f8;
        border: 1px solid rgba(203, 51, 59, 0.25);
        border-left: 5px solid var(--toyo-red);
        border-radius: 6px;
        padding: 0.85rem 1.25rem;
        margin-bottom: 1.5rem;
        font-size: 0.9rem;
        color: #2c3e50;
        box-shadow: 0 2px 8px rgba(0,0,0,0.04);
        text-align: left;
    }
    .filter-notice-banner a.remove-filter-link {
        color: var(--toyo-red);
        font-weight: 700;
        text-decoration: underline;
        cursor: pointer;
        margin-left: 0.5rem;
    }
    .filter-notice-banner a.remove-filter-link:hover {
        color: #a82027;
    }
    .filter-dimmed-col {
        color: #dc3545 !important;
        position: relative;
    }
    th.filter-dimmed-col {
        color: #ff858d !important;
        opacity: 0.95 !important;
        filter: none !important;
    }
    .filter-dimmed-row {
        color: #dc3545 !important;
    }
    .filter-dimmed-row td:not(.cell-not-available),
    .filter-dimmed-row th:not(.cell-not-available) {
        color: #dc3545 !important;
    }
    .filter-dimmed-cell:not(.cell-not-available) {
        color: #dc3545 !important;
        font-weight: 600;
    }
    .filter-dimmed-btn {
        color: #dc3545 !important;
        border-color: #f5c2c7 !important;
        background-color: #ffffff !important;
        cursor: not-allowed !important;
        position: relative;
    }
    .filter-dimmed-btn::after {
        content: " (Out of Range)";
        font-size: 0.72rem;
        font-weight: normal;
        color: #dc3545;
    }

    /* Part Number Configurator Styling */
    .pn-configurator-card {
        background: #ffffff;
        border: 1.5px solid #cbd5e1;
        border-radius: 14px;
        box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
        overflow: hidden;
        text-align: left;
    }
    /* Selectors Container (Top) - Precision Slate Industrial Styling */
    .pn-selectors-card-top {
        background: #f8fafc;
        border-bottom: 2px solid #e2e8f0;
        padding: 1.75rem 2rem;
    }
    .pn-selectors-card-top .pn-selectors-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 1.25rem;
        padding-bottom: 0.75rem;
        border-bottom: 1.5px solid #e2e8f0;
    }
    .pn-selectors-card-top .pn-dropdown-label {
        font-size: 0.78rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.6px;
        color: #475569;
        margin-bottom: 0.45rem;
    }
    .pn-selectors-card-top .pn-dropdown-select {
        border: 1.5px solid #cbd5e1;
        border-radius: 8px;
        padding: 0.6rem 0.85rem;
        font-size: 0.9rem;
        font-weight: 500;
        color: #0f172a;
        background-color: #ffffff;
        transition: all 0.2s ease;
    }
    .pn-selectors-card-top .pn-dropdown-select:focus {
        border-color: var(--toyo-red);
        background-color: #ffffff;
        box-shadow: 0 0 0 3px rgba(203, 51, 59, 0.15);
        outline: none;
    }

    /* Results Area (Bottom) - White Box with Outline for Part Number & Specifications */
    .pn-output-white-box {
        background: #ffffff;
        padding: 2rem;
    }
    .pn-output-header {
        border-bottom: 1.5px solid #e2e8f0;
        padding-bottom: 1.25rem;
        margin-bottom: 1.5rem;
    }
    .pn-output-title {
        font-size: 0.8rem;
        font-weight: 700;
        letter-spacing: 0.8px;
        color: #64748b;
        text-transform: uppercase;
    }
    .pn-output-code-bold {
        font-family: 'SFMono-Regular', Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
        font-size: 1.85rem;
        font-weight: 800;
        color: #0f172a;
        letter-spacing: 1px;
        line-height: 1.2;
        word-break: break-all;
    }
    /* Distributor Gated Pricing Card */
    .distributor-pricing-card {
        background: #fff5f5;
        border: 1.5px solid #fecaca;
        border-left: 4px solid var(--toyo-red);
        border-radius: 8px;
        padding: 0.85rem 1.15rem;
        min-width: 240px;
        max-width: 320px;
        box-shadow: 0 2px 8px rgba(203, 51, 59, 0.08);
        text-align: left;
    }
    .pn-pricing-label {
        font-size: 0.75rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        color: #7f1d1d;
    }
    .pn-pricing-val {
        font-family: 'SFMono-Regular', Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
        font-size: 1.55rem;
        font-weight: 800;
        line-height: 1.15;
        letter-spacing: -0.5px;
    }
    .pn-pricing-subtext {
        font-size: 0.72rem;
        color: #991b1b;
        font-weight: 500;
    }
    .pn-pricing-tariff-note {
        font-size: 0.68rem;
        color: #7f1d1d;
        font-weight: 500;
        margin-top: 2px;
        line-height: 1.3;
    }
    .pn-pricing-tariff-note a {
        color: #b91c1c;
        text-decoration: underline;
        font-weight: 600;
        cursor: pointer;
    }
    .pn-pricing-tariff-note a:hover {
        color: #7f1d1d;
    }
    .pn-pricing-breakdown-btn {
        background: none;
        border: none;
        padding: 0;
        font-size: 0.72rem;
        color: #b91c1c;
        text-decoration: underline;
        cursor: pointer;
        font-weight: 600;
    }
    .pn-pricing-breakdown-btn:hover {
        color: #7f1d1d;
    }
    .pn-pricing-breakdown-box {
        font-size: 0.72rem;
        line-height: 1.4;
        color: #4b5563;
        background: #ffffff;
        border: 1px solid #fee2e2;
        border-radius: 4px;
        padding: 6px 8px;
        margin-top: 6px;
    }
    .pn-specs-list-container {
        background-color: #f8fafc;
        border: 1.5px solid #e2e8f0;
        border-radius: 8px;
        padding: 1.25rem 1.5rem;
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
        font-size: 0.95rem;
        line-height: 1.7;
        color: #334155;
        user-select: all;
    }
    .pn-spec-line {
        display: flex;
        align-items: baseline;
        padding: 0.35rem 0;
        border-bottom: 1px dashed #e2e8f0;
    }
    .pn-spec-line:last-child {
        border-bottom: none;
    }
    .pn-spec-label {
        font-weight: 700;
        color: #1e293b;
        min-width: 250px;
        flex-shrink: 0;
    }
    .pn-spec-desc {
        color: #475569;
    }

    /* Sticky First Column for Wide Tables */
    .table-responsive {
        position: relative;
    }
    .spec-table-wide thead th:first-child,
    .spec-table-wide tbody td:first-child {
        position: sticky;
        left: 0;
        z-index: 10;
        background-color: #f8f9fa; /* Match bg-light */
        box-shadow: 2px 0 5px rgba(0,0,0,0.1);
    }
    .spec-table-wide thead th:first-child {
        z-index: 11; /* Higher than body cells */
        background-color: #212529; /* Match table-dark */
    }

    /* Dual Top & Bottom Table Scrollbars */
    .table-top-scroll-track {
        scrollbar-width: auto;
        scrollbar-color: #adb5bd #f1f3f5;
        border: 1px solid #dee2e6;
        border-bottom: none;
        border-top-left-radius: 6px;
        border-top-right-radius: 6px;
        background-color: #f8f9fa;
    }
    .table-top-scroll-track::-webkit-scrollbar {
        height: 12px;
    }
    .table-top-scroll-track::-webkit-scrollbar-track {
        background: #f1f3f5;
        border-radius: 6px;
    }
    .table-top-scroll-track::-webkit-scrollbar-thumb {
        background: #adb5bd;
        border-radius: 6px;
        border: 2px solid #f1f3f5;
    }
    .table-top-scroll-track::-webkit-scrollbar-thumb:hover {
        background: var(--toyo-red);
    }

    .performance-image-container {
        overflow: hidden;
        transition: all 0.3s ease;
    }
    .performance-img {
        transition: transform 0.4s ease;
        cursor: zoom-in;
        width: 100%;
        height: auto;
    }
    .performance-image-container:hover .performance-img {
        transform: scale(1.15);
    }
    .performance-image-container:hover {
        border-color: var(--toyo-red) !important;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
    }

    @media (max-width: 991px) {
        .sticky-tabs-wrapper {
            top: 70px;
        }
        .header-shrunk .sticky-tabs-wrapper {
            top: 60px;
        }
        .nav-tabs {
            flex-wrap: nowrap;
            overflow-x: auto;
            scrollbar-width: none;
        }
        .nav-tabs::-webkit-scrollbar {
            display: none;
        }
        .nav-tabs .nav-link {
            white-space: nowrap;
            padding: 0.75rem 1rem;
            font-size: 0.8rem;
        }
    }
    .sizes-toggle .bi-chevron-up {
        transition: transform 0.2s ease;
    }
    .sizes-toggle.collapsed .bi-chevron-up {
        transform: rotate(180deg);
    }

/* =========================================================================
   Customer Reviews Widget Styles
   ========================================================================= */
.toyo-widget-container { max-width: 900px; margin-left: auto; margin-right: auto; }
        .hidden { display: none !important; }
        
        /* Star Styling */
        .star-selector { font-size: 2.5rem; color: #dee2e6; cursor: pointer; line-height: 1; }
        .star-btn { transition: color 0.1s; }
        .star-btn.hover, .star-btn.active { color: #ffc107; }
        .rating-label { font-size: 0.9rem; color: #888; margin-top: 0.25rem; font-weight: 500; }
        .card-stars { color: #ffc107; font-size: 1.1rem; }

        /* Review Card */
        .review-card-item { background: #fff; border-radius: 12px; padding: 1.5rem; border: 1px solid #eee; margin-bottom: 1.5rem; position: relative; box-shadow: 0 2px 8px rgba(0,0,0,0.02); transition: transform 0.2s; }
        .review-card-item:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
        .review-card-item .name { font-weight: 700; font-size: 1.15rem; color: #121212; display: block; }
        .review-card-item .industry { font-size: 0.8rem; color: #999; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; }
        .review-card-item .date { font-size: 0.8rem; color: #bbb; position: absolute; top: 1.5rem; right: 1.5rem; }
        .review-card-item .text { font-size: 1rem; line-height: 1.6; color: #444; margin-top: 1rem; padding: 1rem; background: #fcfcfc; border-radius: 8px; font-style: italic; }

        /* Summary Stats */
        .avg-score { font-size: 4rem; font-weight: 900; color: #121212; line-height: 1; }
        .avg-stars { color: #ffc107; font-size: 1.75rem; margin: 0.5rem 0; }
        .total-count { color: #666; font-size: 0.95rem; font-weight: 600; }

        .char-counter { font-size: 0.75rem; color: #999; margin-top: 0.25rem; text-align: right; }
        .error-msg { color: #CB333B; font-size: 0.75rem; min-height: 1.1rem; margin-top: 0.1rem; font-weight: 600; }