.product {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 12px;
  overflow: hidden;
  background: white;
}

.product:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.product .image {
  position: relative;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
}

.product .image img {
  transition: transform 0.4s ease;
}

.product:hover .image img {
  transform: scale(1.08);
}

.flags {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.flag {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  backdrop-filter: blur(8px);
}

.flag-new {
  background: rgba(52, 211, 153, 0.95);
  color: white;
}

.flag-tip {
  background: rgba(251, 191, 36, 0.95);
  color: white;
}

.product .name {
  font-size: 16px;
  font-weight: 600;
  color: #1f2937;
  text-decoration: none;
  transition: color 0.2s;
}

.product .name:hover {
  color: #2c3e80;
}

.ratings-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0;
}

.availability {
  font-size: 13px;
  font-weight: 500;
}

.prices {
  margin: 12px 0;
}

.price-additional {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 4px;
}

.price-final {
  font-size: 24px;
  font-weight: 700;
  color: #2c3e80;
}

.p-tools .btn {
  width: 100%;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: #2c3e80;
  color: white;
}

.btn-primary:hover {
  background: #1e2a5a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(44, 62, 128, 0.3);
}

.p-desc {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.5;
  margin-top: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.widget-parameter-wrapper {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e5e7eb;
}

.widget-parameter-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.widget-parameter-value a {
  display: inline-block;
  padding: 8px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #374151;
  text-decoration: none;
  transition: all 0.2s;
}

.widget-parameter-value a:hover {
  border-color: #2c3e80;
  color: #2c3e80;
  background: #f3f4f6;
}

.widget-parameter-more {
  margin-top: 8px;
  cursor: pointer;
  color: #2c3e80;
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
  transition: color 0.2s;
}

.widget-parameter-more:hover {
  color: #1e2a5a;
}

.p-in {
  padding: 20px;
}

.p-in-in {
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .product:hover {
      transform: translateY(-4px);
  }
  
  .price-final {
      font-size: 20px;
  }
}