.order-now-wrap {
    display: block;
    width: 100%;
    text-align: center;
}

.order-now-block {
    position: relative;
    display: inline-block;
    text-align: left;
    font-family: inherit;
    z-index: 50;
    vertical-align: top;
}

#page-wrapper #main .order-now-button,
.order-now-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(180deg, #ff2727 0%, #c30000 100%);
    color: #ffffff !important;
    border: 3px solid #8a0000;
    border-radius: 999px;
    padding: 14px 38px 14px 42px;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.22);
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.28);
    cursor: pointer;
    -webkit-appearance: none;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
    line-height: 1;
}

#page-wrapper #main .order-now-button .order-now-label,
#page-wrapper #main .order-now-button .order-now-caret,
.order-now-button .order-now-label,
.order-now-button .order-now-caret {
    color: #ffffff !important;
}

.order-now-button:hover,
.order-now-button:focus,
.order-now-block.is-open .order-now-button {
    background: linear-gradient(180deg, #ff3a3a 0%, #d91111 100%);
    border-color: #6e0000;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
    outline: none;
}

.order-now-button:focus-visible {
    outline: 3px solid rgba(195, 0, 0, 0.45);
    outline-offset: 3px;
}

.order-now-button:active {
    background: linear-gradient(180deg, #d91111 0%, #a30000 100%);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
}

.order-now-button::-moz-focus-inner {
    border: 0;
    padding: 0;
}

.order-now-caret {
    font-size: 0.7em;
    line-height: 1;
    transition: transform 0.2s ease;
    margin-left: 2px;
}

.order-now-block.is-open .order-now-caret {
    transform: rotate(180deg);
}

.order-now-panel {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 320px;
    max-width: 92vw;
    padding-top: 14px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s;
}

.order-now-panel-inner {
    background: #ffffff;
    color: #1c1c1c;
    border-radius: 14px;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.22);
    padding: 14px 0 8px;
    position: relative;
}

.order-now-panel-inner::before {
    content: '';
    position: absolute;
    top: -9px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #ffffff;
    filter: drop-shadow(0 -2px 2px rgba(0, 0, 0, 0.08));
}

.order-now-block:hover .order-now-panel,
.order-now-block:focus-within .order-now-panel,
.order-now-block.is-open .order-now-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0s;
}

#page-wrapper #main .order-now-panel-heading,
.order-now-panel-heading {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    text-align: center;
    color: #888 !important;
    padding: 0 18px 8px;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 8px;
}

.order-now-locations {
    list-style: none;
    margin: 0;
    padding: 0;
}

.order-now-location {
    padding: 10px 18px;
    border-bottom: 1px solid #f4f4f4;
}

.order-now-location:last-child {
    border-bottom: none;
}

#page-wrapper #main .order-now-location-name,
.order-now-location-name {
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 6px;
    color: #1c1c1c !important;
}

.order-now-location-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

#page-wrapper #main .order-now-action,
#page-wrapper #main .order-now-action *,
.order-now-action,
.order-now-action * {
    color: #c30000 !important;
}

.order-now-action {
    flex: 1 1 calc(50% - 8px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    background: #fff5f5;
    border: 1px solid #f3c1c1;
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

#page-wrapper #main .order-now-action:hover,
#page-wrapper #main .order-now-action:hover *,
#page-wrapper #main .order-now-action:focus,
#page-wrapper #main .order-now-action:focus *,
.order-now-action:hover,
.order-now-action:hover *,
.order-now-action:focus,
.order-now-action:focus * {
    color: #ffffff !important;
}

.order-now-action:hover,
.order-now-action:focus {
    background: #c30000;
    border-color: #c30000;
    text-decoration: none;
}

.order-now-action-icon {
    display: inline-flex;
    align-items: center;
}

.order-now-action-icon svg {
    display: block;
}

@media (max-width: 480px) {
    .order-now-button {
        font-size: 22px;
        padding: 12px 28px;
    }
    .order-now-panel {
        min-width: 260px;
    }
    .order-now-action {
        flex: 1 1 100%;
    }
}
