.wzt-delivery-calendar {
  box-sizing: border-box;
  margin: 0 0 1.5rem;
  padding: clamp(1rem, 2.5vw, 1.5rem);
  border: 1px solid #cfdbd5;
  border-radius: 14px;
  background: #f5f8f6;
  color: #183a2c;
}

.wzt-delivery-calendar h3 { margin: 0 0 .4rem; font-size: 1.25rem; }
.wzt-delivery-calendar__help { margin: 0 0 .9rem; color: #466356; }
.wzt-delivery-calendar input[type="date"] {
  box-sizing: border-box;
  width: 100%; min-height: 48px; padding: .65rem .8rem;
  border: 1px solid #8fa69b; border-radius: 8px; background: #fff; color: #17382a;
  font: inherit; color-scheme: light;
}
.wzt-delivery-calendar input[type="date"]:focus {
  outline: 3px solid rgba(63, 119, 91, .2); outline-offset: 2px; border-color: #2b6048;
}
.wzt-delivery-calendar input[aria-invalid="true"] { border-color: #a62929; }
.wzt-delivery-calendar__error { min-height: 1.25em; margin: .45rem 0 0; color: #8d2020; font-weight: 600; }

.wzt-delivery-calendar--enhanced input[type="date"] {
  position: absolute; width: 1px; height: 1px; min-height: 0; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.wzt-date-grid { max-width: 34rem; padding-top: .25rem; }
.wzt-date-grid__header { display: grid; grid-template-columns: 2.75rem 1fr 2.75rem; align-items: center; gap: .5rem; margin-bottom: .8rem; }
.wzt-date-grid__header strong { text-align: center; text-transform: capitalize; font-size: 1.05rem; }
.wzt-date-grid__saturday-legend {
  margin: -.2rem 0 .65rem; color: #795617; text-align: right; font-size: .82rem; font-weight: 700;
}
.wzt-date-grid__nav {
  display: grid; place-items: center; min-width: 2.75rem; min-height: 2.75rem; padding: 0;
  border: 1px solid #afc0b7; border-radius: 999px; background: #fff; color: #244d39; font: 700 1.5rem/1 inherit;
}
.wzt-date-grid__nav:disabled { opacity: .28; cursor: default; }
.wzt-date-grid__weekdays,.wzt-date-grid__days { display: grid; grid-template-columns: repeat(7, minmax(2.4rem, 1fr)); gap: .3rem; }
.wzt-date-grid__weekdays { margin-bottom: .35rem; }
.wzt-date-grid__weekdays span { padding: .3rem 0; color: #5a7166; text-align: center; font-size: .82rem; font-weight: 700; }
.wzt-date-grid__days > span { min-height: 2.75rem; }
.wzt-date-grid__days button {
  min-height: 2.75rem; padding: .25rem; border: 1px solid #b7c8bf; border-radius: 8px;
  background: #fff; color: #17382a; font: inherit; font-weight: 650; cursor: pointer;
}
.wzt-date-grid__days button:hover:not(:disabled),.wzt-date-grid__days button:focus-visible { border-color: #356b50; outline: 3px solid rgba(63,119,91,.18); }
.wzt-date-grid__days button:disabled { border-color: transparent; background: transparent; color: #aeb8b3; cursor: default; }
.wzt-date-grid__days button.is-selected { border-color: #356b50; background: #356b50; color: #fff; }
.wzt-date-grid__days button.is-saturday:not(.is-selected) { border-color: #c59842; background: #fff9eb; color: #6f4e12; }
.wzt-date-grid__window { margin: .8rem 0 0; color: #365848; font-weight: 650; }
.wzt-shipping-method-note { display: block; margin-top: .3rem; color: #586e63; font-size: .85em; font-weight: 400; }

div.wzt-checkout-delivery-date {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .85rem 0; border-top: 1px solid #dbe4df; color: #183a2c;
}
div.wzt-checkout-delivery-date span { text-align: right; white-space: nowrap; }

html:not(.wzt-delivery-date-ready) .wc-block-components-express-payment,
html:not(.wzt-delivery-date-ready) .ppc-button-wrapper,
html:not(.wzt-delivery-date-ready) #pay_with_amazon {
  opacity: .55;
}

@media (max-width: 480px) {
  .wzt-delivery-calendar { padding: 1rem; }
  .wzt-date-grid__weekdays,.wzt-date-grid__days { gap: .18rem; }
  .wzt-date-grid__days button,.wzt-date-grid__days > span { min-height: 2.35rem; }
}
