/* Gwags.ng premium category listing system — visual pass 2 */
:root{--gp-purple:#5b21b6;--gp-violet:#7c3aed;--gp-ink:#17152c;--gp-line:rgba(91,33,182,.13)}
#listingView,#searchView{max-width:1440px;margin-inline:auto}
#listingView .listing-head,#searchView .listing-head{position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:center;gap:18px;min-height:220px;margin:16px 0 18px;padding:clamp(25px,4vw,48px);border:0;border-radius:26px;color:#fff;background:linear-gradient(90deg,rgba(30,9,73,.98) 0%,rgba(58,20,124,.94) 48%,rgba(39,12,82,.28) 100%),url('assets/og-home.jpg') center 46%/cover no-repeat;box-shadow:0 18px 44px rgba(38,16,78,.18)}
#listingView[data-category="hotel"] .listing-head{background-image:linear-gradient(90deg,rgba(30,9,73,.98) 0%,rgba(58,20,124,.91) 48%,rgba(39,12,82,.20) 100%),url('assets/og-hotels.jpg')}
#listingView[data-category="shortlet"] .listing-head{background-image:linear-gradient(90deg,rgba(30,9,73,.98) 0%,rgba(58,20,124,.91) 48%,rgba(39,12,82,.20) 100%),url('assets/og-apartments.jpg')}
#listingView[data-category="restaurant"] .listing-head{background-image:linear-gradient(90deg,rgba(30,9,73,.98) 0%,rgba(58,20,124,.91) 48%,rgba(39,12,82,.20) 100%),url('assets/og-restaurants.jpg')}
#listingView[data-category="event"] .listing-head{background-image:linear-gradient(90deg,rgba(30,9,73,.98) 0%,rgba(58,20,124,.91) 48%,rgba(39,12,82,.20) 100%),url('assets/og-events.jpg')}
#listingView[data-category="leisure"] .listing-head{background-image:linear-gradient(90deg,rgba(30,9,73,.98) 0%,rgba(58,20,124,.91) 48%,rgba(39,12,82,.20) 100%),url('assets/og-hangout.jpg')}
#listingView .listing-head:after,#searchView .listing-head:after{content:"Discover  •  Compare  •  Book with confidence";position:absolute;z-index:-1;right:clamp(18px,4vw,50px);bottom:25px;color:rgba(255,255,255,.88);font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
#listingView .listing-head h2,#searchView .listing-head h2{font-size:clamp(29px,3.7vw,46px);line-height:1.08;letter-spacing:-1.2px;font-weight:850;color:#fff;margin:0;max-width:650px}
#listingView .listing-head h2:after,#searchView .listing-head h2:after{content:"Find your next favourite place";display:block;margin-top:12px;max-width:560px;font-size:15px;line-height:1.55;letter-spacing:0;font-weight:450;color:rgba(255,255,255,.84)}
#listingView .back-button,#searchView .back-button{flex:0 0 44px;width:44px;height:44px;border:1px solid rgba(255,255,255,.3);border-radius:15px;background:rgba(255,255,255,.14);color:white;backdrop-filter:blur(8px);box-shadow:none;transition:transform .18s,background .18s}
#listingView .back-button:hover,#searchView .back-button:hover{transform:translateX(-2px);background:rgba(255,255,255,.24)}
#listingView #dataStatus,#searchView #searchDataStatus{padding:3px 2px 15px;line-height:1.6}
#listingView .listing-grid,#searchView .listing-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;align-items:stretch;margin:0 0 32px}
#listingView .listing-card,#searchView .listing-card{display:flex;flex-direction:column;min-width:0;overflow:hidden;padding:0;border-radius:22px;border:1px solid color-mix(in srgb,var(--border) 72%,transparent);background:var(--surface);box-shadow:0 8px 26px rgba(22,17,43,.07);transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
#listingView .listing-card:hover,#searchView .listing-card:hover{transform:translateY(-4px);border-color:rgba(109,40,217,.32);box-shadow:0 18px 40px rgba(45,26,83,.15)}
#listingView .listing-image-wrap,#searchView .listing-image-wrap{position:relative;overflow:hidden;background:linear-gradient(135deg,#eee8ff,#f8f5ff)}
#listingView .listing-image,#searchView .listing-image{display:block;width:100%;height:220px;object-fit:cover;transition:transform .45s ease}
#listingView .listing-card:hover .listing-image,#searchView .listing-card:hover .listing-image{transform:scale(1.045)}
#listingView .listing-content,#searchView .listing-content{display:flex;flex:1;flex-direction:column;padding:18px 19px 20px;gap:7px}
#listingView .listing-title-row h3,#searchView .listing-title-row h3{font-size:18px;line-height:1.35;letter-spacing:-.35px;font-weight:800}
#listingView .listing-location,#searchView .listing-location{display:flex;align-items:flex-start;gap:6px;font-size:12.5px!important;color:var(--muted)!important;line-height:1.5}
#listingView .listing-desc,#searchView .listing-desc{font-size:13px;line-height:1.65}
#listingView .tag,#searchView .tag{font-size:11px;padding:6px 9px;border-radius:999px}
#listingView .listing-card .btn,#listingView .listing-card button,#searchView .listing-card .btn,#searchView .listing-card button{transition:transform .16s,filter .16s;border-radius:12px}
#listingView .listing-card .btn:hover,#listingView .listing-card button:hover,#searchView .listing-card .btn:hover,#searchView .listing-card button:hover{filter:brightness(.97);transform:translateY(-1px)}
#listingView .listing-card .listing-actions,#searchView .listing-card .listing-actions{margin-top:auto;padding-top:12px;gap:9px}
#listingView .listing-promo-badge,#searchView .listing-promo-badge{top:13px;left:13px;padding:7px 11px;border-radius:999px;font-size:11px;letter-spacing:.03em}
#detailView .detail-head{border-radius:18px}#detailView .detail-card{border-radius:24px;box-shadow:0 12px 36px rgba(22,17,43,.09)}
html.dark #listingView .listing-head,html.dark #searchView .listing-head{border:1px solid rgba(196,181,253,.16)}
@media(max-width:1050px){#listingView .listing-grid,#searchView .listing-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}#listingView .listing-image,#searchView .listing-image{height:205px}}
@media(max-width:640px){#listingView .listing-head,#searchView .listing-head{min-height:190px;margin:7px 0 16px;padding:22px 16px;border-radius:20px;gap:11px;background-position:center;background-size:cover}#listingView .listing-head h2,#searchView .listing-head h2{font-size:27px;letter-spacing:-.7px}#listingView .listing-head h2:after,#searchView .listing-head h2:after{font-size:13px;margin-top:8px}#listingView .listing-head:after,#searchView .listing-head:after{left:17px;right:auto;bottom:15px;font-size:9px;letter-spacing:.06em}#listingView .back-button,#searchView .back-button{flex-basis:40px;width:40px;height:40px;border-radius:13px}#listingView .listing-grid,#searchView .listing-grid{grid-template-columns:minmax(0,1fr);gap:15px}#listingView .listing-card,#searchView .listing-card{border-radius:19px}#listingView .listing-image,#searchView .listing-image{height:220px;max-height:60vw}#listingView .listing-content,#searchView .listing-content{padding:16px}#listingView .listing-title-row h3,#searchView .listing-title-row h3{font-size:17px}}
@media(prefers-reduced-motion:reduce){#listingView .listing-card,#searchView .listing-card,#listingView .listing-image,#searchView .listing-image{transition:none}}
