:root {
	--otc-sky: #009ad7;
	--otc-sky-dark: #0781ad;
	--otc-blue: #27348b;
	--otc-ink: #253139;
	--otc-soft: #edf5f9;
	--otc-line: #e2e2e2;
}

.otc-event {
	max-width: 1180px;
	margin: 32px auto 72px;
	color: var(--otc-ink);
	font-family: Roboto, Arial, sans-serif;
}

.otc-event__hero {
	overflow: hidden;
	border-top: 6px solid var(--otc-sky);
	background: var(--otc-soft);
}

.otc-event__hero img {
	display: block;
	width: 100%;
	max-height: 470px;
	object-fit: cover;
}

.otc-event__body {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(380px, .65fr);
	gap: 48px;
	padding: 42px 4px;
}

.otc-event__eyebrow,
.otc-modal__header span {
	color: var(--otc-sky);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .15em;
	text-transform: uppercase;
}

.otc-event h1,
.otc-event h2,
.otc-modal h3 {
	font-family: "Arial Narrow", Oswald, sans-serif;
	line-height: 1.05;
	text-transform: uppercase;
}

.otc-event h1 {
	margin: 8px 0 22px;
	font-size: clamp(34px, 5vw, 64px);
}

.otc-event h2 {
	margin: 0;
	padding-bottom: 17px;
	border-bottom: 3px solid var(--otc-sky);
	font-size: 30px;
}

.otc-event__description {
	font-size: 17px;
	line-height: 1.7;
}

.otc-event__meta {
	display: grid;
	grid-template-columns: 1fr 1fr;
	margin: 28px 0;
	border-top: 1px solid var(--otc-line);
	border-bottom: 1px solid var(--otc-line);
}

.otc-event__meta > div {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 18px 18px 18px 0;
}

.otc-event__meta > div + div {
	padding-left: 18px;
	border-left: 1px solid var(--otc-line);
}

.otc-event__meta span,
.otc-event__meta small {
	color: #707070;
	font-size: 12px;
	text-transform: uppercase;
}

.otc-event__court img {
	width: 100%;
	height: auto;
}

.otc-event__court figcaption {
	color: #707070;
	font-size: 12px;
	text-align: center;
	text-transform: uppercase;
}

.otc-event__sales {
	align-self: start;
	padding: 30px;
	border-radius: 6px;
	background: #f6f6f6;
}

.otc-ticket-group {
	margin-top: 22px;
	overflow: hidden;
	border: 1px solid var(--otc-line);
	border-radius: 7px;
	background: #fff;
}

.otc-ticket-group--member {
	border-color: #a8dced;
	box-shadow: 0 7px 24px #009ad710;
}

.otc-ticket-group__heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 16px;
	border-bottom: 1px solid var(--otc-line);
	background: #f1f5f7;
}

.otc-ticket-group--member .otc-ticket-group__heading {
	background: #eaf7fc;
}

.otc-ticket-group__heading > div:first-child {
	display: flex;
	align-items: center;
	gap: 10px;
}

.otc-ticket-group__heading strong,
.otc-ticket-group__heading small {
	display: block;
}

.otc-ticket-group__heading strong {
	color: var(--otc-ink);
	font-size: 13px;
	text-transform: uppercase;
}

.otc-ticket-group__heading small {
	margin-top: 2px;
	color: #707b81;
	font-size: 11px;
}

.otc-ticket-group__icon {
	display: grid;
	place-items: center;
	box-sizing: border-box;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: #dfe7ea;
	color: var(--otc-ink);
	font-size: 18px;
}

.otc-ticket-group--member .otc-ticket-group__icon {
	background: var(--otc-sky);
	color: #fff;
}

.otc-ticket-group__remaining {
	padding: 5px 8px;
	border-radius: 20px;
	background: var(--otc-blue);
	color: #fff;
	font-size: 10px;
	font-weight: 800;
	text-transform: uppercase;
}

.otc-ticket-group .otc-ticket-option {
	margin: 0 16px;
}

.otc-ticket-group .otc-ticket-option:last-child {
	border-bottom: 0;
}

.otc-member-limit-message {
	margin: 0;
	padding: 18px 16px;
	color: #536169;
	font-size: 13px;
	line-height: 1.55;
}

.otc-ticket-option {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 138px;
	align-items: center;
	gap: 24px;
	padding: 25px 0;
	border-bottom: 1px solid var(--otc-line);
}

.otc-ticket-option__info strong {
	display: inline-block;
	font-size: 15px;
	line-height: 1.35;
	text-transform: uppercase;
}

.otc-ticket-option__info small {
	display: block;
	margin-top: 7px;
	color: #707070;
	line-height: 1.45;
}

.otc-ticket-option__purchase {
	display: flex;
	align-items: flex-end;
	flex-direction: column;
	gap: 12px;
}

.otc-ticket-option__price {
	color: var(--otc-sky-dark);
	font-size: 19px;
	font-weight: 800;
	white-space: nowrap;
}

.otc-quantity {
	display: flex;
	align-items: flex-end;
	flex-direction: column;
	gap: 6px;
}

.otc-quantity > span:first-child {
	color: #707070;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .09em;
	text-transform: uppercase;
}

.otc-quantity__control {
	display: grid;
	grid-template-columns: 36px 42px 36px;
	align-items: center;
	overflow: hidden;
	border: 1px solid #cbd5da;
	border-radius: 7px;
	background: #fff;
	box-shadow: 0 3px 12px #2531390d;
	transition: border-color .15s ease, box-shadow .15s ease;
}

.otc-quantity__control.has-value {
	border-color: var(--otc-sky);
	box-shadow: 0 4px 16px #009ad71c;
}

.otc-quantity__control button {
	display: grid;
	place-items: center;
	width: 36px;
	height: 38px;
	padding: 0;
	border: 0;
	background: var(--otc-soft);
	color: var(--otc-sky-dark);
	cursor: pointer;
	font-size: 21px;
	font-weight: 700;
	line-height: 1;
	transition: background .15s ease, color .15s ease;
}

.otc-quantity__control button:hover {
	background: var(--otc-sky);
	color: #fff;
}

.otc-quantity__control button:disabled {
	color: #adb7bc;
	cursor: not-allowed;
	opacity: .65;
}

.otc-quantity__control input {
	width: 42px;
	height: 38px;
	margin: 0;
	padding: 0;
	border: 0;
	background: #fff;
	color: var(--otc-ink);
	font-size: 16px;
	font-weight: 800;
	text-align: center;
	appearance: textfield;
}

.otc-quantity__control input::-webkit-inner-spin-button,
.otc-quantity__control input::-webkit-outer-spin-button {
	margin: 0;
	appearance: none;
}

.otc-badge {
	display: inline-block;
	margin-left: 8px;
	padding: 3px 7px;
	background: var(--otc-blue);
	color: #fff;
	font-size: 10px;
	font-weight: 800;
	text-transform: uppercase;
}

.otc-button {
	width: 100%;
	margin-top: 24px;
	padding: 15px;
	border: 0;
	border-radius: 5px;
	background: var(--otc-sky);
	color: #fff;
	cursor: pointer;
	font-weight: 800;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.otc-event .otc-button:focus:not(:disabled) {
	background: var(--otc-sky);
	color: #fff;
}

.otc-event .otc-button:hover:not(:disabled),
.otc-event .otc-button:focus:hover:not(:disabled) {
	background: var(--otc-sky-dark);
	color: #fff;
}

.otc-event button:focus {
	outline: none;
}

.otc-event button:focus-visible {
	outline: 3px solid color-mix(in srgb, var(--otc-sky) 45%, transparent);
	outline-offset: 3px;
}

.otc-event .otc-quantity__control button:focus {
	background: var(--otc-soft);
	color: var(--otc-sky-dark);
}

.otc-event .otc-quantity__control button:focus-visible {
	background: var(--otc-sky);
	color: #fff;
}

.otc-event .otc-modal__header button:focus {
	background: transparent;
	color: var(--otc-ink);
}

.otc-event .otc-button:disabled {
	background: #aab5ba;
	color: #fff;
	cursor: not-allowed;
	opacity: .8;
}

.otc-member-note {
	font-size: 13px;
}

.otc-modal {
	width: min(760px, calc(100% - 28px));
	max-height: 90vh;
	padding: 0;
	border: 0;
	border-top: 6px solid var(--otc-sky);
	box-shadow: 0 24px 80px #0005;
}

.otc-modal::backdrop {
	background: #16222bcc;
}

.otc-modal__header {
	display: flex;
	justify-content: space-between;
	padding: 24px 28px;
	border-bottom: 1px solid var(--otc-line);
}

.otc-modal__header h3 {
	margin: 5px 0 0;
	font-size: 28px;
}

.otc-modal__header button {
	border: 0;
	background: none;
	cursor: pointer;
	font-size: 34px;
}

.otc-modal > [data-otc-attendees],
.otc-modal > .otc-button {
	width: auto;
	margin-right: 28px;
	margin-left: 28px;
}

.otc-modal > .otc-button {
	width: calc(100% - 56px);
	margin-bottom: 28px;
}

.otc-attendee {
	padding: 22px 0;
	border: 0;
	border-bottom: 1px solid var(--otc-line);
}

.otc-attendee__heading {
	display: block;
	width: 100%;
	margin: 0 0 10px;
	font-weight: 800;
}

.otc-attendee__fields {
	display: grid;
	grid-template-columns: 1.4fr .8fr 1.4fr;
	gap: 14px;
	padding: 0;
}

.otc-attendee__heading small {
	margin-left: 8px;
	color: var(--otc-sky);
}

.otc-attendee label {
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
}

.otc-attendee input {
	box-sizing: border-box;
	width: 100%;
	margin-top: 6px;
	padding: 11px;
	border: 1px solid #bbb;
}

.otc-dni-field small {
	display: block;
	min-height: 17px;
	margin-top: 5px;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.35;
	text-transform: none;
}

.otc-dni-field[data-state="unverified"] small,
.otc-dni-field[data-state="checking"] small {
	color: #6c757d;
}

.otc-dni-field[data-state="checking"] input {
	border-color: #d3a100;
	box-shadow: 0 0 0 2px #fff1b833;
}

.otc-dni-field[data-state="checking"] small {
	color: #846500;
}

.otc-dni-field[data-state="available"] input {
	border-color: #2f9e5b;
	box-shadow: 0 0 0 2px #2f9e5b1f;
}

.otc-dni-field[data-state="available"] small {
	color: #237a45;
}

.otc-dni-field[data-state="invalid"] input,
.otc-dni-field[data-state="duplicate"] input,
.otc-dni-field[data-state="unavailable"] input,
.otc-dni-field[data-state="error"] input {
	border-color: #c9333b;
	box-shadow: 0 0 0 2px #c9333b1c;
}

.otc-dni-field[data-state="invalid"] small,
.otc-dni-field[data-state="duplicate"] small,
.otc-dni-field[data-state="unavailable"] small,
.otc-dni-field[data-state="error"] small {
	color: #b3262e;
}

.otc-modal__validation {
	box-sizing: border-box;
	width: calc(100% - 56px);
	margin: 18px 28px 0;
	padding: 12px 14px;
	border-left: 4px solid #87949b;
	border-radius: 3px;
	background: #f2f5f6;
	color: #536169;
	font-size: 13px;
	line-height: 1.45;
}

.otc-modal__validation.is-checking {
	border-left-color: #d3a100;
	background: #fff8dd;
	color: #725800;
}

.otc-modal__validation.is-valid {
	border-left-color: #2f9e5b;
	background: #e9f7ef;
	color: #1f703e;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	border: 0;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}

@media (max-width: 800px) {
	.otc-event {
		margin-top: 0;
	}
	.otc-event__body {
		grid-template-columns: 1fr;
		gap: 28px;
		padding: 28px 16px;
	}
	.otc-event__meta {
		grid-template-columns: 1fr;
	}
	.otc-event__meta > div + div {
		padding-left: 0;
		border-top: 1px solid var(--otc-line);
		border-left: 0;
	}
	.otc-event__sales {
		padding: 24px 20px;
	}
	.otc-ticket-option {
		grid-template-columns: minmax(0, 1fr) 124px;
		gap: 16px;
		padding: 22px 0;
	}
	.otc-quantity__control {
		grid-template-columns: 34px 40px 34px;
	}
	.otc-quantity__control button {
		width: 34px;
	}
	.otc-quantity__control input {
		width: 40px;
	}
	.otc-attendee__fields {
		grid-template-columns: 1fr;
	}
	.otc-modal__header {
		padding: 20px;
	}
	.otc-modal > [data-otc-attendees],
	.otc-modal > .otc-button,
	.otc-modal__validation {
		margin-right: 20px;
		margin-left: 20px;
	}
	.otc-modal > .otc-button {
		width: calc(100% - 40px);
	}
	.otc-modal__validation {
		width: calc(100% - 40px);
	}
}

@media (max-width: 480px) {
	.otc-ticket-group__heading {
		align-items: flex-start;
		flex-direction: column;
	}
	.otc-ticket-option {
		grid-template-columns: 1fr;
		gap: 16px;
	}
	.otc-ticket-option__purchase,
	.otc-quantity {
		align-items: flex-start;
	}
}
