/* Laundry pickup page (/shop/<shop>/laundry, sale_online/storefront/pickup.html).
   The shop's blue and yellow (theme.css tokens): services on the left, the pickup on the
   right; on phones one column with a total bar at the bottom. */
.lp { padding: 4px 0 90px; }
.lp-hero { position: relative; overflow: hidden; display: flex; align-items: center; gap: 20px; padding: 26px 30px; border-radius: 24px;
  background: linear-gradient(120deg, var(--sf-blue) 0%, var(--sf-blue-dark) 70%); color: #fff; margin-bottom: 18px; }
.lp-hero h1 { margin: 0 0 6px; font-size: 28px; font-weight: 900; color: #fff; }
.lp-hero p { margin: 0 0 14px; opacity: .92; font-size: 15px; }
.lp-hero-txt { position: relative; z-index: 1; flex: 1; }
.lp-steps { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.lp-steps li { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.14); border-radius: 999px; padding: 6px 14px 6px 6px; font-size: 13px; font-weight: 700; }
.lp-steps b { width: 24px; height: 24px; border-radius: 50%; background: var(--sf-yellow); color: var(--sf-blue-dark); display: grid; place-items: center; font-size: 13px; }
.lp-hero-art { position: relative; width: 170px; height: 130px; flex: none; }
.lp-hero-art i { position: absolute; right: 26px; top: 18px; font-size: 84px; font-style: normal; filter: drop-shadow(0 8px 16px rgba(0,0,0,.25)); }
.lp-hero-art span { position: absolute; border-radius: 50%; background: rgba(255,255,255,.18); }
.lp-hero-art .b1 { width: 120px; height: 120px; right: 0; top: 4px; background: var(--sf-yellow); opacity: .95; }
.lp-hero-art .b2 { width: 34px; height: 34px; left: 6px; top: 10px; }
.lp-hero-art .b3 { width: 20px; height: 20px; left: 40px; bottom: 6px; }

.lp-card { background: #fff; border: 1px solid var(--sf-line); border-radius: 20px; padding: 18px; margin-bottom: 14px; box-shadow: 0 4px 14px rgba(15,23,42,.05); }
.lp-card h3 { margin: 0 0 12px; font-size: 16px; font-weight: 800; color: var(--sf-ink); }
.lp label { display: block; font-size: 13px; font-weight: 700; color: var(--sf-muted); margin: 12px 0 4px; }
.lp input[type=text], .lp input[type=tel], .lp input[type=datetime-local], .lp input[type=search], .lp select, .lp textarea {
  width: 100%; border: 1px solid #d6dbe3; border-radius: 12px; padding: 10px 12px; font-size: 15px; background: #fff; }
.lp input:focus, .lp select:focus, .lp textarea:focus { outline: none; border-color: var(--sf-blue); box-shadow: 0 0 0 3px var(--sf-blue-soft); }
.lp input[type=file] { font-size: 13px; max-width: 100%; }
.lp-two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }

.lp-main { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 18px; align-items: start; }
.lp-side { position: sticky; top: 84px; }

.lp-svcs-hd { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.lp-svcs-hd h2 { margin: 0; font-size: 22px; font-weight: 900; color: var(--sf-ink); }
.lp-svcs-hd h2 small { font-size: 14px; color: var(--sf-muted); font-weight: 700; }
.lp-svcs-hd input { max-width: 260px; border-radius: 999px !important; }
.lp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.lp-load { grid-column: 1 / -1; text-align: center; color: var(--sf-muted); padding: 40px 0; }
.lp-svc { position: relative; background: #fff; border: 2px solid transparent; border-radius: 20px; padding: 10px 10px 12px;
  box-shadow: 0 4px 14px rgba(15,23,42,.07); transition: transform .15s, border-color .15s; }
.lp-svc:hover { transform: translateY(-2px); }
.lp-svc.on { border-color: var(--sf-blue); }
.lp-img { position: relative; aspect-ratio: 1 / 1; border-radius: 14px; display: grid; place-items: center; overflow: hidden; }
.lp-svc.c0 .lp-img { background: #e8f1ff; } .lp-svc.c1 .lp-img { background: #fff6cc; } .lp-svc.c2 .lp-img { background: #e7f8ef; }
.lp-svc.c3 .lp-img { background: #fde8f1; } .lp-svc.c4 .lp-img { background: #efe9ff; } .lp-svc.c5 .lp-img { background: #e3f6fd; }
.lp-img img { width: 82%; height: 82%; object-fit: contain; }
.lp-img > i { font-size: 48px; font-style: normal; }
.lp-img em { position: absolute; left: 8px; top: 8px; font-style: normal; font-size: 11px; font-weight: 800; color: var(--sf-blue-dark); background: #fff; border-radius: 999px; padding: 2px 8px; }
.lp-nm { margin-top: 8px; font-size: 15px; font-weight: 800; color: var(--sf-ink); line-height: 1.3; }
.lp-en { font-size: 11px; font-weight: 700; color: var(--sf-muted); letter-spacing: .04em; min-height: 15px; }
.lp-row { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: 8px; }
.lp-price { font-weight: 900; color: var(--sf-blue-dark); font-size: 15px; }
.lp-add { border: none; background: var(--sf-yellow); color: var(--sf-blue-dark); font-weight: 800; font-size: 13px; border-radius: 999px; padding: 6px 12px; cursor: pointer; }
.lp-q { display: flex; align-items: center; gap: 6px; background: var(--sf-blue); border-radius: 999px; padding: 3px; }
.lp-q button { width: 26px; height: 26px; border-radius: 50%; border: none; background: #fff; color: var(--sf-blue-dark); font-weight: 900; font-size: 15px; cursor: pointer; }
.lp-q b { color: #fff; min-width: 18px; text-align: center; }

.lp-me { display: flex; align-items: center; gap: 12px; background: var(--sf-blue-soft); border-radius: 14px; padding: 10px 12px; }
.lp-me div { flex: 1; min-width: 0; } .lp-me b { display: block; color: var(--sf-ink); } .lp-me small { color: var(--sf-muted); }
.lp-av { width: 40px; height: 40px; border-radius: 50%; background: var(--sf-blue); color: #fff; display: grid; place-items: center; font-weight: 900; font-size: 18px; }
.lp-link { border: none; background: none; color: var(--sf-blue); font-weight: 800; cursor: pointer; }
.lp-pin { display: inline-flex; gap: 6px; align-items: center; margin-top: 8px; border: 1px dashed var(--sf-blue); color: var(--sf-blue); background: #fff;
  border-radius: 999px; padding: 6px 14px; font-weight: 700; font-size: 13px; cursor: pointer; }
.lp-pin.on { border-style: solid; background: var(--sf-blue-soft); }

.lp-lines div { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; padding: 4px 0; }
.lp-none { margin: 0; color: var(--sf-muted); font-size: 14px; }
.lp-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px dashed var(--sf-line); margin-top: 10px; padding-top: 10px; font-weight: 800; }
.lp-total b { font-size: 24px; color: var(--sf-blue-dark); }
.lp-usd { text-align: right; color: var(--sf-muted); font-size: 13px; min-height: 16px; }
.lp-min { margin-top: 8px; font-size: 12px; color: #c2410c; }
.lp-bar { height: 6px; border-radius: 99px; background: #f1f5f9; overflow: hidden; margin-bottom: 4px; }
.lp-bar i { display: block; height: 100%; background: var(--sf-yellow-dark); }
.lp-send { width: 100%; margin-top: 12px; border: none; border-radius: 16px; padding: 14px; font-size: 17px; font-weight: 900; cursor: pointer;
  color: var(--sf-blue-dark); background: var(--sf-yellow); box-shadow: 0 6px 16px rgba(255,195,0,.35); }
.lp-send[disabled] { opacity: .6; cursor: wait; }
.lp-msg { display: none; margin-top: 10px; padding: 10px 14px; border-radius: 12px; font-weight: 700; }
.lp-msg.err { display: block; background: #fff1f2; color: #be123c; }
.lp-msg.ok { display: block; background: var(--sf-blue-soft); color: var(--sf-blue-dark); }

.lp-prow { display: flex; justify-content: space-between; gap: 10px; align-items: center; border-top: 1px solid #f1f5f9; padding: 10px 0; }
.lp-prow:first-child { border-top: none; } .lp-prow small { display: block; color: var(--sf-muted); font-size: 13px; }
.lp-st { font-size: 12px; font-weight: 800; border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.lp-st.waiting { background: #fff6cc; color: #a16207; } .lp-st.booked { background: var(--sf-blue-soft); color: var(--sf-blue-dark); }
.lp-st.completed { background: #dcfce7; color: #15803d; } .lp-st.cancelled { background: #f1f5f9; color: var(--sf-muted); }

.lp-bottom { display: none; }
@media (max-width: 1023px) {
  .lp-main { grid-template-columns: 1fr; }
  .lp-side { position: static; }
  .lp-bottom.has { display: flex; position: fixed; left: 12px; right: 12px; bottom: 74px; z-index: 40; align-items: center; justify-content: space-between;
    background: var(--sf-blue-dark); color: #fff; border-radius: 18px; padding: 10px 12px 10px 18px; box-shadow: 0 10px 24px rgba(0,82,214,.35); }
  .lp-bottom small { display: block; opacity: .8; font-size: 12px; } .lp-bottom b { font-size: 18px; }
  .lp-bottom button { border: none; background: var(--sf-yellow); color: var(--sf-blue-dark); font-weight: 900; border-radius: 14px; padding: 10px 16px; }
}
@media (max-width: 640px) {
  .lp-hero { padding: 20px; } .lp-hero h1 { font-size: 22px; } .lp-hero-art { display: none; }
  .lp-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .lp-svcs-hd { flex-direction: column; align-items: stretch; } .lp-svcs-hd input { max-width: none; }
  .lp-two { grid-template-columns: 1fr; }
}
/* grid children may shrink below their content (the file input, long branch names) */
.lp-main > *, .lp-two > *, .lp-svc { min-width: 0; }
.lp select { text-overflow: ellipsis; }

/* ---- compact cards, and the layout follows the room it has (owner 2026-11-10: "the gaps are very big, not
   nice"). In Social the page sits in the middle column, much narrower than the screen, so it is laid out by
   its own width (a container query), not the window's. ---- */
*:has(> form.lp-main) { container-type: inline-size; width: 100%; box-sizing: border-box; }
@container (max-width: 900px) {
  .lp-main { grid-template-columns: 1fr; }
  .lp-side { position: static; }
}
.lp-svcs-hd { flex-wrap: wrap; gap: 8px 12px; }
.lp-svcs-hd h2 { font-size: 18px; line-height: 1.3; margin: 0; flex: 1 1 auto; }
.lp-svcs-hd input { flex: 1 1 200px; max-width: 320px; }
.lp-grid { grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 10px; }
.lp-svc { border-radius: 16px; padding: 7px 7px 9px; box-shadow: 0 2px 10px rgba(15,23,42,.06); }
/* one frame only: the pictures carry their own coloured tile, so the box behind them stays plain */
.lp-svc .lp-img { background: transparent !important; border-radius: 12px; }
.lp-img img { width: 100%; height: 100%; border-radius: 12px; }
.lp-img em { left: 6px; top: 6px; font-size: 10px; padding: 1px 7px; }
.lp-nm { margin-top: 6px; font-size: 14px; }
.lp-en { font-size: 10px; min-height: 13px; }
.lp-row { margin-top: 6px; }
.lp-price { font-size: 14px; }
.lp-add { font-size: 12px; padding: 5px 10px; white-space: nowrap; }
.lp-row { flex-wrap: wrap; row-gap: 5px; }
/* the minimum-order line is not shown (owner 2026-11-10) */
#pk_min { display: none !important; }
@media (max-width: 640px) {
  .lp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .lp-svc { padding: 6px 6px 8px; border-radius: 14px; }
  .lp-nm { font-size: 13px; } .lp-price { font-size: 13px; }
  .lp-row { flex-wrap: wrap; } .lp-add { padding: 4px 9px; }
  .lp-svcs-hd input { max-width: none; flex: none; width: 100%; height: 40px; box-sizing: border-box; }
}
@media (max-width: 360px) { .lp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* the − n + under a chosen service fills the card's width, buttons at both ends (owner 2026-11-10) */
.lp-row .lp-q { flex: 1 1 100%; width: 100%; justify-content: space-between; box-sizing: border-box; padding: 3px; }
.lp-q button { width: 30px; height: 30px; font-size: 17px; flex: 0 0 30px; }
.lp-q b { flex: 1; font-size: 15px; }
/* − red, + green (owner 2026-11-10) */
.lp-q { background: #eef2f7; }
.lp-q b { color: var(--sf-ink); }
.lp-q button[data-d="-1"] { background: #ef4444; color: #fff; }
.lp-q button[data-d="1"] { background: #16a34a; color: #fff; }
.lp-q button:active { transform: scale(.92); }
/* the pickup photos: thumbnails under the time, a + tile until there are three (owner 2026-11-10) */
.lp-photos { display: flex; gap: 10px; flex-wrap: wrap; margin: 2px 0 12px; }
.lp-ph { position: relative; width: 84px; height: 84px; border-radius: 14px; overflow: hidden; flex: 0 0 84px; }
.lp-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lp-ph button[data-ph-x] { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border-radius: 50%; border: 0;
  background: rgba(15,23,42,.65); color: #fff; font-size: 16px; line-height: 1; cursor: pointer; }
.lp-ph-add { border: 2px dashed #93c5fd; background: var(--sf-blue-soft, #e8f1ff); color: var(--sf-blue, #0a6cff); cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 0; }
.lp-ph-add i { font-size: 22px; } .lp-ph-add b { font-size: 16px; line-height: 1; }
.lp-ph-add:hover { background: #dbeafe; }
/* the pinned place on a small map (owner 2026-11-16): map tiles, the pin in the middle; drag or tap to move */
.lp-map { position:relative; margin:8px 0 4px; height:190px; border-radius:12px; overflow:hidden; border:1px solid #dbe3ef;
  background:#eef2f6; touch-action:none; cursor:grab; user-select:none; -webkit-user-select:none; }
.lp-map.drag { cursor:grabbing; }
.lp-map[hidden] { display:none; }
.lp-map-tiles { position:absolute; inset:0; }
.lp-map-tiles img { position:absolute; width:256px; height:256px; max-width:none; pointer-events:none; }
.lp-map-pin { position:absolute; left:50%; top:50%; transform:translate(-50%, -100%); font-size:32px; line-height:1;
  filter:drop-shadow(0 2px 2px rgba(0,0,0,.35)); pointer-events:none; transition:transform .15s; }
.lp-map.drag .lp-map-pin { transform:translate(-50%, -125%); }
.lp-map-open { position:absolute; top:8px; right:8px; width:30px; height:30px; border-radius:50%; background:#fff; color:#1d4ed8;
  display:flex; align-items:center; justify-content:center; text-decoration:none; font-weight:700; box-shadow:0 1px 4px rgba(0,0,0,.25); }
.lp-map-zoom { position:absolute; left:8px; top:8px; display:flex; flex-direction:column; border-radius:8px; overflow:hidden; box-shadow:0 1px 4px rgba(0,0,0,.25); }
.lp-map-zoom button { width:30px; height:30px; border:0; background:#fff; color:#0f172a; font-size:18px; font-weight:700; cursor:pointer; }
.lp-map-zoom button + button { border-top:1px solid #e5e7eb; }
.lp-map-by { position:absolute; right:4px; bottom:2px; font-size:10px; color:#334155; background:rgba(255,255,255,.75); padding:0 4px; border-radius:4px; pointer-events:none; }
.lp-two[hidden] { display:none; }   /* signed in: the name / phone boxes stay hidden (owner 2026-11-16) */
