body {
  background: #fbfdff;
  font-family: Arial, sans-serif;
}

/* Header */
.logo img {
  width: 60px;
  border-radius: 50%;
}

.round {
  border-radius: 20px;
}

/* Search */
.search-bar {
  background-color: #ffffff;
  border: 1px solid #ebebeb;
  border-radius: 50px;
  padding: 8px 8px 8px 25px; 
  display: flex;
  flex-direction: row; 
  align-items: center;
  max-width: 100%;
}

.search-item {
  padding: 0 25px;
  flex: 1;
  min-width: fit-content;
}

.search-item h6 {
  font-size: 14px;
  white-space: nowrap;
}

.small-text {
  font-size: 12px;
  white-space: nowrap;
}

.v-divider {
  height: 28px;
  width: 1px;
  background-color: #dddddd;
  flex-shrink: 0;
}

.btn-search {
  background-color: #11223e;
  color: white;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  flex-shrink: 0;
}

.btn-search:hover {
  background-color: #1a345e;
  color: white;
}

@media (max-width: 576px) {
  .search-bar {
    padding: 8px; 
    width: 100%;
  }

  .search-item {
    padding: 0 10px;
  }

  .search-item h6 {
    font-size: 12px;
  }

  .search-item p {
    font-size: 10px;
  }

  .btn-search {
    width: 38px; 
    height: 38px;
  }
}


/* --- Gallery Grid --- */

.gallery-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc(25% - 15px); /* Shows 4 items at a time */
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.gallery-grid::-webkit-scrollbar {
  display: none;
}

.property-card {
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
}

/* Responsive slider adjustments */
@media (max-width: 991px) {
  .gallery-grid { grid-auto-columns: calc(33.333% - 14px); } /* 3 items */
}
@media (max-width: 767px) {
  .gallery-grid { grid-auto-columns: calc(50% - 10px); } /* 2 items */
}
@media (max-width: 575px) {
  .gallery-grid { grid-auto-columns: 85%; } /* 1.5 items peeking on mobile */
}

.image-card {
  background-image: url(/assets/images/downloads.jpg);
  background-size: cover;
  background-position: center;
  width: 100%;       
  height: 220px;    
  border-radius: 16px;
  position: relative;
}

.image-card .heart {
  color: #e7000b;
  position: absolute;
  right: 15px;
  top: 15px;
  font-size: 20px;
  cursor: pointer;
  z-index: 2;
}

.price {
  background-color: #11223e;
  position: absolute;
  bottom: 15px;
  left: 15px;
  padding: 6px 12px;
  border-radius: 12px;
}

.rate {
  background-color: #FFFFFF;
  position: absolute;
  bottom: 15px;
  right: 15px;
  display: flex;
  align-items: center; 
  gap: 6px;            
  padding: 6px 12px;    
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}




    .rate span {
        font-size: 13px;
        color: #11223E;
        line-height: 1;
    }

color: #11223e;
line-height: 1;
}

/* Wishlist page */

.wishlist-page .wishlist-title {
    font-size: 32px;
    font-weight: 700;
    color: #11223e;
    margin-bottom: 0;
}

.gallery-grid-wishlist {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
}

@media (min-width: 768px) {
    .gallery-grid-wishlist {
        grid-template-columns: repeat(4, 1fr);
    }
}

.wishlist-card {
    background: transparent;
    border-radius: 18px;
    transition: transform 0.25s ease;
}

    .wishlist-card:hover {
        transform: translateY(-4px);
    }

.wishlist-image-box {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: #f3f4f6;
}

.wishlist-image {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    border-radius: 18px;
}

.wishlist-fav-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.96);
    color: #e7000b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    z-index: 3;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transition: transform 0.2s ease;
}

    .wishlist-fav-btn:hover {
        transform: scale(1.06);
    }

.wishlist-badge {
    position: absolute;
    z-index: 3;
    border-radius: 999px;
    width: auto;
    height: auto;
    min-width: unset;
    min-height: unset;
    padding: 7px 12px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    line-height: 1;
}

.wishlist-price-badge {
    left: 14px;
    bottom: 14px;
    background: rgba(17, 34, 62, 0.92);
}

    .wishlist-price-badge sup {
        font-size: 11px;
        color: #d1d5db;
        margin-left: 2px;
    }

.wishlist-rate-badge {
    top: 14px;
    left: 14px;
    background: #fff;
    color: #111827;
    font-size: 13px;
}

    .wishlist-rate-badge i {
        color: #fda010;
        font-size: 13px;
    }

.wishlist-card-body {
    padding-top: 12px;
}

.wishlist-card-title {
    display: block;
    font-size: 17px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
    line-height: 1.4;
}

.wishlist-card-location {
    color: #6b7280;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.search-empty-message {
    display: none;
    text-align: center;
    padding: 40px 20px;
    border: 1px dashed #d1d5db;
    border-radius: 20px;
    background: #fff;
    color: #6b7280;
}

/* --- Notification Toast --- */
.wishlist-toast {
    position: fixed;
    bottom: 80px;
    left: 20px;
    background-color: #0f1a2d;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

    .wishlist-toast.show {
        opacity: 1;
        visibility: visible;
    }

/* --- Custom Popup Modal --- */
.custom-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s;
}

    .custom-modal-overlay.active {
        opacity: 1;
        visibility: visible;
    }

.delete-card {
    background: white;
    padding: 40px 20px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 600px;
    margin: 20px;
}

@media (max-width: 576px) {
    .delete-card {
        padding: 40px 24px;
    }

    .btn-container {
        flex-direction: column !important;
    }

    .delete-card h6 {
        font-size: 1.1rem;
    }
}

/* Continue & Back Buttons */
.continue-btn {
    font-size: 13px;
    font-weight: bold;
    color: white;
    background: #000;
    padding: 10px 70px;
    border: 1px rgb(181, 180, 180) solid;
    border-radius: 10px;
}

    .continue-btn:hover {
        color: white;
        background: #000000d0;
    }

.back-btn {
    font-size: 13px;
    font-weight: bold;
    color: black;
    padding: 10px 70px;
    border: 1px rgb(181, 180, 180) solid;
    border-radius: 10px;
}

    .back-btn:hover {
        background: #f5f5f5d0;
    }

@media (max-width: 575px) {
    #delete-all-btn {
        font-size: 12px;
    }

    .wishlist-page .wishlist-title {
        font-size: 26px;
    }

    .wishlist-image {
        height: 220px;
    }
}
.wishlist-card-link {
    display: block;
    text-decoration: none;
}

.wishlist-card-title {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-size: 17px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
    line-height: 1.4;
}

.wishlist-card-location {
    color: #6b7280;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.wishlist-card-body {
    padding-top: 12px;
}

.wishlist-fav-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.96);
    color: #e7000b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    z-index: 5;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.wishlist-badge {
    position: absolute;
    z-index: 4;
}

.wishlist-price-badge {
    left: 14px;
    bottom: 14px;
    background: rgba(17, 34, 62, 0.92);
    border-radius: 999px;
    padding: 7px 12px;
}

.wishlist-rate-badge {
    top: 14px;
    left: 14px;
    background: #fff;
    border-radius: 999px;
    padding: 6px 10px;
}