/* ==========================================================================
   GoBoost Shop Web — Official Design System & Stylesheet (v2.0)
   Faithful to GoBoost Mobile App:
   - StoreHomeScreen (lib/view/store/home/home_screen.dart)
   - SlideOfertas & DotIndicators (lib/view/store/home/components/slide_ofertas.dart)
   - Categories & CategoryBtn (lib/view/store/home/components/categories.dart)
   - ProductCard (lib/view/store/components/product/product_card.dart)
   - ProductDetailScreen, ProductImages, ProductInfo, ProductOwnerInfo, CartButton
   ========================================================================== */

:root,
[data-theme="dark"] {
    --gb-primary: #8A4FFF;
    --gb-primary-hover: #7B3FE4;
    --gb-primary-dark: #6E32E3;
    --gb-primary-light: #A678FF;
    --gb-primary-soft: rgba(138, 79, 255, 0.14);
    --gb-primary-border: rgba(138, 79, 255, 0.42);
    --gb-primary-glow: rgba(138, 79, 255, 0.32);

    --gb-bg: #0D0C12;
    --gb-bg-elevated: #15131D;
    --gb-bg-surface: #1A1824;
    --gb-bg-subtle: #13111B;
    --gb-card: #1A1824;
    --gb-card-hover: #221F2F;
    --gb-surface: #242132;
    --gb-border: rgba(255, 255, 255, 0.09);
    --gb-border-subtle: rgba(255, 255, 255, 0.06);
    --gb-border-strong: rgba(255, 255, 255, 0.16);

    --gb-text: #F8F8FC;
    --gb-text-primary: #F8F8FC;
    --gb-text-secondary: #ABA7BA;
    --gb-text-muted: #726E82;

    --gb-success: #2EA566;
    --gb-warning: #F59E0B;
    --gb-danger: #EA5B5B;
    --gb-blue: #3B82F6;

    --gb-header-bg: rgba(13, 12, 18, 0.88);
    --gb-shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.28);
    --gb-shadow-md: 0 12px 32px rgba(0, 0, 0, 0.45);
    --gb-shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.68);
    --gb-card-shadow: 0 12px 32px rgba(0, 0, 0, 0.38);

    --gb-default-padding: 16px;
    --gb-default-radius: 14px;
    --gb-font: 'Urbanist', 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
    --gb-font-heading: 'Urbanist', -apple-system, BlinkMacSystemFont, sans-serif;
    --gb-font-body: 'Urbanist', 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
    --gb-font-seller: 'Cairo', 'Urbanist', sans-serif;
}

[data-theme="light"] {
    --gb-bg: #F6F6FA;
    --gb-bg-elevated: #FFFFFF;
    --gb-bg-surface: #FFFFFF;
    --gb-bg-subtle: #F1F0F7;
    --gb-card: #FFFFFF;
    --gb-card-hover: #F9F8FD;
    --gb-surface: #EFEFF6;
    --gb-border: rgba(22, 18, 42, 0.08);
    --gb-border-subtle: rgba(22, 18, 42, 0.05);
    --gb-border-strong: rgba(22, 18, 42, 0.15);

    --gb-text: #181523;
    --gb-text-primary: #181523;
    --gb-text-secondary: #5E5970;
    --gb-text-muted: #8E89A0;

    --gb-header-bg: rgba(246, 246, 250, 0.92);
    --gb-shadow-sm: 0 4px 15px rgba(24, 21, 35, 0.06);
    --gb-shadow-md: 0 10px 28px rgba(24, 21, 35, 0.1);
    --gb-shadow-lg: 0 22px 54px rgba(24, 21, 35, 0.18);
    --gb-card-shadow: 0 10px 28px rgba(24, 21, 35, 0.08);
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--gb-font-body);
    background-color: var(--gb-bg);
    color: var(--gb-text);
    line-height: 1.45;
    min-height: 100vh;
    overflow-x: hidden;
    transition: background-color 0.2s ease, color 0.2s ease;
}

/* Retina Display & High-DPI Smoothing */
html,
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Ensure Phosphor Icons render with subpixel crispness and zero aliasing */
[class^="ph-"],
[class*=" ph-"],
i.ph,
i.ph-bold,
i.ph-fill,
i.ph-duotone {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
}

/* Fallback/alias para compatibilidade de classes de joias: ph-gem -> glyph de diamante do Phosphor (\e9a4) */
.ph.ph-gem:before,
.ph-bold.ph-gem:before,
.ph-fill.ph-gem:before,
.ph-duotone.ph-gem:before,
i.ph-gem:before {
    content: "\e9a4";
}

a {
    color: inherit;
    text-decoration: none;
}

button, input, select {
    font-family: inherit;
    color: inherit;
    border: none;
    background: none;
}

button {
    cursor: pointer;
}

img, video {
    max-width: 100%;
    display: block;
    image-rendering: auto;
    border: 0;
    outline: none;
}

.hidden {
    display: none !important;
}

/* Theme Icon Toggle */
[data-theme="dark"] .theme-icon-moon { display: none; }
[data-theme="light"] .theme-icon-sun { display: none; }

/* ==========================================================================
   TOP HEADER / SLIVER APP BAR (StoreHomeScreen)
   ========================================================================== */
.gb-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--gb-header-bg);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--gb-border);
    padding: 10px 0 12px;
}

.gb-header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gb-header-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.gb-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.18s ease;
}

.gb-brand-icon {
    width: 36px;
    height: 36px;
    object-fit: contain;
    display: block;
    box-shadow: none !important;
    filter: none !important;
    border-radius: 0;
    transition: transform 0.18s ease;
    flex-shrink: 0;
    image-rendering: auto;
}

.gb-brand-title {
    font-family: var(--gb-font-heading);
    font-size: 1.24rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--gb-text);
    line-height: 1.1;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.gb-brand-title-accent {
    color: var(--gb-primary);
}

.gb-brand:hover .gb-brand-icon {
    transform: scale(1.04);
}

.gb-brand:hover {
    opacity: 0.95;
}

.gb-brand-logo-v8 {
    height: 26px;
    width: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.18s ease, opacity 0.18s ease;
}

.gb-header-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

/* StoreLocationButton (Matches StoreLocationButton in store_location_picker_sheet.dart) */
.gb-store-location-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 13px;
    border-radius: 20px;
    background: var(--gb-primary-soft);
    border: 1px solid var(--gb-primary-border);
    font-family: var(--gb-font-heading);
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--gb-text);
    transition: all 0.2s ease;
    max-width: 280px;
}

[data-theme="light"] .gb-store-location-btn {
    background: rgba(138, 79, 255, 0.09);
    color: #2D144A;
}

.gb-store-location-btn:hover {
    background: rgba(138, 79, 255, 0.22);
    border-color: var(--gb-primary);
}

.gb-store-location-btn i:first-child {
    color: var(--gb-primary);
    font-size: 15px;
    flex-shrink: 0;
}

.gb-store-location-btn span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gb-caret-icon {
    font-size: 11px;
    opacity: 0.75;
    flex-shrink: 0;
}

/* StoreQuickRegionModeChip (Matches StoreQuickRegionModeChip in store_location_picker_sheet.dart) */
.gb-quick-region-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 12px;
    border-radius: 20px;
    background: var(--gb-surface);
    border: 1px solid var(--gb-border-strong);
    font-family: var(--gb-font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--gb-text-secondary);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.gb-quick-region-chip.only-local {
    background: var(--gb-primary);
    border-color: var(--gb-primary);
    color: #FFFFFF;
}

.gb-icon-circle-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gb-surface);
    border: 1px solid var(--gb-border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    color: var(--gb-text);
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.gb-icon-circle-btn:hover {
    border-color: var(--gb-primary);
    color: var(--gb-primary);
}

/* Search Pill Bar (Matches 50px height rounded-30 search bar in StoreHomeScreen) */
.gb-search-pill-bar {
    height: 48px;
    background: var(--gb-card);
    border: 1px solid var(--gb-border);
    border-radius: 30px;
    display: flex;
    align-items: center;
    padding: 0 8px 0 18px;
    box-shadow: var(--gb-shadow-sm);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.gb-search-pill-bar:focus-within {
    border-color: var(--gb-primary);
    box-shadow: 0 4px 18px var(--gb-primary-soft);
}

.gb-search-prefix-icon {
    font-size: 20px;
    color: var(--gb-primary);
    margin-right: 10px;
    flex-shrink: 0;
}

.gb-search-pill-input {
    flex: 1;
    height: 100%;
    font-family: var(--gb-font-heading);
    font-size: 0.96rem;
    font-weight: 600;
    color: var(--gb-text);
    background: transparent;
}

.gb-search-pill-input::placeholder {
    color: var(--gb-text-muted);
    font-weight: 500;
}

.gb-search-pill-input:focus {
    outline: none;
}

.gb-search-suffix-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    color: var(--gb-text-secondary);
    transition: all 0.15s ease;
}

.gb-search-suffix-btn:hover {
    background: var(--gb-surface);
    color: var(--gb-primary);
}

.gb-filter-trigger-btn {
    color: var(--gb-primary);
}

/* ==========================================================================
   MAIN SHOP CONTAINER & INTERLEAVED VITRINE (StoreHomeScreen)
   ========================================================================== */
.gb-shop-main {
    padding: 16px 0 64px;
}

.gb-shop-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 18px;
}

.gb-showcase-view {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* ==========================================================================
   SLIDE OFERTAS — BANNERS CAROUSEL (Proporção 2:1 Sem Cortes)
   ========================================================================== */
.gb-banner-slot {
    margin: 16px 0;
}

.gb-banner-slot.is-topo {
    margin-top: 0;
    margin-bottom: 12px;
}

.gb-banner-slot:empty {
    display: none;
    margin: 0;
}

.gb-banner-skeleton {
    width: 100%;
    aspect-ratio: 2 / 1;
    border-radius: 16px;
    border: 1px solid var(--gb-border-subtle);
}

.gb-slide-ofertas {
    position: relative;
    width: 100%;
    aspect-ratio: 2 / 1;
    border-radius: 16px;
    overflow: hidden;
    background: var(--gb-card);
    border: 1px solid var(--gb-border-subtle);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.gb-slide-track {
    width: 100%;
    height: 100%;
    position: relative;
}

.gb-slide-item {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.gb-slide-item.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
}

.gb-slide-item img,
.gb-slide-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border: 0;
    outline: none;
}

.gb-slide-loc-pill {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 4;
    background: rgba(13, 12, 18, 0.72);
    backdrop-filter: blur(8px);
    color: #FFFFFF;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.gb-slide-loc-pill i {
    color: var(--gb-primary-light);
}

/* Navigation Arrows on Hover */
.gb-slide-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(13, 12, 18, 0.62);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    opacity: 0;
    transition: opacity 0.2s ease, background 0.2s ease;
}

.gb-slide-ofertas:hover .gb-slide-arrow {
    opacity: 1;
}

.gb-slide-arrow:hover {
    background: var(--gb-primary);
}

.gb-slide-arrow.prev { left: 14px; }
.gb-slide-arrow.next { right: 14px; }

/* DotIndicators (Matches DotIndicators in lib/view/store/home/components/dot_indicators.dart: height 8, width 24 active / 8 inactive) */
.gb-dot-indicators {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 5px 10px;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(4px);
}

.gb-dot-indicator {
    height: 8px;
    width: 8px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.gb-dot-indicator.active {
    width: 24px;
    background: #FFFFFF;
}

/* ==========================================================================
   BANNERS NO MOBILE: 100% de largura da tela e bordas retangulares
   ========================================================================== */
@media (max-width: 768px) {
    .gb-shop-wrapper {
        padding-left: 12px;
        padding-right: 12px;
    }

    .gb-banner-slot {
        width: calc(100% + 24px) !important;
        margin-left: -12px !important;
        margin-right: -12px !important;
        max-width: 100vw !important;
        margin-top: 12px !important;
        margin-bottom: 14px !important;
    }

    .gb-banner-slot.is-topo {
        margin-top: 0 !important;
        margin-bottom: 12px !important;
    }

    .gb-banner-slot .gb-slide-ofertas,
    .gb-banner-slot .gb-banner-skeleton,
    .gb-slide-ofertas,
    .gb-banner-skeleton {
        border-radius: 0 !important;
        border-left: none !important;
        border-right: none !important;
        box-shadow: none !important;
    }

    .gb-banner-slot .gb-slide-track,
    .gb-banner-slot .gb-slide-item,
    .gb-banner-slot .gb-slide-item img,
    .gb-banner-slot .gb-slide-item video,
    .gb-slide-track,
    .gb-slide-item,
    .gb-slide-item img,
    .gb-slide-item video {
        border-radius: 0 !important;
    }
}

/* ==========================================================================
   PRINCIPAIS CATEGORIAS (Matches Categories & CategoryBtn in categories.dart)
   ========================================================================== */
.gb-categories-block {
    padding: 8px 0 6px;
}

.gb-section-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 2px 10px;
}

.gb-section-heading {
    font-family: var(--gb-font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--gb-text);
}

.gb-see-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: var(--gb-font-heading);
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--gb-primary);
    padding: 4px 8px;
    border-radius: 10px;
    transition: background 0.15s ease;
}

.gb-see-all-btn:hover {
    background: var(--gb-primary-soft);
}

.gb-categories-scroll {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 0 6px;
    scrollbar-width: none;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
}
.gb-categories-scroll:active {
    cursor: grabbing;
}
.gb-categories-scroll::-webkit-scrollbar {
    display: none;
}

/* CategoryBtn (height: 38px, borderRadius: 30px, icon 18px + text 12.5px) */
.gb-category-btn {
    height: 38px;
    padding: 0 16px;
    border-radius: 30px;
    background: var(--gb-card);
    border: 1px solid var(--gb-border-strong);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--gb-font-heading);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--gb-text);
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.18s ease;
}

.gb-category-btn i {
    font-size: 18px;
}

.gb-category-btn:hover {
    border-color: var(--gb-primary);
    color: var(--gb-primary-light);
}

.gb-category-btn.active {
    background: var(--gb-primary);
    border-color: transparent;
    color: #FFFFFF;
    font-weight: 700;
    box-shadow: none;
}

/* ==========================================================================
   LOCAL REGION HIGHLIGHTS (Matches LocalRegionHighlights in local_region_highlights.dart)
   ========================================================================== */
.gb-region-highlights-box {
    margin: 8px 0 12px;
    padding: 14px 16px 18px;
    border-radius: 18px;
    background: linear-gradient(180deg, var(--gb-primary-soft) 0%, transparent 100%);
    border: 1px solid var(--gb-primary-border);
}

.gb-region-empty-banner {
    margin: 8px 0 12px;
    padding: 14px 16px;
    border-radius: 16px;
    background: var(--gb-card);
    border: 1px solid var(--gb-primary-border);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gb-region-banner-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.gb-region-icon-box {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--gb-primary-soft);
    color: var(--gb-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.gb-region-actions-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.gb-action-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    background: var(--gb-primary-soft);
    color: var(--gb-primary-light);
}

.gb-action-chip.primary {
    background: var(--gb-primary);
    color: #FFFFFF;
}

/* ==========================================================================
   STORE PRODUCT SECTION & PRODUCT CARD (Matches StoreProductSection & ProductCard)
   ========================================================================== */
.gb-product-section-slot:empty {
    display: none;
}

.gb-store-product-section {
    padding: 6px 0 10px;
}

/* Empty Category Card */
.gb-empty-category-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    border-radius: 16px;
    background: var(--gb-card);
    border: 1px dashed var(--gb-border-strong);
    box-shadow: var(--gb-shadow-sm);
    margin: 6px 0 14px;
    transition: border-color 0.25s ease, background-color 0.25s ease;
}

.gb-empty-category-card:hover {
    border-color: var(--gb-primary);
    background: var(--gb-card-hover);
}

.gb-empty-cat-icon {
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: 12px;
    background: rgba(138, 79, 255, 0.12);
    color: var(--gb-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.gb-empty-cat-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.gb-empty-cat-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--gb-text);
    margin: 0;
    letter-spacing: -0.01em;
}

.gb-empty-cat-text {
    font-size: 0.83rem;
    color: var(--gb-text-secondary);
    margin: 0;
    line-height: 1.4;
}

.gb-empty-cat-text strong {
    color: var(--gb-text);
    font-weight: 600;
}

@media (max-width: 560px) {
    .gb-empty-category-card {
        padding: 13px 15px;
        gap: 12px;
        border-radius: 12px;
        margin: 4px 0 10px;
    }
    .gb-empty-cat-icon {
        width: 38px;
        height: 38px;
        min-width: 38px;
        font-size: 19px;
        border-radius: 10px;
    }
    .gb-empty-cat-title {
        font-size: 0.88rem;
    }
    .gb-empty-cat-text {
        font-size: 0.78rem;
    }
}

/* Scroll Track Wrapper with Desktop Navigation Arrows */
.gb-scroll-track-wrapper {
    position: relative;
    width: 100%;
}

.gb-products-horizontal-list {
    display: flex;
    align-items: stretch;
    gap: 14px;
    overflow-x: auto;
    padding: 4px 2px 12px;
    scroll-behavior: smooth;
    scrollbar-width: none;
    cursor: grab;
}

.gb-products-horizontal-list:active {
    cursor: grabbing;
}

.gb-products-horizontal-list::-webkit-scrollbar {
    display: none;
}

.gb-shelf-loading-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 90px;
    padding: 0 16px;
    flex-shrink: 0;
    color: var(--gb-accent, #6366f1);
    font-size: 1.6rem;
}

.gb-scroll-arrow {
    position: absolute;
    top: calc(50% - 12px);
    transform: translateY(-50%);
    z-index: 12;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gb-card);
    border: 1px solid var(--gb-border-strong);
    color: var(--gb-text);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0.96;
    user-select: none;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.gb-scroll-arrow:hover {
    background: var(--gb-primary);
    color: #FFFFFF;
    border-color: var(--gb-primary);
    transform: translateY(-50%) scale(1.08);
    opacity: 1;
    box-shadow: 0 6px 22px rgba(138, 79, 255, 0.35);
}

.gb-scroll-arrow.prev {
    left: -14px;
}

.gb-scroll-arrow.next {
    right: -14px;
}

.gb-scroll-arrow.disabled {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

@media (max-width: 860px) {
    .gb-scroll-arrow.prev { left: -8px; }
    .gb-scroll-arrow.next { right: -8px; }
}

@media (max-width: 560px) {
    .gb-scroll-arrow {
        display: none !important;
    }
}

/* ProductCard — Enhanced Image Prominence & Faithful Layout */
.gb-product-card {
    width: 200px;
    min-width: 200px;
    background: var(--gb-card);
    border: 1px solid var(--gb-border-subtle);
    border-radius: var(--gb-default-radius);
    padding: 9px;
    display: flex;
    flex-direction: column;
    height: auto;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
    position: relative;
    text-align: left;
}

.gb-product-card.is-local-match {
    border-color: var(--gb-primary-border);
    border-width: 1.4px;
}

.gb-product-card:hover {
    transform: translateY(-4px);
    border-color: var(--gb-primary);
    box-shadow: 0 8px 24px rgba(138, 79, 255, 0.16);
}

/* Prominent 1:1 Standardized Image Container & Slideshow */
.gb-product-card-media {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    overflow: hidden;
    background: var(--gb-bg-surface);
    border: 1px solid var(--gb-border-subtle);
    margin-bottom: 9px;
}

.gb-card-slides-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.gb-card-slide-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: none;
    border: 0;
    outline: none;
}

.gb-card-slide-img.active {
    opacity: 1;
    pointer-events: auto;
}

.gb-product-card:hover .gb-card-slide-img.active {
    transform: scale(1.06);
}

/* Dots at the bottom of the card image */
.gb-card-dots-bar {
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 3px 6px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    pointer-events: none;
}

.gb-card-slide-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transition: all 0.25s ease;
}

.gb-card-slide-dot.active {
    width: 13px;
    border-radius: 4px;
    background: #FFFFFF;
}

/* Condition Tag ("Novo" / "Usado" - top-left like ProductCard in product_card.dart) */
.gb-card-condition-tag {
    position: absolute;
    top: 7px;
    left: 7px;
    z-index: 2;
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(4px);
    color: #FFFFFF;
    font-family: var(--gb-font-heading);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

/* Multi-photo count indicator on top-right */
.gb-card-photos-badge {
    position: absolute;
    top: 7px;
    right: 7px;
    z-index: 2;
    padding: 2px 7px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(4px);
    color: #FFFFFF;
    font-size: 0.68rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

/* Card Body & Hierarchy */
.gb-product-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 2px 4px 4px;
}

.gb-card-brand {
    font-family: var(--gb-font-heading);
    font-size: 0.74rem;
    font-weight: 600;
    text-transform: capitalize;
    letter-spacing: 0.01em;
    color: #CBD5E1;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 0;
    min-width: 0;
    line-height: 1.35;
}

[data-theme="light"] .gb-card-brand {
    color: #475569;
}

.gb-card-brand .gb-owner-pro-icon {
    font-size: 11px !important;
    margin-left: 4px;
    transform: translateY(-0.5px);
}

.gb-card-brand-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.18s ease;
}

.gb-card-brand.has-store {
    cursor: pointer;
}

.gb-card-brand.has-store:hover .gb-card-brand-name {
    color: var(--gb-primary, #6366F1);
    text-decoration: underline;
}

.gb-product-card:hover .gb-card-brand-name {
    color: var(--gb-primary-light, #A855F7);
}

.gb-card-title {
    font-family: var(--gb-font-heading);
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.38;
    color: var(--gb-text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
    height: 2.76em;
    min-height: 2.76em;
    max-height: 2.76em;
    margin-bottom: 10px;
}

.gb-card-bottom {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.gb-card-location-row {
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: var(--gb-font-heading);
    font-size: 0.76rem;
    font-weight: 600;
    color: #CBD5E1;
    line-height: 1.3;
}

[data-theme="light"] .gb-card-location-row {
    color: #374151;
}

.gb-card-location-row.is-local {
    color: var(--gb-primary-light);
    font-weight: 700;
}

[data-theme="light"] .gb-card-location-row.is-local {
    color: var(--gb-primary);
}

.gb-card-location-row i {
    font-size: 13px;
    flex-shrink: 0;
    color: var(--gb-primary-light);
}

[data-theme="light"] .gb-card-location-row i {
    color: var(--gb-primary);
}

.gb-card-location-row span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gb-card-price {
    font-family: var(--gb-font-heading);
    font-size: 1.18rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.25;
    color: #FFFFFF;
}

[data-theme="light"] .gb-card-price {
    color: #0F172A;
}

@media (max-width: 480px) {
    .gb-card-title {
        font-size: 0.88rem;
    }
    .gb-card-price {
        font-size: 1.10rem;
    }
}

/* ==========================================================================
   MODO 2: PRODUCT LISTING SCREEN (Full Filterable Grid View)
   ========================================================================== */
.gb-listing-view {
    display: flex;
    flex-direction: column;
    gap: 16px;
    animation: gbFadeIn 0.2s ease;
}

@keyframes gbFadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

.gb-listing-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.gb-back-to-showcase-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    border-radius: 20px;
    background: var(--gb-card);
    border: 1px solid var(--gb-border-strong);
    font-family: var(--gb-font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gb-text);
    transition: all 0.15s ease;
}

.gb-back-to-showcase-btn:hover {
    border-color: var(--gb-primary);
    color: var(--gb-primary-light);
}

.gb-listing-title-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.gb-listing-title {
    font-size: 1.3rem;
    font-weight: 800;
}

.gb-listing-count-badge {
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    background: var(--gb-primary-soft);
    color: var(--gb-primary-light);
}

.gb-listing-filters-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding: 4px 0;
}

.gb-condition-pills {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.gb-cond-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 20px;
    background: var(--gb-card);
    border: 1px solid var(--gb-border);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--gb-text-secondary);
    transition: all 0.15s ease;
}

.gb-cond-pill.active {
    background: var(--gb-primary-soft);
    border-color: var(--gb-primary);
    color: var(--gb-primary-light);
}

.gb-listing-sort-group {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.gb-seller-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    background: var(--gb-primary);
    color: #FFFFFF;
    font-size: 0.78rem;
    font-weight: 700;
}

.gb-sort-select-wrap {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 20px;
    background: var(--gb-card);
    border: 1px solid var(--gb-border-strong);
    font-size: 0.82rem;
    font-weight: 700;
}

.gb-sort-select-wrap i {
    color: var(--gb-primary);
}

.gb-sort-select {
    font-weight: 700;
    font-size: 0.82rem;
    background: transparent;
    cursor: pointer;
}

/* =========================================================================
 * COMPREHENSIVE CATEGORY & SUBCATEGORY FILTERING SYSTEM
 * ========================================================================= */
.gb-listing-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.gb-filter-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 38px;
    padding: 0 16px;
    border-radius: 20px;
    background: var(--gb-card);
    border: 1px solid var(--gb-border-strong);
    color: var(--gb-text-primary);
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.18s ease;
    position: relative;
}

.gb-filter-toggle-btn:hover,
.gb-filter-toggle-btn.active {
    background: var(--gb-primary-soft);
    border-color: var(--gb-primary);
    color: var(--gb-primary-light);
}

.gb-filter-active-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gb-primary);
    box-shadow: 0 0 6px var(--gb-primary);
}

.gb-filter-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--gb-primary);
    color: #FFFFFF;
    font-size: 0.7rem;
    font-weight: 800;
    line-height: 1;
}

.gb-filter-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1040;
    transition: opacity 0.25s ease;
}

.gb-filter-sheet-header,
.gb-filter-sheet-footer {
    display: none;
}

/* Subcategories Section */
.gb-subcategories-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px 14px;
    background: var(--gb-card);
    border: 1px solid var(--gb-border);
    border-radius: 16px;
    margin-top: 4px;
    margin-bottom: 8px;
    transition: all 0.2s ease;
}

.gb-subcategories-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.76rem;
}

.gb-subcategories-label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--gb-text-secondary);
    font-weight: 600;
}

.gb-active-category-tag {
    font-weight: 800;
    color: var(--gb-primary-light);
    background: var(--gb-primary-soft);
    padding: 2px 8px;
    border-radius: 12px;
}

.gb-subcategories-scroll {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 4px;
    scrollbar-width: none;
}

.gb-subcategories-scroll::-webkit-scrollbar {
    display: none;
}

.gb-subcat-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 32px;
    padding: 0 14px;
    border-radius: 18px;
    background: var(--gb-bg-subtle);
    border: 1px solid var(--gb-border);
    color: var(--gb-text-secondary);
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.16s ease;
}

.gb-subcat-btn:hover {
    border-color: var(--gb-primary);
    color: var(--gb-primary-light);
    transform: translateY(-1px);
}

.gb-subcat-btn.active {
    background: var(--gb-primary);
    border-color: var(--gb-primary);
    color: #FFFFFF;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0, 180, 216, 0.25);
}

.gb-subcat-count {
    display: inline-block;
    padding: 1px 6px;
    border-radius: 10px;
    font-size: 0.68rem;
    background: rgba(255, 255, 255, 0.12);
}

.gb-subcat-btn.active .gb-subcat-count {
    background: rgba(0, 0, 0, 0.25);
    color: #FFFFFF;
}

/* Expanded Filter Panel */
.gb-filter-expanded-panel {
    background: var(--gb-card);
    border: 1px solid var(--gb-border);
    border-radius: 16px;
    padding: 16px 18px;
    margin-bottom: 12px;
    display: block;
    transition: max-height 0.25s ease, opacity 0.25s ease;
}

.gb-filter-expanded-panel.collapsed {
    display: none;
}

.gb-filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 16px;
    align-items: flex-end;
}

.gb-filter-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.gb-filter-field-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--gb-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gb-filter-field-label i {
    color: var(--gb-primary);
    font-size: 14px;
}

.gb-filter-select-wrap {
    position: relative;
}

.gb-filter-select {
    width: 100%;
    height: 40px;
    padding: 0 12px;
    border-radius: 10px;
    background: var(--gb-bg-subtle);
    border: 1px solid var(--gb-border-strong);
    color: var(--gb-text-primary);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    outline: none;
    transition: border-color 0.18s ease;
}

.gb-filter-select:focus {
    border-color: var(--gb-primary);
}

.gb-price-input-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.gb-filter-number-input {
    width: 100%;
    min-width: 70px;
    height: 40px;
    padding: 0 10px;
    border-radius: 10px;
    background: var(--gb-bg-subtle);
    border: 1px solid var(--gb-border-strong);
    color: var(--gb-text-primary);
    font-size: 0.82rem;
    font-weight: 600;
    outline: none;
    transition: border-color 0.18s ease;
}

.gb-filter-number-input:focus {
    border-color: var(--gb-primary);
}

.gb-price-divider {
    font-size: 0.78rem;
    color: var(--gb-text-secondary);
    font-weight: 600;
    flex-shrink: 0;
}

.gb-btn-apply-price {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--gb-primary);
    color: #FFFFFF;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: opacity 0.18s ease;
}

.gb-btn-apply-price:hover {
    opacity: 0.88;
}

/* Active Filters Breadcrumbs Bar */
.gb-active-filters-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding: 10px 14px;
    background: var(--gb-card);
    border: 1px solid var(--gb-border);
    border-radius: 14px;
    margin-bottom: 14px;
}

.gb-active-filters-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.gb-active-filters-title {
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--gb-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gb-active-chips-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.gb-active-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 16px;
    background: var(--gb-primary-soft);
    border: 1px solid var(--gb-primary);
    color: var(--gb-primary-light);
    font-size: 0.76rem;
    font-weight: 700;
}

.gb-active-chip button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: inherit;
    cursor: pointer;
    padding: 0;
    font-size: 13px;
    line-height: 1;
    margin-left: 2px;
}

.gb-clear-filters-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: none;
    color: #EF4444;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 8px;
    transition: background 0.15s ease;
}

.gb-clear-filters-btn:hover {
    background: rgba(239, 68, 68, 0.1);
}

/* =============================================================================
   RESPONSIVIDADE MOBILE PARA FILTROS (Experiência Enxuta, Foco nos Produtos)
   Oculta filtros pesados no fluxo da página e exibe via Gaveta Bottom Sheet
   ============================================================================= */
@media (max-width: 768px) {
    .gb-listing-view {
        gap: 8px;
    }

    .gb-listing-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        padding: 4px 0 2px;
        flex-wrap: nowrap;
    }

    .gb-back-to-showcase-btn {
        padding: 6px 10px;
        font-size: 0.74rem;
        gap: 4px;
        border-radius: 12px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .gb-back-to-showcase-btn span {
        display: none;
    }

    .gb-back-to-showcase-btn::after {
        content: "Vitrine";
        font-weight: 700;
    }

    .gb-listing-title-wrap {
        display: flex;
        align-items: baseline;
        gap: 6px;
        min-width: 0;
        flex: 1;
        overflow: hidden;
    }

    .gb-listing-title {
        font-size: 0.95rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .gb-listing-count-badge {
        font-size: 0.68rem;
        padding: 2px 6px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .gb-filter-toggle-btn {
        height: 34px;
        padding: 0 12px;
        font-size: 0.78rem;
        gap: 6px;
        border-radius: 14px;
        background: var(--gb-primary-soft);
        border: 1px solid var(--gb-primary-border);
        color: var(--gb-primary-light);
        flex-shrink: 0;
    }

    .gb-filter-toggle-label {
        font-weight: 800;
    }

    /* Barra de Categorias Compacta */
    .gb-categories-scroll.gb-listing-cats-bar {
        padding: 2px 0 4px;
        margin: 0;
    }

    .gb-listing-cats-bar .gb-category-btn {
        padding: 5px 12px;
        font-size: 0.75rem;
        gap: 5px;
        height: 32px;
        border-radius: 16px;
    }

    /* Subcategorias no Mobile: Ocultas por padrão quando não selecionadas */
    .gb-subcategories-container {
        padding: 6px 10px;
        border-radius: 12px;
        margin: 0;
        gap: 6px;
    }

    .gb-subcategories-header {
        display: none;
    }

    .gb-subcat-btn {
        height: 28px;
        padding: 0 10px;
        font-size: 0.72rem;
    }

    /* Barra de Filtros Ativos Enxuta (Scroll Horizontal) */
    .gb-active-filters-bar {
        padding: 6px 10px;
        margin-bottom: 6px;
        border-radius: 12px;
        gap: 8px;
        align-items: center;
        overflow-x: auto;
        white-space: nowrap;
        scrollbar-width: none;
    }

    .gb-active-filters-bar::-webkit-scrollbar {
        display: none;
    }

    .gb-active-filters-left {
        gap: 6px;
        flex-wrap: nowrap;
    }

    .gb-active-filters-title {
        display: none;
    }

    .gb-active-chips-wrap {
        gap: 6px;
        flex-wrap: nowrap;
    }

    .gb-active-chip {
        padding: 3px 9px;
        font-size: 0.7rem;
        border-radius: 12px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .gb-clear-filters-btn {
        font-size: 0.7rem;
        padding: 3px 8px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    /* =========================================================================
       BOTTOM SHEET MODAL DE FILTROS NO MOBILE (Oculto por padrão para dar foco aos produtos)
       ========================================================================= */
    .gb-filter-expanded-panel {
        position: fixed !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        max-height: 84vh !important;
        background: var(--gb-bg-surface) !important;
        border: 1px solid var(--gb-border-strong) !important;
        border-bottom: none !important;
        border-radius: 24px 24px 0 0 !important;
        box-shadow: 0 -12px 48px rgba(0, 0, 0, 0.6) !important;
        z-index: 1050 !important;
        transform: translateY(105%) !important;
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
        display: flex !important;
        flex-direction: column !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: hidden !important;
    }

    .gb-filter-expanded-panel.is-open {
        transform: translateY(0) !important;
    }

    .gb-filter-expanded-panel.collapsed {
        transform: translateY(105%) !important;
        display: flex !important;
    }

    /* Header da Gaveta */
    .gb-filter-sheet-header {
        display: flex !important;
        flex-direction: column;
        padding: 12px 18px 8px;
        border-bottom: 1px solid var(--gb-border-subtle);
        background: var(--gb-bg-surface);
        flex-shrink: 0;
    }

    .gb-sheet-handle-bar {
        width: 36px;
        height: 4px;
        border-radius: 4px;
        background: var(--gb-text-muted);
        margin: 0 auto 10px;
        opacity: 0.45;
    }

    .gb-sheet-title-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .gb-sheet-title {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-size: 0.96rem;
        font-weight: 800;
        color: var(--gb-text-primary);
    }

    .gb-sheet-title i {
        color: var(--gb-primary);
        font-size: 1.1rem;
    }

    .gb-sheet-close-btn {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background: var(--gb-bg-subtle);
        border: 1px solid var(--gb-border-subtle);
        color: var(--gb-text-secondary);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
        cursor: pointer;
    }

    /* Corpo dos Filtros (Scrollável) */
    .gb-filter-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
        padding: 16px 18px 24px !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        flex: 1 1 auto !important;
    }

    .gb-filter-field {
        gap: 6px;
    }

    .gb-filter-field-label {
        font-size: 0.72rem;
    }

    .gb-condition-pills {
        display: flex;
        gap: 6px;
    }

    .gb-cond-pill {
        flex: 1;
        justify-content: center;
        padding: 8px 10px;
        font-size: 0.78rem;
    }

    /* Footer da Gaveta Fixo no Rodapé */
    .gb-filter-sheet-footer {
        display: flex !important;
        align-items: center;
        gap: 10px;
        padding: 12px 18px max(14px, env(safe-area-inset-bottom));
        border-top: 1px solid var(--gb-border-subtle);
        background: var(--gb-bg-surface);
        flex-shrink: 0;
        box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.15);
    }

    .gb-sheet-clear-btn {
        height: 44px;
        padding: 0 16px;
        border-radius: 12px;
        background: var(--gb-bg-subtle);
        color: var(--gb-text-secondary);
        font-size: 0.82rem;
        font-weight: 700;
        border: 1px solid var(--gb-border-subtle);
        display: inline-flex;
        align-items: center;
        gap: 6px;
        cursor: pointer;
    }

    .gb-sheet-apply-btn {
        flex: 1;
        height: 44px;
        border-radius: 12px;
        background: var(--gb-primary);
        color: #FFFFFF;
        font-size: 0.88rem;
        font-weight: 700;
        border: none;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        cursor: pointer;
        box-shadow: 0 4px 14px var(--gb-primary-glow);
    }

    /* Grid de Produtos com mais destaque no Mobile */
    .gb-listing-grid {
        margin-top: 2px;
        gap: 10px;
    }
}
.gb-sort-select:focus {
    outline: none;
}

/* Listing Grid */
.gb-listing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(205px, 1fr));
    gap: 16px;
}

.gb-listing-grid .gb-product-card {
    width: 100%;
    min-width: 0;
}

/* ==========================================================================
   MODAL 2: PRODUCT DETAIL SCREEN (ProductDetailScreen + ProductImages + ProductInfo + ProductOwnerInfo + CartButton)
   ========================================================================== */
.gb-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(6, 5, 10, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    animation: gbFadeIn 0.18s ease;
}

.gb-modal {
    background: var(--gb-bg-elevated);
    border: 1px solid var(--gb-border-strong);
    border-radius: 24px;
    width: 100%;
    max-height: 92vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--gb-shadow-lg);
    position: relative;
}

.gb-modal-location {
    max-width: 640px;
}

.gb-modal-product-detail {
    max-width: 980px;
}

.gb-prod-detail-topbar {
    position: absolute;
    top: 14px;
    left: 14px;
    right: 14px;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
}

.gb-detail-topbar-right {
    display: flex;
    gap: 8px;
}

.gb-detail-circle-btn {
    pointer-events: auto;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(15, 14, 22, 0.72);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.18s ease;
}

.gb-detail-circle-btn:hover {
    background: var(--gb-primary);
    border-color: var(--gb-primary);
}

.gb-prod-detail-body {
    display: grid;
    grid-template-columns: 1.08fr 1fr;
    max-height: 92vh;
    overflow-y: auto;
}

/* Left Column: ProductImages Showcase */
.gb-detail-images-col {
    background: var(--gb-bg-surface);
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    position: relative;
}

.gb-detail-main-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    max-height: 460px;
    border-radius: 18px;
    overflow: hidden;
    background: var(--gb-bg-subtle);
    border: 1px solid var(--gb-border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gb-detail-main-stage img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    cursor: zoom-in;
    transition: transform 0.25s ease;
}

.gb-detail-stage-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(13, 12, 18, 0.68);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.16);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
}

.gb-detail-stage-arrow:hover {
    background: var(--gb-primary);
}

.gb-detail-stage-arrow.prev { left: 12px; }
.gb-detail-stage-arrow.next { right: 12px; }

.gb-detail-zoom-pill {
    position: absolute;
    bottom: 14px;
    left: 14px;
    z-index: 5;
    padding: 6px 11px;
    border-radius: 20px;
    background: rgba(13, 12, 18, 0.72);
    backdrop-filter: blur(6px);
    color: #FFFFFF;
    font-size: 0.74rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.gb-detail-dots-pill {
    position: absolute;
    bottom: 14px;
    right: 14px;
    z-index: 5;
    padding: 6px 12px;
    border-radius: 30px;
    background: var(--gb-bg-elevated);
    border: 1px solid var(--gb-border-strong);
    display: flex;
    align-items: center;
    gap: 5px;
}

.gb-detail-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gb-text-muted);
    opacity: 0.35;
}

.gb-detail-dot.active {
    opacity: 1;
    background: var(--gb-text);
}

.gb-detail-thumbs-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    overflow-x: auto;
    padding: 2px 0;
}

.gb-detail-thumb-btn {
    width: 62px;
    height: 62px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid transparent;
    opacity: 0.55;
    flex-shrink: 0;
    transition: all 0.18s ease;
}

.gb-detail-thumb-btn.active,
.gb-detail-thumb-btn:hover {
    border-color: var(--gb-primary);
    opacity: 1;
}

.gb-detail-thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Right Column: ProductInfo + ProductOwnerInfo + CartButton */
.gb-detail-info-col {
    padding: 28px 26px 22px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    overflow-y: auto;
}

.gb-detail-brand {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gb-primary-light);
}

.gb-detail-title {
    font-family: var(--gb-font-heading);
    font-size: 1.48rem;
    font-weight: 800;
    line-height: 1.22;
    color: var(--gb-text);
    margin-top: 4px;
}

/* ProductAvailabilityTag + ProductConditionTag + Location row (Matches ProductInfo in product_info.dart) */
.gb-detail-tags-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.gb-availability-tag {
    padding: 6px 11px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #FFFFFF;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.gb-availability-tag.available {
    background: var(--gb-success);
}

.gb-availability-tag.unavailable {
    background: var(--gb-danger);
}

.gb-condition-tag {
    padding: 6px 11px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #FFFFFF;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.gb-condition-tag.novo {
    background: var(--gb-blue);
}

.gb-condition-tag.usado {
    background: var(--gb-warning);
}

.gb-detail-location-badge {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gb-text-secondary);
}

.gb-detail-location-badge i {
    color: var(--gb-primary-light);
    font-size: 16px;
}

/* Product Description Block */
.gb-detail-section-block {
    border-top: 1px solid var(--gb-border);
    padding-top: 14px;
}

.gb-detail-section-title {
    font-size: 0.96rem;
    font-weight: 700;
    color: var(--gb-text);
    margin-bottom: 8px;
}

.gb-detail-description {
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--gb-text-secondary);
    white-space: pre-line;
    max-height: 190px;
    overflow-y: auto;
}

/* ProductOwnerInfo Block (Matches ProductOwnerInfo in product_owner_info.dart) */
.gb-owner-card {
    background: var(--gb-surface);
    border: 1px solid var(--gb-border);
    border-radius: 16px;
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.gb-owner-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.gb-owner-avatar-ring {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    padding: 2px;
    background: linear-gradient(135deg, var(--gb-primary), #FF4FA3);
    flex-shrink: 0;
}

.gb-owner-avatar-ring img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gb-card);
}

.gb-owner-name-row {
    display: flex;
    align-items: center;
    gap: 0;
}

.gb-owner-name {
    font-family: var(--gb-font-seller);
    font-size: 1rem;
    font-weight: 700;
    color: var(--gb-text);
    line-height: 1.2;
}

.gb-owner-pro-icon {
    font-size: 18px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    margin-left: 5px;
    flex-shrink: 0;
    transform: translateY(-1.5px);
}

.gb-owner-joined {
    font-size: 0.8rem;
    color: var(--gb-text-muted);
}

.gb-owner-filter-btn {
    padding: 7px 12px;
    border-radius: 12px;
    background: var(--gb-card);
    border: 1px solid var(--gb-border-strong);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--gb-primary-light);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.15s ease;
}

.gb-owner-filter-btn:hover {
    border-color: var(--gb-primary);
    background: var(--gb-primary-soft);
}

.gb-detail-sticky-cart-wrap {
    margin-top: auto;
    width: 100%;
}

/* CartButton (Matches CartButton in lib/view/widget/store/cart_button.dart) */
.gb-cart-button {
    height: 64px;
    width: 100%;
    border-radius: var(--gb-default-radius);
    background: var(--gb-primary);
    overflow: hidden;
    display: flex;
    align-items: stretch;
    box-shadow: none;
    border: none;
    transition: opacity 0.15s ease;
}

.gb-cart-button:hover {
    transform: none;
    opacity: 0.94;
    box-shadow: none;
}

.gb-cart-price-side {
    flex: 4;
    padding: 0 18px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.gb-cart-price-val {
    font-family: var(--gb-font-heading);
    font-size: 1.22rem;
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1.15;
}

.gb-cart-price-sub {
    font-size: 0.74rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.65);
}

.gb-cart-action-side {
    flex: 3;
    background: rgba(0, 0, 0, 0.16);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 16px;
    font-family: var(--gb-font-heading);
    font-size: 0.96rem;
    font-weight: 800;
    color: #FFFFFF;
}

/* ==========================================================================
   MODAL 1: LOCATION PICKER MODAL STYLES
   ========================================================================== */
.gb-modal-header {
    padding: 18px 22px;
    border-bottom: 1px solid var(--gb-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.gb-modal-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.gb-modal-icon-badge {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--gb-primary-soft);
    color: var(--gb-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.gb-modal-title {
    font-size: 1.12rem;
    font-weight: 800;
}

.gb-modal-subtitle {
    font-size: 0.78rem;
    color: var(--gb-text-secondary);
}

.gb-modal-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gb-surface);
    color: var(--gb-text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.gb-modal-body {
    padding: 18px 22px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.gb-modal-footer {
    padding: 14px 22px;
    border-top: 1px solid var(--gb-border);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.gb-loc-quick-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.gb-loc-mode-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 14px;
    background: var(--gb-card);
    border: 1px solid var(--gb-border);
    text-align: left;
    transition: all 0.18s ease;
}

.gb-loc-mode-card:hover,
.gb-loc-mode-card.active {
    border-color: var(--gb-primary);
    background: var(--gb-primary-soft);
}

.gb-loc-mode-icon {
    font-size: 26px;
    color: var(--gb-primary);
}

.gb-loc-mode-info strong {
    display: block;
    font-size: 0.86rem;
}

.gb-loc-mode-info span {
    font-size: 0.73rem;
    color: var(--gb-text-secondary);
}

.gb-loc-controls-panel {
    background: var(--gb-card);
    border: 1px solid var(--gb-border);
    border-radius: 14px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.gb-field-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--gb-text-secondary);
    margin-bottom: 6px;
}

.gb-radius-pills,
.gb-mode-toggle-group {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.gb-radius-pill,
.gb-mode-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border-radius: 20px;
    background: var(--gb-surface);
    border: 1px solid var(--gb-border);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--gb-text-secondary);
}

.gb-radius-pill.active,
.gb-mode-pill.active {
    background: var(--gb-primary);
    border-color: var(--gb-primary);
    color: #FFFFFF;
}

.gb-active-cities-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.gb-active-city-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 11px;
    border-radius: 20px;
    background: rgba(46, 165, 102, 0.14);
    border: 1px solid rgba(46, 165, 102, 0.4);
    color: #4ADE80;
    font-size: 0.76rem;
    font-weight: 700;
}

.gb-loc-search-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.gb-select,
.gb-input {
    width: 100%;
    padding: 10px 12px;
    border-radius: 12px;
    background: var(--gb-card);
    border: 1px solid var(--gb-border-strong);
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--gb-text);
}

.gb-input-icon-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.gb-input-icon-wrap > i {
    position: absolute;
    left: 14px;
    color: var(--gb-text-muted);
    pointer-events: none;
}

.gb-input-icon-wrap .gb-input {
    padding-left: 36px;
}

.gb-loc-cities-list {
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid var(--gb-border);
    border-radius: 12px;
    background: var(--gb-card);
}

.gb-loc-city-row {
    width: 100%;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--gb-border);
    font-size: 0.85rem;
    text-align: left;
}

.gb-loc-city-row:hover,
.gb-loc-city-row.selected {
    background: var(--gb-primary-soft);
    color: var(--gb-primary-light);
}

.gb-loc-empty-hint {
    padding: 22px;
    text-align: center;
    font-size: 0.84rem;
    color: var(--gb-text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.gb-loc-empty-hint i {
    font-size: 24px;
    color: var(--gb-primary-light);
}

.gb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 10px 18px;
    border-radius: 12px;
    font-family: var(--gb-font-heading);
    font-weight: 700;
    font-size: 0.88rem;
}

.gb-btn-primary {
    background: var(--gb-primary);
    color: #FFFFFF;
}

.gb-btn-ghost {
    background: var(--gb-surface);
    color: var(--gb-text-secondary);
}

/* Lightbox */
.gb-lightbox-close {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 210;
}

.gb-lightbox-img {
    max-width: 92vw;
    max-height: 88vh;
    object-fit: contain;
    border-radius: 16px;
}

/* Toast */
.gb-toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 300;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.gb-toast {
    background: var(--gb-bg-elevated);
    border: 1px solid var(--gb-primary);
    color: var(--gb-text);
    padding: 12px 16px;
    border-radius: 14px;
    box-shadow: var(--gb-shadow-md);
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Skeletons */
.gb-skeleton {
    background: linear-gradient(90deg, var(--gb-surface) 25%, var(--gb-card-hover) 50%, var(--gb-surface) 75%);
    background-size: 200% 100%;
    animation: gbShimmer 1.5s infinite;
    border-radius: 12px;
}

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

.gb-section-skeleton { padding: 12px 0; }
.gb-skel-title { width: 180px; height: 20px; margin-bottom: 12px; }
.gb-skel-cards-row { display: flex; gap: 14px; overflow: hidden; }
.gb-skel-card { width: 200px; height: 270px; flex-shrink: 0; border-radius: 14px; }

/* Responsive */
@media (max-width: 860px) {
    .gb-prod-detail-body {
        grid-template-columns: 1fr;
    }
    .gb-detail-images-col {
        padding-top: 56px;
    }
    .gb-detail-sticky-cart-wrap,
    .gb-detail-info-col > .gb-cart-button {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 40;
        background: var(--gb-card);
        border-top: 1px solid var(--gb-border);
        padding: 10px 16px max(10px, env(safe-area-inset-bottom));
        margin: 0;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.45);
    }
    .gb-detail-sticky-cart-wrap .gb-cart-button {
        height: 56px;
        border-radius: 14px;
        box-shadow: none;
    }
    .gb-detail-info-col > .gb-cart-button {
        height: 62px;
        border-radius: 0;
        border: none;
    }
    .gb-detail-info-col {
        padding-bottom: 96px !important;
    }
    .gb-loc-quick-grid,
    .gb-loc-search-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    /* Header layout */
    .gb-header-container {
        padding: 0 12px;
    }
    .gb-header-top-row {
        gap: 6px;
    }
    .gb-brand {
        flex-shrink: 0;
        gap: 8px;
    }
    .gb-brand-icon {
        width: 30px;
        height: 30px;
        border-radius: 0;
        box-shadow: none !important;
        filter: none !important;
    }
    .gb-brand-title {
        font-size: 1.05rem;
    }
    .gb-brand-logo-v8 {
        height: 20px;
        max-width: 105px;
    }
    .gb-header-controls {
        flex: 1;
        justify-content: flex-end;
        min-width: 0;
        gap: 6px;
    }
    .gb-store-location-btn {
        max-width: 135px;
        padding: 6px 10px;
        font-size: 0.76rem;
        flex-shrink: 1;
    }
    .gb-icon-circle-btn {
        width: 34px;
        height: 34px;
        font-size: 15px;
        flex-shrink: 0;
    }

    /* Search bar */
    .gb-search-bar {
        height: 44px;
        padding: 0 12px;
    }
    .gb-search-input {
        font-size: 0.85rem;
    }

    /* Main container and section headers */
    .gb-shop-wrapper {
        padding: 0 12px;
    }
    .gb-section-header {
        margin-bottom: 10px;
        gap: 8px;
    }
    .gb-section-title {
        font-size: 1.05rem;
    }
    .gb-see-all-btn {
        font-size: 0.78rem;
        white-space: nowrap;
        flex-shrink: 0;
    }

    /* Category buttons */
    .gb-category-btn {
        padding: 7px 13px;
        font-size: 0.8rem;
        border-radius: 16px;
    }

    /* Product Cards (matches flutter minimumSize: 152x232) */
    .gb-product-card {
        width: 152px;
        min-width: 152px;
    }
    .gb-cards-scroll {
        gap: 10px;
    }
    .gb-listing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    /* Modals on Mobile: Native App Feel */
    .gb-modal-backdrop {
        padding: 0;
    }
    .gb-modal-product-detail {
        max-width: 100%;
        height: 100%;
        max-height: 100vh;
        border-radius: 0;
        border: none;
    }
    .gb-modal-location {
        max-width: 100%;
        border-radius: 24px 24px 0 0;
        border-bottom: none;
        max-height: 88vh;
        align-self: flex-end;
    }
    .gb-prod-detail-body {
        max-height: 100vh;
    }
    .gb-detail-images-col {
        padding: 12px;
        padding-top: 56px;
    }
    .gb-detail-info-col {
        padding: 16px 14px 100px;
    }
}

/* =========================================================================
 * DEDICATED PRODUCT PAGE (produto.php) STYLES
 * ========================================================================= */
.gb-product-page-main {
    max-width: 1240px;
    margin: 0 auto;
    padding: 24px 20px 80px;
}

.gb-breadcrumb-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.gb-breadcrumb-trail {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.84rem;
    color: var(--gb-text-secondary);
    flex-wrap: wrap;
}

.gb-breadcrumb-trail a {
    color: var(--gb-text-secondary);
    text-decoration: none;
    transition: color 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.gb-breadcrumb-trail a:hover {
    color: var(--gb-primary);
}

.gb-breadcrumb-trail .separator {
    opacity: 0.4;
    font-size: 0.72rem;
}

.gb-breadcrumb-trail .current {
    color: var(--gb-text);
    font-weight: 600;
    max-width: 320px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gb-back-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 12px;
    background: var(--gb-bg-elevated);
    border: 1px solid var(--gb-border);
    color: var(--gb-text);
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.18s ease;
}

.gb-back-link-btn:hover {
    border-color: var(--gb-primary);
    color: var(--gb-primary);
    transform: translateX(-2px);
}

.gb-product-page-grid {
    display: grid;
    grid-template-columns: minmax(320px, 520px) 1fr;
    gap: 36px;
    align-items: start;
    margin-bottom: 48px;
}

/* Page Gallery Card */
.gb-page-gallery-card {
    background: var(--gb-bg-surface);
    border: 1px solid var(--gb-border-subtle);
    border-radius: 20px;
    padding: 16px;
    box-shadow: var(--gb-card-shadow);
    position: sticky;
    top: 90px;
}

.gb-page-gallery-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    background: var(--gb-bg-subtle);
    border: 1px solid var(--gb-border-subtle);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
}

/* Scrims desativados para evitar linhas pretas/sombras duras sobre as imagens */
.gb-page-gallery-stage::before,
.gb-page-gallery-stage::after {
    display: none !important;
}

[data-theme="light"] .gb-page-gallery-stage {
    background: #F3F2F8;
    border-color: rgba(22, 18, 42, 0.08);
}

.gb-page-gallery-stage img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    cursor: zoom-in;
    transition: transform 0.28s ease, opacity 0.2s ease;
    position: relative;
    z-index: 2;
}

.gb-page-gallery-stage img:hover {
    transform: scale(1.03);
}

.gb-page-gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 6;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(12, 10, 18, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.24);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.gb-page-gallery-arrow:hover {
    background: var(--gb-primary);
    border-color: var(--gb-primary);
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 6px 20px var(--gb-primary-glow);
}

.gb-page-gallery-arrow.prev {
    left: 14px;
}

.gb-page-gallery-arrow.next {
    right: 14px;
}

.gb-page-gallery-counter {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 5;
    padding: 6px 12px;
    border-radius: 20px;
    background: rgba(12, 10, 18, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    color: #FFFFFF;
    font-size: 0.74rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    letter-spacing: 0.02em;
}

.gb-page-gallery-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 6px 12px;
    border-radius: 10px;
    background: rgba(245, 158, 11, 0.94);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #FFFFFF;
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    z-index: 5;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.gb-page-gallery-zoom-btn {
    position: absolute;
    bottom: 14px;
    left: 14px;
    z-index: 5;
    padding: 8px 14px;
    border-radius: 20px;
    background: rgba(12, 10, 18, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #FFFFFF;
    font-size: 0.76rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    transition: all 0.18s ease;
}

.gb-page-gallery-zoom-btn:hover {
    background: var(--gb-primary);
    border-color: var(--gb-primary);
    box-shadow: 0 6px 20px var(--gb-primary-glow);
}

.gb-page-gallery-dots {
    position: absolute;
    bottom: 14px;
    right: 14px;
    z-index: 5;
    padding: 7px 12px;
    border-radius: 30px;
    background: rgba(12, 10, 18, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    gap: 6px;
}

.gb-page-gallery-dots .gb-detail-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    opacity: 1;
    cursor: pointer;
    transition: all 0.2s ease;
}

.gb-page-gallery-dots .gb-detail-dot.active {
    width: 18px;
    border-radius: 6px;
    background: #FFFFFF;
}

.gb-page-gallery-thumbs {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
}

.gb-page-thumb-btn {
    width: 68px;
    height: 68px;
    border-radius: 12px;
    overflow: hidden;
    border: 1.5px solid var(--gb-border-subtle);
    opacity: 0.65;
    flex-shrink: 0;
    background: var(--gb-bg-subtle);
    cursor: pointer;
    padding: 0;
    transition: all 0.18s ease;
}

.gb-page-thumb-btn.active,
.gb-page-thumb-btn:hover {
    border-color: var(--gb-primary);
    opacity: 1;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--gb-primary-soft);
}

.gb-page-thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Page Product Info Card */
.gb-page-info-card {
    background: var(--gb-bg-surface);
    border: 1px solid var(--gb-border);
    border-radius: 24px;
    padding: 28px 30px;
    box-shadow: var(--gb-card-shadow);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.gb-page-meta-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.gb-page-cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gb-primary);
    background: var(--gb-primary-soft);
    border: 1px solid var(--gb-primary-border);
    padding: 5px 12px;
    border-radius: 8px;
    align-self: flex-start;
    text-decoration: none;
    transition: all 0.18s ease;
}

.gb-page-cat-pill:hover {
    background: var(--gb-primary);
    color: #FFFFFF;
}

.gb-page-title {
    font-family: var(--gb-font-heading);
    font-size: 1.85rem;
    font-weight: 800;
    line-height: 1.25;
    color: var(--gb-text);
    margin: 0;
    letter-spacing: -0.02em;
    word-break: break-word;
}

.gb-page-price-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
    padding: 8px 0 14px;
    border-bottom: 1px solid var(--gb-border);
}

.gb-page-price-val {
    font-family: var(--gb-font-heading);
    font-size: 2.35rem;
    font-weight: 900;
    color: var(--gb-primary);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.gb-page-price-badge {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--gb-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 3px 9px;
    border-radius: 6px;
    background: var(--gb-bg-elevated);
    border: 1px solid var(--gb-border);
}

.gb-page-location-bar {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gb-text-secondary);
}

.gb-page-location-bar i {
    color: var(--gb-primary);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.gb-detail-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.gb-desc-badge-cond {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 0.74rem;
    font-weight: 700;
    background: var(--gb-card);
    border: 1px solid var(--gb-border);
    color: var(--gb-primary-light);
}

[data-theme="light"] .gb-desc-badge-cond {
    color: var(--gb-primary);
}

.gb-page-description {
    font-size: 0.98rem;
    line-height: 1.75;
    color: var(--gb-text);
    word-break: break-word;
    background: var(--gb-surface);
    border: 1px solid var(--gb-border);
    border-radius: 14px;
    padding: 20px 22px;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .gb-page-description {
    color: #1E293B;
    background: #FFFFFF;
    border-color: rgba(22, 18, 42, 0.09);
}

.gb-desc-placeholder {
    color: var(--gb-text-secondary);
    font-style: italic;
    margin: 0;
    line-height: 1.6;
}

/* WhatsApp CTA Button */
.gb-whatsapp-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, #25D366 0%, #1EBE5D 100%);
    color: #FFFFFF !important;
    font-size: 1.05rem;
    font-weight: 800;
    padding: 16px 24px;
    border-radius: 16px;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.32);
    transition: all 0.22s ease;
    border: none;
    cursor: pointer;
    text-align: center;
    width: 100%;
}

.gb-whatsapp-cta-btn.is-primary-cta {
    background: linear-gradient(135deg, var(--gb-primary) 0%, var(--gb-primary-dark) 100%);
    box-shadow: 0 8px 24px var(--gb-primary-glow);
}

.gb-whatsapp-cta-btn i {
    font-size: 1.45rem;
}

.gb-whatsapp-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45);
    filter: brightness(1.05);
}

.gb-whatsapp-cta-btn.is-primary-cta:hover {
    box-shadow: 0 12px 30px var(--gb-primary-glow);
}

/* =============================================================================
   COMPACT MONOCHROMATIC SHARE BAR (Minimalist, Low Cognitive Load, High CTA Focus)
   ============================================================================= */
.gb-product-share-compact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 14px;
    background: var(--gb-surface);
    border: 1px solid var(--gb-border);
    margin-top: 4px;
    flex-wrap: wrap;
    transition: border-color 0.2s ease;
}

.gb-share-compact-left {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--gb-text-secondary);
}

.gb-share-compact-left i {
    font-size: 1rem;
    color: var(--gb-primary);
}

.gb-share-compact-actions {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.gb-share-btn-minimal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 34px;
    padding: 0 12px;
    border-radius: 10px;
    background: var(--gb-card);
    border: 1px solid var(--gb-border);
    color: var(--gb-text-secondary);
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.gb-share-btn-minimal.icon-only {
    width: 34px;
    padding: 0;
    font-size: 1rem;
}

.gb-share-btn-minimal:hover {
    color: var(--gb-text);
    border-color: var(--gb-primary);
    background: var(--gb-card-hover);
    transform: translateY(-1px);
}

.gb-share-btn-minimal.copy {
    background: rgba(138, 79, 255, 0.12);
    border-color: rgba(138, 79, 255, 0.35);
    color: var(--gb-primary);
}

.gb-share-btn-minimal.copy:hover {
    background: var(--gb-primary);
    border-color: var(--gb-primary);
    color: #FFFFFF;
}

.gb-copy-pill-toast {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.74rem;
    font-weight: 700;
    color: #4ADE80;
    background: rgba(74, 222, 128, 0.12);
    border: 1px solid rgba(74, 222, 128, 0.3);
    padding: 3px 9px;
    border-radius: 8px;
    animation: gbFadeIn 0.2s ease;
}

/* =============================================================================
   ENHANCED ADVERTISER TRUST SIGNALS (Cover, Avatar, Trust Badges)
   ============================================================================= */
.gb-owner-card-enhanced {
    background: var(--gb-surface);
    border: 1px solid var(--gb-border);
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 22px rgba(0, 0, 0, 0.12);
}

.gb-owner-cover-banner {
    position: relative;
    width: 100%;
    height: 110px;
    overflow: hidden;
    background: #141122;
}

@media (min-width: 768px) {
    .gb-owner-cover-banner {
        height: 130px;
    }
}

.gb-owner-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gb-owner-cover-fallback {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1C1635 0%, #0D0C12 50%, #291C52 100%);
    background-image:
        radial-gradient(at 15% 25%, rgba(138, 79, 255, 0.45) 0px, transparent 55%),
        radial-gradient(at 85% 75%, rgba(236, 72, 153, 0.35) 0px, transparent 50%),
        linear-gradient(135deg, #161226 0%, #0D0C12 100%);
}

.gb-owner-cover-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(13, 12, 18, 0) 40%, rgba(13, 12, 18, 0.45) 100%);
    pointer-events: none;
}

.gb-owner-card-inner {
    padding: 0 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
    background: var(--gb-surface);
}

.gb-owner-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    position: relative;
    padding-top: 10px;
}

.gb-owner-avatar-container {
    margin-top: -46px; /* Apenas o avatar sobrepõe a capa */
    flex-shrink: 0;
    position: relative;
    z-index: 3;
}

.gb-owner-avatar-ring {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(135deg, var(--gb-primary), #A855F7, #EC4899);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--gb-surface);
}

.gb-owner-avatar-ring img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background: var(--gb-card);
    display: block;
}

.gb-owner-header-left {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    flex: 1;
}

.gb-owner-info-col {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    flex: 1;
}

.gb-owner-name-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.gb-owner-name {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--gb-text);
    letter-spacing: -0.01em;
    line-height: 1.25;
}

[data-theme="light"] .gb-owner-name {
    color: #0F172A;
}

.gb-seller-badge-verified {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 6px;
    background: rgba(59, 130, 246, 0.14);
    border: 1px solid rgba(59, 130, 246, 0.35);
    color: #60A5FA;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.gb-seller-badge-verified i {
    font-size: 0.82rem;
}

.gb-owner-meta-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.76rem;
    color: var(--gb-text-secondary);
}

.gb-owner-joined {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* Reputation & Rating Bar */
.gb-seller-reputation-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 12px;
    background: var(--gb-card);
    border: 1px solid var(--gb-border);
    flex-wrap: wrap;
}

.gb-seller-rating-box {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
}

.gb-seller-stars {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    color: #FBBF24;
    font-size: 0.84rem;
}

.gb-seller-score {
    font-weight: 800;
    color: var(--gb-text);
}

.gb-seller-reviews-count {
    color: var(--gb-text-secondary);
    font-size: 0.74rem;
    font-weight: 600;
}

.gb-seller-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #34D399;
    background: rgba(52, 211, 153, 0.12);
    border: 1px solid rgba(52, 211, 153, 0.28);
    padding: 3px 8px;
    border-radius: 6px;
}

/* Trust Grid (Sinais Objetivos de Confiabilidade - 2 Colunas) */
.gb-seller-trust-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

@media (max-width: 580px) {
    .gb-seller-trust-grid {
        grid-template-columns: 1fr;
    }
}

.gb-trust-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 10px;
    background: var(--gb-card);
    border: 1px solid var(--gb-border);
}

.gb-trust-item i {
    font-size: 1.15rem;
    color: var(--gb-primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.gb-trust-item div {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.gb-trust-item strong {
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--gb-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gb-trust-item span {
    font-size: 0.68rem;
    color: var(--gb-text-secondary);
    line-height: 1.25;
}

/* Specs Table */
.gb-specs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.gb-specs-table tr {
    border-bottom: 1px solid var(--gb-border);
}

.gb-specs-table tr:last-child {
    border-bottom: none;
}

.gb-specs-table td {
    padding: 11px 0;
}

.gb-specs-table td.label {
    color: var(--gb-text-secondary);
    width: 40%;
    font-weight: 500;
}

.gb-specs-table td.value {
    color: var(--gb-text);
    font-weight: 700;
}

/* Fullscreen Lightbox for Product Page */
.gb-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 600;
    background: rgba(6, 5, 10, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    align-items: center;
    justify-content: center;
    padding: 24px;
    user-select: none;
}

.gb-lightbox.active {
    display: flex;
    animation: gbFadeIn 0.2s ease;
}

.gb-lightbox .gb-lightbox-close {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 610;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.gb-lightbox .gb-lightbox-close:hover {
    background: var(--gb-primary);
    border-color: var(--gb-primary);
    transform: scale(1.06);
}

.gb-lightbox-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 610;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.gb-lightbox-nav:hover {
    background: var(--gb-primary);
    border-color: var(--gb-primary);
    transform: translateY(-50%) scale(1.08);
}

.gb-lightbox-nav.prev {
    left: 20px;
}

.gb-lightbox-nav.next {
    right: 20px;
}

.gb-lightbox-counter {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 610;
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(15, 14, 22, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #FFFFFF;
    font-size: 0.84rem;
    font-weight: 700;
}

.gb-not-found-card {
    text-align: center;
    padding: 60px 24px;
    background: var(--gb-bg-surface);
    border: 1px solid var(--gb-border);
    border-radius: 24px;
    max-width: 580px;
    margin: 40px auto;
    box-shadow: var(--gb-card-shadow);
}

.gb-not-found-card i {
    font-size: 3.5rem;
    color: var(--gb-primary);
    margin-bottom: 16px;
}

.gb-not-found-card h2 {
    font-family: var(--gb-font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--gb-text);
}

.gb-not-found-card p {
    color: var(--gb-text-secondary);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

/* =========================================================================
 * DEDICATED PRODUCT PAGE (produto.php) - REGRAS MOBILE & STICKY BOTTOM BAR
 * ========================================================================= */

/* Barra Fixa Inferior Mobile (Oculta por padrão no Desktop) */
.gb-mobile-bottom-bar {
    display: none;
}

@media (max-width: 992px) {
    .gb-product-page-main {
        width: 100%;
        max-width: 100vw;
        padding: 16px 14px 115px;
        box-sizing: border-box;
        overflow-x: hidden;
    }

    .gb-product-page-grid {
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        gap: 20px;
        margin-bottom: 32px;
        box-sizing: border-box;
    }

    .gb-page-gallery-card {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        position: static;
        padding: 12px;
        border-radius: 20px;
        box-sizing: border-box;
        overflow: hidden;
    }

    .gb-page-gallery-stage {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        aspect-ratio: 1 / 1;
        height: auto;
        border-radius: 16px;
        touch-action: pan-y;
        box-sizing: border-box;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .gb-page-gallery-stage img {
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100%;
        min-width: 0;
        min-height: 0;
        object-fit: contain;
        object-position: center;
        display: block;
        margin: auto;
    }

    .gb-page-info-card {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding: 22px 18px;
        border-radius: 20px;
        gap: 18px;
        box-sizing: border-box;
    }

    .gb-page-title {
        font-size: 1.55rem;
    }

    .gb-page-price-val {
        font-size: 2rem;
    }

    /* Barra Fixa Inferior Ativa no Mobile */
    .gb-mobile-bottom-bar {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 150;
        background: rgba(14, 13, 20, 0.92);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-top: 1px solid var(--gb-border);
        box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.55);
        padding: 10px 16px max(10px, env(safe-area-inset-bottom));
        animation: gbSlideUpBar 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    }

    [data-theme="light"] .gb-mobile-bottom-bar {
        background: rgba(255, 255, 255, 0.95);
        box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.12);
    }

    .gb-mobile-bottom-bar-inner {
        max-width: 600px;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }

    .gb-mobile-bottom-price {
        display: flex;
        flex-direction: column;
        min-width: 0;
    }

    .gb-mobile-price-val {
        font-family: var(--gb-font-heading);
        font-size: 1.35rem;
        font-weight: 900;
        color: var(--gb-primary);
        letter-spacing: -0.02em;
        line-height: 1.1;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .gb-mobile-price-status {
        display: flex;
        align-items: center;
        gap: 5px;
        font-size: 0.72rem;
        font-weight: 700;
        color: var(--gb-text-secondary);
        text-transform: uppercase;
        letter-spacing: 0.03em;
        margin-top: 2px;
    }

    .gb-mobile-cond-badge {
        background: rgba(245, 158, 11, 0.18);
        border: 1px solid rgba(245, 158, 11, 0.38);
        color: #F59E0B;
        padding: 1px 5px;
        border-radius: 4px;
        font-size: 0.65rem;
    }

    .gb-mobile-bottom-action {
        flex: 1;
        display: flex;
        justify-content: flex-end;
        max-width: 220px;
    }

    .gb-mobile-cta-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
        height: 46px;
        padding: 0 16px;
        border-radius: 14px;
        font-size: 0.94rem;
        font-weight: 800;
        text-decoration: none;
        box-sizing: border-box;
        border: none;
        cursor: pointer;
        transition: transform 0.15s ease, filter 0.15s ease;
        white-space: nowrap;
    }

    .gb-mobile-cta-btn:active {
        transform: scale(0.97);
    }

    .gb-mobile-cta-btn.is-whatsapp {
        background: linear-gradient(135deg, #25D366 0%, #1EBE5D 100%);
        color: #FFFFFF !important;
        box-shadow: 0 4px 16px rgba(37, 211, 102, 0.38);
    }

    .gb-mobile-cta-btn.is-primary {
        background: linear-gradient(135deg, var(--gb-primary) 0%, var(--gb-primary-dark) 100%);
        color: #FFFFFF !important;
        box-shadow: 0 4px 16px var(--gb-primary-glow);
    }

    .gb-mobile-cta-btn i {
        font-size: 1.25rem;
    }
}

@keyframes gbSlideUpBar {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@media (max-width: 560px) {
    .gb-product-page-main {
        padding: 10px 12px 115px;
    }

    /* Breadcrumbs limpos no mobile */
    .gb-breadcrumb-nav {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        margin-bottom: 14px;
    }

    .gb-breadcrumb-trail {
        display: flex;
        align-items: center;
        gap: 6px;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 3px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        font-size: 0.78rem;
    }

    .gb-breadcrumb-trail::-webkit-scrollbar {
        display: none;
    }

    .gb-breadcrumb-trail .current {
        max-width: 160px;
        flex-shrink: 0;
    }

    .gb-back-links-group {
        display: flex;
        width: 100%;
        gap: 6px;
    }

    .gb-back-link-btn {
        flex: 1;
        justify-content: center;
        padding: 7px 10px;
        font-size: 0.76rem;
        border-radius: 10px;
    }

    /* Galeria touch ultra responsiva */
    .gb-page-gallery-card {
        padding: 8px;
        border-radius: 18px;
    }

    .gb-page-gallery-stage {
        border-radius: 14px;
    }

    .gb-page-gallery-arrow {
        width: 36px;
        height: 36px;
        font-size: 17px;
    }

    .gb-page-gallery-arrow.prev {
        left: 8px;
    }

    .gb-page-gallery-arrow.next {
        right: 8px;
    }

    .gb-page-gallery-tag {
        top: 8px;
        left: 8px;
        padding: 4px 8px;
        font-size: 0.68rem;
        border-radius: 6px;
    }

    .gb-page-gallery-counter {
        top: 8px;
        right: 8px;
        padding: 4px 9px;
        font-size: 0.68rem;
        border-radius: 14px;
    }

    .gb-page-gallery-zoom-btn {
        bottom: 8px;
        left: 8px;
        padding: 6px 10px;
        font-size: 0.7rem;
        border-radius: 14px;
    }

    .gb-page-gallery-dots {
        bottom: 8px;
        right: 8px;
        padding: 5px 9px;
    }

    .gb-page-gallery-thumbs {
        gap: 8px;
        margin-top: 10px;
        padding-bottom: 2px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .gb-page-gallery-thumbs::-webkit-scrollbar {
        display: none;
    }

    .gb-page-thumb-btn {
        width: 54px;
        height: 54px;
        border-radius: 10px;
    }

    /* Card de Informações e Tipografia */
    .gb-page-info-card {
        padding: 16px 14px;
        border-radius: 18px;
        gap: 16px;
    }

    .gb-page-title {
        font-size: 1.32rem;
        line-height: 1.25;
    }

    .gb-page-price-val {
        font-size: 1.75rem;
    }

    .gb-page-location-bar {
        font-size: 0.82rem;
    }

    .gb-whatsapp-cta-btn {
        padding: 13px 18px;
        font-size: 0.98rem;
        border-radius: 14px;
    }

    /* Compartilhamento Mobile */
    .gb-product-share-compact {
        padding: 8px 10px;
        border-radius: 12px;
        gap: 8px;
    }

    .gb-share-compact-left {
        font-size: 0.74rem;
    }

    .gb-share-compact-actions {
        gap: 4px;
    }

    .gb-share-btn-minimal {
        height: 32px;
        padding: 0 8px;
        font-size: 0.74rem;
        border-radius: 8px;
    }

    .gb-share-btn-minimal.icon-only {
        width: 32px;
    }

    /* Card do Anunciante Mobile */
    .gb-owner-card-enhanced {
        border-radius: 16px;
    }

    .gb-owner-cover-banner {
        height: 90px;
    }

    .gb-owner-card-inner {
        padding: 0 12px 14px;
        gap: 12px;
    }

    .gb-owner-avatar-container {
        margin-top: -32px;
    }

    .gb-owner-avatar-ring {
        width: 58px;
        height: 58px;
    }

    .gb-owner-header {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding-top: 6px;
    }

    .gb-owner-header-left {
        width: 100%;
        gap: 10px;
    }

    .gb-owner-name {
        font-size: 1.02rem;
    }

    .gb-owner-filter-btn {
        width: 100%;
        justify-content: center;
        padding: 8px 12px;
        font-size: 0.78rem;
        border-radius: 10px;
        box-sizing: border-box;
    }

    .gb-seller-trust-grid {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .gb-trust-item {
        padding: 6px 9px;
        border-radius: 8px;
    }

    .gb-trust-item strong {
        font-size: 0.74rem;
    }

    .gb-trust-item span {
        font-size: 0.66rem;
    }

    /* Descrição e Ficha Técnica */
    .gb-page-description {
        padding: 14px 12px;
        font-size: 0.88rem;
        line-height: 1.6;
        border-radius: 12px;
    }

    .gb-specs-table td {
        padding: 8px 0;
        font-size: 0.8rem;
    }

    .gb-specs-table td.label {
        width: 45%;
    }

    .gb-disclaimer-notice {
        padding: 12px 12px;
        border-radius: 12px;
        gap: 10px;
    }

    .gb-disclaimer-notice-icon {
        font-size: 1.2rem;
    }

    .gb-disclaimer-title {
        font-size: 0.78rem;
    }

    .gb-disclaimer-text {
        font-size: 0.74rem;
        line-height: 1.4;
    }

    /* Lightbox Mobile */
    .gb-lightbox {
        padding: 12px;
    }

    .gb-lightbox .gb-lightbox-close {
        top: 14px;
        right: 14px;
        width: 40px;
        height: 40px;
        font-size: 19px;
    }

    .gb-lightbox-nav {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }

    .gb-lightbox-nav.prev {
        left: 8px;
    }

    .gb-lightbox-nav.next {
        right: 8px;
    }

    .gb-lightbox-counter {
        bottom: 14px;
        font-size: 0.74rem;
        padding: 4px 12px;
    }

    .gb-lightbox-img {
        max-width: 96vw;
        max-height: 80vh;
        border-radius: 12px;
    }

    /* Produtos Relacionados Mobile */
    .gb-store-product-section {
        margin-top: 28px !important;
    }

    .gb-section-heading {
        font-size: 1.15rem;
    }

    .gb-products-horizontal-list {
        gap: 10px;
        padding: 2px 2px 8px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .gb-products-horizontal-list .gb-product-card {
        width: 175px;
        min-width: 175px;
        padding: 7px;
        border-radius: 14px;
        scroll-snap-align: start;
    }

    .gb-products-horizontal-list .gb-product-card-media {
        border-radius: 10px;
    }

    .gb-products-horizontal-list .gb-card-title {
        font-size: 0.8rem;
        height: 2.4em;
    }

    .gb-products-horizontal-list .gb-card-price {
        font-size: 0.96rem;
    }
}

/* =========================================================================
 * DISCLAIMER NOTICE & FOOTER STYLES
 * ========================================================================= */
.gb-disclaimer-notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 14px;
    background: var(--gb-primary-soft);
    border: 1px solid var(--gb-primary-border);
    margin-top: 4px;
}

.gb-disclaimer-notice-icon {
    font-size: 1.35rem;
    color: var(--gb-primary);
    flex-shrink: 0;
    line-height: 1;
    margin-top: 1px;
}

.gb-disclaimer-notice-content {
    flex: 1;
    font-size: 0.81rem;
    line-height: 1.48;
}

.gb-disclaimer-title {
    display: block;
    font-weight: 800;
    color: var(--gb-primary-light);
    margin-bottom: 3px;
    letter-spacing: -0.01em;
}

[data-theme="light"] .gb-disclaimer-title {
    color: var(--gb-primary);
}

.gb-disclaimer-text {
    margin: 0;
    color: var(--gb-text-secondary);
}

/* Global Footer */
.gb-footer {
    border-top: 1px solid var(--gb-border);
    background: var(--gb-bg-surface);
    padding: 44px 20px 32px;
    margin-top: 60px;
    width: 100%;
}

.gb-footer-container {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.gb-footer-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 32px;
}

.gb-footer-brand {
    max-width: 420px;
}

.gb-footer-brand p {
    margin-top: 12px;
    font-size: 0.86rem;
    color: var(--gb-text-secondary);
    line-height: 1.5;
}

.gb-footer-disclaimer-box {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: var(--gb-bg-elevated);
    border: 1px solid var(--gb-border);
    border-radius: 14px;
    padding: 16px 20px;
    font-size: 0.82rem;
    color: var(--gb-text-secondary);
    line-height: 1.5;
    max-width: 620px;
}

.gb-footer-disclaimer-box i {
    font-size: 1.4rem;
    color: var(--gb-primary);
    flex-shrink: 0;
    margin-top: 1px;
}

.gb-footer-tagline {
    margin-top: 12px;
    font-size: 0.86rem;
    color: var(--gb-text-secondary);
    line-height: 1.5;
}

.gb-footer-links-wrap {
    display: flex;
    align-items: flex-start;
    gap: 48px;
    flex-wrap: wrap;
}

.gb-footer-links-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.gb-footer-group-title {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--gb-text-muted);
}

.gb-footer-links-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gb-footer-links-list a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.84rem;
    color: var(--gb-text-secondary);
    text-decoration: none;
    transition: color 0.15s ease, transform 0.15s ease;
}

.gb-footer-links-list a:hover {
    color: var(--gb-primary);
    transform: translateX(2px);
}

.gb-footer-links-list a i {
    font-size: 0.95rem;
    color: var(--gb-text-muted);
    transition: color 0.15s ease;
}

.gb-footer-links-list a:hover i {
    color: var(--gb-primary);
}

.gb-store-disclaimer-section {
    padding: 32px 0 8px;
    width: 100%;
}

.gb-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid var(--gb-border-subtle);
    padding-top: 20px;
    font-size: 0.78rem;
    color: var(--gb-text-muted);
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .gb-footer-top {
        flex-direction: column;
        gap: 24px;
    }
    .gb-footer-brand,
    .gb-footer-disclaimer-box {
        max-width: 100%;
    }
    .gb-footer-links-wrap {
        gap: 24px 36px;
        width: 100%;
    }
    .gb-footer {
        padding: 32px 16px 28px;
        margin-top: 40px;
    }
}

/* =============================================================================
   HEADER ACTIONS (ANUNCIAR, ENTRAR, MINHA CONTA)
   ============================================================================= */
.gb-header-btn-anunciar {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 38px;
    padding: 0 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--gb-primary) 0%, #6E32E3 100%);
    color: #FFFFFF !important;
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(138, 79, 255, 0.35);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    border: none;
}

.gb-header-btn-anunciar:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(138, 79, 255, 0.5);
    color: #FFFFFF !important;
}

.gb-header-btn-anunciar i {
    font-size: 1.15rem;
}

.gb-header-btn-login {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: var(--gb-bg-elevated);
    border: 1px solid var(--gb-border);
    color: var(--gb-text) !important;
    font-size: 0.84rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.gb-header-btn-login:hover {
    border-color: var(--gb-primary);
    color: var(--gb-primary) !important;
    background: var(--gb-primary-soft);
}

.gb-user-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 38px;
    padding: 0 12px 0 6px;
    border-radius: 999px;
    background: var(--gb-bg-elevated);
    border: 1px solid var(--gb-border);
    color: var(--gb-text) !important;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    max-width: 160px;
}

.gb-user-nav-btn:hover {
    border-color: var(--gb-primary);
}

.gb-user-nav-thumb {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid var(--gb-primary);
}

.gb-user-nav-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gb-header-btn-logout {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--gb-bg-elevated);
    border: 1px solid var(--gb-border);
    color: var(--gb-text-muted);
    transition: all 0.2s ease;
    cursor: pointer;
    text-decoration: none;
}

.gb-header-btn-logout:hover {
    color: #FF5A5A;
    border-color: rgba(255, 90, 90, 0.4);
    background: rgba(255, 90, 90, 0.1);
}

@media (max-width: 540px) {
    .gb-header-btn-anunciar span {
        display: none;
    }
    .gb-header-btn-anunciar {
        width: 36px;
        height: 36px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }
    .gb-header-btn-login span {
        display: none;
    }
    .gb-header-btn-login {
        width: 36px;
        height: 36px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }
    .gb-user-nav-btn .gb-user-nav-label {
        display: none;
    }
    .gb-user-nav-btn {
        padding: 0;
        width: 36px;
        height: 36px;
        justify-content: center;
        border-radius: 50%;
    }
}

/* =============================================================================
   PÁGINAS DE AUTH & CADASTRO (DESIGN SYSTEM)
   ============================================================================= */
.gb-auth-page-body,
.gb-product-create-body {
    min-height: 100vh;
    background: var(--gb-bg);
    color: var(--gb-text);
    position: relative;
    overflow-x: hidden;
}

.gb-auth-bg-decor {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.gb-auth-glow {
    position: absolute;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
}

.gb-auth-glow-1 {
    top: -100px;
    left: 10%;
    background: #8A4FFF;
}

.gb-auth-glow-2 {
    bottom: -100px;
    right: 10%;
    background: #FF6600;
}

/* Auth Header */
.gb-auth-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--gb-header-bg);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--gb-border);
    padding: 12px 20px;
}

.gb-auth-header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.gb-auth-header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.gb-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--gb-text-secondary);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.18s ease;
}

.gb-back-link:hover {
    color: var(--gb-primary);
}

/* Auth Card */
.gb-auth-main {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 70px);
    padding: 40px 16px;
}

.gb-auth-card {
    width: 100%;
    max-width: 460px;
    background: var(--gb-bg-surface);
    border: 1px solid var(--gb-border);
    border-radius: 24px;
    padding: 36px 32px;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4);
    position: relative;
    transition: max-width 0.25s ease;
}

.gb-auth-card.is-logged-in {
    max-width: 820px;
}

.gb-auth-brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(138, 79, 255, 0.12);
    border: 1px solid rgba(138, 79, 255, 0.3);
    color: var(--gb-primary);
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 18px;
}

.gb-auth-title {
    font-family: 'Urbanist', var(--gb-font);
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--gb-text);
    margin: 0 0 8px;
    letter-spacing: -0.02em;
}

.gb-auth-subtitle {
    font-size: 0.9rem;
    color: var(--gb-text-secondary);
    line-height: 1.5;
    margin: 0 0 24px;
}

/* Auth Feedback Alert */
.gb-auth-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.86rem;
    margin-bottom: 20px;
    line-height: 1.4;
}

.gb-auth-alert.is-error {
    background: rgba(255, 90, 90, 0.12);
    border: 1px solid rgba(255, 90, 90, 0.35);
    color: #FF7070;
}

.gb-auth-alert.is-success {
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.35);
    color: #4ADE80;
}

.gb-auth-alert i {
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* Auth Logged-in State Box */
.gb-auth-logged-box {
    text-align: center;
}

.gb-auth-avatar-wrap {
    position: relative;
    width: 90px;
    height: 90px;
    margin: 0 auto 18px;
}

.gb-auth-user-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--gb-primary);
    box-shadow: 0 8px 24px rgba(138, 79, 255, 0.35);
}

.gb-auth-user-avatar-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--gb-bg-elevated);
    border: 3px solid var(--gb-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--gb-text-muted);
}

.gb-auth-badge-pro {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #FFD700;
    color: #1A1824;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    border: 2px solid var(--gb-bg-surface);
}

.gb-auth-username {
    color: var(--gb-primary);
    font-weight: 600;
}

.gb-auth-logged-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}

/* Forms General Styles */
.gb-form-group {
    margin-bottom: 20px;
}

.gb-form-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gb-text);
    margin-bottom: 8px;
}

.gb-required {
    color: #FF5A5A;
}

.gb-char-counter {
    font-size: 0.74rem;
    color: var(--gb-text-muted);
    font-weight: 500;
}

.gb-input-icon-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.gb-input-icon-left {
    position: absolute;
    left: 14px;
    font-size: 1.15rem;
    color: var(--gb-text-muted);
    pointer-events: none;
}

.gb-whatsapp-accent {
    color: #25D366 !important;
}

.gb-input-prefix-text {
    position: absolute;
    left: 14px;
    font-weight: 800;
    color: var(--gb-primary);
    font-size: 0.92rem;
    pointer-events: none;
}

.gb-form-input {
    width: 100%;
    height: 48px;
    border-radius: 14px;
    background: var(--gb-bg-elevated);
    border: 1px solid var(--gb-border);
    color: var(--gb-text);
    font-family: inherit;
    font-size: 0.92rem;
    padding: 0 16px 0 42px;
    outline: none;
    transition: all 0.2s ease;
}

.gb-input-currency {
    padding-left: 48px !important;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--gb-primary);
}

.gb-input-password {
    padding-right: 44px;
}

.gb-form-input:focus,
.gb-form-textarea:focus,
.gb-form-select:focus {
    border-color: var(--gb-primary);
    background: var(--gb-bg-surface);
    box-shadow: 0 0 0 3px rgba(138, 79, 255, 0.2);
}

.gb-password-toggle-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: none;
    border: none;
    color: var(--gb-text-muted);
    cursor: pointer;
    font-size: 1.15rem;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 0.18s ease, background 0.18s ease;
    z-index: 2;
}

.gb-password-toggle-btn i {
    position: static !important;
    left: auto !important;
    pointer-events: none;
}

.gb-password-toggle-btn:hover {
    color: var(--gb-text);
    background: rgba(255, 255, 255, 0.06);
}

.gb-form-textarea {
    width: 100%;
    border-radius: 14px;
    background: var(--gb-bg-elevated);
    border: 1px solid var(--gb-border);
    color: var(--gb-text);
    font-family: inherit;
    font-size: 0.92rem;
    padding: 14px 16px;
    outline: none;
    resize: vertical;
    transition: all 0.2s ease;
    line-height: 1.5;
}

.gb-select-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.gb-form-select {
    width: 100%;
    height: 48px;
    border-radius: 14px;
    background: var(--gb-bg-elevated);
    border: 1px solid var(--gb-border);
    color: var(--gb-text);
    font-family: inherit;
    font-size: 0.92rem;
    padding: 0 40px 0 16px;
    outline: none;
    appearance: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.gb-form-select:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.gb-select-arrow {
    position: absolute;
    right: 14px;
    font-size: 1rem;
    color: var(--gb-text-muted);
    pointer-events: none;
}

.gb-form-help-text {
    display: block;
    font-size: 0.76rem;
    color: var(--gb-text-muted);
    margin-top: 6px;
}

.gb-form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 640px) {
    .gb-form-row-2 {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* Condition Selector (Pills) */
.gb-condition-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    height: 48px;
}

.gb-condition-option {
    position: relative;
    cursor: pointer;
}

.gb-condition-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.gb-condition-pill {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 14px;
    background: var(--gb-bg-elevated);
    border: 1px solid var(--gb-border);
    color: var(--gb-text-secondary);
    font-size: 0.86rem;
    font-weight: 700;
    transition: all 0.18s ease;
}

.gb-condition-option input:checked + .gb-condition-pill {
    background: rgba(138, 79, 255, 0.16);
    border-color: var(--gb-primary);
    color: var(--gb-primary);
    box-shadow: 0 0 0 1px var(--gb-primary);
}

/* Buttons */
.gb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 46px;
    padding: 0 20px;
    border-radius: 14px;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
}

.gb-btn-lg {
    height: 52px;
    font-size: 0.98rem;
    border-radius: 16px;
}

.gb-btn-sm {
    height: 36px;
    font-size: 0.8rem;
    padding: 0 14px;
    border-radius: 10px;
}

.gb-btn-block {
    width: 100%;
}

.gb-btn-primary {
    background: linear-gradient(135deg, var(--gb-primary) 0%, #6E32E3 100%);
    color: #FFFFFF !important;
    box-shadow: 0 6px 20px rgba(138, 79, 255, 0.4);
}

.gb-btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(138, 79, 255, 0.55);
}

.gb-btn-secondary {
    background: var(--gb-bg-elevated);
    border: 1px solid var(--gb-border);
    color: var(--gb-text) !important;
}

.gb-btn-secondary:hover:not(:disabled) {
    border-color: var(--gb-text-secondary);
    background: var(--gb-bg-surface);
}

.gb-btn-danger-outline {
    background: transparent;
    border: 1px solid rgba(255, 90, 90, 0.4);
    color: #FF5A5A !important;
}

.gb-btn-danger-outline:hover:not(:disabled) {
    background: rgba(255, 90, 90, 0.12);
}

.gb-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none !important;
}

.gb-btn-text,
.gb-btn-spinner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.gb-spin {
    animation: gbSpin 0.9s linear infinite;
}

@keyframes gbSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.gb-auth-footer-help {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--gb-border-subtle);
    font-size: 0.8rem;
    color: var(--gb-text-muted);
    line-height: 1.45;
}

.gb-auth-footer-help i {
    font-size: 1.1rem;
    color: var(--gb-primary);
    flex-shrink: 0;
    margin-top: 1px;
}

/* =============================================================================
   TELA DE CADASTRO DE PRODUTO
   ============================================================================= */
.gb-header-compact {
    padding: 12px 0;
}

.gb-user-nav-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px 4px 6px;
    border-radius: 999px;
    background: var(--gb-bg-elevated);
    border: 1px solid var(--gb-border);
}

.gb-user-nav-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    object-fit: cover;
}

.gb-user-nav-avatar-fallback {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--gb-bg-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: var(--gb-text-muted);
}

.gb-user-nav-name {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--gb-text);
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gb-header-logout-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 12px;
    border-radius: 999px;
    background: transparent;
    border: 1px solid var(--gb-border);
    color: var(--gb-text-secondary);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.gb-header-logout-btn:hover {
    color: #FF5A5A;
    border-color: rgba(255, 90, 90, 0.4);
    background: rgba(255, 90, 90, 0.08);
}

.gb-create-main {
    padding: 32px 16px 80px;
}

.gb-create-container {
    max-width: 860px;
    margin: 0 auto;
}

.gb-create-breadcrumb {
    margin-bottom: 24px;
}

.gb-create-heading-block {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}

.gb-create-heading-icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(138, 79, 255, 0.2) 0%, rgba(138, 79, 255, 0.05) 100%);
    border: 1px solid rgba(138, 79, 255, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--gb-primary);
    flex-shrink: 0;
}

.gb-create-page-title {
    font-family: 'Urbanist', var(--gb-font);
    font-size: 2rem;
    font-weight: 800;
    color: var(--gb-text);
    margin: 0 0 6px;
    letter-spacing: -0.02em;
}

.gb-create-page-subtitle {
    font-size: 0.92rem;
    color: var(--gb-text-secondary);
    margin: 0;
    line-height: 1.45;
}

/* Cards de Seções do Formulário */
.gb-create-card {
    background: var(--gb-bg-surface);
    border: 1px solid var(--gb-border);
    border-radius: 24px;
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.gb-create-card-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--gb-border-subtle);
}

.gb-create-step-badge {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gb-primary);
    color: #FFFFFF;
    font-weight: 800;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.gb-create-section-title {
    font-family: 'Urbanist', var(--gb-font);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--gb-text);
    margin: 0 0 4px;
}

.gb-create-section-desc {
    font-size: 0.84rem;
    color: var(--gb-text-secondary);
    margin: 0;
}

/* Upload Dropzone */
.gb-upload-area {
    border: 2px dashed var(--gb-border);
    border-radius: 18px;
    background: var(--gb-bg-elevated);
    padding: 36px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.gb-upload-area:hover,
.gb-upload-area.is-dragover {
    border-color: var(--gb-primary);
    background: rgba(138, 79, 255, 0.05);
}

.gb-upload-file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.gb-upload-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.gb-upload-icon-circle {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: rgba(138, 79, 255, 0.12);
    color: var(--gb-primary);
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gb-upload-text-wrap {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.gb-upload-primary-text {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--gb-text);
}

.gb-upload-secondary-text {
    font-size: 0.8rem;
    color: var(--gb-text-muted);
}

/* Preview Grid */
.gb-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 12px;
    margin-top: 20px;
}

.gb-preview-item {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 14px;
    overflow: hidden;
    background: #000;
    border: 1px solid var(--gb-border);
}

.gb-preview-item.is-primary {
    border: 2px solid var(--gb-primary);
    box-shadow: 0 4px 14px rgba(138, 79, 255, 0.35);
}

.gb-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gb-preview-primary-badge {
    position: absolute;
    bottom: 6px;
    left: 6px;
    background: var(--gb-primary);
    color: #FFFFFF;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 3px 6px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.gb-preview-remove-btn {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    color: #FF5A5A;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.18s ease;
}

.gb-preview-remove-btn:hover {
    background: #FF5A5A;
    color: #FFFFFF;
    transform: scale(1.1);
}

/* Terms Notice */
.gb-terms-notice {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: var(--gb-bg-elevated);
    border: 1px solid var(--gb-border);
    border-radius: 16px;
    padding: 16px 20px;
    margin-top: 16px;
}

.gb-terms-notice-icon {
    font-size: 1.5rem;
    color: var(--gb-primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.gb-terms-notice-content strong {
    display: block;
    font-size: 0.88rem;
    color: var(--gb-text);
    margin-bottom: 4px;
}

.gb-terms-notice-content p {
    font-size: 0.82rem;
    color: var(--gb-text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* Actions Bar */
.gb-create-actions-bar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    margin-top: 32px;
}

.gb-submit-product-btn {
    min-width: 240px;
}

/* Modal de Sucesso */
.gb-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.gb-modal-dialog-sm {
    max-width: 440px;
    width: 100%;
}

.gb-success-modal-content {
    background: var(--gb-bg-surface);
    border: 1px solid var(--gb-border);
    border-radius: 24px;
    padding: 36px 28px;
    text-align: center;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}

.gb-success-icon-wrap {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.15);
    color: #4ADE80;
    font-size: 2.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.gb-success-modal-title {
    font-family: 'Urbanist', var(--gb-font);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--gb-text);
    margin: 0 0 8px;
}

.gb-success-modal-text {
    font-size: 0.9rem;
    color: var(--gb-text-secondary);
    margin: 0 0 28px;
    line-height: 1.5;
}

.gb-success-modal-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media (max-width: 640px) {
    .gb-create-card {
        padding: 20px 16px;
    }
    .gb-create-actions-bar {
        flex-direction: column-reverse;
        gap: 12px;
    }
    .gb-create-actions-bar .gb-btn {
        width: 100%;
    }
}

/* =============================================================================
   MY PRODUCTS DASHBOARD TABLE (User Registered Products)
   ============================================================================= */
.gb-my-products-card {
    background: var(--gb-bg-surface);
    border: 1px solid var(--gb-border);
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.gb-my-products-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--gb-border-subtle);
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.gb-my-products-title-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.gb-my-products-title {
    font-family: 'Urbanist', var(--gb-font);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--gb-text);
    margin: 0;
}

.gb-badge-count {
    display: inline-flex;
    align-items: center;
    padding: 3px 9px;
    border-radius: 20px;
    background: rgba(138, 79, 255, 0.16);
    border: 1px solid rgba(138, 79, 255, 0.35);
    color: var(--gb-primary);
    font-size: 0.76rem;
    font-weight: 800;
}

.gb-table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.gb-data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.86rem;
    text-align: left;
    white-space: nowrap;
}

.gb-data-table th {
    padding: 12px 14px;
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--gb-text-secondary);
    border-bottom: 1px solid var(--gb-border);
    background: var(--gb-bg-elevated);
}

.gb-data-table th:first-child {
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
}

.gb-data-table th:last-child {
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}

.gb-data-table td {
    padding: 14px;
    border-bottom: 1px solid var(--gb-border-subtle);
    vertical-align: middle;
    color: var(--gb-text);
}

.gb-data-table tbody tr {
    transition: background 0.15s ease;
}

.gb-data-table tbody tr:hover {
    background: var(--gb-card-hover);
}

.gb-table-prod-cell {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 220px;
}

.gb-table-prod-thumb {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    object-fit: cover;
    background: var(--gb-bg-elevated);
    border: 1px solid var(--gb-border);
    flex-shrink: 0;
}

.gb-table-prod-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.gb-table-prod-title {
    font-weight: 700;
    color: var(--gb-text);
    text-decoration: none;
    max-width: 260px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.18s ease;
}

.gb-table-prod-title:hover {
    color: var(--gb-primary);
}

.gb-table-prod-id {
    font-size: 0.72rem;
    color: var(--gb-text-muted);
    font-family: monospace;
}

.gb-table-price {
    font-weight: 800;
    color: var(--gb-text);
}

.gb-table-cat {
    color: var(--gb-text-secondary);
    font-size: 0.82rem;
}

.gb-table-cat small {
    display: block;
    color: var(--gb-text-muted);
    font-size: 0.72rem;
}

.gb-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 9px;
    border-radius: 20px;
    font-size: 0.74rem;
    font-weight: 700;
}

.gb-status-pill.active {
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.35);
    color: #4ADE80;
}

.gb-status-pill.inactive {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #F87171;
}

.gb-table-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 8px;
    background: var(--gb-bg-elevated);
    border: 1px solid var(--gb-border);
    color: var(--gb-text);
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.18s ease;
}

.gb-table-action-btn:hover {
    border-color: var(--gb-primary);
    background: var(--gb-primary);
    color: #FFFFFF;
    transform: translateY(-1px);
}

.gb-table-empty-box {
    text-align: center;
    padding: 40px 20px;
    color: var(--gb-text-secondary);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.gb-table-empty-box i {
    font-size: 2.8rem;
    color: var(--gb-primary);
    opacity: 0.85;
}

.gb-table-empty-box h3 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--gb-text);
}

.gb-table-empty-box p {
    margin: 0;
    font-size: 0.86rem;
    color: var(--gb-text-muted);
    max-width: 380px;
}

/* ==========================================================================
   ANUNCIANTE TIER BADGES (Ouro, Prata, Diamante, Bronze, GoBoost)
   ========================================================================== */
.gb-owner-name-link {
    color: inherit;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: color 0.2s ease;
}

.gb-owner-name-link:hover {
    color: var(--gb-primary);
}

.gb-owner-badges-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.gb-seller-tier-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 9px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.2;
    white-space: nowrap;
}

.gb-seller-tier-badge i {
    font-size: 0.85rem;
}

.gb-seller-tier-badge.is-diamante {
    background: linear-gradient(135deg, rgba(138, 79, 255, 0.22), rgba(168, 85, 247, 0.32));
    border: 1px solid rgba(138, 79, 255, 0.55);
    color: #C084FC;
    box-shadow: 0 0 10px rgba(138, 79, 255, 0.22);
}

.gb-seller-tier-badge.is-ouro {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.18), rgba(245, 158, 11, 0.26));
    border: 1px solid rgba(255, 215, 0, 0.52);
    color: #FACC15;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

.gb-seller-tier-badge.is-prata {
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.16), rgba(226, 232, 240, 0.22));
    border: 1px solid rgba(192, 192, 192, 0.5);
    color: #E2E8F0;
}

.gb-seller-tier-badge.is-bronze {
    background: linear-gradient(135deg, rgba(205, 127, 50, 0.18), rgba(180, 83, 9, 0.25));
    border: 1px solid rgba(205, 127, 50, 0.5);
    color: #F59E0B;
}

.gb-seller-tier-badge.is-padrao {
    background: rgba(59, 130, 246, 0.14);
    border: 1px solid rgba(59, 130, 246, 0.35);
    color: #60A5FA;
}

/* ==========================================================================
   PÁGINA DEDICADA DA LOJA / PERFIL DO ANUNCIANTE (loja.php)
   ========================================================================== */
.gb-store-page {
    background: var(--gb-bg);
    min-height: 100vh;
}

.gb-store-main-layout {
    padding-bottom: 48px;
}

.gb-store-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ==========================================================================
   HERO E PERFIL DA LOJA (Design Fiel ao Mockup: Pílulas, Coroa Pro, Capa Sem Cortes)
   ========================================================================== */
.gb-store-hero-card {
    position: relative;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    margin-bottom: 32px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

[data-theme="dark"] .gb-store-hero-card {
    background: var(--gb-surface, #14121E);
    border-color: var(--gb-border, rgba(255, 255, 255, 0.08));
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

/* Capa Panorâmica Sem Cortes (Sem máscara escura cobrindo a imagem) */
.gb-store-cover-wrapper {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 220px;
    max-height: 440px;
    background: var(--gb-bg-subtle);
    overflow: hidden;
    contain: paint;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gb-store-cover-wrapper::after {
    display: none !important;
}

.gb-store-cover-backdrop {
    position: absolute;
    inset: -30px;
    background-size: cover;
    background-position: center;
    filter: blur(28px) brightness(0.4);
    opacity: 0.9;
    transform: scale(1.15);
    pointer-events: none;
    z-index: 0;
}

.gb-store-cover-img {
    position: relative;
    width: 100%;
    height: auto;
    max-height: 440px;
    object-fit: contain;
    object-position: center;
    display: block;
    margin: 0 auto;
    z-index: 1;
}

.gb-store-cover-placeholder {
    width: 100%;
    height: clamp(180px, 26vw, 320px);
    background: linear-gradient(135deg, #1C1635 0%, #0D0C12 50%, #291C52 100%);
    background-image:
        radial-gradient(at 20% 30%, rgba(138, 79, 255, 0.35) 0px, transparent 50%),
        radial-gradient(at 80% 70%, rgba(236, 72, 153, 0.25) 0px, transparent 50%),
        linear-gradient(135deg, #161226 0%, #0D0C12 100%);
}

/* Corpo do Perfil */
.gb-store-profile-content {
    position: relative;
    z-index: 10;
    padding: 0 32px 28px 32px;
    background: transparent;
}

/* Linha Superior: Avatar Flutuante + Ações */
.gb-store-profile-top-bar {
    position: relative;
    z-index: 11;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-top: -58px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.gb-store-avatar-wrapper {
    position: relative;
    z-index: 12;
    flex-shrink: 0;
}

.gb-store-avatar-ring {
    position: relative;
    z-index: 13;
    width: 116px;
    height: 116px;
    border-radius: 50%;
    padding: 0;
    border: 4px solid #FFFFFF;
    background: #FFFFFF;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

[data-theme="dark"] .gb-store-avatar-ring {
    border-color: var(--gb-surface, #14121E);
    background: var(--gb-surface, #14121E);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.gb-store-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

/* Grupo de Ações em Pílula (Capsules) */
.gb-store-actions-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 4px;
}

.gb-store-btn-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-family: var(--gb-font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 8px 18px;
    border-radius: 9999px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1.2;
    white-space: nowrap;
}

.gb-store-btn-whatsapp {
    background: #22C55E;
    color: #FFFFFF !important;
    border: none;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.28);
}

.gb-store-btn-whatsapp:hover {
    background: #16A34A;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(34, 197, 94, 0.42);
}

.gb-store-btn-phone {
    background: #2563EB;
    color: #FFFFFF !important;
    border: none;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.28);
}

.gb-store-btn-phone:hover {
    background: #1D4ED8;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.42);
    color: #FFFFFF !important;
}

.gb-store-btn-contact {
    background: #0F3D3E;
    color: #FFFFFF !important;
    border: none;
    box-shadow: 0 4px 12px rgba(15, 61, 62, 0.25);
}

.gb-store-btn-contact:hover {
    background: #134E4A;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(15, 61, 62, 0.38);
    color: #FFFFFF !important;
}

.gb-store-btn-website {
    background: #EDE9FE;
    color: #7C3AED !important;
    border: 1px solid #DDD6FE;
}

[data-theme="dark"] .gb-store-btn-website {
    background: rgba(168, 85, 247, 0.15);
    color: #C084FC !important;
    border-color: rgba(168, 85, 247, 0.3);
}

.gb-store-btn-website:hover {
    background: #DDD6FE;
    color: #6D28D9 !important;
    transform: translateY(-2px);
}

[data-theme="dark"] .gb-store-btn-website:hover {
    background: rgba(168, 85, 247, 0.28);
    color: #FFFFFF !important;
}

.gb-store-btn-share {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    color: #334155;
}

[data-theme="dark"] .gb-store-btn-share {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    color: #F1F5F9;
}

.gb-store-btn-share:hover {
    background: #F8FAFC;
    border-color: #CBD5E1;
    transform: translateY(-2px);
}

[data-theme="dark"] .gb-store-btn-share:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
}

/* Informações da Loja */
.gb-store-info-block {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.gb-store-name-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.gb-store-name {
    font-family: var(--gb-font-heading);
    font-size: 1.85rem;
    font-weight: 800;
    color: #0F172A;
    margin: 0;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

[data-theme="dark"] .gb-store-name {
    color: #F8FAFC;
}

/* Ícone da Coroa Pro ao lado do nome */
.gb-store-name-row .gb-owner-pro-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-size: 24px;
    margin-left: 2px;
    vertical-align: middle;
    filter: drop-shadow(0 2px 6px rgba(245, 158, 11, 0.45));
    transition: transform 0.2s ease, filter 0.2s ease;
}

.gb-store-name-row .gb-owner-pro-icon:hover {
    transform: scale(1.18) rotate(-4deg);
    filter: drop-shadow(0 4px 12px rgba(245, 158, 11, 0.75));
}

.gb-store-handle-row {
    margin-top: 1px;
}

.gb-store-handle {
    font-family: var(--gb-font-heading);
    font-size: 0.94rem;
    font-weight: 500;
    color: #64748B;
    letter-spacing: 0.01em;
}

[data-theme="dark"] .gb-store-handle {
    color: #94A3B8;
}

/* Link Dedicado do Website Cadastrado (Pílula em Destaque) */
.gb-store-website-row {
    margin: 6px 0 8px 0;
}

.gb-store-website-pill-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: #FAF5FF;
    border: 1px solid #E9D5FF;
    border-radius: 10px;
    color: #7C3AED !important;
    font-family: var(--gb-font-heading);
    font-size: 0.86rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    width: fit-content;
}

[data-theme="dark"] .gb-store-website-pill-link {
    background: rgba(168, 85, 247, 0.1);
    border-color: rgba(168, 85, 247, 0.3);
    color: #C084FC !important;
}

.gb-store-website-pill-link:hover {
    background: #EDE9FE;
    border-color: #C084FC;
    transform: translateY(-1.5px);
}

[data-theme="dark"] .gb-store-website-pill-link:hover {
    background: rgba(168, 85, 247, 0.22);
    color: #FFFFFF !important;
}

.gb-store-website-pill-link i:first-child {
    font-size: 0.95rem;
}

.gb-store-website-pill-link i:last-child {
    font-size: 0.82rem;
    opacity: 0.85;
}

.gb-store-bio {
    font-family: var(--gb-font-body);
    font-size: 0.96rem;
    color: #334155;
    line-height: 1.55;
    margin: 6px 0 10px 0;
    max-width: 820px;
    word-break: break-word;
}

[data-theme="dark"] .gb-store-bio {
    color: #CBD5E1;
}

/* Barra de Chips e Metadados (Pílulas Arredondadas) */
.gb-store-meta-chips {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.gb-store-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--gb-font-body);
    font-size: 0.82rem;
    font-weight: 500;
    color: #475569;
    background: #F1F5F9;
    border: 1px solid rgba(0, 0, 0, 0.04);
    padding: 6px 14px;
    border-radius: 9999px;
    line-height: 1.25;
    text-decoration: none;
    transition: all 0.2s ease;
}

[data-theme="dark"] .gb-store-chip {
    color: #CBD5E1;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.08);
}

.gb-store-chip:hover {
    color: #0F172A;
    background: #E2E8F0;
}

[data-theme="dark"] .gb-store-chip:hover {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.12);
}

.gb-store-chip i {
    font-size: 0.88rem;
    color: #64748B;
}

[data-theme="dark"] .gb-store-chip i {
    color: #94A3B8;
}

/* Responsividade Mobile */
@media (max-width: 768px) {
    .gb-store-hero-card {
        border-radius: 18px;
        margin-bottom: 24px;
    }
    .gb-store-cover-wrapper {
        min-height: 140px;
        max-height: 260px;
    }
    .gb-store-cover-img {
        max-height: 260px;
    }
    .gb-store-profile-content {
        padding: 0 16px 20px 16px;
    }
    .gb-store-profile-top-bar {
        margin-top: -46px;
        margin-bottom: 14px;
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }
    .gb-store-avatar-ring {
        width: 88px;
        height: 88px;
        border-width: 3.5px;
    }
    .gb-store-actions-bar {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        padding-top: 2px;
        margin-bottom: 0;
    }
    .gb-store-btn-action {
        width: 100%;
        min-width: 0;
        padding: 9px 12px;
        font-size: 0.82rem;
        justify-content: center;
        border-radius: 12px;
        box-sizing: border-box;
        white-space: nowrap;
    }
    .gb-store-actions-bar .gb-store-btn-action:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }
    .gb-store-name {
        font-size: 1.45rem;
    }
    .gb-store-name-row {
        gap: 6px;
    }
    .gb-store-bio {
        font-size: 0.88rem;
        line-height: 1.5;
        margin: 4px 0 8px 0;
    }
    .gb-store-meta-chips {
        gap: 6px;
    }
    .gb-store-chip {
        font-size: 0.76rem;
        padding: 5px 11px;
    }
}

@media (max-width: 480px) {
    .gb-store-container {
        padding-left: 12px;
        padding-right: 12px;
    }
    .gb-store-hero-card {
        border-radius: 16px;
        margin-bottom: 20px;
    }
    .gb-store-cover-wrapper {
        min-height: 130px;
        max-height: 220px;
    }
    .gb-store-cover-img {
        max-height: 220px;
    }
    .gb-store-profile-content {
        padding: 0 12px 16px 12px;
    }
    .gb-store-avatar-ring {
        width: 80px;
        height: 80px;
        border-width: 3px;
    }
    .gb-store-name {
        font-size: 1.35rem;
    }
    .gb-store-btn-action {
        padding: 8px 10px;
        font-size: 0.78rem;
        gap: 5px;
    }
}

/* Seção Vitrine de Produtos */
.gb-store-vitrine-section {
    margin-top: 28px;
    margin-bottom: 48px;
}

.gb-store-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--gb-border);
    gap: 16px;
    flex-wrap: wrap;
}

.gb-store-section-title-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.gb-store-section-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--gb-text);
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.gb-store-section-title i {
    color: var(--gb-primary);
}

.gb-store-section-count {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--gb-text-secondary);
    background: var(--gb-card);
    border: 1px solid var(--gb-border);
    padding: 3px 10px;
    border-radius: 20px;
}

/* Busca rápida na vitrine da loja */
.gb-store-inline-search-wrap {
    position: relative;
    display: flex;
    align-items: center;
    min-width: 240px;
    max-width: 320px;
}

.gb-store-inline-search-wrap i {
    position: absolute;
    left: 12px;
    font-size: 0.95rem;
    color: var(--gb-text-secondary);
    pointer-events: none;
}

.gb-store-inline-search-input {
    width: 100%;
    background: var(--gb-card);
    border: 1px solid var(--gb-border);
    border-radius: 20px;
    padding: 8px 36px 8px 34px;
    font-size: 0.84rem;
    color: var(--gb-text);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
    box-sizing: border-box;
}

.gb-store-inline-search-input::-webkit-search-cancel-button,
.gb-store-inline-search-input::-webkit-search-decoration,
.gb-store-inline-search-input::-webkit-search-results-button,
.gb-store-inline-search-input::-webkit-search-results-decoration {
    -webkit-appearance: none;
    appearance: none;
}

.gb-store-inline-search-input:focus {
    border-color: var(--gb-primary);
    box-shadow: 0 0 0 3px rgba(138, 79, 255, 0.15);
}

.gb-store-inline-search-clear {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--gb-text-secondary);
    cursor: pointer;
    font-size: 1.15rem;
    padding: 0;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* ==========================================================================
   PAINEL DE FILTROS DA VITRINE (CATEGORIAS E VALORES)
   ========================================================================== */
.gb-store-filters-panel {
    background: var(--gb-surface);
    border: 1px solid var(--gb-border);
    border-radius: 18px;
    padding: 16px 20px;
    margin-bottom: 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Filtro por Categorias (Carrossel Horizontal de Pills) */
.gb-store-cat-filter-wrapper {
    width: 100%;
    overflow: hidden;
}

.gb-store-cat-filter-scroll {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
    scrollbar-color: rgba(138, 79, 255, 0.3) transparent;
    -webkit-overflow-scrolling: touch;
}

.gb-store-cat-filter-scroll::-webkit-scrollbar {
    height: 4px;
}

.gb-store-cat-filter-scroll::-webkit-scrollbar-thumb {
    background: rgba(138, 79, 255, 0.3);
    border-radius: 4px;
}

.gb-store-cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--gb-card);
    border: 1px solid var(--gb-border);
    color: var(--gb-text-secondary);
    font-family: var(--gb-font-heading);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 20px;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.2s ease;
    user-select: none;
}

.gb-store-cat-pill:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--gb-border-focus);
    color: var(--gb-text);
}

.gb-store-cat-pill.active {
    background: linear-gradient(135deg, rgba(138, 79, 255, 0.25), rgba(168, 85, 247, 0.2));
    border-color: var(--gb-primary);
    color: #FFFFFF;
    box-shadow: 0 2px 10px rgba(138, 79, 255, 0.3);
}

.gb-store-cat-pill i {
    font-size: 0.95rem;
    color: inherit;
}

.gb-store-cat-pill .gb-cat-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 10px;
    min-width: 18px;
    line-height: 1;
}

.gb-store-cat-pill.active .gb-cat-count {
    background: var(--gb-primary);
    color: #FFFFFF;
}

/* Toolbar de Valores (Preços), Condição e Ordenação */
.gb-store-toolbar-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 12px;
    border-top: 1px solid var(--gb-border);
}

.gb-store-price-presets {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.gb-toolbar-label {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--gb-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-right: 2px;
}

.gb-toolbar-label i {
    color: var(--gb-primary);
    font-size: 0.95rem;
}

.gb-price-preset-pill {
    background: var(--gb-card);
    border: 1px solid var(--gb-border);
    color: var(--gb-text-secondary);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 5px 11px;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.18s ease;
    white-space: nowrap;
}

.gb-price-preset-pill:hover {
    border-color: var(--gb-border-focus);
    color: var(--gb-text);
}

.gb-price-preset-pill.active {
    background: rgba(138, 79, 255, 0.18);
    border-color: var(--gb-primary);
    color: var(--gb-primary-light, #C084FC);
    font-weight: 700;
}

.gb-store-toolbar-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.gb-store-custom-price {
    display: inline-flex;
    align-items: center;
    background: var(--gb-card);
    border: 1px solid var(--gb-border);
    border-radius: 12px;
    padding: 4px 6px 4px 10px;
    gap: 4px;
}

.gb-price-prefix {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--gb-text-secondary);
}

.gb-price-sep {
    font-size: 0.75rem;
    color: var(--gb-text-secondary);
    padding: 0 2px;
}

.gb-price-num-input {
    width: 68px;
    background: transparent;
    border: none;
    outline: none;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--gb-text);
    padding: 3px 2px;
}

.gb-price-num-input::-webkit-outer-spin-button,
.gb-price-num-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.gb-price-btn-apply {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--gb-primary);
    border: none;
    color: #FFFFFF;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.gb-price-btn-apply:hover {
    background: var(--gb-primary-hover);
    transform: translateY(-1px);
}

.gb-filter-select-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.gb-filter-select-wrapper i {
    position: absolute;
    left: 10px;
    font-size: 0.9rem;
    color: var(--gb-text-secondary);
    pointer-events: none;
}

.gb-filter-select {
    background: var(--gb-card);
    border: 1px solid var(--gb-border);
    border-radius: 12px;
    color: var(--gb-text);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 7px 12px 7px 30px;
    outline: none;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.gb-filter-select:focus {
    border-color: var(--gb-primary);
}

.gb-filter-reset-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #F87171;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 7px 13px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.gb-filter-reset-btn:hover {
    background: #EF4444;
    color: #FFFFFF;
    border-color: #EF4444;
}

/* Tags de Filtros Ativos */
.gb-active-filters-tags {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding-top: 10px;
    border-top: 1px dashed var(--gb-border);
}

.gb-active-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(138, 79, 255, 0.14);
    border: 1px solid rgba(138, 79, 255, 0.4);
    color: var(--gb-primary-light, #C084FC);
    font-size: 0.76rem;
    font-weight: 700;
    padding: 3px 8px 3px 10px;
    border-radius: 14px;
}

.gb-active-tag button {
    background: none;
    border: none;
    color: inherit;
    font-size: 1.05rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0.75;
    transition: opacity 0.15s ease;
}

.gb-active-tag button:hover {
    opacity: 1;
}

/* Empty State quando filtros não encontram nada */
.gb-store-no-filter-results {
    text-align: center;
    padding: 48px 20px;
    background: var(--gb-surface);
    border: 1px dashed var(--gb-border);
    border-radius: 18px;
    margin: 24px 0;
}

.gb-empty-filter-icon {
    font-size: 3rem;
    color: var(--gb-primary);
    opacity: 0.8;
    margin-bottom: 12px;
}

.gb-store-no-filter-results h3 {
    margin: 0 0 6px 0;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--gb-text);
}

.gb-store-no-filter-results p {
    margin: 0 0 18px 0;
    font-size: 0.9rem;
    color: var(--gb-text-secondary);
}

@media (max-width: 768px) {
    .gb-store-filters-panel {
        padding: 12px 14px;
        border-radius: 16px;
        gap: 12px;
    }
    .gb-store-cat-filter-scroll {
        display: flex;
        align-items: center;
        gap: 7px;
        overflow-x: auto;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .gb-store-cat-filter-scroll::-webkit-scrollbar {
        display: none;
    }
    .gb-store-cat-pill {
        padding: 6px 12px;
        font-size: 0.78rem;
        border-radius: 18px;
    }
    .gb-store-cat-pill .gb-cat-count {
        font-size: 0.7rem;
        padding: 2px 6px;
    }
    .gb-store-price-presets {
        display: flex;
        align-items: center;
        gap: 6px;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        width: 100%;
    }
    .gb-store-price-presets::-webkit-scrollbar {
        display: none;
    }
    .gb-toolbar-label {
        flex-shrink: 0;
        font-size: 0.74rem;
        margin-right: 2px;
    }
    .gb-price-preset-pill {
        flex-shrink: 0;
        padding: 5px 10px;
        font-size: 0.76rem;
        border-radius: 12px;
    }
    .gb-store-toolbar-row {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding-top: 10px;
    }
    .gb-store-toolbar-controls {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        width: 100%;
    }
    .gb-store-custom-price {
        grid-column: 1 / -1;
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 6px 10px;
        gap: 6px;
        box-sizing: border-box;
        border-radius: 12px;
    }
    .gb-price-num-input {
        flex: 1;
        min-width: 0;
        width: 100%;
        font-size: 0.82rem;
    }
    .gb-price-btn-apply {
        flex-shrink: 0;
        padding: 6px 12px;
        font-size: 0.78rem;
    }
    .gb-filter-select-wrapper {
        width: 100%;
        min-width: 0;
    }
    .gb-filter-select {
        width: 100%;
        min-width: 0;
        font-size: 0.78rem;
        padding: 8px 8px 8px 28px;
        text-overflow: ellipsis;
        border-radius: 12px;
    }
    .gb-filter-reset-btn {
        grid-column: 1 / -1;
        width: 100%;
        justify-content: center;
        padding: 8px 12px;
        font-size: 0.78rem;
        border-radius: 12px;
    }
    .gb-active-filters-tags {
        padding-top: 8px;
        gap: 6px;
    }
    .gb-active-tag {
        font-size: 0.74rem;
        padding: 3px 8px;
    }
}

/* Grade de Produtos da Vitrine */
.gb-store-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

.gb-store-products-grid .gb-product-card {
    width: 100%;
    min-width: 0;
}

@media (max-width: 680px) {
    .gb-store-section-header {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    .gb-store-inline-search-wrap {
        width: 100%;
        max-width: 100%;
    }
    .gb-store-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
    .gb-store-products-grid .gb-product-card {
        width: 100%;
        min-width: 0;
        padding: 8px;
        border-radius: 14px;
        box-sizing: border-box;
    }
    .gb-store-products-grid .gb-product-card-media {
        aspect-ratio: 1 / 1;
        height: auto;
        border-radius: 10px;
        margin-bottom: 7px;
    }
    .gb-store-products-grid .gb-product-card-body {
        padding: 2px 2px 4px;
    }
    .gb-store-products-grid .gb-card-brand {
        margin-bottom: 4px;
        font-size: 0.7rem;
    }
    .gb-store-products-grid .gb-card-title {
        font-size: 0.82rem;
        line-height: 1.25;
        margin-bottom: 6px;
        height: 2.5em;
        min-height: 2.5em;
        max-height: 2.5em;
    }
    .gb-store-products-grid .gb-card-location-row {
        font-size: 0.72rem;
    }
    .gb-store-products-grid .gb-card-price {
        font-size: 0.98rem;
    }
}

/* Empty State da Vitrine */
.gb-store-empty-vitrine {
    text-align: center;
    padding: 56px 20px;
    background: var(--gb-surface);
    border: 1px dashed var(--gb-border);
    border-radius: 18px;
    margin: 20px 0;
}

.gb-store-empty-icon {
    font-size: 3.2rem;
    color: var(--gb-primary);
    opacity: 0.8;
    margin-bottom: 12px;
}

.gb-store-empty-vitrine h3 {
    margin: 0 0 6px 0;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--gb-text);
}

.gb-store-empty-vitrine p {
    margin: 0 0 20px 0;
    font-size: 0.88rem;
    color: var(--gb-text-secondary);
}

/* Loja Não Encontrada */
.gb-store-not-found-card {
    text-align: center;
    max-width: 520px;
    margin: 60px auto;
    padding: 44px 24px;
    background: var(--gb-surface);
    border: 1px solid var(--gb-border);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.gb-not-found-icon {
    font-size: 3.8rem;
    color: var(--gb-primary);
    margin-bottom: 14px;
}

.gb-store-not-found-card h2 {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--gb-text);
    margin: 0 0 8px 0;
}

.gb-store-not-found-card p {
    font-size: 0.92rem;
    color: var(--gb-text-secondary);
    margin: 0 0 24px 0;
}

/* ==========================================================================
   MODAL DE CONTATO DO LOJISTA
   ========================================================================== */
.gb-contact-modal-dialog {
    max-width: 440px;
    width: calc(100% - 24px);
    margin: auto;
    position: relative;
    animation: gbModalFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes gbModalFadeIn {
    from { opacity: 0; transform: scale(0.95) translateY(12px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.gb-contact-modal-card {
    background: var(--gb-surface);
    border: 1px solid var(--gb-border);
    border-radius: 24px;
    padding: 24px 22px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.gb-contact-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--gb-border);
}

.gb-contact-modal-user {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.gb-contact-modal-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    background: #FFFFFF;
    border: 2px solid var(--gb-primary);
    flex-shrink: 0;
}

.gb-contact-modal-titles {
    min-width: 0;
    flex: 1;
}

.gb-contact-modal-title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--gb-text);
    line-height: 1.3;
    word-break: break-word;
}

.gb-contact-modal-handle {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--gb-primary-light, #A855F7);
}

.gb-contact-modal-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--gb-border);
    color: var(--gb-text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.18s ease;
    flex-shrink: 0;
}

.gb-contact-modal-close:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--gb-text);
    transform: rotate(90deg);
}

.gb-contact-modal-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gb-contact-option-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border-radius: 16px;
    text-decoration: none;
    background: var(--gb-card);
    border: 1px solid var(--gb-border);
    color: var(--gb-text);
    transition: all 0.2s ease;
    position: relative;
}

.gb-contact-option-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.gb-contact-option-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.gb-contact-option-btn.is-whatsapp {
    border-color: rgba(37, 211, 102, 0.35);
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.1), rgba(37, 211, 102, 0.03));
}
.gb-contact-option-btn.is-whatsapp .gb-contact-option-icon {
    background: #25D366;
    color: #FFFFFF;
}
.gb-contact-option-btn.is-whatsapp:hover {
    border-color: #25D366;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

.gb-contact-option-btn.is-call {
    border-color: rgba(37, 99, 235, 0.35);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(37, 99, 235, 0.03));
}
.gb-contact-option-btn.is-call .gb-contact-option-icon {
    background: #2563EB;
    color: #FFFFFF;
}
.gb-contact-option-btn.is-call:hover {
    border-color: #2563EB;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
}

.gb-contact-option-btn.is-chat {
    border-color: rgba(138, 79, 255, 0.35);
    background: linear-gradient(135deg, rgba(138, 79, 255, 0.1), rgba(138, 79, 255, 0.03));
}
.gb-contact-option-btn.is-chat .gb-contact-option-icon {
    background: var(--gb-primary);
    color: #FFFFFF;
}
.gb-contact-option-btn.is-chat:hover {
    border-color: var(--gb-primary);
    box-shadow: 0 6px 20px rgba(138, 79, 255, 0.3);
}

.gb-contact-option-btn.is-site {
    border-color: rgba(168, 85, 247, 0.3);
}
.gb-contact-option-btn.is-site .gb-contact-option-icon {
    background: rgba(168, 85, 247, 0.2);
    color: #C084FC;
}

.gb-contact-option-btn.is-products .gb-contact-option-icon {
    background: rgba(255, 255, 255, 0.08);
    color: var(--gb-text);
}

.gb-contact-option-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.gb-contact-option-info strong {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--gb-text);
}

.gb-contact-option-info span {
    font-size: 0.78rem;
    color: var(--gb-text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gb-contact-option-arrow {
    font-size: 16px;
    color: var(--gb-text-secondary);
    transition: transform 0.2s ease;
}

.gb-contact-option-btn:hover .gb-contact-option-arrow {
    color: var(--gb-text);
    transform: translateX(3px);
}

.gb-contact-notice-box {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    background: #FEF3C7;
    border: 1px solid #FCD34D;
    color: #78350F;
}

.gb-contact-notice-box i {
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 2px;
    color: #D97706;
}

.gb-contact-notice-box strong {
    font-size: 0.84rem;
    display: block;
    margin-bottom: 2px;
    color: #78350F;
}

.gb-contact-notice-box p {
    margin: 0;
    font-size: 0.78rem;
    color: #92400E;
    line-height: 1.45;
}

[data-theme="dark"] .gb-contact-notice-box {
    background: rgba(245, 158, 11, 0.12);
    border-color: rgba(245, 158, 11, 0.35);
    color: #FBBF24;
}

[data-theme="dark"] .gb-contact-notice-box i {
    color: #F59E0B;
}

[data-theme="dark"] .gb-contact-notice-box strong {
    color: #FDE68A;
}

[data-theme="dark"] .gb-contact-notice-box p {
    color: rgba(254, 243, 199, 0.9);
}

.gb-contact-modal-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.76rem;
    color: var(--gb-text-secondary);
    text-align: center;
    padding-top: 10px;
    border-top: 1px solid var(--gb-border);
}

.gb-contact-modal-footer i {
    color: #10B981;
    font-size: 16px;
}

/* ==========================================================================
   MODAL E BANNER DE BLOQUEIO PARA PLANO PRO / PREMIUM (CADASTRO DE PRODUTOS)
   ========================================================================== */
.gb-pro-modal-dialog {
    max-width: 480px;
    width: calc(100% - 24px);
    margin: auto;
    position: relative;
    animation: gbModalFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.gb-pro-modal-card {
    position: relative;
    background: var(--gb-bg-surface);
    border: 1px solid rgba(255, 215, 0, 0.32);
    border-radius: 26px;
    padding: 36px 28px 30px;
    text-align: center;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.72), 0 0 40px rgba(138, 79, 255, 0.22);
    overflow: hidden;
}

.gb-pro-modal-card::before {
    content: '';
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 260px;
    height: 140px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.22) 0%, rgba(138, 79, 255, 0.14) 55%, transparent 75%);
    pointer-events: none;
}

.gb-pro-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--gb-border);
    color: var(--gb-text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.18s ease;
    z-index: 2;
}

.gb-pro-modal-close:hover {
    background: rgba(255, 255, 255, 0.14);
    color: var(--gb-text);
    transform: rotate(90deg);
}

.gb-pro-modal-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.18) 0%, rgba(138, 79, 255, 0.22) 100%);
    border: 1px solid rgba(255, 215, 0, 0.42);
    color: #FFD700;
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 18px;
}

[data-theme="light"] .gb-pro-modal-badge {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(138, 79, 255, 0.14) 100%);
    border-color: rgba(217, 119, 6, 0.45);
    color: #B45309;
}

.gb-pro-modal-icon-ring {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    margin: 0 auto 18px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.22) 0%, rgba(138, 79, 255, 0.25) 100%);
    border: 2px solid rgba(255, 215, 0, 0.5);
    color: #FFD700;
    font-size: 2.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 28px rgba(255, 215, 0, 0.22);
}

[data-theme="light"] .gb-pro-modal-icon-ring {
    color: #D97706;
    border-color: rgba(217, 119, 6, 0.45);
}

.gb-pro-modal-title,
.gb-pro-lock-title {
    font-family: 'Urbanist', var(--gb-font);
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--gb-text);
    margin: 0 0 10px;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.gb-pro-modal-desc,
.gb-pro-lock-desc {
    font-size: 0.92rem;
    color: var(--gb-text-secondary);
    line-height: 1.55;
    margin: 0 auto 22px;
    max-width: 420px;
}

.gb-pro-modal-desc strong,
.gb-pro-lock-desc strong {
    color: var(--gb-text);
}

.gb-pro-modal-benefits {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left;
    background: var(--gb-bg-elevated);
    border: 1px solid var(--gb-border);
    border-radius: 16px;
    padding: 16px 18px;
    margin-bottom: 24px;
}

.gb-pro-benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gb-text);
    line-height: 1.35;
}

.gb-pro-benefit-item i {
    color: #FFD700;
    font-size: 1.15rem;
    flex-shrink: 0;
}

[data-theme="light"] .gb-pro-benefit-item i {
    color: var(--gb-primary);
}

.gb-pro-modal-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gb-btn-pro-upgrade {
    background: linear-gradient(135deg, #F59E0B 0%, #8A4FFF 100%);
    color: #FFFFFF !important;
    box-shadow: 0 8px 24px rgba(138, 79, 255, 0.45);
    font-weight: 800;
}

.gb-btn-pro-upgrade:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(245, 158, 11, 0.45);
}

/* Banner de Bloqueio na Página de Cadastro (Fallback Direto) */
.gb-pro-lock-banner {
    position: relative;
    background: var(--gb-bg-surface);
    border: 1px solid rgba(255, 215, 0, 0.35);
    border-radius: 26px;
    padding: 48px 32px;
    text-align: center;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    max-width: 680px;
    margin: 16px auto 40px;
}

.gb-pro-lock-glow {
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 380px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.2) 0%, rgba(138, 79, 255, 0.15) 55%, transparent 75%);
    pointer-events: none;
}

.gb-pro-lock-desc {
    max-width: 540px;
}

.gb-pro-lock-benefits {
    max-width: 480px;
    margin: 0 auto 28px;
}

.gb-pro-lock-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

@media (max-width: 560px) {
    .gb-pro-modal-card {
        padding: 28px 18px 22px;
        border-radius: 22px;
    }
    .gb-pro-lock-banner {
        padding: 32px 18px;
        border-radius: 22px;
    }
    .gb-pro-lock-actions {
        flex-direction: column;
        width: 100%;
    }
    .gb-pro-lock-actions .gb-btn {
        width: 100%;
    }
}

/* ============================================================
   LOCATION AUTOCOMPLETE & GPS DETECTION (CADASTRAR PRODUTO)
   ============================================================ */
.gb-location-autocomplete-group {
    position: relative;
}

.gb-btn-gps-inline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(114, 17, 240, 0.35);
    background: rgba(114, 17, 240, 0.12);
    color: var(--gb-accent-light, #a855f7);
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.gb-btn-gps-inline:hover:not(:disabled) {
    background: rgba(114, 17, 240, 0.24);
    border-color: rgba(114, 17, 240, 0.65);
    transform: translateY(-1px);
}

.gb-btn-gps-inline:disabled {
    opacity: 0.65;
    cursor: wait;
}

.gb-location-input-wrap {
    position: relative;
}

.gb-location-suggestions {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 60;
    max-height: 240px;
    overflow-y: auto;
    background: var(--gb-surface-elevated, #181326);
    border: 1px solid var(--gb-border, rgba(255, 255, 255, 0.12));
    border-radius: 12px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
    padding: 6px;
}

.gb-location-suggestion-item {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 12px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--gb-text, #f3f0ff);
    font-size: 0.86rem;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s ease;
}

.gb-location-suggestion-item:hover {
    background: rgba(114, 17, 240, 0.18);
}

.gb-loc-sug-main {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.gb-loc-sug-main svg {
    color: var(--gb-accent-light, #a855f7);
    flex-shrink: 0;
}

.gb-loc-sug-action {
    font-size: 0.72rem;
    color: var(--gb-text-muted, #9d94b8);
    white-space: nowrap;
}

.gb-location-status-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 6px;
}

.gb-coords-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 9px;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.14);
    border: 1px solid rgba(34, 197, 94, 0.35);
    color: #4ade80;
    font-size: 0.72rem;
    font-weight: 600;
}

[data-theme="light"] .gb-location-suggestions {
    background: #ffffff;
    border-color: rgba(114, 17, 240, 0.18);
    box-shadow: 0 12px 28px rgba(20, 10, 45, 0.12);
}

[data-theme="light"] .gb-location-suggestion-item {
    color: #1e1633;
}

[data-theme="light"] .gb-coords-badge {
    background: rgba(22, 163, 74, 0.1);
    border-color: rgba(22, 163, 74, 0.3);
    color: #15803d;
}

/* ============================================================
   DELETE PRODUCT BUTTONS & CONFIRMATION MODAL
   ============================================================ */
.gb-delete-product-btn {
    border-color: rgba(239, 68, 68, 0.35) !important;
    background: rgba(239, 68, 68, 0.1) !important;
    color: #F87171 !important;
    cursor: pointer;
    transition: all 0.2s ease;
}

.gb-delete-product-btn:hover {
    background: rgba(239, 68, 68, 0.22) !important;
    border-color: rgba(239, 68, 68, 0.65) !important;
    color: #EF4444 !important;
    transform: translateY(-1px);
}

.gb-owner-delete-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 13px 18px;
    border-radius: 14px;
    border: 1px solid rgba(239, 68, 68, 0.38);
    background: rgba(239, 68, 68, 0.1);
    color: #F87171;
    font-family: 'Urbanist', var(--gb-font);
    font-size: 0.94rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.gb-owner-delete-cta-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.65);
    color: #EF4444;
    transform: translateY(-1px);
}

.gb-owner-edit-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 18px;
    border-radius: 12px;
    border: 1px solid rgba(59, 130, 246, 0.4);
    background: rgba(59, 130, 246, 0.1);
    color: #60A5FA;
    font-family: 'Urbanist', var(--gb-font);
    font-size: 0.94rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.gb-owner-edit-cta-btn:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.65);
    color: #93C5FD;
    transform: translateY(-1px);
}

.gb-edit-product-btn {
    color: #60A5FA !important;
    border-color: rgba(59, 130, 246, 0.4) !important;
    background: rgba(59, 130, 246, 0.1) !important;
}

.gb-edit-product-btn:hover {
    background: #2563EB !important;
    color: #FFFFFF !important;
    border-color: #2563EB !important;
}

.gb-admin-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: #FBBF24;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gb-table-delete-btn {
    border-color: rgba(239, 68, 68, 0.32) !important;
    background: rgba(239, 68, 68, 0.1) !important;
    color: #F87171 !important;
    cursor: pointer;
}

.gb-table-delete-btn:hover {
    background: #EF4444 !important;
    border-color: #EF4444 !important;
    color: #FFFFFF !important;
}

.gb-table-edit-btn {
    border-color: rgba(59, 130, 246, 0.32) !important;
    background: rgba(59, 130, 246, 0.1) !important;
    color: #60A5FA !important;
    cursor: pointer;
    text-decoration: none !important;
}

.gb-table-edit-btn:hover {
    background: #2563EB !important;
    border-color: #2563EB !important;
    color: #FFFFFF !important;
}

.gb-card-manage-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 6;
    display: flex;
    align-items: center;
    gap: 6px;
}

.gb-card-manage-actions .gb-card-delete-btn {
    position: static;
    top: auto;
    right: auto;
}

.gb-card-edit-btn {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: 1px solid rgba(59, 130, 246, 0.45);
    background: rgba(15, 14, 20, 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #60A5FA;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.gb-card-edit-btn:hover {
    background: #2563EB;
    border-color: #2563EB;
    color: #FFFFFF;
    transform: scale(1.06);
}

.gb-existing-images-wrap {
    margin-bottom: 20px;
}

.gb-existing-images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 12px;
    margin-top: 10px;
}

.gb-existing-img-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1;
    border: 2px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.3);
    transition: all 0.2s ease;
}

.gb-existing-img-card.is-marked-delete {
    opacity: 0.35;
    filter: grayscale(1);
    transform: scale(0.95);
    border-color: #EF4444;
}

.gb-existing-img-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gb-existing-img-badge {
    position: absolute;
    bottom: 6px;
    left: 6px;
    padding: 2px 7px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.82);
    color: #FBBF24;
    font-size: 0.65rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.gb-existing-img-remove-btn {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: rgba(239, 68, 68, 0.9);
    color: #FFFFFF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    transition: transform 0.15s ease;
}

.gb-existing-img-remove-btn:hover {
    transform: scale(1.15);
    background: #DC2626;
}

.gb-existing-img-restore-btn {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: rgba(34, 197, 94, 0.9);
    color: #FFFFFF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    transition: transform 0.15s ease;
}

.gb-existing-img-restore-btn:hover {
    transform: scale(1.15);
    background: #16A34A;
}

.gb-table-delete-btn {
    border-color: rgba(239, 68, 68, 0.32) !important;
    background: rgba(239, 68, 68, 0.1) !important;
    color: #F87171 !important;
    cursor: pointer;
}

.gb-table-delete-btn:hover {
    background: #EF4444 !important;
    border-color: #EF4444 !important;
    color: #FFFFFF !important;
}

.gb-card-delete-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 6;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: 1px solid rgba(239, 68, 68, 0.45);
    background: rgba(15, 14, 20, 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #F87171;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.gb-card-delete-btn:hover {
    background: #EF4444;
    border-color: #EF4444;
    color: #FFFFFF;
    transform: scale(1.06);
}

.gb-delete-modal-dialog {
    max-width: 440px;
    width: calc(100% - 24px);
    margin: auto;
    position: relative;
    animation: gbModalFadeIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.gb-delete-modal-card {
    position: relative;
    background: var(--gb-bg-surface);
    border: 1px solid rgba(239, 68, 68, 0.35);
    border-radius: 24px;
    padding: 34px 26px 26px;
    text-align: center;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.72), 0 0 36px rgba(239, 68, 68, 0.16);
    overflow: hidden;
}

.gb-delete-modal-icon-ring {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    margin: 0 auto 16px;
    background: rgba(239, 68, 68, 0.14);
    border: 2px solid rgba(239, 68, 68, 0.42);
    color: #EF4444;
    font-size: 1.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(239, 68, 68, 0.2);
}

.gb-delete-modal-title {
    font-family: 'Urbanist', var(--gb-font);
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--gb-text);
    margin: 0 0 10px;
}

.gb-delete-modal-desc {
    font-size: 0.9rem;
    color: var(--gb-text-secondary);
    line-height: 1.55;
    margin: 0 auto 22px;
}

.gb-delete-modal-desc strong {
    color: var(--gb-text);
}

.gb-delete-modal-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gb-btn-danger {
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
    color: #FFFFFF !important;
    border: none;
    font-weight: 800;
    box-shadow: 0 8px 22px rgba(239, 68, 68, 0.35);
    cursor: pointer;
    transition: all 0.2s ease;
}

.gb-btn-danger:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(239, 68, 68, 0.48);
}

.gb-btn-danger:disabled {
    opacity: 0.65;
    cursor: wait;
}

[data-theme="light"] .gb-delete-product-btn,
[data-theme="light"] .gb-owner-delete-cta-btn,
[data-theme="light"] .gb-table-delete-btn {
    color: #DC2626 !important;
    background: rgba(239, 68, 68, 0.08) !important;
    border-color: rgba(220, 38, 38, 0.3) !important;
}

/* =========================================================================
 * LAZY LOAD & SCROLL PERFORMANCE OPTIMIZATIONS
 * ========================================================================= */
.gb-showcase-position-block {
    position: relative;
    content-visibility: auto;
    contain-intrinsic-size: 1px 360px;
}

.gb-products-horizontal-list {
    will-change: scroll-position;
}

.gb-card-slides-track img {
    image-rendering: auto;
}





