/* Marketplace UI — Shopee / Mercado Livre / Amazon patterns */

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

:root {
    --mk-bg: #f5f5f5;
    --mk-surface: #ffffff;
    --mk-border: #e5e5e5;
    --mk-text-secondary: #757575;
    --mk-header: #2d6a4f;
    --mk-cta: #ee4d2d;
    --mk-cta-hover: #d73211;
    --mk-container: 1200px;
    --focus-ring: 0 0 0 3px rgba(238, 77, 45, 0.35);
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
}

/* Container centralizado (Shopee / Mercado Livre) */
.site-container {
    width: 100%;
    max-width: var(--mk-container);
    margin-left: auto;
    margin-right: auto;
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
    box-sizing: border-box;
}

/* ---- Layout global (sem “buraco” branco) ---- */
.layout-marketplace {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    background: var(--mk-bg);
}

.layout-marketplace .main-market {
    flex: 0 1 auto;
    width: 100%;
    padding-bottom: 1rem;
}

.layout-marketplace .site-footer {
    flex-shrink: 0;
    margin-top: 0 !important;
    background: var(--color-accent) !important;
    color: rgba(255, 255, 255, 0.95) !important;
    border-top: none;
}

/* ---- Header estilo Mercado Livre (2 linhas) ---- */
.header-market {
    position: sticky;
    top: 0;
    z-index: 200;
    background: var(--mk-header);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.header-market-inner {
    display: flex;
    flex-direction: column;
    padding-top: max(0.35rem, env(safe-area-inset-top));
    padding-bottom: 0;
}

.header-row {
    display: flex;
    align-items: center;
    min-width: 0;
}

.header-row--top {
    gap: 0.45rem 0.6rem;
    padding: 0.4rem 0 0.5rem;
}

.header-row--nav {
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    min-height: 40px;
    overflow: visible;
}

.header-menu-mobile {
    flex-shrink: 0;
}

@media (min-width: 992px) {
    .header-menu-mobile {
        display: none !important;
    }
}

.topbar-logo-link {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-shrink: 0;
    max-width: min(42%, 200px);
    text-decoration: none;
    line-height: 1.25;
}

.topbar-brand-name {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.02rem;
    min-width: 0;
    line-height: 1.1;
    color: #fff;
}

.topbar-brand-line {
    display: block;
    font-family: var(--font-head);
    color: #fff;
    white-space: nowrap;
}

.topbar-brand-line--main {
    font-weight: 800;
    font-size: clamp(0.78rem, 2.5vw, 1rem);
    letter-spacing: 0.04em;
    line-height: 1.05;
    text-transform: uppercase;
}

.topbar-brand-line--sub {
    font-weight: 600;
    font-size: clamp(0.58rem, 1.8vw, 0.75rem);
    line-height: 1.1;
    text-transform: lowercase;
    opacity: 0.95;
}

.header-search-row {
    flex: 1 1 auto;
    min-width: 0;
}

/* Linha 2: Categorias + menus */
.header-cat-wrap {
    position: relative;
    flex-shrink: 0;
}

.header-cat-toggle {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    height: 40px;
    padding: 0 0.85rem;
    margin: 0;
    border: none;
    border-right: 1px solid rgba(255, 255, 255, 0.18);
    background: transparent;
    color: #fff;
    font-family: var(--font-head);
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.15s;
}

.header-cat-toggle:hover,
.header-cat-wrap.is-open .header-cat-toggle {
    background: rgba(255, 255, 255, 0.1);
}

.header-cat-chevron {
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid rgba(255, 255, 255, 0.9);
    transition: transform 0.2s;
}

.header-cat-wrap.is-open .header-cat-chevron {
    transform: rotate(180deg);
}

.header-cat-panel {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 300;
    min-width: 220px;
    max-width: min(92vw, 320px);
    max-height: min(70vh, 420px);
    overflow-y: auto;
    background: #fff;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--mk-border);
    border-top: none;
}

.header-cat-panel[hidden] {
    display: none !important;
}

.header-cat-list {
    list-style: none;
    margin: 0;
    padding: 0.35rem 0;
}

.header-cat-link {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.5rem 1rem;
    color: #333;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: background 0.12s;
}

.header-cat-link:hover {
    background: rgba(45, 106, 79, 0.08);
    color: var(--mk-header);
    text-decoration: none;
}

.header-cat-ico {
    width: 1.5rem;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1;
}

.header-subnav {
    display: flex;
    align-items: stretch;
    flex: 1 1 auto;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.header-subnav::-webkit-scrollbar {
    display: none;
}

.header-subnav a {
    display: flex;
    align-items: center;
    padding: 0 0.85rem;
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    transition: background 0.15s, color 0.15s;
}

.header-subnav a:last-child {
    border-right: none;
}

.header-subnav a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

@media (min-width: 992px) {
    .topbar-logo-link {
        max-width: 220px;
    }

    .header-row--top {
        padding: 0.5rem 0 0.55rem;
    }

    .header-row--nav {
        min-height: 42px;
    }

    .header-cat-toggle,
    .header-subnav a {
        font-size: 0.9rem;
        padding-inline: 1rem;
    }
}

@media (max-width: 480px) {
    .topbar-brand-name {
        display: none;
    }

    .topbar-logo-link {
        max-width: none;
    }
}

.header-search-row .topbar-busca-wrap {
    width: 100%;
}

.header-search-row .busca-input-wrap {
    min-height: 38px;
    border-radius: 999px;
    padding: 0.15rem 0.2rem 0.15rem 0.5rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.header-search-row .busca-input-wrap:focus-within {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
}

.header-search-row .topbar-busca-input {
    font-size: 0.9rem;
}

.header-search-row .btn-buscar {
    background: var(--mk-cta);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 0.45rem 1rem;
    font-size: 0.82rem;
    font-weight: 600;
    min-height: 36px;
    line-height: 1.2;
    cursor: pointer;
    transition: background 0.15s var(--ease-out), transform 0.1s;
}

.header-search-row .btn-buscar:hover {
    background: var(--mk-cta-hover);
}

.header-search-row .btn-buscar:active {
    transform: scale(0.98);
}

.header-search-row .btn-buscar:focus-visible {
    box-shadow: var(--focus-ring);
}

@media (max-width: 380px) {
    .header-search-row .btn-buscar {
        padding: 0.45rem 0.65rem;
        font-size: 0;
        min-width: 44px;
        position: relative;
    }
    .header-search-row .btn-buscar::after {
        content: '';
        position: absolute;
        inset: 0;
        margin: auto;
        width: 18px;
        height: 18px;
        background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='white' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3-3'/%3E%3C/svg%3E") center/contain no-repeat;
    }
}

/* ---- Home marketplace ---- */
.home-page {
    background: var(--mk-bg);
    border-radius: 8px;
    overflow: hidden;
}

@media (min-width: 992px) {
    .layout-marketplace .main-market {
        padding-top: 0.75rem;
    }
    .home-page {
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    }
}

/* ---- Categorias (atalhos — 1 linha, máx. 5) ---- */
.home-cats {
    background: linear-gradient(180deg, #fff 0%, #fafafa 100%);
    border-bottom: 1px solid var(--mk-border);
    padding: 0.65rem 0 0.55rem;
}

.home-cats-scroll {
    overflow: visible;
}

.home-cats-list {
    list-style: none;
    margin: 0;
    padding: 0 0.5rem;
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: space-around;
    gap: 0.25rem 0.35rem;
    width: 100%;
    box-sizing: border-box;
}

.home-cats-item {
    flex: 1 1 0;
    min-width: 0;
    max-width: 20%;
}

.home-atalho {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0.2rem 0.1rem 0.3rem;
    border: none;
    background: transparent;
    font: inherit;
    cursor: pointer;
    border-radius: 12px;
    text-decoration: none !important;
    color: inherit;
    transition: transform 0.15s var(--ease-out), background 0.15s;
    -webkit-tap-highlight-color: transparent;
}

.home-atalho:hover,
.home-atalho:focus,
.home-atalho:active,
.home-atalho:visited {
    text-decoration: none !important;
    color: inherit;
}

.home-atalho:hover {
    background: rgba(45, 106, 79, 0.06);
}
.home-atalho:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
}

.home-atalho-ico {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    line-height: 1;
    background: #fff;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s var(--ease-out);
}

.home-atalho-txt {
    display: block;
    width: 100%;
    font-size: 0.68rem;
    font-weight: 600;
    line-height: 1.15;
    text-align: center;
    color: #555;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-decoration: none !important;
}

@media (min-width: 768px) {
    .home-cats {
        padding: 0.75rem 0 0.6rem;
    }
    .home-atalho-ico {
        width: 52px;
        height: 52px;
        font-size: 1.45rem;
    }
    .home-atalho-txt {
        font-size: 0.72rem;
    }
}

@media (max-width: 380px) {
    .home-atalho-ico {
        width: 42px;
        height: 42px;
        font-size: 1.15rem;
    }
    .home-atalho-txt {
        font-size: 0.62rem;
    }
}

/* ---- Título da seção de ofertas (destaque) ---- */
.home-deals-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem 0.85rem;
    margin-top: 0.35rem;
    background: linear-gradient(105deg, #fff5f0 0%, #ffe8dc 45%, #fff9f5 100%);
    border: 1px solid rgba(238, 77, 45, 0.22);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(238, 77, 45, 0.12);
    position: relative;
    overflow: hidden;
}

.home-deals-head::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #ff6b35, var(--mk-cta));
    border-radius: 12px 0 0 12px;
}

.home-deals-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-head);
    margin: 0;
    min-width: 0;
    padding-left: 0.15rem;
}

.home-deals-fire {
    flex-shrink: 0;
    font-size: clamp(1.35rem, 4vw, 1.65rem);
    line-height: 1;
    filter: drop-shadow(0 2px 4px rgba(238, 77, 45, 0.35));
    animation: home-deals-fire-pulse 1.8s ease-in-out infinite;
}

@keyframes home-deals-fire-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

.home-deals-title-text {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.2rem 0.35rem;
    line-height: 1.2;
    min-width: 0;
}

.home-deals-title-main {
    font-size: clamp(1.05rem, 3vw, 1.25rem);
    font-weight: 800;
    color: var(--mk-cta);
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.home-deals-title-sub {
    font-size: clamp(0.95rem, 2.6vw, 1.1rem);
    font-weight: 700;
    color: #2d2d2d;
}

.home-deals-cat {
    font-weight: 800;
    color: var(--mk-header);
}

.home-deals-more {
    flex-shrink: 0;
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, #ff6b35, var(--mk-cta));
    box-shadow: 0 3px 10px rgba(238, 77, 45, 0.35);
    transition: transform 0.15s, box-shadow 0.15s, filter 0.15s;
}
.home-deals-more:hover {
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(238, 77, 45, 0.45);
    filter: brightness(1.05);
}

@media (prefers-reduced-motion: reduce) {
    .home-deals-fire {
        animation: none;
    }
}

.home-carrossel-loading:not(.visually-hidden) {
    text-align: center;
    font-size: 0.85rem;
    color: var(--mk-text-secondary);
    padding: 0.5rem;
}

/* Seções por categoria (abaixo do carrossel — estilo Shopee) */
.home-cat-section {
    background: var(--mk-surface);
    margin-top: 0.5rem;
    border-top: 8px solid var(--mk-bg);
    padding: 0.85rem 0 1rem;
}

.home-cat-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0 0 0.65rem;
    border-bottom: 1px solid var(--mk-border);
    margin-bottom: 0.65rem;
}

.home-cat-section-title {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0;
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.home-cat-section-ico {
    font-size: 1.25rem;
    line-height: 1;
}

.home-cat-section-link {
    flex-shrink: 0;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--mk-cta);
    text-decoration: none;
}
.home-cat-section-link:hover {
    text-decoration: underline;
}

.home-cat-section-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0 -0.25rem;
}
.home-cat-section-scroll::-webkit-scrollbar {
    display: none;
}

.home-cat-section-track {
    display: flex;
    gap: 0.5rem;
    padding: 0.15rem 0.25rem 0.35rem;
    width: max-content;
    min-width: 100%;
}

.home-cat-card {
    flex: 0 0 auto;
    width: 148px;
    min-width: 148px;
    max-width: 168px;
    border-radius: 8px;
    border: 1px solid var(--mk-border);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.home-cat-card .card-imagem {
    aspect-ratio: 1;
    padding: 0.35rem;
}

.home-cat-card h3 {
    font-size: 0.75rem;
    -webkit-line-clamp: 2;
}

.home-cat-card .btn-clique-aqui {
    font-size: 0.72rem;
    min-height: 34px;
    padding: 0.4rem 0.5rem;
    background: var(--mk-cta);
    border-radius: 4px;
}

@media (min-width: 992px) {
    .home-cat-section-track {
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        width: 100%;
        gap: 0.65rem;
    }
    .home-cat-card {
        width: auto;
        min-width: 0;
        max-width: none;
    }
}

.resultados-cat-nome {
    color: var(--mk-header);
}

/* Breadcrumb estilo marketplace */
.breadcrumb-nav {
    margin-bottom: 0.5rem;
}
.breadcrumb-trail {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    margin: 0;
    padding: 0.5rem 0.75rem;
    background: var(--mk-surface);
    border-radius: 8px;
    border: 1px solid var(--mk-border);
    font-size: 0.8125rem;
    line-height: 1.4;
}
.breadcrumb-trail li {
    display: inline-flex;
    align-items: center;
    color: var(--mk-text-secondary);
}
.breadcrumb-trail li + li::before {
    content: '›';
    margin: 0 0.4rem;
    color: #bbb;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1;
}
.breadcrumb-trail a {
    color: #666;
    text-decoration: none !important;
    font-weight: 500;
    transition: color 0.15s;
}
.breadcrumb-trail a:hover,
.breadcrumb-trail a:focus {
    color: var(--mk-cta);
    text-decoration: none !important;
}
.breadcrumb-current {
    color: #333;
    font-weight: 600;
}

.layout-marketplace .resultados-busca {
    padding-top: 0.5rem;
}
.layout-marketplace .resultados-busca > h1 {
    margin: 0.35rem 0 0.85rem;
    padding: 0 0.15rem;
}

/* Card: imagem e título clicáveis → loja */
.card-link-media {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none !important;
    color: inherit;
    border-radius: inherit;
}
.card-link-media:hover,
.card-link-media:focus {
    text-decoration: none !important;
    opacity: 0.92;
}
.card-link-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.card-link-titulo {
    color: var(--color-text, #333);
    text-decoration: none !important;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    line-height: 1.35;
    font-weight: inherit;
    font-size: inherit;
}
.card-link-titulo:hover,
.card-link-titulo:focus {
    color: var(--mk-cta);
    text-decoration: none !important;
}
.card-produto .btn-clique-aqui:hover {
    text-decoration: none;
}

.home-carrossel-bloco {
    background: var(--mk-surface);
    padding-bottom: 0.75rem;
}

/* Carrossel full-bleed mobile */
.carrossel-wrap--market {
    margin: 0;
    position: relative;
}
.carrossel-wrap--market .carrossel-container {
    scroll-padding-left: 0.65rem;
}
.carrossel-wrap--market .carrossel-track {
    padding: 0.5rem 0.65rem 0.75rem;
    gap: 0.5rem;
}
.carrossel-wrap--market .carrossel-item {
    width: calc(50vw - 1.1rem);
    min-width: 148px;
    max-width: 190px;
    scroll-snap-align: start;
    border-radius: 8px;
    border: 1px solid var(--mk-border);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}
@media (min-width: 768px) {
    .carrossel-wrap--market .carrossel-item {
        width: 200px;
        min-width: 200px;
        max-width: 220px;
    }
}
.carrossel-wrap--market .carrossel-item:hover {
    transform: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.carrossel-wrap--market .card-imagem {
    aspect-ratio: 1;
    padding: 0.5rem;
    background: #fff;
    border-radius: 0;
}
.carrossel-wrap--market .card-produto .card-body {
    padding: 0.5rem 0.55rem 0.6rem;
}
.carrossel-wrap--market .card-produto h3 {
    font-size: 0.78rem;
    line-height: 1.35;
    min-height: 2.5em;
    -webkit-line-clamp: 2;
}
.carrossel-wrap--market .loja-logo img {
    max-height: 22px;
}
.carrossel-wrap--market .btn-clique-aqui {
    min-height: 36px;
    padding: 0.45rem 0.5rem;
    font-size: 0.75rem;
    border-radius: 4px;
    background: var(--mk-cta);
    box-shadow: none;
}
.carrossel-wrap--market .btn-clique-aqui:hover {
    background: var(--mk-cta-hover);
    box-shadow: none;
}
.carrossel-hint {
    font-size: 0.72rem;
    margin: 0.25rem 0 0;
    padding: 0 0.65rem;
    color: var(--mk-text-secondary);
}

.carrossel-dots {
    display: flex;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.35rem 0 0;
}
.carrossel-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #d0d0d0;
    transition: background 0.2s, width 0.2s;
}
.carrossel-dots span.ativo {
    width: 18px;
    border-radius: 3px;
    background: var(--mk-cta);
}

/* Hero antigo — neutralizar */
.hero-home,
.hero-home .hero-bg {
    padding: 0;
    margin: 0;
    background: none;
}
.hero-home .hero-bg { display: none; }
.trust-strip { display: none !important; }

/* ---- Cards grid (resultados) estilo ML ---- */
.layout-marketplace .grid-produtos {
    gap: 0.5rem;
    padding: 0 0.65rem;
}
@media (max-width: 767px) {
    .layout-marketplace .grid-produtos {
        grid-template-columns: repeat(2, 1fr);
    }
    .layout-marketplace .card-produto {
        border-radius: 8px;
        border: 1px solid var(--mk-border);
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    }
    .layout-marketplace .card-produto:hover {
        transform: none;
    }
    .layout-marketplace .card-produto .card-imagem {
        aspect-ratio: 1;
        padding: 0.4rem;
    }
    .layout-marketplace .card-produto h3 {
        font-size: 0.78rem;
        -webkit-line-clamp: 2;
    }
    .layout-marketplace .btn-clique-aqui {
        background: var(--mk-cta);
        box-shadow: none;
        font-size: 0.75rem;
        min-height: 36px;
        border-radius: 4px;
    }
}

/* ---- Footer marketplace ---- */
.site-footer .footer-inner.site-container {
    max-width: var(--mk-container);
}
.site-footer .footer-tagline {
    font-size: 0.85rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
    margin: 0.75rem 0 0;
    max-width: 280px;
}
.site-footer .footer-logo {
    max-height: 72px;
    width: auto;
}
@media (min-width: 600px) {
    .site-footer .footer-logo { max-height: 96px; }
}
.site-footer .footer-col-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.site-footer .footer-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1rem;
    max-width: var(--mk-container);
    margin: 0 auto;
    padding: 1rem max(1rem, env(safe-area-inset-left)) 1rem max(1rem, env(safe-area-inset-right));
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    box-sizing: border-box;
}
.site-footer .footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
}
.site-footer .footer-legal-texto {
    color: rgba(255, 255, 255, 0.8) !important;
}
.site-footer .footer-copyright {
    color: rgba(255, 255, 255, 0.75) !important;
}

/* ---- A11y ---- */
.skip-link {
    position: fixed;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    z-index: 10000;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    text-decoration: none;
}
.skip-link:focus,
.skip-link:focus-visible {
    left: 0.75rem;
    top: 0.75rem;
    width: auto;
    height: auto;
    clip: auto;
    overflow: visible;
    white-space: normal;
    padding: 0.65rem 1rem;
    background: #fff;
    color: #1a1a1a;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    font-weight: 600;
    font-size: 0.9rem;
    outline: none;
    text-decoration: none;
}
:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
}

/* ---- Resultados ---- */
.layout-marketplace .resultados-busca {
    padding: 0.75rem 0;
}
.layout-marketplace .grid-produtos {
    padding-left: 0;
    padding-right: 0;
}
.layout-marketplace .resultados-filtros {
    border-radius: 8px;
    margin-bottom: 0.65rem;
}

/* ---- Loading ---- */
.loading-overlay {
    backdrop-filter: blur(4px);
}

/* ---- Páginas internas ---- */
.layout-marketplace .legal-page {
    padding: 1rem 0.65rem 2rem;
    margin: 0 auto 1rem;
    background: var(--mk-surface);
    border-radius: 8px;
    max-width: 720px;
}

.header-market .topbar {
    position: static;
    top: auto;
    z-index: auto;
}
