/* Public listing page (/auctions/{city}/{suburb}/{title}-{id}). Everything is scoped under .plp. */

.plp { background: #f4f6f9; color: #333; font-size: 14px; padding-bottom: 8px; }
.plp a:not(.btn) { color: #2a6db0; text-decoration: none; cursor: pointer; }
.plp a:not(.btn):hover { color: #1d4f86; text-decoration: underline; }
.plp p { margin: 0; }
.plp h1, .plp h2 { font-family: inherit; }

.plp-container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.plp-min0 { min-width: 0; }

.plp-breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 14px; font-size: 12px; color: #777; }
.plp-breadcrumb-current { color: #555; }

.plp-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; padding-top: 14px; padding-bottom: 40px; }
.plp-main { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.plp-rail { position: sticky; top: 16px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }

.plp-card { background: #fff; border: 1px solid #dfe5ec; border-radius: 6px; }
.plp-card-flush { overflow: hidden; }
.plp-card-header { margin: 0; background: #3a76a8; color: #fff; font-size: 12px; font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase; padding: 10px 16px; line-height: 1.4; }
.plp-card-body { padding: 16px; }

.plp-summary { padding: 22px 22px 18px 22px; }
.plp-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.plp-badge { color: #fff; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 3px; line-height: 1.5; }
.plp-badge-dark { background: #3d5a80; }
.plp-badge-orange { background: #f08a3c; }
.plp-badge-grey { background: #8a94a3; }
.plp-badge-light { background: #eef3fb; color: #2a6db0; border: 1px solid #d6e2f3; font-weight: 600; padding: 2px 9px; }

.plp-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.plp h1 { margin: 0 0 6px 0; font-size: clamp(19px, 2.4vw, 23px); line-height: 1.3; font-weight: 700; color: #222; }
.plp-address { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 15px; font-weight: 600; color: #555; }
.plp-address-pin { color: #9aa8b8; font-size: 14px; margin-right: 3px; }
.plp a.plp-address-hidden, .plp a.plp-address-hidden:hover { text-decoration: none; }
.plp a.plp-address-unlock { display: inline-flex; align-items: center; gap: 6px; padding: 3px 11px; border: 1px solid #f6dcc2; border-radius: 999px; background: #fff3e8; color: #b8621b; font-size: 12px; font-weight: 700; white-space: nowrap; transition: background 150ms ease, border-color 150ms ease; }
.plp a.plp-address-unlock:hover { background: #ffe6cc; border-color: #e8961f; color: #9a4f12; text-decoration: none; }
.plp-address-unlock > i { font-size: 11px; }
.plp a.plp-save { flex: none; width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; border: 1px solid #d6e2f3; border-radius: 50%; color: #2a6db0; font-size: 18px; }
.plp a.plp-save:hover { background: #eef3fb; text-decoration: none; }

.plp-facts { display: flex; flex-wrap: wrap; gap: 14px 32px; margin-top: 18px; padding: 14px 0; border-top: 1px solid #eef1f5; border-bottom: 1px solid #eef1f5; }
.plp-facts:empty { display: none; }
.plp-fact { display: flex; align-items: center; gap: 10px; }
.plp-fact > i { flex: none; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: #eef3fb; color: #3a76a8; font-size: 15px; }
.plp-fact-value { font-size: 17px; font-weight: 700; color: #222; line-height: 1.2; }
.plp-fact-label { font-size: 12px; color: #777; line-height: 1.3; }

.plp-key-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin-top: 16px; padding-top: 14px; border-top: 1px solid #eef1f5; }
.plp-facts + .plp-key-info { padding-top: 0; border-top: none; }
.plp-key-label { font-size: 12px; font-weight: 700; color: #3a76a8; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 2px; }

.plp-expired-banner { background: #fff7ec; border: 1px solid #f3d6ae; border-radius: 6px; padding: 18px 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.plp-expired-copy { min-width: 0; flex: 1 1 320px; color: #6b4a1f; line-height: 1.5; }
.plp-expired-title { font-size: 16px; font-weight: 700; color: #7a4a0e; margin-bottom: 4px !important; }

.plp-two-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 18px; }
.plp-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid #eef1f5; }
.plp-row > span:first-child { font-weight: 600; }
.plp-row:last-of-type { border-bottom: none; }
.plp-blur { color: transparent; text-shadow: 0 0 8px rgba(30, 40, 60, 0.6); user-select: none; }
.plp-teaser { background: #f3f7fd; border: 1px solid #d6e2f3; border-radius: 4px; padding: 12px; margin-top: 10px; font-size: 13px; line-height: 1.5; color: #444; }
.plp-teaser a { font-weight: 700; }

.plp-sales-summary { background: #f7f8fa; border: 1px solid #e3e8ee; border-radius: 5px; padding: 14px; text-align: center; margin-bottom: 14px; font-size: 13px; color: #555; }
.plp-sales-count { font-size: 16px; font-weight: 700; color: #222; margin-bottom: 2px !important; }
.plp-table { border: 1px solid #e3e8ee; border-radius: 4px; overflow: hidden; }
.plp-table-row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.3fr); border-bottom: 1px solid #eef1f5; }
.plp-table-row > div { padding: 9px 12px; }
.plp-table-head { background: #f7f8fa; font-weight: 700; border-bottom-color: #e3e8ee; }
.plp a.plp-table-link { display: block; text-align: center; padding: 11px; font-weight: 700; }

.plp-description { line-height: 1.65; color: #444; margin-top: 16px; }
.plp-description > p, .plp-ai-description { margin-bottom: 10px !important; }
.plp .plp-description > p { font-size: inherit; }
.plp-description > :last-child { margin-bottom: 0 !important; }
.plp-description a { font-weight: 600; }

.plp-similar { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.plp a.plp-similar-card { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid #e3e8ee; border-radius: 6px; color: #333; transition: border-color 150ms ease, box-shadow 150ms ease; }
.plp a.plp-similar-card:hover { border-color: #2a6db0; box-shadow: 0 4px 14px rgba(31, 78, 140, 0.12); text-decoration: none; }
.plp-similar-main { display: flex; flex-direction: column; gap: 4px; padding: 16px 16px 14px 16px; }
.plp-similar-place { font-size: 14px; font-weight: 700; line-height: 1.3; color: #1f4e8c; }
.plp-similar-sub { font-size: 14px; line-height: 1.45; color: #444; }
.plp-similar-fact { color: #777; }
.plp-similar-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 10px; margin-top: auto; padding: 12px 16px; background: #f7f9fb; border-top: 1px solid #eef1f5; font-size: 13px; }
.plp-similar-countdown { font-weight: 700; color: #b8621b; }
.plp-similar-reserve { color: #333; }

.plp-faq { padding-top: 6px; padding-bottom: 10px; }
.plp-faq details { border-bottom: 1px solid #eef1f5; padding: 12px 0; }
.plp-faq details:last-child { border-bottom: none; }
.plp-faq summary { cursor: pointer; font-weight: 700; color: #222; }
.plp-faq summary::-webkit-details-marker { color: #2a6db0; }
.plp-faq details p { margin-top: 8px !important; line-height: 1.6; color: #555; }

.plp-area-links { padding: 4px 2px; }
.plp-area-links h2 { margin: 0 0 8px 0; font-size: 15px; font-weight: 700; color: #222; }
.plp-area-links > div { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 13px; font-weight: 600; }

.plp .plp-btn-orange { background: #e8961f; color: #fff; border: none; border-radius: 4px; padding: 13px; font-size: 14px; font-weight: 700; }
.plp .plp-btn-orange:hover, .plp .plp-btn-orange:focus, .plp a.plp-btn-orange:hover, .plp a.plp-btn-orange:focus { background: #d4840f; color: #fff; text-decoration: none; }
.plp a.plp-btn-inline { display: inline-block; padding: 11px 20px; white-space: nowrap; color: #fff; }

.plp-sticky-bar { display: none; }

.plp-order-1 { order: 1; }
.plp-order-2 { order: 2; }
.plp-order-3 { order: 3; }
.plp-order-4 { order: 4; }
.plp-order-6 { order: 6; }
.plp-order-7 { order: 7; }
.plp-order-10 { order: 10; }
.plp-order-11 { order: 11; }

@media (max-width: 879px) {
    .plp { padding-bottom: 72px; }
    .plp-grid { grid-template-columns: minmax(0, 1fr); display: flex; flex-direction: column; align-items: stretch; }
    .plp-main { display: contents; }
    .plp-rail { position: static; order: 8; }
    .plp-facts { gap: 14px 24px; }
    .plp-similar { grid-template-columns: minmax(0, 1fr); }

    .plp-sticky-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030; background: #fff; border-top: 1px solid #dfe5ec; box-shadow: 0 -4px 16px rgba(31, 78, 140, 0.12); padding: 10px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
    .plp-sticky-bar.plp-sticky-bar-hidden { display: none; }
    .plp-sticky-title { font-size: 13px; font-weight: 700; color: #222; }
    .plp-sticky-sub { font-size: 12px; color: #666; }
}
