body {
  background-color: #cfcfcf;
}



.navbar {
  padding-top: 0.15rem;
  padding-bottom: 0.15rem;
}

.search-input {
  width: 100px;

}

.search-input {
  width: 120px;
  height: 25px;
  font-size: 0.8rem;
  padding: 0.25rem 0.5rem;

}

.navbar-custom {
  background-color: #c2c2c2;
  color: white;
}

.navbar-custom .navbar-brand,
.navbar-custom .nav-link,
.navbar-custom .btn {
  color: white;
}

footer p {

  margin: 2px 0;
}

footer a {
  color: white;
  text-decoration: none;
}

footer {
  background-color: #c2c2c2;
  color: white;
}


.navbar .nav-item:nth-child(4) .nav-link {
  color: red;
}


.dropdown-submenu {
  position: relative;
}

.dropdown-submenu .dropdown-menu {
  display: none;
  position: absolute;
  top: 0;
  left: 100%;
  margin-left: 0.1rem;
}


.dropdown-submenu:hover .dropdown-menu {
  display: block;
}

.sale-item {
  color: red;
}



.product-item {
  text-align: center;
}


.image-link {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 0;
}

.image-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease;

}

/* Ховер эффект */
.img-hover {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.image-link:hover .img-hover {
  opacity: 1;
}

.image-link:hover .img-main {
  opacity: 0;
}






.product-name {
  margin-top: 2px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #222;
  margin-bottom: 0;
}

.product-price {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 0;

}

.product-price {
  margin-top: 0px !important;
}



.card,
.product-item {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
}