/*
 * Blocks of the new page builder (Modules\PageBuilder\Builder, pagebuilder::blocks.*; assets/js/blocks.js).
 * Built on the gozar-ui.css tokens. Flat and minimal: no gradients or shadows, faint borders or soft fills, one accent,
 * hover changes colour only.
 */

/* --pb-gutter: the page's side margin (.custom-container), which rows that scroll sideways reach into on phones;
   --pb-space: the room between two blocks unless the row asks for more */
.pb-page {
    --pb-gutter: 0px; --pb-space: 36px;
    display: flex; flex-direction: column; row-gap: var(--pb-space); padding-top: 16px; padding-bottom: 8px; font-family: var(--gz-font);
}
.pb-block { margin: var(--pb-mt, 0) 0 var(--pb-mb, 0); }
/* a block with nothing to show (an empty slider, a product row without products) takes no room, not even a gap */
.pb-page:not([data-builder-page]) > .pb-block:not(:has(*)) { display: none; }
@media (max-width: 767.98px) { .pb-page { --pb-gutter: 15px; --pb-space: 26px; padding-top: 12px; } }

/* ---- heading of a block: a short accent bar before the title, «مشاهدهٔ همه» as a soft pill, round arrows ---- */
.pb-head { display: flex; align-items: center; gap: 10px 16px; flex-wrap: nowrap; margin-bottom: 16px; }
.pb-head.is-center { flex-wrap: wrap; justify-content: center; text-align: center; }
.pb-head-text { flex: 1; min-width: 0; }
.pb-title {
    position: relative; margin: 0; padding-inline-start: 14px; color: var(--gz-ink); font-size: 19px; font-weight: 900; line-height: 1.6;
}
.pb-title::before {
    content: ""; position: absolute; top: 50%; inset-inline-start: 0; width: 5px; height: 20px; margin-top: -10px;
    border-radius: 3px; background: var(--pb-accent-bar, var(--gz-brand-500));
}
.pb-head.is-center .pb-title, .pb-faq .pb-title, .pb-text .pb-title { padding-inline-start: 0; }
.pb-head.is-center .pb-title::before, .pb-faq .pb-title::before, .pb-text .pb-title::before { display: none; }
.pb-subtitle { margin: 2px 0 0; padding-inline-start: 14px; color: var(--gz-ink-3); font-size: 13px; line-height: 1.7; }
.pb-head.is-center .pb-subtitle { padding-inline-start: 0; }
.pb-head-end { display: flex; flex-shrink: 0; align-items: center; gap: 10px; margin-inline-start: auto; }
.pb-head.is-center .pb-head-end { margin-inline-start: 0; }
.pb-more {
    display: inline-flex; align-items: center; gap: 2px; height: 34px; padding: 0 12px 0 8px; border-radius: var(--gz-radius-pill);
    background: var(--gz-brand-50); color: var(--gz-brand-700) !important; font-size: 13px; font-weight: 800; white-space: nowrap;
    transition: background var(--gz-fast);
}
.pb-more:hover { background: var(--gz-brand-100); }
.pb-more .gzi { font-size: 16px; transform: rotate(90deg); transition: transform var(--gz-fast); }
.pb-more:hover .gzi { transform: rotate(90deg) translateY(2px); }
.pb-arrows { display: flex; gap: 6px; }
.pb-arrow {
    display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; padding: 0;
    border: 1px solid var(--gz-border); border-radius: 50%; background: var(--gz-surface); color: var(--gz-ink-2); cursor: pointer;
    transition: background var(--gz-fast), color var(--gz-fast), opacity var(--gz-fast), border-color var(--gz-fast);
}
@media (max-width: 767.98px) {
    .pb-head { margin-bottom: 12px; }
    .pb-title { padding-inline-start: 12px; font-size: 16px; }
    .pb-title::before { width: 4px; height: 16px; margin-top: -8px; }
    .pb-subtitle { padding-inline-start: 12px; font-size: 12px; }
    .pb-more { height: 30px; padding: 0 10px 0 6px; font-size: 12px; }
}
.pb-arrow .gzi { font-size: 18px; }
.pb-arrow[data-rail-prev] .gzi { transform: rotate(-90deg); }
.pb-arrow[data-rail-next] .gzi { transform: rotate(90deg); }
.pb-arrow:hover:not(:disabled) { background: var(--gz-brand-50); color: var(--gz-brand-600); }
.pb-arrow:disabled { opacity: .4; cursor: default; }

/* ---- a row that scrolls sideways, and a grid ---- */
.pb-rail {
    --pb-per: 6; --pb-gap: 12px;
    display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - (var(--pb-per) - 1) * var(--pb-gap)) / var(--pb-per));
    gap: var(--pb-gap); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-behavior: smooth;
    padding: 2px 2px 6px; margin: -2px -2px 0; scrollbar-width: none;
}
.pb-rail::-webkit-scrollbar { display: none; }
.pb-rail > .pb-item { min-width: 0; scroll-snap-align: start; }
.pb-grid { --pb-per: 6; display: grid; grid-template-columns: repeat(var(--pb-per), minmax(0, 1fr)); gap: 12px; }
.pb-arrows[hidden] { display: none; }

@media (max-width: 1199.98px) { .pb-rail, .pb-grid { --pb-per: 5; } }
@media (max-width: 991.98px) { .pb-rail, .pb-grid { --pb-per: 4; } }
@media (max-width: 767.98px) {
    .pb-arrows { display: none; }
    /* phones: the row runs to the screen's edges and starts aligned with the titles */
    .pb-rail {
        --pb-per: 2.3; --pb-gap: 10px;
        margin-inline: calc(-1 * var(--pb-gutter)); padding-inline: var(--pb-gutter); scroll-padding-inline: var(--pb-gutter);
    }
    /* inside the coloured «شگفت‌انگیز» panel the row reaches the panel's edges, not the screen's */
    .pb-products.is-amazing .pb-rail { margin-inline: -10px; padding-inline: 10px; scroll-padding-inline: 10px; }
    .pb-grid { --pb-per: 2; gap: 10px; }
}

/* ---- slider ---- */
.pb-hero { display: grid; gap: 12px; }
.pb-hero.has-side { grid-template-columns: minmax(0, 1fr) minmax(0, 31%); }
.pb-slider { position: relative; overflow: hidden; border-radius: var(--pb-slider-r, var(--gz-radius-xl)); background: var(--gz-surface-3); }
.pb-slider-track {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none;
    overscroll-behavior-x: contain;
}
.pb-slider-track::-webkit-scrollbar { display: none; }
.pb-slide { flex: 0 0 100%; scroll-snap-align: start; }
.pb-slide img { display: block; width: 100%; height: auto; -webkit-user-drag: none; user-select: none; }
/* desktop: slides follow the mouse (blocks.js), snapping only once it lets go */
@media (hover: hover) and (pointer: fine) { .pb-slider-track { cursor: grab; } }
.pb-slider-track.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.pb-slider-track.is-dragging a, .pb-slider-track.is-dragging img { pointer-events: none; }
/* edge to edge on desktop (the phone choice is in the phone rules below) */
@media (min-width: 768px) { .pb-hero-wrap.is-d-full { width: 100% !important; max-width: none; } }
.pb-slider-arrow {
    position: absolute; top: 50%; z-index: 2; display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; margin-top: -20px; padding: 0; border: 0; border-radius: 50%;
    background: rgba(255, 255, 255, .92); color: var(--gz-ink); cursor: pointer; opacity: 0;
    transition: opacity var(--gz-normal), background var(--gz-fast);
}
.pb-slider-arrow .gzi { font-size: 20px; }
.pb-slider-arrow.is-prev { right: 14px; }
.pb-slider-arrow.is-prev .gzi { transform: rotate(-90deg); }
.pb-slider-arrow.is-next { left: 14px; }
.pb-slider-arrow.is-next .gzi { transform: rotate(90deg); }
.pb-slider:hover .pb-slider-arrow, .pb-slider-arrow:focus-visible { opacity: 1; }
.pb-slider-arrow:hover { background: #fff; }
.pb-dots {
    position: absolute; bottom: 12px; left: 50%; z-index: 2; display: flex; gap: 6px; padding: 5px 8px;
    border-radius: var(--gz-radius-pill); background: rgba(0, 0, 0, .22); transform: translateX(-50%);
}
.pb-dots button {
    width: 7px; height: 7px; padding: 0; border: 0; border-radius: var(--gz-radius-pill); background: rgba(255, 255, 255, .6);
    cursor: pointer; transition: width var(--gz-normal), background var(--gz-fast);
}
.pb-dots button.is-active { width: 20px; background: #fff; }
/* the side banners take the slider's height (contain: size keeps their own pictures from stretching the row) */
.pb-hero-side { display: grid; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 12px; contain: size; }
.pb-hero-side:has(> :only-child) { grid-template-rows: minmax(0, 1fr); }
.pb-hero-banner { display: block; overflow: hidden; border-radius: var(--pb-slider-r, var(--gz-radius-xl)); background: var(--gz-surface-3); }
.pb-hero-banner img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 767.98px) {
    .pb-hero.has-side { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .pb-hero-side { grid-template-rows: none; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; contain: none; }
    .pb-hero-side:has(> :only-child) { grid-template-columns: minmax(0, 1fr); }
    .pb-hero-banner img { height: auto; }
    .pb-slider, .pb-hero-banner { border-radius: var(--pb-slider-r-m, var(--gz-radius-lg)); }
    /* edge to edge on phones */
    .pb-hero-wrap.is-m-full { width: 100% !important; max-width: none; }
    .pb-hero-wrap.is-m-full .pb-hero-side { padding-inline: 15px; }
    .pb-slider-arrow { display: none; }
    .pb-dots { bottom: 8px; }
}

/* ---- products, and the «شگفت‌انگیز» panel ---- */
.pb-products.is-amazing { padding: 16px; border-radius: var(--gz-radius-xl); background: var(--pb-accent, #E11D48); }
.pb-products.is-amazing .pb-title, .pb-products.is-amazing .pb-subtitle { color: #fff; }
.pb-products.is-amazing .pb-subtitle { opacity: .85; }
.pb-products.is-amazing { --pb-accent-bar: #fff; }
.pb-products.is-amazing .pb-more { background: rgba(255, 255, 255, .18); color: #fff !important; }
.pb-products.is-amazing .pb-more:hover { background: rgba(255, 255, 255, .28); }
.pb-products.is-amazing .pb-arrow { border-color: transparent; background: rgba(255, 255, 255, .2); color: #fff; }
.pb-products.is-amazing .pb-arrow:hover:not(:disabled) { background: #fff; color: var(--pb-accent, #E11D48); }
.pb-products.is-amazing .pb-rail { --pb-per: 6; }
/* wider cards for the row and compact card styles */
.pb-products .pb-products-list.is-card-row { --pb-per: 3; }
.pb-products .pb-products-list.is-card-compact { --pb-per: 4; }
@media (max-width: 1199.98px) {
    .pb-products .pb-products-list.is-card-row { --pb-per: 2; }
    .pb-products .pb-products-list.is-card-compact { --pb-per: 3; }
}
@media (max-width: 767.98px) {
    .pb-products .pb-products-list.pb-rail.is-card-row, .pb-products .pb-products-list.pb-rail.is-card-compact { --pb-per: 1.15; }
    .pb-products .pb-products-list.pb-grid.is-card-row, .pb-products .pb-products-list.pb-grid.is-card-compact { --pb-per: 1; }
}
.pb-products-list.is-card-row > .pb-item > .pc, .pb-products-list.is-card-compact > .pb-item > .pc { height: 100%; }
.pb-side { display: flex; align-items: center; justify-content: center; }
.pb-side img { width: 100%; height: 100%; max-height: 340px; object-fit: contain; }
.pb-countdown { display: inline-flex; align-items: center; gap: 4px; direction: ltr; }
.pb-countdown span {
    display: inline-flex; align-items: center; justify-content: center; min-width: 32px; height: 32px; padding: 0 6px;
    border-radius: var(--gz-radius-sm); background: #fff; color: var(--pb-accent, var(--gz-danger));
    font-size: 14px; font-weight: 800; font-variant-numeric: tabular-nums;
}
.pb-countdown i { color: rgba(255, 255, 255, .85); font-style: normal; font-weight: 800; }
.pb-countdown small { margin: 0 2px 0 6px; color: #fff; font-size: 12px; font-weight: 700; }
.pb-countdown [hidden] { display: none; }
/* days: the number with a tiny «روز» under it, in one box */
.pb-countdown .pb-cd-day { flex-direction: column; gap: 0; margin-inline-end: 4px; line-height: 1; }
.pb-countdown .pb-cd-day b { font-size: 13px; font-weight: 800; line-height: 1.1; }
.pb-countdown .pb-cd-day small { margin: 1px 0 0; color: inherit; font-size: 8.5px; font-weight: 700; opacity: .8; }
.pb-products:not(.is-amazing) .pb-countdown .pb-cd-day small { color: inherit; }
.pb-products:not(.is-amazing) .pb-countdown small { color: var(--gz-ink-3); }
.pb-products:not(.is-amazing) .pb-countdown span { background: var(--gz-danger-50); }
.pb-products:not(.is-amazing) .pb-countdown i { color: var(--gz-ink-4); }
@media (max-width: 767.98px) {
    .pb-products.is-amazing { margin-inline: -8px; padding: 14px 10px 12px; border-radius: var(--gz-radius-lg); }
    .pb-products.is-amazing .pb-rail { --pb-per: 2.2; }
    .pb-side { display: none; }
    .pb-countdown span { min-width: 28px; height: 28px; font-size: 13px; }
    /* the countdown gets its own line under the title, so the subtitle is not squeezed */
    .pb-head:has(> .pb-countdown) { flex-wrap: wrap; row-gap: 8px; }
    .pb-head > .pb-countdown { order: 3; flex: 0 0 100%; justify-content: flex-end; }
    .pb-countdown .pb-cd-day b { font-size: 12px; }
}

/* ---- categories: soft tiles, or circles ---- */
.pb-cats { --pb-per: 8; }
@media (max-width: 1199.98px) { .pb-cats { --pb-per: 6; } }
@media (max-width: 767.98px) { .pb-cats.pb-rail { --pb-per: 3.4; } .pb-cats.pb-grid { --pb-per: 3; } }
.pb-cat {
    display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--gz-ink) !important; text-align: center;
}
/* a square whatever the picture: the picture is pinned inside it (--pb-cat-pad from each edge) instead of sizing it,
   as iPhone Safari let an SVG with no size of its own stretch a box whose height came only from aspect-ratio */
.pb-cat-media {
    --pb-cat-pad: 16%;
    position: relative; display: block; flex-shrink: 0; width: 100%; height: auto; aspect-ratio: 1 / 1; overflow: hidden;
    border-radius: var(--gz-radius-lg); background: var(--pb-cat-bg, var(--gz-surface-2));
    box-shadow: inset 0 0 0 1px transparent; transition: box-shadow var(--gz-fast);
}
@supports not (aspect-ratio: 1 / 1) { .pb-cat-media::before { content: ''; display: block; padding-top: 100%; } }
.pb-cats.has-border .pb-cat-media { box-shadow: inset 0 0 0 1px var(--gz-border); }
.pb-cat-media img {
    position: absolute; top: var(--pb-cat-pad); left: var(--pb-cat-pad);
    width: calc(100% - 2 * var(--pb-cat-pad)); height: calc(100% - 2 * var(--pb-cat-pad)); max-width: none; object-fit: contain;
}
/* hover marks the frame only, so a chosen background (e.g. white behind white pictures) stays as it is */
.pb-cat:hover .pb-cat-media { box-shadow: inset 0 0 0 1.5px var(--gz-brand-300); }
.pb-cat:hover .pb-cat-name { color: var(--gz-brand-600); }
.pb-cats.is-circle .pb-cat-media { --pb-cat-pad: 18%; width: 84%; border-radius: 50%; }
.pb-cat-name {
    display: -webkit-box; overflow: hidden; font-size: 13px; font-weight: 600; line-height: 1.6;
    transition: color var(--gz-fast); -webkit-box-orient: vertical; -webkit-line-clamp: 2;
}
@media (max-width: 767.98px) { .pb-cat-name { font-size: 12px; } }

/* ---- shops ---- */
.pb-shops.is-photo { --pb-per: 6; }
.pb-shops.is-circle { --pb-per: 9; }
.pb-shops.is-card { --pb-per: 4; }
@media (max-width: 767.98px) { .pb-shops.is-photo { --pb-per: 2.2; } .pb-shops.is-circle { --pb-per: 4.2; } .pb-shops.is-card { --pb-per: 1.4; } }
.pb-shops.is-circle .pb-item { display: flex; justify-content: center; }
.pb-shops .sc--circle { width: 100%; max-width: 96px; }
/* the photo fills the card; the shop's logo, name and rating sit on a blur that darkens towards the bottom */
.pb-shop-photo {
    position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 5; border-radius: var(--gz-radius-lg);
    background: var(--gz-surface-3); color: #fff !important; isolation: isolate;
}
.pb-shop-media { position: absolute; inset: 0; display: block; }
.pb-shop-cover { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--gz-ease); }
.pb-shop-photo:hover .pb-shop-cover { transform: scale(1.04); }
.pb-shop-media::before, .pb-shop-media::after { content: ""; position: absolute; inset: 45% 0 0; pointer-events: none; }
.pb-shop-media::before {
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    -webkit-mask-image: linear-gradient(to top, #000 45%, transparent); mask-image: linear-gradient(to top, #000 45%, transparent);
}
.pb-shop-media::after { inset: 35% 0 0; background: linear-gradient(to top, rgba(22, 13, 30, .82), rgba(22, 13, 30, .45) 50%, transparent); }
.pb-shop-info { position: absolute; right: 0; bottom: 0; left: 0; z-index: 1; display: flex; align-items: center; gap: 8px; padding: 10px; }
.pb-shop-logo { position: relative; flex-shrink: 0; width: 36px; height: 36px; }
.pb-shop-logo img {
    width: 36px !important; height: 36px !important; border: 1.5px solid rgba(255, 255, 255, .85); border-radius: var(--gz-radius-md);
    object-fit: cover; background: #fff;
}
.pb-shop-logo .sc-online { bottom: -3px; inset-inline-end: -3px; width: 12px; height: 12px; }
.pb-shop-text { display: flex; flex-direction: column; min-width: 0; text-shadow: 0 1px 2px rgba(0, 0, 0, .25); }
.pb-shop-text b { overflow: hidden; color: #fff; font-size: 13px; white-space: nowrap; text-overflow: ellipsis; }
.pb-shop-text small { display: inline-flex; align-items: center; gap: 2px; color: rgba(255, 255, 255, .8); font-size: 11.5px; }
.pb-shop-text .gzi { font-size: 13px; color: var(--gz-star); }

/* ---- banners ---- */
.pb-banners { display: grid; grid-template-columns: repeat(var(--pb-cols, 2), minmax(0, 1fr)); gap: 12px; }
@media (max-width: 767.98px) { .pb-banners { grid-template-columns: repeat(var(--pb-cols-m, 1), minmax(0, 1fr)); gap: 10px; } }
.pb-banner { display: block; overflow: hidden; border-radius: var(--gz-radius-lg); background: var(--gz-surface-3); }
.pb-banner img { display: block; width: 100%; height: auto; transition: opacity var(--gz-fast); }
a.pb-banner[href]:hover img { opacity: .92; }

/* ---- call to action ---- */
.pb-cta {
    display: flex; align-items: center; gap: 24px; padding: 28px 32px; border-radius: var(--gz-radius-xl);
    background: color-mix(in srgb, var(--pb-accent) 8%, #fff); color: var(--gz-ink);
}
.pb-cta.is-solid { background: var(--pb-accent); color: #fff; }
.pb-cta-text { flex: 1; min-width: 0; }
.pb-cta-title { margin: 0 0 6px; color: inherit; font-size: 20px; font-weight: 800; line-height: 1.6; }
.pb-cta-desc { max-width: 620px; margin: 0; color: var(--gz-ink-2); font-size: 14px; line-height: 2; }
.pb-cta.is-solid .pb-cta-desc { color: rgba(255, 255, 255, .88); }
.pb-cta-btn {
    display: inline-flex; align-items: center; gap: 4px; margin-top: 16px; padding: 10px 20px; border-radius: var(--gz-radius-md);
    background: var(--pb-accent); color: #fff !important; font-size: 14px; font-weight: 700; transition: opacity var(--gz-fast);
}
.pb-cta-btn .gzi { font-size: 16px; transform: rotate(90deg); }
.pb-cta-btn:hover { opacity: .9; }
.pb-cta.is-solid .pb-cta-btn { background: #fff; color: var(--pb-accent) !important; }
.pb-cta-img { flex-shrink: 0; width: 34%; max-width: 320px; max-height: 200px; object-fit: contain; }
@media (max-width: 767.98px) {
    .pb-cta { flex-direction: column; align-items: stretch; gap: 16px; padding: 20px 18px; border-radius: var(--gz-radius-lg); }
    .pb-cta-title { font-size: 17px; }
    .pb-cta-desc { font-size: 13px; }
    .pb-cta-btn { justify-content: center; }
    .pb-cta-img { order: -1; width: auto; max-width: 45%; max-height: 96px; margin-inline: auto; }
}

/* ---- trust strip ---- */
/* each reason in its own box; the boxes run from edge to edge of the page's column, like the other blocks */
.pb-trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.pb-trust-item {
    display: flex; align-items: center; gap: 12px; min-width: 0; padding: 14px 16px;
    border-radius: var(--gz-radius-lg); background: var(--gz-surface-2);
}
.pb-trust-item > span:last-child { min-width: 0; }
.pb-trust-icon {
    display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 40px; height: 40px;
    border-radius: 50%; background: var(--gz-surface); color: var(--gz-brand-600); font-size: 20px;
}
.pb-trust-item b { display: block; color: var(--gz-ink); font-size: 13.5px; }
.pb-trust-item small { display: block; margin-top: 1px; color: var(--gz-ink-3); font-size: 12px; }
/* tablets and phones: one row that scrolls sideways; on phones it runs to the screen's edges and starts aligned
   with the titles, like the product rows */
@media (max-width: 991.98px) {
    .pb-trust {
        display: flex; gap: 8px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity;
        scrollbar-width: none; margin-inline: calc(-1 * var(--pb-gutter, 0px)); padding-inline: var(--pb-gutter, 0px);
        scroll-padding-inline: var(--pb-gutter, 0px);
    }
    .pb-trust::-webkit-scrollbar { display: none; }
    .pb-trust-item { flex: 0 0 auto; scroll-snap-align: start; white-space: nowrap; }
}
@media (max-width: 575.98px) {
    .pb-trust-item { gap: 8px; padding: 10px 12px; border-radius: var(--gz-radius-md); }
    .pb-trust-icon { width: 34px; height: 34px; font-size: 17px; }
    .pb-trust-item b { font-size: 12.5px; line-height: 1.6; }
    .pb-trust-item small { font-size: 11px; }
}

/* ---- text ---- */
.pb-text { color: var(--gz-ink-2); font-size: 14px; line-height: 2.1; }
.pb-text .pb-title { margin-bottom: 8px; }
.pb-text-body img { max-width: 100%; height: auto; border-radius: var(--gz-radius-md); }
.pb-text-body > :first-child { margin-top: 0; }
.pb-text-body > :last-child { margin-bottom: 0; }
.pb-text-body h1, .pb-text-body h2, .pb-text-body h3, .pb-text-body h4, .pb-text-body h5, .pb-text-body h6 { margin: 1.2em 0 .5em; color: var(--gz-ink); font-weight: 800; line-height: 1.6; }
.pb-text-body h1 { font-size: 24px; }
.pb-text-body h2 { font-size: 21px; }
.pb-text-body h3 { font-size: 18px; }
.pb-text-body h4 { font-size: 16px; }
.pb-text-body h5, .pb-text-body h6 { font-size: 14.5px; }
.pb-text-body p { margin: 0 0 .9em; }
.pb-text-body ul, .pb-text-body ol { margin: 0 0 .9em; padding-inline-start: 1.6em; }
.pb-text-body ul { list-style: disc; }
.pb-text-body ol { list-style: decimal; }
.pb-text-body a { color: var(--gz-brand-600); text-decoration: underline; text-underline-offset: 3px; }
.pb-text-body blockquote { margin: 0 0 .9em; padding: 10px 14px; border-inline-start: 4px solid var(--gz-brand-600); background: var(--gz-surface-2); border-radius: var(--gz-radius-md); }
.pb-text-body hr { margin: 1.2em 0; border: 0; border-top: 1px solid var(--gz-border); opacity: 1; }
.pb-text-body table { width: 100%; margin: 0 0 .9em; border-collapse: collapse; display: block; overflow-x: auto; }
.pb-text-body th, .pb-text-body td { padding: 8px 10px; border: 1px solid var(--gz-border); }
.pb-text-body th { background: var(--gz-surface-2); font-weight: 700; }
.pb-text-body iframe { max-width: 100%; border: 0; border-radius: var(--gz-radius-md); }
@media (max-width: 575.98px) {
    .pb-text-body h1 { font-size: 20px; }
    .pb-text-body h2 { font-size: 18px; }
    .pb-text-body h3 { font-size: 16px; }
    .pb-text-body iframe { height: auto; aspect-ratio: 16 / 9; width: 100%; }
}
.pb-text.is-collapsible.is-folded .pb-text-body { max-height: 220px; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent); mask-image: linear-gradient(180deg, #000 60%, transparent); }
.pb-text-more { margin-top: 6px; padding: 0; border: 0; background: none; color: var(--gz-brand-600); font-weight: 700; cursor: pointer; }

/* ---- FAQ: rows split by thin lines ---- */
.pb-faq { max-width: 860px; margin-inline: auto; }
.pb-faq .pb-title { margin-bottom: 10px; text-align: center; }
.pb-faq-item { border-bottom: 1px solid var(--gz-border); }
.pb-faq-item summary {
    display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 4px;
    color: var(--gz-ink); font-size: 14px; font-weight: 700; list-style: none; cursor: pointer; transition: color var(--gz-fast);
}
.pb-faq-item summary:hover, .pb-faq-item[open] summary { color: var(--gz-brand-600); }
.pb-faq-item summary::-webkit-details-marker { display: none; }
.pb-faq-item summary .gzi { flex-shrink: 0; font-size: 18px; color: var(--gz-ink-4); transition: transform var(--gz-normal); }
.pb-faq-item[open] summary .gzi { transform: rotate(180deg); color: var(--gz-brand-600); }
.pb-faq-answer { padding: 0 4px 16px; color: var(--gz-ink-2); font-size: 13.5px; line-height: 2; }

@media (prefers-reduced-motion: reduce) {
    .pb-rail, .pb-slider-track { scroll-behavior: auto; }
}

/* ---- the editor's preview ---- */
.pb-empty { margin: 60px auto; padding: 40px 20px; max-width: 520px; border: 2px dashed var(--gz-border-strong); border-radius: var(--gz-radius-lg); color: var(--gz-ink-3); text-align: center; }
[data-builder-row] { position: relative; cursor: pointer; }
[data-builder-row]::after {
    content: ''; position: absolute; inset: -4px 0; z-index: 30; pointer-events: none;
    border: 2px solid transparent; border-radius: var(--gz-radius-md); transition: border-color var(--gz-fast);
}
[data-builder-row]::before {
    content: attr(data-builder-name); position: absolute; top: -4px; right: 0; z-index: 31; pointer-events: none;
    padding: 4px 10px; border-radius: var(--gz-radius-md) 0 var(--gz-radius-md) 0; background: var(--gz-brand-500);
    color: #fff; font: 700 11px/1.2 var(--gz-font); opacity: 0; transition: opacity var(--gz-fast);
}
[data-builder-row]:hover::after { border-color: var(--gz-brand-300); }
[data-builder-row].is-selected::after { border-color: var(--gz-brand-500); }
[data-builder-row].is-selected::before { opacity: 1; }
[data-builder-row]:empty, [data-builder-row]:not(:has(*)) { min-height: 40px; }
