@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&display=swap");

body {
  font-family: "Poppins", sans-serif;
  color: #444444;
}

a,
a:hover {
  text-decoration: none;
  color: inherit;
}

.section-products {
  padding: 80px 0 54px;
}

.section-products .header {
  margin-bottom: 50px;
}

.section-products .header h3 {
  font-size: 1rem;
  color: #fe302f;
  font-weight: 500;
}

.section-products .header h2 {
  font-size: 2.2rem;
  font-weight: 400;
  color: #444444;
}

.section-products .single-product {
  margin-bottom: 26px;
  border: 1px solid lightgray;
  /* border-bottom: 1px solid lightgray; */
  border-radius: 50px;
  padding: 20px;
  text-align: center;
}

.section-products .single-product .part-1 {
  position: relative;
  height: 290px;
  max-height: 290px;
  margin-bottom: 20px;
  overflow: hidden;
}

.section-products .single-product .part-1::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  transition: all 0.3s;
}

.section-products .single-product:hover .part-1::before {
  transform: scale(1.2, 1.2) rotate(5deg);
}

.section-products #product-1 .part-1::before {
  background: url("https://i.ibb.co.com/QN1GbNZ/Controller.png") no-repeat
    center;
  background-size: cover;
  transition: all 0.3s;
}

.section-products #product-2 .part-1::before {
  background: url("https://i.ibb.co.com/nwMJXrW/Eurostar-Kit-box-Full.png")
    no-repeat center;
  background-size: cover;
}

.section-products #product-3 .part-1::before {
  background: url("https://i.ibb.co.com/sKV0Z10/Filter.png") no-repeat center;
  background-size: cover;
}

.section-products #product-4 .part-1::before {
  background: url("https://i.ibb.co.com/MV76bC0/Injector.png") no-repeat center;
  background-size: cover;
}

.section-products #product-5 .part-1::before {
  background: url("https://i.ibb.co.com/7pdgD1z/LPG-All-Kit.png") no-repeat
    center;
  background-size: cover;
}

.section-products #product-6 .part-1::before {
  background: url("https://i.ibb.co.com/RT0CVsJ/LPG-Full-Wiring.png") no-repeat
    center;
  background-size: cover;
}

.section-products #product-7 .part-1::before {
  background: url("https://i.ibb.co.com/MMjNVzS/Map-sensor.png") no-repeat
    center;
  background-size: cover;
}

.section-products #product-8 .part-1::before {
  background: url("https://i.ibb.co.com/W6HVbQq/middle-valbe.png") no-repeat
    center;
  background-size: cover;
}

.section-products #product-9 .part-1::before {
  background: url("https://i.ibb.co.com/nLq44nq/Sequential-reducer.png")
    no-repeat center;
  background-size: cover;
}

.section-products #product-10 .part-1::before {
  background: url("https://i.ibb.co.com/G7XGWJ8/Switch.png") no-repeat center;
  background-size: cover;
}

.section-products .single-product .part-1 .discount,
.section-products .single-product .part-1 .new {
  position: absolute;
  top: 15px;
  left: 20px;
  color: #ffffff;
  background-color: #fe302f;
  padding: 2px 8px;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.section-products .single-product .part-1 .new {
  left: 0;
  background-color: #444444;
}

.section-products .single-product .part-1 ul {
  position: absolute;
  bottom: -41px;
  left: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  opacity: 0;
  transition: bottom 0.5s, opacity 0.5s;
}

.section-products .single-product:hover .part-1 ul {
  bottom: 30px;
  opacity: 1;
}

.section-products .single-product .part-1 ul li {
  display: inline-block;
  margin-right: 4px;
}

.section-products .single-product .part-1 ul li a {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  background-color: #ffffff;
  color: #444444;
  text-align: center;
  box-shadow: 0 2px 20px rgb(50 50 50 / 10%);
  transition: color 0.2s;
}

.section-products .single-product .part-1 ul li a:hover {
  color: #fe302f;
}

.section-products .single-product .part-2 .product-title {
  font-size: 1.5rem;
  color: #444444;
  font-style: italic;
}

.section-products .single-product .part-2 h4 {
  display: inline-block;
  font-size: 1rem;
}

.section-products .single-product .part-2 .product-old-price {
  position: relative;
  padding: 0 7px;
  margin-right: 2px;
  opacity: 0.6;
}

.section-products .single-product .part-2 .product-old-price::after {
  position: absolute;
  content: "";
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #444444;
  transform: translateY(-50%);
}
