/* Theme-owned styles, scoped to Ticketack's official cart and checkout. */
.spoutnik-ticketack-cart-page .site-main {
	max-width: var(--spoutnik-wide-width, 76rem);
	padding-block: clamp(2rem, 4vw, 4rem);
}

.tkt-wrapper:is(.tkt-cart, .tkt-checkout),
.tkt-wrapper:is(.tkt-cart, .tkt-checkout) .tkt-wrapper {
	color: var(--spoutnik-foreground);
	font-family: var(--font-sans);
	font-size: 1rem;
	line-height: 1.5;
}

.tkt-wrapper:is(.tkt-cart, .tkt-checkout) .tkt-section {
	padding: clamp(1rem, 2.5vw, 1.5rem);
	border: 1px solid var(--spoutnik-foreground);
	border-radius: 0;
	background: #fff;
	color: var(--spoutnik-foreground);
}

.tkt-wrapper:is(.tkt-cart, .tkt-checkout) :is(.tkt-section-title, .empty-cart-title) {
	margin: 0 0 1.25rem;
	padding: 0;
	border: 0;
	color: inherit;
	font-family: var(--font-display);
	font-size: clamp(1.25rem, 2.5vw, 1.5rem);
	font-weight: 400;
	line-height: 1.25;
}

.tkt-wrapper.tkt-cart > .tkt-wrapper > .row {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1.5rem;
	margin: 0;
}

.tkt-wrapper.tkt-cart > .tkt-wrapper > .row > .col-12 {
	width: 100%;
	max-width: none;
	min-width: 0;
	padding: 0;
}

.tkt-wrapper:is(.tkt-cart, .tkt-checkout) .tkt-checkout-section {
	margin-top: 1.5rem;
}

.tkt-wrapper:is(.tkt-cart, .tkt-checkout) .tkt-cart-table {
	width: 100%;
	margin: 0;
	border-collapse: collapse;
	font-size: 1rem;
	line-height: 1.5;
}

.tkt-wrapper:is(.tkt-cart, .tkt-checkout) .tkt-cart-table :is(th, td) {
	padding: 0.75rem 0.25rem;
	border-bottom: 1px solid var(--spoutnik-border);
	background: transparent;
	vertical-align: middle;
}

.tkt-wrapper:is(.tkt-cart, .tkt-checkout) .tkt-cart-table th {
	border-bottom-color: var(--spoutnik-foreground);
	font-weight: 400;
	text-align: left;
}

.tkt-wrapper:is(.tkt-cart, .tkt-checkout) .tkt-cart-table .title-cell {
	overflow-wrap: anywhere;
}

.tkt-wrapper:is(.tkt-cart, .tkt-checkout) .tkt-cart-table .price-cell {
	padding-inline: 0.5rem;
	white-space: nowrap;
}

.tkt-wrapper:is(.tkt-cart, .tkt-checkout) .tkt-cart-table .action-cell {
	width: 2.75rem;
	padding: 0;
}

.tkt-wrapper:is(.tkt-cart, .tkt-checkout) .tkt-cart-table tfoot td {
	padding-block: 1rem;
	border-bottom: 0;
	text-align: right;
}

.tkt-wrapper:is(.tkt-cart, .tkt-checkout) :is(.total-title-cell, .total-price-cell) {
	font-size: 1.125rem;
	font-weight: 600;
}

.tkt-wrapper:is(.tkt-cart, .tkt-checkout) .total-price-cell {
	white-space: nowrap;
}

.tkt-wrapper:is(.tkt-cart, .tkt-checkout) .tkt-remove-cart-item {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	min-height: 2.75rem;
	color: var(--spoutnik-foreground);
}

.tkt-wrapper:is(.tkt-cart, .tkt-checkout) .tkt-remove-cart-item:hover {
	background: var(--spoutnik-accent);
	color: var(--spoutnik-accent-text);
}

.tkt-wrapper:is(.tkt-cart, .tkt-checkout) hr {
	margin-block: 1.25rem;
	border: 0;
	border-top: 1px solid var(--spoutnik-border);
}

.tkt-wrapper:is(.tkt-cart, .tkt-checkout) .use-wallet-connect-wrapper h6 {
	margin-bottom: 1rem;
	font: inherit;
	line-height: 1.5;
}

.tkt-wrapper:is(.tkt-cart, .tkt-checkout) :is(.form-control, .tkt-input.form-control) {
	min-width: 0;
	min-height: 2.75rem;
	padding: 0.55rem 0.65rem;
	border: 1px solid var(--spoutnik-foreground);
	border-radius: 0;
	background: #fff;
	color: var(--spoutnik-foreground);
	font: inherit;
	line-height: 1.4;
	box-shadow: none;
}

.tkt-wrapper:is(.tkt-cart, .tkt-checkout) .form-control:focus {
	border-color: var(--spoutnik-foreground);
	background: #fff;
	color: var(--spoutnik-foreground);
	box-shadow: none;
}

.tkt-wrapper:is(.tkt-cart, .tkt-checkout) .form-control::placeholder {
	color: var(--spoutnik-muted);
	opacity: 1;
}

.tkt-wrapper:is(.tkt-cart, .tkt-checkout) :is(a.button, button.button) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.75rem;
	max-width: 100%;
	padding: 0.55rem 0.85rem;
	border: 1px solid var(--spoutnik-foreground);
	border-radius: 0;
	background: var(--spoutnik-accent);
	color: var(--spoutnik-accent-text);
	font: inherit;
	line-height: 1.4;
	text-align: center;
	text-decoration: none;
	white-space: normal;
	gap: 0.5rem;
}

.tkt-wrapper:is(.tkt-cart, .tkt-checkout) :is(a.button, button.button):hover {
	background: var(--spoutnik-foreground);
	color: #fff;
}

.tkt-wrapper:is(.tkt-cart, .tkt-checkout) a:not(.button) {
	color: inherit;
	text-decoration: underline;
	text-decoration-color: var(--spoutnik-accent);
	text-decoration-thickness: 2px;
	text-underline-offset: 0.15em;
}

.tkt-wrapper:is(.tkt-cart, .tkt-checkout) a:not(.button):hover {
	background: var(--spoutnik-accent);
	color: var(--spoutnik-accent-text);
}

.tkt-wrapper:is(.tkt-cart, .tkt-checkout) :is(button, a, input, select, textarea):focus-visible {
	/* Ticketack's generated CSS removes button outlines with !important. */
	outline: 2px solid var(--spoutnik-foreground) !important;
	outline-offset: 3px;
}

.tkt-wrapper:is(.tkt-cart, .tkt-checkout) .use-promo-code-wrapper .input-group {
	flex-wrap: nowrap;
}

.tkt-wrapper:is(.tkt-cart, .tkt-checkout) .input-group .promo-code-input {
	width: 0;
	flex: 1 1 0;
}

.tkt-wrapper:is(.tkt-cart, .tkt-checkout) .input-group .promo-code-button {
	margin-left: -1px;
}

.tkt-wrapper:is(.tkt-cart, .tkt-checkout) .checkout-form .form-group {
	margin-bottom: 1.25rem;
}

.tkt-wrapper:is(.tkt-cart, .tkt-checkout) .checkout-form label {
	margin-bottom: 0.5rem;
	font-weight: 400;
	line-height: 1.5;
}

.tkt-wrapper:is(.tkt-cart, .tkt-checkout) input[type="checkbox"] {
	width: 1.125rem;
	height: 1.125rem;
	margin-right: 0.25rem;
	accent-color: var(--spoutnik-accent);
	vertical-align: middle;
}

@media (min-width: 62rem) {
	.tkt-wrapper.tkt-cart > .tkt-wrapper > .row:has(> .col-lg-8):has(> .col-lg-4) {
		grid-template-columns: minmax(0, 2fr) minmax(19rem, 1fr);
	}
}

@media (max-width: 47.99rem) {
	.tkt-wrapper:is(.tkt-cart, .tkt-checkout) .checkout-form .field-wrapper {
		flex: 0 0 100%;
		max-width: 100%;
	}

	.tkt-wrapper:is(.tkt-cart, .tkt-checkout) .checkout-form .submit-button {
		width: 100%;
	}
}

@media (max-width: 30rem) {
	.tkt-wrapper:is(.tkt-cart, .tkt-checkout) .tkt-cart-table {
		font-size: 0.875rem;
	}

	.tkt-wrapper:is(.tkt-cart, .tkt-checkout) .tkt-cart-table .price-cell {
		padding-inline: 0.25rem;
	}
}
