/*
 * Estilo da Loja — tema padrão da Embrepoli (Caio, 18-11-2026; antes ficava no código, lib/site/theme/generate-css.ts).
 * Um tema enviado em Tema visual pode trocar este arquivo inteiro (mandando o próprio assets/loja.css) ou somar CSS.
 * Cores e fontes: use as variáveis do tema (var(--color-primary), var(--font-heading)...), que o Editor visual muda.
 * Carrinho, checkout, conta, pedidos e login NÃO usam este arquivo do tema enviado: o estilo deles é travado
 * (lib/site/theme/css-travado.ts) e eles sempre carregam o deste tema padrão.
 */

/* Global button hover — grow effect */
button,
a[role="button"],
input[type="submit"],
.catalog-vehicle-submit,
.catalog-filters-submit,
.product-card-button,
.product-card-button-primary,
.product-card-button-secondary,
.product-card-button-muted {
  transition: transform 0.2s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
}

button:hover:not(:disabled),
a[role="button"]:hover:not(:disabled),
input[type="submit"]:hover:not(:disabled),
.catalog-vehicle-submit:hover:not(:disabled),
.catalog-filters-submit:hover:not(:disabled),
.product-card-button:hover:not(.product-card-button-disabled) {
  transform: scale(1.05);
}

button:active:not(:disabled),
a[role="button"]:active:not(:disabled),
input[type="submit"]:active:not(:disabled) {
  transform: scale(0.98);
}


.product-gallery-layout {
  display: grid;
  align-items: start;
  gap: 16px;
}

.product-gallery-thumbs {
  order: 2;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 0 4px;
  scrollbar-width: thin;
}

.product-gallery-thumbs.is-hidden {
  display: none;
}

.product-gallery-main-wrap {
  order: 1;
}

.product-gallery-main {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  aspect-ratio: 16 / 10;
}

.product-gallery-open {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
}

.product-gallery-open.is-disabled {
  cursor: default;
}

.product-gallery-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  padding: 0;
  transition: transform 0.15s ease;
}

.product-gallery-image.is-zoomed {
  transform: scale(2);
}

.product-gallery-placeholder {
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #d4d4d8;
}

.product-gallery-placeholder.is-hidden {
  display: none;
}

.product-gallery-placeholder svg {
  width: 56px;
  height: 56px;
}

/* Foto padrão de produto sem foto (public/sem-imagem.webp; Caio, 06-11-2026): ocupa o espaço da foto. */
.sem-imagem {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-gallery-placeholder span {
  color: #a1a1aa;
  font-size: 14px;
  font-weight: 800;
}

.product-gallery-thumb {
  position: relative;
  width: 74px;
  height: 74px;
  flex: 0 0 74px;
  overflow: hidden;
  border: 1px solid #e4e4e7;
  border-radius: 8px;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.product-gallery-thumb:hover {
  border-color: #9ca3af;
  transform: translateY(-1px);
}

.product-gallery-thumb.is-active {
  border-width: 2px;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(7, 23, 51, 0.08);
}

.product-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 5px;
  transition: transform 0.15s ease;
}

.product-gallery-thumb:hover img {
  transform: scale(1.05);
}

.product-gallery-counter {
  position: absolute;
  right: 12px;
  bottom: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  padding: 4px 12px;
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.12);
  border: 1px solid #e4e4e7;
}

.product-gallery-counter.is-hidden {
  display: none;
}

.product-gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: flex;
  width: 36px;
  height: 36px;
  transform: translateY(-50%);
  align-items: center;
  justify-content: center;
  border: 1px solid #e4e4e7;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--color-primary);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.12);
  transition: border-color 0.15s ease, opacity 0.15s ease;
}

.product-gallery-nav:hover {
  border-color: var(--color-primary);
}

.product-gallery-nav:disabled {
  opacity: 0.3;
}

.product-gallery-nav svg {
  width: 16px;
  height: 16px;
}

.product-gallery-nav-prev {
  left: 12px;
}

.product-gallery-nav-next {
  right: 12px;
}

.product-gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(6px);
}

.product-gallery-lightbox.is-open {
  display: flex;
}

.product-gallery-lightbox-frame {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-gallery-lightbox-frame img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  cursor: zoom-in;
  transition: transform 0.15s ease;
}

/* Miniatura enquanto a foto grande baixa (12-11-2026): ocupa o espaço da grande, desfocada. */
.product-gallery-lightbox-frame img.is-carregando {
  width: min(92vw, 88vh);
  filter: blur(8px);
}

.product-gallery-lightbox-frame img.is-zoomed {
  cursor: zoom-out;
  transform: scale(2.5);
}

/* Carrossel das fotos do componente do kit (09-11-2026): a atual no meio, pedaço das vizinhas nos lados. */
.componente-carrossel {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.componente-carrossel-trilho {
  display: flex;
  align-items: center;
  gap: 24px;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.componente-slide {
  flex: 0 0 min(68vw, 820px);
  height: min(78vh, 760px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #fff center / contain no-repeat;
  opacity: 0.4;
  transform: scale(0.88);
  transition: opacity 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}

[data-componente-lightbox] .product-gallery-lightbox-nav,
[data-componente-lightbox] .product-gallery-lightbox-close,
[data-componente-lightbox] .product-gallery-lightbox-counter {
  z-index: 2;
}

/* Setas da galeria do componente maiores (10-11-2026): a de 44px ficava em cima da foto vizinha e o clique errava. */
[data-componente-lightbox] .product-gallery-lightbox-nav {
  width: 56px;
  height: 56px;
  background: rgba(15, 23, 42, 0.55);
}

.componente-slide.is-atual {
  opacity: 1;
  transform: none;
  cursor: default;
}

.componente-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 640px) {
  .componente-carrossel-trilho { gap: 12px; }
  .componente-slide { flex-basis: 68vw; height: 68vw; border-radius: 12px; }
  [data-componente-lightbox] { padding-left: 0; padding-right: 0; }
}

.product-gallery-lightbox-close,
.product-gallery-lightbox-nav {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: background 0.15s ease, opacity 0.15s ease;
}

.product-gallery-lightbox-close:hover,
.product-gallery-lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.2);
}

.product-gallery-lightbox-close svg,
.product-gallery-lightbox-nav svg {
  width: 20px;
  height: 20px;
}

.product-gallery-lightbox-close {
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
}

.product-gallery-lightbox-nav {
  top: 50%;
  width: 44px;
  height: 44px;
  transform: translateY(-50%);
}

.product-gallery-lightbox-nav:disabled {
  opacity: 0.3;
}

.product-gallery-lightbox-prev {
  left: 16px;
}

.product-gallery-lightbox-next {
  right: 16px;
}

.product-gallery-lightbox-counter {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  padding: 4px 12px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.product-description-rich p {
  margin-bottom: 12px;
}

.product-description-rich p:last-child {
  margin-bottom: 0;
}

.product-description-rich strong {
  font-weight: 800;
  color: var(--color-primary);
}

.product-description-rich ul {
  margin: 0 0 12px 20px;
  list-style: disc;
}

.product-description-rich li {
  margin-bottom: 4px;
}

.product-description-rich a {
  color: var(--color-primary);
  text-decoration: underline;
}

@media (min-width: 768px) {
  .product-gallery-layout.has-thumbs {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .product-gallery-layout.has-thumbs .product-gallery-thumbs {
    order: 1;
    flex-direction: column;
    overflow: visible;
    padding-bottom: 0;
  }

  .product-gallery-main-wrap {
    order: 2;
  }
}

@media (max-width: 640px) {
  .product-gallery-image {
    padding: 8px;
  }
}

.ishorts-carousel {
  margin: 1rem 0 0;
}
.ishorts-viewport {
  position: relative;
}
.ishorts-track {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.25rem;
  scrollbar-width: none;
}
.ishorts-track::-webkit-scrollbar {
  display: none;
}
.ishort-item {
  flex: 0 0 180px;
  scroll-snap-align: start;
}
.ishort-card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 10px;
  overflow: hidden;
  border: none;
  padding: 0;
  cursor: pointer;
  background: #09090b;
}
.ishort-card-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  transition: transform 0.2s ease;
}
.ishort-card:hover .ishort-card-video {
  transform: scale(1.05);
}
.ishort-card-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--brand-gold);
  color: var(--color-primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  pointer-events: none;
}
.ishort-card-play svg {
  width: 18px;
  height: 18px;
  margin-left: 2px;
}
.ishort-item-title {
  margin: 8px 2px 0;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  color: #27272a;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ishorts-nav {
  position: absolute;
  top: 42%;
  z-index: 2;
  display: flex;
  width: 36px;
  height: 36px;
  transform: translateY(-50%);
  align-items: center;
  justify-content: center;
  border: 1px solid #e4e4e7;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--color-primary);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.12);
  transition: border-color 0.15s ease;
}
.ishorts-nav:hover {
  border-color: var(--color-primary);
}
.ishorts-nav svg {
  width: 16px;
  height: 16px;
}
.ishorts-nav-prev {
  left: -14px;
}
.ishorts-nav-next {
  right: -14px;
}

@media (max-width: 767px) {
  .ishort-item {
    flex: 0 0 calc((100% - 0.75rem) / 1.6);
    max-width: none;
  }
  .ishorts-nav {
    display: none;
  }
}

.ishorts-player-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.55);
  display: none;
}
.ishorts-player-overlay.ishorts-player-open {
  display: block;
}
.ishorts-player-feed {
  height: 100%;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}
.ishorts-player-slide {
  position: relative;
  height: calc(100% - 96px);
  width: 100%;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ishorts-player-frame {
  position: relative;
  height: calc(100% - 24px);
  max-width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 18px;
  overflow: hidden;
}
.ishorts-player-frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.ishorts-player-pause-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  pointer-events: none;
  z-index: 2;
}
.ishorts-player-pause-icon svg {
  width: 28px;
  height: 28px;
  margin-left: 3px;
}
.ishorts-player-slide.is-paused .ishorts-player-pause-icon {
  display: flex;
}
.ishorts-player-slide-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 24px;
  padding: 14px 16px;
  color: #fff;
  text-align: center;
  background: rgba(0, 0, 0, 0.4);
}
.ishorts-player-slide-title {
  font-weight: 700;
  font-size: 14px;
}
.ishorts-player-slide-views {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}
.ishorts-player-slide-views svg {
  width: 14px;
  height: 14px;
}
.ishorts-player-steps {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 3;
  display: flex;
  gap: 4px;
  padding: 10px 12px;
}
.ishorts-player-steps-track {
  flex: 1;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.3);
  overflow: hidden;
}
.ishorts-player-steps-fill {
  height: 100%;
  width: 0%;
  background: #fff;
  border-radius: 999px;
}
.ishorts-player-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 10px 12px;
  padding-bottom: max(10px, env(safe-area-inset-bottom));
}
.ishorts-player-progress-track {
  width: 100%;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.3);
  overflow: hidden;
  cursor: pointer;
  touch-action: none;
}
.ishorts-player-progress-fill {
  height: 100%;
  width: 0%;
  background: #fff;
  border-radius: 999px;
}
.ishorts-player-close {
  position: fixed;
  top: max(16px, env(safe-area-inset-top));
  right: 16px;
  z-index: 10000;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: none;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.ishorts-player-actions {
  position: absolute;
  right: 12px;
  bottom: 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  z-index: 2;
}
.ishorts-player-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  border: none;
  background: transparent;
  color: #fff;
  cursor: pointer;
  padding: 0;
}
.ishorts-player-action-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.4);
}
.ishorts-player-action-icon svg {
  width: 22px;
  height: 22px;
}
.ishorts-player-action-count {
  font-size: 12px;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}
.ishorts-player-like.is-liked .ishorts-player-action-icon {
  background: rgba(239, 68, 68, 0.25);
}
.ishorts-player-like.is-liked .ishorts-player-action-icon svg {
  fill: #ef4444;
  stroke: #ef4444;
}

.catalog-page {
  background: var(--color-surface);
}

.catalog-container {
  width: calc(100% - 32px);
  max-width: 1536px;
  margin: 0 auto;
  padding: 28px 0;
}

.catalog-breadcrumb {
  margin-bottom: 16px;
  color: var(--color-text-muted);
  font-size: 14px;
}

.catalog-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.catalog-breadcrumb a {
  color: var(--color-primary);
  font-weight: 700;
  text-decoration: none;
}

.catalog-breadcrumb a:hover {
  text-decoration: underline;
}

.catalog-breadcrumb li:last-child {
  color: #374151;
  font-weight: 800;
}

.catalog-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.catalog-heading h1 {
  color: var(--color-primary);
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.06;
  font-weight: 950;
}

.catalog-heading p {
  max-width: 680px;
  margin-top: 8px;
  color: #5f6673;
  font-size: 15px;
  line-height: 1.6;
  font-weight: 600;
}

.catalog-count-pill {
  display: inline-flex;
  width: fit-content;
  min-height: 40px;
  align-items: center;
  gap: 8px;
  border: 1px solid #dde2ea;
  border-radius: 999px;
  background: #fff;
  color: #374151;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 850;
  white-space: nowrap;
}

.catalog-count-pill span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #10b981;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  align-items: start;
  gap: 24px;
  margin-top: 24px;
}

.catalog-sidebar,
.catalog-main {
  min-width: 0;
}

.catalog-main {
  width: 100%;
}

/* painel de veículo = busca em cards (secoes/busca-veiculo.liquid); a caixa é a do próprio bloco */
.catalog-vehicle-panel {
  scroll-margin-top: 128px;
  margin-top: 24px;
}

.catalog-vehicle-panel .vfp-box {
  max-width: none;
}

.catalog-filters {
  position: sticky;
  top: 128px;
  overflow: hidden;
  border: 1px solid #dde2ea;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

.catalog-filters-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 16px 14px;
  border-bottom: 1px solid #edf0f5;
}

.catalog-filters-header h2 {
  color: var(--color-primary);
  font-size: 17px;
  line-height: 1.15;
  font-weight: 900;
}

.catalog-filters-header p {
  margin-top: 4px;
  color: #6b7280;
  font-size: 12px;
  font-weight: 700;
}

.catalog-filters-header a {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border-radius: 999px;
  color: var(--color-text-muted);
  font-size: 11px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.15s ease, background 0.15s ease;
}

.catalog-filters-header a:hover {
  color: var(--color-primary);
}

.catalog-filter-group {
  padding: 15px 16px;
  border-bottom: 1px solid #edf0f5;
}

.catalog-filter-group:last-of-type {
  border-bottom: 0;
}

.catalog-filter-title {
  display: block;
  margin: 0;
  color: #4b5563;
  font-size: 11px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.catalog-filter-search {
  position: relative;
  margin-top: 10px;
}

.catalog-filter-search input,
.catalog-filter-control,
.catalog-filter-price input {
  width: 100%;
  height: 40px;
  border: 1px solid #d9dee8;
  border-radius: 7px;
  background: #fff;
  color: #111827;
  font-size: 14px;
  font-weight: 500;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.catalog-filter-search input {
  padding: 0 36px 0 12px;
}

.catalog-filter-search span {
  position: absolute;
  top: 50%;
  right: 12px;
  display: flex;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
  color: #94a3b8;
}

.catalog-filter-search svg {
  width: 16px;
  height: 16px;
}

.catalog-filter-control {
  margin-top: 10px;
  padding: 0 12px;
}

.catalog-filter-search input:focus,
.catalog-filter-control:focus,
.catalog-filter-price input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(7, 23, 51, 0.08);
}

.catalog-filter-options {
  display: grid;
  gap: 8px;
  margin-top: 11px;
}

.catalog-filter-option {
  display: flex;
  min-height: 32px;
  align-items: center;
  gap: 9px;
  color: #374151;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.25;
  cursor: pointer;
}

.catalog-filter-option input {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  accent-color: var(--color-primary);
}

.catalog-filter-option span {
  min-width: 0;
}

.catalog-filter-option:hover span {
  color: var(--color-primary);
}

.catalog-filter-option-featured {
  margin-top: 11px;
  min-height: 40px;
  border: 1px solid #edf0f5;
  border-radius: 7px;
  background: var(--color-surface);
  padding: 0 10px;
}

.catalog-filter-option-featured:has(input:checked) {
  border-color: #ffcc00;
  background: #fff9db;
}

.catalog-filter-price {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.catalog-filter-price label {
  display: block;
}

.catalog-filter-price label span {
  display: block;
  margin-bottom: 5px;
  color: #7a8290;
  font-size: 11px;
  font-weight: 800;
}

.catalog-filter-price input {
  padding: 0 10px;
}

.catalog-filters-submit {
  display: inline-flex;
  width: calc(100% - 32px);
  height: 43px;
  align-items: center;
  justify-content: center;
  margin: 16px;
  border: 1px solid var(--color-primary);
  border-radius: 7px;
  background: var(--color-primary);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  transition: background 0.15s ease, transform 0.15s ease;
}

.catalog-filters-submit:hover {
  background: #0b2044;
}

.catalog-filters-submit:active {
  transform: translateY(1px);
}

.catalog-results-toolbar {
  border: 1px solid #dde2ea;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

.catalog-results-toolbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 16px;
}

.catalog-results-summary {
  min-width: 0;
}

.catalog-results-summary > p {
  color: var(--color-primary);
  font-size: 14px;
  line-height: 1.2;
  font-weight: 900;
}

.catalog-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 9px;
}

.catalog-filter-chip {
  display: inline-flex;
  min-height: 28px;
  max-width: 320px;
  align-items: center;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: var(--color-surface);
  color: #374151;
  padding: 0 11px;
  font-size: 12px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.catalog-filter-chip-highlight {
  border-color: #ffcc00;
  background: #ffcc00;
  color: var(--color-primary);
  font-weight: 900;
}

.catalog-filter-chip-muted {
  color: #7a8290;
}

.catalog-results-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
}

.catalog-mobile-filter-trigger {
  display: none;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid #d9dee8;
  border-radius: 7px;
  background: #fff;
  color: var(--color-primary);
  padding: 0 14px;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.catalog-sort-form {
  display: flex;
  height: 40px;
  align-items: center;
  gap: 8px;
  border: 1px solid #d9dee8;
  border-radius: 7px;
  background: #fff;
  padding: 0 9px 0 12px;
}

.catalog-sort-form span {
  color: var(--color-text-muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.catalog-sort-form select {
  height: 32px;
  min-width: 132px;
  border: 0;
  background: transparent;
  color: #111827;
  font-size: 13px;
  font-weight: 800;
  outline: none;
}

.catalog-view-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  border: 1px solid #d9dee8;
  border-radius: 7px;
  background: var(--color-surface);
  padding: 4px;
}

.catalog-view-toggle span {
  display: flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  color: #9ca3af;
}

.catalog-view-toggle span.is-active {
  background: #fff;
  color: var(--color-primary);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

.catalog-view-toggle svg {
  width: 16px;
  height: 16px;
}

.catalog-category-strip {
  margin-top: 20px;
}

.catalog-category-scroller {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  padding: 2px 0 8px;
  scrollbar-width: thin;
}

.catalog-category-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  flex: 0 0 auto;
  gap: 9px;
  border: 1px solid #d9dee8;
  border-radius: 7px;
  background: #fff;
  color: var(--color-primary);
  padding: 0 15px;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.catalog-category-link:hover {
  border-color: var(--color-primary);
  transform: translateY(-1px);
}

.catalog-category-link.is-active {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: #fff;
}

.catalog-category-image {
  width: 28px;
  height: 28px;
  border-radius: 5px;
  object-fit: contain;
  background: #fff;
}

.catalog-category-promo {
  border-color: #ffcc00;
  background: #ffcc00;
  color: var(--color-primary);
}

.catalog-category-promo.is-active {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: #ffcc00;
}

.catalog-mobile-filters {
  display: none;
  margin-top: 16px;
  border: 1px solid #dde2ea;
  border-radius: 8px;
  background: #fff;
  padding: 16px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

.catalog-mobile-filters-title {
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 900;
}

.catalog-mobile-filters-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.catalog-mobile-control {
  width: 100%;
  height: 42px;
  border: 1px solid #d9dee8;
  border-radius: 7px;
  background: #fff;
  color: #111827;
  padding: 0 12px;
  font-size: 14px;
  outline: none;
}

.catalog-mobile-control:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(7, 23, 51, 0.08);
}

.catalog-mobile-wide,
.catalog-mobile-submit {
  grid-column: 1 / -1;
}

.catalog-mobile-submit {
  display: inline-flex;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-primary);
  border-radius: 7px;
  background: var(--color-primary);
  color: #fff;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.catalog-empty {
  margin-top: 18px;
  border: 1px dashed #cfd6e2;
  border-radius: 8px;
  background: #fff;
  padding: 56px 24px;
  text-align: center;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.catalog-empty-icon {
  display: inline-flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--color-surface);
  color: var(--color-text-muted);
}

.catalog-empty-icon svg {
  width: 30px;
  height: 30px;
}

.catalog-empty-title {
  margin-top: 16px;
  color: var(--color-primary);
  font-size: 20px;
  font-weight: 900;
}

.catalog-empty-text {
  max-width: 440px;
  margin: 8px auto 0;
  color: var(--color-text-muted);
  font-size: 14px;
  line-height: 1.6;
  font-weight: 600;
}

.catalog-empty-action {
  display: inline-flex;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-top: 22px;
  border-radius: 7px;
  background: #ffcc00;
  color: var(--color-primary);
  padding: 0 18px;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.catalog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 32px;
}

.catalog-pagination-link,
.catalog-pagination-ellipsis {
  display: inline-flex;
  min-width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 800;
}

.catalog-pagination-link {
  border: 1px solid #d9dee8;
  background: #fff;
  color: #334155;
  padding: 0 11px;
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.catalog-pagination-link:hover {
  border-color: var(--color-primary);
  background: var(--color-surface);
  color: var(--color-primary);
}

.catalog-pagination-link.is-active {
  pointer-events: none;
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: #fff;
}

.catalog-pagination-link.is-disabled {
  cursor: not-allowed;
  border-color: #eef2f7;
  color: #cbd5e1;
}

.catalog-pagination-link svg {
  width: 16px;
  height: 16px;
}

.catalog-pagination-ellipsis {
  min-width: 24px;
  color: #94a3b8;
}

.catalog-pagination-summary {
  margin-top: 14px;
  text-align: center;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 1180px) {
  .catalog-layout {
    grid-template-columns: 1fr;
  }

  .catalog-sidebar {
    display: none;
  }

  .catalog-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .catalog-results-toolbar-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .catalog-results-actions {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 720px) {
  .catalog-mobile-filter-trigger {
    display: inline-flex;
  }

  .catalog-view-toggle {
    display: none;
  }

  .catalog-mobile-filters {
    display: block;
  }

  .catalog-sort-form {
    flex: 1 1 auto;
  }

  .catalog-sort-form select {
    min-width: 0;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .catalog-category-link {
    min-height: 40px;
    padding: 0 13px;
    font-size: 12px;
  }

  .catalog-mobile-filters-form {
    grid-template-columns: 1fr;
  }

  .catalog-mobile-wide,
  .catalog-mobile-submit {
    grid-column: auto;
  }

  .catalog-pagination {
    gap: 4px;
  }

  .catalog-pagination-link,
  .catalog-pagination-ellipsis {
    min-width: 34px;
    height: 34px;
    font-size: 12px;
  }
}

.catalog-products-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.product-card {
  position: relative;
  display: flex;
  min-width: 0;
  height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #dde2ea;
  border-radius: 8px;
  background: #fff;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.product-card:hover {
  transform: translateY(-2px);
  border-color: rgba(7, 23, 51, 0.28);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.product-card-media {
  position: relative;
  display: flex;
  aspect-ratio: 1 / 1;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  /* Branco: a maioria das fotos tem fundo branco e, no cinza, aparecia um bloco
     branco de tamanho diferente em cada card (Caio, 01-10-2026). */
  background: #fff;
  text-decoration: none;
}

.product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  transition: transform 0.22s ease;
}

.product-card:hover .product-card-media img {
  transform: scale(1.035);
}

.product-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  border-radius: 999px;
  background: #ffcc00;
  color: var(--color-primary);
  padding: 0 10px;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.product-card-badge-muted {
  background: #e4e4e7;
  color: #52525b;
}

.product-card-price-from-label {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 11px;
  font-weight: 700;
}

.product-card-placeholder {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
}

.product-card-placeholder svg {
  width: 48px;
  height: 48px;
}

.product-card-favorite {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  display: flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid #dde2ea;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--color-text-muted);
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.product-card-favorite:hover {
  border-color: #fecaca;
  background: #fff1f2;
  color: #ef4444;
}

.product-card-favorite svg {
  width: 19px;
  height: 19px;
}

.product-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
}

.product-card-heading {
  min-height: 62px;
}

.product-card-category {
  margin: 0 0 6px;
  overflow: hidden;
  color: rgba(7, 23, 51, 0.72);
  font-size: 10px;
  line-height: 1;
  font-weight: 900;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.product-card-name {
  display: -webkit-box;
  min-height: 40px;
  overflow: hidden;
  color: #0f172a;
  font-size: 14px;
  line-height: 1.38;
  font-weight: 900;
  text-decoration: none;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-card-name:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

.product-card-compatibility {
  display: flex;
  min-height: 30px;
  align-items: flex-start;
  gap: 6px;
  margin: 0;
  color: #475569;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 800;
}

.product-card-compatibility svg {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  margin-top: 1px;
  color: var(--color-primary);
}

.product-card-price {
  min-height: 62px;
}

.product-card-price-from {
  margin: 0 0 1px;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 700;
  text-decoration: line-through;
}

.product-card-price-current {
  margin: 0;
  color: var(--color-primary);
  font-size: 24px;
  line-height: 1.06;
  font-weight: 950;
}

.product-card-installments {
  margin: 4px 0 0;
  color: #475569;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 800;
}

.product-card-consult-price {
  margin: 16px 0 0;
  color: var(--color-text-muted);
  font-size: 14px;
  font-weight: 900;
}

.product-card-actions {
  display: grid;
  gap: 8px;
  margin-top: auto;
}

.product-card-button {
  display: inline-flex;
  min-height: 40px;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 6px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, filter 0.15s ease;
}

.product-card-button svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

.product-card-button-primary {
  border: 1px solid #ffcc00;
  background: #ffcc00;
  color: var(--color-primary);
}

.product-card-button-primary:hover {
  filter: brightness(0.97);
}

.product-card-button-secondary {
  border: 1px solid var(--color-primary);
  background: #fff;
  color: var(--color-primary);
}

.product-card-button-secondary:hover {
  background: var(--color-surface);
}

.product-card-button-muted {
  border: 1px solid #d1d5db;
  background: #f3f4f6;
  color: #374151;
}

.product-card-button-disabled {
  cursor: not-allowed;
  border: 1px solid #d1d5db;
  background: #fff;
  color: #9ca3af;
}

.product-card-details {
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
}

.product-card-details:hover {
  text-decoration: underline;
}

@media (min-width: 1280px) {
  .catalog-products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1536px) {
  .catalog-products-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  /* Anúncios em 1 coluna no celular (Caio, 06-11-2026): o card inteiro, sem nome cortado nem botão apertado. */
  .catalog-products-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .product-card-body {
    gap: 8px;
    padding: 12px;
  }

  /* 1 coluna (06-11-2026): sem altura reservada pro nome (só alinhava 2 cards lado a lado) e letra de leitura. */
  .product-card-heading {
    min-height: 0;
  }

  .product-card-category {
    font-size: 10px;
  }

  .product-card-name {
    font-size: 15px;
    line-height: 1.3;
  }

  .product-card-compatibility {
    font-size: 12px;
  }

  .product-card-price-current {
    font-size: 22px;
  }

  .product-card-installments {
    font-size: 12px;
  }

  .product-card-button {
    min-height: 44px;
    font-size: 12px;
  }

  /* O botão só-ícone (carrinho) é só o ícone: esconder deixava um quadrado vazio. */
  .product-card-button-secondary:not(.product-card-button-icon) svg {
    display: none;
  }
}

.not-found-page {
  display: flex;
  min-height: 60vh;
  align-items: center;
  justify-content: center;
  padding: 48px 16px;
}

.not-found-card {
  max-width: 480px;
  text-align: center;
}

.not-found-code {
  display: block;
  font-size: 56px;
  font-weight: 900;
  color: var(--color-secondary);
  line-height: 1;
}

.not-found-title {
  margin-top: 12px;
  font-size: 24px;
  font-weight: 800;
  color: var(--color-primary);
}

.not-found-text {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.6;
  color: #52606d;
}

.not-found-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.not-found-primary-action,
.not-found-secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 7px;
  padding: 0 20px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  text-decoration: none;
}

.not-found-primary-action {
  border: 1px solid var(--color-secondary);
  background: var(--color-secondary);
  color: var(--color-primary);
}

.not-found-secondary-action {
  border: 1px solid var(--color-primary);
  background: #fff;
  color: var(--color-primary);
}
@keyframes cc-aparece { from { opacity: 0; } to { opacity: 1; } }
@keyframes cc-sobe { from { transform: translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }
/* Itens do carrinho em cartão (04-11-2026): 2 lado a lado; 1 só, deitado. */
/* Mais de 2 itens: carrossel, 2 por vez (arrasta no celular, setas no computador). */


/* Topbar: menu de usuario, badge do carrinho, dropdowns (toggle via .dropdown-open,
   ver public/theme/loja.js) -- faltava inteiro aqui, so' existia em app/globals.css
   (que nao e' entregue de forma confiavel pra Loja, ver /api/theme-css). Sem isso o
   dropdown do carrinho/conta nao teria como abrir/fechar em producao. Decisao do
   Caio, 24-09-2026. */
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
.topbar-action {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  text-decoration: none;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  transition: color 0.2s;
  position: relative;
  padding: 6px;
  border-radius: 6px;
}
.topbar-action:hover {
  color: var(--brand-gold);
  background: rgba(255, 255, 255, 0.08);
}
.topbar-icon-wrap {
  position: relative;
  display: inline-flex;
}
.topbar-icon-wrap .cart-badge {
  right: auto;
  left: -20px;
  top: -4px;
}
.cart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--brand-gold);
  color: var(--brand-navy);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  position: absolute;
  top: 0;
  right: -2px;
}
.user-menu {
  position: relative;
}
.user-menu-btn {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.user-menu-btn:hover {
  color: var(--brand-gold);
  background: rgba(255, 255, 255, 0.08);
}
.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.3);
}
.user-avatar--initials {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-gold, #c8a23c);
  color: var(--brand-navy, #1e293b);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.user-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 4px;
  min-width: 200px;
  background: #fff;
  border: 1px solid #e4e4e7;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 60;
}
.user-dropdown.dropdown-open {
  display: block;
}
.user-dropdown a {
  display: block;
  padding: 10px 16px;
  text-decoration: none;
  color: #52525b;
  font-size: 14px;
  transition: background 0.15s;
}
.user-dropdown a:hover {
  background: #f4f4f5;
  color: var(--brand-navy);
}
.user-dropdown a:first-child {
  border-radius: 8px 8px 0 0;
}
.user-dropdown a:last-child {
  border-radius: 0 0 8px 8px;
}
.dropdown-divider {
  margin: 4px 0;
  border: none;
  border-top: 1px solid #e4e4e7;
}
.cart-menu {
  position: relative;
}
.cart-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 10px;
  width: 470px;
  max-width: 90vw;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 9px;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.24);
  z-index: 80;
  overflow: hidden;
}
.cart-dropdown::before {
  content: "";
  position: absolute;
  top: -9px;
  right: 78px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-left: 1px solid var(--color-border);
  border-top: 1px solid var(--color-border);
  transform: rotate(45deg);
}
.cart-dropdown.dropdown-open {
  display: block;
}
.cart-dropdown-header {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 28px;
  border-bottom: 1px solid #e5eaf1;
  background: #fff;
}

.cart-dropdown-title {
  color: var(--color-primary);
  font-size: 21px;
  font-weight: 900;
}

.cart-dropdown-count {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border-radius: 999px;
  background: var(--brand-gold);
  color: var(--brand-navy);
  padding: 0 12px;
  font-size: 12px;
  font-weight: 900;
}

.cart-dropdown-items {
  max-height: 318px;
  overflow-y: auto;
  padding: 8px 28px 0;
}

.cart-dropdown-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 34px 18px;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 14px;
  font-weight: 700;
}

.cart-dropdown-empty-icon {
  display: inline-flex;
  width: 64px;
  height: 64px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #f1f5f9;
  color: #94a3b8;
}

.cart-dropdown-empty-icon svg {
  width: 34px;
  height: 34px;
}

.cart-dropdown-empty-btn,
.cart-dropdown-btn {
  display: inline-flex;
  width: 100%;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.cart-dropdown-empty-btn,
.cart-dropdown-btn--gold {
  border: 1px solid var(--brand-gold);
  background: var(--brand-gold);
  color: var(--brand-navy);
}

.cart-dropdown-empty-link {
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.cart-dropdown-item {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid #e5eaf1;
  text-decoration: none;
  transition: background 0.15s;
}

.cart-dropdown-item:hover {
  background: #fafafa;
}

.cart-dropdown-item-img,
.cart-dropdown-item-img-placeholder {
  width: 70px;
  height: 58px;
  border: 1px solid #d9dee8;
  border-radius: 7px;
  background: #fff;
  object-fit: contain;
}

.cart-dropdown-item-img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
}

.cart-dropdown-item-info {
  min-width: 0;
}

.cart-dropdown-item-name {
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.28;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cart-dropdown-item-meta,
.cart-dropdown-item-qtd,
.cart-dropdown-footnote {
  color: var(--color-text-muted);
  font-size: 12px;
  font-weight: 700;
}

.cart-dropdown-item-price {
  color: var(--color-primary);
  font-size: 15px;
  font-weight: 900;
  white-space: nowrap;
}

.cart-dropdown-more {
  margin: 12px 0 0;
  border: 1px solid #d9dee8;
  border-radius: 7px;
  background: var(--color-surface);
  color: var(--color-text-muted);
  padding: 10px 12px;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
}

.cart-dropdown-footer {
  border-top: 1px solid #e5eaf1;
  padding: 22px 28px 24px;
}

.cart-dropdown-details {
  display: block;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e5eaf1;
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.cart-dropdown-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 6px;
  color: #334155;
  font-size: 14px;
  font-weight: 700;
}

.cart-dropdown-subtotal strong {
  color: var(--color-primary);
  font-size: 23px;
  font-weight: 900;
}

.cart-dropdown-btn {
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  background: #fff;
  margin-top: 10px;
}

.cart-dropdown-btn:hover {
  background: #f4f4f5;
}

.cart-dropdown-btn--gold {
  margin-top: 0;
}

.cart-dropdown-btn--gold:hover {
  filter: brightness(1.1);
}

.cart-dropdown-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.cart-dropdown-cart-link {
  display: inline-flex;
  width: 100%;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.cart-dropdown-cart-link:hover {
  text-decoration: underline;
}

/* Minicarrinho repaginado (23-10-2026) */
.cart-dropdown {
  width: 420px;
  border-color: var(--color-border);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(7, 23, 51, 0.22);
}

.cart-dropdown::before {
  right: 64px;
  border-color: var(--color-border);
}

.cart-dropdown-header {
  min-height: 64px;
  padding: 0 20px;
}

.cart-dropdown-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
}

.cart-dropdown-title-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--color-primary);
  color: var(--color-secondary);
}

.cart-dropdown-title-icon svg {
  width: 17px;
  height: 17px;
}

.cart-dropdown-items {
  max-height: 300px;
  padding: 6px 12px;
}

.cart-dropdown-item {
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 12px;
  margin: 4px 0;
  border: 1px solid transparent;
  border-bottom: 1px solid transparent;
  border-radius: 12px;
  padding: 10px 8px;
}

.cart-dropdown-item + .cart-dropdown-item {
  border-top-color: #eef2f7;
}

.cart-dropdown-item:hover {
  border-color: var(--color-border);
  background: var(--color-surface);
}

.cart-dropdown-item-img,
.cart-dropdown-item-img-placeholder {
  width: 64px;
  height: 56px;
  border-color: var(--color-border);
  border-radius: 10px;
  padding: 3px;
}

.cart-dropdown-item-img-placeholder svg {
  width: 22px;
  height: 22px;
}

.cart-dropdown-item-name {
  font-size: 13px;
}

.cart-dropdown-item-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 5px;
}

.cart-dropdown-item-tags span {
  border-radius: 999px;
  background: #f1f4f8;
  color: #475569;
  padding: 1px 8px;
  font-size: 11px;
  font-weight: 800;
}

.cart-dropdown-item-price {
  display: grid;
  justify-items: end;
  gap: 2px;
  text-align: right;
}

.cart-dropdown-item-price strong {
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 950;
}

.cart-dropdown-item-price small {
  color: var(--color-success);
  font-size: 11px;
  font-weight: 800;
}

.cart-dropdown-more {
  margin: 6px 8px 8px;
  border-radius: 10px;
}

.cart-dropdown-footer {
  border-top: 1px solid var(--color-border);
  background: #fbfcfe;
  padding: 16px 20px 18px;
}

.cart-dropdown-subtotal {
  margin-bottom: 2px;
  color: #475569;
  font-size: 13px;
}

.cart-dropdown-subtotal strong {
  font-size: 24px;
  font-weight: 950;
  letter-spacing: -0.01em;
}

.cart-dropdown-pix {
  margin: 0;
  text-align: right;
  color: var(--color-success);
  font-size: 12px;
  font-weight: 800;
}

.cart-dropdown-pix strong {
  font-weight: 950;
}

.cart-dropdown-footnote {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 10px 0 14px;
}

.cart-dropdown-footnote svg {
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  color: #94a3b8;
}

/* botão de fechar a compra: amarelo de verdade (antes uma regra posterior deixava branco) */
.cart-dropdown-checkout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  border-radius: 12px;
  background: var(--color-secondary);
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 950;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(255, 210, 0, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.cart-dropdown-checkout svg {
  width: 17px;
  height: 17px;
  transition: transform 0.15s ease;
}

.cart-dropdown-checkout:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(255, 210, 0, 0.45);
}

.cart-dropdown-checkout:hover svg {
  transform: translateX(3px);
}

.cart-dropdown-cart-link {
  min-height: 40px;
  margin-top: 8px;
  border: 1px solid #d5dce6;
  border-radius: 12px;
  background: #fff;
  text-transform: none;
  font-size: 13px;
}

.cart-dropdown-cart-link:hover {
  border-color: var(--color-primary);
  text-decoration: none;
}

.cart-dropdown-secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 12px 0 0;
  color: var(--color-text-muted);
  font-size: 11.5px;
  font-weight: 800;
}

.cart-dropdown-secure svg {
  width: 13px;
  height: 13px;
  color: var(--color-success);
}

.cart-trust-pill {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  background: #ecfdf5;
  color: var(--color-success);
  padding: 0 18px;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.cart-trust-pill span {
  display: inline-flex;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #10b981;
}

.cart-item-meta,
.cart-item-sku {
  margin: 8px 0 0;
  color: var(--color-text-muted);
  font-size: 12px;
  font-weight: 700;
}

.cart-item-sku {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

.cart-price-label {
  display: block;
  margin-bottom: 8px;
  color: var(--color-text-muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.cart-summary-note {
  margin: 22px 0;
  border: 1px solid #e5eaf1;
  border-radius: 7px;
  background: var(--color-surface);
  padding: 14px 16px;
  color: var(--color-text-muted);
  font-size: 12px;
  line-height: 1.45;
  font-weight: 700;
}

.cart-coupon-title {
  margin: 0;
  color: var(--color-primary);
  font-size: 20px;
  font-weight: 900;
}

.cart-coupon-text {
  margin: 8px 0 0;
  color: var(--color-text-muted);
  font-size: 12px;
  font-weight: 700;
}

.cart-whatsapp-card {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 22px 24px;
}

.cart-whatsapp-icon {
  display: inline-flex;
  width: 56px;
  height: 56px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #eaf8f1;
  color: #0f9f61;
}

.cart-whatsapp-icon svg {
  width: 31px;
  height: 31px;
}

.cart-whatsapp-title {
  margin: 0;
  color: var(--color-primary);
  font-size: 16px;
  font-weight: 900;
}

.cart-whatsapp-text {
  margin: 7px 0 12px;
  color: var(--color-text-muted);
  font-size: 12px;
  line-height: 1.45;
  font-weight: 700;
}

.cart-whatsapp-button {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-primary);
  border-radius: 6px;
  background: #fff;
  color: var(--color-primary);
  padding: 0 18px;
  font-size: 11px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.cart-whatsapp-button.is-disabled {
  opacity: 0.55;
  pointer-events: none;
}

.cart-security-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 24px;
}

.cart-security-title {
  margin: 0;
  color: var(--color-primary);
  font-size: 20px;
  font-weight: 900;
}

.cart-security-text {
  margin: 8px 0 0;
  color: var(--color-text-muted);
  font-size: 12px;
  font-weight: 700;
}

.cart-seals {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.cart-seals img {
  display: block;
  height: 30px;
  width: auto;
}

.cart-seals .cart-seal-wide {
  height: 38px;
}

@media (max-width: 840px) {

  .cart-security-strip {
    grid-template-columns: 1fr;
  }

  .cart-seals {
    justify-content: flex-start;
  }
}

/* aba aberta por link (#compatibilidade): brilho rápido pra mostrar onde chegou */
.produto-aba-destaque {
  border-radius: 12px;
  animation: produto-aba-destaque 1.6s ease 0.45s;
}

@keyframes produto-aba-destaque {
  0% { box-shadow: 0 0 0 0 rgba(255, 210, 0, 0); }
  25% { box-shadow: 0 0 0 6px rgba(255, 210, 0, 0.55); }
  100% { box-shadow: 0 0 0 0 rgba(255, 210, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .produto-aba-destaque {
    animation: none;
  }
}

/* ---------------------------------------------------------------------------
   Página do carrinho repaginada (23-10-2026). Bug corrigido: o cupom tinha duas
   colunas (texto + campo) dentro da lateral de 410px e o título quebrava palavra
   por palavra; e o resumo grudava no topo passando por cima do cupom e do
   WhatsApp. Agora a lateral é um quadro só (resumo + cupom), e só ele gruda.
--------------------------------------------------------------------------- */

/* etapas da compra */

/* lateral: um quadro só, que acompanha a rolagem */

/* itens */

/* remover é ação que apaga: vermelho permitido (decisão do Caio, 13-10-2026) */

/* dúvida no WhatsApp */

/* resumo */

/* cupom: dentro do resumo, uma coluna só */

/* Este bloco vem depois dos @media do carrinho antigo e desfazia o celular (auditoria de responsividade,
   28-10-2026): resumo por cima dos itens e página 135px mais larga que a tela. Os tamanhos de celular voltam aqui. */

@media (max-width: 400px) {
  /* Etapas: o traço entre elas encolhe pra caber em 320px. */
}

/* ---------------------------------------------------------------------------
   Card de produto repaginado (23-10-2026): cantos maiores, foto com moldura,
   selo de desconto, atalho pra compatibilidade, preço normal + Pix separado e
   comprar/carrinho lado a lado.
--------------------------------------------------------------------------- */
.product-card {
  border-color: var(--color-border);
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(7, 23, 51, 0.04);
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary);
  box-shadow: 0 18px 36px rgba(7, 23, 51, 0.12);
}

.product-card-media {
  margin: 8px 8px 0;
  border-radius: 12px;
}

.product-card-media img {
  padding: 10px;
  transition: transform 0.3s ease;
}

.product-card:hover .product-card-media img {
  transform: scale(1.06);
}

.product-card-badge {
  min-height: 26px;
  padding: 0 10px;
  font-size: 11.5px;
  font-weight: 950;
  box-shadow: 0 4px 10px rgba(7, 23, 51, 0.12);
}

.product-card-favorite {
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-color: var(--color-border);
  box-shadow: 0 4px 12px rgba(7, 23, 51, 0.08);
}

.product-card-body {
  gap: 8px;
  padding: 12px 14px 14px;
}

.product-card-heading {
  min-height: 0;
}

.product-card-category {
  display: inline-block;
  margin-bottom: 7px;
  border-radius: 999px;
  background: #f1f4f8;
  padding: 3px 8px;
  color: #475569;
  font-size: 10px;
  letter-spacing: 0.04em;
}

.product-card-name {
  min-height: 40px;
}

/* atalho: abre o anúncio já na aba de compatibilidade (loja.js, #compatibilidade) */
a.product-card-compatibility {
  align-self: flex-start;
  gap: 6px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 4px 10px;
  color: var(--color-primary);
  font-size: 11.5px;
  font-weight: 800;
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}

a.product-card-compatibility svg {
  width: 14px;
  height: 14px;
  color: var(--color-primary);
}

a.product-card-compatibility:hover {
  border-color: var(--color-primary);
  background: #fffdf3;
}

/* Faixa de veículos do card (Caio, 09-11-2026): até 3 fotos + "+N"; encolhem juntas no celular. */
a.product-card-veiculos {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  padding: 6px 0;
  border-top: 1px solid #eef2f7;
  border-bottom: 1px solid #eef2f7;
  text-decoration: none;
}

.product-card-veiculo {
  display: block;
  flex: 1 1 0;
  min-width: 0;
  max-width: 60px;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: #fff;
}

.product-card-veiculo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card-veiculos-mais {
  flex: 0 0 auto;
  border-radius: 999px;
  background: #eef2f7;
  padding: 3px 8px;
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 900;
}

.product-card-veiculos-nomes {
  min-width: 0;
  overflow: hidden;
  color: #475569;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
}

a.product-card-veiculos:hover .product-card-veiculo {
  border-color: var(--color-primary);
}

@media (max-width: 640px) {
  a.product-card-veiculos {
    gap: 4px;
  }

  .product-card-veiculos-nomes,
  .product-card-veiculos-mais {
    font-size: 11px;
  }
}

.product-card-price {
  margin-top: auto;
  border-top: 1px dashed var(--color-border);
  padding-top: 10px;
}

.product-card-price-current {
  font-size: 24px;
  font-weight: 950;
  letter-spacing: -0.01em;
}

.product-card-pix {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 2px 0 0;
  color: var(--color-success);
  font-size: 12px;
  font-weight: 800;
}

.product-card-pix strong {
  font-weight: 950;
}

.product-card-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}

.product-card-actions:has(.product-card-button-icon) {
  grid-template-columns: minmax(0, 1fr) 46px;
}

.product-card-button {
  min-height: 44px;
  border-radius: 12px;
}

.product-card-button-primary {
  box-shadow: 0 6px 14px rgba(255, 204, 0, 0.3);
}

.product-card-button-icon {
  width: 46px;
  padding: 0;
}

.product-card-button-icon svg {
  width: 20px;
  height: 20px;
}

.product-card-button-icon.is-added {
  border-color: #16a34a;
  background: #16a34a;
  color: #fff;
}

/* sem o "cresce 5%" geral dos botões aqui: dentro do card ele estourava a borda */
.product-card .product-card-button:hover:not(.product-card-button-disabled) {
  transform: translateY(-1px);
}

/* Celular (auditoria de responsividade, 28-10-2026): o bloco acima vem depois do @media do PRODUCT_CARD_CSS e
   desfazia os tamanhos de celular -- preço de 24px estourava o card de 2 colunas. */
@media (max-width: 640px) {
  .product-card-body {
    padding: 10px;
  }

  .product-card-price-current {
    font-size: 18px;
  }

  .product-card-pix,
  .product-card-installments {
    font-size: 10.5px;
  }

  a.product-card-compatibility {
    font-size: 10.5px;
    padding: 3px 8px;
  }

  .product-card-actions:has(.product-card-button-icon) {
    grid-template-columns: minmax(0, 1fr) 40px;
  }

  .product-card-button {
    min-height: 40px;
    border-radius: 10px;
  }

  .product-card-button-icon {
    width: 40px;
  }

  .product-card-favorite {
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
  }
}

/* ---------------------------------------------------------------------------
   Home: busca por veículo em cards (23-10-2026). Monta em loja.js
   ([data-vehicle-card-picker]). Atalhos por tipo levam ao catálogo filtrado.
--------------------------------------------------------------------------- */
.vfp-section {
  background: #fff;
  padding: 24px 16px;
}

.vfp-box {
  max-width: 1380px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(7, 23, 51, 0.04), 0 16px 40px rgba(7, 23, 51, 0.06);
}

.vfp-box *,
.vfp-box *::before,
.vfp-box *::after {
  box-sizing: border-box;
}

.vfp {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  column-gap: 32px;
  padding: 28px;
}

.vfp-head {
  display: contents;
}

.vfp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  background: var(--color-primary);
  color: var(--color-secondary);
  padding: 4px 11px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.vfp-title h2 {
  margin: 10px 0 0;
  color: var(--color-primary);
  font-size: 26px;
  font-weight: 950;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.vfp-title p {
  margin: 6px 0 0;
  color: var(--color-text-muted);
  font-size: 14px;
  font-weight: 600;
}

.vfp-search {
  position: relative;
  align-self: end;
  min-width: 0;
}

.vfp-search svg {
  position: absolute;
  top: 50%;
  left: 16px;
  width: 19px;
  height: 19px;
  color: var(--color-text-muted);
  transform: translateY(-50%);
  pointer-events: none;
}

.vfp-search input {
  width: 100%;
  height: 50px;
  border: 1.5px solid #d5dce6;
  border-radius: 14px;
  background: #fff;
  padding: 0 16px 0 46px;
  color: var(--color-primary);
  font-size: 14.5px;
  font-weight: 600;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.vfp-search input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(255, 210, 0, 0.35);
}

/* passos: Tipo › Marca › Modelo › Ano */
.vfp-steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 4px;
  margin-top: 20px;
}

.vfp-step {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  padding: 4px 10px 4px 4px;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 800;
  cursor: default;
  transition: background 0.15s ease;
}

.vfp .vfp-step:hover {
  transform: none;
}

.vfp-step-n {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #eef2f7;
  color: #94a3b8;
  font-size: 11.5px;
  font-weight: 900;
}

.vfp-step-txt {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  min-width: 0;
}

.vfp-step-txt small {
  color: inherit;
  font-size: 13px;
  font-weight: 700;
}

.vfp-step-txt strong {
  max-width: 180px;
  overflow: hidden;
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vfp-step.is-current {
  color: var(--color-primary);
}

.vfp-step.is-current .vfp-step-n {
  background: var(--color-secondary);
  color: var(--color-primary);
}


.vfp-step.is-done {
  color: var(--color-text-muted);
  cursor: pointer;
}

.vfp-step.is-done .vfp-step-n {
  background: var(--color-primary);
  color: var(--color-secondary);
}


.vfp-step.is-done:hover {
  background: #f1f4f8;
}

/* Voltar uma etapa (29-10-2026): pílula marinho no começo da linha das etapas. */
.vfp-voltar {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-right: 8px;
  border: 1.5px solid var(--color-primary);
  border-radius: 999px;
  background: #fff;
  padding: 5px 12px 5px 8px;
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.vfp-voltar svg {
  width: 16px;
  height: 16px;
}

.vfp .vfp-voltar:hover {
  transform: none;
  background: var(--color-primary);
  color: var(--color-secondary);
}

.vfp-step + .vfp-step::before {
  content: "";
  order: -1;
  width: 18px;
  height: 1.5px;
  margin-right: 6px;
  background: #d5dce6;
}

/* cards */
.vfp-grid {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  min-height: 132px;
  max-height: 420px;
  overflow-y: auto;
  padding: 2px 4px 4px 2px;
  scrollbar-width: thin;
}

/* passo 1: as fotos grandes, sem bloco */
.vfp-grid.is-tipos {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  align-items: center;
  overflow: visible;
  max-height: none;
}

.vfp-grid.is-marcas {
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}

.vfp-grid.is-modelos {
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
}

.vfp-grid.is-sem-versao {
  grid-template-columns: minmax(0, 420px);
}

/* versão escolhida */
.vfp-card-modelo.is-active {
  border-color: var(--color-primary);
  background: #fffdf3;
  box-shadow: 0 0 0 3px rgba(255, 210, 0, 0.45);
}

.vfp-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  border: 1.5px solid var(--color-border);
  border-radius: 14px;
  background: #fff;
  padding: 10px;
  color: var(--color-primary);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.vfp .vfp-card:hover {
  transform: translateY(-2px);
  border-color: var(--color-primary);
  box-shadow: 0 10px 22px rgba(7, 23, 51, 0.1);
}

.vfp-card:focus-visible,
.vfp-step:focus-visible {
  outline: 3px solid rgba(255, 210, 0, 0.7);
  outline-offset: 2px;
}

.vfp-card-img {
  position: relative;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 76px;
  height: 58px;
  overflow: hidden;
  border-radius: 10px;
  background: #f1f4f8;
  color: #94a3b8;
}

.vfp-card-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}

.vfp-card-img svg {
  width: 30px;
  height: 30px;
}

.vfp-card-txt {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.vfp-card-nome {
  overflow: hidden;
  font-size: 15px;
  font-weight: 950;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vfp-card-sub {
  overflow: hidden;
  color: var(--color-text-muted);
  font-size: 11.5px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vfp-card-modelo .vfp-card-sub {
  order: -1;
  margin-bottom: 2px;
}

/* modelo: foto grande em cima, marca e modelo embaixo */
.vfp-card-modelo {
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}

.vfp-card-modelo .vfp-card-img {
  width: 100%;
  height: 104px;
}

.vfp-card-modelo .vfp-card-img img {
  object-fit: cover;
  padding: 0;
  transition: transform 0.25s ease;
}

.vfp-card-modelo:hover .vfp-card-img img {
  transform: scale(1.05);
}

.vfp-card-modelo .vfp-card-txt {
  padding: 0 4px 2px;
}

/* marca: só texto, centralizado */
.vfp-card-marca {
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  min-height: 112px;
  text-align: center;
}

.vfp-marca-logo {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 64px;
  height: 40px;
  overflow: hidden;
}

/* tamanho preso na própria imagem: com 100% dentro do grid a altura não valia e o logo cortava */
.vfp-marca-logo img {
  display: block;
  width: 64px;
  height: 40px;
  object-fit: contain;
}

.vfp-marca-logo.is-sigla {
  width: 40px;
  border-radius: 999px;
  background: #f1f4f8;
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 950;
}

.vfp-card-marca .vfp-card-nome {
  max-width: 100%;
  font-size: 16px;
}

/* modelo escolhido + anos */
.vfp-escolhido {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1.5px solid var(--color-primary);
  border-radius: 14px;
  background: #fffdf3;
  padding: 12px;
}

.vfp-escolhido .vfp-card-img {
  width: 108px;
  height: 80px;
  background: #fff;
}

.vfp-escolhido-txt {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.vfp-escolhido-txt strong {
  color: var(--color-primary);
  font-size: 20px;
  font-weight: 950;
  line-height: 1.15;
}

.vfp-escolhido-dica {
  margin-top: 4px;
  color: var(--color-text-muted);
  font-size: 12px;
  font-weight: 700;
}

.vfp-vazio {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 1.5px dashed #d5dce6;
  border-radius: 14px;
  padding: 28px 16px;
  color: var(--color-text-muted);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

.vfp-buscar-tudo {
  margin-top: 8px;
  border: 1.5px solid var(--color-primary);
  border-radius: 10px;
  background: #fff;
  padding: 8px 14px;
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.vfp .vfp-buscar-tudo:hover {
  transform: none;
  background: #fffdf3;
}

.vfp-vazio strong {
  color: var(--color-primary);
  font-size: 15px;
}

.vfp-mais {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--color-text-muted);
  font-size: 12.5px;
  font-weight: 800;
  text-align: center;
}

/* rodapé do form */
.vfp-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  margin-top: 20px;
}

.vfp-foot p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 13.5px;
  font-weight: 600;
}

.vfp-foot p strong {
  color: var(--color-primary);
  font-weight: 900;
}

.vfp-submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  border: 0;
  border-radius: 12px;
  background: var(--color-secondary);
  padding: 0 24px;
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 950;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(255, 210, 0, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.vfp-submit svg {
  width: 18px;
  height: 18px;
  transition: transform 0.15s ease;
}

.vfp .vfp-submit:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(255, 210, 0, 0.45);
}

.vfp-submit:hover:not(:disabled) svg {
  transform: translateX(3px);
}

.vfp .vfp-submit:disabled {
  transform: none;
  background: var(--color-secondary);
  color: var(--color-primary);
  box-shadow: none;
  opacity: 0.45;
  cursor: not-allowed;
}

/* corpo: seleção à esquerda, WhatsApp à direita */
.vfp-body {
  display: contents;
}

.vfp-main {
  min-width: 0;
}

.vfp-body > .vfp-help {
  margin-top: 20px;
}

/* passo 1: tipos só com foto e nome, sem bloco */
.vfp-atalho {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 4px;
  color: var(--color-primary);
  text-align: center;
  text-decoration: none;
}

button.vfp-atalho {
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.vfp .vfp-atalho:hover {
  transform: none;
}

/* foto e nome crescem juntos no hover */
.vfp-atalho:hover .vfp-atalho-nome {
  transform: scale(1.08);
}

.vfp-atalho-img {
  display: grid;
  place-items: center;
  width: 128px;
  height: 128px;
}

.vfp-atalho-img img {
  width: 128px;
  height: 128px;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.vfp-atalho:hover .vfp-atalho-img img {
  transform: scale(1.1);
}

.vfp-atalho-nome {
  margin-top: 8px;
  font-size: 13.5px;
  font-weight: 950;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: transform 0.25s ease;
}

.vfp-help {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  border: 1px solid #c9eedb;
  border-radius: 18px;
  background: #f0fbf5;
  padding: 26px 24px 24px;
}

.vfp-help-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: #25d366;
  color: #fff;
}

.vfp-help-icon svg {
  width: 30px;
  height: 30px;
}

.vfp-help-title {
  margin: 0;
  color: var(--color-primary);
  font-size: 20px;
  font-weight: 950;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.vfp-help-text {
  margin: 6px 0 0;
  color: #475569;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.5;
}

.vfp-help-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  margin-top: 18px;
  border-radius: 13px;
  background: #25d366;
  padding: 0 16px;
  color: #fff;
  font-size: 14.5px;
  font-weight: 950;
  text-decoration: none;
  transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.vfp-help-button svg {
  width: 20px;
  height: 20px;
}

.vfp-help-button:hover {
  transform: translateY(-1px);
  background: #1ebe5b;
  box-shadow: 0 14px 28px rgba(37, 211, 102, 0.4);
}

@media (max-width: 1100px) {
  .vfp {
    grid-template-columns: minmax(0, 1fr);
  }

  .vfp-search {
    margin-top: 16px;
  }

  .vfp-body > .vfp-help {
    margin-top: 24px;
  }
}

@media (max-width: 720px) {
  .vfp {
    padding-right: 16px;
    padding-left: 16px;
  }

  .vfp-title h2 {
    font-size: 21px;
  }

  .vfp-search {
    flex-basis: 100%;
  }

  .vfp-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* No celular o Voltar ocupa a linha de cima inteira, sem espremer as etapas. */
  .vfp-voltar {
    grid-column: 1 / -1;
    justify-self: start;
    margin-right: 0;
  }

  .vfp-grid.is-sem-versao {
    grid-template-columns: 1fr;
  }

  .vfp-submit {
    width: 100%;
    justify-content: center;
  }
}

/* versão compacta: menu "Buscar por veículo" do cabeçalho (sem caixa, sem selo, menos altura) */
.vfp-box.is-compacto {
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.is-compacto .vfp {
  padding: 14px 0 6px;
}

.is-compacto .vfp-title h2 {
  margin-top: 0;
  font-size: 21px;
}

.is-compacto .vfp-title p {
  font-size: 13px;
}

.is-compacto .vfp-steps {
  margin-top: 14px;
}

/* lista grande (ex.: 103 modelos de trator) rola por dentro, o menu não passa da tela */
.is-compacto .vfp-grid {
  max-height: clamp(160px, calc(100vh - 420px), 300px);
}

.is-compacto .vfp-grid.is-tipos {
  max-height: none;
}

.is-compacto .vfp-atalho-img,
.is-compacto .vfp-atalho-img img {
  width: 112px;
  height: 112px;
}

.is-compacto .vfp-foot {
  margin-top: 14px;
}

.is-compacto .vfp-body > .vfp-help {
  margin-top: 14px;
}

/* ---------------------------------------------------------------------------
   Home: categorias em destaque (23-10-2026) — só a foto com cantos arredondados
   e o nome embaixo, no estilo dos tipos da busca por veículo.
--------------------------------------------------------------------------- */
.home-cats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.home-cat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--color-primary);
  text-align: center;
  text-decoration: none;
}

.home-cat-img {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 2px solid var(--color-secondary);
  border-radius: 20px;
  background: #fff;
  color: #94a3b8;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.home-cat-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
  transition: transform 0.3s ease;
}

.home-cat-img svg {
  width: 48px;
  height: 48px;
}

.home-cat-nome {
  font-size: 14.5px;
  font-weight: 950;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: transform 0.3s ease;
}

/* foto e nome crescem juntos */
.home-cat:hover .home-cat-img {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(255, 210, 0, 0.35), 0 14px 30px rgba(7, 23, 51, 0.12);
}

.home-cat:hover .home-cat-img img {
  transform: scale(1.08);
}

.home-cat:hover .home-cat-nome {
  transform: scale(1.06);
}

@media (max-width: 900px) {
  .home-cats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

/* ---------------------------------------------------------------------------
   Rodapé repaginado (23-10-2026): vantagens, corpo, faixa de logos e base.
--------------------------------------------------------------------------- */
.ft {
  background: #07162f;
  color: #fff;
}

.ft *,
.ft *::before,
.ft *::after {
  box-sizing: border-box;
}

.ft-wrap {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 24px;
}

/* vantagens */
.ft-vantagens {
  background: #123a7a;
}

.ft-vantagens-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding-top: 22px;
  padding-bottom: 22px;
}

.ft-vantagem {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ft-vantagem-icone {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.ft-vantagem-icone svg {
  width: 22px;
  height: 22px;
}

.ft-vantagem span:last-child {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.ft-vantagem strong {
  font-size: 14px;
  font-weight: 900;
}

.ft-vantagem small {
  color: #c7d6ef;
  font-size: 12.5px;
  font-weight: 600;
}

/* corpo */
.ft-corpo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) 340px;
  gap: 40px;
  padding-top: 44px;
  padding-bottom: 44px;
}

.ft-logo {
  display: inline-block;
  color: #fff;
  text-decoration: none;
}

.ft-logo img {
  display: block;
  width: auto;
  max-width: 240px;
  height: 64px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.ft-logo span {
  font-size: 24px;
  font-weight: 950;
  text-transform: uppercase;
}

.ft-marca-texto {
  max-width: 340px;
  margin: 18px 0 0;
  color: #cbd5e1;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
}

.ft-redes-titulo {
  margin: 24px 0 10px;
  color: #94a3b8;
  font-size: 11.5px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ft-redes {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* só o ícone, nas cores originais de cada rede (sem caixa) */
.ft-redes a {
  display: block;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.ft-redes a:hover {
  transform: translateY(-2px) scale(1.08);
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.35));
}

.ft-redes svg {
  display: block;
  width: 30px;
  height: 30px;
}

.ft-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.ft-links summary {
  margin-bottom: 16px;
  color: var(--color-secondary);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  list-style: none;
  pointer-events: none;
}

.ft-links summary::-webkit-details-marker {
  display: none;
}

.ft-links details > div {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.ft-links a {
  width: fit-content;
  color: #cbd5e1;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.15s ease, transform 0.15s ease;
}

.ft-links a:hover {
  transform: translateX(3px);
  color: #fff;
}

.ft-links .ft-link-todas {
  color: var(--color-secondary);
}

.ft-contato {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  padding: 22px;
}

.ft-contato-titulo {
  margin: 0;
  color: #fff;
  font-size: 18px;
  font-weight: 950;
}

.ft-contato-texto {
  margin: 6px 0 0;
  color: #cbd5e1;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.5;
}

.ft-whats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  margin-top: 16px;
  border-radius: 12px;
  background: #25d366;
  color: #fff;
  font-size: 14px;
  font-weight: 950;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease;
}

.ft-whats svg {
  width: 20px;
  height: 20px;
}

.ft-whats:hover {
  transform: translateY(-1px);
  background: #1ebe5b;
}

.ft-contato-info {
  display: grid;
  gap: 11px;
  margin: 18px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 0 0;
  list-style: none;
}

.ft-contato-info li {
  display: flex;
  gap: 10px;
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

.ft-contato-info svg {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  color: var(--color-secondary);
}

/* Horário do rodapé: clicar abre os 7 dias (06-11-2026) */
.ft-horario {
  flex: 1 1 auto;
  min-width: 0;
}

.ft-horario summary {
  display: flex;
  gap: 10px;
  cursor: pointer;
  list-style: none;
}

.ft-horario summary::-webkit-details-marker {
  display: none;
}

.ft-horario summary:hover span {
  color: #fff;
}

.ft-contato-info .ft-horario-seta {
  margin-left: auto;
  color: #94a3b8;
  transition: transform 0.2s ease;
}

.ft-horario[open] .ft-horario-seta {
  transform: rotate(180deg);
}

.ft-horario-dias {
  display: grid;
  gap: 6px;
  margin: 10px 0 0 26px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  padding: 10px 12px;
}

.ft-horario-dias div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.ft-horario-dias dt {
  color: #cbd5e1;
}

.ft-horario-dias dd {
  margin: 0;
  color: #fff;
  font-weight: 700;
}

.ft-horario-dias .is-fechado dd {
  color: #94a3b8;
  font-weight: 600;
}

/* faixa de logos */
.ft-selos {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ft-selos-grid {
  display: grid;
  grid-template-columns: auto auto auto;
  justify-content: space-between;
  gap: 24px 40px;
  padding-top: 24px;
  padding-bottom: 24px;
}

.ft-selo-grupo > p {
  margin: 0 0 10px;
  color: #94a3b8;
  font-size: 11.5px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ft-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ft-logo-chip {
  position: relative;
  display: block;
  width: 52px;
  height: 34px;
  border-radius: 7px;
  background: #fff;
}

.ft-logo-chip.is-largo {
  width: 84px;
}

.ft-logo-chip img {
  position: absolute;
  inset: 5px 6px;
  width: calc(100% - 12px);
  height: calc(100% - 10px);
  object-fit: contain;
}

.ft-seguranca {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ft-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 34px;
  border: 1px solid rgba(37, 211, 102, 0.35);
  border-radius: 9px;
  background: rgba(37, 211, 102, 0.08);
  padding: 0 12px 0 10px;
}

.ft-badge svg {
  width: 17px;
  height: 17px;
  color: #25d366;
}

.ft-badge span {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.ft-badge strong {
  font-size: 12px;
  font-weight: 950;
}

.ft-badge small {
  color: #cbd5e1;
  font-size: 10.5px;
  font-weight: 700;
}

/* base */
.ft-base-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.ft-base p {
  margin: 0;
  color: #94a3b8;
  font-size: 12.5px;
  font-weight: 600;
}

.ft-base .ft-base-ebp {
  color: var(--color-text-muted);
}

@media (max-width: 1100px) {
  .ft-vantagens-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ft-corpo-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .ft-selos-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .ft-wrap {
    padding: 0 16px;
  }

  .ft-vantagens-grid,
  .ft-links {
    grid-template-columns: 1fr;
  }

  .ft-links summary {
    pointer-events: auto;
    cursor: pointer;
  }
}

/* ---------------------------------------------------------------------------
   Catálogo: barra de filtros repaginada (23-10-2026). Categorias com
   miniatura, tipo em botões, preço com R$, promoções em liga/desliga; tudo
   aplica ao clicar (loja.js, initCatalogoFiltros).
--------------------------------------------------------------------------- */
.catalog-filters {
  border-color: var(--color-border);
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(7, 23, 51, 0.04), 0 12px 32px rgba(7, 23, 51, 0.05);
}

.catalog-filters-header {
  align-items: center;
  padding: 18px 18px 16px;
}

.catalog-filters-header h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
}

.catalog-filters-header h2 svg {
  width: 18px;
  height: 18px;
  color: var(--color-primary);
}

.catalog-filters-header a {
  border: 1px solid var(--color-border);
  padding: 0 11px;
}

.catalog-filters-header a:hover {
  border-color: var(--color-primary);
}

.catalog-filter-group {
  padding: 16px 18px;
}

.catalog-filter-title {
  color: var(--color-text-muted);
  font-size: 11px;
  letter-spacing: 0.06em;
}

.catalog-filter-search input {
  height: 42px;
  border-color: #d5dce6;
  border-radius: 10px;
}

/* categorias: linha com miniatura; a escolhida fica marcada */
.cf-cats {
  display: grid;
  gap: 4px;
  margin-top: 10px;
}

.cf-cat {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid transparent;
  border-radius: 12px;
  padding: 5px 8px 5px 5px;
  color: #334155;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.cf-cat input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.cf-cat:hover {
  background: #f6f8fb;
}

.cf-cat:has(input:checked) {
  border-color: var(--color-primary);
  background: #fffdf3;
  color: var(--color-primary);
}

.cf-cat:has(input:focus-visible) {
  outline: 3px solid rgba(255, 210, 0, 0.6);
  outline-offset: 1px;
}

.cf-cat-img {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 38px;
  height: 38px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 9px;
  background: #fff;
  color: var(--color-text-muted);
}

.cf-cat-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 2px;
}

.cf-cat-img svg {
  width: 18px;
  height: 18px;
}

.cf-cat-nome {
  min-width: 0;
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.25;
}

.cf-cat:has(input:checked) .cf-cat-nome {
  font-weight: 950;
}

/* check amarelo na categoria escolhida */
.cf-cat:has(input:checked)::after {
  content: "";
  width: 18px;
  height: 18px;
  margin-left: auto;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--color-secondary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23071733' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* tipo de produto: botões lado a lado */
.cf-segmentos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  margin-top: 10px;
  border-radius: 11px;
  background: #f1f4f8;
  padding: 4px;
}

.cf-segmentos label {
  position: relative;
  cursor: pointer;
}

.cf-segmentos input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.cf-segmentos span {
  display: grid;
  place-items: center;
  height: 34px;
  border-radius: 8px;
  color: var(--color-text-muted);
  font-size: 13px;
  font-weight: 850;
  transition: background 0.15s ease, color 0.15s ease;
}

.cf-segmentos label:hover span {
  color: var(--color-primary);
}

.cf-segmentos input:checked + span {
  background: #fff;
  color: var(--color-primary);
  box-shadow: 0 1px 3px rgba(7, 23, 51, 0.14);
}

.cf-segmentos input:focus-visible + span {
  outline: 3px solid rgba(255, 210, 0, 0.6);
}

/* preço: R$ dentro do campo */
.cf-preco {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: end;
  gap: 8px;
  margin-top: 10px;
}

.cf-preco label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.cf-preco-rotulo {
  color: #94a3b8;
  font-size: 11px;
  font-weight: 800;
}

.cf-preco-campo {
  display: flex;
  align-items: center;
  height: 40px;
  border: 1px solid #d5dce6;
  border-radius: 10px;
  background: #fff;
  padding: 0 10px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.cf-preco-campo:focus-within {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(255, 210, 0, 0.35);
}

.cf-preco-campo span {
  color: #94a3b8;
  font-size: 12.5px;
  font-weight: 800;
}

.cf-preco-campo input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 0 0 0 6px;
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 800;
  outline: none;
  -moz-appearance: textfield;
}

.cf-preco-campo input::-webkit-outer-spin-button,
.cf-preco-campo input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.cf-preco-ate {
  padding-bottom: 12px;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 700;
}

/* só promoções: liga/desliga */
.cf-switch {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.cf-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.cf-switch-texto {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
}

.cf-switch-texto strong {
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 900;
}

.cf-switch-texto small {
  color: var(--color-text-muted);
  font-size: 12px;
  font-weight: 600;
}

.cf-switch-trilho {
  position: relative;
  flex: 0 0 auto;
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: #d5dce6;
  transition: background 0.15s ease;
}

.cf-switch-trilho::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(7, 23, 51, 0.25);
  transition: transform 0.15s ease;
}

.cf-switch input:checked ~ .cf-switch-trilho {
  background: var(--color-primary);
}

.cf-switch input:checked ~ .cf-switch-trilho::after {
  transform: translateX(18px);
  background: var(--color-secondary);
}

.cf-switch input:focus-visible ~ .cf-switch-trilho {
  outline: 3px solid rgba(255, 210, 0, 0.6);
  outline-offset: 2px;
}

/* painel de veículo no catálogo: limpar só o veículo */
.vfp-limpar {
  display: inline-flex;
  align-items: center;
  min-height: 50px;
  margin-left: auto;
  border: 1.5px solid #d5dce6;
  border-radius: 12px;
  padding: 0 16px;
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  transition: border-color 0.15s ease;
}

.vfp-limpar:hover {
  border-color: var(--color-primary);
}

.vfp-limpar + .vfp-submit {
  margin-left: 0;
}

/* versão do catálogo: sem o bloco do WhatsApp e mais baixa (mesma largura) */
.is-sem-ajuda .vfp {
  row-gap: 0;
  padding: 18px 24px;
}

.is-sem-ajuda .vfp-body > .vfp-main {
  grid-column: 1 / -1;
}

.is-sem-ajuda .vfp-title h2 {
  margin-top: 0;
  font-size: 20px;
}

.is-sem-ajuda .vfp-search input {
  height: 44px;
}

.is-sem-ajuda .vfp-steps {
  margin-top: 12px;
}

.is-sem-ajuda .vfp-grid {
  margin-top: 10px;
  min-height: 0;
}

.is-sem-ajuda .vfp-grid.is-tipos {
  grid-template-columns: repeat(auto-fit, minmax(120px, 170px));
  gap: 8px 28px;
}

.is-sem-ajuda .vfp-atalho-img,
.is-sem-ajuda .vfp-atalho-img img {
  width: 108px;
  height: 108px;
}

.is-sem-ajuda .vfp-atalho-nome {
  margin-top: 4px;
  font-size: 12.5px;
}

/* botão (e o resumo) na mesma linha dos cards, à direita */
.is-sem-ajuda .vfp-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  column-gap: 28px;
}

.is-sem-ajuda .vfp-steps {
  grid-column: 1 / -1;
}

.is-sem-ajuda .vfp-foot {
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 0;
  padding-bottom: 6px;
}

.is-sem-ajuda .vfp-foot p {
  max-width: 300px;
  text-align: right;
}

.is-sem-ajuda .vfp-foot p:empty {
  display: none;
}

.is-sem-ajuda .vfp-limpar {
  margin-left: 0;
}

.is-sem-ajuda .vfp-title h2 {
  display: flex;
  align-items: center;
}

@media (max-width: 720px) {
  .is-sem-ajuda .vfp-main {
    grid-template-columns: 1fr;
  }

  .is-sem-ajuda .vfp-foot {
    align-items: stretch;
    margin-top: 12px;
  }
}

/* Celular (Caio, 06-11-2026): os 3 tipos (caminhonetes, caminhões, tratores) lado a lado, na Home e no catálogo,
   em vez de um por linha (a grade de 150-170px só cabia um). */
@media (max-width: 640px) {
  .vfp-grid.is-tipos,
  .is-sem-ajuda .vfp-grid.is-tipos,
  .is-compacto .vfp-grid.is-tipos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .vfp-grid.is-tipos .vfp-atalho-img,
  .vfp-grid.is-tipos .vfp-atalho-img img {
    width: min(92px, 100%);
    height: auto;
    aspect-ratio: 1;
  }

  .vfp-grid.is-tipos .vfp-atalho-nome {
    margin-top: 4px;
    font-size: 11px;
    letter-spacing: 0;
  }
}

.is-sem-ajuda .vfp-submit,
.is-sem-ajuda .vfp-limpar {
  min-height: 44px;
}

/* Catálogo: busca por nome em cima dos cards */
.catalog-busca {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  border: 1.5px solid #d5dce6;
  border-radius: 14px;
  background: #fff;
  padding: 5px 5px 5px 46px;
  box-shadow: 0 1px 2px rgba(7, 23, 51, 0.04);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.catalog-busca:focus-within {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(255, 210, 0, 0.35);
}

.catalog-busca-icone {
  position: absolute;
  top: 50%;
  left: 16px;
  display: flex;
  color: var(--color-text-muted);
  transform: translateY(-50%);
}

.catalog-busca-icone svg {
  width: 19px;
  height: 19px;
}

.catalog-busca input {
  flex: 1 1 auto;
  min-width: 0;
  height: 42px;
  border: 0;
  background: transparent;
  color: var(--color-primary);
  font-size: 15px;
  font-weight: 600;
  outline: none;
}

.catalog-busca button {
  flex: 0 0 auto;
  height: 42px;
  border: 0;
  border-radius: 10px;
  background: var(--color-primary);
  padding: 0 22px;
  color: #fff;
  font-size: 13.5px;
  font-weight: 900;
  cursor: pointer;
}

.catalog-busca button:hover:not(:disabled) {
  transform: none;
  background: #0f2a57;
}

/* Catálogo: atualizando (filtro pedido, página nova a caminho) */
.catalog-main {
  position: relative;
}

.catalog-main.is-carregando .catalog-products-grid,
.catalog-main.is-carregando .catalog-empty,
.catalog-main.is-carregando .catalog-pagination {
  opacity: 0.35;
  pointer-events: none;
  transition: opacity 0.15s ease;
}

.catalog-main.is-carregando::after {
  content: "Atualizando produtos…";
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  /* girador amarelo dentro da pílula (SVG animado) */
  background: var(--color-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9' fill='none' stroke='%23ffffff' stroke-opacity='.25' stroke-width='3'/%3E%3Cpath d='M12 3a9 9 0 0 1 9 9' fill='none' stroke='%23ffd200' stroke-width='3' stroke-linecap='round'%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 12 12' to='360 12 12' dur='.7s' repeatCount='indefinite'/%3E%3C/path%3E%3C/svg%3E") 18px center / 18px no-repeat;
  padding: 12px 20px 12px 46px;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 16px 40px rgba(7, 23, 51, 0.3);
  transform: translate(-50%, -50%);
}


/* ---------------------------------------------------------------------------
   Catálogo: barra de resultados (23-10-2026) e modo lista.
--------------------------------------------------------------------------- */
.catalog-results-toolbar {
  border-color: var(--color-border);
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(7, 23, 51, 0.04);
}

.catalog-results-toolbar-inner {
  align-items: center;
  gap: 16px 24px;
  padding: 14px 16px 14px 20px;
}

.catalog-results-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  min-width: 0;
}

.catalog-results-summary > p.catalog-results-total {
  margin: 0;
  color: #475569;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.catalog-results-total strong {
  color: var(--color-primary);
  font-size: 20px;
  font-weight: 950;
}

.catalog-results-dica {
  margin: 0;
  color: #94a3b8;
  font-size: 12.5px;
  font-weight: 600;
}

/* Busca que não achou exato e mostra o mais próximo (lib/site/data/catalogo.ts, AjusteDaBusca; 30-10-2026). */
.catalog-busca-ajuste {
  margin: 6px 0 0;
  padding: 8px 12px;
  border-radius: 10px;
  background: #fff8db;
  color: #5c4500;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.catalog-filter-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0;
}

button.catalog-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  border: 1px solid #d5dce6;
  border-radius: 999px;
  background: #f6f8fb;
  padding: 0 8px 0 12px;
  color: #475569;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

button.catalog-filter-chip strong {
  color: var(--color-primary);
  font-weight: 900;
}

button.catalog-filter-chip svg {
  width: 13px;
  height: 13px;
  border-radius: 999px;
  color: var(--color-text-muted);
}

.catalog-results-toolbar button.catalog-filter-chip:hover:not(:disabled) {
  transform: none;
  border-color: var(--color-primary);
  background: #fff;
}

.catalog-results-toolbar button.catalog-filter-chip:hover svg {
  color: var(--color-primary);
}

button.catalog-filter-chip-highlight {
  border-color: var(--color-secondary);
  background: #fffbe6;
}

.catalog-filter-limpar {
  margin-left: 4px;
  color: var(--color-text-muted);
  font-size: 12.5px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.catalog-filter-limpar:hover {
  color: var(--color-primary);
}

.catalog-results-actions {
  gap: 10px;
}

.catalog-sort-form {
  height: 42px;
  border: 1px solid #d5dce6;
  border-radius: 11px;
  background: #fff;
  padding: 0 6px 0 12px;
}

.catalog-sort-form label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-text-muted);
  font-size: 11.5px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.catalog-sort-form label svg {
  width: 15px;
  height: 15px;
}

.catalog-sort-form select {
  color: var(--color-primary);
  font-weight: 900;
  cursor: pointer;
}

.catalog-view-toggle {
  display: inline-flex;
  gap: 3px;
  height: 42px;
  border: 0;
  border-radius: 11px;
  background: #f1f4f8;
  padding: 4px;
}

.catalog-view-toggle button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #94a3b8;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.catalog-view-toggle button svg {
  width: 17px;
  height: 17px;
}

.catalog-view-toggle button:hover:not(:disabled) {
  transform: none;
  color: var(--color-primary);
}

.catalog-view-toggle button.is-active {
  background: #fff;
  color: var(--color-primary);
  box-shadow: 0 1px 3px rgba(7, 23, 51, 0.14);
}

/* modo lista: foto à esquerda, nome/categoria no meio, preço e botões à direita */
.catalog-products-grid.is-lista {
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.catalog-products-grid.is-lista .product-card {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  align-items: stretch;
}

.catalog-products-grid.is-lista .product-card:hover {
  transform: translateY(-2px);
}

.catalog-products-grid.is-lista .product-card-media {
  margin: 8px;
}

.catalog-products-grid.is-lista .product-card-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  grid-template-areas:
    "head price"
    "compat actions";
  align-items: center;
  gap: 10px 28px;
  padding: 18px 20px 18px 8px;
}

.catalog-products-grid.is-lista .product-card-heading {
  grid-area: head;
  align-self: end;
}

.catalog-products-grid.is-lista .product-card-name {
  min-height: 0;
  font-size: 16px;
}

.catalog-products-grid.is-lista .product-card-compatibility {
  grid-area: compat;
  align-self: start;
  justify-self: start;
}

.catalog-products-grid.is-lista .product-card-price {
  grid-area: price;
  align-self: end;
  margin-top: 0;
  border-top: 0;
  border-left: 1px dashed var(--color-border);
  padding: 0 0 0 20px;
}

.catalog-products-grid.is-lista .product-card-actions {
  grid-area: actions;
  align-self: start;
  padding-left: 20px;
}

@media (max-width: 900px) {
  .catalog-products-grid.is-lista .product-card {
    grid-template-columns: 130px minmax(0, 1fr);
  }

  .catalog-products-grid.is-lista .product-card-body {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "head" "compat" "price" "actions";
    padding: 12px 12px 12px 0;
  }

  .catalog-products-grid.is-lista .product-card-price,
  .catalog-products-grid.is-lista .product-card-actions {
    border-left: 0;
    padding-left: 0;
  }
}

/* ---------------------------------------------------------------------------
   Cabeçalho: dropdown de Favoritos (23-10-2026) — card um por vez, no visual do
   de Promoções (classes mega-promos-*).
--------------------------------------------------------------------------- */
.fav-menu {
  position: relative;
}

.fav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: -60px;
  z-index: 80;
  width: 330px;
  margin-top: 12px;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(7, 23, 51, 0.22);
  color: var(--color-primary);
}

/* ponte invisível: o mouse passa do link pro dropdown sem fechar */
.fav-dropdown::before {
  content: "";
  position: absolute;
  top: -24px;
  left: -16px;
  right: -16px;
  height: 24px;
}

/* margem invisível em volta: passar um pouco da borda não conta como sair */
.fav-dropdown::after {
  content: "";
  position: absolute;
  inset: -16px;
  z-index: -1;
}

.fav-menu.is-open .fav-dropdown {
  display: block;
  animation: mega-entrar 0.18s ease;
}

.fav-dropdown .mega-promos-mini {
  padding: 14px;
}

.fav-aviso {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 18px 10px 8px;
  text-align: center;
}

.fav-aviso svg {
  width: 34px;
  height: 34px;
  margin-bottom: 4px;
  border-radius: 999px;
  background: #fff6c7;
  padding: 7px;
  color: var(--color-primary);
}

.fav-aviso strong {
  font-size: 15px;
  font-weight: 950;
}

.fav-aviso span {
  color: var(--color-text-muted);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.45;
}

.fav-aviso-btn {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  margin-top: 8px;
  border-radius: 10px;
  background: var(--color-secondary);
  padding: 0 18px;
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.fav-aviso-btn:hover {
  filter: brightness(0.96);
}

@media (max-width: 900px) {
  .fav-dropdown {
    display: none !important;
  }
}

/* Sugestões da busca do cabeçalho (loja.js, initBuscaSugestoes): o form deixa o dropdown sair dele.
   Fica no CSS do tema (não no globals.css) pra valer junto com o resto da Loja. */
.search-form {
  position: relative;
  overflow: visible;
}
.search-form > button {
  border-radius: 0 6px 6px 0;
}
.busca-sugestoes {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 70;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 24px 50px rgba(7, 23, 51, 0.22);
}
.busca-sugestao {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  color: var(--color-primary);
  text-decoration: none;
  transition: background 0.12s ease;
}
.busca-sugestao + .busca-sugestao {
  border-top: 1px solid #f1f4f8;
}
.busca-sugestao:hover,
.busca-sugestao:focus-visible {
  background: #f6f8fb;
  outline: none;
}
.busca-sugestao-foto {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 54px;
  height: 54px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: #fff;
}
.busca-sugestao-foto img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.busca-sugestao-txt {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.busca-sugestao-txt small {
  color: var(--color-text-muted);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.busca-sugestao-txt strong {
  display: -webkit-box;
  overflow: hidden;
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.3;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.busca-sugestao-preco {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: flex-end;
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 950;
  white-space: nowrap;
}
.busca-sugestao-preco small,
.busca-sugestao-preco s {
  color: #94a3b8;
  font-size: 11px;
  font-weight: 700;
}
.busca-sugestao-preco.is-indisponivel {
  color: #94a3b8;
  font-size: 12px;
}
.search-form .busca-sugestoes-todos {
  display: block;
  width: 100%;
  height: auto;
  border-top: 1px solid var(--color-border);
  border-radius: 0;
  background: #f6f8fb;
  padding: 12px 14px;
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 900;
  text-align: left;
}
.search-form .busca-sugestoes-todos:hover {
  filter: none;
  background: #fffbe6;
  transform: none;
}
.busca-sugestoes-vazio {
  margin: 0;
  padding: 16px;
  color: var(--color-text-muted);
  font-size: 13px;
  font-weight: 600;
}
/* Mostra o texto da aba certa: .is-register-mode vem do servidor e o loja.js troca junto com a aba. */

/* ---------- Painel da marca ---------- */

/* ---------- Formulário ---------- */
/* Botão do Google (Caio, 29-10-2026): "G" oficial num círculo, texto no meio e seta que desliza no hover. */
/* Item de grade não encolhe abaixo do tamanho natural: sem isso o formulário vazava da coluna. */
/* Só aparece com o cursor num dos campos de senha (o olho fica dentro do campo, então clicar nele não esconde). */
@keyframes lgRegras { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ---------- Recuperar senha (recuperar-senha.liquid) ---------- */

/* ---------- Redefinir senha (redefinir-senha.liquid) ---------- */
@keyframes lgGira { to { transform: rotate(360deg); } }
/* Senha salva: o botão "Entrar na minha conta" já faz o papel do "Voltar para o login". */

.auth-container {
  width: min(100% - 48px, 1180px);
  margin: 0 auto;
}

.auth-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  color: var(--color-text-muted);
  font-size: 13px;
  font-weight: 700;
}

.auth-breadcrumb a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) 402px;
  gap: 28px;
  align-items: start;
}

.auth-card {
  border: 1px solid var(--color-border);
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(7, 23, 51, 0.06);
}

.auth-main-card {
  padding: 30px 44px 36px;
}

.auth-card-header {
  text-align: center;
}

.auth-kicker {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  border-radius: 999px;
  background: #fff7cc;
  color: var(--color-primary);
  padding: 0 12px;
  font-size: 12px;
  line-height: 1;
  font-weight: 950;
}

.auth-card-header h1 {
  margin: 0;
  color: var(--color-primary);
  font-size: 30px;
  line-height: 1.12;
  font-weight: 950;
}

.auth-card-header p {
  max-width: 520px;
  margin: 10px auto 0;
  color: #536173;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 700;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 28px;
  border-bottom: 1px solid var(--color-border);
}

.auth-tab {
  position: relative;
  min-height: 50px;
  border: 0;
  background: transparent;
  color: #0b2f68;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}

.auth-tab::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: transparent;
}

.auth-tab.is-active {
  color: var(--color-primary);
  font-weight: 950;
}

.auth-tab.is-active::after {
  background: var(--color-primary);
}

.auth-field {
  display: grid;
  gap: 7px;
}

.auth-field span,
.auth-section-title h2 {
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 900;
}

.auth-field input {
  width: 100%;
  min-height: 48px;
  border: 1px solid #cfd6e2;
  border-radius: 7px;
  background: #fff;
  color: var(--color-primary);
  padding: 0 14px;
  font-size: 14px;
  font-weight: 700;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.auth-field input::placeholder {
  color: #6b7280;
}

.auth-field input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(255, 210, 0, 0.32);
}

.auth-password-toggle {
  position: absolute;
  right: 8px;
  bottom: 7px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--color-text-muted);
  cursor: pointer;
}

.auth-password-toggle:hover {
  background: #f1f5f9;
  color: var(--color-primary);
}

.auth-password-toggle svg {
  width: 19px;
  height: 19px;
}

.auth-form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.auth-form-row a,
.auth-link-button,
.auth-terms a {
  color: #0b2f68;
  font-size: 13px;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.auth-check {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  color: #334155;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 700;
}

.auth-check input {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: var(--color-primary);
}

.auth-primary-button,
.auth-outline-button,
.auth-link-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}

.auth-primary-button {
  border: 1px solid var(--color-secondary);
  background: var(--color-secondary);
  color: var(--color-primary);
}

.auth-primary-button:disabled,
.auth-outline-button.is-disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.auth-outline-button {
  border: 1px solid var(--color-primary);
  background: #fff;
  color: var(--color-primary);
}

.auth-outline-button svg {
  width: 19px;
  height: 19px;
}

.auth-link-button {
  border: 0;
  background: transparent;
  text-transform: none;
}

.auth-secure-note {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid #e5eaf1;
  padding-top: 18px;
  color: #475569;
  font-size: 13px;
  font-weight: 800;
}

.auth-secure-note span {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border-radius: 999px;
  background: #f1f5f9;
  color: var(--color-primary);
}

.auth-secure-note svg {
  width: 18px;
  height: 18px;
}

.auth-section-title {
  margin-top: 6px;
  border-top: 1px solid #e5eaf1;
  padding-top: 18px;
}

.auth-section-title:first-child {
  margin-top: 0;
  border-top: 0;
  padding-top: 0;
}

.auth-section-title h2 {
  margin: 0;
  font-size: 19px;
}

.auth-fields-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.auth-person-type {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid #cfd6e2;
  border-radius: 7px;
  background: #fff;
}

.auth-person-type label {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #334155;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.auth-person-type label + label {
  border-left: 1px solid #cfd6e2;
}

.auth-person-type label.is-active {
  background: var(--color-primary);
  color: #fff;
}

.auth-person-type input {
  width: 14px;
  height: 14px;
  accent-color: var(--color-secondary);
}

.auth-terms {
  align-items: flex-start;
  margin-top: 2px;
}

.auth-register-intro {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  border: 1px solid #dbe7f7;
  border-radius: 9px;
  background: #f8fbff;
  padding: 14px;
}

.auth-register-intro-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 999px;
  background: var(--color-primary);
  color: var(--color-secondary);
}

.auth-register-intro-icon svg {
  width: 23px;
  height: 23px;
}

.auth-register-intro strong {
  display: block;
  color: var(--color-primary);
  font-size: 15px;
  line-height: 1.2;
  font-weight: 950;
}

.auth-register-intro p {
  margin: 5px 0 0;
  color: #536173;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 700;
}

.auth-alert-success {
  display: grid;
  gap: 4px;
  border: 1px solid #bbf7d0;
  background: #f0fdf4;
  color: var(--color-success);
}

.auth-alert-success strong {
  font-size: 14px;
  font-weight: 950;
}

.auth-alert-success span {
  font-size: 13px;
  line-height: 1.4;
  font-weight: 700;
}

.auth-side {
  display: grid;
  gap: 16px;
}

.auth-benefits-card,
.auth-help-card {
  padding: 28px;
}

.auth-benefits-card h2,
.auth-help-card h2 {
  margin: 0;
  color: var(--color-primary);
  font-size: 23px;
  line-height: 1.15;
  font-weight: 950;
}

.auth-benefits-lead {
  margin: 10px 0 0;
  color: #536173;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 700;
}

.auth-benefit-list {
  display: grid;
  margin-top: 20px;
}

.auth-benefit-item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 18px 0;
}

.auth-benefit-item + .auth-benefit-item {
  border-top: 1px solid #e5eaf1;
}

.auth-benefit-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 999px;
  background: #fff5bf;
  color: var(--color-primary);
}

.auth-benefit-icon svg {
  width: 28px;
  height: 28px;
}

.auth-benefit-item strong {
  display: block;
  color: var(--color-primary);
  font-size: 15px;
  line-height: 1.25;
  font-weight: 950;
}

.auth-benefit-item p,
.auth-help-card p {
  margin: 6px 0 0;
  color: #536173;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 700;
}

.auth-help-card .auth-outline-button {
  width: 100%;
  margin-top: 18px;
}

.auth-whatsapp-button svg {
  width: 20px;
  height: 20px;
}

.auth-google-button {
  width: 100%;
  margin-top: 18px;
  text-transform: none;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0 4px;
  color: #6b7280;
  font-size: 12px;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e5e7eb;
}

.auth-login-shortcut {
  width: 100%;
  margin-top: 18px;
}

.auth-recovery-page {
  min-height: calc(100vh - 134px);
}

.auth-recovery-container {
  width: min(100% - 48px, 1120px);
}

.auth-recovery-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 24px;
  align-items: stretch;
}

.auth-recovery-card {
  display: grid;
  align-content: center;
  min-height: 520px;
  padding: 42px 54px;
}

.auth-recovery-card .auth-card-header {
  text-align: left;
}

.auth-recovery-card .auth-card-header p {
  max-width: 620px;
  margin-right: 0;
  margin-left: 0;
}

.auth-recovery-icon {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--color-primary);
  color: var(--color-secondary);
}

.auth-recovery-icon svg {
  width: 32px;
  height: 32px;
}

.auth-recovery-form {
  max-width: 520px;
}

.auth-back-login {
  width: 100%;
}

.auth-recovery-side {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: #fff;
  padding: 30px;
}

.auth-recovery-side h2 {
  margin: 0;
  color: #fff;
  font-size: 26px;
  line-height: 1.15;
  font-weight: 950;
}

.auth-recovery-steps {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.auth-recovery-step {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.auth-recovery-step > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 999px;
  background: var(--color-secondary);
  color: var(--color-primary);
  font-size: 16px;
  font-weight: 950;
}

.auth-recovery-step strong {
  display: block;
  color: #fff;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 950;
}

.auth-recovery-step p {
  margin: 5px 0 0;
  color: #dbeafe;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 700;
}

.auth-recovery-help {
  margin-top: 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.06);
  padding: 16px;
}

.auth-recovery-help strong {
  display: block;
  color: var(--color-secondary);
  font-size: 14px;
  font-weight: 950;
}

.auth-recovery-help p {
  margin: 6px 0 0;
  color: #dbeafe;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 700;
}

.auth-reset-loading {
  max-width: 520px;
  margin-top: 24px;
  border: 1px solid #dbe7f7;
  border-radius: 9px;
  background: #f8fbff;
  color: #0b2f68;
  padding: 14px;
  font-size: 14px;
  font-weight: 850;
}

.auth-reset-rules {
  display: grid;
  gap: 4px;
  border: 1px solid #dbe7f7;
  border-radius: 9px;
  background: #f8fbff;
  padding: 14px;
}

.auth-reset-rules strong {
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 950;
}

.auth-reset-rules span {
  color: #536173;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 700;
}

.auth-reset-new-link,
.auth-reset-login-link {
  width: min(100%, 520px);
  margin-top: 18px;
}

@media (max-width: 980px) {
  .auth-layout {
    grid-template-columns: 1fr;
  }

  .auth-side {
    grid-template-columns: 1fr 1fr;
  }

  .auth-recovery-layout {
    grid-template-columns: 1fr;
  }

  .auth-recovery-card {
    min-height: auto;
  }
}

@media (max-width: 720px) {

  .auth-container {
    width: min(100% - 28px, 1180px);
  }

  .auth-main-card {
    padding: 24px 18px 26px;
  }

  .auth-card-header {
    text-align: left;
  }

  .auth-card-header h1 {
    font-size: 26px;
  }

  .auth-fields-grid,
  .auth-side {
    grid-template-columns: 1fr;
  }

  .auth-register-intro {
    grid-template-columns: 1fr;
  }

  .auth-recovery-container {
    width: min(100% - 28px, 1120px);
  }

  .auth-recovery-card,
  .auth-recovery-side {
    padding: 24px 18px 26px;
  }

  .auth-recovery-icon {
    width: 58px;
    height: 58px;
  }

  .auth-form-row {
    align-items: flex-start;
    flex-direction: column;
  }
}

.checkout-guide-card {
  border: 1px solid var(--color-border);
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(7, 23, 51, 0.06);
}

.checkout-guide-card {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 16px;
}

.checkout-guide-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: var(--color-primary);
  color: var(--color-secondary);
}

.checkout-guide-icon svg {
  width: 25px;
  height: 25px;
}

.checkout-guide-card strong {
  display: block;
  color: var(--color-primary);
  font-size: 17px;
  font-weight: 950;
}

.checkout-guide-card p,
.checkout-panel-subtitle {
  color: var(--color-text-muted);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 700;
}

.checkout-guide-card > strong {
  justify-self: end;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: #fff;
  color: var(--color-primary);
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  white-space: nowrap;
}

.checkout-panel-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.checkout-panel-subtitle {
  margin: 4px 0 0;
}

.hidden {
  display: none !important;
}

.checkout-frete-resumo {
  margin-top: 14px;
}

.mp-checkout-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.mp-checkout-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 23, 51, 0.72);
  backdrop-filter: blur(4px);
}

.mp-checkout-modal-shell {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 100%;
  padding: 22px;
}

.mp-checkout-modal-card {
  display: flex;
  flex-direction: column;
  width: min(100%, 880px);
  height: min(90vh, 760px);
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(7, 23, 51, 0.32);
}

.mp-checkout-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid #e7ebf0;
  padding: 16px 18px;
}

.mp-checkout-modal-header > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mp-checkout-modal-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--color-secondary);
  color: var(--color-primary);
}

.mp-checkout-modal-icon svg {
  width: 18px;
  height: 18px;
}

.mp-checkout-modal-header strong {
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 950;
}

.mp-checkout-modal-header button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: #fff;
  color: #536173;
  cursor: pointer;
}

.mp-checkout-modal-header button:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.mp-checkout-modal-header button svg {
  width: 18px;
  height: 18px;
}

.mp-checkout-modal-body {
  position: relative;
  flex: 1;
  background: #f5f6f8;
}

.mp-checkout-loading {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--color-text-muted);
  font-size: 13px;
  font-weight: 800;
}

.mp-checkout-loading span {
  width: 34px;
  height: 34px;
  border: 3px solid var(--color-border);
  border-top-color: var(--color-primary);
  border-radius: 999px;
  animation: checkout-spin 0.75s linear infinite;
}

.mp-checkout-modal iframe {
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
}

@keyframes checkout-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 760px) {

  .checkout-guide-card {
    align-items: flex-start;
  }

  .checkout-guide-card {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .checkout-guide-card > strong {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .mp-checkout-modal-shell {
    padding: 12px;
  }

  .mp-checkout-modal-card {
    height: 94vh;
    border-radius: 9px;
  }
}

/* ---------------------------------------------------------------------------
   Repaginação do checkout (22-10-2026): rádios próprios, cartões com ícone e
   logos das bandeiras, selos, frete com ícone e "i" com explicação (ck-tip).
   Só visual: a ordem dos blocos e os data-* que o checkout.js usa não mudam.
--------------------------------------------------------------------------- */
.checkout-guide-card {
  border-color: var(--color-border);
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(7, 23, 51, 0.04), 0 12px 32px rgba(7, 23, 51, 0.05);
}

/* "i" com a explicação: aparece ao passar o mouse ou focar com o teclado */
.ck-tip {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin-left: 7px;
  border: 1.5px solid #b6c0cd;
  border-radius: 999px;
  color: #8a96a8;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  line-height: 1;
  cursor: help;
  outline: none;
  vertical-align: middle;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.ck-tip:hover,
.ck-tip:focus-visible {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: var(--color-secondary);
}

.ck-tip::after {
  content: attr(data-tip);
  position: absolute;
  top: calc(100% + 9px);
  left: 50%;
  z-index: 40;
  width: 250px;
  border-radius: 9px;
  background: var(--color-primary);
  color: #fff;
  padding: 9px 11px;
  font-family: inherit;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.45;
  text-align: left;
  text-transform: none;
  letter-spacing: 0;
  white-space: normal;
  box-shadow: 0 12px 28px rgba(7, 23, 51, 0.22);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -4px);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.ck-tip:hover::after,
.ck-tip:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* rádio próprio (endereço, frete e pagamento) */

/* o selo "Selecionado" acompanha o endereço marcado */

/* frete */

/* formas de pagamento */

/* frete escolhido, repetido no bloco de pagamento */

[data-frete-resumo] > b {
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 950;
  white-space: nowrap;
}

/* resumo */

.checkout-seals-label {
  display: block;
  margin-bottom: 7px;
  color: var(--color-text-muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.checkout-seals-trust {
  border-top: 1px dashed var(--color-border);
  margin-top: 12px;
  padding-top: 12px;
}

@media (max-width: 760px) {
  .ck-tip::after {
    left: auto;
    right: -12px;
    width: min(250px, 80vw);
    transform: translateY(-4px);
  }

  .ck-tip:hover::after,
  .ck-tip:focus-visible::after {
    transform: translateY(0);
  }

  /* Balão do "i" dos títulos preso à largura do quadro (auditoria de responsividade, 28-10-2026): saindo do "i"
     com 250px, ele passava da tela mesmo invisível e a página do checkout ficava 546px de largura no celular. */
}

/* logo da transportadora no lugar do caminhão */

/* anúncio único: card com a foto grande */

/* foto grande */

/* aceite dos termos em cima do botão de comprar */
/* solto, numa linha só, logo acima do botão */

/* tentou finalizar sem aceitar: treme e fica em destaque até marcar */

@keyframes checkout-shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-7px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(3px); }
}

/* nada dentro do resumo pode alargar a coluna (texto numa linha só empurrava a margem direita) */

/* compra segura */

/* dúvida: atalho do WhatsApp */

.account-avatar-fallback,
.account-avatar-img {
  width: 82px;
  height: 82px;
  border-radius: 999px;
  flex-shrink: 0;
}

.account-avatar-img {
  display: block;
  object-fit: cover;
}

.account-avatar-fallback {
  display: grid;
  place-items: center;
  color: var(--color-primary);
  font-size: 24px;
  font-weight: 900;
}

.account-order-copy small,
.account-order-total small {
  display: block;
  color: var(--color-text-muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.account-overview-grid,
.account-details-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.95fr);
  gap: 20px;
}

.account-details-grid {
  margin-top: 18px;
  align-items: stretch;
}

.account-summary-card,
.account-support-card {
  padding: 20px;
}

.account-title-icon-soft {
  border-radius: 999px;
  background: var(--color-surface);
}

.account-order-preview {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
}

.account-order-image {
  display: grid;
  width: 82px;
  height: 74px;
  place-items: center;
  overflow: hidden;
  border: 1px solid #e5eaf1;
  border-radius: 7px;
  background: #fff;
  color: var(--color-primary);
  font-weight: 900;
  text-decoration: none;
}

.account-order-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.account-order-copy a {
  display: inline-block;
  margin-top: 5px;
  color: #003b8f;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.account-order-copy p {
  margin: 5px 0 0;
  color: var(--color-text-muted);
  font-size: 12px;
  font-weight: 700;
}

.account-order-total {
  text-align: right;
}

.account-order-total strong {
  display: block;
  margin-top: 4px;
  color: var(--color-primary);
  font-size: 16px;
  font-weight: 900;
}

.account-small-link {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: 7px;
  margin-top: 14px;
  padding: 0 14px;
  color: #003b8f;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.account-support-card {
  display: flex;
  align-items: center;
  gap: 18px;
}

.account-whatsapp-mark {
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  flex-shrink: 0;
  border-radius: 999px;
  background: var(--color-primary);
  color: #fff;
}

.account-whatsapp-mark svg {
  width: 48px;
  height: 48px;
}

.account-support-card h2 {
  margin: 0;
  color: var(--color-primary);
  font-size: 20px;
  line-height: 1.2;
  font-weight: 900;
}

.account-support-card p {
  margin: 8px 0 14px;
  color: #536172;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 700;
}

/* Privacidade (29-10-2026): ofertas é um interruptor (o "Não recebo" de caixinha confundia); excluir é vermelho (botão
   de apagar é a exceção da regra do vermelho). */

.account-form-actions {
  grid-column: 2;
  display: flex;
  justify-content: flex-end;
  margin-top: 4px;
}

.account-complete-pill {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border-radius: 999px;
  margin-top: 20px;
  background: #ecfdf5;
  color: var(--color-success);
  padding: 0 12px;
  font-size: 12px;
  font-weight: 900;
}

.account-complete-pill-warning {
  background: #fff7ed;
  color: #c2410c;
}

.account-filter-button {
  min-width: 150px;
}

.account-order-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.account-order-stat {
  border: 1px solid #e5eaf1;
  border-radius: 8px;
  background: #fbfcfe;
  padding: 14px;
}

.account-order-stat small {
  display: block;
  color: var(--color-text-muted);
  font-size: 11px;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
}

.account-order-stat strong {
  display: block;
  margin-top: 8px;
  color: var(--color-primary);
  font-size: 24px;
  line-height: 1;
  font-weight: 900;
}

.account-favorite-card {
  position: relative;
  overflow: hidden;
  border: 1px solid #e5eaf1;
  border-radius: 9px;
  background: #fff;
  padding: 12px;
}

.account-favorite-remove {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid #e5eaf1;
  border-radius: 999px;
  background: #fff;
  color: #dc2626;
  cursor: pointer;
}

.account-favorite-remove svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.account-favorite-media {
  display: grid;
  width: 100%;
  height: 142px;
  place-items: center;
  border-radius: 7px;
  background: #fff;
  text-decoration: none;
}

.account-favorite-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.account-favorite-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: #cbd5e1;
}

.account-favorite-placeholder svg {
  width: 48px;
  height: 48px;
}

.account-favorite-body {
  display: grid;
  gap: 7px;
  padding-top: 10px;
}

.account-favorite-name {
  min-height: 38px;
  color: var(--color-primary);
  font-size: 14px;
  line-height: 1.3;
  font-weight: 900;
  text-decoration: none;
}

.account-favorite-meta {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 12px;
  line-height: 1.3;
  font-weight: 700;
}

.account-favorite-price {
  margin: 4px 0 0;
  color: var(--color-primary);
  font-size: 22px;
  line-height: 1;
  font-weight: 900;
}

.account-favorite-price-muted {
  font-size: 16px;
}

.account-favorite-installments {
  margin: -2px 0 4px;
  color: var(--color-text-muted);
  font-size: 12px;
  font-weight: 700;
}

.account-favorite-button {
  display: inline-flex;
  width: 100%;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid #ffd000;
  border-radius: 7px;
  background: #ffd000;
  color: var(--color-primary);
  padding: 0 12px;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.account-favorite-button-muted {
  border-color: var(--color-primary);
  background: #fff;
}

.account-favorite-details {
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
}

@media (max-width: 1180px) {

  .account-overview-grid,
  .account-details-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {

  .account-order-stats {
    grid-template-columns: 1fr;
  }

  .account-form-actions {
    grid-column: auto;
  }
}

@media (max-width: 620px) {
  .account-order-preview {
    grid-template-columns: 1fr;
  }

  .account-support-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .account-order-total {
    text-align: left;
  }
}

/* ---------------------------------------------------------------------------
   Repaginação da Minha conta (22-10-2026): cards com sombra leve, ícones em
   quadrados coloridos, campos com ícone e cadeado, perfil com progresso.
   Só visual: os data-* que o loja.js usa não mudam.
--------------------------------------------------------------------------- */

/* perfil no topo */

/* números (pedidos, favoritos, endereços, atendimento) */

/* cards de números, repaginados (23-10-2026): ícone e seta no topo, número grande, legenda embaixo */

/* faixa fina na cor do card */

/* menu lateral */

/* sair: neutro (vermelho é só pra apagar/cancelar) */

/* card dos dados */

/* campos com ícone */

/* tipo de cliente e atendimento */

/* perfil completo */

/* trocar e-mail */

/* Meus pedidos */

/* por onde o pedido foi feito */

/* O ícone é um <span> dentro de .order-delivery-grid, e a regra de texto (span cinza, display block) tirava a cor e a
   centralização dele (Caio, 06-11-2026). */

.order-detail-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.order-back-link {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 10px;
  color: #0b2f68;
  font-size: 13px;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.order-detail-header h1 {
  margin: 0;
  color: var(--color-primary);
  font-size: 34px;
  line-height: 1.12;
  font-weight: 950;
}

.order-detail-header p {
  margin: 6px 0 0;
  color: #536173;
  font-size: 14px;
  font-weight: 750;
}

.order-status-pill {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 950;
  white-space: nowrap;
}

.order-status-pill-success {
  background: #dcfce7;
  color: var(--color-success);
}

.order-status-pill-warning {
  background: var(--color-secondary);
  color: var(--color-primary);
}

.order-status-pill-info {
  background: #dbeafe;
  color: #0b2f68;
}

.order-status-pill-danger {
  background: #fee2e2;
  color: var(--color-error);
}

.order-status-pill-neutral {
  background: #eef2f7;
  color: #334155;
}

.order-detail-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.order-detail-stats article {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: 9px;
  background: #fff;
  padding: 16px;
}

.order-stat-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 999px;
  background: var(--color-primary);
  color: #fff;
}

.order-stat-icon-success {
  background: #078b2e;
}

.order-stat-icon svg {
  width: 27px;
  height: 27px;
}

.order-detail-stats small {
  display: block;
  color: var(--color-text-muted);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.order-detail-stats strong {
  display: block;
  margin-top: 3px;
  color: var(--color-primary);
  font-size: 16px;
  line-height: 1.2;
  font-weight: 950;
}

.order-history-list {
  position: relative;
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 4px 0 0;
  list-style: none;
}

.order-history-list::before {
  content: "";
  position: absolute;
  top: 14px;
  bottom: 14px;
  left: 11px;
  width: 2px;
  background: var(--color-border);
}

.order-history-event {
  position: relative;
  display: grid;
  grid-template-columns: 26px 138px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.order-history-marker {
  position: relative;
  z-index: 1;
  display: block;
  width: 24px;
  height: 24px;
  border: 2px solid #cfd6e2;
  border-radius: 999px;
  background: #fff;
}

.order-history-event.is-current .order-history-marker {
  border-color: var(--color-primary);
  background: var(--color-secondary);
}

.order-history-event time {
  color: #078b2e;
  font-size: 13px;
  font-weight: 950;
}

.order-history-event.is-current time {
  color: var(--color-primary);
}

.order-history-event strong {
  display: block;
  color: var(--color-primary);
  font-size: 14px;
  line-height: 1.25;
  font-weight: 950;
}

.order-history-event p {
  margin: 4px 0 0;
  color: #536173;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 700;
}

.order-tracking-box {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  border: 1px dashed var(--color-border);
  border-radius: 9px;
  background: var(--color-surface);
  padding: 16px;
}

.order-tracking-box.is-active {
  border-style: solid;
  background: #f0fdf4;
}

.order-tracking-box p,
.order-tracking-box span,
.order-tracking-box small {
  margin: 0;
  color: #536173;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 750;
}

.order-tracking-box strong {
  display: block;
  color: var(--color-primary);
  font-size: 17px;
  line-height: 1.2;
  font-weight: 950;
}

.order-tracking-box .order-tracking-updated {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 650;
}

.order-side-info-card .order-pay-button {
  margin-top: 16px;
  width: 100%;
  justify-content: center;
}

.order-tracking-events {
  margin-top: 18px;
}

.order-detail-items {
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 9px;
}

.order-detail-items-head,
.order-detail-item-row {
  display: grid;
  grid-template-columns: minmax(230px, 1.35fr) minmax(190px, 1fr) 56px 112px 112px 104px;
  gap: 14px;
  align-items: center;
}

.order-detail-items-head {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  padding: 12px 14px;
}

.order-detail-items-head span {
  color: #334155;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.order-detail-item-row {
  padding: 14px;
  background: #fff;
}

.order-detail-item-row + .order-detail-item-row {
  border-top: 1px solid #eef2f7;
}

.order-detail-product-cell {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 13px;
  align-items: center;
  min-width: 0;
}

.order-detail-product-cell strong,
.order-detail-variation-cell strong {
  display: block;
  color: var(--color-primary);
  font-size: 13px;
  line-height: 1.28;
  font-weight: 950;
}

.order-detail-product-cell small,
.order-detail-variation-cell small {
  display: block;
  margin-top: 4px;
  color: #536173;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 750;
}

.order-detail-item-number,
.order-detail-item-total {
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 850;
  text-align: center;
}

.order-detail-item-total {
  font-weight: 950;
}

.order-mini-button {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-primary);
  border-radius: 7px;
  color: var(--color-primary);
  padding: 0 12px;
  font-size: 11px;
  font-weight: 950;
  text-decoration: none;
  text-transform: uppercase;
}

.order-compatibility-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 9px;
}

.order-compatibility-grid article {
  padding: 16px;
  background: #fff;
}

.order-compatibility-grid article + article {
  border-left: 1px solid var(--color-border);
}

.order-compatibility-grid small,
.order-side-info-card dt {
  display: block;
  color: var(--color-text-muted);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.order-compatibility-grid strong {
  display: block;
  margin-top: 5px;
  color: var(--color-primary);
  font-size: 14px;
  line-height: 1.25;
  font-weight: 900;
}

.order-side-info-card,
.order-support-card {
  padding: 22px;
}

.order-side-info-card h2,
.order-support-card h2 {
  margin: 0 0 16px;
  color: var(--color-primary);
  font-size: 20px;
  line-height: 1.15;
  font-weight: 950;
}

.order-side-info-card dl {
  display: grid;
  gap: 13px;
  margin: 0;
}

.order-side-info-card div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
}

.order-side-info-card dd {
  margin: 0;
  color: var(--color-primary);
  font-size: 13px;
  line-height: 1.4;
  font-weight: 800;
}

.order-side-info-card dd.is-success {
  color: #078b2e;
}

.order-support-card {
  display: grid;
  gap: 11px;
}

.order-support-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 999px;
  background: #dcfce7;
  color: #078b2e;
}

.order-support-icon svg {
  width: 25px;
  height: 25px;
}

.order-support-card p {
  margin: -8px 0 8px;
  color: #536173;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 700;
}

@media (max-width: 1100px) {

  .order-detail-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .order-detail-items-head,
  .order-detail-item-row {
    grid-template-columns: minmax(220px, 1.2fr) minmax(180px, 1fr) 54px 104px 104px;
  }

  .order-detail-items-head span:last-child,
  .order-mini-button {
    display: none;
  }
}

@media (max-width: 900px) {

  .order-detail-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .order-detail-stats {
    grid-template-columns: 1fr;
  }

  .order-history-event {
    grid-template-columns: 26px minmax(0, 1fr);
  }

  .order-history-event time {
    grid-column: 2;
  }

  .order-history-event div {
    grid-column: 2;
  }

  .order-detail-items {
    border: 0;
    border-radius: 0;
    display: grid;
    gap: 12px;
    overflow: visible;
  }

  .order-detail-items-head {
    display: none;
  }

  .order-detail-item-row {
    grid-template-columns: 1fr;
    gap: 10px;
    border: 1px solid var(--color-border);
    border-radius: 9px;
  }

  .order-detail-item-row + .order-detail-item-row {
    border-top: 1px solid var(--color-border);
  }

  .order-detail-item-number,
  .order-detail-item-total {
    text-align: left;
  }

  .order-mini-button {
    display: inline-flex;
    width: fit-content;
  }

  .order-compatibility-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .order-compatibility-grid article:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--color-border);
  }

  .order-compatibility-grid article:nth-child(4) {
    border-top: 1px solid var(--color-border);
  }
}

@media (max-width: 640px) {

  .order-detail-header h1 {
    font-size: 26px;
  }

  .order-detail-stats article {
    grid-template-columns: 46px minmax(0, 1fr);
    padding: 14px;
  }

  .order-stat-icon {
    width: 46px;
    height: 46px;
  }

  .order-detail-product-cell {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .order-compatibility-grid {
    grid-template-columns: 1fr;
  }

  .order-compatibility-grid article + article,
  .order-compatibility-grid article:nth-child(3),
  .order-compatibility-grid article:nth-child(4) {
    border-left: 0;
    border-top: 1px solid var(--color-border);
  }

  .order-side-info-card div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/* ---------------------------------------------------------------------------
   Detalhe do pedido repaginado (22-10-2026), mesmo padrão de Minha conta:
   linha do tempo de etapas, cards com ícone, mapa pra todo pedido em aberto,
   veículos compatíveis em card, logos de transportadora e de pagamento.
--------------------------------------------------------------------------- */

.od-status-warning { border-color: #fde3b0; background: #fffaeb; color: #a15c00; }
.od-status-success { border-color: #bbf0d3; background: #ecfdf5; color: var(--color-success); }
.od-status-info { border-color: #cfe0ff; background: #eff6ff; color: #1d4ed8; }
.od-status-danger { border-color: #fbd5d5; background: #fef2f2; color: var(--color-error); }

/* etapas */

/* cards */

/* rastreio */

/* enquanto os mapas carregam (leva uns segundos) */

/* linha do tempo (histórico e eventos da transportadora) */

/* itens */

/* veículos compatíveis */

/* lateral */

/* pagamento pelo Mercado Pago: azul do MP, como no pedido do admin */

/* cancelar: ação que desfaz (vermelho permitido, decisão do Caio 13-10-2026) */

/* modal do motivo do cancelamento (11-11-2026) */

#modo-lapis {
  transition: opacity 0.3s;
}

@keyframes modo-girar { to { transform: rotate(360deg); } }
@keyframes modo-progresso {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(260%); }
}
