/* 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, 990px) 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%, 987px) !important;
    min-width: 0 !important;
    transform: translateY(10px) !important;
    margin-bottom: 4px !important;
}

.header-search.header-search--compact form {
    width: 100% !important;
    max-width: 100% !important;
    gap: 0 !important;
    min-height: 48px !important;
    border-radius: 4px !important;
    overflow: hidden !important;
    background: #ffffff !important;
    border: 0 !important;
    box-shadow: none !important;
}

.header-search.header-search--compact input[type="search"] {
    min-height: 48px !important;
    padding: 15px 12px !important;
    font-size: 18px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #ffffff !important;
}

.header-search.header-search--compact button {
    position: relative !important;
    overflow: hidden !important;
    min-height: 48px !important;
    padding: 0 24px !important;
    font-size: 17px !important;
    border-radius: 0 !important;
    min-width: 94px !important;
    background-color: #ffb84d !important;
    background-image:
        linear-gradient(120deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 42%, rgba(255, 255, 255, 0.28) 49%, rgba(255, 255, 255, 0.62) 50%, rgba(255, 255, 255, 0.28) 51%, rgba(255, 255, 255, 0) 58%, rgba(255, 255, 255, 0) 100%),
        linear-gradient(#ffb84d, #ffb84d) !important;
    background-repeat: no-repeat !important;
    background-size: 220% 100%, 100% 100% !important;
    background-position: 180% 0, 0 0 !important;
    transition: background-position 700ms ease-out !important;
    box-shadow: inset 1px 0 0 rgba(15, 35, 74, 0.14) !important;
}

.header-search.header-search--compact button:hover,
.header-search.header-search--compact button:focus-visible {
    background-position: -70% 0, 0 0 !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-nav-actions {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-left: 10px !important;
    flex: 0 0 auto !important;
}

.primary-nav .gblg-nav-actions .header-utility-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    color: #f8fbff !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}

.primary-nav .gblg-nav-actions .header-utility-cart-wrap {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    z-index: 120 !important;
}

.primary-nav .gblg-nav-actions .header-utility-cart-count {
    margin-left: 2px !important;
}

.primary-nav .gblg-nav-actions .header-utility-cart-popover {
    top: calc(100% + 10px) !important;
    bottom: auto !important;
    right: 0 !important;
    left: auto !important;
    z-index: 500 !important;
}

.primary-nav .gblg-nav-actions .header-utility-cart-popover::before {
    top: -7px !important;
    bottom: auto !important;
    right: 18px !important;
    transform: rotate(45deg) !important;
}

.primary-nav .gblg-nav-actions .header-utility-cart-wrap:hover .header-utility-cart-popover,
.primary-nav .gblg-nav-actions .header-utility-cart-wrap:focus-within .header-utility-cart-popover {
    opacity: 1 !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}

.site-header,
.header-utility-row,
.header-utility-inner,
.primary-nav,
.primary-nav .gb-header-menu,
.primary-nav .gblg-nav-links-wrap,
.primary-nav .gblg-nav-actions,
.primary-nav .gblg-nav-actions .header-utility-cart-wrap {
    overflow: visible !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;
}

@media (min-width: 1550px) {
    .header-utility-inner,
    .header-row,
    .primary-nav,
    .primary-nav .gb-header-menu {
        max-width: 1600px !important;
    }
}

@media (max-width: 1640px) {
    .header-row,
    .primary-nav,
    .header-search.header-search--compact {
        display: none !important;
    }

    .header-utility-inner {
        grid-template-columns: 1fr !important;
        justify-items: end !important;
    }

    .header-utility-nav {
        grid-column: 1 !important;
        justify-self: end !important;
    }

    #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;
    }

    :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;
        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 input[type="search"] {
        min-width: 0 !important;
        width: 100% !important;
    }

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

    .home-brand-strip__track {
        margin-top: 50px !important;
    }
}

@media (max-width: 1549px) and (min-width: 1281px) {
    .header-utility-inner,
    .header-row,
    .primary-nav,
    .primary-nav .gb-header-menu {
        max-width: 1500px !important;
    }

    .header-utility-inner {
        grid-template-columns: 1fr minmax(260px, 987px) 1fr !important;
        gap: 8px !important;
    }

    .header-search.header-search--compact {
        grid-column: 2 !important;
        justify-self: center !important;
        width: min(100%, 987px) !important;
        transform: translateY(10px) !important;
        margin-bottom: 0 !important;
    }

    .header-utility-nav {
        grid-column: 3 !important;
        justify-self: end !important;
        gap: 8px !important;
    }

    .primary-nav .gb-header-menu {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 10px !important;
        min-height: 44px !important;
        padding-left: 170px !important;
    }

    .primary-nav .gblg-logo-in-nav {
        position: absolute !important;
        left: 24px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        width: 132px !important;
        margin: 0 !important;
    }

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

    .primary-nav .gblg-nav-links-wrap {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        width: auto !important;
        margin-left: 0 !important;
        gap: 8px !important;
        min-width: 0 !important;
    }

    .primary-nav .gb-header-links {
        display: flex !important;
        flex-wrap: nowrap !important;
        justify-content: center !important;
        gap: 0 !important;
        width: auto !important;
        min-width: 0 !important;
    }

    .primary-nav .gb-header-all-wrap {
        align-self: center !important;
    }

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

    .primary-nav .gblg-nav-actions {
        width: auto !important;
        justify-content: center !important;
        flex-wrap: nowrap !important;
        gap: 8px !important;
        margin-left: 8px !important;
    }

    .primary-nav .gblg-nav-actions .header-utility-link {
        font-size: 13px !important;
    }
}

@media (max-width: 1280px) and (min-width: 1025px) {
    .header-utility-inner {
        grid-template-columns: minmax(0, 1fr) auto !important;
        max-width: none !important;
        gap: 8px !important;
    }

    .header-search.header-search--compact {
        grid-column: 1 !important;
        justify-self: start !important;
        width: min(100%, 760px) !important;
        transform: none !important;
        margin-bottom: 0 !important;
    }

    .header-utility-nav {
        grid-column: 2 !important;
        justify-self: end !important;
        gap: 8px !important;
    }

    .primary-nav .gb-header-menu {
        padding-left: 156px !important;
    }

    .primary-nav .gblg-logo-in-nav {
        left: 18px !important;
        width: 122px !important;
    }

    .header-search.header-search--compact {
        width: min(100%, 860px) !important;
    }

    .primary-nav .gblg-nav-links-wrap {
        gap: 6px !important;
    }

    .primary-nav .gb-header-all-toggle,
    .primary-nav .gb-header-links a {
        min-height: 30px !important;
        padding: 5px 8px !important;
        font-size: 13px !important;
    }

    .primary-nav .gblg-nav-actions {
        gap: 8px !important;
    }

    .primary-nav .gblg-nav-actions .header-utility-link {
        font-size: 13px !important;
    }
}

@media (max-width: 1280px) and (min-width: 1025px) {
    .primary-nav .gb-header-menu {
        padding-left: 148px !important;
    }

    .primary-nav .gblg-logo-in-nav {
        left: 32px !important;
        width: 118px !important;
    }

    .primary-nav .gblg-nav-links-wrap {
        gap: 4px !important;
    }

    .primary-nav .gb-header-all-toggle,
    .primary-nav .gb-header-links a {
        padding: 5px 6px !important;
        font-size: 12px !important;
    }

    .primary-nav .gblg-nav-actions .header-utility-link {
        font-size: 12px !important;
        gap: 5px !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 */
body.home {
    position: relative !important;
    background-color: #f0f2f8 !important;
    background-image: none !important;
}

body.home::before {
    content: none !important;
    display: none !important;
    pointer-events: none !important;
}

body.home .site-header {
    background: #1f72a9 !important;
}

body.home .home-recommended,
body.home .home-recommended .content-wrap,
body.home .home-latest,
body.home .home-latest .content-wrap {
    background: transparent !important;
}

body.home .home-recommended,
body.home .home-latest {
    position: relative !important;
    z-index: 1 !important;
}

body.home .home-recommended {
    background-color: transparent !important;
    background-image: url("../images/pixel_background.png") !important;
    background-repeat: repeat-x !important;
    background-size: 950px 455px !important;
    background-position: top center !important;
}

body.home .home-recommended::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    background:
        linear-gradient(180deg, rgba(47, 125, 169, 0.22) 0%, rgba(47, 125, 169, 0.12) 58%, rgba(47, 125, 169, 0) 100%) !important;
    pointer-events: none !important;
    z-index: 0 !important;
}

body.home .home-recommended > *,
body.home .home-latest > * {
    position: relative !important;
    z-index: 1 !important;
}

.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;
    overflow: visible !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;
    overflow: visible !important;
}

.home-brand-strip {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    width: min(1240px, calc(100% - 36px)) !important;
    margin: 18px auto 0 !important;
    padding: 0 !important;
    border-radius: 18px !important;
}

.home-brand-strip__track {
    display: flex !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    background: #ffffff !important;
    border: 0 !important;
    box-shadow: 0 10px 28px rgba(21, 47, 79, 0.1) !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scrollbar-width: none !important;
    border-radius: 18px !important;
}

.home-brand-strip__track::-webkit-scrollbar {
    display: none !important;
}

.home-brand-strip__arrow {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 34px !important;
    height: 34px !important;
    flex: 0 0 34px !important;
    border: none !important;
    background: transparent !important;
    color: #c4c9d2 !important;
    font-size: 36px !important;
    line-height: 1 !important;
    padding: 0 !important;
    cursor: default !important;
}

.home-brand-strip__item {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto !important;
    min-width: 96px !important;
    padding: 14px 18px !important;
    min-height: 78px !important;
    box-sizing: border-box !important;
    text-align: center !important;
    text-decoration: none !important;
    background: #ffffff !important;
    color: #18283f !important;
    border-right: 1px solid rgba(24, 40, 63, 0.08) !important;
    font-family: "Trebuchet MS", "Segoe UI", sans-serif !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1.05 !important;
    letter-spacing: 0.01em !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
    border-radius: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}

.home-brand-strip__item:first-child {
    border-top-left-radius: 18px !important;
    border-bottom-left-radius: 18px !important;
}

.home-brand-strip__item:last-child {
    border-right: 0 !important;
    border-top-right-radius: 18px !important;
    border-bottom-right-radius: 18px !important;
}

.home-brand-strip__item span,
.home-brand-strip__item br {
    pointer-events: none !important;
}

.home-brand-strip__item--viewall {
    min-width: 108px !important;
    color: #983522 !important;
    font-size: 15px !important;
    letter-spacing: 0.03em !important;
}

.home-brand-strip__item--funko {
    color: #1f72a9 !important;
    font-size: 22px !important;
    font-weight: 900 !important;
    font-style: italic !important;
    text-transform: none !important;
}

.home-brand-strip__item--neca {
    background: #080808 !important;
    color: #ffffff !important;
    font-size: 20px !important;
}

.home-brand-strip__item--diamond {
    color: #1f72a9 !important;
    font-size: 18px !important;
    font-style: italic !important;
}

.home-brand-strip__item--mcfarlane {
    min-width: 118px !important;
    font-size: 12px !important;
}

.home-brand-strip__item--hasbro {
    background: #1f72a9 !important;
    color: #ffffff !important;
    font-size: 19px !important;
    font-style: italic !important;
    text-transform: none !important;
}

.home-brand-strip__item--beast,
.home-brand-strip__item--blizzard,
.home-brand-strip__item--enterbay {
    font-size: 12px !important;
}

.home-brand-strip__item--pow {
    color: #e2452f !important;
    font-size: 20px !important;
    font-style: italic !important;
}

.home-brand-strip__item--capcom {
    color: #f0bd1e !important;
    font-size: 18px !important;
}

.home-brand-strip__item--difuzed {
    color: #3a3a3a !important;
    font-size: 16px !important;
    text-transform: none !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: 0 !important;
    padding: 52px 18px 76px !important;
    max-width: none !important;
    margin-left: -18px !important;
    margin-right: -18px !important;
    width: 100% !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: visible !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: none !important;
}

.home-recommended .gblg-rec-carousel.can-left::before {
    opacity: 0 !important;
}

.home-recommended .gblg-rec-carousel.can-right::after {
    opacity: 0 !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: -18px !important;
}

.home-recommended .gblg-rec-nav.gblg-rec-next {
    right: -18px !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 {
    --gblg-glow-x: 50%;
    --gblg-glow-y: 50%;
    --gblg-glow-opacity: 0;
    --gblg-tilt-x: 0deg;
    --gblg-tilt-y: 0deg;
    flex: 0 0 200px !important;
    width: 200px !important;
    height: 250px !important;
    padding: 8px !important;
    border-radius: 0 !important;
    display: flex !important;
    align-items: flex-end !important;
    justify-content: flex-end !important;
    overflow: hidden !important;
    transform-origin: center center !important;
    transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease !important;
    will-change: transform, box-shadow !important;
    box-shadow: 0 10px 18px rgba(10, 38, 77, 0.08) !important;
    position: relative !important;
    z-index: 1 !important;
    border: 0 !important;
    outline: 0 !important;
    isolation: isolate !important;
    transform-style: preserve-3d !important;
    perspective: 1200px !important;
}

.home-recommended .recommended-card::before {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    border-radius: 0 !important;
    pointer-events: none !important;
    z-index: 2 !important;
    opacity: var(--gblg-glow-opacity) !important;
    transition: opacity 180ms ease !important;
    background:
        radial-gradient(
            circle at var(--gblg-glow-x) var(--gblg-glow-y),
            rgba(173, 226, 255, 0.42) 0%,
            rgba(103, 197, 255, 0.24) 14%,
            rgba(31, 114, 169, 0.12) 24%,
            rgba(31, 114, 169, 0) 42%
        ) !important;
    mix-blend-mode: screen !important;
}

.home-recommended .recommended-card::after {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    border-radius: 0 !important;
    padding: 2px !important;
    pointer-events: none !important;
    z-index: 2 !important;
    opacity: 0 !important;
    background:
        linear-gradient(
            115deg,
            rgba(255, 255, 255, 0.22) 0%,
            rgba(255, 255, 255, 0.82) 18%,
            rgba(133, 240, 255, 0.7) 34%,
            rgba(31, 114, 169, 0.34) 50%,
            rgba(255, 255, 255, 0.88) 66%,
            rgba(255, 255, 255, 0.2) 100%
        ) !important;
    background-size: 220% 100% !important;
    background-position: 100% 50% !important;
    transition: opacity 180ms ease !important;
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0) !important;
    -webkit-mask-composite: xor !important;
    mask-composite: exclude !important;
}

.home-recommended .recommended-card:hover,
.home-recommended .recommended-card:focus-visible,
.home-recommended .recommended-card.is-holo-active {
    transform: perspective(1200px) translateY(-6px) scale(1.12) rotateX(var(--gblg-tilt-x)) rotateY(var(--gblg-tilt-y)) !important;
    box-shadow:
        0 18px 30px rgba(10, 38, 77, 0.2),
        0 0 13px rgba(31, 114, 169, 0.24) !important;
    filter: saturate(1.05) contrast(1.03) !important;
    z-index: 5 !important;
    cursor: url("http://gb.local/wp-content/uploads/2026/03/d8er4gl-283160c2-2f20-4b41-973d-2903b6b18643.png") 6 2, pointer !important;
}

.home-recommended .recommended-card:hover::after,
.home-recommended .recommended-card:focus-visible::after,
.home-recommended .recommended-card.is-holo-active::after {
    opacity: 0.9 !important;
    animation: gblg-rec-card-stroke-shimmer 1.15s linear infinite !important;
}

.home-recommended .recommended-card span {
    font-size: 14px !important;
    line-height: 1.2 !important;
    padding: 10px 8px !important;
    position: static !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    margin: 0 -8px -8px !important;
    max-width: none !important;
    width: calc(100% + 16px) !important;
    min-height: 38px !important;
    border-radius: 0 !important;
    background: rgba(31, 114, 169, 0.96) !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    z-index: 3 !important;
    transform: translateZ(18px) !important;
}

.home .site-footer {
    margin-top: 0 !important;
}

.home-latest .gblg-latest-header {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !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: #1f72a9 !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;
}

.home-latest .gblg-latest-header h2 .gblg-section-title-link,
.gblg-extra-products .gblg-latest-header h2 .gblg-section-title-link,
.home-showcase .gblg-latest-header h2 .gblg-section-title-link {
    display: inline-block !important;
    width: 100% !important;
    text-align: center !important;
}

.gb-products-wrap--new-arrivals .gb-products-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 12px !important;
    align-items: start !important;
}

.gb-products-wrap--new-arrivals .gb-product-card {
    background: #ffffff !important;
    border: 0 !important;
    border-radius: 18px !important;
    padding: 14px 14px 16px !important;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.12) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    overflow: hidden !important;
    min-height: 100% !important;
    text-align: left !important;
    justify-items: stretch !important;
}

.gb-products-wrap--new-arrivals .gb-card-image-link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 280px !important;
    margin-bottom: 0 !important;
    text-decoration: none !important;
    order: 1 !important;
}

.gb-products-wrap--new-arrivals .gb-card-image {
    width: 100% !important;
    height: 250px !important;
    max-height: 250px !important;
    object-fit: contain !important;
    object-position: center !important;
    background: #ffffff !important;
    border-radius: 14px !important;
    padding: 0 !important;
    margin: 0 auto 12px !important;
}

.gb-products-wrap--new-arrivals .gb-card-title {
    order: 2 !important;
    margin: 0 0 8px !important;
    color: #0b1a33 !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    line-height: 1.12 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    text-decoration: none !important;
    min-height: calc(1.12em * 3.35) !important;
    max-height: calc(1.12em * 3.35) !important;
    overflow: hidden !important;
}

.gb-products-wrap--new-arrivals .gb-card-title:hover,
.gb-products-wrap--new-arrivals .gb-card-title:focus-visible {
    color: #0b1a33 !important;
    text-decoration: none !important;
}

.gb-products-wrap--new-arrivals .gb-card-sku {
    display: none !important;
}

.gb-products-wrap--new-arrivals .gb-card-stock {
    order: 3 !important;
    margin: 0 0 8px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
}

.gb-products-wrap--new-arrivals .gb-card-stock.is-instock {
    color: #0f8a2f !important;
}

.gb-products-wrap--new-arrivals .gb-card-stock.is-outofstock {
    color: #b11b1b !important;
}

.gb-products-wrap--new-arrivals .gb-card-price {
    order: 4 !important;
    margin: auto 0 12px !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    line-height: 1.2 !important;
    color: #1b2430 !important;
}

.gb-products-wrap--new-arrivals .gb-card-cta {
    order: 5 !important;
    width: 100% !important;
    min-height: 40px !important;
    height: 40px !important;
    padding: 0 18px !important;
    border: 0 !important;
    border-radius: 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 800 !important;
    font-size: 14px !important;
    line-height: 1 !important;
    text-transform: none !important;
    text-decoration: none !important;
    box-shadow: none !important;
}

.gb-products-wrap--new-arrivals .gb-card-cta.add_to_cart_button,
.gb-products-wrap--new-arrivals .gb-card-cta.product_type_simple.add_to_cart_button,
.gb-products-wrap--new-arrivals .gb-card-cta.ajax_add_to_cart {
    background: #43ac67 !important;
    color: #ffffff !important;
}

.gb-products-wrap--new-arrivals .gb-card-cta.add_to_cart_button:hover,
.gb-products-wrap--new-arrivals .gb-card-cta.add_to_cart_button:focus-visible,
.gb-products-wrap--new-arrivals .gb-card-cta.product_type_simple.add_to_cart_button:hover,
.gb-products-wrap--new-arrivals .gb-card-cta.product_type_simple.add_to_cart_button:focus-visible,
.gb-products-wrap--new-arrivals .gb-card-cta.ajax_add_to_cart:hover,
.gb-products-wrap--new-arrivals .gb-card-cta.ajax_add_to_cart:focus-visible {
    background: #389558 !important;
    color: #ffffff !important;
}

@media (max-width: 1200px) {
    .gb-products-wrap--new-arrivals .gb-products-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 980px) {
    .gb-products-wrap--new-arrivals .gb-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .gb-products-wrap--new-arrivals .gb-card-image-link {
        min-height: 240px !important;
    }

    .gb-products-wrap--new-arrivals .gb-card-image {
        height: 210px !important;
        max-height: 210px !important;
    }
}

@media (max-width: 640px) {
    .gb-products-wrap--new-arrivals .gb-products-grid {
        grid-template-columns: 1fr !important;
    }
}

@keyframes gblg-rec-card-stroke-shimmer {
    0% {
        background-position: 100% 50%;
    }
    100% {
        background-position: -120% 50%;
    }
}

/* 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: #1f72a9 !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: #1f72a9 !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(5, 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(6, minmax(0, 1fr)) !important;
}

body.gb-products-page .gb-products-wrap .gb-products-grid > * {
    align-self: start !important;
}

body.gb-products-page .gb-products-wrap .gb-product-card {
    background: #ffffff !important;
    border: 0 !important;
    border-radius: 18px !important;
    padding: 14px 14px 16px !important;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.12) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    overflow: hidden !important;
    min-height: 100% !important;
    text-align: left !important;
    justify-items: stretch !important;
}

body.gb-products-page .gb-products-wrap .gb-card-image-link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 280px !important;
    margin-bottom: 0 !important;
    text-decoration: none !important;
}

body.gb-products-page .gb-products-wrap .gb-card-image {
    width: 100% !important;
    height: 250px !important;
    max-height: 250px !important;
    object-fit: contain !important;
    object-position: center !important;
    display: block !important;
    background: #ffffff !important;
    border-radius: 14px !important;
    padding: 0 !important;
    margin: 0 auto 12px !important;
}

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: 14px !important;
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    min-height: 100% !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 {
    order: 2 !important;
    font-size: 15px !important;
    line-height: 1.12 !important;
    margin: 0 0 8px !important;
    color: #0b1a33 !important;
    font-weight: 800 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    text-decoration: none !important;
    min-height: calc(1.12em * 3.35) !important;
    max-height: calc(1.12em * 3.35) !important;
    overflow: hidden !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.12em * 3.35) !important;
    max-height: calc(1.12em * 3.35) !important;
    line-height: 1.12 !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: #0b1a33 !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    text-shadow: none !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 {
    order: 4 !important;
    margin: auto 0 12px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    color: #1b2430 !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 {
    order: 5 !important;
    width: 100% !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    height: 40px !important;
    min-height: 40px !important;
    padding: 0 18px !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;
    border-radius: 10px !important;
    text-transform: none !important;
    text-decoration: none !important;
    box-shadow: none !important;
}

body.gb-products-page .gb-products-wrap .gb-card-sku {
    display: none !important;
}

body.gb-products-page .gb-products-wrap .gb-card-stock {
    order: 3 !important;
    margin: 0 0 8px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
}

body.gb-products-page .gb-products-wrap .gb-card-stock.is-instock {
    color: #0f8a2f !important;
}

body.gb-products-page .gb-products-wrap .gb-card-stock.is-outofstock {
    color: #b11b1b !important;
}

body.gb-products-page .gb-products-wrap .gb-card-cta,
body.gb-products-page .gb-products-wrap .gb-card-cta.disabled {
    height: 40px !important;
    min-height: 40px !important;
    padding: 0 18px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    margin: 0 0 3px !important;
}

body.gb-products-page .gb-products-wrap .gb-card-cta.add_to_cart_button,
body.gb-products-page .gb-products-wrap .gb-card-cta.product_type_simple.add_to_cart_button,
body.gb-products-page .gb-products-wrap .gb-card-cta.ajax_add_to_cart,
body.gb-products-page .gb-products-wrap .gb-card-cta.is-addtocart-cta {
    background: var(--gb-cta-add-bg) !important;
    color: #ffffff !important;
}

body.gb-products-page .gb-products-wrap .gb-card-cta.add_to_cart_button:hover,
body.gb-products-page .gb-products-wrap .gb-card-cta.add_to_cart_button:focus-visible,
body.gb-products-page .gb-products-wrap .gb-card-cta.product_type_simple.add_to_cart_button:hover,
body.gb-products-page .gb-products-wrap .gb-card-cta.product_type_simple.add_to_cart_button:focus-visible,
body.gb-products-page .gb-products-wrap .gb-card-cta.ajax_add_to_cart:hover,
body.gb-products-page .gb-products-wrap .gb-card-cta.ajax_add_to_cart:focus-visible,
body.gb-products-page .gb-products-wrap .gb-card-cta.is-addtocart-cta:hover,
body.gb-products-page .gb-products-wrap .gb-card-cta.is-addtocart-cta:focus-visible {
    background: var(--gb-cta-add-bg-hover) !important;
    color: #ffffff !important;
}

body.gb-products-page .gb-products-wrap .gb-card-cta.is-preorder-cta {
    background: var(--gb-cta-preorder-bg) !important;
    color: #ffffff !important;
}

body.gb-products-page .gb-products-wrap .gb-card-cta.is-preorder-cta:hover,
body.gb-products-page .gb-products-wrap .gb-card-cta.is-preorder-cta:focus-visible {
    background: var(--gb-cta-preorder-bg-hover) !important;
    color: #ffffff !important;
}

body.gb-products-page .gb-products-wrap .gb-card-cta.is-readmore-cta {
    background: var(--gb-cta-readmore-bg) !important;
    color: #ffffff !important;
}

body.gb-products-page .gb-products-wrap .gb-card-cta.is-readmore-cta:hover,
body.gb-products-page .gb-products-wrap .gb-card-cta.is-readmore-cta:focus-visible {
    background: var(--gb-cta-readmore-bg-hover) !important;
    color: #ffffff !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: 14px 14px 16px !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    border-radius: 16px !important;
    min-height: 100% !important;
    background: #ffffff !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.1) !important;
    position: relative !important;
    gap: 0 !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: 250px !important;
    max-height: 250px !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    object-position: center !important;
    border-radius: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    display: block !important;
}

.home-latest .showcase-card-link,
.home-latest .showcase-card > a:first-of-type {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 280px !important;
    position: relative !important;
    align-content: center !important;
    margin-bottom: 14px !important;
    padding: 10px 8px 0 !important;
}

.home-latest .showcase-card-link > img,
.home-latest .showcase-card > a:first-of-type > img {
    grid-row: 1 !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: 15px !important;
    margin: 0 !important;
    line-height: 1.2 !important;
    color: #111827 !important;
    font-weight: 600 !important;
}

.home-latest .showcase-card .showcase-meta {
    margin-top: auto !important;
    min-height: 176px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-areas:
        "kicker"
        "title"
        "price"
        "cta" !important;
    grid-template-rows: auto minmax(calc(1.16em * 3.45), auto) auto auto !important;
    align-items: start !important;
    gap: 10px !important;
    width: 100% !important;
    padding: 0 6px !important;
    background: transparent !important;
    border-top: 0 !important;
}

.home-latest .showcase-card .showcase-meta > .showcase-kicker {
    grid-area: kicker !important;
    margin: 0 !important;
    font-size: 13px !important;
    line-height: 1.25 !important;
    color: #0f5ea8 !important;
    font-weight: 700 !important;
}

.home-latest .showcase-card .showcase-meta > strong {
    grid-area: title !important;
    grid-column: 1 / -1 !important;
    margin: 0 !important;
    grid-row: 2 !important;
    max-height: calc(1.16em * 3.45) !important;
    min-height: calc(1.16em * 3.45) !important;
    display: block !important;
    overflow: hidden !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
    hyphens: auto !important;
    line-height: 1.16 !important;
    height: calc(1.16em * 3.45) !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #121826 !important;
    position: relative !important;
    padding-right: 0 !important;
    -webkit-mask-image: linear-gradient(180deg, #000 0, #000 78%, transparent 100%) !important;
    mask-image: linear-gradient(180deg, #000 0, #000 78%, transparent 100%) !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;
    width: 100% !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 {
    width: 100% !important;
    height: 40px !important;
    min-height: 40px !important;
    padding: 0 18px !important;
    font-size: 13px !important;
    line-height: 1 !important;
    border-radius: 999px !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;
    background: #f0f2f8 !important;
    color: #18181b !important;
    border: 0 !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0 !important;
    position: relative !important;
    overflow: hidden !important;
    isolation: isolate !important;
    --gb-pointer-x: 50%;
    --gb-pointer-y: 50%;
    transition: background-color 180ms ease-out, box-shadow 180ms ease-out, transform 180ms ease-out !important;
}

.home-latest .showcase-card .button.is-addtocart-cta,
.home-latest .showcase-card .button.alt[href*="add-to-cart"]:not(.is-disabled),
.gblg-extra-products .showcase-card .button.is-addtocart-cta,
.gblg-extra-products .showcase-card .button.alt[href*="add-to-cart"]:not(.is-disabled),
.home-showcase .showcase-card .button.is-addtocart-cta,
.home-showcase .showcase-card .button.alt[href*="add-to-cart"]:not(.is-disabled) {
    background: var(--gb-cta-add-bg) !important;
    color: #ffffff !important;
}

.home-latest .showcase-card .button.is-preorder-cta,
.home-latest .showcase-card .button.alt:not(.is-addtocart-cta):not(.is-readmore-cta):not(.is-disabled):not([href*="add-to-cart"]),
.gblg-extra-products .showcase-card .button.is-preorder-cta,
.gblg-extra-products .showcase-card .button.alt:not(.is-addtocart-cta):not(.is-readmore-cta):not(.is-disabled):not([href*="add-to-cart"]),
.home-showcase .showcase-card .button.is-preorder-cta,
.home-showcase .showcase-card .button.alt:not(.is-addtocart-cta):not(.is-readmore-cta):not(.is-disabled):not([href*="add-to-cart"]) {
    background: var(--gb-cta-preorder-bg) !important;
    color: #ffffff !important;
}

.home-latest .showcase-card .button.is-readmore-cta,
.gblg-extra-products .showcase-card .button.is-readmore-cta,
.home-showcase .showcase-card .button.is-readmore-cta {
    background: var(--gb-cta-readmore-bg) !important;
    color: #ffffff !important;
}

.home-latest .showcase-card .button::after,
.gblg-extra-products .showcase-card .button::after,
.home-showcase .showcase-card .button::after {
    content: "" !important;
    position: absolute !important;
    inset: -12px !important;
    background:
      radial-gradient(circle at var(--gb-pointer-x) var(--gb-pointer-y), rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.16) 22%, rgba(255, 255, 255, 0.06) 38%, rgba(255, 255, 255, 0) 68%) !important;
    opacity: 0 !important;
    transform: scale(0.92) !important;
    filter: blur(8px) !important;
    transition: opacity 220ms ease-out, transform 220ms ease-out !important;
    pointer-events: none !important;
    z-index: -1 !important;
}

.home-latest .showcase-card .button:hover,
.home-latest .showcase-card .button:focus-visible,
.home-latest .showcase-card .button.is-pointer-glow-active,
.gblg-extra-products .showcase-card .button:hover,
.gblg-extra-products .showcase-card .button:focus-visible,
.gblg-extra-products .showcase-card .button.is-pointer-glow-active,
.home-showcase .showcase-card .button:hover,
.home-showcase .showcase-card .button:focus-visible,
.home-showcase .showcase-card .button.is-pointer-glow-active {
    color: #ffffff !important;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.24),
      0 0 0 1px rgba(255, 255, 255, 0.18),
      0 0 20px rgba(31, 114, 169, 0.22) !important;
}

.home-latest .showcase-card .button.is-addtocart-cta:hover,
.home-latest .showcase-card .button.is-addtocart-cta:focus-visible,
.home-latest .showcase-card .button.is-addtocart-cta.is-pointer-glow-active,
.home-latest .showcase-card .button.alt[href*="add-to-cart"]:not(.is-disabled):hover,
.home-latest .showcase-card .button.alt[href*="add-to-cart"]:not(.is-disabled):focus-visible,
.home-latest .showcase-card .button.alt[href*="add-to-cart"]:not(.is-disabled).is-pointer-glow-active,
.gblg-extra-products .showcase-card .button.is-addtocart-cta:hover,
.gblg-extra-products .showcase-card .button.is-addtocart-cta:focus-visible,
.gblg-extra-products .showcase-card .button.is-addtocart-cta.is-pointer-glow-active,
.gblg-extra-products .showcase-card .button.alt[href*="add-to-cart"]:not(.is-disabled):hover,
.gblg-extra-products .showcase-card .button.alt[href*="add-to-cart"]:not(.is-disabled):focus-visible,
.gblg-extra-products .showcase-card .button.alt[href*="add-to-cart"]:not(.is-disabled).is-pointer-glow-active,
.home-showcase .showcase-card .button.is-addtocart-cta:hover,
.home-showcase .showcase-card .button.is-addtocart-cta:focus-visible,
.home-showcase .showcase-card .button.is-addtocart-cta.is-pointer-glow-active,
.home-showcase .showcase-card .button.alt[href*="add-to-cart"]:not(.is-disabled):hover,
.home-showcase .showcase-card .button.alt[href*="add-to-cart"]:not(.is-disabled):focus-visible,
.home-showcase .showcase-card .button.alt[href*="add-to-cart"]:not(.is-disabled).is-pointer-glow-active {
    background: var(--gb-cta-add-bg-hover) !important;
}

.home-latest .showcase-card .button.is-preorder-cta:hover,
.home-latest .showcase-card .button.is-preorder-cta:focus-visible,
.home-latest .showcase-card .button.is-preorder-cta.is-pointer-glow-active,
.home-latest .showcase-card .button.alt:not(.is-addtocart-cta):not(.is-readmore-cta):not(.is-disabled):not([href*="add-to-cart"]):hover,
.home-latest .showcase-card .button.alt:not(.is-addtocart-cta):not(.is-readmore-cta):not(.is-disabled):not([href*="add-to-cart"]):focus-visible,
.home-latest .showcase-card .button.alt:not(.is-addtocart-cta):not(.is-readmore-cta):not(.is-disabled):not([href*="add-to-cart"]).is-pointer-glow-active,
.gblg-extra-products .showcase-card .button.is-preorder-cta:hover,
.gblg-extra-products .showcase-card .button.is-preorder-cta:focus-visible,
.gblg-extra-products .showcase-card .button.is-preorder-cta.is-pointer-glow-active,
.gblg-extra-products .showcase-card .button.alt:not(.is-addtocart-cta):not(.is-readmore-cta):not(.is-disabled):not([href*="add-to-cart"]):hover,
.gblg-extra-products .showcase-card .button.alt:not(.is-addtocart-cta):not(.is-readmore-cta):not(.is-disabled):not([href*="add-to-cart"]):focus-visible,
.gblg-extra-products .showcase-card .button.alt:not(.is-addtocart-cta):not(.is-readmore-cta):not(.is-disabled):not([href*="add-to-cart"]).is-pointer-glow-active,
.home-showcase .showcase-card .button.is-preorder-cta:hover,
.home-showcase .showcase-card .button.is-preorder-cta:focus-visible,
.home-showcase .showcase-card .button.is-preorder-cta.is-pointer-glow-active,
.home-showcase .showcase-card .button.alt:not(.is-addtocart-cta):not(.is-readmore-cta):not(.is-disabled):not([href*="add-to-cart"]):hover,
.home-showcase .showcase-card .button.alt:not(.is-addtocart-cta):not(.is-readmore-cta):not(.is-disabled):not([href*="add-to-cart"]).is-pointer-glow-active {
    background: var(--gb-cta-preorder-bg-hover) !important;
}

.home-latest .showcase-card .button.is-readmore-cta:hover,
.home-latest .showcase-card .button.is-readmore-cta:focus-visible,
.home-latest .showcase-card .button.is-readmore-cta.is-pointer-glow-active,
.gblg-extra-products .showcase-card .button.is-readmore-cta:hover,
.gblg-extra-products .showcase-card .button.is-readmore-cta:focus-visible,
.gblg-extra-products .showcase-card .button.is-readmore-cta.is-pointer-glow-active,
.home-showcase .showcase-card .button.is-readmore-cta:hover,
.home-showcase .showcase-card .button.is-readmore-cta:focus-visible,
.home-showcase .showcase-card .button.is-readmore-cta.is-pointer-glow-active {
    background: var(--gb-cta-readmore-bg-hover) !important;
}

.home-latest .showcase-card .button:hover::after,
.home-latest .showcase-card .button:focus-visible::after,
.home-latest .showcase-card .button.is-pointer-glow-active::after,
.gblg-extra-products .showcase-card .button:hover::after,
.gblg-extra-products .showcase-card .button:focus-visible::after,
.gblg-extra-products .showcase-card .button.is-pointer-glow-active::after,
.home-showcase .showcase-card .button:hover::after,
.home-showcase .showcase-card .button:focus-visible::after,
.home-showcase .showcase-card .button.is-pointer-glow-active::after {
    opacity: 1 !important;
    transform: scale(1.06) !important;
}

.home-latest .showcase-card .button.is-pointer-glow-dispersing::after,
.gblg-extra-products .showcase-card .button.is-pointer-glow-dispersing::after,
.home-showcase .showcase-card .button.is-pointer-glow-dispersing::after {
    opacity: 1 !important;
    animation: gb-cart-pointer-dispersal 520ms cubic-bezier(0.18, 0.72, 0.22, 1) forwards !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 .showcase-card .showcase-ribbon {
    position: absolute !important;
    top: 12px !important;
    left: 14px !important;
    z-index: 3 !important;
    writing-mode: vertical-rl !important;
    text-orientation: mixed !important;
    background: #1175cf !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    padding: 8px 6px 10px !important;
    line-height: 1 !important;
    border-radius: 0 !important;
}

.home-latest .showcase-card .showcase-ribbon::after {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    bottom: -9px !important;
    border-left: 14px solid #1175cf !important;
    border-right: 14px solid #1175cf !important;
    border-bottom: 9px solid transparent !important;
}

@media (max-width: 1024px) {
    body.home {
        background-image: none !important;
    }

    body.home::before {
        content: none !important;
        display: none !important;
    }

    body.home .home-recommended::before {
        background:
            linear-gradient(180deg, rgba(47, 125, 169, 0.18) 0%, rgba(47, 125, 169, 0.12) 62%, rgba(47, 125, 169, 0.04) 100%) !important;
    }

    .site-header {
        padding: 8px 14px 6px !important;
    }

    .header-utility-row {
        margin-left: -14px !important;
        margin-right: -14px !important;
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    .header-utility-inner {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        gap: 10px !important;
        align-items: center !important;
    }

    .header-search.header-search--compact {
        grid-column: 1 / -1 !important;
        width: 100% !important;
        margin-top: 6px !important;
    }

    .header-search.header-search--compact form {
        width: 100% !important;
        max-width: none !important;
    }

    .primary-nav .gb-header-menu {
        display: grid !important;
        grid-template-columns: 1fr !important;
        justify-items: center !important;
        gap: 12px !important;
        min-height: auto !important;
        padding-left: 0 !important;
    }

    .primary-nav .gblg-logo-in-nav {
        position: static !important;
        left: auto !important;
        top: auto !important;
        transform: none !important;
        width: auto !important;
        margin: 0 auto !important;
    }

    .primary-nav .gblg-logo-in-nav .custom-logo {
        width: auto !important;
        max-width: 100% !important;
        max-height: 76px !important;
    }

    .primary-nav .gblg-nav-links-wrap {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
        justify-content: center !important;
        gap: 12px !important;
    }

    .primary-nav .gb-header-all-wrap {
        align-self: center !important;
    }

    .primary-nav .gb-header-links {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 8px 10px !important;
        width: 100% !important;
    }

    .primary-nav .gblg-nav-actions {
        margin-left: 0 !important;
        justify-content: center !important;
        width: 100% !important;
        flex-wrap: wrap !important;
        gap: 10px !important;
    }

    .home-recommended > .content-wrap,
    .home-latest .content-wrap,
    .home-showcase .content-wrap,
    .gblg-extra-products .content-wrap {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    .home-brand-strip {
        width: calc(100% - 20px) !important;
        gap: 8px !important;
        margin-top: 12px !important;
    }

    .home-brand-strip__item {
        min-width: 88px !important;
        min-height: 68px !important;
        padding: 12px 14px !important;
    }

    .home-recommended .gblg-rec-carousel {
        overflow: hidden !important;
        padding: 0 10px !important;
    }

    .home-recommended .recommended-grid {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: visible !important;
        justify-content: flex-start !important;
        gap: 14px !important;
        margin-top: 28px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 24px 6px 36px !important;
        max-width: none !important;
        scroll-snap-type: x proximity !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .home-recommended .recommended-card {
        justify-self: auto !important;
        flex: 0 0 240px !important;
        width: 240px !important;
        height: 220px !important;
        scroll-snap-align: start !important;
    }

    .home-latest .product-grid,
    .gblg-extra-products .product-grid,
    .home-showcase .showcase-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 14px !important;
    }

    .home-latest .showcase-card {
        padding: 12px 12px 14px !important;
    }

    .home-latest .showcase-card-link,
    .home-latest .showcase-card > a:first-of-type {
        min-height: 240px !important;
        margin-bottom: 10px !important;
    }

    .home-latest .showcase-card img {
        height: 210px !important;
        max-height: 210px !important;
    }

    .home-latest .showcase-card .showcase-meta {
        min-height: 132px !important;
    }

    .home-latest .showcase-card .showcase-meta > strong {
        font-size: 16px !important;
    }
}

@media (max-width: 640px) {
    body.home {
        background-image: none !important;
    }

    body.home::before {
        content: none !important;
        display: none !important;
    }

    body.home .home-recommended::before {
        background:
            linear-gradient(180deg, rgba(47, 125, 169, 0.16) 0%, rgba(47, 125, 169, 0.10) 68%, rgba(47, 125, 169, 0.03) 100%) !important;
    }

    .site-header {
        padding: 8px 10px 6px !important;
    }

    .header-utility-row {
        margin-left: -10px !important;
        margin-right: -10px !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .header-utility-inner {
        grid-template-columns: 1fr !important;
        justify-items: stretch !important;
    }

    .header-utility-nav {
        justify-content: space-between !important;
        width: 100% !important;
        gap: 8px !important;
    }

    .primary-nav .gblg-logo-in-nav .custom-logo {
        max-height: 74px !important;
    }

    .primary-nav .gblg-nav-links-wrap {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
    }

    .primary-nav .gb-header-links {
        justify-content: center !important;
        gap: 8px !important;
    }

    .primary-nav .gblg-nav-actions {
        gap: 10px !important;
    }

    .home-recommended > .content-wrap,
    .home-latest .content-wrap,
    .home-showcase .content-wrap,
    .gblg-extra-products .content-wrap {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .home-brand-strip {
        width: calc(100% - 12px) !important;
        gap: 2px !important;
        margin-top: 8px !important;
    }

    .home-brand-strip__arrow {
        width: 18px !important;
        height: 18px !important;
        flex-basis: 18px !important;
        font-size: 18px !important;
    }

    .home-brand-strip__item {
        min-width: 84px !important;
        min-height: 60px !important;
        padding: 10px 10px !important;
        font-size: 11px !important;
    }

    .home-brand-strip__item--funko,
    .home-brand-strip__item--neca,
    .home-brand-strip__item--diamond,
    .home-brand-strip__item--hasbro,
    .home-brand-strip__item--pow,
    .home-brand-strip__item--capcom {
        font-size: 14px !important;
    }

    .home-recommended .recommended-grid {
        display: flex !important;
        grid-template-columns: none !important;
        flex-wrap: nowrap !important;
        gap: 10px !important;
        justify-items: normal !important;
        margin-top: 20px !important;
        padding: 18px 4px 28px !important;
        overflow-x: auto !important;
        overflow-y: visible !important;
        scroll-snap-type: x proximity !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .home-recommended .recommended-card {
        flex: 0 0 156px !important;
        width: 156px !important;
        min-width: 156px !important;
        height: 178px !important;
        padding: 4px !important;
        box-shadow: 0 8px 18px rgba(10, 38, 77, 0.10) !important;
        scroll-snap-align: start !important;
    }

    .home-recommended .recommended-card span {
        min-height: 34px !important;
        font-size: 11px !important;
        padding: 8px 6px !important;
        margin-left: -4px !important;
        margin-right: -4px !important;
        margin-bottom: -4px !important;
        width: calc(100% + 8px) !important;
    }

    .home-latest .product-grid,
    .gblg-extra-products .product-grid,
    .home-showcase .showcase-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .home-latest .showcase-card {
        max-width: 420px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .home-latest .showcase-card-link,
    .home-latest .showcase-card > a:first-of-type {
        min-height: 220px !important;
    }

    .home-latest .showcase-card img {
        height: 190px !important;
        max-height: 190px !important;
    }

    .home-latest .showcase-card .showcase-meta {
        min-height: auto !important;
    }

    .home-latest .showcase-card .showcase-meta > strong {
        font-size: 15px !important;
        min-height: calc(1.16em * 2.4) !important;
        height: calc(1.16em * 2.4) !important;
    }

    .home-latest .showcase-card .button {
        min-height: 42px !important;
        height: 42px !important;
    }

    .gb-sticky-mini-inner {
        grid-template-columns: auto minmax(120px, 1fr) auto !important;
    }

    .gb-sticky-mini-link:last-child {
        display: none !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 .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: 1200px) {
    .home-latest .product-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }

    .home-latest .showcase-card .showcase-meta {
        min-height: 168px !important;
        grid-template-rows: auto minmax(calc(1.12em * 3.35), auto) auto auto !important;
    }

    .home-latest .showcase-card .showcase-meta > strong {
        font-size: 15px !important;
        line-height: 1.12 !important;
        min-height: calc(1.12em * 3.35) !important;
        max-height: calc(1.12em * 3.35) !important;
        height: calc(1.12em * 3.35) !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;
}

/* Unify all homepage product sections to the Latest items card system. */
.gblg-extra-products .showcase-card,
.home-showcase .showcase-card {
    padding: 14px 14px 16px !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    border-radius: 16px !important;
    min-height: 100% !important;
    background: #ffffff !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.1) !important;
    position: relative !important;
    gap: 0 !important;
}

.gblg-extra-products .showcase-card-link,
.gblg-extra-products .showcase-card > a:first-of-type,
.home-showcase .showcase-card-link,
.home-showcase .showcase-card > a:first-of-type {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 280px !important;
    position: relative !important;
    align-content: center !important;
    margin-bottom: 14px !important;
    padding: 10px 8px 0 !important;
}

.gblg-extra-products .showcase-card img,
.home-showcase .showcase-card img {
    width: 100% !important;
    height: 250px !important;
    max-height: 250px !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    object-position: center !important;
    border-radius: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    display: block !important;
}

.gblg-extra-products .showcase-card .showcase-meta,
.home-showcase .showcase-card .showcase-meta {
    margin-top: auto !important;
    min-height: 176px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-areas:
        "kicker"
        "title"
        "price"
        "cta" !important;
    grid-template-rows: auto minmax(calc(1.16em * 3.45), auto) auto auto !important;
    align-items: start !important;
    gap: 10px !important;
    width: 100% !important;
    padding: 0 6px !important;
    background: transparent !important;
    border-top: 0 !important;
}

.gblg-extra-products .showcase-card .showcase-meta > .showcase-kicker,
.home-showcase .showcase-card .showcase-meta > .showcase-kicker {
    grid-area: kicker !important;
    margin: 0 !important;
    font-size: 13px !important;
    line-height: 1.25 !important;
    color: #0f5ea8 !important;
    font-weight: 700 !important;
}

.gblg-extra-products .showcase-card .showcase-meta > strong,
.home-showcase .showcase-card .showcase-meta > strong {
    grid-area: title !important;
    grid-column: 1 / -1 !important;
    margin: 0 !important;
    grid-row: 2 !important;
    max-height: calc(1.16em * 3.45) !important;
    min-height: calc(1.16em * 3.45) !important;
    display: block !important;
    overflow: hidden !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
    hyphens: auto !important;
    line-height: 1.16 !important;
    height: calc(1.16em * 3.45) !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #121826 !important;
    position: relative !important;
    -webkit-mask-image: linear-gradient(180deg, #000 0, #000 78%, transparent 100%) !important;
    mask-image: linear-gradient(180deg, #000 0, #000 78%, transparent 100%) !important;
    padding: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
}

.gblg-extra-products .showcase-card .showcase-meta > .price,
.home-showcase .showcase-card .showcase-meta > .price {
    grid-area: price !important;
    font-size: 15px !important;
    margin: 0 !important;
    line-height: 1.2 !important;
    color: #111827 !important;
    font-weight: 600 !important;
}

.gblg-extra-products .showcase-card .showcase-meta > .button,
.gblg-extra-products .showcase-card .showcase-meta > form.cart,
.home-showcase .showcase-card .showcase-meta > .button,
.home-showcase .showcase-card .showcase-meta > form.cart {
    grid-area: cta !important;
    width: 100% !important;
}

.gblg-extra-products .showcase-card .button,
.home-showcase .showcase-card .button {
    width: 100% !important;
    height: 40px !important;
    min-height: 40px !important;
    padding: 0 18px !important;
    font-size: 13px !important;
    line-height: 1 !important;
    border-radius: 999px !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;
    color: #18181b !important;
    border: 0 !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0 !important;
}

.gblg-extra-products .showcase-card .button.is-addtocart-cta,
.gblg-extra-products .showcase-card .button.alt[href*="add-to-cart"]:not(.is-disabled),
.home-showcase .showcase-card .button.is-addtocart-cta,
.home-showcase .showcase-card .button.alt[href*="add-to-cart"]:not(.is-disabled) {
    background: var(--gb-cta-add-bg) !important;
    color: #ffffff !important;
}

.gblg-extra-products .showcase-card .button.is-preorder-cta,
.gblg-extra-products .showcase-card .button.alt:not(.is-addtocart-cta):not(.is-readmore-cta):not(.is-disabled):not([href*="add-to-cart"]),
.home-showcase .showcase-card .button.is-preorder-cta,
.home-showcase .showcase-card .button.alt:not(.is-addtocart-cta):not(.is-readmore-cta):not(.is-disabled):not([href*="add-to-cart"]) {
    background: var(--gb-cta-preorder-bg) !important;
    color: #ffffff !important;
}

.gblg-extra-products .showcase-card .button.is-readmore-cta,
.home-showcase .showcase-card .button.is-readmore-cta {
    background: var(--gb-cta-readmore-bg) !important;
    color: #ffffff !important;
}
