:root {
  --ue-primary: var(--brand-primary, #223e7b);
  --ue-primary-dark: var(--brand-primary-dark, #1a3163);
  --ue-primary-mid: var(--brand-primary-mid, #2c4f96);
  --ue-primary-soft: var(--brand-soft, #eef2f9);
  --ue-btn: var(--brand-accent, #c6373c);
  --ue-btn-dark: var(--brand-accent-dark, #a72e32);
  --ue-gold: var(--brand-accent, #c6373c);
  --ue-gold-2: var(--brand-accent-light, #e25b60);
  --ue-cream: var(--brand-page, #f4f6fb);
  --ue-paper: #ffffff;
  --ue-ink: var(--brand-ink, #1a2744);
  --ue-muted: var(--brand-muted, #5c6780);
  --ue-line: rgba(var(--brand-primary-rgb, 34, 62, 123), 0.1);
  --ue-shadow: 0 18px 50px rgba(var(--brand-primary-rgb, 34, 62, 123), 0.1);
  --ue-radius: 22px;
  --ue-font: "Manrope", "DM Sans", sans-serif;
  --ue-serif: "Manrope", "DM Sans", sans-serif;
  --conult-base: var(--brand-primary, #223e7b);
  --conult-base-rgb: 34, 62, 123;
  --conult-black: var(--brand-primary, #223e7b);
}

html {
  scroll-behavior: smooth;
}

.ue-body {
  font-family: var(--ue-font);
  color: var(--ue-muted);
  font-size: 16px;
  line-height: 1.7;
  background: var(--ue-paper);
  scroll-padding-top: 96px;
}

.ue-body h1,
.ue-body h2,
.ue-body h3,
.ue-body h4 {
  font-family: var(--ue-font);
  font-weight: 800;
  color: var(--ue-ink);
  letter-spacing: -0.04em;
}

.ue-body .page-wrapper {
  overflow: hidden;
}

.ue-body .stricky-header {
  display: none !important;
}

.ue-body .preloader {
  background: #fff;
}

.ue-body .preloader__image {
  width: 240px;
  height: auto;
  background: #fff;
  padding: 14px 18px;
  border-radius: 16px;
}

.ue-body .scroll-to-top {
  background: var(--ue-primary);
  right: 24px;
  bottom: 24px;
  border-radius: 14px;
}

.ue-wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.ue-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ue-gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.ue-kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.ue-title {
  font-size: clamp(2.1rem, 4vw, 3.5rem);
  line-height: 1.12;
  margin: 12px 0 16px;
}

.ue-lead {
  font-size: 1.05rem;
  max-width: 560px;
}

.ue-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--ue-btn);
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: 0.25s ease;
  box-shadow: 0 10px 24px rgba(var(--brand-accent-rgb, 198, 55, 60), 0.22);
}

.ue-btn:hover {
  transform: translateY(-2px);
  background: var(--ue-btn-dark);
  color: #fff !important;
}

.ue-btn:disabled,
.ue-btn.is-disabled {
  pointer-events: none;
  opacity: 0.6;
  transform: none;
  box-shadow: none;
  cursor: not-allowed;
}

.ue-btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff !important;
}

.ue-btn--ghost:hover {
  background: #fff;
  color: var(--ue-primary) !important;
}

.ue-btn--line {
  background: transparent;
  border-color: var(--ue-primary);
  color: var(--ue-primary) !important;
}

.ue-btn--line:hover {
  background: var(--ue-primary);
  color: #fff !important;
}

.ue-btn--sm {
  min-height: 40px;
  padding: 0 16px;
  font-size: 12px;
}

/* Header */
.ue-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(var(--brand-primary-rgb, 34, 62, 123), 0.08);
  box-shadow: 0 8px 28px rgba(var(--brand-primary-rgb, 34, 62, 123), 0.06);
}

.ue-header__top {
  display: none;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 8px 0;
  color: var(--ue-muted);
  font-size: 13px;
  border-bottom: 1px solid rgba(var(--brand-primary-rgb, 34, 62, 123), 0.08);
}

.ue-header__top a {
  color: var(--ue-primary);
}

.ue-header__top a:hover {
  color: var(--ue-btn);
}

.ue-header__top-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ue-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 78px;
}

.ue-logo img {
  height: 52px;
  width: auto;
  max-width: 260px;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}

.ue-nav {
  display: none;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ue-body .mobile-nav__content .main-menu__list,
.ue-body .mobile-nav__content .ue-nav {
  display: flex !important;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}

.ue-nav > li > a {
  display: block;
  padding: 10px 8px;
  color: var(--ue-primary) !important;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.ue-nav > li > a:hover,
.ue-nav > li.current > a {
  color: var(--ue-btn) !important;
}

.ue-header__cta {
  display: none;
  background: var(--ue-btn) !important;
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(var(--brand-accent-rgb, 198, 55, 60), 0.22);
}

.ue-header__cta:hover {
  background: var(--ue-btn-dark) !important;
  color: #fff !important;
}

.ue-burger {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(var(--brand-primary-rgb, 34, 62, 123), 0.14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ue-primary);
  font-size: 18px;
}

@media (min-width: 1240px) {
  .ue-header__top {
    display: flex;
  }

  .ue-nav,
  .ue-header__cta {
    display: flex;
  }

  .ue-nav > li > a {
    padding: 10px 7px;
    font-size: 13px;
  }

  .ue-burger {
    display: none;
  }
}

.ue-body .mobile-nav__wrapper {
  z-index: 1100;
}

.ue-body .mobile-nav__content {
  background: var(--ue-primary);
}

.ue-body .mobile-nav__close {
  color: #fff;
  z-index: 2;
}

.ue-body .mobile-nav__content .logo-box img {
  height: 42px;
  width: auto;
  max-width: 200px;
  background: #fff;
  border-radius: 10px;
  padding: 6px 8px;
}

.ue-body .mobile-nav__container .main-menu__list li a,
.ue-body .mobile-nav__content .main-menu__list li a,
.ue-body .mobile-nav__container .ue-nav > li > a,
.ue-body .mobile-nav__content .ue-nav > li > a {
  color: #fff !important;
  padding: 12px 0;
  font-size: 16px;
  font-weight: 700;
  white-space: normal;
}

.ue-body .mobile-nav__container .main-menu__list li a:hover,
.ue-body .mobile-nav__content .main-menu__list li a:hover,
.ue-body .mobile-nav__container .ue-nav > li > a:hover,
.ue-body .mobile-nav__content .ue-nav > li > a:hover {
  color: var(--ue-gold) !important;
}

.ue-body .mobile-nav__contact a {
  color: var(--ue-gold);
}

/* Hero */
.ue-hero {
  position: relative;
  min-height: 100vh;
  padding: 140px 0 80px;
  color: #fff;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(var(--brand-primary-rgb, 34, 62, 123), 0.82) 0%, rgba(var(--brand-primary-dark-rgb, 26, 49, 99), 0.55) 48%, rgba(var(--brand-accent-rgb, 198, 55, 60), 0.28) 100%),
    url("https://images.unsplash.com/photo-1564769625905-50e93615e769?auto=format&fit=crop&w=2000&q=80") center/cover no-repeat;
}

.ue-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 140px;
  background: linear-gradient(180deg, transparent, var(--ue-paper));
  pointer-events: none;
}

.ue-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 36px;
}

.ue-hero h1 {
  color: #fff;
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  line-height: 0.95;
  margin: 14px 0 18px;
}

.ue-hero h1 em {
  font-style: normal;
  font-weight: 800;
  color: #ffd4d6;
}

.ue-hero .ue-kicker,
.ue-auth__brand .ue-kicker,
.ue-cta .ue-kicker,
.ue-section--green .ue-kicker {
  color: #fff;
}

.ue-hero p {
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.08rem;
  max-width: 540px;
}

.ue-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.ue-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 40px;
}

.ue-hero__meta b {
  display: block;
  color: #fff;
  font-family: var(--ue-font);
  font-weight: 800;
  font-size: 1.8rem;
  line-height: 1;
}

.ue-hero__meta span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

.ue-card {
  background: rgba(255, 255, 255, 0.96);
  color: var(--ue-ink);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--ue-shadow);
}

.ue-card h3 {
  font-size: 1.8rem;
  margin-bottom: 6px;
}

.ue-card p {
  color: var(--ue-muted) !important;
  font-size: 14px !important;
  margin-bottom: 18px;
}

.ue-form {
  display: grid;
  gap: 12px;
}

.ue-form label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ue-primary);
  margin-bottom: 6px;
}

.ue-form input,
.ue-form select,
.ue-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--ue-line);
  border-radius: 14px;
  padding: 10px 14px;
  background: #fff;
  color: var(--ue-ink);
  font-family: var(--ue-font);
}

.ue-form textarea {
  min-height: 120px;
  resize: vertical;
}

.ue-form__row {
  display: grid;
  gap: 12px;
}

@media (min-width: 980px) {
  .ue-hero__grid {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
  }

  .ue-form__row {
    grid-template-columns: 1fr 1fr;
  }
}

/* Sections */
.ue-section {
  padding: 88px 0;
}

.ue-section--cream {
  background: var(--ue-cream);
}

.ue-section--green {
  background: var(--ue-primary);
  color: rgba(255, 255, 255, 0.82);
}

.ue-section--green h2,
.ue-section--green h3,
.ue-section--green .ue-title {
  color: #fff;
}

.ue-head {
  max-width: 640px;
  margin-bottom: 42px;
}

.ue-trust {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: -70px;
  position: relative;
  z-index: 2;
}

.ue-trust__item {
  background: #fff;
  border-radius: 20px;
  padding: 22px;
  box-shadow: var(--ue-shadow);
}

.ue-trust__item strong {
  display: block;
  font-family: var(--ue-font);
  font-weight: 800;
  font-size: 2rem;
  color: var(--ue-primary);
  line-height: 1;
}

.ue-grid {
  display: grid;
  gap: 20px;
}

.ue-packages {
  grid-template-columns: 1fr;
}

.ue-package {
  background: #fff;
  border-radius: var(--ue-radius);
  overflow: hidden;
  border: 1px solid var(--ue-line);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: 0.25s ease;
}

.ue-package:hover {
  transform: translateY(-6px);
  box-shadow: var(--ue-shadow);
}

.ue-package.is-featured {
  border-color: var(--ue-gold);
}

.ue-package__photo {
  height: 210px;
  background-color: var(--ue-primary);
  background-size: cover;
  background-position: center;
  position: relative;
}

.ue-package__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--ue-gold);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
}

.ue-package__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.ue-package__body .ue-btn {
  margin-top: auto;
  width: 100%;
}

.ue-package__body h3 {
  font-size: 1.8rem;
}

.ue-package__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: var(--ue-primary);
  font-family: var(--ue-font);
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.ue-package__price small {
  color: var(--ue-primary);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ue-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ue-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
}

.ue-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ue-gold);
}

.ue-services {
  grid-template-columns: 1fr;
}

.ue-service {
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  border: 1px solid var(--ue-line);
}

.ue-service__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--ue-primary-soft);
  color: var(--ue-primary);
  margin-bottom: 16px;
  font-size: 18px;
}

.ue-service h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.ue-split {
  display: grid;
  gap: 36px;
  align-items: center;
}

.ue-photo {
  min-height: 420px;
  border-radius: 32px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.ue-photo__chip {
  position: absolute;
  left: 24px;
  bottom: 24px;
  background: rgba(var(--brand-primary-rgb, 34, 62, 123), 0.92);
  color: #fff;
  padding: 16px 18px;
  border-radius: 16px;
}

.ue-steps {
  display: grid;
  gap: 16px;
}

.ue-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  align-items: start;
}

.ue-step b {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(var(--brand-accent-rgb, 198, 55, 60), 0.12);
  color: var(--ue-btn);
  font-family: var(--ue-font);
  font-weight: 800;
  font-size: 1.4rem;
}

.ue-testimonials {
  grid-template-columns: 1fr;
}

.ue-quote {
  background: #fff;
  border-radius: var(--ue-radius);
  padding: 28px;
  border: 1px solid var(--ue-line);
}

.ue-quote p {
  font-family: var(--ue-font);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ue-ink);
  line-height: 1.5;
}

.ue-quote__author {
  margin-top: 18px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ue-primary);
}

.ue-faq details {
  background: #fff;
  border-radius: 16px;
  padding: 18px 20px;
  margin-bottom: 12px;
  border: 1px solid var(--ue-line);
}

.ue-faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--ue-ink);
  list-style: none;
}

.ue-faq summary::-webkit-details-marker {
  display: none;
}

.ue-faq details p {
  margin: 12px 0 0;
}

.ue-cta {
  display: grid;
  gap: 20px;
  align-items: center;
  background:
    linear-gradient(120deg, rgba(var(--brand-primary-rgb, 34, 62, 123), 0.92), rgba(var(--brand-accent-rgb, 198, 55, 60), 0.78)),
    url("https://images.unsplash.com/photo-1591604129939-f1efa4d9f7fa?auto=format&fit=crop&w=1600&q=80") center/cover;
  color: #fff;
  border-radius: 32px;
  padding: 42px;
}

.ue-cta h2,
.ue-cta .ue-title {
  color: #fff;
  margin: 0 0 10px;
}

.ue-cta p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

/* Footer */
.ue-footer {
  background: var(--ue-primary-dark);
  color: rgba(255, 255, 255, 0.75);
  padding-top: 72px;
}

.ue-footer a {
  color: rgba(255, 255, 255, 0.75);
}

.ue-footer a:hover {
  color: var(--ue-gold);
}

.ue-footer__grid {
  display: grid;
  gap: 32px;
  padding-bottom: 40px;
}

.ue-footer__brand img {
  height: 48px;
  margin-bottom: 16px;
  background: #fff;
  border-radius: 10px;
  padding: 6px 10px;
}

.ue-footer h3 {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 14px;
}

.ue-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ue-footer li + li {
  margin-top: 8px;
}

.ue-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
}

.ue-whatsapp {
  position: fixed;
  right: 24px;
  bottom: 80px;
  z-index: 99;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25d366;
  color: #fff !important;
  display: grid;
  place-items: center;
  font-size: 24px;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.35);
}

@media (min-width: 760px) {
  .ue-trust,
  .ue-packages,
  .ue-services,
  .ue-testimonials,
  .ue-steps,
  .ue-guide,
  .ue-duas {
    grid-template-columns: repeat(2, 1fr);
  }

  .ue-cta {
    grid-template-columns: 1.4fr auto;
  }
}

@media (min-width: 1024px) {
  .ue-trust {
    grid-template-columns: repeat(4, 1fr);
  }

  .ue-packages,
  .ue-testimonials {
    grid-template-columns: repeat(3, 1fr);
  }

  .ue-services {
    grid-template-columns: repeat(4, 1fr);
  }

  .ue-guide,
  .ue-duas {
    grid-template-columns: repeat(3, 1fr);
  }

  .ue-split,
  .ue-footer__grid {
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1fr;
  }

  .ue-split {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .ue-steps {
    grid-template-columns: 1fr;
  }
}

.ue-thanks {
  padding: 140px 20px 80px;
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ue-cream);
}

.ue-thanks__card {
  width: min(34rem, 100%);
  margin: 0 auto;
  padding: 42px 36px 36px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--ue-line);
  border-radius: 28px;
  box-shadow: var(--ue-shadow);
}

.ue-thanks__mark {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: var(--ue-primary);
  box-shadow: 0 12px 28px rgba(var(--brand-primary-rgb, 34, 62, 123), 0.28);
}

.ue-thanks__card h1 {
  margin: 8px 0 12px;
  font-size: clamp(2.2rem, 5vw, 3rem);
  line-height: 1.05;
  color: var(--ue-ink);
}

.ue-thanks__lead {
  margin: 0 auto 18px;
  max-width: 28rem;
  font-size: 1.08rem;
  line-height: 1.55;
  color: var(--ue-muted);
}

.ue-thanks__note {
  margin: 0 auto 18px;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--ue-primary-soft);
  color: var(--ue-primary-dark);
  font-size: 0.98rem;
  line-height: 1.5;
}

.ue-thanks__phone {
  display: inline-block;
  margin-bottom: 22px;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--ue-primary);
}

.ue-thanks__phone:hover {
  color: var(--ue-btn);
}

.ue-thanks__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

@media (max-width: 640px) {
  .ue-thanks {
    padding: 110px 16px 48px;
  }

  .ue-thanks__card {
    padding: 32px 20px 24px;
  }

  .ue-thanks__actions .ue-btn {
    width: 100%;
  }
}

.ue-error {
  padding: 140px 20px 80px;
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ue-paper);
}

.ue-error__panel {
  width: min(28rem, 100%);
  margin: 0 auto;
  padding: 36px 28px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--ue-line);
  border-radius: 24px;
  box-shadow: var(--ue-shadow);
}

.ue-error__code {
  margin: 0 0 8px;
  font-size: clamp(3.5rem, 8vw, 5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ue-primary);
}

.ue-error__title {
  margin: 0 0 22px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ue-muted);
}

.ue-error__btn {
  display: inline-flex;
}

@media (max-width: 767px) {
  .ue-error {
    padding: 110px 16px 48px;
  }
}

.ue-auth {
  padding: 130px 20px 70px;
  min-height: calc(100vh - 80px);
}

.ue-auth__shell {
  width: min(980px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 0;
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--ue-shadow);
  border: 1px solid var(--ue-line);
}

.ue-auth__shell--wide {
  width: min(1080px, 100%);
}

.ue-auth__brand {
  background:
    linear-gradient(160deg, rgba(var(--brand-primary-rgb, 34, 62, 123), 0.94), rgba(var(--brand-primary-dark-rgb, 26, 49, 99), 0.88)),
    url("https://images.unsplash.com/photo-1564769625905-50e93615e769?auto=format&fit=crop&w=1200&q=80") center/cover;
  color: rgba(255, 255, 255, 0.84);
  padding: 36px 32px;
}

.ue-auth__brand h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin: 12px 0 12px;
}

.ue-auth__brand .ue-logo {
  display: inline-block;
  margin-bottom: 24px;
  background: #fff;
  padding: 10px 14px;
  border-radius: 14px;
}

.ue-auth__brand .ue-list {
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.8);
}

.ue-auth__panel {
  padding: 36px 32px;
}

.ue-auth__panel h1 {
  font-size: 2.2rem;
  margin-bottom: 6px;
}

.ue-auth__lead {
  margin-bottom: 22px;
}

.ue-auth__form label {
  display: block;
  margin: 14px 0 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ue-primary);
}

.ue-input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--ue-line);
  border-radius: 14px;
  padding: 10px 14px;
  background: #fff;
  color: var(--ue-ink);
  font-family: var(--ue-font);
}

.ue-auth__row {
  display: flex;
  justify-content: flex-end;
  margin: 8px 0 4px;
  font-size: 14px;
}

.ue-auth__row a,
.ue-auth__switch a {
  color: var(--ue-primary);
  font-weight: 700;
}

.ue-auth__submit {
  width: 100%;
  margin-top: 18px;
}

.ue-auth__switch {
  text-align: center;
  margin: 18px 0 0;
}

.ue-auth__grid {
  display: grid;
  gap: 0 16px;
}

.ue-auth__full {
  grid-column: 1 / -1;
}

.ue-alert {
  background: var(--ue-primary-soft);
  color: var(--ue-primary-dark);
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 16px;
  font-size: 14px;
}

.ue-alert--error {
  background: #fdecec;
  color: #8a1f1f;
}

.ue-alert ul {
  margin: 0;
  padding-left: 18px;
}

.ue-captcha {
  margin-top: 16px;
}

.ue-captcha__row {
  display: grid;
  grid-template-columns: 180px 48px 1fr;
  gap: 10px;
  align-items: center;
}

.ue-captcha img {
  height: 56px;
  width: 180px;
  border-radius: 12px;
  cursor: pointer;
  display: block;
}

.ue-captcha__refresh {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 1px solid var(--ue-line);
  background: var(--ue-cream);
  color: var(--ue-primary);
}

.ue-field-error {
  display: block;
  margin-top: 6px;
  color: #8a1f1f;
  font-size: 13px;
}

@media (min-width: 900px) {
  .ue-auth__shell {
    grid-template-columns: 0.92fr 1.08fr;
  }

  .ue-auth__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 899px) {
  .ue-auth {
    padding: 108px 16px 40px;
  }

  .ue-auth__shell {
    display: flex;
    flex-direction: column;
  }

  .ue-auth__panel {
    order: -1;
    padding: 28px 22px;
  }

  .ue-auth__brand {
    padding: 22px;
  }

  .ue-auth__brand .ue-logo,
  .ue-auth__brand .ue-list {
    display: none;
  }

  .ue-auth__brand h2 {
    font-size: 1.55rem;
    margin: 8px 0;
  }

  .ue-auth__panel h1 {
    font-size: 1.85rem;
  }
}

@media (max-width: 640px) {
  .ue-captcha__row {
    grid-template-columns: 1fr 48px;
  }

  .ue-captcha img {
    width: 100%;
  }

  .ue-captcha__row .ue-input {
    grid-column: 1 / -1;
  }
}

.ue-page {
  padding: 140px 0 90px;
  min-height: calc(100vh - 40px);
  background: var(--ue-paper);
}

.ue-page__hero {
  margin-bottom: 36px;
}

.ue-page__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.ue-page__tabs a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--ue-line);
  background: #fff;
  color: var(--ue-primary);
  font-size: 13px;
  font-weight: 700;
}

.ue-page__tabs a.is-active,
.ue-page__tabs a:hover {
  background: var(--ue-primary);
  border-color: var(--ue-primary);
  color: #fff;
}

.ue-page__tabs--split .ue-tab {
  gap: 8px;
}

.ue-page__tabs--split .ue-tab--flight {
  border-color: #7cbc9a;
  color: #0f5c3d;
  background: #e8f6ef;
}

.ue-page__tabs--split .ue-tab--flight:hover,
.ue-page__tabs--split .ue-tab--flight.is-active {
  background: #0f5c3d;
  border-color: #0f5c3d;
  color: #fff;
}

.ue-page__tabs--split .ue-tab--umrah {
  border-color: #9eb6d9;
  color: #1e3a6e;
  background: #eef4fc;
}

.ue-page__tabs--split .ue-tab--umrah:hover,
.ue-page__tabs--split .ue-tab--umrah.is-active {
  background: #1e3a6e;
  border-color: #1e3a6e;
  color: #fff;
}

.ue-groups-block {
  margin: 0 0 40px;
}

.ue-groups-block--flight,
.ue-groups-block--umrah {
  padding: 18px 16px 8px;
  border-radius: 18px;
  border: 1px solid transparent;
}

.ue-groups-block--flight {
  background: linear-gradient(180deg, #e6f5ee 0%, #f7fcf9 40px, #ffffff 90px);
  border-color: #9fd4b8;
}

.ue-groups-block--umrah {
  background: linear-gradient(180deg, #f3f7fd 0%, #ffffff 48px);
  border-color: #d5e0f2;
}

.ue-groups-banner {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 0 0 22px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid transparent;
}

.ue-groups-banner__icon {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 18px;
}

.ue-groups-banner__copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.ue-groups-banner__eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ue-groups-banner__title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.2;
}

.ue-groups-banner__lead {
  margin: 2px 0 0;
  font-size: 13px;
  opacity: 0.85;
}

.ue-groups-banner--flight {
  background: #d8f0e4;
  border-color: #7cbc9a;
  color: #0f5c3d;
}

.ue-groups-banner--flight .ue-groups-banner__icon {
  background: #0f5c3d;
  color: #fff;
}

.ue-groups-banner--umrah {
  background: #e8f0fb;
  border-color: #b9cce8;
  color: #1e3a6e;
}

.ue-groups-banner--umrah .ue-groups-banner__icon {
  background: #1e3a6e;
  color: #fff;
}

.ue-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ue-type-badge--flight {
  background: #0f5c3d;
  color: #fff;
}

.ue-type-badge--umrah {
  background: #1e3a6e;
  color: #fff;
}

.ue-itin--umrah {
  border-color: #c7d6ea;
  box-shadow: inset 3px 0 0 #1e3a6e;
}

.ue-itin--flight {
  background: #f4fbf7;
  border-color: #9fd4b8;
  box-shadow: inset 4px 0 0 #0f5c3d;
}

.ue-airline-section--umrah-tone-1 {
  background: #eef3fb !important;
  border-color: #d5e0f2 !important;
}

.ue-airline-section--umrah-tone-2 {
  background: #e8f0fb !important;
  border-color: #b9cce8 !important;
}

.ue-airline-section--umrah-tone-3 {
  background: #e2ecf8 !important;
  border-color: #9eb6d9 !important;
}

.ue-airline-section--umrah-tone-4 {
  background: #dce7f5 !important;
  border-color: #8aa6ce !important;
}

.gs-sheet--umrah {
  border-color: #c7d6ea;
  box-shadow: inset 3px 0 0 #1e3a6e;
}

.gs-sheet--umrah .gs-sheet__head {
  background: #eef4fc;
  border-bottom: 1px solid #c7d6ea;
}

.gs-sheet--umrah .gs-sheet__route {
  color: #1e3a6e;
}

.gs-sheet--umrah .gs-table th {
  background: var(--brand-primary, #0c3d86);
  color: #fff;
}

.gs-sheet--umrah .gs-table td {
  background: #1c93d6;
  color: #fff;
}

.gs-sheet--umrah .gs-table tbody:not(:last-child) > tr.gs-leg:has(+ tr.gs-mobile-foot) > td,
.gs-sheet--umrah .gs-table tbody:not(:last-child) > tr.gs-mobile-head + tr.gs-leg > td.gs-span {
  border-bottom-color: #fff;
}

.gs-sheet--umrah .gs-book {
  background: var(--brand-accent, #c6373c);
}

.gs-sheet--umrah .gs-book:hover {
  background: #a82e32;
}

.gs-sheet--flight {
  background: #f4fbf7;
  border-color: #9fd4b8;
  box-shadow: inset 4px 0 0 #0f5c3d;
}

.gs-sheet--flight .gs-sheet__head {
  background: #e6f5ee;
  border-bottom: 1px solid #9fd4b8;
}

.gs-sheet--flight .gs-sheet__route {
  color: #0f5c3d;
}

.gs-sheet--flight .gs-table th {
  background: var(--brand-primary-mid, #2c4f96);
  color: #fff;
}

.gs-sheet--flight .gs-table td {
  background: var(--brand-accent, #c6373c);
  color: #fff;
}

.gs-sheet--flight .gs-table tbody:not(:last-child) > tr.gs-leg:has(+ tr.gs-mobile-foot) > td,
.gs-sheet--flight .gs-table tbody:not(:last-child) > tr.gs-mobile-head + tr.gs-leg > td.gs-span {
  border-bottom-color: #fff;
}

.gs-sheet--flight .gs-book {
  background: var(--brand-primary-mid, #2c4f96);
}

.gs-sheet--flight .gs-book:hover {
  background: #233f78;
}

.gs-sheet__route {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.ue-legal .ue-title {
  max-width: none;
}

.ue-legal__grid {
  display: grid;
  gap: 28px 48px;
}

.ue-legal__copy {
  max-width: 860px;
}

.ue-legal h2 {
  font-size: 1.7rem;
  margin: 28px 0 10px;
}

.ue-legal p {
  margin-bottom: 14px;
}

.ue-legal a {
  color: var(--ue-primary);
  font-weight: 700;
}

.ue-legal__contact {
  background: #fff;
  border: 1px solid var(--ue-line);
  border-radius: 18px;
  padding: 20px 22px;
}

.ue-legal__contact p {
  margin-bottom: 4px;
}

@media (min-width: 900px) {
  .ue-legal__grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.ue-airline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 16px;
}

.ue-airline-card {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 18px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--ue-line);
  border-radius: 22px;
  padding: 18px 20px;
  box-shadow: var(--ue-shadow);
  color: inherit;
  transition: 0.2s ease;
}

.ue-airline-card:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--brand-primary-rgb, 34, 62, 123), 0.22);
}

.ue-airline-card__logo {
  position: relative;
  width: 120px;
  height: 84px;
  border-radius: 16px;
  background: var(--ue-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.ue-airline-card__logo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 8px;
  object-fit: contain;
  background: var(--ue-cream);
}

.ue-airline-card__logo span {
  font-family: var(--ue-font);
  font-weight: 800;
  font-size: 2.4rem;
  color: var(--ue-primary);
}

.ue-airline-card__body h3 {
  margin: 0 0 4px;
  font-size: 1.35rem;
}

.ue-airline-card__body p {
  margin: 0;
  font-size: 14px;
  color: var(--ue-muted);
}

.ue-airline-card__cta {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--ue-gold);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ue-empty {
  background: #fff;
  border: 1px solid var(--ue-line);
  border-radius: 22px;
  padding: 42px 28px;
  text-align: center;
}

.ue-empty h3 {
  margin-bottom: 8px;
}

.ue-empty p {
  max-width: 420px;
  margin: 0 auto 18px;
}

@media (max-width: 640px) {
  .ue-airline-card {
    grid-template-columns: 88px 1fr;
  }

  .ue-airline-card__logo {
    width: 88px;
    height: 64px;
  }

  .ue-airline-card__cta {
    grid-column: 1 / -1;
    justify-content: center;
  }
}

.ue-page--groups {
  padding: 120px 0 70px;
}

.ue-page--groups .ue-wrap {
  width: min(1240px, calc(100% - 32px));
}

.ue-page--groups .ue-page__hero {
  margin-bottom: 18px;
}

.ue-airline-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ue-airline-section {
  display: grid;
  gap: 12px;
  margin: 0 0 24px;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid var(--ue-line);
  background: var(--ue-primary-soft);
}

.ue-country-section {
  display: grid;
  gap: 14px;
  margin: 0 0 28px;
}

.ue-country-section__head {
  display: grid;
  gap: 4px;
  padding: 4px 2px;
}

.ue-country-section .ue-airline-section {
  margin-bottom: 0;
}

.ue-airline-section--tone-1 {
  background: #eaf7f0;
  border-color: #9fd4b8;
}

.ue-airline-section--tone-2 {
  background: #e4f4eb;
  border-color: #8ec9ab;
}

.ue-airline-section--tone-3 {
  background: #def1e7;
  border-color: #7cbc9a;
}

.ue-airline-section--tone-4 {
  background: #d7ede2;
  border-color: #6baf8c;
}

.ue-airline-section--tone-5 {
  background: #eef8f4;
  border-color: #d2ebe2;
}

.ue-airline-section--tone-6 {
  background: #f4fbf7;
  border-color: #b6dfc8;
}

.ue-airline-brand--section {
  margin: 0;
  padding: 4px 2px 8px;
}

.ue-airline-section .ue-route {
  background: #fff;
  box-shadow: none;
}

.ue-title--sm {
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  margin: 0;
}

.ue-airline-brand__logo {
  position: relative;
  width: 112px;
  height: 80px;
  border-radius: 16px;
  background: var(--ue-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.ue-airline-brand__logo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 8px;
  object-fit: contain;
  background: var(--ue-cream);
}

.ue-airline-brand__logo span {
  font-family: var(--ue-font);
  font-weight: 800;
  font-size: 2.4rem;
  color: var(--ue-primary);
  line-height: 1;
}

.ue-airline-brand__copy {
  min-width: 0;
}

.ue-page--groups .ue-title {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin: 6px 0 8px;
}

.ue-page--groups .ue-lead {
  font-size: 0.95rem;
  max-width: none;
}

.ue-groups-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.ue-filters {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 18px;
  align-content: start;
  padding: 16px;
  border: 1px solid var(--ue-line);
  border-radius: 20px;
  background: #fff;
  max-height: calc(100vh - 120px);
  overflow: auto;
}

.ue-filters__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.ue-filters__head h2 {
  margin: 0;
  font-size: 1.05rem;
}

.ue-filters__clear {
  border: 0;
  background: transparent;
  color: var(--ue-primary);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.gs-export-actions {
  display: grid;
  gap: 8px;
  margin: 0 0 12px;
}

.gs-export {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 6px;
  background: var(--ue-btn);
  color: #fff !important;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.gs-export:hover {
  background: var(--ue-btn-dark);
  color: #fff !important;
}

.gs-export--line {
  background: transparent;
  color: var(--ue-primary) !important;
  border: 1px solid rgba(var(--brand-primary-rgb, 34, 62, 123), 0.22);
}

.gs-export--line:hover {
  background: rgba(var(--brand-primary-rgb, 34, 62, 123), 0.06);
  color: var(--ue-primary) !important;
}

.ue-filters__block h3 {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ue-gold);
}

.ue-filters__list {
  display: grid;
  gap: 4px;
}

.ue-filters__option {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 8px 8px;
  border-radius: 12px;
  color: var(--ue-ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  cursor: pointer;
}

.ue-filters__option:hover {
  background: var(--ue-cream);
}

.ue-filters__option input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--ue-primary);
  flex-shrink: 0;
}

.ue-filters__logo {
  width: 36px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
}

.ue-filters__name {
  flex: 1;
  min-width: 0;
}

.ue-filters__count {
  color: var(--ue-muted);
  font-size: 12px;
  font-weight: 800;
}

.ue-airline-section[hidden],
.ue-route[hidden],
.ue-country-section[hidden],
.ue-filters__option[hidden],
.ue-empty--filter[hidden] {
  display: none !important;
}

@media (max-width: 900px) {
  .ue-groups-layout {
    grid-template-columns: 1fr;
  }

  .ue-filters {
    position: static;
    max-height: 320px;
  }
}

.ue-page--simple .ue-country-section__head {
  display: none;
}

.ue-page--simple .ue-filters {
  background: #ececf1;
  border-color: #d7d7e0;
  border-radius: 4px;
  box-shadow: none;
}

.ue-page--simple .ue-filters__head h2,
.ue-page--simple .ue-filters__block h3 {
  color: var(--brand-ink, #1a2744);
  letter-spacing: 0;
  text-transform: none;
  font-size: 1rem;
}

.ue-page--simple .ue-filters__block h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.ue-page--simple .ue-filters__option {
  font-weight: 600;
  color: #243044;
  border-radius: 4px;
}

.gs-airline {
  display: grid;
  gap: 22px;
}

.gs-sheet {
  background: #fff;
  border: 1px solid #d5dbe8;
  border-radius: 4px;
  overflow: hidden;
}

.gs-sheet__head {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 28px;
  padding: 14px 16px 10px;
}

.gs-sheet__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.gs-sheet__logo {
  height: 42px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
}

.gs-sheet__brand strong {
  color: #e67e22;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  font-style: italic;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.gs-sheet__route {
  color: var(--brand-primary, #163a70);
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  font-weight: 800;
  letter-spacing: 0.01em;
}

.gs-sheet__route-name {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.gs-sheet__route i {
  font-size: 0.85em;
}

.gs-sheet__table-wrap {
  overflow-x: hidden;
  width: 100%;
}

.gs-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
}

.gs-table th,
.gs-table td {
  padding: 8px 6px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  word-break: break-word;
  overflow-wrap: anywhere;
  white-space: normal;
}

.gs-table th {
  background: var(--brand-primary, #0c3d86);
  color: #fff;
}

.gs-table td {
  background: #1c93d6;
  color: #fff;
  vertical-align: middle;
}

.gs-table tbody:not(:last-child) > tr.gs-leg:has(+ tr.gs-mobile-foot) > td,
.gs-table tbody:not(:last-child) > tr.gs-mobile-head + tr.gs-leg > td.gs-span {
  border-bottom: 3px solid #fff;
}

.gs-table .gs-span {
  vertical-align: middle;
  text-align: center;
}

.gs-table__book {
  width: 88px;
}

.gs-seats {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 4px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #163a70;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.35;
  white-space: nowrap;
}

.gs-mobile-head,
.gs-mobile-foot,
.gs-mobile-gap {
  display: none;
}

.gs-book {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 88px;
  min-width: 0;
  padding: 6px 8px;
  border: 0;
  border-radius: 6px;
  background: var(--ue-btn);
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .gs-sheet--umrah,
  .gs-sheet--flight {
    box-shadow: none;
  }

  .gs-sheet__table-wrap {
    overflow-x: hidden;
  }

  .gs-table {
    width: 100%;
    min-width: 0;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0;
  }

  .gs-table > thead {
    display: none;
  }

  .gs-col-fare,
  .gs-col-book {
    display: none;
  }

  .gs-mobile-head,
  .gs-mobile-foot,
  .gs-mobile-gap {
    display: table-row;
  }

  .gs-table th:nth-child(1),
  .gs-cell--date { width: 20%; }
  .gs-table th:nth-child(2),
  .gs-cell--route { width: 17%; }
  .gs-table th:nth-child(3),
  .gs-cell--flight { width: 13%; }
  .gs-table th:nth-child(4),
  .gs-cell--time { width: 26%; }
  .gs-table th:nth-child(5),
  .gs-cell--bag { width: 15%; }
  .gs-table th:nth-child(6),
  .gs-cell--meal { width: 9%; }

  .gs-table th,
  .gs-table td {
    padding: 7px 2px;
    font-size: 10px;
    letter-spacing: -0.02em;
    white-space: nowrap;
    word-break: normal;
    overflow-wrap: normal;
  }

  .gs-table th {
    font-size: 10px;
    line-height: 1.15;
    white-space: normal;
  }

  .gs-table td.gs-cell--bag {
    white-space: normal;
    line-height: 1.25;
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .gs-table td.gs-mobile-foot__cell,
  .gs-sheet--umrah .gs-table td.gs-mobile-foot__cell,
  .gs-sheet--flight .gs-table td.gs-mobile-foot__cell {
    background: #f4f7fb;
    color: var(--brand-ink, #1a2744);
    padding: 8px 10px;
    text-align: left;
    white-space: normal;
    border-bottom: 8px solid #fff;
  }

  .gs-sheet--flight .gs-table td.gs-mobile-foot__cell {
    background: #f4fbf7;
    border-bottom-color: #f4fbf7;
  }

  .gs-mobile-foot__bar {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .gs-mobile-foot .gs-seats {
    margin: 0;
    background: #163a70;
    color: #fff;
    font-size: 11px;
    padding: 4px 10px;
  }

  .gs-mobile-foot__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
  }

  .gs-mobile-fare {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--brand-primary, #163a70);
    white-space: nowrap;
  }

  .gs-mobile-foot .gs-book {
    width: auto;
    max-width: none;
    min-width: 0;
    padding: 7px 12px;
    font-size: 12px;
  }

  .gs-table tbody:not(:last-child) > tr.gs-leg:has(+ tr.gs-mobile-foot) > td,
  .gs-sheet--umrah .gs-table tbody:not(:last-child) > tr.gs-leg:has(+ tr.gs-mobile-foot) > td,
  .gs-sheet--flight .gs-table tbody:not(:last-child) > tr.gs-leg:has(+ tr.gs-mobile-foot) > td,
  .gs-table tbody:not(:last-child) > tr.gs-mobile-head + tr.gs-leg > td.gs-span,
  .gs-sheet--umrah .gs-table tbody:not(:last-child) > tr.gs-mobile-head + tr.gs-leg > td.gs-span,
  .gs-sheet--flight .gs-table tbody:not(:last-child) > tr.gs-mobile-head + tr.gs-leg > td.gs-span {
    border-bottom: 0;
  }

  .gs-table tbody > tr.gs-mobile-head > th:nth-child(-n+6) {
    border-top: 3px solid #163a70;
  }

  .gs-table tbody > tr.gs-mobile-head > th:first-child,
  .gs-table tbody > tr.gs-leg > td.gs-cell--date {
    border-left: 3px solid #163a70;
  }

  .gs-table tbody > tr.gs-mobile-head > th:nth-child(6),
  .gs-table tbody > tr.gs-leg > td.gs-cell--meal {
    border-right: 3px solid #163a70;
  }

  .gs-table tbody > tr.gs-mobile-foot > td.gs-mobile-foot__cell,
  .gs-sheet--umrah .gs-table tbody > tr.gs-mobile-foot > td.gs-mobile-foot__cell,
  .gs-sheet--flight .gs-table tbody > tr.gs-mobile-foot > td.gs-mobile-foot__cell {
    border-left: 3px solid #163a70;
    border-right: 3px solid #163a70;
    border-bottom: 3px solid #163a70;
  }

  .gs-table tbody > tr.gs-mobile-gap > td,
  .gs-sheet--umrah .gs-table tbody > tr.gs-mobile-gap > td,
  .gs-sheet--flight .gs-table tbody > tr.gs-mobile-gap > td {
    height: 18px;
    padding: 0;
    border: none !important;
    background: transparent;
    box-shadow: none !important;
    color: transparent;
    font-size: 0;
    line-height: 0;
  }
}

.gs-book:hover {
  background: var(--ue-btn-dark);
  color: #fff;
}

.gs-book:disabled {
  background: #7d8a78;
  cursor: default;
}

.gs-airline[hidden],
.gs-sheet[hidden] {
  display: none !important;
}

.ue-route__head--route-only {
  grid-template-columns: minmax(0, 1fr);
}

.ue-back {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--ue-primary);
  font-size: 13px;
  font-weight: 700;
}

.ue-back::before {
  content: "←";
}

.ue-route {
  background: #fff;
  border: 1px solid var(--ue-line);
  border-radius: 18px;
  box-shadow: var(--ue-shadow);
  padding: 0;
  margin-bottom: 14px;
  overflow: hidden;
}

.ue-route__summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px 14px;
  padding: 14px 18px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.ue-route__summary::-webkit-details-marker {
  display: none;
}

.ue-route__summary::marker {
  content: "";
}

.ue-route__label {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ue-gold);
  white-space: nowrap;
}

.ue-route__title {
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.ue-route__meta {
  font-size: 12px;
  font-weight: 600;
  color: var(--ue-muted, #6b7280);
  white-space: nowrap;
}

.ue-route__chevron {
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--ue-primary);
  border-bottom: 2px solid var(--ue-primary);
  transform: rotate(45deg);
  transition: transform 0.18s ease;
  margin-top: -4px;
  flex-shrink: 0;
}

.ue-route[open] > .ue-route__summary {
  border-bottom: 1px solid var(--ue-line);
}

.ue-route[open] > .ue-route__summary .ue-route__chevron {
  transform: rotate(225deg);
  margin-top: 4px;
}

.ue-route__body {
  padding: 12px 14px 16px;
  display: grid;
  gap: 12px;
  background: #f3f6fb;
}

.ue-route__head {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ue-line);
}

.ue-route__logo {
  position: relative;
  width: 132px;
  height: 92px;
  border-radius: 16px;
  background: var(--ue-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.ue-route__logo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 8px;
  object-fit: contain;
  background: var(--ue-cream);
}

.ue-route__logo span {
  font-family: var(--ue-font);
  font-weight: 800;
  font-size: 2.8rem;
  color: var(--ue-primary);
  line-height: 1;
}

.ue-route__head p {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ue-gold);
}

.ue-route__head h2 {
  margin: 2px 0 0;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
}

.ue-itin {
  display: grid;
  gap: 12px;
  padding: 14px 14px 12px;
  border: 1px solid var(--ue-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(33, 24, 16, 0.04);
}

.ue-itin__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.ue-itin__top-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.ue-itin__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #e8eef8;
  color: var(--ue-ink);
  font-size: 12px;
  font-weight: 700;
}

.ue-itin__tag--muted {
  background: #eef2f8;
  color: var(--ue-muted);
}

.ue-itin__tag i {
  color: var(--ue-primary);
  font-size: 11px;
}

.ue-flight__bag {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  max-width: 100%;
  margin-top: 2px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e4e9f2;
  font-size: 12px;
  font-weight: 700;
  color: var(--ue-ink);
  white-space: nowrap;
}

.ue-flight__bag i {
  color: var(--ue-primary);
  font-size: 11px;
  flex-shrink: 0;
}

.ue-itin__legs {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.ue-flight {
  display: grid;
  grid-template-columns: 88px minmax(90px, 1fr) minmax(120px, 1.2fr) minmax(90px, 1fr);
  gap: 10px 14px;
  align-items: center;
  padding: 12px;
  border-radius: 14px;
  background: #f5f7fb;
  border: 1px solid #e4e9f2;
}

.ue-flight__dir {
  display: grid;
  gap: 2px;
}

.ue-flight__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #e4e9f2;
  color: var(--ue-primary);
  font-size: 14px;
}

.ue-flight__label .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.ue-flight__date {
  font-size: 12px;
  font-weight: 600;
  color: var(--ue-muted);
}

.ue-flight__point {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.ue-flight__point--arr {
  text-align: right;
  justify-items: end;
}

.ue-flight__point strong {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.ue-flight__code {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ue-primary);
}

.ue-flight__point small {
  font-size: 11px;
  font-weight: 600;
  color: var(--ue-muted);
}

.ue-flight__path {
  position: relative;
  display: grid;
  grid-template-columns: 8px 1fr auto 1fr 8px;
  align-items: center;
  gap: 6px;
  min-width: 0;
  padding-top: 16px;
  padding-bottom: 16px;
}

.ue-flight__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ue-primary);
  opacity: 0.35;
}

.ue-flight__line {
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    rgba(122, 74, 48, 0.35) 0 6px,
    transparent 6px 10px
  );
}

.ue-flight__plane {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ue-primary);
  color: #fff;
  box-shadow: 0 6px 14px rgba(122, 74, 48, 0.25);
}

.ue-flight__plane i {
  font-size: 12px;
}

.ue-flight__duration {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--ue-muted);
  white-space: nowrap;
}

.ue-flight__path em {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  font-style: normal;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--ue-primary);
  white-space: nowrap;
}

.ue-itin__side {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 12px;
  padding-top: 2px;
}

.ue-itin__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ue-itin__actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  flex-wrap: wrap;
}

.ue-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--ue-cream);
  border: 1px solid #e4e9f2;
  font-size: 12px;
  font-weight: 700;
  color: var(--ue-ink);
}

.ue-chip i {
  color: var(--ue-primary);
  font-size: 11px;
}

.ue-itin__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--ue-font);
  font-size: clamp(1.45rem, 2.2vw, 1.9rem);
  font-weight: 800;
  color: var(--ue-primary);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  white-space: nowrap;
}

.ue-itin__price small {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ue-primary);
}

.ue-itin__side .ue-btn {
  width: auto;
  margin-left: 0;
}

.ue-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: #f8e7e4;
  color: #8a2d22;
  font-size: 11px;
  font-weight: 700;
}

.ue-choice {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 6px 0 0;
}

.ue-choice label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  margin: 0;
  padding: 0 12px;
  border: 1px solid var(--ue-line);
  border-radius: 999px;
  background: #fff;
  color: var(--ue-ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
}

.ue-choice input[type="radio"] {
  -webkit-appearance: none;
  appearance: none;
  width: 16px !important;
  height: 16px !important;
  min-height: 16px !important;
  min-width: 16px;
  margin: 0;
  padding: 0;
  border: 2px solid var(--ue-primary);
  border-radius: 50% !important;
  background: #fff;
  flex-shrink: 0;
  box-shadow: none;
}

.ue-choice input[type="radio"]:checked {
  background: var(--ue-primary);
  box-shadow: inset 0 0 0 3px #fff;
}

.ue-choice label:has(input:checked) {
  background: var(--ue-primary-soft);
  border-color: var(--ue-primary);
  color: var(--ue-primary);
}

.ue-modal {
  z-index: 1080;
}

.ue-modal .modal-dialog {
  max-width: 560px;
  margin: 12px auto;
  max-height: calc(100vh - 24px);
}

.ue-modal .modal-content {
  border: 1px solid var(--ue-line);
  border-radius: 16px;
  overflow: hidden;
  max-height: calc(100vh - 24px);
  display: flex;
  flex-direction: column;
}

.ue-modal form.ue-book-form {
  display: flex !important;
  flex-direction: column;
  gap: 0;
  width: 100%;
  max-height: calc(100vh - 24px);
  min-height: 0;
}

.ue-modal form.ue-book-form .modal-content {
  min-height: 0;
  flex: 1 1 auto;
}

.modal-backdrop {
  z-index: 1070;
}

.ue-modal .modal-header,
.ue-modal .modal-footer {
  border-color: var(--ue-line);
  background: #fff;
  flex-shrink: 0;
}

.ue-modal .modal-header {
  align-items: center;
  padding: 10px 16px;
}

.ue-modal .modal-header h4,
.ue-modal .modal-title {
  margin: 0;
  font-size: 1.25rem;
}

.ue-modal__close {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid var(--ue-line);
  border-radius: 50%;
  background: #fff;
  color: var(--ue-ink);
  font-size: 14px;
  line-height: 26px;
}

.ue-modal__cancel {
  border: 0;
  background: transparent;
  color: var(--ue-muted);
  font-size: 13px;
  font-weight: 700;
  padding: 0 8px;
}

.ue-modal .modal-body {
  display: grid;
  gap: 10px;
  padding: 12px 16px;
  overflow-y: auto;
  flex: 1 1 auto;
  min-height: 0;
}

.ue-modal .ue-form input,
.ue-modal .ue-form select,
.ue-modal .ue-form textarea {
  min-height: 40px;
  border-radius: 10px;
}

.ue-book__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 4px;
}

.ue-book__actions input.ue-btn {
  width: auto !important;
  min-width: 128px;
  background: var(--ue-gold) !important;
  color: #fff !important;
  border-color: transparent;
}

.ue-modal .modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 10px 16px;
}

.ue-modal .modal-footer .ue-btn {
  width: auto !important;
}

.ue-book__summary {
  background: #f4f7fb;
  border-radius: 12px;
  padding: 8px;
}

.ue-popup-legs {
  display: grid;
  gap: 8px;
}

.ue-popup-leg {
  background: #fff;
  border: 1px solid #e4e9f2;
  border-radius: 12px;
  padding: 10px 12px;
}

.ue-popup-leg__when {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
  color: var(--brand-muted, #5c6780);
  font-size: 12px;
  font-weight: 800;
}

.ue-popup-leg__when em {
  color: var(--brand-primary, #0c3d86);
  font-style: normal;
  font-weight: 800;
}

.ue-popup-leg__line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}

.ue-popup-leg__end {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.ue-popup-leg__end strong {
  color: #14213d;
  font-size: 16px;
  line-height: 1.1;
}

.ue-popup-leg__end span {
  color: var(--brand-primary, #223e7b);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.ue-popup-leg__end--arr {
  text-align: right;
}

.ue-popup-leg__path {
  position: relative;
  height: 2px;
  background: #c5d4ea;
}

.ue-popup-leg__path i {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  color: var(--brand-primary, #0c3d86);
  font-size: 12px;
  background: #fff;
  padding: 0 3px;
}

.ue-book__summary .ue-itin {
  box-shadow: none;
  padding: 10px;
}

.ue-book__summary .ue-itin,
.ue-book__summary .ue-itin__legs {
  margin: 0;
  border: 0;
  display: grid;
  grid-template-columns: 1fr;
}

.ue-book__summary .ue-itin__side {
  border: 0;
  padding-top: 8px;
  flex-direction: row;
  flex-wrap: wrap;
}

.ue-book__summary .ue-flight {
  grid-template-columns: 70px minmax(70px, 1fr) minmax(90px, 1.1fr) minmax(70px, 1fr);
  gap: 8px;
  padding: 10px;
}

@media (min-width: 768px) {
  .ue-itin__side .ue-btn {
    min-width: 140px;
  }
}

.ue-pkg-list {
  display: grid;
  gap: 18px;
}

.ue-pkg {
  background: #fff;
  border: 1px solid var(--ue-line);
  border-radius: var(--ue-radius);
  padding: 18px 20px;
  display: grid;
  gap: 18px;
}

.ue-pkg__head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
}

.ue-pkg__head p {
  margin: 0;
  color: var(--ue-muted);
  font-size: 13px;
}

.ue-pkg__head h3 {
  margin: 2px 0 0;
  font-size: 1.35rem;
}

.ue-pkg__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.ue-pkg__facts {
  margin-top: 12px;
}

.ue-stay {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.ue-stay__item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 78px;
  padding: 12px 14px;
  background: var(--ue-cream);
  border: 1px solid var(--ue-line);
  border-radius: 16px;
}

.ue-stay__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--ue-primary);
  font-size: 16px;
  box-shadow: 0 6px 16px rgba(var(--brand-primary-rgb, 34, 62, 123), 0.08);
}

.ue-stay__item small {
  display: block;
  margin: 0 0 3px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ue-btn);
}

.ue-stay__item strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: var(--ue-ink);
  line-height: 1.35;
  word-break: break-word;
}

.ue-stay__note {
  margin: 10px 0 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff;
  border: 1px dashed var(--ue-line);
  color: var(--ue-muted);
  font-size: 13px;
}

.ue-pkg__table-wrap,
.ue-table-wrap {
  overflow-x: auto;
}

.ue-pkg__rates,
.ue-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.ue-pkg__rates th,
.ue-pkg__rates td,
.ue-table th,
.ue-table td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--ue-line);
  text-align: right;
}

.ue-pkg__rates td:not(:first-child) {
  font-family: var(--ue-font);
  font-size: 15px;
  font-weight: 800;
  color: var(--ue-primary);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.ue-pkg__rates th:first-child,
.ue-pkg__rates td:first-child,
.ue-table th:first-child,
.ue-table td:first-child,
.ue-table th:nth-child(2),
.ue-table td:nth-child(2),
.ue-table th:nth-child(3),
.ue-table td:nth-child(3) {
  text-align: left;
}

.ue-table thead {
  background: var(--ue-cream);
}

.ue-muted {
  color: var(--ue-muted);
  font-size: 12px;
}

.ue-pkg-form {
  display: grid;
  gap: 8px;
}

.ue-pkg-form .ue-form__row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.ue-pkg-form input,
.ue-pkg-form select {
  min-height: 42px !important;
  width: 100% !important;
}

@media (min-width: 900px) {
  .ue-pkg {
    grid-template-columns: minmax(0, 1.5fr) 280px;
    align-items: start;
  }

  .ue-pkg__side {
    border-left: 1px solid var(--ue-line);
    padding-left: 18px;
  }
}

@media (max-width: 699px) {
  .ue-pkg__head {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .ue-pkg__badges {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .ue-pkg-form .ue-form__row {
    grid-template-columns: 1fr;
  }
}

.ue-agent {
  padding-top: 130px;
}

.ue-agent__layout {
  display: grid;
  gap: 22px;
}

.ue-mygroup-detail {
  margin-bottom: 12px !important;
  padding: 12px 14px !important;
}

.ue-mygroup-detail__head {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 8px 10px;
  align-items: center;
}

.ue-mygroup-detail__logo {
  width: 40px;
  height: 40px;
}

.ue-mygroup-detail__logo span,
.ue-mygroup-detail__logo img {
  width: 40px;
  height: 40px;
  font-size: 14px;
}

.ue-mygroup-detail__title {
  min-width: 0;
}

.ue-mygroup-detail__title strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: var(--ue-ink);
  line-height: 1.25;
}

.ue-mygroup-detail__title span {
  display: block;
  margin-top: 1px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ue-muted);
}

.ue-mygroup-detail__meta {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.ue-mygroup-detail__meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #eef3fb;
  border: 1px solid #d7e0f0;
  font-size: 11px;
  font-weight: 700;
  color: var(--ue-primary);
  white-space: nowrap;
}

.ue-mygroup-detail__meta i {
  font-size: 10px;
}

.ue-mygroup-detail__legs {
  margin-top: 8px;
  display: grid;
  gap: 0;
  border: 1px solid var(--ue-line);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.ue-mygroup-detail__leg {
  display: grid;
  grid-template-columns: 28px minmax(70px, 0.9fr) minmax(70px, 0.9fr) minmax(95px, 1.1fr) minmax(110px, 1.4fr);
  gap: 6px;
  align-items: center;
  padding: 6px 10px;
  border-top: 1px solid #e4e9f2;
  font-size: 12px;
  font-weight: 700;
  color: var(--ue-ink);
  background: #fff;
}

.ue-mygroup-detail__leg:first-child {
  border-top: 0;
}

.ue-mygroup-detail__leg:nth-child(even) {
  background: #f5f8fd;
}

.ue-mygroup-detail__leg-dir {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ue-primary);
  font-size: 12px;
}

.ue-mygroup-detail__flight {
  font-weight: 800;
  letter-spacing: 0.02em;
}

@media (max-width: 700px) {
  .ue-mygroup-detail__leg {
    grid-template-columns: 24px 1fr 1fr;
  }

  .ue-mygroup-detail__leg span:nth-child(4),
  .ue-mygroup-detail__leg span:nth-child(5) {
    grid-column: 2 / -1;
  }
}

.ue-approved-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px 14px;
  margin-bottom: 14px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--ue-line);
  border-radius: 12px;
}

.ue-approved-filter > div:first-child {
  flex: 1 1 180px;
  max-width: 240px;
}

.ue-approved-filter__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ue-approved-list {
  display: grid;
  gap: 10px;
}

.ue-approved-card {
  margin-bottom: 0 !important;
}

.ue-approved-card__seats {
  background: #e7f8ee !important;
  border-color: #b7e4c7 !important;
  color: #2f7d57 !important;
}

.ue-approved-card__actions {
  margin-top: 8px;
  display: flex;
  justify-content: flex-end;
}

.ue-agent-nav {
  background: #fff;
  border: 1px solid var(--ue-line);
  border-radius: var(--ue-radius);
  overflow: hidden;
}

.ue-agent-nav__head {
  background: var(--ue-primary);
  color: #fff;
  padding: 18px 18px 16px;
}

.ue-agent-nav__head span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ue-gold);
}

.ue-agent-nav__head strong {
  display: block;
  margin-top: 4px;
  font-family: var(--ue-font);
  font-size: 1.45rem;
  font-weight: 800;
  color: #fff;
}

.ue-agent-nav nav {
  display: grid;
  padding: 8px;
}

.ue-agent-nav a,
.ue-agent-nav button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--ue-ink);
  font-size: 14px;
  font-weight: 650;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.ue-agent-nav a i,
.ue-agent-nav button i {
  width: 18px;
  color: var(--ue-gold);
}

.ue-agent-nav a:hover,
.ue-agent-nav button:hover,
.ue-agent-nav a.is-active {
  background: var(--ue-primary-soft);
  color: var(--ue-primary);
}

.ue-agent-nav form {
  padding: 0 8px 10px;
}

.ue-agent-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.ue-agent-stats article {
  background: #fff;
  border: 1px solid var(--ue-line);
  border-radius: 18px;
  padding: 16px 18px;
}

.ue-agent-stats span {
  display: block;
  color: var(--ue-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ue-agent-stats strong {
  display: block;
  margin-top: 4px;
  font-family: var(--ue-font);
  font-size: 2rem;
  font-weight: 800;
  color: var(--ue-primary);
  line-height: 1;
}

.ue-agent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ue-agent-actions .ue-btn {
  width: auto;
}

.ue-dash-side {
  display: grid;
  gap: 12px;
  align-content: start;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.ue-dash-side > p {
  margin: 0;
  overflow-wrap: anywhere;
}

.ue-hold-timer {
  display: grid;
  gap: 4px;
  min-width: 0;
  max-width: 100%;
  padding: 10px 12px;
  border-radius: 14px;
  background: #fff8e8;
  border: 1px solid #f0d48a;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
  box-sizing: border-box;
}

.ue-hold-timer__label {
  color: #8a6a32;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ue-hold-timer__clock {
  display: block;
  min-width: 0;
  font-variant-numeric: tabular-nums;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.03em;
  color: var(--brand-accent, #c6373c);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ue-hold-timer__at {
  color: #8a6a32;
  font-size: 12px;
  font-weight: 600;
}

.ue-hold-timer--urgent {
  background: #fdecea;
  border-color: #f0b4b6;
}

.ue-hold-timer--urgent .ue-hold-timer__label,
.ue-hold-timer--urgent .ue-hold-timer__at {
  color: var(--brand-accent-dark, #a72e32);
}

.ue-hold-timer--urgent .ue-hold-timer__clock {
  color: var(--brand-accent-dark, #a72e32);
}

.ue-hold-timer--expired {
  background: #f2f2f2;
  border-color: #d7d7d7;
}

.ue-hold-timer--expired .ue-hold-timer__label,
.ue-hold-timer--expired .ue-hold-timer__at,
.ue-hold-timer--expired .ue-hold-timer__clock {
  color: #5d5d5d;
}

.ue-dash-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 6px;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.ue-dash-actions .ue-btn {
  flex: 1 1 calc(50% - 6px);
  min-width: 0;
  width: auto;
  justify-content: center;
  white-space: nowrap;
  padding-left: 8px;
  padding-right: 8px;
  font-size: 12px;
}

.ue-agent .ue-pkg:has(.ue-dash-side) > .ue-pkg__main {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.ue-agent .ue-dash-legs {
  margin-top: 12px;
  min-width: 0;
  max-width: 100%;
}

.ue-agent .ue-dash-legs .ue-mygroup-detail__leg {
  grid-template-columns: 28px minmax(0, 0.95fr) minmax(0, 0.85fr) minmax(0, 1.1fr) minmax(0, 1.35fr);
  min-width: 0;
}

.ue-agent .ue-dash-legs .ue-mygroup-detail__leg > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ue-agent .ue-dash-legs .ue-dash-legs__summary {
  grid-template-columns: 28px minmax(0, 1fr);
}

.ue-agent .ue-dash-legs .ue-dash-legs__summary > span:last-child {
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
}

@media (min-width: 900px) {
  .ue-agent .ue-pkg:has(.ue-dash-side) {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
    overflow: hidden;
  }

  .ue-agent .ue-pkg__side.ue-dash-side {
    min-width: 0;
    max-width: 100%;
    padding-left: 14px;
    overflow: hidden;
  }
}

@media (max-width: 899px) {
  .ue-dash-actions {
    flex-wrap: wrap;
  }

  .ue-dash-actions .ue-btn {
    flex: 1 1 calc(50% - 6px);
  }

  .ue-agent .ue-dash-legs .ue-mygroup-detail__leg {
    grid-template-columns: 24px minmax(0, 1fr) minmax(0, 1fr);
  }

  .ue-agent .ue-dash-legs .ue-mygroup-detail__leg > span:nth-child(4),
  .ue-agent .ue-dash-legs .ue-mygroup-detail__leg > span:nth-child(5) {
    grid-column: 2 / -1;
    white-space: normal;
  }
}

.ue-badge--ok {
  background: var(--ue-primary-soft);
  color: var(--ue-primary);
}

.ue-badge--hold {
  background: #f4ead6;
  color: #8a6a32;
}

.ue-badge--off {
  background: #ececec;
  color: #5d5d5d;
}

.ue-pager {
  margin-top: 22px;
}

.ue-pager .pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.ue-pager .page-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--ue-line);
  border-radius: 10px;
  background: #fff;
  color: var(--ue-primary);
}

.ue-pager .page-item.active .page-link,
.ue-pager .page-link:hover {
  background: var(--ue-primary);
  border-color: var(--ue-primary);
  color: #fff;
}

@media (min-width: 760px) {
  .ue-agent-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  .ue-agent__layout {
    grid-template-columns: 250px minmax(0, 1fr);
    align-items: start;
  }
}

.ue-panel {
  background: #fff;
  border: 1px solid var(--ue-line);
  border-radius: var(--ue-radius);
  padding: 22px;
}

.ue-filter {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  align-items: end;
  margin-bottom: 18px;
}

.ue-filter .ue-btn {
  width: 100%;
}

.ue-agent .ue-form {
  display: grid;
  gap: 14px;
}

.ue-agent .ue-form .ue-btn {
  width: fit-content;
}

.ue-ledger-range,
.ue-ledger-open {
  margin: 0 0 12px;
  color: var(--ue-muted);
}

.ue-ledger-open strong {
  color: var(--ue-primary);
}

.ue-ledger tr.umrah td {
  background: #F9FF9A !important;
}

.ue-ledger tr.group td {
  background: #99e0ff !important;
}

.ue-ledger tr.hotel td {
  background: #e8d4f5 !important;
}

.ue-ledger tr.journal td {
  background: #adffd8 !important;
}

.ue-bank-table th,
.ue-bank-table td {
  text-align: left;
}

.ue-agent-logo {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 16px;
  margin-top: 10px;
  border: 1px solid var(--ue-line);
}

.ue-guide-card {
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  border: 1px solid var(--ue-line);
}

.ue-guide-card h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.ue-guide-card p {
  margin: 0;
}

.ue-dua {
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  border: 1px solid var(--ue-line);
}

.ue-dua h3 {
  font-size: 1.45rem;
  margin-bottom: 12px;
}

.ue-dua__arabic {
  font-size: 1.35rem;
  line-height: 2;
  color: var(--ue-primary);
  margin-bottom: 12px;
}

.ue-dua p {
  margin-bottom: 8px;
}

.ue-dua p:last-child {
  margin-bottom: 0;
}

.ue-pnr-result {
  margin-top: 8px;
}

.ue-pax-table input.form-control {
  min-height: 38px;
  font-size: 13px;
}

.ue-pax-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  cursor: pointer;
}

.ue-pax-check input {
  width: 16px;
  height: 16px;
  accent-color: var(--ue-primary);
}

@media (max-width: 700px) {
  .ue-airline-brand {
    gap: 12px;
  }

  .ue-airline-brand__logo {
    width: 88px;
    height: 64px;
  }

  .ue-airline-brand__logo span {
    font-size: 2rem;
  }

  .ue-route__summary {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 8px 10px;
    padding: 12px 14px;
  }

  .ue-route__label {
    display: none;
  }

  .ue-route__title {
    font-size: 0.98rem;
  }

  .ue-route__body {
    padding: 10px;
    gap: 10px;
  }

  .ue-itin {
    padding: 12px;
  }

  .ue-flight {
    grid-template-columns: 1fr auto 1fr;
    grid-template-areas:
      "dir dir dir"
      "dep path arr";
    gap: 8px 10px;
  }

  .ue-flight__dir { grid-area: dir; }
  .ue-flight__point:not(.ue-flight__point--arr) { grid-area: dep; }
  .ue-flight__path { grid-area: path; min-width: 72px; }
  .ue-flight__point--arr { grid-area: arr; }

  .ue-itin__actions {
    width: 100%;
    margin-left: 0;
    justify-content: space-between;
  }

  .ue-itin__side .ue-btn {
    width: auto;
    margin-left: 0;
  }
}

.ue-pkg-list {
  display: grid;
  gap: 18px;
}

.ue-pkg {
  background: #fff;
  border: 1px solid var(--ue-line);
  border-radius: var(--ue-radius);
  padding: 18px 20px;
  display: grid;
  gap: 18px;
}

.ue-pkg__head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
}

.ue-pkg__head p {
  margin: 0;
  color: var(--ue-muted);
  font-size: 13px;
}

.ue-pkg__head h3 {
  margin: 2px 0 0;
  font-size: 1.35rem;
}

.ue-pkg__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.ue-pkg__facts {
  margin-top: 12px;
}

.ue-pkg__table-wrap,
.ue-table-wrap {
  overflow-x: auto;
}

.ue-pkg__rates,
.ue-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.ue-pkg__rates th,
.ue-pkg__rates td,
.ue-table th,
.ue-table td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--ue-line);
  text-align: right;
}

.ue-pkg__rates th:first-child,
.ue-pkg__rates td:first-child,
.ue-table th:first-child,
.ue-table td:first-child,
.ue-table th:nth-child(2),
.ue-table td:nth-child(2),
.ue-table th:nth-child(3),
.ue-table td:nth-child(3) {
  text-align: left;
}

.ue-table thead {
  background: var(--ue-cream);
}

.ue-muted {
  color: var(--ue-muted);
  font-size: 12px;
}

.ue-pkg-form {
  display: grid;
  gap: 8px;
}

.ue-pkg-form .ue-form__row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.ue-pkg-form input,
.ue-pkg-form select {
  min-height: 42px !important;
  width: 100% !important;
}

@media (min-width: 900px) {
  .ue-pkg {
    grid-template-columns: minmax(0, 1.5fr) 280px;
    align-items: start;
  }

  .ue-pkg__side {
    border-left: 1px solid var(--ue-line);
    padding-left: 18px;
  }
}

@media (max-width: 699px) {
  .ue-pkg__head {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .ue-pkg__badges {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .ue-pkg-form .ue-form__row {
    grid-template-columns: 1fr;
  }
}

/* ---- Umrah packages board (group summary + details table) ---- */
.ue-upkg-list {
  display: grid;
  gap: 18px;
}

.ue-upkg {
  background: #fff;
  border: 1px solid var(--ue-line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(var(--brand-primary-rgb, 34, 62, 123), 0.06);
}

.ue-upkg__summary {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr) 180px;
  gap: 0;
  align-items: stretch;
}

.ue-upkg__rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 10px;
  background: #f7f9fc;
  border-right: 1px solid var(--ue-line);
  text-align: center;
}

.ue-upkg__logo {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--ue-line);
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
  font-size: 12px;
  font-weight: 800;
  color: var(--ue-primary);
}

.ue-upkg__logo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}

.ue-upkg__route {
  font-size: 13px;
  font-weight: 800;
  color: var(--ue-ink);
  letter-spacing: 0.02em;
}

.ue-upkg__date {
  font-size: 12px;
  font-weight: 700;
  color: var(--ue-muted);
}

.ue-upkg__ref {
  font-size: 11px;
  font-weight: 800;
  color: var(--ue-primary);
}

.ue-upkg__banner {
  padding: 14px 16px;
  background: linear-gradient(180deg, #eef5ff 0%, #f7faff 100%);
  display: grid;
  gap: 10px;
  align-content: center;
}

.ue-upkg__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ue-upkg__chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
}

.ue-upkg__chip--nights {
  background: #1f4b99;
}

.ue-upkg__chip--seats {
  background: #2f9d57;
}

.ue-upkg__flights {
  display: grid;
  gap: 6px;
}

.ue-upkg__flight {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  font-size: 13px;
  color: var(--ue-ink);
  font-weight: 600;
}

.ue-upkg__flight-no {
  font-weight: 800;
  color: var(--ue-primary);
}

.ue-upkg__flight-route {
  font-weight: 800;
}

.ue-upkg__bag {
  color: var(--ue-muted);
  font-weight: 600;
  font-size: 12px;
}

.ue-upkg__cta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
  padding: 14px 16px;
  border-left: 1px solid var(--ue-line);
  background: #fff;
}

.ue-upkg__from {
  text-align: right;
}

.ue-upkg__from small {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--ue-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ue-upkg__from strong {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ue-ink);
  font-variant-numeric: tabular-nums;
}

.ue-upkg__toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  background: #2f6fed;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.ue-upkg__toggle i {
  transition: transform 0.2s ease;
}

.ue-upkg:not(.is-open) .ue-upkg__toggle i {
  transform: rotate(180deg);
}

.ue-upkg__toggle-show {
  display: none;
}

.ue-upkg:not(.is-open) .ue-upkg__toggle-show {
  display: inline;
}

.ue-upkg:not(.is-open) .ue-upkg__toggle-hide {
  display: none;
}

.ue-upkg__count {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #e8f8ee;
  color: #1f7a42;
  font-size: 12px;
  font-weight: 800;
}

.ue-upkg__details {
  display: none;
  padding: 0 16px 16px;
  border-top: 1px solid var(--ue-line);
  background: #fff;
}

.ue-upkg.is-open .ue-upkg__details {
  display: block;
}

.ue-upkg__details h4 {
  margin: 14px 0 10px;
  font-size: 15px;
}

.ue-upkg__table-wrap {
  overflow-x: auto;
  border: 1px solid var(--ue-line);
  border-radius: 10px;
}

.ue-upkg__table {
  width: 100%;
  border-collapse: collapse;
  min-width: 980px;
  font-size: 13px;
}

.ue-upkg__table th,
.ue-upkg__table td {
  padding: 12px 12px;
  border-bottom: 1px solid var(--ue-line);
  vertical-align: top;
  text-align: left;
}

.ue-upkg__table thead th {
  background: #f4f7fc;
  color: var(--ue-ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.ue-upkg__table tbody tr:last-child td {
  border-bottom: 0;
}

.ue-upkg__pkgid {
  font-weight: 800;
  color: var(--ue-primary);
  margin-bottom: 6px;
}

.ue-upkg__nights {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 2px;
  color: var(--ue-muted);
  font-size: 12px;
  font-weight: 600;
}

.ue-upkg__nights span {
  color: var(--ue-ink);
  font-weight: 800;
}

.ue-upkg__hotel strong {
  display: block;
  color: var(--ue-ink);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.ue-upkg__hotel small {
  display: block;
  margin-top: 4px;
  color: var(--ue-muted);
  font-size: 12px;
}

.ue-upkg__hotel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.ue-upkg__mini {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 6px;
  border: 0;
  background: #e8f1ff;
  color: #1f4b99;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.ue-upkg__mini:hover {
  background: #d7e7ff;
  color: #163a7a;
  text-decoration: none;
}

.ue-upkg__price-cell {
  min-width: 118px;
}

.ue-upkg__price {
  font-size: 14px;
  font-weight: 800;
  color: var(--ue-ink);
  font-variant-numeric: tabular-nums;
  margin-bottom: 8px;
  white-space: nowrap;
}

.ue-upkg__book {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border: 0;
  border-radius: 6px;
  background: #2f6fed;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.ue-upkg__book:hover {
  background: #1f5ad6;
}

.ue-upkg__note-row td {
  background: #fafbfd;
  color: var(--ue-muted);
  font-size: 12px;
  font-weight: 600;
  padding-top: 8px;
  padding-bottom: 10px;
}

.ue-upkg-modal[hidden] {
  display: none !important;
}

.ue-upkg-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 20px;
}

.ue-upkg-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 28, 54, 0.45);
}

.ue-upkg-modal__panel {
  position: relative;
  width: min(460px, 100%);
  background: #fff;
  border-radius: 14px;
  padding: 22px 20px 18px;
  box-shadow: 0 24px 60px rgba(16, 28, 54, 0.25);
}

.ue-upkg-modal__panel--gallery {
  width: min(760px, 100%);
}

.ue-upkg-modal__x {
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  background: transparent;
  font-size: 24px;
  line-height: 1;
  color: var(--ue-muted);
  cursor: pointer;
}

.ue-upkg-modal__meta {
  margin: 0 0 14px;
  color: var(--ue-muted);
  font-size: 13px;
  font-weight: 700;
}

.ue-upkg-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.ue-upkg-gallery img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--ue-line);
}

body.ue-upkg-modal-open {
  overflow: hidden;
}

@media (max-width: 900px) {
  .ue-upkg__summary {
    grid-template-columns: 1fr;
  }

  .ue-upkg__rail,
  .ue-upkg__cta {
    border: 0;
    align-items: flex-start;
  }

  .ue-upkg__cta {
    align-items: stretch;
  }

  .ue-upkg__from {
    text-align: left;
  }
}
