/* Lumitek storefront — hero + calc form */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Syne:wght@600;700;800&family=Onest:wght@400;500;600;700&family=Unbounded:wght@600;700&display=swap');

/* Do not put overflow-x on html: together with body { overflow-x: hidden }
   it creates a second scrollport and kills position:sticky (product tabs, header). */
html {
  overflow-x: visible;
}

main {
  overflow: visible;
}

/* Header brand text */
.up-header__logo-top .lumitek-brand,
#logo .lumitek-brand {
  font-family: "Syne", system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  line-height: 1;
  color: inherit;
  text-decoration: none;
  display: inline-block;
  margin: 0;
}

.up-header__logo-top .lumitek-brand a,
#logo .lumitek-brand a {
  color: inherit;
  text-decoration: none;
}

/* Beam hero (01-beam 1:1; storefront sticky header stays) */
.lumitek-hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  color: #f7f4ee;
  overflow: hidden;
  margin: 0;
}

.lumitek-hero__media {
  position: absolute;
  inset: 0;
}

.lumitek-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: lumitekHeroDrift 18s ease-in-out infinite alternate;
}

.lumitek-hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 12, 18, 0.25) 0%, rgba(8, 12, 18, 0.55) 45%, rgba(8, 12, 18, 0.88) 100%),
    linear-gradient(90deg, rgba(8, 12, 18, 0.55) 0%, transparent 55%);
}

.lumitek-hero__beam {
  position: absolute;
  inset: -20% 20% auto -10%;
  height: 70%;
  background: linear-gradient(115deg, transparent 30%, rgba(217, 119, 6, 0.18) 48%, transparent 62%);
  filter: blur(8px);
  animation: lumitekBeamSweep 9s ease-in-out infinite alternate;
  pointer-events: none;
}

.lumitek-hero__content {
  position: relative;
  z-index: 2;
  padding: 0 clamp(16px, 5vw, 56px) clamp(40px, 8vh, 72px);
  max-width: 760px;
}

.lumitek-hero__brand {
  font-family: "Syne", system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(3.2rem, 10vw, 6.5rem);
  letter-spacing: -0.05em;
  line-height: 0.88;
  margin: 0 0 18px;
}

.lumitek-hero__title {
  font-family: "Syne", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(1.45rem, 3.2vw, 2.1rem);
  letter-spacing: -0.03em;
  max-width: 16ch;
  line-height: 1.15;
  margin: 0;
  color: #fff;
}

.lumitek-hero__lead {
  margin: 14px 0 0;
  max-width: 36ch;
  color: rgba(247, 244, 238, 0.82);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 1.05rem;
  line-height: 1.5;
}

.lumitek-hero__actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.lumitek-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(247, 244, 238, 0.35);
  font-family: "Manrope", system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: #f7f4ee;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, filter 0.2s;
}

.lumitek-btn:hover,
.lumitek-btn:focus {
  background: rgba(247, 244, 238, 0.1);
  color: #f7f4ee;
  text-decoration: none;
}

.lumitek-btn--accent {
  background: #d97706;
  border-color: #d97706;
  color: #10131a;
}

.lumitek-btn--accent:hover,
.lumitek-btn--accent:focus {
  filter: brightness(1.05);
  background: #d97706;
  color: #10131a;
}

@keyframes lumitekHeroDrift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-1.5%, -1%, 0); }
}

@keyframes lumitekBeamSweep {
  from { transform: translateX(-4%) rotate(-2deg); opacity: 0.55; }
  to { transform: translateX(8%) rotate(1deg); opacity: 0.95; }
}

@media (prefers-reduced-motion: reduce) {
  .lumitek-hero__media img,
  .lumitek-hero__beam { animation: none; }
}

/* Calc form (Field-inspired, before footer columns) */
.lumitek-calc {
  --form-accent: #e8a317;
  --form-accent-ink: #15120c;
  --form-ink: #f3f1ec;
  --form-line: rgba(243, 241, 236, 0.28);
  --form-bg: rgba(255, 255, 255, 0.06);
  --form-drop-bg: rgba(255, 255, 255, 0.04);
  --form-drop-active: rgba(232, 163, 23, 0.12);
  background:
    radial-gradient(ellipse 70% 50% at 20% 20%, #2a3344 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 90% 80%, #3a2e18 0%, transparent 50%),
    #121722;
  color: #f3f1ec;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 56px;
  margin-bottom: 56px;
  padding: clamp(56px, 9vh, 100px) 0;
  box-sizing: border-box;
}

.lumitek-calc .container {
  max-width: 1140px;
}

.lumitek-calc .lead-split {
  display: grid;
  gap: 36px;
  align-items: start;
  width: 100%;
  min-width: 0;
}

@media (min-width: 900px) {
  .lumitek-calc .lead-split {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px 56px;
    align-items: center;
  }

  .lumitek-calc .lead-split__info,
  .lumitek-calc .lead-form {
    min-width: 0;
    max-width: 100%;
  }
}

.lumitek-calc__brand {
  font-family: "Unbounded", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(2.4rem, 7vw, 4.2rem);
  letter-spacing: -0.05em;
  line-height: 0.9;
  margin: 0 0 16px;
}

.lumitek-calc h2 {
  font-family: "Unbounded", system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(1.35rem, 2.8vw, 1.9rem);
  letter-spacing: -0.03em;
  margin: 0;
  color: #f3f1ec;
}

.lumitek-calc__lead {
  margin: 12px 0 0;
  color: rgba(243, 241, 236, 0.72);
  font-family: "Onest", system-ui, sans-serif;
  max-width: 34ch;
}

.lumitek-calc__contacts {
  margin-top: 28px;
  display: grid;
  gap: 10px;
}

.lumitek-calc__contacts a {
  display: block;
  font-family: "Unbounded", system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -0.03em;
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  line-height: 1.25;
  color: #f3f1ec;
  text-decoration: none;
}

.lumitek-calc__hours {
  margin-top: 14px;
  font-size: 0.92rem;
  color: rgba(243, 241, 236, 0.55);
  font-family: "Onest", system-ui, sans-serif;
}

.lumitek-calc .lead-form {
  display: grid;
  gap: 14px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  text-align: left;
  color: #f3f1ec;
  font-family: "Onest", system-ui, sans-serif;
  box-sizing: border-box;
}

.lumitek-calc .lead-form label {
  display: grid;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
}

.lumitek-calc .lead-form label.lead-form__consent {
  display: inline-flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 8px;
  font-size: 11px;
  font-weight: 400;
}

.lumitek-calc .lead-form input[type="tel"],
.lumitek-calc .lead-form input[type="email"],
.lumitek-calc .lead-form input[type="text"] {
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--form-line);
  background: var(--form-bg);
  color: #f3f1ec;
  font: inherit;
  outline: none;
  border-radius: 0;
  box-shadow: none;
}

.lumitek-calc .lead-form input:focus {
  border-color: var(--form-accent);
}

.lumitek-calc .lead-form__drop {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 96px;
  padding: 16px;
  border: 1px dashed var(--form-line);
  background: var(--form-drop-bg);
  text-align: center;
  font-size: 0.9rem;
  cursor: pointer;
}

.lumitek-calc .lead-form__drop.is-drag {
  border-color: var(--form-accent);
  background: var(--form-drop-active);
}

.lumitek-calc .lead-form__drop input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.lumitek-calc .lead-form__drop-title { font-weight: 600; }
.lumitek-calc .lead-form__drop-name {
  margin-top: 6px;
  font-size: 0.82rem;
  opacity: 0.7;
  word-break: break-all;
}

.lumitek-calc .lead-form__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.lumitek-calc .lead-form__consent {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  cursor: pointer;
  font-weight: 400;
  flex: 1 1 auto;
  min-width: 0;
  max-width: calc(100% - 140px);
  justify-content: flex-start;
  text-align: left;
}

.lumitek-calc .lead-form__consent input {
  flex: 0 0 auto;
  margin: 2px 0 0;
  width: 14px;
  height: 14px;
  align-self: flex-start;
}

.lumitek-calc .lead-form__consent-text {
  display: block;
  font-size: 11px;
  line-height: 1.3;
  opacity: 0.85;
  font-weight: 400;
  white-space: normal;
  min-width: 0;
}

.lumitek-calc .lead-form__consent-text a {
  color: inherit;
  text-decoration: underline;
}

.lumitek-calc .lead-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  margin-left: auto;
  min-height: 48px;
  padding: 0 20px;
  border: none;
  background: var(--form-accent);
  color: var(--form-accent-ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  width: fit-content;
  white-space: nowrap;
}

@media (max-width: 575px) {
  .lumitek-calc .lead-form__footer {
    flex-wrap: wrap;
  }

  .lumitek-calc .lead-form__consent {
    max-width: 100%;
  }

  .lumitek-calc .lead-form__submit {
    margin-left: 0;
    width: 100%;
  }
}

/* Fast order / review modal privacy consent */
#popup-quickorder .fo-privacy-consent,
#ch-modal-review .fo-privacy-consent {
  margin-top: 8px;
}

#popup-quickorder .fo-privacy-consent__label,
#ch-modal-review .fo-privacy-consent__label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

#popup-quickorder .fo-privacy-consent__text,
#ch-modal-review .fo-privacy-consent__text {
  display: inline-block;
  font-size: 11px;
  line-height: 1.3;
  font-weight: 400;
  opacity: 0.85;
}

#popup-quickorder .fo-privacy-consent__text a,
#ch-modal-review .fo-privacy-consent__text a {
  text-decoration: underline;
}

#ch-modal-review .modal-footer {
  flex-wrap: wrap;
}

#ch-modal-review .fo-privacy-consent {
  width: 100%;
  flex: 1 0 100%;
}

/* Header phone dropdown: email + warehouse addresses */
.up-header-phones__dropdown .hp-contact-extra {
  list-style: none;
  margin: 0;
  padding: 8px 10px;
  min-width: 260px;
  max-width: 300px;
  white-space: normal;
  color: var(--up-text-color);
}

.up-header-phones__dropdown .hp-contact-extra__item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 6px 0;
}

.up-header-phones__dropdown .hp-contact-extra__item + .hp-contact-extra__item {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.dark-theme .up-header-phones__dropdown .hp-contact-extra__item + .hp-contact-extra__item {
  border-top-color: rgba(255, 255, 255, 0.08);
}

.up-header-phones__dropdown .hp-contact-extra__icon {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: currentColor;
  opacity: 0.85;
}

.up-header-phones__dropdown .hp-contact-extra__icon svg {
  display: block;
  width: 18px;
  height: 18px;
}

.up-header-phones__dropdown .hp-contact-extra__body {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 400;
  white-space: normal;
}

.up-header-phones__dropdown .hp-contact-extra__item--email .hp-contact-extra__body,
.up-header-phones__dropdown .hp-contact-extra__item--email a {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
  color: inherit;
  text-decoration: none;
}

.up-header-phones__dropdown .hp-contact-extra__item--email a:hover {
  text-decoration: underline;
}

.lumitek-calc .lead-form__ok {
  font-size: 0.9rem;
  color: var(--form-accent);
  margin: 0;
}

/* Homepage: sticky header over hero; theme colors stay readable on white pills */
body.lumitek-home {
  --lumitek-header-offset: 76px;
}

body.lumitek-home > #top.hidden {
  display: none !important;
}

body.lumitek-home > .up-header {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border: none !important;
  --up-header-bg: transparent;
}

/* Brand mark only — sits on dark photo; pills keep theme ink */
body.lumitek-home .up-header .lumitek-brand,
body.lumitek-home .up-header .lumitek-brand a {
  color: #f7f4ee;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.45);
}

/* Pull full-bleed hero under sticky header (Beam viewport) */
body.lumitek-home .lumitek-hero {
  margin-top: calc(-1 * var(--lumitek-header-offset));
  min-height: 100svh;
}

@media (max-width: 767px) {
  body.lumitek-home {
    --lumitek-header-offset: 64px;
  }
}

/* УТП under main: 6 columns on wide screens */
@media (min-width: 1200px) {
  .banner-blocks-container > [class*="col-lg-"] {
    width: 16.66666667%;
    flex: 0 0 16.66666667%;
    max-width: 16.66666667%;
  }
}

footer #logo-footer .lumitek-brand {
  font-family: "Syne", system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 1.1rem;
}

footer.ch-dark-theme .ch-socials a {
  font-size: 0;
  color: #fff;
}

footer.ch-dark-theme .ch-socials i,
footer.ch-dark-theme .ch-socials img {
  font-size: 22px;
  width: 28px;
  height: 28px;
}

/* Cart circle */
.box-cart #cart > .btn,
#cart > .btn {
  background: #d97706 !important;
  color: #fff !important;
}

.box-cart #cart > .btn:hover,
#cart > .btn:hover {
  background: #e6891a !important;
  color: #fff !important;
}

/* Compact sticky header on scroll: hide logo + search, menu/phone to the left */
.up-header.lumitek-compact > .container > .row.dflex {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  width: 100%;
}

.up-header.lumitek-compact .up-header__left,
.up-header.lumitek-compact .up-header__right {
  display: contents;
}

.up-header.lumitek-compact #logo,
.up-header.lumitek-compact .up-header__logo-top {
  display: none !important;
}

.up-header.lumitek-compact .box-search {
  display: none !important;
}

.up-header.lumitek-compact .up-header__btn-mobile-menu {
  order: 1;
}

.up-header.lumitek-compact .box-menu-top {
  order: 2;
}

.up-header.lumitek-compact .phone-box {
  order: 3;
  margin-left: 8px !important;
}

.up-header.lumitek-compact .box-account {
  order: 20;
  margin-left: auto !important;
}

.up-header.lumitek-compact .box-compare {
  order: 21;
}

.up-header.lumitek-compact .box-wishlist {
  order: 22;
}

.up-header.lumitek-compact .box-cart {
  order: 23;
}

.up-header.lumitek-compact .box-language-currency {
  order: 24;
}

.up-header.lumitek-compact .up-theme-mode {
  order: 25;
}

body.lumitek-home .up-header.lumitek-compact {
  background: rgba(255, 255, 255, 0.94) !important;
  box-shadow: 0 8px 16px -8px rgba(0, 0, 0, 0.08) !important;
}

body.lumitek-home .up-header.lumitek-compact .lumitek-brand,
body.lumitek-home .up-header.lumitek-compact .lumitek-brand a {
  color: inherit;
  text-shadow: none;
}

/* === Lumitek overrides (no full-bleed hero) === */
.up-header__logo-top .lumitek-brand,
#logo .lumitek-brand,
.up-header__logo-top .lumitek-brand a,
#logo .lumitek-brand a {
  color: #0b0b0b;
  text-transform: uppercase;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
}

/* Disable transparent header / cream brand over missing hero */
body.lumitek-home > .up-header {
  background: inherit !important;
  background-color: inherit !important;
  box-shadow: inherit !important;
  border: inherit !important;
}

body.lumitek-home .up-header .lumitek-brand,
body.lumitek-home .up-header .lumitek-brand a {
  color: #0b0b0b !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18) !important;
}

body.lumitek-home .lumitek-hero {
  display: none !important;
}

/* Cart circle — black */
.box-cart #cart > .btn,
#cart > .btn {
  background: #111111 !important;
  color: #fff !important;
}

.box-cart #cart > .btn:hover,
#cart > .btn:hover {
  background: #000000 !important;
  color: #fff !important;
}

/* Never hide logo / search on scroll */
.up-header.lumitek-compact #logo,
.up-header.lumitek-compact .up-header__logo-top,
.up-header.lumitek-compact .box-search {
  display: block !important;
}

/* Home hero row: menu + megaslider + side slider fit one viewport band */
@media (min-width: 1200px) {
  body.lumitek-home {
    --lumitek-hero-h: min(462px, calc(100vh - 190px));
  }

  body.lumitek-home .home-page-content-top .chm-ms-box {
    align-items: stretch;
    max-height: var(--lumitek-hero-h);
    margin-bottom: 36px;
  }

  body.lumitek-home .home-page-content-top .megasliderpro,
  body.lumitek-home .home-page-content-top .small-slider {
    margin-top: 20px;
    margin-bottom: 0;
    max-height: var(--lumitek-hero-h);
    height: var(--lumitek-hero-h);
    overflow: hidden;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
  }

  body.lumitek-home .home-page-content-top .megasliderpro .swiper,
  body.lumitek-home .home-page-content-top .megasliderpro .swiper-wrapper,
  body.lumitek-home .home-page-content-top .megasliderpro .swiper-slide,
  body.lumitek-home .home-page-content-top .megasliderpro__inner,
  body.lumitek-home .home-page-content-top .small-slider .swiper,
  body.lumitek-home .home-page-content-top .small-slider__item,
  body.lumitek-home .home-page-content-top .small-slider__inner,
  body.lumitek-home .home-page-content-top .small-slider__image {
    height: 100% !important;
    max-height: 100%;
  }

  body.lumitek-home .home-page-content-top .megasliderpro .bg-image-slider,
  body.lumitek-home .home-page-content-top .small-slider__img {
    width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    object-fit: cover;
    min-height: 0 !important;
  }

  body.lumitek-home .menu-header-box.mm_open_hp:not(.m-sticky) .menu-box,
  body.lumitek-home .menu-header-box.mm_open_hp:not(.m-sticky) #menu-vertical {
    height: var(--lumitek-hero-h) !important;
    max-height: var(--lumitek-hero-h) !important;
  }

  body.lumitek-home .menu-header-box.mm_open_hp:not(.m-sticky) #menu-vertical-list {
    max-height: 100%;
    overflow-y: auto;
  }
}

/* Unified banner text on photo backgrounds */
:root {
  --lumitek-banner-title: #ffffff;
  --lumitek-banner-subtitle: #e8eef5;
  --lumitek-banner-from: #e3c045;
  --lumitek-banner-price: #ffffff;
}

.megasliderpro__title,
.megasliderpro__sub-title,
.megasliderpro__from,
.megasliderpro__price,
.small-slider__title_lg,
.small-slider__title_xs,
.small-slider__from,
.small-slider__price,
.promo-slider__title_lg,
.promo-slider__title_xs,
.promo-slider__from,
.promo-slider__price {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55), 0 0 14px rgba(0, 0, 0, 0.28);
}

.megasliderpro__sub-title,
.small-slider__title_xs,
.promo-slider__title_xs {
  color: var(--lumitek-banner-subtitle);
}

.megasliderpro__from,
.small-slider__from,
.promo-slider__from {
  color: var(--lumitek-banner-from);
}

/* Brainy Filter — category sidebar (Lumitek) */
#column-left {
  position: relative;
  z-index: 30;
}
#column-left .bf-panel-wrapper {
  position: relative;
  z-index: 31;
  margin-bottom: 24px;
  background: #fff;
}

#column-left .bf-panel-wrapper .box {
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: none;
}

#column-left .bf-panel-wrapper .box-heading {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  padding: 16px 18px;
  margin: 0;
  border-bottom: 1px solid #ececec;
  background: #fff;
  color: #111;
}

#column-left .brainyfilter-panel.box-content {
  padding: 0 0 8px;
  border: 0;
}

#column-left .bf-attr-header,
#column-left .bf-attr-group-header {
  background: #fff;
  color: #111;
  font-weight: 500;
  font-size: 14px;
  padding: 12px 18px;
  border-top: 1px solid #ececec;
}

#column-left .bf-attr-header.bf-w-line {
  border-top: 0;
}

#column-left .bf-attr-block-cont {
  padding: 0 18px 12px;
}

#column-left .bf-price-container {
  padding: 4px 0 8px;
}

#column-left .bf-cur-symb {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 10px;
}

#column-left .bf-cur-symb .ndash,
#column-left .bf-cur-symb .bf-cur-symb-left {
  display: none;
}

#column-left .bf-cur-symb input.bf-range-min,
#column-left .bf-cur-symb input.bf-range-max {
  width: 80px;
  min-width: 80px;
  max-width: 80px;
  flex: 0 0 80px;
  border: 1px solid #d8d8d8;
  border-radius: 8px;
  padding: 6px 10px;
  box-sizing: border-box;
}

#column-left .bf-cur-symb input.bf-range-min {
  margin-right: auto;
}

#column-left .bf-cur-symb input.bf-range-max {
  margin-left: auto;
}

/* Brainy Filter: SVG icons instead of sprite.png */
#column-left .bf-arrow,
#column-left .bf-cross,
#column-left .bf-close-btn {
  background: none !important;
  position: relative;
  width: 16px;
  height: 16px;
  padding: 0;
  font-size: 0;
  vertical-align: middle;
}

#column-left .bf-arrow::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 10px;
  height: 10px;
  border-right: 2px solid #888;
  border-bottom: 2px solid #888;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

#column-left .bf-attr-block:has(.bf-sliding.bf-expanded) .bf-arrow::before {
  transform: rotate(-135deg);
}

#column-left .bf-cross::before,
#column-left .bf-close-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 12px;
  height: 12px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 2l8 8M10 2L2 10' stroke='%23888' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
}

#column-left .bf-cross:hover::before,
#column-left .bf-close-btn:hover::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 2l8 8M10 2L2 10' stroke='%23111' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
}

#column-left .bf-buttonclear {
  background: none !important;
  padding-left: 20px;
  position: relative;
}

#column-left .bf-buttonclear::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 14px;
  height: 14px;
  margin-top: -7px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3 3l8 8M11 3L3 11' stroke='%23888' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
}

#column-left .bf-count {
  background: #111;
  color: #fff;
  border-radius: 6px;
  font-size: 12px;
}

#column-left .bf-row label {
  font-size: 14px;
  color: #333;
}

#column-left .ui-widget-content {
  background: #e8e8e8;
  border: 0;
  border-radius: 4px;
}

#column-left .ui-widget-header {
  background: #111;
  border-radius: 4px;
}

#column-left .ui-state-default {
  background: #fff;
  border: 2px solid #111;
  border-radius: 50%;
}

#column-left .bf-btn-reset,
#column-left .bf-btn-show {
  display: none;
}

#column-left .bf-attr-block:not(.bf-price-filter) .bf-sliding:not(.bf-expanded) {
  height: 0 !important;
  overflow: hidden;
}

#column-left .bf-attr-block:not(.bf-price-filter):not(:has(.bf-sliding.bf-expanded)) .bf-sliding-show {
  display: none !important;
}

.sub-categories .swiper-sub-category__navigation,
.sub-categories .swiper-sub-category__navigation.disabled-navigation {
  opacity: 1;
}

.product-page .info-sku,
#product .info-sku {
  display: none !important;
}

@media (min-width: 768px) {
  #product .thumbnails {
    align-items: stretch;
    max-height: 550px;
  }

  #product .general-image {
    max-width: 700px;
    max-height: 550px;
  }

  #product .general-image img {
    max-width: 700px;
    max-height: 550px;
    width: auto;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
  }

  #product .image-additional .swiper {
    max-height: 550px;
  }
}

#product .product-delivery__image {
  border-radius: 12px;
  padding: 8px 10px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
}

#product .product-delivery__image img {
  max-height: 36px;
  max-width: 88px;
  width: auto;
  height: auto;
  object-fit: contain;
}

#product .product-payment__image img,
footer .ch-payments img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

#product .product-delivery__description,
.pay-method-page .product-delivery__description {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.35;
  min-height: 2.7em;
}

.light-theme {
  --up-color-sale-price: #E35845;
}

.pay-method-page {
  max-width: 1120px;
}

.pay-method-page__lead {
  font-size: 16px;
  line-height: 1.55;
  color: #4b5563;
  margin: 0 0 28px;
}

.pay-method-page h2 {
  font-size: 28px;
  font-weight: 700;
  margin: 8px 0 20px;
  color: #111;
}

.pay-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
  margin: 0 0 40px;
}

.pay-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 28px rgba(17, 24, 39, 0.08);
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  min-height: 210px;
}

.pay-card__logo {
  min-height: 40px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
}

.pay-card__logo--wide img {
  max-width: 168px;
  width: auto;
  height: 36px;
  object-fit: contain;
}

.pay-card:not(:has(.pay-card__logo)) {
  min-height: 0;
}

.pay-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 10px;
  color: #111827;
}

.pay-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: #6b7280;
}

.pay-method-page__warehouses {
  background: #f6f7f9;
  border-radius: 16px;
  padding: 20px 24px;
  color: #374151;
}

.pay-method-page__warehouses p {
  margin: 0 0 8px;
}

.pay-method-page__warehouses p:last-child {
  margin-bottom: 0;
}

.pay-card a {
  color: #111827;
  text-decoration: none;
  border-bottom: 1px solid rgba(17, 24, 39, 0.18);
}

.pay-card a:hover {
  border-bottom-color: #111827;
}

.pay-card--map {
  min-height: 0;
  padding: 16px 16px 24px;
}

.info-map {
  height: 240px;
  margin: 0 0 18px;
  border-radius: 14px;
  overflow: hidden;
  background: #eef2f6;
}

.info-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.pay-card__meta {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.5;
  color: #6b7280;
}

.pay-card__meta:last-child {
  margin-bottom: 0;
}

@media (min-width: 992px) {
  #product .product-delivery__item.col-sm-12 {
    width: 50%;
  }
}

/* Promo banners in product blocks: 264px column, stretch height to cards, keep arrow notch */
.container-module .promo-slider-left,
.container-module .promo-slider-right {
  align-items: stretch;
}

.container-module .promo-slider {
  flex: 0 0 264px;
  width: 264px;
  max-width: 264px;
  min-width: 264px;
  align-self: stretch;
}

.container-module .promo-slider .swiper,
.container-module .promo-slider__item {
  width: 264px !important;
  max-width: 264px !important;
}

.container-module .promo-slider .swiper {
  height: 100% !important;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

.container-module .promo-slider__item {
  height: 100% !important;
  box-sizing: border-box;
}

.container-module .promo-slider__inner {
  width: 100%;
  height: 100% !important;
  min-height: 0 !important;
  border-radius: 20px;
}

.container-module .swiper-module .product-thumb {
  height: 100%;
}

.promo-slider__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.06) 36%, rgba(0, 0, 0, 0.08) 62%, rgba(0, 0, 0, 0.45) 100%);
  pointer-events: none;
}

.promo-slider__title_lg {
  font-size: 22px;
  line-height: 1.15;
  max-width: 180px;
  hyphens: none;
  overflow-wrap: normal;
}

.promo-slider__content-price {
  max-width: calc(100% - 118px);
}

.small-slider__content-title {
  display: flex;
  flex-direction: column;
}

.small-slider__title_lg {
  order: -1;
  font-size: 26px;
  line-height: 1.15;
  font-weight: 600;
  margin-bottom: 6px;
  margin-top: 0;
}

.small-slider__title_xs {
  font-size: 16px;
  margin-bottom: 0;
}

/* Prefer HTML that puts content_bottom outside sidebar columns.
   Fallback: break out of #content when a layout still nests calc there. */
#content > .lumitek-calc,
.container > .lumitek-calc,
body > .lumitek-calc {
  position: relative;
  z-index: 1;
  left: auto;
  right: auto;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  box-sizing: border-box;
}

/* SafeRoute: address comes from widget */
.opc_block_shipping_address.saferoute-hidden {
  display: none !important;
}
#sr-widget {
  margin-top: 0;
  width: 100%;
}
.checkout-shipping-method.saferoute-only .checkout-heading,
.checkout-shipping-method.saferoute-only .shipping_method_title {
  display: none !important;
}
.checkout-shipping-method.saferoute-only .saferoute-shipping-input,
.checkout-shipping-method.saferoute-only .saferoute-shipping-label {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
}

/* Yandex Pay on OPC: show button in totals column, full width */
.confirm-block #opc-payment.opc-yapay-ready,
.opc-yapay-payment:not(.hidden) {
  display: block !important;
  visibility: visible !important;
  min-height: 54px;
  margin-top: 12px;
}
#opc-payment .yandex-pay-button-container,
#opc-payment #yandex-pay-button-container {
  width: 100% !important;
  min-height: 54px;
  display: block !important;
}
#opc-payment .yandex-pay-button-container iframe,
#opc-payment #yandex-pay-button-container iframe,
#opc-payment .yandex-pay-button-container button,
#opc-payment #yandex-pay-button-container button,
#opc-payment [class*="ya-pay"] {
  width: 100% !important;
  max-width: 100% !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Yandex Schema.org microdata containers (non-visual) */
.yandex-md {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* YCP / 1-click CTA */
.btn-ya-checkout,
#product .btn-ya-checkout,
#popup-quickview .btn-ya-checkout,
#yastore-checkout-button.btn-ya-checkout {
  background: #e3c045;
  color: #000;
  border: 1px solid transparent;
  margin-top: 20px;
  height: 48px;
  width: 100%;
  font-size: 14px;
  font-weight: 500;
  padding: 12px 24px;
  margin-left: 0;
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
  border-radius: 44px;
  cursor: pointer;
  transition: all 0.12s ease-out;
}
.btn-ya-checkout:hover,
#product .btn-ya-checkout:hover,
#popup-quickview .btn-ya-checkout:hover,
#yastore-checkout-button.btn-ya-checkout:hover,
#product .btn-fastorder:hover,
#popup-quickview .btn-fastorder:hover {
  background: #edcc4f !important;
  color: #000 !important;
  border-color: transparent !important;
}
.btn-ya-checkout:active,
#product .btn-ya-checkout:active,
#popup-quickview .btn-ya-checkout:active,
#yastore-checkout-button.btn-ya-checkout:active {
  transform: scale(0.97);
  filter: brightness(0.9);
}
#product .btn-ya-checkout .btn-icon-fastorder,
#popup-quickview .btn-ya-checkout .btn-icon-fastorder {
  filter: none;
}

/* Product card: short code (model) */
.product-thumb .product-model,
.product-grid .product-model,
.product-list .product-model {
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
}
.btn-notify-stock--legacy {
  display: none !important;
}

/* Hide stock statuses site-wide (Под заказ / В наличии / Есть в наличии) */
.stock-status,
.info-product-stock,
.ch-stock-status,
.fw-stock-status,
.product-thumb .product_model_sstatus .stock-status {
  display: none !important;
}

/* Product card: stars | qty + price on one row (old stock slot); buttons below */
.product-thumb .caption {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  grid-template-areas:
    "name name name"
    "sticker sticker sticker"
    "rating qty price"
    "model model model"
    "desc desc desc"
    "attrs attrs attrs"
    "btn1 btn1 cart";
  align-items: center;
  column-gap: 8px;
  row-gap: 8px;
}
.product-thumb .caption > .product-name {
  grid-area: name;
}
.product-thumb .caption > .pro_sticker_block {
  grid-area: sticker;
}
.product-thumb .caption > .rating {
  grid-area: rating;
  /* theme: .caption > div:nth-child(2) { margin-top: auto } pushes stars below qty/price */
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  width: auto;
  max-width: 100%;
  min-width: 0;
  align-self: center;
}
.product-thumb .caption > div.rating:nth-child(n) {
  margin-top: 0 !important;
}
.product-thumb .caption > .product_model_sstatus {
  grid-area: model;
  margin-bottom: 0 !important;
  width: 100%;
}
.product-thumb .caption > .product_model_sstatus:not(:has(.product-model)) {
  display: none;
}
.product-thumb .caption > .product-description {
  grid-area: desc;
}
.product-thumb .caption > .us-product-attributes {
  grid-area: attrs;
  margin-top: 0;
}
.product-thumb .caption > .price-actions-box {
  display: contents;
}
.product-thumb .price-actions-box .quantity_plus_minus {
  grid-area: qty;
  margin: 0 !important;
  align-self: center !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.product-thumb .price-actions-box .price {
  grid-area: price;
  margin: 0 !important;
  min-height: 0 !important; /* theme sets 40px and throws vertical align off */
  height: auto;
  align-self: center !important;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  text-align: right;
  white-space: nowrap;
}
.product-thumb .price-actions-box .cart-1click {
  grid-area: btn1;
  margin-left: 0;
  display: flex;
  min-width: 0;
}
.product-thumb .price-actions-box .cart {
  grid-area: cart;
  margin-left: 0;
  flex: 0 0 auto;
}
.product-thumb .btn-ya-checkout--card,
.product-thumb-viewed .btn-ya-checkout--card,
.price-actions-box .btn-ya-checkout--card {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: 40px;
  margin-top: 0;
  margin-left: 0;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.15;
  white-space: nowrap;
  border-radius: 44px;
  flex: 1 1 auto;
}
.product-thumb-viewed .caption {
  display: flex;
  flex-direction: column;
}
.product-thumb-viewed .caption > .price-actions-box {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
}
.product-thumb-viewed .price-actions-box .cart-1click {
  width: 100%;
}
.product-thumb-viewed .btn-ya-checkout--card {
  width: 100%;
  font-size: 11px;
  padding: 0 10px;
}

/* Lumitek calc: keep footer compact when full-bleed is restored */
.lumitek-calc .lead-form__footer {
  flex-wrap: nowrap;
}
@media (max-width: 575px) {
  .lumitek-calc .lead-form__footer {
    flex-wrap: wrap;
  }
}

/* "Оформить заказ" */
.js-live-ycp-checkout,
.btn-cta-checkout,
.btn-checkout-card,
#modal-addcart .btn-checkout,
#button-register,
#button-custom-order {
  background: #e3c045;
  background-color: #e3c045;
  color: #000;
}
.js-live-ycp-checkout:hover,
.js-live-ycp-checkout:focus,
.btn-cta-checkout:hover,
.btn-cta-checkout:focus,
.btn-checkout-card:hover,
.btn-checkout-card:focus,
#modal-addcart .btn-checkout:hover,
#modal-addcart .btn-checkout:focus,
#button-register:hover,
#button-register:focus,
#button-custom-order:hover,
#button-custom-order:focus {
  background: #edcc4f !important;
  background-color: #edcc4f !important;
  color: #000 !important;
}

/* B2B dual checkout CTAs (side cart + add-to-cart modal) */
.btn-checkout-2line {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.15;
  white-space: normal;
  text-align: center;
  vertical-align: middle;
}
.btn-checkout-2line__title {
  display: block;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.15;
  white-space: nowrap;
}
.btn-checkout-2line__sub {
  display: block;
  text-transform: lowercase;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.15;
  opacity: 0.9;
  white-space: nowrap;
}
.btn-checkout-card,
.btn-checkout-invoice {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  height: 44px !important;
  min-height: 44px !important;
  max-height: 44px !important;
  line-height: 1.15 !important;
  padding: 4px 18px !important;
  border-radius: 44px !important;
  text-align: center;
  white-space: nowrap;
  font-weight: 500;
  text-decoration: none;
  box-sizing: border-box;
}
.btn-checkout-invoice {
  background: var(--up-bg-pp-add-to-cart, #0A0A0A) !important;
  background-color: var(--up-bg-pp-add-to-cart, #0A0A0A) !important;
  color: var(--up-color-pp-add-to-cart, #FFFFFF) !important;
  border: 1px solid var(--up-bc-pp-add-to-cart, #0A0A0A) !important;
}
.btn-checkout-invoice:hover,
.btn-checkout-invoice:focus {
  background: var(--up-bg-pp-add-to-cart-hover, #E3C045) !important;
  background-color: var(--up-bg-pp-add-to-cart-hover, #E3C045) !important;
  color: var(--up-color-pp-add-to-cart-hover, #0A0A0A) !important;
  border-color: var(--up-bg-pp-add-to-cart-hover, #E3C045) !important;
}
.header-cart-checkout-btns .btn-checkout-card,
.header-cart-checkout-btns .btn-checkout-invoice {
  width: 100%;
}
.modal-addcart-actions {
  gap: 12px;
}
.modal-addcart-pay {
  gap: 10px;
  flex: 1 1 auto;
  justify-content: flex-end;
}
.modal-addcart-pay .btn-checkout-card,
.modal-addcart-pay .btn-checkout-invoice {
  min-width: 168px;
  width: auto;
  flex: 0 0 auto;
}
.fo-cart-checkout-btns {
  gap: 10px;
  flex-wrap: wrap;
}
.fo-cart-checkout-btns > .chm-btn-outline-primary {
  flex: 0 1 auto;
  max-width: 200px;
}
.fo-cart-checkout-btns__pay {
  gap: 10px;
  flex: 1 1 auto;
  justify-content: flex-end;
  min-width: 0;
}
.fo-cart-checkout-btns__pay .btn-checkout-card,
.fo-cart-checkout-btns__pay .btn-checkout-invoice {
  width: auto !important;
  min-width: 172px;
  flex: 0 0 auto;
  padding-left: 20px !important;
  padding-right: 20px !important;
}
@media (max-width: 575px) {
  .modal-addcart-pay,
  .fo-cart-checkout-btns__pay {
    width: 100%;
    flex-direction: column;
  }
  .fo-cart-checkout-btns > .chm-btn-outline-primary,
  .fo-cart-checkout-btns__pay .btn-checkout-card,
  .fo-cart-checkout-btns__pay .btn-checkout-invoice,
  .modal-addcart-pay .btn-checkout-card,
  .modal-addcart-pay .btn-checkout-invoice {
    width: 100% !important;
    max-width: none;
    min-width: 0;
  }
}

/* B2B invoice checkout blocks */
#onepcheckout.b2b-checkout .opc_block_customer {
  margin-bottom: 0;
}
#onepcheckout.b2b-checkout .checkout-сustomer,
#onepcheckout.b2b-checkout .checkout-сustomer.register_block {
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}
.b2b-block {
  border: 1px solid #d9dee7;
  border-radius: 12px;
  padding: 12px 16px 16px;
  margin-bottom: 18px;
  background: #fff;
  transition: background .2s ease, border-color .2s ease;
}
.b2b-block.is-completed {
  background: rgba(46, 168, 90, 0.08);
  border-color: #2ea85a;
}
.b2b-block.is-collapsed {
  padding-bottom: 12px;
}
.b2b-block.is-collapsed .b2b-block__body {
  display: none;
}
.b2b-block.is-collapsed .b2b-block__head {
  margin-bottom: 0;
}
.b2b-block__head {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  color: inherit;
}
.b2b-block__title {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
}
.b2b-block__edit {
  display: none;
  margin-left: auto;
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 500;
  color: #2f6fed;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
.b2b-block.is-completed.is-collapsed .b2b-block__edit {
  display: inline;
}
.b2b-block__check {
  color: #c5ccd8;
  display: inline-flex;
  flex-shrink: 0;
}
.b2b-block.is-completed .b2b-block__check {
  color: #2ea85a;
}
.b2b-shipping-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.b2b-shipping-option {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 !important;
  padding: 12px 14px;
  border: 1px solid #e4e7ec;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  font-weight: 400;
}
.b2b-shipping-option.is-selected,
.b2b-shipping-option:has(input:checked) {
  border-color: #2ea85a;
  background: rgba(46, 168, 90, 0.06);
}
.b2b-shipping-option input[type="radio"] {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
  appearance: none;
  opacity: 0;
  pointer-events: none;
}
.b2b-shipping-option__logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 96px;
  max-width: 120px;
  flex-shrink: 0;
}
.b2b-shipping-logo,
.b2b-shipping-option__logo img {
  display: block;
  max-width: 112px;
  width: auto;
  height: 36px;
  object-fit: contain;
}
.b2b-shipping-option__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.b2b-shipping-option__title {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
}
.b2b-shipping-option__price {
  font-size: 13px;
  color: #6b7280;
}
.b2b-reg-note {
  margin: 0 0 14px;
  color: #4a5568;
  font-size: 13px;
  line-height: 1.45;
}
.b2b-autofill-summary {
  background: #f7f8fa;
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 12px;
  font-size: 13px;
}
.b2b-autofill-summary.is-empty {
  opacity: 0.65;
}
.b2b-autofill-summary__row {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  padding: 3px 0;
}
.b2b-autofill-summary__row span {
  color: #718096;
  flex: 0 0 110px;
}
.b2b-autofill-summary__row strong {
  font-weight: 500;
  text-align: right;
  word-break: break-word;
}
.b2b-manual-toggle {
  padding-left: 0;
  margin-bottom: 10px;
}
.b2b-fiz-warning {
  margin-bottom: 16px;
}
.b2b-details-wrap {
  width: 100%;
  clear: both;
  float: none !important;
}
#onepcheckout .checkout-сustomer .b2b-block,
#onepcheckout [data-b2b-root] .b2b-block,
#onepcheckout .b2b-details-wrap > .b2b-block[data-b2b-block="details"] {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #d9dee7;
  border-radius: 12px;
  padding: 12px 16px 16px;
  margin-bottom: 18px;
  background: #fff;
}
#onepcheckout .checkout-сustomer .b2b-block.is-completed,
#onepcheckout [data-b2b-root] .b2b-block.is-completed,
#onepcheckout .b2b-details-wrap > .b2b-block[data-b2b-block="details"].is-completed {
  background: rgba(46, 168, 90, 0.08);
  border-color: #2ea85a;
}
.b2b-details-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.b2b-details-section {
  margin: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  left: auto !important;
}
.b2b-details-section .checkout-heading {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
}
/* Payment always bank_transfer — hide chooser */
#onepcheckout.b2b-checkout .opc_block_payment_method {
  display: none !important;
}
#onepcheckout.b2b-checkout .opc_block_shipping_address.b2b-address-skip {
  display: none !important;
}
/* Street must stay visible — pickup default used to hide it via JS */
#onepcheckout.b2b-checkout .opc_block_shipping_address.b2b-address-needed {
  display: block !important;
}
#onepcheckout.b2b-checkout .opc_block_shipping_address [name="address_1"],
#onepcheckout.b2b-checkout .opc_block_shipping_address .form-group:has([name="address_1"]) {
  display: block !important;
  visibility: visible !important;
}
#onepcheckout.b2b-checkout .opc_block_shipping_address .form-group:has([name="address_1"]).b2b-ifta {
  display: block !important;
}
.b2b-agree-inline {
  display: flex;
  align-items: center;
  min-height: 48px;
}
.b2b-agree-inline .chm-checkbox {
  margin: 0;
  font-size: 12px;
  line-height: 1.35;
}

/* IFTA labels (label always inside top of field) */
#onepcheckout .b2b-ifta,
.b2b-company-fields .b2b-ifta,
#account-register .b2b-ifta,
#account-edit .b2b-ifta {
  margin-bottom: 14px;
}
#onepcheckout .b2b-ifta__box,
.b2b-company-fields .b2b-ifta__box,
#account-register .b2b-ifta__box,
#account-edit .b2b-ifta__box {
  position: relative;
  display: block;
  min-height: 52px;
  padding: 20px 12px 8px;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  background: #fff;
  box-sizing: border-box;
}
#onepcheckout .b2b-ifta.is-focused .b2b-ifta__box,
.b2b-company-fields .b2b-ifta.is-focused .b2b-ifta__box,
#account-register .b2b-ifta.is-focused .b2b-ifta__box,
#account-edit .b2b-ifta.is-focused .b2b-ifta__box {
  border-color: #3b82f6;
}
#onepcheckout .b2b-ifta__box > label,
.b2b-company-fields .b2b-ifta__box > label,
#account-register .b2b-ifta__box > label,
#account-edit .b2b-ifta__box > label {
  position: absolute;
  left: 12px;
  top: 6px;
  right: 12px;
  margin: 0;
  padding: 0;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.2;
  color: #98a2b3;
  pointer-events: none;
  z-index: 2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#onepcheckout .b2b-ifta.is-filled .b2b-ifta__box > label,
#onepcheckout .b2b-ifta.is-focused .b2b-ifta__box > label,
.b2b-company-fields .b2b-ifta.is-filled .b2b-ifta__box > label,
.b2b-company-fields .b2b-ifta.is-focused .b2b-ifta__box > label,
#account-register .b2b-ifta.is-filled .b2b-ifta__box > label,
#account-register .b2b-ifta.is-focused .b2b-ifta__box > label,
#account-edit .b2b-ifta.is-filled .b2b-ifta__box > label,
#account-edit .b2b-ifta.is-focused .b2b-ifta__box > label {
  color: #3b82f6;
}
#onepcheckout .b2b-ifta__box > input.form-control,
#onepcheckout .b2b-ifta__box > textarea.form-control,
#onepcheckout .b2b-ifta__box > select.form-control,
.b2b-company-fields .b2b-ifta__box > input.form-control,
.b2b-company-fields .b2b-ifta__box > textarea.form-control,
.b2b-company-fields .b2b-ifta__box > select.form-control,
#account-register .b2b-ifta__box > input.form-control,
#account-edit .b2b-ifta__box > input.form-control {
  display: block;
  width: 100%;
  height: 24px;
  min-height: 24px;
  margin: 0;
  padding: 0;
  border: 0 !important;
  border-radius: 0;
  box-shadow: none !important;
  background: transparent !important;
  font-size: 14px;
  line-height: 1.3;
  color: #111;
}
#onepcheckout .b2b-ifta__box > textarea.form-control {
  height: auto;
  min-height: 56px;
  resize: vertical;
}
#onepcheckout .b2b-ifta__box > select.form-control {
  appearance: none;
  -webkit-appearance: none;
  background-image: none !important;
  padding-right: 18px;
}
#onepcheckout .b2b-ifta__box .select2-container {
  width: 100% !important;
  display: block;
}
#onepcheckout .b2b-ifta__box .select2-container .select2-selection--single {
  height: 24px !important;
  min-height: 24px !important;
  border: 0 !important;
  background: transparent !important;
  outline: 0;
}
#onepcheckout .b2b-ifta__box .select2-container .select2-selection__rendered {
  padding: 0 !important;
  line-height: 24px !important;
  color: #111 !important;
}
#onepcheckout .b2b-ifta__box .select2-container .select2-selection__arrow {
  height: 24px !important;
  top: 0 !important;
}

/* Sidebar steps */
.b2b-totals .b2b-next-hidden {
  display: none !important;
}
.b2b-steps-list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}
.b2b-steps-list__item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.35;
  color: #111;
  font-weight: 500;
}
.b2b-steps-list__item.is-current {
  color: #111;
  font-weight: 600;
}
.b2b-steps-list__item.is-done {
  color: #111;
  font-weight: 600;
}
.b2b-steps-list__check {
  display: inline-flex;
  flex-shrink: 0;
  color: #c5ccd8;
}
.b2b-steps-list__item.is-done .b2b-steps-list__check {
  color: #2ea85a;
}
.b2b-steps-list__item.is-current .b2b-steps-list__check {
  color: #c5ccd8;
}
.b2b-steps-list__num {
  display: none;
}
#button-register.b2b-submit-btn,
#onepcheckout #button-register {
  border-radius: 44px !important;
  height: 48px;
}
#button-register.b2b-submit-btn.is-disabled,
#button-register.b2b-submit-btn:disabled {
  background: #cfd5de !important;
  background-color: #cfd5de !important;
  border-color: #cfd5de !important;
  color: #fff !important;
  cursor: not-allowed;
  pointer-events: none;
  opacity: 1;
}

