/*
 * Petwebly — Listing Card Redesign v4.2
 * Matches the clean card UI reference (white grid / full-bleed overlay slider)
 *
 * Enqueue in child theme functions.php inside petwebly_child_scripts():
 *   wp_enqueue_style('petwebly-cards', get_stylesheet_directory_uri().'/petwebly-listing-cards.css', [], '4.0');
 */

/* ═══════════════════════════════════════════
   FONT
═══════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* ═══════════════════════════════════════════
   VARIABLES
═══════════════════════════════════════════ */
:root {
    --pw-font:         'Plus Jakarta Sans', sans-serif;
    --pw-navy:         #0d1b2a;
    --pw-slate:        #4a5568;
    --pw-muted:        #8a9ab0;
    --pw-border:       #edf0f4;
    --pw-bg:           #f7f9fc;
    --pw-white:        #ffffff;
    --pw-accent:       #ff5a5f;
    --pw-amber:        #f59e0b;
    --pw-blue:         #3b82f6;
    --pw-radius:       18px;
    --pw-radius-sm:    10px;
    --pw-shadow:       0 4px 24px rgba(13,27,42,.08), 0 1px 4px rgba(13,27,42,.04);
    --pw-shadow-hover: 0 12px 40px rgba(13,27,42,.14), 0 2px 8px rgba(13,27,42,.06);
}

/* ═══════════════════════════════════════════
   GRID CARD SHELL
═══════════════════════════════════════════ */

.cthiso-item.listing-item-loop {
    border-radius: var(--pw-radius) !important;
    overflow: hidden !important;
    background: var(--pw-white) !important;
    box-shadow: var(--pw-shadow) !important;
    border: none !important;
    transition: box-shadow .25s ease, transform .25s ease !important;
    font-family: var(--pw-font) !important;
}
.cthiso-item.listing-item-loop:hover {
    box-shadow: var(--pw-shadow-hover) !important;
    transform: translateY(-4px) !important;
}
.cthiso-item.listing-item-loop article.geodir-category-listing {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

/* ─── IMAGE PANEL ─── */

.cthiso-item .geodir-category-img {
    position: relative !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
    /* Explicit height so TownHub's lazy loader can measure the container */
    height: 200px !important;
    min-height: 200px !important;
    background: #f1f5f9 !important; /* placeholder colour while image loads */
    display: block !important;
}
.cthiso-item .geodir-category-img-wrap {
    display: block !important;
    overflow: hidden !important;
    border-radius: 0 !important;
    width: 100% !important;
    height: 100% !important;
}
.cthiso-item .geodir-category-img-wrap img.respimg,
.cthiso-item .geodir-category-img img {
    width: 100% !important;
    height: 200px !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    transition: transform .4s ease !important;
    border-radius: 0 !important;
    /* Prevent broken-image icon showing while lazy loading */
    min-height: 200px !important;
}
.cthiso-item.listing-item-loop:hover .geodir-category-img-wrap img.respimg {
    transform: scale(1.05) !important;
}
/* Hide default dark overlay on grid cards */
.cthiso-item .geodir-category-img-wrap .overlay {
    display: none !important;
}

/* ─── FEATURED BADGE — kill TownHub ribbon, replace with clean pill ─── */

.cthiso-item .listing-featured,
.listing-item-loop .listing-featured {
    position: absolute !important;
    top: 12px !important;
    left: 12px !important;
    right: auto !important;
    bottom: auto !important;
    z-index: 20 !important;
    background: var(--pw-white) !important;
    color: var(--pw-navy) !important;
    font-family: var(--pw-font) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 5px 12px 5px 8px !important;
    border-radius: 40px !important;
    box-shadow: 0 2px 10px rgba(0,0,0,.14) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    line-height: 1 !important;
    letter-spacing: .1px !important;
    /* Kill TownHub's ribbon shape */
    clip-path: none !important;
    border: none !important;
    transform: none !important;
    margin: 0 !important;
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    text-indent: 0 !important;
}
/* Kill the ribbon tail pseudo-elements */
.cthiso-item .listing-featured::before,
.cthiso-item .listing-featured::after,
.listing-item-loop .listing-featured::before,
.listing-item-loop .listing-featured::after {
    content: '⭐' !important;
    font-size: 10px !important;
    position: static !important;
    display: inline !important;
    border: none !important;
    background: none !important;
    width: auto !important;
    height: auto !important;
    clip-path: none !important;
    transform: none !important;
    margin: 0 !important;
    padding: 0 !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    opacity: 1 !important;
}
.cthiso-item .listing-featured::after,
.listing-item-loop .listing-featured::after {
    content: none !important;
    display: none !important;
}

/* ─── STATUS BADGE — Now Open / Now Closed ─── */
/* TownHub outputs .geodir_status_date — override positioning and shape */

.cthiso-item .geodir_status_date,
.listing-item-loop .geodir_status_date {
    position: absolute !important;
    bottom: 12px !important;
    left: 12px !important;
    top: auto !important;
    right: auto !important;
    z-index: 20 !important;
    font-family: var(--pw-font) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 5px 11px !important;
    border-radius: 40px !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    /* Kill TownHub's default large button shape */
    min-width: 0 !important;
    width: auto !important;
    height: auto !important;
    text-align: left !important;
    margin: 0 !important;
    transform: none !important;
    border: none !important;
}
.cthiso-item .geodir_status_date i,
.listing-item-loop .geodir_status_date i {
    font-size: 10px !important;
    line-height: 1 !important;
}
/* Open = green tint */
.cthiso-item .lstatus-opening,
.listing-item-loop .lstatus-opening {
    background: rgba(34,197,94,.9) !important;
    color: #fff !important;
}
/* Closed = dark tint */
.cthiso-item .lstatus-closing,
.listing-item-loop .lstatus-closing {
    background: rgba(15,23,42,.75) !important;
    color: rgba(255,255,255,.9) !important;
}

/* ─── BOOKMARK — override TownHub's orange circle completely ─── */

.cthiso-item .geodir-js-favorite_btn,
.listing-item-loop .geodir-js-favorite_btn {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    left: auto !important;
    z-index: 20 !important;
    background: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    width: auto !important;
    height: auto !important;
}
.cthiso-item .geodir-js-favorite_btn .save-btn,
.listing-item-loop .geodir-js-favorite_btn .save-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,.94) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,.16) !important;
    border: none !important;
    text-decoration: none !important;
    transition: transform .18s ease !important;
    line-height: 1 !important;
    color: var(--pw-accent) !important;
}
.cthiso-item .geodir-js-favorite_btn .save-btn:hover,
.listing-item-loop .geodir-js-favorite_btn .save-btn:hover {
    transform: scale(1.12) !important;
    background: #fff !important;
}
.cthiso-item .geodir-js-favorite_btn .save-btn span,
.listing-item-loop .geodir-js-favorite_btn .save-btn span {
    display: none !important;
}
.cthiso-item .geodir-js-favorite_btn .save-btn i,
.listing-item-loop .geodir-js-favorite_btn .save-btn i {
    font-size: 13px !important;
    color: var(--pw-accent) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    width: auto !important;
    height: auto !important;
    background: none !important;
    border-radius: 0 !important;
    position: static !important;
}

/* ─── AUTHOR AVATAR — move inside content area, no overflow ─── */
/* Don't let it hang outside the card boundary */

.cthiso-item .listing-avatar {
    position: static !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 14px 16px 0 !important;
    margin: 0 !important;
    bottom: auto !important;
    left: auto !important;
    z-index: auto !important;
}
.cthiso-item .listing-avatar a {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    text-decoration: none !important;
}
.cthiso-item .listing-avatar img,
.cthiso-item .listing-avatar .avatar {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 2px solid var(--pw-border) !important;
    box-shadow: 0 2px 6px rgba(0,0,0,.1) !important;
    display: block !important;
    flex-shrink: 0 !important;
}
.cthiso-item .listing-avatar .avatar-tooltip {
    font-family: var(--pw-font) !important;
    font-size: 11.5px !important;
    color: var(--pw-muted) !important;
    /* Show as inline label next to avatar */
    position: static !important;
    display: block !important;
    background: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: none !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 160px !important;
}
.cthiso-item .listing-avatar .avatar-tooltip strong {
    font-weight: 600 !important;
    color: var(--pw-slate) !important;
}
/* Remove the extra top padding from content that was compensating for avatar overlap */
.cthiso-item .geodir-category-content {
    padding-top: 12px !important;
}

/* ─── RATING BADGE (bottom-right of image, fully inside) ─── */

.cthiso-item .geodir-category-opt {
    position: absolute !important;
    bottom: 12px !important;
    right: 12px !important;
    top: auto !important;
    left: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    /* Prevent it spilling outside the image */
    max-width: calc(100% - 24px) !important;
}
.cthiso-item .listing-rating-count-wrap {
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    background: rgba(255,255,255,.96) !important;
    border-radius: var(--pw-radius-sm) !important;
    padding: 5px 9px 5px 5px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,.12) !important;
}
.cthiso-item .review-score {
    background: var(--pw-amber) !important;
    color: #fff !important;
    font-family: var(--pw-font) !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    width: 28px !important;
    height: 28px !important;
    border-radius: 7px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    line-height: 1 !important;
}
.cthiso-item .reviews-count {
    font-family: var(--pw-font) !important;
    font-size: 10px !important;
    color: var(--pw-slate) !important;
    white-space: nowrap !important;
}

/* Logo (grid) */
.cthiso-item .lcard-logo.lcard-grid {
    position: absolute !important;
    bottom: -18px !important;
    right: 16px !important;
    z-index: 25 !important;
}
.cthiso-item .lcard-logo .lcard-logo-link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 50% !important;
    background: #fff !important;
    border: 3px solid #fff !important;
    box-shadow: 0 2px 10px rgba(0,0,0,.15) !important;
    overflow: hidden !important;
}
.cthiso-item .lcard-logo img {
    width: 36px !important;
    height: 36px !important;
    object-fit: contain !important;
    border-radius: 50% !important;
}

/* ─── CONTENT PANEL ─── */

.cthiso-item .geodir-category-content {
    padding: 22px 16px 16px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 7px !important;
    flex: 1 !important;
    font-family: var(--pw-font) !important;
}
.cthiso-item .geodir-category-content-title {
    margin: 0 !important;
    padding: 0 !important;
}
.cthiso-item h3.title-sin_map {
    font-family: var(--pw-font) !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    color: var(--pw-navy) !important;
    margin: 0 0 2px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}
.cthiso-item h3.title-sin_map a {
    color: inherit !important;
    text-decoration: none !important;
    transition: color .15s !important;
}
.cthiso-item h3.title-sin_map a:hover {
    color: var(--pw-blue) !important;
}
.cthiso-item .verified-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 15px !important;
    height: 15px !important;
    border-radius: 50% !important;
    background: var(--pw-blue) !important;
    color: #fff !important;
    font-size: 8px !important;
    margin-left: 4px !important;
    vertical-align: middle !important;
}
.cthiso-item .geodir-category-location {
    margin: 0 !important;
    padding: 0 !important;
}
.cthiso-item .geodir-category-location a {
    display: flex !important;
    align-items: flex-start !important;
    gap: 5px !important;
    font-family: var(--pw-font) !important;
    font-size: 12px !important;
    color: var(--pw-muted) !important;
    text-decoration: none !important;
    line-height: 1.45 !important;
}
.cthiso-item .geodir-category-location .fa-map-marker-alt {
    color: var(--pw-accent) !important;
    font-size: 10px !important;
    margin-top: 3px !important;
    flex-shrink: 0 !important;
}
.cthiso-item .geodir-category-text > p {
    font-family: var(--pw-font) !important;
    font-size: 12.5px !important;
    color: var(--pw-slate) !important;
    line-height: 1.6 !important;
    margin: 0 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}
.cthiso-item .lcard-price {
    font-family: var(--pw-font) !important;
    font-size: 13px !important;
    color: var(--pw-navy) !important;
    font-weight: 600 !important;
}
.cthiso-item .lcard-price strong {
    font-weight: 800 !important;
}
.cthiso-item .lcard-distance {
    display: inline-flex !important;
    align-items: center !important;
    font-family: var(--pw-font) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    color: var(--pw-blue) !important;
    background: #eff6ff !important;
    border-radius: 20px !important;
    padding: 3px 10px !important;
}

/* ─── CARD FOOTER ─── */

.cthiso-item .geodir-category-footer {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    padding-top: 10px !important;
    margin-top: auto !important;
    border-top: 1px solid var(--pw-border) !important;
}
.cthiso-item .listing-cats-wrap {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 5px !important;
}
.cthiso-item .listing-item-category-wrap {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    font-family: var(--pw-font) !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    color: var(--pw-slate) !important;
    background: var(--pw-bg) !important;
    border-radius: 40px !important;
    padding: 4px 10px 4px 4px !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    border: 1px solid var(--pw-border) !important;
    transition: background .15s, color .15s !important;
}
.cthiso-item .listing-item-category-wrap:hover {
    background: var(--pw-border) !important;
    color: var(--pw-navy) !important;
}
.cthiso-item .listing-item-category {
    width: 20px !important;
    height: 20px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 9px !important;
    flex-shrink: 0 !important;
}
.cthiso-item .geodir-opt-list {
    margin-left: auto !important;
}
.cthiso-item .geodir-opt-list ul {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}
.cthiso-item .geodir-opt-list li {
    margin: 0 !important;
    padding: 0 !important;
}
.cthiso-item .geodir-opt-list li a,
.cthiso-item .geodir-opt-list li .dynamic-gal {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 30px !important;
    height: 30px !important;
    border-radius: 8px !important;
    background: var(--pw-bg) !important;
    color: var(--pw-slate) !important;
    font-size: 12px !important;
    border: 1px solid var(--pw-border) !important;
    text-decoration: none !important;
    transition: background .15s, color .15s, border-color .15s !important;
    cursor: pointer !important;
}
.cthiso-item .geodir-opt-list li a:hover,
.cthiso-item .geodir-opt-list li .dynamic-gal:hover {
    background: var(--pw-navy) !important;
    color: #fff !important;
    border-color: var(--pw-navy) !important;
}
.cthiso-item .geodir-category_contacts {
    width: 100% !important;
    background: var(--pw-bg) !important;
    border-radius: var(--pw-radius-sm) !important;
    padding: 12px 14px !important;
    margin-top: 4px !important;
    border: 1px solid var(--pw-border) !important;
    font-family: var(--pw-font) !important;
}
.cthiso-item .geodir-category_contacts ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
}
.cthiso-item .geodir-category_contacts li {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 12px !important;
    color: var(--pw-slate) !important;
}
.cthiso-item .geodir-category_contacts li a {
    color: var(--pw-navy) !important;
    font-weight: 600 !important;
    font-size: 12px !important;
    text-decoration: none !important;
}
.cthiso-item .facilities-list {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 4px !important;
    padding-top: 6px !important;
    border-top: 1px solid var(--pw-border) !important;
}
.cthiso-item .facilities-list ul {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 4px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
.cthiso-item .facilities-list li a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 28px !important;
    height: 28px !important;
    border-radius: 7px !important;
    background: var(--pw-bg) !important;
    color: var(--pw-slate) !important;
    font-size: 12px !important;
    border: 1px solid var(--pw-border) !important;
    text-decoration: none !important;
    transition: background .15s, color .15s !important;
}
.cthiso-item .facilities-list li a:hover {
    background: var(--pw-navy) !important;
    color: #fff !important;
}

/* ─── RESPONSIVE ─── */

@media (max-width: 900px) {
    .cthiso-3-cols .cthiso-item,
    .cthiso-4-cols .cthiso-item { width: 50% !important; }
}
@media (max-width: 540px) {
    .cthiso-item,
    .cthiso-2-cols .cthiso-item,
    .cthiso-3-cols .cthiso-item,
    .cthiso-4-cols .cthiso-item { width: 100% !important; }
    .cthiso-item .geodir-category-img-wrap img.respimg { height: 180px !important; }
}

/* ═══════════════════════════════════════════
   SLIDER CARD  (.pw-lsc)
   Full-bleed image with gradient overlay —
   text sits on the dark gradient at the bottom
═══════════════════════════════════════════ */

.pw-lsc {
    position: relative;
    border-radius: var(--pw-radius);
    overflow: hidden;
    box-shadow: var(--pw-shadow);
    font-family: var(--pw-font);
    height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: box-shadow .25s ease, transform .25s ease;
}
.pw-lsc:hover {
    box-shadow: var(--pw-shadow-hover);
    transform: translateY(-4px);
}

/* Full-bleed image */
.pw-lsc__media {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.pw-lsc__img-link {
    display: block;
    width: 100%;
    height: 100%;
}
.pw-lsc__img,
.pw-lsc__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform .5s ease;
}
.pw-lsc:hover .pw-lsc__img,
.pw-lsc:hover .pw-lsc__media img {
    transform: scale(1.06);
}
.pw-lsc__img-placeholder {
    width: 100%;
    height: 100%;
    background: #1a2535;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3a4a5a;
    font-size: 48px;
}

/* Gradient overlay */
.pw-lsc__media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0)    0%,
        rgba(0,0,0,0)   28%,
        rgba(0,0,0,.32) 52%,
        rgba(0,0,0,.72) 74%,
        rgba(0,0,0,.9)  100%
    );
    z-index: 1;
    pointer-events: none;
}

/* Bookmark */
.pw-lsc__bookmark {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 20;
}
.pw-lsc__save-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1.5px solid rgba(255,255,255,.3);
    cursor: pointer;
    text-decoration: none;
    transition: background .2s, transform .2s;
    padding: 0;
}
.pw-lsc__save-btn:hover {
    background: rgba(255,255,255,.32);
    transform: scale(1.1);
}
.pw-lsc__save-btn i {
    font-size: 13px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    margin: 0;
    padding: 0;
}
.pw-lsc__save-btn--saved i { color: var(--pw-accent); }

/* Badges */
.pw-lsc__badges {
    position: absolute;
    top: 14px;
    left: 14px;
    display: flex;
    gap: 6px;
    z-index: 20;
}
.pw-lsc__badge {
    font-family: var(--pw-font);
    font-size: 11px;
    font-weight: 700;
    padding: 5px 11px;
    border-radius: 40px;
    line-height: 1;
    display: flex;
    align-items: center;
    gap: 5px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.pw-lsc__badge--featured {
    background: rgba(255,255,255,.95);
    color: var(--pw-navy);
    box-shadow: 0 2px 8px rgba(0,0,0,.18);
}
.pw-lsc__badge--featured::before {
    content: '⭐';
    font-size: 10px;
}
.pw-lsc__badge--ad {
    background: rgba(13,27,42,.7);
    color: #fff;
    border: 1px solid rgba(255,255,255,.2);
}
.pw-lsc__badge--sale {
    background: var(--pw-amber);
    color: #fff;
}

/* Body — on top of gradient */
.pw-lsc__body {
    position: relative;
    z-index: 10;
    padding: 20px 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Rating */
.pw-lsc__rating {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 2px;
}
.pw-lsc__score {
    background: var(--pw-amber);
    color: #fff;
    font-family: var(--pw-font);
    font-size: 12px;
    font-weight: 800;
    width: 28px;
    height: 28px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.pw-lsc__review-count {
    font-family: var(--pw-font);
    font-size: 10px;
    color: rgba(255,255,255,.65);
}

/* Title */
.pw-lsc__title {
    font-family: var(--pw-font);
    font-size: 19px;
    font-weight: 800;
    line-height: 1.25;
    color: #fff;
    margin: 0;
    text-shadow: 0 1px 8px rgba(0,0,0,.3);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.pw-lsc__title a {
    color: inherit;
    text-decoration: none;
}
.pw-lsc__verified {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--pw-blue);
    color: #fff;
    font-size: 8px;
    margin-left: 5px;
    vertical-align: middle;
}

/* Address */
.pw-lsc__address {
    display: flex;
    align-items: flex-start;
    gap: 5px;
    font-family: var(--pw-font);
    font-size: 12.5px;
    color: rgba(255,255,255,.78);
    line-height: 1.4;
}
.pw-lsc__address i {
    color: var(--pw-accent);
    font-size: 10px;
    margin-top: 3px;
    flex-shrink: 0;
}
.pw-lsc__address a {
    color: inherit;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Footer */
.pw-lsc__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,.15);
    margin-top: 2px;
}
.pw-lsc__cats {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}
.pw-lsc__cat {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: var(--pw-font);
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,.9);
    background: rgba(255,255,255,.14);
    border-radius: 40px;
    padding: 4px 10px 4px 5px;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,.18);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    white-space: nowrap;
    transition: background .15s;
}
.pw-lsc__cat:hover {
    background: rgba(255,255,255,.25);
    color: #fff;
}
.pw-lsc__cat-icon {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    flex-shrink: 0;
}
.pw-lsc__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.pw-lsc__price {
    font-family: var(--pw-font);
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 1px 6px rgba(0,0,0,.25);
}
.pw-lsc__author a {
    display: flex;
    align-items: center;
    gap: 7px;
    text-decoration: none;
}
.pw-lsc__avatar {
    width: 28px !important;
    height: 28px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 2px solid rgba(255,255,255,.4) !important;
    display: block !important;
}
.pw-lsc__author-name {
    font-family: var(--pw-font);
    font-size: 11px;
    color: rgba(255,255,255,.65);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
}

.swiper-slide { height: auto; }

/* ═══════════════════════════════════════════
   NEAR ME FILTER BAR
═══════════════════════════════════════════ */

[id^="pw-nearby-"] {
    font-family: var(--pw-font) !important;
    border-radius: var(--pw-radius) !important;
    border: 1px solid var(--pw-border) !important;
    box-shadow: var(--pw-shadow) !important;
}
@media (max-width: 600px) {
    [id^="pw-nearby-"] {
        flex-direction: column;
        align-items: flex-start !important;
    }
    [id^="pw-nearby-"] .pw-nb-btn {
        width: 100%;
        justify-content: center;
    }
}