/* ============================================================
   ShoufQatar â€” Shared Stylesheet
   ============================================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #1a3b6e;
  --primary-light: #2a5298;
  --accent: #e63946;
  --gold: #f4b942;
  --text: #1a1a2e;
  --text-muted: #6b7280;
  --bg: #f5f7fa;
  --white: #ffffff;
  --border: #e5e7eb;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.14);
  --radius: 12px;
  --radius-sm: 8px;
}

body {
  font-family: 'Cairo', sans-serif;
  background: var(--bg);
  color: var(--text);
  direction: rtl;
}

/* â”€â”€ Container â”€â”€ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* â”€â”€ Top Bar â”€â”€ */
.top-bar {
  background: var(--primary);
  padding: 6px 0;
  font-size: 13px;
  color: #cdd9f5;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-regions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.top-bar-regions span {
  cursor: pointer;
  padding: 2px 10px;
  border-radius: 20px;
  transition: background .2s;
}

.top-bar-regions span:hover {
  background: rgba(255, 255, 255, .15);
}

.top-bar-regions span.active {
  background: var(--gold);
  color: var(--primary);
  font-weight: 700;
}

.top-bar-right {
  display: flex;
  gap: 16px;
  align-items: center;
}

.top-bar-right a {
  color: #cdd9f5;
  text-decoration: none;
  font-size: 12px;
}

.top-bar-right a:hover {
  color: #fff;
}

/* â”€â”€ Header â”€â”€ */
header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 0;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon svg {
  width: 24px;
  height: 24px;
  fill: #fff;
}

.logo-text {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.logo-text span {
  color: var(--accent);
}

.search-bar {
  flex: 1;
  max-width: 480px;
  display: flex;
  align-items: center;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 30px;
  padding: 8px 16px;
  gap: 10px;
}

.search-bar input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: 'Cairo', sans-serif;
  font-size: 16px;
  color: var(--text);
  outline: none;
  direction: rtl;
}

.search-bar input::placeholder {
  color: #9ca3af;
}

.search-bar button {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 6px 18px;
  font-family: 'Cairo', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
}

.search-bar button:hover {
  background: var(--primary-light);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-lang {
  background: transparent;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  color: var(--text);
  transition: border-color .2s;
}

.btn-lang:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-login {
  background: transparent;
  border: 1.5px solid var(--primary);
  border-radius: 20px;
  padding: 6px 18px;
  font-family: 'Cairo', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  transition: all .2s;
}

.btn-login:hover {
  background: var(--primary);
  color: #fff;
}

.btn-register {
  background: var(--primary);
  border: none;
  border-radius: 20px;
  padding: 7px 20px;
  font-family: 'Cairo', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  transition: background .2s;
}

.btn-register:hover {
  background: var(--primary-light);
}

.avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--border);
  overflow: hidden;
  cursor: pointer;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.header-icons {
  display: none;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  color: var(--text-muted);
  transition: all .2s;
  flex-shrink: 0;
}

.icon-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.icon-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* â”€â”€ Nav â”€â”€ */
nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  gap: 0;
}

.nav-inner a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  padding: 14px 20px;
  border-bottom: 3px solid transparent;
  transition: all .2s;
  white-space: nowrap;
}

.nav-inner a:hover {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.nav-inner a.active {
  color: var(--primary);
  border-bottom-color: var(--accent);
}

/* â”€â”€ Breadcrumb â”€â”€ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  padding: 14px 0;
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb .sep {
  color: #d1d5db;
}

.breadcrumb .current {
  color: var(--text);
  font-weight: 600;
}

/* â”€â”€ Page Header â”€â”€ */
.page-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 40px 0;
  color: #fff;
  margin-bottom: 36px;
}

.page-header h1 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 6px;
}

.page-header p {
  font-size: 15px;
  color: #a0b4d6;
}

/* â”€â”€ Section Header â”€â”€ */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
}

.section-title svg {
  width: 22px;
  height: 22px;
  fill: var(--primary);
}

.view-all {
  color: var(--primary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap .2s;
}

.view-all:hover {
  gap: 8px;
}

/* â”€â”€ Event Cards â”€â”€ */
.event-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  text-decoration: none;
  color: inherit;
  display: block;
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.event-card-img {
  position: relative;
  height: 210px;
  overflow: hidden;
}

.event-card-img>div,
.event-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}

.event-card:hover .event-card-img>div {
  transform: scale(1.05);
}

.event-card-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
}

.event-card-fav {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(255, 255, 255, .9);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  border: none;
  transition: background .2s;
}

.event-card-fav:hover {
  background: #fff;
}

.event-card-body {
  padding: 14px;
}

.event-card-location {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.event-card-location svg {
  width: 12px;
  height: 12px;
  fill: var(--text-muted);
}

.event-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.4;
}

.event-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.event-price {
  font-size: 15px;
  font-weight: 800;
  color: var(--primary);
}

.event-price .currency {
  font-size: 12px;
  font-weight: 600;
}

.event-date {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

.event-date svg {
  width: 12px;
  height: 12px;
  fill: var(--text-muted);
}

/* â”€â”€ Events Grid â”€â”€ */
.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* â”€â”€ Events grid â€” Tablet â”€â”€ */
@media (max-width: 900px) {
  .events-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

/* â”€â”€ Events grid â€” Mobile: horizontal scroll carousel â”€â”€ */
@media (max-width: 640px) {
  .events-grid {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    gap: 14px;
    padding-bottom: 8px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    /* Snap scrolling for a polished feel */
    scroll-snap-type: x mandatory;
  }

  .events-grid::-webkit-scrollbar {
    display: none;
  }

  .events-grid .event-card {
    flex: 0 0 78vw;
    /* card takes ~78% of screen width */
    max-width: 300px;
    scroll-snap-align: start;
  }

  /* Override for listing pages: keep them as a vertical stack */
  .events-listing-layout .events-grid,
  .layout .events-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    padding-bottom: 0;
  }

  .events-listing-layout .events-grid .event-card,
  .layout .events-grid .event-card {
    flex: none;
    max-width: 100%;
  }
}


/* â”€â”€ Buttons â”€â”€ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 25px;
  padding: 11px 26px;
  font-family: 'Cairo', sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-light);
}

.btn-accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 16px rgba(230, 57, 70, .3);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(230, 57, 70, .45);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-outline-white {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, .5);
  color: #fff;
}

.btn-outline-white:hover {
  border-color: #fff;
}

.btn-whatsapp {
  background: #25d366;
  color: #fff;
  border: none;
  border-radius: 25px;
  padding: 11px 24px;
  font-family: 'Cairo', sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background .2s;
}

.btn-whatsapp:hover {
  background: #1da851;
}

.btn-call {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .5);
  border-radius: 25px;
  padding: 11px 24px;
  font-family: 'Cairo', sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color .2s;
}

.btn-call:hover {
  border-color: #fff;
}

.btn-sm {
  padding: 7px 18px;
  font-size: 13px;
}

.btn-lg {
  padding: 14px 36px;
  font-size: 16px;
}

.btn-block {
  width: 100%;
}

/* â”€â”€ Forms â”€â”€ */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.form-control {
  width: 100%;
  padding: 11px 16px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Cairo', sans-serif;
  font-size: 14px;
  color: var(--text);
  outline: none;
  transition: border-color .2s;
  direction: rtl;
}

.form-control:focus {
  border-color: var(--primary);
  background: #fff;
}

.form-control::placeholder {
  color: #9ca3af;
}

.form-hint {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 5px;
}

.form-error {
  font-size: 12px;
  color: var(--accent);
  margin-top: 5px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.input-icon-wrap {
  position: relative;
}

.input-icon-wrap .input-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 14px;
  width: 18px;
  height: 18px;
  fill: #9ca3af;
}

.input-icon-wrap .form-control {
  padding-right: 42px;
}

/* â”€â”€ Badges â”€â”€ */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
}

.badge-primary {
  background: #dbeafe;
  color: var(--primary);
}

.badge-accent {
  background: #fee2e2;
  color: #dc2626;
}

.badge-gold {
  background: #fef3c7;
  color: #92400e;
}

.badge-green {
  background: #dcfce7;
  color: #166534;
}

/* â”€â”€ Pagination â”€â”€ */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 36px 0;
}

.page-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--white);
  font-family: 'Cairo', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: all .2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.page-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.page-btn.disabled {
  opacity: .4;
  cursor: default;
}

/* â”€â”€ Tags / Filters â”€â”€ */
.filter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.filter-tag {
  padding: 6px 16px;
  border-radius: 20px;
  font-family: 'Cairo', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--text-muted);
  transition: all .2s;
}

.filter-tag:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.filter-tag.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* â”€â”€ Why / Feature Cards â”€â”€ */
.why-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.why-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #eef3ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.why-icon svg {
  width: 30px;
  height: 30px;
  fill: var(--primary);
}

.why-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.why-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* â”€â”€ Support Banner â”€â”€ */
.support-section {
  background: linear-gradient(135deg, #1a3b6e 0%, #2a5298 100%);
  padding: 40px 0;
}

.support-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.support-text {
  color: #fff;
}

.support-text h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 6px;
}

.support-text p {
  font-size: 15px;
  color: #a0b4d6;
}

.support-info {
  text-align: center;
  color: #fff;
}

.support-info .phone {
  font-size: 22px;
  font-weight: 800;
  direction: ltr;
  display: block;
  margin-bottom: 4px;
}

.support-info .hours {
  font-size: 13px;
  color: #a0b4d6;
}

.support-actions {
  display: flex;
  gap: 12px;
}

/* â”€â”€ Footer â”€â”€ */
footer {
  background: var(--primary);
  color: #cdd9f5;
  padding: 50px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo-text {
  color: #fff;
  font-size: 26px;
}

.footer-brand p {
  font-size: 13px;
  line-height: 1.8;
  color: #8ba4cc;
  margin: 14px 0 20px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cdd9f5;
  text-decoration: none;
  font-size: 14px;
  transition: background .2s;
}

.social-btn:hover {
  background: rgba(255, 255, 255, .25);
  color: #fff;
}

.footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  text-decoration: none;
  color: #8ba4cc;
  font-size: 13px;
  transition: color .2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-col ul li a::before {
  content: '›';
  font-size: 16px;
  color: var(--gold);
}

.footer-col ul li a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 12px;
  color: #5a7aaa;
}

.payment-methods {
  display: flex;
  align-items: center;
  gap: 10px;
}

.payment-label {
  font-size: 12px;
  color: #5a7aaa;
}

.payment-badge {
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 6px;
  padding: 5px 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .03em;
}

/* VISA */
.payment-badge.visa {
  color: #1434CB;
}

/* Mastercard */
.payment-badge.mastercard {
  color: #EB001B;
}

/* Apple Pay */
.payment-badge.apple-pay {
  color: #000;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
}

/* Google Pay */
.payment-badge.google-pay {
  color: #4285F4;
}

.powered-by {
  font-size: 11px;
  color: #5a7aaa;
  display: flex;
  align-items: center;
  gap: 4px;
}

.powered-by a {
  color: #8ba4cc;
  text-decoration: none;
}

/* â”€â”€ Sidebar â”€â”€ */
.sidebar-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}

.sidebar-card h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.sidebar-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  cursor: pointer;
}

.sidebar-option input[type="checkbox"],
.sidebar-option input[type="radio"] {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
  cursor: pointer;
}

.sidebar-option label {
  font-size: 14px;
  cursor: pointer;
  flex: 1;
}

.sidebar-option .count {
  font-size: 12px;
  color: var(--text-muted);
}

/* â”€â”€ Alert / Notice â”€â”€ */
.alert {
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 14px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.alert-info {
  background: #dbeafe;
  color: #1e40af;
  border-right: 4px solid #3b82f6;
}

.alert-success {
  background: #dcfce7;
  color: #166534;
  border-right: 4px solid #22c55e;
}

.alert-warning {
  background: #fef3c7;
  color: #92400e;
  border-right: 4px solid #f59e0b;
}

.alert-error {
  background: #fee2e2;
  color: #991b1b;
  border-right: 4px solid #ef4444;
}

/* â”€â”€ Divider â”€â”€ */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 24px 0;
}

.divider-text {
  text-align: center;
  position: relative;
  margin: 24px 0;
  color: var(--text-muted);
  font-size: 13px;
}

.divider-text::before {
  content: '';
  position: absolute;
  top: 50%;
  right: 0;
  width: calc(50% - 30px);
  height: 1px;
  background: var(--border);
}

.divider-text::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: calc(50% - 30px);
  height: 1px;
  background: var(--border);
}

/* â”€â”€ Stars â”€â”€ */
.stars {
  color: var(--gold);
  font-size: 16px;
  letter-spacing: 2px;
}

/* â”€â”€ Card generic â”€â”€ */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.card-body {
  padding: 20px;
}

.card-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  font-weight: 700;
  font-size: 16px;
}

.card-footer {
  padding: 14px 20px;
  border-top: 1px solid var(--border);
  background: #f9fafb;
}

/* â”€â”€ Step Indicator â”€â”€ */
.steps {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 36px;
}

.step {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.step-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--border);
  color: var(--text-muted);
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all .3s;
}

.step.active .step-circle {
  background: var(--primary);
  color: #fff;
}

.step.done .step-circle {
  background: #22c55e;
  color: #fff;
}

.step-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.step.active .step-label,
.step.done .step-label {
  color: var(--text);
}

.step-line {
  flex: 1;
  height: 2px;
  background: var(--border);
  margin: 0 8px;
}

.step.done .step-line {
  background: #22c55e;
}

/* â”€â”€ Quantity Control â”€â”€ */
.qty-control {
  display: flex;
  align-items: center;
  gap: 12px;
}

.qty-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--white);
  font-size: 20px;
  font-weight: 300;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: all .2s;
}

.qty-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.qty-value {
  font-size: 18px;
  font-weight: 700;
  min-width: 30px;
  text-align: center;
}

/* â”€â”€ Radio Cards â”€â”€ */
.radio-card {
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  cursor: pointer;
  transition: border-color .2s;
}

.radio-card:hover {
  border-color: var(--primary-light);
}

.radio-card.selected {
  border-color: var(--primary);
  background: #f0f4ff;
}

.radio-card input {
  display: none;
}

/* â”€â”€ Table â”€â”€ */
.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th {
  background: #f9fafb;
  padding: 12px 16px;
  text-align: right;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

td {
  padding: 14px 16px;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

tr:last-child td {
  border-bottom: none;
}

tr:hover td {
  background: #f9fafb;
}

/* â”€â”€ Profile Tabs â”€â”€ */
.profile-tabs {
  display: flex;
  border-bottom: 2px solid var(--border);
  margin-bottom: 28px;
  gap: 0;
}

.profile-tab {
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: all .2s;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.profile-tab:hover {
  color: var(--primary);
}

.profile-tab.active {
  color: var(--primary);
  border-bottom-color: var(--accent);
}

.profile-tab svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* â”€â”€ Toast Notification â”€â”€ */
.toast {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 9999;
  background: var(--text);
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 14px 22px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .2);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: slideUp .3s ease;
}

.toast.success {
  background: #166534;
}

.toast.error {
  background: #991b1b;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* â”€â”€ Events Listing Layout â”€â”€ */
.events-listing-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  padding: 28px 0 50px;
}

.events-sidebar {
  /* sidebar column */
}

.events-main {
  min-width: 0;
}

.events-sort-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}

.events-count {
  font-size: 14px;
  color: var(--text-muted);
}

.events-count strong {
  color: var(--text);
}

.sort-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}

.results-count {
  font-size: 14px;
  color: var(--text-muted);
}

.results-count strong {
  color: var(--text);
}

.sort-select {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 7px 14px;
  font-family: 'Cairo', sans-serif;
  font-size: 13px;
  color: var(--text);
  outline: none;
  cursor: pointer;
}

/* â”€â”€ Sidebar Sections â”€â”€ */
.sidebar-section {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.sidebar-section:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.sidebar-section h4 {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 10px;
}

.sidebar-check,
.sidebar-radio {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.4;
}

.sidebar-check input,
.sidebar-radio input {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
  cursor: pointer;
  flex-shrink: 0;
}

/* â”€â”€ pg-btn (pagination alias) â”€â”€ */
.pg-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--white);
  font-family: 'Cairo', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: all .2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pg-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.pg-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* â”€â”€ Lang Wrapper / Dropdown â”€â”€ */
.lang-wrapper {
  position: relative;
  display: inline-flex;
}

.btn-lang {
  background: transparent;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  color: var(--text);
  transition: border-color .2s, color .2s;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: 'Cairo', sans-serif;
}

.btn-lang:hover,
.lang-wrapper:hover .btn-lang {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-lang svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex-shrink: 0;
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-hover);
  display: none;
  flex-direction: column;
  min-width: 140px;
  z-index: 2000;
  /* Instead of hidden, we shouldn't clip in case we need shadows or pseudo elements */
}

/* Invisible bridge to prevent hover loss when moving mouse down */
.lang-dropdown::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 8px;
  background: transparent;
}


.lang-wrapper:hover .lang-dropdown {
  display: flex;
}

.lang-dropdown a {
  padding: 9px 16px;
  text-decoration: none;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  transition: background .15s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-dropdown a:hover {
  background: var(--bg);
  color: var(--primary);
}

.lang-dropdown a.active {
  background: var(--bg);
  color: var(--primary);
  font-weight: 800;
}

.lang-dropdown a .lang-flag {
  font-size: 15px;
}

/* â”€â”€ Lang Dropdown â€” Tabs â”€â”€ */
.lang-dropdown {
  min-width: 200px;
}

.ld-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  padding: 8px 8px 0;
  gap: 4px;
}

.ld-tab {
  flex: 1;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 7px 4px;
  font-family: 'Cairo', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: color .15s, border-color .15s;
  border-radius: 6px 6px 0 0;
  margin-bottom: -1px;
  white-space: nowrap;
}

.ld-tab:hover {
  color: var(--primary);
}

.ld-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  background: var(--bg);
}

.ld-panel {
  display: flex;
  flex-direction: column;
}

/* â”€â”€ Search Wrapper / Dropdown â”€â”€ */
html {
  overflow-x: hidden;
}

@media (max-width: 640px) {
  .search-wrapper {
    order: 3;
    flex: none;
    width: 100%;
    max-width: 100%;
  }
}

.search-wrapper {
  position: relative;
  flex: 1;
  max-width: 480px;
}



.search-wrapper .search-bar {
  width: 100%;
  max-width: 100%;
}

.search-wrapper.open .search-bar {
  border-color: var(--primary);
  border-radius: 16px 16px 0 0;
  box-shadow: 0 0 0 3px rgba(26, 59, 110, .08);
}

.search-dropdown {
  display: none;
  position: absolute;
  top: calc(100% - 2px);
  right: 0;
  left: 0;
  background: #fff;
  border: 1.5px solid var(--primary);
  border-top: none;
  border-radius: 0 0 16px 16px;
  box-shadow: 0 12px 32px rgba(26, 59, 110, .14);
  z-index: 2000;
  max-height: 420px;
  overflow-y: auto;
  padding: 8px 0 12px;
}

.search-wrapper.open .search-dropdown {
  display: block;
}

.sd-section {
  padding: 0 14px;
}

.sd-heading {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 10px 0 6px;
}

.sd-heading svg {
  width: 13px;
  height: 13px;
  fill: var(--text-muted);
  flex-shrink: 0;
}

.sd-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.sd-tag {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: all .15s;
  white-space: nowrap;
}

.sd-tag:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

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

.sd-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 4px;
  border-radius: 8px;
  cursor: pointer;
  transition: background .15s;
}

.sd-item:hover {
  background: var(--bg);
}

.sd-item-icon {
  font-size: 20px;
  flex-shrink: 0;
  width: 32px;
  text-align: center;
}

.sd-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.sd-item-info strong {
  font-size: 13px;
  color: var(--text);
}

.sd-item-info span {
  font-size: 11px;
  color: var(--text-muted);
}

.sd-item-price {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}

.sd-item mark {
  background: #fef9c3;
  border-radius: 2px;
  padding: 0 1px;
  font-style: normal;
}

.sd-view-all {
  display: block;
  text-align: center;
  margin: 8px 14px 0;
  background: var(--bg);
  border-radius: 8px;
  padding: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  transition: background .15s;
}

.sd-view-all:hover {
  background: var(--primary);
  color: #fff;
}

.sd-empty {
  padding: 16px;
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
}

/* â”€â”€ Hero Section â”€â”€ */
.hero-section {
  padding: 28px 0 0;
  overflow: hidden;
}

.hero-filters {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.hero-filters-label {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-filters-label svg {
  width: 18px;
  height: 18px;
  fill: var(--primary);
}

.filter-tabs {
  display: flex;
  gap: 8px;
}

.filter-tab {
  padding: 7px 18px;
  border-radius: 20px;
  font-family: 'Cairo', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--text-muted);
  transition: all .2s;
  display: flex;
  align-items: center;
  gap: 5px;
}

.filter-tab:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.filter-tab.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.filter-tab svg {
  width: 14px;
  height: 14px;
}

/* â”€â”€ Hero Banner / Carousel â”€â”€ */
.hero-banner {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 340px;
  background: linear-gradient(135deg, #0d1b4b 0%, #1a3b6e 50%, #0a4a6e 100%);
  display: flex;
  align-items: center;
  margin-bottom: 40px;
}

.hero-banner-content {
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  text-align: right;
  z-index: 3;
}

.hero-banner-content .subtitle {
  font-size: 13px;
  font-weight: 500;
  color: #a0b4d6;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.hero-banner-content h1 {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 8px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .3);
}

.hero-banner-content h1 span {
  color: var(--gold);
}

.hero-banner-content p {
  font-size: 16px;
  color: #cdd9f5;
  margin-bottom: 20px;
}

.hero-btn {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 25px;
  padding: 12px 32px;
  font-family: 'Cairo', sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 16px rgba(230, 57, 70, .4);
  text-decoration: none;
  display: inline-block;
}

.hero-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(230, 57, 70, .5);
}

.hero-banner-decor {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: .07;
  background-image: radial-gradient(circle at 20% 50%, #fff 1px, transparent 1px),
    radial-gradient(circle at 80% 20%, #fff 1px, transparent 1px),
    radial-gradient(circle at 50% 80%, #fff 1px, transparent 1px);
  background-size: 40px 40px, 60px 60px, 50px 50px;
}

.hero-slides {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity .7s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to left, rgba(5, 15, 50, .88) 25%, rgba(5, 15, 50, .5) 60%, rgba(5, 15, 50, .1) 100%);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, .2);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .3);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  transition: background .2s;
  z-index: 5;
}

.carousel-btn:hover {
  background: rgba(255, 255, 255, .35);
}

.carousel-btn.prev {
  right: 16px;
}

.carousel-btn.next {
  left: 16px;
}

.carousel-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 5;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .4);
  cursor: pointer;
  transition: background .2s;
}

.carousel-dot.active {
  background: #fff;
  width: 20px;
  border-radius: 4px;
}

/* â”€â”€ Events Section â”€â”€ */
.events-section {
  padding: 0 0 40px;
}

/* â”€â”€ Categories Section â”€â”€ */
.categories-section {
  background: var(--white);
  padding: 36px 0;
  margin-bottom: 40px;
}

.categories-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.categories-scroll::-webkit-scrollbar {
  display: none;
}

.category-card {
  flex-shrink: 0;
  width: 180px;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  height: 200px;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.category-card-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .8) 0%, transparent 100%);
  padding: 16px 12px 12px;
  color: #fff;
  text-align: center;
}

.category-card-overlay span {
  font-size: 14px;
  font-weight: 700;
  display: block;
}

.cat-1 {
  background: linear-gradient(135deg, #6c3483, #9b59b6);
}

.cat-2 {
  background: linear-gradient(135deg, #154360, #2980b9);
}

.cat-3 {
  background: linear-gradient(135deg, #145a32, #27ae60);
}

.cat-4 {
  background: linear-gradient(135deg, #7b241c, #e74c3c);
}

.cat-5 {
  background: linear-gradient(135deg, #784212, #f39c12);
}

.cat-6 {
  background: linear-gradient(135deg, #1a5276, #2e86c1);
}

/* â”€â”€ Week Section â”€â”€ */
.week-section {
  padding: 0 0 40px;
}

.week-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.week-scroll::-webkit-scrollbar {
  display: none;
}

.week-card {
  flex-shrink: 0;
  width: 260px;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  height: 180px;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}

.week-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.week-card-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.week-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .85) 0%, transparent 100%);
  padding: 14px 14px 12px;
  color: #fff;
}

.week-card-overlay .week-title {
  font-size: 15px;
  font-weight: 700;
}

.week-card-overlay .week-date {
  font-size: 12px;
  color: #cdd9f5;
  margin-top: 4px;
}

.wk-1 {
  background: linear-gradient(135deg, #1a3b6e, #6c3483);
}

.wk-2 {
  background: linear-gradient(135deg, #7b4f00, #c0392b);
}

.wk-3 {
  background: linear-gradient(135deg, #0a4a4a, #16a085);
}

.wk-4 {
  background: linear-gradient(135deg, #2c3e50, #34495e);
}

/* â”€â”€ App Promo Section â”€â”€ */
.app-section {
  background: linear-gradient(135deg, var(--primary) 0%, #2a5298 100%);
  padding: 60px 0;
  margin-bottom: 40px;
}

.app-inner {
  display: flex;
  align-items: center;
  gap: 60px;
}

.app-text {
  flex: 1;
  color: #fff;
}

.app-text h2 {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 12px;
}

.app-text p {
  font-size: 16px;
  color: #a0b4d6;
  margin-bottom: 28px;
}

.app-badges {
  display: flex;
  gap: 12px;
}

.store-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #000;
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 10px 18px;
  text-decoration: none;
  transition: opacity .2s;
  border: 1px solid rgba(255, 255, 255, .2);
}

.store-badge:hover {
  opacity: .85;
}

.store-badge svg {
  width: 24px;
  height: 24px;
  fill: #fff;
}

.store-badge-text {
  line-height: 1.2;
}

.store-badge-text small {
  font-size: 11px;
  color: #9ca3af;
  display: block;
}

.store-badge-text span {
  font-size: 15px;
  font-weight: 700;
}

.app-mockup {
  flex-shrink: 0;
  width: 220px;
  text-align: center;
}

.app-mockup-phone {
  width: 160px;
  height: 300px;
  background: rgba(255, 255, 255, .12);
  border-radius: 30px;
  border: 2px solid rgba(255, 255, 255, .25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  color: rgba(255, 255, 255, .8);
}

.app-mockup-phone .phone-logo {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
}

.app-mockup-phone .phone-logo span {
  color: var(--gold);
}

/* â”€â”€ Why Section â”€â”€ */
.why-section {
  padding: 0 0 50px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* â”€â”€ Deals Section â”€â”€ */
.deals-section {
  padding: 60px 0;
  background: linear-gradient(180deg, #f5f7fa 0%, #eef1f8 100%);
}

.deals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 28px;
}

.deal-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(26, 59, 110, .08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s, box-shadow .25s;
  position: relative;
}

.deal-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(26, 59, 110, .15);
}

.deal-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

.deal-badge-gold {
  background: var(--gold);
  color: #1a1a2e;
}

.deal-badge-green {
  background: #16a34a;
}

.deal-img {
  height: 210px;
  background-size: cover;
  background-position: center;
  background-color: #dde3f0;
}

.deal-body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.deal-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .5px;
}

.deal-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
  margin: 0;
}

.deal-venue {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

.deal-prices {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.deal-old-price {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: line-through;
}

.deal-new-price {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
}

.deal-discount {
  background: #fef2f2;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
}

.deal-countdown {
  background: #f0f4ff;
  border-radius: 10px;
  padding: 10px 12px;
  margin-top: 4px;
}

.cd-label {
  font-size: 11px;
  color: var(--text-muted);
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}

.cd-blocks {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cd-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 36px;
}

.cd-num {
  background: var(--primary);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  padding: 5px 8px;
  border-radius: 6px;
  min-width: 36px;
  text-align: center;
  font-variant-numeric: tabular-nums;
  transition: transform .15s;
}

.cd-num.flip {
  transform: scale(1.15);
}

.cd-unit {
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 3px;
  font-weight: 600;
}

.cd-sep {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  padding-bottom: 14px;
}

.deal-countdown.expired .cd-num {
  background: #9ca3af;
}

.deal-countdown.expired .cd-label::after {
  content: ' (Ø§Ù†ØªÙ‡Ù‰ Ø§Ù„Ø¹Ø±Ø¶)';
  color: var(--accent);
}

.deal-btn {
  margin-top: auto;
  text-align: center;
}

.deal-hot .deal-countdown {
  background: #fff5f5;
}

.deal-hot .cd-num {
  background: var(--accent);
}

.deal-hot .cd-sep {
  color: var(--accent);
}

/* â”€â”€ Responsive (index-specific additions) â”€â”€ */
@media (max-width: 900px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .deals-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  nav {
    overflow: hidden;
  }

  .nav-inner {
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 2px;
  }

  .nav-inner::-webkit-scrollbar {
    display: none;
  }

  .nav-inner a {
    padding: 12px 14px;
    font-size: 13px;
    flex-shrink: 0;
  }

  .hero-filters {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    overflow: hidden;
  }

  .filter-tabs {
    overflow-x: auto;
    width: 100%;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
  }

  .filter-tabs::-webkit-scrollbar {
    display: none;
  }

  .filter-tab {
    flex-shrink: 0;
    padding: 6px 14px;
    font-size: 12px;
  }

  .why-grid {
    grid-template-columns: 1fr 1fr;
  }

  .header-inner {
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 0;
    align-items: center;
  }

  .search-bar {
    order: 3;
    flex: none;
    width: 100%;
    max-width: 100%;
  }

  .header-actions {
    display: none;
  }

  .header-icons {
    display: flex;
    order: 2;
    margin-right: auto;
  }

  .hero-banner-content h1 {
    font-size: 20px;
  }

  .app-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  /* Footer â€” mobile */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-brand {
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-col {
    text-align: center;
  }

  .footer-col ul li a {
    justify-content: center;
  }

  .footer-col ul li a::before {
    display: none;
  }

  footer {
    padding: 36px 0 0;
  }

  /* Support section â€” mobile */
  .support-inner {
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 20px;
  }

  .support-actions {
    flex-wrap: wrap;
    justify-content: center;
  }

  .deals-grid {
    grid-template-columns: 1fr;
  }
}

/* â”€â”€ Footer â€” Tablet (768px) â”€â”€ */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* â”€â”€ Global Bottom Sheet Filter UI for Mobile â”€â”€ */
.filter-overlay {
  display: none;
}

.filter-toggle-btn {
  display: none;
}

@media (max-width: 900px) {

  .events-listing-layout,
  .layout,
  .detail-layout {
    grid-template-columns: 1fr !important;
  }

  /* Override for listing pages: keep them as a vertical stack */
  .events-listing-layout .events-grid,
  .layout .events-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    padding-bottom: 0 !important;
  }

  .events-listing-layout .events-grid .event-card,
  .layout .events-grid .event-card {
    flex: none !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  .filter-toggle-btn {
    display: flex !important;
    position: fixed !important;
    bottom: 24px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 10001 !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: auto;
    min-width: 150px;
    background: #1a3b6e !important;
    color: #fff;
    border: none;
    border-radius: 25px;
    padding: 10px 20px;
    font-family: 'Cairo', sans-serif;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(26, 59, 110, 0.4);
    margin-bottom: 0;
  }

  .filter-toggle-btn svg {
    fill: #fff;
  }

  .filter-overlay {
    display: block !important;
    position: fixed !important;
    inset: 0 !important;
    background: rgba(0, 0, 0, 0.5) !important;
    z-index: 10000 !important;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .filter-overlay.show {
    opacity: 1 !important;
    visibility: visible !important;
  }

  .events-sidebar,
  aside {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    background: #fff !important;
    z-index: 10002 !important;
    /* higher than overlay */
    max-height: 85vh !important;
    overflow-y: auto !important;
    border-radius: 20px 20px 0 0 !important;
    transform: translateY(100%) !important;
    transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1) !important;
    padding: 20px 20px 40px !important;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15) !important;
    box-sizing: border-box !important;
  }

  .events-sidebar.show-sheet,
  aside.show-sheet {
    transform: translateY(0) !important;
  }

  .events-sidebar .filter-panel,
  aside .sidebar-card,
  aside .sidebar-card {
    box-shadow: none !important;
    border-radius: 20px 20px 0 0 !important;
    margin-bottom: 0 !important;
    border: none !important;
  }

  .events-sidebar::before,
  aside::before {
    content: '';
    display: block;
    width: 40px;
    height: 5px;
    background: #cbd5e1;
    border-radius: 4px;
    margin: 0 auto 16px auto;
  }
}
/* ————— Modal System (Rich Aesthetics) ————— */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(13, 27, 75, 0.6);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: var(--white);
  width: 100%;
  max-width: 540px;
  max-height: 90vh;
  border-radius: 24px;
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
}

.modal-overlay.active .modal-container {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: rotate(90deg);
}

.modal-content {
  height: 100%;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) transparent;
}

.modal-content::-webkit-scrollbar {
  width: 6px;
}

.modal-content::-webkit-scrollbar-thumb {
  background-color: var(--primary);
  border-radius: 10px;
}

/* Specific adjustment for register form in modal */
.modal-content .auth-card {
  box-shadow: none;
  border-radius: 0;
}

.modal-content .auth-page {
  padding: 0;
  min-height: auto;
}

.modal-content .auth-header {
  padding-top: 40px;
}

/* ──── Notification Wrapper / Dropdown ──── */
.notification-wrapper {
  position: relative;
  display: inline-flex;
}

.notification-btn {
  position: relative;
}

.notification-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--white);
}

.notification-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-hover);
  display: none;
  flex-direction: column;
  min-width: 320px;
  z-index: 2000;
  max-height: 420px;
  overflow-y: auto;
}

/* Invisible bridge to prevent hover loss when moving mouse down */
.notification-dropdown::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 8px;
  background: transparent;
}

.notification-wrapper:hover .notification-dropdown {
  display: flex;
}

.nd-header {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
}

.nd-list {
  display: flex;
  flex-direction: column;
}

.nd-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 12px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background .15s;
  position: relative;
}

.nd-item:last-child {
  border-bottom: none;
}

.nd-item:hover {
  background: var(--bg);
}

.nd-item.unread::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--primary);
  border-radius: 0 2px 2px 0;
}

.nd-item.unread {
  background: rgba(26, 59, 110, .02);
}

.nd-item-icon {
  font-size: 24px;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--bg);
}

.nd-item-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nd-item-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

.nd-item-time {
  font-size: 12px;
  color: var(--text-muted);
}

.nd-view-all {
  display: block;
  text-align: center;
  padding: 12px 16px;
  background: transparent;
  border-top: 1px solid var(--border);
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  transition: background .15s;
}

.nd-view-all:hover {
  background: var(--bg);
  color: var(--primary);
}

.notification-wrapper.open .notification-dropdown {
  display: flex;
}
