@import "fonts-yekan-bakh.css";

:root {
    --dm-cream: #fef7e0;
    --dm-cream-soft: #fffaf0;
    --dm-ink: #1e2022;
    --dm-ink-soft: #2a2d30;
    --dm-muted: #71869d;
    --dm-accent: #ed4c78;
    --dm-accent-soft: rgba(237, 76, 120, 0.12);
    --dm-border: rgba(30, 32, 34, 0.08);
    --dm-shadow: 0 8px 28px rgba(30, 32, 34, 0.08);
    --dm-shadow-soft: 0 2px 10px rgba(30, 32, 34, 0.05);
    --dm-radius: 1.15rem;
    --dm-radius-sm: 0.85rem;
}

body {
    background-color: #ffffff;
    color: var(--dm-ink);
}

.fw-100 {
    font-family: Yekan-Baakh-Hairline, serif;
    font-weight: 100;
}

.fw-200 {
    font-family: Yekan-Baakh-Thin, serif;
    font-weight: 200;
}

.fw-300 {
    font-family: Yekan-Baakh-Light, serif;
    font-weight: 300;
}

.fw-400 {
    font-family: Yekan-Baakh-Regular, serif;
    font-weight: 400;
}

.fw-500 {
    font-family: Yekan-Baakh-Medium, serif;
    font-weight: 500;
}

.fw-600 {
    font-family: Yekan-Baakh-Bold, serif;
    font-weight: 600;
}

.fw-700 {
    font-family: Yekan-Baakh-Heavy, serif;
    font-weight: 700;
}

.fw-800 {
    font-family: Yekan-Baakh-Fat, serif;
    font-weight: 800;
}

body,
p,
span,
h1,
h2,
h3,
h4,
h5,
h6,
label,
input,
textarea,
select,
button {
    font-family: 'Yekan-Baakh-Regular', serif;
    font-weight: normal;
}

div {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.card-img-top {
    background-color: #fff !important;
    box-shadow: none;
    border-radius: 1rem 1rem 0.65rem 0.65rem !important;
    overflow: hidden;
}

.menu-card-wrap .card.card-flush {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid var(--dm-border);
    border-radius: var(--dm-radius);
    background: #fff;
    box-shadow: var(--dm-shadow-soft);
    overflow: hidden;
    transition:
        transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.25s ease,
        border-color 0.2s ease;
}

.menu-card-wrap .card.card-flush:hover {
    transform: translateY(-3px);
    border-color: rgba(30, 32, 34, 0.14);
    box-shadow: var(--dm-shadow);
}

.menu-card-wrap .card.card-flush:hover .card-img-top {
    transform: none;
    box-shadow: none;
}

.menu-card-wrap .card-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 0.9rem 0.95rem 1.25rem;
    min-height: 0;
    max-height: none;
}

.menu-card-wrap .card-subtitle {
    display: inline-block;
    margin-bottom: 0.25rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--dm-muted);
}

.menu-card-wrap .card-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    margin-bottom: 0.5rem;
    color: var(--dm-ink);
    font-weight: 700;
    line-height: 1.35;
    flex: 1 1 auto;
}

.menu-card-wrap .card-text {
    margin-top: auto;
    margin-bottom: 0;
    padding-top: 0.15rem;
    color: var(--dm-accent) !important;
    font-weight: 700;
}

.menu-card-wrap .card-text .text-secondary {
    color: var(--dm-muted) !important;
    font-weight: 500;
}

.menu-card-wrap .badge.bg-danger,
.menu-card-wrap .badge.rounded-pill.bg-danger {
    background: var(--dm-accent) !important;
    border: none;
    font-weight: 600;
    font-size: 0.72rem;
    padding: 0.35em 0.7em;
    box-shadow: 0 2px 8px rgba(237, 76, 120, 0.25);
}

.card-pinned-top-start {
    top: 0.85rem !important;
    inset-inline-start: 0.75rem !important;
}

@media (min-width: 992px) {
    .card-img-top {
        aspect-ratio: 266 / 328;
    }
}

@media (max-width: 991px) AND (min-width: 768px) {
    .card-img-top {
        aspect-ratio: 266 / 328;
    }
}

@media (min-width: 576px) AND (max-width: 767px) {
    .card-img-top {
        aspect-ratio: 266 / 328;
    }
}

@media (max-width: 576px) {
    .card-img-top {
        aspect-ratio: 266 / 328;
    }
}

.order-button {
    font-weight: 600;
    position: fixed;
    bottom: 1.5rem;
    left: 1.5rem;
    right: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: #1e2022;
    color: #fef7e0;
    padding: 0;
    border: 1px solid rgba(254, 247, 224, 0.1);
    border-radius: 999px;
    font-size: 0.9rem;
    letter-spacing: -0.01em;
    cursor: pointer;
    z-index: 1000;
    line-height: 1;
    width: 3.5rem;
    height: 3.5rem;
    min-width: 3.5rem;
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition:
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        width 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        min-width 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        padding 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        gap 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        background-color 0.2s ease,
        box-shadow 0.25s ease,
        border-color 0.2s ease;
    box-shadow:
        0 8px 24px rgba(30, 32, 34, 0.2),
        0 2px 6px rgba(30, 32, 34, 0.12);
}

.order-button:hover,
.order-button:focus-visible {
    background: #2a2d30;
    border-color: rgba(254, 247, 224, 0.18);
    transform: translate3d(0, -2px, 0);
    box-shadow:
        0 12px 28px rgba(30, 32, 34, 0.24),
        0 4px 10px rgba(30, 32, 34, 0.14);
    outline: none;
}

.order-button:active {
    transform: translate3d(0, 0, 0) scale(0.97);
}

.shake {
    animation: shake 1s infinite;
}

.order-button i,
.order-button .bi {
    margin: 0;
    padding: 0;
    color: #fef7e0;
    display: block;
    line-height: 0;
    width: 1em;
    height: 1em;
    font-size: 1.25rem;
}

.order-button i::before,
.order-button .bi::before {
    display: block;
    line-height: 1;
    width: 1em;
    height: 1em;
    vertical-align: 0;
}

.cart-fab-face {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    flex-shrink: 0;
    line-height: 0;
}

.cart-fab-badge {
    position: absolute;
    top: -0.55rem;
    inset-inline-end: -0.7rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.2rem;
    height: 1.2rem;
    padding: 0 0.3rem;
    border-radius: 999px;
    background: #ed4c78;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1;
    border: 2px solid #1e2022;
    box-shadow: 0 2px 6px rgba(237, 76, 120, 0.35);
}

.cart-fab-status {
    position: absolute;
    bottom: -0.2rem;
    inset-inline-start: -0.25rem;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    border: 2px solid #1e2022;
    flex-shrink: 0;
    display: none;
}

#online-indicator.online {
    display: block;
    background-color: #5bc6a8;
}

#online-indicator.offline {
    display: block;
    background-color: #ed4c78;
}

/* Define shake animation */
@keyframes shake {
    0% {
        transform: translate3d(0, 0, 0);
    }

    25% {
        transform: translate3d(-4px, 0, 0);
    }

    50% {
        transform: translate3d(4px, 0, 0);
    }

    75% {
        transform: translate3d(-3px, 0, 0);
    }

    100% {
        transform: translate3d(0, 0, 0);
    }
}

@media (max-width: 576px) {
    #restaurant-status {
        width: 100%;
    }

    #restaurant-status .badge {
        width: 100%;
        white-space: normal;
    }
}

.modal {
    z-index: 10000;
}

/* Site modals — match cart box UI */
.modal-backdrop {
    z-index: 9990;
    background: rgba(30, 32, 34, 0.4);
}

.modal-backdrop.show {
    opacity: 1;
}

/* Sticky category / header sit above default backdrop — pull them under when a modal is open.
   Product gallery uses its own overlay (z-index 9999) and already covers these. */
body.modal-open .category-nav-shell {
    z-index: 1;
}

body.modal-open .site-header,
body.modal-open #header {
    z-index: 1;
}

.site-modal .modal-dialog {
    max-width: 420px;
    margin: 1rem auto;
}

.site-modal-content {
    position: relative;
    border: 1px solid rgba(30, 32, 34, 0.08);
    border-radius: 1.25rem;
    background: linear-gradient(180deg, #fef7e0 0%, #fff 6.5rem);
    box-shadow:
        0 16px 40px rgba(30, 32, 34, 0.14),
        0 2px 8px rgba(30, 32, 34, 0.06);
    overflow: hidden;
}

.site-modal-close {
    position: absolute;
    top: 0.85rem;
    inset-inline-start: 0.85rem;
    z-index: 2;
    opacity: 0.55;
    padding: 0.45rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 999px;
    box-sizing: content-box;
}

.site-modal-close:hover {
    opacity: 1;
    background: #fff;
}

.site-modal-body {
    padding: 1.5rem 1.25rem 1.35rem;
    text-align: center;
}

.site-modal-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    margin: 0 auto 0.85rem;
    border-radius: 999px;
    background: #1e2022;
    color: #fef7e0;
    font-size: 1.15rem;
    line-height: 0;
}

.site-modal-icon > i,
.site-modal-icon > .bi,
.site-modal-icon > .fa {
    display: block;
    line-height: 0;
    width: 1em;
    height: 1em;
    margin: 0;
    padding: 0;
}

.site-modal-icon > i::before,
.site-modal-icon > .bi::before,
.site-modal-icon > .fa::before {
    display: block;
    line-height: 1;
    width: 1em;
    height: 1em;
    vertical-align: 0;
}

.site-modal-title {
    margin: 0 0 0.35rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e2022;
    line-height: 1.35;
}

.site-modal-text {
    margin: 0 0 1.15rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: #71869d;
    line-height: 1.6;
}

.site-modal-status {
    display: block;
    margin-bottom: 1rem;
}

.site-modal-status .badge {
    font-weight: 600;
    font-size: 0.8rem;
    line-height: 1.45;
    white-space: normal;
}

.site-modal-actions {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.site-modal-actions-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.site-modal-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: 100%;
    min-height: 2.75rem;
    padding: 0.65rem 1.1rem;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    border: 1px solid transparent;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.site-modal-actions-row .site-modal-btn {
    width: auto;
    flex: 1 1 calc(50% - 0.25rem);
    min-width: 9rem;
}

.site-modal-btn:hover,
.site-modal-btn:focus {
    text-decoration: none;
    transform: translateY(-1px);
}

.site-modal-btn-primary {
    background: #1e2022;
    color: #fef7e0;
}

.site-modal-btn-primary:hover,
.site-modal-btn-primary:focus {
    background: #2a2d30;
    color: #fef7e0;
}

.site-modal-btn-accent {
    background: #ed4c78;
    color: #fff;
}

.site-modal-btn-accent:hover,
.site-modal-btn-accent:focus {
    background: #db3f6a;
    color: #fff;
}

.site-modal-btn-secondary {
    background: #fff;
    color: #1e2022;
    border-color: rgba(30, 32, 34, 0.12);
    box-shadow: 0 1px 3px rgba(30, 32, 34, 0.06);
}

.site-modal-btn-secondary:hover,
.site-modal-btn-secondary:focus {
    background: #fef7e0;
    color: #1e2022;
    border-color: rgba(30, 32, 34, 0.16);
}

.site-modal-btn-ghost {
    background: #fff;
    color: #1e2022;
    border-color: rgba(30, 32, 34, 0.1);
    font-family: inherit;
    direction: ltr;
}

.site-modal-btn-ghost:hover,
.site-modal-btn-ghost:focus {
    background: rgba(30, 32, 34, 0.04);
    color: #1e2022;
}

.site-modal-btn-ghost i {
    color: #ed4c78;
}

.site-modal-card {
    margin-top: 0.75rem;
    padding: 1rem;
    border-radius: 0.95rem;
    background: #fff;
    border: 1px solid rgba(30, 32, 34, 0.06);
    box-shadow: 0 2px 8px rgba(30, 32, 34, 0.04);
    text-align: center;
}

.site-modal-card-label {
    display: block;
    margin-bottom: 0.85rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: #71869d;
    line-height: 1.55;
}

.site-modal-card-label strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    margin-top: 0.35rem;
    font-size: 0.98rem;
    font-weight: 700;
    color: #1e2022;
}

.site-modal-card-label strong i {
    color: #ed4c78;
}


/* RECIPE */

.step-container {
    position: relative;
    padding: 20px;
    color: white;
    border-radius: 15px;
}

.progress-container {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
}

.step-content {
    display: none;
}

.step-content.active {
    display: block;
}

.inline-style-0 {
    min-width: 34px;
    max-width: 34px;
}

.inline-style-1 {
    vertical-align: middle;
    line-height: 0.5em
}

.inline-style-2 {
    vertical-align: middle;
}

.inline-style-3 {
    letter-spacing: .05em;
    cursor: pointer;
}

.inline-style-4 {
    letter-spacing: .05em;
    cursor: pointer;
}

.inline-style-5 {
    background: rgb(0, 0, 0);
    background: linear-gradient(0deg, rgba(0, 0, 0, 0) 0%, rgba(252, 176, 69, 0.00) 100%);
}

.inline-style-6 {
    display: none;
}

.inline-style-7 {
    display: none;
}

.inline-style-8 {
    max-width: 7.8rem;
}

.inline-style-9 {
    max-width: 23.6rem;
}

.inline-style-10 {
    background-color: #F8FAFD;
    width: 100%;
    aspect-ratio: 266 / 328;
}

.card-img-top .menu-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    aspect-ratio: 266 / 328;
}

.inline-style-11 {
    min-height: 7.75rem;
}

.inline-style-12 {
    visibility: visible;
    background: #eee;
}

.inline-style-12:hover {
    background-color: #647b9119;
}

.inline-style-12 i {
    position: relative;
    top: 2px;
}

.inline-style-12:hover i {
    color: #ffc694 !important;
    transition: color 0.3s ease, top 0.3s ease;
}

.category-nav-shell {
    position: sticky;
    top: var(--category-nav-sticky-top, 6px);
    z-index: 1010;
    width: 100%;
    margin: 0 auto;
    padding: 0.5rem 0.5rem 1rem;
    overflow: visible;
    isolation: isolate;
}

.category-nav-shell::before {
    content: '';
    position: absolute;
    left: 50%;
    top: calc(-1 * var(--category-nav-sticky-top, 6px));
    width: 100vw;
    height: calc(100% + var(--category-nav-sticky-top, 6px) + 5.5rem);
    transform: translateX(-50%);
    pointer-events: none;
    z-index: -1;
    opacity: 0;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.94) 0%,
        rgba(255, 255, 255, 0.78) 42%,
        rgba(255, 255, 255, 0.35) 72%,
        rgba(255, 255, 255, 0) 100%
    );
    -webkit-backdrop-filter: blur(16px) saturate(1.12);
    backdrop-filter: blur(16px) saturate(1.12);
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 45%, rgba(0, 0, 0, 0.45) 72%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, #000 45%, rgba(0, 0, 0, 0.45) 72%, transparent 100%);
    transition: opacity 0.28s ease;
}

.category-nav-shell.is-stuck::before {
    opacity: 1;
}

.category-nav-shell.is-stuck .nav.nav-segment {
    background: rgba(255, 255, 255, 0.72);
    -webkit-backdrop-filter: blur(18px) saturate(1.15);
    backdrop-filter: blur(18px) saturate(1.15);
    box-shadow: 0 6px 22px rgba(30, 32, 34, 0.1);
}

.nav.nav-segment {
    position: relative;
    display: block;
    width: 100%;
    max-width: max-content;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
    overflow: visible;
    background: #fff;
    backdrop-filter: blur(12px);
    border: 1px solid var(--dm-border);
    border-radius: 999px;
    box-shadow: var(--dm-shadow-soft);
    transition: background 0.28s ease, backdrop-filter 0.3s ease, box-shadow 0.28s ease;
}

.nav.nav-segment > .d-flex {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.2rem;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin: 0;
    padding: 0.45rem !important;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    direction: rtl;
    -ms-overflow-style: none;
    scrollbar-width: none;
    scroll-behavior: smooth;
}

.nav.nav-segment > .d-flex::-webkit-scrollbar {
    display: none;
}

.category-nav-shell + .menu-section,
.menu-section-first {
    margin-top: 2.5rem;
}

.nav.nav-segment .nav-link {
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
    padding: 0.45rem 0.95rem;
    line-height: 1.45;
    flex-shrink: 0;
    white-space: nowrap;
    color: var(--dm-muted);
    font-weight: 600;
    border-radius: 999px;
}

.nav.nav-segment .nav-link:hover {
    background-color: rgba(30, 32, 34, 0.05);
    color: var(--dm-ink);
}

.nav.nav-segment .nav-link.active,
.nav.nav-segment .nav-link.active:hover {
    background-color: var(--dm-ink);
    color: var(--dm-cream);
}

.menu-section > h2 {
    width: auto !important;
    max-width: 20rem;
    margin-bottom: 0.65rem !important;
    font-weight: 700;
    color: var(--dm-ink);
    position: relative;
}

.menu-section > h2::after {
    content: '';
    display: block;
    width: 2.5rem;
    height: 3px;
    margin: 0.65rem auto 0;
    border-radius: 999px;
    background: var(--dm-accent);
}

.menu-section > p.text-muted {
    color: var(--dm-muted) !important;
    font-size: 0.95rem;
}

/* Site header / hero / features / footer */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid var(--dm-border) !important;
}

.site-top-band {
    background: transparent;
    padding-bottom: 0.25rem;
}

.site-hero {
    padding: 2.25rem 0 1.75rem;
    text-align: center;
    background: transparent;
}

.site-header-action {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    border: 1px solid var(--dm-border);
    background: #fff;
    color: var(--dm-ink);
    font-weight: 600;
    font-size: 0.92rem;
    text-decoration: none;
    box-shadow: var(--dm-shadow-soft);
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
    cursor: pointer;
}

.site-header-action:hover,
.site-header-action:focus {
    background: var(--dm-cream);
    border-color: rgba(30, 32, 34, 0.14);
    color: var(--dm-ink);
    text-decoration: none;
    transform: translateY(-1px);
}

.site-header-action i {
    color: var(--dm-accent);
    line-height: 0;
}

@media (max-width: 420px) {
    .site-header-action span {
        display: none;
    }
}

.site-hero-brand {
    margin: 0 0 0.5rem;
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    font-weight: 700;
    color: var(--dm-ink);
    letter-spacing: -0.02em;
}

.site-hero-typed {
    margin: 0;
    font-size: clamp(1.15rem, 2.4vw, 1.65rem);
    font-weight: 600;
    color: var(--dm-muted);
    line-height: 1.5;
}

.site-hero-typed .text-highlight-warning {
    background: linear-gradient(180deg, transparent 62%, rgba(237, 76, 120, 0.22) 62%);
    color: var(--dm-ink);
    padding: 0 0.15em;
}

.site-features {
    margin: 0 0 3rem;
    padding: 2rem 1.25rem;
    border-radius: 1.5rem;
    background: linear-gradient(180deg, var(--dm-cream) 0%, #fff 55%);
    border: 1px solid var(--dm-border);
    box-shadow: var(--dm-shadow-soft);
}

.site-features-title {
    margin: 0 0 0.4rem;
    font-weight: 700;
    color: var(--dm-ink);
}

.site-features-lead {
    margin: 0 0 1.75rem;
    color: var(--dm-muted);
}

.site-feature {
    height: 100%;
    padding: 1.15rem 0.85rem;
    border-radius: var(--dm-radius-sm);
    background: #fff;
    border: 1px solid var(--dm-border);
    box-shadow: var(--dm-shadow-soft);
    text-align: center;
}

.site-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    margin: 0 auto 0.85rem;
    border-radius: 999px;
    background: var(--dm-ink);
    color: var(--dm-cream);
    font-size: 1.1rem;
    line-height: 0;
}

.site-feature-icon > i {
    display: block;
    line-height: 0;
    width: 1em;
    height: 1em;
}

.site-feature-icon > i::before {
    display: block;
    line-height: 1;
    width: 1em;
    height: 1em;
    vertical-align: 0;
}

.site-feature h3 {
    margin: 0 0 0.35rem;
    font-weight: 700;
    color: var(--dm-ink);
}

.site-feature p {
    margin: 0;
    color: var(--dm-muted);
}

.site-footer {
    background: linear-gradient(180deg, #fff 0%, var(--dm-cream-soft) 100%) !important;
    border-top: 1px solid var(--dm-border);
    padding-top: 2.5rem !important;
    padding-bottom: 2rem !important;
}

.site-footer-brand {
    display: inline-block;
    margin-bottom: 0.75rem;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--dm-ink);
    text-decoration: none;
    background: linear-gradient(180deg, transparent 62%, rgba(237, 76, 120, 0.22) 62%);
    padding: 0 0.1em;
}

.site-footer-brand:hover {
    color: var(--dm-ink);
}

.site-footer-social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    padding-left: 0;
    padding-right: 0;
}

.site-footer-social .list-inline-item {
    margin: 0 !important;
    display: flex;
}

.site-footer-social .btn {
    width: 2.5rem;
    height: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--dm-border);
    background: #fff;
    color: var(--dm-ink);
    box-shadow: var(--dm-shadow-soft);
    line-height: 0;
}

.site-footer-social .btn:hover {
    background: var(--dm-ink);
    color: var(--dm-cream);
    border-color: var(--dm-ink);
}

.site-footer-social .btn i {
    display: block;
    line-height: 0;
    width: 1em;
    height: 1em;
}

.site-footer-social .btn i::before {
    display: block;
    line-height: 1;
    vertical-align: 0;
}

.js-go-to.go-to {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 999px;
    background: var(--dm-ink) !important;
    border: 1px solid rgba(254, 247, 224, 0.12);
    box-shadow: var(--dm-shadow);
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

.js-go-to.go-to i,
.js-go-to.go-to .bi {
    color: var(--dm-cream) !important;
    display: block;
    line-height: 0;
    width: 1em;
    height: 1em;
}

.js-go-to.go-to i::before,
.js-go-to.go-to .bi::before {
    display: block;
    line-height: 1;
    vertical-align: 0;
}

.js-go-to.go-to:hover {
    background: var(--dm-ink-soft) !important;
}

.js-go-to.go-to:hover i {
    color: var(--dm-cream) !important;
    top: 0 !important;
}

footer {
    background-color: transparent !important;
}

/* Online cart */
.cart-icon-inline {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.cart-icon-inline > i,
.cart-icon-inline > .bi,
.cart-icon-inline > .fa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    flex-shrink: 0;
}

.cart-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 0;
    position: relative;
    flex-shrink: 0;
}

.cart-icon-btn--plus::before,
.cart-icon-btn--plus::after,
.btn-add-cart:not(.recipe-add-cart)::before,
.btn-add-cart:not(.recipe-add-cart)::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    background: currentColor;
    border-radius: 1px;
    transform: translate(-50%, -50%);
}

.cart-icon-btn--plus::before,
.btn-add-cart:not(.recipe-add-cart)::before {
    width: 11px;
    height: 1.5px;
}

.cart-icon-btn--plus::after,
.btn-add-cart:not(.recipe-add-cart)::after {
    width: 1.5px;
    height: 11px;
}

.cart-icon-btn--minus::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 11px;
    height: 1.5px;
    background: currentColor;
    border-radius: 1px;
    transform: translate(-50%, -50%);
}

.cart-icon-btn--trash i,
.cart-remove-btn i {
    display: block !important;
    font-size: 0.95rem;
    line-height: 0;
    width: 1em;
    height: 1em;
    margin: 0;
    padding: 0;
}

.cart-icon-btn--trash i::before,
.cart-remove-btn i::before {
    display: block;
    line-height: 1;
    width: 1em;
    height: 1em;
    vertical-align: 0;
}

.order-button.has-items {
    width: auto;
    padding-inline: 0.95rem 1.15rem;
    gap: 0.6rem;
    background: #1e2022;
    color: #fef7e0;
    border-color: rgba(237, 76, 120, 0.35);
    box-shadow:
        0 10px 28px rgba(30, 32, 34, 0.22),
        0 2px 8px rgba(237, 76, 120, 0.18);
}

.order-button.has-items:hover,
.order-button.has-items:focus-visible {
    background: #2a2d30;
    border-color: rgba(237, 76, 120, 0.5);
}

.cart-fab-label {
    display: inline-block;
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    white-space: nowrap;
    vertical-align: middle;
    font-size: 0.88rem;
    font-weight: 600;
    transition:
        max-width 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.28s ease,
        margin 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    margin-inline-start: 0;
}

.order-button.has-items .cart-fab-label {
    max-width: 6rem;
    opacity: 1;
}

.btn-cart-primary {
    background-color: #1e2022;
    color: #fef7e0;
    border: none;
}

.btn-cart-primary:hover,
.btn-cart-primary:focus {
    background-color: #141516;
    color: #fef7e0;
}

.menu-cards-row {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 0;
}

.menu-cards-row > .col {
    display: flex;
    margin-bottom: 1.5rem;
}

.menu-card-wrap {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* Keep cards readable when the cart sidebar shrinks the main column */
@media (min-width: 1200px) and (max-width: 1599.98px) {
    body.has-cart-sidebar .menu-cards-row.row-cols-xl-4 > * {
        width: 33.33333333%;
    }
}

.menu-card-add-layer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    aspect-ratio: 266 / 328;
    pointer-events: none;
    z-index: 4;
}

.menu-card-add-layer .btn-add-cart,
.menu-card-add-layer .menu-card-control {
    pointer-events: auto;
}

.btn-add-cart {
    position: absolute;
    bottom: 0.65rem;
    inset-inline-start: 0.65rem;
    top: auto;
    z-index: 3;
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: #1e2022;
    color: #fef7e0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
    transition: transform 0.15s ease, background-color 0.15s ease;
}

/* Menu card qty control: morphs from dark + circle → cart stepper */
.menu-card-control.cart-qty-stepper {
    position: absolute;
    bottom: 0.65rem;
    inset-inline-start: 0.65rem;
    top: auto;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-sizing: border-box;
    transition:
        background-color 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        padding 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        gap 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        max-width 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        width 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        height 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.menu-card-control.is-collapsed {
    width: 2.25rem;
    height: 2.25rem;
    max-width: 2.25rem;
    padding: 0;
    gap: 0;
    background: #1e2022;
    border-color: transparent;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
}

.menu-card-control.is-expanded {
    width: auto;
    height: auto;
    max-width: 8rem;
    /* same as .cart-qty-stepper */
    padding: 0.15rem;
    gap: 0.15rem;
    background: #f4f5f7;
    border: 1px solid rgba(30, 32, 34, 0.06);
    box-shadow: none;
}

.menu-card-control .menu-card-qty {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1;
    overflow: hidden;
    transition:
        opacity 0.28s ease,
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        min-width 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        max-width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.menu-card-control .cart-qty-btn {
    flex-shrink: 0;
    transition:
        background-color 0.28s ease,
        color 0.28s ease,
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.28s ease,
        width 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        height 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.28s ease;
}

.menu-card-control.is-collapsed .cart-icon-btn--minus,
.menu-card-control.is-collapsed .menu-card-qty {
    width: 0;
    min-width: 0;
    max-width: 0;
    height: 0;
    opacity: 0;
    transform: scale(0.4);
    pointer-events: none;
    border: none;
    box-shadow: none;
    padding: 0;
    margin: 0;
}

.menu-card-control.is-collapsed .cart-icon-btn--plus {
    width: 2.25rem;
    height: 2.25rem;
    background: transparent;
    color: #fef7e0;
    box-shadow: none;
}

.menu-card-control.is-collapsed:hover .cart-icon-btn--plus,
.menu-card-control.is-collapsed:focus-within .cart-icon-btn--plus {
    color: #fff;
}

.menu-card-control.is-collapsed:hover,
.menu-card-control.is-collapsed:focus-within {
    background: #ed4c78;
    transform: scale(1.08);
}

.menu-card-control.is-expanded .menu-card-qty {
    min-width: 1.65rem;
    max-width: 2.25rem;
    opacity: 1;
    transform: scale(1);
}

.menu-card-control.is-expanded .cart-qty-btn {
    width: 1.85rem;
    height: 1.85rem;
    background: #fff;
    color: #1e2022;
    box-shadow: 0 1px 3px rgba(30, 32, 34, 0.08);
}

.menu-card-control.is-expanded .cart-qty-btn:hover {
    background: #fef7e0;
}

.menu-card-control.is-morphing-in {
    animation: menu-control-expand 0.38s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.menu-card-control.is-morphing-out {
    animation: menu-control-collapse 0.3s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.menu-card-qty--pulse {
    animation: cart-qty-pop 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes menu-control-expand {
    0% {
        transform: scale(0.92);
    }
    60% {
        transform: scale(1.04);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes menu-control-collapse {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(0.92);
    }
}

/* Bootstrap plus glyph is optically off-center in a circle — draw our own */
.btn-add-cart:not(.recipe-add-cart) i {
    display: none;
}

.btn-add-cart.recipe-add-cart {
    position: static;
    width: auto;
    height: auto;
    padding: 0.45rem 1.1rem;
    box-shadow: none;
    font-size: 0.95rem;
}

.btn-add-cart:hover,
.btn-add-cart:focus {
    background: #ed4c78;
    color: #fff;
    transform: scale(1.08);
}

.btn-add-cart.added {
    background: #5bc6a8;
    color: #1e2022;
}

.card.card-flush {
    position: relative;
}

/* Left cart box — fixed while scrolling (not a full-height drawer) */
:root {
    --cart-box-width: 340px;
    --cart-box-gap: 1.25rem;
    --cart-box-max-height: calc(100vh - 2.5rem);
    --cart-sidebar-offset: calc(var(--cart-box-width) + (var(--cart-box-gap) * 2));
}

.cart-sidebar {
    position: fixed;
    left: var(--cart-box-gap);
    top: var(--cart-box-gap);
    bottom: auto;
    right: auto;
    width: min(var(--cart-box-width), calc(100vw - 1.5rem));
    max-height: var(--cart-box-max-height);
    height: auto;
    z-index: 1045;
    direction: rtl;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #fef7e0 0%, #fff 7rem);
    border: 1px solid rgba(30, 32, 34, 0.08);
    border-radius: 1.25rem;
    box-shadow:
        0 16px 40px rgba(30, 32, 34, 0.14),
        0 2px 8px rgba(30, 32, 34, 0.06);
    transform: translate3d(calc(-100% - var(--cart-box-gap)), 0, 0);
    opacity: 0;
    visibility: hidden;
    transition:
        transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.3s ease,
        visibility 0.3s ease;
    pointer-events: none;
    overflow: hidden;
}

.cart-sidebar.is-expanded {
    transform: translate3d(0, 0, 0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    height: var(--cart-box-max-height);
}

.cart-sidebar-inner {
    display: flex;
    flex-direction: column;
    direction: rtl;
    width: 100%;
    height: 100%;
    min-height: 0;
    overflow: hidden;
}

.cart-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    flex-shrink: 0;
    border-bottom: 1px solid rgba(30, 32, 34, 0.07);
}

.cart-sidebar-header .cart-sidebar-close {
    display: block;
    flex-shrink: 0;
    opacity: 0.55;
    transition: opacity 0.2s ease;
}

.cart-sidebar-header .cart-sidebar-close:hover {
    opacity: 1;
}

.cart-flow-stepper {
    flex-shrink: 0;
    padding: 0.55rem 0.85rem 0.65rem;
    border-bottom: 1px solid rgba(30, 32, 34, 0.07);
}

.cart-flow-stepper-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.cart-flow-step-item {
    flex: 1;
    min-width: 0;
    display: flex;
    justify-content: center;
}

.cart-flow-step-connector {
    flex: 0 0 1rem;
    height: 2px;
    background: rgba(30, 32, 34, 0.12);
    margin-top: -0.25rem;
}

.cart-flow-stepper-list .cart-flow-step-item.is-complete + .cart-flow-step-connector,
.cart-flow-stepper-list .cart-flow-step-connector.is-complete {
    background: #ed4c78;
}

.cart-flow-step {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    width: 100%;
    padding: 0.25rem 0.2rem;
    border: none;
    background: transparent;
    color: #5c6b7a;
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.2;
    text-align: center;
    border-radius: 0.55rem;
    transition: color 0.2s ease, background 0.2s ease;
}

button.cart-flow-step:not(:disabled) {
    cursor: pointer;
}

button.cart-flow-step.is-clickable:hover,
button.cart-flow-step.is-clickable:focus-visible {
    color: #1e2022;
    background: rgba(30, 32, 34, 0.05);
}

.cart-flow-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 999px;
    border: 2px solid #9aa7b5;
    font-size: 0.68rem;
    font-weight: 700;
    color: #5c6b7a;
    background: #fff;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.cart-flow-step.is-active .cart-flow-step-num {
    border-color: #ed4c78;
    background: #ed4c78;
    color: #fff;
    box-shadow: 0 0 0 3px rgba(237, 76, 120, 0.22);
}

.cart-flow-step.is-complete .cart-flow-step-num {
    border-color: #ed4c78;
    color: #ed4c78;
    background: #fff;
}

.cart-flow-step.is-active {
    color: #1e2022;
    font-weight: 700;
}

.cart-flow-step.is-complete {
    color: #1e2022;
    font-weight: 600;
}

.cart-flow-step.is-disabled {
    color: #8a96a3;
    pointer-events: none;
    cursor: default;
}

.cart-flow-step.is-disabled .cart-flow-step-num {
    border-color: #c5ced6;
    color: #8a96a3;
    background: #fff;
    box-shadow: none;
}

span.cart-flow-step {
    cursor: default;
    pointer-events: none;
}

.cart-flow-step:disabled {
    cursor: default;
}

.cart-flow-step:disabled:not(.is-active):not(.is-complete) {
    color: #8a96a3;
}

.cart-flow-step:disabled:not(.is-active):not(.is-complete) .cart-flow-step-num {
    border-color: #c5ced6;
    color: #8a96a3;
    background: #fff;
    box-shadow: none;
}

.cart-sidebar-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    flex: 1;
    min-width: 0;
    margin: 0;
}

.cart-sidebar-title-label {
    line-height: 1.2;
    white-space: nowrap;
}

.cart-header-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    background: rgba(30, 32, 34, 0.07);
    font-size: 0.72rem;
    font-weight: 600;
    color: #71869d;
    line-height: 1.2;
    white-space: nowrap;
}

.cart-sidebar-panels {
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
    direction: ltr;
    unicode-bidi: isolate;
}

.cart-sidebar-track {
    display: flex;
    height: 100%;
    direction: ltr;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.cart-sidebar-panel {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
    direction: rtl;
}

.cart-sidebar.is-panel-animating .cart-sidebar-track {
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.cart-checkout-scroll {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 0.85rem 1rem 0.5rem;
}

.cart-checkout-scroll::-webkit-scrollbar {
    width: 5px;
}

.cart-checkout-scroll::-webkit-scrollbar-thumb {
    background: rgba(30, 32, 34, 0.15);
    border-radius: 999px;
}

.cart-checkout-form .form-control {
    border-radius: 0.65rem;
}

.checkout-delivery-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.checkout-delivery-option {
    display: block;
    margin: 0;
    cursor: pointer;
}

.checkout-delivery-input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.checkout-delivery-option-body {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.75rem 0.9rem;
    border: 1px solid rgba(30, 32, 34, 0.12);
    border-radius: 0.75rem;
    background: #fff;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.checkout-delivery-option:hover .checkout-delivery-option-body {
    border-color: rgba(30, 32, 34, 0.2);
}

.checkout-delivery-input:checked + .checkout-delivery-option-body {
    border-color: #1e2022;
    background: rgba(30, 32, 34, 0.06);
}

.checkout-delivery-input:focus-visible + .checkout-delivery-option-body {
    outline: 2px solid rgba(30, 32, 34, 0.28);
    outline-offset: 2px;
}

.checkout-delivery-option-radio {
    flex-shrink: 0;
    width: 1.2rem;
    height: 1.2rem;
    margin-top: 0.12rem;
    border: 2px solid #1e2022;
    border-radius: 50%;
    background: #fff;
    position: relative;
    box-sizing: border-box;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.checkout-delivery-input:checked + .checkout-delivery-option-body .checkout-delivery-option-radio {
    background: #1e2022;
    border-color: #1e2022;
}

.checkout-delivery-input:checked + .checkout-delivery-option-body .checkout-delivery-option-radio::after {
    content: '';
    position: absolute;
    top: 45%;
    left: 50%;
    width: 0.32rem;
    height: 0.55rem;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: translate(-50%, -58%) rotate(45deg);
}

.checkout-delivery-option-label {
    flex: 1;
    min-width: 0;
    line-height: 1.45;
    font-size: 0.95rem;
    color: #1e2022;
}

.cart-checkout-footer {
    flex-shrink: 0;
    padding: 0.85rem 1rem 1.15rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff 24%);
    border-top: 1px solid rgba(30, 32, 34, 0.07);
}

.cart-success-state {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2.85rem 1.25rem 2rem;
}

.cart-success-icon {
    font-size: 3.25rem;
    color: #198754;
    margin-bottom: 1rem;
    line-height: 1;
}

.cart-success-lead {
    font-size: 0.95rem;
    margin: 0;
}

.bg-soft-success {
    background-color: #d1e7dd !important;
}

.bg-soft-warning {
    background-color: #ffe8a3 !important;
}

.bg-soft-danger {
    background-color: #f8d7da !important;
}

.badge.bg-soft-success,
.badge.bg-soft-success.text-success {
    color: #0a3622 !important;
    font-weight: 600;
}

.badge.bg-soft-warning,
.badge.bg-soft-warning.text-warning {
    color: #664d03 !important;
    font-weight: 600;
}

.badge.bg-soft-danger,
.badge.bg-soft-danger.text-danger {
    color: #58151c !important;
    font-weight: 600;
}

#checkout-submit.is-loading {
    opacity: 0.85;
    pointer-events: none;
}

.cart-sidebar-body {
    flex: 1;
    min-height: 0;
    padding: 0.85rem 1rem 0;
    overflow: hidden;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

.cart-removed-notice {
    margin: 0 0 0.75rem;
    border-radius: 0.65rem;
    border: none;
    background: rgba(237, 76, 120, 0.1);
    color: #1e2022;
}

.cart-empty-state {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.75rem 1.25rem;
    min-height: 11rem;
    color: #71869d;
}

.cart-empty-icon {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 999px;
    background: rgba(30, 32, 34, 0.05);
    color: #1e2022;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.75rem;
    line-height: 0;
}

.cart-empty-icon > i,
.cart-empty-icon > .bi,
.cart-empty-icon > .fa {
    display: block;
    line-height: 0;
    width: 1em;
    height: 1em;
    margin: 0;
    padding: 0;
}

.cart-empty-icon > i::before,
.cart-empty-icon > .bi::before,
.cart-empty-icon > .fa::before {
    display: block;
    line-height: 1;
    width: 1em;
    height: 1em;
    vertical-align: 0;
}

.cart-empty-title {
    margin: 0 0 0.35rem;
    font-weight: 600;
    color: #1e2022;
    font-size: 1rem;
}

.cart-empty-hint {
    margin: 0;
    font-size: 0.9rem;
}

.cart-items-scroll {
    flex: 1;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    margin-bottom: 0.5rem;
    padding: 0.65rem 0.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.cart-items-scroll::-webkit-scrollbar {
    width: 5px;
}

.cart-items-scroll::-webkit-scrollbar-thumb {
    background: rgba(30, 32, 34, 0.15);
    border-radius: 999px;
}

.cart-footer {
    flex-shrink: 0;
    margin-top: auto;
    padding: 1rem 0 1.15rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff 24%);
    border-top: 1px solid rgba(30, 32, 34, 0.07);
}

.cart-total-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
    margin-bottom: 0.85rem;
    border-radius: 0.85rem;
    background: rgba(237, 76, 120, 0.08);
    border: 1px solid rgba(237, 76, 120, 0.12);
}

.cart-total-label {
    font-weight: 500;
    color: #1e2022;
}

.cart-total-value {
    font-weight: 700;
    font-size: 1.15rem;
    color: #ed4c78;
    white-space: nowrap;
}

.cart-total-currency {
    font-size: 0.8rem;
    font-weight: 500;
    color: #71869d;
}

.cart-checkout-btn {
    font-weight: 600;
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
    margin-bottom: 0.35rem;
}

.cart-phone-link {
    font-size: 0.9rem;
    color: #71869d !important;
    text-decoration: none;
    padding: 0.35rem 0;
}

.cart-phone-link:hover {
    color: #1e2022 !important;
}

.order-button.cart-fab-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translate3d(-1.25rem, 0, 0);
}

.cart-sidebar-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1044;
    background: rgba(30, 32, 34, 0.35);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.cart-sidebar-backdrop.is-visible {
    opacity: 1;
    pointer-events: auto;
}

@media (min-width: 992px) {
    body {
        transition: padding-left 0.42s cubic-bezier(0.22, 1, 0.36, 1);
    }

    body.has-cart-sidebar {
        padding-left: var(--cart-sidebar-offset);
    }

    .cart-sidebar-backdrop {
        display: none;
    }
}

@media (max-width: 991px) {
    :root {
        --cart-box-gap: 0.75rem;
        --cart-box-max-height: min(78vh, 640px);
    }

    .cart-sidebar {
        left: var(--cart-box-gap);
        right: var(--cart-box-gap);
        top: auto;
        bottom: var(--cart-box-gap);
        width: auto;
        max-width: none;
    }

    .cart-sidebar.is-expanded {
        transform: translate3d(0, 0, 0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        height: var(--cart-box-max-height);
    }
}

.cart-item {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding: 0.8rem;
    border: 1px solid rgba(30, 32, 34, 0.06);
    border-radius: 0.9rem;
    background: #fff;
    box-shadow: 0 2px 8px rgba(30, 32, 34, 0.04);
    transform-origin: center top;
}

.cart-item--enter {
    animation: cart-item-enter 0.38s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.cart-item--enter.cart-item--new {
    animation: cart-item-enter 0.38s cubic-bezier(0.22, 1, 0.36, 1) both,
        cart-item-gold-blink 1.35s ease-in-out 0.32s 1 both;
}

.cart-item--new:not(.cart-item--enter) {
    animation: cart-item-gold-blink 1.35s ease-in-out 0s 1 both;
}

.cart-item--removing {
    pointer-events: none;
    overflow: hidden;
    transform-origin: center center;
    flex-shrink: 0;
    transition:
        height 0.28s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.22s ease,
        padding 0.28s cubic-bezier(0.4, 0, 0.2, 1),
        margin 0.28s cubic-bezier(0.4, 0, 0.2, 1),
        border-width 0.28s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-item--qty-inc .cart-item-qty,
.cart-item--qty-inc .cart-item-price {
    animation: cart-qty-pop 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.cart-item--qty-dec .cart-item-qty,
.cart-item--qty-dec .cart-item-price {
    animation: cart-qty-pop 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.cart-item--qty-inc .cart-qty-btn--plus,
.cart-item--qty-dec .cart-qty-btn--minus {
    animation: cart-btn-tap 0.28s ease;
}

.cart-total-value.cart-total-bump {
    animation: cart-qty-pop 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes cart-item-enter {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes cart-item-gold-blink {
    0%, 100% {
        background: #fff;
        box-shadow: 0 2px 8px rgba(30, 32, 34, 0.04);
    }
    20%, 60% {
        background: #fff8e8;
        box-shadow: 0 0 0 2px rgba(245, 202, 153, 0.45), 0 4px 16px rgba(245, 202, 153, 0.22);
    }
    40%, 80% {
        background: #fffdf6;
        box-shadow: 0 2px 8px rgba(30, 32, 34, 0.04);
    }
}

@keyframes cart-qty-pop {
    0% { transform: scale(1); }
    45% { transform: scale(1.14); color: #ed4c78; }
    100% { transform: scale(1); }
}

@keyframes cart-btn-tap {
    0% { transform: scale(1); }
    50% { transform: scale(0.88); background: #fef7e0; }
    100% { transform: scale(1); }
}

.cart-item-row {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.cart-item-thumb {
    width: 56px;
    height: 56px;
    border-radius: 0.7rem;
    object-fit: cover;
    flex-shrink: 0;
    background: #f4f5f7;
    border: 1px solid rgba(30, 32, 34, 0.05);
}

.cart-item-main {
    min-width: 0;
    flex: 1;
}

.cart-item-name {
    font-weight: 600;
    font-size: 0.92rem;
    line-height: 1.35;
    margin-bottom: 0.2rem;
    color: #1e2022;
}

.cart-item-unit {
    font-size: 0.78rem;
    color: #71869d;
}

.cart-item-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding-top: 0.15rem;
}

.cart-qty-stepper {
    display: inline-flex;
    align-items: center;
    flex-direction: row-reverse;
    gap: 0.15rem;
    padding: 0.15rem;
    border-radius: 999px;
    background: #f4f5f7;
    border: 1px solid rgba(30, 32, 34, 0.06);
}

.cart-item-price {
    font-weight: 700;
    font-size: 0.95rem;
    color: #ed4c78;
    white-space: nowrap;
}

.cart-item-qty {
    min-width: 1.65rem;
    text-align: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: #1e2022;
}

.cart-qty-btn {
    width: 1.85rem;
    height: 1.85rem;
    padding: 0;
    border: none;
    border-radius: 999px;
    line-height: 0;
    background: #fff;
    color: #1e2022;
    box-shadow: 0 1px 3px rgba(30, 32, 34, 0.08);
    transition: background-color 0.15s ease, transform 0.15s ease;
}

.cart-qty-btn:hover {
    background: #fef7e0;
}

.cart-remove-btn {
    width: 2rem;
    height: 2rem;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 999px;
    line-height: 0;
    background: rgba(237, 76, 120, 0.08);
    color: #ed4c78;
    flex-shrink: 0;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.cart-remove-btn:hover {
    background: rgba(237, 76, 120, 0.16);
    color: #db5879;
}

.checkout-summary {
    background: rgba(30, 32, 34, 0.05);
    border-radius: 0.75rem;
    padding: 0.85rem 1rem;
}

.checkout-summary-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.checkout-summary-count {
    font-size: 0.75rem;
    font-weight: 500;
    color: #71869d;
    margin: 0;
}

.checkout-summary-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.checkout-summary-item {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.25rem 0;
    font-size: 0.9rem;
}

.checkout-summary-total {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding-top: 0.5rem;
    margin-top: 0.25rem;
}

.gallery-add-cart {
    margin-top: 0.75rem;
    width: auto;
    align-self: center;
}

@media (prefers-reduced-motion: reduce) {
    .cart-sidebar,
    .order-button,
    .cart-sidebar-backdrop,
    body {
        transition: none !important;
        animation: none !important;
    }

    .cart-sidebar.is-panel-animating .cart-sidebar-track,
    .cart-sidebar-track {
        transition: none !important;
    }

    .cart-item--enter,
    .cart-item--enter.cart-item--new,
    .cart-item--new:not(.cart-item--enter),
    .cart-item--removing {
        animation: none !important;
        transition: none !important;
    }

    .cart-item--qty-inc .cart-item-qty,
    .cart-item--qty-inc .cart-item-price,
    .cart-item--qty-dec .cart-item-qty,
    .cart-item--qty-dec .cart-item-price,
    .cart-item--qty-inc .cart-qty-btn--plus,
    .cart-item--qty-dec .cart-qty-btn--minus,
    .cart-total-value.cart-total-bump {
        animation: none !important;
    }

    .menu-card-control.cart-qty-stepper,
    .menu-card-control .menu-card-qty,
    .menu-card-control .cart-qty-btn {
        transition: none !important;
        animation: none !important;
    }

    .menu-card-control.is-collapsed:hover,
    .menu-card-control.is-collapsed:focus-within {
        transform: none;
    }
}
