/* Online order page: independent layout, cards and confirmation dialog. */
.online-order-page { background: #f7f5f0; color: #292724; }
.online-order-page .page-head { background: #eee9df; padding: 28px 0; border-bottom: 1px solid #dfd8ca; }
.online-order-page .page-title { float: none !important; padding: 0 !important; }
.online-order-page .page-title h1 { color: #292724; font-family: Georgia, serif; font-size: 36px; font-weight: 400; line-height: 1.12; letter-spacing: -.6px; margin: 0 0 8px; float: none; }
.online-order-page .order-intro { max-width: 540px; color: #625d56; font-size: 15px; line-height: 1.6; margin: 0; }
.online-order-page .page-content { background: transparent; background-image: none; padding: 28px 0 64px; }
.online-order-page #location-container { padding: 0; background: transparent; }
.online-order-page #location-container .locations-grid { display: flex; flex-wrap: wrap; align-items: stretch; }
.online-order-page #location-container .locationitem { box-sizing: border-box; min-width: 0; flex: 0 0 auto; float: none; overflow: hidden; display: flex; flex-direction: column; }
.online-order-page #location-container .location-photo { position: relative; overflow: hidden; background: #e8e1d7; flex-shrink: 0; }
.online-order-page #location-container .location-photo img { position: absolute; top: 0; left: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.online-order-page #location-container .locationitem h2 { border: 0; background: none; }
.online-order-page #location-container .locationinfo .address,
.online-order-page #location-container .locationinfo .phone { position: relative; margin-bottom: 10px; }
.online-order-page #location-container p { margin: 0; }
.online-order-page #location-container a { color: #813c33; }
.online-order-page #location-container a:hover { color: #51231e; text-decoration: underline; }
.online-order-page #location-container a:focus-visible { outline: 3px solid #a17741; outline-offset: 4px; }
.online-order-page #location-container .locationinfo span,
.online-order-page #location-container .locationinfo p { float: none; min-width: 0; }
.online-order-page #location-container .locationinfo .address span { display: inline; }
.online-order-page #location-container .locationinfo a { overflow-wrap: break-word; word-wrap: break-word; }
@media (max-width: 991px) { .online-order-page .page-title h1 { font-size: 34px; } }
@media (max-width: 600px) {
    .online-order-page .page-head { padding: 20px 0; }
    .online-order-page .page-title h1 { font-size: 30px; letter-spacing: -.4px; }
    .online-order-page .page-content { padding-top: 22px; }
    .online-order-page #location-container .locationitem { width: 100% !important; }
}

/* Modern order cards retain the large numbered headings from the original. */
.online-order-page #location-container .locations-grid { margin: 0 -13px; }
.online-order-page #location-container .locationitem {
    width: calc(33.333333% - 26px);
    margin: 0 13px 26px !important;
    padding: 0;
    border: 1px solid #e3ddd4;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 6px 24px rgba(48, 36, 22, .06);
    text-align: center;
}
.online-order-page #location-container .locationitem h2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin: 0;
    padding: 0 20px 12px;
    color: #292724;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 28px;
    font-weight: 300;
    line-height: 1.25;
    letter-spacing: -.5px;
    text-transform: uppercase;
}
.online-order-page #location-container .locationitem h2 > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    margin: -22px 0 0;
    position: relative;
    z-index: 1;
    box-shadow: 0 2px 8px rgba(48, 36, 22, .12);
    border: 3px solid #fff; border-radius: 50%;
    background: #b8242c;
    color: #fff;
    font-size: 28px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0;
}
.online-order-page #location-container .locationinfo { padding: 0 24px 20px; color: #514b44; font-size: 14px; line-height: 1.7; }
.online-order-page #location-container .locationinfo .address,
.online-order-page #location-container .locationinfo .phone { padding-left: 0; }
.online-order-page #location-container .locationinfo img { display: none; }
.online-order-page #location-container .locationinfo a { color: #652e28; }
.online-order-page .online-order-container { margin-top: auto; padding: 0 24px 24px; }
.online-order-page #location-container .online-order-container a {
    display: inline-block;
    max-width: 100%;
    padding: 10px 16px;
    border: 0;
    border-radius: 8px;
    background: #d9363e;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    white-space: normal;
    text-decoration: none;
}
.online-order-page #location-container .online-order-container a:hover { background: #b8242c; }
@media (min-width: 601px) and (max-width: 991px) {
    .online-order-page #location-container .locationitem { width: calc(50% - 26px); }
}
@media (max-width: 600px) {
    .online-order-page #location-container .locationitem { width: 100%; }
}
.online-order-page #location-container .location-photo { height: 135px; }
@media (max-width: 600px) {
    .online-order-page #location-container .locations-grid { margin: 0; }
    .online-order-page #location-container .locationitem { margin: 0 0 24px !important; }
}

/* Location confirmation stays compact and gives the restaurant visual priority. */
#order-location-confirmation:not([open]) { display: none; }
#order-location-confirmation {
    box-sizing: border-box;
    width: 460px;
    max-width: calc(100% - 32px);
    max-height: calc(100% - 32px);
    margin: auto;
    padding: 34px 30px 26px;
    overflow: auto;
    border: 1px solid #e3ddd4;
    border-radius: 16px;
    background: #fff;
    color: #302b26;
    box-shadow: 0 24px 80px rgba(30, 22, 18, .24);
}
#order-location-confirmation::backdrop { background: rgba(30, 24, 20, .55); }
#order-location-confirmation .order-confirm-close { position: absolute; top: 8px; right: 10px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: #6b625a; font-size: 26px; line-height: 1; }
#order-location-confirmation .order-confirm-eyebrow { margin: 0 20px 12px 0; color: #813c33; font-size: 10px; font-weight: 700; letter-spacing: 1.5px; }
#order-location-confirmation h2 { margin: 0 0 12px; font-family: Georgia, serif; font-size: 29px; line-height: 1.2; }
#order-confirm-description { margin: 0; color: #625b53; font-size: 14px; line-height: 1.65; }
#order-location-confirmation .order-confirm-location { display: flex; align-items: flex-start; gap: 14px; margin: 22px 0 14px; padding: 18px; border: 1px solid #eadbd5; border-radius: 10px; background: #faf5f2; }
#order-location-confirmation .order-confirm-icon { color: #a23737; font-size: 24px; margin-top: 3px; }
#order-location-confirmation h3 { margin: 0 0 7px; color: #302b26; font-size: 20px; font-weight: 600; line-height: 1.3; }
#order-confirm-address { margin: 0; color: #625b53; font-size: 14px; line-height: 1.6; }
#order-location-confirmation .order-confirm-note { margin: 0 0 22px; color: #625b53; font-size: 12px; line-height: 1.6; }
#order-confirm-continue { display: block; padding: 12px 16px; border-radius: 7px; background: #d9363e; color: #fff; font-size: 14px; font-weight: 600; text-decoration: none; white-space: normal; }
#order-confirm-continue:hover { background: #b8242c; }
#order-confirm-continue span { margin-left: 8px; }
#order-location-confirmation .order-confirm-cancel { display: block; width: 100%; margin-top: 10px; padding: 11px 8px; border: 0; border-radius: 7px; background: transparent; color: #625047; font-size: 14px; }
#order-location-confirmation button { cursor: pointer; }
#order-location-confirmation button:hover { background: #f5f0eb; }
#order-location-confirmation a:focus-visible,
#order-location-confirmation button:focus-visible { outline: 3px solid #a17741; outline-offset: 3px; }
@media (max-width: 480px) {
    #order-location-confirmation { padding: 32px 22px 22px; }
    #order-location-confirmation h2 { font-size: 26px; }
}
