:root {
    --cream: #fff8e8;
    --soft: #fffdf7;
    --card: #fffaf0;
    --gold: #d6a21a;
    --gold-dark: #9d6f08;
    --brown: #3a2112;
    --brown-soft: #74502b;
    --red: #9f171a;
    --green: #17853c;
    --muted: #747b86;
    --line: #efdba9;
    --shadow: 0 10px 26px rgba(75, 45, 10, 0.1);
    --radius: 20px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Cairo", sans-serif;
}

body {
    min-height: 100vh;
    background:
        radial-gradient(circle at 15% 0%,
            rgba(255, 255, 255, 0.95),
            transparent 30%),
        radial-gradient(circle at 90% 5%,
            rgba(214, 162, 26, 0.1),
            transparent 26%),
        linear-gradient(180deg, #fff9eb 0%, #fffdf7 48%, #fff8e7 100%);
    color: var(--brown);
    overflow-x: hidden;
    /* padding-bottom: 102px; */
    font-size: 15px;
}

body:before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.2;
    background-image: radial-gradient(circle,
            rgba(157, 111, 8, 0.1) 1px,
            transparent 1px);
    background-size: 22px 22px;
    z-index: -1;
}

.page {
    width: min(1120px, 100%);
    margin: auto;
}

.hero {
    position: relative;
    padding: 20px clamp(14px, 3vw, 34px) 0;
    min-height: 188px;
    display: grid;
    grid-template-columns: 60% 40%;
    align-items: center;
    gap: 0;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}

/*/////////////////////////////////////////*/

.hero-pattern,
.hero-cloud,
.hero-birds {
    position: absolute;
    pointer-events: none;
    user-select: none;
}

.hero-pattern {
    width: 330px;
    opacity: .055;
    z-index: 0;
}

.hero-pattern-right {
    right: -90px;
    top: -70px;
}

.hero-pattern-left {
    left: -100px;
    bottom: -100px;
    transform: rotate(180deg);
}

.hero-cloud {
    width: 300px;
    left: 13%;
    top: 77px;
    opacity: .45;
    z-index: 1;
}

.hero-birds {
    width: 128px;
    right: 58%;
    top: 90px;
    opacity: .28;
    z-index: 1;
}

/*/////////////////////////////////////////*/

.swing-sheep {
    position: absolute;
    top: 60px;
    width: 58px;
    height: 72px;
    object-fit: contain;
    opacity: 0.78;
    filter: drop-shadow(0 7px 9px rgba(63, 33, 14, 0.14));
    transform-origin: 50% 0%;
    animation: swing 3.2s ease-in-out infinite;
    z-index: 1;
}

.swing-sheep.right {
    right: 18px;
}

.swing-sheep.left {
    left: 18px;
    animation-delay: 0.6s;
}

.swing-line {
    position: absolute;
    top: 0;
    width: 1px;
    height: 120px;
    background: linear-gradient(var(--gold), transparent);
    opacity: 0.55;
}

.swing-line.right {
    right: 47px;
}

.swing-line.left {
    left: 47px;
}

@keyframes swing {
    50% {
        transform: rotate(6deg) translateY(5px);
    }
}

@keyframes float {
    50% {
        transform: translateY(-7px);
    }
}

@keyframes twinkle {
    50% {
        transform: scale(1.2);
        opacity: 0.5;
    }
}



.sheep-hero {
    width: min(220px, 100%);
    filter: none;
    justify-self: center;
    align-self: end;
    padding-left: 66px;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: right;
    padding-inline: 80px 40px;
    justify-self: stretch;
}

.hero h1 {
    font-size: clamp(25px, 4.2vw, 48px);
    line-height: 1.18;
    color: var(--brown);
    font-weight: 900;
    letter-spacing: -0.5px;
    text-shadow: 0 3px 0 rgba(214, 162, 26, 0.1);
}

.hero p {
    color: var(--gold-dark);
    font-size: clamp(14px, 2vw, 22px);
    font-weight: 600;
    margin-top: 7px;
}

.star {
    position: absolute;
    top: 62px;
    left: 13%;
    color: var(--gold);
    font-size: 19px;
    animation: twinkle 1.8s infinite;
}


.top-actions {
    position: absolute;
    top: 18px;
    left: 25px;
    right: 25px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    pointer-events: none;
    z-index: 3;
}

.icon-square {
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.85);
    color: var(--gold-dark);
    box-shadow: 0 8px 20px rgba(91, 55, 12, 0.1);
    font-size: 17px;
    pointer-events: auto;
    cursor: pointer;
}

.categories-wrap {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 249, 235, 0.88);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(214, 162, 26, 0.18);
}

.categories {
    width: min(1120px, 100%);
    margin: auto;
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 12px clamp(14px, 3vw, 28px);
    scrollbar-width: none;
}

.categories::-webkit-scrollbar {
    display: none;
}

.cat {
    min-width: 104px;
    height: 74px;
    border: 1px solid rgba(214, 162, 26, 0.2);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.76);
    box-shadow: 0 8px 18px rgba(91, 55, 12, 0.08);
    color: var(--brown);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-weight: 800;
    font-size: 14px;
    cursor: pointer;
    transition: 0.22s ease;
    white-space: nowrap;
}

.cat i {
    font-size: 21px;
    color: var(--gold-dark);
}

.cat.active,
.cat:hover {
    background: linear-gradient(135deg, #dca728, #c78d07);
    color: #fff;
    transform: translateY(-2px);
}

.cat.active i,
.cat:hover i {
    color: #fff;
}

.featured-cat {
    /* border: 1px solid rgba(159, 23, 26, 0.25); */
    background: linear-gradient(135deg, #fff3d9, #ffe2a3);
    color: var(--red);
    font-weight: 800 !important;
    font-size: 12px !important;
    position: relative;
}

.featured-cat i {
    color: var(--red);
}

.featured-cat.active,
.featured-cat:hover {
    background: linear-gradient(135deg, #df3338, #a3181c);
    color: #fff;
}

.featured-cat.active i,
.featured-cat:hover i {
    color: #fff;
}

main {
    padding: 22px clamp(14px, 3vw, 28px);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}


.card {
    position: relative;
    background: linear-gradient(180deg, #fffef9, #fff8e9);
    border: 1px solid rgba(214, 162, 26, 0.22);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 13px;
    overflow: hidden;
    animation: fadeUp 0.35s ease both;

    display: flex;
    flex-direction: column;
    height: 100%;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.food-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 16px;
    display: block;
    background: #fff3d9;
}

.badge {
    position: absolute;
    top: 21px;
    right: 21px;
    padding: 5px 10px;
    border-radius: 13px 13px 13px 3px;
    background: linear-gradient(135deg, #d8a421, #c78d07);
    color: white;
    font-weight: 900;
    font-size: 12px;
    box-shadow: 0 7px 14px rgba(101, 67, 7, 0.16);
}

.badge.green {
    background: linear-gradient(135deg, #20984d, #126e35);
}

.badge.red {
    background: linear-gradient(135deg, #df3338, #a3181c);
}

.card-body {
    padding: 13px 5px 2px;
    text-align: center;

    flex: 1;
    display: flex;
    flex-direction: column;
}

.card h3 {
    font-size: 20px;
    line-height: 1.25;
    font-weight: 900;
    color: var(--brown);
    margin-bottom: 7px;
}

.desc {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
    min-height: 46px;
    margin-bottom: 10px;
}


.price-row {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 10px;
    margin: auto 0 12px;
}

.card-body>.add-btn,
.card-body>.qty-box {
    margin-top: 0;
}

.old {
    color: #9fa2a7;
    text-decoration: line-through;
    font-size: 14px;
    font-weight: 700;
}

.price {
    color: var(--red);
    font-size: 21px;
    font-weight: 900;
}

/* /////////////////////////////////////////////////////////////////////////////////// */
.sizes-box {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    justify-content: center;
    margin: 11px 0 12px;
}

.size-option {
    border: 1px solid rgba(214, 162, 26, 0.25);
    background: #fff8e8;
    color: var(--brown);
    border-radius: 13px;
    padding: 7px 10px;
    cursor: pointer;
    font-family: inherit;
    min-width: 76px;
    transition: 0.2s ease;
}

.size-option span {
    display: block;
    font-size: 12px;
    font-weight: 800;
}

.size-option strong {
    display: block;
    font-size: 13px;
    color: var(--red);
    font-weight: 900;
}

.size-option.active {
    background: linear-gradient(135deg, #dca728, #c78d07);
    color: #fff;
}

.size-option.active strong {
    color: #fff;
}

/* /////////////////////////////////////////////////////////////////////////////////// */

.add-btn,
.qty-box {
    height: 47px;
    border-radius: 15px;
    width: 100%;
}

.add-btn {
    border: 0;
    background: linear-gradient(135deg, #efd59b, #d29a11, #c28a06);
    color: #fff;
    font-size: 16px;
    font-weight: 900;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 9px;
    padding-inline: 16px 12px;
    box-shadow: 0 8px 15px rgba(157, 111, 8, 0.18);
    transition: 0.22s ease;
}

.add-btn:hover {
    transform: translateY(-1px);
}

.add-icon {
    width: 70px;
    height: 80px;
    object-fit: contain;
    flex-shrink: 0;
    margin-inline-start: 2px;
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .12));
}


.qty-box {
    display: none;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    background: #fff5df;
    border: 1px solid rgba(214, 162, 26, 0.16);
    padding: 7px 12px;
}

.qty-btn {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 12px;
    background: #fff;
    color: var(--gold-dark);
    font-size: 19px;
    font-weight: 900;
    box-shadow: 0 5px 12px rgba(91, 55, 12, 0.1);
    cursor: pointer;
    justify-self: center;
}

.qty-btn.minus {
    color: #e26060;
}

.qty-number {
    font-size: 19px;
    font-weight: 900;
    text-align: center;
    color: #202833;
}

.card.in-cart .add-btn {
    display: none;
}

.card.in-cart .qty-box {
    display: grid;
}

.floating-cart {
    position: fixed;
    left: 18px;
    bottom: 18px;
    z-index: 100;
    width: 104px;
    min-height: 82px;
    /* border: 1px solid rgba(214, 162, 26, .24);
    background: rgba(255, 253, 246, .96);
    backdrop-filter: blur(16px); */
    border-radius: 23px;
    /* box-shadow: 0 14px 34px rgba(63, 33, 14, .15); */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 9px 8px;
}

.sheep-cart-btn {
    position: relative;
    width: 88px;
    height: 70px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.sheep-cart-btn img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    filter: drop-shadow(0 7px 8px rgba(63, 33, 14, 0.15));
}

.cart-count {
    position: absolute;
    top: 10px;
    left: -4px;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #dbad26, #b87807);
    color: white;
    font-weight: 900;
    font-size: 14px;
    box-shadow: 0 4px 10px rgba(101, 67, 7, 0.18);
}

.order-btn {
    height: 58px;
    border: 0;
    border-radius: 18px;
    background: linear-gradient(135deg, #dca728, #c98d06);
    color: white;
    font-size: 18px;
    font-weight: 900;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    box-shadow: 0 8px 16px rgba(157, 111, 8, 0.18);
}

.order-btn img {
    width: 39px;
    height: 39px;
    object-fit: contain;
    filter: drop-shadow(0 3px 4px rgba(63, 33, 14, 0.18));
}

.order-btn small {
    display: block;
    font-size: 11px;
    font-weight: 700;
    opacity: 0.95;
    line-height: 1.1;
}

.drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(30, 18, 7, 0.34);
    z-index: 150;
    display: none;
}

.drawer-backdrop.show {
    display: block;
}

.cart-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: min(390px, 92vw);
    height: 100vh;
    background: #fffdf7;
    z-index: 160;
    transform: translateX(-105%);
    transition: 0.28s ease;
    box-shadow: 18px 0 42px rgba(0, 0, 0, 0.14);
    padding: 18px;
    display: flex;
    flex-direction: column;
}

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

.drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.drawer-head h3 {
    font-size: 22px;
    font-weight: 900;
}

.close {
    border: 0;
    background: #fff4dc;
    color: var(--brown);
    width: 38px;
    height: 38px;
    border-radius: 13px;
    font-size: 17px;
    cursor: pointer;
}

.drawer-scroll {
    flex: 1;
    overflow-y: auto;
    padding-inline-end: 4px;
    padding-bottom: 14px;
    min-height: 0;
}

.cart-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cart-line {
    direction: rtl;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f7f8fa;
    border: 0;
    border-radius: 8px;
    padding: 10px 12px;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    order: 1;
}

.cart-item-image img,
.cart-no-image {
    width: 100%;
    height: 100%;
    border-radius: 6px;
    object-fit: cover;
    background: #fff3d9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-dark);
}

.cart-item-info {
    flex: 1;
    text-align: right;
    min-width: 0;
    order: 2;
}

.cart-item-info h5 {
    font-size: 16px;
    font-weight: 900;
    color: #0f2740;
    margin-bottom: 6px;
    line-height: 1.4;
}

.cart-item-info span {
    display: block;
    font-size: 14px;
    color: #3d4b5c;
    font-weight: 500;
}

.cart-item-actions {
    order: 3;
    direction: ltr;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.cart-action-btn {
    width: 25px;
    height: 25px;
    border: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 13px;
    font-weight: 900;
    box-shadow: none;
}

.cart-action-btn.plus {
    background: #2563eb;
    color: #fff;
}

.cart-action-btn.minus {
    background: #e5e7eb;
    color: #64748b;
}

.cart-action-btn.delete {
    background: #fee2e2;
    color: #ef4444;
}

.cart-item-qty {
    min-width: 14px;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    color: #0f2740;
}

.empty {
    color: var(--muted);
    text-align: center;
    margin-top: 36px;
    font-weight: 800;
}

.drawer-foot {
    border-top: 1px solid var(--line);
    padding-top: 12px;
    margin-top: 12px;
    background: #fffdf7;
}

.summary-row {
    margin-bottom: 12px;
}

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

.summary-main span,
.summary-total span {
    color: var(--brown);
    font-size: 16px;
    font-weight: 900;
}

.summary-main strong {
    color: #0f2740;
    font-size: 16px;
    font-weight: 900;
    direction: rtl;
}

.summary-note {
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.6;
    text-align: right;
}

.summary-divider {
    height: 1px;
    background: var(--line);
    margin: 12px 0 14px;
}

.minimum-row .summary-main span,
.minimum-row .summary-main strong {
    color: #e5531b;
}

.discount-row .summary-main span,
.discount-row .summary-main strong {
    color: var(--red);
}

.vat-row .summary-main span,
.vat-row .summary-main strong {
    color: #2563eb;
}

.summary-total {
    margin-top: 14px;
    margin-bottom: 14px;
}

.summary-total span,
.summary-total strong {
    color: var(--brown);
    font-size: 22px;
    font-weight: 900;
}

/* .drawer-total {
    display: flex;
    justify-content: space-between;
    font-size: 19px;
    font-weight: 900;
    margin-bottom: 12px;
} */

.toast {
    position: fixed;
    top: 14px;
    left: 50%;
    transform: translateX(-50%) translateY(-120px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    min-width: min(560px, calc(100vw - 24px));
    padding: 14px 48px 14px 18px;

    border-radius: 6px;
    z-index: 300;

    transition: 0.22s ease;
    font-weight: 800;
    font-size: 15px;
    text-align: right;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.toast.success {
    background: #2a1a0b;
    color: #fff;
}

.toast.error {
    background: #fff7bf;
    color: #9a5b00;
    border: 1px solid #f2bd1d;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}

.toast-close {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);

    border: 0;
    background: transparent;
    color: inherit;

    font-size: 22px;
    font-weight: 900;
    cursor: pointer;
}

.customer-box {
    background: #fff8e8;
    border: 1px solid rgba(214, 162, 26, 0.18);
    border-radius: 16px;
    padding: 13px;
    margin: 12px 0;
}

.customer-box h4 {
    font-size: 17px;
    font-weight: 900;
    margin-bottom: 10px;
    color: var(--brown);
}

.customer-box input,
.customer-box textarea {
    width: 100%;
    border: 1px solid rgba(214, 162, 26, 0.25);
    border-radius: 13px;
    padding: 10px 12px;
    margin-bottom: 9px;
    background: #fffdf7;
    color: var(--brown);
    font-family: inherit;
    outline: none;
}

@media (max-width: 960px) {
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .order-btn {
        font-size: 16px;
    }
}

@media (max-width: 680px) {

    .cart-drawer {
        width: 100vw;
        max-width: 100vw;
        border-radius: 0;
    }

    body {
        /* padding-bottom: 148px; */
    }


    .hero {
        min-height: 220px;
        grid-template-columns: 1fr;
        padding-top: 58px;
        padding-bottom: 0;
        align-items: start;
    }

    /*/////////////////////////////////////////*/

    .hero-cloud {
        width: 260px;
        right: 50%;
        top: 170px;
        transform: translateX(50%);
        opacity: .38;
    }

    .hero-birds {
        width: 150px;
        right: 29%;
        top: 179px;
        opacity: .22;
    }

    .hero-pattern {
        width: 260px;
        opacity: .020;
    }

    /*/////////////////////////////////////////*/

    .top-actions {
        position: absolute;
        top: 18px;
        left: 20px;
        right: 20px;
    }

    .sheep-hero {
        width: 145px;
        filter: none;
        justify-self: center;
        align-self: end;
        padding-left: 0px;
    }

    .hero-content {
        padding-inline: 0;
        text-align: center;
        justify-self: center;
    }

    .icon-square {
        width: 40px;
        height: 40px;
        border-radius: 14px;
    }

    .swing-sheep {
        width: 45px;
        height: 58px;
    }

    .swing-line.right {
        right: 40px;
        height: 200px;
    }

    .swing-sheep.right {
        right: 12px;
        /* height: 228px; */
        top: 160px;
    }

    .swing-line.left {
        left: 40px;
        height: 200px;
    }

    .swing-sheep.left {
        left: 18px;
        /* height: 228px; */
        top: 140px;
    }

    .star {
        left: 77%;
        top: 129px;
        /* display: none; */
    }

    .categories {
        padding: 11px 14px;
        gap: 8px;
    }

    .cat {
        min-width: 92px;
        height: 66px;
        font-size: 13px;
        border-radius: 16px;
    }

    .cat i {
        font-size: 19px;
    }

    main {
        padding: 16px 14px;
    }

    .menu-grid {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .card {
        display: grid;
        grid-template-columns: 42% 1fr;
        gap: 11px;
        padding: 10px;
        border-radius: 20px;
    }

    .food-img {
        height: 100%;
        min-height: 138px;
        border-radius: 15px;
    }

    .card-body {
        padding: 2px 0;
        text-align: right;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .card h3 {
        font-size: 18px;
        margin-bottom: 5px;
    }

    .desc {
        font-size: 13px;
        min-height: auto;
        line-height: 1.55;
    }

    .price-row {
        justify-content: flex-start;
        margin: 8px 0 9px;
    }

    .price {
        font-size: 20px;
    }

    .old {
        font-size: 13px;
    }

    .sizes-box {
        justify-content: flex-start;
        margin: 8px 0 9px;
        gap: 6px;
    }

    .size-option {
        min-width: 68px;
        padding: 6px 8px;
        border-radius: 12px;
    }

    .size-option span {
        font-size: 11px;
    }

    .size-option strong {
        font-size: 12px;
    }

    .add-btn,
    .qty-box {
        height: 43px;
        border-radius: 14px;
    }

    .add-btn {
        font-size: 15px;
    }

    .qty-btn {
        width: 33px;
        height: 33px;
        border-radius: 11px;
    }

    .qty-number {
        font-size: 18px;
    }

    .badge {
        top: 15px;
        right: 15px;
        font-size: 11px;
        padding: 4px 9px;
    }

    .floating-cart {
        right: 12px;
        bottom: 12px;
        width: 92px;
        min-height: 78px;
        padding: 8px;
        border-radius: 21px;
    }

    .sheep-cart-btn {
        width: 76px;
        height: 62px;
    }

    .sheep-cart-btn img {
        width: 76px;
        height: 62px;
    }

    .order-btn {
        height: 54px;
        font-size: 18px;
        border-radius: 17px;
    }

    .order-btn img {
        width: 38px;
        height: 38px;
    }
}

@media (max-width: 420px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 25px;
        padding-bottom: 0;
        min-height: 220px;
        gap: 0;
    }

    .hero-content {
        text-align: center;
        padding: 0;
        justify-self: center;
    }

    .hero h1 {
        font-size: 30px;
    }

    .hero p {
        font-size: 16px;
    }

    .sheep-hero {
        width: 145px;
        order: initial;
        justify-self: center;
        align-self: end;
    }

    .swing-sheep {
        width: 45px;
        height: 58px;
    }


    .card {
        grid-template-columns: 1fr;
        padding: 12px;
    }

    .food-img {
        height: 160px;
    }

    .card-body {
        text-align: center;
    }

    .price-row {
        justify-content: center;
    }

    .sizes-box {
        justify-content: center;
    }
}

/* أضف هذا فقط داخل الـ CSS بدون تعديل أي شيء آخر */

@keyframes cartBounce {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-4px) rotate(1deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

.sheep-cart-btn.animate {
    animation: cartBounce 2.2s ease-in-out infinite;
}

.icon-square.playing {
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.12);
    }

    100% {
        transform: scale(1);
    }
}


.eid-footer {
    margin-top: 28px;
    padding: 0 14px 20px;
}

.eid-footer-inner {
    width: min(1120px, 100%);
    margin: auto;
    background: linear-gradient(180deg, #fffcee, #fff6df);
    /* border: 1px solid rgba(214, 162, 26, 0.24); */
    border: 1px solid rgb(255 210 92 / 24%);
    border-radius: 24px 24px 0 0;
    /* box-shadow: var(--shadow); */
    padding: 22px 18px 18px;
    position: relative;
    overflow: hidden;
}

.eid-footer-inner:before {
    content: "";
    position: absolute;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: rgba(214, 162, 26, 0.09);
    top: -90px;
    right: -70px;
}

.eid-footer-top {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 16px;
}

.eid-footer-brand h3 {
    color: var(--brown);
    font-size: 22px;
    font-weight: 900;
    margin-bottom: 5px;
}

.eid-footer-brand p {
    color: var(--brown-soft);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.7;
}

.eid-footer-social {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.eid-footer-social a {
    width: 42px;
    height: 42px;
    border-radius: 15px;
    background: #fff8e8;
    border: 1px solid rgba(214, 162, 26, 0.24);
    color: var(--gold-dark);
    display: grid;
    place-items: center;
    text-decoration: none;
    box-shadow: 0 7px 14px rgba(91, 55, 12, 0.08);
    transition: 0.22s ease;
}

.eid-footer-social a:hover {
    background: linear-gradient(135deg, #dca728, #c78d07);
    color: #fff;
    transform: translateY(-2px);
}

.eid-payment-section {
    position: relative;
    z-index: 1;
    padding-top: 16px;
    text-align: center;
}

.eid-payment-title {
    color: var(--brown);
    font-size: 15px;
    font-weight: 900;
    margin-bottom: 12px;
}

.eid-payment-methods {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.payment-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid rgba(214, 162, 26, 0.26);
    background: #fff8e8;
    color: var(--brown);
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 800;
    font-family: inherit;
    line-height: 1;
    box-shadow: 0 7px 15px rgba(91, 55, 12, 0.08);
}

button.payment-chip {
    cursor: pointer;
    transition: 0.22s ease;
}

button.payment-chip:hover {
    background: linear-gradient(135deg, #dca728, #c78d07);
    color: #fff;
    transform: translateY(-1px);
}

.payment-chip-icon {
    color: var(--gold-dark);
    font-size: 15px;
}

button.payment-chip:hover .payment-chip-icon {
    color: #fff;
}

.eid-footer-copy {
    position: relative;
    z-index: 1;
    margin-top: 16px;
    padding-top: 15px;
    border-top: 1px solid var(--line);
    text-align: center;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.payment-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(30, 18, 7, 0.34);
    backdrop-filter: blur(4px);
    z-index: 9998;
}

.payment-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(92vw, 370px);
    background: linear-gradient(180deg, #fffef9, #fff8e9);
    border: 1px solid rgba(214, 162, 26, 0.28);
    border-radius: 22px;
    padding: 22px 18px 18px;
    box-shadow: 0 24px 70px rgba(63, 33, 14, 0.22);
    z-index: 9999;
    text-align: center;
}

.payment-popup-close {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 13px;
    background: #fff4dc;
    color: var(--brown);
    cursor: pointer;
}

.payment-popup-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: #fff4dc;
    color: var(--gold-dark);
    display: grid;
    place-items: center;
    font-size: 22px;
}

.payment-popup-title {
    color: var(--brown);
    font-size: 18px;
    font-weight: 900;
    margin-bottom: 12px;
}

.payment-popup-text {
    background: #fff8e8;
    border: 1px solid rgba(214, 162, 26, 0.18);
    border-radius: 16px;
    padding: 13px 14px;
    color: var(--brown-soft);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.9;
    white-space: pre-line;
}

.payment-wallet-box {
    background: #fff8e8;
    border: 1px dashed var(--gold);
    border-radius: 16px;
    padding: 13px 14px;
    color: var(--brown);
    font-size: 19px;
    font-weight: 900;
    direction: ltr;
    margin-bottom: 13px;
}

.payment-copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 0;
    background: linear-gradient(135deg, #dca728, #c78d07);
    color: #fff;
    padding: 12px 18px;
    border-radius: 15px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 900;
    font-family: inherit;
    box-shadow: 0 8px 16px rgba(157, 111, 8, 0.18);
}

.payment-copy-success {
    margin-top: 11px;
    font-size: 13px;
    color: var(--green);
    font-weight: 900;
}

.hidden {
    display: none !important;
}

@media (max-width: 680px) {
    .eid-footer {
        padding-bottom: 50px;
    }

    .eid-footer-top {
        flex-direction: column;
        text-align: center;
    }

    .eid-footer-social {
        justify-content: center;
    }

    .payment-chip {
        padding: 9px 12px;
        font-size: 13px;
    }
}


.branch-menu-panel {
    position: fixed;
    top: 50%;
    left: 50%;
    width: min(360px, calc(100vw - 36px));
    transform: translate(-50%, -50%);
    background: linear-gradient(180deg, #fffef9, #fff8e9);
    border: 1px solid rgba(214, 162, 26, 0.28);
    border-radius: 22px;
    padding: 72px 14px 14px;
    box-shadow: 0 22px 60px rgba(63, 33, 14, 0.2);
    z-index: 10001;
    pointer-events: auto;
}

.branch-menu-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(30, 18, 7, 0.34);
    backdrop-filter: blur(4px);
    z-index: 10000;
    pointer-events: auto;
}

.branch-menu-close,
.branch-info-close {
    position: absolute;
    top: 16px;
    left: 16px;

    width: 38px;
    height: 38px;

    border: 0;
    border-radius: 14px;

    background: #fff4dc;
    color: var(--brown);

    cursor: pointer;

    z-index: 2;
}

.branch-menu-item {
    width: 100%;
    border: 0;
    background: #fff8e8;
    color: var(--brown);
    border-radius: 16px;
    padding: 14px;
    margin-bottom: 9px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 11px;
    text-decoration: none;
    font-family: inherit;
    font-size: 15px;
    font-weight: 900;
    cursor: pointer;
    border: 1px solid rgba(214, 162, 26, 0.18);
}

.branch-menu-item i {
    color: var(--gold-dark);
    font-size: 17px;
}

.branch-info-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    width: min(92vw, 430px);
    max-height: 82vh;
    overflow-y: auto;
    transform: translate(-50%, -50%);
    background: linear-gradient(180deg, #fffef9, #fff8e9);
    border: 1px solid rgba(214, 162, 26, 0.28);
    border-radius: 24px;
    padding: 52px 18px 18px;
    box-shadow: 0 24px 70px rgba(63, 33, 14, 0.24);
    z-index: 10002;
    text-align: right;
    pointer-events: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.branch-info-popup::-webkit-scrollbar {
    display: none;
}

.branch-info-popup h3 {
    text-align: center;
    color: var(--brown);
    font-size: 22px;
    font-weight: 900;
    margin-bottom: 16px;
}

.branch-info-section {
    background: #fff8e8;
    border: 1px solid rgba(214, 162, 26, 0.18);
    border-radius: 17px;
    padding: 13px 14px;
    margin-bottom: 11px;
}

.branch-info-section h4 {
    color: var(--brown);
    font-size: 15px;
    font-weight: 900;
    margin-bottom: 8px;
}

.branch-info-section h4 i {
    color: var(--gold-dark);
    margin-left: 6px;
}

.branch-info-section p,
.branch-info-section a {
    display: block;
    color: var(--brown-soft);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.8;
    text-decoration: none;
}

.branch-socials {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.branch-socials a {
    width: 42px;
    height: 42px;
    border-radius: 15px;
    background: #fff8e8;
    color: var(--gold-dark);
    border: 1px solid rgba(214, 162, 26, 0.24);
    display: grid;
    place-items: center;
    text-decoration: none;
}

.contact-line {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: #fffdf7;
    border: 1px solid rgba(214, 162, 26, 0.12);
    border-radius: 14px;
    padding: 11px 13px;
    margin-bottom: 8px;
    text-decoration: none;
}

.contact-line span {
    color: var(--brown-soft);
    font-size: 13px;
    font-weight: 800;
}

.contact-line strong {
    color: var(--brown);
    font-size: 15px;
    font-weight: 900;
    direction: ltr;
}

.whatsapp-line {
    background: #f3fff6;
    border-color: rgba(23, 133, 60, 0.18);
}

/*/////////////////////////////////////////*/
.menu-state-page {
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 24px;

    background:
        radial-gradient(circle at 15% 0%,
            rgba(255, 255, 255, 0.95),
            transparent 30%),
        radial-gradient(circle at 90% 5%,
            rgba(214, 162, 26, 0.1),
            transparent 26%),
        linear-gradient(180deg, #fff9eb 0%, #fffdf7 48%, #fff8e7 100%);
}

.menu-state-card {
    width: min(460px, 100%);

    background: linear-gradient(180deg, #fffef9, #fff8e9);

    border: 1px solid rgba(214, 162, 26, 0.24);

    border-radius: 34px;

    padding: 42px 28px;

    text-align: center;

    box-shadow: 0 24px 70px rgba(63, 33, 14, 0.12);

    position: relative;

    overflow: hidden;
}

.menu-state-card::before {
    content: "";

    position: absolute;

    width: 240px;
    height: 240px;

    border-radius: 50%;

    background: rgba(214, 162, 26, 0.08);

    top: -120px;
    right: -90px;
}

.menu-state-icon {
    width: 88px;
    height: 88px;

    margin: 0 auto 20px;

    border-radius: 50%;

    background: linear-gradient(135deg, #dca728, #c78d07);

    color: #fff;

    display: grid;
    place-items: center;

    font-size: 34px;

    box-shadow: 0 14px 34px rgba(157, 111, 8, 0.18);

    position: relative;
    z-index: 1;
}

.menu-state-title {
    color: var(--brown);

    font-size: 34px;

    font-weight: 900;

    margin-bottom: 12px;

    position: relative;
    z-index: 1;
}

.menu-state-text {
    color: var(--brown-soft);

    font-size: 16px;

    font-weight: 700;

    line-height: 1.9;

    margin-bottom: 22px;

    position: relative;
    z-index: 1;
}

.menu-state-badge {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    background: #fff4dc;

    color: var(--gold-dark);

    border: 1px solid rgba(214, 162, 26, 0.22);

    border-radius: 999px;

    padding: 12px 18px;

    font-size: 14px;

    font-weight: 900;

    position: relative;
    z-index: 1;
}

/*/////////////////////////////////////////*/
.unavailable-btn {
    background: linear-gradient(135deg, #f2e5c8, #dcc7a0) !important;

    color: #8b6d42 !important;

    cursor: not-allowed !important;

    opacity: 0.92;

    box-shadow: none !important;

    border: 1px solid rgba(120, 90, 40, 0.12);
}

.unavailable-btn:hover {
    transform: none !important;
}

.unavailable-icon {
    width: 68px !important;
    height: 68px !important;

    object-fit: contain;

    filter: none !important;

    opacity: 0.92;
}