/*
Theme Name: Mobile Compare
Theme URI: https://mobilesbuying.online
Author: Your Name
Description: Mobile listing and comparison theme for WordPress.
Version: 1.0
*/
/* Modern Header */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #fff;
}

.container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
}

.content {
    width: 75%;
    padding: 20px;
}
/* Default sidebar styling */
.sidebar {
    background:#1E2A78;
    color:white;
    padding:15px;
    border-radius:10px;
    display:block;
}

/* Hide sidebar on mobile by default */
@media (max-width:768px){
    .sidebar {
        display:none;
        max-height:70vh;
        overflow-y:auto;
        margin-bottom:15px;
    }
    .sidebar.active {
        display:block;
    }
    .sidebar-toggle {
        display:block;
        width:100%;
        padding:10px;
        background:#ff6600;
        color:white;
        border:none;
        border-radius:5px;
        font-size:16px;
        margin-bottom:10px;
        cursor:pointer;
    }
}
/* Media Query for Mobile Devices */
@media only screen and (max-width: 768px) {
    .mobile-card {
        width: 40%;
    }
}
.mobile-card {
    display: inline-block;
    width: 50%;
    margin: 1%;
    padding: 10px;
    border: 1px solid #ddd;
    text-align: center;
    background: #fff;
}

.mobile-card img {
    max-width: 100%;
    height: auto;
}.header-container, .footer-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 10px 15px;
  text-align: center;
  font-family: Arial, sans-serif;
}

header h1 {
  margin-bottom: 10px;
}

header nav a, footer a {
  color: white;
  text-decoration: none;
  margin: 0 8px;
  font-weight: normal;
  font-size: 14px;
}

header nav a:hover, footer a:hover {
  text-decoration: underline;
}

footer p {
  margin: 5px 0;
  color: #555;
  font-size: 13px;
}
/* Sidebar Buttons Styling */
.sidebar button {
  display: inline-block;
  width: 100%;
  padding: 10px 15px;
  margin-top: 5px;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: #1E2A78; /* Default blue */
  cursor: pointer; /* 🔥 mouse pointer like link */
  transition: background 0.3s ease, transform 0.2s ease;
}

/* Green apply filter button */
.sidebar button.apply {
  background: #28a745; /* green */
}

/* Hover effect */
.sidebar button:hover {
  background: #111d5e; /* darker blue */
  transform: translateY(-2px); /* thoda upar uth jaye */
}

/* Green hover effect */
.sidebar button.apply:hover {
  background: #1e7e34;
}
.comments-area {
    margin-top: 40px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
}
.comment-list {
    list-style: none;
    padding: 0;
}
.comment-list li {
    margin-bottom: 15px;
    padding: 10px;
    background: #fff;
    border-radius: 5px;
}
/* Remove old hamburger lines */
.menu-toggle span { display: none; }
.menu-toggle {
  display: none;
  cursor: pointer;
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  user-select: none;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .menu-toggle { display: block; }

  nav {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #1E2A78;
    padding: 10px 0;
    margin-bottom: 10px;
  }
  nav.active { display: flex; }
  nav a {
    margin: 5px 20px;
    font-size: 16px;
  }

  /* Hide search bar on mobile */
  .search-form { display: none; }
}