/* Shared FlashSale presentation for WooCommerce and the local review. */
.gaeru-managed-flash,
.preview-flash,
body.gaeru-catalog #main-content ul.products li.product.product .gaeru-managed-flash {
  position: relative;
  isolation: isolate;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  justify-content: stretch;
  justify-items: stretch;
  gap: 10px !important;
  box-sizing: border-box;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  margin: 10px 0 12px !important;
  padding: 12px !important;
  overflow: hidden;
  border: 1px solid #c51325;
  border-radius: 16px;
  background: linear-gradient(125deg, #c91327 0%, #df1829 55%, #ba0c28 100%);
  color: #fff;
  box-shadow: 0 5px 16px #bd12251a;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px !important;
  line-height: 1.4;
  text-align: left;
}
.gaeru-managed-flash[hidden],
.preview-flash[hidden],
.gaeru-normal-price[hidden],
body.gaeru-catalog #main-content ul.products li.product.product .gaeru-managed-flash[hidden],
body.gaeru-catalog #main-content ul.products li.product.product .price[hidden],
.preview-store-price[hidden],
.preview-quick-price[hidden] {
  display: none !important;
}
/* A quiet lightning silhouette stays behind the information. */
.gaeru-managed-flash::before,
.preview-flash::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  width: 110px;
  max-width: 45%;
  height: 100%;
  background: #fff;
  opacity: .09;
  clip-path: polygon(51% 0, 92% 0, 61% 40%, 90% 40%, 18% 100%, 41% 54%, 13% 54%);
  pointer-events: none;
}
.gaeru-flash-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  min-width: 0;
}
.gaeru-managed-flash strong.gaeru-flash-label,
.preview-flash strong.gaeru-flash-label,
body.gaeru-catalog #main-content ul.products li.product.product .gaeru-managed-flash strong.gaeru-flash-label {
  display: inline-block;
  max-width: 100%;
  margin: 0;
  color: #fff4aa;
  font-size: 21px !important;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.4px;
  white-space: nowrap;
}
@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  .gaeru-managed-flash strong.gaeru-flash-label,
  .preview-flash strong.gaeru-flash-label,
  body.gaeru-catalog #main-content ul.products li.product.product .gaeru-managed-flash strong.gaeru-flash-label {
    background: linear-gradient(100deg, #fff5a4 0%, #fff 35%, #ffe178 65%, #fff5a4 100%);
    background-size: 220% 100%;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    animation: gaeru-flash-title 4s ease-in-out infinite;
  }
}
.gaeru-flash-clock {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  min-width: 0;
  max-width: 100%;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
}
.gaeru-flash-clock .gaeru-managed-timer,
.gaeru-flash-clock [data-preview-flash-timer],
body.gaeru-catalog #main-content ul.products li.product.product .gaeru-flash-clock .gaeru-managed-timer {
  display: inline-block;
  min-width: 0;
  max-width: 100%;
  padding: 3px 6px;
  border: 1px solid #ffffff40;
  border-radius: 7px;
  background: #99091c80;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1.3;
  letter-spacing: .2px;
  text-align: center;
  white-space: nowrap;
}
.gaeru-flash-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 5px 8px;
  min-width: 0;
  max-width: 100%;
  padding-top: 9px;
  border-top: 1px solid #ffffff45;
  color: #fff;
  font-size: 21px;
  font-weight: 750;
  line-height: 1.4;
}
.gaeru-flash-price > .price,
.gaeru-flash-price > .preview-store-price,
.gaeru-flash-price > .preview-quick-price,
body.gaeru-catalog #main-content ul.products li.product.product .gaeru-flash-price > .price {
  display: flex !important;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 5px 8px !important;
  min-width: 0;
  min-height: 0 !important;
  max-width: 100%;
  margin: 0 !important;
  padding: 0;
  color: #fff !important;
  font-size: 21px !important;
  font-weight: 750;
  line-height: 1.4;
  overflow-wrap: normal;
}
.gaeru-flash-price ins,
.gaeru-flash-price .amount,
.gaeru-flash-price .price ins,
.gaeru-flash-price .price .amount,
.gaeru-flash-price .price ins .amount,
.gaeru-flash-price .preview-store-price strong,
.gaeru-flash-price .preview-quick-price strong,
body.gaeru-catalog #main-content ul.products li.product.product .gaeru-flash-price .price ins,
body.gaeru-catalog #main-content ul.products li.product.product .gaeru-flash-price .price .amount,
body.gaeru-catalog #main-content ul.products li.product.product .gaeru-flash-price .price ins .amount {
  color: #fff !important;
  font-size: inherit !important;
  font-weight: 750;
  line-height: inherit;
  text-decoration: none;
}
.gaeru-flash-price del,
.gaeru-flash-price del .amount,
.gaeru-flash-price .price del,
.gaeru-flash-price .price del .amount,
.gaeru-flash-price .price .gaeru-catalog-from,
.gaeru-flash-price .preview-price-from,
body.gaeru-catalog #main-content ul.products li.product.product .gaeru-flash-price .price del,
body.gaeru-catalog #main-content ul.products li.product.product .gaeru-flash-price .price del .amount,
body.gaeru-catalog #main-content ul.products li.product.product .gaeru-flash-price .price .gaeru-catalog-from {
  color: #fff2f3 !important;
  font-size: 12px !important;
  font-weight: 400;
  line-height: 1.5;
}
.gaeru-flash-price ins {
  text-decoration: none;
}
.gaeru-flash-price .woocommerce-Price-amount,
.gaeru-flash-price .preview-price-amount {
  white-space: nowrap;
}
.gaeru-price-range-endpoint,
.preview-price-amount {
  display: inline-block;
  white-space: nowrap;
}
.gaeru-flash-price del,
.gaeru-flash-price ins,
.preview-store-price > del,
.preview-store-price > strong,
.preview-quick-price > del,
.preview-quick-price > strong,
body.gaeru-catalog #main-content ul.products li.product.product .price > del,
body.gaeru-catalog #main-content ul.products li.product.product .price > ins {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px;
  min-width: 0;
  max-width: 100%;
}
/* Only purchase actions use the red treatment; product-detail links remain secondary. */
body.gaeru-catalog #main-content ul.products li.product.product .button.gaeru-catalog-direct,
body.gaeru-catalog #main-content ul.products li.product.product .gaeru-catalog-direct-form > .button.gaeru-catalog-direct,
body.gaeru-catalog #main-content ul.products li.product.product > a.button.gaeru-catalog-native-buy,
.gaeru-quick-dialog button.gaeru-quick-primary,
.gaeru-product-dialog .gaeru-product-buy,
.gaeru-product-detail-fallback .gaeru-product-buy,
form.cart button.gaeru-buy-now,
.purchase-dialog button.gaeru-buy-now,
.preview-store-card .preview-product-actions .button.preview-buy,
.preview-quick-dialog .button.preview-detail-buy,
.preview-quick-dialog .preview-quick-form > button.button[type="submit"] {
  border-color: #d7182a !important;
  border-radius: 15px !important;
  background: #d7182a !important;
  color: #fff !important;
  box-shadow: 0 3px 10px #d7182a16;
  text-decoration: none;
  transition: background-color .18s ease, box-shadow .18s ease;
}
body.gaeru-catalog #main-content ul.products li.product.product .button.gaeru-catalog-direct:hover:not(:disabled),
body.gaeru-catalog #main-content ul.products li.product.product .gaeru-catalog-direct-form > .button.gaeru-catalog-direct:hover:not(:disabled),
body.gaeru-catalog #main-content ul.products li.product.product > a.button.gaeru-catalog-native-buy:hover,
.gaeru-quick-dialog button.gaeru-quick-primary:hover:not(:disabled),
.gaeru-product-dialog .gaeru-product-buy:hover:not(:disabled),
.gaeru-product-detail-fallback .gaeru-product-buy:hover:not(:disabled),
form.cart button.gaeru-buy-now:hover:not(:disabled),
.purchase-dialog button.gaeru-buy-now:hover:not(:disabled),
.preview-store-card .preview-product-actions .button.preview-buy:hover:not(:disabled),
.preview-quick-dialog .button.preview-detail-buy:hover:not(:disabled),
.preview-quick-dialog .preview-quick-form > button.button[type="submit"]:hover:not(:disabled) {
  border-color: #b80e22 !important;
  background: #b80e22 !important;
  color: #fff !important;
  box-shadow: 0 4px 13px #b80e2226;
}
@keyframes gaeru-flash-title {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@media (max-width: 600px) {
  .gaeru-managed-flash,
  .preview-flash,
  body.gaeru-catalog #main-content ul.products li.product.product .gaeru-managed-flash {
    gap: 8px !important;
    padding: 10px !important;
    border-radius: 14px;
  }
  .gaeru-managed-flash strong.gaeru-flash-label,
  .preview-flash strong.gaeru-flash-label,
  body.gaeru-catalog #main-content ul.products li.product.product .gaeru-managed-flash strong.gaeru-flash-label {
    font-size: 18px !important;
  }
  .gaeru-flash-price,
  .gaeru-flash-price > .price,
  .gaeru-flash-price > .preview-store-price,
  .gaeru-flash-price > .preview-quick-price,
  body.gaeru-catalog #main-content ul.products li.product.product .gaeru-flash-price > .price {
    font-size: 18px !important;
  }
}
@media (max-width: 359px) {
  .gaeru-managed-flash,
  .preview-flash,
  body.gaeru-catalog #main-content ul.products li.product.product .gaeru-managed-flash {
    padding: 8px !important;
  }
  .gaeru-flash-clock,
  .gaeru-flash-clock .gaeru-managed-timer,
  .gaeru-flash-clock [data-preview-flash-timer],
  body.gaeru-catalog #main-content ul.products li.product.product .gaeru-flash-clock .gaeru-managed-timer {
    font-size: 11px;
  }
  .gaeru-flash-price,
  .gaeru-flash-price > .price,
  .gaeru-flash-price > .preview-store-price,
  .gaeru-flash-price > .preview-quick-price,
  body.gaeru-catalog #main-content ul.products li.product.product .gaeru-flash-price > .price {
    font-size: 16px !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .gaeru-managed-flash strong.gaeru-flash-label,
  .preview-flash strong.gaeru-flash-label,
  body.gaeru-catalog #main-content ul.products li.product.product .gaeru-managed-flash strong.gaeru-flash-label {
    animation: none;
    background: none;
    color: #fff4aa;
  }
  .gaeru-catalog-direct,
  .gaeru-catalog-native-buy,
  .gaeru-quick-primary,
  .gaeru-product-buy,
  .gaeru-buy-now,
  .preview-buy,
  .preview-detail-buy,
  .preview-quick-form > button.button[type="submit"] {
    transition: none !important;
  }
}

/* Compact catalogue promotions; detail and purchase-popup frames keep theirs. */
:is(.preview-store-card .preview-flash,body.gaeru-catalog #main-content ul.products li.product.product .gaeru-managed-flash){gap:5px!important;padding:8px!important;margin:8px 0 10px!important;border-radius:10px;box-shadow:none}
:is(.preview-store-card .preview-flash,body.gaeru-catalog #main-content ul.products li.product.product .gaeru-managed-flash) .gaeru-flash-top{flex-direction:row;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:3px 6px}
:is(.preview-store-card .preview-flash,body.gaeru-catalog #main-content ul.products li.product.product .gaeru-managed-flash) strong.gaeru-flash-label{font-size:14px!important;letter-spacing:0}
:is(.preview-store-card .preview-flash,body.gaeru-catalog #main-content ul.products li.product.product .gaeru-managed-flash) .gaeru-flash-clock{font-size:10px;gap:3px}
:is(.preview-store-card .preview-flash,body.gaeru-catalog #main-content ul.products li.product.product .gaeru-managed-flash) :is(.gaeru-managed-timer,[data-preview-flash-timer]){font-size:10px;padding:1px 3px;line-height:1.2}
:is(.preview-store-card .preview-flash,body.gaeru-catalog #main-content ul.products li.product.product .gaeru-managed-flash) :is(.gaeru-flash-price,.gaeru-flash-price>.price,.gaeru-flash-price>.preview-store-price){display:flex!important;flex-direction:column;align-items:flex-start;gap:2px!important;margin:0!important;min-height:0!important;font-size:16px!important;line-height:1.25}
:is(.preview-store-card .preview-flash,body.gaeru-catalog #main-content ul.products li.product.product .gaeru-managed-flash) .gaeru-flash-price{padding-top:4px}
:is(.preview-store-card .preview-flash,body.gaeru-catalog #main-content ul.products li.product.product .gaeru-managed-flash) .gaeru-flash-price :is(del,ins){gap:0 3px;font-size:inherit!important;line-height:1.25;flex-wrap:wrap}
:is(.preview-store-card .preview-flash,body.gaeru-catalog #main-content ul.products li.product.product .gaeru-managed-flash) .gaeru-flash-price :is(del,del .amount){font-size:10px!important;line-height:1.25}
.preview-store-card .preview-flash .preview-store-price strong{font-size:16px!important;line-height:1.25}
body.gaeru-catalog #main-content ul.products li.product.product .gaeru-managed-flash .gaeru-flash-price .price :is(del,del .amount){font-size:10px!important;line-height:1.25}
body.gaeru-catalog #main-content ul.products li.product.product .gaeru-managed-flash .gaeru-flash-price .price :is(ins,ins .amount){font-size:16px!important;line-height:1.25}

/* Catalogue promotion joins the image, before product copy. */
body.gaeru-catalog #main-content ul.products li.product.product>a.woocommerce-loop-product__link{gap:0!important}
body.gaeru-catalog #main-content ul.products li.product.product>a.woocommerce-loop-product__link>.gaeru-managed-flash{order:1;margin:0!important;border-radius:0 0 12px 12px}
body.gaeru-catalog #main-content ul.products li.product.product>a.woocommerce-loop-product__link:has(>.gaeru-managed-flash:not([hidden]))>:is(.et_shop_image,.gaeru-catalog-photo-zoom){border-radius:12px 12px 0 0!important}
body.gaeru-catalog #main-content ul.products li.product.product h2.woocommerce-loop-product__title{margin-top:12px!important}
body.gaeru-catalog #main-content ul.products li.product.product .gaeru-catalog-description{margin-top:6px}
body.gaeru-catalog #main-content ul.products li.product.product :is(.et_shop_image,.gaeru-catalog-photo-zoom){position:relative!important}
body.gaeru-catalog #main-content ul.products li.product.product :is(.et_shop_image,.gaeru-catalog-photo-zoom)>.onsale{position:absolute!important;bottom:0!important;right:0!important;top:auto!important;left:auto!important;margin:0!important;z-index:3}
body.gaeru-catalog #main-content ul.products li.product.product .gaeru-managed-flash strong.gaeru-flash-label{font-style:italic;animation:gaeru-flash-title 4s ease-in-out infinite,gaeru-flash-letter-shake 3.6s ease-in-out infinite}
body.gaeru-catalog #main-content ul.products li.product.product .gaeru-managed-flash::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(105deg,transparent 35%,#ffffff22 48%,#ffffff38 50%,#ffffff22 52%,transparent 65%);transform:translateX(-100%);animation:gaeru-catalog-flash-shine 4.2s linear infinite}
@keyframes gaeru-flash-letter-shake{0%,78%,100%{transform:translateX(0) rotate(0)}80%,84%{transform:translateX(-.7px) rotate(-1deg)}82%,86%{transform:translateX(.7px) rotate(1deg)}88%{transform:translateX(0) rotate(0)}}
@keyframes gaeru-catalog-flash-shine{0%{transform:translateX(-100%)}100%{transform:translateX(100%)}}
@media(max-width:600px){
 body.gaeru-catalog #main-content ul.products li.product.product>a.woocommerce-loop-product__link{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto auto auto auto auto!important}
 body.gaeru-catalog #main-content ul.products li.product.product>a.woocommerce-loop-product__link>:is(.et_shop_image,.gaeru-catalog-photo-zoom,img){grid-column:1!important;grid-row:1!important}
 body.gaeru-catalog #main-content ul.products li.product.product>a.woocommerce-loop-product__link>.gaeru-managed-flash{grid-column:1!important;grid-row:2!important}
 body.gaeru-catalog #main-content ul.products li.product.product h2.woocommerce-loop-product__title{grid-column:1!important;grid-row:3!important}
 body.gaeru-catalog #main-content ul.products li.product.product .gaeru-catalog-description{grid-column:1!important;grid-row:4!important}
 body.gaeru-catalog #main-content ul.products li.product.product>a.woocommerce-loop-product__link>.price{grid-column:1!important;grid-row:5!important;margin-top:10px!important}
 body.gaeru-catalog #main-content ul.products li.product.product>a.woocommerce-loop-product__link>:is(.et_shop_image,.gaeru-catalog-photo-zoom) img{max-height:260px!important}
}
@media(prefers-reduced-motion:reduce){body.gaeru-catalog #main-content ul.products li.product.product .gaeru-managed-flash strong.gaeru-flash-label,body.gaeru-catalog #main-content ul.products li.product.product .gaeru-managed-flash::after{animation:none!important}}

body.gaeru-catalog #main-content ul.products li.product.product .gaeru-managed-flash{height:50px;min-height:50px;max-height:50px;padding:2px 20px!important;gap:4px!important;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:minmax(0,1fr);align-items:center}
body.gaeru-catalog #main-content ul.products li.product.product .gaeru-managed-flash .gaeru-flash-top{grid-column:2;grid-row:1;flex-direction:column;align-items:flex-end;gap:0;flex-wrap:nowrap}
body.gaeru-catalog #main-content ul.products li.product.product .gaeru-managed-flash strong.gaeru-flash-label{font-size:11px!important;line-height:12px}
body.gaeru-catalog #main-content ul.products li.product.product .gaeru-managed-flash .gaeru-flash-clock{font-size:8px;line-height:10px;gap:2px;flex-wrap:nowrap}
body.gaeru-catalog #main-content ul.products li.product.product .gaeru-managed-flash .gaeru-managed-timer{font-size:8px!important;line-height:10px;padding:0 2px}
body.gaeru-catalog #main-content ul.products li.product.product .gaeru-managed-flash .gaeru-flash-price{grid-column:1;grid-row:1;border:0;padding:0;line-height:1;gap:0!important}
body.gaeru-catalog #main-content ul.products li.product.product .gaeru-managed-flash .gaeru-flash-price .price{gap:0!important;line-height:1!important}
body.gaeru-catalog #main-content ul.products li.product.product .gaeru-managed-flash .gaeru-flash-price .price :is(del,del .amount,del bdi){font-size:8px!important;line-height:10px!important;color:#fff2f3!important}
body.gaeru-catalog #main-content ul.products li.product.product .gaeru-managed-flash .gaeru-flash-price .price :is(ins,ins .amount,ins bdi){font-size:12px!important;line-height:14px!important;color:white!important}
body.gaeru-catalog #main-content ul.products li.product.product .gaeru-managed-flash .gaeru-flash-price{gap:0!important;font-size:12px!important;line-height:14px!important}
body.gaeru-catalog #main-content ul.products li.product.product .gaeru-managed-flash .gaeru-flash-price :is(del,del .amount,del bdi,.price del,.price del .amount,.price del bdi){font-size:8px!important;line-height:10px!important;color:#fff2f3!important;margin:0!important}
body.gaeru-catalog #main-content ul.products li.product.product .gaeru-managed-flash .gaeru-flash-price :is(ins,ins .amount,ins bdi,.price ins,.price ins .amount,.price ins bdi){font-size:12px!important;line-height:14px!important;color:white!important;margin:0!important}
@media(max-width:600px){
 body.gaeru-catalog #main-content ul.products li.product.product:has(>.gaeru-catalog-buy){display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}
 body.gaeru-catalog #main-content ul.products li.product.product>a.woocommerce-loop-product__link{grid-column:1/-1;grid-row:1}
 body.gaeru-catalog #main-content ul.products li.product.product>:is(.gaeru-catalog-direct,.gaeru-catalog-direct-form,.gaeru-catalog-native-buy){grid-column:1;grid-row:2;min-width:0}
 body.gaeru-catalog #main-content ul.products li.product.product>.gaeru-catalog-buy{grid-column:2;grid-row:2;min-width:0}
 body.gaeru-catalog #main-content ul.products li.product.product:has(>.gaeru-catalog-buy)>:is(.gaeru-catalog-direct,.gaeru-catalog-native-buy,.gaeru-catalog-buy),body.gaeru-catalog #main-content ul.products li.product.product:has(>.gaeru-catalog-buy)>.gaeru-catalog-direct-form>.gaeru-catalog-direct{margin:4px 0 0!important;min-height:40px!important;padding:6px 4px!important;font-size:12px!important;border-radius:12px!important;white-space:normal!important;width:100%!important}
}
body.gaeru-catalog #main-content ul.products li.product.product .gaeru-managed-flash .gaeru-flash-price ins{order:-1}body.gaeru-catalog #main-content ul.products li.product.product h2.woocommerce-loop-product__title{margin-top:15px!important}
body.gaeru-catalog #main-content ul.products li.product.product>a.woocommerce-loop-product__link>h2.woocommerce-loop-product__title{margin-top:3px!important}
