/* ===== CSS Variables ===== */
:root {
  --primary-color: #44c146;
  --primary-hover: #3aab3c;
  --muted-gray: #958f9f;
  --brand-gradient: linear-gradient(142.56deg, #913aff -1.68%, #44c146 62.12%);

  /* Dark Theme (Default) */
  --bg-primary: #0d0d0d;
  --bg-secondary: #1a1a2e;
  --bg-card: #16213e;
  --bg-input: #1a1a2e;
  --text-primary: #ffffff;
  --text-secondary: #b8b8b8;
  --text-muted: #6c6c6c;
  --border-color: #2d2d44;
  --shadow-color: rgba(0, 0, 0, 0.3);
}

[data-theme="light"] {
  --bg-primary: #f5f5f7;
  --bg-secondary: #ffffff;
  --bg-card: #ffffff;
  --bg-input: #f0f0f5;
  --text-primary: #1a1a2e;
  --text-secondary: #4a4a5a;
  --text-muted: #8a8a9a;
  --border-color: #e0e0e5;
  --shadow-color: rgba(0, 0, 0, 0.1);
}

/* ===== Base Styles ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
  padding-bottom: 0;
}

@media (max-width: 991px) {
  body {
    padding-bottom: 70px;
  }
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
}

/* ===== Logo Styles ===== */
.brand-logo {
  height: 36px;
  width: auto;
}

.brand-logo-sm {
  height: 28px;
  width: auto;
}

.brand-logo-xs {
  height: 20px;
  width: auto;
}

/* ===== Announcement Bar ===== */
.announcement-bar {
  background: var(--brand-gradient);
  color: white;
  text-align: center;
  padding: 8px 40px 8px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  position: relative;
}

.btn-close-announce {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0.8;
}

.btn-close-announce:hover {
  opacity: 1;
}

/* ===== Table ===== */
/* Table Styling for Theme Support */
.table {
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  border-color: var(--border-color);
}

.table th,
.table td {
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  border-color: var(--border-color);
}

.table thead th {
  background-color: var(--bg-card);
  color: var(--text-primary);
  border-bottom: 2px solid var(--border-color);
}

.table tbody tr:hover {
  background-color: var(--bg-card);
}

.badge.bg-success {
  background-color: #28a745 !important;
  color: #ffffff;
}

.badge.bg-warning {
  background-color: #ffc107 !important;
  color: #000000;
}

/* Icons color adjustment */
.table i {
  color: var(--primary-color);
}

/* ===== Navbar ===== */
.navbar {
  background-color: var(--bg-secondary);
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--text-primary);
}

.brand-text {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Search container */
.search-container {
  display: flex;
  align-items: center;
  background-color: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 8px 16px;
  flex: 1;
  max-width: 400px;
  margin: 0 20px;
  position: relative;
}

.search-container i {
  color: var(--muted-gray);
  margin-right: 10px;
}

.search-input {
  background: none;
  border: none;
  outline: none;
  color: var(--text-primary);
  width: 100%;
  font-size: 0.9rem;
}

.search-input::placeholder {
  color: var(--muted-gray);
}

/* Search Suggestions Box */
.search-suggestions {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: 0 10px 40px var(--shadow-color);
  padding: 12px 0;
  display: none;
  z-index: 1001;
  max-height: 400px;
  overflow-y: auto;
}

.search-suggestions.show {
  display: block;
}

.suggestions-header {
  padding: 8px 16px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted-gray);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.suggestion-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  color: var(--text-primary);
  transition: background 0.2s ease;
}

.suggestion-item:hover {
  background: var(--bg-input);
  color: var(--primary-color);
}

.suggestion-item img {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  object-fit: cover;
}

.suggestion-item span {
  font-size: 0.9rem;
}

.suggestions-footer {
  padding: 12px 16px 4px;
  border-top: 1px solid var(--border-color);
  margin-top: 8px;
}

.suggestions-footer a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--primary-color);
  font-size: 0.85rem;
  font-weight: 600;
}

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

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background-color: var(--bg-input);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-size: 1.1rem;
  cursor: pointer;
  position: relative;
}

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

/* Dropdown custom toggle */
.dropdown-toggle-custom {
  position: relative;
}

.dropdown-toggle-custom::after {
  display: none;
}

/* Account Dropdown Styles */
.account-dropdown {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 8px 0;
  min-width: 260px;
  box-shadow: 0 10px 40px var(--shadow-color);
  margin-top: 8px;
}

.account-dropdown .dropdown-header {
  padding: 12px 16px;
  background: transparent;
}

.account-dropdown .user-preview {
  display: flex;
  align-items: center;
  gap: 12px;
}

.account-dropdown .user-avatar-sm {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
}

.account-dropdown .user-name {
  display: block;
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.account-dropdown .user-email {
  display: block;
  font-size: 0.8rem;
  color: var(--muted-gray);
}

.account-dropdown .dropdown-divider {
  border-color: var(--border-color);
  margin: 4px 0;
}

.account-dropdown .dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  color: var(--text-primary);
  font-size: 0.9rem;
}

.account-dropdown .dropdown-item i {
  width: 18px;
  color: var(--muted-gray);
}

.account-dropdown .dropdown-item:hover {
  background: var(--bg-input);
  color: var(--primary-color);
}

.account-dropdown .dropdown-item:hover i {
  color: var(--primary-color);
}

.account-dropdown .dropdown-item.text-danger {
  color: #dc3545;
}

.account-dropdown .dropdown-item.text-danger:hover {
  background: rgba(220, 53, 69, 0.1);
  color: #dc3545;
}

.account-dropdown .dropdown-item .badge {
  font-size: 0.7rem;
  padding: 2px 6px;
}

.notification-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background: #ff4757;
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Theme Toggle */
.theme-toggle .theme-icon-light {
  display: none;
}

.theme-toggle .theme-icon-dark {
  display: block;
}

[data-theme="light"] .theme-toggle .theme-icon-light {
  display: block;
}

[data-theme="light"] .theme-toggle .theme-icon-dark {
  display: none;
}

.navbar-toggler {
  border: none;
  background: var(--bg-input);
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--text-primary);
}

/* ===== Offcanvas Menu ===== */
.offcanvas {
  background-color: var(--bg-secondary);
  color: var(--text-primary);
}

.offcanvas-header {
  border-bottom: 1px solid var(--border-color);
}

.btn-close {
  filter: invert(1);
}

[data-theme="light"] .btn-close {
  filter: none;
}

/* Mobile search */
.mobile-search .search-container {
  margin: 0;
  max-width: 100%;
}

.mobile-search .search-suggestions {
  position: relative;
  top: 8px;
  box-shadow: none;
  border-radius: 8px;
}

.mobile-nav .nav-link {
  color: var(--text-primary);
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-nav .nav-link:hover,
.mobile-nav .nav-link.active {
  background-color: var(--primary-color);
  color: white;
}

/* Bottom Navigation */
.bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 8px 0;
  z-index: 1000;
  justify-content: space-around;
  align-items: center;
}

@media (max-width: 991px) {
  .bottom-nav {
    display: flex;
  }
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.7rem;
  position: relative;
  transition: all 0.2s ease;
}

.bottom-nav-item i {
  font-size: 1.3rem;
}

.bottom-nav-item.active,
.bottom-nav-item:hover {
  color: var(--primary-color);
}

.bottom-nav-item.active i {
  transform: scale(1.1);
}

.bottom-nav-badge {
  position: absolute;
  top: 0;
  right: 4px;
  background: #ff4757;
  color: white;
  font-size: 0.6rem;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== Hero Section ===== */
.hero-section {
  padding: 24px 0;
}

/* Redesigned carousel with modern indicators */
.hero-carousel {
  position: relative;
}

.hero-banner {
  background: var(--bg-card);
  border-radius: 16px;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Added image banner styles */
.hero-banner.image-banner {
  padding: 0;
  background: transparent;
}

.hero-banner .banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  min-height: 220px;
  max-height: 350px;
}

.gradient-banner {
  background: linear-gradient(135deg, #1a1a2e 0%, #2d1b4e 50%, #1a1a2e 100%);
  border: 1px solid var(--border-color);
}

.offer-banner {
  background: linear-gradient(135deg, #2d1b1b 0%, #4e1b1b 50%, #2d1b1b 100%);
}

.referral-banner {
  background: linear-gradient(135deg, #1b2d1b 0%, #1b4e2d 50%, #1b2d1b 100%);
}

.gift-banner {
  background: linear-gradient(135deg, #2d2a1b 0%, #4e3f1b 50%, #2d2a1b 100%);
}

.esports-banner {
  background: linear-gradient(135deg, #1b1f2d 0%, #1b334e 50%, #1b1f2d 100%);
}

.banner-content {
  z-index: 2;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-secondary);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.banner-content h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.banner-content p {
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 600;
}

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

.floating-coins {
  position: absolute;
  right: 100px;
  top: 50%;
  transform: translateY(-50%);
}

.coin {
  font-size: 2.5rem;
  position: absolute;
  animation: float 3s ease-in-out infinite;
}

.coin-1 {
  top: -40px;
  left: 0;
  animation-delay: 0s;
}

.coin-2 {
  top: 0;
  left: 60px;
  animation-delay: 0.5s;
}

.coin-3 {
  top: 40px;
  left: 20px;
  animation-delay: 1s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* Hide default carousel indicators */
.carousel-indicators {
  display: none;
}

/* Custom Carousel Indicators */
.carousel-indicators-custom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.carousel-progress-track {
  width: 100%;
  max-width: 200px;
  height: 3px;
  background: var(--border-color);
  border-radius: 3px;
  overflow: hidden;
}

.carousel-progress-bar {
  height: 100%;
  background: var(--primary-color);
  border-radius: 3px;
  width: 0%;
  transition: width 0.3s ease;
}

.carousel-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-color);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.carousel-dot:hover {
  background: var(--muted-gray);
}

.carousel-dot.active {
  background: var(--primary-color);
  width: 24px;
  border-radius: 4px;
}

/* Carousel Navigation Arrows */
.carousel-control-prev,
.carousel-control-next {
  width: 40px;
  height: 40px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hero-carousel:hover .carousel-control-prev,
.hero-carousel:hover .carousel-control-next {
  opacity: 1;
}

.carousel-control-prev {
  left: 10px;
}

.carousel-control-next {
  right: 10px;
}

.carousel-arrow {
  width: 40px;
  height: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.carousel-arrow:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
}

/* ===== Categories Section ===== */
.categories-section {
  padding: 30px 0;
}

.section-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 20px;
}

/* New horizontal pill-shaped category tabs with filter button */
.categories-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #1a1f1a;
  border-radius: 50px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.categories-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  flex: 1;
  scrollbar-width: none;
}

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

.category-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  /* padding: 10px 20px; */
  padding: 10px 40px 10px 15px;
  border-radius: 50px;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.3s ease;
  text-decoration: none;
  border: 1px solid transparent;
}

.category-tab .tab-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  object-fit: cover;
}

.category-tab:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
}

.category-tab.active {
  background: linear-gradient(90deg, #006e31 0%, #44c146 100%);
  color: #ffffff;
  border-color: rgba(68, 193, 70, 0.3);
}

.filter-btn {
  width: 44px;
  height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  color: var(--text-secondary);
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--primary-color);
  border-color: var(--primary-color);
}

/* ===== Filter Sidebar ===== */
.filter-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1040;
}

.filter-overlay.open {
  opacity: 1;
  visibility: visible;
}

.filter-sidebar {
  position: fixed;
  top: 0;
  right: -360px;
  width: 340px;
  max-width: 90vw;
  height: 100%;
  background: var(--bg-secondary);
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
  z-index: 1050;
  display: flex;
  flex-direction: column;
  transition: right 0.3s ease;
}

.filter-sidebar.open {
  right: 0;
}

.filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid var(--border-color);
}

.filter-header h4 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
}

.filter-close {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.filter-close:hover {
  background: var(--bg-card);
  color: var(--text-primary);
}

.filter-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}

.filter-group {
  margin-bottom: 24px;
}

.filter-group:last-child {
  margin-bottom: 0;
}

.filter-group-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.filter-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg-card);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-option:hover {
  background: var(--bg-input);
}

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

.filter-label {
  font-size: 0.9rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.filter-label .bi-star-fill {
  color: #f7b731;
  font-size: 0.8rem;
}

.filter-footer {
  display: flex;
  gap: 12px;
  padding: 20px;
  border-top: 1px solid var(--border-color);
  background: var(--bg-secondary);
}

.filter-footer .btn {
  flex: 1;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
}

.filter-footer .btn-reset {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
}

.filter-footer .btn-reset:hover {
  background: var(--bg-card);
  color: var(--text-primary);
}

.filter-footer .btn-apply {
  background: var(--primary-color);
  border: none;
  color: #fff;
}

.filter-footer .btn-apply:hover {
  background: var(--primary-hover);
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.view-more {
  color: var(--primary-color);
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.view-more:hover {
  color: var(--primary-hover);
}

/* Keep old category-scroll styles for backward compatibility but hide */
.categories-scroll {
  display: none;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.view-more {
  color: var(--primary-color);
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.view-more:hover {
  color: var(--primary-hover);
}

/* Updated product card styles to match new design with star ratings */
.product-card {
  display: block;
  background: #1a1a2e;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.15);
}

.product-image {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #12121f;
}

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

.product-image.out-of-stock img {
  opacity: 0.5;
}

.stock-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  /* transform: translate(-50%, -50%); */
  background: rgba(255, 71, 87, 0.9);
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
}

.cashback-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--primary-color);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
}

/* .btn-wishlist {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-card:hover .btn-wishlist {
  opacity: 1;
}

.btn-wishlist:hover {
  background: var(--primary-color);
} */

/* Updated product info section with centered text and rating */
.product-info {
  padding: 14px 12px 16px;
  text-align: center;
}

.product-name {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 10px;
  display: -webkit-box;
  line-clamp: 1;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #ffffff;
  letter-spacing: 0.3px;
  text-align: left;
}

/* New product rating styles */
.product-rating {
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 6px;
  font-size: 0.85rem;
}

.product-rating .rating-score {
  color: #ffffff;
  font-weight: 600;
}

.product-rating .star-icon {
  color: #f5a623;
  font-size: 0.9rem;
}

.product-rating .review-count {
  color: #6b7280;
  font-weight: 400;
}

/* Keep price styles for backward compatibility */
.product-price {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.current-price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.original-price {
  font-size: 0.8rem;
  color: var(--muted-gray);
  text-decoration: line-through;
}

.discount {
  font-size: 0.75rem;
  color: var(--primary-color);
  font-weight: 600;
}

/* ===== App Section ===== */
.app-section {
  padding: 40px 0;
}

.app-banner {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 40px;
  border: 1px solid var(--border-color);
}

.app-banner h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.app-banner p {
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.app-features {
  list-style: none;
  margin-bottom: 24px;
}

.app-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--text-secondary);
}

.app-features i {
  color: var(--primary-color);
}

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

.btn-outline-secondary {
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  background: transparent;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-outline-secondary:hover {
  background: var(--bg-input);
  color: var(--text-primary);
  border-color: var(--primary-color);
}

.app-mockup {
  padding: 20px;
}

.app-mockup img {
  border-radius: 24px;
  box-shadow: 0 20px 60px var(--shadow-color);
}

/* ===== Footer ===== */
.footer {
  background-color: var(--bg-secondary);
  padding: 60px 0 30px;
  border-top: 1px solid var(--border-color);
}

@media (max-width: 991px) {
  .footer {
    padding-bottom: 100px;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-size: 1.1rem;
}

.social-links a:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
}

.footer-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  padding: 0;
}

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

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

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

.payment-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.payment-methods img {
  border-radius: 4px;
  border: 1px solid var(--border-color);
}

.footer-divider {
  border-color: var(--border-color);
  margin: 30px 0 20px;
}

.footer-bottom {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-mini {
  background-color: var(--bg-secondary);
  padding: 20px 0;
  border-top: 1px solid var(--border-color);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

@media (max-width: 991px) {
  .footer-mini {
    padding-bottom: 90px;
  }
}

/* Promotional Modal */
#promoModal .promo-modal-content {
  position: relative;
  background-color: var(--bg-card);
  border: none;
  border-radius: 12px;
  overflow: visible;
}

#promoModal .promo-close-btn {
  position: absolute;
  bottom: -20px;
  right: 50%;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: #ffffff;
  color: #ffffff;
  border: 2px solid #ffffff;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: inherit;
}

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

#promoModal .promo-close-btn:focus {
  box-shadow: none;
}

#promoModal .promo-image {
  width: 100%;
  border-radius: 10px;
  display: block;
}

[data-theme="light"] #promoModal .promo-modal-content {
  background-color: var(--bg-card);
}

[data-theme="light"] #promoModal .promo-close-btn {
  background-color: var(--bg-secondary);
}

/* @media (min-width: 320px) and (max-width: 991px) {
  .navbar-brand {
    gap: 1px;
  }

  .brand-logo {
    height: 35px;
    width: auto;
    filter: brightness(0) invert(1);
  }

  .brand-text {
    background: #ffffff;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 14px;
    font-weight: 500;
  }

} */
@media (min-width: 320px) and (max-width: 991px) {
  .navbar-brand {
    gap: 1px;
  }

  .brand-logo {
    height: 35px;
    width: auto;
    /* filter: brightness(0) invert(1); */
  }

  .brand-text {
    /* background: #ffffff;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text; */
    font-size: 14px;
    font-weight: 500;
  }

}

/* CTA */
.cta-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 22px;
  border-radius: 30px;
  background: var(--brand-gradient);
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.cta-btn:hover {
  transform: translateY(-2px);
  opacity: 0.95;
}




















/* Maintenance Page */
.maintenance-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.maintenance-card {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 32px 28px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: 0 10px 40px var(--shadow-color);
  border: 1px solid var(--border-color);
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}

.brand .logo {
  font-size: 20px;
}

.brand h4 {
  font-weight: 600;
}

/* Headings */
.maintenance-card h1 {
  font-size: 26px;
  margin-bottom: 12px;
}

.subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.6;
}

/* Features */
.features {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  gap: 14px;
  margin-bottom: 24px;
}

.feature {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  color: var(--text-secondary);
}

.feature .icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
}

/* Progress */
.progress-bar {
  height: 6px;
  background: var(--bg-secondary);
  border-radius: 10px;
  overflow: hidden;
  margin: 16px 0 8px;
}

.progress-bar span {
  display: block;
  height: 100%;
  width: 65%;
  background: var(--brand-gradient);
}

/* .status {
  font-size: 12px;
  color: var(--muted-gray);
} */

.status-wrapper .status-head {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.6;
}

.status-wrapper .status-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.6;
}