/* Flash Sale — premium card (reference style) */
.flash-sale-premium {
  padding: 10px 12px 14px;
  margin: 0;
}
.flash-sale-hero-card {
  display: block;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 148px;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, #2a2228 0%, #1a1218 55%, #2d1a24 100%);
  box-shadow: 0 10px 32px rgba(26, 18, 24, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.flash-sale-hero-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(233, 30, 99, 0.22);
}
.flash-sale-hero-card.has-custom-bg {
  background-image: var(--flash-bg-mobile);
  background-size: cover;
  background-position: center;
}
@media (min-width: 768px) {
  .flash-sale-hero-card.has-custom-bg {
    background-image: var(--flash-bg-desktop);
  }
}
.flash-sale-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(0, 0, 0, 0.72) 0%,
    rgba(0, 0, 0, 0.45) 45%,
    rgba(0, 0, 0, 0.15) 100%
  );
  pointer-events: none;
}
.flash-sale-hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 16px;
  min-height: 148px;
}
.flash-sale-hero-copy {
  flex: 1 1 auto;
  min-width: 0;
}
.flash-sale-hero-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  opacity: 0.9;
  margin-bottom: 4px;
}
.flash-sale-hero-offer {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}
.flash-sale-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 700;
  color: #ff9f5a;
}
.flash-sale-hero-timer-block {
  flex-shrink: 0;
  text-align: center;
}
.flash-sale-ends-label {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.75;
  margin-bottom: 6px;
}
.flash-sale-timer {
  display: flex;
  align-items: center;
  gap: 4px;
}
.flash-timer-unit {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 6px 8px;
  min-width: 44px;
  text-align: center;
}
.flash-timer-unit span {
  display: block;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.flash-timer-unit small {
  display: block;
  font-size: 8px;
  text-transform: uppercase;
  opacity: 0.7;
  margin-top: 2px;
}
.flash-timer-sep {
  font-size: 16px;
  font-weight: 700;
  opacity: 0.5;
  padding-bottom: 12px;
}
.flash-sale-products-scroll {
  margin-top: 12px;
}
.flash-sale-products-scroll .product-scroll {
  padding: 0 2px 4px;
}

@media (min-width: 768px) {
  .flash-sale-premium {
    padding: 12px 20px 18px;
    max-width: 1320px;
    margin: 0 auto;
  }
  .flash-sale-hero-card {
    min-height: 180px;
    border-radius: 22px;
  }
  .flash-sale-hero-inner {
    padding: 24px 28px;
    min-height: 180px;
  }
  .flash-sale-hero-offer {
    font-size: 28px;
  }
  .flash-timer-unit {
    min-width: 52px;
    padding: 8px 10px;
  }
  .flash-timer-unit span {
    font-size: 22px;
  }
}

@media (max-width: 480px) {
  .flash-sale-hero-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 14px;
    min-height: 0;
  }
  .flash-sale-hero-timer-block {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }
  .flash-sale-ends-label {
    margin: 0;
    text-align: left;
  }
  .flash-sale-timer {
    margin-left: auto;
  }
  .flash-sale-hero-offer {
    font-size: 20px;
  }
}
