.profil{
    
    width: 67%;
   margin: 0 auto;
   
    box-sizing: border-box;
    height: 80px;
}


.container {
  max-width: 1100px;
  margin: 30px auto;
  padding: 20px;
}

.main-card {
  background: white;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  margin-bottom: 30px;
}

.title {
  margin-bottom: 10px;
}

.text {
  margin: 5px 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.card-title {
  margin: 0;
}

.sub {
  color: gray;
  font-size: 14px;
  margin-bottom: 15px;
}

.info {
  margin: 6px 0;
}

@media (max-width: 900px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

.onas{
    width: 67%;
   margin: 0 auto;
   
    box-sizing: border-box;
    height: 80px;
}


.hero-slider{
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
    border-radius: 15px;
    margin-top: 20px;
}

.slides{
    display: none;
    width: 100%;
    height: 100%;
}

.slides img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.active{
    display: block;
}

.prev,
.next{
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 16px;
    color: white;
    font-size: 35px;
    font-weight: bold;
    background: rgba(0,0,0,0.4);
    user-select: none;
    border-radius: 50%;
    transition: 0.3s;
}

.prev:hover,
.next:hover{
    background: rgba(0,0,0,0.7);
}

.prev{
    left: 20px;
}

.next{
    right: 20px;
}

.fade{
    animation: fadeEffect 0.5s;
}

@keyframes fadeEffect{
    from{opacity:0.4}
    to{opacity:1}
}
.hero-slider{
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
    border-radius: 15px;
    margin-top: 20px;
}



/* PRIKAZ IZDELKOV */

.main{
    width:70%;
    margin:60px auto 0 auto;
    display:flex;
    gap:30px;
    padding:40px 0;
}

.filtri{
    width:20%;
    background:white;
    padding:20px;
    border-radius:10px;
    height: 450px;
}

.izdelki{
    width:80%;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
}

.izdelek-box{
    background:white;
    padding:15px;
    border-radius:10px;
    box-shadow:0 0 10px rgba(0,0,0,0.1);
    position:relative;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
}

.izdelek-box img{
    width:100%;
    height:150px;
    object-fit:contain;
    display:block;
    margin:auto;
}

.izdelek-box h2{
    font-size:22px;
    min-height:60px;
}

.opis{
    color:gray;
    min-height:50px;
}

.cena{
    font-size:24px;
    font-weight:bold;
    color:#084191;
}

button{
    width:100%;
    padding:12px;
    border:none;
    background:#084191;
    color:white;
    border-radius:5px;
    cursor:pointer;
}

.vsecek{
    position:absolute;
    top:15px;
    right:15px;
    font-size:25px;
    text-decoration:none;
}

.izdelki{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
}



