*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {

  --scroll-width: 0%;
  will-change: --scroll-width;

  --breakpoint-xs: 0;
  --breakpoint-sm: 576px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 992px;
  --breakpoint-xl: 1200px;
  --breakpoint-xxl: 1400px;

  --bs-emphasis-color: #000000;
  --bs-emphasis-color-rgb: rgb(0 0 0);

  --bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ff0000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  --bs-table-striped-bg: rgba(0, 0, 0, 0.05);
  --bs-table-accent-bg: transparent;

  --swiper-navs-bg: rgba(25, 25, 25, 0.29);
  --swiper-navs-bg-hover: rgba(25, 25, 25, 0.22);
  --swiper-navs-color: #fff;
  --swiper-navs-filter: blur(5px);

  --border--color--default: #f0f0f0;
  --border--color--dark: #1a1a1a;

  --border--width--thin: 1px;
  --border--width--medium: 2px;
  --border--width--thick: 3px;

  --h1--font-size: 1.875rem;
  --h2--font-size: 1.4rem;
  --h3--font-size: 1.2rem;
  --h4--font-size: 1rem;
  --h5--font-size: 0.875rem;
  --h6--font-size: 0.75rem;
  --heading--line-height: 1.2;
  --heading--weight: 600;

  --radius--0: 0;
  --radius--0125: 0.125rem;
  --radius--025: 0.25rem;
  --radius--0375: 0.375rem;
  --radius--05: 0.5rem;
  --radius--075: 0.75rem;
  --radius--1: 1rem;
  --radius--15: 1.5rem;
  --radius--175: 1.75rem;
  --radius--2: 2rem;
  --radius--3: 3rem;
  --radius--circle: 50%;

  --color--text--base: #000;
  --color--text--strong: #333;
  --color--text--muted: #777;
  --color--text--on-dark: #fff;

  --text--075: 0.75rem;
  --text--08125: 0.8125rem;
  --text--0875: 0.875rem;
  --text--09: 0.9rem;
  --text--10: 1rem;
  --text--1125: 1.125rem;
  --text--125: 1.25rem;
  --text--15: 1.5rem;
  --text--1875: 1.875rem;
  --text--20: 2rem;
  --text--225: 2.25rem;
  --text--30: 3rem;

  --text--075--line-height: 1.33333;
  --text--08125--line-height: 1.35;
  --text--0875--line-height: 1.42857;
  --text--09--line-height: 1.5;
  --text--10--line-height: 1.6;
  --text--1125--line-height: 1.55556;
  --text--125--line-height: 1.4;
  --text--15--line-height: 1.33333;
  --text--1875--line-height: 1.2;
  --text--20--line-height: 1.1;
  --text--225--line-height: 1.11111;
  --text--30--line-height: 1;

  --link-color: #0078b3;
  --link-hover-color: #0078b3;

  --btn-white-bg: #fff;
  --btn-white-bg-hover: #f5f5f5;
  --btn-white-color: #000;
  --btn-white-border: #ddd;

  --bg--white: #fff;
  --bg--gray-primary: #F9F9F9;
  --bg--gray-secondary: #F5F5F5;

  --bg--dark-gray-base: #F2F2F2;

  --bg--dark-gray-primary: #E9E9E9;
  --bg--dark-gray-secondary: #E1E1E1;
  --bg--black: #1a1a1a;

  --stars--color: #ffc107;

  --bg--accent-secondary-light: #E3F2FD;
  --bg--accent-secondary: #CAF1FF;

  --accent--primary: #00a0e3;
  --accent--primary-hover: #0293d3;

  --accent--secondary: #f2994a;
  --accent--secondary-hover: #e07c23;

  --transition--base: 0.15s ease-in-out;

  --icon--arrow-right: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36'%3E%3Cpath d='M23.5587,16.916 C24.1447,17.4999987 24.1467,18.446 23.5647,19.034 L16.6077,26.056 C16.3147,26.352 15.9287,26.4999987 15.5427,26.4999987 C15.1607,26.4999987 14.7787,26.355 14.4867,26.065 C13.8977,25.482 13.8947,24.533 14.4777,23.944 L20.3818,17.984 L14.4408,12.062 C13.8548,11.478 13.8528,10.5279 14.4378,9.941 C15.0218,9.354 15.9738,9.353 16.5588,9.938 L23.5588,16.916 Z'/%3E%3C/svg%3E");
  --icon--arrow-left: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36'%3E%3Cpath d='M21.559,12.062 L15.618,17.984 L21.5221,23.944 C22.105,24.533 22.1021,25.482 21.5131,26.065 C21.2211,26.355 20.8391,26.4999987 20.4571,26.4999987 C20.0711,26.4999987 19.6851,26.352 19.3921,26.056 L12.4351,19.034 C11.8531,18.446 11.8551,17.4999987 12.4411,16.916 L19.4411,9.938 C20.0261,9.353 20.9781,9.354 21.5621,9.941 C22.1471,10.528 22.1451,11.478 21.5591,12.062 Z'/%3E%3C/svg%3E");
  --icon--close: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M301.26 256L502.65 54.65c12.5-12.5 12.5-32.77 0-45.27s-32.77-12.5-45.27 0L256 210.76 54.65 9.38c-12.5-12.5-32.77-12.5-45.27 0s-12.5 32.77 0 45.27L210.76 256 9.38 457.38c-12.5 12.5-12.5 32.77 0 45.27s32.77 12.5 45.27 0L256 301.26l201.39 201.39c12.5 12.5 32.77 12.5 45.27 0 12.5-12.5 12.5-32.77 0-45.27L301.26 256z'/%3E%3C/svg%3E");
  --icon--back: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 24'%3E%3Cpath d='M28 11H5.5l7.8-7.8a1 1 0 1 0-1.4-1.4L2.8 12l9.1 9.1a1 1 0 0 0 1.4-1.4L5.5 13H28v-2z' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");

  --viber--color: #7360F2;
  --telegram--color: #27A3E2;
  --whatsapp--color: #26CC64;

  --toast-color-success: #d4edda;
  --toast-text-success:  #155724;

  --toast-color-danger:  #f8d7da;
  --toast-text-danger:   #721c24;

  --toast-color-info:    #d1ecf1;
  --toast-text-info:     #0c5460;

  --toast-color-warning: #fff3cd;
  --toast-text-warning:  #856404;



  /* Blue */
  --color-blue-light: #89d5f6;
  --color-blue: #49b7e8;

  /* Green */
  --color-green-light: #2dce49;
  --color-green: #32b04c;

  /* Orange */
  --color-orange-light: #ffb27b;
  --color-orange: #f89450;

  /* Red */
  --color-red: #ff0000;
  --color-red-dark: #be0a0a;
  --color-red-super-dark: #8d0c0c;

  /* Purple */
  --color-purple: #b500ff;
  --color-pink: #fa69e0;
  --color-cyan: #12ccd9;
  --color-yellow: #d1b00b;

}

@media (prefers-reduced-motion: reduce) {
  :root {
    --transition--base: none;
    scroll-behavior: auto;
  }
}
@media (prefers-reduced-motion: no-preference) {
  :root {
    scroll-behavior: smooth;
  }
}


@font-face {
  font-family: Montserrat;
  src: url('/resources/fonts/Montserrat/Montserrat-Regular.eot');
  src: local('Montserrat Regular'), local('Montserrat-Regular'),
  url('/resources/fonts/Montserrat/Montserrat-Regular.eot?#iefix') format('embedded-opentype'),
  url('/resources/fonts/Montserrat/Montserrat-Regular.woff2') format('woff2'),
  url('/resources/fonts/Montserrat/Montserrat-Regular.woff') format('woff'),
  url('/resources/fonts/Montserrat/Montserrat-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Montserrat;
  src: url('/resources/fonts/Montserrat/Montserrat-Medium.eot');
  src: local('Montserrat Medium'), local('Montserrat-Medium'),
  url('/resources/fonts/Montserrat/Montserrat-Medium.eot?#iefix') format('embedded-opentype'),
  url('/resources/fonts/Montserrat/Montserrat-Medium.woff2') format('woff2'),
  url('/resources/fonts/Montserrat/Montserrat-Medium.woff') format('woff'),
  url('/resources/fonts/Montserrat/Montserrat-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Montserrat;
  src: url('/resources/fonts/Montserrat/Montserrat-SemiBold.eot');
  src: local('Montserrat SemiBold'), local('Montserrat-SemiBold'),
  url('/resources/fonts/Montserrat/Montserrat-SemiBold.eot?#iefix') format('embedded-opentype'),
  url('/resources/fonts/Montserrat/Montserrat-SemiBold.woff2') format('woff2'),
  url('/resources/fonts/Montserrat/Montserrat-SemiBold.woff') format('woff'),
  url('/resources/fonts/Montserrat/Montserrat-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Montserrat;
  src: url('/resources/fonts/Montserrat/Montserrat-Bold.eot');
  src: local('Montserrat Bold'), local('Montserrat-Bold'),
  url('/resources/fonts/Montserrat/Montserrat-Bold.eot?#iefix') format('embedded-opentype'),
  url('/resources/fonts/Montserrat/Montserrat-Bold.woff2') format('woff2'),
  url('/resources/fonts/Montserrat/Montserrat-Bold.woff') format('woff'),
  url('/resources/fonts/Montserrat/Montserrat-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

::selection,
::-moz-selection {
  background: var(--bg--accent-secondary-light);
  color: var(--color--text--base);
  text-shadow: none;
}

img::selection,
img::-moz-selection {
  background: transparent;
}

img {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

hr {
  margin: 1rem 0;
  color: inherit;
  border: 0;
  border-top: var(--border--width--thin) solid;
  opacity: 0.25;
}

:where(h1, h2, h3, h4, h5, h6, p, ul, ol) {
  margin: 0;
}

h1, .h1,
h2, .h2,
h3, .h3,
h4, .h4,
h5, .h5,
h6, .h6 {
  font-weight: var(--heading--weight);
  line-height: var(--heading--line-height);
  color: var(--color--text--base);
  hyphens: auto;
}

h1, .h1 {
  font-size: clamp(var(--h1--font-size), 2vw + 1rem, 2.5rem);
}

h2, .h2 {
  font-size: clamp(var(--h2--font-size), 1.5vw + 1rem, 2rem);
}

h3, .h3 {
  font-size: clamp(var(--h3--font-size), 1vw + 1rem, 1.75rem);
}

h4, .h4 {
  font-size: clamp(var(--h4--font-size), 0.75vw + 1rem, 1.25rem);
}

h5, .h5 {
  font-size: var(--h5--font-size);
}

h6, .h6 {
  font-size: var(--h6--font-size);
}

a {
  color: var(--link-color);
  text-decoration: none;
  transition: color var(--transition--base);
}

a:hover {
  color: var(--link-color);
  text-decoration: none
}

body {
  margin: 0;
  font-size: var(--text--10);
  font-family: Montserrat, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  line-height: 1.5;
  font-weight: 400;
  color: var(--color--text--base);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

p {
  line-height: 1.6;
  margin: 0;
  padding: 0;
  hyphens: auto;
}

img,
picture,
video,
canvas {
  display: block;
  max-width: 100%;
  vertical-align: middle;
}

img,
svg {
  vertical-align: middle;
}

i,
.icon {
  vertical-align: middle;
}

b,
strong {
  font-weight: 600;
}

figure {
  margin: 0 0 1rem;
}

fieldset {
  min-width: 0;
  padding: 0;
  margin: 0;
  border: 0;
}

legend {
  display: flex;
  unicode-bidi: isolate;
  padding: 0;
}

textarea {
  resize: vertical;
}

.img-fluid {
  max-width: 100%;
  height: auto;
}

.container,
.container-fluid {
  --gutter-x: 2.5rem;
  --gutter-y: 0;
  width: 100%;
  padding-left: calc(var(--gutter-x) / 2);
  padding-right: calc(var(--gutter-x) / 2);
  margin-left: auto;
  margin-right: auto;
}

.container {
  max-width: 100%;
}

@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}
@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}
@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}


.row {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 0;
  display: flex;
  flex-wrap: wrap;
  margin-top: calc(-1 * var(--bs-gutter-y));
  margin-right: calc(-0.5 * var(--bs-gutter-x));
  margin-left: calc(-0.5 * var(--bs-gutter-x));
}
.row > * {
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  padding-right: calc(var(--bs-gutter-x) * 0.5);
  padding-left: calc(var(--bs-gutter-x) * 0.5);
  margin-top: var(--bs-gutter-y);
}

.col {
  flex: 1 0 0%;
}

.row-cols-auto > * {
  flex: 0 0 auto;
  width: auto;
}

.row-cols-1 > * {
  flex: 0 0 auto;
  width: 100%;
}

.row-cols-2 > * {
  flex: 0 0 auto;
  width: 50%;
}

.row-cols-3 > * {
  flex: 0 0 auto;
  width: 33.33333333%;
}

.row-cols-4 > * {
  flex: 0 0 auto;
  width: 25%;
}

.row-cols-5 > * {
  flex: 0 0 auto;
  width: 20%;
}

.row-cols-6 > * {
  flex: 0 0 auto;
  width: 16.66666667%;
}

.col-auto {
  flex: 0 0 auto;
  width: auto;
}

.col-1 {
  flex: 0 0 auto;
  width: 8.33333333%;
}

.col-2 {
  flex: 0 0 auto;
  width: 16.66666667%;
}

.col-3 {
  flex: 0 0 auto;
  width: 25%;
}

.col-4 {
  flex: 0 0 auto;
  width: 33.33333333%;
}

.col-5 {
  flex: 0 0 auto;
  width: 41.66666667%;
}

.col-6 {
  flex: 0 0 auto;
  width: 50%;
}

.col-7 {
  flex: 0 0 auto;
  width: 58.33333333%;
}

.col-8 {
  flex: 0 0 auto;
  width: 66.66666667%;
}

.col-9 {
  flex: 0 0 auto;
  width: 75%;
}

.col-10 {
  flex: 0 0 auto;
  width: 83.33333333%;
}

.col-11 {
  flex: 0 0 auto;
  width: 91.66666667%;
}

.col-12 {
  flex: 0 0 auto;
  width: 100%;
}

.g-0,
.gx-0 {
  --bs-gutter-x: 0;
}

.g-0,
.gy-0 {
  --bs-gutter-y: 0;
}

.g-1,
.gx-1 {
  --bs-gutter-x: 0.25rem;
}

.g-1,
.gy-1 {
  --bs-gutter-y: 0.25rem;
}

.g-2,
.gx-2 {
  --bs-gutter-x: 0.5rem;
}

.g-2,
.gy-2 {
  --bs-gutter-y: 0.5rem;
}

.g-3,
.gx-3 {
  --bs-gutter-x: 1rem;
}

.g-3,
.gy-3 {
  --bs-gutter-y: 1rem;
}

.g-4,
.gx-4 {
  --bs-gutter-x: 1.5rem;
}

.g-4,
.gy-4 {
  --bs-gutter-y: 1.5rem;
}

.g-4xl,
.gy-4zl {
  --bs-gutter-x: 1.75rem;
  --bs-gutter-y: 2.5rem;
}

.g-5,
.gx-5 {
  --bs-gutter-x: 3rem;
}

.g-5xl,
.gy-5zl {
  --bs-gutter-x: 1.75rem;
  --bs-gutter-y: 3.5rem;
}

.g-5,
.gy-5 {
  --bs-gutter-y: 3rem;
}

@media (min-width: 576px) {
  .col-sm {
    flex: 1 0 0%;
  }
  .row-cols-sm-auto > * {
    flex: 0 0 auto;
    width: auto;
  }
  .row-cols-sm-1 > * {
    flex: 0 0 auto;
    width: 100%;
  }
  .row-cols-sm-2 > * {
    flex: 0 0 auto;
    width: 50%;
  }
  .row-cols-sm-3 > * {
    flex: 0 0 auto;
    width: 33.33333333%;
  }
  .row-cols-sm-4 > * {
    flex: 0 0 auto;
    width: 25%;
  }
  .row-cols-sm-5 > * {
    flex: 0 0 auto;
    width: 20%;
  }
  .row-cols-sm-6 > * {
    flex: 0 0 auto;
    width: 16.66666667%;
  }
  .col-sm-auto {
    flex: 0 0 auto;
    width: auto;
  }
  .col-sm-1 {
    flex: 0 0 auto;
    width: 8.33333333%;
  }
  .col-sm-2 {
    flex: 0 0 auto;
    width: 16.66666667%;
  }
  .col-sm-3 {
    flex: 0 0 auto;
    width: 25%;
  }
  .col-sm-4 {
    flex: 0 0 auto;
    width: 33.33333333%;
  }
  .col-sm-5 {
    flex: 0 0 auto;
    width: 41.66666667%;
  }
  .col-sm-6 {
    flex: 0 0 auto;
    width: 50%;
  }
  .col-sm-7 {
    flex: 0 0 auto;
    width: 58.33333333%;
  }
  .col-sm-8 {
    flex: 0 0 auto;
    width: 66.66666667%;
  }
  .col-sm-9 {
    flex: 0 0 auto;
    width: 75%;
  }
  .col-sm-10 {
    flex: 0 0 auto;
    width: 83.33333333%;
  }
  .col-sm-11 {
    flex: 0 0 auto;
    width: 91.66666667%;
  }
  .col-sm-12 {
    flex: 0 0 auto;
    width: 100%;
  }
  .g-sm-0,
  .gx-sm-0 {
    --bs-gutter-x: 0;
  }
  .g-sm-0,
  .gy-sm-0 {
    --bs-gutter-y: 0;
  }
  .g-sm-1,
  .gx-sm-1 {
    --bs-gutter-x: 0.25rem;
  }
  .g-sm-1,
  .gy-sm-1 {
    --bs-gutter-y: 0.25rem;
  }
  .g-sm-2,
  .gx-sm-2 {
    --bs-gutter-x: 0.5rem;
  }
  .g-sm-2,
  .gy-sm-2 {
    --bs-gutter-y: 0.5rem;
  }
  .g-sm-3,
  .gx-sm-3 {
    --bs-gutter-x: 1rem;
  }
  .g-sm-3,
  .gy-sm-3 {
    --bs-gutter-y: 1rem;
  }
  .g-sm-4,
  .gx-sm-4 {
    --bs-gutter-x: 1.5rem;
  }
  .g-sm-4,
  .gy-sm-4 {
    --bs-gutter-y: 1.5rem;
  }
  .g-sm-5,
  .gx-sm-5 {
    --bs-gutter-x: 3rem;
  }
  .g-sm-5,
  .gy-sm-5 {
    --bs-gutter-y: 3rem;
  }
}
@media (min-width: 768px) {
  .col-md {
    flex: 1 0 0%;
  }
  .row-cols-md-auto > * {
    flex: 0 0 auto;
    width: auto;
  }
  .row-cols-md-1 > * {
    flex: 0 0 auto;
    width: 100%;
  }
  .row-cols-md-2 > * {
    flex: 0 0 auto;
    width: 50%;
  }
  .row-cols-md-3 > * {
    flex: 0 0 auto;
    width: 33.33333333%;
  }
  .row-cols-md-4 > * {
    flex: 0 0 auto;
    width: 25%;
  }
  .row-cols-md-5 > * {
    flex: 0 0 auto;
    width: 20%;
  }
  .row-cols-md-6 > * {
    flex: 0 0 auto;
    width: 16.66666667%;
  }
  .col-md-auto {
    flex: 0 0 auto;
    width: auto;
  }
  .col-md-1 {
    flex: 0 0 auto;
    width: 8.33333333%;
  }
  .col-md-2 {
    flex: 0 0 auto;
    width: 16.66666667%;
  }
  .col-md-3 {
    flex: 0 0 auto;
    width: 25%;
  }
  .col-md-4 {
    flex: 0 0 auto;
    width: 33.33333333%;
  }
  .col-md-5 {
    flex: 0 0 auto;
    width: 41.66666667%;
  }
  .col-md-6 {
    flex: 0 0 auto;
    width: 50%;
  }
  .col-md-7 {
    flex: 0 0 auto;
    width: 58.33333333%;
  }
  .col-md-8 {
    flex: 0 0 auto;
    width: 66.66666667%;
  }
  .col-md-9 {
    flex: 0 0 auto;
    width: 75%;
  }
  .col-md-10 {
    flex: 0 0 auto;
    width: 83.33333333%;
  }
  .col-md-11 {
    flex: 0 0 auto;
    width: 91.66666667%;
  }
  .col-md-12 {
    flex: 0 0 auto;
    width: 100%;
  }
  .g-md-0,
  .gx-md-0 {
    --bs-gutter-x: 0;
  }
  .g-md-0,
  .gy-md-0 {
    --bs-gutter-y: 0;
  }
  .g-md-1,
  .gx-md-1 {
    --bs-gutter-x: 0.25rem;
  }
  .g-md-1,
  .gy-md-1 {
    --bs-gutter-y: 0.25rem;
  }
  .g-md-2,
  .gx-md-2 {
    --bs-gutter-x: 0.5rem;
  }
  .g-md-2,
  .gy-md-2 {
    --bs-gutter-y: 0.5rem;
  }
  .g-md-3,
  .gx-md-3 {
    --bs-gutter-x: 1rem;
  }
  .g-md-3,
  .gy-md-3 {
    --bs-gutter-y: 1rem;
  }
  .g-md-4,
  .gx-md-4 {
    --bs-gutter-x: 1.5rem;
  }
  .g-md-4,
  .gy-md-4 {
    --bs-gutter-y: 1.5rem;
  }
  .g-md-5,
  .gx-md-5 {
    --bs-gutter-x: 3rem;
  }
  .g-md-5,
  .gy-md-5 {
    --bs-gutter-y: 3rem;
  }
}
@media (min-width: 992px) {
  .col-lg {
    flex: 1 0 0%;
  }
  .row-cols-lg-auto > * {
    flex: 0 0 auto;
    width: auto;
  }
  .row-cols-lg-1 > * {
    flex: 0 0 auto;
    width: 100%;
  }
  .row-cols-lg-2 > * {
    flex: 0 0 auto;
    width: 50%;
  }
  .row-cols-lg-3 > * {
    flex: 0 0 auto;
    width: 33.33333333%;
  }
  .row-cols-lg-4 > * {
    flex: 0 0 auto;
    width: 25%;
  }
  .row-cols-lg-5 > * {
    flex: 0 0 auto;
    width: 20%;
  }
  .row-cols-lg-6 > * {
    flex: 0 0 auto;
    width: 16.66666667%;
  }
  .col-lg-auto {
    flex: 0 0 auto;
    width: auto;
  }
  .col-lg-1 {
    flex: 0 0 auto;
    width: 8.33333333%;
  }
  .col-lg-2 {
    flex: 0 0 auto;
    width: 16.66666667%;
  }
  .col-lg-3 {
    flex: 0 0 auto;
    width: 25%;
  }
  .col-lg-4 {
    flex: 0 0 auto;
    width: 33.33333333%;
  }
  .col-lg-5 {
    flex: 0 0 auto;
    width: 41.66666667%;
  }
  .col-lg-6 {
    flex: 0 0 auto;
    width: 50%;
  }
  .col-lg-7 {
    flex: 0 0 auto;
    width: 58.33333333%;
  }
  .col-lg-8 {
    flex: 0 0 auto;
    width: 66.66666667%;
  }
  .col-lg-9 {
    flex: 0 0 auto;
    width: 75%;
  }
  .col-lg-10 {
    flex: 0 0 auto;
    width: 83.33333333%;
  }
  .col-lg-11 {
    flex: 0 0 auto;
    width: 91.66666667%;
  }
  .col-lg-12 {
    flex: 0 0 auto;
    width: 100%;
  }
  .g-lg-0,
  .gx-lg-0 {
    --bs-gutter-x: 0;
  }
  .g-lg-0,
  .gy-lg-0 {
    --bs-gutter-y: 0;
  }
  .g-lg-1,
  .gx-lg-1 {
    --bs-gutter-x: 0.25rem;
  }
  .g-lg-1,
  .gy-lg-1 {
    --bs-gutter-y: 0.25rem;
  }
  .g-lg-2,
  .gx-lg-2 {
    --bs-gutter-x: 0.5rem;
  }
  .g-lg-2,
  .gy-lg-2 {
    --bs-gutter-y: 0.5rem;
  }
  .g-lg-3,
  .gx-lg-3 {
    --bs-gutter-x: 1rem;
  }
  .g-lg-3,
  .gy-lg-3 {
    --bs-gutter-y: 1rem;
  }
  .g-lg-4,
  .gx-lg-4 {
    --bs-gutter-x: 1.5rem;
  }
  .g-lg-4,
  .gy-lg-4 {
    --bs-gutter-y: 1.5rem;
  }
  .g-lg-5,
  .gx-lg-5 {
    --bs-gutter-x: 3rem;
  }
  .g-lg-5
  .gy-lg-5 {
    --bs-gutter-y: 3rem;
  }
}
@media (min-width: 1200px) {
  .col-xl {
    flex: 1 0 0%;
  }
  .row-cols-xl-auto > * {
    flex: 0 0 auto;
    width: auto;
  }
  .row-cols-xl-1 > * {
    flex: 0 0 auto;
    width: 100%;
  }
  .row-cols-xl-2 > * {
    flex: 0 0 auto;
    width: 50%;
  }
  .row-cols-xl-3 > * {
    flex: 0 0 auto;
    width: 33.33333333%;
  }
  .row-cols-xl-4 > * {
    flex: 0 0 auto;
    width: 25%;
  }
  .row-cols-xl-5 > * {
    flex: 0 0 auto;
    width: 20%;
  }
  .row-cols-xl-6 > * {
    flex: 0 0 auto;
    width: 16.66666667%;
  }
  .col-xl-auto {
    flex: 0 0 auto;
    width: auto;
  }
  .col-xl-1 {
    flex: 0 0 auto;
    width: 8.33333333%;
  }
  .col-xl-2 {
    flex: 0 0 auto;
    width: 16.66666667%;
  }
  .col-xl-3 {
    flex: 0 0 auto;
    width: 25%;
  }
  .col-xl-4 {
    flex: 0 0 auto;
    width: 33.33333333%;
  }
  .col-xl-5 {
    flex: 0 0 auto;
    width: 41.66666667%;
  }
  .col-xl-6 {
    flex: 0 0 auto;
    width: 50%;
  }
  .col-xl-7 {
    flex: 0 0 auto;
    width: 58.33333333%;
  }
  .col-xl-8 {
    flex: 0 0 auto;
    width: 66.66666667%;
  }
  .col-xl-9 {
    flex: 0 0 auto;
    width: 75%;
  }
  .col-xl-10 {
    flex: 0 0 auto;
    width: 83.33333333%;
  }
  .col-xl-11 {
    flex: 0 0 auto;
    width: 91.66666667%;
  }
  .col-xl-12 {
    flex: 0 0 auto;
    width: 100%;
  }
  .g-xl-0,
  .gx-xl-0 {
    --bs-gutter-x: 0;
  }
  .g-xl-0,
  .gy-xl-0 {
    --bs-gutter-y: 0;
  }
  .g-xl-1,
  .gx-xl-1 {
    --bs-gutter-x: 0.25rem;
  }
  .g-xl-1,
  .gy-xl-1 {
    --bs-gutter-y: 0.25rem;
  }
  .g-xl-2,
  .gx-xl-2 {
    --bs-gutter-x: 0.5rem;
  }
  .g-xl-2,
  .gy-xl-2 {
    --bs-gutter-y: 0.5rem;
  }
  .g-xl-3,
  .gx-xl-3 {
    --bs-gutter-x: 1rem;
  }
  .g-xl-3,
  .gy-xl-3 {
    --bs-gutter-y: 1rem;
  }
  .g-xl-4,
  .gx-xl-4 {
    --bs-gutter-x: 1.5rem;
  }
  .g-xl-4,
  .gy-xl-4 {
    --bs-gutter-y: 1.5rem;
  }
  .g-xl-5,
  .gx-xl-5 {
    --bs-gutter-x: 3rem;
  }
  .g-xl-5,
  .gy-xl-5 {
    --bs-gutter-y: 3rem;
  }
}
@media (min-width: 1400px) {
  .col-xxl {
    flex: 1 0 0%;
  }
  .row-cols-xxl-auto > * {
    flex: 0 0 auto;
    width: auto;
  }
  .row-cols-xxl-1 > * {
    flex: 0 0 auto;
    width: 100%;
  }
  .row-cols-xxl-2 > * {
    flex: 0 0 auto;
    width: 50%;
  }
  .row-cols-xxl-3 > * {
    flex: 0 0 auto;
    width: 33.33333333%;
  }
  .row-cols-xxl-4 > * {
    flex: 0 0 auto;
    width: 25%;
  }
  .row-cols-xxl-5 > * {
    flex: 0 0 auto;
    width: 20%;
  }
  .row-cols-xxl-6 > * {
    flex: 0 0 auto;
    width: 16.66666667%;
  }
  .col-xxl-auto {
    flex: 0 0 auto;
    width: auto;
  }
  .col-xxl-1 {
    flex: 0 0 auto;
    width: 8.33333333%;
  }
  .col-xxl-2 {
    flex: 0 0 auto;
    width: 16.66666667%;
  }
  .col-xxl-3 {
    flex: 0 0 auto;
    width: 25%;
  }
  .col-xxl-4 {
    flex: 0 0 auto;
    width: 33.33333333%;
  }
  .col-xxl-5 {
    flex: 0 0 auto;
    width: 41.66666667%;
  }
  .col-xxl-6 {
    flex: 0 0 auto;
    width: 50%;
  }
  .col-xxl-7 {
    flex: 0 0 auto;
    width: 58.33333333%;
  }
  .col-xxl-8 {
    flex: 0 0 auto;
    width: 66.66666667%;
  }
  .col-xxl-9 {
    flex: 0 0 auto;
    width: 75%;
  }
  .col-xxl-10 {
    flex: 0 0 auto;
    width: 83.33333333%;
  }
  .col-xxl-11 {
    flex: 0 0 auto;
    width: 91.66666667%;
  }
  .col-xxl-12 {
    flex: 0 0 auto;
    width: 100%;
  }

  .g-xxl-0,
  .gx-xxl-0 {
    --bs-gutter-x: 0;
  }
  .g-xxl-0,
  .gy-xxl-0 {
    --bs-gutter-y: 0;
  }
  .g-xxl-1,
  .gx-xxl-1 {
    --bs-gutter-x: 0.25rem;
  }
  .g-xxl-1,
  .gy-xxl-1 {
    --bs-gutter-y: 0.25rem;
  }
  .g-xxl-2,
  .gx-xxl-2 {
    --bs-gutter-x: 0.5rem;
  }
  .g-xxl-2,
  .gy-xxl-2 {
    --bs-gutter-y: 0.5rem;
  }
  .g-xxl-3,
  .gx-xxl-3 {
    --bs-gutter-x: 1rem;
  }
  .g-xxl-3,
  .gy-xxl-3 {
    --bs-gutter-y: 1rem;
  }
  .g-xxl-4,
  .gx-xxl-4 {
    --bs-gutter-x: 1.5rem;
  }
  .g-xxl-4,
  .gy-xxl-4 {
    --bs-gutter-y: 1.5rem;
  }
  .g-xxl-5,
  .gx-xxl-5 {
    --bs-gutter-x: 3rem;
  }
  .g-xxl-5,
  .gy-xxl-5 {
    --bs-gutter-y: 3rem;
  }
}

.table {
  --bs-table-color-type: initial;
  --bs-table-bg-type: initial;
  --bs-table-color-state: initial;
  --bs-table-bg-state: initial;
  --bs-table-color: var(--color--text--base);
  --bs-table-bg: var(--bg--white);
  --bs-table-border-color: var(--border--color--default);
  --bs-table-accent-bg: transparent;
  --bs-table-striped-color: var(--bs-emphasis-color);
  --bs-table-striped-bg: rgba(var(--bs-emphasis-color-rgb), 0.05);
  --bs-table-active-color: var(--bs-emphasis-color);
  --bs-table-active-bg: rgba(var(--bs-emphasis-color-rgb), 0.1);
  --bs-table-hover-color: var(--bs-emphasis-color);
  --bs-table-hover-bg: rgba(var(--bs-emphasis-color-rgb), 0.075);
  width: 100%;
  margin-bottom: 1rem;
  vertical-align: top;
  border-color: var(--bs-table-border-color);
}
.table > :not(caption) > * > * {
  padding: 0.5rem 0.5rem;
  color: var(--color--text--base);
  background-color: var(--bs-table-bg);
  border-bottom-width: var(--border--width--thin);
  box-shadow: inset 0 0 0 9999px var(--bs-table-bg-state, var(--bs-table-bg-type, var(--bs-table-accent-bg)));
}
.table > tbody {
  vertical-align: inherit;
}
.table > thead {
  vertical-align: bottom;
}

.table-group-divider {
  border-top: calc(var(--border--width--thin) * 2) solid currentcolor;
}

.table-sm > :not(caption) > * > * {
  padding: 0.25rem 0.25rem;
}

.table-bordered > :not(caption) > * {
  border-width: var(--border--width--thin) 0;
}
.table-bordered > :not(caption) > * > * {
  border-width: 0 var(--border--width--thin);
}

.table-borderless > :not(caption) > * > * {
  border-bottom-width: 0;
}
.table-borderless > :not(:first-child) {
  border-top-width: 0;
}

.table-striped > tbody > tr:nth-of-type(odd) > * {
  --bs-table-color-type: var(--bs-table-striped-color);
  --bs-table-bg-type: var(--bs-table-striped-bg);
}

.table-striped-columns > :not(caption) > tr > :nth-child(even) {
  --bs-table-color-type: var(--bs-table-striped-color);
  --bs-table-bg-type: var(--bs-table-striped-bg);
}

.table-active {
  --bs-table-color-state: var(--bs-table-active-color);
  --bs-table-bg-state: var(--bs-table-active-bg);
}

.table-hover > tbody > tr:hover > * {
  --bs-table-color-state: var(--bs-table-hover-color);
  --bs-table-bg-state: var(--bs-table-hover-bg);
}

.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 575.98px) {
  .table-responsive-sm {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}
@media (max-width: 767.98px) {
  .table-responsive-md {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}
@media (max-width: 991px) {
  .table-responsive-lg {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}
@media (max-width: 1199.98px) {
  .table-responsive-xl {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}
@media (max-width: 1399.98px) {
  .table-responsive-xxl {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

.form-column {
  display: flex;
  flex-direction: column;
}

.form-label {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-weight: 600;
  font-size: var(--text--075);
  color: #111;
}

.form-label-required {
  opacity: 1;
  display: inline;
  color: var(--primary-color);
  font-size: var(--text--075);
  transition: opacity var(--transition--base);
}

.form-label-required.hidden {
  opacity: 0;
  pointer-events: none;
}

.form-control {
  display: block;
  width: 100%;
  padding: 0.6rem 1rem;
  font-size: var(--text--10);
  font-weight: 400;
  line-height: 1.5;
  color: var(--color--text--base);
  appearance: none;
  background-color: var(--bg--white);
  background-clip: padding-box;
  border: 2px solid #cbcbcb;
  border-radius: var(--radius--075);
  transition: border-color var(--transition--base), box-shadow var(--transition--base);
}

.form-control:focus,
.form-control:focus-visible {
  outline: none;
  background-color: var(--bg--gray-primary);
  border-color: var(--accent--primary);
  box-shadow: 0 0 0 0.25rem rgba(0, 160, 227, 0.25);
}

.form-control::placeholder {
  color: var(--color--text--strong);
  opacity: 1;
}

.form-control:disabled {
  background-color: var(--bg--black);
  opacity: 1;
  cursor: not-allowed;
}

.form-control[type="file"] {
  overflow: hidden;
}
.form-control[type="file"]:not(:disabled):not([readonly]) {
  cursor: pointer;
}

.form-control::file-selector-button {
  padding: 0.375rem 0.75rem;
  margin: -0.375rem -0.75rem;
  margin-inline-end: 0.75rem;
  color: var(--color--text--base);
  background-color: var(--bg--black);
  border-color: inherit;
  border-style: solid;
  border-width: 0;
  border-inline-end-width: var(--border--width--thin);
  border-radius: 0;
  transition: color var(--transition--base), background-color var(--transition--base), border-color var(--transition--base), box-shadow var(--transition--base);
}

.form-control:hover:not(:disabled):not([readonly])::file-selector-button {
  background-color: var(--bg--dark-gray-primary);
}

.form-control-city {
  display: none;
}

/* ===== Кнопки ===== */
button,
[type="button"],
[type="reset"],
[type="submit"] {
  appearance: button; /* Современный сброс, без -webkit- */
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  text-transform: none;
  cursor: pointer;
}

button:focus:not(:focus-visible) {
  outline: none; /* сброс outline только в случае focus через мышь */
}

[role="button"] {
  cursor: pointer;
}

input,
select,
textarea,
optgroup,
button {
  font: inherit;
  line-height: inherit;
  margin: 0;
  padding: 0;
  color: inherit;
  background-color: transparent;
  border: none;
  appearance: none;
}

input,
textarea,
select {
  border-radius: 0;
}

input:required,
select:required,
textarea:required {
  border: 2px solid var(--success-border, #68cb55);
  background-color: var(--bg--white);
}

input:required:invalid,
select:required:invalid,
textarea:required:invalid {
  border-color: #80d4f7;
  background-color: var(--bg--white);
}

/* Disabled элементы */
select:disabled,
input:disabled,
textarea:disabled {
  opacity: 0.6; /* или кастомная стилизация */
  cursor: not-allowed;
}

/* Убираем иконку календаря в input[list] */
[list]:not([type="date"]):not([type="datetime-local"])
:not([type="month"]):not([type="week"])
:not([type="time"])::-webkit-calendar-picker-indicator {
  display: none !important;
}



.form-select {
  --bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: 0.6rem 2.25rem 0.6rem 1rem;
  font-size: var(--text--10);
  font-weight: 400;
  line-height: 1.5;
  color: var(--color--text--base);
  background-color: var(--bg--white);
  background-image: var(--bs-form-select-bg-img);
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px 12px;
  border: var(--border--width--thin) solid #888;
  border-radius: var(--radius--075);
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
  .form-select {
    transition: none;
  }
}

.form-select-modern {
  min-width: 12rem;
  border: 1px solid var(--border--color--default);
}

.form-select-modern:hover {
  background-color: var(--bg--gray-primary);
  border-color: var(--border--color--default);
  color: var(--color--text--base);
}

.form-select::placeholder {
  color: var(--color--text--strong);
  opacity: 1;
}

.form-select.selected {
  border-color: var(--accent--primary);
}

.form-select:focus {
  border-color: var(--accent--primary);
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(0, 160, 227, 0.25);
}

.form-select[multiple],
.form-select[size]:not([size="1"]) {
  padding-right: 0.75rem;
  background-image: none;
}

.form-select:disabled {
  background-color: var(--bg--dark-gray-secondary);
  cursor: not-allowed;
}

.form-select:-moz-focusring {
  color: transparent;
  text-shadow: 0 0 0 #111;
}



.form-check {
  display: block;
  padding-left: 1.5em;
  line-height: 1;
  cursor: pointer;
}
.form-check .form-check-input {
  float: left;
  margin-left: -1.5em;
}
.form-check-input {
  flex-shrink: 0;
  width: 1em;
  height: 1em;
  margin-top: 0;
  vertical-align: top;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: var(--bg--dark-gray-primary);
  background-image: var(--base-gray-image);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  border: var(--border--width--thin) solid var(--border--color--default);
  -webkit-print-color-adjust: exact;
  color-adjust: exact;
  print-color-adjust: exact;
}
.form-check-input[type=checkbox] {
  border-radius: 0.25em;
}
.form-check-input[type=radio] {
  border-radius: var(--radius--circle);
}
.form-check-input:active {
  filter: brightness(90%);
}
.form-check-input:focus {
  border-color: var(--accent--primary);
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(0, 160, 227, 0.25); /* оттенок акцента с прозрачностью */
}
.form-check-input:checked {
  background-color: var(--accent--primary);
  border-color: var(--accent--primary);
}
.form-check-input:checked[type=checkbox] {
  --base-gray-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
}
.form-check-input:checked[type=radio] {
  --base-gray-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e");
}
.form-check-input[type=checkbox]:indeterminate {
  background-color: var(--accent--primary);
  border-color: var(--accent--primary);
  --base-gray-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/%3e%3c/svg%3e");
}
.form-check-input:disabled {
  pointer-events: none;
  filter: none;
  opacity: 0.5;
}
.form-check-input[disabled] ~ .form-check-label, .form-check-input:disabled ~ .form-check-label {
  cursor: default;
  opacity: 0.5;
}
.form-check-label {
  display: flex;
  color: var(--color--text--base);
  font-size: 0.9rem;
  cursor: pointer;
}
.form-check-input {
  --bs-form-check-bg: var(--bg--dark-gray-primary);
  flex-shrink: 0;
  width: 1em;
  height: 1em;
  vertical-align: top;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: var(--bg--dark-gray-primary);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  border: 2px solid var(--border--color--default);
  -webkit-print-color-adjust: exact;
  color-adjust: exact;
  print-color-adjust: exact;
  accent-color: var(--accent--primary);
}

input,
textarea,
select {
  font-size: calc(1rem * 0.875);
}

@media (min-width: 992px) {

  input,
  textarea,
  select {
    font-size: var(--text--10);
  }

}

.dropup,
.dropend,
.dropdown,
.dropstart,
.dropup-center,
.dropdown-center {
  position: relative;
}

.dropdown-toggle {
  white-space: nowrap;
}
.dropdown-toggle::after {
  display: inline-block;
  margin-left: 0.255em;
  vertical-align: 0.255em;
  content: "";
  border-top: 0.3em solid;
  border-right: 0.3em solid transparent;
  border-bottom: 0;
  border-left: 0.3em solid transparent;
}
.dropdown-toggle:empty::after {
  margin-left: 0;
}

.dropdown-menu {
  --bs-dropdown-zindex: 1000;
  --bs-dropdown-min-width: 10rem;
  --bs-dropdown-padding-x: 0;
  --bs-dropdown-padding-y: 0.5rem;
  --bs-dropdown-spacer: 0.125rem;
  --bs-dropdown-font-size: var(--text--10);
  --bs-dropdown-color: var(--color--text--base);
  --bs-dropdown-bg: var(--bg--white);
  --bs-dropdown-border-radius: var(--radius--05);
  --bs-dropdown-border-width: var(--border--width--thin);
  --bs-dropdown-inner-border-radius: calc(var(--radius--05) - var(--border--width--thin));
  --bs-dropdown-divider-margin-y: 0.5rem;
  --bs-dropdown-link-color: var(--color--text--base);
  --bs-dropdown-link-hover-color: var(--color--text--base);
  --bs-dropdown-link-hover-bg: var(--bg--black);
  --bs-dropdown-link-active-color: var(--color--text--on-dark);
  --bs-dropdown-link-active-bg: var(--accent--primary);
  --bs-dropdown-item-padding-x: 1rem;
  --bs-dropdown-item-padding-y: 0.25rem;
  --bs-dropdown-header-color: #6c757d;
  --bs-dropdown-header-padding-x: 1rem;
  --bs-dropdown-header-padding-y: 0.5rem;
  position: absolute;
  z-index: var(--bs-dropdown-zindex);
  display: none;
  min-width: var(--bs-dropdown-min-width);
  padding: var(--bs-dropdown-padding-y) var(--bs-dropdown-padding-x);
  margin: 0;
  font-size: var(--bs-dropdown-font-size);
  color: var(--bs-dropdown-color);
  text-align: left;
  list-style: none;
  background-color: var(--bs-dropdown-bg);
  background-clip: padding-box;
  border-radius: var(--bs-dropdown-border-radius);
}
.dropdown-menu[data-bs-popper] {
  top: 100%;
  left: 0;
  margin-top: var(--bs-dropdown-spacer);
}

.dropdown-menu-start {
  --bs-position: start;
}
.dropdown-menu-start[data-bs-popper] {
  right: auto;
  left: 0;
}

.dropdown-menu-end {
  --bs-position: end;
}
.dropdown-menu-end[data-bs-popper] {
  right: 0;
  left: auto;
}

@media (min-width: 992px) {
  .dropdown-menu-sm-start {
    --bs-position: start;
  }
  .dropdown-menu-sm-start[data-bs-popper] {
    right: auto;
    left: 0;
  }
  .dropdown-menu-sm-end {
    --bs-position: end;
  }
  .dropdown-menu-sm-end[data-bs-popper] {
    right: 0;
    left: auto;
  }
}
@media (min-width: 768px) {
  .dropdown-menu-md-start {
    --bs-position: start;
  }
  .dropdown-menu-md-start[data-bs-popper] {
    right: auto;
    left: 0;
  }
  .dropdown-menu-md-end {
    --bs-position: end;
  }
  .dropdown-menu-md-end[data-bs-popper] {
    right: 0;
    left: auto;
  }
}
@media (min-width: 992px) {
  .dropdown-menu-lg-start {
    --bs-position: start;
  }
  .dropdown-menu-lg-start[data-bs-popper] {
    right: auto;
    left: 0;
  }
  .dropdown-menu-lg-end {
    --bs-position: end;
  }
  .dropdown-menu-lg-end[data-bs-popper] {
    right: 0;
    left: auto;
  }
}
@media (min-width: 1200px) {
  .dropdown-menu-xl-start {
    --bs-position: start;
  }
  .dropdown-menu-xl-start[data-bs-popper] {
    right: auto;
    left: 0;
  }
  .dropdown-menu-xl-end {
    --bs-position: end;
  }
  .dropdown-menu-xl-end[data-bs-popper] {
    right: 0;
    left: auto;
  }
}
@media (min-width: 1400px) {
  .dropdown-menu-xxl-start {
    --bs-position: start;
  }
  .dropdown-menu-xxl-start[data-bs-popper] {
    right: auto;
    left: 0;
  }
  .dropdown-menu-xxl-end {
    --bs-position: end;
  }
  .dropdown-menu-xxl-end[data-bs-popper] {
    right: 0;
    left: auto;
  }
}
.dropup .dropdown-menu[data-bs-popper] {
  top: auto;
  bottom: 100%;
  margin-top: 0;
  margin-bottom: var(--bs-dropdown-spacer);
}
.dropup .dropdown-toggle::after {
  display: inline-block;
  margin-left: 0.255em;
  vertical-align: 0.255em;
  content: "";
  border-top: 0;
  border-right: 0.3em solid transparent;
  border-bottom: 0.3em solid;
  border-left: 0.3em solid transparent;
}
.dropup .dropdown-toggle:empty::after {
  margin-left: 0;
}

.dropend .dropdown-menu[data-bs-popper] {
  top: 0;
  right: auto;
  left: 100%;
  margin-top: 0;
  margin-left: var(--bs-dropdown-spacer);
}
.dropend .dropdown-toggle::after {
  display: inline-block;
  margin-left: 0.255em;
  vertical-align: 0.255em;
  content: "";
  border-top: 0.3em solid transparent;
  border-right: 0;
  border-bottom: 0.3em solid transparent;
  border-left: 0.3em solid;
}
.dropend .dropdown-toggle:empty::after {
  margin-left: 0;
}
.dropend .dropdown-toggle::after {
  vertical-align: 0;
}

.dropstart .dropdown-menu[data-bs-popper] {
  top: 0;
  right: 100%;
  left: auto;
  margin-top: 0;
  margin-right: var(--bs-dropdown-spacer);
}
.dropstart .dropdown-toggle::after {
  display: inline-block;
  margin-left: 0.255em;
  vertical-align: 0.255em;
  content: "";
}
.dropstart .dropdown-toggle::after {
  display: none;
}
.dropstart .dropdown-toggle::before {
  display: inline-block;
  margin-right: 0.255em;
  vertical-align: 0.255em;
  content: "";
  border-top: 0.3em solid transparent;
  border-right: 0.3em solid;
  border-bottom: 0.3em solid transparent;
}
.dropstart .dropdown-toggle:empty::after {
  margin-left: 0;
}
.dropstart .dropdown-toggle::before {
  vertical-align: 0;
}

.dropdown-divider {
  height: 0;
  margin: var(--bs-dropdown-divider-margin-y) 0;
  overflow: hidden;
  border-top: 1px solid var(--border--color--default);
  opacity: 1;
}

.dropdown-item {
  display: block;
  width: 100%;
  padding: var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);
  clear: both;
  font-weight: 400;
  color: var(--bs-dropdown-link-color);
  text-align: inherit;
  text-decoration: none;
  white-space: nowrap;
  background-color: transparent;
  border: 0;
  border-radius: var(--radius--075);
}
.dropdown-item:hover, .dropdown-item:focus {
  color: var(--bs-dropdown-link-hover-color);
  background-color: var(--bs-dropdown-link-hover-bg);
}
.dropdown-item.active, .dropdown-item:active {
  color: var(--bs-dropdown-link-active-color);
  text-decoration: none;
  background-color: var(--bs-dropdown-link-active-bg);
}
.dropdown-item.disabled, .dropdown-item:disabled {
  color: var(--color--text--muted);
  pointer-events: none;
  background-color: transparent;
}

.dropdown-menu.show {
  display: block;
}

.dropdown-header {
  display: block;
  padding: var(--bs-dropdown-header-padding-y) var(--bs-dropdown-header-padding-x);
  margin-bottom: 0;
  font-size: var(--text--0875);
  color: var(--bs-dropdown-header-color);
  white-space: nowrap;
}

.dropdown-item-text {
  display: block;
  padding: var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);
  color: var(--bs-dropdown-link-color);
}

.dropdown .dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.75rem;
  font-size: var(--text--0875);
}

.dropdown .dropdown-item .bx {
  font-size: var(--text--125);
}

.dropdown-item:focus,
.dropdown-item:hover {
  color: var(--color--text--base);
  background-color: var(--bg--dark-gray-secondary);
}

.dropdown-item.active,
.dropdown-item:active {
  color: var(--color--text--base);
  text-decoration: none;
  background-color: var(--bg--dark-gray-secondary);
}

.dropdown .dropdown-menu {
  border-radius: var(--radius--05);
  --bs-dropdown-padding-y: 0.75rem;
  --bs-dropdown-min-width: 15rem;
  border: 0;
  box-shadow: 0 2px 16px rgba(0, 0, 0, .08);
  background-color: var(--bg--white);
}

.dropdown .dropdown-menu.show {
  display: block;
}

.dropdown .dropdown-li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1.5rem;
}



.badge {
  --bs-badge-padding-x: 0.75em;
  --bs-badge-padding-y: 0.35em;
  --bs-badge-color: var(--color--text--on-dark);
  --bs-badge-border-radius: var(--radius--05);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: var(--bs-badge-padding-y) var(--bs-badge-padding-x);
  font-size: var(--text--075);
  font-weight: 600;
  color: var(--bs-badge-color);
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: var(--bs-badge-border-radius);
}

.badge-accent {
  background-color: var(--bg--accent-secondary-light);
  color: var(--color--text--base);
}

.badge:empty {
  display: none;
}

.btn .badge {
  position: relative;
  top: -1px;
}

body.modal-open {
  overflow: hidden;
  position: relative;
  height: 100%;
  padding-right: 17px;
}

/*--------------------------------------------------------------
# autocomplete
--------------------------------------------------------------*/

.autocomplete-suggestions {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--bg--white);
  overflow-y: auto;
  margin: 0.75rem 0 0;
  border-radius: var(--radius--075);
  padding: 1rem;
  flex-direction: column;
  gap: 0.25rem;
}

.autocomplete-no-results {
  padding: 10px;
  color: var(--color--text--muted);
  text-align: center;
  font-style: italic;
}

.autocomplete-item {
  display: flex;
  align-items: center;
  padding: 10px 6px;
  cursor: pointer;
  gap: 10px;
  border-radius: var(--radius--075);
}

.autocomplete-item i {
  font-size: 1.6rem;
  padding: 0 0.5rem;
  color: var(--color--text--muted)
}

.autocomplete-item strong {
  color: var(--accent--primary)
}

.autocomplete-item-title {
  margin: 0 0 3px;
  font-size: var(--text--0875);
  line-height: var(--text--0875--line-height);
  font-weight: 500;
}

.autocomplete-item-type {
  font-size: 12px;
  color: var(--color--text--muted)
}

.autocomplete-group-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  margin: 0.75rem 0 0.75rem;
}

.autocomplete-group-wrapper:first-child .autocomplete-group-header {
  margin-top: 0;
}

.autocomplete-group-title {
  font-weight: 600;
  font-size: var(--text--0875);
  text-transform: uppercase;
}

.autocomplete-group-count {
  font-size: 12px;
  background-color: var(--accent--secondary);
  color: var(--color--text--on-dark);
  padding: 2px 8px;
  border-radius: 5px;
}

@media (max-width: 991px) {
  .autocomplete-suggestions {
    margin: 0.5rem 0 0;
    max-height: 50dvh;
  }
}

@media (min-width: 992px) {
  .autocomplete-suggestions {
    max-height: 45dvh;
  }
}

@media (hover: hover) and (pointer: fine) {
  .autocomplete-item:hover {
    background-color: var(--bg--gray-secondary);
  }
}



.modal {
  display: none;
  justify-content: center;
  align-items: center;
  position: fixed;
  z-index: 1055;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  overflow-x: hidden;
  overflow-y: auto;
  padding: 1.75rem;
}

.modal.show {
  display: flex;
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  background: #8b8a8a66
}

.modal-dialog {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: auto;
  pointer-events: none;
  display: flex;
  align-items: center;
  min-height: calc(100% - 3.5rem);
  transition: transform 0.3s ease-out;
}

.modal.fade .modal-dialog {
  transform: translateY(-40px);
}

.modal.show .modal-dialog {
  transform: translateY(0);
}

.modal-content {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  background-color: var(--bg--white);
  border-radius: 1.25rem;
  padding: 1.5rem 1.75rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  pointer-events: auto;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  font-size: var(--text--125);
  font-weight: 600;
}

.btn-close {
  background: none;
  border: none;
  font-size: var(--text--125);
  cursor: pointer;
  line-height: 1;
}

.modal-body {
  flex: 1 1 auto;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-top: 1rem;
  border-top: 1px solid #dee2e6;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* === RESPONSIVE === */

@media (max-width: 767.98px) {
  .modal-dialog {
    max-width: 100%;
    height: 100%;
    margin: 0;
    align-items: stretch;
  }

  .modal-content {
    height: 100%;
    border-radius: 0;
    padding: 1rem;
  }

  .modal-body {
    padding-right: 0.75rem;
    overflow-y: auto;
    overflow-x: hidden;
  }
}

@media (max-width: 575.98px) {
  .modal-title {
    font-size: 1.125rem;
  }

  .modal-header,
  .modal-footer {
    padding: 0.75rem 0;
  }
}

.modal-sm .modal-dialog {
  max-width: 360px;
}

.modal-md .modal-dialog {
  max-width: 600px;
}

.modal-lg .modal-dialog {
  max-width: 800px;
}

.modal-full .modal-dialog {
  max-width: 100%;
  height: 100%;
  margin: 0;
  align-items: stretch;
}

.modal-full .modal-content {
  height: 100%;
  border-radius: 0;
  padding: 1rem;
}

@media (max-width: 767.98px) {
  .modal {
    padding: 0;
  }

  .modal-dialog {
    max-width: 100%;
    height: 100svh;
    margin: 0;
    border-radius: 0;
    align-items: stretch;
  }

  .modal-content {
    height: 100%;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    padding-top: calc(1rem + env(safe-area-inset-top));
    padding-bottom: calc(1rem + env(safe-area-inset-bottom));
    padding-left: calc(1rem + env(safe-area-inset-left));
    padding-right: calc(1rem + env(safe-area-inset-right));
    box-sizing: border-box;
    overflow-y: auto;
  }

  .modal-header,
  .modal-footer {
    padding-left: 0;
    padding-right: 0;
  }
}


/**/

.toast-container-custom {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 9999;
}

.toast-custom {
  width: 360px;
  padding: 1rem 1.25rem;
  border-radius: var(--radius--075);
  color: var(--color--text--on-dark);
  font-size: var(--text--10);
  opacity: 0;
  transform: translateY(20px);
  animation: toast-in 0.3s ease forwards;
  position: relative;
  background-color: var(--bg--black);
  box-sizing: border-box;
}
.toast-custom.toast-autoclose {
  animation: toast-in 0.3s ease forwards, toast-out 0.3s ease forwards 4.7s;
}

@media (max-width: 991px) {
  .toast-container-custom {
    position: fixed;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 9999;
    max-height: 40%;
  }

  .toast-custom {
    width: 100%;
    padding: 1rem;
    border-radius: var(--radius--075);
    color: var(--color--text--on-dark);
    font-size: var(--text--10);
    opacity: 0;
    transform: translateY(20px);
    animation: toast-in 0.3s ease forwards, toast-out 0.3s ease forwards 4.7s;
    position: relative;
    background-color: var(--bg--black);
    box-sizing: border-box;
  }
}


.toast-custom.toast-success {
  background-color: var(--toast-color-success);
  color: var(--toast-text-success)
}
.toast-custom.toast-danger {
  background-color: var(--toast-color-danger);
  color: var(--toast-text-danger)
}
.toast-custom.toast-info {
  background-color: var(--toast-color-info);
  color: var(--toast-text-info)
}
.toast-custom.toast-warning {
  background-color: var(--toast-color-warning);
  color: var(--toast-text-warning)
}

.toast-custom .close-btn {
  padding-left: 1rem;
  position: absolute;
  top: 6px;
  right: 10px;
  cursor: pointer;
  font-weight: bold;
  color: inherit;
  background: none;
  border: none;
  font-size: var(--text--125);
}

@keyframes toast-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes toast-out {
  to {
    opacity: 0;
    transform: translateY(20px);
  }
}

.toast-body {
  font-size: var(--text--10);
  line-height: 1.4;
}

.toast-custom .close-btn {
  position: relative;
  top: 0;
  right: 0;
  padding: 0;
  margin-left: 1rem;
  background: none;
  border: none;
  font-weight: bold;
  font-size: var(--text--125);
  color: inherit;
  cursor: pointer;
}

.toast-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: var(--text--10);
  margin-bottom: 0.5rem;
}

.toast-icon {
  font-size: var(--text--125);
  line-height: 1;
}

.toast-title {
  flex-grow: 1;
}

/* Прогресс-полоса сверху */
.toast-progress {
  height: 3px;
  width: 100%;
  background-color: currentColor;
  animation: toast-progress-bar 5s linear forwards;
  border-radius: 999px;
  margin-top: 1rem;
}

@keyframes toast-progress-bar {
  from {
    width: 100%;
  }
  to {
    width: 0%;
  }
}

/**/


.tooltip {
  position: absolute;
  background-color: #333;
  color: var(--color--text--on-dark);
  padding: 6px 10px;
  border-radius: 10px;
  font-size: var(--text--0875);
  white-space: nowrap;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-5px);
  animation: fadeInUp 0.2s forwards;
}

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



.d-inline {
  display: inline !important;
}

.d-inline-block {
  display: inline-block !important;
}

.d-block {
  display: block !important;
}

.d-grid {
  display: grid !important;
}

.d-inline-grid {
  display: inline-grid !important;
}

.d-table {
  display: table !important;
}

.d-table-row {
  display: table-row !important;
}

.d-table-cell {
  display: table-cell !important;
}

.d-flex {
  display: flex !important;
}

.d-inline-flex {
  display: inline-flex !important;
}

.d-none {
  display: none !important;
}
.d-lg-none {
  display: none !important;
}

.w-25 {
  width: 25% !important;
}

.w-50 {
  width: 50% !important;
}

.w-75 {
  width: 75% !important;
}

.w-100 {
  width: 100% !important;
}

.w-auto {
  width: auto !important;
}

.mw-100 {
  max-width: 100% !important;
}

.vw-100 {
  width: 100vw !important;
}

.min-vw-100 {
  min-width: 100vw !important;
}

.h-25 {
  height: 25% !important;
}

.h-50 {
  height: 50% !important;
}

.h-75 {
  height: 75% !important;
}

.h-100 {
  height: 100% !important;
}

.h-auto {
  height: auto !important;
}

.mh-100 {
  max-height: 100% !important;
}

.vh-100 {
  height: 100vh !important;
}

.min-vh-100 {
  min-height: 100vh !important;
}

.flex-wrap {
  flex-wrap: wrap !important;
}

.flex-nowrap {
  flex-wrap: nowrap !important;
}

.flex-wrap-reverse {
  flex-wrap: wrap-reverse !important;
}

.justify-content-start {
  justify-content: flex-start !important;
}

.justify-content-end {
  justify-content: flex-end !important;
}

.justify-content-center {
  justify-content: center !important;
}

.justify-content-between {
  justify-content: space-between !important;
}

.justify-content-around {
  justify-content: space-around !important;
}

.justify-content-evenly {
  justify-content: space-evenly !important;
}

.align-items-start {
  align-items: flex-start !important;
}

.align-items-end {
  align-items: flex-end !important;
}

.align-items-center {
  align-items: center !important;
}

.align-items-baseline {
  align-items: baseline !important;
}

.align-items-stretch {
  align-items: stretch !important;
}

.align-content-start {
  align-content: flex-start !important;
}

.align-content-end {
  align-content: flex-end !important;
}

.align-content-center {
  align-content: center !important;
}

.align-content-between {
  align-content: space-between !important;
}

.align-content-around {
  align-content: space-around !important;
}

.align-content-stretch {
  align-content: stretch !important;
}

.align-self-auto {
  align-self: auto !important;
}

.align-self-start {
  align-self: flex-start !important;
}

.align-self-end {
  align-self: flex-end !important;
}

.align-self-center {
  align-self: center !important;
}

.align-self-baseline {
  align-self: baseline !important;
}

.align-self-stretch {
  align-self: stretch !important;
}

.order-first {
  order: -1 !important;
}

.order-0 {
  order: 0 !important;
}

.order-1 {
  order: 1 !important;
}

.order-2 {
  order: 2 !important;
}

.order-3 {
  order: 3 !important;
}

.order-4 {
  order: 4 !important;
}

.order-5 {
  order: 5 !important;
}
.gap-0 {
  gap: 0 !important;
}

.gap-1 {
  gap: 0.25rem !important;
}

.gap-2 {
  gap: 0.5rem !important;
}

.gap-3 {
  gap: 1rem !important;
}

.gap-4 {
  gap: 1.5rem !important;
}

.gap-5 {
  gap: 3rem !important;
}

.row-gap-0 {
  row-gap: 0 !important;
}

.row-gap-1 {
  row-gap: 0.25rem !important;
}

.row-gap-2 {
  row-gap: 0.5rem !important;
}

.row-gap-3 {
  row-gap: 1rem !important;
}

.row-gap-4 {
  row-gap: 1.5rem !important;
}

.row-gap-5 {
  row-gap: 3rem !important;
}

.column-gap-0 {
  -moz-column-gap: 0 !important;
  column-gap: 0 !important;
}

.column-gap-1 {
  -moz-column-gap: 0.25rem !important;
  column-gap: 0.25rem !important;
}

.column-gap-2 {
  -moz-column-gap: 0.5rem !important;
  column-gap: 0.5rem !important;
}

.column-gap-3 {
  -moz-column-gap: 1rem !important;
  column-gap: 1rem !important;
}

.column-gap-4 {
  -moz-column-gap: 1.5rem !important;
  column-gap: 1.5rem !important;
}

.column-gap-5 {
  -moz-column-gap: 3rem !important;
  column-gap: 3rem !important;
}

.text-start {
  text-align: left !important;
}

.text-end {
  text-align: right !important;
}

.text-center {
  text-align: center !important;
}
.text-break {
  word-wrap: break-word !important;
  word-break: break-word !important;
}

.position-static {
  position: static !important;
}

.position-relative {
  position: relative !important;
}

.position-absolute {
  position: absolute !important;
}

.position-fixed {
  position: fixed !important;
}

.position-sticky {
  position: -webkit-sticky !important;
  position: sticky !important;
}

.top-0 {
  top: 0 !important;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: var(--radius--1);
  font-size: var(--text--10);
  line-height: var(--text--10--line-height);
  font-weight: 600;
  letter-spacing: 0;
  text-decoration: none;
  text-align: center;
  vertical-align: top;
  cursor: pointer;
  color: var(--color--text--on-dark);
  border-width: var(--border--width--thin);
  border-color: transparent;
  border-style: solid;
  pointer-events: auto;
  flex: 1 1 auto;
  white-space: nowrap;
  user-select: none;
  transition: background-color var(--transition--base), color var(--transition--base);
}

.btn-w-50 {
  width: 50%
}

.btn-size-xs {
  height: 2rem;
  padding: 0 0.75rem;
  font-size: var(--text--0875);
  border-radius: var(--radius--075);
}

.btn-size-sm {
  height: 2.75rem;
  padding: 0 1rem;
  font-size: var(--text--0875);
  border-radius: var(--radius--075);
}

.btn-size-md {
  height: 3rem;
  padding: 0 1.5rem;
  font-size: var(--text--10);
  border-radius: var(--radius--1);
}

.btn-size-lg {
  height: 3.5rem;
  padding: 0 2rem;
  font-size: var(--text--1125);
  border-radius: var(--radius--075);
}

.btn-rounded {
  text-align: center;
  vertical-align: middle;
  border-radius: var(--radius--circle);
  cursor: pointer;
  font-size: var(--text--15);
  min-width: 3rem;
  min-height: 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  padding: 0;
  margin: 0;
}

.btn-rounded i {
  line-height: 1;
}

.btn-rounded-sm {
  text-align: center;
  vertical-align: middle;
  border-radius: var(--radius--circle);
  cursor: pointer;
  font-size: 1.4rem;
  width: 2.4rem;
  height: 2.4rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

.btn-container {
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 0.75rem
}

.btn-container .btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  max-width: 18rem;
}

@media (max-width: 991px) {
  .btn-container {
    flex-direction: column;
    gap: 0.5rem
  }

  .btn-container .btn {
    max-width: unset;
    width: 100%
  }

}

.btn-outline-black {
  background-color: var(--bg--white);
  border-color: #0d0c22;
  color: #0d0c22;
}

.btn-black {
  background-color: #0d0c22;
  border-color: #0d0c22;
  color: var(--color--text--on-dark);
}

.btn-primary {
  background-color: var(--accent--primary);
  border-color: var(--accent--primary);
  color: var(--color--text--on-dark);
}

.btn-primary-white {
  background-color: transparent;
  border-color: var(--accent--primary);
  color: var(--accent--primary);
}

.btn-white {
  background-color: var(--btn-white-bg);
  border-color: var(--btn-white-border);
  color: var(--btn-white-color);
}

.btn-red {
  background-color: var(--theme-red);
  border-color: var(--theme-red);
  color: var(--color--text--on-dark);
}

.btn-gray {
  background-color: var(--bg--gray-primary);
  color: var(--color--text--base);
}

.btn-green {
  opacity: 1;
  background-color: var(--theme-green);
  color: var(--color--text--on-dark);
}

.btn-viber {
  border: 2px solid var(--viber--color);
  color: var(--viber--color);
}

.btn-telegram {
  border: 2px solid var(--telegram--color);
  color: var(--telegram--color);
}

.btn-whatsapp {
  border: 2px solid var(--whatsapp--color);
  color: var(--whatsapp--color);
}

@media (hover: hover) and (pointer: fine) {

  .btn-black:hover,
  .btn-black:active {
    border-color: #3d3d4e;
    background-color: #3d3d4e;
    color: var(--color--text--on-dark)
  }

  .btn-primary:hover,
  .btn-primary:active {
    background-color: var(--accent--primary-hover);
    border-color: var(--accent--primary-hover);
    color: var(--color--text--on-dark)
  }

  .btn-primary-white:hover,
  .btn-primary-white:active {
    background-color: var(--bg--gray-primary);
    border-color: var(--accent--primary-hover);
    color: var(--accent--primary-hover);
  }

  .btn-white:hover,
  .btn-white:active {
    background-color: var(--btn-white-bg-hover);
    border-color: var(--btn-white-border);
    color: var(--btn-white-color);
  }

  .btn-red:hover {
    color: var(--color--text--on-dark);
    background-color: var(--theme-red-2);
  }

  .btn-gray:hover,
  .btn-gray.show {
    background-color: var(--bg--dark-gray-base);
    color: var(--color--text--base);
  }

  .btn-green:hover,
  .btn-green.show {
    background-color: var(--theme-green);
    color: var(--color--text--on-dark);
  }


  .btn-viber:hover {
    background-color: var(--viber--color);
    color: var(--color--text--on-dark)
  }

  .btn-telegram:hover {
    background-color: var(--telegram--color);
    color: var(--color--text--on-dark)
  }

  .btn-whatsapp:hover {
    background-color: var(--whatsapp--color);
    color: var(--color--text--on-dark)
  }

}





.grid {
  display: grid;
}



.grid-cols-xs { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.grid-cols-sm { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.grid-cols-md { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid-cols-lg { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-cols-xl { grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); }

.grid-cols-products { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1199px) {
  .grid-cols-products {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 999px) {
  .grid-cols-products {
    grid-template-columns: repeat(2, 1fr);
  }
}

.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
.grid-cols-5 { grid-template-columns: repeat(5, 1fr); }

@media (max-width: 991px) {

  .grid-cols-2-sm-gap {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0 !important;
  }
  .grid-cols-2-sm {
    grid-template-columns: repeat(2, 1fr) !important;
  }

}

.gap-0 { gap: 0; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }
.gap-5 { gap: 3rem; }


/* === CSS Grid ===
.grid {
  display: grid;
  gap: 15px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }*/

/* === Responsive columns example === */
@media (max-width: 991px) {
  .col-lg-6 { flex: 0 0 100%; max-width: 100%; }
}
@media (max-width: 768px) {
  .col-md-6 { flex: 0 0 100%; max-width: 100%; }
}
@media (max-width: 576px) {
  .col-sm-6 { flex: 0 0 100%; max-width: 100%; }
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25%, 75% { transform: translateX(-5px); }
  50% { transform: translateX(5px); }
}
.shake {
  animation: shake 0.3s;
  border-color: #cb4e4e !important;
}

/**/

.css-grid-container-start {
  display: grid;
  grid-template-columns: repeat(auto-fit, 120px);
  gap: 20px;
  justify-content: start;
}

.css-grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
}

.css-grid-item {
  hyphens: auto;
}

/**/

.scroll-to-top-container {
  position: fixed;
  bottom: 1.25rem;
  right: 1.75rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.scroll-to-top-btn {
  background: rgba(129, 182, 219, 0.3);
  -webkit-backdrop-filter: var(--swiper-navs-filter);
  backdrop-filter: var(--swiper-navs-filter);
  color: var(--color--text--on-dark);
  border: none;
  border-radius: var(--radius--circle);
  width: 48px;
  height: 48px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: background var(--transition--base);
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-to-top-container svg {
  fill: var(--color--text--on-dark)
}

.scroll-to-top-btn.show {
  opacity: 1;
  visibility: visible;
}

@media (hover: hover) and (pointer: fine) {
  .scroll-to-top-btn:hover {
    background: var(--swiper-navs-bg-hover);
  }
}

/**/

.gallery-open {
  cursor: pointer;
}

.image-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100svw;
  height: 100svh;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  overflow: hidden;
  background: var(--bg--white);
}

.image-modal.show {
  display: flex;
}

.image-modal__backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  cursor: pointer;
}

.image-modal__content {
  max-width: 90svw;
  max-height: 90svh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  z-index: 10001;
}

.image-modal__img-wrapper {
  width: 80svw;
  height: 80svh;
  max-width: 800px;
  max-height: 800px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2rem;
}

/* Картинка */
.image-modal__img.zoomed {
  transform: scale(2);
  cursor: zoom-out;
  transition: transform 0.3s ease;
}

.image-modal__img {
  transition: transform 0.3s ease;
  cursor: zoom-in;
  max-width: 100%;
  max-height: 100%;
}

.image-modal__controls {
  position: absolute;
  top: 1rem;
  right: 2rem;
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  z-index: 99;
}

.image-modal__zoom,
.image-modal__close {
  background: transparent;
  border: none;
  color: var(--color--text--base);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.2s;
}

.image-modal__zoom svg,
.image-modal__close svg {
  pointer-events: none;
}
.image-modal__zoom svg {
  width: 2.25rem;
  height: 2.25rem;
  pointer-events: none;
}

.image-modal__close svg {
  width: 2.75rem;
  height: 2.75rem;
  pointer-events: none;
}

.image-modal__prev,
.image-modal__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  background: var(--swiper-navs-bg);
  -webkit-backdrop-filter: var(--swiper-navs-filter);
  backdrop-filter: var(--swiper-navs-filter);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
  border: none;
  transition: opacity var(--transition--base), transform var(--transition--base), background var(--transition--base);
}

.image-modal__prev::before,
.image-modal__next::before {
  content: "";
  display: block;
  width: 2.5rem;
  height: 2.5rem;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* Левая стрелка */
.image-modal__prev::before {
  background-image: var(--icon--arrow-left);
}

/* Правая стрелка */
.image-modal__next::before {
  background-image: var(--icon--arrow-right);
}

.image-modal__prev {
  left: 1.5rem;
}

.image-modal__next {
  right: 1.5rem;
}

.image-modal__prev,
.image-modal__next,
.image-modal__zoom,
.image-modal__close {
  touch-action: manipulation;
}

.image-modal__counter {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: var(--text--10);
  color: var(--color--text--base);
  z-index: 10;
  background: rgba(255, 255, 255, 0.75);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius--05);
}

@media (hover: hover) and (pointer: fine) {
  .image-modal__close:hover,
  .image-modal__zoom:hover {
    color: var(--accent--secondary);
  }

  .image-modal__prev:hover,
  .image-modal__next:hover {
    background: var(--swiper-navs-bg-hover);
  }
}

/**/

/* Чтобы body не скроллился при открытой модалке */
body.modal-open {
  overflow: hidden;
}