/* ===== Rado Mobilya - Destek pop-up, WhatsApp butonu, Online Ödeme ===== */
:root {
  --rd-gold: #9c875e;
  --rd-gold-2: #b8a273;
  --rd-gold-dark: #85714b;
  --rd-gold-soft: #f8f4ec;
  --rd-gold-line: #e4d9c3;
  --rd-dark: #201d1b;
  --rd-wa: #25d366;
  --rd-wa-dark: #1da851;
  --rd-wa-soft: #effbf3;
  --rd-wa-line: #bfeccf;
}

/* ---------- Header: Online Ödeme butonu ---------- */
.rd-pay-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 18px; margin-left: 25px;
  background: var(--rd-gold); color: #fff !important;
  font-family: 'Oswald', sans-serif; font-size: 15px; font-weight: 400; letter-spacing: .5px;
  text-transform: uppercase; text-decoration: none !important; white-space: nowrap;
  border: 1px solid var(--rd-gold); border-radius: 30px;
  transition: background .25s, color .25s, transform .25s, box-shadow .25s;
}
.rd-pay-btn:hover { background: transparent; color: var(--rd-gold-2) !important; transform: translateY(-2px); box-shadow: 0 6px 18px rgba(156,135,94,.35); }
.rd-pay-btn svg { width: 18px; height: 18px; }
.rd-pay-btn--mobile { margin: 0 14px 0 0; padding: 7px 13px; font-size: 13px; }
.rd-pay-btn--block { display: flex; justify-content: center; margin: 25px 0 0; }

/* ---------- Sağ alt WhatsApp butonu ---------- */
.rd-wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 990;
  display: flex; align-items: center; justify-content: center;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--rd-wa); color: #fff !important; text-decoration: none !important;
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
  transition: transform .25s, background .25s;
}
.rd-wa-float:hover { background: var(--rd-wa-dark); transform: scale(1.08); }
.rd-wa-float > svg { width: 32px; height: 32px; position: relative; z-index: 1; }
.rd-wa-float__pulse {
  position: absolute; inset: 0; border-radius: 50%; background: var(--rd-wa);
  animation: rdPulse 2.2s ease-out infinite;
}
.rd-wa-float__label {
  position: absolute; right: 72px; top: 50%; transform: translate(10px,-50%);
  background: #fff; color: var(--rd-dark); font-size: 14px; font-weight: 400; white-space: nowrap;
  padding: 7px 14px; border-radius: 20px; box-shadow: 0 4px 14px rgba(0,0,0,.25);
  opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s;
}
.rd-wa-float:hover .rd-wa-float__label { opacity: 1; transform: translate(0,-50%); }
@keyframes rdPulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.7); opacity: 0; } }

/* Çerez uyarısı WhatsApp butonunun üstüne çıksın */
.cookiealert { bottom: 95px !important; }

/* ---------- Destek & İletişim pop-up (kupon modalı görünümü) ---------- */
.rd-pop { position: fixed; inset: 0; z-index: 1100; display: flex; align-items: center; justify-content: center; padding: 16px; }
.rd-pop[hidden] { display: none; }
.rd-pop__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.6); opacity: 0; transition: opacity .3s; }
.rd-pop__card {
  position: relative; width: 100%; max-width: 460px; max-height: calc(100vh - 32px);
  overflow-x: hidden; overflow-y: auto;
  background: #fff; color: #333; border-radius: 10px;
  font-family: 'Oswald', sans-serif; box-shadow: 0 20px 50px rgba(0,0,0,.4);
  opacity: 0; transform: translateY(24px) scale(.97); transition: opacity .35s, transform .35s;
}
.rd-pop.is-open .rd-pop__backdrop { opacity: 1; }
.rd-pop.is-open .rd-pop__card { opacity: 1; transform: none; }

.rd-pop__top { display: flex; align-items: center; justify-content: space-between; padding: 10px 10px 10px 20px; border-bottom: 1px solid #eee; }
.rd-pop__top-title { font-size: 17px; font-weight: 500; color: #333; }
.rd-pop__close {
  width: 34px; height: 34px; background: transparent; border: 0; border-radius: 50%;
  color: #666; font-size: 28px; line-height: 1; cursor: pointer; transition: background .2s, color .2s;
}
.rd-pop__close:hover { background: #f3f3f3; color: #000; }

.rd-pop__body { padding: 20px; }
.rd-pop__store { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.rd-pop__logo { width: 52px; height: 52px; object-fit: contain; border-radius: 50%; background: var(--rd-dark); padding: 6px; box-sizing: border-box; }
.rd-pop__store strong { display: block; font-size: 18px; font-weight: 500; color: #333; line-height: 1.2; }
.rd-pop__badge { display: inline-block; margin-top: 3px; padding: 1px 9px; font-size: 12px; color: var(--rd-gold-dark); background: var(--rd-gold-soft); border-radius: 10px; }

.rd-pop__title { color: #333 !important; font-size: 22px !important; font-weight: 500 !important; line-height: 1.25; margin: 0 0 8px !important; }
.rd-pop__text { font-size: 16px; line-height: 1.5; margin: 0 0 18px; color: #333; font-weight: 400; }

/* Yan yana iki buton: WhatsApp + Telefon */
.rd-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 10px; }
.rd-action {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 12px; border-radius: 6px; text-align: center;
  color: #fff !important; text-decoration: none !important;
  transition: background .2s;
}
.rd-action--wa { background: var(--rd-wa); }
.rd-action--wa:hover { background: var(--rd-wa-dark); }
.rd-action--tel { background: var(--rd-gold); }
.rd-action--tel:hover { background: var(--rd-gold-dark); }
.rd-action__ico { display: flex; flex: none; }
.rd-action__ico svg { width: 18px; height: 18px; }
.rd-action strong { font-size: 15px; font-weight: 400; line-height: 1.2; white-space: nowrap; }
.rd-action small { display: none; }

body.rd-pop-lock { overflow: hidden; }

@media (max-width: 639px) {
  .rd-wa-float { right: 16px; bottom: 16px; width: 54px; height: 54px; }
  .rd-wa-float > svg { width: 28px; height: 28px; }
  .rd-wa-float__label { display: none; }
  .rd-pop__body { padding: 16px; }
  .rd-pop__title { font-size: 19px !important; }
  .rd-actions { gap: 8px; }
  .rd-action { padding: 9px 8px; gap: 6px; }
  .rd-action strong { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .rd-wa-float__pulse { animation: none; }
  .rd-pop__card, .rd-pop__backdrop { transition: none; }
}
