/* Header compaction */
.site-header {
    padding: 8px 16px 4px !important;
}

/* Keep sticky mini header fully visible on desktop while logged in */
body.admin-bar :is(#gb-sticky-mini-header, .gb-sticky-mini-header) {
    top: 32px !important;
}

@media (max-width: 782px) {
    body.admin-bar :is(#gb-sticky-mini-header, .gb-sticky-mini-header) {
        top: 46px !important;
    }
}

.header-utility-row {
    margin: -8px -16px 6px !important;
    padding: 6px 16px !important;
}

.header-utility-inner {
    max-width: 1240px !important;
    display: grid !important;
    grid-template-columns: 1fr minmax(260px, 520px) 1fr !important;
    gap: 10px !important;
    align-items: center !important;
}

.header-utility-nav {
    grid-column: 3 !important;
    display: flex !important;
    align-items: center !important;
    justify-self: end !important;
    gap: 12px !important;
}

.header-utility-nav .header-utility-cart-wrap {
    order: 2 !important;
}

.header-utility-nav > a[href*="/my-account/"] {
    order: 3 !important;
    margin-left: 4px !important;
}

.header-search.header-search--compact {
    grid-column: 2 !important;
    display: flex !important;
    align-items: center !important;
    justify-self: center !important;
    width: min(100%, 460px) !important;
    min-width: 0 !important;
}

.header-search.header-search--compact form {
    width: 100% !important;
    max-width: 100% !important;
    gap: 6px !important;
}

.header-search.header-search--compact input[type="search"] {
    padding: 8px 10px !important;
    font-size: 13px !important;
    border-radius: 6px !important;
}

.header-search.header-search--compact button {
    padding: 8px 12px !important;
    font-size: 12px !important;
    border-radius: 6px !important;
}

.header-row {
    grid-template-columns: auto auto !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 8px !important;
}

.header-row .header-search:not(.header-search--compact) {
    display: none !important;
}

.header-row.gblg-header-row-empty {
    display: none !important;
}

.header-utility-link[href^="tel:"] {
    display: none !important;
}

.header-utility-nav a[href*="/about-us/"],
.header-utility-nav a[href*="/contact-us/"] {
    display: none !important;
}

.site-branding .custom-logo {
    max-height: 44px !important;
}

.primary-nav {
    margin: 2px auto 0 !important;
}

.primary-nav .gb-header-menu {
    position: relative !important;
    justify-content: center !important;
    min-height: 44px !important;
}

.primary-nav .gblg-logo-in-nav {
    display: inline-flex !important;
    align-items: center !important;
    position: absolute !important;
    left: 42px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin-right: 0 !important;
    flex: 0 0 auto !important;
    z-index: 2 !important;
    width: 128px !important;
}

.primary-nav .gblg-logo-in-nav,
.primary-nav .gblg-logo-in-nav .custom-logo-link,
.primary-nav .gblg-logo-in-nav a {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    outline: 0 !important;
}

.primary-nav .gblg-nav-links-wrap {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    flex: 0 1 auto !important;
    margin: 0 auto !important;
}

.primary-nav .gblg-nav-links-wrap .gb-header-links {
    justify-content: center !important;
}

.primary-nav .gblg-logo-in-nav .custom-logo {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    max-height: none !important;
    height: auto !important;
}

.primary-nav ul,
.primary-nav .gb-header-links {
    justify-content: center !important;
}

.primary-nav .gb-header-all-toggle,
.primary-nav .gb-header-links a {
    min-height: 32px !important;
    padding: 6px 10px !important;
    font-size: 14px !important;
}

/* Sticky mini header: remove submit button and reuse space */
:is(#gb-sticky-mini-header, .gb-sticky-mini-header) .gb-sticky-mini-search button {
    display: none !important;
}

:is(#gb-sticky-mini-header, .gb-sticky-mini-header) .gb-sticky-mini-search {
    min-width: 0 !important;
}

:is(#gb-sticky-mini-header, .gb-sticky-mini-header) .gb-sticky-mini-search form {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    gap: 0 !important;
}

:is(#gb-sticky-mini-header, .gb-sticky-mini-header) .gb-sticky-mini-search input[type="search"] {
    width: 100% !important;
    min-width: 0 !important;
}

/* Sticky mini header: desktop logo next to All */
.gblg-sticky-mini-logo {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto !important;
    text-decoration: none !important;
    line-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.gblg-sticky-mini-logo img {
    display: block !important;
    height: 20px !important;
    width: auto !important;
    max-width: 90px !important;
}

@media (min-width: 981px) {
    :is(#gb-sticky-mini-header, .gb-sticky-mini-header) .gb-sticky-mini-inner {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        gap: 6px !important;
    }

    :is(#gb-sticky-mini-header, .gb-sticky-mini-header) :is(.gb-header-all-wrap, .gb-sticky-mini-link) {
        flex: 0 0 auto !important;
    }

    :is(#gb-sticky-mini-header, .gb-sticky-mini-header) .gb-sticky-mini-search {
        flex: 1 1 0 !important;
        margin: 0 !important;
    }

    .gblg-sticky-mini-logo img {
        display: block !important;
        height: 24px !important;
        width: auto !important;
        max-width: 108px !important;
    }
}

.site-footer .footer-col-support .gblg-footer-links {
    margin: 10px 0 0 !important;
    padding: 0 !important;
    list-style: none !important;
    display: grid !important;
    gap: 6px !important;
}

.site-footer .footer-col-support .gblg-footer-links a {
    text-decoration: none !important;
}

/* Footer column alignment normalization */
.site-footer .footer-main {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 24px !important;
    align-items: start !important;
}

.site-footer .footer-col {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    min-width: 0 !important;
}

.site-footer .footer-col h5 {
    margin: 0 0 8px !important;
    line-height: 1.1 !important;
}

.site-footer .footer-divider {
    width: 100% !important;
    margin: 0 0 10px !important;
}

.site-footer .footer-col ul {
    margin: 0 !important;
    padding: 0 !important;
}

.site-footer .footer-col li {
    margin: 0 0 6px !important;
}

/* Keep homepage video background, but pull content flush to top */
.home-video-bg + .home-recommended,
.home-recommended,
.home-recommended .content-wrap,
.home .site-main,
.home .entry-content,
.home .entry-content > section:first-of-type {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Put highlights first, then categories */
.home-recommended > .content-wrap {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.home-recommended .footer-highlights.recommended-grid--secondary {
    order: 1 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    max-width: 1240px !important;
    width: 100% !important;
    padding: 12px 24px !important;
    border-radius: 0 !important;
    box-sizing: border-box !important;
}

/* When moved under footer, make it flush and remove the heavy blue strip */
.site-footer > .footer-highlights.recommended-grid--secondary {
    margin: 0 !important;
    width: 100% !important;
    max-width: none !important;
    background: transparent !important;
    color: #2a3c55 !important;
    padding: 14px 24px !important;
    border-top: 1px solid rgba(42, 60, 85, 0.15) !important;
    border-bottom: 1px solid rgba(42, 60, 85, 0.15) !important;
    gap: 12px !important;
}

.site-footer > .footer-highlights.recommended-grid--secondary .footer-highlight-item {
    display: grid !important;
    grid-template-columns: auto 1fr !important;
    grid-template-areas:
      "icon title"
      "icon desc" !important;
    align-items: center !important;
    text-align: left !important;
    column-gap: 8px !important;
    row-gap: 2px !important;
    min-width: 0 !important;
    background: rgba(255, 255, 255, 0.52) !important;
    border: 1px solid rgba(42, 60, 85, 0.14) !important;
    border-radius: 10px !important;
    padding: 8px 10px !important;
}

.site-footer > .footer-highlights.recommended-grid--secondary .footer-highlight-icon {
    grid-area: icon !important;
    margin: 0 !important;
    font-size: 18px !important;
    line-height: 1 !important;
}

.site-footer > .footer-highlights.recommended-grid--secondary .footer-highlight-icon .emoji {
    width: 18px !important;
    height: 18px !important;
}

.site-footer > .footer-highlights.recommended-grid--secondary .footer-highlight-item h4 {
    grid-area: title !important;
    margin: 0 !important;
    color: #223852 !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    text-transform: none !important;
}

.site-footer > .footer-highlights.recommended-grid--secondary .footer-highlight-item p {
    grid-area: desc !important;
    margin: 0 !important;
    color: #36516f !important;
    font-size: 11px !important;
    line-height: 1.25 !important;
}

.home-recommended .recommended-grid {
    order: 2 !important;
    margin-top: 50px !important;
    gap: 8px !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    justify-content: flex-start !important;
    scroll-behavior: smooth !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

.home-recommended .recommended-grid::-webkit-scrollbar {
    display: none !important;
}

.home-recommended .gblg-rec-carousel {
    position: relative !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    overflow: visible !important;
}

.home-recommended .gblg-rec-carousel::before,
.home-recommended .gblg-rec-carousel::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    width: 40px !important;
    z-index: 2 !important;
    pointer-events: none !important;
    opacity: 0 !important;
    transition: opacity 0.2s ease !important;
    backdrop-filter: blur(1.5px) !important;
    -webkit-backdrop-filter: blur(1.5px) !important;
}

.home-recommended .gblg-rec-carousel::before {
    left: 0 !important;
    background: linear-gradient(to right, rgba(6, 20, 45, 0.34), rgba(6, 20, 45, 0.16), rgba(6, 20, 45, 0)) !important;
}

.home-recommended .gblg-rec-carousel::after {
    right: 0 !important;
    background: linear-gradient(to left, rgba(6, 20, 45, 0.34), rgba(6, 20, 45, 0.16), rgba(6, 20, 45, 0)) !important;
}

.home-recommended .gblg-rec-carousel.can-left::before {
    opacity: 0.75 !important;
}

.home-recommended .gblg-rec-carousel.can-right::after {
    opacity: 0.75 !important;
}

.home-recommended .gblg-rec-nav {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 3 !important;
    width: 34px !important;
    height: 34px !important;
    border: none !important;
    border-radius: 999px !important;
    background: rgba(9, 25, 56, 0.85) !important;
    color: #fff !important;
    font-size: 18px !important;
    line-height: 1 !important;
    cursor: pointer !important;
}

.home-recommended .gblg-rec-nav.gblg-rec-prev {
    left: 6px !important;
}

.home-recommended .gblg-rec-nav.gblg-rec-next {
    right: 6px !important;
}

.home-recommended .gblg-rec-carousel:not(.has-overflow) .gblg-rec-nav {
    display: none !important;
}

/* Center category cards when they don't overflow (e.g., 4 items) */
.home-recommended .gblg-rec-carousel:not(.has-overflow) .recommended-grid {
    justify-content: center !important;
}

/* Move icon to the left of each highlight text block */
.home-recommended .footer-highlight-item {
    display: grid !important;
    grid-template-columns: auto 1fr !important;
    grid-template-areas:
        "icon title"
        "icon desc" !important;
    column-gap: 8px !important;
    row-gap: 2px !important;
    align-items: center !important;
    text-align: left !important;
}

.home-recommended .footer-highlight-item h4 {
    grid-area: title !important;
    margin: 0 !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
}

.home-recommended .footer-highlight-item p {
    grid-area: desc !important;
    margin: 0 !important;
    font-size: 11px !important;
    line-height: 1.25 !important;
}

.home-recommended .footer-highlight-icon {
    grid-area: icon !important;
    margin: 0 !important;
    font-size: 20px !important;
    line-height: 1 !important;
}

.home-recommended .footer-highlight-icon .emoji {
    width: 20px !important;
    height: 20px !important;
}

/* Make the 4 category cards about half size and place them below highlights */
.home-recommended .recommended-card {
    flex: 0 0 125px !important;
    width: auto !important;
    height: 125px !important;
    padding: 8px !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: flex-end !important;
    justify-content: center !important;
}

.home-recommended .recommended-card span {
    font-size: 11px !important;
    line-height: 1.2 !important;
    padding: 4px 10px !important;
    position: static !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    margin: 0 auto !important;
    max-width: calc(100% - 8px) !important;
    width: fit-content !important;
}

.home .site-footer {
    margin-top: 0 !important;
}

.home-latest .gblg-latest-header {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-bottom: 10px !important;
}

.home-latest .gblg-latest-header h2 {
    margin: 0 !important;
    font-size: 20px !important;
    color: #ffffff !important;
    background: rgba(12, 25, 52, 0.9) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 10px !important;
    padding: 6px 12px !important;
    line-height: 1.2 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35) !important;
}

/* Product listing pages (Latest / On Sale / New Arrivals / etc.) */
body.gb-products-page .site-main {
    max-width: 1500px !important;
    width: min(1500px, 98vw) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    margin-top: 2px !important;
    padding-top: 0 !important;
}

body.gb-products-page .entry {
    padding-left: 12px !important;
    padding-right: 12px !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body.gb-products-page .entry-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body.gb-products-page .gblg-products-shell {
    display: grid !important;
    grid-template-columns: 270px minmax(0, 1fr) !important;
    gap: 10px !important;
    align-items: start !important;
    margin-top: 21px !important;
    padding-top: 0 !important;
    position: relative !important;
}

body.gb-products-page .gblg-products-sidebar {
    background: #f4f8ff !important;
    border: 1px solid rgba(13, 42, 95, 0.16) !important;
    border-radius: 12px !important;
    padding: 12px !important;
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 98px !important;
    max-height: calc(100vh - 110px) !important;
    overflow-y: auto !important;
    overflow-x: visible !important;
}

body.gb-products-page .gblg-filter-nudge {
    display: none !important;
}

body.gb-products-page.gblg-sidebar-collapsed .gblg-products-shell {
    grid-template-columns: 18px minmax(0, 1fr) !important;
}

body.gb-products-page.gblg-sidebar-collapsed .gblg-products-sidebar {
    width: 18px !important;
    min-width: 18px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    overflow: visible !important;
    max-height: none !important;
    min-height: 0 !important;
}

body.gb-products-page.gblg-sidebar-collapsed .gblg-products-sidebar .gblg-filter-block {
    display: none !important;
}

body.gb-products-page.gblg-sidebar-collapsed .gblg-products-sidebar .gblg-filter-head {
    margin: 0 !important;
}

body.gb-products-page.gblg-sidebar-collapsed .gblg-products-sidebar .gblg-filter-title,
body.gb-products-page.gblg-sidebar-collapsed .gblg-products-sidebar .gblg-filter-clear,
body.gb-products-page.gblg-sidebar-collapsed .gblg-products-sidebar .gblg-filter-close {
    display: none !important;
}

body.gb-products-page.gblg-sidebar-collapsed .gblg-products-sidebar .gblg-filter-head-actions {
    gap: 0 !important;
}

body.gb-products-page.gblg-sidebar-collapsed .gblg-products-sidebar .gblg-filter-collapse {
    width: 18px !important;
    min-width: 18px !important;
    height: 52px !important;
    min-height: 52px !important;
    padding: 0 !important;
    border: 1px solid rgba(13, 42, 95, 0.26) !important;
    border-left: 0 !important;
    border-radius: 0 10px 10px 0 !important;
    background: rgba(236, 244, 255, 0.98) !important;
    color: #123064 !important;
    font-size: 16px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    box-shadow: 0 2px 10px rgba(12, 24, 48, 0.2) !important;
}

body.gb-products-page .gblg-filter-head {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    margin-bottom: 8px !important;
}

body.gb-products-page .gblg-filter-head-actions {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

body.gb-products-page .gblg-filter-clear,
body.gb-products-page .gblg-filter-collapse,
body.gb-products-page .gblg-filter-close,
body.gb-products-page .gblg-filter-toggle {
    border: 1px solid rgba(13, 42, 95, 0.24) !important;
    background: #ffffff !important;
    color: #123064 !important;
    border-radius: 8px !important;
    padding: 6px 10px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
}

body.gb-products-page .gblg-filter-close {
    display: none !important;
    width: 30px !important;
    min-width: 30px !important;
    height: 30px !important;
    min-height: 30px !important;
    padding: 0 !important;
    font-size: 18px !important;
    line-height: 1 !important;
}

body.gb-products-page .gblg-filter-toggle {
    display: none !important;
}

body.gb-products-page .gblg-filter-toggle-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
}

body.gb-products-page .gblg-filter-toggle-icon svg {
    display: block !important;
    width: 18px !important;
    height: 18px !important;
}

body.gb-products-page .gblg-filter-toggle-text {
    display: inline !important;
}

body.gb-products-page .gblg-price-custom {
    display: grid !important;
    grid-template-columns: 1fr 1fr auto !important;
    gap: 6px !important;
    margin-top: 8px !important;
}

body.gb-products-page .gblg-price-custom input {
    min-width: 0 !important;
    border: 1px solid rgba(13, 42, 95, 0.25) !important;
    border-radius: 8px !important;
    padding: 6px 8px !important;
    font-size: 12px !important;
}

body.gb-products-page .gblg-price-custom button {
    border: 1px solid rgba(13, 42, 95, 0.24) !important;
    background: #fff !important;
    color: #123064 !important;
    border-radius: 8px !important;
    padding: 6px 10px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
}

body.gb-products-page .gblg-filter-title {
    margin: 0 0 8px !important;
    font-size: 14px !important;
    color: #123064 !important;
}

body.gb-products-page .gblg-filter-block {
    margin: 0 0 14px !important;
}

body.gb-products-page .gblg-filter-block.gblg-cats-wrap {
    border: 1px solid rgba(13, 42, 95, 0.2) !important;
    border-radius: 10px !important;
    padding: 10px !important;
    background: rgba(239, 246, 255, 0.6) !important;
}

body.gb-products-page .gblg-filter-block:last-child {
    margin-bottom: 0 !important;
}

body.gb-products-page .gblg-filter-search {
    width: 100% !important;
    border: 1px solid rgba(13, 42, 95, 0.25) !important;
    border-radius: 8px !important;
    padding: 8px 10px !important;
    font-size: 13px !important;
}

body.gb-products-page .gblg-filter-options {
    display: grid !important;
    gap: 6px !important;
}

body.gb-products-page .gblg-filter-options label {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 13px !important;
    color: #1f3656 !important;
}

body.gb-products-page .gblg-cats-list {
    display: grid !important;
    gap: 6px !important;
    padding: 8px !important;
    border: 1px solid rgba(13, 42, 95, 0.3) !important;
    border-radius: 10px !important;
    background: rgba(238, 245, 255, 1) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
}

body.gb-products-page .gblg-cats-list .gblg-cat-item {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 8px !important;
    border: 1px solid rgba(13, 42, 95, 0.15) !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.94) !important;
    padding: 6px 8px !important;
    overflow: hidden !important;
}

body.gb-products-page .gblg-cats-list .gblg-cat-link {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 8px !important;
    text-decoration: none !important;
    color: #1f3656 !important;
    font-size: 13px !important;
    padding: 6px 8px !important;
    border: 1px solid rgba(13, 42, 95, 0.14) !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.88) !important;
    white-space: nowrap !important;
    transition: background 120ms ease, border-color 120ms ease !important;
    cursor: pointer !important;
    text-align: left !important;
    appearance: none !important;
    -webkit-appearance: none !important;
}

body.gb-products-page .gblg-cats-list > * {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 8px !important;
    text-decoration: none !important;
    color: #1f3656 !important;
    font-size: 13px !important;
    padding: 6px 8px !important;
    border: 1px solid rgba(13, 42, 95, 0.14) !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.92) !important;
    white-space: nowrap !important;
    overflow: hidden !important;
}

body.gb-products-page .gblg-cats-list .gblg-cat-link:hover {
    background: #ffffff !important;
    border-color: rgba(13, 42, 95, 0.24) !important;
}

body.gb-products-page .gblg-cats-list .gblg-cat-link > span:first-child {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    text-align: left !important;
    justify-self: start !important;
}

body.gb-products-page .gblg-cats-list .gblg-cat-link.gblg-active {
    color: #0f3f89 !important;
    font-weight: 700 !important;
    border-color: rgba(15, 63, 137, 0.35) !important;
    background: rgba(224, 236, 255, 0.7) !important;
}

body.gb-products-page .gblg-cats-list .gblg-cat-link .gblg-cat-count {
    color: #5b7291 !important;
    font-size: 12px !important;
}

body.gb-products-page .gblg-show-more-cats {
    margin-top: 0 !important;
    border: 1px dashed rgba(27, 75, 141, 0.42) !important;
    background: rgba(235, 244, 255, 0.95) !important;
    color: #1b4b8d !important;
    padding: 6px 8px !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    width: 100% !important;
    min-height: 34px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
}

body.gb-products-page .gblg-cats-list button.gblg-show-more-cats {
    display: inline-flex !important;
    grid-template-columns: none !important;
    text-align: center !important;
}

body.gb-products-page .gblg-show-more-cats:hover {
    background: #ffffff !important;
    border-color: rgba(27, 75, 141, 0.58) !important;
}

body.gb-products-page .gblg-tech-cats-head {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
}

body.gb-products-page .gblg-main-cats-head,
body.gb-products-page .gblg-tech-cats-head {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
}

body.gb-products-page .gblg-main-cats-head .gblg-filter-title,
body.gb-products-page .gblg-tech-cats-head .gblg-filter-title {
    margin: 0 !important;
}

body.gb-products-page .gblg-main-cats-toggle,
body.gb-products-page .gblg-tech-cats-toggle {
    width: 28px !important;
    min-width: 28px !important;
    height: 28px !important;
    min-height: 28px !important;
    padding: 0 !important;
    border: 1px solid rgba(13, 42, 95, 0.24) !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    color: #123064 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
}

body.gb-products-page .gblg-cats-wrap .gblg-cats-list {
    margin-top: 8px !important;
}

body.gb-products-page .gblg-cats-wrap .gblg-cats-list[hidden] {
    display: none !important;
}

body.gb-products-page .gblg-tech-cats-wrap .gblg-tech-cats-list {
    margin-top: 8px !important;
}

body.gb-products-page .gblg-tech-cats-wrap .gblg-tech-cats-list[hidden] {
    display: none !important;
}

body.gb-products-page .gblg-products-topbar {
    display: grid !important;
    grid-template-columns: 270px minmax(0, 1fr) !important;
    align-items: end !important;
    justify-content: initial !important;
    gap: 8px !important;
    margin: 7px 0 5px !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

body.gb-products-page .gblg-products-topbar h1 {
    margin: 0 !important;
    padding: 0 !important;
    text-align: center !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: #102a53 !important;
    text-shadow: none !important;
    line-height: 1.12 !important;
    font-size: clamp(14px, 1.25vw, 17px) !important;
    font-weight: 800 !important;
    grid-column: 1 / -1 !important;
    justify-self: center !important;
    width: max-content !important;
    max-width: 100% !important;
}

body.gb-products-page .entry > h1,
body.gb-products-page .entry-title {
    margin: 0 0 6px !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: #102a53 !important;
    text-shadow: none !important;
    line-height: 1.12 !important;
    font-size: clamp(14px, 1.25vw, 17px) !important;
    font-weight: 800 !important;
}

body.gb-products-page .gblg-sort-wrap {
    margin-left: 0 !important;
    grid-column: 2 !important;
    justify-self: end !important;
    margin-top: 3px !important;
    align-self: end !important;
}

body.gb-products-page .gblg-sort-select {
    min-width: 132px !important;
    border: 1px solid rgba(13, 42, 95, 0.25) !important;
    border-radius: 6px !important;
    padding: 5px 7px !important;
    font-size: 11px !important;
    background: #fff !important;
    line-height: 1.2 !important;
}

body.gb-products-page .gb-products-wrap .woocommerce-ordering {
    display: none !important;
}

body.gb-products-page .gblg-products-main,
body.gb-products-page .gblg-products-main .gb-products-wrap,
body.gb-products-page .gblg-products-main .gb-products-grid {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body.gb-products-page .gblg-filter-backdrop {
    display: none !important;
}

body.gb-products-page .gb-products-wrap .gb-products-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 12px !important;
    align-items: start !important;
    grid-auto-rows: auto !important;
}

/* When sidebar is collapsed, use the freed width for one extra card column */
body.gb-products-page.gblg-sidebar-collapsed .gb-products-wrap .gb-products-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
}

body.gb-products-page .gb-products-wrap .gb-products-grid > * {
    align-self: start !important;
}

/* Reduce card visual height on listing pages */
body.gb-products-page .gb-products-wrap .gb-product-card {
    padding: 5px !important;
}

body.gb-products-page .gb-products-wrap .gb-card-image-link {
    display: block !important;
    height: 300px !important;
    min-height: 300px !important;
    max-height: 300px !important;
    overflow: hidden !important;
    margin-bottom: 2px !important;
}

body.gb-products-page .gb-products-wrap .gb-card-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    display: block !important;
    background: #ffffff !important;
}

/* Slightly reduce product text density on listing pages (not homepage) */
body.gb-products-page .gb-products-wrap .gb-product-card,
body.gb-products-page .gb-products-wrap li.product,
body.gb-products-page .gb-products-wrap article.product {
    font-size: 13px !important;
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
    position: relative !important;
}

body.gb-products-page .gb-products-wrap .gb-product-card .gb-card-title,
body.gb-products-page .gb-products-wrap .gb-product-card .woocommerce-loop-product__title,
body.gb-products-page .gb-products-wrap li.product .woocommerce-loop-product__title,
body.gb-products-page .gb-products-wrap article.product .woocommerce-loop-product__title {
    font-size: 12.5px !important;
    line-height: 1.25 !important;
    margin: 0 0 2px !important;
}

body.gb-products-page .gb-products-wrap .gblg-products-title-clamp {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 3 !important;
    overflow: hidden !important;
    min-height: calc(1.25em * 3) !important;
    max-height: calc(1.25em * 3) !important;
    line-height: 1.25 !important;
    position: relative !important;
}

body.gb-products-page .gb-products-wrap .gblg-products-title-overflow {
    cursor: pointer !important;
}

body.gb-products-page .gb-products-wrap .gblg-products-title-overflow::after {
    content: ' ...more';
    color: #ffffff !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.6) !important;
}

body.gb-products-page .gb-products-wrap .gb-product-card .gb-card-price,
body.gb-products-page .gb-products-wrap .gb-product-card .price,
body.gb-products-page .gb-products-wrap li.product .price,
body.gb-products-page .gb-products-wrap article.product .price {
    font-size: 12.5px !important;
}

body.gb-products-page .gb-products-wrap .gb-product-card .button,
body.gb-products-page .gb-products-wrap li.product .button,
body.gb-products-page .gb-products-wrap article.product .button {
    font-size: 11.5px !important;
    height: 32px !important;
    min-height: 32px !important;
    padding: 0 12px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    text-align: center !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
    vertical-align: middle !important;
}

body.gb-products-page .gb-products-wrap .gb-card-cta,
body.gb-products-page .gb-products-wrap .gb-card-cta.disabled {
    height: 32px !important;
    min-height: 32px !important;
    padding: 0 12px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    margin: 0 0 3px !important;
}

/* Keep availability line in a consistent row/height across cards */
body.gb-products-page .gb-products-wrap .gb-card-stock {
    display: block !important;
    min-height: 1.3em !important;
    max-height: 1.3em !important;
    line-height: 1.3 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    margin: 4px 0 0 !important;
}

/* Keep price tight below stock line (no large spacer) */
body.gb-products-page .gb-products-wrap .gb-card-price,
body.gb-products-page .gb-products-wrap .price {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    line-height: 1.15 !important;
}

/* Pre-order badge as top-left overlay on listing pages */
body.gb-products-page .gb-products-wrap .gb-preorder-badge {
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    position: absolute !important;
    top: 7px !important;
    left: 7px !important;
    row-gap: 2px !important;
    width: 66px !important;
    min-width: 66px !important;
    max-width: 66px !important;
    margin: 0 !important;
    padding: 4px 4px !important;
    box-sizing: border-box !important;
    border-radius: 8px !important;
    border: 1px solid rgba(13, 42, 95, 0.18) !important;
    background: rgba(244, 248, 255, 0.98) !important;
    box-shadow: 0 1px 6px rgba(13, 42, 95, 0.16) !important;
    inset: auto !important;
    right: auto !important;
    bottom: auto !important;
    z-index: 4 !important;
    pointer-events: none !important;
}

body.gb-products-page .gb-products-wrap .gb-preorder-badge-label,
body.gb-products-page .gb-products-wrap .gb-preorder-badge-date {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
    text-align: center !important;
}

body.gb-products-page .gb-products-wrap .gb-preorder-badge-label {
    font-size: 9px !important;
    line-height: 1.05 !important;
    font-weight: 800 !important;
    letter-spacing: 0.02em !important;
    text-transform: uppercase !important;
}

body.gb-products-page .gb-products-wrap .gb-preorder-badge-date {
    font-size: 9px !important;
    line-height: 1.05 !important;
    font-weight: 700 !important;
    white-space: normal !important;
}

/* Hide SKU / Item code rows on product-list pages to reclaim space */
body.gb-products-page .gb-products-wrap .gb-card-sku,
body.gb-products-page .gb-products-wrap .sku_wrapper,
body.gb-products-page .gb-products-wrap .product_meta .sku {
    display: none !important;
}

/* Single product related/upsell cards: compact image area + tighter card height */
.single-product .related ul.products li.product,
.single-product .upsells ul.products li.product,
.single-product .up-sells ul.products li.product {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 8px !important;
    overflow: hidden !important;
}

.single-product .related ul.products li.product .woocommerce-LoopProduct-link,
.single-product .upsells ul.products li.product .woocommerce-LoopProduct-link,
.single-product .up-sells ul.products li.product .woocommerce-LoopProduct-link {
    display: grid !important;
    grid-template-rows: 160px auto auto !important;
    row-gap: 6px !important;
    align-content: start !important;
    min-height: 0 !important;
    margin-bottom: 6px !important;
}

.single-product .related ul.products li.product .woocommerce-LoopProduct-link > img,
.single-product .upsells ul.products li.product .woocommerce-LoopProduct-link > img,
.single-product .up-sells ul.products li.product .woocommerce-LoopProduct-link > img {
    grid-row: 1 !important;
    width: 100% !important;
    height: 160px !important;
    max-height: 160px !important;
    min-height: 160px !important;
    object-fit: contain !important;
    object-position: center !important;
    display: block !important;
    margin: 0 !important;
    background: #ffffff !important;
    border-radius: 8px !important;
}

.single-product .related ul.products li.product .woocommerce-loop-product__title,
.single-product .upsells ul.products li.product .woocommerce-loop-product__title,
.single-product .up-sells ul.products li.product .woocommerce-loop-product__title {
    grid-row: 2 !important;
    margin: 0 !important;
    font-size: 12.5px !important;
    line-height: 1.28 !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 3 !important;
    overflow: hidden !important;
    min-height: calc(1.28em * 3 + 6px) !important;
    max-height: calc(1.28em * 3 + 6px) !important;
    padding-bottom: 3px !important;
    box-sizing: border-box !important;
}

.single-product .related ul.products li.product .price,
.single-product .upsells ul.products li.product .price,
.single-product .up-sells ul.products li.product .price {
    grid-row: 3 !important;
    margin: 2px 0 0 !important;
    line-height: 1.15 !important;
    font-size: 13px !important;
}

.single-product .related ul.products li.product .button,
.single-product .upsells ul.products li.product .button,
.single-product .up-sells ul.products li.product .button {
    width: 100% !important;
    min-height: 32px !important;
    height: 32px !important;
    margin-top: 0 !important;
    padding: 0 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    text-align: center !important;
}

@media (min-width: 1500px) {
    body.gb-products-page .gb-products-wrap .gb-products-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    }

    body.gb-products-page.gblg-sidebar-collapsed .gb-products-wrap .gb-products-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 980px) {
    .single-product .related ul.products li.product .woocommerce-LoopProduct-link,
    .single-product .upsells ul.products li.product .woocommerce-LoopProduct-link,
    .single-product .up-sells ul.products li.product .woocommerce-LoopProduct-link {
        grid-template-rows: 132px auto auto !important;
    }

    .single-product .related ul.products li.product .woocommerce-LoopProduct-link > img,
    .single-product .upsells ul.products li.product .woocommerce-LoopProduct-link > img,
    .single-product .up-sells ul.products li.product .woocommerce-LoopProduct-link > img {
        height: 132px !important;
        max-height: 132px !important;
        min-height: 132px !important;
    }
}

.gblg-extra-products {
    margin-top: 6px !important;
}

.home-latest .gblg-latest-filter {
    min-width: 150px !important;
    max-width: 220px !important;
    border-radius: 8px !important;
    border: 1px solid rgba(13, 42, 95, 0.3) !important;
    background: #ffffff !important;
    color: #123064 !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    padding: 7px 10px !important;
}

.home-latest .gblg-latest-filter:focus {
    outline: 2px solid rgba(13, 42, 95, 0.35) !important;
    outline-offset: 1px !important;
}

.home-latest .product-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 12px !important;
    align-items: start !important;
}

.home-latest .product-grid > * {
    align-self: start !important;
}

.home-latest .showcase-card {
    padding: 8px !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    border-radius: 12px !important;
    min-height: 256px !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.home-latest .showcase-card.gblg-skeleton-card {
    pointer-events: none !important;
    background: rgba(255, 255, 255, 0.72) !important;
    border: 1px solid rgba(13, 42, 95, 0.08) !important;
}

.gblg-skeleton-card .gblg-skel-media {
    width: 100% !important;
    height: 170px !important;
    border-radius: 8px !important;
    background: linear-gradient(90deg, rgba(220,230,245,0.9), rgba(240,245,252,0.95), rgba(220,230,245,0.9)) !important;
    background-size: 200% 100% !important;
    animation: gblgShimmer 1.25s linear infinite !important;
}

.gblg-skeleton-card .gblg-skel-line {
    height: 11px !important;
    border-radius: 6px !important;
    margin-top: 8px !important;
    background: rgba(203, 217, 236, 0.9) !important;
}

.gblg-skeleton-card .gblg-skel-line.is-short {
    width: 68% !important;
}

.gblg-skeleton-card .gblg-skel-line.is-mid {
    width: 82% !important;
}

.gblg-skeleton-card .gblg-skel-meta {
    margin-top: 10px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 8px !important;
}

.gblg-skeleton-card .gblg-skel-price {
    width: 54px !important;
    height: 12px !important;
    border-radius: 6px !important;
    background: rgba(203, 217, 236, 0.95) !important;
}

.gblg-skeleton-card .gblg-skel-btn {
    width: 86px !important;
    height: 30px !important;
    border-radius: 8px !important;
    background: rgba(186, 202, 227, 0.95) !important;
}

@keyframes gblgShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.home-latest .showcase-card img {
    width: 100% !important;
    height: 300px !important;
    max-height: 300px !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    object-position: center !important;
    border-radius: 8px !important;
    margin: 0 !important;
    background: #ffffff !important;
    display: block !important;
}

.home-latest .showcase-card-link,
.home-latest .showcase-card > a:first-of-type {
    display: grid !important;
    grid-template-rows: 300px !important;
    row-gap: 0 !important;
    min-height: 300px !important;
    position: relative !important;
    align-content: start !important;
}

.home-latest .showcase-card-link > img,
.home-latest .showcase-card > a:first-of-type > img {
    grid-row: 1 !important;
}

.home-latest .showcase-card strong {
    font-size: 12px !important;
    line-height: 1.25 !important;
    min-height: calc(1.25em * 3) !important;
    max-height: calc(1.25em * 3) !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    position: relative !important;
    margin: 0 !important;
    align-self: start !important;
    grid-row: 2 !important;
    width: 100% !important;
    padding: 6px 8px !important;
    border-radius: 8px 8px 0 0 !important;
    color: #0f234a !important;
    margin-bottom: 0 !important;
}

.home-showcase .showcase-card strong,
.gblg-extra-products .showcase-card strong {
    width: 100% !important;
    padding: 6px 8px !important;
    border-radius: 8px 8px 8px 8px !important;
    color: #0f234a !important;
    margin-bottom: 0 !important;
}

.home-latest .showcase-card .price {
    font-size: 13px !important;
    margin: 0 !important;
    line-height: 1.2 !important;
}

.home-latest .showcase-card .showcase-meta {
    margin-top: -1px !important;
    min-height: 92px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-areas:
        "title title"
        "price cta" !important;
    align-items: center !important;
    gap: 6px !important;
    width: 100% !important;
    padding: 6px 8px !important;
    background: rgba(246, 250, 255, 0.96) !important;
    border-top: 0 !important;
}

.home-latest .showcase-card .showcase-meta > strong {
    grid-area: title !important;
    grid-column: 1 / -1 !important;
    margin: 0 0 2px !important;
    grid-row: 1 !important;
    max-height: none !important;
    min-height: 0 !important;
    -webkit-line-clamp: 3 !important;
    line-clamp: 3 !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    line-height: 1.25 !important;
    min-height: calc(1.25em * 3.5) !important;
    height: calc(1.25em * 3.5) !important;
}

.home-latest .showcase-card .showcase-meta > .price {
    grid-area: price !important;
}

.home-latest .showcase-card .showcase-meta > .button,
.home-latest .showcase-card .showcase-meta > form.cart {
    grid-area: cta !important;
}

.home-showcase .showcase-card .showcase-meta,
.gblg-extra-products .showcase-card .showcase-meta {
    margin-top: -1px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-areas:
        "title title"
        "price cta" !important;
    align-items: center !important;
    gap: 6px !important;
    width: 100% !important;
    padding: 6px 8px !important;
    border-radius: 8px 8px 8px 8px !important;
    background: rgba(246, 250, 255, 0.96) !important;
    border-top: 0 !important;
}

.home-showcase .showcase-card .showcase-meta > strong,
.gblg-extra-products .showcase-card .showcase-meta > strong {
    grid-area: title !important;
    grid-column: 1 / -1 !important;
    margin: 0 0 2px !important;
    grid-row: 1 !important;
    max-height: none !important;
    min-height: calc(1.25em * 3.5) !important;
    height: calc(1.25em * 3.5) !important;
    line-height: 1.25 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

.home-showcase .showcase-card .showcase-meta > .price,
.gblg-extra-products .showcase-card .showcase-meta > .price {
    grid-area: price !important;
}

.home-showcase .showcase-card .showcase-meta > .button,
.home-showcase .showcase-card .showcase-meta > form.cart,
.gblg-extra-products .showcase-card .showcase-meta > .button,
.gblg-extra-products .showcase-card .showcase-meta > form.cart {
    grid-area: cta !important;
}

.home-latest .showcase-card .button {
    height: 30px !important;
    min-height: 30px !important;
    padding: 0 10px !important;
    font-size: 12px !important;
    line-height: 1 !important;
    border-radius: 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
}

/* Homepage deal/showcase cards: hide qty picker, keep add-to-cart button */
.home-latest .showcase-card .showcase-meta form.cart .quantity,
.home-latest .showcase-card .showcase-meta form.cart input.qty {
    display: none !important;
}

.home-latest .showcase-card .showcase-meta form.cart {
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
}

.home-latest .showcase-card .button.is-disabled {
    opacity: 0.7 !important;
}

.home-latest .product-grid > * {
    display: block !important;
}

.home-latest .product-grid {
    gap: 12px !important;
}

.home-latest .showcase-card .gb-age-thumb-wrap {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: 300px !important;
    margin: 0 !important;
    grid-row: 1 !important;
    overflow: hidden !important;
}

.home-latest .showcase-card .gb-age-thumb-wrap img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    border-radius: 8px !important;
    display: block !important;
    margin: 0 !important;
}

.gblg-see-more-card {
    display: grid !important;
    grid-auto-flow: row !important;
    place-items: center !important;
    place-content: center !important;
    gap: 6px !important;
    min-height: 256px !important;
    height: 100% !important;
    align-self: stretch !important;
    background: rgba(255, 255, 255, 0.92) !important;
    border: 1px solid rgba(13, 42, 95, 0.15) !important;
    border-radius: 12px !important;
    color: #123064 !important;
    text-decoration: none !important;
    font-weight: 800 !important;
    font-size: 30px !important;
    line-height: 1.05 !important;
    text-align: center !important;
    padding: 12px !important;
}

.gblg-see-more-card .gblg-see-more-label {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    font-size: 30px !important;
    line-height: 1.05 !important;
    white-space: nowrap !important;
}

.gblg-see-more-card:hover,
.gblg-see-more-card:focus-visible {
    background: #ffffff !important;
    transform: translateY(-1px) !important;
}

.gblg-see-more-card .gblg-see-more-count {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    font-size: 20px !important;
    line-height: 1.2 !important;
    color: #2d4e87 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
}

.gblg-more-inline {
    font-size: 11px !important;
    color: #1b4b8d !important;
    text-decoration: underline !important;
    font-weight: 700 !important;
}

.home-latest .showcase-card strong.gblg-title-long::after {
    content: ' ...more';
    color: #1b4b8d;
    font-weight: 700;
}

.home-latest .content-wrap {
    max-width: 1440px !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
}

@media (max-width: 900px) {
    body.gb-products-page .site-main {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    body.gb-products-page .entry {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    body.gb-products-page .gblg-products-shell {
        grid-template-columns: 1fr !important;
    }

    body.gb-products-page .gblg-products-sidebar {
        display: none !important;
        position: fixed !important;
        top: 74px !important;
        left: 8px !important;
        right: 8px !important;
        bottom: 8px !important;
        z-index: 85 !important;
        max-height: none !important;
        margin: 0 !important;
        background: #ffffff !important;
    }

    body.gb-products-page.gblg-filters-open .gblg-products-sidebar {
        display: block !important;
    }

    body.gb-products-page .gblg-filter-close {
        display: inline-flex !important;
    }

    body.gb-products-page .gblg-filter-nudge {
        display: none !important;
    }

    body.gb-products-page .gblg-filter-toggle {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 80px !important;
        min-width: 80px !important;
        height: 80px !important;
        min-height: 80px !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 20px !important;
        background: #ff9f06 !important;
        color: #0f234a !important;
        box-shadow: 0 8px 22px rgba(6, 20, 45, 0.35) !important;
        position: fixed !important;
        right: 14px !important;
        bottom: 14px !important;
        z-index: 96 !important;
        gap: 0 !important;
    }

    body.gb-products-page .gblg-filter-toggle .gblg-filter-toggle-text {
        display: none !important;
    }

    body.gb-products-page .gblg-filter-toggle .gblg-filter-toggle-icon {
        width: 34px !important;
        height: 34px !important;
    }

    body.gb-products-page .gblg-filter-toggle .gblg-filter-toggle-icon svg {
        width: 34px !important;
        height: 34px !important;
        stroke: currentColor !important;
        fill: none !important;
        stroke-width: 2.6 !important;
        stroke-linecap: round !important;
        stroke-linejoin: round !important;
    }

    body.gb-products-page.gblg-filters-open .gblg-filter-toggle {
        display: none !important;
    }

    body.gb-products-page .gblg-filter-backdrop {
        display: none !important;
        position: fixed !important;
        inset: 0 !important;
        background: rgba(6, 16, 36, 0.45) !important;
        z-index: 84 !important;
    }

    body.gb-products-page.gblg-filters-open .gblg-filter-backdrop {
        display: block !important;
    }

    body.gb-products-page .gblg-products-topbar {
        display: flex !important;
        flex-wrap: wrap !important;
    }

    body.gb-products-page .gblg-products-topbar h1 {
        margin-top: 5px !important;
    }

    body.gb-products-page .gblg-sort-wrap {
        margin-left: 0 !important;
        width: 100% !important;
    }

    body.gb-products-page .gblg-sort-select {
        width: 100% !important;
    }

    body.gb-products-page .gb-products-wrap .gb-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .home-latest .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 640px) {
    .home-recommended .gblg-rec-carousel {
        width: 100vw !important;
        margin-left: calc(50% - 50vw) !important;
        margin-right: calc(50% - 50vw) !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .home-recommended .gblg-rec-nav {
        display: none !important;
    }

    .gblg-see-more-card {
        min-height: 170px !important;
        font-size: 22px !important;
    }

    .gblg-see-more-card .gblg-see-more-label {
        font-size: 22px !important;
    }

    .gblg-see-more-card .gblg-see-more-count {
        font-size: 14px !important;
    }

    .home-recommended .footer-highlights.recommended-grid--secondary,
    .site-footer > .footer-highlights.recommended-grid--secondary {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        background: transparent !important;
        padding: 0 !important;
        gap: 8px !important;
    }

    .home-recommended .footer-highlights.recommended-grid--secondary .footer-highlight-item,
    .site-footer > .footer-highlights.recommended-grid--secondary .footer-highlight-item {
        background: rgba(255, 255, 255, 0.62) !important;
        border: 1px solid rgba(42, 60, 85, 0.16) !important;
        border-radius: 10px !important;
        padding: 8px !important;
        min-height: 64px !important;
    }

    .home-recommended .footer-highlights.recommended-grid--secondary .footer-highlight-item h4,
    .site-footer > .footer-highlights.recommended-grid--secondary .footer-highlight-item h4 {
        font-size: 12px !important;
        margin: 0 !important;
    }

    .home-recommended .footer-highlights.recommended-grid--secondary .footer-highlight-item p,
    .site-footer > .footer-highlights.recommended-grid--secondary .footer-highlight-item p {
        font-size: 10px !important;
        line-height: 1.2 !important;
    }

    .home-latest .gblg-latest-header {
        flex-wrap: wrap !important;
        gap: 8px !important;
    }

    .home-latest .gblg-latest-filter {
        width: 100% !important;
        max-width: 100% !important;
    }

    .home-latest .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .home-recommended .recommended-grid {
        gap: 6px !important;
        max-width: none !important;
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        justify-content: flex-start !important;
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    .home-recommended .recommended-card {
        flex: 0 0 116px !important;
        width: auto !important;
        height: 108px !important;
        min-width: 0 !important;
        padding: 6px !important;
    }

    .home-recommended .recommended-card span {
        font-size: 10px !important;
        line-height: 1.2 !important;
        padding: 3px 7px !important;
        max-width: calc(100% - 6px) !important;
    }
}

@media (max-width: 980px) {
    :root {
        --gblg-mobile-top-offset: 56px;
    }

    .site-footer .footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 20px !important;
    }
}

@media (max-width: 640px) {
    .site-footer .footer-main {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
}

@media (max-width: 980px) {
    .site-header {
        padding: 0 !important;
    }

    .site-header .header-utility-row,
    .site-header .header-row {
        display: none !important;
    }

    .site-header .site-branding,
    .site-header .gblg-logo-in-nav,
    .site-header .header-utility-nav,
    .site-header .header-actions {
        display: none !important;
    }

    .primary-nav {
        margin: 0 !important;
    }

    .primary-nav .gb-header-menu {
        min-height: 0 !important;
        padding: 4px 8px !important;
        justify-content: flex-start !important;
    }

    .primary-nav .gb-header-links,
    .primary-nav .gblg-nav-links-wrap {
        display: none !important;
    }

    .primary-nav .gb-header-all-wrap {
        margin: 0 !important;
    }

    .header-utility-inner {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
    }

    .header-search.header-search--compact {
        width: min(100%, 480px) !important;
        order: 2 !important;
        margin: 0 auto !important;
    }

    .header-utility-nav {
        order: 3 !important;
        margin-left: auto !important;
    }

    .primary-nav .gblg-logo-in-nav {
        position: static !important;
        left: auto !important;
        top: auto !important;
        transform: none !important;
        width: 100% !important;
        justify-content: center !important;
        margin: 0 0 4px !important;
    }

    .primary-nav .gblg-nav-links-wrap {
        width: 100% !important;
        justify-content: center !important;
        flex-wrap: wrap !important;
    }

    .site-branding .custom-logo {
        max-height: 36px !important;
    }

    /* Keep mobile sticky mini header visible even at top */
    #gb-sticky-mini-header,
    #gb-sticky-mini-header[aria-hidden="true"],
    #gb-sticky-mini-header:not(.is-visible) {
        display: block !important;
        transform: translateY(0) !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    /* Keep sticky mini header on a single row after adding logo */
    :is(#gb-sticky-mini-header, .gb-sticky-mini-header) .gb-sticky-mini-inner {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        gap: 4px !important;
        min-width: 0 !important;
    }

    :is(#gb-sticky-mini-header, .gb-sticky-mini-header) :is(.gb-header-all-wrap, .gblg-sticky-mini-logo, .gb-sticky-mini-link) {
        flex: 0 0 auto !important;
    }

    :is(#gb-sticky-mini-header, .gb-sticky-mini-header) .gb-sticky-mini-search {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        width: auto !important;
        margin: 0 !important;
    }

    :is(#gb-sticky-mini-header, .gb-sticky-mini-header) .gb-sticky-mini-search form {
        gap: 0 !important;
    }

    :is(#gb-sticky-mini-header, .gb-sticky-mini-header) .gb-sticky-mini-search input[type="search"] {
        min-width: 0 !important;
        width: 100% !important;
        padding: 7px 8px !important;
        font-size: 12px !important;
    }

    :is(#gb-sticky-mini-header, .gb-sticky-mini-header) .gb-sticky-mini-link {
        padding-left: 8px !important;
        padding-right: 8px !important;
        font-size: 12px !important;
        white-space: nowrap !important;
    }

    .gblg-sticky-mini-logo img {
        height: 16px !important;
        max-width: 68px !important;
    }

    /* Keep top home categories fully visible under the mobile top bar */
    body.home .home-video-bg + .home-recommended,
    body.home .home-recommended {
        margin-top: var(--gblg-mobile-top-offset, 56px) !important;
        padding-top: 0 !important;
        scroll-margin-top: var(--gblg-mobile-top-offset, 56px) !important;
    }

    body.home .home-recommended .content-wrap {
        padding-top: 0 !important;
    }
}

/* Final card-info radius normalization across homepage sections */
.home-latest .showcase-card .showcase-meta,
.home-showcase .showcase-card .showcase-meta,
.gblg-extra-products .showcase-card .showcase-meta {
    border-radius: 8px !important;
    overflow: hidden !important;
}
