/* 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; }

/* #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 2rem; align-items: stretch; }
.luq-hero__text { order: 1; min-width: 0; }
.luq-hero__carousel { order: 2; min-width: 0; }
.luq-hero button, .luq-hero input { min-height: 44px; }
.luq-hero .title { margin-top: 0; }
/* desktop: fluid 45% / 55% columns (text + search left, banner carousel right up to the container edge); below 992px it stacks so the search is never pushed down */
@media (min-width: 992px) {
    .luq-hero { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: .75rem 2rem; align-items: center; }
}
.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: #0a7066 !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; }

/* ---- 30/10 UX redesign (brand: Poppins / navy #0b2545 / turquoise #1fb8a6; AA contrast; 4/8px scale) ---- */
:root { --luq-navy: #0b2545; --luq-text: #1b2b41; --luq-muted: #4a5d78; --luq-line: #d5deea; --luq-accent: #0a7066; --luq-surface: #f5f8fb; }
@media (prefers-reduced-motion: reduce) { .luq-send-to__btn, .luq-link-action, .luq-store-card, .luq-store-card * { transition: none !important; } }

/* hero: the search is proportional to the title and has a visible border; no location buttons here */
.luq-hero .title { color: var(--luq-navy); font-size: 2rem; line-height: 1.2; font-weight: 600; }
.luq-hero .txt { color: var(--luq-muted); font-size: 1rem; max-width: 60ch; }
.luq-hero__search { max-width: 430px; padding-left: 0; }
.luq-hero__search .search { border: 1px solid #8fa3bd; border-radius: 12px; background: #fff; box-shadow: 0 1px 2px rgba(11, 37, 69, .06), 0 4px 12px rgba(11, 37, 69, .06); }
.luq-hero__search .search:focus-within { border-color: var(--luq-accent); box-shadow: 0 0 0 3px rgba(31, 184, 166, .25); }
@media (max-width: 767.98px) { .luq-hero .title { font-size: 1.5rem; } .luq-hero__search { max-width: none; } }

/* header: "Enviar a" next to the logo, account with right margin */
.luq-header-brand { display: flex; align-items: center; gap: 1rem; min-width: 0; }
.luq-send-to { position: relative; min-width: 0; }
.luq-send-to__btn { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .25rem .75rem; border: 1px solid transparent; border-radius: 8px; background: transparent; color: var(--luq-navy); cursor: pointer; text-align: left; transition: border-color .2s ease-out, background-color .2s ease-out; max-width: 100%; }
.luq-send-to__btn:hover { border-color: var(--luq-line); background: var(--luq-surface); }
.luq-send-to__btn:focus-visible, .luq-link-action:focus-visible, .luq-send-to__address:focus-visible { outline: 3px solid #0e9fb0; outline-offset: 2px; }
.luq-send-to__text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.luq-send-to__hint { font-size: .75rem; color: var(--luq-muted); }
.luq-send-to__text strong { font-size: .875rem; font-weight: 600; max-width: 14ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.luq-send-to__panel { position: absolute; top: calc(100% + 8px); left: 0; z-index: 1050; width: 320px; max-width: calc(100vw - 16px); padding: 16px; background: #fff; border: 1px solid var(--luq-line); border-radius: 12px; box-shadow: 0 2px 4px rgba(11, 37, 69, .06), 0 12px 32px rgba(11, 37, 69, .12); }
.luq-send-to__panel[hidden] { display: none; }
.luq-send-to__status { margin: 4px 0 8px; min-height: 1.1em; font-size: .8125rem; color: var(--luq-muted); }
.luq-send-to__heading { display: block; margin: 12px 0 4px; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--luq-muted); }
.luq-send-to__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.luq-send-to__address { width: 100%; min-height: 44px; display: flex; flex-direction: column; align-items: flex-start; padding: 4px 12px; border: 1px solid var(--luq-line); border-radius: 8px; background: #fff; color: var(--luq-text); cursor: pointer; text-align: left; transition: border-color .2s ease-out; }
.luq-send-to__address:hover { border-color: var(--luq-accent); }
.luq-send-to__address span { font-size: .8125rem; color: var(--luq-muted); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.luq-send-to__manual input { width: 100%; min-height: 44px; border: 1px solid #8fa3bd; border-radius: 8px; padding: 0 12px; }
@media (max-width: 575.98px) { .luq-header-brand { gap: .25rem; } .luq-header-brand .luq-send-to__text { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; } .luq-header-brand .luq-send-to__btn { min-width: 44px; justify-content: center; padding: 0 8px; } .luq-send-to__panel { position: fixed; left: 8px; right: 8px; top: 72px; width: auto; max-width: none; } }

.luq-guest-note { display: inline-flex; align-items: center; min-height: 44px; margin-right: 8px; font-size: .875rem; color: var(--luq-muted); }
.luq-account { position: relative; display: inline-block; margin-right: 8px; }
.luq-account__trigger { display: inline-flex; align-items: center; min-height: 44px; cursor: pointer; text-decoration: none; }
.luq-account__text { display: flex; flex-direction: column; line-height: 1.15; }
.luq-account__text small { font-size: .75rem; color: var(--luq-muted); }
.luq-account__text strong { font-size: .875rem; color: var(--luq-navy); font-weight: 600; }
.luq-account .luq-account__menu { right: 0; left: auto; min-width: 200px; max-width: calc(100vw - 16px); margin-top: 8px; border: 1px solid var(--luq-line); border-radius: 12px; box-shadow: 0 2px 4px rgba(11, 37, 69, .06), 0 12px 32px rgba(11, 37, 69, .12); }
.luq-account__menu .dropdown-item { min-height: 44px; display: flex; align-items: center; color: var(--luq-text); }

/* shared action styles: one dominant CTA per screen, the rest soft links */
.luq-link-action { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: var(--luq-accent); font: 600 .875rem Poppins, sans-serif; cursor: pointer; text-decoration: none; transition: background-color .2s ease-out, border-color .2s ease-out; }
.luq-link-action:hover { background: rgba(31, 184, 166, .1); border-color: rgba(31, 184, 166, .35); }
.luq-link-action:disabled { opacity: .55; cursor: not-allowed; }
.luq-actions { display: flex; gap: 8px; align-items: stretch; }
.luq-actions > * { flex: 1 1 0; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.luq-empty { padding: 32px 16px; text-align: center; border: 1px dashed var(--luq-line); border-radius: 12px; background: var(--luq-surface); }
.luq-empty__title { margin: 0 0 4px; font-weight: 600; color: var(--luq-navy); }
.luq-empty__text { margin: 0 auto 8px; max-width: 60ch; color: var(--luq-muted); }

/* store card: commerce banner only, compact, one status line */
.luq-store-card .luq-store-card__banner { position: relative; height: clamp(100px, 9vw, 140px); aspect-ratio: auto; overflow: hidden; background: var(--luq-surface); border-radius: 8px 8px 0 0; }
.luq-store-grid .luq-store-card__banner { aspect-ratio: auto; height: clamp(100px, 9vw, 140px); }
.luq-store-card__placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font: 600 2rem Poppins, sans-serif; color: var(--luq-muted); }
.luq-store-card .stores--item { transition: transform .2s ease-out, box-shadow .2s ease-out; }
.luq-store-card:hover .stores--item { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(11, 37, 69, .06), 0 8px 20px rgba(11, 37, 69, .1); }
.luq-store-card .info { padding-top: 24px; }
.luq-store-card .info h3.luq-store-card__name { margin: 0 0 4px; font-size: 1rem; font-weight: 600 !important; color: var(--luq-navy); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.luq-store-card__status { margin: 0; font-size: .8125rem; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--luq-muted); }
.luq-store-card__state { display: inline-block; padding: 0 8px; border-radius: 999px; font-weight: 600; }
.luq-store-card[data-state="open"] .luq-store-card__state { background: #e3f5ea; color: #0b6b3a; }
.luq-store-card[data-state="closed"] .luq-store-card__state { background: #fdeaea; color: #9a1b1b; }
.luq-home-card { min-width: 0; }
@media (max-width: 575.98px) { .luq-store-card__status { font-size: .75rem; overflow: visible; text-overflow: clip; } .luq-store-card__state { padding: 0 6px; } }

/* purchase-flow header: commerce identity (never the Luqueame brand), long names clamp and never push account/cart */
.luq-merchant { display: flex; align-items: center; gap: 8px; min-width: 0; min-height: 44px; color: var(--luq-navy); }
.luq-merchant__logo { flex: 0 0 32px; width: 32px; height: 32px; border-radius: 8px; object-fit: cover; background: var(--luq-surface); border: 1px solid var(--luq-line); }
.luq-merchant__name { min-width: 0; font-size: 1rem; font-weight: 600; line-height: 1.2; color: var(--luq-navy); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.header--checkout .luq-account__text strong { color: var(--luq-navy); }
.header--checkout ul { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin: 0; padding: 0; list-style: none; }
.luq-search-row { display: flex; align-items: center; gap: 8px; }
.luq-search-row form { flex: 1 1 auto; min-width: 0; }
.luq-send-to__btn--shop { flex: 0 0 auto; }

/* compact return row: one line, no big vertical margins */
.luq-crumbs { display: flex; align-items: center; gap: 4px; min-height: 44px; margin: 0; padding: 0; font-size: .875rem; color: var(--luq-muted); white-space: nowrap; overflow: hidden; }
.luq-crumbs__back { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 8px 0 0; color: var(--luq-accent); font-weight: 500; text-decoration: none; }
.luq-crumbs__back:hover { text-decoration: underline; }
.luq-crumbs__back:focus-visible, .luq-crumbs__name:focus-visible { outline: 3px solid #0e9fb0; outline-offset: 2px; }
.luq-crumbs__name { min-width: 0; overflow: hidden; text-overflow: ellipsis; font-weight: 400; color: var(--luq-muted); text-decoration: none; }
.luq-crumbs__sep { color: var(--luq-line); }
.catalogue > .container-fluid > .row:first-child, .checkout > .container > .row:first-child { margin-bottom: 0; }

/* commerce summary: identity first, branch secondary, no customer address or distance */
.luq-shop-title { margin: 0 0 4px; font-size: 1.5rem; line-height: 1.25; font-weight: 600; color: var(--luq-navy); overflow-wrap: anywhere; }
.luq-shop-branch { margin: 0 0 8px; font-size: .875rem; color: var(--luq-muted); }

/* checkout: secondary actions are soft links, one dominant CTA (Realizar pedido) */
.luq-actions-row { display: flex; flex-wrap: nowrap; align-items: stretch; gap: 8px; }
.luq-actions-row > * { flex: 1 1 0; min-width: 0; }
.luq-actions-row .luq-link-action { width: 100%; justify-content: center; text-align: center; padding: 4px 8px; line-height: 1.2; }
.luq-actions-row [hidden] { display: none; }
.luq-link-action--soft { background: rgba(31, 184, 166, .1); border-color: rgba(31, 184, 166, .35); }
.luq-link-action--soft:hover { background: rgba(31, 184, 166, .18); }
.radiobutton-label .text.luq-line { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1 1 auto; }
.radiobutton-label .luq-choose { flex: 0 0 auto; }
.luq-badge { flex: 0 0 auto; display: inline-block; padding: 0 8px; border-radius: 999px; font-size: .75rem; font-weight: 600; line-height: 1.5; }
.luq-badge--closed { background: #fdeaea; color: #9a1b1b; }
.luq-badge--open { background: #e3f5ea; color: #0b6b3a; }

/* paired confirm buttons: same height and width, stable row, touch size */
.luq-actions--pair { justify-content: flex-end; }
.luq-pair-btn { flex: 1 1 0; max-width: 160px; min-height: 44px; padding: 0 16px; border-radius: 8px; border: 1px solid transparent; font: 600 .9375rem Poppins, sans-serif; cursor: pointer; transition: background-color .2s ease-out, border-color .2s ease-out; }
.luq-pair-btn--soft { background: #fff; border-color: var(--luq-line); color: var(--luq-navy); }
.luq-pair-btn--soft:hover { background: var(--luq-surface); }
.luq-pair-btn--primary { background: var(--luq-navy); color: #fff; }
.luq-pair-btn--primary:hover { background: #12356a; }
.luq-pair-btn:focus-visible { outline: 3px solid #0e9fb0; outline-offset: 2px; }

/* browse header at narrow widths: the search row shrinks instead of pushing the filter button past the viewport (QA @320) */
.luq-search-row__main { flex: 1 1 0; min-width: 0; margin-left: 0; margin-right: 0; flex-wrap: nowrap; }
.luq-search-row__main > .search { flex: 1 1 auto; min-width: 0; max-width: none; width: auto; }
.luq-search-row__main > .col-2 { flex: 0 0 44px; max-width: 44px; width: 44px; padding: 0 0 0 4px; }
.luq-search-row__main .button--primary { width: 44px !important; height: 44px !important; padding: 0; }

/* AA contrast on the four redesigned pages (measured in browser QA 30/10): legacy white-on-turquoise, grey-on-grey and light-on-navy pairs */
body .btn-outline-primary { color: #4a5d78; }
body .btn-outline-primary:hover { color: #0b2545; }
body .btn-outline-primary.active, body .btn-check:checked + .btn-outline-primary, body .btn-check2:checked + .btn-outline-primary,
body .btn-check:active + .btn-outline-primary, body .force-active { color: #0b2545 !important; background-color: #1bd5ea !important; }
body .button--primary { background-color: #2b6cb0; }
body .button--primary:hover { background-color: #1f5a96; }
body .tab .nav-link.active, body .nav-tabs .nav-link.active { color: #0b2545; }
body .checkout--summary__info .title { color: var(--luq-navy); }
#luq_finish_notice #luq_finish_hint { color: #5c4400 !important; }
label[for="terms_conditions"] a { color: #1d5fa8; text-decoration: underline; }
.catalogue--info .detail .open p { color: #0f6a3c; font-weight: 600; }
.catalogue--info .detail .close p { color: #b42318; font-weight: 600; }
.catalogue--info .detail .calendar p, .catalogue--info .options .item p { color: var(--luq-muted); }
body .catalogue .btn-group .btn-outline-primary { color: #4a5d78; }
body .catalogue .btn-group .btn-check:checked + .btn-outline-primary, body .catalogue .btn-group .btn-outline-primary.active { color: #0b2545 !important; }
body .cartBtn.btn-success, body .floatcart .cartBtn { background-color: #c43d1a !important; border-color: #c43d1a !important; }
body h4.title, body .accordion-body h4.title { color: var(--luq-navy) !important; }
body .btn.btn-outline-primary.label_ { color: #3a4d68; }

/* browse filters: vertical list of visible checkboxes (scoped to #luq_filters_form; product categories untouched) */
#luq_filters_form .luq-check-list { display: flex; flex-direction: column; width: 100%; padding: 0 12px; }
#luq_filters_form .luq-check-list__item { display: flex; align-items: center; min-height: 44px; }
#luq_filters_form .luq-check-list__item[hidden] { display: none; }
#luq_filters_form .luq-check-list__input { flex: 0 0 20px; width: 20px; height: 20px; margin: 0 12px 0 0; accent-color: #0b2545; cursor: pointer; }
#luq_filters_form .luq-check-list__label { flex: 1 1 auto; min-width: 0; margin: 0; padding: 10px 0; font-size: .875rem; line-height: 1.3; color: var(--luq-navy); cursor: pointer; overflow-wrap: anywhere; }
#luq_filters_form .luq-check-list__input:focus-visible { outline: 3px solid #0e9fb0; outline-offset: 2px; }
#luq_filters_form .luq-check-list__input:checked + .luq-check-list__label { font-weight: 600; }
#luq_filters_form #luq_more_categories { width: auto; max-width: calc(100% - 12px); margin: 4px 0 0 12px; }

/* checkout summary contact: long names/e-mails wrap inside the panel instead of being cut (QA 30/10) */
.checkout--summary__user { flex-wrap: wrap; row-gap: 2px; }
.checkout--summary__user br { display: none; }
.checkout--summary__user p { min-width: 0; max-width: calc(100% - 52px); overflow-wrap: anywhere; font-size: 14px; }
.checkout--summary__user p:first-of-type { font-size: 16px; }
@media (max-width: 359.98px) { .luq-store-grid { grid-template-columns: minmax(0, 1fr); } }
.header .luq-merchant__logo { height: 32px; width: 32px; max-height: 32px; }

/* AA: legacy turquoise text links (1.79:1 on white) keep the arrow/icon but use the accessible accent for the text */
body .stores--link .link, body .stores--link .link p { color: var(--luq-accent); font-weight: 500; }
body .stores--link .link:hover p { text-decoration: underline; }

/* store card status+hours: one readable line; below 480px (and 992-1199px next to the filters) fewer, wider columns so the hours are never clipped */
@media (max-width: 479.98px) { .luq-store-grid { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 992px) and (max-width: 1199.98px) { .luq-store-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 479.98px) { .luq-home-card { flex: 0 0 100%; max-width: 100%; } }

/* commerce page, <992px: the legacy mobile category/search strip is pulled up over the row above it; keep "Enviar a" clear of it */
@media (max-width: 991.98px) { .header--checkout .luq-search-row { margin-bottom: 28px; } }

/* store cards are links: no underline from Bootstrap 5 link styles on the name/status text */
.luq-store-card, .luq-store-card:hover, .luq-store-card * { text-decoration: none; }

/* account trigger on very narrow screens: never wrap the greeting into three lines */
.luq-account__text { white-space: nowrap; }
@media (max-width: 359.98px) { .luq-account__text small { display: none; } }
@media (max-width: 359.98px) { .luq-account__text { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); } .luq-account__trigger { min-width: 44px; justify-content: center; } }

/* LUQ-002 home header (<576px): the brand column is half the row, so the logo shrinks (aspect kept) instead of pushing
   the 44px location button under the account column. */
@media (max-width: 575.98px) {
    .luq-header-brand > a { flex: 0 1 auto; min-width: 0; display: block; }
    .luq-header-brand > a img { height: auto; max-height: 52px; width: auto; max-width: 100%; object-fit: contain; }
    .luq-header-brand .luq-send-to { flex: 0 0 44px; }
    .luq-header-brand .luq-send-to__btn { width: 44px; min-width: 44px; }
}

/* LUQ-002 fiscal document tiles (selectable like the address cards; real radios, keyboard operable) */
.luq-muted { color: var(--luq-muted); }
.luq-doc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.luq-doc-tile { position: relative; display: flex; align-items: center; gap: 8px; min-height: 56px; margin: 0; padding: 8px 40px 8px 12px; border: 1px solid var(--luq-line); border-radius: 12px; background: #fff; color: var(--luq-text); cursor: pointer; transition: border-color .2s ease-out, background-color .2s ease-out, box-shadow .2s ease-out; }
.luq-doc-tile:hover { border-color: var(--luq-accent); }
.luq-doc-radio { position: absolute; opacity: 0; width: 100%; height: 100%; inset: 0; margin: 0; cursor: pointer; }
.luq-doc-text { display: flex; flex-direction: column; min-width: 0; }
.luq-doc-title { font-size: .875rem; font-weight: 600; color: var(--luq-navy); }
.luq-doc-hint { font-size: .75rem; color: var(--luq-muted); }
.luq-doc-check { position: absolute; right: 12px; top: 50%; margin-top: -10px; color: #fff; background: transparent; border-radius: 50%; opacity: 0; transition: opacity .2s ease-out; }
.luq-doc-tile:has(.luq-doc-radio:checked) { border-color: var(--luq-accent); background: #eef8f6; box-shadow: 0 1px 2px rgba(11, 37, 69, .06); }
.luq-doc-tile:has(.luq-doc-radio:checked) .luq-doc-check { opacity: 1; background: var(--luq-accent); }
.luq-doc-tile:has(.luq-doc-radio:focus-visible) { outline: 3px solid #0e9fb0; outline-offset: 2px; }
.luq-fixed-doc { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border: 1px solid var(--luq-line); border-radius: 8px; background: var(--luq-surface); color: var(--luq-navy); font-weight: 600; }
@media (max-width: 359px) { .luq-doc-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .luq-doc-tile, .luq-doc-check { transition: none; } }

/* Cart row trash button: 44px target without growing the row */
.luq-cart-remove { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin: -8px -8px -8px 0; padding: 0; border: 0; border-radius: 8px; background: transparent; color: var(--luq-muted); cursor: pointer; transition: color .2s ease-out, background-color .2s ease-out; }
.luq-cart-remove:hover { color: #b42318; background: #fdf1f0; }
.luq-cart-remove:focus-visible { outline: 3px solid #0e9fb0; outline-offset: 1px; }
.luq-cart-remove:disabled { opacity: .5; cursor: default; }
@media (prefers-reduced-motion: reduce) { .luq-cart-remove { transition: none; } }

/* #9 home banner carousel (03/11 campaigns, 2020x778 WebP). Mobile/tablet: picture (ratio 2.6:1) with the HTML copy and the controls BELOW it, in flow.
   Desktop >=992px: height clamp(260px, 20vw, 360px), copy overlaid on the picture's empty left third, controls on the bottom edge. */
.luq-carousel { position: relative; display: flex; flex-wrap: wrap; align-items: center; border: 1px solid var(--luq-line); border-radius: 16px; background: #fff; overflow: hidden; box-shadow: 0 1px 2px rgba(11, 37, 69, .06), 0 8px 24px rgba(11, 37, 69, .08); }
.luq-carousel__viewport { order: 1; flex: 0 0 100%; display: grid; min-width: 0; }
.luq-carousel__slide { grid-area: 1 / 1; margin: 0; display: flex; flex-direction: column; min-width: 0; opacity: 0; visibility: hidden; transition: opacity .2s ease-out, visibility .2s ease-out; }
.luq-carousel__slide.is-active { opacity: 1; visibility: visible; }
.luq-carousel__slide img { display: block; width: 100%; max-width: none; height: auto; aspect-ratio: 2020 / 778; object-fit: cover; object-position: right center; }
.luq-carousel__caption { display: flex; flex-direction: column; gap: 2px; padding: 12px 16px 4px; background: #fff; min-width: 0; }
.luq-carousel__eyebrow { font-size: .8125rem; line-height: 1.25; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--luq-accent); }
.luq-carousel__caption strong { font-size: 1.125rem; line-height: 1.25; font-weight: 600; color: var(--luq-navy); overflow-wrap: anywhere; }
.luq-carousel__text { display: none; font-size: .875rem; line-height: 1.5; color: var(--luq-muted); overflow-wrap: anywhere; }
.luq-carousel__nav { order: 3; position: static; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin: 4px 8px 4px 0; padding: 0; border: 1px solid var(--luq-line); border-radius: 50%; background: #fff; color: var(--luq-navy); cursor: pointer; transition: border-color .2s ease-out, background-color .2s ease-out; }
.luq-carousel__nav--prev { margin-right: 4px; }
.luq-carousel__nav:hover { border-color: var(--luq-accent); background: var(--luq-surface); }
.luq-carousel__controls { order: 2; display: flex; align-items: center; height: 44px; margin: 4px auto 4px 8px; }
.luq-carousel__dot, .luq-carousel__pause { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; color: var(--luq-navy); }
.luq-carousel__dot span { display: block; width: 10px; height: 10px; border-radius: 50%; background: #c3d0e0; border: 1px solid #8fa3bd; transition: background-color .2s ease-out, width .2s ease-out; }
.luq-carousel__dot[aria-current="true"] span { width: 22px; border-radius: 6px; background: var(--luq-accent); border-color: var(--luq-accent); }
.luq-carousel__pause:hover { color: var(--luq-accent); }
.luq-carousel__pause .luq-carousel__icon-play { display: none; }
.luq-carousel__pause[data-state="paused"] .luq-carousel__icon-pause { display: none; }
.luq-carousel__pause[data-state="paused"] .luq-carousel__icon-play { display: block; }
.luq-carousel__nav:focus-visible, .luq-carousel__dot:focus-visible, .luq-carousel__pause:focus-visible { outline: 3px solid #0e9fb0; outline-offset: -3px; }
@media (min-width: 576px) {
    .luq-carousel__text { display: block; }
    .luq-carousel__caption { padding: 16px 24px 8px; }
    .luq-carousel__caption strong { font-size: 1.25rem; }
}
@media (min-width: 992px) {
    .luq-carousel { display: block; height: clamp(260px, 20vw, 360px); }
    .luq-carousel__viewport { position: absolute; inset: 0; display: block; }
    .luq-carousel__slide { position: absolute; inset: 0; }
    .luq-carousel__slide img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
    .luq-carousel__caption { position: absolute; top: 0; bottom: 60px; left: 0; width: 42%; justify-content: center; gap: 4px; padding: 16px 12px 0 28px; background: linear-gradient(90deg, rgba(255, 255, 255, .94) 0, rgba(255, 255, 255, .9) 88%, rgba(255, 255, 255, 0) 100%); }
    .luq-carousel__caption strong { font-size: clamp(1.125rem, 1.7vw, 1.75rem); }
    .luq-carousel__controls { position: absolute; left: 12px; bottom: 8px; z-index: 2; margin: 0; border-radius: 22px; background: rgba(255, 255, 255, .92); box-shadow: 0 1px 4px rgba(11, 37, 69, .14); }
    .luq-carousel__nav { position: absolute; bottom: 8px; z-index: 2; margin: 0; background: rgba(255, 255, 255, .94); box-shadow: 0 2px 6px rgba(11, 37, 69, .14); }
    .luq-carousel__nav--next { right: 12px; }
    .luq-carousel__nav--prev { right: 64px; }
}
@media (prefers-reduced-motion: reduce) { .luq-carousel__slide, .luq-carousel__nav, .luq-carousel__dot span { transition: none; } }

.luq-fiscal-identified { margin-top: 16px; }

/* LUQ-002 cart row: line 1 = thumbnail/name (left) + price (right, prominent); extras wrap on the left; line 2 = quantity (left) + trash (right, under the price).
   The trash never shares the price row and adds no horizontal column. Same rule for the cart modal (.item) and the checkout list (.info);
   the footer/detail wrappers become transparent so their children join one grid. */
.luq-cart-line,
.list-products .item .info.luq-cart-line { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "title price" "list list" "qty remove"; column-gap: .75rem; row-gap: .25rem; align-items: center; }
.modal--shopping .modal-body .list--order .luq-cart-line > .item__footer,
.list-products .item .info.luq-cart-line .detail { display: contents; }
.luq-cart-line > .item__title,
.luq-cart-line > p { grid-area: title; min-width: 0; margin: 0; overflow-wrap: anywhere; }
.list-products .item .info.luq-cart-line { padding-left: 12px; justify-content: normal; min-height: 0; }
.luq-cart-line > .item__list { grid-area: list; min-width: 0; margin: 0 0 .25rem; overflow-wrap: anywhere; }
.modal--shopping .modal-body .list--order .luq-cart-line .price,
.list-products .item .info.luq-cart-line .detail .price { grid-area: price; justify-self: end; align-self: start; white-space: nowrap; margin: 0; }
.luq-cart-line .price .cantidad { font-size: 1.125rem; font-weight: 600; color: var(--luq-navy, #12305a); }
.luq-cart-line .button--amount { grid-area: qty; justify-self: start; min-width: 0; }
.luq-cart-line .luq-cart-remove { grid-area: remove; justify-self: end; margin: 0; color: var(--luq-muted, #5b6b7f); }

/* Google Places suggestions must paint ABOVE an open Bootstrap modal (z-index 1055) and its backdrop, or the list is unreachable. */
.pac-container { z-index: 2000 !important; }
#luq001_loc_error:not(:empty) { display: block; font-weight: 500; line-height: 1.4; }

/* LUQ-002: catalogue service badges are informational only (the mode is chosen at checkout). */
.catalogue--info .options.luq-service-badges { gap: 8px; flex-wrap: wrap; }
.catalogue--info .options .luq-service-badge { margin-right: 0; cursor: default; pointer-events: none; background: var(--luq-surface); border-color: var(--luq-line); color: var(--luq-muted); min-height: 32px; }
/* Location panel: the saved-address list must beat the generic ".header ul" rules (specificity), full width, no overflow. */
.header .luq-send-to__panel ul.luq-send-to__list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; margin: 0; padding: 0; list-style: none; width: 100%; max-height: 40vh; overflow-y: auto; }
.header .luq-send-to__panel ul.luq-send-to__list li { display: block; width: 100%; margin: 0; padding: 0; min-width: 0; }
.luq-send-to__panel .luq-send-to__address { min-width: 0; box-sizing: border-box; }
.luq-send-to__address strong, .luq-send-to__address span { display: block; max-width: 100%; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* LUQ-002: payment choices share the receipt-tile language (navy label, mint selected surface, teal border + check, >=44px). */
#luq_pay_options #myTab { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0 0 12px; padding: 0; border: 0; list-style: none; }
#luq_pay_options #myTab .nav-item { margin: 0; min-width: 0; }
#luq_pay_options #myTab .nav-link { position: relative; display: flex; align-items: center; justify-content: flex-start; width: 100%; min-height: 56px; margin: 0; padding: 8px 40px 8px 12px; border: 1px solid var(--luq-line); border-radius: 12px; background: #fff; color: var(--luq-navy); font-size: .875rem; font-weight: 600; text-align: left; box-shadow: none; transition: border-color .2s ease-out, background-color .2s ease-out, box-shadow .2s ease-out; }
#luq_pay_options #myTab .nav-link:hover { border-color: var(--luq-accent); }
#luq_pay_options #myTab .nav-link:focus-visible { outline: 3px solid #0e9fb0; outline-offset: 2px; }
#luq_pay_options #myTab .nav-link.active { background: #eef8f6; border-color: var(--luq-accent); color: var(--luq-navy); box-shadow: 0 1px 2px rgba(11, 37, 69, .06); }
#luq_pay_options #myTab .nav-link.active::after { content: ""; position: absolute; right: 12px; top: 50%; width: 20px; height: 20px; margin-top: -10px; border-radius: 50%; background: var(--luq-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 6.8' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
#luq_pay_options #myTab .nav-link:disabled, #luq_pay_options #myTab .nav-link.disabled { opacity: .55; cursor: not-allowed; }
#luq_pay_options .luq-pay-options .form-check { min-height: 56px; border-radius: 12px; }
#luq_pay_options .list-check input.radiobutton { min-height: 56px; border: 1px solid var(--luq-line); border-radius: 12px; transition: border-color .2s ease-out, background-color .2s ease-out; }
#luq_pay_options .list-check input.radiobutton:hover { border-color: var(--luq-accent); }
#luq_pay_options .list-check input.radiobutton:checked { border: 1px solid var(--luq-accent); background: #eef8f6; }
#luq_pay_options .list-check input.radiobutton:focus-visible { outline: 3px solid #0e9fb0; outline-offset: 2px; }
#luq_pay_options .list-check input.radiobutton:disabled { opacity: .55; cursor: not-allowed; }
#luq_pay_options .list-check label.radiobutton-label { min-height: 56px; padding: 8px 40px 8px 12px; }
#luq_pay_options .list-check label.radiobutton-label .text { color: var(--luq-navy); font-weight: 600; font-size: .875rem; white-space: normal; }
#luq_pay_options .list-check input.radiobutton:checked + label.radiobutton-label::after { top: 50%; margin-top: -10px; right: 12px; }
#luq_pay_options #input_ingreso { min-height: 44px; border-radius: 8px; border-color: #8fa3bd; }
#luq_pay_options .checkout--accordion__box .title { color: var(--luq-navy); }
@media (max-width: 359.98px) { #luq_pay_options #myTab { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { #luq_pay_options #myTab .nav-link, #luq_pay_options .list-check input.radiobutton { transition: none; } }

/* LUQ-002: contextual readiness / validation messages (amber surface, icon + text), below the related control. */
.luq-notice { display: flex; align-items: flex-start; gap: 8px; margin: 8px 0 0; padding: 8px 12px; border: 1px solid #e6c875; border-radius: 8px; background: #fff7dd; color: #5c4400; font-size: .875rem; line-height: 1.4; }
.luq-notice[hidden] { display: none; }
.luq-notice__icon { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 1px; }
.luq-notice__text { min-width: 0; overflow-wrap: anywhere; }

.luq-notice--info { background: #eef6fb; border-color: #b9d4e6; color: #0b2545; }
.luq-notice--success { background: #ecf8f2; border-color: #9fd3b8; color: #0f5132; }
.luq-notice--info[data-kind="error"] { background: #fff7dd; border-color: #e6c875; color: #5c4400; }
.luq-notice--info[data-kind="loading"]::before { content: ""; width: 14px; height: 14px; margin-top: 3px; border: 2px solid #b9d4e6; border-top-color: #0b2545; border-radius: 50%; animation: luq-spin .8s linear infinite; flex: 0 0 14px; }
@keyframes luq-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .luq-notice--info[data-kind="loading"]::before { animation: none; } }

/* LUQ-002: order-history logos have a fixed box (no layout shift while the signed image loads) and a text placeholder. */
.luq-order-logo { display: inline-flex; flex: 0 0 48px; width: 48px; height: 48px; object-fit: contain; border-radius: 8px; background: #eef3f7; align-items: center; justify-content: center; }
.luq-order-logo--empty { color: #36557f; font: 600 1.125rem/1 Poppins, sans-serif; }

/* LUQ-002: profile read-only definition rows + edit/cancel actions. */
.luq-profile-dl { margin: 0; display: grid; gap: 0; }
.luq-profile-dl > div { display: grid; grid-template-columns: minmax(120px, 35%) minmax(0, 1fr); gap: 8px 16px; padding: 12px 0; border-bottom: 1px solid var(--luq-line); }
.luq-profile-dl dt { margin: 0; font-size: .875rem; font-weight: 500; color: var(--luq-muted); }
.luq-profile-dl dd { margin: 0; font-size: 1rem; color: var(--luq-navy); overflow-wrap: anywhere; min-height: 1.5em; }
.luq-profile-flag { display: inline-block; margin-left: 8px; padding: 0 8px; border-radius: 999px; background: #fff7dd; color: #5c4400; font-size: .75rem; }
.luq-profile-actions { display: flex; justify-content: flex-end; align-items: center; gap: 16px; flex-wrap: wrap; }
.luq-field-error { margin: 4px 0 0; font-size: .8125rem; color: #9b1c1c; }
.luq-field-error[hidden] { display: none; }
@media (max-width: 575.98px) { .luq-profile-dl > div { grid-template-columns: minmax(0, 1fr); gap: 2px; } }

/* Contact editing controls remain paired and contained at narrow mobile widths. */
#luq_profile_form .form-inline { display: flex; flex-wrap: nowrap; width: 100%; }
#luq_profile_form .form-inline > input { flex: 1 1 0; width: 0; min-width: 0; }
#luq_profile_form .form-inline > button { flex: 0 0 44px; width: 44px; min-height: 44px; }
#luq_profile_form .input > .label { color: #466080; }
#luq_profile_form .luq-profile-actions { flex-wrap: nowrap; gap: 8px; }
#luq_profile_form .luq-profile-actions > button { min-height: 44px; white-space: nowrap; }

/* Guest checkout (LUQ-002): contact card and the cart access options. 4/8 scale, AA contrast, 44px targets. */
.luq-guest-contact { margin: 0 0 16px; padding: 16px; background: #fff; border: 1px solid var(--luq-line); border-radius: 12px; box-shadow: 0 1px 2px rgba(11, 37, 69, .06), 0 4px 12px rgba(11, 37, 69, .05); color: var(--luq-text); }
.luq-guest-contact__head { margin-bottom: 8px; }
.luq-guest-contact__title { margin: 0; font-size: 1rem; font-weight: 600; color: var(--luq-navy); }
.luq-guest-contact__note { margin: 4px 0 0; font-size: .8125rem; color: var(--luq-muted); }
.luq-guest-contact__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; }
.luq-guest-contact .luq-field { display: flex; flex-direction: column; gap: 4px; margin: 8px 0 0; min-width: 0; }
.luq-guest-contact label, .luq-guest-contact .luq-field__label { font-size: .875rem; font-weight: 500; color: var(--luq-navy); }
.luq-guest-contact input { min-height: 44px; padding: 8px 12px; border: 1px solid #8fa3bd; border-radius: 8px; background: #fff; color: var(--luq-text); font: 400 1rem Poppins, sans-serif; width: 100%; transition: border-color .2s ease-out, box-shadow .2s ease-out; }
.luq-guest-contact input:focus-visible { outline: none; border-color: var(--luq-accent); box-shadow: 0 0 0 3px rgba(14, 159, 176, .3); }
/* Inline actions of the contact card align with the labels (the hit area stays 44px high). */
.luq-guest-contact .luq-link-action { align-self: flex-start; padding-left: 0; }
.luq-guest-contact--account .luq-guest-contact__phone-value { margin: 0; font-size: .9375rem; overflow-wrap: anywhere; }
/* Explicit e-mail opt-in: a 44px tap row; the checkbox keeps its own size (the text-input rule above must not stretch it). */
.luq-guest-contact .luq-optin { display: flex; align-items: center; gap: 12px; min-height: 44px; margin: 0; cursor: pointer; font-weight: 500; }
.luq-guest-contact .luq-optin input[type="checkbox"] { flex: 0 0 20px; width: 20px; height: 20px; min-height: 20px; padding: 0; margin: 0; accent-color: var(--luq-navy); }
.luq-guest-contact .luq-optin input[type="checkbox"]:focus-visible { box-shadow: 0 0 0 3px rgba(14, 159, 176, .3); }
.luq-guest-contact .luq-optin__tag { font-weight: 400; color: var(--luq-muted); }
.luq-guest-contact #guest_email_wrap[hidden] { display: none; }
.luq-guest-contact .luq-field__hint { margin: 0; font-size: .8125rem; color: var(--luq-muted); }
.luq-guest-contact__phone { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; min-width: 0; }
.luq-guest-contact__phone-value { margin: 0; font-size: .9375rem; color: var(--luq-text); overflow-wrap: anywhere; }
.luq-chip { display: inline-block; margin-left: 4px; padding: 0 8px; border-radius: 999px; font-size: .75rem; font-weight: 600; }
.luq-chip--ok { background: #e3f4ee; color: #0b5b44; }
.luq-guest-contact__fix { margin: 8px 0 0; padding: 8px 12px; border-radius: 8px; background: #fff7dd; color: #5c4400; font-size: .8125rem; }
.luq-guest-contact__fix[hidden] { display: none; }
@media (max-width: 575.98px) { .luq-guest-contact__grid { grid-template-columns: minmax(0, 1fr); } }

/* Access step between cart and checkout (anonymous buyers): one compact card, one dominant action. */
.luq-access-body { background: var(--luq-surface); min-height: 100vh; }
.luq-access { display: flex; justify-content: center; padding: 96px 16px 32px; }
.luq-access__card { box-sizing: border-box; width: 100%; max-width: 500px; padding: 24px; background: #fff; border: 1px solid var(--luq-line); border-radius: 16px; box-shadow: 0 1px 2px rgba(11, 37, 69, .06), 0 8px 24px rgba(11, 37, 69, .08); font-family: Poppins, sans-serif; }
.luq-access__back { margin-bottom: 8px; }
.luq-access__title { margin: 0 0 8px; font-size: 1.5rem; line-height: 1.25; font-weight: 600; color: var(--luq-navy); }
.luq-access__text { margin: 0 0 24px; font-size: 1rem; line-height: 1.5; color: var(--luq-muted); max-width: 60ch; }
.luq-access__primary, .luq-access__secondary { display: flex; align-items: center; justify-content: center; box-sizing: border-box; width: 100%; min-height: 48px; margin-bottom: 12px; padding: 8px 16px; border-radius: 8px; font: 600 1rem Poppins, sans-serif; cursor: pointer; transition: background-color .2s ease-out, border-color .2s ease-out; }
.luq-access__primary { border: 1px solid var(--luq-accent); background: var(--luq-accent); color: #fff; }
.luq-access__primary:hover { background: #085c54; border-color: #085c54; }
.luq-access__secondary { border: 1px solid var(--luq-accent); background: #fff; color: var(--luq-accent); }
.luq-access__secondary:hover { background: #eef8f6; }
.luq-access__divider { display: flex; align-items: center; gap: 12px; margin: 16px 0 4px; color: var(--luq-muted); font-size: .875rem; }
.luq-access__divider::before, .luq-access__divider::after { content: ""; flex: 1 1 auto; height: 1px; background: var(--luq-line); }
.luq-access__guest { display: flex; align-items: center; justify-content: center; min-height: 44px; color: var(--luq-navy); font: 500 .9375rem Poppins, sans-serif; text-decoration: underline; }
.luq-access__note { margin: 0; font-size: .8125rem; line-height: 1.4; color: var(--luq-muted); text-align: center; }
.luq-access__primary:focus-visible, .luq-access__secondary:focus-visible, .luq-access__guest:focus-visible { outline: 3px solid #0e9fb0; outline-offset: 2px; }
@media (max-width: 575.98px) { .luq-access { padding-top: 80px; } .luq-access__card { padding: 16px; } }
@media (prefers-reduced-motion: reduce) { .luq-access__primary, .luq-access__secondary { transition: none; } }
@media (prefers-reduced-motion: reduce) { .luq-guest-contact input { transition: none; } }

/* Single checkout summary: lines + totals; the edit controls appear only in "Editar pedido" mode. */
.luq-order-edit-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.luq-order-edit-bar__title { font-size: .9375rem; font-weight: 600; color: var(--luq-navy); }
.luq-order-edit { margin-bottom: 16px; }
.luq-order-edit[hidden] { display: none; }
.checkout--summary.is-editing #list_toldo > li:not([class]) { display: none; }

/*
 * Checkout on phones (<768px): ONE source of products, three zones in the order the buyer needs them.
 *   1. start: compact fold-out "Tu pedido · N productos · S/ total" (the same product lines + the edit controls, hidden until opened)
 *   2. middle: contact (guest) / customer card, then delivery, payment, voucher and notes
 *   3. end: totals, terms and the single "Realizar pedido" button
 * The reorder is pure CSS (display: contents + order); no node is duplicated or moved, so every id, listener and the legacy renderers
 * of #list_toldo keep working. From 768px up the two-column layout (summary on the right) is untouched.
 */
.luq-summary-toggle { display: none; }
@media (max-width: 767.98px) {
    .luq-checkout-grid { display: flex; flex-direction: column; padding-inline: 12px; }
    .luq-checkout-grid > .col-md-7, .luq-checkout-grid > .col-md-5, .luq-checkout-grid .checkout--summary, .luq-checkout-grid .checkout--summary__info, .luq-checkout-grid #list_toldo { display: contents; }
    .luq-checkout-grid > [class*="col-"] { padding: 0; }
    .luq-checkout-grid .checkout--summary > .toldo { display: none; }
    .luq-checkout-grid .checkout--summary__info .title { display: none; }

    .luq-checkout-grid .luq-summary-toggle { order: 1; display: flex; align-items: center; gap: 8px; width: 100%; min-height: 48px; margin: 0 0 16px; padding: 8px 16px; border: 1px solid var(--luq-line); border-radius: 12px; background: #fff; color: var(--luq-navy); font: 600 .9375rem/1.3 Poppins, sans-serif; text-align: left; cursor: pointer; box-shadow: 0 1px 2px rgba(11, 37, 69, .06), 0 4px 12px rgba(11, 37, 69, .05); transition: border-color .2s ease-out, background-color .2s ease-out; }
    .luq-summary-toggle:hover { border-color: var(--luq-accent); background: var(--luq-surface); }
    .luq-summary-toggle:focus-visible { outline: 3px solid #0e9fb0; outline-offset: 2px; }
    .luq-summary-toggle__label { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
    .luq-summary-toggle__label span { font-weight: 400; color: var(--luq-muted); }
    .luq-summary-toggle__total { flex: 0 0 auto; font-weight: 700; }
    .luq-summary-toggle__chevron { flex: 0 0 20px; width: 20px; height: 20px; transition: transform .2s ease-out; }
    .luq-checkout-grid.is-summary-open .luq-summary-toggle__chevron { transform: rotate(180deg); }

    /* Folded: the lines and the edit controls are hidden; unfolded they sit right below the bar. */
    .luq-checkout-grid .luq-order-edit-bar, .luq-checkout-grid #luq_order_edit, .luq-checkout-grid #list_toldo > li:not([class]) { display: none; }
    .luq-checkout-grid.is-summary-open .luq-order-edit-bar { display: flex; order: 2; padding: 0 16px; }
    .luq-checkout-grid.is-summary-open #luq_order_edit:not([hidden]) { display: block; order: 3; padding: 0 16px; }
    .luq-checkout-grid.is-summary-open #list_toldo > li:not([class]) { display: flex; order: 3; padding: 0 16px; }
    .luq-checkout-grid.is-summary-open .checkout--summary.is-editing #list_toldo > li:not([class]) { display: none; }
    .luq-checkout-grid.is-summary-open .luq-order-edit-bar + #luq_order_edit { margin-bottom: 16px; }

    .luq-checkout-grid #luq_guest_contact { order: 4; }
    .luq-checkout-grid .checkout--summary__user { order: 4; margin: 0 0 16px; padding: 12px 16px; border-radius: 12px; background: #36557f; }
    .luq-checkout-grid .checkout--accordion { order: 5; width: 100%; margin-bottom: 16px; }

    /* End of the page: totals, terms, notice and the one primary action. */
    .luq-checkout-grid #list_toldo > li[class] { order: 6; padding: 0 16px; }
    .luq-checkout-grid .terms-conditions-container { order: 7; padding: 8px 16px; }
    .luq-checkout-grid #btn_finish_order { order: 8; width: 100%; margin-top: 8px; }
    .luq-checkout-grid #luq_finish_notice { order: 9; }
    .luq-checkout-grid #btn_pay_online { order: 10; }
}
@media (prefers-reduced-motion: reduce) { .luq-summary-toggle, .luq-summary-toggle__chevron { transition: none; } }

/* Non-blocking hint (e.g. "pick your location to add products"): bottom, compact, never covers the cart bar. */
.luq-toast { position: fixed; left: 50%; bottom: 88px; transform: translateX(-50%); z-index: 2000; box-sizing: border-box; max-width: min(92vw, 420px); padding: 12px 16px; border-radius: 12px; background: var(--luq-navy, #0b2545); color: #fff; font: 500 .875rem/1.4 Poppins, sans-serif; text-align: center; box-shadow: 0 2px 4px rgba(11, 37, 69, .12), 0 8px 24px rgba(11, 37, 69, .18); animation: luq-toast-in .2s ease-out; }
@keyframes luq-toast-in { from { opacity: 0; transform: translate(-50%, 8px); } to { opacity: 1; transform: translate(-50%, 0); } }
@media (prefers-reduced-motion: reduce) { .luq-toast { animation: none; } }

/* Guest OTP: "¿No recibiste el SMS? Enviar por WhatsApp" and the fallback shown when the SMS could not be delivered. */
.luq-otp-alt { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0 0 8px; color: var(--luq-text); font-size: .875rem; line-height: 1.4; }
.luq-otp-alt[hidden] { display: none; }
.luq-otp-alt .luq-link-action { padding: 0 8px; }
.luq-otp-alt__status { min-height: 1.25rem; margin: 0 0 12px; color: var(--luq-muted); font-size: .8125rem; line-height: 1.4; }

/* Guest order pages ("Mis pedidos" and the order detail): the profile's own detail vocabulary inside a compact, centred column. */
.luq-guest-body { background: var(--luq-surface); min-height: 100vh; font-family: Poppins, sans-serif; }
.luq-guest-order { box-sizing: border-box; width: 100%; max-width: 720px; margin: 0 auto; padding: 88px 16px 48px; }
.luq-guest-order__box { padding: 16px; background: #fff; border: 1px solid var(--luq-line); border-radius: 16px; box-shadow: 0 1px 2px rgba(11, 37, 69, .06), 0 8px 24px rgba(11, 37, 69, .08); }
.luq-guest-order__text { margin: 0 0 12px; font-size: .9375rem; line-height: 1.5; color: var(--luq-text); max-width: 60ch; }
.luq-guest-order__text--muted { color: var(--luq-muted); font-size: .8125rem; }
.luq-order-live { margin: 0 0 12px; padding: 8px 12px; border-radius: 8px; background: #e8f6f4; color: #0a4f48; font-weight: 600; font-size: .9375rem; }
.luq-guest-order__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 16px; }
.luq-guest-order__primary, .luq-guest-order__secondary { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 16px; border-radius: 8px; font: 600 .9375rem Poppins, sans-serif; text-decoration: none; transition: background-color .2s ease-out; }
.luq-guest-order__primary { background: var(--luq-accent); border: 1px solid var(--luq-accent); color: #fff; }
.luq-guest-order__primary:hover { background: #085c54; color: #fff; }
.luq-guest-order__secondary { background: #fff; border: 1px solid var(--luq-accent); color: var(--luq-accent); }
.luq-guest-order__secondary:hover { background: #eef8f6; color: var(--luq-accent); }
.luq-guest-order__link { display: inline-flex; align-items: center; min-height: 44px; color: var(--luq-navy); font-size: .875rem; text-decoration: underline; }
.luq-guest-order__detail-link { display: inline-flex; align-items: center; min-height: 44px; gap: 4px; color: var(--luq-accent); font-weight: 600; text-decoration: none; }
.luq-guest-order__primary:focus-visible, .luq-guest-order__secondary:focus-visible, .luq-guest-order__link:focus-visible, .luq-guest-order__detail-link:focus-visible { outline: 3px solid #0e9fb0; outline-offset: 2px; }
.luq-status { display: inline-flex; align-items: center; padding: 2px 12px; border-radius: 8px; border: 2px solid; font-size: .8125rem; font-weight: 600; }
.luq-status--info { color: #1f5f9e; border-color: #1f5f9e; background: #e5f4ff; }
.luq-status--warning { color: #7a5200; border-color: #b7791f; background: #fffbe6; }
.luq-status--success { color: #1f6b3d; border-color: #2f855a; background: #f0fff4; }
.luq-status--danger { color: #a32727; border-color: #c53030; background: #fff5f5; }
.luq-status--neutral { color: var(--luq-text); border-color: var(--luq-line); background: var(--luq-surface); }
@media (prefers-reduced-motion: reduce) { .luq-guest-order__primary, .luq-guest-order__secondary { transition: none; } }
@media (max-width: 575.98px) { .luq-guest-order { padding-top: 80px; } .luq-guest-order__actions > * { flex: 1 1 100%; } }

/* The legacy detail palette is too light for AA (muted #nro, dates, light-turquoise prices): scoped to the guest order pages only. */
.luq-guest-order .list-detail .item--body .nro, .luq-guest-order .list-detail .item--footer .nro { color: var(--luq-navy); }
.luq-guest-order .list-detail .item--footer .date-item, .luq-guest-order .list-detail .item--footer .date-item span { color: var(--luq-muted); }
.luq-guest-order .list-detail .item--footer .price .moneda, .luq-guest-order .list-detail .item--footer .price .cantidad { color: var(--luq-accent); }
.luq-guest-order .item--summary .list li > span:last-child { white-space: nowrap; margin-left: 12px; }
.luq-guest-order .item--summary .list li > span:first-child { min-width: 0; overflow-wrap: anywhere; }

/* The single cart call to action keeps a 44px touch target on narrow screens (legacy .button--orange shrinks its padding below 576px). */
#luq_cart_finish { min-height: 44px; }

/* purchase-flow header at >=992px: columns share the row by content instead of fixed 3/6/3 grid fractions, so the search column shrinks
   (never overlapping) when the right group (account + Mis pedidos + cart) needs more than a quarter of the row */
@media (min-width: 992px) {
    .header--checkout > .container > .row { flex-wrap: nowrap; }
    .header--checkout > .container > .row > div:first-child:not(:last-child) { flex: 0 1 22%; width: auto; max-width: none; min-width: 0; }
    .header--checkout > .container > .row > .luq-search-row { flex: 1 1 0; width: auto; max-width: none; min-width: 0; }
    .header--checkout > .container > .row > div:last-child:not(:first-child) { flex: 0 0 auto; width: auto; max-width: none; margin-left: auto; }
    .header--checkout > .container > .row > div:last-child:not(:first-child) ul { flex-wrap: nowrap; }
    .header--checkout > .container > .row > div:last-child:not(:first-child) li { flex: 0 0 auto; }
    .header--checkout .luq-guest-orders p, .header--checkout #li_login p { white-space: nowrap; }
}

/* purchase-flow header (<768px): first row budgets the columns by content. The right actions (account, guest orders, cart) keep their real
   width and the merchant identity takes only the remaining space, truncating its name instead of running under them. */
@media (max-width: 767.98px) {
    .header--checkout > .container > .row > div:first-child:not(:last-child) { flex: 1 1 0; width: auto; max-width: none; min-width: 96px; }
    .header--checkout > .container > .row > div:last-child:not(:first-child) { flex: 0 0 auto; width: auto; max-width: none; margin-left: auto; }
    .header--checkout > .container > .row > div:last-child:not(:first-child) ul { flex-wrap: nowrap; }
    .header--checkout > .container > .row > div:last-child:not(:first-child) li { flex: 0 0 auto; }
    .header--checkout .luq-merchant__name { -webkit-line-clamp: 2; }
}

/* Checkout access: discreet guest choice inside the existing login selector (only visible when opened from the cart). */
.luq-login-guest { margin-top: 8px; }
.luq-login-guest[hidden] { display: none; }
.luq-login-guest__link { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 16px; font: 500 .875rem Poppins, sans-serif; color: #0b6b62; text-decoration: underline; text-underline-offset: 3px; border-radius: 8px; transition: background-color .2s ease-out; }
.luq-login-guest__link:hover { background: #eef7f5; color: #085c54; }
.luq-login-guest__link:focus-visible { outline: 2px solid #0b6b62; outline-offset: 2px; }
.luq-login-guest__note { margin: 0; font: 400 .8125rem/1.4 Poppins, sans-serif; color: #475569; }

/* Guest orders: list (left) + selected detail (right), like the profile's orders. Phones: list first, then the detail with a way back. */
.header--checkout .luq-gorders__continue { display: inline-flex; align-items: center; min-height: 44px; }
.header--checkout .luq-gorders__continue { border-left: 0; margin-left: 0; padding-left: 0; }
.header--checkout .luq-gorders__continue p { display: block; padding-left: 0; white-space: nowrap; font-size: .875rem; font-weight: 500; color: var(--luq-navy); }
.section.luq-gorders, .luq-gorders { padding-top: 96px; }
.luq-gorders__intro { margin: 0 0 12px; }
.luq-gorders__title { margin: 0 0 4px; font: 600 1.125rem/1.35 Poppins, sans-serif; color: var(--luq-navy); }
.luq-gorders__hint { margin: 0; font-size: .8125rem; line-height: 1.5; color: var(--luq-muted); max-width: 60ch; }
/* Buyer summary above the order list: order snapshot, compact, wraps long values (no ellipsis on contact data). */
.luq-gorders__buyer { margin: 0 0 12px; padding: 12px 16px; background: #fff; border: 1px solid var(--luq-line); border-radius: 12px; box-shadow: 0 1px 2px rgba(11, 37, 69, .05); }
.luq-gorders__buyer-title { margin: 0 0 8px; font: 600 .875rem/1.35 Poppins, sans-serif; color: var(--luq-navy); }
.luq-gorders__buyer-list { margin: 0; display: grid; gap: 4px; }
.luq-gorders__buyer-list > div { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 8px; align-items: baseline; }
.luq-gorders__buyer-list dt { font-size: .8125rem; font-weight: 500; color: var(--luq-muted); }
.luq-gorders__buyer-list dd { margin: 0; font-size: .875rem; color: var(--luq-text); overflow-wrap: anywhere; }
.luq-gorders__items { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.luq-gorders__item { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 12px; background: #fff; border: 1px solid var(--luq-line); border-radius: 12px; box-shadow: 0 1px 2px rgba(11, 37, 69, .05); color: var(--luq-text); text-decoration: none; transition: border-color .2s ease-out, box-shadow .2s ease-out, transform .2s ease-out; }
.luq-gorders__item:hover { border-color: var(--luq-accent); box-shadow: 0 4px 12px rgba(11, 37, 69, .08); transform: translateY(-1px); color: var(--luq-text); }
.luq-gorders__item:focus-visible { outline: 3px solid #0e9fb0; outline-offset: 2px; }
.luq-gorders__item.is-current { border-color: var(--luq-accent); box-shadow: inset 4px 0 0 var(--luq-accent), 0 4px 12px rgba(11, 37, 69, .08); background: #f3fbf9; }
.luq-gorders__item .luq-order-logo { flex: 0 0 40px; width: 40px; height: 40px; }
.luq-gorders__main { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 auto; }
.luq-gorders__line { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 8px; }
.luq-gorders__no { font-weight: 600; color: var(--luq-navy); font-size: .9375rem; }
.luq-gorders__commerce { font-size: .875rem; color: var(--luq-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.luq-gorders__meta { font-size: .8125rem; color: var(--luq-muted); }
.luq-gorders__back { display: none; }
.luq-gorders__box { padding: 16px; }
.luq-guest-order__inline { color: var(--luq-accent); text-decoration: underline; }
.luq-gorders .list-detail .item--body .nro, .luq-gorders .list-detail .item--footer .nro { color: var(--luq-navy); }
.luq-gorders .list-detail .item--footer .date-item, .luq-gorders .list-detail .item--footer .date-item span { color: var(--luq-muted); }
.luq-gorders .list-detail .item--footer .price .moneda, .luq-gorders .list-detail .item--footer .price .cantidad { color: var(--luq-accent); }
.luq-gorders .item--summary .list li > span:last-child { white-space: nowrap; margin-left: 12px; }
.luq-gorders .item--summary .list li > span:first-child { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 991.98px) {
    .luq-gorders.is-list .luq-gorders__detailcol { display: none; }
    .luq-gorders.is-detail .luq-gorders__listcol { display: none; }
    .luq-gorders__back { display: inline-flex; }
}
@media (max-width: 575.98px) {
    /* One header row on a phone: the logo gives way so "Seguir comprando" stays beside it and the page content is not hidden under it. */
    .luq-guest-body .header--checkout .row { flex-wrap: nowrap; }
    .luq-guest-body .header--checkout .row > .col-6:first-child { flex: 0 0 124px; width: 124px; max-width: none; min-width: 0; }
    .luq-guest-body .header--checkout .row > .col-6:first-child img { width: 100%; max-width: 180px; height: 44px; object-fit: contain; object-position: left center; }
    .luq-guest-body .header--checkout .row > .col-6:last-child { flex: 1 1 0; width: auto; max-width: none; min-width: 0; }
    .luq-guest-body .header--checkout .luq-gorders__continue { border-right: 0; padding-right: 0; margin-right: 0; }
    .luq-guest-body .header--checkout .luq-gorders__continue p { white-space: normal; text-align: right; line-height: 1.25; }
}
@media (min-width: 992px) {
    .luq-gorders__listcol { position: sticky; top: 88px; align-self: flex-start; max-height: calc(100vh - 104px); overflow-y: auto; }
}
@media (prefers-reduced-motion: reduce) { .luq-gorders__item { transition: none; } .luq-gorders__item:hover { transform: none; } }

/* Checkout: while the kept navigation point still needs its street/number, "Completar dirección" is the only call to action. */
#luq_pending_address:not(.d-none) ~ .luq-actions-row #btn_crear { display: none; }

/* Guest orders: the empty-state paragraph of the shared .not-result block (#8592AC, 3:1) reaches AA on this page. */
.luq-gorders .not-result p { color: var(--luq-muted); }
#luq_pending_address .luq-link-action { display: flex; margin-top: 4px; }

/* Guest "Mis pedidos" entry: rendered hidden until the server confirms a pending order; [hidden] must win over the header list styles. */
[data-luq-guest-orders][hidden] { display: none !important; }
/* Timeline: the real time of each state (or an honest "not available") under its text. */
.luq-step-time { display: block; margin-top: 2px; font-size: .8125rem; font-weight: 500; color: var(--luq-muted); }
.luq-step-time--none { font-weight: 400; font-style: italic; }
/* One-line notice flashed by the server (e.g. no pending guest order): soft surface, AA text, no motion. */
.luq-flash-notice { margin: 0 0 16px; padding: 12px 16px; border: 1px solid var(--luq-line); border-radius: 8px; background: var(--luq-surface); color: var(--luq-navy); font-size: .875rem; }

/* Mandatory-mobile notice (guest and account): yellow soft surface, navy text (> 12:1), 44 px action, visible focus. */
.luq-guest-contact__phone-value--alert { color: #8a3b00; font-weight: 600; }
.luq-phone-notice { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin: 0 0 16px; padding: 12px 16px; border: 1px solid #e3b800; border-left-width: 4px; border-radius: 8px; background: #fff6d1; color: var(--luq-navy); }
.luq-phone-notice[hidden] { display: none; }
.luq-phone-notice__text { margin: 0; font-size: .875rem; font-weight: 600; line-height: 1.4; }
.luq-phone-notice__action { min-height: 44px; padding: 0 16px; border: 1px solid var(--luq-navy); border-radius: 8px; background: #fff; color: var(--luq-navy); font-size: .875rem; font-weight: 600; cursor: pointer; transition: background-color .2s ease-out, transform .2s ease-out; }
.luq-phone-notice__action:hover { background: var(--luq-surface); transform: translateY(-1px); }
.luq-phone-notice__action:focus-visible { outline: 3px solid var(--luq-accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .luq-phone-notice__action { transition: none; } .luq-phone-notice__action:hover { transform: none; } }

/* "Usar mi ubicación actual" (catalogue modal, commerce selector, new-address form): link-style action, 44 px target, polite status. */
.luq-new-address__gps { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; margin-top: 4px; }
.luq-gps-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 4px; border: 0; background: none; color: #075e55; font-size: .875rem; font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; transition: color .2s ease-out; }
.luq-gps-link:hover { color: var(--luq-navy); }
.luq-gps-link:focus-visible { outline: 3px solid var(--luq-accent); outline-offset: 2px; border-radius: 4px; }
.luq-gps-link:disabled, .current-location-btn:disabled { cursor: progress; opacity: .7; }
.luq-gps-status { margin: 0; min-height: 1.25em; font-size: .8125rem; line-height: 1.4; color: var(--luq-muted); }
.luq-gps-status[hidden] { display: none; }
.luq-gps-status[data-kind="error"] { color: #8a2a12; }
.luq-gps-status[data-kind="busy"]::before, .luq-gps-status[data-kind="loading"]::before { content: ""; display: inline-block; width: 12px; height: 12px; margin-right: 6px; border: 2px solid var(--luq-line); border-top-color: var(--luq-navy); border-radius: 50%; vertical-align: -1px; animation: luq-spin .8s linear infinite; }
@media (prefers-reduced-motion: reduce) { .luq-gps-status[data-kind="busy"]::before, .luq-gps-status[data-kind="loading"]::before { animation: none; } .luq-gps-link { transition: none; } }
