* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background: #f4f6f8;
  color: #111827;
}

header {
  background: linear-gradient(135deg, #0f766e, #14b8a6);
  color: white;
  padding: 34px 28px;
}

header h1 {
  margin: 0;
  font-size: 34px;
}

header p {
  margin: 8px 0 0;
  opacity: 0.9;
}

.filters {
  display: grid;
  grid-template-columns: 2fr repeat(7, minmax(130px, 1fr));
  gap: 10px;
  padding: 18px;
  background: white;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 10;
}

input, select {
  padding: 11px 12px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  background: white;
  font-size: 14px;
}

main {
  padding: 24px;
}

#summary {
  margin-bottom: 16px;
  font-weight: 800;
  color: #374151;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(680px, 1fr));
  gap: 18px;
}

.card {
  background: white;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  cursor: pointer;
}

.deal-card {
  display: grid;
  grid-template-columns: 230px 1fr 220px;
  gap: 22px;
  align-items: stretch;
  padding: 16px;
}

.deal-image {
  position: relative;
  height: 170px;
  border-radius: 14px;
  overflow: hidden;
  background: #e5e7eb;
}

.deal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.provider-overlay {
  position: absolute;
  top: 12px;
  left: 12px;
  background: white;
  padding: 6px 10px;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.18);
}

.provider-overlay img {
  width: 68px;
  display: block;
}

.deal-main {
  padding: 4px 0;
}

.hotel {
  margin: 0;
  font-size: 24px;
  line-height: 1.1;
  font-weight: 900;
}

.stars-inline {
  color: #f59e0b;
  font-size: 16px;
  font-weight: 900;
  margin-left: 8px;
  white-space: nowrap;
}

.location {
  margin-top: 7px;
  color: #6b7280;
  font-size: 15px;
  font-weight: 600;
}

.deal-facts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 800;
  color: #374151;
}

.deal-facts span {
  background: none;
  border-radius: 0;
  padding: 0;
}

.deal-facts .divider {
  width: 1px;
  height: 15px;
  background: #d1d5db;
  display: inline-block;
  margin: 0 3px;
}

.deal-facts .fact-green {
  color: #047857;
  font-weight: 900;
}

.more-info {
  margin-top: 16px;
  color: #0f766e;
  font-weight: 800;
  font-size: 14px;
}

.deal-price {
  border-left: 1px solid #e5e7eb;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.price-label {
  font-size: 13px;
  color: #6b7280;
  font-weight: 700;
}

.price {
  font-size: 30px;
  line-height: 1.1;
  font-weight: 950;
  color: #0f766e;
  margin-bottom: 16px;
}

.open-btn,
.share-btn {
  border: none;
  border-radius: 10px;
  padding: 11px 14px;
  font-weight: 900;
  cursor: pointer;
  text-decoration: none;
  font-size: 14px;
  text-align: center;
}

.open-btn {
  background: #0f766e;
  color: white;
  margin-bottom: 8px;
}

.share-btn {
  background: #e5e7eb;
  color: #111827;
}

.rooms-left {
  margin-top: 12px;
  background: #fee2e2;
  color: #b91c1c;
  border-radius: 999px;
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

@media (max-width: 900px) {
  .filters {
    grid-template-columns: 1fr 1fr;
  }

  .deal-card {
    grid-template-columns: 1fr;
  }

  .deal-image {
    height: 220px;
  }

  .deal-price {
    border-left: none;
    border-top: 1px solid #e5e7eb;
    padding-left: 0;
    padding-top: 16px;
  }
}


body {
  overflow-x: hidden;
}

.deal-card,
.deal-main,
.deal-price {
  min-width: 0;
}

@media (max-width: 700px) {
  main {
    padding: 14px;
  }

  .deal-card {
    padding: 14px;
  }

  .deal-image {
    width: 100%;
  }

  .hotel {
    font-size: 22px;
  }

  .price {
    font-size: 28px;
  }
}

.rooms-left-orange {
  background: #fff7ed;
  color: #c2410c;
}

