.xcodee-brands-banner-wrapper {
  width: 100%;
  overflow: hidden;
}

.xcodee-brands-banner {
  width: 100%;
  min-height: 400px;
}

.xcodee-brands-banner .swiper-wrapper {
  display: flex;
}

.xcodee-brands-banner .swiper-slide {
  height: auto;
  display: flex;
}

.xcodee-brand-column {
  width: 100%;
  height: 100%;
  min-height: 400px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background-size: 40px 40px;
  background-position: 0 0, 0 0;
  transition: transform 0.3s ease;
}

/* Alternating background patterns */
.xcodee-brand-column-1,
.xcodee-brand-column-3,
.xcodee-brand-column-5,
.xcodee-brand-column-7 {
  /* Dark blue with white diagonal lines */
  background-color: #1a3a5c;
    position: relative;
    overflow: hidden;
}

.xcodee-brand-column-1::before,
.xcodee-brand-column-3::before,
.xcodee-brand-column-5::before,
.xcodee-brand-column-7::before{
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cpath d='M0 40L40 0' stroke='white' stroke-width='1' stroke-opacity='0.15'/%3E%3C/svg%3E");
    background-repeat: repeat;
}

.xcodee-brand-column-2::before,
.xcodee-brand-column-4::before,
.xcodee-brand-column-6::before,
.xcodee-brand-column-8::before{
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cpath d='M0 40L40 0' stroke='navy' stroke-width='1' stroke-opacity='0.15'/%3E%3C/svg%3E");
    background-repeat: repeat;
}


/* keep content above */
.xcodee-brand-column * {
    position: relative;
    z-index: 2;
}


.xcodee-brand-column-2,
.xcodee-brand-column-4,
.xcodee-brand-column-6,
.xcodee-brand-column-8 {
  /* Light grey with dark blue diagonal lines */
  background-color: #e8e8e8;
}

.xcodee-brand-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
}

.xcodee-brand-link:hover {
  transform: scale(1.05);
  text-decoration: none;
}

.xcodee-brand-logo {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.xcodee-brand-logo img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.xcodee-brand-product {
  width: 100%;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.xcodee-brand-product img {
  max-width: 100%;
  max-height: 300px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* Navigation buttons */
.xcodee-brands-banner .swiper-button-next,
.xcodee-brands-banner .swiper-button-prev {
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.xcodee-brands-banner .swiper-button-next:hover,
.xcodee-brands-banner .swiper-button-prev:hover {
  background: rgba(0, 0, 0, 0.8);
}

.xcodee-brands-banner .swiper-button-next::after,
.xcodee-brands-banner .swiper-button-prev::after {
  font-size: 18px;
}

/* Pagination */
.xcodee-brands-banner .swiper-pagination-bullet {
  background: #fff;
  opacity: 0.5;
}

.xcodee-brands-banner .swiper-pagination-bullet-active {
  opacity: 1;
}

/* Responsive */
@media (max-width: 1024px) {
  .xcodee-brand-column {
    min-height: 350px;
  }

  .xcodee-brand-logo {
    max-width: 150px;
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .xcodee-brand-column {
    min-height: 300px;
  }

  .xcodee-brand-logo {
    max-width: 120px;
    margin-bottom: 15px;
  }

  .xcodee-brand-product img {
    max-height: 200px;
  }
}
