/* === Location Info Card === */
.location-info-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.location-card-main {
    display: flex;
    gap: 24px;
}
.location-card-details {
    flex: 1;
    min-width: 0;
}
.location-card-map {
    flex: 0 0 400px;
}
.location-badge {
    display: inline-block;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
}
.location-rating {
    margin-bottom: 16px;
}
.location-stars {
    color: #f5a623;
    font-size: 20px;
    letter-spacing: 2px;
    margin-right: 6px;
}
.location-rating-text {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-right: 4px;
}
.location-review-count {
    font-size: 13px;
    color: #888;
}
.location-facts {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 16px;
}
.location-facts tr {
    border-bottom: 1px solid #f0f0f0;
}
.location-facts td {
    padding: 8px 0;
    font-size: 14px;
    vertical-align: top;
}
.location-fact-label {
    font-weight: 600;
    color: #555;
    white-space: nowrap;
    padding-right: 16px !important;
    width: 130px;
}
.location-fact-label i.fa {
    width: 18px;
    text-align: center;
    margin-right: 6px;
    color: #753bbd;
}
.location-facts a {
    color: #753bbd;
    text-decoration: none;
}
.location-facts a:hover {
    text-decoration: underline;
}
.location-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.location-amenity {
    display: inline-block;
    background: #f3edf9;
    color: #753bbd;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 16px;
    white-space: nowrap;
}

/* === Responsive === */
@media (max-width: 768px) {
    .location-card-main {
        flex-direction: column;
    }
    .location-card-map {
        flex: none;
        width: 100%;
    }
    .location-fact-label {
        width: auto;
    }
}

/* === Category Listing Cards === */
.category-hero {
    background: linear-gradient(135deg, #753bbd 0%, #05c3de 100%);
    color: #fff;
    padding: 40px 0;
    margin: 0 0 30px 0;
    text-align: center;
}
.category-hero h1 {
    color: #fff !important;
    font-size: 32px;
    margin-bottom: 10px;
}
.category-hero .lead {
    color: rgba(255,255,255,0.9);
    font-size: 16px;
    max-width: 700px;
    margin: 0 auto;
}
.category-hero .category-stats {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 30px;
}
.category-hero .stat-item {
    text-align: center;
}
.category-hero .stat-number {
    font-size: 28px;
    font-weight: 700;
    display: block;
}
.category-hero .stat-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

/* Location listing cards */
.location-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 20px 0 30px;
}
.location-grid-card {
    background: #fff;
    border: 1px solid #e8e0f0;
    border-radius: 10px;
    padding: 20px;
    text-decoration: none !important;
    color: #333 !important;
    transition: all 0.2s ease;
    display: block;
    position: relative;
    overflow: hidden;
}
.location-grid-card:hover {
    border-color: #753bbd;
    box-shadow: 0 4px 16px rgba(117,59,189,0.15);
    transform: translateY(-2px);
}
.location-grid-card .card-name {
    font-size: 16px;
    font-weight: 700;
    color: #753bbd;
    margin-bottom: 4px;
}
.location-grid-card .card-city {
    font-size: 12px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}
.location-grid-card .card-rating {
    font-size: 13px;
    color: #f5a623;
}
.location-grid-card .card-rating-text {
    color: #666;
    font-size: 12px;
    margin-left: 4px;
}
.location-grid-card .card-meta {
    font-size: 12px;
    color: #999;
    margin-top: 8px;
}
.location-grid-card .card-arrow {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #ccc;
    font-size: 18px;
    transition: color 0.2s;
}
.location-grid-card:hover .card-arrow {
    color: #753bbd;
}

@media (max-width: 768px) {
    .location-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .category-hero .category-stats {
        gap: 15px;
    }
    .category-hero .stat-number {
        font-size: 22px;
    }
}
@media (max-width: 480px) {
    .location-grid {
        grid-template-columns: 1fr;
    }
}

/* === Interactive Star Rating === */
.user-rating-section {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #f0f0f0;
}
.user-rating-label {
    font-size: 13px;
    color: #666;
    margin-bottom: 6px;
}
.user-rating-stars {
    display: inline-flex;
    gap: 4px;
    cursor: pointer;
    direction: rtl;
    unicode-bidi: bidi-override;
}
.user-rating-stars span {
    font-size: 26px;
    color: #ddd;
    transition: color 0.15s;
    cursor: pointer;
    line-height: 1;
}
.user-rating-stars span:hover,
.user-rating-stars span:hover ~ span {
    color: #f5a623;
}
.user-rating-stars.rated span.active,
.user-rating-stars.rated span.active ~ span {
    color: #f5a623;
}
.user-rating-thanks {
    display: none;
    font-size: 13px;
    color: #2ab7a9;
    font-weight: 600;
    margin-top: 6px;
    animation: fadeIn 0.3s ease;
}
.user-rating-thanks.show {
    display: block;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}
