/* =========================================================
   PRIME VAPE — PRODUTOS, VITRINE E CONTEÚDO DO CLIENTE
   Layout compacto e uniforme inspirado no modelo Hubt
========================================================= */

/* =========================================================
   CABEÇALHO DOS PRODUTOS
========================================================= */

.products-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;

  min-height: 86px;
  padding: 16px 18px;

  border: 1px solid var(--border);
  border-radius: 10px;

  background: linear-gradient(
    180deg,
    rgba(25, 21, 14, 0.97),
    rgba(13, 11, 8, 0.98)
  );

  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.products-header > div {
  min-width: 0;
}

.products-header h2 {
  margin: 0;

  color: var(--text);

  font-family: var(--site-font-family);
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.products-header .section-subtitle {
  margin-top: 6px;

  font-size: 0.76rem;
  line-height: 1.45;
}

/* =========================================================
   RESUMOS DO CABEÇALHO
========================================================= */

.header-summary {
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.summary-pill {
  display: grid;
  align-content: center;
  gap: 3px;

  min-width: 112px;
  min-height: 54px;
  padding: 9px 12px;

  border: 1px solid var(--border);
  border-radius: 8px;

  background: rgba(255, 255, 255, 0.025);
}

.summary-pill span {
  color: var(--text-muted);

  font-size: 0.6rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.summary-pill strong {
  color: var(--text);

  font-family: var(--site-font-family);
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.1;
}

/* =========================================================
   GRADE PRINCIPAL
========================================================= */

.products-grid {
  display: grid;
  grid-template-columns: repeat(var(--products-per-row, 4), minmax(0, 1fr));
  align-items: start;
  gap: 12px;

  width: 100%;
  min-width: 0;
}

/* =========================================================
   FONTE DOS PRODUTOS
========================================================= */

.product-card,
.product-card button,
.product-card input,
.product-card select,
.product-card textarea {
  font-family: Arial, Helvetica, sans-serif;
}

/* =========================================================
   CARD PRINCIPAL DO PRODUTO
========================================================= */

.product-card {
  position: relative;

  display: flex;
  flex-direction: column;
  gap: 7px;

  width: 100%;
  min-width: 0;
  height: auto;
  align-self: start;
  padding: 7px;

  overflow: visible;

  border: 1px solid var(--border);
  border-radius: 12px;

  background: linear-gradient(
    180deg,
    rgba(25, 21, 14, 0.98),
    rgba(13, 11, 8, 0.98)
  );

  content-visibility: auto;
  contain-intrinsic-size: 260px 350px;

  transition:
    transform 150ms ease,
    border-color 150ms ease,
    box-shadow 150ms ease;
}

.product-card:hover {
  transform: translateY(-2px);

  border-color: rgba(var(--accent-rgb), 0.55);

  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25);
}

.product-card.is-clickable {
  cursor: pointer;
}

.product-card.is-clickable:hover .product-image-wrap {
  border-color: rgba(var(--accent-rgb), 0.35);
}

.product-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.product-card.is-finished {
  opacity: 0.68;
  filter: saturate(0.55);
}

.product-card.is-finished:hover {
  transform: none;

  border-color: var(--border);

  box-shadow: none;
}

/* =========================================================
   IMAGEM
========================================================= */

.product-image-wrap {
  position: relative;

  display: grid;
  place-items: center;

  width: 100%;
  min-width: 0;
  aspect-ratio: 1 / 0.82;
  padding: 7px;

  overflow: hidden;

  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 9px;

  background:
    radial-gradient(
      circle at top,
      rgba(var(--accent-rgb), 0.055),
      transparent 42%
    ),
    linear-gradient(180deg, rgba(15, 14, 11, 0.96), rgba(9, 8, 6, 0.96));

  transition:
    border-color 150ms ease,
    transform 150ms ease;
}

.product-image {
  display: block;

  width: 100%;
  height: 100%;

  border: 0;
  border-radius: 7px;

  background: transparent;

  object-fit: contain;
  object-position: center;

  user-select: none;

  transition: transform 170ms ease;
}

.product-card:hover .product-image {
  transform: scale(1.018);
}

.product-card-badges {
  position: absolute;
  z-index: 4;
  top: 7px;
  left: 7px;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;

  max-width: calc(100% - 14px);

  pointer-events: none;
}

.product-card-badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  max-width: 100%;
  padding: 0 7px;

  overflow: hidden;

  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 5px;

  background: #ffffff;
  color: #242424;

  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.12);

  font-size: 0.58rem;
  font-weight: 800;
  line-height: 1;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.product-card-badge.is-new {
  border-color: #18794e;
  background: #e7f6ed;
  color: #105c3b;
}

.product-card-badge.is-promotion {
  border-color: #b42318;
  background: #fff0ee;
  color: #97180f;
}

.product-card-badge.is-best-seller {
  border-color: #8a5a00;
  background: #fff6d8;
  color: #6e4700;
}

/* =========================================================
   CONTADORES NA IMAGEM
========================================================= */

.product-gallery-counter,
.product-stock-pill {
  position: absolute;
  z-index: 2;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 22px;
  padding: 0 7px;

  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;

  background: rgba(8, 8, 7, 0.82);

  font-size: 0.55rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.025em;
  text-transform: uppercase;

  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.product-gallery-counter {
  right: 6px;
  bottom: 6px;

  color: #ffffff;

  pointer-events: none;
}

.product-stock-pill {
  top: 6px;
  left: 6px;

  color: var(--accent-light);
}

/* =========================================================
   CORPO
========================================================= */

.product-body {
  display: grid;
  align-content: start;
  gap: 0;

  min-width: 0;
  height: auto;
  padding: 0;
}

/* =========================================================
   CONTAINER CLARO DAS INFORMAÇÕES
========================================================= */

.product-caption-shell {
  --product-shell-inline: 9px;

  display: grid;
  gap: 7px;

  min-width: 0;
  height: 100%;
  padding: 9px var(--product-shell-inline) 7px;

  overflow: hidden;

  border: 1px solid rgba(15, 23, 32, 0.09);
  border-radius: 9px;

  background: linear-gradient(180deg, #ffffff, #f5f6f7);

  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* =========================================================
   TÍTULO E PREÇO
========================================================= */

.product-caption {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    auto;
  align-items: start;
  gap: 7px;

  min-width: 0;
}

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

.product-body h3 {
  display: -webkit-box;

  min-height: 2.35em;
  max-height: 2.35em;
  margin: 0;

  overflow: hidden;

  color: #202020;

  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.18;

  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.product-prices {
  display: grid;
  justify-items: end;
  align-content: start;
  gap: 2px;

  min-width: max-content;
}

.product-prices strong {
  display: block;

  color: var(--accent-dark);

  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.8rem;
  font-weight: 900;
  line-height: 1.1;
  text-align: right;
  white-space: nowrap;
}

.product-prices small {
  color: #8b8b8b;

  font-size: 0.55rem;
  line-height: 1;
  text-decoration: line-through;
}

/* =========================================================
   DESCRIÇÃO
========================================================= */

.product-description {
  display: -webkit-box;

  min-height: 2.55em;
  max-height: 2.55em;
  margin: 0;

  overflow: hidden;

  color: #777777;

  font-size: 0.62rem;
  line-height: 1.3;

  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

/* =========================================================
   ESPECIFICAÇÕES E DESTAQUES
========================================================= */

.product-spec-preview {
  display: -webkit-box;

  max-height: 2.5em;
  margin: 0;

  overflow: hidden;

  color: #777777;

  font-size: 0.59rem;
  line-height: 1.25;

  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.product-highlight-row,
.product-meta {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;

  min-width: 0;
}

.product-highlight-row .tag-chip,
.product-highlight-row .counter-pill,
.product-meta .tag-chip,
.product-meta .counter-pill {
  min-height: 20px;
  padding: 0 6px;

  border-radius: 999px;

  font-size: 0.52rem;
  line-height: 1;
}

/* =========================================================
   RODAPÉ
========================================================= */

.product-footer {
  display: grid;
  gap: 6px;

  margin-top: auto;
}

/* =========================================================
   BOTÃO DE DETALHES
========================================================= */

.product-details-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  min-width: 0;
  min-height: 31px;
  margin: 0;
  padding: 0 8px;

  border: 1px solid var(--accent);
  border-radius: 6px;

  background: var(--accent);
  color: var(--accent-ink);

  font-size: 0.65rem;
  font-weight: 800;
  line-height: 1;
  text-align: center;

  box-shadow: none;

  transition:
    border-color 130ms ease,
    background 130ms ease,
    color 130ms ease;
}

.product-details-button:hover {
  transform: none;

  border-color: var(--accent-hover);

  background: var(--accent-hover);
  color: var(--accent-ink);

  box-shadow: none;
}

/* =========================================================
   DENSIDADE COMPACTA
========================================================= */

.products-grid[data-layout-density="compact"] {
  gap: 10px;
}

.products-grid[data-layout-density="compact"] .product-card {
  padding: 6px;
  gap: 6px;
}

.products-grid[data-layout-density="compact"] .product-image-wrap {
  aspect-ratio: 1 / 0.78;
  padding: 6px;
}

.products-grid[data-layout-density="compact"] .product-caption-shell {
  gap: 6px;
  padding: 8px;
}

.products-grid[data-layout-density="compact"] .product-description,
.products-grid[data-layout-density="compact"] .product-spec-preview,
.products-grid[data-layout-density="compact"]
  .product-highlight-row
  .tag-chip:nth-of-type(n + 2),
.products-grid[data-layout-density="compact"]
  .product-meta
  .tag-chip:nth-of-type(n + 2) {
  display: none;
}

.products-grid[data-layout-density="compact"] .product-body h3 {
  font-size: 0.72rem;
}

.products-grid[data-layout-density="compact"] .product-details-button {
  min-height: 29px;

  font-size: 0.62rem;
}

/* =========================================================
   DENSIDADE MÍNIMA
========================================================= */

.products-grid[data-layout-density="minimal"] {
  align-items: start;
  gap: 9px;
}

.products-grid[data-layout-density="minimal"] .product-card {
  min-height: 0;
  padding: 5px;
  gap: 5px;
}

.products-grid[data-layout-density="minimal"] .product-image-wrap {
  aspect-ratio: 1 / 0.76;
  padding: 5px;

  border-radius: 8px;
}

.products-grid[data-layout-density="minimal"] .product-caption-shell {
  gap: 5px;
  padding: 7px;

  border-radius: 8px;

  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.products-grid[data-layout-density="minimal"] .product-caption {
  grid-template-columns: 1fr;
  gap: 4px;
}

.products-grid[data-layout-density="minimal"] .product-prices {
  justify-items: start;
}

.products-grid[data-layout-density="minimal"] .product-body h3 {
  min-height: 2.35em;
  max-height: 2.35em;

  font-size: 0.68rem;
}

.products-grid[data-layout-density="minimal"] .product-description,
.products-grid[data-layout-density="minimal"] .product-spec-preview,
.products-grid[data-layout-density="minimal"] .product-highlight-row,
.products-grid[data-layout-density="minimal"] .product-meta {
  display: none;
}

.products-grid[data-layout-density="minimal"] .product-details-button {
  min-height: 28px;

  font-size: 0.6rem;
}

/* =========================================================
   QUATRO PRODUTOS POR LINHA
========================================================= */

.products-grid[data-layout-columns="4"] {
  gap: 12px;
}

.products-grid[data-layout-columns="4"] .product-card {
  padding: 7px;
  gap: 7px;
}

.products-grid[data-layout-columns="4"] .product-image-wrap {
  aspect-ratio: 1 / 0.82;
}

.products-grid[data-layout-columns="4"] .product-body h3 {
  font-size: 0.76rem;
}

.products-grid[data-layout-columns="4"] .product-prices strong {
  font-size: 0.8rem;
}

/* =========================================================
   CINCO PRODUTOS POR LINHA
========================================================= */

.products-grid[data-layout-columns="5"] {
  gap: 9px;
}

.products-grid[data-layout-columns="5"] .product-card {
  padding: 5px;
  gap: 5px;

  border-radius: 10px;
}

.products-grid[data-layout-columns="5"] .product-image-wrap {
  aspect-ratio: 1 / 0.76;
  padding: 5px;

  border-radius: 8px;
}

.products-grid[data-layout-columns="5"] .product-image {
  border-radius: 6px;
}

.products-grid[data-layout-columns="5"] .product-caption-shell {
  gap: 5px;
  padding: 7px;

  border-radius: 8px;
}

.products-grid[data-layout-columns="5"] .product-caption {
  grid-template-columns: 1fr;
  gap: 4px;
}

.products-grid[data-layout-columns="5"] .product-prices {
  justify-items: start;
}

.products-grid[data-layout-columns="5"] .product-body h3 {
  min-height: 2.3em;
  max-height: 2.3em;

  font-size: 0.66rem;
  line-height: 1.15;
}

.products-grid[data-layout-columns="5"] .product-description,
.products-grid[data-layout-columns="5"] .product-spec-preview,
.products-grid[data-layout-columns="5"] .product-highlight-row,
.products-grid[data-layout-columns="5"] .product-meta {
  display: none;
}

.products-grid[data-layout-columns="5"] .product-prices strong {
  font-size: 0.72rem;
  text-align: left;
}

.products-grid[data-layout-columns="5"] .product-details-button {
  min-height: 27px;

  font-size: 0.57rem;
}

.products-grid[data-layout-columns="5"] .product-gallery-counter,
.products-grid[data-layout-columns="5"] .product-stock-pill {
  min-height: 18px;
  padding: 0 5px;

  font-size: 0.47rem;
}

/* =========================================================
   REGIÃO, FERRAMENTAS E VITRINE
========================================================= */

.region-chooser,
.catalog-tools,
.showcase-card {
  display: grid;
  gap: 13px;

  padding: 15px;

  border: 1px solid var(--border);
  border-radius: 10px;

  background: linear-gradient(
    180deg,
    rgba(25, 21, 14, 0.96),
    rgba(12, 10, 7, 0.97)
  );
}

.region-choice-list,
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

/* =========================================================
   ESCOLHA DE REGIÃO
========================================================= */

.region-choice-card {
  display: grid;
  gap: 6px;

  padding: 12px;

  border: 1px solid var(--border);
  border-radius: 8px;

  background: rgba(255, 255, 255, 0.025);
  color: inherit;

  text-align: left;
}

.region-choice-card:hover {
  border-color: rgba(var(--accent-rgb), 0.42);
}

.region-choice-card.is-active {
  border-color: var(--accent);

  background: linear-gradient(
    180deg,
    rgba(var(--accent-rgb), 0.14),
    rgba(255, 255, 255, 0.025)
  );

  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.14);
}

.region-choice-card strong {
  font-size: 0.82rem;
}

.region-choice-card small {
  color: var(--text-muted);

  font-size: 0.66rem;
  line-height: 1.4;
}

/* =========================================================
   FILTROS
========================================================= */

.catalog-tools {
  gap: 12px;
}

.catalog-tools-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.catalog-results-summary {
  color: var(--text-muted);

  font-size: 0.7rem;
  line-height: 1.4;
}

.catalog-filters-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.catalog-filters-grid label {
  display: grid;
  gap: 5px;

  min-width: 0;
}

.catalog-filters-grid span {
  color: var(--text-muted);

  font-size: 0.66rem;
  font-weight: 700;
}

.catalog-filters-grid input,
.catalog-filters-grid select {
  width: 100%;
  min-width: 0;
  min-height: 38px;
  padding: 0 10px;

  border: 1px solid var(--border);
  border-radius: 7px;

  outline: none;

  background: var(--surface-soft);
  color: var(--text);

  font-size: 0.72rem;
}

.catalog-filters-grid input:focus,
.catalog-filters-grid select:focus {
  border-color: var(--accent);

  outline: 3px solid rgba(var(--accent-rgb), 0.11);
}

/* =========================================================
   VITRINE
========================================================= */

.showcase-grid {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.showcase-card .section-subtitle {
  color: var(--text-muted);

  font-size: 0.7rem;
  line-height: 1.4;
}

.showcase-marquee {
  overflow: hidden;

  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 5%,
    #000 95%,
    transparent 100%
  );
}

.showcase-products-track {
  display: flex;
  align-items: flex-start;
  gap: 9px;

  width: max-content;

  animation: showcaseProductsScroll 34s linear infinite;
}

.showcase-products-track:hover {
  animation-play-state: paused;
}

.showcase-card[data-showcase-mode="static"] .showcase-marquee {
  overflow: visible;

  mask-image: none;
}

.showcase-card[data-showcase-mode="static"] .showcase-products-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  align-items: start;

  width: 100%;

  animation: none;
}

/* =========================================================
   CARD COMPACTO DA VITRINE
========================================================= */

.product-card.is-compact {
  min-width: 0;
}

.product-card.is-compact .product-image-wrap {
  aspect-ratio: 1 / 0.8;
  padding: 6px;
}

.product-card.is-compact .product-caption-shell {
  gap: 5px;
  padding: 7px;
}

.product-card.is-compact .product-description,
.product-card.is-compact .product-spec-preview,
.product-card.is-compact .product-highlight-row,
.product-card.is-compact .product-meta {
  display: none;
}

.product-card.is-compact .product-body h3 {
  font-size: 0.68rem;
}

.product-card.is-compact .product-details-button {
  min-height: 28px;

  font-size: 0.59rem;
}

/* =========================================================
   CARD DO MARQUEE
========================================================= */

.product-card.is-marquee {
  width: 170px;
  min-width: 170px;

  content-visibility: visible;
  contain-intrinsic-size: auto;
}

.showcase-card .product-card.is-marquee {
  width: 170px;
  min-width: 170px;
}

/* =========================================================
   BANNERS
========================================================= */

.storefront-marketing-feed {
  display: contents;
}

.hero-banners-section {
  display: grid;
  gap: 10px;

  margin-bottom: 18px;
}

.hero-banners-stage {
  position: relative;

  min-height: 240px;
}

.hero-banner-card {
  position: relative;

  display: none;
  align-items: stretch;

  min-height: 240px;
  padding: clamp(22px, 3.5vw, 34px);

  overflow: hidden;

  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;

  background: linear-gradient(
    120deg,
    rgba(8, 7, 5, 0.98),
    rgba(26, 21, 12, 0.88) 48%,
    rgba(var(--accent-rgb), 0.22)
  );

  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.23);
}

.hero-banner-card.is-active {
  display: grid;
}

.hero-banner-card::before {
  content: "";

  position: absolute;
  inset: 0;

  background-image: var(--hero-image, none);
  background-position: center;
  background-size: cover;

  opacity: 0.24;

  transform: scale(1.025);
}

.hero-banner-card::after {
  content: "";

  position: absolute;
  inset: 0;

  background: linear-gradient(
    90deg,
    rgba(5, 5, 4, 0.96),
    rgba(10, 8, 5, 0.8) 55%,
    rgba(19, 14, 6, 0.32)
  );
}

.hero-banner-content {
  position: relative;
  z-index: 1;

  display: grid;
  align-content: center;
  gap: 11px;

  max-width: 520px;
}

.hero-banner-content h2 {
  margin: 0;

  color: var(--text);

  font-family: var(--site-font-family);
  font-size: clamp(1.65rem, 3.6vw, 2.7rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.035em;
}

.hero-banner-content p {
  max-width: 48ch;
  margin: 0;

  color: rgba(255, 255, 255, 0.76);

  font-size: 0.78rem;
  line-height: 1.5;
}

.hero-banner-content .section-kicker {
  margin: 0;
}

.hero-banner-cta {
  justify-self: start;

  min-height: 35px;
}

.hero-banners-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}

.hero-banner-dot {
  width: 8px;
  height: 8px;
  padding: 0;

  border: 0;
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.18);

  transition:
    width 150ms ease,
    background 150ms ease;
}

.hero-banner-dot.is-active {
  width: 25px;

  background: var(--accent);
}

/* =========================================================
   PRODUTOS EM DESTAQUE
========================================================= */

.products-showcase {
  display: grid;
  gap: 13px;
}

.products-showcase .showcase-card {
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
  padding: 14px;

  gap: 11px;
}

/* =========================================================
   AVISOS DA LOJA
========================================================= */

.storefront-notices-section {
  display: grid;
  gap: 12px;
}

.storefront-notices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
}

.storefront-notices-section.is-single-row .storefront-notices-grid {
  display: flex;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  padding-bottom: 6px;
}

.storefront-notices-section.is-single-row .storefront-notice-card {
  flex: 0 0 min(320px, calc(100vw - 48px));
  scroll-snap-align: start;
}

.storefront-notices-section.is-multi-row .storefront-notices-grid {
  grid-template-columns: minmax(0, 1fr);
}

.storefront-notice-card {
  position: relative;

  display: grid;
  gap: 8px;

  min-height: 120px;
  padding: 14px;

  overflow: hidden;

  border: 1px solid var(--border);
  border-radius: 10px;

  color: var(--notice-color, var(--text));
  text-align: var(--notice-align, left);

  background:
    radial-gradient(
      circle at top right,
      rgba(255, 255, 255, 0.055),
      transparent 30%
    ),
    var(
      --notice-background,
      linear-gradient(180deg, rgba(25, 21, 14, 0.96), rgba(12, 10, 7, 0.98))
    );

  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
}

.storefront-notice-card::after {
  content: "";

  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;

  height: 3px;

  background: rgba(255, 255, 255, 0.15);
}

.storefront-notice-card.is-warning::after {
  background: linear-gradient(90deg, var(--accent-dark), var(--accent-hover));
}

.storefront-notice-card.is-success::after {
  background: linear-gradient(90deg, var(--green), #86efac);
}

.storefront-notice-card.is-spotlight::after {
  background: linear-gradient(90deg, var(--accent-light), var(--accent));
}

.storefront-notice-top {
  display: flex;
  align-items: center;
  justify-content: var(--notice-align, space-between);
  gap: 8px;
  flex-wrap: wrap;
}

.storefront-notice-label {
  color: inherit;
  opacity: 0.72;

  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.storefront-notice-card h3 {
  margin: 0;

  color: inherit;

  font-family: var(--site-font-family);
  font-size: 0.9rem;
  font-weight: 800;
}

.storefront-notice-card p {
  margin: 0;

  color: inherit;
  opacity: 0.82;

  font-size: 0.68rem;
  line-height: 1.45;
}

.storefront-notice-cta {
  justify-self: var(--notice-align, start);

  min-height: 32px;

  font-size: 0.65rem;
}

/* =========================================================
   STATUS DOS SERVIÇOS
========================================================= */

.service-status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px;
}

.service-status-card {
  display: grid;
  gap: 6px;

  padding: 13px;

  border: 1px solid var(--border);
  border-radius: 9px;

  background: linear-gradient(180deg, rgba(25, 21, 14, 1), rgba(14, 12, 8, 1));
}

.service-status-card strong {
  color: var(--text);

  font-size: 0.82rem;
}

.service-status-card p {
  margin: 0;

  color: var(--text-muted);

  font-size: 0.66rem;
  line-height: 1.4;
}

/* =========================================================
   PAGAMENTOS
========================================================= */

.payments-section {
  display: grid;
  gap: 12px;
}

.payments-required-card {
  display: grid;
  gap: 10px;
}

.payments-required-data-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 9px;
}

.payments-required-data-list .copy-box {
  height: 100%;
}

.payments-required-data-list small {
  color: var(--text-muted);

  font-size: 0.65rem;
  line-height: 1.4;
}

/* =========================================================
   PRODUTOS RELACIONADOS NO MODAL
========================================================= */

.modal-related-list {
  display: grid;
  gap: 7px;
}

.modal-gallery .modal-related-list {
  gap: 6px;
}

.modal-related-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;

  padding: 9px 10px;

  border: 1px solid var(--border);
  border-radius: 7px;

  background: var(--surface-soft);
  color: inherit;

  font-size: 0.7rem;
}

.modal-related-button:hover {
  border-color: var(--accent);
}

/* =========================================================
   ANIMAÇÃO DA VITRINE
========================================================= */

@keyframes showcaseProductsScroll {
  from {
    transform: translateX(-50%);
  }

  to {
    transform: translateX(0);
  }
}

/* =========================================================
   MOVIMENTO REDUZIDO
========================================================= */

@media (prefers-reduced-motion: reduce) {
  .product-card,
  .product-image,
  .product-image-wrap,
  .product-details-button,
  .hero-banner-dot {
    transition: none;
  }

  .showcase-products-track {
    animation: none;
  }
}

/* =========================================================
   CORREÇÃO FINAL — TEMA CLARO DO CLIENTE
   Carregado no fim para vencer o tema escuro anterior
========================================================= */

.main-content {
  background: #ebebeb;
  color: #222222;
}

.main-content .section-kicker {
  color: var(--accent-dark);
}

.main-content .section-subtitle,
.main-content .helper-text {
  color: #6f6f6f;
}

.products-header,
.region-chooser,
.catalog-tools,
.showcase-card,
.service-status-card,
.payments-required-card {
  border-color: #d7d7d7 !important;
  background: #ffffff !important;
  color: #222222 !important;
  box-shadow: none !important;
}

.products-header h2,
.showcase-card h2,
.service-status-card strong {
  color: #222222 !important;
}

.products-header .section-subtitle,
.showcase-card .section-subtitle,
.service-status-card p {
  color: #6f6f6f !important;
}

.summary-pill {
  border-color: #dddddd !important;
  background: #f6f6f6 !important;
}

.summary-pill span {
  color: #777777 !important;
}

.summary-pill strong {
  color: #222222 !important;
}

.product-card {
  border-color: #d8d8d8 !important;
  background: #ffffff !important;
  color: #222222 !important;
  box-shadow: none !important;
}

.product-card:hover {
  border-color: var(--accent) !important;
  background: #ffffff !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08) !important;
}

.product-image-wrap {
  border-color: #dedede !important;
  background: #f3f3f3 !important;
}

.product-caption-shell {
  border-color: #dddddd !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

.product-body h3,
.product-caption-copy h3 {
  color: #222222 !important;
}

.product-description,
.product-spec-preview {
  color: #747474 !important;
}

.product-prices strong {
  color: var(--accent-dark) !important;
}

.product-prices small {
  color: #8a8a8a !important;
}

.product-gallery-counter,
.product-stock-pill {
  border-color: #d4d4d4 !important;
  background: rgba(255, 255, 255, 0.94) !important;
  color: #444444 !important;
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.08);
}

.product-details-button {
  border-color: var(--accent) !important;
  background: var(--accent) !important;
  color: var(--accent-ink) !important;
  box-shadow: none !important;
}

.product-details-button:hover {
  border-color: var(--accent-hover) !important;
  background: var(--accent-hover) !important;
}

.region-choice-card,
.modal-related-button {
  border-color: #d8d8d8 !important;
  background: #f7f7f7 !important;
  color: #222222 !important;
  box-shadow: none !important;
}

.region-choice-card small,
.modal-related-button small {
  color: #707070 !important;
}

.catalog-filters-grid span {
  color: #555555 !important;
}

.catalog-filters-grid input,
.catalog-filters-grid select {
  border-color: #d5d5d5 !important;
  background: #ffffff !important;
  color: #222222 !important;
}

.catalog-category-products {
  --catalog-products-gap: 16px;

  grid-column: 1 / -1;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: var(--catalog-products-gap);
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.018);
}

.catalog-category-products > .product-card {
  flex: 0 1 calc((100% - (var(--catalog-products-gap) * 4)) / 5);
  min-width: 0;
  max-width: calc((100% - (var(--catalog-products-gap) * 4)) / 5);
}
.catalog-products-box {
  grid-column: 1 / -1;
  width: 100%;
  box-sizing: border-box;

  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: stretch;
  gap: 12px;

  padding: 14px;

  border: 1px solid #cfcfcf;
  border-radius: 10px;

  background: transparent;
}

.catalog-products-box > .product-card {
  min-width: 0;
  width: 100%;
}

.catalog-products-section {
  min-width: 0;

  scroll-margin-top: 88px;
}

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

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

@media (max-width: 600px) {
  .product-card-specifications {
    gap: 2px;
  }

  .product-card-specifications li {
    font-size: 0.59rem;
  }
}

.product-card-specifications {
  display: grid;
  gap: 3px;
  min-height: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-card-specifications li {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: #666666;
  font-size: 0.66rem;
  font-weight: 600;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-card-specifications li::before {
  content: "•";
  margin-right: 5px;
  color: var(--accent-dark);
}

.products-grid[data-layout-columns="5"] .product-card-specifications li {
  font-size: 0.58rem;
}

.product-card.is-compact .product-card-specifications,
.product-card.is-marquee .product-card-specifications {
  gap: 2px;
}

.product-card.is-compact .product-card-specifications li,
.product-card.is-marquee .product-card-specifications li {
  font-size: 0.58rem;
}
.product-card-specifications {
  display: grid;
  gap: 3px;
  min-height: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-card-specifications li {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: #666666;
  font-size: 0.66rem;
  font-weight: 600;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-card-specifications li::before {
  content: "•";
  margin-right: 5px;
  color: var(--accent-dark);
}

.products-grid[data-layout-columns="5"] .product-card-specifications li {
  font-size: 0.58rem;
}

.product-card.is-compact .product-card-specifications,
.product-card.is-marquee .product-card-specifications {
  gap: 2px;
}

.product-card.is-compact .product-card-specifications li,
.product-card.is-marquee .product-card-specifications li {
  font-size: 0.58rem;
}

@media (max-width: 600px) {
  .product-card-specifications {
    gap: 2px;
  }

  .product-card-specifications li {
    font-size: 0.59rem;
  }
}
.product-card {
  position: relative;
  overflow: hidden;
}

.product-card.is-finished {
  cursor: default;
  opacity: 0.62;
  filter: grayscale(0.35);
  pointer-events: none;
}

.product-card.is-finished .product-image {
  filter: grayscale(0.55);
}

.product-finished-line {
  position: absolute;
  z-index: 20;
  top: 50%;
  left: -15%;
  display: block;
  width: 130%;
  height: 9px;
  border-radius: 999px;
  background: #d60000;
  box-shadow:
    0 2px 5px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(120, 0, 0, 0.35);
  pointer-events: none;
  transform: translateY(-50%) rotate(-12deg);
  transform-origin: center;
}

.product-card.is-finished:hover {
  transform: none;
  box-shadow: inherit;
}
.product-card-badges {
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}

.product-card-badge.is-new {
  min-height: 25px;
  padding: 0 10px;
  border: 1px solid #8b4fd1;
  border-left: 4px solid #5d219f;
  border-radius: 7px;
  background: #7c3fc7;
  color: #ffffff;
  box-shadow: 0 3px 8px rgba(93, 33, 159, 0.22);
  font-size: 0.57rem;
  font-weight: 900;
  letter-spacing: 0.025em;
}

.product-card-badge.is-promotion {
  min-height: 25px;
  padding: 0 10px;
  border: 1px solid #26995a;
  border-left: 4px solid #0e6035;
  border-radius: 7px;
  background: #18864b;
  color: #ffffff;
  box-shadow: 0 3px 8px rgba(14, 96, 53, 0.22);
  font-size: 0.57rem;
  font-weight: 900;
  letter-spacing: 0.025em;
}

/* =========================================================
   PRODUTO — ACABAMENTO VISUAL INTEGRADO
========================================================= */

.product-card {
  --product-card-padding: 7px;
  --product-offer-extra: 14px;
  --product-offer-offset: -7px;

  gap: 8px;
  padding: var(--product-card-padding);

  border-color: #d5d9dc !important;
  border-radius: 13px;

  background: #ffffff !important;

  box-shadow:
    0 2px 5px rgba(18, 37, 49, 0.04),
    0 8px 20px rgba(18, 37, 49, 0.04) !important;
}

.product-card:not(.is-finished):hover {
  transform: translateY(-3px);

  border-color: rgba(var(--accent-rgb), 0.55) !important;

  box-shadow:
    0 4px 10px rgba(18, 37, 49, 0.07),
    0 14px 28px rgba(18, 37, 49, 0.08) !important;
}

.product-image-wrap {
  padding: 9px;

  border-color: #e0e3e5 !important;
  border-radius: 10px;

  background:
    radial-gradient(
      circle at 50% 20%,
      rgba(var(--accent-rgb), 0.075),
      transparent 55%
    ),
    linear-gradient(180deg, #fafafa, #f1f3f4) !important;

  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72);
}

.product-image {
  border-radius: 8px;

  filter: drop-shadow(0 5px 8px rgba(18, 37, 49, 0.1));
}

.product-card:not(.is-finished):hover .product-image {
  transform: scale(1.025);
}

.product-caption-shell {
  gap: 8px;
  padding: 10px;

  border-color: #e2e5e7 !important;
  border-radius: 10px;

  background: linear-gradient(180deg, #ffffff, #fafafa) !important;

  box-shadow: none !important;
}

.product-caption {
  align-items: center;
  gap: 9px;
}

.product-body h3,
.product-caption-copy h3 {
  color: #20262a !important;

  font-size: 0.77rem;
  font-weight: 850;
  line-height: 1.22;
}

.product-prices {
  gap: 3px;
}

.product-prices strong {
  padding: 4px 7px;

  border-radius: 6px;

  background: rgba(var(--accent-rgb), 0.09);
  color: var(--accent-dark) !important;

  font-size: 0.78rem;
}

.product-prices small {
  padding-right: 3px;
}

.product-description {
  color: #6f767a !important;

  line-height: 1.4;
}

.product-card-specifications {
  gap: 4px;
}

.product-card-specifications li {
  color: #626a6f;

  font-weight: 600;
}

.product-card-specifications li::before {
  color: var(--accent);
}

.product-highlight-row,
.product-meta {
  gap: 6px;
}

.product-highlight-row .tag-chip,
.product-highlight-row .counter-pill,
.product-meta .tag-chip,
.product-meta .counter-pill {
  border-color: #dce1e4;

  background: #f5f7f8;
  color: #505b61;
}

.product-details-button {
  min-height: 33px;

  border-radius: 7px;

  box-shadow: 0 4px 10px rgba(var(--accent-rgb), 0.16) !important;
}

.product-details-button:hover {
  box-shadow: 0 6px 14px rgba(var(--accent-rgb), 0.22) !important;
}

.product-gallery-counter,
.product-stock-pill {
  min-height: 23px;

  border-color: rgba(255, 255, 255, 0.72) !important;

  background: rgba(255, 255, 255, 0.92) !important;

  box-shadow: 0 3px 9px rgba(18, 37, 49, 0.1);
}

/* =========================================================
   PRODUTO EM OFERTA — FAIXA UNIFORME
========================================================= */

.product-card.is-promotion {
  border-color: rgba(24, 134, 75, 0.48) !important;

  box-shadow:
    0 3px 8px rgba(24, 134, 75, 0.07),
    0 10px 24px rgba(24, 134, 75, 0.07) !important;
}

.product-card.is-promotion:not(.is-finished):hover {
  border-color: rgba(24, 134, 75, 0.7) !important;

  box-shadow:
    0 5px 12px rgba(24, 134, 75, 0.11),
    0 16px 30px rgba(24, 134, 75, 0.1) !important;
}

.product-offer-strip {
  display: flex;
  align-items: center;
  justify-content: center;

  width: calc(100% + var(--product-offer-extra));
  min-height: 29px;
  margin: 2px var(--product-offer-offset) var(--product-offer-offset);
  padding: 0 10px;

  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0 0 12px 12px;

  background: linear-gradient(90deg, #157d48, #1a9956);
  color: #ffffff;

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 -1px 0 rgba(14, 96, 53, 0.08);

  font-size: 0.59rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.018em;
  text-align: center;
}

/* =========================================================
   PROPORÇÕES DOS LAYOUTS COMPACTOS
========================================================= */

.products-grid[data-layout-density="compact"] .product-card {
  --product-card-padding: 6px;
  --product-offer-extra: 12px;
  --product-offer-offset: -6px;

  padding: var(--product-card-padding);
}

.products-grid[data-layout-density="minimal"] .product-card,
.products-grid[data-layout-columns="5"] .product-card,
.product-card.is-compact,
.product-card.is-marquee {
  --product-card-padding: 5px;
  --product-offer-extra: 10px;
  --product-offer-offset: -5px;
}

.products-grid[data-layout-columns="5"] .product-card {
  gap: 6px;
  padding: var(--product-card-padding);
}

.products-grid[data-layout-columns="5"] .product-image-wrap {
  padding: 6px;
}

.products-grid[data-layout-columns="5"] .product-caption-shell {
  gap: 6px;
  padding: 8px;
}

.products-grid[data-layout-columns="5"] .product-prices strong {
  padding: 3px 6px;
}

.products-grid[data-layout-columns="5"] .product-details-button {
  min-height: 29px;
}

.products-grid[data-layout-density="minimal"] .product-offer-strip,
.products-grid[data-layout-columns="5"] .product-offer-strip,
.product-card.is-compact .product-offer-strip,
.product-card.is-marquee .product-offer-strip {
  min-height: 27px;

  border-radius: 0 0 9px 9px;

  font-size: 0.54rem;
}

.product-card.is-finished {
  box-shadow: none !important;
}

/* =========================================================
   PRODUTO EM OFERTA — MODAL LARANJA
   Adicionar ao final de modal.css
========================================================= */

#product-modal.is-promotion {
  --promotion-orange: #ff8a00;
  --promotion-orange-dark: #dc7000;
  --promotion-orange-soft: #fff1dc;
  --promotion-orange-border: #ffc16f;
}

#product-modal.is-promotion .modal-promotion-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;

  width: 100%;
  min-height: 32px;
  padding: 6px 12px;

  border: 1px solid var(--promotion-orange-border);
  border-radius: 7px;

  background: var(--promotion-orange-soft);
  color: var(--promotion-orange);

  font-size: 0.74rem;
  font-weight: 750;
  line-height: 1.3;
  text-align: center;
}

#product-modal.is-promotion .modal-promotion-banner[hidden] {
  display: none !important;
}

#product-modal.is-promotion .modal-promotion-banner > strong {
  color: var(--promotion-orange-dark);
  font-weight: 900;
}

#product-modal.is-promotion .modal-prices {
  border-color: var(--promotion-orange-border) !important;
  background: #fffaf2 !important;
  box-shadow: 0 7px 18px rgba(255, 138, 0, 0.12) !important;
}

#product-modal.is-promotion .modal-prices strong {
  color: var(--promotion-orange) !important;
  text-shadow: none !important;
}

#product-modal.is-promotion .modal-thumbnail.is-active {
  border-color: var(--promotion-orange) !important;
  box-shadow:
    0 0 0 1px var(--promotion-orange),
    0 7px 16px rgba(255, 138, 0, 0.13) !important;
}

#product-modal.is-promotion .modal-tag-pill.is-accent {
  border-color: var(--promotion-orange-border) !important;
  background: var(--promotion-orange-soft) !important;
  color: var(--promotion-orange-dark) !important;
}

#product-modal.is-promotion .piece-preset-button.is-active {
  border-color: var(--promotion-orange) !important;
  background: var(--promotion-orange) !important;
  color: #ffffff !important;
}

#product-modal.is-promotion .quantity-controls .button-secondary {
  border-color: var(--promotion-orange-border) !important;
  background: var(--promotion-orange-soft) !important;
  color: var(--promotion-orange) !important;
}

#product-modal.is-promotion .quantity-controls input,
#product-modal.is-promotion .modal-field select:focus {
  border-color: var(--promotion-orange) !important;
  outline-color: rgba(255, 138, 0, 0.14) !important;
}

#product-modal.is-promotion #add-cart-button {
  border-color: var(--promotion-orange) !important;
  background: var(--promotion-orange) !important;
  color: #ffffff !important;
}

#product-modal.is-promotion #add-cart-button:hover {
  border-color: var(--promotion-orange-dark) !important;
  background: var(--promotion-orange-dark) !important;
}

@media (max-width: 520px) {
  #product-modal.is-promotion .modal-promotion-banner {
    font-size: 0.68rem;
  }
}
