.hide {
    display: none;
}

.bag_img .photo {
    position: relative;
    overflow: hidden;
}

.bag_img .photo img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.bag_img .photo .featured-text {
    position: absolute;
    top: 20px;
    right: -30px;
    background: #3dab3b;
    color: #fff;
    padding-left: 30px;
    padding-right: 20px;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);

}
.search-section {
    padding: 2rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-bottom: 1px solid #eef0f2;
}

.search-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.search-form {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.search-group {
    flex: 1;
    min-width: 200px;
}

.input-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.search-input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.2s ease;
    background: #f8fafc;
}

.search-input:focus {
    outline: none;
    border-color: #3b82f6;
    background: white;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.search-select {
    width: 100%;
    padding: 0.875rem 2.5rem 0.875rem 1rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    background: #f8fafc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 1rem center;
    appearance: none;
    transition: all 0.2s ease;
}

.search-select:focus {
    outline: none;
    border-color: #3b82f6;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.search-button {
    padding: 0.875rem 1.5rem;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 1.9rem;
    min-width: 140px;
}

.search-button:hover {
    background: #2563eb;
    transform: translateY(-1px);
}

@media (max-width: 992px) {
    .search-form {
        flex-direction: column;
        padding: 1.5rem;
    }

    .search-group {
        width: 100%;
    }

    .search-button {
        width: 100%;
        margin-top: 1rem;
    }
}
.listing-card {
    text-decoration: none;
    color: inherit;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    height: 240px;
}

.listing-image {
    width: 40%;
    flex-shrink: 0;
}

.listing-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.listing-content {
    width: 60%;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.listing-title {
    margin: 0 0 10px 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.listing-meta {
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.listing-rating {
    margin-bottom: 5px;
    display: flex;
    align-items: center;
}

.rating-img {
    width: 80px;
    height: 16px;
    vertical-align: middle;
    margin-right: 5px;
}

.listing-category {
    display: flex;
    align-items: center;
}

.category-icon {
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin-right: 5px;
}

.listing-footer {
    font-size: 0.8rem;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

.info-icon {
    width: 14px;
    height: 14px;
    vertical-align: middle;
    margin-right: 5px;
}

.location-info,
.contact-info {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.contact-info {
    cursor: pointer;
    color: #0066cc;
}

.carousel-control-prev,
.carousel-control-next {
    background: rgba(0, 0, 0, 0.5);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.carousel-control-prev {
    left: -16px;
}

.carousel-control-next {
    right: -16px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 16px;
    height: 16px;
}
.category-section {
    padding: 4rem 0;
    background: linear-gradient(to right, #f8f9fa, #ffffff);
}

.section-title {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #3498db;
    border-radius: 2px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    padding: 0 2rem;
}

.category-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.category-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #3498db22, #2ecc7122);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-card:hover:before {
    opacity: 1;
}

.category-icon {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    padding: 1rem;
    margin-bottom: 0.1rem;
    /* background: #f8f9fa; */
    transition: transform 0.3s ease;
}

.category-card:hover .category-icon {
    transform: scale(1.1);
}

.category-name {
    font-size: 1.25rem;
    color: #2c3e50;
    font-weight: 600;
    text-align: center;
    margin: 0;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .category-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        padding: 0 1rem;
    }

    .section-title {
        font-size: 2rem;
    }
}
.listings-section {
    padding: 4rem 0;
    background: #f8fafc;
}

.section-header {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: #64748b;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
}

.listing-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
}

.listing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.listing-image {
    position: relative;
    padding-top: 66%;
    background: #f1f5f9;
    overflow: hidden;
}

.listing-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.listing-card:hover .listing-image img {
    transform: scale(1.05);
}

.listing-content {
    padding: 1.5rem;
}

.listing-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.listing-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.listing-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.listing-category {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #64748b;
    font-size: 0.875rem;
}

.listing-category img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.listing-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.location-info,
.contact-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #64748b;
    font-size: 0.875rem;
}

.info-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .listings-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }

    .section-title {
        font-size: 1.875rem;
    }
}

.listings-section {
    padding: 5rem 0;
    background: #f8fafc;
}

.section-header {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    color: #64748b;
    font-size: 1.1rem;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 500;
}

.listings-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 0 1rem;
}

.listing-card {
    display: flex;
    flex-direction: row;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
}

.listing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.listing-image {
    flex: 0 0 300px;
    position: relative;
    overflow: hidden;
}

.listing-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.listing-card:hover .listing-image img {
    transform: scale(1.08);
}

.featured-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #3b82f6;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 2px 6px rgba(59, 130, 246, 0.4);
}

.listing-content {
    flex: 1;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.listing-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #0f172a;
    margin: 0;
    line-height: 1.3;
    overflow: visible !important;
}

.listing-description {
    color: #64748b;
    font-size: 1rem;
    margin: 0;
    line-height: 1.6;
}

.listing-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.listing-rating,
.listing-category {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #64748b;
    font-size: 0.95rem;
}

.stars {
    display: flex;
    color: #fbbf24;
}

.stars i {
    margin-right: 2px;
}

.listing-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.location-info,
.contact-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: #475569;
}

.contact-info {
    background: #3b82f6;
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 20px;
    transition: all 0.2s ease;
}

.contact-info:hover {
    background: #2563eb;
}

.no-listings {
    padding: 3rem;
    background: white;
    border-radius: 12px;
    color: #64748b;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.pagination-container {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}

@media (max-width: 1024px) {
    .listing-image {
        flex: 0 0 240px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .listing-title {
        font-size: 1.25rem;
    }

    .listing-content {
        padding: 1.25rem;
    }
}

@media (max-width: 640px) {
    .listing-card {
        flex-direction: column;
    }

    .listing-image {
        flex: 0 0 180px;
        width: 100%;
    }

    .featured-badge {
        top: 10px;
        right: 10px;
        left: auto;
    }
}
/* Custom styles for Popular Searches section */
.popular-searches {
    background: linear-gradient(to bottom, #f8f9fa, #ffffff);
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    color: #2d3748;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: #718096;
    font-size: 1.1rem;
}

/* Card Styles */
.search-card {
    height: 100%;
    transition: transform 0.3s ease;
}

.search-card:hover {
    transform: translateY(-10px);
}

.card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.card-img-wrapper {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.search-card:hover .card-img {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 75%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

.card-img-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    z-index: 1;
}

.category-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #4F46E5;
    color: white;
    border-radius: 20px;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.card-title {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    font-weight: 600;
}

.explore-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    color: #4F46E5;
    font-weight: 500;
    transition: all 0.3s ease;
}

.explore-btn:hover {
    background-color: #EEF2FF;
    color: #4F46E5;
}

.explore-btn i {
    transition: transform 0.3s ease;
}

.explore-btn:hover i {
    transform: translateX(5px);
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .card-img-wrapper {
        height: 350px;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 767.98px) {
    .popular-searches {
        padding: 60px 0;
    }

    .card-img-wrapper {
        height: 300px;
    }
}