/* =====================================================================
   Layout 5 — farmácia/varejo (busca em pílula azul, navegação de
   categorias, cartões de produto com desconto e parcelamento).
   Carregado só quando active_layout() === 'layout5'.
   Sobrepõe o style.css base apenas na APARÊNCIA — nenhum dado novo.

   Reaproveita, sem prefixo, o que já é genérico no projeto: .container,
   .grid, .box, .breadcrumb, .qty-stepper, .payment-card/.pm-icon/.pm-body,
   .shipping-calc, .status-pill, .alert, .btn, data-cart-*. Tudo que é NOVO
   deste layout leva o prefixo l5- para nunca vazar nos outros layouts.
   ===================================================================== */

:root {
    --l5-blue: #0000BE;
    --l5-blue-light: #eef0ff;
    --l5-blue-hover: #0000a0;
    --l5-red: #E8002D;
    --l5-red-dark: #c0001f;
    --l5-green: #00a651;
    --l5-warn: #f59e0b;
}

body.layout-layout5 {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    background: #f8f8f8;
}
body.layout-layout5 .container { max-width: 1280px; }

/* ---------- Barra de aviso ---------- */
.l5-annbar { background: #f2f2f2; color: #333; text-align: center; padding: 8px 16px; font-size: .82rem; font-weight: 700; border-bottom: 1px solid var(--border); letter-spacing: .2px; }

/* =====================================================================
   Cabeçalho (padrão das grandes farmácias)
   ---------------------------------------------------------------------
   Desktop: uma linha só — logo, busca em pílula cinza, CEP, conta e cesta.
   Mobile:  três linhas  — [☰ logo cesta], busca, CEP.

   A ordem muda por `order` no flex, não por marcação duplicada: é o mesmo
   HTML nos dois tamanhos, então não há risco de um dos dois ficar para trás
   numa alteração futura.
   ===================================================================== */
.l5-header {
    background: #fff; padding: 16px 0 14px; border-bottom: 1px solid var(--border);
    position: sticky; top: 0; z-index: 100; box-shadow: 0 1px 10px rgba(0, 0, 0, .05);
}
.l5-head-main { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; position: relative; }

.l5-logo { flex-shrink: 0; display: flex; align-items: center; }
.l5-logo img { height: 44px; width: auto; display: block; }
.l5-logo-text { font-weight: 900; font-size: 1.35rem; color: var(--l5-blue); letter-spacing: -.3px; }

.l5-secure { color: #555; font-size: .85rem; font-weight: 700; display: flex; align-items: center; gap: 7px; }
.l5-secure svg { width: 17px; height: 17px; }

/* ---------- Busca em pílula ---------- */
.l5-search {
    flex: 1; min-width: 220px; max-width: 640px; display: flex; align-items: center;
    background: #f0f0f2; border: 1.5px solid transparent; border-radius: 999px;
    padding: 0 6px 0 4px; transition: border-color .2s, background .2s;
}
.l5-search:focus-within { background: #fff; border-color: var(--l5-blue); }
.l5-search-go {
    background: none; border: 0; cursor: pointer; padding: 0 6px 0 12px;
    display: flex; align-items: center; color: #2b2b40;
}
.l5-search-go svg { width: 21px; height: 21px; stroke-width: 2.1; }
.l5-search input {
    flex: 1; padding: 13px 14px 13px 6px; border: 0; background: transparent;
    font: inherit; font-size: .95rem; color: var(--text); min-width: 0; outline: none;
}
.l5-search input::placeholder { color: #8b8b9a; }
.l5-search input::-webkit-search-cancel-button { -webkit-appearance: none; }

/* ---------- CEP, conta e cesta ---------- */
.l5-tools { display: flex; align-items: center; gap: 26px; flex-shrink: 0; }
/* Envolve o botão de CEP e a caixinha: é o que ancora a caixinha embaixo do
   botão e o que vira uma linha inteira no mobile. */
.l5-cep { position: relative; flex-shrink: 0; }
.l5-tool {
    display: flex; align-items: center; gap: 9px; color: var(--text);
    background: none; border: 0; padding: 0; cursor: pointer; font: inherit;
    text-decoration: none; white-space: nowrap;
}
.l5-tool-ic { display: flex; align-items: center; justify-content: center; position: relative; color: var(--l5-blue); }
.l5-tool-ic svg { width: 26px; height: 26px; }
.l5-tool:hover .l5-tool-ic { color: var(--l5-blue-hover); }
.l5-tool-tx { font-size: .82rem; line-height: 1.25; color: #3a3a4a; text-align: left; }
.l5-tool-tx strong { display: block; font-size: .88rem; font-weight: 800; color: var(--l5-blue); }
.l5-cep-btn .l5-tool-tx strong { display: inline; }

/* Cestinha com o "+" no canto, como no desenho de referência */
.l5-cart-ic .l5-cart-plus {
    position: absolute; right: -7px; bottom: -3px; width: 14px; height: 14px;
    background: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    color: var(--l5-blue);
}
.l5-cart-ic .l5-cart-plus svg { width: 11px; height: 11px; }
.l5-cart-badge {
    position: absolute; top: -7px; right: -9px; background: var(--l5-red); color: #fff;
    border-radius: 999px; min-width: 18px; height: 18px; padding: 0 4px; font-size: .66rem;
    font-weight: 800; display: flex; align-items: center; justify-content: center;
    border: 2px solid #fff; line-height: 1;
}

/* ---------- Caixa do CEP ---------- */
.l5-cep-pop {
    position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%);
    z-index: 120; width: min(340px, calc(100vw - 32px));
    background: #fff; border: 1px solid var(--border); border-radius: 14px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .16); padding: 16px 18px 14px;
}
.l5-cep-pop label { display: block; font-size: .82rem; font-weight: 700; color: #3a3a4a; margin-bottom: 9px; }
.l5-cep-row { display: flex; gap: 8px; }
.l5-cep-row input {
    flex: 1; min-width: 0; border: 1.5px solid var(--border); border-radius: 9px;
    padding: 10px 12px; font: inherit; font-size: .95rem; outline: none;
}
.l5-cep-row input:focus { border-color: var(--l5-blue); }
.l5-cep-ok {
    background: var(--l5-blue); color: #fff; border: 0; border-radius: 9px; padding: 10px 18px;
    font: inherit; font-weight: 800; font-size: .88rem; cursor: pointer;
}
.l5-cep-ok:hover { background: var(--l5-blue-hover); }
.l5-cep-msg { margin: 10px 0 0; font-size: .82rem; color: #555; min-height: 1px; }
.l5-cep-msg.is-err { color: var(--l5-red); }
.l5-cep-msg.is-ok { color: var(--l5-green); font-weight: 700; }
.l5-cep-help { display: inline-block; margin-top: 8px; font-size: .78rem; color: var(--l5-blue); font-weight: 700; }

.l5-burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: 0; }
.l5-burger span { display: block; width: 24px; height: 2.5px; border-radius: 2px; background: #2b2b40; }

/* ---------- Navegação de categorias ---------- */
.l5-catnav { background: #fff; border-bottom: 1px solid var(--border); position: relative; z-index: 99; }
.l5-catnav-inner { display: flex; justify-content: center; gap: 6px; overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; }
.l5-catnav-inner::-webkit-scrollbar { display: none; }
.l5-catnav a {
    display: block; padding: 13px 16px; color: #3a3a4a; font-size: .9rem; font-weight: 600;
    white-space: nowrap; transition: color .2s, border-color .2s;
    border-bottom: 3px solid transparent; margin-bottom: -1px;
}
.l5-catnav a:hover { color: var(--l5-blue); }
.l5-catnav a.is-active { color: var(--l5-blue); font-weight: 700; border-bottom-color: var(--l5-blue); }


/* ---------- Banner de imagem da home (enviado no admin) ---------- */
.l5h-banner { display: block; position: relative; background: #f7f7f7; line-height: 0; }
.l5h-banner img { display: block; width: 100%; height: auto; }
/* Desktop mostra só a larga; celular mostra só a alta. O seletor leva
   .l5h-banner na frente para vencer '.l5h-banner img { display:block }',
   que antes ganhava por especificidade e deixava as duas visíveis. */
.l5h-banner .l5h-banner-m { display: none; }
@media (max-width: 767px) {
    .l5h-banner .l5h-banner-d { display: none; }
    .l5h-banner .l5h-banner-m { display: block; }
}

/* ---------- Hero de texto (sem banner enviado) ---------- */
.l5h-hero { background: #fff; border-bottom: 1px solid var(--border); position: relative; overflow: hidden; }
.l5h-hero::after { content: ''; position: absolute; right: -60px; top: -60px; width: 400px; height: 400px; background: var(--l5-blue-light); border-radius: 50%; opacity: .6; }
.l5h-hero-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 48px 0; flex-wrap: wrap; }
.l5h-hero.has-img { background-size: cover; background-position: center; }
.l5h-hero.has-img::after { display: none; }
.l5h-hero.has-img .l5h-hero-text { color: #fff; }
.l5h-hero.has-img .l5h-eyebrow { background: rgba(255,255,255,.18); color: #fff; border-color: rgba(255,255,255,.3); }
.l5h-hero.has-img .l5h-hero-p { color: rgba(255,255,255,.9); }
.l5h-hero-text { max-width: 560px; }
.l5h-eyebrow { display: inline-block; background: var(--l5-blue-light); color: var(--l5-blue); font-size: .74rem; font-weight: 800; padding: 5px 14px; border-radius: 20px; letter-spacing: .5px; margin-bottom: 14px; border: 1px solid rgba(0,0,190,.15); }
.l5h-hero-text h1 { font-size: 2.2rem; font-weight: 900; line-height: 1.15; color: var(--l5-blue); margin-bottom: 10px; }
.l5h-hero-p { font-size: 1rem; color: var(--muted); margin-bottom: 22px; }
.l5h-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.l5h-btn { display: inline-block; background: var(--l5-blue); color: #fff; padding: 13px 30px; border-radius: 30px; font-weight: 800; font-size: .92rem; text-decoration: none; box-shadow: 0 4px 14px rgba(0,0,190,.25); transition: transform .2s, box-shadow .2s; }
.l5h-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,190,.35); }
.l5h-btn-ghost { display: inline-block; background: #fff; color: var(--l5-blue); padding: 12px 28px; border-radius: 30px; font-weight: 800; font-size: .92rem; text-decoration: none; border: 2px solid var(--l5-blue); }
.l5h-badges { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .82rem; color: var(--muted); font-weight: 600; }
.l5h-hero-card { display: block; width: 260px; flex-shrink: 0; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 18px; text-align: center; box-shadow: var(--shadow); text-decoration: none; }
.l5h-hero-card img { max-width: 100%; max-height: 180px; object-fit: contain; margin: 0 auto 10px; }
.l5h-hero-card-tag { display: inline-block; background: var(--l5-blue-light); color: var(--l5-blue); font-weight: 800; font-size: .82rem; padding: 5px 12px; border-radius: 20px; }

/* ---------- Barra de serviços ---------- */
/* =====================================================================
   Cartazes de promoção (tira logo abaixo do cabeçalho)
   ---------------------------------------------------------------------
   As imagens são verticais e o lojista envia quantas quiser. A altura é
   fixa e a largura é livre (`width: auto`), então cada cartaz aparece na
   proporção EXATA em que foi enviado — quem manda no desenho é a imagem,
   não o CSS. Não cabendo, a tira rola na horizontal.

   O fundo azul que desbota para o cinza da página é o mesmo efeito do
   desenho de referência. Para trocar a cor, mexa só em --l5-promo-bg.
   ===================================================================== */
.l5h-cartazes-wrap {
    --l5-promo-bg: linear-gradient(180deg, var(--l5-blue) 0%, #4a63e8 34%, #ccd6fa 76%, #f4f5f7 100%);
    background: var(--l5-promo-bg);
    padding: 26px 0 30px;
}
.l5h-cartazes-wrap .container { position: relative; }

.l5h-cartazes {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    /* `safe` evita o bug clássico de centralizar conteúdo rolável: sem ele,
       o primeiro cartaz fica cortado quando a tira transborda. */
    justify-content: flex-start;
    justify-content: safe center;
}
.l5h-cartazes::-webkit-scrollbar { display: none; }

.l5h-cartaz {
    flex: 0 0 auto;
    scroll-snap-align: start;
    display: block;
    line-height: 0;
    border-radius: 12px;
    overflow: hidden;
    background: transparent;
    transition: transform .18s ease, box-shadow .18s ease;
}
.l5h-cartaz img { height: 278px; width: auto; display: block; }
a.l5h-cartaz:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(0, 0, 0, .22); }

/* Setas redondas, no mesmo desenho das do banner */
.l5h-cartazes-nav {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
    width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
    background: #fff; color: var(--l5-blue); box-shadow: 0 3px 12px rgba(0, 0, 0, .18);
    display: none; align-items: center; justify-content: center;
}
.l5h-cartazes-nav svg { width: 20px; height: 20px; }
.l5h-cartazes-nav.is-prev { left: 2px; }
.l5h-cartazes-nav.is-next { right: 2px; }
.l5h-cartazes-nav.is-on { display: flex; }
.l5h-cartazes-nav:hover { background: var(--l5-blue); color: #fff; }

/* =====================================================================
   Barra de serviços
   ===================================================================== */
.l5h-services { background: #f4f5f7; padding: 22px 0; }
.l5h-services-inner {
    display: flex; align-items: center; gap: 34px;
    justify-content: flex-start;
    justify-content: safe center;
    overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none;
}
.l5h-services-inner::-webkit-scrollbar { display: none; }

.l5h-service {
    display: flex; align-items: center; gap: 12px; flex: 0 0 auto;
    padding: 4px 14px; color: var(--text); text-decoration: none;
    border: 0; background: none;
}
.l5h-service-ic { flex-shrink: 0; color: var(--l5-blue); display: flex; }
.l5h-service-ic svg { width: 32px; height: 32px; }
.l5h-service-tx { line-height: 1.3; }
.l5h-service-tx strong { display: block; font-size: .92rem; font-weight: 800; color: #2b2b40; }
.l5h-service-tx span { font-size: .86rem; color: #6b6b80; }
a.l5h-service:hover .l5h-service-tx strong { color: var(--l5-blue); }

@media (max-width: 900px) {
    .l5h-cartazes-wrap { padding: 18px 0 22px; }
    .l5h-cartazes { gap: 10px; justify-content: flex-start; }
    .l5h-cartaz { border-radius: 10px; }
    .l5h-cartaz img { height: 152px; }
    .l5h-cartazes-nav { display: none !important; }

    .l5h-services { padding: 16px 0; }
    .l5h-services-inner { gap: 10px; justify-content: flex-start; }
    .l5h-service { padding: 2px 8px; gap: 10px; }
    .l5h-service-ic svg { width: 28px; height: 28px; }
    .l5h-service-tx strong { font-size: .86rem; }
    .l5h-service-tx span { font-size: .8rem; white-space: nowrap; }
}


/* ---------- Seções / cabeçalhos de seção ---------- */
.l5h-section { padding: 32px 0; }
.l5h-section-bg { background: #fff; padding: 32px 0; }
.l5h-sechead { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; gap: 12px; flex-wrap: wrap; }
.l5h-sechead h2 { font-size: 1.3rem; font-weight: 900; color: var(--text); }
.l5h-sechead h2 span, .l5h-sechead .l5-hl { color: var(--l5-blue); }
.l5h-sechead p { font-size: .84rem; color: var(--muted); margin-top: 2px; }
.l5h-seeall { color: var(--l5-blue); font-size: .82rem; font-weight: 700; text-decoration: none; }
.l5h-seeall:hover { color: var(--l5-red); }

/* ---------- Categorias (grade de ícones) ---------- */
.l5h-catgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; }
.l5h-catcard { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 18px 10px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 9px; transition: all .2s; text-decoration: none; }
.l5h-catcard:hover { border-color: var(--l5-blue); box-shadow: 0 4px 14px rgba(0,0,190,.1); transform: translateY(-2px); }
.l5h-catcard-ic { width: 48px; height: 48px; background: var(--l5-blue-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--l5-blue); }
.l5h-catcard span { font-size: .78rem; font-weight: 700; color: var(--text); line-height: 1.3; }

/* ---------- Grade de produtos (usada na home, produtos.php e relacionados) ---------- */
body.layout-layout5 .grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }

/* ---------- Cartão de produto (Layout 5) ---------- */
.l5-pcard { background: #fff; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; position: relative; transition: box-shadow .25s, transform .25s; }
.l5-pcard:hover { box-shadow: 0 8px 24px rgba(0,0,0,.13); transform: translateY(-3px); }
.l5-pcard-badge { position: absolute; top: 10px; left: 10px; background: var(--l5-red); color: #fff; font-size: .68rem; font-weight: 800; padding: 3px 8px; border-radius: 4px; z-index: 1; }
.l5-pcard-link { display: flex; flex-direction: column; flex: 1; color: inherit; text-decoration: none; }
.l5-pcard-imgwrap { height: 190px; padding: 16px; display: flex; align-items: center; justify-content: center; background: #fff; }
.l5-pcard-imgwrap img { max-height: 155px; max-width: 100%; object-fit: contain; transition: transform .3s; }
.l5-pcard:hover .l5-pcard-imgwrap img { transform: scale(1.06); }
.l5-pcard-info { padding: 12px 14px 4px; flex: 1; display: flex; flex-direction: column; }
.l5-pcard-brand { font-size: .64rem; color: var(--muted); text-transform: uppercase; font-weight: 800; letter-spacing: .7px; margin-bottom: 5px; }
.l5-pcard-name { font-size: .82rem; font-weight: 700; color: var(--text); line-height: 1.4; margin-bottom: 8px; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.l5-pcard-old { font-size: .74rem; color: var(--muted); text-decoration: line-through; }
.l5-pcard-price { font-size: 1.2rem; font-weight: 900; color: var(--l5-blue); line-height: 1.2; }
.l5-pcard-install { font-size: .7rem; color: var(--muted); margin-top: 2px; display: block; }
.l5-pcard-save { display: inline-block; background: #e8f7ef; color: var(--l5-green); font-size: .68rem; font-weight: 800; padding: 2px 7px; border-radius: 4px; margin-top: 5px; }
.l5-pcard-outstock { font-size: .78rem; font-weight: 700; color: var(--l5-red); }
.l5-pcard-add { margin: 0 14px 14px; }
.l5-pcard-addbtn { width: 100%; background: var(--l5-blue); color: #fff; padding: 9px; border-radius: 6px; font-size: .8rem; font-weight: 700; text-align: center; display: flex; align-items: center; justify-content: center; gap: 6px; border: 0; cursor: pointer; transition: background .2s; }
.l5-pcard-addbtn:hover { background: var(--l5-blue-hover); }
.l5-pcard-addbtn svg { width: 15px; height: 15px; }

/* ---------- Tira de promoção (WhatsApp) ---------- */
.l5h-promo { background: #fff; border: 2px solid var(--l5-blue); border-radius: 8px; padding: 28px 36px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.l5h-promo-text h2 { font-size: 1.35rem; font-weight: 900; color: var(--l5-blue); margin-bottom: 4px; }
.l5h-promo-text p { color: var(--muted); font-size: .9rem; }
.l5h-promo-cta { display: inline-flex; align-items: center; gap: 8px; background: var(--l5-green); color: #fff; padding: 13px 28px; border-radius: 30px; font-weight: 800; font-size: .88rem; text-decoration: none; box-shadow: 0 4px 12px rgba(0,166,81,.25); flex-shrink: 0; }
.l5h-promo-cta svg { width: 18px; height: 18px; }

/* ---------- Sobre a loja ---------- */
.l5h-about { max-width: 900px; }
.l5h-about h2 { font-size: 1.3rem; font-weight: 900; margin-bottom: 10px; color: var(--text); }
.l5h-about p { font-size: .9rem; color: var(--muted); line-height: 1.7; }
.l5h-about a { color: var(--l5-blue); font-weight: 700; }

/* ---------- Rodapé ---------- */
.l5-footer { background: #1d1d1d; color: #fff; padding: 40px 0 0; margin-top: 40px; }
.l5-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 36px; margin-bottom: 36px; }
.l5-footer-logo { margin-bottom: 12px; }
/* Logo nas cores originais; fundo branco arredondado para não sumir no rodapé escuro. */
.l5-footer-logo img { height: 34px; display: block; background: #fff; border-radius: 8px; padding: 5px 10px; box-sizing: content-box; }
.l5-footer-logo-text { font-weight: 900; font-size: 1.15rem; color: #fff; }
.l5-footer-desc { font-size: .8rem; color: rgba(255,255,255,.7); line-height: 1.7; margin-bottom: 18px; }
.l5-footer-social { display: flex; gap: 10px; }
.l5-footer-social a { width: 34px; height: 34px; background: rgba(255,255,255,.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; transition: background .2s; }
.l5-footer-social a:hover { background: rgba(255,255,255,.22); }
.l5-footer-social svg { width: 17px; height: 17px; }
.l5-footer-col h4 { font-size: .72rem; font-weight: 800; margin-bottom: 14px; text-transform: uppercase; letter-spacing: .7px; color: rgba(255,255,255,.5); padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,.1); }
.l5-footer-col ul { list-style: none; margin: 0; padding: 0; }
.l5-footer-col li { margin-bottom: 9px; }
.l5-footer-col a { font-size: .8rem; color: rgba(255,255,255,.7); text-decoration: none; transition: color .2s; }
.l5-footer-col a:hover { color: #fff; }
.l5-footer-contact { display: flex; align-items: flex-start; gap: 9px; margin-bottom: 11px; font-size: .8rem; color: rgba(255,255,255,.7); }
.l5-footer-contact svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 1px; color: rgba(255,255,255,.5); }
.l5-footer-contact a { color: rgba(255,255,255,.7); text-decoration: none; }
.l5-footer-contact a:hover { color: #fff; }
.l5-footer-pay { margin-top: 18px; }
.l5-footer-pay-label { font-size: .68rem; font-weight: 700; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 9px; }
.l5-footer-pay-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.l5-footer-pay-row .pay-badge img { height: 22px; display: block; background: #fff; border-radius: 4px; padding: 2px 4px; }
.l5-footer-sec { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 14px; }
.l5-footer-sec .trust-seal { background: rgba(255,255,255,.08); }
.l5-footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 16px 0; margin-top: 28px; }
.l5-footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.l5-footer-bottom p { font-size: .72rem; color: rgba(255,255,255,.5); margin: 0; }
.l5-footer-bottom-links { display: flex; gap: 14px; }
.l5-footer-bottom-links a { font-size: .72rem; color: rgba(255,255,255,.5); text-decoration: none; }
.l5-footer-bottom-links a:hover { color: #fff; }

/* ---------- Botão flutuante de WhatsApp ---------- */
.l5-wafloat { position: fixed; bottom: 26px; right: 26px; width: 54px; height: 54px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(37,211,102,.4); z-index: 500; transition: transform .2s, box-shadow .2s; text-decoration: none; }
.l5-wafloat:hover { transform: scale(1.08); box-shadow: 0 6px 20px rgba(37,211,102,.5); }
.l5-wafloat svg { width: 28px; height: 28px; fill: #fff; }

/* =====================================================================
   Páginas compartilhadas (carrinho.php e produtos.php) — mesma marcação
   PHP dos outros layouts, só reestilizada aqui para a cara do Layout 5.
   ===================================================================== */
body.layout-layout5 .breadcrumb { padding: 12px 0; font-size: .78rem; color: var(--muted); }
body.layout-layout5 .breadcrumb a { color: var(--l5-blue); text-decoration: none; }
body.layout-layout5 .breadcrumb a:hover { text-decoration: underline; }
body.layout-layout5 .section-title { font-size: 1.35rem; font-weight: 900; color: var(--text); }
body.layout-layout5 .section-sub { font-size: .84rem; color: var(--muted); }
body.layout-layout5 .box { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 20px; }
body.layout-layout5 .box h3 { font-size: 1rem; font-weight: 800; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }

/* Produtos: cabeçalho + navegação por categoria */
body.layout-layout5 .products-head { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 14px 18px; margin-bottom: 16px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
body.layout-layout5 .sort-form select { border: 1px solid var(--border); border-radius: 6px; padding: 7px 10px; font-size: .82rem; color: var(--text); background: #fff; }
body.layout-layout5 .cat-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
body.layout-layout5 .cat-nav-chip { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 7px 15px; font-size: .8rem; font-weight: 700; color: var(--l5-blue); text-decoration: none; }
body.layout-layout5 .cat-nav-chip:hover { border-color: var(--l5-blue); background: var(--l5-blue-light); }
body.layout-layout5 .cat-nav-chip span { color: var(--muted); font-weight: 600; }
body.layout-layout5 .cat-section { margin-bottom: 32px; }
body.layout-layout5 .cat-section-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; gap: 10px; flex-wrap: wrap; }
body.layout-layout5 .cat-section-head h2 { font-size: 1.1rem; font-weight: 900; color: var(--text); }
body.layout-layout5 .cat-section-head a { font-size: .8rem; color: var(--l5-blue); font-weight: 700; text-decoration: none; }

/* Carrinho: lista de itens */
body.layout-layout5 .checkout-layout { display: grid; grid-template-columns: 1fr 360px; gap: 22px; align-items: start; }
body.layout-layout5 .cart-list { background: #fff; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
body.layout-layout5 .cart-row { display: grid; grid-template-columns: 1fr auto auto auto auto; gap: 14px; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--border); }
body.layout-layout5 .cart-row:last-child { border-bottom: 0; }
body.layout-layout5 .cart-row-prod { display: flex; align-items: center; gap: 12px; }
body.layout-layout5 .cart-row-prod img { width: 62px; height: 62px; object-fit: contain; border: 1px solid var(--border); border-radius: 6px; padding: 4px; }
body.layout-layout5 .cart-row-prod a { color: var(--text); font-size: .85rem; font-weight: 600; text-decoration: none; }
body.layout-layout5 .cart-row-prod a:hover { color: var(--l5-blue); }
body.layout-layout5 .cart-row-price { font-size: .85rem; color: var(--muted); }
body.layout-layout5 .cart-row-subtotal { font-size: .95rem; color: var(--l5-blue); font-weight: 800; }
body.layout-layout5 .cart-row-remove { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 1.1rem; }
body.layout-layout5 .cart-row-remove:hover { color: var(--l5-red); }
body.layout-layout5 .summary-row { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: .86rem; }
body.layout-layout5 .summary-total { font-size: .95rem; font-weight: 800; color: var(--l5-blue); border-top: 1px solid var(--border); padding-top: 12px; margin-top: 6px; }
body.layout-layout5 .btn { background: var(--l5-red); color: #fff; border-radius: 8px; font-weight: 800; border: 0; }
body.layout-layout5 .btn:hover { background: var(--l5-red-dark); }
body.layout-layout5 .btn-outline { background: var(--l5-blue-light); color: var(--l5-blue); }
body.layout-layout5 .btn-outline:hover { background: #d0d6ff; }
body.layout-layout5 .btn-blue { background: var(--l5-blue); }
body.layout-layout5 .btn-blue:hover { background: var(--l5-blue-hover); }

/* Stepper de quantidade (genérico, reaproveitado) */
body.layout-layout5 .qty-stepper { display: flex; align-items: center; border: 1px solid var(--border); border-radius: 6px; overflow: hidden; width: max-content; }
body.layout-layout5 .qty-btn { width: 30px; height: 30px; border: 0; background: #f5f5f5; color: var(--l5-blue); font-size: 1rem; font-weight: 700; cursor: pointer; }
body.layout-layout5 .qty-btn:hover { background: var(--l5-blue-light); }
body.layout-layout5 .qty-stepper input { width: 42px; text-align: center; border: 0; border-left: 1px solid var(--border); border-right: 1px solid var(--border); height: 30px; font-size: .9rem; font-weight: 700; }

/* Calculadora de frete (genérica, reaproveitada) */
body.layout-layout5 .shipping-calc { border: 1px solid var(--border); border-radius: 8px; padding: 14px 16px; background: #fff; }
body.layout-layout5 .shipping-calc label { display: flex; align-items: center; gap: 7px; font-size: .82rem; font-weight: 700; color: var(--text); margin-bottom: 10px; }
body.layout-layout5 .sc-row { display: flex; gap: 8px; }
body.layout-layout5 .sc-cep { flex: 1; border: 1px solid var(--border); border-radius: 6px; padding: 9px 12px; font-size: .88rem; }
body.layout-layout5 .sc-cep:focus { outline: none; border-color: var(--l5-blue); box-shadow: 0 0 0 3px rgba(0,0,190,.1); }
body.layout-layout5 .sc-btn { background: var(--l5-blue); color: #fff; border: 0; border-radius: 6px; padding: 9px 16px; font-size: .82rem; font-weight: 700; cursor: pointer; }
body.layout-layout5 .sc-btn:hover { background: var(--l5-blue-hover); }
body.layout-layout5 .sc-result { margin-top: 10px; font-size: .82rem; }
body.layout-layout5 .sc-free { color: var(--l5-green); }
body.layout-layout5 .sc-error { color: var(--l5-red); }

/* =====================================================================
   Página de produto — Layout 5 (padrão das grandes farmácias)
   ---------------------------------------------------------------------
   Cartões brancos arredondados sobre o cinza da página. No computador,
   fotos à esquerda e compra + CEP à direita; no celular tudo em uma
   coluna, com as fotos coladas no cabeçalho e a barra "Comprar agora"
   presa no rodapé da tela.
   ===================================================================== */
.l5p2 { padding: 22px 0 44px; }
.l5p2-crumbs { margin-bottom: 14px; }
.l5p2-grid {
    display: grid; gap: 18px; align-items: start;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    grid-template-areas: "gal buy" "gal cep" "sug sug" "desc desc" "rev rev";
}
.l5p2-card { background: #fff; border-radius: 14px; box-shadow: 0 1px 3px rgba(20, 20, 40, .06); padding: 24px; min-width: 0; }
.l5p2-gal  { grid-area: gal; position: relative; padding: 18px 18px 16px; }
.l5p2-buy  { grid-area: buy; }
.l5p2-cep  { grid-area: cep; }
.l5p2-sug  { grid-area: sug; }
.l5p2-desc { grid-area: desc; }
.l5p2-rev  { grid-area: rev; }
.l5p2-h2 { font-size: 1.12rem; font-weight: 800; color: #1f1f2e; margin: 0 0 16px; line-height: 1.3; }

/* ---------- Galeria que desliza ---------- */
.l5p2-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; -ms-overflow-style: none; }
.l5p2-track::-webkit-scrollbar { display: none; }
.l5p2-slide { flex: 0 0 100%; scroll-snap-align: center; display: flex; align-items: center; justify-content: center; height: 420px; }
.l5p2-slide img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.l5p2-arrow {
    position: absolute; top: calc(50% - 18px); transform: translateY(-50%); z-index: 2;
    width: 44px; height: 64px; background: none; border: 0; cursor: pointer;
    color: var(--l5-blue); display: flex; align-items: center; justify-content: center;
}
.l5p2-arrow svg { width: 32px; height: 32px; stroke-width: 2.4; }
.l5p2-arrow.is-prev { left: 6px; }
.l5p2-arrow.is-next { right: 6px; }
.l5p2-arrow:disabled { opacity: .25; cursor: default; }
.l5p2-dots { display: flex; justify-content: center; gap: 8px; margin-top: 12px; }
.l5p2-dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 999px; background: #e2e2e8; cursor: pointer; transition: width .2s, background .2s; }
.l5p2-dot.is-active { width: 24px; background: var(--l5-blue); }
.l5p2-disc { position: absolute; top: 16px; left: 16px; z-index: 2; background: var(--l5-red); color: #fff; font-size: .78rem; font-weight: 800; padding: 4px 10px; border-radius: 6px; }

/* ---------- Estrelas com preenchimento parcial ---------- */
.l5p2-stars { display: inline-flex; gap: 2px; vertical-align: middle; }
.l5p2-star { position: relative; display: inline-block; width: var(--s, 20px); height: var(--s, 20px); }
.l5p2-star svg { width: var(--s, 20px); height: var(--s, 20px); display: block; }
.l5p2-star > svg { fill: #e3e3e8; }
.l5p2-star-on { position: absolute; top: 0; left: 0; bottom: 0; overflow: hidden; }
.l5p2-star-on svg { fill: #f5b301; }

/* ---------- Bloco de compra ---------- */
.l5p2-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.l5p2-brand { color: var(--l5-blue); font-weight: 800; font-size: 1.12rem; text-decoration: underline; text-underline-offset: 3px; }
.l5p2-rating { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; color: #4a4a5a; font-size: .95rem; text-decoration: none; }
.l5p2-title { font-size: 1.2rem; font-weight: 800; color: #1f1f2e; line-height: 1.35; margin: 0 0 10px; }
.l5p2-seller { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; font-size: .9rem; color: #5a5a6a; line-height: 1.5; margin-bottom: 12px; }
.l5p2-seller a { color: var(--l5-blue); font-weight: 800; text-decoration: none; }
.l5p2-sku { font-size: .78rem; color: #9a9aa8; text-align: right; flex-shrink: 0; max-width: 64px; }
.l5p2-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.l5p2-badge { display: inline-block; background: #fde6ea; color: #d9002a; font-size: .8rem; font-weight: 800; padding: 4px 9px; border-radius: 4px; }
.l5p2-badge.is-stock { background: #fff4e0; color: #b76e00; }

.l5p2-offer { background: #fde8ec; border-radius: 14px; padding: 18px 16px 16px; margin-bottom: 22px; }
.l5p2-offer-row { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; }
.l5p2-offer-ic { color: #e8002d; flex-shrink: 0; display: flex; }
.l5p2-offer-ic svg { width: 36px; height: 36px; }
.l5p2-offer-main { color: #e8002d; font-size: 1.2rem; line-height: 1.3; margin: 0 0 4px; }
.l5p2-offer-main strong { font-weight: 900; }
.l5p2-offer-main s { opacity: .75; }
/* O preço nunca quebra no meio ('R
.l5p2-offer-sub { color: #e8002d; font-size: .82rem; line-height: 1.45; margin: 0; }

.l5p2-btn-fill, .l5p2-btn-line {
    width: 100%; min-height: 54px; border-radius: 999px; display: flex; align-items: center; justify-content: center; gap: 10px;
    font: inherit; font-weight: 800; font-size: 1.02rem; cursor: pointer; text-decoration: none; transition: background .2s, color .2s;
}
.l5p2-btn-fill { background: var(--l5-blue); color: #fff; border: 0; --l5-ic-plus: var(--l5-blue); }
.l5p2-btn-fill:hover { background: var(--l5-blue-hover); }
.l5p2-btn-line { background: #fff; color: var(--l5-blue); border: 2px solid var(--l5-blue); --l5-ic-plus: #fff; }
.l5p2-btn-line:hover { background: var(--l5-blue-light); }
.l5p2-btn-fill svg, .l5p2-btn-line svg { width: 26px; height: 26px; }

.l5p2-volt { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; font-weight: 700; font-size: .92rem; }
.l5p2-volt label { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }

.l5p2-pricerow { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.l5p2-price-lbl { display: block; font-size: .95rem; font-weight: 700; color: #4a4a5a; margin-bottom: 2px; }
.l5p2-price { display: block; font-size: 1.95rem; font-weight: 900; color: var(--l5-blue); line-height: 1.1; }
.l5p2-install { display: block; font-size: .8rem; color: #6b6b80; margin-top: 3px; }

body.layout-layout5 .l5p2-qty { border: 1.5px solid #c9c9d2; border-radius: 999px; overflow: hidden; height: 54px; flex-shrink: 0; }
body.layout-layout5 .l5p2-qty .qty-btn { width: 46px; height: 51px; background: #fff; color: var(--l5-blue); font-size: 1.6rem; font-weight: 400; }
body.layout-layout5 .l5p2-qty .qty-btn:hover { background: var(--l5-blue-light); }
body.layout-layout5 .l5p2-qty input { width: 40px; height: 51px; border: 0; font-size: 1.05rem; font-weight: 600; color: #3a3a4a; -moz-appearance: textfield; }
body.layout-layout5 .l5p2-qty input::-webkit-outer-spin-button,
body.layout-layout5 .l5p2-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.l5p2-link { display: inline-block; margin-top: 12px; color: var(--l5-blue); font-size: .88rem; text-decoration: underline; text-underline-offset: 2px; }
.l5p2-out { border-radius: 12px; background: #f6f6f8; padding: 16px; text-align: center; }
.l5p2-out strong { display: block; color: var(--l5-red); margin-bottom: 4px; }
.l5p2-out span { font-size: .85rem; color: #6b6b80; }

/* ---------- CEP (a calculadora é a do shop.js; aqui só a aparência) ---------- */
body.layout-layout5 .l5p2-card.shipping-calc { border: 0; padding: 24px; background: #fff; }
body.layout-layout5 .l5p2-cep .l5p2-lbl { display: block; font-size: .88rem; font-weight: 500; color: #6b6b80; margin: 0 0 6px; }
body.layout-layout5 .l5p2-cep .sc-row { display: flex; gap: 10px; }
body.layout-layout5 .l5p2-cep .sc-cep {
    flex: 1; min-width: 0; height: 54px; border: 1.5px solid #c9c9d2; border-radius: 999px;
    padding: 0 20px; font: inherit; font-size: .98rem; background: #fff; color: #2b2b3a;
}
body.layout-layout5 .l5p2-cep .sc-cep:focus { outline: none; border-color: var(--l5-blue); }
body.layout-layout5 .l5p2-cep .sc-btn {
    width: auto; height: 54px; padding: 0 26px; flex-shrink: 0; border-radius: 999px;
    background: #fff; color: var(--l5-blue); border: 2px solid var(--l5-blue); font: inherit; font-weight: 800; font-size: 1rem; cursor: pointer;
}
body.layout-layout5 .l5p2-cep .sc-btn:hover { background: var(--l5-blue-light); }
body.layout-layout5 .l5p2-cep .sc-result { margin-top: 10px; font-size: .88rem; }
.l5p2-shipnote { font-size: .82rem; color: #6b6b80; margin: 12px 0 0; }
.l5p2-cep .l5p2-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; margin-top: 12px; }
.l5p2-cep .l5p2-link svg { width: 17px; height: 17px; }

/* ---------- Sugestões ---------- */
.l5p2-sug-track { display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none; }
.l5p2-sug-track::-webkit-scrollbar { display: none; }
.l5p2-sug-item { flex: 0 0 176px; scroll-snap-align: start; display: flex; flex-direction: column; border: 1px solid #ececf1; margin-right: -1px; padding: 16px 14px 12px; background: #fff; }
.l5p2-sug-img { display: flex; align-items: center; justify-content: center; height: 130px; margin-bottom: 12px; }
.l5p2-sug-img img { max-height: 130px; max-width: 100%; object-fit: contain; }
.l5p2-sug-name { font-size: .92rem; color: #3a3a4a; line-height: 1.35; text-decoration: none; min-height: 2.7em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.l5p2-sug-rate { display: flex; align-items: center; gap: 4px; font-size: .72rem; color: #6b6b80; margin-top: 6px; }
.l5p2-sug-price { font-size: 1rem; font-weight: 900; color: var(--l5-blue); margin-top: 6px; }
.l5p2-sug-foot { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: auto; padding-top: 10px; }
.l5p2-sug-foot form { margin: 0; }
.l5p2-sug-brand { font-size: .78rem; font-weight: 900; font-style: italic; text-transform: uppercase; color: #2b2b40; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.l5p2-sug-add {
    width: 40px; height: 40px; border-radius: 50%; background: var(--l5-blue); color: #fff; border: 0; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center; cursor: pointer; --l5-ic-plus: var(--l5-blue);
}
.l5p2-sug-add svg { width: 24px; height: 24px; }
.l5p2-sug-add:hover { background: var(--l5-blue-hover); }

/* ---------- Descrição ---------- */
.l5p2-prose { font-size: .98rem; line-height: 1.65; color: #2b2b3a; }
.l5p2-prose h2 { font-size: 1.35rem; font-weight: 900; line-height: 1.3; margin: 18px 0 12px; color: #1f1f2e; }
.l5p2-prose h3 { font-size: 1.1rem; font-weight: 800; margin: 16px 0 8px; color: #1f1f2e; }
.l5p2-prose p { margin: 0 0 12px; }
.l5p2-prose ul { padding-left: 20px; margin: 0 0 12px; }
.l5p2-prose li { list-style: disc; margin-bottom: 5px; }
.l5p2-prose a { color: var(--l5-blue); font-weight: 800; text-decoration: underline; }
.l5p2-info { margin-top: 18px; border-top: 1px solid #ececf1; padding-top: 16px; }
.l5p2-info h3 { font-size: .98rem; font-weight: 800; margin: 0 0 8px; color: #1f1f2e; }
.l5p2-info dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0 0 16px; font-size: .88rem; }
.l5p2-info dt { color: #6b6b80; }
.l5p2-info dd { margin: 0; color: #2b2b3a; }
.l5p2-info p { font-size: .88rem; color: #4a4a5a; margin: 0 0 8px; }
.l5p2-info a { color: var(--l5-blue); }

/* ---------- Avaliações ---------- */
.l5p2-hist { display: grid; gap: 4px; max-width: 380px; margin-bottom: 24px; }
.l5p2-hist-row { display: grid; grid-template-columns: 82px 1fr 36px; align-items: center; gap: 10px; font-size: .9rem; color: #3a3a4a; }
.l5p2-hist-track { height: 6px; background: #f0f0f3; border-radius: 3px; overflow: hidden; }
.l5p2-hist-fill { display: block; height: 100%; background: #f5b301; border-radius: 3px; }
.l5p2-hist-row b { font-weight: 500; text-align: right; }
.l5p2-avg { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 1rem; color: #5a5a6a; }
.l5p2-total { text-align: center; color: #3a3a4a; font-size: .95rem; margin: 14px 0 24px; }
.l5p2-rec { display: flex; align-items: center; gap: 18px; padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid #ececf1; }
.l5p2-ring { width: 76px; height: 76px; border-radius: 50%; border: 3px solid #f5b301; display: flex; align-items: center; justify-content: center; font-size: 1rem; color: #3a3a4a; flex-shrink: 0; }
.l5p2-rec span:last-child { font-size: .95rem; color: #3a3a4a; }
.l5p2-sort { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.l5p2-sort label { font-size: .92rem; color: #3a3a4a; line-height: 1.25; }
.l5p2-sort select { border: 1px solid #cfd0d6; border-radius: 4px; padding: 10px 12px; font: inherit; font-size: .92rem; color: #3a3a4a; background: #fff; }
.l5p2-rv { padding: 22px 0; border-bottom: 1px solid #ececf1; }
.l5p2-rv:last-child { border-bottom: 0; }
.l5p2-rv-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.l5p2-rv-date { font-size: .92rem; color: #4a4a5a; }
.l5p2-rv-text { font-size: 1.05rem; color: #2b2b3a; line-height: 1.55; margin: 0 0 12px; }
.l5p2-rv-photo { display: block; max-width: 140px; border-radius: 8px; margin: 0 0 12px; cursor: zoom-in; }
.l5p2-rv-by { font-size: .92rem; color: #3a3a4a; margin: 0; }
.l5p2-rv-by strong { font-weight: 800; }
.l5p2-empty { color: #6b6b80; font-size: .92rem; margin: 0; }

/* ---------- Barra "Comprar agora" (só no celular) ---------- */
.l5p2-buybar { display: none; }

@media (max-width: 900px) {
    .l5p2 { padding: 0 0 18px; }
    .l5p2 > .container { padding: 0 6px; }
    .l5p2-crumbs { display: none; }
    .l5p2-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "gal" "buy" "cep" "sug" "desc" "rev"; gap: 10px; }
    .l5p2-card { padding: 22px 20px; border-radius: 12px; }

    /* Fotos coladas no cabeçalho: sem espaço em cima e de ponta a ponta */
    .l5p2-gal { margin: 0 -6px; border-radius: 0 0 12px 12px; padding: 14px 8px 18px; }
    .l5p2-slide { height: 250px; }
    .l5p2-arrow { top: calc(50% - 16px); }
    .l5p2-arrow.is-prev { left: 12px; }
    .l5p2-arrow.is-next { right: 12px; }

    .l5p2-price { font-size: 1.75rem; }
    body.layout-layout5 .l5p2-card.shipping-calc { padding: 22px 20px; }
    .l5p2-sug-item { flex-basis: 158px; }

    .l5p2-buybar {
        display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 450;
        background: #fff; border-radius: 20px 20px 0 0; box-shadow: 0 -6px 24px rgba(20, 20, 40, .12);
        padding: 14px 18px calc(14px + env(safe-area-inset-bottom));
    }
    .l5p2-buybar .l5p2-btn-fill { min-height: 56px; font-size: 1.08rem; }

    /* A barra fixa não pode cobrir o fim da página nem os botões flutuantes */
    body:has(.l5p2-buybar) { padding-bottom: 88px; }
    body:has(.l5p2-buybar) .l5-wafloat,
    body:has(.l5p2-buybar) .chia { bottom: 98px; }
}


/* =====================================================================
   Checkout — mesma classe .payment-card/.pm-icon/.pm-body dos demais
   layouts, para reaproveitar o JS já existente (assets/js/checkout.js:
   destaque de seleção, CPF, CEP e o loader de envio).
   ===================================================================== */
.l5c-wrap { padding: 18px 0 40px; }
.l5c-title { font-size: 1.35rem; font-weight: 900; margin-bottom: 6px; }
.l5c-steps { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.l5c-step { font-size: .74rem; font-weight: 700; color: var(--muted); background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 5px 13px; }
.l5c-step.is-active { color: #fff; background: var(--l5-blue); border-color: var(--l5-blue); }
.l5c-step.is-done { color: var(--l5-green); border-color: var(--l5-green); }
.l5c-layout { display: grid; grid-template-columns: 1fr 360px; gap: 22px; align-items: start; }
.l5c-form { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 24px; }
.l5c-form h2 { font-size: 1rem; font-weight: 800; margin-bottom: 14px; }
.l5c-form h2.l5c-h2-sp { margin-top: 22px; }
body.layout-layout5 .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
body.layout-layout5 .form-grid .full { grid-column: 1 / -1; }
body.layout-layout5 .form-grid label { display: block; font-size: .8rem; font-weight: 700; margin-bottom: 5px; color: var(--text); }
body.layout-layout5 .form-grid input, body.layout-layout5 .form-grid select { width: 100%; border: 1px solid var(--border); border-radius: 6px; padding: 10px 12px; font-size: .88rem; }
body.layout-layout5 .form-grid input:focus, body.layout-layout5 .form-grid select:focus { outline: none; border-color: var(--l5-blue); box-shadow: 0 0 0 3px rgba(0,0,190,.1); }

body.layout-layout5 .payment-methods { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
body.layout-layout5 .payment-card { display: flex; align-items: center; gap: 14px; border: 1.5px solid var(--border); border-radius: 8px; padding: 14px 16px; cursor: pointer; position: relative; transition: border-color .2s, background .2s; }
body.layout-layout5 .payment-card:hover { border-color: var(--l5-blue); }
body.layout-layout5 .payment-card.is-selected { border-color: var(--l5-blue); background: var(--l5-blue-light); }
body.layout-layout5 .payment-card input[type=radio] { width: 18px; height: 18px; accent-color: var(--l5-blue); }
body.layout-layout5 .pm-icon { width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; color: var(--l5-blue); flex-shrink: 0; }
body.layout-layout5 .pm-body { display: flex; flex-direction: column; }
body.layout-layout5 .pm-body strong { font-size: .88rem; }
body.layout-layout5 .pm-body small { font-size: .74rem; color: var(--muted); }
body.layout-layout5 .pm-badge { margin-left: auto; background: var(--l5-green); color: #fff; font-size: .68rem; font-weight: 800; padding: 3px 9px; border-radius: 20px; }

.l5c-terms { font-size: .78rem; color: var(--muted); margin-top: 16px; }
.l5c-terms a { color: var(--l5-blue); }
.l5c-pay-btn { width: 100%; background: var(--l5-red); color: #fff; padding: 15px; border-radius: 8px; font-size: .95rem; font-weight: 800; margin-top: 14px; display: flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; }
.l5c-pay-btn:hover { background: var(--l5-red-dark); }
.l5c-pay-btn svg { width: 18px; height: 18px; }
.l5c-pay-note { font-size: .76rem; color: var(--muted); margin-top: 10px; text-align: center; }

.l5c-summary { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 20px; }
.l5c-summary h3 { font-size: .95rem; font-weight: 800; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.l5c-sum-item { display: flex; justify-content: space-between; gap: 10px; font-size: .82rem; margin-bottom: 9px; }
.l5c-sum-item span:first-child { color: var(--muted); }
.l5c-trust { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 10px; }
.l5c-trust-row { display: flex; gap: 9px; align-items: flex-start; }
.l5c-trust-row svg { width: 17px; height: 17px; color: var(--l5-blue); flex-shrink: 0; margin-top: 1px; }
.l5c-trust-row strong { display: block; font-size: .78rem; }
.l5c-trust-row span { font-size: .72rem; color: var(--muted); }

/* =====================================================================
   Página do pedido / PIX
   ===================================================================== */
.l5o-wrap { padding: 24px 0 40px; }
.l5o-card { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 28px; max-width: 620px; margin: 0 auto; text-align: center; }
.l5o-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; text-align: left; }
.l5o-code { font-size: .92rem; font-weight: 800; }
.l5o-pixlogo { margin-bottom: 10px; }
.l5o-title { font-size: 1.2rem; font-weight: 900; margin-bottom: 8px; }
.l5o-sub { font-size: .86rem; color: var(--muted); margin-bottom: 16px; }
.l5o-banner { display: block; width: 100%; height: auto; border-radius: 8px; margin-bottom: 16px; }
.l5o-status { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 12px; }
.l5o-status-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--l5-warn); box-shadow: 0 0 0 0 rgba(245,158,11,.55); animation: l5o-pulse 1.4s ease-out infinite; }
.l5o-status-text { font-weight: 800; color: #b45309; font-size: .84rem; text-transform: uppercase; letter-spacing: .3px; }
@keyframes l5o-pulse { 0% { box-shadow: 0 0 0 0 rgba(245,158,11,.55); } 100% { box-shadow: 0 0 0 10px rgba(245,158,11,0); } }
.l5o-pixlabel { font-size: .78rem; color: var(--muted); margin-bottom: 6px; text-align: left; }
.l5o-pixcode { border: 1.5px dashed var(--l5-blue); background: var(--l5-blue-light); border-radius: 8px; padding: 12px 14px; font-size: .82rem; color: var(--l5-blue-hover); font-family: monospace; word-break: break-all; margin-bottom: 12px; text-align: left; }
.l5o-pixbtn { width: 100%; background: var(--l5-blue); color: #fff; padding: 13px; border-radius: 8px; font-size: .9rem; font-weight: 800; display: flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; margin-bottom: 10px; }
.l5o-pixbtn.is-copied { background: var(--l5-green); }
.l5o-pixvalid { font-size: .82rem; color: var(--muted); margin-bottom: 16px; }
.l5o-pixqr { display: flex; justify-content: center; margin-bottom: 18px; }
.l5o-pixqr img, .l5o-pixqr canvas { border: 1px solid var(--border); border-radius: 8px; padding: 10px; background: #fff; }
.l5o-spinner { width: 40px; height: 40px; border: 4px solid var(--border); border-top-color: var(--l5-blue); border-radius: 50%; margin: 20px auto; animation: l5o-spin 1s linear infinite; }
@keyframes l5o-spin { to { transform: rotate(360deg); } }
.l5o-success { padding: 8px 0 20px; }
.l5o-success-ic { width: 56px; height: 56px; background: var(--l5-green); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; font-weight: 900; margin: 0 auto 14px; }
.l5o-success-btn { display: inline-block; background: var(--l5-blue); color: #fff; padding: 12px 28px; border-radius: 8px; font-weight: 800; font-size: .88rem; text-decoration: none; margin-top: 8px; }

.l5o-trustbox { background: #fafafa; border-radius: 8px; padding: 16px; text-align: left; margin-bottom: 16px; }
.l5o-trust-row { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; }
.l5o-trust-row:last-child { margin-bottom: 0; }
.l5o-trust-row svg { width: 18px; height: 18px; color: var(--l5-blue); flex-shrink: 0; margin-top: 1px; }
.l5o-trust-row strong { display: block; font-size: .8rem; }
.l5o-trust-row span { font-size: .76rem; color: var(--muted); }
.l5o-cancel { font-size: .76rem; color: var(--muted); margin-bottom: 18px; }

.l5o-summary { text-align: left; border-top: 1px solid var(--border); padding-top: 18px; margin-top: 8px; }
.l5o-summary h3 { font-size: .92rem; font-weight: 800; margin-bottom: 12px; }
.l5o-item { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); }
.l5o-item-img { width: 48px; height: 48px; object-fit: contain; border: 1px solid var(--border); border-radius: 6px; padding: 3px; }
.l5o-item-info { flex: 1; }
.l5o-item-name { display: block; font-size: .82rem; font-weight: 600; }
.l5o-item-qty { display: block; font-size: .74rem; color: var(--muted); }
.l5o-item-total { font-size: .84rem; font-weight: 800; color: var(--l5-blue); }
.l5o-sumrow { display: flex; justify-content: space-between; font-size: .84rem; padding: 8px 0; }
.l5o-sumrow.is-total { font-weight: 800; color: var(--l5-blue); border-top: 1px solid var(--border); padding-top: 10px; margin-top: 4px; font-size: .92rem; }
.l5o-deliver { margin-top: 16px; display: flex; flex-direction: column; gap: 12px; }
.l5o-dv { display: flex; gap: 10px; align-items: flex-start; }
.l5o-dv svg { width: 17px; height: 17px; color: var(--l5-blue); flex-shrink: 0; margin-top: 1px; }
.l5o-dv strong { display: block; font-size: .8rem; }
.l5o-dv span { font-size: .76rem; color: var(--muted); }
.l5o-help { font-size: .8rem; color: var(--muted); margin-top: 18px; }
.l5o-help a { color: var(--l5-blue); }

/* ---------- Responsivo ---------- */
@media (max-width: 1024px) {
    .l5c-layout, body.layout-layout5 .checkout-layout { grid-template-columns: 1fr; }
    .l5-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
    body.layout-layout5 .grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
}
/* Cabeçalho mobile: [☰ logo cesta] / busca / CEP — três linhas, na
   ordem do desenho de referência. O bloco de conta sai de cena: numa tela
   de 375px ele empurraria a cesta para fora. */
@media (max-width: 900px) {
    .l5-burger { display: flex; order: 1; }
    .l5-catnav { display: none; }
    .l5-catnav.is-open { display: block; }
    .l5-catnav.is-open .l5-catnav-inner { flex-direction: column; justify-content: flex-start; }
    .l5-catnav.is-open .l5-catnav-inner a { border-bottom: 1px solid var(--border); margin-bottom: 0; }

    .l5-head-main { gap: 12px 14px; }
    .l5-logo { order: 2; flex: 1; justify-content: center; }
    .l5-logo img { height: 34px; }
    .l5-tools { order: 3; margin-left: 0; gap: 0; }
    .l5-tool-user { display: none; }        /* sem espaço numa tela de 375px */
    .l5-tool-cart .l5-tool-tx { display: none; }  /* só o ícone da cesta */

    .l5-search { order: 4; flex: 0 0 100%; max-width: none; }
    .l5-search input { padding: 11px 12px 11px 6px; }

    /* O CEP vira uma linha própria, abaixo da busca, alinhado à esquerda */
    .l5-cep { order: 5; flex: 0 0 100%; }
    .l5-cep-btn { padding: 2px 0; justify-content: flex-start; }
    .l5-cep-btn .l5-tool-ic svg { width: 20px; height: 20px; }
    .l5-cep-btn .l5-tool-tx { font-size: .9rem; }

    .l5-cep-pop { left: 0; transform: none; width: min(340px, calc(100vw - 32px)); }
}
@media (max-width: 767px) {
    .l5h-hero-inner { flex-direction: column; text-align: center; }
    .l5h-hero-card { width: 100%; max-width: 280px; }
    .l5h-promo { flex-direction: column; text-align: center; padding: 22px; }
    .l5-footer-grid { grid-template-columns: 1fr; }
    body.layout-layout5 .cart-row { grid-template-columns: 1fr; }
    body.layout-layout5 .cart-row-remove { justify-self: end; }
}
@media (max-width: 480px) {
    body.layout-layout5 .grid { grid-template-columns: repeat(2, 1fr); }
    .l5-pcard-imgwrap { height: 140px; }
    body.layout-layout5 .form-grid { grid-template-columns: 1fr; }
}
 numa linha e o número na outra) */
.l5p2-offer-main s, .l5p2-offer-main strong, .l5p2-price, .l5p2-sug-price { white-space: nowrap; }
.l5p2-offer-sub { color: #e8002d; font-size: .82rem; line-height: 1.45; margin: 0; }

.l5p2-btn-fill, .l5p2-btn-line {
    width: 100%; min-height: 54px; border-radius: 999px; display: flex; align-items: center; justify-content: center; gap: 10px;
    font: inherit; font-weight: 800; font-size: 1.02rem; cursor: pointer; text-decoration: none; transition: background .2s, color .2s;
}
.l5p2-btn-fill { background: var(--l5-blue); color: #fff; border: 0; --l5-ic-plus: var(--l5-blue); }
.l5p2-btn-fill:hover { background: var(--l5-blue-hover); }
.l5p2-btn-line { background: #fff; color: var(--l5-blue); border: 2px solid var(--l5-blue); --l5-ic-plus: #fff; }
.l5p2-btn-line:hover { background: var(--l5-blue-light); }
.l5p2-btn-fill svg, .l5p2-btn-line svg { width: 26px; height: 26px; }

.l5p2-volt { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; font-weight: 700; font-size: .92rem; }
.l5p2-volt label { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }

.l5p2-pricerow { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.l5p2-price-lbl { display: block; font-size: .95rem; font-weight: 700; color: #4a4a5a; margin-bottom: 2px; }
.l5p2-price { display: block; font-size: 1.95rem; font-weight: 900; color: var(--l5-blue); line-height: 1.1; }
.l5p2-install { display: block; font-size: .8rem; color: #6b6b80; margin-top: 3px; }

body.layout-layout5 .l5p2-qty { border: 1.5px solid #c9c9d2; border-radius: 999px; overflow: hidden; height: 54px; flex-shrink: 0; }
body.layout-layout5 .l5p2-qty .qty-btn { width: 46px; height: 51px; background: #fff; color: var(--l5-blue); font-size: 1.6rem; font-weight: 400; }
body.layout-layout5 .l5p2-qty .qty-btn:hover { background: var(--l5-blue-light); }
body.layout-layout5 .l5p2-qty input { width: 40px; height: 51px; border: 0; font-size: 1.05rem; font-weight: 600; color: #3a3a4a; -moz-appearance: textfield; }
body.layout-layout5 .l5p2-qty input::-webkit-outer-spin-button,
body.layout-layout5 .l5p2-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.l5p2-link { display: inline-block; margin-top: 12px; color: var(--l5-blue); font-size: .88rem; text-decoration: underline; text-underline-offset: 2px; }
.l5p2-out { border-radius: 12px; background: #f6f6f8; padding: 16px; text-align: center; }
.l5p2-out strong { display: block; color: var(--l5-red); margin-bottom: 4px; }
.l5p2-out span { font-size: .85rem; color: #6b6b80; }

/* ---------- CEP (a calculadora é a do shop.js; aqui só a aparência) ---------- */
body.layout-layout5 .l5p2-card.shipping-calc { border: 0; padding: 24px; background: #fff; }
body.layout-layout5 .l5p2-cep .l5p2-lbl { display: block; font-size: .88rem; font-weight: 500; color: #6b6b80; margin: 0 0 6px; }
body.layout-layout5 .l5p2-cep .sc-row { display: flex; gap: 10px; }
body.layout-layout5 .l5p2-cep .sc-cep {
    flex: 1; min-width: 0; height: 54px; border: 1.5px solid #c9c9d2; border-radius: 999px;
    padding: 0 20px; font: inherit; font-size: .98rem; background: #fff; color: #2b2b3a;
}
body.layout-layout5 .l5p2-cep .sc-cep:focus { outline: none; border-color: var(--l5-blue); }
body.layout-layout5 .l5p2-cep .sc-btn {
    width: auto; height: 54px; padding: 0 26px; flex-shrink: 0; border-radius: 999px;
    background: #fff; color: var(--l5-blue); border: 2px solid var(--l5-blue); font: inherit; font-weight: 800; font-size: 1rem; cursor: pointer;
}
body.layout-layout5 .l5p2-cep .sc-btn:hover { background: var(--l5-blue-light); }
body.layout-layout5 .l5p2-cep .sc-result { margin-top: 10px; font-size: .88rem; }
.l5p2-shipnote { font-size: .82rem; color: #6b6b80; margin: 12px 0 0; }
.l5p2-cep .l5p2-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; margin-top: 12px; }
.l5p2-cep .l5p2-link svg { width: 17px; height: 17px; }

/* ---------- Sugestões ---------- */
.l5p2-sug-track { display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none; }
.l5p2-sug-track::-webkit-scrollbar { display: none; }
.l5p2-sug-item { flex: 0 0 176px; scroll-snap-align: start; display: flex; flex-direction: column; border: 1px solid #ececf1; margin-right: -1px; padding: 16px 14px 12px; background: #fff; }
.l5p2-sug-img { display: flex; align-items: center; justify-content: center; height: 130px; margin-bottom: 12px; }
.l5p2-sug-img img { max-height: 130px; max-width: 100%; object-fit: contain; }
.l5p2-sug-name { font-size: .92rem; color: #3a3a4a; line-height: 1.35; text-decoration: none; min-height: 2.7em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.l5p2-sug-rate { display: flex; align-items: center; gap: 4px; font-size: .72rem; color: #6b6b80; margin-top: 6px; }
.l5p2-sug-price { font-size: 1rem; font-weight: 900; color: var(--l5-blue); margin-top: 6px; }
.l5p2-sug-foot { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: auto; padding-top: 10px; }
.l5p2-sug-foot form { margin: 0; }
.l5p2-sug-brand { font-size: .78rem; font-weight: 900; font-style: italic; text-transform: uppercase; color: #2b2b40; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.l5p2-sug-add {
    width: 40px; height: 40px; border-radius: 50%; background: var(--l5-blue); color: #fff; border: 0; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center; cursor: pointer; --l5-ic-plus: var(--l5-blue);
}
.l5p2-sug-add svg { width: 24px; height: 24px; }
.l5p2-sug-add:hover { background: var(--l5-blue-hover); }

/* ---------- Descrição ---------- */
.l5p2-prose { font-size: .98rem; line-height: 1.65; color: #2b2b3a; }
.l5p2-prose h2 { font-size: 1.35rem; font-weight: 900; line-height: 1.3; margin: 18px 0 12px; color: #1f1f2e; }
.l5p2-prose h3 { font-size: 1.1rem; font-weight: 800; margin: 16px 0 8px; color: #1f1f2e; }
.l5p2-prose p { margin: 0 0 12px; }
.l5p2-prose ul { padding-left: 20px; margin: 0 0 12px; }
.l5p2-prose li { list-style: disc; margin-bottom: 5px; }
.l5p2-prose a { color: var(--l5-blue); font-weight: 800; text-decoration: underline; }
.l5p2-info { margin-top: 18px; border-top: 1px solid #ececf1; padding-top: 16px; }
.l5p2-info h3 { font-size: .98rem; font-weight: 800; margin: 0 0 8px; color: #1f1f2e; }
.l5p2-info dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0 0 16px; font-size: .88rem; }
.l5p2-info dt { color: #6b6b80; }
.l5p2-info dd { margin: 0; color: #2b2b3a; }
.l5p2-info p { font-size: .88rem; color: #4a4a5a; margin: 0 0 8px; }
.l5p2-info a { color: var(--l5-blue); }

/* ---------- Avaliações ---------- */
.l5p2-hist { display: grid; gap: 4px; max-width: 380px; margin-bottom: 24px; }
.l5p2-hist-row { display: grid; grid-template-columns: 82px 1fr 36px; align-items: center; gap: 10px; font-size: .9rem; color: #3a3a4a; }
.l5p2-hist-track { height: 6px; background: #f0f0f3; border-radius: 3px; overflow: hidden; }
.l5p2-hist-fill { display: block; height: 100%; background: #f5b301; border-radius: 3px; }
.l5p2-hist-row b { font-weight: 500; text-align: right; }
.l5p2-avg { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 1rem; color: #5a5a6a; }
.l5p2-total { text-align: center; color: #3a3a4a; font-size: .95rem; margin: 14px 0 24px; }
.l5p2-rec { display: flex; align-items: center; gap: 18px; padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid #ececf1; }
.l5p2-ring { width: 76px; height: 76px; border-radius: 50%; border: 3px solid #f5b301; display: flex; align-items: center; justify-content: center; font-size: 1rem; color: #3a3a4a; flex-shrink: 0; }
.l5p2-rec span:last-child { font-size: .95rem; color: #3a3a4a; }
.l5p2-sort { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.l5p2-sort label { font-size: .92rem; color: #3a3a4a; line-height: 1.25; }
.l5p2-sort select { border: 1px solid #cfd0d6; border-radius: 4px; padding: 10px 12px; font: inherit; font-size: .92rem; color: #3a3a4a; background: #fff; }
.l5p2-rv { padding: 22px 0; border-bottom: 1px solid #ececf1; }
.l5p2-rv:last-child { border-bottom: 0; }
.l5p2-rv-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.l5p2-rv-date { font-size: .92rem; color: #4a4a5a; }
.l5p2-rv-text { font-size: 1.05rem; color: #2b2b3a; line-height: 1.55; margin: 0 0 12px; }
.l5p2-rv-photo { display: block; max-width: 140px; border-radius: 8px; margin: 0 0 12px; cursor: zoom-in; }
.l5p2-rv-by { font-size: .92rem; color: #3a3a4a; margin: 0; }
.l5p2-rv-by strong { font-weight: 800; }
.l5p2-empty { color: #6b6b80; font-size: .92rem; margin: 0; }

/* ---------- Barra "Comprar agora" (só no celular) ---------- */
.l5p2-buybar { display: none; }

@media (max-width: 900px) {
    .l5p2 { padding: 0 0 18px; }
    .l5p2 > .container { padding: 0 6px; }
    .l5p2-crumbs { display: none; }
    .l5p2-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "gal" "buy" "cep" "sug" "desc" "rev"; gap: 10px; }
    .l5p2-card { padding: 22px 20px; border-radius: 12px; }

    /* Fotos coladas no cabeçalho: sem espaço em cima e de ponta a ponta */
    .l5p2-gal { margin: 0 -6px; border-radius: 0 0 12px 12px; padding: 14px 8px 18px; }
    .l5p2-slide { height: 250px; }
    .l5p2-arrow { top: calc(50% - 16px); }
    .l5p2-arrow.is-prev { left: 12px; }
    .l5p2-arrow.is-next { right: 12px; }

    .l5p2-price { font-size: 1.75rem; }
    body.layout-layout5 .l5p2-card.shipping-calc { padding: 22px 20px; }
    .l5p2-sug-item { flex-basis: 158px; }

    .l5p2-buybar {
        display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 450;
        background: #fff; border-radius: 20px 20px 0 0; box-shadow: 0 -6px 24px rgba(20, 20, 40, .12);
        padding: 14px 18px calc(14px + env(safe-area-inset-bottom));
    }
    .l5p2-buybar .l5p2-btn-fill { min-height: 56px; font-size: 1.08rem; }

    /* A barra fixa não pode cobrir o fim da página nem os botões flutuantes */
    body:has(.l5p2-buybar) { padding-bottom: 88px; }
    body:has(.l5p2-buybar) .l5-wafloat,
    body:has(.l5p2-buybar) .chia { bottom: 98px; }
}


/* =====================================================================
   Checkout — mesma classe .payment-card/.pm-icon/.pm-body dos demais
   layouts, para reaproveitar o JS já existente (assets/js/checkout.js:
   destaque de seleção, CPF, CEP e o loader de envio).
   ===================================================================== */
.l5c-wrap { padding: 18px 0 40px; }
.l5c-title { font-size: 1.35rem; font-weight: 900; margin-bottom: 6px; }
.l5c-steps { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.l5c-step { font-size: .74rem; font-weight: 700; color: var(--muted); background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 5px 13px; }
.l5c-step.is-active { color: #fff; background: var(--l5-blue); border-color: var(--l5-blue); }
.l5c-step.is-done { color: var(--l5-green); border-color: var(--l5-green); }
.l5c-layout { display: grid; grid-template-columns: 1fr 360px; gap: 22px; align-items: start; }
.l5c-form { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 24px; }
.l5c-form h2 { font-size: 1rem; font-weight: 800; margin-bottom: 14px; }
.l5c-form h2.l5c-h2-sp { margin-top: 22px; }
body.layout-layout5 .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
body.layout-layout5 .form-grid .full { grid-column: 1 / -1; }
body.layout-layout5 .form-grid label { display: block; font-size: .8rem; font-weight: 700; margin-bottom: 5px; color: var(--text); }
body.layout-layout5 .form-grid input, body.layout-layout5 .form-grid select { width: 100%; border: 1px solid var(--border); border-radius: 6px; padding: 10px 12px; font-size: .88rem; }
body.layout-layout5 .form-grid input:focus, body.layout-layout5 .form-grid select:focus { outline: none; border-color: var(--l5-blue); box-shadow: 0 0 0 3px rgba(0,0,190,.1); }

body.layout-layout5 .payment-methods { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
body.layout-layout5 .payment-card { display: flex; align-items: center; gap: 14px; border: 1.5px solid var(--border); border-radius: 8px; padding: 14px 16px; cursor: pointer; position: relative; transition: border-color .2s, background .2s; }
body.layout-layout5 .payment-card:hover { border-color: var(--l5-blue); }
body.layout-layout5 .payment-card.is-selected { border-color: var(--l5-blue); background: var(--l5-blue-light); }
body.layout-layout5 .payment-card input[type=radio] { width: 18px; height: 18px; accent-color: var(--l5-blue); }
body.layout-layout5 .pm-icon { width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; color: var(--l5-blue); flex-shrink: 0; }
body.layout-layout5 .pm-body { display: flex; flex-direction: column; }
body.layout-layout5 .pm-body strong { font-size: .88rem; }
body.layout-layout5 .pm-body small { font-size: .74rem; color: var(--muted); }
body.layout-layout5 .pm-badge { margin-left: auto; background: var(--l5-green); color: #fff; font-size: .68rem; font-weight: 800; padding: 3px 9px; border-radius: 20px; }

.l5c-terms { font-size: .78rem; color: var(--muted); margin-top: 16px; }
.l5c-terms a { color: var(--l5-blue); }
.l5c-pay-btn { width: 100%; background: var(--l5-red); color: #fff; padding: 15px; border-radius: 8px; font-size: .95rem; font-weight: 800; margin-top: 14px; display: flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; }
.l5c-pay-btn:hover { background: var(--l5-red-dark); }
.l5c-pay-btn svg { width: 18px; height: 18px; }
.l5c-pay-note { font-size: .76rem; color: var(--muted); margin-top: 10px; text-align: center; }

.l5c-summary { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 20px; }
.l5c-summary h3 { font-size: .95rem; font-weight: 800; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.l5c-sum-item { display: flex; justify-content: space-between; gap: 10px; font-size: .82rem; margin-bottom: 9px; }
.l5c-sum-item span:first-child { color: var(--muted); }
.l5c-trust { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 10px; }
.l5c-trust-row { display: flex; gap: 9px; align-items: flex-start; }
.l5c-trust-row svg { width: 17px; height: 17px; color: var(--l5-blue); flex-shrink: 0; margin-top: 1px; }
.l5c-trust-row strong { display: block; font-size: .78rem; }
.l5c-trust-row span { font-size: .72rem; color: var(--muted); }

/* =====================================================================
   Página do pedido / PIX
   ===================================================================== */
.l5o-wrap { padding: 24px 0 40px; }
.l5o-card { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 28px; max-width: 620px; margin: 0 auto; text-align: center; }
.l5o-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; text-align: left; }
.l5o-code { font-size: .92rem; font-weight: 800; }
.l5o-pixlogo { margin-bottom: 10px; }
.l5o-title { font-size: 1.2rem; font-weight: 900; margin-bottom: 8px; }
.l5o-sub { font-size: .86rem; color: var(--muted); margin-bottom: 16px; }
.l5o-banner { display: block; width: 100%; height: auto; border-radius: 8px; margin-bottom: 16px; }
.l5o-status { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 12px; }
.l5o-status-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--l5-warn); box-shadow: 0 0 0 0 rgba(245,158,11,.55); animation: l5o-pulse 1.4s ease-out infinite; }
.l5o-status-text { font-weight: 800; color: #b45309; font-size: .84rem; text-transform: uppercase; letter-spacing: .3px; }
@keyframes l5o-pulse { 0% { box-shadow: 0 0 0 0 rgba(245,158,11,.55); } 100% { box-shadow: 0 0 0 10px rgba(245,158,11,0); } }
.l5o-pixlabel { font-size: .78rem; color: var(--muted); margin-bottom: 6px; text-align: left; }
.l5o-pixcode { border: 1.5px dashed var(--l5-blue); background: var(--l5-blue-light); border-radius: 8px; padding: 12px 14px; font-size: .82rem; color: var(--l5-blue-hover); font-family: monospace; word-break: break-all; margin-bottom: 12px; text-align: left; }
.l5o-pixbtn { width: 100%; background: var(--l5-blue); color: #fff; padding: 13px; border-radius: 8px; font-size: .9rem; font-weight: 800; display: flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; margin-bottom: 10px; }
.l5o-pixbtn.is-copied { background: var(--l5-green); }
.l5o-pixvalid { font-size: .82rem; color: var(--muted); margin-bottom: 16px; }
.l5o-pixqr { display: flex; justify-content: center; margin-bottom: 18px; }
.l5o-pixqr img, .l5o-pixqr canvas { border: 1px solid var(--border); border-radius: 8px; padding: 10px; background: #fff; }
.l5o-spinner { width: 40px; height: 40px; border: 4px solid var(--border); border-top-color: var(--l5-blue); border-radius: 50%; margin: 20px auto; animation: l5o-spin 1s linear infinite; }
@keyframes l5o-spin { to { transform: rotate(360deg); } }
.l5o-success { padding: 8px 0 20px; }
.l5o-success-ic { width: 56px; height: 56px; background: var(--l5-green); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; font-weight: 900; margin: 0 auto 14px; }
.l5o-success-btn { display: inline-block; background: var(--l5-blue); color: #fff; padding: 12px 28px; border-radius: 8px; font-weight: 800; font-size: .88rem; text-decoration: none; margin-top: 8px; }

.l5o-trustbox { background: #fafafa; border-radius: 8px; padding: 16px; text-align: left; margin-bottom: 16px; }
.l5o-trust-row { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; }
.l5o-trust-row:last-child { margin-bottom: 0; }
.l5o-trust-row svg { width: 18px; height: 18px; color: var(--l5-blue); flex-shrink: 0; margin-top: 1px; }
.l5o-trust-row strong { display: block; font-size: .8rem; }
.l5o-trust-row span { font-size: .76rem; color: var(--muted); }
.l5o-cancel { font-size: .76rem; color: var(--muted); margin-bottom: 18px; }

.l5o-summary { text-align: left; border-top: 1px solid var(--border); padding-top: 18px; margin-top: 8px; }
.l5o-summary h3 { font-size: .92rem; font-weight: 800; margin-bottom: 12px; }
.l5o-item { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); }
.l5o-item-img { width: 48px; height: 48px; object-fit: contain; border: 1px solid var(--border); border-radius: 6px; padding: 3px; }
.l5o-item-info { flex: 1; }
.l5o-item-name { display: block; font-size: .82rem; font-weight: 600; }
.l5o-item-qty { display: block; font-size: .74rem; color: var(--muted); }
.l5o-item-total { font-size: .84rem; font-weight: 800; color: var(--l5-blue); }
.l5o-sumrow { display: flex; justify-content: space-between; font-size: .84rem; padding: 8px 0; }
.l5o-sumrow.is-total { font-weight: 800; color: var(--l5-blue); border-top: 1px solid var(--border); padding-top: 10px; margin-top: 4px; font-size: .92rem; }
.l5o-deliver { margin-top: 16px; display: flex; flex-direction: column; gap: 12px; }
.l5o-dv { display: flex; gap: 10px; align-items: flex-start; }
.l5o-dv svg { width: 17px; height: 17px; color: var(--l5-blue); flex-shrink: 0; margin-top: 1px; }
.l5o-dv strong { display: block; font-size: .8rem; }
.l5o-dv span { font-size: .76rem; color: var(--muted); }
.l5o-help { font-size: .8rem; color: var(--muted); margin-top: 18px; }
.l5o-help a { color: var(--l5-blue); }

/* ---------- Responsivo ---------- */
@media (max-width: 1024px) {
    .l5c-layout, body.layout-layout5 .checkout-layout { grid-template-columns: 1fr; }
    .l5-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
    body.layout-layout5 .grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
}
/* Cabeçalho mobile: [☰ logo cesta] / busca / CEP — três linhas, na
   ordem do desenho de referência. O bloco de conta sai de cena: numa tela
   de 375px ele empurraria a cesta para fora. */
@media (max-width: 900px) {
    .l5-burger { display: flex; order: 1; }
    .l5-catnav { display: none; }
    .l5-catnav.is-open { display: block; }
    .l5-catnav.is-open .l5-catnav-inner { flex-direction: column; justify-content: flex-start; }
    .l5-catnav.is-open .l5-catnav-inner a { border-bottom: 1px solid var(--border); margin-bottom: 0; }

    .l5-head-main { gap: 12px 14px; }
    .l5-logo { order: 2; flex: 1; justify-content: center; }
    .l5-logo img { height: 34px; }
    .l5-tools { order: 3; margin-left: 0; gap: 0; }
    .l5-tool-user { display: none; }        /* sem espaço numa tela de 375px */
    .l5-tool-cart .l5-tool-tx { display: none; }  /* só o ícone da cesta */

    .l5-search { order: 4; flex: 0 0 100%; max-width: none; }
    .l5-search input { padding: 11px 12px 11px 6px; }

    /* O CEP vira uma linha própria, abaixo da busca, alinhado à esquerda */
    .l5-cep { order: 5; flex: 0 0 100%; }
    .l5-cep-btn { padding: 2px 0; justify-content: flex-start; }
    .l5-cep-btn .l5-tool-ic svg { width: 20px; height: 20px; }
    .l5-cep-btn .l5-tool-tx { font-size: .9rem; }

    .l5-cep-pop { left: 0; transform: none; width: min(340px, calc(100vw - 32px)); }
}
@media (max-width: 767px) {
    .l5h-hero-inner { flex-direction: column; text-align: center; }
    .l5h-hero-card { width: 100%; max-width: 280px; }
    .l5h-promo { flex-direction: column; text-align: center; padding: 22px; }
    .l5-footer-grid { grid-template-columns: 1fr; }
    body.layout-layout5 .cart-row { grid-template-columns: 1fr; }
    body.layout-layout5 .cart-row-remove { justify-self: end; }
}
@media (max-width: 480px) {
    body.layout-layout5 .grid { grid-template-columns: repeat(2, 1fr); }
    .l5-pcard-imgwrap { height: 140px; }
    body.layout-layout5 .form-grid { grid-template-columns: 1fr; }
}

/* Descrição: lista numerada e linha divisória. */
.l5p2-prose ol { padding-left: 22px; margin: 0 0 12px; }
.l5p2-prose ol li { list-style: decimal; }
.l5p2-prose h4 { font-size: 1rem; font-weight: 800; margin: 14px 0 6px; color: #1f1f2e; }
.l5p2-prose hr { border: 0; border-top: 1px solid #ececf1; margin: 16px 0; }

/* ---------- Botão "Comprar agora" abaixo do "Adicionar" ---------- */
.l5p2-form .l5p2-btn-comprar { margin-top: 10px; }

/* Barra fixa: escondida até o botão "Comprar agora" da página sair por cima
   da tela (assets/js/layout5.js, initBuybar). Vem depois dos dois blocos da
   barra acima, então estas regras é que valem. */
@media (max-width: 900px) {
    .l5p2-buybar {
        transform: translateY(110%); visibility: hidden;
        transition: transform .25s ease, visibility 0s linear .25s;
    }
    .l5p2-buybar.is-visivel {
        transform: none; visibility: visible;
        transition: transform .25s ease, visibility 0s;
    }
    body:has(.l5p2-buybar) { padding-bottom: 0; }
    body:has(.l5p2-buybar.is-visivel) { padding-bottom: 88px; }
    body:has(.l5p2-buybar) .l5-wafloat,
    body:has(.l5p2-buybar) .chia { transition: bottom .25s ease; }
    /* Barra escondida: botões flutuantes voltam à posição normal deles
       (.l5-wafloat neste arquivo; .chia em style.css). */
    body:has(.l5p2-buybar:not(.is-visivel)) .l5-wafloat { bottom: 26px; }
    body:has(.l5p2-buybar:not(.is-visivel)) .chia { bottom: 18px; }
}
@media (max-width: 640px) {
    body:has(.l5p2-buybar:not(.is-visivel)) .chia { bottom: 14px; }
}

/* ---------- Código do produto ao lado da marca ---------- */
.l5p2-brandline { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; min-width: 0; }
.l5p2-top .l5p2-sku { max-width: none; text-align: left; font-size: .85rem; color: #8a8a98; white-space: nowrap; }


/* =====================================================================
   Checkout em etapas (versão que estava no servidor)
   ---------------------------------------------------------------------
   O checkout do Layout 5 no servidor é em etapas (l5c-steps/l5c-next/
   l5c-back). Estas regras vieram do CSS que estava lá, para o visual bater
   com essa marcação; sem elas os botões Continuar/Voltar saem sem estilo.
   ===================================================================== */
   destaque de seleção, CPF, CEP e o loader de envio).
   ===================================================================== */
.l5c-wrap { padding: 18px 0 40px; }
.l5c-title { font-size: 1.35rem; font-weight: 900; margin-bottom: 6px; }
.l5c-steps { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
/* Indicador de etapa (as pílulas do topo). Era .l5c-step; virou .l5c-stepi
   quando o checkout passou a ser em etapas, porque .l5c-step agora é o PASSO
   do formulário — mesma divisão dos Layouts 2, 3 e 4. */
.l5c-stepi { font-size: .74rem; font-weight: 700; color: var(--muted); background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 5px 13px; }
.l5c-stepi.is-active { color: #fff; background: var(--l5-blue); border-color: var(--l5-blue); }
.l5c-stepi.is-done { color: var(--l5-green); border-color: var(--l5-green); }
/* Passos do formulário. Sem JS, nenhum recebe .is-hidden e todos aparecem —
   o formulário continua enviando de uma vez só. */
.l5c-step.is-hidden { display: none; }
.l5c-invalid { border-color: #c0392b !important; }
.l5c-nav { display: flex; gap: 12px; margin-top: 20px; align-items: center; }
/* font-family: inherit porque <button> NÃO herda a fonte da página e o
   Layout 5 usa fonte própria (Nunito) — sem isto os botões sairiam na fonte
   do sistema, diferentes do resto do checkout. */
.l5c-next, .l5c-back, .l5c-pay-btn { font-family: inherit; }
.l5c-step > h2:focus { outline: none; }
/* Sem JS os três passos ficam visíveis e empilhados: só nesse caso o título
   do passo seguinte precisa de respiro. Com JS nunca casa (só um passo fica
   sem .is-hidden por vez). */
.l5c-step:not(.is-hidden) + .l5c-step:not(.is-hidden) > h2 { margin-top: 22px; }
.l5c-next { flex: 1; background: var(--l5-blue); color: #fff; border: 0; border-radius: 8px; padding: 14px; font-size: .95rem; font-weight: 800; cursor: pointer; }
.l5c-next:hover { background: var(--l5-blue-hover); }
.l5c-back { background: none; border: 0; color: var(--muted); font-weight: 700; font-size: .9rem; cursor: pointer; padding: 14px 8px; flex-shrink: 0; }
.l5c-back:hover { color: var(--l5-blue); }
.l5c-back-solo { display: block; width: 100%; margin-top: 12px; text-align: center; padding: 8px; }
.l5c-layout { display: grid; grid-template-columns: 1fr 360px; gap: 22px; align-items: start; }
.l5c-form { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 24px; }
.l5c-form h2 { font-size: 1rem; font-weight: 800; margin-bottom: 14px; }
body.layout-layout5 .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
body.layout-layout5 .form-grid .full { grid-column: 1 / -1; }
body.layout-layout5 .form-grid label { display: block; font-size: .8rem; font-weight: 700; margin-bottom: 5px; color: var(--text); }
body.layout-layout5 .form-grid input, body.layout-layout5 .form-grid select { width: 100%; border: 1px solid var(--border); border-radius: 6px; padding: 10px 12px; font-size: .88rem; }
body.layout-layout5 .form-grid input:focus, body.layout-layout5 .form-grid select:focus { outline: none; border-color: var(--l5-blue); box-shadow: 0 0 0 3px rgba(0,0,190,.1); }

body.layout-layout5 .payment-methods { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
body.layout-layout5 .payment-card { display: flex; align-items: center; gap: 14px; border: 1.5px solid var(--border); border-radius: 8px; padding: 14px 16px; cursor: pointer; position: relative; transition: border-color .2s, background .2s; }
body.layout-layout5 .payment-card:hover { border-color: var(--l5-blue); }
body.layout-layout5 .payment-card.is-selected { border-color: var(--l5-blue); background: var(--l5-blue-light); }
body.layout-layout5 .payment-card input[type=radio] { width: 18px; height: 18px; accent-color: var(--l5-blue); }
body.layout-layout5 .pm-icon { width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; color: var(--l5-blue); flex-shrink: 0; }
body.layout-layout5 .pm-body { display: flex; flex-direction: column; }
body.layout-layout5 .pm-body strong { font-size: .88rem; }
body.layout-layout5 .pm-body small { font-size: .74rem; color: var(--muted); }
body.layout-layout5 .pm-badge { margin-left: auto; background: var(--l5-green); color: #fff; font-size: .68rem; font-weight: 800; padding: 3px 9px; border-radius: 20px; }

.l5c-terms { font-size: .78rem; color: var(--muted); margin-top: 16px; }
.l5c-terms a { color: var(--l5-blue); }
.l5c-pay-btn { width: 100%; background: var(--l5-red); color: #fff; padding: 15px; border-radius: 8px; font-size: .95rem; font-weight: 800; margin-top: 14px; display: flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; }
.l5c-pay-btn:hover { background: var(--l5-red-dark); }
.l5c-pay-btn svg { width: 18px; height: 18px; }
.l5c-pay-note { font-size: .76rem; color: var(--muted); margin-top: 10px; text-align: center; }

.l5c-summary { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 20px; }
.l5c-summary h3 { font-size: .95rem; font-weight: 800; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.l5c-sum-item { display: flex; justify-content: space-between; gap: 10px; font-size: .82rem; margin-bottom: 9px; }
.l5c-sum-item span:first-child { color: var(--muted); }
.l5c-trust { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 10px; }
.l5c-trust-row { display: flex; gap: 9px; align-items: flex-start; }
.l5c-trust-row svg { width: 17px; height: 17px; color: var(--l5-blue); flex-shrink: 0; margin-top: 1px; }
.l5c-trust-row strong { display: block; font-size: .78rem; }
.l5c-trust-row span { font-size: .72rem; color: var(--muted); }


/* O bloco de checkout acima vem DEPOIS das media queries deste arquivo, então
   a sua regra de duas colunas passaria a valer em qualquer largura. Sem
   repetir aqui, o checkout ficaria em duas colunas também no celular. */
@media (max-width: 1024px) {
    .l5c-layout, body.layout-layout5 .checkout-layout { grid-template-columns: 1fr; }
}

/* Campos um por linha no celular: sem isto, "E-mail" e "CPF / CNPJ" ficam
   lado a lado num espaço de 150px e o texto não cabe. */
@media (max-width: 480px) {
    body.layout-layout5 .form-grid { grid-template-columns: 1fr; }
}
