/* PAGE.CSS — Page-Specific Styles */

/* HOMEPAGE */

/* Homepage Styles */
@keyframes heroFadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.home-hero .swiper-slide-active .hero-animate {
    animation: heroFadeInUp 0.6s ease forwards;
}

.home-hero .swiper-slide-active .hero-animate[data-delay="0"] {
    animation-delay: 0s;
}

.home-hero .swiper-slide-active .hero-animate[data-delay="150"] {
    animation-delay: 0.15s;
}

.home-hero .swiper-slide-active .hero-animate[data-delay="300"] {
    animation-delay: 0.3s;
}

.home-hero .swiper-slide-active .hero-animate[data-delay="450"] {
    animation-delay: 0.45s;
}

.home-hero-pagination .swiper-pagination-bullet {
    width: 32px;
    height: 3px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.4);
    opacity: 1;
    transition: all 0.3s ease;
}

.home-hero-pagination .swiper-pagination-bullet-active {
    background: #fff;
    width: 48px;
}

.home-filter-tab {
    background: #fff;
    color: #525252;
    border: 1px solid #e5e5e5;
    cursor: pointer;
}

.home-filter-tab:hover {
    color: #5a8219;
    border-color: #5a8219;
}

.home-filter-tab.active {
    background: #5a8219;
    color: #fff;
    border-color: #5a8219;
}

.home-filter-panel {
    animation: filterFadeIn 0.3s ease;
}

@keyframes filterFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* S7 Gallery Cards — Responsive Typography */

/* ≤1199px: 3-col narrow, shrink text + tighten padding */
@media (max-width: 1199px) {
    #home-engineering .grid a h3 {
        font-size: 16px !important;
        margin-bottom: 20px !important;
    }

    #home-engineering .grid a>div:last-child {
        padding: 24px !important;
    }
}

/* ≤991px: single-col, reduce card height */
@media (max-width: 991px) {
    #home-engineering .grid a {
        height: 360px !important;
    }

    #home-engineering .grid a h3 {
        font-size: 18px !important;
        margin-bottom: 24px !important;
    }
}

/* ≤575px: landscape cards */
@media (max-width: 575px) {
    #home-engineering .grid a {
        height: 280px !important;
    }

    #home-engineering .grid a h3 {
        font-size: 16px !important;
        margin-bottom: 16px !important;
    }
}

/* Homepage: Trending / New Arrivals Tab Panels */
.trending-panel {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    height: 0;
    overflow: hidden;
}

.trending-panel.trending-panel-active {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    height: auto;
    overflow: visible;
}

/* Owl Carousel strip: smooth fade-in after JS initialization */
.gl-strip-carousel.owl-loaded {
    animation: glStripFadeIn 0.4s ease-out;
}

@keyframes glStripFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* PRODUCT DETAIL PAGE */

/* PDP: A+ Content — PC/Mobile Dual-Track Visibility */

/* PC container: visible by default, hidden on mobile when mobile variant exists */
.gi-pdp-description-mobile {
    display: none;
}

@media (max-width: 767px) {
    .gi-pdp-description-pc {
        display: none;
    }

    .gi-pdp-description-mobile {
        display: block;
    }
}

/* Fallback: when no mobile content exists, PHP omits .gi-pdp-description-mobile entirely.
   In that case, .gi-pdp-description-pc must show on all viewports.
   PHP adds .gi-pdp-description-pc--solo class when mobile content is empty. */
.gi-pdp-description-pc.gi-pdp-description-pc--solo {
    display: block !important;
}

/* =============================================
   PDP GALLERY — Pure CSS (no Tailwind)
   Covers: gallery layout, main swiper, thumbnails,
   video button, mobile anchor, gallery modal
   ============================================= */

/* =============================================
   PDP Hero — Framework Layer (Modifier-driven)
   ============================================= */

/* Gallery Wrapper — width controlled by hero modifier */
.gi-gallery-wrap {
    position: sticky;
    top: 20px;
    padding-right: 30px;
    box-sizing: border-box;
    align-self: flex-start;
}

/* Standard PDP: 40% left / 60% right */
.pdp-hero--standard .gi-gallery-wrap {
    width: 40%;
}

.pdp-hero--standard .gi-pdp-summary {
    width: 60%;
    padding-left: 30px;
}

/* V2 PDP: 50% left / 50% right */
.pdp-hero--v2 {
    background-color: #f5f5f5;
}

.pdp-hero--v2 .gi-gallery-wrap {
    width: 50%;
    padding-right: 30px;
}

.pdp-hero--v2 .gi-pdp-summary {
    width: 50%;
    padding-left: 20px;
    background: #ffffff;
    border-radius: 12px;
    padding: 40px;
}

@media (max-width: 1200px) {
    .pdp-hero--v2 .gi-pdp-summary {
        padding: 32px;
    }
}

@media (max-width: 991px) {
    .pdp-hero--v2 {
        background-color: transparent;
    }

    .pdp-hero--v2 .gi-pdp-summary {
        padding: 0;
        background: transparent;
        border-radius: 0;
    }
}

@media (max-width: 991px) {
    .gi-gallery-wrap {
        position: relative;
        top: auto;
        width: 100% !important;
        padding-right: 0;
        margin-bottom: 30px;
    }

    .gi-pdp-summary {
        width: 100% !important;
        padding-left: 0;
        margin-top: 16px;
    }
}

/* Gallery Inner — vertical stack */
.gi-gallery-inner {
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: fit-content;
    overflow: visible;
}

/* Gallery Main — 1:1 aspect image area */
.gi-gallery-main {
    width: 100%;
    position: relative;
    aspect-ratio: 1 / 1;
    height: auto;
    min-width: 0;
}

/* Left Wrap */
.gi-gallery-left-wrap {
    width: 100%;
    position: relative;
    height: auto;
    margin-top: 16px;
}

/* ---- Main Swiper ---- */
.gi-main-swiper {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    overflow: hidden;
}

.gi-main-swiper .swiper-wrapper {
    height: 100%;
}

.gi-main-swiper:not(.swiper-initialized):not(.swiper-container-initialized) .swiper-slide:not(:first-child) {
    visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
}

.gi-main-swiper .swiper-slide {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gi-main-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

/* ---- Navigation Arrows ---- */
.gi-swiper-btn-prev,
.gi-swiper-btn-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 60px;
    height: 60px;
    background: transparent;
    border: none;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 1;
    visibility: visible;
    transition: all 0.3s ease;
}

.gi-swiper-btn-prev {
    left: 0;
}

.gi-swiper-btn-next {
    right: 0;
}

.gi-swiper-btn-prev i,
.gi-swiper-btn-next i {
    font-size: 36px;
    color: #262626;
    line-height: 1;
    transition: color 0.3s ease;
}

.gi-swiper-btn-prev:hover,
.gi-swiper-btn-next:hover {
    background: transparent;
}

.gi-swiper-btn-prev:hover i,
.gi-swiper-btn-next:hover i {
    color: #5a8219;
}

@media (max-width: 991px) {

    .gi-swiper-btn-prev,
    .gi-swiper-btn-next {
        width: 44px;
        height: 44px;
    }

    .gi-swiper-btn-prev i,
    .gi-swiper-btn-next i {
        font-size: 24px;
    }

    /* No modal on mobile — remove pointer cursor */
    .gi-main-swiper {
        cursor: default !important;
    }
}

/* ---- Thumbs Row Container ---- */
.gi-gallery-thumbs {
    position: relative;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    overflow: hidden;
    gap: 8px;
}

@media (max-width: 1399px) {
    .gi-gallery-thumbs {
        gap: 6px;
    }
}

/* ---- Thumbs Swiper ---- */
.gi-thumbs-swiper {
    width: max-content;
    max-width: 100%;
    margin: 0;
    height: auto !important;
}

.gi-thumbs-swiper .swiper-wrapper {
    flex-direction: row !important;
}

.gi-thumbs-swiper:not(.swiper-initialized):not(.swiper-container-initialized) {
    max-height: 60px !important;
    overflow: hidden !important;
}

.gi-thumbs-swiper:not(.swiper-initialized):not(.swiper-container-initialized) .swiper-wrapper {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow: hidden !important;
    width: 100%;
}

.gi-thumbs-swiper:not(.swiper-initialized):not(.swiper-container-initialized) .swiper-slide {
    visibility: visible;
}

.gi-thumbs-swiper:not(.swiper-initialized):not(.swiper-container-initialized) .swiper-slide:nth-child(n+7) {
    visibility: hidden;
    position: absolute;
}

.gi-thumbs-swiper .swiper-slide {
    margin-bottom: 0;
    width: 60px !important;
    height: 60px !important;
    flex-shrink: 0;
    opacity: 0.5;
    position: relative;
    transition: opacity 0.3s ease;
}

@media (max-width: 1399px) {
    .gi-thumbs-swiper .swiper-slide {
        width: 48px !important;
        height: 48px !important;
    }
}

/* Image slides only (exclude video slide) */
.gi-thumbs-swiper .swiper-slide:not(.gi-thumb-video-slide) img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: border-color 0.3s ease;
    display: block;
}

/* Swiper built-in active state */
.gi-thumbs-swiper .swiper-slide-thumb-active {
    opacity: 1;
}

.gi-thumbs-swiper .swiper-slide-thumb-active img {
    border-color: #5a8219 !important;
}

/* JS highlight state (synced with main swiper) */
.gi-thumbs-swiper .swiper-slide.gi-thumb-highlight {
    opacity: 1;
}

.gi-thumbs-swiper .swiper-slide.gi-thumb-highlight img {
    border-color: #5a8219 !important;
}

/* Hover state for image slides */
.gi-thumbs-swiper .swiper-slide:not(.gi-thumb-video-slide) img:hover {
    border-color: #d1d1d1 !important;
}

/* +N Overlay (Amazon-style remaining count) */
.gi-gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s ease;
}

.gi-gallery-overlay:hover {
    background: rgba(0, 0, 0, 0.7);
}

/* Mobile: horizontal scrollable thumbs row */
@media (max-width: 991px) {
    .gi-gallery-thumbs {
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .gi-gallery-thumbs::-webkit-scrollbar {
        display: none;
    }

    .gi-thumbs-swiper {
        max-width: none;
        width: auto;
        flex-shrink: 0;
    }

    .gi-thumbs-swiper .swiper-slide {
        display: block !important;
    }

    .gi-gallery-overlay {
        display: none !important;
    }
}

/* ---- Video Thumbnail Slide (inside swiper) ---- */
.gi-thumb-video-slide {
    opacity: 0.7 !important;
    cursor: pointer;
}

.gi-thumb-video-slide:hover {
    opacity: 1 !important;
}

.gi-thumb-video-trigger {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e5e5e5;
    transition: border-color 0.3s ease;
}

.gi-thumb-video-slide:hover .gi-thumb-video-trigger {
    border-color: #5a8219;
}

.gi-thumb-video-trigger img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gi-thumb-video-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    transition: background 0.3s ease;
}

.gi-thumb-video-slide:hover .gi-thumb-video-play {
    background: rgba(0, 0, 0, 0.6);
}

.gi-thumb-video-play i {
    color: #fff;
    font-size: 18px;
}

@media (max-width: 1399px) {
    .gi-thumb-video-play i {
        font-size: 14px;
    }
}

/* =============================================
   GALLERY MODAL — Pure CSS (no Tailwind)
   All classes used by JS-generated modal HTML
   ============================================= */

/* Modal Overlay */
#gi-dynamic-gallery-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    padding: 80px;
    transition: all 0.3s ease;
}

#gi-dynamic-gallery-modal.gi-modal-hidden {
    opacity: 0;
    pointer-events: none;
}

#gi-dynamic-gallery-modal.gi-modal-visible {
    opacity: 1;
    pointer-events: auto;
}

@media (max-width: 767px) {
    #gi-dynamic-gallery-modal {
        padding: 20px;
    }
}

/* Modal Box */
.gi-modal-box {
    width: 100%;
    max-width: 2000px;
    height: 100%;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.gi-modal-box.gi-modal-box-open {
    transform: scale(1);
}

/* Modal Header */
.gi-modal-header {
    width: 100%;
    height: 56px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    flex-shrink: 0;
    border-bottom: 1px solid #f5f5f5;
    position: relative;
}

.gi-modal-header-title {
    font-size: 14px;
    font-weight: 600;
    color: #262626;
}

/* Modal Close Button */
.gi-dynamic-modal-close {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #525252;
    display: flex;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s ease;
}

.gi-dynamic-modal-close:hover {
    color: #262626;
}

.gi-dynamic-modal-close i {
    font-size: 24px;
}

/* Modal Body */
.gi-modal-body {
    flex: 1;
    display: flex;
    width: 100%;
    overflow: hidden;
}

@media (max-width: 767px) {
    .gi-modal-body {
        flex-direction: column-reverse;
    }
}

/* Tab Buttons */
.gi-modal-tabs {
    display: flex;
    gap: 4px;
}

.gi-modal-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border: none;
    background: transparent;
    font-size: 13px;
    font-weight: 500;
    color: #999;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.gi-modal-tab i {
    font-size: 14px;
}

.gi-modal-tab:hover {
    color: #525252;
    background: #f5f5f5;
}

.gi-modal-tab.active {
    color: #5a8219;
    background: rgba(90, 130, 25, 0.08);
    font-weight: 600;
}

/* Panels */
.gi-modal-panel {
    display: flex;
    flex: 1;
    min-height: 0;
}

.gi-modal-panel.gi-modal-panel-hidden {
    display: none;
}

@media (max-width: 767px) {
    .gi-modal-panel {
        flex-direction: column-reverse;
    }
}

/* Panel — Content Area (left) */
.gi-modal-content-area {
    flex: 1;
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
}

/* Panel — Sidebar (right, thumbnails/video list) */
.gi-modal-sidebar {
    width: 240px;
    min-width: 240px;
    max-width: 300px;
    border-left: 1px solid #f5f5f5;
    padding: 20px;
    overflow-y: auto;
}

@media (min-width: 1488px) {
    .gi-modal-sidebar {
        width: 300px;
    }
}

@media (max-width: 767px) {
    .gi-modal-content-area {
        order: 1;
    }

    .gi-modal-sidebar {
        width: 100%;
        height: 100px;
        border-left: none;
        border-top: 1px solid #f5f5f5;
        order: 2;
    }
}

/* Photos Panel — Main Image */
.gi-modal-main-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

/* Photos Panel — Thumbnail Grid */
.gi-modal-thumbs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

@media (max-width: 767px) {
    .gi-modal-thumbs-grid {
        display: flex;
        overflow-x: auto;
        padding-bottom: 5px;
    }
}

/* Modal Thumbnail Item */
.gi-dyn-modal-thumb {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    cursor: pointer;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

.gi-dyn-modal-thumb:hover {
    border-color: #d4d4d4;
}

.gi-dyn-modal-thumb.gi-thumb-active {
    border-color: #5a8219;
}

.gi-dyn-modal-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Videos Panel — Player Container */
.gi-modal-video-area {
    flex: 1;
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    position: relative;
}

@media (max-width: 767px) {
    .gi-modal-video-area {
        padding: 20px;
        order: 1;
    }
}

.gi-modal-player-wrap {
    width: 100%;
    max-width: 900px;
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

@media (min-width: 1488px) {
    .gi-modal-player-wrap {
        max-width: 1200px;
    }
}

.gi-modal-player-placeholder {
    color: #999;
    font-size: 14px;
}

/* Videos Panel — Sidebar */
.gi-modal-video-sidebar {
    width: 240px;
    min-width: 240px;
    max-width: 300px;
    border-left: 1px solid #f5f5f5;
    padding: 20px;
    overflow-y: auto;
}

@media (min-width: 1488px) {
    .gi-modal-video-sidebar {
        width: 300px;
    }
}

@media (max-width: 767px) {
    .gi-modal-video-sidebar {
        width: 100%;
        height: 120px;
        border-left: none;
        border-top: 1px solid #f5f5f5;
        order: 2;
    }
}

.gi-modal-video-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Video Group */
.gi-modal-video-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.gi-modal-video-group-title {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #999999;
    padding: 0 8px;
    margin: 0;
}

.gi-modal-video-group+.gi-modal-video-group {
    padding-top: 12px;
    border-top: 1px solid #e5e5e7;
}

/* Video List Items */
.gi-modal-video-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.gi-modal-video-item:hover {
    background: #f5f5f5;
}

.gi-modal-video-item.active {
    background: #f5f5f5;
}

.gi-modal-video-thumb {
    position: relative;
    width: 64px;
    height: 40px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

.gi-modal-video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gi-modal-video-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    transition: all 0.2s ease;
}

.gi-modal-video-play i {
    color: #fff;
    font-size: 12px;
}

/* Active item: replace play icon with "now playing" equalizer bars */
.gi-modal-video-item.active .gi-modal-video-play {
    background: rgba(0, 0, 0, 0.3);
}

.gi-modal-video-item.active .gi-modal-video-play i {
    display: none;
}

.gi-modal-video-item.active .gi-modal-video-play::after {
    content: '';
    display: flex;
    width: 16px;
    height: 12px;
    background:
        linear-gradient(#fff 0%, #fff 100%) 0 100% / 3px 40% no-repeat,
        linear-gradient(#fff 0%, #fff 100%) 5px 100% / 3px 70% no-repeat,
        linear-gradient(#fff 0%, #fff 100%) 10px 100% / 3px 50% no-repeat;
    animation: gi-equalizer 1.2s ease-in-out infinite alternate;
}

@keyframes gi-equalizer {
    0% {
        background-size: 3px 40%, 3px 70%, 3px 50%;
    }

    50% {
        background-size: 3px 80%, 3px 40%, 3px 90%;
    }

    100% {
        background-size: 3px 55%, 3px 95%, 3px 35%;
    }
}

.gi-modal-video-title {
    font-size: 12px;
    color: #525252;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gi-modal-video-item.active .gi-modal-video-title {
    color: #262626;
    font-weight: 500;
}

/* Gallery Modal — Plyr Player Fit */
.gi-modal-plyr {
    width: 100%;
    height: 100%;
}

#gi-dynamic-gallery-modal .plyr {
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

#gi-dynamic-gallery-modal .plyr__video-wrapper {
    height: 100%;
}

#gi-dynamic-gallery-modal .plyr iframe {
    width: 100%;
    height: 100%;
}

/* Prevent product row overflow — use visible to allow sticky to work */
.single-pro-block {
    overflow: visible;
}

.gi-pdp-summary {
    min-width: 0;
    position: relative;
    box-sizing: border-box;
}

/* Main Swiper */
.gi-main-swiper {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
}

.gi-main-swiper .swiper-slide {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gi-main-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Navigation Arrows - Large & Borderless */
.gi-swiper-btn-prev,
.gi-swiper-btn-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 60px;
    height: 60px;
    background: transparent;
    border: none;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 1;
    visibility: visible;
    transition: all 0.3s ease;
}

.gi-swiper-btn-prev {
    left: 0px;
}

.gi-swiper-btn-next {
    right: 0px;
}

.gi-swiper-btn-prev i,
.gi-swiper-btn-next i {
    font-size: 36px;
    color: #262626;
    line-height: 1;
    transition: color 0.3s ease;
}

.gi-swiper-btn-prev:hover,
.gi-swiper-btn-next:hover {
    background: transparent;
}

.gi-swiper-btn-prev:hover i,
.gi-swiper-btn-next:hover i {
    color: #5a8219;
}

@media only screen and (max-width: 991px) {

    .gi-swiper-btn-prev,
    .gi-swiper-btn-next {
        width: 44px;
        height: 44px;
    }

    .gi-swiper-btn-prev i,
    .gi-swiper-btn-next i {
        font-size: 24px;
    }

    /* No modal on mobile — remove pointer cursor */
    .gi-main-swiper {
        cursor: default !important;
    }
}

/* FAQ Accordion */
.gi-faq-item.active .gi-faq-body {
    max-height: 300px;
    padding-bottom: 4px;
}

.gi-faq-item.active .gi-faq-trigger i {
    transform: rotate(180deg);
}

/* PDP Reviews — Review Item Override */
#pdp-reviews .gl-review-item {
    padding: 20px 0;
    background: transparent;
    border: none;
    border-radius: 0;
    border-bottom: 1px solid #e5e5e5;
}

#pdp-reviews .gl-review-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

#pdp-reviews .gl-review-item:first-child {
    padding-top: 0;
}

@media (max-width: 767px) {
    #pdp-reviews .gl-review-item {
        padding: 16px 0;
    }
}

/* Reset Tailwind space-y gap — PDP uses divider padding instead */
#pdp-reviews .space-y-\[20px\]>.gl-review-item+.gl-review-item {
    margin-top: 0;
}

/* Outer bordered container for PDP review list */
#pdp-reviews .gl-review-list {
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 24px;
}

@media (max-width: 767px) {
    #pdp-reviews .gl-review-list {
        padding: 16px;
    }
}

/* Register Product — Warranty Card Shimmer */
.rp-wcard {
    position: relative;
    overflow: hidden;
}

.rp-wcard::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 30px;
    right: 30px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(200, 200, 200, .6), rgba(255, 255, 255, .8), rgba(200, 200, 200, .6), transparent);
}

/* =============================================
   GLOBLAZER FORM SYSTEM  (gf-*)
   Namespace: gf-  |  Layer: Layout + Component
   CF7 form input styles defined after this block.
   ============================================= */

/* --- Wrapper: vertical stack with gap --- */
.gf-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* --- Container panel (bg + border + radius) --- */
.gf-container {
    padding: 50px;
    background-color: #fafafa;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
}

@media (max-width: 767px) {
    .gf-container {
        padding: 30px;
    }
}

/* --- Row: side-by-side columns --- */
.gf-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

@media (max-width: 575px) {
    .gf-row {
        grid-template-columns: 1fr;
    }
}

/* --- Label --- */
.gf-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #262626;
    margin-bottom: 8px;
}

/* Master section titles for complex forms */
.gf-section-title {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #262626;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.gf-label--lg {
    margin-bottom: 12px;
}

.gf-required {
    color: #dc2626;
    margin-left: 2px;
}



/* --- Topic Card Grid --- */
.gf-topic-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

@media (max-width: 991px) {
    .gf-topic-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .gf-topic-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- Topic Card (label > hidden radio + visual card) --- */
.gf-topic {
    cursor: pointer;
    position: relative;
}

.gf-topic input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.gf-topic-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    background-color: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    transition: border-color 0.25s ease, background-color 0.25s ease;
}

.gf-topic-inner:hover {
    border-color: #262626;
}

/* Checked state */
.gf-topic input[type="radio"]:checked+.gf-topic-inner {
    border-color: #5a8219;
    background-color: rgba(90, 130, 25, 0.05);
}

.gf-topic-icon {
    font-size: 20px;
    color: #525252;
    margin-bottom: 6px;
    transition: color 0.25s ease;
}

.gf-topic input[type="radio"]:checked+.gf-topic-inner .gf-topic-icon {
    color: #5a8219;
}

.gf-topic-text {
    font-size: 12px;
    font-weight: 500;
    color: #262626;
    text-align: center;
    line-height: 1.3;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 767px) {
    .gf-topic-icon {
        font-size: 18px;
    }
}



/* --- Footer (submit + privacy text) --- */
.gf-footer {
    padding-top: 8px;
}

/* --- Privacy notice --- */
.gf-privacy {
    font-size: 12px;
    color: #999999;
    line-height: 1.7;
    margin-top: 16px;
}

.gf-privacy a {
    color: #5a8219;
    text-decoration: none;
}

.gf-privacy a:hover {
    text-decoration: underline;
}



/* --- Checkbox Group --- */
/* Target static HTML OR CF7 wrapper */
.gf-checkbox-group:not(:has(.wpcf7-checkbox)),
.gf-checkbox-group .wpcf7-checkbox {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px 16px;
}

@media (max-width: 767px) {

    .gf-checkbox-group:not(:has(.wpcf7-checkbox)),
    .gf-checkbox-group .wpcf7-checkbox {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Base structural layout for items (supports both .gf-checkbox and CF7 labels) */
.gf-checkbox,
.gf-checkbox-group .wpcf7-list-item {
    margin: 0;
    display: block;
}

.gf-checkbox,
.gf-checkbox-group .wpcf7-list-item label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    margin: 0;
    font-weight: normal;
}

/* Custom Checkbox Input Style */
.gf-checkbox input[type="checkbox"],
.gf-checkbox-group .wpcf7-list-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 1px solid #d4d4d4;
    accent-color: #5a8219;
    cursor: pointer;
    margin: 0;
}

/* Text Node Style */
.gf-checkbox span,
.gf-checkbox-group .wpcf7-list-item-label {
    font-size: 14px;
    color: #525252;
    transition: color 0.2s ease;
}

/* Hover & Checked state */
.gf-checkbox:hover span,
.gf-checkbox input[type="checkbox"]:checked+span,
.gf-checkbox-group .wpcf7-list-item:hover .wpcf7-list-item-label,
.gf-checkbox-group .wpcf7-list-item input[type="checkbox"]:unchecked~.wpcf7-list-item-label

/* fallback test */
,
.gf-checkbox-group .wpcf7-list-item input[type="checkbox"]:checked~.wpcf7-list-item-label,
.gf-checkbox-group .wpcf7-list-item input[type="checkbox"]:checked+.wpcf7-list-item-label {
    color: #262626;
}

/* --- Support Topic Radio Cards (Responsive 2-to-1 layout) --- */
#gf-support-topic-selector {
    margin-bottom: 24px;
}

.gf-support-topic-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

@media (max-width: 1399px) {
    .gf-support-topic-grid {
        grid-template-columns: 1fr;
    }
}

.gf-support-topic {
    display: block;
    cursor: pointer;
    position: relative;
    height: 100%;
}

.gf-support-topic input[type="radio"] {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    accent-color: #5a8219;
    cursor: pointer;
    z-index: 1;
}

.gf-support-topic-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    padding-right: 48px;
    border: 1px solid #e5e5e7;
    border-radius: 8px;
    background-color: #ffffff;
    transition: all 0.25s ease;
    height: 100%;
}

.gf-support-topic-inner:hover {
    border-color: #d4d4d4;
}

.gf-support-topic input[type="radio"]:checked+.gf-support-topic-inner {
    border-color: #5a8219;
    background-color: #f8fdf3;
}

.gf-support-topic-icon {
    width: 40px;
    height: 40px;
    background-color: #f5f5f5;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.gf-support-topic-icon i {
    font-size: 18px;
    color: #525252;
}

.gf-support-topic-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}

.gf-support-topic-title {
    font-size: 14px;
    font-weight: 500;
    color: #262626;
    line-height: 1.2;
}

.gf-support-topic-desc {
    font-size: 12px;
    color: #999999;
    margin-top: 2px;
}

/* --- Support File Upload --- */
.gf-upload-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px;
    background-color: #ffffff;
    border: 1px dashed #d4d4d4;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.gf-upload-btn:hover {
    border-color: #5a8219;
    background-color: #fafafa;
}

.gf-upload-btn i {
    font-size: 20px;
    color: #999999;
}

.gf-upload-text {
    font-size: 14px;
    color: #525252;
}

.gf-upload-desc {
    color: #999999;
}

/* CF7 Native File Input Overrides */
.gf-file-input {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
    height: auto !important;
    cursor: pointer !important;
}

.gf-select-wrap {
    position: relative;
    width: 100%;
}

.gf-select-wrap i.fi-rr-angle-small-down {
    position: absolute;
    right: 16px;
    top: 26px;
    transform: translateY(-50%);
    color: #999;
    font-size: 18px;
    pointer-events: none;
}

/* ==============================================
   CF7 FORM STYLES — Clean Rewrite
   Scope: .gf-form (set via html_class on CF7 shortcode)
   CF7 outputs:
     - <input class="wpcf7-form-control wpcf7-text/email/tel/...">
     - <textarea class="wpcf7-form-control wpcf7-textarea">
     - <select class="wpcf7-form-control wpcf7-select">
     - <input type="submit" class="wpcf7-form-control wpcf7-submit">
     - <span class="wpcf7-spinner"> (JS injected after submit)
     - <span class="wpcf7-not-valid-tip"> (error text)
     - <div class="wpcf7-response-output"> (form message)
   Invalid fields get .wpcf7-not-valid added by CF7 JS.
   Submitting form gets .submitting on <form>.
   ============================================== */

/* --- Text-like inputs --- */
.gf-form input[type="text"],
.gf-form input[type="email"],
.gf-form input[type="tel"],
.gf-form input[type="url"],
.gf-form input[type="number"] {
    width: 100%;
    height: 52px;
    padding: 0 20px;
    background-color: #ffffff;
    border: 1px solid #d4d4d4;
    border-radius: 8px;
    font-size: 14px;
    color: #262626;
    outline: none;
    box-shadow: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* --- Textarea --- */
.gf-form textarea {
    width: 100%;
    height: auto;
    padding: 20px;
    background-color: #ffffff;
    border: 1px solid #d4d4d4;
    border-radius: 8px;
    font-size: 14px;
    color: #262626;
    outline: none;
    box-shadow: none;
    resize: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* --- Select --- */
.gf-form select {
    width: 100%;
    height: 52px;
    padding: 0 40px 0 20px;
    background-color: #ffffff;
    border: 1px solid #d4d4d4;
    border-radius: 8px;
    font-size: 14px;
    color: #262626;
    outline: none;
    box-shadow: none;
    appearance: none;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* --- Placeholder --- */
.gf-form input::placeholder,
.gf-form textarea::placeholder {
    color: #999999;
}

/* --- Focus state: brand green glow --- */
.gf-form input[type="text"]:focus,
.gf-form input[type="email"]:focus,
.gf-form input[type="tel"]:focus,
.gf-form input[type="url"]:focus,
.gf-form input[type="number"]:focus,
.gf-form textarea:focus,
.gf-form select:focus {
    border-color: #5a8219;
    box-shadow: 0 0 0 3px rgba(90, 130, 25, 0.08);
}

/* --- Invalid state: red border ---
   Same selector depth + .wpcf7-not-valid → wins by cascade position */
.gf-form input.wpcf7-not-valid,
.gf-form textarea.wpcf7-not-valid,
.gf-form select.wpcf7-not-valid {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.06);
}

/* --- Validation error tip text --- */
.gf-form .wpcf7-not-valid-tip {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #dc2626;
    line-height: 1.4;
}

/* Safeguard: prevent CF7 from stacking duplicate tips */
.gf-form .wpcf7-not-valid-tip+.wpcf7-not-valid-tip {
    display: none;
}

/* --- Response messages --- */
.wpcf7 form.gf-form .wpcf7-response-output {
    margin: 0;
    padding: 8px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.6;
    border: 1px solid transparent;
}

.wpcf7 form.sent .wpcf7-response-output {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    border-color: #5a8219;
    background-color: rgba(90, 130, 25, 0.06);
    color: #5a8219;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    border-color: #dc2626;
    background-color: rgba(220, 38, 38, 0.04);
    color: #dc2626;
}

/* --- User Groups form message --- */
.gl-ug-form-message {
    margin: 16px 0 0;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.6;
    border: 1px solid transparent;
}

.gl-ug-form-message.gl-ug-msg-error {
    border-color: #dc2626;
    background-color: rgba(220, 38, 38, 0.04);
    color: #dc2626;
}

.gl-ug-form-message.gl-ug-msg-success {
    border-color: #5a8219;
    background-color: rgba(90, 130, 25, 0.06);
    color: #5a8219;
}

/* --- Submit button --- */
.gf-form .wpcf7-submit {
    display: block;
    width: 100%;
    height: 56px;
    padding: 0;
    line-height: 56px;
    text-align: center;
    background-color: #5a8219;
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease, color 0.3s ease;
    box-shadow: 0 10px 15px -3px rgba(90, 130, 25, 0.2);
    -webkit-appearance: none;
    appearance: none;
}

.gf-form .wpcf7-submit:hover {
    background-color: #4a6b15;
}

/* --- Submitting state: disabled look, text stays visible --- */
.wpcf7 form.submitting .wpcf7-submit {
    background-color: #8db05a;
    color: #ffffff !important;
    opacity: 0.7;
    pointer-events: none;
    cursor: wait;
}

/* --- After submit: restore text --- */
.wpcf7 form.sent .wpcf7-submit,
.wpcf7 form.failed .wpcf7-submit,
.wpcf7 form.invalid .wpcf7-submit,
.wpcf7 form.init .wpcf7-submit {
    color: #ffffff !important;
    opacity: 1;
    pointer-events: auto;
    cursor: pointer;
}

/* --- Spinner: .gf-submit-wrap positioning ---
   DOM: <div class="gf-submit-wrap">
          <input class="wpcf7-submit">   ← w:100%, h:56px
          <span class="wpcf7-spinner">   ← absolute centered
        </div>
   .gf-submit-wrap contains ONLY submit + spinner,
   so top:50%/left:50% centers perfectly over the button. */
.gf-submit-wrap {
    position: relative;
}

/* Default: fully neutralize CF7 spinner defaults */
.wpcf7-spinner {
    display: none !important;
    background: none !important;
    background-color: transparent !important;
    opacity: 0;
    visibility: hidden;
    width: 0;
    height: 0;
    margin: 0;
    padding: 0;
    border: none;
}

/* Kill CF7 default ::before spinning dot */
.wpcf7-spinner::before {
    display: none !important;
    content: none !important;
}

/* Submitting: show our custom spinner centered on button */
.wpcf7 form.submitting .wpcf7-spinner {
    display: block !important;
    visibility: visible;
    opacity: 1;
    position: absolute;
    width: 20px;
    height: 20px;
    margin: 0;
    padding: 0;
    border: 2.5px solid rgba(255, 255, 255, 0.35);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: gi-cf7-spin 0.6s linear infinite;
    background: none !important;
    background-color: transparent !important;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

/* Keep ::before killed during submitting too */
.wpcf7 form.submitting .wpcf7-spinner::before {
    display: none !important;
    content: none !important;
}

@keyframes gi-cf7-spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Custom Design Builder — Form Layout Override
   .gf-form default gap:24px is designed for flat field lists (Contact page).
   Step-card structure manages its own spacing via border/padding. */
.gf-design-form {
    gap: 0;
}

/* CONTACT PAGE — Vertical Sidebar Tab + Form Workbench */

/* Workbench: side-by-side layout on desktop */
.gf-workbench {
    display: flex;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

/* --- Vertical Sidebar (PC) --- */
.gf-sidebar {
    width: 220px;
    min-width: 220px;
    background: #f5f5f5;
    border-right: 1px solid #ebebeb;
    padding: 28px 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.gf-sidebar-tab {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    font-size: 14px;
    font-weight: 500;
    color: #999;
    background: none;
    border: none;
    border-left: 3px solid transparent;
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: left;
    white-space: nowrap;
}

.gf-sidebar-tab i {
    font-size: 17px;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.gf-sidebar-tab:hover {
    color: #525252;
    background: #efefef;
}

.gf-sidebar-tab.active {
    color: #5a8219;
    background: #ffffff;
    border-left-color: #5a8219;
    font-weight: 600;
}

/* --- Right wrapper (holds mobile tabs + form area) --- */
.gf-form-right {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

/* --- Form Content Area --- */
.gf-form-area {
    flex: 1;
    padding: 40px 48px;
}

/* --- Mobile: horizontal tab fallback (≤991px) --- */
.gf-inner-tab-bar-mobile {
    display: none;
}

@media (max-width: 991px) {
    .gf-workbench {
        flex-direction: column;
    }

    .gf-sidebar {
        display: none;
    }

    .gf-inner-tab-bar-mobile {
        display: flex;
        border-bottom: 1px solid #e5e5e5;
        overflow-x: auto;
        -ms-overflow-style: none;
        scrollbar-width: none;
        padding: 0 24px;
        flex-shrink: 0;
    }

    .gf-inner-tab-bar-mobile::-webkit-scrollbar {
        display: none;
    }

    .gf-inner-tab-bar-mobile .gf-inner-tab {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 14px 12px;
        font-size: 13px;
        font-weight: 600;
        color: #999;
        background: none;
        border: none;
        border-bottom: 2px solid transparent;
        cursor: pointer;
        transition: all 0.25s ease;
        margin-bottom: -1px;
        white-space: nowrap;
    }

    .gf-inner-tab-bar-mobile .gf-inner-tab i {
        font-size: 16px;
    }

    .gf-inner-tab-bar-mobile .gf-inner-tab:hover {
        color: #525252;
    }

    .gf-inner-tab-bar-mobile .gf-inner-tab.active {
        color: #5a8219;
        border-bottom-color: #5a8219;
    }

    .gf-form-area {
        padding: 30px 30px;
    }
}

@media (max-width: 767px) {
    .gf-inner-tab-bar-mobile {
        padding: 0 16px;
    }

    .gf-inner-tab-bar-mobile .gf-inner-tab {
        flex: 1;
        justify-content: center;
        padding: 12px 4px;
        font-size: 12px;
    }

    .gf-inner-tab-bar-mobile .gf-inner-tab i {
        display: none !important;
    }

    .gf-form-area {
        padding: 24px 20px;
    }
}

/* --- Panel animation --- */
.gf-form-panel {
    animation: gfPanelFadeIn 0.3s ease;
}

@keyframes gfPanelFadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Backward-compat: .gf-inner-tab-bar (used in contact-support.html 60/40 layout) --- */
.gf-inner-tab-bar {
    display: flex;
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 30px;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.gf-inner-tab-bar::-webkit-scrollbar {
    display: none;
}

.gf-inner-tab-bar .gf-inner-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #999;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: all 0.25s ease;
    margin-bottom: -1px;
    white-space: nowrap;
}

.gf-inner-tab-bar .gf-inner-tab i {
    font-size: 16px;
}

.gf-inner-tab-bar .gf-inner-tab:hover {
    color: #525252;
}

.gf-inner-tab-bar .gf-inner-tab.active {
    color: #5a8219;
    border-bottom-color: #5a8219;
}

@media (max-width: 767px) {
    .gf-inner-tab-bar .gf-inner-tab {
        flex: 1;
        justify-content: center;
        padding: 10px 4px;
        font-size: 12px;
    }

    .gf-inner-tab-bar .gf-inner-tab i {
        display: none !important;
    }
}

/* SETTINGS PAGE */

/* Settings Page Mobile */

/* Ensure member-dashboard section clips overflow on mobile */
.member-dashboard {
    overflow-x: hidden;
}

/* Settings tab bar: compact padding on mobile */
@media (max-width: 575px) {
    .settings-tab-btn {
        padding-left: 12px !important;
        padding-right: 12px !important;
        padding-top: 12px !important;
        padding-bottom: 12px !important;
        font-size: 13px !important;
    }

    /* Hide tab icons on very small screens to save space */
    .settings-tab-btn i {
        display: none !important;
    }

    /* Reduce card internal padding on mobile */
    .settings-panel .bg-white.rounded-\[8px\]>.p-\[24px\] {
        padding: 16px !important;
    }

    .settings-panel .bg-white.rounded-\[8px\]>.p-\[20px\] {
        padding: 14px !important;
    }
}

/* Hide scrollbar for tab navigation (keeps horizontal swipe functional) */
.settings-tabs-scroll::-webkit-scrollbar {
    display: none;
}

.settings-tabs-scroll {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* PROJECT DETAIL PAGE */

/* Project Detail Page Mobile */

/* Hide scrollbars for project stepper and tabs (preserves horizontal swipe) */
.project-stepper-scroll::-webkit-scrollbar,
.project-tabs-scroll::-webkit-scrollbar {
    display: none;
}

.project-stepper-scroll,
.project-tabs-scroll {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Force dashboard-content to respect viewport width on mobile */
/* The stepper's min-w-[700px] expands flex-1 in flex-col mode */
@media (max-width: 991px) {
    .dashboard-content {
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* BULK ORDERS PAGE */

/* Bulk Orders — Strategic Pillars Tab */
.pillar-tab-btn {
    background-color: #fafafa;
    color: #525252;
    border: 1px solid #e5e5e5;
    cursor: pointer;
}

.pillar-tab-btn:hover {
    color: #8b6914;
    border-color: #8b6914;
}

.pillar-tab-btn.active {
    background-color: #8b6914;
    color: #ffffff;
    border-color: #8b6914;
}

.pillar-panel {
    transition: opacity 0.3s ease-in-out;
}

/* Bulk Orders — Hero Floating Card Animation */
@keyframes heroFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.hero-float-card {
    will-change: transform;
}

/* Hide floating cards on very small screens to avoid overflow */
@media (max-width: 575px) {
    .hero-float-card {
        display: none;
    }
}

/* LOGISTICS PAGE */

/* Logistics — Overseas Warehouses */

/* Hub Ring Layout */
.hub-ring-stage {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
}

.hub-ring {
    position: relative;
    width: 380px;
    height: 380px;
}

.hub-circle-item {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: rotate(var(--angle)) translateY(-160px) rotate(calc(-1 * var(--angle)));
    margin-top: -48px;
    margin-left: -48px;
}

/* Individual Hub Circle */
.hub-circle {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #e5e5e7;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.hub-circle:hover {
    border-color: #5a8219;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transform: scale(1.08);
}

/* Logistics Section 2: Accordion Row */
.arrival-row {
    transition: background 0.25s ease;
}

.arrival-row:hover {
    background: rgba(90, 130, 25, 0.03) !important;
}

/* Logistics Section 5: Sovereignty Card */
.sovereignty-card {
    transition: all 0.3s ease;
}

/* MATCHMAKER PAGE */

/* MATCHMAKER — Horizontal Breakpoint Stepper */
.mm-stepper {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0 8px;
}

/* The connecting track line */
.mm-stepper::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 28px;
    right: 28px;
    height: 3px;
    background: #e5e5e5;
    border-radius: 2px;
    z-index: 1;
}

/* Active fill track overlay */
.mm-stepper-fill {
    position: absolute;
    top: 20px;
    left: 28px;
    height: 3px;
    background: #111111;
    border-radius: 2px;
    z-index: 2;
    transition: width 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    width: 0;
}

/* Each step node */
.mm-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    position: relative;
    z-index: 3;
    flex: 1;
    text-decoration: none;
}

/* The circular dot */
.mm-step-dot {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid #e5e5e5;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    margin-bottom: 12px;
}

.mm-step-dot .dot-inner {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e5e5e5;
    transition: all 0.3s ease;
}

/* Hover: dot grows */
.mm-step:hover .mm-step-dot {
    border-color: #999;
    transform: scale(1.1);
}

.mm-step:hover .mm-step-dot .dot-inner {
    background: #999;
}

/* Active/selected state */
.mm-step.step-active .mm-step-dot {
    border-color: #111111;
    background: #111111;
    transform: scale(1.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.mm-step.step-active .mm-step-dot .dot-inner {
    background: #ffffff;
    width: 8px;
    height: 8px;
}

/* Passed steps (before active) */
.mm-step.step-passed .mm-step-dot {
    border-color: #111111;
    background: #ffffff;
}

.mm-step.step-passed .mm-step-dot .dot-inner {
    background: #111111;
}

/* Labels below */
.mm-step-label {
    font-size: 14px;
    font-weight: 600;
    color: #999;
    text-align: center;
    transition: color 0.3s ease;
    line-height: 1.3;
}

.mm-step-sub {
    font-size: 12px;
    color: #c4c4c4;
    text-align: center;
    margin-top: 2px;
    transition: color 0.3s ease;
}

.mm-step.step-active .mm-step-label,
.mm-step:hover .mm-step-label {
    color: #111111;
}

.mm-step.step-active .mm-step-sub,
.mm-step:hover .mm-step-sub {
    color: #737373;
}

/* Responsive: stack on very small screens */
@media (max-width: 575px) {
    .mm-step-dot {
        width: 34px;
        height: 34px;
    }

    .mm-step-label {
        font-size: 12px;
    }

    .mm-step-sub {
        font-size: 11px;
    }

    .mm-stepper::before {
        top: 17px;
        left: 20px;
        right: 20px;
    }

    .mm-stepper-fill {
        top: 17px;
        left: 20px;
    }
}

/* Matchmaker Filter — Selected States */

/* Base option: prevent text selection and optimize touch */
.mm-option {
    -webkit-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

/* Mobile: Smaller color circles */
@media (max-width: 575px) {
    .mm-option .w-\[48px\].h-\[48px\] {
        width: 40px !important;
        height: 40px !important;
    }

    .mm-option .mm-label {
        font-size: 12px !important;
    }
}

/* Default mm-icon: subtle filled circle */
.mm-icon {
    background-color: #f5f5f5 !important;
    border: none !important;
}

.mm-icon>span {
    color: #999 !important;
}

.mm-dot {
    background-color: #999 !important;
}

/* Hover state: softer than default Tailwind hover */
.mm-option:hover {
    border-color: #525252 !important;
}

.mm-option.mm-pill:hover .mm-icon {
    background-color: #525252 !important;
}

.mm-option.mm-pill:hover .mm-icon i,
.mm-option.mm-pill:hover .mm-icon svg,
.mm-option.mm-pill:hover .mm-icon>span {
    color: #ffffff !important;
}

.mm-option.mm-bar:hover .mm-bar-fill {
    background-color: #525252 !important;
}

.mm-option:hover .mm-label {
    color: #262626 !important;
}

/* Selected state: all option types */
.mm-option.selected {
    box-shadow: inset 0 0 0 2px #262626 !important;
    background-color: #fafafa !important;
}

/* Selected pill: icon circle turns medium gray */
.mm-option.mm-pill.selected .mm-icon {
    background-color: #525252 !important;
}

/* Selected pill: icon/svg inside turns white */
.mm-option.mm-pill.selected .mm-icon i,
.mm-option.mm-pill.selected .mm-icon svg,
.mm-option.mm-pill.selected .mm-icon>span {
    color: #ffffff !important;
}

/* Selected/hover pill: dots turn white (dots use bg, not color) */
.mm-option.mm-pill.selected .mm-dot,
.mm-option.mm-pill:hover .mm-dot {
    background-color: #ffffff !important;
}

/* Selected bar: fill turns medium gray */
.mm-option.mm-bar.selected .mm-bar-fill {
    background-color: #525252 !important;
}

/* Selected state: label text darkens slightly */
.mm-option.selected .mm-label {
    color: #262626 !important;
}

/* CTA active state */
#matchmaker-cta.active {
    opacity: 1 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
}

#matchmaker-cta.active:hover {
    background-color: #525252 !important;
}

/* Dots bounce on active */
/* Dots: hidden by default, visible on active */
.cta-dots {
    display: none;
}

#matchmaker-cta.active .cta-dots {
    display: inline-flex;
}

#matchmaker-cta.active .cta-dots span {
    background-color: rgba(255, 255, 255, 0.9) !important;
    animation: cta-dot-bounce 1.4s ease-in-out infinite;
}

#matchmaker-cta.active .cta-dots span:nth-child(2) {
    animation-delay: 0.15s;
}

#matchmaker-cta.active .cta-dots span:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes cta-dot-bounce {

    0%,
    60%,
    100% {
        transform: translateY(0);
        opacity: 0.5;
    }

    30% {
        transform: translateY(-4px);
        opacity: 1;
    }
}

/* BRAND STORY PAGE */

/* Mission & Values Badges — Mobile Layout */
@media (max-width: 767px) {
    .mission-badges {
        flex-direction: column !important;
        gap: 12px !important;
        width: 100%;
    }

    .mission-badge {
        width: 100% !important;
        height: auto !important;
        border-radius: 12px !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
        text-align: left !important;
        padding: 20px 24px !important;
        gap: 16px;
        border-left: 3px solid #5a8219;
    }

    .mission-badge-label {
        font-size: 12px !important;
        margin-bottom: 0 !important;
        white-space: nowrap;
        min-width: 65px;
    }

    .mission-badge-text {
        font-size: 14px !important;
        padding: 0 !important;
        line-height: 1.5 !important;
    }

    .mission-badge-text br {
        display: inline !important;
        content: '' !important;
    }

    .mission-badge-text br::after {
        content: ' · ';
        font-weight: 400;
        color: #999;
    }
}

/* Milestones Section — Cell Enhancements */

/* C: Green top accent bar on each cell */
.milestones .grid>div {
    border-top: 3px solid #5a8219;
    transition: background-color 0.3s ease;
}

/* E: Hover - subtle background brightening */
.milestones .grid>div:hover {
    background-color: rgba(255, 255, 255, 0.04);
}

/* REGISTER PRODUCT PAGE */

/* FAQ PAGE */

/* FAQ Page — Search bar focus effect */
.faq-hero input[type="text"]:focus {
    outline: none;
}

.faq-hero form:focus-within {
    border-color: #5a8219;
    box-shadow: 0 0 0 3px rgba(90, 130, 25, 0.1);
}

/* =============================================
   GLOBAL FORM INPUT SYSTEM — .gi-input
   One class to rule all form field states.
   Specificity chain: .gi-input < .gi-input:focus < .gi-input.gi-field-error < .gi-input.gi-field-error:focus
   No !important needed.
   ============================================= */

/* Base state */
.gi-input {
    width: 100%;
    padding: 12px 16px;
    background-color: #ffffff;
    border: 1px solid #d4d4d4;
    border-radius: 8px;
    font-size: 14px;
    color: #262626;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.gi-input::placeholder {
    color: #999999;
}

/* Focus state — brand green glow */
.gi-input:focus {
    border-color: #5a8219;
    box-shadow: 0 0 0 3px rgba(90, 130, 25, 0.08);
}

/* Error state — red border */
.gi-input.gi-field-error,
.gl-ck__field-input.gi-field-error,
.gl-ck__field-select.gi-field-error,
.gl-ck__notes-textarea.gi-field-error {
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.06);
}

.gi-input.gi-field-error:focus,
.gl-ck__field-input.gi-field-error:focus,
.gl-ck__field-select.gi-field-error:focus {
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

/* Valid state — green border */
.gi-input.gi-field-valid,
.gl-ck__field-input.gi-field-valid,
.gl-ck__field-select.gi-field-valid {
    border-color: #5a8219 !important;
}

.gi-input.gi-field-valid:focus,
.gl-ck__field-input.gi-field-valid:focus,
.gl-ck__field-select.gi-field-valid:focus {
    border-color: #5a8219;
    box-shadow: 0 0 0 3px rgba(90, 130, 25, 0.08);
}

/* Checkout: error msg inside floating-label field wrapper */
.gl-ck__field .gi-error-msg {
    margin-top: 4px;
    font-size: 11px;
    line-height: 1.3;
}

/* Error message text */
.gi-error-msg {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #dc2626;
    line-height: 1.4;
}

/* Error message in dark footer */
.gi-footer .gi-error-msg {
    color: #f87171;
}

/* Error border in dark footer */
.gi-footer .gi-field-error {
    border-color: #f87171 !important;
}

/* Select dropdown arrow override for .gi-input */
select.gi-input {
    appearance: none;
    cursor: pointer;
    padding-right: 40px;
}

/* Textarea override for .gi-input */
textarea.gi-input {
    resize: none;
}

/* LEGACY: Global focus for non-.gi-input elements */
input:not(.gi-input):not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):focus,
select:not(.gi-input):focus,
textarea:not(.gi-input):focus {
    border-color: #5a8219;
    box-shadow: 0 0 0 3px rgba(90, 130, 25, 0.08);
    outline: none;
}

/* 404 ERROR PAGE */

.error-nav-card:hover {
    transform: translateY(-4px);
}

/* SEARCH RESULTS PAGE */

/* Search keyword highlight — WP: preg_replace wraps matched terms with <mark> */
.search-result-item mark {
    background: transparent;
    color: #5a8219;
    font-weight: 600;
}

/* Collapse toggle for mobile filter (news/taxonomy pages) */
[data-collapse-toggle] {
    cursor: pointer;
}

[data-collapse-toggle][aria-expanded="true"]~#newsFilterContent {
    display: flex !important;
}

/* Article card hover effect */
.article-card {
    transition: all 0.3s ease;
}

/* PDP: Add to Cart & Buy Now */

/* Container: form.cart + Buy Now in one row */
.gi-pdp-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* Form layout: quantity | Add to Cart as one unit */
.gi-pdp-actions form.cart {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1 1 auto;
    min-width: min(100%, 300px);
    flex-wrap: nowrap;
}

/* -- Quantity Selector -- */
.gi-pdp-actions form.cart .quantity {
    position: relative;
    display: flex;
    align-items: center;
    border: 1px solid #d4d4d4;
    border-radius: 8px;
    height: 52px;
    overflow: hidden;
    margin: 0;
    float: none;
}

.gi-pdp-actions form.cart .quantity input.qty {
    width: 52px;
    height: 100%;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    color: #262626;
    border: none;
    outline: none;
    background: transparent;
    padding: 0;
    margin: 0;
    -moz-appearance: textfield;
    appearance: textfield;
}

/* Hide native browser spinners */
.gi-pdp-actions form.cart .quantity input.qty::-webkit-outer-spin-button,
.gi-pdp-actions form.cart .quantity input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* CSS counter buttons via pseudo-elements */
.gi-pdp-actions form.cart .quantity::before,
.gi-pdp-actions form.cart .quantity::after {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 100%;
    cursor: pointer;
    color: #525252;
    font-size: 18px;
    font-weight: 300;
    line-height: 1;
    user-select: none;
    transition: background 0.2s ease;
    flex-shrink: 0;
}

.gi-pdp-actions form.cart .quantity::before {
    content: '\2212';
    order: -1;
    border-right: 1px solid #e5e5e7;
}

.gi-pdp-actions form.cart .quantity::after {
    content: '+';
    order: 1;
    border-left: 1px solid #e5e5e7;
}

.gi-pdp-actions form.cart .quantity:hover::before,
.gi-pdp-actions form.cart .quantity:hover::after {
    color: #262626;
}

/* -- Add to Cart Button -- */
.gi-pdp-actions form.cart .single_add_to_cart_button {
    flex: 1;
    min-width: 140px;
    height: 52px;
    background: #262626 !important;
    color: #fff !important;
    font-size: 15px;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0;
    transition: background 0.3s ease;
    padding: 0 24px;
    line-height: 52px;
    white-space: nowrap;
}

.gi-pdp-actions form.cart .single_add_to_cart_button:hover {
    background: #525252 !important;
    color: #ffffff !important;
}

/* -- ATC loading state (spinner + disabled) -- */
.gi-pdp-actions form.cart .single_add_to_cart_button.loading {
    opacity: 0.7;
    pointer-events: none;
}

.gi-pdp-actions form.cart .single_add_to_cart_button.loading::after {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-left: 8px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: glSpinner 0.6s linear infinite;
    vertical-align: middle;
}

/* -- ATC added state (success feedback) -- */
.gi-pdp-actions form.cart .single_add_to_cart_button.added {
    background: #5a8219 !important;
    color: #fff !important;
}

/* -- Buy Now Button (supports both inside form.cart and direct child) -- */
.gi-pdp-actions form.cart .buy-now-trigger,
.gi-pdp-actions>.buy-now-trigger {
    flex: 1;
    min-width: 140px;
    height: 52px;
    background: #5a8219;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0;
    transition: opacity 0.3s ease;
    padding: 0 24px;
    line-height: 52px;
    white-space: nowrap;
}

.gi-pdp-actions form.cart .buy-now-trigger:hover,
.gi-pdp-actions>.buy-now-trigger:hover {
    opacity: 0.85;
}

/* -- Mobile: stack buttons vertically -- */
@media (max-width: 767px) {
    .gi-pdp-actions {
        flex-direction: column;
        gap: 10px;
    }

    .gi-pdp-actions form.cart {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .gi-pdp-actions form.cart .quantity {
        width: 100%;
        justify-content: center;
    }

    .gi-pdp-actions form.cart .quantity input.qty {
        flex: 1;
    }

    .gi-pdp-actions form.cart .single_add_to_cart_button,
    .gi-pdp-actions form.cart .buy-now-trigger,
    .gi-pdp-actions>.buy-now-trigger {
        width: 100%;
        min-width: auto;
    }
}

/* PDP: Custom Price Layout */
.gi-pdp-price {
    margin-top: 20px;
    margin-bottom: 20px;
}

.gi-pdp-price-discount {
    margin-bottom: 8px;
}

.gi-pdp-discount-pct {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #dc2626;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
    padding: 6px 10px;
    border-radius: 4px;
}

.gi-pdp-price-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
}

.gi-pdp-price-now {
    font-size: 30px;
    font-weight: 700;
    color: #262626;
    line-height: 1;
    letter-spacing: -0.5px;
}

.gi-pdp-price-original {
    font-size: 18px;
    color: #999999;
    text-decoration: line-through;
    font-weight: 400;
}

/* Coupon Banner */
.gi-coupon-banner {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 16px;
    padding: 6px 12px;
    border-radius: 6px;
    background: #fee2e2;
}

.gi-coupon-banner__icon {
    font-size: 13px;
    color: #dc2626;
    flex-shrink: 0;
}

.gi-coupon-banner__text {
    font-size: 13px;
    color: #262626;
    font-weight: 500;
}

.gi-coupon-banner__code {
    font-weight: 700;
}

.gi-coupon-banner__link {
    font-weight: 600;
    color: #262626;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s ease;
}

.gi-coupon-banner__link:hover {
    color: #5a8219;
}

/* Logged-out variant: subtler style */
.gi-coupon-banner--logout {
    background: #fef3c7;
}

.gi-coupon-banner--logout .gi-coupon-banner__icon {
    color: #f59e0b;
}

.gi-coupon-banner--logout .gi-coupon-banner__text {
    color: #525252;
    font-weight: 400;
}

/* PDP: Rating Score Override — larger font in PDP context */
.gi-pdp-rating .gi-pro-rating-score {
    font-size: 16px;
}

/* Fallback: regular price — REMOVED, now handled by .gl-body .price in components.css */


/* PDP: Gallery Zoom Cursor + Magnifying Glass Overlay */
.gi-gallery-main .swiper-slide {
    position: relative;
}

.gi-gallery-main .swiper-slide img {
    /* 使用自定义 DOM 跟随，隐藏原生鼠标 */
    cursor: none !important;
}

/* Custom DOM Cursor for Gallery (Replaces the bottom-right overlay) */
.gi-gallery-cursor {
    position: fixed;
    pointer-events: none;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.85);
    color: #525252;
    border-radius: 50%;
    font-size: 18px;
    z-index: 99999;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5);
    transition: opacity 0.2s ease, transform 0.2s ease;
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.gi-gallery-cursor.active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* PDP: Stock Status */
.gi-pdp-summary p.stock {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #525252;
    margin: 0;
    line-height: 1.4;
}

.gi-pdp-summary p.stock::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.gi-pdp-summary p.stock.in-stock::before {
    background-color: #5a8219;
}

.gi-pdp-summary p.stock.out-of-stock::before {
    background-color: #dc2626;
}

.gi-pdp-summary p.stock.available-on-backorder::before {
    background-color: #f59e0b;
}

/* PDP: Reset WP/WC default button background */
.accordion-trigger,
.gi-pdp-faq-item button {
    background: transparent;
    border: none;
    outline: none;
}


/* §Cart/Checkout block overrides → moved to cart-checkout.css (conditional load) */



/* =============================================
   BREADCRUMB RESPONSIVE TRUNCATION FIX
   ============================================= */
/* Ensure the breadcrumb container can wrap lines on PC */
.gi-breadcrumb-list {
    flex-wrap: wrap !important;
}

/* PC: No truncation, allow natural text wrap */
.gi-breadcrumb-list li.active {
    font-size: 12px;
    color: #262626;
    font-weight: 500;
    letter-spacing: 0.01em;

    /* Override Tailwind .truncate & max-width so PC wraps naturally */
    max-width: none !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    display: flex !important;
    -webkit-line-clamp: unset !important;
    line-clamp: none !important;
}

/* Mobile: Force single line with ellipsis */
@media (max-width: 991px) {
    .gi-breadcrumb-list li.active {
        max-width: 150px !important;
        display: block !important;
        min-width: 0 !important;
        /* Forces flex child to shrink below intrinsic width */
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
        word-break: normal !important;
    }
}


/* --- Buy Now Modal: Quantity Wrapper --- */
.modal-qty-wrap {
    display: flex;
    align-items: center;
    border: 1px solid #d4d4d4;
    border-radius: 8px;
    height: 44px;
    overflow: hidden;
    flex-shrink: 0;
    transition: border-color 0.25s ease;
}

.modal-qty-wrap:focus-within {
    border-color: #262626;
}

.modal-qty-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 100%;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #525252;
    font-size: 18px;
    font-weight: 300;
    line-height: 1;
    user-select: none;
    transition: background 0.2s ease, color 0.2s ease;
    flex-shrink: 0;
    outline: none;
}

.modal-qty-minus {
    border-right: 1px solid #e5e5e7;
}

.modal-qty-plus {
    border-left: 1px solid #e5e5e7;
}

.modal-qty-btn:hover {
    background: #f5f5f5;
    color: #262626;
}

.modal-qty-btn:active {
    background: #e5e5e5;
}

.modal-official-qty {
    width: 40px;
    height: 100%;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #262626;
    border: none;
    outline: none;
    background: transparent;
    padding: 0;
    margin: 0;
    -moz-appearance: textfield;
    appearance: textfield;
}

/* Hide native browser spinners */
.modal-official-qty::-webkit-outer-spin-button,
.modal-official-qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.modal-official-atc {
    flex: 1;
    height: 44px;
    background-color: #262626 !important;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 600;
    border: none !important;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.25s ease;
}

.modal-official-atc:hover {
    background-color: #404040 !important;
    color: #ffffff !important;
}

/* index.html - S5 Home Deals 1200px Breakpoint Override */
@media (max-width: 1199px) {
    .home-deals-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
    }

    .home-deals-left,
    .home-deals-right {
        grid-column: span 1 / span 1 !important;
    }

    .home-deals-left {
        min-height: 300px !important;
    }
}

/* =============================================
   WP NATIVE CONTENT TYPOGRAPHY (GL-PROSE)
   Styles native HTML tags from WYSIWYG to match Globlazer Lab UI
   ============================================= */

.wp-editor-content {
    color: #525252;
    line-height: 1.8;
    font-size: 16px;
    max-width: 900px;
}

/* Paragraphs */
.wp-editor-content p {
    margin-bottom: 16px;
}

.wp-editor-content p:last-child {
    margin-bottom: 0;
}

/* Headings */
.wp-editor-content h2 {
    font-size: 30px;
    font-weight: 600;
    color: #262626;

    margin-bottom: 24px;
    letter-spacing: 0;
}

@media (max-width: 767px) {
    .wp-editor-content h2 {
        font-size: 24px;
        margin-top: 40px;
        margin-bottom: 16px;
    }
}

.wp-editor-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: #262626;
    margin-top: 32px;
    margin-bottom: 16px;
}

/* Blockquotes (Callouts) */
.wp-editor-content blockquote {
    padding: 16px 20px;
    margin: 32px 0;
    border-left: 3px solid #5a8219;
    background-color: #f5f5f5;
    border-radius: 0 8px 8px 0;
    font-size: 16px;
    font-weight: 600;
    color: #262626;
    font-style: normal;
    line-height: 1.5;
}

/* Ordered Lists (Signals - The numbered grey cards) */
.wp-editor-content ol {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
    counter-reset: gl-counter;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.wp-editor-content ol>li {
    counter-increment: gl-counter;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px;
    border-radius: 8px;
    background-color: #f5f5f5;
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
}

.wp-editor-content ol>li::before {
    content: "0" counter(gl-counter);
    /* Basic zero padding, assumes < 10 items */
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background-color: #262626;
    color: #ffffff;
    font-size: 13px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wp-editor-content ol>li strong {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #262626;
    margin-bottom: 4px;
}

/* Unordered Lists (Exploration Areas - Outline Grid cards) */
.wp-editor-content ul {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

@media (max-width: 575px) {
    .wp-editor-content ul {
        grid-template-columns: 1fr;
    }
}

.wp-editor-content ul>li {
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e5e5e7;
    background: transparent;
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
}

.wp-editor-content ul>li strong {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #262626;
    margin-bottom: 8px;
}

/* =============================================
   OPEN DESIGN — Hero Assembly Animation
   ============================================= */

@keyframes assemblyFadeIn {

    0%,
    10% {
        opacity: 0;
    }

    15%,
    90% {
        opacity: 0.15;
    }

    95%,
    100% {
        opacity: 0;
    }
}

@keyframes assemblyBase {

    0%,
    15% {
        opacity: 0;
        transform: translateY(-40px);
    }

    25%,
    90% {
        opacity: 1;
        transform: translateY(0);
    }

    95%,
    100% {
        opacity: 0;
        transform: translateY(0);
    }
}

@keyframes assemblyPillars {

    0%,
    35% {
        opacity: 0;
        transform: translateY(-50px);
    }

    45%,
    90% {
        opacity: 1;
        transform: translateY(0);
    }

    95%,
    100% {
        opacity: 0;
        transform: translateY(0);
    }
}

@keyframes assemblyMid {

    0%,
    50% {
        opacity: 0;
        transform: translateY(-40px);
    }

    60%,
    90% {
        opacity: 1;
        transform: translateY(0);
    }

    95%,
    100% {
        opacity: 0;
        transform: translateY(0);
    }
}

@keyframes assemblyTop {

    0%,
    65% {
        opacity: 0;
        transform: translateY(-40px);
    }

    75%,
    90% {
        opacity: 1;
        transform: translateY(0);
    }

    95%,
    100% {
        opacity: 0;
        transform: translateY(0);
    }
}

@keyframes assemblyCog {

    0%,
    80% {
        opacity: 0;
    }

    85%,
    90% {
        opacity: 1;
    }

    95%,
    100% {
        opacity: 0;
    }
}

.anim-grid-clean {
    animation: assemblyFadeIn 8s infinite ease-in-out;
}

.anim-base-clean {
    animation: assemblyBase 8s infinite cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-origin: center;
}

.anim-pillars-clean {
    animation: assemblyPillars 8s infinite cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-origin: center;
}

.anim-mid-clean {
    animation: assemblyMid 8s infinite cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-origin: center;
}

.anim-top-clean {
    animation: assemblyTop 8s infinite cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-origin: center;
}

.anim-cog-clean {
    animation: assemblyCog 8s infinite ease-in-out;
}

/* Custom WooCommerce Price Structure for PDP3 */
.gi-custom-wc-price .price {
    display: flex;
    flex-direction: column-reverse;
    /* Original price below current price */
    gap: 6px;
    margin: 0;
}

.gi-custom-wc-price .price ins {
    text-decoration: none;
    font-size: 30px;
    font-weight: 600;
    color: #262626;
    line-height: 1;
    letter-spacing: -0.02em;
}

.gi-custom-wc-price .price del {
    font-size: 14px;
    color: #262626;
    text-decoration: line-through;
    opacity: 1;
}

.gi-custom-wc-price .price>.amount,
.gi-custom-wc-price .price>span {
    font-size: 30px;
    font-weight: 600;
    color: #262626;
    line-height: 1;
    letter-spacing: -0.02em;
}


/* Checkout page styles moved to: gl-checkout.css */

/* =============================================
   GB CONFIGURATOR — Semantic Styles
   All gb-* component styles for PHP-rendered configurator.
   ============================================= */

/* Configurator Wrapper */
.gi-configurator-wrap {
    padding: 16px;
    background: #fafafa;
    width: 100%;
    margin-bottom: 24px;
    border-radius: 12px;
}

@media (max-width: 991px) {
    .gi-configurator-wrap {
        padding: 12px;
    }
}

/* Isolate from WC/SF global input styles */
.gi-configurator-wrap input[type="hidden"],
.gi-configurator-wrap input[type="range"],
.gi-configurator-wrap select.hidden,
.gi-configurator-wrap select.wc-var-native-select {
    all: revert;
    appearance: none;
    -webkit-appearance: none;
    box-shadow: none !important;
    outline: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    height: auto !important;
    min-height: 0 !important;
}

.gi-configurator-wrap select.hidden,
.gi-configurator-wrap select.wc-var-native-select {
    display: none !important;
}

.gi-configurator-wrap input[type="range"] {
    display: block !important;
    width: 100% !important;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    cursor: pointer;
    z-index: 2;
}

/* WC Var Selector */
.wc-var-selector {
    margin-bottom: 16px;
}

/* WC Var Pill Group */
.wc-var-pill-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Field Group */
.gb-field-group {
    margin-bottom: 16px;
}

/* Field Header */
.gb-field-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}

.gb-field-header--between {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

/* Field Label */
.gb-field-label {
    font-size: 15px;
    color: #6e858d;
}

/* Required asterisk */
.gb-required {
    color: #ef4444;
    margin-left: 2px;
}

/* Field Value */
.gb-field-value {
    font-size: 15px;
    color: #262626;
    font-weight: 400;
    display: none;
}

/* Swatch Group */
.gb-swatch-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Swatch */
.gb-swatch {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    padding: 3px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}

.gb-swatch span {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
}

.gb-swatch:hover span {
    transform: scale(0.92);
}

.gb-swatch.active {
    border-color: #262626;
}

/* Card Group */
.gb-card-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Card */
.gb-card {
    padding: 9px 15px;
    background: #ffffff;
    border: 2px solid #e5e5e7;
    color: #525252;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.gb-card:hover {
    border-color: #262626;
}

.gb-card.active {
    border-color: #262626;
    color: #262626;
    font-weight: 600;
}

/* Select Wrapper */
.gb-select-wrap {
    position: relative;
}

.gb-select {
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    background: #ffffff;
    border: 1px solid #e5e5e7 !important;
    border-radius: 8px !important;
    padding: 10px 40px 10px 16px !important;
    font-size: 14px !important;
    color: #262626 !important;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: none !important;
    height: auto !important;
    min-height: 0 !important;
    line-height: 1.4 !important;
}

.gb-select:hover {
    border-color: #262626;
}

.gb-select:focus {
    border-color: #262626 !important;
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(38, 38, 38, 0.1) !important;
}

.gb-select-icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #999999;
    pointer-events: none;
}

/* Image Card Group */
.gb-imgcard-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.gb-imgcard {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 10px;
    border: 1px solid #e5e5e7;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.gb-imgcard:hover {
    border-color: #d4d4d4;
    background: #f5f5f5;
}

.gb-imgcard.active {
    border-color: #262626;
    border-width: 2px;
    background: #fafafa;
}

.gb-imgcard img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    border-radius: 6px;
}

.gb-imgcard span {
    font-size: 13px;
    font-weight: 500;
    color: #262626;
}

/* Checkbox Group */
.gb-checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.gb-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.gb-checkbox-box {
    width: 20px;
    height: 20px;
    border: 1px solid #e5e5e7;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.gb-checkbox-box i {
    font-size: 12px;
    color: #ffffff;
    opacity: 0;
    transition: opacity 0.15s ease;
}

.gb-checkbox input:checked~.gb-checkbox-box {
    background: #262626;
    border-color: #262626;
}

.gb-checkbox input:checked~.gb-checkbox-box i {
    opacity: 1;
}

.gb-checkbox-label {
    font-size: 14px;
    color: #525252;
    line-height: 1.4;
}

/* Textarea */
.gb-textarea {
    width: 100% !important;
    background: #ffffff !important;
    border: 1px solid #e5e5e7 !important;
    border-radius: 8px !important;
    padding: 10px 14px !important;
    font-size: 14px !important;
    color: #262626 !important;
    resize: none;
    transition: all 0.2s ease;
    height: auto !important;
    min-height: 0 !important;
    line-height: 1.4 !important;
    box-shadow: none !important;
}

.gb-textarea::placeholder {
    color: #999999;
}

.gb-textarea:hover {
    border-color: #d4d4d4;
}

.gb-textarea:focus {
    border-color: #262626 !important;
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(38, 38, 38, 0.1) !important;
}

/* Slider Input Box */
.gb-slider-input-box {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    background: #ffffff;
    border: 1px solid #e5e5e7;
    border-radius: 8px;
    padding: 6px 12px;
    cursor: text;
    transition: all 0.2s ease;
}

.gb-slider-input-box:hover {
    border-color: #262626;
}

.gb-slider-input-box:focus-within {
    border-color: #262626 !important;
    box-shadow: 0 0 0 2px rgba(38, 38, 38, 0.1) !important;
}

/* Slider Number Input */
.gb-slider-num {
    width: 36px !important;
    text-align: right !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #262626 !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    height: auto !important;
    min-height: 0 !important;
    line-height: 1 !important;
    -moz-appearance: textfield;
}

.gb-slider-num::-webkit-outer-spin-button,
.gb-slider-num::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Slider Unit */
.gb-slider-unit {
    font-size: 13px;
    font-weight: 500;
    color: #999999;
    margin-left: 4px;
    user-select: none;
}

/* Slider Wrap */
.gb-slider-wrap {
    width: 100%;
}

/* Slider Track */
.gb-slider-track {
    position: relative;
    width: 100%;
    user-select: none;
}

/* Slider Runway (the actual bar container) */
.gb-slider-runway {
    position: relative;
    width: 100%;
    height: 6px;
    background: #e5e5e7;
    border-radius: 9999px;
}

/* Slider Progress */
.gb-slider-progress {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: #262626;
    border-radius: 9999px;
    transition: all 150ms ease-out;
}

/* Slider Range Input (invisible overlay) */
.gb-slider-range {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 20;
}

/* Slider Thumb */
.gb-slider-thumb {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    background: #ffffff;
    border: 3px solid #262626;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
    z-index: 10;
    pointer-events: none;
    transition: all 150ms ease-out;
}

/* ① Pills */
.gb-pill-group {
    display: inline-flex;
}

.gb-pill {
    padding: 9px 19px;
    background-color: #ffffff;
    color: #525252;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
    border: 2px solid #e5e5e7;
    position: relative;
}

.gb-pill-group>.gb-pill:not(:first-child) {
    margin-left: -2px;
}

.gb-pill:first-child {
    border-radius: 8px 0 0 8px;
}

.gb-pill:last-child {
    border-radius: 0 8px 8px 0;
}

.gb-pill:hover {
    background-color: #f5f5f5;
    z-index: 1;
}

.gb-pill.active {
    background-color: #ffffff;
    color: #262626;
    font-weight: 600;
    border-color: #262626;
    z-index: 2;
}

.gb-pill.active+.gb-pill {
    border-left-color: transparent;
}


/* ============================================================
   GLOBAL INFO DRAWER
   General purpose slide-out panel, mirroring coupon drawer layout.
   ============================================================ */

.gl-info-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.4);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.gl-info-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.gl-info-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 360px;
    height: 100%;
    background: #fff;
    z-index: 10001;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
    box-shadow: none;
    display: flex;
    flex-direction: column;
}

.gl-info-drawer.active {
    transform: translateX(0);
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.08);
}

.gl-info-drawer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid #e5e5e7;
    flex-shrink: 0;
}

.gl-info-drawer__title {
    font-size: 16px;
    font-weight: 600;
    color: #262626;
    letter-spacing: 0;
}

.gl-info-drawer__close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: #525252;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s ease;
    padding: 0;
    font-size: 18px;
    line-height: 1;
}

.gl-info-drawer__close i {
    display: inline-block;
    font-size: 18px;
    color: inherit;
}

.gl-info-drawer__close:hover {
    background: #f5f5f5;
    color: #262626;
}

.gl-info-drawer__body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    min-height: 0;
    font-size: 14px;
    color: #525252;
    line-height: 1.6;
}

.gl-info-drawer__body::-webkit-scrollbar {
    width: 4px;
}

.gl-info-drawer__body::-webkit-scrollbar-thumb {
    background: #d4d4d4;
    border-radius: 2px;
}

@media (max-width: 480px) {
    .gl-info-drawer {
        width: 100%;
        transform: translateY(100%);
        right: auto;
        left: 0;
        bottom: 0;
        top: auto;
        height: 85vh;
        border-radius: 16px 16px 0 0;
    }

    .gl-info-drawer.active {
        transform: translateY(0);
    }
}

/* =============================================
   WC VARIATION PILLS (wc-var-*)
   Completely isolated from gb-* configurator.
   Independent pills with wrap support.
   ============================================= */
.wc-var-pill {
    padding: 10px 20px;
    background-color: #ffffff;
    color: #525252;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
    user-select: none;
    border: 2px solid #e5e5e7;
    border-radius: 8px;
}

.wc-var-pill:hover {
    background-color: #f5f5f5;
    border-color: #d4d4d4;
}

.wc-var-pill.active {
    background-color: #ffffff;
    color: #262626;
    font-weight: 600;
    border-color: #262626;
}

.wc-var-pill.disabled {
    opacity: 0.35;
    cursor: not-allowed;
    text-decoration: line-through;
}

/* Slider Thumb Hover Effect */
.gb-slider-track:hover .gb-slider-thumb {
    transform: translate(-50%, -50%) scale(1.35);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.18);
}

.gb-slider-track:active .gb-slider-thumb {
    transform: translate(-50%, -50%) scale(1.2);
    border-color: #5a8219;
    box-shadow: 0 0 0 4px rgba(90, 130, 25, 0.12);
}

/* Media Tab Switcher */
.gi-media-tabs {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    background: #ffffff;
    border-radius: 20px;
    padding: 3px;
    margin-bottom: 16px;
}

.gi-media-tab {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 500;
    color: #999999;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.gi-media-tab:hover {
    color: #525252;
}

.gi-media-tab.active {
    color: #262626;
    background: #f5f5f5;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.gi-media-tab i {
    font-size: 12px;
    margin-right: 5px;
}

@media (max-width: 991px) {
    .gi-media-tabs {
        display: none;
    }
}

/* REFRESH PARTS HUB */
.parts-hero-compare-before img {
    filter: grayscale(55%) brightness(0.82) contrast(0.95);
}

.parts-hero-compare-after img {
    filter: saturate(1.12) contrast(1.04);
}

.parts-ba-before img {
    filter: grayscale(50%) brightness(0.84) sepia(12%);
}

.parts-ba-after img {
    filter: saturate(1.1) contrast(1.03);
}

.parts-refresh-bridge {
    background: linear-gradient(180deg, #0a0a0a 0%, #141414 100%);
}

/* REFRESH PARTS HUB — S2 Bento */
@media (min-width: 992px) {
    .parts-bento {
        grid-auto-rows: minmax(0, auto);
    }

    .parts-bento-tile--hero {
        min-height: 100%;
    }
}

/* =============================================
   OPEN DESIGN — Globlazer Standards Component
   ============================================= */

/* Tabs */
.gl-std__tabs-wrap {
    border-bottom: 1px solid #e5e5e7;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.gl-std__tabs-wrap::-webkit-scrollbar {
    display: none;
}

.gl-std__tabs {
    display: flex;
    align-items: center;
    gap: 40px;
    width: 100%;
}

.gl-std__tab {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 16px 0;
    margin-bottom: -1px;
    font-size: 16px;
    font-weight: 500;
    color: #525252;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
}

.gl-std__tab i {
    font-size: 16px;
    margin-right: 8px;
}

.gl-std__tab:hover {
    color: #262626;
}

.gl-std__tab.is-active {
    font-weight: 600;
    color: #262626;
    border-bottom-color: #262626;
}

.gl-std__panel {
    display: none;
}

.gl-std__panel.is-active {
    display: block;
}

@media (max-width: 767px) {
    .gl-std__tabs {
        gap: 20px;
    }

    .gl-std__tab {
        font-size: 14px;
    }

    .gl-std__tab i {
        display: none;
    }
}

/* Lightbox */
.gl-std-lb {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.gl-std-lb.is-open {
    opacity: 1;
    visibility: visible;
}

.gl-std-lb__stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80vw;
    height: 80vh;
    margin: 0;
}

.gl-std-lb__img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 8px 48px rgba(0, 0, 0, 0.4);
}

.gl-std-lb__close {
    position: absolute;
    top: 16px;
    right: 20px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s;
}

.gl-std-lb__close:hover {
    background: rgba(255, 255, 255, 0.25);
}

.gl-std-lb__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s, transform 0.2s;
}

.gl-std-lb__nav:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-50%) scale(1.08);
}

.gl-std-lb__nav--prev {
    left: 20px;
}

.gl-std-lb__nav--next {
    right: 20px;
}

.gl-std-lb__count {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 16px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
    border-radius: 20px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    font-weight: 500;
    z-index: 10;
}

/* Bento Grid */
.gl-std-bento {
    display: grid;
    grid-template-columns: 3fr 2fr;
    grid-template-rows: 1fr 1fr;
    gap: 4px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 24px;
    height: clamp(240px, 24vw, 340px);
}

.gl-std-bento__hero {
    grid-row: 1 / -1;
}

.gl-std-bento__hero,
.gl-std-bento__cell {
    position: relative;
    overflow: hidden;
    background: #eeedea;
    cursor: pointer;
}

.gl-std-bento__hero img,
.gl-std-bento__cell img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gl-std-bento__hero:hover img,
.gl-std-bento__cell:hover img {
    transform: scale(1.06);
}

.gl-std-bento__caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 14px 10px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.45), transparent);
    color: rgba(255, 255, 255, 0.92);
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    pointer-events: none;
    z-index: 1;
}

.gl-std-bento__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    z-index: 2;
    pointer-events: none;
}

.gl-std-bento__show-all {
    position: absolute;
    bottom: 10px;
    right: 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #262626;
    cursor: pointer;
    z-index: 2;
    transition: all 0.2s;
}

.gl-std-bento__show-all:hover {
    background: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.14);
    transform: translateY(-1px);
}

@media (max-width: 991px) {
    .gl-std-bento {
        height: clamp(220px, 30vw, 300px);
    }
}

@media (max-width: 767px) {
    .gl-std-bento {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        height: auto;
        border-radius: 0;
        gap: 3px;
    }

    .gl-std-bento__hero {
        aspect-ratio: 16/9;
    }

    .gl-std-bento__cell {
        display: none;
    }

    .gl-std-bento__cell:last-child {
        display: block;
        aspect-ratio: 16/9;
    }

    .gl-std-bento__show-all {
        bottom: 8px;
        right: 8px;
        padding: 6px 12px;
        font-size: 12px;
    }
}