/* =========================
THE TREAT TABLE PREMIUM THEME
========================= */

:root{

--cream:#F6F0E5;
--paper:#FFFDF8;

--olive:#6B7440;
--olive-dark:#4D5630;

--brown:#4A2E1F;
--light-brown:#8A624A;

--shadow:0 8px 25px rgba(0,0,0,.08);

}

*{
margin:0;
padding:0;
box-sizing:border-box;
}

html{
scroll-behavior:smooth;
}

body{

background:var(--cream);

font-family:'Poppins',sans-serif;

color:var(--brown);

overflow-x:hidden;

}

/* =========================
HEADER
========================= */

.top-header{

padding:20px;

}

.certificates{

display:flex;

justify-content:space-between;

gap:10px;

}

.cert{

background:white;

padding:12px 16px;

border-radius:30px;

font-size:12px;

font-weight:700;

color:var(--olive);

box-shadow:var(--shadow);

text-align:center;

flex:1;

}

/* =========================
HERO
========================= */

.hero{

max-width:1200px;

margin:auto;

padding:20px;

text-align:center;

}

.logo{
width:220px;
max-width:70%;
display:block;
margin:0 auto 30px;
}

.hero h1{

font-family:'Cormorant Garamond',serif;

font-size:52px;

font-weight:700;

color:var(--olive);

line-height:1.1;

margin-bottom:10px;

}

.tagline{

font-size:18px;

letter-spacing:2px;

color:var(--light-brown);

margin-bottom:40px;

}

.hero-content{

display:flex;

flex-direction:column;

gap:30px;

align-items:center;

}

.hero-text h2{

font-size:56px;

line-height:1;

font-weight:800;

color:var(--brown);

margin-bottom:20px;

}

.hero-text p{

font-size:18px;

line-height:1.8;

max-width:600px;

margin:auto;

}

.hero-image img{

width:100%;

max-width:550px;

border-radius:30px;

display:block;

margin:auto;

box-shadow:var(--shadow);

}

/* =========================
BUTTONS
========================= */

.hero-buttons{
display:flex;
justify-content:center;
align-items:center;
flex-wrap:wrap;
gap:15px;
margin-top:30px;
}

.btn-primary{
    display:block;
    width:65%;
    margin:10px auto;

    background:var(--olive);
    color:#fff;

    padding:16px 28px;

    border:none;

    border-radius:40px;

    font-size:18px;
    font-weight:700;

    text-align:center;

    box-sizing:border-box;

    box-shadow:0 6px 18px rgba(0,0,0,.15);

    transition:.2s;
}

.btn-secondary{
    display:block;
    width:65%;
    margin:10px auto;

    background:#fff;
    color:var(--olive);

    padding:16px 28px;

    border:2px solid var(--olive);

    border-radius:40px;

    font-size:18px;
    font-weight:700;

    text-align:center;

    box-sizing:border-box;

    transition:.2s;
}

/* =========================
SECTIONS
========================= */

.section{

padding:50px 20px;

max-width:1200px;

margin:auto;

}

.section-title{

font-family:'Cormorant Garamond',serif;

font-size:52px;

color:var(--olive);

text-align:center;

margin-bottom:40px;

}

/* =========================
SPECIALS
========================= */

.special-grid{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

gap:25px;

}

.special-card{

background:white;

padding:30px;

border-radius:30px;

box-shadow:var(--shadow);

text-align:center;

}

.special-card h3{

font-size:26px;

margin-bottom:12px;

}

.special-card p{

font-size:24px;

font-weight:700;

color:var(--olive);

}

/* =========================
MENU BUTTONS
========================= */

.category-card{
background:white;
padding:18px 22px;
margin-bottom:14px;
border-radius:22px;
font-size:24px;
font-weight:700;
text-align:center;
box-shadow:var(--shadow);
cursor:pointer;
transition:.3s;
display:flex;
align-items:center;
justify-content:center;
min-height:80px;
gap:12px;
}

.category-card span:first-child{
font-size:28px;
}

.category-card:hover{
background:var(--olive);
color:white;
transform:translateY(-3px);
}

/* =========================
FEATURES
========================= */

.features{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

gap:25px;

}

.feature-card{
background:white;
padding:35px;
border-radius:30px;
text-align:center;
box-shadow:var(--shadow);
}

.feature-card h3{
    color:#6f7840 !important;
    font-size:30px !important;
    font-weight:700 !important;
    line-height:1.15 !important;
    margin:10px 0 18px !important;
    font-family:'Poppins',sans-serif !important;
}

.feature-card p{
font-size:16px;
line-height:1.8;
}

/* =========================
CONTACT
========================= */

.contact-grid{

display:grid;
margin-bottom:0;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

gap:20px;

}

.contact-card{

background:white;

padding:25px;

border-radius:25px;

box-shadow:var(--shadow);

}

.contact-card h3{
    color:#6f7840;
    font-size:32px;
    font-weight:700;
    margin-bottom:12px;
}

.contact-card p{
    color:#4b3128;
    font-size:18px;
    font-weight:500;
    margin:0;
}

.contact-card a{

color:var(--brown);

text-decoration:none;

font-weight:600;

word-break:break-word;

}

.contact-card a:hover{

color:var(--olive);

}

.contact-card:last-child{
margin-bottom:0;
}

/* =========================
SCAN & ORDER
========================= */

.scan-box{

background:white;

padding:40px;

border-radius:35px;

text-align:center;

box-shadow:var(--shadow);

}

.scan-box h2{

font-size:52px;

color:var(--olive);

margin-bottom:25px;

}

.qr-code{

width:260px;

max-width:100%;

display:block;

margin:auto;

margin-bottom:20px;

}

.scan-box p{

font-size:18px;

}

/* =========================
FOOTER
========================= */

footer{
background:var(--olive);

padding:40px 20px;

text-align:center;

margin-top:20px;

width:100vw;
margin-left:calc(50% - 50vw);
}

.footer-logo{
width:160px;
margin-bottom:10px;
}

footer h3{
color:white;
font-size:20px;
margin:10px 0 5px;
}

footer p{
color:white;
font-size:16px;
margin-bottom:15px;
}

/* =========================
CART
========================= */

.cart-btn{
position:fixed;

bottom:18px;
right:18px;

background:#7A8647;
color:white;

border:none;

padding:14px 22px;

border-radius:50px;

font-size:22px;
font-weight:700;

display:flex;
align-items:center;
justify-content:center;
gap:10px;

min-width:100px;
height:60px;

box-shadow:0 8px 25px rgba(0,0,0,.18);

cursor:pointer;

z-index:9999;

transition:.3s;
}

.cart-btn:hover{
transform:translateY(-2px);
}

#cartCount{
  margin-left:2px;
  font-weight:700;
}

/* =========================
MOBILE
========================= */

@media(max-width:768px){

.category-card{
font-size:20px;
padding:16px 20px;
min-height:72px;
border-radius:20px;
margin-bottom:12px;
}

}

.hero h1{

font-size:42px;

}

.hero-text h2{

font-size:42px;

}

.section-title{

font-size:42px;

}

.logo{

width:260px;

}

.scan-box h2{

font-size:42px;

}

.cart-modal{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100vh;

    display:none;

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

    padding:14px;

    background:rgba(0,0,0,.45);

    z-index:9999;
}

.cart-modal.active{
    display:flex;
}

.cart-content{
    position:relative;

    background:#fff;

    width:95vw;
    max-width:620px;

    max-height:92vh;

    overflow-y:auto;
    overflow-x:hidden;

    padding:28px;

    border-radius:32px;

    box-sizing:border-box;

    -webkit-overflow-scrolling:touch;
}

.close-btn{
position:absolute;
top:15px;
right:20px;
font-size:40px;
z-index:999;
font-weight:300;
cursor:pointer;
color:#4A2E1F;
z-index:999;
}

/* MENU POPUP */

.menu-modal{
display:none;
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,.65);
z-index:10001;

justify-content:center;
align-items:center;
}

.menu-box{
width:92%;
max-width:500px;

background:#fff;
padding:25px;

border-radius:25px;

max-height:85vh;
overflow-y:auto;

position:relative;
margin:0;
}

.menu-box h2{
text-align:center;
color:#6B7440;
margin-bottom:20px;
}

.menu-item{
display:flex;
justify-content:space-between;
align-items:center;
gap:15px;
padding:15px 0;
border-bottom:1px solid #ddd;
}

.menu-item h4{
font-size:20px;
line-height:1.3;
margin-bottom:3px;
}

.menu-item p{
font-size:18px;
margin:0;
color:#6B7440;
font-weight:600;
}

.add-btn{
background:#6B7440;
color:white;
border:none;
padding:8px 16px;
border-radius:10px;
font-size:15px;
font-weight:600;
min-width:70px;
}

.customer-form{
margin-top:20px;
margin-bottom:10px;
}

.customer-form input,
.customer-form textarea{

width:100%;

padding:15px;

margin-bottom:10px;

border:none;

background:#f5f5f5;

border-radius:15px;

font-size:16px;

}

.cart-qr{
display:block;
width:220px;
max-width:100%;
margin:15px auto;
border-radius:10px;
}

.upi-id{

text-align:center;

font-weight:600;

margin-bottom:20px;

}

.payment-options{
display:flex;
flex-direction:column;
gap:12px;
margin:20px 0;
}

.payment-options label{
display:flex;
align-items:center;
justify-content:space-between;
gap:16px;
padding:18px 20px;
margin:14px 0;
background:#f8f8f8;
border-radius:22px;
box-shadow:0 8px 20px rgba(0,0,0,.05);
cursor:pointer;
}

.payment-options label span{
flex:1;
font-size:18px;
font-weight:600;
line-height:1.4;
}

.payment-options input[type="radio"]{
width:24px;
height:24px;
accent-color:#7A8647;
margin-left:20px;
flex-shrink:0;
}

.upi-copy{
display:flex;
gap:10px;
justify-content:center;
align-items:center;
margin-top:15px;
}

.upi-copy button{
background:#6B7440;
color:white;
border:none;
padding:10px 16px;
border-radius:10px;
font-weight:600;
}

#upiId{
font-weight:700;
color:#4A2E1F;
}

.cart-content input,
.cart-content textarea{

width:100%;
padding:18px;
border:none;
border-radius:18px;
background:#f4f4f4;

font-size:18px;

margin-bottom:15px;

font-family:Poppins,sans-serif;

}

.cart-content textarea{

height:120px;
resize:none;

}

#cartTotal,
#extrasTotal,
#deliveryAmount,
#grandTotal{
    font-size:22px;
    font-weight:700;
    margin:0;
    line-height:1.2;
}

h3{
margin-top:25px;
margin-bottom:12px;
}

#cartItems{
    margin-top:22px;   /* Space below "Your Cart" */
}

#grandTotal{
font-size:22px;
font-weight:700;
margin-top:20px;
margin-bottom:25px;
}

.cart-content h3{
    margin:32px 0 20px;
    font-size:22px;
    font-weight:700;
}

#upiSection{
margin-top:20px;
margin-bottom:25px;
text-align:center;
}

.cart-qr{
width:220px;
display:block;
margin:0 auto 15px;
}

.upi-copy{
margin-bottom:25px;
}

.footer-certs{
margin-top:10px;

display:flex;
justify-content:center;
gap:10px;
flex-wrap:wrap;
}

.footer-certs span{
background:rgba(255,255,255,.15);

color:white;

padding:8px 14px;

border-radius:25px;

font-size:11px;
font-weight:700;
}

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

.special-card{
cursor:pointer;
transition:.3s;
}

.special-card:hover{
transform:translateY(-5px);
}

.special-img{
    width:100%;
    aspect-ratio:1/1;
    object-fit:scale-down;
    border-radius:24px;
    background:#fff;
    display:block;
}

.special-subtitle{
text-align:center;
margin-top:-20px;
margin-bottom:35px;
color:#8A624A;
font-size:16px;
}

.badge{
    position:absolute;

    top:8px;
    right:8px;

    display:flex;
    align-items:center;
    gap:5px;

    padding:4px 11px;

    background:#788244;
    color:#fff;

    font-size:11px;
    font-weight:700;
    letter-spacing:.3px;

    border:2px solid #fff;
    border-radius:999px;

    box-shadow:0 3px 8px rgba(0,0,0,.15);

    z-index:100;
}

.badge-icon{
    display:flex;
    align-items:center;
    justify-content:center;

    font-size:12px;
    color:#fff;

    margin-right:1px;
}

.badge-icon i{
    color:#fff;
    font-size:22px;
}

.image-wrap{
    position:relative;
    overflow:hidden;
    border-radius:24px;
}

.addon-section{
margin:22px 0;
}

.addon-section h3{
margin-bottom:12px;
font-size:22px;
color:#4A2E1F;
}

.bill-summary{
    margin:10px 0 20px;
    padding:10px 18px 18px;
    background:#f8f8f8;
    border-radius:22px;
}

.bill-row{
    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:12px 0;
    margin:0;

    font-size:18px;
    line-height:1.2;

    color:#4d342d;
}
.bill-row span:last-child{
    font-weight:700;
}

.bill-summary hr{
    border:none;
    border-top:1px dashed #d6d6d6;
    margin:12px 0;
}

.bill-row.grand{
    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:18px 0 8px;

    font-size:24px;
    font-weight:700;
    color:#4d342d;
}

#addonTitle{
display:flex;
justify-content:space-between;
align-items:center;
margin-bottom:18px;
}

#addonPrice{
font-size:20px;
font-weight:700;
color:#7A8647;
}

.cart-item{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    margin-bottom:20px;
    width:100%;
}

.cart-info{
    flex:1;
    width:calc(100% - 140px);
}

.cart-info h3{
    font-size:18px;
    font-weight:700;
    color:#4b2e25;
    margin:0;

    white-space:normal;
    overflow:visible;
    text-overflow:unset;
    word-break:break-word;
    line-height:1.25;
}

.cart-info p{
margin-top:8px;
font-size:16px;
color:#4b2e25;
}

.cart-actions{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:6px;

    width:130px;
    flex-shrink:0;
}

.qty-btn{
    width:36px;
    height:36px;

    border:none;
    border-radius:10px;

    background:#7f8d47;
    color:#fff;

    font-size:22px;
    font-weight:bold;

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

.qty-number{
    width:16px;
    text-align:center;
    font-size:18px;
    font-weight:700;
    color:#4b2e25;
}

.delete-btn{
    width:36px;
    height:36px;

    border:none;
    border-radius:10px;

    background:#e74c3c;
    color:#fff;

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

    font-size:18px;
}

.addon-item{
    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:16px 22px;
    margin:12px 0;

    background:#f8f8f8;
    border-radius:22px;

    min-height:68px;
}

.addon-item span{
    font-size:15px;
    font-weight:600;

    white-space:nowrap;

    flex:1;
}

.addon-item input[type="checkbox"]{
    width:22px;
    height:22px;

    flex-shrink:0;

    cursor:pointer;
}

.delivery-item{
    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:16px 22px;

    margin:12px 0;
    margin-bottom:18px;
    background:#f8f8f8;

    border-radius:22px;

    min-height:68px;
}

.delivery-item span{
white-space:nowrap;
font-size:15px;
font-weight:600;
line-height:1.2;
flex:1;
color:#4A2E1F;
}

.delivery-item input[type="radio"]{

order:2;

width:22px;
height:22px;

margin-left:25px;

accent-color:#8b9448;

flex-shrink:0;

cursor:pointer;
}

.bill-heading{
    font-size:25px;
    font-weight:700;
    margin:32px 0 20px;
    color:#4b2c24;
    line-height:1.2;
}

.btn-primary,
.btn-secondary{
    text-decoration: none !important;
}

.btn-primary:hover,
.btn-secondary:hover,
.btn-primary:visited,
.btn-secondary:visited{
    text-decoration: none !important;
}

a.btn-primary,
a.btn-secondary{
    text-decoration: none !important;
}
