.overlay-modal {
    position: fixed;
    inset: 0;
    z-index: 60;
}

.overlay-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(19, 10, 3, 0.55);
    backdrop-filter: blur(6px);
}

.overlay-modal__panel {
    position: absolute;
    right: 0;
    left: 0;
    bottom: 0;
    max-height: min(92vh, 920px);
    margin: auto;
    background: linear-gradient(180deg, #fff, #fbf9f4);
    border-radius: 28px 28px 0 0;
    box-shadow: 0 -18px 50px rgba(34, 17, 2, 0.18);
    overflow: auto;
}

.overlay-modal__panel--product {
    max-width: 880px;
}

.overlay-modal__panel--cart {
    max-width: 560px;
}

.overlay-modal__panel--info {
    max-width: 760px;
}

.overlay-modal__close {
    position: sticky;
    top: 12px;
    right: 12px;
    margin: 12px 12px 0 auto;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.06);
    color: #4f4f4f;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    z-index: 1;
}

.product-modal__hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 20px;
    padding: 8px 24px 0;
}

.info-modal__header {
    padding: 12px 24px 0;
}

.info-modal__header--ops {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 18px;
}

.order-pause-ops-figure {
    width: 96px;
    height: 96px;
    display: grid;
    place-items: center;
    border-radius: 30px;
    background:
        radial-gradient(circle at 26% 22%, rgba(255, 255, 255, 0.9) 0 14%, transparent 15%),
        linear-gradient(145deg, #ffedc2, #ffb85c 58%, #e24b38);
    box-shadow: 0 18px 34px rgba(196, 35, 45, 0.2);
    transform: rotate(-4deg);
}

.order-pause-ops-figure span {
    transform: rotate(4deg);
    color: #fff;
    font-size: 1.35rem;
    font-weight: 1000;
    letter-spacing: 0.02em;
    text-shadow: 0 2px 8px rgba(80, 31, 12, 0.24);
}

.info-modal__eyebrow {
    margin: 0 0 8px;
    color: #9a6c08;
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
}

.info-modal__header h2 {
    margin: 0 0 10px;
    color: var(--brand-green);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.info-modal__header p {
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
}

.customer-order-type-switch {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
    gap: 8px;
    margin: 18px 24px 0;
    padding: 6px;
    border: 1px solid rgba(199, 154, 24, 0.18);
    border-radius: 18px;
    background: #fff;
}

.customer-order-type-switch button {
    appearance: none;
    -webkit-appearance: none;
    min-height: 42px;
    border: 1px solid transparent;
    border-radius: 14px;
    background-color: var(--paper-soft);
    color: var(--text);
    font-weight: 800;
    cursor: pointer;
}

.customer-order-type-switch button.is-active {
    border-color: var(--brand-red);
    background-color: var(--brand-red);
    color: #fff;
    box-shadow: 0 8px 18px rgba(196, 35, 45, 0.18);
}

.info-modal__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding: 22px 24px 24px;
}

.info-card {
    padding: 18px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid rgba(199, 154, 24, 0.16);
}

.info-card h3 {
    margin: 0 0 12px;
    font-size: 1.02rem;
}

.info-card p {
    margin: 0 0 10px;
    color: #4c4c4c;
    line-height: 1.5;
}

.info-card p:last-child {
    margin-bottom: 0;
}

.info-modal__grid--status {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.store-hours-status__countdown {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #fff7df;
    color: #7c570b;
    font-weight: 800;
}

.store-hours-list {
    display: grid;
    gap: 8px;
    margin: 0;
}

.store-hours-list div {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(199, 154, 24, 0.14);
}

.store-hours-list div:last-child {
    border-bottom: 0;
}

.store-hours-list dt {
    color: var(--text);
    font-weight: 800;
}

.store-hours-list dd {
    margin: 0;
    color: var(--muted);
    line-height: 1.35;
}

.customer-form {
    padding: 22px 24px 24px;
}

.customer-form--compact {
    padding: 16px 0 0;
}

.customer-order-status {
    margin: 22px 24px 0;
    padding: 18px;
    border-radius: 22px;
    background: linear-gradient(135deg, #fff6df, #fff);
    border: 1px solid rgba(199, 154, 24, 0.2);
}

.customer-order-status__eyebrow {
    margin: 0 0 8px;
    color: #9a6c08;
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
}

.customer-order-status h3 {
    margin: 0 0 8px;
    color: var(--brand-green);
    font-size: 1.1rem;
}

.customer-order-status p {
    margin: 0;
    color: var(--muted);
    line-height: 1.5;
}

.customer-order-status__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.customer-order-status__meta span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(199, 154, 24, 0.16);
    color: #7a5000;
    font-size: 0.88rem;
    font-weight: 800;
}

.customer-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.customer-form__address-grid {
    display: contents;
}

.field-block {
    display: grid;
    gap: 8px;
}

.field-block--full {
    grid-column: 1 / -1;
}

.field-block span {
    font-size: 0.92rem;
    font-weight: 700;
    color: #5f5f5f;
}

.field-block input {
    width: 100%;
    min-height: 50px;
    padding: 0 14px;
    border: 1px solid rgba(199, 154, 24, 0.18);
    border-radius: 16px;
    background: #fff;
    outline: 0;
    color: var(--text);
}

.field-block--readonly input {
    background: #f6efe1;
    color: #6f540f;
    cursor: pointer;
}

.field-block--readonly input:focus {
    border-color: rgba(154, 108, 8, 0.42);
    box-shadow: 0 0 0 3px rgba(199, 154, 24, 0.14);
}

.customer-form__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 20px;
}

.customer-form__status {
    margin: 0;
    color: var(--muted);
    line-height: 1.5;
}

.customer-form__submit {
    min-height: 48px;
    padding: 0 18px;
    border-radius: 16px;
    background: var(--brand-red);
    color: #fff;
    font-weight: 800;
    cursor: pointer;
}

.customer-form__footer--actions {
    justify-content: flex-end;
}

.customer-form__submit--secondary {
    background: #111;
}

.qr-reader {
    margin: 0 24px;
    padding: 16px;
    border-radius: 22px;
    background: #111;
    color: #fff;
}

.qr-reader video {
    width: 100%;
    min-height: 220px;
    aspect-ratio: 4 / 3;
    border-radius: 18px;
    background: #000;
    object-fit: cover;
}

.qr-reader__fallback {
    min-height: 84px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    border: 1px dashed rgba(255, 255, 255, 0.22);
    color: rgba(255, 255, 255, 0.84);
    text-align: center;
    line-height: 1.5;
    padding: 12px;
}

