/* =====================================================================
   Delight — visual novo (v2)

   Só vale com <html class="v2"> (ver visualNovo() em app/helpers.php).
   Carregado por último: sobrepõe main.css, theme.css e delight.css sem
   mexer neles, então desligar o visual novo devolve a loja de antes.

   Paleta "gesso e rosé": fundo creme quente, tinta quase preta (casa com
   a logo) e um rosé profundo só para o que se compra.
   Tipos: Bricolage Grotesque (títulos) e Figtree (texto), em caixa
   normal — o tudo-maiúsculo espaçado era o que deixava a loja dura.
   ===================================================================== */

html.v2 {
    --v2-bg: #f6f0eb;
    --v2-surface: #ebe0d9;
    --v2-card: #ffffff;
    --v2-ink: #2c2325;
    --v2-muted: #6a5d5e;
    --v2-line: #e3d6ce;
    --v2-accent: #9a3c4c;
    --v2-accent-hover: #83303f;
    --v2-accent-soft: #f3e3e3;
    --v2-ok: #2e7d4f;
    --v2-r-sm: 10px;
    --v2-r: 16px;
    --v2-r-lg: 22px;
    --v2-shadow: 0 1px 2px rgba(44, 35, 37, .06), 0 4px 14px rgba(44, 35, 37, .06);
    --v2-shadow-hover: 0 2px 4px rgba(44, 35, 37, .08), 0 10px 24px rgba(44, 35, 37, .10);
    --v2-display: "Bricolage Grotesque", system-ui, sans-serif;
    --v2-text: "Figtree", system-ui, sans-serif;

    --font_family: var(--v2-text);
    --border_radius: 12px;
    --color_background: var(--v2-bg);
    --color_font: var(--v2-ink);
    --color_border: var(--v2-line);
}

/* ---------------------------------------------------------------------
   Base: caixa normal, fonte nova, fundo creme
   --------------------------------------------------------------------- */
html.v2 body,
html.v2 .application {
    background: var(--v2-bg);
    color: var(--v2-ink);
    font-family: var(--v2-text);
}

/* :where() zera a especificidade: vence o tema antigo (pelo !important)
   mas perde para os títulos abaixo, que também usam !important. */
:where(html.v2 body *:not(.icon):not([class^="icon-"]):not([class*=" icon-"])) {
    text-transform: none !important;
    letter-spacing: normal !important;
    font-family: var(--v2-text) !important;
}

html.v2 h1, html.v2 h2, html.v2 h3,
html.v2 .title-section, html.v2 .page-title .text,
html.v2 .product-title, html.v2 .v2-loja-nome {
    font-family: var(--v2-display) !important;
    font-weight: 600;
    letter-spacing: -0.02em !important;
    color: var(--v2-ink);
}

html.v2 a { color: inherit; }

/* O tema antigo reserva o topo para um cabeçalho fixo; o novo é sticky
   e ocupa o próprio lugar, então a reserva virava faixa vazia. */
html.v2 .application,
html.v2 .application.with-message-line,
html.v2 .application.header-compacto { padding-top: 0 !important; }

html.v2 .container {
    max-width: 1200px;
    padding-left: 16px;
    padding-right: 16px;
}

/* Botões: um só estilo de ação (rosé) e um secundário (contorno) */
html.v2 .button,
html.v2 .buy-button,
html.v2 .news-button,
html.v2 .botao-carregar-mais {
    background: var(--v2-accent) !important;
    color: #fff !important;
    border: 0 !important;
    border-radius: 999px !important;
    font-family: var(--v2-text) !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    padding: 13px 26px !important;
    min-height: 48px;
    box-shadow: none !important;
    transition: background-color .18s ease, transform .12s ease;
}
html.v2 .button span,
html.v2 .buy-button span,
html.v2 .news-button span { color: inherit !important; }
html.v2 .button:hover,
html.v2 .buy-button:hover,
html.v2 .news-button:hover,
html.v2 .botao-carregar-mais:hover { background: var(--v2-accent-hover) !important; transform: translateY(-1px); }
html.v2 .button:active,
html.v2 .buy-button:active,
html.v2 .news-button:active,
html.v2 .botao-carregar-mais:active { transform: translateY(0) scale(.98); }

html.v2 .button-outline {
    background: transparent !important;
    color: var(--v2-ink) !important;
    box-shadow: inset 0 0 0 1.5px var(--v2-line) !important;
}
html.v2 .button-outline:hover { background: var(--v2-card) !important; }

html.v2 :focus-visible {
    outline: 2px solid var(--v2-accent);
    outline-offset: 2px;
}

/* ---------------------------------------------------------------------
   Faixa do topo e cabeçalho
   --------------------------------------------------------------------- */
html.v2 .message-line {
    background: var(--v2-ink) !important;
    color: #f6f0eb !important;
    font-size: 13px !important;
    font-weight: 500;
    padding: 8px 0 !important;
}
html.v2 .message-line .container { font-size: 13px !important; }

html.v2 .header,
html.v2 .header .bg {
    background: var(--v2-card) !important;
    color: var(--v2-ink) !important;
    border-bottom: 1px solid var(--v2-line);
    box-shadow: none !important;
}
html.v2 .header .bg { height: auto !important; min-height: 0 !important; }
/* O delight.js encolhe o cabeçalho ao rolar (header-compacto): aqui a
   altura já é a compacta, então ele não pode fixar 68px e cortar a busca. */
html.v2 .application.header-compacto .header .line { height: auto !important; }
html.v2 .application.header-compacto .header .logo img { height: 40px; max-height: 40px; }
html.v2 .header {
    height: auto !important;
    position: sticky;
    top: 0;
    z-index: 50;
}
html.v2 .header .line {
    height: auto !important;
    min-height: 68px;
    gap: 20px;
    padding-top: 8px;
    padding-bottom: 8px;
}
html.v2 .header .logo img {
    height: 48px;
    width: auto;
    background: var(--v2-ink);
    border-radius: 12px;
    padding: 4px 6px;
}
html.v2 .header .search-wrapper { flex: 1; max-width: 560px; }
html.v2 .header .block-logo { width: auto !important; flex: 0 0 auto; justify-content: flex-start !important; }
html.v2 .header .header-search-wrapper {
    margin: 0 !important;
    background: var(--v2-bg) !important;
    border: 1px solid var(--v2-line) !important;
    border-radius: 999px !important;
    overflow: visible;
    height: 46px;
    display: flex;
    align-items: center;
    position: relative;
}
html.v2 .header .input-search {
    background: transparent !important;
    border: 0 !important;
    color: var(--v2-ink) !important;
    font-size: 15px !important;
    height: 44px;
    padding: 0 8px 0 20px !important;
    flex: 1;
}
html.v2 .header .input-search::placeholder { color: var(--v2-muted); }
html.v2 .header .button-search {
    background: transparent !important;
    color: var(--v2-ink) !important;
    width: 46px; height: 44px;
    border-radius: 999px;
}
html.v2 .header .button-search .icon,
html.v2 .header .account .icon,
html.v2 .header .cart-header .icon { color: var(--v2-ink) !important; }
html.v2 .header .account a { color: var(--v2-ink) !important; font-weight: 600; font-size: 15px; }
html.v2 .header .cart-header {
    position: relative;
    width: 46px; height: 46px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 999px;
    background: var(--v2-bg);
}
html.v2 .header .cart-header .number {
    position: absolute;
    top: -2px; right: -4px;
    min-width: 20px; height: 20px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--v2-accent) !important;
    color: #fff !important;
    font-size: 12px; font-weight: 700;
    line-height: 20px; text-align: center;
}

html.v2 .busca-sugestoes {
    background: var(--v2-card) !important;
    border: 1px solid var(--v2-line) !important;
    border-radius: var(--v2-r) !important;
    box-shadow: var(--v2-shadow-hover) !important;
    overflow: hidden;
    top: calc(100% + 6px) !important;
}

/* ---------------------------------------------------------------------
   Home: cartão da loja (estilo iFood)
   --------------------------------------------------------------------- */
html.v2 .v2-loja { padding: 20px 0 8px; }
html.v2 .v2-loja-card {
    display: flex;
    gap: 20px;
    align-items: center;
    background: var(--v2-card);
    border-radius: var(--v2-r-lg);
    padding: 24px;
    box-shadow: var(--v2-shadow);
}
html.v2 .v2-loja-logo {
    flex: 0 0 auto;
    width: 84px; height: 84px;
    object-fit: contain;
    background: var(--v2-ink);
    border-radius: 50%;
    padding: 10px 16px;
}
html.v2 .v2-loja-nome {
    font-size: 30px !important;
    line-height: 1.1;
    margin: 0 0 4px;
}
html.v2 .v2-loja-desc {
    color: var(--v2-muted);
    font-size: 15px;
    margin: 0 0 12px;
}
html.v2 .v2-loja-fatos {
    display: flex; flex-wrap: wrap; gap: 8px;
    list-style: none; margin: 0; padding: 0;
}
html.v2 .v2-loja-fatos li {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--v2-bg);
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 13px; font-weight: 500;
    color: var(--v2-ink);
}
html.v2 .v2-loja-fatos li.aberta { background: #e6f2ea; color: var(--v2-ok); font-weight: 600; }
html.v2 .v2-loja-fatos li.fechada { background: var(--v2-accent-soft); color: var(--v2-accent); font-weight: 600; }
html.v2 .v2-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }

/* O que o cartão já diz sai da página: barra de status e régua de selos */
html.v2.page-home .category-menu-ifood,
html.v2.page-home .section-info-ruler,
html.v2.page-home .message-line { display: none !important; }

/* ---------------------------------------------------------------------
   Pílulas de categoria (grudam sob o cabeçalho)
   --------------------------------------------------------------------- */
html.v2 .ifood-sticky-pills-wrapper {
    position: sticky;
    top: 69px;
    z-index: 40;
    background: var(--v2-bg) !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 10px 0 !important;
    margin: 0 !important;
}
html.v2 .ifood-pills-container { gap: 8px !important; padding: 2px 0 !important; }
html.v2 .ifood-pill {
    background: var(--v2-card) !important;
    color: var(--v2-ink) !important;
    border: 1px solid var(--v2-line) !important;
    border-radius: 999px !important;
    padding: 9px 16px !important;
    min-height: 40px;
    font-size: 14px !important;
    font-weight: 500 !important;
    white-space: nowrap;
    box-shadow: none !important;
    transition: background-color .15s ease, border-color .15s ease;
}
html.v2 .ifood-pill span { color: inherit !important; font-size: inherit !important; }
html.v2 .ifood-pill:hover { border-color: var(--v2-ink) !important; }
html.v2 .ifood-pill.active {
    background: var(--v2-ink) !important;
    border-color: var(--v2-ink) !important;
    color: #fff !important;
}
html.v2 .pills-seta {
    background: var(--v2-card) !important;
    color: var(--v2-ink) !important;
    border: 1px solid var(--v2-line) !important;
    border-radius: 50% !important;
    box-shadow: var(--v2-shadow) !important;
}

/* ---------------------------------------------------------------------
   Seções e títulos
   --------------------------------------------------------------------- */
html.v2 .section-showcase { padding: 28px 0 12px !important; margin: 0 !important; }
html.v2 .section-header,
html.v2 .section-header.center { display: block !important; text-align: left !important; margin: 0 0 16px !important; padding: 0 !important; }
html.v2 .title-section {
    display: block !important;
    text-align: left !important;
    width: auto !important;
    font-size: 26px !important;
    line-height: 1.15 !important;
    margin: 0 !important;
}
html.v2 .title-section::after,
html.v2 .title-section::before,
html.v2 .section-header::after { display: none !important; }

html.v2 .page-title { margin: 24px 0 16px !important; text-align: left !important; }
html.v2 .page-title .text { font-size: 30px !important; }

html.v2 .showcase-redirect { margin-top: 24px !important; }

/* ---------------------------------------------------------------------
   Grade de produtos
   --------------------------------------------------------------------- */
html.v2 .list-product {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin: 0 !important;
}
html.v2 .list-product > .item {
    width: auto !important;
    max-width: none !important;
    flex: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

html.v2 .ifood-product-card {
    container-type: inline-size;
    position: relative;
    display: flex !important;
    flex-direction: column;
    height: 100%;
    background: var(--v2-card) !important;
    border: 0 !important;
    border-radius: var(--v2-r) !important;
    padding: 10px !important;
    box-shadow: var(--v2-shadow) !important;
    transition: box-shadow .2s ease, transform .2s ease;
    overflow: visible;
}
html.v2 .ifood-product-card:hover { box-shadow: var(--v2-shadow-hover) !important; transform: translateY(-2px); }

html.v2 .ifood-product-card .image {
    position: relative;
    border-radius: var(--v2-r-sm);
    overflow: hidden;
    background: #fff;
    margin: 0 !important;
}
html.v2 .ifood-product-card .space-image {
    display: block;
    aspect-ratio: 1 / 1;
    padding: 0 !important;
    height: auto !important;
    position: relative;
}
html.v2 .ifood-product-card .space-image img {
    position: absolute; inset: 0;
    width: 100% !important; height: 100% !important;
    object-fit: contain;
    transition: transform .35s ease, opacity .25s ease;
}
html.v2 .ifood-product-card:hover .space-image img:first-child { transform: scale(1.03); }

html.v2 .ifood-product-card .tags { position: absolute; top: 8px; left: 8px; }
html.v2 .ifood-product-card .tag-offer {
    background: var(--v2-accent) !important;
    color: #fff !important;
    border-radius: 999px !important;
    padding: 3px 9px !important;
    font-size: 12px !important; font-weight: 700 !important;
}

html.v2 .ifood-product-card .product-info {
    display: flex !important;
    flex-direction: column;
    gap: 4px;
    padding: 10px 2px 2px !important;
    text-align: left !important;
    flex: 1;
}
html.v2 .ifood-product-card .product-name {
    font-size: 14px !important;
    line-height: 1.35 !important;
    font-weight: 500 !important;
    color: var(--v2-ink) !important;
    height: auto !important;
    max-height: 2.7em !important;
    padding: 0 !important;
    margin: 0 !important;
    white-space: normal !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden !important;
    text-overflow: clip;
}
html.v2 .ifood-product-card .product-info { justify-content: flex-start !important; }
html.v2 .ifood-product-card .product-price,
html.v2 .ifood-product-card .product-price .price {
    margin: 2px 0 0 !important;
    text-align: left !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
}
html.v2 .ifood-product-card .price { display: flex !important; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; justify-content: flex-start !important; }
html.v2 .ifood-product-card .current-price {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: var(--v2-ink) !important;
}
html.v2 .ifood-product-card .old-price { font-size: 13px !important; color: var(--v2-muted) !important; text-decoration: line-through; }
html.v2 .ifood-product-card .price-from-label { font-size: 12px !important; color: var(--v2-muted) !important; width: 100%; }
html.v2 .ifood-product-card .product-variants-hint {
    font-size: 12px !important;
    color: var(--v2-muted) !important;
    margin: 0 !important;
}
html.v2 .ifood-product-card .product-unavailable {
    display: inline-block;
    font-size: 12px !important; font-weight: 600 !important;
    color: var(--v2-muted) !important;
    background: var(--v2-bg);
    border-radius: 999px;
    padding: 3px 10px;
}
html.v2 .ifood-product-card:not(.show-down) .space-image img { opacity: .55; filter: grayscale(.4); }

/* Botão "+" redondo no canto da foto, como no iFood */
html.v2 .ifood-product-card .actions {
    position: absolute;
    top: calc(100cqi - 54px);
    right: 16px;
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    z-index: 3;
}
html.v2 .ifood-product-card .ifood-quick-add-btn {
    width: 40px !important; height: 40px !important;
    min-width: 0 !important;
    padding: 0 !important;
    border-radius: 50% !important;
    background: var(--v2-accent) !important;
    color: #fff !important;
    border: 0 !important;
    box-shadow: 0 2px 8px rgba(154, 60, 76, .35) !important;
    display: inline-flex !important; align-items: center; justify-content: center;
    transition: background-color .15s ease, transform .12s ease;
    position: relative;
    /* O tema antigo só mostrava o botão no hover do computador */
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}
html.v2 .ifood-product-card .ifood-quick-add-btn:hover { background: var(--v2-accent-hover) !important; transform: scale(1.06); }
html.v2 .ifood-product-card .ifood-quick-add-btn:active { transform: scale(.94); }
html.v2 .ifood-product-card .ifood-quick-add-btn .plus-icon {
    font-size: 24px !important; line-height: 1 !important; font-weight: 400 !important;
    color: #fff !important; margin: 0 !important; padding: 0 0 2px;
}
html.v2 .ifood-product-card .ifood-quick-add-btn .btn-text {
    position: absolute !important;
    width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap;
}

/* Seletor rápido de variação */
html.v2 .quick-variants {
    background: var(--v2-card) !important;
    border-radius: var(--v2-r) !important;
    box-shadow: var(--v2-shadow-hover) !important;
    border: 1px solid var(--v2-line) !important;
    z-index: 5;
}
html.v2 .quick-variants-header { font-weight: 600; font-size: 14px; padding: 10px 12px !important; border-bottom: 1px solid var(--v2-line); }
html.v2 .quick-variant {
    display: flex !important; justify-content: space-between; gap: 8px;
    width: 100%;
    background: transparent !important;
    border: 0 !important;
    border-radius: var(--v2-r-sm) !important;
    padding: 10px 12px !important;
    font-size: 14px !important;
    color: var(--v2-ink) !important;
    text-align: left;
}
html.v2 .quick-variant:hover { background: var(--v2-bg) !important; }
html.v2 .quick-variant-label,
html.v2 .quick-variant-price { font-size: 15px !important; color: var(--v2-ink) !important; }
html.v2 .quick-variant-price { font-weight: 600; white-space: nowrap; }
html.v2 .quick-variant.disabled { opacity: .5; }

/* Carregar mais */
html.v2 .carregar-mais-area { display: flex; justify-content: center; margin: 24px 0 8px; }
html.v2 .fim-do-catalogo { text-align: center; color: var(--v2-muted); }

/* ---------------------------------------------------------------------
   Faixa de destaque e "Sobre"
   --------------------------------------------------------------------- */
html.v2 .banner-tarja-black {
    background: transparent !important;
    padding: 24px 0 8px !important;
    margin: 0 !important;
}
html.v2 .banner-tarja-black .container > * { position: relative; }
html.v2 .banner-tarja-black .container {
    background: var(--v2-accent);
    border-radius: var(--v2-r-lg);
    padding: 28px 28px !important;
    color: #fff;
    max-width: calc(1200px - 32px);
    width: calc(100% - 32px);
}
html.v2 .banner-tarja-black .tarja-title {
    font-family: var(--v2-display) !important;
    font-size: 26px !important;
    font-weight: 600;
    letter-spacing: -0.02em !important;
    color: #fff !important;
    margin: 0 0 4px !important;
    text-align: left !important;
}
html.v2 .banner-tarja-black .tarja-subtitle {
    color: #f6e3e6 !important;
    font-size: 15px !important;
    margin: 0 !important;
    text-align: left !important;
}

html.v2 .section-about-store { padding: 32px 0 40px !important; }
html.v2 .about-store-text {
    max-width: 640px;
    font-size: 16px !important;
    line-height: 1.6 !important;
    color: var(--v2-muted) !important;
    text-align: left !important;
    margin: 0 !important;
}

/* ---------------------------------------------------------------------
   Página do produto
   --------------------------------------------------------------------- */
html.v2 .page-content { padding-top: 8px !important; }
html.v2 .breadcrumb { font-size: 13px !important; color: var(--v2-muted) !important; margin: 16px 0 !important; }
html.v2 .breadcrumb a { color: var(--v2-muted) !important; }
html.v2 .breadcrumb a:hover { color: var(--v2-ink) !important; }

html.v2 .product-main { gap: 32px; align-items: flex-start; }
html.v2 .product-gallery,
html.v2 .product-detail { min-width: 0; }
html.v2 .gallery-main {
    background: #fff;
    border-radius: var(--v2-r-lg);
    overflow: hidden;
    box-shadow: var(--v2-shadow);
}
html.v2 .gallery-main img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; }
html.v2 .gallery-thumbs { gap: 8px !important; margin-top: 10px !important; }
html.v2 .gallery-thumb {
    width: 68px !important; height: 68px !important;
    padding: 0 !important;
    border-radius: 12px !important;
    overflow: hidden;
    border: 2px solid transparent !important;
    background: #fff !important;
}
html.v2 .gallery-thumb.active { border-color: var(--v2-ink) !important; }
html.v2 .gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

html.v2 .product-detail {
    background: var(--v2-card);
    border-radius: var(--v2-r-lg);
    padding: 24px !important;
    box-shadow: var(--v2-shadow);
}
html.v2 .product-title {
    font-size: 28px !important;
    line-height: 1.15 !important;
    margin: 0 0 6px !important;
}
html.v2 .product-sku { font-size: 13px !important; color: var(--v2-muted) !important; }
html.v2 .product-detail .product-price { margin: 16px 0 !important; }
html.v2 .product-detail .current-price { font-size: 30px !important; font-weight: 700 !important; color: var(--v2-ink) !important; }
html.v2 .product-detail .old-price { color: var(--v2-muted) !important; }
html.v2 .product-installments { font-size: 14px !important; color: var(--v2-muted) !important; }
html.v2 .product-unavailable { color: var(--v2-accent) !important; font-weight: 600; }

html.v2 .variants-label { display: block; font-size: 14px !important; font-weight: 600 !important; margin: 0 0 10px !important; }
html.v2 .variants-options { gap: 8px !important; }
html.v2 .variant-option {
    display: inline-flex !important; flex-direction: column; gap: 2px;
    background: var(--v2-card) !important;
    border: 1.5px solid var(--v2-line) !important;
    border-radius: 12px !important;
    padding: 9px 14px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: var(--v2-ink) !important;
    margin: 0 !important;
    transition: border-color .15s ease;
}
html.v2 .variant-option:hover { border-color: var(--v2-ink) !important; }
html.v2 .variant-option.active { border-color: var(--v2-accent) !important; background: var(--v2-accent-soft) !important; }
html.v2 .variant-option .variant-price { font-size: 12px !important; color: var(--v2-muted) !important; font-weight: 400 !important; }
html.v2 .variant-option.disabled { opacity: .45; text-decoration: none !important; }
html.v2 .variant-option.disabled .variant-price { text-decoration: none !important; }

html.v2 .product-actions { gap: 10px !important; margin-top: 20px !important; flex-wrap: nowrap !important; }
html.v2 .product-actions .buy-button { flex: 1 1 auto; min-width: 0; width: auto !important; padding-left: 16px !important; padding-right: 16px !important; white-space: nowrap; }
html.v2 .product-actions .quantity { flex: 0 0 auto; }
html.v2 .quantity {
    border: 1.5px solid var(--v2-line) !important;
    border-radius: 999px !important;
    overflow: hidden;
    height: 48px;
    background: var(--v2-card);
}
html.v2 .quantity button {
    width: 40px; height: 46px;
    background: transparent !important; border: 0 !important;
    font-size: 20px !important; color: var(--v2-ink) !important;
}
html.v2 .quantity input {
    width: 36px !important; height: 46px !important;
    border: 0 !important; text-align: center;
    background: transparent !important;
    font-size: 16px !important; font-weight: 600;
    -moz-appearance: textfield;
}
html.v2 .quantity input::-webkit-outer-spin-button,
html.v2 .quantity input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
html.v2 .product-stock-warning { color: var(--v2-accent) !important; font-size: 13px !important; font-weight: 600; margin-top: 10px !important; }

html.v2 .product-description {
    margin-top: 24px !important;
    padding-top: 20px !important;
    border-top: 1px solid var(--v2-line) !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
    color: var(--v2-ink);
}
html.v2 .product-description .title-section { font-size: 20px !important; margin-bottom: 10px !important; }

/* ---------------------------------------------------------------------
   Sacola, estados vazios
   --------------------------------------------------------------------- */
html.v2 .cart-list {
    background: var(--v2-card);
    border-radius: var(--v2-r-lg);
    box-shadow: var(--v2-shadow);
    padding: 8px 16px !important;
    list-style: none;
}
html.v2 .cart-list > li { border-color: var(--v2-line) !important; }
html.v2 .cart-list img { border-radius: 12px; background: #fff; }
html.v2 .cart-summary {
    background: var(--v2-card);
    border-radius: var(--v2-r-lg);
    box-shadow: var(--v2-shadow);
    padding: 16px 20px !important;
    border: 0 !important;
    margin-top: 12px !important;
    gap: 16px;
    flex-wrap: wrap;
}
html.v2 .cart-total .label { color: var(--v2-muted); font-size: 14px; }
html.v2 .cart-total .value { font-family: var(--v2-display) !important; font-size: 26px !important; font-weight: 600; }
html.v2 .cart-actions { gap: 10px !important; flex-wrap: wrap; }
html.v2 .cart-note { color: var(--v2-muted) !important; font-size: 14px !important; margin-top: 12px !important; }

html.v2 .catalog-empty {
    background: var(--v2-card);
    border-radius: var(--v2-r-lg);
    padding: 40px 24px !important;
    box-shadow: var(--v2-shadow);
}

/* ---------------------------------------------------------------------
   Barra flutuante da sacola
   --------------------------------------------------------------------- */
html.v2 .ifood-bottom-cart-bar {
    left: 50% !important;
    right: auto !important;
    bottom: 16px !important;
    transform: translateX(-50%);
    width: min(560px, calc(100% - 24px)) !important;
    background: var(--v2-accent) !important;
    color: #fff !important;
    border-radius: 18px !important;
    padding: 10px 10px 10px 16px !important;
    box-shadow: 0 8px 28px rgba(154, 60, 76, .35) !important;
    border: 0 !important;
    z-index: 60;
}
html.v2 .ifood-bottom-cart-bar * { color: #fff !important; }
html.v2 .ifood-bottom-cart-bar .cart-icon-badge { background: rgba(255, 255, 255, .16) !important; border-radius: 12px !important; width: 40px; height: 40px; position: relative; }
html.v2 .ifood-bottom-cart-bar .badge-count {
    background: #fff !important; color: var(--v2-accent) !important;
    border-radius: 999px !important; font-weight: 700 !important;
}
html.v2 .ifood-bottom-cart-bar .total-label { font-weight: 600; font-size: 14px !important; margin-left: 10px; }
html.v2 .ifood-bottom-cart-bar .total-amount { font-weight: 700; font-size: 16px !important; }
html.v2 .ifood-bottom-cart-bar .btn-view-cart {
    background: #fff !important;
    color: var(--v2-accent) !important;
    border-radius: 12px !important;
    padding: 10px 14px !important;
    font-weight: 700; font-size: 14px !important;
}
html.v2 .ifood-bottom-cart-bar .btn-view-cart * { color: var(--v2-accent) !important; }

/* Linha "faltam R$ X para frete grátis" no topo da barra */
html.v2 .ifood-bottom-cart-bar { flex-wrap: wrap; row-gap: 8px; }
html.v2 .ifood-bottom-cart-bar .frete-meta-barra {
    flex: 1 0 100%;
    order: -1;
    margin: 0 !important;
    padding: 0 2px !important;
    background: transparent !important;
    font-size: 12px !important;
    font-weight: 600;
    gap: 5px;
}
html.v2 .ifood-bottom-cart-bar .frete-meta-trilho { background: rgba(255, 255, 255, .25); border-radius: 999px; height: 4px; }
html.v2 .ifood-bottom-cart-bar .frete-meta-barra-cheia { background: #fff; border-radius: 999px; }

/* Na sacola */
html.v2 .frete-meta:not(.frete-meta-barra) {
    background: var(--v2-card);
    border-radius: var(--v2-r);
    box-shadow: var(--v2-shadow);
    padding: 14px 18px;
    color: var(--v2-ink);
    font-size: 14px;
}
html.v2 .frete-meta:not(.frete-meta-barra) .frete-meta-trilho { border-radius: 999px; background: var(--v2-bg); }
html.v2 .frete-meta:not(.frete-meta-barra) .frete-meta-barra-cheia { border-radius: 999px; background: var(--v2-accent); }
html.v2 .frete-meta-ok:not(.frete-meta-barra) { color: var(--v2-ok); }
html.v2 .frete-meta-ok:not(.frete-meta-barra) .frete-meta-barra-cheia { background: var(--v2-ok); }

/* Barra fixa "Pagar" do checkout no celular */
html.v2 .checkout-barra {
    background: var(--v2-card);
    border-radius: 18px 18px 0 0;
    box-shadow: 0 -8px 24px rgba(44, 35, 37, .12);
}
html.v2 .checkout-barra-total small { color: var(--v2-muted); }
html.v2 .checkout-barra-total strong { font-family: var(--v2-display); color: var(--v2-ink); }

/* Preço no Pix na página do produto */
html.v2 .product-pix { color: var(--v2-ok); }
html.v2 .product-pix strong { color: var(--v2-ok); }
html.v2 .product-pix-selo { border-radius: 999px; background: #e6f2ea; color: var(--v2-ok); }

html.v2 .whatsapp-floating { bottom: 88px !important; }

/* Na própria sacola e no checkout a barra só repete o que a tela mostra */
html.v2.page-cart .ifood-bottom-cart-bar,
html.v2.page-checkout .ifood-bottom-cart-bar { display: none !important; }

/* Espaço no fim da página para a barra não cobrir o último conteúdo */
html.v2 .site-main { padding-bottom: 96px; }

/* ---------------------------------------------------------------------
   Rodapé
   --------------------------------------------------------------------- */
html.v2 .footer {
    background: var(--v2-ink) !important;
    color: #d9cfcb !important;
    border: 0 !important;
    margin-top: 40px;
    padding-bottom: 80px;
}
html.v2 .footer * { color: inherit; }
html.v2 .footer .newsletter { background: transparent !important; padding: 28px 0 !important; }
html.v2 .footer .footer-main { background: transparent !important; border-bottom: 1px solid rgba(246, 240, 235, .12) !important; }
html.v2 .footer .newsletter .first { font-family: var(--v2-display) !important; font-size: 20px !important; font-weight: 600; color: #f6f0eb !important; }
html.v2 .footer .newsletter .last { color: #a39b99 !important; font-size: 14px !important; }
html.v2 .footer .newsletter .icon { color: #f6f0eb !important; }
html.v2 .footer .field {
    background: rgba(246, 240, 235, .08) !important;
    border: 1px solid rgba(246, 240, 235, .18) !important;
    border-radius: 999px !important;
    color: #f6f0eb !important;
    height: 48px;
    padding: 0 18px !important;
}
html.v2 .footer .field::placeholder { color: #a39b99; }
html.v2 .footer .form { gap: 8px; }
html.v2 .footer .cols { background: transparent !important; }
html.v2 .footer .box .title { color: #f6f0eb !important; font-weight: 600 !important; font-size: 15px !important; }
html.v2 .footer .list a,
html.v2 .footer .list span { color: #d9cfcb !important; font-size: 14px !important; }
html.v2 .footer .list a:hover { color: #fff !important; text-decoration: underline; text-underline-offset: 3px; }
html.v2 .footer .social-media a { color: #f6f0eb !important; }
html.v2 .footer .copy { background: transparent !important; border-top: 1px solid rgba(246, 240, 235, .12) !important; }
html.v2 .footer .copy .text { color: #a39b99 !important; font-size: 13px !important; }

/* ---------------------------------------------------------------------
   Celular
   --------------------------------------------------------------------- */
@media (max-width: 767px) {
    html.v2 .header .line {
        flex-wrap: wrap;
        gap: 10px;
        min-height: 0;
        padding-top: 10px; padding-bottom: 10px;
    }
    html.v2 .header .block-logo { order: 1; }
    html.v2 .header .account_cart { order: 2; margin-left: auto; gap: 8px; }
    html.v2 .header .account .conta-menu { display: none; }
    html.v2 .header .search-wrapper { order: 3; flex: 1 0 100%; max-width: none; }
    html.v2 .header .logo img { height: 40px; }
    html.v2 .header .header-search-wrapper { height: 44px; }
    html.v2 .header .input-search { font-size: 16px !important; }

    /* Com a busca embaixo, o cabeçalho fica mais alto: pílulas descem junto */
    html.v2 .ifood-sticky-pills-wrapper { top: 121px; }

    html.v2 .v2-loja { padding-top: 12px; }
    html.v2 .v2-loja-card { padding: 16px; gap: 14px; align-items: flex-start; }
    html.v2 .v2-loja-logo { width: 64px; height: 64px; padding: 8px 12px; }
    html.v2 .v2-loja-nome { font-size: 24px !important; }
    html.v2 .v2-loja-desc { font-size: 14px; }
    html.v2 .v2-loja-fatos li { font-size: 12px; padding: 5px 10px; }

    html.v2 .list-product { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    html.v2 .ifood-product-card { padding: 8px !important; }
    html.v2 .ifood-product-card .actions { top: calc(100cqi - 48px); right: 12px; }
    html.v2 .ifood-product-card .ifood-quick-add-btn { width: 36px !important; height: 36px !important; }
    html.v2 .ifood-product-card .product-name { font-size: 13px !important; }
    html.v2 .ifood-product-card .current-price { font-size: 15px !important; }

    /* Escolha de opção vira gaveta de baixo para cima (como no iFood) */
    html.v2 .quick-variants:not([hidden]) {
        position: fixed !important;
        left: 0 !important; right: 0 !important; bottom: 0 !important; top: auto !important;
        width: auto !important; height: auto !important;
        max-height: 72vh;
        overflow-y: auto;
        border-radius: 22px 22px 0 0 !important;
        border: 0 !important;
        padding: 6px 8px calc(16px + env(safe-area-inset-bottom)) !important;
        box-shadow: 0 0 0 100vmax rgba(44, 35, 37, .45) !important;
        z-index: 80 !important;
    }
    html.v2 .quick-variants:not([hidden]) .quick-variants-header {
        display: flex; justify-content: space-between; align-items: center;
        font-family: var(--v2-display) !important;
        font-size: 18px !important;
        padding: 12px 10px !important;
    }
    /* O card aberto sobe por cima dos vizinhos, do cabeçalho e da barra */
    html.v2 .list-product > .item:has(.quick-variants:not([hidden])) { position: relative; z-index: 90; }
    html.v2 .ifood-product-card:has(.quick-variants:not([hidden])) { transform: none !important; container-type: normal; }
    html.v2 .quick-variants:not([hidden]) .quick-variants-list { max-height: none !important; overflow: visible !important; }
    html.v2 .quick-variants:not([hidden]) .quick-variant { min-height: 52px; font-size: 15px !important; align-items: center; }
    html.v2 .quick-variants-close { width: 44px; height: 44px; font-size: 26px; background: var(--v2-bg) !important; border-radius: 50% !important; border: 0 !important; }

    html.v2 .title-section { font-size: 22px !important; }
    html.v2 .page-title .text { font-size: 24px !important; }
    html.v2 .banner-tarja-black .container { padding: 22px 20px !important; }
    html.v2 .banner-tarja-black .tarja-title { font-size: 22px !important; }

    html.v2 .product-main { gap: 16px; }
    html.v2 .product-gallery, html.v2 .product-detail { width: 100% !important; flex: 1 0 100% !important; max-width: 100% !important; }
    html.v2 .product-detail { padding: 18px !important; }
    html.v2 .product-title { font-size: 22px !important; }
    html.v2 .product-detail .current-price { font-size: 26px !important; }

    html.v2 .cart-summary { flex-direction: column; align-items: stretch !important; }
    html.v2 .cart-actions { flex-direction: column-reverse; align-items: stretch !important; }
    html.v2 .cart-actions .button { width: 100%; justify-content: center; }

    html.v2 .footer .newsletter { flex-direction: column; align-items: stretch !important; gap: 16px; }
    html.v2 .footer .form { flex-direction: column; align-items: stretch !important; }
    html.v2 .footer .cols .container { flex-direction: column; gap: 24px; }
}

@media (prefers-reduced-motion: reduce) {
    html.v2 *, html.v2 *::before, html.v2 *::after { transition: none !important; }
}

/* =====================================================================
   Refino 24/11/2026 — mesmos critérios do refino.css do visual atual.
   Para desfazer: apagar daqui até o fim do arquivo.
   ===================================================================== */
html.v2 body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
html.v2 ::selection { background: var(--v2-accent); color: #fff; }

/* Foto do card sobre um fundo creme: o branco das fotos "some" e o
   espaço vazio enquanto a imagem carrega parece intencional. */
html.v2 .ifood-product-card .image { background: #faf6f2; }
html.v2 .ifood-product-card .space-image img {
    box-sizing: border-box;
    padding: 6%;
    mix-blend-mode: multiply;
}

/* Conta e checkout: herdavam caixas retas e bordas do visual antigo.
   Agora seguem os cartões arredondados do v2. */
html.v2 .conta-caixa,
html.v2 .conta-bloco,
html.v2 .checkout-resumo {
    background: var(--v2-card);
    border: 0 !important;
    border-radius: var(--v2-r);
    box-shadow: var(--v2-shadow);
}
html.v2 .conta-caixa {
    max-width: 27rem;
    margin: 2rem auto 4rem;
    padding: 2rem 1.75rem;
}
html.v2 .checkout-principal { display: flex; flex-direction: column; gap: 16px; }
html.v2 .conta-titulo,
html.v2 .conta-bloco-titulo {
    font-family: var(--v2-display) !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}
html.v2 .conta-titulo { font-size: 26px !important; }
html.v2 .conta-bloco-titulo { font-size: 18px !important; }
html.v2 .conta-form label > span,
html.v2 .checkout-campo > span {
    text-transform: none;
    letter-spacing: 0;
    font-size: 13px;
    color: var(--v2-ink);
}
html.v2 .conta-form input,
html.v2 .checkout-campo input,
html.v2 .checkout-campo select {
    border: 1px solid var(--v2-line) !important;
    border-radius: var(--v2-r-sm) !important;
    background: #fff !important;
    font-size: 15px;
    transition: border-color .15s ease, box-shadow .15s ease;
}
html.v2 .conta-form input:focus,
html.v2 .checkout-campo input:focus,
html.v2 .checkout-campo select:focus {
    border-color: var(--v2-accent) !important;
    box-shadow: 0 0 0 3px var(--v2-accent-soft);
}
html.v2 .conta-form input:disabled {
    background: var(--v2-bg) !important;
    color: var(--v2-muted);
    cursor: not-allowed;
}
html.v2 .conta-vazio a { color: var(--v2-accent); font-weight: 600; }
html.v2 .conta-esqueci a { color: var(--v2-accent); }
html.v2 .pedido-pix-vencido { background: var(--v2-card); border: 0; border-radius: var(--v2-r); box-shadow: var(--v2-shadow); }
html.v2 .pedido-pix-copiar { border-radius: 999px !important; background: var(--v2-accent) !important; }
html.v2 .pedido-pix-validade strong { color: var(--v2-accent); }

@media (max-width: 767px) {
    html.v2.produto-barra-on .ifood-bottom-cart-bar { bottom: 84px !important; }
}
html.v2 .produto-barra { border-radius: 18px 18px 0 0; box-shadow: 0 -8px 24px rgba(44, 35, 37, .12); }
html.v2 .produto-barra-info strong { font-family: var(--v2-display); color: var(--v2-ink); }
html.v2 .produto-barra-info small { color: var(--v2-muted); }
html.v2 .produto-barra .button { border-radius: 999px !important; }
html.v2 .sugestoes-frete-titulo { font-family: var(--v2-display); color: var(--v2-ink); }
html.v2 .sugestao-frete { border: 0; border-radius: var(--v2-r); box-shadow: var(--v2-shadow); }
html.v2 .sugestao-frete-link img { border-radius: var(--v2-r-sm); }
html.v2 .sugestao-frete-add { border-radius: 999px; color: var(--v2-accent); }
html.v2 .sugestao-frete-add:hover { background: var(--v2-accent); color: #fff; border-color: var(--v2-accent); }
html.v2 .idade-portao { background: rgba(44, 35, 37, .92); }
html.v2 .idade-caixa { border-radius: var(--v2-r-lg); }
html.v2 .idade-caixa h2 { font-family: var(--v2-display); color: var(--v2-ink); }
html.v2 .idade-acoes .button, html.v2 .cookies-acoes .button { border-radius: 999px !important; }
html.v2 .cookies-aviso { border-radius: var(--v2-r); }
html.v2 .aviso-entrega { color: var(--v2-ok); }
html.v2 .aviso-entrega-fechada { color: #8a5a00; }
html.v2 .cart-frete {
    background: var(--v2-card);
    border-radius: var(--v2-r);
    box-shadow: var(--v2-shadow);
    padding: 14px 18px;
    margin: 16px 0;
}
html.v2 .cart-frete-campo input { border: 1px solid var(--v2-line); border-radius: var(--v2-r-sm); background: #fff; }
html.v2 .cart-frete .button { border-radius: 999px !important; }
html.v2 .cart-frete-bom { color: var(--v2-ok); }
html.v2 .cart-frete-ruim { color: var(--v2-accent); }
html.v2 .oferta-conta {
    background: #e6f2ea;
    color: var(--v2-ok);
    border-radius: var(--v2-r);
}
html.v2 .oferta-conta strong { font-family: var(--v2-display); color: var(--v2-ok); }
html.v2 .oferta-conta-acoes .button { border-radius: 999px !important; }
html.v2 .conta-esqueci small { color: var(--v2-muted); }
/* − / + de quantidade na sacola */
html.v2 .cart-qty {
    display: inline-flex;
    align-items: center;
    margin-top: 8px;
    border: 1px solid var(--v2-line);
    border-radius: 999px;
    background: #fff;
}
html.v2 .cart-qty button {
    width: 34px;
    height: 34px;
    border: 0;
    background: transparent;
    font-size: 18px;
    line-height: 1;
    color: var(--v2-ink);
    cursor: pointer;
    border-radius: 999px;
}
html.v2 .cart-qty button:hover:not([disabled]) { background: var(--v2-bg); }
html.v2 .cart-qty button[disabled] { opacity: .35; cursor: not-allowed; }
html.v2 .cart-qty-valor {
    min-width: 28px;
    text-align: center;
    font-weight: 600;
    font-size: 15px;
}
html.v2 .product-actions .buy-button[disabled] {
    opacity: .55;
    cursor: not-allowed;
    box-shadow: none !important;
}
html.v2 .conta-aviso { border-radius: var(--v2-r-sm); }
html.v2 .conta-pedido-status { border-radius: 999px; }
html.v2 .catalog-empty { margin-top: 2rem; }

/* Celular: os selos do cartão da loja ocupavam uma linha cada, espremidos
   ao lado do logo. Agora usam a largura toda do cartão (2 por linha). */
@media (max-width: 767px) {
    html.v2 .v2-loja-fatos {
        margin-left: -78px;
        gap: 6px;
    }
    /* 16px evita o zoom automático do iPhone ao tocar no campo */
    html.v2 .conta-form input,
    html.v2 .checkout-campo input,
    html.v2 .checkout-campo select { font-size: 16px; }
    html.v2 .conta-caixa { margin: 1rem auto 3rem; padding: 1.5rem 1.25rem; }

    /* O ícone de conta sumia no celular: sem ele não havia como entrar
       nem chegar em "Minha conta". Volta como ícone, e o link (com o
       nome/“Entrar” para leitores de tela) cobre o ícone inteiro. */
    html.v2 .header .account {
        display: flex !important;
        position: relative;
        width: 44px;
        height: 44px;
        justify-content: center;
    }
    html.v2 .header .account .conta-menu {
        display: block !important;
        position: absolute;
        inset: 0;
    }
    html.v2 .header .account .conta-menu a {
        display: block;
        width: 100%;
        height: 100%;
        font-size: 0;
        color: transparent;
    }
    html.v2 .conta-bloco { padding: 1.25rem; }
}

/* ---------------------------------------------------------------------
   Pagamento na entrega (checkout) e etapas do pedido
   --------------------------------------------------------------------- */
.entrega-titulo { margin: 0 0 10px; }
.entrega-formas { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; margin-bottom: 12px; }
.entrega-forma { position: relative; cursor: pointer; }
.entrega-forma input { position: absolute; opacity: 0; pointer-events: none; }
.entrega-forma > span {
    display: grid;
    grid-template-columns: 36px 1fr;
    grid-template-rows: auto auto;
    column-gap: 10px;
    align-items: center;
    padding: 12px 14px;
    border: 1.5px solid var(--v2-line, #e3d6ce);
    border-radius: 14px;
    background: #fff;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.entrega-forma-icone { grid-row: span 2; font-size: 24px; line-height: 1; text-align: center; }
.entrega-forma strong { font-size: 14px; color: var(--v2-ink, #2c2325); }
.entrega-forma small { font-size: 12px; color: var(--v2-muted, #6a5d5e); }
.entrega-forma input:checked + span { border-color: var(--v2-accent, #9a3c4c); box-shadow: 0 0 0 3px rgba(154, 60, 76, .14); }
.entrega-forma input:focus-visible + span { outline: 2px solid var(--v2-ink, #2c2325); outline-offset: 2px; }
.entrega-troco { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
.entrega-troco[hidden], .entrega-troco-valor[hidden] { display: none !important; }
.entrega-troco-check { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; }
.entrega-troco-check input { width: 18px; height: 18px; accent-color: var(--v2-accent, #9a3c4c); }
.entrega-troco-valor { max-width: 220px; }

.pedido-etapas { display: flex; gap: 6px; list-style: none; padding: 0; margin: 16px 0; flex-wrap: wrap; justify-content: center; }
.pedido-etapas li {
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    background: var(--v2-surface, #ebe0d9);
    color: var(--v2-muted, #6a5d5e);
}
.pedido-etapas li.feita { background: #e6f2ea; color: var(--v2-ok, #2e7d4f); }
.pedido-etapas li.atual { background: var(--v2-accent, #9a3c4c); color: #fff; }

/* ---------------------------------------------------------------------
   Endereço no cadastro e na conta
   --------------------------------------------------------------------- */
.conta-endereco { border: 1px solid var(--v2-line, #e3d6ce); border-radius: 14px; padding: 14px 14px 4px; margin: 6px 0 4px; display: flex; flex-direction: column; gap: 12px; }
.conta-endereco legend { padding: 0 6px; font-weight: 700; font-size: 15px; color: var(--v2-ink, #2c2325); }
.conta-endereco-dica { margin: -4px 0 0; font-size: 13px; color: var(--v2-muted, #6a5d5e); }
.conta-endereco-linha { display: flex; gap: 10px; }
.conta-endereco-linha > label { flex: 1 1 0; min-width: 0; }
.conta-endereco-linha > .conta-endereco-cep { flex: 0 0 38%; }
.conta-endereco-linha > .conta-endereco-curto { flex: 0 0 28%; }

/* ---------------------------------------------------------------------
   Conta logada no topo: avatar com inicial + menu
   --------------------------------------------------------------------- */
.conta-logada { position: relative; }
.conta-botao {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 44px;
    padding: 0 10px 0 4px;
    border: 1px solid var(--v2-line, #e3d6ce);
    border-radius: 999px;
    background: var(--v2-card, #fff);
    color: var(--v2-ink, #2c2325);
    font-family: inherit;
    cursor: pointer;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.conta-botao:hover, .conta-botao[aria-expanded="true"] { border-color: var(--v2-accent, #9a3c4c); box-shadow: 0 2px 10px rgba(44, 35, 37, .08); }
.conta-botao:focus-visible { outline: 2px solid var(--v2-ink, #2c2325); outline-offset: 2px; }
.conta-avatar {
    position: relative;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--v2-accent, #9a3c4c);
    color: #fff;
    display: grid;
    place-items: center;
    font: 700 16px/1 var(--v2-display, inherit);
}
.conta-online {
    position: absolute;
    right: -1px;
    bottom: -1px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #2e9d5b;
    box-shadow: 0 0 0 2px #fff;
}
.conta-rotulo { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.1; text-align: left; }
.conta-rotulo small { font-size: 11px; color: var(--v2-muted, #6a5d5e); }
.conta-rotulo strong { font-size: 14px; font-weight: 700; max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.conta-seta { color: var(--v2-muted, #6a5d5e); transition: transform .15s ease; }
.conta-botao[aria-expanded="true"] .conta-seta { transform: rotate(180deg); }

.conta-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    z-index: 200;
    width: 240px;
    padding: 8px;
    background: #fff;
    border: 1px solid var(--v2-line, #e3d6ce);
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(44, 35, 37, .16);
}
.conta-dropdown[hidden] { display: none; }
.conta-dropdown-topo {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 8px 12px;
    margin-bottom: 4px;
    border-bottom: 1px solid var(--v2-line, #e3d6ce);
}
.conta-avatar-g { flex-basis: 40px; width: 40px; height: 40px; font-size: 18px; }
.conta-dropdown-topo strong { display: block; font-size: 15px; color: var(--v2-ink, #2c2325); }
.conta-dropdown-topo > div > span { font-size: 12px; color: var(--v2-ok, #2e7d4f); display: inline-flex; align-items: center; gap: 5px; }
.conta-ponto { width: 7px; height: 7px; border-radius: 50%; background: currentColor; display: inline-block; }
.conta-dropdown a,
.conta-dropdown button {
    display: block;
    width: 100%;
    padding: 10px 10px;
    border: 0;
    border-radius: 10px;
    background: none;
    color: var(--v2-ink, #2c2325) !important;
    font: 500 14px/1.2 inherit;
    font-family: inherit;
    text-align: left;
    text-decoration: none !important;
    cursor: pointer;
}
.conta-dropdown a:hover, .conta-dropdown button:hover { background: var(--v2-bg, #f6f0eb); }
.conta-dropdown form { margin: 4px 0 0; padding-top: 4px; border-top: 1px solid var(--v2-line, #e3d6ce); }
.conta-dropdown button { color: var(--v2-accent, #9a3c4c) !important; font-weight: 600; }

/* O cabeçalho força texto branco e botão preto: aqui as cores são travadas
   (seletor longo de propósito, para ganhar de "html.v2 .header button") */
html.v2 .header .account_cart button.conta-botao,
html .header .account_cart button.conta-botao {
    background: var(--v2-card, #fff) !important;
    color: var(--v2-ink, #2c2325) !important;
    border: 1px solid var(--v2-line, #e3d6ce) !important;
    box-shadow: none !important;
    padding: 0 10px 0 4px !important;
    height: 44px !important;
    min-width: 0 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}
.header .conta-botao { background: var(--v2-card, #fff) !important; color: var(--v2-ink, #2c2325) !important; }
.header .conta-avatar { background: var(--v2-accent, #9a3c4c) !important; color: #fff !important; }
.header .conta-rotulo small { color: var(--v2-muted, #6a5d5e) !important; }
.header .conta-rotulo strong,
.header .conta-dropdown-topo strong { color: var(--v2-ink, #2c2325) !important; }
.header .conta-dropdown { background: #fff !important; color: var(--v2-ink, #2c2325) !important; }
.header .conta-dropdown-topo > div > span { color: var(--v2-ok, #2e7d4f) !important; }
.header .conta-dropdown-topo .conta-avatar-g { color: #fff !important; font-size: 18px !important; display: grid !important; }
.header .conta-dropdown a { color: var(--v2-ink, #2c2325) !important; background: none !important; font-size: 14px !important; }
.header .conta-dropdown a:hover { background: var(--v2-bg, #f6f0eb) !important; }
.header .conta-dropdown button { color: var(--v2-accent, #9a3c4c) !important; background: none !important; font-size: 14px !important; }
.header .conta-dropdown button:hover { background: var(--v2-accent-soft, #f3e3e3) !important; }

@media (max-width: 767px) {
    html.v2 .header .account_cart button.conta-botao,
    html .header .account_cart button.conta-botao {
        background: none !important;
        border: 0 !important;
        padding: 0 !important;
        height: 40px !important;
        width: 40px !important;
        justify-content: center;
    }
    html .header .account_cart .conta-rotulo,
    html .header .account_cart .conta-seta { display: none !important; }
    .header .conta-botao { background: none !important; }
    .conta-botao { padding: 0; border: 0; height: 40px; background: none; gap: 0; }
    .conta-rotulo, .conta-seta { display: none; }
    .conta-avatar { flex-basis: 38px; width: 38px; height: 38px; }
    .conta-dropdown { position: fixed; top: 64px; right: 12px; left: auto; width: min(260px, calc(100vw - 24px)); }
}

/* ---------------------------------------------------------------------
   Convite "Instale o app" (só celular)
   --------------------------------------------------------------------- */
.app-convite { padding: 10px 0 0; }
.app-convite[hidden] { display: none !important; }
.app-convite-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 10px 10px 12px;
    background: #2c2325;
    color: #fff;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(44, 35, 37, .18);
}
.app-convite-card img { flex: 0 0 44px; border-radius: 12px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .22); }
.app-convite-texto { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; line-height: 1.3; }
.app-convite-texto strong { font-size: 14px; font-weight: 700; }
.app-convite-texto span { font-size: 12px; opacity: .8; }
.app-convite-instalar {
    flex: 0 0 auto;
    border: 0;
    border-radius: 999px;
    padding: 9px 16px;
    background: #9a3c4c;
    color: #fff;
    font: 700 13px/1 inherit;
    font-family: inherit;
    cursor: pointer;
}
.app-convite-instalar[hidden] { display: none; }
.app-convite-fechar {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    color: #fff;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

/* ---------------------------------------------------------------------
   Botão "Em estoque" no topo
   --------------------------------------------------------------------- */
html.v2 .botao-em-estoque {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 42px;
    padding: 0 16px;
    margin-right: 4px;
    border-radius: 999px;
    background: var(--v2-accent);
    color: #fff !important;
    font: 600 14px/1 var(--v2-text);
    text-decoration: none !important;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(154, 60, 76, .25);
    transition: background-color .15s ease, transform .15s ease;
}
html.v2 .botao-em-estoque:hover { background: var(--v2-accent-hover); transform: translateY(-1px); }
html.v2 .botao-em-estoque:focus-visible { outline: 2px solid var(--v2-ink); outline-offset: 2px; }
html:not(.v2) .botao-em-estoque { display: inline-flex; align-items: center; gap: 6px; margin-right: 12px; font-weight: 600; }

@media (max-width: 767px) {
    html.v2 .botao-em-estoque { height: 38px; padding: 0 12px; font-size: 13px; margin-right: 0; }
}

/* ---------------------------------------------------------------------
   Barra de categorias com miniatura
   --------------------------------------------------------------------- */
html.v2 .cat-barra .ifood-pills-container { gap: 10px !important; padding: 4px 2px !important; scroll-snap-type: x proximity; }
html.v2 .ifood-pill.cat-chip {
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 6px 16px 6px 6px !important;
    background: var(--v2-card) !important;
    border: 1px solid var(--v2-line) !important;
    border-radius: 999px !important;
    color: var(--v2-ink) !important;
    font: 500 14px/1.1 var(--v2-text) !important;
    white-space: nowrap;
    text-decoration: none !important;
    scroll-snap-align: start;
    box-shadow: 0 1px 2px rgba(44, 35, 37, .04) !important;
    transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease, transform .15s ease;
}
html.v2 .ifood-pill.cat-chip img,
html.v2 .cat-chip-icone {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--v2-surface);
    display: grid;
    place-items: center;
    color: var(--v2-accent);
    font: 700 15px/1 var(--v2-display);
    pointer-events: none;
}
html.v2 .cat-chip-tudo .cat-chip-icone { background: var(--v2-accent-soft); }
html.v2 .ifood-pill.cat-chip:hover {
    border-color: var(--v2-accent) !important;
    box-shadow: var(--v2-shadow) !important;
    transform: translateY(-1px);
}
html.v2 .ifood-pill.cat-chip.active {
    background: var(--v2-accent) !important;
    border-color: var(--v2-accent) !important;
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(154, 60, 76, .28) !important;
}
html.v2 .ifood-pill.cat-chip.active .cat-chip-icone { background: rgba(255, 255, 255, .18); color: #fff; }
html.v2 .ifood-pill.cat-chip.active img { box-shadow: 0 0 0 2px rgba(255, 255, 255, .85); }
html.v2 .ifood-pill.cat-chip:focus-visible { outline: 2px solid var(--v2-ink); outline-offset: 2px; }
html.v2 .cat-chip-nome { color: inherit !important; font-size: inherit !important; }

/* No catálogo a barra fica sob o título */
html.v2 .catalogo-subtitulo { margin: -6px 0 14px; color: var(--v2-muted); font-size: 14px; }
html.v2 .container > .cat-barra { margin-bottom: 20px; }

/* Setas maiores e com sombra, sobre um degradê que esconde o corte */
html.v2 .cat-barra .pills-seta { width: 36px; height: 36px; font-size: 22px; line-height: 1; }

@media (max-width: 767px) {
    html.v2 .ifood-pill.cat-chip { min-height: 44px; padding: 4px 14px 4px 4px !important; font-size: 13px !important; gap: 8px; }
    html.v2 .ifood-pill.cat-chip img, html.v2 .cat-chip-icone { flex-basis: 34px; width: 34px; height: 34px; }
}
