@charset "UTF-8";

/* Homepage product capability section. Built for category + product data. */
#offer {
  padding: 72px 0 82px;
  background: linear-gradient(180deg, #f2f5f7 0%, #ffffff 100%);
  color: var(--sp-theme-dark);
  text-align: left;
}

#offer .sp-offer-heading {
  max-width: 780px;
  margin: 0 auto 38px;
  text-align: center;
}

#offer .sp-offer-heading .typename {
  position: relative;
  margin: 0;
  padding-bottom: 16px;
  color: var(--sp-theme-dark);
  font-size: 34px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.02em;
  text-transform: none;
}

#offer .sp-offer-heading .typename::after {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 52px;
  height: 4px;
  background: var(--sp-theme-accent);
  content: "";
  transform: translateX(-50%);
}

#offer .sp-offer-heading p {
  max-width: 680px;
  margin: 18px auto 0;
  color: #65717c;
  font-size: 17px;
  line-height: 1.8;
  overflow-wrap: anywhere;
  white-space: normal !important;
}

#offer .sp-offer-category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

#offer .sp-offer-category-card {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(220px, 0.92fr);
  min-height: 286px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #dfe5ea;
  box-shadow: 0 12px 32px rgba(25, 42, 56, 0.08);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

#offer .sp-offer-category-card:hover,
#offer .sp-offer-category-card:focus {
  border-color: var(--sp-theme-primary);
  box-shadow: 0 18px 38px rgba(7, 95, 168, 0.16);
  color: inherit;
  outline: none;
  text-decoration: none;
  transform: translateY(-4px);
}

#offer .sp-offer-category-media {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow: hidden;
  background: #fff;
}

#offer .sp-offer-category-media img {
  display: block;
  width: 100%;
  height: 238px;
  object-fit: contain;
  transition: transform 0.35s ease;
}

#offer .sp-offer-category-card:hover .sp-offer-category-media img {
  transform: scale(1.04);
}

#offer .sp-offer-category-content {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 34px 30px 32px;
  overflow: hidden;
  background: linear-gradient(145deg, var(--sp-theme-primary) 0%, var(--sp-theme-strong) 100%);
  color: #fff;
}

#offer .sp-offer-category-content::after {
  position: absolute;
  right: -48px;
  bottom: -64px;
  width: 170px;
  height: 170px;
  border: 24px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  content: "";
}

#offer .sp-offer-category-title {
  position: relative;
  z-index: 1;
  display: -webkit-box;
  height: 2.7em;
  overflow: hidden;
  color: #fff;
  font-size: 25px;
  line-height: 1.35;
  overflow-wrap: anywhere;
  white-space: normal !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

#offer .sp-offer-category-description {
  position: relative;
  z-index: 1;
  display: -webkit-box;
  margin-top: 13px;
  overflow: hidden;
  color: var(--sp-theme-muted);
  font-size: 14px;
  line-height: 1.7;
  overflow-wrap: anywhere;
  white-space: normal !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

#offer .sp-offer-category-arrow {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-top: 22px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  font-size: 16px;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

#offer .sp-offer-category-card:hover .sp-offer-category-arrow {
  border-color: var(--sp-theme-accent);
  background: var(--sp-theme-accent);
  color: #fff;
}

#offer .sp-offer-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

#offer .sp-offer-product-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid #dfe5ea;
  box-shadow: 0 8px 24px rgba(25, 42, 56, 0.06);
  color: var(--sp-theme-dark);
  text-decoration: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

#offer .sp-offer-product-card:hover,
#offer .sp-offer-product-card:focus {
  border-color: var(--sp-theme-primary);
  box-shadow: 0 14px 28px rgba(7, 95, 168, 0.14);
  color: var(--sp-theme-primary);
  outline: none;
  text-decoration: none;
  transform: translateY(-3px);
}

#offer .sp-offer-product-media {
  display: flex;
  height: 220px;
  align-items: center;
  justify-content: center;
  padding: 18px;
  overflow: hidden;
  background: #fff;
}

#offer .sp-offer-product-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.35s ease;
}

#offer .sp-offer-product-card:hover .sp-offer-product-media img {
  transform: scale(1.04);
}

#offer .sp-offer-product-content {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border-top: 1px solid #e5e9ed;
  background: #fff;
}

#offer .sp-offer-product-content strong {
  display: -webkit-box;
  overflow: hidden;
  color: inherit;
  font-size: 15px;
  line-height: 1.45;
  overflow-wrap: anywhere;
  white-space: normal !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

#offer .sp-offer-product-content i {
  flex: 0 0 auto;
  color: var(--sp-theme-accent);
  font-size: 18px;
}

@media (max-width: 1199px) {
  #offer .sp-offer-category-card {
    grid-template-columns: 1fr;
  }

  #offer .sp-offer-category-media img {
    height: 220px;
  }

  #offer .sp-offer-category-content {
    min-height: 230px;
  }

  #offer .sp-offer-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  #offer {
    padding: 48px 0 56px;
  }

  #offer .sp-offer-heading {
    margin-bottom: 28px;
  }

  #offer .sp-offer-heading .typename {
    font-size: 28px;
  }

  #offer .sp-offer-heading p {
    font-size: 15px;
  }

  #offer .sp-offer-category-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  #offer .sp-offer-category-media img {
    height: 200px;
  }

  #offer .sp-offer-category-content {
    min-height: 0;
    padding: 28px 24px;
  }

  #offer .sp-offer-category-title {
    font-size: 22px;
  }

  #offer .sp-offer-category-description {
    display: block;
    overflow: visible;
    -webkit-line-clamp: unset;
  }

  #offer .sp-offer-product-grid {
    gap: 14px;
    margin-top: 18px;
  }

  #offer .sp-offer-product-media {
    height: 180px;
    padding: 12px;
  }
}

@media (max-width: 479px) {
  #offer .sp-offer-product-grid {
    grid-template-columns: 1fr;
  }

  #offer .sp-offer-product-media {
    height: 230px;
  }
}
