/* =========================================================
   ÓPTICA MIRA - SECCIONES FOTOS TIENDA
   CSS independiente para home, contacto y servicios
========================================================= */

.om-store-section,
.om-contact-store,
.om-service-photo-band {
    margin-top: 82px;
    margin-bottom: 82px;
}

.om-store-head {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(260px, .75fr);
    gap: 34px;
    align-items: end;
    margin-bottom: 32px;
}

.om-store-head h2,
.om-contact-store h2,
.om-service-photo-band h2 {
    margin: 10px 0 0;
    color: #3f2b1f;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2.2rem, 4vw, 4.1rem);
    line-height: .95;
    letter-spacing: -.045em;
}

.om-store-head p,
.om-contact-store p,
.om-service-photo-band p {
    margin: 0;
    color: #7a5a43;
    font-size: 1rem;
    line-height: 1.75;
}

.om-store-showcase {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(340px, .9fr);
    gap: 24px;
}

.om-store-feature-card {
    position: relative;
    min-height: 560px;
    overflow: hidden;
    border-radius: 34px;
    background: #fff8ec;
    border: 1px solid rgba(128, 91, 44, .18);
    box-shadow: 0 26px 70px rgba(77, 48, 24, .12);
}

.om-store-feature-card img {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    object-fit: cover;
    object-position: center;
    transform: scale(1.02);
}

.om-store-feature-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(63,43,31,.02) 0%, rgba(63,43,31,.10) 36%, rgba(63,43,31,.78) 100%);
}

.om-store-feature-card > div {
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 28px;
    z-index: 2;
    padding: 24px;
    border-radius: 26px;
    background: rgba(255, 248, 236, .92);
    border: 1px solid rgba(255, 255, 255, .52);
    backdrop-filter: blur(10px);
}

.om-store-feature-card span {
    display: inline-flex;
    margin-bottom: 9px;
    color: #c4922f;
    font-weight: 950;
    font-size: .72rem;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.om-store-feature-card h3 {
    margin: 0 0 10px;
    color: #3f2b1f;
    font-size: clamp(1.35rem, 2vw, 2rem);
    line-height: 1.08;
}

.om-store-feature-card p {
    margin: 0;
    color: #6d4b34;
    line-height: 1.58;
}

.om-store-mini-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.om-store-photo {
    position: relative;
    display: block;
    width: 100%;
    min-height: 270px;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(128, 91, 44, .18);
    border-radius: 30px;
    background: #f5ead8;
    box-shadow: 0 18px 45px rgba(77, 48, 24, .09);
    cursor: zoom-in;
}

.om-store-photo.wide {
    grid-column: span 2;
    min-height: 250px;
}

.om-store-photo img {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    object-fit: cover;
    object-position: center;
    transition: transform .45s ease, filter .45s ease;
}

.om-store-photo:hover img {
    transform: scale(1.06);
    filter: saturate(1.04) contrast(1.03);
}

.om-contact-store,
.om-service-photo-band {
    display: grid;
    grid-template-columns: minmax(280px, .72fr) minmax(0, 1fr);
    gap: 28px;
    align-items: center;
    padding: 28px;
    border-radius: 34px;
    border: 1px solid rgba(128, 91, 44, .18);
    background: linear-gradient(135deg, rgba(255,250,241,.98), rgba(245,234,216,.92));
    box-shadow: 0 24px 65px rgba(77, 48, 24, .10);
}

.om-contact-store-copy,
.om-service-photo-copy {
    padding: 12px 10px;
}

.om-contact-store .btn-primary {
    margin-top: 22px;
}

.om-contact-store-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.om-contact-store-images img,
.om-service-photo-img img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 28px;
    border: 1px solid rgba(128, 91, 44, .16);
    box-shadow: 0 18px 42px rgba(77, 48, 24, .10);
}

.om-contact-store-images img:first-child {
    object-position: center;
}

.om-contact-store-images img:last-child {
    transform: translateY(24px);
}

.om-service-photo-band {
    grid-template-columns: minmax(0, 1fr) minmax(280px, .75fr);
}

.om-service-photo-img img {
    height: 460px;
}

.om-store-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 22px;
    background: rgba(37, 23, 14, .82);
    backdrop-filter: blur(8px);
}

.om-store-lightbox.open {
    display: flex;
}

.om-store-lightbox img {
    max-width: min(1100px, 94vw);
    max-height: 88vh;
    object-fit: contain;
    border-radius: 24px;
    box-shadow: 0 30px 90px rgba(0,0,0,.45);
}

.om-store-lightbox button {
    position: absolute;
    top: 22px;
    right: 22px;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 999px;
    background: #fff8ec;
    color: #3f2b1f;
    font-size: 28px;
    cursor: pointer;
}

@media (max-width: 900px) {
    .om-store-head,
    .om-store-showcase,
    .om-contact-store,
    .om-service-photo-band {
        grid-template-columns: 1fr;
    }

    .om-store-feature-card {
        min-height: 480px;
    }

    .om-contact-store-images img,
    .om-service-photo-img img {
        height: 360px;
    }

    .om-contact-store-images img:last-child {
        transform: none;
    }
}

@media (max-width: 560px) {
    .om-store-section,
    .om-contact-store,
    .om-service-photo-band {
        margin-top: 52px;
        margin-bottom: 52px;
    }

    .om-store-head {
        gap: 14px;
        margin-bottom: 22px;
    }

    .om-store-head h2,
    .om-contact-store h2,
    .om-service-photo-band h2 {
        font-size: clamp(2rem, 10vw, 2.8rem);
    }

    .om-store-showcase {
        gap: 16px;
    }

    .om-store-feature-card {
        min-height: 430px;
        border-radius: 26px;
    }

    .om-store-feature-card > div {
        left: 16px;
        right: 16px;
        bottom: 16px;
        padding: 18px;
        border-radius: 22px;
    }

    .om-store-mini-grid,
    .om-contact-store-images {
        grid-template-columns: 1fr;
    }

    .om-store-photo,
    .om-store-photo.wide {
        grid-column: auto;
        min-height: 260px;
        border-radius: 24px;
    }

    .om-contact-store,
    .om-service-photo-band {
        padding: 18px;
        border-radius: 28px;
    }

    .om-contact-store-images img,
    .om-service-photo-img img {
        height: 300px;
        border-radius: 22px;
    }
}
