/* 18.10.2026, слово владельца: сохранённые корзины — страница кабинета «Saved carts» (v4_saved.manage), окно «добавить или заменить»,
   кнопка «Save cart» в корзине (v4-korzina.js). Цвета и скругления — как у корзины и кабинета V4 */
.v4sc-main { font-family: Inter, system-ui, sans-serif; }
.v4sc-list { display: flex; flex-direction: column; gap: 16px; margin-top: 18px; }
.v4sc-card { padding: 20px 22px; border: 1px solid #E3E7E5; border-radius: 20px; background: #fff; box-shadow: 0 2px 10px rgba(29, 43, 36, .04); transition: opacity .2s; }
.v4sc-card.v4sc-busy { opacity: .55; pointer-events: none; }
.v4sc-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px 20px; }
.v4sc-titleBox { min-width: 0; flex: 1 1 260px; }
.v4sc-name { margin: 0 0 4px !important; font: 700 19px/1.3 Inter, system-ui, sans-serif !important; color: #1D2B24 !important; overflow-wrap: anywhere; }
.v4sc-meta { margin: 0; color: #6E746F; font-size: 13.5px; }
.v4sc-meta .ty-price, .v4sc-meta .ty-price-num { color: #0F5C45; font-weight: 600; }
.v4sc-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.v4sc-restore, .v4sc-mAdd, .v4sc-mRep, .v4sc-renForm button { height: 42px; padding: 0 22px; border: 0; border-radius: 999px; background: #008556; color: #fff;
  font: 600 14.5px/1 Inter, system-ui, sans-serif; cursor: pointer; }
.v4sc-restore:hover, .v4sc-mAdd:hover, .v4sc-renForm button:hover { background: #0F5C45; }
.v4sc-mRep { background: #fff; color: #0F5C45; box-shadow: inset 0 0 0 1.5px #0F5C45; }
.v4sc-mRep:hover { background: #E8F3EE; }
.v4sc-link { padding: 4px 2px; border: 0; background: none; color: #0F5C45; font: 500 14px/1.2 Inter, system-ui, sans-serif; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.v4sc-del { color: #9A4A3A; }
.v4sc-items { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid #EEF1EF; list-style: none; }
.v4sc-items li { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 0 1 300px; margin: 0; }
.v4sc-img { flex: 0 0 auto; display: block; width: 48px; height: 48px; border-radius: 10px; overflow: hidden; background: #F4F6F5; }
.v4sc-img img { display: block; width: 48px !important; height: 48px !important; object-fit: cover; }
.v4sc-pn { min-width: 0; font-size: 14px; line-height: 1.35; }
.v4sc-pn a { color: #1D2B24; text-decoration: none; font-weight: 600; }
.v4sc-pn a:hover { color: #0F5C45; }
.v4sc-pn small { display: block; color: #6E746F; font-size: 12.5px; }
.v4sc-q { flex: 0 0 auto; color: #6E746F; font-size: 13.5px; }
.v4sc-empty { margin: 18px 0; padding: 26px; border: 1px dashed #D8D3C4; border-radius: 18px; background: #FBFAF6; color: #4A524D; font-size: 15px; }
.v4sc-renForm { display: flex; gap: 8px; margin: 0 0 6px; }
.v4sc-renForm input, .v4k-scForm input { flex: 1 1 auto; min-width: 0; height: 42px; padding: 0 14px; border: 1px solid #D8D3C4; border-radius: 12px; font: 500 15px Inter, system-ui, sans-serif; box-sizing: border-box; }
.v4sc-renForm input:focus, .v4k-scForm input:focus { outline: none; border-color: #0F5C45; box-shadow: 0 0 0 3px rgba(15, 92, 69, .12); }
.v4sc-modalBg { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(20, 30, 25, .45); }
.v4sc-modal { width: 100%; max-width: 440px; padding: 26px 24px 22px; border-radius: 22px; background: #fff; box-shadow: 0 20px 60px rgba(0, 0, 0, .25); font-family: Inter, system-ui, sans-serif; }
.v4sc-modal h3 { margin: 0 0 8px; font: 700 20px/1.3 Inter, system-ui, sans-serif; color: #1D2B24; }
.v4sc-modal p { margin: 0 0 20px; color: #4A524D; font-size: 15px; line-height: 1.5; }
.v4sc-mBtns { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
@media (max-width: 480px) { .v4sc-mBtns > button:not(.v4sc-link) { flex: 1 1 100%; } .v4sc-mBtns .v4sc-link { margin: 4px auto 0; } .v4sc-card { padding: 16px; } }
/* корзина: «Save cart» под «Continue shopping» в карточке итогов */
.v4k-scBox { margin: 10px 0 0; text-align: center; }
.v4k-scBtn { display: inline-flex; align-items: center; gap: 8px; padding: 6px 4px; border: 0; background: none; color: #0F5C45; font: 600 14px/1.2 Inter, system-ui, sans-serif; cursor: pointer; }
.v4k-scBtn:hover { text-decoration: underline; text-underline-offset: 3px; }
.v4k-scBtn svg { width: 18px; height: 18px; }
.v4k-scForm { display: flex; gap: 8px; margin: 8px 0 0; }
.v4k-scForm button { height: 42px; padding: 0 18px; border: 0; border-radius: 999px; background: #008556; color: #fff; font: 600 14px/1 Inter, system-ui, sans-serif; cursor: pointer; }
.v4k-scMsg { margin: 8px 0 0; color: #0F5C45; font-size: 13.5px; line-height: 1.4; }
.v4k-scMsg a { color: #0F5C45; font-weight: 600; }
