/* Aemazon Food Board v1.1.1 | compact mobile filter + visible submit label */
.food-filter-panel{margin:12px 0 14px;padding:14px;border:1px solid var(--aem-ui-line,#ece8e4);border-radius:16px;background:var(--aem-ui-surface,#fffaf7);}
.food-filter-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:11px;}.food-filter-head strong{font-size:15px;color:var(--aem-ui-ink,#171717);}.food-filter-head span{font-size:12px;color:var(--aem-ui-muted,#777);}
.food-region-tabs{display:flex;gap:7px;overflow-x:auto;padding-bottom:8px;scrollbar-width:none;}.food-region-tabs::-webkit-scrollbar{display:none;}.food-region-tab{flex:0 0 auto;padding:7px 12px;border:1px solid var(--aem-ui-line,#e4ded9);border-radius:999px;background:var(--aem-ui-surface,#fff);color:var(--aem-ui-ink,#555);text-decoration:none;font-size:12px;font-weight:750;}.food-region-tab.on{border-color:#ee572e;background:#ee572e;color:#fff;}
.food-filter-fields{display:grid;grid-template-columns:1.15fr 1fr 1fr auto auto auto;gap:8px;align-items:center;}.food-filter-fields select{min-width:0;height:40px;border:1px solid var(--aem-ui-line,#ddd6d1);border-radius:10px;background:var(--aem-ui-surface,#fff);padding:0 10px;color:var(--aem-ui-ink,#222);}.food-filter-check{height:40px;display:flex;align-items:center;gap:7px;padding:0 11px;border:1px solid var(--aem-ui-line,#ddd6d1);border-radius:10px;background:var(--aem-ui-surface,#fff);font-size:13px;font-weight:750;white-space:nowrap;}.food-filter-submit,.food-filter-reset{height:40px;display:inline-flex;align-items:center;justify-content:center;border-radius:10px;padding:0 14px;font-weight:800;text-decoration:none;white-space:nowrap;}.food-filter-submit{border:1px solid #ee572e;background:#ee572e;color:#fff;}.food-filter-reset{border:1px solid var(--aem-ui-line,#ddd6d1);background:var(--aem-ui-surface,#fff);color:var(--aem-ui-ink,#555);}
.food-card-badges{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0 4px;}.food-info-badge{display:inline-flex;align-items:center;min-height:27px;padding:4px 9px;border-radius:999px;background:var(--aem-ui-panel,#f5f4f3);color:var(--aem-ui-ink,#4a4745);font-size:12px;font-weight:780;line-height:1.2;}.food-info-badge.primary{background:var(--aem-ui-warm,#fff0ea);color:#d94620;}.food-info-badge.good{background:var(--aem-ui-panel,#eaf8ef);color:var(--aem-ui-text-green,#237642);}.food-info-badge.bad{background:var(--aem-ui-panel,#f5f5f5);color:var(--aem-ui-muted,#777);}.food-info-badge.unknown{background:var(--aem-ui-panel,#f5f5f5);color:var(--aem-ui-muted,#929292);}
.food-detail-card{margin:16px 0;padding:17px;border:1px solid var(--aem-ui-line,#ece4df);border-radius:17px;background:linear-gradient(135deg,#fffaf7 0%,#fff 70%);}.food-detail-kicker{font-size:11px;font-weight:900;letter-spacing:.08em;color:#e44d25;}.food-detail-title{margin-top:4px;font-size:18px;font-weight:900;color:var(--aem-ui-ink,#181818);}.food-detail-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-top:13px;}.food-detail-item{padding:11px;border:1px solid var(--aem-ui-line,#eee8e4);border-radius:12px;background:var(--aem-ui-surface,#fff);}.food-detail-item span{display:block;font-size:11px;color:var(--aem-ui-muted,#888);}.food-detail-item strong{display:block;margin-top:4px;font-size:14px;color:var(--aem-ui-ink,#222);}
.food-compose-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px;}.food-compose-grid label{display:block;font-size:12px;font-weight:800;color:var(--aem-ui-ink,#555);margin-bottom:5px;}.food-compose-grid select{width:100%;}.food-open24-row{margin-top:12px;padding-top:11px;border-top:1px solid var(--aem-ui-line,#ece7e3);}
@media(max-width:900px){
  body.post-list-v3 .food-filter-panel{
    margin:0 14px 12px;
    padding:14px;
    border:1px solid var(--aem-ui-line,#e8e8e8);
    border-radius:14px;
    background:var(--aem-ui-surface,#fff);
    box-shadow:none;
  }
  body.post-list-v3 .food-filter-head{
    display:block;
    margin-bottom:10px;
  }
  body.post-list-v3 .food-filter-head strong{
    display:block;
    font-size:14px;
    line-height:1.35;
    color:var(--aem-ui-ink,#111);
  }
  body.post-list-v3 .food-filter-head span{display:none;}
  body.post-list-v3 .food-region-tabs{
    gap:6px;
    margin:0 -2px 10px;
    padding:0 2px 3px;
    scroll-snap-type:x proximity;
    -webkit-overflow-scrolling:touch;
  }
  body.post-list-v3 .food-region-tab{
    min-height:34px;
    padding:7px 12px;
    border-color:transparent;
    background:var(--aem-ui-panel,#f4f4f4);
    color:var(--aem-ui-ink,#555);
    font-size:12px;
    font-weight:750;
    scroll-snap-align:start;
  }
  body.post-list-v3 .food-region-tab.on{
    border-color:#111;
    background:#111;
    color:#fff;
  }
  body.post-list-v3 .food-filter-fields{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:8px;
  }
  body.post-list-v3 .food-filter-fields select{
    width:100%;
    height:42px;
    padding:0 10px;
    border-color:var(--aem-ui-line,#e2e2e2);
    border-radius:10px;
    background-color:var(--aem-ui-surface,#fafafa);
    color:var(--aem-ui-ink,#222);
    font-size:13px;
  }
  body.post-list-v3 .food-filter-fields select:first-of-type{grid-column:1/-1;}
  body.post-list-v3 .food-filter-check{
    width:100%;
    height:42px;
    justify-content:center;
    padding:0 8px;
    border-color:var(--aem-ui-line,#e2e2e2);
    border-radius:10px;
    background:var(--aem-ui-surface,#fff);
    color:var(--aem-ui-ink,#222);
    font-size:12px;
  }
  body.post-list-v3 .food-filter-check input{accent-color:#111;}
  body.post-list-v3 .food-filter-submit{
    width:100%;
    height:42px;
    border-color:#111;
    border-radius:10px;
    background:#111;
    color:#fff !important;
    -webkit-text-fill-color:#fff;
    font-size:13px;
  }
  body.post-list-v3 .food-filter-reset{
    grid-column:1/-1;
    width:auto;
    height:28px;
    justify-self:center;
    padding:0 8px;
    border:0;
    border-radius:0;
    background:transparent;
    color:var(--aem-ui-muted,#777);
    font-size:12px;
    text-decoration:underline;
    text-underline-offset:3px;
  }
  .food-detail-grid{grid-template-columns:1fr 1fr;}
  .food-compose-grid{grid-template-columns:1fr;}
  .food-card-badges{margin-top:8px;}
}
