/* ============================================================
   ALX Catalog — Avtomobil kataloqu (listing + daxili səhifə)
   Autoleasing (Figma) dizayn sisteminin priorleasing-ə portu.
   Bütün seçicilər .alx altında scope olunub ki, Novi temasının
   qlobal stilləri ilə toqquşmasın.
   ============================================================ */

.alx {
    /* Design tokens — Autoleasing Figma faylından */
    --alx-brand: #17bbb1;
    --alx-brand-deep: #042f2e;
    --alx-navbar: #4c626f;
    --alx-ink: #18181b;
    --alx-ink-strong: #09090b;
    --alx-muted: #71717a;
    --alx-page: #f4f4f5;
    --alx-soft: #f9fafb;
    --alx-chip: #f1f5f9;
    --alx-line: rgba(0, 0, 0, 0.12);
    --alx-field: #6e6e6e;
    --alx-shadow-card: 0 10px 30px 0 rgba(0, 0, 0, 0.05);
    --alx-shadow-soft: 0 1px 3px 0 rgba(0, 0, 0, 0.08);

    font-family: 'Instrument Sans', 'Roboto', ui-sans-serif, system-ui, -apple-system, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: var(--alx-ink);
    -webkit-font-smoothing: antialiased;
}

.alx *,
.alx *::before,
.alx *::after { box-sizing: border-box; }

/* Novi temasında .page { overflow: hidden } position:sticky-ni sındırır.
   `clip` eyni kəsmə effektini verir, amma sticky ilə uyğundur; :has()
   dəstəkləməyən köhnə brauzerlərdə kart sadəcə sticky olmadan qalır. */
.page:has(.alx) { overflow: clip; }

/* Novi temasının qlobal heading/paragraph stillərini neytrallaşdır */
.alx h1, .alx h2, .alx h3, .alx h4, .alx h5, .alx h6, .alx p, .alx dl, .alx dt, .alx dd, .alx figure, .alx ul, .alx ol {
    margin: 3px;
    padding: 3px;
    text-transform: none;
    letter-spacing: normal;
}
.alx ul, .alx ol { list-style: none; }
.alx a { text-decoration: none; color: inherit; transition: color 0.2s ease; }

/* Link-düymələr (2026-09-15 fix): `.alx a` (class+element) tək-class `.alx-card-cta` və s.
   qaydalarını üstələyirdi → "Ətraflı" firuzəyi fonda TÜND, ağ fondakı "Müraciət et" isə
   ağ-üstündə-ağ görünürdü. Rəngləri eyni spesifiklikdə (.alx a.class) təkrar qeyd edirik. */
.alx a.alx-card-cta, .alx a.alx-card-cta:hover, .alx a.alx-card-cta:focus,
.alx a.alx-btn-brand, .alx a.alx-btn-brand:hover, .alx a.alx-btn-brand:focus,
.alx a.alx-btn-primary, .alx a.alx-btn-primary:hover, .alx a.alx-btn-primary:focus { color: #fafafa; }
.alx a.alx-calc-cta, .alx a.alx-calc-cta:hover, .alx a.alx-calc-cta:focus { color: var(--alx-ink); }
.alx a.alx-cta-btn, .alx a.alx-cta-btn:hover, .alx a.alx-cta-btn:focus { color: var(--alx-brand-deep); }
.alx a.alx-btn-secondary, .alx a.alx-btn-secondary:hover { color: var(--alx-ink); }
.alx a.alx-filter-reset { color: var(--alx-ink); }
.alx a.alx-filter-reset:hover, .alx a.alx-filter-reset:focus { color: var(--alx-brand); }
.alx a:focus-visible { outline: 2px solid var(--alx-brand); outline-offset: 2px; }
.alx img { max-width: 100%; border: 0; }
.alx button { font-family: inherit; cursor: pointer; border: 0; background: none; padding: 0; color: inherit; }
.alx input { font-family: inherit; }
.alx svg { display: block; }

/* ── Container / sections ─────────────────────────────────── */
.alx-shell {
    max-width: 1312px;
    margin: 0 auto;
    padding-left: 16px;
    padding-right: 16px;
}
@media (min-width: 640px)  { .alx-shell { padding-left: 24px; padding-right: 24px; } }
@media (min-width: 1024px) { .alx-shell { padding-left: 64px; padding-right: 64px; } }

.alx-sec { padding-top: 64px; padding-bottom: 64px; }
@media (min-width: 640px) { .alx-sec { padding-top: 80px; padding-bottom: 80px; } }

.alx-bg-white { background: #ffffff; }
.alx-bg-page  { background: var(--alx-page); }
.alx-bg-soft  { background: var(--alx-soft); }

.alx-h2 {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--alx-ink);
}
@media (min-width: 640px) { .alx-h2 { font-size: 30px; } }

.alx-sub {
    margin-top: 12px;
    text-align: center;
    font-size: 14px;
    color: var(--alx-navbar);
}

/* ── Breadcrumb ───────────────────────────────────────────── */
.alx-crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    padding-top: 14px;
    padding-bottom: 14px;
    font-size: 13px;
    color: var(--alx-navbar);
}
.alx-crumbs li { display: flex; align-items: center; gap: 6px; }
.alx-crumbs a:hover { color: var(--alx-brand); }
.alx-crumbs .alx-crumb-last { font-weight: 600; color: var(--alx-ink); }
.alx-crumbs svg { width: 14px; height: 14px; opacity: 0.5; }

/* ── Range slider (kalkulyator) ───────────────────────────── */
.alx-range {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    border-radius: 9999px;
    outline: none;
    cursor: pointer;
    background: linear-gradient(
        to right,
        var(--alx-brand-deep) 0%,
        var(--alx-brand-deep) var(--pct, 50%),
        var(--alx-line) var(--pct, 50%),
        var(--alx-line) 100%
    );
}
.alx-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 9999px;
    background: var(--alx-brand-deep);
    border: 2px solid #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
    transition: transform 0.15s ease;
}
.alx-range::-webkit-slider-thumb:hover { transform: scale(1.15); }
.alx-range::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 9999px;
    background: var(--alx-brand-deep);
    border: 2px solid #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

/* ── Lizinq kalkulyatoru (listing səhifəsi) ───────────────── */
.alx-calc {
    margin: 40px auto 0;
    max-width: 896px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
@media (min-width: 1024px) {
    .alx-calc { grid-template-columns: 230px 1fr 290px; }
}
.alx-calc-thumb {
    display: none;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 16px;
    background: var(--alx-soft);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
}
@media (min-width: 1024px) { .alx-calc-thumb { display: flex; } }
.alx-calc-thumb img { height: 100%; width: 100%; object-fit: contain; padding: 12px; }

.alx-calc-fields { display: flex; flex-direction: column; justify-content: center; gap: 16px; }

.alx-field {
    display: block;
    border: 1px solid rgba(0, 0, 0, 0.085);
    border-radius: 12px;
    background: #fff;
    padding: 10px 16px 12px;
}
.alx-field-label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--alx-field);
}
.alx-field-row { display: flex; align-items: baseline; gap: 6px; }
.alx-field-row input {
    width: 100%;
    background: transparent;
    border: 0;
    outline: none;
    font-size: 16px;
    font-weight: 600;
    color: var(--alx-ink);
    padding: 0;
}
.alx-field-unit { font-size: 14px; font-weight: 600; color: var(--alx-ink); }
.alx-field-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.alx-field-value { font-size: 16px; font-weight: 600; color: var(--alx-ink); }
.alx-field-pct {
    flex-shrink: 0;
    border-left: 1px solid rgba(0, 0, 0, 0.085);
    padding-left: 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--alx-ink);
}
.alx-field .alx-range { margin-top: 10px; }

.alx-calc-result {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
    border-radius: 16px;
    background: var(--alx-brand);
    padding: 24px;
    color: #fff;
}
.alx-calc-result-title { text-align: center; font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, 0.85); }
.alx-calc-result-total { margin-top: 6px; text-align: center; font-size: 28px; font-weight: 700; line-height: 1; }
.alx-calc-result-rows {
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    padding-top: 16px;
}
.alx-calc-result-row { display: flex; align-items: center; justify-content: space-between; font-size: 14px; }
.alx-calc-result-row span:first-child { color: rgba(255, 255, 255, 0.85); }
.alx-calc-result-row span:last-child { font-weight: 700; }
.alx-calc-cta {
    display: flex;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #fff;
    font-size: 16px;
    font-weight: 600;
    color: var(--alx-ink);
    transition: background 0.2s ease;
}
.alx-calc-cta:hover { background: rgba(255, 255, 255, 0.9); color: var(--alx-ink); }

/* ── Filter bar ───────────────────────────────────────────── */
.alx-filterbar {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
@media (min-width: 1024px) {
    .alx-filterbar { flex-direction: row; align-items: center; justify-content: space-between; }
}
.alx-filterbar-dd {
    display: grid;
    flex: 1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
@media (min-width: 640px) { .alx-filterbar-dd { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.alx-dd { position: relative; }
.alx-dd-btn,
button.alx-dd-btn {
    display: flex;
    width: 100%;
    height: 44px;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.12);   /* axtarış qutusu ilə eyni çərçivə */
    background: #fff;
    padding: 0 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--alx-ink);                    /* axtarış mətni ilə eyni rəng */
    transition: border-color 0.2s ease, color 0.2s ease;
    white-space: nowrap;
    overflow: hidden;
    cursor: pointer;
}
.alx-dd-btn > span { flex: 1; overflow: hidden; text-overflow: ellipsis; text-align: left; }
.alx-dd-btn:hover { border-color: rgba(23, 187, 177, 0.6); }
.alx-dd-btn svg { width: 16px; height: 16px; flex-shrink: 0; color: #94a3b8; transition: transform 0.2s ease; }
.alx-dd-btn svg:last-child { transition: transform 0.2s ease; }
.alx-dd.open .alx-dd-btn { border-color: var(--alx-brand); }
.alx-dd.open .alx-dd-btn svg:last-child { transform: rotate(180deg); }
/* Seçim aktivdir (sıralama / facet) */
.alx-dd.is-set .alx-dd-btn { border-color: var(--alx-brand); color: var(--alx-brand-deep); background: rgba(23, 187, 177, 0.06); }
.alx-dd.is-set .alx-dd-btn svg { color: var(--alx-brand); }
.alx-dd-panel a.is-active { color: var(--alx-brand); font-weight: 600; }
.alx-dd-panel a.is-active svg { width: 16px; height: 16px; color: var(--alx-brand); }
.alx-dd-panel {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 60;
    display: none;
    min-width: 100%;
    width: max-content;
    max-width: 300px;
    max-height: 320px;
    overflow: auto;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.085);
    background: #fff;
    box-shadow: var(--alx-shadow-card);
    padding: 6px;
}
.alx-dd.open .alx-dd-panel { display: block; }
.alx-dd-panel a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 14px;
    color: var(--alx-ink);
}
.alx-dd-panel a:hover { background: var(--alx-soft); color: var(--alx-brand); }
.alx-dd-panel a .alx-dd-count { font-size: 12px; color: var(--alx-muted); }
.alx-dd-panel a.alx-dd-sub { padding-left: 26px; }

.alx-filterbar-actions { display: flex; align-items: center; gap: 12px; }
.alx-search-form {
    display: flex;
    flex: 1;
    align-items: center;
    gap: 12px;
    margin: 0;
}
.alx-search {
    display: flex;
    height: 44px;
    flex: 1;
    align-items: center;
    gap: 8px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: #fff;
    padding: 0 14px;
    transition: border-color 0.2s ease;
}
.alx-search:focus-within { border-color: var(--alx-brand); }
.alx-search input {
    width: 100%;
    min-width: 120px;
    border: 0;
    outline: none;
    background: transparent;
    font-size: 14px;
    color: var(--alx-ink);
}
.alx-search input::placeholder { color: #94a3b8; }
.alx-btn-brand {
    display: inline-flex;
    height: 44px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 12px;
    background: var(--alx-brand);
    padding: 0 20px;
    font-size: 14px;
    font-weight: 600;
    color: #fafafa;
    transition: filter 0.2s ease;
    white-space: nowrap;
}
.alx-btn-brand:hover { filter: brightness(0.95); color: #fafafa; }
.alx-btn-brand svg { width: 16px; height: 16px; }

.alx-filter-reset {
    display: inline-flex;
    height: 44px;
    align-items: center;
    gap: 6px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: #fff;
    padding: 0 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--alx-ink);
    white-space: nowrap;
}
.alx-filter-reset:hover { border-color: rgba(23, 187, 177, 0.5); color: var(--alx-brand); }
.alx-filter-reset svg { width: 14px; height: 14px; }

/* ── Elan kartları ────────────────────────────────────────── */
.alx-grid {
    margin-top: 32px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
@media (min-width: 640px)  { .alx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .alx-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.alx-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.085);
    background: var(--alx-soft);
    box-shadow: var(--alx-shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.alx-card:hover { transform: translateY(-4px); box-shadow: var(--alx-shadow-card); }
.alx-card-img {
    position: relative;
    overflow: hidden;
    background: #fff;
}
.alx-card-img a { display: block; }
.alx-card-img img {
    aspect-ratio: 4 / 3;
    width: 100%;
    height: auto;
    object-fit: contain;
    padding: 8px;
    transition: transform 0.5s ease;
}
.alx-card:hover .alx-card-img img { transform: scale(1.05); }
.alx-card-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    gap: 6px;
    z-index: 2;
}
.alx-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 9999px;
    padding: 3px 10px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    background: var(--alx-brand);
}
.alx-badge a { color: #fff; }
.alx-badge.alx-badge-2 { background: #e53935; }

.alx-card-body { display: flex; flex: 1; flex-direction: column; gap: 16px; padding: 16px; }
.alx-card-info { display: flex; flex: 1; flex-direction: column; gap: 6px; }
.alx-card-price { font-size: 24px; font-weight: 700; line-height: 1.2; color: var(--alx-ink-strong); }
/* Qiymət gizlidirsə ("Qiyməti göstərmə") eyni hündürlükdə neytral sətir — kartlar bir xəttə düzülsün */
.alx-card-price.alx-card-price-hidden { display: flex; min-height: 29px; align-items: center; font-size: 15px; font-weight: 500; color: var(--alx-muted); }
.alx-card-meta strong { font-weight: 600; color: var(--alx-ink); }
.alx-card-meta.alx-card-meta-empty { min-height: 21px; }
.alx-card-title { font-size: 18px; font-weight: 400; color: var(--alx-ink-strong); }
.alx-card-title a:hover { color: var(--alx-brand); }
.alx-card-chips { margin-top: 4px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.alx-chip {
    border-radius: 6px;
    background: #fff;
    padding: 2px 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--alx-ink-strong);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.07);
}
.alx-card-meta {
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--alx-muted);
}
.alx-card-meta svg { width: 14px; height: 14px; flex-shrink: 0; }
.alx-card-cta {
    display: flex;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--alx-brand);
    padding: 0 16px;
    font-size: 16px;
    font-weight: 600;
    color: #fafafa;
    transition: filter 0.2s ease;
}
.alx-card-cta:hover { filter: brightness(0.95); color: #fafafa; }

.alx-empty {
    margin-top: 32px;
    border-radius: 12px;
    border: 1px dashed rgba(0, 0, 0, 0.15);
    background: #fff;
    padding: 48px 24px;
    text-align: center;
    font-size: 15px;
    color: var(--alx-navbar);
}

/* ── Pagination ───────────────────────────────────────────── */
.alx-pager {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}
.alx-pager a {
    display: inline-flex;
    height: 44px;
    min-width: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.085);
    background: #fff;
    padding: 0 16px;
    font-size: 15px;
    font-weight: 600;
    color: var(--alx-ink);
    transition: border-color 0.2s ease, color 0.2s ease;
}
.alx-pager a:hover { border-color: rgba(23, 187, 177, 0.5); color: var(--alx-brand); }
.alx-pager a.alx-pager-active { background: var(--alx-brand); border-color: var(--alx-brand); color: #fff; }

/* ── Addım / üstünlük kartları ────────────────────────────── */
.alx-steps {
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
@media (min-width: 768px) { .alx-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.alx-step {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.085);
    background: #fff;
    padding: 24px;
}
.alx-step-no {
    display: flex;
    height: 36px;
    width: 36px;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background: var(--alx-brand);
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}
.alx-step h3 { font-size: 18px; font-weight: 600; color: var(--alx-ink); }
.alx-step p { font-size: 14px; line-height: 1.6; color: var(--alx-navbar); }

.alx-feats {
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
@media (min-width: 640px)  { .alx-feats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .alx-feats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.alx-feat {
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.085);
    background: #fff;
    padding: 24px;
    transition: box-shadow 0.2s ease;
}
.alx-feat:hover { box-shadow: var(--alx-shadow-card); }
.alx-feat-icon {
    display: flex;
    height: 44px;
    width: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(23, 187, 177, 0.1);
    color: var(--alx-brand);
}
.alx-feat-icon svg { width: 20px; height: 20px; }
.alx-feat h3 { font-size: 16px; font-weight: 600; color: var(--alx-ink); }
.alx-feat p { font-size: 14px; line-height: 1.6; color: var(--alx-navbar); }

/* ── CTA band ─────────────────────────────────────────────── */
.alx-cta-band { background: linear-gradient(to bottom right, var(--alx-brand), var(--alx-brand-deep)); }
.alx-cta-band .alx-shell {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding-top: 64px;
    padding-bottom: 64px;
    text-align: center;
}
.alx-cta-band h2 {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #fff;
}
@media (min-width: 640px) { .alx-cta-band h2 { font-size: 30px; } }
.alx-cta-band p { margin-top: 12px; font-size: 16px; color: rgba(255, 255, 255, 0.8); }
.alx-cta-band .alx-cta-copy { max-width: 640px; }
.alx-cta-btn {
    display: inline-flex;
    height: 48px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 12px;
    background: #fff;
    padding: 0 32px;
    font-size: 16px;
    font-weight: 600;
    color: var(--alx-brand-deep);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: background 0.2s ease;
}
.alx-cta-btn:hover { background: rgba(255, 255, 255, 0.9); color: var(--alx-brand-deep); }
.alx-cta-btn svg { width: 16px; height: 16px; }

/* ── Daxili səhifə: layout ────────────────────────────────── */
.alx-detail {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding-bottom: 40px;
}
@media (min-width: 1024px) { .alx-detail { flex-direction: row; } }
.alx-detail-main { display: flex; min-width: 0; flex: 1; flex-direction: column; gap: 32px; }
.alx-detail-aside { width: 100%; }
@media (min-width: 1024px) { .alx-detail-aside { width: 440px; flex-shrink: 0; } }

/* Gallery — karusel (2026-09-15): scroll-snap track + ox düymələri + üfüqi thumbnail zolağı */
.alx-gallery { display: flex; flex-direction: column; gap: 14px; }
.alx-gallery-main {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}
.alx-gallery-track {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.alx-gallery-track::-webkit-scrollbar { display: none; }
.alx-gallery-slide { flex: 0 0 100%; width: 100%; scroll-snap-align: start; scroll-snap-stop: always; }
.alx-gallery-slide img {
    display: block;
    height: 260px;
    width: 100%;
    object-fit: contain;
    user-select: none;
    -webkit-user-drag: none;
}
@media (min-width: 640px)  { .alx-gallery-slide img { height: 380px; } }
@media (min-width: 1024px) { .alx-gallery-slide img { height: 480px; } }
.alx-gallery-badges { position: absolute; top: 14px; left: 14px; display: flex; gap: 6px; z-index: 2; }
.alx-gallery-subsidy {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 72px;
    height: auto;
    z-index: 2;
}
.alx-gallery-nav,
button.alx-gallery-nav {
    position: absolute;
    top: 50%;
    z-index: 3;
    display: flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    padding: 0;
    color: var(--alx-ink);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.alx-gallery-nav:hover { background: #fff; color: var(--alx-brand); }
.alx-gallery-nav:active { transform: translateY(-50%) scale(0.94); }
.alx-gallery-nav svg { width: 20px; height: 20px; }
.alx-gallery-nav-prev { left: 12px; }
.alx-gallery-nav-next { right: 12px; }
.alx-gallery-count {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 3;
    border-radius: 999px;
    background: rgba(24, 24, 27, 0.72);
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #fff;
}
.alx-gallery-thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 2px 2px 8px;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.18) transparent;
}
.alx-gallery-thumbs::-webkit-scrollbar { height: 6px; }
.alx-gallery-thumbs::-webkit-scrollbar-thumb { border-radius: 999px; background: rgba(0, 0, 0, 0.18); }
.alx-gallery-thumbs button {
    flex: 0 0 auto;
    width: 88px;
    overflow: hidden;
    border: 0;
    border-radius: 10px;
    background: #fff;
    padding: 0;
    scroll-snap-align: start;
    box-shadow: 0 0 0 2px transparent;
    opacity: 0.72;
    cursor: pointer;
    transition: box-shadow 0.2s ease, opacity 0.2s ease;
}
@media (min-width: 640px) { .alx-gallery-thumbs { gap: 12px; } .alx-gallery-thumbs button { width: 112px; } }
.alx-gallery-thumbs button:hover { opacity: 1; box-shadow: 0 0 0 2px rgba(23, 187, 177, 0.4); }
.alx-gallery-thumbs button.is-active { opacity: 1; box-shadow: 0 0 0 2px var(--alx-brand); }
.alx-gallery-thumbs img {
    display: block;
    aspect-ratio: 23 / 15;
    width: 100%;
    object-fit: contain;
    background: #fff;
}
@media (prefers-reduced-motion: reduce) { .alx-gallery-track, .alx-gallery-thumbs { scroll-behavior: auto; } }

/* Title + status */
.alx-detail-head { display: flex; flex-direction: column; gap: 12px; }
.alx-detail-head h1 {
    font-size: 30px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--alx-ink);
}
@media (min-width: 640px) { .alx-detail-head h1 { font-size: 36px; } }
.alx-status-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.alx-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 9999px;
    padding: 4px 12px;
    font-size: 13px;
    font-weight: 600;
}
.alx-status-green { background: rgba(38, 187, 20, 0.12); color: #15803d; }
.alx-status-blue  { background: rgba(0, 172, 237, 0.12); color: #0369a1; }
.alx-status-gray  { background: rgba(113, 113, 122, 0.12); color: #52525b; }
.alx-code-chip {
    display: inline-flex;
    align-items: center;
    border-radius: 9999px;
    background: var(--alx-chip);
    padding: 4px 12px;
    font-size: 13px;
    font-weight: 500;
    color: var(--alx-navbar);
}
.alx-prose { max-width: 672px; font-size: 14px; line-height: 1.7; color: var(--alx-navbar); }
.alx-prose p { margin: 0 0 10px; }
.alx-prose p:last-child { margin-bottom: 0; }
.alx-prose strong { color: var(--alx-ink); }
.alx-prose a { color: var(--alx-brand); }
.alx-prose img { border-radius: 8px; }
.alx-prose table { max-width: 100%; }

/* Specs */
.alx-specs { display: flex; flex-direction: column; gap: 16px; }
.alx-specs h2 { font-size: 18px; font-weight: 700; color: var(--alx-ink); }
.alx-specs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}
@media (min-width: 640px) { .alx-specs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.alx-spec-row {
    display: flex;
    min-height: 62px;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    border-radius: 8px;
    border: 1px solid var(--alx-line);
    background: #fff;
    padding: 8px 16px;
    transition: border-color 0.2s ease;
}
.alx-spec-row:hover { border-color: rgba(23, 187, 177, 0.4); }
.alx-spec-row dt { font-size: 14px; color: var(--alx-navbar); }
.alx-spec-row dd { font-size: 16px; font-weight: 600; color: var(--alx-ink); overflow-wrap: anywhere; }
.alx-spec-row dd a:hover { color: var(--alx-brand); }

/* PDF / file row */
.alx-file-row {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border-radius: 12px;
    border: 1px solid var(--alx-line);
    background: #fff;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--alx-ink);
}
.alx-file-row:hover { border-color: rgba(23, 187, 177, 0.5); color: var(--alx-brand); }
.alx-file-row svg { width: 18px; height: 18px; color: var(--alx-brand); }

/* Aside pricing card */
.alx-price-card {
    border-radius: 12px;
    border: 1px solid var(--alx-line);
    background: #fff;
    padding: 24px;
    box-shadow: var(--alx-shadow-card);
}
@media (min-width: 640px)  { .alx-price-card { padding: 32px; } }
@media (min-width: 1024px) { .alx-price-card { position: sticky; top: 130px; } }
.alx-price-head { display: flex; flex-direction: column; gap: 4px; }
.alx-price-monthly { display: flex; align-items: baseline; gap: 8px; }
.alx-price-monthly strong {
    font-size: 40px;
    font-weight: 700;
    line-height: 1;
    color: var(--alx-brand-deep);
}
.alx-price-monthly span { font-size: 16px; color: var(--alx-navbar); }
.alx-price-full { font-size: 14px; color: var(--alx-navbar); }
.alx-price-only {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--alx-brand-deep);
}

.alx-slider-block { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.alx-slider-block + .alx-slider-block { margin-top: 20px; }
.alx-slider-head { display: flex; align-items: center; justify-content: space-between; }
.alx-slider-head .alx-slider-label { font-size: 13px; font-weight: 500; color: var(--alx-navbar); }
.alx-slider-head .alx-slider-value { display: flex; align-items: center; gap: 16px; font-size: 13px; font-weight: 700; color: var(--alx-ink); }

.alx-summary {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-radius: 12px;
    background: var(--alx-soft);
    padding: 16px;
}
.alx-summary-row { display: flex; align-items: center; justify-content: space-between; font-size: 13px; }
.alx-summary-row span:first-child { color: var(--alx-navbar); }
.alx-summary-row span:last-child { font-weight: 700; color: var(--alx-ink); }
.alx-summary-hr { height: 1px; width: 100%; background: var(--alx-line); }
.alx-summary-total { display: flex; align-items: center; justify-content: space-between; }
.alx-summary-total span:first-child { font-size: 14px; font-weight: 600; color: var(--alx-ink); }
.alx-summary-total span:last-child { font-size: 14px; font-weight: 700; color: var(--alx-brand-deep); }

.alx-note { margin-top: 12px; font-size: 12px; line-height: 1.5; color: var(--alx-muted); }

.alx-card-actions { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.alx-btn-primary,
button.alx-btn-primary {
    display: flex;
    width: 100%;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--alx-brand);
    font-size: 16px;
    font-weight: 600;
    color: #fafafa;
    box-shadow: var(--alx-shadow-soft);
    transition: filter 0.2s ease, box-shadow 0.2s ease;
    border: 0;
}
.alx-btn-primary:hover { filter: brightness(0.95); color: #fafafa; }
.alx-btn-secondary,
button.alx-btn-secondary {
    display: flex;
    width: 100%;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--alx-page);
    font-size: 16px;
    font-weight: 600;
    color: var(--alx-ink);
    transition: background 0.2s ease;
    border: 0;
}
.alx-btn-secondary:hover { background: rgba(0, 0, 0, 0.08); color: var(--alx-ink); }

/* Autoleasing handoff forması — qiymət kartındakı "Sifariş ver" (target=_blank POST) */
.alx-handoff { margin: 0; }
.alx-handoff .alx-btn-primary { gap: 8px; cursor: pointer; }
.alx-handoff .alx-btn-primary svg { flex: none; }

/* Related section */
.alx-related { display: flex; flex-direction: column; gap: 32px; padding-top: 24px; padding-bottom: 80px; }
.alx-related > h2 {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--alx-ink);
}
.alx-related .alx-grid { margin-top: 0; }

/* ── Entrance animation ───────────────────────────────────── */
@keyframes alx-rise {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: no-preference) {
    .alx-rise { animation: alx-rise 0.6s cubic-bezier(0.16, 1, 0.3, 1) backwards; }
}
