/* === 10: главная — герой «по размеру», строка акции, «O nas» (25.09) === */
.h2s{background:#ECEBE6;color:var(--2s-ink,#2B2522);font-family:var(--2s-font,"DM Sans",Arial,sans-serif);overflow:hidden}
/* Фон #ECEBE6 — в тон студийного фона фото (замер 25.09): фото не выглядит вклеенным. */
.h2s-in{max-width:1235px;margin:0 auto;display:grid;grid-template-columns:1fr 1fr;min-height:520px}
.h2s-text{padding:56px 40px;align-self:center;position:relative;z-index:2}
.h2s h1{font-family:var(--2s-font-display,Fraunces,Georgia,serif);font-weight:500;font-size:52px;line-height:1.08;margin:0 0 18px;color:var(--2s-ink,#2B2522);text-transform:none;letter-spacing:0}
.h2s-lead{font-size:18px;line-height:1.55;margin:0 0 26px;max-width:28em;color:var(--2s-text,#464646)}
.h2s-label{font-weight:600;font-size:16px;margin:0 0 10px;color:var(--2s-ink,#2B2522)}
.h2s-chips{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 24px}
html body .h2s-chip{display:inline-flex;align-items:center;justify-content:center;min-width:58px;min-height:48px;padding:0 14px;border:1px solid #948c88;border-radius:24px;background:#fff;color:var(--2s-ink,#2B2522);font-size:17px;line-height:1;text-decoration:none}
html body .h2s-chip:hover,html body .h2s-chip:focus-visible{border-color:var(--2s-ink,#2B2522);color:var(--2s-ink,#2B2522)}
.h2s-chip:focus-visible,.h2s-link:focus-visible,.l2s-more:focus-visible{outline:3px solid var(--2s-ink,#2B2522);outline-offset:2px}
.h2s-cta{display:flex;gap:22px;align-items:center;flex-wrap:wrap}
html body .h2s-link,html body .l2s-more{font-size:16px;color:var(--2s-ink,#2B2522);text-decoration:underline;text-underline-offset:4px;min-height:44px;display:inline-flex;align-items:center}
html body .h2s-link:hover,html body .l2s-more:hover{color:var(--2s-brand,#9D2B2B)}
.h2s-media{position:relative;min-height:520px}

/* Секции редизайна (заголовки товарных блоков, калькулятор, код, марки) */
.r2s-h2{font-family:var(--2s-font-display,Fraunces,Georgia,serif);font-weight:500;font-size:36px;line-height:1.15;margin:0;color:var(--2s-ink,#2B2522);text-transform:none;letter-spacing:0}
.r2s-headrow{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin:0 0 20px}
html body .r2s-more{font-size:16px;color:var(--2s-ink,#2B2522);text-decoration:underline;text-underline-offset:4px;white-space:nowrap;min-height:44px;display:inline-flex;align-items:center}
html body .r2s-more:hover{color:var(--2s-brand,#9D2B2B)}
.r2s-sub{font-size:17px;line-height:1.55;color:var(--2s-text,#464646);margin:12px 0 0}
/* Задача 39: без старого ограничения 1235 px — ровно по краям рядов товаров */
.r2s-calc,.r2s-promo,.r2s-brands{max-width:none;margin:88px auto 0;padding:0;color:var(--2s-ink,#2B2522)}
.r2s-calc-in{display:grid;grid-template-columns:1.1fr .9fr;gap:48px;align-items:center;background:var(--2s-surface,#F7F2EE);padding:48px}
.r2s-steps{list-style:none;margin:22px 0 28px;padding:0;display:grid;gap:12px;counter-reset:s}
.r2s-steps li{display:flex;gap:14px;align-items:flex-start;font-size:17px;line-height:1.45;counter-increment:s;margin:0}
.r2s-steps li::before{content:counter(s);flex:0 0 32px;height:32px;border-radius:50%;background:#fff;border:1px solid #948c88;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:15px}
html body .r2s-btn{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 30px;background:var(--2s-brand,#9D2B2B);color:#fff;font-weight:600;font-size:16px;text-decoration:none;text-transform:none;letter-spacing:0}
html body .r2s-btn:hover{background:var(--2s-brand-hover,#7A2222);color:#fff}
.r2s-demo{background:#fff;padding:26px;box-shadow:0 1px 0 var(--2s-line,#E6DDD7);max-width:380px;justify-self:center;width:100%}
.r2s-demo .l{display:block;font-size:14px;color:var(--2s-muted,#5C5450);margin:0 0 6px}
.r2s-demo .f{position:relative;border:1px solid #948c88;margin:0 0 14px}
.r2s-demo .f:focus-within{outline:2px solid var(--2s-ink,#2B2522);outline-offset:1px}
html body .r2s-demo input{width:100%;min-height:48px;margin:0;border:0;border-radius:0;background:transparent;padding:0 44px 0 14px;box-shadow:none;font-family:inherit;font-size:17px;color:var(--2s-ink,#2B2522);-moz-appearance:textfield}
.r2s-demo input::-webkit-outer-spin-button,.r2s-demo input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.r2s-demo .f span{position:absolute;right:14px;top:50%;transform:translateY(-50%);pointer-events:none;color:var(--2s-muted,#5C5450);font-size:15px}
.r2s-demo .note{font-size:13px;color:var(--2s-muted,#5C5450);margin:-6px 0 12px}
.r2s-demo .res{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--2s-line,#E6DDD7);padding-top:16px;margin-top:4px}
.r2s-demo .res b{font-family:var(--2s-font-display,Fraunces,Georgia,serif);font-weight:500;font-size:40px;color:var(--2s-brand,#9D2B2B);line-height:1}
.r2s-demo .res b.empty{color:#cfc6c0}
.r2s-demo .res small{font-size:15px;color:var(--2s-muted,#5C5450)}
.r2s-demo .st{font-size:15px;margin:10px 0 12px;min-height:22px;color:var(--2s-muted,#5C5450)}
.r2s-demo .st.ok{color:var(--2s-ok,#2F6B4F)}
html body .r2s-demo .go{display:flex;align-items:center;justify-content:center;min-height:50px;background:var(--2s-brand,#9D2B2B);color:#fff;font-weight:600;font-size:16px;text-decoration:none}
html body .r2s-demo .go:hover{background:var(--2s-brand-hover,#7A2222);color:#fff}
.r2s-demo .go[hidden]{display:none}
html body .r2s-demo .full{display:inline-flex;min-height:44px;align-items:center;font-size:15px;color:var(--2s-ink,#2B2522);text-decoration:underline;text-underline-offset:4px}
.r2s-promo-in{display:grid;grid-template-columns:auto 1fr auto;gap:40px;align-items:center;background:var(--2s-brand,#9D2B2B);color:#fff;padding:36px 48px}
.r2s-pct{font-family:var(--2s-font-display,Fraunces,Georgia,serif);font-weight:500;font-size:84px;line-height:.9;letter-spacing:-.02em}
.r2s-promo-t b{display:block;font-family:var(--2s-font-display,Fraunces,Georgia,serif);font-weight:500;font-size:28px;line-height:1.2;margin:0 0 6px;color:#fff}
.r2s-promo-t span{font-size:16px;opacity:.9}
.r2s-code{display:flex;align-items:stretch;border:2px dashed rgba(255,255,255,.75)}
.r2s-code em{font-style:normal;display:flex;align-items:center;padding:0 22px;font-weight:600;font-size:22px;letter-spacing:.14em}
html body .r2s-copy{min-height:56px;padding:0 22px;background:#fff;color:var(--2s-brand,#9D2B2B);font-weight:600;font-size:16px;border:0;border-radius:0;cursor:pointer;font-family:inherit;text-transform:none;letter-spacing:0;box-shadow:none}
html body .r2s-copy:hover{background:var(--2s-hit,#F3E6E3);color:var(--2s-brand,#9D2B2B)}
html body .r2s-copy.ok{background:var(--2s-hit,#F3E6E3)}
.r2s-copy:focus-visible,.r2s-btn:focus-visible,.r2s-card:focus-visible{outline:3px solid var(--2s-ink,#2B2522);outline-offset:2px}
.b3s-b{max-width:none;margin:88px auto 0;background:var(--2s-ink,#2B2522);color:#F7F2EE;padding:72px 24px;text-align:center}
.b3s-b-in{max-width:1100px;margin:0 auto}
.b3s-mk{max-width:none;margin:88px auto 0;background:var(--2s-surface,#F7F2EE);padding:48px 24px 44px;text-align:center}
.b3s-mk + .b3s-b{margin-top:0}
.b3s-eyebrow{font-size:17px;color:var(--2s-ink,#2B2522);margin:0 0 8px}
.b3s-row{display:flex;flex-wrap:wrap;row-gap:24px;justify-content:center;align-items:flex-start;margin:18px 0 0}
html body .b3s-row a{display:flex;flex-direction:column;align-items:center;gap:14px;padding:8px 56px;text-decoration:none;color:var(--2s-ink,#2B2522)}
.b3s-row a + a{border-left:1px solid rgba(43,37,34,.15)}
.b3s-row strong{display:flex;align-items:center;justify-content:center;height:112px;font-family:var(--2s-font-display,Fraunces,Georgia,serif);font-weight:500;font-size:44px;line-height:1.05}
.b3s-row img{display:block;height:112px;width:auto;max-width:300px;object-fit:contain}
.b3s-row span{font-size:16px;color:var(--2s-ink,#2B2522);white-space:nowrap;text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1px}
@media (max-width:1024px){html body .b3s-row a{padding:6px 28px}.b3s-row strong{height:84px}.b3s-row img{height:84px;max-width:220px}}
html body .b3s-row a:hover span{text-decoration-thickness:2px}
.b3s-row a:focus-visible{outline:3px solid var(--2s-ink,#2B2522);outline-offset:2px}
.b3s-more:focus-visible{outline:3px solid #F7F2EE;outline-offset:2px}
html body .b3s-b h2{font-family:var(--2s-font-display,Fraunces,Georgia,serif);font-weight:500;font-size:26px;line-height:1.3;max-width:34em;margin:0 auto;color:#F7F2EE!important;text-transform:none;letter-spacing:0}
html body .b3s-more{display:inline-flex;align-items:center;min-height:44px;margin-top:10px;font-size:16px;color:#F7F2EE;text-decoration:underline;text-underline-offset:4px}
html body .b3s-more:hover{color:#fff}
.b3s-b + *{margin-top:0}

@media (max-width:767px){
  .h2s-in{grid-template-columns:1fr;min-height:0}
  .h2s-media{order:-1;min-height:0;height:250px}
  .h2s-text{padding:4px 15px 28px}
  .h2s h1{font-size:34px;margin-bottom:12px}
  .h2s-lead{font-size:17px;margin-bottom:18px}
  .h2s-chips{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}
  html body .h2s-chip{min-width:0;padding:0}
  .r2s-h2{font-size:28px}
  .r2s-calc,.r2s-promo,.r2s-brands{margin-top:56px}
  .b3s-b{margin-top:56px;padding:48px 15px}
  .b3s-mk{margin-top:56px;padding:36px 15px 20px}
  .b3s-row{flex-direction:column;align-items:stretch;margin-top:8px}
  html body .b3s-row a{padding:20px 0;gap:12px}
  .b3s-row a + a{border-left:0;border-top:1px solid rgba(43,37,34,.15)}
  .b3s-row strong{height:80px;font-size:34px}
  .b3s-row img{height:80px;max-width:240px}
  html body .b3s-b h2{font-size:21px}
  .r2s-calc-in{grid-template-columns:1fr;gap:24px;padding:26px 18px}
  .r2s-demo{max-width:none;padding:20px 18px;box-shadow:none;border:1px solid var(--2s-line,#E6DDD7)}
  .r2s-calc-in{gap:18px}
  html body .r2s-btn{width:100%}
  .r2s-promo-in{grid-template-columns:1fr;gap:14px;padding:26px 20px;text-align:center}
  .r2s-pct{font-size:64px}
  .r2s-promo-t b{font-size:24px}
  .r2s-code em{flex:1;justify-content:center;padding:0 14px;font-size:20px}
  html body .r2s-copy{white-space:nowrap;padding:0 16px}
}

/* Герой, заход 3 (25.09, вариант Ж): весь блок — выбор размера. Пудровый фон с двумя полосами, белая панель: обхват → чашка → кнопка в каталог */
.h2s-eyebrow{font-size:14px;font-weight:500;letter-spacing:.05em;color:var(--2s-brand,#9D2B2B);margin:0 0 14px}
.h2s h1 em{font-style:italic;color:var(--2s-brand,#9D2B2B)}
.h2s--sel{background:linear-gradient(120deg,#F8ECE7 0%,#F1D9D1 60%,#E9C6BC 100%);position:relative}
.h2s--sel::before,.h2s--sel::after{content:"";position:absolute;right:-60px;top:-40px;width:520px;height:34px;background:var(--2s-brand,#9D2B2B);opacity:.10;transform:rotate(-28deg);transform-origin:right top;pointer-events:none}
.h2s--sel::after{top:30px;opacity:.07}
.h2s--sel .h2s-in{min-height:500px}
.h2s--sel .h2s-media{display:flex;align-items:center;justify-content:center;padding:40px 40px 40px 0;min-height:0;position:relative;z-index:2}
.hs-box{width:100%;max-width:560px;background:var(--2s-paper,#fff);border-radius:20px;padding:24px 26px 22px;box-shadow:0 14px 40px rgba(107,30,46,.10)}
.hs-box .h2s-label{margin:0 0 10px}
.hs-box .h2s-chips{margin:0}
.hs-cupl{margin-top:18px!important;color:var(--2s-muted,#5C5450)!important;font-weight:500!important}

.hs-hint{margin:0;font-size:15px;color:var(--2s-muted,#5C5450)}
html body .h2s-chip.on,html body .h2s-chip.on:hover,html body .h2s-chip.on:focus-visible{background:var(--2s-brand,#9D2B2B);border-color:var(--2s-brand,#9D2B2B);color:#fff}
html body .hs-cup{cursor:pointer;font-family:inherit}
html body .hs-go{display:flex;align-items:center;justify-content:center;margin-top:20px;min-height:52px;border-radius:26px;background:var(--2s-brand,#9D2B2B);color:#fff;font-size:17px;font-weight:500;text-decoration:none}
html body .hs-go:hover{background:#86231F;color:#fff}
html body .hs-go:not([href]){background:#E9DFDA;color:var(--2s-muted,#5C5450);cursor:default}
.hs-go:focus-visible{outline:3px solid var(--2s-ink,#2B2522);outline-offset:2px}
.hs-box .h2s-cta{justify-content:center;margin-top:10px}
@media (max-width:767px){
  .h2s--sel .h2s-in{display:flex;flex-direction:column;min-height:0}
  .h2s--sel .h2s-text{padding:24px 15px 0}
  .h2s--sel .h2s-media{order:1;height:auto;padding:16px 15px 28px}
  .h2s--sel::before,.h2s--sel::after{width:260px;height:20px;right:-40px}
  .hs-box{padding:18px 14px;border-radius:16px}
}

/* кнопка после выбора чашки не прилипает к нижнему краю экрана */
.hs-go{scroll-margin-bottom:16px}

/* 28 (29.09.2026): «две линии» в герое (2s-lines.js, v5 «шёлк», режим «Косичка») + стекло карточки подбора.
   Без JS — прежние бледные полосы и белая карточка на градиенте. Без blur или при «уменьшить прозрачность» — белая карточка. */
.h2s-lines{position:absolute;inset:0;width:100%;height:100%;display:block;pointer-events:none;z-index:0}
.h2s--lines::before,.h2s--lines::after{content:none!important}
.h2s--lines .h2s-in{position:relative;z-index:1}
/* телефон: полоса для ленты между заголовком и формой; задано без JS-класса, чтобы форма не сдвигалась при загрузке */
@media (max-width:767px){.h2s--sel .h2s-media{padding-top:92px}}
/* планшет и узкий ПК: текст переносится до низа блока — место под волну ленты */
@media (min-width:768px) and (max-width:1199px){.h2s--sel .h2s-in{padding-bottom:84px}}
@supports ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){
  .h2s--sel .hs-box{background:rgba(255,255,255,.5);-webkit-backdrop-filter:blur(12px) saturate(1.4);backdrop-filter:blur(12px) saturate(1.4);border:1px solid rgba(255,255,255,.75);box-shadow:0 18px 50px rgba(107,30,46,.14),inset 0 1px 0 rgba(255,255,255,.9)}
}
@media (prefers-reduced-transparency:reduce){.h2s--sel .hs-box{background:#fff;-webkit-backdrop-filter:none;backdrop-filter:none}}

/* 30 — «Nie znasz swojego rozmiaru?» в стиле героя (29.09.2026, .scratch/glowna/30-kalk): размер блока прежний,
   градиент внутри рамки, стеклянная карточка, скругления как у чипов героя, ленты — 2s-lines.js (холст .r2s-lines). */
.r2s-calc-in{background:linear-gradient(120deg,#F8ECE7 0%,#F1D9D1 60%,#E9C6BC 100%);position:relative;overflow:hidden}
.r2s-calc-in > div{position:relative;z-index:1;min-width:0}
.r2s-calc .r2s-h2 em{font-style:italic;color:var(--2s-brand,#9D2B2B)}
.r2s-demo{background:rgba(255,255,255,.5);-webkit-backdrop-filter:blur(12px) saturate(1.4);backdrop-filter:blur(12px) saturate(1.4);border:1px solid rgba(255,255,255,.75);border-radius:20px;box-shadow:0 18px 50px rgba(107,30,46,.14),inset 0 1px 0 rgba(255,255,255,.9)}
.r2s-demo .f{border-radius:24px;background:#fff;overflow:hidden}
.r2s-demo .f:focus-within{border-color:var(--2s-ink,#2B2522);outline-offset:2px}
html body .r2s-demo input{padding-left:20px}
.r2s-demo .res{border-top-color:rgba(157,43,43,.16)}
html body .r2s-demo .go{border-radius:26px}
@media (prefers-reduced-transparency:reduce){.r2s-demo{background:#fff;-webkit-backdrop-filter:none;backdrop-filter:none}}
@media (max-width:767px){
  .r2s-calc-in{grid-template-columns:minmax(0,1fr)}
  .r2s-demo{border-radius:16px;border:1px solid rgba(255,255,255,.75)}
  html body .r2s-more{white-space:normal}
}
.r2s-calc-in .r2s-lines{position:absolute;inset:0;width:100%;height:100%;display:block;pointer-events:none;z-index:0}
@media (max-width:767px){.k--lines .r2s-steps{margin-bottom:12px}.k--lines .r2s-demo{margin-top:40px}}
