/* Shared customer primitives, extracted from the group-order reference. */
:root{font-family:var(--ow-customer-font);color:var(--ow-ink);background:var(--ow-paper);font-size:var(--ow-customer-font-size);line-height:1.5;color-scheme:light}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit;color:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;min-height:46px;padding:10px 16px;border:1px solid var(--ow-line);border-radius:10px;background:#fff;font-weight:600;touch-action:manipulation}button:hover:not(:disabled){background:#eef3e9;border-color:#81998b}button:disabled{cursor:default;opacity:.55}a{color:var(--ow-primary)}:focus-visible{outline:3px solid #8b6616;outline-offset:3px}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(1.7rem,4vw,2.4rem);line-height:1.18;letter-spacing:-.035em;margin-bottom:12px}h2{font-size:1.15rem;margin-bottom:18px}h3{font-size:1.15rem;line-height:1.3}p{margin-bottom:16px}input,select{width:100%;min-height:var(--ow-customer-control-height);padding:10px 12px;border:1px solid #718578;border-radius:8px;background:white}label{display:block;font-weight:600;margin-bottom:7px}fieldset{border:0;padding:0;margin:20px 0}legend{font-weight:650;margin-bottom:12px}small,.ow-muted{color:var(--ow-muted);font-size:.875rem}.ow-header{display:flex;align-items:center;gap:22px;padding:16px max(24px,calc((100vw - 1280px)/2));border-bottom:1px solid var(--ow-line);background:#fff;min-height:80px}.ow-brand{font-weight:800;letter-spacing:-.05em;font-size:1.6rem;text-decoration:none;display:flex;gap:9px;align-items:center}.ow-brand span{width:30px;height:32px;border-radius:8px;background:var(--ow-primary);color:var(--ow-gold);display:grid;place-items:center;line-height:1;font-size:1.6rem}.ow-divider{border-left:1px solid var(--ow-line);padding-left:22px;font-size:.9rem}.ow-tag{margin-left:auto;border-radius:50px;background:#f5e8b9;padding:5px 12px;font-size:.875rem;font-weight:650}.ow-main{max-width:1280px;margin:0 auto;padding:36px 24px 48px;min-height:calc(100vh - 142px)}.ow-main:focus{outline:none}.ow-intro{margin-bottom:28px}.ow-eyebrow{display:block;text-transform:uppercase;font-size:.875rem;letter-spacing:.15em;font-weight:750;color:var(--ow-muted);margin-bottom:10px}.ow-panel{padding:24px;border:1px solid var(--ow-line);border-radius:var(--ow-customer-radius-panel);background:#fff}.ow-start-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(290px,1fr);gap:28px;align-items:start}.ow-start h2:not(:first-child){border-top:1px solid var(--ow-line);margin-top:28px;padding-top:24px}.ow-start-side{display:grid;gap:20px}.ow-building{display:flex;align-items:center;gap:14px;padding:16px;border:1px solid var(--ow-line);border-radius:10px;margin-bottom:10px;cursor:pointer}.ow-building input{width:22px;min-height:22px;height:22px;accent-color:var(--ow-primary);flex-shrink:0}.ow-building strong,.ow-building small{display:block}.ow-building.selected{border:2px solid var(--ow-primary);padding:15px;background:#f0f5eb}.ow-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:20px 0}.ow-primary{background:var(--ow-primary);color:#fff;border-color:var(--ow-primary);width:100%;min-height:52px}.ow-primary:hover:not(:disabled){background:#163d30;color:white;border-color:#163d30}.ow-notice{border:1px solid #ded5ad;background:#fcf8e9;border-radius:12px;padding:20px;font-size:1rem}.ow-notice p:last-child{margin-bottom:0}.ow-error{background:#fff0ef;border:1px solid #c57c76;border-radius:10px;padding:16px;margin-bottom:18px;color:#742727}.ow-error p{margin:6px 0 12px}.ow-group-link{display:flex;gap:10px;align-items:center;width:100%;text-align:left;margin-top:8px}.ow-group-link small{margin-left:auto}.ow-join{max-width:560px;margin:40px auto}.ow-join .ow-primary{margin:18px 0}.ow-group-top{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:18px}.ow-group-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.ow-count{font-size:.875rem;color:var(--ow-muted);white-space:nowrap}.ow-back{border:0;background:transparent;padding:6px 0;margin-bottom:10px;min-height:44px}.ow-back:hover:not(:disabled){background:transparent}.ow-cutoff{font-size:.9rem;border-top:1px solid var(--ow-line);padding-top:16px;margin-bottom:28px}.ow-order-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:28px;align-items:start}.ow-products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.ow-product{text-align:left;position:relative;padding:24px;min-height:205px;border-radius:var(--ow-customer-radius-panel);display:flex;flex-direction:column;align-items:flex-start}.ow-product h3{margin:18px 0 6px}.ow-product p{font-weight:400;font-size:.875rem;color:var(--ow-muted);margin-bottom:20px}.ow-product strong{margin-top:auto;font-size:1.2rem;letter-spacing:-.025em}.ow-food{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:#f6edca;color:#765b21;font-size:1.4rem;line-height:1}.ow-add{position:absolute;bottom:22px;right:22px;width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:var(--ow-primary);color:#fff;line-height:1;font-size:1.4rem}.ow-basket{position:sticky;top:20px}.ow-basket h2{margin-bottom:4px}.ow-empty{padding:42px 0;text-align:center;color:var(--ow-muted)}.ow-meal{padding:18px 0;border-top:1px solid var(--ow-line)}.ow-meal p{font-size:1rem;margin:8px 0 0;overflow-wrap:anywhere}.ow-meal-title{display:flex;align-items:center;gap:12px}.ow-quantity{width:30px;height:30px;display:grid;place-items:center;border-radius:8px;background:#ecf1e6;flex-shrink:0;font-weight:650;line-height:1}.ow-meal-actions{display:flex;gap:10px;margin-top:10px}.ow-meal-actions button{font-size:1rem;padding:6px 12px}.ow-cancel{display:block;margin:14px auto 0;border:0;color:var(--ow-danger);font-size:1rem}.ow-copy{display:flex;gap:12px}.ow-copy input{min-width:0}.ow-copy button{white-space:nowrap}.ow-share{margin-bottom:20px}.ow-share p{margin:10px 0 0}.ow-totals{margin:30px 0}.ow-totals div{display:flex;justify-content:space-between;padding:12px 0}.ow-totals dd{margin:0;font-variant-numeric:tabular-nums}.ow-total{border-top:1px solid var(--ow-line);margin-top:8px;font-size:1.5rem;font-weight:700}.ow-dialog{border:1px solid var(--ow-line);border-radius:var(--ow-customer-radius-panel);max-width:min(560px,calc(100vw - 24px));width:560px;max-height:90dvh;padding:28px;color:var(--ow-ink)}.ow-dialog::backdrop{background:rgba(15,33,26,.45)}.ow-dialog-top{display:flex;justify-content:space-between;align-items:start;gap:15px}.ow-dialog-top h2{font-size:1.6rem;margin-bottom:14px}.ow-icon{width:46px;height:46px;flex-shrink:0;display:grid;place-items:center;font-size:1.6rem;line-height:1;padding:0}.ow-choice{display:flex;align-items:center;gap:14px;padding:8px 0}.ow-choice label{flex:1;font-weight:500}.ow-choice select{width:85px}.ow-footer{text-align:center;padding:20px 16px;border-top:1px solid var(--ow-line);font-size:.875rem;color:var(--ow-muted)}.ow-loading{text-align:center;padding:60px 20px}.ow-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.ow-skip{position:absolute;left:12px;top:-80px;background:white;padding:12px;z-index:10}.ow-skip:focus{top:10px}@media(max-width:850px){.ow-start-layout,.ow-order-layout{grid-template-columns:1fr}.ow-start-side{grid-row:1}.ow-group-top{display:block}.ow-group-actions{justify-content:flex-start}.ow-basket{position:static}.ow-main{padding:24px 16px}.ow-start-side .ow-notice{padding:16px}.ow-products{grid-template-columns:repeat(2,minmax(0,1fr))}.ow-header{padding:14px 16px;gap:14px}.ow-divider{padding-left:14px;font-size:.875rem}}@media(max-width:480px){.ow-fields{grid-template-columns:1fr}.ow-panel{padding:18px}.ow-products{gap:10px}.ow-product{padding:16px;min-height:210px}.ow-product h3{font-size:1rem}.ow-add{right:14px;bottom:16px;width:28px;height:28px}.ow-product strong{font-size:1.1rem}.ow-header{gap:10px}.ow-divider{display:none}.ow-copy{flex-direction:column}.ow-dialog{padding:20px}.ow-group-actions button{padding:9px 12px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

/* Store identity is shared by delivery and catering. */
.ow-merchant{border-bottom:1px solid var(--ow-line);padding:0 0 20px;margin:0 0 24px;overflow-wrap:anywhere}.ow-merchant strong,.ow-merchant span,.ow-merchant small{display:block}.ow-merchant small{font-size:14px}.ow-merchant-map{display:inline-flex;align-items:center;min-height:44px;margin-top:4px}

.ow-header .ow-brand-image{display:block!important;width:132px!important;height:29px!important;max-width:none;flex:none;object-fit:contain}

/* Shared customer choice controls keep native inputs compact and the label touchable. */
.ow-check{display:flex;align-items:flex-start;gap:12px;min-height:44px;padding:10px 0;line-height:1.5;cursor:pointer}.ow-check input[type=checkbox],.ow-check input[type=radio]{flex:0 0 22px;width:22px;height:22px;min-height:22px;padding:0;margin:1px 0 0;accent-color:var(--ow-primary)}

/* Optional location permission in customer address searches. */
.ow-location-permission {display:grid;gap:6px;margin:12px 0 18px;}
.ow-location-permission-actions {display:flex;flex-wrap:wrap;gap:12px;}
.ow-location-permission-actions button {min-height:44px;}
.ow-location-permission small {display:block;line-height:1.5;}

/* Account destinations share the customer shell and native account permissions. */
.ow-account-nav{display:flex;flex-wrap:wrap;gap:4px 20px;border-bottom:1px solid var(--ow-line);margin:20px 0 24px}
.ow-account-nav a{display:flex;align-items:center;min-height:44px;padding:8px 0;border-bottom:2px solid transparent;text-decoration:none;color:inherit}
.ow-account-nav a[aria-current="page"]{border-bottom-color:currentColor;font-weight:700}
.ow-profile-details{display:grid;grid-template-columns:minmax(100px,1fr) minmax(0,3fr);gap:16px;margin:24px 0}
.ow-profile-details dt{font-weight:600}.ow-profile-details dd{margin:0;overflow-wrap:anywhere}
.ow-account>p strong{overflow-wrap:anywhere}
.ow-account>button+h2{margin-top:28px}
@media(max-width:480px){.ow-profile-details{grid-template-columns:1fr;gap:6px}.ow-profile-details dd+dt{margin-top:12px}.ow-account-nav{gap:4px 16px}}

/* Optional delivery-sharing opportunities use the existing customer tokens. */
.ow-pickup-opportunity{border:1px solid var(--ow-line);border-radius:12px;padding:20px;background:var(--ow-customer-selected);margin:20px 0}.ow-pickup-heading{display:flex;justify-content:space-between;align-items:center;gap:16px}.ow-pickup-heading h3{margin:0;font-size:1.125rem}.ow-pickup-heading .ow-back{margin:0;font-size:.875rem}.ow-pickup-opportunity p{font-size:.9375rem;line-height:1.5;margin:12px 0}.ow-pickup-opportunity .ow-muted{font-size:.875rem}.ow-pickup-batch+.ow-pickup-batch{border-top:1px solid var(--ow-line);padding-top:8px;margin-top:14px}.ow-pickup-opportunity details{margin:12px 0}.ow-pickup-opportunity summary{cursor:pointer;min-height:44px;display:flex;align-items:center;text-decoration:underline;text-underline-offset:3px}.ow-pickup-check{display:flex;gap:10px;align-items:flex-start;font-size:.875rem;margin:16px 0}.ow-pickup-check input{width:18px;min-height:18px;margin-top:2px;flex-shrink:0}.ow-pickup-actions{display:flex;flex-wrap:wrap;gap:12px}.ow-pickup-opportunity li span{display:block}.ow-pickup-order-notice{font-weight:650;color:var(--ow-primary)}@media(max-width:600px){.ow-pickup-heading{align-items:start;flex-direction:column;gap:0}.ow-pickup-opportunity{padding:16px}.ow-pickup-opportunity button{max-width:100%;white-space:normal}}
