html {
  scroll-behavior: smooth;
}

#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #ccc;
    border-top-color: #fa7327;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Скрываем контент пока загружается */
body.loading {
    overflow: hidden;
}


.page {
  font-family: "Inter", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.page .main {
  flex: 1 auto;
}

.container {
  min-width: 300px;
  max-width: 1120px;
  position: relative;
  margin-inline: auto;
  font-size: 0;
  padding-inline: 16px;
}

#q00,
#q0,
#q1,
#q2,
#q3,
#q4,
#q5,
#q6,
#q7,
#q8,
#q9,
#q10,
#q11,
#q12,
#q13,
#q14,
#q15,
#q9a,
#q9b,
#q9c,
#q9d {
  border-radius: 0;
  overflow: hidden;
  width: 100%;
  /* min-width: 300px; */
  /* max-width: 700px; */
  display: none;
  line-height: clamp(1.375rem, 1.239rem + 0.68vw, 1.75rem);
  font-size: 22px;
  color: #000;
  margin: 0 auto;
}

.button-faq {
  position: fixed;
  bottom: 60px;
  right: 0;
  margin: 20px;
  z-index: 999;
  border: none;
  background: rgba(0, 0, 0, 0);
}

.faq {
  padding: 0;
  position: fixed;
  bottom: 0;
  right: 0;
  max-width: 0;
  height: 100%;
  z-index: 9999;
  background: #f5f5f5;
  overflow-y: auto;
  overflow: hidden;
  transition: all 0.6s 0.1s;
}
.faq.faq-active {
  padding: 1rem;
  max-width: 100%;
}
.faq .faq-close {
  width: 35px;
  height: 35px;
  margin-left: auto;
  margin-right: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: none;
  border: none;
}
.faq .accordion {
  width: min(90vw, 27rem);
}


.content__logo {
  max-width: 450px;
  width: 100%;
  padding: 20px;
}
.content__title {
  color: var(--text-color);
  font-size: clamp(1.375rem, 1.284rem + 0.45vw, 1.625rem);
  font-weight: 700;
}
.content__subtitle {
  color: var(--text-color);
  font-size: 14px;
  font-weight: 400;
}
.content__count {
}
.contetn__count-text {
  color: var(--text-color);
  font-size: 14px;
  font-weight: 400;
}
.content__count-image {
  margin: 1rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.content__count-image img {
  max-width: 50px;
  opacity: 0.5;
}
.content__count-image .active {
  opacity: 1;
}
.content__question {
  color: var(--text-color);
  font-size: clamp(1.375rem, 1.284rem + 0.45vw, 1.625rem);
  font-weight: 700;
  margin-bottom: 0.7rem;
}
.content__buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.button__y {
  all: unset;
  padding: 1rem;
  flex: 1 0 auto;
  background: var(--accent-color);
  color: #000;
  font-weight: 500;
  font-size: 1.25rem;
  text-align: center;
  border: 1px solid var(--btn-bg);
  border-radius: 0.75rem;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
}
.button__n {
  all: unset;
  padding: 1rem;
  flex: 1 0 auto;
  border: 1px solid #e81727;
  background: rgba(0, 0, 0, 0);
  color: #000;
  font-weight: 500;
  font-size: 1.25rem;
  text-align: center;
  border-radius: 0.75rem;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
}
.content__mascot {
  max-width: 180px;
  width: 100%;
}

.goft-box-title {
  padding-block: 20px;
  font-size: clamp(1.375rem, 1.284rem + 0.45vw, 1.625rem);
  color: var(--text-color);
}

.order {
  max-width: 393px;
  width: 100%;
  margin-inline: auto;
  margin-block: 20px;
}


.order__form {
  display: flex;
  flex-direction: column;
  text-align: left;
}
.form {
}
.form label {
  font-size: 12px;
  font-weight: 400;
  color: #242424;
  /* margin-bottom: 8px; */
}
.form label::after {
  content: '*';
  color: #ff3b30;
}

.form__input {
  padding: 0.5rem;
  border: 1px solid #c7c7cc;
  border-radius: 0.5rem;
  margin-bottom: 15px;
  font-size: 12px !important;
  font-weight: 300 !important;
  height: 46px;
}
input {
  font-family: inherit !important;
  font-size: 12px !important;
  font-weight: 300 !important;
}
input::placeholder {
  font-family: inherit !important;
}
.form__input::placeholder {
  font-size: 12px !important;
  font-weight: 300 !important;
  opacity: 0.5;
}


.radio {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 20px;
  margin-bottom: 24px;
}
.radio input {
  display: none;
}
.radio input:checked ~ label::before {
  content: url(./../images/checked.svg);
  border: none;
}
.radio label {
  position: relative;
  padding-left: 2rem;
  flex-grow: 1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.radio label img {
  height: 1.25rem;
}
.radio label .name {
  margin: 0 !important;
  font-weight: 400;
  font-size: 0.75rem;
}
.radio label::after {
  content: none;
}
.radio label::before {
  content: '';
  position: absolute;
  left: 0;
  border: 2px solid #636366;
  border-radius: 0.62rem;
  width: 1.25rem;
  height: 1.25rem;
  box-sizing: border-box;
}
.radio .description {
  flex: 1 0 100%;
  text-align-last: left;
  font-family: sans-serif;
}
.radio .description p {
  margin: 0;
  font-weight: 400;
  font-size: 0.75rem;
  color: #8e8e93;
}
.stage_button {
  width: 100%;
  border: none;
  background-color: var(--accent-color);
  color: #fff;
  border-radius: 12px;
  padding-block: 11px;
  font-size: 24px;
  font-weight: bold;
  font-family: 'Unbounded', serif;
  -webkit-text-stroke: 0.2px black;
  text-shadow: none;
  line-height: 26.4px;
  margin-bottom: 30px;
}
/* .stage_button:disabled {
  background: rgba(0, 0, 0, 0);
  color: #e81727;
  opacity: 0.5;
} */

.tel-wrapper {
  padding: 0.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border: none;
  border: 1px solid #c7c7cc;
  border-radius: 0.5rem;
  margin-bottom: 15px;
}
.tel-wrapper:has(input:focus) {
  border-color: #ff9500;
  outline: none;
}
.cart
  .form
  .stage
  .stage-wrapper
  .input.tel
  .tel-wrapper:has(input:user-invalid) {
  border-color: #ff3b30;
  outline: none;
}
.tel-wrapper input {
  padding: 0;
  border: none;
  width: 100%;
}
.tel-wrapper input:focus {
  outline: none;
}
.tel-wrapper input:user-invalid {
  border: none;
  outline: none;
}
.tel-wrapper .flag {
  display: grid;
  place-content: center;
  padding-inline: 4px;
  height: 1.5rem;
  border: 0.6px solid #8e8e93;
  border-radius: 5px;
  background: rgba(120, 120, 128, 0.2);
}
.tel-wrapper .flag img {
  height: 0.8rem;
}
.error {
  flex: 1 0 100%;
}

.order__header {
  /* flex: 1 1 30rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: #fff; */
}

.order__header {
  display: flex;
  align-items: center;
  margin-top: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(72, 87, 117, 0.5);
  margin-bottom: 24px;
}
.order__header-image {
  max-width: 147px;
  width: 100%;
}
.order__header-mid {
  margin-right: auto;
}
.order__header-mid p {
  font-size: 18px;
  margin: 0;
}
.order__header-mid span { 
  font-size: 16px;
  color: rgba(0, 0, 0, 0.5);
}
.order__header-price {
  font-size: 24px;
  color: rgba(255, 157, 157, 1);
}
.order__title {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 24px;
}



.final-block {
  max-width: 393px;
  margin-inline: auto;
  margin-top: 32px;
  font-size: 16px;
  line-height: 17.6px;
  font-weight: 400;
}

.final__check-image {
  display: block;
  max-width: 63px;
  width: 100%;
  margin-inline: auto;
  margin-bottom: 24px;
}
.user {
  display: flex;
  column-gap: 10px;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 20px;
  font-weight: 600;
  color: #EF0606;
  font-family: 'Unbounded', serif;
}
.user__name {
}
.user__last {
}
.final__aprove {
  font-size: 20px;
  font-weight: 600;
  text-align: center;
}

.summary-wrapper {
}
.delivery__price {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(72, 87, 117, 0.5);
  padding-bottom: 24px;
}
.delivery__price-text {
}
.delivery__price-sum {
}
.block {
}
.post {
}
.text {
}
.final__total {
  display: flex;
  flex-direction: column;
  row-gap: 20px;
  align-items: center;
  padding-block: 24px;
  font-size: 20px;
  font-weight: 600;
  border-bottom: 1px solid rgba(72, 87, 117, 0.5);
  margin-bottom: 24px;
}
.final__total-text {
}
.final__total-price {
  font-size: 32px;
  font-weight: 600;
}



.summary-wrapper {
  /* display: flex; */
  flex-wrap: wrap;
  gap: 0.75rem;
}
.summary-wrapper .block {
  display: flex;
  justify-content: space-between;
  padding-block: 24px;
  border-bottom: 1px solid rgba(72, 87, 117, 0.5);
}

.summary-wrapper .block.price-product,
.summary-wrapper .block.price-delivery {
  flex: 0 1 calc(50% - 0.375rem);
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
}
@media (max-width: 499px) {
  .summary-wrapper .block.price-product,
  .summary-wrapper .block.price-delivery {
    flex: 40%;
  }
}
.summary-wrapper .block.price-product .name,
.summary-wrapper .block.price-delivery .name {
  margin: 0;
  color: #707070;
  font-size: 0.875rem;
  font-weight: 400;
}
.summary-wrapper .block.price-product .price,
.summary-wrapper .block.price-delivery .price {
  color: #121212;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.125rem;
}
.summary-wrapper .block.post {
  flex: 1 0 100%;
  align-items: center;
  justify-content: space-between;
}
.summary-wrapper .block.post .name {
  margin: 0;
  color: #707070;
  font-size: 0.875rem;
  font-weight: 400;
}
.summary-wrapper .block.post img {
  height: 2.5rem;
}
.summary-wrapper .block.total {
  flex: 1 0 100%;
  flex-direction: column;
}
.summary-wrapper .block.total .name {
  color: #474747;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 400;
}
.summary-wrapper .block.total .price {
  color: #121212;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 2rem;
}
.summary-wrapper #sendForm {
  all: unset;
  width: 100%;
  margin-top: 1rem;
  padding: 1rem;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
  border-radius: 0.5rem;
  background: #e81727;
  border: 1px solid #e81727;
  cursor: pointer;
}
#notification {
  display: none;
}
.notifications {
  position: fixed;
  top: 0;
  right: 0;
  margin: 5px;
  max-width: 399px;
  /* z-index: 999; */
  /* overflow: hidden; */
  box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  z-index: 99;
}
.notifications__items {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
.notifications__item {
  display: flex;
  justify-content: space-between;
  background-color: #fff;
  border-radius: 10px;
  /* border: 1px solid #e2dede; */
  padding: 6px 0px;
  margin-top: 5px;
  
  padding: 12px 30px 12px 12px;
  position: relative;
}
.notifications__item__img {
  max-width: 53px;
  width: 100%;
  margin: 0 2px 0 6px;
}
.notifications__item__img img {
  max-width: 53px;
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
}
.notifications__item__content {
  padding: 0 5px;
}
.notifications__item__content__header {
  font-size: 11px;
}
.notifications__item-name {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  text-wrap: nowrap;
  font-size: 16px;
  font-weight: bold;
}
.notifications__item-address {
  text-decoration: underline;
}
.notifications__item__content__desc {
  font-size: 16px;
  font-weight: 500;
  color: #134094;
}
.notifications__item__content__bottom {
  display: flex;
  align-items: center;
}
.notifications__item__time {
  font-size: 13px;
  color: rgba(36, 36, 36, 0.5);
}
.notifications__item__icons {
  position: relative;
  display: flex;
  margin-left: 10px;
  width: 15px;
  height: 15px;
}
.notifications__item__icons img {
  position: absolute;
  margin-right: 10px;
  width: 15px;
  height: 15px;
  animation: checIn 3s cubic-bezier(1, -1.23, 0.49, 1.56);
}
.notifications__item__btn {
  position: absolute;
  top: 0;
  right: 5px;
  /* margin: 0 10px 0 5px; */
}
.notifications__item__btn-close {
  vertical-align: inherit;
}
.notifications__item-top-text {
  font-size: 12px;
  color: rgba(36, 36, 36, 0.5);
}


