/* =====================================================================================================================
   Оболочка «Рельефа», 01.12.2026: старые карточки каталога на страницах в оболочке (бренды, одежда, подборки).
   Владелец: «сделай страницы брендов подходящие». Разметку старых шаблонов не меняем, вид — как у карточки «Рельефа»:
   рамка 1 px, текст слева, модель шрифтом навигации, расцветка серым, цена чёрная «от N ₽», без строки «Долями»
   в каждой карточке (Долями — плашкой в карточке товара). Действует только внутри div#main.rf-main оболочки.
   Цвета — значениями, не токенами: --ink и --line у старых стилей свои (rf_scope.py держит их только в .rf-scope).
   ===================================================================================================================== */
.rf-main .items_card { gap: 8px; padding-bottom: 14px; border: 0; border-radius: 16px; box-shadow: inset 0 0 0 1px rgba(13, 13, 13, .12); transition: box-shadow .15s ease; }
@media (hover: hover) { .rf-main .items_card:hover { box-shadow: inset 0 0 0 1.5px #0D0D0D; } }
.rf-main .items_card img { border-radius: 16px 16px 0 0; }
.rf-main .items_card .items_card_description { align-items: flex-start; gap: 3px; padding: 8px 14px 0; text-align: left; }
.rf-main .items_card .items_card_description > div { color: #0D0D0D; font-size: inherit; min-height: 0; }
.rf-main .items_card .items_card_description > .card_model { font: 700 15px/1.25 "Unbounded", "Arial Black", system-ui, sans-serif; letter-spacing: -.01em; color: #0D0D0D; }
.rf-main .items_card .items_card_description > .card_colorway { font: 500 13px/1.3 "Onest", system-ui, sans-serif; color: #5C5C5C; }
.rf-main .items_card .items_card_description > .card_price { margin-top: 6px; font: 800 17px/1.2 "Onest", system-ui, sans-serif; color: #0D0D0D; text-transform: lowercase; }   /* «От N ₽» → «от N ₽», как во всём «Рельефе» */
.rf-main .items_card .items_card_description > .card_usecase { font: 600 12px/1.3 "Onest", system-ui, sans-serif; color: #5C5C5C; }
/* «Долями»: логотип сервиса и «4 платежа от N ₽» одной строкой, серым (01.12 вечер: «иконку долями на каждой карточке») */
.rf-main .items_card .items_card_description > .card_split { display: flex; align-items: center; gap: 6px; margin-top: 4px; font: 500 12px/1.2 "Onest", system-ui, sans-serif; color: #5C5C5C; }
.rf-main .items_card .card_split .mtf-dolyame { --dl-h: 9px; color: #0D0D0D; }
.rf-main .items_card .card_split_badge { display: none; }
.rf-main .items_card .card-swatches { padding: 6px 14px 0; }
.rf-main .items_card .card-swatch { border-radius: 12px; }
@media (hover: hover) { .rf-main .items_card .card-swatch:hover { border-color: #0D0D0D; box-shadow: none; } .rf-main .items_card .card-swatch--more:hover { color: #0D0D0D; } }
@media (max-width: 599px) {
  .rf-main .items_card .items_card_description { padding: 8px 10px 0; }
  .rf-main .items_card .items_card_description > .card_model { font-size: 13px; }
  .rf-main .items_card .items_card_description > .card_price { font-size: 15px; }
}

/* 01.12.2026, владелец: в карточках каталога без расцветки, миниатюры расцветок крупнее */
/* расцветка у всех на одном уровне: модель под две строки, расцветка одной строкой; цена прижата вниз */
.rf-main .items_card .items_card_description > .card_model { min-height: 2.5em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rf-main .items_card .items_card_description > .card_colorway { display: block; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rf-main .items_card .items_card_description > .card_price { margin-top: auto; padding-top: 6px; }
.rf-main .items_card .card-swatch { width: 60px; height: 60px; }   /* крупнее (01.12 вечер) */
@media (max-width: 599px) { .rf-main .items_card .card-swatch { width: 46px; height: 46px; } }

/* =====================================================================================================================
   Форма заказа /order-form/ в дизайне «Рельефа» (01.12.2026, владелец: «order form также измени под наш дизайн»).
   Только вид поверх встроенных стилей page-order-form.php: поля, id и скрипты не трогаем — по форме оплативший
   оформляет доставку и выпускается накладная СДЭК. Цвета: чёрный, белый, оранжевый.
   ===================================================================================================================== */
.rf-main .tf-page { padding: 24px 16px 80px; background: #fff; color: #0D0D0D; font-family: "Onest", system-ui, -apple-system, sans-serif; }
.rf-main .tf-card { max-width: 560px; border-radius: 24px; box-shadow: inset 0 0 0 1px rgba(13, 13, 13, .12); animation: none; }
.rf-main .tf-card-head { padding: 28px 28px 20px; border-bottom: 1px solid rgba(13, 13, 13, .10); }
.rf-main .tf-card-head .label { padding: 5px 10px; border-radius: 999px; background: #0D0D0D; font: 700 11px/1 "Unbounded", system-ui, sans-serif; letter-spacing: .04em; }
.rf-main .tf-card-head h1 { margin-bottom: 8px; font: 800 26px/1.1 "Unbounded", "Arial Black", system-ui, sans-serif; letter-spacing: -.02em; color: #0D0D0D; }
.rf-main .tf-card-head p { font-size: 15px; line-height: 1.5; color: #5C5C5C; }
.rf-main .tf-card-body { padding: 24px 28px 28px; }
.rf-main .tf-label { font: 700 14px/1.3 "Onest", system-ui, sans-serif; color: #0D0D0D; }
.rf-main .tf-label .req { color: #F15A29; }
.rf-main .tf-input, .rf-main .tf-textarea { min-height: 52px; padding: 13px 14px; border: 1.5px solid rgba(17, 17, 17, .45); border-radius: 14px; background: #fff;
  font: 400 17px/1.3 "Onest", system-ui, sans-serif; color: #0D0D0D; }
.rf-main .tf-input:focus, .rf-main .tf-textarea:focus { border-color: #F15A29; background: #fff; box-shadow: none; outline: 2px solid #F15A29; outline-offset: 1px; }
.rf-main .tf-input::placeholder, .rf-main .tf-textarea::placeholder { color: #8D877C; }
.rf-main .tf-input.err { border-color: #F15A29; background: rgba(241, 90, 41, .06); }
.rf-main .tf-hint { font-size: 13px; line-height: 1.4; color: #5C5C5C; }
.rf-main .tf-divider { background: rgba(13, 13, 13, .10); }
.rf-main .tf-qty-opt span { display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 0; border: 1.5px solid rgba(17, 17, 17, .45); border-radius: 14px;
  background: #fff; font: 700 17px/1 "Unbounded", system-ui, sans-serif; color: #0D0D0D; }
.rf-main .tf-qty-opt input:checked + span { border-color: #0D0D0D; background: #0D0D0D; color: #fff; box-shadow: none; }   /* как выбранный размер */
.rf-main .tf-ship-opt { padding: 14px; border: 1.5px solid rgba(17, 17, 17, .45); border-radius: 14px; background: #fff; }
.rf-main .tf-ship-opt.sel { border-color: #F15A29; background: rgba(241, 90, 41, .10); box-shadow: inset 0 0 0 1px #F15A29; }
.rf-main .tf-ship-title { font: 700 15px/1.3 "Onest", system-ui, sans-serif; color: #0D0D0D; }
.rf-main .tf-ship-sub { font-size: 13px; color: #5C5C5C; }
.rf-main .tf-ship-price { font: 800 16px/1.2 "Onest", system-ui, sans-serif; color: #0D0D0D; }
.rf-main .tf-pvz-map, .rf-main .tf-pvz-list { border: 1.5px solid rgba(13, 13, 13, .14); border-radius: 14px; }
.rf-main .tf-pvz-item.sel { background: rgba(241, 90, 41, .10); box-shadow: inset 3px 0 0 #F15A29; }
.rf-main .tf-note { border-radius: 14px; background: rgba(241, 90, 41, .10); color: #0D0D0D; font-size: 13.5px; }
.rf-main .tf-consent-text { font-size: 13px; color: #5C5C5C; }
.rf-main .tf-consent-text a { color: #0D0D0D; text-decoration: underline; text-underline-offset: 3px; }
.rf-main .tf-btn { min-height: 56px; padding: 0 24px; border-radius: 14px; background: #F15A29; box-shadow: none; font: 700 19px/1 "Onest", system-ui, sans-serif; letter-spacing: -.01em; }
@media (hover: hover) { .rf-main .tf-btn:hover { background: #D9481B; box-shadow: none; transform: none; } }
.rf-main .tf-btn:disabled { background: rgba(13, 13, 13, .2); }
.rf-main .tf-success h2, .rf-main .tf-success .tf-done h2 { font: 800 22px/1.15 "Unbounded", system-ui, sans-serif; letter-spacing: -.02em; color: #0D0D0D; }
.rf-main .tf-success p, .rf-main .tf-success .tf-done__sub { color: #5C5C5C; }
.rf-main .tf-follow { border-radius: 16px; background: rgba(241, 90, 41, .10); }
.rf-main .tf-follow__t, .rf-main .tf-recap__title { font: 700 12px/1.2 "Unbounded", system-ui, sans-serif; letter-spacing: .04em; color: #0D0D0D; }
.rf-main .tf-follow__num { font: 800 20px/1.2 "Onest", system-ui, sans-serif; color: #0D0D0D; }
.rf-main .tf-recap { border: 1px solid rgba(13, 13, 13, .12); border-radius: 16px; background: #fff; }
.rf-main .tf-next li::before { background: #0D0D0D; }
.rf-main .tf-done__help a, .rf-main .tf-recap__foot a { color: #0D0D0D; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 600px) {
  .rf-main .tf-page { padding: 12px 12px 48px; }
  .rf-main .tf-card { border-radius: 20px; }
  .rf-main .tf-card-head { padding: 20px 16px 16px; }
  .rf-main .tf-card-head h1 { font-size: 22px; }
  .rf-main .tf-card-body { padding: 18px 16px 22px; }
}
