/* Yabisela Stores seller space (vendeur.html): opening a shop, the order page with its map, the product form. */

/* ---------- opening a shop ---------- */
.ob { width: min(720px, 100%); margin: 36px auto 90px; }
.ob > .h-page { margin-top: 18px; }
.ob > .sub { margin-top: 10px; max-width: 60ch; }
.ob-art { width: 96px; height: 96px; border-radius: 34% 58% 46% 52%; background: var(--yellow); color: var(--navy); display: grid; place-items: center; box-shadow: 18px 12px 0 -4px #84b7ff, 30px 20px 0 -8px var(--blue); }
.ob-art .ic { width: 44px; height: 44px; stroke-width: 1.6; }
.ob-first { margin-top: 24px; }
.ob-steps { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.ob-steps li { font-size: 13px; color: var(--ink-2); line-height: 1.4; }
.ob-steps b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: var(--yellow); margin-bottom: 8px; }
@media (max-width: 620px) { .ob-steps { grid-template-columns: 1fr 1fr; } }
.ob-form { width: min(860px, 100%); }
.ob-wait, .ob-bad { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; flex-wrap: wrap; }
.ob-wait > .ic { width: 30px; height: 30px; color: var(--blue); }
.ob-bad { background: #fde6e7; color: #8e0f17; }
.ob-bad > .ic { width: 28px; height: 28px; color: var(--red); }
.ob-wait span, .ob-bad span { flex: 1; min-width: 220px; }
.ob-wait b, .ob-bad b { display: block; }
.ob-wait small, .ob-bad small { font-size: 13px; color: inherit; opacity: .85; }

/* uploads */
.up { position: relative; height: 110px; width: 110px; border-radius: 18px; border: 1.5px dashed #b9c8ea; background: var(--tint); display: grid; place-items: center; overflow: hidden; color: var(--blue); cursor: pointer; text-align: center; font-size: 12.5px; font-weight: 600; gap: 6px; padding: 10px; }
.up-wide { width: 100%; }
.up img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.up input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.up:hover { border-color: var(--blue); }
.up.is-busy::after, .pf-add.is-busy::after { content: ''; position: absolute; inset: 0; background: rgb(255 255 255 / .7) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9' fill='none' stroke='%2300206f' stroke-width='2.5' stroke-dasharray='40 20'%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 12 12' to='360 12 12' dur='.8s' repeatCount='indefinite'/%3E%3C/circle%3E%3C/svg%3E") center / 30px no-repeat; }
.stf .card + .card { margin-top: 16px; }
.stf .is-locked { opacity: .78; }
.stf-acts { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; align-items: center; }
.open-tog { background: #fff; padding: 10px 16px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 600; }

/* ---------- order page ---------- */
.so-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 16px; align-items: start; }
.so-grid > div { display: grid; gap: 16px; min-width: 0; }
.so-grid .card + .card { margin-top: 0; }
@media (max-width: 1100px) { .so-grid { grid-template-columns: 1fr; } }
.so-next { border: 2px solid var(--navy); }
.so-step { display: flex; gap: 14px; align-items: center; }
.so-step > .ic { width: 44px; height: 44px; padding: 10px; border-radius: 14px; background: var(--yellow); color: var(--navy); }
.so-step b { display: block; font-size: 18px; }
.so-step small { color: var(--ink-2); font-size: 13.5px; }
.so-btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.so-btns:empty { display: none; }
.so-cancel { display: block; margin-top: 14px; font-size: 13px; color: var(--red); }
.so-call { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.so-map-box { position: relative; height: 360px; border-radius: 16px; overflow: hidden; margin: 0 -4px; }
.so-map-box #map { position: absolute; inset: 0; }
.mv { margin-top: 16px; }
.mv-h { font-weight: 700; }
.mv-h small { display: block; font-weight: 500; color: var(--ink-3); font-size: 12.5px; }
.mv-row { display: flex; align-items: center; gap: 14px; margin-top: 10px; }
.mv-row input[type=range] { flex: 1; accent-color: var(--navy); height: 30px; }
.mv-row output { font-weight: 800; min-width: 52px; text-align: right; }
.mv-btns { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.code-in { text-align: center; font-size: 30px !important; letter-spacing: .5em; font-weight: 800 !important; height: 64px !important; }
.ev { display: grid; gap: 8px; font-size: 13px; }
.ev div { display: flex; gap: 10px; }
.ev time { color: var(--ink-3); white-space: nowrap; min-width: 112px; }

/* ---------- products ---------- */
.pr-cell { display: flex; align-items: center; gap: 12px; }
.pr-cell .ln-pic { width: 52px; height: 52px; flex: none; }
.pf .card + .card { margin-top: 16px; }
.pf-pics { display: flex; flex-wrap: wrap; gap: 10px; }
.pf-pic, .pf-add { position: relative; width: 112px; height: 112px; border-radius: 16px; overflow: hidden; background: var(--tint); }
.pf-pic img { width: 100%; height: 100%; object-fit: contain; }
.pf-pic i { position: absolute; left: 6px; bottom: 6px; font-style: normal; font-size: 10.5px; font-weight: 700; background: var(--navy); color: #fff; padding: 2px 7px; border-radius: 999px; }
.pf-pic button { position: absolute; right: 6px; top: 6px; width: 26px; height: 26px; border-radius: 50%; background: #fff; color: var(--red); display: grid; place-items: center; box-shadow: 0 2px 8px rgb(0 0 0 / .15); }
.pf-add { border: 1.5px dashed #b9c8ea; display: grid; place-content: center; justify-items: center; gap: 4px; color: var(--blue); font-weight: 600; font-size: 12.5px; cursor: pointer; }
.pf-add input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

/* ---------- Ma vitrine: welcome and Vitrine Pro slides ---------- */
.vt-help { font-size: 13.5px; margin: -4px 0 14px; }
.vp { margin-top: 18px; padding: 18px; border-radius: 16px; background: var(--tint); display: grid; gap: 14px; justify-items: start; }
.vp-on { background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); justify-items: stretch; }
.vp-on > .b { justify-self: start; }
.vp-hd b { display: flex; align-items: center; gap: 8px; font-size: 16px; }
.vp-hd b .ic { color: var(--green, #11845b); }
.vp-hd small { display: block; color: var(--ink-2); font-size: 13.5px; margin-top: 4px; max-width: 70ch; }
.vp-price { font-weight: 600; font-size: 13px; padding: 3px 10px; border-radius: 99px; background: var(--yellow); color: var(--navy); }
.vp-wait { display: flex; gap: 8px; align-items: center; font-size: 13.5px; color: var(--ink-2); }
.vs { display: grid; grid-template-columns: 220px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.vs:first-child { border-top: 0; padding-top: 0; }
.vs-pic { height: 140px; }
.vs-f .fld { margin-bottom: 10px; }
.vs-del { color: var(--red) !important; }
@media (max-width: 620px) { .vs { grid-template-columns: 1fr; } }
/* share the shop: the QR to its waitlist and the poster (Nov 16) */
.vd-share { display: grid; grid-template-columns: 150px 1fr; gap: 22px; align-items: center; margin-bottom: 16px; }
.vd-share-qr { padding: 12px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px #e6edfa; }
.vd-share-qr svg { display: block; width: 100%; height: auto; }
.vd-demo { display: inline-flex; padding: 4px 10px; border-radius: 99px; background: #fff5cc; color: #7a5a00; font-size: 12px; font-weight: 700; }
.vd-share-txt h2 { margin-top: 8px; font-size: 20px; font-weight: 800; color: var(--navy); }
.vd-share-txt p { margin-top: 6px; max-width: 60ch; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.vd-share-acts { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 14px; }
@media (max-width: 560px) { .vd-share { grid-template-columns: 1fr; } .vd-share-qr { width: 160px; } }
