@font-face {
	font-family: 'Onest-Regular';
	src: url('/local/templates/mf/assets/fonts/Onest-Regular.ttf');
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: 'Onest-Medium';
	src: url('/local/templates/mf/assets/fonts/Onest-Medium.ttf');
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: 'Onest-Bold';
	src: url('/local/templates/mf/assets/fonts/Onest-Bold.ttf');
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: 'Onest-SemiBold';
	src: url('/local/templates/mf/assets/fonts/Onest-SemiBold.ttf');
	font-weight: normal;
	font-style: normal;
}
.abonement-filter {
    font-family: 'Onest-Medium';
    font-size: 20px;
    font-weight: 500;
    line-height: 20px;
    padding: 30px 0 10px 0;
}
.af-line {
    display: flex;
    flex-direction: row;
    margin-bottom: 30px;
}
.af-subtitile {
    width: 30%;
    font-style: normal;
    font-family: 'Onest-SemiBold';
    font-size: 25px;
    line-height: 30px;
    color: #333231;
}
.af-variants {
    display: grid;
    flex-direction: row;
    width: 70%;
    grid-auto-rows: max-content;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.af-variants4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.af-variant {
    text-align: center;
    position: relative;
    display: none;
}
.af-button {
    color: #7C7C7C;
    background: #EFEFEF;
    border-radius: 15px;
    border: 1px solid #EFEFEF;
    height: 60px;
    line-height: 60px;
    padding: 0 2px;
    display: inline-block;
    text-decoration: none;
    outline: none;
    cursor: pointer;
    width: 100%;
}
.af-button.af-2rows {
    line-height: 18px;
    padding-top: 12px;
}
.af-button.active {
    color: #fff;
    background-color: #ff7100;
    border-color: #ff7100;
}
.af-button.accent {
    border-color: forestgreen;
}
#abonement-tariff-404 {
    margin: 30px 0;
    text-align: center;
    line-height: 25px;
    display: none;
}
span.accent {
    border: 1px solid forestgreen;
    border-radius: 5px;
    padding: 5px;
}
.af-variant .af-question {
    content: url("./images/question.svg");
    text-align: center;
    cursor: pointer;
}
.af-hint {
    color: #7C7C7C;
    font-size: 10px;
    font-weight: 400;
    position: absolute;
    background: #FFFFFF;
    box-shadow: 0px 4px 10px rgba(125, 125, 125, 0.2);
    border-radius: 7px;
    padding: 5px;
    display: none;
    width: 80%;
    margin: 0 10%;
    z-index: 10;
}
.af-hint::before {
    content: ''; 
    position: absolute; /* Абсолютное позиционирование */
    left: 45%; top: -20px; /* Положение треугольника */
    border: 10px solid transparent; /* Прозрачные границы */
    border-bottom: 10px solid #FFFFFF; /* Добавляем треугольник */
}
.af-discount {
    position: absolute;
    background: #333231;
    border-radius: 15px;
    color: #FFF;
    padding: 2px 6px;
    font-size: 18px;
    top: -5px;
    right: -14px;
}
.abonement-tariffs {
    display: grid;
    grid-auto-rows: max-content;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}
.abonement-tariff {
    font-family: 'Onest-Regular';
    font-weight: 400;
    font-size: 16px;
    background: #FFFFFF;
    border: 3px solid #FF7100;
    border-radius: 30px;
    padding: 14px;
    text-align: center;
    position: relative;
    display: none;
}
.at-subtitile {
    font-family: 'Onest-SemiBold';
    font-size: 28px;
    color: #333231;
    margin-bottom: 30px;
}
.at-price-block {
    display: inline-flex;
    gap: 10px;
}
.at-price {
    font-family: 'Onest-Bold';
    font-size: 46px;
    line-height: 40px;
    color: #FF7100;
    margin-bottom: 6px;
    margin-top: -6px;
}
.at-end {
    text-align: left;
}
.at-byn {
    font-family: 'Onest-Bold';
    font-size: 23px;
    color: #FF7100;
}
.at-month, .at-one {
    font-family: 'Onest-Medium';
    font-weight: 500;
    font-size: 15px;
    color: #5892FF;
}
.at-one {
    width: 75px;
}
.at-oldprice {
    font-family: 'Onest-Regular';
    font-weight: 400;
    font-size: 28px;
    color: #8F8F8F;
    position: relative;
}
.at-oldprice:before {
	content: "";
	border-bottom: 1px solid #8F8F8F;
	position: absolute;
	width: 50%;
	height: 50%;
    left: 25%;
}
.at-oldprice span {
    font-size: 18px;
}
.at-time {
    font-family: 'Onest-Medium';
    font-weight: 500;
    font-size: 15px;
    color: #5892FF;
}
.at-action {
    margin-top: 20px;
    margin-bottom: 30px;
    padding: 20px 0;
    position: relative;
}
.at-action:before {
    content: "";
    border-top: 2px solid #DDDDDD;
    position: absolute;
    width: 70%;
    left: 15%;
    top: 0px;
}
.at-action::after {
    content: "";
    border-top: 2px solid #DDDDDD;
    position: absolute;
    width: 70%;
    left: 15%;
    bottom: 0px;
}
.at-description {
    font-family: 'Onest-Medium';
    font-size: 15px;
    color: #8F8F8F;
    margin-bottom: 80px;
}
.at-buttons {
    display: flex;
    flex-direction: row;
    gap: 10px;
    position: absolute;
    bottom: 16px;
    width: calc(100% - 32px);
}
.at-button {
    border-radius: 15px;
    background-color: #FF7100;
    color: #FFF;
    font-family: 'Onest-Medium';
    font-weight: 500;
    font-size: 14px;
    padding: 7px;
    height: 53px;
    line-height: 19px;
    width: 50%;
    text-decoration: none;
}
.at-button:hover {
    opacity: .9;
}
.at-button.black {
    line-height: 19px;
    background-color: #333231;
}
.at-button.one-str {
    line-height: 38px;
}
.at-description ul {
    list-style-type: none; /* Убираем стандартный маркер */
    list-style-image: url("./images/li.svg"); /* Вставляем SVG */
    margin-bottom: 20px;
    text-align: left;
}
.at-description ul li {
    margin-bottom: 10px;
}
.at-description ul li.diff {
    color: #5892FF;
}
@media (min-width: 1210px) {
    .abonement-filter {
        padding-left: 103px;
        padding-right: 103px;
    }
    .af-variants4 {
        gap: 30px;
    }
    .abonement-tariffs {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
@media (max-width: 910px) {
    .af-line {
        flex-direction: column;
        gap: 10px;
    }
    .af-subtitile {
        width: 100%;
    }
    .af-variants {
        width: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .af-variants3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (max-width: 767px) {
    .abonement-tariffs {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    .abonement-filter {
        font-size: 17px;
    }
    .af-subtitile {
        font-size: 23px;
    }
}
@media (max-width: 380px) {
    .af-button {
        font-size: 16px;
    }
}
.af-variant.vis {
    display: block;
}
.at-prices {
    margin-bottom: 80px;
    margin-top: -60px;
}
.at-prices-title {
    font-family: 'Onest-SemiBold';
    font-size: 16px;
    color: #333231;
}
.at-prices-item {
    margin: 5px 0px;
}
.at-prices-item-hidden {
    display: none;
}