/* BTP Core Support Services — base structural styles.
   Colors, fonts, spacing set here are DEFAULT fallbacks only.
   Elementor's Style tab controls override these per-instance. */

.btp-css-wrapper * {
  box-sizing: border-box;
}

.btp-css-wrapper {
  width: 100%;
  background: #fdf9f2;
  font-family: 'Poppins', sans-serif;
  padding: 60px;
}

/* ---- Section headers ---- */

.btp-css-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 34px;
}

.btp-css-header-line {
  width: 90px;
  height: 1px;
  background: #c99b3a;
  position: relative;
  flex-shrink: 0;
}

.btp-css-header-line::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c99b3a;
  transform: translateY(-50%);
}

.btp-css-header-line--left::after { right: -3px; }
.btp-css-header-line--right::after { left: -3px; }

.btp-css-header-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 30px;
  color: #3d1a5b;
  margin: 0;
  text-align: center;
}

/* ---- Card divider (small heart) ---- */

.btp-css-divider {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 90px;
  margin: 0 auto 16px;
}

.btp-css-card--wide .btp-css-divider {
  margin-left: 0;
}

.btp-css-divider .btp-css-line {
  flex: 1;
  height: 1px;
  background: #c99b3a;
}

.btp-css-divider svg {
  width: 11px;
  height: 11px;
  fill: #c99b3a;
  flex-shrink: 0;
}

/* ---- 4-column grid ---- */

.btp-css-grid4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-bottom: 50px;
}

.btp-css-card {
  position: relative;
  background: #fdfaf3;
  border: 1px solid #eeddb8;
  border-radius: 16px;
  padding: 32px 22px;
  text-align: center;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.btp-css-card.btp-css-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.btp-css-card.btp-css-animate.btp-css-in-view {
  opacity: 1;
  transform: translateY(0);
}

.elementor-editor-active .btp-css-card.btp-css-animate,
.elementor-editor-active .btp-css-animate-fade {
  opacity: 1 !important;
  transform: none !important;
}

.btp-css-card:hover {
  box-shadow: 0 16px 34px rgba(61, 26, 91, 0.14);
  border-color: #c99b3a;
  transform: translateY(-6px);
}

.btp-css-icon-wrap {
  width: 84px;
  height: 84px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #ece3f4;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s ease, background 0.35s ease;
  flex-shrink: 0;
}

.btp-css-card:hover .btp-css-icon-wrap {
  transform: scale(1.08);
}

.btp-css-icon-wrap i {
  font-size: 36px;
  color: #4a1f6b;
}

.btp-css-icon-wrap svg {
  width: 38px;
  height: 38px;
  fill: #4a1f6b;
}

.btp-css-card-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 19px;
  color: #3d1a5b;
  line-height: 1.3;
  margin-bottom: 10px;
}

.btp-css-card-desc {
  font-size: 13px;
  line-height: 1.65;
  color: #333;
  margin-bottom: 18px;
}

.btp-css-list {
  list-style: none;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 22px;
  padding: 0;
}

.btp-css-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12.5px;
  color: #333;
  padding: 3px 4px;
  border-radius: 6px;
  transition: background 0.25s ease, transform 0.25s ease;
}

.btp-css-list li:hover {
  background: rgba(201, 155, 58, 0.12);
  transform: translateX(3px);
}

.btp-css-check {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #c99b3a;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.btp-css-check svg {
  width: 9px;
  height: 9px;
  stroke: #fff;
  stroke-width: 3;
  fill: none;
}

.btp-css-learn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  color: #3d1a5b;
  text-decoration: none;
  transition: gap 0.25s ease, color 0.25s ease;
}

.btp-css-learn:hover {
  gap: 12px;
  color: #c1832f;
}

.btp-css-learn svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  flex-shrink: 0;
}

.btp-css-lavender-corner {
  position: absolute;
  bottom: -40px;
  left: -40px;
  width: 150px;
  height: auto;
  opacity: 0.7;
  pointer-events: none;
  z-index: 0;
}

.btp-css-lavender-corner--wide {
  width: 200px;
  bottom: -50px;
  right: -40px;
  left: auto;
}

/* ---- Banner strip ---- */

.btp-css-banner {
  position: relative;
  background: linear-gradient(135deg, #ece3f4 0%, #f2e9f6 100%);
  border-radius: 18px;
  padding: 34px 40px;
  display: flex;
  align-items: center;
  gap: 26px;
  overflow: hidden;
  margin-bottom: 60px;
  transition: box-shadow 0.3s ease;
}

.btp-css-animate-fade {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease, box-shadow 0.3s ease;
}

.btp-css-animate-fade.btp-css-in-view {
  opacity: 1;
  transform: translateY(0);
}

.btp-css-banner:hover {
  box-shadow: 0 16px 34px rgba(61, 26, 91, 0.14);
}

.btp-css-banner-icon {
  flex: 0 0 auto;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #dcc8ee;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  transition: transform 0.35s ease;
}

.btp-css-banner:hover .btp-css-banner-icon {
  transform: scale(1.08);
}

.btp-css-banner-icon i {
  font-size: 32px;
  color: #4a1f6b;
}

.btp-css-banner-icon svg {
  width: 34px;
  height: 34px;
  fill: #4a1f6b;
}

.btp-css-banner-text {
  position: relative;
  z-index: 2;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 600;
  font-size: 20px;
  color: #3d1a5b;
  line-height: 1.5;
  flex: 1;
  margin: 0;
}

.btp-css-banner-lavender {
  position: absolute;
  top: -35px;
  right: -50px;
  width: 320px;
  height: auto;
  opacity: 0.9;
  pointer-events: none;
  z-index: 1;
}

/* ---- 2-column grid ---- */

.btp-css-grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 50px;
}

.btp-css-card--wide {
  text-align: left;
  padding: 40px;
  display: flex;
  gap: 26px;
}

.btp-css-card--wide .btp-css-icon-wrap {
  margin: 0;
  flex: 0 0 auto;
  width: 90px;
  height: 90px;
}

.btp-css-card--wide .btp-css-icon-wrap i {
  font-size: 38px;
}

.btp-css-card--wide .btp-css-icon-wrap svg {
  width: 40px;
  height: 40px;
}

.btp-css-card--wide-body {
  flex: 1;
}

.btp-css-card--wide .btp-css-list {
  columns: 1;
}

/* ---- Note bar ---- */

.btp-css-note {
  position: relative;
  background: linear-gradient(135deg, #ece3f4 0%, #f2e9f6 100%);
  border-radius: 16px;
  padding: 28px 36px;
  display: flex;
  align-items: flex-start;
  gap: 22px;
  overflow: hidden;
}

.btp-css-note-icon {
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: #4a1f6b;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.btp-css-note-icon i {
  font-size: 24px;
  color: #fff;
}

.btp-css-note-icon svg {
  width: 26px;
  height: 26px;
  fill: #fff;
}

.btp-css-note-text {
  position: relative;
  z-index: 2;
  font-size: 13.5px;
  line-height: 1.7;
  color: #333;
  margin: 0;
}

.btp-css-note-text strong {
  color: #3d1a5b;
}

.btp-css-note-lavender {
  position: absolute;
  bottom: -45px;
  right: -30px;
  width: 190px;
  height: auto;
  opacity: 0.85;
  pointer-events: none;
  z-index: 1;
}

/* ---- Popup window ---- */

.btp-css-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(61, 26, 91, 0.6);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.btp-css-popup-overlay.btp-css-popup-open {
  opacity: 1;
  visibility: visible;
}

.btp-css-popup {
  position: relative;
  background: #fdf9f2;
  border-radius: 20px;
  max-width: 560px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 44px 40px 40px;
  text-align: center;
  box-shadow: 0 25px 60px rgba(61, 26, 91, 0.3);
  transform: translateY(24px) scale(0.97);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.btp-css-popup-overlay.btp-css-popup-open .btp-css-popup {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.btp-css-popup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid #3d1a5b;
  background: transparent;
  color: #3d1a5b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
  z-index: 2;
}

.btp-css-popup-close:hover {
  color: #c1832f;
  border-color: #c1832f;
  transform: rotate(90deg);
}

.btp-css-popup-close svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
}

.btp-css-popup-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #ece3f4;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.btp-css-popup-icon i {
  font-size: 30px;
  color: #4a1f6b;
}

.btp-css-popup-icon svg {
  width: 32px;
  height: 32px;
  fill: #4a1f6b;
}

.btp-css-popup-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 26px;
  color: #3d1a5b;
  margin: 0 0 16px;
  position: relative;
  z-index: 2;
}

.btp-css-popup-content {
  font-size: 14.5px;
  line-height: 1.75;
  color: #333;
  text-align: left;
  position: relative;
  z-index: 2;
}

.btp-css-popup-content p {
  margin: 0 0 14px;
}

.btp-css-popup-content p:last-child {
  margin-bottom: 0;
}

.btp-css-popup-lavender {
  position: absolute;
  width: 190px;
  height: auto;
  pointer-events: none;
  opacity: 0.8;
  z-index: 1;
}

.btp-css-popup-lavender--top-left {
  top: -30px;
  left: -30px;
}

.btp-css-popup-lavender--top-right {
  top: -30px;
  right: -30px;
  transform: scaleX(-1);
}

.btp-css-popup-lavender--bottom-left {
  bottom: -30px;
  left: -30px;
}

.btp-css-popup-lavender--bottom-right {
  bottom: -30px;
  right: -30px;
  transform: scaleX(-1);
}

body.btp-css-popup-lock {
  overflow: hidden;
}

@media (max-width: 640px) {
  .btp-css-popup-overlay {
    padding: 16px;
  }
  .btp-css-popup {
    padding: 40px 22px 28px;
    border-radius: 16px;
    max-height: 90vh;
  }
  .btp-css-popup-title {
    font-size: 21px;
  }
  .btp-css-popup-content {
    font-size: 13.5px;
  }
  .btp-css-popup-lavender {
    width: 120px;
  }
  .btp-css-popup-close {
    top: 12px;
    right: 12px;
    width: 30px;
    height: 30px;
  }
}

/* ---- Responsive ---- */

@media (max-width: 1100px) {
  .btp-css-grid4 {
    row-gap: 26px;
  }
}

@media (max-width: 900px) {
  .btp-css-grid2 {
    grid-template-columns: 1fr;
  }
  .btp-css-banner {
    flex-direction: column;
    text-align: center;
  }
  .btp-css-note {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .btp-css-wrapper {
    padding: 45px 24px;
  }
  .btp-css-header-title {
    font-size: 22px;
  }
  .btp-css-header-line {
    width: 36px;
  }
  .btp-css-card--wide {
    flex-direction: column;
  }
}
