/* UAE Lottery — index2 */
:root {
  --uae-orange: #e85d04;
  --uae-red: #9d0208;
  --uae-gold: #f5c842;
  --uae-white: #ffffff;
  --font-body: 'Inter', system-ui, sans-serif;
  --uae-content-max: 1320px;
  --uae-content-padding-x: 1.5rem;
  --giftpey-red: #e31e24;
  --giftpey-red-dark: #b71c1c;
  --giftpey-gold: #ffd700;
  --giftpey-gold-dark: #ff8c00;
  --lv-primary: #e31e24;
  --lv-card-top: #fff8f0;
  --lv-card-bottom: #ffe8e0;
}

/* Shared content width (header + sections below banner) */
.uae-content-wrap {
  width: 100%;
  max-width: var(--uae-content-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--uae-content-padding-x);
  padding-right: var(--uae-content-padding-x);
}

body.uae-page {
  margin: 0;
  font-family: var(--font-body);
  overflow-x: hidden;
}

/* Header — transparent at top; white + fixed on scroll */
.uae-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.uae-header.is-scrolled {
  position: fixed;
  background: #ffffff;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}

.uae-header .navbar {
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
}

.uae-header .navbar > .uae-content-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.uae-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: #ffffff;
  transition: color 0.3s ease;
}

.uae-header.is-scrolled .uae-brand {
  color: #1a1a1a;
}

.uae-brand-img {
  height: 38px;
  width: auto;
}

.uae-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.uae-brand-en {
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.uae-brand-ar {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.02em;
  transition: color 0.3s ease;
}

.uae-header.is-scrolled .uae-brand-ar {
  color: #555;
}

.uae-nav-links .nav-link {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5rem 1rem !important;
  transition: color 0.3s ease;
}

.uae-nav-links .nav-link:hover,
.uae-nav-links .nav-link:focus {
  color: var(--uae-gold);
}

.uae-header.is-scrolled .uae-nav-links .nav-link {
  color: #1a1a1a;
}

.uae-header.is-scrolled .uae-nav-links .nav-link:hover,
.uae-header.is-scrolled .uae-nav-links .nav-link:focus {
  color: #c9a227;
}

/* Header dropdown menus */
.uae-nav-dropdown {
  --uae-dropdown-pad: 0.45rem;
  min-width: 15.5rem;
  max-width: 18rem;
  margin-top: 0.65rem !important;
  padding: var(--uae-dropdown-pad);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.14), 0 4px 12px rgba(0, 0, 0, 0.06);
}

.uae-nav-dropdown .dropdown-header {
  padding: 0.55rem 0.85rem 0.35rem;
  margin: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #999;
}

.uae-nav-dropdown .dropdown-divider {
  margin: 0.35rem 0.5rem;
  border-color: #eee;
  opacity: 1;
}

.uae-nav-dropdown .dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.62rem 0.85rem;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #2d2d2d;
  transition: background 0.15s ease, color 0.15s ease, transform 0.12s ease;
}

.uae-nav-dropdown .dropdown-item i {
  flex-shrink: 0;
  font-size: 1rem;
  opacity: 0.55;
  transition: opacity 0.15s ease, color 0.15s ease;
}

.uae-nav-dropdown .dropdown-item span {
  flex: 1;
  min-width: 0;
}

.uae-nav-dropdown .dropdown-item:hover,
.uae-nav-dropdown .dropdown-item:focus {
  background: #f8f8f8;
  color: var(--giftpey-red);
}

.uae-nav-dropdown .dropdown-item:hover i,
.uae-nav-dropdown .dropdown-item:focus i {
  opacity: 1;
  color: var(--giftpey-red);
}

.uae-nav-dropdown .dropdown-item:active {
  background: #fff0f0;
  color: var(--giftpey-red-dark);
}

.uae-play-dropdown {
  max-height: min(22rem, calc(100vh - 6rem));
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #ddd transparent;
}

.uae-play-dropdown::-webkit-scrollbar {
  width: 5px;
}

.uae-play-dropdown::-webkit-scrollbar-thumb {
  background: #ddd;
  border-radius: 999px;
}

.uae-play-dropdown .uae-play-dropdown-all {
  background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
  color: var(--giftpey-red);
  font-weight: 700;
}

.uae-play-dropdown .uae-play-dropdown-all i {
  opacity: 1;
  color: var(--giftpey-red);
}

.uae-play-dropdown .uae-play-dropdown-all:hover,
.uae-play-dropdown .uae-play-dropdown-all:focus {
  background: var(--giftpey-red);
  color: #ffffff;
}

.uae-play-dropdown .uae-play-dropdown-all:hover i,
.uae-play-dropdown .uae-play-dropdown-all:focus i {
  color: #ffffff;
}

.uae-play-dropdown .uae-play-dropdown-cat i {
  font-size: 0.75rem;
  opacity: 0.35;
}

.uae-play-dropdown .uae-play-dropdown-cat:hover i,
.uae-play-dropdown .uae-play-dropdown-cat:focus i {
  opacity: 1;
  transform: translateX(2px);
}

.uae-nav-links .dropdown.show > .nav-link,
.uae-nav-links .nav-link.show {
  color: var(--uae-gold);
}

.uae-header.is-scrolled .uae-nav-links .dropdown.show > .nav-link,
.uae-header.is-scrolled .uae-nav-links .nav-link.show {
  color: var(--giftpey-red);
}

/* Mobile Play list */
.uae-side-nav-play .uae-side-nav-subhead {
  padding: 0.75rem 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #aaa;
  list-style: none;
  border-bottom: none;
}

.uae-side-nav-play > li:first-child a {
  font-weight: 700;
  color: var(--giftpey-red);
}

.uae-side-nav-play > li:first-child a i {
  margin-right: 0.4rem;
}

.uae-side-nav-cat a {
  padding-left: 0.85rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: #444;
}

.uae-side-nav-cat a::before {
  content: '›';
  margin-right: 0.45rem;
  color: #ccc;
  font-weight: 700;
}

.uae-side-nav-cat a:hover::before {
  color: var(--giftpey-red);
}

.uae-nav-toggler {
  transition: opacity 0.2s ease;
}

.uae-nav-actions {
  gap: 1.35rem !important;
}

.uae-login-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: opacity 0.2s ease, color 0.3s ease;
  cursor: pointer;
}

.uae-login-link:hover,
.uae-login-link:focus {
  color: #ffffff;
  opacity: 0.85;
}

.uae-header.is-scrolled .uae-login-link {
  color: #1a1a1a;
}

.uae-header.is-scrolled .uae-login-link:hover,
.uae-header.is-scrolled .uae-login-link:focus {
  color: var(--giftpey-red);
  opacity: 1;
}

.uae-register-btn {
  display: inline-block;
  padding: 0.55rem 1.85rem;
  border: none;
  border-radius: 999px;
  color: var(--giftpey-red);
  background: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  line-height: 1.2;
  cursor: pointer;
  transition: color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.uae-register-btn:hover,
.uae-register-btn:focus {
  color: var(--giftpey-red-dark);
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

.uae-header.is-scrolled .uae-register-btn {
  color: var(--giftpey-red);
  background: #ffffff;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.1);
}

.uae-header.is-scrolled .uae-register-btn:hover,
.uae-header.is-scrolled .uae-register-btn:focus {
  color: var(--giftpey-red-dark);
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.14);
}

.uae-cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  color: #ffffff;
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 1.15rem;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.uae-cart-btn:hover,
.uae-cart-btn:focus {
  color: #ffffff;
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.uae-header.is-scrolled .uae-cart-btn {
  color: #1a1a1a;
  border-color: #ccc;
}

.uae-header.is-scrolled .uae-cart-btn:hover,
.uae-header.is-scrolled .uae-cart-btn:focus {
  color: var(--giftpey-red);
  border-color: var(--giftpey-red);
  background: rgba(227, 30, 36, 0.06);
}

.uae-cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 1.125rem;
  height: 1.125rem;
  padding: 0 0.2rem;
  border-radius: 999px;
  background: var(--giftpey-red);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1.125rem;
  text-align: center;
}

.uae-cart-badge--inline {
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.35rem;
  vertical-align: middle;
}

/* Mobile side drawer */
.uae-side-nav {
  width: min(320px, 88vw);
  z-index: 1050;
}

.uae-side-nav .offcanvas-header {
  border-bottom: 1px solid #eee;
  padding: 1.25rem 1.5rem;
}

.uae-side-nav .offcanvas-title {
  font-weight: 700;
  font-size: 1.1rem;
  color: #1a1a1a;
}

.uae-side-nav .offcanvas-body {
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.5rem 2rem;
}

.uae-side-nav-links {
  flex: 1;
}

.uae-side-nav-group {
  margin: 1rem 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #888;
}

.uae-side-nav-group:first-child {
  margin-top: 0;
}

.uae-side-nav-links ul {
  list-style: none;
  margin: 0 0 0.5rem;
  padding: 0;
}

.uae-side-nav-links li {
  margin: 0;
}

.uae-side-nav-links a {
  display: block;
  padding: 0.65rem 0;
  color: #1a1a1a;
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  border-bottom: 1px solid #f0f0f0;
}

.uae-side-nav-links a:hover {
  color: #c9a227;
}

.uae-side-nav-main a {
  font-weight: 600;
}

.uae-side-nav-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #eee;
}

.uae-side-nav-btn {
  display: block;
  text-align: center;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
}

.uae-side-nav-btn-outline {
  border: none;
  color: #1a1a1a;
  background: transparent;
  font-weight: 600;
}

.uae-side-nav-btn-outline:hover {
  color: var(--giftpey-red);
}

.uae-side-nav-btn-primary {
  border: none;
  background: #ffffff;
  color: var(--giftpey-red);
  font-weight: 700;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
}

.uae-side-nav-btn-primary:hover {
  color: var(--giftpey-red-dark);
  background: #ffffff;
}

.uae-side-nav-btn-logout {
  border: 2px solid var(--giftpey-red);
  background: #ffffff;
  color: var(--giftpey-red);
}

.uae-side-nav-btn-logout:hover {
  background: #fff5f5;
  color: var(--giftpey-red-dark);
}

.uae-header-mobile-actions {
  margin-left: auto;
  gap: 0.65rem;
  flex-shrink: 0;
}

.uae-header-mobile-actions .uae-cart-btn {
  width: 2.35rem;
  height: 2.35rem;
  font-size: 1.05rem;
}

.uae-nav-toggler {
  padding: 0.25rem;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  flex-shrink: 0;
}

.uae-nav-toggler:focus,
.uae-nav-toggler:active,
.uae-nav-toggler:focus-visible {
  border: none;
  box-shadow: none;
  outline: none;
}

.uae-header:not(.is-scrolled) .uae-nav-toggler .navbar-toggler-icon {
  filter: brightness(0) invert(1);
}

.uae-header.is-scrolled .uae-nav-toggler .navbar-toggler-icon {
  filter: none;
}

@media (max-width: 991.98px) {
  .uae-header .navbar > .uae-content-wrap {
    flex-wrap: nowrap;
  }

  .uae-nav-toggler {
    filter: none;
    border: none;
    background: transparent;
  }
}

main {
  margin: 0;
  padding: 0;
}

/* Hero / banner carousel — full width, natural image height */
.uae-hero--banners {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.uae-banner-track {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.uae-banner-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 0.6s ease;
  z-index: 0;
  pointer-events: none;
}

.uae-banner-slide.is-active {
  opacity: 1;
  z-index: 1;
  pointer-events: auto;
}

.uae-banner-link {
  display: block;
  line-height: 0;
}

.uae-banner-img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  box-shadow: none;
  vertical-align: top;
}

/* Carousel dots (over banner, bottom center) */
.uae-carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(80, 80, 80, 0.45);
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

.uae-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.45);
  padding: 0;
  cursor: pointer;
  transition: width 0.3s, background 0.3s;
}

.uae-dot.is-active {
  width: 28px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
}

@media (max-width: 767.98px) {
  .uae-carousel-dots {
    bottom: 1rem;
  }
}

/* Top Category section (lottery_categories from DB) */
.uae-top-category-section {
  background: #ffffff;
  padding: 2.5rem 0 4rem;
}

.uae-top-category-heading {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #2d2d2d;
  text-transform: uppercase;
  margin: 0 0 1.75rem;
}

.uae-top-category-empty {
  color: #666;
  margin: 0;
}

.uae-top-category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.uae-category-card {
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.uae-category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.uae-category-card-art {
  position: relative;
  line-height: 0;
  background: #1a1a1a;
  overflow: hidden;
}

.uae-category-card-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 4;
  object-fit: cover;
  object-position: center top;
}

.uae-category-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  aspect-ratio: 3 / 4;
  padding: 1rem;
  background: linear-gradient(160deg, #2d2d2d 0%, #5c4033 100%);
  text-align: center;
}

/* Latest active lotteries */
.uae-lotteries-section {
  background: #fafafa;
  padding: 0 0 4rem;
}

.uae-lotteries-head,
.uae-cms-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-bottom: 1.75rem;
}

.uae-lotteries-head .uae-lotteries-heading,
.uae-cms-head .uae-lotteries-heading {
  flex: 1 1 auto;
  min-width: 12rem;
  margin: 0;
  padding-right: 0.5rem;
}

.uae-lotteries-heading {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #2d2d2d;
  text-transform: uppercase;
  margin: 0;
}

.uae-lotteries-view-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 600;
  font-size: 0.9rem;
  color: #ffffff;
  text-decoration: none;
  background: var(--giftpey-red);
  border: 2px solid var(--giftpey-red);
  border-radius: 999px;
  padding: 0.55rem 1.35rem;
  white-space: nowrap;
  line-height: 1.2;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.uae-lotteries-view-all:hover {
  background: var(--giftpey-red-dark);
  border-color: var(--giftpey-red-dark);
  color: #ffffff;
}

.uae-logout-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--giftpey-red);
  text-decoration: none;
  background: #ffffff;
  border: 2px solid var(--giftpey-red);
  border-radius: 999px;
  padding: 0.55rem 1.35rem;
  white-space: nowrap;
  line-height: 1.2;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.uae-logout-btn:hover {
  background: #fff5f5;
  border-color: var(--giftpey-red-dark);
  color: var(--giftpey-red-dark);
}

.uae-header.is-scrolled .uae-logout-btn {
  background: #ffffff;
  color: var(--giftpey-red);
}

.uae-orders-head-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.uae-lotteries-empty {
  color: #666;
  margin: 0;
}

.uae-category-empty-box {
  background: #f4f4f4;
  border-radius: 12px;
  padding: 2rem 2.25rem 2.25rem;
}

.uae-category-empty-box .uae-lotteries-head {
  margin-bottom: 1.25rem;
}

.uae-category-empty-box .uae-lotteries-empty {
  margin: 0 0 1.5rem;
  font-size: 1rem;
  line-height: 1.5;
}

.uae-category-empty-box .uae-category-empty-back {
  margin-top: 0;
}

.uae-lotteries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.uae-lotteries-grid .lv-lottery-card {
  border: none;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  height: 100%;
  transition: transform 0.2s, box-shadow 0.2s;
}

.uae-lotteries-grid .lv-lottery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(227, 30, 36, 0.18);
}

.uae-lotteries-grid .lv-lottery-card-visual {
  position: relative;
  background: linear-gradient(145deg, var(--lv-card-top) 0%, var(--lv-card-bottom) 55%, #fff5f5 100%);
  padding: 1.5rem 1rem 1rem;
  min-height: 200px;
}

.uae-lotteries-grid .lv-lottery-cart-btn {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 36px;
  height: 36px;
  background: var(--giftpey-red);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(227, 30, 36, 0.35);
  z-index: 2;
  cursor: pointer;
  text-decoration: none;
  color: #fff;
  transition: background 0.2s ease;
}

.uae-lotteries-grid .lv-lottery-cart-btn:hover {
  background: var(--giftpey-red-dark);
  color: #fff;
}

.uae-lotteries-grid .lv-lottery-card-image-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.uae-lotteries-grid .lv-lottery-card-visual img {
  max-height: 193px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.uae-lotteries-grid .lv-lottery-progress {
  padding: 0.75rem 1rem 0;
}

.uae-lotteries-grid .lv-lottery-progress .progress {
  height: 6px;
  background: #fde8e8;
}

.uae-lotteries-grid .lv-lottery-progress .progress-bar {
  background: linear-gradient(90deg, var(--giftpey-red), #ff6b35);
}

.uae-lotteries-grid .lv-lottery-body {
  padding: 0 1rem 1rem;
}

.uae-lotteries-grid .lv-lottery-title {
  font-weight: 700;
  font-size: 1rem;
  margin: 0.5rem 0;
}

.uae-lotteries-grid .lv-lottery-title a {
  color: var(--giftpey-red-dark);
  text-decoration: none;
}

.uae-lotteries-grid .lv-lottery-title a:hover {
  color: var(--giftpey-red);
}

.uae-lotteries-grid .lv-lottery-meta {
  background: #fff5f5;
  border: 1px solid #fcd4d4;
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  font-size: 0.8rem;
  color: #5c3d3d;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.5rem;
}

.uae-lotteries-grid .lv-lottery-footer {
  background: linear-gradient(90deg, #fff3c4, var(--giftpey-gold));
  border: 2px solid var(--giftpey-red);
  border-radius: 8px;
  padding: 0.65rem 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.uae-lotteries-grid .lv-lottery-price {
  font-weight: 800;
  font-size: 1rem;
}

.uae-lotteries-grid .lv-lottery-price small {
  font-weight: 500;
  font-size: 0.65rem;
  display: block;
  color: #666;
}

.uae-lotteries-grid .lv-lottery-go {
  width: 36px;
  height: 36px;
  background: var(--giftpey-red);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(227, 30, 36, 0.35);
  transition: background 0.2s ease;
}

.uae-lotteries-grid .lv-lottery-go:hover {
  background: var(--giftpey-red-dark);
  color: #fff;
}

/* Inner pages (lotteries list / detail) — fixed header offset */
.uae-inner-page {
  padding-top: 5.5rem;
  padding-bottom: 3rem;
  background: #f8f9fa;
  min-height: 60vh;
}

.uae-inner-breadcrumb {
  font-size: 0.85rem;
  color: #666;
  margin: 0 0 0.35rem;
}

.uae-inner-breadcrumb a {
  color: var(--giftpey-red-dark);
  text-decoration: none;
}

.uae-inner-breadcrumb a:hover {
  color: var(--giftpey-red);
}

.uae-inner-breadcrumb span[aria-hidden] {
  margin: 0 0.35rem;
  color: #aaa;
}

.uae-inner-paginator {
  margin-top: 2rem;
}

.uae-inner-paginator .pagination {
  justify-content: center;
  gap: 0.25rem;
}

.uae-inner-paginator .page-link {
  border-radius: 8px;
  color: var(--giftpey-red-dark);
}

.uae-inner-paginator .page-item.active .page-link {
  background: var(--giftpey-red);
  border-color: var(--giftpey-red);
}

/* Contact page */
.uae-contact-page .uae-contact-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  padding: 2rem 2.25rem;
}

.uae-contact-intro {
  margin: 0 0 1.75rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #555;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #eee;
}

.uae-contact-grid {
  display: grid;
  grid-template-columns: 1fr minmax(220px, 280px);
  gap: 2rem 2.5rem;
  align-items: start;
}

.uae-contact-block-title {
  margin: 0 0 1.25rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a1a1a;
}

.uae-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.uae-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.uae-contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #f4f4f4;
  color: var(--giftpey-red);
  font-size: 1.15rem;
}

.uae-contact-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #888;
  margin-bottom: 0.2rem;
}

.uae-contact-value {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  color: #1a1a1a;
  text-decoration: none;
  line-height: 1.45;
}

a.uae-contact-value:hover {
  color: var(--giftpey-red);
}

.uae-contact-address {
  margin: 0;
  font-weight: 500;
}

.uae-contact-block--social .uae-footer-social {
  justify-content: flex-start;
  margin-bottom: 0;
}

.uae-contact-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #f0f0f0;
  color: #1a1a1a;
  text-decoration: none;
  font-size: 1.15rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.uae-contact-social-link:hover {
  background: var(--giftpey-red);
  color: #ffffff;
}

.uae-contact-social-hint {
  margin: 0;
  color: #666;
  font-size: 0.95rem;
}

@media (max-width: 767.98px) {
  .uae-contact-grid {
    grid-template-columns: 1fr;
  }

  .uae-contact-page .uae-contact-card {
    padding: 1.5rem 1.25rem;
  }
}

/* CMS pages (about, terms, contact, etc.) */
.uae-cms-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  padding: 2rem 2.25rem;
}

.uae-cms-lead {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #555;
  margin: 0 0 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #eee;
}

.uae-cms-content {
  font-size: 0.95rem;
  line-height: 1.75;
  color: #333;
}

.uae-cms-content h1,
.uae-cms-content h2,
.uae-cms-content h3,
.uae-cms-content h4 {
  color: #1a1a1a;
  font-weight: 700;
  margin: 1.5rem 0 0.75rem;
}

.uae-cms-content h2 {
  font-size: 1.25rem;
}

.uae-cms-content h3 {
  font-size: 1.1rem;
}

.uae-cms-content p {
  margin: 0 0 1rem;
}

.uae-cms-content ul,
.uae-cms-content ol {
  margin: 0 0 1rem;
  padding-left: 1.35rem;
}

.uae-cms-content li {
  margin-bottom: 0.35rem;
}

.uae-cms-content a {
  color: var(--giftpey-red);
  font-weight: 600;
  text-decoration: none;
}

.uae-cms-content a:hover {
  color: var(--giftpey-red-dark);
  text-decoration: underline;
}

.uae-cms-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 1rem 0;
}

.uae-cms-content table {
  width: 100%;
  margin: 1rem 0;
  border-collapse: collapse;
}

.uae-cms-content th,
.uae-cms-content td {
  border: 1px solid #e5e5e5;
  padding: 0.65rem 0.85rem;
  text-align: left;
}

.uae-cms-content th {
  background: #f8f9fa;
  font-weight: 600;
}

@media (max-width: 767.98px) {
  .uae-lotteries-head,
  .uae-cms-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .uae-lotteries-head .uae-lotteries-heading,
  .uae-cms-head .uae-lotteries-heading {
    padding-right: 0;
    width: 100%;
  }

  .uae-cms-page .uae-cms-card {
    padding: 1.25rem 1.15rem;
  }
}

/* My orders */
.uae-orders-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.25rem;
}

.uae-orders-card.uae-orders-empty {
  text-align: center;
  padding: 2.5rem 1.5rem;
}

.uae-orders-page .uae-lotteries-head {
  margin-bottom: 2rem;
}

.uae-orders-empty .uae-lotteries-view-all {
  margin-top: 0.75rem;
}

.uae-orders-card-title {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a1a1a;
}

.uae-orders-table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
}

.uae-orders-table th,
.uae-orders-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid #eee;
  font-size: 0.9rem;
}

.uae-orders-table th {
  font-weight: 700;
  color: #555;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: #fafafa;
}

.uae-orders-table tbody tr:hover {
  background: #fff8f8;
}

.uae-orders-view-link {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--giftpey-red);
  text-decoration: none;
  white-space: nowrap;
}

.uae-orders-view-link:hover {
  color: var(--giftpey-red-dark);
  text-decoration: underline;
}

.uae-order-status {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: capitalize;
}

.uae-order-status--paid {
  background: #e8f5e9;
  color: #2e7d32;
}

.uae-order-status--pending {
  background: #fff3e0;
  color: #e65100;
}

.uae-order-status--failed,
.uae-order-status--cancelled {
  background: #ffebee;
  color: #c62828;
}

.uae-orders-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.uae-orders-meta {
  margin: 0;
  display: grid;
  gap: 0.85rem;
}

.uae-orders-meta dt {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #888;
  margin: 0 0 0.15rem;
}

.uae-orders-meta dd {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1a1a1a;
}

.uae-orders-total {
  font-size: 1.15rem !important;
  color: var(--giftpey-red) !important;
}

.uae-orders-items-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.uae-orders-items-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #f0f0f0;
}

.uae-orders-items-list li:last-child {
  border-bottom: none;
}

.uae-orders-item-name {
  flex: 1;
  font-weight: 600;
  color: #1a1a1a;
}

.uae-orders-item-qty {
  color: #666;
  font-size: 0.9rem;
}

.uae-orders-item-price {
  font-weight: 700;
  color: var(--giftpey-red-dark);
}

.uae-orders-ticket-group + .uae-orders-ticket-group {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #eee;
}

.uae-orders-ticket-lottery {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #1a1a1a;
}

.uae-orders-ticket-numbers {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #444;
  word-break: break-word;
}

@media (max-width: 991.98px) {
  .uae-orders-detail-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .uae-orders-table thead {
    display: none;
  }

  .uae-orders-table tr {
    display: block;
    margin-bottom: 1rem;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
  }

  .uae-orders-table td {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid #f5f5f5;
  }

  .uae-orders-table td:last-child {
    border-bottom: none;
  }

  .uae-orders-table td::before {
    content: attr(data-label);
    font-weight: 700;
    color: #888;
    font-size: 0.75rem;
    text-transform: uppercase;
  }
}

/* Cart */
.uae-cart-page .uae-lotteries-head {
  margin-bottom: 2rem;
}

.uae-cart-count-label {
  flex-shrink: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: #666;
}

.uae-cart-empty {
  text-align: center;
  padding: 3rem 1.5rem;
}

.uae-cart-empty-icon {
  font-size: 3.5rem;
  color: #ddd;
  margin-bottom: 1rem;
}

.uae-cart-empty-title {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: #1a1a1a;
}

.uae-cart-empty .uae-lotteries-view-all {
  margin-top: 1.25rem;
}

.uae-cart-layout {
  display: grid;
  grid-template-columns: 1fr min(360px, 34%);
  gap: 1.75rem;
  align-items: start;
}

.uae-cart-items {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.uae-cart-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.35rem;
  padding: 1.35rem 1.5rem;
  margin-bottom: 0;
}

.uae-cart-item-media {
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(145deg, #f5f5f5 0%, #eee 100%);
  aspect-ratio: 4 / 3;
}

.uae-cart-item-media a {
  display: block;
  height: 100%;
}

.uae-cart-item-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.uae-cart-item-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 105px;
  color: #bbb;
  font-size: 2.5rem;
  text-decoration: none;
}

.uae-cart-item-title {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
  font-weight: 700;
}

.uae-cart-item-title a {
  color: #1a1a1a;
  text-decoration: none;
}

.uae-cart-item-title a:hover {
  color: var(--giftpey-red);
}

.uae-cart-item-price {
  margin: 0 0 0.25rem;
  font-size: 0.9rem;
  color: #666;
}

.uae-cart-item-hint {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--giftpey-red);
}

.uae-cart-item-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.25rem;
}

.uae-cart-item-top .uae-cart-item-title {
  margin: 0;
  flex: 1;
  min-width: 0;
}

.uae-cart-item-top .uae-cart-remove-btn {
  flex-shrink: 0;
  margin-top: 0.1rem;
  padding: 0.25rem;
}

.uae-cart-item-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-top: 0.75rem;
}

.uae-cart-qty-stepper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 0 0 auto;
}

.uae-cart-qty-stepper form {
  display: flex;
  margin: 0;
}

.uae-cart-qty-stepper .uae-qty-step-btn {
  flex: 0 0 40px;
  min-height: 40px;
  font-size: 1.25rem;
  text-decoration: none;
}

.uae-cart-qty-value {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: #1a1a1a;
}

.uae-cart-item-line-total {
  margin: 0;
  font-size: 0.9rem;
  color: #444;
  text-align: right;
}

.uae-cart-item-line-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #888;
  margin-bottom: 0.1rem;
}

.uae-cart-item-line-total strong {
  font-size: 1.1rem;
  color: #1a1a1a;
  white-space: nowrap;
}

.uae-cart-remove-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0;
  border: none;
  background: none;
  color: #888;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

.uae-cart-remove-btn:hover {
  color: var(--giftpey-red);
}

.uae-cart-summary {
  position: sticky;
  top: 6rem;
  padding: 1.5rem 1.75rem;
}

.uae-cart-summary-rows {
  margin: 0 0 1rem;
}

.uae-cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid #eee;
}

.uae-cart-summary-row dt {
  margin: 0;
  font-size: 0.9rem;
  color: #666;
  font-weight: 500;
}

.uae-cart-summary-row dd {
  margin: 0;
  font-weight: 600;
  color: #1a1a1a;
}

.uae-cart-summary-row--total {
  border-bottom: none;
  padding-top: 0.85rem;
  margin-top: 0.25rem;
}

.uae-cart-summary-row--total dt {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a1a;
}

.uae-cart-summary-row--total dd {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--giftpey-red);
}

.uae-cart-summary-note {
  margin: 0 0 1.25rem;
  font-size: 0.8rem;
  color: #888;
}

.uae-cart-shipping {
  margin: 0 0 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid #eee;
}

.uae-cart-shipping-title {
  margin: 0 0 0.85rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #666;
}

.uae-cart-shipping .input {
  margin-bottom: 0.85rem;
}

.uae-cart-shipping .input label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #444;
}

.uae-cart-shipping textarea,
.uae-cart-shipping select,
.uae-cart-shipping input[type="text"] {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 0.9rem;
  background: #fff;
}

.uae-cart-shipping textarea:focus,
.uae-cart-shipping select:focus,
.uae-cart-shipping input[type="text"]:focus {
  outline: none;
  border-color: var(--giftpey-red);
  box-shadow: 0 0 0 3px rgba(227, 30, 36, 0.12);
}

.uae-cart-shipping-row {
  display: grid;
  grid-template-columns: 1fr 120px;
  gap: 0.75rem;
}

.uae-cart-payment {
  margin: 0 0 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid #eee;
}

.uae-cart-payment-title {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #666;
}

.uae-cart-payment-option {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  border: 2px solid #e8e8e8;
  border-radius: 12px;
  background: #fafafa;
  cursor: default;
  margin: 0;
}

.uae-cart-payment-option.is-selected {
  border-color: var(--giftpey-red);
  background: #fff8f8;
}

.uae-cart-payment-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.uae-cart-payment-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 10px;
  background: #ffffff;
  color: var(--giftpey-red);
  font-size: 1.25rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.uae-cart-payment-label {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.uae-cart-payment-label strong {
  font-size: 0.95rem;
  color: #1a1a1a;
}

.uae-cart-payment-label span {
  font-size: 0.78rem;
  color: #888;
  line-height: 1.35;
}

.uae-cart-checkout-form {
  margin: 0;
}

.uae-cart-checkout-form .uae-cart-checkout-btn {
  width: 100%;
}

.uae-cart-checkout-btn,
.uae-cart-checkout-form button[type="submit"] {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.85rem 1.5rem;
  margin-bottom: 0.85rem;
  border-radius: 999px;
  background: var(--giftpey-red);
  border: 2px solid var(--giftpey-red);
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.uae-cart-checkout-btn:hover,
.uae-cart-checkout-form button[type="submit"]:hover {
  background: var(--giftpey-red-dark);
  border-color: var(--giftpey-red-dark);
  color: #ffffff;
}

.uae-cart-continue-link {
  display: block;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--giftpey-red);
  text-decoration: none;
}

.uae-cart-continue-link:hover {
  color: var(--giftpey-red-dark);
  text-decoration: underline;
}

@media (max-width: 991.98px) {
  .uae-cart-layout {
    grid-template-columns: 1fr;
  }

  .uae-cart-summary {
    position: static;
  }
}

@media (max-width: 767.98px) {
  .uae-cart-shipping-row {
    grid-template-columns: 1fr;
  }

  .uae-cart-item {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 0.85rem;
    padding: 1rem;
    align-items: start;
  }

  .uae-cart-item-media {
    max-width: none;
    width: 96px;
    aspect-ratio: 1;
    border-radius: 10px;
  }

  .uae-cart-item-placeholder {
    min-height: 0;
    font-size: 1.75rem;
  }

  .uae-cart-item-body {
    min-width: 0;
  }

  .uae-cart-item-title {
    font-size: 0.95rem;
    line-height: 1.3;
  }

  .uae-cart-item-price {
    font-size: 0.82rem;
    margin-bottom: 0;
  }

  .uae-cart-item-hint {
    margin-top: 0.25rem;
    margin-bottom: 0;
  }

  .uae-cart-item-footer {
    margin-top: 0.65rem;
    flex-wrap: nowrap;
    gap: 0.5rem;
  }

  .uae-cart-qty-stepper .uae-qty-step-btn {
    flex: 0 0 36px;
    min-height: 36px;
    font-size: 1.1rem;
  }

  .uae-cart-qty-value {
    min-width: 2rem;
    font-size: 0.95rem;
  }

  .uae-cart-item-line-total strong {
    font-size: 1rem;
  }

  .uae-cart-remove-text {
    display: none;
  }

  .uae-cart-remove-btn {
    width: 2rem;
    height: 2rem;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #999;
  }

  .uae-cart-remove-btn:hover {
    background: #fff5f5;
  }
}

@media (max-width: 380px) {
  .uae-cart-item {
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 0.65rem;
    padding: 0.85rem;
  }

  .uae-cart-item-media {
    width: 80px;
  }
}

/* Latest winners page */
.uae-winners-page {
  background: #f3f4f6;
  padding-bottom: 3rem;
}

.uae-winners-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.uae-winners-title {
  margin: 0 0 0.35rem;
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 800;
  color: #1a1a1a;
  letter-spacing: -0.02em;
}

.uae-winners-lead {
  margin: 0;
  color: #555;
  font-size: 1.05rem;
}

.uae-winners-hero-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--uae-gold), #e8b923);
  color: var(--giftpey-red);
  font-size: 2rem;
  flex-shrink: 0;
  box-shadow: 0 6px 20px rgba(245, 200, 66, 0.4);
}

.uae-winners-empty {
  background: #fff;
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.uae-winners-empty .uae-lotteries-view-all {
  margin-top: 1.25rem;
}

.uae-winners-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.uae-winner-lottery-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.uae-winner-lottery-head {
  display: grid;
  grid-template-columns: minmax(120px, 160px) 1fr;
  gap: 1.25rem;
  padding: 1.5rem 1.5rem 1rem;
  border-bottom: 1px solid #eee;
}

.uae-winner-lottery-media {
  background: linear-gradient(145deg, var(--lv-card-top) 0%, var(--lv-card-bottom) 55%, #fff5f5 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  padding: 0.75rem;
}

.uae-winner-lottery-img {
  max-width: 100%;
  max-height: 110px;
  object-fit: contain;
}

.uae-winner-lottery-placeholder {
  font-size: 2.5rem;
  color: var(--giftpey-red);
  opacity: 0.35;
}

.uae-winner-lottery-category {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--giftpey-red);
  margin-bottom: 0.35rem;
}

.uae-winner-lottery-title {
  margin: 0 0 0.65rem;
  font-size: 1.35rem;
  font-weight: 800;
}

.uae-winner-lottery-title a {
  color: #1a1a1a;
  text-decoration: none;
}

.uae-winner-lottery-title a:hover {
  color: var(--giftpey-red);
}

.uae-winner-lottery-meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.9rem;
  color: #555;
}

.uae-winner-lottery-meta li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.uae-winner-results-wrap {
  overflow-x: auto;
}

.uae-winner-results-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.uae-winner-results-table th {
  text-align: left;
  padding: 0.75rem 1.25rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #666;
  background: #fafafa;
  border-bottom: 1px solid #eee;
}

.uae-winner-results-table td {
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid #f0f0f0;
  color: #333;
}

.uae-winner-results-table tbody tr:last-child td {
  border-bottom: none;
}

.uae-winner-results-table tbody tr:hover td {
  background: #fffbf5;
}

.uae-winner-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: var(--giftpey-red);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
}

@media (max-width: 767.98px) {
  .uae-winner-lottery-head {
    grid-template-columns: 1fr;
  }

  .uae-winners-hero-icon {
    display: none;
  }
}

/* FAQ page */
.uae-faq-page {
  background: #f3f4f6;
}

.uae-faq-hero {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
  min-height: 4rem;
}

.uae-faq-title {
  margin: 0;
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 800;
  color: #1a1a1a;
  letter-spacing: -0.02em;
}

.uae-faq-decor {
  position: relative;
  flex-shrink: 0;
  width: min(220px, 42vw);
  height: 5.5rem;
}

.uae-faq-bubble {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--uae-gold);
  color: #1a1a1a;
  font-weight: 800;
  font-size: 0.75rem;
  box-shadow: 0 4px 14px rgba(245, 200, 66, 0.45);
}

.uae-faq-bubble--1 {
  width: 4.5rem;
  height: 4.5rem;
  top: 0;
  right: 2.5rem;
  font-size: 0.85rem;
}

.uae-faq-bubble--2 {
  width: 3.25rem;
  height: 3.25rem;
  top: 1.5rem;
  right: 0;
  font-size: 1.35rem;
}

.uae-faq-bubble--3 {
  width: 3.75rem;
  height: 3.75rem;
  top: 0.25rem;
  right: 5.5rem;
  opacity: 0.85;
  z-index: -1;
}

.uae-faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.uae-faq-item {
  border: none;
  border-radius: 14px !important;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.uae-faq-item .accordion-header {
  margin: 0;
}

.uae-faq-item .accordion-button {
  padding: 1.15rem 1.35rem;
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a1a;
  background: #ffffff;
  box-shadow: none;
  border: none;
}

.uae-faq-item .accordion-button:not(.collapsed) {
  color: #c9a227;
  background: #ffffff;
  box-shadow: none;
}

.uae-faq-item .accordion-button:focus {
  box-shadow: none;
  border-color: transparent;
}

.uae-faq-item .accordion-button::after {
  width: 1rem;
  height: 1rem;
  background-size: 1rem;
  opacity: 0.7;
}

.uae-faq-item .accordion-button:not(.collapsed)::after {
  filter: none;
}

.uae-faq-item .accordion-collapse {
  border-top: 1px solid #f0f0f0;
}

.uae-faq-item .accordion-body {
  padding: 1rem 1.35rem 1.25rem;
  font-size: 0.92rem;
  line-height: 1.6;
  color: #444;
  background: #faf8f5;
}

.uae-faq-empty {
  text-align: center;
  padding: 2.5rem 1.5rem;
}

@media (max-width: 575.98px) {
  .uae-faq-hero {
    flex-direction: column;
    margin-bottom: 1.5rem;
  }

  .uae-faq-decor {
    width: 100%;
    height: 4rem;
  }

  .uae-faq-bubble--3 {
    right: auto;
    left: 0;
  }

  .uae-faq-item .accordion-button {
    padding: 1rem 1.1rem;
    font-size: 0.92rem;
    padding-right: 2.5rem;
  }

  .uae-faq-item .accordion-body {
    padding: 0.9rem 1.1rem 1.1rem;
    font-size: 0.88rem;
  }
}

/* Checkout success */
.uae-checkout-success-card {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
  padding: 2.5rem 1.75rem;
}

.uae-checkout-success-icon {
  font-size: 3.5rem;
  color: #2e9e5b;
  margin-bottom: 1rem;
  line-height: 1;
}

.uae-checkout-success-title {
  margin: 0 0 0.65rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: #1a1a1a;
}

.uae-checkout-success-lead {
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
}

.uae-checkout-success-meta {
  text-align: left;
  margin-bottom: 1rem;
}

.uae-checkout-success-upi {
  margin: 0 0 1.25rem;
  text-align: center;
}

.uae-checkout-success-note {
  margin: 0 0 1.5rem;
  font-size: 0.88rem;
  color: #888;
  line-height: 1.45;
}

.uae-checkout-success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}

.uae-checkout-success-actions .uae-cart-checkout-btn,
.uae-checkout-success-actions .uae-logout-btn {
  margin: 0;
  flex: 1 1 auto;
  min-width: 10rem;
}

@media (max-width: 575.98px) {
  .uae-checkout-success-actions {
    flex-direction: column;
  }

  .uae-checkout-success-actions .uae-cart-checkout-btn,
  .uae-checkout-success-actions .uae-logout-btn {
    width: 100%;
  }
}

/* Payment */
.uae-payment-page .uae-lotteries-head {
  margin-bottom: 2rem;
}

.uae-payment-layout {
  max-width: 420px;
}

.uae-payment-upi {
  margin: 1.25rem 0;
  padding: 1.25rem;
  border-radius: 14px;
  background: #f8f9fa;
  border: 1px solid #e8e8e8;
  text-align: center;
}

.uae-payment-upi-title {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.uae-payment-upi-id {
  margin: 0 0 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 0.75rem;
  font-size: 0.95rem;
}

.uae-payment-upi-label {
  display: block;
  width: 100%;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #888;
}

.uae-payment-upi-id strong {
  font-size: 1.1rem;
  color: var(--giftpey-red-dark);
  word-break: break-all;
}

.uae-payment-copy-btn {
  padding: 0.35rem 0.75rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}

.uae-payment-copy-btn:hover {
  border-color: var(--giftpey-red);
  color: var(--giftpey-red);
}

.uae-payment-qr-wrap {
  margin-top: 0.5rem;
}

.uae-payment-qr {
  max-width: 220px;
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 4px solid #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.uae-payment-qr-hint {
  margin: 0.65rem 0 0;
  font-size: 0.8rem;
  color: #666;
}

.uae-payment-card {
  padding: 1.75rem;
}

.uae-payment-order {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  color: #666;
}

.uae-payment-order strong {
  color: #1a1a1a;
}

.uae-payment-items {
  margin: 1.25rem 0;
  padding-top: 1rem;
  border-top: 1px solid #eee;
}

.uae-payment-hint {
  margin: 0 0 1.25rem;
  font-size: 0.85rem;
  color: #888;
}

.uae-payment-form {
  margin: 0;
}

.uae-payment-form .uae-cart-checkout-btn {
  margin-bottom: 0;
}

/* Lottery detail */
.uae-lottery-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
  background: #fff;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.uae-lottery-detail-media {
  background: linear-gradient(145deg, var(--lv-card-top) 0%, var(--lv-card-bottom) 55%, #fff5f5 100%);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}

.uae-lottery-detail-img {
  max-width: 100%;
  max-height: 360px;
  object-fit: contain;
}

.uae-lottery-detail-placeholder {
  font-size: 5rem;
  color: #ccc;
}

.uae-lottery-badge {
  display: inline-block;
  background: var(--giftpey-red);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: none;
  margin-bottom: 0.75rem;
}

.uae-lottery-detail-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: #1a1a1a;
  margin: 0 0 0.35rem;
}

.uae-lottery-detail-category {
  color: var(--giftpey-red);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.uae-lottery-detail-lead {
  color: #555;
  margin-bottom: 1.25rem;
}

.uae-lottery-detail-meta {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  font-size: 0.9rem;
  color: #444;
}

.uae-lottery-detail-meta li {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.uae-lottery-detail-progress {
  margin-bottom: 1.25rem;
}

.uae-lottery-detail-progress .progress {
  height: 8px;
  background: #fde8e8;
  border-radius: 4px;
}

.uae-lottery-detail-progress .progress-bar {
  background: linear-gradient(90deg, var(--giftpey-red), #ff6b35);
}

.uae-lottery-detail-rules {
  margin: 0 0 1.5rem;
  padding-left: 1.25rem;
  color: #555;
  font-size: 0.9rem;
}

/* Lottery detail — related lotteries */
.uae-related-lotteries {
  margin-top: 2.5rem;
}

.uae-related-lotteries .uae-lotteries-head {
  margin-bottom: 1.25rem;
}

.uae-related-lotteries-grid {
  margin-top: 0;
}

/* Lottery detail — description / details tabs */
.uae-lottery-tabs-wrap {
  margin-top: 2rem;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.uae-lottery-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 1.25rem 1.25rem 0;
  margin: 0;
  border: none;
  background: #ffffff;
}

.uae-lottery-tabs .nav-item {
  margin: 0;
}

.uae-lottery-tabs .nav-link {
  border: none;
  border-radius: 8px 8px 0 0;
  padding: 0.7rem 1.35rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #444;
  background: #f0f0f0;
  transition: background 0.2s ease, color 0.2s ease;
}

.uae-lottery-tabs .nav-link:hover {
  color: #1a1a1a;
  background: #e8e8e8;
}

.uae-lottery-tabs .nav-link.active {
  color: #ffffff;
  background: #2d2d2d;
}

.uae-lottery-tab-panels {
  border-top: 1px solid #e5e5e5;
  padding: 1.75rem 2rem 2rem;
}

.uae-lottery-tab-body {
  font-size: 0.95rem;
  line-height: 1.75;
  color: #333;
  text-align: justify;
}

.uae-lottery-tab-empty {
  margin: 0;
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Lottery detail — quantity picker */
.uae-lottery-qty-block {
  margin-bottom: 1.25rem;
  padding: 1.15rem 1.25rem;
  background: #f8f9fa;
  border: 1px solid #eee;
  border-radius: 14px;
}

.uae-lottery-qty-label {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  color: #1a1a1a;
  margin: 0 0 0.85rem;
}

.uae-qty-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.uae-qty-chip {
  min-width: 44px;
  padding: 0.4rem 0.85rem;
  border: 2px solid #e0e0e0;
  border-radius: 999px;
  background: #ffffff;
  color: #333;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.uae-qty-chip:hover {
  border-color: var(--giftpey-red);
  color: var(--giftpey-red);
}

.uae-qty-chip.is-active {
  background: var(--giftpey-red);
  border-color: var(--giftpey-red);
  color: #ffffff;
}

.uae-qty-stepper {
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
}

.uae-qty-step-btn {
  flex: 0 0 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--giftpey-red);
  border-radius: 12px;
  background: #ffffff;
  color: var(--giftpey-red);
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.uae-qty-step-btn:hover:not(:disabled) {
  background: var(--giftpey-red);
  color: #ffffff;
}

.uae-qty-step-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.uae-qty-select-wrap {
  position: relative;
  flex: 1;
  min-width: 0;
}

.uae-qty-select {
  width: 100%;
  height: 100%;
  min-height: 48px;
  padding: 0.65rem 2.25rem 0.65rem 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  background: #ffffff;
  color: #1a1a1a;
  font-weight: 600;
  font-size: 1rem;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.uae-qty-select:focus {
  outline: none;
  border-color: var(--giftpey-red);
  box-shadow: 0 0 0 3px rgba(227, 30, 36, 0.12);
}

.uae-qty-select-icon {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #666;
  font-size: 0.85rem;
}

.uae-qty-display-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 48px;
  padding: 0.5rem 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  background: #ffffff;
}

.uae-qty-display {
  font-size: 1.35rem;
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1;
}

.uae-qty-display-unit {
  font-size: 0.9rem;
  font-weight: 600;
  color: #666;
}

.uae-qty-hint {
  margin: 0.65rem 0 0;
  font-size: 0.8rem;
  color: #777;
}

.uae-lottery-participate-btn {
  display: block;
  width: 100%;
  margin-top: 0.25rem;
  padding: 0.85rem 1.5rem;
  border: none;
  border-radius: 999px;
  background: var(--giftpey-red);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(227, 30, 36, 0.35);
  transition: background 0.2s ease, color 0.2s ease;
}

.uae-lottery-participate-btn:hover,
.uae-lottery-participate-btn:focus {
  background: var(--giftpey-red-dark);
  color: #ffffff;
}

.uae-lottery-participate-btn.is-loading,
.lv-lottery-cart-btn.is-loading,
.js-add-to-cart.is-loading {
  opacity: 0.7;
  pointer-events: none;
}

/* Cart success toast */
.cart-toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 1100;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  max-width: min(420px, calc(100vw - 2rem));
  padding: 1rem 1.15rem;
  background: #ffffff;
  border-left: 4px solid #2e7d32;
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.cart-toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.cart-toast-icon {
  flex-shrink: 0;
  font-size: 1.75rem;
  color: #2e7d32;
  line-height: 1;
}

.cart-toast-body {
  flex: 1;
  min-width: 0;
}

.cart-toast-title {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 0.15rem;
}

.cart-toast-message {
  margin: 0;
  font-size: 0.85rem;
  color: #555;
  line-height: 1.4;
}

.cart-toast-link {
  flex-shrink: 0;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--giftpey-red);
  text-decoration: none;
  white-space: nowrap;
}

.cart-toast-link:hover {
  color: var(--giftpey-red-dark);
  text-decoration: underline;
}

.cart-toast-close {
  flex-shrink: 0;
  border: none;
  background: transparent;
  color: #888;
  padding: 0.25rem;
  cursor: pointer;
  line-height: 1;
}

.cart-toast-close:hover {
  color: #333;
}

@media (max-width: 991.98px) {
  .uae-lottery-detail-grid {
    grid-template-columns: 1fr;
    padding: 1.25rem;
  }
}

@media (max-width: 1199.98px) {
  .uae-top-category-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 991.98px) {
  .uae-top-category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .uae-lotteries-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575.98px) {
  :root {
    --uae-content-padding-x: 1rem;
  }

  .uae-top-category-section {
    padding: 2rem 0 3rem;
  }

  .uae-top-category-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin: 0 auto;
  }

  .uae-lotteries-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .uae-lotteries-section {
    padding-bottom: 3rem;
  }
}

/* UAE footer */
.uae-footer {
  background: #ffffff;
  color: #1a1a1a;
  border-top: 1px solid #e8e8e8;
  padding: 3.5rem 0 3rem;
  margin-top: 2rem;
}

.uae-footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.4fr 1.6fr;
  gap: 2rem 2.5rem;
  align-items: start;
}

.uae-footer-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

.uae-footer-nav li + li {
  margin-top: 0.85rem;
}

.uae-footer-nav a {
  color: #1a1a1a;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.uae-footer-nav a:hover {
  color: var(--giftpey-red);
}

.uae-footer-contact {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.uae-footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: #1a1a1a;
}

.uae-footer-contact-item a {
  color: #1a1a1a;
  text-decoration: none;
}

.uae-footer-contact-item a:hover {
  color: var(--giftpey-red);
}

.uae-footer-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f0f0f0;
  color: #1a1a1a;
  flex-shrink: 0;
  font-size: 1.05rem;
}

.uae-footer-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.uae-footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
  margin-bottom: 1.25rem;
}

.uae-footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f0f0f0;
  color: #1a1a1a;
  text-decoration: none;
  font-size: 1rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.uae-footer-social-link:hover {
  background: #1a1a1a;
  color: #ffffff;
}

.uae-footer-responsible {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.uae-footer-age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 36px;
  padding: 0 0.35rem;
  background: var(--giftpey-red);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.85rem;
  clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
}

.uae-footer-responsible-text {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #1a1a1a;
  line-height: 1.3;
  max-width: 200px;
  text-align: left;
}

.uae-footer-disclaimer {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.5;
  color: #555555;
  max-width: 320px;
}

.uae-back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1040;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid #1a1a1a;
  background: #ffffff;
  color: #1a1a1a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease, visibility 0.2s ease;
}

.uae-back-to-top:hover {
  background: #1a1a1a;
  color: #ffffff;
}

.uae-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

@media (max-width: 991.98px) {
  .uae-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .uae-footer-aside {
    grid-column: 1 / -1;
    align-items: flex-start;
    text-align: left;
  }

  .uae-footer-social {
    justify-content: flex-start;
  }
}

@media (max-width: 575.98px) {
  .uae-footer {
    padding: 2.5rem 0 2rem;
  }

  .uae-footer-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .uae-footer-disclaimer {
    max-width: none;
  }
}
