@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;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0;
  font-family: "PT Sans", sans-serif;
  font-size: 18px;
  line-height: 21px;
  color: #000000;
  background-color: #f2f2f2;
  box-sizing: border-box;
  padding-bottom: 0;
  margin-bottom: 0;
}

.site-container {
  max-width: 1200px;
  margin: 0 auto;
  background-color: #ffffff;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  margin-bottom: 0;
  padding-bottom: 0;
}

.main-header {
  display: flex;
  align-items: flex-start;
  padding: 0 70px;
  background-color: #ffffff;
  position: relative;
  z-index: 10;
  width: 100%;
  box-sizing: border-box;
}

.header-logo-link {
  display: block;
  width: 140px;
  height: 64px;
  margin-right: 45px;
  flex-shrink: 0;
  box-sizing: border-box;
  position: relative;
  z-index: 11;
}

.header-logo-img {
  display: block;
  width: 140px;
  height: 70px;
  box-sizing: border-box;
}

.navigation {
  display: flex;
  align-items: center;
  flex-grow: 1;
  justify-content: space-between;
  box-sizing: border-box;
}

.navigation-list {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style-type: none;
  box-sizing: border-box;
}

.navigation-link {
  display: block;
  padding: 20px 0;
  text-decoration: none;
  color: #000000;
  font-weight: 700;
  font-size: 20px;
  line-height: 24px;
  white-space: nowrap;
  box-sizing: border-box;
}

.navigation-link-current {
  position: relative;
  box-sizing: border-box;
}

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

.navigation-user {
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style-type: none;
  box-sizing: border-box;
}

.navigation-user .navigation-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  width: 20px;
  height: 20px;
  box-sizing: border-box;
  text-decoration: none;
}

.navigation-link-search {
  display: block;
  width: 20px;
  height: 20px;
  background-image: url("../images/index/search.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transform: translateX(5px);
}

.navigation-link-favorite {
  display: block;
  width: 20px;
  height: 20px;
  background-image: url("../images/index/heart.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  position: relative;
  transform: translateX(-1px);
}

.navigation-item-favorite {
  position: relative;
}

.favorite-count {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 20px;
  height: 20px;
  font-size: 12px;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
  color: #ffffff;
  background-color: #7db54f;
  border-radius: 50%;
}

.navigation-button {
  display: inline-block;
  padding: 8px 0;
  background-color: #756157;
  color: #ffffff;
  text-decoration: none;
  border-radius: 4px;
  font-size: 16px;
  line-height: 20px;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
  margin-left: 0;
  box-sizing: border-box;
  width: 160px;
  height: 36px;
  text-align: center;
}

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

.main-index,
.main-inner {
  background-color: #ffffff;
  width: 100%;
  box-sizing: border-box;
}

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

.welcome {
  padding-top: 51px;
  padding-bottom: 82px;
  text-align: center;
  background-color: #1b2d3a;
  background-image: url("../images/index/index-background.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  box-sizing: border-box;
}

.welcome::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 56.5px;
  background-image: url("../images/index/divider.svg");
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: cover;
}

.main-logo-img {
  display: block;
  width: 458px;
  height: 352px;
  margin: 0 auto;
  box-sizing: border-box;
}

.welcome-text-block {
  padding-top: 69px;
  padding-bottom: 90px;
  padding-left: 20px;
  padding-right: 20px;
  text-align: center;
  background-color: #ffffff;
  box-sizing: border-box;
}

.welcome-text-block .welcome-title {
  margin: 0;
  margin-bottom: 25px;
  box-sizing: border-box;
}

.welcome-text-block .welcome-text {
  margin: 0;
  box-sizing: border-box;
}

.welcome-title {
  margin: 0;
  margin-bottom: 25px;
  font-size: 30px;
  line-height: 36px;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  box-sizing: border-box;
}

.welcome-title-main {
  margin: 0;
  margin-bottom: 25px;
  font-size: 30px;
  line-height: 36px;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  box-sizing: border-box;
  transform: translateY(5px);
}

.welcome-title-subscribe {
  margin: 0;
  margin-bottom: 25px;
  font-size: 30px;
  line-height: 36px;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  box-sizing: border-box;
  transform: translateY(2px);
}

.welcome-text {
  margin: 0;
  font-size: 25px;
  line-height: 26px;
  color: #333333;
  text-align: center;
  box-sizing: border-box;
  letter-spacing: -1.43px;
}

.welcome-text-subscribe {
  margin: 0;
  font-size: 22px;
  line-height: 26px;
  color: #ffffff;
  text-align: center;
  box-sizing: border-box;
  transform: translateY(-2px);
}

.welcome-title-hotel{
  margin: 0;
  margin-bottom: 25px;
  font-size: 30px;
  line-height: 36px;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  box-sizing: border-box;
  transform: translateY(-7px);
}

.advantages {
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.advantages-block {
  display: grid;
  grid-template-columns: 400px 800px;
  margin-bottom: -5px;
  box-sizing: border-box;
  min-height: 382px;
}

.advantages-block img {
  display: block;
  width: 100%;
  min-height: 385px;
  object-fit: cover;
  box-sizing: border-box;
}

.advantages-text-content {
  padding: 102px 45px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  background-color: #82b3d3;
  color: #ffffff;
  min-height: 385px;
  width: 400px;
  box-sizing: border-box;
}

.advantages-block-reverse {
  grid-template-columns: 800px 400px;
  box-sizing: border-box;
}

.advantages-title {
  margin: 0;
  margin-bottom: 30px;
  font-size: 24px;
  line-height: 28px;
  font-weight: 700;
  text-transform: uppercase;
  box-sizing: border-box;
  letter-spacing: -0.3px;
  transform: translateY(3px);
}
.advantages-title-main {
  margin: 0;
  margin-bottom: 30px;
  font-size: 24px;
  line-height: 28px;
  font-weight: 700;
  text-transform: uppercase;
  box-sizing: border-box;
  letter-spacing: -0.3px;
  transform: translateY(1px);
}

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

.advantages-text {
  margin: 0;
  white-space: normal;
  word-wrap: break-word;
  word-break: break-word;
  line-height: 1.2;
  box-sizing: border-box;
  transform: translateY(2px);
}

.hotel-search-text{
  margin-top: 23px;
  margin-bottom: 0;
  font-size: 22px;
  line-height: 26px;
  color: #333333;
  text-align: center;
  box-sizing: border-box;
  transform: translateY(-12.5px);
}

.advantages-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 0;
  list-style-type: none;
  box-sizing: border-box;
}

.advantages-item {
  padding: 113px 40px;
  text-align: center;
  min-height: 385px;
  box-sizing: border-box;
  background-color: rgba(131, 179, 211, 0.12);
}

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

.advantages-item .advantages-title {
  margin: 0;
  margin-bottom: 30px;
  box-sizing: border-box;
}

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

.advantages-list-icons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 0;
  list-style-type: none;
  box-sizing: border-box;
}

.advantages-item-house {
  padding: 83px 85px;
  text-align: center;
  min-height: 385px;
  box-sizing: border-box;
  background-color: rgba(131, 179, 211, 0.12);
}

.advantages-item-food {
  padding: 83px 85px;
  text-align: center;
  min-height: 385px;
  box-sizing: border-box;
  background-color: #ffffff;
}

.advantages-item-souvenir {
  padding: 83px 85px;
  text-align: center;
  min-height: 385px;
  box-sizing: border-box;
  background-color: rgba(131, 179, 211, 0.12);
}

.advantages-list-icons img {
  display: block;
  width: 75px;
  height: 72px;
  margin: 0 auto 30px;
  box-sizing: border-box;
}

.advantages-list-icons .advantages-title {
  margin: 0;
  margin-bottom: 30px;
  box-sizing: border-box;
}

.welcome-block {
  padding: 62px 20px;
  text-align: center;
  box-sizing: border-box;
}

.welcome-block .welcome-title {
  margin-bottom: 20px;
  box-sizing: border-box;
}

.hotel-search {
  padding: 100px 20px;
  text-align: center;
  box-sizing: border-box;
}

.hotel-search-button {
  display: inline-block;
  padding: 16px 40px;
  background-color: #756157;
  color: #ffffff;
  font-size: 20px;
  line-height: 22px;
  font-weight: 700;
  border: none;
  border-radius: 4px;
  text-transform: uppercase;
  cursor: pointer;
  font-family: inherit;
  margin-top: 42px;
  box-sizing: border-box;
  width: 376px;
  height: 52px;
}

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

.subscribe {
  padding: 90px 20px;
  text-align: center;
  background-color: #1b2d3a;
  background-image: url("../images/index/subscribe.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
  box-sizing: border-box;
  min-height: 415px;
}

.subscribe .welcome-title {
  color: #ffffff;
  box-sizing: border-box;
}

.subscribe .welcome-text {
  color: #ffffff;
  box-sizing: border-box;
}

/* Форма подписки */
.subscribe-form {
  display: flex;
  justify-content: center;
  margin-top: 54px;
  box-sizing: border-box;
  transform: translateY(-1px);
}

/* Поле ввода email — 452x52 */
.subscribe-email {
  width: 452px;
  height: 52px;
  padding: 14px 20px;
  border: none;
  font-size: 18px;
  font-family: inherit;
  background-color: #f2f2f2;
  border-radius: 4px 0 0 4px;
  color: #000000;
  box-sizing: border-box;
}

.subscribe-button {
  width: 232px;
  height: 52px;
  padding: 0;
  background-color: #82b3d3;
  color: #ffffff;
  font-weight: 700;
  font-size: 20px;
  line-height: 52px;
  text-transform: uppercase;
  border-radius: 0 4px 4px 0;
  border: none;
  cursor: pointer;
  font-family: inherit;
  box-sizing: border-box;
  text-align: center;
  white-space: nowrap;
}

.subscribe-email::placeholder {
  color: #000000;
  opacity: 0.6;
}

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

.page-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 20px 70px 60px 70px;
  background-color: #ffffff;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 30px;
  padding-bottom: 0;
}

.footer-social-list {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-left: 10px;
  padding: 0;
  list-style-type: none;
  box-sizing: border-box;
  margin-top: 35px;
  width: 142px;
}

.footer-social-link {
  display: block;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  box-sizing: border-box;
}

.footer-social-link-vk {
  background-image: url("../images/index/social/vk.svg");
  width: 24px;
  height: 14px;
}

.footer-social-link-telegram {
  background-image: url("../images/index/social/telegram.svg");
  width: 18px;
  height: 16px;
}

.footer-social-link-youtube {
  background-image: url("../images/index/social/youtube.svg");
  width: 22px;
  height: 17px;
}

.footer-social-link:hover {
  opacity: 0.7;
}

.footer-contact {
  padding: 5px 0;
  box-sizing: border-box;

}

.footer-contact-item {
  margin-top: 16px;
  margin-left: 6px;
  display: block;
  font-size: 40px;
  line-height: 40px;
  color: #000000;
  text-decoration: none;
  box-sizing: border-box;
  transform: translateX(-7px);
}

.footer-contact-item:hover {
  color: #756157;
}

.footer-logo-link {
  margin-top: 16px;
  display: block;
  width: 115px;
  height: 33px;
  box-sizing: border-box;
}

.footer-logo-link:hover {
  opacity: 0.7;
}

.footer-logo-img {
  display: block;
  width: 115px;
  height: 33px;
  box-sizing: border-box;
}

.catalog-filter {
  background-color: #2a3f4e;
  background-image: url("../images/catalog/filter.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
  padding: 35px 70px 55px 70px;
  position: relative;
  box-sizing: border-box;
}

.catalog-filter::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.35);
  z-index: 1;
}

.catalog-filter .main-title,
.catalog-filter .breadcrumbs,
.catalog-filter .filter-controls {
  position: relative;
  z-index: 2;
}

.main-title {
  margin: 0;
  margin-bottom: 8px;
  font-size: 60px;
  line-height: 78px;
  font-weight: 700;
  color: #ffffff;
  box-sizing: border-box;
}

.breadcrumbs {
  margin-bottom: 40px;
  box-sizing: border-box;
}

.breadcrumbs-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style-type: none;
  box-sizing: border-box;
}

.breadcrumbs-home {
  display: block;
  width: 12px;
  height: 12px;
  background-image: url("../images/catalog/navigation-house.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.breadcrumbs-arrow {
  display: block;
  width: 7px;
  height: 10px;
  background-image: url("../images/catalog/arrow.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.breadcrumbs-item-current {
  font-size: 16px;
  line-height: 21px;
  box-sizing: border-box;
}

.filter-controls {
  display: grid;
  grid-template-columns: 200px 200px 1fr auto;
  gap: 20px;
  align-items: start;
  margin-top: 40px;
  box-sizing: border-box;
}

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

.filter-title {
  margin: 0;
  margin-bottom: 32px;
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  box-sizing: border-box;
}

.filter-list {
  margin: 0;
  padding: 0;
  list-style-type: none;
  box-sizing: border-box;
}

.filter-list li {
  margin-bottom: 16px;
  box-sizing: border-box;
  position: relative;
}

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

.filter-label {
  display: inline-block;
  font-size: 18px;
  line-height: 23px;
  color: #ffffff;
  cursor: pointer;
  padding-left: 34px;
  position: relative;
  box-sizing: border-box;
  margin-left: 1px;
  margin-bottom: 2px;
  letter-spacing: 0.5px;
}

.filter-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background-color: #ffffff;
  border-radius: 4px;
  box-sizing: border-box;
}

.filter-checkbox:checked + .filter-label::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath fill='%23333333' d='M8.5 1.5L3.5 6.5L1.5 4.5L0.5 5.5L3.5 8.5L9.5 2.5L8.5 1.5Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

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

.filter-radio + .filter-label {
  position: relative;
}

.filter-radio + .filter-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background-color: #ffffff;
  border-radius: 50%;
  box-sizing: border-box;
}

.filter-radio:checked + .filter-label::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  background-color: #000000;
  border-radius: 50%;
}

.price-range-group {
  width: 288px;
  box-sizing: border-box;
  margin-left: 70px;
  margin-top: 3px;
}

.price-inputs {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
  gap: 2px;
  box-sizing: border-box;
}

.price-input-wrapper {
  position: relative;
  flex: 1;
  box-sizing: border-box;
}

.price-input {
  width: 100%;
  padding: 15px 35px 12px 20px;
  border: none;
  font-size: 18px;
  font-family: inherit;
  background-color: #ffffff;
  color: #000000;
  font-weight: 700;
  box-sizing: border-box;
   transform: translateY(-3px);
  -moz-appearance: textfield;
}

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

.price-input-first {
  border-radius: 4px 0 0 4px;
}

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

.price-input-wrapper .price-text {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-60%);
  font-size: 18px;
  color: #888888;
  opacity: 0.6;
  pointer-events: none;
  font-weight: 400;
  margin-top: 2px;
  margin-right: 4px;
}

.price-slider-container {
  position: relative;
  height: 4px;
  margin-top: 40px;
}

.price-slider-track {
  position: absolute;
  width: 100%;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
}

.price-slider-range {
  position: absolute;
  height: 4px;
  background-color: #ffffff;
  border-radius: 2px;
  left: 0%;
  right: 61px;
}

.price-slider-min {
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: #ffffff;
  border-radius: 4px;
  cursor: pointer;
  top: 50%;
  transform: translateY(-50%);
  left: 0%;
}

.price-slider-max {
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: #ffffff;
  border-radius: 4px;
  cursor: pointer;
  top: 50%;
  transform: translateY(-50%);
  right: 61px;
}

.price-slider-min:hover,
.price-slider-max:hover {
  background-color: #f0f0f0;
}

.filter-buttons {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-self: flex-end;
  box-sizing: border-box;
   transform: translateY(-12px);
}

.filter-reset {
  display: block;
  padding: 12px 34px;
  border: none;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

.filter-apply {
  display: block;
  width: 191px;
  height: 36px;
  padding: 0;
  background-color: #82b3d3;
  color: #ffffff;
  font-weight: 700;
  font-size: 16px;
  line-height: 36px;
  font-family: inherit;
  text-transform: uppercase;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  transform: translateY(2px);
}

.filter-apply {
  background-color: #82b3d3;
  color: #ffffff;
}

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

.filter-reset {
  background-color: transparent;
  color: #ffffff;
}

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

.filter-results {
  padding: 50px 70px 60px 70px;
  background-color: #ffffff;
  box-sizing: border-box;
  min-height: 1235px;
}

.search-line {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  margin-bottom: 40px;
  gap: 20px;
  box-sizing: border-box;
}

.search-result-title {
  margin: 0;
  font-size: 30px;
  font-weight: 700;
  color: #000000;
  box-sizing: border-box;
  text-transform: uppercase;
}

.search-sort-select {
  width: 292px;
  padding: 12px 40px 12px 20px;
  font-size: 18px;
  font-family: inherit;
  background-color: #ffffff;
  border: 2px solid #e5e5e5;
  border-radius: 4px;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7' viewBox='0 0 10 7'%3E%3Cpolyline points='1,1 5,6 9,1' stroke='%23333333' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  background-size: 10px 7px;
  box-sizing: border-box;
  margin-right: 50px;
}

.search-view {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style-type: none;
  box-sizing: border-box;
}

.search-view-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  text-decoration: none;
  border: 2px solid #e5e5e5;
  border-radius: 4px;
  background-color: #ffffff;
  box-sizing: border-box;
}

.search-view-link:hover {
  border-color: #000000;
}

.search-view-item-active .search-view-link {
  border-color: #000000;
}

.search-view-icon {
  display: block;
}

.filter-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
  box-sizing: border-box;
  border-bottom: 1px solid #e6e6e6;
  padding-bottom: 32px;
}

.product-card {
  display: flex;
  flex-direction: column;
  padding: 20px;
  border: 1px solid #e6e6e6;
  border-radius: 4px;
  box-sizing: border-box;
  min-height: 438px;
}

.product-card-image {
  width: 100%;
  height: 212px;
  margin-bottom: 16px;
  object-fit: cover;
  border-radius: 4px;
  box-sizing: border-box;
}

.product-title {
  margin: 0;
  margin-bottom: 10px;
  margin-top: 3px;
  font-size: 24px;
  font-weight: 700;
  color: #000000;
  box-sizing: border-box;
}

.product-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
  box-sizing: border-box;
  margin-top: 10px;
}

.product-type {
  margin: 0;
  font-size: 18px;
  color: #333333;
  box-sizing: border-box;
}

.product-price {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  text-align: right;
  color: #333333;
  box-sizing: border-box;
  transform: translateY(-1px);
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 16px;
  box-sizing: border-box;
}

.product-button {
  padding: 8px 0;
  border: none;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  width: 100%;
  text-align: center;
  white-space: nowrap;
  box-sizing: border-box;
  text-decoration: none;
}

.product-button-details {
  background-color: #756157;
  color: #ffffff;
}

.product-button-details:hover {
  background-color: #615048;
}

.product-button-favorite {
  background-color: #82b3d3;
  color: #ffffff;
}

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

.product-button-favorite-active {
  background-color: #7db54f;
  color: #ffffff;
}

.product-button-favorite-active:hover {
  background-color: #6c9e42;
}

.product-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  box-sizing: border-box;
}

.product-stars {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
  box-sizing: border-box;
}

.product-stars img {
  display: block;
  width: 18px;
  height: 17px;
  box-sizing: border-box;
  transform: translateY(-1px);
}

.product-rating {
  width: 140px;
  margin: 0;
  padding: 9px 15px;
  font-size: 16px;
  line-height: 20px;
  background-color: #f2f2f2;
  border-radius: 4px;
  color: #333333;
  text-transform: uppercase;
  white-space: nowrap;
  box-sizing: border-box;
   text-indent: 10px
}

.pagination {
  margin-top: 40px;
  box-sizing: border-box;
  transform: translateY(-1px);
}

.pagination-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  width: 60px;
  height: 60px;
  padding: 0;
  font-size: 20px;
  font-weight: 700;
  color: #000000;
  background-color: transparent;
  pointer-events: none;
  box-sizing: border-box;
}

.pagination-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style-type: none;
  box-sizing: border-box;
}

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

.pagination-link:hover {
  background-color: #68a2ca;
}

.pagination-item-active .pagination-link {
  background-color: #f2f2f2;
  color: #000000;
  pointer-events: none;
}

.subscribe-catalog {
  text-align: center;
  background-color: #ffffff;
  padding-top: 96px;
  padding-bottom: 108px;
  box-sizing: border-box;
}

.subscribe-catalog .welcome-title {
  margin-bottom: 20px;
  font-weight: 700;
  font-size: 30px;
  line-height: 36px;
  text-transform: uppercase;
  color: #000000;
  box-sizing: border-box;
}

.subscribe-catalog .welcome-text {
  max-width: 600px;
  margin: 0 auto;
  font-weight: 400;
  font-size: 22px;
  line-height: 26px;
  color: #333333;
  box-sizing: border-box;
  letter-spacing: 0.1px;
}

.subscribe-catalog .subscribe-form {
  display: flex;
  justify-content: center;
  max-width: 684px;
  margin: 54px auto 0;
  box-sizing: border-box;
}

.subscribe-catalog .subscribe-email {
  flex: 1;
  padding: 14px 20px;
  border: none;
  font-size: 18px;
  font-family: inherit;
  background-color: #f2f2f2;
  border-radius: 4px 0 0 4px;
  color: #000000;
  box-sizing: border-box;
}

.subscribe-catalog .subscribe-email::placeholder {
  color: #000000;
  opacity: 0.6;
}

.subscribe-catalog .subscribe-button {
  display: block;
  padding: 14px 34px;
  font-size: 20px;
  font-weight: 700;
  line-height: 24px;
  font-family: inherit;
  color: #ffffff;
  text-transform: uppercase;
  white-space: nowrap;
  background-color: #82b3d3;
  border-radius: 0 4px 4px 0;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
}

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

.navigation-link:focus,
.navigation-button:focus,
.hotel-search-button:focus,
.subscribe-button:focus,
.filter-apply:focus,
.filter-reset:focus,
.product-button:focus,
.pagination-link:focus,
.footer-social-link:focus,
.breadcrumbs-item-link:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(130, 179, 211, 0.5);
  border-radius: 4px;
}

.filter-reset:focus {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.5);
}

.product-button:active {
  background-color: #5e4a3e;
}

.filter-apply:active {
  background-color: #5a8fb3;
}

.subscribe-button:active {
  background-color: #5a8fb3;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal-overlay-hidden {
  display: none;
}

.modal {
  position: relative;
  width: 717px;
  background-color: #ffffff;
  padding: 64px 70px;
  box-sizing: border-box;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  max-height: 576px;
  overflow: visible;
  border-radius: 30px;
  transform: translateY(-17px);
  z-index: 1000;
}

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

.modal-close-button::before,
.modal-close-button::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 2px;
  background-color: #000000;
}

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

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

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

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

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.modal-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.modal-field-row {
  display: flex;
  align-items: center;
  gap: 20px;
  transform: translateY(-2px);
}

.modal-field-row-2 {
  display: flex;
  align-items: center;
  gap: 20px;
  transform: translateY(-18px);
}

.modal-message-error {
  position: relative;
  top: -10px;
}

.modal-message-success {
  position: relative;
  transform: translateY(-26px);
}

.modal-label {
  font-size: 20px;
  font-weight: 700;
  line-height: 24px;
  color: #000000;
  width: 120px;
  flex-shrink: 0;
  white-space: nowrap;
  transform: translateY(-2px);
}

.modal-input-wrapper {
  position: relative;
  flex: 1;
}

.modal-input {
  width: 100%;
  padding: 16px 50px 16px 20px;
  font-size: 17px;
  font-family: inherit;
  background-color: #f2f2f2;
  border: none;
  border-radius: 4px;
  color: #000000;
  box-sizing: border-box;
  font-weight: 700;
  letter-spacing: 0.5px;
  transform: translateX(-4px);
}

.modal-input-icon {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.calendar-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%23888888' d='M13 2h-1V1c0-.6-.4-1-1-1s-1 .4-1 1v1H6V1c0-.6-.4-1-1-1s-1 .4-1 1v1H3c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm0 12H3V6h10v8z'/%3E%3C/svg%3E");
}

.modal-message {
  margin: 0;
  padding-left: 157px;
  font-size: 16px;
  line-height: 21px;
}

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

.modal-message-success {
  color: #333333;

}

.modal-row {
  display: flex;
  justify-content: space-between;
  gap: 85px;
  margin-top: -33px;
}

.modal-counter-field {
  flex: 1;
  min-width: 200px;
}

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

.modal-counter-label {
  font-size: 20px;
  font-weight: 700;
  line-height: 24px;
  color: #000000;
  white-space: nowrap;
  transform: translateY(-5px);
}

.modal-counter-label-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-counter-field:first-child {
  margin-right: 0;
}

.modal-counter-field:last-child {
  margin-left: 0;
}

.modal-tooltip {
  position: relative;
  overflow: visible;
  z-index: 1000;
}

.modal-tooltip-btn {
  width: 26px;
  height: 26px;
  background-color: #83b3d3;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(5px);
  z-index: 1000;
}

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

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

.modal-tooltip-text::after {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid #333333;
}

.modal-counter {
  display: flex;
  align-items: center;
  background-color: #f2f2f2;
  border-radius: 4px;
  width: 110px;
  height: 48px;
  flex-shrink: 0;
}

.modal-counter-btn {
  width: 40px;
  height: 48px;
  background-color: transparent;
  border: none;
  cursor: pointer;
  font-size: 24px;
  font-weight: 400;
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.5;
}

.modal-counter-btn:hover {
  opacity: 1;
}

.modal-counter-input {
  width: 30px;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  font-family: inherit;
  background-color: transparent;
  border: none;
  padding: 0;
  color: #000000;
}

.modal-submit-btn {
  width: 100%;
  padding: 18px;
  background-color: #83b3d3;
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  font-family: inherit;
  text-transform: uppercase;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  margin-top: 20px;
   transform: translateY(-9px);
  z-index: 1;
}

.modal-submit-btn:hover {
  background-color: #68a2ca;
}

.modal-submit-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(130, 179, 211, 0.5);
}

.modal-submit-btn:active {
  background-color: #5a8fb3;
}

.filter-checkbox:hover + .filter-label::before {
  outline: none;
  box-shadow: 0 0 0 3px #000000, 0 0 0 6px #82b3d3;
}

.filter-radio:hover + .filter-label::before {
  outline: none;
  box-shadow: 0 0 0 3px #000000, 0 0 0 6px #82b3d3;
}

.price-input:hover {
  outline: none;
  box-shadow: 0 0 0 3px #000000, 0 0 0 6px #82b3d3;
  border-radius: 4px;
}

.price-slider-min:hover,
.price-slider-max:hover {
  outline: none;
  box-shadow: 0 0 0 3px #000000, 0 0 0 6px #f49426;
}

.filter-radio:focus + .filter-label:before{
  box-shadow: 0 0 0 3px #000000, 0 0 0 6px #f49426;
}
.filter-checkbox:focus + .filter-label:before{
  box-shadow: 0 0 0 3px #000000, 0 0 0 6px #f49426;
}
.price-slider-min:focus,
.price-slider-max:focus {
  box-shadow: 0 0 0 3px #000000, 0 0 0 6px #f49426;
}
