/* LB-F4-W5-012: bridge between the main-site s26 header/footer and the Shop storefront CSS.
   External stylesheet only (the Shop CSP is style-src 'self'). Loaded AFTER assets/site26/site.css and the shop CSS. */

/* shop section bar under the s26 header (replaces the old sticky .lb-header; plain flow, never covers the s26 nav) */
.lb-shopbar{background:#f8fafc;border-bottom:1px solid var(--lb-line,#e2e8f0)}
.lb-shopbar .lb-wrap{display:flex;align-items:center;gap:4px 16px;min-height:52px}
.lb-shopbar-title{font-weight:700;font-size:14px;letter-spacing:-.01em;color:var(--lb-ink,#0f172a);text-decoration:none;white-space:nowrap;min-height:44px;display:inline-flex;align-items:center}
.lb-shopbar .lb-nav{display:flex;align-items:center;gap:2px;margin-left:auto;min-width:0;max-width:100%;overflow-x:auto}
.lb-shopbar .lb-nav a{flex:none;min-height:44px;display:inline-flex;align-items:center}
@media(max-width:720px){
  .lb-shopbar .lb-wrap{flex-wrap:wrap;padding-top:4px}
  .lb-shopbar .lb-nav{margin-left:0;width:100%;padding:0 0 6px}
  .lb-shopbar .lb-nav{flex-wrap:wrap;overflow-x:visible}
}

/* staging banner is sticky at top:0 (shop-v2.css); keep the s26 nav below it, mirroring the old .lb-header offsets */
.lb-stg-banner ~ .s26-nav{top:34px}
@media(max-width:720px){.lb-stg-banner ~ .s26-nav{top:38px}}

/* s26 footer sits directly under the shop notice line */
.lb-footer + .s26-foot{margin-top:0}
.s26-foot .s26-foot-grid{grid-template-columns:1.6fr repeat(5,1fr);gap:28px}
@media(max-width:960px){.s26-foot .s26-foot-grid{grid-template-columns:1fr 1fr}.s26-foot .s26-foot-grid>div:first-child{grid-column:1/-1}}
.s26-foot .s26-langs{display:flex;flex-wrap:wrap;gap:6px 14px}
.s26-foot .s26-langs a{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:24px}
@media(max-width:860px){.s26-foot .s26-langs a{min-height:44px}}

/* the shop sets a global "a{color:inherit}" and a button focus ring: keep the s26 chrome untouched by shop rules */
.s26-nav a:focus-visible,.s26-foot a:focus-visible{outline:2px solid #0d9488;outline-offset:2px}

/* LB-F4-W5-122: capacity add-on links (were buttons) */
.lb-cap-btn{display:inline-flex;align-items:center;min-height:44px;padding:.45rem .9rem;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:var(--lb-ink,#0f172a);font-weight:600;font-size:14px;text-decoration:none;cursor:pointer}
.lb-cap-btn:hover{border-color:#0d9488;color:#0f766e}
.lb-cap-btn:focus-visible{outline:3px solid #0f766e;outline-offset:3px}
.lb-cta-row .lb-cap-btn{margin:0 .5rem .5rem 0}

/* capacity order page (shop/capacity.php) */
.lb-cap-form .lb-field{display:block;margin:14px 0 0}
.lb-cap-form input[type=number],.lb-cap-form select,.lb-cap-form textarea{display:block;width:100%;max-width:420px;min-height:44px;font-size:16px;padding:8px 10px;border:1px solid #cbd5e1;border-radius:8px;box-sizing:border-box}
.lb-cap-form textarea{min-height:88px}
.lb-cap-list{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0 0}

/* w123 W5: language switcher in the add-ons header (same look as the site header; no inline styles because of style-src 'self') */
.shop-lang{position:relative}
.shop-lang>summary{cursor:pointer;display:inline-flex;align-items:center;gap:4px;padding:8px 12px;list-style:none}
.shop-lang>summary::-webkit-details-marker{display:none}
.shop-lang-pop{position:absolute;right:0;top:100%;z-index:60;min-width:150px;padding:6px;background:#fff;border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 8px 24px rgba(15,23,42,.12)}
.shop-lang-pop a{display:block;padding:9px 12px;border-radius:8px;white-space:nowrap;font-weight:500}
