/* Public listing / share page. Brand tokens come from aqar-tokens.css. */
[x-cloak] { display: none !important; }
.ls-page { max-width: 1120px; margin: 0 auto; padding: 16px 16px 96px; }
.ls-crumbs { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--aqar-text-muted); margin: 4px 0 14px; }
.ls-crumbs a { color: var(--aqar-navy); text-decoration: none; font-weight: 600; }

.ls-appbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--aqar-navy); color: #fff; border-radius: 14px; padding: 12px 14px; margin-bottom: 14px; }
.ls-appbar-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ls-appbar-text strong { font-size: 14px; }
.ls-appbar-text span { font-size: 12px; opacity: .8; }

.ls-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; }
.ls-main { display: grid; gap: 14px; min-width: 0; }
.ls-aside { display: grid; gap: 14px; }
@media (min-width: 960px) {
    .ls-page { padding: 24px 24px 56px; }
    .ls-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; }
    .ls-aside { position: sticky; top: 88px; }
}

.ls-card { background: var(--aqar-surface); border: 1px solid var(--aqar-border); border-radius: 16px; padding: 18px; box-shadow: 0 1px 2px rgba(15, 39, 59, .04); }
.ls-h2 { margin: 0 0 12px; font-size: 17px; color: var(--aqar-navy); }
.ls-text { margin: 0 0 12px; line-height: 1.9; color: var(--aqar-text); white-space: pre-line; }

/* Gallery */
.ls-gallery { display: grid; gap: 10px; }
.ls-stage { position: relative; aspect-ratio: 4 / 3; background: #e9edf2; border-radius: 16px; overflow: hidden; touch-action: pan-y; }
@media (min-width: 960px) { .ls-stage { aspect-ratio: 16 / 10; } }
.ls-stage > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ls-stage--empty { display: grid; place-items: center; color: var(--aqar-text-muted); }
.ls-badge { position: absolute; top: 12px; inset-inline-start: 12px; background: var(--aqar-gold); color: #fff; font-weight: 700; font-size: 13px; padding: 5px 12px; border-radius: 999px; }
.ls-counter { position: absolute; bottom: 12px; inset-inline-start: 12px; background: rgba(10, 27, 42, .72); color: #fff; font-size: 12px; padding: 4px 10px; border-radius: 999px; }
.ls-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--aqar-navy); font-size: 26px; line-height: 1; cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, .18); }
.ls-nav--next { inset-inline-end: 12px; }
.ls-nav--prev { inset-inline-start: 12px; }
.ls-thumbs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.ls-thumbs button { flex: 0 0 76px; height: 56px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; background: none; opacity: .75; }
.ls-thumbs button.is-active { border-color: var(--aqar-gold); opacity: 1; }
.ls-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Header */
.ls-price { font-size: 28px; font-weight: 800; color: var(--aqar-navy); line-height: 1.3; }
.ls-price small { font-size: 12px; font-weight: 600; color: var(--aqar-gold); margin-inline-start: 8px; }
.ls-title { margin: 6px 0 8px; font-size: 20px; line-height: 1.5; color: var(--aqar-text); }
.ls-location { display: flex; align-items: center; gap: 6px; margin: 0 0 8px; color: var(--aqar-text-muted); font-size: 14px; }
.ls-location svg, .ls-spec svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ls-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0; font-size: 12px; color: var(--aqar-text-hint); }
.ls-specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; margin-top: 16px; }
.ls-spec { display: flex; align-items: center; gap: 10px; background: var(--aqar-bg); border: 1px solid var(--aqar-border); border-radius: 12px; padding: 12px; color: var(--aqar-navy); }
.ls-spec-value { font-weight: 800; font-size: 16px; }
.ls-spec-label { font-size: 12px; color: var(--aqar-text-muted); }

/* Details */
.ls-dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 24px; margin: 0; }
.ls-dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--aqar-border); }
.ls-dl dt { color: var(--aqar-text-muted); font-size: 14px; }
.ls-dl dd { margin: 0; font-weight: 700; color: var(--aqar-text); text-align: end; }
.ls-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ls-chips span { background: var(--aqar-gold-muted); color: var(--aqar-navy); border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 600; }

/* CTA card */
.ls-advertiser { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--aqar-border); }
.ls-avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--aqar-navy); color: var(--aqar-gold); display: grid; place-items: center; font-weight: 800; font-size: 18px; flex: none; }
.ls-adv-name { font-weight: 800; color: var(--aqar-navy); }
.ls-adv-kind { font-size: 13px; color: var(--aqar-text-muted); }
.ls-verified { font-size: 11px; color: var(--aqar-success-strong); background: var(--aqar-success-bg); padding: 2px 8px; border-radius: 999px; margin-inline-start: 6px; font-weight: 700; }
.ls-cta-text { margin: 0 0 14px; font-size: 14px; line-height: 1.8; color: var(--aqar-text-muted); }
.ls-stores { display: grid; gap: 10px; margin-top: 10px; }
.ls-store { display: flex; align-items: center; gap: 12px; background: var(--aqar-navy); color: #fff; text-decoration: none; border-radius: 12px; padding: 10px 14px; }
.ls-store svg { width: 26px; height: 26px; fill: #fff; flex: none; }
.ls-store span { display: flex; flex-direction: column; font-weight: 800; font-size: 15px; line-height: 1.3; }
.ls-store small { font-weight: 500; font-size: 11px; opacity: .8; }
.ls-safety { background: var(--aqar-cream); border-color: var(--aqar-cream-border); font-size: 13px; line-height: 1.8; color: var(--aqar-navy); }
.ls-safety p { margin: 4px 0 0; }

/* Buttons */
.ls-btn { display: inline-flex; align-items: center; justify-content: center; border: 1.5px solid transparent; border-radius: 12px; padding: 12px 18px; font: inherit; font-weight: 800; font-size: 15px; text-decoration: none; cursor: pointer; }
.ls-btn--sm { padding: 8px 14px; font-size: 13px; flex: none; }
.ls-btn--block { width: 100%; }
.ls-btn--gold { background: var(--aqar-gold); color: #fff; }
.ls-btn--gold:hover { background: var(--aqar-gold-hover); }
.ls-btn--outline { background: #fff; color: var(--aqar-navy); border-color: var(--aqar-navy); }

.ls-sticky { position: fixed; inset-inline: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-top: 1px solid var(--aqar-border); }
@media (min-width: 960px) { .ls-sticky { display: none !important; } }
