.flash-sale-section {
  background: var(--white);
  margin: 8px 0;
  padding: 0 0 20px;
}
.flash-sale-section .container {
  position: relative;
}

/* ── Header bar com gradiente ── */
.flash-sale-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  padding: 14px 20px;
  background: linear-gradient(135deg, #b71c1c 0%, #EE4D2D 55%, #ff6b35 100%);
  border-radius: var(--radius-lg);
  flex-wrap: wrap;
  box-shadow: 0 4px 16px rgba(238,77,45,0.35);
}

/* Ícone circular */
.flash-icon-wrap {
  width: 42px;
  height: 42px;
  background: rgba(255,220,0,0.18);
  border: 2px solid rgba(255,220,0,0.45);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.flash-icon-wrap i {
  color: #FFE000;
  font-size: 17px;
  animation: pulse-icon 1.2s ease-in-out infinite;
}
@keyframes pulse-icon {
  0%,100% { transform: scale(1); }
  50%      { transform: scale(1.25); }
}

/* Título */
.flash-title {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.flash-title-text h2 {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.2px;
}
.flash-sub {
  font-size: 11px;
  color: rgba(255,255,255,0.75);
  font-weight: 500;
  display: block;
  margin-top: 2px;
}

/* Separador vertical */
.flash-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.25);
  flex-shrink: 0;
}

/* ── Contador ── */
.countdown-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}
.countdown-label {
  font-size: 11px;
  color: rgba(255,255,255,0.8);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  white-space: nowrap;
}
.countdown {
  display: flex;
  align-items: center;
  gap: 5px;
}
.time-box {
  background: rgba(0,0,0,0.28);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  width: 52px;
  height: 50px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  backdrop-filter: blur(6px);
}
.time-box small {
  font-size: 8px;
  font-weight: 700;
  opacity: 0.65;
  margin-top: 3px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}
.colon {
  font-size: 22px;
  font-weight: 800;
  color: rgba(255,255,255,0.6);
  animation: blink 1s step-end infinite;
  margin-bottom: 8px;
}
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }

/* Botão Ver Todos dentro do flash sale */
.flash-ver-todos {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  background: rgba(255,255,255,0.15);
  border: 1.5px solid rgba(255,255,255,0.5);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  border-radius: var(--radius-full);
  text-decoration: none;
  white-space: nowrap;
  transition: var(--transition);
  flex-shrink: 0;
}
.flash-ver-todos:hover {
  background: rgba(255,255,255,0.28);
  border-color: #fff;
}
.flash-ver-todos i { font-size: 10px; }

/* ── Products Carousel ── */
.flash-products-wrap {
  position: relative;
  /* overflow: hidden removido — estava cortando as setas de navegação */
  padding: 0 20px;
}
.flash-products {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.flash-products::-webkit-scrollbar { display: none; }

.flash-product-card {
  flex-shrink: 0;
  width: 170px;
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: block;
}
.flash-product-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}
.flash-product-card .img-wrap {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--bg);
}
.flash-product-card .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.flash-product-card:hover .img-wrap img { transform: scale(1.06); }
.flash-discount-badge {
  position: absolute;
  bottom: 6px;
  left: 6px;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
}
.flash-product-info {
  padding: 8px 10px;
}
.flash-price {
  color: var(--primary);
  font-size: 16px;
  font-weight: 800;
}
.flash-original {
  color: var(--text-light);
  font-size: 11px;
  text-decoration: line-through;
}
.flash-bar-wrap {
  margin-top: 6px;
  background: #FFE5DF;
  border-radius: var(--radius-full);
  height: 5px;
  overflow: hidden;
}
.flash-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-full);
  transition: width 0.5s ease;
}
.flash-sold-label {
  font-size: 10px;
  color: var(--primary);
  font-weight: 600;
  margin-top: 3px;
}

/* Nav arrows */
.flash-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 32px;
  height: 32px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text);
  font-size: 12px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition-fast);
}
.flash-arrow:hover { color: var(--primary); border-color: var(--primary); }
.flash-arrow.prev { left: 0; }
.flash-arrow.next { right: 0; }
