/* ============================================
   UNIFIED CLASSIFIED LISTING STYLES
   Bootstrap 5.1.1 Compatible
   Single CSS File for All Templates
   Version: 1.0 Unified
   ============================================ */

/* ============================================
   BREADCRUMB SECTION STYLES
   ============================================ */
.breedcrumb {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.95) 0%, rgba(51, 65, 85, 0.95) 100%) !important;
    padding: 50px 0 !important;
    margin-bottom: 0 !important;
}

.breedcrumb__title {
    color: #ffffff !important;
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    margin-bottom: 15px !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.breedcrumb__page {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.breedcrumb__page-item {
    margin: 0;
    padding: 0;
}

.breedcrumb__page-link {
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.breedcrumb__page-link:hover {
    color: #ffffff !important;
    text-decoration: underline;
}

/* ============================================
   LOCATION HEADER SECTION
   ============================================ */
.location-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 40px 0;
    color: white;
    margin-bottom: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.location-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 12px;
}

.location-header h1 i {
    font-size: 2rem;
    opacity: 0.95;
}

.location-header .lead {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 20px !important;
}

/* Location Stats */
.location-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.location-stats .stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.location-stats .stat-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.location-stats .stat-item i {
    font-size: 1.3rem;
    opacity: 0.95;
}

.location-stats .stat-item span {
    font-size: 0.95rem;
    font-weight: 500;
    white-space: nowrap;
}

/* ============================================
   SUB-LOCATIONS GRID
   ============================================ */
.sub-locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.sub-location-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.sub-location-card:hover {
    border-color: #667eea;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.2);
    transform: translateY(-3px);
}

.sub-location-card a {
    text-decoration: none;
    color: #1f2937;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.sub-location-card .location-name {
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #1f2937;
    transition: color 0.3s ease;
}

.sub-location-card:hover .location-name {
    color: #667eea;
}

.sub-location-card .location-name i {
    font-size: 0.9rem;
    color: #667eea;
}

.sub-location-card .listing-count {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

/* Section Headers */
.section h3 {
    color: #1f2937;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section h3 i {
    color: #667eea;
    font-size: 1.3rem;
}

/* ============================================
   BASE CARD STRUCTURE
   ============================================ */
.listing-card-v1 {
    display: flex;
    flex-direction: row;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    width: 100%;
    position: relative;
}

.listing-card-v1:hover {
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

/* ============================================
   PREMIUM AD TYPES - FLEXIBLE STYLING
   ============================================ */

/* Admin Featured Ads - Red Theme */
.listing-card-v1.admin-featured {
    border: 2px solid #EF4444;
    background: linear-gradient(90deg, #FEF2F2 0%, #FFFFFF 100%);
}

/* Top Ads with Color Highlight - Customizable Gradient */
.listing-card-v1.top-color-listing {
    position: relative;
    border: 3px solid #F59E0B;
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 50%, #FCD34D 100%);
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.25);
    animation: pulse-premium 3s ease-in-out infinite;
}

/* Alternative Color Options for Top Color Ads */
.listing-card-v1.top-color-listing.gold-theme {
    border: 3px solid #F59E0B;
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 50%, #FCD34D 100%);
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.25);
}

.listing-card-v1.top-color-listing.purple-theme {
    border: 3px solid #A855F7;
    background: linear-gradient(135deg, #F3E8FF 0%, #E9D5FF 50%, #D8B4FE 100%);
    box-shadow: 0 8px 24px rgba(168, 85, 247, 0.25);
}

.listing-card-v1.top-color-listing.green-theme {
    border: 3px solid #10B981;
    background: linear-gradient(135deg, #D1FAE5 0%, #A7F3D0 50%, #6EE7B7 100%);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.25);
}

.listing-card-v1.top-color-listing.orange-theme {
    border: 3px solid #F97316;
    background: linear-gradient(135deg, #FFEDD5 0%, #FED7AA 50%, #FDBA74 100%);
    box-shadow: 0 8px 24px rgba(249, 115, 22, 0.25);
}

.listing-card-v1.top-color-listing.pink-theme {
    border: 3px solid #EC4899;
    background: linear-gradient(135deg, #FCE7F3 0%, #FBCFE8 50%, #F9A8D4 100%);
    box-shadow: 0 8px 24px rgba(236, 72, 153, 0.25);
}

/* Pulse Animation for Premium Ads */
@keyframes pulse-premium {
    0%, 100% {
        box-shadow: 0 8px 24px rgba(245, 158, 11, 0.25);
    }
    50% {
        box-shadow: 0 12px 32px rgba(245, 158, 11, 0.4);
    }
}

/* Top Ads WITHOUT Color (Standard premium - border only) */
.listing-card-v1.top-listing {
    position: relative;
    border: 2px solid #00AAFF;
    background: linear-gradient(90deg, #F0F9FF 0%, #FFFFFF 100%);
}

/* Featured Badge Style */
.listing-card-v1.featured-listing {
    border: 2px solid #3B82F6;
    background: linear-gradient(90deg, #EFF6FF 0%, #FFFFFF 100%);
}

/* Normal Ads - Standard */
.listing-card-v1.normal {
    /* Inherits base styles */
}

/* ============================================
   PREMIUM CONTENT OVERLAY
   ============================================ */
.listing-card-v1.top-color-listing .listing-content {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
}

/* ============================================
   IMAGE SECTION
   ============================================ */
.listing-card-v1 .listing-image {
    position: relative;
    flex-shrink: 0;
    width: 180px;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    overflow: hidden;
    align-self: stretch;
}

.listing-card-v1 .listing-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.listing-card-v1 .listing-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.listing-card-v1:hover .listing-image img {
    transform: scale(1.08);
}

/* ============================================
   BADGES SYSTEM - FLEXIBLE & CUSTOMIZABLE
   ============================================ */
.listing-card-v1 .listing-badges {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 10;
}

.listing-card-v1 .listing-badges .badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 10px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.listing-card-v1 .listing-badges .badge i {
    margin-right: 2px;
    font-size: 11px;
}

/* Badge Color Variants */
.listing-card-v1 .badge.admin-ad {
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
    color: #ffffff;
    border: 2px solid #F87171;
}

.listing-card-v1 .badge.premium-gold,
.listing-card-v1 .badge.top-color {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    color: #ffffff;
    border: 2px solid #FBBF24;
    animation: shine 2s ease-in-out infinite;
}

.listing-card-v1 .badge.premium-purple {
    background: linear-gradient(135deg, #A855F7 0%, #9333EA 100%);
    color: #ffffff;
    border: 2px solid #C084FC;
}

.listing-card-v1 .badge.premium-green {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: #ffffff;
    border: 2px solid #34D399;
}

.listing-card-v1 .badge.premium-orange {
    background: linear-gradient(135deg, #F97316 0%, #EA580C 100%);
    color: #ffffff;
    border: 2px solid #FB923C;
}

.listing-card-v1 .badge.premium-pink {
    background: linear-gradient(135deg, #EC4899 0%, #DB2777 100%);
    color: #ffffff;
    border: 2px solid #F472B6;
}

.listing-card-v1 .badge.top-ad {
    background: linear-gradient(135deg, #00AAFF 0%, #0088CC 100%);
    color: #ffffff;
    border: 2px solid #33BBFF;
}

.listing-card-v1 .badge.featured {
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
    color: #ffffff;
    border: 2px solid #60A5FA;
}

.listing-card-v1 .badge.verified {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: #ffffff;
    border: 2px solid #34D399;
}

.listing-card-v1 .badge.urgent {
    background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%);
    color: #ffffff;
    border: 2px solid #EF4444;
    animation: pulse-urgent 2s infinite;
}

.listing-card-v1 .badge.member {
    background: linear-gradient(135deg, #6366F1 0%, #4F46E5 100%);
    color: #ffffff;
    border: 2px solid #818CF8;
}

/* Badge Animations */
@keyframes shine {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
    }
    50% {
        box-shadow: 0 6px 16px rgba(245, 158, 11, 0.6);
    }
}

@keyframes pulse-urgent {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 6px 20px rgba(220, 38, 38, 0.7);
        transform: scale(1.05);
    }
}

/* ============================================
   CONTENT SECTION
   ============================================ */
.listing-card-v1 .listing-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 14px 18px;
    min-width: 0;
}

.listing-card-v1 .listing-header {
    flex: 1;
    margin-bottom: 0;
}

/* Category */
.listing-card-v1 .listing-category {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 6px;
    color: #00AAFF;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.listing-card-v1 .listing-category a {
    color: #00AAFF;
    text-decoration: none;
    transition: color 0.2s ease;
}

.listing-card-v1 .listing-category a:hover {
    color: #0088CC;
}

.listing-card-v1 .listing-category i {
    font-size: 12px;
}

/* Title */
.listing-card-v1 .listing-title {
    margin: 0 0 6px 0;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    color: #111827;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.listing-card-v1 .listing-title a {
    color: #111827;
    text-decoration: none;
    transition: color 0.2s ease;
}

.listing-card-v1 .listing-title a:hover {
    color: #00AAFF;
}

/* Premium cards title hover colors */
.listing-card-v1.top-color-listing.gold-theme:hover .listing-title a {
    color: #F59E0B;
}

.listing-card-v1.top-color-listing.purple-theme:hover .listing-title a {
    color: #A855F7;
}

.listing-card-v1.top-color-listing.green-theme:hover .listing-title a {
    color: #10B981;
}

.listing-card-v1.top-color-listing.orange-theme:hover .listing-title a {
    color: #F97316;
}

.listing-card-v1.top-color-listing.pink-theme:hover .listing-title a {
    color: #EC4899;
}

/* Location */
.listing-card-v1 .listing-location {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 6px;
    color: #6b7280;
    font-size: 13px;
}

.listing-card-v1 .listing-location a {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.2s ease;
}

.listing-card-v1 .listing-location a:hover {
    color: #00AAFF;
}

.listing-card-v1 .listing-location i {
    color: #00AAFF;
    font-size: 13px;
}

/* Description */
.listing-card-v1 .listing-description {
    margin-bottom: 4px;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Meta Info */
.listing-card-v1 .listing-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding-top: 8px;
    border-top: 1px solid #f3f4f6;
}

.listing-card-v1 .listing-meta .meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #9ca3af;
    font-size: 12px;
}

.listing-card-v1 .listing-meta .meta-item i {
    font-size: 12px;
}

/* ============================================
   FOOTER SECTION
   ============================================ */
.listing-card-v1 .listing-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    margin-top: 8px;
    border-top: 1px solid #e5e7eb;
}

/* Price */
.listing-card-v1 .listing-price {
    font-size: 24px;
    font-weight: 700;
    color: #00AAFF;
    background: linear-gradient(135deg, #00AAFF 0%, #0088CC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Premium card price colors */
.listing-card-v1.top-color-listing.gold-theme .listing-price,
.listing-card-v1.top-color-listing .listing-price {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.listing-card-v1.top-color-listing.purple-theme .listing-price {
    background: linear-gradient(135deg, #A855F7 0%, #9333EA 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.listing-card-v1.top-color-listing.green-theme .listing-price {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.listing-card-v1.top-color-listing.orange-theme .listing-price {
    background: linear-gradient(135deg, #F97316 0%, #EA580C 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.listing-card-v1.top-color-listing.pink-theme .listing-price {
    background: linear-gradient(135deg, #EC4899 0%, #DB2777 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Action Buttons */
.listing-card-v1 .listing-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.listing-card-v1 .btn-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 9px 14px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
    cursor: pointer;
}

.listing-card-v1 .btn-action i {
    font-size: 13px;
}

.listing-card-v1 .btn-action.btn-phone {
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
    color: #00AAFF;
    border: 2px solid #00AAFF;
}

.listing-card-v1 .btn-action.btn-phone:hover {
    background: linear-gradient(135deg, #00AAFF 0%, #0088CC 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 170, 255, 0.3);
}

.listing-card-v1 .btn-action.btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #1DA851 100%);
    color: #ffffff;
    border: 2px solid #25D366;
}

.listing-card-v1 .btn-action.btn-whatsapp:hover {
    background: linear-gradient(135deg, #1DA851 0%, #128C39 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.listing-card-v1 .btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    background-color: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
}

.listing-card-v1 .btn-icon:hover {
    border-color: #00AAFF;
    background-color: #F0F9FF;
    transform: scale(1.1);
}

.listing-card-v1 .btn-icon i {
    font-size: 16px;
    color: #6b7280;
}

.listing-card-v1 .btn-icon:hover i {
    color: #EF4444;
}

/* ============================================
   PREMIUM CARD ENHANCEMENTS
   ============================================ */

/* Enhanced hover for premium cards */
.listing-card-v1.top-color-listing:hover,
.listing-card-v1.top-listing:hover,
.listing-card-v1.admin-featured:hover {
    transform: translateY(-4px);
}

.listing-card-v1.top-color-listing:hover {
    box-shadow: 0 12px 32px rgba(245, 158, 11, 0.35);
}

/* Premium button styles */
.listing-card-v1.top-color-listing .btn-action,
.listing-card-v1.top-listing .btn-action,
.listing-card-v1.admin-featured .btn-action {
    border-width: 2px;
    font-weight: 700;
}

.listing-card-v1.top-color-listing .btn-action:hover,
.listing-card-v1.top-listing .btn-action:hover,
.listing-card-v1.admin-featured .btn-action:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* ============================================
   OPTIONAL RIBBON DECORATION
   ============================================ */
.listing-card-v1.top-color-listing.with-ribbon::before {
    content: '★ PREMIUM';
    position: absolute;
    top: 20px;
    right: -35px;
    width: 140px;
    padding: 4px 0;
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    color: #ffffff;
    text-align: center;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
    transform: rotate(45deg);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 5;
}

/* Theme-specific ribbons */
.listing-card-v1.top-color-listing.with-ribbon.purple-theme::before {
    background: linear-gradient(135deg, #A855F7 0%, #9333EA 100%);
}

.listing-card-v1.top-color-listing.with-ribbon.green-theme::before {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
}

.listing-card-v1.top-color-listing.with-ribbon.orange-theme::before {
    background: linear-gradient(135deg, #F97316 0%, #EA580C 100%);
}

.listing-card-v1.top-color-listing.with-ribbon.pink-theme::before {
    background: linear-gradient(135deg, #EC4899 0%, #DB2777 100%);
}

/* ============================================
   BREADCRUMB SECTION STYLES
   (For location and detail pages)
   ============================================ */
.breedcrumb {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.95) 0%, rgba(51, 65, 85, 0.95) 100%);
    padding: 50px 0;
    margin-bottom: 0;
    position: relative;
}

.breedcrumb__title {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.breedcrumb__page {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.breedcrumb__page-item {
    margin: 0;
    padding: 0;
}

.breedcrumb__page-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.breedcrumb__page-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

.breedcrumb__page-link.active {
    color: #ffc107;
}

/* ============================================
   LOCATION HEADER STYLES
   ============================================ */
.location-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 40px 0;
    color: white;
    margin-bottom: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.location-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 12px;
}

.location-header h1 i {
    font-size: 2rem;
    opacity: 0.95;
}

.location-header .lead {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 20px;
}

.location-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.location-stats .stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.location-stats .stat-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.location-stats .stat-item i {
    font-size: 1.5rem;
}

.location-stats .stat-item .stat-value {
    font-size: 1.5rem;
    font-weight: 700;
}

.location-stats .stat-item .stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet Landscape (1024px and below) */
@media (max-width: 1024px) {
    .listing-card-v1 .listing-image {
        width: 160px;
    }
    
    .listing-card-v1 .listing-content {
        padding: 12px 16px;
    }
    
    .listing-card-v1 .listing-title {
        font-size: 16px;
    }
    
    .breedcrumb__title {
        font-size: 2rem !important;
    }
    
    .location-header h1 {
        font-size: 2rem;
    }
    
    .location-stats {
        gap: 15px;
    }
}

/* Tablet Portrait (768px and below) */
@media (max-width: 768px) {
    /* V1 becomes vertical on mobile */
    .listing-card-v1 {
        flex-direction: column;
    }
    
    .listing-card-v1 .listing-image {
        width: 100%;
        max-width: 100%;
        height: 200px;
    }
    
    .listing-card-v1 .listing-content {
        padding: 14px;
    }
    
    .listing-card-v1 .listing-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .listing-card-v1 .listing-actions {
        width: 100%;
        justify-content: space-between;
    }
    
    /* Hide ribbon on mobile */
    .listing-card-v1.top-color-listing.with-ribbon::before {
        display: none;
    }
    
    .breedcrumb__title {
        font-size: 1.5rem !important;
    }
    
    .location-header h1 {
        font-size: 1.75rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .location-stats {
        flex-direction: column;
        gap: 12px;
    }
    
    .location-stats .stat-item {
        width: 100%;
        justify-content: center;
    }
    
    .sub-locations-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* Mobile (576px and below) */
@media (max-width: 576px) {
    .listing-card-v1 .listing-image {
        height: 180px;
    }
    
    .listing-card-v1 .listing-content {
        padding: 12px;
    }
    
    .listing-card-v1 .listing-title {
        font-size: 15px;
    }
    
    .listing-card-v1 .listing-price {
        font-size: 20px;
    }
    
    .listing-card-v1 .listing-actions {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .listing-card-v1 .btn-action {
        flex: 1;
        min-width: calc(50% - 4px);
    }
    
    .listing-card-v1 .btn-icon {
        width: 100%;
        border-radius: 8px;
    }
    
    .listing-card-v1 .listing-badges {
        top: 8px;
        right: 8px;
    }
    
    .listing-card-v1 .listing-badges .badge {
        padding: 4px 8px;
        font-size: 9px;
    }
    
    .breedcrumb {
        padding: 30px 0 !important;
    }
    
    .breedcrumb__title {
        font-size: 1.5rem !important;
    }
    
    .breedcrumb__page {
        font-size: 0.85rem;
    }
    
    .location-header {
        padding: 30px 0;
    }
    
    .location-header h1 {
        font-size: 1.5rem;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

/* Container for listings */
.listings-container {
    width: 100%;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Print styles */
@media print {
    .listing-card-v1 {
        break-inside: avoid;
        page-break-inside: avoid;
        box-shadow: none !important;
        animation: none !important;
    }
    
    .listing-card-v1 .listing-badges,
    .listing-card-v1 .btn-action,
    .listing-card-v1 .btn-icon {
        display: none !important;
    }
}

/* Accessibility */
.listing-card-v1:focus-within {
    outline: 2px solid #00AAFF;
    outline-offset: 2px;
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .listing-card-v1,
    .listing-card-v1 *,
    .listing-card-v1 *::before,
    .listing-card-v1 *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================
   LISTINGS HEADER & ACTIVE FILTERS STYLES
   ============================================ */

/* Results Header Container */
.listings-header {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.listings-header .results-info h5 {
    color: #1f2937;
    font-weight: 600;
    font-size: 1.1rem;
    margin: 0;
}

/* Sort Options Styling */
.listings-header .sort-options {
    display: flex;
    align-items: center;
    gap: 8px;
}

.listings-header .sort-options label {
    color: #6b7280;
    font-weight: 500;
    font-size: 0.95rem;
    white-space: nowrap;
}

.listings-header .sort-options .form-select {
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 0.95rem;
    color: #374151;
    transition: all 0.3s ease;
    min-width: 180px;
}

.listings-header .sort-options .form-select:focus {
    border-color: #00AAFF;
    box-shadow: 0 0 0 3px rgba(0, 170, 255, 0.1);
    outline: none;
}

/* Active Filters Section */
.active-filters {
    padding: 16px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1px solid #bae6fd;
    border-radius: 10px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
}

.active-filters strong {
    color: #0c4a6e;
    font-size: 0.95rem;
    font-weight: 600;
    margin-right: 6px;
}

/* Filter Badges */
.active-filters .badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 20px;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* Cyan Primary Badge - Brand Color */
.active-filters .badge.bg-primary {
    background: linear-gradient(135deg, #00AAFF 0%, #0088cc 100%) !important;
    border: none;
    color: #ffffff !important;
}

.active-filters .badge.bg-primary:hover {
    background: linear-gradient(135deg, #0088cc 0%, #0066aa 100%) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 170, 255, 0.3);
}

/* Info Badge (for Category) */
.active-filters .badge.bg-info {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%) !important;
    border: none;
    color: #ffffff !important;
}

.active-filters .badge.bg-info:hover {
    background: linear-gradient(135deg, #0891b2 0%, #0e7490 100%) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(6, 182, 212, 0.3);
}

/* Warning Badge (for Price) */
.active-filters .badge.bg-warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    border: none;
    color: #ffffff !important;
}

.active-filters .badge.bg-warning:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(245, 158, 11, 0.3);
}

/* Secondary Badge (for Condition) */
.active-filters .badge.bg-secondary {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%) !important;
    border: none;
    color: #ffffff !important;
}

.active-filters .badge.bg-secondary:hover {
    background: linear-gradient(135deg, #4b5563 0%, #374151 100%) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(107, 114, 128, 0.3);
}

/* Remove Filter Link (X button) */
.active-filters .badge a {
    color: inherit !important;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1;
    opacity: 0.85;
    transition: all 0.2s ease;
    margin-left: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.active-filters .badge a:hover {
    opacity: 1;
    transform: scale(1.15);
}

/* Clear All Button */
.active-filters .btn-outline-danger {
    background: #ffffff;
    color: #dc2626;
    border: 2px solid #dc2626;
    padding: 7px 18px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 20px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    box-shadow: 0 2px 6px rgba(220, 38, 38, 0.15);
}

.active-filters .btn-outline-danger:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: #ffffff;
    border-color: #dc2626;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(220, 38, 38, 0.3);
}

.active-filters .btn-outline-danger i {
    font-size: 0.85rem;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS FOR FILTERS
   ============================================ */

@media (max-width: 768px) {
    .listings-header {
        padding: 16px;
    }
    
    .listings-header .d-flex {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 16px;
    }
    
    .listings-header .results-info {
        width: 100%;
    }
    
    .listings-header .sort-options {
        width: 100%;
    }
    
    .listings-header .sort-options form {
        width: 100%;
    }
    
    .listings-header .sort-options .form-select {
        width: 100% !important;
    }
    
    .active-filters {
        padding: 12px;
        gap: 8px;
    }
    
    .active-filters .badge {
        font-size: 0.85rem;
        padding: 6px 12px;
    }
    
    .active-filters .btn-outline-danger {
        width: 100%;
        justify-content: center;
        margin-left: 0;
        margin-top: 4px;
    }
}

@media (max-width: 576px) {
    .listings-header .results-info h5 {
        font-size: 1rem;
    }
    
    .active-filters strong {
        font-size: 0.9rem;
    }
    
    .active-filters .badge {
        font-size: 0.8rem;
        padding: 5px 10px;
    }
}


/* ===================================
   LISTING TAGS – OLD UI STYLE
   =================================== */

.product-item__tags .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.product-item__tags .tags-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    padding: 6px 14px;
    border-radius: 50px;

    background-color: #f1f3f7;
    color: #464d61;

    font-size: 14px;
    font-weight: 500;

    border: 1px solid #e3e6ed;
    text-decoration: none;

    transition: all 0.25s ease;
}

.product-item__tags .tags-item i {
    font-size: 12px;
    color: #0d6efd;
}

/* Hover */
.product-item__tags .tags-item:hover {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: #ffffff;
}

.product-item__tags .tags-item:hover i {
    color: #ffffff;
}


/* ============================================
   END OF UNIFIED STYLES
   ============================================ */