/* Lahore Guest Houses Core — component styles. Themes can override the variables. */
:root{
	--lgh-red:#d90d1e;--lgh-red-dark:#a8000f;--lgh-black:#0b0b0d;--lgh-ink:#16161a;--lgh-text:#1c1c21;--lgh-muted:#6b6b76;
	--lgh-line:#e8e8ec;--lgh-bg:#ffffff;--lgh-soft:#f6f6f8;--lgh-wa:#25d366;--lgh-radius:18px;--lgh-radius-sm:12px;
	--lgh-shadow:0 10px 30px rgba(10,10,15,.08);--lgh-shadow-lg:0 24px 60px rgba(10,10,15,.18);
}
.lgh-icon{flex:none;vertical-align:middle}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* Buttons */
.lgh-btn{display:inline-flex;align-items:center;justify-content:center;gap:.5em;padding:.8em 1.3em;border-radius:12px;border:1.5px solid transparent;font-weight:700;font-size:.95rem;line-height:1.1;text-decoration:none;cursor:pointer;transition:transform .15s ease,box-shadow .2s ease,background .2s ease,color .2s ease;white-space:nowrap}
.lgh-btn:hover{transform:translateY(-1px)}
.lgh-btn:focus-visible{outline:3px solid rgba(217,13,30,.35);outline-offset:2px}
.lgh-btn--primary{background:linear-gradient(135deg,var(--lgh-red),var(--lgh-red-dark));color:#fff;box-shadow:0 8px 20px rgba(217,13,30,.3)}
.lgh-btn--primary:hover{color:#fff;box-shadow:0 12px 26px rgba(217,13,30,.4)}
.lgh-btn--wa{background:var(--lgh-wa);color:#fff}
.lgh-btn--wa:hover{color:#fff;background:#1ebe5b}
.lgh-btn--ghost{background:transparent;border-color:currentColor;color:inherit}
.lgh-btn--sm{padding:.6em 1em;font-size:.85rem;border-radius:10px}
.lgh-btn--lg{padding:1em 1.6em;font-size:1.02rem}
.lgh-btn--block{display:flex;width:100%}
.lgh-btn--icon{padding:.6em;aspect-ratio:1}
.lgh-btn--icon span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.lgh-btn.is-loading{opacity:.7;pointer-events:none}

/* Grids & cards */
.lgh-grid{display:grid;gap:22px}
.lgh-grid--properties,.lgh-grid--rooms,.lgh-grid--offers{grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr))}
.lgh-grid--reviews,.lgh-grid--contact{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr))}
.lgh-card{background:var(--lgh-bg);border-radius:var(--lgh-radius);overflow:hidden;box-shadow:var(--lgh-shadow);display:flex;flex-direction:column;transition:transform .25s ease,box-shadow .25s ease;border:1px solid var(--lgh-line)}
.lgh-card:hover{transform:translateY(-4px);box-shadow:var(--lgh-shadow-lg)}
.lgh-card__media{position:relative;display:block;aspect-ratio:4/3;overflow:hidden;background:var(--lgh-soft)}
.lgh-card__media img{width:100%;height:100%;object-fit:cover;transition:transform .6s ease}
.lgh-card:hover .lgh-card__media img{transform:scale(1.05)}
.lgh-card__body{padding:18px 18px 20px;display:flex;flex-direction:column;gap:8px;flex:1}
.lgh-card__eyebrow{margin:0;font-size:.78rem;font-weight:600;color:var(--lgh-red);text-transform:uppercase;letter-spacing:.04em}
.lgh-card__title{margin:0;font-size:1.2rem;line-height:1.25}
.lgh-card__title a{color:var(--lgh-text);text-decoration:none}
.lgh-card__loc,.lgh-card__meta{margin:0;color:var(--lgh-muted);font-size:.9rem;display:flex;flex-wrap:wrap;gap:4px 14px;align-items:center}
.lgh-card__loc .lgh-icon,.lgh-card__meta .lgh-icon{width:16px;height:16px;color:var(--lgh-red);margin-right:4px}
.lgh-card__meta span{display:inline-flex;align-items:center}
.lgh-card__text{margin:0;color:var(--lgh-muted);font-size:.92rem}
.lgh-card__foot{margin-top:auto;padding-top:10px;display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.lgh-card__actions{display:flex;gap:8px}
.lgh-card--compact .lgh-card__media{aspect-ratio:16/9}
.lgh-ph{width:100%;height:100%;min-height:180px;display:grid;place-items:center;background:repeating-linear-gradient(135deg,#f3f3f5 0 12px,#ececf0 12px 24px);color:var(--lgh-muted);font-size:.85rem}
.lgh-ph span{display:flex;flex-direction:column;align-items:center;gap:6px}
.lgh-ph .lgh-icon{width:30px;height:30px}

.lgh-price{display:inline-flex;align-items:baseline;gap:4px;flex-wrap:wrap;color:var(--lgh-text)}
.lgh-price strong{font-size:1.25rem;color:var(--lgh-red)}
.lgh-price del{color:var(--lgh-muted);font-size:.85rem}
.lgh-price small{color:var(--lgh-muted);font-size:.8rem}
.lgh-price--ask{font-weight:600;color:var(--lgh-muted)}

.lgh-rating,.lgh-tag{position:absolute;top:12px;left:12px;display:inline-flex;align-items:center;gap:5px;padding:5px 10px;border-radius:30px;background:var(--lgh-red);color:#fff;font-size:.8rem;font-weight:700;box-shadow:0 4px 12px rgba(0,0,0,.2)}
.lgh-rating .lgh-icon,.lgh-tag .lgh-icon{width:14px;height:14px}
.lgh-tag--offer{left:auto;right:12px;background:var(--lgh-black)}
.lgh-chips{display:flex;flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none}
.lgh-chips li{font-size:.78rem;padding:4px 10px;border-radius:30px;background:var(--lgh-soft);color:var(--lgh-text)}

/* Search */
.lgh-search{background:#fff;border-radius:22px;padding:16px;box-shadow:var(--lgh-shadow-lg);color:var(--lgh-text);display:flex;flex-direction:column;gap:12px}
.lgh-search__tabs{display:flex;gap:8px}
.lgh-search__tab{display:inline-flex;align-items:center;gap:6px;padding:9px 16px;border-radius:12px;font-weight:700;font-size:.9rem;color:var(--lgh-text);text-decoration:none;background:var(--lgh-soft)}
.lgh-search__tab.is-active{background:var(--lgh-red);color:#fff}
.lgh-search__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:10px}
.lgh-field{display:flex;flex-direction:column;gap:3px;position:relative;border:1.5px solid var(--lgh-line);border-radius:14px;padding:9px 12px;background:#fff;transition:border-color .2s}
.lgh-field:focus-within{border-color:var(--lgh-red)}
.lgh-search .lgh-field{padding-left:44px}
.lgh-field__icon{position:absolute;left:13px;top:50%;transform:translateY(-50%);color:var(--lgh-muted)}
.lgh-field__label{font-size:.72rem;font-weight:600;color:var(--lgh-muted);text-transform:uppercase;letter-spacing:.04em}
.lgh-field input,.lgh-field select,.lgh-field textarea{border:0;outline:0;background:transparent;font:inherit;font-weight:600;color:var(--lgh-text);padding:2px 0;width:100%;min-width:0;box-shadow:none}
.lgh-field textarea{font-weight:400;resize:vertical}
.lgh-field__pair{display:flex;gap:8px}
.lgh-search__grid--more .lgh-field{padding-left:12px}
.lgh-search__more summary{cursor:pointer;font-weight:600;font-size:.9rem;color:var(--lgh-red);padding:4px 2px}
.lgh-search__more[open] summary{margin-bottom:10px}
.lgh-check{display:flex;align-items:center;gap:8px;font-weight:600;font-size:.9rem}
.lgh-search__facilities{border:0;padding:0;margin:10px 0 0;display:flex;flex-wrap:wrap;gap:8px}
.lgh-search__facilities legend{font-size:.72rem;font-weight:600;color:var(--lgh-muted);text-transform:uppercase;margin-bottom:6px}
.lgh-chip-check input{position:absolute;opacity:0}
.lgh-chip-check span{display:inline-block;padding:6px 12px;border-radius:30px;border:1.5px solid var(--lgh-line);font-size:.85rem;cursor:pointer}
.lgh-chip-check input:checked+span{background:var(--lgh-red);border-color:var(--lgh-red);color:#fff}
.lgh-chip-check input:focus-visible+span{outline:2px solid var(--lgh-red)}
.lgh-results__count{font-weight:700;margin:24px 0 14px}
.lgh-note{font-size:.85rem;color:var(--lgh-muted);margin-top:14px}
.lgh-empty{padding:22px;border-radius:var(--lgh-radius-sm);background:var(--lgh-soft);color:var(--lgh-muted)}
.lgh-empty .lgh-btn{margin-top:10px}

/* Booking */
.lgh-booking{background:#fff;color:var(--lgh-text);border-radius:22px;padding:clamp(18px,3vw,32px);box-shadow:var(--lgh-shadow);border:1px solid var(--lgh-line)}
.lgh-booking__title{margin:0 0 14px}
.lgh-steps{display:flex;gap:10px;list-style:none;padding:0;margin:0 0 18px;counter-reset:s}
.lgh-steps li{flex:1;display:flex;flex-direction:column;align-items:center;gap:4px;font-size:.8rem;color:var(--lgh-muted);position:relative}
.lgh-steps span{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:var(--lgh-soft);font-weight:700}
.lgh-steps .is-active{color:var(--lgh-red);font-weight:600}
.lgh-steps .is-active span{background:var(--lgh-red);color:#fff}
.lgh-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.lgh-field--full{grid-column:1/-1}
.lgh-hp{position:absolute!important;left:-9999px;width:1px;height:1px;overflow:hidden}
.lgh-quote{margin:16px 0 0;padding:14px 16px;border-radius:14px;background:var(--lgh-soft)}
.lgh-quote__row{display:flex;justify-content:space-between;gap:10px;padding:4px 0}
.lgh-quote__row--disc{color:#0a7a33}
.lgh-quote__row--total{border-top:1px dashed #ccc;margin-top:6px;padding-top:10px;font-size:1.05rem}
.lgh-quote__row--total strong{color:var(--lgh-red);font-size:1.25rem}
.lgh-quote__err{color:#b3121f;margin:6px 0 0;font-size:.9rem}
.lgh-booking__actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.lgh-alert{padding:12px 14px;border-radius:12px;background:var(--lgh-soft);margin-bottom:14px}
.lgh-alert--error{background:#fde8ea;color:#8a0f19;border:1px solid #f6c3c8}

.lgh-confirm{text-align:center;max-width:620px;margin:0 auto;padding:clamp(20px,4vw,40px);border-radius:22px;background:#fff;box-shadow:var(--lgh-shadow)}
.lgh-confirm__icon{width:72px;height:72px;border-radius:50%;margin:0 auto 14px;display:grid;place-items:center;background:var(--lgh-red);color:#fff}
.lgh-confirm__icon .lgh-icon{width:36px;height:36px}
.lgh-summary{text-align:left;margin:20px 0;border-radius:14px;background:var(--lgh-soft);padding:6px 16px}
.lgh-summary div{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid var(--lgh-line)}
.lgh-summary div:last-child{border:0}
.lgh-summary dt{color:var(--lgh-muted)}.lgh-summary dd{margin:0;font-weight:700;text-align:right}
.lgh-confirm__actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:center}

/* Gallery & video */
.lgh-gallery__main{position:relative;border-radius:var(--lgh-radius);overflow:hidden;aspect-ratio:16/10;background:var(--lgh-soft)}
.lgh-gallery__main img{width:100%;height:100%;object-fit:cover}
.lgh-gallery__count{position:absolute;right:14px;bottom:14px;background:rgba(0,0,0,.65);color:#fff;font-size:.8rem;font-weight:700;padding:4px 10px;border-radius:30px}
.lgh-gallery__thumbs{display:flex;gap:8px;overflow-x:auto;padding:10px 0;scrollbar-width:thin}
.lgh-gallery__thumb{flex:0 0 86px;height:64px;border-radius:10px;overflow:hidden;border:2px solid transparent;padding:0;cursor:pointer;background:none;opacity:.7}
.lgh-gallery__thumb.is-active,.lgh-gallery__thumb:hover{border-color:var(--lgh-red);opacity:1}
.lgh-gallery__thumb img{width:100%;height:100%;object-fit:cover}
.lgh-video{margin-top:12px;border-radius:var(--lgh-radius);overflow:hidden;aspect-ratio:16/9;background:#000}
.lgh-video iframe,.lgh-video video{width:100%;height:100%;border:0;display:block}

/* Sections on property pages */
.lgh-section{padding:28px 0;border-top:1px solid var(--lgh-line)}
.lgh-h2{font-size:clamp(1.35rem,2.4vw,1.75rem);margin:0 0 18px}
.lgh-facilities{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:10px;list-style:none;padding:0;margin:0}
.lgh-facilities li{display:flex;align-items:center;gap:8px;padding:10px 12px;border-radius:12px;background:var(--lgh-soft);font-weight:600;font-size:.92rem}
.lgh-facilities .lgh-icon{color:var(--lgh-red)}
.lgh-location{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:20px;align-items:start}
.lgh-location__addr{display:flex;gap:8px;font-weight:600}
.lgh-location__addr .lgh-icon{color:var(--lgh-red)}
.lgh-list{padding-left:1.2em}
.lgh-map{border-radius:var(--lgh-radius);overflow:hidden;aspect-ratio:4/3;background:var(--lgh-soft)}
.lgh-map iframe{width:100%;height:100%;border:0}
.lgh-policies{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:12px}
.lgh-policy{display:flex;align-items:center;gap:10px;padding:12px 16px;border-radius:14px;background:var(--lgh-soft)}
.lgh-policy small{display:block;color:var(--lgh-muted)}
.lgh-policy .lgh-icon{color:var(--lgh-red)}

/* Offers & coupons */
.lgh-coupon{display:flex;align-items:center;gap:10px;padding:8px 10px;border:2px dashed var(--lgh-red);border-radius:12px}
.lgh-coupon code{font-size:1.05rem;font-weight:800;letter-spacing:.08em;color:var(--lgh-red);background:none;flex:1}

/* Reviews */
.lgh-reviews__summary{display:flex;align-items:center;gap:14px;margin-bottom:18px;flex-wrap:wrap}
.lgh-reviews__score{display:inline-flex;align-items:baseline;gap:4px;font-size:2.2rem;font-weight:800}
.lgh-reviews__score .lgh-icon{width:28px;height:28px;color:var(--lgh-red);align-self:center}
.lgh-reviews__score small{font-size:1rem;color:var(--lgh-muted)}
.lgh-review{margin:0;padding:18px;border-radius:var(--lgh-radius-sm);background:#fff;border:1px solid var(--lgh-line);box-shadow:var(--lgh-shadow)}
.lgh-review__head{display:flex;gap:10px;align-items:center;margin-bottom:10px}
.lgh-review__head strong{display:block}
.lgh-avatar{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:var(--lgh-red);color:#fff;font-weight:800}
.lgh-stars{display:inline-flex;color:#f5a400}
.lgh-stars .lgh-icon{width:14px;height:14px}
.lgh-review blockquote{margin:0;padding:0;border:0;font-style:normal;color:var(--lgh-text)}
.lgh-review figcaption{margin-top:10px;font-size:.8rem;color:var(--lgh-muted)}

/* FAQ */
.lgh-faq{display:flex;flex-direction:column;gap:10px}
.lgh-faq__item{border:1px solid var(--lgh-line);border-radius:14px;background:#fff;overflow:hidden}
.lgh-faq__item summary{cursor:pointer;padding:16px 48px 16px 18px;font-weight:700;list-style:none;position:relative}
.lgh-faq__item summary::-webkit-details-marker{display:none}
.lgh-faq__item summary::after{content:"+";position:absolute;right:18px;top:50%;transform:translateY(-50%);font-size:1.4rem;color:var(--lgh-red);transition:transform .2s}
.lgh-faq__item[open] summary::after{transform:translateY(-50%) rotate(45deg)}
.lgh-faq__a{padding:0 18px 16px;color:var(--lgh-muted)}

/* AI finder */
.lgh-ai{background:linear-gradient(160deg,#111114,#1d0306 70%,#3a0309);color:#fff;border-radius:24px;padding:clamp(18px,3vw,28px);box-shadow:var(--lgh-shadow-lg)}
.lgh-ai__head{display:flex;gap:14px;align-items:center;margin-bottom:14px}
.lgh-ai__head p{margin:2px 0 0;color:rgba(255,255,255,.7);font-size:.92rem}
.lgh-ai__title{margin:0;font-size:1.35rem;color:#fff}
.lgh-ai__avatar{flex:none;width:56px;height:56px;border-radius:18px;display:grid;place-items:center;background:var(--lgh-red);box-shadow:0 0 30px rgba(217,13,30,.6)}
.lgh-ai__avatar .lgh-icon{width:30px;height:30px}
.lgh-ai__log{display:flex;flex-direction:column;gap:10px;max-height:460px;min-height:140px;overflow-y:auto;padding:6px 2px;margin-bottom:12px}
.lgh-ai__msg{max-width:88%;padding:11px 14px;border-radius:16px;line-height:1.45;font-size:.95rem;white-space:pre-line}
.lgh-ai__msg--bot{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.1);border-bottom-left-radius:4px;align-self:flex-start}
.lgh-ai__msg--user{background:var(--lgh-red);align-self:flex-end;border-bottom-right-radius:4px}
.lgh-ai__msg.is-typing{opacity:.7;font-style:italic}
.lgh-ai__cards{max-width:100%;background:none;border:0;padding:0;display:grid;gap:12px;grid-template-columns:repeat(auto-fill,minmax(min(100%,240px),1fr));white-space:normal}
.lgh-ai__cards .lgh-card{color:var(--lgh-text)}
.lgh-ai__chips{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}
.lgh-ai__chip{border:1px solid rgba(255,255,255,.25);background:rgba(255,255,255,.06);color:#fff;border-radius:30px;padding:8px 14px;font-size:.85rem;cursor:pointer}
.lgh-ai__chip:hover{background:var(--lgh-red);border-color:var(--lgh-red)}
.lgh-ai__form{display:flex;gap:8px;background:#fff;border-radius:16px;padding:6px}
.lgh-ai__form input{flex:1;border:0;outline:0;padding:10px 12px;font:inherit;color:var(--lgh-text);background:transparent;min-width:0}
.lgh-ai .lgh-note{color:rgba(255,255,255,.6)}

/* Contact & why */
.lgh-contact__list{list-style:none;padding:0;margin:0 0 24px;display:grid;gap:10px;grid-template-columns:repeat(auto-fill,minmax(min(100%,260px),1fr))}
.lgh-contact__list a,.lgh-contact__list div{display:flex;gap:12px;align-items:center;padding:16px;border-radius:14px;border:1px solid var(--lgh-line);background:#fff;text-decoration:none;color:var(--lgh-text)}
.lgh-contact__list .lgh-icon{color:var(--lgh-red);width:24px;height:24px}
.lgh-contact__list small{display:block;color:var(--lgh-muted)}
.lgh-contact__prop{padding:18px;border-radius:14px;border:1px solid var(--lgh-line);background:#fff}
.lgh-contact__prop h3{margin:0 0 8px}
.lgh-contact__prop p{display:flex;gap:8px;align-items:flex-start;margin:0 0 8px}
.lgh-contact__prop .lgh-icon{color:var(--lgh-red);width:18px}
.lgh-why{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,220px),1fr));gap:18px}
.lgh-why__item{padding:22px;border-radius:var(--lgh-radius);background:#fff;border:1px solid var(--lgh-line)}
.lgh-why__icon{width:52px;height:52px;border-radius:16px;display:grid;place-items:center;background:rgba(217,13,30,.1);color:var(--lgh-red);margin-bottom:12px}
.lgh-why__icon .lgh-icon{width:26px;height:26px}
.lgh-why__item h3{margin:0 0 6px;font-size:1.05rem}
.lgh-why__item p{margin:0;color:var(--lgh-muted);font-size:.92rem}

.lgh-breadcrumbs ol{display:flex;flex-wrap:wrap;gap:6px;list-style:none;padding:0;margin:0;font-size:.85rem}
.lgh-breadcrumbs li+li::before{content:"›";margin-right:6px;opacity:.6}
.lgh-breadcrumbs a{color:inherit;opacity:.8}

@media (max-width:720px){
	.lgh-form-grid{grid-template-columns:1fr}
	.lgh-location{grid-template-columns:1fr}
	.lgh-booking__actions .lgh-btn{flex:1 1 100%}
}
@media (prefers-reduced-motion:reduce){.lgh-card,.lgh-card__media img,.lgh-btn{transition:none}}
