/* ========================================
   PRODUCTS PAGE STYLES - BSL PRO
   Unified design system
   ======================================== */

/* ==============================================
   CLEAN CLASSES - REPLACING TILDA
   ============================================== */
.products-overview-section,
.product-section,
.cta-section {
    width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
}

.col-8 {
    max-width: 66.666%;
    flex: 0 0 66.666%;
}

.col-center {
    margin: 0 auto;
    text-align: center;
}

/* ==============================================
   STATS SECTION
   ============================================== */
.stats-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 2rem !important;
}

.stat-item {
    text-align: center !important;
    padding: 2.5rem 2rem !important;
    background: white !important;
    border-radius: 1rem !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
    position: relative !important;
    overflow: hidden !important;
}

.stat-icon {
    width: 80px !important;
    height: 80px !important;
    margin: 0 auto 1.5rem !important;
    background: linear-gradient(135deg, #34465a 0%, #4a6477 100%)!important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffffff !important;
}

.stat-number {
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    color: #304658 !important;
    margin-bottom: 0.75rem !important;
    line-height: 1 !important;
}



.stat-text {
    color: #556b7d !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
}

/* ==============================================
   ANIMATIONS - DISABLED
   ============================================== */
[data-animate] {
    opacity: 1;
}

[data-animate].animated {
    opacity: 1;
}

/* ==============================================
   PRODUCTS OVERVIEW SECTION
   ============================================== */
.products-overview__title {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    color: #304658 !important;
    margin-bottom: 1.5rem !important;
    line-height: 1.2 !important;
    text-align: center !important;
}

.products-overview__description {
    font-size: 1.125rem !important;
    color: #556b7d !important;
    line-height: 1.7 !important;
    max-width: 800px !important;
    margin: 0 auto !important;
    text-align: center !important;
}

/* ==============================================
   PRODUCT CARD - TWO-ROW LAYOUT
   ============================================== */
.product-card {
    background: white !important;
    border-radius: 1.5rem !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
    overflow: hidden !important;
    margin-bottom: 4rem !important;
    position: relative !important;
}

/* TOP ROW: Header (left) + Gallery (right) */
.product-card__top {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 3rem !important;
    padding: 3rem !important;
    border-bottom: 1px solid #f1f3f4 !important;
}

.product-card__header {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
}

.product-card__gallery {
    display: flex !important;
    align-items: center !important;
}

/* BOTTOM ROW: Features (left) + Specs (right) */
.product-card__bottom {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 3rem !important;
    padding: 3rem !important;
}

.product-card__features,
.product-card__specs {
    display: flex !important;
    flex-direction: column !important;
}


.product-category {
    display: inline-block !important;
    background: linear-gradient(135deg, #34465a 0%, #34465aba 100%) !important;
    color: #304658 !important;
    padding: 10px 24px !important;
    border-radius: 25px !important;
    font-size: 0.875rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    margin-bottom: 1.5rem !important;
    box-shadow: 0 4px 12px rgba(241, 196, 15, 0.3) !important;
}

.product-detail__title {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 2.25rem !important;
    font-weight: 700 !important;
    color: #304658 !important;
    margin-bottom: 1rem !important;
    line-height: 1.2 !important;
}

.product-detail__subtitle {
    font-size: 1.25rem !important;
    color: #556b7d !important;
    font-weight: 600 !important;
    margin-bottom: 2rem !important;
    line-height: 1.4 !important;
}

.product-detail__description {
    margin-bottom: 2.5rem !important;
    padding: 1.5rem !important;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%) !important;
    border-radius: 1rem !important;
    border-left: 4px solid #34465a !important;
}

.product-detail__description p {
    font-size: 1.0625rem !important;
    color: #556b7d !important;
    line-height: 1.7 !important;
    margin-bottom: 1rem !important;
}

.product-detail__description p:last-child {
    margin-bottom: 0 !important;
}

.product-description {
    margin-bottom: 0 !important;
}

.product-description p {
    font-size: 1rem !important;
    color: #556b7d !important;
    line-height: 1.7 !important;
    margin-bottom: 1rem !important;
}

.product-description p:last-child {
    margin-bottom: 0 !important;
}

.product-category-badge {
    display: inline-block !important;
    background: linear-gradient(135deg, #34465a 0%, #4a6477 100%) !important;
    color: #ffffff !important;
    padding: 0.5rem 1.25rem !important;
    border-radius: 25px !important;
    font-size: 0.875rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 1.5rem !important;
    box-shadow: 0 4px 12px rgba(241, 196, 15, 0.3) !important;
        width: fit-content;
}

.specs-title {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 1.75rem !important;
    font-weight: 700 !important;
    color: #304658 !important;
    margin-bottom: 1.5rem !important;
    position: relative !important;
    padding-bottom: 0.75rem !important;
}

.specs-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #34465a 0%, #34465aba 100%);
    border-radius: 2px;
}

/* ==============================================
   FEATURES SECTION - ENHANCED CARDS
   ============================================== */
.product-features-detailed {
    margin-bottom: 2.5rem !important;
}

.features-title {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 1.75rem !important;
    font-weight: 700 !important;
    color: #304658 !important;
    margin-bottom: 1.5rem !important;
    position: relative !important;
    padding-bottom: 0.75rem !important;
}

.features-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #34465a 0%, #34465aba 100%);
    border-radius: 2px;
}

.features-grid {
    display: grid !important;
    gap: 1.5rem !important;
}

.features-list {
    display: flex !important;
    flex-direction: column !important;
}

.feature-item {
    display: flex !important;
    align-items: flex-start !important;
    gap: 1.25rem !important;
    padding: 20px 0px 20px 0px;
    background: white !important;
    border: 2px solid #f8f9fa !important;
    border-radius: 1rem !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}

.feature-icon {
    font-size: 1.5rem !important;
    min-width: 50px !important;
    height: 50px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(135deg, #34465a 0%, #4a6477 100%) !important;
    color: #ffffff !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 12px rgba(241, 196, 15, 0.3) !important;
    flex-shrink: 0 !important;
}

.feature-icon svg {
    color: #ffffff !important;
    fill: #ffffff !important;
}

.feature-content h4 {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 1.125rem !important;
    font-weight: 700 !important;
    color: #304658 !important;
    margin-bottom: 0.5rem !important;
    line-height: 1.3 !important;
}

.feature-content p {
    font-size: 0.9375rem !important;
    color: #556b7d !important;
    line-height: 1.6 !important;
    margin: 0 !important;
}

/* ==============================================
   TECHNICAL SPECIFICATIONS - PREMIUM DESIGN
   ============================================== */
.technical-specs {
    margin-bottom: 2.5rem !important;
}

.technical-specs h3 {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 1.75rem !important;
    font-weight: 700 !important;
    color: #304658 !important;
    margin-bottom: 1.5rem !important;
    position: relative !important;
    padding-bottom: 0.75rem !important;
}

.technical-specs h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #34465a 0%, #34465aba 100%);
    border-radius: 2px;
}

.specs-grid {
    display: grid !important;
    gap: 0 !important;
    background: white !important;
    padding: 0 !important;
    border-radius: 1rem !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
    overflow: hidden !important;
    border: 2px solid #f8f9fa !important;
}

.spec-item {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 1.25rem 1.5rem !important;
    border-bottom: 1px solid #f1f3f4 !important;
}

.spec-item:last-child {
    border-bottom: none !important;
}

.spec-label {
    font-weight: 600 !important;
    color: #556b7d !important;
    font-size: 1rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
}

.spec-label::before {
    content: '●';
    color: #34465a;
    font-size: 0.75rem;
}

.spec-value {
    font-weight: 700 !important;
    color: #304658 !important;
    font-size: 1rem !important;
    padding: 0.5rem 1rem !important;
    border-radius: 0.5rem !important;
}

/* ==============================================
   APPLICATIONS SECTION - MODERN BADGES
   ============================================== */
.applications-section {
    margin-top: 2.5rem !important;
}

.applications-section h3 {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 1.75rem !important;
    font-weight: 700 !important;
    color: #304658 !important;
    margin-bottom: 1.5rem !important;
    position: relative !important;
    padding-bottom: 0.75rem !important;
}

.applications-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #34465a 0%, #34465aba 100%);
    border-radius: 2px;
}

.applications-grid,
.product-card__specs .applications-grid,
div.applications-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
    gap: 1rem !important;
}

.app-item {
    background: white !important;
    color: #304658 !important;
    padding: 1.25rem 1.5rem !important;
    border-radius: 0.75rem !important;
    text-align: center !important;
    font-weight: 600 !important;
    font-size: 0.9375rem !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
    border: 2px solid #f8f9fa !important;
    position: relative !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
}

.app-item:hover {
    border-color: #34465a !important;
    box-shadow: 0 6px 20px rgba(241, 196, 15, 0.2) !important;
    transform: translateY(-2px) !important;
}

.app-item .app-icon {
    font-size: 1.75rem !important;
    display: block !important;
    margin-bottom: 0.5rem !important;
}

/* ==============================================
   PRODUCT VISUALS - ENHANCED GALLERY (HORIZONTAL LAYOUT)
   ============================================== */
.product-visual {
    padding: 0 !important;
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin-bottom: 0 !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
}

.product-gallery {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
}

.gallery-main-image {
    position: relative !important;
    overflow: hidden !important;
    border-radius: 1rem !important;
    height: 400px !important;
    margin-bottom: 1rem !important;
}

/* Gallery Navigation Arrows */
.gallery-nav-arrow {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.95) !important;
    border: none !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    z-index: 10 !important;
    color: #304658 !important;
}

.gallery-nav-arrow:hover:not(:disabled) {
    background: #34465a !important;
    box-shadow: 0 6px 20px rgba(241, 196, 15, 0.4) !important;
    transform: translateY(-50%) scale(1.1) !important;
}

.gallery-nav-arrow:active:not(:disabled) {
    transform: translateY(-50%) scale(0.95) !important;
}

.gallery-nav-arrow:disabled {
    cursor: not-allowed !important;
    opacity: 0.3 !important;
}

.gallery-prev {
    left: 1rem !important;
}

.gallery-next {
    right: 1rem !important;
}

.gallery-nav-arrow svg {
    width: 24px !important;
    height: 24px !important;
}

.main-product-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.gallery-thumbs {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 0.5rem !important;
    padding: 1rem !important;
    background: #f8f9fa !important;
    border-radius: 0 0 0.5rem 0.5rem !important;
}

.thumb-img {
    width: 100% !important;
    height: 70px !important;
    object-fit: cover !important;
    border-radius: 0.5rem !important;
    cursor: pointer !important;
    opacity: 0.6 !important;
    border: 2px solid transparent !important;
}

.thumb-img.active {
    opacity: 1 !important;
    border-color: #34465a !important;
    box-shadow: 0 2px 8px rgba(241, 196, 15, 0.2) !important;
}

/* Video Showcase */
.video-showcase {
    margin-top: 40px;
}

.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-caption {
    text-align: center;
    font-size: var(--font-size-sm) !important;
    color: #666 !important;
    margin-top: 16px !important;
    font-style: italic;
}

/* ==============================================
   CERTIFICATIONS BOX - PREMIUM STYLE
   ============================================== */
.certifications-box {
    background: linear-gradient(135deg, #304658 0%, #2c5f2d 100%) !important;
    padding: 2.5rem !important;
    border-radius: 1.5rem !important;
    text-align: center !important;
    margin-top: 2.5rem !important;
    box-shadow: 0 8px 32px rgba(48, 70, 88, 0.2) !important;
    position: relative !important;
    overflow: hidden !important;
}

.certifications-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(241, 196, 15, 0.1) 0%, transparent 70%);
}

.certifications-box h4 {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: white !important;
    margin-bottom: 1.5rem !important;
    position: relative !important;
    z-index: 1 !important;
}

.cert-badges {
    display: flex !important;
    justify-content: center !important;
    gap: 1rem !important;
    flex-wrap: wrap !important;
    position: relative !important;
    z-index: 1 !important;
}

.cert-badge {
    background: linear-gradient(135deg, #34465a 0%, #34465aba 100%) !important;
    color: #304658 !important;
    padding: 0.875rem 1.5rem !important;
    border-radius: 25px !important;
    font-weight: 700 !important;
    font-size: 0.875rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 4px 12px rgba(241, 196, 15, 0.3) !important;
}

/* ==============================================
   CTA SECTION - Unified Style
   ============================================== */
.cta-content {
    text-align: center !important;
    max-width: 800px !important;
    margin: 0 auto !important;
}

.cta-title {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 2.75rem !important;
    font-weight: 700 !important;
    color: white !important;
    margin-bottom: 1.5rem !important;
    line-height: 1.2 !important;
}

.cta-description {
    font-size: 1.1875rem !important;
    color: rgba(255, 255, 255, 0.95) !important;
    margin-bottom: 2.5rem !important;
    line-height: 1.6 !important;
}

.cta-actions {
    display: flex !important;
    gap: 1rem !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
}

.cta-button {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    padding: 1.125rem 2.5rem !important;
    border-radius: 0.75rem !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    font-size: 1.0625rem !important;
    text-align: center !important;
    justify-content: center !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.cta-button.primary {
    background: #ffff !important;
    color: #4a6477 !important;
    box-shadow: 0 10px 25px rgb(217 217 217 / 40%) !important;
    border: none !important;
}

.cta-button.primary:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 25px rgb(217 217 217 / 40%) !important;
    background: #ffff !important;
}

.cta-button.secondary {
    background: transparent !important;
    color: white !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
}

.cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    transform: translateY(-3px) !important;
}

.btn-arrow {
    font-size: 1.5rem !important;
    transition: transform 0.3s ease !important;
}

.cta-button:hover .btn-arrow {
    transform: translateX(5px) !important;
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media screen and (max-width: 980px) {
    .products-overview__title {
        font-size: var(--font-size-h2) !important;
    }

    .product-detail__title {
        font-size: var(--font-size-h3) !important;
    }

    .product-detail__subtitle {
        font-size: var(--font-size-lg) !important;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .specs-grid {
        padding: 20px;
    }

    .applications-grid,
    .product-card__specs .applications-grid,
    div.applications-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
        display: grid !important;
    }

    .cta-title {
        font-size: var(--font-size-h3) !important;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cert-badges {
        flex-direction: column;
        align-items: center;
    }
}

@media screen and (max-width: 768px) {
    /* CTA Section Tablet Padding */
    #rec_product_cta,
    .cta-section {
        padding-top: 75px !important;
        padding-bottom: 80px !important;
    }

    /* Switch to single column layout on mobile */
    .product-card__top,
    .product-card__bottom {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        padding: 2rem !important;
    }

    /* Hide desktop navigation arrows on mobile */
    .gallery-nav-arrow {
        display: none !important;
    }

    /* Mobile Gallery Carousel - Full Screen Style */
    .product-gallery {
        position: relative !important;
        width: calc(100% + 4rem) !important;
        margin: 0 -2rem !important;
        padding: 0 !important;
        padding-bottom: 80px !important; /* Space for thumbnail bar */
        overflow: hidden !important;
    }

    .gallery-main-image {
        display: none !important;
    }

    .gallery-thumbs {
        display: flex !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
        gap: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        background: #f8f9fa !important;
        border-radius: 0 !important;
        position: relative !important;
        z-index: 1 !important;
        width: 100% !important;
    }

    .gallery-thumbs::-webkit-scrollbar {
        display: none !important;
    }

    .gallery-thumbs .thumb-img {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        height: 320px !important;
        object-fit: contain !important;
        object-position: center !important;
        scroll-snap-align: center !important;
        scroll-snap-stop: always !important;
        opacity: 1 !important;
        border: none !important;
        border-radius: 0 !important;
        display: block !important;
        background: #f8f9fa !important;
        padding: 1rem !important;
    }

    .gallery-thumbs .thumb-img.active {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        height: 320px !important;
    }

    /* Mobile Thumbnail Preview Bar - Enhanced Design */
    .mobile-thumbs-preview {
        position: absolute !important;
        bottom: 0 !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        display: flex !important;
        gap: 0.625rem !important;
        padding: 0.875rem 1.25rem !important;
        background: rgba(255, 255, 255, 0.98) !important;
        border-radius: 16px 16px 0 0 !important;
        box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.12) !important;
        backdrop-filter: blur(12px) !important;
        -webkit-backdrop-filter: blur(12px) !important;
        z-index: 20 !important;
        max-width: 92% !important;
        overflow-x: auto !important;
        scrollbar-width: none !important;
        pointer-events: auto !important;
        border: 1px solid rgba(241, 196, 15, 0.2) !important;
    }

    .mobile-thumbs-preview::-webkit-scrollbar {
        display: none !important;
    }

    .mobile-thumb-item {
        flex: 0 0 56px !important;
        width: 56px !important;
        height: 56px !important;
        border-radius: 10px !important;
        overflow: hidden !important;
        cursor: pointer !important;
        border: 2px solid rgba(48, 70, 88, 0.1) !important;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        opacity: 0.6 !important;
        background: #fff !important;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
    }

    .mobile-thumb-item.active {
        border-color: #34465a !important;
        border-width: 3px !important;
        opacity: 1 !important;
        box-shadow: 0 4px 16px rgba(241, 196, 15, 0.4) !important;
        transform: scale(1.08) !important;
    }

    .mobile-thumb-item img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        display: block !important;
    }
}

@media screen and (max-width: 640px) {
    /* Column responsive */
    .col-8 {
        max-width: 100%;
        flex: 0 0 100%;
    }

    /* CTA Section Mobile Padding */
    #rec_product_cta,
    .cta-section {
        padding-top: 75px !important;
        padding-bottom: 80px !important;
    }

    /* Stats Section */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
        padding: 0 1rem !important;
    }

    .stat-number {
        font-size: 1.9rem !important;
    }

    .rec_overview {
        padding-top: 60px!important;
    padding-bottom: 0px!important;
    background-color: #ffffff;
    }

    .stat-icon {
        width: 56px !important;
        height: 56px !important;
    }

    .stat-icon svg {
        width: 28px !important;
        height: 28px !important;
    }

    .stat-number {
        font-size: 1.5rem !important;
    }

    .stat-text {
        font-size: 0.75rem !important;
    }

    #stats_section {
        padding: 45px 0 !important;
    }
}

/* Extra Small Mobile (≤480px) */
@media (max-width: 480px) {
    .stat-icon {
        width: 48px !important;
        height: 48px !important;
    }

    .stat-icon svg {
        width: 24px !important;
        height: 24px !important;
    }

    .stat-number {
        font-size: 1.5rem !important;
    }

    .stat-text {
        font-size: 0.75rem !important;
    }

    #stats_section {
        padding: 45px 0 !important;
    }

    /* Product Cards - More Compact */
    .product-card {
        margin-bottom: 2rem !important;
        border-radius: 1rem !important;
    }

    .product-card__top,
    .product-card__bottom {
        padding: 0.5rem !important;
        gap: 1.5rem !important;
    }

    /* Overview Section */
    .products-overview__title {
        font-size: 1.75rem !important;
        padding: 0 1rem !important;
    }

    .products-overview__description {
        font-size: 0.9375rem !important;
        padding: 0 1rem !important;
    }

    /* Product Titles */
    .product-detail__title {
        font-size: 1.5rem !important;
        margin-bottom: 0.75rem !important;
    }

    .product-detail__subtitle {
        font-size: 1rem !important;
        margin-bottom: 1rem !important;
    }

    /* Category Badge */
    .product-category-badge {
        font-size: 0.75rem !important;
        padding: 0.375rem 1rem !important;
        margin-bottom: 1rem !important;
    }

    /* Product Description */
    .product-description {
        padding: 0 !important;
    }

    .product-description p {
        font-size: 0.9375rem !important;
        line-height: 1.6 !important;
    }

    /* Features Section */
    .features-title,
    .specs-title {
        font-size: 1.25rem !important;
        margin-bottom: 1rem !important;
        padding-bottom: 0.5rem !important;
    }

    .features-title::after,
    .specs-title::after {
        width: 40px !important;
        height: 2px !important;
    }

    .feature-item {
        padding: 1rem !important;
        gap: 0.75rem !important;
        flex-direction: row !important;
        text-align: left !important;
        align-items: center !important;
    }

    .feature-icon {
        min-width: 40px !important;
        height: 40px !important;
        font-size: 1.25rem !important;
    }

    .feature-content h4 {
        font-size: 0.9375rem !important;
        margin-bottom: 0.25rem !important;
    }

    .feature-content p {
        font-size: 0.875rem !important;
        line-height: 1.5 !important;
    }

    /* Specs Grid */
    .specs-grid {
        padding: 0 !important;
        border-radius: 0.75rem !important;
    }

    .spec-item {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.5rem !important;
        padding: 1rem !important;
    }

    .spec-label {
        font-size: 0.875rem !important;
    }

    .spec-label::before {
        font-size: 0.625rem !important;
    }

    .spec-value {
        font-size: 0.875rem !important;
        padding: 0.375rem 0.75rem !important;
        width: 100% !important;
        text-align: left !important;
    }

    /* Applications Grid - 2 columns on mobile */
    .applications-grid,
    .product-card__specs .applications-grid,
    .product-card .applications-grid,
    div.applications-grid,
    section .applications-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
        display: grid !important;
    }

    /* Ensure items don't override grid */
    .applications-grid .app-item {
        grid-column: auto !important;
    }

    .app-item {
        padding: 1rem !important;
        font-size: 0.875rem !important;
        border-radius: 0.5rem !important;
        text-align: center !important;
    }

    .app-item .app-icon {
        font-size: 1.5rem !important;
        margin-bottom: 0.375rem !important;
    }

    /* Mobile Gallery - Adjust height */
    .gallery-thumbs .thumb-img {
        height: 280px !important;
        padding: 0.75rem !important;
        object-fit: contain !important;
        object-position: center !important;
    }

    .gallery-thumbs .thumb-img.active {
        height: 280px !important;
    }

    .product-gallery {
        width: calc(100% + 3rem) !important;
        margin: 0 -1.5rem !important;
    }

    /* Mobile Thumbnail Preview - Smaller on small screens */
    .mobile-thumbs-preview {
        padding: 0.75rem 1rem !important;
        max-width: 94% !important;
        gap: 0.5rem !important;
        border-radius: 14px 14px 0 0 !important;
    }

    .mobile-thumb-item {
        flex: 0 0 48px !important;
        width: 48px !important;
        height: 48px !important;
        border-radius: 8px !important;
    }

    .mobile-thumb-item.active {
        transform: scale(1.06) !important;
        border-width: 2px !important;
    }

    /* Product Gallery Container */
    .product-gallery {
        padding-bottom: 72px !important;
    }

    /* Certifications */
    .certifications-box {
        padding: 1.5rem 1rem !important;
        border-radius: 1rem !important;
        margin-top: 1.5rem !important;
    }

    .certifications-box h4 {
        font-size: 1.25rem !important;
    }

    .cert-badge {
        font-size: 0.75rem !important;
        padding: 0.625rem 1.25rem !important;
    }

    /* CTA Section */
    .cta-title {
        font-size: 1.5rem !important;
        margin-bottom: 1rem !important;
    }

    .cta-description {
        font-size: 0.9375rem !important;
        margin-bottom: 1.5rem !important;
    }

    .cta-button {
        padding: 1rem 2rem !important;
        font-size: 1rem !important;
    }
}

/* Extra Small Screens - iPhone SE, etc */
@media screen and (max-width: 375px) {
    .product-card__top,
    .product-card__bottom {
        padding: 1rem !important;
    }

    .product-detail__title {
        font-size: 1.375rem !important;
    }

    .products-overview__title {
        font-size: 1.5rem !important;
    }

    /* Mobile Gallery - Extra Small */
    .gallery-thumbs .thumb-img,
    .gallery-thumbs .thumb-img.active {
        height: 240px !important;
        padding: 0.5rem !important;
        object-fit: contain !important;
        object-position: center !important;
    }

    .product-gallery {
        padding-bottom: 68px !important;
        width: calc(100% + 2rem) !important;
        margin: 0 -1rem !important;
    }

    .mobile-thumbs-preview {
        padding: 0.625rem 0.875rem !important;
        gap: 0.375rem !important;
        max-width: 96% !important;
        border-radius: 12px 12px 0 0 !important;
    }

    .mobile-thumb-item {
        flex: 0 0 42px !important;
        width: 42px !important;
        height: 42px !important;
        border-radius: 7px !important;
    }

    .mobile-thumb-item.active {
        transform: scale(1.05) !important;
    }

    .feature-item {
        padding: 0.875rem !important;
    }

    .feature-icon {
        min-width: 36px !important;
        height: 36px !important;
        font-size: 1.125rem !important;
    }

    /* Applications Grid - Stay 2 columns */
    .applications-grid,
    .product-card__specs .applications-grid,
    div.applications-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.5rem !important;
        display: grid !important;
    }

    .app-item {
        padding: 0.875rem !important;
        font-size: 0.8125rem !important;
        text-align: center !important;
    }

    .app-item .app-icon {
        font-size: 1.375rem !important;
        margin-bottom: 0.25rem !important;
    }
}

/* Print Styles */
@media print {
    .video-showcase,
    .cta-buttons {
        display: none !important;
    }
    
    .product-detail__content,
    .product-visual {
        padding: 0 !important;
    }
    
    .feature-item {
        background: none !important;
        border: 1px solid #ccc !important;
    }
}

/* Loading States */
.gallery-main-img,
.thumb-img {
    background: #f8f9fa;
}

.gallery-main-img.loading,
.thumb-img.loading {
    opacity: 0.6;
    position: relative;
}

.gallery-main-img.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid #f1c40f;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Interactive Elements */
.gallery-main-img,
.thumb-img,
.feature-item,
.app-item,
.cert-badge {
    cursor: default;
}

/* Focus States for Accessibility */
.thumb-img:focus,
.feature-item:focus,
.app-item:focus {
    outline: 2px solid #1a4870;
    outline-offset: 2px;
}

/* Smooth Scrolling for Internal Links */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar for Product Sections */
.product-detail__content::-webkit-scrollbar {
    width: 8px;
}

.product-detail__content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.product-detail__content::-webkit-scrollbar-thumb {
    background: #1a4870;
    border-radius: 4px;
}
/* ==============================================
   MOBILE APPLICATIONS GRID - FORCE 2 COLUMNS
   Highest priority - added at end of file
   ============================================== */
@media screen and (max-width: 768px) {
    /* Force 2 columns with maximum specificity */
    .product-card .product-card__specs .applications-grid,
    .product-card__specs .applications-grid,
    .applications-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
    }
}

@media screen and (max-width: 640px) {
    .product-card .product-card__specs .applications-grid,
    .product-card__specs .applications-grid,
    .applications-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
    }
}

@media screen and (max-width: 480px) {
    .product-card .product-card__specs .applications-grid,
    .product-card__specs .applications-grid,
    .applications-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.5rem !important;
    }
}

/* ==============================================
   PRODUCT SECTIONS - PADDING CONTROL
   ============================================== */
#stats_section {
    padding: 90px 0 !important;
    background-color: #f8f9fa !important;
}

#stats_section .container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
}

#rec_impregnation {
    padding-top: 90px !important;
    padding-bottom: 20px !important;
    background-color: #ffffff !important;
}

#rec_turning {
    padding-top: 40px !important;
    padding-bottom: 20px !important;
    background-color: #f8f9fa !important;
}

#rec_metalwork {
    padding-top: 50px !important;
    padding-bottom: 90px !important;
    background-color: #ffffff !important;
}

#rec_overview {
    padding-top: 60px !important;
    padding-bottom: 0px !important;
    background-color: #ffffff !important;
}

#rec_product_cta {
    padding-top: 120px !important;
    padding-bottom: 120px !important;
    background: url('/images/Background_BSL_-01.jpg') center center / cover no-repeat !important;
    position: relative !important;
}

#rec_product_cta .container {
    position: relative !important;
    z-index: 1 !important;
}

/* Mobile responsive paddings */
@media screen and (max-width: 768px) {
    #stats_section {
        padding: 60px 0 !important;
    }

    #rec_impregnation {
        padding-top: 60px !important;
        padding-bottom: 15px !important;
    }

    #rec_turning {
        padding-top: 30px !important;
        padding-bottom: 15px !important;
    }

    #rec_metalwork {
        padding-top: 40px !important;
        padding-bottom: 60px !important;
    }

    #rec_overview {
        padding-top: 50px !important;
        padding-bottom: 0px !important;
    }

    #rec_product_cta {
        padding-top: 80px !important;
        padding-bottom: 80px !important;
    }
}

@media screen and (max-width: 640px) {
    #rec_impregnation {
        padding-top: 45px !important;
        padding-bottom: 10px !important;
    }

    #rec_turning {
        padding-top: 25px !important;
        padding-bottom: 10px !important;
    }

    #rec_metalwork {
        padding-top: 30px !important;
        padding-bottom: 45px !important;
    }

    #rec_overview {
        padding-top: 40px !important;
        padding-bottom: 0px !important;
    }

    #rec_product_cta {
        padding-top: 60px !important;
        padding-bottom: 60px !important;
    }
}
