/* Customer experience v3: compact mobile shopping layout. Staff styles remain in app.css. */
body.section-customer{--ink:#202927;--muted:#68746f;--line:#e4eae5;--green:#17624e;--dark:#183d34;--soft:#edf6ef;--bg:#fff;--r:13px;background:#fff;color:var(--ink)}
.section-customer h1,.section-customer h2,.section-customer h3{letter-spacing:-.035em}.section-customer h1{font-size:clamp(1.55rem,3vw,2.5rem)}.section-customer h2{font-size:1.15rem}.section-customer p{line-height:1.55}.section-customer .btn{border-radius:10px;box-shadow:none}.section-customer .btn-primary{background:#17624e}.section-customer .btn-soft{background:#f5f8f5;border:1px solid var(--line);color:var(--green)}
.section-customer .topbar{height:76px;padding:0 max(24px,calc((100vw - 1180px)/2));border-color:var(--line);background:#fff;backdrop-filter:none}.section-customer .brand strong{font-size:1.28rem;letter-spacing:.05em;font-weight:900}.section-customer .brand small{font-size:.66rem;letter-spacing:0;font-weight:500}.section-customer .nav-desktop{gap:5px}.section-customer .account-button{display:flex;align-items:center;gap:7px;color:var(--green);font-size:.85rem;font-weight:750}.section-customer .account-initial{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--soft);color:var(--green)}.section-customer .desktop-logout{margin-left:10px;color:var(--muted);font-size:.82rem}.section-customer .top-actions{align-items:center}
.customer-container{max-width:1180px;margin:0 auto;padding:26px 24px 90px}.section-customer .section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:29px 0 12px}.section-customer .section-heading h1,.section-customer .section-heading h2{margin:0}.section-customer .section-heading h1{font-size:1.32rem}.section-customer .section-heading h2{font-size:1.15rem}.section-customer .section-heading a{color:var(--green);font-size:.82rem;font-weight:750;white-space:nowrap}.customer-search{height:48px;display:flex;align-items:center;gap:10px;background:#f7f9f7;border:1px solid var(--line);padding:0 13px;border-radius:10px;color:#7b8580}.customer-search input{border:0;background:none;outline:none;box-shadow:none;width:100%;min-height:42px;font-size:.87rem;padding:0;color:var(--ink)}.customer-search input:focus{box-shadow:none}.customer-search button{border:0;background:none;color:var(--green);font-weight:750;font-size:.82rem}
.customer-categories{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.category-card{position:relative;overflow:hidden;display:flex;flex-direction:column;align-items:start;min-height:155px;padding:17px;border-radius:13px;border:1px solid var(--line);background:#f3f8f5}.category-card.category-restaurant{background:#faf7f0}.category-card b{position:relative;z-index:1;font-size:1.12rem}.category-card>span:not(.category-art){position:relative;z-index:1;max-width:125px;color:var(--muted);font-size:.77rem;margin-top:3px;line-height:1.3}.category-art{position:absolute;right:12px;bottom:12px}.billiard-art{width:93px;height:54px;border:6px solid #a98b77;border-radius:9px;background:#245e51;transform:rotate(-2deg)}.billiard-art i{position:absolute;width:14px;height:14px;border-radius:50%;background:#f3cf70;top:16px;left:15px}.billiard-art i:nth-child(2){background:#bf6847;left:38px;top:23px}.billiard-art i:nth-child(3){background:#f3e6c9;left:56px;top:10px}.restaurant-art{width:93px;height:47px;border:8px solid #e2dac9;border-radius:50%;background:#fff}.restaurant-art:before,.restaurant-art:after{content:"";position:absolute;top:-8px;width:4px;height:48px;border-radius:4px;background:#799878}.restaurant-art:before{left:-16px}.restaurant-art:after{right:-17px}.restaurant-art i{display:block;width:45px;height:16px;border-top:4px solid #a57948;border-radius:50%;margin:10px auto}
.customer-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product-row{display:flex;align-items:center;gap:12px;min-width:0;padding:11px;border:1px solid var(--line);border-radius:12px;background:#fff}.product-row>.product-thumb{flex:none;display:grid;place-items:center;width:58px;height:58px;border-radius:10px;background:#f1f6f1;color:#183d34}.product-thumb.menu{background:#faf2e9}.product-thumb.menu .dish-illustration{width:33px;height:23px;border:3px solid #c7b69c;border-radius:50%;font-size:24px;line-height:10px;text-align:center;color:#a97b45}.product-row .product-info{display:grid;gap:3px;min-width:0;flex:1}.product-info b{font-size:.86rem;overflow-wrap:anywhere}.product-info small{color:var(--muted);font-size:.72rem}.product-info strong{font-size:.84rem}.product-row>span:last-child{font-size:1.4rem;color:#8d9791}.home-callout{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:20px;padding:13px 16px;border-radius:10px;background:#f9f4ec;font-size:.78rem}.home-callout b{font-size:.86rem}.home-callout span{color:#625d54}
.customer-page-title{margin-bottom:20px}.customer-page-title .back-link{margin-bottom:14px}.customer-page-title h1{margin:8px 0 7px}.customer-page-title p{margin:0;color:var(--muted);font-size:.9rem}.section-customer .booking-page{max-width:1180px}.section-customer .booking-tabs{display:flex;gap:5px;width:max-content;margin:0 0 20px;background:#f4f7f4;padding:4px;border-radius:10px}.section-customer .booking-tabs a{min-width:105px;padding:9px 18px;border-radius:8px;font-size:.82rem}.section-customer .booking-tabs a.active{box-shadow:none;background:var(--green);color:#fff}.section-customer .booking-layout{grid-template-columns:minmax(0,1fr) 355px;gap:18px}.section-customer .booking-content{gap:13px}.section-customer .panel{padding:20px;border-radius:12px;box-shadow:none;background:#fff}.section-customer .panel-heading{margin-bottom:17px}.section-customer .panel-heading h2{margin:2px 0 3px}.section-customer .panel-heading p{font-size:.78rem;margin:0}.section-customer .number{border-radius:50%;width:30px;height:30px;font-size:.78rem}.section-customer label{font-size:.77rem;gap:6px}.section-customer input,.section-customer select,.section-customer textarea{border-radius:9px;border-color:#cedbd1;min-height:46px}.section-customer .field-grid{gap:11px}.section-customer .table-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.section-customer .table-option{min-height:110px;border-radius:10px;padding:12px;gap:2px}.section-customer .table-option.selected{padding:11px;box-shadow:none;background:#f8fcf9}.section-customer .table-option .table-visual{height:15px;border-width:3px;border-radius:4px;margin-bottom:6px}.section-customer .table-option b{font-size:.9rem}.section-customer .table-option strong{font-size:.8rem}.section-customer .table-option .badge{font-size:.68rem}.section-customer .menu-grid{display:grid;grid-template-columns:1fr;gap:8px}.section-customer .menu-item{display:flex;align-items:center;gap:12px;border-radius:10px;padding:9px}.section-customer .menu-item>div{display:grid;gap:3px;min-width:0;flex:1}.section-customer .menu-item b{font-size:.87rem}.section-customer .menu-item strong{font-size:.83rem;color:var(--ink)}.section-customer .menu-mark{flex:none;display:grid;place-items:center;width:48px;height:48px;background:#fbf2ea;color:#a2763f;border-radius:9px;font-size:2rem;line-height:1}.section-customer .menu-tag{font-size:.65rem;color:var(--muted)}.section-customer .qty{display:flex;flex-direction:column;align-items:center;gap:3px;margin:0;font-size:.68rem}.section-customer .qty input{width:52px;min-height:36px;padding:4px;text-align:center}.section-customer .summary{top:94px}.section-customer .summary>h2{margin:8px 0 18px}.section-customer .summary-row{font-size:.82rem}.section-customer .summary-row.total b{font-size:1.45rem}.section-customer #booking-summary .hint{line-height:1.5}.section-customer .booking-dock{display:none}.section-customer [hidden]{display:none!important}
.reservation-page{max-width:1050px}.reservation-page .booking-layout{grid-template-columns:minmax(0,1fr) 300px}.status-banner{display:flex;align-items:flex-start;gap:12px;border-radius:10px;padding:15px;background:#f2f5f2;color:#3d5547;font-size:.86rem}.status-banner.is-pending{background:#fff7e9;color:#775619}.status-banner.is-success{background:#eaf5ee;color:#226044}.status-banner svg{flex:none}.status-banner b{display:block;margin-bottom:3px}.status-banner span{display:block;line-height:1.45}.transfer-card .muted{font-size:.79rem;margin:0}.transfer-amount{font-size:clamp(2rem,6vw,3rem);font-weight:800;letter-spacing:-.04em;margin:0 0 12px}.copy-btn{font-size:.8rem;min-height:36px;padding:6px 10px}.copy-btn svg{width:17px;height:17px}.payment-deadline{font-size:.8rem;margin:14px 0}.bank-card{display:grid;gap:5px;padding:15px;border:1px solid var(--line);border-radius:10px;margin-bottom:15px}.bank-card b{font-size:.86rem}.bank-card strong{font-size:1.25rem;letter-spacing:.04em}.bank-card span{color:var(--muted);font-size:.8rem}.bank-card button{justify-self:start;margin-top:5px}.report-form{margin-top:18px}.journey-card{align-self:start}.journey-step{border-left:2px solid var(--line);padding:0 0 22px 18px;position:relative;font-size:.8rem}.journey-step:before{content:"";position:absolute;left:-7px;top:0;width:11px;height:11px;border-radius:50%;background:#d4dcd6}.journey-step.done:before{background:var(--green)}.journey-step b{display:block}.journey-step small{display:block;color:var(--muted);font-size:.73rem;margin-top:4px}.journey-card>.btn{width:100%}.reservation-list{max-width:800px}.reservation-item{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:15px;border:1px solid var(--line);border-radius:11px}.reservation-item>div{display:grid;justify-items:start;gap:6px}.reservation-item small{color:var(--muted)}.reservation-item strong{white-space:nowrap;font-size:.85rem}.reservation-item b{font-size:.95rem}
.customer-auth{display:grid;place-items:start center;padding:45px 16px 110px;min-height:70vh}.customer-auth .auth-card{width:min(450px,100%);padding:28px;border-radius:14px;box-shadow:none}.auth-wordmark{display:block;font-size:1.4rem;font-weight:900;letter-spacing:.07em;color:var(--green);margin-bottom:25px}.customer-auth .auth-card h1{margin:8px 0}.customer-auth .auth-card>p.muted{margin-bottom:22px;font-size:.88rem}.customer-auth .stack{gap:14px}.customer-auth .stack .btn{width:100%;margin-top:7px}.auth-link{justify-self:end;color:var(--green);font-size:.82rem;font-weight:750}.auth-switch{text-align:center;color:var(--muted);margin:25px 0 0;font-size:.82rem}.auth-switch a{color:var(--green);font-weight:750}.auth-resend{margin-top:16px;text-align:center}.settings-panel{max-width:850px}.settings-panel hr{height:1px;border:0;background:var(--line);width:100%;margin:10px 0}.cashier-verify{display:grid!important;align-items:start!important;gap:8px;min-width:210px}.cashier-verify .check{font-size:.72rem;color:var(--green)}.cashier-verify .check input{width:16px;height:16px;accent-color:var(--green)}
@media(max-width:800px){.section-customer .booking-layout,.reservation-page .booking-layout{grid-template-columns:1fr}.section-customer .summary{position:static}.journey-card{order:2}.customer-list{grid-template-columns:1fr}}
@media(max-width:600px){body.section-customer{padding-bottom:calc(69px + env(safe-area-inset-bottom))}.section-customer .topbar{height:64px;padding:0 20px}.section-customer .brand strong{font-size:1.3rem}.section-customer .brand small{font-size:.64rem;display:block}.section-customer .top-actions{margin-left:auto}.section-customer .account-button{width:38px;height:38px;justify-content:center;border-radius:50%;background:var(--soft)}.section-customer .account-name,.section-customer .desktop-logout{display:none}.customer-container{padding:18px 20px 106px}.customer-home{padding-top:16px}.section-customer .section-heading{margin:23px 0 12px}.section-customer .section-heading h1{font-size:1.14rem}.section-customer .section-heading h2{font-size:1.09rem}.section-customer .section-heading a{font-size:.76rem}.customer-categories{gap:10px}.category-card{min-height:130px;padding:13px}.category-card b{font-size:1.02rem}.category-art{transform:scale(.83);transform-origin:bottom right;bottom:7px;right:8px}.billiard-art{transform:rotate(-2deg) scale(.83)}.home-callout{font-size:.72rem;flex-direction:column;align-items:start;gap:3px}.section-customer .mobile-nav{grid-template-columns:repeat(4,1fr);padding:5px 5px max(7px,env(safe-area-inset-bottom));box-shadow:none}.section-customer .mobile-nav a{min-height:56px;font-size:.68rem;border-radius:0}.section-customer .mobile-nav a.active{background:none;color:var(--green)}.section-customer .mobile-icon{height:23px}.section-customer .mobile-icon svg{width:21px;height:21px}.section-customer .booking-page{padding-bottom:170px}.section-customer .booking-tabs{width:100%;display:grid;grid-template-columns:1fr 1fr}.section-customer .booking-tabs a{min-width:0}.section-customer .panel{padding:17px}.section-customer .field-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.section-customer .field-grid .full{grid-column:1/-1}.section-customer .table-option{min-height:122px}.section-customer .table-option .muted{font-size:.68rem}.section-customer .booking-dock{display:flex;bottom:calc(72px + env(safe-area-inset-bottom));left:0;right:0;padding:11px 20px;gap:10px;border:0;border-top:1px solid var(--line);border-radius:0;background:#fff;color:var(--ink);box-shadow:0 -4px 12px #142c170b}.section-customer .booking-dock small{color:var(--muted);font-size:.7rem}.section-customer .booking-dock b{font-size:1.16rem}.section-customer .booking-dock strong{border-radius:9px;background:var(--green);color:#fff;font-size:.78rem;padding:11px 12px}.section-customer .auth-wrap{padding-bottom:110px}.customer-auth{padding:18px 15px 105px}.customer-auth .auth-card{border:0;padding:12px 5px}.section-customer:has(.customer-auth) .topbar{display:none}.reservation-page .customer-page-title{margin-top:6px}.transfer-amount{font-size:2.35rem}.reservation-item strong{font-size:.8rem}.section-customer .data-table td:before{content:attr(data-label)} }
@media(max-width:350px){.category-card>span:not(.category-art){max-width:95px}.section-customer .field-grid{grid-template-columns:1fr}.section-customer .field-grid .full{grid-column:auto}.reservation-item{flex-wrap:wrap}}
.section-customer .account-page{max-width:1050px}.section-customer .account-grid{grid-template-columns:260px minmax(0,1fr)}.section-customer .account-grid .panel{box-shadow:none}.section-customer .profile-card{text-align:left}.section-customer .avatar-big{margin:0 0 15px;width:56px;height:56px;border-radius:50%;font-size:1.35rem}.section-customer .profile-card h2{margin:0 0 12px}.section-customer .profile-card h3{font-size:1.2rem}.section-customer .profile-card p{font-size:.82rem}.section-customer .account-grid .data-table th,.section-customer .account-grid .data-table td{font-size:.76rem}.section-customer input[readonly]{background:#f6f8f6;color:var(--muted)}
@media(max-width:800px){.section-customer .account-grid{grid-template-columns:1fr}}
.section-customer .customer-page-title .back-link{display:block;width:max-content}.section-customer .field-grid>*{min-width:0}.section-customer .field-grid input,.section-customer .field-grid select{min-width:0;max-width:100%}
.payment-dock{display:none}
@media(max-width:600px){.reservation-page:has(.payment-dock){padding-bottom:170px}.payment-dock{display:flex;align-items:center;justify-content:space-between;position:fixed;z-index:45;bottom:calc(72px + env(safe-area-inset-bottom));left:0;right:0;padding:10px 20px;background:#fff;border-top:1px solid var(--line);gap:8px}.payment-dock small{display:block;font-size:.68rem;color:var(--muted)}.payment-dock b{font-size:1.1rem}.payment-dock .btn{font-size:.78rem;padding:9px;white-space:nowrap}}
.reservation-page .bank-card strong{overflow-wrap:anywhere}.reservation-page .summary-row b{max-width:57%;text-align:right;overflow-wrap:anywhere}
@media(max-width:350px){.payment-dock span{min-width:0}.payment-dock b{font-size:.91rem;white-space:nowrap}.payment-dock .btn{flex:none;font-size:.72rem;padding:9px 8px}}

/* PNG artwork: real-size transparent cutouts and one consistent icon set. */
.section-customer .ui-icon{display:block;flex:none;width:22px;height:22px;object-fit:contain}
.section-customer .customer-search .ui-icon{width:20px;height:20px}
.section-customer .mobile-nav .ui-icon{width:23px;height:23px;opacity:.63}
.section-customer .mobile-nav a.active .ui-icon{opacity:1}
.section-customer .copy-btn .ui-icon{width:17px;height:17px}
.section-customer .status-banner .ui-icon{width:23px;height:23px}
.category-card .category-image{position:absolute;right:0;bottom:0;width:82%;height:61%;object-fit:contain;object-position:right bottom;pointer-events:none}
.category-card.category-restaurant .category-image{right:0;bottom:0;width:75%;height:61%}
.section-customer .category-card b,.section-customer .category-card>span:not(.category-art){position:relative;z-index:1}
.section-customer .product-row>.product-thumb{width:76px;height:76px;overflow:hidden}
.section-customer .product-thumb img{display:block;width:100%;height:100%;padding:4px;object-fit:contain}
.section-customer .product-thumb.menu .ui-icon{width:34px;height:34px;padding:0}
.section-customer .menu-mark .ui-icon{width:27px;height:27px}
.section-customer .table-option{min-height:204px}
.section-customer .table-option .table-photo-wrap{display:grid;place-items:center;width:100%;height:92px;overflow:hidden;margin:0 0 8px;border-radius:8px;background:#f0f6f1}
.section-customer .table-option.restaurant .table-photo-wrap{background:#faf4eb}
.section-customer .table-option .table-photo{display:block;max-width:100%;max-height:90px;width:100%;height:100%;padding:5px;object-fit:contain}
.section-customer .illustration-note{margin:10px 0 0;color:var(--muted);font-size:.71rem;line-height:1.45}
@media(max-width:600px){.section-customer .category-card{min-height:152px}.section-customer .table-option{min-height:200px}}
@media(max-width:350px){.section-customer .product-row>.product-thumb{width:66px;height:66px}.section-customer .table-option .table-photo-wrap{height:74px}.section-customer .table-option .table-photo{max-height:72px}.section-customer .table-option{min-height:190px}}
