/* Products Page Base */
.products-page {
  padding: 6rem 0 4rem;
  min-height: 100vh;
  background-color: #f9fafb;
  font-family: 'Poppins', sans-serif;
}

.products-page__header {
  text-align: center;
  margin-bottom: 1rem;
}

.products-page__title {
  font-size: 3rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.2rem;
}

/* Product Row Layout */
.products-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.product-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2rem;

  padding: 2rem;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  border-bottom: 1px solid #e5e7eb;
}

.product-row__image {
  position: relative;
}

.product-row__image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  max-height: 220px;
}

/* Variant slider dots + controls */
.variant-slider {
  position: relative;
}

.variant-slider__frame {
  position: relative;
}

.variant-slider__dots {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
  margin-top: 0.75rem;
}

.variant-slider__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: none;
  background: rgba(17, 24, 39, 0.25);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, width 0.2s ease;
}

.variant-slider__dot.active {
  background: rgba(17, 24, 39, 0.9);
  width: 22px;
}

.variant-slider__dot:hover {
  transform: scale(1.12);
}

/* PP Woven Bag variant navigation */
.pp-variant-nav {
  position: absolute;
  top: auto;
  bottom: -15px;
  transform: translateY(0);

  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(17, 24, 39, 0.75);
  color: #ffffff;
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 2;
  transition: background 0.2s, transform 0.2s;
}


.pp-variant-nav:hover {
  background: rgba(0, 0, 0, 0.85);
  transform: translateY(0) scale(1.05);
}


.pp-variant-nav--prev {
  left: -5px;
}

.pp-variant-nav--next {
  right: -5px;
}


.product-row__name {
  font-size: 1.3rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 1rem;
}

.product-row__specs {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  font-size: 0.95rem;
  color: #374151;
  line-height: 1.7;
}

.product-row__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 1.5rem;
    flex-wrap: wrap;
    }

.btn--black {
  background: #111827;
  color: #ffffff;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}

.btn--black:hover {
  background: #000000;
}

.product-row__link {
  color: #15803d;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.product-row__link:hover {
  color: #166534;
  text-decoration: underline;
}

/* Responsive for Mobile */
@media (max-width: 768px) {
  .product-row {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .product-row__image {
    max-width: 200px;
    margin: 0 auto;
  }
  .product-row__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 1.5rem;
    flex-wrap: wrap;
    }
}