body.woocommerce-checkout .page-title .wd-checkout-steps,
body.woocommerce-checkout #customer_details,
body.woocommerce-checkout #order_review_heading,
body.woocommerce-checkout #order_review {
  display: none;
}

body.woocommerce-cart #shipping_method.woocommerce-shipping-methods,
body.woocommerce-cart .woocommerce-shipping-destination,
body.woocommerce-cart .woocommerce-shipping-calculator {
  display: none !important;
}

.cws-wof {
  --pink: #ea4494;
  --pink-light: #ffc0cb;
  --purple: #ce9ce0;
  --ink: #171717;
  --line: #e8e1e5;
  color: var(--ink);
  margin: 0 auto 36px;
  max-width: 600px;
  width: min(100%, 600px);
}

.cws-wof-controls {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
  margin: 0 auto 32px;
  text-align: center;
}

.cws-wof-progress {
  display: grid;
  grid-template-columns: repeat(5, 42px);
  gap: 10px;
  justify-content: center;
  margin: 0;
}

.cws-wof-progress button {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #777;
  display: flex;
  font-weight: 700;
  height: 42px;
  justify-content: center;
  padding: 0;
  width: 42px;
}

.cws-wof-progress button.is-active,
.cws-wof-progress button.is-done {
  background: var(--pink);
  border-color: var(--pink);
  color: #fff;
}

.cws-wof-progress button.is-done {
  cursor: pointer;
}

.cws-wof-progress button:disabled {
  cursor: default;
}

.cws-wof-restart {
  align-items: center;
  background: var(--ink) !important;
  border: 2px solid var(--ink) !important;
  border-radius: 4px !important;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
  color: #fff !important;
  cursor: pointer;
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  justify-content: center;
  letter-spacing: 0;
  min-height: 44px;
  min-width: 190px;
  padding: 10px 22px;
  text-decoration: none !important;
  text-transform: uppercase;
}

.cws-wof-restart:hover,
.cws-wof-restart:focus {
  background: var(--pink);
  border-color: var(--pink);
  color: #fff;
  outline: none;
}

.cws-wof-step {
  display: none;
  text-align: center;
}

.cws-wof-step.is-active {
  display: block;
}

.cws-wof-step h2 {
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: 0;
  line-height: 1.1;
  margin: 0 0 18px;
}

.cws-wof-step p {
  font-size: 17px;
}

.cws-wof-actions--split,
.cws-wof-choice-grid,
.cws-wof-two,
.cws-wof-form-grid {
  display: grid;
  gap: 24px;
}

.cws-wof-actions--split,
.cws-wof-choice-grid,
.cws-wof-two {
  grid-template-columns: 1fr;
}

.cws-wof-choice,
.cws-wof-store {
  background: var(--pink);
  border-radius: 8px;
  box-shadow: 10px 10px 20px -12px rgba(0, 0, 0, 0.55);
  color: #fff;
  cursor: pointer;
  display: block;
  min-height: 230px;
  padding: 30px;
  text-align: center;
}

.cws-wof-choice input,
.cws-wof-store input {
  position: absolute;
  opacity: 0;
}

.cws-wof-choice:has(input:checked),
.cws-wof-store:has(input:checked) {
  background: var(--purple);
}

.cws-wof-choice strong {
  color: #fff;
  display: block;
  font-size: 34px;
  line-height: 1.15;
  margin-bottom: 22px;
  text-transform: uppercase;
}

.cws-wof-choice span,
.cws-wof-choice small,
.cws-wof-store span,
.cws-wof-store strong {
  color: #fff;
  display: block;
}

.cws-wof-choice span {
  font-size: 23px;
  line-height: 1.35;
  margin-bottom: 22px;
}

.cws-wof-choice small {
  font-size: 15px;
  line-height: 1.45;
}

.cws-wof-button {
  background: var(--pink) !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: #fff !important;
  cursor: pointer;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0;
  min-height: 64px;
  padding: 18px 24px;
  text-transform: uppercase;
  transition: background-color 120ms ease, opacity 120ms ease, transform 120ms ease;
}

.cws-wof-button:disabled,
.cws-wof-button.is-loading {
  cursor: wait;
  opacity: 0.55;
}

.cws-wof-button.is-loading {
  transform: translateY(1px);
}

.cws-wof-button--wide {
  margin-top: 32px;
  width: 100%;
}

.cws-wof-field {
  display: block;
  position: relative;
  text-align: left;
}

.cws-wof-field span,
.cws-wof-check {
  display: block;
  font-size: 16px;
  margin-bottom: 8px;
}

.cws-wof-field input,
.cws-wof-field textarea {
  background: #fff;
  border: 1px solid #d8d8d8;
  border-radius: 0;
  box-sizing: border-box;
  min-height: 44px;
  padding: 10px 14px;
  width: 100%;
}

.cws-wof-field textarea {
  min-height: 180px;
}

.cws-wof-form-grid {
  grid-template-columns: 1fr;
  text-align: left;
}

.cws-wof-wide {
  grid-column: 1 / -1;
}

.cws-wof-stores {
  text-align: left;
}

.cws-wof-store {
  margin-bottom: 12px;
  min-height: 0;
  padding: 16px 18px;
  text-align: left;
}

.cws-wof-section-heading {
  grid-column: 1 / -1;
  font-size: 22px;
  letter-spacing: 0;
  margin: 8px 0 0;
  text-align: left;
}

.cws-wof-calendar {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  padding: 16px;
}

.cws-wof-calendar__head {
  align-items: center;
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  gap: 8px;
  margin-bottom: 12px;
}

.cws-wof-calendar__head button,
.cws-wof-calendar__grid button {
  border-radius: 4px;
  letter-spacing: 0;
}

.cws-wof-calendar__head button {
  background: var(--pink);
  border: 0;
  color: #fff;
  cursor: pointer;
  font-size: 28px;
  height: 40px;
  line-height: 1;
  padding: 0;
}

.cws-wof-calendar__head button:disabled {
  background: #f1d8e3;
  cursor: default;
  opacity: .55;
}

.cws-wof-calendar__head strong {
  font-size: 18px;
  text-align: center;
}

.cws-wof-calendar__weekdays,
.cws-wof-calendar__grid {
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.cws-wof-calendar__weekdays {
  color: #555;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.cws-wof-calendar__grid button,
.cws-wof-calendar__blank {
  align-items: center;
  aspect-ratio: 1;
  display: flex;
  justify-content: center;
}

.cws-wof-calendar__grid button {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
  padding: 0;
}

.cws-wof-calendar__grid button:hover,
.cws-wof-calendar__grid button.is-selected {
  background: var(--pink);
  border-color: var(--pink);
  color: #fff;
}

.cws-wof-calendar__grid button:disabled {
  background: #f5f1f4;
  color: #b7aeb4;
  cursor: default;
  text-decoration: line-through;
}

.cws-wof-calendar__grid button.is-holiday:disabled {
  background: #ffe4e8;
  border-color: #f5a6b2;
  color: #c55f70;
  text-decoration: none;
}

.cws-wof-suggestions {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
  display: none;
  left: 0;
  position: absolute;
  right: 0;
  top: calc(100% + 4px);
  z-index: 20;
}

.cws-wof-suggestions button {
  background: #fff;
  border: 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  display: block;
  padding: 12px 14px;
  text-align: left;
  width: 100%;
}

.cws-wof-coupon-next {
  margin-top: 22px;
}

.cws-wof-coupon-slot {
  margin: 0;
}

.cws-wof-coupon-slot form.checkout_coupon {
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: none;
  box-sizing: border-box;
  display: none;
  margin: 0 !important;
  padding: 18px !important;
  width: 100%;
}

.cws-wof-coupon-slot form.checkout_coupon p {
  margin: 0 0 12px;
  text-align: left;
}

.cws-wof-coupon-slot form.checkout_coupon .form-row {
  float: none;
  width: 100%;
}

.cws-wof-coupon-slot form.checkout_coupon .button {
  background: var(--ink) !important;
  border: 0 !important;
  color: #fff !important;
  margin-top: 10px;
  min-height: 44px;
  width: 100%;
}

.cws-wof-modal[hidden] {
  display: none;
}

.cws-wof-modal {
  align-items: center;
  background: rgba(0, 0, 0, 0.52);
  bottom: 0;
  display: flex;
  justify-content: center;
  left: 0;
  padding: 24px;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 99999;
}

.cws-wof-modal__box {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
  max-width: 460px;
  padding: 28px;
  text-align: center;
  width: 100%;
}

.cws-wof-modal__box h3 {
  font-size: 28px;
  letter-spacing: 0;
  margin: 0 0 10px;
}

.cws-wof-modal__box p {
  font-size: 16px;
  margin: 0 0 22px;
}

.cws-wof-confirm-line {
  display: block;
  line-height: 1.45;
  margin: 0 0 14px;
}

.cws-wof-confirm-line strong {
  display: block;
  font-weight: 800;
  margin-bottom: 4px;
}

.cws-wof-modal__actions {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cws-wof-modal__actions button {
  border-radius: 4px;
  cursor: pointer;
  font-weight: 800;
  letter-spacing: 0;
  min-height: 46px;
  padding: 12px 16px;
  text-transform: uppercase;
}

.cws-wof-modal__confirm {
  background: var(--pink);
  border: 1px solid var(--pink);
  color: #fff;
}

.cws-wof-modal__cancel {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
}

.cws-wof-modal__actions button:only-child {
  grid-column: 1 / -1;
}

[data-invoice-fields] {
  display: none;
  margin-top: 18px;
}

.cws-wof-native-field,
.cws-wof-hidden-field {
  display: none !important;
}

@media (max-width: 760px) {
  .cws-wof-progress {
    grid-template-columns: repeat(5, 34px);
  }

  .cws-wof-progress button {
    height: 34px;
    width: 34px;
  }

  .cws-wof-actions--split,
  .cws-wof-choice-grid,
  .cws-wof-two,
  .cws-wof-form-grid {
    grid-template-columns: 1fr;
  }

  .cws-wof-choice {
    min-height: 0;
    padding: 24px 18px;
  }

  .cws-wof-choice strong {
    font-size: 28px;
  }
}
