/* La Doña layer F: footer, compact rewards card, lighter cookie bar. Delete the file to revert. */

/* ---------- footer ---------- */
.ldf { margin: 48px 0 0; padding: 0; background: linear-gradient(160deg, #2c0f0a 0%, #4a1b12 60%, #5a2216 100%); color: #f7ece0; border-radius: 30px 30px 0 0; font-family: inherit; position: relative; z-index: 1; }
.ldf-in { max-width: 1180px; margin: 0 auto; padding: 44px 24px 26px; display: grid; gap: 30px 36px; grid-template-columns: 1.4fr 1.1fr .8fr 1.2fr; }
.ldf-brand img { width: 56px; height: 56px; border-radius: 16px; object-fit: cover; background: #fff; box-shadow: 0 6px 18px rgba(0, 0, 0, .35); display: block; margin-bottom: 12px; }
.ldf-brand b { display: block; font-size: 20px; letter-spacing: -.01em; margin-bottom: 6px; }
.ldf-brand p { margin: 0 0 16px; color: #e5d3c2; font-size: 14.5px; line-height: 1.55; max-width: 34ch; }
.ldf-cta { display: inline-flex; align-items: center; gap: 8px; background: linear-gradient(135deg, #e0451f, #f0652a); color: #fff; font-weight: 700; font-size: 15px; padding: 13px 20px; border-radius: 999px; text-decoration: none; box-shadow: 0 10px 24px rgba(224, 69, 31, .4); }
.ldf-cta svg { width: 18px; height: 18px; }
.ldf-col h3 { margin: 0 0 14px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #f4c14e; font-weight: 700; }
.ldf address, .ldf .ldf-hrs { display: flex; gap: 10px; align-items: flex-start; font-style: normal; margin: 0 0 14px; font-size: 15px; line-height: 1.5; color: #f7ece0; }
.ldf address svg, .ldf .ldf-hrs svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: #f4c14e; }
.ldf .ldf-hrs small { display: block; color: #c9b4a2; font-size: 12.5px; margin-top: 4px; }
.ldf-link { color: #f4c14e; font-weight: 600; font-size: 14.5px; text-decoration: none; }
.ldf-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.ldf-col li a { display: block; padding: 7px 0; color: #f7ece0; text-decoration: none; font-size: 15px; }
.ldf-col li a:hover, .ldf-link:hover, .ldf-bar a:hover { text-decoration: underline; }
.ldf-big { display: flex; gap: 10px; align-items: center; color: #f7ece0; text-decoration: none; font-size: 15px; font-weight: 600; padding: 8px 0; word-break: break-word; }
.ldf-big svg { width: 20px; height: 20px; flex: none; color: #f4c14e; }
.ldf-bar { max-width: 1180px; margin: 0 auto; padding: 18px 24px calc(26px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255, 255, 255, .12); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: 13px; color: #c9b4a2; }
.ldf-bar nav { display: flex; flex-wrap: wrap; gap: 6px 18px; } .ldf-bar a { color: #e5d3c2; text-decoration: none; }
@media (max-width: 900px) { .ldf-in { grid-template-columns: 1fr 1fr; } .ldf-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) {
  .ldf { border-radius: 24px 24px 0 0; margin-top: 36px; }
  .ldf-in { grid-template-columns: 1fr; padding: 32px 20px 18px; gap: 26px; }
  .ldf-bar { padding: 16px 20px calc(110px + env(safe-area-inset-bottom)); flex-direction: column; } /* room for the floating dock */
}

/* ---------- compact Star Rewards card under the hero ---------- */
.p8ld-phone-access.ld-rw { margin-top: 18px; }
.p8ld-phone-access.ld-rw-compact { display: flex !important; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 18px; padding: 14px 18px !important; }
.p8ld-phone-access.ld-rw-compact .p8ld-phone-lead, .p8ld-phone-access.ld-rw-compact .p8ld-phone-form, .p8ld-phone-access.ld-rw-compact .p8ld-rewards-guest-link, .p8ld-phone-access.ld-rw-compact .p8ld-phone-status { display: none !important; }
.p8ld-phone-access.ld-rw-compact .p8ld-phone-copy { margin: 0 !important; flex: 1 1 260px; }
.p8ld-phone-access.ld-rw-compact .p8ld-phone-copy h2 { font-size: 1.15rem !important; line-height: 1.2; margin: 2px 0 0; }
.ld-rw-actions { display: none; gap: 10px; flex: 0 0 auto; }
.ld-rw-compact .ld-rw-actions { display: flex; }
.ld-rw-actions button { min-height: 46px; padding: 0 20px; border-radius: 999px; font-weight: 700; font-size: 14.5px; font-family: inherit; cursor: pointer; border: 0; }
.ld-rw-actions .ld-rw-in { background: linear-gradient(135deg, #e0451f, #f0652a); color: #fff; box-shadow: 0 8px 18px rgba(224, 69, 31, .3); }
.ld-rw-actions .ld-rw-join { background: #fbe9c0; color: #5a2216; border: 1px solid rgba(90, 34, 22, .15); }
@media (max-width: 560px) { .p8ld-phone-access.ld-rw-compact { flex-direction: column; align-items: stretch; } .ld-rw-actions button { flex: 1; } }

/* ---------- lighter cookie bar on phones ---------- */
@media (max-width: 640px) {
  .surecookie-public-banner { padding: 14px !important; border-radius: 18px !important; bottom: calc(86px + env(safe-area-inset-bottom)) !important; max-height: 44vh; overflow: auto; }
  .surecookie-public-banner p, .surecookie-public-banner span { font-size: 13px !important; line-height: 1.4 !important; }
  .surecookie-public-banner button { min-height: 40px !important; padding: 0 10px !important; font-size: 13.5px !important; }
}

/* the old legal bar duplicates the footer links: hide it wherever the new footer is present */
body:has(.ldf) .p8ld-policy-footer { display: none !important; }
.ldf .p8app-flink, .ldf .sts-credit a[href*="how-to-install"] { display: none !important; }
.ldf .sts-credit { max-width: 1180px; margin: 0 auto; padding: 0 24px calc(24px + env(safe-area-inset-bottom)); text-align: center; font-size: 12.5px; color: #c9b4a2; }
.ldf .sts-credit a { color: #e5d3c2; }
@media (max-width: 560px) { .ldf .sts-credit { padding-bottom: calc(96px + env(safe-area-inset-bottom)); } .ldf-bar { padding-bottom: 10px; } }

.p8ld-phone-access[hidden], .p8ld-phone-access.ld-rw[hidden] { display: none !important; }

/* ---------- Rewards modals: above the pinned header and the dock, never cut off, close button always reachable ---------- */
.p8ld-modal-layer { z-index: 2147483000 !important; align-items: center !important; padding: max(12px, env(safe-area-inset-top)) 12px max(12px, env(safe-area-inset-bottom)) !important; }
.p8ld-modal-layer .p8ld-web-modal { max-height: calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom)) !important; overflow-y: auto !important; margin: 0 auto !important; -webkit-overflow-scrolling: touch; }
@media (max-width: 560px) {
  .p8ld-modal-layer { align-items: flex-end !important; padding: 0 !important; }
  .p8ld-modal-layer .p8ld-web-modal { width: 100% !important; max-width: 100% !important; border-radius: 26px 26px 0 0 !important; max-height: 92dvh !important; padding-bottom: calc(22px + env(safe-area-inset-bottom)) !important; }
}
body.p8ld-modal-open .ld-topbar, body.p8ld-modal-open .p8ld-mobile-nav, body.p8ld-modal-open .ld-dock { opacity: 0; pointer-events: none; transition: opacity .15s; }

.p8ld-modal-layer .p8ld-web-modal { align-self: center !important; max-height: calc(100dvh - 40px - env(safe-area-inset-top) - env(safe-area-inset-bottom)) !important; }
@media (max-width: 560px) { .p8ld-modal-layer .p8ld-web-modal { align-self: end !important; } }

/* ---------- Menu page: one heading instead of two ---------- */
body.ld-menu-page .p8ld-menu-intro > p, body.ld-menu-page .p8ld-menu-intro > h2 { display: none !important; }
body.ld-menu-page .ld-page-head { padding-bottom: 4px !important; }
@media (max-width: 700px) { body.ld-menu-page .ld-page-head > span { display: none !important; } }
