.vv-product-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.vv-product-card {
  background: var(--vv-card-bg, #fff);
  border: 1px solid var(--vv-border, #e8e8ec);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.vv-product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.vv-product-card__image {
  display: block;
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
}

.vv-product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vv-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  background: #111;
  color: #fff;
}

.vv-badge--amazon { background: #ff9900; color: #111; }
.vv-badge--tiktok { background: #fe2c55; }
.vv-badge--temu { background: #fb7701; }
.vv-badge--vendor { background: #2563eb; }

.vv-product-card__body { padding: 1rem; }

.vv-product-card__title {
  font-size: 0.95rem;
  line-height: 1.35;
  margin: 0 0 0.5rem;
}

.vv-product-card__price {
  font-weight: 700;
  margin: 0 0 0.75rem;
}

.vv-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.vv-cta--primary {
  background: var(--vv-button-bg, var(--vv-accent, var(--wp--preset--color--accent, #7c3aed)));
  color: var(--vv-button-text, #fff);
  width: 100%;
}

.vv-cta--primary:hover,
.vv-cta--primary:focus {
  filter: brightness(0.92);
  color: var(--vv-button-text, #fff);
}

.vv-affiliate-disclosure {
  opacity: 0.85;
  margin: 1rem 0;
}

.vv-section-title {
  margin: 2rem 0 1rem;
  font-size: 1.5rem;
}

.vv-newsletter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.vv-compare-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #111;
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 100;
  display: none;
}

.vv-compare-bar.is-visible { display: block; }

.vv-filters {
  background: var(--vv-card-bg, #fff);
  border: 1px solid var(--vv-border, #e8e8ec);
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1.5rem;
}

.vv-filters__row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem;
}

.vv-filters__flags {
  display: flex;
  gap: 1rem;
  margin: 0.75rem 0;
}

.vv-gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.75rem;
}

.vv-gallery__grid img { width: 100%; border-radius: 8px; }

.vv-product-gallery {
  margin: 1rem 0 1.5rem;
}

.vv-product-gallery__main {
  background: var(--vv-surface, #fff);
  border: 1px solid var(--vv-border, #e2e8f0);
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vv-product-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.vv-product-gallery__thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.vv-product-gallery__thumb {
  width: 72px;
  height: 72px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
}

.vv-product-gallery__thumb.is-active {
  border-color: var(--vv-button-bg, var(--vv-accent, var(--wp--preset--color--accent, #7c3aed)));
}

.vv-product-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vv-product-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1rem 0;
  font-size: 0.9rem;
}

.vv-discount { color: #dc2626; font-weight: 700; }

.vv-specs table { width: 100%; border-collapse: collapse; }
.vv-specs th, .vv-specs td { border: 1px solid var(--vv-border); padding: 0.5rem; text-align: left; }

.vv-share__links { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.vv-share__links a, .vv-copy-link {
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--vv-border);
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
}

.vv-compare-table { width: 100%; border-collapse: collapse; }
.vv-compare-table th, .vv-compare-table td { border: 1px solid var(--vv-border); padding: 0.75rem; }

.vv-vendor-dashboard table { width: 100%; }
.vv-vendor-register { max-width: 480px; }

.vv-contact-form {
  max-width: 520px;
  margin: 1.5rem 0;
}

.vv-contact-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.vv-contact-form p { margin-bottom: 1rem; }

.vv-contact-form input,
.vv-contact-form textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--vv-border, #e2e8f0);
  border-radius: 8px;
  font: inherit;
}

.vv-notice {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  margin: 1rem 0;
}

.vv-notice--success {
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  color: #065f46;
}

.vv-notice--error {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #991b1b;
}
