/* Cut-over Part 1 D: the contact buttons on every customer page. */

/* D2 (target-v12-1 r4): the full-width white Call us button, the main buttons' height and
   corners, with the opening hours under it. */
.call-wide {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 52px;
  margin-top: 12px;
  border: 2px solid var(--green);
  border-radius: 12px;
  background: #fff;
  color: var(--green);
  font-size: 17px;
  text-decoration: none;
}

.call-wide-label {
  font-weight: 700;
}

.call-wide-num {
  margin-left: 6px;
  font-weight: 500;
  color: var(--ink);
}

.lines-open {
  margin-top: 10px;
  text-align: center;
  font-size: 14px;
  color: var(--slate);
}

.book-lookup-actions .call-wide,
.withus-card .call-wide {
  margin-top: 10px;
}

/* D1 (target-v12-2-book-now): the reminder page. */
.shell > main > .next-day {
  font-size: 16px;
  font-weight: 700;
  color: var(--green);
}

.shell > main > .cta-book {
  margin-top: 0;
}

.cta-book .b,
.cta-pair .b {
  height: 54px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  font-family: inherit;
}

.cta-book .book {
  width: 100%;
  background: var(--green);
}

.shell > main > .confirm-note {
  margin-top: 8px;
  font-size: 14px;
  color: var(--slate);
}

.shell > main > .cta-pair {
  margin-top: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* Final batch C (target-v12-3): WhatsApp and Call slightly deeper than Book now and the same
   height; "Call us" and the number on two lines with a clear gap, the number smaller and lighter. */
.cta-pair .b {
  height: 60px;
  box-sizing: border-box;
}

.cta-pair .wa {
  background: var(--wa);
}

.cta-pair .call2 {
  flex-direction: column;
  gap: 5px;
  background: #fff;
  border: 2px solid var(--green);
  color: var(--green);
  line-height: 1.1;
}

.call2-top {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
}

.call2-num {
  font-size: 12.5px;
  font-weight: 400;
  color: var(--slate);
  letter-spacing: 0.4px;
}

.shell > main > .lines-open {
  margin-top: 10px;
}

.sp-next { --sp-min: calc(14px * var(--block-gap, 1)); --sp-max: 22px; }
.sp-pair { --sp-min: calc(14px * var(--block-gap, 1)); --sp-max: 18px; }

/* H: Add to calendar on a confirmed booking's status page. */
.cal-add {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.cal-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  border: 1.5px solid var(--green);
  border-radius: 12px;
  background: #fff;
  color: var(--green);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

@media (max-width: 430px) {
  .cta-book .b,
  .cta-pair .b {
    height: 50px;
    font-size: 16px;
  }

  .cta-pair .b {
    height: 58px;
  }

  .call-wide {
    height: 50px;
    font-size: 16px;
  }

  .shell > main > .confirm-note,
  .lines-open {
    font-size: 13px;
  }

  .sp-next { --sp-min: 10px; }
  .sp-pair { --sp-min: 10px; }
}

/* C8 (reminders-trial): stack WhatsApp + Call when narrow or they do not fit (reminder page only). */
.reminder-page .shell > main > .cta-pair {
  display: flex;
  flex-wrap: wrap;
  grid-template-columns: unset;
}

.reminder-page .shell > main > .cta-pair .b {
  flex: 1 1 calc(50% - 5px);
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  height: auto;
  min-height: 60px;
  padding: 6px 8px;
}

@media (max-width: 430px) {
  .reminder-page .shell > main > .cta-pair .b {
    min-height: 58px;
  }
}

.reminder-page .call2-num {
  overflow-wrap: anywhere;
  white-space: normal;
  text-align: center;
  max-width: 100%;
}

@media (max-width: 359.98px) {
  .reminder-page .shell > main > .cta-pair .b {
    flex: 1 1 100%;
    width: 100%;
  }
}
