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

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

html {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  margin: 0;
  font-family: "PT Sans", sans-serif;
  font-weight: 400;
  font-size: 22px;
  line-height: 26px;
  background-color: #f2f2f2;
  color: #333333;
  min-height: 100%;
}

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

.page-container {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  width: 1200px;
  margin: 0 auto;
  background-color: #ffffff;
  flex-grow: 1;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
}

.navigation-header {
  padding-right: 70px;
  padding-left: 70px;
}

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

.navigation-logo img {
  display: block;
  width: 140px;
  height: 70px;
}

.navigation-logo:hover img,
.navigation-logo:hover img {
  opacity: 0.8;
}

.navigation-logo:active img {
  opacity: 0.3;
}

.header-navigation {
  display: flex;
  width: 100%;
}

.navigation-list-link {
  display: block;
  position: relative;
  padding: 20px 16px;
  font-weight: 700;
  font-size: 20px;
  line-height: 24px;
  color: #000000;
  text-decoration: none;
}

.navigation-list-link:hover,
.navigation-list-link:focus {
  color: #756157;
}

.navigation-list-link:active {
  color: rgba(117, 97, 87, 0.3);
}

.current-link .navigation-list-link:hover,
.current-link .navigation-list-link:focus,
.current-link .navigation-list-link:active {
  color: #000000;
  cursor: default;
}

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

.current-link {
  position: relative;
}

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

.navigation-user {
  margin-right: 20px;
  width: 88px;
}

.icon-search {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 64px;
  background-image: url("../images/svg/search.svg");
  background-repeat: no-repeat;
  background-position: center;
}

.icon-favorite {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 44px;
  height: 64px;
  background-image: url("../images/svg/heart.svg");
  background-repeat: no-repeat;
  background-position: center;
}

.icon-search:hover,
.icon-favorite:hover,
.icon-search:focus,
.icon-favorite:focus {
  opacity: 0.6;
}

.icon-search:active,
.icon-favorite:active {
  opacity: 0.3;
}

.favorite-number {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  margin: 11px 4px 33px 20px;
  text-align: center;
  background-color: #7db54f;
  border-radius: 10px;
  font-size: 10px;
  line-height: 10px;
  width: 20px;
  height: 20px;
  color: #ffffff;
}

.desired-button {
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  font-size: 16px;
  color: #ffffff;
  background-color: #756157;
  text-decoration: none;
  text-transform: uppercase;
  border-radius: 4px;
  width: 160px;
  min-height: 36px;
  margin-right: 0;
  margin-top: 14px;
  text-align: center;
  align-self: flex-start;
}

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

.desired-button:active {
  color: rgba(255, 255, 255, 0.3);
  background-color: #756157;
}

.container {
  width: 1060px;
  margin: 0 auto;
}

.welcome-img {
  display: block;
  margin: 0 auto;
}

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

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

.hero {
  position: relative;
  display: flex;
  margin: 0 auto;
  padding-top: 51px;
  padding-bottom: 82px;
  background-color: #d6e4ed;
  background-image: url("../images/background/index-background.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 57px;
  background-image: url("../images/svg/divider.svg");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center bottom;
}

.hero img {
  width: 458px;
  height: 352px;
}

.advantages {
  margin: 0;
  padding: 0;
}

.advantages-header {
  font-weight: 700;
  font-size: 30px;
  line-height: 36px;
  color: #000000;
  text-transform: uppercase;
  text-align: center;
  margin: 0 auto;
  padding-top: 69px;
  max-width: 630px;
  margin-bottom: 25px;
}

.advantages-description {
  text-align: center;
  margin: 0;
  margin-bottom: 90px;
}

.advantages-list {
  display: grid;
  grid-template-columns: repeat(3, 400px);
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.advantages-item {
  background-color: rgba(131, 179, 211, 0.12);
}

.dark-blue {
  background-color: rgba(131, 179, 211, 0.2);
}

.pictures {
  display: flex;
  grid-column: 1 / -1;
  background-color: #82b3d3;
  color: #ffffff;
}

.advantages-text {
  box-sizing: border-box;
  min-height: 385px;
  padding: 112px 85px;
  text-align: center;
}

.advantages-item h3 {
  font-weight: 700;
  font-size: 24px;
  line-height: 28px;
  color: inherit;
  text-transform: uppercase;
  margin: 0;
}

.advantages-item h3::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  margin: 30px auto;
  background-color: rgba(0, 0, 0, 0.3);
}

.pictures h3::after {
  background-color: rgba(255, 255, 255, 0.3);
}

.advantages-item p {
  font-size: 18px;
  line-height: 21px;
  margin: 0 auto;
}

.pictures .advantages-text {
  padding: 102px 85px;
}

.pictures img {
  width: 800px;
  height: 385px;
}

.advantages-welcome {
  margin: 0;
  padding: 0;
  text-align: center;
}

.advantages-welcome-header {
  font-weight: 700;
  font-size: 30px;
  line-height: 36px;
  color: #000000;
  text-transform: uppercase;
  margin: 0 auto;
  margin-top: 64px;
  max-width: 505px;
}

.advantages-welcome-description {
  margin-bottom: 64px;
}

.advantages-welcome-list {
  display: grid;
  grid-template-columns: repeat(3, 400px);
  margin: 0;
  padding: 0;
  list-style-type: none;
}

.advantages-welcome-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 385px;
}

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

.item-house h3::before {
  content: "";
  display: block;
  width: 83px;
  height: 83px;
  margin: 0 auto;
  margin-top: 71px;
  margin-bottom: 25px;
  background-image: url("../images/svg/house.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.item-food h3::before {
  content: "";
  display: block;
  width: 83px;
  height: 83px;
  margin: 0 auto;
  margin-top: 71px;
  margin-bottom: 25px;
  background-image: url("../images/svg/burger.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.item-souvenirs h3::before {
  content: "";
  display: block;
  width: 83px;
  height: 83px;
  margin: 0 auto;
  margin-top: 71px;
  margin-bottom: 25px;
  background-image: url("../images/svg/gift.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.advantages-welcome-item p {
  font-size: 18px;
  line-height: 21px;
  margin: 0;
  margin-bottom: auto;
  max-width: 230px;
}

.light-blue {
  background-color: rgba(131, 179, 211, 0.12);
}

.interested {
  margin: 0;
  padding-top: 96px;
  text-align: center;
}

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

.interested p {
  margin: 0;
  margin-bottom: 54px;
}

.subscribe {
  background-color: #95adb9;
  background-image: url("../images/background/subscribe-background.jpg");
  background-size: cover;
  color: #ffffff;
  text-align: center;
  margin: 0;
  padding-top: 96px;
  padding-bottom: 104px;
}

.subscribe h2 {
  text-transform: uppercase;
  font-size: 30px;
  line-height: 36px;
  margin: 0;
  margin-bottom: 20px;
}

.subscribe p {
  max-width: 475px;
  margin: 0 auto;
  margin-bottom: 54px;
}

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

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

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

.button-search:disabled {
  color: #ffffff;
  background-color: #e5e5e5;
  cursor: default;
  pointer-events: none;
}

.subscribe-form {
  display: flex;
  justify-content: center;
  align-items: center;
}

.subscribe-form input {
  width: 452px;
  height: 52px;
  font-family: inherit;
  border: 0;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  box-sizing: border-box;
  padding-left: 20px;
  background-color: #f2f2f2;
}

.subscribe-form input:hover {
  background-color: #e5e5e5;
}

.subscribe-form input:focus {
  background-color: #e5e5e5;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}

.subscribe-form input::placeholder {
  font-size: 18px;
  line-height: 24px;
}

.subscribe-button {
  font-family: inherit;
  font-weight: 700;
  font-size: 20px;
  line-height: 36px;
  color: #ffffff;
  background-color: #82b3d3;
  text-transform: uppercase;
  width: 232px;
  min-height: 52px;
  margin: 0;
  padding: 0;
  border: 0;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  box-sizing: border-box;
  cursor: pointer;
}

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

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

.subscribe-button:disabled {
  background-color: #e5e5e5;
  cursor: default;
  pointer-events: none;
}

.subscribe-input:disabled {
  background-color: #e5e5e5;
  cursor: default;
  pointer-events: none;
}

.main-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  padding: 45px 70px 35px 70px;
  align-items: center;
}

.social-list {
  display: flex;
  margin: 0;
  padding: 0;
  list-style-type: none;
  flex-wrap: wrap;
  width: 142px;
}

.social-item {
  margin: 0;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #83b3d3;
  width: 47px;
  height: 40px;
}

.social-link:hover,
.social-link:focus {
  color: #68a2ca;
}

.social-link:active {
  color: rgba(104, 162, 202, 0.3);
}

.footer-contact-number {
  font-size: 40px;
  line-height: 40px;
  color: #000000;
  text-decoration: none;
  margin-left: 25px;
}

.footer-contact-number:hover,
.footer-contact-number:focus {
  color: #756157;
}

.footer-contact-number:active {
  color: rgba(117, 97, 87, 0.3);
}

.footer-contact-logo {
  justify-self: end;
  color: #000000;
}

.footer-contact-logo:hover,
.footer-contact-logo:focus {
  color: #756157;
}

.footer-contact-logo:active {
  color: rgba(117, 97, 87, 0.3);
}

.catalog-filter-bloc {
  background-color: #85afcf;
  color: #ffffff;
  background-image: url("../images/background/filter-background.jpg");
  background-size: cover;
  padding-top: 35px;
  padding-bottom: 70px;
}

.catalog-filter-bloc h1 {
  font-weight: 700;
  font-size: 60px;
  line-height: 78px;
  margin: 0;
  margin-bottom: 8px;
  padding: 0;
}

.breadcrumbs-list {
  list-style-type: none;
  margin: 0;
  margin-bottom: 40px;
  padding: 0;
  display: flex;
}

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

.breadcrumbs-item:first-child .breadcrumbs-link {
  display: block;
  width: 12px;
  height: 14px;
  background-image: url("../images/svg/home.svg");
  background-repeat: no-repeat;
  background-position: center;
}

.breadcrumbs-item:first-child .breadcrumbs-link:hover,
.breadcrumbs-item:first-child .breadcrumbs-link:focus {
  opacity: 0.6;
}

.breadcrumbs-item:first-child::after {
  content: "";
  display: block;
  width: 17px;
  height: 20px;
  background-image: url("../images/svg/arrow-breadcrumbs.svg");
  background-repeat: no-repeat;
  margin-left: 5px;
  margin-right: 6px;
}

.breadcrumbs-link {
  color: inherit;
  text-decoration: none;
  font-size: 16px;
  line-height: 21px;
}

.catalog-filter-bloc {
  padding-left: 70px;
  padding-right: 70px;
}

.catalog-filter {
  display: flex;
  gap: 70px;
  min-height: 160px;
}

.catalog-filter-group {
  border: none;
  margin: 0;
  padding: 0;
}

.catalog-filter-group:nth-child(1) {
  width: 150px;
}

.catalog-filter-group:nth-child(2) {
  width: 150px;
  margin-right: auto;
}

.catalog-filter-group:nth-child(3) {
  width: 288px;
}

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

.catalog-filter-group:nth-child(3) .catalog-filter-title {
  margin: 0;
}

.catalog-filter-list {
  padding: 0;
  margin: 0;
}

.catalog-filter-item {
  list-style-type: none;
  font-size: 18px;
  line-height: 23px;
  padding: 0;
  margin-bottom: 15px;
}

.catalog-filter-item:last-child {
  margin-bottom: 0;
}

.control {
  display: flex;
  align-items: center;
}

.control:hover {
  opacity: 0.6;
}

.control:focus {
  border: 3px solid #83b3d3;
  border-radius: 4px;
}

.control:active {
  opacity: 0.3;
}

.control input[type="radio"]:disabled {
  background-color: #e5e5e5;
}

.control input[type="checkbox"]:disabled {
  background-color: #e5e5e5;
}

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

.control input[type="checkbox"] {
  appearance: none;
  width: 20px;
  height: 20px;
  background-color: #ffffff;
  margin: 0;
  margin-top: 2px;
  margin-right: 16px;
  border-radius: 4px;
  flex-shrink: 0;
}

.catalog-filter-group input[type="checkbox"]:checked {
  background-image: url("../images/svg/control-checkbox.svg");
  background-repeat: no-repeat;
  background-position: center;
}

.control input[type="radio"] {
  appearance: none;
  width: 20px;
  height: 20px;
  background-color: #ffffff;
  margin: 0;
  margin-top: 2px;
  margin-right: 16px;
  border-radius: 20px;
  flex-shrink: 0;
}

.catalog-filter-group input[type="radio"]:checked {
  background-image: url("../images/svg/control-radio.svg");
  background-repeat: no-repeat;
  background-position: center;
}

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

.field-price:disabled {
  background-color: #e5e5e5;
  cursor: default;
  pointer-events: none;
}

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

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

.inputs-price-container {
  display: flex;
  margin-top: 32px;
  margin-bottom: 44px;
}

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

.catalog-filter-text {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #000000;
  opacity: 0.3;
  font-size: 18px;
  line-height: 24px;
}

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

.catalog-filter-label:first-child .field-price {
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  margin-right: 2px;
}

.catalog-filter-label:last-child .field-price {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

.range-scale {
  position: relative;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.3);
}

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

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

.price-toggle-min {
  left: 0;
}

.price-toggle-max {
  right: -1px;
}

.catalog-button-container {
  display: flex;
  flex-direction: column;
  margin-top: 56px;
  height: 104px;
}

.button-submit {
  font-family: inherit;
  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
  width: 192px;
  min-height: 36px;
  border: 0;
  border-radius: 4px;
  color: inherit;
  background-color: #82b3d3;
  text-transform: uppercase;
  padding: 0;
  margin-bottom: auto;
  cursor: pointer;
}

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

.button-submit:active {
  color: rgba(255, 255, 255, 0.3);
  background-color: #68a2ca;
}

.button-submit:disabled {
  color: #ffffff;
  background-color: #e5e5e5;
  cursor: default;
  pointer-events: none;
}

.button-reset {
  font-family: inherit;
  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
  min-height: 36px;
  color: inherit;
  background-color: transparent;
  text-transform: uppercase;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.button-reset:disabled {
  opacity: 0.1;
  cursor: default;
  pointer-events: none;
}

.button-reset:hover {
  opacity: 0.6;
}

.button-reset:focus {
  border: 3px solid #83b3d3;
  border-radius: 4px;
}

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

.hotels-catalog {
  padding-left: 70px;
  padding-right: 70px;
}

.sorting-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 50px;
  margin-bottom: 40px;
}

.hotels-catalog h2 {
  font-weight: 700;
  font-size: 30px;
  line-height: 36px;
  text-transform: uppercase;
  width: 338px;
  margin: 0;
  margin-right: auto;
}

.select-control {
  appearance: none;
  width: 292px;
  height: 49px;
  font-family: inherit;
  font-size: 18px;
  line-height: 21px;
  color: #333333;
  background-color: transparent;
  border: 2px solid #e5e5e5;
  border-radius: 4px;
  padding-left: 18px;
  margin-right: 70px;
  background-image: url("../images/svg/arrow-down.svg");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 45px;
}

.select-control:hover,
.select-control:focus {
  border: 2px solid #68a2ca;
}

.select-control:disabled {
  color: rgba(0, 0, 0, 0.3);
}

.card-view-container {
  display: flex;
  flex-wrap: wrap;
  max-width: 160px;
  gap: 8px;
}

.button-tile {
  width: 20px;
  height: 20px;
  background-image: url("../images/svg/tile.svg");
  background-repeat: no-repeat;
  background-position: center;
}

.button-slideshow {
  width: 20px;
  height: 20px;
  background-image: url("../images/svg/slideshow.svg");
  background-repeat: no-repeat;
  background-position: center;
}

.button-list {
  width: 20px;
  height: 20px;
  background-image: url("../images/svg/list.svg");
  background-repeat: no-repeat;
  background-position: center;
}

.button-sort {
  box-sizing: border-box;
  border: 2px solid #e5e5e5;
  border-radius: 4px;
  min-width: 48px;
  min-height: 48px;
}

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

.button-sort:hover {
  border: 2px solid #000000;
  border-radius: 4px;
}

.button-sort:focus {
  border: 2px solid #68a2ca;
  border-radius: 4px;
}

.button-sort:active {
  border: 2px solid #000000;
  border-radius: 4px;
}

.hotels-catalog-list {
  display: grid;
  grid-template-columns: repeat(3, 340px);
  margin: 0;
  padding: 0;
  gap: 20px;
  list-style-type: none;
  border-bottom: 1px solid #e6e6e6;
  padding-bottom: 40px;
  margin-bottom: 40px;
}

.hotels-catalog-item {
  display: grid;
  grid-template-columns: 140px 140px;
  column-gap: 20px;
  row-gap: 16px;
  padding: 20px;
  box-sizing: border-box;
  outline: 1px solid #e6e6e6;
  border-radius: 4px;
  grid-template-rows: min-content 1fr min-content min-content min-content;
}

.product-card-link {
  grid-column: 1 / -1;
  display: block;
  text-decoration: none;
}

.product-card-link:hover {
  opacity: 0.8;
}

.product-card-img {
  display: block;
  width: 300px;
  height: 212px;
}

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

.hotel-title {
  font-size: 18px;
  line-height: 21px;
  margin: 0;
}

.hotel-price {
  margin: 0;
  font-size: 18px;
  line-height: 21px;
  justify-self: end;
}

.hotel-card-button {
  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
  color: #ffffff;
  text-transform: uppercase;
  width: 140px;
  min-height: 36px;
  text-align: center;
  border: 0;
  border-radius: 4px;
  padding: 0;
  align-items: center;
}

.button-info {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #756157;
  text-decoration: none;
}

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

.button-info:active {
  color: rgba(255, 255, 255, 0.3);
  background-color: #756157;
}

.button-info:disabled {
  color: #ffffff;
  background-color: #e5e5e5;
}

.button-favorite {
  font-family: inherit;
  background-color: #82b3d3;
  cursor: pointer;
}

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

.button-favorite:active {
  color: rgba(255, 255, 255, 0.3);
  background-color: #68a2ca;
}

.button-favorite:disabled {
  color: #ffffff;
  background-color: #e5e5e5;
}

.button-in-favorite {
  font-family: inherit;
  background-color: #7db54f;
  cursor: pointer;
}

.button-in-favorite:hover,
.button-in-favorite:focus {
  background-color: #6c9e42;
}

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

.button-in-favorite:disabled {
  color: #ffffff;
  background-color: #e5e5e5;
}

.rating-stars-2 {
  align-self: center;
  width: 42px;
  height: 18px;
  background-image: url("../images/svg/star.svg");
  background-repeat: space;
}

.rating-stars-3 {
  align-self: center;
  width: 66px;
  height: 18px;
  background-image: url("../images/svg/star.svg");
  background-repeat: space;
}

.rating-stars-4 {
  align-self: center;
  width: 90px;
  height: 18px;
  background-image: url("../images/svg/star.svg");
  background-repeat: space;
}

.hotel-rating {
  display: flex;
  grid-column: 2;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  line-height: 20px;
  background-color: #f2f2f2;
  text-transform: uppercase;
  width: 140px;
  height: 37px;
  text-align: center;
  border-radius: 4px;
}

.pagination-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style-type: none;
  padding: 0;
  margin: 0;
  height: 60px;
  margin-bottom: 60px;
}

.pagination-link {
  display: flex;
  font-weight: 700;
  font-size: 20px;
  line-height: 36px;
  color: #ffffff;
  background-color: #82b3d3;
  min-width: 60px;
  min-height: 60px;
  text-decoration: none;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  padding: 0 10px;
  box-sizing: border-box;
}

.pagination-link:hover,
.pagination-link:focus {
  background-color: #68a2ca;
  border: 1px solid #82b3d3;
}

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

.pagination-dots {
  display: flex;
  font-weight: 400;
  font-size: 22px;
  line-height: 26px;
  background-color: transparent;
  min-width: 60px;
  height: 60px;
  justify-content: center;
  align-self: center;
  border-radius: 4px;
  margin: 0;
  margin-top: 16px;
}

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

.pagination-current:hover,
.pagination-current:focus {
  color: #000000;
  background-color: #f2f2f2;
  border: none;
}

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

.subscribe-catalog {
  color: #000000;
  background-image: none;
  text-align: center;
  background-color: #ffffff;
}

.subscribe-catalog h2 {
  font-weight: 700;
  font-size: 30px;
  line-height: 36px;
  color: #000000;
  text-transform: uppercase;
}

.subscribe-catalog p {
  color: #333333;
}

.modal-container {
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  height: 100%;
  background-color: rgba(242, 242, 242, 0.8);
}

.modal {
  position: relative;
  margin: auto;
  padding: 64px 70px;
  width: 717px;
  min-height: 576px;
  background-color: #ffffff;
  border-radius: 30px;
  box-sizing: border-box;
}

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

.modal-close-button {
  position: absolute;
  padding: 0;
  top: 0;
  right: 0;
  width: 52px;
  height: 52px;
  background-color: #f2f2f2;
  border: none;
  border-radius: 50%;
  background-image: url("../images/svg/cross.svg");
  background-repeat: no-repeat;
  background-position: center;
  margin-top: 64px;
  margin-right: 52px;
  cursor: pointer;
}

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

.modal-close-button:focus {
  border: 3px solid #83b3d3;
  background-color: #e6e6e6;
}

.modal-close-button:active {
  opacity: 0.3;
  background-color: #e6e6e6;
}

.modal-close-button:disabled {
  opacity: 0.1;
  cursor: default;
  pointer-events: none;
}

.modal-title {
  margin: 0;
  font-family: "PT Sans", sans-serif;
  font-weight: 700;
  line-height: 36px;
  font-size: 30px;
  text-transform: uppercase;
  margin-bottom: 64px;
}

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

.field-group-date {
  display: flex;
  align-items: flex-start;
  margin-bottom: 23px;
}

.field-group-date label {
  font-family: "PT Sans", sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 24px;
  margin-right: 18px;
  width: 119px;
  padding: 12px 0 0 0;
  flex-shrink: 0;
}

.date-input-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
}

.field-group-date input {
  font-family: "PT Sans", sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 24px;
  box-sizing: border-box;
  width: 440px;
  height: 48px;
  background-color: #f2f2f2;
  border: none;
  padding-left: 20px;
  padding-right: 50px;
  border-radius: 4px;
}

.date-icon-button {
  position: absolute;
  top: 14px;
  right: 20px;
  padding: 0;
  border: none;
  background-color: transparent;
  cursor: pointer;
  opacity: 0.3;
}

.date-message {
  font-size: 16px;
  line-height: 21px;
  padding-top: 4px;
  padding-left: 20px;
  margin: 0;
}

.message-error {
  color: #ff5757;
}

.field-group-date input:hover {
  background-color: #e5e5e5;
}

.field-group-number {
  display: flex;
  align-items: center;
  flex-direction: row;
  margin-bottom: 48px;
}

.field-group-number label {
  font-family: "PT Sans", sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 24px;
  margin-right: 10px;
}

.field-group-number label[for="count-adult"] {
  margin-right: 46px;
}

.number-input-wrapper {
  display: flex;
  align-items: center;
  background-color: #f2f2f2;
  border-radius: 4px;
  width: 110px;
  height: 48px;
}

.adult-wrapper {
  margin-right: 88px;
}

.number-btn {
  width: 40px;
  height: 100%;
  border: none;
  background-color: transparent;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  color: rgba(117, 97, 87, 0.3);
}

.number-btn:hover {
  color: #000000;
}

.number-btn:focus {
  color: #000000;
  border: 3px solid #82b3d3;
  border-radius: 4px;
}

.number-btn:active {
  color: #000000;
  opacity: 0.2;
}

.field-group-number input {
  font-family: "PT Sans", sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 24px;
  width: 31px;
  height: 48px;
  border: none;
  border-radius: 4px;
  background-color: transparent;
  text-align: center;
  padding: 0;
}

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

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

.field-group-number input:hover {
  background-color: #e5e5e5;
}

.count-kids {
  display: flex;
}

.tooltip {
  position: relative;
  margin-right: 46px;
  width: 26px;
  height: 26px;
}

.tooltip-button {
  display: block;
  justify-content: center;
  align-items: center;
  border: none;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  background-color: #83b3d3;
  background-image: url("../images/svg/info.svg");
  background-repeat: no-repeat;
  background-position: center;
  padding: 0;
  margin: 0;
}

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

.tooltip-text {
  box-sizing: border-box;
  position: absolute;
  background-color: #333333;
  color: #ffffff;
  font-size: 16px;
  line-height: 20px;
  padding: 20px 18px 13px 22px;
  border-radius: 10px;
  width: 256px;
  min-height: 143px;
  top: 100%;
  margin-top: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: none;
}

.tooltip-button:hover + .tooltip-text,
.tooltip-button:focus + .tooltip-text {
  display: block;
}

.find-button {
  font-family: "PT Sans", sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 24px;
  border: none;
  color: #ffffff;
  text-transform: uppercase;
  border-radius: 10px;
  background-color: #83b3d3;
  min-height: 60px;
  cursor: pointer;
}

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

.find-button:active {
  color: rgba(255, 255, 255, 0.3);
  background-color: #68a2ca;
}

.find-button:disabled {
  color: #ffffff;
  background-color: #e5e5e5;
  cursor: default;
  pointer-events: none;
}
