/* ════ v108 急修 2 帮手 B（Rita 2026-11-02 下午，DECISIONS 第十五节）：「宠物寄养」先选日子 ════
   第一步、上面那一条照「酒店」那一页（.ht-step1 / .ht-bar，site.css）；这里只放多的：寄养 / 日托切换、几晚几天那一行、狗狗猫猫、
   结果（一家店一张门店卡片 .ls-card，下面列它订得到的团购和这几天的总价）。只在 cat=pet_board 那一页加载（stores_views104.js 的 styles）。 */

/* ── 第一步 ── */
.b2-modes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; margin: 18px 0 2px; padding: 4px; border-radius: 999px; background: var(--paper-2); border: 1px solid var(--line); }
.b2-mode { position: relative; display: flex; align-items: center; justify-content: center; min-height: 40px; padding: 6px 10px; border-radius: 999px; cursor: pointer;
  font-size: 14px; font-weight: 600; color: var(--ink-2); text-align: center; transition: background .2s, color .2s, box-shadow .2s; }
.b2-mode input { position: absolute; opacity: 0; pointer-events: none; }
.b2-mode.on { background: #fff; color: var(--coral-deep); box-shadow: 0 1px 2px rgba(31, 24, 19, .08), 0 6px 16px -10px rgba(31, 24, 19, .35); }
.b2-mode:focus-within { outline: 2px solid var(--coral); outline-offset: 2px; }
.b2-span { margin: 8px 2px 0; font-size: 13px; font-weight: 700; color: var(--coral-deep); }
.b2-span[hidden], .b2-hint[hidden] { display: none; }
.b2-hint { margin: 6px 2px 0; font-size: 12.5px; color: var(--ink-3); }
.b2-sp .chips { gap: 8px; }
.b2-chip { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; user-select: none; }
.b2-chip input { position: absolute; opacity: 0; pointer-events: none; }
.b2-chip.on { border-color: var(--coral); background: var(--coral-tint); color: var(--coral-deep); font-weight: 700; }
.b2-chip:focus-within { outline: 2px solid var(--coral); outline-offset: 2px; }
.b2-form .bd-input[type="number"] { -moz-appearance: textfield; }
.b2-note { display: flex; align-items: flex-start; gap: 8px; margin: 14px 2px 0; font-size: 12.5px; line-height: 1.7; color: var(--ink-3); }
.b2-note .ico { flex: none; width: 15px; height: 15px; margin-top: 3px; color: var(--ok); }
.b2-all { max-width: 720px; margin: 14px auto 0; text-align: center; font-size: 13.5px; }
.b2-all a { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.b2-all a .ico { width: 14px; height: 14px; }
.b2-todates { max-width: none; margin: 0 0 14px; text-align: left; }
.b2-todates a { font-weight: 700; color: var(--coral-deep); }

/* ── 第二步：上面那一条（图标、选了什么、「修改」一行；字长的时候在中间折行）── */
.b2-bar .ht-sum { flex-wrap: nowrap; align-items: flex-start; }
.b2-bar .ht-sum > .ico { margin-top: 3px; }
.b2-bar .ht-sum > span { flex: 1 1 auto; }
.b2-bar .ht-edit { flex: none; }
.b2-bar .b2-note { margin: 0 2px 2px; }

/* ── 第二步：结果 ── */
.b2-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 960px) { .b2-list { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; } }
.b2-item { display: flex; flex-direction: column; min-width: 0; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); overflow: hidden; }
.b2-item > .ls-card { border: 0; border-radius: 0; }
.b2-item > .ls-card:hover { box-shadow: none; }
/* 门店卡片上「团购 A$xx 起」是这家店全部团购的起价（含这几天订不到的）：结果里不写，免得和下面这几天的总价混在一起 */
.b2-item .ls-deal { display: none; }
.b2-deals { list-style: none; margin: 0; padding: 0 12px 12px; display: grid; gap: 10px; }
.b2-deal { margin: 0; }
.b2-deal-a { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px; border-radius: 16px;
  background: #FFF8F3; border: 1px solid rgba(244, 120, 75, .22); color: inherit; transition: border-color .2s, box-shadow .2s; }
.b2-deal-a:hover { border-color: var(--coral); box-shadow: 0 14px 30px -22px rgba(31, 24, 19, .45); }
.b2-img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; background: var(--paper-2); }
.b2-noimg { display: grid; place-items: center; color: var(--coral); }
.b2-noimg .ico { width: 22px; height: 22px; }
.b2-t { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.b2-t b { font-size: 14.5px; line-height: 1.4; overflow-wrap: anywhere; }
.b2-t small { font-size: 12.5px; line-height: 1.5; color: var(--ink-2); overflow-wrap: anywhere; }
.b2-t .b2-pol { color: #2E6B5B; font-weight: 600; }
.b2-t .b2-pol.nocm { color: var(--neg); }
.b2-p { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; text-align: right; }
.b2-p b { font-size: 16px; color: var(--coral-deep); white-space: nowrap; }
.b2-p small { font-size: 11px; line-height: 1.35; color: var(--ink-3); max-width: 13em; }
.b2-go { margin-top: 4px; height: 32px; padding: 0 12px; gap: 4px; font-size: 13px; }
.b2-go .ico { width: 13px; height: 13px; }
.b2-empty-acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 !important; }
.b2-err h3 { margin-bottom: 18px !important; }

/* 手机：团购那一行价放到下面一行，右边不挤 */
@media (max-width: 560px) {
  .b2-deal-a { grid-template-columns: 48px minmax(0, 1fr); gap: 10px; padding: 10px; }
  .b2-img { width: 48px; height: 48px; }
  .b2-p { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 10px; row-gap: 1px; text-align: left;
    padding-top: 8px; border-top: 1px dashed rgba(244, 120, 75, .25); }
  .b2-p b { grid-column: 1; grid-row: 1; }
  .b2-p small { grid-column: 1; grid-row: 2; max-width: none; }
  .b2-go { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; }
  .b2-mode { font-size: 13px; padding: 6px 6px; }
}
