/* Alpha & Omega — Loja (vitrine de afiliados): /shop, /shop/<categoria>, /shop/p/<produto>
   Mesma identidade do site: azul-noite e lápis-lazúli, cobre/dourado, marfim; títulos em serifa alta, destaque em cursiva. */
:root {
  --night: #070b14; --lapis: #17365c; --copper: #c98b4f; --gold: #e8c28a; --ivory: #efe6d6; --ink: #1a2033;
  --paper: #fbf8f2; --sand: #f3ece0; --line: rgba(26, 32, 51, .12); --muted: rgba(26, 32, 51, .64);
  --f-display: "Noto Serif Display", "Didot", "Georgia", serif;
  --f-script: "Pinyon Script", "Snell Roundhand", cursive;
  --f-body: "General Sans", -apple-system, "Segoe UI", sans-serif;
  --gut: clamp(16px, 4vw, 56px);
  --wrap: 1240px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--f-body); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 400; font-stretch: 62.5%; font-variation-settings: "wdth" 62.5; text-transform: uppercase; line-height: .98; margin: 0; text-wrap: balance; }
.script { font-family: var(--f-script); text-transform: none; font-stretch: normal; font-variation-settings: normal; font-size: .98em; line-height: 0; display: inline-block; padding: 0 .06em; transform: translateY(.04em) rotate(-4deg); }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.todo { display: inline-block; vertical-align: middle; font: 600 .62rem/1 var(--f-body); letter-spacing: .04em; text-transform: none; color: #5a2a00; background: #ffd27a; border-radius: 999px; padding: 4px 8px; margin-left: .4em; }
.eyebrow { font: 600 .72rem/1.2 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--copper); margin: 0 0 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- faixa de aviso e topo ---------- */
.notice { background: var(--night); color: rgba(239, 230, 214, .82); font-size: .8rem; text-align: center; padding: 9px var(--gut); letter-spacing: .02em; }
.notice b { color: var(--gold); font-weight: 500; }
.topbar { position: sticky; top: 0; z-index: 20; background: rgba(251, 248, 242, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 24px; padding: 12px var(--gut); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand img { width: 38px; height: 38px; }
.brand span { font-family: var(--f-display); font-stretch: 62.5%; font-variation-settings: "wdth" 62.5; text-transform: uppercase; font-size: 1.25rem; line-height: 1; }
.brand small { display: block; font: 600 .6rem/1.2 var(--f-body); letter-spacing: .16em; color: var(--copper); margin-top: 3px; }
.shopnav { display: flex; gap: 22px; font-size: .92rem; }
.shopnav a { text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent; }
.shopnav a:hover, .shopnav a[aria-current] { border-color: var(--copper); }
.toplink { font-size: .88rem; text-decoration: none; border: 1px solid var(--ink); border-radius: 999px; padding: 8px 16px; white-space: nowrap; }
.toplink:hover { background: var(--ink); color: var(--ivory); }
/* seletor de idioma (montado pelo i18n.js) */
.lang { position: relative; }
.lang__btn { display: inline-flex; align-items: center; gap: 6px; background: none; border: 1px solid var(--line); border-radius: 999px; padding: 7px 12px; font: 500 .82rem var(--f-body); color: inherit; cursor: pointer; }
.lang__btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.lang__list { position: absolute; right: 0; top: calc(100% + 6px); list-style: none; margin: 0; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 12px; min-width: 150px; box-shadow: 0 12px 30px rgba(7, 11, 20, .12); z-index: 30; }
.lang__list li { padding: 8px 12px; border-radius: 8px; cursor: pointer; font-size: .9rem; }
.lang__list li:hover, .lang__list li:focus, .lang__list li[aria-selected=true] { background: var(--sand); outline: none; }

/* ---------- botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: 999px; border: 0; font: 600 .98rem var(--f-body); text-decoration: none; cursor: pointer; transition: background .2s, color .2s, transform .2s; }
.btn--buy { background: var(--lapis); color: var(--ivory); }
.btn--buy:hover { background: var(--ink); transform: translateY(-1px); }
.btn--copper { background: var(--copper); color: var(--night); }
.btn--copper:hover { background: var(--gold); }
.btn--line { border: 1px solid var(--ink); background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--ivory); }
.arrow::after { content: "→"; }

/* ---------- arte (geometria sagrada em dourado sobre lápis, no formato de arco do site) ---------- */
.art { position: relative; background: var(--lapis); border-radius: 999px 999px 18px 18px; display: grid; place-items: center; overflow: hidden; aspect-ratio: 4 / 5; }
.art svg { width: 70%; height: auto; fill: none; stroke: var(--gold); stroke-width: 1.1; }
.art img { width: 100%; height: 100%; object-fit: cover; }
.badge { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); background: var(--ivory); color: var(--ink); font: 600 .7rem/1 var(--f-body); letter-spacing: .06em; padding: 7px 12px; border-radius: 999px; white-space: nowrap; }

/* ---------- abertura da loja ---------- */
.shop-hero { text-align: center; padding: clamp(56px, 9vw, 120px) 0 clamp(40px, 6vw, 72px); }
.shop-hero h1 { font-size: clamp(2.6rem, 7vw, 6.4rem); }
.shop-hero p { max-width: 54ch; margin: 22px auto 0; font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--muted); }
.shop-hero .fine { font-size: .8rem; margin-top: 14px; color: rgba(26, 32, 51, .55); }

/* ---------- as três modalidades ---------- */
.cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); }
.cat { display: flex; flex-direction: column; text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 18px 18px 26px; transition: transform .25s, box-shadow .25s; }
.cat:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(7, 11, 20, .08); }
.cat .art { aspect-ratio: 5 / 4; border-radius: 999px 999px 14px 14px; }
.cat h2 { font-size: clamp(1.7rem, 2.6vw, 2.4rem); margin: 22px 0 8px; }
.cat p { margin: 0 0 18px; color: var(--muted); font-size: .98rem; flex: 1; }
.cat .go { font-weight: 600; font-size: .95rem; color: var(--lapis); }
.cat .go::after { content: " →"; }

/* ---------- títulos de bloco e grade de produtos ---------- */
.block { padding-top: clamp(56px, 8vw, 104px); }
.block__head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.block__head h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
.block__head a { font-weight: 600; font-size: .95rem; white-space: nowrap; }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(28px, 3.4vw, 48px) clamp(14px, 2vw, 28px); }
/* card editorial de produto (padrão das marcas de luxo acessível: foto em fundo claro, sem caixa, texto enxuto) */
.pcard { display: flex; flex-direction: column; text-decoration: none; color: inherit; min-width: 0; }
.pcard__img { position: relative; aspect-ratio: 4 / 5; background: #efe9df; overflow: hidden; display: grid; place-items: center; }
.pcard__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .45s, transform .8s; }
.pcard__img img + img { opacity: 0; }
.pcard:hover .pcard__img img + img { opacity: 1; }
.pcard:hover .pcard__img img:only-child { transform: scale(1.04); }
.pcard__img svg { width: 58%; height: auto; fill: none; stroke: var(--lapis); stroke-width: 1; opacity: .85; transition: transform .8s, opacity .4s; }
.pcard:hover .pcard__img svg { transform: scale(1.06) rotate(8deg); opacity: 1; }
.pcard__badge { position: absolute; top: 12px; left: 12px; background: #fff; color: var(--ink); font: 600 .62rem/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; padding: 7px 10px; }
.pcard__body { padding-top: 14px; }
.pcard__col { font: 600 .66rem/1.2 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--copper); margin: 0 0 6px; }
.pcard__name { font-family: var(--f-display); font-stretch: 100%; font-variation-settings: "wdth" 100; text-transform: none; font-size: 1.12rem; line-height: 1.25; letter-spacing: 0; margin: 0; font-weight: 400; }
.pcard__benefit { margin: 4px 0 0; font-size: .86rem; line-height: 1.45; color: var(--muted); }
.pcard__meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
.pcard__price { font-size: .92rem; font-weight: 500; }
.pcard__price small { font-weight: 400; color: var(--muted); }
.pcard__sw { display: flex; gap: 6px; }
.pcard__sw i { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12), 0 0 0 2px var(--paper), 0 0 0 3px rgba(26, 32, 51, .15); }
.pcard__stars { font-size: .78rem; color: var(--muted); margin-top: 6px; }
.pcard__stars b { color: var(--copper); letter-spacing: .08em; font-weight: 400; }
.pcard .todo { margin-left: .35em; }
/* bloco editorial no meio da grade (a assinatura da marca: arco lápis com geometria dourada) */
.etile { display: flex; flex-direction: column; justify-content: flex-end; text-decoration: none; color: var(--ivory); background: var(--lapis); border-radius: 999px 999px 0 0; padding: 28px 26px 30px; position: relative; overflow: hidden; min-height: 100%; }
.etile svg { position: absolute; top: 12%; left: 50%; width: 70%; transform: translateX(-50%); fill: none; stroke: var(--gold); stroke-width: 1; opacity: .55; }
.etile h3 { position: relative; font-size: clamp(1.5rem, 2.2vw, 2.1rem); margin-bottom: 10px; }
.etile p { position: relative; margin: 0 0 14px; font-size: .9rem; color: rgba(239, 230, 214, .82); }
.etile span { position: relative; font-weight: 600; font-size: .88rem; color: var(--gold); }

/* ---------- página de categoria ---------- */
.crumbs { font-size: .85rem; color: var(--muted); padding-top: 28px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.cat-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding: 32px 0 56px; }
.cat-hero h1 { font-size: clamp(2.4rem, 6vw, 5.4rem); }
.cat-hero p { color: var(--muted); font-size: 1.1rem; max-width: 50ch; margin: 18px 0 0; }
.cat-hero .art { max-width: 360px; justify-self: end; width: 100%; aspect-ratio: 1 / 1; }

/* ---------- página de produto ---------- */
.pd { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 72px); padding: 28px 0 0; align-items: start; }
.pd__gallery { position: sticky; top: 92px; }
.pd__gallery .art { aspect-ratio: 1 / 1.05; }
.pd__thumbs { display: flex; gap: 10px; margin-top: 12px; }
.pd__main { position: relative; aspect-ratio: 4 / 5; background: #efe9df; overflow: hidden; }
.pd__main img { width: 100%; height: 100%; object-fit: cover; }
.pd__thumb { width: 76px; aspect-ratio: 4 / 5; padding: 0; border: 1px solid transparent; background: #efe9df; cursor: pointer; overflow: hidden; }
.pd__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd__thumb[aria-current] { border-color: var(--ink); }
.pd__thumbs .art { width: 72px; aspect-ratio: 1; border-radius: 12px; }
.pd__buy h1 { font-size: clamp(2.3rem, 4.6vw, 4rem); margin-bottom: 14px; }
.pd__short { font-size: 1.12rem; color: var(--muted); margin: 0 0 22px; }
.pd__price { font: 500 2rem/1 var(--f-display); margin: 0 0 6px; }
.pd__price small { font: 400 .9rem var(--f-body); color: var(--muted); margin-left: 6px; }
.opts { display: grid; gap: 10px; margin: 22px 0; border: 0; padding: 0; }
.opts legend { font: 600 .78rem var(--f-body); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; }
.opt { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); background: #fff; border-radius: 14px; padding: 14px 16px; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.opt input { accent-color: var(--lapis); width: 18px; height: 18px; margin: 0; }
.opt .opt__label { flex: 1; font-weight: 500; }
.opt .opt__note { font-size: .72rem; font-weight: 600; background: var(--sand); color: #7a4a1c; padding: 4px 8px; border-radius: 999px; }
.opt .opt__price { font-weight: 600; }
.opt:has(input:checked) { border-color: var(--lapis); box-shadow: 0 0 0 1px var(--lapis); }
.opt--best { border-color: var(--copper); }
.pd__cta { width: 100%; min-height: 58px; font-size: 1.05rem; }
.perks { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .84rem; color: var(--muted); }
.perks li { display: flex; align-items: center; gap: 7px; }
.perks svg { width: 16px; height: 16px; fill: none; stroke: var(--copper); stroke-width: 1.6; }
.disclose { font-size: .76rem; color: rgba(26, 32, 51, .55); margin: 14px 0 0; }

.pd-sec { padding: clamp(56px, 8vw, 96px) 0 0; }
.story { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: center; background: var(--night); color: var(--ivory); border-radius: 28px; padding: clamp(28px, 5vw, 64px); }
.story .art { aspect-ratio: 1; max-width: 360px; width: 100%; }
.story h2 { font-size: clamp(2rem, 4vw, 3.4rem); margin-bottom: 18px; }
.story p { color: rgba(239, 230, 214, .82); font-size: 1.08rem; margin: 0; }
.benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.benefit { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px; }
.benefit svg { width: 34px; height: 34px; fill: none; stroke: var(--copper); stroke-width: 1.4; margin-bottom: 14px; }
.benefit h3 { font-size: 1.45rem; margin-bottom: 8px; }
.benefit p { margin: 0; color: var(--muted); font-size: .95rem; }
.guarantee { display: flex; gap: 22px; align-items: center; background: var(--sand); border-radius: 22px; padding: 26px 30px; }
.guarantee svg { flex: 0 0 64px; width: 64px; height: 64px; fill: none; stroke: var(--copper); stroke-width: 1.3; }
.guarantee p { margin: 0; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 1.4rem; line-height: 1; color: var(--copper); }
.faq details[open] summary::after { content: "–"; }
.faq summary::-webkit-details-marker { display: none; }
.faq p { margin: 12px 0 0; color: var(--muted); }
.reviews { text-align: center; border: 1px dashed var(--line); border-radius: 22px; padding: 32px; color: var(--muted); }
.fda { font-size: .8rem; color: var(--muted); border-top: 1px solid var(--line); margin-top: 48px; padding-top: 18px; }

/* botão de compra fixo no celular (aparece quando o botão principal sai da tela) */
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: none; align-items: center; gap: 12px; padding: 12px var(--gut) calc(12px + env(safe-area-inset-bottom));
  background: rgba(251, 248, 242, .96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .3s; }
.sticky-buy.is-on { transform: none; }
.sticky-buy__info { flex: 1; min-width: 0; }
.sticky-buy__name { font-weight: 600; font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-buy__price { font-size: .85rem; color: var(--muted); }
.sticky-buy .btn { min-height: 46px; padding: 0 20px; font-size: .92rem; }

/* ---------- rodapé ---------- */
.site-footer { background: var(--night); color: var(--ivory); padding: clamp(48px, 7vw, 88px) var(--gut) 28px; margin-top: clamp(72px, 10vw, 140px); }
.site-footer__in { max-width: var(--wrap); margin: 0 auto; }
.site-footer__top { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; }
.site-footer__brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.site-footer__brand span { display: flex; flex-direction: column; font-family: var(--f-display); font-stretch: 62.5%; font-variation-settings: "wdth" 62.5; font-size: 1.35rem; line-height: 1.05; text-transform: uppercase; }
.site-footer__brand small { font: 600 .72rem var(--f-body); letter-spacing: .14em; color: var(--gold); margin-top: 4px; }
.site-footer__tag { margin: 0; flex: 1 1 280px; color: rgba(239, 230, 214, .7); }
.site-footer__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin: 44px 0; }
.site-footer__cols h3 { margin: 0 0 12px; font: 600 .8rem var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.site-footer__cols a { display: block; padding: 5px 0; color: rgba(239, 230, 214, .82); text-decoration: none; font-size: .95rem; }
.site-footer__cols a:hover { color: var(--gold); }
.site-footer__bottom { border-top: 1px solid rgba(239, 230, 214, .14); padding-top: 22px; font-size: .82rem; color: rgba(239, 230, 214, .6); display: flex; flex-wrap: wrap; gap: 10px 32px; }
.site-footer__bottom p { margin: 0; flex: 1 1 360px; }

/* ---------- celular ---------- */
@media (max-width: 900px) {
  body { font-size: 16px; }
  .shopnav { display: none; }
  .topbar { gap: 10px; }
  .toplink { display: none; }
  .catnav { display: flex; gap: 8px; overflow-x: auto; padding: 10px var(--gut); border-bottom: 1px solid var(--line); background: var(--paper); scrollbar-width: none; }
  .catnav::-webkit-scrollbar { display: none; }
  .catnav a { flex: 0 0 auto; text-decoration: none; font-size: .85rem; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; background: #fff; }
  .catnav a[aria-current] { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
  .cats { grid-template-columns: 1fr; }
  .cat { padding: 14px 14px 22px; }
  .cat .art { aspect-ratio: 16 / 10; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .pcard__name { font-size: 1rem; }
  .pcard__benefit { font-size: .78rem; }
  .pcard__meta { flex-wrap: wrap; }
  .etile { padding: 22px 16px 22px; }
  .etile svg { width: 56%; top: 7%; opacity: .4; }
  .etile h3 { font-size: 1.35rem; }
  .etile p { font-size: .8rem; }
  .cat-hero { grid-template-columns: 1fr; gap: 24px; padding-bottom: 32px; }
  .cat-hero .art { justify-self: start; max-width: 220px; }
  .pd { grid-template-columns: 1fr; gap: 22px; }
  .pd__gallery { position: static; }
  .pd__gallery .art { aspect-ratio: 1 / .9; }
  .pd__main { aspect-ratio: 1 / 1.05; }
  .pd__thumb { width: 60px; }
  .story { grid-template-columns: 1fr; }
  .story .art { max-width: 220px; }
  .guarantee { flex-direction: column; align-items: start; }
  .site-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sticky-buy { display: flex; }
  body.has-sticky { padding-bottom: 76px; }
}
@media (min-width: 901px) { .catnav { display: none; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* idiomas */
html.lang-zh body { font-family: "Noto Sans SC", var(--f-body); }
html.lang-zh h1, html.lang-zh h2, html.lang-zh h3 { font-family: "Noto Serif SC", var(--f-display); }
html.lang-hi body { font-family: "Noto Sans Devanagari", var(--f-body); }
html.lang-hi h1, html.lang-hi h2, html.lang-hi h3 { font-family: "Noto Serif Devanagari", var(--f-display); line-height: 1.25; }
html.lang-hi body * { letter-spacing: 0 !important; text-transform: none !important; }
html.lang-zh .script, html.lang-hi .script { font-family: inherit; transform: none; line-height: inherit; font-size: 1em; }
