/* Kare Banner & 4'lü Slider Section Responsive CSS */
.square-slider-section {
  background: #f2f2f2;
  padding: 60px 0;
}
.square-slider-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 40px;
  padding: 0 16px;
  align-items: center;
}
.square-banner {
  width: 100%;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.square-banner a {
  width: 100%;
  height: 100%;
  display: block;
  transition: transform 0.2s ease;
}
.square-banner a:hover {
  transform: scale(1.02);
}
.square-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}
.square-slider-wrapper {
  width: 100%;
  overflow: hidden;
}
.elsen-square-swiper {
  width: 100%;
}
.elsen-square-swiper .swiper-wrapper {
  display: flex;
  gap: 15px;
}
.elsen-square-swiper .swiper-slide {
  width: 220px !important;
  flex: 0 0 24%;
  min-width: 220px;
  max-width: 100%;
  box-sizing: border-box;
  border: 1px solid #e5e5e5 !important;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
/* Kare Banner & 4'lü Slider Section Kart Tasarımı (Showcase'den alındı) */
.square-card {
  min-height: 370px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}
.square-card-img {
  width: 100%;
  max-width: 220px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0 5px 0 5px;
  box-sizing: border-box;
}
.square-card-img img,
.square-product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  margin: 0;
  padding: 0;
  border-radius: 12px;
  aspect-ratio: 1/1;
  background: #f9f9f9;
}
.square-card-info {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  margin-top: 12px;
  padding: 5px 0 0 0;
  box-sizing: border-box;
}
.square-card-name {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
  text-align: center;
}
.square-card-code {
  font-size: 12px;
  color: #888;
  margin-bottom: 4px;
  text-align: center;
}
.square-card-price {
  font-size: 16px;
  font-weight: bold;
  color: #242C3C;
  text-align: center;
}
/* Swiper navigation buttons for square slider */
.elsen-square-swiper .swiper-button-next,
.elsen-square-swiper .swiper-button-prev {
   background: #242C3C;
  color: #fff;
  width: 35px;
  height: 45px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  border-radius: 3px;
}
.elsen-square-swiper .swiper-button-next:hover,
.elsen-square-swiper .swiper-button-prev:hover {
  background: #eaeaea;
}
.elsen-square-swiper .swiper-button-next,
.elsen-square-swiper .swiper-button-prev {
  top: 50%;
  transform: translateY(-50%);
}
.elsen-square-swiper .swiper-button-next {
  right: 0px;
}
.elsen-square-swiper .swiper-button-prev {
  left: 0px;
}
@media (max-width: 1024px) {
  .elsen-square-swiper .swiper-slide {
    width: 50% !important;
    min-width: 0;
    flex: 1 0 50%;
  }
}
@media (max-width: 768px) {
  .square-card-img {
    height: 150px;
  }
  .square-slider-container {
    display: block !important;
  }
  .square-banner {
    width: 100% !important;
    height: 220px !important;
    margin-bottom: 24px !important;
  }
  .square-banner a {
    width: 100% !important;
    height: 100% !important;
  }
  .square-banner img {
    height: 100% !important;
    width: 100% !important;
    object-fit: cover !important;
  }
  .square-slider-wrapper {
    width: 100% !important;
  }
  .elsen-square-swiper .swiper-slide {
    width: 48% !important;
    min-width: 0;
    flex: 1 0 48%;
  }
}

