.vpp-section {
  width: 100%;
  font-family: inherit;
}

.vpp-heading {
  margin: 0 0 28px;
}

.vpp-heading h2 {
  margin: 0 0 8px;
  font-size: 32px;
  line-height: 1.15;
  font-weight: 700;
  color: #111;
}

.vpp-heading p {
  margin: 0;
  color: #6b6b6b;
}

.vpp-grid {
  display: grid;
  grid-template-columns: repeat(var(--vpp-columns, 4), minmax(240px, 1fr));
  gap: 22px;
}

.vpp-card {
  --vpp-accent: #e07a2f;
  --vpp-pastel: #f6e4d4;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  overflow: visible;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}

.vpp-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.08);
  border-color: #d4d4d4;
}

.vpp-image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  background: var(--vpp-pastel);
  padding: 28px 24px;
  overflow: hidden;
}

.vpp-image img {
  width: 100%;
  height: 100%;
  max-height: 220px;
  object-fit: contain;
  transition: transform 0.35s ease;
}

.vpp-card:hover .vpp-image img {
  transform: scale(1.05);
}

.vpp-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 5px 9px;
  border-radius: 2px;
  background: #111;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.vpp-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px 20px 20px;
  background: #fff;
  min-width: 0;
}

.vpp-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.vpp-brand {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--vpp-accent);
}

.vpp-sku {
  font-size: 11px;
  color: #b0b0b0;
  white-space: nowrap;
}

.vpp-content h3 {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 700;
  text-decoration: none;
}

.vpp-content h3 a {
  color: #0e2340;
  text-decoration: none !important;
}

.vpp-description {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  line-clamp: 3;
  overflow: hidden;
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.5;
  color: #7a7a7a;
}

.vpp-rating,
.vpp-stock {
  margin-bottom: 10px;
  font-size: 12px;
  color: #777;
}

.vpp-bottom {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed #d8d8d8;
}

.vpp-price {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.1;
  color: #111;
}

.vpp-price .woocommerce-Price-amount,
.vpp-price .amount {
  font-size: inherit;
  font-weight: 700;
}

.vpp-price del {
  display: block;
  font-size: 13px;
  color: #999;
  font-weight: 400;
}

.vpp-price ins {
  text-decoration: none;
}

.vpp-actions {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 12px;
  width: 100%;
  justify-content: space-between;
}

.vpp-button,
.vpp-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 100px;
  padding: 8px 20px;
  border: 1px solid #0e2340;
  border-radius: 3px;
  background: #fff;
  color: #0e2340 !important;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  overflow: visible;
}

.vpp-button:hover,
.vpp-cart:hover {
  background: #e85a05;
  border: 1px solid #e85a05;
  color: #fff !important;
}

.vpp-cart {
  border-color: #888;
  color: #333 !important;
}

@media (max-width: 1024px) {
  .vpp-grid {
    grid-template-columns: repeat(var(--vpp-tablet-columns, 2), minmax(200px, 1fr));
    gap: 18px;
  }
}

@media (max-width: 767px) {
  .vpp-grid {
    grid-template-columns: repeat(var(--vpp-mobile-columns, 1), 1fr);
    gap: 12px;
  }

  .vpp-heading h2 {
    font-size: 26px;
  }

  .vpp-image {
    padding: 16px;
  }

  .vpp-content {
    padding: 12px 14px 14px;
  }

  .vpp-content h3 {
    font-size: 14px;
  }

  .vpp-description {
    font-size: 12px;
    -webkit-line-clamp: 2;
  }

  .vpp-price {
    font-size: 18px;
  }

  .vpp-bottom {
    gap: 12px;
  }

  .vpp-button,
  .vpp-cart {
    flex: 1;
    min-width: 0;
    padding: 10px 18px;
  }
}

.vpm-info {
  margin: 28px 0;
}

.vpm-info-title {
  margin: 0 0 14px;
  font-size: 22px;
  line-height: 1.2;
}

.vpm-info-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.vpm-info-table th,
.vpm-info-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #ececec;
  text-align: left;
  vertical-align: top;
  font-size: 14px;
}

.vpm-info-table th {
  width: 34%;
  color: #666;
  font-weight: 600;
}

@media (max-width: 600px) {
  .vpm-info-table th {
    width: 40%;
    font-size: 13px;
    padding: 8px 10px;
  }
  .vpm-info-table td {
    font-size: 13px;
    padding: 8px 10px;
  }
}
