/*
Theme Name: Yummy
Description: Tema landing page restoran / food delivery.
Version: 1.0
Text Domain: yummy
*/
:root{--y:#ffbe0b;--y2:#ffd54f;--dark:#16171d;--muted:#8a8d96;--bg:#fafaf7;--card:#fff;--r:16px;--sh:0 8px 30px rgba(0,0,0,.06)}
*{box-sizing:border-box;margin:0;padding:0}
body{font-family:Poppins,sans-serif;background:var(--bg);color:var(--dark);line-height:1.5;overflow-x:hidden}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
.wrap{max-width:1140px;margin:0 auto;padding:0 16px}
.btn{display:inline-flex;align-items:center;gap:10px;padding:12px 24px;border-radius:999px;font:600 14px Poppins,sans-serif;border:0;cursor:pointer;transition:.2s}
.btn:hover{transform:translateY(-2px)}
.btn-y{background:var(--y);color:var(--dark)}.btn-w{background:#fff;box-shadow:var(--sh)}.btn-d{background:var(--dark);color:#fff}
.btn-sm{padding:6px 14px;font-size:12px}
section{padding:40px 0}
.head{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}
.head h2{font-size:22px}.head a{font-size:12px;color:var(--muted)}.head a::after{content:" ●";color:var(--y)}
.card{background:var(--card);border-radius:var(--r);box-shadow:var(--sh)}
.grid{display:grid;gap:20px}

/* header */
.site-header{padding:20px 0;position:relative;z-index:2}
.site-header .wrap{display:flex;justify-content:space-between;align-items:center}
.logo{font-weight:800;font-size:24px}.logo span{color:var(--y)}
.site-header ul{display:flex;gap:28px;list-style:none;font-size:14px;font-weight:500}

/* hero */
.hero{position:relative;padding:40px 0 80px;isolation:isolate}
.hero::before{content:"";position:absolute;right:-10%;top:-140px;width:55%;height:calc(100% + 140px);background:linear-gradient(135deg,var(--y2),var(--y));border-radius:0 0 0 70%;z-index:-1}
.hero .wrap{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:40px}
.hero h1{font-size:clamp(40px,6vw,64px);line-height:1.1;font-weight:800}
.hero h1 em{color:var(--y);font-family:'Dancing Script',cursive}
.hero p{color:var(--muted);margin:20px 0 30px;max-width:340px}
.hero .actions{display:flex;gap:14px;flex-wrap:wrap}
.stats{display:flex;gap:36px;margin-top:40px}
.stats b{display:block;font-size:18px}.stats small{color:var(--muted);font-size:12px}
.hero-img{position:relative}
.hero-img img{border-radius:50%;aspect-ratio:1;object-fit:cover;border:14px solid #fff;box-shadow:0 30px 60px rgba(0,0,0,.15)}
.deal{position:absolute;right:0;bottom:-20px;padding:18px;width:180px;text-align:left}
.deal small{color:var(--muted);font-size:11px;display:block;margin-bottom:10px}

/* categories */
.cats{grid-template-columns:repeat(6,1fr)}
.cat{text-align:center;padding:20px 10px;font-weight:600;font-size:14px;transition:.2s}
.cat:hover{transform:translateY(-4px)}
.cat img{width:80px;height:80px;object-fit:cover;border-radius:50%;margin:0 auto 14px}

/* dishes */
.dishes{grid-template-columns:repeat(4,1fr)}
.dish{padding:12px;position:relative}
.dish img{border-radius:12px;aspect-ratio:4/3;object-fit:cover;width:100%}
.dish .fav{position:absolute;top:20px;right:20px;background:#fff;border-radius:50%;width:28px;height:28px;display:grid;place-items:center;font-size:13px}
.dish h3{font-size:14px;margin:12px 0 2px}
.rate{font-size:12px;color:var(--muted)}.rate::before{content:"★ ";color:var(--y)}
.dish .row{display:flex;justify-content:space-between;align-items:center;margin-top:10px;font-weight:700}

/* promo */
.promo{background:var(--y);border-radius:20px;padding:40px;display:flex;justify-content:space-between;align-items:center;gap:20px;overflow:hidden}
.promo h2{font-size:36px;color:#fff}.promo p{font-weight:600;margin-bottom:20px}
.promo small{font-weight:600;font-size:13px}
.promo img{width:320px;height:190px;object-fit:cover;border-radius:16px}

/* features */
.feats{grid-template-columns:repeat(4,1fr)}
.feat{padding:22px;display:flex;gap:14px}
.feat i{font-style:normal;font-size:28px}
.feat h4{font-size:14px}.feat p{font-size:12px;color:var(--muted)}

/* testimonials */
.testi{grid-template-columns:repeat(3,1fr)}
.t{padding:24px}
.t::before{content:"❝";color:var(--y);font-size:28px;line-height:1}
.t q{display:block;font-size:15px;margin:8px 0 20px;quotes:none}
.t .who{display:flex;align-items:center;gap:10px;font-size:13px;font-weight:600}
.t .av{width:36px;height:36px;border-radius:50%;background:var(--y2);display:grid;place-items:center}
.t .stars{color:var(--y);font-size:12px;letter-spacing:2px}

/* newsletter + footer */
.news{background:#f3f1ea;border-radius:20px;padding:30px 40px;margin-top:20px;display:flex;justify-content:space-between;align-items:center;gap:20px}
.news h3{font-size:16px}
.news form{display:flex;background:#fff;border-radius:999px;padding:5px;flex:1;max-width:420px}
.news input{border:0;outline:0;flex:1;min-width:0;padding:0 16px;font:inherit;font-size:13px;background:none}
.site-footer{padding:40px 0;font-size:13px}
.site-footer .grid{grid-template-columns:2fr repeat(4,1fr)}
.site-footer h5{font-size:14px;margin-bottom:10px}
.site-footer li{list-style:none;color:var(--muted);margin-bottom:6px}
.copy{text-align:center;color:var(--muted);font-size:12px;margin-top:30px}

/* woocommerce */
.nav{display:flex;align-items:center;gap:28px}
.cart-link{background:#fff;box-shadow:var(--sh);border-radius:999px;padding:8px 14px;font-weight:600;font-size:14px}
.cart-link span{background:var(--y);border-radius:999px;padding:0 7px;margin-left:4px}
.dish .price del{color:var(--muted);font-weight:400;font-size:12px}.dish .price ins{text-decoration:none}
.dish .row{flex-wrap:wrap;gap:6px}
.dish .added_to_cart{font-size:11px;color:var(--muted);width:100%;text-align:right}
.dish .ajax_add_to_cart.loading{opacity:.5}
.shop .woocommerce-products-header,.shop .woocommerce-breadcrumb{margin-bottom:20px}
.woocommerce ul.products li.product{background:#fff;border-radius:var(--r);box-shadow:var(--sh);padding:12px}
.woocommerce ul.products li.product img{border-radius:12px}
.woocommerce a.button,.woocommerce button.button,.woocommerce #respond input#submit{background:var(--y);color:var(--dark);border-radius:999px;font-family:Poppins,sans-serif}
.woocommerce a.button.alt,.woocommerce button.button.alt{background:var(--dark);color:#fff}
.woocommerce span.onsale{background:var(--y);color:var(--dark)}
.woocommerce .price,.woocommerce ul.products li.product .price{color:var(--dark)!important;font-weight:700}

/* blog fallback */
.post{padding:30px;margin-bottom:20px}.post h2{margin-bottom:10px}

@media(max-width:900px){
 .hero .wrap{grid-template-columns:1fr;text-align:center}
 .hero p{margin-inline:auto}.hero .actions,.stats{justify-content:center}
 .hero::before{width:120%;height:55%;top:auto;bottom:0;right:-10%;border-radius:50% 50% 0 0}
 .cats{grid-template-columns:repeat(3,1fr)}
 .dishes,.feats{grid-template-columns:repeat(2,1fr)}
 .testi{grid-template-columns:1fr}
 .promo,.news{flex-direction:column;text-align:center}
 .promo img{width:100%}.news form{width:100%}
 .site-footer .grid{grid-template-columns:repeat(2,1fr)}
 .site-header ul{display:none}
}
@media(max-width:480px){.dishes,.feats{grid-template-columns:1fr}.stats{gap:18px}}
