/* Ephtal Recycling site additions, loaded after style.css */

/* Real photos come in mixed orientations, so crop them to the template's frames */
.service-block-three .ks-service-thumb img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.service-block .inner-box .service-featured-img img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.project-block-two .image-box .image img {
  aspect-ratio: 3 / 4;
}
.services-details__content > img.w-100 {
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 20px;
}

/* Partner names in the brand slider (no logos yet) */
.brand-box-1 .partner-name {
  font-family: var(--title-font, inherit);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--theme-color2);
  padding: 0 10px;
  text-align: center;
  opacity: 0.75;
  transition: opacity 0.3s ease;
}
.brand-box-1:hover .partner-name {
  opacity: 1;
}

/* Pellet photo gallery */
.pellet-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.pellet-gallery figure {
  margin: 0;
}
.pellet-gallery img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 16px;
}
.pellet-gallery figcaption {
  margin-top: 8px;
  font-size: 15px;
  font-weight: 500;
  text-align: center;
}
@media (max-width: 767.98px) {
  .pellet-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Simple key facts table used on product and supplier pages */
.ephtal-facts {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0 30px;
}
.ephtal-facts th,
.ephtal-facts td {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  text-align: left;
  vertical-align: top;
}
.ephtal-facts th {
  width: 38%;
  font-weight: 600;
  color: var(--theme-color2);
}

.ephtal-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 25px;
}
.ephtal-checklist li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
}
.ephtal-checklist li:before {
  content: "\f00c";
  font-family: "Font Awesome 6 Pro", "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0;
  color: var(--theme-color1, #84b828);
}
.ephtal-checklist.is-no li:before {
  content: "\f00d";
  color: #c0392b;
}

/* Enquiry forms on the product and supplier pages */
.ephtal-form .form-control,
.ephtal-form select {
  width: 100%;
  min-height: 56px;
  padding: 12px 20px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  background: #f7f7f2;
  margin-bottom: 16px;
}
.ephtal-form textarea.form-control {
  min-height: 140px;
}
.ephtal-form-note {
  font-size: 14px;
  opacity: 0.75;
  margin-top: 10px;
}

/* Floating WhatsApp button */
.whatsapp-float {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease;
}
.whatsapp-float:hover {
  color: #fff;
  transform: scale(1.08);
}

.services-details__content ol {
  list-style: decimal;
  padding-left: 22px;
  margin-bottom: 25px;
}
.services-details__content ol li {
  margin-bottom: 8px;
}
