@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 {
  min-height: 100%;
}

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

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

img {
  max-width: 100%;
  height: auto;
}

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

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

.navigation {
  padding: 0 70px;
  display: flex;
  align-items: center;
}

.navigation-logo {
  min-width: 140px;
  min-height: 64px;
  position: relative;
  margin-right: 30px;
}

.header-logo {
  position: absolute;
}

.navigation-lists {
  display: flex;
  flex-grow: 1;
  justify-content: space-between;
}

.navigation-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.navigation-list.navigation-user {
  min-width: 96px;
}

.navigation-link {
  display: block;
  font-weight: 700;
  font-size: 20px;
  line-height: 24px;
  text-transform: capitalize;
  color: #000000;
  text-decoration: none;
  outline: none;
}

.navigation-link:not(.navigation-link.button) {
  min-width: 44px;
  min-height: 48px;
}

.navigation-link-current {
  position: relative;
  pointer-events: none;
}

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

.navigation-link:not(.navigation-link.button):hover {
  opacity: 50%;
}

.navigation-link:not(.navigation-link.button):focus-visible {
  outline: 2px solid #83b3d3;
}

.navigation-link:not(.navigation-link.button):active,
a:active span {
  color: rgba(0, 0, 0, 0.3);
}

.navigation-list:first-of-type .navigation-link {
  padding: 20px 16px;
}

.navigation-user {
  justify-content: flex-end;
}

.navigation-user .navigation-link:not(.navigation-link.button) {
  padding: 22px 12px;
}

.navigation-link.button {
  font-size: 16px;
  line-height: 20px;
  padding: 8px 5px;
  min-width: 160px;
  margin-left: 20px;
}

.icon-favorites {
  position: relative;
}

.navigation-link svg {
  display: block;
}

.favorite-hotels {
  position: absolute;
  top: 10px;
  right: 4px;
  border-radius: 50%;
  min-width: 20px;
  min-height: 20px;
  background-color: #7db54f;
  font-size: 10px;
  font-weight: 400;
  line-height: 20px;
  text-align: center;
  color: #ffffff;
}

.button {
  display: block;
  font-family: inherit;
  font-weight: 700;
  border-radius: 4px;
  text-transform: uppercase;
  text-align: center;
  color: #ffffff;
  text-decoration: none;
  border: none;
  cursor: pointer;
  outline: none;
}

.button-primary {
  background-color: #756157;
}

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

.button-primary:active,
.button-secondary:active,
.button-tertiary:active,
.button-quaternary:active {
  color: rgba(255, 255, 255, 0.3);
}

.button-secondary {
  background-color: #82b3d3;
}

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

.button-tertiary {
  background-color: #7db54f;
}

.button-tertiary:hover,
.button-tertiary:focus-visible {
  background-color: #6c9e42;
}

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

.button-quaternary:hover {
  opacity: 60%;
}

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

.button-quaternary:disabled {
  color: rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

.button:not(.button-quaternary):disabled {
  background-color: #e5e5e5;
  pointer-events: none;
}

.navigation-item .button {
  font-size: 16px;
  line-height: 20px;
  padding: 8px 5px;
  min-width: 160px;
  margin-left: 20px;
}

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

.preview {
  text-align: center;
  margin-bottom: 24px;
}

.preview-background {
  background-image: url("../images/preview-pattern.svg"), url("../images/background-preview.jpg");
  background-color: #c2d5e3;
  background-size: 100% auto, cover;
  background-position: left calc(100% + 1px), left top;
  background-repeat: no-repeat;
  padding: 52px 70px 82px;
}

.preview-picture {
  margin: 0 auto;
}

.preview-title-text {
  padding: 66px 274px;
}

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

.preview-text {
  margin: 0;
  font-size: 22px;
  line-height: 26px;
}

.advantages-list {
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.advantages-item {
  min-height: 386px;
}

.advantages-item.dark {
  background-color: #82b3d3;
  color: #ffffff;
  display: flex;
  grid-column: span 3;
}

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

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

.advantages-title-description {
  padding: 110px 84px 100px;
}

.advantages-title-description-dark {
  min-width: 400px;
  min-height: 100%;
}

.advantages-title-description-dark {
  padding: 103px 86px 88px;
}

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

.advantages-title.light {
  color: #ffffff;
}

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

.advantages-title-description-dark .advantages-description::before {
  background-color: rgba(255, 255, 255, 0.3);
}

.advantages-picture {
  min-height: 100%;
  object-fit: cover;
}

.services {
  text-align: center;
}

.services-title-text {
  padding: 59px 348px 64px;
}

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

.services-text {
  margin: 0;
  font-size: 22px;
  line-height: 26px;
}

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

.services-item {
  flex-basis: 400px;
  min-height: 385px;
  padding: 152px 84px 56px;
  background-repeat: no-repeat;
  background-position: center 80px;
}

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

.item-housing {
  background-image: url("../images/housing.svg");
}

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

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

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

.hotel-search {
  text-align: center;
  padding: 96px 70px;
}

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

.hotel-search-text {
  font-size: 22px;
  line-height: 26px;
  margin: 0 0 54px 0;
}

.button-search {
  font-size: 20px;
  line-height: 36px;
  padding: 8px 50px;
  margin: 0 auto;
  margin-bottom: 24px;
}

.button-search:last-child {
  margin-bottom: 0;
}

.newsletter {
  background-image: url("../images/newsletter-background.jpg");
  background-color: #83aabb;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  color: #ffffff;
  text-align: center;
  padding: 96px 70px 104px;
}

.newsletter-title {
  margin: 0 0 20px 0;
  font-weight: 700;
  font-size: 30px;
  line-height: 36px;
  text-transform: uppercase;
}

.newsletter-text {
  margin: 0 0 54px 0;
  font-size: 22px;
  line-height: 26px;
}

.newsletter-form {
  display: flex;
  justify-content: center;
}

.newsletter-field {
  font-family: inherit;
  font-size: inherit;
  border-radius: 4px 0 0 4px;
  border: none;
  min-width: 452px;
  padding: 14px 20px;
  outline: none;
  cursor: pointer;
}

.newsletter-field::placeholder {
  font-family: inherit;
  font-size: inherit;
  line-height: 24px;
  color: rgba(0, 0, 0, 0.6);
}

.newsletter-field:hover,
.newsletter-field:focus-visible {
  background-color: #e6e6e6;
}

.newsletter-field:focus-visible {
  outline: 3px solid #83b3d3;
}

.newsletter-field:active {
  background-color: #d3d3d3;
}

.newsletter-button {
  font-size: 20px;
  line-height: 36px;
  border-radius: 0 4px 4px 0;
  padding: 8px 50px;
}

.page-footer {
  padding: 40px 70px 30px;
}

.footer-contacts-address {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-social-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  max-width: 160px;
  flex-shrink: 0;
}

.social-link {
  display: block;
  outline: none;
  padding: 15px 10px;
}

.social-link svg {
  display: block;
}

.social-link:hover svg,
.social-link:focus-visible svg {
  fill: #68a2ca;
}

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

.footer-phone {
  color: #000000;
  text-decoration: none;
  font-style: normal;
  font-size: 40px;
  line-height: 40px;
  display: block;
  outline: none;
  padding: 5px 0;
  max-width: 720px;
}

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

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

.htmlacademy-link {
  display: block;
  width: 116px;
  height: 36px;
  padding: 3px 0;
  color: #000000;
  text-decoration: none;
  font-style: normal;
  outline: none;
}

.htmlacademy-link svg {
  display: block;
}

.htmlacademy-link:hover svg,
.htmlacademy-link:focus-visible svg {
  fill: #756157;
}

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

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

.modal-close {
  display: none;
}

.modal-window {
  background-color: #ffffff;
  box-shadow: 0 25px 50px 0 rgba(0, 0, 0, 0.15);
  min-width: 718px;
  max-height: 100%;
  overflow-y: auto;
  margin: auto;
  padding: 64px 70px;
  border-radius: 30px;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 48px;
}

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

.modal-button-close {
  display: block;
  min-width: 52px;
  min-height: 52px;
  border-radius: 50%;
  border: none;
  outline: none;
  background-color: #f2f2f2;
  cursor: pointer;
  position: relative;
  margin-right: -18px;
}

.modal-button-close::before,
.modal-button-close::after {
  content: "";
  display: block;
  position: absolute;
  min-width: 20px;
  min-height: 2px;
  background-color: #000000;
  top: 50%;
  left: 50%;
}

.modal-button-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.modal-button-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.modal-button-close:hover,
.modal-button-close:focus-visible,
.modal-button-close:active {
  background-color: #e6e6e6;
}

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

.modal-button-close:active {
  opacity: 60%;
}

.form-group {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.modal-label {
  font-weight: 700;
  font-size: 20px;
  line-height: 24px;
  color: #000000;
}

.input-arrival,
.input-departure {
  min-width: 440px;
  border-radius: 4px;
  padding: 12px 20px;
  margin-bottom: 4px;
  background-color: #f2f2f2;
  border: none;
  outline: none;
  color: #000000;
  font-family: "PT Sans", sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 24px;
  background-image: url("../images/calendar.svg");
  background-repeat: no-repeat;
  background-position: right 20px center;
  cursor: pointer;
}

.input-arrival::placeholder,
.input-departure::placeholder {
  opacity: 60%;
}

.input-arrival:hover,
.input-departure:hover {
  background-color: #e6e6e6;
}

.input-arrival:focus-visible,
.input-departure:focus-visible {
  background-color: #e6e6e6;
  outline: 3px solid #83b3d3;
}

.input-arrival:disabled,
.input-departure:disabled {
  opacity: 0.8;
  pointer-events: none;
}

.modal-message {
  margin: 0 0 22px 20px;
  padding: 0;
  font-size: 16px;
  line-height: 21px;
  color: #333333;
}

.modal-message-warning {
  color: #ff5757;
}

.guests-container {
  display: flex;
  justify-content: space-between;
  margin-bottom: 48px;
}

.guest-group {
  min-width: 246px;
  align-items: center;
}

.count-controls {
  display: flex;
  background-color: #f2f2f2;
  border-radius: 4px;
}

.count-controls:has(.count-input:hover) {
  background-color: #e6e6e6;
}

.count-controls:has(.count-input:focus-visible) {
  background-color: #e6e6e6;
  outline: 3px solid #83b3d3;
}

.count-controls:has(.count-input:disabled) {
  background-color: #f2f2f2;
  pointer-events: none;
  opacity: 0.8;
}

.count-button {
  display: block;
  min-width: 40px;
  min-height: 48px;
  border: none;
  outline: none;
  cursor: pointer;
  background-color: transparent;
  color: rgba(117, 97, 87, 0.3);
  position: relative;
}

.count-button::before,
.button-plus::after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  background-color: currentColor;
  transform: translate(-50%, -50%);
}

.count-button::before {
  min-width: 14px;
  min-height: 2px;
}

.button-plus::after {
  min-width: 2px;
  min-height: 14px;
}

.count-button:hover,
.count-button:focus-visible,
.count-button:active {
  color: #000000;
}

.count-button:disabled {
  opacity: 0.8;
  pointer-events: none;
}

.count-button:focus-visible::before,
.button-plus:focus-visible::after {
  content: "";
  position: absolute;
  border-radius: 4px;
  box-shadow: 0 0 0 3px #82b3d3;
  min-width: 20px;
  min-height: 20px;
  background-color: transparent;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: center;
}

.count-button:focus-visible::before {
  background-size: 14px 2px;
}

.button-plus:focus-visible::after {
  background-size: 2px 14px;
}

.count-button:active {
  opacity: 20%;
}

.count-input {
  width: 32px;
  border: none;
  outline: none;
  background-color: transparent;
  font-weight: 700;
  font-size: 18px;
  line-height: 20px;
  text-align: center;
  color: #000000;
  font-family: inherit;
  appearance: textfield;
}

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

.label-tooltip-wrapper {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
}

.tooltip-toggle {
  display: block;
  min-width: 26px;
  min-height: 26px;
  border: none;
  border-radius: 50%;
  background-color: #83b3d3;
  color: #ffffff;
  cursor: pointer;
  position: relative;
}

.tooltip-toggle::before {
  content: "";
  display: block;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  min-width: 2px;
  min-height: 2px;
  background-color: #ffffff;
}

.tooltip-toggle::after {
  content: "";
  display: block;
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  min-width: 2px;
  min-height: 10px;
  background-color: #ffffff;
}

.tooltip-text {
  display: none;
  position: absolute;
  min-width: 256px;
  min-height: 144px;
  border-radius: 10px;
  padding: 16px 18px 18px 22px;
  background-color: #333;
  box-shadow: 0 15px 30px 0 rgba(0, 0, 0, 0.3);
  color: #ffffff;
  font-size: 16px;
  line-height: 20px;
  left: -60%;
}

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

.tooltip-toggle:hover + .tooltip-text,
.tooltip-toggle:focus-visible + .tooltip-text,
.tooltip-toggle:active + .tooltip-text {
  display: block;
}

.modal-search-button {
  display: block;
  border: none;
  width: 100%;
  border-radius: 10px;
  padding: 18px 10px;
  background-color: #83b3d3;
  color: #ffffff;
  font-family: inherit;
  font-weight: 700;
  font-size: 20px;
  line-height: 24px;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
}

.modal-search-button:disabled {
  background-color: #e5e5e5;
  opacity: 0.8;
  pointer-events: none;
}

.sedona-hotels {
  background-image: url("../images/filters-background.jpg");
  background-color: #8ab8d2;
  color: #ffffff;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 35px 70px 70px;
}

.inner-header-title {
  margin: 0 0 8px 0;
  font-weight: 700;
  font-size: 60px;
  line-height: 78px;
}

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

.breadcrumbs-item:not(:first-child) {
  background-image: url("../images/breadcrumbs-arrow.svg");
  background-repeat: no-repeat;
  background-position: left center;
  min-width: 8px;
  min-height: 10px;
  margin-left: 10px;
  pointer-events: none;
}

.breadcrumbs-item .current-page {
  font-size: 16px;
  display: block;
  margin-left: 20px;
}

.breadcrumbs-link svg {
  display: block;
}

.breadcrumbs-link svg:hover {
  fill: rgba(255, 255, 255, 0.6);
}

.breadcrumbs-link svg:focus-visible {
  outline: none;
}

.breadcrumbs-link svg:active {
  fill: rgba(255, 255, 255, 0.3);
}

.catalog-filter {
  display: flex;
  flex-wrap: wrap;
  row-gap: 24px;
}

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

.catalog-filter-checkbox {
  margin-right: 67px;
  max-width: 150px;
}

.catalog-filter-radio {
  max-width: 150px;
  margin-right: 150px;
}

.catalog-filter-price {
  margin-right: 60px;
  min-width: 288px;
  flex-shrink: 0;
}

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

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

.catalog-filter-item:not(:last-child) {
  margin-bottom: 18px;
}

.control {
  position: relative;
  display: block;
  padding-left: 36px;
  outline: none;
  cursor: pointer;
}

.control-mark {
  position: absolute;
  min-width: 20px;
  min-height: 20px;
  top: 2px;
  left: 0;
  background-color: #ffffff;
}

.control-mark svg {
  display: none;
}

.control-checkbox:checked + .control-mark svg {
  display: block;
}

.control-checkbox + .control-mark {
  border-radius: 4px;
}

.control-radio + .control-mark {
  border-radius: 50%;
}

.control-radio:checked + .control-mark::before {
  content: "";
  display: block;
  position: absolute;
  min-width: 10px;
  min-height: 10px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #3f5e72;
  border-radius: 50%;
}

.control:hover {
  opacity: 60%;
}

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

.control:active {
  opacity: 30%;
}

.control:has(.control-checkbox:disabled),
.control:has(.control-radio:disabled) {
  pointer-events: none;
  opacity: 20%;
}

.price-wrapper {
  position: relative;
}

.price {
  font-family: inherit;
  font-weight: 700;
  font-size: inherit;
  line-height: 24px;
  color: #000000;
  background-color: #f2f2f2;
  appearance: textfield;
  min-width: 144px;
  min-height: 48px;
  padding: 12px 20px;
  border: none;
  outline: none;
  margin-bottom: 44px;
  cursor: pointer;
}

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

.price:hover,
.price:focus-visible {
  background-color: #e6e6e6;
}

.price:focus-visible {
  outline: 3px solid #83b3d3;
}

.price:active {
  background-color: #d3d3d3;
}

.price:first-of-type {
  border-radius: 4px 0 0 4px;
  margin-right: -2px;
}

.price:last-of-type {
  border-radius: 0 4px 4px 0;
}

.price-wrapper .from,
.price-wrapper .to {
  line-height: 24px;
  text-align: right;
  color: rgba(0, 0, 0, 0.3);
  position: absolute;
  top: 12px;
  bottom: 12px;
}

.price-wrapper .from {
  left: 106px;
}

.price-wrapper .to {
  right: 20px;
}

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

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

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

.range-toggle:hover,
.range-toggle:focus-visible {
  box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.25);
}

.range-toggle:focus-visible {
  border: 3px solid #83b3d3;
}

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

.toggle-max {
  right: 0;
}

.flex-buttons {
  display: flex;
  flex-direction: column;
  margin-left: auto;
}

.button-submit,
.button-reset {
  font-family: inherit;
  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
  text-transform: uppercase;
  text-align: center;
  color: #ffffff;
  border-radius: 4px;
}

.button-submit {
  border: none;
  margin: 56px 0 32px 0;
  padding: 8px 50px;
  display: flex;
  cursor: pointer;
}

.button-reset {
  border: none;
  display: flex;
  padding: 8px 58px;
  cursor: pointer;
}

.catalog-hotels {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 48px 70px 60px;
}

.hotel-quantity {
  margin: 0;
  font-weight: 700;
  font-size: 30px;
  line-height: 36px;
  text-transform: uppercase;
  color: #000000;
  max-width: 350px;
}

.select-wrapper {
  position: relative;
  margin-left: auto;
}

.select-wrapper::after {
  content: "";
  display: block;
  position: absolute;
  min-width: 10px;
  min-height: 10px;
  right: 92px;
  top: 45%;
  border-right: 2px solid #000000;
  border-bottom: 2px solid #000000;
  transform: translateY(-50%) rotate(45deg);
  pointer-events: none;
}

.select-control {
  background-color: transparent;
  border: 2px solid #e5e5e5;
  border-radius: 4px;
  padding: 14px 20px;
  min-width: 292px;
  min-height: 49px;
  margin: 0 70px 0 auto;
  outline: none;
  cursor: pointer;
  appearance: none;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}

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

.select-control:disabled {
  border: 2px solid rgba(0, 0, 0, 0.3);
  color: rgba(0, 0, 0, 0.3);
  pointer-events: none;
}

.hotels-display {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  max-width: 160px;
}

.display-item-link {
  display: block;
  border: 2px solid #e5e5e5;
  border-radius: 4px;
  padding: 14px 12px;
  min-width: 48px;
  min-height: 48px;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  outline: none;
}

.display-item-link.selected {
  border: 2px solid #000000;
  background-image: url("../images/cards.svg");
}

.display-item-link.large-cards {
  background-image: url("../images/large-cards.svg");
}

.display-item-link.list {
  background-image: url("../images/list.svg");
}

.display-item-link:hover,
.display-item-link:active {
  border: 2px solid #000000;
}

.display-item-link:focus-visible {
  border: 2px solid #68a2ca;
}

.hotels-list {
  margin: 35px 0 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 340px);
  gap: 20px;
}

.hotels-card {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(4, auto);
  gap: 16px 20px;
  border: 1px solid #e6e6e6;
  border-radius: 4px;
  padding: 20px;
}

.hotels-card-link {
  text-decoration: none;
  font-weight: 700;
  font-size: 24px;
  line-height: 28px;
  color: #000000;
  grid-column: 1/-1;
}

.hotels-card-image {
  margin-bottom: 14px;
  object-fit: cover;
  width: 100%;
}

.hotels-card-title {
  margin: 0;
  font-size: 24px;
}

.hotel-price {
  text-align: right;
}

.hotel-price b,
.hotel-rating b {
  font-weight: 400;
}

.button.details,
.button.add-to-favorites,
.button.favorites,
.button.hotel-rating {
  min-width: 140px;
  padding: 8px 5px;
  font-size: 16px;
  line-height: 20px;
}

.stars {
  background-image: url("../images/star.svg");
  background-repeat: space no-repeat;
  background-size: 18px 17px;
  margin-top: 8px;
}

.stars-one,
.stars-two {
  width: 86px;
}

.stars-three {
  width: 66px;
}

.stars-four {
  width: 42px;
}

.button.hotel-rating {
  font-weight: 400;
  background-color: #f2f2f2;
  color: #333333;
  pointer-events: none;
}

.pagination::before {
  content: "";
  display: block;
  min-width: 1060px;
  min-height: 1px;
  background-color: #e6e6e6;
  transform: rotate(-180deg);
  margin: 20px 0 30px 0;
}

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

.pagination-link {
  font-size: 20px;
  line-height: 60px;
  min-width: 60px;
  min-height: 60px;
}

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

.item-forward {
  display: block;
  font-size: 22px;
  line-height: 60px;
  text-align: center;
  color: #000000;
  border-radius: 4px;
  min-width: 60px;
  min-height: 60px;
  pointer-events: none;
}

.newsletter-no-background {
  background-image: none;
  background-color: #ffffff;
}

.newsletter-no-background .newsletter-title {
  color: #000000;
}

.newsletter-no-background .newsletter-text {
  color: #333333;
}

.newsletter-field-dark,
.newsletter-field-dark:active {
  background-color: #f2f2f2;
}

.newsletter-field-dark:hover,
.newsletter-field-dark:focus-visible {
  background-color: #e6e6e6;
  opacity: 60%;
}

.newsletter-field-dark:focus-visible {
  outline: 3px solid #83b3d3;
}
