.search-header {
  text-align: center;
  margin: 80px 0 60px;
}

.search-title {
  font-size: 48px;
  line-height: 1.2;
  font-weight: 400;
  color: rgba(54, 54, 54, 1);
  margin: 0;
  text-transform: uppercase;
}

.search-title span {
  color: rgba(54, 54, 54, 0.7);
}

.search-products-section {
  margin-bottom: 80px;
}

.search-products-section h2,
.search-posts-section h2 {
  font-size: 32px;
  line-height: 1.2;
  font-weight: 400;
  color: rgba(54, 54, 54, 1);
  margin: 0 0 40px;
  font-family: "Simula";
}

.search-product {
  margin-bottom: 40px;
}

.search-product .product-image {
  display: block;
  margin-bottom: 20px;
  overflow: hidden;
}

.search-product .product-image img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.search-product .product-image:hover img {
  transform: scale(1.05);
}

.search-product h3 {
  font-size: 18px;
  line-height: 1.4;
  font-weight: 400;
  margin: 0;
}

.search-product h3 a {
  color: rgba(54, 54, 54, 1);
  text-decoration: none;
}

.search-product h3 a:hover {
  color: rgba(54, 54, 54, 0.7);
}

.search-posts-section {
  padding: 60px 0;
}

.search-posts-section h2 {
  margin-bottom: 40px;
  font-size: 32px;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.post-card {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
}

.post-image {
  width: 100%;
  height: 300px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-bottom: 20px;
}

.post-details {
  padding: 15px 0;
}

.post-details h3 {
  color: var(--color-black) !important;
}

.post-date {
  font-size: 0.7rem;
  color: var(--color-dark-gray);
}

.post-title {
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-black) !important;
  margin-top: 1rem;
  width: 90%;
}

.no-results {
  text-align: center;
  padding: 80px 0;
}

#searchform {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 0 auto;
}

#searchform div {
  max-width: 340px;
  width: 100%;
  margin: 0 auto;
}

#searchform input {
  border: none;
  border-bottom: 1px solid #838383;
  padding: 16px 0 8px 0;
  font-size: 18px;
  background: transparent;
  width: 100%;
  transform: translateX(0);
  transition: all 0.3s ease;
}

#searchform input:focus {
  outline: none;
}

#searchsubmit {
  border-radius: 100px;
  letter-spacing: 1.5px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  background: var(--color-dark-gray) !important;
  border: none;
  color: #fff;
  opacity: 1;
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px !important;
  padding: 0 !important;
  height: 50px;
}

#searchsubmit:hover {
  background: var(--color-black) !important;
}

.no-results h2 {
  font-size: 32px;
  line-height: 1.2;
  font-weight: 400;
  color: rgba(54, 54, 54, 1);
  margin: 0 0 20px;
  font-family: "Simula";
}

.no-results p {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(54, 54, 54, 0.8);
  margin: 0 0 40px;
  font-family: "Simula";
}

.all-products-joi-section__products h2 {
  font-size: 32px;
  line-height: 1.2;
  font-weight: 400;
  color: rgba(54, 54, 54, 1);
  margin: 0 0 40px;
  font-family: "Simula";
}

.hero-products-section {
  max-height: 460px;
}

.banner-title {
  font-size: 40px !important;
  line-height: 56px !important;
  margin-top: 140px !important;
  margin-bottom: 0 !important;
  color: #fff !important;
}
.banner-subtitle {
  color: #fff;
  display: block;
  font-weight: 300;
  font-size: 24px;
  letter-spacing: 1px;
  line-height: 3rem;
  margin-bottom: 2rem;
  font-family: "Simula";
}

header#main-header {
  border-bottom: none !important;
}

.banner-content {
  position: absolute;
  top: 104px;
  left: 5%;
}

.banner-title span {
  display: block;
  border-bottom: solid 2px;
  width: fit-content;
}

@media (max-width: 768px) {
  .all-products-joi-section .product-name {
    font-size: 14px !important;
    margin-bottom: 6px !important;
    font-family: "Simula" !important;
    font-weight: 300 !important;
    letter-spacing: 0.03em !important;
    max-width: 100%;
    display: block;
  }
  .all-products-joi-section .product-card-inner {
    height: auto !important;
  }
  .search-header {
    margin: 40px 0;
  }
  .search-title {
    font-size: 32px;
  }
  .search-products-section,
  .search-posts-section {
    margin-bottom: 40px;
  }
  .search-products-section h2,
  .search-posts-section h2 {
    font-size: 24px;
    margin-bottom: 24px;
  }
  .search-post h3 {
    font-size: 20px;
  }
}

@media (max-width: 991px) {
  .posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .posts-grid {
    grid-template-columns: 1fr;
  }
  .post-image {
    height: 250px;
  }
  .search-posts-section {
    padding: 40px 0;
  }
  .search-posts-section h2 {
    font-size: 28px;
    margin-bottom: 30px;
  }
}

.all-products-joi-section__products .product-grid {
  display: grid;
  gap: 18px;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
  row-gap: 80px;
}

.all-products-joi-section__products .product-details {
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
}

.all-products-joi-section__products .product-name {
  font-size: 16px !important;
  margin-bottom: 6px !important;
  font-family: "Simula" !important;
  font-weight: 300 !important;
  letter-spacing: 0.03em !important;
  display: block;
}

.all-products-joi-section__products .product-category {
  font-size: 0.9rem !important;
  color: #737373;
  margin-bottom: 8px !important;
  font-weight: 400;
}

.all-products-joi-section__products .product-price {
  font-size: 14px;
  font-weight: normal;
  color: #737373;
  margin-bottom: 0.8rem;
  margin-top: 24px;
}

.all-products-joi-section__products .btn-add {
  display: block;
  color: var(--color-dark-gray);
  cursor: pointer;
  letter-spacing: 0.03em;
  font-size: 0.9rem;
  padding: 12px;
  border-width: 1px;
  border-style: solid;
  border-color: rgb(187, 187, 187);
  border-image: initial;
  border-radius: 100px;
}

.all-products-joi-section__products .btn-add:hover {
  border: solid 1px var(--color-dark-gray) !important;
}

.all-products-joi-section__products .product-badges {
  position: absolute !important;
  top: 1rem !important;
  display: flex !important;
  width: 100% !important;
  justify-content: flex-end !important;
}

@media (min-width: 1640px) {
  .all-products-joi-section__products .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 992px) and (max-width: 1639px) {
  .all-products-joi-section__products .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .product-grid .product-details {
    flex-direction: column;
    gap: 1rem;
  }
  .product-grid .product-details .product-link {
    max-width: 130px;
  }
  .all-products-joi-section .product-price {
    margin-top: 0;
  }
}
