/* C&S Criative 3D – estilos
   Celular primeiro. Pontos de quebra:
   - até 767px  : celular  → 2 colunas, carrinho em tela cheia
   - 768px+     : tablet   → 3 colunas, carrinho lateral
   - 1100px+    : computador → 4 colunas                          */

/* ---------- fontes locais (sem Google: melhor para LGPD) ---------- */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fontes/poppins-400.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fontes/poppins-600.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fontes/poppins-800.woff2") format("woff2"); }

:root {
  --fundo: #051a20;          /* petróleo bem escuro (fundo da logo) */
  --fundo-2: #08242b;
  --cartao: #0d3038;
  --cartao-2: #12404a;
  --borda: rgba(255, 255, 255, .1);
  --texto: #f1f7f8;
  --texto-2: #b6c4c5;        /* prata (impressora e "&" da logo) */
  --azul: #3073b7;            /* azul das letras C&S */
  --azul-escuro: #2b6aab;
  --azul-claro: #4083cf;
  --verde: #63bf43;           /* verde-limão (canto da logo) */
  --turquesa: #3dbb85;        /* verde-água (centro da logo) */
  --laranja: #f5a524;
  --vermelho: #ff8a8a;
  --whats: #25d366;
  --gradiente: linear-gradient(135deg, #13959f 0%, #3dbb85 55%, #63bf43 100%); /* fundo da logo */
  --raio: 18px;
  --sombra: 0 10px 30px rgba(0, 0, 0, .35);
  --largura: 1200px;
  --lateral: 16px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 120px; }
body {
  margin: 0; min-width: 320px; overflow-x: hidden;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background-color: var(--fundo);
  background-image:
    radial-gradient(60rem 30rem at 110% -10%, rgba(61, 187, 133, .22), transparent 60%),
    radial-gradient(40rem 25rem at -20% 30%, rgba(48, 115, 183, .2), transparent 60%);
  background-repeat: no-repeat;
  color: var(--texto);
  line-height: 1.55;
}
body.travado { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: var(--verde); }
:focus-visible { outline: 3px solid var(--verde); outline-offset: 2px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pular { position: absolute; left: 8px; top: -60px; z-index: 100; background: #fff; color: #000; padding: 8px 12px; border-radius: 8px; }
.pular:focus { top: 8px; }

/* ---------- topo ---------- */
.topo {
  position: sticky; top: 0; z-index: 20;
  background: rgba(5, 26, 32, .88);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--borda);
  padding-top: env(safe-area-inset-top);
}
.topo-int {
  max-width: var(--largura); margin: 0 auto; padding: 8px var(--lateral);
  display: grid; grid-template-columns: 1fr auto; grid-template-areas: "marca carrinho" "menu menu";
  align-items: center; column-gap: 12px;
}
.marca { grid-area: marca; display: flex; align-items: center; gap: 10px; color: var(--texto); text-decoration: none; font-size: 1.05rem; min-width: 0; }
.marca img { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; flex: none; }
.marca span { white-space: nowrap; }
.marca strong { background: var(--gradiente); -webkit-background-clip: text; background-clip: text; color: transparent; }

.menu { grid-area: menu; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; margin: 6px calc(var(--lateral) * -1) -2px; padding: 0 var(--lateral); }
.menu::-webkit-scrollbar { display: none; }
.menu a { flex: none; padding: 6px 12px; border-radius: 999px; color: var(--texto-2); text-decoration: none; font-size: .85rem; font-weight: 600; }
.menu a:hover, .menu a[aria-current="page"] { color: var(--texto); background: var(--cartao); }

.btn-carrinho {
  grid-area: carrinho; position: relative; width: 48px; height: 48px; border-radius: 14px;
  border: 1px solid var(--borda); background: var(--cartao); display: grid; place-items: center;
}
.btn-carrinho svg { width: 24px; height: 24px; fill: var(--texto); }
.contador {
  position: absolute; top: -6px; right: -6px; min-width: 22px; height: 22px; padding: 0 6px;
  border-radius: 11px; background: var(--azul); color: #fff; font-size: .75rem; font-weight: 800;
  display: grid; place-items: center; box-shadow: 0 0 0 3px var(--fundo); animation: pulo .35s ease;
}
@keyframes pulo { 0% { transform: scale(.4); } 70% { transform: scale(1.2); } 100% { transform: scale(1); } }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 12px 22px; border: 0; border-radius: 14px;
  font-weight: 600; text-decoration: none; text-align: center; transition: transform .15s, filter .15s;
}
.btn:active { transform: scale(.97); }
.btn:hover { filter: brightness(1.08); }
.btn-primario { background: linear-gradient(135deg, var(--azul-escuro), var(--azul)); color: #fff; box-shadow: 0 8px 22px rgba(48, 115, 183, .4); }
.btn-secundario { background: var(--cartao); color: var(--texto); border: 1px solid var(--borda); }
.btn-whats { background: var(--whats); color: #05301a; box-shadow: 0 8px 22px rgba(37, 211, 102, .25); }
.btn-bloco { width: 100%; }
.btn-link { background: none; border: 0; color: var(--texto-2); text-decoration: underline; padding: 12px; width: 100%; }

/* ---------- hero ---------- */
.hero { display: grid; gap: 20px; padding: 24px var(--lateral) 8px; max-width: var(--largura); margin: 0 auto; }
.hero-local { margin: 0 0 6px; color: var(--texto-2); font-size: .85rem; }
.hero h1 { font-size: clamp(1.8rem, 7.5vw, 3.4rem); line-height: 1.12; margin: 0 0 12px; font-weight: 800; }
.destaque { background: var(--gradiente); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { color: var(--texto-2); margin: 0 0 20px; max-width: 36ch; }
.hero-botoes { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-botoes .btn { flex: 1 1 150px; }
.hero-logo {
  width: 100%; max-width: 440px; aspect-ratio: 1; object-fit: cover; justify-self: center;
  border-radius: 28px; box-shadow: var(--sombra), 0 0 60px rgba(61, 187, 133, .3);
  animation: flutuar 6s ease-in-out infinite;
}
@keyframes flutuar { 50% { transform: translateY(-8px); } }

/* ---------- seções ---------- */
.secao { max-width: var(--largura); margin: 0 auto; padding: 28px var(--lateral); }
.secao-cab { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.titulo-secao { font-size: 1.5rem; margin: 0 0 14px; line-height: 1.2; }
.resultado { color: var(--texto-2); font-size: .85rem; }

/* busca + filtros */
.busca { position: relative; margin-bottom: 12px; }
.busca svg { position: absolute; left: 14px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); fill: var(--texto-2); pointer-events: none; }
.busca input {
  width: 100%; font: inherit; font-size: 16px; padding: 13px 14px 13px 44px;
  border-radius: 14px; border: 1px solid var(--borda); background: var(--cartao); color: var(--texto);
}
.busca input:focus { outline: none; border-color: var(--verde); box-shadow: 0 0 0 3px rgba(99, 191, 67, .3); }
.filtros {
  display: flex; gap: 8px; overflow-x: auto; padding: 2px var(--lateral) 14px; margin: 0 calc(var(--lateral) * -1);
  scrollbar-width: none; scroll-snap-type: x proximity;
}
.filtros::-webkit-scrollbar { display: none; }
.chip {
  flex: none; scroll-snap-align: start; padding: 9px 18px; border-radius: 999px;
  border: 1px solid var(--borda); background: var(--cartao); color: var(--texto-2);
  font-weight: 600; font-size: .9rem; white-space: nowrap;
}
.chip.ativo { background: var(--gradiente); color: #04221a; border-color: transparent; }
/* 2ª linha: coleções (One Piece, Naruto…) */
.filtros + .subfiltros { margin-top: -6px; }
.subfiltros .chip { padding: 6px 14px; font-size: .82rem; }
.subfiltros .chip.ativo { background: var(--azul); color: #fff; }
.chip-link { background: transparent; color: var(--verde); border-style: dashed; }

/* grade de produtos */
.grade { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.card {
  position: relative; display: flex; flex-direction: column; background: var(--cartao);
  border: 1px solid var(--borda); border-radius: var(--raio); overflow: hidden; transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--sombra); }
.card-abrir { display: flex; flex-direction: column; flex: 1; color: inherit; text-decoration: none; }
.card-foto { position: relative; aspect-ratio: 1; background: var(--fundo-2); }
.card-foto img { width: 100%; height: 100%; object-fit: cover; }
.card-esgotado .card-foto img { filter: grayscale(.85) brightness(.7); }
.etiqueta {
  position: absolute; top: 8px; left: 8px; max-width: calc(100% - 50px); padding: 3px 9px; border-radius: 999px;
  background: rgba(5, 26, 32, .85); color: var(--verde); font-size: .68rem; font-weight: 700;
  border: 1px solid rgba(99, 191, 67, .45); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.etiqueta-encomenda { color: var(--laranja); border-color: rgba(245, 165, 36, .45); }
.etiqueta-esgotado { color: var(--vermelho); border-color: rgba(255, 138, 138, .45); }
.tem-video {
  position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(0, 0, 0, .6); font-size: .7rem;
}
.card-info { padding: 10px 12px 14px; display: grid; gap: 2px; flex: 1; align-content: start; }
.card-cat { color: var(--turquesa); font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.card-info h3 { margin: 0; font-size: .92rem; font-weight: 600; line-height: 1.25; padding-right: 40px; overflow-wrap: anywhere; }
.preco { color: var(--texto); font-size: 1.05rem; font-weight: 800; }
.card-add {
  position: absolute; right: 10px; bottom: 12px; width: 40px; height: 40px; border-radius: 12px;
  border: 0; background: var(--azul); color: #fff; font-size: 1.3rem; line-height: 1;
  display: grid; place-items: center; box-shadow: 0 6px 16px rgba(48, 115, 183, .45);
}
.card-add:active { transform: scale(.9); }
.card-add-off { background: var(--cartao-2); color: var(--texto-2); box-shadow: none; }
.vazio { color: var(--texto-2); text-align: center; padding: 30px 10px; grid-column: 1 / -1; display: grid; gap: 12px; justify-items: center; }
.vazio p { margin: 0; }
.vazio-dica { font-size: .9rem; }

/* como funciona */
.passos { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 12px; }
.passos li, .info { background: var(--cartao); border: 1px solid var(--borda); border-radius: var(--raio); padding: 18px; }
.passos h3, .info h3 { margin: 6px 0 4px; font-size: 1.05rem; }
.passos p, .info p { margin: 0; color: var(--texto-2); font-size: .92rem; }
.passo-num {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
  background: var(--gradiente); color: #04221a; font-weight: 800;
}
.infos { display: grid; gap: 12px; }
.info-icone { font-size: 1.6rem; }

/* banner personalizados */
.banner {
  display: grid; gap: 16px; padding: 24px; border-radius: 24px;
  background: var(--gradiente); color: #04221a;
}
.banner h2 { margin: 0 0 6px; font-size: 1.45rem; line-height: 1.2; }
.banner p { margin: 0; }
.banner .btn-whats { background: var(--fundo); color: #fff; box-shadow: none; }

/* páginas de texto (sobre / privacidade) */
.texto { max-width: 760px; }
.texto h1 { font-size: clamp(1.7rem, 6vw, 2.6rem); line-height: 1.15; margin: 8px 0 16px; }
.texto h2 { font-size: 1.2rem; margin: 28px 0 8px; }
.texto p, .texto li { color: var(--texto-2); }
.texto strong { color: var(--texto); }
.texto ul { padding-left: 20px; }
.texto .destaque-caixa { background: var(--cartao); border: 1px solid var(--borda); border-radius: var(--raio); padding: 16px 18px; }
.sobre-topo { display: grid; gap: 20px; align-items: center; }
.sobre-topo img { width: 100%; max-width: 360px; border-radius: 24px; box-shadow: var(--sombra); }
.valores { list-style: none; padding: 0 !important; display: grid; gap: 10px; }
.valores li { background: var(--cartao); border-radius: 14px; padding: 14px 16px; border: 1px solid var(--borda); }
.atualizado { font-size: .85rem; }

/* ---------- rodapé ---------- */
.rodape { border-top: 1px solid var(--borda); color: var(--texto-2); padding: 28px var(--lateral) 96px; }
.rodape-int { max-width: var(--largura); margin: 0 auto; display: grid; gap: 18px; }
.rodape-marca { display: flex; align-items: center; gap: 14px; }
.rodape-marca img { width: 72px; height: 72px; border-radius: 16px; object-fit: cover; }
.rodape-marca strong { color: var(--texto); font-size: 1.05rem; }
.rodape-marca p { margin: 0; font-size: .88rem; }
.rodape-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.rodape-links a { color: var(--texto); text-decoration: none; font-weight: 600; padding: 4px 0; }
.rodape-links a:hover { color: var(--verde); }
.rodape-nota { max-width: var(--largura); margin: 18px auto 0; font-size: .78rem; opacity: .75; }

/* ---------- WhatsApp flutuante ---------- */
.whats-flutuante {
  position: fixed; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 15;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: var(--whats); box-shadow: 0 8px 24px rgba(0, 0, 0, .4);
}
.whats-flutuante svg { width: 32px; height: 32px; fill: #fff; }
.whats-flutuante:hover { transform: scale(1.06); }

/* ---------- modais ---------- */
.modal {
  padding: 0; border: 0; color: var(--texto); background: var(--fundo-2);
  box-shadow: var(--sombra); overflow-y: auto; overscroll-behavior: contain;
}
.modal::backdrop { background: rgba(0, 0, 0, .6); backdrop-filter: blur(3px); }
.fechar {
  width: 42px; height: 42px; border-radius: 50%; border: 0; flex: none;
  background: rgba(0, 0, 0, .55); color: #fff; font-size: 1rem;
}

/* produto – celular: folha que sobe de baixo */
.modal-produto {
  width: 100%; max-width: 100%; max-height: 94vh; max-height: 94dvh;
  margin: auto 0 0; border-radius: 22px 22px 0 0;
}
.modal-produto[open] { animation: subir .28s ease-out; }
.modal-produto > .fechar { position: sticky; top: 10px; float: right; margin: 10px 10px -52px 0; z-index: 3; }
@keyframes subir { from { transform: translateY(40px); opacity: 0; } }

.galeria { background: #000; }
.palco { position: relative; }
.trilho { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.trilho::-webkit-scrollbar { display: none; }
.slide { position: relative; flex: 0 0 100%; aspect-ratio: 1; scroll-snap-align: center; display: grid; place-items: center; background: #000; }
.slide img, .slide video { width: 100%; height: 100%; object-fit: contain; }
.slide-video {
  position: relative; display: grid; place-items: center; width: 100%; height: 100%;
  padding: 0; border: 0; background: #000; color: #fff; text-decoration: none; cursor: pointer;
}
.slide-video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.video-rotulo {
  position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  padding: 6px 14px; border-radius: 999px; background: rgba(0, 0, 0, .7); font-size: .85rem; font-weight: 600;
}
.play {
  position: relative; z-index: 1; width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 0, 0, .9); font-size: 1.6rem; box-shadow: var(--sombra);
}
.seta {
  display: none; position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px;
  border-radius: 50%; border: 0; background: rgba(0, 0, 0, .55); color: #fff; font-size: 1.6rem; line-height: 1;
}
.seta-esq { left: 10px; } .seta-dir { right: 10px; }
.miniaturas { display: flex; gap: 8px; padding: 10px 16px; overflow-x: auto; background: var(--fundo-2); }
.mini {
  flex: none; width: 56px; height: 56px; padding: 0; border-radius: 10px; overflow: hidden;
  border: 2px solid transparent; background: var(--cartao); opacity: .6; font-size: .62rem; font-weight: 700;
}
.mini img { width: 100%; height: 100%; object-fit: cover; }
.mini.ativo { border-color: var(--verde); opacity: 1; }

.produto-info { padding: 14px 20px 24px; padding-bottom: max(24px, env(safe-area-inset-bottom)); display: grid; gap: 8px; }
.produto-info h2 { margin: 0; font-size: 1.4rem; line-height: 1.2; overflow-wrap: anywhere; }
.preco-grande { font-size: 1.6rem; }
.descricao { color: var(--texto-2); margin: 2px 0 6px; white-space: pre-line; }
.aviso-status { margin: 0; padding: 8px 12px; border-radius: 10px; background: rgba(245, 165, 36, .12); color: var(--laranja); font-size: .88rem; font-weight: 600; }
.aviso-esgotado { background: rgba(255, 138, 138, .12); color: var(--vermelho); }
.campo { font-weight: 600; font-size: .9rem; }
.produto-info input, .form-dados input, .form-dados textarea {
  width: 100%; font: inherit; font-size: 16px; /* evita zoom no iPhone */
  padding: 13px 14px; border-radius: 12px; border: 1px solid var(--borda); background: var(--cartao); color: var(--texto);
}
.produto-info input:focus, .form-dados input:focus, .form-dados textarea:focus { border-color: var(--verde); outline: none; box-shadow: 0 0 0 3px rgba(99, 191, 67, .3); }
.form-dados textarea { resize: vertical; min-height: 80px; }
.acoes { display: grid; gap: 10px; margin-top: 4px; }
.btn-compartilhar { padding: 8px; font-size: .88rem; }

.qtd { display: inline-flex; align-items: center; gap: 4px; background: var(--cartao); border-radius: 14px; padding: 4px; width: fit-content; }
.qtd button { width: 42px; height: 42px; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .07); font-size: 1.2rem; }
.qtd-num { min-width: 36px; text-align: center; font-weight: 700; }
.qtd-pequena { margin-top: 4px; padding: 2px; }
.qtd-pequena button { width: 34px; height: 34px; font-size: 1rem; }

/* carrinho – celular: TELA CHEIA */
.modal-carrinho {
  width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; border-radius: 0;
  display: none; flex-direction: column;
}
.modal-carrinho[open] { display: flex; animation: subir .25s ease-out; }
.carrinho-cab {
  position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 16px; padding-top: max(14px, env(safe-area-inset-top));
  background: var(--fundo-2); border-bottom: 1px solid var(--borda);
}
.carrinho-cab h2 { margin: 0; font-size: 1.25rem; }
.fechar-fixo { background: var(--cartao); }
.carrinho-corpo { padding: 16px; padding-bottom: max(24px, env(safe-area-inset-bottom)); }
.itens { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.item { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; align-items: center; background: var(--cartao); border-radius: 14px; padding: 10px; }
.item img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; }
.item-info { display: grid; min-width: 0; }
.item-nome { font-weight: 600; font-size: .92rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.item-obs { color: var(--turquesa); font-size: .78rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.item-preco { color: var(--texto-2); font-size: .78rem; }
.item-lado { display: grid; justify-items: end; gap: 8px; text-align: right; }
.remover { border: 0; background: none; color: var(--vermelho); font-size: .78rem; text-decoration: underline; padding: 4px 0; }
.resumo { margin-top: 16px; display: grid; gap: 4px; }
.total { display: flex; justify-content: space-between; align-items: baseline; margin: 8px 0 12px; font-size: 1.05rem; }
.total strong { font-size: 1.45rem; }
.form-dados { display: grid; gap: 14px; align-content: start; }
.form-intro { margin: 0; color: var(--texto-2); font-size: .9rem; }
.form-dados label { display: grid; gap: 6px; font-weight: 600; font-size: .9rem; }
.opcional { color: var(--texto-2); font-weight: 400; }
.erro { margin: 0; color: var(--vermelho); font-weight: 600; font-size: .9rem; }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: 88px; z-index: 60; transform: translate(-50%, 160px);
  width: max-content; max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 14px;
  background: #fff; color: var(--fundo); font-weight: 600; font-size: .9rem; box-shadow: var(--sombra);
  transition: transform .3s ease; pointer-events: none;
}
.toast.visivel { transform: translate(-50%, 0); }

/* ---------- celulares bem estreitos (≤ 360px) ---------- */
@media (max-width: 380px) {
  :root { --lateral: 12px; }
  .grade { gap: 10px; }
  .card-info { padding: 8px 10px 12px; }
  .card-info h3 { font-size: .85rem; padding-right: 0; }
  .preco { font-size: .95rem; }
  .card-add { width: 36px; height: 36px; right: 8px; bottom: 10px; }
  .card-info .preco { padding-right: 40px; }
  .marca { font-size: .95rem; }
  .menu { gap: 0; }
  .menu a { padding: 6px 9px; font-size: .8rem; }
}

/* ---------- tablet (768px+) ---------- */
@media (min-width: 768px) {
  :root { --lateral: 24px; }
  html { scroll-padding-top: 84px; }
  .topo-int { grid-template-columns: auto 1fr auto; grid-template-areas: "marca menu carrinho"; }
  .menu { margin: 0; padding: 0; justify-content: flex-end; }
  .menu a { font-size: .9rem; }
  .grade { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .passos, .infos { grid-template-columns: repeat(3, 1fr); }
  .banner { grid-template-columns: 1fr auto; align-items: center; padding: 32px; }
  .rodape { padding-bottom: 40px; }
  .rodape-int { grid-template-columns: auto 1fr; align-items: center; }
  .rodape-links { justify-content: flex-end; }
  .sobre-topo { grid-template-columns: 1fr 300px; }

  /* produto: janela centralizada */
  .modal-produto { width: calc(100% - 48px); max-width: 640px; max-height: 90vh; margin: auto; border-radius: 24px; }
  .seta { display: grid; place-items: center; }

  /* carrinho: PAINEL LATERAL à direita */
  .modal-carrinho {
    width: 420px; max-width: 100%; height: 100%; max-height: 100%;
    margin: 0 0 0 auto; border-radius: 24px 0 0 24px;
  }
  .modal-carrinho[open] { animation: deslizar .28s ease-out; }
}
@keyframes deslizar { from { transform: translateX(60px); opacity: 0; } }

/* ---------- computador (1100px+) ---------- */
@media (min-width: 1100px) {
  .hero { grid-template-columns: 1.15fr .85fr; align-items: center; padding-top: 56px; padding-bottom: 24px; }
  .grade { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
  .secao { padding-top: 40px; padding-bottom: 40px; }
  .titulo-secao { font-size: 1.9rem; }
  .modal-produto { max-width: 980px; }
  .produto { display: grid; grid-template-columns: 1.1fr 1fr; }
  .galeria { border-radius: 24px 0 0 24px; overflow: hidden; }
  .produto-info { align-content: center; padding: 32px; }
  .modal-produto > .fechar { margin-bottom: -52px; }
}

@media (hover: none) { .card:hover { transform: none; box-shadow: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
