/* Store Status — Open/Closed sign + click-to-call phone, styled for the dark
 * toolbar (sits beside Quick Product Find). Light text on dark; green/red dot.
 * Override per-instance via the element's CSS field if dropped on a light bg. */

.lt-store-status {
  display: inline-flex;
  align-items: center;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  line-height: 1;
  /* divider between the phone number and the Quick Product Find element
     (14px each side — matches the phone's own divider; the QPF column gutter is
     evened to 14px in lyntec-utilities.css) */
  padding-right: 14px;
  border-right: 1px solid rgba(255, 255, 255, .18);
}
.lt-store-status__inner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.lt-store-status__sign {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
}
.lt-store-status__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex: none;
}
.lt-store-status__sign--open .lt-store-status__dot {
  background: #35c759;
  box-shadow: 0 0 0 3px rgba(53, 199, 89, .22);
}
.lt-store-status__sign--closed .lt-store-status__dot {
  background: #ff5b52;
  box-shadow: 0 0 0 3px rgba(255, 91, 82, .20);
}
.lt-store-status__label { color: #fff; }
.lt-store-status__sign--closed .lt-store-status__label { color: rgba(255, 255, 255, .85); }

.lt-store-status__detail { color: rgba(255, 255, 255, .55); white-space: nowrap; }
.lt-store-status__detail::before {
  content: "\00b7"; /* middot */
  margin-right: 8px;
  color: rgba(255, 255, 255, .35);
}

.lt-store-status__phone {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 14px;
  padding-left: 14px;
  border-left: 1px solid rgba(255, 255, 255, .18);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: color .15s ease;
}
/* dim to 50% on hover, matching Quick Product Find */
.lt-store-status__phone:hover,
.lt-store-status__phone:focus { color: rgba(255, 255, 255, .5); }
/* Reserve the icon's box so it doesn't reflow the row when UIkit injects the SVG
   async (0 → 17px would otherwise cause a subtle layout shift on load). */
.lt-store-status__phone-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  flex: none;
  opacity: .8;
}
.lt-store-status__phone-icon > svg { display: block; }

/* Compact on small screens: drop the hours detail, keep status + phone. */
@media (max-width: 720px) {
  .lt-store-status__detail { display: none; }
}
@media (max-width: 480px) {
  .lt-store-status__phone-num { display: none; } /* icon-only tap target */
  .lt-store-status__phone { margin-left: 10px; padding-left: 10px; }
}
