/* TrioProductCarousel — 4'lü dönen ürün vitrini (tek veya çift sıra) */

.cc_faIvPdY3Rx_qILs4nW54j .trio-product-carousel {
  font-family: var(--tg-font);
  overflow-x: clip;
  max-width: 100%;
}

.cc_faIvPdY3Rx_qILs4nW54j .trio-product-carousel .carousel-inner {
  margin-bottom: 48px;
}

.cc_faIvPdY3Rx_qILs4nW54j .trio-product-carousel .products-header {
  color: #211a1d;
  line-height: 48px;
  font-size: 40px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 48px;
}

.cc_faIvPdY3Rx_qILs4nW54j .trio-product-carousel .carousel-viewport {
  position: relative;
}

.cc_faIvPdY3Rx_qILs4nW54j .trio-product-carousel .carousel-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0 -16px;
  align-items: stretch;
  animation: cc_faIvPdY3Rx_qILs4nW54j_trio-carousel-fade 0.45s ease;
}

@keyframes cc_faIvPdY3Rx_qILs4nW54j_trio-carousel-fade {
  from {
    opacity: 0.35;
  }
  to {
    opacity: 1;
  }
}

.cc_faIvPdY3Rx_qILs4nW54j .trio-product-carousel .carousel-col {
  padding: 0 16px;
  min-width: 0;
  display: flex;
}

.cc_faIvPdY3Rx_qILs4nW54j .trio-product-carousel .carousel-col .showcase {
  width: 100%;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  margin-bottom: 32px;
}

.cc_faIvPdY3Rx_qILs4nW54j .trio-product-carousel .carousel-col .showcase .showcase-content {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

.cc_faIvPdY3Rx_qILs4nW54j .trio-product-carousel .carousel-col .showcase .showcase-content .showcase-price {
  margin-top: auto;
}

/* Arrows */
.cc_faIvPdY3Rx_qILs4nW54j .trio-product-carousel .carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid #bebebe;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  transform: translateY(-50%);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease, border-color 0.2s ease;
}

.cc_faIvPdY3Rx_qILs4nW54j .trio-product-carousel .carousel-viewport:hover .carousel-arrow {
  opacity: 1;
  visibility: visible;
}

.cc_faIvPdY3Rx_qILs4nW54j .trio-product-carousel .carousel-arrow:hover {
  border-color: #0558ee;
}

.cc_faIvPdY3Rx_qILs4nW54j .trio-product-carousel .carousel-arrow svg {
  width: 18px;
  height: 18px;
}

.cc_faIvPdY3Rx_qILs4nW54j .trio-product-carousel .carousel-prev {
  left: -6px;
}

.cc_faIvPdY3Rx_qILs4nW54j .trio-product-carousel .carousel-next {
  right: -6px;
}

@media (max-width: 1199px) {
  .cc_faIvPdY3Rx_qILs4nW54j .trio-product-carousel .carousel-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .cc_faIvPdY3Rx_qILs4nW54j .trio-product-carousel .carousel-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cc_faIvPdY3Rx_qILs4nW54j .trio-product-carousel .products-header {
    font-size: 28px;
    line-height: 36px;
    margin-bottom: 32px;
  }

  /* Touch devices: arrows always visible */
  .cc_faIvPdY3Rx_qILs4nW54j .trio-product-carousel .carousel-arrow {
    opacity: 1;
    visibility: visible;
    width: 34px;
    height: 34px;
  }
}

@media (max-width: 767px) {
  .cc_faIvPdY3Rx_qILs4nW54j .trio-product-carousel .carousel-inner {
    margin-bottom: 32px;
  }
}
