
/* OmVeda Dynamic Shop Content Blocks
   Uses existing ov- CSS classes where available and adds small layout helpers.
*/

.ovdcb-wrapper {
  --ovdcb-soft-green: #edf7e6;
  --ovdcb-pale-green: #f6fbf2;
  --ovdcb-cream: #fffaf2;
}

.ovdcb-wrapper .ov-section {
  position: relative;
}

.ovdcb-section-compact {
  padding-top: clamp(1.5rem, 4vw, 2.5rem);
  padding-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.ovdcb-hero {
  overflow: hidden;
}

.ovdcb-hero--soft {
  background:
    radial-gradient(ellipse 620px 420px at 12% 20%, rgba(140,188,79,0.14), transparent 70%),
    linear-gradient(145deg, #fbfff7 0%, #eef8e6 50%, #f9f4e8 100%);
}

.ovdcb-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.ovdcb-hero-copy {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.ovdcb-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
  margin-top: 0.5rem;
}

.ovdcb-actions-center {
  justify-content: center;
  margin-top: 1.5rem;
}

.ovdcb-image-panel {
  position: relative;
}

.ovdcb-image {
  width: 100%;
  border-radius: 22px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: 0 16px 40px rgba(24,74,51,0.12);
}

.ovdcb-icon-circle {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(140,188,79,0.14);
  color: var(--ov-primary-dark, #648935);
  border: 1px solid rgba(140,188,79,0.22);
  font-size: 1.25rem;
}

.ovdcb-trust-bar .ov-promise-item {
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(24,74,51,0.06);
}

.ovdcb-category-intro {
  background: #fff;
}

.ovdcb-link-card {
  color: inherit;
  text-decoration: none;
}

.ovdcb-link-card:hover {
  color: inherit;
}

.ovdcb-product-grid {
  display: grid;
  gap: 1.25rem;
}

.ovdcb-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ovdcb-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ovdcb-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ovdcb-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.ovdcb-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }

.ovdcb-product-card .ov-spice-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ovdcb-product-card .ov-spice-card__img {
  aspect-ratio: 1 / 1;
  min-height: auto;
}

.ovdcb-card-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ov-primary-dark, #648935);
  font-weight: 800;
  font-size: 0.86rem;
  margin-top: 0.75rem;
}

.ovdcb-details {
  background: #fff;
  border: 1px solid var(--ov-border, #efefef);
  border-radius: var(--ov-radius, 8px);
  overflow: hidden;
}

.ovdcb-details + .ovdcb-details {
  margin-top: 0.75rem;
}

.ovdcb-details summary {
  list-style: none;
}

.ovdcb-details summary::-webkit-details-marker {
  display: none;
}

.ovdcb-details[open] .ov-faq-question i {
  transform: rotate(180deg);
}

.ovdcb-mini-features {
  grid-template-columns: 1fr;
}

.ovdcb-feature-badges {
  margin-top: 1.5rem;
}

.ovdcb-cta-soft {
  background:
    radial-gradient(ellipse 600px 320px at 50% 100%, rgba(140,188,79,0.12), transparent 70%),
    linear-gradient(145deg, #194a33 0%, #255f42 100%);
}

.ovdcb-cta-soft .ov-body {
  max-width: 760px;
}

@media (max-width: 900px) {
  .ovdcb-hero-grid {
    grid-template-columns: 1fr;
  }
  .ovdcb-cols-5,
  .ovdcb-cols-6,
  .ovdcb-cols-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .ovdcb-cols-2,
  .ovdcb-cols-3,
  .ovdcb-cols-4,
  .ovdcb-cols-5,
  .ovdcb-cols-6 {
    grid-template-columns: 1fr;
  }
  .ovdcb-actions .ov-btn {
    width: 100%;
    justify-content: center;
  }
}
