* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  background: #ffffff;
  color: #333;
  line-height: 1.6;
}

.main-header {
  background-color: #fff;
  padding: 10px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 10;
}

.left-section {
  display: flex;
  align-items: center;
}

.logo {
  height: 40px;
  margin-right: 10px;
}

.channel-name {
  font-size: 18px;
  font-weight: bold;
}

.right-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
}

.nav-link {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  padding: 6px 10px;
  white-space: nowrap;
}

.right-section a:hover {
  color: #FF5A5F;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px; 
  flex-wrap: wrap;
}

.section-title {
  font-size: 28px;
  font-weight: bold;
  color: #222;
  margin: 0;
}

.section-para {
  font-size: 16px;
  padding-top: 5px;
  color: #666;
  margin: 0;
}

.search-section {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 5px 0;
}

.search-wrapper {
  position: relative;
  width: 100%;
  max-width: 300px;
}

.search-wrapper input {
  padding: 8px 12px;
  border-radius: 20px;
  border: 1px solid #ccc;
  max-width: 300px;
  width: 100%;
  transition: border-color 0.3s;
}

.search-wrapper input:focus {
  border-color: #FF5A5F;
}

.clear-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  cursor: pointer;
  color: #888;
  display: none;
  background: none;
  border: none;
  padding: 0;
  z-index: 2;
}

.suggestions {
  display: none;
  position: absolute;
  top: 105%;
  left: 0;
  right: 0;
  background: #fff;
  border-top: none;
  max-height: 200px;
  overflow-y: auto;
  list-style: none;
  padding: 0;
  margin: 0;
  z-index: 3;
}

.suggestions li {
  padding: 10px 14px;
  cursor: pointer;
  border: 1px solid #FF5A5F;
  font-size: 14px;
  color: #333;
  border-radius: 5px;
  transition: background-color 0.2s;
}

.suggestions li:hover {
  background-color: #f2f2f2;
}

#locationFilter {
  padding: 8px 36px 8px 12px; 
  border-radius: 10px;
  border: 1px solid #ccc;
  max-width: 300px;
  width: 100%;
  appearance: none;
  background-color: #fff;
  font-size: 14px;
  color: #333;
  cursor: pointer;
  box-sizing: border-box;
  background-image: url("airbnb_img/drop_down_icon.png");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
}

#locationFilter:focus {
  outline: red;
}


.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  justify-items: center;
  margin: 0 auto;
  padding: 10px;
  max-width: 2000px;
}

.product-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 25px 20px;
  text-align: center;
  transition: transform 0.3s ease;
  width: 100%;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 10px;
}

.product-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #111;
}

.product-card a {
  display: inline-block;
  margin-top: 12px;
  background-color: #FF5A5F;
  color: white;
  padding: 10px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
}

.product-card a:hover {
  background-color: #f30008;;
}

.airbnb-title {
  font-size: 18px;
  font-weight: bold;
  margin: 8px 0 4px;
  color: #222;
  text-align: left;
}

.airbnb-location {
  font-size: 14px;
  color: #666;
  margin-bottom: 10px;
  text-align: left;
}

.location-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.icon-row {
  display: flex;
  background: none;
  gap: 8px;
}

.icon-link {
  display: flex;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 0 ;
  background: none !important;
  border: none ;
  box-shadow: none;
}

.icon-link img {
  width: 25px;
  height: 25px;
  object-fit: contain;
  background: none;
  transition: transform 0.2s ease;
}

.icon-link:hover img {
  transform: scale(1.1);
}

.go-back-home {
    text-align: center;
    margin: 40px 0;
}

.go-back-home a {
    text-decoration: none;
    color: #007BFF;
    font-weight: bold;
    font-size: 16px;
    transition: color 0.2s ease;
}

.go-back-home a:hover {
    color: #0056b3;
}

/* =============================
   Footer
============================= */
.footer{
  text-align:center; padding:24px var(--page-pad);
  background:#fafafa; border-top:1px solid #ddd; margin-top:40px;
}
.footer-icons{
  display:flex; justify-content:center; align-items:center;
  gap:18px; margin:8px 0 0;
}
.footer-icons a{
  display:inline-flex; align-items:center; justify-content:center;
  width:40px; height:40px;
}
.footer-icons img{ width:24px; height:24px; }
.copyright{
  margin-top: 10px;
  font-size: 14px;
  color: #444;
  line-height: 1.5;
}
.disclaimer{ margin-top:6px; font-size:10px; color:#666; }

@media (max-width: 768px) {
  .main-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .search-section {
    width: 100%;
    justify-content: center;
  }

  .search-section input {
    max-width: 100%;
  }

  .right-section {
    width: 100%;
    justify-content: flex-start;
    padding-left: 10px;
  }

  .nav-link {
    font-size: 14px;
    padding: 6px 8px;
  }

.product-grid {
    grid-template-columns: 1fr; 
    padding: 10px 12px;
  }

  .product-card {
    max-width: 100%;         
    width: 100%;
    box-sizing: border-box;
  }
}
