/* Hara Bilet Araçları — çoklu varyasyon bilet seçimi.
   Giriş bileti düzeni: her satırda label + fiyat üstte, adet seçimi altında,
   nitelik açıklaması en altta. Stepper: ince çerçeve + saydam butonlar, köşeler düz.
   Footer: toplam üstte, "Sepete Ekle" altında. */

.hara-mv-form {
	max-width: 540px;
}

/* Tarih alanı */
.hara-mv-date {
	display: flex;
	flex-direction: column;
	gap: var(--bde-woo-base-space);
	margin: 0 0 var(--bde-woo-base-big-gaps);
}

.hara-mv-date-label {
	color: var(--bde-woo-forms__labels-color);
	font-size: var(--bde-woo-typography__size-standard);
	font-family: var(--bde-woo-typography__size-standard-font-family);
	font-weight: var(--bde-woo-typography-font-weight-medium);
	line-height: 1;
}

/* Tarih kutusu — adet seçici (stepper) ile aynı çizgi:
   ince gri çerçeve, beyaz zemin, köşesiz, aynı yükseklik, tam genişlik.
   flatpickr görünür input'u (altInput) container içindeki input olduğundan
   class'tan bağımsız hedefliyoruz. */
.hara-mv-date {
	width: 100%;
}

.hara-mv-form .hara-mv-date input {
	display: block;
	width: 100%;
	max-width: none;
	height: 38px;
	margin: 0;
	padding: 0 12px;
	border: 1px solid #dcdcdc;
	border-radius: 0;
	background: #fff;
	color: inherit;
	font-size: 15px;
	line-height: 38px;
	box-shadow: none;
	cursor: pointer;
}

.hara-mv-form .hara-mv-date input:focus {
	outline: none;
	border-color: #bbb;
}

/* Zorunlu tarih uyarısı */
.hara-mv-date-error {
	margin: 4px 0 0;
	font-size: .9em;
	color: #b32d2e;
}

/* Ücretsiz gün notu (ör. Cuma): seçilen tarihte bütün biletler ₺0 */
.hara-mv-free-note {
	margin: 0;
	padding: 8px 12px;
	background: #f4f2f1;
	color: var(--bde-woo-base-headings-color, #4c3a37);
	font-size: .9em;
	line-height: 1.4;
}

.hara-mv-form .hara-mv-date input.hara-mv-invalid {
	border-color: #b32d2e;
}

.hara-mv-tickets {
	display: flex;
	flex-direction: column;
	gap: var(--bde-woo-base-big-gaps);
}

/* Bilet satırı — dikey */
.hara-mv-row {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--bde-woo-base-space);
}

/* Üst: label + fiyat */
.hara-mv-head {
	display: flex;
	align-items: baseline;
	gap: 12px;
	width: 100%;
}

.hara-mv-name {
	color: var(--bde-woo-forms__labels-color);
	font-size: var(--bde-woo-typography__size-standard);
	font-family: var(--bde-woo-typography__size-standard-font-family);
	font-weight: var(--bde-woo-typography-font-weight-medium);
	line-height: 1;
}

.hara-mv-price {
	flex: 0 0 auto;
	opacity: .7;
}

/* Adet seçici (giriş bileti Wombat stepper görünümü) */
.hara-mv-stepper {
	display: flex;
	align-items: center;
	width: 100%;
	height: 38px;
	border: 1px solid #dcdcdc;
	overflow: hidden;
}

.hara-mv-form .hara-mv-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 42px;
	width: 42px;
	height: 38px;
	padding: 0;
	margin: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: inherit;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	box-shadow: none;
	transition: background .12s ease;
}

.hara-mv-form .hara-mv-btn:hover {
	background: rgba(0, 0, 0, .05);
}

.hara-mv-form .hara-mv-qty {
	flex: 1 1 auto;
	width: auto;
	min-width: 0;
	height: 38px;
	padding: 0;
	margin: 0;
	border: 0;
	border-left: 1px solid #dcdcdc;
	border-right: 1px solid #dcdcdc;
	border-radius: 0;
	text-align: center;
	background: #fff;
	color: inherit;
	font-size: 15px;
	font-weight: 600;
	-moz-appearance: textfield;
	appearance: textfield;
}

.hara-mv-qty:focus {
	outline: none;
}

.hara-mv-qty::-webkit-outer-spin-button,
.hara-mv-qty::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

/* Nitelik açıklaması */
.hara-mv-desc {
	font-size: .9em;
	opacity: .75;
	line-height: 1.5;
}

.hara-mv-desc p:last-child {
	margin-bottom: 0;
}

.hara-mv-row.hara-mv-oos {
	opacity: .5;
}

.hara-mv-stockout {
	font-size: .9em;
}

/* Seanslar — tekrar eden etkinlik: önce seans düğmesi, altında o seansın biletleri.
   Seçili düğme kalınlığı gölgeyle verilir (kenar kalınlaşıp satır kaymasın). */
.hara-mv-form [hidden] {
	display: none !important;
}

.hara-mv-sessions {
	display: flex;
	flex-direction: column;
	gap: var(--bde-woo-base-space);
	margin: 0 0 var(--bde-woo-base-big-gaps);
}

/* Tema bilet formunu (form.cart) satır yönlü, sarmalı esnek kutu yapıyor: seans bloğu,
   biletler ve "bitti" notu kendi satırını tam genişlikte alsın; yoksa yan yana dizilir. */
.hara-mv-has-sessions > .hara-mv-sessions,
.hara-mv-has-sessions > .hara-mv-tickets,
.hara-mv-form > .hara-mv-ended {
	flex: 0 0 100%;
	width: 100%;
}

.hara-mv-sessions-label {
	color: var(--bde-woo-forms__labels-color);
	font-size: var(--bde-woo-typography__size-standard);
	font-family: var(--bde-woo-typography__size-standard-font-family);
	font-weight: var(--bde-woo-typography-font-weight-medium);
	line-height: 1;
}

.hara-mv-session-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.hara-mv-form .hara-mv-session {
	display: inline-flex;
	align-items: center;
	min-height: 38px;
	padding: 0 14px;
	margin: 0;
	border: 1px solid #bbb;
	border-radius: 0;
	background: #fff;
	color: inherit;
	font: inherit;
	font-size: 15px;
	line-height: 1.2;
	text-transform: none;
	letter-spacing: normal;
	cursor: pointer;
	box-shadow: none;
	transition: border-color .12s ease;
}

.hara-mv-form .hara-mv-session:hover {
	border-color: #888;
	background: #fff;
	color: inherit;
}

.hara-mv-form .hara-mv-session.is-selected,
.hara-mv-form .hara-mv-session.is-selected:hover {
	border-color: #d25400;
	box-shadow: inset 0 0 0 1px #d25400;
	color: #d25400;
	font-weight: 500;
}

.hara-mv-form .hara-mv-session:disabled,
.hara-mv-form .hara-mv-session:disabled:hover {
	border-color: #e5e5e5;
	color: #aaa;
	cursor: default;
	box-shadow: none;
}

.hara-mv-form .hara-mv-session:focus-visible {
	outline: 2px solid #d25400;
	outline-offset: 2px;
}

/* Az kalan yer */
.hara-mv-left {
	color: #d25400;
	font-size: .9em;
	white-space: nowrap;
}

/* Tüm seanslar geçti */
.hara-mv-ended {
	padding: 14px 16px;
	background: #f4f2f1;
	color: var(--bde-woo-base-headings-color, #4c3a37);
}

.hara-mv-ended p {
	margin: 0;
}

.hara-mv-ended .hara-mv-ended-title {
	font-weight: 500;
}

.hara-mv-ended .hara-mv-ended-text {
	margin-top: 4px;
}

.hara-mv-ended a {
	color: #d25400;
	text-decoration: underline;
}

/* Alt bar — dikey: toplam üstte, buton altında */
.hara-mv-footer {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: calc(var(--bde-woo-base-space) * var(--bde-woo-base-ratio));
}

.hara-mv-total {
	color: var(--bde-woo-base-headings-color);
	font-weight: var(--bde-woo-typography-font-weight-heavy);
	line-height: var(--bde-woo-base-heading-line-height);
	font-size: var(--bde-woo-typography__size-large);
	font-family: var(--bde-woo-typography__size-large-font-family);
}

.hara-mv-total-amount {
	margin-left: calc(var(--bde-woo-base-space) / var(--bde-woo-base-ratio));
}

@media (max-width: 480px) {
	.hara-mv-submit {
		width: 100%;
	}
}
