:root {
    --primary: #ffd400;
    --primary-soft: #ffdd32;
    --ink: #160b0b;
    --ink-deep: #0c0707;
    --surface: #211313;
    --surface-raised: #2b1b1b;
    --line: rgba(255, 255, 255, 0.1);
    --text: #fffaf1;
    --muted: #a89e9e;
    --success: #42d8a1;
    --danger: #ff6b6b;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
    --radius-lg: 30px;
    --radius-md: 20px;
    --header-height: 92px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scrollbar-color: var(--primary) var(--ink-deep);
}

body {
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;
    background: var(--ink);
    color: var(--text);
    font-family: var(--font-family, "Cairo", system-ui, sans-serif);
    line-height: 1.65;
}

body.ui-locked {
    overflow: hidden;
}

button,
input,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    color: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

[hidden] {
    display: none !important;
}

.shell {
    width: min(1180px, calc(100% - (var(--shell-gap, 20px) * 2)));
    margin-inline: auto;
}

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

.skip-link {
    position: fixed;
    z-index: 200;
    inset-block-start: 12px;
    inset-inline-start: 12px;
    padding: 10px 16px;
    border-radius: 10px;
    background: var(--primary);
    color: var(--ink);
    transform: translateY(-160%);
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: fixed;
    z-index: 50;
    inset: 0 0 auto;
    height: var(--header-height);
    border-bottom: 1px solid transparent;
    background: linear-gradient(180deg, rgba(15, 7, 7, 0.9), rgba(15, 7, 7, 0.5));
    backdrop-filter: blur(12px);
    transition: height 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.site-header.scrolled {
    height: 76px;
    border-color: var(--line);
    background: rgba(17, 8, 8, 0.95);
}

.header-inner {
    height: 100%;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    justify-self: start;
}

.brand img {
    width: 62px;
    height: 62px;
    object-fit: cover;
    border: 3px solid #fff;
    border-radius: 18px;
    box-shadow: 0 6px 24px rgba(255, 212, 0, 0.2);
}

.brand strong {
    color: var(--primary);
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: -0.05em;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 34px;
}

.main-nav a {
    position: relative;
    padding: 10px 4px;
    color: rgba(255, 255, 255, 0.62);
    font-weight: 800;
    transition: color 0.2s ease;
}

.main-nav a::after {
    content: "";
    position: absolute;
    inset: auto 50% 2px;
    width: 0;
    height: 3px;
    border-radius: 4px;
    background: var(--primary);
    transform: translateX(50%);
    transition: width 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: #fff;
}

.main-nav a.active::after,
.main-nav a:hover::after {
    width: 24px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    direction: ltr;
    justify-self: end;
}

.language-button,
.login-button,
.cart-button,
.navigation-button {
    min-height: 44px;
    border: 1px solid rgba(255, 212, 0, 0.28);
    background: rgba(255, 212, 0, 0.07);
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.navigation-button {
    display: none;
    width: 44px;
    min-height: 44px;
    border-radius: 14px;
    color: var(--primary);
    font-size: 1.25rem;
}

.hero.asset-missing {
    background: radial-gradient(circle at center, var(--surface-raised), var(--ink-deep));
}

html[data-motion="reduced"] *,
html[data-motion="reduced"] *::before,
html[data-motion="reduced"] *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
}

.language-button:hover,
.login-button:hover,
.cart-button:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
    background: rgba(255, 212, 0, 0.15);
}

.language-button {
    padding: 0 15px;
    border-radius: 999px;
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 800;
}

.login-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 16px;
    border-radius: 999px;
    direction: rtl;
    font-weight: 800;
}

.login-button svg,
.cart-button svg,
.search-box svg,
.add-button svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cart-button {
    position: relative;
    display: grid;
    width: 48px;
    place-items: center;
    border-radius: 15px;
    background: var(--primary);
    color: var(--ink);
}

.cart-button span {
    position: absolute;
    inset: -7px -7px auto auto;
    display: grid;
    min-width: 21px;
    height: 21px;
    padding-inline: 5px;
    place-items: center;
    border: 2px solid var(--ink);
    border-radius: 50%;
    background: #ef2f2f;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 900;
}

.hero {
    position: relative;
    min-height: 760px;
    display: grid;
    place-items: center;
    overflow: hidden;
    isolation: isolate;
}

.hero-image,
.hero-shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-image {
    z-index: -3;
    object-fit: cover;
    animation: hero-zoom 18s ease-in-out infinite alternate;
}

.hero-shade {
    z-index: -2;
    background:
        radial-gradient(circle at 50% 45%, rgba(0, 0, 0, 0.18), rgba(8, 4, 4, 0.72) 75%),
        linear-gradient(180deg, rgba(16, 8, 8, 0.25), rgba(15, 7, 7, 0.42) 65%, var(--ink));
}

.hero-content {
    padding-block: calc(var(--header-height) + 60px) 70px;
    text-align: center;
}

.eyebrow,
.section-kicker,
.modal-kicker {
    display: inline-flex;
    padding: 7px 16px;
    border: 1px solid rgba(255, 212, 0, 0.38);
    border-radius: 999px;
    background: rgba(30, 18, 10, 0.58);
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.hero h1 {
    max-width: 850px;
    margin: 22px auto 18px;
    font-size: clamp(3.1rem, 7.4vw, 7.4rem);
    font-weight: 900;
    line-height: 0.98;
    letter-spacing: -0.065em;
    text-wrap: balance;
}

.hero h1 span,
.hero h1 strong {
    display: block;
}

.hero h1 strong {
    margin-top: 18px;
    color: var(--primary);
}

.hero p {
    max-width: 700px;
    margin: 0 auto 34px;
    color: rgba(255, 255, 255, 0.72);
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 700;
}

.primary-button {
    display: inline-flex;
    min-height: 58px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 34px;
    border: 0;
    border-radius: 18px;
    background: var(--primary);
    color: var(--ink);
    box-shadow: 0 16px 36px rgba(255, 212, 0, 0.2);
    cursor: pointer;
    font-weight: 900;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.primary-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 42px rgba(255, 212, 0, 0.3);
    filter: brightness(1.04);
}

.primary-button:focus-visible,
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(255, 212, 0, 0.45);
    outline-offset: 3px;
}

.hero-cta {
    min-width: 250px;
    font-size: 1.05rem;
}

.menu-section {
    position: relative;
    padding: 95px 0 120px;
    background:
        radial-gradient(circle at 15% 5%, rgba(255, 212, 0, 0.06), transparent 27%),
        var(--ink);
}

.section-heading {
    max-width: 620px;
    margin: 0 auto 42px;
    text-align: center;
}

.section-kicker {
    padding: 0;
    border: 0;
    background: none;
    font-size: 0.72rem;
    letter-spacing: 0.2em;
}

.section-heading h2 {
    margin: 8px 0 4px;
    color: var(--primary);
    font-size: clamp(2.2rem, 4.5vw, 4rem);
    line-height: 1.2;
    letter-spacing: -0.05em;
}

.section-heading p {
    margin: 0;
    color: var(--muted);
    font-weight: 700;
}

.category-strip {
    display: flex;
    gap: 14px;
    margin: 0 -8px 44px;
    padding: 8px 8px 14px;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 212, 0, 0.6) transparent;
}

.category-button {
    flex: 0 0 104px;
    border: 0;
    background: none;
    cursor: pointer;
    text-align: center;
}

.category-icon {
    display: grid;
    width: 70px;
    height: 70px;
    margin: 0 auto 9px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--surface-raised);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    font-size: 2rem;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.category-button > span:last-child {
    display: block;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
}

.category-button:hover .category-icon {
    transform: translateY(-4px);
}

.category-button.active .category-icon {
    background: var(--primary);
    box-shadow: 0 13px 30px rgba(255, 212, 0, 0.18);
    transform: translateY(-4px) rotate(-2deg);
}

.category-button.active > span:last-child {
    color: var(--primary);
}

.search-box {
    width: min(650px, 100%);
    height: 60px;
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 auto 42px;
    padding: 0 22px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(43, 27, 27, 0.74);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-box:focus-within {
    border-color: rgba(255, 212, 0, 0.55);
    box-shadow: 0 0 0 5px rgba(255, 212, 0, 0.06);
}

.search-box svg {
    flex: 0 0 auto;
    color: var(--primary);
}

.search-box input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
}

.search-box input::placeholder {
    color: #736767;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.product-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: 0 12px 38px rgba(0, 0, 0, 0.16);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
    border-color: rgba(255, 212, 0, 0.26);
    box-shadow: 0 22px 56px rgba(0, 0, 0, 0.28);
    transform: translateY(-7px);
}

.product-card.is-filtered {
    display: none;
}

.product-visual {
    position: relative;
    aspect-ratio: 1 / 0.89;
    overflow: hidden;
    background: #2f2020;
}

.product-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.product-card:hover .product-visual img {
    transform: scale(1.035);
}

.calories,
.favorite-button {
    position: absolute;
    top: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(23, 12, 12, 0.82);
    backdrop-filter: blur(8px);
}

.calories {
    right: 15px;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 0.67rem;
    font-weight: 800;
}

.favorite-button {
    left: 15px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    font-size: 1.4rem;
    line-height: 1;
}

.favorite-button.active {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--ink);
}

.product-body {
    padding: 21px;
}

.product-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.product-title-row h3 {
    margin: 0;
    font-size: 1.15rem;
    line-height: 1.4;
}

.product-title-row p {
    margin: 2px 0 0;
    color: var(--muted);
    direction: ltr;
    font-size: 0.75rem;
    text-align: right;
}

.product-price {
    flex: 0 0 auto;
    color: var(--primary);
    font-size: 1.55rem;
    font-weight: 900;
    line-height: 1;
}

.product-price small {
    margin-inline-start: 3px;
    font-size: 0.64rem;
}

.extra-option {
    width: 100%;
    min-height: 54px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 9px;
    margin: 18px 0 13px;
    padding: 8px 11px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.025);
    cursor: pointer;
    text-align: right;
}

.extra-option .option-check {
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    border: 1px solid #625555;
    border-radius: 7px;
    color: transparent;
    font-size: 0.72rem;
}

.extra-option b,
.extra-option small {
    display: block;
}

.extra-option b {
    font-size: 0.76rem;
}

.extra-option small {
    color: var(--muted);
    direction: ltr;
    font-size: 0.64rem;
    text-align: right;
}

.extra-option em {
    color: var(--success);
    font-size: 0.68rem;
    font-style: normal;
    font-weight: 800;
}

.extra-option.active {
    border-color: rgba(255, 212, 0, 0.38);
    background: rgba(255, 212, 0, 0.06);
}

.extra-option.active .option-check {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--ink);
}

.add-button {
    width: 100%;
    min-height: 49px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    border-radius: 15px;
    background: var(--primary);
    color: var(--ink);
    cursor: pointer;
    font-weight: 900;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.add-button:hover {
    filter: brightness(1.05);
    transform: translateY(-2px);
}

.add-button svg {
    width: 18px;
}

.empty-state {
    padding: 70px 20px;
    border: 1px dashed rgba(255, 212, 0, 0.25);
    border-radius: var(--radius-lg);
    text-align: center;
}

.empty-state span {
    font-size: 3rem;
}

.empty-state h3 {
    margin: 10px 0 3px;
}

.empty-state p {
    margin: 0;
    color: var(--muted);
}

.site-footer {
    padding: 60px 0 28px;
    border-top: 1px solid var(--line);
    background: var(--ink-deep);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.1fr 1.4fr 1fr;
    align-items: center;
    gap: 25px;
}

.footer-brand img {
    width: 52px;
    height: 52px;
    border-radius: 15px;
}

.footer-brand strong {
    font-size: 1.35rem;
}

.footer-grid > p {
    margin: 0;
    color: var(--muted);
    font-size: 0.86rem;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: flex-end;
    gap: 18px;
}

.footer-links a,
.footer-links button {
    border: 0;
    background: none;
    color: var(--muted);
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 700;
}

.footer-grid > small {
    grid-column: 1 / -1;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    color: #6d6262;
    text-align: center;
}

.backdrop {
    position: fixed;
    z-index: 90;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.backdrop.visible {
    opacity: 1;
}

.cart-drawer {
    position: fixed;
    z-index: 100;
    inset: 0 auto 0 0;
    width: min(450px, 100%);
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--line);
    background: #190d0d;
    box-shadow: var(--shadow);
    transform: translateX(-105%);
    transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

.cart-drawer.open {
    transform: translateX(0);
}

.drawer-header {
    min-height: 106px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 26px;
    border-bottom: 1px solid var(--line);
}

.drawer-header span,
.modal-kicker {
    color: #827575;
    font-size: 0.7rem;
    font-weight: 800;
}

.drawer-header h2,
.modal h2 {
    margin: 2px 0 0;
    color: var(--primary);
    font-size: 1.8rem;
    line-height: 1.25;
}

.icon-button,
.modal-close {
    width: 43px;
    height: 43px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    color: #afa5a5;
    cursor: pointer;
    font-size: 1.7rem;
    line-height: 1;
}

.cart-content {
    flex: 1;
    padding: 22px 26px;
    overflow-y: auto;
}

.cart-empty {
    padding: 80px 20px;
    text-align: center;
}

.cart-empty span {
    font-size: 3.6rem;
}

.cart-empty h3 {
    margin: 13px 0 3px;
}

.cart-empty p {
    margin: 0;
    color: var(--muted);
}

.cart-item {
    display: grid;
    grid-template-columns: 74px 1fr;
    gap: 14px;
    padding: 15px 0 20px;
    border-bottom: 1px solid var(--line);
}

.cart-item img {
    width: 74px;
    height: 86px;
    border-radius: 17px;
    object-fit: cover;
}

.cart-item-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

.cart-item h4 {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.45;
}

.cart-item h4 small {
    display: block;
    color: var(--muted);
    direction: ltr;
    font-size: 0.67rem;
    text-align: right;
}

.remove-item {
    border: 0;
    background: none;
    color: #7f6f6f;
    cursor: pointer;
    font-size: 1.2rem;
}

.cart-extra {
    margin: 4px 0 8px;
    color: var(--success);
    font-size: 0.68rem;
    font-weight: 700;
}

.item-note {
    width: 100%;
    min-height: 54px;
    resize: vertical;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 13px;
    outline: 0;
    background: rgba(255, 255, 255, 0.025);
    color: var(--text);
    font-size: 0.67rem;
}

.item-note:focus {
    border-color: rgba(255, 212, 0, 0.45);
}

.checkout-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.65rem 0;
    color: var(--muted);
    border-bottom: 1px solid var(--line);
}

.checkout-line b {
    color: var(--primary);
    white-space: nowrap;
}

.cart-item-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
}

.quantity {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.035);
}

.quantity button {
    width: 32px;
    height: 31px;
    border: 0;
    background: none;
    cursor: pointer;
}

.quantity b {
    min-width: 28px;
    text-align: center;
}

.cart-line-price {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 900;
}

.more-items {
    width: 100%;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 25px 0;
    border: 1px dashed rgba(255, 212, 0, 0.35);
    border-radius: 18px;
    background: transparent;
    cursor: pointer;
    font-weight: 800;
}

.more-items span {
    display: grid;
    width: 29px;
    height: 29px;
    place-items: center;
    border-radius: 50%;
    background: var(--primary);
    color: var(--ink);
    font-size: 1.25rem;
}

.suggestions h3 {
    color: var(--muted);
    font-size: 0.75rem;
}

.suggestions > div {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.suggestions button {
    position: relative;
    min-height: 90px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface);
    cursor: pointer;
    font-size: 1.6rem;
}

.suggestions button span {
    font-size: 0.72rem;
    font-weight: 800;
}

.suggestions button b {
    position: absolute;
    top: 9px;
    left: 9px;
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    border-radius: 50%;
    background: var(--primary);
    color: var(--ink);
}

.drawer-footer {
    padding: 17px 22px 20px;
    border-top: 1px solid var(--line);
    background: rgba(35, 21, 21, 0.98);
}

.drawer-footer > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.drawer-footer > div span {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 700;
}

.drawer-footer strong {
    color: var(--primary);
    font-size: 1.4rem;
}

.checkout-button,
.wide-button {
    width: 100%;
}

.modal {
    position: fixed;
    z-index: 110;
    top: 50%;
    left: 50%;
    width: min(520px, calc(100% - 30px));
    max-height: min(88vh, 850px);
    padding: 38px;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 32px;
    background: linear-gradient(145deg, #252020, #151111);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -47%) scale(0.96);
    transition: opacity 0.24s ease, transform 0.24s ease;
}

.modal.open {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    left: 20px;
}

.auth-brand {
    margin-bottom: 12px;
}

.auth-brand img {
    width: 76px;
    height: 76px;
    border: 3px solid #fff;
    border-radius: 22px;
    object-fit: cover;
}

.modal > .modal-kicker,
.auth-step > .modal-kicker {
    padding: 0;
    border: 0;
    background: none;
    color: var(--primary);
}

.auth-step {
    display: none;
}

.auth-step.active {
    display: block;
    animation: step-in 0.25s ease;
}

.auth-step > p,
.checkout-modal > p {
    margin: 7px 0 25px;
    color: var(--muted);
    font-size: 0.87rem;
}

.modal label,
.fulfillment-fieldset legend {
    display: block;
    margin-bottom: 8px;
    color: #c8bfbf;
    font-size: 0.78rem;
    font-weight: 800;
}

.phone-input,
.modal-input {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 17px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.otp-code-input {
    direction: ltr;
    text-align: center;
    font-size: 1.45rem;
    font-weight: 900;
    letter-spacing: 0.45em;
}

[x-cloak] {
    display: none !important;
}

.phone-input {
    height: 57px;
    display: flex;
    align-items: center;
    direction: ltr;
}

.phone-input span {
    padding: 0 15px;
    border-right: 1px solid var(--line);
    color: var(--primary);
    font-weight: 800;
}

.phone-input input {
    flex: 1;
    height: 100%;
    padding: 0 15px;
    border: 0;
    outline: 0;
    background: none;
    color: var(--text);
    direction: ltr;
}

.phone-input:focus-within,
.modal-input:focus {
    border-color: rgba(255, 212, 0, 0.52);
    box-shadow: 0 0 0 4px rgba(255, 212, 0, 0.06);
}

.modal-input {
    min-height: 55px;
    margin-bottom: 16px;
    padding: 13px 15px;
}

textarea.modal-input {
    resize: vertical;
}

.wide-button {
    margin-top: 18px;
}

.field-error {
    min-height: 23px;
    display: block;
    padding-top: 5px;
    color: var(--danger);
    font-size: 0.72rem;
}

.privacy-note,
.prototype-note {
    margin: 18px 0 0 !important;
    color: #6f6565 !important;
    font-size: 0.67rem !important;
    text-align: center;
}

.otp-inputs {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
}

.otp-inputs input {
    min-width: 0;
    height: 58px;
    border: 1px solid var(--line);
    border-radius: 14px;
    outline: 0;
    background: rgba(255, 255, 255, 0.04);
    color: var(--primary);
    font-size: 1.4rem;
    font-weight: 900;
    text-align: center;
}

.otp-inputs input:focus {
    border-color: var(--primary);
}

.text-button,
.back-button {
    display: block;
    margin: 17px auto 0;
    border: 0;
    background: none;
    color: var(--primary);
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 800;
}

.back-button {
    color: var(--muted);
}

.avatar-picker {
    width: max-content;
    display: grid !important;
    justify-items: center;
    margin: 0 auto 20px !important;
    cursor: pointer;
    text-align: center;
}

.avatar-picker > span {
    width: 80px;
    height: 80px;
    display: grid;
    margin-bottom: 8px;
    overflow: hidden;
    place-items: center;
    border: 2px dashed rgba(255, 212, 0, 0.45);
    border-radius: 50%;
    background: rgba(255, 212, 0, 0.06);
    color: var(--primary);
    font-size: 1.6rem;
}

.avatar-picker img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-picker b,
.avatar-picker small {
    display: block;
}

.avatar-picker small {
    color: var(--muted);
    font-weight: 400;
}

.success-step {
    padding: 38px 0;
    text-align: center;
}

.success-icon {
    width: 82px;
    height: 82px;
    display: grid;
    margin: 0 auto 18px;
    place-items: center;
    border-radius: 50%;
    background: var(--success);
    color: #071a13;
    font-size: 2.4rem;
    font-weight: 900;
}

.checkout-modal {
    width: min(650px, calc(100% - 30px));
}

.checkout-modal h2 {
    margin-bottom: 24px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.fulfillment-fieldset {
    margin: 3px 0 20px;
    padding: 0;
    border: 0;
}

.fulfillment-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.fulfillment-options label {
    margin: 0;
    cursor: pointer;
}

.fulfillment-options input {
    position: absolute;
    opacity: 0;
}

.fulfillment-options span {
    min-height: 84px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 19px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--muted);
    font-size: 1.2rem;
}

.fulfillment-options b {
    display: block;
    font-size: 0.82rem;
}

.fulfillment-options input:checked + span {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--ink);
    box-shadow: 0 12px 24px rgba(255, 212, 0, 0.12);
}

.delivery-fields {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 19px;
    background: rgba(255, 255, 255, 0.025);
}

.order-summary {
    margin-top: 20px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 19px;
    background: rgba(255, 255, 255, 0.025);
}

.summary-title,
.summary-item,
.summary-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.summary-title {
    padding-bottom: 13px;
    border-bottom: 1px solid var(--line);
}

.summary-title h3 {
    margin: 0;
    font-size: 0.9rem;
}

.summary-title span {
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(255, 212, 0, 0.08);
    color: var(--primary);
    font-size: 0.65rem;
    font-weight: 800;
}

.summary-item {
    padding: 10px 0;
    color: #c4bbbb;
    font-size: 0.72rem;
}

.summary-item + .summary-item {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.summary-total {
    padding-top: 13px;
    border-top: 1px solid var(--line);
    font-weight: 900;
}

.summary-total strong {
    color: var(--primary);
    font-size: 1.2rem;
}

.toast-region {
    position: fixed;
    z-index: 160;
    right: 20px;
    bottom: 20px;
    display: grid;
    gap: 10px;
}

.toast {
    min-width: 260px;
    padding: 13px 16px;
    border: 1px solid rgba(255, 212, 0, 0.28);
    border-radius: 14px;
    background: #2c2020;
    box-shadow: var(--shadow);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    animation: toast-in 0.25s ease;
}

@keyframes hero-zoom {
    from { transform: scale(1); }
    to { transform: scale(1.07); }
}

@keyframes step-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes toast-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 960px) {
    .header-inner {
        grid-template-columns: 1fr auto;
    }

    .main-nav {
        display: none;
        position: absolute;
        inset-block-start: calc(100% + 1px);
        inset-inline: 20px;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 14px;
        border: 1px solid var(--line);
        border-radius: var(--radius-md);
        background: var(--ink-deep);
        box-shadow: var(--shadow);
    }

    .main-nav.open {
        display: flex;
    }

    .navigation-button {
        display: inline-grid;
        place-items: center;
    }

    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid > p {
        grid-column: 1 / -1;
        grid-row: 2;
    }
}

@media (max-width: 640px) {
    :root {
        --header-height: 72px;
    }

    .shell {
        width: min(100% - 28px, 1180px);
    }

    .site-header,
    .site-header.scrolled {
        height: var(--header-height);
    }

    .header-inner {
        gap: 10px;
    }

    .brand {
        gap: 7px;
    }

    .brand img {
        width: 46px;
        height: 46px;
        border-radius: 14px;
    }

    .brand strong {
        font-size: 1.08rem;
    }

    .header-actions {
        gap: 6px;
    }

    .language-button {
        min-height: 37px;
        padding-inline: 10px;
        font-size: 0.62rem;
    }

    .login-button {
        width: 39px;
        min-height: 39px;
        padding: 0;
        justify-content: center;
    }

    .login-button span {
        display: none;
    }

    .login-button svg {
        width: 18px;
    }

    .cart-button {
        width: 40px;
        min-height: 40px;
        border-radius: 13px;
    }

    .hero {
        min-height: 620px;
    }

    .hero-content {
        padding-top: 120px;
    }

    .hero h1 {
        margin-top: 16px;
        font-size: clamp(3.15rem, 16vw, 4.5rem);
    }

    .hero h1 strong {
        margin-top: 11px;
    }

    .hero p {
        max-width: 330px;
        font-size: 0.85rem;
    }

    .hero-cta {
        min-width: 220px;
        min-height: 53px;
    }

    .menu-section {
        padding: 72px 0 85px;
    }

    .section-heading {
        margin-bottom: 28px;
    }

    .category-strip {
        margin-inline: -14px;
        padding-inline: 14px;
        scroll-snap-type: x proximity;
    }

    .category-button {
        flex-basis: 86px;
        scroll-snap-align: start;
    }

    .category-icon {
        width: 62px;
        height: 62px;
        border-radius: 21px;
        font-size: 1.65rem;
    }

    .search-box {
        height: 55px;
        margin-bottom: 30px;
        border-radius: 18px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-card {
        border-radius: 25px;
    }

    .product-visual {
        aspect-ratio: 1 / 0.98;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .footer-grid > p,
    .footer-grid > small {
        grid-column: auto;
        grid-row: auto;
    }

    .footer-links {
        justify-content: center;
    }

    .cart-drawer {
        width: 100%;
    }

    .drawer-header {
        min-height: 88px;
        padding: 15px 18px;
    }

    .cart-content {
        padding: 16px 18px;
    }

    .modal {
        top: auto;
        bottom: 0;
        left: 0;
        width: 100%;
        max-height: 91vh;
        padding: 32px 20px 26px;
        border-radius: 28px 28px 0 0;
        transform: translateY(105%);
    }

    .modal.open {
        transform: translateY(0);
    }

    .modal-close {
        top: 16px;
        left: 16px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .otp-inputs {
        gap: 5px;
    }

    .otp-inputs input {
        height: 52px;
        border-radius: 12px;
    }

    .toast-region {
        right: 14px;
        bottom: 14px;
        left: 14px;
    }

    .toast {
        min-width: 0;
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
