/* Auction portal: neutral layout; the agent's colours arrive as --title-color, --description-color, --button-color, --button-bg-color, --svg-color. */
:root { --title-color: #13213c; --description-color: #4a5568; --button-color: #fff; --button-bg-color: #b48a30; --svg-color: #b48a30; }
* { box-sizing: border-box; }
body { margin: 0; font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: #1a202c; background: #fff; }
img { max-width: 100%; }
a { color: inherit; }
.pt-wrap { width: min(1200px, 100% - 32px); margin: 0 auto; }
.pt-head { border-bottom: 1px solid #e2e8f0; }
.pt-head__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; }
.pt-head__auth { display: flex; align-items: center; gap: 10px; }
.pt-head__auth form { margin: 0; }
.pt-logo { display: block; max-height: 75px; max-width: min(300px, 55vw); width: auto; }
.pt-title { color: var(--title-color); font-weight: 800; line-height: 1.15; margin: 0 0 12px; }
.pt-title span { color: var(--svg-color); }
h1.pt-title { font-size: clamp(28px, 4vw, 44px); }
h2.pt-title { font-size: clamp(22px, 3vw, 32px); }
.pt-desc { color: var(--description-color); margin: 0; }
.pt-btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 20px; border: 0; border-radius: 8px; background: var(--button-bg-color); color: var(--button-color); font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.pt-btn--ghost { background: transparent; color: var(--title-color); box-shadow: inset 0 0 0 1.5px #cbd5e0; }
.pt-btn.is-on { box-shadow: inset 0 0 0 2px var(--button-bg-color); }
.pt-btn.is-disabled { opacity: .55; cursor: not-allowed; }
.pt-link { border: 0; background: none; padding: 0; font: inherit; font-weight: 700; color: var(--button-bg-color); cursor: pointer; }
.pt-toast { margin: 16px 0; padding: 12px 16px; border-radius: 8px; background: #e6f4ea; color: #1e5631; }
.pt-toast.is-error { background: #fdecea; color: #8a1c1c; }
.pt-banner, .pt-section { padding: clamp(32px, 6vw, 72px) 0; }
.pt-section.is-grey { background: #f1f1f1; }
.pt-split { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.pt-split.is-reversed > .pt-img { order: 2; }
.pt-img { border-radius: 20px; width: 100%; object-fit: cover; }
.pt-listing { padding: 32px 0; }
.pt-listing__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.pt-tools { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.pt-tools select { padding: 10px; border-radius: 8px; border: 1.5px solid #cbd5e0; font: inherit; }
.pt-empty { text-align: center; padding: 48px 16px; color: var(--description-color); }
.pt-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pt-cards.is-list { grid-template-columns: 1fr; }
.pt-cards.is-list .pt-card { display: grid; grid-template-columns: 320px 1fr; }
.pt-card { border: 1px solid #e2e8f0; border-radius: 14px; overflow: hidden; background: #fff; }
.pt-card__img { position: relative; display: block; height: 250px; background: #edf2f7 center / cover no-repeat; }
.pt-badge { position: absolute; left: 12px; top: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(0, 0, 0, .65); color: #fff; font-size: 13px; }
.pt-card__body { padding: 16px; }
.pt-card__body p { margin: 0 0 6px; }
.pt-card__address { margin: 0 0 4px; font-size: 18px; color: var(--title-color); }
.pt-card__address a { text-decoration: none; }
.pt-card__title { font-weight: 600; }
.pt-price { font-size: 22px; font-weight: 800; color: var(--title-color); }
.pt-specs { color: var(--description-color); }
.pt-expired { color: #c53030; font-weight: 700; }
.pt-foot { padding: 24px 0; border-top: 1px solid #e2e8f0; color: var(--description-color); font-size: 14px; }
.pt-detail { padding: 24px 0 48px; }
.pt-gallery { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-bottom: 24px; }
.pt-gallery img { flex: 0 0 min(100%, 720px); height: 420px; object-fit: cover; border-radius: 14px; scroll-snap-align: start; }
.pt-detail__grid { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; }
.pt-tab { border-top: 1px solid #e2e8f0; padding: 14px 0; }
.pt-tab summary, .pt-bids summary { font-weight: 700; cursor: pointer; color: var(--title-color); }
.pt-side { position: sticky; top: 16px; padding: 20px; border: 1px solid #e2e8f0; border-radius: 14px; }
.pt-bidform label { display: block; margin-bottom: 10px; font-weight: 600; }
.pt-bidform input, .pt-modal input { display: block; width: 100%; margin-top: 4px; padding: 10px 12px; border: 1.5px solid #cbd5e0; border-radius: 8px; font: inherit; }
.pt-bids ul { padding-left: 18px; }
.pt-modal { width: min(440px, 100% - 32px); border: 0; border-radius: 14px; padding: 24px; }
.pt-modal::backdrop { background: rgba(0, 0, 0, .5); }
.pt-modal form { position: relative; display: grid; gap: 10px; }
.pt-modal h2 { margin: 0; color: var(--title-color); }
.pt-close { position: absolute; right: -8px; top: -12px; border: 0; background: none; font-size: 26px; cursor: pointer; }
@media (max-width: 900px) {
    .pt-cards { grid-template-columns: 1fr 1fr; }
    .pt-detail__grid { grid-template-columns: 1fr; }
    .pt-side { position: static; }
}
@media (max-width: 640px) {
    .pt-split, .pt-cards, .pt-cards.is-list .pt-card { grid-template-columns: 1fr; }
    .pt-split.is-reversed > .pt-img { order: 0; }
    .pt-hide-sm { display: none; }
    .pt-gallery img { height: 260px; }
}
