/*
Theme Name: Food Street Theme
Theme URI: https://foodstreet.my/
Author: FoodStreet Malaysia
Description: Mobile-first, app-style Malaysian food destination theme with native FoodStreet Directory integration.
Version: 2.1.0
Requires PHP: 7.4
Text Domain: foodstreet-theme
*/
:root{--green:#087b58;--dark:#182e28;--muted:#6d7b74;--bg:#f7faf8;--line:#e5ede8;--radius:18px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:white;color:var(--dark);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:15px;line-height:1.6}a{color:inherit;text-decoration:none}a:hover{color:var(--green)}img{max-width:100%;height:auto}button,input,select{font:inherit}.shell{width:min(1120px,calc(100% - 36px));margin:auto}.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px)}.site-header{position:sticky;top:0;z-index:50;background:#fff;border-bottom:1px solid var(--line)}.header-row{display:flex;align-items:center;justify-content:space-between;min-height:70px;gap:18px}.brand{display:flex;align-items:center;gap:9px;font-size:23px;font-weight:850;letter-spacing:-.9px;line-height:1}.brand-mark{font-size:26px}.brand-green{color:var(--green)}.brand small{display:block;font-size:10px;font-weight:650;letter-spacing:1.2px;color:var(--muted);margin-top:5px;text-transform:uppercase}.custom-logo{max-width:165px;max-height:54px;width:auto}.desktop-nav{display:flex;align-items:center;gap:26px;font-size:14px;font-weight:650}.header-explore,.search-bar button{background:var(--green);color:white;padding:11px 20px;border:0;border-radius:12px;font-weight:750}.hero{background:linear-gradient(140deg,#e5f6eb 0%,#f5faf2 55%,#fff6e8 100%);padding:68px 0 72px}.hero .shell{max-width:900px}.eyebrow,.kicker{color:var(--green);font-size:11px;font-weight:850;letter-spacing:1.7px}.hero h1{font-size:clamp(36px,6vw,66px);letter-spacing:-2.6px;line-height:1.12;margin:12px 0 14px;max-width:720px}.hero h1 em{color:var(--green);font-style:normal}.hero p{color:#52655b;font-size:17px;max-width:560px}.search-bar{display:flex;align-items:center;gap:12px;background:white;padding:7px 8px 7px 18px;max-width:670px;border-radius:17px;box-shadow:0 12px 35px #12462b16;margin-top:27px}.search-bar span{font-size:24px;color:var(--green)}.search-bar input{min-width:0;flex:1;border:0;outline:0;padding:10px 0;background:transparent}.hero-hint{font-size:12px;color:#61746a;margin-top:16px}.hero-hint a{text-decoration:underline;text-underline-offset:3px}.section{padding-top:45px;padding-bottom:45px}.section.soft{background:var(--bg)}.section-head{display:flex;justify-content:space-between;align-items:end;gap:12px;margin-bottom:20px}.section-head h2,.page-heading h1{font-size:clamp(23px,3vw,32px);letter-spacing:-.9px;line-height:1.2;margin:5px 0}.section-head>a{color:var(--green);font-size:13px;font-weight:800;white-space:nowrap}.chip-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.chip{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:18px 15px;border-radius:15px;border:1px solid var(--line);background:#fff;font-weight:700;box-shadow:0 3px 14px #163d2810}.chip span{color:var(--green)}.card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px}.food-card{border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:white;box-shadow:0 5px 22px #1d47330c}.food-card-image{display:block;aspect-ratio:16/10;overflow:hidden;background:#eaf5ee}.food-card-image img{width:100%;height:100%;object-fit:cover}.food-card-placeholder{height:100%;display:grid;place-items:center;font-size:53px;background:linear-gradient(140deg,#e5f6e9,#f8edda)}.food-card-body{padding:15px}.card-tags{display:flex;gap:6px;flex-wrap:wrap;color:var(--green);font-size:11px;font-weight:750}.card-tags span{background:#edf8f0;padding:3px 8px;border-radius:7px}.food-card h3{font-size:17px;line-height:1.35;margin:9px 0}.food-card p{font-size:13px;color:var(--muted);margin:0 0 14px}.card-action{font-size:13px;font-weight:800;color:var(--green)}.site-footer{background:#102e25;color:white;padding:40px 0}.site-footer p{color:#b9d2c4}.site-footer small{color:#9eb9aa}.bottom-nav{display:none}.content-page,.single-page,.archive-page{padding-top:34px;padding-bottom:55px}.content-page{max-width:1100px}.single-page{max-width:850px}.page-heading{margin-bottom:22px}.page-heading h1,.single-page h1{font-size:clamp(28px,4vw,42px);letter-spacing:-1.2px}.back-link{font-size:13px;color:var(--green);font-weight:750}.detail-tags{font-size:13px;color:var(--muted);margin-bottom:20px}.detail-photo{width:100%;border-radius:18px;max-height:480px;object-fit:cover}.entry-content{overflow-wrap:anywhere}.entry-content iframe{max-width:100%;border-radius:14px}.entry-content h2{font-size:23px;margin-top:32px}.entry-content p{line-height:1.8}.fsd-directory .fsd-filters{display:grid;grid-template-columns:2fr 1fr 1fr auto;gap:9px;background:#f5f9f6;padding:14px;border-radius:16px;margin:18px 0}.fsd-directory input,.fsd-directory select{min-width:0;padding:12px;border:1px solid #dbe9df;border-radius:10px;background:white}.fsd-directory button{border:0;border-radius:10px;background:var(--green);color:white;padding:12px 22px;font-weight:800}.fsd-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.fsd-card{border:1px solid var(--line);border-radius:16px;padding:12px;background:white;overflow:hidden}.fsd-card img,.fsd-placeholder{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:12px}.fsd-placeholder{display:grid;place-items:center;background:#eaf5ee;color:var(--green);font-weight:800}.fsd-card h3{font-size:17px;margin:10px 0 4px}.fsd-card p{font-size:13px;color:var(--muted)}.fsd-card>a:last-child{color:var(--green);font-weight:750}.pagination{margin-top:25px}.wp-block-group{max-width:100%}.wp-block-columns{gap:12px}.wp-block-button__link{border-radius:12px}.entry-content .wp-block-group{border-radius:15px}#comments{margin-top:35px;border-top:1px solid var(--line);padding-top:20px}#comments textarea,#comments input{max-width:100%}@media(max-width:800px){.desktop-nav{display:none}.header-explore{display:none}.card-grid,.fsd-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.chip-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:600px){body{font-size:14px;padding-bottom:70px}.shell{width:calc(100% - 28px)}.header-row{min-height:60px}.brand{font-size:21px}.hero{padding:37px 0 42px}.hero h1{font-size:38px;letter-spacing:-1.6px}.hero p{font-size:14px}.search-bar{padding:5px 5px 5px 12px;gap:7px}.search-bar button{padding:11px 13px}.hero-hint{font-size:11px}.section{padding-top:29px;padding-bottom:29px}.section-head h2{font-size:23px}.chip-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.chip{min-height:62px;padding:12px;font-size:13px}.card-grid,.fsd-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.food-card-body{padding:10px}.food-card h3,.fsd-card h3{font-size:14px}.food-card p{font-size:12px;line-height:1.5}.card-tags{font-size:10px}.card-action{font-size:12px}.fsd-directory .fsd-filters{grid-template-columns:1fr 1fr}.fsd-directory .fsd-filters input{grid-column:1/-1}.fsd-directory button{grid-column:1/-1}.fsd-card{padding:8px}.fsd-card p{font-size:12px}.content-page,.single-page,.archive-page{padding-top:22px;padding-bottom:32px}.page-heading h1,.single-page h1{font-size:27px}.bottom-nav{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:100;background:#fff;border-top:1px solid var(--line);justify-content:space-around;padding:6px 5px max(7px,env(safe-area-inset-bottom));box-shadow:0 -5px 20px #183e2610}.bottom-nav a{display:flex;flex:1;align-items:center;flex-direction:column;gap:0;font-size:10px;font-weight:700;color:#687b70}.bottom-nav a span{font-size:24px;line-height:1.25}.bottom-nav a[aria-current="page"]{color:var(--green)}.site-footer{padding:28px 0}.wp-block-columns.is-not-stacked-on-mobile{gap:8px}}
/* Directory uses the same exact shell, spacing and card dimensions as homepage. */
.food-directory-page .directory-hero .shell{max-width:900px}.food-directory-page .fsd-directory{width:100%;max-width:none}.food-directory-page .fsd-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:19px}.food-directory-page .fsd-card{padding:0;border-radius:18px;box-shadow:0 5px 22px #1d47330c}.food-directory-page .fsd-card img,.food-directory-page .fsd-placeholder{border-radius:0;aspect-ratio:16/10}.food-directory-page .fsd-card h3,.food-directory-page .fsd-card p,.food-directory-page .fsd-card>a:last-child{margin-left:15px;margin-right:15px}.food-directory-page .fsd-card>a:last-child{display:inline-block;margin-bottom:15px}@media(max-width:800px){.food-directory-page .fsd-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.food-directory-page .fsd-grid{gap:10px}.food-directory-page .fsd-card h3,.food-directory-page .fsd-card p,.food-directory-page .fsd-card>a:last-child{margin-left:10px;margin-right:10px}.food-directory-page .fsd-card h3{font-size:14px}}

