/* Marsi Ajánlatkérés
 * Cart: ported from the Elementor custom CSS of page 2946 (HTML widget 21e7959).
 * Table: ported from the Elementor Kit custom CSS.
 * Form: values read from the Elementor form c13b4e0 settings and computed styles (2026-10-01).
 *
 * Every rule is scoped to a plugin wrapper (.marsi-aj-cart, .marsi-aj-form, .marsi-aj-empty, .marsi-aj-list)
 * so it wins over the Hello Elementor reset ([type=submit], button, a) and the Elementor Kit (.elementor-kit-9 a)
 * regardless of stylesheet order.
 */

/* ---------- Cart (layout from page 2946; typography and buttons aligned to the /eszkozeink/ loop:
 * Mohave, #272727, pill buttons with a 1px border, uppercase 14px/600) ---------- */
.marsi-aj-cart.custom-cart-form {
	display: flex;
	flex-direction: column;
	gap: 16px;
	font-family: "Mohave", sans-serif;
	color: #272727;
}

.marsi-aj-cart .custom-cart-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 16px;
	border: 1px solid #ccc;
	border-radius: 10px;
}

.marsi-aj-cart .custom-cart-row-1 {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 20px;
	flex: 1 1 auto;
	min-width: 0;
}

.marsi-aj-cart .custom-cart-row-1 .cart-img {
	width: 80px;
	height: 80px;
	flex-shrink: 0;
}

.marsi-aj-cart .custom-cart-row-1 .cart-img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.marsi-aj-cart .custom-cart-row-1 .cart-title {
	white-space: normal;
	text-align: left;
	font-family: "Mohave", sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.3;
	color: #272727;
}

.marsi-aj-cart .custom-cart-row-2 {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 20px;
	flex: 0 0 auto;
}

.marsi-aj-cart .custom-cart-qty input {
	width: 60px;
	height: 36px;
	margin: 0;
	padding: 0 8px;
	text-align: center;
	font-family: "Mohave", sans-serif;
	font-size: 14px;
	font-weight: 600;
	color: #272727;
	background: transparent;
	border: 1px solid #272727;
	border-radius: 100px;
}

.marsi-aj-cart .custom-cart-remove a {
	font-family: "Mohave", sans-serif;
	font-size: 14px;
	font-weight: 600;
	text-transform: uppercase;
	color: red;
	text-decoration: none;
}

.marsi-aj-cart .custom-cart-btn,
.marsi-aj-empty .custom-cart-btn {
	display: inline-block;
	align-self: flex-end;
	min-width: 280px;
	margin: 8px 0 0;
	padding: 14px 28px;
	font-family: "Mohave", sans-serif;
	font-size: 14px;
	font-weight: 600;
	line-height: 14px;
	letter-spacing: normal;
	text-transform: uppercase;
	text-align: center;
	text-decoration: none;
	color: #272727;
	background-color: transparent;
	border: 1px solid #272727;
	border-radius: 100px;
	cursor: pointer;
	transition: color 0.3s ease, border-color 0.3s ease;
}

.marsi-aj-cart .custom-cart-btn:hover,
.marsi-aj-cart .custom-cart-btn:focus-visible,
.marsi-aj-empty .custom-cart-btn:hover,
.marsi-aj-empty .custom-cart-btn:focus-visible {
	color: #bdaf82;
	border-color: #bdaf82;
	background-color: transparent;
}

@media (max-width: 767px) {
	.marsi-aj-cart .custom-cart-item {
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
		padding: 12px;
	}

	.marsi-aj-cart .custom-cart-row-1 {
		gap: 12px;
	}

	.marsi-aj-cart .custom-cart-row-1 .cart-img {
		width: 60px;
		height: 60px;
	}

	.marsi-aj-cart .custom-cart-row-1 .cart-title {
		font-size: 15px;
	}

	.marsi-aj-cart .custom-cart-row-2 {
		justify-content: space-between;
	}

	.marsi-aj-cart .custom-cart-btn {
		align-self: stretch;
		min-width: 0;
		width: 100%;
	}
}

/* ---------- Item table (Kit custom CSS; font aligned to the site) ---------- */
.marsi-aj-list table.custom-cart-table {
	margin: 0;
	border: 1px solid #ccc;
	width: 100%;
	font-family: "Mohave", sans-serif;
	font-size: 16px;
	color: #272727;
	background: #fff;
}

.marsi-aj-list table.custom-cart-table th {
	background: #f1f1f1;
	padding: 10px;
	font-weight: 600;
}

.marsi-aj-list table.custom-cart-table td {
	padding: 10px;
	vertical-align: middle;
}

.marsi-aj-list table.custom-cart-table td img {
	display: block;
	width: 50px;
	height: 50px;
	object-fit: cover;
}

/* ---------- Back link (T5), empty cart (T2) ---------- */
.marsi-aj-back {
	margin: 0 0 16px;
	font-family: "Mohave", sans-serif;
	font-size: 16px;
}

.marsi-aj-back a {
	color: inherit;
	text-decoration: none;
}

.marsi-aj-back a:hover {
	color: #bdaf82;
}

.marsi-aj-empty {
	text-align: center;
	padding: 20px 0;
	font-family: "Mohave", sans-serif;
	color: #272727;
}

.marsi-aj-empty .marsi-aj-empty__title {
	font-size: 18px;
	margin: 0;
}

.marsi-aj-empty .marsi-aj-empty__btn {
	margin-top: 20px;
}

.marsi-aj-empty .marsi-aj-empty__note {
	margin: 20px 0 0;
}

.marsi-aj-empty .marsi-aj-empty__note a {
	color: inherit;
	text-decoration: underline;
}

/* ---------- Quote form (values from Elementor form c13b4e0) ---------- */
.marsi-aj-form {
	font-family: "Mohave", sans-serif;
}

.marsi-aj-form .marsi-aj-field {
	margin: 0 0 10px;
}

.marsi-aj-form .marsi-aj-field > label {
	display: block;
	margin: 0;
	padding: 0 0 8px;
	font-family: "Mohave", sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 16px;
	color: #000;
}

.marsi-aj-form .marsi-aj-field input[type="text"],
.marsi-aj-form .marsi-aj-field input[type="email"],
.marsi-aj-form .marsi-aj-field input[type="tel"],
.marsi-aj-form .marsi-aj-field input[type="number"],
.marsi-aj-form .marsi-aj-field input[type="date"],
.marsi-aj-form .marsi-aj-field textarea {
	display: block;
	width: 100%;
	box-sizing: border-box;
	min-height: 40px;
	margin: 0;
	padding: 8px 16px;
	font-family: "Mohave", sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 22.4px;
	color: #272727;
	background-color: #fff;
	border: 1px solid #272727;
	border-radius: 0;
	box-shadow: none;
}

.marsi-aj-form .marsi-aj-field textarea {
	padding: 5px 14px;
	resize: vertical;
}

.marsi-aj-form .marsi-aj-field input:focus,
.marsi-aj-form .marsi-aj-field textarea:focus {
	outline: 1px solid #bdaf82;
	outline-offset: 0;
}

.marsi-aj-form .marsi-aj-field.has-error input,
.marsi-aj-form .marsi-aj-field.has-error textarea {
	border-width: 2px;
}

.marsi-aj-form .marsi-aj-error {
	display: block;
	margin-top: 4px;
	font-family: "Mohave", sans-serif;
	font-size: 14px;
	line-height: 1.3;
	color: #000;
}

.marsi-aj-form .marsi-aj-consent > label {
	display: flex;
	gap: 8px;
	align-items: flex-start;
	padding: 0;
	line-height: 22px;
	cursor: pointer;
}

.marsi-aj-form .marsi-aj-consent input[type="checkbox"] {
	width: 16px;
	height: 16px;
	margin: 3px 0 0;
	flex-shrink: 0;
	accent-color: #272727;
}

.marsi-aj-form .marsi-aj-consent a {
	color: inherit;
	text-decoration: underline;
}

.marsi-aj-form .marsi-aj-consent a:hover {
	color: #bdaf82;
}

.marsi-aj-form button.marsi-aj-submit {
	display: block;
	width: 100%;
	min-height: 40px;
	margin: 0;
	padding: 0 24px;
	font-family: "Mohave", sans-serif;
	font-size: 16px;
	font-weight: 500;
	line-height: 16px;
	letter-spacing: normal;
	text-transform: uppercase;
	color: #272727;
	background-color: #fff;
	border: 1px solid #272727;
	border-radius: 0;
	cursor: pointer;
	transition: color 0.3s, border-color 0.3s;
}

.marsi-aj-form button.marsi-aj-submit:hover,
.marsi-aj-form button.marsi-aj-submit:focus-visible {
	color: #bdaf82;
	border-color: #bdaf82;
	background-color: #fff;
}

.marsi-aj-form button.marsi-aj-submit:disabled {
	opacity: 0.6;
	cursor: wait;
}

.marsi-aj-form .marsi-aj-notice {
	margin: 0 0 10px;
	font-family: "Mohave", sans-serif;
	font-size: 16px;
	color: #000;
}

.marsi-aj-success {
	font-family: "Mohave", sans-serif;
	font-size: 16px;
	font-weight: 400;
	color: #2d615b;
}

/* Honeypot: hidden from people, visible to naive bots. */
.marsi-aj-form .marsi-aj-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* ==========================================================================
 * Contact form [marsi_kapcsolat_urlap] (step 22/8). Values measured on the Elementor Pro form b27dc46
 * (2026-10-02): 25px column and row gaps, fields 47px, Mohave 16/22.4 #636363 on white with a 1px #272727
 * border, labels for screen readers only (placeholders at 60% opacity), full-width button. The consent row
 * and the messages use the quote form's styles.
 * ========================================================================== */
.marsi-kf {
	font-family: "Mohave", sans-serif;
}

.marsi-kf .marsi-aj-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.marsi-kf .marsi-kf__fields {
	display: flex;
	flex-wrap: wrap;
	margin: 0 -12.5px -25px;
}

.marsi-kf .marsi-kf__group {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	box-sizing: border-box;
	width: 100%;
	min-height: 1px;
	margin: 0 0 25px;
	padding: 0 12.5px;
}

.marsi-kf .marsi-kf__group--50 {
	width: 50%;
}

@media (max-width: 767px) {
	.marsi-kf .marsi-kf__group--50 {
		width: 100%;
	}
}

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

.marsi-kf .marsi-kf__field {
	display: block;
	flex-basis: 100%;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	min-height: 47px;
	margin: 0;
	padding: 6px 16px;
	font-family: var(--e-global-typography-text-font-family), sans-serif;
	font-size: var(--e-global-typography-text-font-size);
	font-weight: var(--e-global-typography-text-font-weight);
	line-height: 1.4;
	color: #636363;
	vertical-align: middle;
	background-color: var(--e-global-color-f590bca);
	border: 1px solid var(--e-global-color-secondary);
	border-radius: 0;
	box-shadow: none;
	transition: 0.3s;
}

.marsi-kf textarea.marsi-kf__field {
	resize: vertical;
}

.marsi-kf .marsi-kf__field::placeholder {
	color: inherit;
	opacity: 0.6;
}

.marsi-kf .marsi-kf__field:focus {
	border-color: var(--e-global-color-secondary);
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
	outline: 0;
}

.marsi-kf .marsi-kf__group.has-error .marsi-kf__field {
	border-width: 2px;
}

.marsi-kf .marsi-kf__error {
	display: block;
	width: 100%;
	margin-top: 4px;
	font-family: "Mohave", sans-serif;
	font-size: 14px;
	line-height: 1.3;
	color: #000;
}

.marsi-kf .marsi-kf__consent > label {
	display: flex;
	gap: 8px;
	align-items: flex-start;
	margin: 0;
	padding: 0;
	font-family: "Mohave", sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 22px;
	color: #000;
	cursor: pointer;
}

.marsi-kf .marsi-kf__consent input[type="checkbox"] {
	width: 16px;
	height: 16px;
	margin: 3px 0 0;
	flex-shrink: 0;
	accent-color: #272727;
}

.marsi-kf .marsi-kf__consent a {
	color: inherit;
	text-decoration: underline;
}

.marsi-kf .marsi-kf__consent a:hover {
	color: #bdaf82;
}

.marsi-kf button.marsi-kf__submit {
	display: block;
	width: 100%;
	min-height: 47px;
	margin: 0;
	padding: 0.6em 2.6em 0.7em;
	font-family: var(--e-global-typography-f9df72c-font-family), sans-serif;
	font-size: var(--e-global-typography-f9df72c-font-size);
	font-weight: var(--e-global-typography-f9df72c-font-weight);
	line-height: 1;
	text-align: center;
	text-transform: var(--e-global-typography-f9df72c-text-transform);
	white-space: nowrap;
	color: var(--e-global-color-text);
	background-color: #fff;
	border: 1px solid var(--e-global-color-text);
	border-radius: 0;
	box-shadow: none;
	cursor: pointer;
	transition: 0.3s;
}

.marsi-kf button.marsi-kf__submit:hover,
.marsi-kf button.marsi-kf__submit:focus {
	color: var(--e-global-color-primary);
	background-color: #fff;
	border-color: var(--e-global-color-text);
}

.marsi-kf button.marsi-kf__submit:disabled {
	cursor: default;
}

.marsi-kf .marsi-kf__notice {
	margin: 0 0 10px;
	font-family: "Mohave", sans-serif;
	font-size: 16px;
	color: #000;
}

.marsi-kf .marsi-kf__success {
	margin-top: 10px;
	font-family: "Mohave", sans-serif;
	font-size: 16px;
	font-weight: 400;
	color: #2d615b;
}

/* ---------- Confirmation after sending (includes/ui.php, 2026-10-06) ---------- */
.marsi-done {
	font-family: "Mohave", sans-serif;
	color: #272727;
}

.marsi-done__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: #bdaf82;
}

.marsi-done__icon {
	width: 26px;
	height: 26px;
	fill: #fff;
}

.marsi-done .marsi-done__title {
	margin: 0 0 8px;
	font-family: "Mohave", sans-serif;
	font-size: 26px;
	font-weight: 600;
	line-height: 1.15;
	text-transform: uppercase;
	color: #272727;
}

.marsi-done .marsi-done__text,
.marsi-done .marsi-done__summary {
	margin: 0;
	font-size: 17px;
	line-height: 1.5;
	overflow-wrap: anywhere;
}

.marsi-done .marsi-done__summary {
	margin-top: 8px;
	color: #5f5f5f;
}

/* In the page: replaces the former one-line message under the button. */
.marsi-done--inline {
	display: flex;
	align-items: flex-start;
	gap: 20px;
	margin-top: 24px;
	padding: 24px;
	background: #f6f6f6;
	border-left: 4px solid #bdaf82;
	border-radius: 4px;
}

.marsi-done--inline .marsi-done__title {
	font-size: 22px;
}

/* Dialog */
.marsi-done--dialog {
	box-sizing: border-box;
	width: min(480px, calc(100vw - 32px));
	max-height: calc(100dvh - 32px);
	margin: auto;
	padding: 48px 32px 32px;
	text-align: center;
	background: #fff;
	border: 0;
	border-radius: 8px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

.marsi-done--dialog[open] {
	animation: marsi-done-in 0.25s ease-out;
}

.marsi-done--dialog::backdrop {
	background: rgba(0, 0, 0, 0.55);
}

.marsi-done--dialog .marsi-done__badge {
	margin-bottom: 20px;
}

.marsi-done__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-top: 28px;
}

.marsi-done .marsi-done__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 28px;
	font-family: "Mohave", sans-serif;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: normal;
	text-transform: uppercase;
	text-decoration: none;
	color: #272727;
	background: transparent;
	border: 1px solid #272727;
	border-radius: 100px;
	cursor: pointer;
	transition: color 0.3s ease, border-color 0.3s ease;
}

.marsi-done .marsi-done__btn:hover,
.marsi-done .marsi-done__btn:focus-visible {
	color: #bdaf82;
	border-color: #bdaf82;
	background: transparent;
}

.marsi-done .marsi-done__x {
	position: absolute;
	top: 8px;
	right: 8px;
	width: 44px;
	height: 44px;
	padding: 0;
	font-size: 28px;
	line-height: 1;
	color: #272727;
	background: transparent;
	border: 0;
	cursor: pointer;
}

.marsi-done .marsi-done__x:hover,
.marsi-done .marsi-done__x:focus-visible {
	color: #bdaf82;
	background: transparent;
}

@keyframes marsi-done-in {
	from {
		opacity: 0;
		transform: translateY(12px) scale(0.98);
	}
}

@media (prefers-reduced-motion: reduce) {
	.marsi-done--dialog[open] {
		animation: none;
	}
}

@media (max-width: 767px) {
	.marsi-done--inline {
		gap: 14px;
		padding: 18px;
	}

	.marsi-done--inline .marsi-done__badge {
		width: 40px;
		height: 40px;
	}

	.marsi-done--inline .marsi-done__icon {
		width: 18px;
		height: 18px;
	}

	.marsi-done--dialog {
		padding: 44px 20px 24px;
	}

	.marsi-done .marsi-done__title {
		font-size: 22px;
	}

	.marsi-done .marsi-done__btn {
		flex: 1 1 100%;
	}
}

/* ---------- Rental list heading (cart page) ---------- */
.marsi-aj-cart-head {
	margin: 8px 0 24px;
	font-family: "Mohave", sans-serif;
	color: #272727;
}

.marsi-aj-cart-head .marsi-aj-cart-head__title {
	margin: 0 0 8px;
	font-family: "Mohave", sans-serif;
	font-size: 40px;
	font-weight: 600;
	line-height: 1.1;
	text-transform: uppercase;
	color: #272727;
}

.marsi-aj-cart-head .marsi-aj-cart-head__intro {
	margin: 0;
	font-size: 17px;
	line-height: 1.5;
}

@media (max-width: 767px) {
	.marsi-aj-cart-head .marsi-aj-cart-head__title {
		font-size: 30px;
	}
}
