/* Closet Cabani — site de demonstração (10/11/2026)
   Pedido do Giovani: off-white e preto. O grafite da fachada (#535669) só em detalhe.
   Títulos em serifa (Cormorant Garamond), texto em Manrope, logo em Josefin Sans fina (parecida com o letreiro). */

:root {
  --off: #f5f1ea;
  --off-2: #ece6db;
  --off-3: #e2dacd;
  --linha: #d6cdbf;
  --preto: #111111;
  --preto-2: #262626;
  --cinza: #5d5852;
  --grafite: #535669;
  --whats: #25d366;
  --raio: 4px;
  --topo-h: 64px;
  --largura: 1240px;
  --gutter: 16px;
  --titulo: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --texto: "Manrope", system-ui, sans-serif;
  --marca: "Josefin Sans", "Manrope", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--topo-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--off); color: var(--preto);
  font: 500 1rem/1.6 var(--texto);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, select { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--titulo); font-weight: 500; line-height: 1.05; margin: 0; letter-spacing: -.005em; }
p { margin: 0; }
.junto { white-space: nowrap; }
:focus-visible { outline: 2px solid var(--preto); outline-offset: 3px; }
.sprite { position: absolute; }
.pular { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--preto); color: var(--off); padding: 8px 14px; font-weight: 700; }
.pular:focus { left: 8px; }
.ico { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 50px; padding: 0 26px; border-radius: 0;
  font: 700 .82rem/1 var(--texto); letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; border: 1.5px solid var(--preto);
  transition: background .2s, color .2s, border-color .2s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-preto { background: var(--preto); color: var(--off); }
.btn-preto:hover { background: var(--preto-2); }
.btn-linha { background: transparent; color: var(--preto); }
.btn-linha:hover { background: var(--preto); color: var(--off); }
.btn-claro { background: var(--off); color: var(--preto); border-color: var(--off); }
.btn-claro:hover { background: #fff; }
.btn-whats { background: var(--preto); color: var(--off); }
.btn-whats .ico { color: var(--whats); width: 1.35em; height: 1.35em; }
.btn-whats:hover { background: var(--preto-2); }
.ico-whats { color: #128c4a; }
.btn-linha:hover .ico-whats { color: var(--whats); }
.btn.feito, .btn.feito:hover { background: var(--grafite); border-color: var(--grafite); color: #fff; }
.btn[hidden] { display: none; }

/* ---------- Faixa e topo ---------- */
.faixa {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 26px;
  padding: 8px var(--gutter); background: var(--preto); color: var(--off);
  font: 500 .8rem/1.35 var(--texto); letter-spacing: .03em; text-align: center;
}
.faixa > span { display: inline-flex; align-items: center; gap: 7px; }
.faixa .ico { opacity: .8; }
@media (max-width: 600px) { .faixa-hora { display: none !important; } }

.topo {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 18px;
  padding: 10px max(var(--gutter), calc((100vw - var(--largura)) / 2));
  background: rgba(245, 241, 234, .95); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--linha);
}
.logo { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--preto); }
.logo-mono { width: 42px; height: 42px; flex: none; }
.logo-txt { font: 300 1.08rem/1 var(--marca); letter-spacing: .3em; text-transform: uppercase; padding-top: .18em; white-space: nowrap; }
.menu { display: flex; gap: 28px; margin-left: auto; }
.menu a { text-decoration: none; font: 600 .78rem/1 var(--texto); letter-spacing: .16em; text-transform: uppercase; padding: 8px 0; border-bottom: 1px solid transparent; }
.menu a:hover { border-color: var(--preto); }
.topo-insta { display: grid; place-items: center; width: 44px; height: 44px; color: var(--preto); }
.topo-insta .ico { width: 22px; height: 22px; }
.btn-carrinho {
  position: relative; display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 0 14px 0 16px; cursor: pointer;
  border: 1.5px solid var(--preto); background: var(--preto); color: var(--off);
  font: 700 .78rem/1 var(--texto); letter-spacing: .14em; text-transform: uppercase;
  transition: background .2s;
}
.btn-carrinho:hover { background: var(--preto-2); }
.btn-carrinho .ico { width: 1.35em; height: 1.35em; }
.btn-carrinho.chegou { animation: balanca .5s ease; }
@keyframes balanca { 25% { transform: rotate(-6deg) scale(1.06); } 55% { transform: rotate(5deg) scale(1.06); } 80% { transform: rotate(-2deg); } }
.carrinho-n {
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px;
  background: var(--off); color: var(--preto); font: 800 .76rem/22px var(--texto); text-align: center; letter-spacing: 0;
}
.carrinho-n[data-zero] { display: none; }
.carrinho-n.pulo { animation: pulo .45s ease; }
@keyframes pulo { 40% { transform: scale(1.5); } }
@media (prefers-reduced-motion: reduce) { .carrinho-n.pulo, .btn-carrinho.chegou { animation: none; } }
@media (max-width: 960px) {
  .menu { display: none; }
  .topo-insta { margin-left: auto; }
}
@media (max-width: 440px) {
  .topo { gap: 8px; }
  .logo { gap: 8px; }
  .logo-mono { width: 36px; height: 36px; }
  .logo-txt { font-size: .86rem; letter-spacing: .22em; }
  .carrinho-txt { display: none; }
  .btn-carrinho { padding: 0 10px 0 12px; gap: 6px; }
  .topo-insta { width: 40px; }
}
@media (max-width: 350px) { .topo-insta { display: none; } .btn-carrinho { margin-left: auto; } }

/* ---------- Estrutura das seções ---------- */
main > section { padding: 84px max(var(--gutter), calc((100vw - var(--largura)) / 2)); }
@media (max-width: 600px) { main > section { padding-top: 56px; padding-bottom: 56px; } }
.sec-cab { max-width: 720px; margin-bottom: 30px; }
.tag {
  display: inline-flex; align-items: center; gap: 12px;
  font: 700 .74rem/1 var(--texto); letter-spacing: .26em; text-transform: uppercase; color: var(--cinza);
  margin-bottom: 14px;
}
.tag::before { content: ""; width: 26px; height: 1px; background: currentColor; }
h2 { font-size: clamp(2.3rem, 5.4vw, 3.6rem); }
.sec-sub { color: var(--cinza); margin-top: 14px; font-size: 1.04rem; max-width: 60ch; }

/* ---------- Hero ---------- */
.hero {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center;
  padding-top: 64px !important;
}
.hero h1 { font-size: clamp(3.1rem, 7.4vw, 6rem); line-height: .98; }
.hero h1 em { font-style: italic; }
.hero-sub { font-size: 1.1rem; color: var(--cinza); margin-top: 24px; max-width: 34em; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; }
.hero-links a { display: inline-flex; align-items: center; gap: 7px; font: 600 .9rem/1 var(--texto); text-decoration: none; padding: 8px 0; border-bottom: 1px solid var(--linha); cursor: pointer; }
.hero-links a:hover { border-color: var(--preto); }
.prova { list-style: none; padding: 26px 0 0; margin: 30px 0 0; border-top: 1px solid var(--linha); display: flex; flex-wrap: wrap; gap: 12px 34px; color: var(--cinza); font-size: .88rem; }
.prova strong { display: block; font: 600 1.7rem/1.1 var(--titulo); color: var(--preto); }
.hero-fotos { position: relative; aspect-ratio: 1 / 1.02; }
.hf { position: absolute; margin: 0; overflow: hidden; background: var(--off-2); }
.hf img { width: 100%; height: 100%; object-fit: cover; }
.hf-1 { left: 0; top: 0; width: 60%; height: 100%; z-index: 2; }
.hf-1::after { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(245, 241, 234, .7); pointer-events: none; }
.hf-2 { right: 0; top: 4%; width: 37%; height: 44%; }
.hf-3 { right: 0; bottom: 4%; width: 37%; height: 44%; }
.hf-2 img { object-position: 50% 30%; }
@media (max-width: 880px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-top: 40px !important; }
  .hero-fotos { max-width: 560px; width: 100%; margin: 0 auto; }
}
@media (max-width: 600px) {
  .hero-btns .btn { flex: 1 1 100%; }
  .prova { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; font-size: .78rem; line-height: 1.35; }
  .prova strong { font-size: 1.3rem; }
}

/* ---------- Faixa que corre ---------- */
.faixa-corre { overflow: hidden; background: var(--preto); color: var(--off); padding: 16px 0; }
.faixa-trilho { display: flex; width: max-content; animation: rolar 45s linear infinite; }
.faixa-corre ul { list-style: none; margin: 0; padding: 0; display: flex; }
.faixa-corre li { font: italic 500 1.5rem/1 var(--titulo); white-space: nowrap; padding: 0 30px; position: relative; }
.faixa-corre li::after { content: ""; position: absolute; right: -3px; top: 50%; width: 6px; height: 6px; border: 1px solid currentColor; transform: translateY(-50%) rotate(45deg); opacity: .6; }
@keyframes rolar { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .faixa-trilho { animation: none; width: auto; }
  .faixa-trilho ul + ul { display: none; }
  .faixa-corre ul { flex-wrap: wrap; justify-content: center; row-gap: 12px; }
}

/* ---------- Catálogo ---------- */
.filtros {
  position: sticky; top: var(--topo-h); z-index: 30;
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  margin: 0 calc(-1 * var(--gutter)) 28px; padding: 12px var(--gutter);
  scroll-padding-inline: var(--gutter);
  background: rgba(245, 241, 234, .97); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--linha);
}
.filtros::-webkit-scrollbar { display: none; }
@media (max-height: 520px) { .filtros { position: static; } }
@media (min-width: 961px) { .filtros { flex-wrap: wrap; overflow: visible; margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; } }
.chip {
  flex: none; min-height: 42px; padding: 0 16px; cursor: pointer;
  border: 1px solid var(--linha); background: transparent; color: var(--preto);
  font: 600 .8rem/1 var(--texto); letter-spacing: .08em; text-transform: uppercase;
}
.chip small { font-weight: 600; font-size: .72rem; opacity: .6; margin-left: 6px; letter-spacing: 0; }
.chip:hover { border-color: var(--preto); }
.chip[aria-selected="true"] { background: var(--preto); color: var(--off); border-color: var(--preto); }

.cat-painel[hidden] { display: none; }
.cat-cab { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.cat-cab h3 { font-size: clamp(1.9rem, 3.6vw, 2.5rem); }
.cat-cab p { color: var(--cinza); font-size: .92rem; }
.grade { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 20px; }
@media (max-width: 1100px) { .grade { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .grade { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; } }
.mais-wrap { display: flex; justify-content: center; margin-top: 30px; }

.card { display: flex; flex-direction: column; min-width: 0; }
.card-foto { position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; padding: 0; border: 0; background: var(--off-2); cursor: zoom-in; overflow: hidden; }
.card-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s ease, transform .6s ease; }
.card-foto img.ativa { opacity: 1; }
.card:hover .card-foto img.ativa { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { .card:hover .card-foto img.ativa { transform: none; } }
.selo {
  position: absolute; left: 10px; top: 10px; z-index: 2;
  background: var(--off); color: var(--preto); padding: 6px 9px;
  font: 700 .64rem/1 var(--texto); letter-spacing: .14em; text-transform: uppercase;
}
.selo-escuro { background: var(--preto); color: var(--off); }
.n-fotos { position: absolute; right: 10px; top: 10px; z-index: 2; background: rgba(17, 17, 17, .72); color: var(--off); padding: 5px 7px; font: 700 .66rem/1 var(--texto); letter-spacing: .06em; }
.pontos { position: absolute; left: 0; right: 0; bottom: 10px; z-index: 2; display: flex; justify-content: center; gap: 5px; }
.pontos i { width: 6px; height: 6px; border-radius: 50%; background: rgba(245, 241, 234, .55); box-shadow: 0 0 0 1px rgba(0, 0, 0, .25); transition: background .3s, width .3s; }
.pontos i.ativa { background: var(--off); width: 16px; border-radius: 3px; }
.card-corpo { display: flex; flex-direction: column; gap: 3px; padding: 14px 0 0; flex: 1; }
.card-nome { font: 600 1.28rem/1.15 var(--titulo); }
.card-meta { font-size: .8rem; color: var(--cinza); line-height: 1.4; }
.card-preco { margin-top: 6px; font-size: .9rem; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.card-preco strong { font: 700 1.05rem/1 var(--texto); letter-spacing: .01em; }
.card-preco small { color: var(--cinza); font-size: .78rem; }
.card-preco.consulte { color: var(--cinza); font-size: .82rem; font-weight: 600; }
.card-acao { margin-top: auto; padding-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.card .btn { min-height: 44px; font-size: .72rem; padding: 0 10px; width: 100%; letter-spacing: .12em; }
.curto { display: none; }

/* Look com várias peças: cada peça tem o seu "+" */
.pecas { list-style: none; margin: 8px 0 0; padding: 0; border-top: 1px solid var(--linha); }
.pecas li { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--linha); font-size: .84rem; line-height: 1.3; }
.pecas span { min-width: 0; }
.pecas b { font-weight: 700; white-space: nowrap; }
.peca-add {
  flex: none; display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--preto); background: transparent; cursor: pointer;
  transition: background .2s, color .2s;
}
.peca-add .ico { width: 18px; height: 18px; }
.peca-add:hover { background: var(--preto); color: var(--off); }
.peca-add.feito { background: var(--grafite); border-color: var(--grafite); color: #fff; }
.pecas-total { font-size: .8rem; color: var(--cinza); margin-top: 8px; }
.pecas-total strong { color: var(--preto); }

@media (max-width: 600px) {
  .card-nome { font-size: 1.1rem; }
  .card .btn { min-height: 42px; font-size: .68rem; letter-spacing: .08em; }
  .longo { display: none; }
  .curto { display: inline; }
  .selo { left: 6px; top: 6px; font-size: .58rem; padding: 5px 6px; }
  .n-fotos { right: 6px; top: 6px; }
  .pecas li { font-size: .78rem; }
  .peca-add { width: 32px; height: 32px; }
}
.cat-aviso { margin-top: 36px; font-size: .84rem; color: var(--cinza); text-align: center; }

/* Voo da foto até a sacola */
.voo { position: fixed; z-index: 120; object-fit: cover; pointer-events: none; box-shadow: 0 12px 30px rgba(0, 0, 0, .25); }

/* ---------- Onde fica ---------- */
.onde { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: center; background: var(--off-2); }
.onde-foto { margin: 0; aspect-ratio: 3 / 4; overflow: hidden; }
.onde-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.onde-lista { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 16px; }
.onde-lista li { display: flex; gap: 14px; align-items: flex-start; }
.onde-lista .ico { width: 40px; height: 40px; padding: 10px; border: 1px solid var(--preto); border-radius: 50%; }
.onde-lista > li > span { color: var(--cinza); font-size: .92rem; line-height: 1.5; }
.onde-lista strong { display: block; color: var(--preto); font-weight: 700; font-size: 1rem; }
.onde-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.mapa { min-height: 420px; height: 100%; background: var(--off-3); }
.mapa iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; filter: grayscale(.35); }
@media (max-width: 1080px) {
  .onde { grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); }
  .mapa { grid-column: 1 / -1; min-height: 340px; }
  .mapa iframe { min-height: 340px; }
}
@media (max-width: 700px) {
  .onde { grid-template-columns: minmax(0, 1fr); }
  .onde-foto { aspect-ratio: 4 / 3; }
  .onde-foto img { object-position: 50% 20%; }
}

/* ---------- Avaliações ---------- */
.avaliacoes { background: var(--preto); color: var(--off); }
.aval { max-width: 820px; margin: 0 auto; text-align: center; }
.aval-cab { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.g-logo { width: 48px; height: 48px; background: #fff; border-radius: 50%; padding: 8px; }
.avaliacoes .tag { color: #b9b2a7; }
.aval-nota { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 26px; color: #cfc8bd; font-size: 1.02rem; max-width: 46ch; margin-left: auto; margin-right: auto; }
.aval-nota strong { color: var(--off); }
.estrelas { font-size: 1.7rem; letter-spacing: 6px; color: #6f6a62; line-height: 1; }
.estrelas.cheias { color: #e9b949; }
.aval-nota .nota { font: 600 3rem/1 var(--titulo); color: var(--off); }
.aval-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.avaliacoes .btn-preto { background: var(--off); color: var(--preto); border-color: var(--off); }
.avaliacoes .btn-preto:hover { background: #fff; }
.avaliacoes .btn-linha { color: var(--off); border-color: rgba(245, 241, 234, .6); }
.avaliacoes .btn-linha:hover { background: var(--off); color: var(--preto); }
@media (max-width: 600px) { .aval-btns .btn { flex: 1 1 100%; } }

/* ---------- Como comprar ---------- */
.passos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--linha); }
.passos li { padding: 30px 28px 10px 0; }
.passos li + li { padding-left: 28px; border-left: 1px solid var(--linha); }
.passo-n { display: block; font: italic 500 3.2rem/1 var(--titulo); color: var(--grafite); margin-bottom: 12px; }
.passos h3 { font-size: 1.7rem; }
.passos p { color: var(--cinza); margin-top: 8px; }
@media (max-width: 760px) {
  .passos { grid-template-columns: minmax(0, 1fr); }
  .passos li, .passos li + li { padding: 24px 0 20px; border-left: 0; border-bottom: 1px solid var(--linha); }
}

/* ---------- Contato ---------- */
.contato { border-top: 1px solid var(--linha); }
.canais { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.canal {
  display: flex; align-items: center; gap: 14px; padding: 18px; text-decoration: none; cursor: pointer;
  border: 1px solid var(--linha); background: transparent; transition: border-color .2s, background .2s;
}
.canal:hover { border-color: var(--preto); background: var(--off-2); }
.canal-ico { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--preto); color: var(--off); }
.canal-ico .ico { width: 22px; height: 22px; }
.canal-ico.whats { color: var(--whats); }
.canal strong { display: block; font-weight: 700; font-size: 1.02rem; }
.canal small { color: var(--cinza); font-size: .86rem; }
@media (max-width: 860px) { .canais { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Rodapé ---------- */
.rodape { text-align: center; padding: 56px var(--gutter) 96px; background: var(--preto); color: #bdb6ab; font-size: .9rem; }
.rodape-logo { display: inline-flex; flex-direction: column; align-items: center; gap: 14px; text-decoration: none; color: var(--off); margin-bottom: 22px; }
.rodape-logo svg { width: 84px; height: 84px; }
.rodape-logo .logo-txt { font-size: 1.3rem; letter-spacing: .34em; margin-right: -.34em; }
.rodape p + p { margin-top: 4px; }
.rodape-copy { font-size: .8rem; opacity: .7; margin-top: 16px !important; }

/* ---------- WhatsApp flutuante ---------- */
.whats-flutua {
  position: fixed; right: 18px; bottom: 18px; z-index: 50; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: var(--preto); color: var(--whats); box-shadow: 0 10px 26px rgba(0, 0, 0, .28);
  transition: opacity .25s, transform .25s, visibility .25s;
}
.whats-flutua svg { width: 30px; height: 30px; fill: currentColor; }
.whats-flutua.some { opacity: 0; visibility: hidden; transform: translateY(16px); }
@media (prefers-reduced-motion: reduce) { .whats-flutua { transition: none; } }

/* ---------- Carrinho (painel do lado direito) ---------- */
.carrinho { position: fixed; inset: 0; z-index: 95; }
.carrinho[hidden] { display: none; }
.carrinho-fundo { position: absolute; inset: 0; background: rgba(17, 17, 17, .5); animation: aparecer .25s ease; }
.carrinho-painel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%);
  display: flex; flex-direction: column; background: var(--off);
  box-shadow: -18px 0 40px rgba(0, 0, 0, .2); animation: entrar .3s ease;
}
@keyframes aparecer { from { opacity: 0; } }
@keyframes entrar { from { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) { .carrinho-fundo, .carrinho-painel { animation: none; } }
.carrinho-cab { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 16px 16px 22px; border-bottom: 1px solid var(--linha); }
.carrinho-cab h2 { font-size: 2rem; }
.carrinho-fechar { width: 44px; height: 44px; border: 1px solid var(--preto); background: transparent; cursor: pointer; display: grid; place-items: center; flex: none; }
.carrinho-fechar svg { width: 18px; height: 18px; fill: none; stroke: var(--preto); stroke-width: 2.2; stroke-linecap: round; }
.carrinho-fechar:hover { background: var(--off-2); }
.carrinho-lista { list-style: none; margin: 0; padding: 0 22px; flex: 1; overflow-y: auto; overscroll-behavior: contain; }
.ci { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--linha); }
.ci img { width: 76px; height: 95px; object-fit: cover; background: var(--off-2); }
.ci-nome { font: 600 1.15rem/1.15 var(--titulo); }
.ci-look { font-size: .76rem; color: var(--cinza); margin-top: 2px; }
.ci-preco { font-size: .86rem; color: var(--preto); margin-top: 3px; font-weight: 700; }
.ci-preco.consulte { color: var(--cinza); font-weight: 600; }
.ci-unico { font-size: .8rem; color: var(--cinza); margin-top: 6px; }
.ci-opcoes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.ci-opcoes select {
  min-height: 40px; padding: 0 30px 0 12px; border: 1px solid var(--preto); background: var(--off); cursor: pointer; border-radius: 0;
  font-weight: 600; font-size: .86rem; appearance: none; max-width: 100%;
  background-image: linear-gradient(45deg, transparent 50%, var(--preto) 50%), linear-gradient(135deg, var(--preto) 50%, transparent 50%);
  background-position: calc(100% - 15px) 52%, calc(100% - 10px) 52%; background-size: 5px 5px; background-repeat: no-repeat;
}
.ci-opcoes select:has(option[value=""]:checked) { border-style: dashed; color: var(--cinza); }
.ci-linha { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
.qtd { display: inline-flex; align-items: center; border: 1px solid var(--preto); }
.qtd button { width: 40px; height: 38px; border: 0; background: none; cursor: pointer; font-size: 1.25rem; line-height: 1; }
.qtd button:hover:not(:disabled) { background: var(--off-2); }
.qtd button:disabled { opacity: .35; cursor: default; }
.qtd-n { min-width: 24px; text-align: center; font-weight: 800; }
.ci-tirar { border: 0; background: none; cursor: pointer; color: var(--cinza); font-size: .86rem; text-decoration: underline; text-underline-offset: 3px; min-height: 40px; padding: 0 4px; }
.ci-tirar:hover { color: #9b2c22; }
.carrinho-vazio { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px; padding: 24px; color: var(--cinza); }
.carrinho-vazio[hidden] { display: none; }
.carrinho-vazio .ico { width: 52px; height: 52px; color: var(--linha); margin-bottom: 6px; }
.carrinho-vazio p:first-of-type { font: 500 1.8rem/1.1 var(--titulo); color: var(--preto); }
.carrinho-vazio .btn { margin-top: 18px; }
.carrinho-pe { padding: 16px 22px 22px; border-top: 1px solid var(--linha); background: var(--off-2); display: flex; flex-direction: column; gap: 12px; }
.carrinho-pe[hidden] { display: none; }
.carrinho-resumo { font-size: .9rem; color: var(--cinza); line-height: 1.45; }
.carrinho-resumo strong { color: var(--preto); }
.carrinho-resumo .falta { font-size: .82rem; }
.carrinho-pe .btn { width: 100%; min-height: 56px; font-size: .84rem; }
.carrinho-limpar { align-self: center; border: 0; background: none; cursor: pointer; color: var(--cinza); font-size: .86rem; text-decoration: underline; text-underline-offset: 3px; min-height: 36px; }
.carrinho-limpar:hover { color: var(--preto); }

/* Aviso "foi pro carrinho" */
.aviso {
  position: fixed; left: 50%; bottom: 18px; z-index: 92; width: max-content; max-width: calc(100% - 32px);
  display: flex; align-items: center; gap: 14px; padding: 10px 10px 10px 18px;
  background: var(--preto); color: var(--off); box-shadow: 0 10px 30px rgba(0, 0, 0, .3); font-weight: 600; font-size: .88rem;
  transform: translate(-50%, 24px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s;
}
.aviso.on { transform: translate(-50%, 0); opacity: 1; visibility: visible; }
.aviso span { min-width: 0; line-height: 1.3; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
@media (max-width: 600px) { .aviso { width: calc(100% - 32px); justify-content: space-between; } }
.aviso button {
  flex: none; min-height: 38px; padding: 0 14px; border: 0; cursor: pointer;
  background: var(--off); color: var(--preto); font: 700 .72rem/1 var(--texto); letter-spacing: .12em; text-transform: uppercase;
}
@media (prefers-reduced-motion: reduce) { .aviso { transition: none; } }

/* ---------- Foto aberta ---------- */
.lupa { position: fixed; inset: 0; z-index: 90; background: #0e0e0e; color: var(--off); display: flex; flex-direction: column; }
.lupa[hidden] { display: none; }
.lupa-fechar { position: absolute; right: 12px; top: 12px; z-index: 3; width: 46px; height: 46px; border: 1px solid rgba(245, 241, 234, .5); background: rgba(14, 14, 14, .85); cursor: pointer; display: grid; place-items: center; }
.lupa-fechar svg, .lupa-seta svg { width: 22px; height: 22px; fill: none; stroke: var(--off); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lupa-palco { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; position: relative; padding: 66px 12px 8px; }
.lupa-palco img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lupa-seta { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border: 1px solid rgba(245, 241, 234, .5); background: rgba(14, 14, 14, .85); cursor: pointer; display: grid; place-items: center; }
.lupa-seta[hidden] { display: none; }
.lupa-ant { left: 12px; }
.lupa-prox { right: 12px; }
.lupa-rodape { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 14px max(16px, calc((100vw - var(--largura)) / 2)) 18px; border-top: 1px solid #2a2a2a; }
.lupa-info { min-width: 0; }
.lupa-nome { font: 500 1.6rem/1.1 var(--titulo); }
.lupa-cont { font-size: .82rem; color: #b5aea3; margin-top: 4px; }
.lupa-cont a { color: var(--off); text-underline-offset: 3px; margin-left: 6px; }
.lupa-cont a[hidden] { display: none; }
@media (max-width: 600px) { .lupa-rodape .btn { width: 100%; } }
