/* Bakery Pro standalone customer storefront. Scoped to avoid changing wp-admin. */
:root{--bp-orange:#f45b16;--bp-orange-dark:#d94a0d;--bp-cream:#fff7f0;--bp-ink:#242424;--bp-muted:#706b67;--bp-line:#eee1d7}
.bp-storefront{box-sizing:border-box;width:min(100%,1200px);margin:0 auto;padding:clamp(12px,3vw,28px);color:var(--bp-ink);font:16px/1.5 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:#fff;border-radius:18px}
.bp-storefront *{box-sizing:border-box}
.bp-storefront header{padding:clamp(20px,5vw,42px);border-radius:20px;background:linear-gradient(135deg,#fff0e4,#fffaf6);border:1px solid #f4dfd0;margin:0 0 20px}
.bp-storefront header span{display:inline-block;color:var(--bp-orange-dark);font-size:.75rem;font-weight:800;letter-spacing:.13em}
.bp-storefront header h2{font-size:clamp(1.6rem,5vw,2.6rem);line-height:1.12;margin:8px 0;color:#28211d}
.bp-storefront header p{margin:8px 0 0;color:#6d625b}
.bp-storefront .bp-store-select{display:flex;align-items:end;gap:10px;flex-wrap:wrap;padding:16px;margin:0 0 22px;border:1px solid var(--bp-line);border-radius:16px;background:#fff}
.bp-storefront .bp-store-select label{display:grid;gap:7px;flex:1 1 240px;font-weight:700}
.bp-storefront input,.bp-storefront select,.bp-storefront button{font:inherit;min-height:46px;border-radius:11px}
.bp-storefront select{width:100%;padding:10px 12px;border:1px solid #d8cec6;background:#fff;color:var(--bp-ink)}
.bp-storefront button,.bp-storefront .bp-store-select button{border:0;background:var(--bp-orange);color:#fff;padding:11px 20px;font-weight:750;cursor:pointer}
.bp-storefront button:hover,.bp-storefront .bp-store-select button:hover{background:var(--bp-orange-dark)}
.bp-storefront .bp-store-products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.bp-storefront .bp-store-products article{min-width:0;overflow:hidden;display:flex;flex-direction:column;padding:10px;border:1px solid var(--bp-line);border-radius:16px;background:#fff;box-shadow:0 3px 14px #32160008}
.bp-storefront .bp-store-products article>a:first-of-type{margin-top:auto;display:block;text-align:center;text-decoration:none;background:var(--bp-orange);color:#fff;font-weight:750;border-radius:10px;padding:10px 8px}
.bp-storefront .bp-store-products article img{display:block;width:100%;height:clamp(125px,35vw,240px);object-fit:cover;border-radius:11px;background:var(--bp-cream);margin:0 0 9px}
.bp-storefront .bp-store-products article h3{font-size:clamp(.9rem,2.6vw,1.08rem);line-height:1.3;margin:2px 0 5px;overflow-wrap:anywhere}
.bp-storefront .bp-store-products article p{margin:0 0 10px;color:var(--bp-orange-dark);font-weight:800;font-size:1.08rem}
.bp-storefront>p:last-child{position:sticky;bottom:8px;z-index:5;display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin:20px 0 0;padding:12px;background:#fff;border:1px solid var(--bp-line);border-radius:15px;box-shadow:0 4px 22px #00000012}
.bp-storefront>p:last-child a{display:inline-block;padding:10px 15px;border-radius:10px;background:var(--bp-cream);color:var(--bp-orange-dark);font-weight:750;text-decoration:none}
/* Keep theme rules from stretching the plugin's own product cards. */
.bp-storefront img{max-width:100%;height:auto}
@media(min-width:720px){.bp-storefront .bp-store-products{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.bp-storefront .bp-store-products article{padding:14px}}
@media(min-width:1024px){.bp-storefront .bp-store-products{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:380px){.bp-storefront{padding:9px}.bp-storefront .bp-store-products{gap:8px}.bp-storefront .bp-store-products article{padding:7px}.bp-storefront .bp-store-products article img{height:112px}}

/* Branch selector shown before classic and block-based cart/checkout. */
.bp-store-select-wrap{box-sizing:border-box;max-width:100%;margin:0 0 24px;padding:18px;border:1px solid #eadfd7;border-radius:14px;background:#fffaf6;color:#30231d}
.bp-store-select-wrap .bp-store-select-title{margin:0 0 10px;font-size:1.05rem}
.bp-store-select-wrap .bp-store-select{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;margin:0}
.bp-store-select-wrap .bp-store-select label{display:grid;gap:7px;flex:1 1 240px;font-weight:600}
.bp-store-select-wrap .bp-store-select select{width:100%;min-height:44px;padding:8px 10px;border:1px solid #cfc3bb;border-radius:8px;background:#fff;color:#30231d}
.bp-store-select-wrap .bp-store-select button{min-height:44px;padding:10px 18px;border:0;border-radius:8px;background:#a94f28;color:#fff;font-weight:700;cursor:pointer}
.bp-store-select-wrap .bp-store-select button:hover{background:#833b1c}
