/* Sprint 1 — product buy box, sticky CTA, free-delivery progress */

.rb-buybox {
  margin: 0 0 1rem;
  padding: 0.9rem 1rem;
  background: #f4f6f5;
  border-left: 3px solid #0bb3aa;
}

.rb-buybox__label {
  margin: 0 0 0.45rem;
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #121212;
}

.rb-buybox__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.rb-buybox__list li {
  position: relative;
  padding: 0.2rem 0 0.2rem 1.1rem;
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 0.92rem;
  line-height: 1.45;
  color: #333;
}

.rb-buybox__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #0bb3aa;
}

.rb-buybox-delivery a {
  color: #088f88;
  font-weight: 600;
}

/* Sticky mobile CTA */
.rb-sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: #121212;
  color: #fff;
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.18);
  transform: translateY(110%);
  transition: transform 0.25s ease;
}

.rb-sticky-cta.is-visible {
  transform: translateY(0);
}

.rb-sticky-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: min(100% - 1.5rem, 1180px);
  margin: 0 auto;
  padding: 0.75rem 0;
}

.rb-sticky-cta__title {
  display: block;
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.25;
}

.rb-sticky-cta__price {
  display: block;
  margin-top: 0.15rem;
  color: #0bb3aa;
  font-weight: 700;
  font-family: "Outfit", system-ui, sans-serif;
}

.rb-sticky-cta__price del {
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
}

.rb-sticky-cta__btn {
  flex-shrink: 0;
  border: 0;
  border-radius: 999px;
  padding: 0.75rem 1.15rem;
  background: #0bb3aa;
  color: #fff;
  font-family: "Outfit", system-ui, sans-serif;
  font-weight: 700;
  cursor: pointer;
}

.rb-sticky-cta__btn:hover {
  background: #088f88;
}

@media (min-width: 769px) {
  .rb-sticky-cta {
    display: none !important;
  }
}

body.admin-bar .rb-sticky-cta {
  bottom: 0;
}

/* Free delivery progress */
.rb-ship-progress {
  margin: 0 0 1.25rem;
  padding: 1rem 1.1rem;
  background: #f4f6f5;
  border: 1px solid #e3e7e5;
}

.rb-ship-progress__text {
  margin: 0 0 0.65rem;
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 1rem;
  color: #121212;
}

.rb-ship-progress__text--ok {
  color: #088f88;
}

.rb-ship-progress__bar {
  height: 8px;
  border-radius: 999px;
  background: #dde5e2;
  overflow: hidden;
}

.rb-ship-progress__bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #0bb3aa, #088f88);
  border-radius: 999px;
  transition: width 0.3s ease;
}

.rb-ship-progress__meta {
  margin: 0.55rem 0 0;
  font-size: 0.85rem;
  color: #5c5c5c;
}

.rb-ship-progress__meta a {
  color: #088f88;
  font-weight: 600;
}

/* Delivery & Returns page */
.rb-delivery-page {
  width: min(100% - 2rem, 820px);
  margin: 2.5rem auto 4rem;
  font-family: "Poppins", system-ui, sans-serif;
  color: #121212;
}

.rb-delivery-page h1 {
  font-family: "Outfit", system-ui, sans-serif;
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin: 0 0 0.75rem;
}

.rb-delivery-page h2 {
  font-family: "Outfit", system-ui, sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  margin: 2rem 0 0.65rem;
  padding-top: 0.5rem;
  border-top: 1px solid #e3e7e5;
}

.rb-delivery-page p,
.rb-delivery-page li {
  line-height: 1.6;
  color: #333;
}

.rb-delivery-page .rb-callout {
  margin: 1.25rem 0;
  padding: 1rem 1.15rem;
  background: #102422;
  color: #fff;
  border-radius: 6px;
}

.rb-delivery-page .rb-callout strong {
  color: #ffe030;
}

.rb-delivery-page table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}

.rb-delivery-page th,
.rb-delivery-page td {
  border: 1px solid #e3e7e5;
  padding: 0.65rem 0.75rem;
  text-align: left;
  font-size: 0.95rem;
}

.rb-delivery-page th {
  background: #f4f6f5;
  font-family: "Outfit", system-ui, sans-serif;
}

/* Team ReeBic membership page */
.rb-team-page {
  width: min(100% - 2rem, 760px);
  margin: 2.5rem auto 4rem;
  font-family: "Poppins", system-ui, sans-serif;
  color: #121212;
}

.rb-team-page__hero {
  margin-bottom: 2.5rem;
  padding: 2rem 1.5rem;
  border-radius: 10px;
  background: linear-gradient(120deg, #0bb3aa 0%, #066964 100%);
  color: #fff;
}

.rb-team-page__kicker {
  margin: 0 0 0.5rem;
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffe030;
}

.rb-team-page__hero h1 {
  margin: 0 0 0.75rem;
  font-family: "Outfit", system-ui, sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
  line-height: 1.1;
}

.rb-team-page__lead {
  margin: 0 0 1.35rem;
  font-size: 1.05rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.95);
}

.rb-team-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.rb-team-page__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  font-family: "Outfit", system-ui, sans-serif;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
}

.rb-team-page__btn--primary {
  background: #fff;
  color: #066964;
}

.rb-team-page__btn--primary:hover {
  background: #f4f6f5;
  color: #044e4a;
}

.rb-team-page__btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

.rb-team-page__btn--ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.rb-team-page__section {
  margin-bottom: 2rem;
}

.rb-team-page__section h2 {
  margin: 0 0 0.85rem;
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
}

.rb-team-page__benefits,
.rb-team-page__steps,
.rb-team-page ul {
  margin: 0;
  padding-left: 1.2rem;
  line-height: 1.6;
}

.rb-team-page__benefits li,
.rb-team-page__steps li,
.rb-team-page ul li {
  margin-bottom: 0.55rem;
}

.rb-team-page__section--panel {
  padding: 1.35rem 1.25rem;
  background: #f4f6f5;
  border-left: 3px solid #0bb3aa;
  border-radius: 6px;
  /* Keep join card anchored when scrolling between steps (under sticky header). */
  scroll-margin-top: 140px;
}

/* Keep step area height stable so short Step 3 doesn’t collapse / jump half off-screen. */
.rb-team-steps {
  min-height: 280px;
}
.rb-team-step {
  min-height: 200px;
}

.rb-team-page__note {
  margin: 1rem 0;
  color: #5c5c5c;
}

.rb-team-page__badge {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.35rem 0.75rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
}

.rb-team-alert {
  margin: 0 0 1.5rem;
  padding: 0.9rem 1rem;
  border-radius: 6px;
  font-size: 0.95rem;
  line-height: 1.45;
}
.rb-team-alert--ok {
  background: #e7f8f4;
  border: 1px solid #0bb3aa;
  color: #044e4a;
}
.rb-team-alert--warn {
  background: #fff8e8;
  border: 1px solid #e6b84d;
  color: #5c4a12;
}

.rb-team-steps__nav {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.rb-team-steps__pip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: #dde3e1;
  color: #445;
  font-family: "Outfit", system-ui, sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
}
.rb-team-steps__pip.is-active,
.rb-team-steps__pip.is-done {
  background: #0bb3aa;
  color: #fff;
}

.rb-team-step h3 {
  margin: 0 0 0.75rem;
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
}

.rb-team-plan {
  margin: 0 0 1rem;
  padding: 1rem;
  background: #fff;
  border: 1px solid #e3e7e5;
  border-radius: 8px;
}
.rb-team-plan__price {
  margin: 0 0 0.5rem;
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: #066964;
}
.rb-team-plan__price span {
  font-size: 1rem;
  font-weight: 600;
  color: #5c5c5c;
}
.rb-team-plan ul {
  margin: 0;
  padding-left: 1.1rem;
}

.rb-team-field {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
  font-size: 0.88rem;
  font-weight: 600;
}
.rb-team-field input {
  padding: 0.7rem 0.8rem;
  border: 1px solid #cfd6d3;
  border-radius: 6px;
  font: inherit;
  font-weight: 500;
}

.rb-team-step__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.rb-team-page__section--panel .rb-team-page__btn--primary {
  background: #0bb3aa;
  color: #fff;
  border-color: #0bb3aa;
}
.rb-team-page__section--panel .rb-team-page__btn--primary:hover {
  background: #066964;
  color: #fff;
}
.rb-team-page__section--panel .rb-team-page__btn--ghost {
  background: #fff;
  border-color: #0bb3aa;
  color: #066964;
}

.rb-team-error {
  margin: 0.75rem 0 0;
  color: #b91c1c;
  font-weight: 600;
  font-size: 0.9rem;
}

.rb-team-ok {
  margin: 0 0 1rem;
  padding: 0.75rem 0.9rem;
  background: #e7f8f4;
  border-radius: 6px;
  color: #044e4a;
}

.rb-team-journey {
  margin: 0 0 2rem;
  padding: 1.25rem 1.15rem;
  background: #fff;
  border: 1px solid #e3e7e5;
  border-radius: 10px;
}
.rb-team-journey__title {
  margin: 0 0 1rem;
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
}
.rb-team-journey__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.rb-team-journey__list li {
  display: grid;
  gap: 0.2rem;
  padding: 0.85rem 0.75rem;
  background: #f4f6f5;
  border-radius: 8px;
  border: 2px solid transparent;
}
.rb-team-journey__list li.is-current {
  border-color: #0bb3aa;
  background: #e7f8f4;
}
.rb-team-journey__list li.is-done {
  opacity: 0.85;
}
.rb-team-journey__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  margin-bottom: 0.25rem;
  border-radius: 50%;
  background: #0bb3aa;
  color: #fff;
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
}
.rb-team-journey__list strong {
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 0.9rem;
}
.rb-team-journey__list span:last-child {
  font-size: 0.78rem;
  color: #5c5c5c;
}
@media (max-width: 767px) {
  .rb-team-journey__list {
    grid-template-columns: 1fr 1fr;
  }
}



