/* Промокод на тюнинг (tbpromo). Цвета — как у шапки v2 (tbhome.css: --hp-accent, --hp-ink). */
.tbpr-badge{display:inline-block;margin-left:.35em;padding:.1em .45em;border-radius:4px;background:#C0392B;color:#fff;font:700 11px/1.35 Roboto,Arial,sans-serif;letter-spacing:.02em;vertical-align:.15em;white-space:nowrap}
.hp-tile__title .tbpr-badge{font-size:13px;vertical-align:.3em}

.tbpr-code{display:inline-flex;align-items:stretch;margin:0;padding:0;border:1.5px dashed #C0392B;border-radius:6px;background:#fff;color:#1D2126;font:inherit;cursor:pointer;overflow:hidden;transition:transform .16s cubic-bezier(.23,1,.32,1)}
.tbpr-code b{padding:4px 10px;font:700 15px/1.3 Roboto,Arial,sans-serif;letter-spacing:.06em}
.tbpr-code i{padding:4px 10px;background:#C0392B;color:#fff;font:500 13px/1.5 Roboto,Arial,sans-serif;font-style:normal}
.tbpr-code:active{transform:scale(.97)}
.tbpr-code.is-done i{background:#2E7D32}
@media (hover:hover){.tbpr-code:hover i{background:#9E2F23}}

.tbpr-bar{background:#1D2126;color:#fff}
.tbpr-bar__in{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:6px 14px;padding-top:8px;padding-bottom:8px;position:relative;padding-right:36px;font:400 14px/1.4 Roboto,Arial,sans-serif}
.tbpr-bar__t b{color:#fff;font-weight:700}
.tbpr-bar__c{color:#C9CED4}
.tbpr-bar .tbpr-code{border-color:#fff;background:transparent;color:#fff}
.tbpr-bar__x{position:absolute;right:6px;top:50%;transform:translateY(-50%);width:28px;height:28px;border:0;background:none;color:#C9CED4;font-size:22px;line-height:1;cursor:pointer}
.tbpr-bar__x:hover{color:#fff}
.tbpr-bar.is-hidden{display:none}

.tbpr-box{margin:10px 0 16px;padding:12px 14px;border:1px solid #F1C9C4;border-radius:8px;background:#FBECEA;max-width:520px}
.tbpr-box__row{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px}
.tbpr-box__tag{padding:2px 8px;border-radius:4px;background:#C0392B;color:#fff;font:700 14px/1.4 Roboto,Arial,sans-serif}
.tbpr-box__price{font:400 15px/1.3 Roboto,Arial,sans-serif;color:#1D2126}
.tbpr-box__price b{font-size:22px;font-weight:700;font-variant-numeric:tabular-nums}
.tbpr-box__note{margin:8px 0 0;font:400 13px/1.45 Roboto,Arial,sans-serif;color:#5E6670}

.tbpr-strip{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;margin:0 0 18px;padding:10px 14px;border-radius:8px;background:#FBECEA;border:1px solid #F1C9C4;font:400 15px/1.4 Roboto,Arial,sans-serif;color:#1D2126}
.tbpr-strip__t b{color:#C0392B}
.tbpr-strip__c{color:#5E6670;font-size:14px}

.products__item-mark.tbpr-mark{background:#C0392B;color:#fff}
.tbpr-cp{display:block;margin-top:2px;font:500 13px/1.3 Roboto,Arial,sans-serif;color:#C0392B;font-variant-numeric:tabular-nums}

.tbpr-hint{margin:0 0 12px;padding:10px 12px;border-radius:8px;background:#FBECEA;border:1px solid #F1C9C4;font:400 14px/1.45 Roboto,Arial,sans-serif;color:#1D2126;max-width:440px}
.tbpr-hint b{letter-spacing:.04em}
.tbpr-hint.is-ok{background:#EAF5EC;border-color:#BFE0C5}
.tbpr-hint.is-warn{background:#FFF8E5;border-color:#F0DFAE}
.tbpr-apply{display:inline-block;margin:6px 0 0;padding:6px 12px;border:0;border-radius:6px;background:#C0392B;color:#fff;font:500 14px/1.3 Roboto,Arial,sans-serif;cursor:pointer;transition:transform .16s cubic-bezier(.23,1,.32,1)}
.tbpr-apply:active{transform:scale(.97)}
@media (hover:hover){.tbpr-apply:hover{background:#9E2F23}}
#simplecheckout_cart .tbpr-hint{max-width:none}

@media (max-width:575px){
  .tbpr-bar__in{justify-content:flex-start;font-size:13px}
  .tbpr-bar__c{flex-basis:100%}
  .tbpr-box__price b{font-size:20px}
}
