/* SmartFish Event Planner – front-end. Scoped under .gleb, RTL first. */

.gleb {
	--gleb-ink: #1f1f1d;
	--gleb-muted: #5f5f5a;
	--gleb-blue: #b7cddf;
	--gleb-blue-soft: #e9f0f6;
	--gleb-blue-ink: #3f6683;
	--gleb-orange: #f9b35e;
	--gleb-orange-ink: #8a5208;
	--gleb-cream: #faf9ee;
	--gleb-line: #e7e4d8;
	--gleb-bad: #a3271f;
	--gleb-radius: 2px;
	--gleb-font: "Open Sans Hebrew", Assistant, "Open Sans", Arial, sans-serif;
	direction: rtl;
	text-align: right;
	color: var(--gleb-ink);
	font-family: var(--gleb-font);
	line-height: 1.5;
	box-sizing: border-box;
}
.gleb *, .gleb *::before, .gleb *::after { box-sizing: inherit; }
.gleb img { max-width: 100%; height: auto; display: block; }
.gleb button { font-family: inherit; }
/* Neutralise the theme's global button skin (pink border / hover) inside the builder. */
.gleb button { border-radius: var(--gleb-radius); text-transform: none; letter-spacing: normal; font-weight: inherit; }
.gleb button:hover, .gleb button:focus { background-color: transparent; color: inherit; }


.gleb .gleb-sr {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.gleb :focus-visible { outline: 3px solid var(--gleb-orange); outline-offset: 2px; }

.gleb .gleb-eyebrow {
	margin: 0 0 .5rem; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase;
	color: var(--gleb-orange-ink); font-weight: 600;
}

/* ---------- Buttons ---------- */
.gleb .gleb-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
	min-height: 48px; padding: .7rem 1.6rem; border: 1px solid transparent; border-radius: var(--gleb-radius);
	font-size: 1.05rem; font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer;
	transition: background-color .2s, color .2s, border-color .2s;
}
.gleb .gleb-btn--primary { background: var(--gleb-ink); color: #fff; }
.gleb .gleb-btn--primary:hover, .gleb .gleb-btn--primary:focus-visible { background: var(--gleb-blue-ink); color: #fff; }
.gleb .gleb-btn--dark { background: var(--gleb-ink); color: #fff; }
.gleb .gleb-btn--ghost { background: transparent; color: var(--gleb-ink); border-color: var(--gleb-ink); }
.gleb .gleb-btn--ghost:hover { background: var(--gleb-ink); color: #fff; }
.gleb .gleb-btn--sm { min-height: 38px; padding: .35rem 1rem; font-size: .95rem; }
.gleb .gleb-btn--block { width: 100%; }
.gleb .gleb-btn[disabled] { opacity: .55; cursor: wait; }

.gleb .gleb-link {
	background: none; border: 0; padding: .35rem 0; min-height: 32px; cursor: pointer;
	color: var(--gleb-blue-ink); font-size: .95rem; font-weight: 700; text-decoration: underline;
	text-underline-offset: 3px;
}
.gleb .gleb-link:hover { color: var(--gleb-ink); }
.gleb .gleb-link--muted { color: var(--gleb-muted); font-weight: 400; }

/* ---------- Hub ---------- */
.gleb-hub { max-width: 1240px; margin: 0 auto; padding: clamp(2rem, 5vw, 4.5rem) 1.25rem; }
.gleb .gleb-hub__head { max-width: 760px; margin: 0 auto clamp(2rem, 4vw, 3.5rem); text-align: center; }
.gleb .gleb-hub__title {
	margin: 0 0 1rem; font-size: clamp(2rem, 4.2vw, 3.2rem); line-height: 1.15; font-weight: 700; color: var(--gleb-ink);
}
.gleb .gleb-hub__subtitle { margin: 0; font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--gleb-muted); }
.gleb .gleb-hub__grid {
	list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(1.5rem, 3vw, 2.5rem);
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
}
/* A single event should not stretch across the whole page. */
.gleb .gleb-hub__grid:has(> :only-child) { max-width: 640px; margin-inline: auto; }
.gleb .gleb-card { display: flex; flex-direction: column; background: #fff; }
.gleb .gleb-card__media { display: block; overflow: hidden; aspect-ratio: 4 / 3; background: var(--gleb-cream); }
.gleb .gleb-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gleb .gleb-card:hover .gleb-card__img { transform: scale(1.03); }
.gleb .gleb-card__body { padding: 1.4rem 0 0; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.gleb .gleb-card__type { margin: 0; font-size: .85rem; color: var(--gleb-orange-ink); font-weight: 600; }
.gleb .gleb-card__title { margin: 0; font-size: clamp(1.4rem, 2.2vw, 1.75rem); line-height: 1.2; }
.gleb .gleb-card__title a { color: inherit; text-decoration: none; }
.gleb .gleb-card__title a:hover { text-decoration: underline; text-underline-offset: 4px; }
.gleb .gleb-card__excerpt { margin: 0; color: var(--gleb-muted); font-size: 1.05rem; }
.gleb .gleb-card__facts { display: flex; flex-wrap: wrap; gap: .5rem 2rem; margin: .4rem 0 .6rem; padding: .8rem 0; border-top: 1px solid var(--gleb-line); border-bottom: 1px solid var(--gleb-line); }
.gleb .gleb-card__facts div { display: flex; flex-direction: column; }
.gleb .gleb-card__facts dt { font-size: .85rem; color: var(--gleb-muted); }
.gleb .gleb-card__facts dd { margin: 0; font-size: 1.15rem; font-weight: 700; }
.gleb .gleb-card__cta { align-self: flex-start; margin-top: auto; }

/* ---------- Single ---------- */
.gleb-single { background: #fff; padding-bottom: 6rem; }
.gleb .gleb-wrap { max-width: 1320px; margin: 0 auto; padding: 1.25rem 1.25rem 0; }
.gleb .gleb-crumbs { font-size: .9rem; color: var(--gleb-muted); margin-bottom: 1rem; display: flex; gap: .4rem; flex-wrap: wrap; }
.gleb .gleb-crumbs a { color: var(--gleb-blue-ink); }

.gleb .gleb-layout { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 961px) {
	.gleb .gleb-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 4vw, 4rem); align-items: start; }
	.gleb .gleb-media { align-self: stretch; }
	.gleb .gleb-media__sticky { position: sticky; top: calc(var(--gleb-sticky-top, 24px)); }
}

.gleb .gleb-hero { margin: 0; background: var(--gleb-cream); aspect-ratio: 4 / 3; overflow: hidden; }
.gleb .gleb-hero__img { width: 100%; height: 100%; object-fit: cover; }
.gleb .gleb-thumbs { list-style: none; margin: .75rem 0 0; padding: 0; display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: thin; }
.gleb .gleb-thumb { display: block; width: 76px; height: 76px; padding: 0; border: 2px solid transparent; background: none; cursor: pointer; flex: none; }
.gleb .gleb-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gleb .gleb-thumb[aria-pressed="true"] { border-color: var(--gleb-ink); }

.gleb .gleb-title { margin: 0 0 .75rem; font-size: clamp(1.9rem, 3.6vw, 2.8rem); line-height: 1.12; font-weight: 700; }
.gleb .gleb-lead { margin: 0 0 1.5rem; font-size: clamp(1.1rem, 1.5vw, 1.25rem); color: var(--gleb-muted); }

.gleb .gleb-controls {
	display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem;
	padding: 1.25rem 1.4rem; background: var(--gleb-cream); border: 1px solid var(--gleb-line); margin-bottom: 2rem;
}
.gleb .gleb-guests__label { display: block; font-weight: 700; font-size: 1.1rem; margin-bottom: .4rem; }
.gleb .gleb-hint { margin: .35rem 0 0; font-size: .85rem; color: var(--gleb-muted); }
.gleb .gleb-estimate { display: flex; flex-direction: column; align-items: flex-start; }
.gleb .gleb-estimate__label { font-size: .9rem; color: var(--gleb-muted); }
.gleb .gleb-estimate__total { font-size: clamp(1.7rem, 3vw, 2.2rem); line-height: 1.1; font-variant-numeric: tabular-nums; }
.gleb .gleb-estimate__per { font-size: .95rem; color: var(--gleb-muted); }

/* Stepper (LTR inside so + and − keep a familiar order is not needed; logical order in RTL: + first) */
.gleb .gleb-stepper { display: inline-flex; align-items: stretch; border: 1px solid #bcb9ad; background: #fff; }
.gleb .gleb-stepper__btn {
	width: 38px; min-height: 38px; border: 0; background: #fff; color: var(--gleb-ink);
	font-size: 1.25rem; line-height: 1; cursor: pointer;
}
.gleb .gleb-stepper__btn:hover { background: var(--gleb-blue-soft); }
.gleb .gleb-stepper__input {
	width: 56px; border: 0; border-inline: 1px solid var(--gleb-line); text-align: center; font: inherit;
	font-weight: 700; font-variant-numeric: tabular-nums; -moz-appearance: textfield; appearance: textfield; padding: 0;
	background: #fff; color: var(--gleb-ink); min-height: 38px;
}
.gleb .gleb-stepper__input::-webkit-outer-spin-button, .gleb .gleb-stepper__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.gleb .gleb-stepper--lg .gleb-stepper__btn { width: 48px; min-height: 48px; font-size: 1.5rem; }
.gleb .gleb-stepper--lg .gleb-stepper__input { width: 76px; font-size: 1.35rem; }

/* Groups + items */
.gleb .gleb-group { margin-bottom: 2rem; }
.gleb .gleb-group__head {
	display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
	border-bottom: 2px solid var(--gleb-ink); padding-bottom: .45rem; margin-bottom: .25rem;
}
.gleb .gleb-group__title { margin: 0; font-size: 1.3rem; font-weight: 700; }
.gleb .gleb-group__sum { font-weight: 700; font-variant-numeric: tabular-nums; color: var(--gleb-muted); white-space: nowrap; }
.gleb .gleb-group__extra { margin: 1rem 0 .25rem; font-size: .9rem; font-weight: 700; color: var(--gleb-muted); }
.gleb .gleb-items { list-style: none; margin: 0; padding: 0; }

.gleb .gleb-item {
	display: grid; grid-template-columns: 76px minmax(0, 1fr) auto auto; grid-template-areas: "img body qty total";
	gap: .4rem 1rem; align-items: center; padding: .9rem 0; border-bottom: 1px solid var(--gleb-line);
}
.gleb .gleb-item__img { grid-area: img; display: block; width: 76px; height: 76px; background: var(--gleb-cream); overflow: hidden; }
.gleb .gleb-item__img img { width: 100%; height: 100%; object-fit: cover; }
.gleb .gleb-noimg { display: block; width: 100%; height: 100%; background: repeating-linear-gradient(45deg, var(--gleb-cream), var(--gleb-cream) 8px, #f1efe3 8px, #f1efe3 16px); }
.gleb .gleb-item__body { grid-area: body; min-width: 0; }
.gleb .gleb-item__name { color: var(--gleb-ink); font-weight: 700; font-size: 1.05rem; text-decoration: none; }
.gleb .gleb-item__name:hover { text-decoration: underline; text-underline-offset: 3px; }
.gleb .gleb-item__meta { margin: .15rem 0 0; font-size: .9rem; color: var(--gleb-muted); display: flex; flex-wrap: wrap; gap: .2rem .9rem; }
.gleb .gleb-item__rule::before { content: "·"; margin-inline-end: .9rem; }
.is-ask { color: var(--gleb-orange-ink); font-weight: 600; }
.gleb .gleb-item__warn { margin: .35rem 0 0; padding: .35rem .6rem; font-size: .88rem; color: var(--gleb-bad); background: #fbeceb; border-inline-start: 3px solid var(--gleb-bad); }
.gleb .gleb-item__note { margin: .35rem 0 0; font-size: .85rem; color: var(--gleb-orange-ink); }
.gleb .gleb-item__actions { display: flex; flex-wrap: wrap; gap: 0 1.1rem; margin-top: .15rem; align-items: center; }
.gleb .gleb-item__qty { grid-area: qty; }
.gleb .gleb-item__count { font-weight: 700; font-size: 1.05rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.gleb .gleb-item__total { grid-area: total; min-width: 5.5rem; text-align: left; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.gleb .gleb-item.is-off { opacity: .85; }
.gleb .gleb-item.is-off .gleb-item__img { filter: grayscale(.4); opacity: .8; }

.gleb .gleb-fallback { padding-inline-start: 1.2rem; }
.gleb.is-ready .gleb-fallback { display: none; }

/* Summary */
.gleb .gleb-summary { margin-top: 1rem; padding: 1.5rem 1.4rem; background: var(--gleb-cream); border: 1px solid var(--gleb-line); scroll-margin-top: var(--gleb-sticky-top, 90px); }
.gleb .gleb-summary__title { margin: 0 0 1rem; font-size: 1.35rem; }
.gleb .gleb-summary__rows { margin: 0; }
.gleb .gleb-summary__rows div { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; border-bottom: 1px dashed var(--gleb-line); }
.gleb .gleb-summary__rows dt { color: var(--gleb-muted); }
.gleb .gleb-summary__rows dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.gleb .gleb-summary__rows .gleb-summary__total dt { color: var(--gleb-ink); font-weight: 700; font-size: 1.15rem; }
.gleb .gleb-summary__rows .gleb-summary__total dd { font-size: 1.5rem; }
.gleb .gleb-summary__warn { margin: 1rem 0 0; padding: .6rem .8rem; background: #fff4e3; border-inline-start: 3px solid var(--gleb-orange); color: var(--gleb-orange-ink); font-weight: 600; font-size: .95rem; }
.gleb .gleb-summary__notes { margin: 1rem 0 1.25rem; padding: 0; list-style: none; font-size: .92rem; color: var(--gleb-muted); }
.gleb .gleb-summary__notes li { padding-inline-start: 1.1rem; position: relative; margin-bottom: .2rem; }
.gleb .gleb-summary__notes li::before { content: ""; position: absolute; inset-inline-start: 0; top: .6em; width: 6px; height: 6px; background: var(--gleb-blue); }
.gleb .gleb-quote-msg:empty { display: none; }

.gleb .gleb-about { max-width: 860px; margin: clamp(3rem, 6vw, 5rem) auto 0; font-size: 1.1rem; }
.gleb .gleb-about h2 { font-size: 1.6rem; }

/* Sticky price bar */
.gleb .gleb-bar {
	position: fixed; inset-inline: 0; bottom: 0; z-index: 9990; background: #fff; border-top: 1px solid var(--gleb-line);
	box-shadow: 0 -6px 24px rgba(0, 0, 0, .08); transition: transform .25s ease;
}
.gleb .gleb-bar.is-hidden { transform: translateY(110%); }
.gleb .gleb-bar__inner { max-width: 1320px; margin: 0 auto; padding: .65rem 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.gleb .gleb-bar__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem .7rem; }
.gleb .gleb-bar__label { font-size: .85rem; color: var(--gleb-muted); width: 100%; }
.gleb .gleb-bar__price strong { font-size: 1.45rem; font-variant-numeric: tabular-nums; }
.gleb .gleb-bar__per { font-size: .9rem; color: var(--gleb-muted); }
.gleb .gleb-bar .gleb-btn { min-height: 44px; padding: .5rem 1.2rem; }
@media (min-width: 961px) {
	.gleb .gleb-bar__label { width: auto; }
	/* Keep clear of the site's floating WhatsApp / accessibility buttons. */
	.gleb .gleb-bar__inner { padding-inline-end: 6rem; padding-inline-start: 6rem; }
}

/* Drawer */
.gleb-lock, .gleb-lock body { overflow: hidden; }
.gleb .gleb-drawer { position: fixed; inset: 0; z-index: 2147483000; }
.gleb .gleb-drawer__backdrop { position: absolute; inset: 0; background: rgba(20, 20, 18, .45); opacity: 0; transition: opacity .2s; }
.gleb .gleb-drawer__panel {
	position: absolute; top: 0; bottom: 0; inset-inline-start: 0; width: min(460px, 100%);
	background: #fff; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .25s ease;
	box-shadow: -12px 0 40px rgba(0, 0, 0, .15);
}
[dir="ltr"] .gleb-drawer__panel { transform: translateX(-100%); }
.gleb .gleb-drawer.is-open .gleb-drawer__backdrop { opacity: 1; }
.gleb .gleb-drawer.is-open .gleb-drawer__panel { transform: none; }
.gleb .gleb-drawer__panel:focus { outline: none; }
.gleb .gleb-drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 1.1rem 1.25rem .4rem; }
.gleb .gleb-drawer__title { margin: 0; font-size: 1.4rem; }
.gleb .gleb-drawer__close { width: 44px; height: 44px; border: 0; background: none; font-size: 2rem; line-height: 1; cursor: pointer; color: var(--gleb-ink); }
.gleb .gleb-drawer__sub { margin: 0; padding: 0 1.25rem .9rem; color: var(--gleb-muted); font-size: .95rem; border-bottom: 1px solid var(--gleb-line); }
.gleb .gleb-drawer__list { list-style: none; margin: 0; padding: .5rem 1.25rem 2rem; overflow-y: auto; flex: 1; overscroll-behavior: contain; }
.gleb .gleb-alt {
	width: 100%; display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: .9rem; align-items: center;
	padding: .8rem; margin: .4rem 0; background: #fff; border: 1px solid var(--gleb-line); border-radius: var(--gleb-radius);
	text-align: right; cursor: pointer; color: var(--gleb-ink); font: inherit;
}
.gleb .gleb-alt:hover { border-color: var(--gleb-ink); }
.gleb .gleb-alt.is-current { border: 2px solid var(--gleb-ink); background: var(--gleb-cream); }
.gleb .gleb-alt[disabled] { cursor: not-allowed; opacity: .55; }
.gleb .gleb-alt__img { width: 72px; height: 72px; display: block; background: var(--gleb-cream); overflow: hidden; }
.gleb .gleb-alt__img img { width: 100%; height: 100%; object-fit: cover; }
.gleb .gleb-alt__body { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.gleb .gleb-alt__name { font-weight: 700; }
.gleb .gleb-alt__price { font-size: .9rem; color: var(--gleb-muted); }
.gleb .gleb-alt__badges { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .2rem; }
.gleb .gleb-badge { font-size: .78rem; padding: .1rem .45rem; background: var(--gleb-blue-soft); color: var(--gleb-blue-ink); }
.gleb .gleb-badge.is-bad { background: #fbeceb; color: var(--gleb-bad); }
.gleb .gleb-alt__diff { font-weight: 700; font-size: .92rem; text-align: left; white-space: nowrap; font-variant-numeric: tabular-nums; }
.gleb .gleb-alt__current { display: inline-block; padding: .15rem .5rem; background: var(--gleb-ink); color: #fff; font-size: .8rem; }

/* ---------- Mobile ---------- */
@media (max-width: 960px) {
	.gleb .gleb-wrap { padding-inline: 1rem; }
	.gleb .gleb-hero { aspect-ratio: 4 / 3; margin-inline: -1rem; }
	.gleb .gleb-controls { flex-direction: column; align-items: stretch; }
	.gleb .gleb-estimate { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: .2rem .7rem; }
	.gleb .gleb-estimate__label { width: 100%; }
}
@media (max-width: 600px) {
	.gleb .gleb-item {
		grid-template-columns: 64px minmax(0, 1fr) auto;
		grid-template-areas: "img body body" "img qty total";
		align-items: start;
	}
	.gleb .gleb-item__img { width: 64px; height: 64px; }
	.gleb .gleb-item__qty { align-self: center; }
	.gleb .gleb-item__total { align-self: center; }
	.gleb .gleb-items--off .gleb-item { grid-template-areas: "img body body"; }
	.gleb .gleb-drawer__panel { top: auto; height: 88vh; width: 100%; transform: translateY(100%); }
	.gleb .gleb-drawer.is-open .gleb-drawer__panel { transform: none; }
	.gleb .gleb-alt { grid-template-columns: 60px minmax(0, 1fr); }
	.gleb .gleb-alt__img { width: 60px; height: 60px; }
	.gleb .gleb-alt__diff { grid-column: 2; text-align: right; }
	.gleb .gleb-card__cta { align-self: stretch; }
}

@media (prefers-reduced-motion: reduce) {
	.gleb *, .gleb *::before, .gleb *::after { transition: none !important; }
}

/* Keep the site's floating buttons (WhatsApp, accessibility) above the price bar on event pages. */
body.gleb-single-page #ht-ctc-chat { bottom: 88px !important; }
body.gleb-single-page .smarta11y-toggle { bottom: 156px !important; }
@media (max-width: 960px) {
	.gleb .gleb-hero { aspect-ratio: 3 / 2; }
}

/* ---------- Stage 2: upsell, reminders, save/share, budget ---------- */
.gleb .gleb-upsell { margin: 2.5rem 0 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--gleb-line); }
.gleb .gleb-upsell__head { margin-bottom: .75rem; }
.gleb .gleb-upsell__title { margin: 0; font-size: 1.3rem; font-weight: 700; }
.gleb .gleb-upsell__sub { margin: .2rem 0 0; color: var(--gleb-muted); font-size: .98rem; }
.gleb .gleb-ups { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: .75rem; }
.gleb .gleb-up { display: grid; grid-template-columns: 64px minmax(0, 1fr); grid-template-areas: "img body" "end end"; gap: .5rem .8rem; padding: .8rem; border: 1px solid var(--gleb-line); background: #fff; }
.gleb .gleb-up__img { grid-area: img; width: 64px; height: 64px; display: block; background: var(--gleb-cream); overflow: hidden; }
.gleb .gleb-up__img img { width: 100%; height: 100%; object-fit: cover; }
.gleb .gleb-up__body { grid-area: body; min-width: 0; }
.gleb .gleb-up__body .gleb-item__name { font-size: 1rem; }
.gleb .gleb-up__end { grid-area: end; display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.gleb .gleb-up__total { font-weight: 700; font-variant-numeric: tabular-nums; }
.gleb .gleb-items--upsell { margin-bottom: .75rem; }

.gleb .gleb-reminders:empty { display: none; }
.gleb .gleb-reminders { margin: 0 0 1.25rem; display: flex; flex-direction: column; gap: .5rem; }
.gleb .gleb-reminder { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .25rem 1rem; padding: .6rem .9rem; background: var(--gleb-blue-soft); border-inline-start: 3px solid var(--gleb-blue); font-size: .95rem; }
.gleb .gleb-reminder p { margin: 0; }
.gleb .gleb-reminder__actions { display: flex; gap: 1rem; }

.gleb .gleb-notice { margin: 0 0 1.25rem; padding: .75rem 1rem; background: #fff; border: 1px solid var(--gleb-line); border-inline-start: 3px solid var(--gleb-ink); font-size: .95rem; }
.gleb .gleb-notice p { margin: 0; }
.gleb .gleb-notice ul { margin: .4rem 0 0; padding-inline-start: 1.1rem; }

.gleb .gleb-plan-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .1rem 1.25rem; margin-top: 1rem; }
.gleb .gleb-plan-actions .gleb-link { font-weight: 600; font-size: .92rem; }
.gleb [data-out="plan-msg"]:empty { display: none; }
.gleb [data-out="plan-msg"] { text-align: center; word-break: break-all; }

.gleb .gleb-budget { margin: 0 0 1.25rem; border-top: 1px dashed var(--gleb-line); padding-top: .75rem; }
.gleb .gleb-budget summary { cursor: pointer; color: var(--gleb-blue-ink); font-weight: 600; font-size: .95rem; list-style: none; }
.gleb .gleb-budget summary::-webkit-details-marker { display: none; }
.gleb .gleb-budget summary::after { content: " ▾"; font-size: .8em; }
.gleb .gleb-budget[open] summary::after { content: " ▴"; }
.gleb .gleb-budget__body { margin-top: .75rem; }
.gleb .gleb-budget__body label { display: block; font-size: .9rem; margin-bottom: .3rem; }
.gleb .gleb-budget__row { display: flex; gap: .5rem; flex-wrap: wrap; }
.gleb .gleb-budget__input { width: 9rem; min-height: 38px; border: 1px solid #bcb9ad; padding: 0 .6rem; font: inherit; background: #fff; }
.gleb .gleb-budget__out { font-size: .93rem; }
.gleb .gleb-budget__out p { margin: .6rem 0 0; }
.gleb .gleb-budget__ok { color: #2d6a3e; font-weight: 600; }
.gleb .gleb-budget__no { color: var(--gleb-orange-ink); font-weight: 600; }
.gleb .gleb-budget__list { list-style: none; margin: .6rem 0 0; padding: 0; }
.gleb .gleb-bs { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: .6rem; align-items: center; padding: .5rem 0; border-bottom: 1px solid var(--gleb-line); }
.gleb .gleb-bs__img { width: 48px; height: 48px; display: block; background: var(--gleb-cream); overflow: hidden; }
.gleb .gleb-bs__img img { width: 100%; height: 100%; object-fit: cover; }
.gleb .gleb-bs__body { display: flex; flex-direction: column; min-width: 0; }
.gleb .gleb-bs__title { font-weight: 600; }
.gleb .gleb-bs__meta { color: var(--gleb-muted); font-size: .85rem; }

/* ---------- Stage 2: style quiz on the hub ---------- */
.gleb .gleb-quiz { max-width: 760px; margin: 0 auto clamp(2rem, 4vw, 3rem); border: 1px solid var(--gleb-line); background: var(--gleb-cream); }
.gleb .gleb-quiz > summary { cursor: pointer; padding: 1rem 1.25rem; font-weight: 700; font-size: 1.1rem; list-style: none; text-align: center; }
.gleb .gleb-quiz > summary::-webkit-details-marker { display: none; }
.gleb .gleb-quiz > summary span { display: block; font-weight: 400; font-size: .92rem; color: var(--gleb-muted); margin-top: .2rem; }
.gleb .gleb-quiz__form { padding: 0 1.25rem 1.25rem; display: grid; gap: 1rem; }
.gleb .gleb-quiz fieldset { border: 0; margin: 0; padding: 0; }
.gleb .gleb-quiz legend { font-weight: 700; margin-bottom: .4rem; padding: 0; }
.gleb .gleb-quiz__opts { display: flex; flex-wrap: wrap; gap: .4rem; }
.gleb .gleb-quiz__opts label { position: relative; }
.gleb .gleb-quiz__opts input { position: absolute; opacity: 0; inset: 0; }
.gleb .gleb-quiz__opts span { display: inline-block; padding: .4rem .85rem; border: 1px solid #bcb9ad; background: #fff; cursor: pointer; font-size: .95rem; }
.gleb .gleb-quiz__opts input:checked + span { background: var(--gleb-ink); color: #fff; border-color: var(--gleb-ink); }
.gleb .gleb-quiz__opts input:focus-visible + span { outline: 3px solid var(--gleb-orange); outline-offset: 2px; }
.gleb .gleb-quiz__row { display: flex; flex-wrap: wrap; gap: 1rem; }
.gleb .gleb-quiz__row label { display: flex; flex-direction: column; font-weight: 700; gap: .3rem; }
.gleb .gleb-quiz__row input { width: 9rem; min-height: 40px; border: 1px solid #bcb9ad; padding: 0 .6rem; font: inherit; background: #fff; font-weight: 400; }
.gleb .gleb-quiz__results:empty { display: none; }
.gleb .gleb-quiz__results { padding: 0 1.25rem 1.25rem; }
.gleb .gleb-quiz__results h3 { margin: 0 0 .6rem; font-size: 1.1rem; }
.gleb .gleb-quiz__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.gleb .gleb-qr { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: .8rem; align-items: center; background: #fff; border: 1px solid var(--gleb-line); padding: .6rem; text-decoration: none; color: inherit; }
.gleb .gleb-qr:hover { border-color: var(--gleb-ink); }
.gleb .gleb-qr img { width: 96px; height: 72px; object-fit: cover; display: block; }
.gleb .gleb-qr__t { font-weight: 700; display: block; }
.gleb .gleb-qr__m { font-size: .88rem; color: var(--gleb-muted); }

/* Product page → planner */
.gleb.gleb-plink { margin: 1.5rem 0 0; padding: 1rem 0 0; border-top: 1px solid var(--gleb-line); max-width: 520px; }
.gleb .gleb-plink__title { margin: 0 0 .6rem; font-weight: 700; font-size: 1rem; }
.gleb .gleb-plink__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.gleb .gleb-plink__item { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: .75rem; align-items: center; padding: .5rem; border: 1px solid var(--gleb-line); background: #fff; color: var(--gleb-ink); text-decoration: none; }
.gleb .gleb-plink__item:hover { border-color: var(--gleb-ink); }
.gleb .gleb-plink__item img { width: 64px; height: 64px; object-fit: cover; display: block; }
.gleb .gleb-plink__name { display: block; font-weight: 700; }
.gleb .gleb-plink__meta { display: block; font-size: .88rem; color: var(--gleb-muted); }

.gleb .gleb-summary__final { margin: .75rem 0 0; font-weight: 700; font-size: .98rem; color: var(--gleb-ink); }
