#urunler {}

#urunler .urunlist {}

#urunler .urunlist .grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-gap: 20px;
}

#urunler .urunlist .grid .s {
  padding: 15px 15px 25px 15px;
  background: #fff;
  text-align: center;
  position: relative;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  overflow: hidden;
  cursor: pointer;
}

#urunler .urunlist .grid .s:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

#urunler .urunlist .grid .s a.img {
  position: relative;
  display: block;
  padding-top: 100%;
  overflow: hidden;
  border-radius: 6px;
}

#urunler .urunlist .grid .s a.img img {
  position: absolute;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

#urunler .urunlist .grid .s:hover a.img img {
  transform: scale(1.05);
}

#urunler .urunlist .grid .s a.name {
  margin: 12px 0 0 0;
  font-family: 'jost_semibold';
  font-size: 1rem;
  color: #333;
  text-decoration: none;
  display: block;
  line-height: 1.3;
  transition: color 0.3s ease;
}

#urunler .urunlist .grid .s:hover a.name {
  color: #000000;
}

#urunler .urunlist .grid .s .info {
  height: 36px;
  line-height: 18px;
  margin: 8px 0 0 0;
  color: #888;
  font-size: 0.85rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.discount-slider h2 {
  color: #333;
}

.product-card {
  background: #fff;
}

.product-card img {
  aspect-ratio: 1 / 1;
}

.swiper-button-prev,
.swiper-button-next {
  color: #00a934;
}

.swiper-pagination-bullet-active {
  background: #00a934;
}

#urunler .urunlist .grid .s .price {
  display: none;
  margin: 8px 0 0 0;
  font-family: 'jost_bold';
  font-size: 1.1rem;
  color: #00a934;
}

#urunler .urunlist .grid .s .price.show {
  display: block;
}

/* Sepet İşlemleri - Hover ile Açılır */
#urunler .urunlist .grid .s .sepetislem {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(255,255,255,0.95), rgba(255,255,255,0.9));
  backdrop-filter: blur(5px);
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out;
  padding: 15px;
  border-top: 1px solid rgba(0,0,0,0.1);
}

#urunler .urunlist .grid .s:hover .sepetislem {
  transform: translateY(0);
}

#urunler .urunlist .grid .s .sepetislem .loading {
  display: none;
  position: absolute;
  z-index: 10;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(3px);
}

#urunler .urunlist .grid .s.ajax .sepetislem .loading {
  display: block;
}

#urunler .urunlist .grid .s .sepetislem .loading img {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  width: auto;
  max-height: 30px;
  transform: translate(-50%, -50%);
}

#urunler .urunlist .grid .s .counter {
  margin: 0 0 12px 0;
}

#urunler .urunlist .grid .s .counter .grid44 {
  display: inline-grid;
  grid-template-columns: 35px auto 35px;
  grid-gap: 0;
  align-items: center;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

#urunler .urunlist .grid .s .counter .minus,
#urunler .urunlist .grid .s .counter .plus {
  height: 35px;
  line-height: 35px;
  align-items: center;
  background: #ff6b35;
  color: #fff;
  cursor: pointer;
  transition: background 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

#urunler .urunlist .grid .s .counter .minus:hover,
#urunler .urunlist .grid .s .counter .plus:hover {
  background: #ffe209;
}

#urunler .urunlist .grid .s .counter .count {}

#urunler .urunlist .grid .s .counter .count input {
  display: block;
  width: 70px;
  height: 35px;
  line-height: 35px;
  text-align: center;
  font-family: 'jost_bold';
  font-size: 1rem;
  color: #333;
  background: #f8f9fa;
  border: none;
  outline: none;
}

#urunler .urunlist .grid .s .button {
  margin: 0;
}

#urunler .urunlist .grid .s .button a {
  display: block;
  padding: 12px 20px;
  background: #ff6b35;
  color: #fff;
  font-family: 'jost_semibold';
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  border-radius: 6px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(255,107,53,0.3);
}

#urunler .urunlist .grid .s .button a:hover {
  background: #fcc100;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(252,193,0,0.4);
}



/* Responsive Breakpoints */

@media only screen and (max-width: 1500px) {
  #urunler .urunlist .grid {
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 20px;
  }
}

@media only screen and (max-width: 1200px) {
  #urunler .urunlist .grid {
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 20px;
  }
}

@media only screen and (max-width: 850px) {
  #urunler .urunlist .grid {
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 15px;
  }

  #urunler .urunlist .grid .s a.img {
    padding-top: 80%;
  }

  #urunler .urunlist .grid .s .counter .grid44 {
    grid-template-columns: 30px auto 30px;
  }

  #urunler .urunlist .grid .s .counter .minus,
  #urunler .urunlist .grid .s .counter .plus {
    height: 30px;
    line-height: 30px;
    background: #ff6b35;
  }

  #urunler .urunlist .grid .s .counter .minus:hover,
  #urunler .urunlist .grid .s .counter .plus:hover {
    background: #ffe209;
  }

  #urunler .urunlist .grid .s .counter .count input {
    width: 60px;
    height: 30px;
    line-height: 30px;
    font-size: 0.9rem;
  }

  #urunler .urunlist .grid .s .button a {
    padding: 10px 15px;
    font-size: 0.85rem;
  }
}

/* Düzeltilmiş Safari ve küçük ekran desteği */
@media only screen and (max-width: 500px) {
  #urunler .urunlist .grid {
    grid-template-columns: repeat(auto-fit, minmax(48%, 1fr));
    grid-gap: 10px;
    width: 100%;
    display: grid;
  }

  #urunler .urunlist .grid > * {
    min-width: 0;
  }

  #urunler .urunlist .grid .s {
    padding: 12px 12px 20px 12px;
  }

  #urunler .urunlist .grid .s .sepetislem {
    padding: 12px;
  }

  #urunler .urunlist .grid .s .counter .grid44 {
    grid-template-columns: 28px auto 28px;
  }

  #urunler .urunlist .grid .s .counter .minus,
  #urunler .urunlist .grid .s .counter .plus {
    height: 28px;
    line-height: 28px;
    background: #ff6b35;
  }

  #urunler .urunlist .grid .s .counter .minus:hover,
  #urunler .urunlist .grid .s .counter .plus:hover {
    background: #ffe209;
  }

  #urunler .urunlist .grid .s .counter .count input {
    width: 50px;
    height: 28px;
    line-height: 28px;
    font-size: 0.85rem;
  }

  #urunler .urunlist .grid .s .button a {
    padding: 8px 12px;
    font-size: 0.8rem;
  }

  /* Mobilde hover yerine tıklama için */
  #urunler .urunlist .grid .s .sepetislem {
    position: static;
    transform: none;
    background: transparent;
    backdrop-filter: none;
    border-top: 1px solid #eee;
    margin-top: 10px;
    padding-top: 10px;
  }
}

/* Fancydata kısmı */
.fancydata1 {
  max-width: 500px;
  margin: 0 auto;
}

.fancydata1 .img {
  text-align: center;
  margin-bottom: 20px;
}

.fancydata1 .img img {
  max-width: 80%;
  height: auto;
  border-radius: 8px;
}

.fancydata1 .name {
  margin: 15px 0 20px 0;
  font-family: 'jost_semibold';
  font-size: 1.3rem;
  text-align: center;
  color: #333;
  line-height: 1.3;
}

/* Animasyonlar */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

#urunler .urunlist .grid .s {
  animation: fadeInUp 0.6s ease-out;
}

#urunler .urunlist .grid .s:nth-child(1) { animation-delay: 0.1s; }
#urunler .urunlist .grid .s:nth-child(2) { animation-delay: 0.2s; }
#urunler .urunlist .grid .s:nth-child(3) { animation-delay: 0.3s; }
#urunler .urunlist .grid .s:nth-child(4) { animation-delay: 0.4s; }
#urunler .urunlist .grid .s:nth-child(5) { animation-delay: 0.5s; }