body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  background: #fff;
  color: #000;
}

header, footer {
  background: #000;
  color: #fff;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 24px;
  font-weight: bold;
}

nav ul {
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
}

nav ul li a:hover {
  color: #888;
}

.cart-icon {
  position: relative;
  cursor: pointer;
}

.cart-icon::after {
  content: attr(data-count);
  position: absolute;
  top: -10px;
  right: -10px;
  background: red;
  color: #fff;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 50%;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 40px;
}

.product {
  border: 1px solid #000;
  padding: 15px;
  border-radius: 10px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.product:hover {
  transform: scale(1.1);
}

.product img {
  width: 100%;
  border-radius: 5px;
  border: 1px solid #000;
}

.cart-modal {
  position: fixed;
  top: 80px;
  right: 20px;
  background: #fff;
  color: #000;
  border: 1px solid #000;
  padding: 20px;
  border-radius: 10px;
  display: none;
  width: 300px;
  z-index: 1000;
}

.cart-modal.active {
  display: block;
}

#cartItems {
    list-style: none;
    padding: 0;
    margin: 0;
}

#cartItems li {
    display: block;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

#cartItems img {
    display: block;
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 5px;
}

#cartItems span {
    display: block;
    text-align: left;
    font-size: 14px;
    margin-bottom: 5px;
}

#cartItems button {
    display: block;
    background: transparent;
    border: none;
    color: #ff0000;
    font-size: 14px;
    cursor: pointer;
    text-align: left;
    padding: 0;
}


.order-form {
  margin-top: 15px;
}

.order-form input,
.order-form button {
  width: 100%;
  padding: 8px;
  border-radius: 5px;
  margin-bottom: 10px;
  border: 1px solid #000;
}

.order-form button {
  background: #000;
  color: #fff;
  border: none;
  cursor: pointer;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
}

.close {
  cursor: pointer;
  float: right;
  font-size: 20px;
  font-weight: bold;
}

.sklop-filtra, .filtriraj-container {
  background: #f4f4f4;
  padding: 20px;
  margin: 20px 40px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.filtriraj-container {
  background: #f9f9f9;
  padding: 25px 30px;
  border-radius: 15px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.filtriraj-container h2 {
  margin-bottom: 20px;
  font-size: 22px;
  color: #000;
}

.sklop-barve, .sklop-modela, .filter-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 45%;
  min-width: 200px;
  flex: 1;
}

.sklop-barve label, .sklop-modela label, .filter-group label {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  margin-bottom: 8px;
}

select {
  padding: 10px 12px;
  font-size: 16px;
  border-radius: 5px;
  border: 1px solid #ccc;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

select:hover, select:focus {
  border-color: #007bff;
  outline: none;
}

.pocisti-filter-btn, .počisti-filter {
  background: #dc3545;
  color: #fff;
  font-size: 16px;
  padding: 10px 15px;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 20px;
}

.počisti-filter:hover, .pocisti-filter-btn:hover {
  background-color: #b02a37;
}

.filter-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}
