/* ============================================================
   Gallery (businesses/lh-banquets/gallery) — mobile-only styles.
   All rules scoped under .lh-gal-mb.
   ============================================================ */

.lh-gal-mb {
    background-color: #12203B;
    color: #fff;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    min-height: 100vh;
}

.lh-gal-mb h1,
.lh-gal-mb h2,
.lh-gal-mb h3 {
    font-family: 'Big Caslon', 'Times New Roman', serif;
    margin: 0;
}

.lh-gal-mb [hidden] { display: none !important; }

/* Page hero */
.lh-gal-mb .g-hero {
    text-align: center;
    padding: 26px 20px 12px;
}
.lh-gal-mb .g-hero h1 {
    font-size: 30px;
    margin-bottom: 6px;
}
.lh-gal-mb .g-hero p {
    font-size: 14px;
    opacity: .85;
    margin: 0 auto;
    max-width: 320px;
    line-height: 1.45;
}

/* Filter pills row */
.lh-gal-mb .filter-hint {
    font-size: 13px;
    text-align: center;
    opacity: .8;
    margin: 14px 14px 8px;
    font-weight: 500;
}
.lh-gal-mb .filter-row {
    display: flex;
    gap: 8px;
    padding: 0 14px 18px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.lh-gal-mb .filter-row::-webkit-scrollbar { display: none; }
.lh-gal-mb .filter-pill {
    flex-shrink: 0;
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,.4);
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
}
.lh-gal-mb .filter-pill.active {
    background: #284b65;
    border-color: #fff;
}

/* Gallery section */
.lh-gal-mb .gallery-section {
    padding: 0 14px 28px;
    scroll-margin-top: 12px;
}
.lh-gal-mb .gallery-section h2 {
    font-size: 22px;
    text-align: center;
    margin: 18px 0 6px;
}
.lh-gal-mb .cat-note {
    text-align: center;
    font-size: 12px;
    opacity: .65;
    margin: 0 0 14px;
    font-style: italic;
}
.lh-gal-mb .sub-header {
    font-size: 16px;
    text-align: center;
    margin: 18px 0 10px;
    opacity: .85;
}

/* Image grid */
.lh-gal-mb .img-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.lh-gal-mb .img-cell {
    margin: 0;
    cursor: zoom-in;
    background: rgba(255,255,255,.04);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.1);
}
.lh-gal-mb .img-cell img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}
.lh-gal-mb .gallery-section[data-cat="Chairs"] .img-cell img {
    object-position: center top;
}
.lh-gal-mb .img-cell figcaption {
    font-size: 11px;
    padding: 5px 6px;
    text-align: center;
    opacity: .85;
    line-height: 1.3;
}

/* Napkin example */
.lh-gal-mb .napkin-fold {
    display: block;
    width: 100%;
    max-width: 280px;
    margin: 0 auto 12px;
    border-radius: 8px;
}

/* Color swatches */
.lh-gal-mb .color-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}
.lh-gal-mb .swatch {
    text-align: center;
}
/* The CDN swatch PNGs are colored circles on a transparent / white
   square canvas. Rendering them with object-fit: cover at 1:1 leaves
   the circle visible inside the square. Instead we render the image
   as a centered background and scale it past the canvas so the solid
   color in the circle's middle fills the entire square frame. */
.lh-gal-mb .swatch-fill {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,.18);
    background-size: 180% auto;
    background-position: center;
    background-repeat: no-repeat;
    background-color: rgba(255,255,255,.04);
}
.lh-gal-mb .swatch span {
    display: block;
    font-size: 10px;
    opacity: .75;
    margin-top: 4px;
    line-height: 1.2;
}

/* Lightbox */
.lh-gal-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.92);
    z-index: 1050;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.lh-gal-lightbox.open { display: flex; }
.lh-gal-lightbox img {
    max-width: 100%;
    max-height: 100%;
    display: block;
    border-radius: 8px;
}
.lh-gal-lightbox .lb-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.4);
    color: #fff;
    width: 40px; height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lh-gal-lightbox .lb-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.4);
    color: #fff;
    width: 44px; height: 44px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}
.lh-gal-lightbox .lb-arrow:disabled { opacity: .25; cursor: not-allowed; }
.lh-gal-lightbox .lb-prev { left: 12px; }
.lh-gal-lightbox .lb-next { right: 12px; }
.lh-gal-lightbox .lb-counter {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,.75);
    font-size: 12px;
    letter-spacing: .15em;
    text-transform: uppercase;
}
