/* Unified Property Card UI & Hover Animation (matching property-detail.blade.php) */

body .property-detail-card,
body .property-detail-card.category-card-Home,
body .property-detail-card.category-card-Commercial,
body .property-detail-card.category-card-PG,
body .card.category-card-home,
body .card.category-card-commercial,
body .card.category-card-pg {
    background: #ffffff !important;
    border-radius: 14px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05) !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    overflow: hidden !important;
    position: relative !important;
}

body .card.category-card-home,
body .card.category-card-commercial,
body .card.category-card-pg {
    height: calc(100% - 24px) !important;
    margin-bottom: 24px !important;
}

body .owl-carousel .card.category-card-home,
body .owl-carousel .card.category-card-commercial,
body .owl-carousel .card.category-card-pg {
    height: 100% !important;
    margin-bottom: 0 !important;
}

body .property-detail-card:hover,
body .property-detail-card.category-card-Home:hover,
body .property-detail-card.category-card-Commercial:hover,
body .property-detail-card.category-card-PG:hover,
body .card.category-card-home:hover,
body .card.category-card-commercial:hover,
body .card.category-card-pg:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 14px 28px rgba(18, 62, 137, 0.12) !important;
    border-color: #cbd5e1 !important;
}

/* Card Image Container */
body .property-detail-card .item-card8-img,
body .property-detail-card .item-card9-img,
body .card.category-card-home .item-card9-img,
body .card.category-card-commercial .item-card9-img,
body .card.category-card-pg .item-card9-img {
    position: relative !important;
    height: 200px !important;
    width: 100% !important;
    overflow: hidden !important;
    border-radius: 14px 14px 0 0 !important;
    background: #f1f5f9 !important;
    flex-shrink: 0 !important;
}

body .property-detail-card .item-card8-img .skeleton-img-container,
body .property-detail-card .item-card9-img .skeleton-img-container,
body .card.category-card-home .item-card9-img .skeleton-img-container,
body .card.category-card-commercial .item-card9-img .skeleton-img-container,
body .card.category-card-pg .item-card9-img .skeleton-img-container {
    height: 200px !important;
    width: 100% !important;
}

body .property-detail-card .item-card8-img img.cover-image,
body .property-detail-card .item-card9-img img.cover-image,
body .card.category-card-home .item-card9-img img.cover-image,
body .card.category-card-commercial .item-card9-img img.cover-image,
body .card.category-card-pg .item-card9-img img.cover-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 0 !important;
    transition: transform 0.4s ease !important;
}

body .property-detail-card:hover .item-card8-img img.cover-image,
body .property-detail-card:hover .item-card9-img img.cover-image,
body .card.category-card-home:hover .item-card9-img img.cover-image,
body .card.category-card-commercial:hover .item-card9-img img.cover-image,
body .card.category-card-pg:hover .item-card9-img img.cover-image {
    transform: scale(1.05) !important;
}

/* Action Buttons (Heart, Share) */
body .property-detail-card .gallery-top-actions,
body .card.category-card-home .gallery-top-actions,
body .card.category-card-commercial .gallery-top-actions,
body .card.category-card-pg .gallery-top-actions,
body .card.category-card-home .item-card9-icons,
body .card.category-card-commercial .item-card9-icons,
body .card.category-card-pg .item-card9-icons {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    left: auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    z-index: 10 !important;
}

body .property-detail-card .gallery-top-actions .icon-circle,
body .card.category-card-home .gallery-top-actions .icon-circle,
body .card.category-card-commercial .gallery-top-actions .icon-circle,
body .card.category-card-pg .gallery-top-actions .icon-circle,
body .card.category-card-home .item-card9-icons a.item-card9-icons1,
body .card.category-card-commercial .item-card9-icons a.item-card9-icons1,
body .card.category-card-pg .item-card9-icons a.item-card9-icons1 {
    position: static !important;
    inset: auto !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(4px) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: transform 0.2s, background 0.2s !important;
    color: #1e293b !important;
    font-size: 14px !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
}

body .property-detail-card .gallery-top-actions .icon-circle:hover,
body .card.category-card-home .gallery-top-actions .icon-circle:hover,
body .card.category-card-commercial .gallery-top-actions .icon-circle:hover,
body .card.category-card-pg .gallery-top-actions .icon-circle:hover,
body .card.category-card-home .item-card9-icons a.item-card9-icons1:hover,
body .card.category-card-commercial .item-card9-icons a.item-card9-icons1:hover,
body .card.category-card-pg .item-card9-icons a.item-card9-icons1:hover {
    transform: scale(1.1) !important;
    background: #ffffff !important;
    color: #1e293b !important;
}

/* Price Badge */
body .property-detail-card .arrow-ribbon,
body .card.category-card-home .arrow-ribbon,
body .card.category-card-commercial .arrow-ribbon,
body .card.category-card-pg .arrow-ribbon {
    position: absolute !important;
    bottom: 12px !important;
    left: 12px !important;
    top: auto !important;
    right: auto !important;
    background: #ffffff !important;
    color: #0f172a !important;
    font-weight: 800 !important;
    font-size: 13.5px !important;
    border-radius: 20px !important;
    padding: 5px 12px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18) !important;
    z-index: 6 !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    line-height: 1.3 !important;
    display: inline-flex !important;
    align-items: center !important;
}

body .property-detail-card .arrow-ribbon span,
body .card.category-card-home .arrow-ribbon span,
body .card.category-card-commercial .arrow-ribbon span,
body .card.category-card-pg .arrow-ribbon span {
    font-size: 13.5px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
}

body .property-detail-card .arrow-ribbon::before,
body .property-detail-card .arrow-ribbon::after,
body .card.category-card-home .arrow-ribbon::before,
body .card.category-card-home .arrow-ribbon::after,
body .card.category-card-commercial .arrow-ribbon::before,
body .card.category-card-commercial .arrow-ribbon::after,
body .card.category-card-pg .arrow-ribbon::before,
body .card.category-card-pg .arrow-ribbon::after {
    display: none !important;
}

/* Category Pill */
body .property-detail-card .tag-option-mini,
body .card.category-card-home .tag-option-mini,
body .card.category-card-commercial .tag-option-mini,
body .card.category-card-pg .tag-option-mini {
    position: absolute !important;
    top: 12px !important;
    left: 12px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(6px) !important;
    color: #1e293b !important;
    font-weight: 600 !important;
    font-size: 12px !important;
    border-radius: 20px !important;
    padding: 4px 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12) !important;
    z-index: 6 !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
}

body .card.category-card-home .item-tags .tag-option,
body .card.category-card-commercial .item-tags .tag-option,
body .card.category-card-pg .item-tags .tag-option {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(6px) !important;
    color: #1e293b !important;
    font-weight: 600 !important;
    font-size: 12px !important;
    border-radius: 20px !important;
    padding: 4px 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12) !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
}

/* Rating Badge */
body .property-detail-card .rating-badge-main,
body .card.category-card-home .rating-badge-main,
body .card.category-card-commercial .rating-badge-main,
body .card.category-card-pg .rating-badge-main {
    position: absolute !important;
    bottom: 12px !important;
    right: 12px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(6px) !important;
    padding: 4px 8px !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    z-index: 6 !important;
    border: none !important;
}

body .property-detail-card .rating-badge-main i,
body .card.category-card-home .rating-badge-main i,
body .card.category-card-commercial .rating-badge-main i,
body .card.category-card-pg .rating-badge-main i {
    color: #f59e0b !important;
    font-size: 11px !important;
}

body .property-detail-card .rating-badge-main span,
body .card.category-card-home .rating-badge-main span,
body .card.category-card-commercial .rating-badge-main span,
body .card.category-card-pg .rating-badge-main span {
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
}

/* Card Body */
body .property-detail-card .hovee-prop-card,
body .card.category-card-home .hovee-prop-card,
body .card.category-card-commercial .hovee-prop-card,
body .card.category-card-pg .hovee-prop-card {
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
    height: auto !important;
    min-height: 0 !important;
    background: transparent !important;
}

body .property-detail-card .card-body,
body .card.category-card-home .card-body,
body .card.category-card-commercial .card-body,
body .card.category-card-pg .card-body {
    padding: 14px 16px 6px !important;
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
}

body .property-detail-card .item-card9 h4,
body .card.category-card-home .item-card9 h4,
body .card.category-card-commercial .item-card9 h4,
body .card.category-card-pg .item-card9 h4 {
    font-size: 1.08rem !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin-bottom: 6px !important;
    line-height: 1.35 !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}

body .property-detail-card .item-card9 h4 span,
body .card.category-card-home .item-card9 h4 span,
body .card.category-card-commercial .item-card9 h4 span,
body .card.category-card-pg .item-card9 h4 span {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

body .property-detail-card .item-card9 a:hover h4,
body .card.category-card-home .item-card9 a:hover h4,
body .card.category-card-commercial .item-card9 a:hover h4,
body .card.category-card-pg .item-card9 a:hover h4 {
    color: #123E89 !important;
}

/* Amenities Grid */
body .property-detail-card .property-amenities,
body .card.category-card-home .property-amenities,
body .card.category-card-commercial .property-amenities,
body .card.category-card-pg .property-amenities {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 6px 10px !important;
    margin-top: 8px !important;
    margin-bottom: 0 !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
    border-top: 1px solid #f1f5f9 !important;
    border-bottom: 1px solid #f1f5f9 !important;
    width: 100% !important;
}

body .property-detail-card .property-amenities .amenity,
body .card.category-card-home .property-amenities .amenity,
body .card.category-card-commercial .property-amenities .amenity,
body .card.category-card-pg .property-amenities .amenity {
    font-size: 12px !important;
    color: #64748b !important;
    display: block !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    text-decoration: none !important;
    min-width: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.5 !important;
}

body .property-detail-card .property-amenities .amenity i,
body .card.category-card-home .property-amenities .amenity i,
body .card.category-card-commercial .property-amenities .amenity i,
body .card.category-card-pg .property-amenities .amenity i {
    color: #123E89 !important;
    font-size: 12px !important;
    width: 14px !important;
    min-width: 14px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    margin: 0 6px 0 0 !important;
    vertical-align: middle !important;
}

/* Card Footer (Location) */
body .property-detail-card .card-footer,
body .card.category-card-home .card-footer,
body .card.category-card-commercial .card-footer,
body .card.category-card-pg .card-footer {
    background: transparent !important;
    border-top: none !important;
    padding: 4px 16px 12px !important;
    margin-top: auto !important;
}

body .property-detail-card .card-footer .item-card9-footer,
body .card.category-card-home .card-footer .item-card9-footer,
body .card.category-card-commercial .card-footer .item-card9-footer,
body .card.category-card-pg .card-footer .item-card9-footer,
body .property-detail-card .card-footer .item-card9-cost,
body .card.category-card-home .card-footer .item-card9-cost,
body .card.category-card-commercial .card-footer .item-card9-cost,
body .card.category-card-pg .card-footer .item-card9-cost {
    min-width: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

body .property-detail-card .card-footer .item-card9-cost a,
body .card.category-card-home .card-footer .item-card9-cost a,
body .card.category-card-commercial .card-footer .item-card9-cost a,
body .card.category-card-pg .card-footer .item-card9-cost a {
    display: block !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.4 !important;
    text-decoration: none !important;
}

body .property-detail-card .location-footer,
body .card.category-card-home .location-footer,
body .card.category-card-commercial .location-footer,
body .card.category-card-pg .location-footer {
    font-size: 12px !important;
    color: #64748b !important;
    display: block !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    min-width: 0 !important;
    max-width: 100% !important;
}

body .property-detail-card .location-footer i,
body .card.category-card-home .location-footer i,
body .card.category-card-commercial .location-footer i,
body .card.category-card-pg .location-footer i {
    color: #ef4444 !important;
    font-size: 12px !important;
    margin-right: 5px !important;
    vertical-align: middle !important;
}
