/**
 * Benefits Bar Styles
 * Displays store benefits in a horizontal bar
 */

.benefits-bar {
  background-color: #ffffff;
  padding: 24px 0;
  width: 100%;
}

.benefits-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  position: relative;
}

/* Add separator line between items (except last one) */
.benefit-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 60px;
  background-color: rgba(0, 0, 0, 0.1);
}

.benefit-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-icon svg {
  width: 60px;
  height: 60px;
}

.benefit-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.benefit-title {
  font-size: 16px;
  font-weight: 600;
  color: #000000;
  margin: 0;
  line-height: 1.3;
}

.benefit-description {
  font-size: 13px;
  font-weight: 400;
  color: #000000;
  margin: 0;
  line-height: 1.4;
}

/* Tablet */
@media (max-width: 1024px) {
  .benefits-container {
    gap: 20px;
  }

  .benefit-item {
    gap: 12px;
  }

  .benefit-item:not(:last-child)::after {
    right: -10px;
    height: 50px;
  }

  .benefit-icon {
    width: 50px;
    height: 50px;
  }

  .benefit-icon svg {
    width: 50px;
    height: 50px;
  }

  .benefit-title {
    font-size: 14px;
  }

  .benefit-description {
    font-size: 12px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .benefits-bar {
    padding: 20px 0;
  }

  .benefits-container {
    flex-direction: column;
    gap: 24px;
    padding: 0 16px;
  }

  .benefit-item {
    width: 100%;
    justify-content: flex-start;
  }

  /* Remove separators on mobile */
  .benefit-item:not(:last-child)::after {
    display: none;
  }

  /* Add bottom border instead */
  .benefit-item:not(:last-child) {
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }

  .benefit-icon {
    width: 60px;
    height: 60px;
  }

  .benefit-icon svg {
    width: 60px;
    height: 60px;
  }

  .benefit-title {
    font-size: 16px;
  }

  .benefit-description {
    font-size: 13px;
  }
}
