section.hero .bg-img.navy-bg {
    background-image: url(https://www.tifluidsystems.com/wp-content/uploads/2023/03/ti-fluid-system-investors-header-jpg.webp);
}
#product-results {
    min-height: 80px;
}

.products-main .v-space {
    padding-top: 14rem;
    padding-bottom: 14rem;
}

.search-wrapper {
    display: flex;
    align-items: center;
    margin-bottom: 4rem;
}

.category-filter {
    position: relative;
}

.product-select {
    background-color: transparent;
    border: 1px solid #cccccc;
    padding: 16px 21px;
    border-radius: 10px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: none;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
}

/* Custom caret */
.category-filter::after {
    content: '⌄';
    position: absolute;
    top: 20px;
    right: 20px;
    transform: translateY(-50%);
    font-size: 28px;
    color: #0f3b5c;
    pointer-events: none;
}

/* Adjust padding to ensure proper spacing for caret */
.product-select {
    padding-right: 40px;
}

/* Hover and focus effects */
.product-select:hover {
    border-color: #0f3b5c;
}

.product-select:focus {
    border-color: #0f3b5c;
    outline: none;
}
.spin {
    max-width: 55px;
    -webkit-animation:spin 2s linear infinite;
    animation:spin 2s linear infinite;
}
@-webkit-keyframes spin {
    100% { -webkit-transform: rotate(360deg); }
}
@keyframes spin {
    100% {
        -webkit-transform: rotate(360deg);
        transform:rotate(360deg);
    }
}


.pagination {
    text-align: center;
    margin-top: 3rem;
    font-size: 18px;
}

.page-numbers {
    margin: 0 8px;
    opacity: 0.6;
}

.page-numbers:hover {
    opacity: 1;
}

.page-numbers.current {
    opacity: 1;
}

@media screen and (max-width: 769px) {
    .products-main .v-space {
        padding-top: calc(100px + 6%);
        padding-bottom: calc(100px + 6%);
    }

    .search-wrapper {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }

    form.search-form.products {
        margin-top: 0;
        margin-right: auto;
        margin-left: auto;
        min-width: auto;
        width: 100%;
        margin-bottom: 2rem;
    }

    .products-main section.hero .cont.flexed {
        padding-top: 10%;
    }
}