/* Product cards */
.bigtitle{
	text-align:center; 
	font-size: 2.25em;
	line-height:1em;
	font-family: 'Poppins',Helvetica,Arial,sans-serif;
	letter-spacing:-.06em;
	color:#5c5c5e;
	font-weight:normal;
	display: flow;
	padding: 0;
	}
.post.products small, .stockongrill {
	line-height: 1.25em;	
	color: #666;
	display: block;	
	margin:0 auto;
	}
.post.products small {width:90%}
.stockongrill { max-width:20vh; padding:0.20em}
/* Image container */
.geeks {
	width: 100%;
	height: 220px;
	margin: 0 auto 0.75em;
	overflow: hidden;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
}

/* Images */
.geeks img {
	width: 100%;
	height: 100%;
	object-fit: contain; /* use cover if you want all images fully filled */
	transition: 0.4s all ease-in-out;
	display: block;
}

/* Hover zoom */
.geeks:hover img {
	transform: scale(1.08);
}

/* =========================
   Product cards
========================= */

/* Product grid */

.posts {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-items: stretch;
	gap: 0.75em;
}

/* Desktop */

.posts .post {
	width: calc(20% - 0.75em);
}

.posts .post1 {
	width: calc(20% - 0.75em);
}

.posts .postwide {
	width: calc(33.333% - 0.75em);
}

/* =========================
   Product block
========================= */

.post.products {
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 12px;
	text-align: center;
	padding: 0.95em;
	box-shadow: 0 2px 8px rgba(0,0,0,0.04);
	overflow: hidden;
	transition: all 0.2s ease;
	display: flex;
	flex-direction: column;
	position: relative;
}

.post.products:hover {
	box-shadow: 0 4px 14px rgba(0,0,0,0.08);
	transform: translateY(-2px);
}

/* =========================
   Overlay image container
========================= */

.image-overlay-container {
	position: relative;
	width: 100%;
	height: 220px;
	margin: 0 auto 0.75em;
	overflow: hidden;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
}

/* Main image */

.image-overlay-container .image-main {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 0.25em;
	display: block;
	transition: 0.4s ease;
	z-index: 1;
	opacity: 1;
}

/* Secondary image */

.image-overlay-container .image-hover {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: 0.5s ease;
	z-index: 2;
	opacity: 0;
	transform: scale(1);
}

/* Hover effects */

.image-overlay-container:hover .image-main {
	opacity: 0;
	transform: scale(1.05);
}

.image-overlay-container:hover .image-hover {
	opacity: 1;
	transform: scale(1.12);
}

/* =========================
   Overlay
========================= */

.image-overlay-container .overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.25);
	opacity: 0;
	transition: 0.3s ease;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
}

.image-overlay-container:hover .overlay {
	opacity: 1;
}

/* =========================
   View button
========================= */

.image-overlay-container .text {
	background: #fff;
	color: #000;
	padding: 0.65em 1.25em;
	border-radius: 30px;
	font-size: 0.95em;
	font-weight: bold;
	line-height: 1;
	box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* =========================
   Text
========================= */

.post.products h3,
.post.products h4,
.post.products h5 {
	margin: 0.25em 0;
	line-height: 1.2em;
}

.post.products p {
	margin: 0.35em 0;
	line-height: 1.35em;
}

.post.products small {
	display: block;
	line-height: 1.25em;
	margin: 0.25em 0 0.75em 0;
	color: #666;
}

/* =========================
   Buttons
========================= */

.post.products .btn,
.post.products .button {
	display: block;
	width: 100%;
	margin-top: auto;
	padding: 0.7em 0.8em;
	line-height: 1.1em;
	font-size: 0.9em;
	color: #fff;
	box-sizing: border-box;
	border-radius: 6px;
	text-align: center;
}

/* =========================
   Bestseller
========================= */

.post.products.bestseller {
	background: #fffde8;
	border: 2px solid #d6c85a;
}

/* =========================
   Mobile product names
========================= */

.mobile-product-name {
	display: none;
}

.desktop-product-name {
	display: inline;
}

/* =========================
   Tablet
========================= */

@media all and (min-width: 769px) and (max-width: 1280px) {

	.posts .post,
	.posts .post1,
	.posts .postwide {
		width: calc(33.333% - 0.75em);
	}

}

/* =========================
   Mobile
========================= */

@media all and (max-width: 768px) {

	.posts {
		display: flex;
		flex-wrap: wrap;
		gap: 0.75em;
	}

	.posts .post,
	.posts .post1,
	.posts .postwide {
		width: 100%;
	}

	.post.products {
		padding: 1.1em;
		border-radius: 10px;
	}

	.image-overlay-container {
		height: 240px;
	}

	.post.products h3,
	.post.products h4,
	.post.products h5 {
		font-size: 1.05em;
	}

	.post.products p,
	.post.products small {
		font-size: 0.92em;
	}

	.post.products .btn,
	.post.products .button {
		font-size: 0.9em;
		padding: 0.65em 0.75em;
	}

	.desktop-product-name {
		display: none;
	}

	.mobile-product-name {
		display: inline;
		font-weight: bold;
	}

}

/* =========================
   Large desktop sections
========================= */

@media screen and (min-width: 1280px) {

	#buynow .posts .post,
	#hardware .posts .post {
		width: calc(17% - 0.75em);
		background: #fff;
		padding: 1em;
		border: 1px solid #efefef;
		border-radius: 10px;
	}

}

/* Mobile auto preview */

@media all and (max-width:768px){

	.image-overlay-container.mobile-preview .image-main{
		opacity:0;
		transform:scale(1.05);
	}

	.image-overlay-container.mobile-preview .image-hover{
		opacity:1;
		transform:scale(1.12);
	}

	.image-overlay-container.mobile-preview .overlay{
		opacity:1;
	}

}
/* Layout */

.posts {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-items: stretch;
	gap: 0.75em;
}

/* Desktop */

.posts .post {
	width: calc(20% - 0.75em);
}

.posts .post1 {
	width: calc(20% - 0.75em);
}

.posts .postwide {
	width: calc(33.333% - 0.75em);
}

/* Product block */

.post.products {
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 12px;
	text-align: center;
	padding: 0.95em;
	box-shadow: 0 2px 8px rgba(0,0,0,0.04);
	overflow: hidden;
	transition: all 0.2s ease;
	display: flex;
	flex-direction: column;
}

.post.products:hover {
	box-shadow: 0 4px 14px rgba(0,0,0,0.08);
	transform: translateY(-2px);
}

/* Text */

.post.products h3,
.post.products h4,
.post.products h5 {
	margin: 0.25em 0;
	line-height: 1.2em;
}

.post.products p {
	margin: 0.35em 0;
	line-height: 1.35em;
}


/* Buttons */

.post.products .btn,
.post.products .button {
	display: block;
	width: 100%;
	margin-top: 0.75em;
	padding: 0.7em 0.8em;
	line-height: 1.1em;
	font-size: 0.9em;
	color: #fff;
	box-sizing: border-box;
	border-radius: 6px;
	text-align: center;
}

/* Bestseller */

.post.products.bestseller {
	background: #fffde8;
	border: 2px solid #d6c85a;
}

.post.products.bestseller .geeks img {
	transform: scale(1.05);
}

/* Tablet */

@media all and (min-width: 769px) and (max-width: 1280px) {

	.posts .post,
	.posts .post1,
	.posts .postwide {
		width: calc(33.333% - 0.75em);
	}

}

/* Mobile - 1 column */

@media all and (max-width: 768px) {

	.posts {
		display: flex;
		flex-wrap: wrap;
		gap: 0.75em;
	}

	.posts .post,
	.posts .post1,
	.posts .postwide {
		width: 100%;
	}

	.post.products {
		padding: 1.1em;
		border-radius: 10px;
	}

	.geeks {
		height: 240px;
	}

	.post.products h3,
	.post.products h4,
	.post.products h5 {
		font-size: 1.05em;
	}

	.post.products p,
	.post.products small {
		font-size: 0.92em;
	}

	.post.products .btn,
	.post.products .button {
		font-size: 0.9em;
		padding: 0.65em 0.75em;
	}

}

/* Large desktop special sections */

@media screen and (min-width: 1280px) {

	#buynow .posts .post,
	#hardware .posts .post {
		width: calc(17% - 0.75em);
		background: #fff;
		padding: 1em;
		border: 1px solid #efefef;
		border-radius: 10px;
	}

}