/* Content-sized floating summary, with room for the catalog on either side. */
.inquiry-dock {
  inset: auto auto calc(20px + env(safe-area-inset-bottom)) 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100% - 40px);
  min-height: 68px;
  justify-content: center;
  gap: 12px;
  padding: 7px 7px 7px 12px;
  border: 1px solid #1e5b4926;
  border-radius: 999px;
  color: var(--green);
  background: #fffdfaf2;
  box-shadow: 0 12px 32px #153f341c, 0 3px 8px #153f340d, inset 0 1px 0 #fff;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
.dock-badge {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  min-width: 40px;
  height: 40px;
  padding-inline: 9px;
  border: 1px solid #1e5b4912;
  border-radius: 50px;
  background: #edf2eb;
  font-size: 16px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.inquiry-dock .dock-summary { flex: 0 1 auto; display: grid; gap: 1px; min-width: 0; padding-right: 6px; font-size: 12px; line-height: 1.4; }
.inquiry-dock #dock-count { display: none; }
.inquiry-dock .dock-subtotal { flex-wrap: wrap; gap: 2px 6px; padding: 0; border: 0; color: var(--muted); font-size: 10px; }
.inquiry-dock .dock-subtotal strong { min-width: 0; overflow-wrap: anywhere; color: var(--green); font-size: 17px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.inquiry-dock .button { flex: 0 0 auto; min-height: 52px; gap: 12px; padding: 10px 12px 10px 20px; color: white; background: linear-gradient(135deg, #286b55, #194d3e); border: 1px solid #174635; box-shadow: 0 2px 5px #153f341a, inset 0 1px 0 #ffffff1f; font-size: 13px; white-space: nowrap; transition: box-shadow .18s ease, transform .18s ease; }
.inquiry-dock .dock-arrow { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #ffffff18; transition: background .18s ease, transform .18s ease; }
.inquiry-dock .dock-arrow svg { width: 15px; height: 15px; }
@media (hover: hover) {
  .inquiry-dock .button:hover { background: linear-gradient(135deg, #286b55, #194d3e); box-shadow: 0 4px 10px #153f342b; transform: translateY(-1px); }
  .inquiry-dock .button:hover .dock-arrow { background: #ffffff2b; transform: translateX(1px); }
}
.inquiry-dock .button:active { transform: translateY(0); box-shadow: inset 0 2px 4px #153f3426; }
.has-inquiry .page-shell { padding-bottom: calc(112px + env(safe-area-inset-bottom)); }
.has-inquiry .toast { bottom: calc(104px + env(safe-area-inset-bottom)); }
@media (max-width: 540px) {
  .inquiry-dock { bottom: calc(14px + env(safe-area-inset-bottom)); min-height: 60px; gap: 9px; padding: 6px 6px 6px 10px; }
  .dock-badge { min-width: 34px; height: 34px; padding-inline: 7px; font-size: 14px; }
  .inquiry-dock .dock-summary { padding-right: 3px; font-size: 11px; }
  .inquiry-dock .dock-subtotal { gap: 1px 5px; }
  .inquiry-dock .dock-subtotal strong { font-size: 15px; }
  .inquiry-dock .button { min-height: 46px; gap: 8px; padding: 8px 9px 8px 14px; font-size: 12px; }
  .inquiry-dock .dock-arrow { width: 23px; height: 23px; }
  .has-inquiry .page-shell { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
  .has-inquiry .toast { bottom: calc(92px + env(safe-area-inset-bottom)); }
}
@media (max-width: 360px) {
  .inquiry-dock { gap: 7px; }
  .inquiry-dock .dock-summary { padding-right: 0; }
  .inquiry-dock .dock-subtotal { display: grid; }
}
@media (prefers-reduced-motion: reduce) {
  .inquiry-dock .button, .inquiry-dock .dock-arrow { transition: none; }
}
