/* SKN · loja v10 · palco com a Ariane. Só as cores do brandbook v2.
   Uma regra por elemento: computador primeiro, depois o tablet e, no fim, um bloco único para o celular. */
:root {
  --preto: #16171C;
  --offwhite: #F3EEE5;
  --cappuccino: #452C23;
  --marinho: #0E1B2E;
  --dourado: #B68B45;
  --texto-claro: #6F6A5F;
  --texto-escuro: #9A9488;
  --linha: rgba(22, 23, 28, .16);
  --linha-clara: rgba(243, 238, 229, .16);
  --serifa: "Cormorant", Georgia, serif;
  --sans: "Plus Jakarta Sans", system-ui, sans-serif;
  --suave: cubic-bezier(.16, 1, .3, 1);
  --seda: cubic-bezier(.65, 0, .35, 1);
  --mola: cubic-bezier(.16, 1, .3, 1);
  --topo-h: 76px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { height: 100%; overscroll-behavior-y: none; scrollbar-width: thin; scrollbar-color: var(--texto-claro) transparent; }
body { min-height: 100%; }
body {
  background: var(--offwhite); color: var(--preto);
  font-family: var(--sans); font-weight: 400; font-size: 15px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
/* v17: a página rola só para mostrar o rodapé; com o look ou a sacola abertos, trava */
body.com-foco, body.com-sacola { overflow: hidden; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* letra mínima de 12 px; dourado só como linha, texto em tinta */
.et { font-size: 12px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; }
.ouro { color: var(--dourado); }

/* ---------- topo: fica por cima do look aberto, para a sacola estar sempre à mão ---------- */
.topo {
  position: fixed; inset: 0 0 auto; height: var(--topo-h); z-index: 1900; pointer-events: none;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 40px;
}
.topo nav { display: flex; gap: 28px; }
.topo nav:last-child { justify-content: flex-end; }
.topo .marca, .topo .dir { pointer-events: auto; }
.topo .et { display: inline-flex; align-items: center; min-height: 44px; opacity: 1; transition: opacity .3s; }
.topo .topo-esq { pointer-events: auto; justify-self: start; padding: 0 4px; }
.marca { display: grid; justify-items: center; align-content: center; gap: 4px; min-height: 44px; }
.marca svg { width: 46px; height: 13px; }
.marca span { font-family: var(--serifa); font-size: 22px; letter-spacing: .5em; margin-right: -.5em; line-height: 1; }
.gaveta-btn { display: inline-flex; align-items: center; gap: 8px; padding: 0 2px; }
.gaveta-btn b { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px; background: var(--preto); color: var(--offwhite); font-size: 12px; font-weight: 500; letter-spacing: 0; transition: transform .5s var(--mola); }
.gaveta-btn b.pula { animation: pula .6s var(--suave); }
@keyframes pula { 40% { transform: scale(1.35); } }

/* ---------- palco ---------- */
.palco { position: sticky; top: 0; height: 100vh; height: 100svh; z-index: 0; overflow: hidden; touch-action: pan-y; user-select: none; }
.palavra {
  position: absolute; left: 50%; top: 40%; transform: translate(calc(-50% + var(--px, 0px)), -50%);
  font-family: var(--serifa); font-weight: 300; font-size: min(36vw, 62vh); line-height: .8;
  letter-spacing: .3em; margin-right: -.3em; white-space: nowrap; pointer-events: none;
  color: transparent; -webkit-text-stroke: 1px var(--linha);
}
.palavra span { display: inline-block; transform: translateY(var(--sobe, 0)); transition: transform 1.6s var(--suave); }
.chao { position: absolute; left: 6%; right: 6%; height: 1px; background: var(--linha); pointer-events: none; }
.corpos { position: absolute; inset: 0; }
.corpo { position: absolute; left: 0; bottom: 0; transform-origin: 50% 100%; }
.palco:not(.parado) .corpo { will-change: transform; }
.palco:not(.pronto) .corpo { visibility: hidden !important; }  /* nada aparece antes de as fotos carregarem */
.corpo img { height: var(--alt); width: auto; pointer-events: none; -webkit-user-drag: none; }
.corpo .sombra, .heroi .sombra {
  position: absolute; left: 50%; bottom: 0; width: 70%; height: 4%; min-height: 10px;
  transform: translate(-50%, 45%); filter: blur(3px); pointer-events: none;
  background: radial-gradient(closest-side, rgba(22,23,28,.32), rgba(22,23,28,.12) 50%, rgba(22,23,28,0));
}
.corpo .toque { position: absolute; inset: 6% 22% 0; border-radius: 30px; }
.heroi { position: absolute; left: 0; bottom: 0; transform-origin: 50% 100%; opacity: 0; visibility: hidden; z-index: 1500; }
.parado .heroi.ativo { opacity: 1; visibility: visible; }
.heroi .camadas { position: relative; height: var(--alt); aspect-ratio: 1005 / 1800; }
.heroi .camadas img { position: absolute; inset: 0; width: 100%; height: 100%; }
.heroi .nova { clip-path: inset(0 0 100% 0); }
.heroi .grade { position: absolute; inset: 0; pointer-events: none; opacity: 0; mix-blend-mode: soft-light;
  background: repeating-linear-gradient(0deg, transparent 0 5px, rgba(243,238,229,.55) 5px 6px);
  -webkit-mask: var(--mascara) center / 100% 100% no-repeat; mask: var(--mascara) center / 100% 100% no-repeat; }
.heroi .risco, .foco-modelo .risco { position: absolute; left: -12%; right: -12%; height: 2px; top: 0; opacity: 0; pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--dourado) 18%, var(--dourado) 82%, transparent);
  box-shadow: 0 0 14px 2px rgba(182,139,69,.55); }
.heroi .zoom { position: absolute; inset: 6% 22% 0; border-radius: 30px; cursor: zoom-in; }
/* a modelo se mexe no palco: vídeo recortado por cima da foto, que fica por baixo enquanto ele carrega */
.heroi .filme { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; }
.heroi.com-filme .filme { opacity: 1; }
.heroi.com-filme .atual { opacity: 0; }

.brilho { position: absolute; inset: 0; z-index: 1550; pointer-events: none; overflow: hidden; mix-blend-mode: soft-light; }
.brilho::before { content: ""; position: absolute; top: -20%; bottom: -20%; width: 40%; opacity: 0;
  transform: translateX(-130%) skewX(-12deg);
  background: linear-gradient(100deg, transparent, rgba(243,238,229,.3) 42%, rgba(243,238,229,.7) 50%, rgba(243,238,229,.3) 58%, transparent); }
.palco.passa .brilho::before { animation: passa 1.5s var(--seda); }
@keyframes passa { 0% { opacity: 0; transform: translateX(-130%) skewX(-12deg); } 18% { opacity: 1; } 100% { opacity: 0; transform: translateX(330%) skewX(-12deg); } }

/* ---------- nome do look e cores, em volta da modelo ---------- */
.titulo-look { position: absolute; left: 48px; bottom: 120px; z-index: 1600; display: grid; gap: 10px; max-width: 360px; pointer-events: none; }
.titulo-look h1 { font-family: var(--serifa); font-weight: 400; font-size: clamp(34px, 3.6vw, 54px); line-height: 1; }
.titulo-look .rola { display: block; overflow: hidden; }
.titulo-look .rola > span { display: block; }
.titulo-look p { color: var(--texto-claro); font-size: 14px; }
.titulo-look .ouro, .foco-topo .ouro { color: var(--preto); }
.titulo-look .ouro::before, .foco-topo .ouro::before { content: ""; display: inline-block; width: 24px; height: 1px; background: var(--dourado); vertical-align: middle; margin-right: 10px; }
.cores-look { position: absolute; right: 48px; bottom: 120px; z-index: 1600; display: grid; gap: 12px; justify-items: end; }
.cores-look .bolas { display: flex; gap: 12px; }
.cores-look .nome-cor { color: var(--texto-claro); }
/* névoa da cor do fundo atrás dos textos do palco, para lerem bem com uma modelo passando por trás */
.titulo-look::before, .cores-look::before { content: ""; position: absolute; z-index: -1; inset: -40px -110px -30px -70px; pointer-events: none;
  background: radial-gradient(ellipse at 36% 56%, rgba(243,238,229,.94) 32%, rgba(243,238,229,0) 70%); }
.cores-look::before { inset: -40px -70px -30px -90px; background: radial-gradient(ellipse at 64% 56%, rgba(243,238,229,.94) 32%, rgba(243,238,229,0) 70%); }
/* cores: só as que existem; contorno para a off-white aparecer no creme */
.bola { position: relative; width: 30px; height: 30px; border-radius: 50%; background: var(--c); border: 1px solid rgba(22,23,28,.4); outline: 1px solid transparent; outline-offset: 4px; transition: outline-color .4s, transform .4s var(--mola); }
.bola:hover { transform: scale(1.12); }
.bola[aria-pressed="true"] { outline-color: var(--dourado); }
.bola:disabled { opacity: .25; cursor: default; transform: none; }
.bola::after, .cores-etq button::after { content: ""; position: absolute; inset: -8px; }
.ver-look { display: inline-flex; align-items: center; gap: 12px; padding: 14px 22px; border-radius: 99px; background: var(--preto); color: var(--offwhite); font-size: 12px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; transition: transform .5s var(--suave); }
.ver-look:hover { transform: translateY(-2px); }

/* ---------- setas e marcadores dos looks ---------- */
.controles { position: absolute; left: 48px; right: 48px; bottom: 36px; z-index: 1600; display: flex; align-items: center; gap: 18px; }
.icone { width: 44px; height: 44px; display: grid; place-items: center; position: relative; flex: none; }
.icone::before { content: ""; position: absolute; inset: 3px; border-radius: 50%; border: 1px solid currentColor; opacity: 0; transform: scale(.55); transition: transform .7s var(--suave), opacity .4s; }
.icone:hover::before { opacity: .22; transform: scale(1); }
.icone svg { transition: transform .5s var(--suave); }
.icone.ant:hover svg { transform: translateX(-4px); }
.icone.prox:hover svg { transform: translateX(4px); }
.marcas { flex: 1; display: flex; gap: 6px; min-width: 0; }
.marca-t { flex: 0 1 44px; min-width: 14px; height: 44px; display: flex; flex-direction: column; justify-content: center; gap: 9px; color: var(--texto-claro); text-align: left; transition: flex-basis .8s var(--suave), color .3s; }
.marca-t[aria-current="true"] { flex: 0 0 210px; color: var(--preto); }
.marca-t .barra { height: 2px; background: var(--linha); overflow: hidden; position: relative; }
.marca-t .barra::after { content: ""; position: absolute; inset: 0; background: var(--preto); transform: scaleX(0); transform-origin: left; }
.marca-t.passou .barra::after { transform: scaleX(1); opacity: .35; }
.marca-t[aria-current="true"] .barra::after { transform: scaleX(1); }
.tocando .marca-t[aria-current="true"] .barra::after { transform: scaleX(0); }
.tocando .marca-t.corre .barra::after { animation: enche var(--tempo, 5s) linear forwards; }
@keyframes enche { to { transform: scaleX(1); } }
.marca-t .rot { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.marca-t .rot i { font-style: normal; display: none; }
.marca-t[aria-current="true"] .rot i { display: inline; }
.icone.auto .pausa { display: none; }
.tocando .icone.auto .pausa { display: block; }
.tocando .icone.auto .toca { display: none; }

/* ---------- cursor ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 1700; pointer-events: none; }
.cursor .anel { position: absolute; left: -42px; top: -42px; width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--linha); background: rgba(243,238,229,.45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; transform: scale(.3); transition: transform .6s var(--suave), opacity .35s, background .35s, color .35s, border-color .35s; }
.cursor .anel b { grid-area: 1/1; font-size: 11px; font-weight: 500; letter-spacing: .24em; padding-left: .24em; text-transform: uppercase; transition: opacity .25s, letter-spacing .7s var(--suave); }
.cursor .ver { opacity: 0; }
.cursor.on .anel { opacity: 1; transform: scale(1); }
.cursor.ve .anel { background: var(--preto); color: var(--offwhite); border-color: var(--preto); }
.cursor.ve .arr { opacity: 0; }
.cursor.ve .ver { opacity: 1; }
.cursor.ponto .anel { transform: scale(.2); background: var(--preto); border-color: transparent; }
.cursor.ponto b { opacity: 0; }
.cursor.puxa .anel { transform: scale(.74); background: var(--preto); color: var(--offwhite); border-color: var(--preto); }
.cursor.puxa .arr { letter-spacing: .42em; }
.cursor.some .anel { opacity: 0; }
@media (hover: hover) and (pointer: fine) { .palco, .palco * { cursor: none !important; } }

/* ---------- look aberto: a modelo fica no meio, entre o cartão de informação e a etiqueta ---------- */
.foco { position: fixed; inset: 0; z-index: 1800; visibility: hidden; pointer-events: none; transition: visibility 0s linear .95s; }
.foco::before { content: ""; position: absolute; inset: 0; background: var(--offwhite); opacity: 0; transition: opacity .6s var(--suave) .15s; }
.com-foco .foco { visibility: visible; pointer-events: auto; transition: none; }
.com-foco .foco::before { opacity: 1; transition: opacity .45s; }
.com-foco .titulo-look, .com-foco .cores-look, .com-foco .controles, .com-foco .corpos, .com-foco .heroi { opacity: 0; pointer-events: none; transition: opacity .35s; }
.foco-topo { position: absolute; top: calc(var(--topo-h) + 4px); left: 32px; right: 440px; z-index: 3; display: flex; justify-content: space-between; align-items: flex-start; opacity: 0; transform: translateY(-10px); transition: opacity .8s .35s, transform 1s var(--suave) .35s; }
.com-foco .foco-topo { opacity: 1; transform: none; }
.foco-topo h2 { font-family: var(--serifa); font-weight: 400; font-size: 34px; line-height: 1; }
.fechar { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--linha); display: grid; place-items: center; background: rgba(243,238,229,.6); transition: transform .6s var(--suave), border-color .3s; }
.fechar:hover { transform: rotate(90deg); border-color: var(--preto); }
.foco-palco { position: absolute; top: calc(var(--topo-h) + 8px); bottom: 64px; left: 420px; right: 440px; display: flex; align-items: flex-end; justify-content: center; cursor: zoom-out; }
.foco:has(.com-giro) .foco-palco { top: calc(var(--topo-h) + 26px); bottom: 108px; }
.foco-modelo { position: relative; flex: none; transform-origin: 0 100%; transition: transform .95s var(--suave); cursor: grab; touch-action: none; perspective: 1800px; }
/* sem giro: frente e costas viram no próprio eixo, acompanhando o dedo */
.foco-modelo .camadas { position: relative; height: var(--alt); aspect-ratio: 1005 / 1800; transform-style: preserve-3d; transform: rotateY(var(--giro, 0deg)); transition: transform 1s var(--suave); }
.foco-modelo.girando .camadas { transition: none; }
.foco-modelo .camadas img { position: absolute; inset: 0; width: 100%; height: 100%; backface-visibility: hidden; -webkit-backface-visibility: hidden; transition: none; }
.foco-modelo .costas { transform: rotateY(180deg); }
.foco-modelo.virou .pino { opacity: 0 !important; pointer-events: none; }
/* troca de cor com o look aberto: a mesma linha dourada do palco */
.foco-modelo .troca { clip-path: inset(0 0 100% 0); transition: none; }
/* giro 360°: quadros desenhados numa tela */
.foco-modelo .giro-tela { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; touch-action: none; }
.foco-modelo.girando .giro-tela { cursor: grabbing; }
.foco-modelo.com-giro .camadas { transform: none; }

/* pinos das peças; com giro, só aparecem com ela de frente */
.pino { position: absolute; width: 44px; height: 44px; margin: -22px 0 0 -22px; display: grid; place-items: center; animation: pino-entra .9s var(--mola) backwards; animation-delay: calc(var(--i) * .11s + .6s); }
.pino b { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgba(243,238,229,.9); color: var(--preto); font-size: 12px; font-weight: 500; box-shadow: 0 4px 14px -4px rgba(22,23,28,.35); transition: transform .5s var(--suave), background .25s, color .25s; }
.pino b::after { content: ""; position: absolute; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(243,238,229,.8); animation: onda 2.6s cubic-bezier(.2,.6,.3,1) infinite; }
.pino:hover b, .pino.quente b { transform: scale(1.25); background: var(--preto); color: var(--offwhite); }
.pino .dica { position: absolute; left: calc(100% - 4px); top: 50%; white-space: nowrap; padding: 8px 14px; border-radius: 99px; background: rgba(243,238,229,.92); border: 1px solid var(--linha); font-size: 12px; letter-spacing: .06em; opacity: 0; transform: translate(-8px, -50%) scale(.96); transform-origin: left; transition: opacity .35s, transform .6s var(--suave); pointer-events: none; }
.pino:hover .dica, .pino.quente .dica { opacity: 1; transform: translate(0, -50%); }
@keyframes pino-entra { from { opacity: 0; transform: scale(0); } }
/* v20: cores de uma peça só (abre no pino ou tocando na roupa) */
.pino { cursor: pointer; }
.paleta { position: fixed; z-index: 1900; width: 200px; padding: 14px 14px 8px; border-radius: 14px; background: rgba(243,238,229,.97);
  border: 1px solid var(--linha); box-shadow: 0 14px 34px -16px rgba(22,23,28,.4); opacity: 0; visibility: hidden;
  transform: translateY(6px) scale(.98); transform-origin: 0 30px; transition: opacity .25s, transform .45s var(--suave), visibility 0s .45s; }
.paleta.on { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .45s var(--suave); }
.paleta .et { display: block; margin: 0 2px 6px; color: var(--texto-claro); }
.paleta button { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 44px; padding: 0 2px; font-size: 14px; text-align: left; color: var(--preto); }
.paleta button i { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--c); border: 1px solid rgba(22,23,28,.4);
  outline: 1px solid transparent; outline-offset: 3px; transition: outline-color .3s, transform .4s var(--mola); }
.paleta button:hover i { transform: scale(1.1); }
.paleta button[aria-pressed="true"] i { outline-color: var(--dourado); }
.paleta button:focus-visible { outline: 1px solid var(--preto); outline-offset: 2px; border-radius: 10px; }
@keyframes onda { 0% { transform: scale(.8); opacity: .9; } 100% { transform: scale(1.7); opacity: 0; } }
.foco-modelo.com-giro .pino { transform: scale(0); opacity: 0; transition: transform .35s var(--suave), opacity .25s; pointer-events: none; animation: none; }
.foco-modelo.com-giro.frente-giro .pino { transform: scale(1); opacity: 1; pointer-events: auto; }
.foco-modelo.com-giro.frente-giro .pino:nth-of-type(2) { transition-delay: .08s; }

/* "Ver de costas" e o grau do giro, embaixo da modelo */
.giro-ctl { display: contents; }
.gire { position: absolute; left: calc(50% - 10px); bottom: 10px; transform: translateX(-50%); min-height: 44px; padding: 0 20px;
  border: 1px solid var(--linha); border-radius: 99px; background: rgba(243,238,229,.7); color: var(--preto); text-align: center;
  opacity: 0; pointer-events: auto; transition: opacity 1s var(--suave) 1.1s, border-color .3s; }
.gire:hover { border-color: var(--preto); }
.com-foco .gire { opacity: 1; }
.giro-grau { display: none; position: absolute; left: calc(50% - 10px); bottom: 66px; transform: translateX(-50%); align-items: center; gap: 12px; color: var(--texto-claro); pointer-events: none; opacity: 0; transition: opacity 1s var(--suave) 1.1s; }
.giro-grau i { position: relative; width: 120px; height: 1px; background: var(--linha); }
.giro-grau i::after { content: ""; position: absolute; top: -3px; left: calc(var(--p, 0) * 100%); width: 7px; height: 7px; margin-left: -3.5px; border-radius: 50%; background: var(--preto); }
.giro-grau b { font-weight: 500; color: var(--preto); letter-spacing: .06em; min-width: 4ch; }
.com-foco .foco:has(.com-giro) .giro-grau { display: flex; opacity: 1; }

/* ---------- cartão de informação, vistas e linhas até as peças ---------- */
.info { position: absolute; left: 32px; top: calc(var(--topo-h) + 170px); width: 360px; z-index: 2; opacity: 0; transform: translateY(12px); transition: opacity .6s .3s, transform .9s var(--suave) .3s; }
.com-foco .info { opacity: 1; transform: none; }
/* papel com recorte de etiqueta: a borda fina é o fundo de fora aparecendo 1px */
.info-papel { position: relative; isolation: isolate; padding: 30px 26px 22px 34px; background: var(--linha); color: var(--preto);
  clip-path: polygon(0 0, 130px 0, 140px 8px, 100% 8px, 100% calc(100% - 8px), calc(100% - 200px) calc(100% - 8px), calc(100% - 210px) 100%, 10px 100%, 10px 110px, 0 102px); }
.info-papel::before { content: ""; position: absolute; inset: 1px; background: var(--offwhite); z-index: -1; clip-path: inherit; }
.info-nome { font-family: var(--serifa); font-weight: 400; font-size: 30px; line-height: 1.05; }
.info-nome small { display: block; margin-top: 8px; font-family: var(--sans); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--texto-claro); }
.info-linha { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; min-height: 22px; }
.info-preco { font-size: 15px; }
.info-selo { font-size: 12px; letter-spacing: .08em; padding: 3px 8px; border: 1px solid var(--linha); border-radius: 2px; }
.info-abas { margin-top: 16px; border-top: 1px solid var(--linha); }
.aba-t { width: 100%; display: flex; justify-content: space-between; align-items: center; min-height: 44px; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; border-bottom: 1px solid var(--linha); }
.aba-t i { font-style: normal; font-weight: 400; color: var(--texto-claro); letter-spacing: 0; }
.aba-c { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s cubic-bezier(.65,0,.25,1); }
.aba.aberta .aba-c { grid-template-rows: 1fr; }
.aba-c > div { overflow: hidden; }
.aba-c p { padding: 10px 0 14px; font-family: var(--serifa); font-size: 17px; line-height: 1.4; }
/* miniaturas de frente e costas com cantoneiras */
.vistas { position: absolute; left: 32px; bottom: 40px; z-index: 2; display: flex; gap: 12px; opacity: 0; transition: opacity .6s .5s; }
.com-foco .vistas { opacity: 1; }
.vista { position: relative; width: 56px; height: 56px; }
.vista canvas { width: 56px; height: 56px; display: block; filter: grayscale(1); opacity: .7; transition: filter .4s, opacity .4s; }
.vista.ativa canvas, .vista:hover canvas { filter: none; opacity: 1; }
.vista.ativa::before, .vista.ativa::after { content: ""; position: absolute; inset: -5px; pointer-events: none;
  background: linear-gradient(var(--preto), var(--preto)) 0 0 / 7px 1px no-repeat, linear-gradient(var(--preto), var(--preto)) 0 0 / 1px 7px no-repeat,
              linear-gradient(var(--preto), var(--preto)) 100% 0 / 7px 1px no-repeat, linear-gradient(var(--preto), var(--preto)) 100% 0 / 1px 7px no-repeat; }
.vista.ativa::after { transform: scaleY(-1); }
/* linhas finas ligando os cartões às peças */
.ligas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.liga { fill: none; stroke: var(--preto); stroke-width: 1; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: .5; transition: stroke-dashoffset .35s; }
.ligas.on .liga { stroke-dashoffset: 0; transition: stroke-dashoffset .7s var(--suave); }

/* ---------- etiqueta: sai impressa de uma fenda logo abaixo do topo ---------- */
.fenda { position: absolute; top: var(--topo-h); right: 56px; bottom: 0; width: 360px; z-index: 2; overflow: hidden; pointer-events: none; }
.etiqueta { position: relative; z-index: 2; max-height: calc(100% - 16px); overflow-y: auto; pointer-events: auto;
  display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 62px 32px 24px;
  background: var(--preto); color: var(--offwhite); text-align: center; border-radius: 0 0 14px 14px; transform: translateY(-105%); }
.etiqueta > * { flex: none; }
.etiqueta::before { content: ""; position: absolute; top: 22px; left: 50%; width: 14px; height: 14px; border-radius: 50%; background: var(--offwhite); transform: translateX(-50%); }
.com-foco .etiqueta { animation: imprime 1.2s var(--suave) .3s both; } /* v18: desce deslizando (antes eram 18 saltos, parecia travado) */
@keyframes imprime { from { transform: translateY(-105%); } to { transform: none; } }
@keyframes etq-sobe { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.etiqueta svg { width: 70px; height: 19px; }
.etiqueta .nome-skn { font-family: var(--serifa); font-size: 34px; letter-spacing: .45em; margin-right: -.45em; line-height: 1; }
.etiqueta .linha { width: 100%; height: 1px; background: var(--linha-clara); }
.campo { width: 100%; min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.campo .et i { font-style: normal; font-weight: 400; letter-spacing: .04em; text-transform: none; color: var(--texto-escuro); margin-left: 8px; }
.cores-etq { display: flex; gap: 16px; }
.cores-etq button { position: relative; width: 30px; height: 30px; border-radius: 50%; background: var(--c); border: 1px solid rgba(243,238,229,.45); outline: 1px solid transparent; outline-offset: 4px; transition: outline-color .4s; }
.cores-etq button[aria-pressed="true"] { outline-color: var(--dourado); }
.qual { min-height: 44px; font-size: 12px; text-decoration: underline; text-underline-offset: 4px; color: var(--texto-escuro); transition: color .3s; }
.qual:hover { color: var(--offwhite); }
/* tamanhos: destaque que desliza */
.tamanhos { position: relative; width: 100%; display: flex; gap: 6px; }
.tamanhos button { position: relative; z-index: 1; flex: 1; min-width: 44px; height: 44px; padding: 0; border-radius: 99px; border: 1px solid var(--linha-clara); font-size: 12px; letter-spacing: .1em; transition: background .3s, color .3s, transform .45s var(--mola); }
.tamanhos button:active { transform: scale(.94); }
.tamanhos button[aria-pressed="true"] { background: transparent; color: var(--preto); transition: color .3s .1s; }
.tamanhos.falta button { border-color: var(--dourado); }
.tamanhos .destaque { position: absolute; top: 0; height: 44px; border-radius: 99px; background: var(--offwhite); opacity: 0; transition: left .45s cubic-bezier(.65,0,.25,1), width .45s cubic-bezier(.65,0,.25,1), opacity .3s; pointer-events: none; }
.medidas { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; text-align: left; }
.medidas[hidden] { display: none; }
.medidas label { display: grid; gap: 6px; font-size: 12px; color: var(--texto-escuro); }
.medidas input { width: 100%; background: none; border: 0; border-bottom: 1px solid rgba(243,238,229,.4); border-radius: 0; color: var(--offwhite); font: inherit; font-size: 16px; padding: 6px 0; }
.medidas output { font-family: var(--serifa); font-size: 22px; line-height: 1.1; min-height: 24px; }
.medidas small { justify-self: end; align-self: end; font-size: 12px; color: var(--texto-escuro); }
.etiqueta .pecas { width: 100%; display: grid; gap: 0; text-align: left; list-style: none; }
.etiqueta .pecas li { display: grid; grid-template-columns: 26px 1fr auto 44px; gap: 10px; align-items: center; padding: 6px 0; font-size: 14px; border-bottom: 1px solid var(--linha-clara); transition: color .3s; }
.etiqueta .pecas li b { font-size: 12px; letter-spacing: .14em; color: var(--dourado); font-weight: 500; }
.etiqueta .pecas li small { color: var(--texto-escuro); font-size: 12px; letter-spacing: .08em; }
.etiqueta .pecas li.quente { color: var(--dourado); }
.mais { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--linha-clara); font-size: 18px; line-height: 1; color: var(--offwhite); transition: background .3s, color .3s, border-color .3s; }
.mais:hover, .mais.feito { background: var(--offwhite); color: var(--preto); border-color: var(--offwhite); }
/* adicionar à sacola */
.acoes { position: sticky; bottom: 20px; z-index: 1; width: 100%; display: flex; gap: 6px; }
.guardar { z-index: 1; flex: 1; width: 100%; min-height: 44px; padding: 0 8px; overflow: hidden; white-space: nowrap;
  background: var(--offwhite); color: var(--preto); font-size: 11px; font-weight: 500; letter-spacing: .07em; text-transform: uppercase; }
.guardar::before { content: ""; position: absolute; top: 0; bottom: 0; width: 60%; left: 0; transform: translateX(-140%) skewX(-18deg); background: linear-gradient(100deg, transparent, rgba(182,139,69,.35) 50%, transparent); }
.guardar:hover::before { transform: translateX(260%) skewX(-18deg); transition: transform 1.1s var(--suave); }
.guardar.feito { background: var(--dourado); color: var(--preto); }
.etiqueta .pe { position: relative; z-index: 2; color: var(--texto-escuro); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }

/* ---------- sacola ---------- */
.sacola-fundo { position: fixed; inset: 0; z-index: 2400; background: rgba(22,23,28,.4); opacity: 0; visibility: hidden; transition: opacity .5s, visibility 0s .5s; }
.com-sacola .sacola-fundo { opacity: 1; visibility: visible; transition: opacity .5s; }
.sacola { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); z-index: 2500; background: var(--preto); color: var(--offwhite); padding: 20px 28px 24px; display: flex; flex-direction: column; gap: 14px; transform: translateX(102%); visibility: hidden; transition: transform .8s var(--suave), visibility 0s .8s; }
.com-sacola .sacola { transform: none; visibility: visible; transition: transform .8s var(--suave); }
.sacola-topo { display: flex; justify-content: space-between; align-items: center; }
.sacola h2 { font-family: var(--serifa); font-weight: 400; font-size: 32px; line-height: 1; }
.fecha-sacola { min-height: 44px; font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; }
.sacola ul { list-style: none; flex: 1; overflow: auto; display: grid; align-content: start; }
.sacola li { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--linha-clara); font-size: 15px; }
.sacola li img { width: 44px; height: 72px; object-fit: contain; background: var(--offwhite); border-radius: 4px; }
.sacola li small { display: block; margin-top: 4px; font-size: 12px; color: var(--texto-escuro); }
.sacola li button { min-height: 44px; font-size: 12px; text-decoration: underline; text-underline-offset: 4px; color: var(--texto-escuro); }
.sacola li.vazia { display: block; border: 0; color: var(--texto-escuro); }
.sacola-pe { font-size: 12px; color: var(--texto-escuro); }

/* ---------- foto voando até a sacola e aviso ---------- */
.voa { position: fixed; z-index: 3000; pointer-events: none; }
.aviso-t { position: fixed; left: 50%; bottom: 28px; z-index: 3001; padding: 12px 20px; border-radius: 99px; background: var(--preto); color: var(--offwhite); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; opacity: 0; transform: translate(-50%, 16px); transition: opacity .25s, transform .5s var(--mola); pointer-events: none; }
.aviso-t.on { opacity: 1; transform: translate(-50%, 0); }

::selection { background: var(--preto); color: var(--offwhite); }
:focus-visible { outline: 2px solid var(--preto); outline-offset: 3px; }
.etiqueta :focus-visible, .sacola :focus-visible { outline-color: var(--offwhite); }

/* ================= tablet ================= */
@media (max-width: 1180px) and (min-width: 861px) {
  .info { width: 300px; }
  .foco-palco { left: 340px; }
}

/* ================= celular em primeiro lugar =================
   A da frente manda no palco, "Ver o look" fica ao alcance do dedão, e o look aberto é uma página que rola
   (modelo grande no alto, etiqueta e detalhes embaixo, sacola presa no pé). */
@media (max-width: 860px) {
  :root { --topo-h: calc(64px + env(safe-area-inset-top)); --pe-seguro: env(safe-area-inset-bottom); }
  .topo { padding: env(safe-area-inset-top) 18px 0; }
  .com-foco .topo { background: var(--offwhite); }

  /* ---- palco ---- */
  .titulo-look { left: 18px; bottom: calc(96px + var(--pe-seguro)); max-width: 60vw; }
  .titulo-look h1 { font-size: 30px; }
  .titulo-look p { display: none; }
  .cores-look { right: 18px; bottom: calc(96px + var(--pe-seguro)); gap: 14px; }
  .cores-look .nome-cor { display: none; }
  .cores-look .ver-look { min-height: 46px; padding: 0 20px; letter-spacing: .18em; }
  .controles { left: 12px; right: 12px; bottom: calc(14px + var(--pe-seguro)); }
  .controles .icone.ant, .controles .icone.prox { display: none; }
  .marca-t[aria-current="true"] { flex-basis: 64px; }
  .marca-t[aria-current="true"] .rot i { display: none; }

  /* ---- look aberto: uma página que rola ---- */
  .foco { display: flex; flex-direction: column; overflow: hidden; overscroll-behavior: contain; }
  .com-foco .foco { overflow-y: auto; }
  .foco::before { position: fixed; }
  .foco-topo { position: sticky; inset: auto; top: var(--topo-h); order: 1; flex: none; z-index: 4; margin-top: var(--topo-h); padding: 4px 14px 10px 18px; background: var(--offwhite); align-items: center; }
  .foco-topo .ouro { display: none; }
  .foco-topo h2 { font-size: 25px; line-height: 1.1; }
  .foco-topo .fechar { width: 46px; height: 46px; flex: none; }
  .foco-palco, .foco:has(.com-giro) .foco-palco { position: relative; order: 2; flex: none; inset: auto; margin: 0 12px;
    height: calc(100svh - var(--topo-h) - 62px - 78px - var(--pe-seguro) - 96px); min-height: 360px; cursor: default; }
  .foco-modelo, .foco-modelo .giro-tela { touch-action: pan-y; }

  /* botão e grau nas laterais, no pé da modelo; "Arraste para girar" aparece até o primeiro arrasto, depois volta o grau */
  .giro-ctl { display: flex; order: 3; flex: none; position: relative; z-index: 3; justify-content: space-between; align-items: center;
    height: 52px; margin: 2px 14px 0; pointer-events: none; }
  .giro-ctl .gire, .giro-ctl .giro-grau { position: static; inset: auto; transform: none; margin: 0; }
  .giro-ctl .gire { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; font-size: 11px; letter-spacing: .12em; background: rgba(243,238,229,.86); }
  .giro-grau i { width: 60px; }
  .giro-grau span { display: none; }
  body:not(.girou) .giro-grau span { display: inline; }
  body:not(.girou) .giro-grau i, body:not(.girou) .giro-grau b { display: none; }

  /* etiqueta inteira, no fluxo da página (sem rolagem dentro dela) */
  .fenda { position: relative; order: 4; flex: none; inset: auto; width: auto; margin: 14px 12px 0; overflow: visible; pointer-events: auto; }
  .etiqueta { width: 100%; max-height: none; overflow: visible; transform: none; padding: 58px 22px 26px; gap: 12px; border-radius: 16px; }
  .com-foco .etiqueta { animation: etq-sobe .8s var(--suave) .45s both; }
  .etiqueta .nome-skn { font-size: 30px; }
  .etiqueta .pe { margin-top: 6px; }

  /* detalhes do produto também no celular */
  .info { position: relative; order: 5; flex: none; inset: auto; width: auto; margin: 14px 12px 28px; }
  .vistas, .ligas { display: none; }
  .info-nome, .info-linha { display: none; }
  .info-papel { padding: 14px 22px 8px; }
  .info-abas { margin-top: 0; border-top: 0; }
  .info-abas .aba:last-child .aba-t { border-bottom: 0; }
  .aba-t { min-height: 52px; }

  /* ao fechar, etiqueta, detalhes e botões somem logo; só a modelo volta voando para o palco */
  .fenda, .info, .giro-ctl { transition: opacity .28s; }
  body:not(.com-foco) .fenda, body:not(.com-foco) .info, body:not(.com-foco) .giro-ctl { opacity: 0; }

  /* Adicionar à sacola: preso no pé da tela, sempre ao alcance */
  .acoes { order: 9; z-index: 5; flex: none; bottom: 0; width: auto; margin-top: auto; gap: 8px;
    padding: 10px 12px calc(12px + var(--pe-seguro)); background: var(--offwhite);
    opacity: 0; transform: translateY(24px); transition: opacity .5s, transform .7s var(--suave); }
  .com-foco .acoes { opacity: 1; transform: none; transition-delay: .5s; }
  .guardar { z-index: auto; min-height: 54px; border-radius: 99px; background: var(--preto); color: var(--offwhite); font-size: 12px; letter-spacing: .14em; }
  .aviso-t { bottom: calc(92px + var(--pe-seguro)); max-width: calc(100% - 32px); text-align: center; }

  /* sacola */
  .sacola { padding: calc(14px + env(safe-area-inset-top)) 20px calc(18px + var(--pe-seguro)); }
  .fecha-sacola { padding: 0 4px; }
  .sacola li { grid-template-columns: 56px 1fr auto; }
  .sacola li img { width: 56px; height: 90px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .etiqueta { transform: none; }
}

/* ---------- v17: rodapé. O palco fica parado e o rodapé sobe por cima dele ao rolar ---------- */
.topo { transition: opacity .4s var(--suave); }
.no-rodape .topo { opacity: 0; }
.no-rodape .topo * { pointer-events: none !important; }
.rodape {
  position: relative; z-index: 1; overflow: hidden; background: var(--preto); color: var(--offwhite);
  min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; /* cobre o palco inteiro no fim da rolagem */
  padding: clamp(72px, 9vw, 120px) 40px calc(28px + env(safe-area-inset-bottom));
}
.rodape-grade { width: 100%; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; align-items: start; max-width: 1320px; margin: 0 auto; }
.rodape-marca { display: inline-grid; justify-items: start; gap: 12px; justify-self: start; }
.rodape-marca svg { width: 64px; height: 17px; }
.rodape-marca span { font-family: var(--serifa); font-size: 28px; letter-spacing: .5em; line-height: 1; }
.rodape-col h2 { color: var(--texto-escuro); margin-bottom: 18px; }
.rodape-col ul { list-style: none; display: grid; gap: 2px; }
.rodape-col a {
  display: inline-flex; align-items: center; min-height: 40px; font-size: 15px;
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 9px) / 0 1px no-repeat;
  transition: background-size .5s var(--suave);
}
.rodape-col a:hover { background-size: 100% 1px; }
.rodape-palavra {
  margin: auto -.3em 0 0; padding-top: clamp(56px, 8vw, 104px); text-align: center; white-space: nowrap; user-select: none;
  font-family: var(--serifa); font-weight: 300; font-size: min(30vw, 400px); line-height: .8; letter-spacing: .3em;
  color: transparent; -webkit-text-stroke: 1px var(--linha-clara);
}
.rodape-fim {
  width: 100%; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; max-width: 1320px;
  margin: clamp(32px, 4vw, 48px) auto 0; padding-top: 22px; border-top: 1px solid var(--linha-clara);
  color: var(--texto-escuro); font-size: 12px; letter-spacing: .04em;
}
.rodape :focus-visible { outline-color: var(--offwhite); }
.rodape ::selection { background: var(--offwhite); color: var(--preto); }
@media (max-width: 860px) {
  .rodape { padding: 64px 18px calc(24px + env(safe-area-inset-bottom)); }
  .rodape-grade { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .rodape-marca { grid-column: 1 / -1; }
  .rodape-palavra { padding-top: 48px; }
  .rodape-fim { flex-direction: column; }
}
