/* Modern Not Found Page Styles */

.page-not-found .search {
    position: relative;
    top: -13px;
    right: 11px;
 }

.page-not-found {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.not-found-container {
  max-width: 600px;
  width: 100%;
  text-align: center;
  padding: 40px;
  background: #ffffff;
  border-radius: 16px;
}

.not-found-icon {
  margin-bottom: 24px;
}

.not-found-icon i {
  font-size: 80px;
  color: #f47021;
  animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.not-found-title {
  font-size: 32px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 16px;
  line-height: 1.3;
}

.not-found-description {
  font-size: 16px;
  color: #7f8c8d;
  margin-bottom: 32px;
  line-height: 1.6;
}

.not-found-suggestions {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 32px;
  border-left: 4px solid #f47021;
}

.suggestions-title {
  font-size: 16px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 16px;
  text-align: left;
}

.suggestions-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.suggestions-list li {
  font-size: 14px;
  color: #5a6c7d;
  padding: 8px 0;
  padding-left: 28px;
  position: relative;
}

.suggestions-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #f47021;
  font-weight: bold;
  font-size: 16px;
}

.not-found-search {
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.not-found-search .search-widget {
  width: 100%;
}

.not-found-search input[type="text"] {
  width: 100%;
  padding: 14px 20px;
  font-size: 15px;
  border: 2px solid #e0e0e0;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.not-found-search input[type="text"]:focus {
  border-color: #f47021;
  outline: none;
  box-shadow: 0 0 0 3px rgba(244, 112, 33, 0.1);
}

.not-found-actions {
  margin-top: 24px;
}

.not-found-actions .btn {
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  background: #f47021;
  color: white;
  border: none;
}

.not-found-actions .btn:hover {
  background: #d65e1a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(244, 112, 33, 0.3);
}

.not-found-actions .btn i {
  font-size: 16px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .page-not-found {
    min-height: 50vh;
    padding: 20px 15px;
  }

  .not-found-container {
    padding: 30px 20px;
    border-radius: 12px;
  }

  .not-found-icon i {
    font-size: 60px;
  }

  .not-found-title {
    font-size: 24px;
    margin-bottom: 12px;
  }

  .not-found-description {
    font-size: 14px;
    margin-bottom: 24px;
  }

  .not-found-suggestions {
    padding: 20px;
    margin-bottom: 24px;
  }

  .suggestions-title {
    font-size: 14px;
    margin-bottom: 12px;
  }

  .suggestions-list li {
    font-size: 13px;
    padding: 6px 0;
    padding-left: 24px;
  }

  .not-found-search {
    margin-bottom: 24px;
  }

  .not-found-actions .btn {
    padding: 12px 24px;
    font-size: 14px;
    width: 100%;
    justify-content: center;
  }
}

/* Animation on page load */
.not-found-container {
  animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Fix for PrestaShop search widget in not-found page */
.page-not-found #search_widget form {
  display: flex;
  gap: 8px;
}

.page-not-found #search_widget input[type="text"] {
  flex: 1;
  padding: 14px 20px;
  font-size: 15px;
  border: 2px solid #e0e0e0;
  border-radius: 50px;
  transition: all 0.3s ease;
  height: 40px;
}

.page-not-found #search_widget input[type="text"]:focus {
  border-color: #f47021;
  outline: none;
  box-shadow: 0 0 0 3px rgba(244, 112, 33, 0.1);
}

.page-not-found #search_widget button[type="submit"] {
  padding: 14px 28px;
  background: #f47021;
  color: white;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.page-not-found #search_widget button[type="submit"]:hover {
  background: #d65e1a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(244, 112, 33, 0.3);
}
