/* Banner Wrap - Full width with background image */
.asea-category-banner__wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 400px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  overflow: hidden;
  box-shadow: 0px 4px 13px 0px rgba(0, 0, 0, 0.1);
}

/* Left Side Overlay - Covers left portion with blur */
.asea-category-banner__overlay {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  z-index: 1;
  border-radius: inherit;
  backdrop-filter: blur(7.5px);
  -webkit-backdrop-filter: blur(7.5px);
}

/* Content sits on top of overlay */
.asea-category-banner__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: var(--space-sm, 0.5rem);
  padding: var(--space-xl, 2rem);
  width: 100%;
}

.asea-category-banner__heading {
  margin: 0;
}

.asea-category-banner__description {
  margin: 0;
  line-height: 1.55;
}

/* Desktop: Overlay only covers left 50% */
@media (min-width: 768px) {
  .asea-category-banner__overlay {
    width: 50%;
    right: auto;
    border-radius: 8px 0 0 8px;
  }

  .asea-category-banner__content {
    padding: var(--space-2xl, 3rem);
    width: 50%;
  }
}

@media (min-width: 1024px) {
  .asea-category-banner__content {
    padding: var(--space-3xl, 50px);
  }
}

/* Product Carousel */
.asea-category-banner__carousel-container {
  position: relative;
}

.asea-product-slider {
  overflow: visible;
}

.asea-product-slider .splide__track {
  overflow: visible;
}

.asea-product-slider .splide__list {
  height: unset;
}

/* Arrows - Match original styling */
.asea-product-slider .splide__arrow {
  background-color: rgba(255, 255, 255, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  width: 46px;
  border: 1px solid var(--clr-border, #e9ebf1);
  border-radius: 8px;
  top: 40%;
  transition: all 0.4s ease-in-out;
  opacity: 1;
}

.asea-product-slider .splide__arrow:hover {
  border-color: var(--clr-primary, #3171e9);
  background-color: var(--clr-white, #fff);
  opacity: 1;
}

.asea-product-slider .splide__arrow img {
  margin-inline: auto;
}

.asea-product-slider .splide__arrow--prev {
  left: 2rem;
}

.asea-product-slider .splide__arrow--next {
  right: 2rem;
}

.asea-product-slider .splide__arrow--next img {
  transform: rotate(180deg);
}

.asea-product-slider .splide__arrow--disabled {
  display: none;
}

/* Product Card */
.asea-product-card {
  display: block;
  text-decoration: none;
}

.asea-product-card__image {
  margin: 0;
  overflow: hidden;
  position: relative;
  height: 250px;
  border: 1px solid var(--clr-border, #e9ebf1);
  box-shadow: 0 4px 13px rgba(0, 0, 0, 0.1);
}

.asea-product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.asea-product-card__placeholder {
  width: 100%;
  height: 100%;
  background: var(--clr-neutral-light, #f5f5f5);
}

.asea-product-card__content {
  margin-top: var(--space-sm, 0.75rem);
}

.asea-product-card__title {
  margin: 0;
  font-size: var(--text-base, 1rem);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.asea-product-card__price {
  margin-top: var(--space-xs, 0.25rem);
  font-size: var(--text-sm, 0.875rem);
  color: var(--clr-green, #75c484);
}

.asea-product-card__price--compare {
  text-decoration: line-through;
  opacity: 0.6;
  margin-left: var(--space-xs, 0.25rem);
}
