.marketing-detail__main:has(> .restaurant-solution) {
    max-width: none;
    padding-inline: 0;
    padding-top: clamp(1rem, 2vw, 2rem);
}

.marketing-detail:has(.restaurant-solution) .marketing-detail__orb {
    animation: none;
    opacity: 0.26;
}

.marketing-detail:has(.restaurant-solution) .marketing-detail__orb::before {
    filter: none;
}

.marketing-detail:has(.restaurant-solution) .marketing-detail__orb--blue::before {
    background: radial-gradient(circle, rgba(173, 179, 251, 0.78), rgba(173, 179, 251, 0) 70%);
}

.marketing-detail:has(.restaurant-solution) .marketing-detail__orb--pink::before {
    background: radial-gradient(circle, rgba(251, 227, 252, 0.82), rgba(251, 227, 252, 0) 70%);
}

.restaurant-solution::before {
    content: none;
}

/* Restaurant solution visual polish lives here so the component stylesheet stays below the code-shape limit. */
.restaurant-solution .restaurant-solution__hero {
    gap: clamp(2.5rem, 4vw, 4.5rem);
    grid-template-columns: minmax(23rem, 0.78fr) minmax(34rem, 1.22fr);
    max-width: 81.8rem;
    width: min(calc(100% - 2rem), 81.8rem);
}

.restaurant-solution .restaurant-solution__hero-frame {
    aspect-ratio: 16 / 10;
    box-shadow: 0 2.5rem 7rem -2.5rem rgba(20, 60, 112, 0.38);
}

.restaurant-solution .restaurant-solution__proof-media .restaurant-device-video {
    height: auto;
    max-height: none;
    width: min(100%, 64rem);
}

.restaurant-solution .restaurant-solution__channels > .restaurant-solution__heading {
    text-align: center;
}

.restaurant-solution .restaurant-solution__channel-explorer {
    padding-inline: 0;
}

.restaurant-solution .restaurant-solution__channel-tabs {
    --restaurant-channel-highlight-width: 0px;
    --restaurant-channel-highlight-x: 0px;
    margin-inline: auto;
    overflow: hidden;
    position: relative;
    width: min(calc(100% - clamp(3rem, calc(8vw + 1rem), 9rem)), 87rem);
}

.restaurant-solution .restaurant-solution__channel-highlight {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(129, 211, 230, 0.12));
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 1.1rem;
    bottom: 0.4rem;
    box-shadow: 0 0.6rem 1.8rem -1rem rgba(49, 184, 218, 0.7);
    left: 0;
    pointer-events: none;
    position: absolute;
    top: 0.4rem;
    transform: translate3d(var(--restaurant-channel-highlight-x), 0, 0);
    transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1), width 420ms cubic-bezier(0.22, 1, 0.36, 1);
    width: var(--restaurant-channel-highlight-width);
    z-index: 0;
}

.restaurant-solution .restaurant-solution__channel-tabs button {
    position: relative;
    z-index: 1;
}

.restaurant-solution .restaurant-solution__channel-tabs button[aria-selected="true"] {
    background: transparent;
    border-color: transparent;
}

.restaurant-solution .restaurant-solution__channel-panel:not([hidden]) {
    animation: restaurant-channel-enter 520ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.restaurant-solution .restaurant-solution__table-service {
    contain: paint;
    isolation: isolate;
    overflow: hidden;
    position: relative;
}

.restaurant-solution .restaurant-solution__table-service::before,
.restaurant-solution .restaurant-solution__table-service::after {
    border-radius: 50%;
    content: "";
    pointer-events: none;
    position: absolute;
    z-index: -1;
}

.restaurant-solution .restaurant-solution__table-service::before {
    background: radial-gradient(circle, rgba(35, 101, 169, 0.1), transparent 70%);
    height: 42rem;
    left: -18rem;
    top: 8rem;
    width: 42rem;
}

.restaurant-solution .restaurant-solution__table-service::after {
    background: radial-gradient(circle, rgba(105, 107, 188, 0.08), transparent 70%);
    bottom: -20rem;
    height: 46rem;
    right: -18rem;
    width: 46rem;
}

.restaurant-solution .restaurant-solution__table-service > .restaurant-solution__heading {
    margin-bottom: clamp(3.5rem, 7vw, 6rem);
}

.restaurant-solution .restaurant-solution__table-atmosphere {
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    position: absolute;
    z-index: 0;
}

.restaurant-solution .restaurant-solution__table-atmosphere::before {
    background-image:
        linear-gradient(rgba(155, 198, 255, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(155, 198, 255, 0.055) 1px, transparent 1px);
    background-size: 4.5rem 4.5rem;
    content: "";
    inset: 0;
    mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
    position: absolute;
}

.restaurant-solution .restaurant-solution__table-service > :not(.restaurant-solution__table-atmosphere) {
    position: relative;
    z-index: 1;
}

.restaurant-solution .restaurant-solution__table-device-shell {
    align-items: center;
    display: flex;
    justify-content: center;
    max-height: 100%;
    max-width: 100%;
    position: relative;
}

.restaurant-solution .restaurant-solution__table-device-shell--tablet {
    aspect-ratio: 1178 / 907;
    border-radius: 1.7rem;
    height: 100%;
    width: auto;
}

.restaurant-solution .restaurant-solution__table-device-shell--phone {
    aspect-ratio: 575 / 1174;
    border-radius: 2.2rem;
    height: 100%;
}

.restaurant-solution .restaurant-solution__table-showcase {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    display: block;
    margin-inline: auto;
    overflow: visible;
    padding: 0;
    width: min(100%, 86rem);
}

.restaurant-solution .restaurant-solution__table-visual {
    background:
        radial-gradient(ellipse at 42% 47%, rgba(112, 177, 255, 0.25), transparent 43%),
        radial-gradient(ellipse at 76% 48%, rgba(151, 139, 255, 0.16), transparent 28%);
    min-height: clamp(34rem, 48vw, 48rem);
    position: relative;
}

.restaurant-solution .restaurant-solution__table-visual::after {
    background: radial-gradient(ellipse, rgba(0, 8, 24, 0.52), transparent 68%);
    bottom: 3%;
    content: "";
    height: 4.5rem;
    left: 8%;
    position: absolute;
    width: 84%;
}

.restaurant-solution .restaurant-solution__table-media {
    height: auto;
    margin: 0;
    position: absolute;
    z-index: 1;
}

.restaurant-solution .restaurant-solution__table-media--wide {
    left: 2%;
    top: 7%;
    width: min(72%, 61rem);
}

.restaurant-solution .restaurant-solution__table-media--phone {
    bottom: 7%;
    right: 7%;
    width: clamp(10rem, 17%, 15rem);
    z-index: 2;
}

.restaurant-solution .restaurant-solution__table-label {
    backdrop-filter: blur(18px);
    background: rgba(7, 28, 55, 0.64);
    border: 1px solid rgba(190, 218, 255, 0.24);
    border-radius: 999px;
    color: rgba(244, 249, 255, 0.9);
    font-size: 0.73rem;
    font-weight: 750;
    letter-spacing: 0.04em;
    padding: 0.6rem 0.85rem;
    position: absolute;
    z-index: 3;
}

.restaurant-solution .restaurant-solution__table-label--restaurant {
    left: 6%;
    top: 2%;
}

.restaurant-solution .restaurant-solution__table-label--waiter {
    bottom: 4%;
    right: 4%;
}

.restaurant-solution .restaurant-solution__table-copy-grid {
    border-top: 1px solid rgba(184, 213, 255, 0.2);
    display: grid;
    gap: clamp(3rem, 7vw, 7rem);
    grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr);
    margin: 0 auto;
    padding: clamp(2.75rem, 5vw, 4.5rem) clamp(1rem, 4vw, 3.5rem) 0;
    width: min(100%, 78rem);
}

.restaurant-solution .restaurant-solution__table-copy-grid article,
.restaurant-solution .restaurant-solution__table-copy-grid article + article {
    display: block;
    margin: 0;
    padding: 0;
}

.restaurant-solution .restaurant-solution__table-copy-grid article + article::before {
    display: none;
}

.restaurant-solution .restaurant-solution__table-copy-grid article > * {
    margin-inline: 0;
}

.restaurant-solution .restaurant-solution__table-copy-grid h3 {
    max-width: 32rem;
}

.restaurant-solution .restaurant-solution__table-copy-grid p {
    max-width: 38rem;
}

.restaurant-solution .restaurant-solution__experience-grid article {
    display: flex;
    flex-direction: column;
}

.restaurant-solution .restaurant-solution__experience-grid article > :not(.restaurant-solution__experience-media) {
    margin-inline: 0;
}

.restaurant-solution .restaurant-solution__experience-copy {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 0 clamp(1.2rem, 3vw, 2.5rem);
    text-align: left;
}

.restaurant-solution .restaurant-solution__experience-copy > a {
    align-self: flex-start;
    margin-top: auto;
    padding-top: 1.5rem;
}

.restaurant-solution .restaurant-solution__customer-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    grid-template-rows: repeat(2, minmax(0, 25rem));
}

.restaurant-solution .restaurant-solution__customer-card {
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid var(--restaurant-border);
    border-radius: 2.15rem;
    color: inherit;
    display: grid;
    min-width: 0;
    overflow: hidden;
    padding: 0.65rem 0.65rem 1rem;
    text-decoration: none;
    transition: border-color 260ms ease, box-shadow 260ms ease, transform 260ms ease;
}

.restaurant-solution .restaurant-solution__customer-card:hover {
    border-color: rgba(8, 125, 168, 0.3);
    box-shadow: 0 1.4rem 3.5rem -2.4rem rgba(18, 60, 112, 0.34);
    text-decoration: none !important;
    transform: translateY(-0.25rem);
}

.restaurant-solution .restaurant-solution__customer-card:focus-visible {
    outline: 3px solid rgba(8, 125, 168, 0.55);
    outline-offset: 4px;
}

.restaurant-solution .restaurant-solution__backend-card:hover {
    border-color: rgba(8, 125, 168, 0.3);
    box-shadow: 0 1.4rem 3.5rem -2.4rem rgba(18, 60, 112, 0.34);
    text-decoration: none !important;
    transform: translateY(-0.25rem);
}

.restaurant-solution .restaurant-solution__backend-card:focus-visible {
    outline: 3px solid rgba(8, 125, 168, 0.55);
    outline-offset: 4px;
}

.restaurant-solution .restaurant-solution__customer-card--featured {
    grid-column: 1;
    grid-row: 1 / span 2;
    grid-template-rows: minmax(36rem, 1fr) auto;
}

.restaurant-solution .restaurant-solution__customer-card--compact {
    grid-template-columns: minmax(11.5rem, 0.84fr) minmax(0, 1.16fr);
    padding-bottom: 0.65rem;
}

.restaurant-solution .restaurant-solution__customer-card--compact.restaurant-solution__customer-card--kiosk,
.restaurant-solution .restaurant-solution__customer-card--compact.restaurant-solution__customer-card--desktop {
    grid-template-columns: minmax(17rem, 1.04fr) minmax(0, 0.96fr);
}

.restaurant-solution .restaurant-solution__customer-media {
    align-items: center;
    background: linear-gradient(145deg, #eaf4f8, #f8f4ff);
    border-radius: 1.7rem;
    display: flex;
    justify-content: center;
    overflow: hidden;
    padding: 1.2rem;
}

.restaurant-solution .restaurant-solution__customer-card--phone .restaurant-solution__customer-media,
.restaurant-solution .restaurant-solution__customer-card--desktop .restaurant-solution__customer-media {
    min-height: 0;
}

.restaurant-solution .restaurant-solution__customer-media--phone {
    background:
        linear-gradient(145deg, rgba(234, 244, 248, 0.2), rgba(248, 244, 255, 0.26)),
        url("/Images/Solutions/restaurants-fast-food/phone-table-background.webp") center / cover no-repeat;
}

.restaurant-solution .restaurant-solution__customer-media--desktop {
    background: #d5d8d8;
}

.restaurant-solution .restaurant-solution__customer-media:has(.restaurant-solution__customer-scene) {
    padding: 0;
}

.restaurant-solution .restaurant-solution__customer-scene {
    height: 100%;
    isolation: isolate;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.restaurant-solution .restaurant-solution__customer-scene--kiosk {
    background: #cdd9de;
}

.restaurant-solution .restaurant-solution__customer-scene-background {
    filter: brightness(0.96) saturate(0.94);
    height: 100%;
    inset: 0;
    object-fit: cover;
    object-position: center;
    position: absolute;
    transform: none;
    transform-origin: center;
    width: 100%;
    z-index: -2;
}

.restaurant-solution .restaurant-solution__customer-scene--kiosk::after {
    background: linear-gradient(90deg, rgba(7, 18, 31, 0.02), rgba(7, 18, 31, 0.06));
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
    z-index: -1;
}

.restaurant-solution .restaurant-solution__customer-kiosk-screen {
    border-radius: 0.2rem;
    height: 72.9%;
    left: 22.65%;
    overflow: hidden;
    position: absolute;
    top: 8.85%;
    width: 37.5%;
    z-index: 1;
}

.restaurant-solution .restaurant-solution__customer-scene--phone {
    aspect-ratio: 2 / 3;
    flex: 0 0 auto;
    height: 135%;
    max-width: none;
    overflow: visible;
    transform: translateY(4.5926%);
    transform-origin: center 38%;
    width: auto;
}

.restaurant-solution .restaurant-solution__customer-card--featured .restaurant-solution__customer-scene--phone {
    height: 158%;
    transform: translateY(10.7342%);
}

.restaurant-solution .restaurant-solution__customer-phone-hand {
    height: 100%;
    inset: 0;
    object-fit: contain;
    pointer-events: none;
    position: absolute;
    width: 100%;
    z-index: 1;
}

.restaurant-solution .restaurant-solution__customer-phone-screen {
    background: #fff;
    border-radius: 14.5% / 6.7%;
    height: 58.05%;
    left: 28.95%;
    overflow: hidden;
    position: absolute;
    top: 10.25%;
    width: 39.9%;
    z-index: 2;
}

.restaurant-solution .restaurant-solution__customer-phone-screen .restaurant-video--device-phone video {
    object-fit: fill;
    transform: none;
}

.restaurant-solution .restaurant-solution__customer-phone-screen::after {
    background: #050607;
    border-radius: 999px;
    content: "";
    height: 3.2%;
    left: 50%;
    position: absolute;
    top: 1.4%;
    transform: translateX(-50%);
    width: 29%;
    z-index: 2;
}

.restaurant-solution .restaurant-solution__customer-scene--tv {
    background: #c9c4bb;
}

.restaurant-solution .restaurant-solution__customer-scene--tv .restaurant-solution__customer-scene-background {
    filter: brightness(0.95) saturate(0.92);
    object-position: center;
}

.restaurant-solution .restaurant-solution__customer-status-screen {
    background: #fff;
    box-shadow: 0 1.35rem 2.5rem -1.25rem rgba(7, 18, 31, 0.58);
    height: 45%;
    left: 17.35%;
    overflow: hidden;
    position: absolute;
    top: 8.2%;
    width: 78.05%;
    z-index: 1;
}

.restaurant-solution .restaurant-solution__customer-status-screen .restaurant-video--device-desktop video {
    background: #fff;
    object-fit: fill;
    transform: none;
}

.restaurant-solution .restaurant-solution__customer-copy {
    display: flex;
    flex-direction: column;
    padding: 1.35rem 1.2rem 0.75rem;
}

.restaurant-solution .restaurant-solution__customer-copy .text-metadata {
    color: #08749a;
}

.restaurant-solution .restaurant-solution__customer-copy h4 {
    font-size: clamp(1.5rem, 2vw, 2.05rem);
    margin-top: 0.5rem;
}

.restaurant-solution .restaurant-solution__customer-card--compact .restaurant-solution__customer-copy {
    justify-content: center;
    padding: 1rem clamp(1rem, 2vw, 1.6rem);
}

.restaurant-solution .restaurant-solution__customer-card--compact .restaurant-solution__customer-copy h4 {
    font-size: clamp(1.35rem, 1.7vw, 1.75rem);
}

.restaurant-solution .restaurant-solution__team-media {
    align-items: center;
    display: flex;
    justify-content: center;
    padding: clamp(0.75rem, 2vw, 1.5rem);
}

.restaurant-solution .restaurant-solution__team-media .restaurant-video {
    height: 100%;
    max-width: 100%;
    width: 100%;
}

.restaurant-solution .restaurant-solution__team-media .restaurant-video video {
    object-fit: contain;
}

.restaurant-solution .restaurant-solution__configurations {
    max-width: 100rem;
}

.restaurant-solution .restaurant-solution__growth {
    background:
        radial-gradient(circle at 12% 12%, rgba(93, 193, 226, 0.18), transparent 24rem),
        linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(235, 245, 251, 0.82));
    border: 1px solid rgba(18, 60, 112, 0.1);
    border-radius: clamp(2.25rem, 5vw, 4.5rem);
    box-shadow: 0 2.5rem 7rem -4rem rgba(18, 60, 112, 0.35);
    display: grid;
    gap: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 100%;
    overflow: hidden;
    padding: clamp(2rem, 5vw, 4.5rem);
}

.restaurant-solution .restaurant-solution__growth::before {
    background: linear-gradient(90deg, #1499be, rgba(20, 153, 190, 0.12));
    height: 2px;
    inset: clamp(4.7rem, 8vw, 7.3rem) clamp(4rem, 9vw, 9rem) auto;
    width: auto;
}

.restaurant-solution .restaurant-solution__growth article {
    background: transparent;
    border: 0;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    margin: 0;
    padding: 0 clamp(1rem, 2vw, 2rem) clamp(1.5rem, 3vw, 3rem);
    position: relative;
}

.restaurant-solution .restaurant-solution__growth article + article {
    border-left: 1px solid rgba(18, 60, 112, 0.1);
}

.restaurant-solution .restaurant-solution__growth-index {
    background: linear-gradient(145deg, #0b79a6, #14a2bd);
    box-shadow: 0 0 0 0.55rem rgba(236, 247, 250, 0.92);
    height: 4.5rem;
    position: relative;
    width: 4.5rem;
    z-index: 1;
}

.restaurant-solution .restaurant-solution__growth-apps {
    margin-block: 1.15rem;
}

.restaurant-solution .restaurant-solution__growth aside {
    background: rgba(7, 95, 142, 0.07);
    border: 0;
    border-radius: 1.25rem;
    grid-column: 1 / -1;
    justify-content: center;
    margin: 0.5rem 0 0;
    text-align: center;
}

.restaurant-solution .restaurant-solution__erp-visual {
    box-shadow: 0 2rem 6rem -3.4rem rgba(18, 60, 112, 0.42);
}

.restaurant-solution .restaurant-solution__erp-brand {
    min-height: 7.5rem;
}

.restaurant-solution .restaurant-solution__erp-brand img {
    border: 0;
    border-radius: 0;
    grid-column: auto;
    object-fit: contain;
}

.restaurant-solution .restaurant-solution__erp-brand--retail img {
    height: 2.7rem;
    width: auto;
}

.restaurant-solution .restaurant-solution__erp-brand--erp img {
    height: 3.6rem;
    width: min(11rem, 100%);
}

.restaurant-solution .restaurant-solution__erp-dashboard {
    grid-column: 1 / -1;
}

/* Keep FAQ and CTA aligned with the established application-detail pattern. */
.restaurant-solution .restaurant-solution__faq {
    display: grid;
    gap: 3rem;
}

.restaurant-solution .restaurant-solution__faq > .restaurant-solution__heading {
    margin-bottom: 0;
}

.restaurant-solution .restaurant-solution__faq-list {
    display: grid;
    gap: 0.8rem;
    margin-inline: auto;
    max-width: 58rem;
    width: 100%;
}

.restaurant-solution .restaurant-solution__faq-item {
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--restaurant-border);
    border-radius: 1.5rem;
    padding: 0 1.5rem;
}

.restaurant-solution .restaurant-solution__faq-item summary {
    align-items: center;
    cursor: pointer;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    list-style: none;
    min-height: 5.5rem;
}

.restaurant-solution .restaurant-solution__faq-item summary::-webkit-details-marker {
    display: none;
}

.restaurant-solution .restaurant-solution__faq-item summary > span:last-child {
    color: var(--restaurant-accent-dark);
    display: flex;
}

.restaurant-solution .restaurant-solution__faq-item > .restaurant-solution__muted {
    padding: 0 3rem 1.5rem 0;
}

.restaurant-solution .restaurant-solution__cta {
    align-items: end;
    background: linear-gradient(130deg, #173f75, #087da8);
    border-radius: clamp(2rem, 4vw, 3.25rem);
    color: #fff;
    display: grid;
    gap: 2rem;
    grid-template-columns: minmax(0, 1fr) auto;
    margin-bottom: clamp(5rem, 10vw, 9rem);
    padding: clamp(2rem, 6vw, 5rem);
}

.restaurant-solution .restaurant-solution__cta-eyebrow {
    color: #9de7f7;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    margin: 0 0 1rem;
    text-transform: uppercase;
}

.restaurant-solution .restaurant-solution__cta-title {
    color: #fff;
    font-size: clamp(2.1rem, 4.7vw, 4.3rem);
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin: 0;
    max-width: 48rem;
}

.restaurant-solution .restaurant-solution__cta-description {
    color: rgba(255, 255, 255, 0.76);
    line-height: 1.55;
    margin: 1.25rem 0 0;
    max-width: 48rem;
}

.restaurant-solution .restaurant-solution__cta > a {
    align-items: center;
    background: #fff;
    border-radius: 999px;
    color: var(--restaurant-accent-dark);
    display: inline-flex;
    min-height: 3.4rem;
    padding: 0.8rem 1.25rem;
    text-decoration: none;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.restaurant-solution .restaurant-solution__cta > a:hover {
    background: #e9f8fc;
    color: #062e4f;
    transform: translateY(-0.15rem);
}

.restaurant-solution .restaurant-solution__cta > a:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.45);
    outline-offset: 4px;
}

.restaurant-solution .restaurant-solution__cta > a span {
    font-weight: 400;
}

.restaurant-solution [data-restaurant-motion][data-motion-state="pending"] {
    opacity: 0;
    transform: translateY(1.4rem) scale(0.992);
}
.restaurant-solution [data-restaurant-motion][data-motion-state="visible"] {
    opacity: 1;
    transform: none;
    transition: opacity 620ms cubic-bezier(0.22, 1, 0.36, 1), transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-reduced-motion: no-preference) {
    .restaurant-solution .restaurant-solution__proof-card[aria-current="true"] .restaurant-device-video,
    .restaurant-solution .restaurant-solution__experience-grid article[aria-current="true"] .restaurant-device-video {
        animation: restaurant-media-settle 650ms cubic-bezier(0.22, 1, 0.36, 1) both;
    }
}

@media (prefers-reduced-motion: reduce) {
    .restaurant-solution [data-restaurant-motion][data-motion-state] {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .restaurant-solution .restaurant-solution__table-atmosphere span,
    .restaurant-solution .restaurant-solution__table-device-shell::after {
        animation: none;
        display: none;
    }
}

@keyframes restaurant-channel-enter {
    from {
        opacity: 0;
        transform: translate3d(0, 1.5rem, 0) scale(0.985);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }
}

@keyframes restaurant-media-settle {
    from { transform: scale(0.975); }
    to { transform: scale(1); }
}

@media (max-width: 70rem) {
    .restaurant-solution .restaurant-solution__hero {
        grid-template-columns: 1fr;
        max-width: 81.8rem;
    }

    .restaurant-solution .restaurant-solution__cta {
        align-items: start;
        grid-template-columns: 1fr;
    }

    .restaurant-solution .restaurant-solution__cta > a {
        justify-self: start;
    }

    .restaurant-solution .restaurant-solution__customer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: auto;
    }

    .restaurant-solution .restaurant-solution__customer-card--featured {
        grid-column: 1 / -1;
        grid-row: auto;
        grid-template-rows: 33rem auto;
    }

    .restaurant-solution .restaurant-solution__customer-card--compact {
        grid-column: auto;
        grid-row: auto;
        grid-template-columns: 1fr;
        grid-template-rows: 22rem auto;
    }

    .restaurant-solution .restaurant-solution__customer-card--compact.restaurant-solution__customer-card--kiosk,
    .restaurant-solution .restaurant-solution__customer-card--compact.restaurant-solution__customer-card--desktop {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 48rem) {
    .restaurant-solution .restaurant-solution__table-device-shell--tablet {
        height: auto;
        width: 100%;
    }

    .restaurant-solution .restaurant-solution__customer-grid {
        display: flex;
        margin-inline: -1rem;
        overflow-x: auto;
        padding: 0 1rem 1rem;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .restaurant-solution .restaurant-solution__customer-card {
        flex: 0 0 calc(100vw - 3rem);
        grid-column: auto;
        grid-row: auto;
        grid-template-columns: 1fr;
        grid-template-rows: 20rem 1fr;
        scroll-snap-align: center;
    }
}

@media (max-width: 40rem) {
    .marketing-detail__main:has(> .restaurant-solution) {
        padding-top: 1.5rem;
    }

    .restaurant-solution .restaurant-solution__channel-tabs {
        overflow-x: auto;
        width: min(calc(100% - clamp(2rem, 8vw, 8rem)), 87rem);
    }

    .restaurant-solution .restaurant-solution__table-showcase {
        padding: 0;
    }

    .restaurant-solution .restaurant-solution__table-visual {
        min-height: 30rem;
    }

    .restaurant-solution .restaurant-solution__table-media--wide {
        left: 0;
        top: 10%;
        width: 94%;
    }

    .restaurant-solution .restaurant-solution__table-media--phone {
        bottom: 5%;
        right: 2%;
        width: 8.5rem;
    }

    .restaurant-solution .restaurant-solution__table-label--restaurant {
        left: 0;
    }

    .restaurant-solution .restaurant-solution__table-label--waiter {
        display: none;
    }

    .restaurant-solution .restaurant-solution__table-copy-grid {
        gap: 2.5rem;
        grid-template-columns: 1fr;
        padding: 2.5rem 0 0;
    }

    .restaurant-solution .restaurant-solution__table-copy-grid article + article {
        border-top: 1px solid rgba(184, 213, 255, 0.18);
        padding-top: 2.5rem;
    }

    .restaurant-solution .restaurant-solution__growth {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }

    .restaurant-solution .restaurant-solution__growth::before {
        height: auto;
        inset: 3rem auto 6rem 3.7rem;
        width: 2px;
    }

    .restaurant-solution .restaurant-solution__growth article {
        padding: 0 0 2.5rem;
    }

    .restaurant-solution .restaurant-solution__growth article + article {
        border-left: 0;
    }

    .restaurant-solution .restaurant-solution__faq-item {
        padding-inline: 1.1rem;
    }

    .restaurant-solution .restaurant-solution__faq-item summary {
        min-height: 5rem;
    }

    .restaurant-solution .restaurant-solution__faq-item > .restaurant-solution__muted {
        padding-right: 0;
    }

    .restaurant-solution .restaurant-solution__cta {
        border-radius: 2rem;
        margin-bottom: 4rem;
    }

    .restaurant-solution .restaurant-solution__cta > a {
        justify-content: center;
        width: 100%;
    }
}

/* The header and solution share one continuous gradient canvas. */
.marketing-detail:has(.restaurant-solution) {
    --solution-glow-left: 191, 197, 255;
    --solution-glow-right: 255, 224, 249;
    background:
        radial-gradient(ellipse 38rem 44rem at 6% 8rem, rgba(var(--solution-glow-left), 0.42), transparent),
        radial-gradient(ellipse 40rem 44rem at 94% 12rem, rgba(var(--solution-glow-right), 0.48), transparent),
        #fbfcfe;
}
.marketing-detail:has(.cafe-solution) {
    --solution-glow-left: 210, 234, 223;
    --solution-glow-right: 244, 223, 194;
}
.marketing-detail:has(.food-court-solution) {
    --solution-glow-left: 255, 220, 181;
    --solution-glow-right: 173, 222, 226;
}
.marketing-detail:has(.table-order-solution) {
    --solution-glow-left: 224, 232, 208;
    --solution-glow-right: 239, 232, 210;
}
.marketing-detail:has(.retail-solution) {
    --solution-glow-left: 238, 220, 219;
    --solution-glow-right: 241, 226, 211;
}
.marketing-detail .marketing-detail__main > .restaurant-solution {
    background: transparent;
    margin-inline: 0;
    width: 100%;
}
.marketing-detail .marketing-detail__main > .restaurant-solution::before {
    content: none;
}
.marketing-detail:has(.restaurant-solution) .marketing-detail__background {
    display: none;
}
.marketing-detail .restaurant-solution > .restaurant-solution__hero {
    padding-top: clamp(1rem, 2vw, 2rem);
    padding-bottom: clamp(5rem, 8vw, 7.5rem);
}

.marketing-detail:has(.services-solution) {
    --solution-glow-left: 203, 229, 216;
    --solution-glow-right: 230, 235, 209;
}

.marketing-detail:has(.delivery-solution) { --solution-glow-left: 239, 219, 203; --solution-glow-right: 235, 217, 209; }

@media (max-width: 48rem) {
    .marketing-detail .marketing-detail__main > .restaurant-solution > .restaurant-solution__section {
        margin-inline: 0;
        padding-inline: 1rem;
        width: 100%;
    }

    .marketing-detail .restaurant-solution > .restaurant-solution__flow {
        padding-bottom: 3rem;
    }

    .marketing-detail .restaurant-solution .restaurant-solution__module-builder {
        margin-inline: -1rem;
        padding-inline: 1rem;
        width: calc(100% + 2rem);
    }

    .restaurant-solution .restaurant-solution__table-products {
        gap: 5rem;
    }

    .food-court-solution .restaurant-solution__flow-stage:has(.food-court-solution__flow-screen--channels[aria-hidden="false"]) {
        aspect-ratio: auto;
        height: auto;
        min-height: 0;
    }

    .food-court-solution .food-court-solution__flow-screen--channels[aria-hidden="false"] {
        height: auto;
        position: relative;
    }

    .food-court-solution .food-court-solution__channel-grid {
        height: auto;
        overflow-y: visible;
    }
}
