/* آرامیا — موج ۲۲ : بستهٔ کامل بهبود تجربه، چیدمان، تایپوگرافی و گرافیک (UX v22) */

/* ---------- ۱) مقیاس تایپوگرافی: سه سطح تیتر، دو وزن ---------- */
:root{
  --ux-gold:#e0b862; --ux-gold-2:#fff0b8; --ux-green:#0e2a1c; --ux-green-2:#123a26;
  --ux-ink:#07110a; --ux-cream:#f6efdc;
  --ux-gap-d:48px; --ux-gap-m:32px;
  --ux-r:18px; --ux-ease:cubic-bezier(.22,.8,.3,1);
}
.apk-top h3,.sechead h2,section h2{font-weight:800!important;letter-spacing:-.2px}
section h2{font-size:clamp(21px,4.6vw,30px)!important;line-height:1.35!important}
section h3{font-size:clamp(16px,3.6vw,20px)!important;line-height:1.45!important;font-weight:700!important}
.eyebrow{font-weight:600!important;letter-spacing:.4px}
p,li{line-height:1.85}

/* ---------- ۲) یکدست‌سازی فاصله‌ها ---------- */
@media(min-width:761px){
  section{padding-top:var(--ux-gap-d)!important;padding-bottom:var(--ux-gap-d)!important}
}
@media(max-width:760px){
  section{padding-top:var(--ux-gap-m)!important;padding-bottom:var(--ux-gap-m)!important}
  section + section{margin-top:0!important}
}

/* ---------- ۳) کارت‌های بسته: هم‌ارتفاع و مقایسه‌پذیر ---------- */
.apk-wrap{align-items:stretch!important}
.apk{display:flex!important;flex-direction:column!important;height:100%!important;transition:transform .35s var(--ux-ease),box-shadow .35s var(--ux-ease)}
.apk-in{display:flex!important;flex-direction:column!important;flex:1 1 auto!important}
.apk-perks{flex:1 1 auto!important}
.apk-cta{margin-top:auto!important}
.apk-hl{min-height:2.6em;display:flex;align-items:center;justify-content:center;text-align:center}
@media(hover:hover){.apk:hover{transform:translateY(-6px);box-shadow:0 22px 48px rgba(0,0,0,.34)}}

/* ---------- ۴) میکرو‌فیدبک دکمه‌ها ---------- */
button,.btn,.apk-cta,.cart-chk,.ac-call,a.sb-cta{transition:transform .16s var(--ux-ease),box-shadow .25s var(--ux-ease),filter .25s var(--ux-ease)}
button:active,.btn:active,.apk-cta:active,.cart-chk:active,.ac-call:active{transform:translateY(1px) scale(.985)}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{
  outline:3px solid rgba(224,184,98,.85)!important;outline-offset:2px!important;border-radius:10px}

/* ---------- ۵) نوار بازگشت به سبد (سبد رهاشده) ---------- */
.ux-resume{position:fixed;inset-inline:0;top:0;z-index:960;transform:translateY(-110%);
  transition:transform .45s var(--ux-ease);background:linear-gradient(90deg,#0e2a1c,#15402a);
  border-bottom:1px solid rgba(224,184,98,.42);box-shadow:0 10px 26px rgba(0,0,0,.34)}
.ux-resume.on{transform:translateY(0)}
.ux-resume .uxr-in{max-width:1100px;margin:0 auto;display:flex;align-items:center;gap:10px;padding:9px 12px}
.ux-resume .uxr-ic{flex:0 0 auto;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;
  background:rgba(224,184,98,.16);color:var(--ux-gold)}
.ux-resume .uxr-tx{flex:1 1 auto;color:#f3e7c8;font-size:13px;line-height:1.5}
.ux-resume .uxr-tx b{color:#fff;display:block;font-size:13.5px}
.ux-resume .uxr-tx span{opacity:.85;font-size:11.5px}
.ux-resume .uxr-go{flex:0 0 auto;background:linear-gradient(135deg,var(--ux-gold-2),var(--ux-gold) 55%,#b9812e);
  color:var(--ux-ink)!important;-webkit-text-fill-color:var(--ux-ink);font-weight:800;font-size:12.5px;
  border:0;border-radius:12px;padding:9px 14px;cursor:pointer}
.ux-resume .uxr-x{flex:0 0 auto;background:transparent;border:0;color:#cdbb92;font-size:19px;cursor:pointer;padding:2px 6px}
@media(max-width:420px){.ux-resume .uxr-tx span{display:none}}

/* ---------- ۶) نوار پایین هوشمند (قیمت بستهٔ انتخابی) ---------- */
.sticky-bar .ux-sum{display:block;font-size:10.5px;font-weight:700;opacity:.95;margin-top:1px}
.sticky-bar.ux-live .ux-order{background:linear-gradient(135deg,var(--ux-gold-2),var(--ux-gold) 55%,#b9812e)!important;
  color:var(--ux-ink)!important;-webkit-text-fill-color:var(--ux-ink)!important}

/* ---------- ۷) انتخاب شهر با جست‌وجو ---------- */
.ux-combo{position:relative}
.ux-combo-input{width:100%;box-sizing:border-box}
.ux-combo-list{position:absolute;z-index:40;inset-inline:0;top:calc(100% + 6px);max-height:232px;overflow:auto;
  background:#0f2a1d;border:1px solid rgba(224,184,98,.4);border-radius:14px;box-shadow:0 18px 40px rgba(0,0,0,.45);
  padding:6px;display:none}
.ux-combo.open .ux-combo-list{display:block}
.ux-combo-list button{display:block;width:100%;text-align:start;background:transparent;border:0;color:#f0e6cd;
  font:inherit;font-size:14px;padding:9px 11px;border-radius:10px;cursor:pointer}
.ux-combo-list button:hover,.ux-combo-list button.sel{background:rgba(224,184,98,.17);color:#fff}
.ux-combo-empty{padding:10px 12px;color:#c9bb98;font-size:13px}

/* ---------- ۸) اعتبارسنجی مهربان ---------- */
.ux-msg{display:block;font-size:11.5px;line-height:1.7;margin-top:5px;min-height:0;color:#e7d7ab;opacity:.95}
.ux-msg.err{color:#ffb4a8}
.ux-msg.ok{color:#8fe3b0}
.ux-f-err input,.ux-f-err textarea,.ux-f-err select,.ux-f-err .ux-combo-input{border-color:rgba(255,140,120,.75)!important;
  box-shadow:0 0 0 3px rgba(255,120,100,.12)!important}
.ux-f-ok input,.ux-f-ok textarea,.ux-f-ok select,.ux-f-ok .ux-combo-input{border-color:rgba(120,220,160,.6)!important}

/* ---------- ۹) سه‌گانهٔ اعتماد ---------- */
.ux-trust{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin:14px auto 2px;max-width:640px}
.ux-trust span{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:600;color:#ecdfbe;
  background:rgba(224,184,98,.09);border:1px solid rgba(224,184,98,.3);border-radius:999px;padding:7px 12px}
.ux-trust svg{width:14px;height:14px;color:var(--ux-gold);flex:0 0 auto}

/* ---------- ۱۰) خط زمان ارسال ---------- */
.ux-cutoff{display:flex;align-items:center;justify-content:center;gap:7px;margin-top:10px;
  font-size:12.5px;font-weight:600;color:#ffe9b8}
.ux-cutoff svg{width:15px;height:15px;color:var(--ux-gold)}
.ux-cutoff b{color:#fff}

/* ---------- ۱۱) آیکون‌های یکدست به‌جای ایموجی ---------- */
.ux-ic{display:inline-block;width:1.05em;height:1.05em;vertical-align:-.16em;margin-inline-end:.3em;color:var(--ux-gold)}
.ux-ic svg{width:100%;height:100%;display:block}

/* ---------- ۱۲) ظهور نرم بخش‌ها ---------- */
.ux-rv{opacity:0;transform:translateY(12px);transition:opacity .42s var(--ux-ease),transform .42s var(--ux-ease)}
.ux-rv.in{opacity:1;transform:none}
@media(prefers-reduced-motion:reduce){.ux-rv{opacity:1!important;transform:none!important}
  *{animation-duration:.001ms!important;transition-duration:.08s!important}}

/* ---------- ۱۳) عناصر شناور: کم‌کردن شلوغی موبایل ---------- */
@media(max-width:760px){
  #backtop{opacity:0;pointer-events:none;transition:opacity .3s var(--ux-ease),transform .3s var(--ux-ease);transform:scale(.8)}
  body.ux-deep #backtop{opacity:1;pointer-events:auto;transform:none}
  .cart-fab{bottom:138px!important}
  #cbFab{bottom:194px!important}
  #backtop{bottom:194px!important;right:12px!important;left:auto!important}
}

/* ---------- ۱۴) چیپ مشاور: لحن اول‌شخص ---------- */
.advchip .ac-note{display:block;font-size:11.5px;color:#d9ca9f;margin-top:2px;line-height:1.6}

/* ---------- ۱۵) تصاویر: جلوگیری از پرش چیدمان ---------- */
.apk-ph img,.sx-s img,.sb-wrap img{display:block}
img[data-ux-ar]{aspect-ratio:var(--ux-ar,16/9);object-fit:cover}

/* ---------- ۱۶) کنتراست روی سطوح طلایی ---------- */
.apk-cta,.sb-cta,.cart-chk,.ac-call,.ux-resume .uxr-go{text-shadow:none!important}
.apk-cta{font-weight:800!important}

/* ---------- ۱۷) اصلاحات موج ۲۲ب ---------- */
.sticky-bar .ux-order{display:flex!important;flex-direction:column!important;align-items:center!important;
  justify-content:center!important;line-height:1.2!important;padding-inline:10px!important;
  font-size:13px!important;white-space:nowrap!important;min-width:132px}
.sticky-bar .ux-sum{font-size:10.5px!important;white-space:nowrap;letter-spacing:0}
.ux-after{margin-top:12px}
.ux-combo-list{background:#10233a;border-color:rgba(224,184,98,.42)}
.ux-combo-list button{color:#eadfc4}
.ux-msg{margin-bottom:2px}

/* ---------- ۱۸) دکمهٔ کپی شماره ---------- */
.ux-copy{margin-inline-start:7px;background:rgba(224,184,98,.14);border:1px solid rgba(224,184,98,.4);
  color:#f0dfb2;font:inherit;font-size:10.5px;font-weight:700;border-radius:9px;padding:3px 8px;cursor:pointer;
  vertical-align:middle;white-space:nowrap}
.ux-copy:hover{background:rgba(224,184,98,.24)}

/* ---------- ۱۹) سبد: پس‌انداز شما ---------- */
.cart-panel .ux-save{display:flex;align-items:center;justify-content:space-between;gap:10px;
  margin:0 0 10px;padding:10px 12px;border-radius:14px;
  background:linear-gradient(135deg,rgba(224,184,98,.12),rgba(20,60,40,.35));
  border:1px solid rgba(224,184,98,.32)}
.cart-panel .ux-save i{display:block;font-style:normal;font-size:10.5px;color:#cdbf9a;margin-bottom:2px}
.cart-panel .ux-save b{font-size:13.5px;color:#ffe9a7}
.cart-panel .ux-save .uxs-old{text-decoration:line-through;opacity:.72;font-weight:600;color:#d6c9a6}
.cart-panel .ux-save .uxs-r{display:flex;align-items:center;gap:7px;text-align:end}
.cart-panel .ux-save .uxs-r svg{width:16px;height:16px;color:#e0b862;flex:0 0 auto}

/* ---------- ۲۰) تمرکز روی سبد باز ---------- */
body.ux-cart-open .cart-fab,body.ux-cart-open #cbFab,body.ux-cart-open #backtop,
body.ux-cart-open #chub,body.ux-cart-open .sticky-bar{opacity:0!important;pointer-events:none!important;
  transition:opacity .2s ease}
.cart-panel .cart-body{display:flex;flex-direction:column;gap:2px}
.cart-panel .ux-cutoff{margin-top:8px;font-size:11.5px}

/* ---------- ۲۱) کنتراست دکمه‌های طلایی سراسر سایت ---------- */
.btn-gold,.btn.btn-gold{color:#0a1b11!important;-webkit-text-fill-color:#0a1b11!important;font-weight:800!important;text-shadow:none!important}
.btn-gold *,.btn.btn-gold *{color:inherit!important;-webkit-text-fill-color:inherit!important}
.btn-gold .ux-ic,.btn.btn-gold .ux-ic{color:#0a1b11!important}

/* ---------- ۲۲) خوانایی متن روی CTAهای طلایی روشن ---------- */
.sx-cta,.ahs-cta,.acb-cta{color:#0a1b11!important;-webkit-text-fill-color:#0a1b11!important;
  font-weight:800!important;text-shadow:none!important}
.sx-cta *,.ahs-cta *,.acb-cta *{color:inherit!important;-webkit-text-fill-color:inherit!important}
