/* Opening hours + special days (replaces the red "Komunikat specjalny" box).
   Markup: pages/_opening_hours. */

.hours {
  --purple: #4e2f8a;
  --purple-soft: #f3eefb;
  --line: #e3ddee;
  --open: #1d7a34;
  --closed: #a6283a;
  box-sizing: border-box;
  margin: 0 0 16px;
  font: 15px/1.45 Arial, Helvetica, sans-serif;
  color: #333;
}

.hours *,
.hours *::before { box-sizing: border-box; }

.hours ul { margin: 0; padding: 0; list-style: none; }
.hours li { margin: 0; padding: 0; background: none; }

.hours__title {
  margin: 0;
  font: normal 21px/1.2 'museo300', Arial, Helvetica, sans-serif;
  color: var(--purple);
}

.hours__today {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-weight: bold;
  font-size: 14px;
}

.hours__today.is-open   { color: var(--open); }
.hours__today.is-closed { color: var(--closed); }

.hours__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 18%, transparent);
}

.hours__label { color: #555; }
.hours__time  { font-weight: bold; color: #222; white-space: nowrap; }
.hours__reg   { font-size: 13px; color: #777; white-space: nowrap; }

.hours__special-title {
  margin: 0 0 8px;
  font: bold 12px/1 Arial, Helvetica, sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #888;
}

.hours__special-date   { font-weight: bold; color: #222; white-space: nowrap; }
.hours__special-status { color: #555; }
.hours__special-item.is-closed .hours__special-status { color: var(--closed); }
.hours__special-note   { color: #888; font-size: 13px; }

/* ===================== card ===================== */

.hours--card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-left: 4px solid #7238b4;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(78, 47, 138, 0.08);
}

.hours--card .hours__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 16px;
}

.hours--card .hours__body {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);   /* hours narrower, more room for changes */
  gap: 56px;
}

.hours--card .hours__day {
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 12px;
  padding: 7px 0;
  border-bottom: 1px solid #f0edf5;
}

.hours--card .hours__day:last-child { border-bottom: 0; }
.hours--card .hours__reg { grid-column: 1 / -1; }

.hours--card .hours__special {
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--purple-soft);
}

.hours--card .hours__special-item {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 10px;
  padding: 4px 0;
}

/* ===================== phones ===================== */

@media only screen and (max-width: 767px) {
  .hours--card .hours__body { grid-template-columns: 1fr; gap: 18px; }
  .hours--card { padding: 16px; }
}

/* ===================== notice (below the card-payment strip) ===================== */

.site-notice {
  margin: -10px 0 26px;
  padding: 0 4px;
  font: 13px/1.6 Arial, Helvetica, sans-serif;
  color: #888;
  text-align: center;
}
