/* Custom Measurement Search — 3 equal columns, deliberately not reusing
   .adv-row/.row-three-cols/.adv-col since the diamond page forces those
   full-width at >=992px for its collapsed advanced-filters accordion. */
.search-filter-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.025);
    margin-bottom: 30px;
}

@media (max-width: 991px) {
    .search-filter-card {
        margin: 20px 10px !important;
    }
}

@media (max-width: 767px) {
    .search-filter-card {
        margin: 10px 0 !important;
    }
}

.interim-theme-natural .filter-section {
    background-color: #f5f9f9 !important;
    border: 1px solid #d1e5e4 !important;
    border-radius: 8px !important;
    padding: 16px !important;
    margin-bottom: 20px !important;
}

.interim-theme-lab-grown .filter-section {
    background-color: #faf7f0 !important;
    border: 1px solid #f0e6d2 !important;
    border-radius: 8px !important;
    padding: 16px !important;
    margin-bottom: 20px !important;
}

.gem-meas-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gem-meas-col {
    display: flex;
    flex-direction: column;
}

@media (max-width: 767px) {
    .gem-meas-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

.lightboxOverlay {
    background-color: rgba(0, 0, 0, 0.85) !important;
    z-index: 99999 !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
}

.lightbox {
    z-index: 100000 !important;
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    max-width: 90vw !important;
    outline: none !important;
}

.lb-outerContainer {
    background-color: #ffffff !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
    margin: 0 auto !important;
}

.lb-container {
    background-color: #ffffff !important;
    border-radius: 12px !important;
    padding: 10px !important;
}

.lightbox .lb-image {
    max-width: 80vw !important;
    max-height: 65vh !important;
    border: none !important;
    background-color: #ffffff !important;
    border-radius: 8px !important;
    display: block !important;
    margin: 0 auto !important;
    object-fit: contain !important;
}

#gemstone_views {
    overflow: visible;
}

/* Custom styles for gem_view_price modal buttons */
.price-modal-btn {
    border: 1px solid #767676 !important;
    color: #161616 !important;
    background-color: transparent !important;
    padding: 8px 24px !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    border-radius: 2px !important;
    text-align: center !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
    min-width: 100px !important;
    display: inline-block !important;
    font-family: 'Inter', sans-serif !important;
}

.price-modal-btn:hover {
    background-color: #f4f4f4 !important;
    color: #161616 !important;
    text-decoration: none !important;
}

.view-price-btn:hover {
    color: #007D79 !important;
    text-decoration: none !important;
}

.view-price-btn:focus,
.view-price-btn:active {
    outline: none !important;
    box-shadow: none !important;
}

.gem_card .grid_img {
    position: relative;
    height: 180px;
    width: 100%;
    margin-bottom: 8px;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.gem_card:hover .grid_img {
    background-color: #f1f5f9;
    border-color: #cbd5e1;
}

.gem_card .grid_img img {
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.gem_card:hover .grid_img img {
    transform: scale(1.04);
}

/* Carousel (shown when a gem stone has both an image and a video) */
.gem_card .grid_img .gem_media_carousel,
.grid_img .media_carousel {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.gem_card .grid_img .gem_media_track,
.grid_img .media_track {
    width: 100%;
    height: 100%;
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.gem_card .grid_img .gem_media_track::-webkit-scrollbar,
.grid_img .media_track::-webkit-scrollbar {
    display: none;
}

.gem_card .grid_img .gem_media_slide,
.grid_img .media_slide {
    position: relative;
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    scroll-snap-align: center;
    box-sizing: border-box;
}

.gem_card .grid_img .gem_media_slide img,
.grid_img .media_slide img {
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.gem_card .grid_img .gem_media_video_slide iframe,
.gem_card .grid_img .gem_media_video_slide video,
.grid_img .media_video_slide iframe,
.grid_img .media_video_slide video {
    height: 100%;
    width: 100%;
    max-width: 100%;
    border: none;
    border-radius: 8px;
    position: absolute;
    top: 0;
    left: 0;
    transform: none;
    background: transparent;
    object-fit: contain;
}

.gem_card .grid_img .gem_media_single_video,
.grid_img .media_single_video {
    width: 100%;
    height: 100%;
    position: relative;
    border: none;
    border-radius: 8px;
}

.gem_card .grid_img .gem_media_single_video iframe,
.gem_card .grid_img .gem_media_single_video video,
.grid_img .media_single_video iframe,
.grid_img .media_single_video video {
    height: 100%;
    width: 100%;
    border: none;
    border-radius: 8px;
    background: transparent;
    object-fit: contain;
}

/* Video poster (play button overlay) shown until the video is lazily loaded */
.gem_card .grid_img .gem_media_video_poster,
.grid_img .media_video_poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.03);
    cursor: pointer;
    z-index: 2;
    border-radius: 8px;
}

.gem_card .grid_img .gem_media_video_slide.is-loaded .gem_media_video_poster,
.grid_img .media_video_slide.is-loaded .media_video_poster {
    display: none;
}

.gem_card .grid_img .gem_media_video_poster img,
.grid_img .media_video_poster img {
    width: 40px;
    height: 40px;
    max-width: 40px;
    transition: transform 0.3s ease;
}

.gem_card .grid_img .gem_media_video_poster:hover img,
.grid_img .media_video_poster:hover img {
    transform: scale(1.1);
}

/* Prev/next nav controls, revealed on card hover */
.gem_card .grid_img .gem_media_nav,
.grid_img .media_nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    font-size: 14px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    border: 1px solid #007D79;
    background: #ffffff;
    color: #007D79;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.gem_card:hover .grid_img .gem_media_nav,
.gem_card:hover .grid_img .media_nav {
    opacity: 0.9;
    visibility: visible;
}

.gem_card .grid_img .gem_media_nav:hover,
.grid_img .media_nav:hover {
    background-color: #007D79;
    color: #ffffff;
}

.gem_card .grid_img .gem_media_prev,
.grid_img .media_prev {
    left: 6px;
}

.gem_card .grid_img .gem_media_next,
.grid_img .media_next {
    right: 6px;
}

.gem_card .grid_img .gem_media_dots,
.grid_img .media_dots {
    position: absolute;
    bottom: 6px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 6px;
    z-index: 10;
}

.gem_card .grid_img .gem_media_dot,
.grid_img .media_dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.gem_card .grid_img .gem_media_dot.active,
.grid_img .media_dot.active {
    background: #007D79;
    width: 12px;
    border-radius: 3px;
}

.gem_card .placeholder {
    height: 200px;
    width: 200px;
    background-color: #e7e7e7;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    margin: auto;
}


.gem_card .grid_img .gem-download-btn {
    position: absolute;
    bottom: 8px;
    left: 8px;
    width: 30px;
    height: 30px;
    background-color: #ffffff;
    color: #475569;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    z-index: 15;
    transition: all 0.2s ease;
    text-decoration: none;
    cursor: pointer;
}

.gem_card .grid_img .gem-download-btn i {
    font-size: 13px;
}

.gem_card .grid_img .gem-download-btn:hover {
    background-color: #007D79;
    /* color: #ffffff; */
    transform: scale(1.1);
}


@media (max-width: 767px) {
    .gem_card .grid_img {
        height: 150px;
    }

    .gem_card .grid_img .gem_media_nav,
    .gem_card .grid_img .media_nav {
        opacity: 0.9;
        visibility: visible;
    }
}

/* ==========================================================================
   Responsive Styling for International Gemstone Module (Mirrors Diamonds)
   ========================================================================== */

/* 1. Mobile & Tablet Action Buttons Bar (#diamond_actions) */
@media (max-width: 1024px) {
    #diamond_actions.diamond-actions-container {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        width: 100% !important;
        background: #ffffff !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 12px !important;
        box-shadow: 0 4px 12px rgba(16, 24, 40, 0.05) !important;
        padding: 12px 8px !important;
        margin-top: 15px !important;
        margin-bottom: 20px !important;
        justify-content: space-around !important;
        align-items: center !important;
        text-align: center !important;
    }

    #diamond_actions.diamond-actions-container .intl_btn {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        flex: 1 !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 6px 4px !important;
        margin: 0 !important;
        color: #475569 !important;
        gap: 6px !important;
        height: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        font-size: 11px !important;
        white-space: nowrap !important;
        transition: all 0.2s ease !important;
    }

    #diamond_actions.diamond-actions-container .intl_btn:hover {
        background: transparent !important;
        color: #007D79 !important;
    }

    #diamond_actions.diamond-actions-container .intl_btn i {
        font-size: 18px !important;
        color: #475569 !important;
        margin: 0 !important;
        transition: color 0.2s ease !important;
    }

    #diamond_actions.diamond-actions-container .intl_btn:hover i {
        color: #007D79 !important;
    }

    #diamond_actions.diamond-actions-container .intl_btn .btn-text-desktop {
        display: none !important;
    }

    #diamond_actions.diamond-actions-container .intl_btn .btn-text-mobile {
        font-size: 11px !important;
        font-weight: 600 !important;
        color: #475569 !important;
        letter-spacing: 0.2px !important;
        transition: color 0.2s ease !important;
        display: block !important;
    }

    #diamond_actions.diamond-actions-container .intl_btn:hover .btn-text-mobile {
        color: #007D79 !important;
    }

}

@media (max-width: 500px) {
    .btn-text-desktop {
        display: none !important;
    }

    .btn-text-mobile {
        display: block !important;
    }
}

@media (min-width: 501px) {
    .btn-text-desktop {
        display: inline !important;
    }

    .btn-text-mobile {
        display: none !important;
    }
}

/* 2. Responsive Search Action Buttons (#search_bar) */
@media (max-width: 1024px) {
    #search_bar .search_btns {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
        width: 100% !important;
        position: fixed !important;
        bottom: 0px !important;
        background: #ffffff !important;
        padding: 10px 15px !important;
        box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.08) !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 9999 !important;
        margin: 0 !important;
    }

    #search_bar .search_btns .intl_btn,
    #search_bar .search_btns .btn-reset-filters,
    #search_bar .search_btns .btn-save-search {
        flex: 1 1 auto !important;
        min-width: 110px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 8px 12px !important;
        min-height: 40px !important;
        height: auto !important;
        font-size: 12px !important;
        font-weight: 600 !important;
        gap: 6px !important;
        white-space: nowrap !important;
        border-radius: 6px !important;
    }

    .search-filter-card {
        padding-bottom: 80px !important;
    }
}

@media (max-width: 500px) {
    #search_bar .search_btns .intl_btn {
        width: 100% !important;
        flex: 1 1 100% !important;
    }

    #search_bar .search_btns .btn-reset-filters,
    #search_bar .search_btns .btn-save-search {
        width: calc(50% - 4px) !important;
        flex: 1 1 calc(50% - 4px) !important;
        font-size: 11px !important;
        padding: 8px 6px !important;
        text-align: center !important;
    }
}

/* 3. Search Filter Panel Mobile Responsive Layout */
@media (max-width: 767px) {
    #intl_search {
        max-width: 100% !important;
        margin: 10px auto 30px auto !important;
        padding: 0 10px !important;
    }

    .search-filter-card {
        padding: 12px 12px 80px 12px !important;
    }

    #intl_search .flex_pills {
        justify-content: flex-start !important;
    }

    #intl_search .search_pill {
        flex: 0 0 auto !important;
        min-width: auto !important;
        width: auto !important;
    }

    .filter-section {
        margin-bottom: 15px !important;
    }

    .collapsible-header {
        cursor: pointer;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 8px 0;
    }

    .search_shapes {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px !important;
    }

    .search_shapes .shape_card {
        width: 100% !important;
        height: 90px !important;
        padding: 6px !important;
    }

    .search_shapes .shape_card img {
        max-height: 36px !important;
        width: auto !important;
    }

    .search_shapes .shape_card h5 {
        font-size: 10px !important;
        margin-top: 4px !important;
    }

    .carat-inputs-container,
    .custom-price-inputs-row {
        flex-wrap: wrap !important;
        gap: 8px !important;
    }

    .carat-inputs-container input,
    .custom-price-inputs-row input {
        width: 100% !important;
        flex: 1 1 100% !important;
    }

    .range-inputs-pair {
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
    }

    .flex_pills.filter_search {
        gap: 6px !important;
    }

    .flex_pills.filter_search .search_pill {
        font-size: 11px !important;
        padding: 6px 10px !important;
    }
}

/* 4. Compare Page Table Responsive horizontal scroll */
#compare_view {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 767px) {
    #compare_bar {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 6px !important;
        justify-content: center !important;
    }

    #compare_bar .btn {
        flex: 1 1 auto !important;
        font-size: 11px !important;
        padding: 6px 10px !important;
    }

    #compare_sec table {
        min-width: 600px !important;
    }
}

/* 5. Sticky Top Header Spacing Fix */
@media (max-width: 1024px) {
    #intl_search[style*="display: none"]~#interim_app {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }

    #intl_search[style*="display: none"]~#interim_app #sticky_bar {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
}



#search_bar {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    z-index: 9999;
    padding: 10px 0;
    box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.1);
}

/* Sticky Search Panel for Gemstone without login */


/* Ensure buttons expand full width on mobile */
@media (max-width: 500px) {
    #search_bar .search_btns {
        display: flex !important;
        justify-content: space-between;
        flex-wrap: nowrap;
        position: fixed !important;
        bottom: 0px !important;
    }

    #search_bar .search_btns .intl_btn,
    #search_bar .search_btns .btn-reset-filters,
    #search_bar .search_btns .btn-save-search {
        flex: 1 1 auto;
        min-width: 0;
    }
}

/* Fix title visibility and sticky action bar */
.content-bar .title {
    display: block !important;
    color: #161616 !important;
    font-size: 24px !important;
    text-align: center !important;
    margin: 0 auto 15px auto !important;
}

#action_bar {
    background: #fff;
    padding: 10px 0;
}

/* ===== DESKTOP: show table, hide mobile cards ===== */
.intl-list-desktop-table {
    display: block;
    overflow-x: auto;
    overflow-y: auto !important;
    max-height: calc(100vh - 325px) !important;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.intl-list-desktop-table table td span.pull-left,
.intl-list-desktop-table table td span.float-start,
.intl-list-desktop-table table td i.pull-left,
.intl-list-desktop-table table td i.float-start {
    float: none !important;
    margin-right: 4px;
}

.intl-list-desktop-table table td.text-right {
    width: 1% !important;
    white-space: nowrap !important;
}

.intl-list-mobile-cards {
    display: none;
}

/* ===== MOBILE / IPAD: hide table, show mobile cards ===== */
@media (max-width: 1024px) {
    .intl-list-desktop-table {
        display: none !important;
    }

    .intl-list-mobile-cards {
        display: flex !important;
        flex-direction: column;
        gap: 12px;
    }
}

/* Sticky table header for desktop screen listing view */
@media (min-width: 1025px) {
    #table_view thead th {
        position: sticky !important;
        top: 0 !important;
        z-index: 10 !important;
        background-color: rgb(249 250 251) !important;
        box-shadow: inset 0 -1px 0 #66666630;
    }

    #table_view thead th:first-child {
        position: sticky !important;
        left: 0 !important;
        top: 0 !important;
        z-index: 11 !important;
        background-color: rgb(249 250 251) !important;
    }

    html.table-view-active,
    body.table-view-active {
        overflow: hidden !important;
        height: 100% !important;
    }

    .page-head {
        display: none !important;
    }

    .page-content {
        padding-top: 0 !important;
    }

    .page-container {
        padding-top: 0 !important;
    }

    #interim-theme #interim_app {
        padding-top: 0 !important;
    }

    #interim-theme #sticky_bar .margin-top-10 {
        margin-top: 0 !important;
    }
}

body, #sticky_bar, .bg-auto {
    background-color: #ffffff;
}

html, body, #interim-theme, #interim_app {
    overflow: visible !important;
}

#interim-theme #sticky_bar {
    display: flex !important;
    flex-direction: column !important;
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 71px !important;
    z-index: 1000 !important;
    background-color: #ffffff !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    border-bottom: 1.5px solid #e2e8f0 !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03) !important;
}
#interim-theme #sticky_bar > .col-md-12 {
    display: block !important;
    width: 100% !important;
    float: none !important;
}

/* Mobile and Tablet responsive overrides */
@media (max-width: 767px) {
    #result_header > .col-md-12 > div {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        flex-wrap: nowrap !important;
    }
    #result_header {
        margin-top: 12px !important;
        margin-bottom: 4px !important;
    }
    #result_header h3.theme_color {
        font-size: 14px !important;
        margin: 0 !important;
        text-align: left !important;
        white-space: nowrap !important;
    }
    #result_header .intl_btn {
        padding: 4px 8px !important;
        font-size: 11px !important;
        width: auto !important;
        max-width: none !important;
        justify-content: center !important;
        display: inline-flex !important;
        align-items: center !important;
        height: auto !important;
        margin: 0 !important;
        white-space: nowrap !important;
    }
    #interim-theme .top-toolbar {
        padding: 6px 8px 8px 8px !important;
        gap: 6px !important;
        margin-top: 4px !important;
        margin-bottom: 4px !important;
        border-radius: 8px !important;
    }
    #interim-theme .top-toolbar .location_btn {
        height: 30px !important;
        line-height: normal !important;
        font-size: 11px !important;
        padding: 0 8px !important;
        margin: 0 auto !important;
        width: auto !important;
        max-width: 100% !important;
        display: inline-flex !important;
    }
    #interim-theme .top-toolbar #sort_by_select {
        height: 30px !important;
        font-size: 11px !important;
        padding: 2px 6px !important;
        line-height: normal !important;
    }
    #interim-theme .top-toolbar .toggle_view_icons {
        width: 30px !important;
        height: 30px !important;
        min-width: 30px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    #interim-theme .top-toolbar .toggle_view_icons svg {
        width: 16px !important;
        height: 16px !important;
    }
    .top-toolbar .toolbar-center {
        justify-content: space-between !important;
        align-items: center !important;
        display: flex !important;
        gap: 6px !important;
        width: 100% !important;
    }
    #interim-theme #sticky_bar {
        padding-top: 4px !important;
        padding-bottom: 4px !important;
    }
    /* Ensure mobile menu and header wrappers stay on top of sticky header/toolbar */
    .mean-container,
    .mean-container .mean-bar,
    .top-header,
    .header-area,
    .menu-area,
    #header-sticky {
        z-index: 999999 !important;
    }
}

/* Tablet responsive overrides (768px to 1024px) - Left and Right side-by-side flex layout */
@media (min-width: 768px) and (max-width: 1024px) {
    #interim-theme .top-toolbar {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
        padding: 10px 16px !important;
    }
    #interim-theme .top-toolbar .toolbar-left {
        display: none !important;
    }
    #interim-theme .top-toolbar .toolbar-center {
        width: auto !important;
        display: flex !important;
        justify-content: flex-start !important;
        flex: 0 1 auto !important;
        margin: 0 !important;
    }
    #interim-theme .top-toolbar .toolbar-center .location_btn {
        width: auto !important;
        max-width: 280px !important;
        white-space: nowrap !important;
        margin: 0 !important;
    }
    #interim-theme .top-toolbar .toolbar-right {
        width: auto !important;
        display: flex !important;
        justify-content: flex-end !important;
        align-items: center !important;
        gap: 10px !important;
        flex: 0 1 auto !important;
        margin: 0 !important;
    }
}

/* Desktop and Laptop responsive overrides (1025px and up) - Centered grid layout */
@media (min-width: 1025px) {
    #interim-theme .top-toolbar {
        display: grid !important;
        grid-template-columns: 1fr auto 1fr !important;
        align-items: center !important;
        gap: 12px !important;
        padding: 10px 16px !important;
        width: 100% !important;
    }
    #interim-theme .top-toolbar .toolbar-left {
        display: block !important;
        visibility: hidden !important;
        width: auto !important;
    }
    #interim-theme .top-toolbar .toolbar-center {
        display: flex !important;
        justify-content: center !important;
        justify-self: center !important;
        width: auto !important;
        margin: 0 !important;
    }
    #interim-theme .top-toolbar .toolbar-center .location_btn {
        width: auto !important;
        max-width: 280px !important;
        white-space: nowrap !important;
        margin: 0 !important;
    }
    #interim-theme .top-toolbar .toolbar-right {
        display: flex !important;
        justify-content: flex-end !important;
        justify-self: end !important;
        align-items: center !important;
        gap: 10px !important;
        width: auto !important;
        margin: 0 !important;
    }
}

/* Fix menu hidden behind #sticky_bar (z-index:1000) on all screen sizes */
.top-header {
    overflow: visible !important;
}

.menu-area {
    position: relative !important;
    z-index: 1001 !important;
}

.menu-area.sticky-menu {
    position: fixed !important;
    z-index: 9999 !important;
}

/* Remove default focus border/outline on header links globally */
.top-header a:focus,
.top-header a:active,
.top-header button:focus,
.top-header button:active,
.header-area a:focus,
.header-area a:active,
.header-area button:focus,
.header-area button:active,
.menu-area a:focus,
.menu-area a:active,
.mean-container a:not(.mean-expand):focus,
.mean-container a:not(.mean-expand):active,
.mean-container .mean-nav a:not(.mean-expand):focus,
.mean-container .mean-nav a:not(.mean-expand):active {
    outline: none !important;
    box-shadow: none !important;
}

/* Set light green background on focus/active only for mobile menu */
.mean-container a:not(.mean-expand):focus,
.mean-container a:not(.mean-expand):active,
.mean-container .mean-nav a:not(.mean-expand):focus,
.mean-container .mean-nav a:not(.mean-expand):active {
    background-color: #f5f9f9 !important;
}

.mean-container .mean-nav ul li a.mean-expand:focus,
.mean-container .mean-nav ul li a.mean-expand:active,
.mean-container .mean-nav ul li a.mean-expand:hover,
.mean-container .mean-nav ul li a.mean-expand.mean-clicked {
    background-color: transparent !important;
    background: transparent !important;
    color: #007D79 !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Customize focus outline for media buttons */
.intl-media-btn:focus,
.intl-media-btn:active,
.intl-media-btn:focus-visible {
    outline: 1.5px solid #007D79 !important;
}

.natural_view .intl-media-btn:focus,
.natural_view .intl-media-btn:active,
.natural_view .intl-media-btn:focus-visible {
    outline: 1.5px solid #007D79 !important;
}

.labgrown_view .intl-media-btn:focus,
.labgrown_view .intl-media-btn:active,
.labgrown_view .intl-media-btn:focus-visible {
    outline: 1.5px solid #a47e43 !important;
}

/* Breadcrumb tooltip positioning and stacking overrides specifically for International Gemstones */
#front_breadcrumb {
    position: relative !important;
    z-index: 1005 !important; /* higher than #sticky_bar z-index (1000) to prevent tooltip clipping */
}

.icon-css a:last-child .tooltip-text {
    left: auto !important;
    right: 0 !important;
    transform: none !important;
}

.icon-css a:last-child .tooltip-text::after {
    left: auto !important;
    right: 15px !important;
    margin-left: 0 !important;
}

