html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    background: #fafafa;

}

.shawarma-button {
    display: inline-block;
    background-color: #f28f0d;  /* choose your theme color */
    color: white;
    padding: 1.5px 4px;
    margin-left: 0px;
    border-radius: 1px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
  }
  
  .shawarma-button:hover {
    background-color: #ef633d;
  }
  

  
.menu-item-offer {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    border-top: 58px solid #ed3a2d;
    border-radius: 8px;
    border-right: 58px solid transparent;
    z-index: 2;
}

.menu-item-offer-text {
    position: absolute;
    top: 15px;
    left: 0;

    width: 48px;
    text-align: center;
    color: #fff;
    font-weight: bold;
    font-size: 0.85rem;
    transform: rotate(-45deg);
    z-index: 3;
    pointer-events: none;
    letter-spacing: 0.5px;
}

.menu-item-img-wrap {
    position: relative;
    width: 100%;
}


.aqb-marquee {
    width: 100vw;
    overflow: hidden;
    background: #ff645a;
    color: #fff;
    font-weight: bold;
    font-size: 1rem;
    padding: 4px 0;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.aqb-marquee-inner {
    display: inline-block;
    white-space: nowrap;
    padding-left: 80vw;
    animation: aqb-marquee-move 9s linear infinite;
}

.loader {
    display: none;
    border: 8px solid #f3f3f3;
    border-top: 8px solid #3498db;
    border-radius: 50%;
    width: 10px;
    height: 10px;
    animation: spin 1s linear infinite;
    margin: 10px auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes aqb-marquee-move {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100vw);
    }
}

.aqb-header {
    
    height: 118px;
    background: #2f2828;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    display: flex;
    position: static;
    align-items: center;
    gap: 24px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 35px;
    border-radius: 4px;
}

.aqb-header * {
    color: #fff !important;
}

.aqb-header-img {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 14px;
    margin: 24px;
}

.aqb-header-info {
    flex: 1;
    padding: 24px 0;
}

.aqb-header-info h1 {
    text-transform: none;
    margin: 0 0 8px 0;
    font-size: 2rem;
    font-weight: 700;
    /* font-family: "Arial, sans-serif"; */
}

.aqb-header-info .desc {
    color: #ccc;
    margin-bottom: 8px;
}

.aqb-header-info .meta {
    color: #888;
    font-size: 1rem;
}

.aqb-main-layout {
    display: flex;
    max-width: 1100px;
    margin: 22px auto;
    gap: 25px;
}

.aqb-sidebar {
    width: 15%;
    position: sticky;
    top: 32px;
    align-self: flex-start;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    padding: 10px;
    height: fit-content;
}

.aqb-sidebar h3 {
    margin-top: 0;
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.aqb-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.aqb-sidebar li {
    margin-bottom: 10px;
}

.aqb-sidebar a {
    color: #e27269;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.aqb-sidebar a:hover {
    color: #e55b50;
}

.aqb-menu-section {
    flex: 1;
    min-width: 0;
}

.menu-category {
    margin-bottom: 40px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    padding: 10px 20px 8px 20px;
}

.menu-category h2 {
    font-size: 1.3rem;
    border-bottom: 2px solid #ff645a;
    padding-bottom: 3px;
    margin-bottom: 18px;
}

.menu-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.menu-item {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    padding: 1px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: box-shadow 0.2s;
    position: relative;
    min-height: 60px;
}

.menu-item img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 12px;
    transition: transform 0.3s;
}

.menu-item:hover img {
    transform: scale(1.08);
}

.menu-item-title {
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 1.1rem;
    width: 100%;
}

.menu-item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 8px;
}

.menu-item-price {
    color: #ff645a;
    font-weight: 600;
    font-size: 1.1rem;
}

.menu-item button {
    background: #ff645a;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 8px 18px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    align-self: flex-end;
    transition: background 0.2s;
    margin-top: 0;
}

.menu-item button:hover {
    background: #898303;
}

#cart {
    display: none;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    padding: 4px 16px;
    position: sticky;
    align-self: flex-start;
    min-height: 30px;
    z-index: 10;
    left: unset;
    right: unset;
    bottom: unset;
    max-width: 30%;
    max-height: 340px;
    overflow-y: auto;
}

#cart ul {
    list-style: none;
    padding: 0;
    margin: 0 0 10px 0;
    max-height: 90px;
    overflow-y: auto;
}

#cart ul li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
    font-size: 1rem;
}

#cart ul li span {
    flex: 1;
}

#cart ul li a {
    color: #ff645a;
    text-decoration: underline;
    cursor: pointer;
    font-size: 0.95em;
    margin-left: 10px;
}

#cart-total {
    font-weight: bold;
    margin-top: 6px;
    font-size: 1.1rem;
}

#cart-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 10px;
    gap: 1px;
}

#walletCartOption {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1px 0;
}

#cart-coupon button {
    background-color: #8b8903;
    color: white;
    font-weight:400;
    border: none;
    padding: 7px 12px;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s;
}

#walletCartOption button {
    background-color: #ff645a;
    color: white;
    border: none;
    padding: 7px 12px;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    font-weight:600;
    transition: background 0.2s;
}


#walletCartOption button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

#cart-actions button {
    background-color: #ff645a;
    color: white;
    border: none;
    padding: 7px 12px;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s;
}

#cart-actions button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
}

.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    max-height: 10%;
    text-align: center;
}

.payment-model-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    text-align: center;
}

.payment-model-content input,
.payment-model-content button {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.payment-model-content button {
    background-color: #ff645a;
    color: white;
    border: none;
    cursor: pointer;
}

.payment-model-content button:hover {
    background-color: #e55b50;
}


.modal-content input,
.modal-content button {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.modal-content button {
    background-color: #ff645a;
    color: white;
    border: none;
    cursor: pointer;
}

.modal-content button:hover {
    background-color: #e55b50;
}

.modal img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.userform {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    align-items: center;
    justify-content: center;
    padding-top: 30px;
    /* adjust to your banner height */
    box-sizing: border-box;
}

.userform-content {
    background-color: #fff;
    padding: 28px 20px 20px 20px;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    text-align: left;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.13);
}

.userform-content h3 {
    margin-top: 0;
    margin-bottom: 1px;
    color: #b23c33;
    text-align: center;
    font-weight: 100;
    letter-spacing: 1px;
}

.userform-content label {
    display: block;
    margin-bottom: 5px;
    font-weight: 400;
}

.userform-content input,
.userform-content textarea {
    width: 100%;
    padding: 4px;
    margin-top: 3px;
    margin-bottom: 3px;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-sizing: border-box;
    background: #fafafa;
}

.userform-content textarea {
    resize: vertical;
    min-height: 80px;
}

.userform-content button {

    padding: 8px;
    margin-top: 8px;
    border-radius: 6px;
    background-color: #ff645a;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: 600;
    transition: background 0.2s;
}

.userform-content button:hover {
    background-color: #e55b50;
}

.qr-small {
    width: 200px;
    height: auto;
    display: block;
    margin: 0 auto;
}
.wallet-balance {
    font-weight: 600;
    color: #1a7f37;
    background: #da5909;
    padding: 1px 12px;
    border-radius: 6px;
    margin-left: 16px;
}

.floating-cart-btn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    padding: 10px 16px;
    background-color: #fe645a;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.2s;
}


.floating-cart-btn:hover {
    background-color: #0f0f10;
}


@media (min-width: 800px) {
    #cart {
        top: 52px;
    }
}

@media (max-width: 700px) {
    .aqb-header {
        flex-direction: row;
        align-items: center;
        padding: 1px 1px;
        height: auto;
        max-width: 100vw;
        gap: 12px;
    }
    .menu-category {
        margin-bottom: 20px;
    }
    .menu-item button {
        padding: 4px 15px;
    }
    .aqb-sidebar li {
        margin-bottom: 8px;
    }
    .aqb-sidebar {
        width: 19%;
    }
    #walletCartOption button{
        background-color: #0f0e0e;
        margin-left: 25px;
    }

    .userform-content input,
    .userform-content textarea {
        font-size: 14px;
    }
    .aqb-marquee-inner {
        padding-left: 50vw;
        animation: aqb-marquee-move 7s linear infinite;
    }
  
    .payment-model-content {
        width: 85%;
    }
    /* Parent container (modal overlay) */
.modal {
    display: none;
    position: fixed;
    top: 0; 
    left: 0;
    width: 100vw;
    height: 100vh;
    justify-content: center; /* horizontal center */
    align-items: center;     /* vertical center */
    background: rgba(0,0,0,0.5); /* optional overlay */
    z-index: 1000;      
}

/* Modal content */
.modal-content {

    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 300px;
    text-align: center;
    /* remove margin, since flex handles centering */
    margin: 0;
}

    .wallet-balance {
        margin-left: 1px;
    }

    .aqb-header-img {
        width: 60px;
        height: 60px;
        margin: 0 12px 0 0;
        border-radius: 10px;
    }

    .aqb-header-info {
        padding: 8px 0;
    }

    .floating-cart-btn {
        position: fixed;
        bottom: 0vh;
        right: 0.5vw;
        z-index: 10000;
        color: #fff;
        width: calc(100% - 1vw); 
        border: none;
        border-radius: 0.5em;
        font-size: 1.1rem;
        font-weight: 700;
        cursor: pointer;
        text-align: center;
        box-shadow: 0 0.3em 0.5em rgba(0, 0, 0, 0.1);
        transition: background-color 0.2s;
    }
    
    .aqb-header-info h1 {
        font-size: 1.1rem;
        margin-bottom: 4px;
    }

    .aqb-header-info .desc,
    .aqb-header-info .meta {
        font-size: 0.95rem;
    }

    .aqb-main-layout {
        margin: 0;
        gap: 5px;
        padding: 0 4px;
    }

    .aqb-sidebar {
        top: 30px;
        padding: 5px;
        left: 0;
    }

    .menu-category {
        padding: 10px 4px 4px 4px;
    }
    #cart {
        border-radius: 0;
        max-height: 60vh;
        padding: 16px;
    }
    #cart {
        position: fixed;
        left: 1vw;
        right: 1vw;
        bottom: 0;
        width: 100vw;
        background: #f8f9fb;
        padding: 16px;
        border-top: 1px solid #ccc;
        box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.2);
        z-index: 9999;
        display: none;
        max-width: 90%;
        max-height: 340px;
        height: auto;
        overflow-y: auto;
        border-radius: 12px 12px 0 0;
        animation: slideUp 0.3s ease-out;
    }

    .menu-items{
        gap: 8px;
    }
    .userform-content {
        width: 87%;
    }
    
}

.captcha-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.captcha-text {
    font-family: 'Raleway', Arial, sans-serif;
    font-size: 1.5em;
    letter-spacing: 6px;
    background: #eee;
    padding: 1px 18px;
    border-radius: 8px;
    font-weight: bold;
    user-select: none;
    display: inline-block;
}

.captcha-reload-button {
    border: none;
    background: #eee;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
}

#authModal .userform-content button[type="submit"] {
    background: #ff645a;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 8px;
    font-weight: 600;
    margin-top: 10px;
}

#authModal .userform-content label {
    margin-bottom: 6px;
    display: block;
}