@charset "UTF-8";
/* =============================================================================
 * ほしい物リスト（Wishlist）
 * 商品詳細ボタン / 誘導モーダル / マイページ一覧
 * アクセントはテーマ共通のオレンジ #f78930。
 * ========================================================================== */

/* ---- 商品詳細ページ：追加ボタン ---- */
.ffw-wishlist-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	max-width: 360px;
	margin: 14px 0 0;
	padding: 12px 20px;
	box-sizing: border-box;
	background: #fff;
	color: #f78930;
	border: 2px solid #f78930;
	border-radius: 6px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.4;
	cursor: pointer;
	transition: background-color .2s ease, color .2s ease, opacity .2s ease;
	-webkit-appearance: none;
	appearance: none;
}
.ffw-wishlist-btn:hover {
	background: #fff3e9;
}
.ffw-wishlist-btn__icon {
	display: inline-flex;
	line-height: 0;
}
.ffw-wishlist-btn__icon svg {
	width: 22px;
	height: 22px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
}
/* 追加済み：オレンジ塗り＋ハート塗りつぶし */
.ffw-wishlist-btn.is-in {
	background: #f78930;
	color: #fff;
}
.ffw-wishlist-btn.is-in .ffw-wishlist-btn__icon svg {
	fill: currentColor;
	stroke: currentColor;
}
.ffw-wishlist-btn.is-loading {
	opacity: .6;
	pointer-events: none;
}

/* ---- 誘導モーダル（ゲスト） ---- */
.ffw-wl-modal[hidden] {
	display: none;
}
.ffw-wl-modal {
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}
.ffw-wl-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .55);
}
.ffw-wl-modal__panel {
	position: relative;
	width: 100%;
	max-width: 440px;
	background: #fff;
	border-radius: 10px;
	padding: 36px 28px 32px;
	box-shadow: 0 12px 40px rgba(0, 0, 0, .25);
	text-align: center;
}
.ffw-wl-modal__close {
	position: absolute;
	top: 10px;
	right: 14px;
	width: 36px;
	height: 36px;
	background: none;
	border: 0;
	font-size: 28px;
	line-height: 1;
	color: #888;
	cursor: pointer;
}
.ffw-wl-modal__close:hover {
	color: #333;
}
.ffw-wl-modal__title {
	margin: 0 0 16px;
	font-size: 20px;
	font-weight: 700;
	color: #333;
}
.ffw-wl-modal__lead {
	margin: 0 0 24px;
	font-size: 14px;
	line-height: 1.8;
	color: #555;
}
.ffw-wl-modal__actions {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.ffw-wl-modal__btn {
	display: block;
	padding: 13px 20px;
	border-radius: 6px;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
	transition: opacity .2s ease, background-color .2s ease, color .2s ease;
}
.ffw-wl-modal__btn--primary {
	background: #f78930;
	color: #fff;
}
.ffw-wl-modal__btn--primary:hover {
	opacity: .85;
}
.ffw-wl-modal__btn--outline {
	background: #fff;
	color: #f78930;
	border: 2px solid #f78930;
}
.ffw-wl-modal__btn--outline:hover {
	background: #fff3e9;
}
body.ffw-wl-modal-open {
	overflow: hidden;
}

/* ---- マイページ：ほしい物リスト一覧（Figma 905-1409 準拠） ---- */
.ffw-wl-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 28px;
}
.ffw-wl-item {
	display: flex;
	flex-direction: column;
	gap: 16px;
}
/* サムネイル：枠付きボックスに中央寄せ（Figma：150px画像を枠内に中央配置） */
.ffw-wl-item__thumb {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 10px;
	border: 1px solid #ccc;
	box-sizing: border-box;
}
.ffw-wl-item__thumb img {
	display: block;
	width: 100%;
	max-width: 150px;
	height: auto;
	margin: 0 auto;
}
.ffw-wl-item__title {
	font-size: 18px;
	font-weight: 700;
	line-height: 1.6;
	color: #444;
	text-decoration: none;
	word-break: break-word;
}
.ffw-wl-item__title:hover {
	text-decoration: underline;
}
.ffw-wl-item__desc {
	margin: 0;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.6;
	color: #444;
	word-break: break-word;
}
.ffw-wl-item__price {
	font-size: 22px;
	font-weight: 700;
	line-height: 1.6;
	color: #444;
}
/* 価格HTMLの補助表記（税込など）は少し小さく */
.ffw-wl-item__price .woocommerce-Price-currencySymbol,
.ffw-wl-item__price small {
	font-size: 16px;
}
/* ボタン：削除（グレー）→商品を見る（オレンジ）の縦積み・フル幅 */
.ffw-wl-item__actions {
	margin-top: auto;
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding-top: 4px;
}
.ffw-wl-item__remove,
.ffw-wl-item__view {
	display: block;
	width: 100%;
	box-sizing: border-box;
	padding: 11px 16px;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: opacity .2s ease, background-color .2s ease;
}
.ffw-wl-item__remove {
	background: #ccc;
	color: #666;
}
.ffw-wl-item__remove:hover {
	background: #bfbfbf;
}
.ffw-wl-item__view {
	background: #fb5b01;
	color: #fff;
}
.ffw-wl-item__view:hover {
	opacity: .85;
}
.ffw-wl-item.is-removing {
	opacity: .5;
	pointer-events: none;
}

/* ---- 空状態 ---- */
.ffw-wl-empty {
	padding: 20px 0;
	line-height: 1.9;
	color: #555;
}
.ffw-wl-empty__action {
	margin-top: 20px;
}
.ffw-wl-empty__btn {
	display: inline-block;
	padding: 12px 28px;
	background: #fb5b01;
	color: #fff;
	border-radius: 8px;
	font-weight: 700;
	text-decoration: none;
	transition: opacity .2s ease;
}
.ffw-wl-empty__btn:hover {
	opacity: .85;
}

/* ---- レスポンシブ ---- */
@media screen and (max-width: 1024px) {
	.ffw-wl-list {
		grid-template-columns: repeat(3, 1fr);
		gap: 20px;
	}
}
@media screen and (max-width: 767px) {
	.ffw-wl-list {
		grid-template-columns: repeat(2, 1fr);
		gap: 16px;
	}
	.ffw-wl-item {
		gap: 12px;
	}
	.ffw-wl-item__title {
		font-size: 16px;
	}
	.ffw-wl-item__desc {
		font-size: 14px;
	}
	.ffw-wl-item__price {
		font-size: 20px;
	}
	.ffw-wl-item__remove,
	.ffw-wl-item__view {
		font-size: 14px;
	}
}
@media screen and (max-width: 360px) {
	.ffw-wl-list {
		grid-template-columns: 1fr;
	}
	.ffw-wl-item__thumb img {
		max-width: 180px;
	}
}
