:root {
  --pr-text-black: #1f1f1f;
}

/* Header */

.logo {
  width: 30%;
}

.navbar-brand img {
  width: 280px;
}

.contact-header {
  font-size: 20px;
  font-weight: 400;
}

.contact-header a {
  color: var(--pr-text-black);
  text-decoration: none;
}

.navbar-toggler {
  display: flex;
  padding: 0px 10px;
  justify-content: center;
  align-items: center;
  align-self: stretch;
  border-radius: 28px;
  border: 1px solid #0057A5;
}

.navbar-toggler span {
  color: #0057A5;
  text-align: center;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  text-transform: uppercase;
}

/* ================= HERO MAIN ================= */

.slider {
  background: #f9ecdc;
}

.page-hero__title {
  margin: 0;
}

/* ================= ТИПОГРАФИКА ================= */

.hero-title-main-01 {
  color: #af1516;
  font-size: 70px;
  font-weight: 700;
  line-height: 1.05;
}

.hero-title-main-02 {
  color: #d54028;
  font-size: 60px;
  font-weight: 500;
  line-height: 1.05;
}

.hero-title-main-03 {
  color: #e5651a;
  font-size: 60px;
  font-weight: 500;
  line-height: 1.05;
}

.hero-title-main-04 {
  color: #006fbc;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.2;
}

.hero-title-main-04 span {
  color: #114996;
  font-weight: 700;
}

/* ================= СПИСОК ================= */

.hero-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero-list li {
  color: #114996;
  position: relative;
  padding-left: 40px;
  margin-bottom: 12px;
  font-size: 26px;
  font-weight: 400;
}

.hero-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background: url("/sites/default/files/icon/check-big.svg") no-repeat center;
  background-size: contain;
}

/* ================= КНОПКА ================= */

.page-hero__actions a {
  color: #fff;
  font-size: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 72%;
  padding: 12px 20px;
  border-radius: 28px;
  background: #d2121d;
  box-shadow: 
  inset 0 1px 0 0 rgba(255, 255, 255, 0.4), 
  0 6px 0 0 #9b0d14, 
  0 8px 12px 0 rgba(0, 0, 0, 0.3);
  font-weight: 500;
  text-decoration: none;
  border: none;
  box-sizing: border-box;
  position: relative;
  transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.2s;
  transform: translateY(0);
}

.page-hero__actions a:hover {
  background: #e31622;
  box-shadow: 
  inset 0 1px 0 0 rgba(255, 255, 255, 0.5), 
  0 6px 0 0 #a00d16, 
  0 10px 15px 0 rgba(0, 0, 0, 0.35);
  color: #fff;
}

.page-hero__actions a:active {
  background: #be0009;
  box-shadow: 
  inset 0 2px 4px 0 rgba(0, 0, 0, 0.3), 
  0 1px 0 0 #9b0d14;
  transform: translateY(5px);
  transition: all 0.05s;
}

.page-hero__actions a:focus {
  color: #fff;
  outline: none;
}

.page-hero__actions a::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 50%;
  background: linear-gradient(to bottom, rgba(255,255,255,0.15), rgba(255,255,255,0));
  border-radius: 28px 28px 0 0;
  pointer-events: none;
}

/* Header 2026 */

.page-hero__content {
  display: flex;
  gap: 0px;
  align-items: stretch;
}

.page-hero__group {
  flex: 0 0 58%; /* ширина ~col-lg-7 */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Правая колонка */
.page-hero__image {
  flex: 0 0 42%; /* ширина ~col-lg-5 */
  border-radius: 28px;
  overflow: hidden;
  display: flex;
}

.page-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== Адаптив ===== */
@media (max-width: 992px) {
  .page-hero__content {
    flex-direction: column;
  }

  .page-hero__group,
  .page-hero__image {
    flex: 0 0 auto;
    width: 100%;
  }

  .page-hero__image img {
    display: none;
    height: auto;  /* для мобильного */
  }
}

@media (max-width: 1499.98px) {
  
  .hero-title-main-01 {
    font-size: 46px;
  }
  
  .hero-title-main-02 {
    font-size: 40px;
  }
  
  .hero-title-main-03 {
    font-size: 40px;
  }
  
  .hero-title-main-04 {
    font-size: 22px;
  }
  
  .hero-title-main-04 span {
    font-size: 22px;
  }
  
  .hero-list li {
    font-size: 22px;
    padding-left: 35px;
    margin-bottom: 5px;
  }
  
}

@media (max-width: 1399.98px) {
  .navbar-brand img {
    width: calc(200px + (1vw * 2));
  }
  
  .logo {
    width: auto;
  }
  
  .hero-title-main-01 {
    font-size: 46px;
  }
  
  .hero-title-main-02 {
    font-size: 40px;
  }
  
  .hero-title-main-03 {
    font-size: 40px;
  }
  
  .hero-title-main-04 {
    font-size: 22px;
  }
  
  .hero-title-main-04 span {
    font-size: 22px;
  }
  
  .hero-list li {
    font-size: 22px;
    padding-left: 35px;
    margin-bottom: 5px;
  }
  
  .hero-list li::before {
    transform: translateY(-30%);
    width: 20px;
    height: 20px;
  }
  
  .contact-header a {
    font-size: 18px;
  }
}

@media (max-width: 1199.98px) {
  .navbar-brand img {
    width: calc(200px + (1vw * 2));
  }
  
  .logo {
    width: auto;
  }
  
  .hero-title-main-01 {
    font-size: 37px;
  }
  
  .hero-title-main-02 {
    font-size: 32px;
  }
  
  .hero-title-main-03 {
    font-size: 32px;
  }
  
  .hero-title-main-04 {
    font-size: 16px;
  }
  
  .hero-title-main-04 span {
    font-size: 16px;
  }
  
  
  .hero-list li {
    font-size: 16px;
    padding-left: 35px;
    margin-bottom: 5px;
  }
  
  .hero-list li::before {
    transform: translateY(-30%);
    width: 20px;
    height: 20px;
  }
  
  .page-hero__actions a {
    font-size: 20px;
    width: 50%;
  }
}

/* Header mobile */

@media (max-width: 991.98px) {
  
  .navbar-brand img {
    width: calc(200px + (1vw * 2));
  }
  
  .logo {
    width: auto;
  }
  
  .page-hero__group {
    height: auto;
  }
  
  .hero-title-main-01 {
    font-size: 37px;
  }
  
  .hero-title-main-02 {
    font-size: 32px;
  }
  
  .hero-title-main-03 {
    font-size: 32px;
  }
  
  .hero-title-main-04 {
    font-size: 16px;
  }
  
  .hero-title-main-04 span {
    font-size: 16px;
  }
  
  .hero-list li {
    font-size: 16px;
    padding-left: 35px;
    margin-bottom: 5px;
  }
  
  .hero-list li::before {
    transform: translateY(-30%);
    width: 20px;
    height: 20px;
  }
  
  .page-hero__actions a {
    font-size: 20px;
    width: 100%;
  }
}

/* Product card */

.product-card {
  display: flex;
  flex-direction: column;
  gap: 0px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}
.product-card__title {
  background: #104571;
  border-radius: 14px 14px 0px 0px;
  padding: 10px 0px 10px 0px;
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 90%;
  position: relative;
}
.product-card__title_main {
  color: var(--white, #ffffff);
  text-align: left;
  font-size: 20px;
  line-height: 100%;
  font-weight: 400;
  position: relative;
}
.product-card__image {
  display: flex;
  flex-direction: row;
  gap: 0px;
  align-items: center;
  justify-content: flex-start;
  flex-shrink: 0;
  width: 90%;
  position: relative;
}

.product-card__tech {
  background: #063b67;
  border-radius: 0px 0px 14px 14px;
  padding: 10px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  width: 90%;
  position: relative;
}
.product-card__tech_price {
  color: #d2121d;
  text-align: left;
  font-size: 26px;
  line-height: 100%;
  font-weight: 500;
  position: relative;
}
.product-card__tech_quality {
  color: #e5651a;
  text-align: left;
  font-size: 20px;
  line-height: 100%;
  font-weight: 400;
  position: relative;
}

.carousel-product {
  padding: 0 30px;
}

.is-active {
  position: relative;
  overflow: hidden;
}

.pm-carousel-prev-next-buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  z-index: 10;
  pointer-events: none;
}

.pm-carousel-prev-next-buttons button {
  background: none;
  border: 0; /* Лёгкая граница */
  border-radius: 50%; /* Круглая форма кнопок */
  width: 40px; /* Ширина кнопки */
  height: 40px; /* Высота кнопки */
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s;
  pointer-events: auto; /* Включаем события для самих кнопок */
}

.pm-carousel-prev-next-buttons button:hover {
  background-color: none; /* Немного более тёмный фон при наведении */
}

.pm-carousel-prev-next-buttons button span {
  display: none; /* Полностью скрываем текст внутри span */
}

[data-pm-carousel-prev]::before,
[data-pm-carousel-next]::before {
  display: flex;
  font-size: 42px; /* Размер стрелки */
  font-weight: bold; /* Жирный стиль для стрелки */
  color: #114996; /* Цвет стрелки */
  line-height: 1; /* Выравнивание по центру */
  pointer-events: none; /* Отключаем события на стрелках */
}

[data-pm-carousel-prev]::before {
  font-family: "Material Icons";
  content: "\e5cb"; /* Левая стрелка */
}

[data-pm-carousel-next]::before {
  font-family: "Material Icons";
  content: "\e5cc"; /* Правая стрелка */
}

@media (max-width: 575.98px) {
  .product-card__title_main {
    font-size: 16px;
  }
  
  .product-card__tech_quality {
    text-align: center;
    font-size: 18px;
  }
  .product-card__tech_price {
    font-size: 20px;
    text-align: center;
  }
}

/* Advantages */

.product-advantages div p {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  font-size: 16px;
  background: #f9ecdc;
  color: #1f1f1f;
  border-radius: 14px;
  margin: 0;
  padding: 16px 10px 16px 10px;
  text-align: center;
}

@media (max-width: 991.98px) {
  /* Advantages mobile */
  .product-advantages div p {
    font-size: 12px;
    padding: 16px 10px 16px 10px;
  }
}

/* Category product */

.product-category-panel {
  display: flex;
  flex-direction: column;
  gap: 60px;
  align-items: center;
  justify-content: center;
  position: relative;
}

.product-category-panel__box {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  flex-shrink: 0;
  position: relative;
}

.product-category-panel__box img {
  border-radius: 14px;
}

.product-category-panel__desc {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 155px;
  gap: 12px;
  align-items: center;
  justify-content: flex-start;
  flex-shrink: 0;
  position: relative;
}

h3.category-title {
  color: #d2121d;
  font-size: 34px;
  letter-spacing: 0.03em;
  margin-bottom: 0;
  font-weight: 700;
  text-transform: uppercase;
  position: relative;
}

.category-text {
  color: #006fbc;
  font-size: 20px;
  line-height: 100%;
  font-weight: 400;
  text-transform: uppercase;
  position: relative;
}

.category-parametrs {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}
.category-parametrs-white {
  background: #ffffff;
  border-style: solid;
  border-color: #1f1f1f;
  border-width: 0.5px;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  position: relative;
  aspect-ratio: 1;
}
.category-parametrs-title {
  color: #1f1f1f;
  text-align: left;
  font-size: 24px;
  line-height: 100%;
  font-weight: 400;
  text-transform: uppercase;
  position: relative;
}
.category-parametrs-block {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}
.category-parametrs-brown {
  background: #dea56e;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  position: relative;
  aspect-ratio: 1;
}
/* Применяем стили только если нет класса .js-hide */
.button.button:not(.js-hide) {
  background: #d2121d !important;
  border-radius: 28px !important;
  padding: 12px 40px !important;
  display: flex !important;
  flex-direction: row !important;
  gap: 10px !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: stretch !important;
  flex-shrink: 0 !important;
  position: relative !important;
  box-shadow: 
  inset 0 1px 0 0 rgba(255, 255, 255, 0.4), 
  0 6px 0 0 #9b0d14, 
  0 8px 12px 0 rgba(0, 0, 0, 0.3) !important;
  color: #fff !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  border: none !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
  transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.2s !important;
  transform: translateY(0) !important;
  overflow: hidden !important;
  outline: none !important;
}

/* Состояния для активной кнопки */
.button.button:not(.js-hide):hover {
  background: #e31622 !important;
  color: #fff !important;
  box-shadow: 
  inset 0 1px 0 0 rgba(255, 255, 255, 0.5), 
  0 6px 0 0 #a00d16, 
  0 10px 15px 0 rgba(0, 0, 0, 0.35) !important;
}

.button.button:not(.js-hide):active {
  background: #be0009 !important;
  box-shadow: 
  inset 0 2px 4px 0 rgba(0, 0, 0, 0.3), 
  0 1px 0 0 #9b0d14 !important;
  transform: translateY(5px) !important;
}

/* Гарантированное скрытие, если JS добавил класс .js-hide */
.button.button.js-hide {
  display: none !important;
}

/* Блик */
.button.button:not(.js-hide)::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 50%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0)) !important;
  pointer-events: none !important;
  z-index: 1;
}

.button-text {
  color: #ffffff;
  text-align: center;
  font-size: 24px;
  font-weight: 500;
  position: relative;
}

@media (max-width: 991.98px) {
  /* Category product mobile */
  .product-category-panel__desc {
    height: auto;
  }
  
  h3.category-title {
    font-size: 24px;
    letter-spacing: 0.72px;
  }
  
  .category-text {
    font-size: 16px;
  }
  
  .category-parametrs-title {
    font-size: 18px;
  }
  
  .category-parametrs-white {
    width: 24px;
    height: 24px;
  }
  
  .category-parametrs-brown {
    width: 24px;
    height: 24px;
  }
  
  .button {
    background: #d2121d;
    border-radius: 28px;
    padding: 12px 40px;
  }
  
  .button-text {
    color: #ffffff;
    text-align: center;
    font-size: 20px;
    font-weight: 500;
    position: relative;
  }
}

/* Uniq tech */

h2.uniq-title {
  color: #114996;
  font-size: 34px;
  font-weight: 700;
  text-transform: uppercase;
}

.uniq-tech {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.uniq-tech li {
  color: #006fbc;
  position: relative;
  padding-left: 40px;
  margin-bottom: 24px;
  font-size: 24px;
  line-height: 120%;
  font-weight: 500;
}

.uniq-tech li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background-image: url("/sites/default/files/icon/check.svg");
  background-size: contain;
  background-repeat: no-repeat;
}

@media (max-width: 991.98px) {
  h2.uniq-title {
    font-size: 24px;
    text-align: center;
  }
  
  .uniq-tech li {
    font-size: 16px;
    margin-bottom: 14px;
    padding-left: 30px;
  }
  
  .uniq-tech li::before {
    left: 5px;
    width: 16px;
    height: 16px;
  }
}

/* Video block */

.field--name-field-media-oembed-video {
  position: relative;
  padding-bottom: 56.25%; /* Соотношение сторон 16:9 */
  height: 0;
  overflow: hidden;
}

.field--name-field-media-oembed-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-desc {
  color: #006fbc;
  font-size: 24px;
  font-weight: 600;
}

.social-link {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
  justify-content: center;
  position: relative;
}
.instagram {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  width: 60px;
}

.telegram {
  width: 60px;
}

.tiktok {
  width: 60px;
}

.printrez-by {
  color: #d2121d;
  font-size: 44px;
  font-weight: 400;
}

@media (max-width: 991.98px) {
  .video-desc {
    font-size: 20px;
  }
  
  .printrez-by {
    font-size: 32px;
  }
  
  .instagram {
    gap: 10px;
  }
  
  .social-link img {
    width: 33px;
  }
}

/* Calculator block */

.price-block {
  width: 100%;
  margin: 0;
  padding: 0;
  border-radius: 28px;
  border: 1px solid #dbcebe;
  background: #fff6e6;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.05);
}

.calc-button {
  background: #d2121d;
  border-width: 0!important;
  border-radius: 28px !important;
  padding: 16px 40px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  height: 68px !important;
  position: relative;
  box-shadow: 0 6px 0 0 #a00d16;
  border: none;
  cursor: pointer;
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  box-sizing: border-box;
  transition: all 0.15s ease-out;
  transform: translateY(0);
}

.calc-button:hover {
  background: #be0009;
  color: rgba(255, 255, 255, 0.85);
}

.calc-button:active {
  background: #be0009;
  box-shadow: 0 0px 0 0 #a00d16;
  transform: translateY(6px);
  color: #fff;
  transition: all 0.05s ease;
}

.calc-button:first-child:active {
  color: rgba(255, 255, 255, 0.85);
  background-color: #be0009;
  border-color: #be0009;
}

.calc-button:focus {
  color: #fff;
  outline: none;
}

.price-total {
  color: #1f1f1f;
  text-align: center;
  font-size: 22px;
  font-weight: 400;
}

.price-total span {
  color: #af1516;
  font-size: 38px;
  font-weight: 700;
  line-height: 120%;
}

.webform-nav-tab {
  border-radius: 28px;
  background: #d2121d;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.05);
}

.webform-tabs .nav-pills {
  border-radius: 28px;
  gap: 8px;
}

.webform-tabs .nav-pills .nav-link {
  font-size: 24px;
  font-weight: 500;
  border-radius: 28px;
  background: 0 0;
  color: #d2121d;
  border: 2px solid #d2121d;
  
  /* Слоистый 3D эффект */
  position: relative;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
  box-shadow: 
    0px 2px 4px rgba(0, 0, 0, 0.08),
    0px 4px 8px rgba(0, 0, 0, 0.04),
    inset 0px 1px 0px rgba(255, 255, 255, 0.2);
}

.webform-tabs .nav-pills .nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
  pointer-events: none;
  border-radius: 28px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.webform-tabs .nav-pills .nav-link:hover,
.nav-link:focus {
  color: #d2121d;
  
  /* Мягкое поднятие при наведении */
  transform: translateY(-3px);
  box-shadow: 
    0px 6px 12px rgba(210, 18, 29, 0.12),
    0px 8px 16px rgba(0, 0, 0, 0.1),
    inset 0px 1px 0px rgba(255, 255, 255, 0.3);
}

.webform-tabs .nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  background: linear-gradient(135deg, #ff3a42 0%, #d2121d 100%);
  color: #fff;
  border-radius: 28px;
  border: 2px solid #ff3a42;
  
  /* Спокойный эффект без изменения размера */
  box-shadow: 
    0px 4px 8px rgba(255, 58, 66, 0.2),
    0px 8px 16px rgba(0, 0, 0, 0.1),
    inset 0px 1px 2px rgba(255, 255, 255, 0.25),
    inset 0px -2px 4px rgba(0, 0, 0, 0.1);
  
  animation: pulseActive 2.5s ease-in-out infinite;
}

.webform-tabs .nav-pills .nav-link.active::before {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, transparent 50%);
  opacity: 1;
}

/* Мягкая пульсация для активной вкладки */
@keyframes pulseActive {
  0%, 100% {
    box-shadow: 
      0px 4px 8px rgba(255, 58, 66, 0.2),
      0px 8px 16px rgba(0, 0, 0, 0.1),
      inset 0px 1px 2px rgba(255, 255, 255, 0.25),
      inset 0px -2px 4px rgba(0, 0, 0, 0.1);
  }
  50% {
    box-shadow: 
      0px 4px 8px rgba(255, 58, 66, 0.28),
      0px 8px 16px rgba(0, 0, 0, 0.12),
      inset 0px 1px 2px rgba(255, 255, 255, 0.3),
      inset 0px -2px 4px rgba(0, 0, 0, 0.1);
  }
}

.webform-computed-loading {
  background-color: #fffbf2;
}

.iti__arrow {
  display: none;
}

/* Webform container */

@media (min-width: 768px) {
  .webform-flexbox .webform-flexbox {
    margin: 0;
  }
}

.webform-type-radios legend {
  color: #1f1f1f;
  font-size: 24px;
  font-weight: 700;
  line-height: 150% /* 36px */;
  margin-bottom: 5px;
}

.webform-type-radios label {
  color: #1f1f1f;
  font-size: 24px;
  font-weight: 400;
  padding-top: 8px;
  padding-left: 10px;
  line-height: 100% /* 24px */;
  margin-bottom: 5px;
}

.js-form-type-select label {
  color: #1f1f1f;
  font-size: 24px;
  font-weight: 700;
  line-height: 150% /* 36px */;
  margin-bottom: 5px;
}

.js-form-type-textfield label {
  color: #1f1f1f;
  font-size: 24px;
  font-weight: 700;
  line-height: 150% /* 36px */;
  margin-bottom: 5px;
}

.js-form-type-tel label {
  color: #1f1f1f;
  font-size: 24px;
  font-weight: 700;
  line-height: 150% /* 36px */;
  margin-bottom: 5px;
}

.form-check {
  display: block;
  min-height: 1.5rem;
  padding-left: 1.5em;
  margin-bottom: 0.2rem;
}

.label-form {
  color: #1f1f1f;
  font-size: 22px;
  font-weight: 700;
  line-height: 150% /* 36px */;
  margin-bottom: 5px;
}

.iti {
  display: flex;
}

.iti--allow-dropdown .iti__flag-container,
.iti--separate-dial-code .iti__flag-container {
  right: auto;
  left: 10px;
}

.iti--allow-dropdown input,
.iti--allow-dropdown input[type="tel"],
.iti--allow-dropdown input[type="text"],
.iti--separate-dial-code input,
.iti--separate-dial-code input[type="tel"],
.iti--separate-dial-code input[type="text"] {
  padding-left: 60px;
  margin-left: 0;
}

.webform-options-display-side-by-side > div {
  display: inline-flex;
  align-items: center;
  margin-right: 1.5rem;
}

.form-check-input:checked {
  background-color: inherit;
  border-color: inherit;
}

.form-check-input[type="radio"] {
  border-radius: 50%;
  border-style: solid;
  border-color: #1f1f1f;
  border-width: 0.87px;
  width: 32px;
  height: 32px;
  position: relative;
  aspect-ratio: 1;
}

.form-check-input:checked[type="radio"] {
  background-image: url("/sites/default/files/icon/checkbox.svg");
  background-size: auto;
}

.form-check-input:focus {
  border-color: inherit;
  outline: 0;
  box-shadow: none;
}

.form-select {
  font-family: "Rubik", sans-serif;
  font-size: 24px;
  line-height: 100%;
  font-weight: 400;
  border-radius: 30px;
  border-style: solid;
  border-color: #000000;
  border-width: 1.5px;
  padding: 12px 20px 12px 20px;
  width: 163px;
  height: 50px;
  position: relative;
}

.form-select option {
  color: #1f1f1f;
  text-align: left;
  font-family: "Rubik", sans-serif;
  font-size: 24px;
  line-height: 100%;
  font-weight: 400;
  left: 20px;
  top: 10.5px;
}

.form-select:focus {
  border-color: inherit;
  outline: 0;
  box-shadow: none;
}

.webform-options-display-buttons,
.form-composite.webform-fieldset--title-inline
.fieldset-wrapper
> div.webform-options-display-buttons {
  position: relative;
  display: inline-flex;
  flex-wrap: wrap;
  margin: 0 -5px;
}

/* Общий стиль квадрата */
.js-form-item-color label.form-check-label {
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  border: 0.5px solid #1f1f1f;
  cursor: pointer;
  text-indent: -9999px;
  overflow: hidden;
}

/* Скрыть input */
.js-form-item-color input[type="radio"] {
  display: none;
}

/* Белый фон для value="white" */
.js-form-item-color input[value="white"] + label.form-check-label {
  background-color: var(--white, #fff);
}

/* Крафтовый фон для value="kraft" */
.js-form-item-color input[value="kraft"] + label.form-check-label {
  background-color: var(--kraft-cvet, #dea56e);
  border-color: var(--tekst, #1f1f1f);
}

/* Чекер при выборе */
.js-form-item-color
input[type="radio"]:checked
+ label.form-check-label::after {
  content: "";
  width: 24px;
  height: 24px;
  background-image: url("/sites/default/files/icon/checkbox.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.form-control {
  font-family: "Rubik", sans-serif;
  font-size: 24px;
  line-height: 100%;
  font-weight: 400;
  border-radius: 30px;
  border-style: solid;
  border-color: #000000;
  border-width: 1.5px;
  padding: 12px 20px 12px 20px;
  height: 50px;
  position: relative;
}

a.button-other {
  width: 100%;
  display: flex;
  padding: 15px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  border-radius: 28px;
  border: 2px solid #d2121d;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.05);
  color: #d2121d;
  font-size: 24px;
  text-align: center;
  font-weight: 500;
  text-decoration: none;
  /* Добавляем плавность для возврата кнопки */
  transition: transform 0.1s ease;
}

/* Эффект нажатия */
a.button-other:active {
  transform: translateY(3px); /* Смещение вниз при клике */
  box-shadow: none; /* Убираем тень при нажатии для реализма */
}

@media (max-width: 1399px) {
  .webform-type-radios legend {
    font-size: 20px;
  }
  
  .webform-type-radios label {
    font-size: 20px;
  }
  
  .js-form-type-select label {
    font-size: 20px;
  }
  
  .js-form-type-textfield label {
    font-size: 20px;
  }
  
  .js-form-type-tel label {
    font-size: 20px;
  }
  
  .js-form-item-color label.form-check-label {
    width: 32px;
    height: 32px;
  }
  
  .form-select {
    font-size: 20px;
    width: 145px;
    height: 46px;
  }
  
  .form-control {
    font-size: 20px;
    height: 46px;
  }
  
  .price-total {
    text-align: left;
    font-size: 18px;
    font-weight: 500;
  }
  
  .price-total span {
    font-size: 26px;
    font-weight: 700;
  }
  
  .calc-button {
    background: #d2121d;
    height: 50px !important;
  }
  
  a.button-other {
    font-size: 20px;
  }
  
}

@media (max-width: 991.98px) {
  .webform-tabs .nav-pills .nav-link {
    font-size: 20px;
  }
  .webform-type-radios legend {
    font-size: 20px;
  }
  
  .webform-type-radios label {
    font-size: 20px;
  }
  
  .js-form-type-select label {
    font-size: 20px;
  }
  
  .js-form-type-textfield label {
    font-size: 20px;
  }
  
  .js-form-type-tel label {
    font-size: 20px;
  }
  
  .js-form-item-color label.form-check-label {
    width: 32px;
    height: 32px;
  }
  
  .webform-options-display-buttons,
  .form-composite.webform-fieldset--title-inline
  .fieldset-wrapper
  > div.webform-options-display-buttons {
    margin: 0;
  }
  
  .form-select {
    font-size: 20px;
    width: 145px;
    height: 46px;
  }
  
  .form-control {
    font-size: 20px;
    height: 46px;
  }
  
  .webform-options-display-three-columns {
    column-count: 1;
  }
  
  .price-block .webform-flex--1 {
    width: 100%;
  }
  
  .price-total {
    text-align: left;
    font-size: 18px;
    font-weight: 500;
  }
  
  .price-total span {
    font-size: 26px;
    font-weight: 700;
  }
  
  .calc-button {
    background: #d2121d;
    height: 50px !important;
  }
  
  a.button-other {
    font-size: 20px;
  }
}

/* footer */

.site-footer__bottom {
  letter-spacing: inherit;
  margin-top: 0px;
  border-top: 0;
}

.site-footer__bottom_text {
  background: #f9ecdc;
  font-size: 12px;
}

/* Pop up */

.ui-widget-header {
  border: none;
  background: #fff;
  color: #333;
  font-weight: 500;
}

.ui-widget.ui-widget-content {
  font: 18px/28px "Rubik", sans-serif;
  border: none;
  padding: 0;
}

.ui-dialog .ui-dialog-title {
  font-size: 1.6rem!important;
}

.ui-dialog .ui-dialog-titlebar {
  font-size: 28px;
  line-height: 24px;
  text-shadow: none;
}

.ui-dialog .ui-dialog-titlebar {
  padding: 2em 2.5em 0em 1.5em;
  position: relative;
  background: #fff;
}

.ui-dialog .ui-dialog-content {
  position: relative;
  border: 0;
  padding: 2em 2.5em;
  background: none;
  overflow: auto;
}

.ui-dialog .button {
  background-color: #dc2f2f;
  background-image: none;
  border-color: #dc2f2f;
  color: #ffffff;
  border: none;
  cursor: pointer;
  font-size: 13px;
  line-height: 1.154;
  padding-top: 9px;
  padding-bottom: 9px;
  border-radius: 1em;
}

.ui-dialog .ui-dialog-titlebar-close {
  background-image: url('/themes/custom/printrez/images/x-button.png');
  background-repeat: no-repeat;
  border: 0;
  background-position: center;
  background-color: #fff;
}

.ui-dialog .ui-dialog-titlebar-close {
  position: absolute;
  right: .33em;
  top: 25%;
  width: 30px;
  margin: -10px 0 0 0;
  padding: 1px;
  height: 20px;
}

.ui-dialog-titlebar-close:focus-visible {
  outline: 0;
}

.ui-dialog {
  z-index:1000000000;
  top: 0; left: 0;
  margin: auto;
  position: fixed;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.ui-dialog .ui-dialog-content {
  flex: 1;
}