/* =====================================================================
   Layout "proj" — ajustes do SITE PHP sobre o CSS do layout original
   ---------------------------------------------------------------------
   proj.css é o style.css do PROJ (gerado, classes com prefixo pj-).
   Aqui só o que o SITE PHP acrescenta: logo, rodapé com dados legais e
   formas de pagamento, compra (botões, frete, avaliações) e o miolo das
   páginas do SITE PHP (checkout, pedido, políticas) com a cara do layout.
   ===================================================================== */

body.pj-body {
    margin: 0;
    background: #fff;
    /* paleta do style.css do SITE PHP (páginas do site) na cor do layout */
    --primary: #00a8e2;
    --primary-dark: #1089be;
    --accent: #00a8e2;
    --accent-dark: #1089be;
    --blue: #00a8e2;
    --blue-dark: #1089be;
    --orange: #00a8e2;
    --orange-dark: #1089be;
    --bg: #fff;
    --text: #444;
}
.pj-shell { display: block; }

/* ---- cabeçalho ----------------------------------------------------
   Faixa de cima com o botão "Novidades"; abaixo, numa linha só: logo,
   menu (nome + faixa etária), busca, "Bem-vindo(a)" e sacola, com a
   linha azul embaixo. No celular: menu | logo | sacola e, abaixo,
   conta | busca. */
.pj .pj-topbar { background: #fff; border-bottom: 1px solid #e3e3e3; }
.pj .pj-topbar-in { max-width: 1672px; margin: 0 auto; padding: 0 24px; height: 39px; display: flex; align-items: center; gap: 16px; }
.pj .pj-pill { display: inline-flex; align-items: center; justify-content: center; min-width: 120px; height: 20px; padding: 0 18px; border-radius: 999px; background: #00a8e2; color: #fff; font: 500 12px/1 Arial, Helvetica, sans-serif; }
.pj .pj-pill:hover { background: #1089be; }
.pj .pj-topbar-txt { font-size: 11px; color: #777; }

.pj .pj-head { position: relative; z-index: 30; background: #fff; border-bottom: 2px solid #1fa6d6; }
.pj .pj-head-in { max-width: 1672px; height: 70px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; }
.pj .pj-head-menu { display: none; border: 0; background: none; padding: 4px; color: #555; }
.pj .pj-head-menu svg { width: 28px; height: 28px; }
.pj .pj-head-logo { flex: none; display: flex; align-items: center; margin-right: 20px; }
.pj .pj-logo { max-height: 50px; width: auto; max-width: 150px; object-fit: contain; }
.pj .pj-store-name { font-size: 20px; font-weight: 600; color: var(--pj-blue); letter-spacing: .01em; line-height: 1.2; white-space: nowrap; }

.pj .pj-head-nav { flex: 1 1 auto; align-self: stretch; display: flex; align-items: stretch; justify-content: center; gap: clamp(16px, 3.4vw, 64px); }
.pj .pj-head-nav > .pj-nav-group, .pj .pj-head-nav > .pj-nav-solo { position: relative; display: flex; align-items: center; }
.pj .pj-head-nav > .pj-nav-group > a, .pj .pj-head-nav > .pj-nav-solo { flex-direction: column; justify-content: center; text-align: center; height: 100%; font-family: 'Open Sans', Arial, sans-serif; color: #333; white-space: nowrap; }
.pj .pj-head-nav .pj-nav-group > a { display: flex; }
.pj .pj-nav-nome { font-size: 14px; font-weight: 600; line-height: 1.3; }
.pj .pj-head-nav small { display: block; font-size: 12px; font-weight: 400; color: #999; line-height: 1.4; margin-top: 1px; }
.pj .pj-head-nav > .pj-nav-group > a:hover, .pj .pj-head-nav > .pj-nav-solo:hover { color: var(--pj-blue); }
.pj .pj-head-nav .pj-mega { left: 50%; transform: translateX(-50%); z-index: 40; text-align: left; font-family: 'Open Sans', Arial, sans-serif; font-size: 13px; }
.pj .pj-head-nav .pj-mega a:hover { color: var(--pj-blue); }

.pj .pj-head-search { flex: none; width: 274px; height: 40px; margin-left: 34px; display: flex; border: 1px solid #8f8f8f; border-radius: 3px; overflow: hidden; background: #fff; }
.pj .pj-head-search input { flex: 1; min-width: 0; border: 0; outline: none; padding: 0 14px; font-size: 12px; color: #555; background: transparent; }
.pj .pj-head-search input::placeholder { color: #8a8a8a; }
.pj .pj-head-search button { flex: none; width: 42px; border: 0; background: #2aa5dc; color: #fff; display: grid; place-items: center; padding: 0; }
.pj .pj-head-search button:hover { background: #1089be; }
.pj .pj-head-search svg { width: 22px; height: 22px; stroke-width: 2.2; }

.pj .pj-head-conta { flex: none; margin-left: clamp(24px, 3.8vw, 70px); display: flex; align-items: center; gap: 8px; color: #444; }
.pj .pj-head-conta svg { width: 26px; height: 26px; stroke-width: 2; color: #555; }
.pj .pj-head-conta > span { display: flex; flex-direction: column; line-height: 1.25; }
.pj .pj-head-conta-oi { font-size: 12px; color: #555; }
.pj .pj-head-conta-link { font-size: 12px; font-weight: 500; color: #333; text-decoration: underline; }
.pj .pj-head-conta:hover .pj-head-conta-link { color: var(--pj-blue); }

.pj .pj-head-bag { flex: none; position: relative; margin-left: 16px; color: #555; display: flex; padding: 4px; }
.pj .pj-head-bag svg { width: 28px; height: 28px; stroke-width: 1.6; }
.pj .pj-head-count { position: absolute; top: -2px; right: -6px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--pj-blue); color: #fff; font-size: 10px; line-height: 18px; text-align: center; }

.pj .pj-secure { margin-left: auto; display: flex; align-items: center; gap: 8px; color: #2a8a5a; font-size: 12px; font-weight: 500; }
.pj .pj-secure svg { width: 18px; height: 18px; }

@media (max-width: 1640px) {
    .pj .pj-head-nav { gap: 30px; }
    .pj .pj-head-search { width: 240px; margin-left: 28px; }
    .pj .pj-head-conta { margin-left: 30px; }
}
@media (max-width: 1440px) {
    .pj .pj-head-nav { gap: 20px; }
    .pj .pj-head-search { width: 210px; margin-left: 20px; }
    .pj .pj-head-conta { margin-left: 22px; }
}
@media (max-width: 1320px) {
    .pj .pj-head-conta > span { display: none; }
}
@media (max-width: 1180px) {
    .pj .pj-head-nav { gap: 16px; }
    .pj .pj-head-search { width: 190px; }
    .pj .pj-head-nav small { display: none; }
    .pj .pj-nav-nome { font-size: 13px; }
}
@media (max-width: 1100px) {
    .pj .pj-topbar-in { padding: 0 16px; }
    .pj .pj-head-in { height: auto; padding: 8px 16px 10px; display: grid; grid-template-columns: 48px 1fr 48px; grid-template-areas: "menu logo bag" "conta busca busca"; align-items: center; gap: 6px 4px; }
    .pj .pj-head-menu { display: flex; grid-area: menu; justify-self: start; }
    .pj .pj-head-logo { grid-area: logo; justify-self: center; margin: 0; }
    .pj .pj-logo { max-height: 40px; max-width: 150px; }
    .pj .pj-store-name { font-size: 17px; }
    .pj .pj-head-bag { grid-area: bag; justify-self: end; margin: 0; }
    .pj .pj-head-conta { grid-area: conta; justify-self: start; margin: 0; padding: 4px; }
    .pj .pj-head-conta > span { display: none; }
    .pj .pj-head-search { grid-area: busca; width: auto; margin: 0; }
    .pj .pj-head-search input { font-size: 13px; }
    .pj .pj-head-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: #fff; box-shadow: 0 10px 20px #0002; padding: 6px 20px 10px; }
    .pj .pj-head-nav.pj-open { display: flex; }
    .pj .pj-head-nav > .pj-nav-group > a, .pj .pj-head-nav > .pj-nav-solo { flex-direction: row; justify-content: space-between; align-items: baseline; width: 100%; padding: 13px 0; border-bottom: 1px solid #eee; text-align: left; }
    .pj .pj-head-nav small { display: block; }
    .pj .pj-head-nav .pj-mega { display: none !important; }
    .pj .pj-head-compra .pj-head-in { display: flex; justify-content: space-between; }
    .pj .pj-head-compra .pj-head-logo { margin: 0; }
}

/* ---- cards ---- */
.pj .pj-tag-out { background: #8a8a8a; }
.pj .pj-empty-note { text-align: center; color: #888; }

/* ---- página de produto ---- */
.pj .pj-btn-outline { background: #fff; color: var(--pj-blue); border: 1px solid var(--pj-blue); }
.pj .pj-btn-outline:hover { background: #f1fbff; }
.pj .pj-buy-now { width: 100%; height: 46px; margin-top: 10px; }
.pj .pj-add-bag svg { width: 22px; height: 22px; }
.pj .pj-stars-link { color: #e5a100; }
.pj .pj-buy-info { margin-top: 4px; }
.pj .pj-buy-info p { margin: 0 0 8px; font-size: 11px; color: #6e7c84; }
.pj .pj-buy-info p svg { width: 16px; height: 16px; vertical-align: -3px; color: var(--pj-blue); }
.pj .pj-buy-info a, .pj .pj-guide-note a { color: var(--pj-blue); text-decoration: underline; }
.pj .pj-ship-calc { margin-top: 12px; }
.pj .pj-ship-calc label { display: block; font-size: 12px; font-weight: 500; color: #555; margin-bottom: 6px; }
.pj .pj-ship-calc .sc-row { display: flex; gap: 8px; }
.pj .pj-ship-calc input { flex: 1; min-width: 0; border: 1px solid #ddd; padding: 9px 10px; font-size: 13px; border-radius: 2px; background: #fff; }
.pj .pj-ship-calc .pj-btn, .pj .pj-summary .pj-ship-calc .pj-btn { padding: 9px 16px; width: auto; flex: none; }
.pj .pj-ship-calc .sc-result { font-size: 12px; margin-top: 8px; color: #555; }
.pj .pj-ship-calc .sc-error { color: #b03c3c; }
.pj .pj-ship-calc .sc-free { color: #2a8a5a; }
.pj .pj-desc { font-size: 13px; line-height: 1.9; max-width: 1000px; margin: 20px 0 0; color: #777; }
.pj .pj-desc p { margin: 0 0 12px; }
.pj .pj-desc ul, .pj .pj-desc ol { padding-left: 20px; }
.pj .pj-desc table { max-width: 700px; }
.pj .pj-reviews { margin-top: 18px; display: grid; gap: 16px; }
.pj .pj-review { border-bottom: 1px solid #eee; padding-bottom: 14px; font-size: 13px; color: #666; }
.pj .pj-review p { margin: 0 0 6px; }
.pj .pj-review-stars { color: #e5a100; letter-spacing: 1px; }
.pj .pj-review-head small { color: #aaa; font-size: 11px; }
.pj .pj-review-photo { max-width: 160px; border-radius: 3px; margin-top: 6px; }
.pj .pj-guide-note { font-size: 12px; color: #777; margin-top: 16px; }

/* ---- sacola ---- */
.pj .pj-summary .pj-btn { width: 100%; }
.pj .pj-summary .pj-btn svg { width: 18px; height: 18px; }
.pj .pj-summary .pj-error { margin: 0 0 12px; }
.pj .pj-free-note { font-size: 11px; color: #2a8a5a; margin: -10px 0 18px; }
.pj .pj-summary .pj-ship-calc { margin-top: 22px; display: block; }
.pj .pj-summary .pj-demo-note { margin-top: 15px; }
.pj .pj-cart-item h2 a:hover { color: var(--pj-blue); }

/* ---- voltar ao topo: só depois de rolar ---- */
.pj .pj-back-top { opacity: 0; pointer-events: none; transition: opacity .2s; }
.pj .pj-back-top.pj-visible { opacity: 1; pointer-events: auto; }

/* ---- rodapé: colunas com políticas, contato, pagamento ---- */
.pj .pj-foot-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; max-width: 1280px; margin: 10px auto 25px; text-align: left; border-top: 1px solid var(--pj-line); padding-top: 28px; }
.pj .pj-foot-cols h3 { font-size: 13px; font-weight: 600; color: #555; margin: 0 0 12px; }
.pj .pj-foot-cols .pj-foot-sub { margin-top: 18px; }
.pj .pj-foot-cols a, .pj .pj-foot-cols p { display: block; font-size: 12px; color: var(--pj-muted); margin: 0 0 8px; line-height: 1.6; }
.pj .pj-foot-cols a:hover { color: var(--pj-blue); }
.pj .pj-social { display: flex; gap: 10px; margin-top: 6px; }
.pj .pj-social a { color: var(--pj-blue); }
.pj .pj-social svg { width: 22px; height: 22px; }
.pj .pj-pay { display: flex; flex-wrap: wrap; gap: 6px; }
.pj .pj-pay .pay-badge { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 30px; background: #fff; border: 1px solid #eee; border-radius: 4px; overflow: hidden; }
.pj .pj-pay .pay-badge img { width: 100%; height: 100%; object-fit: contain; display: block; }
.pj .pj-seals { display: flex; flex-wrap: wrap; gap: 8px; }
.pj .pj-seals .trust-seal { display: inline-flex !important; align-items: center; gap: 8px; padding: 6px 12px !important; margin: 0 !important; background: #fff; border: 1px solid #e5e5e5; border-radius: 999px; color: #444 !important; font-size: 11px !important; line-height: 1.2 !important; }
.pj .pj-seals .trust-seal-ic { color: #2a8a5a; display: inline-flex; }
.pj .pj-seals .trust-seal-ic svg { width: 18px; height: 18px; }
.pj .pj-seals .trust-seal-tx { display: flex; flex-direction: column; }
.pj .pj-seals .trust-seal-tx span { color: #888; font-size: 10px; }
.pj .pj-legal { font-size: 10px; color: #999; margin: 0; }

/* ---- miolo das páginas do SITE PHP (checkout, pedido, políticas, contato...) ---- */
.pj-site {
    font-family: Poppins, Arial, sans-serif;
    color: #444;
    background: #fff;
    padding: 10px 0 40px;
    line-height: 1.6;
    font-size: 14px;
}
.pj-site .container { width: min(1280px, calc(100% - 64px)); max-width: none; margin: 0 auto; padding: 0; }
.pj-site h1, .pj-site .section-title { font-family: Poppins, Arial, sans-serif; color: var(--pj-blue, #00a8e2); font-weight: 500; text-transform: none; letter-spacing: 0; }
.pj-site .section-title { font-size: 25px; }
.pj-site h2, .pj-site h3 { font-family: Poppins, Arial, sans-serif; font-weight: 500; }
.pj-site a { color: #1089be; }
.pj-site .btn, .pj-site button.btn, .pj-site .btn-block, .pj-site .btn-blue {
    background: #00a8e2; border-color: #00a8e2; color: #fff; border-radius: 3px; font-family: Poppins, Arial, sans-serif; font-weight: 500; box-shadow: none;
}
.pj-site .btn:hover { background: #1089be; }
.pj-site .btn-outline { background: #fff; color: #00a8e2; border: 1px solid #00a8e2; }
.pj-site .box { border-radius: 4px; box-shadow: none; border-color: #e3e3e3; }
.pj-site .breadcrumb { font-size: 11px; color: #888; }
.pj-site .breadcrumb a { color: #888; }
.pj-site input, .pj-site select, .pj-site textarea { font-family: Poppins, Arial, sans-serif; border-radius: 3px; }

@media (max-width: 1100px) {
    .pj .pj-foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
    .pj .pj-logo { max-height: 42px; max-width: 150px; }
    .pj .pj-store-name { font-size: 16px; }
    .pj .pj-header-compra { height: auto; }
    .pj .pj-secure { font-size: 10px; }
    .pj .pj-foot-cols { grid-template-columns: 1fr 1fr; gap: 20px 16px; padding-top: 20px; }
    .pj .pj-foot-cols a, .pj .pj-foot-cols p { font-size: 11px; }
    .pj-site .container { width: calc(100% - 32px); }
    .pj-site .section-title { font-size: 21px; }
}
@media (max-width: 480px) {
    .pj .pj-foot-cols { grid-template-columns: 1fr; }
}

@media (min-width: 1101px) {
    /* o style.css do SITE PHP (páginas do site) fixa campos em 16px; a busca do cabeçalho segue o layout */
    .pj .pj-head-search input { font-size: 12px !important; }
}
