/* Btsn widget-уудын нэмэлт CSS
   Анхны загварт байхгүй, widget-ийн interactive байдалд хэрэгтэй стилүүд */

/* number-picker дээр сонгогдсон тоо */
.single-pick .body-area ul li span.selected {
  background: #f8b806;
  color: #fff;
  border-color: #f8b806;
  cursor: pointer;
}
.single-pick .body-area ul li span {
  cursor: pointer;
  transition: all .2s ease;
}
.single-pick .body-area ul li span:hover {
  border-color: #f8b806;
}

/* Form-ийн мессежийн талбар */
.form-message {
  font-size: 14px;
  min-height: 0;
  transition: all .2s ease;
}
.form-message:empty {
  padding: 0 !important;
}

/* ============================================================
   6/45 Lottery widget-уудын CSS
   Гол өнгө: нил ягаан #f24b3d, шар #d4af37
   ============================================================ */

:root {
  --btsn-purple: #f24b3d;   /* улаан-улбар (гол) */
  --btsn-yellow: #d4af37;   /* алтан */
  --btsn-pink:   #fb8c1a;   /* улбар шар (accent) */
  --btsn-light:  #fef8f0;   /* цайвар улбар фон */
  --btsn-sky:    #fda335;   /* улбар шар */
  --btsn-gold:   #d4af37;   /* алтан */
}

.section-title {
  font-size: 24px;
  font-weight: 700;
  color: #f24b3d;
  margin: 30px 0 20px;
}

/* ---------- play-slip (6/45 тоглох хуудас) ---------- */
.play-slip { padding: 60px 0; }
.play-slip-head {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px; margin-bottom: 16px;
}
.play-slip-head .title { font-size: 22px; font-weight: 700; color: #f24b3d; }
.play-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.play-actions a { padding: 8px 16px; font-size: 14px; }
.play-actions a i { margin-right: 6px; }

.play-slip-status {
  background: var(--btsn-light); border-radius: 8px;
  padding: 10px 16px; margin-bottom: 16px; font-weight: 600; color: #f24b3d;
}
.play-slip-status .js-pick-count { font-size: 18px; color: var(--btsn-pink); }

.play-grid {
  display: grid; grid-template-columns: repeat(9, 1fr); gap: 8px;
  margin-bottom: 24px;
}
@media (max-width: 575px) { .play-grid { grid-template-columns: repeat(6, 1fr); } }
.play-num {
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 1; border: 2px solid #fdeede; border-radius: 50%;
  font-weight: 600; cursor: pointer; transition: all .15s ease;
  user-select: none; color: #9a8270;
}
.play-num:hover { border-color: var(--btsn-yellow); }
.play-num.selected {
  background: var(--btsn-purple); color: #fff; border-color: var(--btsn-purple);
  transform: scale(1.05);
}

.play-lines { margin-bottom: 24px; }
.play-lines h5 { font-size: 16px; color: #f24b3d; margin-bottom: 12px; }
.js-lines-list { list-style: none; padding: 0; margin: 0 0 12px; }
.js-lines-list li {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  background: var(--btsn-light); border-radius: 8px;
  padding: 8px 12px; margin-bottom: 8px;
}
.js-lines-list .ball {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--btsn-purple); color: #fff; font-size: 13px; font-weight: 600;
}
.js-lines-list .remove-line {
  margin-left: auto; color: var(--btsn-pink); cursor: pointer; font-weight: 700;
}

.play-slip-footer {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px; border-top: 1px solid #fdeede; padding-top: 16px;
}
.play-slip-footer .total span { color: #9a8270; font-size: 14px; }
.play-slip-footer .js-total-amount { font-size: 26px; color: var(--btsn-pink); font-weight: 700; }

/* ---------- wallet ---------- */
.wallet-section { padding: 60px 0; }
.wallet-card {
  background: var(--btsn-purple); color: #fff;
  border-radius: 16px; padding: 30px; height: 100%;
}
.wallet-card .label { opacity: .8; font-size: 14px; }
.wallet-card .balance { font-size: 40px; font-weight: 700; margin: 8px 0 20px; }
.wallet-actions { display: flex; gap: 10px; margin-bottom: 24px; }
.wallet-actions button { padding: 10px 18px; border: none; }
.payment-methods .pm-label { font-size: 13px; opacity: .8; }
.payment-methods ul { list-style: none; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.payment-methods li {
  background: rgba(255,255,255,.15); padding: 4px 12px; border-radius: 20px; font-size: 13px;
}

.tx-card { background: #fff; border: 1px solid #fdeede; border-radius: 16px; padding: 24px; }
.tx-card .title { color: #f24b3d; margin-bottom: 16px; }
.tx-table { width: 100%; border-collapse: collapse; }
.tx-table th { text-align: left; font-size: 13px; color: #9a8270; padding: 8px; border-bottom: 2px solid #fdeede; }
.tx-table td { padding: 10px 8px; border-bottom: 1px solid #fef4ea; font-size: 14px; }
.tx-table .amount { font-weight: 700; }
.tx-deposit .amount, .tx-prize .amount { color: #1d9e75; }
.tx-ticket .amount { color: var(--btsn-pink); }
.tx-table .status { font-size: 12px; color: #1d9e75; background: #e1f5ee; padding: 2px 10px; border-radius: 12px; }

/* ---------- my-tickets ---------- */
.my-tickets { padding: 60px 0; }
.tickets-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.ticket-card { border: 1px solid #fdeede; border-radius: 14px; padding: 18px; background: #fff; border-left: 5px solid #9a8270; }
.ticket-card.ticket-won { border-left-color: #1d9e75; }
.ticket-card.ticket-lost { border-left-color: #fda335; }
.ticket-card.ticket-pending { border-left-color: var(--btsn-yellow); }
.ticket-top { display: flex; justify-content: space-between; margin-bottom: 8px; }
.ticket-id { font-weight: 700; color: #f24b3d; }
.ticket-status { font-size: 12px; padding: 2px 10px; border-radius: 12px; background: var(--btsn-light); color: #9a8270; }
.ticket-won .ticket-status { background: #e1f5ee; color: #1d9e75; }
.ticket-lost .ticket-status { background: #fdecec; color: #fda335; }
.ticket-draw { font-size: 13px; color: #9a8270; margin-bottom: 12px; }
.ticket-numbers { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.ticket-numbers .ball, .prev-result .ball, .ticket-card .ball {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--btsn-purple); color: #fff; font-weight: 600; font-size: 14px;
}
.ticket-bottom { font-size: 13px; }
.ticket-bottom .prize { color: #1d9e75; font-weight: 700; margin-left: 8px; }

/* ---------- winners ---------- */
.winners-section { padding: 60px 0; }
.prize-tier-table { width: 100%; border-collapse: collapse; margin-bottom: 30px; }
.prize-tier-table th { background: var(--btsn-purple); color: #fff; padding: 12px; text-align: left; font-size: 14px; }
.prize-tier-table th:first-child { border-radius: 8px 0 0 0; }
.prize-tier-table th:last-child { border-radius: 0 8px 0 0; }
.prize-tier-table td { padding: 12px; border-bottom: 1px solid #fef4ea; font-size: 14px; }
.prize-tier-table .tier { font-weight: 700; color: #f24b3d; }
.prize-tier-table .prize { color: var(--btsn-pink); font-weight: 600; }
.winners-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.winner-card { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid #fdeede; border-radius: 14px; padding: 16px; }
.winner-icon { width: 44px; height: 44px; border-radius: 50%; background: var(--btsn-yellow); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.winner-info .name { font-size: 15px; font-weight: 700; margin: 0; color: #333; }
.winner-info .tier { font-size: 12px; color: #9a8270; }
.winner-prize { margin-left: auto; text-align: right; }
.winner-prize .prize { display: block; color: #1d9e75; font-weight: 700; }
.winner-prize .date { font-size: 11px; color: #9a8270; }

/* ---------- draw-schedule ---------- */
.draw-schedule { padding: 60px 0; }
.next-draw-box { background: var(--btsn-purple); color: #fff; border-radius: 16px; padding: 36px; text-align: center; margin-bottom: 20px; }
.next-draw-box .label { opacity: .85; font-size: 14px; }
.next-draw-box .jackpot { font-size: 28px; font-weight: 700; margin: 10px 0; }
.next-draw-box .time-countdown { font-size: 22px; font-weight: 700; }
.next-draw-box .time-countdown span { background: rgba(255,255,255,.15); padding: 6px 10px; border-radius: 8px; margin: 0 2px; }
.next-draw-box .schedule-note { opacity: .85; font-size: 13px; margin-top: 14px; }
.prev-results-list { display: flex; flex-direction: column; gap: 10px; }
.prev-result { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; background: #fff; border: 1px solid #fdeede; border-radius: 12px; padding: 12px 18px; }
.prev-result .date { font-weight: 600; color: #f24b3d; min-width: 90px; }
.prev-result .numbers { display: flex; gap: 6px; }
.prev-result .jackpot { margin-left: auto; color: var(--btsn-pink); font-weight: 600; }

/* ---------- promo ---------- */
.promo-section { padding: 60px 0; }
.promo-card { background: #fff; border: 1px solid #fdeede; border-radius: 16px; padding: 28px; text-align: center; height: 100%; margin-bottom: 16px; }
.promo-card .icon { width: 60px; height: 60px; border-radius: 50%; background: var(--btsn-light); color: var(--btsn-purple); display: flex; align-items: center; justify-content: center; font-size: 24px; margin: 0 auto 16px; }
.promo-card .title { color: #f24b3d; margin-bottom: 8px; }
.promo-card .text { font-size: 14px; color: #9a8270; margin-bottom: 16px; }
.promo-code-form { background: var(--btsn-light); border-radius: 14px; padding: 24px; margin-top: 20px; }
.promo-code-form label { font-weight: 600; color: #f24b3d; display: block; margin-bottom: 8px; }
.promo-input { display: flex; gap: 8px; }
.promo-input input { flex: 1; border: 1px solid #fdeede; border-radius: 8px; padding: 10px 14px; }
.promo-input button { white-space: nowrap; padding: 10px 20px; }

/* ---------- ticket-scanner ---------- */
.ticket-scanner { padding: 60px 0; }
.scanner-box { background: #fff; border: 1px solid #fdeede; border-radius: 16px; padding: 36px; text-align: center; }
.scanner-icon { width: 70px; height: 70px; border-radius: 50%; background: var(--btsn-light); color: var(--btsn-purple); display: flex; align-items: center; justify-content: center; font-size: 30px; margin: 0 auto 18px; }
.scanner-box .title { color: #f24b3d; margin-bottom: 8px; }
.scanner-box .text { font-size: 14px; color: #9a8270; margin-bottom: 20px; }
.scanner-input { display: flex; gap: 8px; max-width: 480px; margin: 0 auto; }
.scanner-input input { flex: 1; border: 1px solid #fdeede; border-radius: 8px; padding: 12px 16px; }
.scanner-input button { white-space: nowrap; padding: 12px 22px; }
@media (max-width: 575px) { .scanner-input { flex-direction: column; } }

/* ============================================================
   Картуудыг анхны дизайнд тааруулах сайжруулалт
   - Тоонууд анхны загвар шиг gradient ball
   - Карт хэлбэрт сүүдэр, илүү тод харагдац
   ============================================================ */

/* Бүх дугуй тоог анхны загварын gradient ball болгох */
.ticket-numbers .ball,
.prev-result .ball,
.ticket-card .ball,
.js-lines-list .ball {
  background-image: linear-gradient(86deg, #f24b3d 0%, #fb8c1a 44%, #d4af37 100%) !important;
  background: linear-gradient(86deg, #f24b3d 0%, #fb8c1a 44%, #d4af37 100%);
  box-shadow: 0px 5px 7px 0px rgba(243, 42, 126, 0.23);
  color: #fff;
}

/* Картерүүдэд зөөлөн сүүдэр + hover нөлөө */
.ticket-card, .winner-card, .promo-card, .tx-card, .scanner-box, .prev-result {
  box-shadow: 0 4px 18px rgba(89, 73, 179, 0.06);
  transition: transform .2s ease, box-shadow .2s ease;
}
.ticket-card:hover, .winner-card:hover, .promo-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 26px rgba(89, 73, 179, 0.12);
}

/* Хожсон тасалбарт онцгой алтан тэмдэг */
.ticket-card.ticket-won { position: relative; overflow: hidden; }
.ticket-card.ticket-won::after {
  content: "\f091"; font-family: "Font Awesome 5 Free"; font-weight: 900;
  position: absolute; top: -8px; right: -8px; font-size: 60px;
  color: rgba(254, 160, 54, 0.12);
}

/* Ялагчийн карт — алтан хүрээ */
.winner-card { border-left: 4px solid var(--btsn-yellow); border-radius: 0 14px 14px 0; }

/* Шагналын шатлалын хүснэгтийг карт мэт болгох */
.prize-tier-table { box-shadow: 0 4px 18px rgba(89, 73, 179, 0.06); border-radius: 12px; overflow: hidden; }
.prize-tier-table tbody tr:hover { background: var(--btsn-light); }

/* Wallet карт — gradient дэвсгэр (анхны загварын profile-box өнгөтэй) */
.wallet-card {
  background-image: linear-gradient(135deg, #f24b3d 0%, #e8730f 100%);
}

/* Гүйлгээний түүхэнд төрлийн өнгөт цэг */
.tx-table tbody tr td:first-child { position: relative; padding-left: 22px; }
.tx-table tbody tr td:first-child::before {
  content: ""; position: absolute; left: 6px; top: 50%; transform: translateY(-50%);
  width: 8px; height: 8px; border-radius: 50%; background: #9a8270;
}
.tx-deposit td:first-child::before, .tx-prize td:first-child::before { background: #1d9e75; }
.tx-ticket td:first-child::before { background: var(--btsn-pink); }

/* my-tickets — тасалбарын дугуй цоорхой (perforation) дизайн */
.ticket-card {
  background-image: radial-gradient(circle at 0 50%, transparent 8px, #fff 9px),
                    radial-gradient(circle at 100% 50%, transparent 8px, #fff 9px);
  background-position: left center, right center;
  background-repeat: no-repeat;
  background-size: 51% 100%, 51% 100%;
}

/* Хэсгийн гарчигт доогуур шугам (анхны section-header загвар) */
.section-title { position: relative; padding-bottom: 12px; }
.section-title::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 50px; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, #fb8c1a, #d4af37);
}

/* ============================================================
   Зурагтай ялагчийн карт (winner-card-v2)
   ============================================================ */
.winner-card-v2 {
  background: #fff;
  border: 1px solid #fdeede;
  border-radius: 16px;
  padding: 22px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(89, 73, 179, 0.06);
  transition: transform .2s ease, box-shadow .2s ease;
}
.winner-card-v2:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(89, 73, 179, 0.14);
}
/* Дээд өнгөт зурвас (шатлалаар) */
.winner-card-v2::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px;
}
.winner-gold::before   { background: linear-gradient(90deg, #d4af37, #c89a2e); }
.winner-silver::before { background: linear-gradient(90deg, #bdc3c7, #8e9eab); }
.winner-bronze::before { background: linear-gradient(90deg, #cd7f32, #a05a2c); }
.winner-basic::before  { background: linear-gradient(90deg, #f24b3d, #d4af37); }

/* Дээд хэсэг: avatar + нэр + шатлал */
.winner-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.winner-avatar { position: relative; flex-shrink: 0; }
.winner-avatar img {
  width: 60px; height: 60px; border-radius: 50%;
  object-fit: cover; border: 3px solid #fef4ea;
}
.winner-badge {
  position: absolute; bottom: -2px; right: -2px;
  width: 24px; height: 24px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: #fff; border: 2px solid #fff;
}
.winner-gold   .winner-badge { background: #d4af37; }
.winner-silver .winner-badge { background: #8e9eab; }
.winner-bronze .winner-badge { background: #cd7f32; }
.winner-basic  .winner-badge { background: #f24b3d; }

.winner-meta { flex: 1; min-width: 0; }
.winner-meta .name { font-size: 16px; font-weight: 700; color: #333; margin: 0 0 2px; }
.winner-meta .city { font-size: 12px; color: #9a8270; }
.winner-meta .city i { color: #d4af37; margin-right: 2px; }

.tier-badge {
  font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 20px;
  white-space: nowrap; align-self: flex-start;
}
.tier-badge.tier-gold   { background: #fdf0d5; color: #b8860b; }
.tier-badge.tier-silver { background: #eef1f4; color: #6b7785; }
.tier-badge.tier-bronze { background: #f5e6d8; color: #a05a2c; }
.tier-badge.tier-basic  { background: #fdeede; color: #f24b3d; }

/* Хожсон тоонууд */
.winner-numbers { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.winner-numbers .ball {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(86deg, #f24b3d 0%, #fb8c1a 44%, #d4af37 100%);
  color: #fff; font-weight: 600; font-size: 14px;
  box-shadow: 0px 4px 6px rgba(243, 42, 126, 0.2);
}

/* Доод хэсэг: шагнал + огноо */
.winner-foot {
  display: flex; justify-content: space-between; align-items: flex-end;
  border-top: 1px solid #fef4ea; padding-top: 14px;
}
.winner-foot .prize-amount { display: flex; flex-direction: column; }
.winner-foot .prize-amount .label { font-size: 11px; color: #9a8270; }
.winner-foot .prize-amount .value { font-size: 19px; font-weight: 700; color: #1d9e75; }
.winner-foot .win-date { font-size: 12px; color: #9a8270; }

/* ============================================================
   Нэвтэрсэн хэрэглэгчийн цэс (dropdown)
   Үлдэгдэл нь header-т биш — wallet/тоглох хуудсан дээрээ.
   ============================================================ */
/* Хэрэглэгчийн цэс (dropdown) */
.user-menu { position: relative; margin-left: 14px; }
.user-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none; color: #f24b3d; font-weight: 600;
  padding: 6px 4px;
}
.user-toggle .fa-user-circle { font-size: 22px; }
.user-toggle .fa-chevron-down { font-size: 11px; opacity: .6; }
.user-toggle .uname { font-size: 14px; }
.user-dropdown {
  position: absolute; top: 100%; right: 0; min-width: 200px;
  background: #fff; border: 1px solid #fdeede; border-radius: 12px;
  box-shadow: 0 10px 30px rgba(89,73,179,0.14);
  list-style: none; padding: 8px; margin: 8px 0 0;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: all .2s ease; z-index: 100;
}
.user-menu:hover .user-dropdown,
.user-menu.open .user-dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.user-dropdown li a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 8px;
  color: #444; font-size: 14px; text-decoration: none;
  transition: background .15s ease;
}
.user-dropdown li a:hover { background: #fef8f0; color: #f24b3d; }
.user-dropdown li a i { width: 16px; color: #f24b3d; }

/* Хэл сонголт */
.header-top-area .top-tools {
  display: flex;
  align-items: center;
  margin-left: 14px;
}
.header-top-area .top-tools .select-bar,
.header-top-area .top-tools .nice-select {
  min-width: 70px;
  background: #fef8f0;
  border: 1px solid #fdeede;
  border-radius: 6px;
  color: #f24b3d;
  font-weight: 600;
  height: 38px;
  line-height: 36px;
}
.header-top-area .top-tools .nice-select .list { color: #333; }
.header-top-area .top-tools .nice-select::after { border-color: #f24b3d; }
.header-top-area .top-tools .nice-select .option:hover,
.header-top-area .top-tools .nice-select .option.selected { color: #f24b3d; }

@media (max-width: 991px) {
  .wallet-pill { margin-left: 8px; padding: 5px 5px 5px 10px; }
  .wallet-pill .bal { font-size: 13px; }
  .user-menu { margin-left: 8px; }
  .user-toggle .uname { display: none; }
  .header-top-area .top-tools { margin-left: 8px; }
  .header-top-area .top-tools .select-bar,
  .header-top-area .top-tools .nice-select { min-width: 58px; }
}

/* ============================================================
   Footer цэснүүдийг нэг мөрөнд багтааж, жижигрүүлэх
   ============================================================ */
.footer-section .footer-links .footer-top-area .right ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
}
.footer-section .footer-links .footer-top-area .right ul li {
  margin-right: 0 !important;
  white-space: nowrap;
  display: flex;
  align-items: center;
}
/* Линк хооронд цэвэрхэн босоо зураас (сүүлийнхээс бусад) */
.footer-section .footer-links .footer-top-area .right ul li:not(:last-child)::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 13px;
  background: rgba(255,255,255,0.35);
  margin: 0 16px;
  position: static;
  transform: none;
}
.footer-section .footer-links .footer-top-area .right ul li a {
  font-size: 13px;
}
/* App badge зургуудыг ч жижигрүүлэх */
.footer-section .footer-links .footer-top-area .left a img {
  height: 38px;
  width: auto;
}
/* Жижиг дэлгэцэнд footer top-area-г босоо болгож, цэс нь зүүн талд */
@media (max-width: 767px) {
  .footer-section .footer-links .footer-top-area { flex-direction: column; gap: 14px; }
  .footer-section .footer-links .footer-top-area .right ul { justify-content: flex-start; }
}

/* ============================================================
   Тасалбар авах — төлбөрийн баталгаажуулах цонх (checkout-modal)
   ============================================================ */
.checkout-modal {
  position: fixed; inset: 0; z-index: 9999;
  display: none; align-items: center; justify-content: center;
  padding: 20px;
}
.checkout-modal.open { display: flex; }
.checkout-overlay {
  position: absolute; inset: 0;
  background: rgba(40, 20, 70, 0.55);
  backdrop-filter: blur(2px);
}
.checkout-dialog {
  position: relative;
  background: #fff; border-radius: 18px;
  width: 100%; max-width: 460px;
  max-height: 90vh; overflow-y: auto;
  box-shadow: 0 20px 60px rgba(40, 20, 70, 0.4);
  animation: checkoutIn .25s ease;
}
@keyframes checkoutIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.checkout-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px; border-bottom: 1px solid #fef4ea;
}
.checkout-head h4 { margin: 0; font-size: 18px; color: #f24b3d; font-weight: 700; }
.checkout-head h4 i { color: #d4af37; margin-right: 6px; }
.checkout-x {
  background: none; border: none; font-size: 28px; line-height: 1;
  color: #b4b2c8; cursor: pointer;
}
.checkout-x:hover { color: #d4af37; }

.checkout-body { padding: 20px 24px; }

/* Сонгосон мөрүүд */
.checkout-lines { margin-bottom: 18px; }
.checkout-line {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  padding: 8px 12px; background: #fef8f0; border-radius: 10px; margin-bottom: 8px;
}
.checkout-line .line-no { font-size: 12px; color: #9a8270; font-weight: 600; margin-right: 4px; }
.checkout-line .ball {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(86deg, #f24b3d 0%, #fb8c1a 44%, #d4af37 100%);
  color: #fff; font-weight: 600; font-size: 13px;
}

/* Тооцоо */
.checkout-calc { border-top: 1px solid #fef4ea; padding-top: 14px; margin-bottom: 18px; }
.calc-row { display: flex; justify-content: space-between; padding: 5px 0; font-size: 14px; color: #9a8270; }
.calc-row.total { border-top: 1px dashed #fdeede; margin-top: 6px; padding-top: 12px; }
.calc-row.total span:first-child { color: #333; font-weight: 600; font-size: 15px; }
.calc-row.total span:last-child { color: #d4af37; font-weight: 700; font-size: 22px; }

/* Төлбөрийн хэрэгсэл */
.checkout-methods h5 { font-size: 14px; color: #f24b3d; margin-bottom: 10px; }
.method-list { display: flex; flex-direction: column; gap: 8px; }
.method-item {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px; border: 1px solid #fdeede; border-radius: 10px;
  cursor: pointer; transition: all .15s ease; margin: 0;
}
.method-item:hover { border-color: #f24b3d; }
.method-item input { accent-color: #f24b3d; width: 16px; height: 16px; }
.method-item input:checked + span { color: #f24b3d; font-weight: 600; }

.checkout-foot {
  display: flex; gap: 10px; padding: 16px 24px;
  border-top: 1px solid #fef4ea;
}
.checkout-foot button { flex: 1; padding: 12px; }
.checkout-foot .js-checkout-confirm i { margin-right: 4px; }

@media (max-width: 575px) {
  .checkout-dialog { max-width: 100%; }
}

/* ============================================================
   Тоо шалгах / тасалбар шалгах үр дүнгийн карт (check-result)
   ============================================================ */
.check-result { margin-top: 24px; }
.rc-card {
  max-width: 480px; margin: 0 auto;
  background: #fff; border-radius: 16px; padding: 28px;
  text-align: center; box-shadow: 0 6px 24px rgba(89,73,179,0.1);
  border-top: 5px solid #9a8270;
  animation: checkoutIn .3s ease;
}
.rc-card.rc-win  { border-top-color: #1d9e75; }
.rc-card.rc-lose { border-top-color: #fda335; }
.rc-icon { font-size: 40px; margin-bottom: 12px; }
.rc-win .rc-icon  { color: #d4af37; }
.rc-lose .rc-icon { color: #fda335; }
.rc-balls { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.rc-ball {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: #fef2e6; color: #9a8270; font-weight: 700; font-size: 16px;
  border: 2px solid transparent;
}
.rc-ball.hit {
  background: linear-gradient(86deg, #f24b3d 0%, #fb8c1a 44%, #d4af37 100%);
  color: #fff; border-color: #fff;
  box-shadow: 0 4px 10px rgba(243,42,126,0.3);
  transform: scale(1.08);
}
.rc-info { display: flex; justify-content: center; gap: 16px; align-items: center; margin-bottom: 10px; }
.rc-count { font-size: 15px; color: #f24b3d; font-weight: 600; }
.rc-prize { font-size: 18px; color: #1d9e75; font-weight: 700; }
.rc-msg { color: #9a8270; font-size: 14px; margin-bottom: 16px; }
.rc-card .js-claim-prize { padding: 12px 28px; }
.rc-claimed { color: #1d9e75; font-weight: 600; font-size: 15px; }
.rc-claimed i { margin-right: 6px; }

/* ============================================================
   Ялагчид — хожлын тоонуудын мөр + hit/miss ялгаа
   ============================================================ */
/* Тухайн сугалааны хожлын тоонуудын мөр */
.winning-numbers-bar {
  display: flex; gap: 10px; flex-wrap: wrap;
  background: #fff; border: 1px solid #fdeede; border-radius: 14px;
  padding: 18px 22px; margin-bottom: 10px;
  box-shadow: 0 4px 18px rgba(89,73,179,0.06);
}
.winning-numbers-bar .wn-ball {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(86deg, #f24b3d 0%, #fb8c1a 44%, #d4af37 100%);
  color: #fff; font-weight: 700; font-size: 18px;
  box-shadow: 0 4px 10px rgba(243,42,126,0.3);
}

/* Ялагчийн картан дахь тоонууд: hit = тод, miss = бүдэг */
.winner-numbers .ball.hit {
  background: linear-gradient(86deg, #f24b3d 0%, #fb8c1a 44%, #d4af37 100%);
  color: #fff;
  box-shadow: 0 4px 10px rgba(243,42,126,0.35);
  transform: scale(1.1);
  border: 2px solid #fff;
  position: relative; z-index: 1;
}
.winner-numbers .ball.miss {
  background: #fef2e6 !important;
  background-image: none !important;
  color: #b4b2c8;
  box-shadow: none;
  opacity: .8;
}
/* Картны тоонуудын хооронд жаахан зай */
.winner-numbers { gap: 7px; }

@media (max-width: 575px) {
  .winning-numbers-bar .wn-ball { width: 40px; height: 40px; font-size: 16px; }
}

/* ============================================================
   Стандарт blog grid — цагаан карт, зураг дээр, текст доор
   ============================================================ */
.blog-grid { padding: 70px 0; }
.blog-card {
  background: #fff;
  border: 1px solid #fdeede;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 30px;
  height: calc(100% - 30px);
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(89,73,179,0.12);
}
.blog-card-img {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
.blog-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.blog-card:hover .blog-card-img img { transform: scale(1.06); }

.blog-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-card-meta {
  list-style: none; padding: 0; margin: 0 0 12px;
  display: flex; gap: 16px; flex-wrap: wrap;
}
.blog-card-meta li { font-size: 13px; color: #9a8270; }
.blog-card-meta li i { color: #d4af37; margin-right: 4px; }

.blog-card-title {
  font-size: 18px; line-height: 1.4; font-weight: 700;
  margin: 0 0 10px;
}
.blog-card-title a {
  color: #0a2748; text-decoration: none;
  transition: color .15s ease;
}
.blog-card-title a:hover { color: #f24b3d; }

.blog-card-text {
  font-size: 14px; color: #9a8270; line-height: 1.6;
  margin: 0 0 16px;
  flex: 1;
}
.blog-card-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: #d4af37; font-weight: 600; font-size: 14px;
  text-decoration: none;
  align-self: flex-start;
  transition: gap .2s ease;
}
.blog-card-link:hover { gap: 10px; color: #f24b3d; }

@media (max-width: 575px) {
  .blog-grid { padding: 40px 0; }
}

/* ============================================================
   Үндэсний сугалаа — лого + цэнхэр-алтан тохиргоо
   ============================================================ */
/* Header лого (дугуй) хэмжээ тааруулах */
.top-header .logo img {
  height: 64px;
  width: auto;
}
@media (max-width: 991px) {
  .top-header .logo img { height: 52px; }
}

/* Banner товч ба гол accent-уудыг алтан болгох сайжруулалт */
.banner-section .custom-button2,
.custom-button2 {
  /* анхны өнгө CSS-ээс ирнэ, энд зөвхөн алтан hover */
}

/* section-title доорх зураас цэнхэр-алтан */
.section-title::after {
  background: linear-gradient(90deg, #fb8c1a, #d4af37) !important;
}

/* ============================================================
   Лого + сайтын нэр хослол (glossy эффекттэй)
   ============================================================ */
.logo-with-text {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
/* Лого-г glossy дугуй болгох wrapper */
.logo-with-text .logo-glossy {
  position: relative;
  width: 80px; height: 80px;
  flex-shrink: 0;
  border-radius: 50%;
  /* гадна цайвар хүрээ + сүүдэр (icon шиг) */
  box-shadow:
    0 0 0 2px rgba(255,255,255,0.9),
    0 4px 14px rgba(10,42,94,0.35),
    inset 0 2px 6px rgba(255,255,255,0.4);
  background: radial-gradient(circle at 50% 30%, #1a4a8e 0%, #0a2a5e 70%);
  overflow: hidden;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s ease;
}
.logo-with-text .logo-glossy img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
/* Дээд талын гялгар гэрэлтэлт (glossy highlight) */
.logo-with-text .logo-glossy::after {
  content: "";
  position: absolute;
  top: 4%; left: 12%; right: 12%;
  height: 42%;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.45) 0%, rgba(255,255,255,0) 100%);
  pointer-events: none;
}
.logo-with-text:hover .logo-glossy {
  transform: translateY(-4px) scale(1.25);
  box-shadow:
    0 0 0 2px rgba(255,255,255,1),
    0 12px 30px rgba(10,42,94,0.5),
    inset 0 2px 6px rgba(255,255,255,0.5);
}
.logo-with-text .site-name {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.1;
  color: #f24b3d;
  letter-spacing: -0.5px;
  white-space: nowrap;
}
@media (max-width: 991px) {
  .logo-with-text .logo-glossy { width: 64px; height: 64px; }
  .logo-with-text .site-name { font-size: 19px; }
}
@media (max-width: 575px) {
  .logo-with-text .logo-glossy { width: 54px; height: 54px; }
  .logo-with-text .site-name { font-size: 16px; }
}

/* ============================================================
   Banner — цэвэрхэн цэнхэр-алтан gradient (зураггүй)
   ============================================================ */
.banner-section {
  background: linear-gradient(135deg, #f24b3d 0%, #f24b3d 45%, #fb8c1a 100%) !important;
  position: relative;
  overflow: hidden;
}
/* Дээд талд алтан гэрэлтэлт чимэглэл */
.banner-section::before {
  content: "";
  position: absolute;
  top: -120px; right: -80px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(212,175,55,0.35) 0%, rgba(212,175,55,0) 70%);
  border-radius: 50%;
  pointer-events: none;
}
/* Доод талд алтан долгио чимэглэл */
.banner-section::after {
  content: "";
  position: absolute;
  bottom: -60px; left: -60px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(212,175,55,0.18) 0%, rgba(212,175,55,0) 70%);
  border-radius: 50%;
  pointer-events: none;
}
/* Контент чимэглэлийн дээр */
.banner-section .container { position: relative; z-index: 2; }
/* subtitle-д алтан өнгө */
.banner-section .banner-subtitle { color: #f0c850; }

/* ============================================================
   lottery-result section — улаан дэвсгэр дээр цагаан/алтан текст
   ============================================================ */
/* Дэвсгэр зураг дээр бараан overlay (текст уншигдахуйц) */
.lottery-result { position: relative; }
.lottery-result::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(232,115,15,0.5) 0%, rgba(242,75,61,0.2) 100%);
  z-index: 1;
  pointer-events: none;
}
.lottery-result .container { position: relative; z-index: 2; }
.lottery-result .section-header .title {
  color: #fff !important;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.lottery-result .section-header .text {
  color: rgba(255,255,255,0.95) !important;
  text-shadow: 0 1px 6px rgba(0,0,0,0.3);
}

/* ============================================================
   Promo карусель — нэг мөрөнд гүйдэг, ‹ › сумтай
   ============================================================ */
.promo-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px;
}
.promo-head .section-title { margin: 0; }

.promo-nav { display: flex; gap: 10px; }
.promo-arrow {
  width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid #f24b3d;
  background: #fff; color: #f24b3d;
  font-size: 26px; line-height: 1; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all .2s ease;
}
.promo-arrow:hover {
  background: linear-gradient(135deg, #f24b3d, #fb8c1a);
  color: #fff; border-color: transparent;
  transform: scale(1.08);
  box-shadow: 0 6px 16px rgba(242,75,61,0.3);
}
.promo-arrow:disabled { opacity: .35; cursor: default; transform: none; box-shadow: none; }
.promo-arrow:disabled:hover { background: #fff; color: #f24b3d; border-color: #f24b3d; }

/* Карусель цонх */
.promo-carousel {
  overflow: hidden;
  margin-bottom: 30px;
}
.promo-track {
  display: flex;
  gap: 20px;
  transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.promo-slide {
  flex: 0 0 calc((100% - 40px) / 3);  /* desktop: 3 ширхэг */
  min-width: 0;
}
@media (max-width: 991px) {
  .promo-slide { flex: 0 0 calc((100% - 20px) / 2); }  /* tablet: 2 */
}
@media (max-width: 575px) {
  .promo-slide { flex: 0 0 100%; }  /* mobile: 1 */
}
.promo-slide .promo-card { margin-bottom: 0; height: 100%; }

/* ============================================================
   Footer лого (app badge-ийн оронд)
   ============================================================ */
.footer-section .footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.footer-section .footer-logo img {
  height: 56px;
  width: auto;
}
.footer-section .footer-logo span {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}

/* ============================================================
   Footer social icon — hover дээр томрох + дээш хөдлөх
   ============================================================ */
.footer-section .copyright-wrapper .footer-social-links li a {
  transition: transform .25s cubic-bezier(.34,1.56,.64,1), background .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.footer-section .copyright-wrapper .footer-social-links li a:hover {
  background: linear-gradient(135deg, #f24b3d, #fb8c1a) !important;
  border-color: transparent;
  transform: translateY(-4px) scale(1.18);
  box-shadow: 0 8px 18px rgba(242,75,61,0.4);
}

/* X (Twitter) лого — текст тэмдэгтээр (FA5-д X icon байхгүй) */
.footer-social-links .x-logo {
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  font-family: Arial, sans-serif;
}

/* ============================================================
   ХОЁР БҮСИЙН ӨНГӨНИЙ ЯЛГАА
   🔴 УЛААН = ялагчид/үр дүн/CTA (эрч хүч, WIN)
   🟠 УЛБАР-АЛТАН = тоглох/тоо сонгох (тоглоом, LOTTO)
   ============================================================ */

/* --- 🟠 ТОГЛОХ БҮС: тоо сонгох ball-ууд улбар-алтан --- */
.single-pick .body-area ul li span.selected,
.play-num.selected {
  background: linear-gradient(135deg, #fb8c1a 0%, #f4a72e 50%, #ffd24a 100%) !important;
  color: #fff !important;
  border-color: transparent !important;
  box-shadow: 0 4px 12px rgba(251,140,26,0.45) !important;
}
/* Тоглох самбарын гарчиг улбар */
.single-pick .top-area .title,
.play-slip-status .js-pick-count {
  color: #e8730f !important;
}
/* Сагсны "Тасалбар авах" товч улбар-алтан (тоглоомын CTA) */
.cart-summary .js-cart-buy {
  background: linear-gradient(135deg, #fb8c1a, #f4a72e) !important;
  border-color: transparent !important;
}

/* --- 🔴 ЯЛАГЧИД БҮС: ball-ууд тод улаан --- */
.winner-numbers .ball.hit,
.winning-numbers-bar .wn-ball,
.rc-ball.hit {
  background: linear-gradient(135deg, #f24b3d 0%, #d62828 100%) !important;
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(242,75,61,0.4) !important;
}
/* Ялагчийн картын дээд badge улаан */
.winner-card-v2 .winner-badge {
  background: linear-gradient(135deg, #f24b3d, #d62828) !important;
}

/* --- Урамшуулал (event) бүс: улбар-алтан --- */
.promo-card .icon {
  background: linear-gradient(135deg, #fb8c1a, #f4a72e) !important;
}
.promo-arrow:hover {
  background: linear-gradient(135deg, #fb8c1a, #f4a72e) !important;
}

/* ================================================================
   ТӨЛБӨР ХИЙХ — 3 таб (QR / Банкны апп / Карт)
   ================================================================ */
.pay-summary {
  display: flex; gap: 10px; flex-wrap: wrap; align-items: stretch;
  background: #f4f5fb; border: 1px solid #e6e8f4; border-radius: 12px;
  padding: 12px 14px; margin-bottom: 14px;
}
.pay-summary > div { flex: 1; min-width: 90px; display: flex; flex-direction: column; gap: 2px; }
.pay-summary span { font-size: 12px; color: #6b7088; }
.pay-summary strong { font-size: 15px; color: #1b2150; }
.pay-summary-total strong { color: #01007f; }

.pay-tabs { display: flex; gap: 8px; margin-bottom: 16px; }
.pay-tab {
  flex: 1; cursor: pointer; border: 1.5px solid #e4e8f7; background: #fff;
  border-radius: 10px; padding: 11px 6px; font-size: 13.5px; font-weight: 700; color: #5a6486;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; transition: all .15s ease;
}
.pay-tab i { font-size: 15px; }
.pay-tab:hover { border-color: #01007f; color: #01007f; }
.pay-tab.active { background: #01007f; border-color: #01007f; color: #fff; }

.pay-panel { animation: payfade .18s ease; }
@keyframes payfade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.pay-panel .custom-button2 { width: 100%; margin-top: 16px; }
.pay-h { font-size: 14px; font-weight: 700; color: #1b2150; margin: 0 0 10px; }

/* QR таб */
.pay-qr-wrap { display: flex; justify-content: center; padding: 8px 0 14px; }
.pay-qr-wrap > div { padding: 12px; background: #fff; border: 1px solid #e6e8f4; border-radius: 14px; }
.pay-qr-meta {
  max-width: 280px; margin: 0 auto; border: 1px solid #e6e8f4; border-radius: 10px; overflow: hidden;
}
.pay-qr-meta .calc-row {
  display: flex; justify-content: space-between; padding: 9px 14px; font-size: 14px;
}
.pay-qr-meta .calc-row:first-child { border-bottom: 1px solid #eef0f7; }
.pay-qr-meta .calc-row span:last-child { font-weight: 700; color: #01007f; }
.pay-warn {
  text-align: center; margin: 14px 0 0; padding: 9px 12px; border-radius: 9px;
  background: #fff7e6; color: #9a6a00; font-size: 13px; font-weight: 600;
}

/* Картын форм */
.pay-form { display: flex; flex-direction: column; gap: 4px; }
.pay-form label { font-size: 13px; font-weight: 700; color: #5a6486; margin: 8px 0 3px; }
.pay-input {
  width: 100%; height: 46px; border: 1.5px solid #e4e8f7; border-radius: 10px;
  padding: 0 14px; font-size: 15px; color: #1b2150; background: #fff; outline: none;
}
.pay-input:focus { border-color: #01007f; box-shadow: 0 0 0 3px rgba(1,0,127,.10); }
.pay-form-row { display: flex; gap: 10px; }
.pay-form-col { flex: 1; display: flex; flex-direction: column; }
.pay-ssl {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  margin: 14px 0 0; padding: 9px 12px; border-radius: 9px;
  background: #e9f7ef; color: #0a7d3e; font-size: 12.5px; font-weight: 600;
}

/* Төлбөрийн footer — Болих + үйлдлийн товч нэг мөронд */
.checkout-foot.pay-foot { display: flex; gap: 10px; align-items: center; }
.checkout-foot.pay-foot .custom-button1 { flex: 0 0 auto; }
.checkout-foot.pay-foot .custom-button2 { flex: 1 1 auto; display: inline-flex; align-items: center; justify-content: center; gap: 7px; margin: 0; }

/* Таб солиход өндөр үсрэхгүй — панелийн тогтвортой өндөр */
.pay-panel { min-height: 300px; }
/* Болих / үйлдлийн товч — тэнцүү өндөр, 1:2 харьцаа, үзэмжтэй */
.checkout-foot.pay-foot { gap: 12px; }
.checkout-foot.pay-foot .custom-button1 { flex: 1 1 0 !important; }
.checkout-foot.pay-foot .custom-button2 { flex: 2 1 0 !important; }
.checkout-foot.pay-foot .custom-button1,
.checkout-foot.pay-foot .custom-button2 {
  height: 50px; padding: 0 18px; border-radius: 999px; margin: 0;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 15px; font-weight: 700;
}

/* ================================================================
   Төлбөрийн модал — үндсэн сайтын өнгө/загварт нийцүүлэх
   (navy #1432C8, гарчиг улаан #f24b3d, cream дэвсгэр) + footer зай
   ================================================================ */
.pay-summary { background: #fef8f0; border-color: #f0e6d6; }
.pay-summary span { color: #9a8f7d; }
.pay-summary strong { color: #1432C8; }
.pay-summary-total strong { color: #f24b3d; }

.pay-tab { border-color: #ebebf3; color: #7a8099; }
.pay-tab:hover { border-color: #1432C8; color: #1432C8; }
.pay-tab.active { background: #1432C8; border-color: #1432C8; color: #fff; }

.pay-h { color: #f24b3d; }
.pay-qr-wrap > div { border-color: #f0e6d6; }
.pay-qr-meta { border-color: #f0e6d6; }
.pay-qr-meta .calc-row:first-child { border-bottom-color: #f6eede; }
.pay-qr-meta .calc-row span:last-child { color: #1432C8; }

.pay-input { border-color: #ebebf3; }
.pay-input:focus { border-color: #1432C8; box-shadow: 0 0 0 3px rgba(25,34,168,.12); }
.pay-form label { color: #6b6456; }

.bankapp:hover { border-color: #1432C8; }
.bankapp.active { border-color: #1432C8; box-shadow: 0 0 0 2px rgba(25,34,168,.14); }

/* footer: доод зайг багасгаж, товчны өндрийг жигдлэх */
.checkout-foot.pay-foot { padding: 14px 24px; border-top-color: #f6eede; }
.checkout-foot.pay-foot .custom-button1,
.checkout-foot.pay-foot .custom-button2 { height: 46px; }

/* Таб бүрийн агуулгаас доод товч хүртэлх зайг ЖИГД болгох:
   тогтмол min-height-ийн үлдэгдэл зайг арилгана (агуулгадаа таарч өснө). */
.pay-panel { min-height: 0 !important; }
.pay-panel .pay-warn:last-child,
.pay-panel .pay-ssl:last-child,
.pay-panel .bankpay-manual:last-child { margin-bottom: 0; }

/* Төлбөрийн модал толгой — гарчиг нэг мөронд, хаах × тод болгох */
.checkout-head h4 { white-space: nowrap; }
.checkout-x {
  width: 34px; height: 34px; flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; background: #f1f2f8; color: #5a6486; font-size: 22px;
  transition: background .15s ease, color .15s ease;
}
.checkout-x:hover { background: #f24b3d; color: #fff; }
