.rcp-root,
.rcp-root * {
  box-sizing: border-box;
  font-family: "Prompt", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

.rcp-root {
  --rcp-red: var(--rcp-accent, #e8202a);
  --fn-red: var(--rcp-accent, #e8202a);
  --fn-red-dark: #c41620;
  --fn-text: #1b1b1f;
  --fn-muted: #8b8e96;
  --fn-line: #ececed;
  --fn-font: "Inter", "Prompt", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --rcp-ink: #111114;
  --rcp-muted: #6f737c;
  --rcp-soft: #f5f5f6;
  --rcp-line: #e8e8eb;
  --rcp-green: #25d366;
}

/* Agency floating nav code copied from RedCommerce prototype. */
.rcw-floating-nav {
  position: fixed;
  left: 50%;
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 999999;
  width: min(600px, calc(100% - 28px));
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  transform: translateX(-50%);
  font-family: var(--fn-font);
}

.rcw-floating-nav__menu {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  width: 420px;
  max-width: 100%;
  margin: 0 auto 14px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 26px 60px -22px rgba(18, 20, 30, 0.32), 0 6px 18px -10px rgba(18, 20, 30, 0.14);
  opacity: 0;
  transform: translateY(12px) scale(0.96);
  transform-origin: bottom center;
  pointer-events: none;
  visibility: hidden;
  will-change: transform, opacity;
  transition:
    opacity 0.18s ease,
    transform 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 0.34s;
}

.rcw-floating-nav.is-menu-open .rcw-floating-nav__menu {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  visibility: visible;
  transition:
    opacity 0.16s ease,
    transform 0.44s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 0s;
}

/* Entrance animation variants (Builder → Advanced → Behavior). Only the
   closed-state transform differs; the open state always resets to 0/scale(1). */
#rcp-root[data-rcp-anim="fadeUp"] .rcw-floating-nav__menu { transform: translateY(26px) scale(1); }
#rcp-root[data-rcp-anim="slideL"] .rcw-floating-nav__menu { transform: translateX(28px) scale(1); transform-origin: bottom right; }
#rcp-root[data-rcp-anim="zoom"] .rcw-floating-nav__menu { transform: scale(0.82); }

.rcw-floating-nav__menu-inner {
  padding: 14px 24px;
}

.rcw-floating-nav__row {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 15px 6px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  text-align: left;
  text-decoration: none;
  color: inherit;
  transition: background 0.14s ease;
}

.rcw-floating-nav__row:hover,
.rcw-floating-nav__row:focus-visible {
  background: #f7f7f8;
  outline: none;
}

.rcw-floating-nav__row-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  flex: 0 0 auto;
  margin-top: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(232, 32, 42, 0.1);
  color: var(--fn-red);
}

.rcw-floating-nav__row-icon svg {
  width: 19px;
  height: 19px;
  display: block;
}

.rcw-floating-nav__row-title {
  display: block;
  font-size: 15.5px;
  font-weight: 700;
  margin-bottom: 3px;
  line-height: 1.2;
}

.rcw-floating-nav__row-sub {
  display: block;
  font-size: 12.5px;
  color: var(--fn-muted);
  line-height: 1.45;
}

.rcw-floating-nav__row-action,
.rcw-floating-nav__row-price {
  margin-left: auto;
  align-self: center;
  color: var(--fn-text);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.rcw-floating-nav__row-price {
  color: var(--fn-red);
  font-size: 13px;
  font-weight: 700;
}

.rcw-floating-nav__bar {
  display: flex;
  align-items: stretch;
  gap: 6px;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 18px 50px -14px rgba(18, 20, 30, 0.3), 0 4px 14px -8px rgba(18, 20, 30, 0.16);
  padding: 12px;
}

.rcw-floating-nav__item {
  appearance: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  color: var(--fn-text);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  flex: 1 1 0;
  padding: 11px 6px;
  border-radius: 16px;
  position: relative;
  transition: background 0.16s ease;
}

.rcw-floating-nav__item:hover,
.rcw-floating-nav__item:focus-visible {
  background: #f5f5f7;
  color: var(--fn-text);
  outline: none;
  text-decoration: none;
}

.rcw-floating-nav__item svg {
  width: 22px;
  height: 22px;
  display: block;
}

.rcw-floating-nav__label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1px;
  line-height: 1;
}

.rcw-floating-nav__caret {
  width: 15px;
  height: 15px;
  color: var(--fn-muted);
  transition: transform 0.22s ease;
}

.rcw-floating-nav.is-menu-open .rcw-floating-nav__item--diensten .rcw-floating-nav__caret {
  transform: rotate(180deg);
  color: var(--fn-text);
}

.rcp-services-open .rcw-floating-nav #rcp-services-toggle {
  background: transparent;
}

.rcp-services-open .rcw-floating-nav #rcp-services-toggle:hover,
.rcp-services-open .rcw-floating-nav #rcp-services-toggle:focus-visible {
  background: #f5f5f7;
}

.rcw-floating-nav__cta {
  flex: 0 0 auto;
  min-width: 178px;
  background: var(--fn-red);
  color: #fff;
  flex-direction: row;
  gap: 10px;
  padding: 0 20px;
  border-radius: 14px;
  margin: 0 3px;
  box-shadow: 0 12px 26px -10px rgba(232, 32, 42, 0.6);
  transition: background 0.16s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.rcw-floating-nav__cta:hover,
.rcw-floating-nav__cta:focus-visible {
  background: var(--fn-red-dark);
  color: #fff;
}

.rcw-floating-nav__cta svg {
  width: 21px;
  height: 21px;
}

.rcw-floating-nav__cta .rcw-floating-nav__label {
  font-size: 15px;
  font-weight: 700;
}

.rcw-floating-nav.is-cta-active .rcw-floating-nav__cta,
.rcp-modal-open .rcw-floating-nav__cta {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px -10px rgba(232, 32, 42, 0.75);
}

.rcw-floating-nav__label--short {
  display: none;
}

.rcw-floating-nav--actions {
  width: min(var(--rcp-bar-max, 360px), calc(100% - 24px));
}

.rcw-floating-nav--actions .rcw-floating-nav__bar {
  align-items: center;
  gap: 11px;
  min-height: 70px;
  padding: 8px 12px;
  border-radius: 999px;
}

/* Bar width control (builder option). data-rcp-barw="auto" (default): the
   visible pill hugs its buttons and stays centered, so a 2-button bar isn't
   stretched to full width. --rcp-bar-max caps how wide it can grow.
   "fixed": the pill fills the outer width (= --rcp-bar-max), the classic look. */
#rcp-root[data-rcp-barw="auto"] .rcw-floating-nav--actions {
  /* Hug the bar so the whole popup (menu + bar) stays cohesive — the menu
     popover follows this width too. min-width keeps menu labels readable. */
  width: fit-content;
  min-width: 360px;
  max-width: min(var(--rcp-bar-max, 360px), calc(100% - 24px));
}
#rcp-root[data-rcp-barw="auto"] .rcw-floating-nav--actions .rcw-floating-nav__bar {
  width: fit-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}
#rcp-root[data-rcp-barw="auto"] .rcw-floating-nav--actions .rcw-floating-nav__item {
  flex: 0 0 auto;
}

.rcw-floating-nav--actions .rcw-floating-nav__item {
  flex: 1 1 0;
  gap: 5px;
  min-height: 54px;
  padding: 6px 9px;
  border-radius: 999px;
}

.rcw-floating-nav--actions .rcw-floating-nav__item svg {
  width: 21px;
  height: 21px;
}

.rcw-floating-nav--actions .rcw-floating-nav__label {
  font-size: 14px;
  font-weight: 700;
}

.rcw-floating-nav--actions .rcw-floating-nav__cta {
  flex: 0 0 215px;
  min-width: 215px;
  height: 55px;
  flex-direction: row;
  gap: 10px;
  padding: 0 22px;
  border-radius: 999px;
  margin: 0;
}

.rcw-floating-nav--actions .rcw-floating-nav__cta svg {
  width: 20px;
  height: 20px;
}

.rcw-floating-nav--actions .rcw-floating-nav__cta .rcw-floating-nav__label {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .rcw-floating-nav {
    max-width: 430px;
  }

  .rcw-floating-nav__bar {
    gap: 2px;
    padding: 8px;
  }

  .rcw-floating-nav__item {
    gap: 6px;
    padding: 9px 4px;
  }

  .rcw-floating-nav__item svg {
    width: 21px;
    height: 21px;
  }

  .rcw-floating-nav__label {
    font-size: 11px;
  }

  .rcw-floating-nav__label--full {
    display: none;
  }

  .rcw-floating-nav__label--short {
    display: inline;
  }

  .rcw-floating-nav__cta {
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    width: 64px;
    padding: 10px 4px;
    border-radius: 18px;
    margin: -14px 2px 0;
  }

  .rcw-floating-nav__cta svg {
    width: 22px;
    height: 22px;
  }

  .rcw-floating-nav__cta .rcw-floating-nav__label {
    font-size: 11px;
    font-weight: 700;
  }

  .rcw-floating-nav--actions {
    width: min(var(--rcp-bar-max, 360px), calc(100% - 20px));
    max-width: none;
  }

  .rcw-floating-nav--actions .rcw-floating-nav__bar {
    gap: 11px;
    min-height: 70px;
    padding: 8px 12px;
    border-radius: 999px;
  }

  .rcw-floating-nav--actions .rcw-floating-nav__item {
    gap: 5px;
    min-height: 56px;
    padding: 7px 8px;
    border-radius: 999px;
  }

  .rcw-floating-nav--actions .rcw-floating-nav__item svg {
    width: 23px;
    height: 23px;
  }

  .rcw-floating-nav--actions .rcw-floating-nav__label {
    font-size: 13px;
    font-weight: 700;
  }

  .rcw-floating-nav--actions .rcw-floating-nav__cta {
    flex: 0 0 215px;
    min-width: 215px;
    width: auto;
    height: 55px;
    flex-direction: row;
    gap: 10px;
    padding: 0 22px;
    border-radius: 999px;
    margin: 0;
  }

  .rcw-floating-nav--actions .rcw-floating-nav__cta svg {
    width: 22px;
    height: 22px;
  }

  .rcw-floating-nav--actions .rcw-floating-nav__cta .rcw-floating-nav__label {
    font-size: 15px;
    font-weight: 700;
  }
}

.rcp-root button,
.rcp-root input,
.rcp-root select,
.rcp-root textarea,
.rcp-root a {
  font: inherit;
}

.rcp-root button,
.rcp-root a {
  -webkit-tap-highlight-color: transparent;
}

.rcp-lock {
  overflow: hidden;
}

.rcp-overlay {
  position: fixed;
  inset: 0;
  z-index: 999998;
  background: rgba(15, 15, 18, 0.34);
  opacity: 0;
  /* Same click-trap guard as .rcp-modal: a fullscreen fixed overlay must
     not eat clicks when closed if `hidden` is ever defeated. */
  visibility: hidden;
  pointer-events: none;
  backdrop-filter: blur(5px);
  transition: opacity 0.18s ease, visibility 0s linear 0.18s;
}

.rcp-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Focus scrim: a slight dim over the whole page (behind the bar + menu) that
   fades in when a category is opened, so attention stays on the popup.
   z-index sits below the floating nav (999999) but above the page. */
.rcp-scrim {
  position: fixed;
  inset: 0;
  z-index: 999990;
  background: rgba(12, 13, 16, 0.34);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}
.rcp-scrim.is-on {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.3s ease, visibility 0s linear 0s;
}

/* Confirmation dialog for the WhatsApp / call links (prevents accidental taps).
   Closed state is non-interactive even if the `hidden` attribute is defeated by
   a theme, so it can never trap clicks. */
.rcp-confirm {
  position: fixed;
  inset: 0;
  z-index: 1000001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: transparent;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, visibility 0s linear 0.18s;
}
.rcp-confirm.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.18s ease, visibility 0s linear 0s;
}
.rcp-confirm__sheet {
  width: min(340px, 100%);
  background: #fff;
  border-radius: 20px;
  padding: 24px 20px 16px;
  box-shadow: 0 30px 80px rgba(17, 24, 39, 0.32);
  text-align: center;
  transform: translateY(10px) scale(0.97);
  transition: transform 0.2s ease;
}
.rcp-confirm.is-open .rcp-confirm__sheet {
  transform: none;
}
.rcp-confirm__msg {
  margin: 0 0 18px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--fn-text);
}
.rcp-confirm__actions {
  display: flex;
  gap: 10px;
}
.rcp-confirm__btn {
  flex: 1 1 0;
  border: 0;
  cursor: pointer;
  padding: 13px 12px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  transition: background 0.14s ease;
}
.rcp-confirm__btn--cancel {
  background: #f1f1f3;
  color: var(--fn-text);
}
.rcp-confirm__btn--cancel:hover {
  background: #e5e5e8;
}
.rcp-confirm__btn--ok {
  background: var(--fn-red);
  color: #fff;
}
.rcp-confirm__btn--ok:hover {
  background: var(--fn-red-dark);
}

/* Info modal — centered popup with a title + paragraph (FAQ answers), over a slight
   dim so it draws focus. */
.rcp-info {
  position: fixed;
  inset: 0;
  z-index: 1000001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(12, 13, 16, 0.34);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, visibility 0s linear 0.18s;
}
.rcp-info.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.18s ease, visibility 0s linear 0s;
}
.rcp-info__sheet {
  position: relative;
  width: min(380px, 100%);
  background: #fff;
  border-radius: 20px;
  padding: 26px 22px 22px;
  box-shadow: 0 30px 80px rgba(17, 24, 39, 0.32);
  transform: translateY(10px) scale(0.97);
  transition: transform 0.2s ease;
}
.rcp-info.is-open .rcp-info__sheet {
  transform: none;
}
.rcp-info__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 30px;
  height: 30px;
  border: 0;
  background: #f1f1f3;
  color: var(--fn-text);
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.14s ease;
}
.rcp-info__close:hover {
  background: #e5e5e8;
}
[dir="rtl"] .rcp-info__close {
  right: auto;
  left: 12px;
}
.rcp-info__title {
  margin: 0 0 10px;
  padding-right: 28px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--fn-text);
}
[dir="rtl"] .rcp-info__title {
  padding-right: 0;
  padding-left: 28px;
}
.rcp-info__body {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--fn-muted, #555);
}

/* Loading state (Mijn lessen) — centered spinner + label while content "loads". */
.rcw-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 52px 16px;
}
.rcw-spinner {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 3px solid rgba(0, 0, 0, 0.1);
  border-top-color: var(--fn-red);
  animation: rcwSpin 0.7s linear infinite;
}
@keyframes rcwSpin {
  to { transform: rotate(360deg); }
}
.rcw-loading__text {
  margin: 0;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--fn-muted);
}

/* Google review rows (Geslaagden & reviews). */
.rcw-review__ava {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  flex: 0 0 auto;
  margin-top: 1px;
  background: #e7e8eb center / cover no-repeat;
}
.rcw-review__stars {
  margin-left: 7px;
  font-size: 12px;
  letter-spacing: 1px;
  color: #f5a623;
  font-weight: 400;
  vertical-align: 1px;
}
.rcw-review__text {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rcw-review__attr {
  margin: 10px 6px 2px;
  font-size: 11.5px;
  color: var(--fn-muted);
  text-align: center;
}

.rcp-services-open #rcp-services-toggle {
  background: #eeeeef;
}

.rcp-back {
  appearance: none;
  border: 0;
  border-radius: 999px;
  background: #f0f0f2;
  color: #434650;
  cursor: pointer;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
}

.rcp-choice-card__icon,
.rcp-service-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 13px;
  background: rgba(232, 32, 42, 0.09);
  color: var(--rcp-red);
}

.rcp-choice-card__icon svg,
.rcp-service-card__icon svg {
  width: 20px;
  height: 20px;
}

.rcp-modal {
  position: fixed;
  left: 50%;
  bottom: calc(max(12px, env(safe-area-inset-bottom)) + 92px);
  z-index: 999999;
  width: min(470px, calc(100% - 24px));
  max-height: min(720px, calc(100vh - 116px));
  overflow: hidden;
  border: 1px solid rgba(20, 20, 24, 0.08);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 30px 90px rgba(17, 24, 39, 0.28);
  opacity: 0;
  /* Closed state must not capture pointer events even if the `hidden`
     attribute's display:none is overridden by a theme rule like
     `section { display: block }` (this is a <section>). Without this it
     becomes an invisible fixed z-999999 click-trap over the live menu. */
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(18px) scale(0.98);
  transform-origin: bottom center;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
}

.rcp-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0s;
}

.rcp-modal__shell {
  max-height: min(720px, calc(100vh - 116px));
  overflow-y: auto;
  overscroll-behavior: contain;
  background:
    radial-gradient(circle at 22px 20px, rgba(232, 32, 42, 0.08), transparent 90px),
    #ffffff;
}

.rcp-close {
  position: absolute;
  top: 13px;
  right: 13px;
  z-index: 3;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: #f0f0f2;
  color: #7f838c;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}

.rcp-close:hover,
.rcp-close:focus-visible {
  background: #e7e7ea;
  color: var(--rcp-ink);
  outline: none;
}

.rcp-modal__header {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 76px;
  padding: 17px 78px 15px 18px;
  border-bottom: 1px solid var(--rcp-line);
}

.rcp-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
  border: 2px solid #ffffff;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.12);
}

.rcp-avatar--fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--rcp-red);
  color: #ffffff;
  font-weight: 700;
}

.rcp-agent {
  min-width: 0;
}

.rcp-agent strong,
.rcp-agent span {
  display: block;
}

.rcp-agent strong {
  overflow: hidden;
  color: var(--rcp-ink);
  font-size: 15px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rcp-agent span {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  color: #20b35a;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
}

.rcp-agent i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #20c964;
  box-shadow: 0 0 0 4px rgba(32, 201, 100, 0.12);
}

.rcp-modal__mark {
  position: absolute;
  right: 52px;
  top: 18px;
  padding: 5px 8px;
  border-radius: 999px;
  background: #111114;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.rcp-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 12px 14px 0;
}

.rcp-tabs button {
  appearance: none;
  border: 0;
  border-radius: 14px;
  background: #f0f0f2;
  color: #5f646e;
  cursor: pointer;
  min-height: 42px;
  padding: 10px;
  font-size: 13px;
  font-weight: 700;
  transition: background 0.18s ease, color 0.18s ease;
}

.rcp-tabs button.is-active {
  background: var(--rcp-red);
  color: #ffffff;
}

.rcp-panel {
  display: none;
  padding: 14px 18px 18px;
}

.rcp-panel.is-active,
.rcp-step.is-active {
  display: block;
  animation: rcp-slide-in 0.2s ease both;
}

.rcp-step {
  display: none;
}

.rcp-kicker {
  margin: 0 0 5px;
  color: var(--rcp-red);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.rcp-step h3,
.rcp-panel h3 {
  margin: 0 0 14px;
  color: var(--rcp-ink);
  font-size: 21px;
  line-height: 1.16;
}

.rcp-progress {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  margin-bottom: 16px;
}

.rcp-progress span {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 42px;
  border-radius: 14px;
  background: #f0f0f2;
  color: #878b94;
  line-height: 1;
}

.rcp-progress b {
  font-size: 12px;
}

.rcp-progress em {
  display: block;
  max-width: 100%;
  overflow: hidden;
  margin-top: 4px;
  font-size: 9px;
  font-style: normal;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rcp-progress span.is-active {
  background: var(--rcp-red);
  color: #ffffff;
}

.rcp-progress span.is-complete {
  background: #111114;
  color: #ffffff;
}

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

.rcp-choice-card,
.rcp-service-card,
.rcp-date-chip {
  appearance: none;
  border: 1px solid var(--rcp-line);
  background: #ffffff;
  color: var(--rcp-ink);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.rcp-choice-card {
  min-height: 118px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 11px;
  padding: 14px;
  border-radius: 18px;
}

.rcp-choice-card strong,
.rcp-choice-card span {
  display: block;
}

.rcp-choice-card strong {
  font-size: 15px;
  line-height: 1.2;
}

.rcp-choice-card > span:not(.rcp-choice-card__icon) {
  color: var(--rcp-muted);
  font-size: 12px;
  line-height: 1.2;
}

.rcp-choice-card:hover,
.rcp-choice-card:focus-visible,
.rcp-choice-card.is-selected,
.rcp-service-card:hover,
.rcp-service-card:focus-visible,
.rcp-service-card.is-selected,
.rcp-date-chip:hover,
.rcp-date-chip:focus-visible,
.rcp-date-chip.is-selected {
  border-color: rgba(232, 32, 42, 0.55);
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.1);
  outline: none;
  transform: translateY(-1px);
}

.rcp-choice-card.is-selected,
.rcp-service-card.is-selected,
.rcp-date-chip.is-selected {
  background: rgba(232, 32, 42, 0.05);
}

.rcp-choice-list,
.rcp-date-list,
.rcp-lessons-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.rcp-service-card {
  width: 100%;
  min-height: 72px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 13px;
  border-radius: 18px;
}

.rcp-service-card strong,
.rcp-service-card em {
  display: block;
}

.rcp-service-card strong {
  color: var(--rcp-ink);
  font-size: 14px;
  line-height: 1.2;
}

.rcp-service-card em {
  overflow: hidden;
  margin-top: 4px;
  color: var(--rcp-muted);
  font-size: 12px;
  font-style: normal;
  line-height: 1.35;
}

.rcp-service-card b {
  color: var(--rcp-red);
  font-size: 13px;
  white-space: nowrap;
}

.rcp-date-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 12px;
}

.rcp-date-chip {
  min-height: 58px;
  padding: 11px 9px;
  border-radius: 16px;
  text-align: center;
}

.rcp-date-chip strong,
.rcp-date-chip span {
  display: block;
}

.rcp-date-chip strong {
  font-size: 13px;
  line-height: 1.15;
}

.rcp-date-chip span {
  margin-top: 4px;
  color: var(--rcp-muted);
  font-size: 10px;
  font-weight: 700;
}

.rcp-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 10px;
}

.rcp-field span {
  color: #4f535e;
  font-size: 12px;
  font-weight: 700;
}

.rcp-field input,
.rcp-field textarea,
.rcp-field select {
  width: 100%;
  min-height: 48px;
  border: 1px solid #dcdee4;
  border-radius: 15px;
  background: #f8f8f9;
  color: var(--rcp-ink);
  font-size: 14px;
  line-height: 1.4;
  padding: 12px 13px;
  outline: none;
}

.rcp-field textarea {
  min-height: 96px;
  resize: vertical;
}

.rcp-field input:focus,
.rcp-field textarea:focus,
.rcp-field select:focus {
  border-color: rgba(232, 32, 42, 0.7);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(232, 32, 42, 0.09);
}

.rcp-summary {
  position: relative;
  margin-bottom: 12px;
  padding: 13px 88px 13px 14px;
  border: 1px solid rgba(232, 32, 42, 0.15);
  border-radius: 18px;
  background: rgba(232, 32, 42, 0.05);
}

.rcp-summary strong,
.rcp-summary span {
  display: block;
}

.rcp-summary strong {
  color: var(--rcp-ink);
  font-size: 14px;
  line-height: 1.25;
}

.rcp-summary span {
  margin-top: 4px;
  color: var(--rcp-muted);
  font-size: 12px;
  line-height: 1.3;
}

.rcp-summary b {
  position: absolute;
  right: 13px;
  top: 50%;
  max-width: 78px;
  overflow: hidden;
  color: var(--rcp-red);
  font-size: 13px;
  text-overflow: ellipsis;
  transform: translateY(-50%);
  white-space: nowrap;
}

.rcp-submit,
.rcp-whatsapp-handoff,
.rcp-pay-link,
.rcp-invoice-btn {
  width: 100%;
  border: 0;
  border-radius: 16px;
  cursor: pointer;
  min-height: 50px;
  padding: 13px 16px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.rcp-submit {
  background: var(--rcp-red);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(232, 32, 42, 0.26);
}

.rcp-submit:hover,
.rcp-submit:focus-visible {
  color: #ffffff;
  outline: none;
  transform: translateY(-1px);
}

.rcp-after-submit {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 9px;
}

.rcp-pay-link {
  display: block;
  background: #111114;
  color: #ffffff;
}

.rcp-pay-link:hover,
.rcp-pay-link:focus-visible {
  color: #ffffff;
  outline: none;
  text-decoration: none;
}

.rcp-invoice-btn {
  display: block;
  background: #f0f0f2;
  color: #202229;
}

.rcp-whatsapp-handoff {
  display: block;
  margin-top: 9px;
  background: var(--rcp-green);
  color: #ffffff;
}

.rcp-whatsapp-handoff:hover,
.rcp-whatsapp-handoff:focus-visible {
  color: #ffffff;
  outline: none;
  text-decoration: none;
}

.rcp-back {
  width: auto;
  margin-bottom: 10px;
}

.rcp-form-message {
  min-height: 20px;
  margin: 10px 0 0;
  color: #555965;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

.rcp-form-message.is-success {
  color: #168846;
}

.rcp-form-message.is-error {
  color: #c41924;
}

.rcp-form-message.is-loading {
  color: var(--rcp-ink);
}

.rcp-lesson {
  position: relative;
  padding: 13px 13px 13px 34px;
  border: 1px solid var(--rcp-line);
  border-radius: 17px;
  background: #ffffff;
}

.rcp-lesson__dot {
  position: absolute;
  left: 13px;
  top: 18px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--rcp-red);
}

.rcp-lesson strong,
.rcp-lesson span,
.rcp-lesson small {
  display: block;
}

.rcp-lesson strong {
  color: var(--rcp-ink);
  font-size: 14px;
  line-height: 1.25;
}

.rcp-lesson span {
  margin-top: 4px;
  color: #656974;
  font-size: 12px;
  line-height: 1.3;
}

.rcp-lesson small {
  margin-top: 6px;
  color: #989ba4;
  font-size: 11px;
}

.rcp-empty {
  margin: 0;
  padding: 20px;
  border: 1px dashed #d9dbe1;
  border-radius: 18px;
  background: #f8f8f9;
  color: #656974;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

@keyframes rcp-slide-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 720px) {

  .rcp-modal {
    bottom: 114px;
  }
}

@media (max-width: 520px) {

  .rcp-modal {
    width: calc(100% - 14px);
    bottom: calc(max(10px, env(safe-area-inset-bottom)) + 88px);
  }

  .rcp-modal {
    max-height: calc(100vh - 104px);
    border-radius: 22px;
  }

  .rcp-modal__shell {
    max-height: calc(100vh - 104px);
  }

  .rcp-modal__header {
    padding: 15px 50px 13px 15px;
  }

  .rcp-modal__mark {
    display: none;
  }

  .rcp-panel {
    padding: 13px 15px 16px;
  }

  .rcp-step h3,
  .rcp-panel h3 {
    font-size: 19px;
  }

  .rcp-choice-grid,
  .rcp-date-list {
    grid-template-columns: 1fr;
  }

  .rcp-choice-card {
    min-height: 92px;
  }

  .rcp-progress {
    gap: 5px;
  }

  .rcp-progress span {
    min-height: 38px;
  }

  .rcp-progress em {
    display: none;
  }
}

@media (max-width: 370px) {

  .rcp-service-card {
    grid-template-columns: 34px minmax(0, 1fr) auto;
    gap: 9px;
  }
}

/* RedCommerce agency parity layer. Keeps features, forces visual match. */
.rcp-root {
  --rcp-muted: #777777;
  --rcp-soft: #f3f3f3;
  --rcp-line: #dedede;
}

.rcp-overlay {
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(2px);
}

.rcp-services-open #rcp-services-toggle {
  background: #f2f2f2;
}

.rcp-modal {
  bottom: calc(max(18px, env(safe-area-inset-bottom)) + 94px);
  width: min(440px, calc(100% - 28px));
  border-radius: 18px;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.15);
}

.rcp-modal__shell {
  background: #ffffff;
}

.rcp-modal__header {
  min-height: 72px;
  padding: 16px 58px 14px 18px;
}

.rcp-modal__mark {
  display: none;
}

.rcp-tabs button {
  border-radius: 12px;
  background: #f4f4f4;
}

.rcp-progress span {
  border-radius: 999px;
  background: #f2f2f2;
}

.rcp-choice-card {
  min-height: 104px;
  border-radius: 14px;
}

.rcp-choice-card__icon,
.rcp-service-card__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(232, 32, 42, 0.08);
  color: var(--rcp-red);
}

.rcp-choice-card__icon svg,
.rcp-service-card__icon svg {
  width: 20px;
  height: 20px;
}

@media (min-width: 720px) {

  .rcp-modal {
    bottom: 116px;
  }
}

@media (max-width: 520px) {

  .rcp-modal {
    bottom: calc(max(14px, env(safe-area-inset-bottom)) + 94px);
  }
}

/* Exact copied floating-nav classes win over legacy RC Premium classes. */

@media (prefers-reduced-motion: reduce) {
  .rcp-root *,
  .rcp-root *::before,
  .rcp-root *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== Offerte pop-out actions menu — matches RedCommerce reference ===== */
.rcw-floating-nav__menu--actions {
  width: min(360px, 100%);
  max-height: min(74vh, 620px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.rcw-floating-nav__menu--actions .rcw-floating-nav__menu-inner {
  padding: 6px 22px;
}

.rcw-floating-nav__menu--actions .rcw-floating-nav__row {
  align-items: center;
  gap: 18px;
  padding: 15px 6px;
}

.rcw-floating-nav__menu--actions .rcw-floating-nav__row-icon {
  width: 28px;
  height: 28px;
  margin: 0;
  background: transparent;
  border-radius: 0;
  color: var(--fn-text);
}

.rcw-floating-nav__menu--actions .rcw-floating-nav__row-icon svg {
  width: 26px;
  height: 26px;
}

.rcw-floating-nav__menu--actions .rcw-floating-nav__row-title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--fn-text);
}

.rcw-floating-nav__menu--actions .rcw-floating-nav__row-action {
  margin-left: auto;
  color: var(--fn-text);
  font-size: 20px;
  font-weight: 700;
}

@media (max-width: 720px) {
  .rcw-floating-nav__menu--actions {
    width: 100%;
  }

  .rcw-floating-nav__menu--actions .rcw-floating-nav__menu-inner {
    padding: 4px 18px;
  }

  .rcw-floating-nav__menu--actions .rcw-floating-nav__row {
    padding: 17px 4px;
  }
}

.rcw-floating-nav__row-badge {
  margin-left: auto;
  align-self: center;
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--fn-red);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

/* ===== Actions menu subpages + mock demo data ===== */
.rcw-floating-nav__menu-inner {
  position: relative;
}

.rcw-actions-view[hidden] {
  display: none;
}

/* Subtle navigation transition: a quick directional slide when going into a
   page/category (in from the right) or back (in from the left). Kept short and
   small so it reads as movement, not a slow "loading" pop-in. */
.rcw-actions-view:not([hidden]) {
  animation: rcwViewIn 0.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.rcw-floating-nav__menu-inner.is-back .rcw-actions-view:not([hidden]) {
  animation-name: rcwViewInBack;
}

@keyframes rcwViewIn {
  from { opacity: 0; transform: translateX(10px); }
  to   { opacity: 1; transform: none; }
}

@keyframes rcwViewInBack {
  from { opacity: 0; transform: translateX(-10px); }
  to   { opacity: 1; transform: none; }
}

.rcw-actions-sub {
  padding: 4px 0 6px;
}

.rcw-actions-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 2px 12px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--fn-line);
}

.rcw-actions-back {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border: 0;
  cursor: pointer;
  border-radius: 50%;
  background: #f3f3f5;
  color: var(--fn-text);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

.rcw-actions-back:hover,
.rcw-actions-back:focus-visible {
  background: #e8e8ec;
  outline: none;
}

.rcw-actions-back svg {
  width: 20px;
  height: 20px;
}

.rcw-actions-head__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--fn-text);
}

.rcw-actions-lead {
  margin: 4px 4px 0;
  padding: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--fn-muted);
}

/* Some host themes add padding to <p> (the lead is a <p>); reset it so the gap
   below the lead text stays tight. #rcp-root beats the theme's selector. */
#rcp-root .rcw-actions-lead {
  padding: 0;
}

.rcw-line {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 6px;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  color: inherit;
  border-radius: 12px;
  transition: background 0.14s ease;
}

.rcw-line:hover,
.rcw-line:focus-visible {
  background: #f7f7f8;
  outline: none;
}

.rcw-line__icon {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  color: var(--fn-text);
  display: flex;
  align-items: center;
  justify-content: center;
}

.rcw-line__icon svg {
  width: 23px;
  height: 23px;
}

.rcw-line__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.rcw-line__text b {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--fn-text);
}

.rcw-line__text em {
  font-size: 12.5px;
  font-style: normal;
  line-height: 1.3;
  color: var(--fn-muted);
}

.rcw-line__end {
  margin-left: auto;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.rcw-line__arrow {
  font-size: 18px;
  font-weight: 700;
  color: var(--fn-text);
}

.rcw-line__price {
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  color: var(--fn-text);
}

.rcw-pill-btn {
  font-size: 12.5px;
  font-weight: 700;
  color: #fff;
  background: var(--fn-red);
  padding: 6px 11px;
  border-radius: 999px;
  white-space: nowrap;
}

.rcw-status {
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 999px;
  white-space: nowrap;
}

.rcw-status--ok {
  color: #0a7d34;
  background: rgba(37, 211, 102, 0.16);
}

.rcw-status--wait {
  color: #aa6500;
  background: rgba(255, 176, 32, 0.18);
}

.rcw-actions-foot {
  margin-top: 6px;
  padding: 12px 4px 2px;
  border-top: 1px solid var(--fn-line);
}

.rcw-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.rcw-total span {
  font-size: 14px;
  font-weight: 600;
  color: var(--fn-muted);
}

.rcw-total b {
  font-size: 18px;
  font-weight: 700;
  color: var(--fn-text);
}

.rcw-actions-cta {
  width: 100%;
  border: 0;
  cursor: pointer;
  color: #fff;
  background: var(--fn-red);
  font-size: 15px;
  font-weight: 700;
  padding: 13px;
  border-radius: 14px;
  box-shadow: 0 12px 26px -10px rgba(232, 32, 42, 0.6);
  transition: background 0.16s ease;
}

.rcw-actions-cta:hover,
.rcw-actions-cta:focus-visible {
  background: var(--fn-red-dark);
  outline: none;
}

.rcw-actions-stats {
  display: flex;
  gap: 10px;
  margin: 2px 2px 8px;
}

.rcw-stat {
  flex: 1 1 0;
  background: #f6f6f7;
  border-radius: 14px;
  padding: 12px 10px;
  text-align: center;
}

.rcw-stat b {
  display: block;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  color: var(--fn-text);
}

.rcw-stat span {
  display: block;
  margin-top: 4px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--fn-muted);
}

.rcw-foot-note {
  margin: 0 2px 10px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--fn-muted);
}

.rcw-hero {
  margin: 2px 2px 12px;
  padding: 18px;
  border-radius: 16px;
  background: rgba(232, 32, 42, 0.06);
  text-align: center;
}

.rcw-hero b {
  display: block;
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  color: var(--fn-red);
}

.rcw-hero span {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--fn-muted);
}

.rcw-bullets {
  list-style: none;
  margin: 0 2px 6px;
  padding: 0;
}

.rcw-bullets li {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--fn-text);
}

.rcw-bullets li + li {
  border-top: 1px solid var(--fn-line);
}

.rcw-bullets li svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  color: var(--fn-red);
}

/* ----- Language switcher + RTL ----- */
.rcw-lang {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  gap: 6px;
  margin: 0 0 2px;
  padding: 10px 2px;
  background: #fff;
  border-bottom: 1px solid var(--fn-line);
}

.rcw-lang__btn {
  width: 26px;
  height: 26px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 50%;
  background: none;
  cursor: pointer;
  opacity: 0.45;
  transition: opacity 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.rcw-lang__btn svg {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 50%;
}

.rcw-lang__btn:hover {
  opacity: 0.85;
}

.rcw-lang__btn.is-active {
  opacity: 1;
  border-color: var(--fn-red);
  transform: translateY(-1px);
}

/* ----- Offers countdown / discount code / referral share ----- */
.rcw-countdown {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 2px 2px 10px;
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--fn-red);
  color: #fff;
}

.rcw-countdown__label {
  font-size: 13px;
  font-weight: 700;
}

.rcw-countdown b {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.5px;
  font-variant-numeric: tabular-nums;
}

.rcw-code {
  margin: 10px 2px 2px;
}

.rcw-code__label {
  display: block;
  margin-bottom: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--fn-muted);
}

.rcw-code__row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 9px 9px 14px;
  border: 1px dashed var(--fn-line);
  border-radius: 12px;
}

.rcw-code__row code {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--fn-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rcw-copy {
  flex: 0 0 auto;
  border: 0;
  cursor: pointer;
  background: var(--fn-red);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  padding: 7px 13px;
  border-radius: 999px;
}

.rcw-share {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.rcw-share__btn {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  padding: 12px;
  border-radius: 12px;
  background: #f3f3f5;
  color: var(--fn-text);
  font-size: 14px;
  font-weight: 700;
}

.rcw-share__btn svg {
  width: 18px;
  height: 18px;
}

.rcw-share__btn--wa {
  background: #25d366;
  color: #fff;
}

/* ----- Native booking steps (form, summary, success) ----- */
.rcw-field {
  display: block;
  margin: 10px 2px 0;
}

.rcw-field > span {
  display: block;
  margin-bottom: 5px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--fn-muted);
}

.rcw-field input,
.rcw-field select,
.rcw-field textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1.5px solid var(--fn-line);
  border-radius: 12px;
  padding: 11px 13px;
  font-family: inherit;
  font-size: 14px;
  color: var(--fn-text);
  background: #fff;
}

.rcw-field input:focus,
.rcw-field select:focus,
.rcw-field textarea:focus {
  outline: none;
  border-color: var(--fn-red);
}

.rcw-field textarea {
  resize: vertical;
}

.rcw-field input.rcw-invalid,
.rcw-field select.rcw-invalid,
.rcw-field textarea.rcw-invalid {
  border-color: var(--fn-red);
  background: rgba(232, 32, 42, 0.04);
}

.rcw-booksum {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 2px 2px 8px;
  padding: 13px 15px;
  border-radius: 14px;
  background: rgba(232, 32, 42, 0.06);
}

.rcw-booksum b {
  font-size: 15px;
  font-weight: 700;
  color: var(--fn-text);
}

.rcw-booksum span {
  font-size: 12.5px;
  color: var(--fn-muted);
}

.rcw-booksum i {
  font-style: normal;
  font-weight: 700;
  font-size: 14px;
  color: var(--fn-red);
}

.rcw-bookmsg {
  margin: 9px 2px 0;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

.rcw-bookmsg.is-error {
  color: var(--fn-red);
}

.rcw-bookmsg.is-loading {
  color: var(--fn-muted);
}

.rcw-booksuccess {
  text-align: center;
  padding: 6px 2px 2px;
}

.rcw-booksuccess svg {
  width: 46px;
  height: 46px;
  color: var(--fn-red);
}

.rcw-booksuccess b {
  display: block;
  margin-top: 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--fn-text);
}

.rcw-booksuccess span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--fn-muted);
}

.rcw-actions-cta {
  margin-top: 10px;
}

a.rcw-actions-cta {
  display: block;
  text-align: center;
  text-decoration: none;
}

.rcw-actions-cta--ghost {
  background: #fff;
  color: var(--fn-red);
  border: 1.5px solid var(--fn-red);
  box-shadow: none;
}

.rcw-actions-cta--ghost:hover,
.rcw-actions-cta--ghost:focus-visible {
  background: rgba(232, 32, 42, 0.06);
  color: var(--fn-red);
}

/* ----- Date picker (flatpickr) step ----- */
.rcw-datechips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 2px 2px 4px;
}

.rcw-datechip {
  border: 1.5px solid var(--fn-line);
  background: #fff;
  cursor: pointer;
  padding: 9px 14px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--fn-text);
  transition: border-color 0.14s ease, color 0.14s ease;
}

.rcw-datechip:hover,
.rcw-datechip:focus-visible {
  outline: none;
  border-color: var(--fn-red);
  color: var(--fn-red);
}

.rcw-datefield {
  cursor: pointer;
}

/* Tint flatpickr to the widget accent. The calendar is appended to <body> (outside
   .rcp-root), so these rules are global and use the literal accent colour, and the
   z-index is lifted above the floating widget (z-index 999999). */
.flatpickr-calendar {
  z-index: 1000001;
  border-radius: 14px;
  box-shadow: 0 18px 40px -16px rgba(18, 20, 30, 0.3);
}

.flatpickr-day.selected,
.flatpickr-day.selected:hover,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
  background: #e8202a;
  border-color: #e8202a;
}

.flatpickr-day.today {
  border-color: #e8202a;
}

.flatpickr-day.today:hover {
  background: #e8202a;
  color: #fff;
}

/* Inline calendar fills the card width */
.rcw-cal { margin: 2px 0 4px; }

.flatpickr-calendar.inline {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  box-shadow: none;
  border: 0;
}

.flatpickr-calendar.inline .flatpickr-rContainer,
.flatpickr-calendar.inline .flatpickr-days,
.flatpickr-calendar.inline .dayContainer {
  width: 100%;
  min-width: 100%;
  max-width: 100%;
}

.flatpickr-calendar.inline .flatpickr-day {
  max-width: none;
  width: 14.2857%;
  height: 38px;
  line-height: 37px;
  border-radius: 8px;
}

/* Sharpen flatpickr header — strip native spinner / grey boxes */
.rcp-root .flatpickr-months {
  align-items: center;
  padding: 2px 0 6px;
}

.rcp-root .flatpickr-current-month,
.rcp-root .flatpickr-current-month .cur-month {
  font-family: var(--fn-font);
  font-size: 16px;
  font-weight: 700;
  color: var(--fn-text);
}

.rcp-root .numInputWrapper,
.rcp-root .numInputWrapper:hover {
  background: transparent;
}

.rcp-root .numInputWrapper span {
  display: none;
}

.rcp-root .flatpickr-current-month input.cur-year {
  font-family: var(--fn-font);
  font-size: 16px;
  font-weight: 700;
  color: var(--fn-text);
  -moz-appearance: textfield;
  appearance: textfield;
}

.rcp-root .flatpickr-current-month input.cur-year::-webkit-inner-spin-button,
.rcp-root .flatpickr-current-month input.cur-year::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.rcp-root .flatpickr-weekday {
  font-weight: 700;
  color: var(--fn-muted);
}

.rcp-root .flatpickr-months .flatpickr-prev-month svg,
.rcp-root .flatpickr-months .flatpickr-next-month svg {
  fill: var(--fn-text);
}

.rcp-root .flatpickr-months .flatpickr-prev-month:hover svg,
.rcp-root .flatpickr-months .flatpickr-next-month:hover svg {
  fill: var(--fn-red);
}

/* De-native the booking form selects */
.rcw-field select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b8e96' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 38px;
}

/* Time slots */
.rcw-when-label {
  margin-top: 12px;
}

.rcw-times {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 4px 2px 2px;
}

.rcw-time {
  border: 1.5px solid var(--fn-line);
  background: #fff;
  cursor: pointer;
  padding: 11px 6px;
  border-radius: 12px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  color: var(--fn-text);
  transition: border-color 0.14s ease, background 0.14s ease, color 0.14s ease;
}

.rcw-time:hover {
  border-color: var(--fn-red);
}

.rcw-time.is-active {
  background: var(--fn-red);
  border-color: var(--fn-red);
  color: #fff;
}

/* Confirmation check */
.rcw-checkcircle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #d8f5dd;
  color: #1faa4e;
}

.rcw-checkcircle svg {
  width: 34px;
  height: 34px;
}

.rcw-booksuccess .rcw-when {
  display: block;
  margin-top: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--fn-text);
}

.rcw-booksuccess .rcw-sub {
  display: block;
  margin-top: 8px;
  font-size: 12.5px;
  color: var(--fn-muted);
}

[dir="rtl"] .rcw-line,
[dir="rtl"] .rcw-floating-nav__row {
  text-align: right;
}

[dir="rtl"] .rcw-line__end,
[dir="rtl"] .rcw-floating-nav__row-action,
[dir="rtl"] .rcw-floating-nav__row-price,
[dir="rtl"] .rcw-floating-nav__row-badge {
  margin-left: 0;
  margin-right: auto;
}

[dir="rtl"] .rcw-line__arrow,
[dir="rtl"] .rcw-floating-nav__row-action {
  display: inline-block;
  transform: scaleX(-1);
}

[dir="rtl"] .rcw-actions-back svg {
  transform: scaleX(-1);
}

/* RTL (Arabic): the back button mirrors to the top-right, so move the close
   button to the top-left to avoid them colliding. */
[dir="rtl"] .rcw-floating-nav__close {
  right: auto;
  left: 14px;
}

/* Close button, top-right of the actions menu card (client request). */
.rcw-floating-nav__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 6;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #f1f1f3;
  color: var(--fn-text);
  cursor: pointer;
  transition: background 0.14s ease, color 0.14s ease;
}
.rcw-floating-nav__close:hover,
.rcw-floating-nav__close:focus-visible {
  background: #e5e5e8;
  outline: none;
}
.rcw-floating-nav__close svg {
  width: 16px;
  height: 16px;
}

/* Book button + icon weight (client request). The in-menu CTA is a plain
   <button>, so some host themes reset its font-weight to normal; the #rcp-root
   id selector beats that. Icons are stroked SVG — bumping stroke-width is the
   visual equivalent of a heavier (700) weight. */
#rcp-root .rcw-actions-cta {
  font-weight: 700;
}
#rcp-root .rcw-floating-nav__cta svg [stroke],
#rcp-root .rcw-actions-view svg [stroke],
#rcp-root .rcw-line__icon svg [stroke],
#rcp-root .rcw-floating-nav__row-icon svg [stroke] {
  stroke-width: 2.1px;
}
