.ehdc-section {
  --ehdc-ink: #34312f;
  --ehdc-muted: #77716e;
  --ehdc-pink: #dc7f98;
  --ehdc-pink-hover: #c76883;
  width: 100%;
  padding: 22px 16px;
  color: var(--ehdc-ink);
}

.ehdc-section *,
.ehdc-section *::before,
.ehdc-section *::after {
  box-sizing: border-box;
}

.ehdc-grid {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.ehdc-card {
  position: relative;
  display: block;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #eee9e6;
  border-radius: 8px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 3px 12px rgba(62, 42, 35, 0.05);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.ehdc-card:hover,
.ehdc-card:focus-visible {
  outline: none;
  transform: translateY(-5px);
  border-color: rgba(220, 127, 152, 0.6);
  box-shadow: 0 13px 28px rgba(104, 60, 75, 0.15);
}

.ehdc-photo {
  height: 205px;
  overflow: hidden;
  border-radius: 7px 7px 0 0;
  background: #f0eeeb;
}

.ehdc-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.3s ease;
}

.ehdc-card:hover .ehdc-photo img,
.ehdc-card:focus-visible .ehdc-photo img {
  transform: scale(1.06);
  filter: brightness(0.96);
}

.ehdc-icon {
  position: absolute;
  top: 205px;
  z-index: 2;
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--ehdc-pink);
  color: #fff;
  box-shadow: 0 5px 12px rgba(166, 80, 105, 0.25);
  transform: translateY(-23px);
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.ehdc-icon--left {
  left: 18px;
}

.ehdc-icon--right {
  right: 18px;
}

.ehdc-card:hover .ehdc-icon,
.ehdc-card:focus-visible .ehdc-icon {
  background: var(--ehdc-pink-hover);
  transform: translateY(-23px) rotate(-7deg) scale(1.06);
}

.ehdc-icon i,
.ehdc-icon svg {
  display: block;
  width: 19px;
  height: 19px;
  font-size: 19px;
  line-height: 1;
  color: inherit;
  fill: currentColor;
  stroke: currentColor;
}

.ehdc-icon svg *,
.ehdc-icon i::before {
  color: inherit;
  fill: currentColor;
  stroke: currentColor;
}

.ehdc-content {
  min-height: 126px;
  padding: 22px 25px;
  text-align: right;
}

.ehdc-title {
  margin: 0 0 7px;
  color: var(--ehdc-ink);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.35;
}

.ehdc-description {
  margin: 0;
  color: var(--ehdc-muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.85;
}

.ehdc-direction-ltr .ehdc-content {
  text-align: left;
}

.ehdc-direction-ltr .ehdc-grid {
  direction: ltr;
}

.ehdc-direction-rtl .ehdc-grid {
  direction: rtl;
}

@media (max-width: 1024px) {
  .ehdc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .ehdc-section {
    padding: 18px 14px;
  }

  .ehdc-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ehdc-photo {
    height: 205px;
  }

  .ehdc-icon {
    top: 205px;
  }

  .ehdc-content {
    min-height: 112px;
    padding: 20px 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ehdc-card,
  .ehdc-photo img,
  .ehdc-icon {
    transition: none;
  }
}


/* =========================================================
   Quality Feature Cards Elementor Widget
   ========================================================= */
.fdqf-section {
  --fdqf-pink: #c36c83;
  --fdqf-pink-soft: #f5e7e9;
  --fdqf-ink: #342a2b;
  --fdqf-muted: #706466;
  --fdqf-gap: 18px;
  --fdqf-card-basis: 25%;
  width: 100%;
  padding: 22px 16px;
  color: var(--fdqf-ink);
}

.fdqf-section *,
.fdqf-section *::before,
.fdqf-section *::after {
  box-sizing: border-box;
}

.fdqf-cards {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--fdqf-gap);
}

.fdqf-card {
  position: relative;
  display: block;
  flex: 0 1 calc(var(--fdqf-card-basis) - (var(--fdqf-gap) * .75));
  min-width: 0;
  min-height: 210px;
  padding: 29px 24px 26px;
  overflow: hidden;
  border: 1px solid #eadde0;
  border-radius: 16px;
  background: #fff;
  color: inherit;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 7px 20px rgba(87, 53, 60, 0.07);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease, background-color .28s ease;
}

.fdqf-card::before {
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  border-radius: inherit;
  content: "";
  pointer-events: none;
  transition: border-color .28s ease, box-shadow .28s ease;
}

.fdqf-card:hover,
.fdqf-card:focus-visible {
  outline: none;
  transform: translateY(-7px);
  border-color: rgba(195, 108, 131, .7);
  box-shadow: 0 18px 34px rgba(117, 67, 78, .16);
}

.fdqf-card:hover::before,
.fdqf-card:focus-visible::before {
  border-color: rgba(195, 108, 131, .75);
  box-shadow: 0 0 0 4px rgba(195, 108, 131, .10);
}

.fdqf-icon {
  display: grid;
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  place-items: center;
  border-radius: 50%;
  background: var(--fdqf-pink-soft);
  color: var(--fdqf-pink);
  transition: background-color .25s ease, color .25s ease, transform .25s ease;
}

.fdqf-icon i,
.fdqf-icon svg {
  display: block;
  width: 26px;
  height: 26px;
  color: inherit;
  fill: currentColor;
  stroke: currentColor;
  font-size: 26px;
  line-height: 1;
}

.fdqf-icon svg *,
.fdqf-icon i::before {
  color: inherit;
  fill: currentColor;
  stroke: currentColor;
}

.fdqf-card:hover .fdqf-icon,
.fdqf-card:focus-visible .fdqf-icon {
  background: var(--fdqf-pink);
  color: #fff;
  transform: translateY(-4px) scale(1.06);
}

.fdqf-title {
  margin: 0 0 8px;
  color: var(--fdqf-pink);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.5;
}

.fdqf-description {
  margin: 0;
  color: var(--fdqf-muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.9;
}

.fdqf-direction-ltr .fdqf-cards {
  direction: ltr;
}

.fdqf-direction-rtl .fdqf-cards {
  direction: rtl;
}

@media (max-width: 1024px) {
  .fdqf-card {
    flex-basis: calc(var(--fdqf-card-basis) - (var(--fdqf-gap) * .5));
  }
}

@media (max-width: 767px) {
  .fdqf-section {
    padding: 18px 14px;
  }

  .fdqf-card {
    flex-basis: 100%;
    min-height: 0;
    padding: 24px 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fdqf-card,
  .fdqf-card::before,
  .fdqf-icon {
    transition: none;
  }
}
