/**
 * File: demov2/assets/css/pages/post.css
 * Purpose: Elan yerləşdir — tam ekran sihirbaz (Airbnb "host" axını tərzi):
 *          minimal üst zolaq, böyük addım başlıqları, seçim kartları, xəritə,
 *          foto yükləmə + sıralama, qiymət indikatoru, yoxlama səhifəsi,
 *          sabit alt panel (irəliləyiş seqmentləri + Geri / Davam et).
 *          Rəngli minimal: brend irəliləyiş/pin/addım etiketi, kateqoriya və
 *          əməliyyat rəngli ikon qutuları (EA.hue), bənövşəyi AI düyməsi,
 *          rəngli bazar zonaları; seçim çərçivəsi neytral (qara) qalır.
 */

/* ── Karkas: saytın header-i bu səhifədə gizlidir ── */
body[data-page='post'] .hdr, body[data-page='post'] .to-top { display: none !important; }
body[data-page='post'] .toasts { bottom: calc(96px + var(--safe-b)); }
body[data-page='post'] .cookie { bottom: calc(96px + var(--safe-b)); }
/* gizli müqayisə panelinin kölgəsi alt paneldə görünməsin */
body[data-page='post'] .cmp-tray:not(.is-on) { visibility: hidden; }
.pw { --bar-h: 84px; padding-bottom: calc(var(--bar-h) + var(--safe-b)); min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
@media (min-width: 1024px) { .pw { padding-bottom: calc(var(--bar-h) + var(--safe-b)); } }
.pw.is-done { padding-bottom: 0; }

/* üst zolaq */
.pw-top { position: sticky; top: 0; z-index: 40; background: var(--bg); transition: box-shadow .2s; }
.pw-top.is-scrolled { box-shadow: 0 6px 16px -10px rgba(16, 24, 40, .2); }
.pw-top__in { display: flex; align-items: center; gap: 12px; height: 64px; padding-inline: var(--gutter); }
@media (min-width: 1024px) { .pw-top__in { height: 80px; padding-inline: 48px; } }
.pw-top__act { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.pw-top .btn--sm { height: 36px; padding: 0 16px; font-weight: 500; }
.pw-saved { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--text-2); opacity: 0; transform: translateY(2px); transition: opacity .3s, transform .3s var(--ease); white-space: nowrap; }
.pw-saved .i { width: 15px; height: 15px; color: var(--success); }
.pw-saved.is-on { opacity: 1; transform: none; }
@media (max-width: 479px) { .pw-saved span { display: none; } }

/* əsas sahə */
.pw-main { flex: 1; display: flex; justify-content: center; padding: 20px var(--gutter) 56px; }
@media (min-width: 768px) { .pw-main { padding-top: 32px; } }
@media (min-width: 1024px) { .pw-main { padding-top: 40px; padding-bottom: 72px; } }
.pw-step { width: min(100%, 680px); animation: pwIn .5s var(--ease-out) both; }
.pw-step--wide { width: min(100%, 1080px); }
.pw-step--mid { width: min(100%, 880px); }
.pw-step.is-back { animation-name: pwBack; }
@keyframes pwIn { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
@keyframes pwBack { from { opacity: 0; transform: translateX(-18px); } to { opacity: 1; transform: none; } }

.pw-eyebrow { display: block; font-size: 13.5px; font-weight: 600; color: var(--brand-text); margin-bottom: 10px; }
.pw-step h1 { font-size: clamp(26px, 3.2vw, 34px); letter-spacing: -.03em; line-height: 1.15; max-width: 26ch; }
.pw-lead { margin-top: 10px; font-size: 16.5px; color: var(--text-2); max-width: 56ch; }
.pw-h { font-size: 16.5px; font-weight: 600; letter-spacing: -.015em; margin: 28px 0 12px; }
.pw-h small { font-size: 14px; font-weight: 400; color: var(--text-2); margin-left: 6px; letter-spacing: 0; }
.pw-sec { margin-top: 32px; }
.pw-sec--first { margin-top: 0; }
.pw-sec > .pw-h { margin-top: 0; }
.pw-div { height: 1px; background: var(--taper); margin: 32px 0; }
.pw-step .field .err { margin-top: 2px; }
.pw-group .err { display: none; font-size: 13.5px; color: var(--danger); margin-top: 10px; }
.pw-group.has-err .err { display: block; }

/* ── 1-ci addım: yığcam seçimlər (əvvəlki böyük kartların yerinə seg + çip) ── */
.pw-seg { padding: 4px; border-radius: 12px; }
.pw-seg .seg__btn { height: 38px; padding: 0 18px; font-size: 14.5px; }
.pw-deal { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.pw-deal__rt:empty { display: none; }
.pw-deal__rt .seg { animation: fadeUp .3s var(--ease-out) both; }
@media (max-width: 479px) { .pw-deal > .seg, .pw-deal__rt, .pw-deal__rt .seg { width: 100%; } .pw-deal > .seg, .pw-deal__rt .seg { display: grid; } }
.pw-cat .i { color: var(--h, var(--text-2)); }
.pw-cat:disabled { opacity: .4; cursor: not-allowed; }
.pw-cat:disabled:hover { background: var(--surface-2); }
.pw-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pw-chips .chip { height: 40px; padding: 0 16px; font-size: 14.5px; }
.pw-chips .chip .i { width: 18px; height: 18px; }
.pw-subs { animation: fadeUp .4s var(--ease-out) both; }
.pw-details.is-in { animation: fadeUp .4s var(--ease-out) both; }
.pw-details > .pw-div { margin: 32px 0 0; }
.pw-details > .pw-div + * > .pw-h:first-child, .pw-details > .pw-div + .pw-sec { margin-top: 24px; }
.pw-empty { display: flex; align-items: center; gap: 12px; margin-top: 28px; padding: 16px 18px; border-radius: 14px; background: var(--surface-2); color: var(--text-2); font-size: 14.5px; }
.pw-empty .i { flex: none; width: 20px; height: 20px; color: var(--brand-text); }

/* əlaqə — ad + nömrə yan-yana, "Siz kimsiniz?" seg */
.pw-contact { display: grid; gap: 16px; max-width: 560px; } /* nömrə sətri (+994, prefiks, nömrə, sil) yan sütunda sıxılırdı */
.pw-phones { display: grid; gap: 10px; align-content: start; }
.pw-phones__x { display: grid; gap: 10px; }
.pw-phone__row { display: flex; gap: 8px; }
.pw-phone__row > .phone-in { flex: 1; min-width: 0; }
.pw-phone__rm { flex: none; width: 50px; height: 50px; border-radius: 10px; background: var(--surface-2); color: var(--text-2); }
.pw-phone__rm:hover { background: var(--surface-3); color: var(--danger); }
.pw-addph { display: inline-flex; align-items: center; gap: 6px; justify-self: start; height: 34px; padding: 0 12px 0 8px; border-radius: 9px; font-size: 14px; font-weight: 600; color: var(--brand-text); transition: background .15s; }
.pw-addph:hover { background: color-mix(in srgb, var(--brand) 10%, transparent); }
.pw-addph .i { width: 16px; height: 16px; }
.pw-addph small { font-size: 12.5px; font-weight: 500; color: var(--text-3); }
.pw-phmax { font-size: 13px; color: var(--text-3); }
.pw-owner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-top: 18px; }
.pw-owner > span { font-size: 15.5px; font-weight: 500; }
@media (max-width: 479px) { .pw-owner .seg { display: grid; width: 100%; } }
.pw-owner + .pw-checks { margin-top: 8px; }

/* yuxarı zolaqda adlı addımlar (geniş ekran) */
.pw-steps { display: none; }
@media (min-width: 1200px) {
  .pw-top__in { position: relative; }
  .pw-steps { position: absolute; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 4px; }
}
.pw-steps__it { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px 0 6px; border-radius: var(--r-full); font-size: 14px; font-weight: 500; color: var(--text-2); white-space: nowrap; transition: background .15s, color .15s; }
.pw-steps__it > span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--surface-2); font-size: 12.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
.pw-steps__it > span .i { width: 13px; height: 13px; stroke-width: 3; }
.pw-steps__it:not(:disabled):hover { background: var(--surface-2); color: var(--text); }
.pw-steps__it.is-cur { background: color-mix(in srgb, var(--brand) 15%, transparent); color: var(--brand-text); }
.pw-steps__it.is-cur > span, .pw-steps__it.is-done > span { background: var(--brand); color: var(--on-brand); }
.pw-steps__it:disabled { cursor: default; }

/* ── Formlar ── */
.pw-form { display: grid; gap: 20px; }
.pw-grid2 { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.pw-grid3 { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
@media (min-width: 640px) { .pw-grid3 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 639px) { .pw-grid3 > :first-child:nth-last-child(3) { grid-column: 1 / -1; } }
.pw-grid-addr { display: grid; gap: 16px; grid-template-columns: 1fr 108px; }
.pw-suffix { position: relative; }
.pw-suffix .input { padding-right: 56px; }
.pw-suffix > span:not(.inx) { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--text-3); font-size: 14.5px; pointer-events: none; }
.input:disabled, .select-native:disabled { background: var(--surface-2); color: var(--text-3); cursor: not-allowed; }
.pw-checks { display: grid; gap: 4px; }
.pw-check-row { display: flex; align-items: center; gap: 14px; padding: 12px 0; cursor: pointer; }
.pw-check-row b { display: block; font-weight: 500; font-size: 15.5px; }
.pw-check-row small { display: block; color: var(--text-2); font-size: 13.5px; }
.pw-check-row .check__box, .pw-check-row .switch__track { margin-left: auto; }
.pw-check-row input { position: absolute; opacity: 0; pointer-events: none; }
.pw-check-row + .pw-check-row { background: var(--taper) top / 100% 1px no-repeat; }

/* sayğac (qonaq sayı) */
.pw-counter { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 4px 0; }
.pw-counter b { font-weight: 500; font-size: 15.5px; }
.pw-counter small { display: block; font-size: 13.5px; color: var(--text-2); }
.pw-cnt { display: inline-flex; align-items: center; gap: 14px; }
.pw-cnt button { width: 34px; height: 34px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; color: var(--text-2); transition: background .15s, color .15s; }
.pw-cnt button:hover:not(:disabled) { background: var(--surface-3); color: var(--text); }
.pw-cnt button:disabled { opacity: .35; }
.pw-cnt button .i { width: 15px; height: 15px; }
.pw-cnt output { min-width: 22px; text-align: center; font-weight: 500; font-variant-numeric: tabular-nums; }

/* ── Ünvan + xəritə ── */
.pw-loc { display: grid; gap: 28px; margin-top: 28px; }
@media (min-width: 1024px) { .pw-loc { grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 40px; align-items: start; } }
.pw-mapbox { position: relative; border-radius: 16px; overflow: hidden; box-shadow: var(--edge); }
.pw-map { height: 300px; }
@media (min-width: 768px) { .pw-map { height: 420px; } }
@media (min-width: 1024px) { .pw-map { height: 480px; } .pw-mapbox { position: sticky; top: 104px; } }
.pw-map__hint { position: absolute; z-index: 500; left: 50%; top: 14px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: var(--r-full); background: var(--surface); box-shadow: var(--sh-2); font-size: 13.5px; font-weight: 500; white-space: nowrap; pointer-events: none; }
.pw-map__hint .i { width: 16px; height: 16px; }
.pw-geo { display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 16px; background: color-mix(in srgb, var(--brand) 12%, var(--surface)); font-size: 14px; color: var(--text-2); animation: fadeUp .3s var(--ease-out); }
.pw-geo[hidden] { display: none; }
.pw-geo > .i { flex: none; width: 18px; height: 18px; color: var(--brand-text); }
.pw-geo b { color: var(--text); font-weight: 600; }
.pw-geo .btn { flex: none; }
.pw-geo__x { flex: none; width: 32px; height: 32px; }
.pw-geo__x .i { width: 16px; height: 16px; }
@media (max-width: 559px) { .pw-geo { flex-wrap: wrap; } .pw-geo > .grow { flex: 1 1 calc(100% - 30px); } .pw-geo .btn { margin-left: 30px; } }
.pw-map__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; font-size: 13.5px; color: var(--text-2); background: var(--surface); }
.pw-map__foot b { color: var(--text); font-weight: 500; }
/* pin: dairəvi baş + düz dayaq xətti (ucu nöqtəyə dəyir) + yerdə kölgə; sürüşdürəndə baş qalxır, xətt uzanır */
.pw-pin { --stem: 16px; position: relative; width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: var(--on-brand); display: grid; place-items: center; transform: translate(-50%, calc(-100% - var(--stem))); box-shadow: 0 0 0 3px #fff, 0 6px 16px rgba(0, 0, 0, .3); cursor: grab; transition: transform .2s var(--ease); }
.pw-pin::after { content: ''; position: absolute; top: calc(100% + 3px); left: 50%; width: 3px; height: calc(var(--stem) - 3px); margin-left: -1.5px; border-radius: 0 0 2px 2px; background: color-mix(in srgb, var(--brand) 80%, #000); transition: height .2s var(--ease); }
.pw-pin::before { content: ''; position: absolute; top: calc(100% + var(--stem) - 3px); left: 50%; width: 10px; height: 5px; margin-left: -5px; border-radius: 50%; background: rgba(0, 0, 0, .35); transition: top .2s var(--ease), transform .2s var(--ease); }
.pw-pin .i { width: 19px; height: 19px; }
.leaflet-dragging .pw-pin { --stem: 26px; cursor: grabbing; }
.leaflet-dragging .pw-pin::before { transform: scale(.8); }
.pw-approx { pointer-events: none; stroke: var(--brand); fill: var(--brand); fill-opacity: .1; }

/* ── Fotolar ── */
.pw-ph { display: grid; gap: 32px; margin-top: 28px; }
@media (min-width: 1024px) { .pw-ph { grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; } }
.pw-drop { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 40px 20px; border-radius: 16px; border: 1.5px dashed var(--line-strong); text-align: center; transition: border-color .2s, background .2s; }
.pw-drop.is-over { border-color: var(--brand); background: var(--brand-soft); }
.pw-drop > .i { width: 36px; height: 36px; stroke-width: 1.3; margin-bottom: 6px; color: var(--brand); }
.pw-drop b { font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.pw-drop p { color: var(--text-2); font-size: 14.5px; }
.pw-drop .row { margin-top: 14px; justify-content: center; }
.pw-drop input[type=file] { display: none; }
.pw-drop--sm { padding: 18px; flex-direction: row; gap: 14px; justify-content: flex-start; text-align: left; }
.pw-drop--sm > .i { width: 26px; height: 26px; margin: 0; }
.pw-drop--sm b { font-size: 15px; }
.pw-drop--sm p { font-size: 13.5px; }
.pw-drop--sm .row { margin: 0 0 0 auto; }
@media (max-width: 559px) { .pw-drop--sm { flex-wrap: wrap; } .pw-drop--sm .row { margin: 4px 0 0; width: 100%; } .pw-drop--sm .row .btn { flex: 1; } }
.pw-ph__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 26px 0 12px; }
.pw-ph__head b { font-weight: 600; font-size: 15.5px; }
.pw-ph__head span { font-size: 13.5px; color: var(--text-2); }
.pw-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 640px) { .pw-tiles { grid-template-columns: repeat(3, 1fr); gap: 12px; } }
.pw-tile { position: relative; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: var(--surface-2); user-select: none; -webkit-user-select: none; touch-action: manipulation; cursor: grab; animation: scaleIn .35s var(--ease-out) both; }
.pw-tile:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
@media (max-width: 639px) { .pw-tile:first-child { aspect-ratio: 4 / 3; grid-row: auto; } }
.pw-tile img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.pw-tile__cover { position: absolute; left: 10px; top: 10px; }
.pw-tile__acts { position: absolute; right: 8px; top: 8px; display: flex; gap: 6px; transition: opacity .15s; }
.pw-tile__b { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .95); color: #222; box-shadow: 0 1px 4px rgba(0, 0, 0, .18); transition: transform .15s, color .15s; }
.pw-tile__b .i { width: 15px; height: 15px; }
.pw-tile__b:hover { transform: scale(1.06); }
.pw-tile__x:hover { color: var(--danger); }
@media (hover: hover) { .pw-tile__acts { opacity: 0; } .pw-tile:hover .pw-tile__acts, .pw-tile__acts:focus-within { opacity: 1; } }

/* foto redaktoru */
.ped-modal .modal__body { padding-bottom: 12px; }
.ped__stage { position: relative; height: min(58vh, 520px); border-radius: 14px; overflow: hidden; background: #1B1D22; touch-action: none; user-select: none; -webkit-user-select: none; }
@media (max-width: 639px) { .ped__stage { height: 52vh; } }
.ped__img { position: absolute; max-width: none; transform-origin: 50% 50%; transition: transform .25s var(--ease); pointer-events: none; }
.ped__crop { position: absolute; cursor: move; outline: 1.5px solid rgba(255, 255, 255, .95); box-shadow: 0 0 0 1600px rgba(0, 0, 0, .55); } /* çox böyük spread (9999px) bəzi renderlərdə çəkilmir; səhnə ən çox ~900×520-dir */
.ped__crop[hidden] { display: none; }
.ped__grid { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .2s; background: linear-gradient(90deg, transparent calc(33.33% - .5px), rgba(255, 255, 255, .5) calc(33.33% - .5px), rgba(255, 255, 255, .5) calc(33.33% + .5px), transparent calc(33.33% + .5px), transparent calc(66.66% - .5px), rgba(255, 255, 255, .5) calc(66.66% - .5px), rgba(255, 255, 255, .5) calc(66.66% + .5px), transparent calc(66.66% + .5px)), linear-gradient(180deg, transparent calc(33.33% - .5px), rgba(255, 255, 255, .5) calc(33.33% - .5px), rgba(255, 255, 255, .5) calc(33.33% + .5px), transparent calc(33.33% + .5px), transparent calc(66.66% - .5px), rgba(255, 255, 255, .5) calc(66.66% - .5px), rgba(255, 255, 255, .5) calc(66.66% + .5px), transparent calc(66.66% + .5px)); }
.ped__crop.is-drag .ped__grid { opacity: 1; }
.ped__h { position: absolute; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 4px; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .4); }
.ped__h::before { content: ''; position: absolute; inset: -12px; } /* barmaqla tutmaq üçün geniş sahə */
.ped__h--nw { left: 0; top: 0; cursor: nwse-resize; } .ped__h--n { left: 50%; top: 0; cursor: ns-resize; } .ped__h--ne { left: 100%; top: 0; cursor: nesw-resize; }
.ped__h--e { left: 100%; top: 50%; cursor: ew-resize; } .ped__h--se { left: 100%; top: 100%; cursor: nwse-resize; } .ped__h--s { left: 50%; top: 100%; cursor: ns-resize; }
.ped__h--sw { left: 0; top: 100%; cursor: nesw-resize; } .ped__h--w { left: 0; top: 50%; cursor: ew-resize; }
.ped__tools { display: flex; align-items: center; gap: 8px; margin-top: 14px; }
.ped__tb { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; background: var(--surface-2); color: var(--text); transition: background .15s; }
.ped__tb:hover { background: var(--surface-3); }
.ped__tb .i { width: 19px; height: 19px; }
.ped__tb--ccw .i { transform: scaleX(-1); }
.ped__zoom { flex: 1; display: flex; align-items: center; gap: 12px; min-width: 0; margin-left: 8px; color: var(--text-2); }
.ped__zoom .i { flex: none; width: 19px; height: 19px; }
.ped__zoom input { flex: 1; min-width: 0; }
.ped__zoom output { flex: none; min-width: 44px; text-align: right; font-size: 13.5px; font-variant-numeric: tabular-nums; color: var(--text-2); }
.ped-modal .modal__foot { justify-content: flex-end; }
.ped-modal .modal__foot .btn { flex: none; min-width: 120px; }
@media (max-width: 479px) { .ped-modal .modal__foot .btn { flex: 1; } }
.pw-tile__n { position: absolute; left: 10px; bottom: 10px; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 12px; background: rgba(0, 0, 0, .55); color: #fff; font-size: 12px; font-weight: 600; display: grid; place-items: center; }
.pw-tile.is-ghost { opacity: .25; }
.pw-tile.is-lift { position: fixed; z-index: 200; pointer-events: none; box-shadow: var(--sh-4); transform: scale(1.04) rotate(1deg); cursor: grabbing; animation: none; transition: none; }
.pw-tile--add { display: grid; place-items: center; border: 1.5px dashed var(--line-strong); background: none; color: var(--text-2); cursor: pointer; transition: border-color .15s, color .15s; }
.pw-tile--add:hover { border-color: var(--text); color: var(--text); }
.pw-tile--add span { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; }
.pw-tile--add .i { width: 24px; height: 24px; }
.pw-ph__note { margin-top: 12px; font-size: 13.5px; color: var(--text-3); }
.pw-text { margin-top: 32px; }
.pw-tips { padding: 24px; border-radius: 16px; background: var(--tint); }
html[data-theme='dark'] .pw-tips { background: var(--surface-2); }
@media (min-width: 1024px) { .pw-tips { position: sticky; top: 104px; } }
.pw-tips h3 { font-size: 16px; font-weight: 600; margin-bottom: 10px; }
.pw-tips .list-check li { font-size: 14.5px; color: var(--text-2); padding: 7px 0; }
.pw-tips .list-check b { display: block; color: var(--text); font-weight: 500; }
.pw-tips hr { margin: 16px 0; }
.pw-tips p { font-size: 13.5px; color: var(--text-2); }

/* ── Mətn + qiymət ── */
.pw-lab { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pw-lab > span:first-child { font-size: 14px; font-weight: 600; }
.pw-count { font-size: 13px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.pw-title-in { font-size: 17px; font-weight: 500; height: 56px; border-radius: 12px; }
.pw-sug { display: inline-flex; align-items: center; gap: 6px; margin-top: 2px; font-size: 13.5px; color: var(--text-2); }
.pw-sug button { font-weight: 600; color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); }
.pw-desc { min-height: 196px; font-size: 15.5px; border-radius: 12px; }
.pw-desc.is-typing { border-color: var(--c-violet); box-shadow: 0 0 0 1px var(--c-violet); caret-color: transparent; }
.pw-ai { background: var(--c-violet-s); color: var(--c-violet); }
.pw-ai:hover { background: color-mix(in srgb, var(--c-violet) 18%, var(--surface)); }
.pw-ai.is-loading::before { border-color: var(--c-violet) var(--c-violet) transparent transparent; }
.pw-price { position: relative; }
.pw-price .input { height: 68px; padding: 0 92px 0 20px; font-size: 28px; font-weight: 600; letter-spacing: -.02em; border-radius: 14px; font-variant-numeric: tabular-nums; }
.pw-price > span { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 17px; font-weight: 500; color: var(--text-2); pointer-events: none; }
.pw-mkt { margin-top: 18px; padding: 20px; border-radius: 14px; background: var(--surface-2); }
.pw-mkt__top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.pw-mkt__top b { font-weight: 600; font-size: 15px; }
.pw-mkt__top span { font-size: 13.5px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.pw-zones { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; margin-top: 18px; }
/* aktiv olmayan zonalar da oxunaqlı şkala kimi görünsün (yalnız --h-s ağ fonda itirdi, qaranlıqda da) */
.pw-zones i { height: 6px; background: color-mix(in srgb, var(--h, var(--text-3)) 26%, var(--surface)); transition: background .3s; }
.pw-zones i:first-child { border-radius: 3px 0 0 3px; }
.pw-zones i:last-child { border-radius: 0 3px 3px 0; }
.pw-zones i.is-on { background: var(--h, var(--text)); }
.pw-zones__mk { position: absolute; top: 3px; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: var(--surface); border: 2px solid var(--h, var(--ink)); box-shadow: var(--sh-2); transition: left .45s var(--ease), opacity .2s; }
.pw-zones__lb { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 10px; font-size: 13px; color: var(--text-3); }
.pw-zones__lb span:nth-child(2) { text-align: center; }
.pw-zones__lb span:last-child { text-align: right; }
.pw-zones__lb span.is-on { color: var(--h-t, var(--text)); font-weight: 600; }
.pw-mkt__msg { margin-top: 14px; font-size: 14.5px; color: var(--text-2); }
.pw-mkt__msg b { color: var(--h-t, var(--text)); font-weight: 600; }

/* telefon */
.pw-phone .phone-in__cc { height: 50px; border-radius: 10px; }
.pw-phone .input, .pw-phone .phone-op { height: 50px; }
.field.has-err .phone-in .input { border-color: var(--danger); }

/* ── Yoxla və dərc et ── */
.pw-rev { display: grid; gap: 32px; margin-top: 32px; }
@media (min-width: 1024px) { .pw-rev { grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; align-items: start; } }
.pw-sum { }
.pw-sum { margin-top: 4px; }
.pw-sum__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 16px; padding: 14px 0; background: var(--taper) bottom / 100% 1px no-repeat; }
.pw-sum__row:last-child { background: none; }
.pw-sum__row h3 { font-size: 14.5px; font-weight: 600; }
.pw-sum__row p { grid-column: 1 / -1; color: var(--text-2); font-size: 14px; line-height: 1.5; }
.pw-sum__row .link { grid-row: 1; grid-column: 2; font-size: 13.5px; }
.pw-sum__thumbs { grid-column: 1 / -1; display: flex; gap: 6px; margin-top: 8px; overflow: hidden; }
.pw-sum__thumbs img { width: 52px; height: 40px; border-radius: 6px; object-fit: cover; flex: none; }
.pw-preview { display: flex; flex-direction: column; gap: 14px; }
@media (min-width: 1024px) { .pw-preview { position: sticky; top: 104px; } }
.pw-preview__lb { font-size: 13.5px; font-weight: 600; color: var(--text-2); }
.pw-preview .lcard { padding: 14px; border-radius: 18px; background: var(--surface); box-shadow: var(--sh-3); }
@media (max-width: 1023px) { .pw-preview .lcard { max-width: 380px; } }
.pw-promo { display: grid; gap: 10px; }
.pw-promo__opt { display: block; padding: 18px; border-radius: 12px; background: var(--surface-2); cursor: pointer; transition: background .15s; }
.pw-promo__opt:hover { background: var(--surface-3); }
.pw-promo__opt.is-on { background: color-mix(in srgb, var(--brand) 15%, transparent); }
.pw-promo__opt input { position: absolute; opacity: 0; pointer-events: none; }
.pw-promo__top { display: flex; align-items: center; gap: 14px; }
.pw-promo__top b { display: flex; align-items: center; gap: 6px; font-size: 15.5px; font-weight: 600; }
.pw-promo__ic { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: var(--h-s); color: var(--h); flex: none; }
.pw-promo__ic .i { width: 14px; height: 14px; stroke-width: 1.9; }
.pw-promo__ic.hue-gold .i { fill: currentColor; }
.pw-promo__top small { display: block; font-size: 13.5px; color: var(--text-2); }
.pw-promo__top .pw-promo__pr { margin-left: auto; font-weight: 600; font-size: 15px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pw-promo__dur { display: none; margin-top: 14px; padding-top: 14px; background: var(--taper) top / 100% 1px no-repeat; }
.pw-promo__opt.is-on .pw-promo__dur { display: block; animation: fadeUp .3s var(--ease-out); }
.pw-total { display: flex; align-items: baseline; justify-content: space-between; margin-top: 16px; padding-top: 16px; background: var(--taper) top / 100% 1px no-repeat; font-size: 15px; }
.pw-total b { font-size: 18px; font-weight: 600; font-variant-numeric: tabular-nums; }

/* ── Uğur ekranı ── */
.pw-ok { width: min(100%, 520px); margin: auto; text-align: center; padding-block: 24px 48px; animation: fadeUp .6s var(--ease-out) both; }
.pw-ok .art { width: 176px; margin: 0 auto 8px; }
.pw-ok h1 { font-size: clamp(26px, 3.2vw, 34px); letter-spacing: -.03em; max-width: none; }
.pw-ok > p { margin: 12px auto 0; color: var(--text-2); font-size: 16px; max-width: 42ch; }
.pw-ok__no { display: grid; grid-template-columns: 1fr 1fr; margin: 28px 0; border-radius: 14px; background: var(--surface-2); text-align: left; }
.pw-ok__no > div { padding: 16px 18px; }
.pw-ok__no > div + div { background: linear-gradient(180deg, transparent, var(--line-strong) 25%, var(--line-strong) 75%, transparent) left / 1px 100% no-repeat; }
.pw-ok__no small { display: block; font-size: 13px; color: var(--text-2); }
.pw-ok__no b { display: flex; align-items: center; gap: 8px; min-height: 26px; font-size: 17px; font-weight: 600; margin-top: 2px; font-variant-numeric: tabular-nums; }
.pw-ok .row { justify-content: center; }
@media (max-width: 479px) { .pw-ok .row .btn { flex: 1; } }
.pw-ok__steps { margin-top: 36px; text-align: left; background: var(--taper) top / 100% 1px no-repeat; padding-top: 24px; }
.pw-ok__steps h3 { font-size: 15.5px; font-weight: 600; margin-bottom: 8px; }
.pw-ok__steps li { display: flex; gap: 12px; padding: 8px 0; font-size: 14.5px; color: var(--text-2); }
.pw-ok__steps li span { width: 24px; height: 24px; border-radius: 50%; background: var(--brand); display: grid; place-items: center; font-size: 12.5px; font-weight: 600; color: var(--on-brand); flex: none; }

/* ── Alt panel ── */
.pw-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: var(--bg); padding-bottom: var(--safe-b); }
.pw-bar.is-hidden { display: none; }
.pw-prog { display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); gap: 4px; }
.pw-prog i { position: relative; height: 4px; background: var(--surface-3); overflow: hidden; cursor: default; }
.pw-prog i::after { content: ''; position: absolute; inset: 0; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.pw-prog i.done::after { transform: none; }
.pw-prog i.is-cur::after { transform: scaleX(.5); }
.pw-prog i.can { cursor: pointer; }
.pw-bar__in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 80px; padding-inline: var(--gutter); }
@media (min-width: 1024px) { .pw-bar__in { padding-inline: 48px; } }
.pw-back { height: 44px; padding: 0 10px; margin-left: -10px; border-radius: 8px; font-weight: 600; font-size: 16px; text-decoration: underline; text-underline-offset: 3px; transition: background .15s; }
.pw-back:hover { background: var(--surface-2); }
.pw-back:disabled { visibility: hidden; }
.pw-bar__step { position: absolute; left: 50%; transform: translateX(-50%); font-size: 13.5px; color: var(--text-2); display: none; white-space: nowrap; }
@media (min-width: 768px) { .pw-bar__step { display: block; } }
.pw-next { min-width: 148px; }
@media (max-width: 479px) { .pw-next { min-width: 132px; } }

/* Server yükləməsinin vəziyyəti; foto üzərində mövcud dizayn rəngləri. */
body[data-page='post'] .pw-tile__upload { position: absolute; inset: auto 8px 8px; padding: 8px; border-radius: 8px; background: var(--surface); color: var(--text); font-size: 13px; box-shadow: var(--sh-2); }
body[data-page='post'] .pw-tile__upload.is-error { color: var(--danger); }
body[data-page='post'] .pw-tile__upload .btn { display: flex; margin-top: 6px; }
@media (max-width: 639px) { body[data-page='post'] .pw-desc { font-size: 16px; } }
body[data-page='post'] .pw-tile > .ico-box { position: absolute; inset: 0; margin: auto; }
