/* ── Directory wrapper ─────────────────────────────────────── */
.eaah-wrap { max-width: 1200px; margin: 0 auto; font-family: inherit; }

/* ── Filter bar ────────────────────────────────────────────── */
.eaah-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-bottom: 28px;
    padding: 16px 20px;
    background: #f8f8f6;
    border-radius: 10px;
    border: 1px solid #e8e4dc;
}
.eaah-filter-group { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.eaah-filter-label { font-weight: 600; font-size: 13px; color: #555; white-space: nowrap; }
.eaah-filter-btn {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1.5px solid #d5cfc3;
    background: #fff;
    color: #444;
    font-size: 13px;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: all .15s ease;
    line-height: 1.4;
}
.eaah-filter-btn:hover { border-color: #8b7355; color: #8b7355; text-decoration: none; }
.eaah-filter-btn.active {
    background: #8b7355;
    border-color: #8b7355;
    color: #fff;
    font-weight: 600;
}
.eaah-filter-select {
    padding: 6px 32px 6px 12px;
    border: 1.5px solid #d5cfc3;
    border-radius: 20px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23999'/%3E%3C/svg%3E") no-repeat right 12px center;
    -webkit-appearance: none;
    font-size: 13px;
    color: #444;
    cursor: pointer;
}
.eaah-filter-select:focus { outline: none; border-color: #8b7355; }
.eaah-results-meta {
    margin-left: auto;
    font-size: 13px;
    color: #888;
    white-space: nowrap;
}
.eaah-clear-link {
    font-size: 12px;
    color: #999;
    text-decoration: underline;
    white-space: nowrap;
    margin-left: 4px;
}

/* ── Card grid ─────────────────────────────────────────────── */
.eaah-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}
.eaah-card {
    background: #fff;
    border: 1px solid #e8e4dc;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow .2s ease, transform .15s ease;
}
.eaah-card:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,.10);
    transform: translateY(-2px);
}
.eaah-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 20px 16px;
    border-bottom: 1px solid #f0ece4;
}
.eaah-card-logo {
    width: 72px;
    height: 48px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 4px;
    background: #f8f7f4;
    padding: 4px;
    border: 1px solid #eee;
}
.eaah-card-logo-placeholder {
    width: 72px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 4px;
    background: linear-gradient(135deg, #e8e4dc 0%, #d5cfc3 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}
.eaah-card-title-block { flex: 1; min-width: 0; }
.eaah-card-name {
    font-size: 17px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.eaah-card-meta {
    font-size: 13px;
    color: #777;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.eaah-card-meta span { display: flex; align-items: center; gap: 4px; }
.eaah-card-body { padding: 16px 20px; flex: 1; }
.eaah-card-desc {
    font-size: 14px;
    color: #555;
    line-height: 1.55;
    margin: 0 0 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.eaah-card-cats { display: flex; flex-wrap: wrap; gap: 6px; }
.eaah-cat-tag {
    display: inline-block;
    padding: 3px 10px;
    background: #f4f1ec;
    border: 1px solid #e0dbd1;
    border-radius: 20px;
    font-size: 12px;
    color: #5a4a35;
    font-weight: 500;
    text-decoration: none;
}
.eaah-cat-tag:hover { background: #8b7355; color: #fff; border-color: #8b7355; text-decoration: none; }
.eaah-card-footer {
    padding: 14px 20px;
    border-top: 1px solid #f0ece4;
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}
.eaah-lot-count {
    font-size: 12px;
    color: #999;
    margin-left: auto;
}

/* ── Buttons ───────────────────────────────────────────────── */
.eaah-btn {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all .15s ease;
    white-space: nowrap;
    line-height: 1.4;
}
.eaah-btn-primary {
    background: #8b7355;
    color: #fff;
    border: 2px solid #8b7355;
}
.eaah-btn-primary:hover { background: #6d5a41; border-color: #6d5a41; color: #fff; text-decoration: none; }
.eaah-btn-outline {
    background: transparent;
    color: #8b7355;
    border: 2px solid #d5cfc3;
}
.eaah-btn-outline:hover { border-color: #8b7355; text-decoration: none; }

/* ── No results ─────────────────────────────────────────────── */
.eaah-no-results {
    text-align: center;
    padding: 60px 20px;
    color: #888;
    font-size: 15px;
}

/* ── Single house page ──────────────────────────────────────── */
.eaah-single { max-width: 900px; margin: 0 auto; }
.eaah-single-hero {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    margin-bottom: 36px;
    padding: 28px;
    background: #fff;
    border: 1px solid #e8e4dc;
    border-radius: 12px;
}
.eaah-single-logo {
    width: 120px;
    height: 80px;
    object-fit: contain;
    flex-shrink: 0;
    background: #f8f7f4;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 8px;
}
.eaah-single-logo-placeholder {
    width: 120px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 8px;
    background: linear-gradient(135deg, #e8e4dc 0%, #c8bfb0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
}
.eaah-single-info { flex: 1; }
.eaah-single-name { font-size: 26px; font-weight: 700; color: #1a1a1a; margin: 0 0 8px; }
.eaah-single-meta { display: flex; gap: 18px; flex-wrap: wrap; font-size: 14px; color: #666; margin-bottom: 14px; }
.eaah-single-meta span { display: flex; align-items: center; gap: 5px; }
.eaah-single-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.eaah-single-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.eaah-consign-box {
    background: linear-gradient(135deg, #faf7f2 0%, #f4f0e8 100%);
    border: 1px solid #e0dbd1;
    border-radius: 12px;
    padding: 28px;
    margin: 28px 0;
    text-align: center;
}
.eaah-consign-box h3 { font-size: 18px; margin: 0 0 8px; color: #1a1a1a; }
.eaah-consign-box p { color: #666; margin: 0 0 18px; font-size: 14px; }
.eaah-consign-box .eaah-btn-primary {
    padding: 12px 28px;
    font-size: 15px;
}
.eaah-about-section { margin: 28px 0; }
.eaah-about-section h2 { font-size: 18px; font-weight: 700; color: #1a1a1a; margin-bottom: 12px; border-bottom: 2px solid #e8e4dc; padding-bottom: 8px; }
.eaah-about-section .entry-content,
.eaah-about-section p { font-size: 15px; color: #444; line-height: 1.7; }
.eaah-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 20px 0;
}
.eaah-detail-item {
    background: #f8f7f4;
    border: 1px solid #e8e4dc;
    border-radius: 8px;
    padding: 14px 16px;
}
.eaah-detail-item .label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; color: #999; margin-bottom: 4px; }
.eaah-detail-item .value { font-size: 15px; color: #222; font-weight: 500; }
.eaah-back-link { display: inline-block; font-size: 14px; color: #8b7355; text-decoration: none; margin-bottom: 20px; }
.eaah-back-link:hover { text-decoration: underline; }

@media (max-width: 640px) {
    .eaah-grid { grid-template-columns: 1fr; }
    .eaah-single-hero { flex-direction: column; }
    .eaah-details-grid { grid-template-columns: 1fr; }
    .eaah-filters { flex-direction: column; align-items: flex-start; }
}
