.mobile-navbar-divider {
    display: none;
}

.expired-ribbon {
    z-index: 10;
}

/* Custom Header Top */

.custom-header-top {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    width: 100%;
    background-color: #eaebef;
}

.custom-header-top-first-column {
    width: 100%;
    font-size: 1.2rem;
    font-weight: bold;
    margin-left: 5%;
}

.custom-header-top-second-column {
    width: 100%;
    display: flex;
    justify-content: end;
    align-items: center;
    margin-right: 5%;
}

.header-vertical-line {
    border-right: 1px solid black;
    height: 14px;
    margin-right: 10px;
}

.custom-header-top-second-column a:nth-of-type(1) {
    padding: 1rem;
    background-color: #343a40;
    color: white;
    border-radius: 5px;
    text-decoration: none;
}

.custom-header-top-second-column a:nth-of-type(1):hover {
    background-color: #ffb300;
}

.custom-header-top-second-column a:nth-of-type(2) {
    color: inherit;
    margin-left: 3%;
    font-size: 1.2rem;
}

.custom-header-top-second-column a:nth-of-type(3) {
    color: inherit;
    margin-left: 3%;
    font-size: 1.2rem;
}

/* Custom Header Middle */

.custom-header-middle {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    width: 100%;
    background-color: #fcfdff;
}

.custom-header-middle-first-column {
    width: 30%;
    margin-left: 5%;
}

.custom-header-middle-first-column>a {
    display: inline-block;
}

.custom-header-middle-first-column>a>img {
    max-width: 50%;
    height: auto;
    display: block;
}

.custom-header-middle-second-column {
    width: 100%;
}

.custom-header-middle-second-column form fieldset {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.custom-header-middle-second-column form fieldset input {
    width: 80%;
    padding: 1.8rem 1rem;
    font-size: 14px;
    border: 1px solid rgb(158, 158, 158)
}

.custom-header-middle-second-column form fieldset input::placeholder {
    font-size: 14px;
}

.custom-header-middle-second-column form fieldset button {
    width: 15%;
    font-size: 18px;
}

.custom-header-middle-third-column {
    width: 100%;
    display: flex;
    justify-content: end;
    align-items: center;
    margin-right: 5%;
}

.custom-header-middle-third-column-currency>a:first-of-type {
    padding: 0.8rem 1rem;
    background-color: white;
    color: #CFCFCF;
    font-weight: 600;
    border-radius: 5px;
    border: 1px solid #e5e5e5;
    text-decoration: none;
    cursor: pointer
}


.custom-header-middle-third-column-currency-dropdown {
    height: 300px;
    overflow-y: scroll;
}

.custom-header-middle-third-column-currency-dropdown>a {
    color: #CFCFCF;
    font-weight: 600;
}


.custom-header-middle-third-column-travel-deals-button {
    padding: 0.8rem 1rem;
    background-color: #28a745;
    color: white;
    font-weight: bold;
    border-radius: 5px;
    margin-left: 3%;
}

.custom-header-middle-third-column-travel-deals-button:hover {
    background-color: #226732;
    text-decoration: none;
    color: white
}

.custom-header-middle-third-column-free-samples-button {
    padding: 0.8rem 1rem;
    background-color: #28a745;
    color: white;
    font-weight: bold;
    border-radius: 5px;
    margin-left: 3%;
}

.custom-header-middle-third-column-free-samples-button:hover {
    background-color: #226732;
    text-decoration: none;
    color: white
}

/* Custom Header Navbar */

.custom-header-navbar {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background-color: #131313;
}

.custom-header-navbar-only-column {
    color: white;
    width: 100%;
    font-size: 1.7rem;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    /* Add position relative here */
}

.custom-header-navbar-only-column>a {
    color: #fff;
    padding: 1.8rem 3rem;
    transition: .25s linear;
}

.custom-header-navbar-only-column>a:hover {
    color: white;
    background-color: #90f;
    text-decoration: none;
}

.custom-header-navbar-dropdown {
    color: #fff;
    padding: 1.8rem 3rem;
    transition: .25s linear;
    position: relative;
}

.custom-header-navbar-dropdown>a:hover {
    color: #fff;
}

.custom-header-navbar-dropdown:hover {
    color: white;
    background-color: #90f;
    text-decoration: none;
}

.custom-header-navbar-content {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    background-color: #131313;
    min-width: 160px;
    z-index: 10;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.custom-header-navbar-dropdown:hover .custom-header-navbar-content {
    display: block;
}

.custom-header-navbar-content a {
    color: #fff;
    padding: 12px 16px;
    display: block;
}

.custom-header-navbar-content a:hover {
    background-color: #90f;
    color: white;
    text-decoration: none;
}

.custom-navbar-toggle {
    display: none;
    font-size: 2rem;
    background: none;
    border: 1px solid black;
    color: #000000;
    cursor: pointer;
    padding: 0.2rem 1rem;
}

.travel-deals-button-mobile {
    display: none;
}

.free-sample-button-mobile {
    display: none;
}

.mobile-navbar-container {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 1s ease, max-height 0.7s ease;
}

.mobile-navbar-container.custom-visible {
    opacity: 1;
    max-height: 900px;
    /* Adjust or calculate dynamically if needed */
}

.mobile-navbar-container.custom-hidden {
    opacity: 0;
    max-height: 0;
}

.custom-sticky-header {
    width: 100%;
    height: max-content;
    position: fixed !important;
    top: -100px;
    left: 0;
    transition: top 0.5s ease;
    z-index: 999;
}

.custom-sticky-header.visible {
    top: 0;
}

.custom-sticky-mobile-header {
    width: 100%;
    height: max-content;
    position: fixed !important;
    top: -100px;
    left: 0;
    transition: top 0.5s ease;
    z-index: 999;
}

.custom-sticky-mobile-header.visible {
    top: 0;
}

/* Home Page HeroSection Background Image */
.homepage-herosection {
    background-image: url('/assets/img/img01.jpg');
}

.join-community-button-container {
    display: flex;
    justify-content: center;

}

.join-community-button {
    display: inline-block;
    /* Ensure it scales as a block */
    transition: transform 0.3s ease-in-out;
    /* Smooth scaling */
}

.join-community-button:hover {
    transform: scale(1.1);
    color: #ffb300
}

.join-community-button h2:hover {
    color: #ffb300
}



/* Brand Page */
.brand-page-header-text {
    font-size: 14px;
}

.brand-page-title-img-card {
    width: 100% !important;
    padding: 10px !important;
}

.brand-page-title-img-card img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
}

.brand-page-discounts-section-select {
    padding: 5px;
    font-size: 14px;
    margin-left: 3px;
}




/* Mobile (phones, portrait and landscape) */
@media only screen and (max-width: 767px) {
    .mobile-navbar-divider {
        display: block;
        border: 1px solid rgb(94, 94, 94)
    }

    .custom-header-top {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .custom-header-top-first-column {
        width: 100%;
        font-size: 1.3rem;
        font-weight: bold;
        text-align: center;
        margin-left: 0%;
    }

    .custom-header-top-second-column {
        margin-top: 5%;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .custom-header-top-second-column a:nth-of-type(2) {
        margin-left: 20%;
    }

    .custom-header-middle-first-column {
        margin-left: 0;
    }

    .custom-header-middle-first-column>a>img {
        max-width: 100%;
        height: auto;
        display: block;
    }

    .custom-header-middle-third-column {
        margin-right: 0%;
    }

    .custom-header-middle-third-column-travel-deals-button {
        display: none;
        padding: 0.6rem;
        border-radius: 5px;
        margin-left: 2px;
    }

    .travel-deals-button-mobile {
        display: block;
    }

    .custom-header-middle-third-column-free-samples-button {
        display: none;
        padding: 0.6rem;
        border-radius: 5px;
        margin-left: 2px;
    }

    .free-sample-button-mobile {
        display: block;
    }

    .custom-header-middle-third-column-currency-dropdown {
        padding: 0.5rem;
        margin-left: 2px;
    }

    .custom-navbar-toggle {
        display: block;
        margin-left: 5%;
    }

    .custom-header-navbar {
        display: none;
    }

    .mobile-navbar-container {
        opacity: 0;
        max-height: 0;
        overflow: hidden;
        transition: opacity 1s ease, max-height 0.7s ease;
    }

    .mobile-navbar-container.custom-visible {
        opacity: 1;
        max-height: 900px;
        /* Adjust or calculate dynamically if needed */
    }

    .mobile-navbar-container.custom-hidden {
        opacity: 0;
        max-height: 0;
    }

    .custom-sticky-mobile-header {
        width: 100%;
        height: max-content;
        position: fixed !important;
        top: -100px;
        left: 0;
        transition: top 0.5s ease;
        z-index: 999;
    }

    .custom-sticky-mobile-header.visible {
        top: 0;
    }

    .custom-header-mobile-navbar {
        display: flex;
        flex-direction: column;
        align-items: start;
        width: 100%;
        position: relative;
    }

    .custom-header-mobile-navbar a {
        width: 100%;
        color: #fff;
        padding: 1.5rem 2rem;
        transition: .25s linear;
        background-color: #131313;
        font-size: 14px;
    }

    .custom-header-mobile-navbar a:hover {
        color: white;
        background-color: #90f;
        text-decoration: none;
    }

    .custom-header-mobile-navbar-dropdown {
        display: flex;
        flex-direction: column;
        color: #fff;
        transition: .25s linear;
        position: relative;
        width: 100%;

    }

    .custom-header-mobile-navbar-dropdown a {
        width: 100%;
        color: #fff;
        padding: 1.5rem 2rem;
        transition: .25s linear;
        background-color: #131313;
        margin-left: 0%;
        font-size: 14px;
    }

    .custom-header-mobile-navbar-dropdown a:hover {
        color: white;
        background-color: #90f;
        text-decoration: none;
    }

    .custom-header-mobile-navbar-content {
        display: none;
        width: 100%;
        z-index: 10;
    }

    .custom-header-mobile-navbar-content a {
        color: #000000;
        background-color: #eaebef;
        font-size: 14px;
    }

    .custom-header-mobile-navbar-dropdown:hover .custom-header-mobile-navbar-content {
        display: flex;
        flex-direction: column;
    }

    .custom-header-middle-second-column {
        display: none;
    }

    .custom-header-mobile-searchbar {
        width: 100%;
        margin-bottom: 2px;
    }

    .custom-header-mobile-searchbar form fieldset {
        display: flex;
        flex-direction: row;
        align-items: center;
        width: 100%;
    }

    .custom-header-mobile-searchbar form fieldset input {
        width: 100%;
        border: 1px solid grey;
        padding: 1.5rem 1.5rem;
    }
}

/* * Tablet (portrait)  */
@media only screen and (min-width: 768px) and (max-width: 1023px) {
    .mobile-navbar-divider {
        display: block;
        border: 1px solid rgb(94, 94, 94)
    }

    .custom-header-top {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .custom-header-top-first-column {
        width: 100%;
        font-size: 1.3rem;
        font-weight: bold;
        text-align: start;
        margin-left: 0%;
    }

    .custom-header-top-second-column {
        width: 100%;
        display: flex;
        justify-content: end;
        align-items: center;
        margin-right: 0%;
    }


    .custom-header-middle-first-column {
        margin-left: 0;
    }

    .custom-header-middle-first-column>a>img {
        max-width: 100%;
        height: auto;
        display: block;
    }

    .custom-header-middle-third-column {
        margin-right: 0%;
    }

    .custom-header-middle-third-column-travel-deals-button {
        display: block;
        padding: 0.6rem;
        border-radius: 5px;
        margin-left: 2px;
    }

    .travel-deals-button-mobile {
        display: none;
    }

    .custom-header-middle-third-column-free-samples-button {
        display: block;
        padding: 0.6rem;
        border-radius: 5px;
        margin-left: 2px;
    }

    .free-sample-button-mobile {
        display: none;
    }

    .custom-header-middle-third-column-currency-dropdown {
        padding: 0.5rem;
        margin-left: 2px;
    }

    .custom-navbar-toggle {
        display: block;
        margin-left: 5%;
    }

    .custom-header-navbar {
        display: none;
    }

    .mobile-navbar-container {
        opacity: 0;
        max-height: 0;
        overflow: hidden;
        transition: opacity 1s ease, max-height 0.7s ease;
    }

    .mobile-navbar-container.custom-visible {
        opacity: 1;
        max-height: 900px;
        /* Adjust or calculate dynamically if needed */
    }

    .mobile-navbar-container.custom-hidden {
        opacity: 0;
        max-height: 0;
    }

    .custom-header-mobile-navbar {
        display: flex;
        flex-direction: column;
        align-items: start;
        width: 100%;
        position: relative;
    }

    .custom-header-mobile-navbar a {
        width: 100%;
        color: #fff;
        padding: 1.5rem 2rem;
        transition: .25s linear;
        background-color: #131313;
    }

    .custom-header-mobile-navbar a:hover {
        color: white;
        background-color: #90f;
        text-decoration: none;
    }

    .custom-header-mobile-navbar-dropdown {
        display: flex;
        flex-direction: column;
        color: #fff;
        transition: .25s linear;
        position: relative;
        width: 100%;

    }

    .custom-header-mobile-navbar-dropdown a {
        width: 100%;
        color: #fff;
        padding: 1.5rem 2rem;
        transition: .25s linear;
        background-color: #131313;
        margin-left: 0%;
    }

    .custom-header-mobile-navbar-dropdown a:hover {
        color: white;
        background-color: #90f;
        text-decoration: none;
    }

    .custom-header-mobile-navbar-content {
        display: none;
        width: 100%;
        z-index: 10;
    }

    .custom-header-mobile-navbar-content a {
        color: #000000;
        background-color: #eaebef;
    }

    .custom-header-mobile-navbar-dropdown:hover .custom-header-mobile-navbar-content {
        display: flex;
        flex-direction: column;
    }

    .custom-header-middle-second-column {
        display: none;
    }

    .custom-header-mobile-searchbar {
        width: 100%;
        margin-bottom: 2px;
        padding: 1.5rem 2rem;
    }

    .custom-header-mobile-searchbar form fieldset {
        display: flex;
        flex-direction: row;
        align-items: center;
        width: 100%;
    }

    .custom-header-mobile-searchbar form fieldset input {
        width: 100%;
        border: 1px solid grey;
        padding: 1.5rem 1.5rem;
    }

}