:root {
    --night: #0b0d0f;
    --night-2: #151719;
    --night-3: #202224;
    --cream: #faf7f2;
    --paper: #fffdfa;
    --ink: #191919;
    --muted: #77716a;
    --line: #e8e1d9;
    --dark-line: #ffffff1c;
    --orange: #ef6507;
    --orange-2: #ff7a17;
    --green: #3f9348;
    --shadow: 0 18px 50px #17100a12;
    --radius: 22px;
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    background: var(--night);
    color: #fff;
    font-family: "Estedad", Tahoma, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}
body.light-page {
    background: var(--cream);
    color: var(--ink);
}
body.light-page .topbar {
    background: #0c0e10;
}
a {
    color: inherit;
    text-decoration: none;
}
button,
input,
textarea {
    font: inherit;
}
button {
    cursor: pointer;
}
.skip-link {
    position: fixed;
    top: -60px;
    right: 20px;
    background: var(--orange);
    padding: 10px 16px;
    border-radius: 10px;
    z-index: 200;
}
.skip-link:focus {
    top: 12px;
}
.topbar {
    height: 82px;
    background: #0b0d0ff0;
    border-bottom: 1px solid var(--dark-line);
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(20px);
}
.topbar-inner {
    max-width: 1440px;
    height: 100%;
    margin: auto;
    padding: 0 34px;
    display: flex;
    align-items: center;
    gap: 42px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 27px;
    font-weight: 900;
    letter-spacing: -1.2px;
    white-space: nowrap;
}
.brand em {
    color: var(--orange);
    font-style: normal;
}
.brand-moon {
    color: #ff9f28;
    font-size: 37px;
    line-height: 1;
    transform: rotate(18deg);
}
.desktop-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    height: 100%;
    font-size: 13px;
    color: #c5c2bd;
}
.desktop-nav a {
    height: 100%;
    display: flex;
    align-items: center;
    border-bottom: 2px solid transparent;
}
.desktop-nav a:hover,
.desktop-nav a.active {
    color: #fff;
    border-color: var(--orange);
}
.location-pill {
    margin-right: auto;
    color: #ebe8e3;
    border: 0;
    background: transparent;
    font-size: 12px;
}
.location-pill span {
    color: var(--orange);
}
.location-pill b {
    margin-right: 6px;
}
.header-actions {
    display: flex;
    gap: 9px;
    direction: ltr;
}
.header-actions > a {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    border: 1px solid var(--dark-line);
    background: #ffffff0a;
    border-radius: 13px;
    font-size: 19px;
    position: relative;
}
.cart-button b,
.mobile-nav a > b {
    position: absolute;
    right: -5px;
    top: -5px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    display: grid;
    place-items: center;
    border-radius: 50px;
    background: var(--orange);
    color: #fff;
    font-size: 9px;
}
.menu-toggle {
    display: none;
    color: #fff;
    border: 0;
    background: transparent;
    font-size: 24px;
}
.toast {
    position: fixed;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    z-index: 150;
    background: #173323;
    color: #d9ffe6;
    border: 1px solid #55bd7655;
    padding: 12px 18px;
    border-radius: 13px;
    box-shadow: 0 15px 40px #0005;
    font-size: 13px;
}
.toast-error {
    background: #441c1c;
    color: #ffe0e0;
    border-color: #ff7b7b55;
}
.home-hero {
    height: 520px;
    position: relative;
    background: url("../images/shabfood-hero.png") center 61% / cover no-repeat;
    overflow: hidden;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            #0809093b,
            #08090977 45%,
            #080909eb 77%,
            #080909 100%
        ),
        linear-gradient(0deg, #0b0d0f 0, transparent 28%);
}
.hero-content {
    width: min(1240px, calc(100% - 48px));
    height: 100%;
    margin: auto;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}
.eyebrow {
    color: #ffc269;
    font-size: 13px;
}
.hero-content h1 {
    font-size: 62px;
    line-height: 1.15;
    margin: 15px 0 12px;
    letter-spacing: -3px;
}
.hero-status {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #e2ded7;
    font-size: 13px;
}
.hero-status i {
    width: 1px;
    height: 16px;
    background: #ffffff42;
}
.hero-status b {
    color: var(--orange);
    font-size: 19px;
}
.open-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #56b35c;
    box-shadow: 0 0 0 5px #56b35c18;
}
.hero-search {
    width: min(610px, 100%);
    height: 62px;
    margin-top: 30px;
    border-radius: 18px;
    background: #fff;
    display: flex;
    align-items: center;
    padding: 0 20px;
    box-shadow: 0 16px 45px #0006;
}
.hero-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #222;
    padding: 0 8px;
    font-size: 14px;
}
.hero-search span {
    color: #777;
    font-size: 27px;
}
.storefront {
    max-width: 1260px;
    margin: -45px auto 0;
    padding: 0 24px 90px;
    position: relative;
}
.category-strip {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 0 4px 8px;
    scrollbar-width: none;
}
.category-card {
    flex: 1;
    min-width: 112px;
    height: 100px;
    border-radius: 18px;
    border: 1px solid var(--dark-line);
    background: linear-gradient(150deg, #282a2d, #17191b);
    color: #eee;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 12px 25px #0003;
}
.category-card i {
    font-style: normal;
    font-size: 31px;
}
.category-card span {
    font-size: 12px;
}
.category-card.active {
    background: linear-gradient(145deg, var(--orange-2), #d84c00);
    border-color: #ff9e5e;
    box-shadow: 0 15px 32px #ef650733;
}
.menu-section {
    padding-top: 46px;
}
.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 20px;
}
.section-heading span {
    color: #ff9a3c;
    font-size: 12px;
}
.section-heading h2 {
    font-size: 28px;
    margin: 4px 0;
}
.section-heading > a {
    color: #ff9637;
    font-size: 12px;
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.product-card {
    border: 1px solid var(--dark-line);
    background: linear-gradient(160deg, #222527, #151719);
    border-radius: 20px;
    overflow: hidden;
    transition: 0.25s;
}
.product-card:hover {
    transform: translateY(-5px);
    border-color: #ef650770;
    box-shadow: 0 18px 40px #0005;
}
.product-image {
    height: 205px;
    display: block;
    position: relative;
    overflow: hidden;
}
.product-image > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.4s;
}
.product-card:hover .product-image > img {
    transform: scale(1.04);
}
.discount-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--orange);
    border-radius: 8px;
    padding: 5px 8px;
    font-size: 10px;
    font-weight: 700;
}
.favorite {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid #fff3;
    color: #fff;
    background: #1119;
    font-size: 19px;
}
.product-body {
    padding: 16px;
}
.rating {
    color: #ffb84e;
    font-size: 11px;
}
.rating span {
    color: #92d59c;
    background: #4d9d5517;
    border-radius: 8px;
    padding: 3px 7px;
    margin-right: 8px;
}
.product-body h3 {
    font-size: 17px;
    margin: 7px 0;
}
.product-body p {
    height: 42px;
    color: #aaa6a0;
    font-size: 11px;
    line-height: 1.8;
    margin: 0;
}
.product-body footer {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-top: 15px;
}
.price {
    display: flex;
    flex-direction: column;
}
.price del {
    color: #747474;
    font-size: 10px;
}
.price strong {
    font-size: 15px;
}
.price small {
    color: #aaa6a0;
    font-size: 10px;
}
.quick-add {
    direction: ltr;
}
.quantity-control {
    height: 40px;
    display: flex;
    align-items: center;
    border-radius: 12px;
    overflow: hidden;
    background: #ef6507;
}
.quantity-control button {
    width: 40px;
    height: 40px;
    border: 0;
    color: #fff;
    background: transparent;
    font-size: 22px;
}
.quantity-control span,
.quantity-control .minus {
    display: none;
}
.quantity-control.is-active {
    background: #2a2c2e;
    border: 1px solid #ffffff20;
}
.quantity-control.is-active span,
.quantity-control.is-active .minus {
    display: grid;
    place-items: center;
    width: 34px;
}
.quantity-control.is-active .plus {
    background: var(--orange);
}
.no-results,
.empty-state {
    text-align: center;
    padding: 70px 20px;
    border: 1px dashed #ffffff25;
    border-radius: 20px;
    color: #aaa;
}
.promise-strip {
    margin-top: 48px;
    padding: 22px 30px;
    border: 1px solid var(--dark-line);
    border-radius: 22px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: #17191b;
}
.promise-strip > div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    border-left: 1px solid var(--dark-line);
}
.promise-strip > div:last-child {
    border: 0;
}
.promise-strip i {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    background: #ef650719;
    color: #ff8c2e;
    display: grid;
    place-items: center;
    font-size: 23px;
    font-style: normal;
}
.promise-strip b,
.promise-strip small {
    display: block;
}
.promise-strip b {
    font-size: 13px;
}
.promise-strip small {
    color: #92908c;
    font-size: 10px;
    margin-top: 3px;
}
.mobile-only,
.mobile-nav,
.mobile-cart-bar {
    display: none;
}

/* Product */
.product-detail-page {
    min-height: calc(100dvh - 82px);
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    background: var(--paper);
}
.product-gallery {
    height: min(690px, calc(100dvh - 82px));
    min-height: 560px;
    position: relative;
    align-self: start;
    display: grid;
    place-items: center;
    background: #111;
    overflow: hidden;
}
.product-gallery-backdrop {
    position: absolute;
    inset: -30px;
    width: calc(100% + 60px);
    height: calc(100% + 60px);
    object-fit: cover;
    filter: blur(28px) saturate(0.8) brightness(0.48);
    opacity: 0.62;
    transform: scale(1.08);
}
.product-gallery-image {
    position: relative;
    z-index: 1;
    width: min(78%, 540px);
    height: auto;
    max-height: calc(100% - 76px);
    object-fit: contain;
    border: 1px solid #ffffff24;
    border-radius: 24px;
    box-shadow: 0 28px 70px #0009;
}
.product-page {
    padding-bottom: 0;
}
.product-page .store-dock,
.product-page .floating-call,
.product-page .mobile-cart-bar {
    display: none !important;
}
.product-gallery > img {
    display: block;
}
.gallery-back {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 45px;
    height: 45px;
    display: grid;
    place-items: center;
    background: #0a0a0aaa;
    color: #fff;
    border: 1px solid #fff3;
    border-radius: 50%;
}
.gallery-thumbs {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    direction: ltr;
}
.gallery-thumbs button {
    width: 84px;
    height: 63px;
    border: 2px solid transparent;
    border-radius: 11px;
    padding: 2px;
    background: #ffffff22;
}
.gallery-thumbs button.active {
    border-color: var(--orange);
}
.gallery-thumbs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}
.product-config {
    padding: 50px clamp(30px, 5vw, 82px) 32px;
    max-width: 760px;
}
.product-title-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: start;
}
.hot {
    color: var(--orange);
    font-size: 12px;
}
.product-title-row h1 {
    font-size: 38px;
    margin: 8px 0;
}
.product-score {
    font-size: 13px;
    white-space: nowrap;
    color: #d76513;
}
.product-score small {
    color: var(--muted);
}
.product-config > p {
    font-size: 13px;
    line-height: 2;
    color: var(--muted);
}
.config-block {
    border-top: 1px solid var(--line);
    padding: 20px 0;
}
.config-block h2 {
    font-size: 17px;
    margin: 0 0 13px;
}
.size-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.size-options label {
    cursor: pointer;
}
.size-options input {
    position: absolute;
    opacity: 0;
}
.size-options span {
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 13px;
}
.size-options label:has(input:checked) span {
    border-color: var(--orange);
    box-shadow: 0 0 0 2px #ef650713;
}
.size-options b {
    font-size: 14px;
}
.size-options strong {
    font-size: 16px;
    margin-top: 5px;
}
.size-options small {
    color: var(--muted);
    font-size: 9px;
}
.addon-list label {
    display: grid;
    grid-template-columns: 22px 1fr auto;
    align-items: center;
    gap: 8px;
    padding: 7px 0;
    font-size: 13px;
}
.addon-list input {
    accent-color: var(--orange);
    width: 17px;
    height: 17px;
}
.addon-list b {
    font-size: 11px;
    color: var(--muted);
}
.kitchen-note {
    display: grid;
    gap: 7px;
    font-size: 13px;
}
.kitchen-note textarea,
.order-note textarea {
    resize: none;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px;
    background: #fff;
    color: var(--ink);
}
.product-buybar {
    display: grid;
    grid-template-columns: minmax(0, 120px) minmax(0, 1fr);
    gap: 10px;
    margin-top: 18px;
}
.stepper {
    width: 100%;
    min-width: 0;
    height: 54px;
    display: grid;
    grid-template-columns: 38px 1fr 38px;
    border: 1px solid var(--line);
    border-radius: 13px;
    overflow: hidden;
    direction: ltr;
}
.stepper button,
.stepper input {
    width: 100%;
    min-width: 0;
    border: 0;
    background: #fff;
    text-align: center;
}
.stepper button:last-child {
    background: #fff0e5;
    color: var(--orange);
    font-size: 20px;
}
.primary-button {
    min-height: 54px;
    border: 0;
    border-radius: 13px;
    background: linear-gradient(100deg, var(--orange), var(--orange-2));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    font-weight: 800;
    box-shadow: 0 12px 28px #ef65072d;
}
.product-buybar .primary-button {
    width: 100%;
}
.related-products {
    grid-column: 1/-1;
    background: #fff;
    padding: 28px clamp(24px, 5vw, 70px);
}
.related-products h2 {
    font-size: 20px;
}
.related-products > div {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.related-products a {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 11px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 8px;
}
.related-products img {
    width: 90px;
    height: 70px;
    object-fit: cover;
    border-radius: 10px;
}
.related-products b,
.related-products small {
    display: block;
}
.related-products small {
    color: var(--orange);
    margin-top: 6px;
}

/* Checkout */
.page-container {
    max-width: 1240px;
    margin: auto;
    padding: 42px 26px 100px;
}
.checkout-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
}
.checkout-header span {
    color: var(--orange);
    font-size: 12px;
}
.checkout-header h1 {
    font-size: 34px;
    margin: 5px 0;
}
.checkout-header > a {
    border: 1px solid var(--line);
    padding: 9px 13px;
    border-radius: 10px;
    font-size: 12px;
}
.checkout-steps {
    max-width: 720px;
    margin: 28px auto 45px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    position: relative;
}
.checkout-steps:before {
    content: "";
    position: absolute;
    right: 10%;
    left: 10%;
    top: 17px;
    height: 2px;
    background: var(--line);
}
.checkout-steps > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    color: #9b958e;
    font-size: 11px;
}
.checkout-steps b {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--cream);
}
.checkout-steps .active b,
.checkout-steps .done b {
    background: var(--orange);
    border-color: var(--orange);
    color: #fff;
}
.checkout-steps .active span {
    color: var(--ink);
    font-weight: 700;
}
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 24px;
    align-items: start;
}
.cart-panel,
.order-summary,
.review-card,
.payment-summary {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow);
}
.cart-panel {
    padding: 24px;
}
.cart-panel > header,
.review-card > header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--line);
}
.cart-panel h2,
.review-card h2 {
    font-size: 20px;
    margin: 0;
}
.cart-panel > header span,
.review-card > header span {
    color: var(--muted);
    font-size: 11px;
}
.cart-item {
    display: grid;
    grid-template-columns: 110px 1fr auto 34px;
    gap: 15px;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
}
.cart-item > img {
    width: 110px;
    height: 88px;
    object-fit: cover;
    border-radius: 13px;
}
.cart-item-info h3 {
    margin: 0;
    font-size: 16px;
}
.cart-item-info p {
    color: var(--muted);
    font-size: 11px;
}
.cart-item-info strong {
    color: var(--orange);
    font-size: 13px;
}
.cart-stepper {
    display: grid;
    grid-template-columns: 34px 34px 34px;
    direction: ltr;
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
}
.cart-stepper button,
.cart-stepper span {
    height: 36px;
    border: 0;
    background: #fff;
    display: grid;
    place-items: center;
}
.cart-stepper button {
    color: var(--orange);
    font-size: 17px;
}
.remove-item {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 9px;
    background: #fff0eb;
    color: #d94b2b;
}
.order-note {
    display: grid;
    gap: 7px;
    margin-top: 20px;
    font-size: 12px;
}
.cart-upsell {
    margin-top: 22px;
    background: #fff8ed;
    border: 1px solid #f5d9aa;
    border-radius: 16px;
    padding: 14px;
    display: grid;
    grid-template-columns: 1fr repeat(2, 1.25fr);
    gap: 10px;
}
.cart-upsell > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.cart-upsell > div span {
    color: var(--orange);
    font-size: 10px;
}
.cart-upsell h3 {
    font-size: 14px;
}
.cart-upsell article {
    background: #fff;
    border-radius: 12px;
    padding: 7px;
    display: grid;
    grid-template-columns: 52px 1fr 30px;
    align-items: center;
    gap: 8px;
}
.cart-upsell img {
    width: 52px;
    height: 48px;
    object-fit: cover;
    border-radius: 8px;
}
.cart-upsell b,
.cart-upsell small {
    display: block;
    font-size: 10px;
}
.cart-upsell small {
    color: var(--orange);
    margin-top: 4px;
}
.cart-upsell button {
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 8px;
    background: var(--orange);
    color: #fff;
}
.order-summary,
.payment-summary {
    padding: 25px;
    position: sticky;
    top: 105px;
}
.order-summary h2,
.payment-summary h2 {
    margin: 0 0 20px;
    font-size: 20px;
}
.coupon-input {
    height: 46px;
    border: 1px solid var(--line);
    border-radius: 11px;
    padding: 4px;
    display: flex;
}
.coupon-input input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    padding: 0 8px;
}
.coupon-input button {
    border: 0;
    border-radius: 8px;
    background: #262626;
    color: #fff;
    padding: 0 13px;
}
.coupon-message {
    color: var(--green);
    font-size: 10px;
}
.order-summary dl,
.payment-summary dl {
    margin: 20px 0;
}
.order-summary dl > div,
.payment-summary dl > div {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    color: var(--muted);
    font-size: 12px;
}
.order-summary dd,
.payment-summary dd {
    margin: 0;
    color: var(--ink);
}
.success {
    color: var(--green) !important;
}
.summary-total {
    border-top: 1px dashed #b9b1a7;
    padding: 18px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.summary-total strong {
    font-size: 18px;
    color: var(--orange);
}
.order-summary .primary-button,
.payment-summary .primary-button {
    width: 100%;
    margin-top: 10px;
}
.secure-note,
.payment-summary > small {
    display: block;
    text-align: center;
    color: var(--muted);
    font-size: 10px;
    margin-top: 13px;
}
.empty-state {
    max-width: 650px;
    margin: auto;
    background: #fff;
    color: var(--muted);
    border-color: var(--line);
}
.empty-state i {
    font-style: normal;
    font-size: 45px;
    color: var(--orange);
}
.empty-state h2 {
    color: var(--ink);
}
.empty-state .primary-button {
    width: max-content;
    margin: 20px auto;
}

/* Auth */
.auth-page .topbar,
.auth-page .mobile-nav {
    display: none;
}
.auth-layout {
    min-height: 100dvh;
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.auth-visual {
    background:
        linear-gradient(0deg, #090909e8, #09090952),
        url("../images/shabfood-hero.png") center/cover;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 60px;
    color: #fff;
}
.auth-brand h2 {
    font-size: 48px;
    line-height: 1.35;
    margin: 80px 0 10px;
}
.auth-brand p {
    color: #d1cdc6;
}
.auth-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid #fff3;
    padding-top: 23px;
    font-size: 12px;
}
.auth-form-wrap {
    background: var(--paper);
    display: grid;
    place-items: center;
    padding: 30px;
}
.auth-card {
    width: min(440px, 100%);
}
.auth-kicker {
    color: var(--orange);
    font-size: 12px;
}
.auth-card h1 {
    font-size: 34px;
    margin: 8px 0;
}
.auth-card > p {
    color: var(--muted);
    line-height: 1.8;
}
.form-label {
    display: block;
    font-size: 12px;
    margin-top: 28px;
}
.phone-field {
    height: 56px;
    display: flex;
    border: 1px solid var(--line);
    border-radius: 13px;
    direction: ltr;
    margin: 8px 0 12px;
    overflow: hidden;
}
.phone-field span {
    display: flex;
    align-items: center;
    padding: 0 14px;
    border-right: 1px solid var(--line);
    font-size: 13px;
}
.phone-field input {
    flex: 1;
    min-width: 0;
    border: 0;
    padding: 0 15px;
    font-size: 15px;
}
.auth-card .primary-button {
    width: 100%;
    justify-content: center;
}
.privacy {
    display: block;
    text-align: center;
    color: var(--muted);
    margin-top: 35px;
}
.otp-fields {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin: 10px 0;
}
.otp-fields input {
    width: 100%;
    height: 62px;
    text-align: center;
    border: 1px solid var(--line);
    border-radius: 12px;
    font-size: 24px;
}
.otp-fields input:focus {
    outline: 2px solid #ef650733;
    border-color: var(--orange);
}
.otp-hint {
    text-align: center !important;
    color: var(--muted);
    font-size: 12px;
}
.resend {
    display: block;
    text-align: center;
    color: var(--orange);
    font-size: 12px;
    margin-top: 14px;
}

/* Address and payment */
.address-page {
    min-height: calc(100dvh - 82px);
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    direction: ltr;
}
.address-map {
    position: relative;
    background-color: #eee8df;
    background-image:
        linear-gradient(
            30deg,
            #ded6ca 12%,
            transparent 12.5%,
            transparent 87%,
            #ded6ca 87.5%
        ),
        linear-gradient(
            150deg,
            #ded6ca 12%,
            transparent 12.5%,
            transparent 87%,
            #ded6ca 87.5%
        ),
        linear-gradient(
            30deg,
            #ded6ca 12%,
            transparent 12.5%,
            transparent 87%,
            #ded6ca 87.5%
        );
    background-size: 80px 140px;
    min-height: 720px;
}
.address-map:after {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        78deg,
        transparent 0 70px,
        #fff9 72px 82px
    );
}
.map-toolbar {
    position: absolute;
    z-index: 2;
    top: 35px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    padding: 14px 25px;
    border-radius: 18px;
    box-shadow: var(--shadow);
    text-align: center;
    direction: rtl;
}
.map-toolbar b,
.map-toolbar small {
    display: block;
}
.map-toolbar small {
    color: var(--muted);
    font-size: 10px;
}
.map-pin {
    position: absolute;
    z-index: 3;
    left: 50%;
    top: 43%;
    width: 54px;
    height: 54px;
    transform: rotate(45deg);
    border: 0;
    border-radius: 50% 50% 50% 10px;
    background: var(--orange);
    color: #fff;
    font-size: 0;
    box-shadow: 0 16px 25px #ef650755;
}
.map-pin:after {
    content: "";
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    display: block;
    margin: auto;
}
.gps-button {
    position: absolute;
    z-index: 3;
    left: 25px;
    bottom: 25px;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: var(--orange);
    font-size: 25px;
    box-shadow: var(--shadow);
}
.map-label {
    position: absolute;
    z-index: 3;
    left: 50%;
    top: 55%;
    transform: translateX(-50%);
    background: #fff;
    padding: 8px 13px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    font-size: 11px;
    direction: rtl;
}
.address-sheet {
    background: var(--paper);
    padding: 38px clamp(25px, 4vw, 58px);
    direction: rtl;
}
.address-sheet > header {
    display: flex;
    justify-content: space-between;
    align-items: start;
}
.address-sheet header span {
    color: var(--orange);
    font-size: 11px;
}
.address-sheet h1 {
    font-size: 30px;
    margin: 5px 0 25px;
}
.address-sheet header a {
    width: 38px;
    height: 38px;
    border: 1px solid var(--line);
    border-radius: 10px;
    display: grid;
    place-items: center;
}
.address-sheet h2 {
    font-size: 16px;
}
.saved-addresses label {
    display: grid;
    grid-template-columns: 20px 48px 1fr 20px;
    gap: 10px;
    align-items: center;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    margin: 10px 0;
    cursor: pointer;
}
.saved-addresses label:has(input:checked) {
    border-color: var(--orange);
    background: #fff9f3;
}
.saved-addresses input {
    accent-color: var(--orange);
}
.saved-addresses i {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    background: #fff0e5;
    color: var(--orange);
    border-radius: 12px;
    font-style: normal;
}
.saved-addresses b,
.saved-addresses small {
    display: block;
}
.saved-addresses small {
    font-size: 10px;
    color: var(--muted);
    line-height: 1.7;
}
.saved-addresses em {
    color: var(--orange);
    font-style: normal;
}
.secondary-button {
    width: 100%;
    height: 44px;
    border: 1px dashed #d4c9bb;
    background: #fff;
    color: var(--orange);
    border-radius: 11px;
}
.address-form {
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    margin-top: 12px;
}
.address-form:not([hidden]) {
    display: grid;
}
.address-form label {
    display: grid;
    gap: 5px;
    font-size: 10px;
}
.address-form label.wide {
    grid-column: 1/-1;
}
.address-form input {
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 0 10px;
}
.delivery-status {
    display: flex;
    justify-content: space-between;
    background: #edf7ec;
    color: var(--green);
    padding: 13px;
    border-radius: 12px;
    margin: 18px 0;
    font-size: 11px;
}
.address-sheet > .primary-button {
    justify-content: center;
}
.payment-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 24px;
    align-items: start;
}
.payment-content {
    display: grid;
    gap: 13px;
}
.review-card {
    padding: 22px;
}
.review-card > div {
    display: grid;
    grid-template-columns: 58px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
}
.review-card > div:last-child {
    border: 0;
}
.review-card img {
    width: 58px;
    height: 52px;
    border-radius: 9px;
    object-fit: cover;
}
.review-card b,
.review-card small {
    display: block;
}
.review-card small {
    color: var(--muted);
    font-size: 10px;
}
.review-card strong {
    font-size: 11px;
}
.review-card header a {
    color: var(--orange);
    font-size: 11px;
}
.review-card.compact p {
    color: var(--muted);
    font-size: 12px;
}
.review-card .eta {
    color: var(--orange);
    font-weight: 700;
}
.payment-methods label {
    display: grid;
    grid-template-columns: 20px 44px 1fr 20px;
    gap: 9px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 13px;
    padding: 12px;
    margin-top: 10px;
}
.payment-methods label:has(input:checked) {
    border-color: var(--orange);
    background: #fff9f3;
}
.payment-methods input {
    accent-color: var(--orange);
}
.payment-methods i {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    background: #fff0e5;
    color: var(--orange);
    border-radius: 11px;
    font-style: normal;
}
.safe-payment {
    display: flex;
    gap: 9px;
    background: #edf7ec;
    color: var(--green);
    padding: 14px;
    border-radius: 12px;
}
.safe-payment b,
.safe-payment small {
    display: block;
}
.safe-payment small {
    font-size: 9px;
    margin-top: 3px;
}

/* Existing supporting pages */
.container {
    max-width: 1240px;
    margin: auto;
    padding: 35px 24px 100px;
}
.container.narrow {
    max-width: 1100px;
}
.panel,
.summary,
.map {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 20px;
    box-shadow: var(--shadow);
    color: var(--ink);
}
.track-hero {
    min-height: 260px;
    border: 1px solid #ffffff1a;
    border-radius: 24px;
    padding: 38px;
    background:
        radial-gradient(circle at 15% 0, #ef65072c, transparent 38%), #17191b;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.open {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #74c780;
    background: #377a3e22;
    border: 1px solid #4b9c5455;
    border-radius: 30px;
    padding: 7px 11px;
    font-size: 11px;
}
.open i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #56b35c;
}
.track-hero h1 {
    font-size: 34px;
}
.track-hero h1 em {
    color: var(--orange);
    font-style: normal;
}
.track-hero p {
    color: #aaa;
    font-size: 11px;
}
.courier {
    min-width: 290px;
    display: grid;
    grid-template-columns: 48px 1fr 40px;
    gap: 10px;
    align-items: center;
    background: #ffffff0b;
    border: 1px solid #ffffff18;
    padding: 13px;
    border-radius: 15px;
}
.courier > i {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    background: #ef65071d;
    color: var(--orange);
    border-radius: 12px;
    font-style: normal;
}
.courier small,
.courier b,
.courier em {
    display: block;
    font-size: 10px;
}
.courier small,
.courier em {
    color: #aaa;
}
.courier button {
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 10px;
    background: var(--orange);
    color: #fff;
}
.track-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 18px;
    margin-top: 18px;
    align-items: start;
}
.timeline > div {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 12px;
    min-height: 65px;
}
.timeline > div > i {
    width: 36px;
    height: 36px;
    border: 1px solid var(--line);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-style: normal;
}
.timeline > div.done > i {
    background: var(--green);
    border-color: var(--green);
    color: #fff;
}
.timeline b,
.timeline small {
    display: block;
}
.timeline small {
    color: var(--muted);
    font-size: 10px;
}
.order-food {
    display: flex;
    gap: 9px;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
}
.order-food img {
    width: 58px;
    height: 52px;
    object-fit: cover;
    border-radius: 9px;
}
.order-food b,
.order-food small {
    display: block;
    font-size: 11px;
}
.order-food small {
    color: var(--muted);
}
.paid {
    display: flex;
    justify-content: space-between;
}
.support {
    width: 100%;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #f4f0eb;
}
.profile {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 26px;
    border: 1px solid #ffffff18;
    border-radius: 22px;
    background: linear-gradient(100deg, #ef650727, #17191b 45%);
}
.profile > i {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    background: var(--orange);
    border-radius: 18px;
    font-style: normal;
}
.profile h1 {
    margin: 3px 0;
}
.profile small,
.profile p {
    color: #aaa;
    font-size: 10px;
}
.profile button {
    margin-right: auto;
    background: #ffffff0c;
    border: 1px solid #ffffff18;
    color: #fff;
    border-radius: 10px;
    padding: 10px;
}
.account-grid {
    display: grid;
    grid-template-columns: 230px 1fr;
    gap: 18px;
    margin-top: 18px;
}
.account-menu {
    background: #17191b;
    border: 1px solid #ffffff18;
    border-radius: 16px;
    padding: 8px;
    height: max-content;
}
.account-menu button {
    width: 100%;
    height: 45px;
    text-align: right;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #aaa;
}
.account-menu button.active {
    background: var(--orange);
    color: #fff;
}
.history {
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 13px;
    margin-top: 10px;
}
.history header {
    display: flex;
    justify-content: space-between;
}
.history > div {
    display: grid;
    grid-template-columns: 50px 1fr auto;
    gap: 10px;
    align-items: center;
    margin-top: 10px;
}
.history img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 9px;
}
.history b,
.history small {
    display: block;
}
.history small {
    color: var(--muted);
}
.history a {
    color: var(--orange);
    font-size: 11px;
}
.blog-head {
    text-align: center;
    padding: 45px 0 35px;
}
.blog-head > small {
    color: var(--orange);
}
.blog-head h1 {
    font-size: 46px;
    line-height: 1.35;
    margin: 8px;
}
.blog-head p {
    color: #aaa;
}
.blog-head .search {
    height: 50px;
    width: min(460px, 100%);
    margin: 22px auto;
    display: flex;
    align-items: center;
    border: 1px solid #ffffff1b;
    border-radius: 14px;
    padding: 0 14px;
    background: #17191b;
}
.blog-head .search input {
    flex: 1;
    border: 0;
    background: transparent;
    color: #fff;
    padding: 0 10px;
}
.featured {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    background: #fff;
    color: var(--ink);
    border-radius: 23px;
    overflow: hidden;
}
.featured > img {
    width: 100%;
    height: 410px;
    object-fit: cover;
}
.featured > div {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.featured span,
.post-grid small {
    color: var(--orange);
}
.featured h2 {
    font-size: 28px;
}
.featured p {
    color: var(--muted);
    line-height: 1.9;
}
.featured b {
    color: var(--orange);
}
.post-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 18px;
}
.post-grid article {
    display: grid;
    grid-template-columns: 170px 1fr;
    background: #17191b;
    border: 1px solid #ffffff18;
    border-radius: 16px;
    overflow: hidden;
}
.post-grid img {
    width: 170px;
    height: 150px;
    object-fit: cover;
}
.post-grid article > div {
    padding: 16px;
}
.post-grid h3 {
    margin: 6px 0;
}
.post-grid p {
    font-size: 11px;
    color: #aaa;
    line-height: 1.8;
}
.back {
    display: inline-block;
    color: #aaa;
    margin-bottom: 15px;
}
.article {
    max-width: 900px;
}
.article > header {
    text-align: center;
    padding: 25px;
}
.article > header span {
    color: var(--orange);
}
.article > header h1 {
    font-size: 42px;
}
.article > header p {
    color: #aaa;
}
.article > header small {
    color: #777;
}
.article-hero {
    width: 100%;
    height: 470px;
    object-fit: cover;
    border-radius: 24px;
}
.article > section {
    max-width: 680px;
    margin: 35px auto;
}
.article section p {
    color: #c0bcb6;
    line-height: 2;
}
.article section aside {
    padding: 17px;
    border: 1px solid #ef650744;
    background: #ef650710;
    border-radius: 14px;
}
.article section img {
    width: 100%;
    border-radius: 18px;
}
.admin > header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.admin > header a {
    background: var(--orange);
    padding: 11px 14px;
    border-radius: 10px;
}
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 11px;
}
.stats article {
    display: flex;
    gap: 11px;
    background: #fff;
    color: var(--ink);
    border: 1px solid var(--line);
    padding: 16px;
    border-radius: 15px;
}
.stats article > i {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    background: #fff0e5;
    color: var(--orange);
    border-radius: 11px;
    font-style: normal;
}
.stats small {
    color: var(--muted);
}
.stats h2 {
    margin: 4px 0;
}
.stats em {
    color: var(--green);
    font-size: 10px;
}
.admin-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.7fr;
    gap: 12px;
    margin: 12px 0;
}
.chart > div {
    height: 240px;
    display: flex;
    align-items: end;
    justify-content: space-around;
    border-bottom: 1px solid var(--line);
}
.chart > div i {
    width: 27px;
    background: linear-gradient(var(--orange), #ffac6a);
    border-radius: 8px 8px 0 0;
}
.top-products p {
    display: grid;
    grid-template-columns: 46px 1fr auto;
    gap: 8px;
    align-items: center;
}
.top-products img {
    width: 46px;
    height: 42px;
    border-radius: 8px;
    object-fit: cover;
}
.orders {
    margin-top: 12px;
}
.table {
    overflow: auto;
}
table {
    width: 100%;
    border-collapse: collapse;
}
th,
td {
    text-align: right;
    padding: 12px;
    border-bottom: 1px solid var(--line);
    font-size: 11px;
}
th {
    color: var(--muted);
}
td span {
    color: var(--orange);
    background: #fff0e5;
    padding: 6px;
    border-radius: 8px;
}

@media (max-width: 1000px) {
    .desktop-nav {
        display: none;
    }
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .product-detail-page {
        grid-template-columns: 1fr;
    }
    .product-gallery {
        position: relative;
        top: 0;
        height: 530px;
        min-height: 0;
    }
    .checkout-layout,
    .payment-layout,
    .track-grid {
        grid-template-columns: 1fr;
    }
    .order-summary,
    .payment-summary {
        position: static;
    }
    .auth-layout {
        grid-template-columns: 0.8fr 1.2fr;
    }
    .address-page {
        grid-template-columns: 1fr;
    }
    .address-map {
        min-height: 430px;
    }
    .account-grid {
        grid-template-columns: 1fr;
    }
    .account-menu {
        display: flex;
        overflow: auto;
    }
    .account-menu button {
        min-width: 150px;
    }
    .stats {
        grid-template-columns: 1fr 1fr;
    }
    .admin-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 680px) {
    body {
        padding-bottom: 76px;
    }
    .topbar {
        height: 66px;
    }
    .topbar-inner {
        padding: 0 14px;
        gap: 10px;
    }
    .brand {
        font-size: 22px;
    }
    .brand-moon {
        font-size: 30px;
    }
    .menu-toggle {
        display: block;
        order: -1;
    }
    .location-pill {
        margin-right: auto;
        font-size: 10px;
        max-width: 145px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .header-actions > a:first-child {
        display: none;
    }
    .header-actions > a {
        width: 38px;
        height: 38px;
    }
    .mobile-nav {
        display: flex;
        position: fixed;
        z-index: 80;
        bottom: 0;
        left: 0;
        right: 0;
        height: 72px;
        padding-bottom: env(safe-area-inset-bottom);
        background: #101214f5;
        border-top: 1px solid #ffffff1a;
        justify-content: space-around;
        align-items: center;
        backdrop-filter: blur(16px);
    }
    .mobile-nav a {
        position: relative;
        min-width: 52px;
        color: #898989;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 3px;
    }
    .mobile-nav a.active {
        color: var(--orange);
    }
    .mobile-nav i {
        font-style: normal;
        font-size: 20px;
    }
    .mobile-nav span {
        font-size: 9px;
    }
    .mobile-cart-bar {
        position: fixed;
        z-index: 79;
        right: 10px;
        left: 10px;
        bottom: 80px;
        min-height: 62px;
        border: 1px solid #ffffff21;
        border-radius: 16px;
        background: #16191bf2;
        color: #fff;
        padding: 9px 12px;
        display: none;
        align-items: center;
        justify-content: space-between;
        box-shadow: 0 15px 35px #0008;
    }
    .mobile-cart-bar.is-visible {
        display: flex;
    }
    .mobile-cart-bar b,
    .mobile-cart-bar small {
        display: block;
    }
    .mobile-cart-bar b {
        font-size: 12px;
    }
    .mobile-cart-bar small {
        color: #aaa;
        font-size: 9px;
    }
    .mobile-cart-bar > a {
        background: var(--orange);
        padding: 11px 14px;
        border-radius: 11px;
        font-size: 11px;
    }
    .home-hero {
        height: 475px;
        margin-top: -1px;
    }
    .hero-overlay {
        background: linear-gradient(180deg, #08090913, #080909dd 75%, #0b0d0f);
    }
    .hero-content {
        width: 100%;
        padding: 0 18px;
        justify-content: flex-end;
        align-items: center;
        text-align: center;
        padding-bottom: 50px;
    }
    .eyebrow {
        font-size: 11px;
    }
    .hero-content h1 {
        font-size: 42px;
        letter-spacing: -2px;
        margin: 9px 0;
    }
    .mobile-only {
        display: block;
    }
    .hero-status {
        font-size: 11px;
    }
    .hero-search {
        height: 54px;
        margin-top: 20px;
    }
    .storefront {
        margin: -23px auto 0;
        padding: 0 12px 150px;
    }
    .category-strip {
        margin: 0 -12px;
        padding: 0 12px 7px;
    }
    .category-card {
        min-width: 82px;
        height: 82px;
        border-radius: 15px;
    }
    .category-card i {
        font-size: 23px;
    }
    .category-card span {
        font-size: 10px;
    }
    .menu-section {
        padding-top: 30px;
    }
    .section-heading h2 {
        font-size: 21px;
    }
    .section-heading span,
    .section-heading > a {
        font-size: 10px;
    }
    .product-grid {
        gap: 9px;
    }
    .product-card {
        border-radius: 16px;
    }
    .product-image {
        height: 140px;
    }
    .discount-badge {
        font-size: 8px;
        top: 8px;
        right: 8px;
    }
    .favorite {
        width: 29px;
        height: 29px;
    }
    .product-body {
        padding: 11px;
    }
    .product-body h3 {
        font-size: 13px;
    }
    .product-body p {
        height: 48px;
        font-size: 9px;
    }
    .price strong {
        font-size: 11px;
    }
    .quantity-control,
    .quantity-control button {
        height: 35px;
    }
    .quantity-control button {
        width: 35px;
    }
    .promise-strip {
        grid-template-columns: 1fr;
        padding: 12px;
        margin-top: 30px;
    }
    .promise-strip > div {
        border-left: 0;
        border-bottom: 1px solid var(--dark-line);
        justify-content: flex-start;
        padding: 10px;
    }
    .promise-strip > div:last-child {
        border: 0;
    }
    .product-detail-page {
        display: block;
    }
    .product-gallery {
        height: 390px;
    }
    .product-gallery-image {
        width: min(82%, 330px);
        max-height: calc(100% - 48px);
        border-radius: 18px;
    }
    .gallery-thumbs {
        bottom: 16px;
    }
    .gallery-thumbs button {
        width: 64px;
        height: 49px;
    }
    .product-config {
        padding: 24px 16px 110px;
    }
    .product-title-row h1 {
        font-size: 27px;
    }
    .product-score {
        font-size: 10px;
    }
    .size-options {
        gap: 6px;
    }
    .size-options span {
        padding: 10px 4px;
    }
    .addon-list label {
        font-size: 11px;
    }
    .product-buybar {
        position: fixed;
        z-index: 79;
        bottom: calc(78px + env(safe-area-inset-bottom));
        left: 10px;
        right: 10px;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 17px;
        padding: 9px 11px;
        grid-template-columns: minmax(0, 100px) minmax(0, 1fr);
        box-shadow: 0 -12px 34px #0003;
    }
    .related-products {
        padding: 22px 12px;
    }
    .related-products > div {
        display: flex;
        overflow: auto;
    }
    .related-products a {
        min-width: 260px;
    }
    .page-container {
        padding: 22px 12px 120px;
    }
    .checkout-header h1 {
        font-size: 25px;
    }
    .checkout-header > a {
        font-size: 9px;
    }
    .checkout-steps {
        margin: 22px 0 42px;
    }
    .checkout-steps span {
        font-size: 8px;
    }
    .checkout-steps b {
        width: 30px;
        height: 30px;
    }
    .checkout-steps:before {
        top: 14px;
    }
    .cart-panel {
        padding: 13px;
    }
    .cart-item {
        grid-template-columns: 82px 1fr auto;
        padding: 14px 0;
        gap: 9px;
    }
    .cart-item > img {
        width: 82px;
        height: 70px;
    }
    .cart-item-info h3 {
        font-size: 13px;
    }
    .cart-stepper {
        grid-column: 2;
    }
    .remove-item {
        position: absolute;
        margin-right: 66px;
        margin-top: 48px;
    }
    .cart-upsell {
        grid-template-columns: 1fr 1fr;
    }
    .cart-upsell > div {
        grid-column: 1/-1;
    }
    .cart-upsell article {
        grid-template-columns: 42px 1fr 27px;
    }
    .cart-upsell img {
        width: 42px;
        height: 42px;
    }
    .auth-layout {
        display: block;
    }
    .auth-visual {
        min-height: 270px;
        padding: 26px 22px;
    }
    .auth-brand h2 {
        font-size: 31px;
        margin: 45px 0 8px;
    }
    .auth-benefits {
        display: none;
    }
    .auth-form-wrap {
        min-height: calc(100dvh - 270px);
        border-radius: 24px 24px 0 0;
        margin-top: -24px;
        position: relative;
        padding: 32px 18px 100px;
    }
    .auth-card h1 {
        font-size: 27px;
    }
    .address-page {
        display: block;
    }
    .address-map {
        min-height: 360px;
    }
    .map-toolbar {
        top: 18px;
        width: 75%;
    }
    .address-sheet {
        padding: 24px 14px 110px;
        border-radius: 24px 24px 0 0;
        margin-top: -30px;
        position: relative;
    }
    .address-sheet h1 {
        font-size: 25px;
    }
    .delivery-status {
        display: grid;
        gap: 4px;
    }
    .review-card,
    .payment-summary {
        padding: 14px;
    }
    .review-card > div {
        grid-template-columns: 50px 1fr;
    }
    .review-card > div > strong {
        grid-column: 2;
    }
  .payment-summary {
    position: fixed;
    z-index: 79;
    top: auto;
    bottom: calc(72px + env(safe-area-inset-bottom));
    left: 10px;
    right: 10px;
    width: auto;
    height: auto;
    min-height: 0;
    border-radius: 18px;
    padding: 11px 14px;
    box-shadow: 0 -10px 35px #17100a24;
    }
    .payment-summary h2,
    .payment-summary dl,
    .payment-summary .safe-payment,
    .payment-summary > small {
        display: none;
    }
    .payment-summary .summary-total {
        padding: 5px 0;
    }
  .payment-summary .primary-button {
    height: 49px;
    margin: 4px 0 0;
  }
  .checkout-page .payment-content {
    padding-bottom: 132px;
  }
  .checkout-page .mobile-cart-bar,
  .checkout-page .floating-call,
  .checkout-page .site-footer {
    display: none !important;
  }
    .track-hero {
        padding: 24px 16px;
        display: block;
    }
    .track-hero h1 {
        font-size: 25px;
        line-height: 1.6;
    }
    .courier {
        margin-top: 18px;
        min-width: 0;
    }
    .profile {
        padding: 16px;
    }
    .profile button {
        font-size: 0;
    }
    .post-grid {
        grid-template-columns: 1fr;
    }
    .featured {
        grid-template-columns: 1fr;
    }
    .featured > img {
        height: 240px;
    }
    .featured > div {
        padding: 22px;
    }
    .featured h2 {
        font-size: 21px;
    }
    .post-grid article {
        grid-template-columns: 120px 1fr;
    }
    .post-grid img {
        width: 120px;
        height: 140px;
    }
    .blog-head h1 {
        font-size: 31px;
    }
    .article > header h1 {
        font-size: 29px;
    }
    .article-hero {
        height: 280px;
    }
    .stats {
        gap: 7px;
    }
    .stats article {
        padding: 10px;
    }
    .admin > header h1 {
        font-size: 18px;
    }
    .chart > div i {
        width: 16px;
    }
}

/* OTP verifies automatically after the fourth digit. */
.otp-label-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 12px;
    margin-top: 28px;
}
.otp-label-row .form-label {
    margin: 0;
}
.otp-label-row > span {
    color: var(--muted);
    font-size: 9px;
}
.otp-fields {
    position: relative;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.otp-fields input {
    transition:
        border-color 0.18s,
        background 0.18s,
        color 0.18s,
        box-shadow 0.18s,
        transform 0.18s;
}
.otp-fields.has-error input {
    border-color: #df3f3f;
    background: #fff4f4;
    color: #ad2020;
    box-shadow: 0 0 0 3px #df3f3f12;
}
.otp-fields.has-error input:focus {
    outline: 0;
    border-color: #c92020;
    box-shadow: 0 0 0 4px #df3f3f1d;
}
.otp-verification-status {
    min-height: 24px;
    margin: 10px 0 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    color: var(--muted);
    font-size: 11px;
}
.otp-verification-status.is-error {
    padding: 9px 12px;
    border: 1px solid #ef5a5a38;
    border-radius: 10px;
    background: #fff1f1;
    color: #b52222;
}
.otp-spinner {
    width: 15px;
    height: 15px;
    border: 2px solid #ef650733;
    border-top-color: var(--orange);
    border-radius: 50%;
    animation: otp-spin 0.7s linear infinite;
}
.otp-fields input:read-only {
    background: #fff8f2;
    border-color: #ef650766;
}
.auth-card form.is-verifying .otp-fields {
    opacity: 0.78;
}
.auth-card form.is-verifying .resend {
    pointer-events: none;
    opacity: 0.45;
}
@keyframes otp-spin {
    to {
        transform: rotate(360deg);
    }
}
@media (max-width: 480px) {
    .otp-label-row {
        align-items: start;
        flex-direction: column;
        gap: 5px;
    }
    .otp-fields {
        gap: 7px;
    }
    .otp-fields input {
        height: 56px;
        font-size: 22px;
    }
}
