@font-face {
  font-family: "mak";
  src: url("../fonts/MAK.ttf");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "cmu_ital";
  src: url("../fonts/cmu_ital.ttf");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "cmu";
  src: url("../fonts/cmu.ttf");
  font-weight: normal;
  font-style: normal;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

a {
  text-decoration: none;
}

#sp-main-body {
  padding: 0;
}

#infinity {
  /*--primary-color: #333;
    --secondary-color: #eee;*/
  --background-color: #f5f1ee;
  --header-color: #303030;
  --text-color: #303030;
  --main-font: "cmu", sans-serif; /* РћСЃРЅРѕРІРЅРѕР№ С€СЂРёС„С‚ */
  --beauty-font: "mak", sans-serif; /* РЁСЂРёС„С‚ РґР»СЏ Р·Р°РіРѕР»РѕРІРєРѕРІ */
  --secondary-font: "cmu_ital", sans-serif; /* Р’С‚РѕСЂРѕР№ С€СЂРёС„С‚ */
}

#infinity p {
  margin: 0;
}

#infinity #home {
  height: calc(100vh - 0px);
}
#infinity {
  font-family: var(--main-font);
  font-size: 24px;
  line-height: 120%;
  color: var(--text-color);
  background: var(--background-color);
}
#infinity .header-img-mobile {
  display: none;
}
#infinity .title_text {
  font-family: var(--beauty-font);
  font-size: 64px;
  line-height: 120%;
  color: var(--text-color);
  font-weight: normal;
  text-transform: uppercase;
}

#infinity .title_text {
  font-family: var(--beauty-font);
  font-size: 64px;
  line-height: 120%;
  color: var(--text-color);
}

#infinity .ital_text {
  font-family: var(--secondary-font);
}

#infinity .info-invitation {
  max-width: 1050px;
  display: grid;
  -ms-grid-columns: calc(45% - 50px) 1fr;
  grid-template-columns: calc(45% - 50px) 1fr;
  gap: 50px;
  margin: 80px auto;
  height: calc(100% - 160px);
}

#infinity .welcome_title_text {
  text-transform: uppercase;
}

#infinity .date-full-welcome {
  font-family: var(--beauty-font);
  font-size: 36px;
  line-height: 120%;
  text-transform: uppercase;
}

#infinity .info-date__invitation {
  text-align: left;
  display: grid;
  gap: 30px;
  justify-items: start;
  align-content: center;
}

#infinity .info-date__check-in {
  max-width: 1050px;
  display: grid;
  -ms-grid-columns: calc(55% - 50px) 1fr;
  grid-template-columns: calc(55% - 50px) 1fr;
  gap: 50px;
  margin: 80px auto;
  height: calc(100% - 160px);
  align-items: center;
}
#infinity .registration_title_text {
  text-transform: uppercase;
}
#infinity .line-decoration {
  border-bottom: 1px solid var(--header-color);
  width: 300px;
  margin: 26px 0 36px 0;
}

#infinity .registration_descr_text,
#infinity .banquet_descr_text {
  margin-bottom: 36px;
}

#infinity #registration-time,
#infinity #banquet-time {
  margin-top: 10px;
}
#infinity .dresscode-foto img {
  height: fit-content;
  display: block;
  width: 30%;
}
#infinity .place-one-left {
  text-align: left;
}
#infinity .details-block {
  max-width: 1150px;
  display: grid;
  -ms-grid-columns: calc(55% - 50px) 1fr;
  grid-template-columns: calc(55% - 50px) 1fr;
  gap: 50px;
  margin: 80px auto;
  padding: 0 50px;
  height: calc(100% - 160px);
  align-items: center;
}
#infinity button {
  width: 300px;
  color: var(--header-color);
  text-transform: uppercase;
  background: transparent;
  border: 1px solid var(--header-color);
  border-radius: 0px;
}
#infinity .details-block-left {
  display: grid;
  gap: 10px;
  justify-items: start;
  align-content: center;
  text-align: left;
}

#infinity #details-container {
  display: grid;
  gap: 20px;
  justify-items: start;
  align-content: center;
}
#infinity .dresscode_descr_text {
  max-width: 850px;
  margin: 0 auto;
}
#infinity .dresscode__colors {
  display: flex;
  gap: 20px;
  justify-content: center;
}
#infinity .dresscode__color {
  max-width: 100px;
  max-height: 100px;
}

#infinity .dresscode-foto {
  display: flex;
  gap: 20px;
  justify-content: center;
}

#infinity .dresscode {
  display: flex;
  gap: 100px;
  flex-direction: column;
}
#infinity .dresscode_common,
#infinity .dresscode_woman,
#infinity .dresscode_man {
  display: flex;
  gap: 32px;
  flex-direction: column;
}
#infinity .rsvp {
  background: var(--header-color);
  padding: 50px 0;
}

#infinity .rsvp-block {
  max-width: 1050px;
  display: grid;
  -ms-grid-columns: calc(45% - 50px) 1fr;
  grid-template-columns: calc(45% - 50px) 1fr;
  gap: 100px;
  margin: 80px auto;
  height: calc(100% - 160px);
  align-items: center;
}

#infinity .rsvp-block-right {
  text-align: left;
  margin-right: 50px;
}

#infinity .rsvp-block-right h2 {
  color: var(--background-color);
}
#infinity .rsvp-block-right p {
  color: var(--background-color);
}
#infinity #rsvp {
  margin-top: 40px;
}
#infinity #rsvp input {
  width: 100%;
  border-radius: 0px;
  /* border: 1px solid var(--background-color); */
  background: #f5f5f540;
  font-family: var(--secondary-font);
  color: var(--header-color);
  text-transform: uppercase;
  font-size: 20px;
  /* line-height: 20px; */
  margin: 10px 0;
  height: 50px;
  max-width: 320px;
}
#infinity .rsvp__buttons {
  display: flex;
  gap: 20px;
  margin-top: 45px;
}
#infinity #rsvp button {
  width: calc(50% - 10px);
  color: var(--header-color);
  text-transform: uppercase;
  background: var(--background-color);
  border: 1px solid var(--background-color);
  border-radius: 0px;
  font-family: var(--secondary-font);
  text-transform: uppercase;
  /* line-height: normal; */
}
#infinity .error-rsvp,
#infinity .rsvp-message {
  color: var(--background-color);
}
#infinity #question .error-rsvp,
#infinity #question .rsvp-message {
  padding-bottom: 20px;
  color: var(--header-color);
}
#infinity .timer__block {
  font-family: var(--beauty-font);
  font-size: 52px;
  line-height: 120%;
  color: var(--text-color);
}

#infinity .timer__bloks {
  display: flex;
  gap: 30px;
  justify-content: center;
  margin: 50px auto;
}

#infinity .timer {
  margin: 100px auto;
}
#infinity .timer__block-info {
  padding: 20px 20px;
  border-left: 1px solid black;
  border-right: 1px solid black;
}

#infinity .question {
  padding: 100px 0;
}

#infinity .question__bloks {
  width: 80%;
  margin: auto;
  max-width: 800px;
}
#infinity .question__container {
  display: flex;
  gap: 40px;
  flex-direction: column;
}
#infinity #question {
  display: flex;
  gap: 20px;
  flex-direction: column;
  text-align: left;
}
#infinity #question input {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--header-color);
  border-radius: 0px;
  width: 100%;
  padding: 8px;
}
#infinity #question fieldset {
  display: flex;
  gap: 8px;
  flex-direction: column;
  border: none;
}
#infinity #question button {
  width: 100%;
  padding: 10px;
}
.view_map {
  width: 100%;
  padding: 10px;
  border: 1px solid rgba(0, 0, 0, 0.645);
  border-radius: 0px;
  color: #303030;
  display: flex;
  justify-content: center;
}
#infinity .question__visible-radio {
  display: inline-block;
  vertical-align: middle;
  width: 16px;
  height: 16px;
  border: 1px solid rgba(0, 0, 0, 0.645);
  border-radius: 50%;
  cursor: pointer;
  background-color: #fff; /* Р±Р°Р·РѕРІС‹Р№ Р±РµР»С‹Р№ С†РІРµС‚ */
  transition:
    background-color 0.3s ease,
    border-color 0.3s ease; /* Р”РѕР±Р°РІР»СЏРµРј transition */
}

#infinity .question__unvisible:checked + .question__visible-radio {
  background-color: var(
    --header-color
  ); /* Р¦РІРµС‚ РІС‹РґРµР»РµРЅРёСЏ РёР· РїРµСЂРµРјРµРЅРЅРѕР№ */
  border-color: var(--header-color);
}

#infinity .question__visible-checkbox {
  display: inline-block;
  vertical-align: middle;
  width: 15px;
  height: 15px;
  border: 1px solid rgba(0, 0, 0, 0.645);
  cursor: pointer;
  background-color: #fff;
  transition:
    background-color 0.3s ease,
    border-color 0.3s ease; /* Р”РѕР±Р°РІР»СЏРµРј transition */
}
#infinity .question__unvisible:checked + .question__visible-checkbox {
  background-color: var(
    --header-color
  ); /* Р¦РІРµС‚ РІС‹РґРµР»РµРЅРёСЏ РёР· РїРµСЂРµРјРµРЅРЅРѕР№ */
  border-color: var(--header-color);
}

#infinity .question__unvisible:disabled + .question__visible-radio {
  border: 1px solid #444444;
  background-color: var(--primary-color);
}
#infinity .question__unvisible:disabled:checked + .question__visible-radio {
  border-color: #fbf8ec;
  background-color: var(
    --header-color
  ); /* Р¦РІРµС‚ РІС‹РґРµР»РµРЅРёСЏ РёР· РїРµСЂРµРјРµРЅРЅРѕР№ */
}

#infinity .question__unvisible:disabled + .question__visible-checkbox {
  border: 1px solid #444444;
  background-color: #fbf8ec;
}
#infinity .question__unvisible:disabled:checked + .question__visible-checkbox {
  border-color: #fbf8ec;
  background-color: var(--header-color);
}

#infinity .question__unvisible:focus + .question__visible-radio {
  box-shadow: 0 0 5px var(--header-color);
}
#infinity .question__unvisible:focus + .question__visible-checkbox {
  box-shadow: 0 0 5px var(--header-color);
}
#infinity .question__unvisible {
  font-family: inherit;
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(0 0 0 0);
}
#infinity .question__label {
  display: flex;
  align-items: center;
  gap: 10px;
}
#infinity .question__input {
  font-family: var(--secondary-font);
  color: #000;
  text-transform: uppercase;
  font-size: 20px;
}
#infinity .footer {
  padding: 0px 0 100px 0;
}
@media screen and (max-width: 1700px) {
  #infinity {
    font-family: var(--main-font);
    font-size: 22px;
    line-height: 120%;
    color: var(--text-color);
  }
  #infinity .title_text {
    font-family: var(--beauty-font);
    font-size: 56px;
    line-height: 120%;
    color: var(--text-color);
  }
  #infinity .descr_text {
    font-family: var(--main-font);
    font-size: 22px;
    line-height: 120%;
    color: var(--text-color);
  }
}

@media screen and (max-width: 1300px) {
  #infinity {
    font-family: var(--main-font);
    font-size: 20px;
    line-height: 120%;
    color: var(--text-color);
  }
  #infinity .title_text {
    font-family: var(--beauty-font);
    font-size: 52px;
    line-height: 120%;
    color: var(--text-color);
  }
  #infinity .descr_text {
    font-family: var(--main-font);
    font-size: 20px;
    line-height: 120%;
    color: var(--text-color);
  }
}
#music-overlay {
  position: fixed;
  top: 30px;
  right: 72px;
  z-index: 9999;
}

.music-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--background-color);
  border: 1px solid #000;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  font-size: 28px;
  color: #000;
  cursor: pointer;
  transition: 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.music-btn:hover {
  transform: scale(1.1);
  background: #fff;
  border-color: #000;
}

.music-btn:active {
  transform: scale(0.95);
}

#music-icon {
  line-height: 1;
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
  .music-btn {
    width: 50px;
    height: 50px;
    font-size: 22px;
    bottom: 20px;
    right: 20px;
  }
}
@media screen and (max-width: 800px) {
  #infinity {
    font-family: var(--main-font);
    font-size: 16px;
    line-height: 120%;
    color: var(--text-color);
    overflow: hidden;
  }
  #infinity .title_text {
    font-family: var(--beauty-font);
    font-size: 36px;
    line-height: 130%;
    color: var(--text-color);
  }
  #infinity .descr_text {
    font-family: var(--main-font);
    font-size: 16px;
    line-height: 120%;
    color: var(--text-color);
    margin: auto;
    text-align: center;
    margin-top: 24px;
  }
}
#infinity .menu__link {
  font-family: var(--secondary-font);
  font-size: 20px;
  text-transform: uppercase;
  line-height: 120%;
}
#infinity .menu__links {
  width: 70%;
  max-width: 1000px;
}

#infinity .header-blocks {
  max-width: 1050px;
  display: grid;
  -ms-grid-columns: 32.258065% 1fr;
  grid-template-columns: auto 1fr;
  gap: 50px;
  margin: 0px auto;
  height: calc(100% - 160px);
  width: 80%;
  overflow-x: hidden;
}

#infinity .header-block-left {
  display: grid;
  -ms-grid-columns: 32.258065% 1fr;
  grid-template-rows: auto 1fr;
  height: 100%;
}
#infinity .header-block-right {
  text-align: left;
  display: grid;
  -ms-grid-columns: 32.258065% 1fr;
  grid-template-rows: 1fr auto;
}

#infinity .header-block-left-inside p {
  font-size: 72px;
  font-size: 72px;
  letter-spacing: 1.2px;
  line-height: 62px;
  margin: 0;
  font-family: var(--beauty-font);
}
#infinity .header-block-left-inside {
  padding: 30px 20px;
  border-right: 1px solid black;
}
#infinity .header-block-right-inside p {
  font-family: var(--secondary-font);
  font-size: 20px;
  text-transform: uppercase;
  line-height: 120%;
}
#infinity .header-block-right-inside p#groom,
#infinity .header-block-right-inside p#bride {
  font-family: var(--beauty-font);
  font-size: 62px;
  line-height: 120%;
  text-transform: uppercase;
}

#infinity .header-block-right-inside p#groom {
  font-family: var(--beauty-font);
  font-size: 62px;
  line-height: 100%;
  text-transform: uppercase;
  margin: 20px auto 0;
}
#infinity .header-block-right-inside p#bride {
  font-family: var(--beauty-font);
  font-size: 62px;
  line-height: 100%;
  text-transform: uppercase;
  margin: 0 auto 20px;
}

#infinity .header-img {
  position: absolute;
  top: 100px;
  width: 850px;
  resize: 80%;
  right: 10%;
  top: 10vh;
}
img {
  width: 100%;
}

#infinity .timetable__block {
  display: flex;
  flex-direction: column;

  gap: 0;
}
#infinity .timetable {
  max-width: 1050px;
  margin: 150px auto;
  width: 80%;
}
#infinity .timetable__block-stroke {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

#infinity .timetable__block-img img {
  max-width: 300px;
  width: 300px;
  max-height: 200px;
}
#infinity .timetable__block-line {
  max-width: 40px;
}
#infinity .timetable__block-texts {
  text-align: left;
  max-width: 500px;
  width: 500px;
  margin-left: 30px;
}
#infinity .timetable__block-time,
#infinity .timetable__block-name {
  font-size: 36px;
  line-height: 130%;
  font-family: var(--beauty-font);
  text-transform: uppercase;
}
@media screen and (max-width: 1700px) {
  #infinity .header-img {
    width: 750px;
  }
}

@media screen and (max-width: 1300px) {
  #infinity .header-img {
    position: absolute;
    top: 100px;
    right: 50px;
    width: 550px;
    top: 12vh;
  }
  #infinity .menu__links {
    width: 90%;
    max-width: 1000px;
  }
  #infinity .info-invitation {
    max-width: 800px;
    display: grid;
    -ms-grid-columns: calc(45% - 50px) 1fr;
    grid-template-columns: calc(45% - 50px) 1fr;
    gap: 50px;
    margin: 80px 5%;
    height: calc(100% - 160px);
    align-items: center;
  }
  #infinity .info-date__invitation {
    text-align: left;
    display: grid;
    gap: 15px;
    justify-items: start;
    align-content: center;
  }
  #infinity .info-date__img img {
    max-width: 350px;
    width: 100%;
  }
  #infinity .places {
    max-width: 90%;
    margin: auto;
  }

  #infinity .timetable {
    max-width: 850px;
    margin: 100px auto;
    width: 80%;
  }
  #infinity .title_text {
    font-family: var(--beauty-font);
    font-size: 26px;
    line-height: 120%;
    color: var(--text-color);
    text-align: center;
    margin: auto;
  }
  #infinity .timetable__block {
    grid-template-columns: repeat(6, 110px);
    margin: 0px 0 80px;
  }
  #infinity .timetable__block-stroke {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
  }
  #infinity .timetable__block-img img {
    max-width: 200px;
    width: 200px;
    max-height: 120px;
  }
  #infinity .timetable__block-line {
    max-width: 25px;
  }
  #infinity .timetable__block-texts {
    text-align: left;
    max-width: 400px;
    width: 400px;
    margin-left: 20px;
  }
  #infinity .timetable__block-time,
  #infinity .timetable__block-name {
    font-size: 26px;
    line-height: 130%;
    font-family: var(--beauty-font);
    text-transform: uppercase;
  }
}

@media screen and (max-width: 800px) {
  #infinity #home {
    height: calc(100vh - 0px);
  }
  #infinity .header-img-mobile {
    display: block;
  }
  #infinity .header-blocks {
    max-width: 1050px;
    display: flex;
    -ms-grid-columns: 32.258065% 1fr;
    grid-template-columns: auto 1fr;
    gap: 0px;
    margin: 0px auto;
    height: calc(100% - 0px);
    flex-direction: column;
    justify-content: space-between;
    padding: 80px 30px 70px 30px;
  }
  #infinity .header-block-left {
    display: grid;
    -ms-grid-columns: 32.258065% 1fr;
    grid-template-rows: auto 1fr;
    /* height: 100%; */
    justify-content: start;
  }
  #infinity .header-block-left-inside {
    padding: 10px 15px 32px 0px;
  }
  #infinity .header-block-left-inside p {
    font-size: 96px;
    font-size: 72px;
    letter-spacing: 1.2px;
    line-height: 64px;
    margin: 0;
  }
  #infinity .header-block-right {
    text-align: left;
    display: grid;
    -ms-grid-columns: 32.258065% 1fr;
    grid-template-rows: 1fr auto;
    justify-content: end;
  }
  #infinity .header-block-right-inside p#groom {
    font-size: 64px;
    line-height: 120%;
    margin: 10px auto 0;
  }
  #infinity .header-block-right-inside p#bride {
    font-size: 64px;
    line-height: 120%;
    margin: 0 auto 20px;
  }
  #infinity .header-img-mobile {
    position: absolute;
    top: 100px;
    right: 50px;
    width: 350px;
    resize: 80%;
    right: 5%;
    top: 30vh;
    width: 55%;
  }
  #infinity .header-img {
    display: none;
  }
  #infinity .info-invitation {
    max-width: 650px;
    display: flex;
    gap: 50px;
    margin: 80px 20px;
    height: calc(100% - 160px);
    flex-direction: column;
    text-align: center;
  }
  #infinity .welcome-img {
    width: 80%;
    margin: auto;
  }
  #infinity .info-date__invitation {
    /* text-align: left; */
    display: grid;
    gap: 30px;
    justify-items: start;
    align-content: center;
    text-align: center;
  }
  #infinity .date-full-welcome {
    font-family: var(--beauty-font);
    font-size: 24px;
    /* line-height: 120%; */
    text-transform: uppercase;
    text-align: center;
    margin: auto;
  }
  #infinity .info-date__check-in {
    max-width: 550px;
    display: flex;
    gap: 50px;
    margin: 80px 20px;
    align-items: center;
    flex-direction: column-reverse;
  }
  #infinity .place-one-left {
    text-align: center;
  }
  #infinity .line-decoration {
    width: 200px;
    margin: 26px auto 36px auto;
  }
  #infinity button {
    width: 200px;
  }
  #infinity .info-date__img {
    max-width: 350px;
    margin: auto;
  }
  #infinity .timetable {
    max-width: 450px;
    margin: 50px auto 120px auto;
    width: 80%;
  }
  #infinity .timetable__block {
    display: flex;
    flex-direction: column;
    gap: 55px;
    margin: 60px auto;
  }
  #infinity .timetable__block-stroke {
    display: flex;
    gap: 20px;
    flex-direction: column;
    width: 100%;
    align-items: center;
  }
  #infinity .timetable__block-img {
    margin: auto;
  }
  #infinity .timetable__block-img img {
    max-width: 200px;
    width: 300px;
    max-height: 120px;
    width: 200px;
  }
  #infinity .timetable__block-time,
  #infinity .timetable__block-name {
    font-size: 20px;
    line-height: 130%;
  }
  #infinity .timetable__block-descr {
    padding-top: 10px;
  }
  #infinity .timetable__block-line {
    display: none;
  }
  #infinity .timetable__block-texts {
    text-align: center;
    max-width: 400px;
    margin-left: 00px;
    width: 90%;
  }
  #infinity .dresscode__colors {
    display: flex;
    gap: 15px;
  }
  #infinity .dresscode__color {
    max-width: 55px;
    max-height: 55px;
  }
  #infinity .dresscode {
    width: 90%;
    gap: 70px;
    margin: auto;
  }
  #infinity .dresscode_common,
  #infinity .dresscode_woman,
  #infinity .dresscode_man {
    gap: 24px;
  }
  #infinity .dresscode-foto img {
    display: block;
    height: auto;
    width: 30%;
  }
  #infinity .details-block {
    margin: 80px auto;
    display: block;
    padding: 0;
    width: 80%;
    height: calc(100% - 160px);
    align-items: center;
    max-width: 400px;
  }
  #infinity .details-img {
    display: none;
  }
  #infinity .rsvp-block {
    max-width: 450px;
    display: flex;
    -ms-grid-columns: calc(45% - 50px) 1fr;
    grid-template-columns: calc(45% - 50px) 1fr;
    gap: 70px;
    width: 85%;
    margin: 80px auto;
    height: calc(100% - 160px);
    align-items: center;
    flex-direction: column;
  }
  #infinity .rsvp-block-right {
    text-align: left;
    margin-right: 0px;
  }
  #infinity .question__container {
    gap: 10px;
  }
  #infinity .question {
    padding: 80px 0;
    text-align: left;
  }

  #infinity .question__text-mini {
    font-family: var(--secondary-font);
    font-size: 14px;
  }
  #infinity .timer {
    margin: 40px auto;
  }
  #infinity .timer__bloks {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 20px auto 50px auto;
  }
  #infinity .timer__block-info {
    padding: 10px 10px;
  }
  #infinity .timer__block {
    font-size: 32px;
    line-height: 120%;
  }
  #infinity .footer {
    padding: 20px 0 60px 0;
  }
  #infinity .burger-menu {
    visibility: hidden;
    display: flex;
    flex-direction: column;
    position: fixed;
    right: 0;
    top: 0;
    width: 0%;
    background-color: var(--background-color);
    z-index: 3;
    height: 100vh;
    transition:
      visibility 0.5s,
      width 0.5s ease-in;
    padding: 100px 0px;
    box-sizing: border-box;
  }
  #infinity .burger-menu__ancor {
    font-size: 18px;
    font-family: var(--main-font);
    color: var(--header-color);
    transition: color 0.4s;
  }
}
#infinity .header-block-small-heart img {
  max-width: 100px;
  width: 15%;
  margin: auto;
}

@media screen and (max-width: 800px) {
  #infinity .header-blocks {
    max-width: 1050px;
    display: flex;
    -ms-grid-columns: 32.258065% 1fr;
    grid-template-columns: auto 1fr;
    gap: 0px;
    margin: 0px;
    height: calc(100% - 20px);
    flex-direction: column;
    justify-content: space-between;
    padding: 40px 30px 60px 30px;
  }
  #infinity .header-block-right {
    text-align: left;
    display: grid;
    -ms-grid-columns: 32.258065% 1fr;
    grid-template-rows: 1fr auto;
    justify-content: start;
  }
  #infinity .header-block-right-inside p#groom {
    font-size: 44px;
    line-height: 120%;
    margin: 20px auto 0;
  }
  #infinity .header-block-right-inside p#bride {
    font-size: 44px;
    line-height: 120%;
    margin: 0 auto 20px;
  }
  #infinity .header-img-mobile {
    position: absolute;
    top: 100px;
    right: 50px;
    width: 350px;
    resize: 80%;
    right: 5%;
    top: 25vh;
    width: 60%;
  }
  #infinity .header-img-mobile img {
    width: 100%;
  }
}
@media screen and (max-width: 800px) {
  #infinity .details__header {
    margin: auto;
  }
}

/* РЎС‚РёР»Рё РґР»СЏ РіР°Р»РµСЂРµРё Dress Code */
#infinity .gallery-container {
  position: relative;
  width: 100%;
  max-width: 900px; /* РћРіСЂР°РЅРёС‡РµРЅРёРµ С€РёСЂРёРЅС‹ */
  margin: 20px auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

#infinity .gallery-track {
  display: flex;
  gap: 15px; /* Р Р°СЃСЃС‚РѕСЏРЅРёРµ РјРµР¶РґСѓ С„РѕС‚Рѕ */
  overflow-x: none;
  scroll-behavior: smooth;
  padding: 10px 0;
  width: 90%;

  /* РЎРєСЂС‹С‚РёРµ СЃРєСЂРѕР»Р»Р±Р°СЂР° РґР»СЏ РєСЂР°СЃРѕС‚С‹ */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

#infinity .gallery-track::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

#infinity .gallery-item {
  flex: 0 0 auto;
  /* Р’С‹СЃРѕС‚Р° РєР°СЂС‚РёРЅРѕРє. РќР° РјРѕР±РёР»СЊРЅС‹С… РјРѕР¶РЅРѕ РјРµРЅСЊС€Рµ, РЅР° РџРљ Р±РѕР»СЊС€Рµ */
  height: 400px;
  width: auto;
  border-radius: 4px; /* Р›РµРіРєРѕРµ СЃРєСЂСѓРіР»РµРЅРёРµ, РµСЃР»Рё РЅСѓР¶РЅРѕ */
  transition: transform 0.3s ease;
}

#infinity .gallery-item:hover {
  transform: scale(1.02);
}

/* РљРЅРѕРїРєРё РЅР°РІРёРіР°С†РёРё */
#infinity .gallery-btn {
  background: transparent;
  border: none;
  color: var(--header-color); /* Р’Р°С€ РєСЂР°СЃРЅС‹Р№ С†РІРµС‚ */
  font-size: 40px;
  cursor: pointer;
  padding: 0 10px;
  z-index: 10;
  transition:
    opacity 0.3s,
    transform 0.2s;
  font-family: var(--main-font); /* РћСЃРЅРѕРІРЅРѕР№ С€СЂРёС„С‚ */
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

#infinity .gallery-btn:hover {
  opacity: 0.7;
  transform: scale(1.1);
}

#infinity .gallery-btn:active {
  transform: scale(0.9);
}

/* РђРґР°РїС‚РёРІРЅРѕСЃС‚СЊ */
@media screen and (max-width: 800px) {
  #infinity .gallery-item {
    height: 300px; /* РЈРјРµРЅСЊС€Р°РµРј РІС‹СЃРѕС‚Сѓ РЅР° РїР»Р°РЅС€РµС‚Р°С… */
  }
  #infinity .gallery-btn {
    font-size: 30px;
    padding: 0 5px;
  }
}

@media screen and (max-width: 500px) {
  #infinity .gallery-container {
    width: 100%;
  }
  #infinity .gallery-track {
    width: 100%;
    padding: 0 15px; /* РћС‚СЃС‚СѓРїС‹ РїРѕ РєСЂР°СЏРј */
  }
  #infinity .gallery-item {
    height: 320px; /* РЈРјРµРЅСЊС€Р°РµРј РІС‹СЃРѕС‚Сѓ РЅР° С‚РµР»РµС„РѕРЅР°С… */
  }
  /* РќР° РјРѕР±РёР»СЊРЅС‹С… С‡Р°СЃС‚Рѕ СѓРґРѕР±РЅРµРµ СЃРІР°Р№РїР°С‚СЊ РїР°Р»СЊС†РµРј, СЃС‚СЂРµР»РєРё РјРѕР¶РЅРѕ СЃРєСЂС‹С‚СЊ РёР»Рё РѕСЃС‚Р°РІРёС‚СЊ РјР°Р»РµРЅСЊРєРёРјРё */
  #infinity .gallery-btn {
    display: none;
  }
}

/* ===== FIX: Hidden input scroll ===== */
#infinity .question__unvisible {
  position: absolute !important;
  width: 0 !important;
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  
  /* MUHIM: Bularni qo'shing */
  max-width: 0 !important;
  min-width: 0 !important;
  flex-shrink: 0 !important;
  display: inline-block !important;
  font-size: 0 !important;
  line-height: 0 !important;
}

/* Mobil uchun */
@media screen and (max-width: 800px) {
  #infinity .question__unvisible {
    width: 0 !important;
    height: 0 !important;
    max-width: 0 !important;
    min-width: 0 !important;
    flex: 0 0 0 !important;
    flex-shrink: 0 !important;
    overflow: hidden !important;
  }
  
  /* Checkbox va radio labelarini to'g'irlash */
  #infinity .question__label {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-wrap: nowrap !important;
  }
  
  #infinity .question__visible-radio,
  #infinity .question__visible-checkbox {
    flex-shrink: 0 !important;
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    min-height: 20px !important;
  }
  
  #infinity .question__text-span {
    white-space: nowrap !important;
    font-size: 16px !important;
  }
  
  /* Fieldsetni to'g'irlash */
  #infinity #question fieldset.options {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px 20px !important;
    padding: 5px 0 !important;
  }
  
  #infinity .question__string {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }
}