/* ==========================================================================
   Swipe — shared component layer (built on design-tokens.css)
   The unified, reusable kit for NEW / redesigned pages: buttons, cards,
   badges, pills, hero, section rhythm. Replaces the scattered button classes
   (.buy_button / .purplebut / .bluebut / .main_button / .btn-primary) going
   forward. Existing pages keep their own classes and migrate opportunistically.

   Load AFTER black.css so .sw-* wins where names brush against legacy styles.
   All values come from tokens; nothing hard-coded here.
   ========================================================================== */

/* ---- Section rhythm ---------------------------------------------------- */
.sw-section        { padding: 56px 0; }
.sw-section--soft  { background: var(--sw-bg-soft); }   /* put card grids on this so white cards lift */
.sw-section--tight { padding: 8px 0 56px; }

/* ---- Hero -------------------------------------------------------------- */
.sw-hero {
     position: relative; overflow: hidden;
     background: var(--sw-bg);   /* white hero; gray reserved for card/feature sections */
     padding: 56px 0 60px;   /* matches the prodai / sell landings (.pl-hero) */
}
.sw-hero__bloom {                         /* soft brand corner-glow; fades within a short hero (no cut) */
     position: absolute; top: -260px; right: -160px;
     width: 520px; height: 520px; pointer-events: none; z-index: 0;
     background: radial-gradient(circle at center,
          rgba(119,53,213,.18), rgba(0,223,205,.10) 45%, transparent 70%);
}
.sw-hero__inner { position: relative; z-index: 1; }
.sw-hero__title {
     font-family: var(--sw-font); font-weight: 800;
     font-size: clamp(2rem, 5vw, 3.1rem); line-height: 1.06;
     letter-spacing: -.03em; color: var(--sw-ink); margin: 0;  /* gap lives on the subtitle, so a title-only hero reserves no empty space */
}
.sw-hero__sub {
     color: var(--sw-grey); font-size: clamp(1rem, 2vw, 1.18rem);
     line-height: 1.55; max-width: 520px; margin: 16px 0 0;
}
/* Subtitle is OPTIONAL. With no subtitle, tighten the bottom so the header reads as
   a deliberate title-only header — not a hero with a hole under the title. */
.sw-hero:not(:has(.sw-hero__sub)) { padding-bottom: 44px; }

/* Centered hero — for brand / story / editorial pages (About, campaign intros).
   Functional pages (contacts, store view) stay left-aligned by default. */
.sw-hero--center { text-align: center; }
.sw-hero--center .sw-eyebrow    { justify-content: center; }
.sw-hero--center .sw-hero__sub  { margin-left: auto; margin-right: auto; }

/* eyebrow + gradient word (signature accents) */
.sw-eyebrow, .mz-eyebrow {          /* canonical eyebrow (.mz-eyebrow = alias) */
     display: inline-flex; align-items: center; gap: 9px;
     font-size: 12px; font-weight: 700; letter-spacing: .14em;
     text-transform: uppercase; color: var(--sw-purple); margin-bottom: 9px;
}
.sw-eyebrow__dash, .mz-eyebrow-dot { width: 26px; height: 2px; border-radius: 2px; background: var(--sw-teal-bright); }
.sw-grad {
     background: var(--sw-grad);
     -webkit-background-clip: text; background-clip: text;
     -webkit-text-fill-color: transparent; color: transparent;
}

/* Money figures — the "deal" voice. Pages that use it load IBM Plex Mono 600. */
.sw-num {
     font-family: var(--sw-font-num);
     font-weight: 600;
     font-variant-numeric: tabular-nums;
     letter-spacing: -0.02em;
}

/* ---- Section title (with accent rule) ---------------------------------- */
.sw-title, .mz-services-title {     /* canonical section heading (.mz-services-title = alias) */
     text-align: center; font-weight: 700;
     font-size: clamp(1.5rem, 3.5vw, 2.1rem);
     color: var(--sw-ink); letter-spacing: -.02em; margin: 0 0 40px;
}

/* ---- Buttons — ONE canonical definition ---------------------------------
   .mz-btn / .mz-cta-btn / .mz-btn--ghost / .pl-btn-lg are legacy aliases kept
   until templates are renamed to .sw-*; their old defs are deleted from
   magazini_new.css / prodai_landing.css so this is the single source. -------- */
.sw-btn, .mz-btn, .mz-cta-btn {
     display: inline-flex; align-items: center; justify-content: center; gap: 8px;
     font-family: var(--sw-font); font-weight: 700; font-size: 14px;
     padding: 13px 24px; border: 1px solid transparent; border-radius: var(--sw-r-btn);
     background: var(--sw-purple); color: #fff; cursor: pointer;
     text-decoration: none; box-shadow: var(--sw-sh-purple);
     transition: all .25s ease;
}
.sw-btn:hover, .mz-btn:hover, .mz-cta-btn:hover {
     background: var(--sw-purple-d); color: #fff; text-decoration: none;
     transform: translateY(-2px); box-shadow: var(--sw-sh-purple-lg);
}
.sw-btn--teal       { background: var(--sw-teal-ink); box-shadow: 0 4px 16px rgba(43,187,188,.25); }  /* readable teal on light */
.sw-btn--teal:hover { background: var(--sw-teal-bright); box-shadow: 0 8px 24px rgba(43,187,188,.35); }
.sw-btn--block      { display: flex; width: 100%; }
.sw-btn--lg, .pl-btn-lg { padding: 16px 30px; font-size: 15px; }

/* Ghost / secondary — self-contained (also used standalone as .mz-btn--ghost) */
.sw-btn--ghost, .mz-btn--ghost {
     display: inline-flex; align-items: center; justify-content: center; gap: 8px;
     font-family: var(--sw-font); font-weight: 700; font-size: 14px;
     padding: 13px 24px; border-radius: var(--sw-r-btn);
     background: transparent; color: var(--sw-purple);
     border: 1.5px solid var(--sw-line-2); cursor: pointer;
     text-decoration: none; box-shadow: none; transition: all .25s ease;
}
.sw-btn--ghost:hover, .mz-btn--ghost:hover {
     background: var(--sw-tint-purple); color: var(--sw-purple-d);
     border-color: var(--sw-purple); text-decoration: none; transform: translateY(-2px);
}

/* mobile: primary CTAs go full-width (preserves the old .mz-btn/.pl-btn-lg rule) */
@media (max-width: 767px) {
     .sw-btn, .mz-btn, .mz-cta-btn, .pl-btn-lg { width: 100%; justify-content: center; }
}

/* ---- Card — canonical (.mz-card store card = alias; matches its spec) ---- */
.sw-card, .mz-card {
     display: flex; flex-direction: column; background: var(--sw-bg);
     border: 1px solid var(--sw-line); border-radius: var(--sw-r-card);
     overflow: hidden; height: 100%; text-decoration: none; color: inherit;
     transition: all .3s cubic-bezier(.4,0,.2,1);
}
.sw-card:hover, .mz-card:hover {
     border-color: transparent; transform: translateY(-5px);
     box-shadow: var(--sw-sh-lg); text-decoration: none; color: inherit;
}

/* ---- Badges (service / status tags) ------------------------------------ */
.sw-badge, .mz-badge {              /* canonical badge (.mz-badge = alias, now pill-shaped) */
     display: inline-flex; align-items: center; gap: 5px;
     font-size: 11px; font-weight: 600; padding: 4px 10px;
     border-radius: var(--sw-r-pill); line-height: 1.4;
}
/* Colour semantics — teal BUYS, purple SELLS (templates/index/index_new.php:89,
   the same coding the old КУПИ / ПРОДАЙ banners taught customers). Green is NOT
   part of this axis; it means stock state (in stock / open now / savings). */
.sw-badge--sell,   .mz-badge--sell   { background: var(--sw-tint-purple); color: var(--sw-purple); }
.sw-badge--buy,    .mz-badge--buy    { background: var(--sw-tint-teal); color: var(--sw-teal-ink); }
.sw-badge--repair, .mz-badge--repair { background: var(--sw-tint-orange); color: var(--sw-warn); }

/* ---- Pills (filters / controls) ---------------------------------------- */
.sw-pill, .mz-filter-pill {         /* canonical pill (.mz-filter-pill = alias) */
     display: inline-flex; align-items: center; gap: 6px;
     padding: 7px 16px; border-radius: var(--sw-r-pill);
     font-size: 13px; font-weight: 600; cursor: pointer;
     border: 1px solid var(--sw-line-2); color: var(--sw-grey);
     background: var(--sw-bg); text-decoration: none; transition: all .2s ease;
}
.sw-pill:hover, .mz-filter-pill:hover { border-color: var(--sw-purple); color: var(--sw-purple); text-decoration: none; }
.sw-pill.is-active, .sw-pill.active, .mz-filter-pill.active { background: var(--sw-purple); border-color: var(--sw-purple); color: #fff; }
.sw-pill.is-active:hover, .sw-pill.active:hover, .mz-filter-pill.active:hover { background: var(--sw-purple-d); border-color: var(--sw-purple-d); }

/* ---- Form fields ------------------------------------------------------- */
.sw-field { margin-bottom: 18px; }
.sw-label {
     display: block; font-size: 13px; font-weight: 600;
     color: var(--sw-ink); margin-bottom: 7px;
}
.sw-input {
     width: 100%; font-family: var(--sw-font); font-size: 15px; line-height: 1.4;
     color: var(--sw-ink); background: var(--sw-bg);
     border: 1px solid var(--sw-line-2); border-radius: var(--sw-r-sm);
     padding: 12px 14px; transition: border-color .18s ease, box-shadow .18s ease;
}
.sw-input::placeholder { color: var(--sw-muted); }
.sw-input:focus {
     outline: none; border-color: var(--sw-teal-ink);
     box-shadow: 0 0 0 3px rgba(43,187,188,.15);
}
textarea.sw-input { resize: vertical; min-height: 120px; }

/* ---- Form card (bordered, no hover-lift; unlike .sw-card) --------------- */
.sw-formcard {
     background: var(--sw-bg); border: 1px solid var(--sw-line);
     border-radius: var(--sw-r-card); box-shadow: var(--sw-sh-sm);
     padding: 26px 24px;
}
.sw-formcard__title { font-size: 18px; font-weight: 800; letter-spacing: -.01em; color: var(--sw-ink); margin: 0 0 4px; }
.sw-formcard__note  { font-size: 13.5px; line-height: 1.5; color: var(--sw-grey); margin: 0 0 20px; }

/* ---- Contact lane (icon chip + label + value) -------------------------- */
.sw-block-title { font-size: 20px; font-weight: 800; letter-spacing: -.01em; color: var(--sw-ink); margin: 0 0 18px; }
.sw-contact { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
.sw-contact__icon {                       /* matches .mz-service-icon on stores/prodai: soft tint + colored icon */
     flex: 0 0 auto; width: 46px; height: 46px; border-radius: 12px;
     display: inline-flex; align-items: center; justify-content: center;
     font-size: 18px; background: var(--sw-tint-teal); color: var(--sw-teal-ink);
}
.sw-contact__icon--purple { background: var(--sw-tint-purple); color: var(--sw-purple); }
.sw-contact__icon--orange { background: var(--sw-tint-orange); color: var(--sw-warn); }
.sw-contact__label {
     font-size: 12.5px; font-weight: 600; color: var(--sw-grey); margin: 0 0 2px;
}
.sw-contact__value { font-size: 16px; font-weight: 700; color: var(--sw-ink); }
.sw-contact__value--sm { font-size: 14.5px; font-weight: 600; line-height: 1.45; }
.sw-contact__value i { font-size: 12px; margin-left: 5px; color: var(--sw-teal-ink); transition: transform .18s ease; }
a.sw-contact--link { text-decoration: none; }
a.sw-contact--link:hover .sw-contact__value { color: var(--sw-teal-ink); }
a.sw-contact--link:hover .sw-contact__value i { transform: translateX(3px); }
.sw-contact__value a { color: var(--sw-ink); text-decoration: none; }
.sw-contact__value a:hover { color: var(--sw-teal-ink); text-decoration: none; }

/* ---- reCAPTCHA / fine print -------------------------------------------- */
.recaptcha-notice { font-size: 12px; line-height: 1.5; color: var(--sw-muted); margin-top: 16px; }
.recaptcha-notice a { color: var(--sw-grey); text-decoration: underline; }
.recaptcha-notice a:hover { color: var(--sw-teal-ink); }

/* ---- Social icon buttons (signature: fill with brand gradient on hover) - */
.sw-social { display: inline-flex; flex-wrap: wrap; gap: 10px; }
.sw-social a {
     width: 44px; height: 44px; border-radius: var(--sw-r-pill);
     display: inline-flex; align-items: center; justify-content: center;
     background: var(--sw-bg); border: 1px solid var(--sw-line-2);
     color: var(--sw-ink); font-size: 17px; text-decoration: none;
     transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
}
.sw-social a:hover {
     background: var(--sw-grad); border-color: transparent;
     color: #fff; transform: translateY(-2px);
}
.sw-social-block { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--sw-line); }

/* ---- Responsive (hero shrinks like the landings) ----------------------- */
@media (max-width: 991px) {
     .sw-hero { padding: 48px 0 48px; }
}
@media (max-width: 575px) {
     .sw-hero { padding: 36px 0 40px; }
     .sw-hero__title { font-size: 1.6rem; }
     .sw-hero__sub { margin-left: auto; margin-right: auto; }
}

/* ---- Reduced motion ---------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
     .sw-card, .sw-btn, .sw-input, .sw-social a { transition: none; }
     .sw-card:hover, .sw-social a:hover, .sw-btn:hover,
     .sw-btn--ghost:hover, .mz-btn--ghost:hover { transform: none; }
}

/* ==========================================================================
   Store / service / hero internals (moved here 2026-07-07 from the per-page
   sheets; identical in magazini_new.css & prodai_landing.css). Shared by
   magazini index/view/contacts + prodai landing/main. Single source now.
   ========================================================================== */
.mz-hero-inner { position: relative; z-index: 1; }
.mz-grad {
    background: linear-gradient(120deg, var(--sw-purple) 0%, var(--sw-teal-bright) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.mz-hero-count {
    color: var(--sw-teal-ink);   /* teal, not --sw-success: these are the "8 магазина / 6 града"
                                    counts, a brand accent — not a stock state. They only looked
                                    right before because --sw-success was itself teal (hue 173). */
    font-weight: 800;
}
.mz-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}
.mz-filters-label {
    flex-basis: 100%;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--sw-muted);
    margin-bottom: 4px;
}
.mz-pill-count { opacity: 0.5; }
.mz-card-img {
    width: 100%;
    height: 220px;
    background-size: cover;
    background-position: center center;
    background-color: #f5f5f7;
    position: relative;
}
.mz-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    display: block;
}
.mz-card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.04) 0%, rgba(0,0,0,0) 32%, rgba(0,0,0,0) 62%, rgba(0,0,0,0.28) 100%);
    pointer-events: none;
}
.mz-card-img--empty::after { display: none; }
.mz-card-chip {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 100px;
    background: rgba(255,255,255,0.92);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: var(--sw-ink);
    box-shadow: 0 2px 10px rgba(0,0,0,0.14);
}
.mz-card-chip i {
    font-size: 11px;
    color: var(--sw-purple);
}
.mz-card-img--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f5f7 0%, #eaeaea 100%);
}
.mz-card-img--empty > i {
    font-size: 40px;
    color: #d4d4d8;
}
.mz-card-body {
    padding: 20px 22px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.mz-card-city {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--sw-purple);
    margin-bottom: 6px;
}
.mz-card-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--sw-ink);
    line-height: 1.25;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}
.mz-card-address {
    font-size: 14px;
    color: var(--sw-grey);
    line-height: 1.5;
    margin-bottom: 16px;
}
.mz-card-address i {
    color: #d4d4d8;
    margin-right: 6px;
    font-size: 13px;
}
.mz-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 18px;
}
.mz-badge i { font-size: 10px; }
.mz-card-cta {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid #f5f5f7;
}
.mz-card-link {
    font-size: 13px;
    font-weight: 700;
    color: var(--sw-purple);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s ease;
}
.mz-card:hover .mz-card-link { gap: 10px; }
.mz-card-link i {
    font-size: 11px;
    transition: transform 0.2s ease;
}
.mz-card:hover .mz-card-link i { transform: translateX(3px); }
.mz-card-hours {
    font-size: 12px;
    color: var(--sw-muted);
}
.mz-card-hours i { margin-right: 4px; font-size: 11px; }
.mz-cta {
    background: var(--sw-surface-dark);
    padding: 48px 0;
    text-align: center;
    position: relative;
}
/* .mz-cta gets the deal edge from the shared .sw-deal-edge group below. */
.mz-cta h2 {
    font-weight: 700;
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    color: #fff;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}
.mz-cta p {
    color: rgba(255,255,255,0.4);
    font-size: .95rem;
    margin-bottom: 28px;
}
.mz-services {
    background: var(--sw-bg-soft);
    padding: 64px 0;
    border-top: 1px solid var(--sw-line);
}
.mz-service {
    background: #fff;
    border: 1px solid var(--sw-line);
    border-radius: 16px;
    padding: 32px 28px;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.mz-service:hover {
    border-color: transparent;
    box-shadow: 0 16px 48px rgba(0,0,0,0.10);
    transform: translateY(-5px);
}
.mz-service-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 20px;
}
.mz-service h3 {
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--sw-ink);
    letter-spacing: -0.01em;
    margin-bottom: 12px;
}
.mz-service p {
    color: var(--sw-grey);
    font-size: .95rem;
    line-height: 1.55;
    margin-bottom: 18px;
}
.mz-service-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}
.mz-service-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #374151;
    font-size: .92rem;
    padding: 5px 0;
}
.mz-service-list li i {
    font-size: 12px;
}
.mz-service-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    align-self: flex-start;
    font-weight: 700;
    font-size: 14px;
    padding: 12px 22px;
    border-radius: 10px;
    border: none;
    color: #fff;
    text-decoration: none;
    transition: all 0.25s ease;
}
.mz-service-btn:hover {
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
}
/* SELL -> purple, BUY -> teal (2026-07-31). These were INVERTED against the card
   badges above: a visitor read "Продай" in purple on a store card, scrolled, and
   read "Продай" in green here. Green has left the buy/sell axis entirely. */
.mz-service--sell .mz-service-icon { background: var(--sw-tint-purple); color: var(--sw-purple); }
.mz-service--sell .mz-service-list li i { color: var(--sw-purple); }
.mz-service--sell .mz-service-btn { background: var(--sw-purple); color: #fff; box-shadow: 0 4px 16px rgba(119,53,213,0.25); }
.mz-service--sell .mz-service-btn:hover { background: var(--sw-purple-d); color: #fff; box-shadow: 0 8px 24px rgba(119,53,213,0.35); }
.mz-service--buy .mz-service-icon { background: var(--sw-tint-teal); color: var(--sw-teal-ink); }
.mz-service--buy .mz-service-list li i { color: var(--sw-teal-ink); }
.mz-service--buy .mz-service-btn { background: var(--sw-teal-ink); color: #fff; box-shadow: 0 4px 16px rgba(43,187,188,0.25); }
.mz-service--buy .mz-service-btn:hover { background: var(--sw-teal-bright); color: #fff; box-shadow: 0 8px 24px rgba(43,187,188,0.35); }
.mz-service--repair .mz-service-icon { background: var(--sw-tint-orange); color: var(--sw-warn); }
.mz-service--repair .mz-service-list li i { color: var(--sw-warn); }
.mz-service--repair .mz-service-btn { background: var(--sw-warn); box-shadow: 0 4px 16px rgba(217,119,6,0.25); }
.mz-service--repair .mz-service-btn:hover { background: var(--sw-warn-d); box-shadow: 0 8px 24px rgba(217,119,6,0.35); }
.mz-store-hero { padding-bottom: 56px; }
.mz-back {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--sw-muted);
    text-decoration: none;
    margin-bottom: 20px;
    transition: gap 0.2s ease, color 0.2s ease;
}
.mz-back:hover { gap: 11px; color: var(--sw-grey); text-decoration: none; }
.mz-back i { font-size: 11px; }
.mz-store-hero .mz-store-title {
    font-weight: 800;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--sw-ink);
    margin-bottom: 12px;
    overflow-wrap: break-word;
}
.mz-store-lead {
    color: var(--sw-grey);
    font-size: 1.05rem;
    line-height: 1.5;
    max-width: 460px;
    margin-bottom: 28px;
}
.mz-store-info {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 28px;
}
.mz-store-info-row { display: flex; align-items: flex-start; gap: 14px; }
.mz-store-info-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--sw-tint-purple);
    color: var(--sw-purple);
    font-size: 17px;
}
.mz-store-info-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--sw-muted);
    margin-bottom: 3px;
}
.mz-store-info-value { color: var(--sw-ink); font-size: 15px; line-height: 1.5; }
.mz-store-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.mz-store-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mz-store-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0) 40%, rgba(0,0,0,0.22) 100%);
    pointer-events: none;
}
.mz-store-banner { background: var(--sw-bg-soft); padding: 4px 0 0; }
.mz-store-banner-img { width: 100%; height: auto; border-radius: 14px; display: block; }
.mz-store-map { background: #fff; padding: 64px 0; }
.mz-map {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--sw-line);
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    line-height: 0;
}
.mz-map iframe { display: block; width: 100%; }
.mz-store-others { padding-top: 64px; }
.mz-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.mz-reveal.mz-visible {
    opacity: 1;
    transform: translateY(0);
}
.mz-eyebrow--dark { color: #d7d2e8; }

/* ==========================================================================
   Landing / homepage molecules — promoted from prodai_landing.css so the
   sell landings and the homepage share ONE definition (2026-07-17). Prodai
   keeps its .pi-*/.pl-* class names as ALIASES (same migration model as
   .sw-btn/.mz-btn); new pages use the .sw-* names directly.
   ========================================================================== */

/* Deal edge — 3px brand-gradient hairline atop dark bands where money changes
   hands (offer-board header, price promise, stats, store/sell CTAs). Was
   .mz-cta::before + a duplicate in prodai_landing.css; single source now.
   The element must be position:relative (utility sets it; aliases set their own). */
.sw-deal-edge { position: relative; }
.sw-deal-edge::before,
.mz-cta::before,
.pl-board-top::before, .pl-promise::before, .pl-stats::before {
     content: ''; position: absolute; top: 0; left: 0; right: 0;
     height: 3px; background: var(--sw-grad);
}

/* Section header — centered eyebrow + title + optional sub. Wraps the kit's
   own .sw-eyebrow / .sw-title so a section header is one wrapper, not a pile
   of per-section centering overrides. */
.sw-sectionhead { text-align: center; margin-bottom: 40px; }
.sw-sectionhead .sw-eyebrow { display: inline-flex; justify-content: center; margin-bottom: 11px; }
.sw-sectionhead .sw-title   { margin-bottom: 0; }

/* Logo marquee — auto-scrolling press-logo strip. Pauses on hover; edges fade
   via mask; reduced-motion / mobile fall back to a static wrap (mobile is then
   finger-dragged by JS in the template). */
.sw-marquee, .pi-media-marquee {
     margin-top: 30px; overflow: hidden;
     -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
             mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.sw-marquee__track, .pi-media-track {
     display: flex; align-items: center; gap: 60px;
     width: max-content; animation: sw-marquee 45s linear infinite;
}
.sw-marquee:hover .sw-marquee__track,
.pi-media-marquee:hover .pi-media-track { animation-play-state: paused; }
.sw-marquee__logo, .pi-media-logo { display: inline-flex; flex: none; }
.sw-marquee__logo img, .pi-media-logo img { height: 54px; width: auto; max-width: 190px; object-fit: contain; }
@keyframes sw-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 767px) {
     .sw-marquee__track, .pi-media-track { gap: 42px; animation: none; will-change: transform; }
     .sw-marquee__logo img, .pi-media-logo img { height: 44px; max-width: 160px; }
}
@media (prefers-reduced-motion: reduce) {
     .sw-marquee__track, .pi-media-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; gap: 28px 44px; }
     .sw-marquee, .pi-media-marquee { -webkit-mask-image: none; mask-image: none; }
}

/* Chips — small rounded fact/benefit tags. Base = light (purple on tint);
   .sw-chip--dark for dark bands. .pl-chip/.pl-chips are prodai aliases. */
.sw-chips, .pl-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.sw-chip, .pl-chip {
     display: inline-flex; align-items: center; gap: 7px;
     background: #f1ecfb; border-radius: 100px; padding: 8px 14px;
     font-size: 13px; font-weight: 600; color: #5b3da8;
}
.sw-chip i, .pl-chip i { color: var(--sw-purple); font-size: 12px; }
.sw-chip--dark {
     background: rgba(255,255,255,.08); color: rgba(255,255,255,.82);
}
.sw-chip--dark i { color: var(--sw-teal-bright); }

/* ==========================================================================
   Long-form prose (.sw-content) — the readable text block for DB-driven page
   HTML: About, legal/policy pages, guides. One place so every content page
   reads the same. Constrained measure for readability; tokens only.
   ========================================================================== */
.sw-content { max-width: 820px; margin-left: auto; margin-right: auto; color: var(--sw-grey); font-size: 1.02rem; line-height: 1.75; }
.sw-content > *:first-child { margin-top: 0; }
.sw-content > *:last-child  { margin-bottom: 0; }
.sw-content p { margin: 0 0 1.1em; }
.sw-content b, .sw-content strong { color: var(--sw-ink); font-weight: 700; }
.sw-content h2 { font-size: 24px !important;  font-weight: 800; color: var(--sw-ink); letter-spacing: -.02em; margin: 1.9em 0 .55em; }
.sw-content h3 { font-size: 1.2rem !important;  font-weight: 700; color: var(--sw-ink); margin: 1.6em 0 .5em; }
.sw-content h4 { font-size: 1.05rem !important; font-weight: 700; color: var(--sw-ink); margin: 1.4em 0 .45em; }
.sw-content a { color: var(--sw-teal-ink); text-decoration: underline; text-underline-offset: 2px; }
.sw-content a:hover { color: var(--sw-teal-bright); }
.sw-content ul, .sw-content ol { margin: 0 0 1.1em; padding-left: 1.35em; }
.sw-content li { margin-bottom: .4em; }
.sw-content img { max-width: 100%; height: auto; border-radius: var(--sw-r-sm); }
.sw-content hr { border: 0; border-top: 1px solid var(--sw-line); margin: 2em 0; }
.sw-content table { width: 100% !important; border-collapse: collapse; margin: 0 0 1.3em; font-size: .95rem; border: 0 !important; }
.sw-content th, .sw-content td {
    width: auto !important;               /* kill Word's fixed pt widths — cells distribute naturally */
    border: 1px solid var(--sw-line) !important;   /* kill 'windowtext' borders */
    padding: 9px 13px !important;
    text-align: left; vertical-align: top;
    word-break: normal;              /* never cut inside words (Съст-ояния) */
    overflow-wrap: break-word;       /* break only truly oversized tokens (long URLs) */
}
.sw-content th { background: var(--sw-bg-soft); font-weight: 700; color: var(--sw-ink); }
.sw-content td p, .sw-content th p { margin: 0 0 .35em; }  /* Word wraps every cell line in <p> */
.sw-content td p:last-child, .sw-content th p:last-child { margin-bottom: 0; }

/* ==========================================================================
   FAQ accordion (.sw-faq) — kit version of the prodai-landing .pl-faq pattern,
   promoted here when the FAQ page joined the kit (2nd consumer). Works with a
   tiny toggle: .sw-faq__item gets .open. Answers hold DB HTML → wrap them in
   .sw-content inside .sw-faq__a so the typography sanitizer applies.
   ========================================================================== */
.sw-faq { max-width: 800px; margin: 0 auto; background: var(--sw-bg); border: 1px solid var(--sw-line); border-radius: var(--sw-r-card); padding: 6px 28px; box-shadow: var(--sw-sh-sm); }
.sw-faq__item { border-bottom: 1px solid var(--sw-line); overflow: hidden; }
.sw-faq__item:last-child { border-bottom: none; }
.sw-faq__q {
    width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
    background: none; border: none; text-align: left; cursor: pointer;
    padding: 20px 4px; font-family: inherit; font-size: 16px; font-weight: 700; color: var(--sw-ink);
}
/* Hierarchy inside answers: <b> is inline emphasis, not a second heading —
   semi-bold in the running grey, so the black 700 question stays the anchor. */
.sw-faq .sw-content b, .sw-faq .sw-content strong { font-weight: 600; color: inherit; }
.sw-faq__plus { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--sw-line-2);
    display: grid; place-items: center; font-size: 19px; line-height: 1; color: var(--sw-purple);
    transition: transform 0.25s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease; }
.sw-faq__item.open .sw-faq__plus { transform: rotate(45deg); background: var(--sw-purple); border-color: var(--sw-purple); color: #fff; }
.sw-faq__a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.sw-faq__item.open .sw-faq__a { max-height: 3000px; }   /* generous: DB answers vary in length */
.sw-faq__a .sw-content { padding: 0 4px 20px; font-size: .95rem; }
/* Category cards — the page's primary navigation gets card presence (icon over
   label, generous target), not a text pill. Active = purple tint + border. */
.sw-faq-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 900px; margin: 0 auto; }
.sw-faq-tab {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
    background: var(--sw-bg); border: 1px solid var(--sw-line); border-radius: var(--sw-r-card);
    padding: 20px 12px; text-align: center;
    font-weight: 700; font-size: .95rem; color: var(--sw-ink); text-decoration: none;
    transition: transform .25s ease, box-shadow .25s ease, border-color .2s ease, background .2s ease;
}
.sw-faq-tab i { font-size: 24px; color: var(--sw-purple); }
.sw-faq-tab:hover { transform: translateY(-3px); box-shadow: var(--sw-sh-lg); color: var(--sw-ink); text-decoration: none; }
.sw-faq-tab.active { background: var(--sw-tint-purple); border-color: var(--sw-purple); color: var(--sw-purple); }
.sw-faq-tab.active i { color: var(--sw-purple); }
@media (max-width: 767px) {
    .sw-faq-tabs { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .sw-faq-tab { padding: 14px 8px; font-size: .85rem; }
    .sw-faq { padding: 2px 16px; }
}

/* Summernote hygiene: DB content keeps SEMANTIC control (bold, headings, links,
   lists), but typography is locked to the site — inline font-family / font-size /
   line-height / highlight junk from old editor sessions is neutralized.
   !important is required: only it can beat inline style="" attributes. */
.sw-content p, .sw-content span, .sw-content li, .sw-content a,
.sw-content b, .sw-content strong, .sw-content em, .sw-content i, .sw-content u,
.sw-content h1, .sw-content h2, .sw-content h3, .sw-content h4,
.sw-content blockquote, .sw-content td, .sw-content th {
    font-family: inherit !important;
    line-height: inherit !important;
    background-color: transparent !important;
}
.sw-content p, .sw-content span, .sw-content li, .sw-content a,
.sw-content b, .sw-content strong, .sw-content em, .sw-content i, .sw-content u {
    font-size: inherit !important;
}
