/* ============================================================
   Navy header + home hero (mockup placement)
   ============================================================ */

:root {
    --tmp-navy: #0b1a2e;
    --tmp-navy-2: #10233d;
    --tmp-navy-deep: #071221;
    --tmp-lime: #8bc400;
    --tmp-lime-hover: #9ad40f;
    --tmp-ink: #1a1f24;
    --tmp-muted: #5b6775;
    --tmp-border: #d8dee6;
    --tmp-surface: #f5f7fa;
    --tmp-white: #ffffff;
    --tmp-font: "Source Sans 3", "Open Sans", Arial, sans-serif;
}

body {
    font-family: var(--tmp-font);
    color: var(--tmp-ink);
    -webkit-font-smoothing: antialiased;
}

/* ---------- Top utility bar ---------- */
.header-upbar {
    background: var(--tmp-navy-deep) !important;
    border: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    min-height: 0 !important;
    padding: 0 !important;
    height: auto !important;
}

.header-upbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 30px;
    padding-top: 4px;
    padding-bottom: 4px;
}

.header-upbar__left,
.header-upbar__right {
    margin: 0;
    float: none !important;
    color: rgba(255, 255, 255, 0.72) !important;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.01em;
    line-height: 1.35;
}

.header-upbar .telephone,
.header-upbar .social-top,
.header-upbar .social-icons {
    display: none !important;
}

/* ---------- Main header: logo | nav | actions ---------- */
#header.header {
    background: var(--tmp-navy) !important;
    border: none !important;
    box-shadow: none;
    padding: 0 !important;
    min-height: 0;
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    min-height: 72px;
    height: 72px;
    position: relative;
}

/* Kill theme #logo height/line-height that misaligns the mark */
#header #logo.header__logo,
.header__logo {
    float: none !important;
    display: flex !important;
    align-items: center;
    margin: 0 !important;
    padding: 0 !important;
    height: auto !important;
    line-height: 1 !important;
    flex: 0 0 auto;
    max-width: 230px;
}

.header__logo a {
    display: flex;
    align-items: center;
    line-height: 1;
}

#header #logo.header__logo img,
.header__logo img {
    display: block;
    max-width: 210px;
    max-height: 48px;
    width: auto;
    height: auto;
    padding: 0 !important;
    margin: 0 !important;
}

.header__toggle {
    display: none;
    margin: 0 0 0 auto;
    padding: 9px 10px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: transparent;
    border-radius: 4px;
    order: 3;
}

.header__toggle .icon-bar {
    display: block;
    width: 20px;
    height: 2px;
    margin-top: 4px;
    background: #fff;
}

.header__toggle .icon-bar:first-child {
    margin-top: 0;
}

/* Nav: same vertical center as logo + auth — override theme padding/line-height */
#header .header__nav.nav-top,
.header__nav.nav-top {
    float: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end;
    flex: 1 1 auto;
    margin: 0 !important;
    padding: 0 12px 0 8px !important;
    padding-top: 0 !important;
    background: transparent !important;
    align-self: center !important;
    height: 72px;
    font-size: 14px;
    font-weight: 500;
}

.header__nav > ul {
    display: flex;
    align-items: center;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
    gap: 0;
    height: 100%;
}

#header .header__nav > ul > li,
.header__nav > ul > li {
    float: none !important;
    margin: 0;
    padding: 0 !important;
    padding-bottom: 0 !important;
    line-height: 1 !important;
    height: auto;
    display: flex;
    align-items: center;
}

.header__nav > ul > li > a {
    color: rgba(255, 255, 255, 0.92) !important;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 12px !important;
    background: transparent !important;
    border: none !important;
    text-transform: none !important;
    letter-spacing: 0;
    line-height: 1.2 !important;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    height: auto;
    transition: color 0.2s ease;
}

.header__nav > ul > li > a .fa {
    font-size: 11px;
    margin-left: 4px;
    opacity: 0.85;
    line-height: 1;
}

.header__nav > ul > li > a:hover,
.header__nav > ul > li:hover > a {
    color: var(--tmp-lime) !important;
    background: transparent !important;
}

.header__nav > ul > li.is-active > a {
    color: var(--tmp-lime) !important;
    font-weight: 600;
}

/* Dropdowns open just below the 72px bar */
#header .header__nav > ul > li > ul {
    top: 100% !important;
    margin-top: 0;
}

.header__nav .menu-item-has-children > ul {
    background: var(--tmp-navy-2) !important;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 8px 0;
    min-width: 220px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.header__nav .menu-item-has-children > ul a {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 13px;
    padding: 9px 16px !important;
    line-height: 1.3 !important;
}

.header__nav .menu-item-has-children > ul a:hover {
    color: var(--tmp-lime) !important;
    background: rgba(139, 196, 0, 0.12) !important;
}

/* Auth actions share the same vertical center as nav links */
.header-auth-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0;
    padding: 0 0 0 18px;
    border-left: 1px solid rgba(255, 255, 255, 0.14);
    float: none !important;
    flex: 0 0 auto;
    order: 2;
    height: 72px;
    align-self: center;
}

.header-search-icon {
    color: #fff !important;
    font-size: 15px;
    padding: 0;
    line-height: 1;
    display: inline-flex;
    align-items: center;
}

.header-search-icon:hover {
    color: var(--tmp-lime) !important;
}

.header-btn-login {
    color: #fff !important;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none !important;
    padding: 0;
    white-space: nowrap;
    line-height: 1;
    display: inline-flex;
    align-items: center;
}

.header-btn-login:hover {
    color: var(--tmp-lime) !important;
}

.header-btn-register {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--tmp-lime);
    color: #111 !important;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none !important;
    padding: 0 16px;
    height: 36px;
    border-radius: 6px;
    line-height: 1;
    white-space: nowrap;
    transition: background 0.2s ease, transform 0.2s ease;
}

.header-btn-register:hover {
    background: var(--tmp-lime-hover);
    color: #111 !important;
    text-decoration: none !important;
    transform: translateY(-1px);
}

@media (max-width: 991px) {
    .header__toggle {
        display: block;
        order: 2;
    }

    .header-auth-actions {
        order: 3;
        border-left: none;
        padding-left: 0;
        margin-left: auto;
    }

    .header__inner {
        flex-wrap: wrap;
        min-height: 64px;
        height: auto;
    }

    .header__nav.nav-top {
        display: none !important;
        order: 4;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        padding: 12px !important;
        margin: 0 0 10px !important;
        height: auto !important;
        background: var(--tmp-navy-2) !important;
        border-radius: 8px;
    }

    .header__nav.collapse.in,
    .header__nav.collapsing {
        display: flex !important;
    }

    .header__nav > ul {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        height: auto;
    }

    .header-auth-actions {
        height: auto;
    }

    .header-upbar__left {
        display: none;
    }
}

/* ---------- Home: navy glass over slider ---------- */
body.page-home-hero {
    position: relative;
    background: #fff;
}

body.page-home-hero .site-chrome {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

body.page-home-hero .header-upbar {
    background: rgba(7, 18, 33, 0.72) !important;
}

body.page-home-hero #header.header {
    background: rgba(11, 26, 46, 0.58) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

body.page-home-hero #background.home-hero-slider {
    position: relative;
    margin-top: 0;
    padding-top: 0;
    min-height: 640px;
    overflow: visible;
    z-index: 1;
}

body.page-home-hero #background.home-hero-slider #slider-pri {
    position: relative;
    min-height: 640px;
}

body.page-home-hero #background.home-hero-slider .image-slider,
body.page-home-hero #background.home-hero-slider .slider-main,
body.page-home-hero #background.home-hero-slider .flexslider,
body.page-home-hero #background.home-hero-slider .flex-viewport,
body.page-home-hero #background.home-hero-slider .slides,
body.page-home-hero #background.home-hero-slider .slides > li {
    min-height: 640px;
    height: 640px !important;
    margin: 0;
    background: var(--tmp-navy-deep);
}

body.page-home-hero #background.home-hero-slider .slides img {
    width: 100%;
    height: 640px !important;
    object-fit: contain;
    object-position: center center;
    display: block;
    transform: none !important;
}

body.page-home-hero #background.home-hero-slider .banner-shadow.hm-slider-controls {
    background: transparent !important;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 6;
    pointer-events: none;
    color: transparent;
}

body.page-home-hero .hm-slider-controls .container,
body.page-home-hero .hm-slider-controls .text-slider-w {
    height: 100%;
    position: relative;
    overflow: visible;
    pointer-events: none;
}

body.page-home-hero .hm-slider-controls .controls.controls-main {
    position: absolute;
    inset: 0;
    height: auto !important;
    width: 100%;
    float: none;
    right: auto;
    top: auto;
    pointer-events: none;
}

body.page-home-hero .hm-slider-controls .arrows-main {
    float: none !important;
    width: auto !important;
    height: auto !important;
    position: static;
}

body.page-home-hero .hm-slider-controls .arrows-main > li {
    position: absolute !important;
    top: 50%;
    transform: translateY(-50%);
    height: auto !important;
    display: block !important;
    list-style: none;
    margin: 0;
    padding: 0;
    pointer-events: auto;
    z-index: 7;
}

body.page-home-hero .hm-slider-controls .arrows-main > li.flex-nav-prev,
body.page-home-hero .hm-slider-controls .arrows-main > li:first-child {
    left: 16px;
    right: auto;
}

body.page-home-hero .hm-slider-controls .arrows-main > li.flex-nav-next,
body.page-home-hero .hm-slider-controls .arrows-main > li:last-child {
    right: 16px;
    left: auto;
}

body.page-home-hero .hm-slider-controls .arrows-main li a,
body.page-home-hero .hm-slider-controls .arrows-main .fa {
    position: static !important;
    bottom: auto !important;
    padding: 0 !important;
}

body.page-home-hero .hm-slider-controls .arrows-main li a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(11, 26, 46, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff !important;
    font-size: 16px;
    line-height: 1;
    text-decoration: none !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

body.page-home-hero .hm-slider-controls .arrows-main li a:hover,
body.page-home-hero .hm-slider-controls .arrows-main li a:focus {
    background: var(--tmp-lime);
    border-color: var(--tmp-lime);
    color: #111 !important;
    transform: scale(1.05);
}

body.page-home-hero .hm-slider-controls .arrows-main li a .fa {
    color: inherit !important;
}

body.page-home-hero .hm-slider-controls ol.flex-control-nav {
    position: absolute !important;
    left: 50%;
    bottom: 78px;
    transform: translateX(-50%);
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    padding-top: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 8px;
    align-items: center !important;
    justify-content: center;
    pointer-events: auto;
    z-index: 7;
    list-style: none !important;
}

body.page-home-hero .hm-slider-controls .controls ol li,
body.page-home-hero .hm-slider-controls .flex-control-paging li {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0 !important;
    vertical-align: middle;
}

body.page-home-hero .hm-slider-controls .controls ol li a,
body.page-home-hero .hm-slider-controls .controls ol li:first-child a,
body.page-home-hero .hm-slider-controls .flex-control-paging li a {
    display: block !important;
    width: 10px !important;
    height: 10px !important;
    margin: 0 !important;
    margin-top: 0 !important;
    padding: 0 !important;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45) !important;
    box-shadow: none !important;
    border: none !important;
    text-indent: -9999px;
    overflow: hidden;
    line-height: 0 !important;
    vertical-align: middle;
}

body.page-home-hero .hm-slider-controls .flex-control-paging li a.flex-active,
body.page-home-hero .hm-slider-controls .controls ol li a.flex-active {
    background: var(--tmp-lime) !important;
    width: 22px !important;
    height: 10px !important;
    border-radius: 999px !important;
}

body.page-home-hero #slider-pri::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(7, 18, 33, 0.25) 0%, transparent 28%, transparent 62%, rgba(7, 18, 33, 0.35) 100%);
}

body.page-home-hero #slider-pri::after {
    display: none;
}

.home-hero-copy {
    display: none !important;
}

/* Floating search panel — clean professional bar */
.hm-search {
    position: relative;
    z-index: 20;
    margin-top: -48px;
    margin-bottom: 0;
    padding: 0 0 8px;
}

.hm-search__card {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(11, 26, 46, 0.08);
    box-shadow:
        0 2px 4px rgba(11, 26, 46, 0.04),
        0 16px 40px rgba(11, 26, 46, 0.14);
    overflow: hidden;
}

.hm-search__card::before {
    display: none;
}

.hm-search__body {
    position: relative;
    z-index: 1;
    padding: 0;
}

.hm-search__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.2fr) minmax(140px, 0.8fr) auto;
    gap: 16px 18px;
    align-items: end;
    padding: 24px 24px 18px;
}

.hm-search__field {
    min-width: 0;
}

.hm-search__field label {
    display: block;
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 600;
    color: #5b6775;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.2;
}

.hm-search__field input,
.hm-search__field select {
    display: block;
    width: 100%;
    height: 48px;
    margin: 0;
    padding: 0 14px;
    border: 1px solid #cfd6df;
    border-radius: 8px;
    background: #fff;
    color: #152033;
    font-size: 15px;
    font-weight: 500;
    line-height: 48px;
    box-shadow: none;
    -webkit-appearance: none;
    appearance: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.hm-search__field select {
    padding-right: 36px;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235b6775' d='M1.4 1.2L6 5.8l4.6-4.6 1.2 1.2L6 8.2 0.2 2.4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px 8px;
}

.hm-search__field input::placeholder {
    color: #98a2b0;
    font-weight: 400;
}

.hm-search__field input:hover,
.hm-search__field select:hover {
    border-color: #aeb8c5;
}

.hm-search__field input:focus,
.hm-search__field select:focus {
    outline: none;
    border-color: #7fb000;
    box-shadow: 0 0 0 3px rgba(139, 196, 0, 0.2);
}

.hm-search__action {
    display: flex;
    align-items: flex-end;
}

.hm-search__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 48px;
    min-width: 128px;
    padding: 0 22px;
    border: none;
    border-radius: 8px;
    background: #8bc400;
    color: #0b1a2e;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s ease, box-shadow 0.15s ease;
}

.hm-search__submit:hover {
    background: #9ad40f;
    box-shadow: 0 4px 14px rgba(139, 196, 0, 0.35);
}

.hm-search__submit:active {
    background: #7aaf00;
    box-shadow: none;
}

.hm-search__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px 24px 16px;
    border-top: 1px solid #e8edf3;
    background: #fff;
}

.hm-search__footer a,
.hm-search__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #3d4a5c;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
}

.hm-search__footer a:hover,
.hm-search__link:hover {
    color: #0b1a2e;
}

.hm-search__link .fa {
    color: var(--tmp-lime);
    font-size: 14px;
}

.hm-search__dot {
    display: none;
}

.home-after-search,
.home-intro {
    padding: 28px 0 12px;
    position: relative;
    background: #ffffff;
}

.home-intro__content {
    max-width: 820px;
    margin: 0 auto;
}

.home-intro__text {
    margin: 0 0 20px;
    font-size: 16px;
    line-height: 1.75;
    color: #3d4a5c;
    text-align: center;
}

.home-intro__text strong {
    color: #0b1a2e;
    font-weight: 700;
}

.home-intro__link {
    display: inline-block;
    margin-left: 4px;
    color: #6a9a00;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid rgba(106, 154, 0, 0.35);
}

.home-intro__link:hover {
    color: #0b1a2e;
    border-bottom-color: #0b1a2e;
    text-decoration: none;
}

.home-intro__notice {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px 14px 14px;
    border-radius: 8px;
    border: 1px solid #e8edf3;
    border-left: 3px solid #8bc400;
    background: #fafbfc;
}

.home-intro__notice-icon {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f0f4e8;
    color: #5f8c00;
    font-size: 15px;
    line-height: 1;
    margin-top: 1px;
}

.home-intro__notice-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #3d4a5c;
}

.home-intro__notice-text strong {
    color: #0b1a2e;
    font-weight: 700;
}

@media (max-width: 767px) {
    .home-intro {
        padding: 28px 0 8px;
    }

    .home-intro__text {
        text-align: left;
        font-size: 15px;
    }

    .home-intro__notice {
        gap: 12px;
        padding: 14px;
    }
}

/* ---------- Case cards (global — used by _Search everywhere) ---------- */
#shop-section {
    background: #ffffff !important;
    padding: 8px 0 48px;
}

#shop-section .shop-container {
    background: transparent;
}

.case-grid.container.mt-4 {
    width: 100%;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
    margin-top: 0 !important;
}

.case-card-col._prodLayout {
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: 8px;
}

@media (min-width: 992px) {
    .case-card-col._prodLayout {
        width: 20%;
        float: left;
    }
}

._prod.case-card,
.case-card {
    background: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 0;
    margin: 10px 0 14px;
    overflow: hidden !important;
    box-shadow:
        0 0 0 1px #d8dee6,
        0 4px 14px rgba(11, 26, 46, 0.06);
    transition: box-shadow 0.2s ease;
    cursor: pointer;
}

._prod.case-card:hover,
.case-card:hover {
    box-shadow:
        0 0 0 1px rgba(139, 196, 0, 0.55),
        0 14px 28px rgba(11, 26, 46, 0.14);
}

.case-card__media.product-image-wrapper {
    position: relative;
    min-height: 0;
    height: 160px;
    margin: 0;
    padding: 0;
    line-height: 0;
    background: #d9e0e8;
    overflow: hidden;
    border-radius: 0;
}

.case-card__img.product-image,
.case-card .product-image {
    width: 100%;
    height: 160px;
    max-width: none;
    object-fit: cover;
    object-position: center top;
    display: block;
    margin: 0;
    padding: 0;
    border: 0 !important;
    border-radius: 0;
    outline: none;
    box-shadow: none;
    transition: transform 0.35s ease;
}

.case-card:hover .case-card__img {
    transform: scale(1.03);
}

.case-card__media--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, #e4e9ef 0%, #c8d1db 100%);
}

.case-card__media--empty::before {
    content: "\f007";
    font-family: FontAwesome;
    font-size: 42px;
    color: rgba(11, 26, 46, 0.22);
    line-height: 1;
}

.case-card__badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    padding: 4px 9px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
    line-height: 1.2;
}

.case-card__badge--missing {
    background: #d9480f;
}

.case-card__badge--found {
    background: #6a9a00;
}

.lblFeatured.case-card__featured,
.case-card .lblFeatured {
    position: absolute;
    top: 10px;
    right: 10px;
    left: auto;
    z-index: 2;
    background: #e8a317 !important;
    color: #fff;
    padding: 4px 8px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: 4px;
    line-height: 1.2;
}

.case-card__body.details,
.case-card .details {
    padding: 12px 12px 10px;
}

.case-card__name,
.case-card .product-name h4 {
    margin: 0 0 8px;
    padding: 0;
    font-size: 14px;
    font-weight: 700;
    color: #0b1a2e;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.case-card__meta.age,
.case-card .age {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin: 0 0 6px;
    color: #5b6775;
    font-size: 12px;
    line-height: 1.35;
}

.case-card__loc {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 55%;
    text-align: right;
}

.case-card__loc .fa {
    color: #8bc400;
    margin-right: 3px;
}

.case-card__date {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin: 0;
    color: #7a8694;
    font-size: 11px;
    line-height: 1.35;
}

.case-card__org.c-productStoreName,
.case-card .c-productStoreName {
    display: block;
    width: 100%;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid #e8edf3;
    color: #5b6775;
    font-size: 11px;
    font-weight: 600;
    text-align: center !important;
    text-decoration: none !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.case-grid__empty {
    max-width: 420px;
    margin: 36px auto;
    padding: 28px 20px;
    color: var(--tmp-muted) !important;
}

.case-grid__empty .fa {
    display: block;
    font-size: 28px;
    color: #98a2b0;
    margin-bottom: 12px;
}

.case-grid__empty h3 {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 700;
    color: var(--tmp-navy);
}

.case-grid__empty p {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: var(--tmp-muted);
}

.case-upload-preview {
    display: inline-block;
    background: #fff;
    border: 1px solid var(--tmp-border);
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 12px;
    box-shadow: 0 4px 14px rgba(11, 26, 46, 0.06);
}

.case-upload-preview__title {
    margin: 0 0 12px;
    font-size: 15px;
    font-weight: 600;
    color: var(--tmp-navy);
}

.case-upload-preview__img {
    max-width: 220px;
    border-radius: 10px;
}

#shop-section .case-browse-cta {
    clear: both;
    padding-top: 8px;
}

#shop-section .btn-search-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 12px;
    background: #0b1a2e;
    color: #ffffff;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.02em;
    text-transform: none;
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(11, 26, 46, 0.18);
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

#shop-section .btn-search-all .fa {
    font-size: 13px;
    transition: transform 0.2s ease;
}

#shop-section .btn-search-all:hover {
    background: #8bc400;
    color: #0b1a2e;
    box-shadow: 0 10px 24px rgba(139, 196, 0, 0.28);
    transform: translateY(-2px);
}

#shop-section .btn-search-all:hover .fa {
    transform: translateX(3px);
}

/* ---------- Search page chrome ---------- */
#shop-section .divFilters {
    background: #ffffff;
    border: 1px solid var(--tmp-border);
    border-radius: 12px;
    padding: 18px 16px 10px;
    margin-bottom: 22px;
    box-shadow: 0 4px 14px rgba(11, 26, 46, 0.05);
}

#shop-section .divFilters > .row:first-child {
    margin-left: -6px;
    margin-right: -6px;
}

#shop-section .divFilters > .row:first-child > [class*="col-"] {
    padding-left: 6px;
    padding-right: 6px;
    margin-bottom: 10px;
}

#shop-section a.button.wc-forward {
    display: block;
    width: 100%;
    font-size: 14px !important;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: none !important;
    text-align: center;
    padding: 12px 14px !important;
    border-radius: 8px;
    border: 1px solid var(--tmp-border) !important;
    background: #f4f6f8 !important;
    color: var(--tmp-navy) !important;
    box-shadow: none;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

#shop-section a.button.wc-forward:hover {
    border-color: rgba(139, 196, 0, 0.55) !important;
    background: #f7fbee !important;
    color: var(--tmp-navy) !important;
}

#shop-section a.button.wc-forward._Active,
#shop-section a.button.wc-forward._Active:hover {
    background: var(--tmp-navy) !important;
    border-color: var(--tmp-navy) !important;
    color: #fff !important;
}

#shop-section .form-horizontal .control-label {
    font-size: 13px;
    font-weight: 600;
    color: #3d4a5c;
    text-align: left;
    display: block;
    margin-bottom: 6px;
}

#shop-section .form-w input[type="text"],
#shop-section .form-w select,
#shop-section .form-w .form-control {
    border: 1px solid #cfd6df !important;
    border-radius: 8px !important;
    line-height: 1.4 !important;
    min-height: 42px;
    height: auto !important;
    padding: 8px 12px !important;
    width: 100%;
    color: #152033;
    box-shadow: none !important;
    background: #fff;
}

#shop-section .form-w input[type="text"]:focus,
#shop-section .form-w select:focus,
#shop-section .form-w .form-control:focus {
    border-color: #7fb000 !important;
    box-shadow: 0 0 0 3px rgba(139, 196, 0, 0.2) !important;
    outline: none;
}

#shop-section .input-group-addon {
    background: #f4f6f8;
    border: 1px solid #cfd6df;
    color: var(--tmp-muted);
    border-radius: 0;
}

#shop-section .btn-search-submit,
#shop-section .src.btn.bt-sm.red {
    background: var(--tmp-navy) !important;
    border: none !important;
    border-radius: 8px !important;
    color: #fff !important;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 18px !important;
    text-transform: none;
    box-shadow: 0 6px 16px rgba(11, 26, 46, 0.16);
}

#shop-section .btn-search-submit:hover,
#shop-section .src.btn.bt-sm.red:hover {
    background: var(--tmp-lime) !important;
    color: var(--tmp-navy) !important;
}

#shop-section .btn-search-submit .fa,
#shop-section .src.btn.bt-sm.red .fa,
#shop-section .src.btn.bt-sm.red .icon-search {
    color: inherit !important;
}

#shop-section .search-by-image-link,
#shop-section .btn-link {
    color: var(--tmp-navy) !important;
    font-weight: 600;
    text-decoration: none !important;
}

#shop-section .search-by-image-link:hover,
#shop-section .btn-link:hover {
    color: #6a9a00 !important;
}

#shop-section .search-by-image-link .fa {
    margin-right: 6px;
    color: var(--tmp-lime);
}

#shop-section #btnLoadMore {
    background: #fff !important;
    border: 1px solid var(--tmp-border) !important;
    border-radius: 8px !important;
    color: var(--tmp-navy) !important;
    font-weight: 600;
    font-size: 15px !important;
    width: auto !important;
    min-width: 220px;
    padding: 12px 28px !important;
    box-shadow: 0 4px 12px rgba(11, 26, 46, 0.06);
}

#shop-section #btnLoadMore:hover {
    border-color: rgba(139, 196, 0, 0.55) !important;
    background: #f7fbee !important;
}

#shop-section .upload-container {
    border-color: var(--tmp-border) !important;
    border-radius: 12px !important;
    background: #f8fafc !important;
}

#shop-section .upload-container:hover {
    border-color: var(--tmp-lime) !important;
    background: #f7fbee !important;
    box-shadow: 0 0 0 3px rgba(139, 196, 0, 0.15) !important;
}

#shop-section .upload-avatar {
    border-color: var(--tmp-navy) !important;
}

@media (max-width: 767px) {
    .case-card__media.product-image-wrapper,
    .case-card__img.product-image,
    .case-card .product-image {
        height: 140px;
    }
}

@media (max-width: 991px) {
    .hm-search__grid {
        grid-template-columns: 1fr 1fr;
        padding: 20px 18px 14px;
    }

    .hm-search__action {
        grid-column: 1 / -1;
    }

    .hm-search__submit {
        width: 100%;
    }
}

@media (max-width: 767px) {
    body.page-home-hero #background.home-hero-slider,
    body.page-home-hero #background.home-hero-slider #slider-pri,
    body.page-home-hero #background.home-hero-slider .image-slider,
    body.page-home-hero #background.home-hero-slider .slider-main,
    body.page-home-hero #background.home-hero-slider .flexslider,
    body.page-home-hero #background.home-hero-slider .flex-viewport,
    body.page-home-hero #background.home-hero-slider .slides,
    body.page-home-hero #background.home-hero-slider .slides > li,
    body.page-home-hero #background.home-hero-slider .slides img {
        min-height: 480px;
        height: 480px !important;
    }

    .hm-search {
        margin-top: -40px;
    }

    .hm-search__grid {
        grid-template-columns: 1fr;
        padding: 18px 16px 14px;
    }

    .hm-search__footer {
        flex-wrap: wrap;
        gap: 8px 14px;
        padding: 12px 16px 14px;
    }

    body.page-home-hero .hm-slider-controls .arrows-main li a {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    body.page-home-hero .hm-slider-controls ol.flex-control-nav {
        bottom: 70px;
    }

    .header-auth-actions .header-btn-login {
        display: none;
    }
}

body.page-home-hero .how-we-help-section,
body.page-home-hero .how-help {
    background: #ffffff;
}

/* ---------- How We Help ---------- */
.how-help {
    padding: 72px 0 80px;
    background: #ffffff;
    border-top: 1px solid #e8edf3;
}

.how-help__header {
    max-width: 640px;
    margin: 0 auto 48px;
    text-align: center;
}

.how-help__eyebrow {
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #6a9a00;
}

.how-help__title {
    margin: 0 0 14px;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--tmp-navy);
}

.how-help__lead {
    margin: 0;
    font-size: 17px;
    line-height: 1.65;
    color: var(--tmp-muted);
}

.how-help__steps {
    list-style: none;
    margin: 0 0 48px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    background: #f4f7fa;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
}

.how-help__step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 28px 24px;
    position: relative;
}

.how-help__step + .how-help__step {
    border-left: 1px solid #e2e8f0;
}

.how-help__step-num {
    flex: 0 0 auto;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--tmp-lime);
    line-height: 1.4;
    margin-top: 2px;
}

.how-help__step-title {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 700;
    color: var(--tmp-navy);
}

.how-help__step-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--tmp-muted);
}

.how-help__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px 32px;
    margin-bottom: 48px;
}

.how-help__item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.how-help__icon {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #eef6d9;
    color: #5f8c00;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.how-help__item-title {
    margin: 2px 0 6px;
    font-size: 16px;
    font-weight: 700;
    color: var(--tmp-navy);
}

.how-help__item-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--tmp-muted);
}

.how-help__cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 28px 32px;
    border-radius: 14px;
    background: var(--tmp-navy);
    box-shadow: 0 16px 36px rgba(11, 26, 46, 0.18);
}

.how-help__cta-title {
    margin: 0 0 6px;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
}

.how-help__cta-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.72);
}

.how-help__cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex-shrink: 0;
}

.how-help__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.how-help__btn--primary {
    background: #fff;
    color: var(--tmp-navy) !important;
}

.how-help__btn--primary:hover {
    background: #f0f3f7;
}

.how-help__btn--accent {
    background: var(--tmp-lime);
    color: #111 !important;
}

.how-help__btn--accent:hover {
    background: var(--tmp-lime-hover);
}

.how-help__btn--ghost {
    background: transparent;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.how-help__btn--ghost:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

/* Legacy feature-card styles kept harmless if referenced elsewhere */
.how-we-help-section {
    padding: 80px 0;
    background: #ffffff;
}

@media (max-width: 991px) {
    .how-help__steps,
    .how-help__grid {
        grid-template-columns: 1fr;
    }

    .how-help__step + .how-help__step {
        border-left: none;
        border-top: 1px solid #e2e8f0;
    }

    .how-help__cta {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px;
    }
}

@media (max-width: 767px) {
    .how-help {
        padding: 56px 0 64px;
    }

    .how-help__title {
        font-size: 26px;
    }

    .how-help__lead {
        font-size: 15px;
    }

    .how-help__cta-actions {
        width: 100%;
    }

    .how-help__btn {
        flex: 1 1 auto;
    }
}

/* ---------- Site footer (global) ---------- */
#footer.site-footer,
.site-footer {
    color: rgba(255, 255, 255, 0.72);
    background: var(--tmp-navy-deep) !important;
    border-bottom: none !important;
    margin-top: 0;
}

.site-footer__main {
    padding: 56px 0 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer .footer-widgets {
    display: none;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 0.7fr));
    gap: 36px 40px;
    align-items: start;
}

.site-footer__logo {
    display: inline-block;
    margin-bottom: 18px;
}

.site-footer__logo img {
    display: block;
    max-width: 260px;
    width: 100%;
    height: auto;
}

.site-footer__tagline {
    margin: 0 0 16px;
    max-width: 360px;
    font-size: 14px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.68);
}

.site-footer__emergency {
    margin: 0;
    display: inline-flex;
    align-items: flex-start;
    gap: 8px;
    max-width: 360px;
    padding: 10px 12px;
    border-radius: 8px;
    background: rgba(139, 196, 0, 0.1);
    border: 1px solid rgba(139, 196, 0, 0.28);
    font-size: 13px;
    line-height: 1.45;
    color: #d7e9a8;
}

.site-footer__emergency .fa {
    margin-top: 2px;
    color: var(--tmp-lime);
}

.site-footer__heading {
    margin: 0 0 16px;
    padding: 0 0 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-family: var(--tmp-font);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #ffffff !important;
}

.site-footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer__links li {
    margin: 0 0 10px;
    line-height: 1.4;
}

.site-footer__links a {
    color: rgba(255, 255, 255, 0.72) !important;
    font-size: 14px;
    text-decoration: none !important;
    transition: color 0.15s ease;
}

.site-footer__links a:hover {
    color: var(--tmp-lime) !important;
}

.site-footer__bar {
    background: rgba(0, 0, 0, 0.22);
    padding: 16px 0;
}

.site-footer__bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.site-footer__copy {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.55);
}

.site-footer__copy a {
    color: rgba(255, 255, 255, 0.75);
}

.site-footer__social {
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-footer__social-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    margin-right: 4px;
}

.site-footer__social-link {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.04);
    color: #fff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.site-footer__social-link:hover {
    background: var(--tmp-lime);
    border-color: var(--tmp-lime);
    color: #111 !important;
}

/* Back to top */
.fixed-up-arrow a {
    background: var(--tmp-navy) !important;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff !important;
    border-radius: 8px !important;
    width: 42px;
    height: 42px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    text-decoration: none !important;
    box-shadow: 0 8px 20px rgba(11, 26, 46, 0.25);
}

.fixed-up-arrow a:hover {
    background: var(--tmp-lime) !important;
    color: #111 !important;
}

@media (max-width: 991px) {
    .site-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px 24px;
    }

    .site-footer__brand {
        grid-column: 1 / -1;
    }
}

/* ---------- Search page ---------- */
#shop-section.search-page,
.search-page#shop-section {
    background: #f5f7fa !important;
    padding: 28px 0 56px;
}

.search-page-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.search-page-eyebrow {
    margin: 0 0 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #6a9a00;
}

.search-page-title {
    margin: 0 0 8px;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--tmp-navy);
}

.search-page-lead {
    margin: 0;
    max-width: 560px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--tmp-muted);
}

.search-page-image-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 16px;
    border-radius: 8px;
    border: 1px solid #d8dee6;
    background: #fff;
    color: var(--tmp-navy) !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    box-shadow: 0 2px 8px rgba(11, 26, 46, 0.05);
    transition: border-color 0.15s ease, background 0.15s ease;
}

.search-page-image-cta .fa {
    color: var(--tmp-lime);
}

.search-page-image-cta:hover {
    border-color: rgba(139, 196, 0, 0.55);
    background: #f7fbee;
}

#shop-section.search-page .divFilters.search-panel,
.search-page .search-panel {
    background: #ffffff;
    border: 1px solid #d8dee6;
    border-radius: 14px;
    padding: 18px 18px 14px;
    margin-bottom: 24px;
    box-shadow: 0 8px 24px rgba(11, 26, 46, 0.06);
}

.search-page .search-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 18px;
    padding: 6px;
    border-radius: 10px;
    background: #f0f3f7;
}

#shop-section.search-page a.button.wc-forward.search-tab,
.search-page a.search-tab.button.wc-forward {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin: 0;
    padding: 11px 12px !important;
    font-size: 14px !important;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none !important;
    border-radius: 8px !important;
    border: 1px solid transparent !important;
    background: transparent !important;
    color: #3d4a5c !important;
    box-shadow: none !important;
}

#shop-section.search-page a.button.wc-forward.search-tab:hover {
    background: #fff !important;
    color: var(--tmp-navy) !important;
}

#shop-section.search-page a.button.wc-forward.search-tab._Active,
#shop-section.search-page a.button.wc-forward.search-tab._Active:hover,
.search-page a.search-tab.button.wc-forward._Active,
.search-page a.search-tab.button.wc-forward._Active:hover {
    background: var(--tmp-navy) !important;
    border-color: var(--tmp-navy) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(11, 26, 46, 0.22) !important;
}

.search-page .search-section {
    margin-bottom: 8px;
    padding-top: 8px;
    border-top: 1px solid #eef1f5;
}

.search-page .search-section:first-of-type {
    border-top: none;
    padding-top: 0;
}

.search-page .search-section-title {
    margin: 0 0 14px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #6b7785;
}

.search-page .search-section .row > [class*="col-"] {
    margin-bottom: 14px;
}

.search-page .search-check {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    margin: 0;
    padding: 0 12px;
    border: 1px solid #cfd6df;
    border-radius: 8px;
    background: #fff;
    font-weight: 500;
    color: #3d4a5c;
    cursor: pointer;
}

.search-page .search-check input {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: #8bc400;
}

.search-page .search-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 6px;
    padding-top: 14px;
    border-top: 1px solid #eef1f5;
}

.search-page .search-more-toggle {
    margin-right: auto;
    color: var(--tmp-navy) !important;
    font-weight: 600;
    text-decoration: none !important;
}

.search-page .search-more-toggle.is-open {
    color: #6a9a00 !important;
}

.search-page .btn-search-by-image {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 10px 16px;
    border-radius: 8px;
    border: 1px solid #d0d7e0;
    background: #fff;
    color: var(--tmp-navy) !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.search-page .btn-search-by-image .fa {
    color: var(--tmp-lime);
}

.search-page .btn-search-by-image:hover {
    background: #f7fbee;
    border-color: rgba(139, 196, 0, 0.55);
    color: var(--tmp-navy) !important;
}

.search-page .search-results {
    clear: both;
}

.search-page .search-results__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.search-page .search-results__title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--tmp-navy);
}

.search-page .search-results__more {
    clear: both;
    padding: 28px 0 12px;
}

#shop-section.search-page #btnLoadMore,
.search-page #btnLoadMore {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 200px;
    width: auto !important;
    margin: 0 auto;
    padding: 13px 28px !important;
    font-size: 15px !important;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-transform: none;
    color: #ffffff !important;
    background: var(--tmp-navy) !important;
    border: 1px solid var(--tmp-navy) !important;
    border-radius: 10px !important;
    box-shadow: 0 8px 20px rgba(11, 26, 46, 0.18);
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

#shop-section.search-page #btnLoadMore .fa,
.search-page #btnLoadMore .fa {
    font-size: 14px;
    color: inherit;
}

#shop-section.search-page #btnLoadMore:hover,
.search-page #btnLoadMore:hover {
    background: var(--tmp-lime) !important;
    border-color: var(--tmp-lime) !important;
    color: #0b1a2e !important;
    box-shadow: 0 10px 24px rgba(139, 196, 0, 0.28);
}

#shop-section.search-page #btnLoadMore:active,
.search-page #btnLoadMore:active {
    background: #071221 !important;
    border-color: #071221 !important;
    color: #ffffff !important;
}

@media (max-width: 767px) {
    .search-page-title {
        font-size: 24px;
    }

    .search-page .search-tabs {
        grid-template-columns: 1fr;
    }

    .search-page .search-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .search-page .search-more-toggle {
        margin-right: 0;
        text-align: center;
    }

    .search-page .btn-search-by-image,
    .search-page .btn-search-submit {
        width: 100%;
    }
}

/* ---------- Search by image extras ---------- */
.search-by-image-banner {
    display: block;
    width: 100%;
    max-height: 180px;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
    margin: 0 0 18px;
    border: 1px solid #d8dee6;
    box-shadow: 0 4px 14px rgba(11, 26, 46, 0.06);
}

.search-by-image-page .upload-container {
    width: 100%;
    border: 2px dashed #cfd6df;
    border-radius: 12px;
    background: #f8fafc;
    padding: 28px 16px;
    text-align: center;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.search-by-image-page .upload-container:hover {
    border-color: var(--tmp-lime);
    background: #f7fbee;
    box-shadow: 0 0 0 3px rgba(139, 196, 0, 0.12);
    cursor: pointer;
}

.search-by-image-page .upload-card {
    display: inline-block;
    text-align: center;
    cursor: pointer;
    margin-bottom: 12px;
}

.search-by-image-page .upload-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 12px;
    border: 3px solid var(--tmp-navy);
    overflow: hidden;
    background: #fff;
}

.search-by-image-page .upload-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.search-by-image-page .upload-title {
    font-weight: 700;
    color: var(--tmp-navy);
    font-size: 16px;
    margin-bottom: 4px;
}

.search-by-image-page .upload-hint {
    font-size: 13px;
    color: var(--tmp-muted);
    margin-bottom: 12px;
}

.search-by-image-page .upload-btn {
    display: inline-block;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    background: var(--tmp-navy);
    border: 1px solid var(--tmp-navy);
    border-radius: 8px;
    color: #fff;
    margin-bottom: 6px;
}

.search-by-image-page .upload-container:hover .upload-btn {
    background: var(--tmp-lime);
    border-color: var(--tmp-lime);
    color: #111;
}

.search-by-image-page .upload-filename {
    font-size: 12px;
    color: #7a8694;
}

.search-by-image-page .upload-input-visible {
    display: inline-block;
    max-width: 100%;
    font-size: 13px;
    padding: 8px 12px;
    background: #fff;
    border: 1px solid #cfd6df;
    border-radius: 8px;
}

.search-by-image-page .upload-input-visible:focus {
    outline: none;
    border-color: #7fb000;
    box-shadow: 0 0 0 3px rgba(139, 196, 0, 0.2);
}

.search-by-image-page .upload-input-visible.is-invalid {
    border: 2px solid #c0392b !important;
    background-color: #fff5f5 !important;
}

@media (max-width: 767px) {
    .search-by-image-banner {
        max-height: 120px;
    }
}

/* ---------- Shared content pages (About, Terms, Privacy, Payment) ---------- */
.content-page {
    padding-top: 36px !important;
    padding-bottom: 56px !important;
}

.content-page > .row > [class*="col-"],
.content-page .col-lg-10 {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 32px 36px 40px !important;
    box-shadow: 0 8px 24px rgba(11, 26, 46, 0.05);
}

.content-page header {
    margin-bottom: 28px !important;
    padding-bottom: 18px;
    border-bottom: 1px solid #eef1f5;
}

.content-page h1 {
    margin: 0 0 10px;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--tmp-navy);
}

.content-page h2 {
    margin: 28px 0 12px;
    font-size: 20px;
    font-weight: 700;
    color: var(--tmp-navy);
}

.content-page h3,
.content-page h4,
.content-page h5 {
    color: var(--tmp-navy);
    font-weight: 700;
}

.content-page p,
.content-page li {
    font-size: 15px;
    line-height: 1.7;
    color: #3d4a5c;
}

.content-page .text-muted,
.content-page .lead {
    color: var(--tmp-muted) !important;
}

.content-page ul {
    padding-left: 20px;
    margin-bottom: 16px;
}

.content-page ul li {
    margin-bottom: 6px;
}

.content-page hr {
    border-top-color: #e8edf3;
    margin: 28px 0;
}

.content-page section + section {
    margin-top: 8px;
}

@media (max-width: 767px) {
    .content-page > .row > [class*="col-"],
    .content-page .col-lg-10 {
        padding: 22px 18px 28px !important;
    }

    .content-page h1 {
        font-size: 24px;
    }
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
    background: #f5f7fa !important;
    border-bottom: 1px solid #e2e8f0;
    padding: 14px 0 !important;
    margin: 0 !important;
}

.breadcrumbs .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.breadcrumbs ul {
    margin: 0 !important;
    padding: 0 !important;
}

.breadcrumbs ul li,
.breadcrumbs ul li a {
    color: #5b6775 !important;
    font-size: 13px;
    font-weight: 500;
}

.breadcrumbs ul li a:hover {
    color: var(--tmp-navy) !important;
}

.breadcrumbs-right .hide-bread {
    color: #98a2b0 !important;
    font-size: 12px;
}

/* ---------- User portal breadcrumbs ---------- */
.user-portal-breadcrumbs.breadcrumbs {
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    background: #0b1a2e !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.user-portal-breadcrumbs__inner.container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 52px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.user-portal-breadcrumbs__nav {
    width: 100%;
}

.user-portal-breadcrumbs ul {
    list-style: none;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
}

.user-portal-breadcrumbs ul li {
    display: inline-flex;
    align-items: center;
    position: relative;
    margin: 0;
    padding: 0;
    line-height: 1.3;
}

.user-portal-breadcrumbs ul li:after {
    content: "\f105";
    font-family: FontAwesome;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.35);
    padding: 0 10px;
}

.user-portal-breadcrumbs ul li:last-child:after {
    display: none;
}

.user-portal-breadcrumbs ul li a {
    color: rgba(255, 255, 255, 0.72) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    font-family: var(--tmp-font) !important;
    text-decoration: none !important;
    transition: color 0.15s ease;
}

.user-portal-breadcrumbs ul li a:hover {
    color: #8bc400 !important;
}

.user-portal-breadcrumbs__current {
    display: inline-block;
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.user-portal-breadcrumbs .breadcrumbs-right {
    display: none !important;
}

@media (max-width: 767px) {
    .user-portal-breadcrumbs__inner.container {
        min-height: 46px;
    }

    .user-portal-breadcrumbs ul li a,
    .user-portal-breadcrumbs__current {
        font-size: 12px !important;
    }

    .user-portal-breadcrumbs ul li:after {
        padding: 0 8px;
    }
}

/* ---------- Contact page ---------- */
.contact-page {
    background: #f5f7fa;
    padding: 36px 0 56px;
}

.contact-page__header {
    text-align: center;
    margin-bottom: 24px;
}

.contact-page__eyebrow {
    margin: 0 0 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #6a9a00;
}

.contact-page__title h1,
.contact-page .block-title-c h1 {
    margin: 0;
    font-size: 30px;
    font-weight: 700;
    color: var(--tmp-navy) !important;
}

.contact-page__form {
    max-width: 720px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 28px 28px 20px;
    box-shadow: 0 8px 24px rgba(11, 26, 46, 0.06);
}

.contact-page .form-w .text-field,
.contact-page .form-w .textarea-field {
    margin-bottom: 12px;
}

.contact-page .form-w input[type="text"],
.contact-page .form-w input[type="email"],
.contact-page .form-w textarea {
    border: 1px solid #cfd6df !important;
    border-radius: 8px !important;
    min-height: 46px;
    padding: 10px 14px 10px 36px !important;
    box-shadow: none !important;
}

.contact-page .form-w textarea {
    min-height: 140px;
}

.contact-page .form-w input:focus,
.contact-page .form-w textarea:focus {
    border-color: #7fb000 !important;
    box-shadow: 0 0 0 3px rgba(139, 196, 0, 0.2) !important;
}

.contact-page__submit,
.contact-page .btn-orange {
    background: var(--tmp-navy) !important;
    border: none !important;
    border-radius: 8px !important;
    color: #fff !important;
    font-weight: 600 !important;
    padding: 12px 24px !important;
    box-shadow: 0 8px 18px rgba(11, 26, 46, 0.16);
}

.contact-page__submit:hover,
.contact-page .btn-orange:hover {
    background: var(--tmp-lime) !important;
    color: #111 !important;
}

/* ---------- Auth pages (Login / Register) ---------- */
.auth-page {
    background: #f5f7fa;
    padding: 28px 0 48px;
}

.auth-page__panel {
    max-width: 760px;
    margin: 0 auto;
    float: none !important;
}

.auth-page .panel {
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    box-shadow: 0 8px 24px rgba(11, 26, 46, 0.06);
    overflow: hidden;
    margin-bottom: 18px;
}

.auth-page .panel-heading {
    background: #fff !important;
    border-bottom: 1px solid #eef1f5 !important;
    padding: 16px 20px !important;
}

.auth-page .panel-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--tmp-navy);
}

.auth-page .panel-body {
    padding: 20px !important;
    background: #fff;
}

.auth-page .form-control,
.auth-page input[type="text"],
.auth-page input[type="email"],
.auth-page input[type="password"] {
    border: 1px solid #cfd6df !important;
    border-radius: 8px !important;
    min-height: 42px;
    box-shadow: none !important;
}

.auth-page .form-control:focus,
.auth-page input:focus {
    border-color: #7fb000 !important;
    box-shadow: 0 0 0 3px rgba(139, 196, 0, 0.2) !important;
}

.auth-page .btn-primary,
.auth-page .single_add_to_cart_button,
.auth-page button[type="submit"],
.auth-page input[type="submit"] {
    background: var(--tmp-navy) !important;
    border-color: var(--tmp-navy) !important;
    border-radius: 8px !important;
    color: #fff !important;
    font-weight: 600;
}

.auth-page .btn-primary:hover,
.auth-page .single_add_to_cart_button:hover,
.auth-page button[type="submit"]:hover {
    background: var(--tmp-lime) !important;
    border-color: var(--tmp-lime) !important;
    color: #111 !important;
}

/* ---------- Case detail ---------- */
.case-detail-page {
    background: #f5f7fa;
    padding-bottom: 40px;
}

.case-detail-page .block-title h1 {
    color: var(--tmp-navy);
    font-weight: 700;
}

.case-detail-page .panel {
    border-radius: 12px !important;
    border: 1px solid #d8dee6 !important;
    box-shadow: 0 6px 18px rgba(11, 26, 46, 0.06);
    overflow: hidden;
}

.case-detail-page .panel-heading {
    background: #fff !important;
    border-bottom: 1px solid #eef1f5;
}

.case-detail-page .button,
.case-detail-page .single_add_to_cart_button,
.case-detail-page a.button {
    border-radius: 8px !important;
}

/* ---------- User dashboard (_UserLayout) ---------- */
.user-dashboard {
    background: #f5f7fa;
    padding-bottom: 24px;
}

.user-dashboard__main {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 20px 22px;
    box-shadow: 0 6px 18px rgba(11, 26, 46, 0.05);
}

.user-dashboard__sidebar .widget-bg {
    background: #fff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px;
    padding: 12px 0;
    box-shadow: 0 6px 18px rgba(11, 26, 46, 0.05);
    overflow: hidden;
}

.user-dashboard__sidebar .list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.user-dashboard__sidebar .list li a {
    display: block;
    padding: 12px 18px;
    color: #3d4a5c !important;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none !important;
    border-left: 3px solid transparent;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.user-dashboard__sidebar .list li a:hover,
.user-dashboard__sidebar .list li a:focus {
    background: #f7fbee;
    color: var(--tmp-navy) !important;
    border-left-color: var(--tmp-lime);
}

.user-dashboard .btn-primary,
.user-dashboard .button,
.user-dashboard .single_add_to_cart_button {
    border-radius: 8px !important;
}

.user-dashboard .table {
    background: #fff;
}

.user-dashboard .panel {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: none;
}

@media (max-width: 991px) {
    .user-dashboard__main {
        margin-bottom: 20px;
    }
}
