@font-face {
  font-family: "PT Sans";
  font-weight: 400;
  font-style: normal;
  src: url("../fonts/ptsans-400.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "PT Sans";
  font-weight: 700;
  font-style: normal;
  src: url("../fonts/ptsans-700.woff2") format("woff2");
  font-display: swap;
}

body {
  margin: 0;
  font-family: "PT Sans", sans-serif;
  font-size: 22px;
  line-height: 26px;
  color: #333333;
  background-color: #f2f2f2;
  min-width: 1280px;
  min-height: 100%;
}

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

html {
  height: 100%;
}

.page-container {
  background-color: #ffffff;
  box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 1200px;
  margin: 0 auto;
}

.header-page {
  display: flex;
  margin: 0;
  padding: 0 70px;
  min-height: 64px;
  align-items: flex-start;
}

.header-page-logo {
  display: block;
}

.navigation {
  display: flex;
  flex-wrap: wrap;
  line-height: 24px;
  font-size: 20px;
  font-weight: 700;
  align-items: flex-start;
  min-height: 64px;
  width: 100%;
}

.navigation-logo {
  margin-right: 28px;
  margin-bottom: -6px;
  z-index: 1;
}

.navigation-logo:hover,
.navigation-logo:focus {
  opacity: 0.8;
  transform: scale(1.05);
}

.navigation-list {
  margin: 0;
  padding: 0;
  list-style-type: none;
  display: flex;
  flex-wrap: wrap;
  max-width: 500px;
}

.navgation-link-current {
  position: relative;
}

.navgation-link-current::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  height: 2px;
  bottom: -1px;
  background-color: #756257;
}

.navigation-link,
.navigation-user-link {
  display: block;
  text-decoration: none;
  color: #000000;
  text-align: center;
  padding: 20px 16px;

}

.navigation-link:hover,
.navigation-link:focus-visible {
  opacity: 0.7;
  transform: scale(1.05);
  border-bottom-color: #756257;
}

.navigation-user {
  margin: 0;
  padding: 0;
  list-style-type: none;
  display: flex;
  flex-wrap: wrap;
  margin-left: auto;
  max-width: 310px;
}

.navigation-user-item {
  min-width: 44px;
  min-height: 64px;
}

.navigation-user-link:hover,
.navigation-user-link:focus-visible {
  opacity: 0.7;
  transform: scale(1.05);
}

.navigation-link-favourites,
.navigation-link-search {
  display: block;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  padding: 22px 10px;
  background-repeat: no-repeat;
  background-position: center;
  box-sizing: content-box;
}

.navigation-link-search {
  background-image: url("../images/icons/search.svg");
}

.navigation-link-favourites {
  position: relative;
  background-image: url("../images/icons/heart.svg");
}

.navigation-link-button {
  display: block;
  font-size: 16px;
  line-height: 20px;
  font-weight: 700;
  color: #ffffff;
  background-color: #756157;
  text-decoration: none;
  text-transform: uppercase;
  padding: 8px 34px;
  border-radius: 4px;
  margin-left: 20px;
  margin-top: 14px;
}

.navigation-link-button:hover,
.navigation-link-button:focus {
  background-color: #615048;
}

.navigation-link-button:active,
.button-search:active {
  color: rgba(255, 255, 255, 0.3);
}

.card-hotel-more {
  font-size: 16px;
  line-height: 20px;
  font-weight: 700;
  color: #ffffff;
  background-color: #756157;
  text-decoration: none;
  text-transform: uppercase;
  padding: 8px;
  border-radius: 4px;
  text-align: center;
}

.card-hotel-more:hover {
  background-color: #615048;
}

.card-hotel-more:active {
  background: #756157;
  color: rgba(255, 255, 255, 0.3);
}

.count {
  font-size: 10px;
  line-height: 10px;
  font-weight: 400;
  color: #ffffff;
  position: absolute;
  background-color: #7db54f;
  text-align: center;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  top: 11px;
  left: 45%;
  padding: 5px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  overflow: hidden;
}

.main-container {
  flex-grow: 1;
}

.hero {
  background-image: url("../images/divider.svg"), url("../images/background-welcome.jpg");
  background-color: rgba(131, 179, 211, 0.6);
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-position: bottom, center;
  min-height: 485px;
  padding-top: 50px;
  text-align: center;
}

.hero-img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.hero-title {
  font-size: 30px;
  line-height: 36px;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-text {
  font-size: 22px;
  line-height: 26px;
  font-weight: 400;
}

.title {
  font-size: 30px;
  line-height: 36px;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 auto 25px;
  text-align: center;
  color: #000000;
}

.text {
  font-size: 22px;
  line-height: 26px;
  font-weight: 400;
  color: #333333;
  text-align: center;
  margin: 0;
}

.advantages {
  max-width: 655px;
  min-height: 260px;
  margin: 0 auto;
  padding: 69px 0;
  text-align: center;
  margin-bottom: 21px;
}

.invitation {
  max-width: 505px;
  min-height: 245px;
  margin: 0 auto;
  padding: 64px 0;
}

.advantages-list {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  list-style: none;
}

.advantages-item-foto {
  color: #ffffff;
  background-color: #82b3d3;
  width: 100%;
  display: flex;
}

.advantages-title-foto {
  font-size: 24px;
  line-height: 28px;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0;
  list-style-type: none;
  margin-bottom: 30px;
  position: relative;
}

.advantages-title-foto::after {
  content: "";
  display: block;
  margin: 30px auto 0;
  width: 60px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
}

.advantages-item {
  background-color: rgba(131, 179, 211, 0.12);
  width: 400px;
  min-height: 385px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 112px 84px;
}

.advantages-title::after {
  content: "";
  display: block;
  margin: 30px auto 0;
  width: 60px;
  border-bottom: 2px solid rgba(0, 0, 0, 0.3);
}

.advantages-item-foto-reverse {
  flex-direction: row-reverse;
}

.advantages-item:nth-child(3) {
  background-color: rgba(131, 179, 211, 0.2);
}

.advantages-title {
  font-size: 24px;
  line-height: 28px;
  font-weight: 700;
  color: #000000;
  text-transform: uppercase;
  margin: 0;
  margin-bottom: 30px;
}

.advantages-item-description {
  font-size: 18px;
  line-height: 21px;
  font-weight: 400;
  color: #333333;
  min-width: 231px;
  margin: 0;
}

.advantages-item-description-foto {
  font-size: 18px;
  line-height: 21px;
  font-weight: 400;
  margin: 0;
}

.advantages-item-container {
  width: 400px;
  padding: 102px 85px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.images-street,
.images-bridge {
  width: 800px;
  height: auto;
  vertical-align: middle;
  object-fit: cover;
}

.services-title {
  font-size: 30px;
  line-height: 36px;
  font-weight: 700;
  color: #000000;
  text-transform: uppercase;
  text-align: center;
  margin: 0;
  padding: 0;
  margin-bottom: 20px;
}

.services-description {
  font-size: 22px;
  line-height: 26px;
  font-weight: 400;
  color: #333333;
  text-align: center;
  margin: 0;
  bottom: 0;
}

.services-list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  min-height: 385px;
}

.services-item {
  background-color: rgba(131, 179, 211, 0.12);
  text-align: center;
  width: 400px;
  padding: 80px 85px;
}

.services-item-title {
  font-size: 24px;
  line-height: 28px;
  font-weight: 700;
  margin: 0;
  padding: 0;
  margin-bottom: 30px;
  text-transform: uppercase;
  color: #000000;
}

.services-item:nth-child(2) {
  background-color: #ffffff;
}

.services-item-description {
  font-size: 18px;
  line-height: 21px;
  font-weight: 400;
  color: #333333;
  margin: 0;
}

.services-item-housing::before {
  background-image: url("../images/icons/home-1.svg");
}

.services-item-food::before {
  background-image: url("../images/icons/food.svg");
}

.services-item-souvenirs::before {
  background-image: url("../images/icons/present.svg");
}

.services-item::before {
  content: "";
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  display: block;
  margin: auto;
  width: 75px;
  height: 72px;
  margin-bottom: 30px;
}

.booking {
  padding: 95px 300px;
  text-align: center;
}

.booking-title {
  font-size: 30px;
  line-height: 36px;
  font-weight: 700;
  color: #000000;
  text-transform: uppercase;
  margin: 0;
  margin-bottom: 20px;
}

.booking-description {
  font-size: 22px;
  line-height: 26px;
  font-weight: 400;
  color: #333333;
  margin: 0;
  margin-bottom: 55px;
}

.button-search {
  font-family: inherit;
  font-size: 20px;
  line-height: 36px;
  font-weight: 700;
  color: #ffffff;
  background-color: #756157;
  width: 376px;
  min-height: 52px;
  text-decoration: none;
  text-transform: uppercase;
  margin: 0;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.button-search:hover,
.button-search:focus {
  background-color: #615048;
}

.subscribe-form {
  display: flex;
  width: 100%;
  max-width: 684px;
  min-height: 52px;
}

.subscribe,
.subscribe-catalog {
  padding: 96px 258px 104px;
  text-align: center;
  min-height: 415px;
}

.subscribe {
  background-image: url("../images/background-filter.jpg");
  background-color: rgba(131, 179, 211, 0.6);
  background-repeat: no-repeat;
  background-size: cover;
}

.subscribe-title,
.subscribe-title-catalog {
  font-size: 30px;
  line-height: 36px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  margin: 0;
  margin-bottom: 20px;
}

.subscribe-title-catalog {
  color: #000000;
}

.subscribe-title {
  color: #ffffff;
}

.subscribe-description {
  margin: 0;
  margin-bottom: 54px;
}

.subscribe-note {
  font-size: 22px;
  line-height: 26px;
  font-weight: 400;
  color: #ffffff;
  text-align: center;
  text-decoration: none;
  margin: 0;
  margin-bottom: 55px;
}

.subscribe-button {
  font-family: inherit;
  font-size: 20px;
  line-height: 36px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  background-color: #82b3d3;
  width: 232px;
  border-style: none;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
}

.subscribe-button:hover,
.subscribe-button:focus {
  background-color: #68a2ca;
}

.subscribe-button:active {
  color: rgba(255, 255, 255, 0.3);
}

.subscribe-field:disabled {
  cursor: not-allowed;
}

.button-search:disabled,
.subscribe-button:disabled,
.button-apply:disabled,
.favorites:disabled,
.card-hotel-more:disabled {
  background-color: #e5e5e5;
  cursor: not-allowed;
  pointer-events: none;
}

.button-reset:disabled {
  opacity: 0.1;
}

.subscribe-field {
  flex-grow: 1;
  font-family: inherit;
  font-size: 18px;
  line-height: 24px;
  font-weight: 400;
  box-sizing: border-box;
  padding: 12px 20px;
  border-radius: 4px 0 0 4px;
  border-style: none;
}

.subscribe-field-catalog {
  background: #f2f2f2;
}

.page-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 45px 70px 30px;
  max-width: 1200px;
}

.footer-social-list {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 240px;
}

.button-social-vk,
.button-social-telegram,
.button-social-youtube {
  display: block;
  width: 47px;
  height: 40px;
  background-color: #83b3d3;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

.button-social-vk {
  -web-mask-image: url("../images/social-vk.svg");
  mask-image: url("../images/social-vk.svg");
}

.button-social-telegram {
  -web-mask-image: url("../images/social-telegram.svg");
  mask-image: url("../images/social-telegram.svg");
}

.button-social-youtube {
  -web-mask-image: url("../images/social-youtube.svg");
  mask-image: url("../images/social-youtube.svg");
}

.button-social-vk:hover,
.button-social-vk:focus,
.button-social-telegram:hover,
.button-social-telegram:focus,
.button-social-youtube:hover,
.button-social-youtube:focus {
  background: #68a2ca;
}

.button-social-vk:active,
.button-social-telegram:active,
.button-social-youtube:active {
  background: rgba(104, 162, 202, 0.3);
}

.contacts-phone {
  font-size: 40px;
  line-height: 40px;
  color: #000000;
  text-decoration: none;
  text-transform: uppercase;
  text-align: center;
  width: 400px;
}

.contacts-phone:hover,
.contacts-phone:focus {
  color: #756157;
}

.contacts-phone:active {
  color: rgba(117, 97, 87, 0.3);
}

.htmlacademy-link {
  display: block;
  mask-image: url("../images/logo-html-academy.svg");
  mask-repeat: no-repeat;
  mask-position: center;
  width: 115px;
  height: 35px;
  background: #000000;
}

.htmlacademy-link:hover,
.htmlacademy-link:focus {
  background: #756157;
}

.htmlacademy-link:active {
  background: rgba(117, 97, 87, 0.3);
}

.inner-header-title {
  font-size: 60px;
  line-height: 78px;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  margin: 0;
  margin-bottom: 8px;
}

.filter-content {
  background-image: url("../images/catalog-filter.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-color: rgba(131, 179, 211, 0.6);
  background-size: cover;
  min-height: 412px;
  padding: 35px 70px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  margin: 0 0 40px 0;
  padding: 0;
  list-style-type: none;
  align-items: center;
}

.breadcrumbs-item {
  display: flex;
  align-items: center;
}

.breadcrumbs-link:hover,
.breadcrumbs-link-hotel:hover {
  opacity: 0.6;
}

.breadcrumbs-link:active,
.breadcrumbs-link-hotel:active {
  opacity: 0.3;
}

.breadcrumbs-link {
  display: block;
  background-image: url("../images/icons/house.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  width: 13px;
  height: 15px;
}

.breadcrumbs-item:not(:last-child)::after {
  content: "";
  display: block;
  background-image: url("../images/icons/vector-breadcrumbs.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  width: 8px;
  height: 11px;
  margin-left: 10px;
  margin-right: 10px;
}

.breadcrumbs-link-hotel {
  font-size: 16px;
  line-height: 21px;
  font-weight: 400;
  color: #ffffff;
  text-decoration: none;
}

.control {
  position: relative;
  display: block;
  padding-left: 36px;
  font-size: 18px;
  line-height: 23px;
  font-weight: 400;
  color: #ffffff;
}

.control:has(.control-input:disabled) {
  opacity: 0.3;
  pointer-events: none;
}

.control-mark {
  position: absolute;
  top: 1px;
  left: 0;
  width: 20px;
  height: 20px;
  background-color: #ffffff;
  border-radius: 4px;
  box-sizing: border-box;
  margin: 0;
  margin-top: 1.5px;
  margin-bottom: 1.5px;
}

.control-label {
  text-align: center;
}

.control-input[type="checkbox"]:checked + .control-mark::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background-image: url("../images/icons/check-mark.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.control:hover .control-mark {
  background-color: rgba(255, 255, 255, 0.6);
  border-color: rgba(255, 255, 255, 0.6)
}

.control-input:focus-visible + .control-mark {
  outline: 3px solid #83b3d3;
}

.control:hover .control-label {
  color: rgba(255, 255, 255, 0.6);
}

.control-input[type="radio"] + .control-mark {
  border-radius: 50%;
}

.control-input[type="radio"]:checked + .control-mark::before {
  position: absolute;
  top: 5px;
  left: 5px;
  width: 10px;
  height: 10px;
  background: #3f5e72;
  border-radius: 50%;
  content: "";
}

.control:active .control-mark,
.control:active .control-label {
  opacity: 0.3;
}

.filter-content-title {
  font-size: 20px;
  line-height: 24px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 32px;
  padding: 0;
}

.filter-content-list {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style-type: none;
  min-width: 112px;
}

.filter-content-group {
  border: none;
  margin: 0;
  padding: 0;
  min-width: 150px;
}

.filter-complex {
  margin-right: 70px;
}

.filter-type-housing {
  margin-right: 140px;
}

.filter-cost {
  min-width: 288px;
  margin-right: 70px;
}

.catalog-filter {
  display: flex;
  align-items: flex-start;
  margin: 0;
  padding: 0;
}

.range-cost {
  display: flex;
  width: 288px;
}

.range-scale {
  position: relative;
  width: 100%;
  height: 4px;
  margin-top: 44px;
  background-color: rgba(255, 255, 255, 0.3);
}

.range-bar {
  position: absolute;
  height: 4px;
  background-color: #ffffff;
  width: 226px;
  left: 0;
}

.range-toggle {
  position: absolute;
  width: 20px;
  height: 20px;
  background: #ffffff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.range-toggle:hover {
  background-color: #ffffff;
  box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.25);
}

.range-toggle:focus {
  border: 3px solid #83b3d3;
  box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.25);
  outline: none;
}

.range-toggle:active {
  border: 2px solid #83b3d3;
  box-shadow: 0 7px 15px 0 rgba(0, 0, 0, 0.4);
}

.toggle-min {
  top: -8px;
  left: 0;
}

.toggle-max {
  top: -8px;
  right: -2px;
}

.catalog-filter-label:not(:last-child) {
  display: flex;
  margin-right: 2px;
}

.field-price::-webkit-outer-spin-button,
.field-price::-webkit-inner-spin-button {
  appearance: none;
  margin: 0;
}

.catalog-filter-label {
  position: relative;
}

.price-filter-text {
  position: absolute;
  font-size: 18px;
  line-height: 24px;
  font-weight: 400;
  top: 12px;
  right: 20px;
  color: rgba(0, 0, 0, 0.3)
}

.field-price {
  font-family: inherit;
  font-size: 18px;
  line-height: 24px;
  font-weight: 700;
  width: 143px;
  height: 48px;
  outline: none;
  box-sizing: border-box;
  background-color: #f2f2f2;
  padding: 12px 40px 12px 20px;
  border-style: none;
}

.field-price:hover {
  background-color: #e5e5e5;
}

.field-price:focus {
  border: 3px solid #83b3d3;
}

.field-price-from {
  border-radius: 4px 0 0 4px;
}

.field-price-to {
  border-radius: 0 4px 4px 0;
}

.catalog-hotel-sorting {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
}

.view-card-hotel-list {
  display: flex;
  flex-wrap: wrap;
  max-width: 208px;
  margin: 0;
  padding: 0;
  list-style-type: none;
  margin-left: 70px;
  gap: 8px;
}

.view-sort {
  display: block;
  box-sizing: border-box;
  border-radius: 4px;
  width: 48px;
  height: 48px;
  background-repeat: no-repeat;
  background-position: center;
}

.view-sort-tile {
  background-image: url("../images/icons/view-icon-3.svg");
  border: 2px solid #000000;
}

.view-sort-card {
  background-image: url("../images/icons/view-icon-2.svg");
  border: 2px solid #e5e5e5;
}

.view-sort-list {
  background-image: url("../images/icons/view-icon-1.svg");
  border: 2px solid #e5e5e5;
}

.view-sort:hover {
  border: 2px solid #000000;
}

.view-sort:focus {
  border: 2px solid #68a2ca;
  outline: none;
}

.view-sort:active {
  border: 2px solid #000000;
}

.card-hotel-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 0;
  list-style: none;
  margin: 0;
  margin-bottom: 40px;
  position: relative;
}

.card-hotel-list::after {
  content: "";
  position: absolute;
  height: 1px;
  width: 1060px;
  background-color: #e5e5e5;
  top: 100%;
  margin-top: 40px;
}

.card-hotel-item {
  display: grid;
  grid-template-rows: 212px 1fr repeat(3, auto);
  grid-template-columns: 140px 140px;
  gap: 16px 20px;
  padding: 19px;
  border: 1px solid #e6e6e6;
  width: 340px;
  min-height: 438px;
}

.card-hotel-image:hover {
  opacity: 0.9;
}

.button-apply,
.button-reset {
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 20px;
  color: #ffffff;
  border-radius: 4px;
  min-width: 190px;
  min-height: 35px;
  text-align: center;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
}

.button-apply {
  background: #82b3d3;
  margin-bottom: 32px;
}

.button-apply:hover {
  background: #68a2ca;
}

.button-apply:focus-visible {
  background-color: #68a2ca;
  color: #ffffff;
  outline: none;
}

.button-apply:active {
  background: #82b3d3;
  color: rgba(255, 255, 255, 0.3);
}

.button-reset {
  background-color: transparent;
}

.button-reset:hover {
  color: rgba(255, 255, 255, 0.8);
}

.button-reset:focus-visible {
  border: 3px solid #83b3d3;
  outline: none;
}

.button-reset:active {
  color: rgba(255, 255, 255, 0.3);
}

.filter-content-button {
  margin-left: auto;
  padding-top: 0;
  align-self: flex-end;
}

.catalog-hotel {
  padding: 50px 70px 60px;
}

.catalog-hotel-title {
  font-size: 30px;
  line-height: 36px;
  font-weight: 700;
  color: #000000;
  text-transform: uppercase;
  margin: 0;
  padding: 0;
  width: 538px;
}

.card-hotel-link {
  text-decoration: none;
  grid-column: 1/-1;
  grid-row: 1;
}

.card-hotel-title {
  font-size: 24px;
  line-height: 28px;
  font-weight: 700;
  color: #000000;
  margin: 0;
  grid-column: 1/-1;
  grid-row: 3;
}

.card-hotel-title-link {
  grid-column: 1/-1;
  grid-row: 2;
  text-decoration: none;
}

.card-hotel-title:hover {
  opacity: 0.9;
  transform: scale(1.02);
}

.select-catalog-hotel {
  font-family: inherit;
  font-size: 18px;
  line-height: 21px;
  color: #333333;
  display: block;
  width: 292px;
  height: 49px;
  appearance: none;
  border: 2px solid #e5e5e5;
  background-color: #ffffff;
  border-radius: 4px;
  padding: 12px 48px 12px 20px;
  background-image: url("../images/icons/vector.svg");
  background-repeat: no-repeat;
  background-size: 12px 7px;
  background-position: center right 20px;
}

.select-catalog-hotel:hover,
.select-catalog-hotel:focus-visible {
  border: 2px solid #68a2ca;
  outline: none;
}

.select-catalog-hotel:disabled {
  border-color: rgba(0, 0, 0, 0.3);
  cursor: not-allowed;
  opacity: 0.3;
}

.card-hotel-group,
.card-hotel-price {
  font-size: 18px;
  line-height: 21px;
  font-weight: 400;
  color: #333333;
  margin: 0;
}

.card-hotel-price {
  justify-self: end;
}

.card-hotel-image {
  object-fit: cover;
}

.favorites {
  font-family: inherit;
  font-size: 16px;
  line-height: 20px;
  font-weight: 700;
  color: #ffffff;
  background-color: #82b3d3;
  border: none;
  border-radius: 4px;
  min-height: 36px;
  text-align: center;
  text-transform: uppercase;
  padding: 8px 18px;
  cursor: pointer;

}

.favorites-active {
  background-color: #7db54f;
}

.favorites:hover,
.favorites:focus {
  background-color: #68a2ca;
}

.favorites:active {
  background: #82b3d3;
  color: rgba(255, 255, 255, 0.3);
}

.favorites-active:hover,
.favorites-active:focus {
  background-color: #6c9e42;
}

.favorites-active:active {
  background: #7db54f;
  color: rgba(255, 255, 255, 0.3);
}

.rating {
  font-size: 16px;
  line-height: 20px;
  font-weight: 400;
  color: #333333;
  text-transform: uppercase;
  background-color: #f2f2f2;
  border-radius: 4px;
  margin: 0;
  padding: 9px 10px 8px 23px;
  grid-column: 2/3;
  grid-row: 5;
  width: 140px;
  justify-self: end;
  align-self: center;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
  min-width: 400px;
  padding-top: 40px;
}

.pagination-link {
  display: block;
  box-sizing: border-box;
  font-size: 20px;
  line-height: 36px;
  font-weight: 700;
  color: #ffffff;
  background-color: #82b3d3;
  min-width: 60px;
  height: 60px;
  text-decoration: none;
  text-align: center;
  margin-right: 8px;
  border-radius: 4px;
  padding: 11px;
  border: 1px solid transparent;
}

.pagination-current {
  color: #000000;
  background-color: #f2f2f2;
}

.pagination-link:not(.pagination-current):hover,
.pagination-link:not(.pagination-current):focus-visible {
  background: #68a2ca;
  border: 1px solid #82b3d3;
}

.pagination-link:active {
  background: #82b3d3;
  color: rgba(255, 255, 255, 0.3);
}

.ellipsis {
  display: block;
  margin: 0;
  width: 60px;
  height: 60px;
  text-align: center;
  margin-right: 8px;
  border-radius: 4px;
  padding: 10px;
  padding-top: 16px;
}

.stars {
  margin: 0;
  background-image: url("../images/icons/star.svg");
  background-repeat: space no-repeat;
  background-position: left center;
  background-size: 18px 17px;
}

.stars-two {
  width: 42px;
}

.stars-three {
  width: 66px;
}

.stars-four {
  width: 89px;
}

/* Модальное окно */
.modal-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(242, 242, 242, 0.8);
}

.modal {
  display: flex;
  flex-direction: column;
  position: relative;
  width: 717px;
  min-height: 576px;
  background-color: #ffffff;
  border-radius: 30px;
  padding: 64px 70px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  box-sizing: border-box;
  max-height: 85vh;
  overflow-y: auto;
}

.modal-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
}

.modal-title {
  margin: 0;
  margin-bottom: 24px;
  font-size: 30px;
  line-height: 36px;
  font-weight: 700;
  color: #000000;
  text-transform: uppercase;
}

.modal-close-button {
  position: absolute;
  padding: 0;
  top: 64px;
  right: 52px;
  width: 52px;
  height: 52px;
  background-color: #f2f2f2;
  border: none;
  border-radius: 50%;
  cursor: pointer;
}

.modal-close-button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  background-image: url("../images/icons/close.svg");
  background-repeat: no-repeat;
  background-position: center;
}

.modal-close-button:hover {
  background: #e5e5e5;
}

.modal-close-button:focus-visible {
  border: 3px solid #83b3d3;
  background: #e5e5e5;
  outline: none;
}

.modal-close-button:active {
  background: #e5e5e5;
}

.modal-close-button:active::before {
  opacity: 0.4;
}

.form-search-hotel {
  display: flex;
  flex-direction: column;
  gap: 23px;
}

.input-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.modal-label {
  font-family: "PT Sans", sans-serif;
  font-size: 20px;
  line-height: 24px;
  font-weight: 700;
  color: #000000;
  width: 120px;
  margin: 0;
}

.input-wrapper {
  position: relative;
  width: 440px;
  min-height: 48px;
}

.modal-input {
  width: 100%;
  padding: 12px 40px 12px 20px;
  background: #f2f2f2;
  border: none;
  border-radius: 4px;
  font-family: "PT Sans", sans-serif;
  font-size: 18px;
  line-height: 24px;
  font-weight: 700;
  color: #000000;
}

.modal-input:hover {
  background: #e5e5e5;
}

.modal-input:focus {
  outline: 3px solid #83b3d3;
  background: #e5e5e5;
}

.input-wrapper::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background-image: url("../images/icons/calendar.svg");
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.5;
  pointer-events: none;
}

.modal-error-text,
.modal-success-text {
  font-family: inherit;
  font-size: 16px;
  line-height: 21px;
  font-weight: 400;
  margin: 4px auto 0 137px;
  padding-left: 20px;
  min-width: 400px;
  display: block;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: break-word;
}

.modal-error-text {
  color: #ff5757;
}

.modal-counters {
  display: flex;
  justify-content: space-between;
  margin: 0;
}

.counter-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 247px;
}

.counter-group-tooltip {
  width: 242px;
}

.counter-group .modal-label {
  width: auto;
}

.counter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 110px;
  height: 48px;
  background-color: #f2f2f2;
  border-radius: 4px;
  box-sizing: border-box;
}

.counter-button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 20px;
  height: 20px;
  padding: 0;
  margin: 0 10px;
  background-color: transparent;
  border: none;
  cursor: pointer;
  outline: none;
}

input[type="number"] {
  -moz-appearance: textfield;
}

.counter-button::before {
  content: "";
  display: block;
  width: 14px;
  height: 14px;
  background-color: rgba(117, 97, 87, 0.3);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.counter-button.counter-minus::before {
  -webkit-mask-image: url("../images/icons/minus.svg");
  mask-image: url("../images/icons/minus.svg");
}

.counter-button.counter-plus::before {
  -webkit-mask-image: url("../images/icons/plus.svg");
  mask-image: url("../images/icons/plus.svg");
}

.counter-button:hover::before {
  background-color: #000000;
}

.counter-button:focus-visible {
  outline: 3px solid #82b3d3;
  border-radius: 4px;
  outline-offset: 2px;
}

.counter-button:active {
  opacity: 0.2;
}

.counter-input {
  width: 31px;
  height: 48px;
  border: none;
  background: transparent;
  text-align: center;
  font-family: "PT Sans", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #000000;
}

.counter-input::-webkit-outer-spin-button,
.counter-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.counter-input:focus-visible {
  outline: none;
}

.modal-search-button {
  width: 100%;
  min-height: 60px;
  padding: 18px;
  margin: 0;
  margin-top: 25px;
  color: #ffffff;
  font-family: "PT Sans", sans-serif;
  font-size: 20px;
  line-height: 24px;
  font-weight: 700;
  text-transform: uppercase;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  background: #83b3d3;
}

.modal-search-button:hover,
.modal-search-button:focus {
  background: #68a2ca;
  outline: none;
}

.modal-search-button:active {
  color: rgba(255, 255, 255, 0.3);
}

.label-with-tooltip {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tooltip {
  position: relative;
}

.tooltip-toggle {
  border: none;
  background-color: transparent;
  padding: 0;
  margin: 0;
  display: flex;
  cursor: pointer;
  outline: none;
}

.tooltip-icon {
  display: block;
  width: 26px;
  height: 26px;
}

.tooltip-toggle:hover .tooltip-icon {
  color: #af7842;
}

.tooltip-text {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 13px;
  max-width: 256px;
  min-height: 143px;
  padding: 19px 18px 18px 20px;
  background-color: #333333;
  color: #ffffff;
  font-size: 16px;
  line-height: 20px;
  font-weight: 400;
  border-radius: 10px;
  text-transform: none;
  width: max-content;
  box-shadow: 0 15px 30px 0 rgba(0, 0, 0, 0.3);
  z-index: 10;
  opacity: 0%;
  visibility: hidden;
  transition: opacity 0.2s ease;
}

.tooltip-text::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  border: 8px solid transparent;
  border-bottom: 8px solid #333333;
}

.tooltip-toggle:hover + .tooltip-text,
.tooltip-toggle:focus + .tooltip-text {
  opacity: 100%;
  visibility: visible;
}

.form-label-icon {
  position: relative;
}

.modal-container-close {
  display: none;
}
