.lc-detail .lc-meta {
    color: var(--bs-secondary-color);
}

.lc-detail .breadcrumb {
    flex-wrap: nowrap;
}

.lc-detail .breadcrumb-item.active {
    max-width: 40ch;
    color: var(--bs-body-color);
}

.lc-mosaic {
    position: relative;
    display: grid;
    gap: 6px;
    height: 400px;
    border-radius: 0.75rem;
    overflow: hidden;
    grid-template-columns: 1fr;
}

.lc-mosaic-n1,
.lc-mosaic-n2 {
    grid-template-columns: 2fr 1fr;
    grid-template-rows: repeat(2, 1fr);
}

.lc-mosaic-n3 {
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: repeat(2, 1fr);
}

.lc-mosaic-n4 {
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: repeat(2, 1fr);
}

.lc-mosaic-cell {
    position: relative;
    padding: 0;
    border: 0;
    overflow: hidden;
    background: var(--bs-secondary-bg);
    cursor: pointer;
}

.lc-mosaic-cell img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.25s ease;
}

.lc-mosaic-cell:hover img {
    transform: scale(1.04);
}

.lc-mosaic-main {
    grid-row: 1 / span 2;
}

.lc-mosaic-n1 .lc-mosaic-side-1 {
    grid-row: 1 / span 2;
}

.lc-mosaic-n3 .lc-mosaic-side-3 {
    grid-column: 3;
    grid-row: 1 / span 2;
}

.lc-mosaic-more {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 27, 51, 0.55);
    color: #fff;
    font-weight: 600;
}

.lc-mosaic-count {
    position: absolute;
    left: 0.75rem;
    bottom: 0.75rem;
    z-index: 2;
}

.lc-gallery-empty {
    height: 400px;
    background: var(--bs-secondary-bg);
}

.lc-lightbox-img {
    max-width: 100%;
    max-height: 78vh;
    object-fit: contain;
}

.lc-service-banner {
    background: var(--bs-card-bg, #fff);
    border: 1px solid var(--bs-border-color-translucent);
    border-top: 4px solid var(--lc-red);
}

.lc-price {
    font-size: 1.9rem;
    font-weight: 700;
    line-height: 1.1;
}

.lc-sidebar {
    position: sticky;
    top: 1rem;
}

.lc-lister-photo {
    width: 64px;
    height: 64px;
    object-fit: cover;
    flex: 0 0 auto;
}

.lc-lister-initial {
    background: var(--lc-navy-soft);
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
}

.lc-facts dd {
    overflow-wrap: anywhere;
}

.lc-feature-list {
    columns: 2;
    padding-left: 1.2rem;
}

.lc-feature-list li {
    break-inside: avoid;
    margin-bottom: 0.35rem;
}

.lc-map {
    height: 320px;
    background: var(--bs-secondary-bg);
}

.lc-description p:last-child {
    margin-bottom: 0;
}

.lc-share {
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

@media (max-width: 575.98px) {
    .lc-feature-list {
        columns: 1;
    }

    .lc-price {
        font-size: 1.6rem;
    }
}

@media (max-width: 991.98px) {
    .lc-sidebar {
        position: static;
    }
}

.lc-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    grid-template-areas: "head side" "body side";
    grid-template-rows: auto 1fr;
    column-gap: 1.5rem;
}

.lc-area-head {
    grid-area: head;
}

.lc-area-side {
    grid-area: side;
}

.lc-area-body {
    grid-area: body;
}

@media (max-width: 991.98px) {
    .lc-detail-grid {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "head" "side" "body";
        grid-template-rows: auto;
    }
}

@media (max-width: 767.98px) {
    .lc-mosaic,
    .lc-gallery-empty {
        height: 260px;
    }

    .lc-mosaic-side {
        display: none;
    }

    .lc-mosaic-main {
        grid-column: 1 / -1;
    }
}

[data-bs-theme="dark"] .lc-lister-initial {
    background: var(--lc-red-dark);
}

.lc-service-option {
    background: var(--bs-tertiary-bg);
    border: 1px solid var(--bs-border-color-translucent);
}

.lc-richtext img {
    max-width: 100%;
    height: auto;
}

.lc-richtext table {
    width: 100%;
    margin-bottom: 1rem;
    border-collapse: collapse;
}

.lc-richtext th,
.lc-richtext td {
    border: 1px solid var(--bs-border-color);
    padding: 0.4rem 0.6rem;
}

.lc-richtext pre {
    padding: 0.75rem;
    border-radius: 0.5rem;
    background: var(--bs-secondary-bg);
    overflow-x: auto;
}

.lc-richtext code {
    padding: 0.1rem 0.3rem;
    border-radius: 0.25rem;
    background: var(--bs-secondary-bg);
    color: inherit;
}

.lc-richtext pre code {
    padding: 0;
    background: none;
}

.lc-richtext blockquote {
    margin: 0 0 1rem;
    padding-left: 1rem;
    border-left: 4px solid var(--bs-border-color);
}

.lc-richtext h1,
.lc-richtext h2,
.lc-richtext h3,
.lc-richtext h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 1rem 0 0.5rem;
}

.lc-richtext > :last-child {
    margin-bottom: 0;
}

.lc-side-card {
    background: var(--bs-card-bg, #fff);
    border: 1px solid var(--bs-border-color-translucent);
    border-radius: 0.75rem;
    overflow: hidden;
}

.lc-side-body {
    padding: 1.5rem;
}

.lc-side-eyebrow,
.lc-price-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--bs-secondary-color);
}

.lc-price-head {
    padding: 1.5rem 1.5rem 0;
}

.lc-price-value {
    margin-top: 0.35rem;
    font-size: 2.1rem;
    font-weight: 700;
    line-height: 1.15;
    color: var(--bs-body-color);
}

.lc-price-value small {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--bs-secondary-color);
}

.lc-lister-avatar-link {
    display: inline-block;
}

.lc-lister-avatar {
    width: 84px;
    height: 84px;
    object-fit: cover;
    font-size: 2rem;
}

.lc-lister-company {
    font-size: 0.85rem;
    color: var(--bs-secondary-color);
}

.lc-service-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    font-size: 0.75rem;
    text-decoration: none;
    border: 1px solid var(--bs-border-color);
    color: var(--bs-secondary-color) !important;
}

.lc-service-chip:hover {
    border-color: var(--lc-red);
    color: var(--lc-red) !important;
}

.lc-lister-phone {
    font-weight: 600;
    text-decoration: none;
}

.lc-lister-phone:hover {
    color: var(--lc-red);
}
