.ext-wh-status-card,
.ext-wh-card {
  border: 1px solid #1f9d55;
  border-radius: 10px;
  padding: 14px 16px;
  background: #fff;
}

.ext-wh-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ext-wh-status-card.is-open {
  border-color: #1f9d55;
  background: #f3fcf6;
}

.ext-wh-status-card.is-closed {
  border-color: #d64545;
  background: #fff5f5;
}

.ext-wh-status-title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 8px;
}

.ext-wh-status-date-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.ext-wh-status-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
}

.ext-wh-status-item svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.ext-wh-status-card.is-open .ext-wh-status-title,
.ext-wh-status-card.is-open .ext-wh-status-subtitle,
.ext-wh-status-card.is-open .ext-wh-status-item {
  color: #1f9d55;
}

.ext-wh-status-card.is-closed .ext-wh-status-title,
.ext-wh-status-card.is-closed .ext-wh-status-subtitle,
.ext-wh-status-card.is-closed .ext-wh-status-item {
  color: #d64545;
}

.ext-wh-status-actions {
  margin-top: 10px;
  text-align: center;
}

.ext-wh-button {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 10px;
  background: #F58229;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid #F58229;
  transition: all 0.2s ease;
}

.ext-wh-button:hover {
  background: #fff;
  color: #F58229;
  border-color: #F58229;
}

.ext-wh-card-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 6px;
  text-align: center;
}

.ext-wh-card-title.is-open,
.ext-wh-card-subtitle.is-open {
  color: #1f9d55;
}

.ext-wh-card-title.is-closed,
.ext-wh-card-subtitle.is-closed {
  color: #d64545;
}

.ext-wh-card-subtitle {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 10px;
}

.ext-wh-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ext-wh-row {
  display: grid;
  grid-template-columns: 78px 1fr;
  column-gap: 6px;
  row-gap: 0;
  align-items: stretch;
  padding: 6px 0;
  border-bottom: 1px solid #efefef;
}

.ext-wh-row.is-today.is-open-now {
  font-weight: 700;
  color: #1f9d55;
}

.ext-wh-row.is-today.is-closed-now {
  font-weight: 700;
  color: #d64545;
}

.ext-wh-row.is-today.is-open-now .ext-wh-day,
.ext-wh-row.is-today.is-open-now .ext-wh-date-label,
.ext-wh-row.is-today.is-open-now .ext-wh-hours {
  color: #1f9d55;
}

.ext-wh-row.is-today.is-closed-now .ext-wh-day,
.ext-wh-row.is-today.is-closed-now .ext-wh-date-label,
.ext-wh-row.is-today.is-closed-now .ext-wh-hours {
  color: #d64545;
}

.ext-wh-day-col {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 3px;
}

.ext-wh-hours-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  text-align: right;
}
.ext-wh-hours {
  text-align: right;
  width: 100%;
}
.ext-wh-day,
.ext-wh-date {
  font-weight: 600;
}

.ext-wh-day {
  font-size: 13px;
  line-height: 1.2;
}

.ext-wh-date-label {
  font-size: 12px;
  line-height: 1.2;
  color: #666;
}

.ext-wh-hours {
  font-size: 13px;
  line-height: 1.25;
  font-weight: 600;
}

.ext-wh-holiday-reason {
  color: #d64545;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 600;
}

.ext-wh-row .ext-wh-holiday-reason {
  color: #d64545;
}

.ext-wh-hours.is-open {
  color: #1f9d55;
}

.ext-wh-hours.is-closed,
.ext-wh-reason {
  color: #d64545;
  margin-left: 0;
}

.ext-wh-empty {
  padding: 12px 0;
  color: #666;
}

.ext-wh-status-subtitle {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 10px;
}

@media (max-width: 767px) {
  .ext-wh-status-card,
  .ext-wh-card {
    padding: 12px 14px;
    border-radius: 9px;
  }

  .ext-wh-row {
    grid-template-columns: 72px 1fr;
    gap: 8px;
  }

  .ext-wh-status-subtitle {
    font-size: 14px;
  }

  .ext-wh-status-title {
    font-size: 18px;
  }

  .ext-wh-status-item {
    font-size: 14px;
  }

  .ext-wh-status-date-row {
    gap: 10px;
  }

  .ext-wh-card-title {
    font-size: 15px;
  }

  .ext-wh-card-subtitle {
    font-size: 12px;
  }

  .ext-wh-day {
    font-size: 12px;
  }

  .ext-wh-date-label,
  .ext-wh-hours,
  .ext-wh-holiday-reason {
    font-size: 11px;
  }
}