.gbe-order,.gbe-viewer{--gbe-accent:#ad6c22;--gbe-ink:#26221d;--gbe-border:#e9dfd5;--gbe-surface:#fff;box-sizing:border-box;color:var(--gbe-ink);max-width:1050px;margin:1.4rem auto;padding:clamp(15px,2.8vw,34px);border:1px solid var(--gbe-border);border-radius:17px;background:var(--gbe-surface);box-shadow:0 10px 30px rgba(45,31,15,.055);font:inherit}
.gbe-order *,.gbe-viewer *{box-sizing:border-box}
.gbe-order h2,.gbe-viewer h2{margin:0 0 12px;font-size:clamp(1.5rem,2.5vw,2.15rem);line-height:1.2;color:var(--gbe-ink)}
.gbe-intro{margin:0 0 24px;color:#645d55}
.gbe-order label,.gbe-viewer label{font-weight:600;display:block;font-size:.94rem}
.gbe-order input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.gbe-order textarea,.gbe-order select,.gbe-viewer input:not([type=hidden]){width:100%;padding:11px 12px;min-height:44px;border:1px solid #ccc4ba;border-radius:9px;background:#fff;color:#29221a;font:inherit;line-height:1.3}
.gbe-order input:focus-visible,.gbe-order textarea:focus-visible,.gbe-order select:focus-visible,.gbe-viewer input:focus-visible{outline:2px solid var(--gbe-accent);outline-offset:2px}
.gbe-order small{display:block;color:#72685d;font-size:.8rem;line-height:1.4;margin-top:5px}
.gbe-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 22px;margin-bottom:27px}
.gbe-field{min-width:0}.gbe-field label:first-child{margin-bottom:6px}.gbe-field-html,.gbe-field-textarea,.gbe-field-radio,.gbe-field-checkbox,.gbe-custom-html{grid-column:1/-1}
.gbe-choice-list{display:flex;flex-wrap:wrap;gap:9px 18px;padding-top:8px}.gbe-choice-list label,.gbe-inline-check{font-weight:400!important;display:inline-flex!important;align-items:center;gap:7px}.gbe-inline-check{margin-top:9px}
.gbe-groups{display:grid;gap:13px}.gbe-group{border:1px solid var(--gbe-border);border-radius:12px;overflow:hidden;background:#fff}
.gbe-group>:is(summary,.gbe-static-heading){cursor:pointer;list-style:none;font-size:1.11rem;font-weight:750;padding:17px 19px;display:flex;align-items:center;justify-content:space-between;background:#faf6f1}
.gbe-group>summary::-webkit-details-marker{display:none}.gbe-chevron{font-size:1.5rem;line-height:1;transition:transform .2s}.gbe-group[open] .gbe-chevron{transform:rotate(180deg)}
.gbe-group-description{margin:15px 20px;color:#68615b}
.gbe-product{display:grid;grid-template-columns:auto minmax(0,1fr) minmax(142px,auto);align-items:center;gap:16px;padding:16px 19px;border-top:1px solid var(--gbe-border)}
.gbe-product-image{width:106px;height:88px;overflow:hidden;border-radius:var(--gbe-radius);flex:none;background:#f4ede5}
.gbe-product-image img{display:block;width:100%;height:100%;object-fit:cover}
.gbe-product-info{min-width:0}.gbe-product-info>strong{display:block;font-size:1rem;line-height:1.35}.gbe-product-info p{font-size:.88rem;color:#6e665d;margin:6px 0}.gbe-product-info small{font-weight:650;color:var(--gbe-accent)}
.gbe-product-controls{display:flex;gap:10px;align-items:flex-end;justify-content:flex-end;flex-wrap:wrap}
.gbe-product-controls label{font-size:.83rem;min-width:76px}.gbe-product-controls select{max-width:185px}.gbe-product-controls .gbe-qty{width:85px!important}
.gbe-total{margin-top:22px;padding:16px 20px;border-radius:10px;background:#f8f2e9;display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.gbe-total strong{font-size:1.3rem}.gbe-total small{margin:0;color:#8b4612}
.gbe-privacy{margin:23px 0}.gbe-privacy label{display:flex;gap:11px;align-items:flex-start;font-size:.93rem;font-weight:400}
.gbe-privacy input{margin-top:4px;flex:none}.gbe-privacy a{color:var(--gbe-accent)}
.gbe-submit,.gbe-viewer button[type=submit]{border:0;border-radius:10px;background:var(--gbe-accent);color:#fff;padding:13px 20px;min-height:47px;font:inherit;font-weight:700;cursor:pointer}
.gbe-submit:hover,.gbe-viewer button[type=submit]:hover{filter:brightness(.91)}.gbe-submit:disabled{opacity:.6;cursor:wait}
.gbe-trap{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.gbe-message{border:1px solid;border-radius:9px;padding:14px 17px;margin:17px 0;font-weight:600}.gbe-ok{background:#eaf7ee;color:#155c33;border-color:#bcdcc4}.gbe-error{background:#fff1ee;color:#922919;border-color:#edc3bd}
.gbe-viewer .gbe-token-form{max-width:430px;display:grid;gap:14px;padding:20px 0}.gbe-viewer .gbe-token-form label{display:grid;gap:7px}
.gbe-logout{display:flex;justify-content:flex-end;margin-bottom:12px}.gbe-logout button{border:1px solid #ccbfb2;background:#fff;color:#42372e;border-radius:8px;cursor:pointer;padding:7px 13px}
.gbe-filters{display:flex;gap:10px;align-items:end;flex-wrap:wrap;margin:16px 0}.gbe-filters label{display:grid;gap:5px;flex:1;min-width:145px;font-size:.85rem}.gbe-filters button{border:1px solid #ccbaa7;background:#f6f1e9;border-radius:7px;padding:10px 13px;cursor:pointer}
.gbe-table-scroll{overflow-x:auto}.gbe-orders-table{width:100%;border-collapse:collapse;font-size:.85rem;min-width:820px;text-align:left}.gbe-orders-table th,.gbe-orders-table td{border-bottom:1px solid #e8e2dc;padding:11px 9px;vertical-align:top;overflow-wrap:anywhere}.gbe-orders-table thead{background:#f8f5f1}.gbe-orders-table td details{min-width:95px}.gbe-orders-table dl{min-width:170px}.gbe-orders-table dt{font-weight:700}.gbe-orders-table dd{margin:0 0 9px}.gbe-result-count{font-size:.88rem;color:#716a61}.gbe-pagination{display:flex;gap:6px;margin:15px 0}.gbe-pagination a{border:1px solid #ddd0c3;border-radius:6px;padding:6px 12px;text-decoration:none}.gbe-pagination a[aria-current]{background:#f0e4d4;font-weight:700}
@media(max-width:690px){.gbe-order,.gbe-viewer{padding:16px;border-radius:12px}.gbe-field-grid{grid-template-columns:1fr}.gbe-product{grid-template-columns:80px 1fr;gap:9px 12px;padding:13px}.gbe-product-image{width:80px;height:72px}.gbe-product-controls{grid-column:1/-1;justify-content:space-between}.gbe-product-controls label:first-child{flex:1}.gbe-product-controls select{max-width:none}.gbe-product-controls .gbe-qty{min-width:90px}.gbe-group>:is(summary,.gbe-static-heading){padding:14px}.gbe-filters{display:grid;grid-template-columns:1fr 1fr}.gbe-filters label:first-child{grid-column:1/-1}}

.gbe-product-extras{grid-column:1/-1;padding:0 0 2px 0}.gbe-product-extras>span{display:block;font-size:.83rem;color:#6f6259;font-weight:700;margin-bottom:7px}.gbe-product-extras>div{display:flex;flex-wrap:wrap;gap:7px 18px}.gbe-product-extras label{display:flex;align-items:center;gap:7px;font-weight:400;font-size:.88rem}.gbe-product-extras input{margin:0}

.gbe-viewer .gbe-filters select{min-height:44px;border:1px solid #ccc4ba;border-radius:7px;padding:7px 10px;background:#fff;width:100%;font:inherit}

/* v1.6: admin-configurable typography and responsive field spans */
.gbe-order .gbe-field-grid{grid-template-columns:repeat(var(--gbe-columns,2),minmax(0,1fr))}
.gbe-order .gbe-field-grid > .gbe-field{grid-column:span var(--gbe-span,1);font-size:var(--gbe-font-size,16px)}
.gbe-order .gbe-field label:first-child{font-size:inherit;text-align:inherit}
.gbe-order .gbe-field .gbe-choice-list,.gbe-order .gbe-field input,.gbe-order .gbe-field textarea,.gbe-order .gbe-field select{text-align:inherit}
.gbe-order .gbe-group>:is(summary,.gbe-static-heading){font-size:var(--gbe-font-size,18px);text-align:inherit}
.gbe-order .gbe-group-description{text-align:inherit}
.gbe-order .gbe-product-info>strong{font-size:var(--gbe-font-size,16px);text-align:inherit}
.gbe-order .gbe-product-info p{text-align:inherit;font-size:var(--gbe-font-size,16px)}
.gbe-order .gbe-minimum-notice{margin:12px 0;color:#8b3116;font-weight:600}
@media(max-width:690px){.gbe-order .gbe-field-grid{grid-template-columns:minmax(0,1fr)}.gbe-order .gbe-field-grid > .gbe-field{grid-column:1/-1}}

/* v1.7 – form-scoped, editor-controlled responsive design. Defaults retain the 1.6 appearance. */
.gbe-order{max-width:var(--gbe-form-width,1050px);border-radius:var(--gbe-form-radius,17px)}
.gbe-order .gbe-group{border-color:var(--gbe-border);border-radius:var(--gbe-group-radius,12px)}
.gbe-order .gbe-group>:is(summary,.gbe-static-heading){background-color:var(--gbe-group-bg,#faf6f1);color:var(--gbe-group-text,#26221d)}
.gbe-order .gbe-product-image{width:var(--gbe-img-width,106px);height:auto;aspect-ratio:var(--gbe-img-ratio,4 / 3);border-radius:var(--gbe-radius,12px)}
.gbe-order .gbe-product-image img{object-fit:cover}
.gbe-order[data-gbe-image-fit="contain"] .gbe-product-image img{object-fit:contain}
.gbe-order .gbe-product-info p,.gbe-order .gbe-group-description{color:var(--gbe-muted,#6e665d)}
.gbe-order .gbe-submit{color:var(--gbe-button-text,#fff)}
.gbe-order .gbe-group-items{display:grid;grid-template-columns:minmax(0,1fr);gap:0}
.gbe-order .gbe-product{gap:var(--gbe-card-gap,16px);padding:var(--gbe-card-padding,16px);grid-template-columns:auto minmax(0,1fr) minmax(142px,auto);background:var(--gbe-card-bg,#fff)}
.gbe-order[data-gbe-card-shadow="1"] .gbe-product{box-shadow:0 6px 17px rgba(20,20,20,.085)}
.gbe-order .gbe-group-nav{display:flex;flex-wrap:wrap;gap:9px 12px;margin:0 0 25px;padding:5px 0}
.gbe-order .gbe-group-nav a{border:1px solid var(--gbe-border);border-radius:999px;padding:9px 16px;color:var(--gbe-ink);background:var(--gbe-surface);text-decoration:none;font-size:.93rem;font-weight:700;transition:background .15s,color .15s,border-color .15s}
.gbe-order .gbe-group-nav a:hover,.gbe-order .gbe-group-nav a:focus-visible{background:var(--gbe-accent);color:var(--gbe-button-text);border-color:var(--gbe-accent)}
.gbe-order[data-gbe-group-style="golden"] .gbe-group>:is(summary,.gbe-static-heading){background:var(--gbe-group-bg);border-left:5px solid var(--gbe-accent);font-weight:800;letter-spacing:.01em}
.gbe-order[data-gbe-group-style="golden"] .gbe-group{border-radius:var(--gbe-group-radius);border-color:var(--gbe-border)}
.gbe-order[data-gbe-group-style="outline"] .gbe-group>:is(summary,.gbe-static-heading){background:transparent;border-bottom:1px solid var(--gbe-border)}
.gbe-order[data-gbe-group-style="minimal"] .gbe-group{border:0;border-bottom:2px solid var(--gbe-border);border-radius:0}
.gbe-order[data-gbe-group-style="minimal"] .gbe-group>:is(summary,.gbe-static-heading){background:transparent;padding-left:0;padding-right:0}
.gbe-order[data-gbe-group-style="image"] .gbe-group>:is(summary,.gbe-static-heading){background-image:linear-gradient(90deg,rgba(0,0,0,.68),rgba(0,0,0,.26)),var(--gbe-group-image,none);background-size:cover;background-position:center;color:#fff;min-height:85px;text-shadow:0 1px 3px #0009}
.gbe-order[data-gbe-group-style="image"] .gbe-chevron{color:#fff}
.gbe-order[data-gbe-layout="golden"] .gbe-groups{gap:25px}
.gbe-order[data-gbe-layout="golden"] .gbe-group{border-radius:var(--gbe-group-radius);background:var(--gbe-surface)}
.gbe-order[data-gbe-layout="golden"] .gbe-group>:is(summary,.gbe-static-heading){font-size:clamp(1.1rem,2vw,1.45rem);padding:19px 22px}
.gbe-order[data-gbe-layout="golden"] .gbe-product{grid-template-columns:var(--gbe-img-width,148px) minmax(0,1fr) minmax(170px,auto);padding:var(--gbe-card-padding,18px);gap:var(--gbe-card-gap,18px);border-top:1px solid var(--gbe-border);align-items:center}
.gbe-order[data-gbe-layout="golden"] .gbe-product-info>strong{font-weight:800}
.gbe-order[data-gbe-layout="golden"] .gbe-product-info p{line-height:1.55}
.gbe-order[data-gbe-layout="golden"] .gbe-product-image{width:100%;max-width:100%}
.gbe-order[data-gbe-layout="golden"] .gbe-product-controls{align-items:end}
.gbe-order[data-gbe-layout="cards"] .gbe-group{border:0;background:transparent;overflow:visible}
.gbe-order[data-gbe-layout="cards"] .gbe-group>:is(summary,.gbe-static-heading){border-radius:var(--gbe-group-radius);border:1px solid var(--gbe-border)}
.gbe-order[data-gbe-layout="cards"] .gbe-group-items{grid-template-columns:repeat(var(--gbe-card-columns,1),minmax(0,1fr));gap:var(--gbe-card-gap,16px);padding:var(--gbe-card-gap,16px) 0}
.gbe-order[data-gbe-layout="cards"] .gbe-product{grid-template-columns:var(--gbe-img-width,106px) minmax(0,1fr);align-content:start;align-items:start;border:1px solid var(--gbe-border);border-radius:var(--gbe-card-radius,10px);gap:11px;background:var(--gbe-card-bg)}
.gbe-order[data-gbe-layout="cards"] .gbe-product-info{min-width:0}
.gbe-order[data-gbe-layout="cards"] .gbe-product-controls,.gbe-order[data-gbe-layout="cards"] .gbe-product-extras{grid-column:1/-1}
.gbe-order[data-gbe-layout="cards"] .gbe-product-controls{justify-content:flex-start}
.gbe-order[data-gbe-layout="cards"] .gbe-product-image{width:100%}
.gbe-order[data-gbe-image-position="top"] .gbe-product{grid-template-columns:minmax(0,1fr)}
.gbe-order[data-gbe-image-position="top"] .gbe-product-image{width:100%;grid-column:1/-1;max-width:100%}
.gbe-order[data-gbe-image-position="top"] .gbe-product-info,.gbe-order[data-gbe-image-position="top"] .gbe-product-controls,.gbe-order[data-gbe-image-position="top"] .gbe-product-extras{grid-column:1/-1}
.gbe-order[data-gbe-image-position="top"] .gbe-product-controls{justify-content:flex-start}
.gbe-order[data-gbe-layout="golden"][data-gbe-image-position="top"] .gbe-product{grid-template-columns:1fr}
@media(max-width:880px){
 .gbe-order[data-gbe-layout="golden"] .gbe-product{grid-template-columns:var(--gbe-img-width,106px) minmax(0,1fr)}
 .gbe-order[data-gbe-layout="golden"] .gbe-product-controls,.gbe-order[data-gbe-layout="golden"] .gbe-product-extras{grid-column:1/-1;justify-content:flex-start}
}
@media(max-width:690px){
 .gbe-order[data-gbe-layout="cards"] .gbe-group-items{grid-template-columns:repeat(var(--gbe-mobile-columns,1),minmax(0,1fr))}
 .gbe-order .gbe-product,.gbe-order[data-gbe-layout="golden"] .gbe-product{grid-template-columns:minmax(0,80px) minmax(0,1fr);gap:10px;padding:var(--gbe-card-padding,13px)}
 .gbe-order .gbe-product-image{width:100%;height:auto;max-width:100%}
 .gbe-order[data-gbe-layout="cards"] .gbe-product{grid-template-columns:1fr}
 .gbe-order[data-gbe-layout="cards"] .gbe-product-info,.gbe-order[data-gbe-layout="cards"] .gbe-product-controls{grid-column:1/-1}
 .gbe-order[data-gbe-layout="cards"] .gbe-product-image{width:100%}
 .gbe-order[data-gbe-mobile-image-position="top"] .gbe-product{grid-template-columns:1fr}
 .gbe-order[data-gbe-mobile-image-position="top"] .gbe-product-image,.gbe-order[data-gbe-mobile-image-position="top"] .gbe-product-info{grid-column:1/-1}
 .gbe-order[data-gbe-mobile-image-position="left"] .gbe-product-image{grid-column:1}
 .gbe-order[data-gbe-layout="golden"] .gbe-group>:is(summary,.gbe-static-heading){padding:15px}
 .gbe-order .gbe-group-nav{gap:7px}
 .gbe-order .gbe-group-nav a{padding:7px 11px;font-size:.8rem}
}
/* Products without a photo should never reserve an empty photo column. */
.gbe-order .gbe-product:not(.gbe-has-image),.gbe-order[data-gbe-layout="golden"] .gbe-product:not(.gbe-has-image){grid-template-columns:minmax(0,1fr) auto}
.gbe-order[data-gbe-layout="cards"] .gbe-product:not(.gbe-has-image),.gbe-order[data-gbe-image-position="top"] .gbe-product:not(.gbe-has-image){grid-template-columns:minmax(0,1fr)}
@media(max-width:690px){
 .gbe-order[data-gbe-mobile-image-position="left"] .gbe-product.gbe-has-image{grid-template-columns:80px minmax(0,1fr)}
 .gbe-order[data-gbe-mobile-image-position="left"] .gbe-product.gbe-has-image .gbe-product-info{grid-column:2}
 .gbe-order[data-gbe-mobile-image-position="left"] .gbe-product.gbe-has-image .gbe-product-controls{grid-column:1/-1}
}

.gbe-field-grid>.gbe-field-wrapper{grid-column:span var(--gbe-span,1)}.gbe-field-wrapper>.gbe-field{grid-column:auto}.gbe-element-wrapper{min-width:0}.gbe-group-wrapper>.gbe-group{width:100%}


/* v1.8.4: pickup-day highlighting with readable text, including WordPress admin tables. */
.gbe-orders-table tbody tr.gbe-pickup-today > td{background:#d7f4e3!important;color:#123b28!important}
.gbe-orders-table tbody tr.gbe-pickup-tomorrow > td{background:#fff0c7!important;color:#523400!important}
.gbe-orders-table tbody tr.gbe-pickup-today > td *,
.gbe-orders-table tbody tr.gbe-pickup-tomorrow > td *{color:inherit}
.gbe-orders-table tbody tr.gbe-pickup-today a,.gbe-orders-table tbody tr.gbe-pickup-tomorrow a{text-decoration:underline}
.gbe-order-legend{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0}
.gbe-order-legend span{display:inline-block;border-radius:6px;padding:5px 10px;font-weight:700;font-size:.85rem}
.gbe-legend-today{background:#d7f4e3;color:#123b28}.gbe-legend-tomorrow{background:#fff0c7;color:#523400}
.gbe-delete-order{margin-top:10px}
.gbe-orders-table .gbe-order-delete-button{display:inline-block;min-height:32px;padding:5px 12px;border:1px solid #a22c2c;border-radius:5px;background:#fff;color:#a22c2c!important;font:inherit;font-weight:700;cursor:pointer}
.gbe-orders-table .gbe-order-delete-button:hover,.gbe-orders-table .gbe-order-delete-button:focus-visible{background:#a22c2c;color:#fff!important}

/* v1.8.5: explicit order lifecycle controls. */
.gbe-status-cell{min-width:118px}
.gbe-status-label{display:inline-block;padding:4px 9px;border-radius:5px;font-weight:700}
.gbe-status-active{background:#d6f5df;color:#16452b!important}
.gbe-status-closed{background:#e3e5e8;color:#303841!important}
.gbe-status-form{margin:8px 0 0}
.gbe-orders-table .gbe-order-status-button{padding:6px 10px;min-height:32px;border-radius:5px;border:1px solid #346b91;background:#fff;color:#184a6d!important;font:inherit;font-weight:700;cursor:pointer}
.gbe-orders-table .gbe-order-status-button:hover,.gbe-orders-table .gbe-order-status-button:focus-visible{background:#184a6d;color:#fff!important}
.gbe-delete-closed-form{margin:15px 0}

/* Status badges must remain readable on pickup-highlighted rows. */
.gbe-orders-table tbody tr.gbe-pickup-today .gbe-status-active,.gbe-orders-table tbody tr.gbe-pickup-tomorrow .gbe-status-active{color:#16452b!important}
.gbe-orders-table tbody tr.gbe-pickup-today .gbe-status-closed,.gbe-orders-table tbody tr.gbe-pickup-tomorrow .gbe-status-closed{color:#303841!important}

/* 1.8.7 – explicit per-food quantity and price typography */
.gbe-order .gbe-product-controls .gbe-qty{font-size:var(--gbe-qty-font-size,20px);font-weight:650;text-align:center}
.gbe-order .gbe-product-info small{font-size:var(--gbe-price-font-size,16px);line-height:1.4}
.gbe-order .gbe-product-controls .gbe-qty-label{display:flex;align-items:center;margin:0;min-width:76px}

/* 1.8.8: theme-independent inline formatting, including explicit italic. */
.gbe-order em,.gbe-order i{font-style:italic!important}
.gbe-order strong,.gbe-order b{font-weight:700}
.gbe-order u{text-decoration:underline}
.gbe-order .gbe-group-description,.gbe-order .gbe-product-description{line-height:1.5}

.gbe-order .gbe-privacy label{font-size:inherit}

/* 1.9.0 – price and submit button formatting, accessible variant label, top alignment. */
.gbe-order .gbe-product-price{display:block;width:100%;line-height:1.4}
.gbe-order .gbe-product-image,.gbe-order .gbe-product-info{align-self:start}
.gbe-order .gbe-product-info>strong{margin-top:0}
.gbe-order .gbe-submit{white-space:normal}
.gbe-order .gbe-variant-label .screen-reader-text{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}

/* v1.9.1: one form may mix compact rows and full cards by food group. */
.gbe-order .gbe-group[data-gbe-group-layout="list"] .gbe-group-items{display:grid;grid-template-columns:minmax(0,1fr);gap:0;padding:0}
.gbe-order .gbe-group[data-gbe-group-layout="list"] .gbe-product{display:grid;grid-template-columns:var(--gbe-img-width,106px) minmax(0,1fr) minmax(120px,auto);align-items:start;border:0;border-bottom:1px solid var(--gbe-border);border-radius:0;box-shadow:none;gap:var(--gbe-card-gap,16px)}
.gbe-order .gbe-group[data-gbe-group-layout="list"] .gbe-product-image{grid-column:1;max-width:100%;width:100%}
.gbe-order .gbe-group[data-gbe-group-layout="list"] .gbe-product-info{grid-column:2}
.gbe-order .gbe-group[data-gbe-group-layout="list"] .gbe-product-controls{grid-column:3;justify-content:flex-end}
.gbe-order .gbe-group[data-gbe-group-layout="list"] .gbe-product-extras{grid-column:1/-1}
.gbe-order .gbe-group[data-gbe-group-layout="cards"] .gbe-group-items{display:grid;grid-template-columns:repeat(var(--gbe-card-columns,1),minmax(0,1fr));gap:var(--gbe-card-gap,16px);padding:var(--gbe-card-gap,16px) 0}
.gbe-order .gbe-group[data-gbe-group-layout="cards"] .gbe-product{display:grid;grid-template-columns:var(--gbe-img-width,106px) minmax(0,1fr);align-items:start;align-content:start;border:1px solid var(--gbe-border);border-radius:var(--gbe-card-radius,10px);background:var(--gbe-card-bg);gap:11px}
.gbe-order .gbe-group[data-gbe-group-layout="cards"] .gbe-product-image{grid-column:1;width:100%;max-width:100%}
.gbe-order .gbe-group[data-gbe-group-layout="cards"] .gbe-product-info{grid-column:2}
.gbe-order .gbe-group[data-gbe-group-layout="cards"] .gbe-product-controls,.gbe-order .gbe-group[data-gbe-group-layout="cards"] .gbe-product-extras{grid-column:1/-1;justify-content:flex-start}
.gbe-order .gbe-between-foods{grid-column:1/-1;padding:16px 20px;background:color-mix(in srgb,var(--gbe-accent) 7%,white);border-left:3px solid var(--gbe-accent);color:var(--gbe-ink);line-height:1.55}
.gbe-order .gbe-between-foods>*:first-child{margin-top:0}.gbe-order .gbe-between-foods>*:last-child{margin-bottom:0}
@media(max-width:690px){
 .gbe-order .gbe-group[data-gbe-group-layout="cards"] .gbe-group-items{grid-template-columns:repeat(var(--gbe-mobile-columns,1),minmax(0,1fr))}
 .gbe-order .gbe-group[data-gbe-group-layout="cards"] .gbe-product{grid-template-columns:1fr}
 .gbe-order .gbe-group[data-gbe-group-layout="cards"] .gbe-product-image,.gbe-order .gbe-group[data-gbe-group-layout="cards"] .gbe-product-info{grid-column:1/-1}
 .gbe-order .gbe-group[data-gbe-group-layout="list"] .gbe-product{grid-template-columns:80px minmax(0,1fr)}
 .gbe-order .gbe-group[data-gbe-group-layout="list"] .gbe-product-controls{grid-column:1/-1;justify-content:flex-start}
}

.gbe-order .gbe-product-info .gbe-product-deadline{font-size:12px;color:var(--gbe-muted);margin-top:8px;font-weight:600}


/* v1.9.2 – Golden Bowling melegtál layout. The group's cards override the form-wide
   image position and column settings without affecting list-style food groups. */
.gbe-order .gbe-group[data-gbe-group-layout="cards"]{container:gbe-food-group / inline-size}
.gbe-order .gbe-group[data-gbe-group-layout="cards"] > .gbe-group-items{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));
  align-items:stretch;gap:var(--gbe-card-gap,16px);
  padding:var(--gbe-card-gap,16px) 0;
}
.gbe-order .gbe-group[data-gbe-group-layout="cards"] .gbe-product,
.gbe-order[data-gbe-layout="golden"] .gbe-group[data-gbe-group-layout="cards"] .gbe-product{
  display:flex;flex-direction:column;align-items:stretch;
  width:100%;height:100%;min-width:0;gap:0;
  padding:var(--gbe-card-padding,12px);
  border:1px solid var(--gbe-border);border-radius:var(--gbe-card-radius,10px);
  background:var(--gbe-card-bg,#fff);
}
.gbe-order .gbe-group[data-gbe-group-layout="cards"] .gbe-product-wrapper{height:100%;min-width:0}
.gbe-order .gbe-group[data-gbe-group-layout="cards"] .gbe-product-image,
.gbe-order[data-gbe-image-position="top"] .gbe-group[data-gbe-group-layout="cards"] .gbe-product-image{
  display:block;flex:none;align-self:stretch;
  width:100%;max-width:none;height:auto;aspect-ratio:4/3;
  margin:0 0 12px;overflow:hidden;
}
.gbe-order .gbe-group[data-gbe-group-layout="cards"] .gbe-product-image img{width:100%;height:100%;object-fit:cover}
.gbe-order .gbe-group[data-gbe-group-layout="cards"] .gbe-product-info{
  display:block;flex:1 1 auto;min-width:0;width:100%;align-self:stretch;
}
.gbe-order .gbe-group[data-gbe-group-layout="cards"] .gbe-product-info>strong{
  display:block;margin:0 0 9px;line-height:1.35;
}
.gbe-order .gbe-group[data-gbe-group-layout="cards"] .gbe-product-description{margin:0 0 12px;line-height:1.55;overflow-wrap:anywhere}
.gbe-order .gbe-group[data-gbe-group-layout="cards"] .gbe-product-price{margin:10px 0 0}
.gbe-order .gbe-group[data-gbe-group-layout="cards"] .gbe-product-extras{
  order:3;display:block;flex:none;width:100%;margin-top:12px;
}
.gbe-order .gbe-group[data-gbe-group-layout="cards"] .gbe-product-controls{
  order:4;display:flex;flex:none;align-items:stretch;justify-content:center;
  width:100%;margin-top:14px;padding-top:12px;
  border-top:1px solid var(--gbe-border);gap:8px;
}
.gbe-order .gbe-group[data-gbe-group-layout="cards"] .gbe-product-controls .gbe-qty-label{
  display:flex;justify-content:center;min-width:0;max-width:100%;margin:0;
}
.gbe-order .gbe-group[data-gbe-group-layout="cards"] .gbe-product-controls .gbe-qty{
  width:100%!important;max-width:130px;min-width:0;
}
.gbe-order .gbe-group[data-gbe-group-layout="cards"] .gbe-product-controls .gbe-variant-label{min-width:0;flex:1 1 auto}
.gbe-order .gbe-group[data-gbe-group-layout="cards"] .gbe-product-controls select{max-width:100%}
/* Keep the custom HTML separator spanning the entire grid. */
.gbe-order .gbe-group[data-gbe-group-layout="cards"] .gbe-between-foods{grid-column:1/-1}
/* Adapt to the actual form width, including when the WordPress page has a sidebar. */
@container gbe-food-group (max-width:850px){
  .gbe-order .gbe-group[data-gbe-group-layout="cards"] > .gbe-group-items{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@container gbe-food-group (max-width:490px){
  .gbe-order .gbe-group[data-gbe-group-layout="cards"] > .gbe-group-items{grid-template-columns:minmax(0,1fr)}
}
/* Viewport fallback for browsers without container queries. */
@supports not (container-type:inline-size){
  @media(max-width:1000px){.gbe-order .gbe-group[data-gbe-group-layout="cards"] > .gbe-group-items{grid-template-columns:repeat(2,minmax(0,1fr))}}
  @media(max-width:620px){.gbe-order .gbe-group[data-gbe-group-layout="cards"] > .gbe-group-items{grid-template-columns:minmax(0,1fr)}}
}

/* v1.9.3: approved #8 typography-only category header, gold flourish. */
.gbe-order[data-gbe-group-style="golden"] .gbe-group{border:0!important;border-radius:0!important;overflow:visible;background:transparent}
.gbe-order[data-gbe-group-style="golden"] .gbe-group>:is(summary,.gbe-static-heading).gbe-ornament-summary{
 position:relative;display:flex;align-items:center;justify-content:center;min-height:0;
 padding:22px 30px 16px!important;border:0!important;border-radius:0!important;
 background:transparent!important;box-shadow:none!important;text-align:center!important;
 color:var(--gbe-group-text,#442413);font-weight:400;letter-spacing:normal;
}
.gbe-order[data-gbe-group-style="golden"] .gbe-ornament-heading{display:flex;flex-direction:column;align-items:center;gap:0;width:100%;min-width:0;line-height:1.25}
.gbe-order[data-gbe-group-style="golden"] .gbe-ornament-title{display:block;width:100%;max-width:100%;overflow-wrap:anywhere;font-family:Georgia,'Times New Roman',serif;line-height:1.14;font-weight:700;color:var(--gbe-group-text,#442413)}
.gbe-order[data-gbe-group-style="golden"] .gbe-ornament-subtitle{display:block;max-width:100%;margin:5px 0 0;font-family:Georgia,'Times New Roman',serif;line-height:1.25;font-weight:400;color:var(--gbe-group-text,#442413)}
.gbe-order[data-gbe-group-style="golden"] .gbe-ornament-divider{display:flex;align-items:center;justify-content:center;width:var(--gbe-ornament-width,100%);max-width:100%;height:37px;margin:8px auto 0;color:#b88236}
.gbe-order[data-gbe-group-style="golden"] .gbe-ornament-rule{height:2px;flex:1 1 0;background:#c59442}
.gbe-order[data-gbe-group-style="golden"] .gbe-ornament-symbol{display:block;flex:0 0 64px;width:64px;height:37px;overflow:visible}
.gbe-order[data-gbe-group-style="golden"] .gbe-ornament-summary .gbe-chevron{position:absolute;right:4px;top:8px;font-family:Arial,sans-serif;font-size:17px;color:#a17a4a;opacity:.75}
.gbe-order[data-gbe-group-style="golden"] .gbe-group[open] .gbe-ornament-summary .gbe-chevron{transform:rotate(180deg)}
@media(max-width:690px){.gbe-order[data-gbe-group-style="golden"] .gbe-group>:is(summary,.gbe-static-heading).gbe-ornament-summary{padding:14px 8px 12px!important}.gbe-order[data-gbe-group-style="golden"] .gbe-ornament-symbol{flex-basis:52px;width:52px;height:30px}.gbe-order[data-gbe-group-style="golden"] .gbe-ornament-divider{height:30px}}

/* v1.9.4: independent reorderable groups and accessible native picker */
.gbe-order-form>.gbe-groups{margin-bottom:13px}
.gbe-order .gbe-pickup-picker{cursor:pointer;min-width:0;-webkit-appearance:auto;appearance:auto}
.gbe-order .gbe-deadline-line{line-height:1.4;margin-top:3px}

/* v1.9.5: per-form width of the food ordering area, independent of the group heading. */
.gbe-order .gbe-group > .gbe-group-items {
  width:100%;
  max-width:var(--gbe-food-area-width,100%);
  margin-inline:auto;
  min-width:0;
  box-sizing:border-box;
}

/* A narrower food area must also reflow cards based on its own width. */
.gbe-order[data-gbe-food-area-custom="1"] .gbe-group[data-gbe-group-layout="cards"] > .gbe-group-items {
  grid-template-columns:repeat(auto-fit,minmax(min(100%,max(190px,calc((100% - 3 * var(--gbe-card-gap,16px)) * .25))),1fr));
}

/* v1.9.6: compact customer fields, consistent typography, card footers and itemized totals. */
.gbe-order[data-gbe-group-style="golden"]>h2{font-family:Georgia,'Times New Roman',serif!important}
.gbe-order .gbe-field-grid{row-gap:12px!important;column-gap:20px}
.gbe-order .gbe-field{min-width:0}
.gbe-order .gbe-field label{margin-bottom:5px!important}
.gbe-order .gbe-field input:not([type=checkbox]):not([type=radio]):not([type=hidden]),
.gbe-order .gbe-field select{min-height:44px;padding-block:8px}
.gbe-order .gbe-field-grid + .gbe-groups,.gbe-order .gbe-field-grid + .gbe-group{margin-top:24px}
.gbe-order .gbe-group[data-gbe-group-layout="cards"] .gbe-product-info{display:flex;flex-direction:column;flex:1 1 auto}
.gbe-order .gbe-group[data-gbe-group-layout="cards"] .gbe-product-price{display:block;margin-top:auto;padding-top:12px}
.gbe-order .gbe-group[data-gbe-group-layout="cards"] .gbe-product-deadlines{margin-top:6px;min-height:74px}
.gbe-order .gbe-group[data-gbe-group-layout="cards"] .gbe-product-deadlines:empty{min-height:0}
.gbe-order .gbe-total{display:block;padding:17px 20px}
.gbe-order .gbe-total h3{margin:0 0 12px;font-size:1.13rem}
.gbe-order .gbe-summary-scroll{max-width:100%;overflow-x:auto}
.gbe-order .gbe-summary-table{width:100%;border-collapse:collapse;font-size:.92rem}
.gbe-order .gbe-summary-table th,.gbe-order .gbe-summary-table td{padding:9px 10px;border-bottom:1px solid var(--gbe-border);text-align:left;vertical-align:top}
.gbe-order .gbe-summary-table th:nth-child(2),.gbe-order .gbe-summary-table td:nth-child(2){text-align:center;width:55px;white-space:nowrap}
.gbe-order .gbe-summary-table th:last-child,.gbe-order .gbe-summary-table td:last-child{text-align:right;white-space:nowrap}
.gbe-order .gbe-summary-table small{display:block;font-size:.83em;margin-top:3px;color:var(--gbe-muted)}
.gbe-order .gbe-total-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;padding-top:15px;font-weight:700}
@media(max-width:690px){
  .gbe-order .gbe-group[data-gbe-group-layout="list"] .gbe-product,
  .gbe-order:not([data-gbe-layout="cards"]) .gbe-group[data-gbe-group-layout="inherit"] .gbe-product{display:flex;flex-direction:column;align-items:stretch;gap:10px}
  .gbe-order .gbe-group[data-gbe-group-layout="list"] .gbe-product-image,
  .gbe-order:not([data-gbe-layout="cards"]) .gbe-group[data-gbe-group-layout="inherit"] .gbe-product-image{width:100%;height:auto;aspect-ratio:4/3;max-width:none}
  .gbe-order .gbe-group[data-gbe-group-layout="list"] .gbe-product-info,
  .gbe-order .gbe-group[data-gbe-group-layout="list"] .gbe-product-controls,
  .gbe-order .gbe-group[data-gbe-group-layout="list"] .gbe-product-extras,
  .gbe-order:not([data-gbe-layout="cards"]) .gbe-group[data-gbe-group-layout="inherit"] .gbe-product-info,
  .gbe-order:not([data-gbe-layout="cards"]) .gbe-group[data-gbe-group-layout="inherit"] .gbe-product-controls,
  .gbe-order:not([data-gbe-layout="cards"]) .gbe-group[data-gbe-group-layout="inherit"] .gbe-product-extras{width:100%;min-width:0}
  .gbe-order .gbe-group[data-gbe-group-layout="list"] .gbe-product-controls,
  .gbe-order:not([data-gbe-layout="cards"]) .gbe-group[data-gbe-group-layout="inherit"] .gbe-product-controls{justify-content:center;margin-top:auto}
  .gbe-order .gbe-group[data-gbe-group-layout="cards"] .gbe-product-deadlines{min-height:0}
  .gbe-order .gbe-summary-table th,.gbe-order .gbe-summary-table td{padding:8px 5px}
}


/* v1.9.7 – egységes, jól olvasható rendelésösszesítő.
   Az Astrid / child theme táblázat- és strong-szabályait is felülírja,
   de csak a rendelésösszesítőn belül. */
.gbe-order .gbe-total{
  display:block;
  padding:20px 22px;
  border:1px solid var(--gbe-border,#e9dfd5);
  border-radius:12px;
  background:#faf6ef;
  color:var(--gbe-ink,#26221d);
  font-family:inherit!important;
  font-size:16px!important;
  line-height:1.45;
}
.gbe-order .gbe-total h3{
  margin:0 0 15px;
  padding:0;
  color:inherit;
  font-family:inherit!important;
  font-size:19px!important;
  font-weight:700!important;
  line-height:1.35;
  letter-spacing:normal;
  text-transform:none;
}
.gbe-order .gbe-summary-scroll{max-width:100%;overflow-x:auto}
.gbe-order .gbe-summary-table{
  width:100%;
  min-width:0;
  margin:0;
  border:1px solid var(--gbe-border,#e9dfd5);
  border-collapse:collapse;
  background:#fff;
  color:inherit;
  font-family:inherit!important;
  font-size:15px!important;
  line-height:1.4;
  letter-spacing:normal;
  text-transform:none;
}
.gbe-order .gbe-summary-table thead{background:#f3ece3}
.gbe-order .gbe-summary-table th,
.gbe-order .gbe-summary-table td{
  padding:11px 13px;
  border:0;
  border-bottom:1px solid var(--gbe-border,#e9dfd5);
  background:transparent;
  color:inherit;
  font-family:inherit!important;
  font-size:15px!important;
  font-style:normal;
  font-weight:400!important;
  line-height:1.45;
  letter-spacing:normal;
  text-transform:none;
  text-align:left;
  vertical-align:middle;
}
.gbe-order .gbe-summary-table th{
  font-size:14px!important;
  font-weight:700!important;
}
.gbe-order .gbe-summary-table th:nth-child(2),
.gbe-order .gbe-summary-table td:nth-child(2){text-align:center;width:64px;white-space:nowrap}
.gbe-order .gbe-summary-table th:last-child,
.gbe-order .gbe-summary-table td:last-child{text-align:right;white-space:nowrap}
.gbe-order .gbe-summary-table tbody tr:last-child td{border-bottom:0}
.gbe-order .gbe-summary-table td strong{
  font-family:inherit!important;
  font-size:15px!important;
  font-weight:600!important;
  line-height:inherit;
}
.gbe-order .gbe-summary-table td small{
  display:block;
  margin:3px 0 0;
  color:var(--gbe-muted,#6e665d);
  font-family:inherit!important;
  font-size:13px!important;
  font-weight:400!important;
  line-height:1.4;
}
.gbe-order .gbe-summary-items tr:only-child td[colspan="3"]{
  padding:17px 13px;
  color:var(--gbe-muted,#6e665d);
  font-family:inherit!important;
  font-size:15px!important;
  font-weight:400!important;
  text-align:center;
}
.gbe-order .gbe-total-footer{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:12px;
  padding-top:17px;
  color:inherit;
  font-family:inherit!important;
  font-size:17px!important;
  font-weight:700!important;
  line-height:1.4;
}
.gbe-order .gbe-total-footer .gbe-total-amount{
  color:inherit;
  font-family:inherit!important;
  font-size:20px!important;
  font-weight:700!important;
  white-space:nowrap;
}
@media(max-width:690px){
  .gbe-order .gbe-total{padding:15px 12px;font-size:15px!important}
  .gbe-order .gbe-total h3{font-size:18px!important}
  .gbe-order .gbe-summary-table th,.gbe-order .gbe-summary-table td{padding:9px 7px;font-size:14px!important}
  .gbe-order .gbe-summary-table th{font-size:13px!important}
  .gbe-order .gbe-summary-table td strong{font-size:14px!important}
  .gbe-order .gbe-summary-table th:nth-child(2),.gbe-order .gbe-summary-table td:nth-child(2){width:40px}
  .gbe-order .gbe-total-footer{font-size:16px!important}
  .gbe-order .gbe-total-footer .gbe-total-amount{font-size:18px!important}
}

/* v1.9.8: compact, readable checkout controls; scoped to the public order form.
   The admin-configured button font size and B/U/I remain effective. */
.gbe-order form.gbe-order-form > .gbe-submit,
.gbe-order .gbe-submit{
  display:inline-block;
  width:auto;
  max-width:100%;
  min-width:0;
  min-height:46px;
  padding:12px 22px;
  margin:0;
  border:0;
  border-radius:9px;
  box-sizing:border-box;
  font-family:inherit!important;
  line-height:1.3!important;
  letter-spacing:normal!important;
  text-transform:none!important;
  white-space:normal;
  overflow-wrap:break-word;
  vertical-align:middle;
  cursor:pointer;
}
.gbe-order .gbe-privacy{margin:20px 0 22px}
.gbe-order .gbe-privacy > label{
  display:flex!important;
  flex-direction:row;
  align-items:center;
  gap:11px;
  margin:0;
  line-height:1.45;
  cursor:pointer;
}
.gbe-order .gbe-privacy input[type="checkbox"][name="gbe_privacy"]{
  -webkit-appearance:checkbox!important;
  appearance:auto!important;
  display:block!important;
  width:20px!important;
  height:20px!important;
  min-width:20px!important;
  min-height:20px!important;
  max-width:20px!important;
  max-height:20px!important;
  flex:0 0 20px!important;
  margin:0!important;
  padding:0!important;
  border-radius:4px;
  accent-color:var(--gbe-accent,#ad6c22);
  box-shadow:none;
  vertical-align:middle;
  cursor:pointer;
}
.gbe-order .gbe-privacy > label > span{
  display:block;
  min-width:0;
  line-height:1.45;
}
@media(max-width:480px){
  .gbe-order .gbe-submit{padding:12px 18px;min-height:46px}
  .gbe-order .gbe-privacy input[type="checkbox"][name="gbe_privacy"]{
    width:22px!important;height:22px!important;
    min-width:22px!important;min-height:22px!important;
    max-width:22px!important;max-height:22px!important;
    flex-basis:22px!important;
  }
}

/* v1.9.9: non-interactive category headings and per-category minimum warnings. */
.gbe-order .gbe-group-static > .gbe-static-heading{cursor:default!important;user-select:text}
.gbe-order .gbe-group-minimum-notice{margin:0 15px 12px;color:#8b3116;font-size:14px;line-height:1.45;font-weight:600}
.gbe-order .gbe-group-minimum-notice:empty{display:none}

/* v1.10.1 – minimum alerts shown both below the relevant group and before the order summary. */
.gbe-order .gbe-minimum-notice,
.gbe-order .gbe-group-minimum-notice {
  box-sizing:border-box;
  display:block;
  background:#791d38 !important;
  color:#fff !important;
  border:1px solid #791d38;
  border-radius:8px;
  padding:12px 16px;
  font-size:15px;
  font-weight:600;
  line-height:1.5;
  white-space:pre-line;
  overflow-wrap:anywhere;
  box-shadow:none;
}
.gbe-order .gbe-minimum-notice{margin:12px 0 16px;}
.gbe-order .gbe-group-minimum-notice{margin:12px 15px 16px;}
.gbe-order .gbe-minimum-notice:empty,
.gbe-order .gbe-group-minimum-notice:empty{display:none;}
@media(max-width:690px){
  .gbe-order .gbe-minimum-notice,
  .gbe-order .gbe-group-minimum-notice{font-size:14px;padding:10px 12px;}
}

/* 1.11.0 – érintésbarát, lenyitható átvételi időpontválasztó */
.gbe-order .gbe-pickup-date{max-width:340px;cursor:pointer}
.gbe-order .gbe-pickup-time-panel{margin-top:13px;max-width:620px}
.gbe-order .gbe-pickup-time-caption{font-size:.94rem;font-weight:700;margin-bottom:10px}
.gbe-order .gbe-pickup-time-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.gbe-order .gbe-pickup-slot{display:flex;align-items:center;justify-content:center;min-height:47px;padding:9px 6px;border:1px solid #cbbeb5;border-radius:9px;background:#fff;color:#382e2c;font:inherit;font-weight:650;cursor:pointer;touch-action:manipulation;transition:background-color .12s,border-color .12s}
.gbe-order .gbe-pickup-slot:hover{border-color:#750e24;background:#fff2f4}
.gbe-order .gbe-pickup-slot.is-selected,.gbe-order .gbe-pickup-slot[aria-pressed=true]{background:#800e2b;color:#fff;border-color:#800e2b}
.gbe-order .gbe-pickup-slot:focus-visible,.gbe-order .gbe-pickup-expand:focus-visible{outline:3px solid #b87928;outline-offset:2px}
.gbe-order .gbe-pickup-expand{display:block;width:100%;margin-top:11px;min-height:43px;padding:9px;border:1px solid #9d6231;border-radius:9px;background:#fff;color:#750e24;font:inherit;font-weight:700;cursor:pointer}
.gbe-order .gbe-pickup-expand[hidden]{display:none}
.gbe-order .gbe-pickup-status{margin-top:8px;color:#6d625d;font-size:.86rem}
@media(max-width:690px){.gbe-order .gbe-pickup-time-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.gbe-order .gbe-pickup-slot{min-height:48px}.gbe-order .gbe-pickup-date{max-width:100%}}

/* v1.11.1 – full-width, compact pickup time selection (desktop and mobile). */
.gbe-order .gbe-field-grid > .gbe-field-datetime,
.gbe-order .gbe-field-grid > .gbe-pickup-field-wrapper{grid-column:1/-1}
.gbe-order .gbe-pickup-time-panel{width:100%;max-width:none;min-width:0}
.gbe-order .gbe-pickup-time-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:6px}
.gbe-order .gbe-pickup-slot{min-width:0;min-height:35px;padding:5px 6px;font-size:13px!important;line-height:1.2!important}
.gbe-order .gbe-pickup-expand{min-height:36px;padding:6px 8px;font-size:13px!important;line-height:1.3!important}
@media(max-width:690px){
  .gbe-order .gbe-pickup-time-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
  .gbe-order .gbe-pickup-slot{min-height:40px;padding:5px 4px;font-size:12px!important}
}

/* v1.11.4 – Prevent theme-wide letter spacing and uppercase rules from
   distorting the compact time buttons and their labels. */
.gbe-order .gbe-pickup-time-panel .gbe-pickup-slot,
.gbe-order .gbe-pickup-time-panel .gbe-pickup-expand,
.gbe-order .gbe-pickup-time-panel .gbe-pickup-time-caption,
.gbe-order .gbe-pickup-time-panel .gbe-pickup-status{
  letter-spacing:normal!important;
  word-spacing:normal!important;
  text-transform:none!important;
  font-family:inherit!important;
  white-space:normal;
}
.gbe-order .gbe-pickup-time-panel .gbe-pickup-slot{
  font-size:13px!important;
  padding:5px 6px!important;
  line-height:1.2!important;
}
.gbe-order .gbe-pickup-time-panel .gbe-pickup-expand{
  font-size:13px!important;
  padding:6px 8px!important;
}
@media(max-width:690px){
  .gbe-order .gbe-pickup-time-panel .gbe-pickup-slot{font-size:12px!important;padding:5px 4px!important}
}

/* Keep the date beside the preceding contact field, and the time grid on its
   own full-width row. 1.11.1 had forced the whole date field to span both columns. */
.gbe-order .gbe-field-grid > .gbe-field-datetime,
.gbe-order .gbe-field-grid > .gbe-pickup-field-wrapper{grid-column:span var(--gbe-span,1)}
.gbe-order .gbe-field-grid > .gbe-pickup-time-panel{grid-column:1/-1;margin-top:0}
@media(max-width:690px){
  .gbe-order .gbe-field-grid > .gbe-field-datetime,
  .gbe-order .gbe-field-grid > .gbe-pickup-field-wrapper{grid-column:1/-1}
}

/* v1.12.0 — compact, readable order dashboard (public viewer and WP admin). */
.gbe-viewer{max-width:1380px;width:min(1380px,calc(100% - 28px));padding:clamp(18px,2.3vw,30px);letter-spacing:normal}
.gbe-viewer h2{font-size:clamp(27px,3vw,38px);margin-bottom:22px;letter-spacing:normal}
.gbe-viewer .gbe-filters,.gbe-admin .gbe-filters{display:grid;grid-template-columns:minmax(130px,.8fr) minmax(190px,1.25fr) minmax(150px,.85fr) minmax(150px,.85fr) auto;gap:12px 15px;align-items:end;margin:0 0 18px}
.gbe-viewer .gbe-filters label,.gbe-admin .gbe-filters label{display:flex;flex-direction:column;gap:7px;min-width:0;font-size:13px;font-weight:700;letter-spacing:normal}
.gbe-viewer .gbe-filters :is(input,select),.gbe-admin .gbe-filters :is(input,select){width:100%;min-width:0;min-height:45px;border:1px solid #d5cbc0;border-radius:9px;background:#fff;color:#302920;font:inherit;font-size:14px;letter-spacing:normal;padding:9px 12px}
.gbe-viewer .gbe-filters .gbe-filter-submit,.gbe-admin .gbe-filters .gbe-filter-submit{display:inline-flex;justify-content:center;align-items:center;gap:9px;min-height:45px;padding:9px 20px;border:0;border-radius:9px;background:#a96b22;color:#fff;font-size:14px;font-weight:750;letter-spacing:.04em;cursor:pointer;white-space:nowrap}
.gbe-viewer .gbe-filters .gbe-filter-submit:hover,.gbe-admin .gbe-filters .gbe-filter-submit:hover{background:#895318}
.gbe-result-count{margin:8px 0 12px!important;font-size:13px!important;letter-spacing:normal}
.gbe-order-legend{margin:10px 0 17px!important}
.gbe-order-legend span{padding:6px 12px;border-radius:8px;font-size:12px;letter-spacing:normal}
.gbe-viewer .gbe-table-scroll,.gbe-admin .gbe-table-scroll{max-width:100%;overflow-x:auto;border:1px solid #e9e1d7;border-radius:13px;background:#fff}
.gbe-viewer .gbe-orders-table,.gbe-admin .gbe-orders-table{width:100%;min-width:960px;border-collapse:separate;border-spacing:0;table-layout:auto;background:#fff;font-family:inherit;font-size:14px;line-height:1.45;letter-spacing:normal}
.gbe-viewer .gbe-orders-table th,.gbe-admin .gbe-orders-table th{padding:14px 13px;background:#f2ede5;color:#2c2824;font-size:13px;font-weight:750;text-align:left;letter-spacing:normal;white-space:nowrap;border-bottom:1px solid #e4dace}
.gbe-viewer .gbe-orders-table td,.gbe-admin .gbe-orders-table td{padding:17px 13px;border-bottom:1px solid #eee6dc;vertical-align:middle;overflow-wrap:normal;word-break:normal;hyphens:none;color:#302920;letter-spacing:normal}
.gbe-viewer .gbe-orders-table tbody tr:last-child td,.gbe-admin .gbe-orders-table tbody tr:last-child td{border-bottom:0}
.gbe-viewer .gbe-orders-table tbody tr:hover td,.gbe-admin .gbe-orders-table tbody tr:hover td{box-shadow:inset 0 0 0 9999px rgba(171,114,43,.025)}
.gbe-orders-table .gbe-order-id{font-weight:750;text-align:center!important;white-space:nowrap;width:48px}
.gbe-orders-table .gbe-order-datetime{white-space:nowrap;min-width:116px;font-variant-numeric:tabular-nums}
.gbe-orders-table .gbe-order-datetime>span,.gbe-orders-table .gbe-order-datetime>small{display:block;white-space:nowrap}
.gbe-orders-table .gbe-order-datetime>small{font-size:13px;color:#64594d;margin:4px 0 0}
.gbe-orders-table .gbe-order-customer{min-width:166px}
.gbe-orders-table .gbe-order-customer>strong,.gbe-orders-table .gbe-order-customer>span{display:block;letter-spacing:normal}
.gbe-orders-table .gbe-order-customer>strong{font-size:15px;font-weight:750}
.gbe-orders-table .gbe-order-customer>span{font-size:13px;white-space:nowrap;margin-top:4px}
.gbe-orders-table .gbe-order-items{min-width:215px;max-width:440px;font-size:13px;line-height:1.48;overflow-wrap:break-word}
.gbe-orders-table .gbe-order-items>div+div{margin-top:2px}
.gbe-orders-table .gbe-order-amount{white-space:nowrap;font-weight:800;font-variant-numeric:tabular-nums;font-size:15px;min-width:102px}
.gbe-orders-table .gbe-order-amount>small{display:block;font-size:11px;white-space:normal}
.gbe-orders-table .gbe-status-cell{min-width:92px;width:96px}
.gbe-orders-table .gbe-status-label{display:inline-block;white-space:nowrap;border-radius:8px;padding:7px 11px;font-size:12px;font-weight:800;letter-spacing:normal}
.gbe-orders-table .gbe-status-active{background:#d8f2e2;color:#14512d!important}
.gbe-orders-table .gbe-status-closed{background:#dfe9f5;color:#234c70!important}
.gbe-orders-table .gbe-order-actions{min-width:114px;width:120px;white-space:nowrap}
.gbe-orders-table .gbe-order-action-buttons{display:flex;align-items:center;justify-content:flex-end;gap:9px}
.gbe-orders-table .gbe-order-action-buttons form{margin:0!important;padding:0!important;display:inline-flex}
.gbe-orders-table .gbe-order-action-buttons button{display:inline-flex!important;align-items:center;justify-content:center;width:42px!important;min-width:42px;max-width:42px;height:42px;min-height:42px!important;padding:0!important;border:0!important;border-radius:9px!important;color:#fff!important;cursor:pointer;line-height:1!important;box-shadow:0 2px 5px rgba(0,0,0,.09);transition:filter .15s,transform .15s}
.gbe-orders-table .gbe-order-action-buttons button:hover{filter:brightness(.9);transform:translateY(-1px)}
.gbe-orders-table .gbe-order-action-buttons button:focus-visible{outline:3px solid #bb873e;outline-offset:3px}
.gbe-orders-table .gbe-order-action-buttons .gbe-order-status-button{background:#164566!important}
.gbe-orders-table .gbe-order-action-buttons .gbe-order-delete-button{background:#dc4850!important}
.gbe-orders-table .gbe-order-action-buttons svg{display:block;width:19px;height:19px;flex:none;stroke:#fff!important}
.gbe-orders-table .gbe-order-details{min-width:0;margin-top:7px;position:relative}
.gbe-orders-table .gbe-order-details>summary{display:inline-block;list-style:none;cursor:pointer;color:#87571f!important;text-decoration:underline;text-underline-offset:3px;font-size:12px;font-weight:650;letter-spacing:normal}
.gbe-orders-table .gbe-order-details>summary::-webkit-details-marker{display:none}
.gbe-orders-table .gbe-order-details>summary::after{content:' ▾';text-decoration:none}
.gbe-orders-table .gbe-order-details[open]>summary::after{content:' ▴'}
.gbe-orders-table .gbe-order-details-content{min-width:220px;margin-top:10px;padding:12px;border:1px solid #e5d9c9;border-radius:8px;background:#fffdfa;white-space:normal;font-size:12px;box-shadow:0 2px 8px #0000000d}
.gbe-orders-table .gbe-order-details-content p{margin:0 0 7px;overflow-wrap:anywhere}
.gbe-orders-table .gbe-order-details-content dl{margin:7px 0;min-width:0}
.gbe-orders-table .gbe-order-details-content dt{margin-top:6px}
.gbe-orders-table .gbe-order-details-content dd{margin:0 0 6px}
.gbe-orders-table .gbe-orders-empty{text-align:center;padding:34px!important;color:#72695e}
.gbe-viewer .gbe-orders-table tbody tr.gbe-pickup-today>td,.gbe-admin .gbe-orders-table tbody tr.gbe-pickup-today>td{background:#e7f6ec!important;color:#263c2b!important}
.gbe-viewer .gbe-orders-table tbody tr.gbe-pickup-tomorrow>td,.gbe-admin .gbe-orders-table tbody tr.gbe-pickup-tomorrow>td{background:#fff0c8!important;color:#49371a!important}
/* Preserve white icon glyphs and colored status badges on highlighted rows. */
.gbe-orders-table tbody tr.gbe-pickup-today .gbe-order-action-buttons svg,.gbe-orders-table tbody tr.gbe-pickup-tomorrow .gbe-order-action-buttons svg{stroke:#fff!important}
.gbe-orders-table tbody tr.gbe-pickup-today .gbe-order-action-buttons button,.gbe-orders-table tbody tr.gbe-pickup-tomorrow .gbe-order-action-buttons button{color:#fff!important}
@media(max-width:1120px){.gbe-viewer .gbe-filters,.gbe-admin .gbe-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.gbe-viewer .gbe-filters .gbe-filter-submit,.gbe-admin .gbe-filters .gbe-filter-submit{grid-column:1/-1}}
@media(max-width:620px){.gbe-viewer{width:100%;padding:14px}.gbe-viewer .gbe-filters,.gbe-admin .gbe-filters{gap:10px}.gbe-viewer .gbe-filters label:nth-child(2),.gbe-admin .gbe-filters label:nth-child(2){grid-column:1/-1;grid-row:1}.gbe-viewer .gbe-orders-table,.gbe-admin .gbe-orders-table{min-width:870px;font-size:13px}.gbe-viewer .gbe-orders-table td,.gbe-admin .gbe-orders-table td{padding:12px 10px}}

/* v1.12.4 – single extra: clickable checkbox + compact pill inside food info.
   Does not occupy an additional product grid row (unlike the old extras block). */
.gbe-order .gbe-product-info .gbe-extra-single{
  display:block;grid-column:auto;order:initial;flex:none;
  width:100%;margin:7px 0 0;padding:0;min-width:0;
}
.gbe-order .gbe-product-info .gbe-extra-single .gbe-extra-choice{
  display:inline-flex!important;align-items:center;gap:8px;
  max-width:100%;margin:0!important;padding:0;
  cursor:pointer;user-select:none;font-weight:600!important;
  line-height:1.25;letter-spacing:normal;text-transform:none;
}
.gbe-order .gbe-product-info .gbe-extra-single input.gbe-extra{
  appearance:auto;-webkit-appearance:checkbox;accent-color:#8a2934;
  width:18px;height:18px;min-width:18px;min-height:18px;
  margin:0!important;flex:none;cursor:pointer;
}
.gbe-order .gbe-product-info .gbe-extra-single .gbe-extra-pill{
  display:inline-block;max-width:100%;padding:5px 11px;
  border:1px solid #ead6b8;border-radius:8px;
  background:#fff3df;color:#74401c;
  font-family:inherit;font-size:13px!important;font-weight:650;
  line-height:1.3;letter-spacing:normal!important;text-transform:none!important;
  overflow-wrap:anywhere;transition:background-color .15s,border-color .15s,color .15s;
}
.gbe-order .gbe-product-info .gbe-extra-choice:hover .gbe-extra-pill{border-color:#bc8a4e;background:#fbe7c6}
.gbe-order .gbe-product-info .gbe-extra-choice:has(input:checked) .gbe-extra-pill{
  background:#812b36;border-color:#812b36;color:#fff;
}
.gbe-order .gbe-product-info .gbe-extra-choice:has(input:focus-visible) .gbe-extra-pill{
  outline:2px solid var(--gbe-accent);outline-offset:3px;
}
/* Future products with several extras use a disclosure, rather than a tall open list. */
.gbe-order .gbe-extras-many>summary{
  display:inline-flex;align-items:center;gap:7px;cursor:pointer;
  padding:5px 11px;border:1px solid #ead6b8;border-radius:8px;
  background:#fff3df;color:#74401c;font-size:13px;font-weight:650;
  list-style:none;
}
.gbe-order .gbe-extras-many>summary::-webkit-details-marker{display:none}
.gbe-order .gbe-extras-many>summary::after{content:' ▾'}
.gbe-order .gbe-extras-many[open]>summary::after{content:' ▴'}
.gbe-order .gbe-extras-many>div{margin-top:8px}

/* v1.12.5 – tablet order dashboard (iPad 9: 810 × 1080 CSS px).
   Hide only the order creation timestamp; it remains available in the details modal.
   Keep the scheduled meal date/time visible and avoid horizontal table scrolling. */
@media (min-width:740px) and (max-width:1180px){
  .gbe-viewer .gbe-orders-table,.gbe-admin .gbe-orders-table{
    width:100%;min-width:0;table-layout:fixed;font-size:12px;line-height:1.35;
  }
  .gbe-viewer .gbe-orders-table th:nth-child(2),
  .gbe-viewer .gbe-orders-table td:nth-child(2),
  .gbe-admin .gbe-orders-table th:nth-child(2),
  .gbe-admin .gbe-orders-table td:nth-child(2){display:none}
  .gbe-viewer .gbe-orders-table th,.gbe-admin .gbe-orders-table th{padding:10px 5px;font-size:11px}
  .gbe-viewer .gbe-orders-table td,.gbe-admin .gbe-orders-table td{padding:11px 5px}
  .gbe-orders-table th:nth-child(1){width:4%}
  .gbe-orders-table th:nth-child(3){width:15%}
  .gbe-orders-table th:nth-child(4){width:18%}
  .gbe-orders-table th:nth-child(5){width:28%}
  .gbe-orders-table th:nth-child(6){width:13%}
  .gbe-orders-table th:nth-child(7){width:9%}
  .gbe-orders-table th:nth-child(8){width:13%}
  .gbe-orders-table .gbe-order-id{width:auto}
  .gbe-orders-table .gbe-order-datetime,
  .gbe-orders-table .gbe-order-customer,
  .gbe-orders-table .gbe-order-items,
  .gbe-orders-table .gbe-order-amount,
  .gbe-orders-table .gbe-status-cell,
  .gbe-orders-table .gbe-order-actions{min-width:0;width:auto;max-width:none}
  .gbe-orders-table .gbe-order-datetime>span,
  .gbe-orders-table .gbe-order-datetime>small{white-space:normal}
  .gbe-orders-table .gbe-order-datetime>small{font-size:11px}
  .gbe-orders-table .gbe-order-customer>strong{font-size:12px;overflow-wrap:anywhere}
  .gbe-orders-table .gbe-order-customer>span{font-size:11px;white-space:normal;overflow-wrap:anywhere}
  .gbe-orders-table .gbe-order-items{font-size:11px;overflow-wrap:anywhere}
  .gbe-orders-table .gbe-order-amount{font-size:12px;white-space:normal;overflow-wrap:anywhere}
  .gbe-orders-table .gbe-status-label{padding:5px 6px;font-size:11px}
  .gbe-orders-table .gbe-order-action-buttons{gap:5px}
  .gbe-orders-table .gbe-order-action-buttons button{
    width:35px!important;min-width:35px;max-width:35px;
    height:35px;min-height:35px!important;
  }
  .gbe-orders-table .gbe-order-action-buttons svg{width:17px;height:17px}
  .gbe-orders-table .gbe-order-details-trigger{font-size:11px}
}

/* v1.12.6 — Closed orders: dark slate background takes priority over due-day highlights.
   Applied to both the public token viewer and the WordPress administration table. */
.gbe-viewer .gbe-orders-table tbody tr.gbe-row-closed > td,
.gbe-admin .gbe-orders-table tbody tr.gbe-row-closed > td{
  background:#454b54!important;
  color:#f8f9fb!important;
  border-bottom-color:#666c74!important;
}
.gbe-orders-table tbody tr.gbe-row-closed > td :is(strong,span,small,div),
.gbe-orders-table tbody tr.gbe-row-closed > td .gbe-order-datetime > small{
  color:#f8f9fb!important;
}
.gbe-orders-table tbody tr.gbe-row-closed .gbe-order-details-trigger{
  color:#ffe0a9!important;
  text-decoration-color:#ffe0a9!important;
}
.gbe-orders-table tbody tr.gbe-row-closed .gbe-order-details-trigger:hover{
  color:#fff2d9!important;
}
.gbe-orders-table tbody tr.gbe-row-closed .gbe-status-label.gbe-status-closed{
  background:#e7e9ed!important;
  color:#2d3540!important;
}
.gbe-orders-table tbody tr.gbe-row-closed .gbe-order-action-buttons button{
  color:#fff!important;
}
.gbe-orders-table tbody tr.gbe-row-closed .gbe-order-action-buttons svg{
  stroke:#fff!important;
}

/* v1.12.7 – the single extra follows the price in the same compact line.
   Keep the entire checkbox+pill a single clickable label, without changing
   the layout of multi-extra disclosures or the quantity controls. */
.gbe-order .gbe-product-info .gbe-price-extras-row{
  display:flex;align-items:center;justify-content:flex-start;
  flex-wrap:wrap;gap:5px 12px;min-width:0;margin-top:5px;
}
.gbe-order .gbe-product-info .gbe-price-extras-row .gbe-product-price{
  display:inline-block;width:auto;flex:0 0 auto;
  margin:0!important;padding:0!important;line-height:1.35;
}
.gbe-order .gbe-product-info .gbe-price-extras-row .gbe-extra-single,
.gbe-order .gbe-group[data-gbe-group-layout="cards"] .gbe-product-info .gbe-price-extras-row .gbe-extra-single{
  display:inline-flex;flex:0 1 auto;width:auto;max-width:100%;
  margin:0!important;padding:0!important;order:initial;
}
.gbe-order .gbe-product-info .gbe-price-extras-row .gbe-extra-choice{max-width:100%}
.gbe-order .gbe-group[data-gbe-group-layout="cards"] .gbe-product-info>.gbe-price-extras-row{margin-top:auto}

/* v1.13.3 – per-day menu restrictions; the warning remains vivid, controls are really disabled. */
.gbe-order .gbe-product.gbe-restricted{background:#f0f1f3!important;border-color:#d5d7db!important}
.gbe-order .gbe-product.gbe-restricted .gbe-product-image,
.gbe-order .gbe-product.gbe-restricted .gbe-product-info>:not(.gbe-restriction-warning),
.gbe-order .gbe-product.gbe-restricted .gbe-product-controls,
.gbe-order .gbe-product.gbe-restricted .gbe-product-extras{opacity:.38;filter:grayscale(1)}
.gbe-order .gbe-product.gbe-restricted :is(input,select){cursor:not-allowed}
.gbe-order .gbe-restriction-warning{display:block;color:#b4232a!important;font-size:.88rem;font-weight:800;line-height:1.4;margin:9px 0 0}
.gbe-order .gbe-restriction-warning[hidden]{display:none!important}
