/* Start custom CSS for html, class: .elementor-element-81c9e27 *//* WordPress / Elementor Full Width Fix */
html,
body {
  overflow-x: hidden !important;
}

body:has(#barbarees-thankyou-page) .entry-content,
body:has(#barbarees-thankyou-page) .wp-block-post-content,
body:has(#barbarees-thankyou-page) .elementor-widget-container,
body:has(#barbarees-thankyou-page) .elementor-widget-html,
body:has(#barbarees-thankyou-page) .elementor-section,
body:has(#barbarees-thankyou-page) .elementor-container,
body:has(#barbarees-thankyou-page) .elementor-column,
body:has(#barbarees-thankyou-page) .elementor-widget-wrap {
  max-width: none !important;
}

/* Main Page */
#barbarees-thankyou-page {
  --bb-green: #006b43;
  --bb-green-dark: #005837;
  --bb-green-soft: #dceee8;
  --bb-mint: #f3faf7;
  --bb-burgundy: #8b1e2d;
  --bb-text: #1d2327;
  --bb-muted: #5d6865;
  --bb-border: rgba(0, 107, 67, 0.14);
  --bb-shadow: 0 22px 60px rgba(0, 0, 0, 0.09);
  --bb-container: 980px;

  width: 100vw !important;
  max-width: 100vw !important;
  margin-right: calc(50% - 50vw) !important;
  margin-left: calc(50% - 50vw) !important;
  padding: 0 0 96px !important;
  overflow-x: hidden !important;

  font-family: "Cairo", sans-serif !important;
  direction: rtl;
  color: var(--bb-text);
  background: #fbfdfc;
  line-height: 1.8;
}

#barbarees-thankyou-page *,
#barbarees-thankyou-page *::before,
#barbarees-thankyou-page *::after {
  box-sizing: border-box;
}

#barbarees-thankyou-page a {
  text-decoration: none;
}

#barbarees-thankyou-page img {
  max-width: 100%;
  display: block;
}

.bb-thankyou-container {
  width: min(var(--bb-container), calc(100% - 32px));
  margin-inline: auto;
}

/* Logo */
.bb-thankyou-logo-section {
  padding: 28px 0 16px;
  background: #ffffff;
  position: relative;
  z-index: 2;
}

.bb-thankyou-logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
}

.bb-thankyou-logo-img {
  width: 260px;
  max-height: 95px;
  object-fit: contain;
}

/* Success Hero */
.bb-thankyou-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 48px 0 62px;
  background:
    radial-gradient(circle at 82% 18%, rgba(0, 107, 67, 0.16), transparent 30%),
    linear-gradient(135deg, #fbfdfc 0%, #f3faf7 100%);
}

.bb-thankyou-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--bb-thankyou-bg);
  background-size: cover;
  background-position: center;
  opacity: 0.10;
}

.bb-thankyou-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    radial-gradient(circle at 8px 8px, rgba(0, 107, 67, 0.06) 0 3px, transparent 3px);
  background-size: 52px 46px;
  opacity: 0.28;
  pointer-events: none;
}

.bb-thankyou-success-card {
  width: min(780px, 100%);
  margin-inline: auto;
  text-align: center;
  padding: 48px 36px;
  border-radius: 38px;

  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(16px) saturate(1.12);
  -webkit-backdrop-filter: blur(16px) saturate(1.12);

  border: 1px solid rgba(255, 255, 255, 0.84);
  box-shadow:
    0 24px 65px rgba(0, 0, 0, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.bb-success-icon {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--bb-green), var(--bb-green-dark));
  color: #fff;
  box-shadow: 0 18px 34px rgba(0, 107, 67, 0.28);
}

.bb-success-icon svg {
  width: 46px;
  height: 46px;
  fill: currentColor;
}

.bb-thankyou-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: rgba(0, 107, 67, 0.10);
  color: var(--bb-green);
  font-weight: 900;
  font-size: 14px;
}

.bb-thankyou-success-card h1 {
  margin: 0 0 16px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: -0.8px;
  color: var(--bb-text);
}

.bb-thankyou-success-card p {
  width: min(660px, 100%);
  margin: 0 auto 28px;
  color: var(--bb-muted);
  font-size: 18px;
  line-height: 2;
}

.bb-thankyou-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.bb-thankyou-btn,
.bb-thankyou-card-btn,
.bb-thankyou-floating-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 32px;
  border-radius: 999px;
  font-family: "Cairo", sans-serif !important;
  font-weight: 900;
  font-size: 16px;
  transition: 0.25s ease;
}

.bb-thankyou-btn-primary,
.bb-thankyou-card-btn,
.bb-thankyou-floating-whatsapp {
  background: var(--bb-green);
  color: #fff !important;
  box-shadow: 0 16px 34px rgba(0, 107, 67, 0.25);
}

.bb-thankyou-btn-primary:hover,
.bb-thankyou-card-btn:hover,
.bb-thankyou-floating-whatsapp:hover {
  background: var(--bb-green-dark);
  color: #fff !important;
  transform: translateY(-3px);
}

.bb-thankyou-btn-outline,
.bb-thankyou-card-btn-outline {
  background: rgba(255, 255, 255, 0.82);
  color: var(--bb-burgundy) !important;
  border: 1px solid rgba(139, 30, 45, 0.28);
}

.bb-thankyou-btn-outline:hover,
.bb-thankyou-card-btn-outline:hover {
  background: var(--bb-burgundy);
  color: #fff !important;
  transform: translateY(-3px);
}

/* Sections */
.bb-thankyou-section {
  padding: 70px 0;
  background: #fbfdfc;
}

.bb-thankyou-soft {
  background:
    radial-gradient(circle at 15% 20%, rgba(0, 107, 67, 0.08), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f3faf7 100%);
}

.bb-thankyou-section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 34px;
}

.bb-thankyou-section-head span {
  display: inline-flex;
  padding: 8px 16px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: rgba(0, 107, 67, 0.10);
  color: var(--bb-green);
  font-weight: 900;
  font-size: 14px;
}

.bb-thankyou-section-head h2 {
  margin: 0 0 8px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.25;
  font-weight: 900;
  color: var(--bb-text);
}

.bb-thankyou-section-head p {
  margin: 0;
  color: var(--bb-muted);
  font-size: 16px;
}

/* Steps */
.bb-thankyou-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.bb-thankyou-step {
  padding: 28px 22px;
  border-radius: 28px;
  text-align: center;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 107, 67, 0.10);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.04);
  transition: 0.25s ease;
}

.bb-thankyou-step:hover {
  transform: translateY(-6px);
  box-shadow: var(--bb-shadow);
}

.bb-step-number {
  width: 62px;
  height: 62px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--bb-green);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 24px;
  font-weight: 900;
}

.bb-thankyou-step h3 {
  margin: 0 0 8px;
  color: var(--bb-text);
  font-size: 20px;
  font-weight: 900;
}

.bb-thankyou-step p {
  margin: 0;
  color: var(--bb-muted);
  font-size: 15px;
}

/* Info Cards */
.bb-thankyou-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.bb-thankyou-info-card {
  padding: 34px 28px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 107, 67, 0.10);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.04);
}

.bb-info-icon {
  width: 62px;
  height: 62px;
  border-radius: 20px;
  background: var(--bb-green-soft);
  color: var(--bb-green);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.bb-info-icon svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.bb-thankyou-info-card h3 {
  margin: 0 0 10px;
  color: var(--bb-text);
  font-size: 24px;
  font-weight: 900;
}

.bb-thankyou-info-card p {
  color: var(--bb-muted);
  font-size: 16px;
  margin: 0 0 22px;
}

.bb-thankyou-card-btn {
  min-height: 50px;
  padding: 0 24px;
}

/* Privacy */
.bb-thankyou-privacy-section {
  padding: 44px 0 70px;
  background: #fbfdfc;
}

.bb-thankyou-privacy-card {
  width: min(780px, 100%);
  margin-inline: auto;
  padding: 24px 26px;
  border-radius: 24px;
  text-align: center;
  background: #eaf6f2;
  border: 1px solid rgba(0, 107, 67, 0.13);
}

.bb-thankyou-privacy-card strong {
  display: block;
  color: var(--bb-green);
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 6px;
}

.bb-thankyou-privacy-card p {
  margin: 0;
  color: var(--bb-muted);
  font-size: 15px;
}

/* Floating WhatsApp */
.bb-thankyou-floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 99999;
  min-width: 180px;
  min-height: 58px;
}

/* Responsive */
@media (max-width: 820px) {
  .bb-thankyou-steps,
  .bb-thankyou-info-grid {
    grid-template-columns: 1fr;
  }

  .bb-thankyou-info-card {
    text-align: center;
  }

  .bb-info-icon {
    margin-inline: auto;
  }
}

@media (max-width: 680px) {
  #barbarees-thankyou-page {
    padding-bottom: 92px !important;
  }

  .bb-thankyou-container {
    width: min(100% - 24px, var(--bb-container));
  }

  .bb-thankyou-logo-section {
    padding: 22px 0 12px;
  }

  .bb-thankyou-logo-img {
    width: 220px;
    max-height: 84px;
  }

  .bb-thankyou-hero {
    padding: 34px 0 48px;
  }

  .bb-thankyou-hero::before {
    opacity: 0.09;
    background-position: center;
  }

  .bb-thankyou-success-card {
    padding: 34px 18px;
    border-radius: 30px;
  }

  .bb-success-icon {
    width: 76px;
    height: 76px;
  }

  .bb-success-icon svg {
    width: 40px;
    height: 40px;
  }

  .bb-thankyou-success-card h1 {
    font-size: 32px;
    letter-spacing: -0.4px;
  }

  .bb-thankyou-success-card p {
    font-size: 15.5px;
    line-height: 1.9;
  }

  .bb-thankyou-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .bb-thankyou-btn,
  .bb-thankyou-card-btn {
    width: 100%;
  }

  .bb-thankyou-section {
    padding: 54px 0;
  }

  .bb-thankyou-section-head h2 {
    font-size: 30px;
  }

  .bb-thankyou-step,
  .bb-thankyou-info-card {
    padding: 24px 18px;
    border-radius: 24px;
  }

  .bb-thankyou-privacy-section {
    padding: 36px 0 64px;
  }

  .bb-thankyou-floating-whatsapp {
    right: 14px;
    left: 14px;
    bottom: 14px;
    width: auto;
  }
}/* End custom CSS */