/* ============ RESET / BASE ============ */
* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --dark: #212830;
  --dark-2: #2b333d;
  --accent: #ff0002;
  --text-light: #f4f5f6;
  --text-muted: #a6adb5;
  --border: #3a434e;
  --radius: 6px;
}

body {
  font-family: 'Segoe UI', Arial, Helvetica, sans-serif;
  color: #2c2c2c;
  background: #ffffff;
  line-height: 1.4;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }

/* ============ TOPBAR ============ */
.topbar {
  background: var(--dark);
  color: var(--text-muted);
  font-size: 12px;
}
.topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.topbar-left a { color: var(--text-muted); }
.topbar-left a:hover { color: var(--text-light); }
.topbar-left .divider { margin: 0 8px; opacity: .4; }
.topbar-right { display: flex; gap: 14px; }
.topbar-right a { color: var(--text-muted); transition: color .2s; }
.topbar-right a:hover { color: var(--accent); }

/* ============ HEADER ============ */
.main-header {
  background: var(--dark);
  border-bottom: 1px solid var(--border);
}
.main-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* Hamburger (mobile) */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  padding: 0;
}
.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-light);
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.logo {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-light);
  letter-spacing: .5px;
  white-space: nowrap;
}
.logo span { color: var(--accent); }

/* ============ CATEGORIES NAV (agora na mesma linha do header) ============ */
.categories-nav {
  flex: 1;
}
.categories-nav > ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.categories-nav > ul > li {
  position: relative;
}
.categories-nav > ul > li > a {
  display: block;
  padding: 12px 15px;
  color: var(--text-light);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .3px;
  transition: background .2s, color .2s;
}
.categories-nav > ul > li > a:hover {
  background: var(--accent);
  color: #fff;
}
.sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--dark-2);
  border: 1px solid var(--border);
  min-width: 200px;
  z-index: 20;
  box-shadow: 0 8px 16px rgba(0,0,0,.3);
}
.has-sub:hover .sub-menu { display: block; }
.has-sub.sub-open .sub-menu { display: block; position: static; box-shadow: none; border: none; }
.sub-menu li a {
  display: block;
  padding: 10px 16px;
  font-size: 13px;
  color: var(--text-muted);
}
.sub-menu li a:hover { color: var(--text-light); background: var(--dark); }

/* ============ BANNER ============ */
.banner {
  max-width: 1200px;
  margin: 24px auto;
  padding: 0 20px;
}
.banner img {
  width: 100%;
  border-radius: var(--radius);
}

/* ============ PRODUCT SECTIONS ============ */
.product-section {
  max-width: 1200px;
  margin: 0 auto 40px;
  padding: 0 20px;
}
.product-section h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--accent);
  display: inline-block;
  color: var(--dark);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.product-card {
  border: 1px solid #e6e6e6;
  border-radius: var(--radius);
  padding: 14px;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s, transform .2s;
  background: #fff;
}
.product-card:hover {
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
  transform: translateY(-3px);
}
.product-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  margin-bottom: 12px;
}
.product-card h3 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
  min-height: 38px;
}
.product-card h3 a:hover { color: var(--accent); }
.product-card .sku {
  font-size: 11px;
  color: #999;
  margin-bottom: 8px;
}
.product-card .price {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
}
.product-card .installment {
  font-size: 12px;
  color: #777;
  margin-bottom: 12px;
  min-height: 16px;
}
.btn-add {
  margin-top: auto;
  background: var(--dark);
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  transition: background .2s;
}
.btn-add:hover { background: var(--accent); }


/* ============ FOOTER ============ */
.site-footer {
  background: var(--dark-2);
  color: var(--text-muted);
  font-size: 13px;
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 20px 30px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.footer-col h3 {
  color: var(--text-light);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a:hover { color: var(--accent); }
.about-text { line-height: 1.6; }
.social-title { margin-top: 20px; }
.social-icons { display: flex; gap: 14px; margin-top: 10px; }
.social-icons a {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  transition: background .2s, border-color .2s;
}
.social-icons a:hover { background: var(--accent); border-color: var(--accent); }

.footer-bottom {
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 18px 20px;
  font-size: 12px;
}
.footer-bottom p { margin-bottom: 4px; }

/* ============ RESPONSIVE ============ */
@media (max-width: 992px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .menu-toggle { display: flex; }

  .main-header-inner { position: relative; }
  .categories-nav {
    display: none;
    flex-basis: 100%;
    order: 3;
  }
  .categories-nav.open { display: block; }
  .categories-nav > ul {
    flex-direction: column;
    justify-content: flex-start;
    padding: 8px 0 4px;
  }
  .categories-nav > ul > li > a { padding: 12px 4px; }
  .has-sub .sub-menu { display: none; }
  .has-sub.sub-open .sub-menu { display: block; }
  .sub-menu li a { padding-left: 20px; }
}

@media (max-width: 700px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .social-icons { justify-content: center; }
}

@media (max-width: 420px) {
  .product-grid { grid-template-columns: 1fr; }
  .topbar-inner { flex-direction: column; text-align: center; }
}

/* =========================================================
   PÁGINAS INTERNAS — compartilhado (Listagem e Produto)
   ========================================================= */
/* ===== BREADCRUMB (Listagem e Produto) ===== */
.breadcrumb {
  background: #f5f5f5;
  border-bottom: 1px solid #e6e6e6;
}
.breadcrumb-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  font-size: 12px;
  color: #888;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.breadcrumb-inner a { color: #888; }
.breadcrumb-inner a:hover { color: var(--accent); }
.breadcrumb-inner span:last-child { color: #333; font-weight: 600; }

/* ===== NAV categoria ativa ===== */
.categories-nav a.active { color: var(--accent) !important; }

/* =========================================================
   PÁGINA: LISTAGEM DE PRODUTOS (listagem.html)
   ========================================================= */
/* ===== LAYOUT GERAL ===== */
.listing-page {
  max-width: 1200px;
  margin: 30px auto 60px;
  padding: 0 20px;
}
.listing-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 30px;
  align-items: start;
}

/* ===== SIDEBAR ===== */
.listing-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.filter-box {
  border: 1px solid #e6e6e6;
  border-radius: var(--radius);
  padding: 16px;
}
.filter-box h3 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: .3px;
}
.filter-cat-list li { margin-bottom: 9px; font-size: 13px; }
.filter-cat-list a { color: #555; }
.filter-cat-list a:hover { color: var(--accent); }
.filter-cat-list a.active { color: var(--accent); font-weight: 700; }

.filter-price-list li { margin-bottom: 10px; }
.filter-price-list label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #555;
  cursor: pointer;
}
.filter-price-list input[type="checkbox"] {
  width: 15px;
  height: 15px;
  accent-color: var(--accent);
  cursor: pointer;
}
.filter-price-list em {
  font-style: normal;
  color: #999;
  font-size: 12px;
  margin-left: auto;
}
.filter-clear {
  margin-top: 12px;
  background: none;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: var(--radius);
  width: 100%;
}
.filter-clear:hover { background: var(--accent); color: #fff; }

/* ===== CONTEÚDO ===== */
.listing-content { min-width: 0; }

.listing-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 6px;
}
.listing-header h1 {
  font-size: 24px;
  color: var(--dark);
  border-bottom: 3px solid var(--accent);
  padding-bottom: 8px;
}
.sort-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #666;
}
.sort-wrapper select {
  padding: 8px 10px;
  border: 1px solid #ccc;
  border-radius: var(--radius);
  font-size: 13px;
  background: #fff;
  color: #333;
  cursor: pointer;
}

.results-count {
  font-size: 12px;
  color: #999;
  margin-bottom: 18px;
}

.no-results {
  text-align: center;
  padding: 60px 20px;
  color: #999;
  font-size: 14px;
  border: 1px dashed #ddd;
  border-radius: var(--radius);
}

/* cards: ações extras (adicionar + ver detalhes) */
.product-grid .card-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
}
.btn-outline {
  text-align: center;
  border: 1px solid var(--dark);
  color: var(--dark);
  padding: 10px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  transition: background .2s, color .2s;
}
.btn-outline:hover { background: var(--dark); color: #fff; }

/* fade ao filtrar/ordenar */
.product-card.is-hidden { display: none !important; }
.product-grid {
  transition: opacity .15s ease;
}
.product-grid.is-updating { opacity: .4; }

/* ===== PAGINAÇÃO ===== */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}
.pagination button {
  min-width: 34px;
  height: 34px;
  border: 1px solid #ccc;
  background: #fff;
  border-radius: var(--radius);
  font-size: 13px;
  color: #555;
  padding: 0 8px;
}
.pagination button:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.pagination button.active {
  background: var(--dark);
  border-color: var(--dark);
  color: #fff;
  font-weight: 700;
}
.pagination button:disabled {
  opacity: .4;
  cursor: not-allowed;
}

/* ===== RESPONSIVO ===== */
@media (max-width: 860px) {
  .listing-layout { grid-template-columns: 1fr; }
  .listing-sidebar { order: 2; }
  .listing-content { order: 1; }
}

@media (max-width: 560px) {
  .listing-header { flex-direction: column; align-items: flex-start; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}

/* =========================================================
   PÁGINA: PRODUTO ABERTO (produto.html)
   ========================================================= */
/* ===== LAYOUT GERAL ===== */
.product-page {
  max-width: 1200px;
  margin: 30px auto 60px;
  padding: 0 20px;
}

/* ===== TOPO: GALERIA + INFO ===== */
.product-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.gallery { display: flex; flex-direction: column; gap: 14px; }
.gallery-main {
  border: 1px solid #eee;
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
}
.gallery-main img { max-height: 420px; object-fit: contain; }

.gallery-thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.thumb {
  border: 1.5px solid #ddd;
  border-radius: var(--radius);
  background: #fff;
  padding: 4px;
  cursor: pointer;
  width: 64px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.thumb.active { border-color: var(--accent); }
.thumb-video {
  width: auto;
  padding: 0 12px;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--dark);
}
.thumb-video span { color: var(--accent); }
.thumb-video:hover { border-color: var(--accent); }

/* ===== INFO DO PRODUTO ===== */
.product-info { display: flex; flex-direction: column; gap: 14px; }
.product-info h1 { font-size: 24px; color: var(--dark); line-height: 1.3; }
.product-info-gallery { margin-top: 2px; margin-bottom: 8px; }

.product-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #777;
}
.product-meta strong { color: #444; }


/* ===== DESCRIÇÃO ===== */
.description-section {
  max-width: 820px;
  margin: 0 auto 60px;
  line-height: 1.7;
  color: #444;
  font-size: 14px;
}
.description-section h2 {
  font-size: 20px;
  color: var(--dark);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--accent);
  display: inline-block;
}
.description-section h3 {
  font-size: 15px;
  color: var(--dark);
  margin: 24px 0 10px;
}
.description-section p { margin-bottom: 12px; }

.video-embed {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  margin: 20px 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
}
.video-embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}

.benefits-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
}
.benefits-list li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 4px;
}
.tags-list li {
  background: #f0f0f0;
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 12px;
  color: #555;
}

/* ===== RELACIONADOS ===== */
.related-section { max-width: 1200px; margin: 0 auto 50px; }

/* ===== VÍDEOS DO CONTEÚDO / LIGHTBOX ===== */
/* ===== VÍDEOS INCORPORADOS DO PRODUTO ===== */
.description-section .video-embed,
.description-section .wp-block-embed,
.description-section .wp-block-embed__wrapper {
  width: 100%;
  max-width: 100%;
  margin: 24px 0;
}

.description-section iframe[src*="youtube.com"],
.description-section iframe[src*="youtube-nocookie.com"],
.description-section iframe[src*="youtu.be"] {
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  min-height: 460px;
  border: 0;
  border-radius: var(--radius);
  background: #000;
}

@media (max-width: 860px) {
  .description-section iframe[src*="youtube.com"],
  .description-section iframe[src*="youtube-nocookie.com"],
  .description-section iframe[src*="youtu.be"] {
    min-height: 0;
  }
}



/* =========================================================
   PRODUTO ABERTO — CONTEÚDO EM 2 COLUNAS + VÍDEO ABAIXO
   ========================================================= */
.product-detail-layout {
  align-items: start;
}

.product-gallery-column .gallery-thumbs {
  flex-wrap: wrap;
}

.product-copy {
  min-width: 0;
}

.product-copy h1 {
  margin-bottom: 4px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--accent);
}

.product-copy > .sku {
  display: block;
  font-size: 12px;
  color: #999;
  margin: 0 0 10px;
}

.product-copy-content {
  line-height: 1.7;
  color: #444;
  font-size: 14px;
}

.product-copy-content p {
  margin-bottom: 14px;
}

.product-copy-content h2,
.product-copy-content h3,
.product-copy-content h4 {
  color: var(--dark);
  line-height: 1.35;
  margin: 22px 0 10px;
}

.product-copy-content h2 { font-size: 20px; }
.product-copy-content h3 { font-size: 16px; }
.product-copy-content h4 { font-size: 14px; }

.product-copy-content ul,
.product-copy-content ol {
  margin: 10px 0 16px 20px;
}

.product-copy-content ul { list-style: disc; }
.product-copy-content ol { list-style: decimal; }
.product-copy-content li { margin-bottom: 6px; }
.product-copy-content a { color: var(--accent); }
.product-copy-content a:hover { text-decoration: underline; }

.product-videos {
  width: 100%;
  margin: 0 auto 60px;
}

.product-video-item {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #000;
}

.product-video-item + .product-video-item {
  margin-top: 24px;
}

.product-video-item iframe {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 500px !important;
  border: 0;
}

@media (max-width: 860px) {
  .product-detail-layout {
    grid-template-columns: 1fr;
  }

  .product-copy h1 {
    margin-top: 6px;
  }

  .product-videos {
    margin-bottom: 45px;
  }
}

/* Atualização institucional: logo maior, navegação e carousel */
.main-header-inner { gap: 20px; flex-wrap: nowrap; }
.main-header .logo-large { display: block; flex: 0 0 205px; width: 205px; }
.main-header .logo-large img { display: block; width: 100%; height: auto; }
.categories-nav { min-width: 0; }
.categories-nav > ul { justify-content: flex-end; }
.categories-nav > ul > li > a { padding: 12px 9px; font-size: 12px; white-space: nowrap; }
.footer-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.banner-carousel { position: relative; }
.banner-slides { position: relative; overflow: hidden; border-radius: var(--radius); }
.banner-slide { display: none; }
.banner-slide.is-active { display: block; }
.banner-carousel .banner-slide img { width: 100%; aspect-ratio: 1200 / 375; object-fit: cover; }
.banner-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; border: none; border-radius: 50%; width: 40px; height: 40px; color: #fff; background: rgba(0,0,0,.58); font-size: 21px; }
.banner-prev { left: 28px; }
.banner-next { right: 28px; }
.banner-dots { display:flex; gap: 9px; justify-content:center; align-items:center; margin-top: 12px; }
.banner-dot { width: 10px; height: 10px; border: none; border-radius: 50%; background: #aaa; padding: 0; }
.banner-dot.is-active { background: var(--accent); }
.banner-arrow:focus-visible, .banner-dot:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
@media (max-width: 1080px) {
  .main-header-inner { flex-wrap: wrap; }
  .categories-nav > ul > li > a { padding: 10px 8px; }
}
@media (max-width: 860px) {
  .main-header-inner { flex-wrap: wrap; }
  .main-header .logo-large { flex: 0 0 185px; width: 185px; }
  .categories-nav { flex-basis: 100%; }
  .categories-nav > ul > li > a { white-space: normal; }
  .banner-carousel .banner-slide img { aspect-ratio: 16 / 8; }
  .banner-prev { left: 24px; }
  .banner-next { right: 24px; }
}
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .banner-carousel .banner-slide img { aspect-ratio: 16 / 10; }
  .banner-arrow { width: 34px; height: 34px; }
}

/* =========================================================
   PÁGINAS PADRÃO — mesma tipografia e largura do single-produtos
   Aplicado somente ao page.php (.standard-page).
   ========================================================= */
.standard-page {
  max-width: 820px;
  margin: 30px auto 60px;
  padding: 0 20px;
}

.standard-page-header { margin-bottom: 24px; }
.standard-page-header h1 {
  display: inline-block;
  font-size: 24px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--dark);
  border-bottom: 3px solid var(--accent);
  padding-bottom: 10px;
}

.standard-page-content {
  font-family: inherit;
  font-size: 14px;
  line-height: 1.7;
  color: #444;
  overflow-wrap: anywhere;
}
.standard-page-content > :first-child { margin-top: 0; }
.standard-page-content > :last-child { margin-bottom: 0; }
.standard-page-content p { margin-bottom: 12px; }

/* Títulos e ritmo visual da descrição do produto */
.standard-page-content h2 {
  display: inline-block;
  font-size: 20px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--dark);
  padding-bottom: 10px;
  margin: 26px 0 18px;
  border-bottom: 3px solid var(--accent);
}
.standard-page-content h3 {
  font-size: 15px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--dark);
  margin: 24px 0 10px;
}
.standard-page-content h4,
.standard-page-content h5,
.standard-page-content h6 {
  font-size: 14px;
  color: var(--dark);
  margin: 20px 0 10px;
}
.standard-page-content a:not(.wp-block-button__link) { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.standard-page-content a:not(.wp-block-button__link):hover { color: var(--dark); }
.standard-page-content strong { color: var(--dark); }
.standard-page-content ul,
.standard-page-content ol { padding-left: 24px; margin: 0 0 16px; }
.standard-page-content ul { list-style: disc; }
.standard-page-content ol { list-style: decimal; }
.standard-page-content li { margin: 0 0 8px; }
.standard-page-content li > ul,
.standard-page-content li > ol { margin: 8px 0; }
.standard-page-content blockquote {
  border-left: 3px solid var(--accent);
  background: #f7f7f7;
  padding: 16px 20px;
  margin: 24px 0;
}
.standard-page-content img { max-width: 100%; height: auto; border-radius: var(--radius); }
.standard-page-content figure { max-width: 100%; margin: 22px 0; }
.standard-page-content figcaption { color: #888; font-size: 12px; margin-top: 8px; }
.standard-page-content hr { border: 0; border-top: 1px solid #e6e6e6; margin: 30px 0; }
.standard-page-content table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 14px; }
.standard-page-content th,
.standard-page-content td { border: 1px solid #e1e1e1; padding: 12px 14px; text-align: left; vertical-align: top; }
.standard-page-content th { background: var(--dark); color: #fff; }
.standard-page-content .wp-block-table { max-width: 100%; overflow-x: auto; }
.standard-page-content .wp-block-button__link {
  display: inline-block;
  padding: 11px 20px;
  border-radius: var(--radius);
  color: #fff;
  background: var(--accent);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.standard-page-content .wp-block-button__link:hover { opacity: .9; }
@media (max-width: 700px) {
  .standard-page { margin: 24px auto 45px; }
  .standard-page-header h1 { font-size: 22px; }
  .standard-page-content table { display: block; overflow-x: auto; }
}

/* =========================================================
   ARCHIVE LOJAS — mesmo padrão visual das páginas institucionais
   ========================================================= */
.stores-page {
  max-width: 820px;
}

.stores-list {
  width: 100%;
}

.store-item {
  padding: 0 0 28px;
  margin: 0 0 28px;
  border-bottom: 1px solid #e6e6e6;
}

.store-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.standard-page-content .store-name {
  display: block;
  border-bottom: 0;
  padding-bottom: 0;
  margin: 0 0 14px;
  font-size: 20px;
  line-height: 1.35;
  color: var(--dark);
}

.store-detail {
  margin-bottom: 14px;
}

.store-detail:last-child {
  margin-bottom: 0;
}

.store-detail > strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
  color: var(--dark);
}

.store-detail p,
.store-contact p {
  margin-bottom: 6px;
}

.store-contact p:last-child {
  margin-bottom: 0;
}

.store-contact a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.store-contact a:hover {
  color: var(--dark);
}

/* =========================================================
   SINGLE PRODUTOS / SMALL PARTS — sidebar + conteúdo
   ========================================================= */
.single-product-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

.single-product-main {
  min-width: 0;
}

.single-product-sidebar {
  position: sticky;
  top: 20px;
}

.single-product-main .product-top {
  margin-top: 0;
}

.single-product-main .product-section {
  padding-left: 0;
  padding-right: 0;
}

.single-product-main .related-section {
  max-width: none;
}

@media (max-width: 860px) {
  .single-product-layout {
    grid-template-columns: 1fr;
  }

  .single-product-main {
    order: 1;
  }

  .single-product-sidebar {
    order: 2;
    position: static;
  }
}

/* Ajuste mobile do header: logo à esquerda e hamburger à direita */
@media (max-width: 860px) {
  .main-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
  }

  .main-header .logo-large {
    order: 1;
    margin-right: auto;
    flex: 0 0 185px;
    width: 185px;
  }

  .menu-toggle {
    order: 2;
    margin-left: auto;
  }

  .categories-nav {
    order: 3;
    flex: 0 0 100%;
    width: 100%;
  }
}

@media (max-width: 420px) {
  .main-header .logo-large {
    flex-basis: 170px;
    width: 170px;
  }
}
