/* Билети: форма за покупка и блок в поръчката. Стил — How to Speak. */
.htp-tf {
	--htp-teal: #008990;
	--htp-teal-dark: #004d55;
	--htp-ink: #2e384d;
	--htp-muted: #515b70;
	--htp-line: #e5e8f0;
	--htp-soft: #f3f9f8;
	width: 100%;
	font-family: var(--raleway, 'Raleway'), sans-serif;
	color: var(--htp-ink);
}

.htp-tf-closed {
	margin: 0;
	padding: 20px 24px;
	border-radius: 12px;
	background: var(--htp-soft);
	font-weight: 600;
	color: var(--htp-teal-dark);
}

.htp-tf-form {
	padding: 28px;
	border-radius: 16px;
	background: #fdfdfd;
	box-shadow: none;
	border: 1px solid #cce8e6;
}

.htp-tf-types {
	display: flex;
	flex-direction: column;
}

.htp-tf-type {
	display: grid;
	grid-template-columns: 1fr auto auto;
	gap: 8px 20px;
	align-items: center;
	padding: 18px 0;
	border-bottom: 1px solid var(--htp-line);
}

.htp-tf-type:first-child {
	padding-top: 0;
}

.htp-tf-type.is-soldout {
	opacity: .55;
}

.htp-tf-info {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}

.htp-tf-name {
	font-weight: 700;
	font-size: 18px;
	color: var(--htp-teal-dark);
}

.htp-tf-desc,
.htp-tf-rule {
	font-size: 14px;
	color: var(--htp-muted);
}

.htp-tf-early {
	align-self: flex-start;
	margin-top: 4px;
	padding: 3px 10px;
	border-radius: 99px;
	background: #e2f5f3;
	color: var(--htp-teal);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .02em;
}

.htp-tf-price {
	text-align: right;
	white-space: nowrap;
}

.htp-tf-price del {
	display: block;
	font-size: 14px;
	color: var(--htp-muted);
}

.htp-tf-price strong {
	font-size: 20px;
	color: var(--htp-ink);
}

.htp-tf-qty select {
	min-width: 76px;
	padding: 10px 34px 10px 14px;
	border: 1px solid #d1d7e5;
	border-radius: 8px;
	background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23004d55' stroke-width='2' fill='none'/%3E%3C/svg%3E") no-repeat right 12px center;
	appearance: none;
	font: 600 16px var(--raleway, 'Raleway'), sans-serif;
	color: var(--htp-ink);
	cursor: pointer;
}

.htp-tf-soldout {
	font-weight: 700;
	font-size: 14px;
	color: #d64545;
}

.htp-tf-people {
	grid-column: 1 / -1;
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 6px 0 2px;
}

.htp-tf-person {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 18px;
	border-radius: 12px;
	background: #f3f9f8;
}

.htp-tf-person-n {
	font-weight: 700;
	font-size: 14px;
	color: var(--htp-teal-dark);
}

.htp-tf-person-fields {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px 16px;
}

.htp-tf-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
}

.htp-tf-field > span {
	font-weight: 500;
	font-size: 14px;
	line-height: 1.28;
	color: var(--htp-ink);
}

.htp-tf-field em {
	font-style: normal;
	color: #00b0b5;
}

.htp-tf-person input {
	width: 100%;
	padding: 14px;
	border: 1px solid #d1d7e5;
	border-radius: 8px;
	background: #fdfdfd;
	font: 500 14px/1.28 var(--raleway, 'Raleway'), sans-serif;
	color: var(--htp-ink);
}

.htp-tf-person input:focus,
.htp-tf-qty select:focus {
	outline: 2px solid var(--htp-teal);
	outline-offset: 1px;
}

.htp-tf-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-top: 22px;
}

.htp-tf-total span {
	display: block;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--htp-muted);
}

.htp-tf-total strong {
	font-size: 26px;
	color: var(--htp-teal-dark);
}

.htp-tf-submit {
	padding: 14px 36px;
	border: 0;
	border-radius: 8px;
	background: var(--htp-teal);
	color: #fdfdfd;
	font: 700 18px/1.5 var(--raleway, 'Raleway'), sans-serif;
	cursor: pointer;
	transition: background-color .2s ease, opacity .2s ease;
}

.htp-tf-submit:hover {
	background: var(--htp-teal-dark);
}

.htp-tf-submit:disabled {
	opacity: .45;
	cursor: not-allowed;
}

.htp-tf-submit.is-loading {
	opacity: .7;
	cursor: progress;
}

.htp-tf-meta {
	margin: 16px 0 0;
	font-size: 14px;
	line-height: 1.5;
	color: var(--htp-muted);
}

.htp-tf .woocommerce-error,
.htp-tf .woocommerce-message {
	margin: 0 0 16px;
	padding: 14px 18px;
	border-radius: 10px;
	list-style: none;
	background: #fdecec;
	color: #9b2c2c;
	font-weight: 600;
}

@media (max-width: 767px) {
	.htp-tf-form {
		padding: 20px 16px;
	}

	.htp-tf-type {
		grid-template-columns: 1fr auto;
	}

	.htp-tf-price {
		grid-row: 2;
		text-align: left;
	}

	.htp-tf-qty {
		grid-row: 1 / span 2;
		grid-column: 2;
	}

	.htp-tf-person-fields {
		grid-template-columns: minmax(0, 1fr);
	}

	.htp-tf-foot {
		flex-direction: column;
		align-items: stretch;
	}

	.htp-tf-submit {
		width: 100%;
	}
}

/* Билетите в поръчката (благодарим / моят профил). */
.htp-tickets-note {
	padding: 16px 20px;
	border-radius: 12px;
	background: #f3f9f8;
	color: #004d55;
	font-weight: 600;
}

.htp-order-tickets {
	margin: 32px 0;
}

.htp-order-tickets h2 {
	margin-bottom: 14px;
}

.htp-order-tickets ul {
	margin: 0 0 16px;
	padding: 0;
	list-style: none;
}

.htp-order-tickets li {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 16px;
	align-items: center;
	justify-content: space-between;
	padding: 12px 0;
	border-bottom: 1px solid #e5e8f0;
}

.htp-order-tickets code {
	font-weight: 700;
	color: #004d55;
	background: none;
}

.htp-order-tickets .htp-status {
	font-size: 13px;
	font-weight: 700;
	color: #515b70;
}

.htp-order-tickets .button {
	border-radius: 8px;
}

/* Стъпките на поръчката и на страницата на събитието (стъпка 1). */
.htp-tf .htp-steps { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0 0 20px; padding: 0; list-style: none; }
.htp-tf .htp-steps li { display: flex; align-items: center; gap: 10px; margin: 0; font-weight: 600; font-size: 15px; color: var(--htp-muted); }
.htp-tf .htp-steps li span { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; border: 2px solid #cfd5e0; font-size: 13px; font-weight: 700; color: var(--htp-muted); background: #fdfdfd; }
.htp-tf .htp-steps li.is-current { color: var(--htp-teal-dark); }
.htp-tf .htp-steps li.is-current span { border-color: var(--htp-teal); background: var(--htp-teal); color: #fdfdfd; }
@media (max-width: 767px) {
	.htp-tf .htp-steps { gap: 8px 14px; }
	.htp-tf .htp-steps li { font-size: 13px; gap: 6px; }
	.htp-tf .htp-steps li span { width: 24px; height: 24px; font-size: 12px; }
}
