/* bookleggers — блок «Допуслуги» в форме заказа (index.html), вариант «Вращающийся стенд»: CSS-3D образец, материал первым.
   Все классы с префиксом .v1-. Состояния — :has() на .v1-root, без JS. Логотип — маска /logo.svg. */
/* =====================================================================
   bookleggers · Допуслуги · вариант 1 «Вращающийся стенд»
   Чистый CSS: 3D-пластина (preserve-3d), состояние — через :has()
   на .v1-root по настоящим radio/checkbox. Без JS и внешних ресурсов
   (кроме маски /logo.svg).
   ===================================================================== */

/* Анимируемые токены: радиус углов, радиус отверстий, акцент материала */
@property --v1-r { syntax: '<length>'; inherits: true; initial-value: 3px; }
@property --v1-hr { syntax: '<length>'; inherits: true; initial-value: 0px; }
@property --v1-accent { syntax: '<color>'; inherits: true; initial-value: #dfe6ee; }

.v1-root,
.v1-root *,
.v1-root *::before,
.v1-root *::after { box-sizing: border-box; }

.v1-root {
  --v1-bg: #0a0a0a;
  --v1-fg: #f5f5f5;
  --v1-mut: rgba(245, 245, 245, .68);
  --v1-line: rgba(245, 245, 245, .13);
  --v1-line2: rgba(245, 245, 245, .26);
  --v1-tile: #101010;
  --v1-vecc: #4b93ff;
  --v1-w: 300px;
  --v1-h: 172px;
  --v1-hx: 22px;
  --v1-ease: cubic-bezier(.22, .8, .2, 1);
  /* единый моушн интерфейса: микро (цвет/рамка) и раскрытия */
  --v1-t1: .2s;
  --v1-t2: .4s;
  --v1-ring: 0 0 0 2px var(--v1-bg), 0 0 0 4px var(--v1-accent);
  --v1-hatch: repeating-linear-gradient(0deg, rgba(255, 255, 255, .12) 0 1px, rgba(255, 255, 255, 0) 1px 2.4px);

  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(340px, 42%, 384px);
  grid-template-areas: "head head" "mats mats" "stage svcs";
  gap: 28px 28px;
  width: 100%;
  margin: 0;
  padding: 28px;
  color: var(--v1-fg);
  background: var(--v1-bg);
  border: 1px solid var(--v1-line);
  border-radius: 20px;
  font: 400 15px/1.45 -apple-system, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-align: left;
  transition: --v1-r .7s var(--v1-ease), --v1-hr .5s cubic-bezier(.3, 1.35, .5, 1), --v1-accent .6s ease;
}
.v1-root p, .v1-root h3, .v1-root ul { margin: 0; }
.v1-root i, .v1-root b { font-style: normal; }
.v1-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- Токены материалов ----------
   .v1-m-* — фиксированный материал (монетки в выборе, слои кроссфейда);
   .v1-root — текущий материал по radio name="material". */
.v1-root,
.v1-m-alu {
  /* гладкий анодированный алюминий: матовая ровная поверхность, мягкий рассеянный блик, мелкая пескоструйная зернистость (без штрихов) */
  --v1-base:
    linear-gradient(180deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, 0) 40%, rgba(0, 0, 0, 0) 66%, rgba(0, 0, 0, .1)),
    radial-gradient(120% 90% at 30% 20%, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0) 60%),
    linear-gradient(112deg, #bcc1c7 0%, #d2d6db 40%, #c3c8ce 62%, #cdd1d6 100%);
  --v1-noise:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='g' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' seed='7' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='.33 .33 .33 0 0 .33 .33 .33 0 0 .33 .33 .33 0 0 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='260' height='260' filter='url(%23g)'/%3E%3C/svg%3E");
  --v1-noise-o: .34;
  --v1-vign: inset 0 0 22px rgba(0, 0, 0, .18);
  --v1-edge: linear-gradient(180deg, #f2f4f6, #a9afb6 55%, #858b92);
  --v1-engr: #767c83;
  --v1-accent: #dfe6ee;
  --v1-glow: rgba(205, 218, 232, .2);
  --v1-grom: conic-gradient(from 200deg, #fbfbfb, #9ca1a7, #eceef0, #7d8288, #fbfbfb);
}
.v1-root:has(.v1-mi-steel:checked),
.v1-m-steel {
  --v1-base:
    linear-gradient(180deg, rgba(255, 255, 255, .18), rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, .2)),
    linear-gradient(118deg, #6f7780 0%, #c7ced6 18%, #8b939c 30%, #f1f4f7 44%, #a0a8b1 55%, #646c75 74%, #b9c0c8 90%, #7c848d 100%);
  --v1-noise:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='260'%3E%3Cfilter id='p' filterUnits='userSpaceOnUse' x='0' y='0' width='420' height='260' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.006 .02' numOctaves='2' seed='9'/%3E%3CfeSpecularLighting surfaceScale='9' specularConstant='1.1' specularExponent='24' lighting-color='%23ffffff'%3E%3CfeDistantLight azimuth='225' elevation='40'/%3E%3C/feSpecularLighting%3E%3C/filter%3E%3Crect width='420' height='260' filter='url(%23p)'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='420'%3E%3Cfilter id='s' filterUnits='userSpaceOnUse' x='-300' y='-300' width='1020' height='1020' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.004 .55' numOctaves='2' seed='3'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncR type='linear' slope='2.6' intercept='-.8'/%3E%3CfeFuncG type='linear' slope='2.6' intercept='-.8'/%3E%3CfeFuncB type='linear' slope='2.6' intercept='-.8'/%3E%3CfeFuncA type='linear' slope='0' intercept='.5'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Cg filter='url(%23s)' transform='rotate(30 210 210)'%3E%3Crect x='-300' y='-300' width='1020' height='1020'/%3E%3C/g%3E%3Cg filter='url(%23s)' transform='rotate(-30 210 210)'%3E%3Crect x='-300' y='-300' width='1020' height='1020'/%3E%3C/g%3E%3C/svg%3E");
  --v1-noise-o: .5;
  --v1-vign: inset 0 0 26px rgba(10, 20, 30, .3);
  --v1-edge: linear-gradient(180deg, #e3e8ee, #8d959e 50%, #5d646c);
  --v1-engr: #3d434a;
  --v1-accent: #c4dbf6;
  --v1-glow: rgba(160, 195, 240, .2);
  --v1-grom: conic-gradient(from 200deg, #ffffff, #7b838c, #e3e8ee, #5e666f, #ffffff);
}
.v1-root:has(.v1-mi-brass:checked),
.v1-m-brass {
  --v1-base:
    radial-gradient(90% 70% at 10% 100%, rgba(70, 92, 60, .38), rgba(70, 92, 60, 0) 60%),
    radial-gradient(70% 60% at 100% 0%, rgba(60, 38, 8, .38), rgba(0, 0, 0, 0) 60%),
    linear-gradient(180deg, rgba(255, 240, 200, .26), rgba(0, 0, 0, 0) 40%, rgba(40, 20, 0, .22)),
    linear-gradient(105deg, #a8812f 0%, #e3c47a 28%, #c79b45 50%, #f0d58e 66%, #9c7428 100%);
  --v1-noise:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='260'%3E%3Cfilter id='b' filterUnits='userSpaceOnUse' x='0' y='0' width='420' height='260' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' seed='11'/%3E%3CfeDiffuseLighting surfaceScale='1.8' diffuseConstant='1.15' lighting-color='%23ffffff'%3E%3CfeDistantLight azimuth='225' elevation='50'/%3E%3C/feDiffuseLighting%3E%3CfeComponentTransfer%3E%3CfeFuncR type='linear' slope='2' intercept='-1.04'/%3E%3CfeFuncG type='linear' slope='2' intercept='-1.04'/%3E%3CfeFuncB type='linear' slope='2' intercept='-1.04'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='420' height='260' filter='url(%23b)'/%3E%3C/svg%3E");
  --v1-noise-o: .6;
  --v1-vign: inset 0 0 24px rgba(60, 35, 5, .55), inset 0 0 3px rgba(40, 25, 5, .7);
  --v1-edge: linear-gradient(180deg, #e6c27a, #a07630 55%, #5e4215);
  --v1-engr: #5b3f12;
  --v1-accent: #e8c27a;
  --v1-glow: rgba(235, 185, 95, .24);
  --v1-grom: conic-gradient(from 200deg, #fff1c8, #9b7430, #f1d38c, #6e5020, #fff1c8);
}

/* ---------- Шапка ---------- */
.v1-head { grid-area: head; }
.v1-root .v1-kicker {
  margin-bottom: 8px; font-size: 10.5px; line-height: 16px; letter-spacing: .2em; text-transform: uppercase; color: var(--v1-mut);
}
.v1-title { font-size: 26px; line-height: 1.15; font-weight: 600; letter-spacing: -.015em; }
.v1-root .v1-lead { margin-top: 10px; max-width: 56ch; font-size: 14px; line-height: 1.5; color: var(--v1-mut); text-wrap: pretty; }

.v1-root .v1-step {
  display: flex; align-items: center; gap: 12px; margin-bottom: 12px;
  font-size: 10.5px; line-height: 16px; letter-spacing: .2em; text-transform: uppercase; color: var(--v1-mut);
}
.v1-step b { font-weight: 600; letter-spacing: .08em; color: var(--v1-accent); font-variant-numeric: tabular-nums; transition: color .6s ease; }
.v1-step::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--v1-line2), var(--v1-line) 40%, rgba(245, 245, 245, 0)); }

/* общий язык плиток: наведение / нажатие / недоступно */
.v1-mat, .v1-tile, .v1-sum, .v1-vw, .v1-sg {
  -webkit-tap-highlight-color: transparent;
  transition: border-color var(--v1-t1) ease, background-color var(--v1-t1) ease, color var(--v1-t1) ease, box-shadow var(--v1-t1) ease, transform var(--v1-t1) var(--v1-ease);
}
.v1-mat:active, .v1-tile:active, .v1-sum:active, .v1-vw:active, .v1-sg:active { transform: scale(.985); }
.v1-mat:has(:disabled), .v1-svc:has(> .v1-in:disabled) > .v1-tile, .v1-sw:has(:disabled), .v1-sg:has(:disabled) {
  opacity: .4; cursor: not-allowed; transform: none;
}

/* ---------- Шаг 0: материал ---------- */
.v1-mats { grid-area: mats; min-width: 0; }
.v1-mat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.v1-mat {
  position: relative; display: flex; align-items: center; gap: 14px; min-height: 72px; padding: 14px 32px 14px 16px;
  border: 1px solid var(--v1-line); border-radius: 16px; background: var(--v1-tile); cursor: pointer;
}
@media (hover: hover) {
  .v1-mat:hover { border-color: var(--v1-line2); background-color: #131313; }
}
.v1-mat::after {
  content: ""; position: absolute; top: 14px; right: 14px; width: 6px; height: 6px; border-radius: 50%;
  background: var(--v1-line2); transition: background-color var(--v1-t2) ease, box-shadow var(--v1-t2) ease;
}
.v1-mat:has(.v1-mi:checked) {
  border-color: color-mix(in srgb, var(--v1-accent) 60%, transparent);
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015));
}
.v1-mat:has(.v1-mi:checked)::after { background: var(--v1-accent); box-shadow: 0 0 10px var(--v1-accent); }
.v1-mat:has(.v1-mi:focus-visible) { outline: 2px solid var(--v1-accent); outline-offset: 3px; }

/* скрытые, но фокусируемые инпуты */
.v1-mi, .v1-vr, .v1-in, .v1-rd {
  position: absolute; top: 0; left: 0; width: 1px; height: 1px; margin: 0; padding: 0; opacity: 0;
}

.v1-coin {
  position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; overflow: hidden;
  background: var(--v1-base);
  box-shadow: var(--v1-vign), 0 0 0 1px rgba(0, 0, 0, .6), 0 4px 10px rgba(0, 0, 0, .5);
  transition: transform .6s var(--v1-ease);
}
.v1-mat:has(.v1-mi:checked) .v1-coin { transform: rotate(-24deg) scale(1.06); }
.v1-mat-t { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.v1-mat-n { font-size: 15px; font-weight: 600; line-height: 1.25; letter-spacing: -.005em; }
.v1-mat-c { font-size: 12.5px; line-height: 1.35; color: var(--v1-mut); text-wrap: pretty; }

/* общий слой текстуры металла (feTurbulence / feSpecularLighting / штрихи) */
.v1-coin::after,
.v1-L::after,
.v1-ghost::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background-image: var(--v1-noise); background-size: cover; background-position: center; background-repeat: no-repeat;
  mix-blend-mode: overlay; opacity: var(--v1-noise-o);
}

/* ---------- Стенд ---------- */
.v1-stagewrap {
  grid-area: stage; position: sticky; top: 16px; align-self: start; min-width: 0;
  /* верх стенда — по первой строке услуг (под заголовком «01 Обработка») */
  margin-top: 28px;
  container: v1stage / inline-size;
}
.v1-stage {
  position: relative; height: 460px; overflow: hidden; isolation: isolate;
  border: 1px solid var(--v1-line); border-radius: 18px;
  background:
    radial-gradient(70% 55% at 50% 30%, rgba(255, 255, 255, .075), rgba(255, 255, 255, 0) 70%),
    radial-gradient(50% 30% at 50% 82%, var(--v1-glow), rgba(0, 0, 0, 0) 70%),
    linear-gradient(180deg, #131313, #070707 70%);
  perspective: 1100px; perspective-origin: 50% 38%;
}
.v1-stage::before {
  content: ""; position: absolute; inset: 14px; z-index: 2; pointer-events: none;
  background:
    linear-gradient(var(--v1-line2), var(--v1-line2)) 0 0 / 12px 1px no-repeat,
    linear-gradient(var(--v1-line2), var(--v1-line2)) 0 0 / 1px 12px no-repeat,
    linear-gradient(var(--v1-line2), var(--v1-line2)) 100% 0 / 12px 1px no-repeat,
    linear-gradient(var(--v1-line2), var(--v1-line2)) 100% 0 / 1px 12px no-repeat,
    linear-gradient(var(--v1-line2), var(--v1-line2)) 0 100% / 12px 1px no-repeat,
    linear-gradient(var(--v1-line2), var(--v1-line2)) 0 100% / 1px 12px no-repeat,
    linear-gradient(var(--v1-line2), var(--v1-line2)) 100% 100% / 12px 1px no-repeat,
    linear-gradient(var(--v1-line2), var(--v1-line2)) 100% 100% / 1px 12px no-repeat;
}

.v1-scene {
  position: absolute; left: 50%; top: 44%; width: 0; height: 0;
  transform-style: preserve-3d; transform: rotateX(-12deg);
}

/* пол-поворотный стол */
.v1-floor {
  position: absolute; left: -260px; top: -260px; width: 520px; height: 520px;
  transform: translateY(150px) rotateX(90deg);
}
.v1-disc {
  position: absolute; inset: 80px; border-radius: 50%;
  background: radial-gradient(circle, #1b1b1b 0 58%, #0d0d0d 59% 66%, rgba(255, 255, 255, .13) 66.5%, #090909 67.5% 69%, rgba(255, 255, 255, .07) 69.5%, rgba(0, 0, 0, 0) 71%);
}
.v1-glow {
  position: absolute; inset: 150px 90px; border-radius: 50%;
  background: radial-gradient(closest-side, var(--v1-glow), rgba(0, 0, 0, 0));
  filter: blur(8px);
}
.v1-floor-turn { position: absolute; inset: 0; transform: rotate(34deg); transition: transform 1.1s var(--v1-ease); }
.v1-ticks {
  position: absolute; inset: 96px; border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(245, 245, 245, .34) 0 .5deg, rgba(0, 0, 0, 0) .5deg 7.5deg);
  -webkit-mask: radial-gradient(closest-side, rgba(0, 0, 0, 0) 90%, #000 91%);
  mask: radial-gradient(closest-side, rgba(0, 0, 0, 0) 90%, #000 91%);
}
.v1-ticks::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 3px; height: 15px; margin-left: -1.5px;
  background: var(--v1-accent);
}
.v1-shadow {
  position: absolute; left: 50%; top: 50%; width: 290px; height: 46px; margin: -23px 0 0 -145px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .85), rgba(0, 0, 0, 0));
  filter: blur(6px);
  animation: v1-shad 6s ease-in-out infinite;
}

/* парение + поворот по виду */
.v1-float {
  position: absolute; left: 0; top: 0; transform-style: preserve-3d;
  animation: v1-bob 6s ease-in-out infinite;
}
.v1-turn {
  position: absolute; left: 0; top: 0; transform-style: preserve-3d;
  transform: rotateX(4deg) rotateY(-34deg);
  transition: transform 1.1s var(--v1-ease);
}
.v1-plate {
  position: absolute; left: calc(var(--v1-w) / -2); top: calc(var(--v1-h) / -2);
  width: var(--v1-w); height: var(--v1-h); transform-style: preserve-3d;
}

/* толщина: 11 срезов формы пластины (корректно повторяют радиус и отверстия) */
.v1-rim { position: absolute; inset: 0; transform-style: preserve-3d; }
.v1-sl {
  position: absolute; inset: 0; border-radius: var(--v1-r);
  background: var(--v1-edge-paint, var(--v1-edge));
}
.v1-sl:nth-child(1) { transform: translateZ(calc(var(--v1-k, 1) * -5px)); }
.v1-sl:nth-child(2) { transform: translateZ(calc(var(--v1-k, 1) * -4px)); }
.v1-sl:nth-child(3) { transform: translateZ(calc(var(--v1-k, 1) * -3px)); }
.v1-sl:nth-child(4) { transform: translateZ(calc(var(--v1-k, 1) * -2px)); }
.v1-sl:nth-child(5) { transform: translateZ(calc(var(--v1-k, 1) * -1px)); }
.v1-sl:nth-child(6) { transform: translateZ(0); }
.v1-sl:nth-child(7) { transform: translateZ(calc(var(--v1-k, 1) * 1px)); }
.v1-sl:nth-child(8) { transform: translateZ(calc(var(--v1-k, 1) * 2px)); }
.v1-sl:nth-child(9) { transform: translateZ(calc(var(--v1-k, 1) * 3px)); }
.v1-sl:nth-child(10) { transform: translateZ(calc(var(--v1-k, 1) * 4px)); }
.v1-sl:nth-child(11) { transform: translateZ(calc(var(--v1-k, 1) * 5px)); }

/* сквозные отверстия: маска из 4 радиальных градиентов, радиус --v1-hr анимируется */
/* маска нужна только при включённых отверстиях/люверсах — иначе лишние маски на 3D-слоях (Safari, слабые GPU) могут не дать пластине нарисоваться */
.v1-root:has(.v1-in-holes:checked, .v1-in-grom:checked) .v1-holed {
  --v1-hole: rgba(0, 0, 0, 0) calc(var(--v1-hr) - .5px), #000 var(--v1-hr);
  -webkit-mask:
    radial-gradient(circle at var(--v1-hx) var(--v1-hx), var(--v1-hole)),
    radial-gradient(circle at calc(100% - var(--v1-hx)) var(--v1-hx), var(--v1-hole)),
    radial-gradient(circle at var(--v1-hx) calc(100% - var(--v1-hx)), var(--v1-hole)),
    radial-gradient(circle at calc(100% - var(--v1-hx)) calc(100% - var(--v1-hx)), var(--v1-hole));
  -webkit-mask-composite: source-in;
  mask:
    radial-gradient(circle at var(--v1-hx) var(--v1-hx), var(--v1-hole)),
    radial-gradient(circle at calc(100% - var(--v1-hx)) var(--v1-hx), var(--v1-hole)),
    radial-gradient(circle at var(--v1-hx) calc(100% - var(--v1-hx)), var(--v1-hole)),
    radial-gradient(circle at calc(100% - var(--v1-hx)) calc(100% - var(--v1-hx)), var(--v1-hole));
  mask-composite: intersect;
}

/* лицо и оборот */
.v1-face {
  position: absolute; inset: 0; overflow: hidden; border-radius: var(--v1-r);
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
}
.v1-front { transform: translateZ(calc(var(--v1-k, 1) * 5px + 1px)); }
.v1-back { transform: rotateY(180deg) translateZ(calc(var(--v1-k, 1) * 5px + 1px)); }
.v1-face::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), inset 0 -1px 0 rgba(0, 0, 0, .35), inset 1px 0 0 rgba(255, 255, 255, .14), inset -1px 0 0 rgba(0, 0, 0, .2);
}

/* кроссфейд материалов */
.v1-L {
  position: absolute; inset: 0; background: var(--v1-base); box-shadow: var(--v1-vign);
  opacity: 0; transition: opacity .7s ease;
}
.v1-L.v1-m-alu { opacity: 1; }
.v1-root:has(.v1-mi-steel:checked) .v1-L.v1-m-steel,
.v1-root:has(.v1-mi-brass:checked) .v1-L.v1-m-brass { opacity: 1; }

/* гравировка — маска настоящего логотипа */
.v1-engr, .v1-vec {
  position: absolute; left: 50%; top: 50%; width: 60%; aspect-ratio: 5594 / 2493;
  transform: translate(-50%, -50%);
}
.v1-engr { filter: drop-shadow(0 1px 0 rgba(255, 255, 255, .42)); transition: opacity .5s ease; }
.v1-logo, .v1-vec-out > i {
  position: absolute; inset: 0;
  -webkit-mask: url("/logo.svg") center / contain no-repeat;
  mask: url("/logo.svg") center / contain no-repeat;
}
.v1-logo {
  background-color: var(--v1-ink, var(--v1-engr));
  background-image: var(--v1-ink-img, var(--v1-hatch));
  transition: background-color .6s ease;
}

/* перерисовка: вектор-контур + рамка выделения + опорные точки */
.v1-vec { opacity: 0; transform: translate(-50%, -50%) scale(.94); transition: opacity .45s ease, transform .6s var(--v1-ease); }
.v1-vec-out { position: absolute; inset: 0; filter: url("#v1-ol"); }
.v1-vec-out > i { background: var(--v1-vecc); }
.v1-vec-box { position: absolute; inset: -8px; border: 1px solid var(--v1-vecc); }
.v1-h {
  position: absolute; width: 7px; height: 7px; margin: -4px 0 0 -4px;
  background: #fff; border: 1px solid var(--v1-vecc);
}
.v1-h:nth-child(1) { left: 0; top: 0; }
.v1-h:nth-child(2) { left: 50%; top: 0; }
.v1-h:nth-child(3) { left: 100%; top: 0; }
.v1-h:nth-child(4) { left: 100%; top: 50%; }
.v1-h:nth-child(5) { left: 100%; top: 100%; }
.v1-h:nth-child(6) { left: 50%; top: 100%; }
.v1-h:nth-child(7) { left: 0; top: 100%; }
.v1-h:nth-child(8) { left: 0; top: 50%; }
.v1-anc {
  position: absolute; width: 6px; height: 6px; margin: -3px 0 0 -3px;
  background: var(--v1-vecc); box-shadow: 0 0 0 1.5px #fff;
  animation: v1-pulse 2.4s ease-in-out infinite;
}
.v1-anc::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 40px; height: 5px;
  transform: translate(-50%, -50%) rotate(var(--v1-a));
  background:
    radial-gradient(circle at 2.5px 50%, var(--v1-vecc) 2px, rgba(0, 0, 0, 0) 2.5px),
    radial-gradient(circle at calc(100% - 2.5px) 50%, var(--v1-vecc) 2px, rgba(0, 0, 0, 0) 2.5px),
    linear-gradient(var(--v1-vecc), var(--v1-vecc)) center / 100% 1px no-repeat;
}
.v1-anc1 { left: 14%; top: 28%; --v1-a: -24deg; }
.v1-anc2 { left: 47%; top: 74%; --v1-a: 8deg; animation-delay: -.8s; }
.v1-anc3 { left: 83%; top: 36%; --v1-a: 32deg; animation-delay: -1.6s; }
.v1-vec-tag {
  position: absolute; left: -8px; top: -27px; padding: 2px 6px; border-radius: 3px;
  font-size: 10px; line-height: 1.4; letter-spacing: .08em; text-transform: uppercase;
  color: #fff; background: var(--v1-vecc);
}

.v1-serial {
  position: absolute; left: 50%; bottom: 11px; transform: translateX(-50%);
  font-size: 11px; font-weight: 600; letter-spacing: .14em; white-space: nowrap;
  color: var(--v1-ink, var(--v1-engr)); text-shadow: 0 1px 0 rgba(255, 255, 255, .38);
  opacity: 0; transition: opacity .4s ease;
}

/* лак */
.v1-lac { position: absolute; inset: 0; opacity: 0; background-repeat: no-repeat; transition: opacity .5s ease; }
.v1-root:has(.v1-lac-matte:checked) .v1-lac {
  background-color: rgba(235, 235, 235, .09);
  background-image: radial-gradient(rgba(255, 255, 255, .1) .6px, rgba(255, 255, 255, 0) .9px);
  background-size: 3px 3px; background-repeat: repeat;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
}
.v1-root:has(.v1-lac-gloss:checked) .v1-lac {
  background-image:
    linear-gradient(105deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, .6) 44%, rgba(255, 255, 255, .1) 50%, rgba(255, 255, 255, 0) 60%),
    linear-gradient(180deg, rgba(255, 255, 255, .28), rgba(255, 255, 255, 0) 45%);
  background-size: 260% 100%, 100% 100%;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35), inset 0 2px 8px rgba(255, 255, 255, .22);
  animation: v1-gloss 4.5s ease-in-out infinite;
}
.v1-root:has(.v1-in-lac:checked) .v1-lac { opacity: 1; }

/* ползущий блик (idle) и «свет» от поворота */
.v1-sheen {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0) 38%, rgba(255, 255, 255, .26) 48%, rgba(255, 255, 255, 0) 58%) no-repeat;
  background-size: 260% 100%;
  mix-blend-mode: screen;
  animation: v1-sheen 7s ease-in-out infinite;
  transition: opacity .5s ease;
}
.v1-back .v1-sheen { animation-delay: -3.5s; }
.v1-root:has(.v1-in-lac:checked):has(.v1-lac-matte:checked) .v1-sheen { opacity: .3; }
.v1-dim { position: absolute; inset: 0; background: #000; opacity: .06; pointer-events: none; transition: opacity 1.1s var(--v1-ease); }
.v1-back .v1-dim { opacity: .12; }

/* ламинация: лист плёнки с настоящим 3D-отслоённым углом */
.v1-fpack, .v1-bpack { position: absolute; inset: 0; transform-style: preserve-3d; pointer-events: none; }
.v1-fpack { transform: translateZ(calc(var(--v1-k, 1) * 5px + 1px)); }
.v1-bpack { transform: rotateY(180deg) translateZ(calc(var(--v1-k, 1) * 5px + 1px)); }
.v1-film {
  --v1-hx: 19px;
  position: absolute; inset: 3px; border-radius: max(0px, calc(var(--v1-r) - 3px));
  transform: translateZ(1.2px);
  background: linear-gradient(125deg, rgba(255, 255, 255, .17), rgba(255, 255, 255, .04) 40%, rgba(200, 225, 255, .1) 70%, rgba(255, 255, 255, .18));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4);
  clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 40px, 100% 100%, 0 100%);
  opacity: 0; transition: opacity .5s ease;
}
.v1-flap {
  position: absolute; top: 3px; right: 3px; width: 40px; height: 40px;
  transform: translateZ(1.4px) rotate3d(1, 1, 0, 0deg);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
  background: linear-gradient(225deg, rgba(255, 255, 255, .8), rgba(225, 235, 245, .38) 55%, rgba(255, 255, 255, .16));
  opacity: 0; transition: transform .9s var(--v1-ease) .15s, opacity .3s ease;
}
.v1-root:has(.v1-in-lam:checked) .v1-film { opacity: 1; }
.v1-root:has(.v1-in-lam:checked) .v1-flap { opacity: 1; transform: translateZ(1.4px) rotate3d(1, 1, 0, -118deg); }

/* люверсы: металлические кольца на обеих сторонах */
.v1-groms { position: absolute; inset: 0; filter: drop-shadow(0 1px 1.5px rgba(0, 0, 0, .55)); }
.v1-fpack .v1-groms { transform: translateZ(.8px); }
.v1-bpack .v1-groms { transform: translateZ(3.2px); }
.v1-g {
  position: absolute; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%;
  background:
    radial-gradient(circle, rgba(0, 0, 0, 0) 8px, rgba(255, 255, 255, .4) 9px, rgba(0, 0, 0, 0) 10px, rgba(0, 0, 0, .35) 11.6px),
    var(--v1-grom);
  -webkit-mask: radial-gradient(circle, rgba(0, 0, 0, 0) 6.6px, #000 7.2px 11.6px, rgba(0, 0, 0, 0) 12.3px);
  mask: radial-gradient(circle, rgba(0, 0, 0, 0) 6.6px, #000 7.2px 11.6px, rgba(0, 0, 0, 0) 12.3px);
  opacity: 0; transform: scale(1.6);
  transition: transform .5s cubic-bezier(.3, 1.6, .5, 1), opacity .3s ease;
}
.v1-g1 { left: var(--v1-hx); top: var(--v1-hx); }
.v1-g2 { left: calc(100% - var(--v1-hx)); top: var(--v1-hx); }
.v1-g3 { left: var(--v1-hx); top: calc(100% - var(--v1-hx)); }
.v1-g4 { left: calc(100% - var(--v1-hx)); top: calc(100% - var(--v1-hx)); }
.v1-g2 { transition-delay: .06s; }
.v1-g3 { transition-delay: .12s; }
.v1-g4 { transition-delay: .18s; }
.v1-root:has(.v1-in-grom:checked) .v1-g { opacity: 1; transform: scale(1); }

/* клейкая основа: слой клея + подложка с прорезью и отогнутым уголком */
.v1-glue {
  position: absolute; inset: 0; border-radius: var(--v1-r); transform: translateZ(1px);
  background: linear-gradient(135deg, rgba(255, 238, 200, .5), rgba(255, 226, 170, .28) 60%, rgba(255, 240, 210, .45));
  box-shadow: inset 0 0 0 1px rgba(255, 236, 196, .55);
  opacity: 0; transition: opacity .5s ease;
}
.v1-liner {
  --v1-hx: 20px;
  position: absolute; inset: 2px; border-radius: max(0px, calc(var(--v1-r) - 2px));
  transform: translateZ(10px);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0) calc(50% - 1px), rgba(0, 0, 0, .28) calc(50% - .5px), rgba(255, 255, 255, .7) calc(50% + .5px), rgba(0, 0, 0, 0) calc(50% + 1px)),
    repeating-linear-gradient(-45deg, rgba(120, 110, 90, .07) 0 9px, rgba(0, 0, 0, 0) 9px 18px),
    linear-gradient(160deg, #f1eee6, #dcd6c9);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 40px 100%, 0 calc(100% - 40px));
  opacity: 0; transition: opacity .4s ease, transform .7s var(--v1-ease);
}
.v1-lflap {
  position: absolute; left: 2px; bottom: 2px; width: 40px; height: 40px;
  transform: translateZ(2.6px) rotate3d(1, 1, 0, 0deg);
  clip-path: polygon(0 0, 0 100%, 100% 100%);
  background: linear-gradient(45deg, #fbf9f4, #d3ccbd 70%, #bdb5a5);
  opacity: 0; transition: transform .9s var(--v1-ease) .25s, opacity .3s ease;
}
.v1-root:has(.v1-in-glue:checked) .v1-glue { opacity: 1; }
.v1-root:has(.v1-in-glue:checked) .v1-liner { opacity: 1; transform: translateZ(2.4px); }
.v1-root:has(.v1-in-glue:checked) .v1-lflap { opacity: 1; transform: translateZ(2.6px) rotate3d(1, 1, 0, 112deg); }

/* подбор по номерам: стопка пластин */
.v1-ghost {
  position: absolute; left: calc(var(--v1-w) / -2); top: calc(var(--v1-h) / -2);
  width: var(--v1-w); height: var(--v1-h); border-radius: var(--v1-r);
  background: var(--v1-base);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22), 0 0 0 1.5px rgba(0, 0, 0, .55);
  opacity: 0; transform: translateZ(-6px);
  transition: transform .8s var(--v1-ease), opacity .5s ease;
}
.v1-gn {
  position: absolute; top: 3px; right: 9px; z-index: 1;
  font-size: 11px; font-weight: 600; letter-spacing: .1em;
  color: var(--v1-engr); text-shadow: 0 1px 0 rgba(255, 255, 255, .38);
}
.v1-root:has(.v1-in-num:checked) .v1-ghost1 { opacity: 1; transform: translate3d(18px, -18px, -26px); }
.v1-root:has(.v1-in-num:checked) .v1-ghost2 { opacity: .85; transform: translate3d(36px, -36px, -52px); transition-delay: .08s; }
.v1-root:has(.v1-in-num:checked) .v1-serial { opacity: 1; }

/* ---------- Состояния услуг → объект ---------- */
/* скругление углов */
.v1-root:has(.v1-in-round:checked) { --v1-r: 26px; }
/* отверстия / люверсы (люверсы подразумевают отверстие) */
.v1-root:has(.v1-in-holes:checked) { --v1-hr: 6px; }
.v1-root:has(.v1-in-grom:checked) { --v1-hr: 7px; }
/* перерисовка */
.v1-root:has(.v1-in-vec:checked) .v1-vec { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.v1-root:has(.v1-in-vec:checked) .v1-engr { opacity: .35; }
/* затирка */
.v1-root:has(.v1-in-fill:checked) { --v1-ink-img: linear-gradient(180deg, rgba(0, 0, 0, .3), rgba(255, 255, 255, .1) 60%, rgba(0, 0, 0, 0)); }
.v1-root:has(.v1-in-fill:checked):has(.v1-fill-black:checked) { --v1-ink: #141414; }
.v1-root:has(.v1-in-fill:checked):has(.v1-fill-white:checked) { --v1-ink: #f2f2ee; }
.v1-root:has(.v1-in-fill:checked):has(.v1-fill-gold:checked) {
  --v1-ink: #c9a243;
  --v1-ink-img: linear-gradient(160deg, #8a6a22, #f5df9b 40%, #b88c2e 60%, #f0d48a 80%, #7d5d1b);
}
/* закраска торцов */
.v1-root:has(.v1-in-edge:checked):has(.v1-edge-black:checked) { --v1-edge-paint: linear-gradient(180deg, #3a3a3a, #0b0b0b); --v1-edge-solid: #111; }
.v1-root:has(.v1-in-edge:checked):has(.v1-edge-white:checked) { --v1-edge-paint: linear-gradient(180deg, #ffffff, #d4d4cf); --v1-edge-solid: #f4f4f1; }
.v1-root:has(.v1-in-edge:checked) .v1-face::after {
  box-shadow: inset 0 0 0 1.5px var(--v1-edge-solid), inset 0 1px 0 rgba(255, 255, 255, .5), inset 0 -1px 0 rgba(0, 0, 0, .35);
}

/* ---------- Виды ---------- */
.v1-root:has(.v1-vw-front:checked) .v1-turn { transform: rotateX(0deg) rotateY(0deg); }
.v1-root:has(.v1-vw-front:checked) .v1-floor-turn { transform: rotate(0deg); }
.v1-root:has(.v1-vw-front:checked) .v1-front .v1-dim { opacity: 0; }
.v1-root:has(.v1-vw-back:checked) .v1-turn { transform: rotateX(4deg) rotateY(-154deg); }
.v1-root:has(.v1-vw-back:checked) .v1-floor-turn { transform: rotate(154deg); }
.v1-root:has(.v1-vw-back:checked) .v1-ghost { opacity: 0; }
.v1-root:has(.v1-vw-edge:checked) .v1-turn { transform: rotateX(-8deg) rotateY(-76deg) scale3d(1.2, 1.2, 1.2); }
.v1-root:has(.v1-vw-edge:checked) .v1-floor-turn { transform: rotate(76deg); }
.v1-root:has(.v1-vw-edge:checked) .v1-front .v1-dim { opacity: .34; }

/* наведение на «Клейкая основа» / «Закраска торцов» — превью нужной стороны */
@media (hover: hover) {
  .v1-root:has(.v1-svc--glue > .v1-tile:hover) .v1-turn { transform: rotateX(4deg) rotateY(-154deg); }
  .v1-root:has(.v1-svc--glue > .v1-tile:hover) .v1-floor-turn { transform: rotate(154deg); }
  .v1-root:has(.v1-svc--glue > .v1-tile:hover) .v1-ghost { opacity: 0; }
  .v1-root:has(.v1-svc--edge > .v1-tile:hover) .v1-turn { transform: rotateX(-8deg) rotateY(-76deg) scale3d(1.2, 1.2, 1.2); }
  .v1-root:has(.v1-svc--edge > .v1-tile:hover) .v1-floor-turn { transform: rotate(76deg); }
  /* остальные услуги: отделка и форма видны лучше спереди, нумерация — под углом (стопка пластин за образцом) */
  .v1-root:has(:is(.v1-svc--fill, .v1-svc--lac, .v1-svc--lam, .v1-svc--vec, .v1-svc--round, .v1-svc--holes, .v1-svc--grom) > .v1-tile:hover) .v1-turn { transform: rotateX(0deg) rotateY(0deg); }
  .v1-root:has(:is(.v1-svc--fill, .v1-svc--lac, .v1-svc--lam, .v1-svc--vec, .v1-svc--round, .v1-svc--holes, .v1-svc--grom) > .v1-tile:hover) .v1-floor-turn { transform: rotate(0deg); }
  .v1-root:has(.v1-svc--num > .v1-tile:hover) .v1-turn { transform: rotateX(4deg) rotateY(-34deg); }
  .v1-root:has(.v1-svc--num > .v1-tile:hover) .v1-floor-turn { transform: rotate(34deg); }
}
/* то же при фокусе с клавиатуры (Tab по услугам) — работает и без мыши */
.v1-root:has(.v1-svc--glue > .v1-in:focus-visible) .v1-turn { transform: rotateX(4deg) rotateY(-154deg); }
.v1-root:has(.v1-svc--glue > .v1-in:focus-visible) .v1-floor-turn { transform: rotate(154deg); }
.v1-root:has(.v1-svc--glue > .v1-in:focus-visible) .v1-ghost { opacity: 0; }
.v1-root:has(.v1-svc--edge > .v1-in:focus-visible) .v1-turn { transform: rotateX(-8deg) rotateY(-76deg) scale3d(1.2, 1.2, 1.2); }
.v1-root:has(.v1-svc--edge > .v1-in:focus-visible) .v1-floor-turn { transform: rotate(76deg); }
.v1-root:has(:is(.v1-svc--fill, .v1-svc--lac, .v1-svc--lam, .v1-svc--vec, .v1-svc--round, .v1-svc--holes, .v1-svc--grom) > .v1-in:focus-visible) .v1-turn { transform: rotateX(0deg) rotateY(0deg); }
.v1-root:has(:is(.v1-svc--fill, .v1-svc--lac, .v1-svc--lam, .v1-svc--vec, .v1-svc--round, .v1-svc--holes, .v1-svc--grom) > .v1-in:focus-visible) .v1-floor-turn { transform: rotate(0deg); }
.v1-root:has(.v1-svc--num > .v1-in:focus-visible) .v1-turn { transform: rotateX(4deg) rotateY(-34deg); }
.v1-root:has(.v1-svc--num > .v1-in:focus-visible) .v1-floor-turn { transform: rotate(34deg); }

/* ---------- HUD на стенде ---------- */
.v1-hud {
  position: absolute; z-index: 3; margin: 0; padding: 0; list-style: none; pointer-events: none;
  font-size: 10.5px; line-height: 14px; letter-spacing: .2em; text-transform: uppercase; color: var(--v1-mut);
}
.v1-hud--tl, .v1-hud--tr { top: 24px; display: flex; flex-direction: column; gap: 4px; max-width: calc(50% - 32px); }
.v1-hud--tl { left: 26px; }
.v1-hud--tr { right: 26px; align-items: flex-end; text-align: right; }
.v1-hud-big {
  font-size: 15px; line-height: 20px; font-weight: 600; letter-spacing: -.005em; text-transform: none; color: var(--v1-fg);
  text-shadow: 0 1px 12px rgba(0, 0, 0, .8);
}
.v1-hm, .v1-hw, .v1-hv { display: none; }
.v1-root:has(.v1-mi-alu:checked) .v1-hm-alu,
.v1-root:has(.v1-mi-steel:checked) .v1-hm-steel,
.v1-root:has(.v1-mi-brass:checked) .v1-hm-brass,
.v1-root:has(.v1-vw-front:checked) .v1-hw-front,
.v1-root:has(.v1-vw-angle:checked) .v1-hw-angle,
.v1-root:has(.v1-vw-back:checked) .v1-hw-back,
.v1-root:has(.v1-vw-edge:checked) .v1-hw-edge { display: inline; }

.v1-hud--bl { left: 24px; right: 24px; bottom: 22px; display: flex; flex-wrap: wrap; gap: 6px; }
.v1-hud--bl li {
  display: none; align-items: center; min-height: 26px; padding: 4px 11px 4px 10px;
  border: 1px solid var(--v1-line2); border-radius: 999px; background: rgba(10, 10, 10, .78);
  color: var(--v1-fg); font-size: 10px; line-height: 16px; letter-spacing: .14em; white-space: nowrap;
  animation: v1-pop var(--v1-t2) var(--v1-ease);
}
.v1-hud--bl li::before { content: ""; flex: none; width: 5px; height: 5px; margin-right: 8px; border-radius: 50%; background: var(--v1-accent); }
.v1-hud--bl .v1-hv { margin-left: .4em; }
.v1-hud--bl .v1-hl-empty::before { background: var(--v1-line2); }
.v1-hud--bl .v1-hl-hint { border-style: dashed; color: var(--v1-mut); }
.v1-hud--bl .v1-hl-hint::before { content: none; }
.v1-root:not(:has(.v1-in:checked)) .v1-hl-empty,
.v1-root:has(.v1-in-fill:checked) .v1-hl-fill,
.v1-root:has(.v1-in-lac:checked) .v1-hl-lac,
.v1-root:has(.v1-in-lam:checked) .v1-hl-lam,
.v1-root:has(.v1-in-edge:checked) .v1-hl-edge,
.v1-root:has(.v1-in-glue:checked) .v1-hl-glue,
.v1-root:has(.v1-in-vec:checked) .v1-hl-vec,
.v1-root:has(.v1-in-round:checked) .v1-hl-round,
.v1-root:has(.v1-in-holes:checked) .v1-hl-holes,
.v1-root:has(.v1-in-grom:checked) .v1-hl-grom,
.v1-root:has(.v1-in-num:checked) .v1-hl-num,
.v1-root:has(.v1-in-glue:checked):not(:has(.v1-vw-back:checked)) .v1-hl-hint-glue,
.v1-root:has(.v1-in-edge:checked):not(:has(.v1-vw-edge:checked)) .v1-hl-hint-edge { display: flex; }
.v1-root:has(.v1-fill-black:checked) .v1-hv-fill-black,
.v1-root:has(.v1-fill-white:checked) .v1-hv-fill-white,
.v1-root:has(.v1-fill-gold:checked) .v1-hv-fill-gold,
.v1-root:has(.v1-lac-matte:checked) .v1-hv-lac-matte,
.v1-root:has(.v1-lac-gloss:checked) .v1-hv-lac-gloss,
.v1-root:has(.v1-edge-black:checked) .v1-hv-edge-black,
.v1-root:has(.v1-edge-white:checked) .v1-hv-edge-white { display: inline; }

/* ---------- Переключатель вида ---------- */
.v1-views {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; margin-top: 12px; padding: 4px;
  border: 1px solid var(--v1-line); border-radius: 14px; background: var(--v1-tile);
}
.v1-vw {
  position: relative; display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 12px;
  border-radius: 10px; font-size: 13.5px; line-height: 1.2; text-align: center; white-space: nowrap; color: var(--v1-mut); cursor: pointer;
}
@media (hover: hover) {
  .v1-vw:hover { color: var(--v1-fg); background-color: rgba(245, 245, 245, .05); }
}
.v1-vw:has(.v1-vr:checked) {
  background: var(--v1-fg); color: #0a0a0a; font-weight: 600;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 4px 14px rgba(0, 0, 0, .45);
}
.v1-vw:has(.v1-vr:focus-visible) { outline: 2px solid var(--v1-accent); outline-offset: 2px; }

/* ---------- Услуги ---------- */
.v1-svcs { grid-area: svcs; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.v1-list { display: flex; flex-direction: column; gap: 8px; }
.v1-svc { position: relative; min-width: 0; }
/* сетка строки: № — название/подпись — галочка; № стоит на базовой линии названия */
.v1-tile {
  display: grid; grid-template-columns: 26px minmax(0, 1fr) 24px; align-items: center; align-content: center; gap: 0 12px;
  min-height: 64px; padding: 12px 14px;
  border: 1px solid var(--v1-line); border-radius: 14px; background: var(--v1-tile); cursor: pointer;
}
@media (hover: hover) {
  .v1-tile:hover { border-color: var(--v1-line2); background-color: #131313; }
  .v1-tile:hover .v1-key { border-color: rgba(245, 245, 245, .45); }
}
.v1-idx {
  align-self: baseline; font-size: 11px; line-height: 18px; letter-spacing: .08em; color: var(--v1-mut);
  font-variant-numeric: tabular-nums; transition: color var(--v1-t1) ease;
}
.v1-tt { align-self: baseline; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.v1-name { font-size: 14.5px; font-weight: 600; line-height: 18px; letter-spacing: -.005em; text-wrap: balance; }
.v1-cap { font-size: 12.5px; line-height: 17px; color: var(--v1-mut); }
.v1-key {
  position: relative; width: 24px; height: 24px; border-radius: 7px;
  border: 1px solid var(--v1-line2); background: linear-gradient(180deg, #1c1c1c, #0d0d0d);
  transition: background-color var(--v1-t1) ease, border-color var(--v1-t1) ease, box-shadow var(--v1-t1) ease;
}
.v1-key::after {
  content: ""; position: absolute; left: 8px; top: 3.5px; width: 6px; height: 12px;
  border: solid #0a0a0a; border-width: 0 2px 2px 0;
  opacity: 0; transform: rotate(45deg) scale(.4); transition: opacity var(--v1-t1) ease, transform var(--v1-t2) var(--v1-ease);
}
.v1-in:checked + .v1-tile {
  border-color: color-mix(in srgb, var(--v1-accent) 55%, transparent);
  background: linear-gradient(180deg, rgba(255, 255, 255, .065), rgba(255, 255, 255, .02));
}
.v1-in:checked + .v1-tile .v1-idx { color: var(--v1-accent); }
.v1-in:checked + .v1-tile .v1-key {
  background: var(--v1-accent); border-color: var(--v1-accent);
  box-shadow: 0 0 14px color-mix(in srgb, var(--v1-accent) 45%, transparent);
}
.v1-in:checked + .v1-tile .v1-key::after { opacity: 1; transform: rotate(45deg) scale(1); }
.v1-in:focus-visible + .v1-tile { outline: 2px solid var(--v1-accent); outline-offset: 2px; }

/* раскрывающиеся под-опции (скрыты = не фокусируются) */
.v1-sub {
  display: grid; grid-template-rows: 0fr; visibility: hidden;
  transition: grid-template-rows var(--v1-t2) var(--v1-ease), visibility var(--v1-t2);
}
.v1-sub-in { min-height: 0; overflow: hidden; }
/* варианты начинаются по линии названия услуги: 1 рамка + 14 поле + 26 № + 12 зазор */
.v1-sub-pad {
  padding: 12px 53px 6px 53px;   /* слева — по линии названия (1 рамка + 14 поле + 26 № + 12 зазор), справа столько же: ряд кружков по центру карточки */
  opacity: 0; transform: translateY(-4px);
  transition: opacity var(--v1-t1) ease, transform var(--v1-t2) var(--v1-ease);
}
.v1-sub-pad { text-align: center; }
.v1-svc:has(> .v1-in:checked) > .v1-sub { grid-template-rows: 1fr; visibility: visible; }
.v1-svc:has(> .v1-in:checked) > .v1-sub .v1-sub-pad { opacity: 1; transform: none; transition-delay: .06s; }

/* свотчи: ряд кружков, подпись выбранного (или наведённого) — строкой ниже.
   Подписи остаются текстом метки (доступное имя), просто видна одна. */
.v1-sws { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0; padding-bottom: 24px; }   /* ряд по центру карточки; поле метки 44px шире кружка 26px */
.v1-sws:has(.v1-sw:nth-child(6)) { justify-content: space-between; gap: 0; }   /* шесть кружков занимают всю ширину и остаются в одну строку */
.v1-sw {
  display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.v1-sw > span:last-child {
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); pointer-events: none; white-space: nowrap;
  font-size: 12.5px; line-height: 18px; color: var(--v1-fg);
  opacity: 0; transition: opacity var(--v1-t1) ease;
}
.v1-sw:has(.v1-rd:checked) > span:last-child { opacity: 1; }
@media (hover: hover) {
  .v1-sws:has(.v1-sw:hover) .v1-sw > span:last-child { opacity: 0; }
  .v1-sws .v1-sw:hover > span:last-child { opacity: 1; }
  .v1-sw:hover .v1-dot { transform: scale(1.1); }
}
.v1-dot {
  width: 26px; height: 26px; border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28), 0 0 0 2px var(--v1-bg), 0 0 0 3.5px rgba(245, 245, 245, 0);
  transition: box-shadow var(--v1-t1) ease, transform var(--v1-t2) var(--v1-ease);
}
.v1-sw:active .v1-dot { transform: scale(.92); }
.v1-sw:has(.v1-rd:checked) .v1-dot { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28), 0 0 0 2.5px var(--v1-bg), 0 0 0 4.5px var(--v1-accent); }
.v1-sw:has(.v1-rd:focus-visible) { outline: 2px solid var(--v1-accent); outline-offset: 0; }
.v1-sw--black .v1-dot { background: #141414; }
.v1-sw--white .v1-dot { background: #f2f2ee; }
.v1-sw--gold .v1-dot { background: linear-gradient(160deg, #8a6a22, #f5df9b 45%, #b88c2e 70%, #7d5d1b); }
.v1-root .v1-note { margin: 4px 0 0; text-align: center; font-size: 12.5px; line-height: 17px; color: var(--v1-mut); }

.v1-seg {
  display: inline-grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px;
  border: 1px solid var(--v1-line); border-radius: 14px; background: #0d0d0d;
}
.v1-sg {
  position: relative; display: flex; align-items: center; justify-content: center; min-width: 112px; min-height: 40px; padding: 0 18px;
  border-radius: 10px; font-size: 13.5px; line-height: 1.2; white-space: nowrap; color: var(--v1-mut); cursor: pointer;
}
@media (hover: hover) {
  .v1-sg:hover { color: var(--v1-fg); background-color: rgba(245, 245, 245, .05); }
}
.v1-sg:has(.v1-rd:checked) {
  background: var(--v1-fg); color: #0a0a0a; font-weight: 600;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 4px 14px rgba(0, 0, 0, .45);
}
.v1-sg:has(.v1-rd:focus-visible) { outline: 2px solid var(--v1-accent); outline-offset: 2px; }

/* ещё 5 услуг */
.v1-more {
  border: 1px solid var(--v1-line); border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .025), rgba(255, 255, 255, 0));
  transition: border-color var(--v1-t1) ease;
}
.v1-more[open] { border-color: var(--v1-line2); }
/* шапка по той же сетке, что и вложенные строки: «+» над №, название над названиями, шеврон над галочками */
.v1-sum {
  position: relative;
  display: grid; grid-template-columns: 26px minmax(0, 1fr) 24px; align-items: center; gap: 0 12px;
  min-height: 64px; padding: 12px 25px;
  border-radius: 15px; list-style: none; cursor: pointer;
}
.v1-sum::before {
  content: "+"; content: "+" / "";
  align-self: baseline; font-size: 15px; line-height: 18px; color: var(--v1-mut);
}
.v1-sum::-webkit-details-marker { display: none; }
.v1-sum::marker { content: ""; }
@media (hover: hover) {
  .v1-sum:hover { background-color: rgba(245, 245, 245, .03); }
  .v1-sum:hover .v1-chev { border-color: rgba(245, 245, 245, .45); }
}
.v1-sum:focus-visible { outline: 2px solid var(--v1-accent); outline-offset: 2px; }
.v1-sum-t { align-self: baseline; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.v1-sum-n { font-size: 14.5px; line-height: 18px; font-weight: 600; letter-spacing: -.005em; }
.v1-sum-c { font-size: 12.5px; line-height: 17px; color: var(--v1-mut); text-wrap: pretty; }
/* «внутри что-то выбрано» — метка-бейдж на углу шеврона, не отнимает ширину у текста */
.v1-sum-dot {
  position: absolute; top: 50%; right: 25px; z-index: 1; width: 7px; height: 7px; margin: -15px -3px 0 0; border-radius: 50%;
  background: var(--v1-accent); box-shadow: 0 0 10px var(--v1-accent);
  opacity: 0; transform: scale(.4); transition: opacity var(--v1-t1) ease, transform var(--v1-t2) var(--v1-ease);
}
.v1-more:has(.v1-in:checked) .v1-sum-dot { opacity: 1; transform: none; }
.v1-chev {
  position: relative; flex: none; width: 24px; height: 24px; border: 1px solid var(--v1-line2); border-radius: 7px;
  transition: transform var(--v1-t2) var(--v1-ease), border-color var(--v1-t1) ease;
}
.v1-chev::after {
  content: ""; position: absolute; left: 8px; top: 6px; width: 6px; height: 6px;
  border: solid var(--v1-fg); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg);
}
.v1-more[open] .v1-chev { transform: rotate(180deg); }
/* плавное раскрытие (Chrome/Edge 131+); где не поддерживается — открывается сразу */
.v1-more { interpolate-size: allow-keywords; }
.v1-more::details-content {
  block-size: 0; overflow: hidden;
  transition: block-size var(--v1-t2) var(--v1-ease), content-visibility var(--v1-t2) allow-discrete;
}
.v1-more[open]::details-content { block-size: auto; }
.v1-more[open] .v1-list--x { animation: v1-fade var(--v1-t2) var(--v1-ease); }
/* вложенный список — в одну колонку, в том же виде, что и основные услуги (без «сирот» и разных высот) */
.v1-list--x { padding: 2px 10px 10px; }

/* ---------- Анимации ---------- */
@keyframes v1-bob {
  0%, 100% { transform: translate3d(0, 0, 0) rotateY(-2.5deg) rotateZ(-.35deg); }
  50% { transform: translate3d(0, -10px, 0) rotateY(2.5deg) rotateZ(.35deg); }
}
@keyframes v1-shad {
  0%, 100% { transform: scale(1); opacity: .9; }
  50% { transform: scale(.88); opacity: .6; }
}
@keyframes v1-sheen {
  0% { background-position: 0% 0; }
  60%, 100% { background-position: 100% 0; }
}
@keyframes v1-gloss {
  0% { background-position: 0% 0, 0 0; }
  55%, 100% { background-position: 100% 0, 0 0; }
}
@keyframes v1-pop {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: none; }
}
@keyframes v1-pulse {
  0%, 100% { box-shadow: 0 0 0 1.5px #fff; }
  50% { box-shadow: 0 0 0 3px rgba(255, 255, 255, .5); }
}
@keyframes v1-fade {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Узкий стенд (планшет, узкая колонка) — образец целиком в кадре ---------- */
@container v1stage (max-width: 500px) {
  .v1-stage { height: 420px; }
  .v1-scene { transform: rotateX(-12deg) scale3d(.86, .86, .86); }
}
@container v1stage (max-width: 420px) {
  .v1-stage { height: 380px; }
  .v1-scene { transform: rotateX(-12deg) scale3d(.74, .74, .74); }
  .v1-hud--bl li { font-size: 9.5px; letter-spacing: .12em; }
}

/* ---------- Планшет: плитки материала плотнее, название в одну строку ---------- */
@media (min-width: 761px) and (max-width: 1040px) {
  .v1-mat { gap: 12px; padding: 14px 26px 14px 14px; }
  .v1-mat-n { font-size: 14px; }
  .v1-mat-c { font-size: 12px; }
}

/* ---------- Телефон ---------- */
@media (max-width: 760px) {
  .v1-root {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "head" "mats" "stage" "svcs";
    gap: 20px; padding: 22px 16px 16px; border-radius: 18px;
  }
  .v1-title { font-size: 22px; }
  .v1-root .v1-lead { font-size: 13.5px; }
  /* «Нержавеющая» — самое длинное слово: средней плитке чуть больше места */
  .v1-mat-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1fr); gap: 6px; }
  .v1-mat { flex-direction: column; justify-content: center; gap: 8px; min-height: 92px; padding: 14px 4px 12px; text-align: center; }
  .v1-mat::after { top: 9px; right: 9px; }
  .v1-mat-t { align-items: center; }
  .v1-mat-n { font-size: 13px; line-height: 1.2; hyphens: manual; }
  .v1-mat-c { display: none; }
  .v1-coin { width: 32px; height: 32px; }

  .v1-stagewrap {
    top: 0; z-index: 5; margin: 0 -16px; padding: 8px 16px 12px;
    background: linear-gradient(180deg, var(--v1-bg) 88%, rgba(10, 10, 10, 0));
  }
  .v1-stage { height: 236px; border-radius: 14px; perspective: 800px; }
  .v1-scene { top: 55%; transform: rotateX(-12deg) scale3d(.55, .55, .55); }
  .v1-hud { font-size: 10px; letter-spacing: .18em; }
  .v1-hud--tl, .v1-hud--tr { top: 16px; gap: 2px; max-width: none; white-space: nowrap; }
  .v1-hud--tl { left: 18px; }
  .v1-hud--tr { right: 18px; }
  .v1-hud-big { font-size: 13px; line-height: 17px; }
  .v1-hud--bl { display: none; }
  .v1-stage::before { inset: 8px; }
  /* вид: ширина по тексту + поровну свободного места — «Под углом» в одну строку */
  .v1-views { grid-template-columns: repeat(4, auto); margin-top: 8px; gap: 2px; padding: 3px; border-radius: 13px; }
  .v1-vw { padding: 0 6px; font-size: 12.5px; }

  .v1-tile { padding: 12px 14px; }
  .v1-sub-pad { padding-left: 8px; padding-right: 8px; }   /* шесть кружков по 44px должны помещаться в одну строку даже на 360–375px */
  .v1-sum { padding: 12px 21px; }
  .v1-sum-dot { right: 21px; }
  .v1-list--x { padding: 2px 6px 6px; }
  .v1-list--x .v1-tile { padding: 12px 14px; }
}

/* ---------- Без анимаций ---------- */
@media (prefers-reduced-motion: reduce) {
  .v1-root,
  .v1-root *,
  .v1-root *::before,
  .v1-root *::after { animation: none !important; transition: none !important; }
  .v1-more::details-content { transition: none !important; }
  .v1-mat:active, .v1-tile:active, .v1-sum:active, .v1-vw:active, .v1-sg:active { transform: none; }
}

/* ===== «Вид образца»: карусель ракурсов на сцене — стрелки, точки, счётчик (вариант «Стрелки и точки») ===== */
/* Вид образца · вариант 5 «Стрелки и точки»
   Карусель ракурсов прямо на сцене: стрелки ‹ › по бокам (label на соседний ракурс, по кругу),
   точки-пагинация снизу (это и есть 4 radio), крупное название и счётчик 02/04 справа сверху.
   Отдельной строки нет — минимальная высота, всё под большим пальцем. */

.vw5-root { --vw5-ease: cubic-bezier(.2, .8, .2, 1); }

/* чипы услуг — над точками */
.vw5-root .v1-hud--bl { bottom: 60px; }

/* ---------- название + счётчик ---------- */
.vw5-title .v1-hud-big { font-size: 19px; line-height: 24px; letter-spacing: -.01em; }
.vw5-n { display: none; color: var(--v1-fg); font-variant-numeric: tabular-nums; }
.vw5-of { color: var(--v1-mut); }
.vw5-root:has(.v1-vw-front:checked) .vw5-n-front,
.vw5-root:has(.v1-vw-angle:checked) .vw5-n-angle,
.vw5-root:has(.v1-vw-edge:checked) .vw5-n-edge,
.vw5-root:has(.v1-vw-back:checked) .vw5-n-back { display: inline; }
/* смена названия — короткий «въезд» (inline-block, чтобы работал transform) */
.vw5-root:has(.v1-vw-front:checked) .vw5-title .v1-hw-front,
.vw5-root:has(.v1-vw-angle:checked) .vw5-title .v1-hw-angle,
.vw5-root:has(.v1-vw-edge:checked) .vw5-title .v1-hw-edge,
.vw5-root:has(.v1-vw-back:checked) .vw5-title .v1-hw-back { display: inline-block; animation: vw5-in .55s var(--vw5-ease); }
@keyframes vw5-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- стрелки ---------- */
.vw5-arr {
  position: absolute; z-index: 4; top: 50%; display: none; place-items: center;
  width: 44px; height: 44px; margin-top: -22px; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--v1-line2); background: rgba(14, 14, 14, .72);
  -webkit-tap-highlight-color: transparent;
  transition: background-color .2s ease, border-color .2s ease, transform .25s var(--vw5-ease);
}
.vw5-prev { left: 14px; }
.vw5-next { right: 14px; }
.vw5-arr > i {
  width: 9px; height: 9px; border: solid var(--v1-fg); border-width: 0 0 1.75px 1.75px;
  transform: translateX(1.5px) rotate(45deg);
}
.vw5-next > i { transform: translateX(-1.5px) rotate(-135deg); }
.vw5-root:has(.v1-vw-front:checked) .vw5-on-front,
.vw5-root:has(.v1-vw-angle:checked) .vw5-on-angle,
.vw5-root:has(.v1-vw-edge:checked) .vw5-on-edge,
.vw5-root:has(.v1-vw-back:checked) .vw5-on-back { display: grid; }
@media (hover: hover) {
  .vw5-arr:hover { background: rgba(32, 32, 32, .9); border-color: rgba(245, 245, 245, .5); }
  .vw5-prev:hover { transform: translateX(-2px); }
  .vw5-next:hover { transform: translateX(2px); }
}
.vw5-arr:active { transform: scale(.92); }

/* ---------- точки (настоящие radio) ---------- */
.vw5-dots {
  position: absolute; z-index: 4; left: 50%; bottom: 8px; display: flex; transform: translateX(-50%);
  padding: 0 4px; border-radius: 999px;
}
.vw5-dot {
  position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.vw5-dot > i {
  width: 7px; height: 7px; border-radius: 4px; background: rgba(245, 245, 245, .42);
  transition: width .45s var(--vw5-ease), background-color .3s ease;
}
@media (hover: hover) {
  .vw5-dot:hover > i { background: var(--v1-fg); }
}
.vw5-dot:has(.v1-vr:checked) > i { width: 26px; background: var(--v1-accent); }
.vw5-dot:has(.v1-vr:focus-visible) { outline: 2px solid var(--v1-accent); outline-offset: -6px; }
.vw5-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- телефон ---------- */
@media (max-width: 760px) {
  .vw5-root .v1-stage { height: 240px; }
  .vw5-root .v1-scene { top: 47%; transform: rotateX(-12deg) scale3d(.56, .56, .56); }
  .vw5-title .v1-hud-big { font-size: 15px; line-height: 19px; }
  .vw5-prev { left: 8px; }
  .vw5-next { right: 8px; }
  .vw5-dots { bottom: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  .vw5-title .v1-hw { animation: none !important; }
  .vw5-arr, .vw5-dot > i { transition: none !important; }
  .vw5-arr:active { transform: none; }
}

/* ===== Отделка поверхности: алюминий — гладкий анодированный; сталь — шлифованная / зеркальная; латунь — шлифованная / полированная ===== */
.v1-m-steel-mir,
.v1-root:has(.v1-mi-steel:checked):has(.v1-fin-steel-mirror:checked) {
  --v1-base:
    linear-gradient(180deg, rgba(255, 255, 255, .36), rgba(255, 255, 255, 0) 26%, rgba(0, 0, 0, 0) 58%, rgba(0, 0, 0, .3)),
    linear-gradient(104deg, #d5dbe2 0%, #fcfdfe 11%, #7a838d 23%, #e8ecf0 35%, #3a4047 46%, #adb5bd 57%, #f8fafb 67%, #596169 79%, #ced4da 91%, #8a929b 100%);
  --v1-noise: none;
  --v1-noise-o: 0;
  --v1-vign: inset 0 0 18px rgba(10, 20, 30, .36);
  --v1-edge: linear-gradient(180deg, #f4f7fa, #9aa2ab 50%, #5d646c);
  --v1-engr: #262c32;
  --v1-accent: #d6e6fb;
  --v1-glow: rgba(170, 205, 245, .24);
  --v1-grom: conic-gradient(from 200deg, #ffffff, #6e767f, #eef2f6, #50585f, #ffffff);
}
.v1-m-brass-pol,
.v1-root:has(.v1-mi-brass:checked):has(.v1-fin-brass-polished:checked) {
  --v1-base:
    linear-gradient(180deg, rgba(255, 246, 214, .4), rgba(255, 246, 214, 0) 28%, rgba(60, 30, 0, 0) 56%, rgba(60, 30, 0, .32)),
    linear-gradient(106deg, #b8892f 0%, #f7e2a1 11%, #8a5f14 24%, #f2d27c 37%, #5f400b 49%, #d9ac4a 59%, #fff0b8 69%, #94671a 81%, #e9c56c 92%, #a67720 100%);
  --v1-noise: none;
  --v1-noise-o: 0;
  --v1-vign: inset 0 0 18px rgba(70, 40, 5, .5), inset 0 0 2px rgba(40, 25, 5, .6);
  --v1-edge: linear-gradient(180deg, #f6dc9a, #b68530 55%, #6b4a16);
  --v1-engr: #402708;
  --v1-accent: #f0cd7e;
  --v1-glow: rgba(240, 190, 100, .28);
  --v1-grom: conic-gradient(from 200deg, #fff6d8, #9b7430, #f7dc98, #6e5020, #fff6d8);
}
.v1-root:has(.v1-mi-steel:checked):has(.v1-fin-steel-mirror:checked) .v1-L.v1-m-steel-mir,
.v1-root:has(.v1-mi-brass:checked):has(.v1-fin-brass-polished:checked) .v1-L.v1-m-brass-pol { opacity: 1; }

/* выбор отделки под карточками материала: появляется для стали и латуни */
.v1-fins { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--v1-ease); }
.v1-fins { grid-template-rows: 1fr; }   /* у каждого материала есть свой выбор: алюминий — толщина, сталь и латунь — поверхность */
.v1-fins-in { min-height: 0; overflow: hidden; }
.v1-fin { display: none; align-items: center; flex-wrap: wrap; gap: 8px 14px; padding-top: 12px; }
.v1-root:has(.v1-mi-alu:checked) .v1-fin-alu,
.v1-root:has(.v1-mi-steel:checked) .v1-fin-steel,
.v1-root:has(.v1-mi-brass:checked) .v1-fin-brass { display: flex; animation: v1-fin-in .5s var(--v1-ease) both; }
.v1-fin-l { font-size: 10.5px; line-height: 16px; letter-spacing: .2em; text-transform: uppercase; color: var(--v1-mut); }
@keyframes v1-fin-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .v1-fins { transition: none; } .v1-fin { animation: none !important; } }

/* подпись отделки под названием материала в HUD сцены */
.v1-hm::after { display: block; margin-top: 2px; font-size: 9.5px; line-height: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 400; color: var(--v1-mut); }
.v1-hm-alu::after { content: "гладкий анодированный"; }
.v1-hm-steel::after { content: "шлифованная"; }
.v1-hm-brass::after { content: "шлифованная"; }
.v1-root:has(.v1-fin-steel-mirror:checked) .v1-hm-steel::after { content: "зеркальная"; }
.v1-root:has(.v1-fin-brass-polished:checked) .v1-hm-brass::after { content: "полированная"; }
@media (max-width: 760px) { .v1-hm::after { display: none; } }   /* на телефоне подпись отделки в сцене не помещается рядом с образцом — отделка и так видна в выборе «Поверхность» выше */

/* ===== Толщина алюминия: 0,5 / 0,8 / 1 / 1,5 / 2 / 2,5 мм — меняет толщину образца (--v1-k) и подпись в сцене ===== */
.v1-seg--th { grid-template-columns: repeat(6, auto); }
.v1-seg--th .v1-sg { min-width: 52px; padding: 0 12px; }
.v1-sl, .v1-front, .v1-back, .v1-fpack, .v1-bpack { transition: transform .8s var(--v1-ease); }
.v1-root:has(.v1-th-05:checked) { --v1-k: .6; }
.v1-root:has(.v1-th-08:checked) { --v1-k: .8; }
.v1-root:has(.v1-th-10:checked) { --v1-k: 1; }
.v1-root:has(.v1-th-15:checked) { --v1-k: 1.2; }
.v1-root:has(.v1-th-20:checked) { --v1-k: 1.4; }
.v1-root:has(.v1-th-25:checked) { --v1-k: 1.6; }
.v1-root:has(.v1-th-05:checked) .v1-hm-alu::after { content: "анодированный · 0,5 мм"; }
.v1-root:has(.v1-th-08:checked) .v1-hm-alu::after { content: "анодированный · 0,8 мм"; }
.v1-root:has(.v1-th-10:checked) .v1-hm-alu::after { content: "анодированный · 1 мм"; }
.v1-root:has(.v1-th-15:checked) .v1-hm-alu::after { content: "анодированный · 1,5 мм"; }
.v1-root:has(.v1-th-20:checked) .v1-hm-alu::after { content: "анодированный · 2 мм"; }
.v1-root:has(.v1-th-25:checked) .v1-hm-alu::after { content: "анодированный · 2,5 мм"; }
@media (max-width: 560px) { .v1-seg--th { width: 100%; grid-template-columns: repeat(6, 1fr); gap: 2px; } .v1-seg--th .v1-sg { min-width: 0; padding: 0 4px; } }   /* шесть значений в одну строку на всю ширину */
.v1-fin-alu .v1-seg--th { max-width: 100%; }
