/*
 * qelq-core front end, design v3: group "gifts" (Dhurata, Për të dy, Zbukurime festive, Kupon dhuratë).
 * Values from QDhurata / QPerTeDy / QFestive / QKupon .dc.html. Everything is scoped under .q3.
 * Breakpoints are container queries on .q3 (900 px), as in the design.
 */

/* ------------------------------------------------------------------ shared bits */
.q3 .q3-gf-self-start { align-self: flex-start; }
.q3 .q3-gf-ink { color: var(--q3-ink); }
.q3 .q3-gf-wide { max-width: none; }
.q3 .q3-gf-nopad { padding-top: 0; }
.q3 .q3-gf-caption { font-size: 13.5px; line-height: 1.45; color: var(--q3-ink-3); }
.q3 .q3-btn--lg { min-height: 56px; font-size: 17px; }
.q3 .q3-chip[aria-selected="true"] { background: var(--q3-navy); color: var(--q3-white); }
.q3 .q3-gf-note-line { font-size: 14.5px; line-height: 1.45; color: var(--q3-ink-3); }

/* Check list (✓ lines). */
.q3 .q3-gf-checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.q3 .q3-gf-checks li { display: flex; align-items: flex-start; gap: 10px; font-size: 16px; line-height: 1.45; }
.q3 .q3-gf-checks svg { flex: none; }

/* Photo + text block on peach (voucher, collection). */
.q3 .q3-gf-feature {
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	gap: 24px clamp(24px, 4.4cqw, 64px);
}
.q3 .q3-gf-feature__media { flex: 1 1 320px; min-width: 0; }
.q3 .q3-gf-feature__media img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.q3 .q3-gf-feature__text { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.q3 .q3-gf-feature__p { font-size: 17px; line-height: 1.55; max-width: 560px; color: var(--q3-ink); }

/* Door cards (two per row on desktop when wide). */
.q3 .q3-gf-doors { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 16px; }
.q3 .q3-gf-doors--wide { grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); }

/* Big price, line items. */
.q3 .q3-gf-bigprice { font-family: var(--q3-f-head); font-size: 28px; line-height: 1.2; font-weight: 600; }
.q3 .q3-gf-lines { margin: 0; display: flex; flex-direction: column; border-bottom: 1px solid var(--q3-line); }
.q3 .q3-gf-lines > div {
	padding: 10px 0;
	border-top: 1px solid var(--q3-line);
	display: flex;
	justify-content: space-between;
	gap: 12px;
	font-size: 16px;
	line-height: 1.45;
}
.q3 .q3-gf-lines dd { margin: 0; font-weight: 600; white-space: nowrap; }

/* Add to basket + "added" state. */
.q3 .q3-gf-cart { display: flex; flex-direction: column; gap: 8px; }
.q3 .q3-gf-cart.is-added .q3-gf-cart__form,
.q3 .q3-gf-cart.is-added .q3-gf-vform > .q3-btn { display: none; }
.q3 .q3-gf-added { display: flex; flex-direction: column; gap: 8px; }
.q3 .q3-gf-added__box {
	padding: 4px 16px;
	border: 2px solid var(--q3-navy);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0 16px;
	font-size: 15px;
	font-weight: 600;
}
.q3 .q3-gf-added__msg { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.q3 .q3-gf-added__msg svg { flex: none; }
.q3 [data-q3-busy="1"] button[type="submit"] { opacity: 0.6; cursor: progress; }

/* ------------------------------------------------------------------ Dhurata */
.q3 .q3-gf-facts {
	margin: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr));
	gap: 0 24px;
	border-top: 1px solid var(--q3-line);
	border-bottom: 1px solid var(--q3-line);
}
.q3 .q3-gf-facts__item { padding: 14px 0; display: flex; flex-direction: column; gap: 2px; }
.q3 .q3-gf-facts dd { margin: 0; font-family: var(--q3-f-head); font-size: 17px; line-height: 1.3; font-weight: 600; }

.q3 .q3-gf-panel { display: flex; flex-direction: column; gap: 24px; }
.q3 .q3-gf-panel__text { max-width: 760px; }
.q3 .q3-gf-tabbed .q3-gf-panel__label {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.q3 .q3-gf-steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
	gap: 24px;
}
.q3 .q3-gf-steps li { display: flex; flex-direction: column; gap: 8px; padding-top: 14px; border-top: 2px solid var(--q3-navy); }
.q3 .q3-gf-steps__nr { font-family: var(--q3-f-head); font-size: 15px; font-weight: 600; color: var(--q3-ink-3); }

.q3 .q3-gf-visit { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 40px; }
.q3 .q3-gf-visit .q3-head { max-width: 640px; }
.q3 .q3-gf-visit .q3-btn svg { flex: none; }

/* ------------------------------------------------------------------ Për të dy and Kupon: buy block */
.q3 .q3-gf-intro--tight { gap: 12px; }
.q3 .q3-gf-buy { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 24px clamp(24px, 4.4cqw, 64px); }
.q3 .q3-gf-buy__media { flex: 1 1 440px; min-width: 0; max-width: 660px; display: flex; flex-direction: column; gap: 10px; }
.q3 .q3-gf-buy__text { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.q3 .q3-gf-buy--kupon { gap: 28px clamp(24px, 4.4cqw, 64px); }
.q3 .q3-gf-buy--kupon .q3-gf-buy__media { flex-basis: 400px; max-width: none; }
.q3 .q3-gf-stack { display: flex; flex-direction: column; gap: 16px; }
.q3 .q3-gf-lead { font-size: 17px; line-height: 1.5; color: var(--q3-ink); }

.q3 .q3-gf-pairimgs { display: flex; gap: 2px; }
.q3 .q3-gf-pairimgs__one { flex: 1 1 0; min-width: 0; aspect-ratio: 1 / 1; background: var(--q3-sand); display: block; }
.q3 .q3-gf-pairimgs__one img { display: block; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.q3 .q3-gf-pairimgs__one.is-sold img { opacity: 0.4; }

.q3 .q3-gf-tagrow { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; }
.q3 .q3-gf-tag {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 8px;
	background: var(--q3-peach);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
}
.q3 .q3-gf-tag__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--q3-navy); flex: none; }
.q3 .q3-gf-soldbox { padding: 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }

/* ------------------------------------------------------------------ Zbukurime festive */
.q3 .q3-gf-mini { margin: 6px 0 0; width: 100%; display: flex; flex-direction: column; font-size: 14.5px; line-height: 1.4; }
.q3 .q3-gf-mini > div { padding: 7px 0; border-top: 1px solid var(--q3-line); display: flex; justify-content: space-between; gap: 12px; }
.q3 .q3-gf-mini dt { flex: none; color: var(--q3-ink-3); }
.q3 .q3-gf-mini dd { margin: 0; font-weight: 600; text-align: right; }

.q3 .q3-gf-orn { display: flex; flex-direction: column; min-width: 0; background: var(--q3-sand); }
.q3 .q3-gf-orn__img { display: block; aspect-ratio: 1 / 1; }
.q3 .q3-gf-orn__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.q3 .q3-gf-orn__body { padding: 10px 14px 14px; display: flex; flex-direction: column; gap: 6px; }
.q3 .q3-gf-orn__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 8px; }
.q3 .q3-gf-orn__name { font-family: var(--q3-f-head); font-size: 16px; line-height: 1.3; font-weight: 600; color: var(--q3-navy); text-decoration: none; }
.q3 .q3-gf-orn__name:hover { text-decoration: underline; text-underline-offset: 4px; }
.q3 .q3-gf-orn__price { font-size: 15px; font-weight: 600; white-space: nowrap; }
.q3 .q3-gf-orn form { margin: 0; }
.q3 .q3-gf-toggle {
	width: 100%;
	min-height: 44px;
	padding: 0 12px;
	border: 1.5px solid var(--q3-navy);
	border-radius: var(--q3-radius);
	background: var(--q3-white);
	color: var(--q3-navy);
	font-family: var(--q3-f-body);
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
}
.q3 .q3-gf-toggle:hover { background: var(--q3-sand-2); }
.q3 .q3-gf-toggle[aria-pressed="true"] { background: var(--q3-navy); color: var(--q3-white); }
.q3 .q3-gf-note { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.q3 .q3-gf-note .q3-body { max-width: 820px; }

/* ------------------------------------------------------------------ Kupon */
.q3 .q3-gf-vc {
	aspect-ratio: 16 / 10;
	padding: clamp(20px, 3cqw, 40px);
	background: var(--q3-peach);
	border: 2px solid var(--q3-navy);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 12px;
	overflow: hidden;
}
.q3 .q3-gf-vc__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.q3 .q3-gf-vc__logo { display: flex; align-items: center; color: var(--q3-navy); }
.q3 .q3-gf-vc__logo .q3-logo__img { height: 34px; }
.q3 .q3-gf-vc__kick { text-align: right; }
.q3 .q3-gf-vc__mid { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.q3 .q3-gf-vc__for {
	font-family: var(--q3-f-head);
	font-size: clamp(22px, 2.4cqw, 32px);
	line-height: 1.15;
	font-weight: 600;
	overflow-wrap: anywhere;
}
.q3 .q3-gf-vc__from { font-size: 16px; overflow-wrap: anywhere; }
.q3 .q3-gf-vc__bot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; font-size: 14px; font-weight: 600; }

.q3 .q3-gf-vform { display: flex; flex-direction: column; gap: 16px; }
.q3 .q3-gf-opts { margin: 0; padding: 0; border: 0; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.q3 .q3-gf-opts legend { padding: 0; margin: 0 0 6px; }
.q3 .q3-gf-opts__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.q3 .q3-gf-opt {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 48px;
	padding: 0 14px;
	border: 1.5px solid var(--q3-navy);
	border-radius: var(--q3-radius);
	background: var(--q3-white);
	color: var(--q3-navy);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
	cursor: pointer;
}
.q3 .q3-gf-opt input {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: pointer;
}
.q3 .q3-gf-opt:hover { background: var(--q3-sand-2); }
.q3 .q3-gf-opt:has(input:checked),
.q3 .q3-gf-opt.is-on { background: var(--q3-peach); box-shadow: inset 0 -3px 0 var(--q3-navy); }
.q3 .q3-gf-opt:has(input:focus-visible) { outline: 2px solid var(--q3-navy); outline-offset: 2px; box-shadow: 0 0 0 5px var(--q3-peach), inset 0 -3px 0 var(--q3-navy); }
.q3 .q3-gf-names { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); gap: 16px; }

.q3 .q3-gf-jstrip { list-style: none; margin: 0; padding: 0; display: flex; align-items: stretch; }
.q3 .q3-gf-jstrip__st {
	flex: 1 1 0;
	min-width: 0;
	padding: 16px 14px;
	background: var(--q3-sand);
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
}
.q3 .q3-gf-jstrip__st > svg { flex: none; }
.q3 .q3-gf-jstrip__ar { flex: none; width: 26px; display: flex; align-items: center; justify-content: center; color: var(--q3-navy); }
.q3 .q3-gf-jstrip__txt { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.q3 .q3-gf-jstrip__t { font-family: var(--q3-f-head); font-size: 17px; line-height: 1.25; font-weight: 600; }
.q3 .q3-gf-jstrip__nr { color: var(--q3-ink-3); margin-right: 8px; }
.q3 .q3-gf-jstrip .q3-text { line-height: 1.45; }

.q3 .q3-gf-check { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 24px clamp(24px, 4.4cqw, 64px); }
.q3 .q3-gf-check__text { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.q3 .q3-gf-check__box { flex: 1 1 340px; min-width: 0; padding: clamp(16px, 2cqw, 24px); }
.q3 .q3-gf-check__form { margin: 0; }
.q3 .q3-gf-check__row { display: flex; gap: 8px; }
.q3 .q3-gf-check__row .q3-input { flex: 1 1 auto; min-width: 0; }
.q3 .q3-gf-check__row .q3-btn { flex: none; }
.q3 .q3-gf-code {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	gap: 8px;
	padding: 8px 10px;
	border: 1.5px solid var(--q3-err);
	background: var(--q3-white);
	color: var(--q3-err);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
}
.q3 .q3-gf-code.is-ok { border-color: var(--q3-navy); background: var(--q3-peach); color: var(--q3-navy); }
/* The code check needs JS (REST); without it the whole block is left out. */
html:not(.q3-js) .q3 .q3-gf-jsonly { display: none; }

.q3 .q3-gf-faq { max-width: 860px; }
.q3 .q3-gf-faq__a { font-size: 17px; line-height: 1.55; color: var(--q3-ink-2); padding: 0 0 20px; max-width: 680px; }

/* ------------------------------------------------------------------ container queries */
@container (max-width: 899px) {
	.q3 .q3-gf-dcard { flex-direction: row; }
	.q3 .q3-gf-dcard > img {
		flex: 0 0 112px;
		width: 112px;
		aspect-ratio: auto;
		min-height: 112px;
		height: auto;
		align-self: stretch;
	}
	.q3 .q3-gf-jstrip { flex-direction: column; gap: 2px; }
	.q3 .q3-gf-jstrip__st { flex-direction: row; align-items: center; padding: 12px 14px; }
	.q3 .q3-gf-jstrip__st > svg { width: 40px; height: 40px; }
	.q3 .q3-gf-jstrip__ar { display: none; }
}
