.flash-sale {
  padding: 28px 32px;
  margin: 0 3.8%;
  background: #8500ed;
  border-inline: 2px solid #1928a2;
  color: white;
}
.flash-sale [hidden] { display: none !important; }
.flash-sale-toolbar { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; min-width: 0; }
.flash-countdown { display: flex; align-items: center; gap: 4px; flex-shrink: 0; font-size: 20px; font-weight: 800; white-space: nowrap; }
.flash-countdown [data-countdown-label] { margin-right: 4px; }
.flash-digits { display: inline-flex; justify-content: center; align-items: center; min-width: 42px; height: 44px; padding: 0 3px; box-sizing: border-box; border-radius: 13px; background: #fffafa; color: #1928a2; font-variant-numeric: tabular-nums; }
.flash-tabs { display: flex; gap: 14px; min-width: 0; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; overscroll-behavior-x: contain; padding: 3px; -webkit-overflow-scrolling: touch; cursor: grab; user-select: none; }
.flash-tabs.is-dragging, .flash-tabs.is-dragging .flash-tab { cursor: grabbing; }
.flash-tabs::-webkit-scrollbar { display: none; }
.flash-tab { flex: 0 0 110px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 10px 8px; border: 2px solid white; border-radius: 25px; background: transparent; color: white; font: inherit; font-weight: 800; cursor: pointer; line-height: 1.2; }
.flash-tab[aria-selected="true"] { background: #ff5932; border-color: #1928a2; }
.flash-tab-time { font-size: 28px; }
.flash-tab-status { font-size: 17px; }
.flash-tab:focus-visible, .flash-products:focus-visible { outline: 3px solid #ffec33; outline-offset: 2px; }
.flash-products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; --card-border: #1928a2; --card-borderPx: 2px; }
.flash-products .grid-item { border-radius: 22px; }
.flash-products .flash-product-link { display: block; }
.flash-products .price-group { flex-direction: column; align-items: center; }
.flash-products .old-price { text-decoration: line-through; }
.flash-products .sale-price { font-size: clamp(18px, 2.5vw, 24px); font-weight: 700; }
.flash-empty { text-align: center; padding: 32px 0; }
@media (max-width: 768px) {
  .flash-sale { padding: 18px 12px; }
  .flash-sale-toolbar { flex-direction: column; align-items: stretch; gap: 12px; margin-bottom: 16px; }
  .flash-countdown { justify-content: center; font-size: 18px; }
  .flash-tabs { gap: 10px; }
  .flash-tab { flex-basis: 94px; border-radius: 20px; padding: 8px 5px; }
  .flash-tab-time { font-size: 25px; }
  .flash-tab-status { font-size: 15px; }
  .flash-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .flash-products .grid-item { border-radius: 16px; }
  .flash-products .name { margin-inline: 2px; }
}
