.xdelivery-service-hours{
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.xdelivery-service-hours__tabs{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  gap: 8px;
  padding: 12px;
  background: rgba(0, 0, 0, 0.04);
}

.xdelivery-service-hours__tab{
  appearance: none;
  border: 0;
  padding: 10px 10px;
  background: #fff;
  color: #111;
  font-weight: 700;
  display: flex;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.xdelivery-service-hours__tab.is-active{
  background: var(--xdelivery-menu-active-bg, #cc0000);
  color: #fff;
}

.xdelivery-service-hours__status{
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-weight: 400;
}

.xdelivery-service-hours__dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display: inline-block;
  background: #ccc;
}

.xdelivery-service-hours__dot.is-open{
  background: #2ecc71;
}

.xdelivery-service-hours__dot.is-closed{
  background: #DD3333;
}

.xdelivery-service-hours__hint{
  padding: 16px 12px 8px;
  color: rgba(0, 0, 0, 0.7);
  font-size: 14px;
  line-height: 1.3;
}

.xdelivery-service-hours{
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

.xdelivery-service-hours__list{
  list-style: none;
  margin: 0;
  padding: 12px;
  display: grid;
  gap: 10px;
}

.xdelivery-service-hours__row{
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 12px;
  background: rgba(0, 0, 0, 0.03);
}

.xdelivery-service-hours__row.is-closed{
  background: #DD3333;
  color: #fff;
}

.xdelivery-service-hours__row.is-today{
  background: #5CAA3A;
  color: #fff;
}

.xdelivery-service-hours__row.is-today.is-closed{
  background: #DD3333;
}

.xdelivery-service-hours__day{
  font-weight: 700;
}

.xdelivery-service-hours__hours{
  white-space: nowrap;
}

@media (max-width: 520px) {
  .xdelivery-service-hours__tabs{
    grid-template-columns: 1fr;
  }
  .xdelivery-service-hours__tab{
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
