/* Pricing Plan Switcher */
.bdt-pricing-plan .bdt-pricing-switcher {
  margin: 0 0 30px;
}

.bdt-pricing-plan .bdt-pricing-switcher .bdt-subnav {
  background-color: #fff;
  padding: 8px;
  border-radius: 6px;
  border: 1px solid #e5e5e6;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  margin: 0;
}

.bdt-pricing-plan .bdt-pricing-switcher .bdt-subnav li {
  padding-left: 0;
  width: auto;
}

.bdt-pricing-plan .bdt-pricing-switcher .bdt-subnav li a {
  padding: 10px 20px;
  color: #000;
  font-weight: 700;
  text-transform: capitalize;
}

.bdt-pricing-plan .bdt-pricing-switcher .bdt-subnav-pill > * > a:hover {
  background-color: transparent;
}

.bdt-pricing-plan .bdt-pricing-switcher .bdt-subnav-pill > .bdt-active > a {
  color: #fff;
  border-radius: 6px;
  background-color: #1c64f2;
}

/* Pricing Grid */
.bdt-pricing-plan .bdt-pricing-grid-wrap {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.bdt-pricing-plan .bdt-price-item {
  flex-grow: 1;
  flex-basis: 300px;
  border-radius: 10px;
  position: relative;
  border: 1px solid rgba(221, 221, 221, 0.388);
  text-align: center;
  height: 100%;
}

/* Discount Badge */
.bdt-pricing-plan .bdt-price-discount-wrap {
  margin: 0 0 30px;
}

.bdt-pricing-plan .discount-wrap-inner {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  color: #2649ff;
  font-size: 13px;
  font-weight: 700;
  background-color: rgba(28, 100, 242, 0.129);
  padding: 10px 12px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  display: none;
  text-transform: uppercase;
}

.bdt-pricing-plan .discount-wrap-inner.coupon-applied {
  display: block;
}

/* Price Header */
.bdt-pricing-plan .bdt-price-title {
  margin: 0 0 15px;
  font-size: 25px;
  font-weight: 700;
  text-transform: capitalize;
}

.bdt-pricing-plan .bdt-price-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  grid-gap: 4px;
  margin-bottom: 10px;
}

.bdt-pricing-plan .bdt-price-inner {
  display: flex;
  align-items: center;
}

.bdt-pricing-plan .bdt-discount-price {
  font-size: 16px;
  font-weight: 800;
  text-decoration: line-through;
  color: #7f7e8e;
}

.bdt-pricing-plan .bdt-discount-price.coupon-applied {
  display: block;
}

.bdt-pricing-plan .bdt-current-price {
  font-size: 35px;
  font-weight: 900;
  color: #000;
}

.bdt-pricing-plan .bdt-price-time {
  font-size: 14px;
  font-weight: 600;
  color: #747283;
}

/* Feature List */
.bdt-pricing-plan .bdt-pricing-list-wrap {
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bdt-pricing-plan .has-toggle-button {
  .bdt-tooltiptext {
    display: none;
  }
}
.bdt-pricing-plan .expanded-container {
  .bdt-tooltiptext {
    display: block;
  }
  .expanded {
    overflow: visible !important;
  }
}

.bdt-pricing-plan .plan-feature-container {
  position: relative;
  padding-bottom: 0; /* No padding by default */
}

.bdt-pricing-plan .plan-feature-container.expanded-container {
  padding-bottom: 20px; /* Space for toggle button when expanded */
}

.bdt-pricing-plan .bdt-pricing-list-wrap.limited {
  max-height: 200px;
  overflow: hidden;
  transition: max-height 0.4s ease;
  position: relative;
  --pricing-table-mask-shadow: 30%;
  mask-image: linear-gradient(#000 var(--pricing-table-mask-shadow), transparent);
}

.bdt-pricing-plan .bdt-pricing-list-wrap.limited.active {
  max-height: 1000px;
  mask-image: none;
}

.bdt-pricing-plan .bdt-pricing-list-item {
  list-style: none;
  display: flex;
  gap: 10px;
  align-items: center;
  padding-left: 4px;
}

.bdt-pricing-plan .bdt-pricing-list-item > * {
  text-align: left;
}

.bdt-pricing-plan .bdt-pricing-list-item-icon {
  --borderWidth: 2px;
  --height: 12px;
  --width: 7px;
  --borderColor: var(--icon-color);
  display: inline-block;
  transform: rotate(45deg);
  height: var(--height);
  width: var(--width);
  border-bottom: var(--borderWidth) solid var(--borderColor);
  border-right: var(--borderWidth) solid var(--borderColor);
}

.bdt-pricing-plan .bdt-pricing-list-item a {
  font-size: 14px;
  color: #40414a;
  font-weight: 400;
  text-decoration: none;
}

/* Toggle Button */
.bdt-pricing-plan .toggle-button {
  margin: 0;
  cursor: pointer;
  display: block;
  background: transparent;
  border: 0;
  color: #1c64f2;
  font-weight: 600;
  text-transform: capitalize;
  transition: all 0.3s ease;
  padding: 0;
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

/* Toggle Button when expanded (after show more click) */

.bdt-pricing-plan .toggle-button:hover {
  color: #0f3cc9;
}

.bdt-pricing-plan .toggle-button span {
  font-size: 14px;
}

/* Tooltip */
.bdt-pricing-plan .bdt-pricing-list-item-tooltip {
  position: relative;
  display: inline-block;
}

.bdt-pricing-plan .bdt-pricing-list-item-tooltip .bdt-tooltiptext {
  visibility: hidden;
  width: 150px;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 8px 10px;
  position: absolute;
  z-index: 1;
  bottom: 150%;
  left: 50%;
  font-size: 12px;
  transform: translateX(-50%);
}

.bdt-pricing-plan .bdt-pricing-list-item-tooltip .bdt-tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: black transparent transparent transparent;
}

.bdt-pricing-plan .bdt-pricing-list-item-tooltip:hover .bdt-tooltiptext {
  visibility: visible;
}

/* Buy Button */
.bdt-pricing-plan .bdt-price-buyButton {
  text-decoration: none;
  color: #1c64f2;
  padding: 12px;
  font-size: 14px;
  display: block;
  border-radius: 6px;
  font-weight: 700;
  transition: all 0.3s ease;
  border: 2px solid #1c64f2;
}

.bdt-pricing-plan .bdt-price-buyButton:hover {
  color: #fff;
  text-decoration: none;
  background-color: #1c64f2;
}

/* Price Description */
.bdt-pricing-plan .bdt-price-desc {
  margin: 10px 0 0;
  font-size: 14px;
  font-weight: 400;
  color: #555762;
}

/* Body Wrapper */
.bdt-price-body-wrap {
  display: flex;
  flex-direction: column;
  gap: 30px;
  justify-content: space-between;
  padding: 30px;
}

/* Highlighted Items - Base styles only */
.bdt-pricing-plan .bdt-price-item.bdt-highlighted:not(.bdt-static-price-combo) {
  border: 1px solid #a50000;
}

/* Shape Elements Container */
.bdt-pricing-plan .bdt-price-item .bdt-price-header-wrap {
  position: relative;
  overflow: hidden;
  height: auto;
  padding: 30px 20px;
  border-bottom: 1px solid rgba(221, 221, 221, 0.388);
}

/* Base Shape Styles */
.bdt-pricing-plan .bdt-price-item .shape-1,
.bdt-pricing-plan .bdt-price-item .shape-2,
.bdt-pricing-plan .bdt-price-item .shape-3 {
  position: absolute;
  opacity: 0.2;
  z-index: 1;
  display: block;
  pointer-events: none;
  will-change: transform, opacity;
  backface-visibility: hidden;
}

/* Static Shapes (Normal Items) */
.bdt-pricing-plan .bdt-price-item .shape-1 {
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-bottom: 30px solid rgba(28, 100, 242, 0.6);
  top: 40px;
  right: 10px;
  transform-origin: center bottom;
}

.bdt-pricing-plan .bdt-price-item .shape-2 {
  width: 20px;
  height: 20px;
  background: linear-gradient(45deg, rgba(28, 100, 242, 0.5), rgba(51, 204, 255, 0.3));
  bottom: 15px;
  left: 15%;
  box-shadow: 0 0 10px rgba(51, 204, 255, 0.5);
  transform: rotate(45deg);
}

.bdt-pricing-plan .bdt-price-item .shape-3 {
  width: 16px;
  height: 16px;
  top: 20%;
  left: 8%;
}

.bdt-pricing-plan .bdt-price-item .shape-3::before,
.bdt-pricing-plan .bdt-price-item .shape-3::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  background: rgba(28, 100, 242, 0.5);
  top: 0;
  left: 0;
}

.bdt-pricing-plan .bdt-price-item .shape-3::before {
  transform: rotate(45deg);
}

.bdt-pricing-plan .bdt-price-item .shape-3::after {
  transform: rotate(90deg);
}

/* Animated Shapes (Highlighted & Static Combo Items) */
.bdt-pricing-plan .bdt-highlighted .shape-1,
.bdt-pricing-plan .bdt-static-price-combo .shape-1 {
  border-bottom-color: rgba(255, 255, 255, 0.8);
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.6));
  animation: rotate 6s linear infinite;
}

.bdt-pricing-plan .bdt-highlighted .shape-2,
.bdt-pricing-plan .bdt-static-price-combo .shape-2 {
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.7), rgba(230, 243, 255, 0.5));
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
  animation: float 5s ease-in-out infinite;
}

.bdt-pricing-plan .bdt-highlighted .shape-3,
.bdt-pricing-plan .bdt-static-price-combo .shape-3 {
  animation: pulse 4s ease-in-out infinite;
}

.bdt-pricing-plan .bdt-highlighted .shape-3::before,
.bdt-pricing-plan .bdt-highlighted .shape-3::after,
.bdt-pricing-plan .bdt-static-price-combo .shape-3::before,
.bdt-pricing-plan .bdt-static-price-combo .shape-3::after {
  background: rgba(255, 255, 255, 0.7);
}

/* Static Combo & Plan Highlight Items */
.bdt-static-price-combo,
.bdt-highlighted {
  position: relative;
  background: transparent;
  padding: 0 !important;
  border: 0 !important;
  transform: translateZ(0);
  will-change: auto;
}

.bdt-static-price-combo::before,
.bdt-highlighted::before {
  content: '';
  position: absolute;
  inset: -6px;
  background: linear-gradient(60deg, #0066ff, #0099ff, #33ccff, #3399ff, #0033ff, #0000ff, #000099);
  border-radius: inherit;
  z-index: -1;
  animation: smoothGradient 25s linear infinite;
  background-size: 400% 400%;
  will-change: background-position;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.bdt-static-price-combo .bdt-price-header-wrap,
.bdt-highlighted .bdt-price-header-wrap {
  border: 0 !important;
  position: relative;
}

.bdt-static-price-combo .discount-wrap-inner,
.bdt-highlighted .discount-wrap-inner {
  background: linear-gradient(60deg, #f44336, #f44837, #fa1605, #f44336, #f44336, #f4880f, #f1b106);
  color: #fff;
  width: 100%;
  border-radius: 6px;
  animation: smoothGradient 15s linear infinite;
  animation-delay: 2s;
  background-size: 400% 400%;
  will-change: background-position;
  backface-visibility: hidden;
}

.bdt-static-price-combo .bdt-price-title,
.bdt-highlighted .bdt-price-title {
  color: #fff;
}

.bdt-static-price-combo .bdt-price-wrap .bdt-discount-price,
.bdt-highlighted .bdt-price-wrap .bdt-discount-price {
  color: rgba(244, 250, 255, 0.9);
}

.bdt-static-price-combo .bdt-price-wrap .bdt-current-price,
.bdt-highlighted .bdt-price-wrap .bdt-current-price {
  color: #fff;
}

.bdt-static-price-combo .bdt-price-time,
.bdt-highlighted .bdt-price-time {
  color: #ffffff;
  background: rgba(119, 142, 255, 0.71);
  border: 1px solid rgb(181 191 255 / 48%);
  backdrop-filter: blur(15px);
  padding: 6px;
  border-radius: 6px;
  display: inline-block;
  line-height: 1;
}

.bdt-static-price-combo .bdt-price-buyButton,
.bdt-highlighted .bdt-price-buyButton {
  background: linear-gradient(60deg, #1c64f2, #0099ff, #4559f6, #3399ff, #0033ff, #0000ff, #3535e4);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: smoothGradient 20s linear infinite;
  animation-delay: 3s;
  background-size: 400% 400%;
  transition: all 0.3s ease;
  will-change: background-position, transform;
  backface-visibility: hidden;
}

.bdt-static-price-combo .bdt-price-buyButton:hover,
.bdt-highlighted .bdt-price-buyButton:hover {
  background: linear-gradient(60deg, #1c64f2, #0099ff, #4559f6, #3399ff, #0033ff, #0000ff, #3535e4);
  background-size: 400% 400%;
  animation: smoothGradient 12s linear infinite;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(28, 100, 242, 0.3);
}

.bdt-static-price-combo .bdt-price-body-wrap,
.bdt-highlighted .bdt-price-body-wrap {
  background: #fff;
  border-radius: 6px;
  padding: 28px !important;
}

/* list badge start */
.bdt-price-item {
  .bdt-list-badge {
    background: #f00;
    line-height: 1;
    color: #fff;
    padding: 4px 5px;
    border-radius: 3px;
    font-size: 9px;
    text-transform: uppercase;
    font-weight: 600;
    white-space: nowrap;
    &.new {
      background: rgba(34, 197, 94, 0.304); 
      color: #15803d;
    }
    &.hot {
      background: rgba(239, 68, 68, 0.2);
      color: #b91c1c;
    }
    &.popular {
      background: rgba(245, 158, 11, 0.2);
      color: #b45309;
    }
    &.coming-soon {
      background: rgba(99, 102, 241, 0.2);
      color: #4338ca;
    }
    &.pro {
      background: rgba(244, 67, 54, 0.2);
      color: #c41e3a;
    }
    &.lite {
      background: rgba(0, 153, 255, 0.2);
      color: #0284c7;
    }
  }
}


/* list badge end */

/* Special Items Custom Styling - Override default gradient animations when custom colors are applied */
.bdt-pricing-plan .bdt-highlighted.custom-styled,
.bdt-pricing-plan .bdt-static-price-combo.custom-styled {
  background: var(--custom-bg) !important;
  color: var(--custom-color) !important;
}

.bdt-pricing-plan .bdt-highlighted.custom-styled::before,
.bdt-pricing-plan .bdt-static-price-combo.custom-styled::before {
  display: none !important;
}

.bdt-pricing-plan .bdt-highlighted.custom-styled .bdt-price-body-wrap,
.bdt-pricing-plan .bdt-static-price-combo.custom-styled .bdt-price-body-wrap {
  background: var(--custom-body-bg) !important;
  color: var(--custom-body-color) !important;
}


/* style 2 css here start */
.bdt-pricing-plan {
    &.style-2 {
      .bdt-price-item {
        background: #ffffff29;
        backdrop-filter: blur(15px);
      }
      .bdt-price-title {
        color: #fff;
      }
      .bdt-current-price {
        color: #f1f1f1;
       }
       .bdt-price-time {
          color: #d2d2d2;
       }
       .shape-1,
       .shape-2, 
       .shape-3 { 
        opacity: .5;
       }
      .bdt-discount-price {
        color: rgba(253, 253, 253, 0.502);
       }
       .discount-wrap-inner {
        color: #fafbff;
        background-color: rgba(28, 100, 242, 0);
        backdrop-filter: blur(15px);
       }

      .bdt-price-header-wrap {
          border-bottom: 1px solid rgba(221, 221, 221, 0.13);
      }
      .bdt-price-item {
          border: 1px solid rgba(221, 221, 221, 0.13);
      }
     .bdt-pricing-list-item a {
        color: #e9e9e9;
      }

     .bdt-price-buyButton {
          color: #f9f9f9;
          background: rgba(255, 255, 255, 0.1);
          backdrop-filter: blur(10px);
          -webkit-backdrop-filter: blur(10px);
          border: 1px solid rgba(255, 255, 255, 0.2);
          box-shadow: 0 4px 16px rgba(31, 38, 135, 0.15);
          transition: all 0.3s ease;
          &:hover {
            background: rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(15px);
            -webkit-backdrop-filter: blur(15px);
            border: 1px solid rgba(255, 255, 255, 0.3);
            box-shadow: 0 8px 32px rgba(31, 38, 135, 0.2);
            transform: translateY(-2px);
            color: #fff;
          }
      }
      .bdt-price-desc {
          color: #e5e5e5;
      }

      .bdt-static-price-combo::before,
      .bdt-highlighted::before {
        background: linear-gradient(60deg, rgba(0, 102, 255, 0.7), rgba(0, 153, 255, 0.7), rgba(51, 204, 255, 0.7), rgba(51, 153, 255, 0.7), rgba(0, 51, 255, 0.7), rgba(0, 0, 255, 0.7), rgba(0, 0, 153, 0.7));
        backdrop-filter: blur(15px);
        border: 1px solid rgba(255, 255, 255, 0.2); 
        box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.5);
      }

      .bdt-static-price-combo .bdt-price-body-wrap,
      .bdt-highlighted .bdt-price-body-wrap {
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(15px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.5);
      }

      .bdt-static-price-combo .bdt-price-buyButton,
      .bdt-highlighted .bdt-price-buyButton {
        background: rgba(28, 100, 242, 0.2);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        color: #fff;
        border: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
        transition: all 0.3s ease;
      }

      .bdt-static-price-combo .bdt-price-buyButton:hover,
      .bdt-highlighted .bdt-price-buyButton:hover {
        background: rgba(28, 100, 242, 0.4);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.3);
        border: 1px solid rgba(255, 255, 255, 0.3);
        transform: translateY(-2px);
      }

      .bdt-pricing-switcher .bdt-subnav {
          background: rgba(255, 255, 255, 0.2);
          backdrop-filter: blur(15px);
          -webkit-backdrop-filter: blur(15px);
          border: 1px solid rgba(255, 255, 255, 0.3);
          box-shadow: 0 8px 32px rgba(31, 38, 135, 0.2);
      }

      .bdt-pricing-switcher .bdt-subnav li a {
          color: #fff;
      }

     .bdt-pricing-switcher .bdt-subnav-pill > .bdt-active > a {
          color: rgb(255, 255, 255);
          background: rgba(28, 99, 242, 0.015);
          backdrop-filter: blur(15px);
          -webkit-backdrop-filter: blur(15px);
          border: 1px solid rgba(255, 255, 255, 0.2);
          box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
      }
    }
}







/* style 2 css here end */

/* Media Queries */
@media (max-width: 767px) {
  .bdt-pricing-plan .bdt-pricing-list-wrap {
    max-height: 150px;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(#000 75%, transparent);
  }
  
  .bdt-pricing-plan .plan-feature-container {
    padding-bottom: 45px; /* Always space for toggle button on mobile */
  }
  
  .bdt-pricing-plan .toggle-button {
    display: block !important; /* Force show on mobile */
  }
}

@media (min-width: 768px) {
  .bdt-pricing-plan .bdt-pricing-switcher .bdt-subnav li {
    width: auto;
  }

  .bdt-pricing-plan .toggle-button {
    font-size: 15px;
  }
  .bdt-pricing-plan .bdt-price-item .bdt-price-header-wrap {
    height: 208px;
  }
}

@media (min-width: 1024px) {
  .bdt-pricing-plan .bdt-pricing-grid-wrap {
    flex-wrap: nowrap;
  }

  .bdt-pricing-plan .bdt-price-item[data-filter="combo"] {
    max-width: 40%;
  }

  .bdt-pricing-plan .bdt-pricing-switcher .bdt-subnav li a {
    padding: 12px 30px;
  }

  .bdt-pricing-plan .bdt-price-title {
    font-size: 24px;
  }

  .bdt-pricing-plan .bdt-current-price {
    font-size: 38px;
  }

  .bdt-pricing-plan .bdt-price-buyButton {
    padding: 14px;
    font-size: 16px;
  }

  .bdt-pricing-plan .bdt-pricing-list-item a {
    font-size: 14px;
  }

  .bdt-pricing-plan .bdt-price-desc {
    margin: 20px 0 0;
  }

  .bdt-pricing-plan .bdt-discount-price {
    font-size: 16px;
  }
}

/* Keyframes Animations */
@keyframes rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes float {
  0%, 100% { transform: rotate(45deg) translateY(0px); }
  50% { transform: rotate(45deg) translateY(-10px); }
}

@keyframes pulse {
  0%, 100% { 
    transform: scale(1); 
    opacity: 0.3; 
  }
  50% { 
    transform: scale(1.2); 
    opacity: 0.6; 
  }
}

@keyframes smoothGradient {
  0% { background-position: 0% 50%; }
  20% { background-position: 50% 0%; }
  40% { background-position: 100% 50%; }
  60% { background-position: 50% 100%; }
  80% { background-position: 0% 100%; }
  100% { background-position: 0% 50%; }
}