/* Scoped tier pricing. Site font, warm surfaces and Pskov ZBM orange. */
.pz-tier-prices {
  --pz-price-accent: #fd6300;
  --pz-price-line: #e5ded9;
  color: #333;
  width: 100%;
  min-width: 0;
  font: inherit;
}
.pz-tier-prices *, .pz-tier-prices *::before, .pz-tier-prices *::after { box-sizing: border-box; }
.pz-tier-prices__caption { margin: 0 0 12px; font-size: 14px; font-weight: 600; line-height: 1.5; }
.pz-tier-prices__options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pz-tier-prices__option {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 15px 12px;
  border: 1px solid var(--pz-price-line);
  border-radius: 4px;
  background: #fff;
  color: inherit;
  text-align: left;
  font: inherit;
  cursor: pointer;
  transition: border-color .2s, background-color .2s, box-shadow .2s, transform .2s;
}
.pz-tier-prices__option[aria-pressed="true"] {
  border-color: var(--pz-price-accent);
  background: #fff7f1;
  box-shadow: inset 0 2px 0 var(--pz-price-accent);
}
.pz-tier-prices__label { font-size: 13px; line-height: 1.45; }
.pz-tier-prices__amount { display: block; font-size: clamp(20px, 1.8vw, 27px); font-weight: 700; line-height: 1.25; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pz-tier-prices__amount small { font-size: 12px; font-weight: 400; }
.pz-tier-prices__option[aria-pressed="true"] .pz-tier-prices__amount { color: #b74700; }
.pz-tier-prices__saving { color: #666; font-size: 12px; line-height: 1.45; }
.pz-tier-prices__order { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--pz-price-line); }
.pz-tier-prices__line { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; font-size: 14px; line-height: 1.5; }
.pz-tier-prices__counter { display: flex; flex: 0 0 auto; border: 1px solid #ddd; border-radius: 4px; background: #fff; overflow: hidden; }
.pz-tier-prices__step { width: 40px; min-height: 44px; padding: 0; border: 0; background: #fff; color: #333; font: inherit; font-size: 22px; cursor: pointer; transition: color .2s, background-color .2s; }
.pz-tier-prices__step:disabled { color: #aaa; cursor: default; }
.pz-tier-prices__quantity { width: 54px; min-width: 0; min-height: 44px; padding: 6px 2px; border: 0; border-radius: 0; background: #fff; color: #333; text-align: center; font: inherit; font-weight: 600; font-variant-numeric: tabular-nums; }
.pz-tier-prices__summary { padding: 15px; border-radius: 4px; background: #faf8f6; }
.pz-tier-prices__summary .pz-tier-prices__line:last-child { margin: 12px 0 0; padding-top: 12px; border-top: 1px solid var(--pz-price-line); }
.pz-tier-prices__total { color: #333; font-size: 22px; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pz-tier-prices__notice { margin: 12px 0 0; color: #666; font-size: 12px; line-height: 1.6; }
.pz-tier-prices__option:focus-visible, .pz-tier-prices__step:focus-visible, .pz-tier-prices__quantity:focus-visible { outline: 2px solid var(--pz-price-accent); outline-offset: -3px; }
.pz-tier-prices__current { font-variant-numeric: tabular-nums; }
.pz-tier-cart-note { margin-top: 6px; color: #666; font-size: 12px; line-height: 1.5; }
.pz-tier-cart-note[data-bulk="true"] { color: #b74700; }
.pz-tier-buy .catalog-detail__price { width: 100%; margin-bottom: 0; }
.pz-tier-buy .catalog-detail__cart .buy_block { display: none !important; }
.pz-tier-prices__pack { display: block; margin-top: 3px; color: #666; font-size: 12px; line-height: 1.5; }
.pz-tier-prices__add { margin-top: 16px; min-height: 48px; transition: background-color .2s, box-shadow .2s, transform .2s; }
.pz-tier-prices__add[disabled] { opacity: .65; cursor: wait; }
.pz-tier-prices__feedback { margin: 12px 0 0; padding: 10px 12px; border-left: 2px solid #fd6300; background: #fff7f1; color: #333; font-size: 13px; line-height: 1.6; }
.pz-tier-prices__feedback a { color: #b74700; text-decoration: underline; text-underline-offset: 3px; }
.pz-tier-prices__feedback[hidden] { display: none; }
.pz-tier-prices__line > div:first-child { min-width: 0; }
.pz-tier-prices__order > .pz-tier-prices__line { flex-wrap: wrap; }
.pz-tier-prices__counter { margin-left: auto; }
.pz-tier-cart-unit { margin: 0 0 5px; color: #666; font-size: 12px; line-height: 1.4; }
.pz-tier-cart-error { margin: 10px 16px; color: #a53600; font-size: 13px; }
.pz-tier-cart .counter { transition: border-color .2s, box-shadow .2s; }
.pz-tier-cart .counter:focus-within { border-color: #fd6300; box-shadow: 0 0 0 2px rgb(253 99 0 / 12%); }
.pz-tier-cart .counter__action { transition: background-color .2s, color .2s; }
.basket.default .to-order[aria-disabled="true"] { opacity: .6; cursor: progress; }
.pz-tier-compact { display: grid; gap: 8px; margin: 12px 0 4px; width: 100%; }
.pz-tier-compact > div { display: grid; grid-template-columns: minmax(0, 1fr) max-content; align-items: baseline; column-gap: 6px; }
.pz-tier-compact span { color: #666; font-size: 12px; line-height: 1.5; font-weight: 400; white-space: nowrap; }
.pz-tier-compact strong { font-size: 14px; line-height: 1.5; font-weight: 600; white-space: nowrap; letter-spacing: -.15px; }
.pz-tier-compact > div:last-child strong { color: #b74700; }
#main .pz-tier-catalog-card .catalog-block__info-price { width: 100%; flex: 0 0 100% !important; min-width: 0; }
.pz-tier-catalog-card .catalog-block__info-price .price { width: 100%; }
.pz-tier-prices__label { white-space: nowrap; }
.pz-tier-cart .counter { width: 132px; height: 44px; }
.pz-tier-cart .counter__action { width: 40px; height: 42px; }
.pz-tier-cart .counter__count-wrapper, .pz-tier-cart .counter__count { height: 42px; line-height: 42px; }
@media (max-width: 479px) {
  #main:has(.pz-tier-prices) h1 { font-size: 27px; line-height: 1.3; word-break: normal; overflow-wrap: normal; }
}
.pz-tier-buy .catalog-detail__countdown:empty { display: none; }
@media (hover: hover) and (pointer: fine) {
  .pz-tier-prices__add:not(:disabled):hover { background-color: #e95b00; box-shadow: 0 5px 14px rgb(253 99 0 / 18%); transform: translateY(-1px); }
  .pz-tier-cart .counter__action:hover { background-color: #fff2e7; }
}
@media (prefers-reduced-motion: reduce) {
  .pz-tier-prices__add, .pz-tier-cart .counter, .pz-tier-cart .counter__action { transition: none; transform: none !important; }
  #main .pz-tier-prices__option, #main .pz-tier-prices__step, #main .pz-tier-prices__add { transition-duration: 0s !important; }
}
@media (hover: hover) and (pointer: fine) {
  .pz-tier-prices__option:hover { border-color: var(--pz-price-accent); background: #fff7f1; transform: translateY(-2px); box-shadow: 0 5px 14px rgb(76 40 15 / 8%); }
  .pz-tier-prices__step:not(:disabled):hover { color: #b74700; background: #fff2e7; }
}
@media (max-width: 374px) {
  .pz-tier-prices__options { gap: 7px; }
  .pz-tier-prices__option { padding: 12px 9px; }
  .pz-tier-prices__amount { font-size: 20px; }
  .pz-tier-prices__label { font-size: 12px; }
  .pz-tier-prices__line { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  .pz-tier-prices__option, .pz-tier-prices__step { transition: none; transform: none !important; }
}

/* Narrow catalog cards: keep each complete price clear of its volume label. */
.pz-tier-compact { container-type: inline-size; }
.pz-tier-compact > div > span, .pz-tier-compact > div > strong { min-width: 0; margin: 0; padding: 0; }
@container (max-width: 190px) {
  .pz-tier-compact > div { grid-template-columns: minmax(0, 1fr); row-gap: 2px; justify-items: start; }
  .pz-tier-compact > div > span { font-size: 11px; }
  .pz-tier-compact > div > strong { font-size: 14px; }
}

#main .pz-tier-catalog-card .catalog-block--bottom-btn { display: flex; flex-direction: column; align-items: stretch; gap: 12px; margin: 0; }
#main .pz-tier-catalog-card .catalog-block--bottom-btn > .line-block__item { flex: 0 0 auto; width: 100%; height: auto !important; min-height: 0; margin: 0; padding: 0; }

/* Product badges use the image corner rather than the image's inner padding. */
#main .catalog-block__item .image-list-wrapper > .sticker { top: 8px; left: 8px; right: auto; bottom: auto; padding: 0; margin: 0; max-width: calc(100% - 16px); flex-direction: column; align-items: flex-start; gap: 4px; transform: none; }
#main .catalog-block__item .image-list-wrapper > .sticker > div { max-width: 100%; margin: 0; }
#main .catalog-block__item .image-list-wrapper > .sticker .sticker__item { margin: 0; max-width: 100%; }
