:root {
  /* Shared colors */
  --color-primary: #3b82f6;
  --color-danger: #ef4444;
  --color-success-bg: #dcfce7;
  --color-success-text: #166534;
  --color-draft-bg: #fee2e2;
  --color-draft-text: #991b1b;
  --color-bg-card: #ffffff;
  --color-border: #e2e8f0;
  --color-text-primary: #1e293b;
  --color-text-secondary: #64748b;
  --color-bg-light: #f8fafc;
}

.hero-section {
  position: relative;
  width: 100%;

  background-color: #f3f4f6; /* bg-gray-100 */
  padding-top: 1.5rem; /* py-6 */
  padding-bottom: 1.5rem;
  overflow: hidden;
  min-height:70vh ;
}

/* --- Decorative Shapes --- */
.hero-shape-top {
  position: absolute;
  top: 1.25rem; /* top-5 */
  /* -left-1 */
  width: 100%; /* w-full */
  height: 4.5rem; /* h-18 */
  background-color: #4f46e5; /* bg-indigo-600 */
}
.hero-shape-bottom {
  position: absolute;
  bottom: 1.25rem; /* bottom-5 */
  right: 0;
  width: 6rem; /* w-24 */
  height: 6rem; /* h-24 */
  background-color: #4f46e5;
  border-top-left-radius: 0.375rem; /* rounded-l-md */
  border-bottom-left-radius: 0.375rem;
}
@media (max-width: 640px) {
  .hero-shape-bottom {
    display: none;
  }
} /* max-sm:hidden */
@media (min-width: 768px) {
  /* md: */
  .hero-shape-top {
    height: 5.5rem;
  } 
  .hero-shape-bottom {
    width: 8rem;
    height: 8rem;
  } /* w-32 h-32 */
}
@media (min-width: 1024px) {
  /* lg: */
  .hero-shape-top {
    width: 45.454545%; /* w-5/11 */
    border-top-right-radius: 0.75rem; /* rounded-r-xl */
    border-bottom-right-radius: 0.75rem;
  }
}

.hero-container {
  /* width: 100%; */
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem; /* px-6 */
  padding-right: 1.5rem;
  position: relative;
  z-index: 10;
}
@media (max-width: 640px) {
  .hero-container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
} 
.hero-grid {
  max-width: 80rem; /* max-w-7xl */
 
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-direction: column;
}

/* --- Search Column --- */
.hero-search-col {
  width: 43%;
  justify-self: start;
}

.search-box {
  background-color: white;
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  text-align: center;
  position: relative;
  top: -2px;
  left: -251px;
  right: 350px;
  padding: 0.1rem 0.4rem 0.4rem 0.2rem;
}
@media (max-width: 1024px) {
  .hero-search-col {
    width: 100%;
    grid-column: span 4 / span 4;
  }
  .search-box{
left: 0;
  }
}
.search-title {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.025em;
  text-transform: capitalize;
  color: #1f2937;
  margin-bottom: 0.5rem;
}
@media (max-width: 768px) {
  /* .search-title {
    display: none;
  } */
   .hero-shape-top{
    height: 5.5rem
   }
  .hero-search-col {
    width: 100%;
  }
  .search-box {
    left: 0px;
    /* height: ; */
    /* padding: 0.5rem; */
  }
}

.search-input-wrapper {
  position: relative;
}
.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
}
.search-input {
  width: 100%;

  box-sizing: border-box;
  background-color: #f3f4f6;
  border-radius: 9999px;
  color: black;
  padding: 0.5rem 1rem 0.5rem 3rem;
  border: 1px solid transparent;
  transition: box-shadow 0.2s;
}
.search-input:focus {
  outline: none;
  box-shadow: 0 0 0 1px #4f46e5;
}

/* --- Suggestions List --- */
.suggestions-list {
  position: absolute;
  left: 0;
  right: 0;
  background-color: white;
  margin-top: 0.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  max-height: 15rem;
  overflow-y: auto;
  z-index: 50;
  text-align: left;
  list-style: none;
  padding: 1rem;
  display: none;
}
.suggestions-list.visible {
  display: block;
}
.suggestion-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 1rem;
  border-radius: 0.125rem;
  cursor: pointer;
  transition: background-color 0.2s;
}
.suggestion-item:hover {
  background-color: #f3f4f6;
}
.suggestion-item img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.375rem;
  object-fit: cover;
}
.suggestion-item .item-name {
  font-weight: 500;
  color: #1f2937;
  margin: 0;
}


/* --- Slider Column --- */
.hero-slider-col {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 1024px) {
  .hero-slider-col {
    grid-column: span 8 / span 8;
  }
}

.hero-slide {
  display: none; /* All slides are hidden by default */
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;

}
.hero-slide.hero-slide--active {
  display: flex;
    width: 100%;
    justify-content: space-around;
    gap: 12rem;
    height: 100%;
}
@media (max-width: 640px) {
  .hero-slide {
    flex-direction: column-reverse;
  }

  .hero-slide.hero-slide--active{
    gap: .8rem;
  }
}

.slide-content {
  padding: 0.5rem;
  text-align: center;
}
@media (min-width: 1024px) {
  .slide-content {
    text-align: left;
  }
}
.slide-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #4f46e5;
  font-family: monospace;
  letter-spacing: 0.025em;
}
@media (max-width: 640px) {
  .slide-title {
    font-size: 1.5rem;
  }
}
.slide-tagline {
  margin-top: 0.5rem;
  color: #374151;
  font-size: 1.125rem;
}
.detail-block h4 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-text-primary);
  margin: 0 0 10px;
}
.detail-block p {
  font-size: 0.9rem;
  color: var(--color-text-primary);
  line-height: 1.5;
  margin: 0;
}
.specifications-list {
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.specifications-list dt {
  font-weight: 500;
  color: var(--color-text-primary);
  float: left;
  margin-right: 5px;
}
.specifications-list dd {
  margin: 0;
  color: var(--color-text-secondary);
}
@media (max-width: 640px) {
  .slide-specs {
    display: none;
  }
}
.slide-button {
  margin-top: 2rem;
  background-color: #4f46e5;
  color: white;
  font-weight: 600;
  padding: 0.5rem 2rem;
  border-radius: 9999px;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.2s, transform 0.2s;
}
.slide-button:hover {
  background-color: #4338ca;
  transform: scale(1.05);
}

.slide-image-wrapper {
  margin: 0 auto;
}
.slide-image-bg {
  width: 16rem;
  height: 16rem;
  margin: 0 auto;
  background-color: black;
  border-radius: 9999px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}
.slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (min-width: 1024px) {
  .slide-image-bg {
    width: 18rem;
    height: 18rem;
  }
}

/* --- No Products & Navigation --- */
.no-products-message {
  display: none; /* Hidden by default */
  width: 100%;
  padding: 4rem 0; /* py-16 */
  text-align: center;
}
.no-products-message.no-products-message--visible {
  display: block; /* Show when needed */
}
.no-products-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #4b5563;
}
.no-products-subtitle {
  color: #6b7280;
  margin-top: 0.5rem;
}

.slider-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 30;
  background-color: rgba(255, 255, 255, 0);
  border-radius: 0.25rem;
  cursor: pointer;
  transition: background-color 0.2s;
  border: none;
  padding: 1rem 0.5rem;
}
.slider-nav-btn:hover {
  background-color: white;
}
.slider-nav-btn svg {
  color: #1f2937;
  height: 3rem;
  width: 3rem;
}
.slider-nav-btn--prev {
  left: 1rem;
}
.slider-nav-btn--next {
  right: 1rem;
}
