/* ═══════════════════════════════════════════════════════════════
   Simulador 3D — tema acoplado a docs/design.json (tokens --ds-*).
   Makuim Sports: UI clara (site) + canvas preto + lima como destaque.
   ═══════════════════════════════════════════════════════════════ */

/* ─── DESIGN TOKENS ───
   Tokens --ds-* vêm do PHP index.php + OcDesignCss (docs/design.json). */
:root {
    /* Fallbacks alinhados ao site institucional quando --ds-* não estão injectados */
    --oc-bg: var(--ds-bg-page, #f4f5f7);
    --oc-bg-soft: var(--ds-bg-section-alt, #eef0f4);
    --oc-surface: var(--ds-bg-card, #ffffff);
    --oc-surface-2: var(--ds-surface-card-hover, #f7f8fa);

    --oc-text: var(--ds-text-primary, #111827);
    --oc-text-2: var(--ds-text-secondary, #4b5563);
    --oc-text-muted: var(--ds-text-muted, #6b7280);
    --oc-text-soft: var(--ds-text-muted, #9ca3af);

    --oc-border: var(--ds-border, #e5e7eb);
    --oc-border-2: var(--ds-border-subtle, #eef1f4);
    --oc-divider: var(--ds-border-subtle, #eef1f4);

    --oc-brand: var(--ds-accent, #99FF00);
    --oc-brand-2: #7ACC00;
    --oc-brand-soft: rgba(153, 255, 0, 0.12);

    --oc-cta: var(--ds-accent, #99FF00);
    --oc-cta-hover: #b3ff4d;
    --oc-cta-soft: var(--ds-accent-light, rgba(153, 255, 0, 0.14));

    --oc-shadow-xs: var(--ds-shadow-card, 0 1px 3px rgba(15, 23, 42, 0.06));
    --oc-shadow-sm: var(--ds-shadow-card, 0 4px 14px rgba(15, 23, 42, 0.07));
    --oc-shadow: 0 6px 22px rgba(15, 23, 42, 0.08);
    --oc-shadow-lg: 0 16px 44px rgba(15, 23, 42, 0.10);
    --oc-shadow-xl: 0 24px 48px rgba(15, 23, 42, 0.12);

    --oc-radius-sm: 8px;
    --oc-radius: 12px;
    --oc-radius-lg: 18px;
    --oc-radius-pill: 999px;

    --oc-ease: cubic-bezier(0.4, 0, 0.2, 1);
    --oc-dur: 220ms;

    --oc-header-h: 64px;
    --oc-footer-h: 32px;
    --oc-action-bar-h: 82px;
    --oc-sidebar-w: 280px;
}

/* ═══════════════════════════════════════════
   0. RESET & GLOBAL
   ═══════════════════════════════════════════ */

body,
html {
    background: var(--oc-bg) !important;
    color: var(--oc-text) !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    margin: 0;
    padding: 0;
    overflow: hidden;
    height: 100%;
}

#root,
.App {
    background: var(--oc-bg) !important;
    color: var(--oc-text) !important;
    min-height: 100vh;
    max-height: 100vh;
    overflow: hidden !important;
    position: relative;
}

/* Three.js view — coluna externa (flex) com altura inline vinda do bundle.
   Cobre `calc(100vh - 100px)` e a forma serializada `calc(-100px + 100vh)`. */
#root div[style*="calc(-100px + 100vh)"],
#root div[style*="calc(100vh - 100px)"] {
    height: calc(-300px + 130vh) !important;
    margin-top: 50px !important;
    max-height: none !important;
    background: var(--oc-bg) !important;
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--oc-border-2);
    border-radius: 8px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--oc-text-soft);
}

::selection {
    background: var(--oc-brand);
    color: #0d0d0d;
}


/* ═══════════════════════════════════════════
   1. HIDE BUNDLE LEGACY UI
   ═══════════════════════════════════════════ */

header[class*="MuiAppBar"],
.MuiAppBar-root {
    display: none !important;
}

.styles_icons__Qf2b\+,
div[class*="styles_icons__"] {
    display: none !important;
}

#root h1,
#root h2 {
    display: none !important;
}

img[src*="SELO"],
img[src*="selo"],
img[src*="bg-export"],
img[src*="watermark"],
div[class*="selo"],
div[class*="stamp"] {
    display: none !important;
}

img[alt="logo"]:not(.oc-keep),
.logo:not(.oc-keep) {
    display: none !important;
}

a[href*="gtxsports"],
a[href*="simuladorgtx"],
div[class*="styles_footer"],
div[class*="styles_powered"],
div[class*="styles_info"],
div[class*="styles_navbar"] {
    display: none !important;
}

#root nav[aria-label="breadcrumb"],
#root [class*="MuiBreadcrumbs"] {
    display: none !important;
}

/* Social icon links (the footer Box itself is hidden via JS) */
#root a[href*="facebook.com"],
#root a[href*="twitter.com"],
#root a[href*="instagram.com"],
#root a[href*="wa.me/"],
#root a[href*="whatsapp"],
#root a[href^="tel:"],
#root a[href^="mailto:"] {
    display: none !important;
}

/* HIDE the native MuiList nav (but keep it in DOM so React state lives) */
#root nav.MuiList-root.hideScrollbar.oc-native-hidden,
#root nav.MuiList-root.hideScrollbar {
    position: fixed !important;
    left: -10000px !important;
    top: -10000px !important;
    width: 320px !important;
    max-width: 320px !important;
    max-height: 80vh !important;
    height: auto !important;
    overflow: auto !important;
    transform: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
    z-index: -1 !important;
}

/*
 * While opening the native <input type="file"> from custom LOGOS UI, relax
 * visibility/pointer-events so Blink/WebKit allow showPicker()/click() on inputs
 * that live inside the hidden nav (see triggerNativeFileInput).
 */
body.oc-unlock-file-picker #root nav.MuiList-root.hideScrollbar,
body.oc-unlock-file-picker #root nav.MuiList-root.hideScrollbar.oc-native-hidden {
    visibility: visible !important;
    pointer-events: auto !important;
    opacity: 0.01 !important;
    z-index: 9400 !important;
}

/* Projected content INSIDE a modal — make it visible again */
.oc-modal-projected,
.oc-modal-projected-row {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    height: auto !important;
}


/* ═══════════════════════════════════════════
   2. CANVAS BACKGROUND (WebGL com alpha — alinha ao tema claro)
   ═══════════════════════════════════════════ */

canvas {
    background: var(--oc-bg) !important;
}

/* Carousel GTX — o bundle usa <svg> (Chevron wb/bb), não IconButton; fill vinha #000 */
#root svg.oc-carousel-prev path,
#root svg.oc-carousel-prev {
    fill: #111827 !important;
    color: #111827 !important;
}

#root svg.oc-carousel-next path,
#root svg.oc-carousel-next {
    fill: #99FF00 !important;
    color: #99FF00 !important;
}

#root svg.oc-carousel-prev {
    filter: drop-shadow(0 2px 8px rgba(15, 23, 42, 0.12));
}

#root svg.oc-carousel-next {
    filter: drop-shadow(0 2px 16px rgba(153, 255, 0, 0.55));
}

#root button.MuiIconButton-root.oc-carousel-prev {
    color: #111827 !important;
}

#root button.MuiIconButton-root.oc-carousel-next {
    color: #99FF00 !important;
}

#root button.MuiIconButton-root.oc-carousel-prev svg path,
#root button.MuiIconButton-root.oc-carousel-next svg path {
    fill: currentColor !important;
}

/* Esconde overlay cubo azul “Preparando Modelo” do bundle (substituído pelo nosso) */
#root .oc-hide-native-loader {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Loader da marca — mesma linguagem do splash (#oc-splash) */
#oc-model-loader {
    position: fixed;
    top: var(--oc-header-h);
    left: var(--oc-sidebar-w);
    right: 0;
    bottom: var(--oc-footer-h);
    z-index: 24;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--oc-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s var(--oc-ease), visibility 0.35s;
}

#oc-model-loader.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.oc-model-loader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: min(360px, 88vw);
}

.oc-model-loader-logo {
    width: auto;
    max-width: min(300px, 82vw);
    max-height: 96px;
    height: auto;
    filter: drop-shadow(0 8px 22px rgba(153, 255, 0, 0.2));
}

.oc-model-loader-text {
    margin-top: 20px;
    font-family: 'Barlow Condensed', 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--oc-text-2, #a8a8a8);
}

.oc-model-loader-bar {
    margin-top: 18px;
    width: 200px;
    height: 2px;
    background: var(--oc-border, #2a2a2a);
    border-radius: 2px;
    overflow: hidden;
}

.oc-model-loader-bar-fill {
    height: 100%;
    width: 0%;
    background: var(--ds-gradient-progress, linear-gradient(90deg, var(--oc-cta), var(--oc-brand)));
    animation: oc-loading-bar 2.2s var(--oc-ease) 0.2s forwards;
}

#oc-canvas-overlay {
    position: fixed;
    top: var(--oc-header-h);
    left: var(--oc-sidebar-w);
    right: 0;
    bottom: var(--oc-footer-h);
    pointer-events: none;
    z-index: 1;
    /* Sem textura — o repeating-linear-gradient lia-se como listras verticais no fundo preto */
    background-image: none;
}

#oc-vignette {
    position: fixed;
    top: var(--oc-header-h);
    left: var(--oc-sidebar-w);
    right: 0;
    bottom: var(--oc-footer-h);
    pointer-events: none;
    z-index: 2;
    background: radial-gradient(ellipse at 50% 50%,
            transparent 58%,
            rgba(15, 23, 42, 0.06) 100%);
}


/* ═══════════════════════════════════════════
   3. SPLASH
   ═══════════════════════════════════════════ */

#oc-splash {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: var(--ds-bg-page, var(--oc-bg));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s var(--oc-ease), visibility 0.5s;
}

#oc-splash.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

#oc-splash .splash-logo {
    width: auto;
    max-width: min(320px, 86vw);
    max-height: 120px;
    height: auto;
    animation: oc-pulse 1.8s var(--oc-ease) infinite;
    filter: drop-shadow(0 8px 24px rgba(153, 255, 0, 0.22));
}

#oc-splash .splash-text {
    margin-top: 18px;
    font-family: 'Barlow Condensed', 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: var(--oc-text-2);
    opacity: 0;
    animation: oc-fade-up 0.6s var(--oc-ease) 0.2s forwards;
}

#oc-splash .splash-bar {
    margin-top: 22px;
    width: 200px;
    height: 2px;
    background: var(--oc-border);
    border-radius: 2px;
    overflow: hidden;
    opacity: 0;
    animation: oc-fade-up 0.6s var(--oc-ease) 0.4s forwards;
}

#oc-splash .splash-bar-fill {
    height: 100%;
    width: 0%;
    background: var(--ds-gradient-progress, linear-gradient(90deg, var(--oc-cta), var(--oc-brand)));
    animation: oc-loading-bar 2.2s var(--oc-ease) 0.5s forwards;
}

@keyframes oc-pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.06);
        opacity: 0.9;
    }
}

@keyframes oc-fade-up {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes oc-loading-bar {
    0% {
        width: 0%;
    }

    40% {
        width: 55%;
    }

    80% {
        width: 85%;
    }

    100% {
        width: 100%;
    }
}


/* ═══════════════════════════════════════════
   4. HEADER
   ═══════════════════════════════════════════ */

#oc-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--oc-header-h);
    z-index: 1000;
    background: var(--oc-surface);
    border-bottom: 1px solid var(--oc-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 28px;
    box-sizing: border-box;
    box-shadow: var(--oc-shadow-xs);
}

.oc-header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.oc-hamburger {
    display: none;
    width: 38px;
    height: 38px;
    background: transparent;
    border: 1px solid var(--oc-border);
    border-radius: var(--oc-radius-sm);
    color: var(--oc-text-2);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--oc-dur) var(--oc-ease);
}

.oc-hamburger:hover {
    border-color: var(--oc-cta);
    color: var(--oc-cta-hover);
}

.oc-header-logo {
    height: 38px;
    width: auto;
    cursor: pointer;
    transition: opacity var(--oc-dur) var(--oc-ease);
}

.oc-header-logo:hover {
    opacity: 0.85;
}

.oc-header-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 500;
    color: var(--oc-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.oc-header-breadcrumb .crumb-home {
    cursor: pointer;
    font-size: 14px;
    color: var(--oc-text-2);
    transition: color var(--oc-dur);
}

.oc-header-breadcrumb .crumb-home:hover {
    color: var(--oc-brand);
}

.oc-header-breadcrumb .crumb-sep {
    color: var(--oc-text-soft);
    font-size: 10px;
}

.oc-header-breadcrumb .crumb-active {
    color: var(--oc-brand);
    font-weight: 700;
}

.oc-header-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.oc-cart-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--oc-radius-sm);
    background: var(--oc-cta);
    border: none;
    color: #0d0d0d;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--oc-dur) var(--oc-ease);
    box-shadow: 0 4px 10px rgba(153, 255, 0, 0.25);
}

.oc-cart-btn:hover {
    background: var(--oc-cta-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(153, 255, 0, 0.35);
}

.oc-header-icon-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--oc-radius-sm);
    background: rgba(255, 255, 255, 0.96);
    color: #111827 !important;
    border: 1px solid rgba(153, 255, 0, 0.42);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--oc-dur) var(--oc-ease);
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.08);
}

.oc-header-icon-btn:hover {
    color: #374151 !important;
    background: #ffffff;
    border-color: var(--oc-cta);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(153, 255, 0, 0.18), 0 4px 14px rgba(15, 23, 42, 0.08);
}

.oc-header-icon-btn svg {
    display: block;
}


/* ═══════════════════════════════════════════
   5. CUSTOM SIDEBAR — Icone Sports style
   ═══════════════════════════════════════════ */

#oc-sidebar {
    position: fixed;
    top: var(--oc-header-h);
    left: 0;
    bottom: var(--oc-footer-h);
    width: var(--oc-sidebar-w);
    background: var(--oc-surface);
    border-right: 1px solid var(--oc-border);
    z-index: 900;
    padding: 24px 22px 28px;
    box-sizing: border-box;
    overflow-y: auto;
    box-shadow: var(--oc-shadow-xs);
}

#oc-sidebar::before {
    content: 'PERSONALIZAÇÃO';
    display: block;
    font-family: 'Barlow Condensed', 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3.5px;
    color: var(--oc-text-muted);
    padding-bottom: 16px;
    border-bottom: 1px solid var(--oc-divider);
    margin-bottom: 20px;
}

/* ── 5a. Top grid: MODELO / LOGOS as icon cards ── */

.oc-side-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 22px;
}

.oc-side-card {
    background: var(--oc-surface);
    border: 1px solid var(--oc-border);
    border-radius: var(--oc-radius);
    padding: 14px 10px 12px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: all var(--oc-dur) var(--oc-ease);
    box-shadow: var(--oc-shadow-xs);
    font-family: inherit;
    color: var(--oc-text);
    position: relative;
    overflow: hidden;
}

.oc-side-card:hover {
    border-color: var(--oc-cta);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(153, 255, 0, 0.18);
}

.oc-side-card::before {
    content: '';
    position: absolute;
    top: 8px;
    bottom: 8px;
    left: 0;
    width: 3px;
    background: var(--oc-cta);
    border-radius: 0 3px 3px 0;
    transform: scaleY(0);
    transition: transform var(--oc-dur) var(--oc-ease);
}

.oc-side-card:hover::before {
    transform: scaleY(1);
}

.oc-side-card-label {
    font-family: 'Barlow Condensed', 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.6px;
    color: var(--oc-text-2);
    text-transform: uppercase;
    text-align: center;
}

.oc-side-card:hover .oc-side-card-label {
    color: var(--oc-cta-hover);
}

.oc-side-card-thumb {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: var(--oc-bg-soft);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    border: 2px solid var(--oc-border-2);
    transition: border-color var(--oc-dur);
}

.oc-side-card:hover .oc-side-card-thumb {
    border-color: var(--oc-cta);
}

.oc-side-card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--oc-text-2);
    transition: color var(--oc-dur);
}

.oc-side-card-icon svg {
    width: 38px;
    height: 38px;
}

.oc-side-card:hover .oc-side-card-icon {
    color: var(--oc-cta-hover);
}

/* MODELO card spans both columns (matches Icone print) */
.oc-side-modelo {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: flex-start;
    gap: 14px;
    padding: 12px 14px;
}

.oc-side-modelo .oc-side-card-label {
    text-align: left;
    flex: 1;
}

.oc-side-modelo .oc-side-card-thumb {
    width: 54px;
    height: 54px;
    background-size: cover;
}

.oc-side-divider {
    height: 1px;
    background: var(--oc-divider);
    margin: 18px 0;
}

.oc-side-label-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.oc-side-label {
    font-family: 'Barlow Condensed', 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--oc-text-muted);
    text-transform: uppercase;
}

/* ── 5b. CORES section: rows of part + swatch pills ── */

.oc-cores-pills {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.oc-cor-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: var(--oc-surface);
    border: 1px solid var(--oc-border);
    border-radius: var(--oc-radius-pill);
    cursor: pointer;
    font-family: inherit;
    transition: all var(--oc-dur) var(--oc-ease);
}

.oc-cor-pill:hover {
    border-color: var(--oc-cta);
    background: var(--oc-cta-soft);
    transform: translateX(2px);
}

.oc-cor-pill-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--oc-text);
    letter-spacing: 0.4px;
}

.oc-cor-pill:hover .oc-cor-pill-label {
    color: var(--oc-cta-hover);
}

.oc-cor-pill-swatch {
    display: flex;
    width: 46px;
    height: 22px;
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid var(--oc-border-2);
    background: linear-gradient(to right, #e8ecf0 0%, #e8ecf0 50%, #f3f5f7 50%, #f3f5f7 100%);
}

.oc-cor-pill-half-1 {
    flex: 1;
    height: 100%;
    background: #e8ecf0;
}

.oc-cor-pill-half-2 {
    flex: 1;
    height: 100%;
    background: #f3f5f7;
    border-left: 1px solid var(--oc-border);
}

/* ── 5c. MANGAS E GOLA: dark horizontal bar (matches Icone print) ── */

.oc-mangas-bar {
    width: 100%;
    height: 32px;
    background: linear-gradient(180deg, #2d3748 0%, #1a202c 100%);
    border-radius: var(--oc-radius-pill);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--oc-dur) var(--oc-ease);
    box-shadow: 0 3px 10px rgba(15, 23, 42, 0.18);
}

.oc-mangas-bar:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.28);
}

/* Moletom, pesca, ciclismo, polo (URL catalog) e uniformes (rota React) — sem troca de gola na UI Oceanica */
body.oc-hide-collar-ui #oc-mangas-divider,
body.oc-hide-collar-ui #oc-mangas-section {
    display: none !important;
}

body.oc-hide-collar-ui #oc-edit-header .oc-edit-tab[data-tab="mangas-gola"] {
    display: none !important;
}

body.oc-hide-calcao-meiao-cores #oc-cores-pills .oc-cor-pill[data-part="Calção"],
body.oc-hide-calcao-meiao-cores #oc-cores-pills .oc-cor-pill[data-part="Meião"] {
    display: none !important;
}

.oc-mangas-bar-text {
    color: #fff;
    font-family: 'Barlow Condensed', 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    opacity: 0.85;
}

.oc-mobile-close {
    display: none;
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    background: var(--oc-bg-soft);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: var(--oc-text-2);
    font-size: 14px;
    align-items: center;
    justify-content: center;
}


/* ═══════════════════════════════════════════
   6. MODAL SHELL
   ═══════════════════════════════════════════ */

#oc-modal-root {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 9000;
    display: none;
    background: rgba(15, 23, 42, 0.35);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
    padding: 24px;
    box-sizing: border-box;
    animation: oc-fade-in 220ms var(--oc-ease);
}

#oc-modal-root.oc-modal-active {
    display: flex;
}

@keyframes oc-fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes oc-modal-pop {
    from {
        opacity: 0;
        transform: scale(0.96) translateY(8px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.oc-modal {
    background: var(--oc-surface);
    border-radius: 16px;
    box-shadow: var(--oc-shadow-xl);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: oc-modal-pop 280ms var(--oc-ease);
    max-height: calc(100vh - 48px);
}

.oc-modal-variant-large {
    width: min(1200px, 95vw);
    height: min(820px, 90vh);
}

.oc-modal-variant-medium {
    width: min(560px, 95vw);
    max-height: min(760px, 90vh);
}

.oc-modal-variant-small {
    width: min(440px, 95vw);
    max-height: min(680px, 88vh);
}

.oc-modal-header {
    flex: 0 0 auto;
    padding: 18px 24px;
    border-bottom: 1px solid var(--oc-divider);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--oc-surface-2);
}

.oc-modal-title {
    margin: 0;
    font-family: 'Barlow Condensed', 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 2.8px;
    color: var(--oc-text);
    text-transform: uppercase;
    display: block !important;
    opacity: 1 !important;
}

.oc-modal-close {
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: var(--oc-text-muted);
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--oc-dur);
}

.oc-modal-close:hover {
    background: var(--oc-bg-soft);
    color: var(--oc-text);
}

.oc-modal-body {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 22px 24px 26px;
}

.oc-modal-empty {
    padding: 60px 20px;
    text-align: center;
    color: var(--oc-text-muted);
    font-size: 13px;
}

.oc-modal-block {
    margin-bottom: 22px;
}

.oc-modal-block:last-child {
    margin-bottom: 0;
}

.oc-modal-block-title {
    font-family: 'Barlow Condensed', 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: var(--oc-text-muted);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.oc-modal-block-content {
    background: var(--oc-surface-2);
    border: 1px solid var(--oc-border);
    border-radius: var(--oc-radius);
    padding: 14px;
}


/* ═══════════════════════════════════════════
   7. MODELOS MODAL
   ═══════════════════════════════════════════ */

.oc-modelos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
    gap: 14px;
}

.oc-modelo-card {
    position: relative;
    background: var(--oc-surface);
    border: 1.5px solid var(--oc-border);
    border-radius: var(--oc-radius);
    aspect-ratio: 1 / 1;
    cursor: pointer;
    overflow: hidden;
    transition: all var(--oc-dur) var(--oc-ease);
    animation: oc-fade-up 320ms var(--oc-ease) backwards;
}

.oc-modelo-card:hover {
    border-color: var(--oc-cta);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(153, 255, 0, 0.22);
}

.oc-modelo-card.active {
    border-color: var(--oc-cta);
    box-shadow: 0 0 0 3px var(--oc-cta-soft);
}

.oc-modelo-card-img {
    width: 100%;
    height: 100%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--oc-surface);
    transition: transform var(--oc-dur);
}

.oc-modelo-card:hover .oc-modelo-card-img {
    transform: scale(1.04);
}

.oc-modelo-card-num {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: var(--oc-surface);
    border: 1px solid var(--oc-border);
    border-radius: 8px;
    padding: 3px 8px;
    font-size: 11px;
    font-weight: 700;
    color: var(--oc-text);
    font-family: 'Barlow Condensed', 'Inter', sans-serif;
    letter-spacing: 0.5px;
    box-shadow: var(--oc-shadow-xs);
}


/* ═══════════════════════════════════════════
   8. CORES MODAL (tabs + #color-pallet portal host)
   ═══════════════════════════════════════════ */

.oc-cores-tabs {
    display: flex;
    background: var(--oc-bg-soft);
    border-radius: var(--oc-radius-pill);
    padding: 4px;
    gap: 4px;
    margin-bottom: 18px;
}

.oc-cores-tab {
    flex: 1;
    background: transparent;
    border: none;
    padding: 8px 6px;
    border-radius: var(--oc-radius-pill);
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.6px;
    color: var(--oc-text-muted);
    transition: all var(--oc-dur) var(--oc-ease);
    text-transform: uppercase;
}

.oc-cores-tab:hover {
    color: var(--oc-text);
}

.oc-cores-tab.active {
    background: var(--oc-surface);
    color: var(--oc-cta-hover);
    box-shadow: var(--oc-shadow-xs);
}

.oc-cores-sub-section-label {
    font-family: 'Barlow Condensed', 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: var(--oc-text-muted);
    text-transform: uppercase;
    margin: 0 0 10px 2px;
}

.oc-cores-sub-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(86px, 1fr));
    gap: 8px;
    margin-bottom: 14px;
}

@media (max-width: 768px) {
    .oc-cores-sub-row {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
}

.oc-cor-sub-btn {
    padding: 9px 6px;
    background: var(--oc-surface);
    border: 1.5px solid var(--oc-border);
    border-radius: var(--oc-radius-pill);
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.4px;
    color: var(--oc-text-2);
    text-transform: uppercase;
    transition: all var(--oc-dur) var(--oc-ease);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.oc-cor-sub-btn:hover {
    border-color: var(--oc-cta);
    color: var(--oc-cta-hover);
    background: var(--oc-cta-soft);
}

.oc-cor-sub-btn.active {
    background: var(--oc-cta);
    border-color: var(--oc-cta);
    color: #0d0d0d;
    box-shadow: 0 3px 10px rgba(153, 255, 0, 0.30);
}

.oc-cores-palette-host {
    background: var(--oc-surface-2);
    border: 1px solid var(--oc-border);
    border-radius: var(--oc-radius);
    padding: 12px 14px;
    min-height: 100px;
    position: relative;
    overflow: visible;
    isolation: isolate;
    width: 100%;
    box-sizing: border-box;
}

/* ─── The bundle's #color-pallet portal inside our modal ───
   Bundle inline: position:absolute; top:-250px on mobile — must neutralize. */

#color-pallet.oc-pallet-in-modal {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 48px !important;
    transform: none !important;
    top: 0 !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    overflow: visible !important;
}

/*
 * React portals palette UI into <body>#color-pallet. Our sheet/modal moves this
 * node and adds .oc-pallet-in-modal. Whenever it sits on the body without that
 * class, it MUST stay hidden — otherwise a second “Camisa” picker floats over the
 * canvas (any route / before or after edit mode).
 */
#color-pallet:not(.oc-pallet-in-modal) {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    position: fixed !important;
    left: -10000px !important;
    top: -10000px !important;
    width: 0 !important;
    height: 0 !important;
    max-width: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    z-index: -1 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
}

/* Every portal slice (Cor 1, Cor 2, …) is a direct child <div>.
   Do NOT set min-height:0 — it can collapse flex rows and hide swatches. */
#color-pallet.oc-pallet-in-modal>div {
    position: relative !important;
    flex-flow: row wrap !important;
    flex-wrap: wrap !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    background: transparent !important;
    padding: 0 !important;
    top: 0 !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    gap: 7px !important;
    justify-content: flex-start !important;
    align-items: center !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

/* Hide the bundle's auto-title span ("Camisa\n   Cor Predominante") —
   we already show our own active sub-button label and modal title. */
#color-pallet.oc-pallet-in-modal>div>span.MuiTypography-root,
#color-pallet.oc-pallet-in-modal>div>.MuiListItemText-root {
    display: none !important;
}

/* Each color rect (bundle: 15×30) → make it a nice rounded square */
#color-pallet.oc-pallet-in-modal>div>div {
    width: 32px !important;
    height: 32px !important;
    margin: 0 !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    border: 1.5px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: var(--oc-shadow-xs) !important;
    transition: transform 160ms var(--oc-ease), box-shadow 160ms var(--oc-ease) !important;
    flex: 0 0 auto !important;
}

#color-pallet.oc-pallet-in-modal>div>div:hover {
    transform: scale(1.18) !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22) !important;
    border-color: rgba(0, 0, 0, 0.20) !important;
    z-index: 2;
}

/* Compact swatches on mobile — fit more colors per row in the bottom
   sheet without horizontal scrolling. */
@media (max-width: 768px) {
    #color-pallet.oc-pallet-in-modal>div {
        gap: 3px !important;
    }

    #color-pallet.oc-pallet-in-modal>div>div {
        width: 24px !important;
        height: 24px !important;
        border-radius: 6px !important;
        border-width: 1px !important;
    }

    #color-pallet.oc-pallet-in-modal>div>div:hover {
        transform: scale(1.12) !important;
    }
}


/* ═══════════════════════════════════════════
   9. PROJECTED NATIVE PANELS (sliders, uploads, golas)
   Restyle MUI controls inside the modal to look Icone.
   ═══════════════════════════════════════════ */

.oc-modal-projected,
.oc-modal-projected-row {
    background: transparent !important;
    border-radius: 0 !important;
    margin: 0 !important;
}

.oc-modal-projected .MuiCollapse-wrapperInner,
.oc-modal-projected>.MuiCollapse-wrapper>.MuiCollapse-wrapperInner {
    padding: 0 !important;
    background: transparent !important;
}

/* Buttons inside projected (Golas: Redonda/V/Polo, file upload buttons) */
.oc-modal-projected .MuiButton-root,
.oc-modal-projected-row .MuiButton-root {
    background: var(--oc-surface) !important;
    color: var(--oc-text) !important;
    border: 1.5px solid var(--oc-border-2) !important;
    border-radius: 10px !important;
    text-transform: uppercase !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 1.2px !important;
    padding: 10px 16px !important;
    box-shadow: none !important;
    min-height: 40px !important;
    transition: all 200ms var(--oc-ease) !important;
}

.oc-modal-projected .MuiButton-contained,
.oc-modal-projected-row .MuiButton-contained {
    background: var(--oc-cta) !important;
    color: #0d0d0d !important;
    border-color: var(--oc-cta) !important;
}

.oc-modal-projected .MuiButton-root:hover,
.oc-modal-projected-row .MuiButton-root:hover {
    border-color: var(--oc-cta) !important;
    color: var(--oc-cta-hover) !important;
    background: var(--oc-cta-soft) !important;
    transform: translateY(-1px) !important;
}

.oc-modal-projected .MuiButton-contained:hover,
.oc-modal-projected-row .MuiButton-contained:hover {
    background: var(--oc-cta-hover) !important;
    color: #0d0d0d !important;
}

/* Sub-list buttons (Redonda/V/Polo, Peito/Frente/Costas) */
.oc-modal-projected .MuiListItemButton-root,
.oc-modal-projected-row .MuiListItemButton-root {
    background: var(--oc-surface) !important;
    border: 1px solid var(--oc-border) !important;
    border-radius: 10px !important;
    margin: 0 0 8px 0 !important;
    padding: 12px 14px !important;
    min-height: 48px !important;
    transition: all 200ms var(--oc-ease) !important;
}

.oc-modal-projected .MuiListItemButton-root:hover,
.oc-modal-projected-row .MuiListItemButton-root:hover {
    border-color: var(--oc-cta) !important;
    background: var(--oc-cta-soft) !important;
}

.oc-modal-projected .MuiListItemText-primary,
.oc-modal-projected-row .MuiListItemText-primary {
    font-family: 'Inter', sans-serif !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 0.8px !important;
    color: var(--oc-text) !important;
    text-transform: uppercase !important;
}

.oc-modal-projected .MuiListItemIcon-root,
.oc-modal-projected-row .MuiListItemIcon-root {
    color: var(--oc-cta) !important;
    min-width: 36px !important;
}

.oc-modal-projected .MuiListItemIcon-root svg,
.oc-modal-projected-row .MuiListItemIcon-root svg {
    width: 22px !important;
    height: 22px !important;
}

/* Inputs */
.oc-modal-projected .MuiInputBase-root,
.oc-modal-projected .MuiOutlinedInput-root,
.oc-modal-projected-row .MuiInputBase-root {
    background: var(--oc-surface) !important;
    color: var(--oc-text) !important;
    border-radius: 10px !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 13px !important;
}

.oc-modal-projected .MuiOutlinedInput-notchedOutline {
    border-color: var(--oc-border) !important;
}

.oc-modal-projected .MuiOutlinedInput-root:hover .MuiOutlinedInput-notchedOutline,
.oc-modal-projected .MuiOutlinedInput-root.Mui-focused .MuiOutlinedInput-notchedOutline {
    border-color: var(--oc-cta) !important;
    border-width: 1.5px !important;
}

.oc-modal-projected .MuiInputLabel-root {
    color: var(--oc-text-muted) !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 11px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

.oc-modal-projected .MuiInputLabel-root.Mui-focused {
    color: var(--oc-cta-hover) !important;
}

/* Sliders */
.oc-modal-projected .MuiSlider-root {
    color: var(--oc-cta) !important;
    margin: 14px 16px 18px !important;
    height: 4px !important;
}

.oc-modal-projected .MuiSlider-thumb {
    background: #f5f5f5 !important;
    border: 3px solid var(--oc-cta) !important;
    width: 18px !important;
    height: 18px !important;
    box-shadow: 0 0 0 6px rgba(153, 255, 0, 0.10), 0 2px 6px rgba(0, 0, 0, 0.12) !important;
}

.oc-modal-projected .MuiSlider-rail {
    background: var(--oc-border) !important;
    opacity: 1 !important;
    height: 4px !important;
}

.oc-modal-projected .MuiSlider-track {
    background: linear-gradient(90deg, var(--oc-cta), var(--oc-cta-hover)) !important;
    border: none !important;
    height: 4px !important;
}

.oc-modal-projected .MuiSlider-markLabel {
    font-family: 'Inter', sans-serif !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    color: var(--oc-text-muted) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
}

/* Checkbox / Radio / Switch */
.oc-modal-projected .MuiCheckbox-root.Mui-checked,
.oc-modal-projected .MuiRadio-root.Mui-checked {
    color: var(--oc-cta) !important;
}

.oc-modal-projected .MuiFormControlLabel-label {
    font-family: 'Inter', sans-serif !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    color: var(--oc-text-2) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

/* File inputs */
.oc-modal-projected input[type="file"],
.oc-modal-projected-row input[type="file"] {
    font-family: 'Inter', sans-serif !important;
    font-size: 11px !important;
    color: var(--oc-text-2) !important;
}

/* Hide MuiCollapse chevron icons within projection (we already opened) */
.oc-modal-projected svg[data-testid="ExpandMoreIcon"],
.oc-modal-projected svg[data-testid="ExpandLessIcon"],
.oc-modal-projected-row svg[data-testid="ExpandMoreIcon"],
.oc-modal-projected-row svg[data-testid="ExpandLessIcon"] {
    display: none !important;
}


/* ═══════════════════════════════════════════
   9b. TOAST
   ═══════════════════════════════════════════ */

.oc-toast {
    position: fixed;
    bottom: calc(var(--oc-footer-h) + 80px);
    left: 50%;
    z-index: 99000;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 20px 11px 14px;
    background: var(--oc-surface-2);
    color: var(--oc-text);
    border: 1px solid var(--oc-border);
    border-radius: var(--oc-radius-pill);
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.4px;
    box-shadow: var(--oc-shadow-lg), 0 0 0 1px rgba(153, 255, 0, 0.06) inset;
    opacity: 0;
    transform: translate(-50%, 14px) scale(0.96);
    transition: opacity 280ms var(--oc-ease), transform 280ms var(--oc-ease);
    pointer-events: none;
    white-space: nowrap;
}

.oc-toast.show {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
}

.oc-toast-dot {
    display: inline-block;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--oc-cta);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.18), 0 2px 4px rgba(0, 0, 0, 0.18);
    flex: 0 0 auto;
}


/* ═══════════════════════════════════════════
   10. FOOTER + ZOOM + ACTION BAR
   ═══════════════════════════════════════════ */

#oc-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--oc-footer-h);
    z-index: 900;
    background: var(--oc-surface);
    border-top: 1px solid var(--oc-border);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 11px;
    color: var(--oc-text-muted);
    letter-spacing: 0.5px;
    user-select: none;
}

#oc-footer .footer-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--oc-text-soft);
}

#oc-zoom-controls {
    position: fixed;
    bottom: calc(var(--oc-footer-h) + 18px);
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.oc-zoom-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(153, 255, 0, 0.45);
    color: #111827;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18), 0 2px 8px rgba(15, 23, 42, 0.06);
    transition: all var(--oc-dur) var(--oc-ease);
}

.oc-zoom-btn:hover {
    border-color: var(--oc-cta, #99FF00);
    color: var(--oc-cta-hover, #b3ff4d);
    transform: translateY(-1px);
}

.oc-zoom-btn:active {
    transform: scale(0.95);
}

#oc-action-bar {
    position: fixed;
    bottom: calc(var(--oc-footer-h) + 18px);
    left: calc(var(--oc-sidebar-w) + 30px);
    z-index: 1000;
    display: flex;
    gap: 10px;
}

/* Mobile floating "Personalizar" pill — opens the sidebar drawer */
#oc-personalizar-btn {
    position: fixed;
    bottom: calc(var(--oc-footer-h) + 14px);
    right: 14px;
    z-index: 1000;
    display: none;
    align-items: center;
    gap: 10px;
    padding: 13px 22px;
    border-radius: var(--oc-radius-pill);
    background: var(--oc-surface);
    color: var(--oc-text);
    font-family: inherit;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    border: 1px solid rgba(153, 255, 0, 0.35);
    box-shadow: 0 8px 26px rgba(15, 23, 42, 0.10), 0 2px 10px rgba(15, 23, 42, 0.06);
    transition: all var(--oc-dur) var(--oc-ease);
}

#oc-personalizar-btn:hover,
#oc-personalizar-btn:active {
    transform: translateY(-1px);
    border-color: var(--oc-cta);
    box-shadow: 0 12px 32px rgba(153, 255, 0, 0.14), 0 8px 24px rgba(15, 23, 42, 0.08);
}

#oc-personalizar-btn svg {
    color: var(--oc-cta);
    flex: 0 0 auto;
}

/* Mobile-only single round thumbnail (current model) — opens picker. */
#oc-model-thumb {
    position: fixed;
    bottom: calc(var(--oc-footer-h) + 14px);
    left: 14px;
    z-index: 1000;
    display: none;
    width: 52px;
    height: 52px;
    padding: 0;
    border-radius: 50%;
    background: var(--oc-surface);
    border: 2px solid var(--oc-cta);
    overflow: hidden;
    cursor: pointer;
    transition: all var(--oc-dur) var(--oc-ease);
    box-shadow: 0 6px 18px rgba(153, 255, 0, 0.35);
}

#oc-model-thumb:hover,
#oc-model-thumb:active {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(153, 255, 0, 0.45);
}

#oc-model-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

/* ─── EDIT MODE — top tab bar + per-tab footer ─── */

#oc-edit-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--oc-header-h);
    z-index: 1101;
    display: none;
    align-items: center;
    gap: 4px;
    padding: 0 6px;
    background: var(--oc-surface);
    border-bottom: 1px solid var(--oc-border);
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06), 0 1px 0 rgba(153, 255, 0, 0.05);
}

.oc-edit-back {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    color: var(--oc-text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--oc-radius-sm);
    transition: background var(--oc-dur) var(--oc-ease);
}

.oc-edit-back:hover {
    background: var(--oc-bg);
}

.oc-edit-tabs {
    flex: 1 1 auto;
    display: flex;
    align-items: stretch;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.oc-edit-tabs::-webkit-scrollbar {
    display: none;
}

.oc-edit-tab {
    flex: 0 0 auto;
    background: transparent;
    border: none;
    padding: 0 14px;
    height: 100%;
    font-family: inherit;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--oc-text-muted);
    cursor: pointer;
    position: relative;
    transition: color var(--oc-dur) var(--oc-ease);
}

.oc-edit-tab.active {
    color: var(--oc-text);
}

.oc-edit-tab.active::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 0;
    height: 3px;
    background: var(--oc-cta);
    border-radius: 2px 2px 0 0;
}

#oc-edit-footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1100;
    display: none;
    padding: 14px 16px calc(var(--oc-footer-h) + 14px);
    background: var(--oc-surface);
    border-top: 1px solid var(--oc-border);
    box-shadow: 0 -6px 24px rgba(15, 23, 42, 0.08), 0 -1px 0 rgba(153, 255, 0, 0.06);
    max-height: 55vh;
    overflow-y: auto;
}

/* Cores tab — 3 part cards in a row */
.oc-edit-parts-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    width: 100%;
}

.oc-edit-part-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 8px 6px;
    border-radius: 12px;
    background: var(--oc-bg-soft);
    border: 1px solid var(--oc-border);
    cursor: pointer;
    transition: all var(--oc-dur) var(--oc-ease);
}

.oc-edit-part-card:active,
.oc-edit-part-card:hover {
    transform: translateY(-1px);
    border-color: var(--oc-cta);
    box-shadow: 0 4px 12px rgba(153, 255, 0, 0.18);
}

.oc-edit-part-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--oc-text);
    letter-spacing: 0.3px;
}

.oc-edit-part-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    border-radius: var(--oc-radius-pill);
    background: var(--oc-bg);
    border: 1px solid var(--oc-border);
    min-height: 22px;
}

.oc-edit-pill-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid var(--oc-border);
    background: #cbd5e1;
    display: inline-block;
}

/* Legacy fallback (still used if a tab can't load its inline UI) */
.oc-edit-tab-hint {
    display: flex;
    width: 100%;
}

.oc-edit-open-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 18px;
    border-radius: var(--oc-radius-pill);
    background: var(--oc-cta);
    color: #0d0d0d;
    border: none;
    font-family: inherit;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--oc-dur) var(--oc-ease);
    box-shadow: 0 6px 18px rgba(153, 255, 0, 0.32);
}

.oc-edit-open-btn:hover,
.oc-edit-open-btn:active {
    background: var(--oc-cta-hover);
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(153, 255, 0, 0.42);
}

/* ─── Inline tab UI blocks (Escudo / Mangas / Logos) ────────────── */

.oc-edit-block {
    width: 100%;
    margin-bottom: 14px;
}

.oc-edit-block:last-child {
    margin-bottom: 0;
}

.oc-edit-block-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--oc-text-muted);
    margin-bottom: 8px;
    padding-left: 2px;
}

.oc-edit-block-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    width: 100%;
    min-height: 36px;
    align-items: center;
}

/* When #color-pallet is projected inside a block-row, override the
   bundle's grid so swatches lay out horizontally like the reference. */
.oc-edit-block-row #color-pallet.oc-pallet-in-modal {
    width: 100%;
}

.oc-edit-block-row #color-pallet.oc-pallet-in-modal>div {
    display: flex !important;
    flex-wrap: wrap;
    gap: 6px !important;
    justify-content: flex-start;
}

/* "Adicionar seu escudo" / similar CTA */
.oc-edit-upload-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 18px;
    border-radius: var(--oc-radius-pill);
    background: var(--oc-bg-soft);
    color: var(--oc-text);
    border: 1.5px dashed var(--oc-border-2);
    font-family: inherit;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--oc-dur) var(--oc-ease);
}

.oc-edit-upload-btn:hover,
.oc-edit-upload-btn:active {
    background: var(--oc-surface-2);
    border-color: var(--oc-cta);
    color: var(--oc-cta);
    transform: translateY(-1px);
}

/* Mangas e Gola — selectable type cards */
.oc-edit-golas-row {
    display: flex;
    gap: 10px;
    width: 100%;
}

.oc-edit-gola-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 6px;
    border-radius: 12px;
    background: var(--oc-bg-soft);
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all var(--oc-dur) var(--oc-ease);
    font-family: inherit;
}

.oc-edit-gola-card:hover,
.oc-edit-gola-card:active {
    background: var(--oc-surface-2);
    border-color: var(--oc-cta);
    transform: translateY(-1px);
    box-shadow: 0 4px 18px rgba(153, 255, 0, 0.14);
}

.oc-edit-gola-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: var(--oc-text);
}

.oc-edit-gola-icon svg {
    width: 32px;
    height: auto;
    max-height: 32px;
}

.oc-edit-gola-name {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--oc-text);
    text-align: center;
}

/* Subtle disclaimer line when one or more gola variants couldn't be
   loaded (chunks missing from the deploy). Sits across the full row. */
.oc-gola-broken-hint {
    flex: 1 1 100%;
    margin-top: 8px;
    padding: 8px 10px;
    border-radius: 8px;
    background: rgba(245, 158, 11, 0.12);
    color: #b45309;
    border: 1px solid rgba(245, 158, 11, 0.35);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-align: center;
}

/* Logos — 6 small position cards */
.oc-edit-logos-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    width: 100%;
}

.oc-edit-logo-slot {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.oc-edit-logo-scale {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.oc-edit-logo-scale-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2px;
}

.oc-edit-logo-scale-label {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--oc-text-soft, #64748b);
}

.oc-logo-scale-val {
    font-size: 11px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--oc-cta);
}

.oc-logo-scale-range {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    accent-color: var(--oc-cta);
    cursor: pointer;
    margin: 0;
}

.oc-logo-scale-range:focus {
    outline: none;
}

.oc-logo-scale-range:focus-visible {
    outline: 2px solid var(--oc-cta);
    outline-offset: 2px;
}

.oc-edit-logo-card {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 10px;
    border-radius: 12px;
    background: var(--oc-bg-soft);
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all var(--oc-dur) var(--oc-ease);
    font-family: inherit;
    min-width: 0;
}

.oc-edit-logo-card:hover,
.oc-edit-logo-card:active {
    background: var(--oc-surface-2);
    border-color: var(--oc-cta);
    transform: translateY(-1px);
    box-shadow: 0 4px 18px rgba(153, 255, 0, 0.14);
}

.oc-edit-logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    color: var(--oc-cta);
    flex-shrink: 0;
}

.oc-edit-logo-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--oc-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    flex: 1;
}

@media (max-width: 380px) {
    .oc-edit-logos-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Color picker bottom sheet (slides up over the edit footer) */
#oc-color-sheet {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9200;
    background: var(--oc-surface);
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    box-shadow: 0 -12px 36px rgba(15, 23, 42, 0.12), 0 -4px 16px rgba(15, 23, 42, 0.06);
    transform: translateY(110%);
    transition: transform 0.28s var(--oc-ease);
    will-change: transform;
    max-height: 65vh;
    display: flex;
    flex-direction: column;
    pointer-events: none;
}

#oc-color-sheet.open {
    transform: translateY(0);
    pointer-events: auto;
}

.oc-color-sheet-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px 8px;
    border-bottom: 1px solid var(--oc-border);
}

.oc-color-sheet-title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--oc-text);
}

.oc-color-sheet-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: var(--oc-text-muted);
    font-size: 16px;
    cursor: pointer;
    transition: background var(--oc-dur) var(--oc-ease);
}

.oc-color-sheet-close:hover {
    background: var(--oc-bg);
}

.oc-color-sheet-body {
    padding: 12px 18px 24px;
    overflow-y: auto;
}

.oc-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    border-radius: var(--oc-radius-pill);
    font-family: inherit;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    transition: all var(--oc-dur) var(--oc-ease);
}

.oc-action-btn.primary {
    background: var(--oc-cta);
    color: #0d0d0d;
    box-shadow: 0 4px 12px rgba(153, 255, 0, 0.32);
}

.oc-action-btn.primary:hover {
    background: var(--oc-cta-hover);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(153, 255, 0, 0.42);
}

.oc-action-btn.ghost {
    background: var(--oc-surface);
    color: var(--oc-text);
    border: 1px solid var(--oc-border);
}

.oc-action-btn.ghost:hover {
    border-color: var(--oc-cta);
    color: var(--oc-cta-hover);
}


/* ═══════════════════════════════════════════
   11. VITRINE
   ═══════════════════════════════════════════ */

#oc-vitrine {
    position: fixed;
    inset: 0;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.85) 0%, transparent 48%),
        linear-gradient(165deg, #f9fafb 0%, #eef1f6 48%, #e7eaf0 100%);
    background-attachment: fixed;
    z-index: 100100;
    overflow-y: auto;
    padding: 44px 4% 80px;
    box-sizing: border-box;
}

/* Faixa superior + textura diagonal (referência “premium” tipo showcase esportivo) */
#oc-vitrine::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image:
        repeating-linear-gradient(-14deg,
            transparent,
            transparent 76px,
            rgba(15, 23, 42, 0.017) 76px,
            rgba(15, 23, 42, 0.017) 77px),
        linear-gradient(118deg, transparent 58%, rgba(255, 255, 255, 0.55) 100%);
}

#oc-vitrine::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 5001;
    pointer-events: none;
    background: linear-gradient(90deg, var(--oc-brand-2) 0%, var(--oc-cta) 42%, var(--oc-brand-2) 100%);
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.07);
}

#oc-vitrine>* {
    position: relative;
    z-index: 1;
}

#oc-vitrine.fade-out {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--oc-ease);
}

.oc-vitrine-header {
    text-align: center;
    margin-bottom: 32px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.oc-vitrine-header img {
    height: 56px;
    width: auto;
    margin-bottom: 18px;
    filter: drop-shadow(0 10px 28px rgba(15, 23, 42, 0.09));
}

.oc-vitrine-eyebrow {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #64748b;
    margin: 0 0 14px;
    line-height: 1.4;
}

.oc-vitrine-eyebrow strong {
    color: #0f172a;
    font-weight: 800;
}

.oc-vitrine-header h1 {
    display: block !important;
    font-size: clamp(26px, 4.8vw, 36px);
    font-weight: 800;
    margin: 0;
    color: #0f172a !important;
    opacity: 1 !important;
    letter-spacing: -0.02em;
    font-family: 'Barlow Condensed', 'Inter', sans-serif !important;
    line-height: 1.12;
    text-transform: none;
}

.oc-vitrine-subtitle {
    font-size: 14px;
    color: #64748b;
    margin: 14px 0 0;
    font-weight: 500;
    letter-spacing: 0.01em;
    line-height: 1.65;
    max-width: 34em;
    margin-left: auto;
    margin-right: auto;
}

.oc-vitrine-filters {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
}

.oc-filter-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.oc-filter-label {
    font-size: 11px;
    color: var(--oc-text-muted);
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.oc-filter-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.oc-filter-btn {
    background: var(--oc-surface);
    border: 1px solid var(--oc-border);
    color: var(--oc-text-2);
    padding: 9px 22px;
    border-radius: var(--oc-radius-pill);
    font-family: inherit;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    text-transform: uppercase;
    transition: all var(--oc-dur) var(--oc-ease);
}

.oc-filter-btn:hover {
    border-color: rgba(15, 23, 42, 0.35);
    color: #0f172a;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

/* Ativo estilo “outline premium” (menos bloco lima sólido), alinhado ao design system */
.oc-filter-btn.active {
    background: linear-gradient(180deg, #ffffff 0%, rgba(153, 255, 0, 0.14) 100%);
    border-color: #0f172a;
    color: #0f172a;
    box-shadow:
        0 0 0 1px rgba(153, 255, 0, 0.45),
        0 8px 22px rgba(15, 23, 42, 0.08);
}

/* Barra Orçamento (vitrine) */
.oc-vitrine-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: -12px auto 28px;
    max-width: 1180px;
}

/* Vitrine — fluxo em etapas (sexo → categorias → linhas Futebol) */
.oc-vitrine-toolbar-wrap {
    max-width: 1180px;
    margin: 0 auto 20px;
    padding: 0 16px;
}

.oc-vit-stage {
    max-width: 1180px;
    margin: 0 auto 24px;
    padding: 0 16px 8px;
}

.oc-vit-grid-host {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 16px 48px;
}

.oc-vit-step-kicker {
    margin: 0 0 12px;
    font-family: 'Barlow Condensed', 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(15, 23, 42, 0.55);
}

.oc-vit-step-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.oc-vit-back {
    min-height: 44px;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.22);
    background: rgba(255, 255, 255, 0.92);
    color: #0f172a;
    font-family: 'Barlow Condensed', 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition:
        transform 200ms var(--oc-ease),
        border-color 200ms var(--oc-ease),
        box-shadow 200ms var(--oc-ease);
}

.oc-vit-back:hover {
    transform: translateY(-1px);
    border-color: rgba(153, 255, 0, 0.45);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
}

.oc-vit-back:focus-visible {
    outline: 3px solid rgba(153, 255, 0, 0.85);
    outline-offset: 2px;
}

.oc-vit-step-chip {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 6px 14px;
    border-radius: 999px;
    font-family: 'Barlow Condensed', 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    background: linear-gradient(180deg, #ffffff 0%, rgba(153, 255, 0, 0.12) 100%);
    border: 1px solid #0f172a;
    color: #0f172a;
}

.oc-vit-step-chip--muted {
    font-weight: 700;
    letter-spacing: 0.1em;
    background: rgba(241, 245, 249, 0.95);
    border-color: rgba(15, 23, 42, 0.18);
}

.oc-vit-gender-row {
    display: flex;
    gap: 12px;
}

.oc-vit-gender-wrapper {
    position: relative;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 18px;
    margin: 30px auto 40px;
    max-width: 600px;
    background: transparent;
}

.oc-vit-gender-kicker {
    position: absolute;
    top: -9px;
    left: 20px;
    background: var(--oc-bg);
    padding: 0 8px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #475569;
}

.oc-vit-gender-card {
    flex: 1;
    padding: 16px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 14px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #1e293b;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.oc-vit-gender-card:hover {
    border-color: rgba(153, 255, 0, 0.5);
    background: #f8fafc;
}

.oc-vit-gender-card.is-selected {
    background: linear-gradient(180deg, #f4ffe6 0%, #ffffff 100%);
    border-color: #99ff00;
    box-shadow: 0 4px 15px rgba(153, 255, 0, 0.2);
}

.oc-vit-gender-card:focus-visible {
    outline: 3px solid rgba(153, 255, 0, 0.9);
    outline-offset: 3px;
}

.oc-vit-categories-wrapper {
    margin-top: 40px;
    text-align: center;
}

.oc-vit-cat-title {
    font-family: 'Inter', sans-serif;
    font-size: 26px;
    font-weight: 900;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

.oc-vit-cat-title-black {
    color: #000;
}

.oc-vit-cat-title-green {
    color: #99ff00;
}

.oc-vit-cat-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #99ff00;
    border-radius: 2px;
}

.oc-vit-cat-grid {
    display: flex;
    justify-content: center;
    gap: 19px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.oc-vit-cat-card {
    position: relative;
    width: 220px;
    height: 280px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 24px;
    background: #ffffff;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.oc-vit-cat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(153, 255, 0, 0.4);
    border-color: transparent;
}

.oc-vit-cat-card:focus-visible {
    outline: 3px solid rgba(153, 255, 0, 0.8);
    outline-offset: 3px;
}

.oc-vit-cat-img {
    width: 200px;
    height: 200px;
    object-fit: contain;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.oc-vit-cat-card:hover .oc-vit-cat-img {
    transform: scale(1.05);
}

.oc-vit-cat-label {
    font-weight: 800;
    font-size: 15px;
    color: #000;
    text-align: center;
}

@media (max-width: 768px) {
    .oc-vit-cat-grid {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 20px;
        -webkit-overflow-scrolling: touch;
        padding-left: 20px;
        padding-right: 20px;
        margin-left: -16px;
        margin-right: -16px;
    }

    .oc-vit-cat-grid::-webkit-scrollbar {
        display: none;
    }

    .oc-vit-cat-card {
        scroll-snap-align: center;
        flex: 0 0 auto;
        width: 240px;
        height: 300px;
    }

    .oc-vit-cat-img {
        width: 220px;
        height: 220px;
    }
}

.oc-vit-step-quality-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

@media (prefers-reduced-motion: reduce) {

    .oc-vit-back,
    .oc-vit-gender-card,
    .oc-vit-cat-card {
        transition: none;
    }

    .oc-vit-back:hover,
    .oc-vit-gender-card:hover,
    .oc-vit-cat-card:hover {
        transform: none;
    }
}

.oc-vitrine-orc-toolbar-inner {
    position: relative;
    display: inline-block;
}

.oc-vitrine-orc-toolbar-btn {
    position: relative;
    font-family: 'Barlow Condensed', 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 12px 28px;
    border-radius: 999px;
    border: 1px solid #0f172a;
    background: linear-gradient(180deg, #ffffff 0%, #f4f6f9 100%);
    color: #0f172a;
    cursor: pointer;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.85) inset,
        0 6px 20px rgba(15, 23, 42, 0.08);
    transition:
        transform 200ms var(--oc-ease),
        box-shadow 200ms var(--oc-ease),
        border-color 200ms var(--oc-ease);
}

.oc-vitrine-orc-toolbar-btn:hover {
    transform: translateY(-2px);
    border-color: rgba(153, 255, 0, 0.55);
    box-shadow:
        0 0 0 1px rgba(153, 255, 0, 0.35),
        0 10px 28px rgba(15, 23, 42, 0.12);
}

.oc-vitrine-orc-badge {
    position: absolute;
    top: -7px;
    right: -4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    margin-left: 0;
    pointer-events: none;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: none;
    background: #0f172a;
    color: #ecfccb;
    border: 2px solid #fff;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.25);
    vertical-align: middle;
}

.oc-vitrine-orc-badge:empty,
.oc-vitrine-orc-badge[hidden] {
    display: none;
}

/* Modal resumo orçamento → WhatsApp */
body.oc-vitrine-orc-open {
    overflow: hidden;
}

body.oc-vitrine-active #root {
    pointer-events: none !important;
    visibility: hidden !important;
}

.oc-vitrine-orc-overlay {
    position: fixed;
    inset: 0;
    z-index: 100200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    background: rgba(15, 23, 42, 0.48);
    backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 220ms var(--oc-ease),
        visibility 220ms var(--oc-ease);
}

.oc-vitrine-orc-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.oc-vitrine-orc-modal {
    width: min(100%, 440px);
    max-height: min(88vh, 640px);
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.1);
    box-shadow:
        0 24px 56px rgba(15, 23, 42, 0.22),
        0 0 0 1px rgba(255, 255, 255, 0.06) inset;
    overflow: hidden;
    transform: translateY(12px) scale(0.98);
    transition: transform 260ms var(--oc-ease);
}

.oc-vitrine-orc-overlay.is-open .oc-vitrine-orc-modal {
    transform: translateY(0) scale(1);
}

.oc-vitrine-orc-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 20px 14px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    background: linear-gradient(180deg, #fcfcfd 0%, #fff 100%);
}

.oc-vitrine-orc-head h2 {
    margin: 0;
    font-family: 'Barlow Condensed', 'Inter', sans-serif;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #0f172a;
}

.oc-vitrine-orc-close {
    flex-shrink: 0;
    padding: 8px 14px;
    border-radius: 10px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: #fff;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    color: #475569;
}

.oc-vitrine-orc-close:hover {
    border-color: #0f172a;
    color: #0f172a;
}

.oc-vitrine-orc-body {
    padding: 18px 20px;
    overflow-y: auto;
    flex: 1 1 auto;
    font-size: 14px;
    line-height: 1.55;
    color: #334155;
}

/* ─── CARROSSEL DE KITS ─────────────────────────────────────── */

/* Wrapper externo: flex row com botões nas laterais */
.oc-kit-carousel-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 1260px;
    margin: 0 auto;
    padding: 0 4px;
}

/* Track ocupa todo espaço disponível entre os botões */
.oc-kit-carousel-track {
    flex: 1 1 0;
    min-width: 0;
    overflow: hidden;
}

/* Grid sempre 3 colunas fixas dentro do track */
.oc-vitrine-kit-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}

/* Botões prev / next */
.oc-kit-carousel-btn {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid rgba(15, 23, 42, 0.1);
    background: #fff;
    color: #0f172a;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
    transition:
        background 220ms var(--oc-ease),
        border-color 220ms var(--oc-ease),
        box-shadow 220ms var(--oc-ease),
        transform 220ms var(--oc-ease);
    user-select: none;
}

.oc-kit-carousel-btn:hover:not(.is-disabled) {
    background: #99ff00;
    border-color: #99ff00;
    color: #0d0d0d;
    box-shadow: 0 6px 24px rgba(153, 255, 0, 0.45);
    transform: scale(1.08);
}

.oc-kit-carousel-btn.is-disabled,
.oc-kit-carousel-btn:disabled {
    opacity: 0.3;
    cursor: default;
    pointer-events: none;
}

.oc-kit-carousel-btn--prev span,
.oc-kit-carousel-btn--next span {
    display: block;
    line-height: 1;
    margin-top: -2px;
}

/* Dots indicadores */
.oc-kit-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    padding-bottom: 32px;
}

.oc-kit-carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(15, 23, 42, 0.15);
    cursor: pointer;
    padding: 0;
    transition:
        background 220ms var(--oc-ease),
        transform 220ms var(--oc-ease),
        box-shadow 220ms var(--oc-ease);
}

.oc-kit-carousel-dot.is-active {
    background: #99ff00;
    transform: scale(1.3);
    box-shadow: 0 0 0 3px rgba(153, 255, 0, 0.25);
}

.oc-kit-carousel-dot:hover:not(.is-active) {
    background: rgba(15, 23, 42, 0.35);
    transform: scale(1.15);
}

/* Mobile: 1 coluna + botões menores */
@media (max-width: 767px) {
    .oc-kit-carousel-wrap {
        gap: 6px;
        padding: 0;
    }

    .oc-kit-carousel-btn {
        width: 36px;
        height: 36px;
        font-size: 20px;
    }

    .oc-vitrine-kit-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* Tablet: 2 colunas */
@media (min-width: 541px) and (max-width: 1023px) {
    .oc-vitrine-kit-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }
}

/* Modal pré-orçamento do simulador */
body.oc-preorc-open {
    overflow: hidden;
}

.oc-preorc-overlay {
    --preorc-accent: #99FF00;
    --preorc-accent-hover: #8ae600;
    --preorc-accent-soft: rgba(153, 255, 0, 0.14);
    --preorc-accent-ring: rgba(153, 255, 0, 0.28);
    --preorc-accent-ink: #1a2e05;
    --preorc-ink: #0f172a;
    --preorc-muted: #64748b;
    --preorc-line: #e2e8f0;
    --preorc-surface: #ffffff;
    --preorc-surface-soft: #f8fafc;

    position: fixed;
    inset: 0;
    z-index: 100260;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: max(16px, env(safe-area-inset-top)) 14px max(16px, env(safe-area-inset-bottom));
    background: rgba(15, 23, 42, 0.48);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 220ms var(--oc-ease),
        visibility 220ms var(--oc-ease);
}

.oc-preorc-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.oc-preorc-modal {
    width: min(100%, 500px);
    max-height: min(90vh, 680px);
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    background: var(--preorc-surface);
    border: 1px solid var(--preorc-line);
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.18);
    overflow: hidden;
    transform: translateY(12px);
    transition: transform 260ms var(--oc-ease);
}

.oc-preorc-overlay.is-open .oc-preorc-modal {
    transform: translateY(0);
}

.oc-preorc-head {
    flex-shrink: 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 20px 14px;
    border-bottom: 1px solid var(--preorc-line);
    background: var(--preorc-surface);
}

.oc-preorc-head-text {
    min-width: 0;
}

.oc-preorc-head h2 {
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--preorc-ink);
    line-height: 1.25;
}

.oc-preorc-head-sub {
    margin: 3px 0 0;
    font-size: 13px;
    line-height: 1.45;
    color: var(--preorc-muted);
}

.oc-preorc-close {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 10px;
    border: none;
    background: var(--preorc-surface-soft);
    color: #64748b;
    cursor: pointer;
    transition: background 160ms var(--oc-ease), color 160ms var(--oc-ease);
}

.oc-preorc-close:hover {
    background: #eef2f6;
    color: var(--preorc-ink);
}

.oc-preorc-close:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px var(--preorc-accent-ring);
}

.oc-preorc-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 16px 20px 12px;
    color: #334155;
}

.oc-preorc-lead-block {
    margin-bottom: 0;
}

.oc-preorc-summary {
    margin-bottom: 14px;
    padding: 14px 16px;
    border-radius: 12px;
    background: var(--preorc-surface-soft);
    border: 1px solid var(--preorc-line);
    border-left: 3px solid var(--preorc-accent);
}

.oc-preorc-kicker {
    display: block;
    margin-bottom: 4px;
    color: var(--preorc-accent);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.oc-preorc-summary h3 {
    margin: 0 0 8px;
    color: var(--preorc-ink);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
}

.oc-preorc-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.oc-preorc-chip {
    display: inline-flex;
    align-items: center;
    padding: 4px 9px;
    border-radius: 6px;
    background: #fff;
    border: 1px solid var(--preorc-line);
    color: #475569;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
}

.oc-preorc-panel,
.oc-preorc-lead-block {
    margin-bottom: 14px;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid var(--preorc-line);
    background: #fff;
}

.oc-preorc-section-title {
    margin: 0 0 12px;
    font-size: 13px;
    font-weight: 700;
    color: var(--preorc-ink);
}

.oc-preorc-config-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 12px;
}

.oc-preorc-config-grid .oc-preorc-field,
.oc-preorc-lead-grid .oc-preorc-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.oc-preorc-field {
    margin-bottom: 0;
}

.oc-preorc-field--qty {
    grid-column: 1 / -1;
}

.oc-preorc-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.oc-preorc-label {
    margin: 0;
    color: #475569;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
}

.oc-preorc-hint {
    font-size: 11px;
    font-weight: 500;
    color: #94a3b8;
}

.oc-preorc-lead-head {
    margin-bottom: 12px;
}

.oc-preorc-lead-desc {
    margin: 4px 0 0;
    font-size: 12px;
    line-height: 1.45;
    color: var(--preorc-muted);
}

.oc-preorc-lead-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 12px;
}

.oc-preorc-field--span2 {
    grid-column: 1 / -1;
}

.oc-preorc-lead-input,
.oc-preorc-lead-textarea,
.oc-preorc-qty-input {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    background: #fff;
    color: var(--preorc-ink);
    font: inherit;
    font-size: 14px;
    line-height: 1.4;
    transition: border-color 160ms var(--oc-ease), box-shadow 160ms var(--oc-ease);
}

.oc-preorc-lead-textarea {
    resize: vertical;
    min-height: 76px;
}

.oc-preorc-qty-input {
    height: 42px;
    text-align: center;
    font-weight: 700;
    font-size: 16px;
    -moz-appearance: textfield;
}

.oc-preorc-qty-input::-webkit-outer-spin-button,
.oc-preorc-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.oc-preorc-lead-input::placeholder,
.oc-preorc-lead-textarea::placeholder {
    color: #94a3b8;
}

.oc-preorc-lead-input:hover,
.oc-preorc-lead-textarea:hover,
.oc-preorc-qty-input:hover {
    border-color: #94a3b8;
}

.oc-preorc-lead-input:focus,
.oc-preorc-lead-textarea:focus,
.oc-preorc-qty-input:focus {
    outline: none;
    border-color: var(--preorc-accent);
    box-shadow: 0 0 0 3px var(--preorc-accent-ring);
}

.oc-preorc-choice-row {
    display: flex;
    gap: 6px;
    padding: 3px;
    border-radius: 10px;
    background: var(--preorc-surface-soft);
    border: 1px solid var(--preorc-line);
}

.oc-preorc-choice,
.oc-preorc-step {
    min-height: 38px;
    border-radius: 7px;
    border: 1px solid transparent;
    background: transparent;
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition:
        background 160ms var(--oc-ease),
        color 160ms var(--oc-ease),
        box-shadow 160ms var(--oc-ease);
}

.oc-preorc-choice {
    flex: 1 1 0;
}

.oc-preorc-choice:hover {
    color: var(--preorc-ink);
}

.oc-preorc-choice:focus-visible,
.oc-preorc-step:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px var(--preorc-accent-ring);
}

.oc-preorc-choice.is-active {
    background: var(--preorc-accent);
    border-color: transparent;
    color: var(--preorc-accent-ink);
    box-shadow: 0 1px 4px rgba(153, 255, 0, 0.35);
}

.oc-preorc-qty-row {
    display: inline-grid;
    grid-template-columns: 40px minmax(72px, 96px) 40px;
    gap: 6px;
    align-items: center;
}

.oc-preorc-step {
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid var(--preorc-line);
    background: #fff;
    color: var(--preorc-ink);
    font-size: 17px;
    line-height: 1;
}

.oc-preorc-step:hover {
    border-color: #94a3b8;
    background: var(--preorc-surface-soft);
}

.oc-preorc-price-bar {
    padding: 0 0 12px;
    margin: 0;
    border: none;
    background: transparent;
}

.oc-preorc-price-bar[hidden] {
    display: none !important;
}

.oc-preorc-price-row {
    display: flex;
    align-items: stretch;
    gap: 0;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--preorc-line);
    background: #fff;
}

.oc-preorc-price-item {
    flex: 1 1 0;
    min-width: 0;
    padding: 10px 14px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
}

.oc-preorc-price-item--total {
    background: linear-gradient(180deg, rgba(153, 255, 0, 0.12) 0%, rgba(153, 255, 0, 0.04) 100%);
    border-left: 1px solid var(--preorc-line);
}

.oc-preorc-price-sep {
    display: none;
}

.oc-preorc-price-label {
    display: block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #94a3b8;
    line-height: 1.2;
}

.oc-preorc-price-value {
    display: block;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--preorc-ink);
}

.oc-preorc-price-item--total .oc-preorc-price-value {
    font-size: 19px;
    color: var(--preorc-accent-ink);
}

.oc-preorc-price-notes {
    margin: 8px 0 0;
    padding: 0;
    font-size: 11px;
    line-height: 1.45;
    color: var(--preorc-muted);
}

.oc-preorc-price-divider,
.oc-preorc-price-bar-inner,
.oc-preorc-price-cell,
.oc-preorc-price-meta,
.oc-preorc-price-note {
    display: none;
}

.oc-preorc-empty {
    margin: 0 0 14px;
    padding: 12px 14px;
    border-radius: 10px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #92400e;
    font-size: 13px;
    line-height: 1.5;
}

.oc-preorc-foot {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 14px 20px 16px;
    border-top: 1px solid var(--preorc-line);
    background: var(--preorc-surface-soft);
    box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.06);
}

.oc-preorc-foot-actions {
    display: flex;
    gap: 8px;
    padding-top: 12px;
}

.oc-preorc-btn {
    flex: 1 1 0;
    min-height: 44px;
    padding: 10px 16px;
    border-radius: 10px;
    border: 1px solid transparent;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition:
        background 160ms var(--oc-ease),
        border-color 160ms var(--oc-ease),
        transform 120ms var(--oc-ease);
}

.oc-preorc-btn:active {
    transform: scale(0.99);
}

.oc-preorc-btn--ghost {
    background: #fff;
    border-color: var(--preorc-line);
    color: #475569;
}

.oc-preorc-btn--ghost:hover {
    background: var(--preorc-surface-soft);
    border-color: #cbd5e1;
}

.oc-preorc-btn--primary {
    flex-grow: 1.4;
    background: var(--preorc-accent);
    border-color: rgba(122, 204, 0, 0.5);
    color: var(--preorc-accent-ink);
    box-shadow: 0 4px 14px rgba(153, 255, 0, 0.28);
}

.oc-preorc-btn--primary:hover {
    background: var(--preorc-accent-hover);
    border-color: var(--preorc-accent-hover);
    box-shadow: 0 6px 18px rgba(153, 255, 0, 0.34);
}

.oc-preorc-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px var(--preorc-accent-ring);
}

@media (max-width: 560px) {
    .oc-preorc-config-grid,
    .oc-preorc-lead-grid {
        grid-template-columns: 1fr;
    }

    .oc-preorc-field--qty {
        grid-column: auto;
    }

    .oc-preorc-modal {
        max-height: 92vh;
    }

    .oc-preorc-head,
    .oc-preorc-body,
    .oc-preorc-foot {
        padding-left: 16px;
        padding-right: 16px;
    }

    .oc-preorc-foot-actions {
        flex-direction: column-reverse;
    }
}

@media (prefers-reduced-motion: reduce) {
    .oc-preorc-overlay,
    .oc-preorc-modal,
    .oc-preorc-btn,
    .oc-preorc-choice,
    .oc-preorc-step {
        transition: none;
    }
}

.oc-vitrine-orc-empty {
    margin: 0;
    font-size: 14px;
    color: #64748b;
}

.oc-vitrine-orc-summary {
    margin: 0 0 14px;
    padding: 0;
    list-style: none;
}

.oc-vitrine-orc-summary li {
    margin-bottom: 8px;
}

.oc-vitrine-orc-summary strong {
    color: #0f172a;
    font-weight: 700;
}

.oc-vitrine-orc-desc {
    margin: 0 0 12px;
    font-size: 13px;
    color: #475569;
}

.oc-vitrine-orc-note {
    margin: 0 0 12px;
    font-size: 12px;
    color: #64748b;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(148, 163, 184, 0.12);
    border: 1px solid rgba(148, 163, 184, 0.22);
}

.oc-vitrine-orc-pricing {
    margin: 0 0 16px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.oc-vitrine-orc-price-group-title {
    font-family: 'Barlow Condensed', 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 800;
    color: #0f172a;
    margin: 12px 0 8px;
}

.oc-vitrine-orc-price-group-title:first-child {
    margin-top: 0;
}

.oc-vitrine-orc-price-line {
    margin: 0 0 4px;
    font-size: 13px;
    color: #334155;
    line-height: 1.45;
}

.oc-vitrine-orc-price-sizes {
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 600;
    color: #475569;
}

.oc-vitrine-orc-bullets {
    margin: 0 0 12px;
    padding: 0 0 0 1.15em;
    font-size: 13px;
    line-height: 1.5;
    color: #475569;
}

.oc-vitrine-orc-bullets li {
    margin-bottom: 6px;
}

.oc-vitrine-orc-foot {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 14px 20px 18px;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    background: #fafbfc;
}

.oc-vitrine-orc-btn {
    flex: 1 1 auto;
    min-width: 120px;
    padding: 12px 16px;
    border-radius: 12px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    border: 1px solid transparent;
    transition:
        transform 180ms var(--oc-ease),
        box-shadow 180ms var(--oc-ease),
        border-color 180ms var(--oc-ease);
}

.oc-vitrine-orc-btn--ghost {
    background: #fff;
    border-color: rgba(15, 23, 42, 0.14);
    color: #475569;
}

.oc-vitrine-orc-btn--ghost:hover {
    border-color: #0f172a;
    color: #0f172a;
}

.oc-vitrine-orc-btn--wa {
    flex: 2 1 200px;
    background: linear-gradient(180deg, #22c55e 0%, #16a34a 100%);
    color: #fff;
    border-color: rgba(21, 128, 61, 0.5);
    box-shadow: 0 6px 18px rgba(22, 163, 74, 0.35);
}

.oc-vitrine-orc-btn--wa:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(22, 163, 74, 0.42);
}

/* Grid catálogo 2026 — 3+3+1 centralizado em desktop; menos “buraco” visual */
.oc-vitrine-kit-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
    max-width: 1180px;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .oc-vitrine-kit-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 32px;
    }

    /* Sétimo card (7 linhas): centraliza na última fila */
    .oc-kit-card.oc-kit-card--catalog:nth-last-child(1):nth-child(7) {
        grid-column: 2;
    }
}

@media (max-width: 1023px) and (min-width: 541px) {
    .oc-kit-card.oc-kit-card--catalog:nth-last-child(1):nth-child(7) {
        grid-column: 1 / -1;
        justify-self: center;
        width: min(100%, 440px);
    }
}

.oc-vitrine-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px;
    color: var(--oc-text-muted);
    font-size: 14px;
    background: rgba(255, 255, 255, 0.72);
    border-radius: 20px;
    border: 1px dashed rgba(15, 23, 42, 0.12);
    backdrop-filter: blur(8px);
}

/* ═══ KIT CARD — design vertical premium ══════════════════════ */
.oc-kit-card.oc-kit-card--catalog {
    display: block;
    min-height: 0;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-top: 5px solid var(--oc-tier-accent, #334155);
    box-shadow:
        0 2px 8px rgba(15, 23, 42, 0.04),
        0 22px 48px -18px rgba(15, 23, 42, 0.16);
    background: #fff;
    transition:
        transform 280ms var(--oc-ease),
        box-shadow 280ms var(--oc-ease),
        border-color 280ms var(--oc-ease);
    animation: oc-fade-up 420ms var(--oc-ease) backwards;
    outline: none;
}

.oc-kit-card.oc-kit-card--catalog:hover,
.oc-kit-card.oc-kit-card--catalog:focus-visible {
    transform: translateY(-6px);
    border-color: rgba(15, 23, 42, 0.12);
    box-shadow:
        0 0 0 1px rgba(153, 255, 0, 0.35),
        0 16px 40px rgba(15, 23, 42, 0.1),
        0 36px 56px -24px rgba(15, 23, 42, 0.22);
}

.oc-kit-card.oc-kit-card--catalog:focus-visible {
    box-shadow:
        0 0 0 3px rgba(153, 255, 0, 0.42),
        0 28px 52px -18px rgba(15, 23, 42, 0.18);
}

/* Split compacto: uniforme grande + painel só specs (nome da linha só no PNG) */
.oc-kit-card-split {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    min-height: 300px;
    height: 100%;
}

.oc-kit-card-hero {
    position: relative;
    z-index: 0;
    flex: 0 0 52%;
    min-width: 0;
    margin-right: -48px;
    padding: 12px 40px 16px 12px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    border-radius: 20px 0 0 20px;
    background:
        radial-gradient(ellipse 90% 70% at 50% 100%, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 251, 0.5) 50%, transparent 75%),
        linear-gradient(145deg,
            rgba(255, 255, 255, 0.6) 0%,
            color-mix(in srgb, var(--oc-tier-accent, #334155) 8%, #eef1f6) 55%,
            color-mix(in srgb, var(--oc-tier-accent, #334155) 14%, #e2e6ef) 100%);
}

/* Esconde só o ruído tipográfico do PNG no canto; deixa o uniforme limpo no centro */
.oc-kit-card-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    border-radius: inherit;
    background: linear-gradient(118deg,
            rgba(252, 253, 254, 0.98) 0%,
            rgba(252, 253, 254, 0.5) 12%,
            rgba(252, 253, 254, 0.06) 26%,
            transparent 40%);
}

.oc-kit-visual-frame {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 128%;
    margin: 0 -12% 0 0;
    padding: 0;
    min-height: 240px;
    border-radius: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background: transparent;
    box-shadow: none;
}

/* “Piso” suave sob o manequim — ancora o produto como hero */
.oc-kit-visual-frame::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 4%;
    transform: translateX(-50%);
    width: 85%;
    height: 28%;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(ellipse closest-side,
            rgba(15, 23, 42, 0.07) 0%,
            rgba(15, 23, 42, 0.02) 45%,
            transparent 72%);
}

.oc-kit-card-visual {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 280px;
    max-height: min(48vw, 340px);
    background-color: transparent;
    background-size: contain;
    background-position: center 90%;
    background-repeat: no-repeat;
    flex: 0 0 auto;
    filter:
        drop-shadow(0 20px 36px rgba(15, 23, 42, 0.18)) drop-shadow(0 6px 14px rgba(15, 23, 42, 0.10));
    transform: translateX(4px) scale(1.28);
    transition: transform 300ms var(--oc-ease), filter 300ms var(--oc-ease);
}

.oc-kit-card.oc-kit-card--catalog:hover .oc-kit-card-visual,
.oc-kit-card.oc-kit-card--catalog:focus-within .oc-kit-card-visual {
    transform: translateX(2px) translateY(-6px) scale(1.36);
    filter:
        drop-shadow(0 32px 52px rgba(15, 23, 42, 0.2)) drop-shadow(0 12px 24px rgba(15, 23, 42, 0.12));
}

.oc-kit-card-panel {
    position: relative;
    z-index: 1;
    flex: 1 1 48%;
    min-width: 0;
    padding: 16px 14px 76px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    color: #0f172a;
    border-radius: 0 20px 20px 0;
    background-color: #ffffff;
    box-shadow: -4px 0 32px rgba(0, 0, 0, 0.04);
}

.oc-kit-card-panel::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.01) 0%, rgba(15, 23, 42, 0.04) 100%);
    pointer-events: none;
}

.oc-kit-panel-kicker {
    position: relative;
    z-index: 1;
    display: inline-block;
    font-family: 'Barlow Condensed', 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.38em;
    text-transform: uppercase;
    color: var(--oc-tier-accent, #334155);
    background: color-mix(in srgb, var(--oc-tier-accent, #334155) 10%, transparent);
    border: 1px solid color-mix(in srgb, var(--oc-tier-accent, #334155) 28%, transparent);
    border-radius: 999px;
    padding: 3px 10px;
    margin-bottom: 14px;
}

/* Estrelas tipo ouro sobre painel escuro */
.oc-kit-card--icone .oc-kit-card-panel .oc-kit-card-stars {
    position: relative;
    z-index: 1;
    justify-content: center;
    gap: 4px;
    margin-bottom: 16px;
    font-size: 15px;
    line-height: 1;
}

.oc-kit-card--icone .oc-kit-card-panel .oc-kit-star {
    color: rgba(15, 23, 42, 0.12);
}

.oc-kit-card--icone .oc-kit-card-panel .oc-kit-star.is-on {
    color: #eab308;
    opacity: 1;
    filter: drop-shadow(0 2px 4px rgba(234, 179, 8, 0.2));
}

.oc-kit-card--icone .oc-kit-card-panel .oc-kit-card-desc {
    position: relative;
    z-index: 1;
    width: 100%;
    margin: 0;
    padding: 0 6px;
    font-size: 11px;
    line-height: 1.68;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.015em;
    max-width: none;
    overflow-wrap: break-word;
    flex: 0 1 auto;
}

.oc-kit-panel-price {
    position: relative;
    z-index: 1;
    width: 100%;
    margin: 0 0 10px;
    padding: 0 4px;
    text-align: center;
}

.oc-kit-price-line {
    display: block;
    font-family: 'Barlow Condensed', 'Inter', sans-serif;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #fff;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.18);
    line-height: 1.25;
}

.oc-kit-price-tier {
    display: block;
    position: relative;
    z-index: 1;
    margin-top: 8px;
    margin-bottom: 4px;
    font-family: 'Barlow Condensed', 'Inter', sans-serif;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.92);
}

.oc-kit-price-tier:first-child {
    margin-top: 0;
}

.oc-kit-price-row {
    display: block;
    position: relative;
    z-index: 1;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    line-height: 1.35;
    margin-top: 3px;
}

.oc-kit-price-hint {
    display: block;
    position: relative;
    z-index: 1;
    font-size: 9px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.3;
    margin-bottom: 2px;
}

.oc-kit-price-sizes {
    display: block;
    position: relative;
    z-index: 1;
    font-size: 9px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 4px;
    margin-bottom: 2px;
    line-height: 1.35;
}

.oc-kit-card-summary-list {
    position: relative;
    z-index: 1;
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    margin: 0 0 10px;
    padding: 0 6px 0 1.15em;
    list-style: disc;
    text-align: left;
}

.oc-kit-card-summary-list li {
    margin-bottom: 7px;
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.5;
    color: #334155;
    overflow-wrap: break-word;
}

.oc-kit-card-summary-price {
    font-weight: 700;
}

.oc-kit-card-summary-sizes {
    font-weight: 600;
    font-size: 10px;
    color: #64748b;
}

.oc-kit-card-summary-tag {
    list-style: none;
    margin-left: -1em;
    padding-top: 4px;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    font-size: 10px;
    font-weight: 600;
    color: #334155;
    line-height: 1.45;
}

.oc-kit-card-summary-infant {
    list-style: none;
    margin: 8px 0 0 -1em;
    padding: 8px 10px;
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(15, 23, 42, 0.08);
    font-size: 10px;
    font-weight: 600;
    font-style: normal;
    letter-spacing: 0.02em;
    color: #334155;
    line-height: 1.45;
}

.oc-kit-bullet-list {
    position: relative;
    z-index: 1;
    flex: 1 1 auto;
    min-height: 0;
    margin: 0 0 10px;
    padding: 0 4px 0 1.15em;
    text-align: left;
    font-size: 10px;
    line-height: 1.55;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    list-style: disc;
}

.oc-kit-bullet-list li {
    margin-bottom: 4px;
}

.oc-kit-panel-actions {
    position: absolute;
    z-index: 2;
    bottom: 16px;
    left: 14px;
    right: 14px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
}

.oc-kit-panel-plus {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
    font-weight: 500;
    line-height: 1;
    color: var(--oc-tier-accent, #334155);
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
    background: #f1f5f9;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 1),
        0 2px 6px rgba(15, 23, 42, 0.05);
    transition:
        background 220ms var(--oc-ease),
        color 220ms var(--oc-ease),
        transform 220ms var(--oc-ease),
        box-shadow 220ms var(--oc-ease);
}

.oc-kit-card.oc-kit-card--catalog:hover .oc-kit-panel-plus,
.oc-kit-card.oc-kit-card--catalog:focus-within .oc-kit-panel-plus {
    background: var(--oc-tier-accent, #0f172a);
    color: #fff;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.18);
    transform: rotate(90deg) scale(1.04);
}

.oc-kit-card-panel .oc-kit-card-cta {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    gap: 8px;
    margin-top: 0;
    padding: 11px 14px;
    min-height: 42px;
    border-radius: 12px;
    font-family: 'Barlow Condensed', 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: #0d0d0d;
    background: linear-gradient(150deg, #b3ff4d 0%, #99ff00 60%, #7acc00 100%);
    border: 1px solid rgba(122, 204, 0, 0.6);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.55) inset,
        0 4px 14px rgba(153, 255, 0, 0.28);
    cursor: pointer;
    transition:
        transform 220ms var(--oc-ease),
        box-shadow 220ms var(--oc-ease),
        filter 220ms var(--oc-ease);
}

.oc-kit-cta-label {
    flex: 0 1 auto;
    text-align: center;
    white-space: nowrap;
}

.oc-kit-cta-arrow {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    color: rgba(0, 0, 0, 0.45);
    transition: color 220ms var(--oc-ease);
}

.oc-kit-card.oc-kit-card--catalog:hover .oc-kit-card-panel .oc-kit-card-cta,
.oc-kit-card.oc-kit-card--catalog:focus-within .oc-kit-card-panel .oc-kit-card-cta {
    transform: translateY(-2px);
    filter: brightness(1.07);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.55) inset,
        0 10px 28px rgba(153, 255, 0, 0.42);
}

.oc-kit-card.oc-kit-card--catalog:hover .oc-kit-card-panel .oc-kit-cta-arrow,
.oc-kit-card.oc-kit-card--catalog:focus-within .oc-kit-card-panel .oc-kit-cta-arrow {
    color: rgba(0, 0, 0, 0.7);
}

/* Cards estreitos (grid 2 colunas / tablet): empilha como Ícone mobile */
@media (max-width: 960px) {
    .oc-kit-card-split {
        flex-direction: column;
        min-height: 0;
    }

    .oc-kit-card-hero {
        flex: none;
        margin-right: 0;
        padding: 10px 12px 8px;
        border-radius: 20px 20px 0 0;
    }

    .oc-kit-visual-frame {
        max-width: 100%;
        margin: 0;
        min-height: 248px;
        padding: 2px 4px 0;
    }

    .oc-kit-card-visual {
        height: 300px;
        max-height: 50vh;
        transform: scale(1.08);
        background-position: center 100%;
    }

    .oc-kit-card.oc-kit-card--catalog:hover .oc-kit-card-visual,
    .oc-kit-card.oc-kit-card--catalog:focus-within .oc-kit-card-visual {
        transform: translateY(-5px) scale(1.11);
    }

    .oc-kit-card-panel {
        flex: none;
        border-radius: 0 0 20px 20px;
        padding: 20px 18px 76px;
    }
}

.oc-side-logos {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: flex-start;
    gap: 55%;
    padding: 12px 14px;
}


/* ═══════════════════════════════════════════
   12. RESPONSIVE
   ═══════════════════════════════════════════ */

@media (max-width: 1024px) {
    :root {
        --oc-header-h: 56px;
        --oc-sidebar-w: 260px;
    }

    #oc-header {
        padding: 0 18px;
    }

    .oc-header-breadcrumb {
        font-size: 10px;
    }
}

@media (max-width: 768px) {
    :root {
        --oc-header-h: 56px;
        --oc-sidebar-w: 0px;
    }

    /* Mobile = immersive fullscreen canvas. The 3D scene fills every
       pixel from below the header all the way to the bottom edge.
       Floating chrome (thumb, personalizar pill, zoom) sits ON TOP of
       the canvas with shadows for elevation. The copyright footer is
       hidden — every pixel goes to the model. */
    html,
    body {
        height: 100vh;
        overflow: hidden;
    }

    #root,
    .App {
        height: 100vh !important;
        min-height: 0 !important;
        max-height: 100vh !important;
    }

    /* Área do simulador com o mesmo fundo da página (tema claro). */
    #root:has(canvas[data-engine*="three.js"]),
    #root:has(canvas[data-engine*="three.js"]) .App {
        background: var(--oc-bg) !important;
    }

    /* The canvas column wrapper is inline from React. Browsers often
       serialise `calc(100vh - 200px)` as `calc(-200px + 100vh)` — if we only
       match one form, the rule never applies and the column stays short
       (~2/3 viewport) with a white band + “divider” below.

       Taller column → larger R3F sizing; a modest negative margin recenters
       the model — too much (-50px) pulled the top into the header crop. */
    #root div[style*="calc(100vh - 200px)"],
    #root div[style*="calc(-200px + 100vh)"] {
        height: calc(160vh - 260px) !important;
        max-height: none !important;
    }

    #root canvas[data-engine*="three.js"] {
        margin-top: -28px !important;
        transform: none !important;
    }

    /* Hide the copyright strip on mobile — reclaim that strip for the canvas. */
    #oc-footer {
        display: none !important;
    }

    #oc-header {
        padding: 0 14px;
    }

    .oc-header-breadcrumb {
        display: none;
    }

    .oc-header-logo {
        height: 30px;
    }

    .oc-hamburger {
        display: inline-flex;
    }

    #oc-sidebar {
        width: 320px;
        left: -340px;
        transition: left 0.3s var(--oc-ease);
        box-shadow: var(--oc-shadow-lg);
    }

    #oc-sidebar.oc-mobile-open {
        left: 0;
    }

    .oc-mobile-close {
        display: flex;
    }

    /* Overlay + vignette also span the full canvas area now */
    #oc-canvas-overlay,
    #oc-vignette {
        left: 0;
        bottom: 0;
    }

    #oc-model-loader {
        left: 0;
    }

    /* On mobile: replace BAIXAR + ORÇAMENTO bar with the PERSONALIZAR
       pill (bottom-right) and a single round model thumb (bottom-left).
       Zoom controls stack vertically just above the PERSONALIZAR pill.
       All sit FLOATING over the canvas — no white footer behind them. */
    #oc-action-bar {
        display: none !important;
    }

    #oc-personalizar-btn {
        display: inline-flex;
        bottom: 16px;
    }

    #oc-model-thumb {
        display: inline-flex;
        bottom: 16px;
    }

    #oc-zoom-controls {
        bottom: 80px;
        right: 14px;
        left: auto;
        flex-direction: column;
        gap: 6px;
    }

    .oc-zoom-btn {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }

    /* When edit mode is active, the regular chrome is hidden and the
       editor header/footer take over. Zoom controls stay visible so the
       user can frame the model while editing. */
    body.oc-edit-mode #oc-header,
    body.oc-edit-mode #oc-footer,
    body.oc-edit-mode #oc-model-thumb,
    body.oc-edit-mode #oc-personalizar-btn {
        display: none !important;
    }

    body.oc-edit-mode #oc-zoom-controls {
        bottom: calc(var(--oc-edit-footer-h, 200px) + 14px);
    }

    body.oc-edit-mode #oc-edit-header {
        display: flex;
    }

    body.oc-edit-mode #oc-edit-footer {
        display: block;
    }

    /* In edit mode the canvas spans top-edit-header to bottom-edit-footer.
       Allowance: header 56 + footer height (driven by --oc-edit-footer-h
       which JS updates whenever the active tab content changes). */
    body.oc-edit-mode #root,
    body.oc-edit-mode .App {
        height: calc(170vh - 56px - var(--oc-edit-footer-h, 100px)) !important;
        max-height: calc(170vh - 56px - var(--oc-edit-footer-h, 100px)) !important;
    }

    body.oc-edit-mode #root canvas {
        transform: translateY(20px) !important;
    }

    body.oc-edit-mode #oc-canvas-overlay,
    body.oc-edit-mode #oc-vignette {
        top: var(--oc-header-h);
        bottom: var(--oc-edit-footer-h, 200px);
    }

    /* Edit footer also drops the lower padding since the page footer is
       hidden in edit mode — content sits closer to the screen edge. */
    body.oc-edit-mode #oc-edit-footer {
        padding-bottom: 18px;
    }

    /* Modal becomes bottom sheet for small variants */
    #oc-modal-root {
        padding: 0;
        align-items: flex-end;
    }

    .oc-modal-variant-small {
        width: 100%;
        max-width: 100%;
        border-radius: 18px 18px 0 0;
        max-height: 80vh;
    }

    .oc-modal-variant-large {
        width: 100%;
        height: 100vh;
        max-width: 100%;
        border-radius: 0;
    }
}

@media (max-width: 480px) {
    .oc-vitrine-kit-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .oc-kit-card-visual {
        height: 278px;
        max-height: 48vh;
    }

    .oc-kit-card-panel {
        padding: 18px 14px 76px;
    }

    .oc-kit-panel-actions {
        left: 12px;
        right: 12px;
        bottom: 14px;
        gap: 8px;
    }

    .oc-kit-card-panel .oc-kit-card-cta {
        padding: 9px 10px;
        min-height: 38px;
        font-size: 9px;
        letter-spacing: 0.06em;
        gap: 8px;
    }

    .oc-kit-cta-arrow {
        font-size: 13px;
    }

    .oc-kit-panel-plus {
        width: 38px;
        height: 38px;
        font-size: 19px;
        border-radius: 11px;
    }

    .oc-modelos-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
}


/* ═══════════════════════════════════════════
   13. PRINT
   ═══════════════════════════════════════════ */

@media print {

    #oc-header,
    #oc-footer,
    #oc-sidebar,
    #oc-modal-root,
    #oc-action-bar,
    #oc-zoom-controls,
    #oc-splash,
    #oc-canvas-overlay,
    #oc-vignette {
        display: none !important;
    }
}
