/* Mangá Boom: visual "papel e nanquim" */
:root {
  --paper: #F4EEE2;
  --paper-2: #EDE5D5;
  --ink: #111111;
  --accent: #E4002B;
  --accent-dark: #B3122E;
  --muted: #3d3d3d;
  --muted-2: #4a4a4a;
  --white: #ffffff;
  --line-dark: #4a4a4a;
  --font-display: 'Dela Gothic One', sans-serif;
  --font-body: 'Zen Kaku Gothic New', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--ink); }
a:hover { color: var(--accent-dark); }
h1, h2, h3, p { margin: 0; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.display { font-family: var(--font-display); font-weight: 400; letter-spacing: .01em; }
.wrap { max-width: 1240px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Texturas de mangá */
.halftone { background-image: radial-gradient(rgba(17,17,17,.16) 1.1px, transparent 1.6px); background-size: 9px 9px; }
.halftone-light { background-image: radial-gradient(rgba(255,255,255,.13) 1.1px, transparent 1.6px); background-size: 9px 9px; }
.speed-ink { background-image: repeating-conic-gradient(from 0deg at 50% 55%, rgba(255,255,255,.16) 0deg 2deg, transparent 2deg 11deg); }

/* Animações */
@keyframes mbPop { 0% { transform: scale(.3) rotate(-20deg); opacity: 0 } 70% { transform: scale(1.15) rotate(-6deg); opacity: 1 } 100% { transform: scale(1) rotate(-8deg); opacity: 1 } }
@keyframes mbBlink { 0%, 100% { opacity: 1 } 50% { opacity: .3 } }
@keyframes mbBob { 0%, 100% { transform: translateY(0) rotate(-3deg) } 50% { transform: translateY(-8px) rotate(2deg) } }
@keyframes mbTicker { from { transform: translateX(0) } to { transform: translateX(-50%) } }
.pop { animation: mbPop .55s cubic-bezier(.2,1.5,.4,1) .3s both; }
.live-dot { animation: mbBlink 1.6s ease-in-out infinite; }
.bob { animation: mbBob 2.6s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  .pop, .live-dot, .bob, .ticker-track { animation: none !important; }
  .card, .btn { transition: none !important; }
}

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 18px;
  border: 2.5px solid var(--ink); border-radius: 4px;
  font-weight: 900; font-size: 15px; text-decoration: none; cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease;
  background: var(--white); color: var(--ink);
}
.btn:hover { transform: translate(-2px, -2px); color: inherit; }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { color: var(--white); }
.btn-accent { background: var(--accent); color: var(--white); }
.btn-accent:hover { color: var(--white); }
.btn-lg { min-height: 52px; padding: 0 20px; font-size: 16px; border-width: 3px; box-shadow: 5px 5px 0 var(--ink); }
.btn-ghost-light { background: transparent; color: var(--white); border-color: var(--white); font-weight: 700; font-size: 14px; }
.btn-ghost-light:hover { color: var(--white); }
.btn svg { flex: 0 0 auto; }

/* Topo */
.site-header { border-bottom: 3px solid var(--ink); background: var(--paper); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.logo { display: flex; align-items: center; gap: 4px; text-decoration: none; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo-words { display: flex; flex-direction: column; align-items: flex-end; line-height: 1; }
.logo-words .big { font-size: 28px; line-height: 1; }
.logo-words .ja { font-size: 11px; letter-spacing: .2em; margin-top: 4px; }
.logo svg { display: block; transform: rotate(-6deg); }
.main-nav { display: flex; flex-wrap: wrap; gap: 24px; font-weight: 700; font-size: 15px; }
.main-nav a { text-decoration: none; }
.header-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.live-pill { display: inline-flex; align-items: center; gap: 8px; border: 2.5px solid var(--ink); border-radius: 999px; padding: 6px 14px; font-weight: 900; font-size: 13px; background: var(--white); }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); display: inline-block; }

/* Banner: imagem inteira de fundo, com papel desfocado só atrás do texto */
.hero { position: relative; overflow: hidden; border-bottom: 3px solid var(--ink); background: var(--paper); min-height: clamp(480px, 40vw, 640px); display: flex; align-items: center; }
.hero-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.hero-scrim {
  position: absolute; top: 0; bottom: 0; left: 0;
  width: calc(max(24px, (100vw - 1240px) / 2 + 24px) + 660px);
  -webkit-backdrop-filter: blur(9px) saturate(.9); backdrop-filter: blur(9px) saturate(.9);
  background: linear-gradient(90deg, rgba(244,238,226,.95) 0%, rgba(244,238,226,.9) 62%, rgba(244,238,226,.55) 82%, rgba(244,238,226,0) 100%);
  -webkit-mask-image: linear-gradient(90deg, #000 70%, transparent 100%); mask-image: linear-gradient(90deg, #000 70%, transparent 100%);
}
.hero-inner { position: relative; width: 100%; padding-top: 48px; padding-bottom: 52px; }
.hero-copy { max-width: 560px; display: flex; flex-direction: column; gap: 18px; }
.hero-kicker { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.chip-ink { background: var(--ink); color: var(--white); padding: 5px 10px; font-size: 13px; letter-spacing: .12em; }
.chip-paper { font-weight: 900; font-size: 14px; background: var(--white); border: 2px solid var(--ink); padding: 3px 10px; }
.hero h1 { font-size: clamp(40px, 4.8vw, 72px); line-height: 1.04; }
.boom-word { color: var(--accent); -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; }
.hero-text { font-size: 18px; font-weight: 700; max-width: 26em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { font-size: 14px; color: var(--muted); font-weight: 500; }
@media (max-width: 1439px) { .hero-img { object-position: 35% center; } }
@media (max-width: 1199px) { .hero-img { object-position: 22% center; } }
/* Celular: título por cima da parte de baixo do banner, com desfoque subindo do pé da imagem */
@media (max-width: 820px) {
  .hero { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: clamp(200px, 30vw, 250px) auto auto auto auto auto; min-height: 0; align-items: start; }
  .hero-inner, .hero-copy { display: contents; }
  .hero-img { position: relative; grid-column: 1; grid-row: 1 / 4; height: 100%; object-position: 64% 30%; border-bottom: 3px solid var(--ink); }
  .hero-scrim {
    position: relative; grid-column: 1; grid-row: 2 / 4; width: auto; height: auto; align-self: stretch;
    margin-top: -70px; margin-bottom: 3px;
    -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px);
    background: linear-gradient(180deg, rgba(244,238,226,0) 0%, rgba(244,238,226,.72) 38%, rgba(244,238,226,.9) 100%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 45%); mask-image: linear-gradient(180deg, transparent 0, #000 45%);
  }
  .hero-kicker { grid-column: 1; grid-row: 2; position: relative; margin: 0 24px 12px; }
  .hero h1 { grid-column: 1; grid-row: 3; position: relative; margin: 0 24px 22px; }
  .hero-text { grid-column: 1; grid-row: 4; margin: 22px 24px 0; }
  .hero .cta-row { grid-column: 1; grid-row: 5; margin: 18px 24px 0; }
  .hero-note { grid-column: 1; grid-row: 6; margin: 14px 24px 36px; }
  .hero .cta-row:last-child { margin-bottom: 36px; }
}

/* Oferta do dia + mascote */
.spotlight { padding-top: 40px; padding-bottom: 56px; }
.spotlight-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: stretch; }
.boom-panel {
  flex: 1 1 360px; min-width: 0; position: relative; overflow: hidden; min-height: 290px;
  background-color: #F6D6CC; border: 4px solid var(--ink);
  display: flex; align-items: flex-end; padding: 16px 16px 0 6px;
}
.boom-panel .sfx { position: absolute; top: 12px; left: 14px; font-size: 40px; line-height: 1; transform: rotate(-8deg); letter-spacing: -.04em; }
.boom-panel .mascot { display: block; flex: 0 0 auto; margin-bottom: -6px; width: 220px; height: auto; }
.bubble-wrap { position: absolute; top: 58px; right: 16px; max-width: 200px; display: flex; flex-direction: column; align-items: flex-start; }
.bubble { background: var(--white); border: 3px solid var(--ink); border-radius: 26px; padding: 10px 16px; font-weight: 900; font-size: 17px; line-height: 1.25; }
.bubble-tail { display: block; margin: -3px 0 0 26px; }
.boom-caption { position: absolute; right: 12px; bottom: 12px; background: var(--ink); color: var(--white); font-size: 12px; font-weight: 700; padding: 4px 10px; }

.deal-panel { flex: 1 1 480px; min-width: 0; position: relative; background: var(--white); border: 4px solid var(--ink); display: flex; flex-direction: column; }
.deal-head { background: var(--ink); color: var(--white); display: flex; justify-content: space-between; align-items: center; padding: 8px 16px; gap: 12px; flex-wrap: wrap; }
.deal-head .display { font-size: 15px; }
.deal-head .when { font-size: 13px; color: #d6d6d6; }
.deal-body { display: flex; flex-wrap: wrap; gap: 20px; padding: 20px; align-items: center; flex: 1 1 auto; }
.deal-cover { flex: 0 0 150px; height: 210px; display: flex; align-items: center; justify-content: center; border: 3px solid var(--ink); background-color: #E8E2D4; }
.deal-cover img { max-width: 130px; max-height: 190px; object-fit: contain; box-shadow: 4px 4px 0 rgba(0,0,0,.3); background: var(--white); }
.deal-info { flex: 1 1 200px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.deal-info .meta { font-size: 13px; color: var(--muted-2); font-weight: 500; }
.deal-info .title { font-size: 19px; font-weight: 900; line-height: 1.25; }
.deal-info .old { font-size: 14px; color: var(--muted-2); text-decoration: line-through; }
.deal-info .price { font-size: 38px; line-height: 1; }
.deal-info .btn { align-self: flex-start; margin-top: 6px; }
.deal-panel .stamp-big { position: absolute; top: 18px; right: -18px; width: 112px; height: 112px; }
.coupon { display: inline-flex; align-self: flex-start; gap: 6px; align-items: center; border: 2px dashed var(--ink); padding: 3px 10px; font-size: 13px; font-weight: 700; background: #FFF6D6; }

/* Faixa rolante */
.ticker { background: var(--ink); color: var(--white); border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); overflow: hidden; padding: 14px 0; }
.ticker-track { display: inline-flex; white-space: nowrap; animation: mbTicker 38s linear infinite; }
.ticker-item { display: inline-flex; align-items: center; gap: 12px; padding: 0 22px; font-size: 18px; }
.ticker-item .pct { background: var(--accent); padding: 0 8px; }
.ticker-item .star { color: #8a8a8a; }

/* Seções */
.section { padding-top: 72px; padding-bottom: 88px; display: flex; flex-direction: column; gap: 28px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.section-title { display: flex; flex-direction: column; gap: 10px; }
.chapter { display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.chapter .cap { background: var(--ink); color: var(--white); padding: 4px 10px; font-size: 14px; }
.chapter .ja { font-size: 17px; letter-spacing: .1em; }
.section h2 { font-size: clamp(32px, 4vw, 46px); line-height: 1.05; }
.section .lede { font-size: 16px; color: var(--muted); max-width: 40em; }

.seg { display: flex; border: 2.5px solid var(--ink); border-radius: 4px; overflow: hidden; font-weight: 700; font-size: 14px; }
.seg a { min-height: 44px; padding: 0 16px; display: inline-flex; align-items: center; text-decoration: none; background: var(--white); color: var(--ink); }
.seg a + a { border-left: 2.5px solid var(--ink); }
.seg a[aria-current="true"] { background: var(--ink); color: var(--white); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { min-height: 44px; padding: 0 18px; border: 2.5px solid var(--ink); border-radius: 999px; background: var(--white); color: var(--ink); font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; text-decoration: none; }
.chip[aria-current="true"] { background: var(--ink); color: var(--white); }

/* Cards de oferta */
.offer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 28px; }
.card { background: var(--white); border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); display: flex; flex-direction: column; transition: transform .15s ease, box-shadow .15s ease; }
.card:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--ink); }
.card-cover { position: relative; height: 240px; border-bottom: 3px solid var(--ink); display: flex; align-items: center; justify-content: center; }
.card-cover img { max-width: 150px; max-height: 200px; object-fit: contain; box-shadow: 5px 5px 0 rgba(0,0,0,.28); background: var(--white); }
.card-tag { position: absolute; bottom: 12px; left: 12px; background: var(--white); border: 2px solid var(--ink); padding: 2px 9px; font-size: 12px; font-weight: 900; }
.card .stamp { position: absolute; top: -14px; right: -14px; width: 74px; height: 74px; transform: rotate(-8deg); }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1 1 auto; }
.card-meta { font-size: 13px; color: var(--muted-2); font-weight: 500; }
.card-title { font-size: 17px; font-weight: 900; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-prices { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.card-prices .price { font-size: 27px; line-height: 1; }
.card-prices .old { font-size: 14px; color: var(--muted-2); text-decoration: line-through; }
.card-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; }
.card-foot .btn { white-space: nowrap; padding: 0 14px; }
.store-pill { white-space: nowrap; font-size: 13px; font-weight: 700; border: 2px solid var(--ink); border-radius: 999px; padding: 3px 10px; }
.lowest { font-size: 12px; font-weight: 900; color: var(--accent-dark); }

/* Capa desenhada (quando a oferta não tem imagem) */
.book { width: 128px; height: 190px; border: 3px solid var(--ink); box-shadow: 5px 5px 0 rgba(0,0,0,.28); display: flex; flex-direction: column; overflow: hidden; color: var(--white); position: relative; }
.book::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 7px; background: rgba(0,0,0,.35); }
.book .b-title { background: var(--white); color: var(--ink); padding: 6px 8px 6px 12px; font-size: 13px; line-height: 1.12; border-bottom: 2px solid var(--ink); }
.book .b-vol { flex: 1 1 auto; display: flex; align-items: center; justify-content: center; font-size: 38px; }
.book .b-obi { background: var(--accent); border-top: 2px solid var(--ink); font-size: 10px; font-weight: 900; text-align: center; padding: 4px 0; letter-spacing: .1em; }

.empty { border: 3px dashed var(--ink); background: var(--white); padding: 32px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.empty .display { font-size: 24px; }

.pager { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* Lançamentos */
.dark { background-color: var(--ink); color: var(--white); border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); position: relative; overflow: hidden; }
.dark .watermark { position: absolute; right: -70px; top: 20px; font-size: 200px; line-height: 1; color: rgba(255,255,255,.06); writing-mode: vertical-rl; pointer-events: none; }
.dark .wrap { position: relative; }
.dark .chapter .cap { background: var(--white); color: var(--ink); }
.dark .lede { color: #d6d6d6; }
.dark .seg { border-color: var(--white); }
.dark .seg a { background: var(--ink); color: var(--white); }
.dark .seg a + a { border-left-color: var(--white); }
.dark .seg a[aria-current="true"] { background: var(--accent); }
.rel-list { display: flex; flex-direction: column; border-top: 2px solid var(--line-dark); }
.rel-row { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; padding: 18px 0; border-bottom: 2px solid var(--line-dark); }
.rel-date { flex: 0 0 72px; display: flex; flex-direction: column; align-items: center; background: var(--white); color: var(--ink); border: 3px solid var(--white); padding: 6px 0; }
.rel-date .d { font-size: 28px; line-height: 1; }
.rel-date .m { font-size: 12px; font-weight: 900; letter-spacing: .1em; }
.rel-info { flex: 1 1 180px; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.rel-info .t { font-size: 19px; font-weight: 900; }
.rel-info .p { font-size: 14px; color: #d6d6d6; }
.pill { font-size: 13px; font-weight: 900; padding: 4px 12px; border-radius: 999px; border: 2px solid var(--white); }
.pill-pre { background: var(--accent); color: var(--white); }
.pill-out { background: var(--white); color: var(--ink); }
.dark .empty-dark { border: 2px dashed var(--line-dark); padding: 28px; color: #d6d6d6; }

/* Coleção */
.collection { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 88px; padding-bottom: 88px; }
.collection-copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.collection-copy h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.08; }
.collection-copy p { font-size: 18px; font-weight: 500; max-width: 32em; }
.soon { background: var(--accent); color: var(--white); border: 3px solid var(--ink); padding: 4px 12px; font-size: 14px; transform: rotate(-3deg); box-shadow: 3px 3px 0 var(--ink); }
.shelf-wrap { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; padding-top: 96px; position: relative; }
.shelf-say { position: absolute; top: 0; left: 30%; display: flex; align-items: flex-start; gap: 8px; }
.shelf-say .bubble { font-size: 15px; box-shadow: 4px 4px 0 var(--ink); max-width: 240px; border-radius: 20px; }
.shelf { display: flex; align-items: flex-end; gap: 6px; padding: 0 12px; overflow-x: auto; }
.spine { flex: 0 0 34px; background: #1B2A4A; border: 2.5px solid var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 8px 0; color: var(--white); }
.spine .band { width: 18px; height: 4px; background: var(--accent); }
.spine .ja { font-size: 11px; writing-mode: vertical-rl; letter-spacing: .1em; }
.spine .n { font-size: 15px; }
.spine.missing { background: rgba(255,255,255,.6); border: 2.5px dashed var(--accent); justify-content: flex-end; color: var(--ink); }
.shelf-base { height: 12px; background: var(--ink); }
.legend { display: flex; gap: 18px; padding: 12px 12px 0; font-size: 14px; font-weight: 700; flex-wrap: wrap; }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 16px; height: 16px; display: inline-block; }

/* Guias */
.guides-band { border-top: 3px solid var(--ink); background: var(--paper-2); }
.guide-grid { display: flex; flex-wrap: wrap; gap: 28px; }
.guide-card { flex: 1 1 300px; min-width: 0; text-decoration: none; color: var(--ink); }
.guide-top { position: relative; overflow: hidden; display: flex; align-items: flex-end; justify-content: space-between; height: 130px; padding: 16px 20px; border-bottom: 3px solid var(--ink); }
.guide-top .num { font-size: 64px; line-height: .9; }
.guide-top .sfx { position: absolute; right: 12px; top: 8px; font-size: 30px; line-height: 1; color: rgba(17,17,17,.75); transform: rotate(-6deg); }
.guide-top .kicker { background: var(--white); border: 2px solid var(--ink); padding: 2px 10px; font-size: 12px; font-weight: 900; }
.guide-bottom { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 12px; }
.guide-bottom .t { font-size: 20px; font-weight: 900; line-height: 1.25; }
.guide-bottom .more { font-size: 15px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }

/* Páginas internas */
.page-head { border-bottom: 3px solid var(--ink); background: var(--white); }
.page-head .wrap { padding-top: 48px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 12px; }
.page-head h1 { font-size: clamp(32px, 5vw, 56px); line-height: 1.05; }
.page-head p { font-size: 18px; color: var(--muted); max-width: 40em; }
.prose { max-width: 760px; padding-top: 48px; padding-bottom: 88px; font-size: 18px; line-height: 1.7; }
.prose h2 { font-family: var(--font-display); font-weight: 400; font-size: 28px; line-height: 1.2; margin: 40px 0 12px; }
.prose h3 { font-size: 21px; font-weight: 900; margin: 28px 0 8px; }
.prose p { margin: 0 0 16px; }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 24px; }
.prose li { margin-bottom: 6px; }
.prose blockquote { margin: 0 0 16px; padding: 12px 18px; border-left: 0; border: 3px solid var(--ink); background: var(--white); box-shadow: 4px 4px 0 var(--ink); }
.prose img { border: 3px solid var(--ink); }
.prose a { font-weight: 700; }

/* Rodapé */
.site-footer { background: var(--ink); color: var(--white); border-top: 3px solid var(--ink); }
.site-footer .wrap { padding-top: 64px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 40px; }
.footer-top { display: flex; flex-wrap: wrap; gap: 48px; justify-content: space-between; }
.footer-brand { flex: 1 1 300px; display: flex; flex-direction: column; gap: 14px; }
.footer-brand p { color: #d6d6d6; max-width: 26em; }
.site-footer .logo { color: var(--white); }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col .h { font-weight: 900; font-size: 13px; letter-spacing: .1em; color: #bdbdbd; }
.footer-col a { color: var(--white); }
.footer-legal { border-top: 2px solid #3a3a3a; padding-top: 24px; display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: #cfcfcf; line-height: 1.6; }
.footer-legal .row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

/* ---------- Painel admin ---------- */
.admin { min-height: 100vh; }
.admin-bar { background: var(--ink); color: var(--white); }
.admin-bar .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; padding-bottom: 12px; }
.admin-bar nav { display: flex; flex-wrap: wrap; gap: 6px; }
.admin-bar nav a { color: var(--white); text-decoration: none; font-weight: 700; padding: 8px 12px; border-radius: 4px; }
.admin-bar nav a[aria-current="true"] { background: var(--accent); }
.admin-bar .brand { font-size: 18px; color: var(--white); text-decoration: none; }
.admin-main { padding-top: 32px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 28px; }
.admin-main h1 { font-family: var(--font-display); font-weight: 400; font-size: 32px; }
.admin-main h2 { font-family: var(--font-display); font-weight: 400; font-size: 22px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.stat { background: var(--white); border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); padding: 16px 18px; }
.stat .n { font-family: var(--font-display); font-size: 34px; line-height: 1.1; }
.stat .l { font-size: 14px; font-weight: 700; color: var(--muted); }
.panel { background: var(--white); border: 3px solid var(--ink); padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.flash { border: 3px solid var(--ink); background: #E3F4DD; padding: 12px 16px; font-weight: 700; }
.flash.err { background: #FBE0E0; }
.tbl-wrap { overflow-x: auto; border: 3px solid var(--ink); background: var(--white); }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th, .tbl td { padding: 10px 12px; border-bottom: 1.5px solid #ddd; text-align: left; vertical-align: middle; }
.tbl th { background: var(--paper-2); font-weight: 900; white-space: nowrap; }
.tbl td.thumb img { width: 44px; height: 60px; object-fit: contain; background: var(--paper); }
.tbl .actions { display: flex; flex-wrap: wrap; gap: 6px; }
.tbl .actions form { margin: 0; }
.mini { min-height: 34px; padding: 0 10px; font-size: 13px; border-width: 2px; }
.badge { display: inline-block; font-size: 12px; font-weight: 900; padding: 2px 8px; border: 2px solid var(--ink); border-radius: 999px; white-space: nowrap; }
.badge.ok { background: #E3F4DD; } .badge.wait { background: #FFF1C9; } .badge.off { background: #eee; } .badge.no { background: #FBE0E0; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.wide { grid-column: 1 / -1; }
.field label, .field .label { font-weight: 900; font-size: 14px; }
.field .hint { font-size: 13px; color: var(--muted); }
.field input[type="text"], .field input[type="url"], .field input[type="password"], .field input[type="date"], .field input[type="number"], .field select, .field textarea {
  min-height: 44px; padding: 8px 12px; border: 2.5px solid var(--ink); border-radius: 4px; background: var(--white); font: inherit; font-size: 15px; width: 100%;
}
.field textarea { min-height: 320px; font-family: ui-monospace, Consolas, monospace; font-size: 14px; line-height: 1.5; }
.checks { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.checks label { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; min-height: 32px; }
.checks input { width: 20px; height: 20px; accent-color: var(--accent); }
.login-box { max-width: 420px; margin: 80px auto; }
.code { font-family: ui-monospace, Consolas, monospace; background: var(--paper-2); border: 2px solid var(--ink); padding: 12px; overflow-x: auto; font-size: 13px; white-space: pre; }

/* Celular: duas colunas de ofertas e filtros que deslizam */
@media (max-width: 560px) {
  .chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; margin-right: -24px; padding-right: 24px; scrollbar-width: none; }
  .chips .chip { flex: 0 0 auto; }
  .offer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .card { box-shadow: 4px 4px 0 var(--ink); }
  .card-cover { height: 190px; }
  .card-cover img { max-width: 110px; max-height: 160px; }
  .book { width: 96px; height: 142px; }
  .book .b-title { font-size: 10px; padding: 5px 6px 5px 10px; }
  .book .b-vol { font-size: 28px; }
  .book .b-obi { font-size: 8px; }
  .card .stamp { width: 56px; height: 56px; top: -10px; right: -8px; }
  .card-tag { font-size: 11px; left: 8px; bottom: 8px; }
  .card-body { padding: 12px; gap: 4px; }
  .card-title { font-size: 14px; }
  .card-prices .price { font-size: 20px; }
  .card-prices .old { font-size: 12px; }
  .card-foot { flex-direction: column; align-items: stretch; }
  .card-foot .btn { width: 100%; }
  .store-pill { align-self: flex-start; font-size: 12px; }
  .main-nav { gap: 16px; font-size: 14px; }
  .section { padding-top: 56px; padding-bottom: 64px; }
}

.tbl td:last-child { min-width: 220px; }

/* Topo compacto no celular: logo + botão do canal + menu */
.mobile-actions { display: none; align-items: center; gap: 8px; }
.mobile-menu { position: relative; }
.mobile-menu summary { list-style: none; width: 44px; padding: 0; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu[open] summary { background: var(--ink); color: var(--white); }
.mobile-panel {
  position: absolute; right: 0; top: calc(100% + 10px); z-index: 50; min-width: 230px;
  background: var(--white); border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--ink);
  display: flex; flex-direction: column; padding: 12px; gap: 2px;
}
.mobile-panel a { font-weight: 900; font-size: 17px; text-decoration: none; padding: 10px 6px; border-bottom: 2px solid var(--paper-2); }
.mobile-panel a:last-child { border-bottom: 0; }
.mobile-panel .live-pill { margin-bottom: 6px; }
@media (max-width: 820px) {
  .site-header .wrap { flex-wrap: nowrap; padding-top: 10px; padding-bottom: 10px; }
  .main-nav, .header-actions { display: none; }
  .mobile-actions { display: flex; }
  .logo-words .big { font-size: 22px; }
  .logo-words .ja { font-size: 9px; }
  .logo svg { width: 70px; height: 50px; }
}

@media (max-width: 400px) {
  .site-header .wrap { gap: 10px; }
  .logo-words .big { font-size: 19px; }
  .logo svg { width: 58px; height: 42px; }
  .mobile-actions { gap: 6px; }
  .mobile-actions .btn-accent { padding: 0 12px; }
  .hero h1 { font-size: 34px; }
  .section h2, .collection-copy h2 { font-size: 28px; }
  .page-head h1 { font-size: 30px; }
  .seg a { padding: 0 12px; }
}

@media (max-width: 350px) {
  .mobile-actions .lbl { display: none; }
  .mobile-actions .btn-accent { width: 44px; padding: 0; }
}

/* Logo com o Boomzinho */
.logo { gap: 10px; }
.logo-mascot { display: block; width: 64px; height: auto; transform: rotate(-4deg); }
.logo-words { align-items: flex-start; }
.logo-words .big { font-size: 26px; white-space: nowrap; }
.logo-words .boom { color: var(--accent); -webkit-text-stroke: 1.5px var(--ink); paint-order: stroke fill; }
.logo-dark .logo-words .boom { -webkit-text-stroke: 0; }
.boom-panel .mascot { width: 300px; max-width: 62%; margin: 0 0 -4px 4px; }
@media (max-width: 820px) {
  .logo-mascot { width: 46px; }
  .logo-words .big { font-size: 19px; }
  .logo { gap: 6px; }
}
@media (max-width: 400px) {
  .logo-mascot { width: 40px; }
  .logo-words .big { font-size: 16px; }
  .logo-words .ja { display: none; }
}

@media (max-width: 350px) {
  .logo-mascot { width: 34px; }
  .logo-words .big { font-size: 14px; }
  .logo { gap: 5px; }
}

@media (max-width: 400px) {
  .mobile-actions .lbl { display: none; }
  .mobile-actions .btn-accent { width: 44px; padding: 0; }
  .logo-words .big { font-size: 15px; }
}
@media (max-width: 340px) {
  .logo-words .big { font-size: 14px; }
}

@media (max-width: 520px) {
  .mobile-actions .lbl { display: none; }
  .mobile-actions .btn-accent { width: 44px; padding: 0; }
}

/* Telas médias: menu compacto e sem o contador no topo */
@media (max-width: 1180px) {
  .header-actions .live-pill { display: none; }
}
@media (max-width: 980px) {
  .site-header .wrap { flex-wrap: nowrap; }
  .main-nav, .header-actions { display: none; }
  .mobile-actions { display: flex; }
}
