/* 俺の工作 ショップ共通 (minne 風・白基調。Bootstrap 5 の上書き・補完) */

body {
	background-color: #ffffff;
	color: #333;
}

/* ---- ヘッダー ---- */
.site-header > .container {
	min-height: 76px;
}
.site-header {
	margin-bottom: 42px;
}
/* スマホ: ヘッダー高さを 50px に (検索行が折り返す場合は min-height なので自然に伸びる) */
@media (max-width: 767.98px) {
	.site-header > .container {
		min-height: 50px;
		padding-top: 0 !important;
		padding-bottom: 0 !important;
	}
	.site-logo {
		font-size: 1.25rem;
	}
	.site-header {
		margin-bottom: 24px;
	}
}
/* ヘッダー直後のコンテナは py-* の上パディングを打ち消し、余白をヘッダー側の 42px に一本化する */
.site-header + .container {
	padding-top: 0 !important;
}
.site-logo {
	font-size: 1.5rem;
	font-weight: 800;
	color: #222;
	letter-spacing: 0.02em;
	white-space: nowrap;
}
.site-search {
	max-width: 560px;
	min-width: 200px;
}
/* PC: ロゴ枠と右アイコン枠を同じ伸縮率にして検索窓を左右センタリング */
@media (min-width: 768px) {
	.site-header .site-logo {
		flex: 1 1 0;
	}
	.site-header nav {
		flex: 1 1 0;
		justify-content: flex-end;
	}
}
.site-search .form-control {
	background-color: #f4f4f4;
	border-color: #f4f4f4;
}
.site-search .form-control:focus {
	background-color: #fff;
	box-shadow: none;
	border-color: #999;
}
.header-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	color: #444;
}
.header-icon:hover {
	background-color: #f2f2f2;
	color: #000;
}
/* placeholder は薄いグレー (Bootstrap 既定 #6c757d より薄く。opacity は Firefox の減光対策) */
.form-control::placeholder,
input::placeholder,
textarea::placeholder {
	color: #aaa;
	opacity: 1;
}
/* ログイン中アバター (Google 風: 名前の一文字目を●の中に表示。クリックでマイページ) */
.avatar-circle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: #111;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	user-select: none;
}
.header-badge {
	position: absolute;
	top: 2px;
	right: 0;
	min-width: 17px;
	height: 17px;
	padding: 0 4px;
	border-radius: 9px;
	background: #dc3545;
	color: #fff;
	font-size: 11px;
	line-height: 17px;
	text-align: center;
}

/* ---- トップバナー (minne 風 3枚同時スライダー) ---- */
.banner-slider {
	overflow: hidden;
}
.banner-track {
	display: flex;
	gap: 12px;
	will-change: transform;
}
.banner-slide {
	flex: 0 0 calc((100% - 24px) / 3); /* 3枚表示 (gap 12px × 2) */
}
.banner-slide img {
	width: 100%;
	aspect-ratio: 8 / 5;
	object-fit: cover;
	border-radius: 8px;
	display: block;
}
@media (max-width: 767px) {
	.banner-slide {
		flex: 0 0 86%; /* スマホは1枚+次のチラ見せ */
	}
}
.top-banner .banner-placeholder {
	width: 100%;
	height: 260px;
	border-radius: 8px;
}

/* ---- セクション見出し (minne 風センター) ---- */
.section-title {
	text-align: center;
	font-size: 1.25rem;
	font-weight: 600;
	margin: 2.5rem 0 0.4rem;
}
.section-sub {
	text-align: center;
	color: #888;
	font-size: 0.85rem;
	margin-bottom: 1.5rem;
}

/* ---- 商品カード (minne 風) ---- */
.item-card {
	background: #fff;
	border: 1px solid #eee;
	border-radius: 6px;
	overflow: hidden;
	transition: box-shadow 0.15s;
}
.item-card:hover {
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.10);
}
.item-thumb-wrap {
	position: relative;
	aspect-ratio: 1 / 1;
	background: #f6f6f6;
	overflow: hidden;
}
.item-thumb {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.soldout-label {
	position: absolute;
	left: 0;
	bottom: 0;
	background: rgba(240, 173, 120, 0.92);
	color: #fff;
	font-size: 12px;
	font-weight: bold;
	letter-spacing: 0.08em;
	padding: 3px 10px;
}
.item-card-body {
	padding: 8px 10px 10px;
}
.item-card-name {
	font-size: 0.8rem;
	line-height: 1.4;
	margin-bottom: 4px;
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.item-card-price {
	font-size: 0.95rem;
	font-weight: 600;
	color: #555;
	margin-bottom: 0;
}
.item-card-price .yen {
	font-size: 0.75rem;
	font-weight: normal;
	margin-left: 1px;
}

/* ---- お気に入りハート (サムネイル右下の白丸) ---- */
.fav-btn {
	position: absolute;
	right: 8px;
	bottom: 8px;
	border: none;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	color: #cccccc;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
	padding: 0;
	z-index: 2;
}
.fav-btn:hover {
	color: #e8828f;
}
.fav-btn.active {
	color: #e0455c;
}

/* 商品詳細ページ用のインラインハート */
.fav-btn-inline {
	position: static;
	box-shadow: none;
	border: 1px solid #ddd;
	width: 42px;
	height: 42px;
	flex: 0 0 auto;
}

/* ---- 商品詳細 ---- */
.detail-thumb {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: contain; /* 詳細ページは切り抜かず全体を見せる */
	background-color: #f6f6f6;
}
.thumb-select {
	cursor: pointer;
}

/* 商品名: 行間を少し広めに */
.detail-title {
	line-height: 1.55;
}

/* 価格〜カートボタンのグループ: 上下の余白を広めに */
.detail-buy {
	margin-top: 1.4rem;
	margin-bottom: 2.2rem;
}

/* 商品説明: 「・」リストは項目間を広めに、本文は行間ゆったり */
.detail-bullets {
	list-style: none;
	padding-left: 0;
	margin: 0 0 1.5rem;
}
.detail-bullets li {
	position: relative;
	padding-left: 1.2em;
	margin-bottom: 0.65em;
	line-height: 1.7;
}
.detail-bullets li::before {
	content: "・";
	position: absolute;
	left: 0;
}
.item-description p {
	line-height: 2.0;
	margin-bottom: 1.2rem;
}

/* ---- カート内サムネイル ---- */
.cart-thumb {
	width: 72px;
	height: 72px;
	object-fit: cover;
	background-color: #f6f6f6;
}

/* PAY.JP ウィジェット枠 */
#payjp-widget-mount {
	min-height: 40px;
}
