:root {
  --color-primary: #5383FF;
  --color-heading: #29334D;
  --color-subheading: #7F8AA6;
  --color-background: #F6F9FF;
  --color-price: #D7DBE6;
  --color-form: #EFF4FF;
  --color-input: #A9C1FF;
  --color-shadow: 180, 189, 214;
  --color-shadow-blur: 0 15px 45px hsl(224, 29%, 77%, 0.6);
  --color-shadow-sharp: 0 4px 6px hsl(224, 29%, 77%, 0.3);
  --color-rating: #FFA808;
  --color-error: #F44336;
  --color-card: #FFFFFF;
}

html {
  scroll-behavior: auto;
}

html, body, .main-layout {
  min-height: calc(var(--vh, 1vh) * 100);
}

body {
  margin: 0px;
  background: var(--color-background);
  cursor: default;
}

.main-layout {
  background: var(--color-background);
}

/* ============================================== */
/* Стили для шапки профиля (Profile Header)      */
/* ============================================== */

.store-header { width: 100% }

.store-header--content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.store-header--image {
  width: 150px;
  height: 150px;
  margin: 26px 0 18px 0;
}

.store-header--image img {
  width: 100%;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: var(--color-shadow-sharp), var(--color-shadow-blur);
}

.store-header--profile { 
  width: 100%;
  max-width: 475px;
  text-align: center;
}

.store-header--names { width: 100%; }

.store-header--name-bio { width: 100%; }

.store-header--fullname {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  width: 100%;
  color: var(--color-heading);
  display: block;
  margin-bottom: 16px;
}

.store-header--bio {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  margin: 0 auto;
  max-width: 340px;
  color: var(--color-heading);
  margin-bottom: 20px;
}

/* ============================================== */
/* Стили для социальных иконок (Social Icons)    */
/* ============================================== */

.social-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.social-icons--icon {
  display: flex;
  background-color: var(--color-card);
  box-shadow: var(--color-shadow-sharp), var(--color-shadow-blur);
  width: 47px;
  height: 47px;
  border-radius: 50%;
  place-items: center;
  justify-content: center;
}

.social-icons--icon svg {
  width: 22px;
  height: 22px;
}

.social-icons--icon svg path {
  fill: var(--color-heading);
}

.social-icons--icon[href^="mailto:"] svg {
  width: 20px !important;
  height: 20px !important;
}

/* ============================================== */
/* Стили для контейнера карточек (Card Container) */
/* ============================================== */

.store-content {
  padding: 40px 0 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  background: var(--color-background);
}

.masonry--grid {
  display: flex;
  flex-direction: column;
  width: 100%;
  }

.masonry--column {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: center;
}

@media (min-width: 690px) {
  .masonry--grid {
    flex-direction: row;
    gap: 20px;
    column-gap: 30px;
    max-width: 830px;
    width: 100%;
    justify-content: center;
  }
  
  .masonry--column {
    max-width: none;
    flex: 1;
    align-items: center;
    max-width: 400px;
  }

  .card {
    max-width: none;
    width: 100%;
  }
}

/* ============================================== */
/* Стили для карточки типа "pill-small"          */
/* ============================================== */
 
.card-pill-small {
  width: 100%;
  height: 78px;
  padding: 15px;
  margin-bottom: 20px;
  min-width: 280px;
  max-width: 400px;
  background-color: var(--color-card);
  border-radius: 30px;
  box-shadow: var(--color-shadow-sharp), var(--color-shadow-blur);
  display: flex;
  align-items: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  min-width: 0;
  box-sizing: border-box;
}

.card-pill-small-image {
  width: 48px;
  height: 48px;
  border-radius: 15px;
  object-fit: cover;
  flex-shrink: 0;
}

.card-pill-small-title {
  margin: 0 15px 2px 15px;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-heading);
  word-break: break-word;
}

.card-pill-small-badge {
  background: var(--color-primary);
  color: var(--color-card);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  white-space: nowrap;
}

/* ============================================== */
/* Стили для карточки типа "pill-big"            */
/* ============================================== */
 
.card-pill-big {
  width: 100%;
  height: 85px;
  padding: 15px;
  box-sizing: border-box;
  margin-bottom: 20px;
  min-width: 280px;
  max-width: 400px;
  background-color: var(--color-card);
  border: none;
  border-radius: 30px;
  box-shadow: var(--color-shadow-sharp), var(--color-shadow-blur);
  display: flex;
  align-items: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.card-pill-big-image {
  width: 55px;
  height: 55px;
  border-radius: 15px;
  object-fit: cover;
  flex-shrink: 0;
}

.card-pill-big-title {
  margin: 0 0 2px 15px;
  font-style: normal;
  font-weight: 700;
  text-overflow: ellipsis;
  text-align: left;
  font-size: 18px;
  line-height: 130%;
  color: var(--color-heading);
  min-width: 0;
  flex: 1 1 0%;
  word-break: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}

.card-pill-big-badge {
  background: var(--color-primary);
  color: var(--color-card);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  padding: 4px 12px;
  white-space: nowrap;
}

 
/* ============================================= */
/* Стили для карточки типа "callout-left"        */
/* ============================================= */
.card-callout-left {
  width: 100%;
  box-sizing: border-box;
  padding: 15px;
  margin-bottom: 20px;
  min-width: 280px;
  max-width: 400px;
  background-color: var(--color-card);
  border-radius: 25px;
  box-shadow: var(--color-shadow-sharp), var(--color-shadow-blur);
  display: flex;
  flex-direction: column;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.card-callout-left-content {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}
.card-callout-left-image {
  width: 74px;
  height: 74px;
  flex-shrink: 0;
}
.card-callout-left-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}
.card-callout-left-text {
  flex: 1;
  min-width: 0;
}
.card-callout-left-title {
  margin: -2px 0 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-heading);
}
.card-callout-left-description {
  margin: 5px 0 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-subheading);
  line-height: 126%;
}
.card-callout-left-button-arrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--button-arrow-text-gap, 10px);
  background: var(--color-primary);
  color: var(--color-card);
  border: none;
  border-radius: 10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 16px;
  padding: 12px 15px;
  width: 100%;
  cursor: pointer;
  margin-top: 14px;
  min-height: 50px;
}
.card-callout-left-button-arrow-icon {
  display: flex;
  align-items: center;
  margin-right: var(--button-arrow-icon-margin-right, 0px);
}


/* ============================================= */
/* Стили для карточки типа "callout-center"      */
/* ============================================= */
.card-callout-center {
  width: 100%;
  box-sizing: border-box;
  padding: 15px;
  margin-bottom: 20px;
  min-width: 280px;
  max-width: 400px;
  background-color: var(--color-card);
  border-radius: 25px;
  box-shadow: var(--color-shadow-sharp), var(--color-shadow-blur);
  display: flex;
  flex-direction: column;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.card-callout-center-content {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}
.card-callout-center-image {
  width: 74px;
  height: 74px;
  flex-shrink: 0;
}
.card-callout-center-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}
.card-callout-center-text {
  flex: 1;
  min-width: 0;
}
.card-callout-center-title {
  margin: -2px 0 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-heading);
}
.card-callout-center-description {
  margin: 5px 0 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-subheading);
  line-height: 126%;
}
.card-callout-center-price {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}
.card-callout-center-price-current {
  color: var(--color-primary) !important;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  font-weight: 600;
}
.card-callout-center-price-original {
  color: var(--color-price);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-decoration: line-through;
}
.card-callout-center-button {
  margin-top: 14px;
  background: var(--color-primary);
  color: var(--color-card);
  text-align: center;
  padding: 12px;
  border-radius: 10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 16px;
  width: 100%;
  border: none;
  cursor: pointer;
}


/* ============================================== */
/* Стили для карточки типа "ticket" (большая)    */
/* ============================================== */
 
.card-ticket {
  width: 100%;
  min-width: 280px;
  max-width: 400px;
  margin-bottom: 20px;
  background-color: var(--color-card);
  border-radius: 25px;
  box-shadow: var(--color-shadow-sharp), var(--color-shadow-blur);
  border: .5px white;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.card-ticket-image {
  width: 100%;
  aspect-ratio: 1.77;
  overflow: hidden;
  padding: 1px 1px 0 1px;
  box-sizing: border-box;
}

.card-ticket-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 24px 24px 0 0;
}

.card-ticket-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card-ticket-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  line-height: 21.60px;
  margin: 0;
  font-weight: 700;
  color: var(--color-heading);
}

.card-ticket-description {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  line-height: 18px;
  font-weight: 400;
  margin: 0;
  color: var(--color-subheading);
}

.card-ticket-price {
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-ticket-price-current {
  color: var(--color-primary) !important;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
}

.card-ticket-price-original {
  color: var(--color-price);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  text-decoration: line-through;
}

.card-ticket-rating {
  display: flex;
  align-items: center;
  gap: 5px;
  border-radius: 5px;
}

.card-ticket-rating-score {
  color: var(--color-heading) !important;
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: -0.05em;
  font-size: 16px;
  font-weight: 700;
}

.card-ticket-file {
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-ticket-file-icon {
  width: 24px;
  height: 24px;
  background: var(--color-primary);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card-ticket-file-text {
  color: var(--color-heading);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 24px;
  text-shadow: none;
}

.card-ticket-button {
  width: calc(100% - 40px);
  margin: 0 20px 20px;
  background: var(--color-primary);
  border-radius: 50px;
  padding: 20px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  line-height: 20px;
  font-weight: 700;
  color: white;
  min-height: 60px;
  border: none;
  cursor: pointer;
}

.card-ticket-learn {
  padding: 21px 0;
  text-align: center;
  color: var(--color-primary);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  width: 100%;
  max-width: 278px;
}

/* ============================================== */
/* Стили для разделителя секций карточек          */
/* ============================================== */
.section-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px 25px;
  grid-gap: 40px;
  border-radius: 25px;
  margin: 20px 0;
  font-weight: 700;
  font-size: 18px;
  line-height: 126%;
  text-align: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--color-heading);
  background: var(--color-card);
  box-shadow: var(--color-shadow-sharp), var(--color-shadow-blur);
}

.section {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-content {
  margin-bottom: 20px;
}
.section-content > .masonry--grid > .masonry--column > .card-pill:last-child,
.section-content > .masonry--grid > .masonry--column > .card-callout:last-child,
.section-content > .masonry--grid > .masonry--column > .card-ticket:last-child,
.section-content > div:last-child > .card-pill:last-child,
.section-content > div:last-child > .card-callout:last-child,
.section-content > div:last-child > .card-ticket:last-child {
  margin-bottom: 20px;
}

.lead-magnet {
  max-width: 400px;
  margin-bottom: 20px;
  background: var(--color-card);
  border-radius: 25px;
  box-shadow: var(--color-shadow-sharp), var(--color-shadow-blur);
  padding: 15px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  display: flex;
  box-sizing: border-box;
  flex-wrap: wrap;
}
.lead-magnet-content {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.lead-magnet-image {
  width: 74px;
  height: 74px;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lead-magnet-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}
.lead-magnet-info {
  flex: 1;
  min-width: 0;
}
.lead-magnet-title {
  margin: -2px 0 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-heading);
}
.lead-magnet-description {
  margin: 5px 0 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-subheading);
  line-height: 126%;
}
.lead-magnet-form {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 20px;
  margin-bottom: 18px;
  gap: 20px;
}
.lead-magnet-field {
  display: flex;
  flex-direction: column;
}
.lead-magnet-field p {
  color: var(--color-error) !important;
  padding-left: 0;
  font-size: 12px;
  margin: 0;
  width: 100%;
  min-height: 0;
}
.lead-magnet-input {
  border: 0 !important;
  border-radius: 10px;
  color: var(--color-primary) !important;
  background-color: var(--color-form) !important;
  padding: 13px 16px !important;
  font-style: normal;
  font-weight: 400;
  line-height: 19px;
  font-size: 14px;
  outline: none;
}
.lead-magnet-input:focus {
  border-color: var(--color-primary);
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.lead-magnet-input::placeholder {
  color: var(--color-input) !important;
  font-family: 'Plus Jakarta Sans', sans-serif;
  opacity: 1;
  font-weight: 400;
  line-height: 19px;
}
.lead-magnet-error,
.lead-magnet-suggestion {
  height: 0;
  overflow: hidden;
  margin-top: 0;
}
.lead-magnet-error.show-msg {
  height: auto;
  margin-top: 5px;
}
.lead-magnet-suggestion.active {
  height: auto;
  margin-top: 5px;
  display: block;
}
.lead-magnet-error.show-msg {
  display: flex;
  align-items: center;
  color: var(--color-error) !important;
  font-size: 12px !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  line-height: 1.2 !important;
}
.lead-magnet-error.show-msg {
  display: flex;
  align-items: center;
  color: var(--color-error) !important;
  font-size: 12px;
  width: 100%;
}
.error-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 6px;
  width: 16px;
  height: 16px;
  background: none;
}
.error-icon svg {
  width: 16px;
  height: 16px;
  display: block;
}

/* Применить Plus Jakarta Sans к тексту в инпутах */
.lead-magnet-input,
.lead-magnet-input::placeholder {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
}

.lead-magnet-suggestion {
  color: var(--color-error);
  font-size: 13px;
  margin: 0 2px 0 2px;
  font-weight: 600;
  cursor: pointer;
}
.lead-magnet-button {
  border: none;
  width: 100%;
  display: inline-block;
  text-align: center;
  min-height: 55px;
  box-sizing: border-box;
  word-wrap: break-word;
  background: var(--color-primary);
  border-radius: 10px;
  cursor: pointer;
}
.lead-magnet-button:hover {
  background: var(--color-primary);
}
.lead-magnet-form-error {
  min-height: 0;
  height: 0;
  overflow: hidden;
  margin: 0;
  padding: 0;
  text-align: left;
}
.lead-magnet-form-error.show-msg {
  height: auto;
  min-height: 22px;
  margin: 8px 0 0 0;
}

.form-error {
  width: 100%;
  height: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  display: block;
}
.form-error.show {
  height: auto;
  min-height: 18px; /* или сколько нужно для строки ошибки */
  margin-top: 5px;
  padding-left: 5px;
  color: var(--color-error);
}

.lead-magnet-button-label {
  width: 100%;
  margin: 0 auto;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 16px;
  text-align: center;
  letter-spacing: -.01em;
  overflow: hidden;
  text-overflow: ellipsis;
  color: white;
}

.lead-magnet-button-label .dots {
  display: inline-block;
  min-width: 1.6em;
  text-align: left;
  margin-left: 0.2em;
}

/* Добавить стили для плашки сверху */
.top-banner-success {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: var(--color-card);
  box-shadow: var(--color-shadow-sharp), var(--color-shadow-blur);
  padding: 18px 0 14px 0;
  text-align: center;
  opacity: 0;
  display: none;
}
.top-banner-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--color-primary);
  font-family: 'Plus Jakarta Sans', sans-serif;
  margin-bottom: 2px;
}
.top-banner-subtitle {
  font-size: 15px;
  color: var(--color-heading);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 500;
}

/* Кастомный чекбокс для lead-magnet */
.custom-checkbox-label {
  display: flex;
  align-items: center;
  margin: 2px 10px 2px 1px;
  font-size: 13px;
  line-height: 22px;
  white-space: normal;
}
.custom-checkbox,
.custom-checkbox-box {
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  max-width: 18px;
  max-height: 18px;
  aspect-ratio: 1/1;
  flex: 0 0 18px;
  box-sizing: border-box;
}
.custom-checkbox {
  position: absolute;
  opacity: 0;
  z-index: 2;
  cursor: default;
  display: block;
}
.custom-checkbox-box {
  border: 1px solid var(--color-primary);
  background: var(--color-card);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.custom-checkbox:checked + .custom-checkbox-box {
  background: var(--color-primary);
  border-color: var(--color-primary);
}
.custom-checkbox-box::after {
  content: '';
  display: block;
  width: 8px;
  height: 5px;
  border-left: 2.5px solid var(--color-card);
  border-bottom: 2.5px solid var(--color-card);
  opacity: 0;
  position: absolute;
  left: 3px;
  top: 3px;
  transform: scale(0.8) rotate(-45deg);
}
.custom-checkbox:checked + .custom-checkbox-box::after {
  opacity: 1;
}
.custom-checkbox-text {
  display: inline;
  align-items: center;
  font-size: 13px;
  line-height: 22px;
  white-space: normal;
  color: var(--color-heading);
}
.custom-checkbox-agree {
  font-size: 13px;
  line-height: 22px;
  font-weight: 400;
}
.custom-checkbox-terms {
  font-size: 13px;
  line-height: 22px;
  font-weight: 700;
  color: var(--color-primary) !important;
  text-decoration: none;
  margin-left: 2px;
  white-space: normal;
  cursor: pointer;
}
.custom-checkbox-terms:hover, .custom-checkbox-terms:focus {
  text-decoration: underline;
}
.lead-magnet-button[disabled], .lead-magnet-button.disabled {
  background: rgb(var(--color-shadow)) !important;
  cursor: not-allowed !important;
  opacity: 1 !important;
  border: none !important;
}

.card-ticket-rating svg path {
  fill: var(--color-rating) !important;
}

.lead-magnet-agreement {
  display: flex;
  align-items: flex-start;
  margin-bottom: 13px;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.lead-magnet-agreement-checkbox {
  position: relative;
  display: inline-flex;
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  max-width: 18px;
  max-height: 18px;
  font-size: 0;
}

.custom-checkbox {
  position: absolute;
  opacity: 0;
  z-index: 2;
  cursor: default;
  display: block;
}

.checkbox-svg {
  display: block;
  width: 18px;
  height: 18px;
  pointer-events: none;
}

.checkbox-tick { opacity: 0; }

.custom-checkbox:checked + .checkbox-svg .checkbox-tick {
  opacity: 1;
}

.lead-magnet-agreement-text {
  font-size: 13px;
  line-height: 22px;
  color: var(--color-heading);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 400;
  flex: 1 1 0;
  min-width: 0;
}

.custom-checkbox-terms {
  font-size: 13px;
  line-height: 22px;
  font-weight: 700;
  color: var(--color-primary) !important;
  text-decoration: none;
  margin-left: 2px;
  white-space: normal;
  cursor: pointer;
}
.custom-checkbox-terms:hover,
.custom-checkbox-terms:focus {
  text-decoration: underline;
}

/* Центрированный красный кружок для error-icon */
.error-icon-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-error);
  border-radius: 50%;
  width: 16px;
  height: 16px;
  min-width: 16px;
  min-height: 16px;
  margin-right: 6px;
}

.checkbox-outer-wrap {
  display: inline-flex;
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  max-width: 18px;
  max-height: 18px;
  box-sizing: content-box;
  flex: none !important;
  align-self: flex-start !important;
  position: relative;
  aspect-ratio: 1/1;
}
.custom-checkbox, .custom-checkbox-box {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

/* CSS для управления состоянием SVG чекбокса */
.custom-checkbox:checked + .checkbox-svg .checkbox-outline { opacity: 0; }
.custom-checkbox:checked + .checkbox-svg .checkbox-filled { opacity: 1; }
.custom-checkbox:checked + .checkbox-svg .checkbox-tick { opacity: 1; }
.lead-magnet-agreement-checkbox .checkbox-outline { opacity: 1; }
.lead-magnet-agreement-checkbox .checkbox-filled, .lead-magnet-agreement-checkbox .checkbox-tick { opacity: 0; }
.lead-magnet-agreement-checkbox .custom-checkbox:checked ~ .checkbox-svg .checkbox-filled, .lead-magnet-agreement-checkbox .custom-checkbox:checked ~ .checkbox-svg .checkbox-tick { opacity: 1; }
.lead-magnet-agreement-checkbox .custom-checkbox:checked ~ .checkbox-svg .checkbox-outline { opacity: 0; }
.lead-magnet-agreement-checkbox .checkbox-outline { opacity: 1; }
.lead-magnet-agreement-checkbox .checkbox-filled, .lead-magnet-agreement-checkbox .checkbox-tick { opacity: 0; }
.lead-magnet-agreement-checkbox .custom-checkbox:checked ~ .checkbox-svg .checkbox-filled, .lead-magnet-agreement-checkbox .custom-checkbox:checked ~ .checkbox-svg .checkbox-tick { opacity: 1; }
.lead-magnet-agreement-checkbox .custom-checkbox:checked ~ .checkbox-svg .checkbox-outline { opacity: 0; }

.custom-checkbox-terms,
.custom-checkbox-terms:hover,
.custom-checkbox-terms:focus,
.custom-checkbox-terms:active {
  text-decoration: none !important;
}

.card-callout-right {
  width: 100%;
  min-width: 280px;
  max-width: 400px;
  background-color: var(--color-card);
  border-radius: 25px;
  box-shadow: var(--color-shadow-sharp), var(--color-shadow-blur);
  display: flex;
  flex-direction: row;
  align-items: stretch;
  margin-bottom: 20px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  gap: 15px;
  padding: 15px;
  box-sizing: border-box;
  min-height: 198px;
}
.card-callout-right-image {
  width: 112px;
  height: 168px;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-callout-right-image img {
  width: 112px;
  height: 168px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}
.card-callout-right-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  max-width: calc(100% - 127px);
}
.card-callout-right-text {
  text-align: left;
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  margin-bottom: 4px;
  flex-direction: column;
  align-items: flex-start;
}
.card-callout-right-title {
  margin: -2px 0 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-heading);
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.card-callout-right-description {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-subheading);
  margin: 5px 0 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 126%;
}
.card-callout-right-price {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}
.card-callout-right-price-current {
  color: var(--color-primary) !important;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  font-weight: 600;
}
.card-callout-right-price-original {
  color: var(--color-price);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-decoration: line-through;
}
.card-callout-right-button {
  background: var(--color-primary);
  color: var(--color-card);
  text-align: center;
  padding: 12px;
  border-radius: 10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 16px;
  width: 100%;
  border: none;
  cursor: pointer;
}

.site-root {
  touch-action: auto;
}

/* SVG Color Styling */
.checkbox-svg .checkbox-outline { stroke: var(--color-primary); fill: var(--color-card); }
.checkbox-svg .checkbox-filled { stroke: var(--color-primary); fill: var(--color-primary); }
.checkbox-svg .checkbox-tick { stroke: var(--color-card); }
.card-ticket-file-icon svg path { stroke: var(--color-card); }
.card-callout-left-button-arrow-icon svg * { fill: var(--color-card); }

/* Стили для мобильной/портретной версии (по умолчанию) */
.main-layout {
  display: block;
  width: 100%;
}

.store-header {
  padding-top: 40px;
}

@media (min-width: 1344px) {
  html, body {
    height: calc(var(--vh, 1vh) * 100);
  }
  .main-layout {
    max-width: 1440px;
    margin: auto;
    min-height: calc(var(--vh, 1vh) * 100);
    height: calc(var(--vh, 1vh) * 100);
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: stretch;
    width: 100%;
    position: relative;
    overflow: hidden;
  }
  .store-header {
    min-width: 33%;
    max-width: 33%;
    position: sticky;
    margin: 0;
    box-sizing: border-box;
    background-repeat: no-repeat;
    overflow: visible;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 0;
    border-right: none;
    background: var(--color-background);
    z-index: 10;
  }
  .store-header--image {
    margin: 0 0 18px 0;
  }
  .store-content {
    /* Убираем фиксированную высоту и flex-grow */
    width: 100%;
    max-width: 900px;
    padding: 0 16px;
    background: var(--color-background);
    overflow-y: auto;
    overflow-x: hidden;
    align-self: center;
    margin-top: auto;
    margin-bottom: auto;
    height: auto;
    min-height: 0;
    max-height: none;
    flex-grow: 0;
  }
}

@media (max-width: 1344px) {
  .store-content {
    padding: 40px 15px;
  }
}

@media (max-width: 1344px) {
  .main-layout {
    display: block;
    height: auto;
    min-height: 0;
  }
  .store-header {
    position: static;
    height: auto;
    min-width: 0;
    max-width: 100%;
    border-right: none;
    padding: 0;
    box-sizing: border-box;
  }
  .store-content {
    height: auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    background: var(--color-background);
  }
}

@media (min-width: 1344px) and (orientation: landscape) {
  .main-layout {
    height: calc(var(--vh, 1vh) * 100) !important;
    min-height: calc(var(--vh, 1vh) * 100);
    align-items: flex-start;
  }
  .store-content {
    flex-grow: 1;
    max-height: calc(var(--vh, 1vh) * 100);
    min-height: 0;
    padding: 40px 0 40px;
    overflow-y: auto;
    overflow-x: hidden;
  }
}

/* Разрешаем горизонтальный скролл на десктопах */
@media (min-width: 690px) {
  html, body {
    overflow-x: hidden !important;
  }
  .store-content {
    overflow-x: hidden !important;
  }
}

/* Ограничения только для мобильных устройств */
@media (max-width: 690px) {
  html, body {
    overflow-x: hidden !important;
  }
  .store-content {
    overflow-x: hidden !important;
  }
}

@media (max-width: 1344px) {
  html, body, .main-layout {
    min-height: 0 !important;
    height: auto !important;
  }
  .store-content {
    max-height: none !important;
    min-height: 0 !important;
    height: auto !important;
  }
}

/* Loader styles */
.loader {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 14px;
  width: 84px;
}
.loader-dot {
  width: 14px;
  height: 14px;
  margin: 0 7px;
  border-radius: 50%;
  border-style: solid;
  border-width: 2.8px;
  border-color: var(--color-primary);
  background: transparent;
  animation: loader-dot-bounce 1s infinite ease-in-out;
  animation-fill-mode: both;
  box-sizing: border-box;
}
.loader-dot:nth-child(1) { animation-delay: 0.3s; }
.loader-dot:nth-child(2) { animation-delay: 0.6s; }
.loader-dot:nth-child(3) { animation-delay: 0.9s; }
@keyframes loader-dot-bounce {
  0%, 80%, 100% { transform: scale(1); opacity: 1; }
  40% { transform: scale(0.5); opacity: 0.5; }
}

/* Блокировка взаимодействия при показе загрузчика */
body.loading, html.loading {
  overflow: hidden !important;
  user-select: none !important;
  pointer-events: none !important;
  touch-action: none !important;
  position: fixed !important;
  width: 100% !important;
  height: 100% !important;
}

/* Дополнительная блокировка скролла для всех элементов */
body.loading .main-layout,
body.loading .store-content,
body.loading .site-root {
  overflow: hidden !important;
  pointer-events: none !important;
}
#site-loader {
  pointer-events: all !important;
  user-select: none !important;
}

.lead-magnet-input:-webkit-autofill,
.lead-magnet-input:-webkit-autofill:focus,
.lead-magnet-input:-webkit-autofill:hover,
.lead-magnet-input:-webkit-autofill:active {
  -webkit-text-fill-color: var(--color-primary) !important;
  caret-color: var(--color-primary) !important;
  transition: background-color 9999s ease-in-out 0s;
  background-color: var(--color-form) !important;
}
.lead-magnet-input:-moz-autofill {
  color: var(--color-primary) !important;
  caret-color: var(--color-primary) !important;
  background-color: var(--color-form) !important;
}
.lead-magnet-input:-ms-input-autofill {
  color: var(--color-primary) !important;
  caret-color: var(--color-primary) !important;
  background-color: var(--color-form) !important;
}
.lead-magnet-input:autofill {
  color: var(--color-primary) !important;
  caret-color: var(--color-primary) !important;
  background-color: var(--color-form) !important;
}

/* Скрыть все скроллбары (лифты) для всех браузеров */
html, body, .store-content, .main-layout, .masonry--grid, .masonry--column {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE и Edge */
}

html::-webkit-scrollbar, body::-webkit-scrollbar, .store-content::-webkit-scrollbar, .main-layout::-webkit-scrollbar, .masonry--grid::-webkit-scrollbar, .masonry--column::-webkit-scrollbar {
  display: none;
}

/* Применить новую тень к карточкам, кнопкам соцсетей и дивайдерам */
.card-pill-small,
.card-pill-big,
.card-callout-left,
.card-callout-center,
.card-ticket,
.card-callout,
.card-callout-right,
.lead-magnet,
.section-title,
.social-icons--icon {
  box-shadow: var(--color-shadow-sharp), var(--color-shadow-blur);
}