* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {

  /* Global Utility */
  .hidden {
    display: none !important;
  }

  /* Light mode colors */
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fa;
  --text-primary: #1a202c;
  --text-secondary: #4a5568;
  --border-color: #e2e8f0;
  --accent-primary: #0066ff;
  --accent-secondary: #00cc88;
  --accent-tertiary: #ff6b35;
  --accent-warning: #ffa500;
}

[data-theme="dark"] {
  --bg-primary: #0f1419;
  --bg-secondary: #1a1f2e;
  --text-primary: #e2e8f0;
  --text-secondary: #a0aec0;
  --border-color: #2d3748;
  --accent-primary: #3b82f6;
  --accent-secondary: #10b981;
  --accent-tertiary: #ff6b35;
  --accent-warning: #ffa500;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Navbar */
.navbar {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  padding: 1rem 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.logo-icon {
  font-size: 1.8rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.3s;
}

.nav-link:hover {
  opacity: 0.8;
}

.theme-toggle {
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid white;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.3s;
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Dropdown Menu */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

/* Fix: Invisible bridge to prevent dropdown from closing when moving mouse to content */
.nav-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 20px;
  /* Covers the gap */
  background: transparent;
}

.nav-dropdown .nav-link {
  cursor: pointer;
  padding: 0.5rem 1rem;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background: var(--bg-primary);
  min-width: 200px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  z-index: 1000;
  top: calc(100% + 0.5rem);
  right: 0;
  overflow: hidden;
  border: 2px solid var(--border-color);
}

.dropdown-content a {
  color: var(--text-primary);
  padding: 1rem 1.5rem;
  text-decoration: none;
  display: block;
  transition: all 0.3s;
  font-weight: 500;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--border-color);
}

.dropdown-content a:last-child {
  border-bottom: none;
}

.dropdown-content a:hover {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: white;
  padding-left: 2rem;
}

.nav-dropdown:hover .dropdown-content {
  display: block;
  animation: fadeIn 0.2s ease-in;
}

.nav-dropdown:hover .nav-link {
  opacity: 1;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Main Content */
.main-content {
  flex: 1;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  padding: 2rem;
}

.page {
  animation: fadeIn 0.3s ease-in;
}

.page.hidden {
  display: none;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero Section */
.hero-section {
  text-align: center;
  margin-bottom: 2rem;
  padding: 0.5rem 0;
}

.hero-title {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.3rem;
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

/* Combo Cards */
.combos-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.combo-card {
  background: var(--bg-secondary);
  border: 2px solid var(--border-color);
  border-radius: 16px;
  padding: 1.5rem;
  position: relative;
  transition: all 0.3s ease;
}

.combo-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-primary);
  box-shadow: 0 12px 24px rgba(0, 102, 255, 0.15);
}

.combo-card.aeo-card {
  border-color: var(--accent-tertiary);
}

.combo-card.aeo-card:hover {
  box-shadow: 0 12px 24px rgba(255, 107, 53, 0.15);
}

.combo-card.grand-combo-card {
  border-width: 3px;
  border-color: var(--accent-warning);
  background: linear-gradient(135deg, var(--bg-secondary), var(--bg-primary));
}

.combo-card.grand-combo-card:hover {
  box-shadow: 0 12px 24px rgba(255, 165, 0, 0.2);
}

.combo-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--accent-primary);
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.combo-badge.aeo-badge {
  background: var(--accent-tertiary);
}

.combo-badge.grand-badge {
  background: var(--accent-warning);
  color: white;
}

.combo-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.combo-description {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.combo-stats {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--border-color);
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent-primary);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-transform: uppercase;
}

.price-box {
  background: var(--bg-primary);
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-primary);
}

.price.grand-price {
  color: var(--accent-warning);
  font-size: 2.2rem;
}

/* Buttons */
.btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  width: 100%;
}

.btn-primary {
  background: var(--accent-primary);
  color: white;
}

.btn-primary:hover {
  opacity: 0.9;
  transform: scale(1.02);
}

.btn-secondary {
  background: var(--accent-tertiary);
  color: white;
}

.btn-secondary:hover {
  opacity: 0.9;
}

.btn-success {
  background: var(--accent-warning);
  color: white;
  font-weight: 700;
}

.btn-success:hover {
  opacity: 0.9;
  transform: scale(1.02);
}

.btn-logout {
  background: var(--accent-tertiary);
  color: white;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  width: auto;
}

/* Disclaimer */
.disclaimer-box {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: white;
  padding: 2rem;
  border-radius: 12px;
  margin-top: 3rem;
}

.disclaimer-box h4 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.disclaimer-box ul {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.disclaimer-box li {
  padding-left: 1.5rem;
  position: relative;
}

.disclaimer-box li:before {
  content: "✓";
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal.hidden {
  display: none;
}

.modal-content {
  background: var(--bg-primary);
  padding: 2rem;
  border-radius: 16px;
  max-width: 900px;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  width: 90%;
}

.modal-close {
  position: sticky;
  top: 0;
  float: right;
  margin-right: -1rem;
  /* Adjust for padding of modal-content */
  margin-top: -1rem;
  /* Adjust for padding */
  right: 1rem;
  background: var(--accent-tertiary);
  color: white;
  border: none;
  font-size: 2rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.3s ease;
}

.modal-close:hover {
  background: #e74c3c;
  transform: scale(1.1);
}

/* New styles for details grid and improved modal layout */
.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.detail-item {
  background: var(--bg-secondary);
  border: 2px solid var(--border-color);
  border-radius: 8px;
  padding: 1rem;
  transition: all 0.3s ease;
}

.detail-item:hover {
  border-color: var(--accent-primary);
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.1);
  transform: translateY(-2px);
}

.detail-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.detail-extensions {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-style: italic;
}

.detail-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent-primary);
  margin-top: 0.5rem;
}

.details-subtitle {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.details-breakdown {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.breakdown-item {
  background: var(--bg-secondary);
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid var(--accent-primary);
}

.breakdown-item h4 {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.breakdown-item p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.details-footer {
  border-top: 2px solid var(--border-color);
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  text-align: center;
}

.details-footer p {
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.price-highlight {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent-primary);
}

.savings {
  color: var(--accent-secondary);
  font-weight: 600;
}

/* Section Group */
.section-group {
  margin-bottom: 3rem;
}

.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  border-left: 4px solid var(--accent-primary);
  padding-left: 1rem;
}

/* Grid Layouts */
.grid-4col {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

.card-item {
  background: var(--bg-secondary);
  border: 2px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.card-item:hover {
  border-color: var(--accent-primary);
  box-shadow: 0 8px 16px rgba(0, 102, 255, 0.1);
  transform: translateY(-4px);
}

.card-name {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  word-break: break-word;
}

.card-meta {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.3rem;
}

.card-price {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--accent-primary);
  margin-top: 0.5rem;
}

/* Login Container */
.login-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
}

.login-container.hidden {
  display: none;
}

.login-box {
  background: var(--bg-secondary);
  border: 2px solid var(--border-color);
  border-radius: 16px;
  padding: 3rem 2rem;
  max-width: 400px;
  width: 100%;
  text-align: center;
}

.login-box h2 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.login-box p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.password-input {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  background: var(--bg-primary);
  color: var(--text-primary);
  transition: border-color 0.3s;
}

.password-input:focus {
  outline: none;
  border-color: var(--accent-primary);
}

.error-message {
  color: #dc2626;
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

.error-message.hidden {
  display: none;
}

/* Personal Dashboard */
.personal-dashboard {
  min-height: 60vh;
}

.personal-dashboard.hidden {
  display: none;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--border-color);
}

.dashboard-header h1 {
  font-size: 2rem;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Accordion */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.accordion-item {
  border: 2px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
}

.accordion-header {
  width: 100%;
  padding: 1.5rem;
  background: var(--bg-secondary);
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  color: var(--text-primary);
}

.accordion-header:hover {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: white;
}

.accordion-header.active {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: white;
}

.toggle-icon {
  transition: transform 0.3s ease;
}

.accordion-header.active .toggle-icon {
  transform: rotate(180deg);
}

.accordion-content {
  padding: 1.5rem;
  background: var(--bg-primary);
  border-top: 1px solid var(--border-color);
}

.accordion-content.hidden {
  display: none;
}

/* Retail tabs styling */
.retail-tabs {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  border-bottom: 3px solid var(--border-color);
  flex-wrap: wrap;
}

.tab-button {
  background: none;
  border: none;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
  margin-bottom: -3px;
}

.tab-button:hover {
  color: var(--accent-primary);
}

.tab-button.active {
  color: var(--accent-primary);
  border-bottom-color: var(--accent-primary);
}

/* Section Group hidden state */
.section-group.hidden {
  display: none;
}

.section-group.active {
  display: block;
}

/* Responsive */
@media (max-width: 768px) {
  .retail-tabs {
    flex-direction: column;
  }

  .tab-button {
    width: 100%;
    text-align: left;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .nav-links {
    gap: 1rem;
  }

  .combos-container {
    grid-template-columns: 1fr;
  }

  .disclaimer-box ul {
    grid-template-columns: 1fr;
  }

  .grid-4col {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }


  .main-content {
    padding: 1rem;
  }
}

/* Blog Styles */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  padding: 1rem 0;
}

.blog-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  border-color: var(--accent-primary);
}

.blog-image {
  height: 200px;
  background: linear-gradient(135deg, var(--bg-primary), var(--border-color));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--accent-primary);
  position: relative;
  overflow: hidden;
}

.blog-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(0, 0, 0, 0.05) 25%, transparent 25%, transparent 50%, rgba(0, 0, 0, 0.05) 50%, rgba(0, 0, 0, 0.05) 75%, transparent 75%, transparent);
  background-size: 20px 20px;
}

.blog-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-category {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--accent-primary);
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}

.blog-title {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.3;
}

.blog-excerpt {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex: 1;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.read-more-btn {
  color: var(--accent-primary);
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-size: inherit;
  font-family: inherit;
}

.read-more-btn:hover {
  text-decoration: underline;
}

/* Detailed Article View (Modal or Full Page) */
.article-full-view {
  background: var(--bg-secondary);
  border-radius: 16px;
  padding: 3rem;
  max-width: 900px;
  margin: 0 auto;
  border: 1px solid var(--border-color);
}

.article-header {
  text-align: center;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
}

.article-tag {
  display: inline-block;
  background: rgba(0, 102, 255, 0.1);
  color: var(--accent-primary);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.article-headline {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.article-date {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.article-body {
  color: var(--text-primary);
  font-size: 1.1rem;
  line-height: 1.8;
}

.article-body h2 {
  font-size: 1.8rem;
  margin: 2.5rem 0 1rem;
  color: var(--text-primary);
}

.article-body h3 {
  font-size: 1.4rem;
  margin: 2rem 0 1rem;
  color: var(--text-primary);
}

.article-body p {
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

.article-body ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  color: var(--text-secondary);
}

.article-body li {
  margin-bottom: 0.5rem;
}

.back-to-blog {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  text-decoration: none;
  margin-bottom: 2rem;
  font-weight: 600;
  cursor: pointer;
}

.back-to-blog:hover {
  color: var(--accent-primary);
}

/* ===== COMPREHENSIVE MOBILE RESPONSIVE STYLES ===== */

@media (max-width: 768px) {

  /* Navigation */
  .navbar {
    padding: 1rem;
    position: relative;
    /* Ensure dropdown context */
  }

  .nav-container {
    flex-direction: row;
    /* Horizontal layout for logo + burger */
    justify-content: space-between;
    align-items: center;
  }

  .mobile-menu-btn {
    display: flex;
    /* Show on mobile */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 0;
  }

  .mobile-menu-btn span {
    width: 100%;
    height: 3px;
    background-color: var(--text-primary);
    border-radius: 3px;
    transition: all 0.3s ease;
  }

  /* Hamburger active state animation */
  .mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }

  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }

  .nav-links {
    display: none;
    /* Hidden by default on mobile */
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--bg-secondary);
    padding: 1rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-bottom: 2px solid var(--border-color);
    text-align: center;
    z-index: 1000;
  }

  .nav-links.active {
    display: flex;
    /* Show when active */
  }

  .nav-link {
    font-size: 1.1rem;
    padding: 1rem 0;
    display: block;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
  }

  .nav-link:last-child {
    border-bottom: none;
  }

  .theme-toggle {
    margin: 1rem auto 0;
    font-size: 1.2rem;
    padding: 0.5rem 1rem;
    display: inline-block;
  }

  /* Retail Tabs Mobile */
  .retail-tabs {
    background: var(--bg-secondary);
    padding: 0.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    /* Stack tabs vertically on mobile for ease of use */
    gap: 0.5rem;
  }

  .tab-button {
    width: 100%;
    /* Full width for easier tapping */
    border: 1px solid var(--border-color) !important;
    background: var(--bg-primary);
    padding: 1rem !important;
    /* Larger touch target */
    font-size: 1rem !important;
    border-radius: 8px !important;
    text-align: left;
    /* Align text left for list-like feel */
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  /* Add an chevron or indicator via pseudo-element if desired, or simplified via CSS */
  .tab-button:after {
    content: '→';
    font-size: 1.2rem;
    opacity: 0.5;
  }

  .tab-button.active {
    background-color: var(--accent-primary) !important;
    color: white !important;
    border-color: var(--accent-primary) !important;
  }

  .tab-button.active:after {
    color: white;
    opacity: 1;
  }

  /* Main Content */
  .main-content {
    padding: 1rem;
  }

  /* Hero Section */
  .hero-section {
    padding: 2rem 1rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  /* Grids */
  .grid-4col,
  .grid-3col {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* Combo Cards */
  .combos-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1rem;
  }

  .combo-card {
    padding: 1.5rem;
  }

  .combo-title {
    font-size: 1.3rem;
  }

  .combo-description {
    font-size: 0.9rem;
  }

  .combo-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .price {
    font-size: 2rem;
  }

  /* Card Items */
  .card-item {
    padding: 1rem;
  }

  .card-name {
    font-size: 1rem;
  }

  .card-meta,
  .card-price {
    font-size: 0.85rem;
  }

  /* Details Modal */
  .details-modal {
    padding: 1rem;
  }

  .details-content {
    width: 95%;
    max-width: none;
    padding: 1.5rem;
    max-height: 85vh;
  }

  .details-header h2 {
    font-size: 1.5rem;
  }

  .details-subtitle {
    font-size: 0.9rem;
  }

  .details-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .detail-item {
    padding: 0.75rem;
  }

  .detail-name {
    font-size: 0.95rem;
  }

  /* Tabs */
  .tab-nav {
    flex-direction: column;
    gap: 0.5rem;
    padding: 0 1rem;
  }

  .tab-button {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }

  /* Section Headers */
  .section-header h2 {
    font-size: 1.5rem;
  }

  .section-subtitle {
    font-size: 0.9rem;
  }

  /* Login/Dashboard */
  .login-container {
    padding: 1rem;
  }

  .login-box {
    padding: 2rem 1.5rem;
    width: 95%;
  }

  .login-box h2 {
    font-size: 1.5rem;
  }

  .password-input {
    font-size: 1rem;
    padding: 0.75rem;
  }

  .dashboard-header {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }

  .dashboard-header h1 {
    font-size: 1.5rem;
  }

  /* Accordion */
  .accordion-header {
    padding: 1rem;
    font-size: 1rem;
  }

  .accordion-content {
    padding: 1rem;
  }

  /* Footer */
  .footer {
    padding: 1.5rem 1rem !important;
  }

  .footer-container {
    flex-direction: column;
    gap: 1.5rem !important;
    text-align: center;
  }

  .footer-logo {
    justify-content: center;
    flex: none !important;
  }

  .footer-copyright {
    text-align: center !important;
    order: 3;
  }

  .footer-right {
    align-items: center !important;
    flex: none !important;
    order: 2;
  }

  .social-icons {
    justify-content: center;
  }

  /* Blog */
  .blog-card {
    padding: 1rem;
  }

  .blog-title {
    font-size: 1.1rem;
  }

  .blog-excerpt {
    font-size: 0.9rem;
  }

  .blog-meta {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
  }

  .read-more-btn {
    align-self: flex-start;
  }

  /* Contact Card */
  .contact-card {
    padding: 2rem 1rem !important;
    margin: 1.5rem auto !important;
  }

  .contact-card h2 {
    font-size: 1.5rem !important;
  }

  .contact-card p {
    font-size: 1rem !important;
  }

  /* Buttons */
  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
  }

  .btn-primary {
    padding: 0.75rem 2rem;
  }

  /* Price Box */
  .price-box {
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
  }

  .price-label {
    font-size: 0.9rem;
  }
}

/* Extra small devices (phones in portrait) */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.75rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }

  .nav-links {
    gap: 0.75rem;
    font-size: 0.85rem;
  }

  .combo-title {
    font-size: 1.2rem;
  }

  .stat-number {
    font-size: 1.75rem;
  }

  .price {
    font-size: 1.75rem;
  }

  .card-name {
    font-size: 0.95rem;
  }

  .details-content {
    padding: 1rem;
  }

  .login-box {
    padding: 1.5rem 1rem;
  }

  .dashboard-header h1 {
    font-size: 1.3rem;
  }

  .accordion-header {
    font-size: 0.9rem;
    padding: 0.75rem;
  }

  .footer-logo span {
    font-size: 1rem;
  }

  .social-icons a svg {
    width: 16px;
    height: 16px;
  }
}

/* Landscape phones and small tablets */
@media (min-width: 481px) and (max-width: 768px) {
  .grid-4col {
    grid-template-columns: repeat(2, 1fr);
  }

  .combos-container {
    grid-template-columns: 1fr;
  }
}

/* Tablets */
@media (min-width: 769px) {
  .mobile-menu-btn {
    display: none;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .grid-4col {
    grid-template-columns: repeat(3, 1fr);
  }

  .combos-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav-links {
    gap: 1.5rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }
}