/* ==========================================================================
   Bootstrap refactor: Branch lists
   Both lists are database-driven and must grow when more than one row of
   restaurants is returned.
   ========================================================================== */
.figma-home .mh-branches,
.figma-branches .branches-list {
    height: auto;
}

.figma-home .mh-branches {
    min-height: 760px;
    padding-bottom: 60px;
}

.figma-branches .branches-list {
    min-height: 650px;
    padding-bottom: 75px;
}

.figma-home .mh-branches .row > .col,
.figma-branches .branches-cards > .col {
    display: flex;
}

.figma-home .mh-branches .mh-branch-card,
.figma-branches .branches-list .mh-branch-card {
    width: 100%;
    height: 100%;
    min-height: 390px;
}

/* ==========================================================================
   Bootstrap refactor: Menu
   Layout is content-driven. Product cards can receive longer backend text
   without relying on fixed heights or absolutely positioned actions.
   ========================================================================== */
.figma-menu .menu-hero {
    min-height: 488px;
    height: auto;
}

.figma-menu .menu-hero::before {
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.figma-menu .menu-hero-inner {
    z-index: 2;
    min-height: 488px;
}

.figma-menu .menu-hero-copy {
    width: min(100%, 780px);
    padding: 42px 0 38px;
}

.figma-menu .menu-hero .mh-breadcrumb,
.figma-menu .menu-hero h1,
.figma-menu .menu-hero-inner > p,
.figma-menu .menu-hero-copy > p,
.figma-menu .menu-hero-actions {
    position: static;
    inset: auto;
    width: auto;
    height: auto;
}

.figma-menu .menu-hero .mh-breadcrumb {
    margin: 0 0 12px;
}

.figma-menu .menu-hero h1 {
    margin: 0;
    font: 400 clamp(34px, 3.5vw, 50px)/1.2 Prata, serif;
    letter-spacing: clamp(1px, .18vw, 2.5px);
}

.figma-menu .menu-hero-copy > p {
    max-width: 540px;
    margin: 8px 0 0;
    color: #a7a7a8;
    font-size: clamp(16px, 1.4vw, 20px);
    line-height: 1.5;
    letter-spacing: clamp(.6px, .12vw, 2px);
}

.figma-menu .menu-hero-actions {
    margin-top: clamp(48px, 8vw, 112px);
}

.figma-menu .menu-reserve,
.figma-menu .menu-restaurant-picker,
.figma-menu .menu-restaurant-picker > .menu-restaurant {
    min-width: 0;
}

.figma-menu .menu-reserve {
    flex: 0 1 auto;
    width: max-content;
    min-width: 225px;
    max-width: 100%;
}

.figma-menu .menu-reserve-label {
    flex: 0 0 auto;
    min-width: 0;
    white-space: nowrap;
}

.figma-menu .menu-reserve > i {
    flex: 0 0 auto;
}

.figma-menu .menu-restaurant-picker {
    flex: 1 1 400px;
    width: 400px;
    max-width: 100%;
}

.figma-menu .menu-restaurant-picker > .menu-restaurant {
    width: 100%;
}

.figma-menu .menu-categories {
    display: flex;
    align-items: center;
    min-height: 112px;
    height: auto;
    padding: 18px 0;
}

.figma-menu .menu-categories > .container,
.figma-menu .menu-categories > .container-xxl {
    height: auto;
}

.figma-menu .menu-categories-mobile {
    position: relative;
    display: block;
    max-width: 506px;
    margin: 0;
}

.figma-menu .menu-categories-mobile::after {
    content: "";
    position: absolute;
    z-index: 2;
    right: 20px;
    bottom: 23px;
    width: 9px;
    height: 9px;
    border-right: 2px solid #c79232;
    border-bottom: 2px solid #c79232;
    transform: rotate(45deg);
    pointer-events: none;
}

.figma-menu .menu-categories-mobile .form-label {
    display: block;
    margin: 0 0 6px;
    color: #a57f4b;
    font-size: 12px;
    line-height: 1.2;
    letter-spacing: .7px;
    text-transform: uppercase;
}

.figma-menu .menu-categories-mobile .form-select {
    appearance: none;
    -webkit-appearance: none;
    min-height: 52px;
    padding: 10px 52px 10px 18px;
    border: 1px solid #a57f4b;
    border-radius: 5px;
    background-color: #0a0a0a;
    background-image: none;
    color: #fff;
    font-size: 15px;
    line-height: 1.35;
    text-overflow: ellipsis;
    box-shadow: none;
}

.figma-menu .menu-categories-mobile .form-select:focus {
    border-color: #d3a14d;
    box-shadow: 0 0 0 .2rem rgba(187, 137, 55, .18);
}

.figma-menu .menu-catalog {
    height: auto;
    min-height: 0;
    padding: clamp(44px, 5vw, 62px) 0 clamp(64px, 7vw, 100px);
}

.figma-menu .menu-section + .menu-section {
    margin-top: clamp(58px, 6vw, 78px);
}

.figma-menu .menu-section-heading {
    min-height: 30px;
    height: auto;
}

.figma-menu .menu-section-heading a,
.figma-menu .menu-section-toggle {
    flex: 0 0 auto;
}

.figma-menu .menu-product-grid {
    margin-top: clamp(32px, 4vw, 55px);
    gap: 0;
}

.figma-menu .menu-product-grid > .col,
.figma-menu .menu-product-grid > [class*="col-"] {
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left: calc(var(--bs-gutter-x) * .5);
}

.figma-menu .menu-product {
    display: flex;
    flex-direction: row;
    width: 100%;
    min-width: 0;
    height: 100%;
    min-height: 329px;
    color: #fff;
}

.figma-menu .menu-product > .menu-product-image {
    flex: 0 0 46%;
    width: 46%;
    min-width: 0;
    height: auto;
    min-height: 327px;
    object-fit: cover;
}

.figma-menu .menu-product-copy {
    position: static;
    min-width: 0;
    padding: clamp(22px, 2.15vw, 31px) clamp(18px, 1.55vw, 24px);
}

.figma-menu .menu-product h3 {
    min-height: 0;
    overflow-wrap: anywhere;
}

.figma-menu .menu-product p {
    margin: 17px 0 24px;
}

.figma-menu .menu-price {
    position: static;
    margin-bottom: 14px;
}

.figma-menu .menu-product-copy > .add-cart {
    position: static;
    inset: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 45px;
    margin: 0;
    padding: 10px 16px;
    border: 0;
    border-radius: 4px;
    background: #bb8937;
    color: #101010;
    font-size: 15px;
    line-height: 1.2;
    letter-spacing: .4px;
    text-transform: uppercase;
}

@media (min-width: 1400px) {
    .figma-menu .menu-hero-copy {
        margin-left: 94px;
    }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
    .figma-menu .menu-product {
        flex-direction: row;
        min-height: 300px;
    }

    .figma-menu .menu-product > .menu-product-image {
        flex: 0 0 42%;
        width: 42%;
        height: auto;
        min-height: 298px;
    }

    .figma-menu .menu-product-copy {
        min-height: 300px;
        padding: 22px 18px;
    }

    .figma-menu .menu-product h3 {
        font-size: clamp(18px, 2.25vw, 22px);
        line-height: 1.3;
    }

    .figma-menu .menu-product p {
        font-size: 10px;
        line-height: 1.6;
    }

    .figma-menu .menu-product-copy > .add-cart {
        width: 100%;
    }
}

@media (max-width: 767.98px) {
    .figma-menu .menu-hero,
    .figma-menu .menu-hero-inner {
        min-height: 530px;
    }

    .figma-menu .menu-hero-copy {
        padding-top: 38px;
        padding-bottom: 38px;
    }

    .figma-menu .menu-hero-actions {
        width: 100%;
        margin-top: 48px;
    }

    .figma-menu .menu-reserve,
    .figma-menu .menu-restaurant-picker {
        flex: 1 1 100%;
        width: 100%;
    }

    .figma-menu .menu-hero-actions > a,
    .figma-menu .menu-restaurant-picker > .menu-restaurant {
        width: 100%;
        white-space: nowrap;
    }

    /*
     * Translated CTA labels are substantially longer than the English copy.
     * Keep the hero action on one line without letting it escape its container.
     */
    .figma-menu .menu-reserve {
        gap: 8px;
        padding-inline: clamp(10px, 3vw, 20px);
        font-size: clamp(11px, 3.5vw, 15px);
        letter-spacing: clamp(.15px, .12vw, .6px);
    }

    .figma-menu .menu-product {
        flex-direction: row;
        min-height: 260px;
    }

    .figma-menu .menu-product > .menu-product-image {
        flex: 0 0 43%;
        width: 43%;
        height: auto;
        min-height: 258px;
    }

    .figma-menu .menu-product-copy {
        min-height: 260px;
        padding: 18px 15px;
    }

    .figma-menu .menu-product h3 {
        font-size: clamp(17px, 5vw, 21px);
        line-height: 1.28;
    }

    .figma-menu .menu-product p {
        margin-top: 12px;
        margin-bottom: 16px;
        font-size: 10px;
        line-height: 1.5;
    }

    .figma-menu .menu-price {
        font-size: clamp(19px, 5.5vw, 23px);
        line-height: 1.2;
    }

    .figma-menu .menu-product-copy > .add-cart {
        width: 100%;
        min-height: 43px;
        padding-inline: 8px;
        font-size: clamp(11px, 3.25vw, 14px);
    }
}

@media (max-width: 419.98px) {
    .figma-menu .menu-product {
        min-height: 240px;
    }

    .figma-menu .menu-product > .menu-product-image {
        flex-basis: 40%;
        width: 40%;
        min-height: 238px;
    }

    .figma-menu .menu-product-copy {
        min-height: 240px;
        padding: 14px 12px;
    }

    .figma-menu .menu-product h3 {
        font-size: 16px;
    }

    .figma-menu .menu-product p {
        font-size: 9px;
        line-height: 1.45;
    }

    .figma-menu .menu-product-copy > .add-cart {
        min-height: 40px;
        font-size: 10.5px;
        letter-spacing: .2px;
    }
}

/* ==========================================================================
   Explicit consent and destructive-action confirmation
   Checkboxes opt out of the large shared text-input rules used by auth,
   checkout, reservation and settings forms.
   ========================================================================== */
.privacy-consent,
.confirmation-check {
    display: flex !important;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    margin: 0;
    color: #b8b4ad;
    font: 400 13px/1.45 Arial, sans-serif;
    letter-spacing: .01em;
    text-align: start;
    cursor: pointer;
}

.privacy-consent input[type="checkbox"],
.confirmation-check input[type="checkbox"] {
    appearance: none;
    flex: 0 0 18px;
    width: 18px !important;
    min-width: 18px !important;
    max-width: 18px !important;
    height: 18px !important;
    min-height: 18px !important;
    max-height: 18px !important;
    margin: 1px 0 0 !important;
    padding: 0 !important;
    border: 1px solid #a97928 !important;
    border-radius: 2px !important;
    background: #090909 !important;
    box-shadow: none !important;
    cursor: pointer;
}

.privacy-consent input[type="checkbox"]:checked,
.confirmation-check input[type="checkbox"]:checked {
    background: #c99232 !important;
    box-shadow: inset 0 0 0 3px #090909 !important;
}

.privacy-consent input[type="checkbox"]:focus-visible,
.confirmation-check input[type="checkbox"]:focus-visible {
    outline: 2px solid rgba(201, 146, 50, .65);
    outline-offset: 3px;
}

.privacy-consent input[type="checkbox"].field-invalid,
.confirmation-check input[type="checkbox"].field-invalid {
    border-color: #dd6262 !important;
}

.privacy-consent span,
.confirmation-check span {
    min-width: 0;
}

.privacy-consent > span::after,
.confirmation-check > span::after {
    content: " *";
    color: #d45c5c;
}

.privacy-consent a {
    color: #c99232;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.privacy-consent a:hover,
.privacy-consent a:focus-visible {
    color: #e0ad52;
}

.figma-auth .privacy-consent {
    margin-top: -2px;
}

.figma-contact .contact-form > .privacy-consent {
    min-height: 0;
    padding-top: 2px;
}

.reservation-form > .privacy-consent {
    grid-column: 1 / -1;
}

.reservation-form > .privacy-consent + .field-feedback {
    grid-column: 1 / -1;
}

.checkout-privacy-consent {
    margin: 4px 0 18px;
}

.figma-account-settings .confirmation-check {
    margin: 4px 0 18px;
}

html[dir="rtl"] .privacy-consent,
html[dir="rtl"] .confirmation-check {
    text-align: right;
}

/* Account actions belong to the profile card: edit is primary, sign out is a
   quieter secondary action. Keeping both together makes the session controls
   predictable on desktop, tablet and mobile. */
.figma-account .account-profile-actions {
    flex: 0 0 190px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-inline-start: auto;
}

.figma-account .account-profile-actions > a,
.figma-account .account-signout button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 52px;
    padding: 10px 16px;
    border: 1px solid #bb8937;
    border-radius: 3px;
    background: transparent;
    color: #bb8937;
    font: 500 14px/20px "Instrument Sans", sans-serif;
    letter-spacing: .08em;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.figma-account .account-profile-actions > a:first-child {
    background: #bb8937;
    color: #0b0b0b;
}

.figma-account .account-profile-actions > a:first-child:hover {
    background: #d3a34a;
    border-color: #d3a34a;
    color: #0b0b0b;
}

.figma-account .account-profile-actions > a:last-child:hover {
    background: rgba(187, 137, 55, .12);
    color: #e0b460;
}

.figma-account .account-signout {
    width: 100%;
    margin: 0;
    align-items: stretch;
    gap: 6px;
}

.figma-account .account-signout button:hover {
    background: rgba(187, 137, 55, .12);
    color: #e0b460;
}

.figma-account .account-signout .form-response {
    margin: 0;
    font-size: 12px;
    line-height: 16px;
    text-align: center;
}

@media (max-width: 991.98px) {
    .figma-account .account-profile-actions {
        flex: 1 1 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-inline-start: 0;
    }
}

@media (max-width: 575.98px) {
    .figma-account .account-profile-actions {
        grid-template-columns: 1fr;
    }
}

/* Order metadata uses separate premium cards instead of a rigid table. */
.figma-order .order-summary-details {
    margin-top: clamp(34px, 5vw, 58px);
    margin-bottom: clamp(34px, 5vw, 58px);
}

.figma-order .order-summary-details > [class*="col-"] {
    display: flex;
}

.figma-order .order-detail-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    min-height: 116px;
    padding: 22px;
    overflow: hidden;
    border: 1px solid rgba(187, 137, 55, .3);
    border-radius: 8px;
    background:
        radial-gradient(circle at 0 0, rgba(187, 137, 55, .1), transparent 44%),
        linear-gradient(145deg, #0d0d0d, #080808);
    box-shadow: 0 14px 32px rgba(0, 0, 0, .2);
}

.figma-order .order-detail-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 2px;
    background: linear-gradient(180deg, transparent, #bb8937, transparent);
}

.figma-order .order-detail-icon {
    flex: 0 0 46px;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(187, 137, 55, .42);
    border-radius: 50%;
    background: rgba(187, 137, 55, .08);
    color: #c89437;
    font-size: 20px;
}

.figma-order .order-detail-card > div {
    min-width: 0;
}

.figma-order .order-detail-card > div > span {
    display: block;
    margin-bottom: 7px;
    color: #85817a;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .13em;
    line-height: 16px;
    text-transform: uppercase;
}

.figma-order .order-detail-card strong {
    display: block;
    color: #f1ede6;
    font: 400 16px/23px "Instrument Sans", sans-serif;
    overflow-wrap: anywhere;
}

.figma-order .order-detail-card.is-status strong {
    color: #d1a14a;
}

.figma-order .order-detail-card-wide {
    min-height: 104px;
}

@media (max-width: 575.98px) {
    .figma-order .order-detail-card {
        min-height: 100px;
        padding: 18px;
    }

    .figma-order .order-detail-icon {
        flex-basis: 42px;
        width: 42px;
        height: 42px;
        font-size: 18px;
    }
}

@media (max-width: 575.98px) {
    .figma-menu .menu-section-heading h2 {
        font-size: 23px;
    }

    .figma-menu .menu-section-heading a,
    .figma-menu .menu-section-toggle {
        gap: 8px;
        font-size: 10px;
    }
}

/* Preserve Bootstrap's explicit zero-gutter contract in Arabic/RTL layouts. */
html[dir="rtl"] .row.g-0 {
    --bs-gutter-x: 0;
    --bs-gutter-y: 0;
}

/* Menu restaurant picker can contain any number of database branches. */
.figma-menu .menu-restaurant-options {
    max-height: min(var(--restaurant-picker-max-height, 300px), calc(100dvh - 24px));
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #a57f4b #101010;
}

.figma-menu .menu-restaurant-options::-webkit-scrollbar {
    width: 7px;
}

.figma-menu .menu-restaurant-options::-webkit-scrollbar-track {
    background: #101010;
}

.figma-menu .menu-restaurant-options::-webkit-scrollbar-thumb {
    border-radius: 20px;
    background: #a57f4b;
}

.figma-menu .menu-restaurant-options a {
    min-height: 46px;
    height: auto;
    padding-block: 10px;
    overflow-wrap: anywhere;
}

.figma-menu .menu-restaurant-options a.active,
.figma-menu .menu-restaurant-options a[aria-selected="true"] {
    background: rgba(187, 137, 55, .22);
    color: #d7a24b;
}

.figma-menu .menu-empty-state {
    padding: clamp(38px, 6vw, 72px) 24px;
    border: 1px solid rgba(165, 127, 75, .45);
    border-radius: 5px;
    color: rgba(255, 255, 255, .72);
    text-align: center;
    letter-spacing: .4px;
}

/* Global branch menus are database-driven and may contain many restaurants. */
.site-header .nav-dropdown-menu {
    max-height: min(420px, calc(100dvh - 110px));
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #a57f4b #101010;
}

.site-header .nav-dropdown-menu::-webkit-scrollbar {
    width: 7px;
}

.site-header .nav-dropdown-menu::-webkit-scrollbar-thumb {
    border-radius: 20px;
    background: #a57f4b;
}

@media (max-width: 1399.98px) {
    .site-header .nav-dropdown-menu {
        max-height: min(320px, calc(100dvh - 180px));
    }
}

/*
 * Arabic keeps RTL reading order without mirroring the Menu page artwork.
 * Physical media/button positions remain identical to the Figma layout;
 * textual children opt back into RTL independently.
 */
html[dir="rtl"] .figma-menu .menu-hero-copy {
    margin-right: auto;
    margin-left: 0;
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] .figma-menu .menu-hero-actions {
    direction: ltr;
}

html[dir="rtl"] .figma-menu .menu-hero-actions > *,
html[dir="rtl"] .figma-menu .menu-restaurant-options {
    direction: rtl;
}

html[dir="rtl"] .figma-menu .menu-restaurant-label {
    text-align: right;
}

html[dir="rtl"] .figma-menu .menu-product {
    direction: ltr;
}

html[dir="rtl"] .figma-menu .menu-product-copy {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] .figma-menu .menu-price {
    direction: ltr;
    unicode-bidi: isolate;
    text-align: right;
}

@media (min-width: 1400px) {
    html[dir="rtl"] .figma-menu .menu-hero-copy {
        margin-right: auto;
        margin-left: 94px;
    }
}

/*
 * The original desktop mockup positioned this CTA with translateY(23px).
 * Motion hover also owns transform, so the two transforms replaced each
 * other and caused a 25px jump. Use layout spacing for the static offset.
 */
@media (min-width: 992px) {
    .figma-home:not(.figma-menu) .mh-menu-preview .text-end {
        padding-top: 23px;
    }

    .figma-home:not(.figma-menu) .mh-menu-preview .text-end .mh-button {
        margin-top: 20px;
        transform: none;
    }

    .motion-enabled .figma-home:not(.figma-menu) .mh-menu-preview .text-end .mh-button:hover,
    .motion-enabled .figma-home:not(.figma-menu) .mh-menu-preview .text-end .mh-button:focus-visible {
        transform: none;
    }
}

/* ==========================================================================
   Bootstrap refactor: Checkout
   The backend may add/remove cart rows and form fields. Panels therefore grow
   with their content and never depend on Figma's absolute coordinates.
   ========================================================================== */
.figma-checkout .checkout-page {
    height: auto;
    min-height: calc(100vh - 88px);
    padding: clamp(44px, 5vw, 66px) 0 clamp(68px, 7vw, 96px);
}

.figma-checkout .checkout-page > .container,
.figma-checkout .checkout-page > .container-xxl {
    position: relative;
    height: auto;
}

.figma-checkout .checkout-breadcrumb,
.figma-checkout .checkout-page > div > h1 {
    position: static;
    inset: auto;
}

.figma-checkout .checkout-breadcrumb {
    margin: 0 0 8px;
}

.figma-checkout .checkout-page > div > h1 {
    margin: 0 0 clamp(28px, 4vw, 44px);
    font-size: clamp(30px, 3vw, 40px);
    line-height: 1.35;
}

.figma-checkout .checkout-form {
    position: static;
    inset: auto;
    display: flex;
    gap: 0;
    width: auto;
    height: auto;
}

.figma-checkout .checkout-form-column {
    min-width: 0;
}

.figma-checkout .checkout-panel {
    position: static;
    inset: auto;
    width: 100%;
    min-width: 0;
    padding: clamp(22px, 2.4vw, 34px);
}

.figma-checkout .checkout-information,
.figma-checkout .checkout-options,
.figma-checkout .checkout-order {
    width: 100%;
}

.figma-checkout .checkout-panel h2 {
    margin-bottom: 22px;
}

.figma-checkout .checkout-information label {
    width: 100%;
}

.figma-checkout .checkout-information input,
.figma-checkout .checkout-message textarea,
.figma-checkout .delivery-option {
    width: 100%;
}

.figma-checkout .checkout-information .form-control {
    min-height: 50px;
    box-shadow: none;
}

.figma-checkout .checkout-information .form-control:focus,
.figma-checkout .checkout-message textarea:focus,
.figma-checkout .checkout-promo .form-control:focus {
    border-color: #d3a14d;
    background: #050505;
    color: #fff;
    box-shadow: 0 0 0 .2rem rgba(187, 137, 55, .16);
}

.figma-checkout .checkout-options {
    flex: 1 1 auto;
}

.figma-checkout .delivery-option {
    min-height: 60px;
    height: auto;
    padding-top: 9px;
    padding-bottom: 9px;
}

.figma-checkout .checkout-message {
    margin-top: 30px;
}

.figma-checkout .checkout-message textarea {
    min-height: 110px;
}

.figma-checkout .checkout-order {
    display: flex;
    flex-direction: column;
}

.figma-checkout .checkout-order-heading {
    min-height: 52px;
    height: auto;
}

.figma-checkout .checkout-order-items {
    min-width: 0;
}

.figma-checkout .checkout-order-item {
    position: relative;
    grid-template-columns:110px minmax(0, 1fr) auto;
    grid-template-rows:auto auto;
    column-gap: 22px;
    row-gap: 12px;
    align-items: center;
    min-height: 145px;
    height: auto;
    padding: 12px 0 16px;
}

.figma-checkout .checkout-order-item img {
    position: static;
    grid-column: 1;
    grid-row: 1 / 3;
    width: 110px;
    height: 110px;
}

.figma-checkout .checkout-order-item h3 {
    position: static;
    grid-column: 2 / 4;
    grid-row: 1;
    width: auto;
    min-width: 0;
    overflow-wrap: anywhere;
}

.figma-checkout .checkout-quantity {
    position: static;
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
}

.figma-checkout .checkout-order-item > strong {
    position: static;
    grid-column: 3;
    grid-row: 2;
    justify-self: end;
    white-space: nowrap;
}

.figma-checkout .checkout-promo > .input-group {
    display: flex;
    width: 100%;
    height: 60px;
}

.figma-checkout .checkout-promo .form-control {
    width: 1%;
    min-width: 0;
    border: 1px solid #a57f4b;
    border-radius: 3px 0 0 3px;
    background: #000;
    color: #fff;
}

.figma-checkout .checkout-promo .btn {
    flex: 0 0 clamp(108px, 12vw, 148px);
    width: auto;
    border-radius: 0 3px 3px 0;
}

.figma-checkout .checkout-submit {
    position: static;
    inset: auto;
    width: 100%;
    min-height: 60px;
    height: auto;
    margin-top: 28px;
    padding: 12px 18px;
}

@media (max-width: 991.98px) {
    .figma-checkout .checkout-page {
        min-height: calc(100vh - 72px);
    }

    .figma-checkout .checkout-form {
        display: flex;
    }

    .figma-checkout .checkout-panel {
        margin: 0;
    }

    .figma-checkout .checkout-order {
        height: auto !important;
    }
}

@media (max-width: 575.98px) {
    .figma-checkout .checkout-page {
        padding-top: 34px;
    }

    .figma-checkout .checkout-login-prompt {
        padding: 13px;
    }

    .figma-checkout .checkout-order-item {
        grid-template-columns:82px minmax(0, 1fr);
        grid-template-rows:auto auto auto;
        column-gap: 14px;
        min-height: 150px;
    }

    .figma-checkout .checkout-order-item img {
        grid-column: 1;
        grid-row: 1 / 3;
        width: 82px;
        height: 82px;
    }

    .figma-checkout .checkout-order-item h3 {
        grid-column: 2;
        grid-row: 1;
        font-size: 15px;
        line-height: 21px;
    }

    .figma-checkout .checkout-quantity {
        grid-column: 2;
        grid-row: 2;
    }

    .figma-checkout .checkout-order-item > strong {
        grid-column: 1 / 3;
        grid-row: 3;
        justify-self: end;
    }

    .figma-checkout .checkout-promo > .input-group {
        display: flex;
        height: 54px;
    }

    .figma-checkout .checkout-promo .btn {
        flex-basis: 96px;
        height: 54px;
        margin: 0;
    }
}

/* ==========================================================================
   Bootstrap refactor: Contact and standalone restaurant
   Facts, forms, gallery and map stay in normal document flow so backend-driven
   content can grow without overlapping the following section.
   ========================================================================== */
.figma-contact .contact-content {
    height: auto;
    min-height: 0;
    padding: clamp(42px, 5vw, 62px) 0 clamp(72px, 7vw, 96px);
}

.figma-contact .contact-content > .container,
.figma-contact .contact-content > .container-xxl {
    position: relative;
    height: auto;
}

.figma-contact .contact-tabs {
    position: static;
    inset: auto;
    width: 100%;
    height: auto;
    margin: 0 0 clamp(34px, 4vw, 52px);
    overflow: visible;
}

.figma-contact .contact-tabs a {
    white-space: normal;
    text-align: center;
}

.figma-contact .contact-facts,
.figma-restaurant .restaurant-facts {
    position: static;
    inset: auto;
    display: flex;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
}

.figma-contact .contact-facts article,
.figma-restaurant .restaurant-facts article {
    position: relative;
    inset: auto;
    width: auto;
    min-width: 0;
    min-height: 150px;
    padding: 30px 20px;
}

.figma-contact .contact-facts article + article::before,
.figma-restaurant .restaurant-facts article + article::before {
    display: none;
}

.figma-contact .contact-facts article:not(:last-child),
.figma-restaurant .restaurant-facts article:not(:last-child) {
    border-right: 1px solid #3b3b3b;
}

.figma-contact .contact-facts p,
.figma-restaurant .restaurant-facts p {
    min-width: 0;
    overflow-wrap: anywhere;
}

.figma-contact .contact-form {
    position: static;
    inset: auto;
    display: flex;
    width: 100%;
    height: auto;
    margin: 24px 0 0;
    padding: 24px;
    column-gap: 0;
}

.figma-contact .contact-form > * {
    min-width: 0;
}

.figma-contact .contact-form > .contact-message-field {
    /* Restore the Bootstrap row gutter overridden by the legacy label margin. */
    margin-top: var(--bs-gutter-y);
}

.figma-contact .contact-fields {
    position: static;
}

.figma-contact .contact-form input,
.figma-contact .contact-form textarea {
    width: 100%;
    box-shadow: none;
}

.figma-contact .contact-form textarea {
    min-height: 190px;
}

.figma-contact .contact-form button {
    position: static;
    width: 100%;
    min-height: 53px;
    height: auto;
    margin: 0;
    padding: 11px 14px;
}

.figma-contact .contact-directions,
.figma-restaurant .restaurant-directions {
    position: static;
    inset: auto;
    display: flex;
    width: 100%;
    height: auto;
    margin: clamp(48px, 6vw, 74px) 0 0;
}

.figma-contact .contact-map,
.figma-restaurant .contact-map {
    height: auto;
    min-height: 330px;
}

.figma-contact .directions-copy,
.figma-restaurant .directions-copy {
    min-width: 0;
    padding: clamp(36px, 4.2vw, 60px) clamp(24px, 3vw, 42px);
}

.figma-contact .directions-copy > div,
.figma-restaurant .directions-copy > div {
    flex-wrap: wrap;
}

.figma-contact .directions-copy a,
.figma-restaurant .directions-copy a {
    flex: 1 1 155px;
    width: auto;
    min-width: 0;
    padding: 8px 12px;
    text-align: center;
}

.figma-restaurant .restaurant-hero {
    height: auto;
    min-height: 640px;
    background-size: cover;
    background-position: center;
}

.figma-restaurant .restaurant-hero > .container,
.figma-restaurant .restaurant-hero > .container-xxl {
    position: relative;
    height: auto;
    min-height: 552px;
}

.figma-restaurant .restaurant-hero-inner {
    align-items: flex-start;
    padding-top: 42px;
    padding-bottom: 42px;
}

.figma-restaurant .restaurant-breadcrumb,
.figma-restaurant .restaurant-hero h1,
.figma-restaurant .restaurant-hero > div > p,
.figma-restaurant .restaurant-hero .restaurant-description,
.figma-restaurant .restaurant-reserve,
.figma-restaurant .restaurant-view-menu {
    position: static;
    inset: auto;
}

.figma-restaurant .restaurant-breadcrumb {
    margin: 0 0 14px;
}

.figma-restaurant .restaurant-hero h1 {
    margin: 0 0 14px;
    font-size: clamp(42px, 4vw, 54px);
    line-height: 1.12;
}

.figma-restaurant .restaurant-hero > div > p,
.figma-restaurant .restaurant-hero .restaurant-description {
    width: min(100%, 570px);
    height: auto;
    margin: 0 0 38px;
}

.figma-restaurant .restaurant-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    width: min(100%, 570px);
}

.figma-restaurant .restaurant-reserve,
.figma-restaurant .restaurant-view-menu {
    flex: 0 0 auto;
    justify-content: center;
    gap: 12px;
    width: max-content;
    min-width: 225px;
    max-width: 100%;
    min-height: 53px;
    height: auto;
    padding: 10px 19px;
    font-size: clamp(12px, 1.2vw, 16px);
    line-height: 1.25;
    white-space: nowrap;
}

.figma-restaurant .restaurant-view-menu {
    display: inline-flex;
    align-items: center;
    border: 1px solid #bb8937;
    border-radius: 5px;
    background: rgba(8, 8, 8, .78);
    color: #bb8937;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color .25s ease, color .25s ease, transform .2s ease;
}

.figma-restaurant .restaurant-view-menu:hover,
.figma-restaurant .restaurant-view-menu:focus-visible {
    background: #bb8937;
    color: #080808;
}

.figma-restaurant .restaurant-view-menu:active {
    transform: translateY(1px);
}

.figma-restaurant .restaurant-reserve-label {
    min-width: 0;
    white-space: nowrap;
}

.figma-restaurant .restaurant-reserve > .bi {
    flex: 0 0 auto;
}

@media (max-width: 575.98px) {
    .figma-restaurant .restaurant-reserve {
        width: 100%;
        min-width: 0;
    }

    .figma-restaurant .restaurant-view-menu {
        width: 100%;
        min-width: 0;
    }
}

.figma-restaurant .restaurant-content {
    height: auto;
    min-height: 0;
    padding: 0 0 clamp(72px, 7vw, 96px);
}

.figma-restaurant .restaurant-content > .container,
.figma-restaurant .restaurant-content > .container-xxl {
    position: relative;
    height: auto;
}

/* The directions card is the first restaurant content block and must overlap
   the bottom of the restaurant hero, matching the original page composition. */
.figma-restaurant .restaurant-content {
    padding-top: 0;
    overflow: visible;
}

.figma-restaurant .restaurant-facts {
    transform: translateY(-72px);
    margin-bottom: -26px;
}

.figma-restaurant .restaurant-gallery {
    position: static;
    inset: auto;
    width: 100%;
    height: auto;
    margin: 0 0 clamp(48px, 5vw, 68px);
}

.figma-restaurant .restaurant-gallery > .restaurant-gallery-viewport {
    display: block;
}

.figma-restaurant .restaurant-directions {
    position: relative;
    z-index: 4;
    margin: -70px 0 clamp(38px, 5vw, 58px);
}

.figma-restaurant .restaurant-links {
    position: static;
    inset: auto;
    width: 100%;
    height: auto;
    margin: 0;
    flex-wrap: wrap;
    gap: 18px 28px;
}

@media (min-width: 1400px) {
    .figma-restaurant .restaurant-hero-inner {
        padding-left: 190px;
    }
}

@media (min-width: 1200px) {
    .figma-contact .contact-facts article,
    .figma-restaurant .restaurant-facts article {
        flex: 0 0 auto;
        width: 25% !important;
    }
}

@media (min-width: 992px) {
    .figma-contact .contact-form > .contact-fields {
        flex: 0 0 auto;
        width: 33.33333333%;
    }

    .figma-contact .contact-form > .contact-message-field {
        flex: 0 0 auto;
        width: 41.66666667%;
    }

    .figma-contact .contact-form > .col-lg-3 {
        flex: 0 0 auto;
        width: 25%;
    }

    .figma-contact .contact-directions > .contact-map,
    .figma-restaurant .restaurant-directions > .contact-map {
        flex: 0 0 auto;
        width: 58.33333333%;
    }

    .figma-contact .contact-directions > .directions-copy,
    .figma-restaurant .restaurant-directions > .directions-copy {
        flex: 0 0 auto;
        width: 41.66666667%;
    }
}

@media (max-width: 1199.98px) {
    .figma-contact .contact-facts article,
    .figma-restaurant .restaurant-facts article {
        flex: 0 0 auto;
        width: 50% !important;
    }

    .figma-contact .contact-facts article:nth-child(2),
    .figma-restaurant .restaurant-facts article:nth-child(2) {
        border-right: 0;
    }

    .figma-contact .contact-facts article:nth-child(-n+2),
    .figma-restaurant .restaurant-facts article:nth-child(-n+2) {
        border-bottom: 1px solid #3b3b3b;
    }
}

@media (max-width: 991.98px) {
    .figma-contact .contact-form {
        display: flex;
    }

    .figma-contact .contact-form > *,
    .figma-contact .contact-directions > *,
    .figma-restaurant .restaurant-directions > * {
        flex: 0 0 auto;
        width: 100%;
    }

    .figma-contact .contact-form textarea {
        min-height: 180px;
    }

    .figma-contact .contact-directions,
    .figma-restaurant .restaurant-directions {
        display: flex;
    }

    .figma-restaurant .restaurant-hero {
        min-height: 580px;
    }

    .figma-restaurant .restaurant-hero > .container,
    .figma-restaurant .restaurant-hero > .container-xxl {
        min-height: 492px;
    }
}

@media (max-width: 767.98px) {
    .figma-restaurant .restaurant-directions {
        margin-top: -30px;
    }

    .figma-contact .contact-tabs span {
        display: none;
    }

    .figma-contact .contact-tabs a {
        flex: 1 1 100%;
        padding: 8px 10px;
        border: 1px solid #3b3b3b;
        border-radius: 4px;
    }

    .figma-contact .contact-facts article,
    .figma-restaurant .restaurant-facts article {
        width: 100% !important;
        min-height: 112px;
        border-right: 0 !important;
        border-bottom: 1px solid #3b3b3b;
    }

    .figma-contact .contact-facts article:last-child,
    .figma-restaurant .restaurant-facts article:last-child {
        border-bottom: 0;
    }

    .figma-contact .contact-map,
    .figma-restaurant .contact-map {
        min-height: 270px;
    }

    .figma-restaurant .restaurant-hero {
        min-height: 560px;
    }

    .figma-restaurant .restaurant-hero > .container,
    .figma-restaurant .restaurant-hero > .container-xxl {
        min-height: 472px;
    }

    .figma-restaurant .restaurant-facts {
        transform: none;
        margin-bottom: 42px;
    }
}

/* ==========================================================================
   Bootstrap refactor: Account, settings and order details
   ========================================================================== */
.figma-account .account-page,
.figma-account-settings .settings-page,
.figma-order .order-page {
    height: auto;
    min-height: calc(100vh - 88px);
    padding: clamp(44px, 5vw, 66px) 0 clamp(72px, 7vw, 100px);
}

.figma-account .account-page > .container,
.figma-account .account-page > .container-xxl,
.figma-account-settings .settings-page > .container,
.figma-account-settings .settings-page > .container-xxl,
.figma-order .order-page > .container,
.figma-order .order-page > .container-xxl {
    position: relative;
    height: auto;
}

.figma-account .account-breadcrumb,
.figma-account-settings .settings-breadcrumb,
.figma-order .order-breadcrumb,
.figma-account .account-page > div > h1,
.figma-account-settings .settings-page h1,
.figma-order .order-page h1 {
    position: static;
    inset: auto;
}

.figma-account .account-breadcrumb,
.figma-account-settings .settings-breadcrumb,
.figma-order .order-breadcrumb {
    margin: 0 0 8px;
}

.figma-account .account-page > div > h1,
.figma-account-settings .settings-page h1,
.figma-order .order-page h1 {
    margin: 0 0 clamp(30px, 4vw, 44px);
    font-size: clamp(30px, 3vw, 40px);
    line-height: 1.35;
}

.figma-account .account-profile,
.figma-account .account-status,
.figma-account .account-columns,
.figma-account .account-orders-summary,
.figma-account .account-all-orders {
    position: static;
    inset: auto;
    width: 100%;
    max-width: 1036px;
    height: auto;
    margin-inline: auto;
}

.figma-account .account-breadcrumb,
.figma-account .account-page > div > h1 {
    width: 100%;
    max-width: 1036px;
    margin-inline: auto;
}

.figma-account .account-profile {
    min-height: 250px;
    padding: clamp(28px, 4vw, 50px) clamp(26px, 7vw, 106px);
}

.figma-account .account-avatar,
.figma-account .account-identity,
.figma-account .account-profile > a {
    position: static;
    inset: auto;
}

.figma-account .account-avatar {
    position: relative;
    flex: 0 0 150px;
    overflow: hidden;
}

.figma-account .account-avatar-fallback {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
}

.figma-account .account-avatar > img {
    position: absolute;
    inset: 0;
}

.figma-account .account-identity {
    min-width: 0;
}

.figma-account .account-identity p {
    overflow-wrap: anywhere;
}

.figma-account .account-profile > a {
    flex: 0 0 187px;
    margin-inline-start: auto;
}

.figma-account .account-status {
    min-height: 235px;
    margin-top: 24px;
    padding: 32px clamp(22px, 5vw, 70px) 28px;
}

.figma-account .account-status header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.figma-account .account-status header h2,
.figma-account .account-status header span {
    position: static;
    inset: auto;
}

.figma-account .order-progress {
    position: relative;
    inset: auto;
    display: grid;
    grid-template-columns:repeat(5, minmax(0, 1fr));
    width: 100%;
    margin-top: 28px;
    --order-progress: 0%;
}

.figma-account .order-progress.status-confirmed { --order-progress: 25% }
.figma-account .order-progress.status-on-preparation { --order-progress: 50% }
.figma-account .order-progress.status-on-delivery { --order-progress: 75% }
.figma-account .order-progress.status-delivered { --order-progress: 100% }
.figma-account .order-progress::after { width: var(--order-progress) }

.figma-account .order-progress article {
    width: auto;
    min-width: 0;
}

.figma-account .order-progress b,
.figma-account .order-progress small {
    overflow-wrap: anywhere;
}

.figma-account .account-columns {
    display: flex;
    margin-top: 24px;
    gap: 24px;
}

.figma-account .account-addresses,
.figma-account .account-orders {
    width: auto;
    height: auto;
    min-height: 500px;
}

.figma-account .account-addresses button {
    width: 100%;
    min-height: 60px;
    height: auto;
    padding-top: 10px;
    padding-bottom: 10px;
}

.figma-account .account-orders > a.account-order-card {
    min-height: 102px;
    height: auto;
}

.figma-account .account-orders-summary {
    display: flex;
    align-items: center;
    gap: clamp(18px, 4vw, 54px);
    min-height: 120px;
    margin-top: 24px;
    padding: 22px clamp(24px, 8vw, 100px);
}

.figma-account .account-orders-summary .bag,
.figma-account .account-orders-summary strong,
.figma-account .account-orders-summary b,
.figma-account .account-orders-summary button {
    position: static;
    inset: auto;
}

.figma-account .account-orders-summary button {
    margin-inline-start: auto;
    white-space: nowrap;
}

.figma-account .account-all-orders {
    border-top: 0;
}

.figma-account .account-all-orders-inner {
    padding: 10px clamp(22px, 7vw, 104px) 22px;
}

.figma-account .account-page.orders-expanded {
    height: auto;
}

.figma-account-settings .settings-avatar,
.figma-account-settings .settings-avatar-feedback,
.figma-account-settings .settings-cards {
    position: static;
    inset: auto;
}

.figma-account-settings .settings-avatar {
    margin: 0 0 12px;
}

.figma-account-settings .settings-avatar-feedback {
    margin: 0 0 32px;
}

.figma-account-settings .settings-cards {
    display: flex;
    width: auto;
    height: auto;
    margin-right: 0;
    margin-left: 0;
    gap: 24px;
}

.figma-account-settings .settings-card {
    width: auto;
    min-width: 0;
    min-height: 500px;
    height: auto;
}

.figma-account-settings .settings-card input {
    width: 100%;
    box-shadow: none;
}

.figma-account-settings .settings-card input[type="hidden"] {
    display: none;
}

.figma-account-settings .settings-card .form-control:focus {
    border-color: #d3a14d;
    background: #050505;
    color: #fff;
    box-shadow: 0 0 0 .2rem rgba(187, 137, 55, .16);
}

.figma-account-settings .settings-card-save,
.figma-account-settings .settings-delete {
    position: static;
    inset: auto;
    width: 100%;
}

.figma-order .order-page time {
    position: absolute;
    right: calc(var(--bs-gutter-x) * .5);
    top: 82px;
}

.figma-order .order-items,
.figma-order .order-totals {
    position: static;
    inset: auto;
    width: min(100%, 824px);
}

.figma-order .order-items {
    margin: 0 auto;
}

.figma-order .order-row {
    grid-template-columns:minmax(0, 1fr) 92px 106px;
    min-height: 60px;
    height: auto;
    padding: 8px 0;
}

.figma-order .order-row h2 {
    min-width: 0;
    overflow-wrap: anywhere;
}

.figma-order .order-items::after {
    width: 100%;
}

.figma-order .order-totals {
    max-width: 624px;
    margin: 48px auto 0;
}

/* ACCOUNT BACKEND DATA */
.figma-account .account-avatar > img {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: cover;
}

.figma-account .account-profile-actions {
    display: grid;
    flex: 0 0 210px;
    gap: 10px;
    margin-inline-start: auto;
}

.figma-account .account-profile-actions a {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid #bb8937;
    border-radius: 3px;
    background: transparent;
    color: #bb8937;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: .8px;
    transition: color .25s ease, background-color .25s ease, transform .2s ease;
}

.figma-account .account-profile-actions a:first-child {
    background: #bb8937;
    color: #090909;
}

.figma-account .account-profile-actions a:first-child:hover {
    background: #bb8937;
    color: #080808;
}

.figma-account .account-profile-actions a:last-child:hover {
    background: rgba(187, 137, 55, .12);
    color: #e0b460;
}

.figma-account .account-status header a {
    color: #bb8937;
    text-decoration: none;
    font: 400 18px/1.4 Prata, serif;
}

.figma-account .account-address {
    min-height: 64px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 14px 18px;
    border: 1px solid #a57f4b;
    border-radius: 3px;
    color: #f1eee8;
    overflow-wrap: anywhere;
}

.figma-account .account-address i { color: #bb8937; font-size: 20px }
.figma-account .account-empty { color: #777; line-height: 1.7 }

/* Dynamic order length and legacy order metadata, adapted to the current card language. */
.figma-order .order-page {
    height: auto;
    min-height: 900px;
    padding-bottom: 90px;
}

.figma-order .order-details-grid {
    width: min(100%, 1036px);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 48px auto 0;
    border-top: 1px solid rgba(165, 127, 75, .55);
    border-left: 1px solid rgba(165, 127, 75, .55);
}

.figma-order .order-details-grid article {
    min-width: 0;
    min-height: 110px;
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    align-content: center;
    gap: 5px 12px;
    padding: 20px;
    border-right: 1px solid rgba(165, 127, 75, .55);
    border-bottom: 1px solid rgba(165, 127, 75, .55);
    background: #090909;
}

.figma-order .order-details-grid article.wide { grid-column: span 2 }
.figma-order .order-details-grid article > i { grid-row: 1 / 3; color: #bb8937; font-size: 23px }
.figma-order .order-details-grid article > span { color: #777; font-size: 12px; letter-spacing: .7px; text-transform: uppercase }
.figma-order .order-details-grid article > strong { min-width: 0; color: #eee; font-weight: 400; line-height: 1.5; overflow-wrap: anywhere }
.figma-order .order-details-grid .order-history-status { margin: 0; font-size: 14px }

@media (max-width: 991.98px) {
    .figma-account .account-profile-actions { flex: 1 1 100%; margin-inline-start: 0; grid-template-columns: repeat(2, minmax(0, 1fr)) }
    .figma-order .order-details-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) }
}

@media (max-width: 575.98px) {
    .figma-account .account-profile-actions { grid-template-columns: 1fr }
    .figma-order .order-details-grid { grid-template-columns: 1fr }
    .figma-order .order-details-grid article.wide { grid-column: auto }
}

@media (min-width: 1200px) {
    .figma-account .account-addresses,
    .figma-account .account-orders {
        flex: 0 0 auto;
        width: calc(50% - 12px);
    }
}

@media (min-width: 992px) {
    .figma-account-settings .settings-card {
        flex: 0 0 auto;
        width: calc(50% - 12px);
    }
}

@media (max-width: 1199.98px) {
    .figma-account .account-addresses,
    .figma-account .account-orders {
        flex: 0 0 auto;
        width: 100%;
    }

    .figma-account .account-profile,
    .figma-account .account-status,
    .figma-account .account-columns,
    .figma-account .account-orders-summary,
    .figma-account .account-all-orders {
        max-width: none;
    }
}

@media (max-width: 991.98px) {
    .figma-account .account-profile > a {
        margin-inline-start: 0;
    }

    .figma-account-settings .settings-card {
        flex: 0 0 auto;
        width: 100%;
        min-height: 0;
    }
}

@media (max-width: 767.98px) {
    .figma-account .account-profile {
        justify-content: center;
        text-align: center;
    }

    .figma-account .account-avatar {
        flex-basis: 120px;
        width: 120px;
        height: 120px;
    }

    .figma-account .account-identity,
    .figma-account .account-profile > a {
        flex: 1 1 100%;
    }

    .figma-account .account-identity p {
        margin-bottom: 16px;
        font-size: 17px;
        line-height: 24px;
    }

    .figma-account .account-profile > a {
        width: 100%;
    }

    .figma-account .account-status {
        padding: 24px;
    }

    .figma-account .order-progress {
        display: flex;
        flex-direction: column;
        gap: 0;
        margin-top: 24px;
    }

    .figma-account .order-progress::before,
    .figma-account .order-progress::after {
        left: 24px;
        right: auto;
        top: 24px;
        width: 3px;
        height: calc(100% - 48px);
    }

    .figma-account .order-progress::after {
        width: 3px;
        height: var(--order-progress);
    }

    .figma-account .order-progress article {
        display: grid;
        grid-template-columns:50px minmax(0, 1fr);
        align-items: center;
        gap: 14px;
        min-height: 76px;
        text-align: left;
    }

    .figma-account .order-progress i {
        margin: 0;
    }

    .figma-account .order-progress b,
    .figma-account .order-progress small {
        margin: 0;
    }

    .figma-account .account-addresses,
    .figma-account .account-orders {
        min-height: 0;
        padding: 24px;
    }

    .figma-account .account-order-card {
        grid-template-columns:64px minmax(0, 1fr) 62px;
        gap: 10px;
    }

    .figma-account .account-order-card > img {
        width: 64px;
        height: 68px;
    }

    .figma-account .account-orders-summary {
        flex-wrap: wrap;
        gap: 14px 20px;
        padding: 22px 24px;
    }

    .figma-account .account-orders-summary button {
        flex: 1 1 100%;
        margin: 0;
        text-align: center;
    }

    .figma-account .account-all-orders-row {
        grid-template-columns:72px minmax(0, 1fr);
        gap: 14px;
    }

    .figma-account .account-all-orders-row > img {
        width: 72px;
        height: 72px;
    }

    .figma-account .account-all-orders-row time {
        position: static;
        grid-column: 2;
        text-align: left;
    }

    .figma-account .account-all-orders-row > strong {
        position: static;
        grid-column: 2;
        justify-self: end;
    }

    .figma-order .order-page time {
        position: static;
        display: block;
        margin: -30px 0 32px;
        text-align: left;
    }

    .figma-order .order-row {
        grid-template-columns:minmax(0, 1fr) 45px 78px;
    }

    .figma-order .order-row h2 {
        font-size: 16px;
        line-height: 22px;
        letter-spacing: .8px;
    }

    .figma-order .order-row span,
    .figma-order .order-row strong {
        font-size: 14px;
    }

    .figma-order .order-totals > div {
        font-size: 18px;
    }

    .figma-order .order-totals strong,
    .figma-order .order-totals .total strong {
        font-size: 17px;
    }
}

/* ==========================================================================
   Bootstrap refactor: Login / registration / password recovery
   All three states use one content-sized card. JS only changes the active form.
   ========================================================================== */
.figma-auth {
    display: block;
    height: auto;
    min-height: 100vh;
    overflow: auto;
}

.figma-auth > .site-header {
    height: auto;
}

.figma-auth > main {
    min-height: 0;
}

.figma-auth .auth-stage {
    width: 100%;
    height: auto;
    min-height: calc(100svh - 88px);
    overflow: visible;
}

.figma-auth .auth-switcher {
    position: static;
    inset: auto;
    width: min(100%, 820px);
    max-width: 820px;
    min-height: 0;
    height: auto;
    margin: 0;
    padding: 28px clamp(30px, 7vw, 104px) 30px;
    transform: none;
}

.figma-auth .auth-ornament,
.figma-auth .auth-switcher > h1,
.figma-auth .auth-view,
.figma-auth .auth-intro,
.figma-auth .auth-view label,
.figma-auth .auth-text-button,
.figma-auth .auth-submit,
.figma-auth .auth-register-prompt {
    position: static;
    inset: auto;
    width: auto;
}

.figma-auth .auth-ornament {
    height: 42px;
    margin: 0 0 16px;
    gap: clamp(14px, 3vw, 30px);
}

.figma-auth .auth-ornament span {
    flex: 1 1 auto;
    width: auto;
}

.figma-auth .auth-switcher > h1 {
    margin: 0 0 18px;
    text-align: center;
    font-size: clamp(30px, 4vw, 40px);
    line-height: 1.35;
}

.figma-auth .auth-view {
    max-width: 612px;
    margin: 0 auto;
    gap: 13px;
}

.figma-auth .auth-view[hidden] {
    display: none !important;
}

.figma-auth .auth-intro {
    margin: 0 0 4px;
    text-align: center;
}

.figma-auth .auth-view label {
    display: block;
    margin: 0;
}

.figma-auth .auth-view input {
    width: 100%;
    min-height: 58px;
    height: auto;
    margin-top: 5px;
    padding: 12px 18px;
    box-shadow: none;
}

.figma-auth .auth-view input:focus {
    border-color: #d3a14d;
    background: #050505;
    color: #fff;
    box-shadow: 0 0 0 .2rem rgba(187, 137, 55, .16);
}

.figma-auth .auth-text-button {
    min-height: 30px;
    padding: 0;
}

.figma-auth .auth-forgot-link {
    align-self: center;
}

.figma-auth .auth-submit {
    min-height: 58px;
    height: auto;
    margin-top: 2px;
}

.figma-auth .auth-register-prompt {
    margin: 0;
}

.figma-auth .auth-register-prompt button {
    display: inline-block;
    margin-left: 5px;
}

.figma-auth .auth-back-link {
    align-self: center;
    color: #a57f4b;
}

@media (max-width: 1399.98px) {
    .figma-auth .auth-stage {
        min-height: calc(100svh - 72px);
    }
}

@media (max-width: 575.98px) {
    .figma-auth .auth-stage {
        padding: 12px !important;
    }

    .figma-auth .auth-switcher {
        padding: 20px 18px 22px;
    }

    .figma-auth .auth-ornament {
        margin-bottom: 10px;
    }

    .figma-auth .auth-switcher > h1 {
        margin-bottom: 12px;
        font-size: 28px;
        letter-spacing: 3px;
    }

    .figma-auth .auth-view {
        gap: 10px;
    }

    .figma-auth .auth-view input,
    .figma-auth .auth-submit {
        min-height: 52px;
    }

    .figma-auth .auth-view label {
        font-size: 12px;
        line-height: 20px;
    }

    .figma-auth .auth-intro {
        font-size: 13px;
        line-height: 22px;
    }
}

/* ==========================================================================
   Stable branded interaction states
   Bootstrap's generic .btn variables must not replace the gold/red component
   states. Keep hover, keyboard focus and pressed feedback explicit.
   ========================================================================== */
.figma-contact .contact-form button.btn,
.figma-checkout .checkout-promo button.btn,
.figma-account-settings .settings-card-save.btn {
    --bs-btn-color:#090909;
    --bs-btn-bg:#bb8937;
    --bs-btn-border-color:#bb8937;
    --bs-btn-hover-color:#090909;
    --bs-btn-hover-bg:#d2a04d;
    --bs-btn-hover-border-color:#d2a04d;
    --bs-btn-active-color:#090909;
    --bs-btn-active-bg:#936b2b;
    --bs-btn-active-border-color:#936b2b;
    --bs-btn-focus-shadow-rgb:187, 137, 55;
    border-color: #bb8937;
    background-color: #bb8937;
    color: #090909;
    filter: none;
}

.figma-contact .contact-form button.btn:hover,
.figma-checkout .checkout-promo button.btn:hover,
.figma-account-settings .settings-card-save.btn:hover {
    border-color: #d2a04d;
    background-color: #d2a04d;
    color: #090909;
    filter: none;
    box-shadow: 0 6px 18px rgba(187, 137, 55, .22);
}

.figma-contact .contact-form button.btn:active,
.figma-contact .contact-form button.btn.is-pressed,
.figma-checkout .checkout-promo button.btn:active,
.figma-checkout .checkout-promo button.btn.is-pressed,
.figma-account-settings .settings-card-save.btn:active,
.figma-account-settings .settings-card-save.btn.is-pressed {
    border-color: #936b2b !important;
    background-color: #936b2b !important;
    color: #090909 !important;
    filter: none !important;
    transform: translateY(1px);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, .24) !important;
}

.figma-contact .contact-form button.btn:focus-visible,
.figma-checkout .checkout-promo button.btn:focus-visible,
.figma-account-settings .settings-card-save.btn:focus-visible {
    outline: 2px solid #fcae3a !important;
    outline-offset: 3px;
    box-shadow: 0 0 0 .22rem rgba(187, 137, 55, .22);
}

.figma-checkout .checkout-promo button.btn.success,
.figma-checkout .checkout-promo button.btn.success:hover {
    border-color: #178b35;
    background-color: #178b35;
    color: #fff;
    box-shadow: none;
}

.figma-auth .auth-submit.btn {
    --bs-btn-color:#fff;
    --bs-btn-bg:#a57f4b;
    --bs-btn-border-color:#a57f4b;
    --bs-btn-hover-color:#fff;
    --bs-btn-hover-bg:#bb8937;
    --bs-btn-hover-border-color:#bb8937;
    --bs-btn-active-color:#fff;
    --bs-btn-active-bg:#805f34;
    --bs-btn-active-border-color:#805f34;
    border-color: #a57f4b;
    background-color: #a57f4b;
    color: #fff;
    filter: none;
}

.figma-auth .auth-submit.btn:hover {
    border-color: #bb8937;
    background-color: #bb8937;
    color: #fff;
    filter: none;
    box-shadow: 0 6px 18px rgba(187, 137, 55, .22);
}

.figma-auth .auth-submit.btn:active,
.figma-auth .auth-submit.btn.is-pressed {
    border-color: #805f34 !important;
    background-color: #805f34 !important;
    color: #fff !important;
    filter: none !important;
    transform: translateY(1px);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, .25) !important;
}

.figma-auth .auth-submit.btn:focus-visible {
    outline: 2px solid #fcae3a !important;
    outline-offset: 3px;
    box-shadow: 0 0 0 .22rem rgba(187, 137, 55, .22);
}

.figma-auth .auth-text-button,
.figma-auth .auth-register-prompt button {
    filter: none !important;
    box-shadow: none !important;
    transform: none !important;
}

.figma-auth .auth-text-button:hover,
.figma-auth .auth-register-prompt button:hover {
    color: #fcae3a;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.figma-auth .auth-text-button:active,
.figma-auth .auth-register-prompt button:active {
    color: #bb8937 !important;
    filter: none !important;
    box-shadow: none !important;
}

.figma-account-settings .settings-delete.btn {
    --bs-btn-color:#df6969;
    --bs-btn-bg:transparent;
    --bs-btn-border-color:#a43a3a;
    --bs-btn-hover-color:#fff;
    --bs-btn-hover-bg:#a43a3a;
    --bs-btn-hover-border-color:#a43a3a;
    --bs-btn-active-color:#fff;
    --bs-btn-active-bg:#7f2b2b;
    --bs-btn-active-border-color:#7f2b2b;
    border-color: #a43a3a;
    background-color: transparent;
    color: #df6969;
    filter: none;
}

.figma-account-settings .settings-delete.btn:hover,
.figma-account-settings .settings-delete.btn.confirming {
    border-color: #a43a3a;
    background-color: #a43a3a;
    color: #fff;
    filter: none;
    box-shadow: 0 6px 18px rgba(164, 58, 58, .2);
}

.figma-account-settings .settings-delete.btn:active,
.figma-account-settings .settings-delete.btn.is-pressed {
    border-color: #7f2b2b !important;
    background-color: #7f2b2b !important;
    color: #fff !important;
    filter: none !important;
    transform: translateY(1px);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, .28) !important;
}

/* The image and caption are absolutely positioned inside this circular label. */
.figma-account-settings .settings-avatar {
    position: relative;
    isolation: isolate;
}

.figma-account-settings .settings-avatar > small {
    z-index: 2;
    pointer-events: none;
}

.figma-account-settings .settings-avatar > [data-avatar-placeholder] {
    z-index: 1;
}

.figma-account-settings .settings-avatar > [data-avatar-preview] {
    z-index: 0;
}

/* SHARED ASYNC FORM RESPONSE
   The state classes are assigned by sources/js/main.js after a frontend demo
   submission or a real backend JSON response. */
.form-response {
    width: 100%;
    margin: 12px 0 0;
    padding: 10px 12px;
    border: 1px solid transparent;
    border-radius: 4px;
    font: 400 13px/1.45 "Instrument Sans", sans-serif;
    letter-spacing: .2px;
}

.form-response[hidden] {
    display: none !important;
}

.form-response.sending {
    color: #d7ad66;
    border-color: rgba(187, 137, 55, .42);
    background: rgba(187, 137, 55, .09);
}

.form-response.success {
    color: #78d18a;
    border-color: rgba(46, 160, 67, .48);
    background: rgba(46, 160, 67, .1);
}

.form-response.error {
    color: #f08080;
    border-color: rgba(211, 76, 76, .55);
    background: rgba(211, 76, 76, .1);
}

form.is-submitting button[type="submit"] {
    cursor: wait !important;
    opacity: .76;
}

.figma-contact .contact-form > .form-response {
    flex: 0 0 100%;
}

.reservation-form > .form-response {
    grid-column: 1 / -1;
}

.figma-auth .form-response {
    position: fixed;
    z-index: 10050;
    top: 100px;
    right: 20px;
    width: min(420px, calc(100vw - 40px));
    margin: 0;
    box-shadow: 0 14px 40px rgba(0, 0, 0, .45);
    text-align: center;
}

.promo-response {
    display: block;
    margin-top: 8px;
    font: 400 12px/1.4 "Instrument Sans", sans-serif;
}

.promo-response[hidden] {
    display: none !important;
}

.promo-response.sending {
    color: #d7ad66;
}

.promo-response.success {
    color: #78d18a;
}

.promo-response.error {
    color: #f08080;
}
/*
 * HOME STORY
 * The description is managed from the database and may have any height.
 * Keep the photo centered against the complete text column instead of using
 * the fixed top offset from the original static mockup.
 */
@media (min-width: 992px) {
    .figma-home .mh-story {
        height: auto;
        min-height: 763px;
        padding-bottom: 60px;
    }

    .figma-home .mh-story .row {
        align-items: center !important;
    }

    .figma-home .mh-story .col-lg-6 {
        padding-top: 0;
    }
}

@media (min-width: 992px) and (max-width: 1399.98px) {
    .figma-home .mh-story .row {
        flex-wrap: nowrap;
    }

    .figma-home .mh-story .col-lg-4 {
        width: 36%;
        margin-left: 4%;
    }

    .figma-home .mh-story .col-lg-6 {
        width: 56%;
        margin-left: 4%;
    }

    .figma-home .mh-story-photo {
        width: 100%;
        max-width: 376px;
        margin-inline: auto;
    }
}

/* ==========================================================================
   Dynamic copy resilience
   Text in these components comes from translations, settings and database
   records, so their height must be defined by content instead of the mockup.
   ========================================================================== */
.mh-hero {
    height: auto;
    min-height: 640px;
}

.mh-hero-inner {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 552px;
    padding-bottom: 100px;
}

.mh-hero-copy {
    position: relative;
    inset: auto;
    flex: 0 0 auto;
    width: min(900px, calc(100% - 404px));
    min-width: 0;
    margin-top: 56px;
    margin-inline-start: 202px;
}

.mh-lead {
    max-width: 100%;
    margin-bottom: 32px;
    overflow-wrap: anywhere;
}

.mh-hero-copy .mh-button {
    flex: 0 0 auto;
}

/* Long backend values must wrap inside their own grid/flex column. */
.mh-branch-main,
.mh-branch-main h3,
.mh-card-meta,
.mh-card-meta > *,
.menu-section-heading,
.menu-section-heading h2,
.menu-product-copy,
.menu-product h3,
.menu-product p,
.contact-tabs,
.contact-tabs a,
.contact-facts article,
.contact-facts article > div,
.contact-facts h2,
.contact-facts p,
.directions-copy,
.directions-copy h2,
.directions-copy p,
.restaurant-breadcrumb,
.restaurant-hero h1,
.restaurant-hero > div > p,
.restaurant-hero .restaurant-description,
.restaurant-links a,
.checkout-panel,
.checkout-order-item,
.checkout-order-item h3,
.delivery-option > span,
.payment-option span,
.account-order-card,
.order-history-copy,
.site-footer .row > div,
.site-footer a,
.site-footer p {
    min-width: 0;
    overflow-wrap: anywhere;
}

.menu-section-heading {
    flex-wrap: wrap;
}

.menu-section-heading h2 {
    flex: 1 1 260px;
}

.menu-section-heading > a,
.menu-section-heading > .menu-section-toggle {
    margin-inline-start: auto;
}

.contact-facts article,
.restaurant-facts article {
    height: auto;
}

.contact-tabs {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px clamp(18px, 3vw, 42px);
}

.contact-tabs span {
    flex: 0 0 auto;
}

.directions-copy > div,
.restaurant-links {
    flex-wrap: wrap;
}

.figma-account .account-orders-summary button {
    white-space: normal;
}

.checkout-order-item {
    height: auto;
    min-height: 0;
}

.checkout-order-item h3 {
    white-space: normal;
}

.site-footer {
    height: auto;
}

@media (max-width: 1399.98px) {
    .mh-hero {
        min-height: 650px;
    }

    .mh-hero-inner {
        min-height: 650px;
        padding-bottom: 120px;
    }

    .mh-hero-copy {
        width: min(850px, calc(100% - 48px));
        margin-top: 72px;
        margin-inline-start: 24px;
    }
}

@media (max-width: 575.98px) {
    .mh-hero {
        min-height: 620px;
    }

    .mh-hero-inner {
        min-height: 620px;
        padding-bottom: 190px;
    }

    .mh-hero-copy {
        width: calc(100% - 40px);
        margin-top: 55px;
        margin-inline-start: 20px;
    }

    .mh-lead {
        margin-top: 18px;
        margin-bottom: 26px;
    }

    .menu-section-heading h2 {
        flex-basis: 100%;
    }

    .menu-section-heading > a,
    .menu-section-heading > .menu-section-toggle {
        width: 100%;
        margin-inline-start: 0;
        justify-content: flex-start;
    }
}

.figma-account .account-orders.is-full-width {
    flex: 0 0 100%;
    width: 100%;
}

/* The localized "View full menu" label may be wider than the original fixed
   Figma button. Let the CTA size to its content and keep the icon inside. */
.figma-home:not(.figma-menu) .mh-menu-preview .text-end {
    display: flex;
    justify-content: flex-end;
}

.figma-home:not(.figma-menu) .mh-menu-preview .text-end .mh-button {
    width: auto;
    min-width: 215px;
    max-width: 100%;
    padding-inline: 22px;
    justify-content: center;
    gap: 12px;
    white-space: nowrap;
}

.figma-home:not(.figma-menu) .mh-menu-preview .text-end .mh-button .bi {
    flex: 0 0 auto;
}

@media (max-width: 575.98px) {
    .figma-home:not(.figma-menu) .mh-menu-preview .text-end .mh-button {
        width: 100%;
        min-width: 0;
        padding-inline: 16px;
        font-size: clamp(12px, 3.8vw, 16px);
        letter-spacing: clamp(.5px, .3vw, 1.6px);
    }
}

/* ==========================================================================
   Account and account settings: Arabic / RTL
   Bootstrap mirrors its grid automatically, but these pages also contain
   custom progress lines, absolute totals and contact-like values. Keep the
   page flow RTL while email, telephone and password values remain readable
   in their native LTR direction.
   ========================================================================== */
html[dir="rtl"] .figma-account .account-page,
html[dir="rtl"] .figma-account-settings .settings-page {
    text-align: right;
}

html[dir="rtl"] .figma-account .account-profile,
html[dir="rtl"] .figma-account .account-identity,
html[dir="rtl"] .figma-account .account-addresses,
html[dir="rtl"] .figma-account .account-orders,
html[dir="rtl"] .figma-account .account-all-orders-copy,
html[dir="rtl"] .figma-account-settings .settings-card,
html[dir="rtl"] .figma-account-settings .settings-avatar-feedback {
    text-align: right;
}

html[dir="rtl"] .figma-account .account-identity p {
    direction: ltr;
    text-align: right;
}

html[dir="rtl"] .figma-account .order-progress::after {
    right: 25px;
    left: auto;
}

html[dir="rtl"] .figma-account .account-addresses button {
    text-align: right;
}

html[dir="rtl"] .figma-account .account-orders > a.account-order-card time,
html[dir="rtl"] .figma-account .account-all-orders-row time {
    text-align: left;
}

html[dir="rtl"] .figma-account .account-orders > a.account-order-card > strong,
html[dir="rtl"] .figma-account .account-all-orders-row > strong {
    right: auto;
    left: 0;
}

html[dir="rtl"] .figma-account .account-orders strong {
    padding-right: 31px;
    padding-left: 0;
}

html[dir="rtl"] .figma-account .account-order-card > strong {
    padding: 0;
}

html[dir="rtl"] .figma-account-settings .settings-card label,
html[dir="rtl"] .figma-account-settings .settings-card p,
html[dir="rtl"] .figma-account-settings .settings-danger-card > small,
html[dir="rtl"] .figma-account-settings .form-response,
html[dir="rtl"] .figma-account-settings .field-feedback {
    text-align: right;
}

html[dir="rtl"] .figma-account-settings .settings-card input {
    text-align: right;
}

html[dir="rtl"] .figma-account-settings .settings-card input[type="email"],
html[dir="rtl"] .figma-account-settings .settings-card input[type="tel"] {
    direction: ltr;
    text-align: left;
}

html[dir="rtl"] .figma-account-settings .settings-card input[type="password"] {
    direction: ltr;
    text-align: right;
}

@media (max-width: 767.98px) {
    html[dir="rtl"] .figma-account .account-profile,
    html[dir="rtl"] .figma-account .account-identity {
        text-align: center;
    }

    html[dir="rtl"] .figma-account .account-identity p {
        text-align: center;
    }

    html[dir="rtl"] .figma-account .order-progress::before,
    html[dir="rtl"] .figma-account .order-progress::after {
        right: 24px;
        left: auto;
    }

    html[dir="rtl"] .figma-account .order-progress article {
        text-align: right;
    }

    html[dir="rtl"] .figma-account .account-all-orders-row time {
        grid-column: 2;
        text-align: right;
    }

    html[dir="rtl"] .figma-account .account-all-orders-row > strong {
        grid-column: 2;
        justify-self: start;
    }
}

/* Keep consent copy compact after page-specific label rules declared above. */
.figma-auth .auth-view .privacy-consent,
.figma-contact .contact-form .privacy-consent,
.reservation-form .privacy-consent,
.figma-checkout .privacy-consent,
.figma-account-settings .settings-card .confirmation-check {
    display: flex !important;
    gap: 10px;
    color: #b8b4ad;
    font: 400 13px/1.45 Arial, sans-serif;
    letter-spacing: .01em;
}

/* Premium checkout controls: shared visual language for delivery, payment and consent. */
.figma-checkout .delivery-option {
    gap: 0;
    padding: 14px 18px;
    border-color: rgba(165, 127, 75, .42);
    background: linear-gradient(135deg, rgba(20, 17, 12, .72), rgba(5, 5, 5, .96));
    transition: border-color .22s ease, background .22s ease, box-shadow .22s ease, color .22s ease;
}

.figma-checkout .delivery-option:hover,
.figma-checkout .delivery-option:focus-within {
    border-color: #a57f4b;
    box-shadow: 0 0 0 3px rgba(165, 127, 75, .09);
}

.figma-checkout .delivery-option > i {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
}

.figma-checkout .delivery-option > span {
    flex: 1 1 auto;
    overflow-wrap: normal;
}

.figma-checkout .delivery-option b,
.figma-checkout .delivery-option strong {
    white-space: nowrap;
}

.figma-checkout .delivery-option strong {
    margin-inline-start: 16px;
}

.figma-checkout .checkout-payment {
    margin-top: 28px;
    padding: 22px;
    border: 1px solid rgba(165, 127, 75, .42);
    border-radius: 4px;
    background: linear-gradient(145deg, rgba(18, 15, 10, .76), rgba(4, 4, 4, .98));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .018);
}

.figma-checkout .checkout-payment legend {
    width: 100%;
    margin: 0 0 18px;
    color: #c89437;
    font: 400 clamp(17px, 2vw, 20px)/1.4 Prata, serif;
    letter-spacing: 1.2px;
}

.figma-checkout .checkout-payment-options {
    gap: 14px;
}

.figma-checkout .payment-option {
    justify-content: flex-start;
    min-height: 64px;
    height: auto;
    padding: 12px 46px 12px 18px;
    border-color: rgba(165, 127, 75, .4);
    background: #080808;
    color: #a9a49b;
    overflow-wrap: normal;
    text-align: start;
}

.figma-checkout .payment-option::after {
    content: "";
    position: absolute;
    inset-inline-end: 18px;
    width: 16px;
    height: 16px;
    border: 1px solid currentColor;
    border-radius: 50%;
    box-shadow: inset 0 0 0 4px #080808;
    transition: background .2s ease, border-color .2s ease;
}

.figma-checkout .payment-option:has(input:checked) {
    border-color: #c89437;
    background: linear-gradient(135deg, rgba(200, 148, 55, .14), rgba(8, 8, 8, .98));
    color: #d5a548;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
}

.figma-checkout .payment-option:has(input:checked)::after {
    border-color: #d5a548;
    background: #d5a548;
}

.figma-checkout .payment-option > .bi {
    flex: 0 0 auto;
    font-size: 23px;
}

.figma-checkout .payment-option span {
    overflow-wrap: normal;
}

.figma-checkout .checkout-privacy-consent {
    align-items: center;
    margin: 18px 0 0;
    padding: 15px 17px;
    border: 1px solid rgba(165, 127, 75, .34);
    border-radius: 4px;
    background: rgba(8, 8, 8, .78);
}

.figma-checkout .checkout-privacy-consent input[type="checkbox"] {
    flex-basis: 20px;
    width: 20px !important;
    height: 20px !important;
    border-radius: 3px !important;
}

.figma-checkout .checkout-privacy-consent span {
    color: #aaa59d;
    line-height: 1.55;
}

/* Privacy Policy page */
.figma-legal .legal-page {
    min-height: calc(100vh - 88px);
}

.figma-legal .legal-breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 1080px;
    margin: 0 auto;
    color: #777;
    font-size: 12px;
    letter-spacing: .7px;
    text-transform: uppercase;
}

.figma-legal .legal-breadcrumb a {
    color: #f4f0e8;
}

.figma-legal .legal-breadcrumb strong {
    color: #bb8937;
    font-weight: 400;
}

.figma-legal .legal-card {
    border-radius: 4px;
}

.figma-legal .legal-ornament i {
    font-size: 24px;
}

.figma-legal .legal-content {
    max-width: 880px;
    margin: 0 auto;
}

.figma-legal .legal-content p {
    margin: 0 0 1.2rem;
}

.figma-legal .legal-content ul,
.figma-legal .legal-content ol {
    padding-inline-start: 1.4rem;
}

.figma-legal .legal-content a {
    text-underline-offset: 3px;
}

@media (max-width: 575.98px) {
    .figma-checkout .checkout-payment {
        padding: 18px;
    }

    .figma-checkout .checkout-payment-options {
        grid-template-columns:1fr;
    }

    .figma-checkout .delivery-option {
        padding-inline: 14px;
    }

    .figma-checkout .delivery-option strong {
        margin-inline-start: 10px;
        font-size: 12px;
    }

    .figma-legal .legal-page {
        padding-top: 6rem;
    }

    .figma-legal .legal-card {
        margin-top: 1.25rem;
        padding: 1.25rem;
    }

    .figma-legal .legal-card h1 {
        margin-bottom: 1.5rem;
    }

    .figma-legal .legal-content {
        font-size: .96rem;
        line-height: 1.75;
    }
}

html[dir="rtl"] .figma-checkout .payment-option {
    padding: 12px 18px 12px 46px;
}

/* Navigation active marker follows the translated label, not the fixed
   desktop slot that was measured for the English copy. */
.figma-home .site-header .navbar-nav > .nav-item > .nav-link {
    border-bottom: 0;
}

.figma-home .site-header .nav-label {
    position: relative;
    display: inline-block;
}

.figma-home .site-header .nav-label::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    bottom: -8px;
    height: 2px;
    background: transparent;
}

/* Restaurant directions: translated CTA labels stay intact, while the
   contact links remain compact and can wrap as complete controls. */
.figma-contact .directions-copy .directions-actions,
.figma-restaurant .directions-copy .directions-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    margin-top: 28px;
}

.figma-contact .directions-copy .directions-actions > a,
.figma-restaurant .directions-copy .directions-actions > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: auto;
    min-width: 0;
    height: auto;
    min-height: 53px;
    padding: 10px 18px;
    line-height: 1.25;
    overflow-wrap: normal;
    word-break: normal;
    white-space: nowrap;
}

.figma-contact .directions-copy .directions-actions > a:last-child,
.figma-restaurant .directions-copy .directions-actions > a:last-child {
    width: auto;
}

.figma-contact .directions-socials,
.figma-restaurant .restaurant-directions-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.figma-contact .directions-copy .directions-socials > a,
.figma-restaurant .directions-copy .restaurant-directions-socials > a {
    display: inline-flex;
    flex: 0 1 auto;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: auto;
    min-width: 44px;
    min-height: 42px;
    height: auto;
    padding: 8px 13px;
    border: 1px solid rgba(187, 137, 55, .68);
    border-radius: 4px;
    background: rgba(187, 137, 55, .04);
    color: #c99a4d;
    font-size: 13px;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.figma-contact .directions-copy .directions-socials > a:hover,
.figma-contact .directions-copy .directions-socials > a:focus-visible,
.figma-restaurant .directions-copy .restaurant-directions-socials > a:hover,
.figma-restaurant .directions-copy .restaurant-directions-socials > a:focus-visible {
    border-color: #c79232;
    background: rgba(199, 146, 50, .12);
    color: #e2b769;
}

@media (max-width: 575.98px) {
    .figma-contact .directions-copy .directions-actions,
    .figma-restaurant .directions-copy .directions-actions {
        grid-template-columns: 1fr;
    }

    .figma-contact .directions-copy .directions-actions > a,
    .figma-restaurant .directions-copy .directions-actions > a {
        width: 100%;
        padding-inline: 12px;
        font-size: clamp(12px, 4vw, 16px);
    }

    .figma-contact .directions-socials,
    .figma-restaurant .restaurant-directions-socials {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .figma-contact .directions-copy .directions-socials > a,
    .figma-restaurant .directions-copy .restaurant-directions-socials > a {
        width: 100%;
    }

    .figma-contact .directions-copy .directions-socials > a:last-child:nth-child(3),
    .figma-restaurant .directions-copy .restaurant-directions-socials > a:last-child:nth-child(3) {
        grid-column: 1 / -1;
    }
}

.figma-home:not(.figma-branches):not(.figma-menu):not(.figma-contact):not(.figma-restaurant):not(.figma-checkout):not(.figma-auth):not(.figma-account):not(.figma-account-settings):not(.figma-order):not(.figma-legal) .site-header .navbar-nav > .nav-item:nth-child(1) .nav-label::after,
.figma-branches .site-header .navbar-nav > .nav-item:nth-child(2) .nav-label::after,
.figma-menu .site-header .navbar-nav > .nav-item:nth-child(3) .nav-label::after,
.figma-contact .site-header .navbar-nav > .nav-item:nth-child(4) .nav-label::after,
.figma-restaurant .site-header .navbar-nav > .nav-item:nth-child(2) .nav-label::after,
.figma-checkout .site-header .navbar-nav > .nav-item:nth-child(3) .nav-label::after {
    background: #bb8937;
}

/* Shared hero CTA: translated labels must never push the arrow outside. */
.figma-home .mh-hero-copy .mh-button {
    justify-content: center;
    gap: 14px;
    width: max-content;
    min-width: 225px;
    max-width: 100%;
    padding-inline: 22px;
}

.figma-home .mh-hero-copy .mh-button > span {
    min-width: 0;
    white-space: nowrap;
}

.figma-home .mh-hero-copy .mh-button > .bi {
    flex: 0 0 auto;
    margin-inline-start: 2px;
}

@media (max-width: 575.98px) {
    .figma-home .mh-hero-copy .mh-button {
        width: 100%;
        min-width: 0;
        padding-inline: 18px;
        font-size: clamp(11px, 3.8vw, 16px);
        letter-spacing: clamp(.5px, .35vw, 1.6px);
    }
}
