.products {
  padding: 34px 0 50px;
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: center;
  /* gap: 14px; */
  margin-bottom: 22px;
}
.section-head .line {
  flex: 1;
  height: 2px;
  background: #00834a;
  max-width: 460px;
  opacity: 0.3;
}
.section-head .title {
  margin: 0;
  padding: 6px 18px;
  border: 2px solid #00834a;
  border-radius: 12px;
  font-size: 22px;
  font-weight: 700;
  color: #1b1b1b;
  background: #fff;
}

.product-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(5, 1fr);
}
.product-card {
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}
.product-card .thumb {
  aspect-ratio: 1 / 1;
  background: #f9f9f9;
  display: block;
  position: relative;
}
.product-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-card .quick-view {
  position: absolute;
  left: 10px;
  top: 10px;
  transform: translateY(-12px);
  opacity: 0;
  background: #077a45;
  color: #fff;
  width: 44px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.product-card .quick-view i {
  font-size: 14px;
}
.product-card:hover .quick-view {
  opacity: 1;
  transform: translateY(6px);
}
.product-card .name {
  font-size: 18px;
  font-weight: 700;
  color: #00834a;
  margin: 12px 12px 6px;
  text-align: center;
}
.product-card .meta {
  color: #000000;
  margin: 0 12px 8px;
  font-size: 13px;
  text-align: center;
}
.product-card .meta .label {
  color: #000000;
  font-weight: 600;
}
.product-card .price {
  margin: 0 12px 14px;
  font-weight: 700;
  color: #111;
  text-align: center;
}
.product-card .price .old {
  text-decoration: line-through;
  color: #ff0000;
  margin-right: 6px;
  font-weight: 600;
}




.shop-products-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, 1fr);
  align-items: stretch;
}
.shop-card {
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  height: 100%;
}
.shop-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}
.shop-card .thumb {
  position: relative;
  background: #f9f9f9;
  aspect-ratio: 1 / 1;
}
.shop-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hover-icon {
  position: absolute;
  left: 12px;
  top: -10px;
  width: 32px;
  height: 22px;
  border-radius: 8px;
  background: #fdcfcf;
  color: #ff0000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  opacity: 0;
  transform: translateY(-12px);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.hover-icon i {
  font-size: 18px;
}
.hover-icon svg {
  width: 18px;
  height: 18px;
}
.shop-card:hover .hover-icon {
  opacity: 1;
  transform: translateY(18px);
}
.badge-off {
  position: absolute;
  right: 10px;
  top: 10px;
  background: #ffeef1;
  color: #e11d48;
  font-weight: 700;
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 7px;
}
.shop-card .name {
  font-size: 16px;
  margin: 12px 12px 4px;
  align-self: end;
}
.shop-card .price {
  margin: 0 13px 10px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.shop-card .price .old {
  text-decoration: line-through;
  color: #ef4444;
  font-weight: 700;
}
.shop-card .price .new,
.shop-card .price .range {
  color: #2b2e32;
  font-weight: 800;
}
.actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 0 12px 14px;
  align-self: end;
}
.actions.single {
  grid-template-columns: 1fr;
}
.btn-pill {
  border: 0;
  background: #e7f7ff;
  color: #0a6abf;
  padding: 4px 3px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 8px;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.2s ease,
    box-shadow 0.2s ease;
}
.btn-pill.alt {
  background: #e8fff3;
  color: #0b8f52;
}
.btn-pill:hover {
  background: #0a6abf;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(10, 106, 191, 0.25);
}
.btn-pill.alt:hover {
  background: #0b8f52;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(11, 143, 82, 0.2);
}
.btn-pill.full {
  width: 100%;
}



/* Responsive columns */
@media (max-width: 1400px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 1200px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}