


/* === HEADER STYLES === */
.productSearch-header {
  padding: 60px 20px 20px;
  text-align: center;
  color: #000000;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.productSearch-title {
  font-size: 2.8rem;
  font-weight: bold;
  margin-bottom: 16px;
  letter-spacing: 1px;
}

/* === SEARCH BAR === */
.productSearch-bar-container {
  display: flex;
  justify-content: center;
  position: relative;
  width: 100%;
  padding: 0 20px;
}

.productSearch-input {
  width: 100%;
  max-width: 600px;
  padding: 14px 24px;
  border-radius: 50px;
  border: none;
  font-size: 17px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  outline: none;
  transition: all 0.3s;
  height: 30px;
}

.productSearch-input:focus {
  box-shadow: 0 0 10px rgba(139, 0, 0, 0.8);
}

/* === SEARCH RESULTS === */
.productSearch-results {
  background: #ffffff;
  max-width: 600px;
  margin: 30px auto;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  color: #333;
}

.productSearch-item {
  padding: 14px;
  border-bottom: 1px solid #eee;
  cursor: pointer;
  transition: background 0.3s ease;
  border-radius: 8px;
}

.productSearch-item:hover {
  background: #fff1e6;
}

/* === BUTTONS === */
.productSearch-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.customProductSearchResults {
  max-width: 1200px;
  width: 90%;
  margin: 50px auto;
  padding: 30px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  animation: fadeInUp 0.6s ease-out;
  display: none;
}
.productPrice{
  color: black;
}
.customProductSearchResults h1 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #f9f9f900;
}

/* Filter Heading */
.shirtsHeading {
  margin: 40px 0 20px;
  padding: 10px 20px;
  color: black;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0);
}

.shirtsHeading h1{
  color: black;
}

.filterName {
  margin: 0;
  font-size: 1.8rem;
  font-weight: bold;
  color: black;
}

/* Product Items Container */
.searchResults {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  width: 100%;
}

/* Walmart Product Container */
.walmartSearchProductContainer {
  background: rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 20px;
  width: 100%;
  min-height: 180px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
}

/* Page Loader */
.pageLoaderContainer {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  min-height: 120px;
}

.pageLoaderProductsPage {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top: 4px solid #ff4e50;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Animations */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === PRIMARY BUTTON (Modern Red Gradient) === */
.productSearch-btn-primary {
  background: linear-gradient(135deg, #ff4e50, #f9d423);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  min-width: auto;
  height: 60px;
  width: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0px;
  padding: 0px;
  position: relative;
  left: 10px;
}
.productSearch-btn-primary svg{
  fill: white;
  height: 24px;
  width: 24px;
}
.productSearch-btn-primary:hover {
  background: linear-gradient(135deg, #e0363f, #f39c12);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}



@media (max-width: 768px) {
  /* HEADER */
  .productSearch-header {
    padding: 40px 15px 15px;
  }

  .productSearch-title {
    font-size: 1.8rem;
    margin-bottom: 12px;
  }

  /* SEARCH BAR */
  .productSearch-bar-container {
    flex-direction: column;
    padding: 0 15px;
    width: 80%;
  }

  .productSearch-input {
    font-size: 14px;
    padding: 10px 16px;
    height: auto;
    max-width: 100%;
  }

  /* SEARCH RESULTS */
  .productSearch-results {
    padding: 16px;
    margin: 20px 10px;
  }

  .productSearch-item {
    font-size: 14px;
    padding: 10px;
  }

  /* BUTTONS */
  .productSearch-buttons {
    gap: 12px;
    margin-top: 20px;
  }

  .productSearch-btn-primary{
    font-size: 14px;
    border-radius: 50%;
    position: absolute;
    left: 96%;
    height: 38px;
    width: 38px;
  }

  /* RESULTS CONTAINER */
  .customProductSearchResults {
    padding: 20px;
    width: 90%;
  }

  .customProductSearchResults h1 {
    font-size: 1.6rem;
  }

  /* FILTER HEADINGS */
  .shirtsHeading {
    margin: 20px 0 10px;
    padding: 8px 12px;
  }

  .filterName {
    font-size: 1.4rem;
  }

  /* PRODUCT CONTAINERS */
  .walmartSearchProductContainer {
    padding: 12px;
    flex-direction: column;
    align-items: center;
  }

  /* LOADER */
  .pageLoaderContainer {
    min-height: 100px;
  }

  .pageLoaderProductsPage {
    width: 30px;
    height: 30px;
    border-width: 3px;
  }

  .shirtsContainer h1 {
     font-size: 20px;
  }
  .shirtsContainer img {
    height: 70px;
    width: 70px;
  }

  .productSearch-btn-primary svg {
    height: 20px;
    width: 20px;
  }
}

