/* Moved out of _in_store_order_partial.php on 2026-10-18 (cached file instead of inline). Edit THIS file now; the partial only links it. */
/* ===== Dine-In / Takeaway outlet picker ===== */
.pb-dine {
    font-family: "Trebuchet MS", Trebuchet, Arial, sans-serif;
    color: #2b1d10;
    padding: 32px 0 56px;
    box-sizing: border-box;
}
.pb-dine__inner {
    max-width: 520px;
    margin: 0 auto;
}
.pb-dine__title {
    font-size: clamp(1.75rem, 5vw, 2.25rem);
    color: #cb333b;
    text-align: center;
    margin: 0 0 8px;
    letter-spacing: 0.01em;
}
.pb-dine__intro {
    text-align: center;
    color: #6b5b4a;
    margin: 0 0 14px;
    line-height: 1.5;
    font-size: 15px;
}
.pb-dine__outlets {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.pb-dine__outlet { margin: 0; padding: 0; }
/* More breathing room between outlet buttons, with a subtle horizontal divider
   centered in the space (matches the page's #f0e2d7 callout border). The last
   button has no trailing space/divider. */
.pb-dine__outlet:not(:last-child) {
    padding-bottom: 28px;
    margin-bottom: 28px;
    border-bottom: 1px solid #f0e2d7;
}
.pb-dine__outlet-btn {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    background: #cb333b;
    color: #fff;
    border: 1px solid #cb333b;
    font-family: inherit;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    border-radius: 8px;
    appearance: none;
    -webkit-appearance: none;
    transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
    text-align: center;
    overflow: hidden;
}
.pb-dine__outlet-img {
    width: 100%;
    height: 200px;
    display: block;
    object-fit: cover;
    object-position: 50% 50%;
}
.pb-dine__outlet-name {
    display: block;
    padding: 16px 20px;
}
.pb-dine__outlet-btn:hover,
.pb-dine__outlet-btn:focus {
    background: #fff;
    color: #cb333b;
    outline: none;
    box-shadow: 0 4px 8px rgba(58, 42, 28, 0.14);
}
.pb-dine__outlet-btn:active {
    background: #fff;
    color: #8b0c12;
}

/* Top-of-page notice. Same cream callout pattern as the help-note below,
   with slightly heavier text weight because it's the "this is important
   before you tap an outlet" alert rather than a passive helper. */
.pb-dine__notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 32px;
    padding: 12px 14px;
    background: #fefdfb;
    border: 2px solid #f0e2d7;
    border-left: 3px solid #cb333b;
    border-radius: 8px;
}
.pb-dine__notice-icon {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.pb-dine__notice-icon svg { width: 100%; height: 100%; display: block; }
.pb-dine__notice-text {
    flex: 1 1 auto;
    margin: 0;
    font-size: 13.5px;
    line-height: 1.5;
    color: #000;
    text-align: left;
    font-weight: 400;
}
.pb-dine__notice-text strong {
    color: #cb333b;
    font-weight: 700;
    letter-spacing: 0.02em;
}
.pb-dine__notice-text a {
    color: #cb333b;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1.5px;
    transition: color 0.15s ease;
}
.pb-dine__notice-text a:hover,
.pb-dine__notice-text a:focus {
    color: #8b0c12;
    text-decoration-color: #8b0c12;
}
.pb-dine__notice-text a strong { color: inherit; }
/* Defensive specificity bump: helixultimate's .sp-module ul > li > a rule
   has higher specificity than .pb-dine__notice-text a, so we re-assert
   the brand red under the parent .pb-dine container. */
.pb-dine .pb-dine__notice-text a { color: #cb333b; }
.pb-dine .pb-dine__notice-text a:hover,
.pb-dine .pb-dine__notice-text a:focus { color: #8b0c12; }
.pb-dine .pb-dine__notice-text a strong { color: inherit; }

/* Help callout below the outlet list. Soft cream background with a
   left red rule so it reads as helpful guidance, not a hard warning. */
.pb-dine__help-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 32px 0 0;
    padding: 12px 14px;
    background: #fefdfb;
    border: 2px solid #f0e2d7;
    border-left: 3px solid #cb333b;
    border-radius: 8px;
}
.pb-dine__help-note-icon {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.pb-dine__help-note-icon svg { width: 100%; height: 100%; display: block; }
.pb-dine__help-note-text {
    flex: 1 1 auto;
    margin: 0;
    font-size: 13.5px;
    line-height: 1.5;
    color: #000;
    text-align: left;
}

/* ===== Confirmation modal ===== */
.pb-dine-modal {
    position: fixed;
    inset: 0;
    /* Above the nav (z-index 9999), Joomla's offcanvas, any sticky footer
       widgets, etc. Max signed 32-bit so nothing in the page chrome can
       sit on top of the confirmation card. */
    z-index: 2147483647;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}
.pb-dine-modal[hidden] { display: none; }
.pb-dine-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(43, 29, 16, 0.55);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    cursor: pointer;
}
.pb-dine-modal__card {
    position: relative;
    background: #fefdfb;
    border: 2px solid #f0e2d7;
    border-radius: 8px;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.25);
    padding: 28px 24px 24px;
    max-width: 420px;
    width: 100%;
    box-sizing: border-box;
    font-family: "Trebuchet MS", Trebuchet, Arial, sans-serif;
    color: #2b1d10;
    animation: pbDineModalIn 0.18s ease-out;
}
@keyframes pbDineModalIn {
    from { opacity: 0; transform: translateY(8px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0)   scale(1); }
}
.pb-dine-modal__title {
    margin: 0 0 16px;
    color: #cb333b;
    font-size: 1.25rem;
    text-align: center;
    letter-spacing: 0.04em;
}
.pb-dine-modal__msg {
    margin: 0 0 18px;
    line-height: 1.5;
    text-align: center;
    color: #2b1d10;
    font-size: 15px;
}
.pb-dine-modal__msg--lead { margin: 0 0 6px; }
.pb-dine-modal__outlet-name {
    text-align: center;
    color: #cb333b;
    font-size: clamp(1.5rem, 5.5vw, 2rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin: 0 0 14px;
    line-height: 1.15;
    word-break: break-word;
}

/* Warning callout: mirrors the page's .pb-dine__help-note pattern (cream
   bg, beige border, red left rule) so the modal feels like part of the
   same surface treatment. The red left rule + flanking red triangles
   bump the visual weight up from "helpful note" to "caution". */
.pb-dine-modal__warning {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0 0 16px;
    padding: 12px 14px;
    background: #fefdfb;
    border: 2px solid #f0e2d7;
    border-left: 3px solid #cb333b;
    border-radius: 8px;
}
.pb-dine-modal__warning-icon {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.pb-dine-modal__warning-icon svg { width: 100%; height: 100%; display: block; }
.pb-dine-modal__warning-text {
    flex: 1 1 auto;
    margin: 0;
    font-size: 13.5px;
    line-height: 1.4;
    color: #48210e;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.01em;
}

@media (max-width: 480px) {
    .pb-dine-modal__warning      { padding: 9px 10px; gap: 8px; }
    .pb-dine-modal__warning-icon { width: 20px; height: 20px; }
    .pb-dine-modal__warning-text { font-size: 12.5px; }
}
.pb-dine-modal__actions {
    display: flex;
    gap: 10px;
    justify-content: stretch;
}
.pb-dine-modal__btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid #cb333b;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    border-radius: 6px;
    box-sizing: border-box;
    transition: background 0.15s ease, color 0.15s ease;
}
/* Colors are intentionally swapped: Back is the prominent red button so
   that a reflex tap on the highlighted default doesn't accidentally place
   an order at the wrong outlet. Confirm is the lower-emphasis white
   button. The cancel button is also auto-focused when the modal opens
   (see JS), so pressing Enter triggers the safe "Back" action. */
.pb-dine-modal__btn--cancel  { background: #cb333b; color: #fff; }
.pb-dine-modal__btn--cancel:hover  { background: #8b0c12; color: #fff; }
.pb-dine-modal__btn--confirm { background: #fff;    color: #cb333b; }
.pb-dine-modal__btn--confirm:hover { background: #cb333b; color: #fff; }

@media (max-width: 480px) {
    .pb-dine-modal__card { padding: 22px 18px 18px; }
    .pb-dine-modal__actions { flex-direction: column-reverse; gap: 8px; }
    .pb-dine-modal__btn { width: 100%; }
}

/* Defensive specificity overrides. The Confirm button is an <a> and the
   helixultimate preset's `.sp-module ul > li > a { color: #252525 }` (and
   similar generic anchor rules) can outrank our class-only color rules.
   Re-asserting under the #pbDineModal id lifts specificity to (1,1,1+),
   which beats anything class-based. */
#pbDineModal .pb-dine-modal__btn--cancel        { color: #fff;    background: #cb333b; }
#pbDineModal .pb-dine-modal__btn--cancel:hover  { color: #fff;    background: #8b0c12; }
#pbDineModal .pb-dine-modal__btn--cancel:active { color: #fff;    background: #8b0c12; }
#pbDineModal .pb-dine-modal__btn--confirm       { color: #cb333b; background: #fff; }
#pbDineModal .pb-dine-modal__btn--confirm:hover { color: #fff;    background: #cb333b; }
#pbDineModal .pb-dine-modal__btn--confirm:active { color: #fff;   background: #cb333b; }
#pbDineModal .pb-dine-modal__outlet-name        { color: #cb333b; }
#pbDineModal .pb-dine-modal__title              { color: #cb333b; }
#pbDineModal .pb-dine-modal__warning            { background: #fefdfb; border-color: #f0e2d7; border-left-color: #cb333b; }
#pbDineModal .pb-dine-modal__warning-text       { color: #48210e; }
