/* Dev preview: catalogue, product and checkout designs from /testab/1–3.html. */
.catalog_item_bulk,
.card_bulk_prices,
.checkout-discount-hint {
  box-sizing: border-box;
  font-family: Montserrat, sans-serif;
  text-align: left;
}
.catalog_item_bulk {
  margin: 10px 0 12px;
  padding: 8px 7px;
  border: 1px solid #f8dbe8;
  border-radius: 12px;
  background: linear-gradient(135deg, #fff8fb, #fff0f6);
  color: #28232a;
}
.catalog_item_bulk__title {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 0;
  color: #a51b58;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
}
.catalog_item_bulk__icon {
  display: inline-flex;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f14d91;
  color: #fff;
  font-size: 9px;
}
.catalog_item_bulk__row {
  display: grid;
  grid-template-columns: 70px minmax(36px, 1fr) 40px;
  align-items: center;
  gap: 2px;
  min-height: 25px;
  font-size: 10px;
  line-height: 1.2;
}
.catalog_item_bulk__from,
.catalog_item_bulk__price {
  font-weight: 700;
  font-size: 9px;
  white-space: nowrap;
}
.catalog_item_bulk__price { text-align: center; }
.catalog_item_bulk__discount {
  padding: 4px 3px;
  border-radius: 12px;
  background: #fbe0ea;
  color: #d52c6e;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
}
.catalog_item_bulk__row--personal { grid-template-columns: 70px minmax(0, 1fr); margin-top: 7px; }
.catalog_item_bulk__personal { min-width: 0; font-size: 7px; line-height: 1.15; }
.catalog_item_bulk__personal strong { display: block; font-size: 9px; white-space: nowrap; }
.catalog_item_bulk_note {
  grid-column: 1 / -1;
  margin: 5px 0 3px;
  color: #777078;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
}
.catalog_item_bulk--compact { padding: 6px 3px; }
.catalog_item_bulk--compact .catalog_item_bulk__title { gap: 2px; font-size: 6.5px; }
.catalog_item_bulk--compact .catalog_item_bulk__icon { width: 14px; height: 14px; flex-basis: 14px; font-size: 7px; }
.catalog_item_bulk--compact .catalog_item_bulk__row { grid-template-columns: minmax(0, 1fr) 32px; gap: 2px 3px; min-height: 34px; padding: 3px 0; font-size: 7px; }
.catalog_item_bulk--compact .catalog_item_bulk__from { font-size: 7.5px; }
.catalog_item_bulk--compact .catalog_item_bulk__price { grid-column: 1 / -1; grid-row: 2; font-size: 11px; line-height: 1.1; }
.catalog_item_bulk--compact .catalog_item_bulk__discount { padding: 3px 1px; font-size: 6.5px; }
.catalog_item_bulk--compact .catalog_item_bulk__row--personal { grid-template-columns: minmax(0, 1fr); margin-top: 5px; }
.catalog_item_bulk--compact .catalog_item_bulk__personal { grid-column: 1; grid-row: 2; text-align: center; }
.catalog_item_bulk--compact .catalog_item_bulk__personal strong { font-size: 11px; line-height: 1.1; }
.catalog_item_bulk--compact .catalog_item_bulk_note { grid-column: 1; grid-row: 3; margin-top: 3px; font-size: 8px; }

.card_bulk_prices {
  width: fit-content;
  max-width: 100%;
  margin: 16px 0 18px;
  padding: 13px 14px;
  border: 1px solid #f8dce8;
  border-radius: 13px;
  background: linear-gradient(135deg, #fffafd, #fff0f6);
  color: #242126;
  font-weight: 700;
}
.card_bulk_prices__title { display: flex; align-items: center; gap: 7px; margin-bottom: 10px; color: #a51b58; font-size: 15.5px; font-weight: 700; white-space: nowrap; }
.card_bulk_prices__icon { display: inline-flex; flex: 0 0 22px; width: 22px; height: 22px; align-items: center; justify-content: center; border-radius: 50%; background: #f14d91; color: #fff; font-size: 14px; }
.card_bulk_prices__row { display: grid; grid-template-columns: max-content max-content max-content; align-items: center; column-gap: 10px; min-height: 43px; border-top: 1px solid rgba(225, 1, 123, .07); font-size: 14px; line-height: 1.25; }
.card_bulk_prices__from, .card_bulk_prices__price { font-weight: 700; white-space: nowrap; }
.card_bulk_prices__price { font-size: 22px; }
.card_bulk_prices__discount { padding: 7px 8px; border-radius: 14px; background: #ed4b8e; color: #fff; font-size: 14px; font-weight: 700; text-align: center; white-space: nowrap; }
.card_bulk_prices__row--personal { grid-template-columns: max-content minmax(0, 1fr); }
.card_bulk_prices__personal strong, .card_bulk_prices__personal small { display: block; white-space: nowrap; }
.card_bulk_prices__personal strong { font-size: 17px; font-weight: 900; }
.card_bulk_prices__personal small { margin-top: 2px; color: #7b737a; font-size: 13px; }
.card_bulk_prices__note { margin: 8px 0 2px; color: #7b737a; font-size: 13px; font-weight: 400; line-height: 1.35; text-align: center; }

.checkout-discount-hint { margin: 12px 0 18px; padding: 13px 16px 12px; border-radius: 14px; background: linear-gradient(135deg, #fff4f8, #ffeaf2); color: #26242a; font-size: 14px; }
.checkout-discount-hint[hidden] { display: none; }
.checkout-discount-hint__caption { display: flex; align-items: center; gap: 8px; color: #a51b58; font-weight: 700; }
.checkout-discount-hint__gift { font-size: 21px; line-height: 1; }
.checkout-discount-hint__scale { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 10px 0 8px; }
.checkout-discount-hint__scale > div { padding: 7px 5px; border-radius: 9px; background: rgba(255, 255, 255, .72); text-align: center; }
.checkout-discount-hint__scale > div.is-active { background: #df3679; color: #fff; }
.checkout-discount-hint__scale b, .checkout-discount-hint__scale small { display: block; white-space: nowrap; }
.checkout-discount-hint__scale b { color: #a51b58; font-size: 12px; }
.checkout-discount-hint__scale small { margin-top: 3px; color: #5b5360; font-size: 11px; font-weight: 700; }
.checkout-discount-hint__scale > div.is-active b, .checkout-discount-hint__scale > div.is-active small { color: #fff; }
.checkout-discount-hint__track { height: 10px; margin: 12px 0 10px; overflow: hidden; border-radius: 999px; background: #f8dce7; }
.checkout-discount-hint__progress { width: 0; height: 100%; border-radius: inherit; background: #df3679; transition: width .25s ease; }
.checkout-discount-hint__bottom { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.checkout-discount-hint__current { font-weight: 700; }
.checkout-discount-hint__target { color: #55515a; white-space: nowrap; }

@media (max-width: 600px) {
  .checkout-discount-hint { margin: 10px 0 14px; padding: 11px 12px 10px; font-size: 12px; }
  .checkout-discount-hint__bottom { font-size: 13px; }
  .checkout-discount-hint__scale { gap: 3px; }
  .checkout-discount-hint__scale > div { padding: 5px 2px; }
  .checkout-discount-hint__scale b, .checkout-discount-hint__scale small { font-size: 9px; }
  .checkout-discount-hint__gift { font-size: 19px; }
}
@media (max-width: 480px) {
  .card_bulk_prices { width: 100%; padding: 11px 9px; }
  .card_bulk_prices__title { font-size: 12px; }
  .card_bulk_prices__row { column-gap: 6px; min-height: 39px; font-size: 11px; }
  .card_bulk_prices__price { font-size: 16px; }
  .card_bulk_prices__discount { padding: 5px 4px; font-size: 12px; }
  .card_bulk_prices__personal strong { font-size: 15px; }
  .card_bulk_prices__personal small { font-size: 11px; }
}
@media (max-width: 460px) {
  .catalog { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .catalog_item_bulk, .catalog_item_bulk.catalog_item_bulk--compact { margin: 6px 0 15px; padding: 6px 7px 7px; border-color: #f5a8ca; border-radius: 9px; background: linear-gradient(135deg, #fffafd, #fff1f7); }
  .catalog_item_bulk .catalog_item_bulk__title, .catalog_item_bulk.catalog_item_bulk--compact .catalog_item_bulk__title { display: inline-flex; width: auto; max-width: 100%; gap: 4px; margin-bottom: 4px; padding: 3px 7px 3px 3px; border-radius: 999px; background: linear-gradient(90deg, #ffe5f0, #fbd9e8); font-size: 8px; line-height: 1.2; }
  .catalog_item_bulk .catalog_item_bulk__icon, .catalog_item_bulk.catalog_item_bulk--compact .catalog_item_bulk__icon { width: 15px; height: 15px; flex-basis: 15px; background: linear-gradient(135deg, #f52f82, #e80067); font-size: 8.5px; }
  .catalog_item_bulk .catalog_item_bulk__row, .catalog_item_bulk.catalog_item_bulk--compact .catalog_item_bulk__row { grid-template-columns: minmax(0, 1fr) 33px; grid-template-rows: auto auto; gap: 2px 5px; min-height: 41px; padding: 6px 4px; border-top: 1px solid #f6cddd; }
  .catalog_item_bulk .catalog_item_bulk__from, .catalog_item_bulk.catalog_item_bulk--compact .catalog_item_bulk__from { grid-column: 1; grid-row: 1; font-size: 7.5px; text-align: center; }
  .catalog_item_bulk .catalog_item_bulk__price, .catalog_item_bulk.catalog_item_bulk--compact .catalog_item_bulk__price { grid-column: 1; grid-row: 2; font-size: 14px; line-height: 1.05; text-align: center; }
  .catalog_item_bulk .catalog_item_bulk__discount, .catalog_item_bulk.catalog_item_bulk--compact .catalog_item_bulk__discount { grid-column: 2; grid-row: 1 / 3; align-self: center; padding: 5px 3px; border-radius: 9px; background: #fbd6e6; color: #df1763; font-size: 7.5px; }
  .catalog_item_bulk .catalog_item_bulk__row--personal, .catalog_item_bulk.catalog_item_bulk--compact .catalog_item_bulk__row--personal { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto; min-height: 56px; margin-top: 0; }
  .catalog_item_bulk .catalog_item_bulk__row--personal .catalog_item_bulk__from, .catalog_item_bulk.catalog_item_bulk--compact .catalog_item_bulk__row--personal .catalog_item_bulk__from { grid-column: 1; grid-row: 1; }
  .catalog_item_bulk .catalog_item_bulk__row--personal .catalog_item_bulk__personal, .catalog_item_bulk.catalog_item_bulk--compact .catalog_item_bulk__row--personal .catalog_item_bulk__personal { grid-column: 1; grid-row: 2; text-align: center; }
  .catalog_item_bulk .catalog_item_bulk__personal strong, .catalog_item_bulk.catalog_item_bulk--compact .catalog_item_bulk__personal strong { font-size: 12.5px; line-height: 1.1; }
  .catalog_item_bulk .catalog_item_bulk_note, .catalog_item_bulk.catalog_item_bulk--compact .catalog_item_bulk_note { grid-column: 1; grid-row: 3; margin: 3px 0 0; font-size: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  .checkout-discount-hint__progress { transition: none; }
}
@media (max-width: 359px) {
  .catalog_item_bulk .catalog_item_bulk__title,
  .catalog_item_bulk.catalog_item_bulk--compact .catalog_item_bulk__title { white-space: normal; font-size: 7px; padding-right: 3px; }
  .catalog_item_bulk .catalog_item_bulk__personal strong,
  .catalog_item_bulk.catalog_item_bulk--compact .catalog_item_bulk__personal strong { font-size: 9px; }
  .catalog_item_bulk .catalog_item_bulk_note,
  .catalog_item_bulk.catalog_item_bulk--compact .catalog_item_bulk_note { white-space: normal; }
}
