/* Корзина «Pedido múltiple» (pages/pedido-multiple.html.twig, вариант A 2026-10-17). Поля, количество, оплата — из form-v2.css,
   здесь только своё: шаги выбора, кнопка «Añadir», плитки корзины, сводка. Размеры — токены DESIGN.md. */
.ct .ct-st { margin: 0 0 var(--sp-2); font-size: var(--fs-md); }
.ct .ct-opt { font-weight: 400; color: var(--muted); font-size: var(--fs-sm); }
.ct-pick > .fv2-row { margin-bottom: var(--sp-6); }
.ct-ddi { display: inline-flex; align-items: center; gap: var(--sp-2); }
.ct .fv2-dd__list li small { font-size: var(--fs-sm); font-weight: 400; color: var(--muted); white-space: nowrap; }
.ct .fv2-dd__list { max-height: 360px; overflow: auto; }
.ct .is-err { box-shadow: 0 0 0 2px #e53935 inset; animation: ctShake .26s; }
@keyframes ctShake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.ct-add { display: flex; align-items: center; justify-content: center; gap: var(--sp-2); width: 100%; height: 52px; margin-top: var(--sp-4); border: 0; border-radius: var(--r-pill); background: #141533; color: #C7F74A; font: 700 var(--fs-sm) Inter, sans-serif; text-transform: uppercase; letter-spacing: .04em; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; transition: transform .15s; }
.ct-add:active { transform: scale(.97); }
.ct-add:focus-visible { outline: 2px solid var(--v); outline-offset: 2px; }
.ct-note { margin-top: var(--sp-3); padding: var(--sp-3) var(--sp-4); border-radius: var(--r-sm); background: #fff; font-size: var(--fs-sm); color: #141533; }
.ct-note.is-err { background: #ffe9e7; color: #7a1f1a; box-shadow: none; animation: none; }
.ct-cart { margin-top: var(--sp-6); }
.ct-cart__h { display: flex; align-items: baseline; justify-content: space-between; gap: var(--sp-3); margin: 0 0 var(--sp-2); }
.ct-cart__h b { font-size: var(--fs-lg); color: #141533; }
.ct-cart__h span { font-size: var(--fs-sm); color: var(--muted); }
.ct-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-2); }
.ct-empty { grid-column: 1 / -1; border: 2px dashed rgba(20, 21, 51, .18); border-radius: var(--r-sm); padding: var(--sp-6) var(--sp-4); text-align: center; font-size: var(--fs-sm); color: #141533; opacity: .7; }
.ct-tile { position: relative; display: flex; flex-direction: column; gap: var(--sp-2); background: #fff; border-radius: var(--r-sm); padding: var(--sp-4); transition: opacity .22s, transform .22s; }
.ct-tile.is-new { animation: ctIn .45s cubic-bezier(.3, .7, .3, 1); }
.ct-tile.is-out { opacity: 0; transform: scale(.9); }
@keyframes ctIn { from { opacity: 0; transform: translateY(12px) scale(.96); } }
.ct-h { display: flex; align-items: center; gap: var(--sp-3); padding-right: var(--sp-8); }
.ct-h img { flex: none; }
.ct-h b { display: block; font-size: var(--fs-sm); line-height: 1.25; color: #141533; }
.ct-h small { display: block; font-size: var(--fs-sm); color: var(--muted); }
.ct-l { font-size: var(--fs-xs); color: var(--muted); word-break: break-all; }
.ct-c { font-size: var(--fs-xs); color: var(--v); font-weight: 700; }
.ct-p { margin-top: auto; font-size: var(--fs-lg); font-weight: 700; color: #141533; }
.ct-x { position: absolute; top: var(--sp-2); right: var(--sp-2); width: 28px; height: 28px; border: 0; border-radius: 50%; background: var(--lav); color: var(--v); display: grid; place-items: center; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.ct-sum { display: flex; flex-direction: column; gap: var(--sp-2); background: var(--green-dk); border-radius: var(--r-sm); padding: var(--sp-4); font-size: var(--fs-sm); margin-bottom: var(--sp-6); }
.ct-sum__list { display: flex; flex-direction: column; gap: var(--sp-2); }
.ct-sum__list:empty { display: none; }
.ct-sum__list > div, .ct-sum__disc, .ct-sum__tot { display: flex; justify-content: space-between; gap: var(--sp-3); }
.ct-sum b { white-space: nowrap; }
.ct-sum__disc b { color: var(--v); }
.ct-sum__tot { font-size: var(--fs-md); }
.ct-sum__list:not(:empty) ~ .ct-sum__tot { border-top: 1px solid rgba(20, 21, 51, .12); padding-top: var(--sp-2); }
.ct-mail { margin-bottom: var(--sp-6); }
.ct .fv2-btn[disabled] { opacity: .5; cursor: not-allowed; box-shadow: none; }
.ct-alert { margin: 0 0 var(--sp-6); padding: var(--sp-4); border-radius: var(--r-sm); background: #ffe9e7; color: #7a1f1a; font-size: var(--fs-sm); font-weight: 600; }
.ct-alert a { color: inherit; text-decoration: underline; }
@media (max-width: 767px) {
	.ct-grid { grid-template-columns: 1fr; }
	.ct-x { width: 36px; height: 36px; }
	.ct-sum__list { display: none; } /* на телефоне позиции уже видны плитками — в сводке только итог */
	.ct-sum__list ~ .ct-sum__tot { border-top: 0 !important; padding-top: 0 !important; }
}
@media (prefers-reduced-motion: reduce) { .ct-tile.is-new, .ct .is-err { animation: none; } }
.ct-sum__disc[hidden], .ct .fq-old { display: none !important; }
/* отклик на «Añadir» (2026-10-17) */
/* «Añadido»: цвета те же, кнопка «пружинит», галочка выскакивает в лаймовом кружке */
.ct-add.is-done { animation: ctPress .45s cubic-bezier(.3, .7, .3, 1.4); }
@keyframes ctPress { 0% { transform: scale(1); } 30% { transform: scale(.95); } 70% { transform: scale(1.02); } 100% { transform: scale(1); } }
.ct-add__ok { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #C7F74A; color: #141533; font-size: 13px; animation: ctPop .4s cubic-bezier(.3, .7, .3, 1.6); }
@keyframes ctPop { from { transform: scale(0) rotate(-90deg); } }
@media (prefers-reduced-motion: reduce) { .ct-add.is-done, .ct-add__ok { animation: none; } }
.ct-ghost { position: fixed; z-index: 1000; pointer-events: none; box-shadow: 0 12px 30px rgba(20, 21, 51, .25); margin: 0; }
.ct-tile.is-hit { box-shadow: 0 0 0 3px #7A4AF7; transition: box-shadow .2s; }
.is-bump { display: inline-block; animation: ctBump .45s; }
@keyframes ctBump { 40% { transform: scale(1.12); } }
.ct-toast { display: block; width: 100%; margin-top: var(--sp-3); padding: var(--sp-3) var(--sp-4); border: 0; border-radius: var(--r-sm); background: #141533; color: #fff; font: 600 var(--fs-sm) Inter, sans-serif; text-align: left; cursor: pointer; }
.ct-toast u { color: #C7F74A; text-decoration: none; font-weight: 700; white-space: nowrap; }
.ct-toast.is-on { animation: ctIn .35s cubic-bezier(.3, .7, .3, 1); }
.ct-toast[hidden] { display: none; }
@media (max-width: 767px) { .ct-toast { position: sticky; bottom: var(--sp-3); z-index: 5; box-shadow: 0 8px 24px rgba(20, 21, 51, .3); } }
@media (prefers-reduced-motion: reduce) { .is-bump, .ct-toast.is-on { animation: none; } }
/* полёт позиции в корзину (2026-10-17, вместо плашки «Ver carrito») */
.ct-fly { position: fixed; z-index: 1000; pointer-events: none; display: flex; align-items: center; gap: var(--sp-3); padding: var(--sp-2) var(--sp-4) var(--sp-2) var(--sp-2); background: #fff; border-radius: var(--r-pill); box-shadow: 0 12px 28px rgba(20, 21, 51, .3); max-width: 300px; }
.ct-fly img { flex: none; width: 28px; height: 28px; }
.ct-fly b { display: block; font-size: var(--fs-sm); color: #141533; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ct-fly small { display: block; font-size: var(--fs-xs); color: var(--muted); }
.ct-down { margin-top: var(--sp-3); text-align: center; font-size: var(--fs-sm); font-weight: 700; color: #141533; }
.ct-down.is-on { animation: ctDown 1.5s ease-out; }
@keyframes ctDown { 0% { opacity: 0; transform: translateY(-6px); } 20% { opacity: 1; transform: none; } 60% { transform: translateY(6px); } 100% { opacity: 0; transform: translateY(10px); } }
@media (prefers-reduced-motion: reduce) { .ct-down.is-on { animation: none; } }
.ct-ghost { position: fixed; z-index: 1000; pointer-events: none; margin: 0; box-shadow: 0 14px 34px rgba(20, 21, 51, .28); transform-origin: top left; }
/* вопрос «сложить или отдельный заказ» при той же услуге и ссылке (2026-10-17) */
.ct-ask { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-3); }
.ct-ask__b { flex: 1 1 auto; min-height: 40px; padding: 0 var(--sp-4); border: 0; border-radius: var(--r-pill); background: #141533; color: #C7F74A; font: 700 var(--fs-sm) Inter, sans-serif; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.ct-ask__b + .ct-ask__b { background: var(--lav); color: var(--v); }
