/* bk167/bk169: the live site. Visitors and shoppers: no presenter bar or device frame; the store fills the window and the
   prototype's own container rules lay it out. Owners and staff keep the bar as their account bar. */
body.sf-public #pres { display: none; }
body.sf-public #stage { inset: 0; background: none; }
body.sf-public .dev-wrap { position: absolute; inset: 0; left: 0; top: 0; width: 100% !important; height: 100% !important; transform: none !important; padding: 0; border-radius: 0; box-shadow: none; background: none; }
body.sf-public .vp { width: 100% !important; height: 100% !important; border-radius: 0; }

/* bk169: no example labels on live screens (the website keeps its own illustration labels). */
.vp.v-shop .ex, .vp.v-org .ex, .vp.v-btf .ex, .vp.v-siize .ex, #mdl .ex { display: none !important; }
.vp.v-shop .ex-note:has(> .ex), .vp.v-org .ex-note:has(> .ex), .vp.v-btf .ex-note:has(> .ex), .vp.v-siize .ex-note:has(> .ex) { display: none; }

/* bk169 layout fix (approved): a sublimated product page has no thumbnail strip, so its photo sat in the 82px thumbnail
   column and spilled over the buy panel. The photo now takes the gallery's whole width. */
.gal4:has(> .main4.hard) { grid-template-columns: minmax(0, 1fr); }

/* bk169: small additions in the prototype's own language */
.tbl.prod tr.off td { opacity: .5; }
.tbl.prod tr.off td:last-child { opacity: 1; }
button.busy, .btn.busy { opacity: .6; pointer-events: none; }
.ob-own { display: flex; flex-direction: column; gap: 10px; margin: 14px 0 6px; }
.ob-own label { display: flex; flex-direction: column; gap: 5px; font-size: 12.5px; font-weight: 600; }
.ob-own input { padding: 11px 12px; border-radius: 10px; border: 1.5px solid #dcd8cf; font-size: 15px; width: 100%; }
#sf-pay-el { min-height: 120px; margin: 4px 0 8px; }
.jn-form .f2 { margin-bottom: 4px; }
.sizes button small { font-size: 10.5px; opacity: .7; margin-left: 2px; }
.sn-r a.sbtn { text-decoration: none; }

/* bk173: Our stores, in the website's own language */
.ours { background: linear-gradient(180deg, var(--bg, #faf8f4), #fff 50%); padding-top: 120px !important; padding-bottom: 96px !important; min-height: 0 !important; height: auto !important; display: block !important; }
.ours-g { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 22px; }
.ours-c { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line, #e7e3da); border-radius: 18px; overflow: hidden; color: inherit; text-decoration: none; transition: transform .25s ease, box-shadow .25s ease; }
.ours-c:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,0,0,.10); }
.ours-c .oc-img { aspect-ratio: 16 / 9; background: var(--acc, #222); overflow: hidden; }
.ours-c .oc-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.ours-c:hover .oc-img img { transform: scale(1.04); }
.ours-c .oc-b { display: block; padding: 0 22px; margin-top: -28px; position: relative; text-align: left; }
.ours-c .oc-b .smark { display: inline-block; box-shadow: 0 6px 18px rgba(0,0,0,.18); border: 3px solid #fff; border-radius: 14px; }
.ours-c .oc-b b { display: block; font: 700 21px/1.25 'Playfair Display', Georgia, serif; margin-top: 12px; color: #141414; }
.ours-c .oc-b small { display: block; font: 400 14px/1.5 Inter, system-ui, sans-serif; color: var(--muted, #666); margin-top: 4px; }
.ours-c .oc-go { display: inline-flex; align-items: center; gap: 6px; margin: 14px 22px 22px; font-family: Inter, system-ui, sans-serif; font-weight: 700; font-size: 14.5px; color: var(--acc, #111); }
.ours-cta { max-width: 1240px; margin: 56px auto 0; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.ours-cta p { margin: 0 12px 0 0; font-size: 18px; font-weight: 600; }
.ours-cta a.sbtn { text-decoration: none; }
.sn-l button.on { color: var(--ink, #111); font-weight: 700; }
.sft .sft-l { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.sft .sft-l a { color: inherit; font-size: 13.5px; font-weight: 600; text-decoration: none; opacity: .85; }
.sft .sft-l a:hover { opacity: 1; text-decoration: underline; }

/* bk174: Carol docked in the header. No floating button; the header never scrolls sideways. */
#carol .cl-fab { display: none !important; }
.sn-carol, .sh-carol { display: inline-grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; flex: none; }
.cl-c b { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font: italic 700 13px 'Playfair Display', Georgia, serif; color: #fff; background: #e11d48; box-shadow: 0 1px 3px rgba(0,0,0,.18); transition: transform .15s ease, box-shadow .15s ease; }
.cl-c:hover b { transform: scale(1.08); box-shadow: 0 2px 8px rgba(225,29,72,.35); }
.cl-c:focus-visible { outline: 2px solid #e11d48; outline-offset: 2px; }
.sn { flex-wrap: nowrap; min-width: 0; }
.sn .sn-b { flex: none; } .sn .sn-b b, .sn .sn-b small { white-space: nowrap; }
.sn-l { min-width: 0; flex: 1 1 auto; justify-content: flex-end; flex-wrap: nowrap; overflow: hidden; }
.sn-r { flex: none; margin-left: auto; }
.sn-l button, .sn-r > * { white-space: nowrap; flex: none; }

/* bk178: owner share by store, on the Price engine page */
.sh-cell { display: inline-flex; align-items: center; gap: 6px; }
.sh-in { width: 76px; padding: 7px 9px; border: 1.5px solid var(--line, #e3dfd6); border-radius: 9px; font: 600 14px var(--fb, Inter, system-ui, sans-serif); background: #fff; color: inherit; }

/* bk179: sign-in with a password, set-your-password, My account */
.pw-w { position: relative; display: block; }
.pw-w input { width: 100%; box-sizing: border-box; padding-right: 44px !important; }
.pw-eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border: 0; background: none; border-radius: 8px; color: var(--muted, #6b6b6b); display: grid; place-items: center; cursor: pointer; }
.pw-eye.on { color: var(--acc, #c8102e); }
.pw-row { margin-top: 10px; }
.pw-row .lnk, .pw-foot .lnk { font-size: 13px; }
.pw-h { margin: 10px 0 0; font-size: 12.5px; color: var(--muted, #6b6b6b); min-height: 18px; }
.pw-h.ok { color: #14713d; }
.pw-mf { flex-wrap: wrap; }
.pw-foot { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line, #e6e3dc); text-align: center; }
.side-f .btn.block + small { display: block; margin-top: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* bk179: Team and logins */
.bt9-load { padding: 40px 0; color: var(--muted, #6b6b6b); }
.bt9-roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 4px 0 22px; }
.bt9-roles > div { border: 1px solid var(--line, #e6e3dc); border-radius: 14px; padding: 14px 16px; background: #fff; display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; align-items: center; }
.bt9-roles b { font-size: 26px; line-height: 1; }
.bt9-roles small { grid-column: 1 / -1; color: var(--muted, #6b6b6b); font-size: 12.5px; }
.bt9-rl { display: inline-block; font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 99px; white-space: nowrap; }
.r-super_admin { background: #111; color: #fff; }
.r-admin { background: #fde8ea; color: #a10f26; }
.r-production { background: #eef0f4; color: #3c4558; }
.bt9-h { margin: 20px 0 8px; font-size: 15px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.bt9-h small { font-weight: 400; color: var(--muted, #6b6b6b); font-size: 12.5px; }
.bt9-t { border: 1px solid var(--line, #e6e3dc); border-radius: 14px; background: #fff; overflow-x: auto; }
.bt9-tbl th { text-align: left; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted, #6b6b6b); padding: 10px 14px; border-bottom: 1px solid var(--line, #e6e3dc); white-space: nowrap; }
.bt9-tbl td { padding: 11px 14px; border-bottom: 1px solid #f1efea; vertical-align: middle; }
.bt9-tbl tr:last-child td { border-bottom: 0; }
.bt9-tbl td small { display: block; color: var(--muted, #6b6b6b); font-size: 12px; margin-top: 2px; }
.bt9-you { font-size: 10.5px; font-weight: 700; background: #e3f7ea; color: #14713d; padding: 2px 7px; border-radius: 99px; }
.bt9-role { padding: 7px 10px; border-radius: 9px; border: 1.5px solid var(--line, #e6e3dc); font: 600 13px var(--fb, Inter, system-ui, sans-serif); background: #fff; }
.bt9-act { display: flex; gap: 6px; justify-content: flex-end; flex-wrap: nowrap; }
.bt9-act .btn { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.bt9-act .dan, .btn.dan { color: #b42318; }
.btn.pri.dan { background: #b42318; border-color: #b42318; color: #fff; }
.bt9-pick { display: grid; gap: 8px; }
.bt9-pick label { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; align-items: center; padding: 10px 12px; border: 1.5px solid var(--line, #e6e3dc); border-radius: 12px; cursor: pointer; color: var(--ink, #111); }
.bt9-pick label:has(input:checked) { border-color: var(--acc, #c8102e); box-shadow: 0 0 0 3px rgba(200, 16, 46, .1); }
.bt9-pick label.off { opacity: .5; cursor: not-allowed; }
.bt9-pick input { grid-row: span 2; margin: 0; accent-color: var(--acc, #c8102e); }
.bt9-pick small { color: var(--muted, #6b6b6b); font-weight: 400; }

/* bk179: Settings */
.st8-f { display: grid; gap: 16px; max-width: 760px; }
.st8-f section { border: 1px solid var(--line, #e6e3dc); border-radius: 14px; padding: 16px 18px 18px; background: #fff; }
.st8-f h3 { margin: 0 0 4px; font-size: 15px; }
.st8-f .fl small { font-weight: 400; }
.st8-row { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 10px; }
.st8-ro { background: #fafaf8 !important; }
.st8-f .mf { justify-content: flex-start; }

@container vp (max-width: 700px) {
  .bt9-roles { grid-template-columns: 1fr; }
  .bt9-tbl thead { display: none; }
  .bt9-tbl tr { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; padding: 12px 14px; border-bottom: 1px solid #f1efea; }
  .bt9-tbl td { padding: 0; border: 0; }
  .bt9-tbl td:nth-child(4) { display: none; }
  .bt9-tbl td:last-child { grid-column: 1 / -1; }
  .bt9-act { justify-content: flex-start; flex-wrap: wrap; }
  .st8-row { grid-template-columns: 1fr 1fr; }
  .st8-row .fl:first-child { grid-column: 1 / -1; }
}
.bt9-roles .bt9-rl { justify-self: start; }
.bt9-act .btn:disabled { opacity: .45; cursor: default; }

/* bk179: owners and staff on a phone or small tablet: the dashboards fill the screen (no scaled device frame). */
body.sf-tournative .dev-wrap { position: absolute; inset: 0; width: 100% !important; height: 100% !important; transform: none !important; padding: 0; border-radius: 0; box-shadow: none; background: none; }
body.sf-tournative .dev-wrap .vp { border-radius: 0; }
body.sf-tournative #pres .p-dev { display: none; }
body.sf-tournative #pres { gap: 8px; padding: 0 10px; }
body.sf-tournative #pres > * { flex: none; }
body.sf-tournative #pres .p-stores { flex: 1 1 auto; min-width: 0; overflow-x: auto; scrollbar-width: none; }
body.sf-tournative #pres .p-stores::-webkit-scrollbar { display: none; }
body.sf-tournative #pres .p-bts, body.sf-tournative #pres .p-act .p-tour:not(:last-child) { display: none; }
@container vp (max-width: 1560px) { .sn-carol { padding: 3px; } .sn-carol .lbl { display: none; } }
