/* ALBER: локальные шрифты и оформление сайта */

@font-face {
  font-family: "Dela Gothic One";
  src: url("../fonts/DelaGothicOne-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "5ka Sans Design";
  src: url("../fonts/5ka-sans-regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "5ka Sans Design";
  src: url("../fonts/5ka-sans-semibold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "5ka Sans Design";
  src: url("../fonts/5ka-sans-black.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

html,
body {
  font-family: "5ka Sans Design", "Source Sans Pro", sans-serif;
}

.font-400 {
  font-family: "5ka Sans Design", "Source Sans Pro", sans-serif;
  font-weight: 400;
}

.font-600 {
  font-family: "5ka Sans Design", "Source Sans Pro", sans-serif;
  font-weight: 600;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
.font-700,
.page-title h1,
.page-title h2,
.page-title h3,
.page-title h4,
.widget-title,
.title-hero-bg h1 {
  font-family: "5ka Sans Design", "Source Sans Pro", sans-serif;
  font-weight: 700;
}

/* ---------- Логотип ALBER (крупнее, без синего от глобального a:hover) ---------- */
.logo-alber {
  font-family: "Dela Gothic One", sans-serif;
  font-size: clamp(2.15rem, 3.2vw, 2.85rem);
  line-height: 1;
  letter-spacing: 0.04em;
  text-decoration: none !important;
}

.logo-text-brand {
  display: table-cell;
  vertical-align: middle;
  text-decoration: none !important;
}

/* Снять цвет ссылки Bootstrap / master.css a:hover (#1a237e) */
nav.navbar.bootsnav .logo-text-brand,
nav.navbar.bootsnav .logo-text-brand:hover,
nav.navbar.bootsnav .logo-text-brand:focus,
nav.navbar.bootsnav .logo-text-brand:active {
  color: inherit !important;
}

nav.navbar.bootsnav .logo-text-brand .logo-alber,
nav.navbar.bootsnav .logo-text-brand:hover .logo-alber,
nav.navbar.bootsnav .logo-text-brand:focus .logo-alber,
nav.navbar.bootsnav .logo-text-brand:active .logo-alber {
  color: inherit !important;
}

.logo-text-brand:hover .logo-alber,
.logo-text-brand:focus .logo-alber {
  opacity: 0.9;
}

/* Прозрачная «белая» шапка — белый логотип (все ширины) */
nav.navbar.bootsnav.navbar-transparent.white .logo-alber,
nav.navbar.bootsnav.no-background.white .logo-alber {
  color: #fff !important;
}

/* Прозрачная «тёмная» (другие страницы) */
nav.navbar.bootsnav.navbar-transparent.dark .logo-alber,
nav.navbar.bootsnav.no-background.dark .logo-alber {
  color: #212121 !important;
}

/* Главная: белая шапка (высота как у бывшей transparent — 80px на десктопе), после скролла — инверсия и компакт */
nav.navbar.bootsnav.alber-nav-white {
  background-color: #fff !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease,
    min-height 0.3s ease, height 0.3s ease;
}

nav.navbar.bootsnav.alber-nav-white .logo {
  transition: height 0.3s ease;
}

nav.navbar.bootsnav.alber-nav-white .logo-alber {
  transition: color 0.25s ease, font-size 0.3s ease;
}

nav.navbar.bootsnav.alber-nav-white ul.nav>li>a {
  transition: color 0.25s ease, padding 0.3s ease, opacity 0.25s ease;
}

@media (min-width: 1024px) {
  nav.navbar.bootsnav.alber-nav-white:not(.alber-nav-white--compact) {
    height: 80px !important;
    min-height: 80px !important;
  }

  nav.navbar.bootsnav.alber-nav-white:not(.alber-nav-white--compact) .logo {
    height: 80px !important;
  }

  nav.navbar.bootsnav.alber-nav-white:not(.alber-nav-white--compact) ul.nav>li>a {
    padding-top: 30px !important;
    padding-bottom: 30px !important;
  }
}

nav.navbar.bootsnav.alber-nav-white .logo-alber,
nav.navbar.bootsnav.alber-nav-white .logo-text-brand:hover .logo-alber,
nav.navbar.bootsnav.alber-nav-white .logo-text-brand:focus .logo-alber {
  color: #212121 !important;
}

nav.navbar.bootsnav.alber-nav-white ul.nav>li>a {
  color: #212121 !important;
}

nav.navbar.bootsnav.alber-nav-white ul.nav>li>a:hover,
nav.navbar.bootsnav.alber-nav-white ul.nav>li>a:focus {
  color: #000 !important;
  opacity: 0.88;
}

nav.navbar.bootsnav.alber-nav-white .navbar-toggle {
  color: #212121 !important;
  transition: color 0.25s ease;
}

nav.navbar.bootsnav.alber-nav-white .navbar-toggle .eicon {
  color: inherit;
}

nav.navbar.bootsnav.alber-nav-white .attr-nav>ul>li>a {
  color: #212121 !important;
}

/* Каталог / карточка: корзина по центру высоты шапки (обычная и компактная) */
@media (min-width: 1024px) {
  body.alber-legal-page nav.navbar.bootsnav.alber-nav-white>.container>.attr-nav>ul>li>a.dropdown-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    height: 80px !important;
    min-height: 0;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  body.alber-legal-page nav.navbar.bootsnav.alber-nav-white.alber-nav-white--compact>.container>.attr-nav>ul>li>a.dropdown-toggle {
    height: 60px !important;
  }
}

@media (max-width: 1023px) {
  body.alber-legal-page nav.navbar.bootsnav .attr-nav>ul>li>a.dropdown-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    min-height: 52px;
  }
}

nav.navbar.bootsnav.alber-nav-white .attr-nav>ul>li>a:hover,
nav.navbar.bootsnav.alber-nav-white .attr-nav>ul>li>a:focus {
  color: #000 !important;
}

nav.navbar.bootsnav.alber-nav-white.alber-nav-white--compact .attr-nav>ul>li>a {
  color: rgba(255, 255, 255, 0.92) !important;
}

nav.navbar.bootsnav.alber-nav-white.alber-nav-white--compact .attr-nav>ul>li>a:hover,
nav.navbar.bootsnav.alber-nav-white.alber-nav-white--compact .attr-nav>ul>li>a:focus {
  color: #fff !important;
}

/* После скролла: тёмная полоса, белый текст, меньше по высоте */
nav.navbar.bootsnav.alber-nav-white.alber-nav-white--compact {
  background-color: #000 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: none !important;
}

@media (min-width: 1024px) {
  nav.navbar.bootsnav.alber-nav-white.alber-nav-white--compact {
    height: 60px !important;
    min-height: 60px !important;
  }

  nav.navbar.bootsnav.alber-nav-white.alber-nav-white--compact .logo {
    height: 60px !important;
  }

  nav.navbar.bootsnav.alber-nav-white.alber-nav-white--compact ul.nav>li>a {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
  }
}

nav.navbar.bootsnav.alber-nav-white.alber-nav-white--compact .logo-alber,
nav.navbar.bootsnav.alber-nav-white.alber-nav-white--compact .logo-text-brand:hover .logo-alber,
nav.navbar.bootsnav.alber-nav-white.alber-nav-white--compact .logo-text-brand:focus .logo-alber {
  color: #fff !important;
  font-size: clamp(1.85rem, 3vw, 2.45rem) !important;
}

nav.navbar.bootsnav.alber-nav-white.alber-nav-white--compact ul.nav>li>a {
  color: #fff !important;
}

nav.navbar.bootsnav.alber-nav-white.alber-nav-white--compact ul.nav>li>a:hover,
nav.navbar.bootsnav.alber-nav-white.alber-nav-white--compact ul.nav>li>a:focus {
  color: rgba(255, 255, 255, 0.88) !important;
  opacity: 1;
}

nav.navbar.bootsnav.alber-nav-white.alber-nav-white--compact .navbar-toggle {
  color: #fff !important;
}

/* После скролла: тёмная плашка, логотип и пункты меню белые (без синего hover у ссылки лого) */
nav.navbar.bootsnav.navbar-fixed.white:not(.navbar-transparent) {
  background-color: #000 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: none !important;
}

nav.navbar.bootsnav.navbar-fixed.white:not(.navbar-transparent) .logo-alber,
nav.navbar.bootsnav.navbar-fixed.white:not(.navbar-transparent) .logo-text-brand:hover .logo-alber,
nav.navbar.bootsnav.navbar-fixed.white:not(.navbar-transparent) .logo-text-brand:focus .logo-alber {
  color: #fff !important;
}

nav.navbar.bootsnav.navbar-fixed.white:not(.navbar-transparent) ul.nav>li>a,
nav.navbar.bootsnav.navbar-fixed.white:not(.navbar-transparent) .attr-nav>ul>li>a {
  color: #fff !important;
}

nav.navbar.bootsnav.navbar-fixed.white:not(.navbar-transparent) ul.nav>li>a:hover,
nav.navbar.bootsnav.navbar-fixed.white:not(.navbar-transparent) ul.nav>li>a:focus,
nav.navbar.bootsnav.navbar-fixed.white:not(.navbar-transparent) .attr-nav>ul>li>a:hover,
nav.navbar.bootsnav.navbar-fixed.white:not(.navbar-transparent) .attr-nav>ul>li>a:focus {
  color: rgba(255, 255, 255, 0.85) !important;
}

/* Главная: после скролла — белый логотип на тёмной шапке */
nav.navbar.bootsnav.navbar-fixed.dark:not(.navbar-transparent) .logo-alber,
nav.navbar.bootsnav.navbar-fixed.dark:not(.navbar-transparent) .logo-text-brand:hover .logo-alber,
nav.navbar.bootsnav.navbar-fixed.dark:not(.navbar-transparent) .logo-text-brand:focus .logo-alber {
  color: #fff !important;
}

/* Мобилка и планшет: лого по центру по вертикали строки хедера (кнопка меню — слева по центру) */
@media (max-width: 991px) {
  nav.navbar.bootsnav .navbar-header {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    float: none !important;
    text-align: center;
    min-height: 52px;
    padding-top: 10px;
    padding-bottom: 10px;
    box-sizing: border-box;
  }

  nav.navbar.bootsnav .navbar-header .navbar-toggle {
    position: absolute;
    left: 12px;
    top: 50% !important;
    transform: translateY(-50%);
    float: none !important;
    margin: 0 !important;
  }

  nav.navbar.bootsnav .navbar-header .logo {
    display: flex !important;
    align-items: center;
    justify-content: center;
    float: none !important;
    margin: 0 auto !important;
    height: auto !important;
    min-height: 48px;
    text-align: center;
  }

  nav.navbar.bootsnav .navbar-header .logo .logo-text-brand {
    display: flex !important;
    align-items: center;
    line-height: 1;
  }

  @media (max-width: 767px) {
    nav.navbar.bootsnav .navbar-header .navbar-toggle {
      left: 8px;
    }
  }
}

/* ---------- Футер: целиком чёрный (#000), без серых полос шаблона ---------- */
footer.footer.alber-footer {
  color: #fff;
  text-align: center;
  background-color: #000 !important;
  margin: 0;
  border: none !important;
  box-shadow: none !important;
}

footer.footer.alber-footer .footer-main,
footer.footer.alber-footer .footer-copyright {
  background-color: #000 !important;
  border: none !important;
  box-shadow: none !important;
}

footer.footer.dark-block.alber-footer .footer-main,
footer.footer.dark-block.alber-footer .footer-copyright {
  background-color: #000 !important;
}

footer.footer.alber-footer .footer-main {
  padding: clamp(40px, 9vw, 56px) clamp(16px, 5vw, 20px) clamp(48px, 10vw, 60px);
}

footer.footer.alber-footer .footer-copyright {
  display: none;
}

footer.footer.alber-footer .alber-footer-inner {
  max-width: 100%;
  margin: 0 auto;
}

footer.footer.alber-footer .alber-footer-inner .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 960px;
}

footer.footer.alber-footer .alber-footer-company {
  margin: 0 0 clamp(20px, 5vw, 30px);
  font-family: "5ka Sans Design", "Source Sans Pro", sans-serif;
  font-weight: 700;
  font-size: clamp(1.28rem, 2.2vw, 1.72rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff !important;
  line-height: 1.2;
}

footer.footer.alber-footer .alber-footer-company-br {
  display: none;
}

footer.footer.alber-footer .alber-footer-contacts {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin: 0 0 clamp(22px, 5vw, 28px);
}

footer.footer.alber-footer .alber-footer-contact-inline {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  column-gap: 14px;
  row-gap: 8px;
}

footer.footer.alber-footer .alber-footer-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff !important;
  font-size: clamp(14px, 3.6vw, 17px);
  line-height: 1.45;
  justify-content: center;
  text-align: left;
}

footer.footer.alber-footer .alber-footer-item--phone {
  width: 100%;
  flex-wrap: wrap;
  text-align: center;
  justify-content: center;
}

footer.footer.alber-footer .alber-footer-item i {
  font-size: clamp(18px, 4.5vw, 24px);
  color: #fff;
  flex-shrink: 0;
}

footer.footer.alber-footer .alber-footer-item a {
  color: #fff !important;
  text-decoration: none !important;
}

footer.footer.alber-footer .alber-footer-item a:hover,
footer.footer.alber-footer .alber-footer-item a:focus {
  color: #e8e8e8 !important;
}

footer.footer.alber-footer .alber-footer-rule {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  width: min(1180px, 88vw);
  max-width: 92%;
  margin: clamp(4px, 1.5vw, 10px) auto clamp(20px, 5vw, 26px);
}

footer.footer.alber-footer .alber-footer-requisites {
  margin: 0 0 clamp(18px, 4.5vw, 24px);
  font-size: clamp(13px, 3.2vw, 16px);
  letter-spacing: 0.02em;
  color: #fff !important;
  text-align: center;
  width: 100%;
  max-width: 52rem;
  line-height: 1.5;
}

footer.footer.alber-footer .alber-footer-req-line {
  display: block;
}

footer.footer.alber-footer .alber-footer-legal {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 3vw, 16px);
  margin: 0 0 clamp(22px, 5vw, 30px);
  font-size: clamp(14px, 3.4vw, 16px);
}

footer.footer.alber-footer .alber-footer-legal a {
  color: #fff !important;
  text-decoration: underline !important;
  text-underline-offset: 4px;
}

footer.footer.alber-footer .alber-footer-legal a:hover,
footer.footer.alber-footer .alber-footer-legal a:focus {
  color: #e0e0e0 !important;
}

footer.footer.alber-footer .alber-footer-copy {
  margin: 0 auto;
  font-size: clamp(12px, 3.1vw, 16px);
  color: #fff !important;
  text-align: center;
  width: 100%;
  max-width: 19rem;
  line-height: 1.45;
}

@media (min-width: 992px) {
  footer.footer.alber-footer .alber-footer-company {
    font-size: clamp(1.28rem, 2.2vw, 1.72rem);
  }

  footer.footer.alber-footer .alber-footer-company-br {
    display: none;
  }

  footer.footer.alber-footer .alber-footer-contacts {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px 40px;
  }

  footer.footer.alber-footer .alber-footer-contact-inline {
    display: contents;
  }

  footer.footer.alber-footer .alber-footer-item--phone {
    width: auto;
    text-align: inherit;
    justify-content: flex-start;
  }

  footer.footer.alber-footer .alber-footer-req-line {
    display: inline;
  }

  footer.footer.alber-footer .alber-footer-req-line+.alber-footer-req-line::before {
    content: "\00a0\00a0\00a0";
  }

  footer.footer.alber-footer .alber-footer-legal {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px 40px;
  }

  footer.footer.alber-footer .alber-footer-copy {
    max-width: none;
    font-size: 16px;
  }
}

@media (max-width: 991px) {
  footer.footer.alber-footer .alber-footer-company {
    font-size: clamp(1.38rem, 4.8vw, 1.65rem);
    letter-spacing: 0.05em;
    margin-left: auto;
    margin-right: auto;
  }

  footer.footer.alber-footer .alber-footer-company-br {
    display: inline;
  }
}

footer.footer.alber-footer .widget-title:before {
  display: none;
}

.contact-us.dark-bg {
  padding-bottom: 0;
}

.contact-us .col-inner.spacer {
  padding-bottom: 50px;
}

.contact-us .alber-contact-row {
  align-items: stretch;
}

.contact-us .alber-contact-row>[class*="col-"] {
  align-items: stretch;
}

.contact-us .map-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-self: stretch;
  min-height: 380px;
  padding: 0;
}

.contact-us .map-section .alber-yandex-wrap {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  background: #1a1a1a;
}

/* ---------- Яндекс.Карты: высота блока, клик для разблокировки ---------- */
.alber-yandex-interactive {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  width: 100%;
  height: 100%;
}

.alber-yandex-frame {
  position: relative;
  flex: 1 1 auto;
  min-height: 220px;
  width: 100%;
}

.alber-yandex-frame iframe {
  position: absolute;
  left: 0;
  top: 0;
  width: 100% !important;
  height: 100% !important;
  min-height: 100%;
  border: 0;
  display: block;
}

.alber-yandex-cover {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px;
  margin: 0;
  border: none;
  border-radius: 0;
  background: rgba(10, 10, 10, 0.72);
  color: #fff;
  cursor: pointer;
  text-align: center;
  font: inherit;
  -webkit-tap-highlight-color: transparent;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.alber-yandex-cover__text {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.alber-yandex-cover__hint {
  font-size: 14px;
  opacity: 0.75;
  max-width: 22em;
  line-height: 1.4;
  transition: opacity 0.2s ease;
}

.alber-yandex-cover:hover .alber-yandex-cover__hint,
.alber-yandex-cover:focus .alber-yandex-cover__hint {
  opacity: 1;
}

@media (hover: none) {
  .alber-yandex-cover__hint {
    opacity: 1;
  }
}

.alber-yandex-cover:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: -4px;
}

.alber-yandex-interactive.is-unlocked .alber-yandex-cover {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.map-section .alber-yandex-wrap--wide {
  position: relative;
  width: 100%;
  min-height: 480px;
  height: 72vh;
  max-height: 820px;
  overflow: hidden;
  background: #1a1a1a;
}

.map-section .alber-yandex-wrap--wide .alber-yandex-interactive {
  min-height: inherit;
  height: 100%;
}

.map-section .alber-yandex-wrap--wide .alber-yandex-frame {
  min-height: 100%;
}

@media (max-width: 767px) {
  .contact-us .map-section {
    min-height: 320px;
    order: 2;
  }

  .map-section .alber-yandex-wrap--wide {
    min-height: 360px;
    height: 55vh;
    max-height: 520px;
  }
}

/* ---------- Главная: слайдер — типографика; текст переносится (без горизонтального скролла) ---------- */
.home-slider .alber-hero-welcome {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  overflow-x: visible;
  overflow-y: visible;
  padding-bottom: 8px;
}

.home-slider .alber-hero-title,
.home-slider .alber-hero-sub {
  margin: 0;
  white-space: normal;
  overflow-wrap: break-word;
  word-wrap: break-word;
  line-height: 1.2;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.55), 0 1px 3px rgba(0, 0, 0, 0.35);
}

.home-slider .alber-hero-title {
  font-size: clamp(2.5rem, 7.2vw, 5.2rem);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.home-slider .alber-hero-sub {
  margin-top: clamp(0.85rem, 2vw, 1.35rem);
  font-size: clamp(1.38rem, 2.75vw, 2.28rem);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.01em;
}

.home-slider .alber-hero-actions {
  margin-top: clamp(2.1rem, 4.8vw, 3rem);
  margin-bottom: 0;
}

/* Затемнение поверх фото (читаемость текста), под слоем текста */
.home-slider .alber-hero-slide-photo {
  overflow: hidden;
  background: none !important;
}

.home-slider .alber-hero-slide-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.42);
}

.home-slider .alber-hero-slide-img {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  object-fit: cover;
  object-position: center;
  position: relative;
  z-index: 0;
}

.home-slider .alber-hero-cta.btn {
  background-color: transparent !important;
  border: 1px solid #fff !important;
  color: #fff !important;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  font-size: clamp(0.75rem, 1.75vw, 0.875rem) !important;
  padding: 13px 36px !important;
  border-radius: 0;
  box-shadow: none !important;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.home-slider .alber-hero-cta.btn:hover,
.home-slider .alber-hero-cta.btn:focus-visible {
  background-color: #000 !important;
  border-color: #000 !important;
  color: #fff !important;
}

.home-slider .alber-hero-cta.btn:active {
  background-color: #000 !important;
  border-color: #000 !important;
  color: #fff !important;
}

/* Герой: без серой полосы под слайдером (глобальный section { background:#eee }) */
section.home-slider.dark-block {
  background: transparent !important;
  background-color: transparent !important;
}

section.home-slider.dark-block+section {
  padding-top: clamp(36px, 8vw, 56px) !important;
}

.home-slider .default-slider.slick-slider.slick-dotted {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* Индикаторы: белая обводка / активная — сплошная белая полоса */
section.home-slider.dark-block .default-slider .slick-dots {
  bottom: 36px;
  z-index: 25;
}

section.home-slider.dark-block .default-slider .slick-dots li button {
  width: 44px !important;
  height: 3px !important;
  padding: 0 !important;
  border: 1px solid rgba(255, 255, 255, 0.9) !important;
  background: transparent !important;
  border-radius: 0;
}

section.home-slider.dark-block .default-slider .slick-dots li.slick-active button {
  background-color: #fff !important;
  border-color: #fff !important;
}

/* ПК: слайд = высота вьюпорта (в master.css .default-slider .slide { height: 768px } — иначе под фото пустота) */
@media (min-width: 992px) {

  .home-slider .default-slider,
  .home-slider .default-slider .slick-list,
  .home-slider .default-slider .slick-track {
    height: 100vh !important;
    min-height: 100vh !important;
  }

  .home-slider .default-slider .slide,
  .home-slider .default-slider .slick-slide,
  .home-slider .default-slider .slick-slide>div {
    height: 100% !important;
    min-height: 100% !important;
  }

  .home-slider .slide-img,
  section.home-slider.dark-block .hero-text-wrap {
    height: 100% !important;
    min-height: 100% !important;
  }

  section.home-slider.dark-block .default-slider .slick-prev,
  section.home-slider.dark-block .default-slider .slick-next {
    width: 56px !important;
    height: 56px !important;
    border: 2px solid rgba(255, 255, 255, 0.9) !important;
    color: #fff !important;
    background: rgba(0, 0, 0, 0.22) !important;
    z-index: 30;
  }

  section.home-slider.dark-block .default-slider .slick-prev:hover,
  section.home-slider.dark-block .default-slider .slick-next:hover,
  section.home-slider.dark-block .default-slider .slick-prev:focus,
  section.home-slider.dark-block .default-slider .slick-next:focus {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: #fff !important;
  }

  section.home-slider.dark-block .default-slider .slick-prev:before,
  section.home-slider.dark-block .default-slider .slick-next:before {
    color: #fff !important;
    opacity: 1 !important;
    font-size: 40px !important;
  }

  .home-slider .alber-hero-cta.btn {
    font-size: 1.0625rem !important;
    padding: 18px 52px !important;
    letter-spacing: 0.12em;
  }
}

/* ---------- Главная: пример изделий — «+», мобильный «раскрыть», лайтбокс ---------- */
#grandy-folio .portfolio.alber-product-tile {
  position: relative;
}

/* Кнопка «+» чуть ниже относительно заголовка (десктоп / hover) */
#grandy-folio .portfolio.alber-product-tile:hover .portfolio-description .alber-product-zoom.links {
  top: 52px;
}

#grandy-folio .portfolio.alber-product-tile .alber-product-zoom.links {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin: 0 auto;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  text-decoration: none !important;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 300;
  line-height: 1;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

#grandy-folio .portfolio.alber-product-tile .alber-product-zoom-icon {
  display: block;
  font-size: 32px;
  font-weight: 200;
  line-height: 1;
  margin-top: -2px;
}

#grandy-folio .portfolio.alber-product-tile .alber-product-zoom.links:hover,
#grandy-folio .portfolio.alber-product-tile .alber-product-zoom.links:focus-visible {
  background-color: #fff;
  color: #1a1a1a !important;
  border-color: #fff;
  transform: scale(1.05);
}

/* Мобилка: до раскрытия — только фото; первый тап показывает название и «+» */
@media (hover: none) and (max-width: 991px) {
  #grandy-folio .portfolio.alber-product-tile .folio-overlay {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s ease, visibility 0.28s ease;
  }

  #grandy-folio .portfolio.alber-product-tile .portfolio-description .portfolio-title,
  #grandy-folio .portfolio.alber-product-tile .portfolio-description .alber-product-zoom.links {
    opacity: 0;
    visibility: hidden;
  }

  #grandy-folio .portfolio.alber-product-tile.alber-tile-expanded .folio-overlay {
    opacity: 0.55;
    visibility: visible;
  }

  #grandy-folio .portfolio.alber-product-tile.alber-tile-expanded .portfolio-description .portfolio-title,
  #grandy-folio .portfolio.alber-product-tile.alber-tile-expanded .portfolio-description .alber-product-zoom.links {
    opacity: 1;
    visibility: visible;
  }

  #grandy-folio .portfolio.alber-product-tile.alber-tile-expanded .portfolio-description .portfolio-title {
    top: 0;
  }

  #grandy-folio .portfolio.alber-product-tile.alber-tile-expanded .portfolio-description .alber-product-zoom.links {
    top: 48px;
  }
}

/* ---------- Лайтбокс изделий: стрелки без FontAwesome, миниатюры, подпись ---------- */
.mfp-wrap.alber-product-mfp .mfp-bottom-bar {
  display: block !important;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 78px;
  z-index: 10480;
  margin: 0;
  padding: 8px 52px 8px 16px;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.82);
  pointer-events: none;
  max-height: 44vh;
  overflow: hidden;
}

.mfp-wrap.alber-product-mfp .mfp-bottom-bar .mfp-title {
  pointer-events: none;
  color: #f2f2f2;
  font-size: 14px;
  line-height: 1.35;
  padding-right: 120px;
  max-width: 100%;
}

.mfp-wrap.alber-product-mfp .mfp-bottom-bar .mfp-counter {
  position: absolute;
  right: 48px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  pointer-events: none;
}

.mfp-wrap.alber-product-mfp .mfp-bottom-bar .alber-mfp-counter {
  color: rgba(255, 255, 255, 0.85);
}

.mfp-wrap.alber-product-mfp .mfp-bottom-bar:empty {
  display: none !important;
}

@supports selector(:has(*)) {
  .mfp-wrap.alber-product-mfp .mfp-bottom-bar:not(:has(.mfp-title:not(:empty))):not(:has(.mfp-counter)) {
    display: none !important;
  }
}

.mfp-wrap.alber-product-mfp .mfp-img {
  padding-bottom: calc(128px + env(safe-area-inset-bottom, 0px)) !important;
}

.mfp-wrap.alber-product-mfp button.mfp-arrow {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 10485;
}

.mfp-wrap.alber-product-mfp .mfp-arrow:before,
.mfp-wrap.alber-product-mfp .mfp-arrow .mfp-b,
.mfp-wrap.alber-product-mfp .mfp-arrow .mfp-a {
  display: none !important;
}

.mfp-wrap.alber-product-mfp .mfp-arrow:after {
  content: "\2039" !important;
  display: block !important;
  position: static !important;
  left: auto !important;
  top: auto !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  opacity: 1 !important;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  font-size: 52px !important;
  font-weight: 200 !important;
  line-height: 1 !important;
  color: #fff !important;
  -webkit-font-smoothing: antialiased;
}

.mfp-wrap.alber-product-mfp .mfp-arrow-right:after {
  content: "\203A" !important;
}

.alber-mfp-thumbs {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10470;
  display: flex;
  gap: 8px;
  min-height: 78px;
  max-height: 92px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  background: rgba(8, 8, 8, 0.94);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  justify-content: center;
  align-items: center;
}

.alber-mfp-thumbs--single {
  justify-content: center;
}

.alber-mfp-thumb {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  background: #222;
  opacity: 0.72;
  transition: opacity 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.alber-mfp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.alber-mfp-thumb:hover,
.alber-mfp-thumb:focus-visible {
  opacity: 1;
}

.alber-mfp-thumb.is-active {
  opacity: 1;
  border-color: #fff;
  transform: translateY(-2px);
}

@media (max-width: 600px) {
  .mfp-wrap.alber-product-mfp .mfp-img {
    padding-bottom: calc(148px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .mfp-wrap.alber-product-mfp .mfp-bottom-bar {
    bottom: 86px;
    font-size: 13px;
  }
}

@media (max-width: 991px) {
  .home-slider {
    padding-top: calc(60px + env(safe-area-inset-top, 0px));
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
    overflow-x: hidden;
    height: auto !important;
    min-height: 0 !important;
  }

  .home-slider {
    --alber-hero-h: clamp(400px, min(92vw, 72vh), 620px);
  }

  .home-slider .default-slider {
    height: auto !important;
    min-height: var(--alber-hero-h);
  }

  .home-slider .default-slider .slick-list,
  .home-slider .default-slider .slick-track {
    height: var(--alber-hero-h) !important;
    min-height: var(--alber-hero-h) !important;
  }

  .home-slider .slick-slide,
  .home-slider .slick-slide>div {
    min-height: var(--alber-hero-h) !important;
    height: var(--alber-hero-h) !important;
  }

  .home-slider .default-slider .slide {
    position: relative;
    display: block;
    width: 100%;
    min-height: var(--alber-hero-h) !important;
    height: var(--alber-hero-h) !important;
    overflow: hidden;
  }

  .home-slider .slide-img {
    position: absolute !important;
    inset: 0 !important;
    width: 100%;
    height: 100% !important;
    min-height: 100% !important;
    transform: none !important;
  }

  .home-slider .slide-img .alber-hero-slide-img {
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    object-fit: cover;
    object-position: center;
  }

  section.home-slider.dark-block .hero-text-wrap {
    position: absolute !important;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: table !important;
    table-layout: fixed;
    width: 100%;
    height: 100% !important;
    min-height: 0 !important;
    padding: 0 12px 28px;
    box-sizing: border-box;
    background: linear-gradient(180deg,
        rgba(0, 0, 0, 0.12) 0%,
        rgba(0, 0, 0, 0.22) 50%,
        rgba(0, 0, 0, 0.32) 100%) !important;
  }

  .home-slider .hero-text-wrap .hero-text {
    display: table-cell !important;
    vertical-align: middle;
    width: 100%;
  }

  .home-slider .default-slider .container {
    padding-top: 0 !important;
  }

  .home-slider .alber-hero-welcome {
    padding: 0 4px 6px;
    max-width: 100%;
  }

  .home-slider .alber-hero-title {
    font-size: clamp(1.75rem, 6.5vw, 2.2rem);
    line-height: 1.18;
  }

  .home-slider .alber-hero-sub {
    margin-top: 0.65rem;
    font-size: clamp(1.22rem, 5.2vw, 1.58rem);
    line-height: 1.38;
  }

  .home-slider .alber-hero-actions {
    margin-top: 2.75rem;
  }

  .home-slider .alber-hero-cta.btn {
    font-size: clamp(0.88rem, 2.45vw, 1.05rem) !important;
    padding: 15px 42px !important;
  }

  section.home-slider.dark-block .default-slider .slick-dots {
    bottom: 18px;
  }
}

/* ---------- Юридические страницы: blockquote как в typography.html ---------- */
section.white-bg .alber-doc-blockquote {
  text-align: left;
  padding: 28px 32px 24px;
  margin-bottom: 0;
  border-left: 5px solid rgba(0, 0, 0, 0.15);
  background: #fafafa;
  border-radius: 0 4px 4px 0;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

section.white-bg .alber-doc-blockquote p {
  line-height: 1.65;
  color: #333;
}

/* Прайс-лист: blockquote.alber-shop-intro — не сужать блок (класс не для текста каталога) */
body.alber-legal-page section.white-bg blockquote.alber-doc-blockquote.alber-shop-intro {
  max-width: none;
  text-align: left;
}

section.white-bg .alber-doc-blockquote .blockquote-footer {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  text-align: left;
}

section.white-bg .alber-doc-blockquote .blockquote-footer cite {
  font-style: normal;
}

/* ---------- Юридические страницы: шапка без фото + хлебные крошки ---------- */
section.title-hero-bg.alber-title-hero--plain-dark {
  box-sizing: border-box;
  background-image: none !important;
  background-color: #000;
  min-height: clamp(260px, 32vh, 380px);
  padding: 24px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  position: relative;
}

/* Юридические страницы: чёрный hero не заходит под фиксированный navbar */
body.alber-legal-page section.title-hero-bg.alber-title-hero--plain-dark {
  margin-top: calc(60px + env(safe-area-inset-top, 0px));
}

@media (min-width: 1024px) {
  body.alber-legal-page section.title-hero-bg.alber-title-hero--plain-dark {
    margin-top: 80px;
  }
}

section.title-hero-bg.alber-title-hero--plain-dark .container {
  width: 100%;
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
}

section.title-hero-bg.alber-title-hero--plain-dark .page-title {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  width: 100%;
  max-width: 56rem;
  margin: 0 auto;
  transform: none !important;
  -webkit-transform: none !important;
  -moz-transform: none !important;
  -ms-transform: none !important;
  -o-transform: none !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2.2vw, 22px);
}

section.title-hero-bg.alber-title-hero--plain-dark .page-title h1 {
  margin: 0;
}

section.title-hero-bg.alber-title-hero--plain-dark .alber-hero-breadcrumb {
  margin-top: 0;
}

section.title-hero-bg.alber-title-hero--plain-dark ol.breadcrumb.alber-hero-breadcrumb__list {
  margin-bottom: 0;
}

section.title-hero-bg.alber-title-hero--plain-dark::before {
  display: none;
}

.alber-hero-breadcrumb__list {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  background: transparent;
  border-radius: 0;
}

.alber-hero-breadcrumb__list>li {
  display: inline-block;
  font-size: 14px;
  letter-spacing: 0.04em;
}

.alber-hero-breadcrumb__list>li+li::before {
  content: "/";
  display: inline-block;
  padding: 0 10px;
  color: rgba(255, 255, 255, 0.45);
  pointer-events: none;
}

.alber-hero-breadcrumb__list a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
}

.alber-hero-breadcrumb__list a:hover,
.alber-hero-breadcrumb__list a:focus {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.alber-hero-breadcrumb__list>li.active {
  color: #fff;
  font-weight: 600;
}

/* ---------- Юридические страницы: мобилка ---------- */
@media (max-width: 991px) {
  body.alber-legal-page section.title-hero-bg.alber-title-hero--plain-dark {
    min-height: clamp(160px, 26vh, 240px);
    padding: 22px 16px;
  }

  body.alber-legal-page section.title-hero-bg.alber-title-hero--plain-dark .page-title h1 {
    font-size: clamp(1.5rem, 3.8vw, 2.2rem) !important;
    line-height: 1.28 !important;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  body.alber-legal-page section.white-bg .alber-doc-blockquote {
    padding: 22px 18px 18px;
  }

  body.alber-legal-page section.white-bg .alber-doc-blockquote p {
    overflow-wrap: anywhere;
    word-break: break-word;
  }
}

@media (max-width: 767px) {
  body.alber-legal-page section.title-hero-bg.alber-title-hero--plain-dark {
    padding: 20px 14px;
  }

  body.alber-legal-page section.title-hero-bg.alber-title-hero--plain-dark .page-title {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    transform: none;
    -webkit-transform: none;
    -moz-transform: none;
    -ms-transform: none;
    -o-transform: none;
    gap: 10px;
  }

  body.alber-legal-page section.title-hero-bg.alber-title-hero--plain-dark .page-title h1 {
    font-size: clamp(1.25rem, 5.8vw, 1.65rem) !important;
    line-height: 1.22 !important;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
    padding: 0 2px;
  }

  body.alber-legal-page .alber-hero-breadcrumb {
    margin-top: 0;
    width: 100%;
    max-width: 100%;
    padding: 0 2px;
  }

  body.alber-legal-page .alber-hero-breadcrumb__list {
    font-size: 12px;
    letter-spacing: 0.02em;
    justify-content: center;
    text-align: center;
    row-gap: 4px;
  }

  body.alber-legal-page .alber-hero-breadcrumb__list>li {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  body.alber-legal-page .alber-hero-breadcrumb__list>li+li::before {
    padding: 0 5px;
  }

  body.alber-legal-page section.white-bg.pt-80.pb-100 {
    padding-top: 44px !important;
    padding-bottom: 52px !important;
  }

  body.alber-legal-page section.white-bg .alber-doc-blockquote {
    padding: 18px 14px 16px;
    margin-top: 0;
  }

  body.alber-legal-page section.white-bg .alber-doc-blockquote p {
    font-size: 15px;
    line-height: 1.55;
    overflow-wrap: anywhere;
    word-wrap: break-word;
    word-break: break-word;
  }

  body.alber-legal-page section.white-bg .alber-doc-blockquote .blockquote-footer {
    font-size: 13px;
    line-height: 1.45;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  body.alber-legal-page .alber-legal-contacts {
    font-size: 15px;
    line-height: 1.55;
    padding-left: 8px;
    padding-right: 8px;
    overflow-wrap: anywhere;
  }

  body.alber-legal-page .alber-order-template-frame,
  body.alber-legal-page .alber-order-form-panel {
    padding: 20px 16px 22px;
  }

  body.alber-legal-page .alber-price-list-intro {
    font-size: 15px;
    line-height: 1.55;
  }
}

/* ---------- Прайс-лист: вводная ссылка на каталог ---------- */
body.alber-legal-page .alber-price-list-intro {
  font-size: 18px;
  line-height: 1.65;
  font-weight: 400;
  color: #333;
}

body.alber-legal-page .alber-price-list-intro-link {
  font-weight: 700;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.alber-legal-page .alber-price-list-intro-link:hover,
body.alber-legal-page .alber-price-list-intro-link:focus {
  color: #000;
}

/* ---------- Прайс-лист: шаблон Excel в рамке, форма заявки ---------- */
body.alber-legal-page .alber-order-template-frame {
  margin-top: 0;
  margin-bottom: 0;
  padding: 26px 28px 30px;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 4px;
  background: #fafafa;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
}

body.alber-legal-page .alber-shop-intro+.alber-order-template-frame {
  margin-top: 44px;
}

body.alber-legal-page .alber-order-template-frame h3 {
  color: #212121;
  font-size: 1.15rem;
}

body.alber-legal-page .alber-order-form-panel {
  margin-top: 36px;
  padding: 32px 32px 36px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

body.alber-legal-page .alber-order-form-panel h2 {
  color: #212121;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  text-transform: none;
}

body.alber-legal-page #alber-order-form .form-group {
  margin-bottom: 22px;
}

body.alber-legal-page #alber-order-form .form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 14px;
  color: #333;
}

body.alber-legal-page #alber-order-form .form-control {
  border-radius: 3px;
  border-color: rgba(0, 0, 0, 0.18);
  min-height: 42px;
  box-shadow: none;
}

body.alber-legal-page #alber-order-form .form-control:focus {
  border-color: rgba(0, 0, 0, 0.45);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

body.alber-legal-page #alber-order-form textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

body.alber-legal-page #alber-order-form input[type="file"].form-control {
  height: auto;
  min-height: 0;
  padding: 10px 12px;
  line-height: 1.4;
  background: #fafafa;
}

body.alber-legal-page #alber-order-form .help-block.with-errors {
  font-size: 13px;
}

body.alber-legal-page #alber-order-form .messages {
  margin-bottom: 20px;
}

/* ---------- Каталог shop.html (сетка темы .product) ---------- */
body.alber-legal-page .alber-catalog-page {
  color: #333;
}

body.alber-legal-page .alber-catalog-lead {
  max-width: 42rem;
  margin: 0 auto 28px;
  line-height: 1.6;
  color: #555;
}

body.alber-legal-page .alber-catalog-lead a {
  text-decoration: underline;
  text-underline-offset: 3px;
  color: #1a237e;
}

body.alber-legal-page .alber-catalog-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 8px;
}

body.alber-legal-page .alber-catalog-nav__link {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  color: #333;
  text-decoration: none;
  font-size: 14px;
}

body.alber-legal-page .alber-catalog-nav__link:hover,
body.alber-legal-page .alber-catalog-nav__link:focus {
  border-color: #333;
  color: #000;
}

body.alber-legal-page .alber-catalog-nav__link.is-active {
  background: #212121;
  border-color: #212121;
  color: #fff;
}

body.alber-legal-page .alber-catalog-nav__link.is-active:hover,
body.alber-legal-page .alber-catalog-nav__link.is-active:focus {
  color: #fff;
  border-color: #000;
  background: #000;
}

body.alber-legal-page .alber-catalog-page .alber-catalog-cat {
  scroll-margin-top: 96px;
}

body.alber-legal-page .alber-catalog-page .alber-catalog-cat-title {
  margin: 44px 0 22px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #212121;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding-bottom: 10px;
}

body.alber-legal-page .alber-catalog-page .alber-catalog-cat:first-of-type .alber-catalog-cat-title {
  margin-top: 12px;
}

body.alber-legal-page .alber-catalog-page .alber-catalog-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  margin-left: -12px;
  margin-right: -12px;
}

body.alber-legal-page .alber-catalog-page .alber-catalog-cell {
  box-sizing: border-box;
  flex: 0 0 50%;
  max-width: 50%;
  padding: 0 12px 26px;
}

@media (min-width: 992px) {
  body.alber-legal-page .alber-catalog-page .alber-catalog-cell {
    flex: 0 0 25%;
    max-width: 25%;
  }
}

@media (max-width: 479px) {
  body.alber-legal-page .alber-catalog-page .alber-catalog-cell {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

body.alber-legal-page .alber-catalog-page .alber-catalog-cell .product {
  height: 100%;
  overflow: hidden;
}

body.alber-legal-page .alber-catalog-page .alber-catalog-cell .product-wrap img.img-responsive {
  max-height: 220px;
  width: 100%;
  object-fit: contain;
}

body.alber-legal-page .alber-catalog-page .product-star-rating {
  display: none !important;
}

body.alber-legal-page .alber-catalog-page .product-detail h4 {
  font-size: 15px;
  line-height: 1.35;
  margin: 0 0 10px;
  max-height: 4.2em;
  overflow: hidden;
}

body.alber-legal-page .alber-catalog-page .product-detail .alber-catalog-price {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  color: #111;
}

body.alber-legal-page .navbar .attr-nav .alber-cart-count {
  font-size: 11px;
  min-width: 18px;
}

/* Кнопка «в корзину» в сетке каталога (как круглые иконки темы) */
body.alber-legal-page .product-btn-group li button.alber-catalog-cart-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 100px;
  color: #fff;
  background: #3949ab;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
}

body.alber-legal-page .product-btn-group li button.alber-catalog-cart-btn:hover,
body.alber-legal-page .product-btn-group li button.alber-catalog-cart-btn:focus {
  color: #fff;
  background: #212121;
}

/* Модалка выбора типоразмера */
body.alber-legal-page .alber-variant-modal__dialog {
  max-width: 420px;
}

body.alber-legal-page .alber-variant-modal__hint {
  margin: 0 0 14px;
  color: #555;
  font-size: 14px;
}

body.alber-legal-page .alber-variant-modal__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

body.alber-legal-page .alber-variant-modal__btn {
  text-align: left;
  white-space: normal;
  padding: 10px 14px;
  border-radius: 4px;
}

body.alber-legal-page .alber-variant-modal__btn .alber-variant-modal__sku {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #666;
  font-weight: 400;
}

body.alber-legal-page .alber-single-section .alber-single-image-wrap {
  background: #fafafa;
  padding: 16px;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.alber-single-image-zoom {
  display: block;
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  overflow: hidden;
  border-radius: 2px;
}

.alber-single-image-zoom:focus {
  outline: 2px solid #212121;
  outline-offset: 2px;
}

.alber-single-image-zoom__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.alber-single-image-zoom__overlay i {
  font-size: 32px;
  line-height: 1;
}

.alber-single-image-zoom:hover .alber-single-image-zoom__overlay,
.alber-single-image-zoom:focus-visible .alber-single-image-zoom__overlay {
  opacity: 1;
}

.alber-single-image-zoom:hover .alber-single-main-img,
.alber-single-image-zoom:focus-visible .alber-single-main-img {
  transform: scale(1.03);
}

body.alber-legal-page .alber-single-section .alber-single-main-img {
  margin: 0 auto;
  max-height: 420px;
  width: auto;
  max-width: 100%;
  display: block;
  transition: transform 0.35s ease;
}

/* Лайтбокс фото товара */
body.alber-image-lightbox-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

.alber-image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10060;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.alber-image-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.alber-image-lightbox__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  margin: 0;
  background: rgba(0, 0, 0, 0.88);
  cursor: zoom-out;
}

.alber-image-lightbox__panel {
  position: relative;
  z-index: 1;
  max-width: min(96vw, 1100px);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: scale(0.96);
  transition: transform 0.25s ease;
}

.alber-image-lightbox.is-open .alber-image-lightbox__panel {
  transform: scale(1);
}

.alber-image-lightbox__close {
  position: absolute;
  top: -12px;
  right: -8px;
  z-index: 2;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 2px solid #000;
  border-radius: 50%;
  background: #000;
  cursor: pointer;
  transition: opacity 0.15s ease, transform 0.15s ease;
  box-shadow: inset 0 0 0 5px #fff, 0 2px 12px rgba(0, 0, 0, 0.5);
}

.alber-image-lightbox__close-icon {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
}

.alber-image-lightbox__close-icon::before,
.alber-image-lightbox__close-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 2px;
  margin-left: -8px;
  margin-top: -1px;
  background: #000;
  border-radius: 1px;
}

.alber-image-lightbox__close-icon::before {
  transform: rotate(45deg);
}

.alber-image-lightbox__close-icon::after {
  transform: rotate(-45deg);
}

.alber-image-lightbox__close:hover {
  opacity: 0.9;
  transform: scale(1.05);
}

.alber-image-lightbox__img {
  display: block;
  max-width: 100%;
  max-height: calc(92vh - 48px);
  width: auto;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.alber-image-lightbox__caption {
  margin: 14px 0 0;
  padding: 0 12px;
  max-width: 100%;
  color: #fff;
  font-size: 14px;
  text-align: center;
  line-height: 1.4;
}

body.alber-legal-page .alber-single-section .alber-single-info .grey {
  color: #333;
}

body.alber-legal-page .alber-single-section .alber-single-table {
  font-size: 13px;
}

body.alber-legal-page .alber-single-section .alber-single-actions {
  margin-top: 20px;
}

@media (max-width: 767px) {
  body.alber-legal-page .alber-catalog-page.pt-80.pb-100 {
    padding-top: 44px !important;
    padding-bottom: 52px !important;
  }

  body.alber-legal-page .alber-catalog-page .alber-catalog-cat {
    scroll-margin-top: 72px;
  }
}

/* ---------- Прайс-лист: модалка «Скидки и доставка» ---------- */
body.alber-legal-page .alber-discount-delivery-modal__trigger {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: #1a237e;
  font-size: inherit;
  line-height: inherit;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

body.alber-legal-page .alber-discount-delivery-modal__trigger:hover,
body.alber-legal-page .alber-discount-delivery-modal__trigger:focus {
  color: #000;
  text-decoration: underline;
}

body.alber-legal-page .alber-discount-delivery-modal__dialog {
  margin-top: 24px;
  margin-bottom: 24px;
}

body.alber-legal-page .alber-discount-delivery-modal__content {
  border: none;
  border-radius: 10px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

body.alber-legal-page .alber-discount-delivery-modal__header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding: 22px 44px 18px 24px;
}

body.alber-legal-page .alber-discount-delivery-modal__title {
  margin: 0;
  padding-right: 8px;
  font-size: 1.2rem;
  font-weight: 700;
  color: #111;
  line-height: 1.35;
}

body.alber-legal-page .alber-discount-delivery-modal__close {
  margin-top: -4px;
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
  color: #333;
  opacity: 0.55;
}

body.alber-legal-page .alber-discount-delivery-modal__close:hover,
body.alber-legal-page .alber-discount-delivery-modal__close:focus {
  opacity: 1;
  color: #000;
}

body.alber-legal-page .alber-discount-delivery-modal__body {
  padding: 22px 24px 26px;
  color: #333;
  font-size: 15px;
  line-height: 1.55;
  text-align: left;
}

body.alber-legal-page .alber-discount-delivery-modal__section-title {
  margin: 0 0 14px;
  font-size: 1rem;
  font-weight: 700;
  color: #111;
}

body.alber-legal-page .alber-discount-delivery-modal__section-title--delivery {
  margin-top: 26px;
}

body.alber-legal-page .alber-discount-delivery-modal__table-wrap {
  margin: 0 0 4px;
}

body.alber-legal-page .alber-discount-delivery-modal__table {
  margin-bottom: 0;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-collapse: collapse;
}

body.alber-legal-page .alber-discount-delivery-modal__table>thead>tr>th,
body.alber-legal-page .alber-discount-delivery-modal__table>tbody>tr>td {
  border: 1px solid rgba(0, 0, 0, 0.12);
  padding: 10px 14px;
  vertical-align: middle;
}

body.alber-legal-page .alber-discount-delivery-modal__table>thead>tr>th {
  background: #f6f6f6;
  font-weight: 600;
  color: #222;
}

body.alber-legal-page .alber-discount-delivery-modal__table>tbody>tr>td:last-child {
  font-weight: 600;
  white-space: nowrap;
}

@media (max-width: 767px) {
  body.alber-legal-page .alber-discount-delivery-modal__header {
    padding: 18px 40px 14px 16px;
  }

  body.alber-legal-page .alber-discount-delivery-modal__body {
    padding: 18px 16px 22px;
    font-size: 14px;
  }

  body.alber-legal-page .alber-discount-delivery-modal__table>tbody>tr>td:last-child {
    white-space: normal;
  }
}

/* ---------- Модалка выбора типоразмера и количества ---------- */
.alber-variant-modal__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.alber-variant-modal__btn {
  text-align: left;
  padding: 12px 15px;
  position: relative;
  border-radius: 6px;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.alber-variant-modal__btn:hover {
  background-color: #f5f5f5;
  border-color: #ccc;
}

.alber-variant-modal__sku {
  display: block;
  font-size: 11px;
  color: #888;
  margin-top: 2px;
}

.alber-qty-view__info {
  font-size: 15px;
  color: #444;
  line-height: 1.6;
  padding: 10px;
  background: #fcfcfc;
  border-radius: 4px;
  border: 1px solid #eee;
}

.alber-qty-suggest-btn {
  border-color: #d64444;
  color: #d64444;
  background: transparent;
  transition: all 0.2s ease;
}

.alber-qty-suggest-btn:hover {
  background: #d64444 !important;
  color: #fff !important;
  border-color: #d64444 !important;
}

.alber-qty-warning {
  box-shadow: 0 4px 12px rgba(214, 68, 68, 0.1);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Корзина в шапке ---------- */
.alber-cart-dropdown {
  min-width: 360px !important;
  border-radius: 12px !important;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2) !important;
  border: 1px solid #eee !important;
  padding: 0 !important;
  overflow: hidden;
}

@media (max-width: 767px) {

  /* Модалки на весь экран на мобильных */
  .modal-dialog {
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    max-width: none !important;
  }

  .modal-content {
    height: 100% !important;
    border-radius: 0 !important;
    overflow-y: auto !important;
  }

  .modal:before {
    display: none !important;
  }
}

.alber-cart-dropdown li.total {
  background: #f9f9f9;
  padding: 12px 14px;
  border-top: 1px solid #eee;
  font-size: 14px;
}

.alber-cart-dropdown li a.btn-dark {
  border-radius: 0;
  padding: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fff !important;
}

.alber-cart-dropdown li a.btn-dark:hover,
.alber-cart-dropdown li a.btn-dark:focus,
.alber-cart-dropdown li a.btn-dark:active {
  color: #fff !important;
  opacity: 0.94;
}

/* Перебивает bootsnav: nav … ul.dropdown-menu > li a:hover { color: #212121 } на десктопе */
body.alber-legal-page nav.navbar.bootsnav .attr-nav ul.alber-cart-dropdown > li > a.btn-dark,
body.alber-legal-page nav.navbar.bootsnav .attr-nav ul.alber-cart-dropdown > li > a.btn-dark:hover,
body.alber-legal-page nav.navbar.bootsnav .attr-nav ul.alber-cart-dropdown > li > a.btn-dark:focus,
body.alber-legal-page nav.navbar.bootsnav .attr-nav ul.alber-cart-dropdown > li > a.btn-dark:active {
  color: #fff !important;
  background-color: #212121 !important;
  border-color: #212121 !important;
}

body.alber-legal-page nav.navbar.bootsnav .attr-nav ul.alber-cart-dropdown > li > a.btn-dark:hover,
body.alber-legal-page nav.navbar.bootsnav .attr-nav ul.alber-cart-dropdown > li > a.btn-dark:focus {
  background-color: #000 !important;
  border-color: #000 !important;
  color: #fff !important;
}

.alber-cart-dropdown img {
  border-radius: 4px;
  background: #fff;
}

.alber-cart-dropdown li:hover {
  background: #fcfcfc;
}

.alber-cart-item-remove {
  font-size: 24px;
  font-weight: 300;
  line-height: 1;
  transition: all 0.2s ease;
  opacity: 0.6;
}

.alber-cart-item-remove:hover {
  color: #d64444 !important;
  opacity: 1;
  transform: scale(1.2);
}

/* ---------- Исправление затемнения модалки (z-index) и центрирование ---------- */
.modal {
  z-index: 10050 !important;
  text-align: center;
  padding: 0 !important;
}

.modal:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle;
  margin-right: -4px;
}

.modal-dialog {
  display: inline-block;
  text-align: left;
  vertical-align: middle;
  width: 95%;
  max-width: 500px;
}

.modal-backdrop {
  z-index: 10040 !important;
}

/* Гарантируем белый фон контента и отступы */
.modal-content {
  background-color: #fff !important;
  box-shadow: 0 15px 45px rgba(0, 0, 0, .2);
  border: none;
  border-radius: 12px;
  overflow: hidden;
}

.modal-header {
  padding: 25px 30px 15px;
  border-bottom: 1px solid #f0f0f0;
}

.modal-header .close {
  margin-top: 2px;
  font-size: 28px;
}

.modal-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.modal-body {
  padding: 30px;
}

.alber-variant-modal__hint {
  margin-bottom: 20px;
  font-size: 16px;
  color: #666;
}

.alber-variant-modal__btn {
  text-align: left;
  padding: 16px 20px;
  position: relative;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  background: #fff;
  transition: all 0.2s ease;
  margin-bottom: 12px;
  width: 100%;
  display: block;
  white-space: normal;
  line-height: 1.4;
}

.alber-variant-modal__btn:hover {
  background-color: #f9f9f9;
  border-color: #bbb;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.alber-variant-modal__sku {
  display: block;
  font-size: 12px;
  color: #999;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.alber-qty-view__info {
  font-size: 15px;
  color: #333;
  line-height: 1.8;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #eee;
  margin-bottom: 25px;
}

.alber-qty-view__info strong {
  display: inline-block;
  width: 160px;
  color: #555;
}

.alber-qty-add-btn {
  padding: 15px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 8px;
}

.alber-qty-back-btn {
  margin-top: 10px;
  color: #888;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.alber-qty-back-btn:hover {
  color: #333;
  text-decoration: none;
}

/* ---------- Увеличение шрифтов в прайс-листе и скидках ---------- */
.alber-order-template-frame h3 {
  font-size: 24px !important;
  margin-bottom: 15px !important;
}

.alber-discount-delivery-modal__trigger {
  font-size: 18px !important;
  text-decoration: underline;
}

.alber-discount-delivery-modal__section-title {
  font-size: 22px !important;
  margin-top: 30px !important;
  margin-bottom: 20px !important;
}

.alber-discount-delivery-modal__table {
  font-size: 16px !important;
}

.alber-discount-delivery-modal__table th,
.alber-discount-delivery-modal__table td {
  padding: 12px !important;
}

.alber-discount-delivery-modal__text {
  font-size: 16px !important;
  line-height: 1.6 !important;
}

.alber-discount-delivery-modal__title {
  font-size: 24px !important;
}

/* Фикс кнопки корзины на мобильных */
@media (max-width: 991px) {
  .attr-nav {
    position: absolute !important;
    right: 15px !important;
    top: 18px !important;
    margin-top: -14px !important;
    /* Центрирование 28-пиксельного контейнера без transform */
    transform: none !important;
    padding: 0 !important;
    z-index: 10001 !important;
    display: block !important;
  }

  .attr-nav>ul>li.dropdown {
    position: static !important;
  }

  .attr-nav>ul {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    display: flex !important;
    align-items: center !important;
  }

  .attr-nav>ul>li>a {
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 28px !important;
    height: 28px !important;
    font-size: 18px !important;
    color: #333 !important;
    background: transparent !important;
    position: relative !important;
  }

  .attr-nav>ul>li>a span.badge {
    position: absolute !important;
    top: -5px !important;
    right: -5px !important;
    background: #d64444 !important;
    color: #fff !important;
    font-size: 10px !important;
    width: 16px !important;
    height: 16px !important;
    line-height: 16px !important;
    text-align: center !important;
    border-radius: 50% !important;
    padding: 0 !important;
    margin: 0 !important;
  }
}

/* Каталог / карточка: иконка корзины по центру высоты шапки (перебивает fixed top у .attr-nav выше) */
@media (max-width: 991px) {
  body.alber-legal-page nav.navbar.bootsnav:not(.navbar-sidebar) > .container {
    position: relative;
  }

  body.alber-legal-page nav.navbar.bootsnav .attr-nav {
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin-top: 0 !important;
    /* было 15px у общего .attr-nav — сдвиг ~20px влево */
    right: 35px !important;
  }
}

@media (max-width: 767px) {
  body.alber-legal-page nav.navbar.bootsnav .attr-nav {
    /* было 8px под бургер — ещё ~20px влево */
    right: 28px !important;
  }
}

/* Корзина на весь экран на мобильных (панель при открытии переносится в body — см. alber-cart.js) */
@media (max-width: 767px) {
  /* bootsnav: ul.cart-list + .attr-nav … ul.dropdown-menu — смещают fixed относительно триггера */
  body.alber-legal-page nav.navbar.bootsnav .attr-nav > ul > li.dropdown > ul.dropdown-menu.cart-list.alber-cart-dropdown.pull-right,
  ul.dropdown-menu.cart-list.alber-cart-dropdown.pull-right,
  ul.cart-list.alber-cart-dropdown {
    left: 0 !important;
    right: 0 !important;
    top: 0 !important;
    bottom: auto !important;
    width: 100% !important;
    max-width: none !important;
    float: none !important;
    margin: 0 !important;
    transform: none !important;
    animation: none !important;
    -webkit-animation: none !important;
  }

  .alber-cart-dropdown {
    position: fixed !important;
    inset: 0 !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 100vh !important;
    min-height: 100dvh !important;
    height: auto !important;
    max-height: none !important;
    z-index: 100000 !important;
    background: #fff !important;
    display: none !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    box-sizing: border-box !important;
    padding: env(safe-area-inset-top, 0) env(safe-area-inset-right, 0) env(safe-area-inset-bottom, 0) env(safe-area-inset-left, 0) !important;
    margin: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    transform: none !important;
    animation: none !important;
    -webkit-animation: none !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }

  li.alber-cart-nav.open > .alber-cart-dropdown,
  .alber-cart-dropdown.alber-cart-open-mobile {
    display: flex !important;
  }

  .alber-cart-dropdown>li {
    width: 100% !important;
    max-width: none !important;
    flex-shrink: 0;
    box-sizing: border-box !important;
  }

  .alber-cart-dropdown li.total {
    margin-top: auto;
    position: sticky !important;
    bottom: 60px !important;
    background: #f9f9f9 !important;
    border-top: 1px solid #ddd !important;
    z-index: 10 !important;
  }

  .alber-cart-dropdown li:last-child {
    position: sticky !important;
    bottom: 0 !important;
    z-index: 10 !important;
  }
}

/* Блокировка скролла страницы при открытой мобильной корзине (класс вешает alber-cart.js) */
html.alber-cart-mobile-noscroll,
body.alber-cart-mobile-noscroll {
  overflow: hidden !important;
  height: 100% !important;
  touch-action: none;
  overscroll-behavior: none;
}

body.alber-cart-mobile-noscroll {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
}

/* ---------- Оформление заявки (shop-checkout.html) ---------- */
.alber-checkout-page .alber-checkout-section-title {
  font-size: 22px;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 12px;
  color: #212121;
}

.alber-checkout-page .alber-checkout-section-title--sm {
  font-size: 18px;
  margin-top: 0;
}

.alber-checkout-lead {
  margin-bottom: 20px;
}

.alber-checkout-empty {
  padding: 40px 20px;
}

.alber-checkout-table-wrap {
  margin-bottom: 32px;
}

.alber-checkout-table thead th {
  background: #f7f7f7;
  font-weight: 600;
  white-space: nowrap;
}

.alber-checkout-table td {
  vertical-align: middle !important;
}

.alber-checkout-sku {
  font-size: 12px;
  color: #888;
  font-weight: 400;
}

.alber-checkout-summary-block {
  margin-bottom: 40px;
}

.alber-checkout-totals {
  margin: 0;
}

.alber-checkout-totals__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  gap: 16px;
}

.alber-checkout-totals__row dt {
  margin: 0;
  font-weight: 400;
  color: #555;
}

.alber-checkout-totals__row dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
  color: #212121;
}

.alber-checkout-totals__row--discount dd {
  color: #d64444;
}

.alber-checkout-totals__row--total {
  border-bottom: none;
  padding-top: 14px;
}

.alber-checkout-totals__row--total dt {
  font-weight: 600;
  color: #212121;
}

.alber-checkout-totals__row--total dd {
  font-size: 20px;
  color: #000;
}

.alber-checkout-tier-table {
  margin-bottom: 0;
  font-size: 13px;
}

.alber-checkout-tier-table td {
  border-color: #eee !important;
}

.alber-checkout-form .form-group {
  margin-bottom: 18px;
}

.alber-checkout-form label {
  font-weight: 600;
  color: #333;
}

.alber-checkout-submit {
  margin-top: 8px;
}

/* Согласие на обработку данных в формах */
.alber-consent-field {
  margin-top: 8px;
  margin-bottom: 16px;
}

.alber-consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 400;
  font-size: 13px;
  line-height: 1.45;
  color: #444;
  cursor: pointer;
  margin: 0;
}

.alber-consent-label input[type="checkbox"] {
  margin: 3px 0 0;
  flex-shrink: 0;
}

.alber-consent-label a {
  text-decoration: underline;
}

#contact-form .alber-consent-label {
  color: rgba(255, 255, 255, 0.92);
}

#contact-form .alber-consent-label a {
  color: #fff;
}

/* Cookie-баннер */
body.alber-cookie-banner-open {
  padding-bottom: 0;
}

.alber-cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10050;
  padding: 14px 16px 18px;
  background: rgba(28, 28, 28, 0.97);
  color: #fff;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.18);
  font-size: 13px;
  line-height: 1.45;
}

.alber-cookie-banner,
.alber-cookie-banner p,
.alber-cookie-banner label,
.alber-cookie-banner a,
.alber-cookie-banner a:hover,
.alber-cookie-banner a:focus,
.alber-cookie-banner a:active {
  color: #fff !important;
}

.alber-cookie-banner__inner {
  max-width: 960px;
  margin: 0 auto;
}

.alber-cookie-banner__text {
  margin: 0 0 12px;
  color: #fff;
}

.alber-cookie-banner__link {
  text-decoration: underline;
  white-space: nowrap;
}

.alber-cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.alber-cookie-btn {
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.alber-cookie-btn:hover {
  background: rgba(255, 255, 255, 0.08);
}

.alber-cookie-btn--primary {
  background: #fff;
  color: #1a1a1a;
  border-color: #fff;
}

.alber-cookie-btn--primary:hover {
  background: #eee;
}

.alber-cookie-banner__settings {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
}

.alber-cookie-check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  font-weight: 400;
  color: #fff;
  cursor: pointer;
}

.alber-cookie-check--disabled {
  opacity: 0.85;
  cursor: default;
}

.alber-cookie-check span {
  color: #fff !important;
  font-size: 12px;
  opacity: 0.9;
}

.alber-cookie-btn--save {
  margin-top: 6px;
}

@media (max-width: 480px) {
  .alber-cookie-banner__actions {
    flex-direction: column;
  }

  .alber-cookie-btn {
    width: 100%;
    text-align: center;
  }
}

/* Turnstile в формах */
.alber-turnstile-field {
  margin-bottom: 16px;
}

.alber-turnstile-field .cf-turnstile {
  min-height: 65px;
}

#contact-form .alber-turnstile-field .cf-turnstile {
  display: flex;
  justify-content: flex-start;
}

/* Модалка подтверждения отправки */
.alber-confirm-modal {
  position: fixed;
  inset: 0;
  z-index: 10070;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.alber-confirm-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.alber-confirm-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  margin: 0;
  background: rgba(0, 0, 0, 0.55);
  cursor: pointer;
}

.alber-confirm-modal__box {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 6px;
  padding: 28px 24px 22px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.22);
  transform: translateY(8px);
  transition: transform 0.2s ease;
}

.alber-confirm-modal.is-open .alber-confirm-modal__box {
  transform: translateY(0);
}

.alber-confirm-modal__title {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 600;
  color: #212121;
}

.alber-confirm-modal__text {
  margin: 0 0 22px;
  font-size: 14px;
  line-height: 1.5;
  color: #555;
}

.alber-confirm-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.alber-confirm-modal__btn {
  min-width: 120px;
}