/* ── Inventory Page ───────────────────────────────────── */
.estate-inv {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.estate-inv__header {
    text-align: center;
    margin-bottom: 24px;
}
.estate-inv__title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 4px;
}
.estate-inv__count {
    color: #666;
    font-size: 15px;
}
.estate-inv__empty {
    text-align: center;
    padding: 60px 20px;
    color: #888;
    font-size: 16px;
}

/* Category jump links */
.estate-inv__cats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
    justify-content: center;
}
.estate-inv__cat-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #f0f0f0;
    border-radius: 20px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s;
}
.estate-inv__cat-link:hover { background: #e0e0e0; }
.estate-inv__cat-count {
    background: #ddd;
    color: #555;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 10px;
}

/* Sections */
.estate-inv__section {
    margin-bottom: 36px;
}
.estate-inv__section-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid #eee;
}
.estate-inv__section-title span {
    font-weight: 400;
    color: #888;
    font-size: 16px;
}

/* Item Grid */
.estate-inv__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}
.estate-inv__card {
    display: block;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s, transform 0.15s;
}
.estate-inv__card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}
.estate-inv__card-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
}
.estate-inv__card-img--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    background: #f5f5f5;
}
.estate-inv__card-img--video {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    aspect-ratio: 1;
}
.estate-inv__card-body {
    padding: 12px;
}
.estate-inv__card-title {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 4px;
}
.estate-inv__card-room {
    font-size: 13px;
    color: #888;
}
.estate-inv__card-condition {
    font-size: 13px;
    color: #666;
    margin-top: 2px;
}

/* Footer */
.estate-inv__footer {
    text-align: center;
    padding: 30px 20px;
    color: #888;
    font-size: 14px;
    border-top: 1px solid #eee;
    margin-top: 20px;
}

/* ── Single Item (high specificity for Neve theme) ──── */
body .estate-single {
    max-width: 700px;
    margin: 20px auto;
    padding: 0 20px 40px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
body .estate-single__badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 12px;
    color: #fff;
}
body .estate-single__badge--sold    { background: #c0392b; }
body .estate-single__badge--claimed { background: #f39c12; }
body .estate-single__badge--hold    { background: #2980b9; }
body .estate-single__badge--donate  { background: #27ae60; }
body .estate-single__badge--trash   { background: #7f8c8d; }

body .estate-single__image-link { display: block; }
body .estate-single__image {
    width: 100%;
    max-height: 600px;
    object-fit: contain;
    border-radius: 10px;
    background: #f5f5f5;
}
body .estate-single__video {
    width: 100%;
    max-height: 600px;
    border-radius: 10px;
    background: #000;
}
body .estate-single__content {
    padding-top: 20px;
}
body .estate-single__title {
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 10px;
    line-height: 1.2;
}

/* Meta row: category + condition + room inline */
body .estate-single__meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 13px;
}
body .estate-single__cat {
    background: #e8f4fd;
    color: #2980b9;
    padding: 3px 10px;
    border-radius: 10px;
    font-weight: 500;
    text-decoration: none;
}
body .estate-single__condition {
    color: #666;
}
body .estate-single__room {
    color: #888;
}

/* Description */
body .estate-single__desc {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
    margin-bottom: 20px;
}

/* Family note */
body .estate-single__family-note {
    background: #f7faf7;
    border: none;
    border-left: 3px solid #8cb88c;
    border-radius: 0 8px 8px 0;
    padding: 14px 16px;
    margin: 0 0 20px;
}
body .estate-single__family-note-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #6a9a6a;
    margin: 0 0 4px;
    font-style: normal;
}
body .estate-single__family-note p {
    margin: 0;
    padding: 0;
    font-size: 15px;
    font-style: italic;
    color: #3a5a3a;
    line-height: 1.5;
}

/* Pairing suggestion */
body .estate-single__pairing {
    font-size: 14px;
    color: #777;
    margin: 0 0 20px;
    line-height: 1.5;
}

/* Action box: price + contact */
body .estate-single__action-box {
    background: #fafafa;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 24px 20px;
    margin: 0 0 24px;
    text-align: center;
}
body .estate-single__offer-label {
    font-size: 22px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 4px;
}
body .estate-single__offer-sub {
    font-size: 14px;
    color: #888;
    margin: 0 0 16px;
    font-style: italic;
}
body .estate-single__divider {
    height: 1px;
    background: #e0e0e0;
    margin: 0 auto 16px;
    max-width: 200px;
}
body .estate-single__phone-btn {
    display: inline-block;
    padding: 14px 32px;
    background: #27ae60;
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 8px;
    font-size: 17px;
    font-weight: 600;
    transition: background 0.2s;
}
body .estate-single__phone-btn:hover {
    background: #219a52;
    color: #fff !important;
    text-decoration: none !important;
}
body .estate-single__ref {
    font-size: 12px;
    color: #bbb;
    margin-top: 12px;
}

/* Tags - subtle, bottom */
body .estate-single__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 0 0 20px;
}
body a.estate-single__tag,
body .estate-single__tag {
    background: #f0f0f0;
    color: #777;
    padding: 3px 8px;
    border-radius: 8px;
    font-size: 11px;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}
body a.estate-single__tag:hover {
    background: #e0e0e0;
    color: #444;
    text-decoration: none;
}

/* Filter bar */
.estate-inv__filter-bar {
    background: #f0f7ff;
    border: 1px solid #c8ddf0;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #2c5282;
}
.estate-inv__filter-clear {
    margin-left: 12px;
    color: #c0392b;
    text-decoration: none;
    font-weight: 500;
}
.estate-inv__filter-clear:hover { text-decoration: underline; }

/* Footer */
body .estate-single__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid #eee;
}
body .estate-single__share-btn {
    padding: 10px 20px;
    background: #f0f0f0;
    color: #555;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}
body .estate-single__share-btn:hover { background: #e0e0e0; }
body a.estate-single__back {
    color: #2980b9;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}
body a.estate-single__back:hover { text-decoration: underline; }

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 600px) {
    .estate-inv__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .estate-inv__card-body { padding: 8px; }
    .estate-inv__card-title { font-size: 13px; }
    body .estate-single__title { font-size: 22px; }
    body .estate-single__footer { flex-direction: column; gap: 12px; }
    body .estate-single__price { font-size: 20px; }
}
