/*
Theme Name: Café Aroma
Description: Tema da loja Café Aroma — vitrine no jeito da Apple (blocos grandes, foto no centro, movimento ao rolar) com as cores do pacote.
Template: twentytwentyfive
Version: 0.2.0
Text Domain: cafe-aroma
*/

:root {
  --ap-tinta: #1d1d1f;
  --ap-cinza: #f5f5f7;
  --ap-cinza-texto: #6e6e73;
  --ap-azul: #EE7D00;        /* cor dos botões: laranja do selo (pedido do Angelo) */
  --ap-azul-forte: #D46A00;
  --ap-laranja-claro: #FF9F3D;
  --ap-amarelo: #F6E31B;
  --ap-verde: #1E5B3A;
  --ap-laranja: #EE7D00;
  --ap-fonte: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", system-ui, sans-serif;
}

/* ---------- base ---------- */
body { -webkit-font-smoothing: antialiased; font-family: var(--ap-fonte); color: var(--ap-tinta); }
.ap-wrap { max-width: 1240px; margin: 0 auto; padding: 0 22px; }
.wp-site-blocks > main { margin-top: 0 !important; }
.ap-nav *, .ap-nav, .woocommerce ul.products li.product, .woocommerce ul.products li.product *, .ap-prod, .ap-card { box-sizing: border-box; }

/* ---------- barra de navegação fina e translúcida ---------- */
.ap-nav { position: sticky; top: 0; z-index: 100; background: rgba(238,125,0,.94); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); color: #fff; }
.admin-bar .ap-nav { top: 32px; }
.ap-nav__linha { max-width: 1040px; margin: 0 auto; padding: 0 22px; height: 48px; display: flex; align-items: center; gap: 8px; }
.ap-nav__logo img { height: 32px; width: auto; display: block; }
/* logo maior num quadrado laranja que desce da barra (pedido do Angelo em 03/11/2026) */
.ap-nav__logo { align-self: flex-start; flex: none; width: 96px; height: 92px; margin-bottom: -44px; background: #EE7D00; border-radius: 0 0 18px 18px; box-shadow: 0 10px 24px rgba(90,40,0,.22); display: grid; place-items: center; position: relative; z-index: 2; transition: transform .2s; }
.ap-nav__logo:hover { transform: translateY(2px); }
.ap-nav__logo img { height: auto; width: 78px; }
.ap-nav__menu { flex: 1; display: flex; justify-content: space-between; margin: 0 28px; }
.ap-nav__menu a { color: #fff; text-decoration: none; font-size: 14px; letter-spacing: -.01em; opacity: .85; transition: opacity .2s; padding: 0 6px; line-height: 48px; white-space: nowrap; }
.ap-nav__menu a:hover, .ap-nav__menu a.atual { opacity: 1; color: #fff; }
.ap-nav__icones { display: flex; align-items: center; gap: 14px; }
.ap-nav__icones a, .ap-nav__icones button { color: #fff; background: none; border: 0; padding: 0; cursor: pointer; display: grid; place-items: center; opacity: .85; }
.ap-nav__icones a:hover, .ap-nav__icones button:hover { opacity: 1; }
.ap-nav__icones svg { width: 17px; height: 17px; }
.ap-nav .wc-block-mini-cart__button { color: #fff !important; padding: 0 !important; opacity: .85; }
.ap-nav .wc-block-mini-cart__icon { width: 19px; height: 19px; }
.ap-nav .wc-block-mini-cart__badge { background: var(--ap-tinta) !important; color: #fff !important; font-size: 10px; }
.ap-nav__abre { display: none; background: none; border: 0; width: 36px; height: 36px; cursor: pointer; position: relative; }
.ap-nav__abre span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: #fff; transition: transform .3s; }
.ap-nav__abre span:first-child { top: 14px; } .ap-nav__abre span:last-child { top: 21px; }
.ap-nav.aberto .ap-nav__abre span:first-child { transform: translateY(3.5px) rotate(45deg); }
.ap-nav.aberto .ap-nav__abre span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.ap-busca { max-width: 680px; margin: 0 auto; padding: 14px 22px 26px; display: flex; align-items: center; gap: 12px; animation: ap-desce .3s ease; }
.ap-busca[hidden] { display: none; }
.ap-busca svg { width: 22px; height: 22px; flex: none; color: #ffe0bd; }
.ap-busca input[type=search] { flex: 1; background: transparent; border: 0; color: #fff; font: 600 24px/1.2 var(--ap-fonte); outline: none; }
.ap-busca input::placeholder { color: #ffe0bd; }
@keyframes ap-desce { from { opacity: 0; transform: translateY(-8px); } }
/* "Compre aqui": abre os menus de categoria (os da Tray) num quadro embaixo do botão */
.ap-compre { position: relative; display: flex; }
.ap-compre__btn { background: none; border: 0; color: #fff; font: inherit; font-size: 14px; letter-spacing: -.01em; opacity: .85; padding: 0 6px; line-height: 48px; cursor: pointer; display: flex; align-items: center; gap: 4px; white-space: nowrap; transition: opacity .2s; }
.ap-compre__btn:hover, .ap-compre__btn.atual, .ap-compre__btn[aria-expanded="true"] { opacity: 1; }
.ap-compre__btn svg { width: 10px; height: 10px; transition: transform .2s; }
.ap-compre__btn:focus:not(:focus-visible) { outline: none; }   /* o contorno fica só para quem usa teclado */
.ap-compre__btn[aria-expanded="true"] svg { transform: rotate(180deg); }
/* passou o mouse, a palavra cresce sem empurrar as vizinhas (só no computador; pedido do Angelo em 03/11/2026) */
@media (min-width: 834px) and (hover: hover) {
  .ap-nav__menu > a, .ap-compre__btn { transition: opacity .2s, transform .25s cubic-bezier(.3,1.4,.5,1); }
  .ap-nav__menu > a:hover, .ap-compre__btn:hover { transform: scale(1.15); }
}
.ap-compre__lista { position: absolute; top: 44px; left: -12px; min-width: 240px; background: #fff; border-radius: 16px; box-shadow: 0 18px 50px rgba(60,30,0,.18); padding: 10px; display: grid; animation: ap-desce .2s ease-out; }
.ap-compre__lista[hidden] { display: none; }
.ap-nav__menu .ap-compre__lista a { color: var(--ap-tinta); opacity: 1; font-size: 15px; font-weight: 500; line-height: 1.2; padding: 11px 14px; border-radius: 10px; }
.ap-nav__menu .ap-compre__lista a:hover, .ap-nav__menu .ap-compre__lista a.atual { background: #FFF1E0; color: var(--ap-azul-forte); }
.ap-nav__menu .ap-compre__lista .ap-compre__todos { margin-top: 6px; border-top: 1px solid #f0e6da; border-radius: 0 0 10px 10px; color: var(--ap-azul-forte); font-weight: 600; font-size: 14px; }
/* botões de tipo no topo da Loja (Todos, Café em Grão, Café Moído...) */
.ca-tipos { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; }
.ca-tipos a { padding: 10px 18px; border-radius: 999px; background: #fff; border: 1px solid #ecdccb; color: var(--ap-tinta); font-size: 15px; font-weight: 500; text-decoration: none; transition: background .2s, border-color .2s, color .2s; white-space: nowrap; }
.ca-tipos a:hover { border-color: var(--ap-azul); color: var(--ap-azul-forte); }
.ca-tipos a.atual { background: var(--ap-azul); border-color: var(--ap-azul); color: #fff; }
@media (max-width: 833px) { .ca-tipos { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: -22px; padding-right: 22px; } .ca-tipos::-webkit-scrollbar { display: none; } .ca-tipos a { padding: 9px 15px; font-size: 14px; } }
.ap-faixa { background: #FFF1E0; text-align: center; font-size: 14px; padding: 13px 22px; color: var(--ap-tinta); }
.ap-faixa a { color: var(--ap-azul-forte); font-weight: 600; text-decoration: none; }
.ap-faixa a:hover { text-decoration: underline; }

/* ---------- blocos grandes (tiles) ---------- */
.ap-tile { position: relative; overflow: hidden; text-align: center; padding: 56px 22px 0; margin-bottom: 12px; display: flex; flex-direction: column; align-items: center; }
.ap-tile--preto { background: #000; color: #f5f5f7; }
.ap-tile--amarelo { background: var(--ap-amarelo); color: var(--ap-tinta); }
.ap-tile__texto { position: relative; z-index: 2; max-width: 820px; }
.ap-h1 { font: 600 clamp(40px, 5.6vw, 56px)/1.07 var(--ap-fonte); letter-spacing: -.015em; margin: 0; color: inherit; }
.ap-h2 { font: 600 clamp(32px, 4vw, 40px)/1.1 var(--ap-fonte); letter-spacing: -.012em; margin: 0; color: inherit; }
.ap-sub { font: 400 clamp(21px, 2.2vw, 28px)/1.14 var(--ap-fonte); letter-spacing: .004em; margin: 6px 0 0; }
.ap-mini { font-size: 17px; margin: 10px 0 0; opacity: .7; }
.ap-olho { display: block; font-size: 17px; font-weight: 600; color: var(--ap-laranja); margin: 0 0 8px; }
.ap-botoes { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }
.ap-btn { display: inline-block; font: 400 17px/1.18 var(--ap-fonte); padding: 11px 21px; border-radius: 980px; text-decoration: none; background: var(--ap-azul); color: #fff !important; border: 1px solid var(--ap-azul); transition: background .2s, color .2s; }
.ap-btn:hover { background: var(--ap-azul-forte); }
.ap-btn--linha { background: transparent; color: var(--ap-azul) !important; }
.ap-btn--linha:hover { background: var(--ap-azul); color: #fff !important; }
.ap-tile--preto .ap-btn--linha, .ap-card--preto .ap-btn--linha, .ap-card--verde .ap-btn--linha { color: var(--ap-laranja-claro) !important; border-color: var(--ap-laranja-claro); }
.ap-tile--preto .ap-btn--linha:hover, .ap-card--preto .ap-btn--linha:hover, .ap-card--verde .ap-btn--linha:hover { background: var(--ap-laranja-claro); color: #fff !important; }
.ap-btn--preto { background: var(--ap-tinta); border-color: var(--ap-tinta); }
.ap-btn--preto:hover { background: #000; }
.ap-btn--escuro { color: var(--ap-tinta) !important; border-color: var(--ap-tinta); }
.ap-btn--escuro:hover { background: var(--ap-tinta); color: #fff !important; }

/* vídeo de abertura: tela cheia, sem som, em loop */
.ap-video { position: relative; height: calc(100vh - 92px); min-height: 520px; max-height: 900px; overflow: hidden; background: #000; color: #fff; display: flex; align-items: flex-end; justify-content: center; text-align: center; margin-bottom: 12px; }
.ap-video__filme { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; will-change: transform; }
.ap-video__veu { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 35%, rgba(0,0,0,.72) 100%); }
.ap-video__texto { padding: 0 22px 64px; }
.ap-h1--grande { font-size: clamp(44px, 7vw, 80px); line-height: 1.02; letter-spacing: -.025em; text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.ap-video .ap-sub { max-width: 30em; margin: 14px auto 0; opacity: .92; text-shadow: 0 1px 16px rgba(0,0,0,.4); }
.ap-video .ap-btn--linha { color: #fff !important; border-color: rgba(255,255,255,.85); }
.ap-video .ap-btn--linha:hover { background: #fff; color: var(--ap-tinta) !important; }
.ap-video__pausa { position: absolute; right: 22px; bottom: 22px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.18); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); cursor: pointer; display: grid; place-items: center; }
.ap-video__pausa span { width: 10px; height: 12px; border-left: 3px solid #fff; border-right: 3px solid #fff; }
.ap-video__pausa.parado span { width: 0; height: 0; border: 0; border-left: 11px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }
@media (max-width: 833px) { .ap-video { height: 78vh; } .ap-video__texto { padding-bottom: 76px; } .ap-video__pausa { bottom: auto; top: 16px; right: 16px; } }

/* hero: pacote flutuando com brilho */
.ap-hero { min-height: 692px; }
.ap-hero__palco { position: relative; margin-top: 34px; height: 500px; width: 100%; display: flex; justify-content: center; will-change: transform; }
.ap-hero__pacote { height: 100%; width: auto; position: relative; z-index: 2; filter: drop-shadow(0 40px 60px rgba(238,125,0,.28)); animation: ap-entra 1.4s cubic-bezier(.2,.8,.2,1) both, ap-flutua 6s ease-in-out 1.4s infinite; }
.ap-hero__brilho { position: absolute; z-index: 1; width: 620px; height: 620px; left: 50%; top: 50%; transform: translate(-50%,-40%); background: radial-gradient(closest-side, rgba(238,125,0,.38), rgba(238,125,0,0)); animation: ap-respira 6s ease-in-out infinite; }
@keyframes ap-entra { from { opacity: 0; transform: translateY(80px) scale(.92); } }
@keyframes ap-flutua { 50% { transform: translateY(-12px) rotate(-1deg); } }
@keyframes ap-respira { 50% { opacity: .65; transform: translate(-50%,-40%) scale(1.08); } }

.ap-tile--amarelo { min-height: 640px; }
.ap-tile__img { height: 380px; width: auto; margin-top: 36px; filter: drop-shadow(0 30px 40px rgba(0,0,0,.18)); }

/* ---------- grade 2x2 ---------- */
.ap-grade { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0; margin: 0 0 12px; }   /* de ponta a ponta (pedido do Angelo em 04/11/2026) */
.ap-card { position: relative; overflow: hidden; text-align: center; padding: 52px 22px 0; min-height: 580px; display: flex; flex-direction: column; align-items: center; }
.ap-card--verde { background: var(--ap-verde); color: #fff; }
.ap-card--laranja { background: #FFE9D1; color: var(--ap-tinta); }
.ap-card--cinza { background: var(--ap-cinza); color: var(--ap-tinta); }
.ap-card--preto { background: #000; color: #f5f5f7; }
.ap-card .ap-sub { font-size: clamp(19px, 1.8vw, 21px); }
.ap-card__img { height: 330px; width: auto; margin-top: auto; padding-top: 28px; filter: drop-shadow(0 24px 30px rgba(0,0,0,.22)); transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.ap-card__img--largo { height: auto; width: min(380px, 90%); }
.ap-card:hover .ap-card__img { transform: translateY(-10px) scale(1.03); }

/* ---------- blocos com foto (artes do site) ---------- */
.ap-foto { position: relative; overflow: hidden; color: var(--ap-tinta); background: #f3ece2; margin-bottom: 12px; }
.ap-foto__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ap-foto__texto { position: relative; z-index: 2; }
.ap-foto .ap-botoes { justify-content: flex-start; }
.ap-foto--largo { aspect-ratio: 1672 / 941; width: 100%; max-height: 820px; min-height: 420px; margin: 0 0 12px; display: flex; align-items: center; }
.ap-foto--largo .ap-foto__texto { width: min(46%, 560px); margin-left: max(22px, 6vw); }
.ap-empresa .ap-foto__img { object-position: 70% center; }
/* cartão: texto numa faixa da cor do fundo da foto, foto inteira embaixo (o texto nunca cobre o produto) */
.ap-card.ap-foto { margin: 0; min-height: 0; padding: 0; display: flex; flex-direction: column; text-align: center; background: var(--faixa, #f4ede3); }
.ap-card .ap-foto__texto { padding: 36px 24px 4px; order: -1; }   /* no HTML a foto vem antes */
.ap-card .ap-botoes { justify-content: center; }
.ap-card .ap-foto__img { position: relative; inset: auto; height: auto; aspect-ratio: 5 / 4; object-fit: cover; margin-top: auto;  -webkit-mask-image: linear-gradient(transparent, #000 14%); mask-image: linear-gradient(transparent, #000 14%); }
.ap-card { overflow: hidden; }
.ap-foto--escuro { color: #fff; }
.ap-foto--escuro .ap-foto__texto { text-shadow: 0 1px 20px rgba(0,0,0,.18); }
.ap-btn--branco { background: #fff; border-color: #fff; color: var(--ap-tinta) !important; }
.ap-btn--branco:hover { background: var(--ap-tinta); border-color: var(--ap-tinta); color: #fff !important; }
.ap-btn--claro { color: #fff !important; border-color: #fff; }
.ap-btn--claro:hover { background: #fff; color: var(--ap-tinta) !important; }
/* a foto aproxima devagar quando entra na tela */
.ap-zoom { transform: scale(1.08); transition: transform 1.6s cubic-bezier(.2,.8,.2,1); }
.ap-zoom.on { transform: scale(1); }
.ap-card:hover .ap-zoom.on { transform: scale(1.04); }

/* ---------- carrossel ---------- */
.ap-carrossel { background: var(--ap-cinza); padding: 72px 0 84px; margin-bottom: 12px; }
.ap-carrossel__topo { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.ap-carrossel__topo h2 span { color: var(--ap-cinza-texto); }
.ap-carrossel__setas { display: flex; gap: 10px; }
.ap-carrossel__setas button { width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(210,210,215,.64); color: var(--ap-tinta); font-size: 22px; line-height: 1; cursor: pointer; transition: background .2s; }
.ap-carrossel__setas button:hover { background: rgba(210,210,215,1); }
.ap-carrossel__trilho { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 max(22px, calc((100vw - 1196px) / 2)); padding: 10px max(22px, calc((100vw - 1196px) / 2)) 30px; scrollbar-width: none; outline: none; }
.ap-carrossel__trilho::-webkit-scrollbar { display: none; }
.ap-prod { flex: 0 0 300px; scroll-snap-align: start; background: #fff; border-radius: 18px; padding: 24px 24px 28px; text-decoration: none; color: var(--ap-tinta); box-shadow: 2px 4px 12px rgba(0,0,0,.08); transition: transform .3s cubic-bezier(0,0,.5,1), box-shadow .3s; display: flex; flex-direction: column; }
.ap-prod:hover { transform: scale(1.02); box-shadow: 2px 4px 16px rgba(0,0,0,.16); }
.ap-prod__img { aspect-ratio: 1; display: grid; place-items: center; margin-bottom: 18px; }
.ap-prod__img img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.ap-prod__nome { font-size: 19px; font-weight: 600; line-height: 1.2; margin-bottom: 10px; }
.ap-prod__preco { font-size: 17px; margin-top: auto; }
.ap-prod__parc { font-size: 13px; color: var(--ap-cinza-texto); }

/* ---------- empresas ---------- */
.ap-empresa { padding-bottom: 72px; }
.ap-numeros { display: flex; justify-content: center; gap: clamp(28px, 8vw, 120px); margin-top: 56px; }
.ap-numeros strong { display: block; font: 600 clamp(40px, 5vw, 64px)/1 var(--ap-fonte); letter-spacing: -.02em; background: linear-gradient(180deg, #fff, #9a9a9f); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ap-numeros span { display: block; margin-top: 8px; color: #a1a1a6; font-size: 17px; }

/* ---------- aparecer ao rolar ---------- */
.rv { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1); }
.rv.on { opacity: 1; transform: none; }
.rv:nth-child(2) { transition-delay: .08s; } .rv:nth-child(3) { transition-delay: .16s; } .rv:nth-child(4) { transition-delay: .24s; }
.ap-sobe { opacity: 0; transform: translateY(90px) scale(.96); transition: opacity 1.2s cubic-bezier(.2,.8,.2,1), transform 1.2s cubic-bezier(.2,.8,.2,1); }
.ap-sobe.on { opacity: 1; transform: none; }
.ap-card:hover .ap-sobe.on { transform: translateY(-10px) scale(1.03); }
.sem-js .rv, .sem-js .ap-sobe { opacity: 1; transform: none; }

/* ---------- rodapé ---------- */
.ap-rodape { background: var(--ap-cinza); color: var(--ap-cinza-texto); font-size: 12px; line-height: 1.33; padding: 17px 0 21px; }
.ap-rodape .ap-wrap { max-width: 1024px; }
.ap-rodape__nota { padding-bottom: 17px; border-bottom: 1px solid #d2d2d7; margin: 0 0 20px; }
.ap-rodape__grade { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.ap-rodape h4 { color: var(--ap-tinta); font-size: 12px; font-weight: 600; margin: 0 0 8px; }
.ap-rodape ul { list-style: none; margin: 0; padding: 0; }
.ap-rodape li { margin-bottom: 8px; }
.ap-rodape a { color: #424245; text-decoration: none; }
.ap-rodape a:hover { text-decoration: underline; }
.ap-rodape__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid #d2d2d7; margin-top: 20px; padding-top: 16px; }

.ca-whats { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: #25D366; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.2); transition: transform .2s; }
.ca-whats:hover { transform: scale(1.08); }
.ca-whats svg { width: 28px; height: 28px; fill: #fff; }

/* ---------- páginas da loja (lista, produto, carrinho) ---------- */
.woocommerce ul.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; background: #fff; border-radius: 18px; padding: 20px 20px 24px; box-shadow: 2px 4px 12px rgba(0,0,0,.08); transition: transform .3s, box-shadow .3s; text-align: left; display: flex; flex-direction: column; }
.woocommerce ul.products li.product:hover { transform: scale(1.02); box-shadow: 2px 4px 16px rgba(0,0,0,.16); }
.woocommerce ul.products li.product a img { aspect-ratio: 1; object-fit: contain; margin-bottom: 14px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 17px !important; font-weight: 600; line-height: 1.25; padding: 0 !important; margin: 0 0 8px !important; color: var(--ap-tinta); min-height: 2.5em; }
.woocommerce ul.products li.product .price { color: var(--ap-tinta) !important; font-weight: 400; font-size: 17px !important; margin-bottom: 2px !important; }
.ca-parcela { display: block; font-size: 13px; color: var(--ap-cinza-texto); margin-bottom: 14px; }
.woocommerce ul.products li.product .button { margin-top: auto; background: var(--ap-azul); color: #fff; border-radius: 980px; font-weight: 400; text-align: center; padding: 10px 16px; width: 100%; border: 0; }
.woocommerce ul.products li.product .button:hover { background: var(--ap-azul-forte); }
.woocommerce span.onsale { background: var(--ap-laranja); border-radius: 980px; min-height: 0; min-width: 0; padding: 4px 12px; line-height: 1.4; font-weight: 600; top: 18px; left: 18px; right: auto; }
.woocommerce .button.alt, .woocommerce button.button.alt, .wc-block-components-button:not(.is-link), .single_add_to_cart_button { background: var(--ap-azul) !important; color: #fff !important; border-radius: 980px !important; font-weight: 400 !important; }
.woocommerce .button.alt:hover, .wc-block-components-button:not(.is-link):hover, .single_add_to_cart_button:hover { background: var(--ap-azul-forte) !important; }
.woocommerce form .form-row select, .woocommerce form .form-row .select2-container { width: 100% !important; min-height: 40px; }
.single-product .wp-block-post-title { font-weight: 600; letter-spacing: -.015em; }
/* grade de produtos das páginas de categoria (bloco "Product Collection") */
.wc-block-product-template { gap: 20px !important; }
.wc-block-product-template > li.wc-block-product { background: #fff; border-radius: 18px; padding: 20px 20px 24px; box-shadow: 2px 4px 12px rgba(0,0,0,.08); transition: transform .3s, box-shadow .3s; text-align: left !important; display: flex; flex-direction: column; }
.wc-block-product-template > li.wc-block-product:hover { transform: scale(1.02); box-shadow: 2px 4px 16px rgba(0,0,0,.16); }
.wc-block-product-template .wc-block-components-product-image img { aspect-ratio: 1; object-fit: contain !important; }
.wc-block-product-template .wp-block-post-title { font-size: 17px !important; font-weight: 600; line-height: 1.25; text-align: left !important; margin: 12px 0 6px !important; }
.wc-block-product-template .wp-block-post-title a { color: var(--ap-tinta); text-decoration: none; }
.wc-block-product-template .wc-block-components-product-price { text-align: left !important; font-size: 17px !important; display: flex; flex-direction: column-reverse; align-items: flex-start; }
.wc-block-product-template .ca-parcela { margin: 0 0 4px; }
.wc-block-product-template .wp-block-woocommerce-product-button { margin-top: auto; text-align: left !important; }
.wc-block-product-template .wp-block-button__link, .wc-block-product-template .wc-block-components-product-button__button { background: var(--ap-azul) !important; color: #fff !important; border-radius: 980px !important; font-weight: 400 !important; font-size: 15px !important; width: 100%; padding: 10px 16px !important; }
.wp-block-query-title, .woocommerce-products-header__title { font-weight: 600; letter-spacing: -.015em; }

/* ---------- páginas que vieram do institucional ---------- */
.in-topo { position: relative; min-height: min(62vh, 560px); display: flex; align-items: flex-end; overflow: hidden; color: #fff; background: #1d1d1f; margin-bottom: 12px; }
.in-topo__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.in-topo__veu { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.08) 30%, rgba(0,0,0,.7)); }
.in-topo__texto { position: relative; z-index: 2; max-width: 1240px; width: 100%; margin: 0 auto; padding: 0 22px 64px; }
.in-topo .ap-sub { max-width: 34em; margin-top: 12px; }
.in-topo .ap-botoes { justify-content: flex-start; }
.in-cabeca { padding: 72px 0 40px; }
.in-cabeca .ap-sub { color: var(--ap-cinza-texto); margin-top: 12px; }
.in-cabeca a { color: var(--ap-azul-forte); }
.in-secao { padding: 80px 0; }
.in-secao--cinza { background: var(--ap-cinza); }
.in-secao .ap-h2 { margin-bottom: 36px; }
.in-lado { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(28px, 5vw, 72px); max-width: 1240px; margin: 0 auto; padding: 72px 22px; }
.in-lado--inverte .in-lado__foto { order: 2; }
.in-lado__foto img { width: 100%; max-width: 500px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; display: block; margin: 0 auto; }
.in-lado__texto p { font-size: 19px; line-height: 1.5; color: #424245; margin: 16px 0 0; }
.in-lado__texto .ap-h2 { margin-bottom: 6px; }
.in-lado__texto .ap-btn { margin-top: 10px; }
.in-lista { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.in-lista li { position: relative; padding-left: 26px; font-size: 17px; line-height: 1.45; color: #424245; }
.in-lista li::before { content: ""; position: absolute; left: 0; top: .45em; width: 12px; height: 12px; border-radius: 50%; background: var(--ap-laranja); }
.in-numeros { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 1040px; margin: 0 auto; padding: 56px 22px; text-align: center; }
.in-numeros strong { display: block; font: 600 clamp(40px, 5vw, 64px)/1 var(--ap-fonte); letter-spacing: -.02em; color: var(--ap-laranja); }
.in-numeros span { display: block; margin-top: 8px; color: var(--ap-cinza-texto); font-size: 17px; }
.in-tres { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.in-tres article { background: var(--ap-cinza); border-radius: 22px; padding: 34px 30px; }
.in-secao--cinza .in-tres article { background: #fff; }
.in-tres h3 { font-size: 24px; font-weight: 600; margin: 0 0 10px; letter-spacing: -.01em; }
.in-tres p { margin: 0; color: #424245; line-height: 1.5; }
.in-cartoes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.in-cartao { background: #fff; border-radius: 22px; overflow: hidden; box-shadow: 2px 4px 12px rgba(0,0,0,.08); display: flex; flex-direction: column; }
.in-secao:not(.in-secao--cinza) .in-cartao { background: var(--ap-cinza); box-shadow: none; }
.in-cartao img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.in-cartao__texto { padding: 26px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.in-cartao h3 { font-size: 24px; font-weight: 600; margin: 0 0 8px; }
.in-cartao p { margin: 0 0 16px; color: #424245; line-height: 1.5; }
.in-cartao .in-lista { margin: 0 0 22px; }
.in-cartao .ap-btn, .in-cartao .in-link { margin-top: auto; align-self: flex-start; }
.in-cartao__hora { font-size: 14px; color: var(--ap-cinza-texto) !important; }
.in-link { color: var(--ap-azul-forte); text-decoration: none; font-weight: 500; }
.in-link:hover { text-decoration: underline; }
.in-marcas { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.in-marca { background: #fff; border-radius: 22px; padding: 30px; text-align: center; }
.in-marca__fotos { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; margin-bottom: 22px; }
.in-marca__fotos img { width: 100%; height: 100%; object-fit: contain; background: var(--ap-cinza); border-radius: 14px; aspect-ratio: 1; }
.in-marca__fotos img:first-child { grid-row: span 2; }
.in-marca__fotos img:only-child { grid-column: span 2; aspect-ratio: 2 / 1; }
.in-marca h3 { font-size: 28px; font-weight: 600; margin: 0; letter-spacing: -.01em; }
.in-marca__frase { font-size: 19px; margin: 4px 0 10px; }
.in-marca p:not(.in-marca__frase) { color: var(--ap-cinza-texto); line-height: 1.5; margin: 0 auto 20px; max-width: 30em; }
.in-abas { display: flex; justify-content: center; gap: 6px; padding: 14px 22px; background: #fff; border-bottom: 1px solid #e8e8ed; position: sticky; top: 48px; z-index: 50; }
.admin-bar .in-abas { top: 80px; }
.in-abas a { padding: 7px 18px; border-radius: 980px; text-decoration: none; color: var(--ap-tinta); font-size: 15px; }
.in-abas a[aria-current] { background: var(--ap-tinta); color: #fff; }
.in-aviso { background: #FFF1E0; padding: 26px 0; text-align: center; font-size: 17px; }
.in-aviso p { margin: 0; }
.in-selo { background: var(--ap-verde); color: #fff; padding: 80px 0; }
.in-selo__grade { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: center; }
.in-selo img { width: 100%; max-width: 380px; display: block; margin: 0 auto; }
.in-selo .ap-olho { color: #FFC37A; }
.in-chamada { padding-bottom: 72px; }
.in-contato { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
.in-contato .ap-sub { color: var(--ap-cinza-texto); margin: 10px 0 24px; }
.in-canais { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 17px; }
.in-canais a { color: var(--ap-azul-forte); text-decoration: none; }
.in-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; background: var(--ap-cinza); padding: 30px; border-radius: 22px; }
.in-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; color: #424245; }
.in-form input, .in-form textarea, .in-form select { font: 17px var(--ap-fonte); padding: 12px 14px; border: 1px solid #d2d2d7; border-radius: 12px; background: #fff; color: var(--ap-tinta); width: 100%; box-sizing: border-box; }
.in-form input:focus, .in-form textarea:focus, .in-form select:focus { outline: 2px solid var(--ap-laranja); outline-offset: 1px; border-color: transparent; }
.in-form__largo { grid-column: span 2; }
.in-form .ap-btn { grid-column: span 2; justify-self: start; cursor: pointer; font-family: var(--ap-fonte); }
.in-form__nota { grid-column: span 2; margin: -4px 0 0; font-size: 13px; color: var(--ap-cinza-texto); }
.in-unidades { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.in-unidades article { background: #fff; border-radius: 22px; padding: 28px; }
.in-unidades h3 { margin: 0 0 10px; font-size: 21px; font-weight: 600; }
.in-unidades p { margin: 0 0 14px; color: #424245; line-height: 1.5; }
.in-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.in-chips a { padding: 7px 16px; border-radius: 980px; background: var(--ap-cinza); color: var(--ap-tinta); text-decoration: none; font-size: 14px; }
.in-chips a[aria-current] { background: var(--ap-laranja); color: #fff; }
.in-noticias { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.in-noticia { background: #fff; border-radius: 18px; overflow: hidden; text-decoration: none; color: var(--ap-tinta); display: flex; flex-direction: column; box-shadow: 2px 4px 12px rgba(0,0,0,.06); transition: transform .3s, box-shadow .3s; }
.in-noticia:hover { transform: scale(1.015); box-shadow: 2px 4px 16px rgba(0,0,0,.14); }
.in-noticia__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; height: auto; }
.in-noticia__texto { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.in-noticia__cat { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ap-laranja); text-decoration: none; }
.in-noticia__titulo { font-size: 19px; font-weight: 600; line-height: 1.25; }
.in-noticia__data { font-size: 13px; color: var(--ap-cinza-texto); margin-top: auto; }
.in-paginas { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; margin-top: 40px; }
.in-paginas .page-numbers { padding: 8px 14px; border-radius: 980px; background: #fff; color: var(--ap-tinta); text-decoration: none; font-size: 15px; }
.in-paginas .current { background: var(--ap-laranja); color: #fff; }
.in-artigo__topo { max-width: 820px; padding-top: 64px; padding-bottom: 28px; }
.in-artigo__topo .ap-h1 { font-size: clamp(32px, 4.4vw, 48px); margin: 10px 0 12px; }
.in-artigo__capa { max-width: 900px; margin: 0 auto 40px; padding: 0 22px; }
.in-artigo__capa img { width: 100%; height: auto; border-radius: 22px; display: block; }
.in-artigo__texto { max-width: 720px; margin: 0 auto; padding: 0 22px; font-size: 19px; line-height: 1.6; color: #333336; }
.in-artigo__texto h2, .in-artigo__texto h3, .in-artigo__texto h4 { font-weight: 600; letter-spacing: -.01em; color: var(--ap-tinta); margin: 1.6em 0 .5em; line-height: 1.2; }
.in-artigo__texto h4 { font-size: 24px; }
.in-artigo__texto img { max-width: 100%; height: auto; border-radius: 16px; }
.in-artigo__texto a { color: var(--ap-azul-forte); }
.in-artigo__fim { max-width: 720px; display: flex; gap: 14px; flex-wrap: wrap; padding-top: 32px; padding-bottom: 72px; }
.in-faq { max-width: 820px; }
.in-faq details { border-bottom: 1px solid #d2d2d7; padding: 20px 0; }
.in-faq summary { cursor: pointer; font-size: 21px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.in-faq summary::-webkit-details-marker { display: none; }
.in-faq summary::after { content: "+"; color: var(--ap-laranja); font-weight: 400; font-size: 28px; line-height: .8; transition: transform .3s; }
.in-faq details[open] summary::after { transform: rotate(45deg); }
.in-faq details p { margin: 12px 0 0; font-size: 17px; color: #424245; line-height: 1.55; }
.in-pagina { padding: 64px 22px 80px; }
.in-pagina .ap-h1 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 32px; }
.in-pagina p, .in-pagina li { font-size: 17px; line-height: 1.6; color: #424245; }
.in-clientes { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 28px 48px; }
.in-clientes img { height: 54px; width: auto; filter: grayscale(1); opacity: .65; transition: filter .3s, opacity .3s; }
.in-clientes img:hover { filter: none; opacity: 1; }

/* ---------- página de produto ---------- */
.pr { padding-top: 22px; padding-bottom: 40px; }
.pr .woocommerce-message, .pr .woocommerce-error, .pr .woocommerce-info { border-radius: 14px; margin: 0 0 20px; }
.pr-trilha { font-size: 13px; color: var(--ap-cinza-texto); margin-bottom: 22px; }
.pr-trilha a { color: var(--ap-cinza-texto); text-decoration: none; }
.pr-trilha a:hover { color: var(--ap-tinta); text-decoration: underline; }
.pr-topo { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.pr-galeria { position: sticky; top: 70px; }
.pr-foto { background: #fff; border: 1px solid #ececf0; border-radius: 24px; aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; }
.pr-foto img { width: 100%; height: 100%; object-fit: contain; transition: opacity .25s; }
.pr-miniaturas { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.pr-miniaturas button { width: 74px; height: 74px; padding: 4px; border: 1.5px solid #e2e2e7; border-radius: 14px; background: #fff; cursor: pointer; transition: border-color .2s; }
.pr-miniaturas button img { width: 100%; height: 100%; object-fit: contain; border-radius: 10px; }
.pr-miniaturas button.on, .pr-miniaturas button:hover { border-color: var(--ap-laranja); }
.pr-resumo .ap-olho { margin: 6px 0 8px; font-size: 15px; }
.pr-nome { font: 600 clamp(28px, 3vw, 38px)/1.12 var(--ap-fonte); letter-spacing: -.015em; margin: 0 0 14px; color: var(--ap-tinta); }
.pr-texto { color: #424245; font-size: 17px; line-height: 1.55; }
.pr-texto p { margin: 0 0 12px; }
.pr-preco { font-size: 30px; font-weight: 600; color: var(--ap-tinta); margin: 22px 0 2px; letter-spacing: -.01em; }
.pr-preco del { color: var(--ap-cinza-texto); font-size: .6em; font-weight: 400; margin-right: 8px; }
.pr-preco ins { text-decoration: none; }
.pr-parcelas { font-size: 15px; color: #424245; margin: 0 0 22px; }
.pr-esgotado { background: #FFF1E0; border-radius: 12px; padding: 12px 16px; font-size: 15px; }
.pr-esgotado a { color: var(--ap-azul-forte); font-weight: 600; }
.pr-comprar form.cart { display: flex; gap: 12px; align-items: stretch; margin: 0 0 24px; flex-wrap: wrap; }
.pr-comprar .quantity input.qty { width: 74px; height: 52px; border: 1.5px solid #d2d2d7; border-radius: 980px; text-align: center; font: 500 17px var(--ap-fonte); background: #fff; }
.pr-comprar .single_add_to_cart_button { flex: 1; min-width: 200px; height: 52px; font-size: 17px !important; border: 0 !important; cursor: pointer; padding: 0 28px !important; }
.pr-comprar .stock { display: none; }
.pr-selos { list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid #e8e8ed; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.pr-selos li { display: flex; gap: 10px; align-items: center; font-size: 14px; color: #424245; line-height: 1.3; }
.pr-selos svg { width: 26px; height: 26px; flex: none; color: var(--ap-laranja); }
.pr-selos b { color: var(--ap-tinta); font-weight: 600; }
.pr-detalhes { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); margin-top: 72px; padding-top: 48px; border-top: 1px solid #e8e8ed; align-items: start; }
.pr-detalhes h2 { font: 600 26px/1.2 var(--ap-fonte); letter-spacing: -.01em; margin: 0 0 18px; }
.pr-prosa { font-size: 17px; line-height: 1.65; color: #333336; }
.pr-prosa p { margin: 0 0 14px; }
.pr-prosa ul { padding-left: 0; list-style: none; margin: 0 0 16px; }
.pr-prosa li { position: relative; padding-left: 24px; margin-bottom: 10px; }
.pr-prosa li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; border-radius: 50%; background: var(--ap-laranja); }
.pr-prosa strong { color: var(--ap-tinta); font-weight: 600; }
.pr-ficha { background: var(--ap-cinza); border-radius: 22px; padding: 28px 28px 18px; position: sticky; top: 80px; }
.pr-ficha dl { margin: 0; }
.pr-ficha dl > div { display: grid; grid-template-columns: 42% 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid #e2e2e7; font-size: 15px; }
.pr-ficha dl > div:last-child { border-bottom: 0; }
.pr-ficha dt { color: var(--ap-cinza-texto); }
.pr-ficha dd { margin: 0; color: var(--ap-tinta); font-weight: 500; }
.pr-relacionados { margin-top: 24px; }
/* lista de produtos: foto sempre quadrada e inteira, no branco */
.ap-prod__img img, .woocommerce ul.products li.product a img, .wc-block-product-template .wc-block-components-product-image img { aspect-ratio: 1; object-fit: contain !important; background: #fff; }
@media (max-width: 833px) {
  .pr-topo, .pr-detalhes { grid-template-columns: 1fr; }
  .pr-galeria, .pr-ficha { position: static; }
  .pr-detalhes { margin-top: 40px; padding-top: 32px; }
  .pr-selos { grid-template-columns: 1fr; }
}

/* ---------- Minha conta: entrar, cadastrar e área do cliente (pedido do Angelo em 03/11/2026: "mais chique") ---------- */
.woocommerce-account .in-pagina .ap-h1 { text-align: center; margin-bottom: 10px; }
.ca-conta-intro { text-align: center; color: var(--ap-cinza-texto) !important; font-size: 18px !important; max-width: 34em; margin: 0 auto 40px; }
.woocommerce-account .woocommerce, .woocommerce-account .is-layout-constrained > .woocommerce { max-width: 1000px !important; margin: 0 auto !important; }   /* a página é estreita; a conta usa mais espaço */
.woocommerce-account #customer_login { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; float: none; width: auto; }
.woocommerce-account #customer_login::before, .woocommerce-account #customer_login::after { display: none; }
.woocommerce-account #customer_login .u-column1, .woocommerce-account #customer_login .u-column2 { float: none; width: auto; max-width: none; }
.woocommerce-account #customer_login > div, .woocommerce-account .woocommerce > form.login, .woocommerce-account form.lost_reset_password {
  background: #fff; border: 1px solid #f0e6da; border-radius: 28px; padding: 40px; box-shadow: 0 24px 60px rgba(90,45,0,.08); }
.woocommerce-account .woocommerce > form.login, .woocommerce-account form.lost_reset_password { max-width: 480px; margin: 0 auto; }
.woocommerce-account #customer_login h2, .woocommerce-account .woocommerce > h2 { font: 700 28px/1.2 var(--ap-fonte); letter-spacing: -.01em; margin: 0 0 6px; color: var(--ap-tinta); }
.woocommerce-account .woocommerce > h2 { text-align: center; }
.woocommerce-account #customer_login form { border: 0 !important; padding: 0 !important; margin: 18px 0 0 !important; border-radius: 0; }
.woocommerce-account form .form-row { padding: 0; margin: 0 0 18px; }
.woocommerce-account form .form-row label { font-size: 14px; font-weight: 600; color: var(--ap-tinta); margin-bottom: 8px; display: block; }
.woocommerce-account form .form-row .required { color: var(--ap-azul); }
.woocommerce-account form .input-text, .woocommerce-account form input[type=email], .woocommerce-account form input[type=password], .woocommerce-account form input[type=text], .woocommerce-account form input[type=tel] {
  width: 100%; height: 52px !important; padding: 0 16px !important; border: 1px solid #e6d8c8 !important; border-radius: 14px !important; background: #fffaf4 !important; font: 400 16px var(--ap-fonte); color: var(--ap-tinta); box-sizing: border-box; transition: border-color .2s, box-shadow .2s, background .2s; }
.woocommerce-account form .input-text:focus, .woocommerce-account form input:focus { outline: none; border-color: var(--ap-azul) !important; background: #fff !important; box-shadow: 0 0 0 4px rgba(238,125,0,.15); }
.woocommerce-account .password-input { display: block; position: relative; }
.woocommerce-account .show-password-input { top: 50% !important; transform: translateY(-50%); right: 14px !important; opacity: .55; }
.woocommerce-account form.login .form-row:has(.woocommerce-form-login__submit) { display: flex; flex-direction: column-reverse; align-items: stretch; gap: 16px; }
.woocommerce-account .woocommerce-form-login__rememberme { display: flex !important; align-items: center; gap: 8px; font-weight: 400 !important; color: var(--ap-cinza-texto) !important; margin: 0 !important; }
.woocommerce-account .woocommerce-form-login__rememberme input { accent-color: var(--ap-azul); width: 18px; height: 18px; }
.woocommerce-account .woocommerce button.button, .woocommerce-account .woocommerce .button {
  background: var(--ap-azul) !important; color: #fff !important; border: 0; border-radius: 999px; padding: 16px 28px; font: 600 17px var(--ap-fonte); cursor: pointer; transition: background .2s, transform .1s; }
.woocommerce-account form .button[type=submit] { width: 100%; }
.woocommerce-account .woocommerce .button:hover { background: var(--ap-azul-forte) !important; }
.woocommerce-account .woocommerce .button:active { transform: scale(.98); }
.woocommerce-account .lost_password { text-align: center; margin: 4px 0 0 !important; }
.woocommerce-account .lost_password a, .woocommerce-account .woocommerce-privacy-policy-text a { color: var(--ap-azul-forte); text-decoration: none; font-weight: 500; }
.woocommerce-account .lost_password a:hover { text-decoration: underline; }
.woocommerce-account .woocommerce-privacy-policy-text p { font-size: 13px !important; color: var(--ap-cinza-texto) !important; line-height: 1.5; }
.ca-conta-vantagens { list-style: none; padding: 0 !important; margin: 14px 0 22px !important; display: grid; gap: 10px; }
.ca-conta-vantagens li { font-size: 15px !important; color: var(--ap-cinza-texto) !important; padding-left: 28px; position: relative; }
.ca-conta-vantagens li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: #FFF1E0; }
.ca-conta-vantagens li::after { content: ""; position: absolute; left: 5px; top: 7px; width: 6px; height: 4px; border-left: 2px solid var(--ap-azul); border-bottom: 2px solid var(--ap-azul); transform: rotate(-45deg); }
/* logado: menu à esquerda num cartão, conteúdo à direita */
.woocommerce-account.logged-in .woocommerce { display: grid; grid-template-columns: 240px 1fr; gap: 32px; align-items: start; }
.woocommerce-account.logged-in .woocommerce::before, .woocommerce-account.logged-in .woocommerce::after { display: none; }
.woocommerce-account .woocommerce-MyAccount-navigation, .woocommerce-account .woocommerce-MyAccount-content { float: none !important; width: auto !important; }
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 10px; background: #fff; border: 1px solid #f0e6da; border-radius: 22px; box-shadow: 0 18px 44px rgba(90,45,0,.06); }
.woocommerce-account .woocommerce-MyAccount-navigation li { margin: 0; padding: 0 !important; line-height: 1.2 !important; }
.woocommerce-account .woocommerce-MyAccount-navigation li a { text-decoration: none !important; display: block; padding: 12px 16px; border-radius: 12px; color: var(--ap-tinta); text-decoration: none; font-size: 15px; font-weight: 500; }
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover { background: #FFF6EC; }
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { background: var(--ap-azul); color: #fff; }
.woocommerce-account .woocommerce-MyAccount-content { background: #fff; border: 1px solid #f0e6da; border-radius: 28px; padding: 36px; box-shadow: 0 24px 60px rgba(90,45,0,.06); }
.woocommerce-account .woocommerce-MyAccount-content a:not(.button) { color: var(--ap-azul-forte); }
@media (max-width: 833px) {
  .woocommerce-account #customer_login, .woocommerce-account.logged-in .woocommerce { grid-template-columns: 1fr; }
  .woocommerce-account #customer_login > div, .woocommerce-account .woocommerce > form.login, .woocommerce-account .woocommerce-MyAccount-content { padding: 26px 22px; border-radius: 22px; }
  .woocommerce-account .woocommerce-MyAccount-navigation ul { display: flex; overflow-x: auto; gap: 4px; scrollbar-width: none; }
  .woocommerce-account .woocommerce-MyAccount-navigation li a { white-space: nowrap; }
}

/* ---------- celular ---------- */
@media (max-width: 1068px) {
  .ap-nav__menu a, .ap-compre__btn { font-size: 13px; padding: 0 3px; }
}
@media (max-width: 833px) {
  .ap-nav__abre { display: block; margin-left: -8px; }
  .ap-nav__linha { justify-content: space-between; }
  .ap-nav__logo { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 76px; height: 72px; margin: 0; border-radius: 0 0 14px 14px; }
  .ap-nav__logo:hover { transform: translateX(-50%); }
  .ap-nav__logo img { width: 62px; }
  .ap-nav__menu { z-index: 3; }
  .ap-faixa { padding-top: 34px; }   /* o texto começa embaixo do quadrado do logo */
  .ap-nav__menu { position: absolute; top: 48px; left: 0; right: 0; margin: 0; flex-direction: column; justify-content: flex-start; background: rgba(238,125,0,.98); height: 0; overflow: hidden; transition: height .4s cubic-bezier(.4,0,.6,1); padding: 0 48px; }
  .ap-nav.aberto .ap-nav__menu { height: calc(100vh - 48px); padding-top: 16px; }
  .ap-nav__menu a { font-size: 28px; font-weight: 600; line-height: 1.6; padding: 0; opacity: 0; transform: translateY(-8px); transition: opacity .3s, transform .3s; }
  .ap-nav.aberto .ap-nav__menu a { opacity: 1; transform: none; }
  /* no celular o "Compre aqui" abre a lista ali mesmo, embaixo dele */
  .ap-compre { flex-direction: column; align-items: flex-start; }
  .ap-compre__btn { font-size: 28px; font-weight: 600; line-height: 1.6; padding: 0; opacity: 1; gap: 8px; }
  .ap-compre__btn svg { width: 18px; height: 18px; }
  .ap-compre__lista { position: static; min-width: 0; background: none; box-shadow: none; padding: 0 0 8px 16px; animation: none; }
  .ap-nav__menu .ap-compre__lista a { color: #fff; font-size: 19px; padding: 6px 0; }
  .ap-nav__menu .ap-compre__lista a:hover, .ap-nav__menu .ap-compre__lista a.atual { background: none; color: #fff; text-decoration: underline; }
  .ap-nav__menu .ap-compre__lista .ap-compre__todos { color: #fff; border-top-color: rgba(255,255,255,.3); padding-top: 10px; }
  .ap-nav__icones .ap-conta, .ap-nav__icones > a { display: none; }
  .ap-grade { grid-template-columns: 1fr; }
  .in-lado { grid-template-columns: 1fr; padding: 48px 22px; }
  .in-lado--inverte .in-lado__foto { order: 0; }
  .in-numeros { grid-template-columns: 1fr 1fr; gap: 28px; }
  .in-tres, .in-cartoes, .in-marcas, .in-noticias, .in-contato, .in-selo__grade { grid-template-columns: 1fr; }
  .in-unidades { grid-template-columns: 1fr 1fr; }
  .in-secao { padding: 56px 0; }
  .in-topo__texto { padding-bottom: 44px; }
  .in-form { grid-template-columns: 1fr; padding: 22px; }
  .in-form__largo, .in-form .ap-btn, .in-form__nota { grid-column: auto; }
  .in-abas { overflow-x: auto; justify-content: flex-start; }
  /* no celular a foto larga fica embaixo do texto, inteira */
  .ap-foto--largo { aspect-ratio: auto; max-height: none; min-height: 0; width: auto; border-radius: 0; display: block; padding-top: 44px; text-align: center; }
  .ap-foto--largo .ap-foto__img { position: relative; height: auto; aspect-ratio: 1672 / 941; margin-top: 28px; }
  .ap-foto--largo .ap-foto__texto { width: auto; margin: 0; padding: 0 22px; }
  .ap-foto--largo .ap-botoes { justify-content: center; }
  .ap-foto--largo .ap-sub br { display: none; }
  .ap-card .ap-foto__texto { padding: 34px 22px 4px; }
  .ap-hero { min-height: 0; padding-bottom: 20px; }
  .ap-hero__palco { height: 380px; }
  .ap-hero__brilho { width: 420px; height: 420px; }
  .ap-tile--amarelo { min-height: 0; }
  .ap-tile__img { height: 340px; }
  .ap-card { min-height: 500px; }
  .ap-card__img { height: 270px; }
  .ap-prod { flex-basis: 250px; }
  .woocommerce ul.products { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .ap-rodape__grade { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .woocommerce ul.products li.product { padding: 12px 12px 16px; }
  .woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 14px !important; }
  .woocommerce ul.products li.product .button { font-size: 14px; padding: 9px 6px; }
  .ap-carrossel__setas { display: none; }
  .ap-numeros { gap: 24px; }
  .ap-numeros span { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv, .ap-sobe { opacity: 1; transform: none; }
}

/* ---------- neve de Natal (assets/natal.js, liga pela opção ca_natal) ---------- */
.ca-neve { position: fixed; inset: 0; z-index: 9990; pointer-events: none; }
.in-tres article strong { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ap-azul); color: #fff; font-size: 18px; margin-bottom: 16px; }

/* ---------- Natal (inc/natal.php) ---------- */
.ap-faixa--natal { background: #FDE9D3; }
.ap-faixa--natal strong { color: var(--ap-azul-forte); letter-spacing: .02em; }
.ap-faixa__conta { color: var(--ap-azul-forte); font-weight: 600; white-space: nowrap; }
.ca-presente { margin-top: 24px; padding: 20px 22px; background: #FFF6EC; border: 1px solid #F3DEC6; border-radius: 18px; }
.ca-presente .form-row { margin: 0; padding: 0; }
.ca-presente__marca label { display: flex !important; align-items: center; gap: 10px; font-size: 17px; font-weight: 600; cursor: pointer; }
.ca-presente__marca input { accent-color: var(--ap-azul); width: 20px; height: 20px; margin: 0 !important; }
.ca-presente__msg, .ca-presente__nota { display: none; }
.ca-presente.on .ca-presente__msg { display: block; margin-top: 14px !important; }
.ca-presente.on .ca-presente__nota { display: block; margin: 8px 0 0; font-size: 13px; color: var(--ap-cinza-texto); }
.ca-presente textarea { width: 100%; border-radius: 12px; border: 1px solid #e6d8c8; padding: 12px 14px; font: 16px var(--ap-fonte); background: #fff; box-sizing: border-box; }
.ca-presente .optional { display: none; }

/* faixa de Natal: uma frase por vez */
.ap-faixa--natal { position: relative; height: 46px; padding: 0 22px; overflow: hidden; }
.ap-faixa__frase { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 0 22px; opacity: 0; transform: translateY(100%); transition: opacity .5s, transform .5s cubic-bezier(.3,.7,.3,1); white-space: nowrap; }
.ap-faixa__frase.on { opacity: 1; transform: none; }
.ap-faixa__frase.sai { opacity: 0; transform: translateY(-100%); }
@media (max-width: 833px) {
  .ap-faixa--natal { height: auto; min-height: 92px; padding: 0; }
  .ap-faixa__frase { padding: 34px 16px 10px; white-space: normal; text-align: center; flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { .ap-faixa__frase { transition: none; } }

/* seção de Natal da página inicial: fundo de luzinhas (foto real, Pexels) */
.ap-natal { background: #2a1a10 url(assets/img/natal/luzes.webp) center / cover no-repeat; color: #fff; }
.ap-natal .ap-h2, .ap-natal .ap-olho { color: #fff; }
.ap-natal .ap-olho { color: #FFC680; }
.ap-natal .ap-carrossel__topo h2 span { color: rgba(255,255,255,.7); }
.ap-natal .ap-carrossel__setas button { background: rgba(255,255,255,.25); color: #fff; }
.ap-natal .ap-carrossel__setas button:hover { background: rgba(255,255,255,.45); }
.ap-natal__extras { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 8px; }
.ap-natal__extras > div { background: rgba(255,255,255,.1); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.18); border-radius: 18px; padding: 20px 22px; display: grid; gap: 6px; }
.ap-natal__extras strong { font-size: 18px; }
.ap-natal__extras span { color: rgba(255,255,255,.82); font-size: 15px; line-height: 1.45; }
.ap-natal__extras a { color: #FFC680; font-weight: 600; text-decoration: none; }
@media (max-width: 833px) { .ap-natal__extras { grid-template-columns: 1fr; } }

/* bolas de Natal (fotos recortadas) penduradas embaixo da barra */
.ca-bolas { position: relative; height: 0; z-index: 60; pointer-events: none; overflow-x: clip; overflow-y: visible; }
.ca-bola { position: absolute; top: 0; width: var(--tam); margin-left: calc(var(--tam) * -.5); transform-origin: 50% 0; animation: ca-balanca var(--dur) ease-in-out var(--atraso) infinite alternate; }
.ca-bola::before { content: ""; display: block; width: 1px; height: var(--fio); margin: 0 auto; background: linear-gradient(rgba(150,110,40,.9), rgba(200,160,80,.9)); }
.ca-bola img { display: block; width: 100%; height: auto; margin-top: -2px; filter: drop-shadow(0 8px 10px rgba(0,0,0,.25)); }
@keyframes ca-balanca { from { transform: rotate(-5deg); } to { transform: rotate(5deg); } }
@media (max-width: 1068px) { .ca-bola--longe { display: none; } }
@media (max-width: 833px) { .ca-bola { top: 92px; width: calc(var(--tam) * .7); margin-left: calc(var(--tam) * -.35); } .ca-bola:nth-child(1) { left: 9% !important; } .ca-bola:nth-child(6) { left: 91% !important; } .ca-bola:nth-child(3), .ca-bola:nth-child(4) { display: none; } }   /* no celular penduram embaixo da faixa, que é mais alta */
@media (prefers-reduced-motion: reduce) { .ca-bola { animation: none; } }
