.prodslider-section,
.prodslider-section *,
.prodslider-section *::before,
.prodslider-section *::after {
  box-sizing: border-box !important;
}

.prodslider-section {
  width: 100%;
  margin: 0 auto;
  padding: 40px 0;
  font-family: 'TT CommonsR';
  background-color: white;
}
.akcijatxt {
  font-family: 'TT CommonsM';
  text-align: left;
  margin-left: 2%;
  color:#51a120;
  font-size: 20px;
  
}
.prodslider-section h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 28px;
  color: #003c2d;
  font-family:'TT CommonsB';
  text-align: left;
  margin-left: 2%;
}

#ponuda {
    text-align: center;
  margin-bottom: 30px;
  font-size: 28px;
  color: #003c2d;
  font-family:'TT CommonsB';
  text-align: left;
  margin-left: 2%;
}

.prodslider-wrapper {
  position: relative;
  overflow: hidden;
  background: #fff;
  padding: 20px 0;
  box-shadow: white;
  touch-action: pan-y;
  user-select: none;
  width: 100%;
}

.prodslider-track {
  display: flex !important;
  flex-wrap: nowrap !important;
  transition: transform 0.5s ease-in-out;
  will-change: transform;
  width: 100% !important;
}

.prodslider-card {
  /* flex: 0 0 12.5% !important; */
  flex: 0 0 16.7% !important;
  padding: 0 6px !important;
  min-width: 0 !important;
}

.prodslider-link {
  text-decoration: none !important;
  color: inherit !important;
  display: block !important;
}

.prodslider-card-inner {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #eee;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.prodslider-link:hover .prodslider-card-inner {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.prodslider-card-inner img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block !important;
  background: #e8e8e8;
}

.prodslider-card-body {
  padding: 12px 8px;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.prodslider-card-body h3 {
  font-size: 13px;
  color: #333;
  margin-bottom: 6px;
  line-height: 1.3;
}

.prodslider-price {
  font-size: 15px;
  font-weight: 700;
  color: #003c2d;
}

.prodslider-old-price {
  font-size: 11px;
  color: #999;
  text-decoration: line-through;
  margin-right: 6px;
}

.prodslider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  font-size: 20px;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, color 0.3s;
  z-index: 10;
}

.prodslider-btn:hover { 
  background: #51a120; 
  color: #fff; 
}

.prodslider-btn--prev { left: 15px; }
.prodslider-btn--next { right: 15px; }

.prodslider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.prodslider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid #ccc;
  background: transparent;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s, transform 0.2s;
  padding: 0;
}

.prodslider-dot.prodslider-active {
  background: #51a120;
  border-color: #51a120;
  transform: scale(1.2);
}

.prodslider-progress {
  height: 3px;
  background: #eee;
  border-radius: 3px;
  margin-top: 12px;
  overflow: hidden;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}

.prodslider-bar {
  height: 100%;
  background: #51a120;
  border-radius: 3px;
  width: 0%;
  transition: width 0.1s linear;
}

@media (max-width: 768px) {
  .prodslider-card { 
    flex: 0 0 25% !important;
    padding: 0 8px !important; 
  }
  .prodslider-btn { 
    width: 36px; 
    height: 36px; 
    font-size: 16px; 
  }
}

@media (max-width: 480px) {
  .prodslider-card { 
    flex: 0 0 50% !important;
    padding: 0 10px !important; 
  }
  .prodslider-btn { 
    display: none !important; 
  }
  .prodslider-card-body h3 { 
    font-size: 14px; 
  }
  .prodslider-price { 
    font-size: 16px; 
  }
}



 