/* Shop styles for emceecreations.ca - category tiles and product cards.
   Matches the existing site look: Open Sans, #fcfcfc background, #484848 text. */

/* Category tiles (homepage) — same card pattern as the product grid */

.shop-cats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	padding: 24px 0;
}

.cat-card {
	position: relative;
	background: #fcfcfc;
	border: 1px solid #e3e3e3;
	padding: 16px;
	text-align: center;
	box-sizing: border-box;
}

.cat-card img {
	display: block;
	width: 100%;
	height: 220px;
	object-fit: cover;
	margin-bottom: 12px;
}

.cat-label {
	display: block;
	font-family: 'Open Sans', Arial, sans-serif;
	font-size: 16px;
	color: #484848;
	text-decoration: none;
	text-align: center;
}

a.cat-label:hover {
	text-decoration: underline;
}

.soon-flag {
	position: absolute;
	top: 26px;
	right: 26px;
	background: #484848;
	color: #fcfcfc;
	font-size: 12px;
	padding: 4px 10px;
	border-radius: 3px;
}

/* Product grid */

.product-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	padding: 24px 0;
}

.product-card {
	background: #fcfcfc;
	border: 1px solid #e3e3e3;
	padding: 16px;
	text-align: center;
	box-sizing: border-box;
}

.product-card img {
	display: block;
	width: 100%;
	height: auto;
	margin-bottom: 12px;
}

.thumb-row {
	display: flex;
	gap: 6px;
	justify-content: center;
	margin-bottom: 12px;
}

.thumb-row a {
	display: block;
	width: 22%;
}

.thumb-row img {
	margin-bottom: 0;
	border: 1px solid #ddd;
	cursor: pointer;
}

.thumb-row img:hover {
	border-color: #999;
}

.product-card video {
	display: block;
	width: 100%;
	height: auto;
	margin-bottom: 12px;
	background: #000;
}

.product-card h3 {
	font-size: 18px;
	margin: 8px 0 4px;
}

.product-desc,
.product-size {
	font-size: 14px;
	color: #484848;
	margin: 4px 0;
}

.product-price {
	font-size: 15px;
	font-weight: bold;
	color: #484848;
	margin: 10px 0;
}

.buy-buttons {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 8px;
}

.buy-btn {
	display: block;
	padding: 10px 12px;
	font-size: 14px;
	text-decoration: none;
	color: #fcfcfc;
	background: #484848;
	border-radius: 3px;
}

.buy-btn.buy-paypal {
	background: #003087;
}

.buy-btn.disabled {
	background: #b5b5b5;
	color: #fcfcfc;
	cursor: not-allowed;
}

.sold-badge {
	display: inline-block;
	padding: 6px 18px;
	font-size: 14px;
	font-weight: bold;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: #fcfcfc;
	background: #9b7b42;
	border-radius: 3px;
	margin: 8px 0 4px;
}

.sold-note {
	font-size: 14px;
	color: #484848;
	font-style: italic;
	margin: 8px 0;
}

.product-card.sold img {
	opacity: 0.88;
}

/* Tablet: 2 columns */
@media only screen and (min-width: 516px) and (max-width: 940px) {
	.shop-cats,
	.product-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* Mobile: 1 column */
@media only screen and (max-width: 515px) {
	.shop-cats,
	.product-grid {
		grid-template-columns: 1fr;
	}
}
