/*
 * plans-7 to plans-14 (template/plans/, category «پلن ها»). base.css comes
 * first. The cards are the theme's plan card: a white edge, a pale face and
 * a band for the price; the suggested plan has a blue edge and band. The
 * period switch is the theme's (.month-select, site.js), which shows the
 * .m-switch of the period chosen.
 */

@media (max-width: 479.98px) {
	:is([lang^="en"], [lang^="ru"]) .hd-pl .month-select button {
		padding-inline: .65rem;
	}
}

.hd-pl .m-switch:not(.active) {
	display: none;
}

.hd-pl .hd-lead {
	margin-top: -1.5rem;
}

/* A price: its name, the amount and the unit (hidata_ui_plan_price()). */
.hd-pp {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: .15rem;
}

.hd-pp small {
	font-size: .93rem;
	font-weight: 700;
	opacity: .9;
}

.hd-pp-n {
	display: inline-flex;
	align-items: baseline;
	gap: .3rem;
	white-space: nowrap;
}

.hd-pp-n b {
	font-size: 1.7rem;
	font-weight: 800;
	color: var(--hd-navy);
}

.hd-pp-n .hd-unit {
	font-size: 1rem;
	font-weight: 700;
	color: inherit;
}

/* The order button of a plan; the theme greys it when the plan is sold out
   (.button-disabled, main.css). */
.button.hd-pl-btn {
	background: #C6DAE9;
	color: var(--hd-navy);
}

.is-hot .button.hd-pl-btn {
	background: var(--hd-blue);
	color: #fff;
	box-shadow: 0 1rem 1.7rem -1rem rgba(2, 71, 174, .7);
}

.button.hd-pl-btn.is-line {
	height: 2.6rem;
	padding: 0 1.6rem;
	background: #fff;
	color: #1C5B8A;
	box-shadow: inset 0 0 0 1px #C6DAE9;
}

.is-hot .button.hd-pl-btn.is-line {
	background: var(--hd-blue);
	color: #fff;
	box-shadow: none;
}

/* plans-7, plans-10: cards. */
.hd-pl-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 2.6rem 1.7rem;
	padding-top: 1.15rem;
}

.hd-pl-card {
	position: relative;
	display: flex;
	padding: 1px;
	border-radius: 2.3rem;
	background: #fff;
	box-shadow: 0 1.6rem 2rem rgba(19, 53, 80, .06);
}

.hd-pl-card.is-hot {
	background: linear-gradient(to bottom, var(--hd-blue), #fff 25%);
	box-shadow: 0 1.85rem 2.6rem -.43rem rgba(2, 71, 174, .14);
}

.hd-pl-badge {
	position: absolute;
	top: -1.15rem;
	right: 50%;
	z-index: 2;
	transform: translateX(50%);
}

.hd-pl-in {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	padding-bottom: 1.7rem;
	border-radius: calc(2.3rem - 1px);
	background: #F7FBFF;
}

.hd-pl-name {
	padding: 2rem .85rem .55rem;
	text-align: center;
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--hd-navy);
	direction: ltr;
}

.hd-pl-chip {
	display: flex;
	justify-content: center;
	padding-bottom: 1.3rem;
}

.hd-pl-chip .hd-chip {
	color: var(--hd-text);
}

.hd-pl-about {
	margin-top: -.2rem;
	padding: 0 1rem 1.15rem;
	text-align: center;
	font-size: .93rem;
	font-weight: 600;
	color: var(--hd-text);
}

.hd-pl-band {
	padding: 1rem 1.15rem;
	text-align: center;
	color: #1C5B8A;
	background: #F7FBFF;
	box-shadow: inset 5.4rem 5.6rem 10.7rem -8.9rem #BBD8ED, 0 1px 0 #fff;
}

.is-hot .hd-pl-band {
	color: #fff;
	background: linear-gradient(to right, var(--hd-blue), #1458BE);
	box-shadow: none;
}

.is-hot .hd-pl-band .hd-pp-n b {
	color: #fff;
}

/* The band of plans-10: the name of the cost beside the amount. */
.hd-pl-band.is-row .hd-pp {
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	align-items: baseline;
	gap: .2rem .7rem;
}

.hd-pl-specs {
	flex: 1;
	padding: .4rem 1.7rem 0;
}

.hd-pl-specs li {
	display: flex;
	align-items: center;
	gap: .85rem;
	padding: .93rem 0;
	border-bottom: 1px dashed var(--hd-line);
}

.hd-pl-specs li:last-child {
	border-bottom: 0;
}

.hd-pl-specs .hd-ic.is-sq {
	--s: 2.45rem;
	border-radius: 50%;
	box-shadow: none;
}

.hd-pl-specs small,
.hd-pl-specs b {
	display: block;
}

.hd-pl-specs small {
	font-size: .86rem;
	font-weight: 600;
	color: var(--hd-text);
}

.hd-pl-specs b {
	font-size: 1rem;
	line-height: 1.6;
	font-weight: 800;
}

.hd-pl-in > .button {
	width: calc(100% - 3.4rem);
	max-width: 14.3rem;
	margin: 1.3rem auto 0;
}

/* plans-10: the main spec and the meter of its place among the plans. */
.hd-pl-cap {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: .7rem;
	margin: 1.6rem 1.6rem .85rem;
	font-size: .93rem;
	font-weight: 600;
	color: var(--hd-text);
}

.hd-pl-cap b {
	font-size: 1.15rem;
	font-weight: 800;
	color: var(--hd-navy);
}

/* The place of a plan among the plans of the component: --v of --n segments
   filled from the start. One element: the segments are a mask, the fill a
   background as wide as the filled ones. */
.hd-meter {
	--on: #6E97B7;
	display: block;
	height: .43rem;
	margin: 0 1.6rem;
	background: linear-gradient(var(--on), var(--on)) right / calc(var(--v) / var(--n) * 100%) 100% no-repeat, #DEE7EE;
	-webkit-mask: repeating-linear-gradient(to left, #000 0 calc(100% / var(--n) - .3rem), transparent 0 calc(100% / var(--n)));
	mask: repeating-linear-gradient(to left, #000 0 calc(100% / var(--n) - .3rem), transparent 0 calc(100% / var(--n)));
}

[dir=ltr] .hd-meter {
	background-position: left;
	-webkit-mask-image: repeating-linear-gradient(to right, #000 0 calc(100% / var(--n) - .3rem), transparent 0 calc(100% / var(--n)));
	mask-image: repeating-linear-gradient(to right, #000 0 calc(100% / var(--n) - .3rem), transparent 0 calc(100% / var(--n)));
}

.is-hot .hd-meter,
.hd-pick-cap .hd-meter {
	--on: var(--hd-blue);
}

.hd-pl-strip {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .85rem 1.7rem;
	margin-bottom: 2.6rem;
	padding: 1.15rem 1.7rem;
	border-radius: 2rem;
}

.hd-pl-strip > b {
	font-size: 1rem;
	font-weight: 800;
}

.hd-pl-strip .hd-checks {
	display: flex;
	flex-wrap: wrap;
	gap: .55rem 1.6rem;
	font-size: .93rem;
	font-weight: 600;
	color: #1C5B8A;
}

.hd-pl-strip .hd-checks li::before {
	top: .15rem;
}

/* plans-8, plans-11: tables, which scroll in their own box when narrow. */
.hd-pl-scroll {
	overflow-x: auto;
	border-radius: 2.3rem;
	padding: 0;
}

.hd-pl-scroll:focus-visible {
	outline-offset: -2px;
}

.hd-pl-table,
.hd-pl-rate {
	width: 100%;
	min-width: 52rem;
	border-collapse: collapse;
}

.hd-pl-table th,
.hd-pl-table td {
	padding: 1.15rem .85rem;
	text-align: center;
	vertical-align: middle;
	border-bottom: 1px solid #E6EFF7;
	font-weight: 500;
}

.hd-pl-table thead th {
	position: relative;
	padding: 2rem .85rem 1.3rem;
}

.hd-pl-table thead .hd-badge {
	position: absolute;
	top: .6rem;
	right: 50%;
	transform: translateX(50%);
	font-size: .72rem;
}

.hd-pl-table .hd-pl-name {
	display: block;
	padding: .4rem 0 .2rem;
	font-size: 1.2rem;
}

.hd-pl-table thead small {
	justify-content: center;
	font-size: .82rem;
	font-weight: 600;
	color: var(--hd-text);
}

.hd-pl-table tbody th {
	text-align: start;
	white-space: nowrap;
	font-size: 1rem;
	font-weight: 700;
	color: var(--hd-ink);
}

.hd-pl-table tbody th > * {
	vertical-align: middle;
}

.hd-pl-table tbody th .hd-ic {
	--s: 2.3rem;
	margin-inline-end: .7rem;
}

.hd-pl-table thead th:first-child {
	text-align: start;
	font-size: 1.07rem;
	font-weight: 800;
}

.hd-pl-table td b,
.hd-pl-table td small {
	display: block;
}

.hd-pl-table td b {
	font-size: 1rem;
	font-weight: 800;
}

.hd-pl-table td small {
	margin-top: .15rem;
	font-size: .82rem;
	font-weight: 600;
	color: var(--hd-text);
}

/* The column of the suggested plan, tinted, with a blue edge on top. */
.hd-pl-table .is-hot {
	background: rgba(2, 71, 174, .045);
}

.hd-pl-table thead .is-hot {
	box-shadow: inset 0 3px 0 var(--hd-blue);
}

.hd-pl-table-price .hd-pp-n b {
	font-size: 1.3rem;
}

.hd-pl-table-price .hd-unit {
	font-size: .82rem;
}

.hd-pl-table-price .hd-pp {
	gap: 0;
}

.hd-pl-table-price .hd-pp-n {
	flex-direction: column;
	align-items: center;
	gap: 0;
}

.is-hot .hd-pp-n b {
	color: var(--hd-blue);
}

.hd-pl-table-buy td {
	border-bottom: 0;
	padding-block: 1.3rem 1.6rem;
}

.hd-pl-table-buy .button {
	width: 100%;
	max-width: 10rem;
}

/* plans-9: the plans as rows. */
.hd-pl-list {
	display: flex;
	flex-direction: column;
	gap: 1.15rem;
}

.hd-pl-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.3rem 1.7rem;
	padding: 1.6rem 2rem;
	border-radius: 2.15rem;
}

.hd-pl-row.is-hot {
	box-shadow: 0 0 0 1px var(--hd-blue), 0 1.85rem 2.6rem -1.45rem rgba(2, 71, 174, .35);
}

/* The name, its badge and its label stand centred in their column at every
   width (owner, 2026-11-12); before, they stood at the start on wide screens. */
.hd-pl-row-name {
	flex: 0 0 11rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: .55rem;
}

.hd-pl-row-name .hd-pl-name {
	padding: 0;
	font-size: 1.35rem;
	text-align: center;
}

.hd-pl-row-name .hd-badge {
	font-size: .72rem;
}

.hd-pl-row-specs {
	flex: 1 1 30rem;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(7.5rem, 1fr));
	margin: 0;
}

.hd-pl-row-specs div {
	padding: .2rem .85rem;
	text-align: center;
	border-inline-start: 1px solid var(--hd-line);
}

.hd-pl-row-specs dt {
	font-size: .82rem;
	font-weight: 600;
	color: var(--hd-text);
}

.hd-pl-row-specs dd {
	margin: .15rem 0 0;
}

.hd-pl-row-specs b,
.hd-pl-row-specs small {
	display: block;
}

.hd-pl-row-specs b {
	font-size: .98rem;
	font-weight: 800;
}

.hd-pl-row-specs small {
	font-size: .78rem;
	font-weight: 600;
	color: var(--hd-text);
}

.hd-pl-row-buy {
	flex: 0 0 13rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: .7rem;
}

.hd-pl-row-buy .hd-pp small {
	color: var(--hd-text);
}

.hd-pl-row-buy .button {
	width: 100%;
}

/* plans-11: a table of rates beside the features every plan has. */
.hd-pl-rates-in {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 2rem;
}

.hd-pl-rates-in .hd-pl-scroll {
	flex: 999 1 40rem;
	min-width: 0;
}

.hd-pl-rate {
	min-width: 36rem;
}

.hd-pl-rate th,
.hd-pl-rate td {
	padding: .9rem 1.15rem;
	border-bottom: 1px solid #E6EFF7;
	text-align: start;
	font-size: 1rem;
	font-weight: 600;
	color: var(--hd-text);
}

.hd-pl-rate thead th {
	padding-block: 1.15rem;
	font-size: .93rem;
	font-weight: 700;
}

.hd-pl-rate tbody tr:last-child > * {
	border-bottom: 0;
}

.hd-pl-rate tbody th {
	color: var(--hd-navy);
	font-weight: 800;
}

.hd-pl-rate-name {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .55rem .85rem;
}

.hd-pl-rate .hd-ic {
	--s: 2.3rem;
}

.hd-pl-rate .hd-badge {
	font-size: .72rem;
}

.hd-pl-rate .hd-pp {
	align-items: flex-start;
}

.hd-pl-rate .hd-pp-n b {
	font-size: 1.15rem;
}

.hd-pl-rate .hd-unit {
	font-size: .82rem;
}

.hd-pl-rate td:last-child {
	text-align: end;
}

.hd-pl-rate tr.is-hot > * {
	background: rgba(2, 71, 174, .045);
}

.hd-pl-rate tr.is-hot .hd-ic {
	background: var(--hd-dark);
	color: var(--hd-yellow);
}

.hd-pl-aside {
	flex: 1 1 18rem;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 1.15rem;
	padding: 2rem 1.85rem;
}

.hd-pl-aside-head {
	display: flex;
	align-items: center;
	gap: .85rem;
	font-size: 1.3rem;
	font-weight: 800;
}

.hd-pl-aside-head .hd-ic {
	--s: 2.85rem;
}

.hd-pl-aside-note {
	margin-top: auto;
	font-size: .93rem;
	line-height: 2;
	font-weight: 500;
	color: #C6DAE9;
}

/* plans-12: a slider over the plans, on a navy box. */
.hd-slide {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 2.3rem 3rem;
	padding: 2.6rem 3rem;
	border-radius: 2.6rem;
}

.hd-slide-main {
	flex: 999 1 34rem;
	min-width: 0;
}

.hd-slide-top {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem 2rem;
}

.hd-slide-head b,
.hd-slide-head small {
	display: block;
}

.hd-slide-head b {
	font-size: 1.45rem;
	font-weight: 800;
}

.hd-slide-head small {
	margin-top: .3rem;
	font-size: .98rem;
	font-weight: 500;
	color: #C6DAE9;
}

.hd-slide-now p {
	display: flex;
	align-items: baseline;
	gap: .55rem;
	animation: hd-soft .35s ease;
}

.hd-slide-now b {
	font-size: 3rem;
	line-height: 1.1;
	font-weight: 800;
}

.hd-slide-now small {
	font-size: 1.07rem;
	font-weight: 700;
	color: #C6DAE9;
}

.hd-slide-now .hd-chip {
	align-self: center;
	margin-inline-start: .55rem;
	background: rgba(255, 255, 255, .1);
	color: #fff;
}

.hd-slide-rail {
	margin-top: 2rem;
}

/* The range input, drawn as the line of the design: yellow up to the thumb. */
.hd-slide-range {
	--p: 0%;
	width: 100%;
	height: 1.85rem;
	margin: 0;
	background: transparent;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}

.hd-slide-range::-webkit-slider-runnable-track {
	height: .43rem;
	border-radius: 999px;
	background: linear-gradient(to left, var(--hd-yellow) var(--p), rgba(255, 255, 255, .18) var(--p));
}

.hd-slide-range::-moz-range-track {
	height: .43rem;
	border-radius: 999px;
	background: linear-gradient(to left, var(--hd-yellow) var(--p), rgba(255, 255, 255, .18) var(--p));
}

[dir=ltr] .hd-slide-range::-webkit-slider-runnable-track {
	background: linear-gradient(to right, var(--hd-yellow) var(--p), rgba(255, 255, 255, .18) var(--p));
}

[dir=ltr] .hd-slide-range::-moz-range-track {
	background: linear-gradient(to right, var(--hd-yellow) var(--p), rgba(255, 255, 255, .18) var(--p));
}

.hd-slide-range::-webkit-slider-thumb {
	width: 1.6rem;
	height: 1.6rem;
	margin-top: -.6rem;
	border: .3rem solid var(--hd-dark);
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 0 0 2px #fff, 0 .3rem .85rem rgba(0, 0, 0, .35);
	-webkit-appearance: none;
	appearance: none;
}

.hd-slide-range::-moz-range-thumb {
	width: 1rem;
	height: 1rem;
	border: .3rem solid var(--hd-dark);
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 0 0 2px #fff, 0 .3rem .85rem rgba(0, 0, 0, .35);
}

.hd-slide-range:focus-visible {
	outline: 2px solid var(--hd-yellow);
	outline-offset: 4px;
	border-radius: 999px;
}

.hd-slide-stops {
	display: flex;
	justify-content: space-between;
	margin: .4rem -.6rem 0;
}

.hd-slide-stops button {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: .4rem;
	min-width: 2.2rem;
	padding: .3rem 0;
	font-size: .86rem;
	font-weight: 700;
	color: #9EBFD7;
	cursor: pointer;
}

.hd-slide-stops button::before {
	content: "";
	width: .5rem;
	height: .5rem;
	border-radius: 50%;
	background: rgba(255, 255, 255, .3);
	transition: background .2s ease, transform .2s ease;
}

.hd-slide-stops button.is-past::before {
	background: var(--hd-yellow);
}

.hd-slide-stops button.is-on {
	color: #fff;
}

.hd-slide-stops button.is-on::before {
	background: var(--hd-yellow);
	transform: scale(1.4);
}

.hd-slide-feats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0 1.6rem;
	margin-top: 1.6rem;
}

.hd-slide-feats li {
	border-bottom: 0;
	font-size: .93rem;
	font-weight: 600;
}

.hd-slide-buy {
	flex: 1 1 18rem;
	min-width: 0;
}

.hd-slide-offer {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: .85rem;
	padding: 2.15rem 1.6rem;
	border-radius: 2rem;
	background: rgba(255, 255, 255, .06);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
	text-align: center;
	animation: hd-soft .35s ease;
}

.hd-slide-price .hd-pp small {
	color: #C6DAE9;
}

.hd-slide-price .hd-pp-n b {
	font-size: 2.6rem;
	color: #fff;
}

.hd-slide-price .hd-unit {
	color: #C6DAE9;
}

.hd-slide-note {
	font-size: .86rem;
	font-weight: 500;
	color: #9EBFD7;
}

.hd-slide-offer .button {
	width: 100%;
	color: var(--hd-dark);
}

/* plans-13: a list of the plans beside the details of the one picked. */
.hd-pick {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
	gap: 2rem;
	align-items: start;
}

.hd-pick-list {
	display: flex;
	flex-direction: column;
	gap: .7rem;
}

.hd-pick-item {
	width: 100%;
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1rem 1.3rem;
	border-radius: 1.6rem;
	background: #FBFDFF;
	box-shadow: inset 0 0 0 1px #fff, 0 .85rem 1.7rem -1.3rem rgba(19, 53, 80, .3);
	text-align: start;
	cursor: pointer;
	transition: box-shadow .25s ease, background .25s ease;
}

.hd-pick-item:hover {
	background: #fff;
}

.hd-pick-item.is-on {
	background: #fff;
	box-shadow: inset 0 0 0 2px var(--hd-blue), 0 1rem 1.85rem -1.3rem rgba(2, 71, 174, .45);
}

.hd-pick-dot {
	width: 1.3rem;
	height: 1.3rem;
	flex: none;
	border-radius: 50%;
	box-shadow: inset 0 0 0 2px #C6DAE9;
	transition: box-shadow .2s ease;
}

.hd-pick-item.is-on .hd-pick-dot {
	box-shadow: inset 0 0 0 2px var(--hd-blue), inset 0 0 0 5px #fff, inset 0 0 0 10px var(--hd-blue);
}

.hd-pick-name {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .2rem .6rem;
}

.hd-pick-name b {
	font-size: 1.07rem;
	font-weight: 800;
	color: var(--hd-navy);
	direction: ltr;
}

.hd-pick-name .hd-badge {
	font-size: .7rem;
}

.hd-pick-name small {
	flex-basis: 100%;
	font-size: .86rem;
	font-weight: 600;
	color: var(--hd-text);
}

.hd-pick-price .hd-pp-n b {
	font-size: 1.07rem;
}

.hd-pick-price .hd-unit {
	font-size: .78rem;
	color: var(--hd-text);
}

.hd-pick-card {
	position: sticky;
	top: 6rem;
	display: flex;
	flex-direction: column;
	gap: 1.6rem;
	padding: 2rem;
	border-radius: 2.3rem;
}

.hd-pick-head {
	animation: hd-soft .35s ease;
}

.hd-pick-title {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.hd-pick-title .hd-ic {
	--s: 3.4rem;
}

.hd-pick-title b,
.hd-pick-title small {
	display: block;
}

.hd-pick-title b {
	font-size: 1.6rem;
	font-weight: 800;
	direction: ltr;
	text-align: start;
}

[dir=rtl] .hd-pick-title b {
	text-align: right;
}

.hd-pick-title small {
	font-size: .93rem;
	font-weight: 600;
	color: var(--hd-text);
}

.hd-pick-cap {
	margin-top: 1.3rem;
	padding: 1.15rem 1.3rem;
	border-radius: 1.6rem;
	background: #F7FBFF;
	box-shadow: inset 5.4rem 5.6rem 10.7rem -8.9rem #BBD8ED;
}

.hd-pick-cap > p:first-child {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: .7rem;
	margin-bottom: .85rem;
	font-size: .93rem;
	font-weight: 600;
	color: var(--hd-text);
}

.hd-pick-cap > p:first-child b {
	font-size: 1.3rem;
	font-weight: 800;
	color: var(--hd-navy);
}

.hd-pick-cap .hd-meter {
	margin: 0;
}

.hd-pick-about {
	margin-top: .85rem;
	font-size: .93rem;
	font-weight: 600;
	color: var(--hd-text);
}

.hd-pick-about b {
	color: var(--hd-navy);
}

.hd-pick-feats {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 1.6rem;
}

.hd-pick-feats li {
	padding-block: .6rem;
	border-bottom: 1px solid #E6EFF7;
	font-size: .98rem;
	font-weight: 600;
	color: #1C5B8A;
}

.hd-pick-feats li::before {
	top: .75rem;
}

.hd-pick-foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	animation: hd-soft .35s ease;
}

.hd-pick-total .hd-pp {
	align-items: flex-start;
}

.hd-pick-total .hd-pp small {
	color: var(--hd-text);
}

.hd-pick-total .hd-pp-n b {
	font-size: 2rem;
}

@media (max-width: 1139.98px) {
	.hd-pl-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 991.98px) {
	.hd-pl .hd-lead {
		margin-top: 0;
	}

	.hd-pl-row-name,
	.hd-pl-row-buy {
		flex-basis: 100%;
	}

	.hd-pl-row-specs div:first-child {
		border-inline-start: 0;
	}

	.hd-slide {
		padding: 2rem 1.4rem;
	}

	.hd-slide-feats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hd-pick {
		grid-template-columns: minmax(0, 1fr);
	}

	.hd-pick-card {
		position: static;
		order: -1;
		padding: 1.4rem;
	}
}

@media (max-width: 575.98px) {
	.hd-pl-grid {
		grid-template-columns: minmax(0, 1fr);
		max-width: 22rem;
		margin-inline: auto;
	}

	.hd-pl-row {
		padding: 1.4rem 1.15rem;
	}

	.hd-pl-row-specs {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: .85rem 0;
	}

	.hd-pl-row-specs div:nth-child(odd) {
		border-inline-start: 0;
	}

	.hd-slide-feats,
	.hd-pick-feats {
		grid-template-columns: minmax(0, 1fr);
	}

	.hd-slide-stops button {
		font-size: .78rem;
		min-width: 1.6rem;
	}
}

/* plans-14: cards with their space in big figures and a tower of drive trays,
   three in a row, beside a navy box of the features every plan has and the
   locations. «نمایش پلن‌های بیشتر» is under the cards, outside the row of the
   box, so the box is as tall as the cards and its drawing of two racks takes
   the height that is left. The suggested plan is the navy card with its
   figure and the lid of its tower in yellow. Under 992px the box goes under
   the cards; on phones a plan is a row of two lines. */
.hd-p14-main {
	display: grid;
	grid-template-columns: 21.4rem minmax(0, 1fr);
	column-gap: 1.43rem;
	align-items: stretch;
}

.hd-p14-main.is-solo {
	grid-template-columns: minmax(0, 1fr);
}

.hd-p14-main > .hd-more {
	grid-column: 2;
	display: flex;
	justify-content: center;
	padding-top: 1.9rem;
}

.hd-p14-main.is-solo > .hd-more {
	grid-column: 1;
}

.hd-p14-grid {
	min-width: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	align-content: start;
	gap: 1.43rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hd-p14-main.is-solo .hd-p14-grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* No lift on hover: the edge of the card turns blue. */
.hd-p14-card {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: .86rem .86rem 1.2rem;
	border-radius: 1.71rem;
	background: #fff;
	box-shadow: inset 0 0 0 1px #DCE9F5, 0 1.4rem 2.6rem -1.8rem rgba(16, 63, 99, .38);
	transition: box-shadow .3s;
}

.hd-p14-card:hover {
	box-shadow: inset 0 0 0 1.5px var(--hd-blue), 0 1.4rem 2.6rem -1.8rem rgba(16, 63, 99, .38);
}

/* The tinted top: the name of the plan, its figure and its tower. */
.hd-p14-top {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: .5rem;
	padding: .9rem 1rem .75rem;
	border-radius: 1.1rem;
	background: linear-gradient(200deg, #E6F1FC, #F4F9FE 70%);
}

.hd-p14-tx {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	min-width: 0;
}

.hd-p14-name {
	display: inline-flex;
	align-items: center;
	min-height: 1.7rem;
	margin: 0;
	padding: 0 .6rem;
	border-radius: 99px;
	background: #fff;
	box-shadow: inset 0 0 0 1px #D3E4F4;
	color: var(--hd-navy);
	font-size: .79rem;
	font-weight: 800;
	line-height: 1.4;
	letter-spacing: 0;
	word-spacing: .12em;
	white-space: nowrap;
}

.hd-p14-big {
	display: flex;
	flex-direction: column;
	margin: .75rem 0 0;
}

.hd-p14-big b {
	font-size: 3.57rem;
	font-weight: 900;
	line-height: .95;
	letter-spacing: -.03rem;
	color: var(--hd-navy);
}

.hd-p14-big span {
	margin-top: .2rem;
	font-size: 1.21rem;
	font-weight: 900;
	line-height: 1.45;
	color: var(--hd-navy);
	white-space: nowrap;
}

.hd-p14-big small {
	font-size: .86rem;
	font-weight: 700;
	color: #456583;
}

/* The tower of drive trays (hidata_ui_plan_tower()): navy outlines, the left
   face lighter than the right one, a white lid, yellow lights, on a pale
   plate. It stands on the foot of the top, so a taller plan's tower rises. */
.hd-p14-art {
	flex: none;
	display: block;
	width: 6.3rem;
}

.hd-p14-tw {
	display: block;
	width: 100%;
	height: auto;
	overflow: visible;
}

.hd-p14-tw path {
	fill: none;
	stroke: var(--hd-navy);
	stroke-width: 1.1;
	stroke-linejoin: round;
}

.hd-p14-tw .hd-p14-tw-p {
	fill: rgba(255, 255, 255, .75);
	stroke: #9FBEDD;
	stroke-width: 1;
}

.hd-p14-tw .hd-p14-tw-l {
	fill: #E6F0FA;
}

.hd-p14-tw .hd-p14-tw-r {
	fill: #C3D9EF;
}

.hd-p14-tw .hd-p14-tw-s {
	stroke-width: .9;
	stroke-opacity: .38;
	stroke-linecap: round;
}

.hd-p14-tw .hd-p14-tw-d {
	fill: var(--hd-yellow);
	stroke-width: .5;
}

.hd-p14-tw .hd-p14-tw-t {
	fill: #fff;
}

.hd-p14-tw .hd-p14-tw-i {
	stroke-width: .9;
	stroke-opacity: .3;
}

/* The price of the period chosen, in one line: its name, then the amount. */
.hd-p14-price {
	margin: .85rem .45rem;
}

.hd-p14 .hd-p14-price .hd-pp {
	flex-direction: row;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 0 .5rem;
}

.hd-p14 .hd-p14-price .hd-pp small {
	font-size: .86rem;
	font-weight: 700;
	line-height: 1.5;
	color: #456583;
	opacity: 1;
}

.hd-p14 .hd-p14-price .hd-pp-n {
	gap: .4rem;
}

.hd-p14 .hd-p14-price .hd-pp-n b {
	font-size: 1.64rem;
	font-weight: 900;
	line-height: 1.3;
	color: var(--hd-navy);
}

.hd-p14 .hd-p14-price .hd-pp-n .hd-unit {
	font-size: .86rem;
	font-weight: 700;
	color: #2F5677;
}

/* The theme's blue order button with its arrow (.hd-go). */
.button.hd-p14-btn {
	align-self: stretch;
	height: auto;
	min-height: max(3.21rem, 40px);
	margin: auto .45rem 0;
	padding: 0 1.5rem;
	gap: .55rem;
	border-radius: 99px;
	background: var(--hd-blue);
	color: #fff;
	font-size: 1rem;
	font-weight: 900;
	line-height: 1.4;
	box-shadow: 0 .9rem 1.6rem -.9rem rgba(2, 71, 174, .7);
}

.hd-p14-btn.hd-go::after {
	width: 1.14rem;
	height: 1.14rem;
}

.hd-p14-btn.button-disabled::after {
	display: none;
}

/* The suggested plan. */
.hd-p14-card.is-hot {
	background: linear-gradient(180deg, #164B74, var(--hd-navy) 55%);
	box-shadow: 0 1.6rem 2.8rem -1.6rem rgba(16, 63, 99, .7);
}

.hd-p14-card.is-hot:hover {
	box-shadow: inset 0 0 0 1.5px var(--hd-yellow), 0 1.6rem 2.8rem -1.6rem rgba(16, 63, 99, .7);
}

.is-hot .hd-p14-top {
	background: rgba(255, 255, 255, .08);
}

.is-hot .hd-p14-name {
	background: rgba(255, 255, 255, .14);
	box-shadow: none;
	color: #fff;
}

.is-hot .hd-p14-big b {
	color: var(--hd-yellow);
}

.is-hot .hd-p14-big span,
.hd-p14 .is-hot .hd-p14-price .hd-pp-n b {
	color: #fff;
}

.is-hot .hd-p14-big small,
.hd-p14 .is-hot .hd-p14-price .hd-pp small {
	color: #CBDEF1;
}

.hd-p14 .is-hot .hd-p14-price .hd-pp-n .hd-unit {
	color: #DCEBF8;
}

.is-hot .button.hd-p14-btn {
	background: var(--hd-yellow);
	color: var(--hd-navy);
	box-shadow: 0 .9rem 1.6rem -.9rem rgba(0, 0, 0, .55);
}

.is-hot .hd-p14-tw path {
	stroke: #0B3252;
}

.is-hot .hd-p14-tw .hd-p14-tw-p {
	fill: rgba(255, 255, 255, .1);
	stroke: rgba(255, 255, 255, .42);
}

.is-hot .hd-p14-tw .hd-p14-tw-l {
	fill: #F2F7FC;
}

.is-hot .hd-p14-tw .hd-p14-tw-r {
	fill: #CFE0F2;
}

.is-hot .hd-p14-tw .hd-p14-tw-t {
	fill: var(--hd-yellow);
}

.hd-p14-badge {
	position: absolute;
	top: 0;
	left: 50%;
	z-index: 2;
	transform: translate(-50%, -50%);
	min-height: 1.9rem;
	padding: 0 .85rem;
	background: var(--hd-yellow);
	color: var(--hd-navy);
	font-size: .86rem;
	font-weight: 900;
	line-height: 1.4;
	box-shadow: 0 .4rem .9rem -.4rem rgba(16, 63, 99, .45);
}

/* The box: what every plan has, and where it can be. */
.hd-p14-box {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 1.7rem 1.5rem;
	border-radius: 1.71rem;
	background: radial-gradient(120% 55% at 100% 0, #1B5584 0, var(--hd-navy) 62%);
	color: #fff;
	box-shadow: 0 1.6rem 2.8rem -1.8rem rgba(16, 63, 99, .65);
	overflow: hidden;
}

/* The racks stand on the foot of the box. */
.hd-p14-box.has-racks {
	padding-bottom: 0;
}

.hd-p14-bt {
	margin: 0;
	font-size: 1.36rem;
	font-weight: 900;
	line-height: 1.5;
	color: #fff;
}

/* The lines share what height the racks leave, up to 4.52rem each (--hd-p14-n
   lines); a line is its icon, its name and, at the far end, its value. */
.hd-p14-feats {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	max-height: calc(var(--hd-p14-n, 5) * 4.52rem);
	margin: .55rem 0 0;
	padding: 0;
	list-style: none;
}

.hd-p14-feats li {
	flex: 1 1 3.5rem;
	display: flex;
	align-items: center;
	gap: .7rem;
	min-height: 3.5rem;
	border-bottom: 1px solid rgba(255, 255, 255, .11);
}

.hd-p14-feats li:last-child {
	border-bottom: 0;
}

.hd-p14-fi {
	flex: none;
	display: grid;
	place-items: center;
	width: 2.3rem;
	height: 2.3rem;
	border-radius: .72rem;
	background: rgba(255, 255, 255, .1);
	color: var(--hd-yellow);
}

.hd-p14-fi svg {
	width: 1.3rem;
	height: 1.3rem;
}

.hd-p14-fk {
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.5;
	color: #C9DDF0;
}

.hd-p14-fv {
	margin-inline-start: auto;
	font-size: 1rem;
	font-weight: 900;
	line-height: 1.5;
	color: #fff;
	white-space: nowrap;
}

.hd-p14-fv.is-all {
	margin-inline-start: 0;
	white-space: normal;
}

.hd-p14-loc {
	margin-top: 1.3rem;
	padding-top: 1.3rem;
	border-top: 1px solid rgba(255, 255, 255, .2);
}

.hd-p14-loc:first-child {
	margin-top: 0;
	padding-top: 0;
	border-top: 0;
}

/* The locations as tiles that share the row. */
.hd-p14-places {
	display: flex;
	gap: .6rem;
	margin: .75rem 0 0;
	padding: 0;
	list-style: none;
}

.hd-p14-places li {
	flex: 1 1 0;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: .6rem;
	min-height: 3.14rem;
	padding: 0 .6rem;
	border-radius: .9rem;
	background: rgba(255, 255, 255, .09);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
	font-size: 1.07rem;
	font-weight: 900;
	line-height: 1.4;
	color: #fff;
}

.hd-p14-places img {
	width: 2rem;
	height: auto;
	border-radius: 3px;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, .35);
}

.hd-p14 .hd-p14-note {
	margin-top: .85rem;
	font-size: .93rem;
	font-weight: 600;
	line-height: 1.8;
	color: #C9DDF0;
}

.hd-p14 .hd-p14-note p {
	margin: 0;
}

.hd-p14 .hd-p14-note :is(b, strong) {
	font-weight: 900;
	color: var(--hd-yellow);
}

/* The drawing takes the height that is left, down to a floor. */
.hd-p14 .hd-p14-racks {
	flex: 1000 1 0;
	display: block;
	width: 86%;
	min-height: 9rem;
	max-height: 18.45rem;
	margin: auto auto 0;
	padding-top: 1.1rem;
	object-fit: contain;
	object-position: 50% 100%;
}

.hd-p14 .button.hd-p14-more {
	height: auto;
	min-height: max(3.21rem, 40px);
	padding: 0 1.7rem;
	gap: .6rem;
	border-radius: 99px;
	background: #fff;
	color: var(--hd-blue);
	font-size: 1rem;
	font-weight: 900;
	box-shadow: inset 0 0 0 1.5px #BBD3EC;
}

.hd-p14 .hd-p14-more svg {
	width: 1.3rem;
	height: 1.3rem;
	padding: 0;
}

@media (max-width: 1139.98px) {
	.hd-p14-main {
		grid-template-columns: 19.5rem minmax(0, 1fr);
		column-gap: 1.2rem;
	}

	.hd-p14-grid {
		gap: 1.2rem;
	}

	.hd-p14-big b {
		font-size: 3.2rem;
	}

	.hd-p14-art {
		width: 5.6rem;
	}

	.hd-p14-box {
		padding: 1.5rem 1.25rem;
	}

	.hd-p14 .hd-p14-racks {
		max-height: 17.05rem;
	}

	/* A narrower card: the price and the button take its whole inner width, so
	   an amount in millions («۱۰٫۵۶ میلیون تومان») still shares the line with
	   the longest name of a period («هزینه شش ماهه») in every card. */
	.hd-p14-price,
	.button.hd-p14-btn {
		margin-inline: 0;
	}
}

/* The box under the cards, its features and its locations side by side. */
@media (max-width: 991.98px) {
	.hd-p14-main {
		grid-template-columns: minmax(0, 1fr);
	}

	.hd-p14-main > .hd-more {
		grid-column: 1;
	}

	.hd-p14-main.is-solo .hd-p14-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.hd-p14-box,
	.hd-p14-box.has-racks {
		order: 3;
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		column-gap: 2rem;
		margin-top: 2rem;
		padding: 1.6rem;
	}

	.hd-p14-box > .hd-p14-bt,
	.hd-p14-feats {
		grid-column: 1;
	}

	.hd-p14-feats {
		display: block;
		max-height: none;
	}

	.hd-p14-loc {
		grid-column: 2;
		grid-row: 1 / span 2;
		margin-top: 0;
		padding-top: 0;
		border-top: 0;
	}

	/* Only the features, or only the locations: the whole width. */
	.hd-p14-loc:first-child {
		grid-column: 1 / -1;
	}

	.hd-p14-box:not(:has(.hd-p14-loc)) {
		display: block;
	}

	.hd-p14 .hd-p14-racks {
		display: none;
	}

	/* Three cards in the narrowest container: the amount a step smaller. */
	.hd-p14 .hd-p14-price .hd-pp-n b {
		font-size: 1.5rem;
	}

	.hd-p14 .hd-p14-price .hd-pp-n .hd-unit {
		font-size: .79rem;
	}
}

@media (max-width: 767.98px) {
	.hd-p14-grid,
	.hd-p14-main.is-solo .hd-p14-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	/* Two wide cards: the price line has its room again. */
	.hd-p14-price,
	.button.hd-p14-btn {
		margin-inline: .45rem;
	}

	.hd-p14 .hd-p14-price .hd-pp-n b {
		font-size: 1.64rem;
	}

	.hd-p14 .hd-p14-price .hd-pp-n .hd-unit {
		font-size: .86rem;
	}

	/* The last card alone in its row takes the row: its top beside its price. */
	.hd-p14-grid > .hd-p14-card:last-child:nth-child(odd) {
		grid-column: 1 / -1;
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		column-gap: 1.2rem;
		align-items: center;
	}

	.hd-p14-grid > .hd-p14-card:last-child:nth-child(odd) .hd-p14-top {
		grid-row: 1 / span 2;
	}

	.hd-p14-box,
	.hd-p14-box.has-racks {
		display: flex;
	}

	.hd-p14-loc {
		margin-top: 1.2rem;
		padding-top: 1.2rem;
		border-top: 1px solid rgba(255, 255, 255, .2);
	}

	.hd-p14-loc:first-child {
		margin-top: 0;
		padding-top: 0;
		border-top: 0;
	}
}

/* Phones: a plan is a row of two lines, as the phone cards of plans-3: the
   tower, the figure and the name, then the price beside the button. */
@media (max-width: 575.98px) {
	.hd-p14-grid,
	.hd-p14-main.is-solo .hd-p14-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: .75rem;
	}

	.hd-p14-card,
	.hd-p14-grid > .hd-p14-card:last-child:nth-child(odd) {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: center;
		gap: .55rem .8rem;
		padding: .8rem 1rem .9rem;
		border-radius: 1.3rem;
	}

	.hd-p14-card.is-hot {
		margin-top: .7rem;
	}

	.hd-p14-top,
	.is-hot .hd-p14-top,
	.hd-p14-grid > .hd-p14-card:last-child:nth-child(odd) .hd-p14-top {
		grid-column: 1 / -1;
		grid-row: auto;
		flex-direction: row-reverse;
		align-items: center;
		justify-content: flex-end;
		gap: .7rem;
		padding: 0;
		background: none;
	}

	.hd-p14-tx {
		flex: 1 1 auto;
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		gap: .5rem;
	}

	.hd-p14-name {
		order: 2;
		background: #E1EEFA;
		box-shadow: none;
	}

	.hd-p14-big {
		flex-direction: row;
		align-items: baseline;
		gap: .4rem;
		margin: 0;
	}

	.hd-p14-big b {
		font-size: 2.14rem;
		line-height: 1.1;
	}

	.hd-p14-big span {
		margin: 0;
		font-size: 1rem;
	}

	.hd-p14-big small {
		font-size: .79rem;
	}

	.hd-p14-art {
		width: 2.9rem;
	}

	.hd-p14-price {
		margin: 0;
	}

	.hd-p14 .hd-p14-price .hd-pp {
		flex-direction: column;
		flex-wrap: nowrap;
		align-items: flex-start;
	}

	.hd-p14 .hd-p14-price .hd-pp small {
		font-size: .79rem;
	}

	.hd-p14 .hd-p14-price .hd-pp-n b {
		font-size: 1.43rem;
	}

	.hd-p14 .hd-p14-price .hd-pp-n .hd-unit {
		font-size: .79rem;
	}

	.button.hd-p14-btn {
		align-self: center;
		min-height: max(3rem, 40px);
		margin: 0;
		padding: 0 1.2rem;
		font-size: .93rem;
	}

	.hd-p14-badge {
		left: 1.2rem;
		transform: translate(0, -50%);
	}

	.hd-p14-box,
	.hd-p14-box.has-racks {
		padding: 1.4rem 1.2rem;
	}

	.hd-p14-bt {
		font-size: 1.21rem;
	}

	.hd-p14-main > .hd-more {
		padding-top: 1.5rem;
	}
}
