:root{--red:#d82418;--red-dark:#a91612;--ink:#222;--muted:#6d6d6d;--line:#e1e1e1;--soft:#f8f8f8;--side:#f7eaea;--shadow:0 8px 24px rgba(0,0,0,.16);--top-h:68px;--side-w:220px}*{box-sizing:border-box}html,body{height:100%;margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,"Noto Sans",sans-serif;color:var(--ink);background:#fff;overflow:hidden}.app-shell{height:100vh;display:flex;flex-direction:column;background:#fff}.topbar{height:var(--top-h);display:flex;align-items:center;gap:12px;padding:10px 14px;border-bottom:1px solid var(--line);background:#fff;z-index:4}.brand{display:flex;align-items:center;gap:5px;min-width:125px;white-space:nowrap}.brand strong{font-size:15px;letter-spacing:.3px}.back{font-size:14px;color:#666}.top-categories{flex:1;display:flex;align-items:center;gap:10px;overflow-x:auto;scrollbar-width:none;padding-bottom:2px}.top-categories::-webkit-scrollbar{display:none}.top-tab{border:1px solid #d6d6d6;border-radius:999px;background:#fff;color:#444;padding:12px 26px;font-size:20px;line-height:1;white-space:nowrap;min-width:110px;cursor:pointer}.top-tab.active{background:var(--red);border-color:var(--red);color:#fff;font-weight:700}.cart-button{min-width:72px;border:1px solid #d3a1a1;border-radius:22px;background:#fff;color:#8b1b1b;padding:10px 16px;font-size:18px;font-weight:700;cursor:pointer}.main-layout{height:calc(100vh - var(--top-h));display:grid;grid-template-columns:var(--side-w) 1fr;min-height:0}.sub-categories{background:#fff;border-right:1px solid var(--line);overflow-y:auto;padding-bottom:20px}.sub-item{padding:18px 20px;border-bottom:1px solid #f0dddd;color:#8d2626;font-size:17px;font-weight:700;cursor:pointer;line-height:1.2}.sub-item.active{background:#edd6d6;border-left:7px solid var(--red);padding-left:13px}.content-area{overflow:auto;padding:14px 18px 90px;background:#fff}.product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:16px;align-items:stretch}.product-card{min-width:0;border:1px solid #ddd;border-radius:6px;background:#fff;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 1px 2px rgba(0,0,0,.02)}.product-card.soldout{opacity:.55;filter:grayscale(.45)}.image-wrap{position:relative;aspect-ratio:1.75/1;background:#fafafa;display:flex;align-items:center;justify-content:center;border-bottom:1px solid #eee}.product-img{max-width:84%;max-height:84%;object-fit:contain}.qty-badge{position:absolute;right:10px;bottom:8px;min-width:34px;height:34px;border-radius:18px;background:var(--red);color:#fff;display:none;align-items:center;justify-content:center;font-weight:800;font-size:18px;box-shadow:var(--shadow)}.qty-badge.show{display:flex}.product-body{padding:16px;display:flex;flex-direction:column;gap:10px;flex:1}.product-title{font-size:20px;line-height:1.12;font-weight:800;margin:0;word-break:break-word}.product-desc{font-size:16px;color:#555;line-height:1.25;margin:0;display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden}.product-foot{margin-top:auto;display:flex;gap:10px;align-items:flex-end;justify-content:space-between}.price{font-size:20px;font-weight:900;color:#9e2424;line-height:1.15}.add-btn{border:0;border-radius:7px;background:var(--red);color:#fff;font-size:17px;font-weight:800;padding:11px 16px;cursor:pointer;white-space:nowrap}.add-btn:disabled{background:#999}.option-list{margin-top:auto;display:flex;flex-direction:column;gap:8px}.option-row{display:grid;grid-template-columns:minmax(72px,1fr) auto auto;gap:10px;align-items:center;border-top:1px solid #eee;padding-top:9px}.option-size{font-weight:800;font-size:17px}.option-price{font-weight:900;color:#9e2424;font-size:18px;white-space:nowrap}.option-row .add-btn{padding:9px 12px;font-size:15px}.cart-drawer{position:fixed;inset:0;background:rgba(0,0,0,.35);display:none;justify-content:flex-end;z-index:20}.cart-drawer.open{display:flex}.cart-panel{width:min(520px,100vw);height:100%;background:#fff;box-shadow:var(--shadow);display:flex;flex-direction:column}.cart-head{height:60px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:0 18px}.cart-head h2{margin:0;font-size:24px}.icon-btn{border:0;background:#fff;font-size:36px;line-height:1;cursor:pointer}.cart-items{flex:1;overflow:auto;padding:12px 18px}.cart-empty{color:#777;text-align:center;margin-top:60px}.cart-line{display:grid;grid-template-columns:1fr auto;gap:8px;border-bottom:1px solid #eee;padding:12px 0}.cart-line-title{font-weight:800}.cart-line-sub{color:#666;font-size:14px;margin-top:3px}.cart-line-price{font-weight:900;color:#9e2424;white-space:nowrap}.cart-qty{display:flex;gap:8px;align-items:center;margin-top:8px}.cart-qty button{width:32px;height:32px;border:1px solid #ddd;background:#fff;border-radius:6px;font-weight:900}.cart-note-box{padding:14px 18px;border-top:1px solid var(--line)}.cart-note-box label{display:block;font-weight:800;margin-bottom:7px}.cart-note-box input{width:100%;border:1px solid #ccc;border-radius:8px;font-size:20px;padding:13px 14px}.cart-total{display:flex;justify-content:space-between;align-items:center;padding:18px;border-top:1px solid var(--line);font-size:22px}.cart-total strong{color:#9e2424}.cart-actions{display:grid;grid-template-columns:1fr 2fr;gap:12px;padding:0 18px 18px}.primary,.secondary{border:0;border-radius:10px;font-size:18px;font-weight:900;padding:15px;cursor:pointer}.primary{background:var(--red);color:#fff}.secondary{background:#eee;color:#333}.lang-switcher{position:fixed;right:12px;bottom:10px;display:flex;gap:6px;z-index:6}.lang-switcher button{width:27px;height:27px;border-radius:50%;border:1px solid #ddd;background:#fff;font-size:14px;box-shadow:0 2px 6px rgba(0,0,0,.12);cursor:pointer}.lang-switcher button.active{outline:3px solid rgba(216,36,24,.25)}@media (min-width:1200px){.product-grid{grid-template-columns:repeat(5,minmax(190px,1fr))}.top-tab{font-size:18px;padding:12px 24px}}@media (max-width:900px){:root{--side-w:175px;--top-h:62px}.top-tab{font-size:16px;padding:10px 19px;min-width:auto}.brand{min-width:98px}.product-grid{grid-template-columns:repeat(auto-fill,minmax(175px,1fr));gap:12px}.product-title{font-size:17px}.product-desc{font-size:14px}.price{font-size:18px}.add-btn{font-size:15px;padding:10px 12px}.sub-item{font-size:15px;padding:15px 13px}.content-area{padding:12px 12px 90px}}@media (max-width:620px){html,body{overflow:auto}.app-shell{height:auto;min-height:100vh}.topbar{position:sticky;top:0}.main-layout{height:auto;min-height:calc(100vh - var(--top-h));grid-template-columns:1fr}.sub-categories{display:flex;overflow-x:auto;border-right:0;border-bottom:1px solid var(--line);padding:0}.sub-item{white-space:nowrap;border-bottom:0;border-right:1px solid #f0dddd}.sub-item.active{border-left:0;border-bottom:5px solid var(--red);padding-left:13px}.content-area{overflow:visible}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.brand{display:none}.cart-button{min-width:58px;padding:8px 10px}.lang-switcher{bottom:6px;right:6px}.cart-panel{width:100vw}}@media (max-width:380px){.product-grid{grid-template-columns:1fr}.top-tab{font-size:15px;padding:9px 14px}}


/* 2026-05-06 display fixes for Samsung/iPad/tablet screens */
.topbar{gap:8px;padding-left:8px;padding-right:8px;}
.brand{min-width:auto;flex:0 0 auto;}
.top-categories{min-width:0;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;}
.top-tab{flex:0 0 auto;max-width:none;overflow:visible;text-overflow:clip;white-space:nowrap;text-align:center;}
.product-grid{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));}
.product-card{overflow:visible;}
.product-body{min-height:0;}
.product-foot{display:grid;grid-template-columns:1fr auto;align-items:center;gap:10px;}
.add-btn{min-width:92px;text-align:center;}
.option-row{grid-template-columns:minmax(62px,1fr) minmax(88px,auto) minmax(92px,auto);}
.option-row .add-btn{min-width:92px;}
.cart-actions-clear-only{display:block;}
.cart-actions-clear-only .secondary{width:100%;}

@media (max-width:1100px){
  :root{--side-w:190px;--top-h:64px;}
  .brand{font-size:12px;}
  .brand strong{font-size:13px;}
  .top-tab{font-size:16px;padding:10px 16px;min-width:auto;}
  .product-grid{grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:14px;}
  .product-title{font-size:18px;}
  .product-desc{font-size:14px;-webkit-line-clamp:4;}
  .product-foot{grid-template-columns:1fr;align-items:stretch;}
  .product-foot .add-btn{width:100%;}
  .option-row{grid-template-columns:1fr;gap:5px;align-items:stretch;}
  .option-row .add-btn{width:100%;}
}

@media (max-width:760px){
  :root{--side-w:165px;--top-h:60px;}
  .brand{display:none;}
  .top-tab{font-size:15px;padding:9px 13px;}
  .cart-button{min-width:54px;padding:8px 10px;font-size:16px;}
  .main-layout{grid-template-columns:150px 1fr;}
  .sub-item{font-size:14px;line-height:1.25;padding:13px 10px;word-break:normal;overflow-wrap:anywhere;}
  .product-grid{grid-template-columns:repeat(auto-fill,minmax(210px,1fr));}
  .content-area{padding:10px 10px 90px;}
}

@media (max-width:620px){
  .main-layout{grid-template-columns:1fr;}
  .product-grid{grid-template-columns:repeat(2,minmax(160px,1fr));}
  .product-foot,.option-row{grid-template-columns:1fr;}
  .add-btn,.option-row .add-btn{width:100%;min-width:0;}
}

@media (max-width:430px){
  .product-grid{grid-template-columns:1fr;}
}


/* 2026-05-06 quantity stepper on product cards */
.product-qty{display:grid;grid-template-columns:48px minmax(42px,56px) 48px;align-items:stretch;border-radius:8px;overflow:hidden;min-width:152px;justify-self:end;}
.product-qty button{border:0;background:var(--red);color:#fff;font-size:28px;font-weight:900;cursor:pointer;line-height:1;}
.product-qty span{display:flex;align-items:center;justify-content:center;background:#fff;border-top:1px solid #d8d8d8;border-bottom:1px solid #d8d8d8;font-size:22px;font-weight:800;color:#333;}
.product-qty.compact{min-width:132px;grid-template-columns:42px minmax(38px,48px) 42px;}
.product-qty.compact button{font-size:24px;}
.product-qty.compact span{font-size:18px;}
.product-foot .product-qty{margin-left:auto;}
.option-row .product-qty{justify-self:end;}

@media (max-width:1100px){
  .product-qty{width:100%;justify-self:stretch;}
  .product-foot .product-qty{margin-left:0;}
  .option-row .product-qty{justify-self:stretch;}
}

@media (max-width:760px){
  .product-qty{grid-template-columns:44px minmax(40px,1fr) 44px;min-width:0;}
  .product-qty span{font-size:20px;}
  .product-qty button{font-size:24px;}
}


/* 2026-05-06 image center + uniform menu touch display */
.image-wrap{
  height:220px;
  aspect-ratio:auto;
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:12px;
  overflow:hidden;
}
.product-img{
  width:100%;
  height:100%;
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  object-position:center center;
  display:block;
}
.product-card{
  min-height:520px;
}
.product-body{
  flex:1;
}
.product-grid{
  align-items:start;
}

@media (max-width:1100px){
  .image-wrap{height:190px;}
  .product-card{min-height:480px;}
}
@media (max-width:760px){
  .image-wrap{height:170px;}
  .product-card{min-height:440px;}
}
@media (max-width:620px){
  .image-wrap{height:145px;}
  .product-card{min-height:390px;}
}


/* Optional portrait warning when force landscape is enabled */
.force-landscape-enabled.portrait-warning::before{
  content:"Veuillez tourner la tablette en mode paysage";
  position:fixed;
  inset:0;
  z-index:9999;
  background:#fff;
  color:#a91612;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:28px;
  font-size:28px;
  font-weight:900;
}
.force-landscape-enabled.portrait-warning::after{
  content:"↻";
  position:fixed;
  z-index:10000;
  top:calc(50% + 48px);
  left:0;
  right:0;
  text-align:center;
  color:#a91612;
  font-size:58px;
  font-weight:900;
}


/* 2026-05-06 Menu Touch style alternate list display */
.product-grid.display-list{display:block;}
.list-layout{display:grid;grid-template-columns:minmax(0,1fr) 230px;gap:0;border:1px solid #ddd;border-radius:6px;overflow:hidden;background:#fff;min-height:calc(100vh - var(--top-h) - 120px);}
.list-rows{display:flex;flex-direction:column;min-width:0;background:#fff;}
.preview-row{display:grid;grid-template-columns:54px minmax(0,1fr) 210px;gap:14px;align-items:start;padding:10px 12px;border-bottom:1px solid #ececec;background:#fff;cursor:pointer;}
.preview-row.active{background:#de4737;color:#fff;}
.preview-row.active .row-title,.preview-row.active .row-desc,.preview-row.active .list-price{color:#fff;}
.row-thumb{width:44px;height:44px;display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:4px;background:#fff;box-shadow:inset 0 0 0 1px #eee;}
.row-thumb-img{max-width:100%;max-height:100%;object-fit:contain;display:block;}
.row-main{min-width:0;}
.row-title{font-size:18px;line-height:1.15;font-weight:700;margin:0 0 4px;word-break:break-word;}
.row-desc{font-size:13px;line-height:1.25;color:#666;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;}
.row-side{display:flex;flex-direction:column;align-items:flex-end;gap:6px;min-width:0;}
.list-option-stack{display:flex;flex-direction:column;gap:6px;width:100%;}
.list-option-line{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:nowrap;}
.list-option-line.single{margin-top:8px;}
.list-chip{display:inline-flex;align-items:center;justify-content:center;padding:2px 8px;border-radius:6px;background:#f4e7e7;color:#7d5f5f;font-size:14px;line-height:1.3;white-space:nowrap;}
.list-price{font-size:15px;font-weight:900;color:#c64235;white-space:nowrap;min-width:max-content;}
.preview-row .add-btn{padding:8px 12px;min-width:82px;font-size:14px;border-radius:4px;}
.preview-row .product-qty.compact{min-width:118px;grid-template-columns:36px 44px 36px;}
.preview-row .product-qty.compact button{font-size:20px;}
.preview-row .product-qty.compact span{font-size:16px;}
.list-preview{border-left:1px solid #ddd;background:#fff;display:flex;align-items:center;justify-content:center;padding:18px;}
.list-preview-box{width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;}
.list-preview-img{width:100%;max-width:180px;max-height:360px;object-fit:contain;display:block;}
.list-preview-title{font-size:18px;font-weight:800;text-align:center;color:#333;display:none;}
.list-preview-desc{font-size:13px;line-height:1.3;color:#666;text-align:center;display:none;}

.menu-touch-tablet-mode .content-area{padding:0 0 70px;background:#fff;}
.menu-touch-tablet-mode .product-grid.display-list .preview-row:last-child{border-bottom:0;}

@media (max-width:1180px){
  .list-layout{grid-template-columns:minmax(0,1fr) 190px;}
  .preview-row{grid-template-columns:46px minmax(0,1fr) 180px;gap:10px;padding:9px 10px;}
  .row-title{font-size:16px;}
}
@media (max-width:900px){
  .product-grid.display-list{display:grid;}
}


/* 2026-05-06 Info page restore */
.info-page{
  max-width:900px;
  margin:28px auto;
  border:1px solid #ddd;
  border-radius:10px;
  background:#fff;
  padding:28px 32px;
  font-size:20px;
  line-height:1.55;
}
.info-page h2{
  margin:0 0 18px;
  color:#9e2424;
  font-size:30px;
}


/* Info page PDF content formatting */
.info-page div{
  white-space:normal;
}
.info-page div br + br{
  display:block;
  content:"";
  margin-top:10px;
}


/* 2026-05-06 label icons on ordering UI */
.label-badges{display:flex;gap:6px;flex-wrap:wrap;align-items:center}
.label-badges.card{position:absolute;top:8px;right:8px;z-index:2;max-width:72px;justify-content:flex-end}
.label-badges.list{margin-left:8px}
.label-badge{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-width:24px;height:24px;padding:0 7px;border-radius:999px;font-size:12px;font-weight:800;line-height:1;color:#fff;box-shadow:0 1px 2px rgba(0,0,0,.15);background:#999}
.label-badge .label-icon{display:inline-flex;align-items:center;justify-content:center}
.label-badge .label-text{font-size:11px;font-weight:800;white-space:nowrap}
.label-badge.home{background:#9a5a2e}
.label-badge.spicy{background:#d73b2f}
.label-badge.chef{background:#e0b300;color:#fff200;text-shadow:0 1px 1px rgba(0,0,0,.45);min-width:24px;padding:0 6px}
.label-badge.beef{background:#1f6eb8}
.label-badge.new{background:#ffcc28;color:#6c4300;font-size:10px;min-width:30px}
.row-title-line{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.preview-row.active .label-badge{box-shadow:0 0 0 1px rgba(255,255,255,.25) inset, 0 1px 2px rgba(0,0,0,.12)}
.product-card .image-wrap{position:relative}
@media (max-width:760px){
  .label-badges.card{top:6px;right:6px;max-width:64px;gap:4px}
  .label-badge{height:22px;min-width:22px;padding:0 6px;font-size:11px}
  .label-badge.new{min-width:28px;font-size:9px}
}


/* 2026-05-06 product modal, swipe gallery, label popovers */
.js-open-modal{cursor:zoom-in}
.row-thumb.js-open-modal,.list-preview-img.js-open-modal{cursor:zoom-in}
.product-modal-host{position:fixed;inset:0;z-index:40;display:none}
.product-modal-host.open{display:block}
.product-modal-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.45);backdrop-filter:blur(2px)}
.product-modal{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:min(960px,94vw);max-height:min(92vh,860px);display:grid;grid-template-columns:minmax(320px,1.1fr) minmax(280px,.9fr);background:#fff;border-radius:26px;overflow:hidden;box-shadow:0 20px 70px rgba(0,0,0,.28)}
.modal-media-wrap{background:#f8f8f8;display:flex;align-items:center;justify-content:center;padding:34px;min-height:430px}
.modal-image{max-width:100%;max-height:62vh;object-fit:contain}
.modal-body{padding:28px 28px 24px;overflow:auto;display:flex;flex-direction:column;gap:14px}
.modal-head-row{display:flex;align-items:flex-start;gap:12px;justify-content:space-between}
.modal-title{margin:0;font-size:34px;line-height:1.08;font-weight:900;color:#222}
.modal-desc{font-size:22px;line-height:1.35;color:#5b5b5b;white-space:pre-wrap}
.modal-buy-row{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:auto;padding-top:10px}
.modal-option-list{display:flex;flex-direction:column;gap:10px}
.modal-option-row{display:grid;grid-template-columns:minmax(64px,1fr) auto auto;gap:10px;align-items:center;padding:10px 0;border-top:1px solid #ececec}
.modal-close,.modal-nav{position:absolute;border:0;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;z-index:2}
.modal-close{right:16px;top:16px;width:52px;height:52px;background:rgba(0,0,0,.25);color:#fff;font-size:36px;line-height:1}
.modal-nav{top:50%;transform:translateY(-50%);width:56px;height:56px;background:rgba(0,0,0,.22);color:#fff;font-size:40px}
.modal-nav.prev{left:14px}.modal-nav.next{right:14px}.modal-nav.disabled{opacity:.25;cursor:default}
.modal-counter{position:absolute;left:18px;top:16px;padding:6px 10px;border-radius:999px;background:rgba(255,255,255,.92);font-size:15px;font-weight:800;color:#444;z-index:2}
.label-popover{position:fixed;z-index:70;max-width:min(320px,calc(100vw - 24px));padding:12px 14px;border-radius:14px;background:rgba(26,26,26,.96);color:#fff;box-shadow:0 14px 30px rgba(0,0,0,.25);display:none;line-height:1.35}
.label-popover.show{display:flex;flex-direction:column;gap:6px}
.label-popover strong{font-size:15px}.label-popover span{font-size:13px;color:#f2f2f2}
.label-badges.modal{justify-content:flex-start;gap:8px;flex-wrap:wrap;max-width:100%}
.label-badges.modal .label-badge{height:auto;min-height:28px;padding:6px 10px;border-radius:999px}
.label-badges.modal .label-text{font-size:12px}
.label-badge{border:0;outline:0;cursor:pointer}
.label-badge:hover{filter:brightness(1.04)}
@media (max-width:920px){
  .product-modal{width:min(96vw,780px);grid-template-columns:1fr}
  .modal-media-wrap{min-height:320px;padding:24px 18px 8px}
  .modal-image{max-height:42vh}
  .modal-body{padding:18px}
  .modal-title{font-size:24px}
  .modal-desc{font-size:16px}
  .modal-buy-row{align-items:flex-end;flex-wrap:wrap}
}
@media (max-width:620px){
  .product-modal{width:100vw;height:100vh;max-height:none;border-radius:0;transform:none;left:0;top:0}
  .modal-close{top:10px;right:10px;width:46px;height:46px}
  .modal-nav{width:48px;height:48px;font-size:34px}
  .modal-counter{top:10px;left:10px}
  .modal-media-wrap{padding:18px 12px 0;min-height:240px}
  .modal-image{max-height:34vh}
  .modal-body{padding:14px 14px 20px}
  .label-badges.modal .label-text{max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
}

/* small admin cleanup carried in same package */


/* 2026-05-06 cart restyle closer to Menu Touch */
.cart-panel-compact{width:min(640px,100vw);background:#fff;display:flex;flex-direction:column}
.cart-head-compact{height:auto;display:grid;grid-template-columns:92px 1fr 58px;gap:8px;align-items:start;padding:8px 10px 6px;border-bottom:1px solid #ece6db;background:#fff;position:sticky;top:0;z-index:3}
.cart-clear-top{border:1px solid #e6dccf;background:#f7f1e6;color:#6f6554;border-radius:999px;padding:6px 10px;font-size:13px;font-weight:800;line-height:1;cursor:pointer;white-space:nowrap;align-self:start;box-shadow:0 1px 0 rgba(255,255,255,.7) inset}
.cart-close-top{width:50px;height:50px;border-radius:50%;font-size:34px;background:transparent;color:#8c8477;display:flex;align-items:center;justify-content:center;border:0;box-shadow:none}
.cart-table-top{min-width:0;display:flex;flex-direction:column;align-items:center;gap:4px;padding-top:2px}
.cart-center-title{font-size:20px;font-weight:500;color:#837968;line-height:1.05;letter-spacing:.01em;text-align:center}
.cart-table-row-top{display:flex;align-items:center;justify-content:center;gap:10px;min-width:0;width:100%}
.cart-table-title{font-size:15px;font-weight:700;color:#8f8678;line-height:1;white-space:nowrap}
.cart-table-input{width:min(170px,100%);border:1px solid #ddd4c8;border-radius:10px;padding:6px 10px;font-size:16px;font-weight:700;text-align:center;color:#5f584f;background:#fff}
.cart-items-compact{padding:0 8px;overflow:auto}
.cart-line.compact{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px;align-items:center;padding:6px 6px;border-bottom:1px solid #f1efe9;min-height:54px;background:#fff}
.cart-line.compact:nth-child(even){background:#fcfbf8}
.cart-line-main{min-width:0;display:flex;flex-direction:column;gap:1px}
.cart-line.compact .cart-line-title{font-size:15px;line-height:1.08;font-weight:500;color:#535353;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cart-line.compact .cart-line-sub{font-size:12px;line-height:1.05;color:#8a8a8a;margin-top:0}
.cart-line.compact .cart-line-price{font-size:14px;font-weight:900;color:#d36e61;white-space:nowrap;background:#f8ebe7;border-radius:6px;padding:4px 7px;min-width:76px;text-align:right}
.cart-line.compact .cart-qty{margin-top:0;display:grid;grid-template-columns:32px 38px 32px;gap:0;align-items:stretch;border-radius:5px;overflow:hidden;box-shadow:0 0 0 1px rgba(214,92,74,.14)}
.cart-line.compact .cart-qty button{width:auto;height:32px;border:0;background:#d85844;color:#fff;font-size:22px;font-weight:900;border-radius:0;line-height:1}
.cart-line.compact .cart-qty span,.cart-line.compact .cart-qty strong{display:flex;align-items:center;justify-content:center;background:#fff;border-top:1px solid #ead8d3;border-bottom:1px solid #ead8d3;font-size:17px;font-weight:800;color:#5d534a}
.cart-total-compact{padding:10px 14px;border-top:1px solid #ece6db;font-size:17px;position:sticky;bottom:0;background:#fff8f5;display:flex;justify-content:space-between;align-items:center;color:#756a5d}
.cart-total-compact strong{font-size:18px;color:#d05f4f}
.cart-empty{padding:28px 12px;margin-top:0;color:#777}
@media (max-width:760px){
  .cart-panel-compact{width:100vw}
  .cart-head-compact{grid-template-columns:72px 1fr 48px;padding:8px 8px 6px;gap:6px}
  .cart-clear-top{padding:6px 8px;font-size:12px}
  .cart-close-top{width:44px;height:44px;font-size:32px}
  .cart-center-title{font-size:18px}
  .cart-table-row-top{gap:6px}
  .cart-table-title{font-size:13px}
  .cart-table-input{width:min(132px,100%);font-size:14px;padding:6px 8px}
  .cart-line.compact{grid-template-columns:minmax(0,1fr) auto auto;gap:6px;min-height:50px;padding:5px 4px}
  .cart-line.compact .cart-line-title{font-size:14px;white-space:nowrap}
  .cart-line.compact .cart-line-sub{font-size:11px}
  .cart-line.compact .cart-line-price{font-size:13px;min-width:67px;padding:3px 6px}
  .cart-line.compact .cart-qty{grid-template-columns:28px 34px 28px}
  .cart-line.compact .cart-qty button{height:28px;font-size:20px}
  .cart-line.compact .cart-qty span{font-size:15px}
  .cart-total-compact{padding:9px 12px;font-size:16px}
  .cart-total-compact strong{font-size:17px}
}


/* Preview-only menu mode */
body.preview-only-mode{background:#e9e9e9;overflow:auto;}
body.preview-only-mode .app-shell{height:auto;min-height:100vh;background:#e9e9e9;}
body.preview-only-mode .topbar{position:sticky;top:0;align-items:flex-start;padding:14px 14px 10px;gap:12px;background:#ececec;border-bottom:1px solid #cfcfcf;min-height:auto;height:auto;z-index:10;}
body.preview-only-mode .brand{display:none;}
body.preview-only-mode .cart-button{display:none!important;}
body.preview-only-mode .lang-switcher{display:flex!important;position:fixed;right:10px;top:108px;bottom:auto;gap:6px;flex-direction:column;z-index:15;}
body.preview-only-mode .lang-switcher button{width:34px;height:34px;border-radius:50%;border:2px solid #c9c9c9;background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.12);font-size:16px;}
body.preview-only-mode .lang-switcher button.active{outline:none;border-color:#c63a22;box-shadow:0 0 0 3px rgba(198,58,34,.18);}
body.preview-only-mode .main-layout{display:block;padding:0;max-width:980px;margin:0 auto;min-height:auto;height:auto;}
body.preview-only-mode .sub-categories{display:none!important;}
body.preview-only-mode .content-area{padding:0 0 28px;background:#efefef;overflow:visible;}
body.preview-only-mode .top-categories{flex-wrap:wrap;gap:10px;justify-content:flex-start;overflow:visible;padding-right:56px;}
body.preview-only-mode .top-tab{min-height:48px;padding:0 18px;border-radius:24px;background:#efefef;color:#444;border:2px solid #cacaca;font-size:18px;font-weight:500;min-width:auto;}
body.preview-only-mode .top-tab.active{background:#c63a22;color:#fff;border-color:#b7351e;font-weight:700;}
body.preview-only-mode .preview-menu-shell{background:#f7f7f7;border-top:1px solid #cfcfcf;padding:0 10px 20px;}
body.preview-only-mode .preview-section{margin:0;background:#f5f5f5;}
body.preview-only-mode .preview-section-title-wrap{display:flex;align-items:center;gap:18px;padding:24px 10px 14px;}
body.preview-only-mode .preview-section-line{height:1px;background:#d3d3d3;flex:1;}
body.preview-only-mode .preview-section-title{margin:0;font-size:34px;line-height:1.15;font-weight:700;color:#666;text-align:center;letter-spacing:.2px;}
body.preview-only-mode .preview-section-items{background:#f7f7f7;border-top:1px solid #dadada;}
body.preview-only-mode .preview-menu-item{display:grid;grid-template-columns:116px minmax(0,1fr);gap:18px;padding:16px 10px 18px;border-top:1px solid #d0d0d0;cursor:pointer;transition:background-color .15s ease;}
body.preview-only-mode .preview-menu-item:hover{background:#fafafa;}
body.preview-only-mode .preview-item-media{display:flex;align-items:flex-start;justify-content:center;}
body.preview-only-mode .preview-item-image{width:112px;height:88px;object-fit:cover;border-radius:8px;background:#ececec;}
body.preview-only-mode .preview-item-head{display:flex;gap:14px;justify-content:space-between;align-items:flex-start;}
body.preview-only-mode .preview-item-title{margin:0;font-size:26px;line-height:1.12;color:#333;font-weight:700;}
body.preview-only-mode .preview-item-desc{margin-top:8px;font-size:22px;line-height:1.18;color:#666;}
body.preview-only-mode .preview-prices{display:flex;flex-direction:column;gap:4px;min-width:196px;align-items:flex-end;}
body.preview-only-mode .preview-price-line{display:flex;gap:6px;align-items:baseline;font-size:24px;color:#333;font-weight:700;white-space:nowrap;}
body.preview-only-mode .preview-price-line.single{justify-content:flex-end;}
body.preview-only-mode .preview-price-size{color:#333;font-weight:500;}
body.preview-only-mode .preview-price-value{white-space:nowrap;}
body.preview-only-mode .preview-labels{display:flex;gap:14px;align-items:center;margin-top:14px;flex-wrap:wrap;}
body.preview-only-mode .preview-label-icon{border:0;background:transparent;font-size:42px;line-height:1;padding:0;color:#e4b100;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;}
body.preview-only-mode .preview-label-icon.new{font-size:20px;color:#cf9800;border:2px solid #d5a100;border-radius:50%;width:38px;height:38px;font-weight:800;}
body.preview-only-mode .preview-label-icon.home,
body.preview-only-mode .preview-label-icon.spicy,
body.preview-only-mode .preview-label-icon.beef{font-size:22px;color:#666;width:auto;height:auto;border:none;}
body.preview-only-mode .product-modal{max-width:920px;}
body.preview-only-mode .modal-body{padding-bottom:26px;}
body.preview-only-mode .modal-head-row{display:block;}
body.preview-only-mode .modal-head-row .label-badges{margin-top:12px;}
body.preview-only-mode .modal-buy-row.preview-readonly,
body.preview-only-mode .modal-option-list.preview-readonly{display:flex;flex-direction:column;gap:10px;align-items:flex-start;}
body.preview-only-mode .modal-option-list.preview-readonly .modal-option-row{display:flex;gap:14px;align-items:baseline;}
body.preview-only-mode .modal-option-list.preview-readonly .option-size,
body.preview-only-mode .modal-option-list.preview-readonly .option-price,
body.preview-only-mode .modal-buy-row.preview-readonly .price{font-size:24px;}
@media (max-width: 900px){
  body.preview-only-mode .topbar{padding:10px 10px 8px;}
  body.preview-only-mode .top-categories{gap:8px;padding-right:44px;}
  body.preview-only-mode .top-tab{font-size:16px;min-height:40px;padding:0 14px;border-width:1px;}
  body.preview-only-mode .lang-switcher{right:6px;top:84px;gap:4px;}
  body.preview-only-mode .lang-switcher button{width:30px;height:30px;font-size:14px;border-width:1px;}
  body.preview-only-mode .preview-menu-shell{padding:0 6px 14px;}
  body.preview-only-mode .preview-section-title-wrap{padding:14px 8px 10px;gap:14px;}
  body.preview-only-mode .preview-section-title{font-size:25px;}
  body.preview-only-mode .preview-menu-item{grid-template-columns:72px minmax(0,1fr);gap:12px;padding:12px 8px 14px;}
  body.preview-only-mode .preview-item-image{width:68px;height:54px;border-radius:6px;}
  body.preview-only-mode .preview-item-title{font-size:18px;}
  body.preview-only-mode .preview-item-desc{font-size:15px;}
  body.preview-only-mode .preview-prices{min-width:112px;}
  body.preview-only-mode .preview-price-line{font-size:16px;gap:4px;}
  body.preview-only-mode .preview-labels{gap:8px;margin-top:8px;}
  body.preview-only-mode .preview-label-icon{font-size:28px;}
  body.preview-only-mode .preview-label-icon.new{font-size:13px;width:28px;height:28px;border-width:1px;}
  body.preview-only-mode .modal-option-list.preview-readonly .option-size,
  body.preview-only-mode .modal-option-list.preview-readonly .option-price,
  body.preview-only-mode .modal-buy-row.preview-readonly .price{font-size:18px;}
}
@media (max-width: 520px){
  body.preview-only-mode .lang-switcher{top:12px;right:10px;flex-direction:column;}
  body.preview-only-mode .top-categories{padding-right:40px;}
}


/* 2026-05-07 Front menu compact tuning closer to Menu Touch */
.product-grid{
  grid-template-columns:repeat(auto-fill,minmax(250px,1fr));
  gap:10px;
}
.product-card{
  min-height:auto !important;
  border-radius:5px;
  border-color:#d9d9d9;
}
.image-wrap{
  height:186px;
  aspect-ratio:auto;
}
.product-img{
  object-fit:contain;
  object-position:center center;
}
.product-body{
  padding:10px 10px 12px;
  gap:6px;
}
.product-title{
  font-size:16px;
  line-height:1.18;
}
.product-desc{
  font-size:13px;
  line-height:1.22;
  -webkit-line-clamp:3;
}
.product-foot{
  gap:8px;
  align-items:center;
}
.price{
  font-size:17px;
}
.product-foot-options{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:8px;
  align-items:end;
  margin-top:auto;
}
.option-summary-inline{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  align-items:center;
}
.option-chip-line{
  display:inline-flex;
  align-items:center;
  gap:4px;
  padding:4px 7px;
  border:1px solid #efdddd;
  border-radius:4px;
  background:#fffafa;
  white-space:nowrap;
  font-size:13px;
  line-height:1.1;
}
.option-chip-size{
  font-weight:700;
  color:#555;
}
.option-chip-price{
  font-weight:900;
  color:#b83328;
}
.product-foot-options .add-btn,
.product-foot .add-btn{
  min-width:90px;
  padding:10px 16px;
  font-size:15px;
  border-radius:5px;
}
.label-badges.card,
.label-badges.list,
.label-badges.modal{
  gap:6px;
}
@media (max-width:1100px){
  .product-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));}
  .image-wrap{height:170px;}
}
@media (max-width:760px){
  .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
  .image-wrap{height:138px;}
  .product-title{font-size:15px;}
  .product-desc{font-size:12px;}
  .option-chip-line{font-size:12px;padding:3px 6px;}
  .product-foot-options .add-btn,
  .product-foot .add-btn{min-width:74px;padding:9px 10px;font-size:14px;}
}
@media (max-width:430px){
  .product-grid{grid-template-columns:1fr;}
}

/* Option picker modal for products with multiple prices */
.option-picker-host{
  position:fixed;
  inset:0;
  display:none;
  z-index:35;
}
.option-picker-host.open{display:block;}
.option-picker-backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.28);
}
.option-picker-dialog{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  width:min(620px,calc(100vw - 32px));
  background:#fff;
  border-radius:16px;
  box-shadow:0 18px 54px rgba(0,0,0,.22);
  padding:18px 22px 18px;
}
.option-picker-title{
  font-size:28px;
  line-height:1.2;
  color:#555;
  margin-bottom:10px;
}
.option-picker-subtitle{
  font-size:15px;
  color:#b54545;
  margin-bottom:10px;
}
.option-picker-list{
  display:flex;
  flex-wrap:wrap;
  gap:14px 20px;
  padding:10px 0 4px;
}
.option-picker-choice{
  display:inline-flex;
  align-items:center;
  gap:10px;
  cursor:pointer;
  min-width:200px;
}
.option-picker-choice input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}
.option-picker-choice-ui{
  width:22px;
  height:22px;
  border-radius:50%;
  border:2px solid #9a9a9a;
  position:relative;
  flex:0 0 22px;
}
.option-picker-choice input:checked + .option-picker-choice-ui::after{
  content:'';
  position:absolute;
  inset:4px;
  border-radius:50%;
  background:#cf3a25;
}
.option-picker-choice-text{
  font-size:17px;
  color:#666;
}
.option-picker-choice-price{
  font-size:17px;
  color:#7a7a7a;
}
.option-picker-actions{
  display:flex;
  justify-content:flex-end;
  gap:12px;
  margin-top:18px;
}
.option-picker-btn{
  border:0;
  background:transparent;
  font-size:20px;
  padding:10px 14px;
  cursor:pointer;
}
.option-picker-btn.secondary{color:#757575;}
.option-picker-btn.primary{color:#cf3a25;font-weight:700;}
.option-picker-btn.disabled,
.option-picker-btn:disabled{opacity:.35;cursor:not-allowed;}
@media (max-width:760px){
  .option-picker-dialog{padding:16px 16px 14px; width:min(560px,calc(100vw - 20px));}
  .option-picker-title{font-size:22px;}
  .option-picker-list{gap:10px 14px;}
  .option-picker-choice{min-width:100%;}
  .option-picker-choice-text,
  .option-picker-choice-price{font-size:16px;}
  .option-picker-btn{font-size:18px;}
}


/* 2026-05-07: extra Menu Touch front-end matching refinement */
.product-grid{
  grid-template-columns:repeat(auto-fill,minmax(225px,1fr)) !important;
  gap:10px !important;
  align-items:stretch;
}
.product-card{
  border:1px solid #d9d9d9 !important;
  border-radius:4px !important;
  box-shadow:none !important;
  min-height:unset !important;
}
.product-card .image-wrap,
.image-wrap{
  height:170px !important;
  aspect-ratio:auto !important;
  background:#fff !important;
  border-bottom:1px solid #ececec !important;
}
.product-img{
  max-width:88% !important;
  max-height:88% !important;
}
.product-body{
  padding:10px 10px 10px !important;
  gap:6px !important;
}
.product-title{
  font-size:15px !important;
  line-height:1.15 !important;
  font-weight:500 !important;
  color:#555 !important;
}
.product-desc{
  font-size:12px !important;
  line-height:1.18 !important;
  color:#777 !important;
  -webkit-line-clamp:2 !important;
}
.price{
  font-size:14px !important;
  color:#c54b43 !important;
  font-weight:800 !important;
}
.product-foot,
.product-foot-options{
  margin-top:auto !important;
  align-items:end !important;
  gap:8px !important;
}
.product-foot-options{
  grid-template-columns:minmax(0,1fr) auto !important;
}
.option-summary-inline{
  gap:4px !important;
  align-items:flex-end !important;
}
.option-chip-line{
  padding:3px 6px !important;
  border-radius:3px !important;
  border:1px solid #eadfdf !important;
  background:#fff !important;
  font-size:11px !important;
}
.option-chip-size{font-weight:500 !important;color:#666 !important;}
.option-chip-price{font-weight:800 !important;color:#c54b43 !important;font-size:12px !important;}
.product-foot .add-btn,
.product-foot-options .add-btn,
.add-btn{
  min-width:84px !important;
  height:34px !important;
  padding:0 14px !important;
  border-radius:4px !important;
  font-size:13px !important;
  font-weight:800 !important;
  letter-spacing:.02em;
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
}
.label-badges.card{
  right:8px !important;
  bottom:8px !important;
  gap:4px !important;
}
.label-badge.card,
.preview-label-icon{
  transform:scale(.92);
}
.qty-badge{
  min-width:28px !important;
  height:28px !important;
  font-size:14px !important;
}

/* Make mobile/tablet grid closer to Menu Touch screenshot */
@media (min-width:800px){
  .product-grid{grid-template-columns:repeat(4,minmax(205px,1fr)) !important;}
}
@media (max-width:799px){
  .product-grid{grid-template-columns:repeat(3,minmax(170px,1fr)) !important;gap:8px !important;}
  .image-wrap{height:140px !important;}
  .product-body{padding:8px 8px 9px !important;}
  .product-title{font-size:14px !important;}
  .product-desc{font-size:11px !important;}
  .product-foot .add-btn,
  .product-foot-options .add-btn,
  .add-btn{min-width:72px !important;height:31px !important;font-size:12px !important;}
}
@media (max-width:620px){
  .product-grid{grid-template-columns:repeat(2,minmax(150px,1fr)) !important;}
}
@media (max-width:420px){
  .product-grid{grid-template-columns:1fr !important;}
}

/* Option picker: lighter Menu Touch style */
.option-picker-backdrop{
  background:rgba(0,0,0,.18) !important;
}
.option-picker-dialog{
  width:min(640px,calc(100vw - 34px)) !important;
  background:#fafafa !important;
  border:1px solid #e8e8e8 !important;
  box-shadow:0 12px 34px rgba(0,0,0,.12) !important;
  border-radius:18px !important;
  padding:18px 22px 14px !important;
}
.option-picker-title{
  font-size:19px !important;
  line-height:1.2 !important;
  color:#7a7a7a !important;
  font-weight:400 !important;
  margin-bottom:10px !important;
}
.option-picker-subtitle{display:none !important;}
.option-picker-required{
  color:#c74a4a;
  font-size:22px;
  line-height:1;
  margin:0 0 14px 2px;
}
.option-picker-list{
  display:flex !important;
  flex-wrap:wrap !important;
  gap:12px 24px !important;
  padding:0 0 8px !important;
}
.option-picker-choice{
  min-width:220px !important;
  gap:8px !important;
}
.option-picker-choice-ui{
  width:20px !important;
  height:20px !important;
  border:2px solid #a8a8a8 !important;
}
.option-picker-choice input:checked + .option-picker-choice-ui::after{
  inset:4px !important;
  background:#cf3a25 !important;
}
.option-picker-choice-text,
.option-picker-choice-price{
  font-size:15px !important;
  color:#8a8a8a !important;
  font-weight:400 !important;
}
.option-picker-actions{
  justify-content:flex-end !important;
  gap:18px !important;
  margin-top:10px !important;
  padding-top:4px !important;
}
.option-picker-btn{
  padding:8px 6px !important;
  border-radius:0 !important;
  background:transparent !important;
  font-size:18px !important;
  font-weight:500 !important;
}
.option-picker-btn.secondary{color:#8a8a8a !important;}
.option-picker-btn.primary{color:#a0a0a0 !important;}
.option-picker-btn.primary:not(:disabled){color:#999 !important;}
.option-picker-btn.disabled,
.option-picker-btn:disabled{opacity:.6 !important;}
@media (max-width:700px){
  .option-picker-dialog{width:min(560px,calc(100vw - 22px)) !important;padding:16px 16px 12px !important;}
  .option-picker-title{font-size:18px !important;}
  .option-picker-choice{min-width:100% !important;}
  .option-picker-choice-text,
  .option-picker-choice-price{font-size:14px !important;}
  .option-picker-btn{font-size:17px !important;}
}


/* 2026-05-07 card micro-tuning: text leading, image height, label position */
.product-card{
  border-color:#dcdcdc !important;
  border-radius:3px !important;
}
.product-card .image-wrap,
.image-wrap{
  height:182px !important;
  padding:6px 8px 2px !important;
  align-items:center !important;
  justify-content:center !important;
}
.product-img{
  max-width:92% !important;
  max-height:92% !important;
  object-fit:contain !important;
}
.product-body{
  padding:8px 10px 10px !important;
  gap:4px !important;
}
.product-title{
  font-size:14px !important;
  line-height:1.04 !important;
  font-weight:500 !important;
  color:#5b5b5b !important;
  letter-spacing:-0.01em !important;
  margin-top:1px !important;
}
.product-desc{
  font-size:11px !important;
  line-height:1.12 !important;
  color:#767676 !important;
  -webkit-line-clamp:2 !important;
  min-height:24px !important;
}
.price,
.option-chip-price,
.option-price{
  color:#ca544b !important;
}
.option-chip-line{
  min-height:24px !important;
  align-items:center !important;
}
.label-badges.card{
  top:auto !important;
  right:8px !important;
  bottom:-7px !important;
  max-width:none !important;
  gap:3px !important;
  z-index:4 !important;
}
.label-badge.card,
.preview-label-icon{
  transform:scale(.82) !important;
  transform-origin:center !important;
}
.product-body .label-badges.card{pointer-events:auto;}
.product-foot,
.product-foot-options{
  gap:6px !important;
  margin-top:4px !important;
}
.product-foot .add-btn,
.product-foot-options .add-btn,
.add-btn{
  min-width:76px !important;
  height:32px !important;
  font-size:12px !important;
  border-radius:3px !important;
}

@media (min-width:800px){
  .product-grid{grid-template-columns:repeat(4,minmax(210px,1fr)) !important; gap:9px !important;}
}
@media (max-width:799px){
  .product-grid{grid-template-columns:repeat(3,minmax(175px,1fr)) !important; gap:7px !important;}
  .product-card .image-wrap,
  .image-wrap{height:150px !important;}
  .product-body{padding:7px 8px 9px !important; gap:4px !important;}
  .product-title{font-size:13px !important; line-height:1.03 !important;}
  .product-desc{font-size:10.5px !important; line-height:1.10 !important; min-height:22px !important;}
  .label-badges.card{right:5px !important; bottom:-8px !important;}
  .label-badge.card,
  .preview-label-icon{transform:scale(.74) !important;}
  .product-foot .add-btn,
  .product-foot-options .add-btn,
  .add-btn{min-width:70px !important; height:30px !important; font-size:11.5px !important;}
}
@media (max-width:620px){
  .product-grid{grid-template-columns:repeat(2,minmax(155px,1fr)) !important;}
  .product-card .image-wrap,
  .image-wrap{height:138px !important;}
}


/* 2026-05-07 Miyazaki logo home button and home screen */
.brand-logo{
  border:0 !important;
  background:transparent !important;
  padding:0 !important;
  margin:0 !important;
  cursor:pointer !important;
  min-width:125px !important;
  width:125px !important;
  height:42px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
}
.brand-logo img{
  max-width:100% !important;
  max-height:38px !important;
  object-fit:contain !important;
  display:block !important;
}
.product-grid.home-logo-page{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-height:calc(100vh - var(--top-h) - 34px) !important;
  padding:0 !important;
}
.home-logo-display{
  width:100% !important;
  min-height:55vh !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  background:#fff !important;
}
.home-logo-display img{
  width:min(620px,76vw) !important;
  max-height:68vh !important;
  object-fit:contain !important;
  display:block !important;
}
@media (max-width:900px){
  .brand-logo{min-width:94px !important;width:94px !important;height:36px !important;}
  .brand-logo img{max-height:30px !important;}
  .home-logo-display img{width:min(560px,78vw) !important;}
}
@media (max-width:620px){
  .brand-logo{display:flex !important;min-width:70px !important;width:70px !important;height:32px !important;}
  .brand-logo img{max-height:24px !important;}
  .product-grid.home-logo-page{min-height:calc(100vh - var(--top-h) - 60px) !important;}
  .home-logo-display img{width:82vw !important;}
}
body.preview-only-mode .brand-logo{
  display:flex !important;
  min-width:74px !important;
  width:74px !important;
  height:34px !important;
}
body.preview-only-mode .brand-logo img{
  max-height:24px !important;
}


/* 2026-05-07 further front card 1:1 Menu Touch matching: card ratio, price position, ADD width */
.product-grid{
  grid-template-columns:repeat(auto-fill,minmax(212px,1fr)) !important;
  gap:8px !important;
  align-items:stretch !important;
}
.product-card{
  border:1px solid #d8d8d8 !important;
  border-radius:3px !important;
  background:#fff !important;
  overflow:hidden !important;
}
.product-card .image-wrap,
.image-wrap{
  height:162px !important;
  padding:5px 6px 1px !important;
  background:#fff !important;
}
.product-img{
  max-width:93% !important;
  max-height:93% !important;
}
.product-body{
  padding:7px 9px 8px !important;
  gap:3px !important;
}
.product-title{
  font-size:13px !important;
  line-height:1.02 !important;
  font-weight:500 !important;
  color:#575757 !important;
  min-height:26px !important;
}
.product-desc{
  font-size:10.5px !important;
  line-height:1.08 !important;
  color:#737373 !important;
  -webkit-line-clamp:2 !important;
  min-height:21px !important;
}
.product-foot,
.product-foot-options{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) auto !important;
  align-items:end !important;
  gap:8px !important;
  margin-top:5px !important;
}
.price{
  font-size:13px !important;
  line-height:1 !important;
  font-weight:800 !important;
  color:#cb5950 !important;
  justify-self:start !important;
  align-self:end !important;
  padding-bottom:3px !important;
  white-space:nowrap !important;
}
.option-summary-inline{
  gap:4px !important;
  align-items:flex-end !important;
}
.option-chip-line{
  min-height:22px !important;
  padding:3px 6px !important;
  font-size:10.5px !important;
  line-height:1 !important;
}
.option-chip-size{
  font-weight:500 !important;
}
.option-chip-price{
  font-size:11px !important;
  font-weight:800 !important;
  color:#cb5950 !important;
}
.product-foot .add-btn,
.product-foot-options .add-btn,
.add-btn{
  min-width:94px !important;
  width:94px !important;
  height:30px !important;
  padding:0 12px !important;
  border-radius:3px !important;
  font-size:12px !important;
  font-weight:800 !important;
  letter-spacing:0 !important;
  justify-self:end !important;
}
.label-badges.card{
  right:7px !important;
  bottom:-6px !important;
  gap:2px !important;
}
.label-badge.card,
.preview-label-icon{
  transform:scale(.78) !important;
}
@media (min-width:1000px){
  .product-grid{grid-template-columns:repeat(4,minmax(198px,1fr)) !important; gap:8px !important;}
}
@media (min-width:800px) and (max-width:999px){
  .product-grid{grid-template-columns:repeat(4,minmax(185px,1fr)) !important; gap:7px !important;}
  .product-card .image-wrap,
  .image-wrap{height:152px !important;}
}
@media (max-width:799px){
  .product-grid{grid-template-columns:repeat(3,minmax(165px,1fr)) !important; gap:7px !important;}
  .product-card .image-wrap,
  .image-wrap{height:142px !important;}
  .product-body{padding:7px 8px 8px !important; gap:3px !important;}
  .product-title{font-size:12.5px !important; min-height:24px !important;}
  .product-desc{font-size:10px !important; min-height:19px !important;}
  .price{font-size:12.5px !important; padding-bottom:2px !important;}
  .product-foot .add-btn,
  .product-foot-options .add-btn,
  .add-btn{min-width:84px !important; width:84px !important; height:28px !important; font-size:11px !important;}
  .label-badges.card{right:5px !important; bottom:-7px !important;}
}
@media (max-width:620px){
  .product-grid{grid-template-columns:repeat(2,minmax(150px,1fr)) !important; gap:7px !important;}
  .product-card .image-wrap,
  .image-wrap{height:132px !important;}
}
@media (max-width:420px){
  .product-grid{grid-template-columns:1fr !important;}
}


/* 2026-05-07 dish text readability: slightly bigger and bolder */
.product-title{
  font-size:15px !important;
  line-height:1.10 !important;
  font-weight:800 !important;
  color:#383838 !important;
}
.product-desc{
  font-size:12px !important;
  line-height:1.16 !important;
  font-weight:600 !important;
  color:#626262 !important;
}
.preview-item-title{
  font-weight:800 !important;
}
.preview-item-desc{
  font-weight:600 !important;
}
@media (max-width:799px){
  .product-title{font-size:14px !important; line-height:1.08 !important; font-weight:800 !important;}
  .product-desc{font-size:11.5px !important; line-height:1.14 !important; font-weight:600 !important;}
}
@media (max-width:620px){
  .product-title{font-size:14.5px !important;}
  .product-desc{font-size:11.5px !important;}
}

/* 2026-05-07 FINAL POS COMPACT — Menu Touch density pass */
html,body{font-family:Arial,Helvetica,sans-serif !important;}
.topbar{height:58px !important;padding:6px 8px !important;gap:6px !important;border-bottom:1px solid #ddd !important;}
.top-tab{border-radius:3px !important;padding:9px 18px !important;font-size:17px !important;font-weight:700 !important;min-width:auto !important;background:#f8f8f8 !important;box-shadow:inset 0 1px 0 rgba(255,255,255,.7) !important;}
.top-tab.active{background:#d82418 !important;color:#fff !important;border-color:#b91510 !important;}
.cart-button{border-radius:3px !important;min-width:58px !important;padding:8px 12px !important;background:#fff !important;color:#d82418 !important;border:1px solid #d82418 !important;font-size:16px !important;}
.main-layout{height:calc(100vh - 58px) !important;grid-template-columns:150px 1fr !important;}
.sub-categories{background:#fff !important;border-right:1px solid #ddd !important;}
.sub-item{padding:10px 11px !important;font-size:14px !important;line-height:1.08 !important;font-weight:800 !important;color:#7f2525 !important;}
.sub-item.active{padding-left:8px !important;border-left:5px solid #d82418 !important;background:#f2dddd !important;}
.content-area{padding:8px 8px 80px !important;background:#fff !important;}
.product-grid{grid-template-columns:repeat(auto-fill,minmax(182px,1fr)) !important;gap:7px !important;align-items:stretch !important;}
.product-card{min-height:0 !important;border:1px solid #d7d7d7 !important;border-radius:2px !important;box-shadow:none !important;overflow:hidden !important;background:#fff !important;}
.product-card .image-wrap,.image-wrap{height:132px !important;padding:3px !important;border-bottom:1px solid #eee !important;background:#fff !important;}
.product-img{max-width:96% !important;max-height:96% !important;object-fit:contain !important;}
.product-body{padding:6px 7px 7px !important;gap:3px !important;}
.product-title{font-family:Arial,Helvetica,sans-serif !important;font-size:15px !important;line-height:1 !important;letter-spacing:-.25px !important;font-weight:800 !important;min-height:30px !important;color:#333 !important;}
.product-desc{font-size:11px !important;line-height:1.08 !important;font-weight:600 !important;min-height:22px !important;color:#666 !important;-webkit-line-clamp:2 !important;}
.product-foot,.product-foot-options{grid-template-columns:minmax(0,1fr) auto !important;gap:5px !important;margin-top:3px !important;align-items:end !important;}
.price{font-size:13px !important;font-weight:900 !important;color:#d05a4e !important;padding-bottom:2px !important;}
.add-btn,.product-foot .add-btn,.product-foot-options .add-btn{border-radius:2px !important;width:76px !important;min-width:76px !important;height:28px !important;padding:0 6px !important;font-size:11px !important;background:#d82418 !important;box-shadow:none !important;}
.product-qty,.product-qty.compact{border-radius:2px !important;min-width:112px !important;grid-template-columns:34px 42px 34px !important;}
.product-qty button,.product-qty.compact button{border-radius:0 !important;height:28px !important;background:#d82418 !important;font-size:20px !important;}
.product-qty span,.product-qty.compact span{height:28px !important;font-size:15px !important;border-color:#e5d2cd !important;}
.option-chip-line{border-radius:2px !important;font-size:10px !important;min-height:19px !important;padding:2px 5px !important;}
.option-chip-price{font-size:10.5px !important;color:#d05a4e !important;}
.label-badges.card{right:5px !important;bottom:-7px !important;gap:1px !important;}
.label-badge.card,.preview-label-icon{transform:scale(.72) !important;}
.home-logo-display{position:relative !important;flex-direction:column !important;gap:26px !important;min-height:68vh !important;}
.home-logo-display img{width:min(620px,74vw) !important;}
.touch-to-start{font-family:Arial,Helvetica,sans-serif !important;font-size:22px !important;font-weight:900 !important;letter-spacing:3px !important;color:#b91610 !important;opacity:.86 !important;animation:miyazakiPulse 1.4s ease-in-out infinite !important;}
@keyframes miyazakiPulse{0%,100%{opacity:.42;transform:scale(.985)}50%{opacity:1;transform:scale(1)}}
.cart-panel-compact{width:min(460px,100vw) !important;}
.cart-head-compact{height:50px !important;padding:0 10px !important;border-bottom:1px solid #ddd !important;}
.cart-clear-top{font-size:13px !important;height:30px !important;border-radius:3px !important;}
.cart-table-top{gap:1px !important;}
.cart-center-title{font-size:16px !important;font-weight:800 !important;}
.cart-table-title{font-size:12px !important;color:#666 !important;}
.cart-table-input{height:26px !important;font-size:13px !important;border-radius:2px !important;}
.cart-items-compact{padding:4px 6px !important;}
.cart-line.compact{padding:5px 4px !important;min-height:47px !important;grid-template-columns:minmax(0,1fr) auto auto !important;gap:5px !important;}
.cart-line.compact .cart-line-title{font-size:14px !important;line-height:1.02 !important;color:#4a4a4a !important;font-weight:600 !important;}
.cart-line.compact .cart-line-price{font-size:13px !important;min-width:66px !important;border-radius:2px !important;color:#d05a4e !important;background:#fff3f0 !important;}
.cart-line.compact .cart-qty{grid-template-columns:28px 32px 28px !important;border-radius:2px !important;}
.cart-line.compact .cart-qty button{height:28px !important;border-radius:0 !important;background:#d82418 !important;}
.cart-line.compact .cart-qty span{height:28px !important;font-size:14px !important;}
.cart-total-compact{padding:8px 10px !important;font-size:16px !important;background:#fff5f3 !important;border-top:2px solid #d82418 !important;}
.primary,.secondary{border-radius:2px !important;}
/* POS list mode: table-like ordering display */
.product-grid.display-list{gap:0 !important;background:#fff !important;border:1px solid #ddd !important;}
.list-layout{display:grid !important;grid-template-columns:minmax(260px,38%) 1fr !important;gap:8px !important;}
.list-preview{background:#fff !important;border-right:1px solid #ddd !important;padding:8px !important;}
.list-preview-img{max-width:100% !important;max-height:46vh !important;object-fit:contain !important;display:block !important;margin:auto !important;}
.list-preview-title{font-size:20px !important;font-weight:900 !important;color:#333 !important;line-height:1.05 !important;margin-top:8px !important;}
.list-preview-desc{font-size:14px !important;color:#666 !important;line-height:1.18 !important;margin-top:5px !important;}
.preview-row{display:grid !important;grid-template-columns:minmax(0,1fr) auto auto !important;align-items:center !important;min-height:45px !important;padding:4px 6px !important;border-bottom:1px solid #eee !important;background:#fff !important;}
.preview-row:nth-child(even){background:#f6f6f6 !important;}
.preview-row.active{background:#fff1ee !important;}
.preview-row-title{font-size:16px !important;line-height:1.03 !important;font-weight:700 !important;color:#4e4e4e !important;}
.preview-row-price{font-size:14px !important;font-weight:900 !important;color:#d05a4e !important;margin:0 8px !important;white-space:nowrap !important;}
.preview-row .product-qty{min-width:112px !important;}
@media (min-width:1200px){.product-grid{grid-template-columns:repeat(5,minmax(176px,1fr)) !important;}.product-card .image-wrap,.image-wrap{height:124px !important;}}
@media (max-width:1100px){.main-layout{grid-template-columns:135px 1fr !important;}.product-grid{grid-template-columns:repeat(auto-fill,minmax(168px,1fr)) !important;}.product-card .image-wrap,.image-wrap{height:118px !important;}.product-title{font-size:14px !important;min-height:28px !important;}.product-desc{font-size:10.5px !important;}}
@media (max-width:760px){.main-layout{grid-template-columns:1fr !important;height:auto !important;}.sub-categories{display:flex !important;overflow-x:auto !important;border-right:0 !important;border-bottom:1px solid #ddd !important;}.sub-item{white-space:nowrap !important;padding:9px 11px !important;}.sub-item.active{border-left:0 !important;border-bottom:4px solid #d82418 !important;padding-left:11px !important;}.product-grid{grid-template-columns:repeat(3,minmax(120px,1fr)) !important;gap:6px !important;}.product-card .image-wrap,.image-wrap{height:104px !important;}.product-title{font-size:12.5px !important;min-height:26px !important;}.product-desc{display:none !important;}.add-btn,.product-foot .add-btn,.product-foot-options .add-btn{width:62px !important;min-width:62px !important;height:26px !important;font-size:10px !important;}.price{font-size:12px !important;}.list-layout{display:block !important;}.list-preview{display:none !important;}}
@media (max-width:520px){.product-grid{grid-template-columns:repeat(2,minmax(145px,1fr)) !important;}.product-card .image-wrap,.image-wrap{height:118px !important;}.top-tab{font-size:15px !important;padding:8px 13px !important;}.touch-to-start{font-size:16px !important;letter-spacing:2px !important;}.home-logo-display img{width:86vw !important;}}
@media (max-width:360px){.product-grid{grid-template-columns:1fr !important;}}

/* 2026-05-07 list mode class alignment */
.product-grid.display-list .list-layout{display:grid !important;grid-template-columns:1fr minmax(260px,36%) !important;gap:8px !important;width:100% !important;}
.product-grid.display-list .list-rows{border:1px solid #ddd !important;background:#fff !important;}
.product-grid.display-list .preview-row{display:grid !important;grid-template-columns:54px minmax(0,1fr) auto !important;align-items:center !important;gap:6px !important;min-height:54px !important;padding:4px 6px !important;border-bottom:1px solid #e5e5e5 !important;}
.product-grid.display-list .row-thumb{width:50px !important;height:44px !important;display:flex !important;align-items:center !important;justify-content:center !important;background:#fff !important;overflow:hidden !important;}
.product-grid.display-list .row-thumb-img{max-width:100% !important;max-height:100% !important;object-fit:contain !important;}
.product-grid.display-list .row-title{margin:0 !important;font-size:16px !important;line-height:1.04 !important;font-weight:700 !important;color:#4a4a4a !important;}
.product-grid.display-list .row-desc{font-size:11px !important;line-height:1.05 !important;color:#777 !important;white-space:nowrap !important;overflow:hidden !important;text-overflow:ellipsis !important;max-width:100% !important;}
.product-grid.display-list .row-side{display:flex !important;justify-content:flex-end !important;align-items:center !important;}
.product-grid.display-list .list-option-stack{display:flex !important;flex-direction:column !important;gap:3px !important;}
.product-grid.display-list .list-option-line{display:grid !important;grid-template-columns:auto auto auto !important;align-items:center !important;gap:5px !important;justify-content:end !important;}
.product-grid.display-list .list-chip{font-size:11px !important;background:#f5f5f5 !important;border:1px solid #e1e1e1 !important;border-radius:2px !important;padding:3px 5px !important;color:#555 !important;}
.product-grid.display-list .list-price{font-size:13px !important;font-weight:900 !important;color:#d05a4e !important;white-space:nowrap !important;background:#fff3f0 !important;border-radius:2px !important;padding:3px 6px !important;}
.product-grid.display-list .list-preview{border:1px solid #ddd !important;border-right:1px solid #ddd !important;min-height:50vh !important;}
@media(max-width:760px){.product-grid.display-list .list-layout{display:block !important}.product-grid.display-list .list-preview{display:none !important}.product-grid.display-list .preview-row{grid-template-columns:46px minmax(0,1fr) auto !important;min-height:50px !important}.product-grid.display-list .row-thumb{width:42px !important;height:38px !important}.product-grid.display-list .row-title{font-size:14px !important}.product-grid.display-list .row-desc{display:none !important}.product-grid.display-list .list-chip{display:none !important}}
