/* =====================================================
   DIPACKING PRICING - WEcrea / Bootstrap 3.3.5
===================================================== */

.wec-dp-price-section {
  padding: 100px 0 70px;
  background: #f7f8fc;
  color: #171044;
}

.wec-dp-price-section > .wec-dp-price-container {
  width: 100% !important;
  max-width: 1380px !important;

  margin-left: auto !important;
  margin-right: auto !important;

  padding-left: 20px !important;
  padding-right: 20px !important;

  box-sizing: border-box;
}


/* =====================================================
   HEADER
===================================================== */

.wec-dp-price-header {
  max-width: 850px;
  margin: 0 auto 50px;
}

.wec-dp-price-header h2 {
  margin: 0 0 16px;

  font-size: 42px;
  line-height: 1.15;
  font-weight: 700;

  color: #11112f;
}

.wec-dp-price-header h2 span {
  color: #ffd402;
}

.wec-dp-price-header p {
  max-width: 720px;

  margin: 0 auto;

  font-size: 15px;
  line-height: 1.6;

  color: #667085;
}


/* =====================================================
   BILLING
===================================================== */

.wec-dp-billing {
  margin-top: 32px;

  display: flex;
  align-items: center;
  justify-content: center;

  gap: 12px;
}

.wec-dp-billing-label {
  font-size: 13px;
  color: #667085;
}

.wec-dp-billing-label.active {
  color: #171044;
  font-weight: 600;
}


/* -20% */

.wec-dp-billing-label strong {
  color: #ffd402;
  font-weight: 700;
}


/* SWITCH */

.wec-dp-switch {
  position: relative;

  width: 46px;
  height: 25px;

  margin: 0;

  cursor: pointer;
}

.wec-dp-switch input {
  position: absolute;
  opacity: 0;
}

.wec-dp-slider {
  position: absolute;

  top: 0;
  left: 0;
  right: 0;
  bottom: 0;

  background: #ffd402;

  border-radius: 30px;

  transition: .25s;
}

.wec-dp-slider:before {
  content: "";

  position: absolute;

  width: 19px;
  height: 19px;

  left: 3px;
  top: 3px;

  background: #ffffff;

  border-radius: 50%;

  box-shadow: 0 1px 4px rgba(36, 24, 95, 0.15);

  transition: .25s;
}

.wec-dp-switch input:checked + .wec-dp-slider:before {
  transform: translateX(21px);
}


/* =====================================================
   GRID
===================================================== */

.wec-dp-price-grid {
  display: flex;
  flex-wrap: wrap;

  margin-left: -9px;
  margin-right: -9px;
}

.wec-dp-price-item {
  width: 20%;

  padding-left: 9px;
  padding-right: 9px;

  display: flex;
}


/* =====================================================
   CARD
===================================================== */

.wec-dp-price-card {
  position: relative;

  width: 100%;
  min-height: 560px;

  padding: 30px 24px 24px;

  background: #ffffff;

  border: 1px solid #e3e5eb;
  border-radius: 16px;

  display: flex;
  flex-direction: column;

  transition:
    transform .25s ease,
    box-shadow .25s ease,
    border-color .25s ease;
}

.wec-dp-price-card:hover {
  transform: translateY(-4px);

  box-shadow:
    0 18px 45px rgba(23, 16, 68, .08);
}


/* POPULAR CARD */

.wec-dp-price-popular {
  border: 2px solid #ffd402;
}


/* =====================================================
   POPULAR BADGE
===================================================== */

.wec-dp-popular-badge {
  position: absolute;

  top: -17px;
  left: 50%;

  transform: translateX(-50%);

  padding: 8px 22px;

  background: #ffd402;
  color: #24185f;

  border-radius: 30px;

  font-size: 12px;
  font-weight: 700;

  white-space: nowrap;
}


/* =====================================================
   CARD CONTENT
===================================================== */

.wec-dp-price-content {
  flex: 1;
}

.wec-dp-price-card h3 {
  margin: 0 0 18px;

  font-size: 18px;
  font-weight: 800;

  color: #171044;
}

.wec-dp-price-wrap {
  min-height: 46px;
}

.wec-dp-monthly,
.wec-dp-annual {
  display: flex;
  align-items: baseline;

  gap: 7px;

  white-space: nowrap;
}

.wec-dp-price {
  font-size: 30px;
  line-height: 1;

  font-weight: 600;

  color: #171044;
}

.wec-dp-free {
  font-size: 31px;
}

.wec-dp-period {
  font-size: 13px;
  color: #8a94a7;
}

.wec-dp-description {
  min-height: 65px;

  margin: 8px 0 0;

  font-size: 13px;
  line-height: 1.55;

  color: #667085;
}


/* =====================================================
   DIVIDER
===================================================== */

.wec-dp-divider {
  height: 1px;

  margin: 22px 0;

  background: #eaecf0;
}


/* =====================================================
   FEATURES
===================================================== */

.wec-dp-features {
  padding: 0;
  margin: 0;

  list-style: none;
}

.wec-dp-features li {
  display: flex;
  align-items: flex-start;

  gap: 9px;

  margin-bottom: 13px;

  font-size: 13px;
  line-height: 1.3;

  color: #292250;
}

.wec-dp-features li:last-child {
  margin-bottom: 0;
}

.wec-dp-check {
  flex: 0 0 auto;

  color: #16b364;

  font-weight: 700;
}


/* =====================================================
   BUTTONS
===================================================== */

.wec-dp-actions {
  margin-top: 26px;
}

.wec-dp-btn {
  width: 100%;

  min-height: 44px;

  padding: 11px 14px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 9px;

  text-align: center;
  text-decoration: none !important;

  font-size: 13px;
  font-weight: 600;

  transition:
    background .2s ease,
    border-color .2s ease,
    color .2s ease,
    transform .2s ease;
}

.wec-dp-actions .wec-dp-btn + .wec-dp-btn {
  margin-top: 10px;
}


/* PRIMARY = JAUNE */

.wec-dp-btn-primary {
  background: #ffd402;

  border: 1px solid #ffd402;

  color: #24185f !important;
}

.wec-dp-btn-primary:hover,
.wec-dp-btn-primary:focus {
  background: #e8c100;

  border-color: #e8c100;

  color: #24185f !important;
}


/* SECONDARY */

.wec-dp-btn-secondary {
  background: transparent;

  border: 1px solid #d5d9e2;

  color: #171044 !important;
}

.wec-dp-btn-secondary:hover,
.wec-dp-btn-secondary:focus {
  background: #fffbea;

  border-color: #ffd402;

  color: #24185f !important;
}


/* =====================================================
   PREMIUM
===================================================== */

.wec-dp-premium {
  margin-top: 50px;

  padding: 30px 34px;

  border-radius: 18px;

  background: #22185c;

  color: #ffffff;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 35px;
}

.wec-dp-premium-text {
  max-width: 780px;
}

.wec-dp-premium-label {
  display: block;

  margin-bottom: 7px;

  color: #ffd402;

  font-size: 12px;
  font-weight: 600;

  text-transform: uppercase;
}

.wec-dp-premium h3 {
  margin: 0 0 7px;

  color: #ffffff;

  font-size: 23px;
}

.wec-dp-premium p {
  margin: 0;

  color: #cbd1dc;

  font-size: 14px;
  line-height: 1.5;
}

.wec-dp-premium-action {
  min-width: 210px;

  text-align: center;
}

.wec-dp-premium-action strong {
  display: block;

  margin-bottom: 12px;

  color: #ffffff;

  font-size: 20px;
}


/* Premium button */

.wec-dp-premium .wec-dp-btn-primary {
  background: #ffd402;

  border-color: #ffd402;

  color: #24185f !important;
}

.wec-dp-premium .wec-dp-btn-primary:hover {
  background: #e8c100;

  border-color: #e8c100;

  color: #24185f !important;
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1399px) {

  .wec-dp-price-item {
    width: 33.333%;
    margin-bottom: 18px;
  }

}


@media (max-width: 991px) {

  .wec-dp-price-section {
    padding: 75px 0;
  }

  .wec-dp-price-item {
    width: 50%;
  }

  .wec-dp-price-card {
    min-height: auto;
  }

  .wec-dp-premium {
    display: block;
  }

  .wec-dp-premium-action {
    margin-top: 25px;
    text-align: left;
  }

}


@media (max-width: 767px) {

  .wec-dp-price-section {
    padding: 60px 0;
  }

  .wec-dp-price-section > .wec-dp-price-container {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  .wec-dp-price-header h2 {
    font-size: 31px;
  }

  .wec-dp-price-item {
    width: 100%;
    margin-bottom: 22px;
  }

  .wec-dp-price-card {
    padding: 28px 24px 24px;
  }

  .wec-dp-description {
    min-height: auto;
  }

  .wec-dp-premium {
    padding: 26px 24px;
  }

}