/* this is styles.css file */
/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Arial", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

a {
  text-decoration: none;
  color: inherit;
}

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

/* Header styles */
.header {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo img {
  height: 70px; /* Increased from 60px to 100px */
  max-width: 220px; /* Optional: set a max width if needed */
}

.auth-buttons {
  display: flex;
  gap: 15px;
}

.btn {
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-signup {
  background-color: #ff69b4; /* Pink theme */
  color: white;
  border: 2px solid #ff69b4;
}

.btn-login {
  background-color: transparent;
  color: #ff69b4;
  border: 2px solid #ff69b4;
}

.btn-signup:hover {
  background-color: #ff5ba7;
  border-color: #ff5ba7;
}

.btn-login:hover {
  background-color: #fff0f5;
}

/* Account dropdown styles */
.account-dropdown {
  position: relative;
}

.btn-account {
  background-color: #ff69b4;
  color: white;
  border: 2px solid #ff69b4;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-account:hover {
  background-color: #ff5ba7;
  border-color: #ff5ba7;
}

.dropdown-toggle .fa-chevron-down {
  font-size: 12px;
  transition: transform 0.3s ease;
}

.account-dropdown.active .fa-chevron-down {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 10;
}

.account-dropdown.active .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  color: #333;
  transition: background-color 0.3s ease;
}

.dropdown-item:first-child {
  border-radius: 8px 8px 0 0;
}

.dropdown-item:last-child {
  border-radius: 0 0 8px 8px;
}

.dropdown-item:hover {
  background-color: #fff0f5;
  color: #ff69b4;
}

.dropdown-item i {
  color: #ff69b4;
  width: 20px;
  text-align: center;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
  display: none;
  font-size: 24px;
  color: #ff69b4;
  cursor: pointer;
}

/* Categories section */
.categories {
  padding: 40px 0;
}

.category-grid {
  display: flex;
  gap: 30px;
}

.category-item {
  flex: 1;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.category-item:hover {
  transform: translateY(-5px);
}

.category-image {
  position: relative;
}

.category-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.category-title {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 105, 180, 0.8); /* Pink with opacity */
  color: white;
  padding: 15px;
  text-align: center;
  font-size: 24px;
  margin: 0;
}

/* Footer styles */
.footer {
  background-color: #ffeaf2; /* Light pink */
  padding: 40px 0 20px;
  margin-top: 40px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}

.footer-section {
  flex: 1;
  min-width: 200px;
}

.footer-section h3 {
  color: #ff69b4;
  margin-bottom: 15px;
  font-size: 18px;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.social-icons a {
  display: inline-block;
  width: 40px;
  height: 40px;
  background-color: #ff69b4;
  color: white;
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  transition: background-color 0.3s ease;
}

.social-icons a:hover {
  background-color: #ff5ba7;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #ffcce0;
  color: #666;
  font-size: 14px;
}

/* Responsive styles */
@media (max-width: 768px) {
  .header .container {
    flex-wrap: wrap;
  }

  .logo {
    flex: 1;
  }

  /* .auth-buttons {
        display: none;
        flex-direction: column;
        width: 100%;
        margin-top: 15px;
        justify-content: center;
    } */

  /* .auth-buttons.active {
        display: flex;
    } */

  /* .mobile-menu-toggle {
        display: block;
    } */

  .account-dropdown {
    width: 100%;
  }

  .btn-account {
    width: 100%;
    justify-content: center;
  }

  .dropdown-menu {
    position: absolute;
    top: 110%; /* just below the button */
    right: 0;
    left: auto;
    width: 180px;
    min-width: 140px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-top: 0;
    display: none;
    z-index: 100;
  }

  .account-dropdown.active .dropdown-menu {
    display: block;
  }

  .category-grid {
    flex-direction: column;
  }

  .footer-content {
    flex-direction: column;
    gap: 20px;
  }

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

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

@media (max-width: 480px) {
  .btn {
    padding: 8px 15px;
    font-size: 14px;
  }

  .category-image img {
    height: 300px;
  }

  .category-title {
    font-size: 20px;
    padding: 10px;
  }
}

/* Sidebar Filter Styles */
.sidebar {
  width: 280px;
  flex-shrink: 0;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  padding: 20px;
  position: sticky;
  top: 20px;
  height: fit-content;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
}

.filter-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  background-color: #ff69b4;
  color: white;
  padding: 10px;
  border-radius: 25px;
  margin-bottom: 15px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
}

.filter-toggle i {
  margin-right: 8px;
}

.filter-toggle:hover {
  background-color: #ff5ba7;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 105, 180, 0.3);
}

.filter-title {
  font-size: 18px;
  color: #333;
  margin-bottom: 20px;
  text-align: center;
  position: relative;
}

.filter-title:after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background-color: #ff69b4;
  margin: 10px auto 0;
  border-radius: 3px;
}

.filter-section {
  margin-bottom: 25px;
}

.filter-section h4 {
  font-size: 16px;
  color: #555;
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eee;
}

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

.filter-group label {
  display: block;
  font-size: 14px;
  color: #666;
  margin-bottom: 8px;
}

.filter-select,
.filter-input {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 25px;
  font-size: 14px;
  color: #333;
  background-color: #f9f9f9;
  transition: all 0.3s ease;
}

.filter-select:focus,
.filter-input:focus {
  border-color: #ff69b4;
  box-shadow: 0 0 0 3px rgba(255, 105, 180, 0.2);
  outline: none;
}

.range-slider {
  padding: 0 5px;
}

.range-values {
  text-align: center;
  font-size: 14px;
  color: #666;
  margin-bottom: 10px;
}

.range-inputs {
  position: relative;
  height: 30px;
}

.range-input {
  position: absolute;
  width: 100%;
  height: 5px;
  background: #ffeaf2; /* Light pink track */
  border-radius: 3px;
  pointer-events: auto; /* Allow interaction */
  -webkit-appearance: none;
  appearance: none;
  z-index: 1;
}

.range-input::-webkit-slider-thumb {
  height: 18px;
  width: 18px;
  border-radius: 50%;
  background: #ff69b4;
  pointer-events: auto;
  -webkit-appearance: none;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.range-input::-moz-range-thumb {
  height: 18px;
  width: 18px;
  border-radius: 50%;
  background: #ff69b4;
  pointer-events: auto;
  -moz-appearance: none;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  border: none;
}

.range-input:focus::-webkit-slider-thumb {
  box-shadow: 0 0 0 3px rgba(255, 105, 180, 0.3);
}

.range-input:focus::-moz-range-thumb {
  box-shadow: 0 0 0 3px rgba(255, 105, 180, 0.3);
}

.filter-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-filter-apply,
.btn-filter-reset {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-filter-apply {
  background-color: #ff69b4;
  color: white;
}

.btn-filter-apply:hover {
  background-color: #ff5ba7;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 105, 180, 0.3);
}

.btn-filter-reset {
  background-color: #f0f0f0;
  color: #666;
}

.btn-filter-reset:hover {
  background-color: #e0e0e0;
}

.btn-filter-apply i,
.btn-filter-reset i {
  margin-right: 8px;
}

/* Active filters */
.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
  padding: 15px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.filter-tag {
  display: inline-flex;
  align-items: center;
  background-color: #fff0f5;
  color: #ff69b4;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13px;
}

.clear-filters {
  display: inline-flex;
  align-items: center;
  background-color: #f0f0f0;
  color: #666;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.clear-filters:hover {
  background-color: #e0e0e0;
  color: #333;
}

/* No results message */
.no-results {
  text-align: center;
  padding: 60px 20px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.no-results i {
  font-size: 48px;
  color: #ff69b4;
  margin-bottom: 15px;
}

.no-results h3 {
  font-size: 20px;
  color: #333;
  margin-bottom: 10px;
}

.no-results p {
  color: #666;
  margin-bottom: 20px;
}
