/* AC Fans Module Styles - Industrial Catalog Look */

.ac-fans-page {
    background-color: #fcfcfc;
}

/* Breadcrumbs & Banner */
.page-header-banner {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    padding: 4rem 0;
    color: #ffffff !important;
    margin-bottom: 0;
}

.page-header-banner h1 {
    color: #ffffff !important;
}

.page-header-banner p {
    color: rgba(255, 255, 255, 0.9) !important;
}

.breadcrumbs {
    display: flex;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7) !important;
    margin-bottom: 1rem;
}

.breadcrumbs a { color: #ffffff !important; text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

/* Tab Navigation */
.catalog-tabs-container {
    background: white;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 70px;
    z-index: 100;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

.catalog-tabs {
    display: flex;
    gap: 1.5rem;
}

.tab-btn {
    padding: 0.8rem 2rem;
    border-radius: 50px;
    border: 1px solid var(--border);
    background: white;
    color: var(--text-main);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.tab-btn i { font-size: 0.9rem; }

.tab-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.tab-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(15, 76, 129, 0.3);
}

/* Pulsating indication for inactive tabs */
.tab-btn:not(.active) {
    animation: tabPulse 1.6s infinite ease-in-out;
}

.tab-btn:not(.active):hover {
    animation: none;
    transform: translateY(-2px);
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 6px 15px rgba(15, 76, 129, 0.12);
}

@keyframes tabPulse {
    0%, 100% {
        border-color: var(--border);
        transform: scale(1);
        box-shadow: 0 0 0 rgba(15, 76, 129, 0);
    }
    50% {
        border-color: var(--primary);
        color: var(--primary);
        box-shadow: 0 0 15px rgba(15, 76, 129, 0.25);
        transform: scale(1.04);
    }
}

/* Industrial Table Styles */
.industrial-catalog-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin: 2rem 0;
}

.industrial-catalog-table thead th {
    background: #0F4C81; /* Professional Dark Blue */
    color: white;
    padding: 1.2rem 1rem;
    text-align: center;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
}

.industrial-catalog-table tbody td {
    padding: 1rem;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-main);
}

.industrial-catalog-table tbody tr:last-child td {
    border-bottom: none;
}

.industrial-catalog-table tbody tr:hover {
    background: #f9fbf9;
    transform: scale(1.002);
    box-shadow: inset 4px 0 0 var(--accent);
}

/* Columns */
.td-image { width: 130px; }
.product-thumb {
    width: 100px;
    height: 100px;
    background: #f8f8f8;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 0 auto;
}

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

.td-model { color: var(--primary); }

.download-icon {
    color: #ef4444;
    font-size: 1.4rem;
    transition: transform 0.2s ease;
    display: inline-block;
}

.download-icon:hover {
    transform: scale(1.2);
}

.td-action {
    width: 120px;
    text-align: center;
}

.btn-view-product {
    background: var(--primary);
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-view-product:hover {
    background: var(--accent);
    transform: translateX(3px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Animations */
.tab-content {
    animation: fadeIn 0.4s ease-out;
}

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

@media (max-width: 768px) {
    .catalog-tabs {
        flex-direction: column;
        gap: 0.75rem;
    }
    .tab-btn { width: 100%; justify-content: center; }

    /* Hide columns 4, 5, 6, 7, and 8 on mobile view to show only Image, Model, Size, and Action */
    .industrial-catalog-table th:nth-child(4),
    .industrial-catalog-table th:nth-child(5),
    .industrial-catalog-table th:nth-child(6),
    .industrial-catalog-table th:nth-child(7),
    .industrial-catalog-table th:nth-child(8),
    .industrial-catalog-table td:nth-child(4),
    .industrial-catalog-table td:nth-child(5),
    .industrial-catalog-table td:nth-child(6),
    .industrial-catalog-table td:nth-child(7),
    .industrial-catalog-table td:nth-child(8) {
        display: none;
    }

    /* Wrap in container with scroll fallback and prevent overflow out of the screen */
    .table-responsive {
        width: calc(100% + 3rem) !important;
        max-width: calc(100% + 3rem) !important;
        margin-left: -1.5rem !important;
        margin-right: -1.5rem !important;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin-top: 1rem;
        margin-bottom: 1rem;
        box-sizing: border-box;
        border-radius: 0 !important;
    }

    .industrial-catalog-table {
        width: 100%;
        min-width: 100%; /* Fit exactly on screen */
        table-layout: fixed;
        margin: 0 !important;
        box-sizing: border-box;
        border-radius: 0 !important;
    }

    .industrial-catalog-table thead th,
    .industrial-catalog-table tbody td {
        padding: 0.5rem 0.2rem !important;
        font-size: 0.75rem !important;
        word-wrap: break-word;
        word-break: break-word;
        box-sizing: border-box;
    }

    /* Configure mobile column widths specifically */
    .industrial-catalog-table th:nth-child(1),
    .industrial-catalog-table td:nth-child(1) {
        width: 60px; /* Image */
    }
    .industrial-catalog-table th:nth-child(2),
    .industrial-catalog-table td:nth-child(2) {
        width: 80px; /* Model */
        font-weight: 700;
    }
    .industrial-catalog-table th:nth-child(3),
    .industrial-catalog-table td:nth-child(3) {
        width: 100px; /* Size */
    }
    .industrial-catalog-table th:nth-child(9),
    .industrial-catalog-table td:nth-child(9) {
        width: 80px; /* Action */
    }

    .product-thumb { 
        width: 45px; 
        height: 45px; 
        margin: 0 auto; 
    }
    
    .btn-view-product {
        display: flex;
        width: 100%;
        padding: 0.4rem 0.15rem !important;
        font-size: 0.7rem !important;
        gap: 0.15rem;
        justify-content: center;
        box-sizing: border-box;
    }
}

/* Redesigned Why Choose Section - Premium Industrial Look */
.why-choose-industrial {
    padding: 6rem 0;
    background: #ffffff;
}

.why-header {
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
}

.why-header h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: #111;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

.header-arrows {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    color: var(--primary);
    font-size: 1.2rem;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-bottom: 5rem;
}

.why-item {
    background: #fff;
    padding: 3rem 2rem;
    border-radius: 16px;
    border: 1px solid #f0f0f0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}

.why-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: var(--primary);
}

.why-icon {
    width: 80px;
    height: 80px;
    background: #f8faff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: var(--primary);
    font-size: 2rem;
    transition: all 0.3s ease;
}

.why-item:hover .why-icon {
    background: var(--primary);
    color: #fff;
    transform: rotate(10deg);
}

.why-item h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 1.2rem;
}

.why-item p {
    font-size: 1rem;
    color: #666;
    line-height: 1.7;
    margin: 0;
}

.why-cta {
    text-align: center;
}

.btn-quote {
    background: #1a9442;
    color: white !important;
    padding: 1.2rem 4rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    font-size: 1.1rem;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(26, 148, 66, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-quote:hover {
    background: #147a36;
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(26, 148, 66, 0.3);
}

@media (max-width: 1024px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .why-header h2 { font-size: 2rem; }
    .why-grid {
        grid-template-columns: 1fr;
    }
    .why-item {
        padding: 2.5rem 1.5rem;
    }
}

/* =====================================================================
   Product Detail Page Styles & Responsiveness
   ===================================================================== */
.product-main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #eee;
}

.product-image-container {
    position: relative;
    background: white;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    pointer-events: none;
    z-index: 1;
}

.product-spec-summary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.product-actions-flex {
    display: flex;
    gap: 1rem;
}

.product-details-grid {
    margin-top: 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

@media (max-width: 992px) {
    .product-main-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 2rem;
    }
    
    .product-image-container {
        height: 380px;
        padding: 1.5rem;
    }
    
    .product-details-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        margin-top: 2.5rem;
    }
}

@media (max-width: 576px) {
    .product-main-grid {
        padding: 1.25rem;
    }
    
    .product-image-container {
        height: 280px;
        padding: 1rem;
    }
    
    .product-info-summary h1 {
        font-size: 1.8rem;
    }
    
    .product-spec-summary-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .product-actions-flex {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .product-actions-flex .btn {
        width: 100%;
        text-align: center;
        margin-right: 0;
    }
}

/* =====================================================================
   Product Table Search Bar Styles
   ===================================================================== */
.product-table-wrapper {
    position: relative;
    margin: 2rem 0;
}

.product-table-wrapper .industrial-catalog-table {
    margin: 1rem 0 2rem 0;
}

.table-search-bar {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 420px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 30px;
    padding: 0.35rem 0.8rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    margin-bottom: 0.5rem;
}

.table-search-bar:focus-within {
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(15, 76, 129, 0.12);
    transform: translateY(-1px);
}

.table-search-bar .search-icon {
    color: var(--text-muted);
    margin-left: 0.4rem;
    margin-right: 0.6rem;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.table-search-bar:focus-within .search-icon {
    color: var(--primary);
}

.table-search-bar .table-search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 0.4rem 0.2rem;
    font-size: 0.9rem;
    font-family: inherit;
    color: var(--text-main);
    background: transparent;
}

.table-search-bar .table-search-input::placeholder {
    color: #9ca3af;
}

.table-search-bar .clear-search-btn {
    border: none;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 0.2rem;
}

.table-search-bar .clear-search-btn:hover {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.08);
}

@media (max-width: 576px) {
    .table-search-bar {
        max-width: 100%;
        margin-bottom: 1.2rem;
    }
}

/* =====================================================================
   Industry Detail Page Styles & Responsiveness
   ===================================================================== */
.industry-section {
    padding: 5rem 0;
}

.industry-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: start;
}

@media (max-width: 992px) {
    .industry-section {
        padding: 3rem 0;
    }
    
    .industry-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .industry-detail-title {
        font-size: 1.8rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .industry-sidebar div[style*="position: sticky"] {
        position: static !important;
    }
    
    .industry-sidebar img {
        height: 250px !important;
    }
}

@media (max-width: 576px) {
    .industry-section {
        padding: 2rem 0;
    }
    
    .industry-grid {
        gap: 2rem;
    }
    
    .industry-detail-title {
        font-size: 1.5rem !important;
    }
    
    .industry-text-content div {
        font-size: 1rem !important;
    }
    
    .industry-text-content div[style*="margin-top: 3rem"] {
        margin-top: 2rem !important;
        padding: 1.5rem !important;
    }
}

/* OEM Capabilities Grid & Responsiveness */
.oem-capabilities-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 992px) {
    .oem-capabilities-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 576px) {
    .oem-capabilities-grid {
        gap: 1.8rem;
    }
}



