/* ===================================================================
   Shop — Sepet + Giriş Modalı + Navbar İkonları (tüm sayfalarda ortak)
   style.css tasarım sistemiyle uyumlu
   =================================================================== */

/* ---------------- navbar ikonları ---------------- */
.hdr-actions { display: flex; align-items: center; gap: 8px; }
.hdr-icon {
  position: relative;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--c-bg-2);
  color: var(--c-ink);
  display: grid; place-items: center;
  transition: all .15s;
}
.hdr-icon:hover { background: var(--c-ink); color: #fff; transform: translateY(-1px); }
.hdr-icon svg { width: 19px; height: 19px; }
.hdr-icon .cart-badge {
  position: absolute; top: -5px; right: -5px;
  min-width: 19px; height: 19px; padding: 0 5px;
  border-radius: 999px;
  background: var(--c-coral); color: #fff;
  font-size: 11px; font-weight: 800;
  display: none; place-items: center;
  border: 2px solid var(--c-bg);
}
.hdr-icon .cart-badge.show { display: grid; }

.hdr-login {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 0 16px; height: 42px;
  border-radius: 12px;
  border: 1.5px solid var(--c-line-2);
  background: var(--c-surface); color: var(--c-ink);
  font-size: 13.5px; font-weight: 700;
  transition: all .15s; white-space: nowrap;
}
.hdr-login:hover { border-color: var(--c-ink); transform: translateY(-1px); }
.hdr-login svg { width: 16px; height: 16px; }

.hdr-user {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 5px 12px 5px 5px; height: 42px;
  border-radius: 999px;
  border: 1.5px solid var(--c-line);
  background: var(--c-surface); transition: all .15s;
  position: relative;
}
.hdr-user:hover { border-color: var(--c-line-2); box-shadow: var(--shadow-sm); }
.hdr-user .av {
  width: 30px; height: 30px; border-radius: 50%; overflow: hidden;
  background: linear-gradient(135deg, var(--c-mint), var(--c-mint-deep)); color: #fff;
  display: grid; place-items: center; font-size: 12px; font-weight: 800;
}
.hdr-user .av .av-img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
.hdr-user .nm { font-size: 13px; font-weight: 700; max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hdr-user .chev { width: 14px; height: 14px; color: var(--c-muted); }

.hdr-menu {
  position: absolute; top: calc(100% + 8px); right: 0;
  width: 210px;
  background: var(--c-surface); border: 1px solid var(--c-line);
  border-radius: 14px; box-shadow: var(--shadow-lg);
  padding: 8px; z-index: 120;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: all .18s;
}
.hdr-user.open .hdr-menu { opacity: 1; visibility: visible; transform: none; }
.hdr-menu .um-head { padding: 8px 10px 10px; border-bottom: 1px solid var(--c-line); margin-bottom: 6px; }
.hdr-menu .um-head b { display: block; font-size: 13.5px; font-weight: 800; }
.hdr-menu .um-head span { font-size: 11.5px; color: var(--c-muted); }
.hdr-menu a, .hdr-menu button {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 9px 10px; border-radius: 9px;
  font-size: 13.5px; font-weight: 600; color: var(--c-ink-soft);
  text-align: left; transition: all .12s;
}
.hdr-menu a:hover, .hdr-menu button:hover { background: var(--c-bg-2); color: var(--c-ink); }
.hdr-menu svg { width: 16px; height: 16px; }
.hdr-menu .logout { color: var(--c-coral); }
.hdr-menu .logout:hover { background: var(--c-coral-soft); color: var(--c-coral); }

/* ---------------- backdrop (sepet & modal) ---------------- */
.shop-backdrop {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(20, 25, 40, .5);
  backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
}
.shop-backdrop.open { opacity: 1; visibility: visible; }

/* ---------------- sepet çekmecesi ---------------- */
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 210;
  width: 420px; max-width: 92vw;
  background: var(--c-bg);
  box-shadow: -20px 0 60px rgba(20,30,50,.18);
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .3s cubic-bezier(.3,.8,.3,1);
}
.cart-drawer.open { transform: none; }
.cart-head {
  display: flex; align-items: center; gap: 12px;
  padding: 20px 22px; border-bottom: 1px solid var(--c-line); background: var(--c-surface);
}
.cart-head h3 { font-size: 17px; font-weight: 800; margin: 0; }
.cart-head .c-count {
  font-size: 12px; font-weight: 800; color: var(--c-mint-deep);
  background: var(--c-mint-soft); padding: 3px 9px; border-radius: 999px;
}
.cart-head .c-close {
  margin-left: auto; width: 34px; height: 34px; border-radius: 10px;
  background: var(--c-bg-2); color: var(--c-ink-soft); display: grid; place-items: center; transition: all .15s;
}
.cart-head .c-close:hover { background: var(--c-ink); color: #fff; }
.cart-head .c-close svg { width: 17px; height: 17px; }

.cart-body { flex: 1; overflow-y: auto; padding: 16px 18px; }
.cart-items { display: flex; flex-direction: column; gap: 12px; }

.cart-item {
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: 14px;
  padding: 14px; display: grid; grid-template-columns: 42px 1fr; gap: 12px;
}
.cart-item .ci-ic {
  width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; flex-shrink: 0;
}
.cart-item .ci-ic svg { width: 21px; height: 21px; }
.ci-ic.domain { background: var(--c-indigo-soft); color: var(--c-indigo); }
.ci-ic.hosting { background: var(--c-mint-soft); color: var(--c-mint-deep); }
.ci-ic.website { background: var(--c-amber-soft); color: #B47F25; }
.ci-ic.service { background: var(--c-violet-soft); color: #8B5CD6; }
.cart-item .ci-main { min-width: 0; }
.cart-item .ci-top { display: flex; align-items: flex-start; gap: 8px; }
.cart-item .ci-name { font-size: 14px; font-weight: 800; letter-spacing: -.01em; margin: 0; }
.cart-item .ci-name .ext { color: var(--c-mint-deep); }
.cart-item .ci-desc { font-size: 11.5px; color: var(--c-muted); margin: 2px 0 0; }
.cart-item .ci-remove {
  margin-left: auto; flex-shrink: 0; color: var(--c-muted);
  width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; transition: all .15s;
}
.cart-item .ci-remove:hover { background: var(--c-coral-soft); color: var(--c-coral); }
.cart-item .ci-remove svg { width: 15px; height: 15px; }
.cart-item .ci-foot { display: flex; align-items: center; gap: 10px; margin-top: 11px; }

/* stepper (yıl / adet) */
.stepper { display: inline-flex; align-items: center; gap: 0; border: 1.5px solid var(--c-line-2); border-radius: 9px; overflow: hidden; background: var(--c-surface); }
.stepper button { width: 28px; height: 28px; display: grid; place-items: center; color: var(--c-ink); transition: background .12s; }
.stepper button:hover { background: var(--c-bg-2); }
.stepper button:disabled { color: var(--c-line-2); cursor: not-allowed; }
.stepper button svg { width: 14px; height: 14px; }
.stepper .val { min-width: 58px; text-align: center; font-size: 12px; font-weight: 700; }
.cart-item .ci-price { margin-left: auto; font-size: 15px; font-weight: 800; }
.cart-item .ci-renew { font-size: 10.5px; color: var(--c-muted); font-weight: 600; margin-top: 3px; text-align: right; }

/* empty */
.cart-empty { text-align: center; padding: 50px 24px; }
.cart-empty .ic { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 18px; background: var(--c-bg-2); color: var(--c-muted); display: grid; place-items: center; }
.cart-empty .ic svg { width: 28px; height: 28px; }
.cart-empty h4 { font-size: 16px; font-weight: 800; margin: 0 0 6px; }
.cart-empty p { font-size: 13px; color: var(--c-ink-soft); margin: 0 0 18px; }

/* foot */
.cart-foot { border-top: 1px solid var(--c-line); background: var(--c-surface); padding: 18px 22px; }
.cart-foot .ct-row { display: flex; justify-content: space-between; font-size: 13px; color: var(--c-ink-soft); margin-bottom: 7px; }
.cart-foot .ct-row.grand { font-size: 17px; font-weight: 800; color: var(--c-ink); margin: 10px 0 14px; padding-top: 12px; border-top: 1px dashed var(--c-line); }
.cart-foot .ct-row.grand b { letter-spacing: -.01em; }
.cart-foot .checkout-btn {
  width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 15px; border-radius: 13px; background: var(--c-mint); color: #fff;
  font-size: 15px; font-weight: 800; box-shadow: 0 8px 20px rgba(var(--c-accent-rgb),.18); transition: all .15s;
}
.cart-foot .checkout-btn:hover { background: var(--c-mint-deep); transform: translateY(-1px); }
.cart-foot .checkout-btn svg { width: 16px; height: 16px; }
.cart-foot .cont { display: block; text-align: center; margin-top: 12px; font-size: 12.5px; font-weight: 700; color: var(--c-ink-soft); }
.cart-foot .cont:hover { color: var(--c-ink); }

/* ---------------- giriş/kayıt modalı ---------------- */
.am-modal {
  position: fixed; z-index: 220;
  top: 50%; left: 50%; transform: translate(-50%, -48%);
  width: 100%; max-width: 410px;
  background: var(--c-surface); border-radius: 22px;
  box-shadow: var(--shadow-xl);
  opacity: 0; visibility: hidden; transition: all .25s cubic-bezier(.2,.8,.2,1);
  max-height: 92vh; overflow-y: auto;
}
.am-modal.open { opacity: 1; visibility: visible; transform: translate(-50%, -50%); }
.am-close {
  position: absolute; top: 16px; right: 16px; z-index: 2;
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--c-bg-2); color: var(--c-ink-soft); display: grid; place-items: center; transition: all .15s;
}
.am-close:hover { background: var(--c-ink); color: #fff; }
.am-close svg { width: 17px; height: 17px; }
.am-inner { padding: 30px 30px 28px; }
.am-brand { display: inline-flex; align-items: center; gap: 9px; font-size: 17px; font-weight: 800; margin-bottom: 18px; }
.am-brand .mark { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg, var(--c-mint), var(--c-mint-deep)); color: #fff; display: grid; place-items: center; font-size: 15px; }

.am-tabs { display: flex; gap: 4px; background: var(--c-bg-2); padding: 4px; border-radius: 12px; margin-bottom: 22px; }
.am-tab { flex: 1; padding: 10px; border-radius: 9px; font-size: 13.5px; font-weight: 800; color: var(--c-ink-soft); transition: all .15s; }
.am-tab.is-active { background: var(--c-surface); color: var(--c-ink); box-shadow: var(--shadow-sm); }

.am-pane { display: none; }
.am-pane.is-active { display: block; animation: amFade .25s ease; }
@keyframes amFade { from { transform: translateY(6px); } to { transform: none; } }

.am-form { display: flex; flex-direction: column; gap: 14px; }
.am-field { position: relative; }
.am-field > label { display: block; font-size: 12.5px; font-weight: 700; margin-bottom: 6px; }
.am-iw { position: relative; }
.am-iw .lic { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--c-muted); pointer-events: none; }
.am-iw .lic svg { width: 16px; height: 16px; }
.am-form input[type=text], .am-form input[type=email], .am-form input[type=password] {
  width: 100%; font: inherit; font-size: 14px;
  padding: 12px 14px 12px 40px; border: 1.5px solid var(--c-line);
  border-radius: 11px; background: var(--c-bg-2); outline: none; transition: all .15s; color: var(--c-ink);
}
.am-form input:focus { border-color: var(--c-mint); background: var(--c-surface); box-shadow: 0 0 0 4px rgba(var(--c-accent-rgb),.13); }
.am-field.err input { border-color: var(--c-coral); background: var(--c-surface); }
.am-err { display: none; font-size: 11px; font-weight: 700; color: var(--c-coral); margin-top: 5px; }
.am-field.err .am-err { display: block; }
.am-pw-toggle { position: absolute; right: 11px; top: 50%; transform: translateY(-50%); color: var(--c-muted); width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; }
.am-pw-toggle:hover { color: var(--c-ink); background: var(--c-bg-2); }
.am-pw-toggle svg { width: 17px; height: 17px; }

.am-row { display: flex; align-items: center; justify-content: space-between; margin: -2px 0 2px; }
.am-check { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: var(--c-ink-soft); cursor: pointer; user-select: none; }
.am-check input { display: none; }
.am-check .box { width: 18px; height: 18px; border-radius: 6px; border: 1.5px solid var(--c-line-2); background: var(--c-surface); display: grid; place-items: center; color: transparent; transition: all .15s; }
.am-check .box svg { width: 11px; height: 11px; }
.am-check input:checked + .box { background: var(--c-mint); border-color: var(--c-mint); color: #fff; }
.am-link { font-size: 12.5px; font-weight: 800; color: var(--c-mint-deep); }
.am-link:hover { color: var(--c-ink); }

.am-submit {
  width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px; border-radius: 12px; background: var(--c-ink); color: #fff;
  font-size: 14.5px; font-weight: 800; transition: all .15s; margin-top: 2px;
}
.am-submit:hover { background: #000; transform: translateY(-1px); }
.am-submit.mint { background: var(--c-mint); box-shadow: 0 8px 20px rgba(var(--c-accent-rgb),.18); }
.am-submit.mint:hover { background: var(--c-mint-deep); }
.am-submit svg { width: 15px; height: 15px; }

.am-divider { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: var(--c-muted); font-size: 11.5px; font-weight: 700; }
.am-divider::before, .am-divider::after { content: ''; flex: 1; height: 1px; background: var(--c-line); }
.am-socials { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.am-social { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px; border: 1.5px solid var(--c-line); border-radius: 10px; font-size: 13px; font-weight: 700; transition: all .15s; }
.am-social:hover { border-color: var(--c-ink); background: var(--c-bg-2); }
.am-social svg { width: 17px; height: 17px; }

.am-terms { font-size: 11.5px; color: var(--c-ink-soft); line-height: 1.5; display: flex; gap: 8px; align-items: flex-start; }
.am-terms a { color: var(--c-mint-deep); font-weight: 700; }

/* mini pw meter */
.am-pwm { display: flex; gap: 4px; margin-top: 8px; }
.am-pwm > i { flex: 1; height: 4px; border-radius: 999px; background: var(--c-line-2); transition: background .25s; }
.am-pwm.s1 > i:nth-child(1) { background: var(--c-coral); }
.am-pwm.s2 > i:nth-child(-n+2) { background: var(--c-amber); }
.am-pwm.s3 > i:nth-child(-n+3) { background: var(--c-mint); }
.am-pwm.s4 > i { background: var(--c-mint-deep); }

@keyframes shopShake { 0%,100%{transform:translate(-50%,-50%)} 25%{transform:translate(calc(-50% - 7px),-50%)} 75%{transform:translate(calc(-50% + 7px),-50%)} }
.am-modal.shake { animation: shopShake .3s; }

/* ---------------- toast ---------------- */
#shop-toast {
  position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%) translateY(20px);
  z-index: 400; display: inline-flex; align-items: center; gap: 9px;
  background: var(--c-ink); color: #fff; padding: 13px 20px; border-radius: 999px;
  font-size: 13.5px; font-weight: 700; box-shadow: var(--shadow-lg);
  opacity: 0; pointer-events: none; transition: all .3s cubic-bezier(.2,.8,.2,1);
}
#shop-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
#shop-toast svg { width: 16px; height: 16px; color: var(--c-mint); }

@media (max-width: 560px) {
  .hdr-login span { display: none; }
  .hdr-login { padding: 0; width: 42px; justify-content: center; }
  .am-socials { grid-template-columns: 1fr; }
}

/* ---------------- bildirim zili açılır liste ---------------- */
.hdr-bell-wrap { display: inline-flex; }
.bell-menu {
  position: absolute; top: calc(100% + 10px); right: 0;
  width: 340px; max-width: 88vw;
  background: var(--c-surface); border: 1px solid var(--c-line);
  border-radius: 16px; box-shadow: var(--shadow-lg);
  z-index: 130; overflow: hidden;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: all .18s;
}
.hdr-bell-wrap.open .bell-menu { opacity: 1; visibility: visible; transform: none; }
.bell-head { display: flex; align-items: center; justify-content: space-between; padding: 15px 16px; border-bottom: 1px solid var(--c-line); }
.bell-head b { font-size: 14.5px; font-weight: 800; }
.bell-readall { font-size: 11.5px; font-weight: 700; color: var(--c-mint-deep); }
.bell-readall:hover { color: var(--c-ink); }
.bell-body { max-height: 360px; overflow-y: auto; }
.bell-item { display: flex; gap: 11px; width: 100%; padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--c-line); transition: background .12s; position: relative; align-items: flex-start; }
.bell-item:last-child { border-bottom: none; }
.bell-item:hover { background: var(--c-bg-2); }
.bell-item.unread { background: rgba(var(--c-accent-rgb),.06); }
.bell-item .bi-ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; }
.bell-item .bi-ic svg { width: 17px; height: 17px; }
.bi-ic.mint { background: var(--c-mint-soft); color: var(--c-mint-deep); }
.bi-ic.amber { background: var(--c-amber-soft); color: #B47F25; }
.bi-ic.coral { background: var(--c-coral-soft); color: var(--c-coral); }
.bi-ic.violet { background: var(--c-violet-soft); color: #8B5CD6; }
.bi-ic.indigo { background: var(--c-indigo-soft); color: var(--c-indigo); }
.bell-item .bi-tx { min-width: 0; flex: 1; }
.bell-item .bi-tx b { display: block; font-size: 13px; font-weight: 800; letter-spacing: -.005em; }
.bell-item .bi-tx span { display: block; font-size: 12px; color: var(--c-ink-soft); line-height: 1.4; margin: 2px 0 4px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.bell-item .bi-tx i { font-size: 11px; color: var(--c-muted); font-style: normal; font-weight: 600; }
.bell-item .bi-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-mint); flex-shrink: 0; margin-top: 6px; }
.bell-empty { padding: 36px 20px; text-align: center; font-size: 13px; color: var(--c-muted); }
.bell-foot { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 13px; font-size: 13px; font-weight: 800; color: var(--c-ink); border-top: 1px solid var(--c-line); background: var(--c-bg-2); transition: background .12s; }
.bell-foot:hover { background: var(--c-line); }
.bell-foot svg { width: 14px; height: 14px; }

/* ---------------- kayan bildirim popup ---------------- */
#notif-pop-host {
  position: fixed; bottom: 24px; right: 20px; z-index: 500;
  display: flex; flex-direction: column-reverse; gap: 12px; pointer-events: none;
  max-width: 92vw;
}
.notif-pop {
  pointer-events: auto;
  width: 360px; max-width: 92vw;
  background: var(--c-surface); border: 1px solid var(--c-line);
  border-radius: 16px; box-shadow: var(--shadow-xl);
  padding: 16px; display: flex; gap: 13px; align-items: flex-start;
  transform: translateX(120%); opacity: 0;
  transition: transform .4s cubic-bezier(.2,.9,.3,1), opacity .3s;
  position: relative; overflow: hidden;
}
.notif-pop.in { transform: none; opacity: 1; }
.notif-pop::after { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--c-mint); }
.notif-pop .np-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; }
.notif-pop .np-ic svg { width: 21px; height: 21px; }
.np-ic.mint { background: var(--c-mint-soft); color: var(--c-mint-deep); }
.np-ic.amber { background: var(--c-amber-soft); color: #B47F25; }
.np-ic.coral { background: var(--c-coral-soft); color: var(--c-coral); }
.np-ic.violet { background: var(--c-violet-soft); color: #8B5CD6; }
.np-ic.indigo { background: var(--c-indigo-soft); color: var(--c-indigo); }
.notif-pop .np-tx { min-width: 0; flex: 1; }
.np-kicker { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; color: var(--c-mint-deep); margin-bottom: 4px; }
.np-ping { width: 7px; height: 7px; border-radius: 50%; background: var(--c-mint); box-shadow: 0 0 0 0 rgba(var(--c-accent-rgb),.26); animation: npPing 1.4s infinite; }
@keyframes npPing { 0% { box-shadow: 0 0 0 0 rgba(var(--c-accent-rgb),.26); } 70% { box-shadow: 0 0 0 7px rgba(var(--c-accent-rgb),0); } 100% { box-shadow: 0 0 0 0 rgba(var(--c-accent-rgb),0); } }
.notif-pop .np-tx b { display: block; font-size: 14px; font-weight: 800; letter-spacing: -.01em; }
.notif-pop .np-tx span { display: block; font-size: 12.5px; color: var(--c-ink-soft); line-height: 1.45; margin-top: 2px; }
.np-acts { margin-top: 9px; }
.np-acts a { font-size: 12.5px; font-weight: 800; color: var(--c-mint-deep); }
.np-acts a:hover { color: var(--c-ink); }
.notif-pop .np-close { position: absolute; top: 10px; right: 10px; width: 26px; height: 26px; border-radius: 8px; color: var(--c-muted); display: grid; place-items: center; transition: all .12s; }
.notif-pop .np-close:hover { background: var(--c-bg-2); color: var(--c-ink); }
.notif-pop .np-close svg { width: 15px; height: 15px; }

@media (max-width: 560px) {
  #notif-pop-host { bottom: 16px; right: 10px; left: 10px; }
  .notif-pop { width: auto; }
}

/* ---------------- yukarı çık ---------------- */
#wp-backtop {
  position: fixed; right: 22px; bottom: 22px; z-index: 190;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--c-ink); color: #fff;
  display: grid; place-items: center;
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(14px) scale(.9);
  transition: opacity .22s, transform .22s, background .15s;
}
#wp-backtop.show { opacity: 1; visibility: visible; transform: none; }
#wp-backtop:hover { background: #000; transform: translateY(-2px); }
#wp-backtop svg { width: 20px; height: 20px; }
/* AI satış asistanı olan sayfalarda çakışmasın diye yukarı (CSS-only, script sırasından bağımsız) */
body:has(.ai-launcher) #wp-backtop { bottom: 84px; }
@media (max-width: 560px) {
  #wp-backtop { right: 14px; bottom: 14px; width: 42px; height: 42px; }
  body:has(.ai-launcher) #wp-backtop { bottom: 74px; }
}
