/* Build Your Own Bundle — wizard (Muscle Up theme) */
.byo-root{margin:24px 0;min-height:240px;font-size:15px;line-height:1.5;color:inherit;--byo-red:#e60000;--byo-ink:#141414;--byo-muted:#6b7280;--byo-line:#e5e7eb;--byo-bg:#f7f7f8;position:relative;z-index:1;float:none !important;flex:0 0 100% !important;grid-column:1 / -1 !important;}
/* the theme's Descriptions / Enquire / Reviews tabs, relocated below the wizard */
.byo-tabs-wrap{margin:28px 0 0;width:100%;float:none;clear:both;}
.byo-loading{padding:18px;text-align:center;opacity:.7;}
.byo-empty{padding:14px;text-align:center;opacity:.7;}

/* notices */
.byo-notice{border-radius:10px;padding:10px 14px;margin:0 0 14px;font-size:14px;border:1px solid;}
.byo-notice.ok{background:#f0faf2;border-color:#bfe6c7;color:#1a7f37;}
.byo-notice.err{background:#fdf3f3;border-color:#f0c9c9;color:#b32d2e;}
.byo-notice.warn{background:#fdf8ee;border-color:#f0e0bd;color:#8a6116;}
.byo-notice.info{background:#f0f6fa;border-color:#cbe2f0;color:#1c5d8a;}

/* layout — main column + sticky right panel */
.byo-layout{display:grid !important;grid-template-columns:minmax(0,1fr) 340px !important;gap:20px !important;align-items:start !important;}
.byo-main{min-width:0;}

/* steps bar — a grid: three steps per row (3-3-3). Circles are the first
 * flex item of each equal-width cell so they always align in straight
 * columns; an arrow sits in the gap to the next step in the same row. */
.byo-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 30px;margin:0 0 18px;padding:0;}
.byo-step{display:flex !important;align-items:center;gap:10px;background:none;border:0;cursor:pointer;text-align:left !important;padding:6px 0;margin:0;position:relative;min-width:0;justify-content:flex-start !important;}
/* arrow from one step to the next within the same row — steps at the end
 * of a row (every 3rd) and the last step get none */
.byo-step::after{content:'\2192';position:absolute;right:-25px;top:26px;transform:translateY(-50%);font-size:15px;font-weight:700;color:#d4d4d8;line-height:1;}
.byo-step:nth-child(3n)::after{content:none !important;}
.byo-step-num{width:40px;height:40px;border-radius:50%;background:#fff;border:2px solid var(--byo-line);color:var(--byo-ink);font-weight:700;font-size:15px;display:flex;align-items:center;justify-content:center;flex:0 0 40px;z-index:1;}
.byo-step.byo-current .byo-step-num{background:var(--byo-red);border-color:var(--byo-red);color:#fff;box-shadow:0 0 0 4px rgba(230,0,0,.12);}
.byo-step.byo-done .byo-step-num{background:var(--byo-red);border-color:var(--byo-red);color:#fff;}
.byo-step-body{display:flex;flex-direction:column;min-width:0;}
.byo-step-name{font-size:13px;font-weight:700;color:var(--byo-ink);line-height:1.3;overflow-wrap:break-word;word-break:normal;}
.byo-step-sub{font-size:11px;color:var(--byo-muted);line-height:1.3;overflow-wrap:break-word;word-break:normal;}
.byo-step:focus-visible{outline:2px solid var(--byo-red);outline-offset:2px;}

/* step content */
.byo-step-head{margin:0 0 12px;}
.byo-step-title{font-size:20px;font-weight:800;color:var(--byo-ink);margin:0 0 2px;letter-spacing:.01em;}
.byo-step-desc{margin:0;color:var(--byo-muted);font-size:13px;}
.byo-subcats{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 12px;}
.byo-subcat{border:1px solid var(--byo-line);background:#fff;color:var(--byo-ink);border-radius:999px;padding:8px 16px;font-size:13px;font-weight:600;cursor:pointer;min-height:38px;}
.byo-subcat:hover{border-color:var(--byo-red);color:var(--byo-red);}
.byo-subcat.byo-subcat-on{background:var(--byo-red);border-color:var(--byo-red);color:#fff;}

/* product cards */
.byo-chooser{position:relative;}
.byo-search{width:100%;max-width:320px;height:42px;border:1px solid var(--byo-line);border-radius:10px;padding:0 14px;margin:0 0 14px;}
.byo-search:focus-visible{outline:2px solid var(--byo-red);outline-offset:-1px;}
/* product cards — columns per breakpoint are configured in the admin
 * (Products per row: desktop / tablet / mobile), applied as CSS vars. */
.byo-cards{display:grid;grid-template-columns:repeat(var(--byo-cols-m,1),minmax(0,1fr));gap:14px;}
.byo-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--byo-line);border-radius:12px;padding:14px;transition:border-color .15s ease, box-shadow .15s ease;}
.byo-card:hover{border-color:#d4d4d8;}
.byo-card.byo-sel{border-color:var(--byo-red);box-shadow:0 0 0 1px var(--byo-red);}
.byo-card-media{position:relative;aspect-ratio:1/1;background:#f3f4f6;border-radius:8px;overflow:hidden;margin-bottom:10px;}
.byo-card-media img{width:100%;height:100%;object-fit:cover;display:block;}
.byo-card-badge{position:absolute;top:8px;left:8px;background:var(--byo-red);color:#fff;font-size:10px;font-weight:700;letter-spacing:.04em;padding:3px 8px;border-radius:999px;}
.byo-card-name{font-size:14px;font-weight:700;color:var(--byo-ink);line-height:1.3;margin-bottom:4px;}
.byo-card-desc{margin:0 0 6px;padding:0;list-style:none;}
.byo-card-desc li{font-size:12px;color:var(--byo-muted);line-height:1.5;padding-left:12px;position:relative;}
.byo-card-desc li::before{content:'\2022';position:absolute;left:2px;color:var(--byo-red);}
/* description capped at 100px — Read more expands it */
.byo-card-desc{max-height:100px;overflow:hidden;transition:max-height .2s ease;}
.byo-card-desc.byo-open{max-height:none;}
.byo-readmore{background:none;border:0;color:var(--byo-red);font-size:12px;font-weight:700;cursor:pointer;padding:0;margin:0 0 6px;text-decoration:underline;display:block;}
.byo-card-price{font-size:16px;font-weight:800;color:var(--byo-ink);margin-bottom:4px;}
.byo-card-stock{font-size:12px;margin-bottom:4px;}
.byo-card-stock.byo-out{color:#b32d2e;font-weight:700;}
/* quick view (eye icon) on card media, and the popup it opens */
.byo-qv-btn{position:absolute;top:8px;right:8px;width:34px;height:34px;display:flex;align-items:center;justify-content:center;border:0;border-radius:50%;background:rgba(255,255,255,.92);color:var(--byo-ink);cursor:pointer;box-shadow:0 2px 8px rgba(10,12,16,.18);padding:0;}
.byo-qv-btn:hover{background:var(--byo-red);color:#fff;}
.byo-qv{position:fixed;inset:0;background:rgba(10,12,16,.6);display:flex;align-items:center;justify-content:center;z-index:99999;padding:20px;}
.byo-qv-inner{position:relative;background:#fff;border-radius:14px;max-width:820px;width:100%;max-height:86vh;overflow-y:auto;padding:26px;}
.byo-qv-close{position:absolute;top:12px;right:12px;width:36px;height:36px;border:0;border-radius:50%;background:#f3f4f6;color:var(--byo-ink);font-size:20px;cursor:pointer;z-index:1;}
.byo-qv-close:hover{background:#e5e7eb;}
.byo-qv-grid{display:grid;grid-template-columns:280px minmax(0,1fr);gap:22px;}
.byo-qv-media{border-radius:10px;overflow:hidden;background:#f3f4f6;aspect-ratio:1/1;align-self:start;}
.byo-qv-media img{width:100%;height:100%;object-fit:cover;display:block;}
.byo-qv-name{margin:0 0 6px;font-size:20px;font-weight:800;color:var(--byo-ink);}
.byo-qv-price{font-size:18px;font-weight:800;color:var(--byo-red);margin-bottom:10px;}
.byo-qv-price del{opacity:.5;font-weight:600;}
.byo-qv-price ins{text-decoration:none;}
.byo-qv-short{margin:0 0 10px;color:var(--byo-muted);font-size:14px;}
.byo-qv-desc{font-size:14px;color:#374151;line-height:1.6;}
.byo-qv-desc p{margin:0 0 10px;}
.byo-qv-meta{margin:14px 0;border-top:1px solid var(--byo-line);padding-top:10px;display:flex;flex-direction:column;gap:6px;}
.byo-qv-meta-row{display:flex;gap:12px;font-size:13px;}
.byo-qv-meta-row span:first-child{flex:0 0 110px;font-weight:700;color:var(--byo-ink);}
.byo-qv-meta-row span:last-child{color:var(--byo-muted);}
.byo-qv-link{display:inline-block;font-size:13px;font-weight:700;color:var(--byo-red);text-decoration:underline;}
@media (max-width: 700px){.byo-qv-grid{grid-template-columns:1fr;}.byo-qv-media{max-width:280px;}}
.byo-vars{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:6px;}
.byo-var-select{height:36px;border:1px solid var(--byo-line);border-radius:8px;padding:0 8px;font-size:13px;max-width:100%;}
.byo-var-note{font-size:13px;color:#8a6116;font-weight:600;}
.byo-card-foot{display:flex;align-items:center;gap:10px;margin-top:auto;padding-top:8px;}
.byo-radio{width:20px;height:20px;border-radius:50%;border:2px solid var(--byo-line);display:flex;align-items:center;justify-content:center;font-size:11px;color:#fff;flex:0 0 20px;}
.byo-card.byo-sel .byo-radio{background:var(--byo-red);border-color:var(--byo-red);}
.byo-select{display:flex !important;align-items:center !important;justify-content:center !important;flex:1 1 auto;min-height:44px !important;height:auto !important;border:0 !important;border-radius:999px !important;background:var(--byo-red) !important;color:#fff !important;font-size:13px !important;font-weight:700 !important;letter-spacing:.03em !important;line-height:1 !important;text-align:center !important;text-indent:0 !important;vertical-align:middle !important;cursor:pointer;padding:0 16px !important;margin:0 auto !important;}
.byo-select:hover:not([disabled]){filter:brightness(.93);}
.byo-select[disabled],.byo-select.byo-disabled{background:#d1d5db;cursor:not-allowed;}
.byo-card.byo-sel .byo-select{background:#fff;color:var(--byo-red);box-shadow:inset 0 0 0 2px var(--byo-red);}
.byo-more{margin:14px auto 0;display:block;min-height:42px;padding:0 20px;border:1px solid var(--byo-line);background:#fff;border-radius:999px;cursor:pointer;font-size:14px;}
.byo-more:hover{border-color:var(--byo-red);color:var(--byo-red);}

/* right panel — dark "YOUR GYM" card */
.byo-panel{position:relative;background:#16181d;color:#fff;border-radius:14px;padding:18px 16px 16px;box-shadow:0 10px 30px rgba(10,12,16,.18);width:340px !important;max-width:340px !important;box-sizing:border-box !important;align-self:start !important;}
.byo-panel-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px;}
.byo-panel-title{font-size:17px;font-weight:800;letter-spacing:.03em;}
.byo-panel-prog{font-size:11px;color:#b6bcc6;}
.byo-segs{display:flex;gap:4px;margin-bottom:12px;}
.byo-seg{flex:1;height:4px;border-radius:2px;background:#3a3f47;}
.byo-seg.byo-seg-done{background:var(--byo-red);}
.byo-seg.byo-seg-cur{background:#8c8f96;}
.byo-hero{border-radius:10px;overflow:hidden;aspect-ratio:16/10;background:linear-gradient(135deg,#23262d,#111318);margin-bottom:12px;display:flex;align-items:center;justify-content:center;}
.byo-hero img{width:100%;height:100%;object-fit:cover;display:block;}
.byo-listhead{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px;}
.byo-listhead span{font-size:12px;font-weight:700;letter-spacing:.06em;color:#c9ced7;}
.byo-clear{background:none;border:0;color:#b6bcc6;font-size:11px;cursor:pointer;text-decoration:underline;padding:0;}
.byo-clear:hover{color:#fff;}
.byo-clear[disabled]{opacity:.4;cursor:default;}
.byo-panel-list{max-height:300px;overflow-y:auto;margin-bottom:8px;display:flex;flex-direction:column;gap:10px;width:100% !important;max-width:100% !important;box-sizing:border-box !important;}
.byo-panel-empty{font-size:13px;color:#9aa1ac;margin:6px 0;}
/* Every property forced so theme styles can never crush the row into a
 * one-character-per-line column. Text wraps at words only. */
.byo-prow{display:flex !important;flex-direction:row !important;align-items:center !important;gap:10px !important;background:#1e2127;border-radius:10px;padding:10px;width:100% !important;max-width:100% !important;box-sizing:border-box !important;min-width:0 !important;}
.byo-prow-img{width:44px !important;height:44px !important;border-radius:8px;object-fit:cover;background:#2a2e35;flex:0 0 44px !important;max-width:44px !important;display:block !important;}
.byo-prow-body{flex:1 1 0% !important;min-width:0 !important;max-width:none !important;width:auto !important;display:block !important;}
.byo-prow-name,.byo-prow-price,.byo-prow-links{display:block !important;width:100% !important;min-width:0 !important;max-width:none !important;box-sizing:border-box !important;}
.byo-prow-name{font-size:13px !important;font-weight:700 !important;color:#fff !important;line-height:1.35 !important;overflow-wrap:break-word !important;word-break:normal !important;white-space:normal !important;hyphens:none !important;text-align:left !important;writing-mode:horizontal-tb !important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
/* chosen variation (weights / increments) under the item name */
.byo-prow-var{display:block !important;width:100% !important;min-width:0 !important;font-size:12px !important;font-weight:600 !important;color:#4ade80 !important;line-height:1.4 !important;text-align:left !important;overflow-wrap:break-word !important;margin:2px 0 0 !important;}
.byo-prow-price{font-size:13px;color:#c9ced7;}
/* rubbish bin button on each selected item row */
.byo-prow-del{display:flex;align-items:center;justify-content:center;width:34px;height:34px;flex:0 0 34px;border:0;border-radius:8px;background:#2a2e35;color:#b6bcc6;cursor:pointer;padding:0;}
.byo-prow-del:hover{background:#b32d2e;color:#fff;}
.byo-prow-qty{display:inline-flex !important;align-items:stretch !important;gap:0 !important;border:1px solid #3a3f47 !important;border-radius:8px !important;overflow:hidden;flex:0 0 auto !important;width:auto !important;max-width:none !important;background:#16181d !important;box-sizing:border-box !important;}
.byo-pq{width:30px !important;height:34px !important;min-width:30px !important;max-width:30px !important;flex:0 0 30px !important;background:none !important;border:0 !important;color:#fff !important;font-size:15px !important;margin:0 !important;padding:0 !important;cursor:pointer;display:flex;align-items:center;justify-content:center;}
.byo-pq:hover{background:#2a2e35 !important;}
.byo-pq-in{width:34px !important;height:34px !important;min-width:34px !important;max-width:34px !important;flex:0 0 34px !important;text-align:center !important;background:none !important;border:0 !important;border-left:1px solid #3a3f47 !important;border-right:1px solid #3a3f47 !important;color:#fff !important;font-size:13px !important;font-weight:600 !important;margin:0 !important;padding:0 !important;-moz-appearance:textfield;appearance:textfield;}
.byo-pq-in::-webkit-outer-spin-button,.byo-pq-in::-webkit-inner-spin-button{-webkit-appearance:none;margin:0;}
.byo-pq-in:focus{outline:none;}
.byo-totals{border-top:1px solid #2a2e35;padding-top:10px;display:flex;flex-direction:column;gap:6px;}
.byo-total-row{display:flex;justify-content:space-between;font-size:13px;color:#c9ced7;}
.byo-total-row.byo-saving{color:#4ade80;font-weight:600;}
.byo-total-row.byo-grand{font-size:16px;font-weight:800;color:#fff;border-top:1px solid #2a2e35;padding-top:8px;}
.byo-panel-note{margin:8px 0 0;font-size:11px;line-height:1.45;color:#8b919b;}
.byo-pill{display:flex;align-items:center;gap:8px;margin:10px 0;background:rgba(74,222,128,.12);border:1px solid rgba(74,222,128,.35);color:#4ade80;font-size:12px;font-weight:600;border-radius:8px;padding:8px 10px;}
.byo-cta{display:block;width:100%;min-height:50px;border:0;border-radius:10px;background:var(--byo-red);color:#fff;font-size:14px;font-weight:800;letter-spacing:.04em;cursor:pointer;}
.byo-cta:hover:not([disabled]){filter:brightness(.92);}
.byo-cta[disabled]{opacity:.6;cursor:wait;}
.byo-checkout{display:block;width:100%;min-height:46px;margin-top:10px;border:2px solid var(--byo-red);border-radius:10px;background:transparent;color:#fff;font-size:13px;font-weight:800;letter-spacing:.04em;cursor:pointer;}
.byo-checkout:hover:not([disabled]){background:var(--byo-red);}
.byo-checkout[disabled]{opacity:.4;cursor:not-allowed;}
.byo-next-note{text-align:center;font-size:11px;color:#9aa1ac;margin-top:8px;}
.byo-panel-close{display:none;}

/* mobile bottom bar */
.byo-mobile-bar{display:none;}

/* success screen */
.byo-done{display:flex;justify-content:center;padding:30px 0;}
.byo-done-card{background:#fff;border:1px solid var(--byo-line);border-radius:14px;padding:30px 26px;max-width:420px;width:100%;text-align:center;}
.byo-done-tick{width:60px;height:60px;border-radius:50%;background:var(--byo-red);color:#fff;font-size:26px;display:flex;align-items:center;justify-content:center;margin:0 auto 14px;}
.byo-done-title{margin:0 0 6px;font-size:20px;font-weight:800;color:var(--byo-ink);}
.byo-done-text{margin:0 0 16px;color:var(--byo-muted);font-size:14px;}
.byo-done-actions{display:flex;gap:10px;justify-content:center;margin-bottom:14px;}
.byo-btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 24px;border-radius:999px;font-size:14px;font-weight:700;text-decoration:none;}
.byo-btn-primary{background:var(--byo-red);color:#fff;border:0;}
.byo-btn-primary:hover{filter:brightness(.93);color:#fff;}
.byo-btn-ghost{background:#fff;color:var(--byo-red);border:2px solid var(--byo-red);}
.byo-done-again{background:none;border:0;color:var(--byo-muted);font-size:13px;cursor:pointer;text-decoration:underline;}
.byo-done-again:hover{color:var(--byo-ink);}

/* package badge on cart/mini-cart item names */
.byo-package-badge{display:inline-block;font-size:11px;font-weight:600;background:#fdeaea;color:#e60000;border:1px solid #e60000;border-radius:10px;padding:1px 8px;vertical-align:middle;white-space:nowrap;}
.byo-base-price{opacity:.6;}

/* ---------- admin (same file is enqueued on the admin settings page) ---------- */
.byo-admin-input{width:100%;max-width:420px;height:36px;border:1px solid #8c8f94;border-radius:4px;padding:0 8px;font-size:13px;box-sizing:border-box;}
textarea.byo-admin-input{height:auto;padding:6px 8px;}
.byo-card{background:#fff;border:1px solid #c3c4c7;border-radius:8px;padding:16px 20px;margin:0 0 20px;max-width:980px;}
.byo-card h3{margin:0 0 10px;}
.byo-card h4{margin:16px 0 6px;}
.byo-card .description{margin:0 0 10px;}
.byo-bar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;}
.byo-bar .button{margin-left:auto;}
.byo-row{margin:0 0 10px;}
.byo-row.byo-tight{display:flex;gap:10px;align-items:center;flex-wrap:wrap;}
.byo-lbl{display:inline-block;font-weight:600;margin-right:6px;min-width:0;}
.byo-btn-row{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:0 0 10px;}
.byo-admin-table{border-collapse:collapse;width:100%;max-width:640px;margin:0 0 8px;}
.byo-admin-table th,.byo-admin-table td{border:1px solid #dcdcde;padding:6px 10px;text-align:left;font-size:13px;}
.byo-section-row{border:1px solid #dcdcde;border-radius:8px;padding:12px 14px;margin:0 0 12px;}
.byo-section-head-row{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:8px;}
.byo-section-head-row .byo-sec-label{max-width:280px;font-weight:600;}
.byo-items-list{font-family:monospace;font-size:12px;opacity:.75;overflow-wrap:anywhere;}
/* excluded categories — a scrollable tick-list */
.byo-cat-list{max-height:220px;overflow-y:auto;border:1px solid #dcdcde;border-radius:4px;padding:8px 10px;background:#fff;max-width:640px;}
.byo-cat-row{display:block;padding:3px 0;font-size:13px;}
/* eligible items — WooCommerce-style removable tag chips */
.byo-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px;}
.byo-chips-empty{font-size:12px;color:#646970;}
.byo-chip{display:inline-flex;align-items:center;gap:6px;background:#2271b1;color:#fff;border-radius:4px;padding:4px 6px 4px 10px;font-size:12px;font-weight:600;line-height:1.4;max-width:100%;overflow-wrap:anywhere;}
.byo-chip-x{background:none;border:0;border-radius:0 4px 4px 0;color:#fff;font-size:14px;line-height:1;cursor:pointer;padding:0 4px;opacity:.7;flex:0 0 auto;}
.byo-chip:hover .byo-chip-x{opacity:1;background:rgba(255,255,255,.2);}
.byo-chip-x:hover{background:#b32d2e !important;opacity:1;}
.byo-picker{position:fixed;inset:0;background:rgba(0,0,0,.45);display:flex;align-items:center;justify-content:center;z-index:99999;padding:20px;}
.byo-picker-inner{background:#fff;border-radius:8px;padding:20px;max-width:640px;width:100%;max-height:80vh;overflow-y:auto;}
.byo-picker-list{display:flex;flex-direction:column;gap:8px;margin-top:12px;}
.byo-picker-list .button{text-align:left;}
.byo-bundle-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:12px;}
.byo-bundle-card{display:flex;gap:12px;align-items:center;border:1px solid #dcdcde;border-radius:8px;padding:12px;background:#fff;}
.byo-bundle-card img{width:64px;height:64px;object-fit:cover;border-radius:6px;background:#f0f0f1;flex:0 0 64px;}
.byo-bundle-info{display:flex;flex-direction:column;gap:4px;min-width:0;}
.byo-bundle-meta{font-size:12px;color:#646970;}
.byo-bundle-actions{display:flex;gap:8px;margin-top:2px;}
.byo-badge-ok{display:inline-block;background:#edf7ed;color:#1a7f37;border-radius:10px;padding:1px 8px;font-size:12px;}
.byo-badge-muted{display:inline-block;background:#f0f0f1;color:#646970;border-radius:10px;padding:1px 8px;font-size:12px;}

/* desktop breakout — the wizard escapes the theme's narrow single-product
 * column and spans the full viewport width (clamped so it never gets silly
 * wide), with everything scaled up to match. */
@media (min-width: 1000px) {
    /* Full bleed is measured in JS (fullbleed in bundle.js) so the real
     * viewport width minus the scrollbar is used — the pure-CSS 100vw
     * trick overflowed the window and let the panel overlap the cards.
     * The calc margins below are only the no-JS fallback. */
    .byo-root{margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);padding:0 max(24px, calc((100vw - 1440px) / 2));box-sizing:border-box;}
    .byo-layout{grid-template-columns:minmax(0,1fr) 380px !important;gap:26px !important;}
    .byo-panel{width:380px !important;max-width:380px !important;box-sizing:border-box;}
    /* bigger step bar */
    .byo-steps{gap:12px 34px;}
    .byo-step{padding:10px 0;}
    .byo-step::after{top:33px;}
    .byo-step-num{width:46px;height:46px;flex:0 0 46px;font-size:17px;}
    .byo-step-name{font-size:15px;}
    .byo-step-sub{font-size:12px;}
    .byo-step-title{font-size:26px;}
    .byo-step-desc{font-size:14px;}
    .byo-cards{gap:16px;}
    .byo-card{padding:16px;}
    .byo-card-name{font-size:15px;}
    .byo-card-price{font-size:17px;}
    .byo-search{max-width:420px;height:46px;font-size:15px;}
    .byo-subcat{padding:10px 20px;font-size:14px;min-height:42px;}
    .byo-step-head{margin:0 0 16px;}
}

/* responsive — tablet: configured tablet columns */
@media (min-width: 700px) and (max-width: 1099px) {
    .byo-cards{grid-template-columns:repeat(var(--byo-cols-t,2),minmax(0,1fr));}
}

/* responsive — laptop+: configured desktop columns */
@media (min-width: 1100px) {
    .byo-panel{position:sticky !important;top:90px !important;align-self:start !important;flex:0 0 380px !important;}
    .byo-cards{grid-template-columns:repeat(var(--byo-cols-d,3),minmax(0,1fr));}
}

/* responsive — mobile: single column, panel becomes a bottom sheet */
@media (max-width: 899px) {
    /* Escape the theme's narrow product column: the wizard stretches to the
     * real phone width — without this the whole grid (steps AND cards) is
     * squeezed into the summary column and every name turns into a
     * vertical one-letter stack. */
    /* No !important here on purpose — the JS fullbleed sets the exact
     * measured width as an inline style and must win over this fallback. */
    .byo-root{width:100vw;max-width:100vw;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);padding:0 16px;box-sizing:border-box;}
    .byo-layout{display:grid !important;grid-template-columns:1fr !important;gap:16px;}
    .byo-main{width:100% !important;max-width:100% !important;}
    .byo-cards{width:100% !important;max-width:100% !important;grid-template-columns:repeat(var(--byo-cols-m,1),minmax(0,1fr)) !important;}
    /* Step bar: 2 steps per row so every label keeps a wide, word-wrapped
     * column — 3-per-row crushed names into vertical letter stacks on
     * phones, with arrows overlapping the next step's circle. Arrows are
     * removed on mobile (they'd point across rows). */
    /* Every structural property is forced so the theme's stylesheet can
     * never crush the step names into vertical one-letter columns. */
    .byo-steps{display:grid !important;width:100% !important;max-width:100% !important;box-sizing:border-box !important;grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:8px 16px;}
    .byo-step{display:flex !important;flex-direction:row !important;align-items:center !important;justify-content:flex-start !important;gap:8px !important;width:100% !important;min-width:0 !important;box-sizing:border-box !important;}
    .byo-step::after{content:none !important;}
    .byo-step-num{width:32px;height:32px;flex:0 0 32px;font-size:13px;}
    .byo-step-body{display:flex !important;flex-direction:column !important;flex:1 1 auto !important;min-width:0 !important;width:100% !important;max-width:none !important;}
    .byo-step-name{display:block !important;width:100% !important;min-width:0 !important;max-width:none !important;font-size:12px;white-space:normal !important;word-break:normal !important;overflow-wrap:break-word !important;hyphens:none !important;writing-mode:horizontal-tb !important;text-align:left !important;line-height:1.35;}
    .byo-step-sub{display:none;}
    .byo-card{padding:10px;}
    /* Descriptions start hidden on mobile, but Read more must still expand
     * them exactly like the desktop cards — display:none would leave the
     * toggle with nothing to open. */
    .byo-card-desc{display:none;max-height:none;}
    .byo-card-desc.byo-open{display:block;}
    .byo-select{min-height:44px;}
    .byo-search{max-width:100%;}
    /* Mobile: the summary panel is a slide-in drawer from the right —
     * opened by the fixed "YOUR GYM" tab on the screen edge, or
     * automatically when an item is added — so no long scrolling is
     * needed to see where the bundle items go. */
    /* Fixed narrow tab (~44px) so no theme button style can stretch it */
    .byo-mobile-bar{display:flex !important;flex-direction:column;align-items:center;justify-content:center;gap:8px;position:fixed;top:50%;right:0;transform:translateY(-50%);z-index:99997;background:#16181d;color:#fff;border:0;border-radius:10px 0 0 10px;width:44px !important;min-width:44px !important;max-width:44px !important;padding:14px 0 !important;margin:0 !important;float:none !important;box-sizing:border-box !important;cursor:pointer;box-shadow:0 6px 18px rgba(10,12,16,.28);}
    .byo-mobile-bar .byo-tab-label{writing-mode:vertical-rl !important;text-orientation:mixed !important;white-space:nowrap !important;max-width:44px !important;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;}
    .byo-mobile-bar .byo-tab-count{min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:var(--byo-red);color:#fff;font-size:11px;font-weight:700;line-height:20px;text-align:center;}
    .byo-backdrop{display:none;}
    /* Backdrop and panel sit above the theme header (which stacks near
     * 99998+) so the drawer's top content is never hidden underneath it. */
    .byo-backdrop.byo-on{display:block;position:fixed;inset:0;background:rgba(10,12,16,.55);z-index:2147480000;}
    .byo-panel{position:fixed !important;top:0;bottom:0;left:auto;right:0;width:min(88vw,360px) !important;max-width:92vw !important;height:100vh;overflow-y:auto;border-radius:0;margin:0;z-index:2147481000;transform:translateX(105%);transition:transform .28s ease;}
    /* The drawer lives inside .byo-root, whose z-index creates a stacking
     * context — the theme header (higher up the page) would otherwise sit
     * ABOVE the drawer however high the drawer's own z-index is. While the
     * drawer is open, JS lifts .byo-root itself above the header so the
     * drawer really does cover it. */
    .byo-root.byo-drawer-open{z-index:2147482000 !important;}
    .byo-panel.byo-panel-open{transform:translateX(0);}
    .byo-panel-head{padding-right:40px;}
    .byo-panel-close{display:flex;align-items:center;justify-content:center;position:absolute;top:12px;right:12px;width:34px;height:34px;border:0;border-radius:8px;background:#2a2e35;color:#fff;font-size:18px;cursor:pointer;}
    .byo-panel-list{max-height:none;}
    .byo-hero{display:none;}
}
