/* ACDC Casa v405 — somente o formato do banner e da navegação de Ofertas.
   Escopo: banner já existente e faixa de categorias imediatamente seguinte.
   Nenhuma regra alcança a grade, os cards, os preços ou os controles de filtro. */

body.acdc-theme .acdc-offers-page { margin-top: 20px; }
body.acdc-theme .acdc-offers-page .acdc-offers-video {
  min-height: clamp(340px, 28vw, 400px);
  margin-bottom: 20px;
}
body.acdc-theme .acdc-offers-page .acdc-offers-video-content {
  flex-basis: 490px;
  padding: 30px clamp(28px, 4vw, 58px);
}
body.acdc-theme .acdc-offers-page .acdc-offers-video-eyebrow {
  margin-bottom: 15px;
  font-size: 9px;
  letter-spacing: .14em;
}
body.acdc-theme .acdc-offers-page .acdc-offers-video-title {
  margin-bottom: 16px;
  font-size: clamp(46px, 4.5vw, 64px);
  line-height: 1.02;
}
body.acdc-theme .acdc-offers-page .acdc-offers-video-copy {
  max-width: 300px;
  margin-bottom: 21px;
  font-size: 14px;
  line-height: 1.55;
}
body.acdc-theme .acdc-offers-page .acdc-offers-video-cta {
  min-height: 48px;
  padding: 12px 20px;
}
body.acdc-theme .acdc-offers-page .acdc-offers-video-toggle {
  top: 18px;
  right: 18px;
}

/* Os destinos, a ordem e os nomes das categorias continuam nativos. */
body.acdc-theme.template-category .acdc-offers-page + .container .acdc-category-navigation {
  margin: 0 0 22px;
  padding: 0 0 20px;
  border-bottom: 1px solid #e3e1dd;
}
body.acdc-theme.template-category .acdc-offers-page + .container .acdc-category-navigation-heading {
  gap: 14px;
  margin-bottom: 12px;
  padding: 0;
}
body.acdc-theme.template-category .acdc-offers-page + .container .acdc-category-navigation-label {
  color: #625e58;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .12em;
}
body.acdc-theme.template-category .acdc-offers-page + .container .acdc-category-navigation-rule {
  background: #e8e5e0;
}
body.acdc-theme.template-category .acdc-offers-page + .container .acdc-category-chips {
  flex-wrap: wrap;
  gap: 10px;
  padding: 3px;
  margin: 0 -3px;
  width: calc(100% + 6px);
  max-width: none;
}
body.acdc-theme.template-category .acdc-offers-page + .container .acdc-category-chip {
  flex: 1 1 150px;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 13px 18px;
  border: 1px solid #e5e2dd;
  border-radius: 5px;
  background: #f7f6f3;
  color: #35322e;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  box-shadow: none;
}
body.acdc-theme.template-category .acdc-offers-page + .container .acdc-category-chip:hover {
  border-color: #99948b;
  background: #efede8;
  color: #111;
}
body.acdc-theme.template-category .acdc-offers-page + .container .acdc-category-chip.is-current {
  border-color: #111;
  background: #111;
  color: #fff;
  box-shadow: none;
}
body.acdc-theme.template-category .acdc-offers-page + .container .acdc-category-chip.is-current:hover {
  background: #292929;
}
body.acdc-theme.template-category .acdc-offers-page + .container .acdc-category-chip:focus-visible {
  outline: 2px solid #111;
  outline-offset: 2px;
}
body.acdc-theme.template-category .acdc-offers-page + .container .acdc-category-chip-icon {
  flex-basis: 21px;
  width: 21px;
  height: 21px;
  stroke-width: 1.35;
}

@media (min-width: 601px) and (max-width: 1023px) {
  body.acdc-theme .acdc-offers-page .acdc-offers-video { min-height: 340px; }
  body.acdc-theme .acdc-offers-page .acdc-offers-video-content { flex-basis: 410px; padding: 28px 30px; }
  body.acdc-theme .acdc-offers-page .acdc-offers-video-title { font-size: 48px; }
  body.acdc-theme .acdc-offers-page .acdc-offers-video-copy { max-width: 260px; font-size: 13px; }
}

@media (max-width: 991px) {
  body.acdc-theme.template-category .acdc-offers-page + .container .acdc-category-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 8px;
    padding-bottom: 11px;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 3px;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
  }
  body.acdc-theme.template-category .acdc-offers-page + .container .acdc-category-chip {
    flex: 0 0 auto;
    min-height: 50px;
    padding: 12px 17px;
  }
  body.acdc-theme.template-category .acdc-offers-page + .container .acdc-category-navigation-hint {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 5px;
    color: #625e58;
    font: 400 10px/1.4 Arial, sans-serif;
    white-space: nowrap;
  }
  body.acdc-theme.template-category .acdc-offers-page + .container .acdc-category-navigation-hint svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.4;
  }
}

@media (max-width: 600px) {
  body.acdc-theme .acdc-offers-page { margin-top: 12px; }
  body.acdc-theme .acdc-offers-page .acdc-offers-video { min-height: 0; margin-bottom: 18px; }
  body.acdc-theme .acdc-offers-page .acdc-offers-video-media { aspect-ratio: 16 / 9; }
  body.acdc-theme .acdc-offers-page .acdc-offers-video-poster,
  body.acdc-theme .acdc-offers-page .acdc-offers-video-film { object-fit: contain; }
  body.acdc-theme .acdc-offers-page .acdc-offers-video-content { padding: 20px; }
  body.acdc-theme .acdc-offers-page .acdc-offers-video-eyebrow { margin-bottom: 10px; font-size: 8px; letter-spacing: .1em; }
  body.acdc-theme .acdc-offers-page .acdc-offers-video-title { margin-bottom: 10px; font-size: clamp(29px, 8vw, 35px); line-height: 1.08; }
  body.acdc-theme .acdc-offers-page .acdc-offers-video-title > span,
  body.acdc-theme .acdc-offers-page .acdc-offers-video-title > em { display: inline; }
  body.acdc-theme .acdc-offers-page .acdc-offers-video-copy { max-width: 100%; margin-bottom: 15px; font-size: 12px; line-height: 1.5; }
  body.acdc-theme .acdc-offers-page .acdc-offers-video-cta { min-height: 46px; padding: 11px 15px; font-size: 12px; }
  body.acdc-theme .acdc-offers-page .acdc-offers-video-toggle { top: 12px; right: 12px; }
  body.acdc-theme.template-category .acdc-offers-page + .container .acdc-category-navigation { margin-bottom: 16px; padding-bottom: 13px; }
  body.acdc-theme.template-category .acdc-offers-page + .container .acdc-category-navigation-heading { gap: 10px; margin-bottom: 8px; }
  body.acdc-theme.template-category .acdc-offers-page + .container .acdc-category-navigation-label { font-size: 9px; letter-spacing: .08em; }
  body.acdc-theme.template-category .acdc-offers-page + .container .acdc-category-chip { min-height: 48px; gap: 8px; padding: 11px 15px; font-size: 12px; }
  body.acdc-theme.template-category .acdc-offers-page + .container .acdc-category-chip-icon { flex-basis: 20px; width: 20px; height: 20px; }
}
