/**
 * SY Quantity Discount — quantity band box.
 * Visual values mirror the shop's established cascade for this box (theme
 * custom.css layer included): 2px top margin; 12px black labels (14px on
 * wide screens); price line 14px semibold #ed9c28; struck regular 14px black
 * on its own line; in carousel slides the cells are fixed 40px and centered.
 */

.sy-qd {
  width: 100%;
  margin-top: 2px;
  padding: 0;
}

.sy-qd-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
}

.sy-qd-cell {
  font-size: 12px;
  font-weight: 400;
  color: #000;
  text-align: center;
  padding: 0;
  background: transparent;
  border: 0;
}

@media (min-width: 1420px) {
  .sy-qd-cell {
    font-size: 14px;
  }
}

.sy-qd-price {
  font-size: 14px;
  font-weight: 600;
  color: #ed9c28;
}

/* plain price (no bulk discount): same price style, centered like the
   tier cells — without this the lone price inherits the card's left edge */
.sy-qd-plain .sy-qd-price {
  text-align: center;
}

.sy-qd-old {
  display: block;
  font-size: 14px;
  font-weight: 400;
  color: #000;
  text-decoration: line-through;
}

/* optional tax label (TTC/HT), enabled in the module settings */
.sy-qd-tax {
  font-size: 12px;
  font-weight: 400;
  color: #000;
}

/* carousel slides (home): fixed-height, centered cells */
.swiper-slide .sy-qd-cell {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 40px;
  height: 40px;
  padding: 0 10px;
  box-sizing: border-box;
  text-align: center;
}
