/* ===================================================
   既存お気に入りページ /mypage/wishlist/
   商品一覧と同じ列構成で登録商品を直接表示
=================================================== */

body.order-lub-wishlist-page .woocommerce-MyAccount-content {
	box-sizing: border-box;
	width: 100% !important;
	max-width: none !important;
	padding: 0 !important;
	background: transparent !important;
}

/* お気に入りページでは、共通のお知らせとマイページタイルを表示しない。 */
body.order-lub-wishlist-page .order-lub-managed-mypage-notice,
body.order-lub-wishlist-page .order-lub-important-notice,
body.order-lub-wishlist-page .woocommerce-MyAccount-navigation {
	display: none !important;
}

.order-lub-wishlist-products {
	box-sizing: border-box;
	width: 100%;
	padding: 26px 24px 20px;
	border: 1px solid #d7e2ec;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 10px 28px rgba(15, 43, 70, 0.06);
}

.order-lub-wishlist-products__title {
	margin: 0 0 22px !important;
	padding: 0 !important;
	border: 0 !important;
	color: #132b46 !important;
	font-size: 26px !important;
	font-weight: 800 !important;
	line-height: 1.45 !important;
}

.order-lub-wishlist-products__empty {
	margin: 0;
	padding: 22px;
	border-radius: 8px;
	background: #f5f8fb;
	color: #536779;
	font-size: 15px;
	line-height: 1.7;
}

.order-lub-wishlist-products__header,
.order-lub-wishlist-products__list > li.product {
	display: grid !important;
	grid-template-columns: minmax(145px, 1.2fr) minmax(0, 2.4fr) 132px 56px 100px 150px !important;
	gap: 12px !important;
	align-items: center !important;
	box-sizing: border-box !important;
	width: 100% !important;
}

.order-lub-wishlist-products__header > *,
.order-lub-wishlist-products__list > li.product > * {
	min-width: 0;
}

.order-lub-wishlist-products__header {
	min-height: 48px;
	padding: 10px 14px;
	border: 1px solid #d7e2ec;
	background: #eef4f8;
	color: #213b55;
	font-size: 12px;
	font-weight: 800;
	line-height: 1.4;
}

.order-lub-wishlist-products__spec-head,
.order-lub-wishlist-products .order-lub-loop-product-spec {
	display: grid !important;
	grid-template-columns: minmax(0, 1.6fr) minmax(0, .9fr) minmax(0, .7fr) minmax(0, .9fr) !important;
	gap: 0 !important;
	align-items: center !important;
	box-sizing: border-box !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

.order-lub-wishlist-products__spec-head > span,
.order-lub-wishlist-products .order-lub-loop-product-spec__item {
	box-sizing: border-box;
	min-width: 0;
	padding: 6px;
}

.order-lub-wishlist-products__favorite-head {
	text-align: center;
}

.order-lub-wishlist-products__list {
	display: block !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.order-lub-wishlist-products__list > li.product {
	position: relative !important;
	float: none !important;
	clear: both !important;
	min-height: 96px !important;
	margin: 0 !important;
	padding: 16px 14px !important;
	border: 0 !important;
	border-bottom: 1px solid #e0e7ed !important;
	border-radius: 0 !important;
	background: #fff !important;
	box-shadow: none !important;
}

.order-lub-wishlist-products__list > li.product:last-child {
	border-bottom: 0 !important;
}

.order-lub-wishlist-products__name h3 {
	margin: 0 !important;
	padding: 0 !important;
	color: #132b46 !important;
	font-size: 15px !important;
	font-weight: 800 !important;
	line-height: 1.55 !important;
	overflow-wrap: anywhere;
	border: 0 !important;
}

.order-lub-wishlist-products .order-lub-loop-product-spec dt {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	margin: -1px !important;
	padding: 0 !important;
	overflow: hidden !important;
	clip-path: inset(50%) !important;
	white-space: nowrap !important;
}

.order-lub-wishlist-products .order-lub-loop-product-spec dd {
	margin: 0 !important;
	color: #132b46 !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	line-height: 1.55 !important;
	overflow-wrap: anywhere;
}

.order-lub-wishlist-products .price {
	display: block !important;
	margin: 0 !important;
	color: #d00012 !important;
	font-size: 16px !important;
	font-weight: 800 !important;
	line-height: 1.4 !important;
	text-align: left !important;
	white-space: normal;
}

.order-lub-wishlist-products .price .order-lub-pro-price-breakdown {
	display: flex !important;
	flex-direction: column !important;
	align-items: flex-start !important;
	gap: 4px !important;
	width: 100% !important;
	color: #132b46 !important;
	line-height: 1.25 !important;
}

.order-lub-wishlist-products .order-lub-pro-price-breakdown__base,
.order-lub-wishlist-products .order-lub-pro-price-breakdown__five {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: baseline !important;
	gap: 5px !important;
}

.order-lub-wishlist-products .order-lub-pro-price-breakdown small {
	color: #68798a !important;
	font-size: 10px !important;
	font-weight: 700 !important;
	line-height: 1.3 !important;
	white-space: nowrap !important;
}

.order-lub-wishlist-products .order-lub-pro-price-breakdown__base strong {
	color: #c90012 !important;
	font-size: 18px !important;
	font-weight: 800 !important;
	white-space: nowrap !important;
}

.order-lub-wishlist-products .order-lub-pro-price-breakdown__five {
	padding: 3px 7px !important;
	border-radius: 4px !important;
	background: #eef7ff !important;
}

.order-lub-wishlist-products .order-lub-pro-price-breakdown__five small,
.order-lub-wishlist-products .order-lub-pro-price-breakdown__five strong {
	color: #005691 !important;
	white-space: nowrap !important;
}

.order-lub-wishlist-products .order-lub-pro-price-breakdown__five strong {
	font-size: 14px !important;
	font-weight: 800 !important;
}

.order-lub-wishlist-products .order-lub-pro-price-breakdown em {
	font-size: 10px !important;
	font-style: normal !important;
	font-weight: 700 !important;
}

.order-lub-wishlist-products .price:has(.order-lub-long-lead-time-note) {
	display: flex !important;
	flex-direction: column !important;
	align-items: flex-start !important;
	justify-content: center !important;
}

.order-lub-wishlist-products .order-lub-long-lead-time-note {
	display: block !important;
	flex: 0 0 auto !important;
	clear: both !important;
	width: 100% !important;
	margin: 5px 0 0 !important;
	color: #805b16;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.5;
	white-space: normal !important;
}

.order-lub-wishlist-products .order-lub-favorite-toggle {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	justify-self: center;
	box-sizing: border-box;
	width: 42px !important;
	height: 42px !important;
	min-width: 42px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 1px solid #d99a00 !important;
	border-radius: 7px !important;
	background: #fff7dc !important;
	color: #d28b00 !important;
	box-shadow: none !important;
	cursor: pointer;
}

.order-lub-wishlist-products .order-lub-favorite-toggle:hover,
.order-lub-wishlist-products .order-lub-favorite-toggle:focus-visible {
	background: #ffefb8 !important;
	outline: 2px solid rgba(217, 154, 0, .22);
	outline-offset: 2px;
}

.order-lub-wishlist-products .order-lub-favorite-toggle.is-loading {
	opacity: .55;
	cursor: wait;
}

.order-lub-wishlist-products .order-lub-favorite-toggle__icon {
	display: block;
	font-size: 25px;
	font-weight: 400;
	line-height: 1;
}

.order-lub-wishlist-products .order-lub-loop-qty-control {
	display: grid !important;
	grid-template-columns: 34px 42px 34px !important;
	align-items: stretch !important;
	box-sizing: border-box;
	width: 110px !important;
	height: 38px !important;
	margin: 0 !important;
	border: 1px solid #cfd9e2;
	border-radius: 6px;
	overflow: hidden;
}

.order-lub-wishlist-products .order-lub-loop-qty-btn,
.order-lub-wishlist-products .order-lub-loop-qty-input {
	box-sizing: border-box !important;
	width: 100% !important;
	height: 36px !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: #fff !important;
	color: #132b46 !important;
	font-size: 14px !important;
	line-height: 36px !important;
	text-align: center !important;
	box-shadow: none !important;
}

.order-lub-wishlist-products .order-lub-loop-qty-btn {
	cursor: pointer;
}

.order-lub-wishlist-products .order-lub-loop-qty-input {
	border-right: 1px solid #d7e0e7 !important;
	border-left: 1px solid #d7e0e7 !important;
	-moz-appearance: textfield;
}

.order-lub-wishlist-products .order-lub-loop-qty-input::-webkit-inner-spin-button,
.order-lub-wishlist-products .order-lub-loop-qty-input::-webkit-outer-spin-button {
	margin: 0;
	-webkit-appearance: none;
}

.order-lub-wishlist-products__list > li.product > .button,
.order-lub-wishlist-products .order-lub-out-of-stock-action {
	display: inline-flex !important;
	position: static !important;
	inset: auto !important;
	align-items: center !important;
	justify-content: center !important;
	box-sizing: border-box !important;
	width: 100% !important;
	min-height: 42px !important;
	margin: 0 !important;
	padding: 9px 12px !important;
	border: 0 !important;
	border-radius: 7px !important;
	background: #1f73c9 !important;
	color: #fff !important;
	font-size: 13px !important;
	font-weight: 800 !important;
	line-height: 1.35 !important;
	text-align: center !important;
	text-decoration: none !important;
	transform: none !important;
	outline: 0 !important;
	outline-offset: 0 !important;
	box-shadow: none !important;
}

/*
 * Ajax追加後の added 状態へテーマが付ける赤い点線と位置変更を無効化。
 * 元ボタンは追加前と同じ操作列に維持する。
 */
.order-lub-wishlist-products__list > li.product > .button.added,
.order-lub-wishlist-products__list > li.product > .ajax_add_to_cart.added,
.order-lub-wishlist-products__list > li.product > .button:focus,
.order-lub-wishlist-products__list > li.product > .button:focus-visible,
.order-lub-wishlist-products__list > li.product > .button:active {
	position: static !important;
	inset: auto !important;
	margin: 0 !important;
	border: 0 !important;
	transform: none !important;
	outline: 0 !important;
	outline-offset: 0 !important;
	box-shadow: none !important;
}

.order-lub-wishlist-products__list > li.product > .button.added::before,
.order-lub-wishlist-products__list > li.product > .button.added::after,
.order-lub-wishlist-products__list > li.product > .ajax_add_to_cart.added::before,
.order-lub-wishlist-products__list > li.product > .ajax_add_to_cart.added::after {
	display: none !important;
	content: none !important;
	border: 0 !important;
	outline: 0 !important;
	box-shadow: none !important;
}

.order-lub-wishlist-products__list > li.product > .button:hover,
.order-lub-wishlist-products__list > li.product > .button:focus-visible {
	background: #145fae !important;
}

.order-lub-wishlist-products__list > li.product > .added_to_cart {
	display: none !important;
}

@media (min-width: 901px) {
	.order-lub-wishlist-products__name {
		grid-column: 1 !important;
		grid-row: 1 !important;
	}

	.order-lub-wishlist-products .order-lub-loop-product-spec {
		grid-column: 2 !important;
		grid-row: 1 !important;
	}

	.order-lub-wishlist-products .price {
		grid-column: 3 !important;
		grid-row: 1 !important;
	}

	.order-lub-wishlist-products .order-lub-favorite-toggle {
		grid-column: 4 !important;
		grid-row: 1 !important;
	}

	.order-lub-wishlist-products .order-lub-loop-qty-control {
		grid-column: 5 !important;
		grid-row: 1 !important;
		width: 100px !important;
		grid-template-columns: 30px 40px 30px !important;
	}

	.order-lub-wishlist-products__list > li.product > .button,
	.order-lub-wishlist-products .order-lub-out-of-stock-action {
		grid-column: 6 !important;
		grid-row: 1 !important;
		align-self: center !important;
		justify-self: stretch !important;
		place-self: center stretch !important;
		max-width: 150px !important;
	}
}

.order-lub-wishlist-products .order-lub-out-of-stock-price {
	color: #c90012;
	font-weight: 800;
}

.order-lub-wishlist-products .order-lub-out-of-stock-action {
	border: 1px solid #cfd8e1 !important;
	background: #f4f6f8 !important;
	color: #596773 !important;
}

/* B2BKing側の出力が更新で残った場合も、重複画面にはしない。 */
body.order-lub-wishlist-page .b2bking_purchase_list_top_container,
body.order-lub-wishlist-page #b2bking_purchase_lists_table_wrapper {
	display: none !important;
}

@media (max-width: 1000px) and (min-width: 901px) {
	.order-lub-wishlist-products {
		padding-right: 16px;
		padding-left: 16px;
	}

	.order-lub-wishlist-products__header,
	.order-lub-wishlist-products__list > li.product {
		grid-template-columns: minmax(120px, 1.1fr) minmax(0, 2.2fr) 76px 44px 94px 130px !important;
		gap: 8px !important;
		padding-right: 10px !important;
		padding-left: 10px !important;
	}
}

@media (max-width: 900px) {
	.order-lub-wishlist-products {
		padding: 22px 18px 10px;
		border-radius: 13px;
	}

	.order-lub-wishlist-products__title {
		margin-bottom: 16px !important;
		font-size: 23px !important;
	}

	.order-lub-wishlist-products__header {
		display: none !important;
	}

	.order-lub-wishlist-products__list > li.product {
		display: grid !important;
		grid-template-columns: 96px minmax(0, 1fr) !important;
		grid-template-rows: auto auto auto auto !important;
		align-items: stretch !important;
		column-gap: 10px !important;
		row-gap: 13px !important;
		min-height: 0 !important;
		padding: 20px 4px !important;
	}

	.order-lub-wishlist-products__name {
		grid-column: 1 / -1 !important;
		grid-row: 1 !important;
		box-sizing: border-box;
		width: 100%;
		margin: 0;
		padding: 3px 54px 3px 0;
	}

	.order-lub-wishlist-products__name h3 {
		font-size: 16px !important;
	}

	.order-lub-wishlist-products .order-lub-favorite-toggle {
		position: static !important;
		grid-column: 2 !important;
		grid-row: 1 !important;
		align-self: start;
		justify-self: end;
		z-index: 1;
	}

	.order-lub-wishlist-products .order-lub-loop-product-spec {
		grid-column: 1 / -1 !important;
		grid-row: 2 !important;
		grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
		gap: 8px !important;
		margin: 0 !important;
		padding: 10px 12px !important;
		border-radius: 7px;
		background: #f5f8fa;
	}

	.order-lub-wishlist-products .order-lub-loop-product-spec__item {
		padding: 0 !important;
	}

	.order-lub-wishlist-products .order-lub-loop-product-spec dt {
		position: static !important;
		display: block !important;
		width: auto !important;
		height: auto !important;
		margin: 0 0 4px !important;
		overflow: visible !important;
		clip-path: none !important;
		white-space: normal !important;
		color: #617487;
		font-size: 10px;
		font-weight: 700;
		line-height: 1.35;
	}

	.order-lub-wishlist-products .order-lub-loop-product-spec dd {
		font-size: 12px !important;
	}

	.order-lub-wishlist-products .price {
		grid-column: 1 / -1 !important;
		grid-row: 3 !important;
		margin: 0 !important;
	}

	.order-lub-wishlist-products .order-lub-loop-qty-control {
		grid-column: 1 !important;
		grid-row: 4 !important;
		align-self: center;
		width: 96px !important;
		grid-template-columns: 28px 40px 28px !important;
		margin: 0 !important;
	}

	.order-lub-wishlist-products__list > li.product > .button,
	.order-lub-wishlist-products .order-lub-out-of-stock-action {
		grid-column: 2 !important;
		grid-row: 4 !important;
		align-self: center;
		justify-self: stretch;
		min-width: 0 !important;
		min-height: 44px !important;
		padding-right: 8px !important;
		padding-left: 8px !important;
		font-size: 12px !important;
		white-space: nowrap;
	}
}

@media (max-width: 540px) {
	body.order-lub-wishlist-page .woocommerce-MyAccount-content {
		width: 100% !important;
	}

	.order-lub-wishlist-products {
		padding: 20px 14px 8px;
	}

	.order-lub-wishlist-products .order-lub-loop-product-spec {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		row-gap: 10px !important;
	}
}

@media (max-width: 360px) {
	.order-lub-wishlist-products {
		padding-right: 10px;
		padding-left: 10px;
	}

	.order-lub-wishlist-products__list > li.product {
		grid-template-columns: 90px minmax(0, 1fr) !important;
		column-gap: 8px !important;
	}

	.order-lub-wishlist-products .order-lub-loop-qty-control {
		width: 90px !important;
		grid-template-columns: 26px 38px 26px !important;
	}

	.order-lub-wishlist-products__list > li.product > .button,
	.order-lub-wishlist-products .order-lub-out-of-stock-action {
		font-size: 11px !important;
	}
}
