/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, sans-serif; color: #1a1a2e; background: #f8f9fc; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Variables ───────────────────────────────────────────── */
:root {
  --primary: #6C63FF;
  --primary-dark: #5A52E0;
  --secondary: #FF6B6B;
  --dark: #1a1a2e;
  --text: #374151;
  --text-muted: #9CA3AF;
  --border: #E5E7EB;
  --bg: #f8f9fc;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 2px 12px rgba(0,0,0,.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.12);
}

/* ── Container ───────────────────────────────────────────── */
.container { width: 100%; padding: 0 clamp(12px, 2.5%, 40px); }

/* ══════════════════════════════════════════════════════════
   HEADER — estilo KaBuM
   Classe raiz: ps-header (prefixo ps = PlayShoping)
   ══════════════════════════════════════════════════════════ */

/* ── Linha 1: fundo escuro — logo | busca | admin ─────────── */
.ps-header { position: sticky; top: 0; z-index: 100; background: #0f1117; box-shadow: 0 2px 16px rgba(0,0,0,.5); }

.ps-topbar { background: #0f1117; }

.ps-topbar-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: clamp(10px, 2vw, 20px);
  width: 100%;
  padding: 12px clamp(12px, 2.5%, 40px);
}

/* Logo */
.ps-logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-size: 22px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.ps-logo img { max-height: 50px; width: auto; object-fit: contain; }
.ps-logo svg { flex-shrink: 0; }

/* Busca — ocupa TODO o espaço entre logo e admin */
.ps-search {
  flex: 1;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  min-width: 0;
}
.ps-search input {
  flex: 1;
  border: none;
  outline: none;
  padding: 14px 20px;
  font-size: 16px;
  color: #111111;
  background: #ffffff;
  min-width: 0;
  font-family: inherit;
}
.ps-search input::placeholder { color: #999999; }
.ps-search button {
  flex-shrink: 0;
  background: #FF6600;
  color: #ffffff;
  border: none;
  padding: 0 28px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-family: inherit;
  transition: background .2s;
}
.ps-search button:hover { background: #e05500; }

/* Admin + toggle */
.ps-header-right {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.ps-admin-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: #cccccc;
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
  transition: color .2s;
}
.ps-admin-btn:hover { color: #ffffff; }
.ps-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
  padding: 4px;
}

/* ── Linha 2: barra de categorias ─────────────────────────── */
.ps-catbar {
  background: #1a1d27;
  border-top: 1px solid rgba(255,255,255,.08);
}
.ps-catbar-inner {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  width: 100%;
  padding: 0 clamp(12px, 2.5%, 40px);
  overflow-x: auto;
  scrollbar-width: none;
}
.ps-catbar-inner::-webkit-scrollbar { display: none; }

.ps-cat-link {
  display: flex !important;
  align-items: center;
  padding: 0 16px;
  min-height: 42px;
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none !important;
  border-bottom: 2px solid transparent;
  transition: all .2s;
}
.ps-cat-link:hover {
  color: #FF6600 !important;
  background: rgba(255,255,255,.05);
  border-bottom-color: #FF6600;
}

/* ── Menu mobile ──────────────────────────────────────────── */
.ps-mobile-nav {
  display: none;
  background: #1a1d27;
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 12px 20px;
  flex-wrap: wrap;
  gap: 6px;
}
.ps-mobile-nav.open { display: flex; }
.ps-mobile-nav a {
  color: #cccccc !important;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 14px;
  text-decoration: none !important;
  display: flex;
  align-items: center;
  gap: 6px;
}
.ps-mobile-nav a:hover { background: rgba(255,255,255,.1); color: #fff !important; }

/* legado — mantido para outras páginas */
.logo { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 20px; font-weight: 800; flex-shrink: 0; text-decoration: none; }
.logo-img { max-height: 48px; width: auto; object-fit: contain; }

/* ── Banners ──────────────────────────────────────────────── */
.banners-wrap { padding: clamp(10px, 1.5%, 16px) clamp(12px, 2.5%, 40px) 0; width: 100%; }

/* ── Carrossel base — fundo transparente, funde com o site ── */
.banner-carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: 16px;
  background: transparent;
  user-select: none;
}

/* Track e slides */
.carousel-track { display: flex; transition: transform .5s cubic-bezier(.4,0,.2,1); will-change: transform; }
.carousel-slide  { min-width: 100%; flex-shrink: 0; }

/* ── Carrossel GRANDE — 1 banner por slide ────────────────── */
/* Proporção 16:5 — a imagem se adapta à largura total */
#bannerCarousel .carousel-slide {
  aspect-ratio: 16 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
#bannerCarousel .carousel-slide a { display: block; width: 100%; height: 100%; }
#bannerCarousel .carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;   /* imagem completa, sem corte */
  object-position: center;
  display: block;
}

/* ── Carrossel MÉDIO — 2 banners por slide ────────────────── */
.banner-carousel-med { margin-top: 12px; }

/* Proporção 16:4 — um pouco mais baixo */
#medCarousel .carousel-slide {
  aspect-ratio: 16 / 4;
  display: flex;
  align-items: stretch;
}

/* Par lado a lado com espaço entre eles */
.slide-pair {
  display: flex;
  gap: clamp(8px, 1.5%, 20px);
  width: 100%;
  height: 100%;
  padding: 0;
  box-sizing: border-box;
}
.slide-pair-item {
  flex: 1;
  min-width: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slide-pair-item a { display: block; width: 100%; height: 100%; }
.slide-pair-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;   /* imagem completa, sem corte */
  object-position: center;
  display: block;
  transition: opacity .3s;
}
.slide-pair-item img:hover { opacity: .88; }

/* ── Setas ────────────────────────────────────────────────── */
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,.35); color: #fff; border: none; width: 36px; height: 56px; font-size: 26px; line-height: 1; cursor: pointer; transition: background .2s; display: flex; align-items: center; justify-content: center; z-index: 10; border-radius: 6px; }
.carousel-btn:hover { background: rgba(0,0,0,.6); }
.carousel-prev { left: 8px; }
.carousel-next { right: 8px; }

/* ── Dots ─────────────────────────────────────────────────── */
.carousel-dots { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 10; }
.carousel-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(0,0,0,.25); border: none; cursor: pointer; padding: 0; transition: background .2s, transform .2s; }
.carousel-dot.active { background: var(--primary); transform: scale(1.3); }
.carousel-dot:hover { background: rgba(0,0,0,.45); }
.slide-pair-item a { display: block; width: 100%; }
.slide-pair-item img {
  width: 100%;
  height: clamp(80px, 14vw, 200px);
  object-fit: contain;
  display: block;
  transition: opacity .3s;
}
.slide-pair-item img:hover { opacity: .88; }

/* Hero removido — substituído por banners gerenciáveis */

/* ── Buttons ─────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 8px; font-size: 15px; font-weight: 600; transition: all .2s; cursor: pointer; border: 2px solid transparent; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(108,99,255,.4); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn-lg { padding: 14px 32px; font-size: 16px; border-radius: 10px; }
.btn-store { display: inline-flex; align-items: center; justify-content: center; padding: 10px 20px; border-radius: 8px; font-weight: 700; font-size: 14px; transition: transform .2s, box-shadow .2s; }
.btn-store:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,.2); }

/* ── Sections ────────────────────────────────────────────── */
.section { padding: clamp(32px, 6vw, 80px) 0; }
.section-alt { background: var(--white); }
.section-title { font-size: clamp(20px, 4vw, 32px); font-weight: 800; margin-bottom: 8px; }
.section-sub { color: var(--text-muted); margin-bottom: clamp(24px, 4vw, 40px); font-size: clamp(14px, 2vw, 16px); }
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: clamp(20px, 3vw, 32px); flex-wrap: wrap; gap: 8px; }
.link-more { color: var(--primary); font-weight: 600; font-size: 14px; }
.link-more:hover { text-decoration: underline; }

/* ── Category Grid ───────────────────────────────────────── */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(clamp(100px, 14vw, 140px), 1fr)); gap: clamp(10px, 2vw, 16px); }
.cat-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(14px, 2.5vw, 24px) 12px; text-align: center; transition: all .2s; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.cat-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.cat-icon { font-size: clamp(28px, 4vw, 36px); }
.cat-name { font-weight: 700; font-size: clamp(12px, 1.5vw, 14px); color: var(--dark); }
.cat-count { font-size: 12px; color: var(--text-muted); }

/* ── Product Grid ────────────────────────────────────────── */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(clamp(150px, 22vw, 230px), 1fr)); gap: clamp(12px, 2vw, 20px); }

.product-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: all .2s; display: flex; flex-direction: column; position: relative; }
.product-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.badge-destaque { position: absolute; top: 12px; left: 12px; background: var(--primary); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 100px; z-index: 1; }
.product-img { aspect-ratio: 1; overflow: hidden; background: #f0f0f8; }
.card-img { width: 100%; height: 100%; object-fit: contain; padding: 16px; transition: transform .3s; }
.product-card:hover .card-img { transform: scale(1.05); }
.product-info { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-name { font-size: 14px; font-weight: 600; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-desc { font-size: 12px; color: var(--text-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-price { margin-top: auto; }
.price-from { display: block; font-size: 11px; color: var(--text-muted); }
.price-value { font-size: 20px; font-weight: 800; color: var(--primary); }
.price-na { font-size: 14px; color: var(--text-muted); font-style: italic; }
.btn-compare { display: block; margin-top: 12px; text-align: center; background: var(--bg); color: var(--primary); font-size: 13px; font-weight: 600; padding: 10px; border-radius: 8px; transition: background .2s; }
.product-card:hover .btn-compare { background: var(--primary); color: #fff; }

/* ── Store Cards (homepage) ──────────────────────────────── */
.section-stores { background: var(--dark); }
.section-stores .section-title { color: #fff; }
.section-stores .section-sub { color: rgba(255,255,255,.6); }
.stores-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(clamp(120px, 18vw, 170px), 1fr)); gap: clamp(10px, 2vw, 16px); }
.store-card { background: var(--store-bg); color: var(--store-fg); border-radius: var(--radius); padding: clamp(16px, 3vw, 28px) 16px; text-align: center; font-size: clamp(13px, 2vw, 16px); font-weight: 800; transition: transform .2s, box-shadow .2s; }
.store-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.3); }

/* ── Store Badge ─────────────────────────────────────────── */
.store-badge { display: inline-block; padding: 4px 10px; border-radius: 6px; font-size: 12px; font-weight: 700; }

/* ── Catalog Layout ──────────────────────────────────────── */
.catalog-layout { display: grid; grid-template-columns: 220px 1fr; gap: clamp(16px, 3vw, 32px); padding: clamp(20px, 4vw, 40px) clamp(12px, 3vw, 20px); }

.filter-sidebar { position: sticky; top: 80px; max-height: calc(100vh - 100px); overflow-y: auto; }
.filter-block { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin-bottom: 16px; }
.filter-block h3 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); margin-bottom: 12px; }
.filter-link { display: block; padding: 8px 10px; border-radius: 6px; font-size: 14px; color: var(--text); transition: all .2s; }
.filter-link:hover { background: var(--bg); color: var(--primary); }
.filter-link.active { background: #EEF2FF; color: var(--primary); font-weight: 600; }
.filter-link span { float: right; color: var(--text-muted); font-size: 12px; }
.filter-store { padding-left: 12px; border-left: 3px solid var(--store-bg, #ccc); }
.filter-store.active { border-left-color: var(--store-bg, var(--primary)); }

.catalog-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.catalog-count { color: var(--text-muted); font-size: 14px; }

/* ── Product Detail ──────────────────────────────────────── */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 60px); padding: clamp(20px, 4vw, 40px) 0; }
.product-gallery .main-img { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.detail-img { width: 100%; aspect-ratio: 1; object-fit: contain; padding: 32px; }

.product-meta { padding: 8px 0; }
.cat-tag { display: inline-block; background: #EEF2FF; color: var(--primary); font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 100px; margin-bottom: 12px; }
.product-meta h1 { font-size: clamp(20px, 3vw, 32px); font-weight: 800; margin-bottom: 12px; }
.product-short-desc { color: var(--text-muted); font-size: 15px; margin-bottom: 24px; }
.detail-price { background: #F0FDF4; border: 1px solid #BBF7D0; border-radius: var(--radius); padding: 20px; margin-bottom: 24px; }
.price-label { display: block; font-size: 12px; color: #16A34A; font-weight: 600; margin-bottom: 4px; }
.price-big { font-size: 36px; font-weight: 800; color: #15803D; }

.price-table { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-bottom: 16px; }
.price-table h3 { padding: 16px 20px; font-size: 15px; font-weight: 700; border-bottom: 1px solid var(--border); }
.price-row { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.price-row:last-child { border-bottom: none; }
.price-store { flex-shrink: 0; padding: 6px 14px; border-radius: 6px; font-size: 13px; font-weight: 700; min-width: 110px; text-align: center; }
.price-amount { flex: 1; font-size: 18px; font-weight: 700; color: var(--dark); }
.affiliate-notice { font-size: 12px; color: var(--text-muted); margin-top: 12px; }

.product-description { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; margin-bottom: 48px; }
.product-description h2 { font-size: 20px; margin-bottom: 20px; }
.desc-content { line-height: 1.8; color: var(--text); }

/* ── Breadcrumb ──────────────────────────────────────────── */
.breadcrumb { padding: 16px 0; font-size: 13px; color: var(--text-muted); }
.breadcrumb a { color: var(--primary); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: var(--dark); font-weight: 600; }

/* ── Search ──────────────────────────────────────────────── */
.search-header { padding: 40px 0 24px; }
.search-header h1 { font-size: 28px; font-weight: 800; margin-bottom: 20px; }
.search-form-big { display: flex; gap: 12px; max-width: 600px; }
.search-form-big input { flex: 1; padding: 14px 20px; border: 2px solid var(--border); border-radius: 10px; font-size: 16px; outline: none; transition: border-color .2s; }
.search-form-big input:focus { border-color: var(--primary); }
.search-meta { margin-bottom: 24px; color: var(--text-muted); font-size: 15px; }

/* ── Pagination ──────────────────────────────────────────── */
.pagination { display: flex; justify-content: center; gap: 8px; padding: 32px 0; flex-wrap: wrap; }
.page-btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 8px; font-size: 14px; font-weight: 600; background: var(--white); border: 1px solid var(--border); color: var(--text); transition: all .2s; }
.page-btn:hover { border-color: var(--primary); color: var(--primary); }
.page-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ── Empty State ─────────────────────────────────────────── */
.empty-state { text-align: center; padding: 80px 20px; color: var(--text-muted); }
.empty-state p { margin: 16px 0 24px; font-size: 16px; }

/* ── Footer ──────────────────────────────────────────────── */
.site-footer { background: var(--dark); color: rgba(255,255,255,.8); margin-top: clamp(40px, 6vw, 80px); }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: clamp(24px, 4vw, 48px); padding: clamp(32px, 5vw, 60px) clamp(16px, 4vw, 20px) clamp(24px, 4vw, 40px); }
.footer-brand .logo { color: #fff; margin-bottom: 12px; }
.footer-brand p, .footer-brand .disclaimer { font-size: 13px; color: rgba(255,255,255,.5); line-height: 1.7; margin-bottom: 8px; }
.footer-col h4 { color: #fff; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 16px; }
.footer-col a { display: block; color: rgba(255,255,255,.5); font-size: 14px; margin-bottom: 8px; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); text-align: center; padding: 20px clamp(12px, 3vw, 20px); font-size: 13px; color: rgba(255,255,255,.3); }

/* ── Responsive ──────────────────────────────────────────── */

/* Tablet largo — 1024px */
@media (max-width: 1024px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .product-detail { grid-template-columns: 1fr; gap: 32px; }
  .banners-sec-grid { grid-template-columns: repeat(2, 1fr); }
  .catalog-layout { grid-template-columns: 200px 1fr; gap: 20px; }
}

/* Tablet — 900px: colapsa sidebar do catálogo */
@media (max-width: 900px) {
  .catalog-layout { grid-template-columns: 1fr; padding: 16px 12px; }
  .filter-sidebar { position: static; max-height: none; display: flex; flex-wrap: wrap; gap: 12px; }
  .filter-block { margin-bottom: 0; flex: 1 1 200px; }
}

/* Tablet pequeno — 768px */
@media (max-width: 768px) {
  /* Header */
  .ps-menu-toggle { display: flex; }
  .ps-catbar { display: none; }
  .ps-admin-btn span { display: none; }
  .ps-topbar-inner { gap: 10px; padding: 10px 14px; }

  /* Banners */
  .banners-wrap { padding: 8px 8px 0; }
  .slide-pair { gap: 6px; }

  /* Layout geral */
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
  .cat-grid { grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 10px; }
  .cat-card { padding: 14px 8px; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 24px; }

  /* Busca */
  .search-header { padding: 24px 0 16px; }
  .search-header h1 { font-size: clamp(18px, 5vw, 24px); }
  .search-form-big { flex-direction: column; gap: 8px; }
  .search-form-big input { width: 100%; }

  /* Produto detalhe */
  .product-detail { grid-template-columns: 1fr; }
  .price-big { font-size: clamp(24px, 6vw, 36px); }
}

/* Mobile — 480px */
@media (max-width: 480px) {
  /* Header: esconde texto da busca e logo */
  .ps-search button span { display: none; }
  .ps-search button { padding: 0 14px; }
  .ps-logo span { display: none; }
  .ps-topbar-inner { padding: 8px 10px; gap: 8px; }

  /* Banners */
  .banners-wrap { padding: 6px 6px 0; }
  .slide-pair { gap: 4px; }
  .slide-pair-item { border-radius: 8px; }
  .carousel-btn { width: 28px; height: 44px; font-size: 20px; }
  /* No mobile, banner médio empilha verticalmente */
  #medCarousel .carousel-slide { aspect-ratio: unset; }
  .slide-pair { flex-direction: column; }
  .slide-pair-item img { height: clamp(80px, 28vw, 160px); object-fit: contain; }

  /* Grid produtos: 2 colunas fixas */
  .product-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .product-info { padding: 10px; }
  .product-name { font-size: 13px; }
  .price-value { font-size: 17px; }
  .btn-compare { font-size: 12px; padding: 8px; }

  /* Categorias */
  .cat-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .cat-card { padding: 12px 6px; }
  .cat-icon { font-size: 24px; }

  /* Footer: coluna única */
  .footer-inner { grid-template-columns: 1fr; gap: 20px; }

  /* Seção header row */
  .section-header { flex-direction: column; align-items: flex-start; gap: 4px; }

  /* Paginação compacta */
  .page-btn { width: 36px; height: 36px; font-size: 13px; }
}

/* Mobile muito pequeno — 360px */
@media (max-width: 360px) {
  .product-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .cat-name { font-size: 11px; }
  .ps-search input { font-size: 14px; }
}
