/* Fruit How Works - Elementor Widget */
.fhow-section {
  --fhow-dark-green: #0a3d20;
  --fhow-primary-green: #5c993a;
  --fhow-gold: #d8982a;
  --fhow-text-gray: #666666;
  --fhow-bg-color: #fbf9f6;
  --fhow-card-bg: #ffffff;
  --fhow-badge-bg: #eef5e9;
  --fhow-font-serif: "Playfair Display", Georgia, serif;
  --fhow-font-sans: "Inter", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;

  background-color: var(--fhow-bg-color);
  font-family: var(--fhow-font-sans);
  padding: 60px 20px;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.fhow-section * {
  box-sizing: border-box;
}

.fhow-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  border-radius: 20px;
  overflow: visible;
}

.fhow-header {
  text-align: center;
  margin-bottom: 60px;
}

.fhow-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--fhow-badge-bg);
  color: var(--fhow-primary-green);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
  border: 1px solid rgba(92, 153, 58, 0.18);
}

.fhow-badge-icon {
  font-size: 14px;
  line-height: 1;
}

.fhow-title {
  font-family: var(--fhow-font-serif);
  font-size: 42px;
  line-height: 1.15;
  color: var(--fhow-dark-green);
  margin: 0 0 10px 0;
  font-weight: 700;
}

.fhow-subtitle {
  font-size: 15px;
  color: var(--fhow-text-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin: 0;
}

.fhow-subtitle span {
  color: var(--fhow-primary-green);
  font-size: 18px;
  line-height: 1;
}

.fhow-steps-wrap {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  position: relative;
  margin-bottom: 60px;
}

.fhow-card {
  background: var(--fhow-card-bg);
  border-radius: 35px;
  padding: 50px 20px 40px 20px;
  text-align: center;
  flex: 1;
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  border: 1px solid #f0f0f0;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  z-index: 2;
}

.fhow-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 38px rgba(10, 61, 32, 0.09);
}

.fhow-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--fhow-primary-green);
  color: #ffffff;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(92, 153, 58, 0.3);
  border: 3px solid var(--fhow-bg-color);
  z-index: 3;
}

.fhow-image-box {
  width: 140px;
  height: 140px;
  margin: 0 auto 20px auto;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f6faef;
  overflow: hidden;
}

.fhow-card.is-gold .fhow-image-box {
  background-color: #fdf6e7;
}

.fhow-card.is-green .fhow-image-box {
  background-color: #eef6e8;
}

.fhow-image-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 12px;
}

.fhow-image-fallback {
  font-size: 52px;
  line-height: 1;
}

.fhow-card-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 10px 0;
  line-height: 1.25;
}

.fhow-card.is-green .fhow-card-title {
  color: var(--fhow-primary-green);
}

.fhow-card.is-gold .fhow-card-title {
  color: var(--fhow-gold);
}

.fhow-card-text {
  font-size: 13px;
  color: var(--fhow-text-gray);
  line-height: 1.5;
  margin: 0;
  padding: 0 10px;
}

.fhow-bottom-icon {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  border: 2px solid #ffffff;
}

.fhow-card.is-green .fhow-bottom-icon {
  background-color: #eef6e8;
  color: var(--fhow-primary-green);
}

.fhow-card.is-gold .fhow-bottom-icon {
  background-color: #fdf6e7;
  color: var(--fhow-gold);
}

.fhow-arrow {
  position: absolute;
  top: 70px;
  width: 80px;
  height: 34px;
  color: var(--fhow-primary-green);
  z-index: 1;
  pointer-events: none;
}

.fhow-arrow svg {
  width: 100%;
  height: 100%;
  display: block;
}

.fhow-arrow-1 { left: 21%; }
.fhow-arrow-2 { left: 47%; }
.fhow-arrow-3 { left: 73%; }

.fhow-features-bar {
  background: #ffffff;
  border-radius: 12px;
  padding: 20px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 5px 20px rgba(0,0,0,0.03);
  border: 1px solid #f0f0f0;
  flex-wrap: wrap;
  gap: 15px;
}

.fhow-feature {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 1;
  min-width: 200px;
}

.fhow-feature:not(:last-child) {
  border-right: 1px solid #eaeaea;
  padding-right: 15px;
}

.fhow-f-icon {
  font-size: 24px;
  line-height: 1;
}

.fhow-feature.is-green .fhow-f-icon {
  color: var(--fhow-primary-green);
}

.fhow-feature.is-gold .fhow-f-icon {
  color: var(--fhow-gold);
}

.fhow-f-text h5 {
  font-size: 13px;
  font-weight: 700;
  color: var(--fhow-dark-green);
  margin: 0 0 3px 0;
  line-height: 1.25;
}

.fhow-f-text p {
  font-size: 11px;
  color: var(--fhow-text-gray);
  margin: 0;
  line-height: 1.35;
}

@media (max-width: 1024px) {
  .fhow-arrow {
    display: none;
  }

  .fhow-steps-wrap {
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .fhow-card {
    min-width: 220px;
    flex: 0 0 calc(50% - 15px);
    margin-bottom: 30px;
  }

  .fhow-feature:nth-child(even) {
    border-right: none;
  }
}

@media (max-width: 768px) {
  .fhow-section {
    padding: 42px 14px;
  }

  .fhow-card {
    flex: 0 0 100%;
    max-width: 350px;
  }

  .fhow-title {
    font-size: 32px;
  }

  .fhow-subtitle {
    flex-wrap: wrap;
    gap: 8px;
  }

  .fhow-feature {
    flex: 0 0 100%;
    border-right: none !important;
    padding-right: 0 !important;
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 15px;
  }

  .fhow-feature:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
}
