	/* =========================
	   Woo Layout Overlord - Single Product Styling
	   ========================= */

	/* Single product container grid */
	.wlo-container .wlo-single {
	  display: grid;
	  grid-template-columns: 40% 60%;   /* left = gallery, right = summary */
	  gap: 40px;
	  align-items: stretch;             /* equal height columns */
	}

	/* Gallery (left side) */
	.wlo-gallery {
	  padding: 15px;
	  text-align: center;
	  height: 100%;
	  min-height: 280px;
	  max-width: 100%;
	  margin: 0 auto;
	  box-sizing: border-box;

	  display: flex;
	  justify-content: center;
	  align-items: center;  /* ✅ vertical + horizontal centering */
	}

	/* Gallery content */
	.wlo-gallery > *,
	.wlo-gallery img,
	.wlo-gallery iframe {
	  max-width: 100%;
	  height: auto;
	  margin: 0;
	  display: block;
	}

	/* Summary (right side) */
	.wlo-summary {
	  padding: 20px;
	  height: 100%;
	  box-sizing: border-box;
	}

	.wlo-summary h1.wlo-title {
	  margin-top: 0;
	  font-size: 1.8rem;
	}

	.wlo-price {
	  margin: 0.5rem 0 1rem;
	  font-weight: bold;
	  font-size: 1.2rem;
	}

	.wlo-cart {
	  margin: 1rem 0;
	}

	.wlo-tabs {
	  margin-top: 40px;
	}

	/* =========================
	   Links + Buttons
	   ========================= */

	.wlo-container a,
	.product-card a {
	  text-decoration: none;
	  color: inherit;
	}

	/* Center wrapper */
	.wlo-centered-link {
	  text-align: center;
	  margin: 20px 0;
	}

	/* Styled link as button */
	.wlo-button {
	  display: inline-block;
	  padding: 10px 20px;
	  background-color: #006400; /* dark green */
	  color: #fff !important;
	  font-weight: 600;
	  text-decoration: none;
	  border-radius: 16px;
	  transition: background-color 0.2s ease, transform 0.1s ease;
	}

	.wlo-button:hover {
	  background-color: #008000; /* lighter green */
	}

	.wlo-button:active {
	  transform: scale(0.97);
	}

	/* =========================
	   Catalog / Archive Styling
	   ========================= */

	/* Force exactly 4 products per row */
	.woocommerce ul.products,
	.woocommerce ul.products.columns-5,
	.products-grid {
		margin-top: 66px !important;
	  display: grid !important;
	  grid-template-columns: repeat(4, minmax(250px, 1fr)) !important;
	  gap: 30px;
	  max-width: 1400px;
	  margin: 0 auto;
	  justify-content: center;
	}


	.product-card {
	  border: 1px solid #ddd;
	  border-radius:16px;
	  padding: 20px;
	  background: #fff;
	  text-align: center;
	  display: flex;
	  flex-direction: column;
	  justify-content: space-between;
	  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
	  transition: transform 0.2s ease, box-shadow 0.2s ease;
	  width: 100%;        /* important: each card takes full fraction */
	  max-width: 300px;   /* keeps cards consistent size */
	}

	.product-card:hover {
	  transform: translateY(-4px);
	  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
	}

	.product-card .product-thumb {
	  min-height: 230px;
	  display: flex;
	  justify-content: center;
	  align-items: center;
	  margin-bottom: 15px;
	  overflow: hidden;
	}

	.product-card .product-thumb img,
	.product-card .product-thumb > * {
	  max-width: 100%;
	  max-height: 230px;
	  object-fit: contain;
	}

	.product-card h2.woocommerce-loop-product__title {
	  font-size: 1.15rem;
	  font-weight: 600;
	  margin: 12px 0 6px;
	  min-height: 2.6em;
	  display: flex;
	  align-items: center;
	  justify-content: center;
	  text-align: center;
	}

	.product-card .price {
	  margin: 10px 0 14px;
	  font-weight: bold;
	  font-size: 1rem;
	  color: #111;
	}

	.product-card .button {
	  display: inline-block;
	  padding: 10px 18px;
	  background-color: #006400;
	  color: #fff;
	  border-radius: 6px;
	  font-weight: 600;
	  text-decoration: none;
	  transition: background-color 0.2s ease, transform 0.1s ease;
	}

	.product-card .button:hover {
	  background-color: #008000;
	}

	.product-card .button:active {
	  transform: scale(0.97);
	}

	/* Responsive grid */
	@media (max-width: 1024px) {
	  .products-grid {
		grid-template-columns: repeat(2, 1fr);
	  }
	}

	@media (max-width: 600px) {
	  .products-grid {
		grid-template-columns: 1fr;
	  }
	}

/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
	
/* Left gallery column */
.wlo-gallery {
  padding: 15px;
  text-align: center;
  height: 100%;
  min-height: 400px;      /* bigger space */
  width: 100%;
  box-sizing: border-box;

  display: flex;
  justify-content: center;
  align-items: center;
}

/* WooCommerce product gallery wrapper should take full width */
.wlo-gallery .woocommerce-product-gallery {
  width: 100% !important;
  max-width: 100% !important;
}

/* Make sure main image scales nicely */
.wlo-gallery .woocommerce-product-gallery__image img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Thumbnails row */
.wlo-gallery .flex-control-thumbs {
  margin-top: 15px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.wlo-gallery .flex-control-thumbs li {
  flex: 0 0 auto;
  width: 80px;
}
