@charset "UTF-8";
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  color: #0F4880;
  font-family: "Montserrat", sans-serif;
  margin-block-start: 0;
  margin-block-end: 0;
  margin-inline-start: 0;
  margin-inline-end: 0;
  font-weight: 500;
}

h2 {
  font-weight: 700;
  font-size: 26px;
}

body {
  background-color: #F2FFFF;
  overflow-x: hidden;
}

dialog {
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
}

ul {
  list-style: none;
}

input[type=checkbox] {
  accent-color: #009EA3;
}

.container {
  max-width: 1300px;
  margin: 0 auto;
  height: 100%;
  background-color: transparent;
}

.btn {
  padding: 8px;
  border: 1px solid #0F4880;
  border-radius: 6px;
  transition: 0.2s ease color;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.btn__menu {
  margin-left: 8px;
  padding: 6px 12px;
  border-radius: 6px;
}
.btn__save {
  background-color: #0F4880;
  border-color: #0F4880;
  color: #F2FFFF;
}
.btn__save * {
  color: #F2FFFF;
}
.btn__save:hover {
  background-color: transparent;
  color: #071F39;
}
.btn__save:hover * {
  background-color: #F2FFFF;
  color: #071F39;
}
.btn__cancel {
  background-color: #009EA3;
  border-color: #009EA3;
  color: #F2FFFF;
}
.btn__cancel * {
  color: #F2FFFF;
}
.btn__cancel:hover {
  background-color: transparent;
  color: #009EA3;
}
.btn__cancel:hover * {
  color: #009EA3;
}
.btn__disabled {
  opacity: 0.3;
}
.btn__disabled * {
  opacity: 0.2;
}
.btn__neutral {
  background-color: #4A4A4A;
  border-color: #4A4A4A;
  color: #F2FFFF;
}
.btn__neutral:hover {
  background-color: transparent;
  color: #4A4A4A;
}

.square {
  z-index: 6;
  height: 24px;
  width: 24px;
  border: 1px solid #0F4880;
  border-radius: 6px;
}

.tooltip {
  position: relative;
  display: inline-block;
}
.tooltip:hover .tooltip-text {
  visibility: visible;
}

.tooltip-text {
  visibility: hidden;
  font-size: 13px;
  width: fit-content;
  background-color: #fff;
  text-align: center;
  text-wrap: nowrap;
  border: 1px solid #0F4880;
  border-radius: 6px;
  padding: 2px 4px;
  position: absolute;
  z-index: 20;
  top: -95%;
  left: 50%;
  overflow: visible;
}

.hr {
  margin-top: 8px;
}

.check {
  height: 20px;
  width: 20px;
}

@media (max-width: 1330px) {
  .container {
    padding: 0 30px;
  }
}
/* Promotion badge styles */
.promotion-badge {
  display: inline-block;
  padding: 4px 8px;
  background-color: #ff6b6b;
  color: white;
  font-weight: bold;
  border-radius: 4px;
  font-size: 12px;
  margin-right: 5px;
  margin-bottom: 5px;
}

/* Smaller badge for product pages */
.product-promotion-badge {
  position: absolute;
  top: -1.25rem;
  right: -1rem;
  display: inline-block;
  padding: 3px 6px;
  background-color: #ff6b6b;
  color: white;
  font-weight: bold;
  border-radius: 3px;
  font-size: 10px;
  margin-left: 5px;
  vertical-align: middle;
}

/* ... existing styles ... */
/* SEO Content */
.seo-content {
  margin: 2rem 0;
  padding: 2rem;
  background: #f9f9f9;
  border-radius: 8px;
}
.seo-content__text {
  line-height: 1.6;
  color: #333;
}
.seo-content__text h2, .seo-content__text h3 {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  color: #222;
}
.seo-content__text p {
  margin-bottom: 1rem;
}
.seo-content__text ul, .seo-content__text ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

/* Custom Dropdown Component */
.viki-dropdown {
  position: relative;
  display: inline-block;
  width: 100%;
  /* Dropdown placement modifiers */
  /* Dropdown sizes */
  /* Secondary color variant */
}
.viki-dropdown__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 8px;
  background-color: #fff;
  border: 1px solid #0F4880;
  border-radius: 6px;
  border-radius: 4px;
  cursor: pointer;
  user-select: none;
  font-size: 0.85rem;
  z-index: 1;
}
.viki-dropdown__trigger-icon {
  display: inline-flex;
  transition: transform 0.2s ease;
}
.viki-dropdown--open .viki-dropdown__trigger-icon {
  transform: rotate(180deg);
}
.viki-dropdown__menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 100%;
  max-height: 0;
  overflow: hidden;
  background-color: #fff;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.2s ease-in-out;
  z-index: 100;
  /* Ensure the menu is initially hidden with zero height */
  visibility: hidden;
}
.viki-dropdown__menu li {
  padding: 5px 8px;
  background-color: #fff;
  border-radius: 4px;
  cursor: pointer;
  user-select: none;
  font-size: 0.85rem;
  transition: background-color 0.2s ease;
}
.viki-dropdown__menu li:hover {
  background-color: rgba(0, 158, 163, 0.1);
}
.viki-dropdown--open .viki-dropdown__menu {
  max-height: 300px;
  opacity: 1;
  transform: translateY(0);
  overflow: auto;
  visibility: visible;
  z-index: 100;
}
.viki-dropdown__menu-item {
  padding: 0;
  margin: 0;
}
.viki-dropdown__menu-item:not(:last-child) {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.viki-dropdown--right .viki-dropdown__menu {
  left: auto;
  right: 0;
}
.viki-dropdown--top .viki-dropdown__menu {
  top: auto;
  bottom: calc(100% + 8px);
}
.viki-dropdown--sm .viki-dropdown__trigger {
  padding: 6px 12px;
  font-size: 0.875rem;
}
.viki-dropdown--lg .viki-dropdown__trigger {
  padding: 10px 20px;
  font-size: 1.125rem;
}
.viki-dropdown--secondary .viki-dropdown__trigger {
  background-color: #009EA3;
}
.viki-dropdown--secondary .viki-dropdown__menu-link:hover {
  color: #009EA3;
}
.viki-dropdown--secondary .viki-dropdown__menu-link--active {
  color: #009EA3;
  background-color: rgba(0, 158, 163, 0.05);
}

.menu {
  height: 60px;
  width: 100%;
  background-color: #009EA3;
  position: sticky;
  margin-top: 180px;
  top: 0;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.menu__line {
  display: flex;
  justify-content: space-between;
  height: 100%;
}
.menu__left {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 30px;
}
.menu__left i {
  font-size: 18px;
  color: #F2FFFF;
}
.menu__item {
  cursor: pointer;
  padding: 16px 0;
  position: relative;
}
.menu__item a, .menu__item div {
  display: inline-block;
  position: relative;
  transition: all 0.2s ease;
  color: #F2FFFF;
}
.menu__item a::after, .menu__item div::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -3px;
  left: 0;
  background-color: #F2FFFF;
  transition: width 0.3s ease;
}
.menu__item:hover a::after, .menu__item:hover div::after {
  width: 100%;
}
.menu__logo {
  height: 40px;
  transition: transform 0.2s ease;
}
.menu__logo:hover {
  transform: scale(1.05);
}
.menu__right {
  display: flex;
  align-items: center;
  gap: 30px;
}
.menu__cabinet {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 16px 0;
  position: relative;
}
.menu__cabinet i {
  color: #F2FFFF;
}
.menu__cabinet div {
  color: #F2FFFF;
  position: relative;
}
.menu__cabinet div::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -3px;
  left: 0;
  background-color: #F2FFFF;
  transition: width 0.3s ease;
}
.menu__cabinet:hover div::after {
  width: 100%;
}

.menu-mobile {
  display: none;
  border: 1px solid #0F4880;
  border-radius: 6px;
}
.menu-mobile__logo {
  display: none;
  margin-top: 8px;
  margin-right: 4px;
}
.menu-mobile__icon {
  color: #F2FFFF;
  padding-top: 16px;
}
.menu-mobile__item {
  padding: 8px 24px;
  font-size: 14px;
}
.menu-mobile__item a {
  color: #F2FFFF;
}
.cart {
  display: flex;
  align-items: center;
}
.cart a {
  display: flex;
  align-items: center;
  position: relative;
}
.cart a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -3px;
  left: 0;
  background-color: #F2FFFF;
  transition: width 0.3s ease;
}
.cart a img {
  filter: brightness(0) invert(1);
}
.cart a .cart-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: #0F4880;
  color: #F2FFFF;
  border-radius: 50%;
  padding: 2px 6px;
  font-size: 12px;
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  display: none;
}
.cart:hover a::after {
  width: 100%;
}

.header {
  background-color: #0F4880;
  margin-bottom: 30px;
}
.header__line {
  height: 270px;
  display: flex;
  justify-content: space-between;
  margin: -240px 0 0 0;
}
.header__left {
  color: #F2FFFF;
  background-color: transparent;
  font-size: 48px;
  margin-top: 30px;
  z-index: 3;
}
.header__social {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  margin-top: 15px;
  margin-bottom: 60px;
  padding: 6px 12px;
  background-color: rgba(0, 158, 163, 0.2);
  border-radius: 20px;
  transition: background-color 0.2s ease;
  width: fit-content;
}
.header__social:hover {
  background-color: rgba(0, 158, 163, 0.3);
}
.header__social_item {
  color: #F2FFFF;
}
.header__right img {
  height: 100%;
  transition: opacity 0.2s ease;
}
.header__right img:hover {
  opacity: 0.95;
}

.catalogue {
  position: relative;
}
.catalogue__item {
  display: none;
  position: absolute;
  top: 44px;
  left: -8px;
  border: 1px solid #0F4880;
  border-radius: 6px;
  background-color: #F2FFFF;
  width: 220px;
  padding: 8px 0;
  z-index: 9;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.catalogue__item li {
  padding: 8px;
  transition: background-color 0.2s ease;
}
.catalogue__item li:hover {
  background-color: rgba(0, 158, 163, 0.1);
}
.catalogue:hover .catalogue__item {
  display: block;
  animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 1100px) {
  .menu__left {
    display: none;
  }
  .menu .menu-mobile__logo {
    display: block;
  }
  .menu .menu-mobile__logo:hover .menu-mobile {
    display: flex;
    height: 100%;
    flex-direction: column;
    align-items: center;
    background-color: #009EA3;
  }
  .header__right {
    display: none;
  }
}
@media (max-width: 768px) {
  .menu__right {
    gap: 8px;
  }
  .menu__cabinet {
    font-size: 14px;
    text-wrap: wrap;
  }
  .menu__cabinet div {
    display: none;
  }
  .catalogue__item {
    left: auto;
    right: 0;
    width: fit-content;
    top: 32px;
  }
}
.section-title {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #0F4880;
  font-weight: 700;
  position: relative;
  padding-bottom: 12px;
}
.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 3px;
  background-color: #009EA3;
  border-radius: 2px;
}

.category {
  margin: 20px 0 40px 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  position: relative;
}
.category__item {
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(15, 72, 128, 0.1);
  transition: all 0.3s ease;
}
.category__item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(15, 72, 128, 0.2);
}
.category__item:hover .category__label .category__label_text {
  background: #009EA3;
  color: #fff;
  box-shadow: 0 4px 15px rgba(0, 158, 163, 0.5);
  transform: translateY(0);
  opacity: 1;
}
.category__item:hover .category__img {
  transform: scale(1.05);
  filter: brightness(0.95);
}
.category__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}
.category__label {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 2;
}
.category__label_text {
  color: #fff;
  background: rgba(15, 72, 128, 0.85);
  padding: 15px 20px;
  font-size: 18px;
  font-weight: 600;
  width: 100%;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.news__item {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0 4px 20px rgba(15, 72, 128, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}
.news__item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(15, 72, 128, 0.15);
}
.news__item:hover .news__img {
  transform: scale(1.05);
}
.news__img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  object-position: center;
  transition: transform 0.5s ease;
  display: block;
  border-radius: 8px;
}
.news__img_frame {
  width: 100%;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  padding: 20px 20px 0;
}
.news__label {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background-color: #fff;
}
.news__title {
  font-size: 18px;
  font-weight: 700;
  color: #0F4880;
  margin: 0;
  line-height: 1.4;
}
.news__price {
  font-size: 16px;
  font-weight: 600;
  color: #009EA3;
  margin: 0;
}
.news__text {
  margin-top: 8px;
  font-size: 14px;
  color: #363636;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 63px; /* ~= 3 строки */
}

.section-description {
  margin-bottom: 30px;
  font-size: 16px;
  line-height: 1.6;
  color: #363636;
  max-width: 800px;
}
.section-description p {
  margin-bottom: 10px;
}
.section-description p:last-child {
  margin-bottom: 0;
}

.content-section {
  background-color: #F2FFFF;
}

.section-title {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: #0F4880;
  font-weight: 600;
}

.card, .legal-data, .personal-data {
  border: 1px solid #0F4880;
  border-radius: 6px;
  background-color: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(15, 72, 128, 0.1);
  transition: all 0.3s ease;
  margin-bottom: 1.5rem;
}

.personal-btn {
  width: 100%;
  padding: 12px 0;
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
  border-radius: 8px;
  font-size: 1rem;
}

.personal-data {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 30px;
}
.personal-data__inputs {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}
.personal-data__block {
  display: grid;
  align-items: center;
  gap: 20px;
  grid-template-columns: 1fr 4fr;
  height: 52px;
}
.personal-data__label {
  text-wrap: nowrap;
  font-weight: 500;
  color: #363636;
}
.personal-data__input {
  padding: 12px 16px;
  font-size: 16px;
  width: 100%;
  border-radius: 8px;
  border: 1px solid rgba(15, 72, 128, 0.3);
  transition: all 0.2s ease;
}
.personal-data__input:focus {
  border-color: #0F4880;
  box-shadow: 0 0 0 3px rgba(15, 72, 128, 0.2);
  outline: none;
}
.personal-data__input:disabled {
  background-color: #f8f9fa;
  color: #3f3f3f;
}
.personal-data__change {
  display: flex;
  margin-top: 32px;
  gap: 16px;
}
.personal-data__save {
  margin-top: 32px;
}

.legal-data {
  gap: 8px;
}
.legal-data__title {
  display: grid;
  grid-template-columns: 3fr 8px 1fr;
  align-items: center;
  gap: 30px;
  margin-bottom: 20px;
}
.legal-data__change {
  margin-top: 0;
}
.legal-data__block {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.legal-data__inputs {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 30px;
  margin-top: 16px;
}

.bank {
  cursor: pointer;
  margin-top: 16px;
  padding: 12px;
  background-color: #f8f9fa;
  border-radius: 8px;
  transition: all 0.2s ease;
}
.bank:hover {
  background-color: #f1f3f5;
}
.bank__name {
  padding: 8px 12px;
  font-size: 16px;
  width: calc(100% - 46px);
  margin-left: 30px;
  border: 1px solid transparent;
  border-radius: 6px;
  background-color: transparent;
}
.bank__name:focus {
  border-color: #0F4880;
  background-color: #fff;
  outline: none;
}
.bank__summary {
  display: grid;
  grid-template-columns: 8px 3fr 1fr;
  align-items: center;
  gap: 30px;
  margin-top: 16px;
}

.company {
  cursor: pointer;
  background-color: #f8f9fa;
  border-radius: 8px;
  margin-bottom: 12px;
  transition: all 0.2s ease;
}
.company:hover {
  background-color: #f1f3f5;
}
.company[open] {
  padding-bottom: 12px;
}
.company[open] .company__summary::before {
  content: "▼";
  color: #0F4880;
}
.company__summary {
  display: grid;
  grid-template-columns: 8px 3fr 1fr;
  align-items: center;
  gap: 30px;
  margin-top: 16px;
  padding: 12px;
  outline: none;
}
.company__summary::before {
  content: "▶";
  font-size: 14px;
  transition: transform 0.2s;
  color: #009EA3;
}
.company__summary:hover::before {
  color: #0F4880;
}
.company__data-save {
  margin-top: 0;
}
.company__save {
  display: flex;
  flex-direction: row;
  gap: 14px;
  padding: 0 12px 12px 12px;
}
.company__save * {
  margin-bottom: 0;
}

.company-dialog {
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 600px;
  max-width: 90%;
  border: none;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(15, 72, 128, 0.25);
  padding: 24px 24px 8px 24px;
  background-color: #fff;
}
.company-dialog::backdrop {
  background-color: rgba(0, 0, 0, 0.5);
}
.company-dialog .login__title {
  margin-bottom: 12px;
  font-size: 1.3rem;
  font-weight: 600;
  color: #0F4880;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.company-dialog__line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 0;
}
.company-dialog__block {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 6px 8px;
  width: 100%;
}
.company-dialog__block.address-block {
  align-items: flex-start;
}
.company-dialog__block.address-block .company-dialog__label {
  padding-top: 10px;
}
.company-dialog__btn-block {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: flex-end;
  padding: 16px 8px 0 8px;
  margin-bottom: 0;
}
.company-dialog__label {
  font-weight: 500;
  color: #363636;
  min-width: 140px;
}
.company-dialog__input {
  border: 1px solid transparent;
  padding: 10px 16px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.2s ease;
  background-color: #f8f9fa;
}
.company-dialog__input_frame {
  border-color: rgba(15, 72, 128, 0.3);
  background-color: #fff;
}
.company-dialog__input_frame:focus {
  border-color: #0F4880;
  box-shadow: 0 0 0 3px rgba(15, 72, 128, 0.2);
  outline: none;
}
.company-dialog__input_long {
  min-width: 280px;
}
.company-dialog__text {
  border: 1px solid transparent;
  padding: 10px 16px;
  width: 100%;
  font-size: 16px;
  font-weight: 500;
  background-color: #f8f9fa;
  border-radius: 8px;
  white-space: normal;
  word-break: break-word;
}
.company-dialog__text.multiline {
  min-height: 80px;
  height: auto;
  line-height: 1.5;
  resize: vertical;
  overflow-y: auto;
  white-space: pre-wrap;
}
.company-dialog__checkbox {
  width: 18px;
  height: 18px;
  accent-color: #0F4880;
}

/* Улучшенные стили кнопок в модалах */
.company-dialog .btn {
  min-width: 120px;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.2s ease;
}
.company-dialog .legal-btn {
  padding: 10px 16px;
  font-size: 1rem;
  min-width: 140px;
}
.company-dialog .btn__save {
  box-shadow: 0 2px 4px rgba(15, 72, 128, 0.2);
}
.company-dialog .btn__cancel {
  box-shadow: 0 2px 4px rgba(74, 74, 74, 0.1);
}

/* Специфичные стили для модала банка */
#bank-dialog .company-alert {
  margin: 4px 0;
  padding: 4px;
}
#bank-dialog form {
  margin-bottom: 0;
}

/* Специфичные стили для модала добавления компании */
#company-dialog .company-dialog__btn-block {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: flex-end;
  padding: 12px 8px 0 8px;
}
#company-dialog .company-dialog__btn-block .btn {
  min-width: 130px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
}
#company-dialog .company-alert {
  margin: 4px 0;
  padding: 4px;
}

/* Стили для модала сохранения компании */
#company-dialog-save .address-block {
  align-items: flex-start;
}
#company-dialog-save .address-block .company-dialog__label {
  padding-top: 10px;
}
#company-dialog-save #company-dialog-save-address {
  min-height: 80px;
  height: auto;
  line-height: 1.5;
  resize: vertical;
  overflow-y: auto;
  white-space: pre-wrap;
  max-height: 200px;
}

/* Общие стили для всех модалов */
dialog.company-dialog form {
  margin-bottom: 0;
}
dialog.company-dialog .alert.company-alert {
  margin-top: 4px;
  margin-bottom: 0;
  padding-bottom: 0;
}
dialog.company-dialog textarea {
  min-height: 80px;
  line-height: 1.5;
  font-family: inherit;
}

.legal-btn {
  width: 100%;
  padding: 12px 16px;
  display: flex;
  justify-content: center;
  border-radius: 8px;
  font-size: 1rem;
}

.alert-border {
  border-color: #dc3545 !important;
}

.alert {
  color: #dc3545;
  font-size: 0.9rem;
  margin-top: 8px;
}

.company-alert {
  display: inline-block;
  width: 100%;
  text-align: center;
  margin-top: 8px;
  padding: 8px;
}

.item-hidden {
  display: none !important;
}

.price-block {
  position: relative;
  height: 52px;
}
.price-block .viki-dropdown.personal-data__dropdown .viki-dropdown__trigger {
  padding: 12px 16px;
  font-size: 16px;
  border-radius: 8px;
  border: 1px solid rgba(15, 72, 128, 0.3);
  height: 45px;
}
.price-block .viki-dropdown.personal-data__dropdown .viki-dropdown__trigger:hover {
  border-color: rgba(15, 72, 128, 0.5);
}
.price-block .viki-dropdown.personal-data__dropdown .viki-dropdown__trigger-text {
  color: #363636;
  font-size: 16px;
}
.price-block .viki-dropdown.personal-data__dropdown .viki-dropdown__trigger-icon {
  color: #363636;
  font-size: 12px;
  margin-left: 8px;
  transition: transform 0.2s ease;
}
.viki-dropdown--open .price-block .viki-dropdown.personal-data__dropdown .viki-dropdown__trigger-icon {
  transform: rotate(180deg);
}
.viki-dropdown--open .price-block .viki-dropdown.personal-data__dropdown .viki-dropdown__trigger {
  border-color: #0F4880;
  box-shadow: 0 0 0 3px rgba(15, 72, 128, 0.2);
  outline: none;
}
.price-block .viki-dropdown.personal-data__dropdown .viki-dropdown__menu {
  border-radius: 8px;
  border: 1px solid rgba(15, 72, 128, 0.3);
  box-shadow: 0 4px 12px rgba(15, 72, 128, 0.1);
  margin-top: 2px;
}
.price-block .viki-dropdown.personal-data__dropdown .viki-dropdown__menu li {
  padding: 12px 16px;
  font-size: 16px;
  color: #363636;
}
.price-block .viki-dropdown.personal-data__dropdown .viki-dropdown__menu li:hover {
  background-color: rgba(15, 72, 128, 0.05);
}
.price-block .viki-dropdown.personal-data__dropdown .viki-dropdown__menu li:not(:last-child) {
  border-bottom: 1px solid rgba(15, 72, 128, 0.05);
}

.menu-product {
  height: 60px;
  width: 100%;
  background-color: #009EA3;
  position: fixed;
  z-index: 10;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}
.menu-product .menu__line {
  height: 100%;
  display: flex;
  align-items: center;
}
.menu-product .hidden-main {
  display: none;
}
.menu-product .menu__right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.menu-product .menu__right_form {
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 6px 10px;
  margin-right: 10px;
}
.menu-product .menu__right_form_input {
  background: transparent;
  border: none;
  outline: none;
  color: #F2FFFF;
}
.menu-product .menu__right_form_input::placeholder {
  color: rgba(242, 255, 255, 0.7);
}
.menu-product .menu__right_form i {
  color: #F2FFFF;
  margin-right: 8px;
}
.menu-product .menu__right_form button {
  margin-left: 8px;
  padding: 6px 12px;
  border-radius: 6px;
}

.menu-items {
  width: 100%;
  background-color: #0F4880;
  top: 60px;
  position: fixed;
  z-index: 7;
  height: 80px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.06);
}
.menu-items .menu__line {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.menu-items__items {
  display: flex;
  gap: 5px;
  align-items: center;
  flex-wrap: wrap;
  width: 90%;
  margin-left: -16px;
}
.menu-items__item {
  position: relative;
}
.menu-items__item a {
  display: inline-block;
  padding: 8px 16px;
  text-wrap: nowrap;
  color: #F2FFFF;
  font-weight: normal;
  border-radius: 6px;
  transition: all 0.2s ease;
}
.menu-items__item a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.filter {
  z-index: 5;
  position: fixed;
  top: 80px;
  right: calc((100% - 1280px) / 2);
  transition: max-height 0.6s ease;
  max-height: 40px;
  height: 100%;
  overflow: hidden;
}
.filter:open {
  max-height: 400px;
  height: 100%;
  transition: max-height 0.6s ease;
}
.filter__summary {
  cursor: pointer;
  display: flex;
  justify-content: end;
}
.filter__summary_title {
  position: relative;
  display: flex;
  gap: 16px;
  justify-content: end;
  align-items: center;
  border: 1px solid #0F4880;
  border-radius: 6px;
  border-color: transparent;
  padding: 8px 24px 8px 10px;
  background-color: #009ea3;
}
.filter__summary_title h4 {
  color: #F2FFFF;
}
.filter__summary_title i {
  color: #F2FFFF;
}
.filter__content {
  width: 100%;
  background-color: #F2FFFF;
  border: 1px solid #0F4880;
  border-radius: 6px;
  padding: 16px;
}
.filter__content_data {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 2fr;
}
.filter__content_data_color {
  margin: 16px 0;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.filter__content_data_print {
  margin: 16px 0;
  display: grid;
  grid-template-columns: 1fr 8fr;
  gap: 6px;
}
.filter__content_data_filter {
  display: grid;
  align-items: center;
  grid-template-columns: repeat(2, 1fr 9fr);
  gap: 6px;
  margin: 16px 0;
}
.filter__content_data_checkbox {
  height: 20px;
  width: 20px;
}
.filter__btn-block {
  display: flex;
  justify-content: end;
  gap: 8px;
}
.filter__price-range {
  padding: 6px;
  display: flex;
  justify-content: flex-start;
  gap: 16px;
  align-items: center;
}

.input-range {
  color: #0F4880;
  accent-color: #0F4880;
  width: 70%;
}
.input-range__value {
  font-size: 18px;
}

.product-header {
  width: 100%;
  padding-top: 186px;
  display: flex;
  justify-content: space-between;
}
.product-header__subtitle {
  margin: -0.5rem 0 1.5rem 0;
}

.color-label {
  position: relative;
  cursor: pointer;
}
.color-label__check {
  position: absolute;
  display: none;
  z-index: 5;
  border: 2px solid #009EA3;
  border-radius: 6px;
  top: -4px;
  left: -4px;
  height: 32px;
  width: 32px;
  background-color: transparent;
}

.filter-badge {
  position: absolute;
  font-size: 13px;
  right: 0;
  top: 0;
  background-color: #0F4880;
  padding: 2px 6px;
  border: 1px solid #0F4880;
  border-radius: 8px;
  display: none;
  color: #F2FFFF;
}

.catalogue-product {
  position: relative;
}
.catalogue-product__item {
  display: none;
  background-color: #F2FFFF;
}
.catalogue-product:hover .catalogue-product__item {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
}

@media (max-width: 1100px) {
  .menu__right_form_input {
    max-width: 100px;
  }
  .menu-product .hidden-main {
    display: block;
  }
  .menu-product .hidden-main i {
    color: #F2FFFF;
  }
}
@media (max-width: 1100px) {
  .menu-items {
    height: fit-content;
  }
  .menu-items__items {
    padding-right: 50px;
  }
  .menu-items__item a {
    font-size: 14px;
  }
  .filter {
    top: 64px;
    right: 16px;
  }
  .filter__summary_title {
    font-size: 14px;
  }
  .filter__content_data {
    font-size: 14px;
  }
}
.product-sqr {
  border: 1px solid #0F4880;
  border-radius: 6px;
  border-color: transparent;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  max-width: 646px;
  padding: 24px;
  margin: 8px 0;
  position: relative;
  background-color: #fff;
}
.product-sqr__frame {
  position: relative;
  margin-top: 8px;
  z-index: 3;
  transition: all 0.4s ease;
  opacity: 1;
  display: grid;
  grid-template-columns: 268px 320px;
  gap: 10px;
}
.product-sqr__image-frame {
  height: 280px;
  width: 280px;
}
.product-sqr__img {
  border: 1px solid #0F4880;
  border-radius: 6px;
  border-color: transparent;
  cursor: pointer;
  height: 100%;
  width: 100%;
  object-fit: contain;
}
.product-sqr__info {
  display: flex;
  height: 240px;
  margin-bottom: 8px;
}
.product-sqr__tab-btn-block {
  display: flex;
  gap: 8px;
  flex-direction: column;
  justify-content: flex-start;
}
.product-sqr__tab-btn {
  padding: 8px 8px 4px 8px;
  border: 1px solid;
  border-color: rgba(74, 74, 74, 0.08) transparent rgba(74, 74, 74, 0.08) rgba(74, 74, 74, 0.08);
  border-radius: 8px 0 0 8px;
  z-index: 1;
  box-shadow: -2px 4px 4px 1px rgba(74, 74, 74, 0.08);
  cursor: pointer;
  background-color: rgba(74, 74, 74, 0.08);
}
.product-sqr__tab-content {
  position: relative;
  border: 1px solid rgba(74, 74, 74, 0.08);
  border-radius: 0 12px 12px 12px;
  margin: 0 0 0 -2px;
  box-shadow: -2px 4px 4px 2px rgba(74, 74, 74, 0.08);
  z-index: 2;
  width: 100%;
}
.product-sqr__tab {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 12px 10px;
}
.product-sqr__tab a {
  display: flex;
  justify-content: end;
  align-items: center;
  gap: 8px;
}
.product-sqr__tab a * {
  color: #009EA3;
}
.product-sqr__tab a_text {
  word-wrap: normal;
  hyphens: auto;
}
.product-sqr__tab_print-data {
  display: none;
  justify-content: flex-start;
  flex-direction: column;
  gap: 12px;
  padding: 8px 16px 2px 8px;
}
.product-sqr__tab-main_title {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 8px;
  justify-content: space-between;
}
.product-sqr__tab-print_content {
  display: flex;
  justify-content: space-between;
}
.product-sqr__tab-print_content * {
  font-size: 13px;
}
.product-sqr__tab-print_value {
  text-align: end;
}

.btn-sqr {
  width: 100%;
  padding: 8px;
  justify-content: center;
  gap: 8px;
}
.btn-sqr__block {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 16px;
  width: 67%;
  margin-left: 33%;
}

.chevron-sqr-next {
  position: absolute;
  width: 260px;
  background-color: transparent;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: end;
  cursor: pointer;
}
.chevron-sqr-next:hover * {
  font-weight: bold;
  transform: scale(1.05);
}

.goods-group {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.goods-group__item {
  border: 1px solid #0F4880;
  border-radius: 6px;
  border-color: transparent;
  background-color: #fff;
  display: inline-block;
  width: 100%;
  padding: 24px;
  text-align: center;
  transition: transform 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}
.goods-group__item:hover {
  transform: scale(1.05);
}

.product-new-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  background-color: #009EA3;
  color: white;
  font-size: 12px;
  font-weight: bold;
  padding: 5px 10px;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  z-index: 5;
}

.products {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.product-hor {
  position: relative;
  border: 1px solid #0F4880;
  border-radius: 6px;
  border-color: transparent;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  width: 620px;
  min-height: 448px;
  padding: 32px 24px 16px 24px;
  margin: 8px 0;
  background-color: #fff;
}
.product-hor__frame {
  position: relative;
  padding-top: 100px;
  width: 568px;
  z-index: 3;
  opacity: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.product-hor__color-description {
  display: inline-block;
  min-height: 40px;
  margin-bottom: 16px;
}
.product-hor__color-description_big {
  min-height: 58px;
}
.product-hor__image-frame {
  position: absolute;
  top: 16px;
  left: 0;
  transition: all 0.4s ease;
}
.product-hor__img {
  width: 568px;
  border: 1px solid #0F4880;
  border-radius: 6px;
  border-color: transparent;
  overflow: hidden;
}
.product-hor__tab-btn-block {
  margin-top: 8px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
}
.product-hor__tab-btn {
  padding: 8px 8px 4px 8px;
  border: 1px solid;
  border-radius: 8px 8px 0 0;
  border-color: rgba(74, 74, 74, 0.08) rgba(74, 74, 74, 0.08) transparent rgba(74, 74, 74, 0.08);
  z-index: 1;
  box-shadow: 2px -2px 2px 1px rgba(74, 74, 74, 0.08);
  cursor: pointer;
  overflow: hidden;
  background-color: rgba(74, 74, 74, 0.08);
}
.product-hor__tab-content {
  position: relative;
  border: 1px solid rgba(74, 74, 74, 0.08);
  border-radius: 0 12px 12px 12px;
  height: 100px;
  margin: -1px 0 10px 0;
  box-shadow: 2px -2px 8px 4px rgba(74, 74, 74, 0.08);
  overflow: auto;
  z-index: 2;
}
.product-hor__tab {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 12px 10px;
}
.product-hor__tab a {
  display: flex;
  justify-content: end;
  align-items: center;
  gap: 8px;
}
.product-hor__tab a * {
  color: #009EA3;
}
.product-hor__tab-main_title {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.product-hor__tab-print_data {
  display: grid;
  gap: 8px;
  grid-template-columns: 3fr 2fr 1fr 1fr 2fr;
  padding: 4px 0;
}
.product-hor__tab-print_data * {
  font-size: 13px;
}
.product-hor__btn-block {
  display: flex;
  gap: 16px;
}
.product-hor__tab-pack {
  padding: 2px 10px;
  display: grid;
  align-items: center;
  grid-template-columns: 4fr 2fr 1fr 1fr;
  gap: 8px;
}
.product-hor__tab-pack * {
  font-size: 13px;
}

.chevron-next {
  position: absolute;
  top: -1.5rem;
  right: 0;
  background-color: transparent;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: end;
  padding: 8px;
  cursor: pointer;
}
.chevron-next__ {
  color: #0F4880;
}
.chevron-next:hover * {
  font-weight: bold;
  transform: scale(1.05);
}

.tab-active {
  z-index: 3;
  background-color: #fff;
}

.tab-show {
  display: flex;
}

.item-hidden {
  display: none;
}

.item-opaque {
  transition: all 0.4s ease;
  opacity: 0;
}

.btn-hor {
  width: 100%;
  justify-content: center;
}

.btn-multicolor {
  width: 100%;
  margin: 8px auto 16px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.strong {
  font-weight: 700;
}

.color-padding {
  padding: 0;
  min-height: 66px;
  margin: 8px 0 0 0;
  gap: 8px;
}

.simple-constructor {
  top: 30%;
  left: 30%;
  padding: 16px;
  border: 1px solid #0F4880;
  border-radius: 6px;
  box-shadow: 6px 8px 18px rgba(15, 72, 128, 0.5);
  overflow: hidden;
}
.simple-constructor__items {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  overflow: auto;
}
.simple-constructor__color {
  margin-top: 24px;
  display: flex;
  gap: 8px;
  margin-right: 100px;
  max-width: 300px;
  flex-wrap: wrap;
}
.simple-constructor__color_element {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.simple-constructor__option {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.simple-constructor__option_element {
  display: flex;
  gap: 8px;
}
.simple-constructor__option_element input {
  accent-color: #0F4880;
}
.simple-constructor__square {
  height: 24px;
  width: 24px;
  border: 1px solid #0F4880;
  border-radius: 6px;
  z-index: 4;
}
.simple-constructor__footer {
  display: flex;
  justify-content: space-between;
}
.simple-constructor__alert {
  color: red;
  font-size: 16px;
  max-width: 400px;
}
.simple-constructor__final {
  display: flex;
  flex-direction: column;
  width: 300px;
}
.simple-constructor__final_row {
  margin-top: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.simple-constructor__final_row-item {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
}

.btn-block {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 16px;
  margin-top: 16px;
}

.login {
  top: 20%;
  left: 50%;
  border: 1px solid #0F4880;
  border-radius: 6px;
  box-shadow: 6px 8px 18px rgba(15, 72, 128, 0.5);
  padding: 4px;
}
.login__body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.login__title {
  padding: 10px 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #0F4880;
  border-radius: 6px;
  border-color: transparent;
  background-color: rgba(0, 158, 163, 0.8);
}
.login__content {
  padding: 0 8px;
}
.login__label {
  margin-top: 8px;
}
.login__input {
  border: 1px solid #0F4880;
  border-radius: 6px;
  padding: 10px;
  min-width: 320px;
}
.login__btn-block {
  display: flex;
  margin-top: 16px;
  margin-bottom: 8px;
  gap: 12px;
}
.login__btn {
  width: 100%;
  justify-content: center;
  padding: 10px;
}
.login__btn_forget {
  margin-top: 18px;
  background-color: rgba(74, 74, 74, 0.3);
}
.login__btn_forget:hover {
  background-color: #fff;
}
.login__inputs {
  display: flex;
  flex-direction: column;
}
.login__text {
  margin-top: 16px;
  width: 100%;
  text-align: center;
}
.login .alert {
  color: red;
  margin-top: 8px;
  text-align: center;
}

@media (max-width: 768px) {
  .login {
    top: 20%;
    left: 5%;
  }
  .login__btn-block {
    flex-direction: column;
  }
}
.detail-page {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 170px 0 2rem 0;
  background-color: #F2FFFF;
}
.detail-page__section {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.detail-page__content {
  display: grid;
  grid-template-columns: 3fr 5fr;
  gap: 2rem;
}
.detail-page__gallery {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
}
.detail-page__main-image {
  overflow: hidden;
  border: 1px solid #0F4880;
  border-radius: 6px;
  border-color: transparent;
  aspect-ratio: 1;
  width: 100%;
  max-width: 460px;
  background-color: #fff;
}
.detail-page__main-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border: 1px solid #0F4880;
  border-radius: 6px;
  border-color: transparent;
  opacity: 1;
  transition: all 0.4s ease;
}
.detail-page__color-description {
  min-height: 40px;
}
.detail-page__nav-button {
  position: absolute;
  top: 15px;
  width: 40px;
  height: 40px;
  background-color: transparent;
  color: #0F4880;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.detail-page__nav-button:hover {
  background-color: #F2FFFF;
}
.detail-page__nav-button--prev {
  left: 15px;
}
.detail-page__nav-button--next {
  right: 15px;
}
.detail-page__thumbnails {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.detail-page__thumbnail {
  position: relative;
  overflow: hidden;
  border: 1px solid #0F4880;
  border-radius: 6px;
  border-color: transparent;
  height: 100px;
  width: 100px;
  transition: all 0.2s ease;
}
.detail-page__thumbnail:hover {
  z-index: 6;
  transform: scale(3);
  border-width: 3px;
}
.detail-page__thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border: 1px solid #0F4880;
  border-radius: 6px;
}
.detail-page__thumbnail:hover img {
  border-color: rgba(15, 72, 128, 0.1);
}
.detail-page__info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.detail-page__article {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.detail-page__description {
  line-height: 1.6;
}
.detail-page__tabs {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.detail-page__tab article {
  line-height: 1.6;
}
.detail-page__print-data, .detail-page__pack-data {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #0F4880;
}
@media (max-width: 768px) {
  .detail-page__content {
    grid-template-columns: 1fr;
  }
  .detail-page__print-data, .detail-page__pack-data {
    grid-template-columns: repeat(2, 1fr);
  }
}
.detail-page__related {
  margin-top: 2rem;
  width: 100%;
}
.detail-page__related_list {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  width: 100%;
}
.detail-page__related_item {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid #0F4880;
  border-radius: 6px;
  border-color: transparent;
  text-decoration: none;
  transition: transform 0.3s ease;
  background-color: #fff;
  box-shadow: 0 4px 20px rgba(15, 72, 128, 0.1);
}
.detail-page__related_item:hover {
  transform: scale(1.05);
}
.detail-page__related_item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
}
.detail-page__related_info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: center;
}

.tooltip-prev {
  top: -12px;
  left: 16px;
  border-color: transparent;
  background-color: transparent;
}

.tooltip-next {
  top: -12px;
  left: -66px;
  border-color: transparent;
  background-color: transparent;
}

.detail-show {
  display: flex;
  padding: 8px 0 16px 0;
}
.detail-show * {
  grid-template-columns: 3fr repeat(4, 1fr);
  gap: 1rem;
  font-size: 15px;
  padding: 2px 0;
}

.layout {
  width: 100%;
  border: 1px solid #0F4880;
  border-radius: 6px;
  margin-bottom: 16px;
}
.layout__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(0, 158, 163, 0.1);
}
.layout__header-left {
  font-size: 28px;
  color: #0F4880;
}
.layout__header-right {
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 6px 10px;
  margin-right: 10px;
}
.layout__header-right i {
  color: #009EA3;
}
.layout__input {
  padding: 8px 12px;
  border: 1px solid rgba(0, 158, 163, 0.2);
  border-radius: 6px;
  width: 320px;
  transition: all 0.2s ease;
}
.layout__input_menu {
  background: transparent;
  border: none;
  outline: none;
  color: #F2FFFF;
  width: 180px;
}
.layout__input_menu::placeholder {
  color: rgba(242, 255, 255, 0.7);
}
.layout__input:focus {
  outline: none;
  border-color: #009EA3;
  box-shadow: 0 0 0 3px rgba(0, 158, 163, 0.1);
}
.layout__input::placeholder {
  color: rgba(74, 74, 74, 0.5);
}

.layout-content {
  max-height: calc(100vh - 190px);
  overflow: auto;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 12px;
  background-color: #fff;
}
.layout-content__header {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}
.layout-content__title_item {
  font-weight: 500;
  color: #363636;
}
.layout-content__rows {
  margin-top: 8px;
}
.layout-content__row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
  align-items: center;
  padding: 8px 12px;
  border-radius: 6px;
  transition: all 0.2s ease;
  border-bottom: 1px solid rgba(74, 74, 74, 0.05);
}
.layout-content__row:hover {
  background-color: rgba(15, 72, 128, 0.03);
}
.layout-content__row_item {
  color: #3f3f3f;
}
.layout-content__row_file {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: #009EA3;
  padding: 4px 10px;
  border-radius: 6px;
  transition: all 0.2s ease;
  background-color: rgba(0, 158, 163, 0.05);
}
.layout-content__row_file:hover {
  background-color: rgba(0, 158, 163, 0.1);
}
.layout-content__row_file i {
  color: #009EA3;
  font-size: 16px;
}

.hr {
  background-color: rgba(74, 74, 74, 0.1);
  height: 1px;
  border: none;
  margin: 6px 0;
}

.strong {
  font-weight: 600;
  color: #0F4880;
}

@media (max-width: 768px) {
  .layout__input {
    width: 80px;
  }
  .layout__input_menu {
    width: 80px;
  }
}
.price-content {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 15px;
  margin-bottom: 20px;
}
.price-content__title {
  font-size: 20px;
  font-weight: 600;
  color: #0F4880;
  margin-bottom: 12px;
}
.price-content__row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 2fr 4fr 100px 100px;
  gap: 20px;
  align-items: center;
  padding: 6px 10px;
  border-radius: 4px;
  transition: background-color 0.2s ease;
  border-bottom: 1px solid rgba(74, 74, 74, 0.05);
}
.price-content__row:hover {
  background-color: rgba(15, 72, 128, 0.03);
}
.price-content__row:nth-child(even) {
  background-color: rgba(15, 72, 128, 0.01);
}
.price-content__rows {
  margin-top: 6px;
}
.price-content__item {
  text-align: end;
  font-weight: 500;
  color: #0F4880;
}
.price-content__section {
  margin-bottom: 20px;
}
.price-content__section-title {
  font-size: 18px;
  font-weight: 600;
  color: #0F4880;
  margin: 15px 0 8px;
}

.print-price__row {
  display: grid;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 4px;
  background-color: rgba(15, 72, 128, 0.01);
  margin-bottom: 8px;
}
.print-price__row * {
  font-size: 14px;
}
.print-price__header {
  font-weight: 600;
  color: #0F4880;
  font-size: 16px !important;
}
.print-price__value {
  text-align: end;
  font-weight: 500;
  color: #009EA3;
}

.print-volumes-1 {
  grid-template-columns: 1.5fr 1fr;
}

.print-volumes-2 {
  grid-template-columns: 1.5fr 1fr 1fr;
}

.print-volumes-3 {
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
}

.print-volumes-4 {
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
}

.print-volumes-5 {
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr 1fr;
}

.print-prices-1 {
  grid-template-columns: 2fr 1fr;
}

.print-prices-2 {
  grid-template-columns: 2fr 1fr 1fr;
}

.print-prices-3 {
  grid-template-columns: 2fr 1fr 1fr 1fr;
}

.print-prices-4 {
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
}

.print-prices-5 {
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr;
}

.layout-content__title_item {
  font-weight: 600;
  color: #3f3f3f;
}

.layout-content__row_item {
  color: #3f3f3f;
}

.hr {
  background-color: rgba(74, 74, 74, 0.1);
  height: 1px;
  border: none;
  margin: 6px 0;
}

.strong {
  font-weight: 600;
  color: #0F4880;
}

.price-badge {
  left: -3rem;
  top: 0.25rem;
  width: fit-content;
}

.cart-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-page {
  display: flex;
  gap: 1.5rem;
}
.cart-page__items {
  flex: 1;
  max-width: 70%;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.cart-page__recently-viewed {
  margin-top: 2rem;
  width: 100%;
}
.cart-page__recently-viewed h3 {
  font-weight: 600;
  color: #0F4880;
  margin-bottom: 1rem;
}

.cart-item {
  width: 100%;
  border: 1px solid #0F4880;
  border-radius: 6px;
}
.cart-item__image {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  border-radius: 6px;
  overflow: hidden;
}
.cart-item__image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  width: auto;
  height: auto;
}
.cart-item__info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.cart-item__name {
  font-size: 1rem;
  font-weight: 600;
  color: #0F4880;
  margin: 0;
}
.cart-item__article {
  font-size: 0.8rem;
  color: #0F4880;
  margin: 0;
}
.cart-item__description {
  font-size: 0.75rem;
  color: #0F4880;
  margin: 0;
}
.cart-item__price, .cart-item__total {
  text-align: center;
  font-weight: 600;
  font-size: 0.95rem;
  color: #0F4880;
}
.cart-item__quantity {
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-item__quantity-input {
  width: 80px;
  height: 30px;
  text-align: center;
  border: 1px solid #0F4880;
  border-radius: 0;
  margin: 0 0.25rem;
  font-size: 0.9rem;
}
.cart-item__quantity-input::-webkit-inner-spin-button, .cart-item__quantity-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.cart-item__quantity-btn {
  width: 30px;
  height: 30px;
  border: 1px solid #0F4880;
  background-color: #F2FFFF;
  color: #0F4880;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
}
.cart-item__quantity-btn.cart-item__quantity-decrease {
  border-radius: 6px 0 0 6px;
}
.cart-item__quantity-btn.cart-item__quantity-increase {
  border-radius: 0 6px 6px 0;
}
.cart-item__actions {
  text-align: center;
}
.cart-item__remove {
  background: none;
  border: none;
  color: #0F4880;
  font-size: 1rem;
  cursor: pointer;
}
.cart-item__branding {
  grid-column: 1/-1;
  grid-row: 2;
  border-top: 1px dashed #0F4880;
  padding-top: 0.75rem;
  margin-top: 0.5rem;
}
.cart-item__final-total {
  grid-column: 1/-1;
  grid-row: 3;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  font-weight: 600;
  font-size: 1rem;
  color: #0F4880;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid #0F4880;
}
.cart-item__final-total span:last-child {
  margin-left: 0.5rem;
}
.cart-item__final-total span.text-like {
  font-size: 0.85rem;
}
@media (max-width: 992px) {
  .cart-item {
    grid-template-columns: 70px 1fr 70px;
    grid-template-rows: auto auto auto auto auto;
    gap: 0.75rem;
  }
  .cart-item__image {
    grid-row: 1/3;
    width: 60px;
    height: 60px;
  }
  .cart-item__info {
    grid-column: 2/4;
    grid-row: 1;
  }
  .cart-item__quantity {
    grid-column: 2;
    grid-row: 2;
    justify-content: flex-start;
  }
  .cart-item__price {
    grid-column: 3;
    grid-row: 2;
    text-align: right;
  }
  .cart-item__total {
    grid-column: 2;
    grid-row: 3;
    text-align: left;
  }
  .cart-item__actions {
    grid-column: 3;
    grid-row: 3;
    text-align: right;
  }
  .cart-item__branding {
    grid-row: 4;
  }
  .cart-item__final-total {
    grid-row: 5;
  }
}
@media (max-width: 576px) {
  .cart-item {
    grid-template-columns: 50px 1fr;
    grid-template-rows: auto auto auto auto auto auto;
  }
  .cart-item__image {
    grid-row: 1/3;
    width: 50px;
    height: 50px;
  }
  .cart-item__info {
    grid-column: 2;
    grid-row: 1;
  }
  .cart-item__quantity {
    grid-column: 2;
    grid-row: 2;
  }
  .cart-item__price, .cart-item__total {
    grid-column: 1/3;
    grid-row: 3;
    text-align: left;
    display: flex;
    justify-content: space-between;
  }
  .cart-item__actions {
    grid-column: 1/3;
    grid-row: 4;
    text-align: right;
  }
  .cart-item__branding {
    grid-row: 5;
  }
  .cart-item__final-total {
    grid-row: 6;
    font-size: 0.9rem;
  }
}

.branding-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}
.branding-header h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #0F4880;
  margin: 0;
}
.branding-header .branding-add-btn {
  background-color: transparent;
  border: 1px solid #0F4880;
  color: #0F4880;
  font-size: 0.8rem;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}
.branding-header .branding-add-btn:hover {
  background-color: #F2FFFF;
}
.branding-header .branding-add-btn.disabled, .branding-header .branding-add-btn[disabled], .branding-header .branding-add-btn.branding-add-btn__disabled {
  opacity: 0.7;
  cursor: not-allowed;
  pointer-events: none;
  background-color: #f5f5f5;
  color: #888;
  border-color: #ccc;
  font-size: 0.7rem;
  white-space: normal;
  text-align: center;
  max-width: 220px;
  line-height: 1.2;
}

.branding-items {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.branding-item__row {
  display: flex;
  align-items: center;
  padding: 0.25rem;
  gap: 0.5rem;
}
@media (max-width: 992px) {
  .branding-item__row {
    padding: 0.5rem 0.75rem;
  }
}

.branding-field {
  height: 28px;
  display: flex;
  align-items: center;
}
.branding-field select, .branding-field input[type=number] {
  height: 100%;
  border: 1px solid #0F4880;
  border-radius: 4px;
  padding: 0 0.25rem;
  font-size: 0.85rem;
  color: #0F4880;
  background-color: #fff;
}
.branding-field-type {
  min-width: 150px;
}
.branding-field-type select {
  width: 100%;
}
.branding-field-location {
  min-width: 120px;
}
.branding-field-location select {
  width: 100%;
}
.branding-field-colors {
  min-width: 100px;
}
.branding-field-colors select {
  width: 100%;
}
.branding-field-price {
  display: flex;
  align-items: center;
}
.branding-field-price input {
  width: 70px;
  text-align: right;
  font-size: 0.85rem;
}
.branding-field-price span {
  margin-left: 0.25rem;
  font-size: 0.85rem;
  color: #0F4880;
}
.branding-field-total {
  font-weight: 600;
  font-size: 0.85rem;
  color: #0F4880;
  text-align: right;
}
.branding-field-total span.text-like {
  font-size: 0.85rem;
}
.branding-field-actions {
  display: flex;
  justify-content: center;
}
.branding-field-actions button {
  background: none;
  border: none;
  color: #0F4880;
  font-size: 0.85rem;
  cursor: pointer;
}
.branding-field-actions button:hover {
  color: #ff0000;
}
.branding-field.branding-checkbox input[type=checkbox] {
  margin-right: 0.5rem;
}
.branding-field.branding-checkbox label {
  cursor: pointer;
  font-size: 0.85rem;
  color: #0F4880;
}
@media (max-width: 768px) {
  .branding-field-type, .branding-field-location, .branding-field-colors {
    flex: 1 1 auto;
  }
}
@media (max-width: 576px) {
  .branding-field-type, .branding-field-location, .branding-field-colors {
    width: 100%;
    margin-bottom: 0.5rem;
  }
  .branding-field-price, .branding-field-total, .branding-field.branding-checkbox {
    margin-bottom: 0.5rem;
  }
}

.branding-subtotal {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: 0.75rem;
  padding-top: 0.5rem;
  border-top: 1px dashed #0F4880;
  font-weight: 600;
  font-size: 0.9rem;
  color: #0F4880;
}
.branding-subtotal span:last-child {
  margin-left: 0.5rem;
}
.branding-subtotal span.text-like {
  font-size: 0.85rem;
}

.cart-summary {
  width: 30%;
  min-width: 300px;
  align-self: flex-start;
  position: sticky;
  top: 80px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background-color: #fff;
  padding: 1.25rem;
  border-radius: 8px;
  border: 1px solid #0F4880;
}
.cart-summary__info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.cart-summary__info div {
  margin: 0;
  font-size: 0.95rem;
  display: flex;
  justify-content: space-between;
}
.cart-summary__info div * {
  font-weight: 600;
}
.cart-summary__info div span {
  font-weight: 400;
}
.cart-summary__info .cart-summary__total {
  font-size: 1.2rem;
  color: #0F4880;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid #0F4880;
  display: flex;
  justify-content: space-between;
}
.cart-summary__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}
.cart-summary__actions button {
  width: 100%;
  font-size: 0.9rem;
  padding: 0.75rem 1rem;
  text-align: center;
}
.cart-summary__actions .btn__secondary {
  background-color: #fff;
  border: 1px solid #0F4880;
  color: #0F4880;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.1s ease;
}
.cart-summary__actions .btn__secondary:hover {
  background-color: #F2FFFF;
  transform: translateY(-2px);
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
}
.cart-summary__actions .btn__secondary:active {
  transform: translateY(0);
  box-shadow: none;
}

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background-color: #fff;
  border-radius: 8px;
  border: 1px solid #0F4880;
  text-align: center;
  margin-top: 2rem;
}
.cart-empty__icon {
  font-size: 3rem;
  color: #0F4880;
  margin-bottom: 1rem;
  opacity: 0.6;
}
.cart-empty__title {
  font-size: 1.3rem;
  color: #0F4880;
  margin-bottom: 0.5rem;
}
.cart-empty__text {
  color: #0F4880;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}
.cart-empty__button {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

@media (max-width: 992px) {
  .cart-page {
    flex-direction: column;
  }
  .cart-page__items {
    max-width: 100%;
  }
  .cart-summary {
    width: 100%;
    position: static;
  }
}
/* Блок "Вы смотрели" */
.recently-viewed {
  margin-top: 1.5rem;
  border-radius: 8px;
}
.recently-viewed__title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #0F4880;
  margin-bottom: 1.5rem;
}
.recently-viewed__container {
  position: relative;
}
.recently-viewed__items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
@media (max-width: 992px) {
  .recently-viewed__items {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  .recently-viewed__items {
    grid-template-columns: 1fr;
  }
}
.recently-viewed__item {
  min-width: 0;
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  padding: 1.25rem;
  border: 1px solid #0F4880;
  border-radius: 6px;
  border-color: transparent;
  background-color: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  height: 100%;
}
.recently-viewed__img {
  width: 100%;
  height: 180px;
  background-color: #fff;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.recently-viewed__img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.recently-viewed__nav-button {
  position: absolute;
  top: 5px;
  width: 26px;
  height: 26px;
  background-color: rgba(255, 255, 255, 0.7);
  color: #0F4880;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: background-color 0.2s ease, color 0.2s ease;
  font-size: 12px;
}
.recently-viewed__nav-button:hover {
  background-color: #F2FFFF;
  color: #0F4880;
}
.recently-viewed__nav-button--prev {
  left: 5px;
}
.recently-viewed__nav-button--next {
  right: 5px;
}
.recently-viewed__info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 0.75rem;
  flex-grow: 1;
}
.recently-viewed__name {
  font-size: 1rem;
  font-weight: 600;
  color: #0F4880;
  margin: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  min-height: 1rem;
}
.recently-viewed__article {
  font-size: 0.8rem;
  color: #0F4880;
  margin: 0;
}
.recently-viewed__description {
  font-size: 0.75rem;
  color: #0F4880;
  margin: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  min-height: 3.3rem;
  line-height: 1.4;
}
.recently-viewed__price {
  position: relative;
  font-size: 0.9rem;
  color: #0F4880;
  margin: 0.25rem 0 0 0;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
}
.recently-viewed__price span {
  font-weight: normal;
}
.recently-viewed__price.strong {
  font-weight: 600;
}
.recently-viewed__colors {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  padding-top: 0.25rem;
  border-top: 1px solid #F2FFFF;
  flex-wrap: wrap;
}
.recently-viewed__colors .square-small {
  width: 18px;
  height: 18px;
  min-width: 18px;
  border-radius: 4px;
  z-index: 9;
}
.recently-viewed__cart-btn {
  width: 100%;
  margin-top: auto;
  margin-bottom: 0.25rem;
}
@media (max-width: 768px) {
  .recently-viewed__img {
    height: 160px;
  }
  .recently-viewed__description {
    min-height: auto;
    -webkit-line-clamp: 4;
  }
}
@media (max-width: 576px) {
  .recently-viewed__article, .recently-viewed__description {
    font-size: 0.7rem;
  }
  .recently-viewed__name {
    min-height: auto;
  }
}

/* Styles to make readonly inputs look like text */
input[readonly].text-like {
  border: none;
  background: transparent;
  font-size: 0.85rem;
  font-weight: inherit;
  color: inherit;
  padding: 0;
  text-align: right;
  width: 80px;
  -moz-appearance: textfield; /* Firefox */
}

input[readonly].text-like::-webkit-outer-spin-button,
input[readonly].text-like::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Style for span elements with text-like class */
span.text-like {
  display: inline-block;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  padding: 0;
  text-align: right;
  min-width: 80px;
  margin-left: 6px;
}

.price-container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.currency {
  margin-left: 5px;
}

.cart-quantity-input {
  position: absolute;
  border-radius: 4px;
  background: #ffffff;
  color: #0F4880;
  font-size: 14px;
  padding: 0 4px;
  margin: 0;
  text-align: center;
  box-sizing: border-box;
  z-index: 1000;
  outline: none;
}

/* Стили для кнопки очистки корзины */
.cart-clear-container {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1.5rem;
}
.cart-clear-container .cart-clear-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}
.cart-clear-container .cart-clear-btn i {
  font-size: 1rem;
}

/* Стили для диалога подтверждения */
.confirm-dialog {
  padding: 0;
  border: 1px solid #0F4880;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  background-color: #fff;
  width: 450px;
  max-width: 95vw;
}
.confirm-dialog::backdrop {
  background-color: rgba(0, 0, 0, 0.4);
}
.confirm-dialog__body {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.confirm-dialog__title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid #F2FFFF;
  font-weight: 600;
  font-size: 1.2rem;
  color: #0F4880;
}
.confirm-dialog__title div:last-child {
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 0.8;
}
.confirm-dialog__title div:last-child:hover {
  color: #009EA3;
}
.confirm-dialog__content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.confirm-dialog__icon {
  display: flex;
  justify-content: center;
  font-size: 2.5rem;
  color: #ffcc00;
}
.confirm-dialog__text {
  text-align: center;
  font-size: 1rem;
  line-height: 1.5;
  color: #0F4880;
}
.confirm-dialog__btn-block {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.5rem;
}
.confirm-dialog__btn-block button {
  padding: 0.6rem 1.5rem;
  font-size: 0.95rem;
}

/* Модальное окно для добавления в корзину */
.add-to-cart-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}
.add-to-cart-modal.active {
  opacity: 1;
  visibility: visible;
}
.add-to-cart-modal__content {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 480px;
  padding: 24px;
}
.add-to-cart-modal__header {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}
.add-to-cart-modal__header i {
  color: #0F4880;
  font-size: 24px;
  margin-right: 12px;
}
.add-to-cart-modal__header h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 0;
}
.add-to-cart-modal__message {
  margin-bottom: 24px;
  color: #0F4880;
  font-size: 16px;
  line-height: 1.5;
}
.add-to-cart-modal__message strong {
  font-weight: 600;
}
.add-to-cart-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}
.add-to-cart-modal__actions button {
  min-width: 120px;
}

/* Уведомление об успешном действии */
.success-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  border-left: 4px solid #0F4880;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 360px;
  padding: 16px;
  z-index: 1000;
  opacity: 0;
  transform: translateX(30px);
  visibility: hidden;
  transition: all 0.3s ease;
}
.success-notification.active {
  opacity: 1;
  transform: translateX(0);
  visibility: visible;
}
.success-notification__icon {
  font-size: 24px;
  color: #0F4880;
  margin-right: 16px;
}
.success-notification__content {
  flex: 1;
}
.success-notification__title {
  font-size: 16px;
  font-weight: 600;
  color: #0F4880;
  margin: 0 0 4px;
}
.success-notification__message {
  font-size: 14px;
  color: #0F4880;
  margin: 0;
}
.success-notification__close {
  background: none;
  border: none;
  cursor: pointer;
  color: #4A4A4A;
  font-size: 16px;
  padding: 0;
  margin-left: 8px;
  transition: color 0.2s ease;
}
.success-notification__close:hover {
  color: #0F4880;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 576px) {
  .add-to-cart-modal__content {
    max-width: 320px;
    padding: 20px;
  }
  .add-to-cart-modal__header h3 {
    font-size: 18px;
  }
  .add-to-cart-modal__message {
    font-size: 14px;
  }
  .add-to-cart-modal__actions button {
    min-width: 100px;
  }
  .success-notification {
    width: calc(100% - 40px);
    max-width: 320px;
    padding: 12px;
  }
  .success-notification__icon {
    font-size: 20px;
  }
  .success-notification__title {
    font-size: 15px;
  }
  .success-notification__message {
    font-size: 13px;
  }
}
.about-menu__dropdown {
  width: 260px !important;
}
.about-menu__dropdown li {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #4A4A4A;
  transition: background-color 0.2s ease;
}
.about-menu__dropdown li a {
  display: block;
  text-decoration: none;
  color: #0F4880;
  width: 100%;
  height: 100%;
}
.about-menu__dropdown.force-display {
  display: block !important;
}

@media (max-width: 768px) {
  .about-menu {
    position: relative;
  }
  .about-menu__dropdown {
    top: 36px;
    width: 200px !important;
  }
}
.about-page__title {
  font-family: "Montserrat", sans-serif;
  font-size: 28px;
  font-weight: 600;
  color: #0F4880;
  color: #0F4880;
  margin-bottom: 32px;
  text-align: center;
}
.about-page__content {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #4A4A4A;
  margin: 0 auto;
  line-height: 1.6;
}
.about-page__content p {
  margin-bottom: 16px;
}
.about-page__content h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: #0F4880;
  color: #0F4880;
  margin: 32px 0 16px;
}
.about-page__content ul {
  margin-bottom: 16px;
  padding-left: 24px;
}
.about-page__content ul li {
  margin-bottom: 12px;
}
.about-page__image {
  width: 100%;
  max-width: 600px;
  margin: 32px auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.about-page__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin: 40px 0;
}
.about-page__product {
  border: 1px solid rgba(0, 158, 163, 0.25);
  border-radius: 8px;
  padding: 20px;
  text-align: center;
}
.about-page__product img {
  max-width: 100%;
  height: auto;
  margin-bottom: 15px;
  border-radius: 4px;
}
.about-page__product h4 {
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #0F4880;
  margin-bottom: 10px;
}
.about-page__product p {
  margin: 0;
}

.news-page__title {
  font-family: "Montserrat", sans-serif;
  font-size: 28px;
  font-weight: 600;
  color: #0F4880;
  color: #0F4880;
  margin-bottom: 32px;
  text-align: center;
}
.news-page__list {
  margin: 0 auto;
}
.news-page__item {
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(0, 158, 163, 0.25);
}
.news-page__item:last-child {
  border-bottom: none;
}
.news-page__image {
  width: 100%;
  max-width: 640px;
  max-height: 640px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  object-fit: contain;
}
.news-page__item-title {
  font-family: "Montserrat", sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: #0F4880;
  color: #0F4880;
  margin-bottom: 8px;
}
.news-page__date {
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #555;
  color: rgba(0, 158, 163, 0.75);
  margin-bottom: 16px;
  display: block;
}
.news-page__content {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #4A4A4A;
  line-height: 1.6;
}
.news-page__content p {
  margin-bottom: 16px;
}
.news-page__empty {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #4A4A4A;
  text-align: center;
  color: rgba(0, 158, 163, 0.75);
  padding: 40px 0;
}

.privacy-page__title {
  font-family: "Montserrat", sans-serif;
  font-size: 28px;
  font-weight: 600;
  color: #0F4880;
  color: #0F4880;
  margin-bottom: 32px;
  text-align: center;
}
.privacy-page__content {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #4A4A4A;
  margin: 0 auto;
  line-height: 1.6;
}
.privacy-page__content p {
  margin-bottom: 16px;
}
.privacy-page__content h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: #0F4880;
  color: #0F4880;
  margin: 32px 0 16px;
}
.privacy-page__content ol, .privacy-page__content ul {
  margin-bottom: 16px;
  padding-left: 24px;
}
.privacy-page__content ol li, .privacy-page__content ul li {
  margin-bottom: 8px;
}

.contacts-page__content {
  margin: 0 auto;
}
.contacts-page__info {
  margin-bottom: 40px;
}
.contacts-page__info h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: #0F4880;
  color: #0F4880;
  margin-bottom: 20px;
}
.contacts-page__details {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.contacts-page__detail {
  display: flex;
  align-items: flex-start;
  padding: 15px;
  border: 1px solid rgba(0, 158, 163, 0.25);
  border-radius: 8px;
}
.contacts-page__detail i {
  font-size: 24px;
  margin-right: 15px;
  color: #0F4880;
}
.contacts-page__detail h4 {
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #0F4880;
  margin: 0 0 10px 0;
}
.contacts-page__detail p {
  margin: 5px 0;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #4A4A4A;
}
.contacts-page__map {
  margin-bottom: 40px;
}
.contacts-page__map h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: #0F4880;
  color: #0F4880;
  margin-bottom: 20px;
}
.contacts-page__map-container {
  width: 100%;
  height: 400px;
  margin: 20px 0;
  border-radius: 8px;
  overflow: hidden;
}
.contacts-page__directions {
  padding: 15px;
  background-color: #f8f8f8;
  border-radius: 8px;
}
.contacts-page__directions h4 {
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #0F4880;
  margin-top: 0;
}
.contacts-page__directions ul {
  padding-left: 20px;
}
.contacts-page__directions ul li {
  margin-bottom: 8px;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #4A4A4A;
}
.contacts-page__directions p {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #4A4A4A;
  margin-bottom: 10px;
}
.contacts-page__form {
  margin-bottom: 40px;
}
.contacts-page__form h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: #0F4880;
  color: #0F4880;
  margin-bottom: 20px;
}

.contact-form {
  max-width: 600px;
  margin: 20px auto;
}
.contact-form .form-group {
  margin-bottom: 20px;
}
.contact-form .form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #4A4A4A;
}
.contact-form .form-group input,
.contact-form .form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: "Montserrat", sans-serif;
}
.contact-form .form-group textarea {
  resize: vertical;
}

@media (max-width: 768px) {
  .contacts-page__details {
    grid-template-columns: 1fr;
  }
}
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 95vw;
  background-color: rgba(0, 158, 163, 0.97);
  color: #F2FFFF;
  z-index: 1000;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.15);
  transform: translateY(100%);
}
.cookie-banner--visible {
  transform: translateY(0);
}
.cookie-banner__content {
  padding: 20px;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cookie-banner__title {
  font-size: 20px;
  margin: 0;
}
.cookie-banner__text {
  margin: 0;
  line-height: 1.4;
}
.cookie-banner__buttons {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}
@media (max-width: 768px) {
  .cookie-banner__buttons {
    flex-direction: column;
  }
}
.cookie-banner__button {
  min-width: 120px;
}
@media (max-width: 768px) {
  .cookie-banner__button {
    width: 100%;
  }
}

.cookie-policy-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 95vw;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
}
.cookie-policy-modal--visible {
  opacity: 1;
  visibility: visible;
}
.cookie-policy-modal__content {
  background: #F2FFFF;
  color: #009EA3;
  max-width: 800px;
  max-height: 80vh;
  width: 90%;
  border: 1px solid #0F4880;
  border-radius: 6px;
  padding: 24px;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
.cookie-policy-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
  color: #009EA3;
  opacity: 0.7;
}
.cookie-policy-modal__title {
  font-family: "Montserrat", sans-serif;
  font-size: 28px;
  font-weight: 600;
  color: #0F4880;
  margin-top: 0;
  color: #009EA3;
}
.cookie-policy-modal__text {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #4A4A4A;
  line-height: 1.6;
  color: #009EA3;
}
.cookie-policy-modal__text-heading {
  font-family: "Montserrat", sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: #0F4880;
  margin-top: 1.5em;
  margin-bottom: 0.75em;
  color: #009EA3;
}
.cookie-policy-modal__text-subheading {
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #0F4880;
  margin-top: 1.5em;
  margin-bottom: 0.75em;
  color: #009EA3;
}
.cookie-policy-modal__text-paragraph {
  margin-bottom: 1em;
}
.cookie-policy-modal__text-link {
  color: #0F4880;
  text-decoration: none;
}
.cookie-policy-modal__text-strong {
  font-weight: 600;
}
.cookie-policy-modal__text-list {
  margin-bottom: 1em;
  padding-left: 1.5em;
}
.cookie-policy-modal__text-list-item {
  margin-bottom: 0.5em;
}
.cookie-policy-modal__buttons {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
}
@media (max-width: 768px) {
  .cookie-policy-modal__buttons {
    flex-direction: column;
  }
}

.legal__title {
  font-family: "Montserrat", sans-serif;
  font-size: 28px;
  font-weight: 600;
  color: #0F4880;
  margin-bottom: 30px;
  text-align: center;
}
.legal__content {
  margin: 0 auto;
  background-color: #F2FFFF;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.legal__item {
  display: flex;
  margin-bottom: 15px;
  border-bottom: 1px solid #0F4880;
  padding-bottom: 15px;
}
.legal__item:last-child {
  margin-bottom: 0;
  border-bottom: none;
  padding-bottom: 0;
}
.legal__label {
  font-weight: 600;
  width: 250px;
  flex-shrink: 0;
  color: #0F4880;
}
.legal__value {
  flex-grow: 1;
  color: #4A4A4A;
}

@media (max-width: 768px) {
  .legal__item {
    flex-direction: column;
  }
  .legal__label {
    width: 100%;
    margin-bottom: 5px;
  }
}
.footer {
  background-color: #4A4A4A;
  padding: 40px 0 20px;
  margin-top: 40px;
}
.footer__container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
@media (max-width: 992px) {
  .footer__container {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  .footer__container {
    grid-template-columns: 1fr;
  }
}
.footer__column {
  display: flex;
  flex-direction: column;
}
.footer__title {
  font-size: 18px;
  font-weight: 600;
  color: #F2FFFF;
  margin-bottom: 15px;
}
.footer__title_small {
  font-size: 16px;
  margin-top: 15px;
  margin-bottom: 10px;
}
.footer__text {
  font-size: 14px;
  color: #F2FFFF;
  margin-bottom: 8px;
}
.footer__link {
  font-size: 14px;
  color: #F2FFFF;
  margin-bottom: 8px;
  transition: opacity 0.2s;
}
.footer__link:hover {
  opacity: 0.8;
}
.footer__social {
  display: flex;
  gap: 20px;
  margin-top: 10px;
}
.footer__social-link {
  color: #F2FFFF;
  transition: opacity 0.2s;
}
.footer__social-link i {
  color: #F2FFFF;
  font-size: 24px;
}
.footer__social-link:hover {
  opacity: 0.8;
}
.footer__copyright {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(242, 255, 255, 0.2);
  text-align: center;
  font-size: 12px;
  color: #F2FFFF;
}

.sitemap {
  padding: 40px 0;
}
.sitemap__title {
  font-family: "Montserrat", sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #0F4880;
  margin-bottom: 30px;
  text-align: center;
}
.sitemap__section {
  margin-bottom: 40px;
}
.sitemap__subtitle {
  font-family: "Montserrat", sans-serif;
  font-size: 28px;
  font-weight: 600;
  color: #0F4880;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #0F4880;
}
.sitemap__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}
@media (max-width: 992px) {
  .sitemap__list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  .sitemap__list {
    grid-template-columns: 1fr;
  }
}
.sitemap__item {
  padding: 5px 0;
}
.sitemap__link {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #4A4A4A;
  color: #0F4880;
  transition: opacity 0.2s;
}
.sitemap__link:hover {
  opacity: 0.8;
}
.sitemap__link:before {
  content: "•";
  margin-right: 8px;
  color: #009EA3;
}

.branding-modal {
  display: block;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}
.branding-modal__content {
  background-color: #fff;
  margin: 10% auto;
  padding: 20px;
  width: 80%;
  max-width: 600px;
  border-radius: 8px;
  position: relative;
}
.branding-modal__title {
  margin: 0 0 1rem 0;
  color: #1e3a8a;
}
.branding-modal__close {
  position: absolute;
  right: 10px;
  top: 10px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #1e3a8a;
}
.branding-modal__form-group {
  margin-bottom: 15px;
}
.branding-modal__label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}
.branding-modal__trigger {
  height: 40px;
}
.branding-modal__checkbox-group {
  margin-bottom: 20px;
  display: flex;
  gap: 16px;
}
.branding-modal__buttons {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}
.branding-modal li {
  padding: 12px 8px;
}
.branding-modal .viki-dropdown__menu {
  top: 100%;
}

/* Стили для опций печати */
.quote-print-options {
  margin-bottom: 20px;
  padding: 15px;
  background-color: #f5f5f5;
  border-radius: 5px;
}

.quote-print-option {
  display: flex;
  align-items: center;
  cursor: pointer;
}
.quote-print-option input {
  margin-right: 10px;
}

.quote-container {
  padding: 2rem 0;
}
.quote-container .section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0F4880;
  margin-bottom: 1.5rem;
}

.quote-company-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
}
.quote-company-info__logo {
  max-width: 200px;
}
.quote-company-info__logo img {
  max-width: 100%;
  height: auto;
}
.quote-company-info__details {
  text-align: right;
}
.quote-company-info__details h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: #0F4880;
  margin-bottom: 0.5rem;
}
.quote-company-info__details p {
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #555;
  margin: 0.25rem 0;
}

.quote-items {
  margin-bottom: 1.25rem;
}

.quote-item {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  margin-bottom: 1rem;
  border: 1px solid #0F4880;
  border-radius: 6px;
}
.quote-item__image {
  width: 200px;
  height: 200px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  border-radius: 6px;
  overflow: hidden;
}
.quote-item__image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.quote-item__details {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.quote-item__name {
  font-size: 1.2rem;
  font-weight: 600;
  color: #0F4880;
  margin: 0 0 0.5rem 0;
}
.quote-item__article {
  font-size: 0.9rem;
  color: #0F4880;
  margin: 0;
}
.quote-item__description {
  font-size: 0.9rem;
  color: #0F4880;
  margin: 0;
  line-height: 1.4;
}
.quote-item__price-row {
  display: grid;
  grid-template-columns: 1.5fr repeat(2, 1fr);
  gap: 3rem;
  padding: 0.25rem 0;
}
.quote-item__price-row label {
  font-size: 0.9rem;
  color: #0F4880;
}
.quote-item__price-element {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.quote-item__price-input, .quote-item__branding-price-input {
  width: 120px;
  height: 24px;
  text-align: right;
  padding-right: 30px;
  border: 1px solid #0F4880;
  border-radius: 4px;
  position: relative;
}
.quote-item__price-input::after, .quote-item__branding-price-input::after {
  content: "руб.";
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.8rem;
  color: #0F4880;
}
.quote-item__price-container, .quote-item__total-container {
  display: flex;
  align-items: center;
}
.quote-item__price-container span.currency, .quote-item__total-container span.currency {
  margin-left: 5px;
}
.quote-item__branding {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px dashed #0F4880;
}
.quote-item__branding-header {
  font-size: 1rem;
  font-weight: 600;
  color: #0F4880;
}
.quote-item__branding-item {
  padding: 0.75rem;
  margin-bottom: 0.75rem;
  background-color: #F2FFFF;
  border-radius: 4px;
}
.quote-item__branding-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
}
.quote-item__branding-info span {
  color: #0F4880;
}
.quote-item__branding-total {
  margin-top: 0.25rem;
}
.quote-item__final-total {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid #0F4880;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  font-weight: 600;
  font-size: 1rem;
  color: #0F4880;
}
@media (max-width: 768px) {
  .quote-item {
    flex-direction: column;
  }
  .quote-item__image {
    width: 100%;
    height: 180px;
  }
}

.quote-summary {
  padding: 1rem;
  background-color: #fff;
  border: 1px solid #0F4880;
  border-radius: 6px;
  margin-bottom: 1rem;
}
.quote-summary__row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}
.quote-summary__row.total {
  font-size: 1rem;
  font-weight: 600;
  color: #0F4880;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid #0F4880;
}
.quote-summary__label {
  font-weight: 600;
  color: #0F4880;
}
.quote-summary__value {
  font-weight: 600;
  text-align: right;
  min-width: 120px;
}

.quote-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
}
.quote-actions button, .quote-actions a {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}

@media print {
  .quote-print-options,
  .quote-actions {
    display: none !important;
  }
  .cookie-banner,
  .cookie-policy,
  #cookie-banner,
  #cookie-policy,
  .cookie-consent,
  .cookie-notice,
  [id*=cookie],
  [class*=cookie] {
    display: none !important;
    visibility: hidden !important;
  }
  input[type=number].quote-item__price-input,
  input[type=number].quote-item__branding-price-input {
    border: none;
    background: transparent;
    -moz-appearance: textfield;
    -webkit-appearance: none;
    pointer-events: none;
  }
  input[type=number]::-webkit-outer-spin-button,
  input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
  }
  body {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
  .container {
    width: 100%;
    max-width: none;
    padding: 0;
    margin: 0;
  }
  .quote-item {
    page-break-inside: avoid;
  }
  *:focus {
    outline: none !important;
  }
  header, .header, menu, .menu {
    display: none !important;
  }
  footer, .footer {
    display: none !important;
  }
  body {
    margin: 0;
    padding: 0;
    background-color: white;
  }
  .quote-container {
    width: 100%;
    padding: 1cm;
  }
  .quote-company-info {
    margin-bottom: 1.5cm;
  }
  input {
    border: none !important;
    background: transparent !important;
  }
}
.order-page {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.order-form {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
}

.order-section-title {
  font-size: 22px;
  color: #0F4880;
  margin-bottom: 15px;
  font-weight: 600;
}

.order-customer {
  background-color: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.order-customer__info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.order-customer__user {
  display: grid;
  align-items: center;
  grid-template-columns: repeat(3, 1fr) 1.5fr;
  gap: 15px;
}
.order-customer__field {
  display: flex;
  align-items: baseline;
  min-width: 250px;
  margin-right: 20px;
}
.order-customer__label {
  font-weight: 600;
  color: #0F4880;
  margin-right: 10px;
}
.order-customer__company-selection {
  margin-top: 10px;
}
.order-customer__company-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid rgba(15, 72, 128, 0.1);
}

.order-dropdown {
  position: relative;
  width: 50%;
}
.order-dropdown__selected {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background-color: #fff;
  border: 1px solid #0F4880;
  border-radius: 6px;
  cursor: pointer;
}
.order-dropdown__selected i {
  color: #0F4880;
  font-size: 14px;
}
.order-dropdown__options {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  max-height: 0;
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 1px solid transparent;
  border-radius: 0 0 6px 6px;
  z-index: 10;
  transition: max-height 0.3s ease, border-color 0.3s ease;
}
.order-dropdown__options.active {
  max-height: 200px;
  overflow-y: auto;
}
.order-dropdown__option {
  padding: 8px 12px;
  cursor: pointer;
}
.order-dropdown__option:hover {
  background-color: rgba(0, 158, 163, 0.2);
}

.customer-dropdown, .company-dropdown {
  position: relative;
  width: 100%;
  cursor: pointer;
}
.customer-dropdown .dropdown-selected, .company-dropdown .dropdown-selected {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background-color: #fff;
  border: 1px solid #0F4880;
  border-radius: 6px;
  cursor: pointer;
}
.customer-dropdown .dropdown-selected i, .company-dropdown .dropdown-selected i {
  color: #0F4880;
  font-size: 14px;
}
.customer-dropdown .dropdown-options, .company-dropdown .dropdown-options {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  max-height: 0;
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 1px solid transparent;
  border-radius: 0 0 6px 6px;
  z-index: 10;
  transition: max-height 0.3s ease, border-color 0.3s ease;
}
.customer-dropdown .dropdown-options.active, .company-dropdown .dropdown-options.active {
  max-height: 200px;
  overflow-y: auto;
  border-color: #0F4880;
}
.customer-dropdown .dropdown-option, .company-dropdown .dropdown-option {
  padding: 8px 12px;
  cursor: pointer;
}
.customer-dropdown .dropdown-option:hover, .company-dropdown .dropdown-option:hover {
  background-color: rgba(0, 158, 163, 0.2);
}
.customer-dropdown .dropdown-option:last-child, .company-dropdown .dropdown-option:last-child {
  border-bottom: none;
}

.customer-dropdown {
  width: 100%;
}

.order-items {
  background-color: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.order-item {
  display: flex;
  padding: 15px 0;
  border-bottom: 1px solid rgba(15, 72, 128, 0.1);
}
.order-item:last-child {
  border-bottom: none;
}
.order-item__image {
  width: 120px;
  height: 120px;
  margin-right: 20px;
  flex-shrink: 0;
}
.order-item__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.order-item__details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.order-item__row {
  display: grid;
  grid-template-columns: 2fr 3fr;
  flex-wrap: wrap;
  gap: 10px;
}
.order-item__name {
  font-size: 18px;
  color: #0F4880;
  font-weight: 600;
  margin: 0;
}
.order-item__code {
  font-size: 14px;
}
.order-item__pricing {
  display: grid;
  grid-template-columns: 1fr 1fr 1.5fr;
  gap: 30px;
}
.order-item__price, .order-item__quantity, .order-item__total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.order-item__branding {
  font-size: 14px;
}
.order-item__branding-details {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
}
.order-item__branding-price {
  font-size: 14px;
}

.order-additional {
  background-color: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.order-additional__comment {
  margin-bottom: 20px;
}
.order-additional__label {
  display: block;
  font-weight: 600;
  color: #0F4880;
  margin-bottom: 10px;
}
.order-additional__textarea {
  width: 100%;
  min-height: 100px;
  padding: 10px;
  border: 1px solid #0F4880;
  border-radius: 6px;
  resize: vertical;
  font-family: inherit;
  font-size: 14px;
}
.order-additional__textarea.invalid {
  border-color: red;
  background-color: rgba(255, 0, 0, 0.05);
}
.order-additional__help-text {
  display: block;
  font-size: 12px;
  color: #666;
  margin-top: 5px;
}
.order-additional__delivery {
  margin-top: 20px;
}

.delivery-dropdown {
  position: relative;
  width: 100%;
}
.delivery-dropdown__selected {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background-color: #fff;
  border: 1px solid #0F4880;
  border-radius: 6px;
  cursor: pointer;
}
.delivery-dropdown__selected i {
  color: #0F4880;
  font-size: 14px;
}
.delivery-dropdown__options {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  max-height: 0;
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 1px solid transparent;
  border-radius: 0 0 6px 6px;
  z-index: 10;
  transition: max-height 0.3s ease, border-color 0.3s ease;
}
.delivery-dropdown__options.active {
  max-height: 200px;
  overflow-y: auto;
  border-color: #0F4880;
}
.delivery-dropdown__option {
  padding: 8px 12px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
}
.delivery-dropdown__option .option-name {
  font-weight: normal;
}
.delivery-dropdown__option .option-price {
  color: #0F4880;
}
.delivery-dropdown__option:hover {
  background-color: rgba(0, 158, 163, 0.2);
}
.delivery-dropdown__option:last-child {
  border-bottom: none;
}

.order-summary {
  background-color: #fff;
  border-radius: 8px;
  padding: this 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.order-summary__totals {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.order-summary__row {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
}
.order-summary__row:not(:last-child) {
  border-bottom: 1px solid rgba(15, 72, 128, 0.1);
}
.order-summary__grand-total {
  font-weight: 700;
  font-size: 18px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 2px solid rgba(15, 72, 128, 0.2);
}
.order-summary__label {
  color: #0F4880;
}
.order-summary__actions {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
  margin-top: 20px;
}
.order-summary__actions .btn {
  min-width: 120px;
}

.company-warning-dialog {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
.company-warning-dialog__content {
  background-color: #fff;
  border-radius: 8px;
  padding: 30px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
.company-warning-dialog__title {
  color: #0F4880;
  font-size: 20px;
  margin-top: 0;
  margin-bottom: 15px;
}
.company-warning-dialog__message {
  margin-bottom: 25px;
  line-height: 1.5;
}
.company-warning-dialog__actions {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
}
.company-warning-dialog__actions .btn {
  min-width: 120px;
}

@media (max-width: 768px) {
  .order-customer__field {
    min-width: 200px;
  }
  .order-dropdown {
    width: 100%;
  }
  .order-item {
    flex-direction: column;
  }
  .order-item__image {
    width: 100%;
    height: 200px;
    margin-right: 0;
    margin-bottom: 15px;
  }
  .order-summary__actions {
    flex-direction: column;
  }
  .order-summary__actions .btn {
    width: 100%;
  }
  .company-warning-dialog__actions {
    flex-direction: column;
  }
  .company-warning-dialog__actions .btn {
    width: 100%;
  }
  .order-additional__textarea {
    min-height: 80px;
  }
}
.order-section {
  margin-bottom: 35px;
}
.order-section__title {
  margin-bottom: 12px;
  font-size: 18px;
  color: #0F4880;
}

.order-list__dropdown {
  top: 32px;
  left: -2px;
}
.order-list__dropdown li {
  text-align: start;
}
.order-list__item[open] .order-list-summary__toggle::after {
  transform: rotate(180deg);
}
.order-list__item__cell {
  padding: 8px;
  border-bottom: 1px solid #969696;
  font-size: 14px;
}
.order-list__empty {
  padding: 8px;
  text-align: center;
  font-size: 14px;
}

.order-list-summary {
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  border-radius: 6px;
}
.order-list-summary__row {
  display: grid;
  grid-template-columns: 150px 80px 2fr 0.7fr 0.2fr 80px 0.1fr 0.8fr 0.8fr 0.6fr 0.1fr;
  align-items: center;
  gap: 16px;
  padding: 8px;
  font-size: 14px;
}
.order-list-summary__row_closed {
  display: grid;
  grid-template-columns: 150px 80px 2fr 0.7fr 0.1fr 0.5fr 80px 0.8fr 0.6fr 0.6fr 0.1fr;
  align-items: center;
  border-bottom: 1px solid #969696;
  gap: 16px;
  padding: 8px;
  font-size: 14px;
}
.order-list-summary__cell {
  padding: 8px 0;
}
.order-list-summary__toggle {
  position: relative;
}
.order-list-summary__toggle::after {
  content: "⯆";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.3s;
}

.order-details {
  grid-column: 1/-1;
  padding: 15px;
  background-color: #F2FFFF;
  border-bottom: 1px solid #969696;
}
.order-details__content {
  margin-bottom: 10px;
  font-size: 14px;
}

.order-state {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 13px;
  cursor: pointer;
}
.order-state_1 {
  background-color: rgba(0, 158, 163, 0.4);
}
.order-state_2, .order-state_3, .order-state_5 {
  background-color: rgba(255, 0, 0, 0.8);
}
.order-state_4, .order-state_6 {
  background-color: rgba(0, 158, 163, 0.6);
}
.order-state_7 {
  background-color: #009EA3;
}
.order-state_8 {
  background-color: rgba(15, 72, 128, 0.4);
}
.order-state_9 {
  background-color: rgba(15, 72, 128, 0.6);
}
.order-state_10 {
  background-color: #0F4880;
}
.order-state_11 {
  background-color: red;
}

.order-button {
  background: none;
  border: 1px solid #969696;
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 13px;
}
.order-button_approve {
  background-color: #009EA3;
  color: white;
  border-color: #009EA3;
}
.order-button_decline {
  background-color: #0F4880;
  color: white;
  border-color: #0F4880;
}

.order-list-items {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  border-radius: 6px;
}
.order-list-items__title {
  margin-bottom: 10px;
  font-size: 16px;
  color: #0F4880;
}
.order-list-items__grid {
  display: grid;
  grid-template-columns: 0.8fr 2.5fr 0.8fr 0.8fr 0.6fr 0.8fr;
  width: 100%;
  gap: 5px;
  max-height: 400px;
  overflow-y: auto;
}
.order-list-items__header {
  display: contents;
  position: sticky;
  top: 0;
  background-color: #F2FFFF;
}
.order-list-items__header * {
  font-weight: bold;
}
.order-list-items__row {
  display: contents;
}
.order-list-items__cell {
  padding: 8px;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.order-branding {
  grid-column: 1/-1;
  margin-top: -8px;
  background-color: #F2FFFF;
}
.order-branding__header {
  margin-bottom: 5px;
}
.order-branding__title {
  font-weight: bold;
  font-style: italic;
  font-size: 13px;
}
.order-branding__grid {
  display: grid;
  grid-template-columns: 0.8fr 2.5fr 0.8fr 0.8fr 0.6fr 0.8fr;
  gap: 5px;
}
.order-branding__row {
  display: contents;
}
.order-branding__row_header {
  font-weight: bold;
}
.order-branding__cell {
  padding: 2px 8px;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.order-branding__row_header .order-branding__cell {
  background-color: #F2FFFF;
}

.price-cell {
  text-align: end;
}

.order-delivery {
  margin-bottom: 20px;
}
.order-delivery__row {
  display: flex;
  padding: 8px;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}

.order-comment__title {
  margin-bottom: 10px;
  font-size: 16px;
  color: #0F4880;
}
.order-comment__text {
  padding: 10px;
  background-color: white;
  border: 1px solid #969696;
  border-radius: 4px;
}

.order-list-modal__close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s;
}
.order-list-modal__textarea {
  padding: 8px;
  margin-top: 16px;
  min-width: 440px;
  border-radius: 6px;
}
.order-list-modal__textarea:focus {
  border: 1px solid #009EA3;
}
.order-list-modal__btn-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 16px;
  margin: 12px 0;
}
.order-list-modal__btn-block * {
  width: 100%;
}

.files-list {
  margin-top: 10px;
}
.files-list li {
  margin-bottom: 10px;
}
.files-list li a {
  display: block;
  padding: 8px 0;
  background-color: #fff;
  border-radius: 4px;
}
.files-list li a:hover {
  background-color: rgba(0, 158, 163, 0.3);
}

.files-empty {
  text-align: center;
  color: #4A4A4A;
}

.oder-list-comment-form__field {
  margin-bottom: 15px;
}
.oder-list-comment-form__label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}
.oder-list-comment-form__textarea {
  width: 100%;
  padding: 8px;
  border: 1px solid #969696;
  border-radius: 4px;
}
.oder-list-comment-form__actions {
  text-align: right;
}

.order-list-cancel-modal__text {
  margin-bottom: 20px;
}
.order-list-cancel-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.pagination {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}
.pagination__link {
  display: inline-block;
  padding: 8px 12px;
  margin: 0 4px;
  border: 1px solid #969696;
  border-radius: 4px;
  text-decoration: none;
  color: #0F4880;
}
.pagination__link_current {
  background-color: #0F4880;
  color: white;
  border-color: #0F4880;
}
.pagination__link:hover:not(.pagination__link_current) {
  background-color: #F2FFFF;
}

@media (max-width: 768px) {
  .order-list {
    display: block;
  }
  .order-list__header {
    display: none;
  }
  .order-list-item {
    display: block;
    margin-bottom: 15px;
    border: 1px solid #969696;
    border-radius: 4px;
  }
  .order-list-summary {
    display: block;
  }
  .order-list-summary__row {
    display: flex;
    flex-wrap: wrap;
  }
  .order-list-summary__cell {
    width: 50%;
    position: relative;
    padding-left: 45%;
  }
  .order-list-summary__cell:before {
    content: attr(data-label);
    position: absolute;
    left: 10px;
    font-weight: bold;
  }
  .order-details {
    display: block;
  }
}

/*# sourceMappingURL=style.css.map */
