@charset "utf-8";
/* CSS Document */
.subscriptions {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    margin: 60px auto;
    max-width: 1000px;
    text-align: center;
  }

.subscription-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
    padding: 50px 30px;
    text-align: center;
    width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: 0.3s ease;
    position: relative;
  }

.subscription-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.15);
  }

.subscription-price {
    font-size: 42px;
    font-weight: 700;
    color: #2c2c2c;
    margin-bottom: 20px;
	gap: 6px; /* небольшое расстояние между ценами */
	line-height: 1.2; /* немного сжимаем межстрочное расстояние */
  }

.subscription-price .currency {
    font-size: 24px;
    font-weight: normal;
    margin-right: 5px;
  }

.subscription-title {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
  }

.subscription-duration {
    font-size: 18px;
    color: #777;
    margin-bottom: 30px;
  }

.pay-button {
    padding: 14px 30px;
    background: linear-gradient(135deg, #009ac5, #008bb3);
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    transition: 0.3s ease;
    cursor: pointer;
    display: inline-block;
    color: #fff;
    text-decoration: none;
}

.pay-button:hover,
.pay-button:focus,
.pay-button:active,
.pay-button:visited {
    background: linear-gradient(135deg, #008bb3, #007fa3);
    color: #fff;
    text-decoration: none;
}

.badge {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #ff6b6b;
    color: white;
    font-size: 12px;
    font-weight: bold;
    padding: 6px 12px;
    border-radius: 50px;
    text-transform: uppercase;
    white-space: nowrap;
  }
/* Discounts plans */ 
.discount-left-badge {
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(90deg, #e63946, #ff5a5f);
  color: #fff;
  font-weight: 700;
  font-size: 0.9em;
  padding: 6px 18px 6px 12px;
  border-bottom-right-radius: 14px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.discount-right-badge {
  position: absolute;
  top: 0;
  right: 0;
  color: #A2A2A2;
  font-weight: 400;
  font-size: 0.9em;
  padding: 6px 18px 6px 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
	  text-align: center;
}
.discount-expire {
  position: absolute;
  bottom: 15px;
  left: 0;
  width: 100%;
  text-align: center;
  font-size: 0.8em;
  color: #e63946;
  pointer-events: none;
}	  
.old-price {
  text-decoration: line-through;
  color: #999;
  font-size: 0.7em;
  font-weight: 500;
	margin-top: 6px;
margin-bottom: 9px;
}
.new-price {
  color: #e63946;
  font-size: 1.2em;
  font-weight: 700;
}