/* ==========================================================================
   Shared: Bootstrap and app-wide overrides
   ========================================================================== */

.dropdown-menu {
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 10px 35px rgba(0,0,0,.22);
    backdrop-filter: blur(10px);
}

.dropdown-item {
    border-radius: 10px;
    padding: .55rem .75rem;
}

    .dropdown-item:hover {
        filter: brightness(1.02);
    }

    .dropdown-item.active,
    .dropdown-item:active {
        background: rgba(13,110,253,.12);
        color: inherit;
    }

/* Small gradient preview pill */
.theme-swatch {
    width: 26px;
    height: 14px;
    border-radius: 999px;
    display: inline-block;
    border: 1px solid rgba(0,0,0,.25);
    box-shadow: inset 0 1px 2px rgba(255,255,255,.25);
}

/* Hardcoded gradients to preview */
.swatch-blue {
    background: linear-gradient(180deg, rgba(21, 90, 150, 1) 43%, rgba(30, 115, 190, 1) 94%);
}

.swatch-grey {
    background: linear-gradient(180deg, #757575, #141414);
}

.swatch-pink {
    background: linear-gradient(180deg, #ff73b8, #7a0f4a);
}

.swatch-deep-purple {
    background: linear-gradient(180deg, #3a145e, #0b0610);
}

.swatch-dark {
    background: linear-gradient(180deg, #191d22 0%, #2b3138 22%, #1f242c 45%, #0d1117 70%, #000000 100% );
}

.swatch-metallica {
    background: linear-gradient( 180deg, #f1f2f4 0%, #cfd3d8 22%, #9aa0a8 45%, #5c626b 70%, #2a2f36 100% );
}

.swatch-silver {
    background: linear-gradient(180deg, rgb(255 255 255), #AAAAB3);
}

.opacity-95 {
    opacity: 0.95 !important;
}

.addr-line1 {
    font-weight: 600;
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* allow 2 lines BUT clamp inside fixed header height */
.addr-line2 {
    line-height: 1.1;
    font-size: .9rem;
    opacity: .85;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

#gtxDevelopment {
    top: 50% !important;
    height: 18rem !important;
    border-radius: 0.5rem;
    width: 25%;
}

.no-click {
    cursor: default;
}

#filterTerm::placeholder, .term::placeholder {
    color: rgba(255, 0, 0, 0.75);
    font-weight: bold;
}

.status-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 700;
    line-height: 1;
    color: #0f172a; /* readable on yellow/green */
    box-shadow: 0 0 0 2px rgba(0,0,0,.08) inset;
    user-select: none;
}

/* Three possible colors */
.status-h-0 {
    background: #22c55e;
}

.status-h-2 {
    background: #84cc16; /* 0-1h */
}

.status-h-6 {
    background: #facc15; /* 2-5h */
}

.status-h-24 {
    background: #fb923c; /* 6-23h */
}

.status-h-72 {
    background: #ef4444; /* 24-71h */
}

.collapse-toggle .icon-minus {
    display: none;
}

.collapse-toggle[aria-expanded="true"] .icon-plus {
    display: none;
}

.collapse-toggle[aria-expanded="true"] .icon-minus {
    display: inline-block;
}

/* Niceties */
.collapse-toggle {
    text-align: left;
}

    .collapse-toggle .toggle-icons {
        display: inline-flex;
        align-items: center;
    }

.ui-datepicker .ui-datepicker-prev span,
.ui-datepicker .ui-datepicker-next span {
    background-image: none !important;
    text-indent: 3px !important;
    font-size: 14px;
}

    .ui-datepicker .ui-datepicker-prev span::before {
        content: "◀";
    }

    .ui-datepicker .ui-datepicker-next span::before {
        content: "▶";
    }

.carousel-control-prev,
.carousel-control-next {
    width: auto; /* don't stretch the whole side */
    opacity: 1; /* keep fully visible */
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    --circle-size: 40px; /* tweak size here */
    width: var(--circle-size);
    height: var(--circle-size);
    border-radius: 50%;
    background-color: #fff; /* the white circle */
    box-shadow: 0 4px 12px rgba(0,0,0,.18);
    background-repeat: no-repeat, no-repeat;
    background-position: center, center; /* arrow centered; gradient fills */
    background-size: 50% 50%, 100% 100%; /* arrow size, gradient cover */
}

/* Black arrow icons on white circle (override Bootstrap's default white SVGs) */
.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M11 1 4 8l7 7'/%3e%3c/svg%3e"), linear-gradient(180deg, rgb(255 255 255), #AAAAB3);
}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 1l7 7-7 7'/%3e%3c/svg%3e"), linear-gradient(180deg, rgb(255 255 255), #AAAAB3);
}

/* Optional: nudge inward a bit */
.carousel-control-prev {
    left: 1rem;
}

.carousel-control-next {
    right: 1rem;
}

    /* Optional: small hover pop */
    .carousel-control-prev:hover .carousel-control-prev-icon,
    .carousel-control-next:hover .carousel-control-next-icon {
        transform: scale(1.06);
    }

.btn-close {
    width: 5px;
    height: 5px;
}

.fs-7 {
    font-size: 0.7rem !important;
}

/* ==========================================================================
   Inventory page
   ========================================================================== */

#filterByTerm {
    position: fixed !important;
    left: 50%;
    transform: translateX(-50%);
    justify-content: center !important;
}

#inventory {
    margin-top: 90px;
    max-height: 74vh; /* adjust depending on your header/filter bar height */
    overflow-y: auto;
    overflow-x: hidden;
    padding-bottom: 100px;
}

.inventory-mobile-filter-bar {
    width: 100%;
    display: flex;
    align-items: stretch;
    gap: .45rem;
}

.inventory-mobile-filter-btn {
    width: 100%;
    min-width: 0;
    flex: 1 1 auto;
    min-height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: .75rem;
    border: 1px solid rgba(0, 0, 0, .24);
    border-radius: .5rem;
    background: var(--gtx-grad, linear-gradient(180deg, rgba(21, 90, 150, 1) 43%, rgba(30, 115, 190, 1) 94%));
    color: #fff;
    font-weight: 800;
    box-shadow: 0 .75rem 1.75rem rgba(15, 23, 42, .18);
    cursor: pointer;
}

.inventory-mobile-filter-btn:hover,
.inventory-mobile-filter-btn:focus {
    background: var(--gtx-grad-rev, var(--gtx-grad, linear-gradient(0deg, rgba(21, 90, 150, 1) 43%, rgba(30, 115, 190, 1) 94%)));
    color: #fff;
}

.inventory-mobile-filter-btn.has-active-filters {
    border-color: rgba(255, 255, 255, .55);
    box-shadow: 0 .8rem 1.9rem rgba(15, 23, 42, .24);
}

.inventory-mobile-filter-action-btn {
    flex: 0 0 auto;
    width: 2rem;
    min-width: 2rem;
    height: 2rem;
    min-height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .12rem;
    padding: 0 .42rem !important;
    border-radius: .55rem !important;
    color: #111827;
    font-size: .82rem;
    line-height: 1;
    white-space: nowrap;
    margin-inline-end: 0 !important;
}

.inventory-mobile-filter-action-btn:hover,
.inventory-mobile-filter-action-btn:focus {
    color: #111827;
}

.inventory-mobile-filter-action-btn i {
    line-height: 1;
}

.inventory-mobile-close-btn .bi-binoculars {
    font-size: .78rem;
}

.inventory-mobile-close-btn .bi-x-lg {
    font-size: .58rem;
    margin-left: -.08rem;
}

.inventory-mobile-filter-title,
.inventory-mobile-filter-meta {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: .45rem;
}

.inventory-mobile-filter-title {
    flex: 1 1 auto;
    justify-content: flex-start;
}

.inventory-mobile-filter-meta {
    flex: 0 0 auto;
    font-size: inherit;
    font-weight: 800;
    opacity: .94;
    white-space: nowrap;
}

.inventory-mobile-active-badge {
    min-width: 1.45rem;
    height: 1.45rem;
    padding: 0 .38rem;
    border-radius: 999px;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .94);
    color: #111827;
    font-size: .75rem;
    font-weight: 900;
    line-height: 1;
}

.inventory-mobile-active-badge.is-active {
    display: inline-flex;
}

#inventorySidebarPane.inventory-filter-offcanvas {
    color: #111827;
    background: #f8fafc;
}

.inventory-filter-offcanvas-header {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 3.55rem;
    padding: .8rem 1rem;
    overflow: hidden;
    background: var(--gtx-grad, linear-gradient(180deg, rgba(21, 90, 150, 1) 43%, rgba(30, 115, 190, 1) 94%));
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, .2);
    box-shadow: 0 .85rem 1.65rem rgba(15, 23, 42, .22);
}

.inventory-filter-offcanvas-header::after {
    content: "";
    position: absolute;
    right: 1rem;
    bottom: 0;
    left: 1rem;
    height: 1px;
    background: rgba(255, 255, 255, .38);
    pointer-events: none;
}

.inventory-filter-offcanvas-header > * {
    position: relative;
    z-index: 1;
}

.inventory-filter-offcanvas-header .offcanvas-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .32rem;
    width: auto;
    margin: 0;
    color: #fff !important;
    font-size: .9rem;
    font-weight: 600;
    line-height: 1.15;
    white-space: nowrap;
}

.inventory-filter-offcanvas-header .offcanvas-title .me-2 {
    margin-right: .1rem !important;
}

.inventory-filter-offcanvas-header .offcanvas-title i {
    width: 1.45rem;
    height: 1.45rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
}

.inventory-filter-offcanvas-header .offcanvas-title i,
.inventory-filter-offcanvas-header .offcanvas-title span {
    color: #fff !important;
}

.inventory-filter-offcanvas-header .btn-close {
    width: 2.2rem;
    height: 2.2rem;
    flex: 0 0 2.2rem;
    padding: .65rem;
    border: 1px solid rgba(255, 255, 255, .32);
    border-radius: .55rem;
    background-color: rgba(255, 255, 255, .16);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707A1 1 0 0 1 .293.293z'/%3e%3c/svg%3e");
    background-position: center;
    background-repeat: no-repeat;
    background-size: .75rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 .35rem .75rem rgba(0, 0, 0, .18);
    filter: none !important;
    opacity: 1;
}

.inventory-filter-offcanvas-header .btn-close:hover,
.inventory-filter-offcanvas-header .btn-close:focus {
    background-color: rgba(255, 255, 255, .24);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .24), 0 .45rem .9rem rgba(0, 0, 0, .22);
}

.inventory-filter-offcanvas-title-wrap {
    width: auto;
    min-width: 0;
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.inventory-filter-offcanvas-header .inventory-filter-offcanvas-clear-btn,
.inventory-filter-offcanvas-header .inventory-filter-offcanvas-close-btn {
    min-width: 4.85rem;
    height: 2.2rem;
    min-height: 2.2rem;
    padding: 0 .45rem !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .3rem;
    margin-inline-end: 0 !important;
}

.inventory-filter-offcanvas-header #inventoryMobileFilterCount {
    min-width: auto;
    height: auto;
    padding: 0;
    border-radius: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 0;
    font-size: inherit;
    font-weight: 800;
}

.inventory-filter-offcanvas-body {
    padding: 0;
    overflow: hidden;
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
}

@media (min-width: 992px) {
    #inventorySidebarPane.inventory-filter-offcanvas {
        position: static !important;
        visibility: visible !important;
        transform: none !important;
        z-index: auto !important;
        width: var(--inventory-sidebar-width) !important;
        height: 100% !important;
        max-height: none !important;
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        transition: flex-basis .18s ease, width .18s ease, opacity .18s ease !important;
    }

    #inventorySidebarPane.inventory-filter-offcanvas:not(.show) {
        visibility: visible !important;
    }

    #inventorySidebarPane .inventory-filter-offcanvas-body {
        height: 100%;
        min-height: 0;
        display: flex;
        flex-direction: column;
        overflow: visible;
        background: transparent;
    }
}

@media (max-width: 991.98px) {
    #inventorySplit.inventory-split {
        height: 100%;
        min-height: 0;
        overflow: hidden;
    }

    #inventorySidebarPane.inventory-filter-offcanvas {
        top: 0 !important;
        height: 88vh !important;
        height: min(88dvh, calc(100dvh - env(safe-area-inset-bottom))) !important;
        max-height: calc(100vh - env(safe-area-inset-bottom)) !important;
        max-height: calc(100dvh - env(safe-area-inset-bottom)) !important;
        width: 100% !important;
        max-width: none !important;
        border: 0 !important;
        border-radius: 0 0 1rem 1rem;
        background: #f8fafc;
        box-shadow: 0 1.15rem 3rem rgba(15, 23, 42, .36), 0 .25rem .7rem rgba(15, 23, 42, .2);
        overflow: hidden;
        z-index: 1085 !important;
        transition: transform .28s ease-in-out !important;
    }

    #inventorySplit.inventory-sidebar-collapsed #inventorySidebarPane.inventory-filter-offcanvas,
    #inventorySidebarPane.inventory-filter-offcanvas.show {
        width: 100% !important;
        flex-basis: auto !important;
        min-width: 0 !important;
        opacity: 1 !important;
    }

    #inventorySidebarPane .inventory-filter-offcanvas-body {
        height: auto;
        flex: 1 1 auto;
        min-height: 0;
        background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
    }

    #inventorySidebarPane .inventory-filter-rail,
    #inventorySidebarPane .inventory-filter-shell {
        background: transparent;
    }

    #inventorySidebarPane .inventory-filter-stats {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: .65rem;
        padding: .75rem .9rem;
        border-bottom: 1px solid rgba(15, 23, 42, .12);
        background: linear-gradient(180deg, #ffffff 0%, #f3f6fa 100%);
        color: #111827 !important;
        box-shadow: 0 .35rem .9rem rgba(15, 23, 42, .08);
    }

    #inventorySidebarPane .inventory-filter-match {
        flex: 1 1 auto;
        justify-content: flex-start;
        color: #111827;
        font-size: .9rem;
        font-weight: 900;
    }

    #inventorySidebarPane #inventoryFilterCount {
        font-size: 1rem;
    }

    #inventorySidebarPane .inventory-clear-btn {
        min-height: 2.2rem;
        flex: 0 0 auto;
        border: 1px solid rgba(15, 23, 42, .18) !important;
        border-radius: .55rem !important;
        box-shadow: none !important;
        white-space: nowrap;
    }

    #inventorySidebarPane .inventory-filter-scroll {
        padding: .7rem .7rem calc(1rem + env(safe-area-inset-bottom));
        background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
    }

    #inventorySidebarPane .inventory-filter-panel {
        margin-bottom: .6rem;
        border-color: rgba(15, 23, 42, .11);
        border-radius: .7rem;
        box-shadow: 0 .45rem 1rem rgba(15, 23, 42, .08);
    }

    #inventorySidebarPane .inventory-filter-panel-toggle {
        min-height: 2.9rem;
        padding: .7rem .8rem .7rem .95rem;
        background: linear-gradient(180deg, #ffffff 0%, #f4f7fb 100%);
    }

    #inventorySidebarPane .inventory-filter-panel-toggle::before {
        width: .22rem;
    }

    #inventorySidebarPane .inventory-filter-panel-title i {
        width: 1.65rem;
        height: 1.65rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: .45rem;
        background: var(--gtx-grad, linear-gradient(180deg, rgba(21, 90, 150, 1) 43%, rgba(30, 115, 190, 1) 94%));
        color: #fff;
        font-size: .9rem;
        box-shadow: 0 .25rem .55rem rgba(15, 23, 42, .18);
    }

    #inventorySidebarPane .inventory-filter-panel-toggle::after {
        width: 1.6rem;
        height: 1.6rem;
        border-radius: .45rem;
        box-shadow: none;
    }

    #inventorySidebarPane .inventory-filter-panel-body {
        padding: .45rem .6rem .75rem;
    }

    #inventorySidebarPane .inventory-check-row {
        min-height: 2.25rem;
        padding: .38rem .45rem;
    }

    #inventorySidebarPane .inventory-check-hit,
    #inventorySidebarPane .inventory-range-output,
    #inventorySidebarPane .inventory-filter-panel-count {
        border: 1px solid rgba(15, 23, 42, .08);
        background: #eef2f7;
    }

    .inventory-results-zone #filterByTerm {
        position: static !important;
        left: auto !important;
        transform: none !important;
        width: 100%;
        margin: .55rem 0 0 !important;
        padding: 0 !important;
    }

    .inventory-results-zone #filterByTerm #filterWrapper {
        width: 100% !important;
        left: auto !important;
    }

    .inventory-results-zone #filterByTerm .inventory-term-search {
        width: 100%;
        justify-content: center !important;
    }

    .inventory-results-zone #filterTerm {
        min-height: 2.75rem;
    }

    .inventory-results-zone #inventory {
        margin-top: .75rem !important;
        padding: .1rem .05rem calc(5.25rem + env(safe-area-inset-bottom)) !important;
        max-height: none !important;
    }
}

@media (max-width: 767.98px) {
    .page-title .inventory-details-page-title {
        font-size: .92rem !important;
        line-height: 1.12;
    }

    .inventory-results-zone #filterByTerm {
        flex-wrap: nowrap !important;
    }
    .inventory-results-zone #filterByTerm #filterWrapper {
        width: min(82vw, 18rem) !important;
        max-width: 100%;
        flex-wrap: nowrap;
    }

    .inventory-results-zone #filterByTerm .inventory-term-search {
        flex: 0 1 auto;
        justify-content: center !important;
    }

    .inventory-results-zone #filterByTerm #filterTerm {
        width: 1% !important;
        min-width: 0 !important;
        flex: 1 1 auto;
    }

    .inventory-results-zone #filterByTerm .filterLiked,
    .inventory-results-zone #filterByTerm .filterLast {
        flex: 0 0 2.55rem;
        width: 2.55rem;
        justify-content: center;
    }
}

/* Absolutely fill each slide, then flex-center the image */
.container-fluid .card {
    width: 18rem; /* adjust to your taste (e.g., 16rem, 20rem) */
    border: 0;
    border-radius: 0.75rem;
    overflow: hidden; /* keep rounded corners clean */
}

    /* The image becomes a fixed-size frame with gray background */
    .container-fluid .card .card-img-top {
        display: block;
        width: 100%;
        aspect-ratio: 3 / 4; /* square frame; change to 4 / 3 or 3 / 4 if you prefer */
        object-fit: contain; /* keep the original ratio, no cropping */
        object-position: center;
    }

    /* Optional: a little polish */
    .container-fluid .card.shadow {
        box-shadow: 0 6px 18px rgba(0,0,0,.08);
    }

    .container-fluid .card .card-title {
        margin-bottom: .25rem;
    }

    .container-fluid .card .card-subtitle {
        color: #6c757d;
    }

.slide-box {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0.25rem; /* optional: small padding so images don't kiss edges */
}

    /* Scale without distortion and stay centered */
    .slide-box img {
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        object-position: center;
        display: block;
    }

.card-header, .card-footer {
    border-bottom: none;
}

.small-offcanvas {
    height: 5rem !important;
    border: 1.5px slategrey outset;
    border-radius: 0.5rem 0 0 0.5rem; /* rounded corners on left side */
    background: linear-gradient(180deg, rgb(255 255 255), #AAAAB3);
    top: 85vh !important;
    transform: translateY(-50%) !important; /* vertically center */
    max-height: none !important; /* allow fixed height */
}

.V {
    border-bottom-color: purple !important;
    border-bottom-width: 2px !important;
    color: purple !important;
}

.G {
    border-bottom-color: green !important;
    border-bottom-width: 2px !important;
    color: green !important;
}

.X {
    border-bottom-color: #155A96 !important;
    border-bottom-width: 2px !important;
    color: #155A96 !important;
}

.T {
    border-bottom-color: red !important;
    border-bottom-width: 2px !important;
    color: red !important;
}

/* ==========================================================================
   Home page
   ========================================================================== */

.btn-container {
    position: absolute;
    bottom: 6vh;
    display: flex;
    flex-direction: row;
}

.home-inventory-cta {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 12;
    width: auto !important;
    transform: translate(-50%, -50%);
}

.home-inventory-cta .btn-big-gradient,
.home-cta-actions .btn-big-gradient {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 14rem;
    border-color: rgba(0, 0, 0, .35);
    background: var(--gtx-grad, linear-gradient(180deg, rgba(21, 90, 150, 1) 43%, rgba(30, 115, 190, 1) 94%));
    color: #fff;
    box-shadow: 0 12px 24px rgba(0, 0, 0, .24);
    text-shadow: 0 1px 2px rgba(0, 0, 0, .45);
}

.home-inventory-cta .btn-big-gradient:hover,
.home-inventory-cta .btn-big-gradient:focus,
.home-cta-actions .btn-big-gradient:hover,
.home-cta-actions .btn-big-gradient:focus {
    background: var(--gtx-grad-rev, var(--gtx-grad, linear-gradient(0deg, rgba(21, 90, 150, 1) 43%, rgba(30, 115, 190, 1) 94%)));
    border-color: rgba(0, 0, 0, .45);
    color: #fff;
}

.home-inventory-cta .bi,
.home-cta-actions .bi {
    font-size: 1.35rem;
    line-height: 1;
}

.btn-big-gradient-yellow {
    font-size: 1.7rem; /* Large text */
    padding: 1.2rem 2rem; /* Large padding */
    border-width: 1px;
    border-radius: 1.6rem;
    background: #155A96;
    background: linear-gradient(180deg, #a16f0d, #f0a40e);
    color: white;
    transition: transform 0.2s ease;
}

    .btn-big-gradient-yellow:hover {
        transform: scale(1.05);
        background: #155A96;
        background: linear-gradient(0deg, #a16f0d, #f0a40e);
        color: white;
    }

.btn-big-gradient {
    font-size: 1.7rem; /* Large text */
    padding: 1.2rem 2rem; /* Large padding */
    border-width: 1px;
    border-radius: 1.6rem;
    background: #155A96;
    background: linear-gradient(180deg, rgba(21, 90, 150, 1) 43%, rgba(30, 115, 190, 1) 94%);
    color: white;
    transition: transform 0.2s ease;
}

    .btn-big-gradient:hover {
        transform: scale(1.05);
        background: linear-gradient(0deg, rgba(21, 90, 150, 1) 43%, rgba(30, 115, 190, 1) 94%);
        color: white;
    }

.btn-gradient {
    border-radius: 0.5rem;
    background: #155A96;
    background: linear-gradient(180deg, rgba(21, 90, 150, 1) 43%, rgba(30, 115, 190, 1) 94%);
    color: white;
    transition: transform 0.2s ease;
}

    .btn-gradient:hover {
        background: linear-gradient(0deg, rgba(21, 90, 150, 1) 43%, rgba(30, 115, 190, 1) 94%);
    }

.btn-gradient-grey {
    border: none;
    background: linear-gradient(180deg, rgb(255 255 255), #AAAAB3);
    margin-inline-end: 0.15rem;
}

    .btn-gradient-grey:hover {
        background: linear-gradient(180deg, rgb(255 255 255), #AAAAB3);
    }

    .btn-gradient-grey.active {
        background: #155A96;
        background: linear-gradient(180deg, rgba(21, 90, 150, 1) 43%, rgba(30, 115, 190, 1) 94%);
        color: white;
    }


.btn-gradient-green {
    border-color: transparent;
    background: linear-gradient(180deg, #3d8044, #5cbf66);
    margin-inline-end: 0.15rem;
}

    .btn-gradient-green:hover {
        background: linear-gradient(0deg, #3d8044, #5cbf66);
    }

/* ==========================================================================
   Details and Majordome pages
   ========================================================================== */

.detail-badge {
    top: -10px !important;
}

.overlay-image-overlay {
    position: absolute;
    bottom: 15px;
    height: 12.5%; /* 1/8th of height */
    width: 96%;
    background: black;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    padding: 0.5rem;
    box-sizing: border-box;
}

.overlay-image-container {
}

    .overlay-image-container img {
        width: 100%;
        height: auto;
        display: block;
    }

.overlay-text {
    font-size: 14px;
    font-family: "Lato", sans-serif;
    font-weight: normal;
    color: white;
    line-height: 15px;
    margin: 5px;
}

/* Sortables */
.sortable-gallery-ghost {
    opacity: 0.4;
    background: rgba(0, 0, 0, 0.4) !important;
}

.sortable-gallery-chosen {
    border: 4px solid grey !important;
}

.sortable-gallery-drag {
    background: #727171 !important;
}

#sortable-gallery {
    list-style: none;
    overflow-y: auto;
    height: 70vh;
}

    #sortable-gallery li {
        margin: 5px;
        cursor: move;
        touch-action: none;
    }

/*Tiny editor*/
.tox-statusbar, .tox-promotion {
    display: none !important;
}

.gallery-item:first-child {
    background-color: rgba(0,0,0,0.2);
    border: 1px solid grey;
}

    .gallery-item:first-child::after {
        content: "Default";
        margin-left: 35px;
        font-weight: bolder;
        text-transform: uppercase;
        text-shadow: 2px 2px 3px #8D8484;
    }

.video-background-video {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* true centering */
    object-fit: cover; /* harmless on browsers that behave */
    object-position: center center;
    /* iOS/WebKit sometimes needs this to avoid weird compositing offsets */
    transform-origin: center center;
    will-change: transform;
}

#filterTerm {
    min-width: 220px;
    max-width: 420px;
}


/* ==========================================================================
   Schedule and contact helpers
   ========================================================================== */

.open-hours {
    max-width: 400px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.open-row {
    display: flex;
    padding: 8px 12px;
    border-bottom: 1px solid #eee;
    background-color: #fafafa;
}

    .open-row:last-child {
        border-bottom: none;
    }

.open-cell {
    flex: 1;
    padding: 4px 8px;
    color: #333;
}

.scroll-button {
    height: 120px; /* Match approximate scaled card height */
    width: 33px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-container {
    overflow-x: hidden;
    scroll-behavior: smooth;
    white-space: nowrap;
    margin-bottom: 20px;
}

.card {
    width: 320px !important;
    min-height: 320px;
    flex: 0 0 auto;
    margin-bottom: 0.5rem;
}

.card-wrapper {
    flex: 0 0 auto;
    height: 100%; /* ensures card fills available height */
}

    /* Optional: ensure cards themselves have consistent height */
    .card-wrapper > * {
        height: 100%;
        display: flex;
        flex-direction: column;
    }

@media (max-width: 991px) {
    .inventory-details-layout {
        width: 100%;
        gap: 1rem !important;
        padding-right: .75rem;
        padding-left: .75rem;
    }

    .inventory-details-actions > .btn,
    .inventory-details-actions > a.btn,
    .inventory-details-actions + .details-suggestions {
        margin-bottom: 1rem !important;
    }

    .inventory-details-actions > .btn:last-child,
    .inventory-details-actions > a.btn:last-child {
        margin-bottom: 0 !important;
    }

    .inventory-details-main #nav-details > .row.justify-content-center.well.mb-3:last-child {
        margin-bottom: 0 !important;
    }
}

.inventory-details-main {
    min-width: 0;
}

.inventory-details-actions {
    min-width: 0;
}

.vehicle-style-heading {
    position: relative;
    isolation: isolate;
    display: flex;
    justify-content: center;
    width: fit-content;
    max-width: min(100%, 70rem);
    padding: .9rem 1.7rem;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 14% 18%, rgba(255, 193, 7, .34), transparent 28%),
        linear-gradient(135deg, rgba(13, 18, 27, .98) 0%, rgba(21, 90, 150, .96) 54%, rgba(124, 21, 29, .96) 100%);
    border: 1px solid rgba(255, 255, 255, .48);
    border-radius: .85rem;
    box-shadow:
        0 .75rem 1.65rem rgba(0, 0, 0, .24),
        inset 0 1px 0 rgba(255, 255, 255, .38),
        inset 0 -1px 0 rgba(0, 0, 0, .25);
}

.vehicle-style-heading::before {
    content: "";
    position: absolute;
    top: -40%;
    bottom: -40%;
    left: -55%;
    z-index: 0;
    width: 42%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .32), transparent);
    transform: skewX(-18deg);
    animation: vehicle-style-heading-shine 5.5s ease-in-out infinite;
}

.vehicle-style-heading::after {
    content: "";
    position: absolute;
    right: 1.1rem;
    bottom: 0;
    left: 1.1rem;
    z-index: 1;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ffc107, rgba(255, 255, 255, .92), #b11226, transparent);
}

.vehicle-style-heading strong {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .7rem;
    max-width: 100%;
    margin: 0;
    font-size: clamp(1.18rem, 3vw, 1.7rem);
    line-height: 1.12;
    text-align: center;
    text-wrap: balance;
}

.vehicle-style-heading-text {
    min-width: 0;
    overflow-wrap: anywhere;
}

.vehicle-style-heading-logo {
    flex: 0 0 auto;
    display: block;
    width: auto;
    height: 30px !important;
    max-width: 8.5rem;
    margin-left: 0 !important;
    margin-right: .2rem !important;
    object-fit: contain;
    border: 1px solid rgba(255, 255, 255, .7);
    filter: drop-shadow(0 1px 4px rgba(255, 255, 255, .35));
}

@keyframes vehicle-style-heading-shine {
    0%, 58% {
        left: -55%;
    }

    82%, 100% {
        left: 115%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .vehicle-style-heading::before {
        animation: none;
        opacity: .35;
    }
}

@media (max-width: 991px) {
    .vehicle-style-heading {
        max-width: calc(100% - 1rem);
        padding: .82rem 1rem;
        border-radius: .82rem;
    }

    .vehicle-style-heading strong {
        gap: .5rem;
        font-size: clamp(1.12rem, 5.4vw, 1.42rem);
    }
}

.details-suggestions {
    width: 100%;
    padding-bottom: 1.5rem;
}

.details-suggestion-rail {
    width: 100%;
    min-width: 0;
    align-items: center;
    gap: .65rem;
}

.details-suggestion-rail .scroll-button {
    flex: 0 0 3.25rem;
    width: 3.25rem;
    height: 3.25rem;
    min-height: 3.25rem;
    align-self: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    border: 1px solid rgba(15, 23, 42, .28) !important;
    border-radius: 50% !important;
    background: radial-gradient(circle at 34% 24%, #fff 0%, #f7f9fc 32%, #c9ced8 68%, #8e96a5 100%);
    color: #111827;
    font-size: 1.55rem;
    line-height: 1;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 .45rem 1rem rgba(15, 23, 42, .22);
    transition: background .18s ease, box-shadow .18s ease, transform .18s ease;
}

.details-suggestion-rail .scroll-button::before {
    display: block;
    line-height: 1;
    vertical-align: 0;
}

.details-suggestion-rail .scroll-button:hover,
.details-suggestion-rail .scroll-button:focus {
    background: radial-gradient(circle at 34% 24%, #fff 0%, #f2f6fb 30%, #b9c0cc 68%, #7d8797 100%);
    color: #111827;
    transform: translateY(-1px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), 0 .65rem 1.25rem rgba(15, 23, 42, .26);
}

.details-suggestion-rail .scroll-button:active {
    transform: translateY(0);
    box-shadow: inset 0 .18rem .35rem rgba(15, 23, 42, .18), 0 .2rem .45rem rgba(15, 23, 42, .18);
}

.details-suggestion-rail .scroll-container {
    flex: 1 1 auto;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    white-space: normal;
    margin-bottom: 0;
    padding: .75rem;
    -webkit-overflow-scrolling: touch;
}

.details-suggestion-list {
    justify-content: flex-start;
    align-items: stretch;
    gap: .75rem;
    width: max-content;
    min-width: 100%;
}

.details-suggestion-list .card-wrapper {
    flex: 0 0 320px;
    height: auto;
}

.details-suggestion-list .hover-bw {
    width: 100%;
}

@media (max-width: 991.98px) {
    .details-suggestion-rail {
        display: block !important;
    }

    .details-suggestion-rail .scroll-button {
        display: none;
    }

    .details-suggestion-rail .scroll-container {
        overflow: visible;
    }

    .details-suggestion-list {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        min-width: 0;
    }

    .details-suggestion-list .card-wrapper {
        flex: 0 0 auto;
        width: 100%;
    }

    .details-suggestions .gtx-ad-card {
        grid-template-columns: 118px minmax(0, 1fr);
        gap: .55rem;
        min-height: 126px;
        padding: .5rem;
    }

    .details-suggestions .gtx-ad-card-media {
        min-height: 112px;
    }

    .details-suggestions .gtx-ad-card-body {
        gap: .18rem;
    }

    .details-suggestions .gtx-ad-card-mileage {
        padding: .12rem .32rem;
        font-size: .68rem;
    }

    .details-suggestions .gtx-ad-card-title {
        font-size: .98rem;
        line-height: 1.08;
    }

    .details-suggestions .gtx-ad-card-subtitle {
        font-size: .8rem;
        line-height: 1.1;
    }

    .details-suggestions .gtx-ad-price-panel {
        gap: .12rem;
        padding: .32rem .38rem;
    }

    .details-suggestions .gtx-ad-price-row {
        font-size: .72rem;
        line-height: 1.08;
    }

    .details-suggestions .gtx-ad-transparent {
        font-size: .78rem;
    }

    .details-suggestions .gtx-ad-transparent .gtx-ad-price-amount {
        font-size: .92rem;
    }
}

.gtx-ad-card {
    position: relative;
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: .38rem;
    width: 100%;
    min-height: 98px;
    padding: .34rem;
    border: 1px solid rgba(15, 23, 42, .14);
    border-radius: .55rem;
    background: linear-gradient(180deg, #ffffff 0%, #eef2f7 100%);
    color: #111827;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 .35rem .75rem rgba(15, 23, 42, .13);
    transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease, filter .2s ease;
}

.gtx-ad-card:hover,
.gtx-ad-card:focus {
    color: #111827;
    text-decoration: none;
    transform: translateY(-1px);
    filter: none;
    border-color: rgba(15, 23, 42, .28);
    box-shadow: 0 .55rem 1rem rgba(15, 23, 42, .2);
}

.gtx-ad-card.hover-bw:hover {
    filter: none;
}

.gtx-ad-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: .24rem;
    background: var(--gtx-grad, linear-gradient(180deg, rgba(21, 90, 150, 1) 43%, rgba(30, 115, 190, 1) 94%));
}

.gtx-ad-card-media {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border-radius: .42rem;
    background: #e5e7eb;
    height: 100%;
    min-height: 90px;
    align-self: stretch;
}

.gtx-ad-card-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.gtx-ad-card-mileage {
    position: absolute;
    right: .3rem;
    bottom: .3rem;
    max-width: calc(100% - .6rem);
    padding: .08rem .25rem;
    border-radius: .32rem;
    background: rgba(17, 24, 39, .78);
    color: #fff;
    font-size: .58rem;
    font-weight: 900;
    line-height: 1.1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gtx-ad-card-body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: .12rem;
}

.gtx-ad-card-title {
    min-width: 0;
    margin: 0;
    color: #111827;
    font-size: .78rem;
    font-weight: 900;
    line-height: 1.02;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gtx-ad-card-subtitle {
    min-width: 0;
    color: #4b5563;
    font-size: .62rem;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gtx-ad-price-panel {
    display: grid;
    gap: .06rem;
    margin-top: .05rem;
    padding: .2rem .25rem;
    border: 1px solid rgba(15, 23, 42, .1);
    border-radius: .4rem;
    background: rgba(255, 255, 255, .72);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75);
}

.gtx-ad-price-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: .35rem;
    min-width: 0;
    color: #374151;
    font-size: .58rem;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

.gtx-ad-price-row span:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
}

.gtx-ad-price-amount {
    flex: 0 0 auto;
    color: #111827;
    font-weight: 900;
}

.gtx-ad-retail .gtx-ad-price-amount {
    color: #6b7280;
    text-decoration: line-through;
}

.gtx-ad-transparent {
    margin-top: .04rem;
    padding-top: .12rem;
    border-top: 1px dashed rgba(15, 23, 42, .2);
    color: #111827;
    font-size: .64rem;
}

.gtx-ad-transparent .gtx-ad-price-amount {
    color: #0f5132;
    font-size: .76rem;
}

@media (max-width: 575.98px) {
    .gtx-ad-card {
        grid-template-columns: 96px minmax(0, 1fr);
        min-height: 94px;
    }

    .gtx-ad-card-media {
        min-height: 86px;
    }
}

.card:hover {
    transform: translateX(-2px) translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4), inset 0 2px 4px rgba(255, 255, 255, 0.2);
}

.no-wrap-group {
    white-space: nowrap; /* Prevent wrapping */
    display: flex; /* Flexbox ensures items stay in one row */
    flex-wrap: nowrap; /* No wrapping */
    align-items: center; /* Vertical alignment */
    overflow: hidden; /* Optional: prevents overflow glitches */
}

.term {
    height: 36px;
    flex-grow: 1;
}

.right {
    text-align: right;
}

.h-10 {
    height: 10% !important;
}

.vh-75 {
    height: 75vh !important;
}

.w-5 {
    width: 5% !important;
}

.w-10 {
    width: 10% !important;
}

.w-15 {
    width: 15% !important;
}

.w-20 {
    width: 20% !important;
}

.w-30 {
    width: 30% !important;
}

.w-35 {
    width: 35% !important;
}

.w-40 {
    width: 40% !important;
}

.form-control:focus {
    color: var(--bs-body-color);
    background-color: var(--bs-body-bg);
    border: 2px solid #999;
    outline: 0;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);
}

.fake-input input {
    pointer-events: none;
}

input::placeholder {
    font-size: 14px;
    opacity: 0.6 !important;
}

.small-text {
    font-size: 12px;
    color: darkslategrey;
    font-weight: bold
}


.very-small-text {
    font-size: 10px;
    color: darkslategrey;
    font-weight: bold
}

.medium-small-text {
    font-size: 14px;
    color: darkslategrey;
    font-weight: bold
}

.well {
    min-height: 20px;
    background-color: #f5f5f5;
    border: 1px solid #e3e3e3;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);
}

.menu-strip {
    background: #155A96;
    background: linear-gradient(180deg, rgba(21, 90, 150, 1) 43%, rgba(30, 115, 190, 1) 94%);
    border-bottom: 2px solid darkred;
    border-top: 1px solid #ffc107;
}

.page-title {
    height: 55px;
    border-bottom: 2px solid rgba(0, 0, 0, .28);
    border-bottom: 2px solid rgba(0, 0, 0, .28);
    text-shadow: 0 1px 2px rgba(0, 0, 0, .38);
}

.page-title-mobile-logo {
    display: block;
    height: 2rem;
    width: auto;
    max-width: 8rem;
    flex-shrink: 0;
    object-fit: contain;
    vertical-align: middle;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .35));
}

.page-title-mobile-call {
    line-height: 1;
}

.page-title-mobile-call span {
    white-space: nowrap;
    line-height: 1;
}

.page-title-inventory-contact {
    max-width: min(56vw, 52rem);
    gap: .55rem;
}

.page-title-inventory-address {
    max-width: min(46vw, 42rem);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
}

.page-title-inventory-address > span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.page-title-inventory-address.copied {
    color: #0b7a2f;
    text-decoration-color: #0b7a2f;
}

@media (max-width: 767.98px) {
    .page-title {
        height: 48px !important;
        min-height: 48px;
        padding-right: .25rem !important;
        padding-left: .25rem !important;
        overflow: hidden;
    }

    .page-title > .position-absolute.start-0 {
        display: inline-flex;
        align-items: center;
        gap: .22rem;
        margin-left: 5rem !important;
        max-width: 4.35rem;
        z-index: 3;
    }

    .page-title .btn {
        min-width: 2rem;
        min-height: 2rem;
        padding: 0 .42rem !important;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: .2rem;
        border-radius: .55rem !important;
        font-size: .82rem;
        line-height: 1;
        white-space: nowrap;
    }

    .page-title #btnPrev,
    .page-title #btnUp,
    .page-title #btnNext {
        width: 2rem;
        min-width: 2rem;
        height: 2rem;
        min-height: 2rem;
        margin-top: 0 !important;
        padding: 0 !important;
    }

    .page-title #btnNext {
        margin-right: 1rem !important;
    }

    .page-title .page-title-mobile-call {
        width: auto !important;
        max-width: 8.35rem;
        margin-right: .5rem !important;
        padding: 0 .46rem !important;
        gap: .2rem !important;
        font-size: .71rem !important;
        z-index: 3;
    }

    .page-title .page-title-mobile-call .bi {
        font-size: .78rem;
    }

    .page-title.page-title-mobile-call-enabled #title {
        width: calc(100% - 12rem) !important;
        max-width: calc(100% - 12rem);
    }

    .page-title #title {
        width: calc(100% - 7rem) !important;
        max-width: calc(100% - 7rem);
        min-width: 0;
        padding-right: .2rem !important;
        padding-left: .2rem !important;
        gap: .25rem !important;
    }

    .page-title #title:has(.inventory-details-page-title) {
        padding-left: 3.7rem !important;
    }

    .page-title #title .main-title {
        max-width: 100% !important;
        font-size: .9rem;
        line-height: 1.08;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    html.theme-blue .page-title #title .main-title,
    html.theme-grey .page-title #title .main-title,
    html.theme-pink .page-title #title .main-title,
    html.theme-deep-purple .page-title #title .main-title,
    html.theme-dark .page-title #title .main-title {
        color: #fff !important;
    }

    html.theme-silver .page-title #title .main-title,
    html.theme-metallica .page-title #title .main-title {
        color: #111 !important;
        text-shadow: none;
    }

    .page-title .inventory-details-page-title {
        font-size: .9rem !important;
        color: inherit !important;
    }

    .page-title-mobile-logo {
        height: clamp(1.65rem, 5.6vw, 2.15rem);
        max-width: min(38vw, 7.25rem);
    }

    #price_p {
        min-height: 2rem;
        padding: .15rem .42rem !important;
        margin-right: .35rem !important;
        margin-left: .35rem !important;
        border-radius: .5rem !important;
        line-height: 1;
    }

    #price_p strong {
        font-size: .9rem !important;
        line-height: 1;
    }

    .make.img-fluid {
        padding-right: .34rem !important;
        padding-left: .34rem !important;
        margin-right: .35rem !important;
        margin-left: .35rem !important;
        border-radius: .5rem !important;
        object-fit: contain;
    }
}

@media (max-width: 479.98px) {
    .page-title {
        height: 44px !important;
        min-height: 44px;
    }

    .page-title > .position-absolute.start-0 {
        gap: .16rem;
        margin-left: 4rem !important;
        max-width: 3.95rem;
    }

    .page-title .btn {
        min-width: 1.78rem;
        min-height: 1.78rem;
        padding: 0 .34rem !important;
        border-radius: .48rem !important;
        font-size: .74rem;
    }

    .page-title #btnPrev,
    .page-title #btnUp,
    .page-title #btnNext {
        width: 1.78rem;
        min-width: 1.78rem;
        height: 1.78rem;
        min-height: 1.78rem;
    }

    .page-title .page-title-mobile-call {
        max-width: 7.8rem;
        margin-right: .35rem !important;
        padding: 0 .34rem !important;
        font-size: .64rem !important;
    }

    .page-title .page-title-mobile-call .bi {
        font-size: .7rem;
    }

    .inventory-mobile-filter-action-btn {
        width: 1.78rem;
        min-width: 1.78rem;
        height: 1.78rem;
        min-height: 1.78rem;
        padding: 0 .34rem !important;
        border-radius: .48rem !important;
        font-size: .74rem;
    }

    .inventory-mobile-close-btn .bi-binoculars {
        font-size: .68rem;
    }

    .inventory-mobile-close-btn .bi-x-lg {
        font-size: .52rem;
    }

    .page-title #title {
        width: calc(100% - 6.35rem) !important;
        max-width: calc(100% - 6.35rem);
        gap: .18rem !important;
    }

    .page-title.page-title-mobile-call-enabled #title {
        width: calc(100% - 10.85rem) !important;
        max-width: calc(100% - 10.85rem);
    }

    .page-title #title:has(.inventory-details-page-title) {
        padding-left: 3.05rem !important;
    }

    .page-title #title .main-title {
        font-size: .8rem;
    }

    .page-title .inventory-details-page-title {
        font-size: .74rem !important;
        line-height: 1.06;
    }

    .page-title-mobile-logo {
        height: clamp(1.9rem, 10vw, 2.5rem);
        max-width: min(44vw, 7.4rem);
    }

    #price_p {
        min-height: 1.55rem;
        padding: .12rem .32rem !important;
        margin-right: .2rem !important;
        margin-left: .2rem !important;
        border-radius: .42rem !important;
    }

    #price_p strong {
        font-size: .72rem !important;
    }

}

.field-validation-error {
    color: red;
    font-size: small;
    margin-top: -2px;
    margin-left: 10px;
}
/*#region Modal */
.modal-header {
    background-image: url('../img/Backgrounds/rbg.png');
    background: #155A96;
    background: linear-gradient(180deg, rgba(21, 90, 150, 1) 43%, rgba(30, 115, 190, 1) 94%);
    border-bottom: 2px solid darkred;
}

.modal-title {
    margin-bottom: 0;
    line-height: var(--bs-modal-title-line-height);
    color: white;
}

.modal-content {
    border-radius: 12px !important;
    border-bottom: 0 !important;
}
/*#endregion */

.input-validation-error {
    border: 1px solid red;
    box-shadow: 0 0 5px 2px rgba(255, 0, 0, 0.6);
    transition: box-shadow 0.3s ease-in-out;
}

.row {
    margin-right: 0;
    margin-left: 0;
}

:root {
    --gtx-header-height: 0px;
    --gtx-footer-height: 0px;
}

.very-top {
    height: 100vh;
    min-height: 0;
    padding: 0;
    box-sizing: border-box;
}

@supports (height: 100dvh) {
    .very-top {
        height: 100dvh;
    }
}

.body-content {
    flex: 0 0 auto;
    min-height: 0;
    height: calc(100vh - var(--gtx-header-height) - var(--gtx-footer-height) - env(safe-area-inset-bottom)) !important;
    margin-top: var(--gtx-header-height) !important;
    padding-bottom: 0;
    background: ghostwhite !important;
}

@supports (height: 100dvh) {
    .body-content {
        height: calc(100dvh - var(--gtx-header-height) - var(--gtx-footer-height) - env(safe-area-inset-bottom)) !important;
    }
}

li.search-field {
    padding: 0.2rem !important;
}

.bw {
    filter: grayscale(100%);
}

.hover-bw {
    transition: filter 0.3s ease;
}

    .hover-bw:hover {
        filter: grayscale(100%);
    }

.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    pointer-events: all; /* Prevent interactions */
}

.spinner-hidden {
    display: none;
}

html.inventory-page-loading #inventorySplit {
    visibility: visible;
}

html.inventory-page-loading #loadingOverlay {
    display: flex !important;
}

.hand-pointer {
    cursor: pointer;
}
/*<!-- LIGHTBOX FADING SHOW/HIDE EFFECT (as explained in documentation) -->*/
.lcl_fade_oc.lcl_pre_show #lcl_overlay, .lcl_fade_oc.lcl_pre_show #lcl_window, .lcl_fade_oc.lcl_is_closing #lcl_overlay, .lcl_fade_oc.lcl_is_closing #lcl_window {
    opacity: 0 !important;
}

.lcl_fade_oc.lcl_is_closing #lcl_overlay {
    -webkit-transition-delay: .15s !important;
    transition-delay: .15s !important;
}

.elem, .elem * {
    box-sizing: border-box;
    margin: 10px !important;
}

.elem {
    display: inline-block;
    width: 30%;
}

.elem > span {
    display: block;
    cursor: pointer;
    height: 0;
    padding-bottom: 70%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    background-color: rgba(15, 23, 42, .04);
}

/* Make the carousel fill the ratio box */
.ratio > #detailsCarousel,
#detailsCarousel .carousel-inner,
#detailsCarousel .carousel-item {
    height: 100%;
}

#detailsCarousel .carousel-item {
    position: relative;
}

#detailsCarousel .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.ratio-carousel {
    --bs-aspect-ratio: 70%;
}

.gradient {
    background: linear-gradient(180deg, rgb(255 255 255), #AAAAB3);
}

.td-center {
    text-align: center;
    vertical-align: middle !important;
}

.chosen-choices {
    border: 2px solid rgba(0, 0, 0, 0.4) !important;
}

.ui-slider-handle {
    background-color: silver !important;
    border-radius: 6px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);
}

.dropdown-toggle::after {
    filter: brightness(0) invert(1); /* Turns it white */
}
/* Centered open-hours panel */
.offcanvas-top-fixed-center {
    position: fixed;
    top: var(--gtx-header-height, 4.1rem);
    left: 50%;
    transform: translateX(-50%);
    width: min(64rem, calc(100vw - 1.5rem));
    height: min(78vh, 48rem);
    max-height: min(78vh, 48rem);
    z-index: 1055;
    border-radius: .75rem;
    box-shadow: 0 .95rem 2.2rem rgba(0, 0, 0, .28);
    background-color: #fff;
    overflow: hidden;
    display: none;
}

    .offcanvas-top-fixed-center.show {
        display: block;
    }

#openHours .offcanvas-body {
    position: relative;
    padding: 0 .9rem 1rem;
    max-height: inherit;
    overflow-y: auto;
}

#openHours .open-hours-panel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin: 0 -.9rem .6rem;
    padding: 1.1rem;
    background: var(--gtx-grad, linear-gradient(180deg, rgba(21, 90, 150, 1) 43%, rgba(30, 115, 190, 1) 94%));
    border-top: 1px solid rgba(255, 255, 255, .2);
    border-bottom: 1px solid rgba(0, 0, 0, .2);
    border-radius: .72rem .72rem 0 0;
    color: #fff;
    text-shadow: 0 1px 1px rgba(0, 0, 0, .3);
}

#openHours .open-hours-panel-title {
    font-size: .98rem;
    font-weight: 800;
    letter-spacing: .02em;
    text-transform: uppercase;
    line-height: 1.1;
    width: 100%;
    max-width: none;
    padding: 0 2.6rem;
    text-align: center;
}

#openHours .open-hours-close-btn {
    width: 2rem;
    height: 2rem;
    min-width: 2rem;
    padding: .45rem;
    position: absolute;
    top: 50%;
    right: .7rem;
    transform: translateY(-50%);
    border: 0 !important;
    border-radius: .5rem;
    background-color: transparent !important;
    box-shadow: none;
    background-size: .72rem;
    opacity: 1;
    filter: var(--open-hours-close-icon-filter, invert(1) grayscale(100%) brightness(220%)) !important;
}

    #openHours .open-hours-close-btn:hover,
    #openHours .open-hours-close-btn:focus {
        background-color: rgba(255, 255, 255, .12) !important;
        border-color: transparent !important;
        box-shadow: none;
    }

#openHours .open-hours-media {
    align-items: stretch;
}

#openHours .open-hours-photo {
    object-fit: cover;
}

#openHours .open-hours-map {
    border: 0;
    border-radius: .5rem;
    min-height: 20rem;
}

#openHours .open-hours-address-card {
    max-width: 30rem;
    margin: .1rem auto .65rem;
    padding: .7rem .8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .45rem;
    text-align: center;
}

#openHours .open-hours-address-text {
    line-height: 1.25;
}

#openHours .open-hours-copy-address {
    min-height: 2.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    font-weight: 700;
    white-space: nowrap;
}

#openHours .open-hours-day-btn {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: .55rem;
    text-align: left;
    padding: .58rem .72rem;
}

#openHours .open-hours-day-badge {
    position: static !important;
    left: auto !important;
    transform: none !important;
    margin-top: 0 !important;
    min-width: 3.25rem;
    min-height: 1.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .72rem;
    flex: 0 0 auto;
}

#openHours .open-hours-day-hours {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    line-height: 1.12;
    text-align: left;
    min-width: 0;
}

@media (min-width: 992px) {
    #openHours .offcanvas-body {
        height: 100%;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        gap: .7rem;
    }

    #openHours .open-hours-panel {
        flex: 1 1 auto;
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "days"
            "address"
            "media";
        grid-template-rows: auto auto minmax(0, 1fr);
        gap: .75rem;
        align-items: stretch;
        min-height: 0;
        height: 100%;
    }

    #openHours .open-hours-days {
        grid-area: days;
        display: grid !important;
        grid-template-columns: repeat(7, minmax(0, 1fr));
        margin: 0 !important;
        padding: 0 !important;
        gap: .45rem !important;
        width: 100%;
    }

    #openHours .open-hours-day-btn {
        width: 100%;
        min-width: 0;
        min-height: 3.45rem;
        padding: .45rem .35rem;
        gap: .22rem;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    #openHours .open-hours-day-hours {
        display: block;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        text-align: center;
        font-size: .82rem;
        width: 100%;
    }

    #openHours .open-hours-address-card {
        grid-area: address;
        margin: 0 auto;
        max-width: none;
        align-self: center;
        justify-self: stretch;
        width: 100%;
    }

    #openHours .open-hours-media {
        grid-area: media;
        margin: 0 !important;
        padding: 0 !important;
        gap: .75rem;
        align-items: stretch;
        justify-content: stretch;
        min-height: 0;
        width: 100%;
        height: 100%;
    }

    #openHours .open-hours-photo {
        display: block;
        width: 34%;
        min-height: 0;
        height: 100%;
        flex: 0 0 34%;
    }

    #openHours .open-hours-map {
        width: 66%;
        min-height: 0;
        height: 100%;
        flex: 1 1 auto;
    }
}

@media only screen and (max-width: 767px) {
    .offcanvas-top-fixed-center {
        top: 0;
        left: 0;
        transform: none;
        width: 100vw;
        max-width: 100vw;
        height: 62vh;
        max-height: 62vh;
        border-radius: 0;
        box-shadow: none;
        padding-top: env(safe-area-inset-top);
        padding-bottom: env(safe-area-inset-bottom);
    }

    #openHours .offcanvas-body {
        height: 100%;
        max-height: none;
        padding: 0 .65rem 1rem;
    }

    #openHours .open-hours-panel-controls {
        position: relative;
        margin: 0 -.65rem .5rem;
        padding: 1.1rem;
        border-radius: 0;
    }

    #openHours .open-hours-days {
        flex-wrap: wrap;
        justify-content: stretch !important;
        gap: .5rem !important;
        margin: .25rem 0 .75rem !important;
        padding: .1rem 0 .35rem !important;
    }

    #openHours .open-hours-day-btn {
        flex: 1 1 calc(50% - .5rem);
        min-width: 9.75rem;
        min-height: 3.15rem;
        font-size: .86rem;
        font-weight: 700;
        justify-content: flex-start;
        gap: .48rem;
        padding: .6rem .65rem;
        text-align: left;
    }

    #openHours .open-hours-day-hours {
        justify-content: flex-start;
        text-align: left;
    }

    #openHours .open-hours-media {
        flex-direction: column;
        gap: .5rem !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    #openHours .open-hours-photo {
        display: none !important;
    }

    #openHours .open-hours-map {
        width: 100% !important;
        height: 30vh;
        min-height: 12rem;
        max-height: 17rem;
    }

    #openHours .open-hours-address-card {
        margin: 0 auto .55rem;
        padding: .55rem .65rem;
    }

    #openHours .open-hours-copy-address {
        min-height: 2rem;
        padding: .3rem .75rem;
        font-size: .83rem;
    }
}
/* ==========================================================================
   Layout shell and base typography
   ========================================================================== */

/*Site*/
html, body {
    font-family: "Lato", sans-serif;
    -webkit-font-smoothing: antialiased;
    font-size: clamp(0.8rem, 2vw, 1rem);
}

html, body {
    height: 100% !important;
}
/* ensure ancestors can stretch */
.min-h-0 {
    min-height: 0 !important;
}

.min-vh-100 {
    min-height: 100vh !important;
}

@supports (height: 100dvh) {
    .min-vh-100 {
        min-height: 100dvh !important;
    }
}

/* lets flex child scroll, esp. Safari */

h1, h2, h3, h4, h5, h6, h7, h8 {
    margin: 0;
    color: darkslategrey;
    font-weight: bold;
    font-family: "Lato", sans-serif;
    text-shadow: 2px 2px 3px #8D8484;
}

h1 {
    font-size: 70px;
}

h2 {
    font-size: 36px;
}

h3 {
    font-size: 30px;
}

h4 {
    font-size: 24px;
}

h5 {
    font-size: 18px;
}

h6 {
    font-size: 16px;
}

h7 {
    font-size: 14px;
}

h8 {
    font-size: 12px;
}

p {
    font-size: 15px;
    font-family: "Lato", sans-serif;
    color: #727171;
    font-weight: 400;
    line-height: 25px;
    margin: 0 0 15px 0;
}

.card-image {
    width: 293px;
    max-width: 293px;
    min-height: 220px;
}

.edit-image {
    width: 222px;
    max-width: 222px;
}

.grid-image {
    width: 100px;
}

input:focus, select:focus, button:focus, textarea:focus {
    outline: none;
}

a:hover, a:focus {
    text-decoration: none;
    outline: none;
    /*    color: #ffffff;*/
}

ul, ol {
    padding: 0;
    margin: 0;
}

/*---------------------
  Helper CSS
-----------------------*/
.set-bg {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top center;
}

.text-white h1, .text-white h2, .text-white h3, .text-white h4, .text-white h5, .text-white h6, .text-white p, .text-white span, .text-white li, .text-white a {
    color: #fff;
}

/* buttons */
a, u {
    text-decoration: none;
}

.bg-light {
    --bs-bg-opacity: 1;
    background-color: rgba(24, 28, 33, .06) !important;
}

.container, .container-fluid, .container-xxl, .container-xl, .container-lg, .container-md, .container-sm {
    margin-right: 0;
    margin-left: 0;
}

.text-shadow {
    text-shadow: 2px 2px 3px #8D8484;
}

.text-shadow-small {
    text-shadow: .75px .75px 8px #8D8484;
}

/*---------------------
  Header
-----------------------*/
.header__top {
    color: #ffffff;
    padding: 10px;
    background: transparent;
}

.header__menu {
    display: inline-block;
}

    .header__menu ul li {
        list-style: none;
        display: inline-block;
        margin-right: 40px;
        position: relative;
    }

        .header__menu ul li.active a:after {
            width: 100%;
            opacity: 1;
        }

        .header__menu ul li:hover a:after {
            width: 100%;
            opacity: 1;
        }

        .header__menu ul li:hover .dropdown {
            top: 32px;
            opacity: 1;
            visibility: visible;
        }

        .header__menu ul li .dropdown {
            position: absolute;
            left: 0;
            top: 56px;
            width: 125px;
            background: var(--bs-body-color);
            background: #155A96;
            background: linear-gradient(83deg, rgba(21, 90, 150, 1) 43%, rgba(30, 115, 190, 1) 94%);
            text-align: left;
            padding: 2px 0;
            z-index: 9;
            opacity: 0;
            visibility: hidden;
            -webkit-transition: all, 0.5s;
            -o-transition: all, 0.5s;
            transition: all, 0.5s;
        }

            .header__menu ul li .dropdown li {
                display: block;
                margin-right: 0;
            }

                .header__menu ul li .dropdown li a {
                    font-size: 14px;
                    color: #ffffff;
                    font-weight: 400;
                    padding: 8px 20px;
                    text-transform: capitalize;
                }

                    .header__menu ul li .dropdown li a:after {
                        display: none;
                    }

        .header__menu ul li a {
            font-size: 15px;
            color: white;
            font-weight: 700;
            display: block;
            padding: 5px 0;
            text-transform: uppercase;
            position: relative;
        }

            .header__menu ul li a:after {
                position: absolute;
                left: 0;
                bottom: 0;
                height: 3px;
                width: 0%;
                background: #353535;
                background: red;
                content: "";
                opacity: 0;
                -webkit-transition: all, 0.5s;
                -o-transition: all, 0.5s;
                transition: all, 0.5s;
            }

.offcanvas-menu-wrapper {
    display: none;
}

.canvas__open {
    display: none;
    color: white;
}


/* new offcanvas nenu */
/* ===== Offcanvas menu base ===== */
.offcanvas-menu-wrapper {
    padding: .75rem;
}

    .offcanvas-menu-wrapper .main-menu {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: .35rem;
    }

        /* each top-level row */
        .offcanvas-menu-wrapper .main-menu > li {
            border-radius: 1rem;
        }

    /* logo + phone row */
    .offcanvas-menu-wrapper #GTX-image {
        display: flex;
        align-items: center;
        gap: .6rem;
        padding: .35rem .25rem;
    }

        .offcanvas-menu-wrapper #GTX-image img {
            display: block;
        }

        .offcanvas-menu-wrapper #GTX-image .btn {
            margin-left: auto;
            display: flex;
            align-items: center;
            gap: .4rem;
        }

/* ===== Simple links (non-collapsible) ===== */
.offcanvas-menu-wrapper .main-menu > li > a {
    display: block;
    padding: .7rem .95rem;
    border-radius: 1rem;
    text-decoration: none;
    font-weight: 600;
}

    .offcanvas-menu-wrapper .main-menu > li > a:hover {
        filter: brightness(1.05);
    }

/* ===== Submenus (indent + nice container) ===== */
.offcanvas-menu-wrapper .dropdown,
.offcanvas-menu-wrapper #menuSchedule {
    margin-top: .35rem;
    margin-left: 1.15rem; /* indent */
    padding: .45rem .35rem .55rem; /* inner padding */
    border-radius: 1rem;
}

/* optional subtle separation line on the left */
.offcanvas-menu-wrapper .dropdown,
.offcanvas-menu-wrapper #menuSchedule {
    border-left: 2px solid rgba(255,255,255,.18);
}

    /* submenu items */
    .offcanvas-menu-wrapper .dropdown li {
        margin: .15rem 0;
    }

        .offcanvas-menu-wrapper .dropdown li a {
            display: block;
            padding: .55rem .75rem;
            border-radius: .85rem;
            text-decoration: none;
            font-weight: 500;
        }

            /* hover for submenu links */
            .offcanvas-menu-wrapper .dropdown li a:hover {
                filter: brightness(1.06);
                transform: translateX(2px);
                transition: transform .12s ease;
            }

/* Schedule partial: give it some breathing room */
.offcanvas-menu-wrapper #menuSchedule {
    padding: .65rem .65rem .75rem;
}

/* Make collapse animation feel smoother */
.offcanvas-menu-wrapper .collapse {
    transition: height .2s ease;
}

/*---------------------
  Hero
-----------------------*/
.hero {
    background-position-y: -100px;
    background-size: cover; /* Stretch to cover entire area */
    height: 93vh; /* Viewport height: no scrolling */
    transition: background-image 1s ease-in-out;
}

    .hero .slogan-big {
        text-transform: uppercase;
        position: absolute;
        top: 2.5rem;
        right: 1.5rem; /* Move to the right */
        left: auto; /* Cancel left positioning */
        font-size: 3rem;
        font-weight: bold;
        color: #155A96;
        text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
    }

    .hero .slogan-small {
        text-transform: uppercase;
        position: fixed;
        top: 6.3rem;
        left: 20.5rem;
        font-size: 1.5rem;
        font-weight: bold;
        color: #d54d29;
        text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6); /* Optional: makes text readable on any background */
    }
/* =========================================
   FIX: Bootstrap Offcanvas vs old custom menu CSS
   Scope ONLY to #mobileMenuOffcanvas so nothing else breaks
   ========================================= */

#mobileMenuOffcanvas {
    /* make it feel like a real mobile drawer */
    --bs-offcanvas-width: 92vw;
    width: 92vw !important;
    max-width: 520px !important; /* nice on tablets; adjust if you want */
}

    /* IMPORTANT: kill the old "position:fixed left:-595px" mobile menu behavior */
    #mobileMenuOffcanvas .offcanvas-menu-wrapper,
    #mobileMenuOffcanvas .offcanvas-menu-wrapper.active {
        position: static !important;
        left: auto !important;
        top: auto !important;
        width: 100% !important;
        opacity: 1 !important;
        transform: none !important;
        max-height: none !important;
        overflow: visible !important;
        display: block !important;
        padding: 1rem !important; /* overrides p-5 */
    }

    /* You have p-0 on offcanvas-body; restore padding and scrolling */
    #mobileMenuOffcanvas .offcanvas-body {
        padding: 1rem !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
    }

    /* Buttons/links should fit the drawer and not overflow */
    #mobileMenuOffcanvas .btn,
    #mobileMenuOffcanvas a.btn {
        max-width: 100% !important;
        white-space: normal !important;
        overflow-wrap: anywhere;
    }

    /* Reduce indentation so Spanish text doesn’t waste width */
    #mobileMenuOffcanvas ul.collapse {
        margin-left: 0 !important; /* neutralize ms-3 */
        padding-left: .25rem !important;
        padding-right: .25rem !important;
    }

    /* Keep collapse headers clean */
    #mobileMenuOffcanvas a[data-bs-toggle="collapse"] {
        gap: .75rem;
    }

        #mobileMenuOffcanvas a[data-bs-toggle="collapse"] > span {
            min-width: 0;
            flex: 1 1 auto;
        }

    #mobileMenuOffcanvas .mobile-menu-address-card {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: .55rem;
        margin: .45rem .15rem .75rem;
        padding: .75rem;
        border: 1px solid rgba(15, 23, 42, .12);
        border-radius: .75rem;
        background: #fff;
        box-shadow: 0 .45rem 1rem rgba(15, 23, 42, .08);
    }

    #mobileMenuOffcanvas .mobile-menu-address-text {
        text-align: center;
        line-height: 1.25;
    }

    #mobileMenuOffcanvas .mobile-menu-copy-address {
        width: 100%;
        min-height: 2.5rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: .45rem;
        font-weight: 800;
        white-space: nowrap !important;
    }

@media (max-width: 576px) {
    .toast-container {
        transform: translateX(-50%) !important;
        transform-origin: top center;
        left: 50% !important;
        right: auto !important;
        width: 100% !important;
    }

    #announcementPreviewHostPopup {
        width: 94vw !important; /* smaller */
        max-height: 88vh !important; /* smaller height on mobile */
        overflow-y: auto !important; /* scroll inside if big */
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch;
        border-radius: 16px;
    }
}


/*--------------------------------- Responsive Media Quaries -----------------------------*/
@media (max-width: 576px) {
    #mobileMenuOffcanvas {
        width: 94vw !important;
        max-width: none !important;
    }

        #mobileMenuOffcanvas .offcanvas-menu-wrapper {
            padding: .75rem !important;
        }
}

@media (max-width: 1200px) {
    /* reduce spacing on each item */
    .header__menu .main-menu {
        gap: .15rem .45rem;
    }

    /* make search take priority */
    #fakeSearch {
        flex-basis: 260px;
    }

    /* optional: hide blog earlier to preserve one-line header */
    /* comment out if you don't want it */
    .header__menu .main-menu > li:nth-child(4) { /* this may not be Blog in your markup */
        /* display:none; */
    }
}

@media only screen and (min-width: 1600px) and (max-width: 1800px) {
    #detailsCarousel .carousel-inner {
        height: 600px;
    }
}

@media (min-width: 1400px) and (max-width: 1800px) {
    #schedule, #telephone {
        display: none !important;
    }
}

@media only screen and (min-width: 1200px) and (max-width: 1599px) {
    .container {
        max-width: 1170px;
    }

    .header__menu ul li {
        margin-right: 32px;
    }

    #detailsCarousel .carousel-inner {
        height: 400px;
    }
}

/* Medium Device = 1200px */
@media only screen and (min-width: 992px) and (max-width: 1199px) {
    #shorts .btn {
        transform: scale(0.80);
        margin-inline-end: -1.5rem;
    }

    .page-title {
        justify-content: space-between !important;
    }

    .header__menu ul li {
        margin-right: 32px;
    }

    #detailsCarousel .carousel-inner {
        height: 283px;
    }
}

/* Tablet Device = 768px */
@media only screen and (min-width: 768px) and (max-width: 991px) {
    .details-container {
        margin-top: 7rem;
    }

    .btn-big-gradient, .btn-big-gradient-yellow {
        transform: scale(0.80);
        font-size: 1.4rem;
        padding: 1rem 1rem;
    }

    #gtxDevelopment {
        width: 75%
    }

    .hero .slogan-big {
        top: 0.8rem;
        font-size: 1rem;
        margin-right: 1rem;
    }

    .hero .slogan-small {
        font-size: 0.7rem;
        top: 3.5rem;
        left: 0=9rem;
    }

    #filterByTerm {
        margin-top: 6.5rem !important;
        min-height: 77px;
    }

    #inventory {
        margin-top: 185px;
        max-height: 80vh;
    }

    #shorts .btn {
        transform: scale(0.80);
        margin-inline-end: -1.5rem;
    }

    .inventory-wrapper {
        margin-top: 2rem;
    }

    .btn-big-gradient, .btn-big-gradient-yellow {
        transform: scale(0.80);
    }

    #detailsCarousel .carousel-inner {
        height: 325px;
    }

    .header__top {
        display: inline;
    }

    .header .container {
        position: relative;
    }
}

/* Wide Mobile = 480px-767px */
@media only screen and (max-width: 767px) {
    #dataOneContainer {
        font-size: 0.97rem;
    }

        #dataOneContainer .article,
        #dataOneContainer .table {
            font-size: inherit;
        }

    #gtxDevelopment {
        width: 75%
    }

    #shorts .btn {
        transform: scale(0.80);
        margin-inline-end: -1.5rem;
    }

    .btn-container {
        flex-direction: column;
        gap: 10px;
    }

    .home-cta-actions {
        flex-wrap: nowrap !important;
        width: 75% !important;
        margin-left: auto;
        margin-right: auto;
    }

    .home-inventory-cta {
        width: 75% !important;
    }

        .btn-container a {
            width: 100%;
            text-align: center;
        }

        .home-cta-actions .btn-big-gradient {
            width: 100%;
            min-width: 0;
            padding: .85rem 1rem;
            transform: none;
            font-size: 1rem;
        }

        .home-inventory-cta .btn-big-gradient {
            width: 100%;
            min-width: 0;
            padding: .85rem 1rem;
            transform: none;
            font-size: 1rem;
        }

    .btn-big-gradient, .btn-big-gradient-yellow {
        transform: scale(0.80);
        font-size: 1.4rem;
        padding: 1rem 1rem;
    }

    #detailsCarousel .carousel-inner {
        height: 390px;
    }

    .p-story {
        font-size: 1rem;
    }

    h4 {
        font-size: large;
    }

    .open-hours {
        font-size: 14px;
    }

    .my-5 {
        margin-top: 6rem !important;
        margin-bottom: 3rem !important;
    }

    .page-title {
        position: relative;
        border-bottom: none;
        border-top: none;
        background: var(--gtx-grad, linear-gradient(180deg, rgba(21, 90, 150, 1) 43%, rgba(30, 115, 190, 1) 94%)) !important;
        color: #fff !important;
    }

    .inventory-wrapper {
        margin-top: 2rem;
    }

    #inventory {
        margin-top: 6rem;
        max-height: 80vh;
    }

    .hero {
        background-position: 87%;
    }

    .header__top {
        display: none;
    }

    .offcanvas-menu-wrapper {
        display: block;
        max-height: 100vh;
        overflow-y: auto;
    }

    .header .container {
        position: relative;
    }

    .canvas__open {
        display: block;
        color: white;
        border-radius: 2px;
        cursor: pointer;
        position: absolute;
        top: 50%;
        left: 10px;
        transform: translateY(-50%);
        z-index: 555;
    }

    body.home-index .canvas__open {
        display: none;
    }

    body.home-index .menu-strip {
        display: flex;
        align-items: center;
        min-height: 3.7rem;
        padding-left: .95rem;
        padding-right: .95rem;
    }

        body.home-index .menu-strip > .d-flex {
            width: 100%;
            min-height: inherit;
            align-items: center !important;
        }

    #homeMobileMenuStripActions {
        width: 100%;
        margin-left: 0;
        justify-content: flex-end;
        align-items: center;
        min-height: 2.6rem;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        gap: .45rem !important;
    }

        #homeMobileMenuStripActions .btn,
        #homeMobileMenuStripActions a.btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            height: 2.3rem;
            padding: .35rem .7rem;
            line-height: 1;
            white-space: nowrap;
        }

        #homeMobileMenuOpenBtn {
            margin-right: auto;
        }

        #homeMobileMenuStripActions .btn i,
        #homeMobileMenuStripActions .btn span {
            display: inline-flex !important;
            align-items: center;
            line-height: 1;
        }

    .menu-strip {
        background: #155A96;
        background: linear-gradient(180deg, rgba(21, 90, 150, 1) 43%, rgba(30, 115, 190, 1) 94%);
        border-bottom: 1px solid darkred;
        border-top: none;
    }

    .hero .slogan-big {
        top: 0.8rem;
        font-size: 1rem;
        margin-right: 1rem;
    }

    .hero .slogan-small {
        font-size: 0.7rem;
        top: 3rem;
        left: 12rem;
    }

    .offcanvas-menu-overlay {
        position: fixed;
        left: 0;
        top: 0;
        height: 100%;
        width: 100%;
        background: rgba(0, 0, 0, 0.7);
        content: "";
        z-index: 98;
        -webkit-transition: all, 0.5s;
        -o-transition: all, 0.5s;
        transition: all, 0.5s;
        visibility: hidden;
    }

        .offcanvas-menu-overlay.active {
            visibility: visible;
        }

    .offcanvas-menu-wrapper {
        position: fixed;
        left: -595px;
        width: 75vw;
        padding: 1rem;
        display: block;
        z-index: 9090;
        overflow-y: auto;
        -webkit-transition: all, 0.5s;
        -o-transition: all, 0.5s;
        transition: all, 0.5s;
        opacity: 0;
    }

        .offcanvas-menu-wrapper.active {
            opacity: 1;
            left: 0;
            top: 5vh;
        }

}

/* Small Device = 320px */
@media only screen and (max-width: 479px) {
    #detailsCarousel .carousel-inner {
        height: 270px;
    }


    #homeSearch {
        width: 75% !important;
    }

    .btn-big-gradient, .btn-big-gradient-yellow {
        font-size: 1.2rem;
    }

    .my-2 {
        margin-top: 0rem !important;
    }

    .article, .nav-item {
        font-size: 10px;
    }

    .canvas__open {
        top: 50%;
        left: 5px !important;
    }

    .make {
        display: none;
    }

    .make.img-fluid {
        display: inline-block !important;
        padding-right: .24rem !important;
        padding-left: .24rem !important;
        margin-right: .2rem !important;
        margin-left: .2rem !important;
        border-radius: .42rem !important;
        object-fit: contain;
    }

    /* ===========================================
   OFFCANVAS MOBILE RESPONSIVE FIX
   (add at bottom of Site.css)
   =========================================== */

    .offcanvas-menu-wrapper.p-5 {
        padding: 1rem !important;
    }

    #mobileMenuOffcanvas .offcanvas-body {
        overflow-x: hidden !important;
    }

    #mobileMenuOffcanvas .offcanvas-body {
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
    }

    #mobileMenuOffcanvas .btn,
    #mobileMenuOffcanvas a.btn {
        max-width: 100% !important;
        white-space: normal !important;
    }

    #mobileMenuOffcanvas a[data-bs-toggle="collapse"] span {
        min-width: 0 !important;
        flex: 1 1 auto !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    #mobileMenuOffcanvas a[data-bs-toggle="collapse"] i.bi-chevron-down {
        flex: 0 0 auto;
    }

    #mobileMenuOffcanvas ul.collapse.list-unstyled.mt-2.ms-3.p-2 {
        margin-left: .75rem !important;
        padding: .5rem !important;
    }

    #mobileMenuOffcanvas ul.collapse .btn {
        display: flex !important;
        align-items: center;
        gap: .5rem;
    }

    #mobileMenuOffcanvas ul.collapse .btn {
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    #mobileMenuOffcanvas .main-menu > li.d-flex {
        flex-wrap: wrap !important;
    }

    #mobileMenuOffcanvas .main-menu > li.d-flex a.btn {
        width: 100% !important;
        justify-content: center !important;
    }

    #mobileMenuOffcanvas .bi {
        font-size: 1rem;
    }
}

/* Tighten header between 1400–1800px (xxl-ish) */
@media (min-width: 1400px) and (max-width: 1800px) {
    #schedule, #telephone {
        display: none !important;
    }
    /* your intent */
}

@media (max-width: 1750px) {
    .header__menu .main-menu {
        gap: .55rem !important;
    }

    #fakeSearch {
        max-width: 420px !important;
    }
}

