@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.product-card {
  background: #FFFFFF;
  border-radius: 14px;
/*  padding: 20px;*/
/*  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);*/
  transition: transform 0.3s ease;
  position: relative;
  overflow: hidden;
  font-family: 'Inter', sans-serif;
  padding-left: 15px;
  padding-right: 15px;
}

.product-card:hover {
  /*  transform: translateY(-5px);*/
  transform: scale(1.1);
  z-index: 11;
}
.product-card:hover .cart-button {
  /*  background: var(--primary);*/
  animation: pulse 0.8s ease 10;
}

.image-wrapper {
  position: relative;
  /*  border-radius: 16px;*/
  /*  overflow: hidden;*/
  margin-bottom: 18px;
  background: #F8FAF5;
  overflow: hidden;
}

.product-image {
  height: 240px;
  object-fit: contain;
  transition: transform 0.4s ease;
  width: 100%;object-fit: cover;border-radius: 5px;
}

.product-card:hover .product-image {
/*  transform: scale(1.05);*/
}

.price-section {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 14px;
}

.main-price {
  font-size: 22px;
  font-weight: 700;
  color: #2D3748;
  position: relative;
}

.main-price::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #7CC440;
  transform: scaleX(0.9);
}

.installment {
  background: rgba(124, 196, 64, 0.1);
  color: #7CC440;
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 14px;
}

.product-title {
  font-size: 14px;
  color: #2D3748;
  margin: 0 0 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 600;
}

.delivery-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(124, 196, 64, 0.1);
  border-radius: 8px;
  color: #7CC440;
  font-size: 14px;
}

.cart-button {
  position: absolute;
/*  top: 20px;*/
/*  right: 20px;*/
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid #7CC440;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  background: #7CC440;
  bottom: -15px;
  right: -10px;
}

.cart-button:hover {
  background: #7CC440;
  animation: pulse 0.8s ease;
}

.cart-button:hover svg {
  stroke: #FFFFFF;
}

.cart-button svg {
  width: 24px;
  height: 24px;
  stroke: #7CC440;
  stroke-width: 2;
  transition: stroke 0.3s ease;
  stroke: #FFFFFF;
}

.corner-ribbon {
  position: absolute;
  top: 13px;
  left: -25px;
  width: 100px;
  padding: 6px 0;
  background: #7CC440;
  color: #FFFFFF;
  text-align: center;
  transform: rotate(-45deg);
  font-size: 12px;
  font-weight: 600;
}

























.wrapper_main {
  position: relative;
}

@media (min-width: 0px) {
  .wrapper_main {
    margin: 0.3em;
    padding: 0.7em;
/*    background: white;*/
    border-radius: 15px;
  }
}
@media (min-width: 650px) {
  .wrapper_main {
    margin: 0.7em;
    padding: 1.5em;
/*    background: white;*/
    border-radius: 15px;
  }
}

.product_list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
@media (min-width: 0px) {
  .product_list {
    gap: 0px;
  }
}
@media (min-width: 550px) {
  .product_list {
    gap: 25px;
  }
}



.back_wrapper_main {
  width: 20px;height: 20px;display: flex;align-items: center;
}

.title_wrapper_main {
  margin-left: 10px;
  margin-bottom: 30px;
  font-weight: 600;
  font-size: calc(1em + 1vw);
  display: flex;
  align-items: center;
  gap: 0px 15px;
  margin-right: 10px;
}

.title_promo_block > a > div {
  display: flex;color: #a8a8a8;fill: #a8a8a8;align-items: baseline;gap: 10px;
}
.title_promo_block > a > div > div {
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  position: relative;
  top: 1px;
}

.product {
  background: #fff0;
  position: relative;
  padding: 10px;
  box-sizing: border-box;
  overflow: hidden;
  border-radius: 10px;
}

.product_mouse {
  box-shadow: 0 0 4px rgba(102, 102, 102, 0.34);
}

.product_wrapper_photo {
  position: relative;
}

.product_wrapper_data {
/*  padding-bottom: 45px;*/
}

.product_wrapper_data >  :nth-child(1 of div) {
display: flex;
  flex-wrap: wrap;
  gap: 0px 8px;
  align-items: center;
}

.product_wrapper_data >  :nth-child(1 of div) > :nth-child(1 of div) {
  color: #7cc440;font-weight: 500;font-size: 20px;
  width: fit-content;
}

.product_wrapper_data >  :nth-child(1 of div) > :nth-child(2 of div) {
  font-size: 13px;
  color: #fff;
  background: #3f3f3fb5;
  width: fit-content;
  padding: 2px;
  border-radius: 3px;
  padding-left: 5px;
  padding-right: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-sizing: border-box;
  max-width: 100%;
  width: fit-content;
}

.product_wrapper_data > :nth-child(2 of div) {
  font-size: 13px;font-weight: 600;color: #959595;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


.img_product {
  width: 100%; object-fit: cover; border-radius: 5px;
}

.info_dost {
  color: #006281;
  font-weight: 600;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mark_sale {
  position: absolute;bottom: 9px;left: 5px;background: #e14c29;color: white;padding-left: 3px;padding-right: 3px;border-radius: 3px;font-size: 13px;font-weight: 400;
}

[for=search_similar] {
  width: 20px;
  display: flex;
  height: 20px;
  fill: #686868;
  border-radius: 5px;
  padding-left: 1px;
  padding-right: 1px;
  position: absolute;
  bottom: 9px;
  right: 5px;
  background: #fff;
  border-width: 1px;
  border-style: solid;
  border-color: white;
}


