/* ===== LISTING DETAIL STYLES ===== */

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 20px 0;
    font-size: 0.9rem;
    color: var(--text-medium);
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--text-medium);
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb i {
    font-size: 0.7rem;
    margin: 0 10px;
    color: var(--text-light);
}

.breadcrumb span {
    color: var(--text-dark);
    font-weight: 500;
}

/* Listing Detail Container */
.listing-detail-section {
    padding: 20px 0 60px;
}

.listing-detail-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.listing-gallery {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
}

.listing-main-info {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
}

.listing-contact {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
}

/* Listing Gallery */
.listing-gallery {
    margin-bottom: 30px;
}

.gallery-main {
    position: relative;
    height: 400px;
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 10px;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-dark);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.gallery-nav.prev {
    left: 15px;
}

.gallery-nav.next {
    right: 15px;
}

.gallery-nav:hover {
    background-color: white;
    color: var(--primary-color);
}

.gallery-thumbnails {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.thumbnail {
    width: 80px;
    height: 60px;
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.thumbnail.active {
    opacity: 1;
    border: 2px solid var(--primary-color);
}

.thumbnail:hover {
    opacity: 1;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}