body { overflow-x: hidden; }
[hidden] { display: none !important; }
main { width: 100%; margin-inline: auto; }
.address-bar, .site-header, .main-nav, main, footer { width: min(100%, 1650px); margin-inline: auto; }
.chat { right: max(22px, calc((100vw - 1650px) / 2 + 22px)); }

.service-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  max-width: 1625px;
  margin: 18px auto 28px;
  padding: 0 10px;
}
.service-strip button {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 12px;
  align-items: center;
  min-height: 76px;
  padding: 14px 18px;
  border: 1px solid #3b330e;
  border-radius: 8px;
  background: linear-gradient(135deg, #171717, #0a0a0a);
  color: #fff;
  text-align: left;
  cursor: pointer;
}
.service-strip button:hover { border-color: var(--yellow); transform: translateY(-1px); }
.service-strip b { grid-row: 1 / 3; color: var(--yellow); font-size: 25px; }
.service-strip span { font-weight: 800; }
.service-strip small { color: #858585; }

.payment-methods { max-width: 1300px; margin: 30px auto 18px; text-align: center; }
.payment-methods h3 { margin: 0 0 14px; color: #777; font-size: 12px; letter-spacing: 1.4px; }
.payment-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.payment-list span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid #2d2d2d;
  border-radius: 7px;
  background: linear-gradient(180deg, #181818, #0d0d0d);
  color: #aaa;
  font-size: 11px;
  font-weight: 800;
}
.payment-list span:hover { border-color: #786500; color: var(--yellow); }

.header-popover {
  position: fixed;
  z-index: 50;
  width: 230px;
  padding: 14px;
  border: 1px solid #594b00;
  border-radius: 7px;
  background: #151515;
  box-shadow: 0 18px 45px #000c;
}
.header-popover[hidden] { display: none; }
.header-popover b { display: block; margin-bottom: 10px; color: var(--yellow); }
.header-popover p { color: #aaa; line-height: 1.45; }
.header-popover a, .header-popover button {
  display: block;
  width: 100%;
  margin-top: 7px;
  padding: 10px;
  border: 1px solid #303030;
  border-radius: 4px;
  background: #202020;
  color: #fff;
  text-align: left;
  cursor: pointer;
}
.header-popover .active { border-color: var(--yellow); color: var(--yellow); }

dialog { padding: 0; border: 0; background: transparent; color: #fff; }
dialog::backdrop { background: #000c; backdrop-filter: blur(4px); }
.dialog-card {
  position: relative;
  width: min(92vw, 430px);
  padding: 30px;
  border: 1px solid #6b5a00;
  border-radius: 12px;
  background: radial-gradient(circle at 100% 0, #3c3209, #151515 45%, #0a0a0a);
  box-shadow: 0 30px 90px #000;
}
.dialog-close { position: absolute; top: 9px; right: 12px; border: 0; background: transparent; color: #aaa; font-size: 28px; cursor: pointer; }
.dialog-brand { margin-bottom: 14px; font: italic 700 33px Georgia, serif; }
.dialog-brand span { color: var(--yellow); }
.dialog-card h2 { margin: 0 0 22px; color: var(--yellow); }
.dialog-card label { display: block; margin: 13px 0; color: #aaa; font-size: 12px; }
.dialog-card input { width: 100%; margin-top: 6px; padding: 13px; border: 1px solid #3a3a3a; border-radius: 5px; background: #202020; color: #fff; outline: none; }
.dialog-card input:focus { border-color: var(--yellow); }
.dialog-submit { width: 100%; margin-top: 12px; padding: 13px; border: 0; border-radius: 5px; background: var(--yellow); color: #000; font-weight: 900; cursor: pointer; }
.dialog-card p { color: #929292; line-height: 1.55; }

@media (max-width: 1000px) {
  .service-strip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 650px) {
  .service-strip { grid-template-columns: 1fr 1fr; gap: 6px; }
  .service-strip button { min-height: 68px; padding: 10px; }
  .service-strip b { font-size: 20px; }
  .service-strip small { display: none; }
  .payment-list { gap: 5px; }
  .payment-list span { min-height: 32px; padding: 0 9px; font-size: 9px; }
  .chat { right: 16px; }
}
