/*
 * Stack Gamer Design System - regras responsivas futuras.
 * ETAPA 21.12-T.2: responsividade da base global do preview.
 */

.theme-stackgamer-definitive-preview :where(img, video, canvas, svg) {
    max-width: 100%;
}

.theme-stackgamer-definitive-preview {
    overflow-x: hidden;
}

.theme-stackgamer-definitive-preview :where(.conversion-product-grid, .conversion-category-grid, .setup-grid, .admin-grid) {
    display: grid;
    gap: var(--sg-space-4);
}

@media (min-width: 1024px) {
    .theme-stackgamer-definitive-preview :where(.conversion-product-grid, .conversion-category-grid) {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .theme-stackgamer-definitive-preview .setup-grid {
        grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
    }
}

@media (max-width: 1023px) {
    .theme-stackgamer-definitive-preview :where(.conversion-product-grid, .conversion-category-grid) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .theme-stackgamer-definitive-preview :where(.conversion-hero, .checkout-layout, .admin-grid) {
        grid-template-columns: 1fr;
    }

    .theme-stackgamer-definitive-preview .sg-header-main {
        grid-template-columns: minmax(210px, .8fr) minmax(240px, 1fr);
        gap: 10px 14px;
    }

    .theme-stackgamer-definitive-preview .sg-header-search {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .theme-stackgamer-definitive-preview .sg-header-actions {
        grid-column: 2;
        grid-row: 1;
    }

    .theme-stackgamer-definitive-preview :where(.conversion-hero, .conversion-section, .conversion-configurator, .checkout-container) {
        width: min(100% - 24px, 1500px);
    }
}

@media (max-width: 640px) {
    .theme-stackgamer-definitive-preview {
        --sg-radius-large: 10px;
        --sg-radius-medium: 7px;
    }

    .theme-stackgamer-definitive-preview :where(.conversion-product-grid, .conversion-category-grid, .setup-grid) {
        grid-template-columns: 1fr;
    }

    .theme-stackgamer-definitive-preview :where(.sgds-panel, .sgds-card, .product-card, .conversion-section) {
        padding-inline: var(--sg-space-3);
    }

    .theme-stackgamer-definitive-preview :where(h1, .conversion-hero h1) {
        overflow-wrap: anywhere;
    }

    .theme-stackgamer-definitive-preview :where(.sg-category-nav, .conversion-hero, .conversion-section, .conversion-configurator, .checkout-container) {
        width: min(100% - 16px, 1500px);
    }

    .theme-stackgamer-definitive-preview .sg-header-main {
        grid-template-columns: minmax(0, 1fr) auto;
        width: min(100% - 16px, 1500px);
        min-height: 58px;
        padding-block: 8px;
    }

    .theme-stackgamer-definitive-preview .sg-mobile-menu-toggle {
        display: inline-flex;
        position: relative;
    }

    .theme-stackgamer-definitive-preview .sg-header-brand-zone {
        min-width: 0;
    }

    .theme-stackgamer-definitive-preview .sg-header-t3 .brand-logo-container {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        min-height: 40px !important;
    }

    .theme-stackgamer-definitive-preview .sg-header-t3 .nav-logo-text strong {
        max-width: 160px;
        font-size: .82rem;
        letter-spacing: .08em;
    }

    .theme-stackgamer-definitive-preview .sg-header-t3 .nav-logo-text small {
        font-size: .46rem;
        letter-spacing: .20em;
    }

    .theme-stackgamer-definitive-preview .sg-header-actions {
        gap: 6px;
    }

    .theme-stackgamer-definitive-preview .sg-header-actions .sg-account-link,
    .theme-stackgamer-definitive-preview .sg-header-actions .sg-header-logout-form,
    .theme-stackgamer-definitive-preview .sg-header-actions .pwa-action-button,
    .theme-stackgamer-definitive-preview .sg-header-actions .pwa-status {
        display: none !important;
    }

    .theme-stackgamer-definitive-preview .sg-header-actions .btn-cart {
        min-width: 42px;
        padding-inline: 8px;
        font-size: 0;
        gap: 4px;
    }

    .theme-stackgamer-definitive-preview .sg-header-actions .btn-cart > span:first-child,
    .theme-stackgamer-definitive-preview .sg-header-actions .btn-cart .cart-badge {
        font-size: .76rem;
    }

    .theme-stackgamer-definitive-preview .sg-header-secondary {
        width: 100%;
        padding-inline: 8px;
    }

    .theme-stackgamer-definitive-preview .sg-header-secondary a {
        flex-basis: auto;
        min-width: max-content;
        padding-inline: 13px;
    }

    .theme-stackgamer-definitive-preview :where(.stack-coupons-wrapper, .whatsapp-float) {
        max-width: calc(100vw - 16px);
    }
}

@media (max-width: 420px) {
    .theme-stackgamer-definitive-preview .sg-header-t3 .brand-wrapper {
        gap: 8px;
    }

    .theme-stackgamer-definitive-preview .sg-header-t3 .nav-logo-text strong {
        max-width: 124px;
    }

    .theme-stackgamer-definitive-preview .sg-mobile-menu-panel {
        width: calc(100vw - 14px);
        padding: 12px;
    }
}

/* ETAPA 21.12-T.4 - responsividade da home principal. */
@media (max-width: 1180px) {
    .theme-stackgamer-definitive-preview .conversion-hero {
        grid-template-columns: minmax(0, 1fr) minmax(350px, .85fr) !important;
        gap: 18px 24px !important;
        padding: 34px !important;
    }

    .theme-stackgamer-definitive-preview .conversion-hero h1 {
        font-size: clamp(2.35rem, 4.7vw, 3.9rem) !important;
    }

    .theme-stackgamer-definitive-preview .conversion-trust {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    .theme-stackgamer-definitive-preview .conversion-category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    .theme-stackgamer-definitive-preview .conversion-setup-grid,
    .theme-stackgamer-definitive-preview .conversion-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 860px) {
    .theme-stackgamer-definitive-preview .conversion-hero {
        grid-template-columns: 1fr !important;
        grid-template-areas: "copy" "visual" "assurance" !important;
        min-height: 0 !important;
    }

    .theme-stackgamer-definitive-preview .conversion-hero-copy {
        align-self: start !important;
    }

    .theme-stackgamer-definitive-preview .conversion-hero-visual {
        min-height: 330px !important;
    }

    .theme-stackgamer-definitive-preview .conversion-hero-visual img {
        height: 330px !important;
        max-height: 330px !important;
    }

    .theme-stackgamer-definitive-preview .conversion-configurator {
        grid-template-columns: 1fr !important;
    }

    .theme-stackgamer-definitive-preview .conversion-setup-grid,
    .theme-stackgamer-definitive-preview .conversion-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 640px) {
    .theme-stackgamer-definitive-preview .conversion-hero {
        width: min(100% - 16px, 1500px) !important;
        margin-top: 12px !important;
        padding: 24px 18px 22px !important;
        gap: 16px !important;
        clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
    }

    .theme-stackgamer-definitive-preview .conversion-hero h1 {
        margin-block: 12px 14px !important;
        width: 100% !important;
        max-width: 100% !important;
        font-size: clamp(1.7rem, 7.4vw, 2.05rem) !important;
        overflow-wrap: normal !important;
    }

    .theme-stackgamer-definitive-preview .conversion-hero-copy {
        min-width: 0 !important;
    }

    .theme-stackgamer-definitive-preview .conversion-hero-eyebrow {
        font-size: .66rem !important;
        letter-spacing: .09em !important;
    }

    .theme-stackgamer-definitive-preview .conversion-hero-actions {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
    }

    .theme-stackgamer-definitive-preview .conversion-hero-actions .conversion-cta {
        justify-content: center;
        min-width: 0 !important;
        padding-inline: 10px !important;
        font-size: .72rem !important;
        text-align: center;
    }

    .theme-stackgamer-definitive-preview .conversion-hero-actions .conversion-cta-whatsapp {
        grid-column: 1 / -1;
    }

    .theme-stackgamer-definitive-preview .conversion-hero-visual {
        min-height: 250px !important;
    }

    .theme-stackgamer-definitive-preview .conversion-hero-visual img {
        height: 250px !important;
        max-height: 250px !important;
    }

    .theme-stackgamer-definitive-preview .conversion-hero-visual figcaption {
        right: 0 !important;
        bottom: 0 !important;
        width: min(310px, 94%) !important;
        max-width: 94% !important;
    }

    .theme-stackgamer-definitive-preview .conversion-hero-assurance {
        padding: 12px !important;
    }

    .theme-stackgamer-definitive-preview .conversion-trust {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        width: min(100% - 16px, 1500px) !important;
    }

    .theme-stackgamer-definitive-preview .conversion-trust > * {
        grid-template-columns: 28px minmax(0, 1fr) !important;
        min-height: 92px !important;
        padding: 10px 8px !important;
        gap: 2px 7px !important;
    }

    .theme-stackgamer-definitive-preview .conversion-trust-icon {
        width: 26px;
        height: 28px;
    }

    .theme-stackgamer-definitive-preview .conversion-trust-icon svg {
        width: 24px;
        height: 24px;
    }

    .theme-stackgamer-definitive-preview .conversion-home {
        width: min(100% - 16px, 1500px) !important;
        gap: 12px !important;
    }

    .theme-stackgamer-definitive-preview .conversion-section {
        width: 100% !important;
        padding: 20px 14px !important;
    }

    .theme-stackgamer-definitive-preview .conversion-section-heading {
        align-items: start !important;
        gap: 10px !important;
    }

    .theme-stackgamer-definitive-preview .conversion-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
    }

    .theme-stackgamer-definitive-preview .conversion-category-grid > a {
        grid-template-rows: 104px auto !important;
        min-height: 182px !important;
        padding: 8px 8px 12px !important;
    }

    .theme-stackgamer-definitive-preview .conversion-category-media {
        height: 104px;
    }

    .theme-stackgamer-definitive-preview .conversion-category-media > img {
        height: 94px;
    }

    .theme-stackgamer-definitive-preview .conversion-configurator-visual {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        padding: 12px !important;
    }

    .theme-stackgamer-definitive-preview .conversion-configurator-visual > .sg-component-icon {
        min-height: 88px !important;
    }

    .theme-stackgamer-definitive-preview .whatsapp-float {
        top: auto !important;
        right: 10px !important;
        bottom: 10px !important;
        left: auto !important;
        width: 46px !important;
        height: 46px !important;
        transform: none !important;
    }

    .theme-stackgamer-definitive-preview .conversion-setup-grid,
    .theme-stackgamer-definitive-preview .conversion-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
    }
}

@media (max-width: 390px) {
    .theme-stackgamer-definitive-preview .conversion-hero h1 {
        font-size: 1.62rem !important;
    }

    .theme-stackgamer-definitive-preview .conversion-category-copy strong {
        font-size: .72rem !important;
    }

    .theme-stackgamer-definitive-preview .conversion-product-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ETAPA 21.12-T.5 - produtos, modal e pagina individual */
@media (max-width: 1023px) {
    .theme-stackgamer-definitive-preview .sg-product-modal-layout,
    .theme-stackgamer-definitive-preview .sg-product-page-main {
        grid-template-columns: 1fr !important;
    }

    .theme-stackgamer-definitive-preview .sg-product-gallery,
    .theme-stackgamer-definitive-preview .sg-product-page-gallery {
        position: static !important;
    }

    .theme-stackgamer-definitive-preview .sg-product-page-support-grid,
    .theme-stackgamer-definitive-preview .sg-product-page-details-grid {
        grid-template-columns: 1fr 1fr !important;
    }
}

@media (max-width: 640px) {
    .theme-stackgamer-definitive-preview .conversion-product-grid {
        grid-template-columns: 1fr !important;
    }

    .theme-stackgamer-definitive-preview .conversion-product-grid .product-card {
        width: 100% !important;
        height: 100% !important;
        min-height: 610px !important;
    }

    .theme-stackgamer-definitive-preview .cyber-modal-overlay {
        padding: 6px !important;
        align-items: start !important;
        overflow-y: auto !important;
    }

    .theme-stackgamer-definitive-preview .cyber-modal-content {
        width: 100% !important;
        max-height: calc(100dvh - 12px) !important;
        padding: 42px 12px 16px !important;
        overscroll-behavior: contain;
    }

    .theme-stackgamer-definitive-preview .sg-product-modal-layout {
        gap: 16px !important;
    }

    .theme-stackgamer-definitive-preview .sg-product-gallery-main {
        height: 270px !important;
        min-height: 270px !important;
    }

    .theme-stackgamer-definitive-preview .sg-product-gallery-main img {
        height: 270px !important;
        max-height: 270px !important;
    }

    .theme-stackgamer-definitive-preview .sg-product-gallery-thumbnails {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }

    .theme-stackgamer-definitive-preview .modal-action-bar {
        position: static !important;
        grid-template-columns: 1fr !important;
    }

    .theme-stackgamer-definitive-preview .sg-product-page {
        width: min(100% - 16px, 1500px) !important;
        margin-block: 14px 24px !important;
    }

    .theme-stackgamer-definitive-preview .sg-product-page-heading,
    .theme-stackgamer-definitive-preview .sg-product-page-gallery,
    .theme-stackgamer-definitive-preview .sg-product-page-buybox,
    .theme-stackgamer-definitive-preview .sg-product-page-section {
        padding: 16px 14px !important;
    }

    .theme-stackgamer-definitive-preview .sg-product-page-heading h1 {
        font-size: clamp(1.35rem, 7vw, 1.9rem) !important;
    }

    .theme-stackgamer-definitive-preview .sg-product-page-main-image {
        min-height: 285px !important;
    }

    .theme-stackgamer-definitive-preview .sg-product-page-main-image img {
        height: 285px !important;
        max-height: 285px !important;
    }

    .theme-stackgamer-definitive-preview .sg-product-page-payment-grid,
    .theme-stackgamer-definitive-preview .sg-product-page-actions,
    .theme-stackgamer-definitive-preview .sg-product-page-support-grid,
    .theme-stackgamer-definitive-preview .sg-product-page-details-grid {
        grid-template-columns: 1fr !important;
    }

    .theme-stackgamer-definitive-preview .sg-product-page-price {
        font-size: clamp(1.75rem, 9vw, 2.45rem) !important;
    }
}

/* ETAPA 21.12-T.6 - campanhas e cupons responsivos. */
@media (max-width: 1100px) {
    .theme-stackgamer-definitive-preview .conversion-coupon-grid { grid-template-columns: 1fr !important; }
}

@media (max-width: 700px) {
    .theme-stackgamer-definitive-preview .conversion-coupon-card {
        grid-template-columns: 1fr !important;
        min-height: 0 !important;
        padding: 14px !important;
        gap: 11px !important;
    }

    .theme-stackgamer-definitive-preview .conversion-coupon-discount {
        min-height: 72px !important;
        padding: 16px !important;
    }

    .theme-stackgamer-definitive-preview .conversion-coupon-info {
        padding: 2px 0 !important;
    }

    .theme-stackgamer-definitive-preview .conversion-coupon-info .coupon-code {
        font-size: clamp(1rem, 6vw, 1.35rem) !important;
    }

    .theme-stackgamer-definitive-preview .conversion-coupon-rule {
        display: block !important;
        overflow: visible !important;
        -webkit-line-clamp: initial;
    }

    .theme-stackgamer-definitive-preview .conversion-coupon-copy {
        width: 100% !important;
        padding: 11px 0 0 !important;
        border-top: 1px solid rgba(0,240,255,.20) !important;
        border-left: 0 !important;
    }

    .theme-stackgamer-definitive-preview .conversion-campaign-hero {
        grid-template-columns: 1fr !important;
        min-height: 0 !important;
        padding: 24px 18px !important;
        gap: 18px !important;
        background-position: 60% center !important;
    }

    .theme-stackgamer-definitive-preview .conversion-campaign-hero .promo-content { min-width: 0 !important; }
    .theme-stackgamer-definitive-preview .sg-campaign-public-status { margin: 8px 0 0 !important; }
    .theme-stackgamer-definitive-preview .sg-campaign-actions { align-items: stretch; flex-direction: column; }
    .theme-stackgamer-definitive-preview .sg-campaign-actions > * { width: 100%; justify-content: center; text-align: center; }

    .theme-stackgamer-definitive-preview .sg-campaign-admin,
    .theme-stackgamer-definitive-preview .sg-coupon-admin {
        width: calc(100% - 16px) !important;
        margin-block: 12px 24px !important;
        padding: 14px !important;
    }

    .theme-stackgamer-definitive-preview .sg-campaign-table { min-width: 0 !important; }
    .theme-stackgamer-definitive-preview .sg-campaign-table thead { display: none; }
    .theme-stackgamer-definitive-preview .sg-campaign-table,
    .theme-stackgamer-definitive-preview .sg-campaign-table tbody,
    .theme-stackgamer-definitive-preview .sg-campaign-table tr,
    .theme-stackgamer-definitive-preview .sg-campaign-table td { display: block; width: 100%; }
    .theme-stackgamer-definitive-preview .sg-campaign-table tr { padding: 12px; border-bottom: 1px solid rgba(0,240,255,.24) !important; }
    .theme-stackgamer-definitive-preview .sg-campaign-table td { padding: 7px 4px !important; border: 0 !important; text-align: left !important; }
    .theme-stackgamer-definitive-preview .sg-campaign-table .action-group { justify-content: flex-start !important; flex-wrap: wrap; }
}
/* ETAPA 21.12-T.7 */
@media (max-width: 1100px) {
    .theme-stackgamer-definitive-preview.sg-page-setup .progress-indicator { grid-template-columns:repeat(5,minmax(110px,1fr)); }
    .theme-stackgamer-definitive-preview.sg-page-checkout .sg-checkout-layout { grid-template-columns:1fr; }
}
@media (max-width: 700px) {
    .theme-stackgamer-definitive-preview.sg-page-setup .grid-layout { padding:16px 12px; }
    .theme-stackgamer-definitive-preview.sg-page-setup .progress-indicator { display:flex; flex-wrap:nowrap; justify-content:flex-start; scroll-snap-type:x mandatory; }
    .theme-stackgamer-definitive-preview.sg-page-setup .progress-indicator::before { display:none; }
    .theme-stackgamer-definitive-preview.sg-page-setup .step-badge { flex:0 0 155px; scroll-snap-align:start; }
    .theme-stackgamer-definitive-preview.sg-page-setup .setup-status-strip { flex-direction:column; }
    .theme-stackgamer-definitive-preview .cyber-cart-sidebar { max-width:100%; }
    .theme-stackgamer-definitive-preview .cart-item { grid-template-columns:58px minmax(0,1fr); }
    .theme-stackgamer-definitive-preview .cart-item-image { width:58px; height:58px; }
    .theme-stackgamer-definitive-preview .cart-item-controls { grid-template-columns:auto 1fr; }
    .theme-stackgamer-definitive-preview .cart-remove { grid-column:1/-1; justify-self:start; }
    .theme-stackgamer-definitive-preview.sg-page-checkout .sg-checkout-wrapper { padding:18px 10px 42px; }
    .theme-stackgamer-definitive-preview.sg-page-checkout .sg-checkout-shell { padding:15px; }
    .theme-stackgamer-definitive-preview.sg-page-checkout .sg-checkout-heading { align-items:flex-start; flex-direction:column; }
    .theme-stackgamer-definitive-preview.sg-page-checkout .sg-checkout-progress { grid-template-columns:1fr; }
    .theme-stackgamer-definitive-preview.sg-page-checkout .sg-checkout-progress span { text-align:left; }
    .theme-stackgamer-definitive-preview.sg-page-checkout :is(.sg-checkout-main,.sg-checkout-summary) { padding:14px; }
    .theme-stackgamer-definitive-preview.sg-page-checkout .sg-checkout-item { grid-template-columns:34px minmax(0,1fr); }
    .theme-stackgamer-definitive-preview.sg-page-checkout .sg-checkout-item strong { grid-column:2; }
    .theme-stackgamer-definitive-preview.sg-page-checkout .cupom-input-row { flex-direction:column; }
    .theme-stackgamer-definitive-preview.sg-page-checkout .cupom-input-row button { width:100%; }
    .theme-stackgamer-definitive-preview.sg-page-checkout .checkout-payment-options { display:grid; grid-template-columns:repeat(3,1fr); }
}
/* ETAPA 21.12-T.8 */
@media (max-width: 1200px) {
    .theme-stackgamer-definitive-preview .premium-footer-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .theme-stackgamer-definitive-preview .premium-footer :is(.footer-brand-panel,.footer-navigation-panel,.footer-categories-panel,.footer-payments-panel,.footer-contact-newsletter-panel,.footer-social-panel) { grid-column:auto; }
    .theme-stackgamer-definitive-preview .premium-footer .footer-social-panel { grid-column:1 / -1; justify-self:center; width:min(100%,420px); }
    .theme-stackgamer-definitive-preview .premium-payment-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width: 760px) {
    .theme-stackgamer-definitive-preview .premium-footer-grid { grid-template-columns:1fr; }
    .theme-stackgamer-definitive-preview .footer-brand-panel { grid-template-columns:58px minmax(0,1fr); }
    .theme-stackgamer-definitive-preview .footer-brand-orbit { width:52px; height:52px; }
    .theme-stackgamer-definitive-preview .footer-brand-orbit img { width:47px; height:47px; }
    .theme-stackgamer-definitive-preview .footer-navigation-panel { grid-template-columns:1fr; }
    .theme-stackgamer-definitive-preview .footer-categories-panel { grid-template-columns:1fr 1fr; }
    .theme-stackgamer-definitive-preview .premium-payment-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .theme-stackgamer-definitive-preview .footer-bottom-bar { align-items:flex-start; flex-direction:column; }
    .theme-stackgamer-definitive-preview.sg-page-institucional .sg-institutional-page { width:min(100% - 20px,1220px); margin-top:18px; }
    .theme-stackgamer-definitive-preview.sg-page-institucional .sg-institutional-hero { padding:24px 18px; }
    .theme-stackgamer-definitive-preview.sg-page-institucional .sg-institutional-layout { grid-template-columns:1fr; }
    .theme-stackgamer-definitive-preview.sg-page-institucional .sg-institutional-nav { position:static; grid-template-columns:repeat(2,minmax(0,1fr)); }
    .theme-stackgamer-definitive-preview.sg-page-institucional .sg-institutional-nav strong { grid-column:1/-1; }
    .theme-stackgamer-definitive-preview.sg-page-institucional .sg-institutional-content { padding:20px 17px; }
}
@media (max-width: 480px) {
    .theme-stackgamer-definitive-preview .premium-payment-grid,
    .theme-stackgamer-definitive-preview .footer-categories-panel { grid-template-columns:1fr; }
    .theme-stackgamer-definitive-preview .payment-card { min-height:58px; }
}

/* FASE 7.0 - ordem do topo em homologacao admin. */
.theme-stackgamer-definitive-preview .admin-homolog-bar.sg-admin-toolbar,
.theme-stackgamer-definitive-preview .sg-admin-toolbar {
    position: relative !important;
    top: auto !important;
    z-index: 120 !important;
}

.theme-stackgamer-definitive-preview .admin-central-wrapper {
    position: relative;
    z-index: 110;
    width: 100%;
    padding: 10px 0 12px;
    border-bottom: 1px solid rgba(0, 240, 255, .12);
    background: rgba(3, 5, 11, .92);
}

.theme-stackgamer-definitive-preview body.admin-mode .admin-central-wrapper .sg-admin-console-nav,
body.theme-stackgamer-definitive-preview.admin-mode .admin-central-wrapper .sg-admin-console-nav,
body.theme-stackgamer-definitive-preview.admin-mode .sg-admin-console-nav {
    position: relative !important;
    top: auto !important;
    z-index: 1 !important;
    margin: 0 auto;
}

body.theme-stackgamer-definitive-preview.admin-mode .sg-admin-central-head {
    position: static !important;
}

.theme-stackgamer-definitive-preview .store-header.sg-header-t3 {
    position: sticky !important;
    top: 0 !important;
    z-index: 100 !important;
}

.theme-stackgamer-definitive-preview .store-main-nav.sg-header-main {
    position: relative !important;
    top: auto !important;
    z-index: 2 !important;
}

.theme-stackgamer-definitive-preview .store-main-nav.sg-header-secondary,
.theme-stackgamer-definitive-preview .store-sub-nav {
    position: relative;
    z-index: 1;
}

@media (max-width: 640px) {
    .theme-stackgamer-definitive-preview .admin-quick-menu.sg-admin-quick-links,
    .theme-stackgamer-definitive-preview .admin-emergency-row.sg-admin-preview-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
    }

    .theme-stackgamer-definitive-preview .admin-quick-menu.sg-admin-quick-links a,
    .theme-stackgamer-definitive-preview .admin-emergency-row.sg-admin-preview-actions a,
    .theme-stackgamer-definitive-preview .admin-emergency-row.sg-admin-preview-actions button {
        justify-content: center;
        width: 100%;
        min-width: 0;
        text-align: center;
    }
}
