/* Reference-led premium flash sale layout. Loaded after all legacy responsive styles. */
@media (min-width: 992px) {
  .home-promotion-hero {
    grid-template-columns: minmax(0, 1.75fr) minmax(430px, 1.15fr);
  }
}

.home-promotion-hero .flash-sale-panel {
  isolation: isolate;
  overflow: hidden;
  border: 1px solid #f2cbd0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 16px 38px rgb(157 0 19 / 14%), 0 2px 7px rgb(96 0 12 / 6%);
}

.home-promotion-hero .flash-panel-heading {
  position: relative;
  height: 82px;
  min-height: 82px;
  flex: 0 0 82px;
  gap: 12px;
  padding: 9px 14px;
  background: linear-gradient(106deg, #f0001d 0%, #e5001c 58%, #bc0019 100%);
}

.home-promotion-hero .flash-panel-heading::before {
  position: absolute;
  right: -10px;
  bottom: -18px;
  width: 102px;
  height: 65px;
  background: repeating-linear-gradient(133deg, transparent 0 15px, rgb(255 68 88 / 66%) 16px 28px, transparent 29px 39px);
  content: "";
  opacity: .82;
  transform: skewX(-13deg);
}

.home-promotion-hero .flash-bolt {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border: 1px solid rgb(255 255 255 / 58%);
  border-radius: 15px;
  background: linear-gradient(145deg, rgb(255 255 255 / 24%), rgb(255 255 255 / 7%));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 35%), 0 7px 17px rgb(92 0 12 / 20%);
}

.home-promotion-hero .flash-bolt img { width: 32px; }
.home-promotion-hero .flash-title { min-width: 0; flex: 1 1 auto; }
.home-promotion-hero .flash-live { margin-bottom: 3px; font-size: 9px; letter-spacing: .5px; }
.home-promotion-hero .flash-live i { width: 7px; height: 7px; background: #fff0a6; box-shadow: 0 0 0 4px rgb(255 240 166 / 18%); }
.home-promotion-hero .flash-title h2 { font-size: 21px; font-weight: 900; letter-spacing: -.8px; line-height: .95; }
.home-promotion-hero .flash-title .flash-panel-subtitle { display: block; max-width: 180px; margin-top: 6px; overflow: hidden; color: rgb(255 255 255 / 88%); font-size: 9px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }

.home-promotion-hero .flash-countdown.vintage-clock {
  z-index: 2;
  flex: 0 0 auto;
  gap: 5px;
  margin-left: 2px;
  padding: 5px 6px;
  border: 1px solid rgb(255 255 255 / 38%);
  border-radius: 14px;
  background: linear-gradient(145deg, rgb(91 0 12 / 29%), rgb(139 0 18 / 18%));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 22%), 0 8px 18px rgb(79 0 10 / 18%);
  backdrop-filter: blur(5px);
}

.home-promotion-hero .flash-countdown.vintage-clock > .clock-unit {
  position: relative;
  width: 42px;
  height: 55px;
  padding: 0 0 12px;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 92%);
  border-radius: 10px;
  background: linear-gradient(180deg, #fff 0 65%, #fff0f2 65% 100%);
  box-shadow: 0 5px 11px rgb(78 0 10 / 20%), inset 0 -1px 0 #f4cfd4, inset 0 1px 0 #fff;
}

.home-promotion-hero .flash-countdown.vintage-clock > .clock-unit::after {
  position: absolute;
  top: 1px;
  right: 3px;
  left: 3px;
  display: block;
  height: 16px;
  border-radius: 8px 8px 50% 50%;
  background: linear-gradient(180deg, rgb(255 255 255 / 88%), rgb(255 255 255 / 0%));
  content: "";
  pointer-events: none;
}

.home-promotion-hero .vintage-clock .clock-unit b { position: relative; z-index: 2; color: #d6001a; font-size: 21px; font-weight: 900; letter-spacing: .4px; line-height: 1; text-shadow: 0 1px 0 #fff; }
.home-promotion-hero .flash-countdown small { position: absolute; z-index: 2; right: 0; bottom: 4px; left: 0; display: block; margin: 0; color: #9d2635; font-size: 7px; font-weight: 900; letter-spacing: .55px; line-height: 1; text-align: center; }
.home-promotion-hero .flash-countdown > i { margin: 0 -1px; color: rgb(255 255 255 / 82%); font-size: 18px; font-weight: 900; line-height: 1; text-shadow: 0 2px 4px rgb(74 0 9 / 28%); }

.home-promotion-hero .flash-product-render {
  position: relative;
  height: 236px;
  min-height: 236px;
  max-height: 236px;
  flex: 0 0 236px;
  overflow: hidden;
  background: #fff;
}

.home-promotion-hero .flash-product-card,
.home-promotion-hero .flash-type-stock,
.home-promotion-hero .flash-type-coupon,
.home-promotion-hero .flash-type-bundle {
  display: grid;
  width: 100%;
  height: 236px;
  min-height: 236px;
  max-height: 236px;
  grid-template-columns: 47% 53%;
  align-items: stretch;
  gap: 7px;
  padding: 12px 16px 11px 13px;
  background: #fff;
}

.home-promotion-hero .flash-product-card::before { display: none; }

.home-promotion-hero .flash-product-visual {
  position: relative;
  display: grid;
  min-width: 0;
  height: 100%;
  place-items: center;
  overflow: visible;
  border: 1px solid rgb(243 217 221 / 62%);
  border-radius: 12px;
  background: #fff url("../../../img/home/promotions/flash-card-background-soft-v3.png") center / cover no-repeat;
}

.home-promotion-hero .flash-product-image {
  width: 96%;
  height: 205px;
  max-height: 205px;
  margin: 12px 0 0 6px;
  object-fit: contain;
  filter: drop-shadow(0 13px 11px rgb(43 0 5 / 13%));
}

.home-promotion-hero .flash-product-badge,
.home-promotion-hero .flash-type-highlight .flash-product-badge {
  position: absolute;
  z-index: 3;
  top: -8px;
  left: -9px;
  display: flex;
  width: 101px;
  height: 101px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 0;
  background: none;
  box-shadow: none;
  color: #fff;
  line-height: .88;
  transform: rotate(-5deg);
}

.home-promotion-hero .flash-product-badge img { position: absolute; z-index: -1; width: 116%; height: 116%; object-fit: contain; filter: drop-shadow(0 8px 11px rgb(201 0 24 / 24%)); }
.home-promotion-hero .flash-product-badge b { font-size: 31px; font-weight: 900; letter-spacing: -2px; text-shadow: 0 2px 3px rgb(91 0 10 / 22%); }
.home-promotion-hero .flash-product-badge small { margin-top: 7px; font-size: 12px; font-weight: 900; letter-spacing: -.3px; text-transform: none; }

.home-promotion-hero .flash-bundle-product { display: grid; width: 95%; grid-template-columns: 1fr 20px 1fr; align-items: center; margin-top: 18px; }
.home-promotion-hero .flash-bundle-product img { width: 100%; height: 145px; object-fit: contain; }
.home-promotion-hero .flash-bundle-product span { display: grid; width: 22px; height: 22px; place-items: center; border-radius: 50%; background: #1d2630; color: #fff; font-size: 14px; font-weight: 900; }

.home-promotion-hero .flash-product-data { position: relative; z-index: 2; display: flex; min-width: 0; height: 100%; flex-direction: column; justify-content: space-between; padding: 2px 0 1px 13px; }
.home-promotion-hero .flash-product-data .flash-product-kicker { display: inline-flex; width: fit-content; max-width: 100%; margin: 0; padding: 7px 11px; overflow: hidden; border-radius: 9px; background: rgb(239 0 29 / 8%); color: #df001b; font-size: 11px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.home-promotion-hero .flash-product-data strong { max-width: 100%; color: #18232d; font-size: 21px; font-weight: 900; letter-spacing: -.35px; line-height: 1.08; }
.home-promotion-hero .flash-product-data .flash-product-meta { display: flex; align-items: center; gap: 7px; margin-top: 0; color: #69727b; font-size: 9px; white-space: nowrap; }
.home-promotion-hero .flash-product-meta > b { color: #26313a; font-size: 10px; }
.home-promotion-hero .flash-product-meta > b::first-letter { color: #ffb100; }
.home-promotion-hero .flash-product-meta > i { width: 1px; height: 13px; background: #c7cdd2; }
.home-promotion-hero .flash-product-meta svg { width: 13px; height: 13px; fill: none; stroke: #26313a; stroke-width: 1.8; }

.home-promotion-hero .flash-price-row { display: grid; width: 100%; grid-template-columns: minmax(0, 1fr) 64px; align-items: end; gap: 10px; margin-top: 0; }
.home-promotion-hero .flash-price-row > span { display: flex; min-width: 0; flex-direction: column; }
.home-promotion-hero .flash-price-row del { color: #8e9499; font-size: 13px; }
.home-promotion-hero .flash-price-row > span > b { margin-top: 1px; color: #e5001c; font-size: 31px; font-weight: 900; letter-spacing: -1.25px; line-height: 1.02; white-space: nowrap; }
.home-promotion-hero .flash-price-row > em { position: relative; display: flex; width: 64px; height: 58px; justify-self: end; flex-direction: column; align-items: center; justify-content: center; padding-left: 7px; border-radius: 9px; background: linear-gradient(145deg, #fff2f3, #ffe2e5); color: #dd001b; font-style: normal; line-height: 1; }
.home-promotion-hero .flash-price-row > em::before { position: absolute; left: -11px; width: 23px; height: 23px; background: #ffe8ea; content: ""; transform: rotate(45deg); }
.home-promotion-hero .flash-price-row > em b,
.home-promotion-hero .flash-price-row > em small { position: relative; z-index: 1; }
.home-promotion-hero .flash-price-row > em b { font-size: 19px; font-weight: 900; }
.home-promotion-hero .flash-price-row > em small { margin-top: 4px; font-size: 8.5px; font-weight: 900; text-transform: uppercase; }

.home-promotion-hero .flash-product-data a {
  width: 100%;
  min-height: 48px;
  justify-content: flex-start;
  gap: 10px;
  margin-top: 0;
  padding: 0 14px;
  border-radius: 10px;
  background: linear-gradient(100deg, #f0001d, #d7001a);
  box-shadow: 0 9px 20px rgb(220 0 27 / 22%);
  font-size: 13px;
  text-transform: none;
}

.home-promotion-hero .flash-product-data a svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.home-promotion-hero .flash-product-data a > b { color: #fff; font-size: 15px; }
.home-promotion-hero .flash-product-data a > i { margin-left: auto; font-size: 26px; font-style: normal; line-height: 1; }
.home-promotion-hero .flash-saving,
.home-promotion-hero .flash-stock,
.home-promotion-hero .flash-coupon { display: none; }

.home-promotion-hero .flash-product-controls {
  position: relative;
  height: 42px;
  min-height: 42px;
  flex: 0 0 42px;
  justify-content: center;
  gap: 10px;
  padding: 6px 12px;
  border-top: 1px solid #f4dfe2;
  background: linear-gradient(90deg, #fff9fa, #fff);
}

.home-promotion-hero .flash-product-controls > button { width: 29px; height: 29px; border: 1px solid #f1d8dc; background: #fff; box-shadow: 0 4px 11px rgb(83 0 10 / 8%); }
.home-promotion-hero .flash-product-controls img { width: 14px; filter: invert(14%) sepia(95%) saturate(6376%) hue-rotate(347deg) brightness(87%) contrast(111%); }
.home-promotion-hero .flash-product-dots { gap: 6px; }
.home-promotion-hero .flash-product-dots button { width: 8px; height: 8px; background: #f3cdd2; transition: width .2s ease, background .2s ease; }
.home-promotion-hero .flash-product-dots button.is-active { width: 20px; background: #e5001c; }
.home-promotion-hero .flash-product-controls > a { display: none; }

@media (max-width: 1199.98px) and (min-width: 768px) {
  .home-promotion-hero .flash-title h2 { font-size: 18px; }
  .home-promotion-hero .flash-title .flash-panel-subtitle { max-width: 135px; }
  .home-promotion-hero .flash-countdown.vintage-clock { gap: 3px; padding-inline: 5px; }
  .home-promotion-hero .flash-countdown.vintage-clock > .clock-unit { width: 36px; }
  .home-promotion-hero .vintage-clock .clock-unit b { font-size: 18px; }
  .home-promotion-hero .flash-countdown small { font-size: 6px; }
  .home-promotion-hero .flash-product-card { grid-template-columns: 47% 53%; padding-inline: 10px; }
  .home-promotion-hero .flash-product-badge, .home-promotion-hero .flash-type-highlight .flash-product-badge { width: 91px; height: 91px; }
  .home-promotion-hero .flash-product-image { height: 190px; max-height: 190px; }
  .home-promotion-hero .flash-product-data { padding-left: 9px; }
  .home-promotion-hero .flash-product-data strong { font-size: 18px; }
  .home-promotion-hero .flash-price-row > span > b { font-size: 27px; }
}

@media (max-width: 767.98px) {
  .home-promotion-hero .flash-sale-panel { height: 330px !important; min-height: 330px !important; max-height: 330px !important; }
  .home-promotion-hero .flash-panel-heading { height: 72px !important; min-height: 72px !important; flex-basis: 72px !important; gap: 7px; padding: 7px 9px; }
  .home-promotion-hero .flash-bolt { width: 40px; height: 40px; flex-basis: 40px; border-radius: 11px; }
  .home-promotion-hero .flash-bolt img { width: 25px; }
  .home-promotion-hero .flash-title h2 { font-size: 14px; letter-spacing: -.4px; }
  .home-promotion-hero .flash-live { font-size: 7px; }
  .home-promotion-hero .flash-title .flash-panel-subtitle { display: none; }
  .home-promotion-hero .flash-countdown.vintage-clock { gap: 2px; padding: 4px; border-radius: 11px; }
  .home-promotion-hero .flash-countdown.vintage-clock > .clock-unit { width: 31px; height: 45px; }
  .home-promotion-hero .vintage-clock .clock-unit b { font-size: 15px; }
  .home-promotion-hero .flash-countdown small { bottom: 3px; margin: 0; font-size: 5px; letter-spacing: .2px; }
  .home-promotion-hero .flash-countdown > i { font-size: 14px; }
  .home-promotion-hero .flash-product-render { height: 216px !important; min-height: 216px !important; max-height: 216px !important; flex-basis: 216px !important; }
  .home-promotion-hero .flash-product-card { height: 216px !important; min-height: 216px !important; max-height: 216px !important; grid-template-columns: 49% 51%; gap: 4px; padding: 9px 8px; }
  .home-promotion-hero .flash-product-image { height: 176px !important; max-height: 176px !important; margin: 10px 0 0; }
  .home-promotion-hero .flash-product-badge, .home-promotion-hero .flash-type-highlight .flash-product-badge { top: -6px; left: -7px; width: 78px; height: 78px; }
  .home-promotion-hero .flash-product-badge b { font-size: 24px; }
  .home-promotion-hero .flash-product-badge small { margin-top: 5px; font-size: 9px; }
  .home-promotion-hero .flash-product-data { padding-left: 2px; }
  .home-promotion-hero .flash-product-data .flash-product-kicker { margin-bottom: 6px; padding: 4px 6px; font-size: 7px; }
  .home-promotion-hero .flash-product-data strong { font-size: 13px; }
  .home-promotion-hero .flash-product-data .flash-product-meta { gap: 3px; margin-top: 5px; font-size: 6px; }
  .home-promotion-hero .flash-product-meta svg,
  .home-promotion-hero .flash-product-meta svg + * { display: none; }
  .home-promotion-hero .flash-price-row { grid-template-columns: 1fr; margin-top: 7px; }
  .home-promotion-hero .flash-price-row del { font-size: 9px; }
  .home-promotion-hero .flash-price-row > span > b { font-size: 20px; }
  .home-promotion-hero .flash-price-row > em { display: none; }
  .home-promotion-hero .flash-product-data a { min-height: 34px; margin-top: 7px; padding: 0 10px; font-size: 10px; }
  .home-promotion-hero .flash-product-data a svg { width: 17px; height: 17px; }
  .home-promotion-hero .flash-product-data a > b { font-size: 10px; }
  .home-promotion-hero .flash-product-controls { height: 42px !important; min-height: 42px !important; flex-basis: 42px !important; }
}
