.ss-guide-products {
  max-width: 1180px;
  margin: 30px auto 42px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #1f2937;
}

.ss-guide-products[hidden] {
  display: none !important;
}

.ss-guide-products__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.ss-guide-products__kicker {
  display: inline-block;
  margin-bottom: 6px;
  color: #007f86;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ss-guide-products__title {
  margin: 0;
  color: #111827;
  font-size: 1.55em;
  line-height: 1.2;
}

.ss-guide-products__text {
  max-width: 760px;
  margin: 7px 0 0;
  color: #4b5563;
}

.ss-guide-products__more {
  display: inline-block;
  flex-shrink: 0;
  padding: 10px 15px;
  border: 1px solid #00adb5;
  border-radius: 999px;
  background: #00adb5;
  color: #ffffff !important;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

.ss-guide-products__more:hover {
  background: #ffffff;
  color: #007b83 !important;
  text-decoration: none;
}

.ss-guide-products__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.ss-guide-products__card {
  display: flex;
  min-width: 0;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e1eeee;
  border-radius: 16px;
  background: #ffffff;
  color: #1f2937 !important;
  text-decoration: none;
  transition: box-shadow 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.ss-guide-products__card:hover {
  transform: translateY(-2px);
  border-color: #bfe9eb;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.065);
  text-decoration: none;
}

.ss-guide-products__image-wrap {
  position: relative;
  display: flex;
  min-height: 188px;
  align-items: center;
  justify-content: center;
  padding: 42px 16px 16px;
  background: #ffffff;
}

.ss-guide-products__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  max-width: calc(100% - 24px);
  padding: 6px 9px;
  overflow: hidden;
  border: 1px solid #bcebed;
  border-radius: 999px;
  background: #eaf9fa;
  color: #007b83;
  font-size: 0.73rem;
  font-weight: 900;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ss-guide-products__image {
  display: block;
  max-width: 100%;
  max-height: 150px;
  object-fit: contain;
}

.ss-guide-products__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 15px 16px 16px;
  border-top: 1px solid #edf4f4;
  background: #f7fbfb;
}

.ss-guide-products__name {
  margin: 0 0 8px;
  color: #111827;
  font-size: 1.02em;
  font-weight: 800;
  line-height: 1.28;
}

.ss-guide-products__note {
  margin: 0 0 14px;
  color: #526167;
  font-size: 0.88rem;
  line-height: 1.5;
}

.ss-guide-products__meta {
  display: flex;
  margin-top: auto;
  flex-direction: column;
  align-items: flex-start;
}

.ss-guide-products__price {
  margin: 0 0 7px;
  color: #111827;
  font-size: 1.08em;
  font-weight: 900;
}

.ss-guide-products__stock {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
  color: #45625f;
  font-size: 0.79rem;
  font-weight: 700;
}

.ss-guide-products__stock > span {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1fa673;
  box-shadow: 0 0 0 3px rgba(31, 166, 115, 0.12);
}

.ss-guide-products__cta {
  display: inline-block;
  color: #007b83;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.ss-guide-products__loading,
.ss-guide-products__empty {
  padding: 18px;
  border: 1px solid #dcecec;
  border-radius: 14px;
  background: #f7fbfb;
  color: #4b5563;
}

.ss-guide-products__empty p {
  margin: 0 0 12px;
}

@media (max-width: 1000px) {
  .ss-guide-products__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ss-guide-products__head {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .ss-guide-products {
    margin: 24px auto 34px;
  }

  .ss-guide-products__grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .ss-guide-products__image-wrap {
    min-height: 138px;
    padding: 40px 10px 12px;
  }

  .ss-guide-products__image {
    max-height: 105px;
  }

  .ss-guide-products__body {
    padding: 13px 12px 14px;
  }

  .ss-guide-products__title {
    font-size: 1.35em;
  }

  .ss-guide-products__name {
    font-size: 0.92em;
  }

  .ss-guide-products__note {
    font-size: 0.8rem;
  }

  .ss-guide-products__price {
    font-size: 0.98em;
  }

  .ss-guide-products__badge {
    right: 8px;
    left: 8px;
    max-width: none;
    padding: 5px 7px;
    text-align: center;
  }

  .ss-guide-products__more {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .ss-guide-products__grid {
    grid-template-columns: 1fr;
  }

  .ss-guide-products__image-wrap {
    min-height: 180px;
  }

  .ss-guide-products__image {
    max-height: 145px;
  }
}

/* Discount mode */
.ss-guide-products__badge--discount {
  border-color: #e5c45b;
  background: #fed766;
  color: #11181c;
}

.ss-guide-products__price-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0 0 9px;
}

.ss-guide-products__before-price {
  margin-bottom: 2px;
  color: #6b7280;
  font-size: 0.78rem;
  line-height: 1.3;
  text-decoration: line-through;
}

.ss-guide-products__price--sale {
  margin-bottom: 2px;
  color: #007f86;
  font-size: 1.16em;
}

.ss-guide-products__saving {
  color: #526167;
  font-size: 0.77rem;
  font-weight: 800;
}

.ss-guide-products__empty-title {
  display: block;
  margin-bottom: 6px;
  color: #111827;
  font-size: 1rem;
}

