/* =====================================================================
   JK.Store · tema rosa (componentes partilhados)
   Carregado depois de styles.css. Afeta todas as paginas da loja.
   ===================================================================== */

body { background: var(--ivory); color: var(--ink); }
::selection { background: var(--rose-deep); color: #fff; }
:focus-visible { outline-color: var(--rose-deep); }

/* ---------- tipografia ---------- */
.t em, .t .it { color: var(--rose-deep); }
.t--light em, .t--light .it { color: var(--blush); }
.eyebrow { color: var(--rose-deep); letter-spacing: .22em; }
.eyebrow--light { color: var(--blush); }

/* ---------- botoes: pilula rosa com preenchimento que sobe ---------- */
.btn {
  --bg: var(--rose-deep); --fg: #fff; --bg-h: var(--ink); --fg-h: #fff; --bd: var(--bg);
  border-radius: 999px; height: 52px; padding: 0 28px;
  box-shadow: 0 10px 24px -14px rgba(var(--accent-rgb), .7);
  transition: color .5s var(--ease), border-color .5s var(--ease), transform .25s var(--ease), box-shadow .5s var(--ease);
}
.btn::before { border-radius: inherit; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -16px rgba(43, 27, 33, .55); }
.btn:active { transform: translateY(0) scale(.98); box-shadow: 0 6px 14px -10px rgba(43, 27, 33, .5); }
.btn--dark { --bg: var(--rose-deep); --bg-h: var(--ink); }
.btn--ink { --bg: var(--ink); --bg-h: var(--rose-deep); box-shadow: none; }
.btn--light { --bg: #fff; --fg: var(--ink); --bg-h: var(--ink); --fg-h: #fff; box-shadow: 0 10px 24px -16px rgba(43, 27, 33, .45); }
.btn--line { --bg: transparent; --fg: var(--ink); --bd: var(--ink); --bg-h: var(--ink); --fg-h: #fff; box-shadow: none; }
.btn--ghost { --bg: transparent; --fg: var(--ink); --bd: var(--line-strong); --bg-h: var(--rose); --fg-h: var(--ink); box-shadow: none; }
.btn--soft { --bg: var(--rose); --fg: var(--rose-dark); --bd: var(--rose); --bg-h: var(--rose-deep); --fg-h: #fff; box-shadow: none; }
.btn--sm { height: 40px; padding: 0 18px; }

.link-u { color: var(--ink); }
.link-u::after { background: var(--rose-deep); }
.link-arrow { color: var(--ink); }
.link-arrow .ico:last-child { color: var(--rose-deep); }

.icon-btn:hover { background: var(--rose); }
.icon-btn--line { border-color: var(--sand); }
.icon-btn--line:hover { background: var(--rose-deep); border-color: var(--rose-deep); color: #fff; }
.count { background: var(--rose-deep); }

/* ---------- etiquetas ---------- */
.tag { border-radius: 999px; padding: 6px 11px; background: #fff; color: var(--rose-dark); box-shadow: 0 4px 10px -6px rgba(var(--accent-dark-rgb), .3); letter-spacing: .12em; }
.tag--new { background: #fff; color: var(--rose-dark); }
.tag--promo { background: var(--rose-deep); color: #fff; }
.tag--dark, .tag--limited { background: var(--ink); color: #fff; }
.tag--best { background: var(--blush); color: var(--rose-dark); }
.tag--feat { background: var(--gold); color: #fff; }
.price__now { color: var(--rose-deep); }
.price__old { text-decoration-color: var(--rose-deep); }

/* ---------- chips e formularios ---------- */
.chip:hover { border-color: var(--rose-deep); color: var(--rose-deep); }
.chip--on { background: var(--rose-deep); border-color: var(--rose-deep); color: #fff; }
.field input, .field textarea, .field select { background: #fff; border-color: var(--sand); border-radius: 12px; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--rose-deep); box-shadow: 0 0 0 3px var(--rose); }
.check input:checked + span { background: var(--rose-deep); border-color: var(--rose-deep); }
.check > span { border-radius: 5px; }
.radio input:checked + span { border-color: var(--rose-deep); }
.radio > span::after { background: var(--rose-deep); }

/* ---------- media e cartoes de produto ---------- */
.media { background: var(--bone); }
.card__media { border-radius: var(--r-card); isolation: isolate; transition: box-shadow .6s var(--ease), transform .6s var(--ease); }
.card__tags { flex-direction: column; align-items: flex-start; gap: 6px; }
.card__wish { background: rgba(255, 255, 255, .85); backdrop-filter: blur(4px); top: 10px; right: 10px; width: 38px; height: 38px; }
.wish.is-on { color: var(--rose-deep); }
.wish.is-pop::after { border-color: var(--rose-deep); }
.card__add { border-radius: 999px; background: #fff; color: var(--ink); box-shadow: 0 10px 22px -14px rgba(43, 27, 33, .5); }
.card__add:hover { background: var(--rose-deep); color: #fff; }
.card__add.is-done { background: var(--ink); }
.card__brand { color: var(--rose-deep); }
.card__name { font-size: 20px; }
@media (hover: hover) {
  .card:hover .card__media { box-shadow: var(--shadow-soft); transform: translateY(-4px); }
}
@media (hover: none) {
  .card__add { background: var(--rose-deep); color: #fff; }
}

/* ---------- aviso superior ---------- */
.announce { background: var(--rose-deep); color: #fff; font-weight: 600; letter-spacing: .1em; }

/* ---------- cabecalho ---------- */
.hdr { transition: background .5s var(--ease), box-shadow .5s var(--ease), backdrop-filter .5s; }
body.is-scrolled .hdr, body.mega-open .hdr, body:not([data-page="home"]) .hdr {
  background: rgba(255, 250, 248, .94); backdrop-filter: saturate(1.4) blur(10px); box-shadow: 0 1px 0 var(--line), 0 14px 30px -26px rgba(var(--accent-dark-rgb), .45);
}
.hdr__search { border-radius: 999px; border: 1px solid var(--sand); padding: 0 14px; background: rgba(255, 255, 255, .7); }
.hdr__search:hover { border-color: var(--rose-deep); }
.nav__link::after { background: var(--rose-deep); height: 2px; border-radius: 2px; }
.nav__link.is-active { color: var(--rose-deep); }
.nav__item[data-mega="promocoes"] .nav__link { color: var(--rose-deep); }
.mega { background: #fff; border-radius: 0 0 22px 22px; }
.mega__all:hover { color: var(--rose-deep); }
.mega__prod-media { border-radius: 12px; }
.wordmark__dot { color: var(--rose-deep); }

/* ---------- paineis ---------- */
.mnav__panel, .search__panel, .drawer__panel, .fdrawer__panel { background: var(--ivory); }
.mnav__card .media { border-radius: 14px; }
.ship-bar__track { background: var(--rose); border-radius: 2px; }
.ship-bar__fill { background: var(--rose-deep); }
.qty { border-radius: 999px; border-color: var(--sand); overflow: hidden; }
.qty button:hover { background: var(--rose); }
.line__media, .sres__media, .mini-list .media, .co-lines__img { border-radius: 10px; }
.toast { border-radius: 999px; background: var(--ink); }
.toast a { color: var(--blush); }
.summary { background: var(--rose); border-radius: 22px; }
.co-note { background: var(--rose); border-radius: 12px; }
.co-note .ico { color: var(--rose-deep); }
.opt { border-radius: 14px; border-color: var(--sand); background: #fff; }
.opt:has(input:checked) { border-color: var(--rose-deep); box-shadow: inset 0 0 0 1px var(--rose-deep); background: #fff; }
.opt__box::after { background: var(--rose-deep); }
.co-steps li.is-on::before { background: var(--rose-deep); border-color: var(--rose-deep); }
.confirm__mark { background: var(--rose-deep); }
.pager ol a.is-on { background: var(--rose-deep); }
.gal__slide, .gal__thumb { border-radius: 14px; }
.gal__thumb.is-on { box-shadow: 0 0 0 2px var(--rose-deep); }
.vsw.is-on { background: var(--rose-deep); border-color: var(--rose-deep); }
.size.is-on { border-color: var(--rose-deep); color: var(--rose-deep); }
.wish--box { border-radius: 999px; }
.pdp__price .price { color: var(--ink); }
.pdp-story__img { filter: saturate(1.05); }
.plp-head__img, .gtile { border-radius: 22px; overflow: hidden; }
.plp-head { background: linear-gradient(180deg, var(--rose) 0%, var(--ivory) 100%); }
.toolbar { background: rgba(255, 250, 248, .96); backdrop-filter: blur(8px); }
.tool-btn b { background: var(--rose-deep); }
.acct__img { background: var(--rose); }
.nf__code { color: var(--blush); }

/* ---------- rodape ---------- */
.ftr { background: var(--night); }
.ftr__giant { color: color-mix(in srgb, var(--night) 92%, #fff); }
.ftr .wordmark__dot { color: var(--petal); }
.ftr__pay span { border-radius: 999px; padding: 5px 10px; }
@media (max-width: 959px) { .plp-head__img { margin-inline: 0; } }
.pdp__buy .btn--grow { padding: 0 18px; }
@media (max-width: 600px) {
  .hide-xs { display: none; }
  .pdp__buy { gap: 8px; }
}

/* ---------- botao flutuante do WhatsApp ---------- */
.wa { position: fixed; right: 22px; bottom: 22px; z-index: 90; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%;
  background: #5FD3AA; color: #fff; box-shadow: 0 14px 30px -10px rgba(38, 150, 110, .6); transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  animation: waIn .8s var(--ease) 1.2s both; }
.wa::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #5FD3AA; animation: waPulse 2.6s ease-out 2s infinite; pointer-events: none; }
.wa:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 20px 36px -12px rgba(38, 150, 110, .7); }
.wa:active { transform: scale(.96); }
.wa__tip { position: absolute; right: calc(100% + 12px); top: 50%; transform: translate(8px, -50%); white-space: nowrap; padding: 9px 14px; border-radius: 999px;
  background: #fff; color: var(--ink); font: 600 13px/1 var(--sans); box-shadow: 0 10px 24px -12px rgba(43, 27, 33, .4); opacity: 0; pointer-events: none; transition: opacity .3s, transform .4s var(--ease); }
.wa:hover .wa__tip, .wa:focus-visible .wa__tip { opacity: 1; transform: translate(0, -50%); }
@keyframes waIn { from { opacity: 0; transform: translateY(20px) scale(.8); } }
@keyframes waPulse { 0% { transform: scale(1); opacity: .7; } 70%, 100% { transform: scale(1.5); opacity: 0; } }
body[data-page="checkout"] .wa { display: none; }
html.is-locked .wa { opacity: 0; pointer-events: none; }
@media (max-width: 959px) {
  .wa { right: 14px; bottom: 16px; width: 54px; height: 54px; }
  .wa__tip { display: none; }
  body[data-page="pdp"] .wa { bottom: 84px; }
}
@media (prefers-reduced-motion: reduce) { .wa, .wa::after { animation: none; } }

/* carrosseis moveis: cartoes fora do ecra sempre visiveis */
@media (max-width: 700px) { .h-cats__rail [data-reveal] { opacity: 1; transform: none; } }

/* ---------- titulos: folga para maiusculas (G, J, Q) e italicos nao serem cortados pela mascara ---------- */
.t .w { padding: .18em .32em .34em .22em; margin: -.18em -.32em -.34em -.22em; }
.hero__title .ln, .h-hero__title .ln { padding: .06em .16em .14em .14em; margin: -.06em -.16em -.14em -.14em; }
.t .wi { transform: translate3d(0, 175%, 0) rotate(3deg); }
.t.is-in .wi { transform: none; }
.h-hero .h-in-2 > span { transform: translateY(125%); }
.h-hero.is-in .h-in-2 > span { transform: none; }
@media (prefers-reduced-motion: reduce) { .t .wi, .h-hero .h-in-2 > span { transform: none; } }

/* ---------- cursor da loja (so com rato) ---------- */
html.has-cursor, html.has-cursor * { cursor: none !important; }
html.has-cursor input:not([type=checkbox]):not([type=radio]), html.has-cursor textarea { cursor: text !important; }
.cur-dot, .cur-trail { position: fixed; left: 0; top: 0; pointer-events: none; }
.cur-trail { width: 100vw; height: 100vh; z-index: 9998; }
.cur-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--rose-deep); z-index: 9999; opacity: 0; will-change: transform;
  transition: opacity .3s, width .35s var(--ease), height .35s var(--ease), background .3s; }
html.cur-on .cur-dot { opacity: 1; }
html.cur-hover .cur-dot { width: 22px; height: 22px; background: rgba(var(--accent-rgb), .35); }
html.cur-down .cur-dot { width: 6px; height: 6px; background: var(--rose-deep); }
html.cur-text .cur-dot { opacity: 0; }
/* sobre o rodape escuro e o bloco rosa forte, o cursor fica claro */
html.cur-light .cur-dot { background: #fff; }
html.cur-light.cur-hover .cur-dot { background: rgba(255, 255, 255, .45); }

/* ---------- temas sazonais (painel > Temas) ---------- */
.theme-fx { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 9996; }
.theme-preview { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 9995; display: flex; align-items: center; gap: 14px;
  padding: 10px 12px 10px 18px; border-radius: 999px; background: var(--night); color: #fff; font-size: 13.5px; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .5); max-width: calc(100vw - 32px); }
.theme-preview a { color: var(--night); background: #fff; border-radius: 999px; padding: 6px 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
@media (max-width: 600px) { .theme-preview { left: 16px; right: 92px; transform: none; bottom: 26px; font-size: 12.5px; line-height: 1.35; border-radius: 18px; } }
/* ---------- decoracao dos temas (ver js/ui/themeDeco.js) ---------- */
.theme-garland { position: absolute; left: 0; right: 0; top: 100%; pointer-events: none; animation: thGlow 2.6s ease-in-out infinite alternate; }
html[data-theme="black-friday"] .theme-garland { animation: thTape 18s linear infinite; }
@keyframes thGlow { from { filter: brightness(1) drop-shadow(0 0 0 transparent); } to { filter: brightness(1.12) drop-shadow(0 2px 4px rgba(255, 210, 120, .45)); } }
@keyframes thTape { to { background-position: -400px 0; } }
@keyframes thShine { 0%, 55% { transform: translateX(0); } 100% { transform: translateX(420%); } }

.th-hero { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.th-hang { position: absolute; top: calc(var(--hdr-h) + 8px); width: 1.5px; height: var(--len); background: rgba(var(--accent-dark-rgb), .5);
  transform-origin: 50% 0; animation: thSwing 3.6s ease-in-out infinite alternate; animation-delay: var(--del); }
.th-hang__o { position: absolute; left: 50%; top: 100%; width: 46px; transform: translate(-50%, -3px); filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .18)); }
.th-hang__o svg { display: block; width: 100%; height: auto; }
.th-hang--spider { background: rgba(27, 16, 34, .45); width: 1px; animation: thSpider 4.5s ease-in-out infinite alternate; }
.th-hang--spider .th-hang__o { width: 40px; }
@keyframes thSwing { from { transform: rotate(-3.5deg); } to { transform: rotate(3.5deg); } }
@keyframes thSpider { from { transform: scaleY(.86); } to { transform: scaleY(1.04); } }
.th-web { position: absolute; top: var(--hdr-h); width: clamp(110px, 14vw, 200px); }
.th-web--l { right: 0; transform: scaleX(-1); }
.th-web svg { display: block; width: 100%; height: auto; }
.th-flora { position: absolute; width: clamp(120px, 13vw, 190px); }
.th-flora svg { display: block; width: 100%; height: auto; filter: drop-shadow(0 12px 16px rgba(0, 0, 0, .12)); }
.th-flora--a { left: 50%; top: calc(var(--hdr-h) + 10px); transform: rotate(-12deg); }
.th-flora--b { right: 2%; bottom: 4%; transform: rotate(160deg) scaleX(-1); }
.th-sun { position: absolute; right: clamp(-60px, -3vw, -20px); top: calc(var(--hdr-h) - 40px); width: clamp(180px, 22vw, 320px); z-index: -1; }
.th-sun svg { display: block; width: 100%; height: auto; animation: thSpin 40s linear infinite; }
@keyframes thSpin { to { transform: rotate(360deg); } }
.th-hero:has(.th-sun) { z-index: 0; }
.th-tape { position: absolute; left: -10%; right: -10%; height: 42px; display: flex; align-items: center; overflow: hidden; background: #111; color: var(--gold);
  font: 900 15px/1 var(--sans); letter-spacing: .2em; white-space: nowrap; box-shadow: 0 16px 30px -18px rgba(0, 0, 0, .6); border-block: 2px solid var(--gold); }
.th-tape__t { display: flex; flex: none; width: max-content; animation: thTapeRun 34s linear infinite; }
.th-tape__h { display: flex; flex: none; align-items: center; }
.th-tape__h b { font-weight: inherit; padding: 0 1.1em; }
.th-tape__h i { font-style: normal; }
@keyframes thTapeRun { to { transform: translateX(-50%); } }
.th-tape--a { top: 74%; transform: rotate(-7deg); }
.th-tape--b { top: 88%; transform: rotate(4deg); background: var(--gold); color: #111; border-color: #111; }
.th-tape--b .th-tape__t { animation-direction: reverse; animation-duration: 40s; }

.th-stamp { padding: 0; background: var(--rose-deep); }
.th-stamp__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: thSpin 22s linear infinite; }
.th-stamp__c { width: 38%; height: 38%; }

@media (max-width: 959px) {
  .th-hang--0, .th-hang--1, .th-flora--a { display: none; }
  .th-hang { left: auto !important; right: 10%; --len: 20px !important; }
  .th-web { width: 100px; }
  .th-tape { height: 34px; font-size: 12px; }
  .th-sun { top: auto; bottom: 28%; }
}
@media (prefers-reduced-motion: reduce) {
  .theme-garland, .th-hang, .th-sun svg, .th-tape__t, .th-stamp__ring { animation: none !important; }
}
.th-hero { z-index: 1; }
.th-hero ~ .h-hero__grid, .h-hero__grid:has(~ .th-hero) { position: relative; z-index: 2; }
.theme-garland { transition: opacity .4s; }
@media (max-width: 959px) { .th-hang--spider { display: block; right: 6%; --len: 60px !important; } }
/* enfeites pendurados na grinalda (fisica em js/ui/themeDeco.js > mountDrops) */
.th-drop { position: absolute; top: 40%; width: 0; height: 0; transform-origin: 0 0; will-change: transform; }
.th-drop__str { position: absolute; left: -.75px; top: 0; width: 1.5px; background: rgba(var(--accent-dark-rgb), .55); transform-origin: 50% 0; }
html[data-theme="halloween"] .th-drop__str { width: 1px; background: rgba(27, 16, 34, .5); }
html[data-theme="black-friday"] .th-drop__str { background: var(--gold); }
.th-drop__o { position: absolute; left: 0; top: 0; transform: translate(-50%, 0); filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .18)); }
.th-drop__o svg { display: block; width: 100%; height: auto; }
/* fotografias oficiais dos produtos (fundo branco): o branco funde-se com o fundo do cartao */
img[src*="products/bt-"] { mix-blend-mode: multiply; }
/* checkout: morada so para envio; opcoes de pagamento que nao se aplicam ficam escondidas */
.co-addr { margin-top: 18px; }
.co-addr[hidden], #payOpts .opt[hidden] { display: none; }
/* as minhas encomendas */
.acct__orders { list-style: none; margin: 8px 0 28px; padding: 0; display: grid; gap: 10px; }
.acct__orders a { display: grid; grid-template-columns: auto 1fr auto; gap: 4px 16px; align-items: center; padding: 16px 18px; border-radius: 14px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color .3s, transform .3s var(--ease); }
.acct__orders a:hover { border-color: var(--rose-deep); transform: translateY(-2px); }
.acct__orders strong { font-weight: 700; letter-spacing: .04em; }
.acct__orders span { color: var(--muted); font-size: 13.5px; }
.acct__orders b { color: var(--rose-deep); }
@media (max-width: 600px) { .acct__orders a { grid-template-columns: 1fr auto; } .acct__orders span { grid-column: 1 / -1; grid-row: 2; } }
/* barra de compra no telemovel: nomes compridos em duas linhas em vez de cortados */
.sticky-buy__txt strong { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 15px; line-height: 1.15; }
/* Saldos: faixas e grinalda na cor do tema (em vez do preto da Black Friday) */
html[data-theme^="saldos"] .theme-garland { animation: thTape 18s linear infinite; }
html[data-theme^="saldos"] .th-tape { background: var(--plum); color: #fff; border-color: var(--gold); }
html[data-theme^="saldos"] .th-tape--b { background: var(--gold); color: var(--rose-dark); border-color: var(--plum); }
html[data-theme^="saldos"] .th-drop__str { background: var(--plum); }

/* Rodape: Livro de Reclamacoes e paginas legais */
.ftr__legal { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
.ftr__legal a { color: inherit; text-decoration: none; opacity: .85; }
.ftr__legal a:hover { opacity: 1; text-decoration: underline; }
.ftr__lr { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border: 1px solid currentColor; border-radius: 999px; opacity: 1 !important; font-weight: 600; }
.ftr__lr svg { width: 16px; height: 16px; flex: none; }

/* Produto: partilhar e "avise-me quando voltar" */
.pdp__share { display: inline-flex; align-items: center; gap: 8px; margin: 14px 0 0; padding: 6px 0; background: none; border: 0; color: var(--ink); font: 500 14px/1 var(--sans); cursor: pointer; }
.pdp__share svg { width: 18px; height: 18px; }
.pdp__share:hover span { text-decoration: underline; text-underline-offset: 3px; }
.pdp__notify { margin-top: 16px; padding: 16px 18px; border-radius: 16px; background: var(--rose); }
.pdp__notify p { margin: 0; font-size: 14px; }
.pdp__notify-row { display: flex; gap: 8px; margin-top: 12px; }
.pdp__notify-row input { flex: 1; min-width: 0; height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font: inherit; }
.pdp__notify-row input:focus { outline: none; border-color: var(--ink); }
.pdp__notify.is-done .pdp__notify-row { opacity: .45; pointer-events: none; }
.pdp__notify .news__msg:not(:empty) { margin-top: 10px; }

/* ---------- conta de cliente ---------- */
.hdr__acct { position: relative; }
.hdr__acct.is-on::after { content: ''; position: absolute; right: 6px; top: 6px; width: 8px; height: 8px; border-radius: 50%; background: var(--rose-deep); box-shadow: 0 0 0 2px var(--ivory); }
.acct__tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 5px; margin: 0 0 24px; border-radius: 999px; background: var(--rose); width: fit-content; }
.acct__tabs button { padding: 10px 18px; border-radius: 999px; font: 500 14px/1 var(--sans); color: var(--ink-2); transition: background .25s, color .25s; }
.acct__tabs button[aria-selected="true"] { background: #fff; color: var(--rose-deep); box-shadow: 0 6px 16px -10px rgba(var(--accent-dark-rgb), .5); }
.acct__form { display: grid; gap: 12px; }
.acct__form .check { font-size: 14px; }
.acct__alt { justify-self: center; font-size: 14px; color: var(--muted); background: none; }
.acct__note { color: var(--ink-2); font-size: 14.5px; margin: 0 0 6px; }
.acct__sub { margin: 14px 0 0; }
.acct__row { display: grid; grid-template-columns: 1fr 1.3fr; gap: 12px; }
.acct__msg { margin: 0; padding: 12px 14px; border-radius: 12px; background: #FBE9EC; color: #8E2442; font-size: 14px; }
.acct__msg.is-ok { background: #E8F4EE; color: #1F6B47; }
.acct__msg[hidden] { display: none; }
.acct__sec { margin-top: 34px; }
.acct__lede .link-u { font-size: inherit; background: none; }
.acct__danger { margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); }
.acct__orders a { position: relative; }
.acct__st { grid-column: 1 / -1; justify-self: start; padding: 4px 10px; border-radius: 999px; font: normal 600 11px/1.2 var(--sans); letter-spacing: .06em; text-transform: uppercase; background: var(--rose); color: var(--rose-deep); }
.acct__st--concluida, .acct__st--paga { background: #E8F4EE; color: #1F6B47; }
.acct__st--cancelada { background: #EEE; color: #666; }
.acct__od { display: grid; gap: 14px; }
.acct__h { font: 400 clamp(26px, 2.4vw, 34px)/1.1 var(--serif); }
.acct__od-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.field--pw input { padding-right: 90px; }
.pw-toggle { position: absolute; right: 12px; top: 29px; transform: translateY(-50%); padding: 6px 10px; border-radius: 999px; font: 500 12px/1 var(--sans); color: var(--muted); background: none; }
.pw-toggle:hover { color: var(--ink); }
.co-acct { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 16px; padding: 12px 14px; border-radius: 14px; background: var(--rose); font-size: 14px; color: var(--ink-2); }
.co-acct[hidden] { display: none; }
.co-acct .ico, .co-acct svg { flex: none; width: 18px; height: 18px; color: var(--rose-deep); margin-top: 1px; }
@media (max-width: 600px) { .acct__row { grid-template-columns: 1fr; } }

/* produto com uma so fotografia: sem miniaturas nem contador */
.gal--single { grid-template-columns: 1fr !important; }
.gal--single .gal__thumbs, .gal--single .gal__count { display: none !important; }
.ftr__addr { margin-top: 14px; font-size: 14px; line-height: 1.6; opacity: .85; }
.ftr__addr a:hover { text-decoration: underline; }
.mega__prod { transition: opacity .38s var(--ease), transform .38s var(--ease); }
.mega__prod.is-swap { opacity: 0; transform: translateY(6px); }
.pager__gap { display: grid; place-items: center; min-width: 22px; color: var(--muted); }
.pager ol { flex-wrap: wrap; justify-content: center; }
/* balao do carrinho: pequeno, so "Ver carrinho" */
.toast.toast--mini { padding: 0; gap: 0; }
.toast--mini a { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-bottom: 0; color: #fff; letter-spacing: .12em; }
.toast--mini a .ico, .toast--mini a svg { width: 16px; height: 16px; }

/* entrar com Google, Apple, Facebook */
.acct__social { display: grid; gap: 10px; }
.acct__sbtn { position: relative; display: flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 56px; border: 1px solid var(--line-strong); border-radius: 999px; background: #fff; font: 600 15px/1.2 var(--sans); color: var(--ink); transition: border-color .25s, box-shadow .25s; }
.acct__sbtn:hover { border-color: var(--ink); box-shadow: 0 8px 20px -14px rgba(0, 0, 0, .4); }
.acct__sbtn svg { position: absolute; left: 22px; width: 22px; height: 22px; }
.acct__or { display: flex; align-items: center; gap: 14px; margin: 22px 0 16px; color: var(--muted); font-size: 13.5px; }
.acct__or::before, .acct__or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
@media (min-width: 960px) { .gal--single .gal__tags { left: 18px; top: 18px; } }

/* texto das caixas de aceitar com links: um so bloco de texto (nao partir em colunas) */
.check > .check__t { flex: 1; width: auto; height: auto; border: 0; display: block; line-height: 1.5; }
.check > .check__t::after { content: none; }

/* rodape: espaco para o botao do WhatsApp nao tapar os pagamentos */
.ftr__bottom { padding-bottom: 96px; }
/* "Siga a JK.Store": frascos inteiros (sem cortar tampas) */
.h-social__item img { object-fit: contain; padding: 8%; }
@media (max-width: 600px) { .co__submit .btn--xl .btn__arrow { display: none; } .co__submit .btn--xl { padding-inline: 18px; } }

/* produto ainda sem fotografia: mostra a marca e o nome num fundo suave (em vez de uma caixa vazia) */
.media:has(.media__noimg) .media__fallback {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 12%;
  text-align: center; font: 400 clamp(1rem, 1.6vw, 1.5rem)/1.15 var(--serif); color: var(--ink);
  background: radial-gradient(60% 50% at 50% 55%, color-mix(in srgb, var(--rose) 70%, #fff) 0%, var(--bone, #FBF6F2) 75%);
}
.media:has(.media__noimg) .media__fallback em { font: 600 9.5px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--rose-deep); font-style: normal; }
.media__noimg { display: none; }

/* ---------- tamanhos (varios tamanhos do mesmo produto) ---------- */
a.card__add { text-decoration: none; }
.price__from { font-size: .78em; font-weight: 400; color: var(--ink-2, #6b5a60); margin-right: 2px; }
.size-pick { position: relative; display: inline-flex; align-items: center; min-width: 180px; }
.size-pick select { appearance: none; -webkit-appearance: none; width: 100%; font: inherit; font-size: 15px; color: var(--ink); background: var(--surface, #fff); border: 1px solid var(--line, #e6d6da); border-radius: 999px; padding: 12px 44px 12px 18px; cursor: pointer; }
.size-pick select:focus-visible { outline: 2px solid var(--accent, #B23A62); outline-offset: 2px; }
.size-pick::after { content: ''; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-70%) rotate(45deg); pointer-events: none; }

/* ---------- codigo de desconto (checkout) ---------- */
.dcode { margin: 18px 0 16px; padding: 14px 16px; border: 1px dashed rgba(var(--accent-rgb, 178, 58, 98), .45); border-radius: 14px; background: rgba(var(--accent-rgb, 178, 58, 98), .04); }
.dcode__t { display: block; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); margin: 0 0 8px; }
.dcode__row { display: flex; gap: 8px; }
.dcode__row input { flex: 1; min-width: 0; font: inherit; font-size: 15px; text-transform: uppercase; letter-spacing: .04em; padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--ivory, #fff); color: var(--ink); }
.dcode__row input::placeholder { text-transform: none; letter-spacing: 0; }
.dcode__row input:focus-visible { outline: 2px solid var(--accent, #B23A62); outline-offset: 1px; }
.dcode__msg { font-size: 13px; margin: 8px 0 0; min-height: 0; color: var(--muted); }
.dcode__msg:empty { display: none; }
.dcode__msg.is-err { color: #B4232F; }
.dcode__ok { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; }
.dcode__ok .ico { width: 18px; height: 18px; color: #2E7D4F; flex: none; }
.dcode__rm { margin-left: auto; background: none; border: 0; padding: 0; font: inherit; font-size: 13px; cursor: pointer; color: var(--ink); }
.sum .sum__disc { color: #2E7D4F; }
.confirm__pay { margin-left: 6px; vertical-align: middle; }
.opt--online .opt__price .ico { width: 16px; height: 16px; }

/* Portes calculados no checkout (tabela Nextexpress) */
.shipq { display: flex; flex-direction: column; gap: 10px; background: var(--bone); border-radius: 12px; padding: 12px 14px; font-size: 13px; color: var(--ink-2); margin: 0; }
p.shipq, .shipq__t { flex-direction: row; display: flex; gap: 10px; align-items: flex-start; margin: 0; }
.shipq .ico { width: 18px; height: 18px; flex: none; margin-top: 1px; color: var(--rose-deep); }
.shipq--err { color: var(--danger, #a3392f); }
.shipq__opts { display: grid; gap: 8px; }
.opt--sm { padding: 12px 14px; gap: 12px; }

/* Ajuda > Entregas: tabela dos portes */
.help__h { font: 500 20px/1.3 var(--serif, inherit); margin: 28px 0 8px; }
.table-wrap { overflow-x: auto; margin: 12px 0; }
.rates { width: 100%; border-collapse: collapse; font-size: 14px; }
.rates th, .rates td { text-align: left; vertical-align: top; padding: 12px 10px; border-bottom: 1px solid var(--sand, #e8e1d6); }
.rates th { font-weight: 500; width: 46%; }
.rates th small { display: block; font-weight: 400; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.rates td { font-variant-numeric: tabular-nums; line-height: 1.7; }

/* Rodape: frase sobre as marcas (revendedora autorizada) */
.ftr__note { font-size: 12px; opacity: .75; margin: 6px 0 0; }
