.ycpsc-section {
  width: 100%;
  max-width: var(--ycpsc-max-width, 1220px);
  margin: 38px auto;
  padding: 10px 14px;
  box-sizing: border-box;
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #2b2020;
}

.ycpsc-plan-grid {
  display: grid;
  grid-template-columns: repeat(var(--ycpsc-columns, 3), minmax(280px, 380px));
  gap: 24px;
  align-items: stretch;
  justify-content: center;
}

.ycpsc-columns-1 .ycpsc-plan-grid {
  grid-template-columns: minmax(280px, 920px);
}

.ycpsc-columns-1.ycpsc-align-left .ycpsc-plan-grid { justify-content: start; }
.ycpsc-columns-1.ycpsc-align-center .ycpsc-plan-grid { justify-content: center; }
.ycpsc-columns-1.ycpsc-align-right .ycpsc-plan-grid { justify-content: end; }

.ycpsc-card {
  position: relative;
  overflow: hidden;
  display: flex;
  min-height: 620px;
  width: 100%;
  background: #fffdf9;
  border: 1px solid #eeedf3;
  border-radius: 28px;
  box-shadow: 0 14px 38px rgba(125, 21, 20, 0.065);
}

.ycpsc-columns-1 .ycpsc-card:not(.ycpsc-card-has-image) {
  max-width: 420px;
  justify-self: center;
}

.ycpsc-card-featured {
  border: 2px solid #7d1514;
  box-shadow: 0 18px 52px rgba(125, 21, 20, 0.13);
}

.ycpsc-highlight-shell {
  position: relative;
  display: flex;
  width: 100%;
  isolation: isolate;
  overflow: visible;
  box-sizing: border-box;
  margin-top: -58px;
  padding: 58px 3px 3px;
  border-radius: 30px;
  background: #7d1514;
  box-shadow: 0 18px 52px rgba(125, 21, 20, 0.13);
}

.ycpsc-highlight-shell::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 92px;
  z-index: 0;
  border-radius: 30px 30px 0 0;
  background: #7d1514;
}

.ycpsc-highlight-shell .ycpsc-card-featured {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  border: 0;
  box-shadow: none;
  border-radius: 26px;
}

.ycpsc-highlight-shell .ycpsc-highlight-label {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  right: 0;
  height: 58px;
  border-radius: 30px 30px 0 0;
}

.ycpsc-card-has-ribbon:not(.ycpsc-card-has-image) .ycpsc-card-body { padding-top: 78px; }

.ycpsc-highlight-shell.ycpsc-card-has-ribbon .ycpsc-card:not(.ycpsc-card-has-image) .ycpsc-card-body { padding-top: 20px; }


.ycpsc-ribbon {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
  right: 0;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #7d1514;
  color: #fff9ef;
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.ycpsc-card-has-image.ycpsc-card-has-ribbon {
  grid-template-rows: 58px minmax(0, 1fr);
}

.ycpsc-card-has-image.ycpsc-card-has-ribbon .ycpsc-ribbon {
  position: static;
  grid-column: 1 / -1;
  order: -2;
}


.ycpsc-card-body {
  position: relative;
  width: 100%;
  padding: 20px 34px 38px;
  box-sizing: border-box;
}

.ycpsc-card-has-image {
  display: grid;
  grid-template-columns: minmax(260px, 42%) minmax(0, 1fr);
  min-height: 430px;
  max-width: 920px;
  justify-self: center;
  border-radius: 22px;
}

.ycpsc-card-has-image.ycpsc-image-right {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 42%);
}

.ycpsc-card-has-image.ycpsc-image-top {
  display: flex;
  flex-direction: column;
  min-height: 620px;
  max-width: none;
  border-radius: 28px;
}

.ycpsc-card-has-image.ycpsc-image-top .ycpsc-card-media {
  width: 100%;
  height: 240px;
  min-height: 240px;
  align-self: auto;
  flex: 0 0 auto;
}

.ycpsc-card-has-image.ycpsc-image-top .ycpsc-card-media img {
  height: 100%;
  min-height: 240px;
  object-fit: cover;
}

.ycpsc-card-has-image.ycpsc-image-top .ycpsc-card-body {
  min-height: auto;
  padding: 20px 34px 38px;
  justify-content: flex-start;
  flex: 1 1 auto;
}

.ycpsc-card-has-image.ycpsc-image-top .ycpsc-title-wrap {
  padding-right: 0;
}

.ycpsc-card-has-image.ycpsc-image-top .ycpsc-price-title {
  font-size: 33px;
}

.ycpsc-card-has-image .ycpsc-card-media {
  height: 100%;
  min-height: inherit;
  align-self: stretch;
  background: #eeedf3;
}

.ycpsc-card-has-image .ycpsc-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.ycpsc-card-has-image .ycpsc-card-body {
  min-height: inherit;
  padding: 20px 42px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ycpsc-card-has-image .ycpsc-subtitle {
  margin-bottom: 32px;
}

.ycpsc-card-has-image .ycpsc-divider {
  margin-top: 28px;
}

.ycpsc-discount {
  position: static;
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  width: max-content;
  max-width: 100%;
  margin: 0 0 14px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #efdbdb;
  color: #7d1514;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 500;
  white-space: normal;
  text-transform: uppercase;
}

.ycpsc-card-title {
  margin: 0 92px 10px 0;
  color: #2b2020;
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 23px;
  line-height: 1.22;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.ycpsc-card-has-image .ycpsc-card-title {
  margin-right: 0;
  font-size: 25px;
  font-weight: 600;
}

.ycpsc-subtitle {
  margin: 0 0 54px;
  color: #b27408;
  font-size: 16.5px;
  line-height: 1.5;
  font-weight: 400;
}

.ycpsc-price-wrap { margin-bottom: 28px; }

.ycpsc-title-wrap {
  margin: 0 0 28px;
  padding-right: 0;
}

.ycpsc-card-has-image .ycpsc-title-wrap {
  padding-right: 0;
}

.ycpsc-price-title {
  margin: 0;
  color: #7d1514;
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 33px;
  line-height: 1.16;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.ycpsc-card-has-image .ycpsc-price-title {
  font-size: 35px;
}

.ycpsc-regular-price {
  color: #7c7470;
  font-size: 15.5px;
  line-height: 1.3;
  text-decoration: line-through;
  margin-bottom: 6px;
  font-weight: 400;
}

.ycpsc-sale-price {
  display: flex;
  align-items: baseline;
  gap: 3px;
  color: #2b2020;
  font-size: 23px;
  line-height: 1.05;
  font-weight: 500;
}

.ycpsc-sale-price span {
  font-size: 39px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.ycpsc-sale-price small {
  font-size: 18px;
  font-weight: 400;
}

.ycpsc-bonus {
  margin-top: 10px;
  color: #b27408;
  font-family: "Rosarivo", Georgia, serif;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 500;
}

.ycpsc-button {
  display: inline-flex;
  width: 100%;
  margin-top: 10px;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 13px 20px;
  border-radius: 10px;
  border: 1px solid #7d1514;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 600;
  text-decoration: none !important;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.ycpsc-button:hover {
  transform: translateY(-1px);
  border-color: #b27408;
  box-shadow: 0 12px 22px rgba(178, 116, 8, 0.18);
}

.ycpsc-button-filled {
  background: #7d1514;
  color: #fff9ef !important;
}

.ycpsc-button-filled:hover {
  background: #b27408;
  color: #fff9ef !important;
}

.ycpsc-button-outline {
  background: #fffdf9;
  color: #7d1514 !important;
}

.ycpsc-button-outline:hover {
  background: #b27408;
  color: #fff9ef !important;
}

.ycpsc-note {
  margin: 19px 0 0;
  color: #786f6b;
  font-size: 14.5px;
  line-height: 1.45;
  font-weight: 400;
}

.ycpsc-custom-html {
  margin-top: 18px;
  color: #3f3532;
  font-size: 14.5px;
  line-height: 1.5;
}

.ycpsc-divider {
  width: 100%;
  height: 1px;
  background: #eeedf3;
  margin: 8px 0 8px;
}

.ycpsc-features-label {
  margin: 0 0 10px;
  color: #b27408;
  font-family: "Rosarivo", Georgia, serif;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 500;
}

.ycpsc-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.ycpsc-features li {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: start;
  color: #2b2020;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 400;
}

.ycpsc-check {
  color: #b27408;
  font-weight: 600;
}

.ycpsc-feature-badge {
  display: inline-flex;
  align-items: center;
  align-self: center;
  padding: 4px 8px;
  border-radius: 999px;
  background: #efdbdb;
  color: #7d1514;
  font-size: 11px;
  line-height: 1;
  font-weight: 600;
  white-space: nowrap;
}

.ycpsc-bottom-link-wrap {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.ycpsc-bottom-link {
  color: #7d1514 !important;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none !important;
}

@media (min-width: 1025px) {
  .ycpsc-section.ycpsc-has-group-highlight {
    margin-top: 80px;
  }

  .ycpsc-section.ycpsc-single-view:not(.ycpsc-group-view):not(.ycpsc-has-group-highlight) {
    margin-top: -20px;
  }

  .ycpsc-section.ycpsc-single-view:not(.ycpsc-group-view):not(.ycpsc-has-group-highlight) .ycpsc-plan-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    justify-content: stretch !important;
    width: 100%;
  }

  .ycpsc-section.ycpsc-single-view:not(.ycpsc-group-view):not(.ycpsc-has-group-highlight) .ycpsc-card {
    max-width: none !important;
    justify-self: stretch;
  }
}

@media (max-width: 1024px) {
  .ycpsc-plan-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 380px)); }
  .ycpsc-highlight-shell {
    margin-top: 0;
  }
}

@media (max-width: 760px) {
  .ycpsc-section {
    padding: 0px;
    margin-top: -10px;
  }
  .ycpsc-plan-grid,
  .ycpsc-columns-1 .ycpsc-plan-grid { grid-template-columns: minmax(0, 1fr); }
  .ycpsc-card { min-height: auto; border-radius: 22px; }
  .ycpsc-card-body { padding: 20px 26px 32px; }
  .ycpsc-card-has-image,
  .ycpsc-card-has-image.ycpsc-image-right { grid-template-columns: 1fr; max-width: 100%; }
  .ycpsc-card-has-image.ycpsc-image-top { max-width: 100%; min-height: auto; }
  .ycpsc-card-has-image .ycpsc-card-media {
    aspect-ratio: 1 / 1;
    min-height: 0;
    height: auto;
  }
  .ycpsc-card-has-image .ycpsc-card-media img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: contain;
  }
  .ycpsc-card-has-image.ycpsc-image-top .ycpsc-card-media {
    aspect-ratio: 1 / 1;
    min-height: 0;
    height: auto;
  }
  .ycpsc-card-has-image.ycpsc-image-top .ycpsc-card-media img {
    height: 100%;
    min-height: 0;
    object-fit: contain;
  }
  .ycpsc-card-has-image.ycpsc-image-right .ycpsc-card-media { order: -1; }
  .ycpsc-card-has-image .ycpsc-card-body { padding: 20px 26px 32px; }
  .ycpsc-discount { right: 24px; top: 24px; }
  .ycpsc-card-title { margin-right: 82px; font-size: 21px; }
  .ycpsc-title-wrap { padding-right: 0; }
  .ycpsc-card-has-image .ycpsc-title-wrap { padding-right: 0; }
  .ycpsc-discount {
    position: static;
    align-self: flex-start;
    width: max-content;
    max-width: 100%;
    margin: 0 0 12px;
    white-space: normal;
    line-height: 1.2;
  }
  .ycpsc-title-wrap,
  .ycpsc-card-has-image .ycpsc-title-wrap,
  .ycpsc-card-has-image.ycpsc-image-top .ycpsc-title-wrap { padding-right: 0; }
  .ycpsc-features li { grid-template-columns: 20px minmax(0, 1fr); }
  .ycpsc-feature-badge {
    grid-column: 2;
    justify-self: start;
    margin-top: 2px;
  }
  .ycpsc-price-title,
  .ycpsc-card-has-image .ycpsc-price-title { font-size: 28px; }
  .ycpsc-sale-price span { font-size: 34px; }
  .ycpsc-highlight-shell {
    overflow: visible;
    padding: 58px 3px 3px;
    margin-bottom: 26px;
    border-radius: 30px;
  }
  .ycpsc-highlight-shell .ycpsc-card-featured {
    border-radius: 24px;
  }
}

.ycpsc-benefits {
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
  display: grid;
  gap: 12px;
}

.ycpsc-benefits li {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  color: #2b2020;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 400;
}

.ycpsc-benefit-icon {
  width: 20px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #7d1514;
  font-size: 13px;
  flex: 0 0 auto;
}

.ycpsc-benefit-icon i {
  line-height: 1;
}

.ycpsc-benefit-icon i.ycpsc-fa-fallback-heart::before {
  content: "\f004" !important;
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
}

.ycpsc-benefit-icon i.ycpsc-fa-fallback-heart::after {
  display: none !important;
}

.ycpsc-admin-notice {
  max-width: 860px;
  margin: 24px auto;
  padding: 14px 18px;
  border: 1px solid #efdbdb;
  border-left: 4px solid #7d1514;
  border-radius: 12px;
  background: #fdf6ec;
  color: #7d1514;
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

.ycpsc-subtitle,
.ycpsc-bonus,
.ycpsc-features-label {
  color: #b27408;
}
