.customer-modal {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}

.customer-modal.is-open { opacity: 1; pointer-events: auto; }
.customer-modal__backdrop { position: absolute; inset: 0; background: rgba(8, 15, 31, .68); backdrop-filter: blur(6px); }
.customer-modal__dialog {
  position: relative;
  width: min(100%, 880px);
  padding: 42px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 24px;
  color: #172036;
  background: #fff;
  box-shadow: 0 28px 70px rgba(15, 23, 42, .26);
  transform: translateY(10px) scale(.985);
  transition: transform .2s ease;
}
.customer-modal.is-open .customer-modal__dialog { transform: translateY(0) scale(1); }
.customer-modal__close {
  position: absolute;
  top: 28px;
  right: 30px;
  display: grid;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #667085;
  background: #f3f5fa;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}
.customer-modal__close:hover { color: #4338ca; background: #ededff; }
.customer-modal__content { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(250px, .6fr); column-gap: 42px; row-gap: 14px; align-items: center; }
.customer-modal__title-row { display: flex; align-items: center; }
.customer-modal h2 { margin: 0; color: #111827; font-size: 33px; letter-spacing: -.05em; }
.customer-modal__intro { margin: 13px 0 0; color: #667085; font-size: 15px; line-height: 1.75; }
.customer-modal__warning { margin: 18px 0 0; padding: 14px 16px; border: 1px solid #f2c778; border-radius: 12px; color: #9a4b14; background: #fff8e9; font-size: 14px; font-weight: 700; line-height: 1.7; }
.customer-modal__warning b { color: #9a3412; }
.customer-modal__list { display: grid; gap: 13px; margin: 21px 0 0; padding: 0; list-style: none; }
.customer-modal__list li { position: relative; padding-left: 20px; color: #48566f; font-size: 14px; line-height: 1.72; }
.customer-modal__list li::before { position: absolute; top: .52em; left: 0; width: 8px; height: 8px; border-radius: 50%; background: #5b49e0; content: ''; }
.customer-modal__list strong { color: #25216b; font-weight: 850; }
.customer-modal__list li:nth-child(1) strong { color: #b45309; }
.customer-modal__list li:nth-child(3) strong { color: #047857; }
.customer-modal__list li:nth-child(4) strong { color: #5b49e0; }
.customer-modal__qr-wrap { padding: 22px; border: 1px solid #e0e4fb; border-radius: 20px; background: linear-gradient(145deg, #f8f8ff, #fff); text-align: center; }
.customer-modal__qr {
  position: relative;
  display: grid;
  width: 184px;
  height: 184px;
  margin: 0 auto;
  place-items: center;
  overflow: hidden;
  border: 1px dashed #aca6f2;
  border-radius: 12px;
  color: #5b49e0;
  background: #fff;
  font-size: 14px;
  font-weight: 850;
}
.customer-modal__qr::before {
  position: absolute;
  inset: 10px;
  opacity: .35;
  background: repeating-linear-gradient(90deg, #c7c3f5 0 9px, transparent 9px 16px), repeating-linear-gradient(#c7c3f5 0 9px, transparent 9px 16px);
  content: '';
}
.customer-modal__qr span { position: relative; z-index: 1; padding: 7px 10px; border-radius: 8px; background: rgba(255,255,255,.92); }
.customer-modal__qr img { position: relative; z-index: 1; display: block; width: 100%; height: 100%; padding: 8px; object-fit: contain; background: #fff; }
.customer-modal__qr-wrap p { margin: 13px 0 0; color: #536078; font-size: 13px; font-weight: 700; }
.customer-modal__qr-copy--mobile { display: none; }
.customer-modal__qr-wrap small { display: block; margin-top: 5px; color: #929bad; font-size: 11px; }
.customer-modal__qq-action { grid-column: 2; display: inline-flex; width: 100%; min-height: 44px; align-items: center; justify-content: center; gap: 8px; padding: 0 18px; border-radius: 12px; color: #fff; background: linear-gradient(100deg, #4f46e5, #7c3aed); box-shadow: 0 10px 18px rgba(91, 73, 224, .22); font-size: 14px; font-weight: 800; }
.customer-modal__qq-action img { width: 21px; height: 21px; object-fit: contain; }
.qq-float-shortcut { position: fixed; right: 24px; bottom: 100px; z-index: 35; display: grid; width: 58px; height: 58px; place-items: center; border: 1px solid #e1e6ef; border-radius: 50%; background: #fff; box-shadow: 0 10px 24px rgba(20, 31, 54, .16); transition: transform .18s ease, box-shadow .18s ease; }
.qq-float-shortcut:hover { box-shadow: 0 14px 28px rgba(20, 31, 54, .22); transform: translateY(-2px); }
.qq-float-shortcut img { width: 37px; height: 37px; object-fit: contain; }

@media (max-width: 760px) {
  nav a[data-customer-service] { display: inline !important; }
  .customer-modal { padding: 16px; }
  .customer-modal__dialog { max-height: calc(100vh - 32px); padding: 28px 20px 22px; overflow: auto; border-radius: 20px; }
  .customer-modal__content { grid-template-columns: 1fr; gap: 22px; }
  .customer-modal h2 { font-size: 27px; }
  .customer-modal__qr-wrap { padding: 15px; }
  .customer-modal__qr { width: 150px; height: 150px; }
  .customer-modal__qr-copy--desktop { display: none; }
  .customer-modal__qr-copy--mobile { display: inline; }
  .customer-modal__qq-action { grid-column: auto; width: 100%; }
  .qq-float-shortcut { right: 16px; bottom: 88px; width: 52px; height: 52px; }
  .qq-float-shortcut img { width: 33px; height: 33px; }
}
