/* ===============================
   SHARE BAZAAR - ADVANCED LAYOUT
   =============================== */

/* Import Fonts & Icons */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1.6;
  animation: fadeIn 0.6s ease-in-out;
}

a {
  text-decoration: none;
  color: inherit;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* ===============================
   TOP HEADER
   =============================== */
.top-header {
  background: #111;
  color: #eee;
  padding: 6px 20px;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-header .left {
  display: flex;
  gap: 20px;
  align-items: center;
}

.top-header .left i {
  color: #00ff90;
}

.top-header .support {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.top-header .support:hover {
  color: #00ff90;
}

.top-header .live {
  background: #00ff90;
  color: #111;
  padding: 2px 8px;
  border-radius: 20px;
  font-weight: 500;
}

/* ===============================
   HEADER
   =============================== */
header {
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 25px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.logo h1 {
  color: #0056D2;
  font-size: 26px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.search-login {
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-login input {
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.search-login button {
  background: #FF4B2B;
  color: #fff;
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s ease;
}

.search-login button:hover {
  background: #e03e1f;
}

/* ===============================
   PREMIUM BUTTONS
   =============================== */
.btn {
  background: linear-gradient(135deg, #0056D2, #003f9a);
  color: white;
  padding: 8px 16px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 86, 210, 0.3);
}

.btn-accent {
  background: linear-gradient(135deg, #FF4B2B, #e03e1f);
}

.btn-accent:hover {
  box-shadow: 0 4px 12px rgba(255, 75, 43, 0.4);
}

/* ===============================
   NAVIGATION
   =============================== */
nav {
  background: #0056D2;
}

nav ul {
  display: flex;
  list-style: none;
  padding: 12px 25px;
  gap: 20px;
}

nav ul li a {
  color: white;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 4px;
}

nav ul li a:hover,
nav ul li a.active {
  background: white;
  color: #0056D2;
}

/* ===============================
   HERO SLIDER
   =============================== */
.hero-slider {
  position: relative;
  height: 420px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: white;
  text-align: center;
  padding: 20px;
}

.hero-slide.active {
  display: flex;
}

.hero-slide h2 {
  font-size: 2.2rem;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
  margin-bottom: 15px;
}

.hero-slide .btn {
  font-size: 1rem;
}

/* ===============================
   SLIDER SECTIONS
   =============================== */
.slider-section {
  padding: 40px 20px;
}

.slider-container {
  position: relative;
  overflow: hidden;
}

.slider-track {
  display: flex;
  transition: transform 0.4s ease-in-out;
}

.card {
  flex: 0 0 25%;
  background: white;
  margin: 0 10px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 86, 210, 0.3);
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card-body {
  padding: 15px;
  text-align: center;
}

.old-price {
  text-decoration: line-through;
  color: #888;
  font-weight: 400;
  margin-right: 6px;
}

.new-price {
  font-weight: 600;
  color: #E53935;
  /* Bright red for emphasis */
}

/* Slider Buttons */
.slider-btn {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  background: rgba(0, 86, 210, 0.9);
  color: white;
  border: none;
  padding: 10px 14px;
  cursor: pointer;
  border-radius: 50%;
  font-size: 18px;
  z-index: 5;
  /* Ensure button stays above products */
}

.slider-btn.prev {
  left: 0;
  /* Push it fully inside */
}

.slider-btn.next {
  right: 0;
  /* Push inside on right */
}

.slider-btn:hover {
  background: rgba(0, 86, 210, 1);
}

/* ===============================
   FOOTER
   =============================== */
footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 80px 8% 40px;
  background: rgba(3, 7, 18, 0.85);
  /* Matches glass theme */
  color: white;
  margin-top: 60px;
}

.footer-columns {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

/* Adjusted Footer Columns */
.footer-columns>div {
  flex: 1;
  min-width: 200px;
  margin: 10px;
}

/* Constrain the Newsletter column width */
.footer-columns>div:last-child {
  flex: 0 1 auto;
  /* Allow shrinking, don't grow infinitely */
  max-width: 320px;
  /* Limit width of newsletter section */
  width: 100%;
}

/* Brand Definition Typography */
.footer-columns h3 {
  color: #fff;
  margin-bottom: 12px;
  font-size: 1.4rem;
  background: linear-gradient(135deg, #38bdf8 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.footer-columns p {
  color: #cbd5e1;
  /* Brighter text for better contrast */
  line-height: 1.6;
  font-size: 0.95rem;
  margin-bottom: 20px;
  max-width: 280px;
}

.footer-columns h4 {
  margin-bottom: 20px;
  font-size: 1.1rem;
  color: #fff;
}

.footer-columns ul {
  list-style: none;
  line-height: 2;
}

.footer-columns ul li {
  margin-bottom: 6px;
}

.footer-columns ul li a {
  color: #9aa4b2;
  /* var(--text-dim) */
  transition: color 0.3s ease;
}

.footer-columns ul li a:hover {
  color: #fff;
  /* var(--accent) approx */
}

.social-icons {
  display: flex;
  gap: 15px;
  font-size: 1.2rem;
}

.social-icons a {
  color: #9aa4b2;
  transition: color 0.3s ease;
  margin-right: 0;
}

.social-icons a:hover {
  color: #fff;
  transform: translateY(-3px);
}

.footer-columns input[type="email"] {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: white;
  padding: 12px;
  border-radius: 8px;
  width: 100%;
  margin-bottom: 12px;
  margin-top: 6px;
}

.footer-columns button {
  padding: 10px 20px;
  border: none;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: white;
  border-radius: 8px;
  cursor: pointer;
  width: 100%;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.footer-columns button:hover {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
}

.footer-bottom {
  text-align: center;
  margin-top: 60px;
  color: #9aa4b2;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
}

/* ===============================
   CHATBOT WIDGET
   =============================== */
.chatbot-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #0056D2;
  color: white;
  padding: 12px 18px;
  border-radius: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  z-index: 200;
  transition: background 0.3s ease;
}

.chatbot-widget:hover {
  background: #0041a5;
}

.chatbot-widget i {
  font-size: 18px;
}

/* Chatbot Popup Styles */
.chatbot-popup {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 300px;
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 201;
  animation: fadeIn 0.3s ease;
}

.chatbot-popup.show {
  display: flex;
}

.chatbot-header {
  background: #0056D2;
  color: white;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chatbot-header h4 {
  font-size: 14px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.chatbot-header button {
  background: transparent;
  color: white;
  border: none;
  font-size: 16px;
  cursor: pointer;
}

.chatbot-body {
  padding: 15px;
  flex: 1;
  overflow-y: auto;
  font-size: 14px;
  height: 200px;
  background: #060b13;
  /* Dark bg */
  color: #fff;
}

.message.bot {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  margin-bottom: 6px;
  max-width: 85%;
  display: inline-block;
}

.chatbot-footer {
  display: flex;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding: 10px;
  background: #1e293b;
}

.chatbot-footer input {
  flex: 1;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
  color: white;
  padding: 8px 12px;
  border-radius: 6px 0 0 6px;
  font-size: 14px;
  outline: none;
}

.chatbot-footer button {
  background: #0056D2;
  border: none;
  color: white;
  padding: 8px 14px;
  cursor: pointer;
  border-radius: 0 6px 6px 0;
  transition: background 0.3s ease;
}

.chatbot-footer button:hover {
  background: #0041a5;
}

/* ===============================
   RESPONSIVE
   =============================== */
@media (max-width: 1024px) {
  .card {
    flex: 0 0 33.333%;
  }
}

@media (max-width: 768px) {
  .card {
    flex: 0 0 50%;
  }

  nav ul {
    flex-direction: column;
    display: none;
  }

  nav ul.show {
    display: flex;
  }
}

@media (max-width: 500px) {
  .card {
    flex: 0 0 100%;
  }
}

/* ===============================
   SOCIAL MEDIA MEGA DROPDOWN
   =============================== */
nav ul li.dropdown {
  position: relative;
}

nav ul li.dropdown:hover .dropdown-menu {
  display: flex;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  padding: 20px 30px;
  gap: 50px;
  min-width: 450px;
  z-index: 100;
}

.dropdown-column {
  display: flex;
  flex-direction: column;
}

.dropdown-column h4 {
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: bold;
  color: #0056D2;
  border-bottom: 2px solid #eee;
  padding-bottom: 4px;
}

.dropdown-column a {
  padding: 4px 0;
  font-size: 14px;
  color: #333;
  transition: color 0.3s ease;
}

.dropdown-column a:hover {
  color: #0056D2;
}

/* ===============================
   SLIDER BUTTON VISIBILITY FIX
   =============================== */
.slider-btn.prev {
  left: 10px;
}

.slider-btn.next {
  right: 10px;
}

/* ===============================
   LIVE AUCTION COUNTDOWN
   =============================== */
.countdown {
  display: inline-block;
  background: #87898b;
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 0.5px;
  min-width: 90px;
  text-align: center;
  transition: background 0.3s ease;
}

.countdown.warning {
  background: #E53935;
  /* Red for last moments */
}

.auction-card img {
  width: 100%;
  height: 180px;
  /* Reduce height for better fit */
  object-fit: cover;
  /* Crop instead of stretching */
  display: block;
}

.auction-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: auto;
  min-height: 100%;
}

/* ================= HEADER STYLES ================= */

/* ================= TOP HEADER ================= */
.top-header {
  background: #0f172a;
  /* Fallback */
  background: var(--dark, #0f172a);
  color: #cbd5e1;
  padding: 8px 40px;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-header .left {
  display: flex;
  gap: 24px;
  align-items: center;
}

.top-header i {
  color: #3b82f6;
  margin-right: 6px;
}

/* ================= MAIN HEADER ================= */
.main-header {
  background: rgba(2, 6, 23, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 16px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  gap: 20px;
}

/* ================= LOGO ================= */
/* Enhanced Logo Styles */
.main-header .logo {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}

.logo-icon-premium {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  /* Vibrant Blue-Purple */
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  box-shadow: 0 0 25px rgba(59, 130, 246, 0.5), inset 0 0 10px rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease;
}

.logo-icon-premium i {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.main-header .logo:hover .logo-icon-premium {
  transform: scale(1.05) rotate(-5deg);
  box-shadow: 0 0 35px rgba(124, 58, 237, 0.6);
}

.logo-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-text span {
  background: linear-gradient(to right, #38bdf8, #c084fc);
  -webkit-text-fill-color: transparent;
  font-weight: 900;
  text-shadow: 0 0 20px rgba(192, 132, 252, 0.3);
}

/* ================= SEARCH ================= */
.search-container {
  flex: 1;
  max-width: 650px;
  margin: 0 20px;
  position: relative;
}

.search-wrapper {
  display: flex;
  align-items: center;
  background: rgba(15, 23, 42, 0.9);
  /* distinct dark blue card background */
  border: 1px solid rgba(255, 255, 255, 0.18);
  /* Brighter border */
  border-radius: 999px;
  padding: 5px 6px 5px 20px;
  /* Adjusted left padding */
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  /* Stronger shadow */
}

.search-wrapper:focus-within {
  background: rgba(30, 41, 59, 0.95);
  border-color: rgba(124, 58, 237, 0.6);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.2), 0 8px 30px rgba(0, 0, 0, 0.5);
}

.search-wrapper input {
  flex: 1;
  height: 42px;
  border: none;
  background: transparent;
  padding: 0 14px 0 0px;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  outline: none;
}

.search-wrapper input::placeholder {
  color: #64748b;
}

.search-btn-pro {
  height: 42px;
  width: 48px;
  padding: 0;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.search-btn-pro:hover {
  filter: brightness(1.15);
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.5);
  transform: translateY(-1px);
}

/* ================= ACTIONS ================= */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-actions a,
.header-actions button {
  border-radius: 10px;
  height: 42px;
  padding: 0 18px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
}

.btn-login {
  background: rgba(255, 255, 255, 0.05);
}

.btn-login:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-seller {
  background: linear-gradient(135deg, #10b981, #059669);
  border: none !important;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-seller:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.btn-cart {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  border: none !important;
  position: relative;
  overflow: visible !important;
}

.btn-cart:hover {
  filter: brightness(1.1);
}

.cart-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #facc15;
  color: #000;
  min-width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #dc2626;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.btn-logout {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}

.btn-logout:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #fff;
}

/* ================= NAVIGATION ================= */
nav {
  background: rgba(15, 23, 42, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 50;
}

nav ul {
  margin: 0;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Centered Navigation */
  gap: 10px;
  list-style: none;
  flex-wrap: wrap;
}

nav ul li a {
  color: #94a3b8;
  padding: 14px 20px;
  transition: all 0.3s;
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  display: block;
  border-bottom: 2px solid transparent;
  border-radius: 6px;
}

nav ul li a:hover,
nav ul li a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.03);
}

nav ul li a.active {
  border-bottom-color: #3b82f6;
  color: #60a5fa;
}

/* ================= DROPDOWN ================= */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 8px;
  min-width: 220px;
  display: none;
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  z-index: 1000;
  margin-top: 5px;
}

.dropdown:hover .dropdown-menu {
  display: flex;
  animation: slideDown 0.2s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dropdown-menu li {
  width: 100%;
  margin: 0;
  padding: 0;
}

.dropdown-menu li a {
  padding: 10px 16px;
  color: #cbd5e1;
  display: flex;
  /* Ensure icon and text align */
  align-items: center;
  gap: 12px;
  border-bottom: none;
  font-size: 14px;
  white-space: nowrap;
  border-radius: 8px;
}

.dropdown-menu li a:hover {
  background: rgba(59, 130, 246, 0.1);
  color: #fff;
  padding-left: 20px;
  /* Slide effect */
}

/* ===================================================
   MOBILE & TABLET RESPONSIVENESS OVERRIDES
   =================================================== */
.mobile-nav-toggle {
  display: none;
}

@media (max-width: 768px) {
  .mobile-nav-toggle {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s;
    outline: none;
  }
  .mobile-nav-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
  }

  /* Top Header Adjustments */
  .top-header {
    padding: 8px 15px;
  }
  .top-header .left span:not(:last-child) {
    display: none !important; /* Hide Phone and Email on Mobile */
  }

  /* Main Header Grid/Flex layout wrapping */
  .main-header {
    flex-wrap: wrap !important;
    padding: 12px 15px !important;
    gap: 12px !important;
  }
  .main-header .logo {
    order: 1 !important;
    gap: 10px !important;
  }
  .logo-text {
    font-size: 20px !important;
  }
  .logo-icon-premium {
    width: 38px !important;
    height: 38px !important;
    font-size: 18px !important;
    border-radius: 10px !important;
  }
  .main-header .header-actions {
    order: 2 !important;
    margin-left: auto !important;
    gap: 8px !important;
  }
  .main-header .mobile-nav-toggle {
    order: 3 !important;
  }
  .main-header .search-container {
    order: 4 !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  /* Navigation List Dropdown */
  nav {
    position: relative !important;
  }
  nav ul {
    flex-direction: column !important;
    display: none !important;
    width: 100% !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    background: rgba(15, 23, 42, 0.98) !important;
    backdrop-filter: blur(15px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 10px 0 !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5) !important;
    z-index: 9999 !important;
    gap: 0 !important;
  }
  nav ul.show {
    display: flex !important;
  }
  nav ul li {
    width: 100% !important;
    text-align: left !important;
  }
  nav ul li a {
    padding: 12px 24px !important;
    border-bottom: none !important;
    border-radius: 0 !important;
    width: 100% !important;
  }
  nav ul li a:hover,
  nav ul li a.active {
    background: rgba(255, 255, 255, 0.05) !important;
    border-bottom-color: transparent !important;
  }

  /* Dropdowns inside Mobile nav */
  .dropdown-menu {
    position: static !important;
    display: none !important;
    background: rgba(0, 0, 0, 0.2) !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 0 0 20px !important;
    margin: 0 !important;
    width: 100% !important;
    min-width: 100% !important;
  }
  .dropdown:hover .dropdown-menu {
    display: flex !important;
    position: static !important;
    animation: none !important;
  }

  /* Tables responsiveness */
  .cart-table-wrapper {
    display: block !important;
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
  .cart-table, .history-table {
    display: table !important;
    width: 100% !important;
    min-width: 650px !important;
  }

  /* Grids and general layouts */
  .stats-container, .grid-3, .grid-trending, .footer-columns {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
  }
  .stats-card, .trending-card, .footer-col {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Chatbot adjustments */
  .chatbot-popup-pro {
    width: calc(100% - 30px) !important;
    right: 15px !important;
    bottom: 85px !important;
  }
  .chatbot-widget-pro {
    bottom: 15px !important;
    right: 15px !important;
    padding: 10px 16px !important;
  }
}

/* Modern Button alignment fixes */
.btn-modern {
  white-space: nowrap !important;
}
@media (max-width: 768px) {
  .btn-modern {
    padding: 12px 28px !important;
    font-size: 0.95rem !important;
  }
}

/* Header Specific Button Overrides to Prevent Dashboard Theme Overrides */
.main-header button,
.main-header .search-btn-pro,
.main-header .btn-cart,
.main-header .mobile-nav-toggle {
  color: #ffffff !important;
}
.main-header .search-btn-pro {
  background: linear-gradient(135deg, #4f46e5, #7c3aed) !important;
}
.main-header .btn-cart {
  background: linear-gradient(135deg, #ef4444, #dc2626) !important;
  border: none !important;
}
.main-header .mobile-nav-toggle {
  background: transparent !important;
  border: none !important;
}