/* 2. El İlanlar — Adenkoop */
.cl-wrap { padding: 1.5rem 0 3rem; }
.cl-hero {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}
.cl-hero h1 {
    margin: 0;
    color: var(--navy);
    font-size: 1.75rem;
}
.cl-hero p {
    margin: 0.35rem 0 0;
    color: var(--muted);
    max-width: 40rem;
}
.cl-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
}
.cl-filters {
    background: #fff;
    border: 1px solid rgba(30, 107, 138, 0.14);
    border-radius: 14px;
    padding: 1rem;
    border-top: 3px solid var(--gold);
    position: sticky;
    top: 1rem;
}
.cl-filters h3 {
    margin: 0 0 0.85rem;
    color: var(--navy);
    font-size: 1rem;
}
.cl-filters .form-group { margin-bottom: 0.75rem; }
.cl-filters label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--muted);
    margin-bottom: 0.25rem;
}
.cl-filters input,
.cl-filters select {
    width: 100%;
    border: 1px solid rgba(12, 35, 64, 0.14);
    border-radius: 8px;
    padding: 0.45rem 0.6rem;
    font-size: 0.9rem;
}
.cl-filters-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem;
}
.cl-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
    flex-wrap: wrap;
}
.cl-toolbar .muted { font-size: 0.88rem; }
.cl-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}
.cl-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(30, 107, 138, 0.12);
    text-decoration: none;
    color: inherit;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    box-shadow: 0 4px 14px rgba(12, 35, 64, 0.05);
}
.cl-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(12, 35, 64, 0.1);
    color: inherit;
}
.cl-card-photo {
    aspect-ratio: 4 / 3;
    background: #e8eef3;
    overflow: hidden;
}
.cl-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.cl-card-body { padding: 0.85rem 0.95rem 1rem; }
.cl-card-price {
    color: var(--navy);
    font-weight: 800;
    font-size: 1.05rem;
    margin: 0 0 0.25rem;
}
.cl-card-title {
    margin: 0 0 0.35rem;
    font-size: 0.95rem;
    line-height: 1.35;
    color: var(--navy);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.cl-card-meta {
    font-size: 0.78rem;
    color: var(--muted);
}
.cl-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2.5rem 1rem;
    background: #fff;
    border-radius: 14px;
    color: var(--muted);
}

/* Detail */
.cl-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
    gap: 1.25rem;
    align-items: start;
}
.cl-gallery {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(30, 107, 138, 0.12);
}
.cl-gallery-main {
    aspect-ratio: 16 / 10;
    background: #e8eef3;
}
.cl-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.cl-thumbs {
    display: flex;
    gap: 0.45rem;
    padding: 0.65rem;
    overflow-x: auto;
}
.cl-thumbs button {
    border: 2px solid transparent;
    padding: 0;
    border-radius: 8px;
    overflow: hidden;
    width: 72px;
    height: 54px;
    cursor: pointer;
    background: #ddd;
}
.cl-thumbs button.is-active { border-color: var(--gold); }
.cl-thumbs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.cl-panel {
    background: #fff;
    border-radius: 14px;
    border: 1px solid rgba(30, 107, 138, 0.12);
    border-top: 3px solid var(--gold);
    padding: 1.15rem;
}
.cl-panel h1 {
    margin: 0 0 0.35rem;
    color: var(--navy);
    font-size: 1.45rem;
}
.cl-price-lg {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--navy);
    margin: 0.5rem 0;
}
.cl-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
    margin: 1rem 0;
}
.cl-spec {
    background: var(--foam);
    border-radius: 10px;
    padding: 0.55rem 0.7rem;
}
.cl-spec span {
    display: block;
    font-size: 0.7rem;
    color: var(--muted);
    font-weight: 700;
    text-transform: uppercase;
}
.cl-spec strong {
    color: var(--navy);
    font-size: 0.9rem;
}
.cl-desc {
    margin-top: 1rem;
    white-space: pre-wrap;
    color: #334155;
    line-height: 1.55;
}
.cl-contact-box {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(12, 35, 64, 0.08);
}
.cl-contact-box .phone {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--sea);
}
.cl-lock {
    background: #f8fafc;
    border-radius: 10px;
    padding: 0.85rem;
    font-size: 0.9rem;
    color: var(--muted);
}
.cl-msg-form textarea {
    width: 100%;
    min-height: 90px;
    border-radius: 10px;
    border: 1px solid rgba(12, 35, 64, 0.14);
    padding: 0.65rem;
    margin: 0.5rem 0;
}
.cl-badge {
    display: inline-block;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    background: rgba(30, 107, 138, 0.1);
    color: var(--sea);
}
.cl-badge-pending { background: #fff7ed; color: #c2410c; }
.cl-badge-active { background: #ecfdf5; color: #047857; }
.cl-badge-rejected { background: #fef2f2; color: #b91c1c; }
.cl-badge-sold, .cl-badge-archived { background: #f1f5f9; color: #475569; }

@media (max-width: 960px) {
    .cl-layout { grid-template-columns: 1fr; }
    .cl-filters { position: static; }
    .cl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cl-detail-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .cl-grid { grid-template-columns: 1fr; }
}
