:root { color-scheme: only light; }

:root { --nr-footer: 150px; }

@media (max-width: 640px) {
  :root { --nr-footer: 230px; }
}

.t-product__option-title { display: none; }
.t744__title_small { display: none; }

@media (max-width: 980px) {
  .t-menuburger { display: none !important; }
}

.t744 {
  opacity: 0;
  animation: nr-fade-in .2s ease 1.2s forwards;
}

@keyframes nr-fade-in { to { opacity: 1; } }

html.nr-ready .t744 {
  opacity: 1;
  animation: none;
  transition: opacity .2s ease;
}

@media (prefers-reduced-motion: reduce) {
  .t744 { opacity: 1; animation: none; }
}

.t-product__option label { flex-wrap: wrap !important; max-width: 100%; row-gap: 0 !important; }
.t-product__option label,
.t-product__option label *:not(.opt-desc) { font-size: 14px !important; font-weight: 600 !important; }

.opt-desc {
  display: block !important;
  flex: 0 0 100% !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  white-space: normal !important;
  overflow-wrap: break-word;
  padding-left: 28px;
  padding-right: 8px;
  font-size: 13px;
  font-weight: 400 !important;
  opacity: .6;
  margin-top: 0;
  line-height: 1.2;
}

/* Блок поздравления целиком живёт не внутри тильдиной опции, а рядом,
   поэтому правило выше до него не доезжает и остаётся класс t-descr_xxs
   с его двенадцатью пикселями. Руками равняем на соседние опции:
   подпись 14px полужирным и тот же межстрочный, что у них (21.7px),
   выбор шоу — 13px, вровень с описаниями. Описание поздравления
   трогать не нужно, оно и так .opt-desc и совпадает с остальными. */
.nr-vp-head,
.nr-vp-head > span {
  font-size: 14px !important;
  line-height: 1.55 !important;
}

.nr-vp-head > span { font-weight: 600 !important; }

.nr-vp-shows__cap,
.nr-vp-opt {
  font-size: 13px !important;
  line-height: 1.45 !important;
}

.nr-vp-shows__cap { font-weight: 600 !important; }
.nr-vp-opt { font-weight: 400 !important; }

label .opt-badge.opt-badge.opt-badge {
  display: inline-block !important;
  align-self: center;
  margin-left: -5px;
  padding: 0 6px;
  border-radius: 4px;
  background: #ff8a00 !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1.4;
  white-space: nowrap;
}

/* Подпись под необязательной галкой в корзине. Галка про рекламную
   рассылку — единственная необязательная из четырёх, и человек должен
   увидеть это раньше, чем начнёт разбирать название документа. */
.nr-opt {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 400;
  opacity: .55;
}

.t744 .t-slds__imgwrapper { position: relative; }

.ov-layers {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  pointer-events: none;
  z-index: 4;
}

.ov {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  opacity: 0;
  transition: opacity .25s ease;
}

.ov_on { opacity: 1; }
.ov-sign { z-index: 1; }
.ov-badge { z-index: 2; }
.ov-greet { z-index: 3; }
.ov-stock { z-index: 4; }

.t744__btn-wrapper { display: flex !important; flex-wrap: wrap; align-items: stretch; gap: 10px; }
.t744__btn-wrapper > .t-btn { flex: 0 0 auto !important; width: auto !important; max-width: none !important; }
.t744__btn-wrapper > .t-btn .t-btnflex__text { overflow: visible !important; text-overflow: clip !important; max-width: none !important; }

.cart-go-btn {
  display: none;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  border: 1px solid #eb3030;
  background: transparent;
  color: #eb3030 !important;
  line-height: 1.4;
  text-decoration: none !important;
  white-space: nowrap;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}

.cart-go-btn_on { display: inline-flex; }
.cart-go-btn:hover { background: #eb3030; color: #fff !important; }

.cart-hint {
  position: absolute;
  top: 100%;
  right: 16px;
  margin-top: 2px;
  width: 38px;
  height: 96px;
  color: #eb3030;
  opacity: 0;
  visibility: hidden;
  cursor: pointer;
  pointer-events: none;
  transition: opacity .3s ease, visibility .3s;
}

.cart-hint svg { width: 100%; height: 100%; display: block; overflow: visible; }

.cart-hint_on {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  animation: cart-hint-drift 2s ease-in-out infinite alternate;
}

@keyframes cart-hint-drift {
  from { transform: translateY(0); }
  to   { transform: translateY(-7px); }
}

@media (max-width: 640px) {
  .cart-hint { width: 28px; height: 70px; right: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .cart-hint_on { animation: none; }
}

#allrecords {
  display: flex;
  flex-direction: column;
  min-height: 100vh !important;
  min-height: calc(100svh + var(--nr-footer, 150px)) !important;
}

#allrecords > #t-footer {
  flex: 0 0 auto !important;
  margin-top: auto !important;
}

.t706__auth { display: none !important; }

.t706 .delivery-minimum-time {
  font-size: 0 !important;
  letter-spacing: 0 !important;
}

.t706 .delivery-minimum-time::after {
  content: 'отправим не позднее 20 декабря';
  font-size: 13px;
  line-height: 1.35;
  letter-spacing: normal;
}

.t457 { padding-top: 18px !important; padding-bottom: 18px !important; }

.t457__ul {
  padding: 0 !important;
  margin: 0 0 10px !important;
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2px 24px;
  list-style: none;
}

.t457__li { margin: 0 !important; padding: 0 !important; }

.t457__li a {
  font-size: 14px !important;
  line-height: 1.45;
  opacity: .92;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, .28);
  padding-bottom: 1px;
  transition: opacity .2s ease, border-color .2s ease;
}

.t457__li a:hover { opacity: 1; border-bottom-color: rgba(255, 255, 255, .75); }

.t457__copyright {
  padding: 0 !important;
  margin: 0 !important;
  font-size: 12.5px !important;
  line-height: 1.65 !important;
  opacity: .55;
}

.t457__copyright br + br { display: none; }
