/* ============================================
   SHOP PRODUCTS SECTION
   ============================================ */

.shop-products {
	margin: 0 auto;
	padding: 2rem 2rem 4rem;
	background-color: var(--color-primary2);
}

/* Shop Header */
.shop-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 3rem;
	max-width: 1600px;
	margin-left: auto;
	margin-right: auto;
}

.shop-header h1 {
	font-size: 3rem;
	color: var(--color-primary1);
	margin: 0;
}

/* Shop Controls */
.shop-controls {
	display: flex;
	gap: 1rem;
	align-items: center;
}

.category-select {
	padding: 0.8rem 1.2rem;
	font-size: 1.4rem;
	color: var(--color-primary2);
	background-color: var(--color-primary1);
	border: 2px solid var(--color-cta);
	border-radius: 4px;
	cursor: pointer;
	transition: border-color 0.3s ease;
}

.category-select:hover {
	border-color: var(--color-cta-hover);
}

.category-select:focus {
	outline: none;
	border-color: var(--color-cta-hover);
}

.search-bar {
	padding: 0.8rem 1.2rem;
	font-size: 1.4rem;
	color: var(--color-primary2);
	background-color: var(--color-primary1);
	border: 2px solid var(--color-cta);
	border-radius: 4px;
	min-width: 250px;
	transition: border-color 0.3s ease;
}

.search-bar:hover {
	border-color: var(--color-cta-hover);
}

.search-bar:focus {
	outline: none;
	border-color: var(--color-cta-hover);
}

.search-bar::placeholder {
	color: var(--color-text-muted);
}

/* Products Grid */
.products-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
	max-width: 1600px;
	margin: 0 auto;
}

.product-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 1.5rem;
	background-color: rgba(0, 0, 0, 0.3);
	background-image:
		repeating-linear-gradient(
			45deg,
			transparent,
			transparent 2px,
			rgba(255, 255, 255, 0.02) 2px,
			rgba(255, 255, 255, 0.02) 4px
		),
		repeating-linear-gradient(
			-45deg,
			transparent,
			transparent 2px,
			rgba(0, 0, 0, 0.03) 2px,
			rgba(0, 0, 0, 0.03) 4px
		);
	border-radius: 8px;
	border: 1px solid rgba(232, 228, 221, 0.1);
}

.product-card img {
	width: 100%;
	height: 300px;
	margin-bottom: 1rem;
	object-fit: contain;
	border-radius: 8px;
}

.product-card h3 {
	margin-bottom: 0.5rem;
	font-size: 1.5rem;
	color: var(--color-primary1);
	text-align: center;
}

.product-card .price {
	margin-bottom: 1rem;
	font-size: 1.3rem;
	font-weight: bold;
	color: var(--color-cta-hover);
}

/* Product Button */
.product-button {
	display: inline-block;
	margin-top: auto;
	padding: 1rem 1.5rem;
	width: fit-content;
	background-color: var(--color-cta);
	color: var(--color-primary2);
	font-size: 1.5rem;
	font-weight: bold;
	text-decoration: none;
	border-radius: 4px;
	transition: background-color 0.3s ease;
}

.product-button:hover {
	background-color: var(--color-cta-hover);
}

/* ============================================
   MOBILE SHOP PRODUCTS
   ============================================ */

@media (max-width: 1040px) {
	.shop-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 1rem;
	}

	.shop-header h1 {
		font-size: 2rem;
	}

	.shop-controls {
		flex-direction: column;
		width: 100%;
	}

	.search-bar {
		min-width: 0;
		width: 100%;
	}

	.category-select {
		width: 100%;
	}

	.products-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 1.5rem;
	}

	.shop-tagline {
		font-size: 1.2rem;
		margin-top: 2rem;
	}
}

@media (max-width: 600px) {
	.products-grid {
		grid-template-columns: 1fr;
		max-width: 400px;
		margin: 0 auto;
	}

	.product-card img {
		height: 220px;
	}
}

/* Shop Tagline */
.shop-tagline {
	margin-top: 4rem;
	text-align: center;
	font-size: 1.6rem;
	font-style: italic;
	color: var(--color-primary1);
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
}
