/* Delivery base schedule UI on contacts page */
.base-status-dot {
  display: inline-block;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #c8c8c8;
  margin-right: 6px;
  vertical-align: middle;
}
.base-status-dot.is-open  { background: #6DF483; box-shadow: 0 0 0 3px rgba(109,244,131,.18); }
.base-status-dot.is-lunch { background: #F4D283; box-shadow: 0 0 0 3px rgba(244,210,131,.22); }
.base-status-dot.is-closed { background: #e75a5a; }

/* Header dropdown lunch dot (overrides bundle.min.css cascade) */
.base-dropdown-item .base-status-dot.is-lunch { background-color: #F4D283; }

/* "Расписание работы" link in header base dropdown */
.base-dropdown-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 8px;
  padding: 10px 16px;
  border-top: 1px solid #f0f0f0;
  color: #FAA729;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  border-radius: 6px;
  transition: background-color .2s, color .2s;
}
.base-dropdown-link svg { transition: transform .2s; }
.base-dropdown-link:hover {
  background-color: rgba(250,167,41,.08);
  color: #d88810;
  text-decoration: none;
}
.base-dropdown-link:hover svg { transform: translateX(3px); }

.base-exceptions-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.base-exception-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  padding: 6px 10px;
  background: #f6f6f6;
  border-radius: 6px;
}
.base-exception-date { color: #555; }
.base-exception-hours { font-weight: 600; }
.base-exception-hours.is-closed { color: #c14a4a; font-weight: 600; }

/* Mobile: stack header above schedule, both full-width */
@media (max-width: 768px) {
  .contacts-bases .base-card {
    flex-direction: column !important;
    align-items: stretch !important;
  }
  .contacts-bases .base-card .base-card-header,
  .contacts-bases .base-card .base-card-schedule {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 auto !important;
  }
  .contacts-bases .base-card .base-card-schedule {
    margin-top: 16px;
    text-align: left !important;
    align-items: flex-start !important;
  }
  .contacts-bases .base-card .base-card-schedule * {
    text-align: left !important;
  }
  .base-exception-row {
    flex-wrap: wrap;
  }
  .contacts-bases .base-card:not(:last-child) {
    border-bottom: 1px solid var(--color-border, #e6e6e6);
    padding-bottom: 32px;
    margin-bottom: 32px;
  }
}

