/* Tela 03: catálogo (abas, marcas, busca, cartões claros) e ficha com sabor e tamanho. */
.wc-cat { --ink: #0e0c0c; --red: #f4070f; position: relative; min-height: 100vh; min-height: 100svh; padding: clamp(56px, 8vh, 96px) clamp(16px, 4.4vw, 64px) clamp(48px, 7vh, 80px); background: var(--ink); color: #f4f1f1; font-family: Archivo, sans-serif; }
.wc-cat > * { max-width: 1320px; margin-left: auto; margin-right: auto; }
.wc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wc-cat-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 22px; }
.wc-cat-kicker { margin: 0 0 14px; color: var(--red); font-size: 13px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; }
.wc-cat-title { margin: 0; font-family: Anton, sans-serif; font-weight: 400; text-transform: uppercase; line-height: 1; padding-top: .1em; font-size: clamp(48px, 7vw, 104px); }
.wc-cat-search { flex: 0 1 380px; }
.wc-cat-search input { width: 100%; height: 50px; padding: 0 18px; border-radius: 999px; border: 1px solid #3a3232; background: #171313; color: #fff; font: 500 15px Archivo, sans-serif; outline: none; }
.wc-cat-search input:focus { border-color: var(--red); }
.wc-cat-tabs, .wc-cat-brands { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.wc-cat-tabs::-webkit-scrollbar, .wc-cat-brands::-webkit-scrollbar { display: none; }
.wc-cat-tabs { margin-bottom: 12px; }
.wc-cat-tab, .wc-cat-chip { flex: 0 0 auto; border: 1px solid #3a3232; background: transparent; color: #d8d0d0; border-radius: 999px; cursor: pointer; font-family: Archivo, sans-serif; white-space: nowrap; }
.wc-cat-tab { height: 42px; padding: 0 18px; font-size: 14px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.wc-cat-chip { height: 34px; padding: 0 14px; font-size: 13px; font-weight: 600; }
.wc-cat-tab:hover, .wc-cat-chip:hover { border-color: #f4f1f1; color: #fff; }
.wc-cat-tab.is-on { background: #ec0610; border-color: #ec0610; color: #fff; }
.wc-cat-chip.is-on { background: #f4f1f1; border-color: #f4f1f1; color: var(--ink); }
.wc-cat-count { margin: 16px auto 14px; color: #8a8282; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.wc-cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.wc-cat-card { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 10px 10px 14px; border: 0; border-radius: 16px; background: #f7f5f5; color: #141010; text-align: left; cursor: pointer; font-family: Archivo, sans-serif; transition: transform .2s, box-shadow .2s; }
.wc-cat-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px -12px rgba(244,7,15,.55); }
.wc-cat-card:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.wc-cat-photo { display: block; width: 100%; aspect-ratio: 1 / 1; margin-bottom: 6px; border-radius: 10px; overflow: hidden; background: #fff; }
.wc-cat-photo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.wc-cat-brand { color: #c40610; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.wc-cat-name { font-family: Anton, sans-serif; font-size: 18px; line-height: 1.1; text-transform: uppercase; }
.wc-cat-info { color: #6a6262; font-size: 13px; }
.wc-cat-empty { margin-top: 24px; color: #b4acac; }
.wc-cat-more { display: flex; justify-content: center; margin-top: 28px; }
.wc-cat-more button { height: 52px; padding: 0 30px; border-radius: 999px; border: 1px solid #f4f1f1; background: transparent; color: #fff; font: 700 15px Archivo, sans-serif; cursor: pointer; }
.wc-cat-more button:hover { background: #fff; color: var(--ink); }

/* Ficha do produto */
.wc-ficha { position: fixed; inset: 0; z-index: 320; display: flex; align-items: center; justify-content: center; padding: 20px; animation: wcFade .25s both; }
.wc-ficha-bg { position: absolute; inset: 0; background: rgba(10,8,8,.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.wc-ficha-box { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); width: min(960px, 100%); max-height: calc(100svh - 40px); overflow: auto; border-radius: 22px; background: #151111; border: 1px solid #2c2424; box-shadow: 0 30px 80px -20px rgba(0,0,0,.8); }
.wc-ficha-close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 1px solid #4a4040; background: rgba(14,12,12,.7); color: #f4f1f1; font-size: 18px; cursor: pointer; }
.wc-ficha-photo { background: #fff; display: flex; align-items: center; justify-content: center; padding: 20px; }
.wc-ficha-photo img { width: 100%; max-width: 380px; aspect-ratio: 1 / 1; object-fit: contain; }
.wc-ficha-body { padding: 28px 28px 24px; display: flex; flex-direction: column; }
.wc-ficha-brand { margin: 0 0 4px; color: #ff4b50; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.wc-ficha-name { margin: 0 44px 6px 0; font-family: Anton, sans-serif; font-weight: 400; font-size: clamp(26px, 3vw, 38px); line-height: 1.05; text-transform: uppercase; }
.wc-ficha-detail { margin: 0 0 18px; color: #b4acac; font-size: 15px; }
.wc-ficha-label { margin: 6px 0 8px; color: #8a8282; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.wc-ficha-opts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.wc-opt { min-height: 38px; padding: 6px 14px; border-radius: 999px; border: 1px solid #3a3232; background: transparent; color: #e8e2e2; font: 600 13px Archivo, sans-serif; cursor: pointer; }
.wc-opt:hover { border-color: #f4f1f1; }
.wc-opt.is-on { background: var(--red, #f4070f); border-color: #f4070f; color: #fff; }
.wc-ficha-wa { display: flex; align-items: center; justify-content: center; height: 56px; margin-top: auto; border-radius: 14px; background: #ec0610; color: #fff; text-decoration: none; font-weight: 700; font-size: 16px; }
.wc-ficha-wa:hover { background: #ff2a31; color: #fff; }
.wc-ficha-note { margin: 10px 0 0; color: #8a8282; font-size: 12px; text-align: center; }

@media (max-width: 699px) {
 .wc-cat { padding-top: 48px; }
 .wc-cat-head { margin-bottom: 16px; }
 .wc-cat-search { flex: 1 1 100%; }
 .wc-cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
 .wc-cat-name { font-size: 15px; }
 .wc-cat-info { font-size: 12px; }
 .wc-ficha { padding: 0; align-items: flex-end; }
 .wc-ficha-box { grid-template-columns: 1fr; max-height: 92svh; border-radius: 22px 22px 0 0; }
 .wc-ficha-photo { padding: 14px; }
 .wc-ficha-photo img { max-width: 220px; }
 .wc-ficha-body { padding: 18px 18px max(18px, env(safe-area-inset-bottom)); }
 /* Botão do WhatsApp sempre à vista, mesmo em tela baixa (iPhone SE): fica colado na base da ficha enquanto rola. */
 .wc-ficha-wa { margin-top: 8px; position: sticky; bottom: 0; box-shadow: 0 0 0 10px #151111; }
}
@media (prefers-reduced-motion: reduce) { .wc-cat-card { transition: none; } .wc-ficha { animation: none; } }

/* Destaque rotativo (topo do catálogo): troca a cada 4,5 s, pausa com mouse/toque e tem botão de pausa. */
.wc-dest { position: relative; margin-bottom: 22px; border-radius: 20px; background: linear-gradient(110deg, #1b1414, #130f0f 60%, #2a0d10); border: 1px solid #2c2424; overflow: hidden; }
.wc-dest-slides { position: relative; min-height: clamp(190px, 22vw, 250px); }
.wc-dest-slide { position: absolute; inset: 0; display: flex; align-items: center; gap: clamp(16px, 3vw, 44px); padding: 14px clamp(14px, 2.4vw, 32px); border: 0; background: transparent; color: #fff; text-align: left; cursor: pointer; font-family: Archivo, sans-serif; opacity: 0; visibility: hidden; transform: translateX(28px); transition: opacity .55s ease, transform .55s ease, visibility 0s .55s; }
.wc-dest-slide.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .55s ease, transform .55s ease; }
.wc-dest-photo { flex: 0 0 auto; width: clamp(150px, 17vw, 220px); aspect-ratio: 1 / 1; border-radius: 16px; background: #fff; overflow: hidden; box-shadow: 0 16px 40px -16px rgba(244,7,15,.6); }
.wc-dest-photo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.wc-dest-txt { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; }
.wc-dest-tag { color: #ff4b50; font-size: 12px; font-weight: 800; letter-spacing: .26em; text-transform: uppercase; }
.wc-dest-brand { color: #b4acac; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.wc-dest-name { font-family: Anton, sans-serif; font-size: clamp(26px, 3.4vw, 50px); line-height: 1.02; text-transform: uppercase; }
.wc-dest-info { color: #b4acac; font-size: 14px; }
.wc-dest-cta { margin-top: 8px; padding: 11px 22px; border-radius: 999px; background: #ec0610; color: #fff; font-weight: 700; font-size: 14px; }
.wc-dest-slide:hover .wc-dest-cta { background: #fff; color: #f4070f; }
.wc-dest-slide:focus-visible { outline: 3px solid #f4070f; outline-offset: -4px; }
.wc-dest-ctrl { position: absolute; right: 16px; bottom: 12px; display: flex; align-items: center; gap: 12px; z-index: 2; }
.wc-dest-dots { display: flex; gap: 0; position: relative; }
/* Botão com 24 px de área de toque; a bolinha visível é desenhada dentro. */
.wc-dest-dot { position: relative; width: 24px; height: 24px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.wc-dest-dot::before { content: ''; position: absolute; left: 7px; top: 7px; width: 10px; height: 10px; border-radius: 50%; background: #4a4040; transition: width .2s, left .2s; }
.wc-dest-dot.is-on { width: 40px; }
.wc-dest-dot.is-on::before { left: 7px; width: 26px; border-radius: 6px; background: #f4070f; }
.wc-dest-pause { height: 32px; padding: 0 14px; border-radius: 999px; border: 1px solid #4a4040; background: rgba(14,12,12,.7); color: #e8e2e2; font: 600 12px Archivo, sans-serif; cursor: pointer; }
.wc-dest-pause:hover { border-color: #fff; color: #fff; }
@media (max-width: 699px) {
 .wc-dest-slides { min-height: 214px; }
 .wc-dest-slide { gap: 12px; padding: 12px 12px 44px; }
 .wc-dest-photo { width: 118px; }
 .wc-dest-name { font-size: 24px; }
 .wc-dest-info { font-size: 12px; }
 .wc-dest-cta { padding: 9px 16px; font-size: 13px; }
 .wc-dest-ctrl { left: 12px; right: 12px; justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) { .wc-dest-slide, .wc-dest-slide.is-on { transition: none; } }

/* Setas das faixas (só com mouse; no toque o dedo desliza). Aparecem apenas quando há mais itens para o lado. */
.wc-scroller { position: relative; }
.wc-arrow { display: none; }
@media (hover: hover) and (pointer: fine) {
 .wc-scroller.can-l::before, .wc-scroller.can-r::after { content: ''; position: absolute; top: 0; bottom: 4px; width: 64px; z-index: 2; pointer-events: none; }
 .wc-scroller.can-l::before { left: 0; background: linear-gradient(90deg, #0e0c0c 25%, rgba(14,12,12,0)); }
 .wc-scroller.can-r::after { right: 0; background: linear-gradient(270deg, #0e0c0c 25%, rgba(14,12,12,0)); }
 .wc-arrow { position: absolute; top: calc(50% - 2px); transform: translateY(-50%); z-index: 3; width: 30px; height: 30px; padding: 0; border-radius: 50%; border: 1px solid #4a4040; background: rgba(14,12,12,.92); color: #e8e2e2; display: none; align-items: center; justify-content: center; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
 .wc-arrow-l { left: 2px; } .wc-arrow-r { right: 2px; }
 .wc-scroller.can-l .wc-arrow-l, .wc-scroller.can-r .wc-arrow-r { display: flex; }
 .wc-arrow:hover { background: #ec0610; border-color: #f4070f; color: #fff; }
 .wc-arrow:focus-visible { outline: 2px solid #f4070f; outline-offset: 2px; }
}
