/* ===== PRODUCTS PAGE ===== */

/* -- Hero -- */
.pd-hero {
	margin-top: 0;
	padding: 160px 48px 100px;
	max-width: 900px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}
.pd-hero-title {
	font-family: var(--serif);
	font-weight: 300;
	font-size: 24px;
	letter-spacing: 4.8px;
	line-height: 36px;
	color: var(--text);
	margin-bottom: 6px;
	text-transform: uppercase;
}
.pd-hero-sub {
	font-size: 11px;
	font-weight: 300;
	color: var(--muted-light);
	letter-spacing: 0.55px;
	line-height: 16.5px;
}
.pd-hero-desc {
	font-family: "游ゴシック", "Yu Gothic", YuGothic, sans-serif;
	font-size: 13px;
	font-weight: 300;
	line-height: 19.5px;
	color: var(--muted);
	letter-spacing: 0.65px;
	max-width: 600px;
	margin: 0 auto 32px;
}

/* -- Search -- */
.pd-search {
	max-width: 400px;
	margin: 0 auto;
	position: relative;
}
.pd-search-icon {
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	color: var(--muted-light);
	pointer-events: none;
}
input.pd-search-input {
	width: 100%;
	padding: 16px 16px 16px 32px;
	font-family: var(--sans);
	font-size: 13px;
	font-weight: 200;
	letter-spacing: 1px;
	border: none;
	border-bottom: 1px solid var(--border);
	background: transparent;
	color: var(--text);
	box-sizing: border-box;
	transition: border-color 0.4s;
	cursor: text;
}
input.pd-search-input::placeholder {
	color: var(--muted-light);
	letter-spacing: 1.5px;
}
input.pd-search-input:focus {
	outline: none;
	border-color: var(--text);
}

/* -- Filter Bar -- */
.pd-filter-bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
	padding: 0 48px;
	max-width: 1280px;
	margin: 0 auto 64px;
}

/* -- Category Select (left) -- */
.pd-filter-left {
	flex-shrink: 0;
}

/* -- Filter Selects (right) -- */
.pd-filter-selects {
	display: flex;
	gap: 12px;
	flex-shrink: 0;
}
.pd-select {
	font-family: var(--sans);
	font-size: 11px;
	font-weight: 300;
	letter-spacing: 1px;
	color: var(--text);
	background: transparent;
	border: none;
	border-bottom: 1px solid var(--border);
	padding: 8px 28px 8px 0;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23999' stroke-width='1'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 10px center;
	background-size: 10px 6px;
	transition: border-color 0.3s;
}
.pd-select:hover,
.pd-select:focus {
	border-bottom-color: var(--text);
	outline: none;
}

/* -- Result Count -- */
.pd-count {
	text-align: center;
	font-family: var(--sans);
	font-weight: 200;
	font-size: 11px;
	letter-spacing: 3px;
	color: var(--muted-light);
	padding-bottom: 48px;
}
.pd-count strong {
	font-weight: 200;
	font-size: 13px;
	letter-spacing: 1px;
	color: var(--muted);
	margin-right: 4px;
}

/* -- Product Grid -- */
.pd-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px 16px;
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 48px 120px;
}
.pd-card {
	display: block;
	text-decoration: none;
	overflow: hidden;
	position: relative;
}
.pd-card-img-wrap {
	position: relative;
	background: var(--bg-alt);
	aspect-ratio: 3 / 4;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}
.pd-card-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	padding: 0;
	transition: transform 0.6s ease;
}
.pd-card:hover .pd-card-img {
	transform: scale(1.03);
}
.pd-card-new {
	position: absolute;
	top: 12px;
	left: 12px;
	font-family: var(--serif);
	font-style: normal;
	font-size: 11px;
	letter-spacing: 2px;
	color: var(--muted);
}
.pd-card-info {
	padding: 20px 24px 28px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 0;
}
.pd-card-name {
	font-family: var(--serif);
	font-weight: 400;
	font-size: 12px;
	letter-spacing: 1px;
	color: var(--text);
	margin-bottom: 6px;
	word-break: keep-all;
}
.pd-card-price {
	font-size: 12px;
	color: var(--muted);
	letter-spacing: 0.5px;
}
.pd-card.is-hidden {
	display: none;
}
.pd-card-sold-out {
	position: absolute;
	top: 12px;
	left: 12px;
	font-size: 10px;
	font-weight: 400;
	letter-spacing: 2px;
	color: #1a1a1a;
}
.pd-card-limited {
	position: absolute;
	top: 12px;
	right: 12px;
	font-size: 10px;
	font-weight: 400;
	letter-spacing: 2px;
	color: #1a1a1a;
}
.pd-card-add-btn {
	position: absolute;
	bottom: 8px;
	right: 8px;
	width: 30px;
	height: 30px;
	background: transparent;
	color: #ccc;
	border: 1px solid #ccc;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	padding-bottom: 4px;
	padding-left: 0px;
	z-index: 2;
	transition: opacity 0.2s;
}
.pd-card-add-btn:hover {
	opacity: 0.75;
}

/* -- SP -- */
@media (max-width: 768px) {
	.pd-hero {
		padding: 120px 24px 48px;
		margin-top: 0;
	}
	.pd-hero-title { font-size: 18px; letter-spacing: 4px; }
	.pd-hero-desc { font-size: 11px; margin-bottom: 24px; }
	.pd-filter-bar {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 12px;
		padding: 0 20px;
		margin-bottom: 40px;
	}
	.pd-filter-left {
		width: auto;
		display: contents;
	}
	.pd-filter-selects {
		display: contents;
	}
	.pd-select {
		font-size: 10px;
		padding: 7px 24px 7px 8px;
		width: 100%;
	}
	.pd-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 0;
		padding: 0 0 80px;
	}
	.pd-card-info {
		padding: 20px 6px 24px;
	}
	.pd-card-name {
		font-size: 11px;
		letter-spacing: 0;
	}
	.pd-card-new { top: 8px; left: 8px; font-size: 10px; }
}
