/* Оформление: выбор цвета и размера у товара из 1688 (К1, 01.12). Шторка справа на компьютере, на весь экран на телефоне. Подробности — variant-pick.js. */
.vpick__f { display: flex; flex-direction: column; gap: 5px; font-size: 12px; color: var(--sh-muted); min-width: 0; }
.vpick__btn { display: block; width: 100%; text-align: left; padding: 10px 32px 10px 12px; border: 1px solid var(--sh-line); border-radius: 8px; background: var(--sh-card);
	font: inherit; font-size: 14px; color: var(--sh-muted); cursor: pointer; position: relative; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vpick__btn::after { content: ""; position: absolute; right: 14px; top: 50%; width: 6px; height: 6px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-70%) rotate(45deg); }
.vpick__btn.is-set { color: var(--sh-ink); }
.vpick__btn.is-bad { border-color: var(--sh-warn); border-width: 1.5px; }
.vpick__err { color: var(--sh-warn); font-size: 12px; }
.vpick__hint { margin: 0; padding: 8px 12px; border-radius: 8px; background: var(--sh-soft); color: var(--sh-deep); font-size: 12px; }

.vdraw-lock { overflow: hidden; }
.vdraw[hidden] { display: none; }
.vdraw { position: fixed; inset: 0; z-index: 1000; }
.vdraw__shade { position: absolute; inset: 0; background: rgba(15, 23, 42, .45); }
.vdraw__pane { position: absolute; top: 0; right: 0; bottom: 0; width: 480px; max-width: 100%; background: var(--sh-card); color: var(--sh-ink); display: flex; flex-direction: column; box-shadow: -8px 0 32px rgba(0, 0, 0, .18); }
.vdraw__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px 8px; }
.vdraw__head h2 { margin: 0; font-size: 20px; }
.vdraw__x { border: 0; background: none; font-size: 28px; line-height: 1; cursor: pointer; color: var(--sh-ink); padding: 4px 8px; }
.vdraw__sub { padding: 0 24px 8px; display: flex; flex-direction: column; gap: 2px; font-size: 13px; color: var(--sh-muted); }
.vdraw__sub b { color: var(--sh-ink); font-size: 14px; }
/* На компьютере кнопка «Выбрать» сразу под блоком выбора (как в макете), на телефоне — прижата к низу (ниже, в @media). */
.vdraw__body { flex: 0 1 auto; overflow-y: auto; padding: 0 24px 16px; }
.vdraw__body h3 { margin: 16px 0 10px; font-size: 14px; }
.vdraw__colors { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; }
.vtile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 56px; padding: 10px 8px; border: 1px solid var(--sh-line); border-radius: 12px;
	background: var(--sh-card); color: var(--sh-ink); font: inherit; font-size: 14px; cursor: pointer; }
.vtile small { font-size: 11px; color: var(--sh-muted); }
.vtile.is-on, .vchip.is-on { border: 2px solid var(--sh-ink); background: var(--sh-card); font-weight: 700; }
.vtile.is-off, .vchip.is-off { background: var(--sh-bg); color: var(--sh-muted); border: 1px dashed var(--sh-muted); cursor: not-allowed; }
.vdraw__sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.vchip { min-width: 56px; min-height: 44px; padding: 8px 14px; border: 1px solid var(--sh-line); border-radius: 10px; background: var(--sh-card); color: var(--sh-ink); font: inherit; font-weight: 600; cursor: pointer; }
.vsz { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.vsz small { font-size: 11px; color: var(--sh-muted); text-align: center; max-width: 72px; }
.vdraw__grey { margin: 10px 0 0; font-size: 12px; color: var(--sh-muted); }
.vdraw__msg { margin: 12px 0 0; padding: 8px 12px; border-radius: 8px; background: var(--sh-sale-soft); color: var(--sh-sale-deep); font-size: 13px; }
.vdraw__sum { margin: 14px 0 0; padding: 10px 12px; border-radius: 8px; background: var(--sh-soft); color: var(--sh-deep); font-size: 13px; }
.vdraw__sum[hidden], .vdraw__msg[hidden], .vdraw__grey[hidden] { display: none; }
.vdraw__foot { padding: 12px 24px calc(16px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--sh-line); background: var(--sh-card); }
.vdraw__ok { width: 100%; min-height: 48px; border: 0; border-radius: 12px; background: var(--sh-ink); color: var(--sh-card); font: inherit; font-weight: 600; font-size: 15px; cursor: pointer; }
.vdraw__ok:disabled { background: var(--sh-line); color: var(--sh-muted); cursor: not-allowed; }
@media (max-width: 640px) {
	.vdraw__pane { width: 100%; box-shadow: none; }
	.vdraw__body { flex: 1 1 auto; }
	.vdraw__head, .vdraw__sub, .vdraw__body, .vdraw__foot { padding-left: 16px; padding-right: 16px; }
	.vdraw__colors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
