/*
Theme Name: MalayMenu Kadence Editable
Theme URI: https://malaymenu.my/
Description: Editable child theme for Kadence. Includes a ready-made Malaysia Menu And Prices demo homepage, editable header/footer controls and valid Gutenberg content.
Author: Malaysia Menu And Prices
Template: kadence
Version: 20.0.0
Text Domain: malaymenu-kadence
*/

:root{
  --mm-green:#E4572E;
  --mm-green-deep:#E4572E;
  --mm-green-2:#087B5A;
  --mm-gold:#F4C542;
  --mm-bg:#F7FAF8;
  --mm-text:#13221D;
  --mm-muted:#687871;
  --mm-border:#E1E9E4;
  --mm-radius:12px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{background:#fff;color:var(--mm-text)}
#masthead,#colophon{display:none!important}
body.mm-v7-home .content-area,body.mm-v7-home .site-main,body.mm-v7-home .entry-content{margin:0!important;padding:0!important}
body.admin-bar .mm-v7-is-sticky{top:32px}
@media(max-width:782px){body.admin-bar .mm-v7-is-sticky{top:46px}}
body.mm-v7-home .entry-header,body.mm-v7-home .page-header{display:none!important}

/* Header — normal editable menu/logo controls, visual shell styled here. */
.mm-v7-header{
  position:relative;
  z-index:1000;
  background:var(--mm-v7-header-bg,#E4572E);
  border-bottom:1px solid rgba(255,255,255,.14);
}
.mm-v7-header.mm-v7-is-sticky{position:sticky;top:0}
.mm-v7-header-inner{
  max-width:1180px;
  min-height:70px;
  margin:0 auto;
  padding:0 20px;
  display:flex;
  align-items:center;
  gap:28px;
}
.mm-v7-brand{display:flex;align-items:center;flex:0 0 auto;text-decoration:none}
.mm-v7-logo{display:block;width:auto;max-width:190px;height:54px;object-fit:contain}
.mm-v7-nav{margin-left:auto}
.mm-v7-nav-list{list-style:none;display:flex;align-items:center;gap:26px;margin:0;padding:0}
.mm-v7-nav-list li{margin:0;padding:0}
.mm-v7-nav-list a{color:#fff;text-decoration:none;font-size:14px;font-weight:700;line-height:70px;position:relative}
.mm-v7-nav-list a:hover,.mm-v7-nav-list .current-menu-item>a{color:var(--mm-v7-header-accent,#F4C542)}
.mm-v7-nav-list .current-menu-item>a:after{
  content:"";position:absolute;left:0;right:0;bottom:13px;height:3px;border-radius:3px;background:var(--mm-v7-header-accent,#F4C542)
}
.mm-v7-actions{display:flex;align-items:center;gap:10px}
.mm-v7-search-button,.mm-v7-language-toggle{
  border:1px solid rgba(255,255,255,.35);
  color:#fff;background:transparent;
  border-radius:999px;text-decoration:none;
}
.mm-v7-search-button{width:38px;height:38px;display:grid;place-items:center;font-size:22px}
.mm-v7-language{position:relative}
.mm-v7-language-toggle{height:38px;padding:0 13px;cursor:pointer;font-weight:700}
.mm-v7-language-menu{
  display:none;position:absolute;right:0;top:44px;min-width:205px;
  background:#fff;border:1px solid var(--mm-border);border-radius:10px;
  box-shadow:0 12px 30px rgba(0,0,0,.18);padding:6px;z-index:1001
}
.mm-v7-language.is-open .mm-v7-language-menu{display:block}
.mm-v7-language-menu button{
  width:100%;text-align:left;background:#fff;border:0;border-radius:7px;padding:10px 11px;cursor:pointer
}
.mm-v7-language-menu button:hover{background:#f1f6f3}

/* Main content */
.mm-v7-page{margin:0!important;padding:0!important}
.mm-v7-container{width:min(1180px,calc(100% - 40px));margin:0 auto}
.mm-v7-hero{margin:0!important;overflow:hidden}
.mm-v7-hero .wp-block-cover__image-background{object-position:center center}
.mm-v7-hero .wp-block-cover__inner-container{width:100%}
.mm-v7-hero .wp-block-cover__background{background:linear-gradient(90deg,rgba(2,48,32,.92) 0%,rgba(2,48,32,.68) 48%,rgba(2,48,32,.05) 100%)!important;opacity:1!important}
.mm-v7-hero .mm-v7-container{padding-top:8px;padding-bottom:8px}
.mm-v7-eyebrow{color:var(--mm-gold);font-weight:800;font-style:italic;margin:0 0 12px}
.mm-v7-hero-title{color:#fff!important;font-size:clamp(42px,5vw,66px)!important;line-height:.98!important;letter-spacing:-1.5px;margin:0 0 16px!important;max-width:600px}
.mm-v7-hero-copy{color:#fff!important;font-size:18px;line-height:1.55;max-width:510px;margin:0 0 20px}
.mm-v7-search{
  max-width:620px;margin:0 0 14px!important;
  border-radius:10px!important;
}
.mm-v7-search .wp-block-search__inside-wrapper{background:#fff;border:4px solid #fff;border-radius:10px;padding:0}
.mm-v7-search input{border:0!important;min-height:48px;border-radius:8px 0 0 8px!important}
.mm-v7-search button{background:var(--mm-green)!important;color:#fff!important;border:0!important;border-radius:8px!important;padding:0 28px!important;font-weight:800}
.mm-v7-popular{color:#fff!important;margin:0!important;font-size:13px}
.mm-v7-popular a{color:#fff;text-decoration:none;border:1px solid rgba(255,255,255,.45);border-radius:999px;padding:6px 11px;margin-left:6px;display:inline-block}
.mm-v7-popular a:hover{background:rgba(255,255,255,.1)}

/* Sections/cards */
.mm-v7-section{padding:28px 0 8px;margin:0!important}
.mm-v7-soft{background:#fbfcfb}
.mm-v7-section-title{font-size:24px!important;line-height:1.2!important;margin:0 0 16px!important;display:flex;align-items:center;gap:10px}
.mm-v7-icon-circle{width:30px;height:30px;border-radius:50%;display:inline-grid;place-items:center;background:var(--mm-green);color:#fff;font-size:15px;flex:0 0 30px}
.mm-v7-icon-circle.mm-v7-gold{background:var(--mm-gold);color:#2d3a00}
.mm-v7-section .wp-block-columns{gap:12px;margin:0!important}
.mm-v7-section .wp-block-column{margin:0!important;min-width:0}
.mm-v7-card{
  background:#fff;border:1px solid #edf1ee;border-radius:var(--mm-radius);
  box-shadow:0 5px 18px rgba(14,39,28,.08);
  overflow:hidden;height:100%;
}
.mm-v7-card figure{margin:0!important}
.mm-v7-card img{display:block;width:100%;height:auto;object-fit:cover}
.mm-v7-category-card{text-align:center;padding:12px 10px 14px}
.mm-v7-category-card img{height:74px;object-fit:contain;margin:0 auto}
.mm-v7-card-body{padding:12px 13px!important}
.mm-v7-card-title{font-weight:800;font-size:15px;line-height:1.25;margin:0 0 5px!important;color:var(--mm-text)}
.mm-v7-muted{color:var(--mm-muted);font-size:12px;line-height:1.35;margin:0!important}
.mm-v7-rating{font-size:12px;color:#687871;margin:4px 0 0!important}
.mm-v7-rating span{color:#F4A900;font-size:14px}
.mm-v7-photo-card img{aspect-ratio:1.35/1;object-fit:cover}
.mm-v7-dish-card img{aspect-ratio:1.55/1;object-fit:cover}
.mm-v7-dish-media{position:relative!important}
.mm-v7-price{
  position:absolute;left:8px;top:8px;margin:0!important;background:var(--mm-green);color:#fff;
  padding:5px 8px;border-radius:7px;font-size:12px;font-weight:800
}
.mm-v7-guide-card img{aspect-ratio:2.2/1;object-fit:cover}
.mm-v7-badge{
  display:inline-block;background:var(--mm-gold);color:#163526;border-radius:999px;
  padding:4px 10px;font-size:11px;font-weight:800;margin:0 0 8px!important
}
.mm-v7-trust-wrap{padding:20px 0 30px!important}
.mm-v7-trust{
  background:#f0f7f2;border-radius:14px;padding:15px!important;
}
.mm-v7-trust-item{display:flex;align-items:flex-start;gap:10px}
.mm-v7-trust-icon{
  width:38px;height:38px;flex:0 0 38px;border-radius:50%;background:var(--mm-green);
  color:#fff;display:grid;place-items:center;margin:0!important;font-size:18px
}

/* Footer */
.mm-v7-footer{background:var(--mm-v7-footer-bg,#042C20);color:#fff}
.mm-v7-footer-inner{width:min(1180px,calc(100% - 40px));margin:0 auto}
.mm-v7-newsletter{background:var(--mm-v7-header-bg,#E4572E);padding:14px 0}
.mm-v7-newsletter .mm-v7-footer-inner{display:flex;align-items:center;justify-content:space-between;gap:30px}
.mm-v7-newsletter strong{display:block;font-size:17px}
.mm-v7-newsletter span{display:block;font-size:11px;margin-top:3px;opacity:.9}
.mm-v7-news-form{display:flex;min-width:420px}
.mm-v7-news-form input{flex:1;min-height:42px;border:0;border-radius:8px 0 0 8px;padding:0 14px}
.mm-v7-news-form button{border:0;background:var(--mm-gold);color:#142319;font-weight:800;padding:0 22px;border-radius:0 8px 8px 0}
.mm-v7-footer-main{display:grid;grid-template-columns:2fr 1fr 1fr;gap:60px;padding:32px 0 24px}
.mm-v7-footer h3{color:#fff;font-size:16px;margin:0 0 12px}
.mm-v7-footer p{color:rgba(255,255,255,.72);font-size:12px;line-height:1.6;margin:0}
.mm-v7-footer-menu{list-style:none;margin:0;padding:0}
.mm-v7-footer-menu li{margin:0 0 8px}
.mm-v7-footer-menu a{color:rgba(255,255,255,.78);font-size:12px;text-decoration:none}
.mm-v7-footer-menu a:hover{color:var(--mm-gold)}
.mm-v7-footer-bottom{border-top:1px solid rgba(255,255,255,.12);padding:12px 0;color:rgba(255,255,255,.55);font-size:10px}

/* Mobile navigation — editable, right-side trigger and right-to-left drawer. */
.mm-v7-mobile-toggle{
  display:none;
  border:1px solid rgba(255,255,255,.35);
  color:#fff;
  background:transparent;
  border-radius:8px;
  width:40px;height:38px;
  font-size:20px;cursor:pointer;
  position:relative;z-index:1005;
}
.mm-v7-mobile-nav{display:none}
.mm-v7-mobile-overlay{display:none}
@media(max-width:782px){
  .mm-v7-header-inner{position:relative}
  .mm-v7-mobile-toggle{
    display:flex!important;
    order:10;
    align-items:center;
    justify-content:center;
    margin-left:0;
  }
  .mm-v7-actions{order:9;margin-left:auto;gap:7px}
  .mm-v7-mobile-nav{
    display:block;
    position:fixed;
    top:0;
    right:0;
    left:auto;
    width:min(340px,88vw);
    height:100dvh;
    max-height:100dvh;
    overflow-y:auto;
    box-sizing:border-box;
    background:var(--mm-v7-header-bg,#E4572E);
    border-left:1px solid rgba(255,255,255,.14);
    box-shadow:-14px 0 35px rgba(0,0,0,.25);
    padding:82px 18px 24px;
    z-index:1004;
    transform:translateX(105%);
    transition:transform .26s ease;
    visibility:hidden;
  }
  .mm-v7-mobile-nav.is-open{
    transform:translateX(0);
    visibility:visible;
  }
  .mm-v7-mobile-nav[hidden]{display:block}
  .mm-v7-mobile-nav .mm-v7-nav-list{display:block;margin:0;padding:0}
  .mm-v7-mobile-nav .mm-v7-nav-list li{border-bottom:1px solid rgba(255,255,255,.12)}
  .mm-v7-mobile-nav .mm-v7-nav-list li:last-child{border-bottom:0}
  .mm-v7-mobile-nav .mm-v7-nav-list a{display:block;line-height:1.35;padding:15px 8px;font-size:16px;color:#fff;text-decoration:none}
  .mm-v7-mobile-nav .mm-v7-nav-list a:hover,
  .mm-v7-mobile-nav .mm-v7-nav-list .current-menu-item>a{color:var(--mm-v7-header-accent,#F4C542)}
  .mm-v7-mobile-nav .mm-v7-nav-list .current-menu-item>a:after{display:none}
  .mm-v7-mobile-overlay{
    position:fixed;inset:0;
    background:rgba(0,0,0,.42);
    z-index:1003;
    opacity:0;visibility:hidden;
    transition:opacity .26s ease;
  }
  .mm-v7-mobile-overlay.is-open{opacity:1;visibility:visible}
  .mm-v7-mobile-overlay[hidden]{display:block}
  html.mm-mobile-menu-open,html.mm-mobile-menu-open body{overflow:hidden}
}
@media(min-width:783px){
  .mm-v7-mobile-toggle,.mm-v7-mobile-nav,.mm-v7-mobile-overlay{display:none!important}
}

/* Responsive */
@media(max-width:1000px){
  .mm-v7-header-inner{gap:16px}
  .mm-v7-nav-list{gap:14px}
  .mm-v7-nav-list a{font-size:12px}
  .mm-v7-logo{max-width:165px}
}
@media(max-width:782px){
  .mm-v7-header-inner{min-height:62px;padding:0 14px}
  .mm-v7-logo{max-width:150px;height:48px}
  .mm-v7-nav{display:none}
  .mm-v7-actions{margin-left:auto}
  .mm-v7-container,.mm-v7-footer-inner{width:min(100% - 28px,1180px)}
  .mm-v7-hero{min-height:470px!important}
  .mm-v7-hero-title{font-size:40px!important}
  .mm-v7-hero-copy{font-size:15px}
  .mm-v7-popular a{margin:5px 3px 0 0}
  .mm-v7-section{padding-top:24px}
  .mm-v7-category-grid .wp-block-column{flex-basis:calc(50% - 6px)!important}
  .mm-v7-restaurant-grid .wp-block-column,.mm-v7-dish-grid .wp-block-column{flex-basis:calc(50% - 6px)!important}
  .mm-v7-guide-grid .wp-block-column{flex-basis:100%!important}
  .mm-v7-newsletter .mm-v7-footer-inner{display:block}
  .mm-v7-news-form{min-width:0;width:100%;margin-top:12px}
  .mm-v7-footer-main{grid-template-columns:1fr;gap:22px}
}
@media(max-width:480px){
  .mm-v7-category-grid .wp-block-column,.mm-v7-restaurant-grid .wp-block-column,.mm-v7-dish-grid .wp-block-column{flex-basis:100%!important}
  .mm-v7-search .wp-block-search__inside-wrapper{border-width:3px}
  .mm-v7-search button{padding:0 15px!important}
}

/* Hide the parent Kadence header/footer only when our child shell is active.
   This leaves the rest of Kadence's layout engine intact. */
.mm-v7-page ~ #colophon{display:none}


/* v8 mobile overflow hardening: prevent any Gutenberg/Kadence block from creating
   a horizontal page scrollbar. Content remains fully editable in the block editor. */
html,body{width:100%;max-width:100%;overflow-x:hidden}
body{margin:0}
img,svg,video,iframe{max-width:100%;height:auto}
.wp-site-blocks,.site,.site-container,.content-area,.site-main,.entry-content{max-width:100%;min-width:0}
.wp-block-group,.wp-block-cover,.wp-block-columns,.wp-block-column,.wp-block-image,.wp-block-search{min-width:0;max-width:100%}
.wp-block-columns{width:100%;box-sizing:border-box}
.wp-block-column{overflow-wrap:anywhere}
.mm-v7-container,.mm-v7-footer-inner{box-sizing:border-box;max-width:1180px}
.mm-v7-hero{width:100%;max-width:100vw}
.mm-v7-hero .wp-block-cover__inner-container{max-width:100%;min-width:0}
.mm-v7-search,.mm-v7-search .wp-block-search__inside-wrapper{width:100%;max-width:620px;min-width:0;box-sizing:border-box}
.mm-v7-search .wp-block-search__inside-wrapper{display:flex;align-items:stretch}
.mm-v7-search input{min-width:0!important;width:100%;max-width:none!important}
.mm-v7-search button{flex:0 0 auto;white-space:nowrap}
.mm-v7-newsletter,.mm-v7-footer{width:100%;max-width:100vw;overflow:hidden}
.mm-v7-news-form{min-width:0;max-width:100%;width:100%}
.mm-v7-news-form input{min-width:0;width:100%;max-width:none}

@media(max-width:782px){
  .mm-v7-container,.mm-v7-footer-inner{width:calc(100% - 28px);max-width:100%;margin-left:auto;margin-right:auto}
  .mm-v7-header-inner{width:100%;max-width:100%;box-sizing:border-box}
  .mm-v7-hero{min-height:0!important}
  .mm-v7-hero .wp-block-cover__inner-container{padding:0!important}
  .mm-v7-hero .mm-v7-container{padding-top:34px;padding-bottom:34px}
  .mm-v7-hero-title{font-size:clamp(34px,9vw,44px)!important;line-height:1.02!important;max-width:100%;overflow-wrap:normal}
  .mm-v7-hero-copy{max-width:100%;font-size:15px}
  .mm-v7-search{max-width:100%}
  .mm-v7-search .wp-block-search__inside-wrapper{max-width:100%;overflow:hidden}
  .mm-v7-search input{font-size:14px;min-width:0!important}
  .mm-v7-search button{padding-left:16px!important;padding-right:16px!important}
  .mm-v7-popular{max-width:100%;overflow-wrap:anywhere}
  .mm-v7-section,.mm-v7-trust-wrap{max-width:100%;overflow:hidden}
  .mm-v7-section .wp-block-columns,.mm-v7-trust{display:flex!important;flex-wrap:wrap!important;width:100%!important;max-width:100%!important;margin-left:0!important;margin-right:0!important}
  .mm-v7-section .wp-block-column,.mm-v7-trust .wp-block-column{min-width:0!important;max-width:100%!important}
  .mm-v7-category-grid .wp-block-column,.mm-v7-restaurant-grid .wp-block-column,.mm-v7-dish-grid .wp-block-column{flex:0 1 calc(50% - 6px)!important;width:calc(50% - 6px)!important}
  .mm-v7-guide-grid .wp-block-column{flex:0 1 100%!important;width:100%!important}
  .mm-v7-card,.mm-v7-card-body{max-width:100%;min-width:0}
  .mm-v7-card-title,.mm-v7-muted{overflow-wrap:anywhere}
}
@media(max-width:480px){
  .mm-v7-container,.mm-v7-footer-inner{width:calc(100% - 20px)}
  .mm-v7-category-grid .wp-block-column,.mm-v7-restaurant-grid .wp-block-column,.mm-v7-dish-grid .wp-block-column{flex:0 1 100%!important;width:100%!important}
  .mm-v7-newsletter .mm-v7-footer-inner{width:calc(100% - 20px)}
}

/* V10 — final mobile layout guardrails.
   Prevents any child block, generated Kadence wrapper, or editor style from
   becoming wider than the phone viewport. The layout wraps instead of shrinking
   a desktop canvas or creating horizontal scrolling. */
html, body, #page, #wrapper, .site, .site-container, .content-wrap, #primary, #main,
#content, .content-area, .site-main, .entry-content, .mm-v7-page, .mm-v7-footer {
  width:100%;
  max-width:100%;
  min-width:0;
}
html, body { overflow-x:clip !important; }
body { overflow-wrap:anywhere; }

*, *::before, *::after { box-sizing:border-box; }

.mm-v7-page.alignfull,
.mm-v7-section.alignfull,
.mm-v7-trust-wrap.alignfull,
.mm-v7-hero.alignfull { margin-left:0 !important; margin-right:0 !important; }

.mm-v7-page .wp-block-group,
.mm-v7-page .wp-block-columns,
.mm-v7-page .wp-block-column,
.mm-v7-page .wp-block-cover,
.mm-v7-page .wp-block-cover__inner-container,
.mm-v7-page .wp-block-image,
.mm-v7-page figure,
.mm-v7-page p,
.mm-v7-page h1,
.mm-v7-page h2,
.mm-v7-page h3 {
  min-width:0;
  max-width:100%;
}

.mm-v7-page .wp-block-columns {
  width:100% !important;
  margin-left:0 !important;
  margin-right:0 !important;
  padding-left:0;
  padding-right:0;
  flex-wrap:wrap !important;
}

.mm-v7-page .wp-block-column {
  margin-left:0 !important;
  margin-right:0 !important;
  min-width:0 !important;
  max-width:100% !important;
  overflow-wrap:anywhere;
}

.mm-v7-page img,
.mm-v7-page svg,
.mm-v7-page video,
.mm-v7-page iframe,
.mm-v7-footer img,
.mm-v7-footer svg,
.mm-v7-footer video,
.mm-v7-footer iframe {
  display:block;
  max-width:100% !important;
  height:auto;
}

.mm-v7-hero { overflow:hidden !important; }
.mm-v7-hero .wp-block-cover__image-background {
  max-width:none !important;
  width:100% !important;
  height:100% !important;
  object-fit:cover;
}
.mm-v7-hero .wp-block-cover__inner-container { width:100% !important; }

.mm-v7-search,
.mm-v7-search form,
.mm-v7-search .wp-block-search__inside-wrapper {
  width:100% !important;
  max-width:620px !important;
  min-width:0 !important;
}
.mm-v7-search .wp-block-search__inside-wrapper { box-sizing:border-box; }
.mm-v7-search input { min-width:0 !important; width:100% !important; }
.mm-v7-search button { flex:0 0 auto !important; }

@media (max-width:782px) {
  .site-header, .site-footer, .content-container, .container, .entry-content-wrap {
    max-width:100% !important;
    min-width:0 !important;
  }

  .mm-v7-header-inner {
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    padding-left:12px !important;
    padding-right:12px !important;
    gap:8px !important;
  }
  .mm-v7-brand { min-width:0 !important; max-width:calc(100% - 105px); }
  .mm-v7-logo { max-width:100% !important; width:auto !important; }
  .mm-v7-actions { min-width:0 !important; flex:0 0 auto; }

  .mm-v7-container, .mm-v7-footer-inner {
    width:calc(100% - 24px) !important;
    max-width:calc(100% - 24px) !important;
    min-width:0 !important;
  }

  .mm-v7-hero .mm-v7-container {
    width:calc(100% - 24px) !important;
    max-width:calc(100% - 24px) !important;
  }

  .mm-v7-section,
  .mm-v7-trust-wrap,
  .mm-v7-newsletter { width:100% !important; max-width:100% !important; }

  .mm-v7-category-grid .wp-block-column,
  .mm-v7-restaurant-grid .wp-block-column,
  .mm-v7-dish-grid .wp-block-column {
    flex:1 1 calc(50% - 6px) !important;
    flex-basis:calc(50% - 6px) !important;
    width:calc(50% - 6px) !important;
    max-width:calc(50% - 6px) !important;
  }

  .mm-v7-guide-grid .wp-block-column {
    flex:1 1 100% !important;
    flex-basis:100% !important;
    width:100% !important;
    max-width:100% !important;
  }

  .mm-v7-newsletter .mm-v7-footer-inner {
    display:flex !important;
    flex-wrap:wrap !important;
    width:calc(100% - 24px) !important;
    max-width:calc(100% - 24px) !important;
    gap:10px !important;
  }
  .mm-v7-newsletter .mm-v7-footer-inner > div:first-child { min-width:0; flex:1 1 220px; }
  .mm-v7-news-form { flex:1 1 280px; min-width:0 !important; width:100% !important; }
  .mm-v7-news-form input { min-width:0 !important; width:100% !important; }

  .mm-v7-footer-main { width:calc(100% - 24px) !important; max-width:calc(100% - 24px) !important; }
  .mm-v7-footer-bottom { width:calc(100% - 24px) !important; max-width:calc(100% - 24px) !important; }
}

@media (max-width:480px) {
  .mm-v7-container, .mm-v7-footer-inner,
  .mm-v7-newsletter .mm-v7-footer-inner,
  .mm-v7-footer-main, .mm-v7-footer-bottom,
  .mm-v7-hero .mm-v7-container {
    width:calc(100% - 20px) !important;
    max-width:calc(100% - 20px) !important;
  }

  .mm-v7-category-grid .wp-block-column,
  .mm-v7-restaurant-grid .wp-block-column,
  .mm-v7-dish-grid .wp-block-column {
    flex:1 1 100% !important;
    flex-basis:100% !important;
    width:100% !important;
    max-width:100% !important;
  }

  .mm-v7-hero-title { font-size:34px !important; letter-spacing:-.5px !important; }
  .mm-v7-search .wp-block-search__inside-wrapper { border-width:3px !important; }
  .mm-v7-search button { padding-left:13px !important; padding-right:13px !important; }
  .mm-v7-language-toggle { padding-left:9px !important; padding-right:9px !important; }
}


/* V10 FRONT-END MOBILE SAFETY
   These rules affect the public site only (the editor gets its own stylesheet).
*/
@media (max-width: 782px) {
  html { overflow-x: hidden !important; }
  body { overflow-x: hidden !important; }
  .mm-v7-page,
  .mm-v7-page > *,
  .mm-v7-section,
  .mm-v7-trust-wrap,
  .mm-v7-footer,
  .mm-v7-newsletter {
    max-width: 100vw !important;
  }
  .mm-v7-page .wp-block-columns {
    gap: 12px !important;
  }
  .mm-v7-page .wp-block-column {
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
  .mm-v7-card img,
  .mm-v7-card figure {
    max-width: 100% !important;
  }
  .mm-v7-hero .wp-block-cover__inner-container {
    box-sizing: border-box !important;
    max-width: 100% !important;
  }
  .mm-v7-popular a {
    white-space: normal !important;
  }
}
@media (max-width: 480px) {
  .mm-v7-page .wp-block-columns {
    gap: 10px !important;
  }
  .mm-v7-hero-title {
    max-width: 100% !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
  }
  .mm-v7-search .wp-block-search__inside-wrapper {
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* V11 — editor-safe separation
   The public-site layout rules above only ever apply on the front end
   (style.css is not loaded inside wp-admin). The Gutenberg editor canvas
   width is handled by theme.json's settings.layout.contentSize/wideSize,
   the standard WordPress mechanism, so no separate editor stylesheet is
   needed here.
*/

/* V13 language selector — full names, accessible state, and mobile-safe menu. */
.mm-v7-language-toggle{display:inline-flex!important;align-items:center;gap:6px;white-space:nowrap}
.mm-v7-language-toggle span[data-mm-current]{display:inline-block;max-width:120px;overflow:hidden;text-overflow:ellipsis}
.mm-v7-language-menu button{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:600;color:var(--mm-text)}
.mm-v7-language-menu button.is-selected{background:#eef6f1;font-weight:800}
.mm-v7-language-menu button.is-selected:after{content:'✓';margin-left:auto;color:var(--mm-green);font-weight:900}
@media(max-width:782px){
  .mm-v7-language-toggle{max-width:150px;font-size:12px}
  .mm-v7-language-toggle span[data-mm-current]{max-width:82px}
  .mm-v7-language-menu{right:0;min-width:190px;max-width:calc(100vw - 24px)}
}
@media(max-width:480px){
  .mm-v7-language-toggle{max-width:132px}
  .mm-v7-language-toggle span[data-mm-current]{max-width:65px}
  .mm-v7-language-menu{min-width:180px}
}

/* Source box used only when a restaurant has verified metadata. */
.mm-v7-source-box{margin:28px 0;padding:16px 18px;background:#f0f7f2;border:1px solid var(--mm-border);border-radius:12px;color:var(--mm-text);font-size:13px;line-height:1.55}.mm-v7-source-box strong{display:block;margin-bottom:6px}.mm-v7-source-box p{margin:5px 0}.mm-v7-source-box a{overflow-wrap:anywhere}

.mm-v7-directory-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:20px 0}.mm-v7-directory-card{min-width:0}.mm-v7-directory-card img{display:block;width:100%;aspect-ratio:1.35/1;object-fit:cover}.mm-v7-directory-card a{text-decoration:none;color:inherit}.mm-v7-directory-empty{padding:18px;background:#f0f7f2;border:1px solid var(--mm-border);border-radius:12px}.mm-v7-category-directory{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:20px 0}.mm-v7-category-link{display:flex;flex-direction:column;padding:16px;text-decoration:none;color:inherit}.mm-v7-category-link:hover{transform:translateY(-1px)}
@media(max-width:782px){.mm-v7-directory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mm-v7-category-directory{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.mm-v7-directory-grid,.mm-v7-category-directory{grid-template-columns:1fr}}


/* v18 — normal WordPress/Kadence page & post canvas. The page shell is wide so
   Gutenberg/Kadence sections can use Wide/Full alignment; individual text blocks
   can still remain readable through their own block settings. */
body:not(.mm-v7-home) .content-wrap,
body:not(.mm-v7-home) .content-container,
body:not(.mm-v7-home) .entry-content-wrap,
body:not(.mm-v7-home) .site-main,
body:not(.mm-v7-home) #primary,
body:not(.mm-v7-home) #main {
  width:100%;
  max-width:none;
}
body:not(.mm-v7-home) .entry-content {
  width:100%;
  max-width:none;
}
body:not(.mm-v7-home) .entry-content > .alignwide { max-width:1440px; margin-left:auto; margin-right:auto; }
body:not(.mm-v7-home) .entry-content > .alignfull { max-width:none; width:100%; margin-left:0; margin-right:0; }

/* v18 — real three-line mobile menu button. */
.mm-v7-hamburger{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4px;width:18px;height:18px}
.mm-v7-hamburger span{display:block;width:18px;height:2px;background:currentColor;border-radius:2px}
.mm-v7-mobile-toggle{align-items:center;justify-content:center;flex:0 0 40px;padding:0}
@media(max-width:782px){
  .mm-v7-mobile-toggle{display:flex!important}
  .mm-v7-actions{gap:7px}
}
@media(min-width:783px){
  .mm-v7-mobile-toggle,.mm-v7-mobile-nav{display:none!important}
}


/* v18b — make normal pages and posts use the full Kadence content canvas.
   Sidebars are hidden for this directory-style site so article sections can
   use the same wide layout as the homepage. */
body:not(.mm-v7-home) .content-wrap {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
}
body:not(.mm-v7-home) .primary-sidebar,
body:not(.mm-v7-home) .sidebar-primary {
  display: none !important;
}
body:not(.mm-v7-home) .entry-content-wrap {
  width: 100% !important;
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
body:not(.mm-v7-home) .entry-content {
  width: 100% !important;
  max-width: 100% !important;
}
