/**
 * Ship Today & Delivery Dates for WooCommerce: [ship_today_notice] widget
 */

.wc-ship-today-notice {
  background: var(--wc-ship-today-notice-bg, #fff3b0);
  border: var(--wc-ship-today-notice-border-width, 2px) solid var(--wc-ship-today-notice-border, #f2c94c);
  color: var(--wc-ship-today-notice-color, #111);
  border-radius: var(--wc-ship-today-notice-radius, 8px);
  padding: var(--wc-ship-today-notice-padding, 10px 14px);
  font-weight: var(--wc-ship-today-notice-font-weight, 600);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: var(--wc-ship-today-notice-justify, normal);
  /* Without the variable text-align is inherited. */
  text-align: var(--wc-ship-today-notice-align);
  gap: 6px;
  font-size: var(--wc-ship-today-notice-font-size, 13px);
  line-height: 1.2;
}

.wc-ship-today-notice--loading {
  opacity: 0.6;
}

.wc-ship-today-notice--hidden {
  display: none !important;
}

.wc-ship-today-notice--before {
  display: flex !important;
  background: var(--wc-ship-today-notice-before-bg, #fff3b0);
  border-color: var(--wc-ship-today-notice-before-border, #f2c94c);
  color: var(--wc-ship-today-notice-before-color, var(--wc-ship-today-notice-color, #111));
}

.wc-ship-today-notice--after {
  display: flex !important;
  background: var(--wc-ship-today-notice-after-bg, #fff3b0);
  border-color: var(--wc-ship-today-notice-after-border, #f2c94c);
  color: var(--wc-ship-today-notice-after-color, #111);
}

.wc-ship-today-notice .wc-ship-today-countdown {
  display: inline-flex;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  /* Without the variable the color is inherited. */
  color: var(--wc-ship-today-notice-countdown-color);
}

/* Slot list: [ship_today_notice count="2"] */
.wc-ship-today-notice--list {
  flex-direction: column;
  align-items: var(--wc-ship-today-notice-justify, flex-start);
}

.wc-ship-today-notice__item {
  display: block;
}
