/*
Theme Name: Warteg KK Iki
Theme URI: https://example.com/
Author: Warteg KK Iki
Author URI: https://example.com/
Description: Tema WordPress responsif untuk website promosi UMKM Warteg KK Iki. Dilengkapi katalog menu, keranjang pesanan, dan checkout WhatsApp.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: warteg-kk-iki
Tags: food-and-drink, custom-logo, custom-menu, one-column, responsive-layout
*/
/* WARTEG KK IKI — stylesheet utama. Silakan ubah warna pada :root. */
:root {
  --green: #263f2d;
  --green-2: #3f6547;
  --cream: #fbf7ed;
  --cream-2: #f2ead8;
  --yellow: #e9b84f;
  --orange: #d87942;
  --ink: #263329;
  --muted: #778078;
  --white: #fffefa;
  --shadow: 0 18px 50px rgba(35, 54, 39, .10);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: "DM Sans", sans-serif; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
img { display: block; width: 100%; }
.container { width: min(1160px, calc(100% - 44px)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,254,250,.94); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(38,63,45,.08); }
.navbar { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 11px; font-size: 16px; font-weight: 500; line-height: 1.1; white-space: nowrap; }
.brand b { font-weight: 800; }
.brand small { display: block; color: var(--muted); font-size: 10px; letter-spacing: 1.4px; text-transform: uppercase; margin-top: 5px; }
.brand-mark { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 14px 14px 14px 4px; color: var(--green); background: var(--yellow); font-family: "Playfair Display", serif; font-size: 19px; font-weight: 800; }
.nav-links { display: flex; align-items: center; gap: 27px; font-size: 12px; font-weight: 700; }
.nav-links > a:not(.btn) { transition: color .2s; }
.nav-links > a:not(.btn):hover { color: var(--orange); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 18px; padding: 15px 21px; border-radius: 8px; font-size: 13px; font-weight: 800; border: 1px solid transparent; transition: transform .2s, box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(0,0,0,.12); }
.btn-primary { background: var(--green); color: white; }
.btn-primary:hover { background: var(--green-2); }
.btn-small { padding: 12px 16px; gap: 10px; }
.btn-outline { border-color: rgba(38,63,45,.28); color: var(--green); }
.menu-toggle { display: none; border: 0; background: none; padding: 8px; }
.menu-toggle span { display: block; width: 23px; height: 2px; background: var(--green); margin: 5px; }
.hero { position: relative; overflow: hidden; background: var(--cream); padding: 76px 0 24px; }
.hero-pattern { position: absolute; right: -170px; top: -240px; width: 660px; height: 660px; border: 1px solid rgba(63,101,71,.12); border-radius: 50%; box-shadow: 0 0 0 55px rgba(63,101,71,.025), 0 0 0 110px rgba(63,101,71,.025); }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 70px; position: relative; z-index: 1; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--orange); font-size: 10px; font-weight: 800; letter-spacing: 2px; }
.eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: "Playfair Display", serif; letter-spacing: -.8px; }
.hero h1 { margin: 20px 0; font-size: clamp(46px, 6vw, 74px); line-height: 1.07; color: var(--green); }
h1 em, h2 em { color: var(--orange); font-style: normal; }
.hero-copy > p { max-width: 490px; color: #6e786f; font-size: 15px; line-height: 1.9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 29px; }
.hero-note { display: flex; align-items: center; gap: 12px; margin-top: 48px; }
.note-icon { width: 37px; height: 37px; display: grid; place-items: center; background: #f4e5c3; border-radius: 50%; color: var(--orange); font-size: 21px; }
.hero-note b, .hero-note small { display: block; }
.hero-note b { font-size: 11px; }
.hero-note small { margin-top: 4px; color: var(--muted); font-size: 10px; }
.hero-visual { position: relative; padding: 10px 18px 20px 0; }
.hero-image-wrap { height: 440px; overflow: hidden; border-radius: 48% 48% 12px 12px; box-shadow: var(--shadow); transform: rotate(1.5deg); }
.hero-image-wrap img { height: 100%; object-fit: cover; }
.floating-label { position: absolute; left: -42px; bottom: 55px; display: flex; align-items: center; gap: 10px; padding: 13px 17px; background: var(--white); border-radius: 10px; box-shadow: var(--shadow); }
.floating-label > span { font-size: 25px; }
.floating-label b, .floating-label small { display: block; }
.floating-label b { font-size: 11px; }
.floating-label small { color: var(--muted); font-size: 9px; margin-top: 4px; }
.hero-stamp { position: absolute; right: -18px; top: 35px; width: 90px; height: 90px; display: grid; place-content: center; text-align: center; border-radius: 50%; color: var(--green); background: var(--yellow); font-size: 13px; font-weight: 900; line-height: 1.05; transform: rotate(12deg); }
.hero-stamp small { font-size: 9px; }
.hero-bottom { display: flex; justify-content: space-between; margin-top: 65px; color: #9a9f96; font-size: 9px; font-weight: 700; letter-spacing: 1.6px; }
.section-pad { padding: 100px 0; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 35px; }
h2 { color: var(--green); font-size: clamp(34px, 4vw, 47px); line-height: 1.15; margin: 12px 0 0; }
.section-heading > p { max-width: 350px; color: var(--muted); font-size: 13px; line-height: 1.8; margin-bottom: 5px; }
.menu-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 25px; }
.category-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tab { border: 1px solid #e7e9e2; background: white; color: #6f796f; padding: 10px 15px; border-radius: 30px; font-size: 11px; font-weight: 700; transition: .2s; }
.tab.active, .tab:hover { color: white; background: var(--green); border-color: var(--green); }
.search-box { display: flex; align-items: center; gap: 8px; border: 1px solid #e7e9e2; border-radius: 30px; padding: 0 14px; color: #899188; }
.search-box input { width: 145px; border: 0; outline: 0; padding: 10px 0; background: transparent; font-size: 11px; }
.menu-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 19px; }
.menu-card { overflow: hidden; padding: 9px; border: 1px solid #eceee8; border-radius: 13px; background: white; transition: transform .25s, box-shadow .25s; }
.menu-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.food-photo { position: relative; height: 155px; overflow: hidden; border-radius: 8px; background: var(--cream-2); }
.food-photo img { height: 100%; object-fit: cover; transition: transform .4s; }
.menu-card:hover .food-photo img { transform: scale(1.05); }
.food-tag { position: absolute; top: 9px; left: 9px; padding: 6px 9px; background: var(--yellow); color: var(--green); border-radius: 20px; font-size: 8px; font-weight: 800; }
.food-info { display: flex; justify-content: space-between; gap: 7px; align-items: start; padding: 13px 4px 11px; }
.food-info h3 { margin: 0 0 5px; color: var(--green); font-size: 12px; }
.food-info p { margin: 0; color: #92998f; font-size: 9px; }
.food-info strong { color: var(--orange); white-space: nowrap; font-size: 11px; }
.add-btn { width: 100%; padding: 10px; border: 0; border-radius: 6px; color: var(--green); background: #f1f5ef; font-size: 10px; font-weight: 800; transition: .2s; }
.add-btn:hover { color: white; background: var(--green); }
.empty-state { text-align: center; padding: 35px; color: var(--muted); }
.drink-section { background: #f6f0e3; overflow: hidden; }
.drink-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 80px; }
.drink-copy > p { max-width: 430px; margin: 18px 0 25px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.drink-options { max-width: 470px; display: grid; gap: 10px; }
.drink-item { display: flex; align-items: center; gap: 12px; padding: 13px; border-radius: 10px; background: rgba(255,255,255,.8); }
.drink-emoji { width: 39px; height: 39px; display: grid; place-items: center; background: #f6ead0; border-radius: 9px; font-size: 21px; }
.drink-item div { flex: 1; }
.drink-item b, .drink-item small { display: block; }
.drink-item b { font-size: 12px; }
.drink-item small { margin-top: 4px; color: var(--muted); font-size: 9px; }
.drink-item strong { color: var(--orange); font-size: 11px; white-space: nowrap; }
.mini-add { width: 28px; height: 28px; border: 0; border-radius: 50%; color: white; background: var(--green); font-size: 19px; line-height: 1; }
.price-note { display: block; margin-top: 13px; color: #8b9187; font-size: 9px; }
.drink-visual { position: relative; height: 420px; }
.drink-visual img { height: 100%; object-fit: cover; border-radius: 14px 100px 14px 14px; box-shadow: var(--shadow); }
.drink-bubble { position: absolute; bottom: 25px; left: -35px; width: 95px; height: 95px; display: grid; place-content: center; border-radius: 50%; background: var(--orange); color: white; text-align: center; font-family: "Playfair Display", serif; font-size: 15px; font-weight: 800; transform: rotate(-12deg); }
.cart-section { padding: 80px 0; background: #fffefa; }
.cart-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 80px; }
.cart-layout > div:first-child p { max-width: 370px; margin-top: 16px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.cart-box { padding: 24px; border: 1px solid #e9ece5; border-radius: 14px; box-shadow: var(--shadow); }
.cart-title, .cart-total { display: flex; justify-content: space-between; align-items: center; }
.cart-title b { font-size: 14px; }
.cart-title span { color: var(--muted); font-size: 10px; }
.cart-items { max-height: 260px; overflow: auto; margin: 16px 0; }
.cart-empty { padding: 30px 10px; text-align: center; color: #a0a69d; font-size: 24px; }
.cart-empty small { display: block; margin-top: 8px; font-size: 10px; }
.cart-row { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid #edf0e9; }
.cart-row b { display: block; font-size: 11px; }
.cart-row small { display: block; margin-top: 4px; color: var(--muted); font-size: 9px; }
.qty-control { display: flex; align-items: center; gap: 8px; }
.qty-control button { width: 23px; height: 23px; border: 1px solid #e3e8df; border-radius: 50%; color: var(--green); background: white; }
.qty-control span { min-width: 12px; text-align: center; font-size: 10px; }
.row-price { color: var(--orange); font-size: 10px; font-weight: 800; white-space: nowrap; }
.cart-total { padding: 16px 0; border-top: 1px solid #e9ece5; font-size: 12px; }
.cart-total strong { color: var(--green); font-size: 17px; }
.checkout-btn { width: 100%; }
.checkout-btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.clear-cart { display: block; margin: 12px auto 0; padding: 5px; border: 0; color: #92998f; background: none; font-size: 10px; }
.about-section { background: var(--cream); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 90px; }
.about-photo { position: relative; height: 420px; }
.about-photo img { height: 100%; object-fit: cover; border-radius: 12px 100px 12px 12px; }
.about-seal { position: absolute; right: -25px; bottom: 25px; width: 100px; height: 100px; display: grid; place-content: center; border: 5px solid var(--cream); border-radius: 50%; background: var(--yellow); color: var(--green); text-align: center; font-size: 10px; font-weight: 900; line-height: 1.5; transform: rotate(9deg); }
.about-copy > p { margin: 20px 0 0; color: #737d73; font-size: 13px; line-height: 2; }
.text-link { display: inline-flex; gap: 18px; margin-top: 27px; color: var(--green); font-size: 12px; font-weight: 800; }
.center-heading { text-align: center; }
.center-heading h2 { margin-bottom: 38px; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.benefit-card { padding: 29px 25px; border: 1px solid #edf0e9; border-radius: 12px; background: white; text-align: center; }
.benefit-card > span { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 16px; border-radius: 16px; background: var(--cream-2); color: var(--orange); font-size: 25px; }
.benefit-card h3 { margin-bottom: 9px; color: var(--green); font-size: 14px; }
.benefit-card p { max-width: 260px; margin: auto; color: var(--muted); font-size: 11px; line-height: 1.8; }
.contact-section { padding-top: 30px; }
.contact-card { display: grid; grid-template-columns: 1fr .8fr; gap: 60px; padding: 55px 60px; border-radius: 18px; background: var(--green); color: white; }
.contact-copy .eyebrow { color: var(--yellow); }
.contact-copy h2 { margin: 16px 0; color: white; }
.contact-copy h2 em { color: var(--yellow); }
.contact-copy p { max-width: 360px; color: #c4d0c3; font-size: 12px; line-height: 1.8; }
.btn-light { margin-top: 13px; color: var(--green); background: var(--yellow); }
.contact-details { align-self: center; }
.contact-details > div { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.detail-icon { width: 39px; height: 39px; display: grid; place-items: center; border: 1px solid #607563; border-radius: 10px; color: var(--yellow); font-size: 20px; }
.contact-details p { margin: 0; }
.contact-details small, .contact-details b { display: block; }
.contact-details small { margin-bottom: 5px; color: #b5c3b4; font-size: 9px; }
.contact-details b { font-size: 12px; }
.map-link { display: inline-block; margin: 2px 0 0 53px; color: var(--yellow); font-size: 10px; font-weight: 700; }
.footer { padding: 55px 0 20px; background: #1c3022; color: white; }
.footer-main { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 35px; padding-bottom: 45px; }
.footer-brand .brand-mark { color: var(--green); }
.footer-main > p { color: #aebcaf; font-size: 11px; line-height: 1.9; }
.footer-nav { display: flex; flex-direction: column; align-items: start; gap: 11px; color: #b9c4b9; font-size: 10px; }
.footer-nav b { margin-bottom: 5px; color: white; font-size: 11px; }
.footer-nav a:hover { color: var(--yellow); }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 18px; border-top: 1px solid #405443; color: #91a093; font-size: 9px; }
.floating-wa { position: fixed; right: 22px; bottom: 22px; z-index: 40; display: grid; place-items: center; width: 53px; height: 53px; border-radius: 50%; color: white; background: #209b59; box-shadow: 0 8px 25px rgba(0,0,0,.2); font-size: 25px; transition: transform .2s; }
.floating-wa:hover { transform: scale(1.08); }
[hidden] { display: none !important; }

@media (max-width: 980px) {
  .nav-links { gap: 14px; font-size: 11px; }
  .hero-grid { gap: 35px; }
  .menu-grid { grid-template-columns: repeat(3, 1fr); }
  .drink-grid, .about-grid { gap: 45px; }
  .cart-layout { gap: 40px; }
  .contact-card { padding: 45px; }
}
@media (max-width: 760px) {
  .container { width: min(100% - 34px, 560px); }
  .navbar { min-height: 70px; }
  .menu-toggle { display: block; }
  .nav-links { position: absolute; top: 70px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 22px 20px; background: var(--white); border-bottom: 1px solid #e9ece5; box-shadow: 0 15px 25px rgba(0,0,0,.07); }
  .nav-links.open { display: flex; }
  .nav-links > a:not(.btn) { padding: 13px 0; border-bottom: 1px solid #f0f1ed; }
  .nav-order { margin-top: 13px; }
  .hero { padding-top: 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 35px; }
  .hero h1 { font-size: clamp(46px, 13vw, 65px); }
  .hero-copy > p { font-size: 13px; }
  .hero-note { margin-top: 30px; }
  .hero-visual { width: 88%; margin: 0 auto; }
  .hero-image-wrap { height: 330px; }
  .floating-label { left: -22px; bottom: 30px; }
  .hero-stamp { right: -23px; width: 75px; height: 75px; font-size: 11px; }
  .hero-bottom { margin-top: 45px; font-size: 8px; }
  .section-pad { padding: 70px 0; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 14px; }
  .menu-toolbar { align-items: stretch; flex-direction: column; }
  .search-box { align-self: flex-start; }
  .menu-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .food-photo { height: 125px; }
  .food-info { flex-direction: column; gap: 8px; }
  .drink-grid, .about-grid, .cart-layout { grid-template-columns: 1fr; gap: 35px; }
  .drink-visual { height: 330px; width: 90%; margin-left: auto; }
  .drink-bubble { left: -24px; }
  .cart-layout > div:first-child { text-align: center; }
  .cart-layout > div:first-child p { margin-left: auto; margin-right: auto; }
  .about-photo { height: 330px; width: 90%; }
  .about-seal { right: -20px; }
  .benefit-grid { grid-template-columns: 1fr; gap: 12px; }
  .benefit-card { padding: 23px; }
  .contact-card { grid-template-columns: 1fr; gap: 38px; padding: 35px 25px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
}
@media (max-width: 390px) {
  .container { width: calc(100% - 26px); }
  .menu-grid { gap: 9px; }
  .menu-card { padding: 7px; }
  .food-photo { height: 108px; }
  .food-info h3 { font-size: 11px; }
  .food-info strong { font-size: 10px; }
  .add-btn { font-size: 9px; }
  .hero-actions .btn { padding: 13px 14px; font-size: 11px; }
  .footer-bottom { gap: 12px; flex-direction: column; }
}
.custom-logo-link { display: inline-flex; align-items: center; }
.custom-logo { max-width: 46px; max-height: 46px; width: auto; height: auto; object-fit: contain; }
.nav-links .menu-item { list-style: none; }
.nav-links ul { display: contents; margin: 0; padding: 0; }
.nav-links li { list-style: none; }

/* Ilustrasi minuman (pengganti foto) */
.drink-art { height: 100%; display: flex; align-items: center; justify-content: center; gap: 24px; font-size: 96px; background: linear-gradient(135deg, #f6d9a8, #e9b46a); border-radius: 14px 100px 14px 14px; box-shadow: var(--shadow); }
@media (max-width: 760px) { .drink-art { font-size: 64px; } }
