
/* Pakistani Restaurant UI Redesign v15.1
   Mobile-first, warm, simple, human restaurant interface.
*/

:root{
    --pr-green:#123b27;
    --pr-green-2:#0d2a1c;
    --pr-gold:#c79a38;
    --pr-cream:#fffaf0;
    --pr-cream-2:#f7efe1;
    --pr-card:#ffffff;
    --pr-text:#1e201d;
    --pr-muted:#6f716b;
    --pr-border:#eadfcd;
    --pr-shadow:0 14px 34px rgba(28,26,20,.08);
    --pr-radius:24px;

    --orange:var(--pr-green);
    --orange-dark:var(--pr-green-2);
    --black:var(--pr-text);
    --muted:var(--pr-muted);
    --bg:var(--pr-cream);
    --card:var(--pr-card);
    --border:var(--pr-border);
    --shadow:var(--pr-shadow);
}

*{
    -webkit-tap-highlight-color:transparent;
}

body{
    font-family:"Manrope",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
    background:var(--pr-cream);
    color:var(--pr-text);
    letter-spacing:-.01em;
    padding-bottom:0;
}

h1,h2,h3,
.menu-hero h1,
.page-hero h1,
.pr-hero-content h1{
    font-family:"Playfair Display",Georgia,serif;
    letter-spacing:-.035em;
    font-weight:800;
}

a,button,input,textarea{
    font-family:inherit;
}

.btn{
    min-height:48px;
    border-radius:18px;
    padding:14px 22px;
    font-weight:800;
    letter-spacing:-.01em;
    box-shadow:none;
}

.btn-primary{
    background:linear-gradient(180deg,#17452d,#0f2f20);
    color:#fff;
    box-shadow:0 14px 28px rgba(18,59,39,.20);
}

.btn-primary:hover{
    background:var(--pr-green-2);
    transform:translateY(-1px);
}

.btn-outline,
.btn-light{
    background:#fffaf4;
    color:var(--pr-green);
    border:1px solid rgba(18,59,39,.38);
}

.section-kicker,.eyebrow{
    background:rgba(199,154,56,.13);
    color:var(--pr-green);
    letter-spacing:.13em;
    border-radius:999px;
    border:1px solid rgba(199,154,56,.16);
}

/* Header */
.pr-header{
    height:78px;
    padding:0 clamp(18px,5vw,72px);
    background:rgba(255,250,240,.92);
    border-bottom:1px solid rgba(234,223,205,.86);
    box-shadow:0 8px 30px rgba(28,26,20,.045);
}

.pr-brand{
    gap:12px;
}

.pr-brand-mark{
    background:var(--pr-green);
    color:#fff;
    border-radius:18px;
    width:48px;
    height:48px;
    font-family:"Playfair Display",Georgia,serif;
    box-shadow:none;
}

.brand-logo-img{
    max-height:52px;
    width:auto;
    border-radius:12px;
}

.pr-brand-text{
    display:flex;
    flex-direction:column;
    line-height:1.05;
}

.pr-brand-text strong{
    color:var(--pr-green);
    font-family:"Playfair Display",Georgia,serif;
    font-size:24px;
    letter-spacing:-.04em;
}

.pr-brand-text small{
    color:var(--pr-gold);
    text-transform:uppercase;
    letter-spacing:.22em;
    font-size:10px;
    font-weight:800;
    margin-top:4px;
}

.pr-nav{
    gap:24px;
}

.pr-nav a{
    color:#3a382f;
    font-weight:800;
    font-size:14px;
}

.pr-nav a.active,
.pr-nav a:hover{
    color:var(--pr-green);
}

.pr-header-actions{
    display:flex;
    align-items:center;
    gap:12px;
}

.pr-cart-link{
    display:inline-flex;
    align-items:center;
    gap:9px;
    min-height:42px;
    padding:10px 14px;
    color:var(--pr-green);
    background:#fff;
    border:1px solid var(--pr-border);
    border-radius:999px;
    font-weight:900;
    box-shadow:0 8px 18px rgba(28,26,20,.04);
}

.pr-cart-link strong{
    min-width:25px;
    height:25px;
    display:grid;
    place-items:center;
    background:var(--pr-gold);
    color:white;
    border-radius:999px;
    font-size:13px;
}

.pr-menu-btn{
    background:var(--pr-green);
    border-radius:16px;
    box-shadow:none;
}

/* Homepage */
.pr-home-hero{
    background:
      radial-gradient(circle at 10% 0%,rgba(199,154,56,.10),transparent 30%),
      linear-gradient(180deg,#fffaf0 0%,#fff7e8 100%);
    overflow:hidden;
    text-align:center;
}

.pr-hero-image{
    height:min(44vw,440px);
    min-height:240px;
    overflow:hidden;
    background:#efe2cd;
    position:relative;
}

.pr-hero-image:after{
    content:"";
    position:absolute;
    left:-5%;
    right:-5%;
    bottom:-1px;
    height:80px;
    background:var(--pr-cream);
    border-radius:50% 50% 0 0 / 100% 100% 0 0;
}

.pr-hero-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    filter:saturate(1.05) contrast(1.03);
}

.pr-hero-placeholder{
    height:100%;
    display:grid;
    place-items:center;
    color:var(--pr-green);
    font-weight:900;
    background:linear-gradient(135deg,#f3e1c8,#fff8ec);
}

.pr-hero-content{
    max-width:820px;
    margin:0 auto;
    padding:52px 20px 46px;
}

.pr-ornament{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    color:var(--pr-gold);
    font-size:28px;
    margin-bottom:10px;
}

.pr-hero-content h1{
    margin:0;
    color:var(--pr-green);
    font-size:clamp(42px,8vw,72px);
    line-height:1.02;
}

.pr-hero-content p{
    max-width:560px;
    margin:18px auto 28px;
    color:var(--pr-muted);
    line-height:1.75;
    font-size:18px;
}

.pr-hero-actions{
    display:flex;
    justify-content:center;
    gap:14px;
    flex-wrap:wrap;
}

.pr-hero-actions .btn{
    min-width:180px;
}

.pr-home-section{
    padding:38px clamp(18px,6vw,92px);
}

.pr-section-line{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    margin-bottom:20px;
}

.pr-section-line h2{
    margin:0;
    color:var(--pr-text);
    font-size:clamp(24px,3vw,34px);
}

.pr-section-line a{
    color:var(--pr-green);
    font-weight:900;
    white-space:nowrap;
}

.pr-category-scroll{
    display:flex;
    gap:14px;
    overflow:auto;
    padding:4px 2px 10px;
    scrollbar-width:none;
}

.pr-category-scroll::-webkit-scrollbar{display:none}

.pr-category-bubble{
    flex:0 0 132px;
    min-height:124px;
    display:grid;
    place-items:center;
    gap:10px;
    text-align:center;
    background:#fff;
    border:1px solid var(--pr-border);
    border-radius:24px;
    box-shadow:var(--pr-shadow);
    color:var(--pr-text);
    padding:15px;
}

.pr-category-bubble span{
    width:54px;
    height:54px;
    display:grid;
    place-items:center;
    border-radius:50%;
    background:#fff7e8;
    color:var(--pr-green);
    font-weight:900;
    font-family:"Playfair Display",Georgia,serif;
    font-size:24px;
}

.pr-category-bubble strong{
    font-size:14px;
}

.pr-featured-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:18px;
}

.pr-feature-card{
    position:relative;
    display:grid;
    grid-template-columns:130px 1fr;
    gap:16px;
    align-items:center;
    background:#fff;
    border:1px solid var(--pr-border);
    border-radius:24px;
    box-shadow:var(--pr-shadow);
    padding:12px 52px 12px 12px;
    min-height:154px;
    overflow:hidden;
}

.pr-feature-img{
    width:130px;
    height:130px;
    border-radius:20px;
    overflow:hidden;
    background:#f2dfc4;
    display:grid;
    place-items:center;
    color:var(--pr-green);
    font-weight:900;
}

.pr-feature-img img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.pr-feature-card small{
    color:var(--pr-gold);
    font-weight:900;
    text-transform:uppercase;
    font-size:11px;
}

.pr-feature-card h3{
    margin:4px 0 6px;
    color:var(--pr-green);
    font-size:22px;
}

.pr-feature-card p{
    color:var(--pr-muted);
    line-height:1.5;
    margin:0 0 10px;
    font-size:14px;
}

.pr-feature-card strong{
    color:var(--pr-green);
}

.pr-plus{
    position:absolute;
    right:14px;
    bottom:14px;
    width:38px;
    height:38px;
    display:grid;
    place-items:center;
    border-radius:13px;
    background:#f7f1e7;
    color:var(--pr-green);
    font-size:24px;
    font-weight:700;
}

.pr-benefit-strip{
    margin-top:24px;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:1px;
    background:var(--pr-border);
    border:1px solid var(--pr-border);
    border-radius:24px;
    overflow:hidden;
    box-shadow:var(--pr-shadow);
}

.pr-benefit-strip span{
    background:#fffdf8;
    padding:18px 16px;
    text-align:center;
    color:var(--pr-green);
    font-weight:900;
}

.pr-location-section{
    display:grid;
    grid-template-columns:1fr 1.2fr;
    gap:22px;
    align-items:stretch;
}

.pr-location-card,
.pr-map-shell,
.pr-track-section,
.pr-final-cta{
    background:#fff;
    border:1px solid var(--pr-border);
    border-radius:28px;
    box-shadow:var(--pr-shadow);
}

.pr-location-card{
    padding:30px;
}

.pr-location-card h2,
.pr-track-section h2,
.pr-final-cta h2{
    margin:12px 0 10px;
    color:var(--pr-green);
    font-size:clamp(28px,4vw,42px);
}

.pr-location-card p,
.pr-track-section p,
.pr-final-cta p{
    color:var(--pr-muted);
    line-height:1.7;
}

.pr-location-meta{
    display:grid;
    gap:12px;
    margin:24px 0;
}

.pr-location-meta div{
    display:flex;
    justify-content:space-between;
    gap:20px;
    padding:14px;
    border-radius:18px;
    background:#fff8ec;
    border:1px solid var(--pr-border);
}

.pr-location-meta strong{
    color:var(--pr-text);
}

.pr-location-meta span{
    color:var(--pr-green);
    font-weight:800;
}

.pr-map-shell{
    padding:14px;
    min-height:320px;
}

.pr-map-shell .map-placeholder,
.map-placeholder{
    height:100%;
    min-height:290px;
    border-radius:22px;
    background:#f2eadc;
    display:grid;
    place-items:center;
    text-align:center;
    color:var(--pr-muted);
    border:1px solid var(--pr-border);
}

.pr-track-section{
    display:grid;
    grid-template-columns:1fr 1.3fr;
    gap:24px;
    align-items:center;
    padding:30px;
}

.track-form{
    display:flex;
    gap:12px;
    margin:0;
}

.track-form input{
    flex:1;
    min-height:52px;
    border:1px solid var(--pr-border);
    border-radius:18px;
    padding:0 16px;
    background:#fffaf4;
}

.pr-final-cta{
    margin:38px clamp(18px,6vw,92px) 60px;
    text-align:center;
    padding:38px 24px;
}

.pr-final-cta h2{
    margin-top:0;
}

/* Page heroes */
.page-hero,
.menu-hero{
    background:linear-gradient(180deg,#fffaf0,#fff7e8);
    padding:64px 18px 28px;
}

.page-hero.compact{
    padding:56px 18px 32px;
}

.menu-hero h1,
.page-hero h1{
    color:var(--pr-green);
    margin:10px 0;
}

/* Menu page: same clean mobile list vibe */
.menu-page{
    background:var(--pr-cream);
}

.menu-layout{
    display:grid;
    grid-template-columns:260px minmax(0,1fr);
    gap:24px;
    padding:26px clamp(18px,5vw,70px) 90px;
    align-items:start;
}

.menu-sidebar{
    position:sticky;
    top:94px;
    background:#fff;
    border:1px solid var(--pr-border);
    border-radius:28px;
    padding:18px;
    box-shadow:var(--pr-shadow);
}

.menu-sidebar h2{
    color:var(--pr-green);
    font-size:24px;
    margin:0 0 14px;
}

.category-pill{
    border-radius:18px;
    background:#fff8ec;
    color:#2c2b26;
    text-align:left;
    border:1px solid transparent;
    font-weight:900;
}

.category-pill.active,
.category-pill:hover{
    background:var(--pr-green);
    color:#fff;
}

.menu-tools{
    gap:12px;
    margin-bottom:22px;
    align-items:center;
}

.menu-tools input{
    min-height:54px;
    background:#fff;
    border:1px solid var(--pr-border);
    box-shadow:0 8px 22px rgba(28,26,20,.045);
    border-radius:999px;
}

.cart-mini{
    background:var(--pr-green);
    color:#fff;
    min-height:54px;
    display:flex;
    align-items:center;
    border-radius:999px;
}

.cart-mini span{
    background:var(--pr-gold);
    color:#fff;
}

.menu-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:14px;
}

.product-card{
    background:#fff;
    border:1px solid var(--pr-border);
    border-radius:24px;
    box-shadow:var(--pr-shadow);
    overflow:hidden;
    transition:.18s ease;
}

.product-card:hover{
    transform:translateY(-2px);
    box-shadow:0 18px 40px rgba(28,26,20,.11);
}

.product-img{
    height:210px;
    background:#f1dfc4;
    color:var(--pr-green);
}

.product-body{
    padding:18px;
}

.product-body small{
    color:var(--pr-gold);
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.05em;
}

.product-body h3{
    color:var(--pr-green);
    margin:4px 0 8px;
    font-size:24px;
}

.product-body p{
    color:var(--pr-muted);
    line-height:1.55;
    font-size:15px;
    margin:0;
}

.product-meta{
    margin-top:12px;
}

.product-meta span,
.allergen-chip{
    background:#fff8ec !important;
    color:#9a6a16 !important;
    border:1px solid rgba(199,154,56,.20) !important;
    border-radius:999px !important;
}

.product-footer{
    margin-top:14px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
}

.product-footer strong{
    color:var(--pr-green);
    font-size:18px;
}

.mini-btn{
    background:var(--pr-green);
    color:white;
    border:0;
    border-radius:14px;
    padding:12px 18px;
    font-weight:900;
    cursor:pointer;
    min-width:86px;
}

.modal-backdrop{
    background:rgba(18,25,18,.48);
    backdrop-filter:blur(8px);
}

.product-modal,
.map-picker-modal{
    border-radius:30px;
    overflow:hidden;
    border:1px solid rgba(255,255,255,.48);
}

.modal-close{
    background:var(--pr-green);
}

.modal-product-info small{
    color:var(--pr-gold);
}

.modal-product-info h2{
    color:var(--pr-green);
}

.variation-option{
    border-color:var(--pr-border);
    border-radius:18px;
}

.qty-row button{
    background:var(--pr-green);
}

/* Cart & Checkout */
.cart-page,
.checkout-page,
.account-page{
    background:var(--pr-cream);
}

.cart-shell,
.checkout-shell{
    gap:22px;
}

.cart-items-panel,
.cart-summary-panel,
.checkout-form,
.account-card,
.account-sidebar{
    border-color:var(--pr-border);
    border-radius:28px;
    box-shadow:var(--pr-shadow);
}

.checkout-form h2,
.cart-summary-panel h2,
.account-card h2,
.account-sidebar h2{
    color:var(--pr-green);
}

.checkout-form input,
.checkout-form textarea,
.account-form input,
.account-form textarea{
    border-color:var(--pr-border);
    border-radius:18px;
    background:#fffdf8;
}

.checkout-form input:focus,
.checkout-form textarea:focus,
.account-form input:focus,
.account-form textarea:focus{
    outline:none;
    border-color:rgba(18,59,39,.45);
    box-shadow:0 0 0 4px rgba(18,59,39,.08);
}

.order-type-options{
    display:grid;
    grid-template-columns:repeat(3,1fr);
}

.order-type-options label{
    justify-content:center;
    background:#fff8ec;
    border-color:var(--pr-border);
}

.order-type-options label:has(input:checked){
    background:var(--pr-green);
    color:#fff;
}

.selected-location-card{
    border-radius:18px;
    border:1px solid var(--pr-border);
    background:#fff8ec;
    padding:14px;
    margin:12px 0;
}

.location-tools{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:12px;
}

.checkout-map{
    border-radius:22px;
    overflow:hidden;
}

.map-picker-modal{
    background:#fffaf4;
}

.map-search-input{
    border-radius:999px;
    border:1px solid var(--pr-border);
    min-height:52px;
}

/* Account */
.account-avatar{
    background:var(--pr-green);
    box-shadow:0 15px 34px rgba(18,59,39,.18);
}

.account-sidebar nav a{
    background:#fff8ec;
    border-color:var(--pr-border);
    color:var(--pr-text);
}

.account-sidebar nav a:hover{
    background:var(--pr-green);
    color:white;
}

.account-stats div{
    border-color:var(--pr-border);
    background:#fff8ec;
}

/* Footer */
.pr-footer{
    background:#1b1a16;
    color:#fff;
    align-items:flex-start;
    border-top:1px solid rgba(255,255,255,.06);
}

.pr-footer h3{
    font-family:"Playfair Display",Georgia,serif;
    color:#fff;
    font-size:28px;
    margin:0 0 8px;
}

.pr-footer p{
    color:#cec7b8;
}

.pr-footer-links{
    flex-wrap:wrap;
}

.pr-footer-links a:hover{
    color:#fff;
}

.pr-copyright{
    font-size:14px;
}

/* Mobile bottom nav */
.site-bottom-nav{
    display:none;
}

/* Responsive */
@media(max-width:1050px){
    .pr-featured-grid{
        grid-template-columns:1fr 1fr;
    }

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

@media(max-width:900px){
    body{
        padding-bottom:76px;
    }

    .pr-header{
        height:72px;
        padding:0 14px;
    }

    .pr-brand-text strong{
        font-size:20px;
    }

    .pr-brand-text small{
        font-size:9px;
        letter-spacing:.16em;
    }

    .pr-cart-link span{
        display:none;
    }

    .pr-nav{
        top:72px;
        background:#fffaf0;
        border-bottom:1px solid var(--pr-border);
        box-shadow:0 20px 40px rgba(28,26,20,.08);
        gap:8px;
    }

    .pr-nav a{
        width:100%;
        padding:13px 0;
    }

    .mobile-menu-btn{
        display:block;
    }

    .pr-hero-image{
        height:42vh;
        min-height:245px;
    }

    .pr-hero-content{
        padding:44px 18px 32px;
    }

    .pr-hero-content h1{
        font-size:42px;
    }

    .pr-hero-actions{
        display:grid;
        grid-template-columns:1fr 1fr;
        gap:12px;
    }

    .pr-hero-actions .btn{
        min-width:0;
        width:100%;
    }

    .pr-home-section{
        padding:28px 18px;
    }

    .pr-featured-grid{
        grid-template-columns:1fr;
    }

    .pr-feature-card{
        grid-template-columns:142px 1fr;
        padding:0 58px 0 0;
        min-height:142px;
        gap:14px;
    }

    .pr-feature-img{
        width:142px;
        height:142px;
        border-radius:22px 0 0 22px;
    }

    .pr-feature-card h3{
        font-size:20px;
    }

    .pr-feature-card p{
        font-size:13px;
        display:-webkit-box;
        -webkit-line-clamp:2;
        -webkit-box-orient:vertical;
        overflow:hidden;
    }

    .pr-benefit-strip{
        grid-template-columns:1fr;
    }

    .pr-location-section,
    .pr-track-section{
        grid-template-columns:1fr;
    }

    .track-form{
        display:grid;
    }

    .menu-layout{
        display:block;
        padding:12px 14px 92px;
    }

    .menu-sidebar{
        position:static;
        padding:0;
        background:transparent;
        border:0;
        box-shadow:none;
        border-radius:0;
        margin:0 0 14px;
    }

    .menu-sidebar h2{
        display:none;
    }

    .menu-sidebar{
        overflow:auto;
        white-space:nowrap;
        scrollbar-width:none;
    }

    .menu-sidebar::-webkit-scrollbar{display:none}

    .category-pill{
        width:auto;
        display:inline-flex;
        align-items:center;
        justify-content:center;
        min-width:112px;
        min-height:58px;
        margin:0 8px 10px 0;
        text-align:center;
        border-radius:20px;
        box-shadow:0 8px 20px rgba(28,26,20,.045);
        background:#fff;
    }

    .menu-tools{
        position:sticky;
        top:74px;
        z-index:20;
        background:linear-gradient(180deg,var(--pr-cream) 70%,rgba(255,250,240,.0));
        padding:8px 0 14px;
    }

    .menu-tools input{
        min-height:56px;
        font-size:15px;
    }

    .cart-mini{
        min-width:58px;
        justify-content:center;
        padding:0 14px;
        font-size:0;
    }

    .cart-mini:before{
        content:"🛒";
        font-size:20px;
    }

    .cart-mini span{
        font-size:13px;
        margin-left:0;
    }

    .menu-grid{
        gap:10px;
    }

    .product-card{
        display:grid;
        grid-template-columns:42% 1fr;
        min-height:160px;
        border-radius:22px;
    }

    .product-img{
        height:100%;
        min-height:160px;
        border-radius:22px 0 0 22px;
    }

    .product-body{
        padding:14px 12px;
        display:grid;
        min-width:0;
    }

    .product-body small{
        font-size:10px;
        overflow:hidden;
        text-overflow:ellipsis;
        white-space:nowrap;
    }

    .product-body h3{
        font-size:21px;
        margin:3px 0 5px;
        line-height:1.12;
    }

    .product-body p{
        font-size:13px;
        line-height:1.42;
        display:-webkit-box;
        -webkit-line-clamp:2;
        -webkit-box-orient:vertical;
        overflow:hidden;
    }

    .product-meta{
        display:none;
    }

    .product-footer{
        align-self:end;
        margin-top:8px;
    }

    .product-footer strong{
        font-size:16px;
    }

    .mini-btn{
        min-width:70px;
        padding:10px 12px;
        border-radius:13px;
    }

    .modal-backdrop{
        align-items:end;
        padding:0;
    }

    .product-modal{
        width:100%;
        max-height:92vh;
        border-radius:30px 30px 0 0;
    }

    .modal-product{
        grid-template-columns:1fr;
    }

    .modal-product-img{
        min-height:240px;
        max-height:300px;
    }

    .modal-product-info{
        padding:24px 18px 28px;
    }

    .cart-shell,
    .checkout-shell,
    .account-auth-grid,
    .account-grid{
        display:block;
        padding:22px 14px 94px;
    }

    .cart-summary-panel,
    .account-card + .account-card,
    .account-sidebar,
    .checkout-shell aside{
        margin-top:16px;
    }

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

    .order-type-options{
        grid-template-columns:1fr 1fr 1fr;
        gap:8px;
    }

    .order-type-options label{
        padding:12px 8px;
        font-size:14px;
    }

    .location-tools{
        display:grid;
        grid-template-columns:1fr;
    }

    .page-hero.compact,
    .menu-hero{
        padding:32px 16px 18px;
    }

    .page-hero h1,
    .menu-hero h1{
        font-size:40px;
    }

    .pr-footer{
        padding-bottom:94px;
    }

    .site-bottom-nav{
        position:fixed;
        left:10px;
        right:10px;
        bottom:10px;
        z-index:999;
        display:grid;
        grid-template-columns:repeat(5,1fr);
        gap:3px;
        min-height:66px;
        padding:8px;
        background:rgba(255,255,255,.92);
        backdrop-filter:blur(18px);
        border:1px solid rgba(234,223,205,.92);
        border-radius:28px;
        box-shadow:0 14px 40px rgba(28,26,20,.16);
    }

    .site-bottom-nav a{
        display:grid;
        place-items:center;
        gap:2px;
        color:#6f716b;
        font-size:12px;
        font-weight:800;
        border-radius:20px;
    }

    .site-bottom-nav a span{
        font-size:20px;
        line-height:1;
    }

    .site-bottom-nav a em{
        font-style:normal;
    }

    .site-bottom-nav a.active,
    .site-bottom-nav a:hover{
        color:var(--pr-green);
        background:#f6efdf;
    }
}

@media(max-width:430px){
    .pr-brand-mark{
        width:42px;
        height:42px;
        border-radius:15px;
    }

    .brand-logo-img{
        max-height:44px;
    }

    .pr-brand-text strong{
        font-size:18px;
    }

    .pr-hero-content h1{
        font-size:37px;
    }

    .pr-hero-content p{
        font-size:15px;
    }

    .pr-category-bubble{
        flex-basis:108px;
        min-height:108px;
    }

    .pr-feature-card{
        grid-template-columns:132px 1fr;
        min-height:132px;
        padding-right:48px;
    }

    .pr-feature-img{
        width:132px;
        height:132px;
    }

    .product-card{
        grid-template-columns:42% 1fr;
    }

    .product-body h3{
        font-size:19px;
    }

    .mini-btn{
        min-width:64px;
        padding:9px 10px;
    }
}


/* V15.1 requested refinements */
.pr-brand-text small{display:none!important}
.pr-brand-text strong{line-height:1}

.pr-featured-section{padding-top:42px}
.pr-benefit-strip,.pr-home-categories{display:none!important}

.restaurant-closed-alert,
.error-card.restaurant-closed-alert{
    max-width:1100px;
    margin:20px auto;
    background:#fff;
    color:#b42318!important;
    border:1px solid #ffd6d6!important;
    border-left:5px solid #d92d20!important;
    border-radius:20px;
    font-weight:900;
    font-size:16px;
    box-shadow:0 14px 34px rgba(180,35,24,.07);
}
.restaurant-closed-alert.in-form{margin:0 0 18px;max-width:100%}

.product-card .product-body p{display:none!important}
.product-card{min-height:0}
.product-body h3{margin-bottom:4px}

.auth-feature-list{display:none!important}
.firebase-login-box{
    margin-top:22px;
    padding-top:20px;
    border-top:1px solid var(--pr-border);
}
.firebase-login-box p{display:none!important}
.login-card-design,.register-card-design{background:linear-gradient(145deg,#fff,#fffaf4)}
.account-auth-grid{align-items:stretch}
.account-card h3{
    color:var(--pr-green);
    font-family:"Playfair Display",Georgia,serif;
    font-size:24px;
    margin:0 0 14px;
}
.account-actions{display:flex;gap:12px;flex-wrap:wrap;margin:22px 0}
.account-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.account-stats div{padding:16px;border-radius:20px;text-align:center}
.account-stats strong{display:block;color:var(--pr-green);font-size:24px}
.account-stats span{color:var(--pr-muted);font-size:13px;font-weight:800}
.account-order-row{
    display:grid;
    grid-template-columns:1fr auto auto;
    gap:12px;
    align-items:center;
    padding:14px 0;
    border-bottom:1px solid var(--pr-border);
    font-weight:800;
}

#checkoutAddress[readonly]{
    background:#fff8ec;
    color:#3c3b35;
    cursor:not-allowed;
}
.single-location-action{display:block}
.single-location-action .btn{
    width:100%;
    justify-content:center;
    background:#fff;
    color:var(--pr-green);
    border-color:rgba(18,59,39,.45);
}
.checkout-shell{align-items:start}
.checkout-form .btn[type="submit"]{min-height:56px;font-size:16px}

@media(max-width:900px){
    .product-card .product-body p{display:none!important}
    .account-stats{grid-template-columns:1fr}
    .account-order-row{grid-template-columns:1fr}
    .firebase-login-box .btn{width:100%;margin-top:10px}
}


/* V16.3 Mobile-only fix: stop "Welcome to" from being cropped */
@media(max-width:900px){
    .pr-hero-content{
        margin-top:0!important;
        transform:none!important;
        overflow:visible!important;
        padding-top:28px!important;
    }

    .pr-hero-content h1{
        margin-top:0!important;
        padding-top:0!important;
        line-height:1.12!important;
        overflow:visible!important;
        transform:none!important;
        display:block!important;
    }

    .pr-ornament{
        margin-top:0!important;
        margin-bottom:10px!important;
        transform:none!important;
    }
}

@media(max-width:430px){
    .pr-hero-content{
        padding-top:30px!important;
    }

    .pr-hero-content h1{
        line-height:1.12!important;
    }
}


/* V16.6 Menu cards + meta refinement */
.pr-menu-hero .eyebrow{
    display:none!important;
}

.product-card{
    border-radius:28px!important;
    overflow:hidden!important;
    border:1px solid var(--pr-border)!important;
    background:#fff!important;
}

.product-img{
    overflow:hidden!important;
}

.product-img img{
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
    display:block!important;
}

.product-meta{
    display:flex!important;
    flex-wrap:wrap!important;
    align-items:center!important;
    gap:8px!important;
    margin-top:12px!important;
}

.product-meta span,
.product-meta .allergen-icon,
.product-meta .allergen-icon.no-img,
.allergen-chip{
    min-height:34px!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:6px!important;
    padding:7px 11px!important;
    border-radius:999px!important;
    background:#fff8ec!important;
    color:#9a6a16!important;
    border:1px solid rgba(199,154,56,.24)!important;
    font-size:13px!important;
    font-weight:900!important;
    line-height:1!important;
}

.product-meta .allergen-icons{
    display:flex!important;
    flex-wrap:wrap!important;
    gap:8px!important;
    padding:0!important;
    background:transparent!important;
    border:0!important;
}

.product-meta .allergen-icon img{
    width:18px!important;
    height:18px!important;
    object-fit:contain!important;
}

.modal-meta-grid{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:14px!important;
    align-items:stretch!important;
}

.modal-meta-grid > div{
    min-height:96px!important;
    display:flex!important;
    flex-direction:column!important;
    justify-content:center!important;
    background:#fff8ec!important;
    border:1px solid var(--pr-border)!important;
    border-radius:22px!important;
    padding:18px!important;
    box-sizing:border-box!important;
}

.modal-meta-grid > div strong{
    font-size:18px!important;
    line-height:1.2!important;
    color:#1e201d!important;
    margin:0 0 10px!important;
}

.modal-meta-grid > div span{
    color:#7c2d12!important;
    font-size:16px!important;
    line-height:1.35!important;
    margin:0!important;
}

.modal-meta-grid > div.salt-only-card{
    flex-direction:row!important;
    align-items:center!important;
    justify-content:flex-start!important;
    min-height:96px!important;
}

.modal-meta-grid > div.salt-only-card span{
    display:inline-flex!important;
    align-items:center!important;
    gap:10px!important;
    font-size:18px!important;
    font-weight:800!important;
    color:#7c2d12!important;
}

.modal-product-info{
    border-radius:0 30px 30px 0!important;
}

.modal-product-info p{
    color:var(--pr-muted)!important;
    line-height:1.68!important;
    margin:0 0 18px!important;
}

.product-body{
    display:flex!important;
    flex-direction:column!important;
}

.product-footer{
    margin-top:auto!important;
}

@media(max-width:900px){
    .product-meta{
        display:flex!important;
        margin-top:10px!important;
        gap:6px!important;
    }

    .product-meta span,
    .product-meta .allergen-icon,
    .product-meta .allergen-icon.no-img{
        min-height:28px!important;
        padding:6px 8px!important;
        font-size:11px!important;
        max-width:100%!important;
    }

    .product-card{
        border-radius:24px!important;
        overflow:hidden!important;
    }

    .product-body{
        padding:14px 12px!important;
        gap:0!important;
    }

    .product-body h3{
        font-size:20px!important;
        line-height:1.08!important;
        margin-bottom:6px!important;
    }

    .product-footer{
        margin-top:auto!important;
    }

    .modal-meta-grid{
        grid-template-columns:1fr!important;
        gap:12px!important;
    }

    .modal-meta-grid > div{
        min-height:82px!important;
        border-radius:20px!important;
        padding:16px!important;
    }

    .modal-meta-grid > div strong{
        font-size:17px!important;
        margin-bottom:8px!important;
    }

    .modal-meta-grid > div span{
        font-size:15px!important;
    }

    .modal-meta-grid > div.salt-only-card{
        min-height:70px!important;
    }

    .modal-meta-grid > div.salt-only-card span{
        font-size:17px!important;
    }

    .modal-product-info{
        border-radius:0 0 30px 30px!important;
    }
}

@media(max-width:430px){
    .product-meta{
        max-height:none!important;
    }

    .product-meta span,
    .product-meta .allergen-icon,
    .product-meta .allergen-icon.no-img{
        font-size:10.5px!important;
        padding:5px 7px!important;
    }
}


/* V16.9 Proper main-card Allergens box - overrides earlier chip/grid rules */
.product-meta{
    display:flex!important;
    flex-wrap:wrap!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:8px!important;
    margin-top:12px!important;
}

.product-meta > span,
.product-meta > .meta-chip{
    height:34px!important;
    min-width:76px!important;
    width:auto!important;
    box-sizing:border-box!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:6px!important;
    padding:0 12px!important;
    border-radius:999px!important;
    background:#fff8ec!important;
    color:#9a6a16!important;
    border:1px solid rgba(199,154,56,.24)!important;
    font-size:13px!important;
    font-weight:900!important;
    line-height:1!important;
    white-space:nowrap!important;
}

.product-meta > .salt-chip{
    min-width:118px!important;
}

/* The actual allergens container */
.product-meta > .product-allergens-box{
    flex:0 0 100%!important;
    width:100%!important;
    max-width:100%!important;
    margin-top:4px!important;
    padding:12px!important;
    border-radius:18px!important;
    background:#fff8ec!important;
    border:1px solid rgba(199,154,56,.24)!important;
    box-sizing:border-box!important;
    display:block!important;
}

/* title inside the box */
.product-allergens-box .product-allergens-title{
    display:block!important;
    margin:0 0 9px!important;
    color:#1e201d!important;
    font-size:13px!important;
    font-weight:900!important;
    line-height:1!important;
}

/* override older .product-meta .allergen-icons { display:contents } */
.product-meta > .product-allergens-box .allergen-icons{
    display:flex!important;
    flex-wrap:wrap!important;
    align-items:center!important;
    gap:8px!important;
    width:100%!important;
    padding:0!important;
    margin:0!important;
    background:transparent!important;
    border:0!important;
}

.product-meta > .product-allergens-box .allergen-icon,
.product-meta > .product-allergens-box .allergen-icon.no-img{
    height:30px!important;
    min-width:64px!important;
    width:auto!important;
    box-sizing:border-box!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:6px!important;
    padding:0 10px!important;
    border-radius:999px!important;
    background:#fffdf8!important;
    color:#9a6a16!important;
    border:1px solid rgba(199,154,56,.22)!important;
    font-size:12px!important;
    font-weight:900!important;
    line-height:1!important;
    white-space:nowrap!important;
}

.product-meta > .product-allergens-box .allergen-icon img{
    width:16px!important;
    height:16px!important;
    object-fit:contain!important;
}

@media(max-width:900px){
    .product-meta{
        gap:7px!important;
        margin-top:10px!important;
    }

    .product-meta > span,
    .product-meta > .meta-chip{
        height:30px!important;
        min-width:72px!important;
        padding:0 9px!important;
        font-size:11px!important;
    }

    .product-meta > .salt-chip{
        min-width:108px!important;
    }

    .product-meta > .product-allergens-box{
        padding:10px!important;
        border-radius:16px!important;
        margin-top:3px!important;
    }

    .product-allergens-box .product-allergens-title{
        font-size:12px!important;
        margin-bottom:8px!important;
    }

    .product-meta > .product-allergens-box .allergen-icons{
        gap:6px!important;
    }

    .product-meta > .product-allergens-box .allergen-icon,
    .product-meta > .product-allergens-box .allergen-icon.no-img{
        height:27px!important;
        min-width:58px!important;
        padding:0 8px!important;
        font-size:11px!important;
    }
}


/* V17.0 Auto-size Allergens box on main food cards */
.product-meta > .product-allergens-box{
    flex:0 1 auto!important;
    width:max-content!important;
    max-width:100%!important;
    min-width:0!important;
    align-self:flex-start!important;
    margin-top:4px!important;
    padding:10px 12px!important;
    border-radius:18px!important;
    background:#fff8ec!important;
    border:1px solid rgba(199,154,56,.24)!important;
    box-sizing:border-box!important;
    display:inline-block!important;
}

.product-allergens-box .product-allergens-title{
    display:block!important;
    margin:0 0 8px!important;
    color:#1e201d!important;
    font-size:13px!important;
    font-weight:900!important;
    line-height:1!important;
}

.product-meta > .product-allergens-box .allergen-icons{
    display:flex!important;
    flex-wrap:wrap!important;
    align-items:center!important;
    gap:8px!important;
    width:auto!important;
    max-width:100%!important;
    padding:0!important;
    margin:0!important;
    background:transparent!important;
    border:0!important;
}

.product-meta > .product-allergens-box .allergen-icon,
.product-meta > .product-allergens-box .allergen-icon.no-img{
    height:30px!important;
    min-width:64px!important;
    width:auto!important;
    box-sizing:border-box!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:6px!important;
    padding:0 10px!important;
    border-radius:999px!important;
    background:#fffdf8!important;
    color:#9a6a16!important;
    border:1px solid rgba(199,154,56,.22)!important;
    font-size:12px!important;
    font-weight:900!important;
    line-height:1!important;
    white-space:nowrap!important;
}

/* When many allergens exist, box grows until card width, then wraps cleanly */
@media(max-width:900px){
    .product-meta > .product-allergens-box{
        width:max-content!important;
        max-width:100%!important;
        padding:9px 10px!important;
        border-radius:16px!important;
    }

    .product-allergens-box .product-allergens-title{
        font-size:12px!important;
        margin-bottom:7px!important;
    }

    .product-meta > .product-allergens-box .allergen-icons{
        gap:6px!important;
    }

    .product-meta > .product-allergens-box .allergen-icon,
    .product-meta > .product-allergens-box .allergen-icon.no-img{
        height:27px!important;
        min-width:58px!important;
        padding:0 8px!important;
        font-size:11px!important;
    }
}


/* V17.1 Salt color + mobile product popup scroll fix */

/* Use same brown/gold font color as the attached reference for Contains Salt */
.product-meta > .salt-chip,
.product-meta > .meta-chip.salt-chip,
.modal-meta-grid > div.salt-only-card span{
    color:#9a6a16!important;
}

/* Product popup must scroll itself on mobile; background must not move */
body.modal-open{
    overflow:hidden!important;
}

.modal-backdrop{
    position:fixed!important;
    inset:0!important;
    z-index:1000!important;
    display:flex!important;
    align-items:flex-start!important;
    justify-content:center!important;
    overflow-y:auto!important;
    -webkit-overflow-scrolling:touch!important;
    padding:24px!important;
    touch-action:auto!important;
    overscroll-behavior:contain!important;
}

.product-modal{
    width:min(980px,100%)!important;
    max-height:calc(100dvh - 48px)!important;
    overflow-y:auto!important;
    -webkit-overflow-scrolling:touch!important;
    overscroll-behavior:contain!important;
    margin:auto 0!important;
}

#productModalContent{
    overflow:visible!important;
}

@media(max-width:900px){
    .modal-backdrop{
        padding:18px 12px 92px!important;
        align-items:flex-start!important;
        justify-content:center!important;
    }

    .product-modal{
        width:100%!important;
        max-height:calc(100dvh - 36px)!important;
        overflow-y:auto!important;
        -webkit-overflow-scrolling:touch!important;
        margin:16px 0 0!important;
        border-radius:30px!important;
        touch-action:pan-y!important;
    }

    .modal-product{
        display:block!important;
    }

    .modal-product-img{
        min-height:300px!important;
        max-height:340px!important;
        height:34vh!important;
    }

    .modal-product-info{
        padding:30px 22px 34px!important;
    }

    #addModalToCart,
    .qty-row{
        position:static!important;
    }
}


/* V17.2 Homepage branch + contact CTA exact fixes */
.pr-location-section-dark{
    background:var(--pr-green)!important;
    border-radius:34px!important;
    margin:34px clamp(18px,6vw,92px)!important;
    padding:26px!important;
    box-shadow:0 22px 60px rgba(18,59,39,.18)!important;
    border:0!important;
}

.pr-location-section-dark .pr-location-card{
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
    color:#fff!important;
    padding:30px!important;
}

.pr-location-section-dark .pr-location-card h2{
    color:#fff!important;
}

.pr-location-section-dark .pr-branch-name{
    color:#f7ead2!important;
    font-weight:900!important;
}

.pr-location-section-dark .pr-branch-address{
    color:#dfe8dd!important;
}

.pr-location-section-dark .pr-location-meta div{
    background:rgba(255,255,255,.08)!important;
    border:1px solid rgba(255,255,255,.16)!important;
}

.pr-location-section-dark .pr-location-meta strong{
    color:#fff!important;
}

.pr-location-section-dark .pr-location-meta span{
    color:#f7ead2!important;
}

.pr-location-section-dark .btn-outline{
    background:#fff!important;
    color:var(--pr-green)!important;
    border-color:#fff!important;
}

.pr-location-section-dark .pr-map-shell{
    background:rgba(255,255,255,.08)!important;
    border:1px solid rgba(255,255,255,.14)!important;
    box-shadow:none!important;
    padding:14px!important;
    overflow:hidden!important;
    min-height:430px!important;
    display:block!important;
}

.pr-location-section-dark .pr-branch-map{
    width:100%!important;
    height:430px!important;
    min-height:430px!important;
    border:0!important;
    border-radius:22px!important;
    display:block!important;
    background:#efe8d8!important;
}

.pr-location-section-dark .pr-map-empty{
    min-height:430px!important;
    border-radius:22px!important;
    background:#efe8d8!important;
    display:grid!important;
    place-items:center!important;
    text-align:center!important;
}

/* Contact page: dark green Order/Dine section, no top Contact label */
.contact-page-hero-dark,
.page-shell .page-hero.compact{
    background:var(--pr-green)!important;
    color:#fff!important;
    border-radius:0!important;
    border:0!important;
    box-shadow:none!important;
}

.page-shell .page-hero.compact .eyebrow{
    display:none!important;
}

.page-shell .page-hero.compact h1{
    color:#fff!important;
}

.page-shell .page-hero.compact p{
    color:#f7ead2!important;
}

@media(max-width:900px){
    .pr-location-section-dark{
        margin:24px 14px!important;
        padding:14px!important;
        border-radius:28px!important;
    }

    .pr-location-section-dark .pr-location-card{
        padding:22px 18px!important;
    }

    .pr-location-section-dark .pr-map-shell{
        min-height:320px!important;
    }

    .pr-location-section-dark .pr-branch-map{
        height:320px!important;
        min-height:320px!important;
    }
}
