/* New Products Page Styles */

/* Page Header */
.new-products-page-title {
    color: #003E75;
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.new-products-page-subtitle {
    color: #003E75;
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    margin-bottom: 0;
    font-weight: 800;
}

/* Navigation Tabs */
.view-page {
    background-color: #003E75;
    padding: 10px;
    text-align: center;
}

    .view-page select {
        background-color: #003E75;
        color: #fff;
        border: none;
        font-size: 24px;
    }

.mobile-only {
    display: none;
}

.desktop-only {
    display: block;
}

.desktop-only-flex {
    display: flex;
}

.product-nav-section .row {
    margin-left: -2.5px;
    margin-right: -2.5px;
}

.nav-tab-container {
    padding-left: 2.5px;
    padding-right: 2.5px;
}

.nav-tab-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.nav-tab {
    height: 400px;
    position: relative;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
}

    .nav-tab:hover {
        transform: scale(1.02);
    }

.nav-tab-content {
    padding: 20px;
    width: 100%;
    text-align: center;
}

.nav-tab h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
}


/* Results Header */
.results-header {
    font-family: 'Montserrat', sans-serif;
    color: #003E75;
    font-weight: 600;
    margin: 0;
    font-size: 20px;
}

.custom-select {
    position: relative;
    display: inline-block;
}

.sort-by-wrap {
    min-width: 200px;
}

.for-page {
    width: 100%;
    text-align: left;
}




#page-selector {
    color: #fff !important;
    font-size: 20px !important;
    width: 100% !important;
    background-color: #003E75;
}

.view-per-page-select, #page-selector {
    width: 100%;
    font-size: 0.9rem;
    border-color: #8C8B8B;
    color: #000;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding: 10px 2rem 10px 10px;
    border-radius: 0;
    background-color: #fff;
}

.view-per-page-select {
    border: 1px solid #8C8B8B;
}

.custom-select::after {
    content: url('/img/2026/down-arrow.png'); /* Or use a Unicode symbol */
    font-size: 0.8rem;
    position: absolute;
    right: 0.8rem;
    top: 55%;
    transform: translateY(-50%);
    pointer-events: none; /* Allow clicking through */
    color: #555;
}

.for-page::after {
    content: url('/img/2026/arrow-white-down.png'); /* Or use a Unicode symbol */
}

.custom-select.for-page select {
    background: #003E75 !important;
}

.view-per-page-select, .view-per-page-select option {
    color: #000;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 100;
}

.custom-search-input {
    border: 1px solid #8C8B8B;
    height: 46px !important;
    border-right: none;
    font-size: 18px !important;
    outline: none;
}

.custom-search {
    border-left: none;
    border-color: #8C8B8B;
    border-radius: 0;
}

    .custom-search i {
        color: #003E75;
    }

.sort-select {
    width: 150px;
}

.search-input-group {
    max-width: 400px;
}

.reset-button {
    background-color: #AEF131;
    border-color: #AEF131;
    color: #003E75;
    font-weight: 600;
    border-radius: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    padding-top: 10px;
    padding-bottom: 10px;
}

    .reset-button:hover {
        background-color: #7eb03a;
        border-color: #7eb03a;
    }

    .reset-button:focus {
        outline: none;
        box-shadow: none;
        background-color: #AEF131;
        color: #003E75;
        border-color: #AEF131;
    }

.filter-badge {
    font-size: 0.9rem;
}



/* Product Cards */
.product-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
}

.product-grid a {
    cursor: pointer !important;
    text-decoration: none;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.product-image {
    height: 320px;
    object-fit: cover;
}

.product-badge {
    font-size: 0.8rem;
    padding: 5px 10px;
}

.best-of-ibs {
    background-color: #003E75;
}

.new-product-zone {
    background-color: #00AFE9;
}

.new-product-zone, .best-of-ibs {
    text-transform: uppercase;
}

.solo-badge-wrapper {
    width: 100%;
    margin: 0 !important;
    text-align: center;
    padding: 6px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #fff;
    font-weight: bold;
}

.half-badge-wrapper {
    width: 50%;
}



.product-badge-winner {
    background-color: #003E75;
    color: white;
    font-size: 0.7rem;
    padding: 4px 8px;
}

.product-badge-energy {
    background-color: #00bcd4;
    color: white;
    font-size: 0.7rem;
    padding: 4px 8px;
}

.product-company-name a, .product-company-name a:hover {
    color: #00AFE9;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    text-decoration: underline;
}

.product-company-name-alt {
    color: #666;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.product-title {
    color: #333;
    font-weight: 600;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.product-description, .appearances-results .product-description p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 1rem;
    font-weight: 300;
}

.product-booth {
    color: #808093;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0;
}

    .product-booth span a, .product-booth span a:hover {
        color: #00AFE9;
        text-decoration: underline;
    }

/* Badge Containers */
.badge-stack {
    display: flex;
    flex-direction: column;
    gap: 4px;
}



/* Pagination (base styles) */
.pagination .page-link {
    color: #003E75;
    border-color: #ddd;
    padding: 10px 20px;
    font-weight: bold;
}

.pagination .page-item.active .page-link {
    background-color: #003E75;
    border-color: #003E75;
    color: white;
}

.pagination .page-link:hover {
    background-color: #f8f9fa;
    border-color: #003E75;
}

.pagi-nav .page-link {
    border: none;
    margin-left: 0 !important;
}

    .pagi-nav .page-link img {
        width: 20px;
    }

.pagi-nav .inactive {
    opacity: 0.5;
}

/* Pagination overrides to match Education pagination */
.new-products-section .pagination .page-link {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #000;
    width: 38px;
    text-align: center;
    background-color: #fff;
    margin-right: 10px;
    padding: .375rem 0; /* keep height similar to bootstrap while fixing width */
}

.new-products-section .page-item.prev .page-link,
.new-products-section .page-item.next .page-link {
    border: none;
    background-color: #fff !important;
}

.new-products-section .pagination .page-link:hover,
.new-products-section .pagination .page-link:active,
.new-products-section .pagination .page-link:focus,
.new-products-section .pagination .page-link:active:focus,
.new-products-section .pagination .page-item.active .page-link,
.new-products-section .pagination .page-item.activePage .page-link {
    background-color: #003E75;
    color: #fff;
    border-color: transparent;
    box-shadow: #0000 transparent;
}

/* Center pagination for New Products (deviation from Exhibitors) */
.new-products-section .sorting-pagination .pager {
    display: flex;
    justify-content: center;
}

.new-products-section .sorting-pagination .pagination {
    justify-content: center;
}

/* Responsive Adjustments */
@media (max-width:768px) {
    .new-products-page-title {
        font-size: 2rem;
    }

    .new-products-page-subtitle {
        font-size: 18px;
    }

    .nav-tab {
        height: 300px;
    }

        .nav-tab h3,
        .nav-tab-title {
            font-size: 1.2rem;
        }

    .product-image {
        height: 280px;
    }

    .mobile-only {
        display: block;
    }

    .desktop-only {
        display: none;
    }

    .desktop-only-flex {
        display: none;
    }

    .view-per-page-select, .custom-select {
        width: 100%;
    }

    .custom-search {
        border-left: 1px solid #8C8B8B;
        padding: 12px 16px;
    }

    .results-header {
        margin-bottom: 5px;
    }

    .pagination-new-products, .pagination-new-products li {
        display: inline-block;
    }
}

@media (max-width:576px) {
    .nav-tab-container {
        padding-left: 1px;
        padding-right: 1px;
    }

    .nav-tab {
        height: 250px;
    }

        .nav-tab h3,
        .nav-tab-title {
            font-size: 1rem;
        }
}

/* Mobile Search Popup */
.mobile-search-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
}

    .mobile-search-popup.show {
        display: block;
    }

.mobile-search-overlay {
    background: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 50px;
}

.mobile-search-container {
    background: white;
    width: 90%;
    max-width: 400px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    margin-top: 80%;
}

.mobile-search-header {
    background: #003E75;
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .mobile-search-header h3 {
        margin: 0;
        font-size: 18px;
        font-family: 'Montserrat', sans-serif;
        font-weight: 600;
        color: #fff;
    }

.mobile-search-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .mobile-search-close:hover {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
    }

.mobile-search-form {
    padding: 20px;
}

.mobile-search-input-group {
    display: flex;
    border: 1px solid #8C8B8B;
    border-radius: 4px;
    overflow: hidden;
}

.mobile-search-input {
    flex: 1;
    border: none;
    padding: 12px 15px;
    font-size: 16px;
    outline: none;
    font-family: 'Montserrat', sans-serif;
}

    .mobile-search-input:focus {
        outline: none;
    }

.mobile-search-submit {
    background: #003E75;
    border: none;
    color: white;
    padding: 12px 20px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

    .mobile-search-submit:hover {
        background: #002a52;
    }









/* Show special, Celebrity and Press kits Styles */
.exhibitor-directory {
    margin-top: 20px;
}

.product-card .date {
    font-size: 14px;
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    color: #808093;
}

.results-info {
    color: #003E75;
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
}

/* Alphabet Navigation */
.alphabet-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 2px;
    padding: 20px 0 0 0;
    border-radius: 4px;
}

.alpha-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background-color: #fff;
    color: #000;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    font-size: 20px;
    transition: all 0.3s ease;
}

    .alpha-link:hover {
        background-color: #003E75;
        color: #fff;
    }

    .alpha-link.active {
        background-color: #003E75;
        color: #fff;
    }

.search-exhibitors {
    display: flex;
    align-items: center;
    margin-left: auto;
    background-color: #fff;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #8C8B8B;
}

.exhibitor-search-input {
    border: none;
    padding: 10px 15px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    outline: none;
    min-width: 250px;
}

    .exhibitor-search-input::placeholder {
        color: #666;
    }

.exhibitor-search-btn {
    background-color: transparent;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    color: #003E75;
    font-size: 18px;
    transition: color 0.3s ease;
}

    .exhibitor-search-btn:hover {
        color: #00AFE9;
    }

/* Current Letter Display */
.current-letter {
    padding: 15px 0;
    margin-top: 30px;
}

.letter-heading {
    color: #003E75;
    font-family: 'Montserrat', sans-serif;
    font-size: 30px;
    font-weight: 800;
    margin: 0;
}

/* Exhibitor Table */
.exhibitor-table-wrapper {
    overflow-x: auto;
    margin-top: 0;
}

.exhibitor-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
}

    .exhibitor-table thead {
        background-color: #003E75;
    }

        .exhibitor-table thead th {
            color: #fff;
            font-family: 'Montserrat', sans-serif;
            font-size: 18px;
            font-weight: 700;
            text-align: left;
            padding: 20px;
            border: none;
        }

    .exhibitor-table tbody tr:nth-child(even) {
        background-color: #F6F6F5;
    }

    .exhibitor-table tbody tr:hover {
        background-color: #f0f0f0;
    }

    .exhibitor-table tbody td {
        padding: 25px 20px;
        vertical-align: top;
    }

        .exhibitor-table tbody td:first-child {
            width: 25%;
        }

        .exhibitor-table tbody td:nth-child(2) {
            width: 55%;
        }

        .exhibitor-table tbody td:last-child {
            width: 20%;
        }

.exhibitor-link {
    color: #003E75;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 700;
    text-decoration: underline;
    transition: color 0.3s ease;
}

    .exhibitor-link:hover {
        color: #00AFE9;
    }

.detail-title {
    color: #000;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.detail-text {
    color: #666;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 0;
}

.booth-info {
    color: #808093;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 0;
}

.booth-link {
    color: #00AFE9;
    text-decoration: underline;
    font-weight: 700;
    transition: color 0.3s ease;
}

.fa-eye {
    color: #00AFE9;
    font-size: 14px;
}

.booth-link:hover {
    color: #003E75;
}

.custom-select.alpha {
    width: 150px;
}

.mobile-only-force {
    display: none !important;
}

/* Responsive Adjustments for Exhibitor Directory */
@media (max-width: 992px) {
    .exhibitor-table tbody td {
        width: 100% !important;
    }
}

@media (max-width: 768px) {

    .container.specials {
        padding: 0;
        margin-top: 2rem !important;
    }

    .mobile-only-force {
        display: block !important;
    }

    .inner-container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .exhibitor-table-wrapper {
        margin-top: 0;
    }

    .current-letter {
        padding-bottom: 0;
        margin-top: 0;
    }

    .search-exhibitors.desktop-only-flex {
        display: none !important;
    }

    .mobile-alphanav {
        border: 1px solid #8C8B8B;
        font-size: 18px;
        width: 150px;
        padding: 10.5px 6px;
        color: #000;
    }

    .results-info {
        font-size: 22px;
        margin-bottom: 10px;
    }

    .alphabet-nav {
        padding: 15px 0;
        gap: 6px;
        justify-content: space-between;
    }

    .alphanav-search.mobile-only {
        position: relative;
        left: -20px;
    }

    .alpha-link {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .search-exhibitors {
        width: 100%;
        margin-top: 10px;
        margin-left: 0;
    }

    .exhibitor-search-input {
        flex: 1;
        min-width: auto;
    }

    .letter-heading {
        font-size: 20px;
        background-color: #003E75;
        color: #fff;
        padding: 10px;
    }

    .exhibitor-table {
        display: block;
    }

        .exhibitor-table thead {
            display: none;
        }

        .exhibitor-table tbody,
        .exhibitor-table tbody tr,
        .exhibitor-table tbody td {
            display: block;
            width: 100%;
        }

            .exhibitor-table tbody tr {
                margin-bottom: 20px;
                padding: 5px 15px;
            }

            .exhibitor-table tbody td {
                padding: 10px 0;
                border: none;
            }

                .exhibitor-table tbody td:before {
                    content: attr(data-label);
                    font-weight: 700;
                    color: #003E75;
                    display: block;
                    margin-bottom: 5px;
                    font-family: 'Montserrat', sans-serif;
                }
}

@media (max-width:576px) {
    .alpha-link {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .exhibitor-table thead th {
        font-size: 16px;
        padding: 15px;
    }

    .exhibitor-link {
        font-size: 16px;
    }

    .detail-title {
        font-size: 16px;
    }

    .detail-text {
        font-size: 13px;
    }
}
