/* ═══════════════════════════════════════════
   Mall Directory — Single Shop Page
   ═══════════════════════════════════════════ */

.mall-single-shop {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

/* Gallery */
.mall-gallery {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 6px;
    margin-bottom: 30px;
    border-radius: var(--mall-radius);
    overflow: hidden;
}
.mall-gallery__item {
    overflow: hidden;
    background: #f0f0f0;
}
.mall-gallery__item:first-child {
    grid-row: 1 / 3;
}
.mall-gallery__item img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
    cursor: pointer;
}
.mall-gallery__item img:hover {
    transform: scale(1.03);
}
.mall-gallery__more {
    position: relative;
}
.mall-gallery__more-count {
    position: absolute;
    bottom: 8px; right: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 13px;
}

@media (max-width: 600px) {
    .mall-gallery {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }
    .mall-gallery__item:first-child {
        grid-column: 1 / 3;
        grid-row: auto;
    }
}

/* Details */
.mall-single-shop h1 {
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 20px;
    color: var(--mall-text);
}
.mall-single-shop__section {
    margin-bottom: 24px;
}
.mall-single-shop__section h2 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--mall-text);
}
.mall-single-shop__section p,
.mall-single-shop__section a {
    font-size: 15px;
    color: var(--mall-text-light);
    line-height: 1.6;
}
.mall-single-shop__section a {
    color: var(--mall-accent);
    text-decoration: none;
}
.mall-single-shop__section a:hover {
    text-decoration: underline;
}
.mall-single-shop hr {
    border: none;
    border-top: 1px solid var(--mall-border);
    margin: 20px 0;
}

/* Similar */
.mall-similar-title {
    font-size: 20px;
    font-weight: 700;
    margin: 30px 0 16px;
}

/* Lightbox */
.mall-lightbox {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.mall-lightbox img {
    max-width: 90%; max-height: 90%;
    object-fit: contain;
    border-radius: 4px;
}
.mall-lightbox__close {
    position: absolute;
    top: 20px; right: 20px;
    color: #fff;
    font-size: 32px;
    background: none;
    border: none;
    cursor: pointer;
}
