/* Ethereal Booking – frontend
 * Gjithçka është brenda .ethebo-scope dhe me reset të fortë, që tema të mos e prishë pamjen.
 */

.ethebo-scope {
	--ethebo-accent: #2563eb;
	--ethebo-accent-soft: color-mix(in srgb, var(--ethebo-accent) 12%, #fff);
	--ethebo-accent-ink: #fff;
	--ethebo-text: #111827;
	--ethebo-muted: #6b7280;
	--ethebo-border: #e5e7eb;
	--ethebo-bg: #ffffff;
	--ethebo-soft: #f6f7f9;
	--ethebo-ok: #15803d;
	--ethebo-err: #b91c1c;
	--ethebo-radius: 16px;
	--ethebo-r-sm: 10px;
	--ethebo-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 8px 24px rgba(16, 24, 40, .06);
	--ethebo-cell: 44px;

	box-sizing: border-box;
	color: var(--ethebo-text);
	font-size: 15px;
	line-height: 1.5;
	letter-spacing: normal;
	text-transform: none;
	-webkit-font-smoothing: antialiased;
}
.ethebo-scope *, .ethebo-scope *::before, .ethebo-scope *::after { box-sizing: border-box; }
.ethebo-scope :where(h3, p, dl, dd, ul, ol, li, figure) { margin: 0; padding: 0; }
.ethebo-scope :where(ul, ol) { list-style: none; }
.ethebo-scope :where(img, svg) { display: block; max-width: 100%; }

/* Butonat dhe fushat: çdo selektor që i synon ka ":not(#ethebo)" (përputhet gjithmonë, por i shton
 * specifikës një id), që rregullat e temave si "button:hover" ose ".elementor-kit-5 [type=button]:focus"
 * të mos u ndryshojnë sfondin, ngjyrën, kufijtë, etj. Shtojeni edhe te rregullat e reja të butonave/fushave. */

/* Reset i butonave – temat shpesh u vënë padding, min-width, uppercase, etj. */
.ethebo-scope button:not(#ethebo) {
	all: unset;
	box-sizing: border-box;
	cursor: pointer;
	font-family: inherit;
	-webkit-tap-highlight-color: transparent;
}
/* Reset i fushave – temat u vënë uppercase, nënvizim, lartësi minimale, etj. */
.ethebo-scope :is(input, select, textarea):not(#ethebo) {
	min-height: 0;
	text-transform: none;
	letter-spacing: normal;
	text-decoration: none;
	box-shadow: none;
	filter: none;
	transform: none;
	opacity: 1;
}
/* Listat e plugin-it – temat u vënë pika (•), hapësirë majtas, kufij, etj. (jo përshkrimit të pronës). */
.ethebo-scope :where(.ethebo-chips, .ethebo-steps, .ethebo-trust, .ethebo-pop-list, .ethebo-pay-overview):not(#ethebo),
.ethebo-scope :where(.ethebo-chips, .ethebo-steps, .ethebo-trust, .ethebo-pop-list, .ethebo-pay-overview) > li:not(#ethebo) {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	list-style: none;
	color: inherit;
	font-size: inherit;
	line-height: inherit;
	letter-spacing: inherit;
	text-transform: inherit;
}
.ethebo-scope :where(.ethebo-chips, .ethebo-steps, .ethebo-trust, .ethebo-pop-list, .ethebo-pay-overview) > li:not(#ethebo)::before,
.ethebo-scope :where(.ethebo-chips, .ethebo-steps, .ethebo-trust, .ethebo-pop-list, .ethebo-pay-overview) > li:not(#ethebo)::after { content: none; }
.ethebo-scope button:focus-visible:not(#ethebo),
.ethebo-scope a:focus-visible {
	outline: 2px solid var(--ethebo-accent);
	outline-offset: 2px;
}

/* --------------------------------------------------------------------------
 * Butonat
 * ----------------------------------------------------------------------- */
.ethebo-scope .ethebo-btn:not(#ethebo) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 48px;
	padding: 0 22px;
	border: 0;
	border-radius: 12px;
	background: var(--ethebo-accent);
	color: var(--ethebo-accent-ink) !important;
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none !important;
	white-space: nowrap;
	cursor: pointer;
	transition: filter .15s, transform .05s, opacity .15s;
}
.ethebo-scope .ethebo-btn:hover:not(#ethebo) { filter: brightness(1.08); }
.ethebo-scope .ethebo-btn:active:not(#ethebo) { transform: translateY(1px); }
.ethebo-scope .ethebo-btn[disabled]:not(#ethebo),
.ethebo-scope .ethebo-btn.is-disabled:not(#ethebo) { opacity: .45; cursor: not-allowed; filter: none; }
.ethebo-scope .ethebo-btn.is-loading:not(#ethebo) { opacity: .8; cursor: wait; }
.ethebo-scope .ethebo-btn-sm:not(#ethebo) { min-height: 40px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
.ethebo-scope .ethebo-btn-ghost:not(#ethebo) {
	background: transparent;
	color: var(--ethebo-text) !important;
	box-shadow: inset 0 0 0 1px var(--ethebo-border);
}
.ethebo-scope .ethebo-btn-ghost:hover:not(#ethebo) { background: var(--ethebo-soft); filter: none; }

/* --------------------------------------------------------------------------
 * Kutia e detajeve (në krye të faqes së pronës)
 * ----------------------------------------------------------------------- */
.ethebo-details {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 20px;
	margin: 0 0 28px;
	padding: 18px 22px;
	background: var(--ethebo-bg);
	border: 1px solid var(--ethebo-border);
	border-radius: var(--ethebo-radius);
	box-shadow: var(--ethebo-shadow);
}
.ethebo-details-price { display: flex; align-items: baseline; gap: 6px; }
.ethebo-details-price strong { font-size: 26px; font-weight: 700; line-height: 1; }
.ethebo-details-price span { color: var(--ethebo-muted); font-size: 15px; }
.ethebo-chips:not(#ethebo) { display: flex; flex-wrap: wrap; gap: 8px; flex: 1; }
.ethebo-chips li:not(#ethebo) {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--ethebo-soft);
	color: var(--ethebo-text);
	font-size: 13px;
	font-weight: 500;
	line-height: 1.2;
}
.ethebo-chips li:not(#ethebo)::before {
	content: "";
	width: 16px;
	height: 16px;
	background: currentColor;
	opacity: .7;
	-webkit-mask: var(--i) center / contain no-repeat;
	mask: var(--i) center / contain no-repeat;
}
.ethebo-chip-guests { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='9' cy='8' r='3.5'/%3E%3Cpath d='M2.5 20c.8-3.6 3.4-5.5 6.5-5.5s5.7 1.9 6.5 5.5'/%3E%3Cpath d='M16 4.6a3.5 3.5 0 0 1 0 6.8M18 14.8c1.9.7 3.1 2.4 3.5 5.2'/%3E%3C/svg%3E"); }
.ethebo-chip-bed { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 19V6M3 15h18v4M21 15v-3a3 3 0 0 0-3-3h-8v6'/%3E%3Ccircle cx='6.5' cy='11' r='1.5'/%3E%3C/svg%3E"); }
.ethebo-chip-bath { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h16v3a4 4 0 0 1-4 4H8a4 4 0 0 1-4-4v-3zM6 12V6a2 2 0 0 1 3.6-1.2M7 19l-1 2M17 19l1 2'/%3E%3C/svg%3E"); }
.ethebo-chip-moon { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 14.5A8 8 0 1 1 9.5 4a6.5 6.5 0 0 0 10.5 10.5z'/%3E%3C/svg%3E"); }
.ethebo-chips li:not(#ethebo) { position: relative; }
.ethebo-chip-num { display: none; }

/* Telefon: vetëm ikonë + numër në një rresht; emri del si tooltip (hover / prekje). */
@media (max-width: 600px) {
	.ethebo-details { padding: 16px; }
	.ethebo-details-cta { width: 100%; }
	.ethebo-chips:not(#ethebo) { flex: 1 1 100%; flex-wrap: nowrap; gap: 8px; }
	.ethebo-chips li:not(#ethebo) {
		flex: 1 1 0;
		justify-content: center;
		gap: 6px;
		min-width: 0;
		padding: 10px 6px;
		border-radius: 12px;
		font-size: 15px;
		cursor: help;
		outline: none;
		transition: background .15s;
	}
	.ethebo-chips li:not(#ethebo)::before { width: 18px; height: 18px; }
	.ethebo-chips li:hover:not(#ethebo),
	.ethebo-chips li:focus:not(#ethebo) { background: var(--ethebo-accent-soft); }
	.ethebo-chip-num { display: inline; font-weight: 700; }
	.ethebo-chip-txt {
		position: absolute !important;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
	}
	.ethebo-chips li[data-tip]:not(#ethebo)::after {
		content: attr(data-tip);
		position: absolute;
		bottom: calc(100% + 8px);
		left: 50%;
		z-index: 20;
		padding: 6px 10px;
		border-radius: 8px;
		background: var(--ethebo-text);
		color: #fff;
		font-size: 12px;
		font-weight: 600;
		white-space: nowrap;
		pointer-events: none;
		opacity: 0;
		transform: translate(-50%, 4px);
		transition: opacity .15s, transform .15s;
	}
	/* Tooltip-et në skaje mos dalin jashtë ekranit. */
	.ethebo-chips li:first-child[data-tip]:not(#ethebo)::after { left: 0; transform: translate(0, 4px); }
	.ethebo-chips li:last-child[data-tip]:not(#ethebo)::after { left: auto; right: 0; transform: translate(0, 4px); }
	.ethebo-chips li:hover:not(#ethebo)::after,
	.ethebo-chips li:focus:not(#ethebo)::after { opacity: 1; transform: translate(-50%, 0); }
	.ethebo-chips li:first-child:hover:not(#ethebo)::after,
	.ethebo-chips li:first-child:focus:not(#ethebo)::after,
	.ethebo-chips li:last-child:hover:not(#ethebo)::after,
	.ethebo-chips li:last-child:focus:not(#ethebo)::after { transform: translate(0, 0); }
}

/* --------------------------------------------------------------------------
 * Widget-i i rezervimit
 * ----------------------------------------------------------------------- */
.ethebo-booking {
	container-type: inline-size;
	container-name: ethebo;
	margin: 32px 0;
	background: var(--ethebo-bg);
	border: 1px solid var(--ethebo-border);
	border-radius: var(--ethebo-radius);
	box-shadow: var(--ethebo-shadow);
	overflow: clip;
	scroll-margin-top: 90px;
}

/* Hapat */
.ethebo-steps:not(#ethebo) {
	display: flex;
	align-items: center;
	padding: 16px 24px;
	border-bottom: 1px solid var(--ethebo-border);
	background: var(--ethebo-soft);
	counter-reset: none;
}
.ethebo-steps li:not(#ethebo) { display: flex; align-items: center; flex: 1; min-width: 0; }
.ethebo-steps li:last-child:not(#ethebo) { flex: 0 0 auto; }
.ethebo-steps li:not(:last-child):not(#ethebo)::after {
	content: "";
	flex: 1;
	height: 2px;
	margin: 0 12px;
	border-radius: 2px;
	background: var(--ethebo-border);
	transition: background .3s;
}
.ethebo-steps li.is-done:not(:last-child):not(#ethebo)::after { background: var(--ethebo-accent); }
.ethebo-steps button:not(#ethebo) { display: flex; align-items: center; gap: 10px; min-width: 0; }
.ethebo-steps button[disabled]:not(#ethebo) { cursor: default; }
.ethebo-step-dot {
	display: grid;
	place-items: center;
	flex: 0 0 30px;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--ethebo-bg);
	box-shadow: inset 0 0 0 2px var(--ethebo-border);
	color: var(--ethebo-muted);
	font-size: 13px;
	font-weight: 700;
	transition: all .25s;
}
.ethebo-step-txt { font-size: 14px; font-weight: 600; color: var(--ethebo-muted); white-space: nowrap; }
.ethebo-steps .is-active .ethebo-step-dot { background: var(--ethebo-accent); box-shadow: none; color: var(--ethebo-accent-ink); }
.ethebo-steps .is-active .ethebo-step-txt { color: var(--ethebo-text); }
.ethebo-steps .is-done .ethebo-step-dot { background: var(--ethebo-accent-soft); box-shadow: none; color: var(--ethebo-accent); font-size: 0; }
.ethebo-steps .is-done .ethebo-step-dot::before { content: "✓"; font-size: 14px; }
.ethebo-steps .is-done .ethebo-step-txt { color: var(--ethebo-text); }

/* Faqosja: kryesorja + përmbledhja anash */
.ethebo-layout { display: grid; grid-template-columns: minmax(0, 1fr); }
.ethebo-main { display: flex; flex-direction: column; min-width: 0; margin: 0; padding: 0; }
.ethebo-panel { padding: 24px 24px 8px; animation: ethebo-in .25s ease; }
.ethebo-panel[hidden] { display: none !important; }
@keyframes ethebo-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.ethebo-panel-head { margin-bottom: 18px; }
.ethebo-scope .ethebo-h { margin: 0; font-size: 20px; font-weight: 700; line-height: 1.3; color: var(--ethebo-text); letter-spacing: -.01em; }
.ethebo-sub { margin-top: 4px !important; color: var(--ethebo-muted); font-size: 14px; }
.ethebo-sub.is-ok { color: var(--ethebo-ok); font-weight: 600; }
.ethebo-sub.is-err { color: var(--ethebo-err); font-weight: 600; }

/* Kalendari */
.ethebo-cal-months { display: flex; gap: 32px; min-height: 320px; }
.ethebo-month { flex: 1 1 0; min-width: 0; }
.ethebo-month-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	height: 40px;
	margin-bottom: 8px;
}
.ethebo-month-title { flex: 1; text-align: center; font-size: 15px; font-weight: 700; }
.ethebo-scope .ethebo-nav:not(#ethebo) {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	color: var(--ethebo-text);
	transition: background .15s;
}
.ethebo-scope .ethebo-nav:hover:not(#ethebo) { background: var(--ethebo-soft); }
.ethebo-scope .ethebo-nav[disabled]:not(#ethebo) { opacity: .25; cursor: default; background: none; }
.ethebo-nav-spacer { width: 36px; flex: 0 0 36px; }

.ethebo-days {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	row-gap: 2px;
}
.ethebo-dow {
	padding: 6px 0;
	text-align: center;
	font-size: 12px;
	font-weight: 600;
	color: var(--ethebo-muted);
}
.ethebo-scope .ethebo-day:not(#ethebo) {
	position: relative;
	display: grid;
	place-items: center;
	width: 100%;
	height: var(--ethebo-cell);
	border-radius: var(--ethebo-r-sm);
	color: var(--ethebo-text);
	font-size: 14px;
	font-weight: 500;
	text-align: center;
	transition: background .12s, color .12s;
}
.ethebo-scope .ethebo-day:hover:not(#ethebo) { background: var(--ethebo-soft); }
/* Free dates show the price of the night under the number. */
.ethebo-scope .ethebo-day.has-price:not(#ethebo) {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 1px;
	height: calc(var(--ethebo-cell) + 10px);
	line-height: 1.1;
}
.ethebo-scope .ethebo-day-p:not(#ethebo) {
	max-width: 100%;
	overflow: hidden;
	color: var(--ethebo-muted);
	font-size: 10px;
	font-weight: 500;
	letter-spacing: -.2px;
	white-space: nowrap;
}
.ethebo-scope .ethebo-day.is-start .ethebo-day-p:not(#ethebo),
.ethebo-scope .ethebo-day.is-end .ethebo-day-p:not(#ethebo) { color: var(--ethebo-accent-ink); opacity: .85; }
.ethebo-scope .ethebo-day.has-price.is-today:not(#ethebo)::after { top: 4px; bottom: auto; }
.ethebo-scope .ethebo-day.is-today:not(#ethebo) { font-weight: 800; }
.ethebo-scope .ethebo-day.is-today:not(#ethebo)::after {
	content: "";
	position: absolute;
	bottom: 6px;
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: var(--ethebo-accent);
}
.ethebo-scope .ethebo-day.is-past:not(#ethebo) { color: #d1d5db; cursor: default; background: none; }
.ethebo-scope .ethebo-day.is-booked:not(#ethebo) {
	color: #b6bcc6;
	text-decoration: line-through;
	background: repeating-linear-gradient(135deg, transparent 0 5px, #f1f3f6 5px 10px);
}
.ethebo-scope .ethebo-day.is-booked.is-checkout-ok:not(#ethebo) { cursor: pointer; }
.ethebo-scope .ethebo-day.is-range:not(#ethebo),
.ethebo-scope .ethebo-day.is-hover:not(#ethebo) {
	border-radius: 0;
	background: var(--ethebo-accent-soft);
	color: var(--ethebo-text);
}
.ethebo-scope .ethebo-day.is-start:not(#ethebo),
.ethebo-scope .ethebo-day.is-end:not(#ethebo) {
	background: var(--ethebo-accent);
	color: var(--ethebo-accent-ink);
	text-decoration: none;
	font-weight: 700;
}
.ethebo-scope .ethebo-day.is-start.has-range:not(#ethebo) { border-radius: var(--ethebo-r-sm) 0 0 var(--ethebo-r-sm); }
.ethebo-scope .ethebo-day.is-end:not(#ethebo) { border-radius: 0 var(--ethebo-r-sm) var(--ethebo-r-sm) 0; }
.ethebo-scope .ethebo-day.is-start.is-today:not(#ethebo)::after,
.ethebo-scope .ethebo-day.is-end.is-today:not(#ethebo)::after { background: var(--ethebo-accent-ink); }

.ethebo-cal-loading {
	flex: 1;
	border-radius: var(--ethebo-r-sm);
	background: linear-gradient(90deg, var(--ethebo-soft) 25%, #eef0f3 50%, var(--ethebo-soft) 75%) 0 0 / 200% 100%;
	animation: ethebo-shimmer 1.2s infinite linear;
}
@keyframes ethebo-shimmer { to { background-position: -200% 0; } }

.ethebo-legend {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
	margin-top: 14px;
	font-size: 13px;
	color: var(--ethebo-muted);
}
.ethebo-legend span { display: inline-flex; align-items: center; gap: 6px; }
.ethebo-legend i { display: inline-block; width: 14px; height: 14px; border-radius: 4px; }
.ethebo-lg-free { box-shadow: inset 0 0 0 1px var(--ethebo-border); }
.ethebo-lg-booked { background: repeating-linear-gradient(135deg, #e5e7eb 0 2px, #fff 2px 4px); box-shadow: inset 0 0 0 1px var(--ethebo-border); }
.ethebo-lg-sel { background: var(--ethebo-accent); }
.ethebo-legend-min { margin-left: auto; font-weight: 600; color: var(--ethebo-text); }

/* Mysafirët */
.ethebo-guests {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 20px;
	padding: 14px 16px;
	border: 1px solid var(--ethebo-border);
	border-radius: 12px;
}
.ethebo-guests-title { display: block; font-weight: 600; }
.ethebo-guests-sub { display: block; font-size: 13px; color: var(--ethebo-muted); }
.ethebo-counter { display: flex; align-items: center; gap: 14px; }
.ethebo-scope .ethebo-count-btn:not(#ethebo) {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	box-shadow: inset 0 0 0 1px #cfd4dc;
	color: var(--ethebo-text);
	font-size: 20px;
	line-height: 1;
	transition: box-shadow .15s;
}
.ethebo-scope .ethebo-count-btn:hover:not(#ethebo) { box-shadow: inset 0 0 0 1px var(--ethebo-text); }
.ethebo-scope .ethebo-count-btn[disabled]:not(#ethebo) { opacity: .3; cursor: not-allowed; box-shadow: inset 0 0 0 1px #cfd4dc; }
.ethebo-guests-out { min-width: 22px; text-align: center; font-size: 16px; font-weight: 700; }

/* Fushat */
.ethebo-fields { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.ethebo-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ethebo-scope .ethebo-field label {
	margin: 0;
	padding: 0;
	color: var(--ethebo-text);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: normal;
	text-transform: none;
}
.ethebo-opt { font-weight: 400; color: var(--ethebo-muted); }
.ethebo-scope .ethebo-field input:not(#ethebo),
.ethebo-scope .ethebo-field textarea:not(#ethebo) {
	width: 100%;
	max-width: none;
	min-height: 48px;
	margin: 0;
	padding: 12px 14px;
	border: 1px solid #d1d5db;
	border-radius: 12px;
	background: var(--ethebo-bg);
	box-shadow: none;
	color: var(--ethebo-text);
	font: inherit;
	font-size: 16px; /* 16px parandalon zoom-in në iPhone */
	line-height: 1.4;
	transition: border-color .15s, box-shadow .15s;
	-webkit-appearance: none;
	appearance: none;
}
.ethebo-scope .ethebo-field textarea:not(#ethebo) { min-height: 96px; resize: vertical; }
.ethebo-scope .ethebo-field input:not(#ethebo)::placeholder,
.ethebo-scope .ethebo-field textarea:not(#ethebo)::placeholder { color: #9ca3af; }
.ethebo-scope .ethebo-field input:focus:not(#ethebo),
.ethebo-scope .ethebo-field textarea:focus:not(#ethebo) {
	outline: none;
	border-color: var(--ethebo-accent);
	box-shadow: 0 0 0 4px var(--ethebo-accent-soft);
}
.ethebo-scope .ethebo-field.has-error input:not(#ethebo) { border-color: var(--ethebo-err); box-shadow: 0 0 0 4px #fee2e2; }
.ethebo-err { min-height: 0; color: var(--ethebo-err); font-size: 13px; font-weight: 500; }
.ethebo-err:empty { display: none; }
.ethebo-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Përmbledhja (hapi 3) */
.ethebo-review:not(#ethebo) {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	border: 1px solid var(--ethebo-border);
	border-radius: 12px;
	overflow: hidden;
}
.ethebo-review > div {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 12px 16px;
	border-bottom: 1px solid var(--ethebo-border);
}
.ethebo-review > div:last-child { border-bottom: 0; background: var(--ethebo-soft); }
.ethebo-review dt:not(#ethebo) { color: var(--ethebo-muted); font-size: 14px; }
.ethebo-review dd:not(#ethebo) { margin: 0; text-align: right; font-weight: 600; overflow-wrap: anywhere; }
.ethebo-review > div:last-child dd:not(#ethebo) { font-size: 18px; }
.ethebo-note { margin-top: 14px !important; font-size: 13px; color: var(--ethebo-muted); }

/* Sukses */
.ethebo-done { padding: 48px 24px; text-align: center; }
.ethebo-done-icon {
	display: grid;
	place-items: center;
	width: 72px;
	height: 72px;
	margin: 0 auto 18px;
	border-radius: 50%;
	background: #dcfce7;
	color: var(--ethebo-ok);
	animation: ethebo-pop .4s cubic-bezier(.2, 1.4, .4, 1);
}
@keyframes ethebo-pop { from { transform: scale(.5); opacity: 0; } to { transform: none; opacity: 1; } }
.ethebo-done-msg { max-width: 420px; margin: 8px auto 24px !important; color: var(--ethebo-muted); }

/* Mesazhet */
.ethebo-msg {
	margin: 12px 24px 0;
	padding: 12px 14px;
	border-radius: 12px;
	font-size: 14px;
	font-weight: 500;
	background: #fef2f2;
	color: var(--ethebo-err);
}
.ethebo-msg:empty { display: none; }

/* Shiriti i veprimeve (ngjitet poshtë në telefon) */
.ethebo-actions {
	position: sticky;
	bottom: 0;
	z-index: 5;
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 20px;
	padding: 16px 24px;
	border-top: 1px solid var(--ethebo-border);
	background: rgba(255, 255, 255, .96);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}
.ethebo-actions[hidden] { display: none; }
.ethebo-actions-total { display: flex; flex-direction: column; margin-left: auto; text-align: right; line-height: 1.2; }
.ethebo-actions-total small { font-size: 12px; color: var(--ethebo-muted); }
.ethebo-actions-total strong { font-size: 18px; font-weight: 700; }
.ethebo-scope .ethebo-next:not(#ethebo) { min-width: 150px; }
.ethebo-scope .ethebo-back[hidden]:not(#ethebo) { display: none; }

/* Përmbledhja anash */
.ethebo-aside { padding: 0 24px 24px; }
.ethebo-aside-card {
	overflow: hidden;
	border: 1px solid var(--ethebo-border);
	border-radius: 14px;
	background: var(--ethebo-bg);
}
.ethebo-aside-img { aspect-ratio: 16 / 9; background: var(--ethebo-soft); }
.ethebo-aside-img img { width: 100%; height: 100%; object-fit: cover; }
.ethebo-aside-body { display: flex; flex-direction: column; gap: 12px; padding: 16px; }
.ethebo-aside-type { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ethebo-accent); }
.ethebo-aside-title { margin-top: -8px; font-size: 16px; font-weight: 700; line-height: 1.3; }
.ethebo-aside-price { margin-top: -6px; font-size: 14px; color: var(--ethebo-muted); }
.ethebo-aside-price strong { color: var(--ethebo-text); }
.ethebo-aside-dates {
	display: grid;
	grid-template-columns: 1fr 1fr;
	border: 1px solid var(--ethebo-border);
	border-radius: 10px;
}
.ethebo-aside-dates > div { padding: 8px 12px; }
.ethebo-aside-dates > div + div { border-left: 1px solid var(--ethebo-border); }
.ethebo-aside-dates small,
.ethebo-aside-line span { display: block; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ethebo-muted); }
.ethebo-aside-dates b { font-size: 14px; }
.ethebo-aside-line { display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
.ethebo-aside-line span { display: inline; }
.ethebo-aside-calc:empty { display: none; }
.ethebo-aside-calc { display: grid; gap: 4px; font-size: 14px; color: var(--ethebo-muted); }
.ethebo-aside-calc > div { display: flex; justify-content: space-between; gap: 12px; }
.ethebo-aside-total {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	padding-top: 12px;
	border-top: 1px solid var(--ethebo-border);
	font-weight: 700;
}
.ethebo-aside-total b { font-size: 20px; }
.ethebo-trust:not(#ethebo) { display: none; margin-top: 14px; font-size: 13px; color: var(--ethebo-muted); }
.ethebo-trust li:not(#ethebo) { position: relative; padding-left: 22px; margin-bottom: 6px; }
.ethebo-trust li:not(#ethebo)::before { content: "✓"; position: absolute; left: 0; color: var(--ethebo-ok); font-weight: 700; }

/* --------------------------------------------------------------------------
 * Përshtatja sipas hapësirës që ka widget-i (container queries)
 * ----------------------------------------------------------------------- */

/* Telefon */
@container ethebo (max-width: 520px) {
	.ethebo-scope { --ethebo-cell: 42px; }
	.ethebo-steps:not(#ethebo) { padding: 14px 16px; }
	.ethebo-steps li:not(.is-active) .ethebo-step-txt { display: none; }
	.ethebo-steps li:not(:last-child):not(#ethebo)::after { margin: 0 8px; }
	.ethebo-panel { padding: 20px 16px 4px; }
	.ethebo-msg { margin: 12px 16px 0; }
	.ethebo-actions { padding: 12px 16px; gap: 10px; }
	.ethebo-scope .ethebo-next:not(#ethebo) { min-width: 0; flex: 0 0 auto; padding: 0 18px; }
	.ethebo-scope .ethebo-back span { display: none; }
	.ethebo-scope .ethebo-back:not(#ethebo) { padding: 0 14px; }
	.ethebo-aside { padding: 0 16px 16px; }
	.ethebo-aside-img { display: none; }
	.ethebo-legend-min { margin-left: 0; }
	.ethebo-review > div { flex-direction: column; gap: 2px; }
	.ethebo-review dd:not(#ethebo) { text-align: left; }
}

/* Telefon i vogël */
@container ethebo (max-width: 360px) {
	.ethebo-scope { --ethebo-cell: 38px; }
	.ethebo-scope .ethebo-day:not(#ethebo) { font-size: 13px; }
}

/* Tablet e lart: fushat në dy kolona */
@container ethebo (min-width: 521px) {
	.ethebo-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ethebo-field-full { grid-column: 1 / -1; }
}

/* Tablet: karta e përmbledhjes horizontale (foto majtas) */
@container ethebo (min-width: 521px) and (max-width: 899px) {
	.ethebo-aside-card.has-img { display: grid; grid-template-columns: 220px minmax(0, 1fr); }
	.ethebo-aside-img { aspect-ratio: auto; height: 100%; min-height: 100%; }
	/* Pa foto: datat dhe totali përdorin gjithë gjerësinë, në dy kolona. */
	.ethebo-aside-card:not(.has-img) .ethebo-aside-body {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		column-gap: 24px;
	}
	.ethebo-aside-card:not(.has-img) .ethebo-aside-body > * { grid-column: 1 / -1; }
	.ethebo-aside-card:not(.has-img) .ethebo-aside-dates { grid-column: 1; grid-row: span 3; align-self: start; }
	.ethebo-aside-card:not(.has-img) .ethebo-aside-line,
	.ethebo-aside-card:not(.has-img) .ethebo-aside-calc,
	.ethebo-aside-card:not(.has-img) .ethebo-aside-total { grid-column: 2; }
	.ethebo-aside-card:not(.has-img) .ethebo-aside-total { align-self: end; }
}

/* Kompjuter: përmbledhja anash, ngjitur */
@container ethebo (min-width: 900px) {
	.ethebo-layout { grid-template-columns: minmax(0, 1fr) 320px; }
	.ethebo-main { border-right: 1px solid var(--ethebo-border); }
	.ethebo-panel { padding: 28px 32px 8px; }
	.ethebo-msg { margin: 12px 32px 0; }
	.ethebo-actions { padding: 18px 32px; position: static; background: var(--ethebo-bg); }
	.ethebo-actions-total { display: none; }
	.ethebo-scope .ethebo-back:not(#ethebo) { margin-right: auto; }
	.ethebo-scope .ethebo-next:not(#ethebo) { margin-left: auto; }
	.ethebo-aside { padding: 28px 24px; background: var(--ethebo-soft); }
	.ethebo-aside-sticky { position: sticky; top: 100px; }
	.ethebo-aside-card { box-shadow: var(--ethebo-shadow); }
	.ethebo-trust:not(#ethebo) { display: block; }
	.ethebo-steps:not(#ethebo) { padding: 18px 32px; }
}

/* Fallback për browser-a pa container queries */
@supports not (container-type: inline-size) {
	@media (min-width: 1000px) {
		.ethebo-layout { grid-template-columns: minmax(0, 1fr) 320px; }
		.ethebo-aside { padding: 28px 24px; background: var(--ethebo-soft); }
	}
}

/* --------------------------------------------------------------------------
 * Faqja e dhomave: kërkimi, renditja, grid-i i kartave
 * ----------------------------------------------------------------------- */
.ethebo-archive {
	box-sizing: border-box;
	width: 100%;
	max-width: var(--wp--style--global--wide-size, 1240px);
	margin: 0 auto;
	padding: clamp(28px, 5vw, 64px) var(--wp--style--root--padding-right, 20px);
}
.ethebo-archive-head { margin-bottom: 24px; }
.ethebo-archive-title { margin: 0; font-size: clamp(28px, 4vw, 42px); line-height: 1.15; letter-spacing: -.02em; }
.ethebo-archive-desc { margin-top: 8px; color: #6b7280; max-width: 720px; }

.ethebo-listing { container-type: inline-size; container-name: ethebolist; }

/* Shiriti i kërkimit */
.ethebo-search {
	display: flex;
	align-items: stretch;
	gap: 8px;
	margin: 0 0 24px;
	padding: 8px;
	background: var(--ethebo-bg);
	border: 1px solid var(--ethebo-border);
	border-radius: 20px;
	box-shadow: 0 6px 24px rgba(16, 24, 40, .08);
}
.ethebo-search-wrap { container-type: inline-size; container-name: ethebosearch; }
.ethebo-search-fields { display: flex; flex: 1; min-width: 0; }
.ethebo-sf {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	flex: 1 1 0;
	min-width: 0;
	padding: 8px 18px;
	border-radius: 14px;
	transition: background .15s;
}
.ethebo-sf-q { flex-grow: 1.4; }
.ethebo-sf + .ethebo-sf::before {
	content: "";
	position: absolute;
	left: 0;
	top: 22%;
	bottom: 22%;
	width: 1px;
	background: var(--ethebo-border);
}
.ethebo-sf:hover, .ethebo-sf:focus-within { background: var(--ethebo-soft); }
.ethebo-sf:hover::before, .ethebo-sf:focus-within::before,
.ethebo-sf:hover + .ethebo-sf::before, .ethebo-sf:focus-within + .ethebo-sf::before { opacity: 0; }
.ethebo-scope .ethebo-sf label {
	margin: 0;
	color: var(--ethebo-text);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .02em;
	text-transform: none;
}
.ethebo-scope .ethebo-sf input:not(#ethebo),
.ethebo-scope .ethebo-sf select:not(#ethebo) {
	width: 100%;
	min-width: 0;
	margin: 0;
	padding: 2px 0 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: var(--ethebo-text);
	font: inherit;
	font-size: 15px;
	line-height: 1.4;
	outline: none;
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
}
.ethebo-scope .ethebo-sf input[type="search"]:not(#ethebo) { cursor: text; }
.ethebo-scope .ethebo-sf input:not(#ethebo)::placeholder { color: #9ca3af; }
.ethebo-scope .ethebo-sf input[type="date"]:not(#ethebo)::-webkit-calendar-picker-indicator { opacity: .5; cursor: pointer; }
.ethebo-scope .ethebo-sf select:not(#ethebo) {
	padding-right: 18px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") right center / 14px no-repeat;
}
.ethebo-scope .ethebo-search-btn:not(#ethebo) { flex: 0 0 auto; min-height: 56px; padding: 0 26px; border-radius: 14px; font-size: 16px; }

/* Shiriti i kërkimit në hapësirë të ngushtë (telefon, kolonë anësore). */
@container ethebosearch (max-width: 760px) {
	.ethebo-search-fields { flex-wrap: wrap; gap: 8px; }
	.ethebo-sf {
		flex: 1 1 calc(50% - 4px);
		padding: 10px 14px;
		border: 1px solid var(--ethebo-border);
		border-radius: 12px;
	}
	.ethebo-sf-q { flex-basis: 100%; }
	.ethebo-sf + .ethebo-sf::before { display: none; }
	.ethebo-search { flex-direction: column; padding: 10px; }
}
@supports not (container-type: inline-size) {
	@media (max-width: 760px) {
		.ethebo-search { flex-direction: column; }
		.ethebo-search-fields { flex-wrap: wrap; gap: 8px; }
		.ethebo-sf { flex: 1 1 calc(50% - 4px); border: 1px solid var(--ethebo-border); }
	}
}

/* Numri i rezultateve + renditja */
.ethebo-list-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0 0 18px;
}
.ethebo-list-count { margin: 0; color: var(--ethebo-muted); font-size: 15px; }
.ethebo-list-count strong { color: var(--ethebo-text); }
.ethebo-list-count span::before { content: " · "; }
.ethebo-sort { margin: 0; }
.ethebo-scope .ethebo-sort label { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; color: var(--ethebo-muted); text-transform: none; letter-spacing: normal; }
.ethebo-scope .ethebo-sort select:not(#ethebo) {
	margin: 0;
	padding: 8px 32px 8px 12px;
	border: 1px solid var(--ethebo-border);
	border-radius: 10px;
	background: var(--ethebo-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") right 10px center / 14px no-repeat;
	color: var(--ethebo-text);
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
}

/* Grid i rregullt: kolona të barabarta, sa i lejon hapësira (max = columns). */
.ethebo-grid-list {
	--ethebo-gap: 28px;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(max(250px, calc((100% - (var(--ethebo-cols, 3) - 1) * var(--ethebo-gap)) / var(--ethebo-cols, 3))), 1fr));
	gap: var(--ethebo-gap) 24px;
	margin: 0 0 28px;
}
@container ethebolist (max-width: 560px) { .ethebo-grid-list { --ethebo-gap: 20px; grid-template-columns: 1fr; } }

/* Karta */
.ethebo-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	background: var(--ethebo-bg);
	border-radius: var(--ethebo-radius);
	transition: transform .25s ease;
}
.ethebo-card:hover { transform: translateY(-3px); }
.ethebo-card-img {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: var(--ethebo-radius);
	background: var(--ethebo-soft);
	box-shadow: 0 1px 2px rgba(16, 24, 40, .06);
	transition: box-shadow .25s;
}
.ethebo-card:hover .ethebo-card-img { box-shadow: 0 14px 34px rgba(16, 24, 40, .16); }
.ethebo-scope .ethebo-card-img img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}
.ethebo-scope .ethebo-card:hover .ethebo-card-img img { transform: scale(1.05); }
.ethebo-card-noimg { display: grid; place-items: center; width: 100%; height: 100%; color: #c3c8d0; background: linear-gradient(135deg, var(--ethebo-soft), #e9ecf1); }
.ethebo-card-type,
.ethebo-card-photos {
	position: absolute;
	top: 12px;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 5px 10px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}
.ethebo-card-type { left: 12px; background: rgba(255, 255, 255, .92); color: var(--ethebo-text); }
.ethebo-card-photos { right: 12px; background: rgba(17, 24, 39, .6); color: #fff; }

.ethebo-card-body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 14px 4px 0; }
.ethebo-scope .ethebo-card-title { margin: 0; font-size: 18px; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; }
.ethebo-scope .ethebo-card-title a { color: inherit; text-decoration: none; }
/* Gjithë karta klikohet (lidhja e titullit mbulon kartën). */
.ethebo-scope .ethebo-card-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--ethebo-radius); }
.ethebo-scope .ethebo-card-title a:focus-visible { outline: none; }
.ethebo-scope .ethebo-card-title a:focus-visible::after { outline: 2px solid var(--ethebo-accent); outline-offset: 4px; }
.ethebo-card-excerpt {
	margin: 0 !important;
	color: var(--ethebo-muted);
	font-size: 14px;
	line-height: 1.5;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.ethebo-card .ethebo-chips:not(#ethebo) { position: relative; z-index: 2; margin-top: 4px; flex: 0 0 auto; }
.ethebo-card-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
	padding-top: 12px;
}
.ethebo-card-price { display: flex; flex-direction: column; color: var(--ethebo-muted); font-size: 14px; line-height: 1.35; }
.ethebo-card-price strong { color: var(--ethebo-text); font-size: 18px; }
.ethebo-card-price small { color: var(--ethebo-text); font-size: 13px; font-weight: 600; }
.ethebo-card-go {
	display: grid;
	place-items: center;
	flex: 0 0 40px;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--ethebo-soft);
	color: var(--ethebo-text);
	transition: background .2s, color .2s, transform .2s;
}
.ethebo-card:hover .ethebo-card-go { background: var(--ethebo-accent); color: var(--ethebo-accent-ink); transform: translateX(2px); }

/* Ikonat kompakte te kartat (ikonë + numër, emri si tooltip). */
.ethebo-chips.is-compact:not(#ethebo) { flex-wrap: wrap; gap: 6px; }
.ethebo-chips.is-compact li:not(#ethebo) { padding: 5px 10px; font-size: 13px; cursor: help; outline: none; }
.ethebo-chips.is-compact li:not(#ethebo)::before { width: 15px; height: 15px; }
.ethebo-chips.is-compact .ethebo-chip-num { display: inline; font-weight: 700; }
.ethebo-chips.is-compact .ethebo-chip-txt { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ethebo-chips.is-compact li:hover:not(#ethebo), .ethebo-chips.is-compact li:focus:not(#ethebo) { background: var(--ethebo-accent-soft); }
.ethebo-chips.is-compact li[data-tip]:not(#ethebo)::after {
	content: attr(data-tip);
	position: absolute;
	bottom: calc(100% + 8px);
	left: 0;
	z-index: 20;
	padding: 6px 10px;
	border-radius: 8px;
	background: var(--ethebo-text);
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	white-space: nowrap;
	pointer-events: none;
	opacity: 0;
	transform: translateY(4px);
	transition: opacity .15s, transform .15s;
}
.ethebo-chips.is-compact li:hover:not(#ethebo)::after, .ethebo-chips.is-compact li:focus:not(#ethebo)::after { opacity: 1; transform: none; }

/* Faqet */
.ethebo-pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; }
.ethebo-pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 42px;
	height: 42px;
	padding: 0 10px;
	border-radius: 12px;
	border: 1px solid var(--ethebo-border);
	color: var(--ethebo-text);
	font-weight: 600;
	text-decoration: none;
	transition: background .15s;
}
.ethebo-pagination a.page-numbers:hover { background: var(--ethebo-soft); }
.ethebo-pagination .page-numbers.current { background: var(--ethebo-text); border-color: var(--ethebo-text); color: #fff; }
.ethebo-pagination .page-numbers.dots { border: 0; }

/* Asnjë rezultat */
.ethebo-empty-state {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding: 56px 20px;
	border: 1px dashed var(--ethebo-border);
	border-radius: var(--ethebo-radius);
	color: var(--ethebo-muted);
	text-align: center;
}
.ethebo-empty-state svg { color: #c3c8d0; }
.ethebo-scope .ethebo-empty-state h3 { margin: 4px 0 0; color: var(--ethebo-text); font-size: 18px; }
.ethebo-empty-state p { margin: 0 0 8px !important; }

/* --------------------------------------------------------------------------
 * Galeria e fotove
 * ----------------------------------------------------------------------- */
.ethebo-gallery {
	position: relative;
	container-type: inline-size;
	container-name: ethebogal;
	margin: 0 0 28px;
}
.ethebo-gal-track {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	grid-template-rows: 1fr 1fr;
	gap: 8px;
	aspect-ratio: 2 / 1;
	border-radius: var(--ethebo-radius);
	overflow: hidden;
}
.ethebo-scope .ethebo-gal-item:not(#ethebo) {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	min-height: 0;
	overflow: hidden;
	background: var(--ethebo-soft);
	cursor: zoom-in;
}
.ethebo-scope .ethebo-gal-item img {
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	transition: transform .5s ease, filter .2s;
}
.ethebo-scope .ethebo-gal-item:hover img { transform: scale(1.03); filter: brightness(.92); }
.ethebo-gal-item:first-child:not(#ethebo) { grid-row: 1 / 3; }
.ethebo-gal-item:nth-child(n+6):not(#ethebo) { display: none !important; }

/* Më pak foto: faqosje më e thjeshtë. */
.ethebo-gallery[data-count="1"] .ethebo-gal-track { grid-template-columns: 1fr; grid-template-rows: 1fr; aspect-ratio: 16 / 9; }
.ethebo-gallery[data-count="2"] .ethebo-gal-track { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; aspect-ratio: 16 / 7; }
.ethebo-gallery[data-count="1"] .ethebo-gal-item:first-child:not(#ethebo),
.ethebo-gallery[data-count="2"] .ethebo-gal-item:first-child:not(#ethebo) { grid-row: auto; }
.ethebo-gallery[data-count="3"] .ethebo-gal-track,
.ethebo-gallery[data-count="4"] .ethebo-gal-track { grid-template-columns: 2fr 1fr; }
.ethebo-gallery[data-count="3"] .ethebo-gal-item:nth-child(n+4):not(#ethebo),
.ethebo-gallery[data-count="4"] .ethebo-gal-item:nth-child(n+4):not(#ethebo) { display: none !important; }

.ethebo-scope .ethebo-gal-all:not(#ethebo) {
	position: absolute;
	right: 16px;
	bottom: 16px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 14px;
	border-radius: 10px;
	background: #fff;
	color: var(--ethebo-text);
	font-size: 14px;
	font-weight: 600;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .18);
	transition: transform .1s;
}
.ethebo-scope .ethebo-gal-all:hover:not(#ethebo) { transform: translateY(-1px); }
.ethebo-gal-counter { display: none; }

/* Telefon / hapësirë e ngushtë: rrëshqitje horizontale me gisht. */
@container ethebogal (max-width: 640px) {
	.ethebo-gal-track {
		display: flex;
		gap: 0;
		aspect-ratio: auto;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
		border-radius: 14px;
	}
	.ethebo-gal-track::-webkit-scrollbar { display: none; }
	.ethebo-scope .ethebo-gal-item:not(#ethebo) {
		display: block !important;
		flex: 0 0 100%;
		height: auto;
		aspect-ratio: 4 / 3;
		scroll-snap-align: start;
	}
	.ethebo-scope .ethebo-gal-item:hover img { transform: none; filter: none; }
	.ethebo-scope .ethebo-gal-all:not(#ethebo) { display: none; }
	.ethebo-gal-counter {
		display: block;
		position: absolute;
		right: 12px;
		bottom: 12px;
		padding: 4px 10px;
		border-radius: 999px;
		background: rgba(17, 24, 39, .72);
		color: #fff;
		font-size: 12px;
		font-weight: 600;
		pointer-events: none;
	}
}

/* Lightbox (ekran i plotë) */
html.ethebo-lb-open, html.ethebo-lb-open body { overflow: hidden; }
.ethebo-lightbox {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(10, 12, 16, .95);
	animation: ethebo-in .2s ease;
}
.ethebo-lightbox[hidden] { display: none; }
.ethebo-lb-stage { display: flex; margin: 0; max-width: calc(100vw - 150px); }
.ethebo-lb-stage img {
	max-width: 100%;
	max-height: calc(100vh - 110px);
	object-fit: contain;
	border-radius: 8px;
	user-select: none;
}
.ethebo-scope .ethebo-lb-close:not(#ethebo),
.ethebo-scope .ethebo-lb-prev:not(#ethebo),
.ethebo-scope .ethebo-lb-next:not(#ethebo) {
	position: absolute;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .12);
	color: #fff;
	transition: background .15s;
}
.ethebo-scope .ethebo-lb-close:hover:not(#ethebo),
.ethebo-scope .ethebo-lb-prev:hover:not(#ethebo),
.ethebo-scope .ethebo-lb-next:hover:not(#ethebo) { background: rgba(255, 255, 255, .24); }
.ethebo-scope .ethebo-lb-close:not(#ethebo) { top: 16px; right: 16px; font-size: 30px; line-height: 1; }
.ethebo-scope .ethebo-lb-prev:not(#ethebo) { left: 20px; top: 50%; transform: translateY(-50%); }
.ethebo-scope .ethebo-lb-next:not(#ethebo) { right: 20px; top: 50%; transform: translateY(-50%); }
.ethebo-lb-counter {
	position: absolute;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	color: rgba(255, 255, 255, .85);
	font-size: 14px;
	font-weight: 600;
}
.ethebo-lightbox.is-single .ethebo-lb-prev:not(#ethebo),
.ethebo-lightbox.is-single .ethebo-lb-next:not(#ethebo),
.ethebo-lightbox.is-single .ethebo-lb-counter { display: none; }
@media (max-width: 640px) {
	.ethebo-lb-stage { max-width: 100vw; }
	.ethebo-lb-stage img { border-radius: 0; max-height: calc(100vh - 140px); }
	.ethebo-scope .ethebo-lb-prev:not(#ethebo), .ethebo-scope .ethebo-lb-next:not(#ethebo) { display: none; } /* Në telefon: rrëshqit me gisht. */
}

/* --------------------------------------------------------------------------
 * Përshkrimi: 2 rreshta + "Lexo më shumë" (pa ndryshuar shkrimin e temës)
 * ----------------------------------------------------------------------- */
.ethebo-desc { margin-bottom: 8px; }
.ethebo-desc-inner > :first-child { margin-top: 0; }
.ethebo-desc.is-collapsed .ethebo-desc-inner {
	max-height: var(--ethebo-desc-h, 3.4em);
	overflow: hidden;
	-webkit-mask-image: linear-gradient(#000 60%, transparent);
	mask-image: linear-gradient(#000 60%, transparent);
}
.ethebo-desc-toggle:not(#ethebo) {
	all: unset;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 10px;
	color: var(--ethebo-text, #111827);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 4px;
	cursor: pointer;
}
.ethebo-desc-toggle:focus-visible:not(#ethebo) { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 4px; }
.ethebo-desc-toggle[hidden]:not(#ethebo) { display: none; }
.ethebo-desc-toggle:not(#ethebo)::after {
	content: "";
	width: 7px;
	height: 7px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-2px) rotate(45deg);
	transition: transform .2s;
}
.ethebo-desc:not(.is-collapsed) .ethebo-desc-toggle:not(#ethebo)::after { transform: translateY(2px) rotate(-135deg); }
.ethebo-desc-less { display: none; }
.ethebo-desc:not(.is-collapsed) .ethebo-desc-more { display: none; }
.ethebo-desc:not(.is-collapsed) .ethebo-desc-less { display: inline; }

/* Temat klasike: fshih rreshtin "autori / data / kategoria" te faqja e pronës. */
.ethebo-property-page .entry-meta,
.ethebo-property-page .posted-on,
.ethebo-property-page .byline,
.ethebo-property-page .cat-links,
.ethebo-property-page .post-meta { display: none !important; }

/* --------------------------------------------------------------------------
 * Kalendari i datave te shiriti i kërkimit
 * ----------------------------------------------------------------------- */
.ethebo-search-wrap { position: relative; }
.ethebo-scope .ethebo-sf-btn:not(#ethebo) {
	display: block;
	width: 100%;
	padding-top: 2px;
	color: var(--ethebo-text);
	font-size: 15px;
	line-height: 1.4;
	text-align: left;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	cursor: pointer;
}
.ethebo-sf-ph { color: #9ca3af; }
.ethebo-sf-date { cursor: pointer; }
.ethebo-sf.is-active { background: var(--ethebo-bg); box-shadow: 0 4px 18px rgba(16, 24, 40, .14); }
.ethebo-sf.is-active::before, .ethebo-sf.is-active + .ethebo-sf::before { opacity: 0; }

.ethebo-dp {
	position: absolute;
	top: calc(100% + 10px);
	left: 0;
	z-index: 60;
	width: min(700px, 100%);
	padding: 20px 24px 16px;
	background: var(--ethebo-bg);
	border: 1px solid var(--ethebo-border);
	border-radius: 20px;
	box-shadow: 0 24px 60px rgba(16, 24, 40, .2);
	animation: ethebo-in .18s ease;
}
.ethebo-dp[hidden], .ethebo-dp-backdrop[hidden] { display: none; }
.ethebo-dp-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.ethebo-dp-title { display: block; font-size: 18px; font-weight: 700; line-height: 1.3; }
.ethebo-dp-sub { display: block; min-height: 20px; color: var(--ethebo-muted); font-size: 14px; }
.ethebo-scope .ethebo-dp-x:not(#ethebo) {
	display: none;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--ethebo-soft);
	font-size: 22px;
	line-height: 1;
}
.ethebo-dp-months { display: grid; grid-template-columns: repeat(var(--dp-cols, 2), minmax(0, 1fr)); gap: 32px; }
.ethebo-dp .ethebo-day:not(#ethebo) { --ethebo-cell: 42px; }
.ethebo-dp-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid var(--ethebo-border);
}
.ethebo-scope .ethebo-dp-clear:not(#ethebo) {
	color: var(--ethebo-text);
	font-size: 14px;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 4px;
	cursor: pointer;
}
.ethebo-scope .ethebo-dp-clear[disabled]:not(#ethebo) { opacity: .35; cursor: default; }
.ethebo-scope .ethebo-dp-done:not(#ethebo) { min-width: 110px; }

/* Telefon: kalendari del nga poshtë (bottom sheet). */
@media (max-width: 639px) {
	.ethebo-dp-backdrop {
		position: fixed;
		inset: 0;
		z-index: 100000;
		background: rgba(17, 24, 39, .45);
		animation: ethebo-in .2s ease;
	}
	.ethebo-dp {
		position: fixed;
		top: auto;
		right: 0;
		bottom: 0;
		left: 0 !important;
		z-index: 100001;
		width: auto;
		max-height: 88vh;
		overflow-y: auto;
		padding: 18px 18px calc(16px + env(safe-area-inset-bottom));
		border: 0;
		border-radius: 22px 22px 0 0;
		animation: ethebo-sheet .25s cubic-bezier(.2, .8, .2, 1);
	}
	.ethebo-dp::before {
		content: "";
		display: block;
		width: 40px;
		height: 4px;
		margin: -6px auto 12px;
		border-radius: 4px;
		background: #d1d5db;
	}
	.ethebo-scope .ethebo-dp-x:not(#ethebo) { display: grid; }
	.ethebo-dp .ethebo-day:not(#ethebo) { --ethebo-cell: 46px; font-size: 15px; }
	.ethebo-scope .ethebo-dp-done:not(#ethebo) { flex: 1; min-height: 48px; }
}
@keyframes ethebo-sheet { from { transform: translateY(100%); } to { transform: none; } }

/* Panelet e vogla: Mysafirë, Lloji */
.ethebo-dp.ethebo-pop-sm { width: 340px; max-width: 100%; padding: 18px 20px 14px; }
.ethebo-pop-sm .ethebo-dp-head { margin-bottom: 4px; }
@media (min-width: 640px) { .ethebo-pop-sm .ethebo-dp-head { display: none; } }
.ethebo-pop-counter { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 6px 0; }
.ethebo-pop-counter .ethebo-counter { gap: 16px; }
.ethebo-pop-counter .ethebo-guests-out { min-width: 24px; font-size: 18px; }
.ethebo-pop-list:not(#ethebo) { display: flex; flex-direction: column; gap: 2px; margin: 0 -8px; }
.ethebo-scope .ethebo-pop-list button:not(#ethebo) {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 12px 12px;
	border-radius: 10px;
	color: var(--ethebo-text);
	font-size: 15px;
	font-weight: 500;
	cursor: pointer;
}
.ethebo-scope .ethebo-pop-list button:hover:not(#ethebo),
.ethebo-scope .ethebo-pop-list button:focus-visible:not(#ethebo) { background: var(--ethebo-soft); outline: none; }
.ethebo-scope .ethebo-pop-list button.is-selected:not(#ethebo) { font-weight: 700; }
.ethebo-scope .ethebo-pop-list button.is-selected:not(#ethebo)::after {
	content: "";
	width: 6px;
	height: 11px;
	margin-right: 4px;
	border-right: 2.5px solid var(--ethebo-accent);
	border-bottom: 2.5px solid var(--ethebo-accent);
	transform: rotate(45deg) translateY(-2px);
}
.ethebo-sf-guests, .ethebo-sf-type { cursor: pointer; }
@media (max-width: 639px) {
	.ethebo-scope .ethebo-pop-list button:not(#ethebo) { padding: 14px 12px; font-size: 16px; }
}

/* --------------------------------------------------------------------------
 * Pagesa: mënyrat e pagesës (hapi 3), mesazhi pas pagesës, të dhënat bankare
 * ----------------------------------------------------------------------- */
.ethebo-pay { margin: 20px 0 0; padding: 0; border: 0; min-width: 0; }
.ethebo-scope .ethebo-pay-title { margin: 0 0 10px; padding: 0; font-size: 15px; font-weight: 700; color: var(--ethebo-text); }
.ethebo-pay-list { display: grid; gap: 10px; }
.ethebo-scope .ethebo-pay-opt {
	position: relative;
	display: flex;
	margin: 0;
	color: var(--ethebo-text);
	font-size: 15px;
	font-weight: 400;
	letter-spacing: normal;
	text-transform: none;
	align-items: center;
	gap: 14px;
	padding: 14px 16px;
	border: 1px solid var(--ethebo-border);
	border-radius: 14px;
	cursor: pointer;
	transition: border-color .15s, box-shadow .15s, background .15s;
}
.ethebo-pay-opt:hover { border-color: #c7ccd4; }
.ethebo-pay-opt.is-checked {
	border-color: var(--ethebo-accent);
	background: color-mix(in srgb, var(--ethebo-accent) 4%, #fff);
	box-shadow: 0 0 0 1px var(--ethebo-accent);
}
.ethebo-pay-opt input:not(#ethebo) { position: absolute; opacity: 0; pointer-events: none; }
.ethebo-pay-opt:focus-within { box-shadow: 0 0 0 3px var(--ethebo-accent-soft); }
.ethebo-pay-opt.is-checked:focus-within { box-shadow: 0 0 0 1px var(--ethebo-accent), 0 0 0 4px var(--ethebo-accent-soft); }
.ethebo-pay-ico {
	display: grid;
	place-items: center;
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: var(--ethebo-soft);
	color: var(--ethebo-text);
}
.ethebo-pay-opt.is-checked .ethebo-pay-ico { background: var(--ethebo-accent); color: var(--ethebo-accent-ink); }
.ethebo-pay-txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.ethebo-pay-txt strong { font-size: 15px; }
.ethebo-pay-txt small { color: var(--ethebo-muted); font-size: 13px; }
/* Rrethi i zgjedhjes në të djathtë. */
.ethebo-pay-opt::after {
	content: "";
	flex: 0 0 20px;
	width: 20px;
	height: 20px;
	margin-left: auto;
	border: 2px solid #c7ccd4;
	border-radius: 50%;
	transition: border .15s;
}
.ethebo-pay-opt.is-checked::after { border: 6px solid var(--ethebo-accent); }
.ethebo-pay-due {
	margin: 12px 0 0 !important;
	padding: 10px 14px;
	border-radius: 10px;
	background: var(--ethebo-accent-soft);
	color: var(--ethebo-text);
	font-size: 14px;
	font-weight: 600;
}
.ethebo-pay-due[hidden] { display: none; }

.ethebo-pay-notice {
	margin: 0 0 24px;
	padding: 16px 18px 16px 50px;
	border-radius: 14px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.45;
	position: relative;
}
.ethebo-pay-notice::before {
	content: "";
	position: absolute;
	left: 18px;
	top: 17px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: currentColor;
	-webkit-mask: var(--i) center / 14px no-repeat;
	mask: var(--i) center / 14px no-repeat;
	box-shadow: inset 0 0 0 20px currentColor;
}
.ethebo-pay-notice.is-success { background: #dcfce7; color: #166534; --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7' fill='none' stroke='black' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E"); }
.ethebo-pay-notice.is-warning { background: #fef3c7; color: #92400e; }
.ethebo-pay-notice.is-info { background: #f3f4f6; color: #374151; }
.ethebo-pay-notice.is-warning::before, .ethebo-pay-notice.is-info::before { -webkit-mask: none; mask: none; box-shadow: none; background: none; border: 2px solid currentColor; width: 16px; height: 16px; }

.ethebo-done-details {
	max-width: 420px;
	margin: -8px auto 24px;
	padding: 14px 16px;
	border-radius: 12px;
	background: var(--ethebo-soft);
	text-align: left;
	font-size: 14px;
}
.ethebo-done-details strong { display: block; margin-bottom: 6px; }
.ethebo-done-details div { white-space: pre-wrap; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; }

/* --------------------------------------------------------------------------
 * Pagesa brenda faqes (Stripe / PayPal)
 * ----------------------------------------------------------------------- */
.ethebo-paybox {
	position: relative;
	min-height: 120px;
	padding: 18px;
	border: 1px solid var(--ethebo-border);
	border-radius: 16px;
	background: var(--ethebo-bg);
	box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
}
.ethebo-pay-loading { display: none; }
.ethebo-paypanel.is-loading .ethebo-pay-loading {
	display: block;
	position: absolute;
	inset: 0;
	border-radius: 16px;
	background: linear-gradient(90deg, var(--ethebo-soft) 25%, #eef0f3 50%, var(--ethebo-soft) 75%) 0 0 / 200% 100%;
	animation: ethebo-shimmer 1.2s infinite linear;
}
.ethebo-paypanel.is-loading .ethebo-pay-mount { opacity: .4; pointer-events: none; }
.ethebo-pay-error { margin-top: 12px; color: var(--ethebo-err); font-size: 14px; font-weight: 600; }
.ethebo-pay-error:empty { display: none; }
.ethebo-scope .ethebo-pay-submit:not(#ethebo) { width: 100%; min-height: 54px; margin-top: 16px; font-size: 16px; border-radius: 14px; }
.ethebo-scope .ethebo-pay-submit[hidden]:not(#ethebo) { display: none; }
.ethebo-scope .ethebo-pay-submit.is-loading:not(#ethebo)::before {
	content: "";
	width: 16px;
	height: 16px;
	border: 2px solid currentColor;
	border-right-color: transparent;
	border-radius: 50%;
	animation: ethebo-spin .7s linear infinite;
}
@keyframes ethebo-spin { to { transform: rotate(360deg); } }
.ethebo-secure {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin: 14px 0 0 !important;
	color: var(--ethebo-muted);
	font-size: 13px;
	text-align: center;
}
.ethebo-secure svg { flex: 0 0 auto; color: var(--ethebo-ok); }
.ethebo-scope .ethebo-pay-back:not(#ethebo) {
	display: block;
	margin: 14px auto 18px;
	color: var(--ethebo-muted);
	font-size: 14px;
	text-decoration: underline;
	text-underline-offset: 4px;
	cursor: pointer;
}
.ethebo-scope .ethebo-pay-back:hover:not(#ethebo) { color: var(--ethebo-text); }

/* Booking off (property above the plan's limit) / admin-only notes */
.ethebo-booking-off, .ethebo-admin-note { margin: 20px 0; padding: 14px 18px; border-radius: 12px; background: #fff8e5; border: 1px solid #f0d8a8; color: #3c434a; font-size: 15px; }
.ethebo-booking-off p { margin: 0; }
