/* Slim store announcement bar. The duplicate message set creates the seamless loop. */
.asviya-promotion-ticker {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  color: #fdfaf6;
  background: #24201e;
  border-top: 1px solid rgba(255, 255, 255, .12);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  font-family: Arial, sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .12em;
  line-height: 1;
  text-transform: uppercase;
}

.asviya-promotion-ticker__track {
  display: flex;
  width: max-content;
  min-width: 100%;
  animation: asviya-promotion-ticker-scroll 30s linear infinite;
  will-change: transform;
}

.asviya-promotion-ticker__set {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  min-width: max-content;
}

.asviya-promotion-ticker__message {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 34px;
  white-space: nowrap;
}

.asviya-promotion-ticker__message::after {
  width: 4px;
  height: 4px;
  margin-left: 34px;
  content: '';
  background: #c79a49;
  border-radius: 50%;
}

@keyframes asviya-promotion-ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Badge is deliberately low and small so existing NEW/SALE flags and wishlist controls stay clear. */
.product-miniature .asviya-promotion-image {
  position: relative !important;
}

.product-miniature .asviya-bogo-badge {
  position: absolute;
  z-index: 4;
  bottom: 9px;
  left: 9px;
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  min-width: 76px;
  padding: 7px 9px 6px;
  color: #fff;
  pointer-events: none;
  background: rgba(36, 32, 30, .93);
  border-left: 2px solid #c79a49;
  box-shadow: 0 3px 10px rgba(34, 25, 18, .12);
  font-family: Arial, sans-serif;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 1.1;
  text-align: left;
}

.product-miniature .asviya-bogo-badge strong {
  color: #e3c37f;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
}

@media (max-width: 767px) {
  .asviya-promotion-ticker { font-size: 9px; letter-spacing: .1em; }
  .asviya-promotion-ticker__message { height: 28px; padding: 0 22px; }
  .asviya-promotion-ticker__message::after { margin-left: 22px; }
  .asviya-promotion-ticker__track { animation-duration: 24s; }

  .product-miniature .asviya-bogo-badge {
    bottom: 6px;
    left: 6px;
    min-width: 62px;
    padding: 5px 6px;
    font-size: 7px;
  }
  .product-miniature .asviya-bogo-badge strong { font-size: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .asviya-promotion-ticker__track { animation: none; }
}
