/* LUQ-002 (first reviewable delivery). New file: nothing here overrides shared styles.css bytes. */

/* #6 cart / summary thumbnail: 36px desktop, 32px mobile, same row as the text */
.luq-cart-item { display: flex; align-items: flex-start; gap: .5rem; }
.luq-cart-item__body { flex: 1 1 auto; min-width: 0; }
.luq-cart-item__title { margin: 0; overflow-wrap: anywhere; }
.luq-thumb { flex: 0 0 36px; width: 36px; height: 36px; border-radius: 6px; overflow: hidden; background: #eef3f7; display: inline-flex; align-items: center; justify-content: center; }
.luq-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.luq-thumb--empty { color: #36557f; font: 600 .9rem/1 Poppins, sans-serif; }
@media (max-width: 575.98px) { .luq-thumb { flex-basis: 32px; width: 32px; height: 32px; } }

.list--order .item__title { display: flex; align-items: center; gap: .5rem; }
.luq-summary-line { display: inline-flex; align-items: center; gap: .5rem; min-width: 0; }
.luq-thumb img { max-width: none; }

/* #5 photo zoom overlay */
.luq-zoom { position: fixed; inset: 0; z-index: 2000; background: rgba(8, 20, 40, .88); display: flex; align-items: center; justify-content: center; padding: 1rem; }
.luq-zoom__img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; }
.luq-zoom__close { position: absolute; top: .5rem; right: .5rem; min-width: 44px; min-height: 44px; border: 0; border-radius: 22px; background: #fff; color: #0b2545; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.luq-zoom__close:focus-visible { outline: 3px solid #2ec4b6; outline-offset: 2px; }
body.luq-zoom-open { overflow: hidden; }

/* #8 payment options: compact, no inner scroll hiding cash */
.luq-pay-options { max-height: none; overflow: visible; display: grid; gap: .5rem; }
.luq-pay-options .form-check { margin: 0; }
.luq-pay-options .radiobutton-label { min-height: 44px; }

/* #3 navigation: 4 columns on desktop, 2 on mobile, bounded banners */
.luq-store-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
@media (min-width: 768px) { .luq-store-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 992px) { .luq-store-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.luq-store-grid__full { grid-column: 1 / -1; }
.luq-store-grid .luq-store-card { min-width: 0; display: block; color: inherit; text-decoration: none; }
.luq-store-grid .luq-store-card:focus-visible { outline: 3px solid #0e9fb0; outline-offset: 2px; }
.luq-store-grid .stores--item { margin-bottom: 0; height: 100%; overflow: hidden; }
.luq-store-grid .luq-store-card__banner { height: auto; aspect-ratio: 16 / 7; overflow: hidden; border-radius: 6px 6px 0 0; }
.luq-store-grid .luq-store-card__banner .stores--item__banner_slide { height: 100%; width: 100%; }
.luq-store-grid .luq-store-card__banner .stores--item__banner_img { width: 100%; height: 100%; object-fit: cover; display: block; }
.luq-store-grid .stores--item .info { min-width: 0; }
.luq-store-grid .stores--item .info h3 { overflow-wrap: anywhere; margin: 0 0 .25rem; }
.luq-store-grid .stores--item .info .detail { flex-wrap: wrap; row-gap: .25rem; }
.luq-store-grid .stores--item .info .calendar { padding-left: .5rem; }
.luq-store-grid .stores--item__logo { width: 40px; height: 40px; bottom: 70px; }

/* #2 home hero: two columns on desktop (text + search + location left, original banner right at the block height);
   on mobile the search and location come first and the banner never pushes them down. */
/* nav.header is position:fixed (out of flow), so the hero must clear it itself: header = 52px logo + 2*14px padding
   + 1px border (+ 1rem col mb-3 below md). The previous 1.25rem overrode Bootstrap's pt-5 and hid the heading. */
.banner.luq-hero-section { --luq-header-h: calc(81px + 1rem); padding-top: calc(var(--luq-header-h) + 1rem); padding-bottom: .5rem; }
@media (min-width: 768px) {
    .banner.luq-hero-section { --luq-header-h: 81px; padding-top: calc(var(--luq-header-h) + 1.25rem); }
}
.luq-hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: .75rem 1.5rem; align-items: stretch; }
.luq-hero__text { order: 1; min-width: 0; }
.luq-hero__image { order: 2; display: none; min-height: 0; }
.luq-hero__image img { width: 100%; height: 100%; max-height: 240px; object-fit: contain; display: block; }
.luq-hero button, .luq-hero input { min-height: 44px; }
.luq-hero .title { margin-top: 0; }
@media (min-width: 768px) {
    .luq-hero { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
    .luq-hero__image { display: block; position: relative; }
    .luq-hero__image img { position: absolute; inset: 0; }
}
.luq-location { display: flex; flex-wrap: wrap; gap: .5rem .75rem; align-items: center; margin-top: .75rem; }
.luq-location button { border: 1px solid #1fb8a6; background: #fff; color: #0b2545; border-radius: 22px; padding: 0 1rem; cursor: pointer; font: 500 .9rem Poppins, sans-serif; }
.luq-location__use { background: #1fb8a6 !important; color: #fff !important; }
.luq-location__status { flex: 1 0 100%; margin: 0; font-size: .85rem; color: #36557f; min-height: 1.1em; }
.luq-location [hidden] { display: none !important; }
.luq-location > div { flex: 1 0 100%; }
.luq-location input { width: 100%; border: 1px solid #c7d3e0; border-radius: 8px; padding: 0 .75rem; }

.luq-home-store-link { display: block; color: inherit; text-decoration: none; }
.luq-home-store-link:focus-visible { outline: 3px solid #0e9fb0; outline-offset: 2px; }
