

/* Start:/local/components/mm/rack.calculator/templates/.default/style.css?179440435129975*/
/* Калькулятор стеллажей. Зелёная гамма — та же, что у плашки «до 15 % для юрлиц»
   в карточке товара (.b2b-v2): бейдж #4CAF10, фон #F1F9EC, рамка #D5ECC6. */
.mm-rc {
	--mm-rc-accent: #4caf10;
	--mm-rc-accent-soft: #f1f9ec;
	--mm-rc-accent-line: #d5ecc6;
	--mm-rc-danger: #e53935;
	--mm-rc-line: #e6e6e6;
	--mm-rc-muted: #7a7a7a;
	--mm-rc-bg: #f5f5f5;
	--mm-rc-radius: 8px;
	font-size: 14px;
	color: #333;
}
.mm-rc *, .mm-rc *:before, .mm-rc *:after, .mm-rc-modal *, .mm-rc-modal *:before, .mm-rc-modal *:after { box-sizing: border-box; }
.mm-rc [hidden] { display: none !important; }
.mm-rc button { font-family: inherit; }
/* --- шапка: описание + фото, справа список калькуляторов --- */
.mm-rc__head { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 16px; align-items: start; margin-bottom: 24px; }
.mm-rc__about { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: center; background: #fff; border: 1px solid var(--mm-rc-line); border-radius: var(--mm-rc-radius); padding: 18px 20px 22px; }
.mm-rc__about-text { color: #555; font-size: 13px; line-height: 1.55; }
.mm-rc__about-text p { margin: 0 0 10px; }
.mm-rc__about-text p:last-child { margin-bottom: 0; }
.mm-rc__about-photos { display: flex; gap: 12px; align-items: center; }
/* contain, а не cover: фото стеллажей бывают и горизонтальными (низкие широкие модели),
   cover их обрезал по бокам и оставлял неузнаваемый фрагмент */
.mm-rc__about-photos img { display: block; width: 104px; height: 140px; object-fit: contain; object-position: center; background: #fff; }
.mm-rc__lead { margin: 0 0 12px; font-size: 15px; color: #333; }
.mm-rc__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.mm-rc__chips li { margin: 0; padding: 6px 10px; border-radius: 6px; background: var(--mm-rc-accent-soft); border: 1px solid var(--mm-rc-accent-line); font-size: 13px; color: #4a6b3a; line-height: 1.3; }
.mm-rc ul.mm-rc__chips { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.mm-rc ul.mm-rc__chips > li { list-style: none !important; margin: 0 !important; padding: 6px 10px !important; background-image: none !important; }
.mm-rc ul.mm-rc__chips > li:before, .mm-rc ul.mm-rc__chips > li::before, .mm-rc ul.mm-rc__chips > li:after, .mm-rc ul.mm-rc__chips > li::after { content: none !important; display: none !important; }
.mm-rc__chips b { color: #222; font-weight: 600; white-space: nowrap; }
/* строка комплектации — тем же кеглем, что и вводный абзац, отделена линией от плашек */
/* селектор с классом родителя: иначе «.mm-rc__about-text p» выше по специфичности
   и обнуляет margin-top — отступ от плашек пропадает */
.mm-rc__about-text .mm-rc__kit { margin: 20px 0 0; padding-top: 14px; border-top: 1px solid var(--mm-rc-accent-line); font-size: 15px; line-height: 1.5; color: #333; }
/* комплект, цвет, габарит — под плашками размеров */
.mm-rc__about-text .mm-rc__facts { margin: 20px 0 0; padding-top: 14px; border-top: 1px solid var(--mm-rc-accent-line); font-size: 14px; line-height: 1.5; color: #333; }
.mm-rc__facts > div { display: flex; gap: 12px; }
.mm-rc__facts > div + div { margin-top: 6px; }
.mm-rc__facts dt { flex: 0 0 104px; margin: 0; font-weight: 400; color: var(--mm-rc-muted); }
.mm-rc__facts dd { flex: 1 1 auto; margin: 0; }
/* как пользоваться — над рядами */
.mm-rc__steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px 24px; margin: 0 0 24px; font-size: 13px; line-height: 1.5; color: #555; }
.mm-rc__step { display: flex; gap: 10px; align-items: flex-start; }
.mm-rc__step p { margin: 0; padding: 0; font-size: 13px; line-height: 1.5; color: #555; }
.mm-rc__step b { color: #222; }
.mm-rc__step-n { flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%; background: var(--mm-rc-accent-soft); border: 1px solid var(--mm-rc-accent-line); color: #3b7d0d; font-size: 12px; font-weight: 700; line-height: 20px; text-align: center; }
@media (max-width: 600px) { .mm-rc__facts > div { display: block; } .mm-rc__facts dt { font-size: 12px; } }
/* стоимость секции в форме и в карточке */
.mm-rc__sec-sum { margin-top: 4px; padding: 8px 10px; border-radius: 6px; background: var(--mm-rc-accent-soft); border: 1px solid var(--mm-rc-accent-line); font-size: 13px; color: #4a6b3a; }
.mm-rc__sec-sum b { color: #222; font-size: 15px; white-space: nowrap; }
.mm-rc__sec-sum.is-empty { color: var(--mm-rc-muted); background: none; border: 1px dashed var(--mm-rc-line); text-align: center; font-size: 12px; }
/* SEO-текст под калькулятором, свёрнут */
.mm-rc__seo { margin-top: 20px; color: #666; font-size: 13px; line-height: 1.55; }
.mm-rc__seo summary { cursor: pointer; color: var(--mm-rc-muted); font-size: 13px; }
.mm-rc__seo p { margin: 10px 0 0; }
.mm-rc__how { margin: 0; }
.mm-rc__how summary { display: block; list-style: none; cursor: pointer; margin: 14px 0 8px; color: #333; font-weight: 600; font-size: 14px; }
.mm-rc__how summary::-webkit-details-marker { display: none; }
.mm-rc__nav { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--mm-rc-line); border-radius: var(--mm-rc-radius); padding: 8px; }
.mm-rc__nav-item { display: block; padding: 10px 12px; border-radius: 6px; color: #333; font-size: 14px; line-height: 1.3; text-decoration: none; border-bottom: 1px solid var(--mm-rc-line); }
.mm-rc__nav-item:last-child { border-bottom: 0; }
.mm-rc__nav-item:hover { color: var(--mm-rc-accent); }
.mm-rc__nav-item.is-active { background: var(--mm-rc-accent); color: #fff; font-weight: 600; border-bottom-color: transparent; }
.mm-rc__admin { border: 1px dashed #e0a800; background: #fff8e1; padding: 12px 16px; margin-bottom: 20px; font-size: 13px; border-radius: var(--mm-rc-radius); }
.mm-rc__admin ul { margin: 6px 0 0 18px; }

/* --- кнопки --- */
.mm-rc__btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 30px; padding: 5px 12px; border: 1px solid var(--mm-rc-accent); border-radius: 6px;
	background: #fff; color: var(--mm-rc-accent); font-size: 13px; font-weight: 600; line-height: 1.2;
	cursor: pointer; transition: background .15s, color .15s, opacity .15s; text-decoration: none;
}
.mm-rc__btn:hover { background: var(--mm-rc-accent); color: #fff; }
.mm-rc__btn--fill { background: var(--mm-rc-accent); color: #fff; }
.mm-rc__btn--fill:hover { opacity: .9; }
.mm-rc__btn--sm { min-height: 32px; padding: 3px 10px; font-size: 12px; text-transform: uppercase; }
.mm-rc__btn--lg { min-height: 46px; padding: 10px 36px; font-size: 16px; }
.mm-rc__btn--danger { border-color: var(--mm-rc-danger); color: var(--mm-rc-danger); background: #fdecea; margin-left: auto; }
.mm-rc__btn--danger:hover { background: var(--mm-rc-danger); color: #fff; }
.mm-rc__btn:disabled { opacity: .5; cursor: wait; }
.mm-rc__link { background: none; border: 0; padding: 10px 0; color: var(--mm-rc-muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: 13px; }
.mm-rc__plus, .mm-rc-modal .mm-rc__plus { display: block; flex: 0 0 auto; width: 44px; height: 44px; margin: 0; padding: 0; border: 0; background: none; overflow: visible; }
.mm-rc__plus--sm, .mm-rc-modal .mm-rc__plus--sm { width: 20px; height: 20px; }
.mm-rc__plus-c { fill: var(--mm-rc-accent); }
.mm-rc__plus-x { fill: #fff; }
.mm-rc__qty svg { display: block; }

/* --- ряд: секции в одну линию, прокрутка внутри ряда --- */
.mm-rc__row { margin-bottom: 18px; }
.mm-rc__row-head { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.mm-rc__row-title { color: var(--mm-rc-accent); text-transform: uppercase; font-size: 16px; }
/* Родная полоса скрыта: на телефонах её не видно, вместо неё своя (.mm-rc__bar) — толстая, всегда видна, тянется пальцем */
.mm-rc__track { overflow-x: auto; overflow-y: hidden; padding: 2px 2px 6px; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; scrollbar-width: none; touch-action: pan-x pan-y; }
.mm-rc__track::-webkit-scrollbar { display: none; }
.mm-rc__bar { display: none; position: relative; height: 14px; margin-top: 6px; border-radius: 7px; background: #e9e9e9; cursor: pointer; touch-action: none; -webkit-user-select: none; user-select: none; }
.mm-rc__bar.is-active { display: block; }
.mm-rc__thumb { position: absolute; top: 0; left: 0; height: 100%; min-width: 40px; border-radius: 7px; background: var(--mm-rc-accent); opacity: .75; cursor: grab; transition: opacity .15s; }
.mm-rc__bar:hover .mm-rc__thumb, .mm-rc__bar:active .mm-rc__thumb { opacity: 1; }
.mm-rc__bar:active .mm-rc__thumb { cursor: grabbing; }
.mm-rc__secs { display: flex; flex-wrap: nowrap; gap: 14px; align-items: stretch; width: max-content; min-width: 100%; }

/* --- секция --- */
.mm-rc__sec { flex: 0 0 220px; width: 220px; background: #fff; border: 1px solid var(--mm-rc-line); border-radius: var(--mm-rc-radius); padding: 12px; display: flex; flex-direction: column; gap: 8px; box-shadow: 0 1px 3px rgba(0,0,0,.04); }
.mm-rc__sec-head { display: flex; justify-content: space-between; align-items: center; min-height: 34px; margin-bottom: 4px; }
.mm-rc__num { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 34px; padding: 0 6px; border: 1px solid var(--mm-rc-accent); border-radius: 6px; color: var(--mm-rc-accent); font-weight: 600; font-size: 18px; }
.mm-rc__icon { display: inline-flex; align-items: center; justify-content: center; min-width: 32px; min-height: 32px; background: none; border: 0; border-radius: 6px; color: var(--mm-rc-muted); cursor: pointer; padding: 4px; line-height: 0; }
.mm-rc__icon:hover { color: var(--mm-rc-danger); }
/* удалить секцию — заметная красная корзинка */
.mm-rc__sec-head .mm-rc__icon { width: 34px; height: 34px; color: var(--mm-rc-danger); background: #fdecea; border-radius: 8px; }
.mm-rc__sec-head .mm-rc__icon:hover { background: var(--mm-rc-danger); color: #fff; }
.mm-rc__field { display: flex; flex-direction: column; gap: 3px; font-size: 12px; color: var(--mm-rc-muted); margin: 0; font-weight: normal; }
.mm-rc__field select { width: 100%; height: 34px; border: 1px solid #d0d0d0; border-radius: 5px; padding: 0 8px; font-size: 14px; color: #222; background: #fff; }
.mm-rc__field select:disabled { background: var(--mm-rc-bg); color: #999; }
.mm-rc__field select:invalid { color: #8a8a8a; }
.mm-rc__field select option { color: #222; }
.mm-rc__field.is-error { color: var(--mm-rc-danger); }
.mm-rc__field.is-error select { border-color: var(--mm-rc-danger); box-shadow: 0 0 0 1px var(--mm-rc-danger); }
.mm-rc__field span i { font-style: normal; color: var(--mm-rc-muted); font-size: 11px; }
.mm-rc__field.is-locked select:disabled { color: #222; background: var(--mm-rc-bg); }
.mm-rc__load { font-size: 12px; color: var(--mm-rc-muted); }
.mm-rc__switch { position: relative; display: flex; align-items: flex-start; gap: 8px; margin: 2px 0 0; font-size: 13px; font-weight: normal; color: #444; cursor: pointer; }
.mm-rc__switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.mm-rc__switch i { flex: 0 0 32px; height: 18px; border-radius: 9px; background: #d5d5d5; position: relative; transition: background .15s; margin-top: 1px; }
.mm-rc__switch i:after { content: ''; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: left .15s; }
.mm-rc__switch input:checked + i { background: var(--mm-rc-accent); }
.mm-rc__switch input:checked + i:after { left: 16px; }
.mm-rc__switch input:focus-visible + i { outline: 2px solid var(--mm-rc-accent); outline-offset: 2px; }
.mm-rc__switch small { display: block; font-size: 11px; color: var(--mm-rc-muted); }
.mm-rc__switch.is-error span { color: var(--mm-rc-danger); }
.mm-rc__switch.is-error i { box-shadow: 0 0 0 2px var(--mm-rc-danger); }
.mm-rc__alert { background: #fff7e6; color: var(--mm-rc-danger); font-size: 12px; padding: 10px; border-radius: 5px; line-height: 1.35; }
.mm-rc__apply { margin-top: auto; width: 100%; min-height: 36px; font-size: 14px; }
.mm-rc__specs { list-style: none; margin: 0; padding: 0; font-size: 13px; line-height: 1.7; }
.mm-rc__specs li { padding: 0; margin: 0; }
.mm-rc__specs li:before { display: none; }
.mm-rc__photo { display: flex; align-items: center; justify-content: center; height: 170px; margin: 4px 0; }
.mm-rc__photo img { max-width: 100%; max-height: 170px; object-fit: contain; }
.mm-rc__svg { width: 100%; height: 160px; }
.mm-rc__post { fill: #8a8f96; }
.mm-rc__post.is-shared { fill: #c9ccd1; }
.mm-rc__shelf { fill: #b0b5bc; }
.mm-rc__sec .mm-rc__btn { width: 100%; font-weight: 500; }
.mm-rc__sec .mm-rc__photo { margin: 6px 0 2px; }

.mm-rc__add-sec { flex-direction: column; align-items: center; justify-content: center; min-height: 380px; cursor: pointer; color: var(--mm-rc-muted); font-size: 12px; font-weight: normal; gap: 12px; text-align: center; }
.mm-rc__add-sec:hover { border-color: var(--mm-rc-accent); color: #333; }
/* как стоит секция: отдельно или вплотную к соседней (общие стойки) */
.mm-rc__mode { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--mm-rc-line); border-radius: 8px; overflow: hidden; background: var(--mm-rc-bg); }
.mm-rc__mode button { appearance: none; -webkit-appearance: none; border: 0; background: none; margin: 0; padding: 7px 4px 6px; min-height: 44px; font: inherit; font-size: 13px; font-weight: 600; line-height: 1.2; color: #555; cursor: pointer; text-align: center; }
.mm-rc__mode button small { display: block; margin-top: 2px; font-size: 11px; font-weight: 400; color: var(--mm-rc-muted); }
.mm-rc__mode button + button { border-left: 1px solid var(--mm-rc-line); }
.mm-rc__mode button.is-on { background: var(--mm-rc-accent); color: #fff; cursor: default; }
.mm-rc__mode button.is-on small { color: rgba(255,255,255,.85); }
.mm-rc__mode button:focus-visible { outline: 2px solid var(--mm-rc-accent); outline-offset: -3px; }
.mm-rc__mode.is-error { border-color: var(--mm-rc-danger); }
.mm-rc__mode-hint { margin: -2px 0 0; font-size: 11px; line-height: 1.35; color: var(--mm-rc-muted); }
.mm-rc__mode-hint.is-error { color: var(--mm-rc-danger); }
/* пристроенная секция визуально сцеплена с соседней: общий шов вместо зазора */
.mm-rc__sec.is-host { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.mm-rc__sec.is-attached { margin-left: -14px; border-top-left-radius: 0; border-bottom-left-radius: 0; border-left: 3px solid var(--mm-rc-accent); }
/* карточка добавления с двумя действиями */
.mm-rc__add2 { flex-direction: column; align-items: stretch; justify-content: center; gap: 10px; min-height: 380px; border-style: dashed; box-shadow: none; }
.mm-rc__add2 button { appearance: none; -webkit-appearance: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; margin: 0; padding: 16px 10px; border: 1px solid var(--mm-rc-line); border-radius: 8px; background: #fff; font: inherit; font-size: 13px; font-weight: 600; color: #333; cursor: pointer; text-align: center; }
.mm-rc__add2 button small { display: block; font-size: 11px; font-weight: 400; color: var(--mm-rc-muted); line-height: 1.35; }
.mm-rc__add2 button:hover { border-color: var(--mm-rc-accent); }
.mm-rc__add2 .mm-rc__add2-main { flex: 1 1 auto; background: var(--mm-rc-accent-soft); border-color: var(--mm-rc-accent-line); }
.mm-rc__add2 .mm-rc__add2-alt { padding: 12px 10px; }
.mm-rc__add-row { width: 100%; min-height: 42px; margin-bottom: 26px; text-transform: uppercase; font-size: 14px; border-radius: var(--mm-rc-radius); }
.mm-rc__add-row:hover .mm-rc__plus-c { fill: #fff; }
.mm-rc__add-row:hover .mm-rc__plus-x { fill: var(--mm-rc-accent); }

/* --- комплектующие --- */
.mm-rc__summary { border-radius: var(--mm-rc-radius); padding: 16px; background: #fff; border: 1px solid var(--mm-rc-line); }
.mm-rc__thead, .mm-rc__tr { display: grid; grid-template-columns: 1fr 110px 70px 130px; gap: 10px; padding: 9px 12px; align-items: center; }
.mm-rc__thead { color: var(--mm-rc-accent); font-weight: 600; border: 1px solid var(--mm-rc-accent); border-radius: 6px; margin-bottom: 10px; }
.mm-rc__thead span:not(:first-child), .mm-rc__tr span:not(:first-child) { text-align: right; }
.mm-rc__thead span:nth-child(3), .mm-rc__tr span:nth-child(3) { text-align: center; }
.mm-rc__tr { border: 1px solid var(--mm-rc-line); border-radius: 6px; margin-bottom: 8px; font-size: 13px; }
.mm-rc__tr:nth-child(even) { background: var(--mm-rc-bg); }
.mm-rc__tr a { color: inherit; }
.mm-rc__empty { padding: 18px 12px; color: var(--mm-rc-muted); text-align: center; border: 1px dashed var(--mm-rc-line); border-radius: 6px; }
/* итог — отдельная строка: «Итого» слева, сумма справа, с отступами от списка и от предупреждения */
.mm-rc__total { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin: 14px 0 18px; padding: 14px 12px 0; border-top: 2px solid var(--mm-rc-accent); }
.mm-rc__total span { font-size: 18px; font-weight: 600; color: #333; }
.mm-rc__total b { font-size: 28px; font-weight: 700; line-height: 1.1; white-space: nowrap; color: var(--mm-rc-accent); }
.mm-rc__notice { background: var(--mm-rc-bg); border-left: 3px solid var(--mm-rc-accent); padding: 10px 14px; font-size: 13px; line-height: 1.45; margin-bottom: 16px; border-radius: 0 6px 6px 0; }
.mm-rc__msg { font-size: 13px; }
.mm-rc__msg:not(:empty) { margin-bottom: 12px; padding: 10px 14px; border-radius: 6px; }
.mm-rc__msg.is-error { background: #fdecea; color: #b71c1c; }
.mm-rc__msg.is-ok { background: #e8f5e9; color: #1b5e20; }
.mm-rc__msg.is-info { background: #fff7e6; color: #8a5a00; }
.mm-rc__msg a { color: inherit; font-weight: 600; }
.mm-rc__actions { display: flex; gap: 18px; justify-content: flex-end; align-items: center; flex-wrap: wrap; }

/* --- аксессуары --- */
.mm-rc__acc { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 20px; padding: 16px; border: 1px solid var(--mm-rc-line); border-radius: var(--mm-rc-radius); background: #fff; }
.mm-rc__acc-text { flex: 1 1 300px; }
.mm-rc__acc-title { display: block; font-size: 16px; margin-bottom: 4px; }
.mm-rc__acc-text p { margin: 0; color: #555; font-size: 13px; line-height: 1.45; }
.mm-rc__acc-thumbs { display: flex; gap: 8px; }
.mm-rc__acc-thumbs img { width: 56px; height: 56px; object-fit: contain; border: 1px solid var(--mm-rc-line); border-radius: 6px; background: #fff; }
.mm-rc__acc-thumbs:empty { display: none; }
.mm-rc__acc-open { flex: 1 1 100%; min-height: 44px; text-transform: uppercase; font-size: 14px; }
.mm-rc__acc-open:hover .mm-rc__plus-c, .mm-rc-modal .mm-rc__acc-add:hover .mm-rc__plus-c { fill: #fff; }
.mm-rc__acc-open:hover .mm-rc__plus-x, .mm-rc-modal .mm-rc__acc-add:hover .mm-rc__plus-x { fill: var(--mm-rc-accent); }

/* --- окно аксессуаров (вставляется в body) --- */
html.mm-rc-lock, html.mm-rc-lock body { overflow: hidden; }
.mm-rc-modal { --mm-rc-accent: #0088cc; --mm-rc-danger: #e53935; --mm-rc-line: #e6e6e6; --mm-rc-muted: #7a7a7a; --mm-rc-bg: #f5f5f5;
	position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 10050; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(0,0,0,.45); font-size: 14px; color: #333; }
.mm-rc-modal.is-open { display: flex; }
.mm-rc-modal__box { position: relative; width: 100%; max-width: 820px; max-height: calc(100vh - 40px); display: flex; flex-direction: column; background: #fff; border-radius: 10px; box-shadow: 0 10px 40px rgba(0,0,0,.25); overflow: hidden; }
.mm-rc-modal__head, .mm-rc__acc-row { display: grid; grid-template-columns: 72px 1fr 110px 184px; gap: 14px; align-items: center; padding: 10px 20px; }
.mm-rc-modal__head { padding-top: 18px; padding-right: 56px; color: var(--mm-rc-accent); font-weight: 600; border-bottom: 1px solid var(--mm-rc-line); }
.mm-rc-modal__head span:nth-child(3) { text-align: right; }
.mm-rc-modal__close { position: absolute; top: 8px; right: 10px; width: 40px; height: 40px; border: 0; background: none; font-size: 30px; line-height: 1; color: var(--mm-rc-muted); cursor: pointer; }
.mm-rc-modal__close:hover { color: #333; }
.mm-rc-modal__list { overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.mm-rc__acc-row { border-bottom: 1px solid var(--mm-rc-line); }
.mm-rc__acc-group { position: sticky; top: 0; z-index: 1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 10px 20px 8px; background: var(--mm-rc-bg); border-bottom: 1px solid var(--mm-rc-line); }
.mm-rc__acc-group b { font-size: 14px; color: #222; }
.mm-rc__acc-group span { font-size: 12px; color: var(--mm-rc-muted); }
.mm-rc__acc-img { width: 72px; height: 72px; display: flex; align-items: center; justify-content: center; }
.mm-rc__acc-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.mm-rc__acc-name { font-size: 14px; line-height: 1.35; }
.mm-rc__acc-price { text-align: right; font-weight: 600; white-space: nowrap; }
 /* ячейка управления всегда одной ширины: [кнопка «Добавить» или счётчик — 140px] [место под корзинку — 36px], поэтому ничего не сдвигается */
.mm-rc__acc-ctl { display: flex; align-items: center; justify-content: flex-end; gap: 4px; }
.mm-rc__acc-main { flex: 0 0 140px; width: 140px; display: flex; }
.mm-rc-modal .mm-rc__acc-add { width: 100%; height: 40px; padding: 0 10px; font-weight: 600; }
.mm-rc__qty { display: flex; width: 100%; align-items: stretch; border: 1px solid var(--mm-rc-accent); border-radius: 6px; overflow: hidden; height: 40px; background: #fff; }
.mm-rc__qty button { flex: 0 0 40px; display: flex; align-items: center; justify-content: center; border: 0; background: #fff; color: var(--mm-rc-accent); cursor: pointer; padding: 0; }
.mm-rc__qty button:hover { background: var(--mm-rc-accent); color: #fff; }
.mm-rc__qty input { flex: 1 1 auto; width: 100%; min-width: 0; height: auto; margin: 0; border: 0; border-left: 1px solid var(--mm-rc-line); border-right: 1px solid var(--mm-rc-line); border-radius: 0; text-align: center; font-size: 15px; padding: 0; background: #fff; color: #222; box-shadow: none; }
.mm-rc-modal .mm-rc__acc-del { flex: 0 0 36px; width: 36px; height: 36px; }
.mm-rc-modal .mm-rc__acc-del:disabled { visibility: hidden; }
.mm-rc__acc-row.is-on { background: #fafafa; }
.mm-rc-modal .mm-rc__icon { display: inline-flex; align-items: center; justify-content: center; background: none; border: 0; border-radius: 6px; color: var(--mm-rc-muted); cursor: pointer; padding: 0; line-height: 0; }
.mm-rc-modal .mm-rc__icon:hover { color: var(--mm-rc-danger); }
.mm-rc-modal__foot { padding: 14px 20px; display: flex; justify-content: center; border-top: 1px solid var(--mm-rc-line); }
.mm-rc-modal__foot .mm-rc__btn { min-width: 200px; min-height: 44px; font-size: 15px; }
.mm-rc-modal .mm-rc__btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 5px 14px; border: 1px solid var(--mm-rc-accent); border-radius: 6px; background: #fff; color: var(--mm-rc-accent); font-size: 13px; cursor: pointer; font-family: inherit; }
.mm-rc-modal .mm-rc__btn:hover, .mm-rc-modal .mm-rc__btn--fill { background: var(--mm-rc-accent); color: #fff; }


.mm-rc__pdf-btn { min-height: 46px; padding: 10px 18px; font-size: 14px; }

/* --- на сенсорных экранах нет наведения: после нажатия кнопка не должна «залипать» в цвете наведения --- */
@media (hover: none) {
	.mm-rc__btn:hover, .mm-rc-modal .mm-rc__btn:hover { background: #fff; color: var(--mm-rc-accent); }
	.mm-rc__btn--fill:hover, .mm-rc-modal .mm-rc__btn--fill:hover { background: var(--mm-rc-accent); color: #fff; opacity: 1; }
	.mm-rc__btn--danger:hover { background: #fdecea; color: var(--mm-rc-danger); }
	.mm-rc__sec-head .mm-rc__icon:hover { background: #fdecea; color: var(--mm-rc-danger); }
	.mm-rc__qty button:hover { background: #fff; color: var(--mm-rc-accent); }
	.mm-rc__add-row:hover .mm-rc__plus-c, .mm-rc__acc-open:hover .mm-rc__plus-c, .mm-rc-modal .mm-rc__acc-add:hover .mm-rc__plus-c { fill: var(--mm-rc-accent); }
	.mm-rc__add-row:hover .mm-rc__plus-x, .mm-rc__acc-open:hover .mm-rc__plus-x, .mm-rc-modal .mm-rc__acc-add:hover .mm-rc__plus-x { fill: #fff; }
	.mm-rc__btn:active, .mm-rc__qty button:active, .mm-rc__icon:active { opacity: .6; }
}

/* --- сенсорные экраны любой ширины: 16px в полях (иначе iOS увеличивает страницу) --- */
@media (pointer: coarse) {
	.mm-rc__field select, .mm-rc__qty input { font-size: 16px; }
}

/* --- шапка по ширине самого калькулятора (в Аспро слева может быть меню, и места меньше, чем ширина окна) --- */
.mm-rc { container-type: inline-size; container-name: mmrc; }
@container mmrc (max-width: 1000px) {
	.mm-rc__about { grid-template-columns: 1fr; }
	.mm-rc__about-photos { justify-content: center; }
}
@container mmrc (max-width: 760px) {
	.mm-rc__head { grid-template-columns: 1fr; }
}

/* --- планшеты --- */
@media (max-width: 1199px) {
	.mm-rc__about { grid-template-columns: 1fr; }
	.mm-rc__about-photos { justify-content: center; }
}
@media (max-width: 991px) {
	.mm-rc__head { grid-template-columns: 1fr; }
	.mm-rc__thead, .mm-rc__tr { grid-template-columns: 1fr 100px 60px 110px; }
	.mm-rc__total b { font-size: 24px; }
}
/* --- телефоны --- */
@media (max-width: 767px) {
	.mm-rc__about { padding: 14px; gap: 14px; }
	.mm-rc__how summary { display: list-item; list-style: disclosure-closed; color: var(--mm-rc-accent); padding: 6px 0; margin: 10px 0 0; }
	.mm-rc__how[open] summary { list-style: disclosure-open; }
	.mm-rc__how summary::-webkit-details-marker { display: revert; }
	.mm-rc__how[open] summary { margin-bottom: 8px; }
	.mm-rc__secs { align-items: flex-start; }
	.mm-rc__sec.is-edit .mm-rc__apply { margin-top: 8px; }
	.mm-rc__about-photos { gap: 8px; }
	.mm-rc__about-photos img { width: 84px; height: 112px; }
	.mm-rc ul.mm-rc__chips > li { font-size: 12px; padding: 5px 8px !important; }
	.mm-rc__row-head { flex-wrap: wrap; gap: 8px; }
	.mm-rc__row-title { flex: 1 0 100%; }
	.mm-rc__btn--danger { margin-left: 0; }
	.mm-rc__sec { flex-basis: min(78vw, 260px); width: min(78vw, 260px); }
	.mm-rc__add-sec { min-height: 300px; }
	.mm-rc__add2 { min-height: 300px; }
	.mm-rc__mode button { min-height: 48px; }
	.mm-rc__field select { height: 40px; font-size: 16px; } /* 16px — iOS не зумит страницу при выборе */
	.mm-rc__apply { min-height: 42px; }
	.mm-rc__sec .mm-rc__btn { min-height: 38px; }
	.mm-rc__icon { padding: 8px; }
	.mm-rc__bar { height: 18px; border-radius: 9px; }
	.mm-rc__thumb { border-radius: 9px; opacity: 1; }
	.mm-rc__summary { padding: 12px; }
	.mm-rc__thead { display: none; }
	.mm-rc__tr { grid-template-columns: 1fr auto; grid-template-areas: 'name name' 'price sum'; gap: 4px 10px; padding: 10px 12px; }
	.mm-rc__tr span:nth-child(1) { grid-area: name; }
	.mm-rc__tr span:nth-child(2) { grid-area: price; text-align: left !important; color: var(--mm-rc-muted); }
	.mm-rc__tr span:nth-child(3) { display: none; }
	.mm-rc__tr span:nth-child(4) { grid-area: sum; font-weight: 600; }
	.mm-rc__tr span:nth-child(2):after { content: attr(data-qty); }
	.mm-rc__actions { flex-direction: column-reverse; align-items: stretch; }
	.mm-rc__btn--lg { width: 100%; }
	.mm-rc__acc { padding: 12px; gap: 12px; }
	.mm-rc__acc-thumbs img { width: 48px; height: 48px; }

	.mm-rc-modal { padding: 0; align-items: flex-end; }
	.mm-rc-modal__box { max-width: none; max-height: 92vh; max-height: 92dvh; border-radius: 14px 14px 0 0; }
	.mm-rc-modal__head { display: block; padding: 16px 56px 14px 16px; }
	.mm-rc-modal__head span { display: none; }
	.mm-rc-modal__head:before { content: 'Аксессуары'; font-size: 17px; color: #333; }
	.mm-rc__acc-group { padding: 10px 16px 8px; }
	.mm-rc__acc-row { grid-template-columns: 56px 1fr auto; grid-template-areas: 'img name name' 'img price ctl'; gap: 6px 12px; padding: 12px 16px; }
	.mm-rc__acc-img { grid-area: img; width: 56px; height: 56px; }
	.mm-rc__acc-name { grid-area: name; font-size: 13px; }
	.mm-rc__acc-price { grid-area: price; text-align: left; }
	.mm-rc__acc-ctl { grid-area: ctl; }
	.mm-rc__acc-main { flex-basis: 132px; width: 132px; }
	.mm-rc__qty input { font-size: 16px; }
	.mm-rc__icon { min-width: 40px; min-height: 40px; }
	.mm-rc__btn--sm { min-height: 36px; }
	.mm-rc-modal__foot { padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); }
	.mm-rc-modal__foot .mm-rc__btn { width: 100%; }
}
@media (max-width: 380px) {
	.mm-rc__acc-row { grid-template-areas: 'img name name' 'price price ctl'; }
	.mm-rc__total b { font-size: 22px; }
}

.mm-rc__sec-load{font-size:13px;color:#555;margin-top:2px}.mm-rc__sec-load span{color:#888}

/* End */
/* /local/components/mm/rack.calculator/templates/.default/style.css?179440435129975 */
