/*
Theme Name: Lightning Child - shop.css
Description: 商品一覧・商品カテゴリ・商品詳細まわり専用CSS
*/

/* ===================================================
01. 商品一覧・商品カテゴリ 共通設定
=================================================== */

body.woocommerce-shop,
body.post-type-archive-product,
body.tax-product_cat {
background: #f5f7fa;
}

/* ===================================================
小型PC・ノートPC：商品一覧の横はみ出し防止

769～1100pxではサイドバーを上段へ移し、商品行を2段表示にする。
1101px以上でも6列を固定幅にせず、利用可能幅に合わせて縮小する。
=================================================== */
@media (min-width: 1101px) {
	body:is(.woocommerce-shop, .post-type-archive-product, .tax-product_cat) .order-lub-product-list-header,
	body:is(.woocommerce-shop, .post-type-archive-product, .tax-product_cat) .order-lub-shop-content ul.products li.product:is(.product) {
		grid-template-columns: minmax(92px, .85fr) minmax(0, 2fr) minmax(104px, .8fr) 112px minmax(128px, 144px) !important;
		gap: 8px !important;
		min-width: 0 !important;
	}

	body:is(.woocommerce-shop, .post-type-archive-product, .tax-product_cat) .order-lub-product-list-header.has-favorite-column,
	body:is(.woocommerce-shop, .post-type-archive-product, .tax-product_cat) .order-lub-shop-content ul.products li.product:has(.order-lub-favorite-toggle) {
		grid-template-columns: minmax(92px, .85fr) minmax(0, 2fr) minmax(104px, .8fr) 48px 112px minmax(128px, 144px) !important;
	}

	body:is(.woocommerce-shop, .post-type-archive-product, .tax-product_cat) .order-lub-shop-content,
	body:is(.woocommerce-shop, .post-type-archive-product, .tax-product_cat) .order-lub-shop-content ul.products,
	body:is(.woocommerce-shop, .post-type-archive-product, .tax-product_cat) .order-lub-shop-content ul.products li.product {
		min-width: 0 !important;
		max-width: 100% !important;
		box-sizing: border-box !important;
	}

	.order-lub-product-list-header__spec,
	.order-lub-shop-content .order-lub-loop-product-spec {
		max-width: 100% !important;
	}

	.order-lub-product-list-header__spec > span {
		padding-right: 4px !important;
		padding-left: 4px !important;
		font-size: 11px !important;
	}
}

@media (min-width: 769px) and (max-width: 1100px) {
	body:is(.woocommerce-shop, .post-type-archive-product, .tax-product_cat) .order-lub-shop-layout--has-sidebar {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) !important;
		gap: 14px !important;
		width: 100% !important;
		max-width: 100% !important;
	}

	body:is(.woocommerce-shop, .post-type-archive-product, .tax-product_cat) .order-lub-shop-layout--has-sidebar > .order-lub-shop-sidebar,
	body:is(.woocommerce-shop, .post-type-archive-product, .tax-product_cat) aside.order-lub-shop-sidebar {
		display: block !important;
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box !important;
	}

	.order-lub-shop-filter--sidebar {
		display: none !important;
	}

	.order-lub-shop-filter--main {
		display: block !important;
	}

	body:is(.woocommerce-shop, .post-type-archive-product, .tax-product_cat) .order-lub-shop-content,
	body:is(.woocommerce-shop, .post-type-archive-product, .tax-product_cat) .order-lub-shop-content ul.products {
		width: 100% !important;
		min-width: 0 !important;
		max-width: 100% !important;
		box-sizing: border-box !important;
	}

	.order-lub-product-list-header {
		display: none !important;
	}

	body:is(.woocommerce-shop, .post-type-archive-product, .tax-product_cat) .order-lub-shop-content ul.products {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) !important;
		gap: 10px !important;
	}

	body:is(.woocommerce-shop, .post-type-archive-product, .tax-product_cat) .order-lub-shop-content ul.products li.product:is(.product),
	body:is(.woocommerce-shop, .post-type-archive-product, .tax-product_cat) .order-lub-shop-content ul.products li.product:has(.order-lub-loop-qty-control),
	body:is(.woocommerce-shop, .post-type-archive-product, .tax-product_cat) .order-lub-shop-content ul.products li.product:has(.order-lub-favorite-toggle) {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) auto !important;
		grid-template-rows: auto !important;
		grid-template-areas:
			"name favorite"
			"spec spec"
			"price price"
			"quantity button" !important;
		gap: 12px 16px !important;
		width: 100% !important;
		min-width: 0 !important;
		max-width: 100% !important;
		height: auto !important;
		min-height: 0 !important;
		padding: 18px !important;
		box-sizing: border-box !important;
	}

	body:is(.woocommerce-shop, .post-type-archive-product, .tax-product_cat) .order-lub-shop-content .woocommerce-loop-product__title {
		grid-area: name !important;
		grid-column: auto !important;
		min-width: 0 !important;
		overflow-wrap: anywhere !important;
	}

	.order-lub-shop-content .order-lub-loop-product-spec {
		grid-area: spec !important;
		grid-column: auto !important;
		width: 100% !important;
		max-width: 100% !important;
	}

	body:is(.woocommerce-shop, .post-type-archive-product, .tax-product_cat) .order-lub-shop-content ul.products li.product .price,
	.order-lub-shop-content ul.products li.product .order-lub-login-price-note {
		grid-area: price !important;
		grid-column: auto !important;
		text-align: left !important;
	}

	.order-lub-shop-content ul.products li.product .order-lub-favorite-toggle {
		grid-area: favorite !important;
		grid-column: auto !important;
		justify-self: end !important;
	}

	.order-lub-shop-content ul.products li.product .order-lub-loop-qty-control {
		grid-area: quantity !important;
		grid-column: auto !important;
		grid-row: auto !important;
	}

	body:is(.woocommerce-shop, .post-type-archive-product, .tax-product_cat) .order-lub-shop-content ul.products li.product .button,
	body:is(.woocommerce-shop, .post-type-archive-product, .tax-product_cat) .order-lub-shop-content ul.products li.product .order-lub-login-required-button {
		grid-area: button !important;
		grid-column: auto !important;
		grid-row: auto !important;
		width: 150px !important;
		min-width: 0 !important;
		max-width: 100% !important;
	}
}

/* shopページでは「商品一覧」の重複見出しを表示しない。 */
body.woocommerce-shop .page-title,
body.post-type-archive-product .page-title {
	display: none !important;
}

/* Lightning / WordPress標準のサイドバー類を非表示
※ 商品一覧用の独自カテゴリサイドバーは表示 */
body.woocommerce-shop .sub-section,
body.woocommerce-shop .subSection,
body.woocommerce-shop .side-section,
body.woocommerce-shop .sideSection,
body.woocommerce-shop aside:not(.order-lub-shop-sidebar),
body.post-type-archive-product .sub-section,
body.post-type-archive-product .subSection,
body.post-type-archive-product .side-section,
body.post-type-archive-product .sideSection,
body.post-type-archive-product aside:not(.order-lub-shop-sidebar),
body.tax-product_cat .sub-section,
body.tax-product_cat .subSection,
body.tax-product_cat .side-section,
body.tax-product_cat .sideSection,
body.tax-product_cat aside:not(.order-lub-shop-sidebar) {
display: none !important;
}

body.woocommerce-shop aside.order-lub-shop-sidebar,
body.post-type-archive-product aside.order-lub-shop-sidebar,
body.tax-product_cat aside.order-lub-shop-sidebar {
display: block !important;
}

/* ===================================================
01-2. /shop/ 商品絞り込み
=================================================== */

.order-lub-shop-filter {
	clear: both;
	margin: 0 0 24px;
	padding: 18px 20px 20px;
	border: 1px solid #d9e3ec;
	border-radius: 10px;
	background: #f7f9fc;
	box-sizing: border-box;
}

.order-lub-shop-filter__title {
	margin: 0 0 7px;
	color: #0f2945;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.4;
}

.order-lub-shop-filter__description {
	margin: 0 0 15px;
	color: #314a60;
	font-size: 13px;
	line-height: 1.7;
}

.order-lub-shop-filter__description p {
	margin: 0;
}

.order-lub-shop-filter__description-note {
	color: #718194;
}

.order-lub-shop-filter__description-mobile {
	display: none;
}

.order-lub-shop-filter__form {
	display: grid;
	grid-template-columns: minmax(170px, 0.8fr) minmax(240px, 1.2fr) auto;
	gap: 14px;
	align-items: end;
}

.order-lub-shop-filter__field {
	display: grid;
	gap: 6px;
	margin: 0;
	color: #24384c;
	font-size: 13px;
	font-weight: 700;
}

.order-lub-shop-filter__field select {
	width: 100%;
	height: 44px;
	margin: 0;
	padding: 0 38px 0 12px;
	border: 1px solid #b8c6d2;
	border-radius: 5px;
	background-color: #fff;
	color: #172b3d;
	font-size: 15px;
	box-sizing: border-box;
}

.order-lub-shop-filter__field select:focus {
	border-color: #2978c7;
	outline: 2px solid rgba(41, 120, 199, 0.2);
	outline-offset: 1px;
}

.order-lub-shop-filter__actions {
	display: flex;
	gap: 10px;
	align-items: center;
	min-height: 44px;
}

.order-lub-shop-filter__submit,
.order-lub-shop-filter__reset {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 18px;
	border-radius: 5px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none !important;
	white-space: nowrap;
	box-sizing: border-box;
}

.order-lub-shop-filter__submit {
	border: 1px solid #69a726;
	background: #7fbe35;
	color: #fff;
	cursor: pointer;
}

.order-lub-shop-filter__submit:hover,
.order-lub-shop-filter__submit:focus {
	border-color: #568f19;
	background: #69a726;
	color: #fff;
}

.order-lub-shop-filter__reset {
	border: 1px solid #aebdca;
	background: #fff;
	color: #314a60;
}

.order-lub-shop-filter__reset:hover,
.order-lub-shop-filter__reset:focus {
	border-color: #71879a;
	background: #eef3f7;
	color: #172b3d;
}

.order-lub-shop-content--empty {
	margin-top: 24px;
}

@media (max-width: 1100px) {
	.order-lub-shop-filter__form {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.order-lub-shop-filter__actions {
		grid-column: 1 / -1;
	}
}

@media (max-width: 640px) {
	.order-lub-shop-filter {
		padding: 16px;
	}

	.order-lub-shop-filter__form {
		grid-template-columns: 1fr;
	}

	.order-lub-shop-filter__actions {
		grid-column: auto;
		align-items: stretch;
	}

	.order-lub-shop-filter__submit,
	.order-lub-shop-filter__reset {
		flex: 1 1 0;
		padding-right: 12px;
		padding-left: 12px;
	}
}

/* ===================================================
02. PC：親コンテナ・レイアウト
=================================================== */

@media (min-width: 901px) {

/* Lightning側の親コンテナ幅 */
body.woocommerce-shop .site-body-container.container,
body.woocommerce-shop .site-body-container,
body.woocommerce-shop .siteContent .container,
body.woocommerce-shop .siteContent,
body.woocommerce-shop .main-section,
body.woocommerce-shop .mainSection,
body.woocommerce-shop .entry-body,
body.post-type-archive-product .site-body-container.container,
body.post-type-archive-product .site-body-container,
body.post-type-archive-product .siteContent .container,
body.post-type-archive-product .siteContent,
body.post-type-archive-product .main-section,
body.post-type-archive-product .mainSection,
body.post-type-archive-product .entry-body,
body.tax-product_cat .site-body-container.container,
body.tax-product_cat .site-body-container,
body.tax-product_cat .siteContent .container,
body.tax-product_cat .siteContent,
body.tax-product_cat .main-section,
body.tax-product_cat .mainSection,
body.tax-product_cat .entry-body {
	width: min(1600px, calc(100vw - 40px)) !important;
	max-width: 1600px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	float: none !important;
	box-sizing: border-box !important;
}

/* 商品一覧レイアウト全体 */
body.woocommerce-shop .order-lub-shop-layout,
body.post-type-archive-product .order-lub-shop-layout,
body.tax-product_cat .order-lub-shop-layout {
	width: 100% !important;
	max-width: none !important;
	margin: 24px 0 0 !important;
	box-sizing: border-box !important;
}

/* 左カテゴリ + 商品一覧 */
body.woocommerce-shop .order-lub-shop-layout--has-sidebar,
body.post-type-archive-product .order-lub-shop-layout--has-sidebar,
body.tax-product_cat .order-lub-shop-layout--has-sidebar {
	display: grid !important;
	grid-template-columns: 220px minmax(0, 1fr) !important;
	gap: 28px !important;
	align-items: start !important;
}

/* サイドバーなしの場合 */
body.woocommerce-shop .order-lub-shop-layout:not(.order-lub-shop-layout--has-sidebar),
body.post-type-archive-product .order-lub-shop-layout:not(.order-lub-shop-layout--has-sidebar),
body.tax-product_cat .order-lub-shop-layout:not(.order-lub-shop-layout--has-sidebar) {
	display: block !important;
}

}

/* ===================================================
03. 左カテゴリサイドバー
=================================================== */

.order-lub-shop-sidebar {
background: #fff;
border-radius: 10px;
padding: 18px;
box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
box-sizing: border-box;
position: sticky;
top: 92px;
}

@media (min-width: 901px) {
body.woocommerce-shop .order-lub-shop-layout--has-sidebar > .order-lub-shop-sidebar,
body.post-type-archive-product .order-lub-shop-layout--has-sidebar > .order-lub-shop-sidebar,
body.tax-product_cat .order-lub-shop-layout--has-sidebar > .order-lub-shop-sidebar {
grid-column: 1 !important;
grid-row: 1 !important;
width: 220px !important;
max-width: 220px !important;
margin: 0 !important;
}
}

.order-lub-shop-sidebar__title {
margin: 0 0 18px;
padding-left: 12px;
border-left: 4px solid #14823b;
color: #111;
font-size: 15px;
font-weight: 700;
line-height: 1.4;
}

/* PCは従来のカテゴリ一覧、SPはプルダウンを使用する。 */
.order-lub-shop-category-select-wrap {
	display: none;
}

.order-lub-cat-list,
.order-lub-cat-children {
list-style: none;
margin: 0;
padding: 0;
}

.order-lub-cat-item {
border-bottom: 1px solid #e5e5e5;
}

.order-lub-cat-row {
display: flex;
align-items: center;
justify-content: space-between;
gap: 10px;
min-height: 48px;
}

.order-lub-cat-link {
display: block;
flex: 1;
color: #111;
font-size: 15px;
font-weight: 700;
text-decoration: none;
}

.order-lub-cat-link:hover {
color: #14823b;
text-decoration: none;
}

.order-lub-cat-toggle {
width: 30px;
height: 30px;
padding: 0;
border: none;
background: transparent;
color: #111;
font-size: 24px;
font-weight: 400;
line-height: 1;
cursor: pointer;
}

.order-lub-cat-children {
display: none;
padding: 0 0 12px 12px;
}

.order-lub-cat-item.is-open > .order-lub-cat-children {
display: block;
}

.order-lub-cat-child a {
display: block;
padding: 7px 0 7px 10px;
border-left: 2px solid #e5e5e5;
color: #333;
font-size: 14px;
text-decoration: none;
}

.order-lub-cat-child a:hover {
border-left-color: #14823b;
color: #14823b;
text-decoration: none;
}

.order-lub-cat-item.is-current > .order-lub-cat-row .order-lub-cat-link,
.order-lub-cat-child.is-current a {
color: #14823b;
font-weight: 700;
}

/* ===================================================
04. 商品一覧カード
=================================================== */

body.woocommerce-shop .order-lub-shop-content,
body.post-type-archive-product .order-lub-shop-content,
body.tax-product_cat .order-lub-shop-content {
width: 100% !important;
max-width: none !important;
min-width: 0 !important;
margin: 0 !important;
padding: 28px !important;
background: #fff !important;
border: 1px solid #e5edf3 !important;
border-radius: 20px !important;
box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08) !important;
box-sizing: border-box !important;
display: flow-root !important;
}

@media (min-width: 901px) {
body.woocommerce-shop .order-lub-shop-layout--has-sidebar > .order-lub-shop-content,
body.post-type-archive-product .order-lub-shop-layout--has-sidebar > .order-lub-shop-content,
body.tax-product_cat .order-lub-shop-layout--has-sidebar > .order-lub-shop-content {
grid-column: 2 !important;
grid-row: 1 !important;
}
}

/* ===================================================
05. 件数表示・並び替え
=================================================== */

body.woocommerce-shop .order-lub-shop-content .woocommerce-result-count,
body.post-type-archive-product .order-lub-shop-content .woocommerce-result-count,
body.tax-product_cat .order-lub-shop-content .woocommerce-result-count {
float: left !important;
margin: 0 0 24px !important;
color: #263442 !important;
font-weight: 600 !important;
}

body.woocommerce-shop .order-lub-shop-content .woocommerce-ordering,
body.post-type-archive-product .order-lub-shop-content .woocommerce-ordering,
body.tax-product_cat .order-lub-shop-content .woocommerce-ordering {
float: right !important;
margin: 0 0 24px !important;
}

body.woocommerce-shop .order-lub-shop-content .woocommerce-ordering select,
body.post-type-archive-product .order-lub-shop-content .woocommerce-ordering select,
body.tax-product_cat .order-lub-shop-content .woocommerce-ordering select {
min-height: 42px;
padding: 0 40px 0 14px;
border: 1px solid #ccd6dd;
border-radius: 6px;
background: #fff;
}

/* ===================================================
06. 商品一覧グリッド
=================================================== */

body.woocommerce-shop .order-lub-shop-content ul.products::before,
body.woocommerce-shop .order-lub-shop-content ul.products::after,
body.post-type-archive-product .order-lub-shop-content ul.products::before,
body.post-type-archive-product .order-lub-shop-content ul.products::after,
body.tax-product_cat .order-lub-shop-content ul.products::before,
body.tax-product_cat .order-lub-shop-content ul.products::after {
content: none !important;
display: none !important;
}

body.woocommerce-shop .order-lub-shop-content ul.products,
body.post-type-archive-product .order-lub-shop-content ul.products,
body.tax-product_cat .order-lub-shop-content ul.products {
clear: both !important;
width: 100% !important;
max-width: none !important;
display: grid !important;
grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
gap: 24px !important;
margin: 0 !important;
padding: 0 !important;
align-items: stretch !important;
box-sizing: border-box !important;
}

/* ===================================================
07. 商品カード
=================================================== */

body.woocommerce-shop .order-lub-shop-content ul.products li.product,
body.post-type-archive-product .order-lub-shop-content ul.products li.product,
body.tax-product_cat .order-lub-shop-content ul.products li.product,
body.woocommerce-shop .order-lub-shop-content ul.products li.product.first,
body.woocommerce-shop .order-lub-shop-content ul.products li.product.last,
body.post-type-archive-product .order-lub-shop-content ul.products li.product.first,
body.post-type-archive-product .order-lub-shop-content ul.products li.product.last,
body.tax-product_cat .order-lub-shop-content ul.products li.product.first,
body.tax-product_cat .order-lub-shop-content ul.products li.product.last {
float: none !important;
clear: none !important;
width: auto !important;
max-width: 100% !important;
min-width: 0 !important;
margin: 0 !important;
padding: 0 !important;
list-style: none !important;
position: relative !important;
box-sizing: border-box !important;
overflow: hidden !important;
}

@media (min-width: 769px) {
body.woocommerce-shop .order-lub-shop-content ul.products li.product,
body.post-type-archive-product .order-lub-shop-content ul.products li.product,
body.tax-product_cat .order-lub-shop-content ul.products li.product {
display: grid !important;
grid-template-rows: 235px 54px 44px 46px !important;
row-gap: 10px !important;
min-height: 409px !important;
}
}

body.woocommerce-shop .order-lub-shop-content ul.products li.product a.woocommerce-LoopProduct-link,
body.post-type-archive-product .order-lub-shop-content ul.products li.product a.woocommerce-LoopProduct-link,
body.tax-product_cat .order-lub-shop-content ul.products li.product a.woocommerce-LoopProduct-link {
display: contents !important;
color: inherit !important;
text-decoration: none !important;
}

/* ===================================================
08. 商品画像
=================================================== */

body.woocommerce-shop .order-lub-shop-content ul.products li.product a img,
body.post-type-archive-product .order-lub-shop-content ul.products li.product a img,
body.tax-product_cat .order-lub-shop-content ul.products li.product a img {
grid-row: 1 !important;
width: 100% !important;
max-width: 235px !important;
height: 235px !important;
min-height: 235px !important;
max-height: 235px !important;
object-fit: contain !important;
background: #f8fafc !important;
border-radius: 14px !important;
margin: 0 auto !important;
display: block !important;
box-sizing: border-box !important;
}

/* ===================================================
09. 商品名
=================================================== */

body.woocommerce-shop .order-lub-shop-content .woocommerce-loop-product__title,
body.post-type-archive-product .order-lub-shop-content .woocommerce-loop-product__title,
body.tax-product_cat .order-lub-shop-content .woocommerce-loop-product__title {
grid-row: 2 !important;
height: 54px !important;
min-height: 54px !important;
max-height: 54px !important;
margin: 0 !important;
padding: 0 !important;
color: #14213d !important;
font-size: 16px !important;
font-weight: 800 !important;
line-height: 1.55 !important;
display: -webkit-box !important;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden !important;
}

/* ===================================================
10. 価格
=================================================== */

body.woocommerce-shop .order-lub-shop-content ul.products li.product .price,
body.post-type-archive-product .order-lub-shop-content ul.products li.product .price,
body.tax-product_cat .order-lub-shop-content ul.products li.product .price {
grid-row: 3 !important;
width: 100% !important;
max-width: 100% !important;
min-width: 0 !important;
height: 44px !important;
min-height: 44px !important;
max-height: 44px !important;
display: flex !important;
flex-direction: row !important;
align-items: baseline !important;
justify-content: flex-start !important;
gap: 8px !important;
flex-wrap: nowrap !important;
margin: 0 !important;
padding: 0 !important;
overflow: hidden !important;
white-space: nowrap !important;
box-sizing: border-box !important;
position: static !important;
}

body.woocommerce-shop .order-lub-shop-content ul.products li.product .price ins,
body.post-type-archive-product .order-lub-shop-content ul.products li.product .price ins,
body.tax-product_cat .order-lub-shop-content ul.products li.product .price ins {
order: 1 !important;
display: inline-flex !important;
min-width: 0 !important;
max-width: 100% !important;
margin: 0 !important;
padding: 0 !important;
text-decoration: none !important;
overflow: hidden !important;
}

body.woocommerce-shop .order-lub-shop-content ul.products li.product .price del,
body.post-type-archive-product .order-lub-shop-content ul.products li.product .price del,
body.tax-product_cat .order-lub-shop-content ul.products li.product .price del {
order: 2 !important;
display: inline-flex !important;
flex-shrink: 0 !important;
align-items: baseline !important;
margin: 0 !important;
padding: 0 !important;
color: #777 !important;
text-decoration: line-through !important;
opacity: 1 !important;
}

body.woocommerce-shop .order-lub-shop-content ul.products li.product .price > .woocommerce-Price-amount.amount,
body.post-type-archive-product .order-lub-shop-content ul.products li.product .price > .woocommerce-Price-amount.amount,
body.tax-product_cat .order-lub-shop-content ul.products li.product .price > .woocommerce-Price-amount.amount,
body.woocommerce-shop .order-lub-shop-content ul.products li.product .price ins .woocommerce-Price-amount.amount,
body.post-type-archive-product .order-lub-shop-content ul.products li.product .price ins .woocommerce-Price-amount.amount,
body.tax-product_cat .order-lub-shop-content ul.products li.product .price ins .woocommerce-Price-amount.amount,
body.woocommerce-shop .order-lub-shop-content .woocommerce-Price-amount.amount,
body.post-type-archive-product .order-lub-shop-content .woocommerce-Price-amount.amount,
body.tax-product_cat .order-lub-shop-content .woocommerce-Price-amount.amount {
font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif !important;
font-size: 21px !important;
line-height: 1.35 !important;
font-weight: 800 !important;
color: #C10015 !important;
min-width: 0 !important;
max-width: 100% !important;
overflow: hidden !important;
text-overflow: ellipsis !important;
white-space: nowrap !important;
}

body.woocommerce-shop .order-lub-shop-content ul.products li.product .price del .woocommerce-Price-amount.amount,
body.post-type-archive-product .order-lub-shop-content ul.products li.product .price del .woocommerce-Price-amount.amount,
body.tax-product_cat .order-lub-shop-content ul.products li.product .price del .woocommerce-Price-amount.amount {
font-size: 13px !important;
line-height: 1.35 !important;
font-weight: 400 !important;
color: #777 !important;
}

body.woocommerce-shop .order-lub-shop-content ul.products li.product .price .screen-reader-text,
body.post-type-archive-product .order-lub-shop-content ul.products li.product .price .screen-reader-text,
body.tax-product_cat .order-lub-shop-content ul.products li.product .price .screen-reader-text {
position: absolute !important;
width: 1px !important;
height: 1px !important;
padding: 0 !important;
margin: -1px !important;
overflow: hidden !important;
clip: rect(0, 0, 0, 0) !important;
white-space: nowrap !important;
border: 0 !important;
}

/* ===================================================
11. 商品一覧ボタン
=================================================== */

body.woocommerce-shop .order-lub-shop-content ul.products li.product .button,
body.post-type-archive-product .order-lub-shop-content ul.products li.product .button,
body.tax-product_cat .order-lub-shop-content ul.products li.product .button,
body.woocommerce-shop .order-lub-shop-content ul.products li.product .order-lub-login-required-button,
body.post-type-archive-product .order-lub-shop-content ul.products li.product .order-lub-login-required-button,
body.tax-product_cat .order-lub-shop-content ul.products li.product .order-lub-login-required-button {
grid-row: 4 !important;
width: 100% !important;
max-width: 100% !important;
height: 46px !important;
min-height: 46px !important;
max-height: 46px !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
margin: 0 !important;
padding: 0 12px !important;
background: #1e73be !important;
border: none !important;
border-radius: 6px !important;
color: #fff !important;
font-size: 13px !important;
font-weight: 800 !important;
line-height: 1.3 !important;
text-align: center !important;
text-decoration: none !important;
box-sizing: border-box !important;
box-shadow: none !important;
position: static !important;
clear: none !important;
}

body.woocommerce-shop .order-lub-shop-content ul.products li.product .button:hover,
body.post-type-archive-product .order-lub-shop-content ul.products li.product .button:hover,
body.tax-product_cat .order-lub-shop-content ul.products li.product .button:hover,
body.woocommerce-shop .order-lub-shop-content ul.products li.product .order-lub-login-required-button:hover,
body.post-type-archive-product .order-lub-shop-content ul.products li.product .order-lub-login-required-button:hover,
body.tax-product_cat .order-lub-shop-content ul.products li.product .order-lub-login-required-button:hover {
background: #005691 !important;
color: #fff !important;
text-decoration: none !important;
}

/* ===================================================
12. 割引バッジ
=================================================== */

body.woocommerce-shop .order-lub-shop-content span.onsale,
body.post-type-archive-product .order-lub-shop-content span.onsale,
body.tax-product_cat .order-lub-shop-content span.onsale {
position: absolute !important;
top: 10px !important;
left: 0 !important;
right: auto !important;
z-index: 5 !important;
display: inline-flex !important;
align-items: center !important;
justify-content: center !important;
min-width: 44px !important;
height: 22px !important;
min-height: 22px !important;
padding: 0 9px !important;
background: #b94a48 !important;
color: #fff !important;
border: none !important;
border-radius: 0 4px 4px 0 !important;
font-size: 11px !important;
font-weight: 800 !important;
line-height: 1 !important;
text-align: center !important;
box-sizing: border-box !important;
}

/* ===================================================
13. 未ログイン時：ログインボタン
=================================================== */

.order-lub-login-required-button {
display: inline-flex !important;
align-items: center;
justify-content: center;
width: 100%;
min-height: 40px;
padding: 10px 14px !important;
background: #6b7280 !important;
border: 1px solid #5f6672 !important;
border-radius: 6px !important;
color: #fff !important;
font-size: 13px !important;
font-weight: 700 !important;
line-height: 1.3 !important;
text-align: center !important;
text-decoration: none !important;
cursor: pointer !important;
pointer-events: auto !important;
box-shadow: none !important;
box-sizing: border-box !important;
}

.order-lub-login-required-button:hover {
background: #4b5563 !important;
color: #fff !important;
text-decoration: none !important;
}

.order-lub-login-required-area {
margin-top: 24px;
}

.order-lub-login-required-note {
margin: 10px 0 0;
color: #6b7280;
font-size: 13px;
line-height: 1.6;
}

/* 未ログイン時：商品名とログインボタンの間に価格案内を表示 */
.order-lub-login-price-note {
	display: flex !important;
	align-items: center !important;
	width: 100% !important;
	min-height: 28px !important;
	margin: 0 !important;
	padding: 0 !important;
	color: #6b7280 !important;
	font-size: 12px !important;
	font-weight: 600 !important;
	line-height: 1.4 !important;
	box-sizing: border-box !important;
}

.order-lub-shop-content ul.products li.product .order-lub-login-price-note {
	grid-row: 3 !important;
	align-self: center !important;
}

/* ===================================================
14. レスポンシブ：タブレット
=================================================== */

@media (max-width: 1200px) {
body.woocommerce-shop .order-lub-shop-content ul.products,
body.post-type-archive-product .order-lub-shop-content ul.products,
body.tax-product_cat .order-lub-shop-content ul.products {
grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}
}

@media (max-width: 900px) {
body.woocommerce-shop .order-lub-shop-content ul.products,
body.post-type-archive-product .order-lub-shop-content ul.products,
body.tax-product_cat .order-lub-shop-content ul.products {
grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}
}

/* ===================================================
15. SP：商品一覧・商品カテゴリ
=================================================== */

@media (max-width: 768px) {

body.woocommerce-shop,
body.post-type-archive-product,
body.tax-product_cat {
	background: #fff !important;
	padding-top: 66px !important;
	padding-bottom: 84px !important;
}

body.woocommerce-shop .site-body-container.container,
body.woocommerce-shop .site-body-container,
body.woocommerce-shop .siteContent .container,
body.woocommerce-shop .siteContent,
body.woocommerce-shop .main-section,
body.woocommerce-shop .mainSection,
body.woocommerce-shop .entry-body,
body.post-type-archive-product .site-body-container.container,
body.post-type-archive-product .site-body-container,
body.post-type-archive-product .siteContent .container,
body.post-type-archive-product .siteContent,
body.post-type-archive-product .main-section,
body.post-type-archive-product .mainSection,
body.post-type-archive-product .entry-body,
body.tax-product_cat .site-body-container.container,
body.tax-product_cat .site-body-container,
body.tax-product_cat .siteContent .container,
body.tax-product_cat .siteContent,
body.tax-product_cat .main-section,
body.tax-product_cat .mainSection,
body.tax-product_cat .entry-body {
	width: min(100% - 20px, 1300px) !important;
	max-width: none !important;
	margin-left: auto !important;
	margin-right: auto !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	box-sizing: border-box !important;
}

body.woocommerce-shop .order-lub-shop-layout,
body.post-type-archive-product .order-lub-shop-layout,
body.tax-product_cat .order-lub-shop-layout,
body.woocommerce-shop .order-lub-shop-layout--has-sidebar,
body.post-type-archive-product .order-lub-shop-layout--has-sidebar,
body.tax-product_cat .order-lub-shop-layout--has-sidebar {
	display: block !important;
	width: 100% !important;
	margin: 16px auto 0 !important;
}

body.woocommerce-shop aside.order-lub-shop-sidebar,
body.post-type-archive-product aside.order-lub-shop-sidebar,
body.tax-product_cat aside.order-lub-shop-sidebar {
	width: 100% !important;
	max-width: none !important;
	margin: 0 0 18px !important;
	padding: 16px !important;
	border: 1px solid #e5edf3 !important;
	border-radius: 12px !important;
	background: #fff !important;
	box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06) !important;
	position: static !important;
}

body.woocommerce-shop .order-lub-shop-sidebar__title,
body.post-type-archive-product .order-lub-shop-sidebar__title,
body.tax-product_cat .order-lub-shop-sidebar__title {
	margin: 0 0 12px !important;
}

body.woocommerce-shop .order-lub-shop-category-select-wrap,
body.post-type-archive-product .order-lub-shop-category-select-wrap,
body.tax-product_cat .order-lub-shop-category-select-wrap {
	display: block !important;
}

body.woocommerce-shop .order-lub-shop-category-select,
body.post-type-archive-product .order-lub-shop-category-select,
body.tax-product_cat .order-lub-shop-category-select {
	display: block !important;
	width: 100% !important;
	height: 46px !important;
	min-height: 46px !important;
	margin: 0 !important;
	padding: 0 42px 0 14px !important;
	border: 1px solid rgb(204, 204, 204) !important;
	border-radius: 9px !important;
	background-color: #fff !important;
	color: #111 !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	line-height: 1.4 !important;
	box-shadow: none !important;
	box-sizing: border-box !important;
}

body.woocommerce-shop .order-lub-cat-list,
body.post-type-archive-product .order-lub-cat-list,
body.tax-product_cat .order-lub-cat-list {
	display: none !important;
}

body.woocommerce-shop .order-lub-shop-content,
body.post-type-archive-product .order-lub-shop-content,
body.tax-product_cat .order-lub-shop-content,
body.woocommerce-shop .order-lub-content-card,
body.post-type-archive-product .order-lub-content-card,
body.tax-product_cat .order-lub-content-card {
	background: #fff !important;
	border: none !important;
	box-shadow: none !important;
	border-radius: 0 !important;
	padding: 0 !important;
	margin: 0 auto !important;
}

body.woocommerce-shop .order-lub-shop-content .woocommerce-result-count,
body.post-type-archive-product .order-lub-shop-content .woocommerce-result-count,
body.tax-product_cat .order-lub-shop-content .woocommerce-result-count {
	display: none !important;
}

body.woocommerce-shop .order-lub-shop-content .woocommerce-ordering,
body.post-type-archive-product .order-lub-shop-content .woocommerce-ordering,
body.tax-product_cat .order-lub-shop-content .woocommerce-ordering {
	float: none !important;
	display: block !important;
	width: 100% !important;
	margin: 0 0 14px !important;
}

body.woocommerce-shop .order-lub-shop-content .woocommerce-ordering select,
body.post-type-archive-product .order-lub-shop-content .woocommerce-ordering select,
body.tax-product_cat .order-lub-shop-content .woocommerce-ordering select {
	width: 100% !important;
	height: 42px !important;
	min-height: 42px !important;
	padding: 0 14px !important;
	border: 1px solid #d5d9d9 !important;
	border-radius: 8px !important;
	background: #fff !important;
	color: #111 !important;
	font-size: 14px !important;
	box-sizing: border-box !important;
}

body.woocommerce-shop .order-lub-shop-content ul.products,
body.post-type-archive-product .order-lub-shop-content ul.products,
body.tax-product_cat .order-lub-shop-content ul.products {
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: 14px 10px !important;
	margin: 0 0 84px !important;
}

body.woocommerce-shop .order-lub-shop-content ul.products li.product,
body.post-type-archive-product .order-lub-shop-content ul.products li.product,
body.tax-product_cat .order-lub-shop-content ul.products li.product,
body.woocommerce-shop .order-lub-shop-content ul.products li.product.first,
body.woocommerce-shop .order-lub-shop-content ul.products li.product.last,
body.post-type-archive-product .order-lub-shop-content ul.products li.product.first,
body.post-type-archive-product .order-lub-shop-content ul.products li.product.last,
body.tax-product_cat .order-lub-shop-content ul.products li.product.first,
body.tax-product_cat .order-lub-shop-content ul.products li.product.last {
	height: 315px !important;
	min-height: 315px !important;
	max-height: 315px !important;
	display: grid !important;
	grid-template-rows: 150px 46px 34px 40px !important;
	row-gap: 8px !important;
	padding: 10px !important;
	background: #fff !important;
	border: 1px solid #e7e7e7 !important;
	border-radius: 10px !important;
	box-shadow: none !important;
	overflow: hidden !important;
}

body.woocommerce-shop .order-lub-shop-content ul.products li.product a img,
body.post-type-archive-product .order-lub-shop-content ul.products li.product a img,
body.tax-product_cat .order-lub-shop-content ul.products li.product a img {
	width: 100% !important;
	max-width: 100% !important;
	height: 150px !important;
	min-height: 150px !important;
	max-height: 150px !important;
	padding: 8px !important;
	border-radius: 8px !important;
	margin: 0 !important;
	background: #f7f8f8 !important;
}

body.woocommerce-shop .order-lub-shop-content .woocommerce-loop-product__title,
body.post-type-archive-product .order-lub-shop-content .woocommerce-loop-product__title,
body.tax-product_cat .order-lub-shop-content .woocommerce-loop-product__title {
	height: 46px !important;
	min-height: 46px !important;
	max-height: 46px !important;
	color: #111 !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	line-height: 1.45 !important;
}

body.woocommerce-shop .order-lub-shop-content ul.products li.product .price,
body.post-type-archive-product .order-lub-shop-content ul.products li.product .price,
body.tax-product_cat .order-lub-shop-content ul.products li.product .price {
	height: 34px !important;
	min-height: 34px !important;
	max-height: 34px !important;
	font-size: 14px !important;
	line-height: 17px !important;
	gap: 4px !important;
}

body.woocommerce-shop .order-lub-shop-content ul.products li.product .price > .woocommerce-Price-amount.amount,
body.post-type-archive-product .order-lub-shop-content ul.products li.product .price > .woocommerce-Price-amount.amount,
body.tax-product_cat .order-lub-shop-content ul.products li.product .price > .woocommerce-Price-amount.amount,
body.woocommerce-shop .order-lub-shop-content ul.products li.product .price ins .woocommerce-Price-amount.amount,
body.post-type-archive-product .order-lub-shop-content ul.products li.product .price ins .woocommerce-Price-amount.amount,
body.tax-product_cat .order-lub-shop-content ul.products li.product .price ins .woocommerce-Price-amount.amount {
	font-size: 14px !important;
}

body.woocommerce-shop .order-lub-shop-content ul.products li.product .price del .woocommerce-Price-amount.amount,
body.post-type-archive-product .order-lub-shop-content ul.products li.product .price del .woocommerce-Price-amount.amount,
body.tax-product_cat .order-lub-shop-content ul.products li.product .price del .woocommerce-Price-amount.amount {
	font-size: 11px !important;
}

body.woocommerce-shop .order-lub-shop-content ul.products li.product .button,
body.post-type-archive-product .order-lub-shop-content ul.products li.product .button,
body.tax-product_cat .order-lub-shop-content ul.products li.product .button,
body.woocommerce-shop .order-lub-shop-content ul.products li.product .order-lub-login-required-button,
body.post-type-archive-product .order-lub-shop-content ul.products li.product .order-lub-login-required-button,
body.tax-product_cat .order-lub-shop-content ul.products li.product .order-lub-login-required-button {
	height: 40px !important;
	min-height: 40px !important;
	max-height: 40px !important;
	padding: 0 6px !important;
	font-size: 11px !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	border-radius: 6px !important;
	white-space: normal !important;
}

body.woocommerce-shop .order-lub-shop-content ul.products li.product .added_to_cart,
body.post-type-archive-product .order-lub-shop-content ul.products li.product .added_to_cart,
body.tax-product_cat .order-lub-shop-content ul.products li.product .added_to_cart {
	display: none !important;
}

body.woocommerce-shop .order-lub-shop-content span.onsale,
body.post-type-archive-product .order-lub-shop-content span.onsale,
body.tax-product_cat .order-lub-shop-content span.onsale {
	top: 8px !important;
	left: 0 !important;
	right: auto !important;
	min-width: 40px !important;
	height: 21px !important;
	min-height: 21px !important;
	padding: 0 8px !important;
	font-size: 10px !important;
}

}

@media (max-width: 360px) {
body.woocommerce-shop .order-lub-shop-content ul.products,
body.post-type-archive-product .order-lub-shop-content ul.products,
body.tax-product_cat .order-lub-shop-content ul.products {
grid-template-columns: 1fr !important;
}
}

/* ===================================================
16. SP：商品一覧ページの検索バーを上部追従
=================================================== */

@media (max-width: 768px) {

body.woocommerce-shop #site-header,
body.post-type-archive-product #site-header,
body.tax-product_cat #site-header {
	position: fixed !important;
	top: 0;
	left: 0;
	right: 0;
	z-index: 9998;
	height: auto !important;
	padding: 10px 12px !important;
	background: #fff !important;
	border-bottom: 1px solid #e5edf3;
	box-shadow: 0 3px 12px rgba(15, 23, 42, 0.08);
	box-sizing: border-box;
}

body.woocommerce-shop .site-header-logo,
body.post-type-archive-product .site-header-logo,
body.tax-product_cat .site-header-logo,
body.woocommerce-shop .site-header-logo a,
body.post-type-archive-product .site-header-logo a,
body.tax-product_cat .site-header-logo a {
	display: none !important;
}

body.woocommerce-shop #site-header-container,
body.post-type-archive-product #site-header-container,
body.tax-product_cat #site-header-container {
	width: 100% !important;
	max-width: 100% !important;
	display: block !important;
	padding: 0 !important;
	margin: 0 !important;
}

body.woocommerce-shop .header-search-form,
body.post-type-archive-product .header-search-form,
body.tax-product_cat .header-search-form {
	width: 100% !important;
	display: block !important;
}

body.woocommerce-shop .header-search-inner,
body.post-type-archive-product .header-search-inner,
body.tax-product_cat .header-search-inner {
	width: 100% !important;
	max-width: 100% !important;
	height: 44px !important;
	border-radius: 24px !important;
}

body.woocommerce-shop .header-actions,
body.post-type-archive-product .header-actions,
body.tax-product_cat .header-actions {
	position: fixed !important;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 9999;
}

}

/* ===================================================
17. 商品詳細：数量 + / - ボタン
=================================================== */

.single-product form.cart {
display: flex !important;
align-items: center !important;
gap: 12px !important;
flex-wrap: wrap !important;
margin-top: 14px !important;
}

.single-product form.cart .order-lub-qty-control {
display: inline-flex !important;
align-items: center !important;
width: auto !important;
height: 38px !important;
margin: 0 !important;
padding: 0 !important;
box-sizing: border-box !important;
}

.single-product form.cart .order-lub-qty-btn {
width: 36px !important;
height: 38px !important;
min-width: 36px !important;
min-height: 38px !important;
display: inline-flex !important;
align-items: center !important;
justify-content: center !important;
margin: 0 !important;
padding: 0 !important;
border: 1px solid #d5dde5 !important;
background: #f8fafc !important;
color: #14213d !important;
font-size: 18px !important;
font-weight: 800 !important;
line-height: 1 !important;
cursor: pointer !important;
box-shadow: none !important;
box-sizing: border-box !important;
}

.single-product form.cart .order-lub-qty-minus {
border-radius: 5px 0 0 5px !important;
border-right: none !important;
}

.single-product form.cart .order-lub-qty-plus {
border-radius: 0 5px 5px 0 !important;
border-left: none !important;
}

.single-product form.cart .order-lub-qty-btn:hover {
background: #eef5fb !important;
color: #005691 !important;
}

.single-product form.cart .quantity {
width: 48px !important;
min-width: 48px !important;
max-width: 48px !important;
height: 38px !important;
min-height: 38px !important;
max-height: 38px !important;
display: inline-flex !important;
align-items: center !important;
justify-content: center !important;
margin: 0 !important;
padding: 0 !important;
border: 1px solid #d5dde5 !important;
border-radius: 0 !important;
background: #fff !important;
box-sizing: border-box !important;
overflow: hidden !important;
}

.single-product form.cart .quantity input.qty,
.single-product form.cart input.qty {
width: 48px !important;
min-width: 48px !important;
max-width: 48px !important;
height: 38px !important;
min-height: 38px !important;
max-height: 38px !important;
margin: 0 !important;
padding: 0 !important;
border: none !important;
border-radius: 0 !important;
background: #fff !important;
box-shadow: none !important;
outline: none !important;
color: #111827 !important;
font-size: 15px !important;
font-weight: 700 !important;
line-height: 38px !important;
text-align: center !important;
box-sizing: border-box !important;
appearance: textfield !important;
-moz-appearance: textfield !important;
}

.single-product form.cart .quantity input.qty::-webkit-outer-spin-button,
.single-product form.cart .quantity input.qty::-webkit-inner-spin-button,
.single-product form.cart input.qty::-webkit-outer-spin-button,
.single-product form.cart input.qty::-webkit-inner-spin-button {
margin: 0 !important;
appearance: none !important;
-webkit-appearance: none !important;
}

.single-product form.cart .single_add_to_cart_button {
height: 38px !important;
min-height: 38px !important;
margin: 0 !important;
padding: 0 24px !important;
border-radius: 5px !important;
font-size: 14px !important;
font-weight: 800 !important;
line-height: 38px !important;
text-align: center !important;
white-space: nowrap !important;
box-sizing: border-box !important;
}

@media (max-width: 768px) {
.single-product form.cart {
display: block !important;
margin-top: 14px !important;
}

.single-product form.cart .order-lub-qty-control {
	margin: 0 0 10px !important;
}

.single-product form.cart .single_add_to_cart_button {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	max-width: 280px !important;
	height: 42px !important;
	min-height: 42px !important;
	margin: 0 !important;
	padding: 0 12px !important;
	font-size: 14px !important;
	font-weight: 800 !important;
	line-height: 1.2 !important;
	border-radius: 6px !important;
	white-space: nowrap !important;
}

}

/* ===================================================
18. 商品詳細：商品補足画像
=================================================== */

.single-product .order-lub-product-support-images {
width: 100%;
max-width: 980px;
margin: 48px auto 36px;
padding: 0;
box-sizing: border-box;
}

.single-product .order-lub-product-support-images__inner {
display: grid;
grid-template-columns: 1fr;
gap: 24px;
}

.single-product .order-lub-product-support-image {
width: 100%;
background: #fff;
border: 1px solid #e5edf3;
border-radius: 14px;
overflow: hidden;
box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
box-sizing: border-box;
}

.single-product .order-lub-product-support-image img {
width: 100%;
height: auto;
display: block;
object-fit: contain;
}

.single-product .order-lub-product-support-thumbs {
display: flex;
flex-wrap: wrap;
gap: 10px;
margin: 18px 0 0;
padding: 0;
}

.single-product .order-lub-product-support-thumb {
width: 68px;
height: 68px;
display: flex;
align-items: center;
justify-content: center;
margin: 0;
padding: 0;
background: #fff;
border: 1px solid #d5dde5;
border-radius: 8px;
overflow: hidden;
cursor: pointer;
box-shadow: 0 3px 10px rgba(15, 23, 42, 0.08);
box-sizing: border-box;
transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.single-product .order-lub-product-support-thumb:hover {
border-color: #005691;
box-shadow: 0 5px 16px rgba(15, 23, 42, 0.14);
transform: translateY(-1px);
}

.single-product .order-lub-product-support-thumb img {
width: 100%;
height: 100%;
display: block;
object-fit: cover;
}

@media (max-width: 768px) {
.single-product .order-lub-product-support-images {
width: min(100% - 24px, 980px);
margin: 36px auto 28px;
}

.single-product .order-lub-product-support-images__inner {
	gap: 18px;
}

.single-product .order-lub-product-support-image {
	border-radius: 10px;
}

.single-product .order-lub-product-support-thumbs {
	gap: 8px;
	margin-top: 14px;
}

.single-product .order-lub-product-support-thumb {
	width: 58px;
	height: 58px;
	border-radius: 7px;
}

}

/* ===================================================
19. 商品詳細：補足画像 拡大モーダル
=================================================== */

.order-lub-support-modal {
display: none;
position: fixed;
inset: 0;
z-index: 99999;
}

.order-lub-support-modal.is-active {
display: block;
}

.order-lub-support-modal__overlay {
position: absolute;
inset: 0;
background: rgba(0, 0, 0, 0.72);
}

.order-lub-support-modal__content {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: min(920px, calc(100% - 32px));
max-height: calc(100vh - 48px);
display: flex;
align-items: center;
justify-content: center;
background: #fff;
border-radius: 12px;
padding: 18px;
box-sizing: border-box;
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.order-lub-support-modal__content img {
width: auto;
max-width: 100%;
height: auto;
max-height: calc(100vh - 96px);
display: block;
object-fit: contain;
}

.order-lub-support-modal__close {
position: absolute;
top: -14px;
right: -14px;
width: 36px;
height: 36px;
display: flex;
align-items: center;
justify-content: center;
border: none;
border-radius: 50%;
background: #111827;
color: #fff;
font-size: 24px;
line-height: 1;
cursor: pointer;
box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
.order-lub-support-modal__content {
width: calc(100% - 24px);
padding: 12px;
border-radius: 10px;
}

.order-lub-support-modal__close {
	top: -12px;
	right: -8px;
	width: 34px;
	height: 34px;
	font-size: 22px;
}

}

/* ===================================================
20. 商品一覧：カタログ型デザイン
参考イメージに合わせたPC表示の最終上書き
=================================================== */

@media (min-width: 901px) {

body.woocommerce-shop,
body.post-type-archive-product,
body.tax-product_cat {
	background: #fff !important;
}

body.woocommerce-shop .site-body-container.container,
body.woocommerce-shop .site-body-container,
body.woocommerce-shop .siteContent .container,
body.woocommerce-shop .siteContent,
body.woocommerce-shop .main-section,
body.woocommerce-shop .mainSection,
body.woocommerce-shop .entry-body,
body.post-type-archive-product .site-body-container.container,
body.post-type-archive-product .site-body-container,
body.post-type-archive-product .siteContent .container,
body.post-type-archive-product .siteContent,
body.post-type-archive-product .main-section,
body.post-type-archive-product .mainSection,
body.post-type-archive-product .entry-body,
body.tax-product_cat .site-body-container.container,
body.tax-product_cat .site-body-container,
body.tax-product_cat .siteContent .container,
body.tax-product_cat .siteContent,
body.tax-product_cat .main-section,
body.tax-product_cat .mainSection,
body.tax-product_cat .entry-body {
	width: min(1460px, calc(100vw - 32px)) !important;
	max-width: 1460px !important;
}

body.woocommerce-shop .order-lub-shop-layout--has-sidebar,
body.post-type-archive-product .order-lub-shop-layout--has-sidebar,
body.tax-product_cat .order-lub-shop-layout--has-sidebar {
	grid-template-columns: 220px minmax(0, 1fr) !important;
	gap: 36px !important;
}

/* 左側の商品カテゴリ */
body.woocommerce-shop aside.order-lub-shop-sidebar,
body.post-type-archive-product aside.order-lub-shop-sidebar,
body.tax-product_cat aside.order-lub-shop-sidebar {
	width: 220px !important;
	max-width: 220px !important;
	padding: 0 !important;
	border: 1px solid #d8dee5 !important;
	border-radius: 8px !important;
	background: #f3f4f6 !important;
	box-shadow: none !important;
	overflow: hidden !important;
}

.order-lub-shop-sidebar__title {
	margin: 0 !important;
	padding: 17px 16px !important;
	border: 0 !important;
	background: #176fc1 !important;
	color: #fff !important;
	font-size: 17px !important;
	font-weight: 800 !important;
	line-height: 1.4 !important;
}

.order-lub-cat-item {
	border-bottom: 1px solid #d8dee5 !important;
	background: #f3f4f6 !important;
}

.order-lub-cat-item:last-child {
	border-bottom: 0 !important;
}

.order-lub-cat-row {
	min-height: 50px !important;
	padding: 0 15px !important;
	box-sizing: border-box !important;
}

.order-lub-cat-link {
	color: #252b33 !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	line-height: 1.5 !important;
}

.order-lub-cat-link:hover,
.order-lub-cat-item.is-current > .order-lub-cat-row .order-lub-cat-link,
.order-lub-cat-child.is-current a {
	color: #0969b7 !important;
}

.order-lub-cat-toggle {
	color: #59636e !important;
}

.order-lub-cat-children {
	padding: 0 15px 12px !important;
	background: #fff !important;
}

.order-lub-cat-child a {
	padding: 9px 8px 9px 12px !important;
	border-left-color: #cfd7df !important;
	color: #333 !important;
}

/* 右側の商品一覧は大きな白枠を外す */
body.woocommerce-shop .order-lub-shop-content,
body.post-type-archive-product .order-lub-shop-content,
body.tax-product_cat .order-lub-shop-content {
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

body.woocommerce-shop .order-lub-shop-content .woocommerce-result-count,
body.post-type-archive-product .order-lub-shop-content .woocommerce-result-count,
body.tax-product_cat .order-lub-shop-content .woocommerce-result-count {
	margin-bottom: 26px !important;
	color: #505b67 !important;
	font-size: 15px !important;
	font-weight: 500 !important;
}

body.woocommerce-shop .order-lub-shop-content .woocommerce-ordering select,
body.post-type-archive-product .order-lub-shop-content .woocommerce-ordering select,
body.tax-product_cat .order-lub-shop-content .woocommerce-ordering select {
	min-width: 170px !important;
	border-color: #cfd6dd !important;
	border-radius: 4px !important;
	color: #3f4852 !important;
}

/* PCは1行5商品のカタログ */
body.woocommerce-shop .order-lub-shop-content ul.products,
body.post-type-archive-product .order-lub-shop-content ul.products,
body.tax-product_cat .order-lub-shop-content ul.products {
	grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
	column-gap: 28px !important;
	row-gap: 38px !important;
}

body.woocommerce-shop .order-lub-shop-content ul.products li.product,
body.post-type-archive-product .order-lub-shop-content ul.products li.product,
body.tax-product_cat .order-lub-shop-content ul.products li.product {
	display: grid !important;
	grid-template-rows: 220px minmax(52px, auto) 40px 44px !important;
	row-gap: 10px !important;
	min-height: 386px !important;
	overflow: visible !important;
	background: transparent !important;
}

body.woocommerce-shop .order-lub-shop-content ul.products li.product a img,
body.post-type-archive-product .order-lub-shop-content ul.products li.product a img,
body.tax-product_cat .order-lub-shop-content ul.products li.product a img {
	width: 100% !important;
	max-width: 100% !important;
	height: 220px !important;
	min-height: 220px !important;
	max-height: 220px !important;
	padding: 18px !important;
	border: 1px solid #cfd7df !important;
	border-radius: 8px !important;
	background: #fff !important;
	object-fit: contain !important;
	transition:
		border-color .18s ease,
		box-shadow .18s ease !important;
}

body.woocommerce-shop .order-lub-shop-content ul.products li.product:hover a img,
body.post-type-archive-product .order-lub-shop-content ul.products li.product:hover a img,
body.tax-product_cat .order-lub-shop-content ul.products li.product:hover a img {
	border-color: #7aaede !important;
	box-shadow: 0 7px 18px rgba(30, 94, 151, .12) !important;
	transform: none !important;
}

body.woocommerce-shop .order-lub-shop-content .woocommerce-loop-product__title,
body.post-type-archive-product .order-lub-shop-content .woocommerce-loop-product__title,
body.tax-product_cat .order-lub-shop-content .woocommerce-loop-product__title {
	height: auto !important;
	min-height: 52px !important;
	max-height: none !important;
	color: #0668bd !important;
	font-size: 16px !important;
	font-weight: 800 !important;
	line-height: 1.5 !important;
	-webkit-line-clamp: 3 !important;
}

body.woocommerce-shop .order-lub-shop-content .woocommerce-loop-product__title:hover,
body.post-type-archive-product .order-lub-shop-content .woocommerce-loop-product__title:hover,
body.tax-product_cat .order-lub-shop-content .woocommerce-loop-product__title:hover {
	color: #004e91 !important;
	text-decoration: underline !important;
}

body.woocommerce-shop .order-lub-shop-content ul.products li.product .price,
body.post-type-archive-product .order-lub-shop-content ul.products li.product .price,
body.tax-product_cat .order-lub-shop-content ul.products li.product .price {
	height: 40px !important;
	min-height: 40px !important;
	max-height: 40px !important;
}

body.woocommerce-shop .order-lub-shop-content ul.products li.product .button,
body.post-type-archive-product .order-lub-shop-content ul.products li.product .button,
body.tax-product_cat .order-lub-shop-content ul.products li.product .button,
body.woocommerce-shop .order-lub-shop-content ul.products li.product .order-lub-login-required-button,
body.post-type-archive-product .order-lub-shop-content ul.products li.product .order-lub-login-required-button,
body.tax-product_cat .order-lub-shop-content ul.products li.product .order-lub-login-required-button {
	height: 44px !important;
	min-height: 44px !important;
	max-height: 44px !important;
	border-radius: 5px !important;
	background: #176fc1 !important;
}

body.woocommerce-shop .order-lub-shop-content ul.products li.product .button:hover,
body.post-type-archive-product .order-lub-shop-content ul.products li.product .button:hover,
body.tax-product_cat .order-lub-shop-content ul.products li.product .button:hover,
body.woocommerce-shop .order-lub-shop-content ul.products li.product .order-lub-login-required-button:hover,
body.post-type-archive-product .order-lub-shop-content ul.products li.product .order-lub-login-required-button:hover,
body.tax-product_cat .order-lub-shop-content ul.products li.product .order-lub-login-required-button:hover {
	background: #07569a !important;
}

}

/* 中間幅では商品カードが細くなりすぎないよう4列に戻す */
@media (min-width: 901px) and (max-width: 1200px) {
	body.woocommerce-shop .order-lub-shop-content ul.products,
	body.post-type-archive-product .order-lub-shop-content ul.products,
	body.tax-product_cat .order-lub-shop-content ul.products {
		grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
		column-gap: 20px !important;
	}
}

/* ===================================================
PC最終デザイン：絞り込みをサイドバーへ統合した横長カード表示
=================================================== */
.order-lub-shop-filter--sidebar {
	display: none;
}

@media (min-width: 901px) {
	.order-lub-shop-filter--main {
		display: none !important;
	}

	.order-lub-shop-filter--sidebar {
		display: block !important;
		margin: 0 !important;
		padding: 14px 14px 16px !important;
		border: 0 !important;
		border-top: 1px solid #d8dee5 !important;
		border-radius: 0 !important;
		background: #f6f9fc !important;
	}

	body.woocommerce-shop .order-lub-shop-layout--has-sidebar,
	body.post-type-archive-product .order-lub-shop-layout--has-sidebar,
	body.tax-product_cat .order-lub-shop-layout--has-sidebar {
		grid-template-columns: 260px minmax(0, 1fr) !important;
		gap: 36px !important;
	}

	body.woocommerce-shop .order-lub-shop-layout--has-sidebar > .order-lub-shop-sidebar,
	body.post-type-archive-product .order-lub-shop-layout--has-sidebar > .order-lub-shop-sidebar,
	body.tax-product_cat .order-lub-shop-layout--has-sidebar > .order-lub-shop-sidebar,
	body.woocommerce-shop aside.order-lub-shop-sidebar,
	body.post-type-archive-product aside.order-lub-shop-sidebar,
	body.tax-product_cat aside.order-lub-shop-sidebar {
		width: 260px !important;
		max-width: 260px !important;
	}

	.order-lub-shop-filter--sidebar .order-lub-shop-filter__title {
		margin: 0 0 4px !important;
		font-size: 16px !important;
		line-height: 1.4 !important;
	}

	.order-lub-shop-filter--sidebar .order-lub-shop-filter__description {
		margin: 0 0 12px !important;
		font-size: 11px !important;
		line-height: 1.55 !important;
	}

	.order-lub-shop-filter--sidebar .order-lub-shop-filter__description-main,
	.order-lub-shop-filter--sidebar .order-lub-shop-filter__description-note {
		display: none !important;
	}

	.order-lub-shop-filter--sidebar .order-lub-shop-filter__description-mobile {
		display: block !important;
		color: #637688 !important;
	}

	.order-lub-shop-filter--sidebar .order-lub-shop-filter__form {
		display: grid !important;
		grid-template-columns: 1fr !important;
		gap: 10px !important;
	}

	.order-lub-shop-filter--sidebar .order-lub-shop-filter__field {
		gap: 4px !important;
		font-size: 12px !important;
	}

	.order-lub-shop-filter--sidebar .order-lub-shop-filter__field select {
		height: 38px !important;
		min-height: 38px !important;
		padding: 0 32px 0 10px !important;
		border-radius: 5px !important;
		font-size: 12px !important;
	}

	.order-lub-shop-filter--sidebar .order-lub-shop-filter__actions {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 8px !important;
		min-height: 38px !important;
	}

	.order-lub-shop-filter--sidebar .order-lub-shop-filter__submit,
	.order-lub-shop-filter--sidebar .order-lub-shop-filter__reset {
		width: 100% !important;
		min-height: 38px !important;
		padding: 0 8px !important;
		font-size: 12px !important;
	}

	.order-lub-product-list-header {
		margin: 12px 0 10px !important;
		padding-top: 13px !important;
		padding-bottom: 13px !important;
		border: 0 !important;
		border-radius: 7px !important;
		background: #173f67 !important;
		color: #fff !important;
		box-shadow: none !important;
	}

	.order-lub-product-list-header,
	.order-lub-product-list-header span {
		color: #fff !important;
	}

	body.woocommerce-shop .order-lub-shop-content ul.products,
	body.post-type-archive-product .order-lub-shop-content ul.products,
	body.tax-product_cat .order-lub-shop-content ul.products {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) !important;
		grid-auto-flow: row !important;
		gap: 10px !important;
		width: 100% !important;
		border-top: 0 !important;
		background: transparent !important;
	}

	body.woocommerce-shop .order-lub-shop-content ul.products li.product,
	body.post-type-archive-product .order-lub-shop-content ul.products li.product,
	body.tax-product_cat .order-lub-shop-content ul.products li.product,
	body.woocommerce-shop .order-lub-shop-content ul.products li.product.first,
	body.woocommerce-shop .order-lub-shop-content ul.products li.product.last,
	body.post-type-archive-product .order-lub-shop-content ul.products li.product.first,
	body.post-type-archive-product .order-lub-shop-content ul.products li.product.last,
	body.tax-product_cat .order-lub-shop-content ul.products li.product.first,
	body.tax-product_cat .order-lub-shop-content ul.products li.product.last {
		min-height: 96px !important;
		padding-top: 16px !important;
		padding-bottom: 16px !important;
		border: 1px solid #dce5ec !important;
		border-radius: 8px !important;
		background: #fff !important;
		box-shadow: 0 2px 7px rgba(25, 55, 80, 0.035) !important;
		transition: border-color .15s ease, box-shadow .15s ease !important;
	}

	body.woocommerce-shop .order-lub-shop-content ul.products li.product:hover,
	body.post-type-archive-product .order-lub-shop-content ul.products li.product:hover,
	body.tax-product_cat .order-lub-shop-content ul.products li.product:hover {
		border-color: #b9cbd9 !important;
		background: #fff !important;
		box-shadow: 0 5px 14px rgba(25, 55, 80, 0.08) !important;
	}

	body.woocommerce-shop .order-lub-shop-content .woocommerce-loop-product__title,
	body.post-type-archive-product .order-lub-shop-content .woocommerce-loop-product__title,
	body.tax-product_cat .order-lub-shop-content .woocommerce-loop-product__title {
		color: #102f4c !important;
		font-size: 16px !important;
	}

	body.woocommerce-shop .order-lub-shop-content ul.products li.product .button,
	body.post-type-archive-product .order-lub-shop-content ul.products li.product .button,
	body.tax-product_cat .order-lub-shop-content ul.products li.product .button,
	body.woocommerce-shop .order-lub-shop-content ul.products li.product .order-lub-login-required-button,
	body.post-type-archive-product .order-lub-shop-content ul.products li.product .order-lub-login-required-button,
	body.tax-product_cat .order-lub-shop-content ul.products li.product .order-lub-login-required-button {
		border-radius: 6px !important;
		background: #176fc1 !important;
		box-shadow: none !important;
	}

	body.woocommerce-shop .order-lub-shop-content ul.products li.product .button:hover,
	body.post-type-archive-product .order-lub-shop-content ul.products li.product .button:hover,
	body.tax-product_cat .order-lub-shop-content ul.products li.product .button:hover,
	body.woocommerce-shop .order-lub-shop-content ul.products li.product .order-lub-login-required-button:hover,
	body.post-type-archive-product .order-lub-shop-content ul.products li.product .order-lub-login-required-button:hover,
	body.tax-product_cat .order-lub-shop-content ul.products li.product .order-lub-login-required-button:hover {
		background: #0f5da5 !important;
	}
}

@media (max-width: 900px) {
	.order-lub-shop-filter--sidebar {
		display: none !important;
	}

	.order-lub-shop-filter--main {
		display: block !important;
	}
}

/* ===================================================
21. 商品一覧ボタン：フォーカス時の赤い外枠を非表示
=================================================== */

body.woocommerce-shop .order-lub-shop-content ul.products li.product .button:focus,
body.woocommerce-shop .order-lub-shop-content ul.products li.product .button:focus-visible,
body.woocommerce-shop .order-lub-shop-content ul.products li.product .button:active,
body.post-type-archive-product .order-lub-shop-content ul.products li.product .button:focus,
body.post-type-archive-product .order-lub-shop-content ul.products li.product .button:focus-visible,
body.post-type-archive-product .order-lub-shop-content ul.products li.product .button:active,
body.tax-product_cat .order-lub-shop-content ul.products li.product .button:focus,
body.tax-product_cat .order-lub-shop-content ul.products li.product .button:focus-visible,
body.tax-product_cat .order-lub-shop-content ul.products li.product .button:active,
body.woocommerce-shop .order-lub-shop-content ul.products li.product .order-lub-login-required-button:focus,
body.woocommerce-shop .order-lub-shop-content ul.products li.product .order-lub-login-required-button:focus-visible,
body.woocommerce-shop .order-lub-shop-content ul.products li.product .order-lub-login-required-button:active,
body.post-type-archive-product .order-lub-shop-content ul.products li.product .order-lub-login-required-button:focus,
body.post-type-archive-product .order-lub-shop-content ul.products li.product .order-lub-login-required-button:focus-visible,
body.post-type-archive-product .order-lub-shop-content ul.products li.product .order-lub-login-required-button:active,
body.tax-product_cat .order-lub-shop-content ul.products li.product .order-lub-login-required-button:focus,
body.tax-product_cat .order-lub-shop-content ul.products li.product .order-lub-login-required-button:focus-visible,
body.tax-product_cat .order-lub-shop-content ul.products li.product .order-lub-login-required-button:active {
	border-color: transparent !important;
	outline: none !important;
	box-shadow: none !important;
}

/*
 * Ajaxで商品をカートへ追加した後にWooCommerceが生成する
 * 「カートを見る」リンクが、商品ボタンの上へ重なって赤枠だけ見えるのを防ぐ。
 */
body.woocommerce-shop .order-lub-shop-content ul.products li.product .added_to_cart,
body.woocommerce-shop .order-lub-shop-content ul.products li.product .added_to_cart.wc-forward,
body.post-type-archive-product .order-lub-shop-content ul.products li.product .added_to_cart,
body.post-type-archive-product .order-lub-shop-content ul.products li.product .added_to_cart.wc-forward,
body.tax-product_cat .order-lub-shop-content ul.products li.product .added_to_cart,
body.tax-product_cat .order-lub-shop-content ul.products li.product .added_to_cart.wc-forward {
	display: none !important;
	visibility: hidden !important;
	width: 0 !important;
	height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	outline: 0 !important;
	box-shadow: none !important;
}

/*
 * カート追加済みの元ボタンには added クラスが付く。
 * テーマ側が通常状態の added へ付ける赤い点線も上書きする。
 */
body.woocommerce-shop .order-lub-shop-content ul.products li.product .button,
body.woocommerce-shop .order-lub-shop-content ul.products li.product .button.added,
body.woocommerce-shop .order-lub-shop-content ul.products li.product .ajax_add_to_cart.added,
body.post-type-archive-product .order-lub-shop-content ul.products li.product .button,
body.post-type-archive-product .order-lub-shop-content ul.products li.product .button.added,
body.post-type-archive-product .order-lub-shop-content ul.products li.product .ajax_add_to_cart.added,
body.tax-product_cat .order-lub-shop-content ul.products li.product .button,
body.tax-product_cat .order-lub-shop-content ul.products li.product .button.added,
body.tax-product_cat .order-lub-shop-content ul.products li.product .ajax_add_to_cart.added {
	border: 0 !important;
	outline: 0 !important;
	outline-offset: 0 !important;
	box-shadow: none !important;
}

body.woocommerce-shop .order-lub-shop-content ul.products li.product .button.added::before,
body.woocommerce-shop .order-lub-shop-content ul.products li.product .button.added::after,
body.post-type-archive-product .order-lub-shop-content ul.products li.product .button.added::before,
body.post-type-archive-product .order-lub-shop-content ul.products li.product .button.added::after,
body.tax-product_cat .order-lub-shop-content ul.products li.product .button.added::before,
body.tax-product_cat .order-lub-shop-content ul.products li.product .button.added::after {
	border: 0 !important;
	outline: 0 !important;
	box-shadow: none !important;
}

/* ===================================================
22. 商品詳細：不要なアーカイブ・カテゴリー領域を非表示
=================================================== */

body.single-product .subSection,
body.single-product .sub-section,
body.single-product .sideSection,
body.single-product .side-section,
body.single-product #secondary,
body.single-product .widget_archive,
body.single-product .widget_categories,
body.single-product .wp-block-archives,
body.single-product .wp-block-categories,
body.single-product aside:has(.wp-block-archives),
body.single-product aside:has(.wp-block-categories) {
	display: none !important;
}

/* ===================================================
23. 商品一覧：数量選択
=================================================== */

.order-lub-shop-content ul.products li.product .order-lub-loop-qty-control {
	grid-row: 4 !important;
	width: 112px;
	height: 36px;
	display: grid;
	grid-template-columns: 36px 40px 36px;
	align-items: stretch;
	justify-self: start;
	margin: 0;
	border: 1px solid #cfd7df;
	border-radius: 5px;
	background: #fff;
	overflow: hidden;
	box-sizing: border-box;
}

.order-lub-shop-content .order-lub-loop-qty-btn,
.order-lub-shop-content .order-lub-loop-qty-input {
	width: 100% !important;
	min-width: 0 !important;
	height: 34px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: #fff !important;
	color: #14213d !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	line-height: 34px !important;
	text-align: center !important;
	box-shadow: none !important;
	box-sizing: border-box !important;
}

.order-lub-shop-content .order-lub-loop-qty-btn {
	cursor: pointer;
}

.order-lub-shop-content .order-lub-loop-qty-btn:hover {
	background: #eef5fb !important;
	color: #07569a !important;
}

.order-lub-shop-content .order-lub-loop-qty-input {
	border-right: 1px solid #dbe2e8 !important;
	border-left: 1px solid #dbe2e8 !important;
	-moz-appearance: textfield;
}

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

@media (min-width: 901px) {
	body.woocommerce-shop .order-lub-shop-content ul.products li.product:has(.order-lub-loop-qty-control),
	body.post-type-archive-product .order-lub-shop-content ul.products li.product:has(.order-lub-loop-qty-control),
	body.tax-product_cat .order-lub-shop-content ul.products li.product:has(.order-lub-loop-qty-control) {
		grid-template-rows: 220px minmax(52px, auto) 40px 36px 44px !important;
		min-height: 432px !important;
	}

	body.woocommerce-shop .order-lub-shop-content ul.products li.product:has(.order-lub-loop-qty-control) .button,
	body.post-type-archive-product .order-lub-shop-content ul.products li.product:has(.order-lub-loop-qty-control) .button,
	body.tax-product_cat .order-lub-shop-content ul.products li.product:has(.order-lub-loop-qty-control) .button {
		grid-row: 5 !important;
	}
}

@media (max-width: 768px) {
	body.woocommerce-shop .order-lub-shop-content ul.products li.product:has(.order-lub-loop-qty-control),
	body.post-type-archive-product .order-lub-shop-content ul.products li.product:has(.order-lub-loop-qty-control),
	body.tax-product_cat .order-lub-shop-content ul.products li.product:has(.order-lub-loop-qty-control) {
		height: 359px !important;
		min-height: 359px !important;
		max-height: 359px !important;
		grid-template-rows: 150px 46px 34px 36px 40px !important;
	}

	body.woocommerce-shop .order-lub-shop-content ul.products li.product:has(.order-lub-loop-qty-control) .button,
	body.post-type-archive-product .order-lub-shop-content ul.products li.product:has(.order-lub-loop-qty-control) .button,
	body.tax-product_cat .order-lub-shop-content ul.products li.product:has(.order-lub-loop-qty-control) .button {
		grid-row: 5 !important;
	}
}

/* ===================================================
24. 商品詳細：商品説明＋情報表
=================================================== */

/* メイン商品画像だけを少し小さく表示。下部サムネイルは対象外。 */
.single-product div.product div.images .woocommerce-product-gallery__image > a {
	display: flex !important;
	align-items: center;
	justify-content: center;
}

.single-product div.product div.images .woocommerce-product-gallery__image > a > img {
	width: 86% !important;
	max-width: 380px !important;
	max-height: 380px !important;
	margin-right: auto !important;
	margin-left: auto !important;
	object-fit: contain !important;
}

/* PCでは商品名と価格の間に少し余白を追加。SPの余白は変更しない。 */
@media (min-width: 769px) {
	.single-product div.product .summary .product_title {
		margin-bottom: 24px !important;
	}
}

.single-product .order-lub-single-price {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 0 7px;
	margin: 0 0 10px;
	color: #d60000;
	line-height: 1.35;
}

.single-product .order-lub-single-price__label {
	color: #4b5563;
	font-size: 13px;
	font-weight: 600;
}

.single-product .order-lub-single-price__amount,
.single-product .order-lub-single-price__amount .woocommerce-Price-amount {
	color: #d60000 !important;
	font-size: 24px !important;
	font-weight: 800 !important;
	line-height: 1.25 !important;
}

.single-product .order-lub-single-price__amount ins {
	text-decoration: none !important;
}

.single-product .order-lub-single-price__amount del,
.single-product .order-lub-single-price__amount del .woocommerce-Price-amount {
	color: #777 !important;
	font-size: 13px !important;
	font-weight: 400 !important;
}

.single-product .order-lub-single-price__tax {
	color: #4b5563;
	font-size: 12px;
	font-weight: 500;
}

.single-product .order-lub-structured-description {
	width: 100%;
	margin: 0;
	color: #1f2937;
	box-sizing: border-box;
}

.single-product .order-lub-structured-description__heading {
	margin: 0 0 16px !important;
	padding: 12px 16px !important;
	border: 0 !important;
	border-left: 5px solid #fff !important;
	background: #7fbe35 !important;
	color: #fff !important;
	font-size: 18px !important;
	font-weight: 800 !important;
	line-height: 1.4 !important;
}

.single-product .order-lub-structured-description__content {
	margin: 0 0 22px;
	padding: 0 2px;
	font-size: 15px;
	line-height: 1.9;
}

.single-product .order-lub-structured-description__content > :first-child {
	margin-top: 0;
}

.single-product .order-lub-structured-description__content > :last-child {
	margin-bottom: 0;
}

.single-product .order-lub-product-info-table {
	width: 100% !important;
	margin: 0 !important;
	border-collapse: collapse !important;
	border-spacing: 0 !important;
	background: #fff !important;
	table-layout: fixed;
}

.single-product .order-lub-product-info-table th,
.single-product .order-lub-product-info-table td {
	padding: 13px 14px !important;
	border: 1px solid #d9dee4 !important;
	font-size: 14px !important;
	line-height: 1.7 !important;
	text-align: left !important;
	vertical-align: top !important;
	box-sizing: border-box;
}

.single-product .order-lub-product-info-table th {
	width: 185px;
	background: #f4f5f6 !important;
	color: #111827 !important;
	font-weight: 800 !important;
}

.single-product .order-lub-product-info-table td {
	background: #fff !important;
	color: #1f2937 !important;
	font-weight: 400 !important;
	overflow-wrap: anywhere;
}

@media (max-width: 600px) {
	.single-product div.product div.images .woocommerce-product-gallery__image > a > img {
		width: 90% !important;
		max-height: 330px !important;
	}

	.single-product .order-lub-structured-description__heading {
		padding: 10px 12px !important;
		font-size: 16px !important;
	}

	.single-product .order-lub-product-info-table th {
		width: 34%;
	}

	.single-product .order-lub-product-info-table th,
	.single-product .order-lub-product-info-table td {
		padding: 10px !important;
		font-size: 13px !important;
	}
}

/* ===================================================
25. 商品詳細：関連商品の数量選択・ボタン補正
=================================================== */

.single-product .related.products ul.products li.product .order-lub-loop-qty-control {
	width: 112px !important;
	height: 36px !important;
	display: grid !important;
	grid-template-columns: 36px 40px 36px !important;
	align-items: stretch !important;
	margin: 8px 0 !important;
	padding: 0 !important;
	border: 1px solid #cfd7df !important;
	border-radius: 5px !important;
	background: #fff !important;
	overflow: hidden !important;
	box-sizing: border-box !important;
}

.single-product .related.products .order-lub-loop-qty-btn,
.single-product .related.products .order-lub-loop-qty-input {
	width: 100% !important;
	min-width: 0 !important;
	height: 34px !important;
	min-height: 34px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: #fff !important;
	color: #14213d !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	line-height: 34px !important;
	text-align: center !important;
	box-shadow: none !important;
	box-sizing: border-box !important;
}

.single-product .related.products .order-lub-loop-qty-btn {
	cursor: pointer !important;
}

.single-product .related.products .order-lub-loop-qty-btn:hover {
	background: #eef5fb !important;
	color: #07569a !important;
}

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

.single-product .related.products .order-lub-loop-qty-input::-webkit-outer-spin-button,
.single-product .related.products .order-lub-loop-qty-input::-webkit-inner-spin-button {
	margin: 0 !important;
	-webkit-appearance: none !important;
}

/* テーマ側が追加済み・フォーカス中のボタンへ付ける赤枠を解除。 */
.single-product .related.products ul.products li.product .button,
.single-product .related.products ul.products li.product .button:hover,
.single-product .related.products ul.products li.product .button:focus,
.single-product .related.products ul.products li.product .button:focus-visible,
.single-product .related.products ul.products li.product .button:active,
.single-product .related.products ul.products li.product .button.added,
.single-product .related.products ul.products li.product .ajax_add_to_cart.added {
	border: 0 !important;
	outline: 0 !important;
	outline-offset: 0 !important;
	box-shadow: none !important;
}

.single-product .related.products ul.products li.product .button::before,
.single-product .related.products ul.products li.product .button::after,
.single-product .related.products ul.products li.product .button.added::before,
.single-product .related.products ul.products li.product .button.added::after {
	border: 0 !important;
	outline: 0 !important;
	box-shadow: none !important;
}

.single-product .related.products ul.products li.product .added_to_cart,
.single-product .related.products ul.products li.product .added_to_cart.wc-forward {
	display: none !important;
	visibility: hidden !important;
	width: 0 !important;
	height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
}

/* 未ログイン時は商品名の行高を揃え、ログインボタンの位置を固定する。 */
body:not(.logged-in).single-product .related.products ul.products li.product {
	display: flex !important;
	flex-direction: column !important;
	align-items: stretch !important;
}

body:not(.logged-in).single-product .related.products ul.products li.product .woocommerce-loop-product__link {
	display: grid !important;
	grid-template-rows: 180px 46px !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

body:not(.logged-in).single-product .related.products ul.products li.product .woocommerce-loop-product__link img {
	grid-row: 1 !important;
	align-self: center !important;
	width: 100% !important;
	max-width: 100% !important;
	height: 180px !important;
	min-height: 180px !important;
	max-height: 180px !important;
	margin: 0 !important;
	padding: 0 !important;
	object-fit: contain !important;
	box-sizing: border-box !important;
}

body:not(.logged-in).single-product .related.products ul.products li.product .woocommerce-loop-product__title {
	grid-row: 2 !important;
	height: 46px !important;
	min-height: 46px !important;
	max-height: 46px !important;
	margin: 0 !important;
	padding: 10px 0 0 !important;
	overflow: hidden !important;
	line-height: 1.45 !important;
	box-sizing: border-box !important;
}

body:not(.logged-in).single-product .related.products ul.products li.product .order-lub-login-required-button {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	height: 40px !important;
	min-height: 40px !important;
	max-height: 40px !important;
	margin: 0 !important;
	padding: 0 12px !important;
	line-height: 1.2 !important;
	box-sizing: border-box !important;
}

body:not(.logged-in).single-product .related.products ul.products li.product .order-lub-login-price-note {
	height: 28px !important;
	min-height: 28px !important;
	max-height: 28px !important;
	margin: 0 0 6px !important;
}

/* ===================================================
26. SP：検索バーとハンバーガーメニューの重なり防止
=================================================== */

@media (max-width: 768px) {
	body.woocommerce-shop #site-header,
	body.post-type-archive-product #site-header,
	body.tax-product_cat #site-header {
		/* 右側にメニューボタン専用の領域を確保する。 */
		padding: 10px 60px 10px 12px !important;
	}

	body.woocommerce-shop #site-header-container,
	body.post-type-archive-product #site-header-container,
	body.tax-product_cat #site-header-container,
	body.woocommerce-shop .header-search-form,
	body.post-type-archive-product .header-search-form,
	body.tax-product_cat .header-search-form {
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box !important;
	}

	body.woocommerce-shop .vk-mobile-nav,
	body.post-type-archive-product .vk-mobile-nav,
	body.tax-product_cat .vk-mobile-nav {
		z-index: 100010 !important;
	}

	body.woocommerce-shop #vk-mobile-nav-menu-btn,
	body.woocommerce-shop .vk-mobile-nav-menu-btn,
	body.post-type-archive-product #vk-mobile-nav-menu-btn,
	body.post-type-archive-product .vk-mobile-nav-menu-btn,
	body.tax-product_cat #vk-mobile-nav-menu-btn,
	body.tax-product_cat .vk-mobile-nav-menu-btn {
		top: calc(env(safe-area-inset-top, 0px) + 12px) !important;
		right: 12px !important;
		width: 40px !important;
		height: 40px !important;
		min-width: 40px !important;
		min-height: 40px !important;
		margin: 0 !important;
		border: 2px solid rgb(204, 204, 204) !important;
		border-radius: 12px !important;
		background-color: #fff !important;
		background-image:
			linear-gradient(rgb(204, 204, 204), rgb(204, 204, 204)),
			linear-gradient(rgb(204, 204, 204), rgb(204, 204, 204)),
			linear-gradient(rgb(204, 204, 204), rgb(204, 204, 204)) !important;
		background-repeat: no-repeat !important;
		background-position: center calc(50% - 6px), center, center calc(50% + 6px) !important;
		background-size: 20px 3px !important;
		color: transparent !important;
		font-size: 0 !important;
		box-sizing: border-box !important;
	}

	body.woocommerce-shop #vk-mobile-nav-menu-btn::before,
	body.woocommerce-shop #vk-mobile-nav-menu-btn::after,
	body.woocommerce-shop .vk-mobile-nav-menu-btn::before,
	body.woocommerce-shop .vk-mobile-nav-menu-btn::after,
	body.post-type-archive-product #vk-mobile-nav-menu-btn::before,
	body.post-type-archive-product #vk-mobile-nav-menu-btn::after,
	body.post-type-archive-product .vk-mobile-nav-menu-btn::before,
	body.post-type-archive-product .vk-mobile-nav-menu-btn::after,
	body.tax-product_cat #vk-mobile-nav-menu-btn::before,
	body.tax-product_cat #vk-mobile-nav-menu-btn::after,
	body.tax-product_cat .vk-mobile-nav-menu-btn::before,
	body.tax-product_cat .vk-mobile-nav-menu-btn::after {
		display: none !important;
		content: none !important;
	}

	body.admin-bar.woocommerce-shop #vk-mobile-nav-menu-btn,
	body.admin-bar.woocommerce-shop .vk-mobile-nav-menu-btn,
body.admin-bar.post-type-archive-product #vk-mobile-nav-menu-btn,
	body.admin-bar.post-type-archive-product .vk-mobile-nav-menu-btn,
	body.admin-bar.tax-product_cat #vk-mobile-nav-menu-btn,
	body.admin-bar.tax-product_cat .vk-mobile-nav-menu-btn {
		top: calc(env(safe-area-inset-top, 0px) + 58px) !important;
	}
}

/* ===================================================
27. 商品一覧：画像なし・数量選択付きの業務用リスト表示
=================================================== */

.order-lub-shop-shipping-lead-time {
	clear: both;
	width: 100%;
	margin: 8px 0 14px;
	color: #526171;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.7;
	text-align: right;
	box-sizing: border-box;
}

body.woocommerce-shop .order-lub-shop-content ul.products,
body.post-type-archive-product .order-lub-shop-content ul.products,
body.tax-product_cat .order-lub-shop-content ul.products {
	display: block !important;
	margin: 0 !important;
	padding: 0 !important;
	border-top: 1px solid #d8e0e6 !important;
}

.order-lub-product-list-header {
	display: grid;
	grid-template-columns: minmax(170px, 1.35fr) minmax(205px, 1.65fr) minmax(110px, .75fr) 112px 172px;
	gap: 18px;
	align-items: center;
	margin: 18px 0 0;
	padding: 12px 22px;
	border: 1px solid #d8e0e6;
	border-bottom: 0;
	background: #f5f8fa;
	color: #435466;
	font-size: 13px;
	font-weight: 800;
	line-height: 1.4;
	box-sizing: border-box;
}

body.woocommerce-shop .order-lub-shop-content ul.products li.product,
body.post-type-archive-product .order-lub-shop-content ul.products li.product,
body.tax-product_cat .order-lub-shop-content ul.products li.product,
body.woocommerce-shop .order-lub-shop-content ul.products li.product.first,
body.woocommerce-shop .order-lub-shop-content ul.products li.product.last,
body.post-type-archive-product .order-lub-shop-content ul.products li.product.first,
body.post-type-archive-product .order-lub-shop-content ul.products li.product.last,
body.tax-product_cat .order-lub-shop-content ul.products li.product.first,
body.tax-product_cat .order-lub-shop-content ul.products li.product.last {
	display: grid !important;
	grid-template-columns: minmax(170px, 1.35fr) minmax(205px, 1.65fr) minmax(110px, .75fr) 112px 172px !important;
	grid-template-rows: auto !important;
	gap: 18px !important;
	align-items: center !important;
	width: 100% !important;
	min-height: 104px !important;
	margin: 0 !important;
	padding: 18px 22px !important;
	border: 0 !important;
	border-bottom: 1px solid #d8e0e6 !important;
	border-radius: 0 !important;
	background: #fff !important;
	overflow: visible !important;
	box-shadow: none !important;
}

body.woocommerce-shop .order-lub-shop-content ul.products li.product:hover,
body.post-type-archive-product .order-lub-shop-content ul.products li.product:hover,
body.tax-product_cat .order-lub-shop-content ul.products li.product:hover {
	background: #fff !important;
}

body.woocommerce-shop .order-lub-shop-content ul.products li.product a.woocommerce-LoopProduct-link,
body.post-type-archive-product .order-lub-shop-content ul.products li.product a.woocommerce-LoopProduct-link,
body.tax-product_cat .order-lub-shop-content ul.products li.product a.woocommerce-LoopProduct-link {
	display: contents !important;
}

body.woocommerce-shop .order-lub-shop-content ul.products li.product a img,
body.post-type-archive-product .order-lub-shop-content ul.products li.product a img,
body.tax-product_cat .order-lub-shop-content ul.products li.product a img,
body.woocommerce-shop .order-lub-shop-content ul.products li.product .onsale,
body.post-type-archive-product .order-lub-shop-content ul.products li.product .onsale,
body.tax-product_cat .order-lub-shop-content ul.products li.product .onsale {
	display: none !important;
}

body.woocommerce-shop .order-lub-shop-content .woocommerce-loop-product__title,
body.post-type-archive-product .order-lub-shop-content .woocommerce-loop-product__title,
body.tax-product_cat .order-lub-shop-content .woocommerce-loop-product__title {
	grid-column: 1 !important;
	grid-row: auto !important;
	height: auto !important;
	min-height: 0 !important;
	max-height: none !important;
	margin: 0 !important;
	padding: 0 !important;
	color: #132b46 !important;
	font-size: 16px !important;
	font-weight: 800 !important;
	line-height: 1.55 !important;
	display: block !important;
	overflow: visible !important;
}

.order-lub-loop-product-spec {
	grid-column: 2;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 8px;
	margin: 0;
	padding: 0;
}

.order-lub-loop-product-spec__item {
	min-width: 0;
}

.order-lub-loop-product-spec dt {
	margin: 0 0 3px;
	color: #718093;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.3;
}

.order-lub-loop-product-spec dd {
	margin: 0;
	color: #223447;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.45;
	overflow-wrap: anywhere;
}

body.woocommerce-shop .order-lub-shop-content ul.products li.product .price,
body.post-type-archive-product .order-lub-shop-content ul.products li.product .price,
body.tax-product_cat .order-lub-shop-content ul.products li.product .price {
	grid-column: 3 !important;
	grid-row: auto !important;
	width: auto !important;
	height: auto !important;
	min-height: 0 !important;
	max-height: none !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: visible !important;
}

body.woocommerce-shop .order-lub-shop-content ul.products li.product .price > .woocommerce-Price-amount.amount,
body.post-type-archive-product .order-lub-shop-content ul.products li.product .price > .woocommerce-Price-amount.amount,
body.tax-product_cat .order-lub-shop-content ul.products li.product .price > .woocommerce-Price-amount.amount,
body.woocommerce-shop .order-lub-shop-content ul.products li.product .price ins .woocommerce-Price-amount.amount,
body.post-type-archive-product .order-lub-shop-content ul.products li.product .price ins .woocommerce-Price-amount.amount,
body.tax-product_cat .order-lub-shop-content ul.products li.product .price ins .woocommerce-Price-amount.amount {
	font-size: 18px !important;
}

.order-lub-shop-content ul.products li.product .order-lub-loop-qty-control {
	grid-column: 4 !important;
	grid-row: auto !important;
	justify-self: start;
	margin: 0 !important;
}

body.woocommerce-shop .order-lub-shop-content ul.products li.product .button,
body.post-type-archive-product .order-lub-shop-content ul.products li.product .button,
body.tax-product_cat .order-lub-shop-content ul.products li.product .button,
body.woocommerce-shop .order-lub-shop-content ul.products li.product .order-lub-login-required-button,
body.post-type-archive-product .order-lub-shop-content ul.products li.product .order-lub-login-required-button,
body.tax-product_cat .order-lub-shop-content ul.products li.product .order-lub-login-required-button {
	grid-column: 5 !important;
	grid-row: auto !important;
	width: 100% !important;
	height: 42px !important;
	min-height: 42px !important;
	max-height: none !important;
	margin: 0 !important;
	border-radius: 7px !important;
	font-size: 14px !important;
}

.order-lub-shop-content ul.products li.product .order-lub-login-price-note {
	grid-column: 3;
	margin: 0 !important;
}

body.woocommerce-shop .order-lub-shop-content ul.products li.product .added_to_cart,
body.post-type-archive-product .order-lub-shop-content ul.products li.product .added_to_cart,
body.tax-product_cat .order-lub-shop-content ul.products li.product .added_to_cart {
	display: none !important;
}

@media (max-width: 1100px) {
	.order-lub-product-list-header {
		grid-template-columns: minmax(150px, 1.25fr) minmax(190px, 1.55fr) minmax(95px, .7fr) 112px 150px;
		gap: 12px;
		padding-right: 16px;
		padding-left: 16px;
	}

	body.woocommerce-shop .order-lub-shop-content ul.products li.product,
	body.post-type-archive-product .order-lub-shop-content ul.products li.product,
	body.tax-product_cat .order-lub-shop-content ul.products li.product,
	body.woocommerce-shop .order-lub-shop-content ul.products li.product.first,
	body.woocommerce-shop .order-lub-shop-content ul.products li.product.last,
	body.post-type-archive-product .order-lub-shop-content ul.products li.product.first,
	body.post-type-archive-product .order-lub-shop-content ul.products li.product.last,
	body.tax-product_cat .order-lub-shop-content ul.products li.product.first,
	body.tax-product_cat .order-lub-shop-content ul.products li.product.last {
		grid-template-columns: minmax(150px, 1.25fr) minmax(190px, 1.55fr) minmax(95px, .7fr) 112px 150px !important;
		gap: 12px !important;
		padding-right: 16px !important;
		padding-left: 16px !important;
	}
}

@media (max-width: 900px) {
	.order-lub-shop-shipping-lead-time {
		margin-top: 10px;
		text-align: left;
	}

	.order-lub-product-list-header {
		display: none;
	}

	body.woocommerce-shop .order-lub-shop-content ul.products,
	body.post-type-archive-product .order-lub-shop-content ul.products,
	body.tax-product_cat .order-lub-shop-content ul.products {
		border-top: 0 !important;
	}

	body.woocommerce-shop .order-lub-shop-content ul.products li.product,
	body.post-type-archive-product .order-lub-shop-content ul.products li.product,
	body.tax-product_cat .order-lub-shop-content ul.products li.product,
	body.woocommerce-shop .order-lub-shop-content ul.products li.product.first,
	body.woocommerce-shop .order-lub-shop-content ul.products li.product.last,
	body.post-type-archive-product .order-lub-shop-content ul.products li.product.first,
	body.post-type-archive-product .order-lub-shop-content ul.products li.product.last,
	body.tax-product_cat .order-lub-shop-content ul.products li.product.first,
	body.tax-product_cat .order-lub-shop-content ul.products li.product.last {
		grid-template-columns: minmax(0, 1fr) auto !important;
		grid-template-areas:
			"name price"
			"spec spec"
			"quantity button" !important;
		gap: 12px 16px !important;
		min-height: 0 !important;
		padding: 18px !important;
	}

	body.woocommerce-shop .order-lub-shop-content .woocommerce-loop-product__title,
	body.post-type-archive-product .order-lub-shop-content .woocommerce-loop-product__title,
	body.tax-product_cat .order-lub-shop-content .woocommerce-loop-product__title {
		grid-area: name !important;
		grid-column: auto !important;
		grid-row: auto !important;
	}

	.order-lub-loop-product-spec {
		grid-area: spec !important;
		grid-column: auto;
	}

	body.woocommerce-shop .order-lub-shop-content ul.products li.product .price,
	body.post-type-archive-product .order-lub-shop-content ul.products li.product .price,
	body.tax-product_cat .order-lub-shop-content ul.products li.product .price,
	.order-lub-shop-content ul.products li.product .order-lub-login-price-note {
		grid-area: price !important;
		grid-column: auto !important;
		text-align: right;
	}

	.order-lub-shop-content ul.products li.product .order-lub-loop-qty-control {
		grid-area: quantity !important;
		grid-column: auto !important;
	}

	body.woocommerce-shop .order-lub-shop-content ul.products li.product .button,
	body.post-type-archive-product .order-lub-shop-content ul.products li.product .button,
	body.tax-product_cat .order-lub-shop-content ul.products li.product .button,
	body.woocommerce-shop .order-lub-shop-content ul.products li.product .order-lub-login-required-button,
	body.post-type-archive-product .order-lub-shop-content ul.products li.product .order-lub-login-required-button,
	body.tax-product_cat .order-lub-shop-content ul.products li.product .order-lub-login-required-button {
		grid-area: button !important;
		grid-column: auto !important;
		min-width: 150px;
	}
}

@media (max-width: 540px) {
	body.woocommerce-shop .order-lub-shop-content ul.products li.product,
	body.post-type-archive-product .order-lub-shop-content ul.products li.product,
	body.tax-product_cat .order-lub-shop-content ul.products li.product,
	body.woocommerce-shop .order-lub-shop-content ul.products li.product.first,
	body.woocommerce-shop .order-lub-shop-content ul.products li.product.last,
	body.post-type-archive-product .order-lub-shop-content ul.products li.product.first,
	body.post-type-archive-product .order-lub-shop-content ul.products li.product.last,
	body.tax-product_cat .order-lub-shop-content ul.products li.product.first,
	body.tax-product_cat .order-lub-shop-content ul.products li.product.last {
		grid-template-columns: 1fr !important;
		grid-template-areas:
			"name"
			"spec"
			"price"
			"quantity"
			"button" !important;
		gap: 12px !important;
		padding: 16px !important;
	}

	.order-lub-loop-product-spec {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		padding: 10px;
		border-radius: 7px;
		background: #f6f8fa;
	}

	body.woocommerce-shop .order-lub-shop-content ul.products li.product .price,
	body.post-type-archive-product .order-lub-shop-content ul.products li.product .price,
	body.tax-product_cat .order-lub-shop-content ul.products li.product .price,
	.order-lub-shop-content ul.products li.product .order-lub-login-price-note {
		text-align: left;
	}

	body.woocommerce-shop .order-lub-shop-content ul.products li.product .button,
	body.post-type-archive-product .order-lub-shop-content ul.products li.product .button,
	body.tax-product_cat .order-lub-shop-content ul.products li.product .button,
	body.woocommerce-shop .order-lub-shop-content ul.products li.product .order-lub-login-required-button,
	body.post-type-archive-product .order-lub-shop-content ul.products li.product .order-lub-login-required-button,
	body.tax-product_cat .order-lub-shop-content ul.products li.product .order-lub-login-required-button {
		width: 100% !important;
		min-width: 0;
	}
}

/* 商品詳細へのリンク停止中は、商品名・商品行にホバー反応を付けない。 */
body.woocommerce-shop .order-lub-shop-content ul.products li.product:hover,
body.post-type-archive-product .order-lub-shop-content ul.products li.product:hover,
body.tax-product_cat .order-lub-shop-content ul.products li.product:hover {
	background-color: #fff !important;
}

body.woocommerce-shop .order-lub-shop-content .woocommerce-loop-product__title:hover,
body.post-type-archive-product .order-lub-shop-content .woocommerce-loop-product__title:hover,
body.tax-product_cat .order-lub-shop-content .woocommerce-loop-product__title:hover {
	color: #132b46 !important;
	text-decoration: none !important;
}

/* ===================================================
28. 商品リスト：旧カード用の数量付き5段レイアウトを解除
=================================================== */

.order-lub-product-list-header {
	clear: both;
	width: 100%;
}

@media (min-width: 901px) {
	body.woocommerce-shop .order-lub-shop-content ul.products li.product:has(.order-lub-loop-qty-control),
	body.post-type-archive-product .order-lub-shop-content ul.products li.product:has(.order-lub-loop-qty-control),
	body.tax-product_cat .order-lub-shop-content ul.products li.product:has(.order-lub-loop-qty-control) {
		grid-template-columns: minmax(170px, 1.35fr) minmax(205px, 1.65fr) minmax(110px, .75fr) 112px 172px !important;
		grid-template-rows: auto !important;
		height: auto !important;
		min-height: 104px !important;
		max-height: none !important;
	}

	body.woocommerce-shop .order-lub-shop-content ul.products li.product:has(.order-lub-loop-qty-control) .button,
	body.post-type-archive-product .order-lub-shop-content ul.products li.product:has(.order-lub-loop-qty-control) .button,
	body.tax-product_cat .order-lub-shop-content ul.products li.product:has(.order-lub-loop-qty-control) .button {
		grid-column: 5 !important;
		grid-row: 1 !important;
	}
}

@media (min-width: 901px) and (max-width: 1100px) {
	body.woocommerce-shop .order-lub-shop-content ul.products li.product:has(.order-lub-loop-qty-control),
	body.post-type-archive-product .order-lub-shop-content ul.products li.product:has(.order-lub-loop-qty-control),
	body.tax-product_cat .order-lub-shop-content ul.products li.product:has(.order-lub-loop-qty-control) {
		grid-template-columns: minmax(150px, 1.25fr) minmax(190px, 1.55fr) minmax(95px, .7fr) 112px 150px !important;
	}
}

@media (max-width: 900px) {
	body.woocommerce-shop .order-lub-shop-content ul.products li.product:has(.order-lub-loop-qty-control),
	body.post-type-archive-product .order-lub-shop-content ul.products li.product:has(.order-lub-loop-qty-control),
	body.tax-product_cat .order-lub-shop-content ul.products li.product:has(.order-lub-loop-qty-control) {
		grid-template-columns: minmax(0, 1fr) auto !important;
		grid-template-rows: auto !important;
		grid-template-areas:
			"name price"
			"spec spec"
			"quantity button" !important;
		height: auto !important;
		min-height: 0 !important;
		max-height: none !important;
	}

	body.woocommerce-shop .order-lub-shop-content ul.products li.product:has(.order-lub-loop-qty-control) .button,
	body.post-type-archive-product .order-lub-shop-content ul.products li.product:has(.order-lub-loop-qty-control) .button,
	body.tax-product_cat .order-lub-shop-content ul.products li.product:has(.order-lub-loop-qty-control) .button {
		grid-area: button !important;
	}
}

@media (max-width: 540px) {
	body.woocommerce-shop .order-lub-shop-content ul.products li.product:has(.order-lub-loop-qty-control),
	body.post-type-archive-product .order-lub-shop-content ul.products li.product:has(.order-lub-loop-qty-control),
	body.tax-product_cat .order-lub-shop-content ul.products li.product:has(.order-lub-loop-qty-control) {
		grid-template-columns: 1fr !important;
		grid-template-areas:
			"name"
			"spec"
			"price"
			"quantity"
			"button" !important;
	}
}

/* ===================================================
29. 商品リスト：B2BKing連携のお気に入り（☆）
=================================================== */

@media (min-width: 1101px) {
	.order-lub-product-list-header.has-favorite-column,
	body.woocommerce-shop .order-lub-shop-content ul.products li.product:has(.order-lub-favorite-toggle),
	body.post-type-archive-product .order-lub-shop-content ul.products li.product:has(.order-lub-favorite-toggle),
	body.tax-product_cat .order-lub-shop-content ul.products li.product:has(.order-lub-favorite-toggle) {
		grid-template-columns: minmax(170px, 1.35fr) minmax(205px, 1.65fr) minmax(110px, .75fr) 64px 112px 172px !important;
	}
}

@media (min-width: 901px) and (max-width: 1100px) {
	.order-lub-product-list-header.has-favorite-column,
	body.woocommerce-shop .order-lub-shop-content ul.products li.product:has(.order-lub-favorite-toggle),
	body.post-type-archive-product .order-lub-shop-content ul.products li.product:has(.order-lub-favorite-toggle),
	body.tax-product_cat .order-lub-shop-content ul.products li.product:has(.order-lub-favorite-toggle) {
		grid-template-columns: minmax(150px, 1.25fr) minmax(190px, 1.55fr) minmax(95px, .7fr) 56px 112px 150px !important;
	}
}

.order-lub-product-list-header__favorite {
	text-align: center;
}

.order-lub-shop-content ul.products li.product .order-lub-favorite-toggle {
	grid-column: 4 !important;
	grid-row: auto !important;
	justify-self: center;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	min-width: 42px;
	margin: 0;
	padding: 0;
	border: 1px solid #c8d3dc;
	border-radius: 7px;
	background: #fff;
	color: #637282;
	font: inherit;
	cursor: pointer;
	box-shadow: none;
	transition: border-color .15s ease, color .15s ease, background-color .15s ease;
}

.order-lub-shop-content ul.products li.product .order-lub-favorite-toggle:hover,
.order-lub-shop-content ul.products li.product .order-lub-favorite-toggle:focus-visible {
	border-color: #d99a00;
	background: #fffaf0;
	color: #c98700;
	outline: none;
}

.order-lub-shop-content ul.products li.product .order-lub-favorite-toggle.is-active {
	border-color: #d99a00;
	background: #fff7dc;
	color: #d28b00;
}

.order-lub-shop-content ul.products li.product .order-lub-favorite-toggle.is-loading {
	opacity: .55;
	cursor: wait;
}

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

@media (min-width: 901px) {
	.order-lub-shop-content ul.products li.product:has(.order-lub-favorite-toggle) .order-lub-loop-qty-control {
		grid-column: 5 !important;
	}

	body.woocommerce-shop .order-lub-shop-content ul.products li.product:has(.order-lub-favorite-toggle) .button,
	body.post-type-archive-product .order-lub-shop-content ul.products li.product:has(.order-lub-favorite-toggle) .button,
	body.tax-product_cat .order-lub-shop-content ul.products li.product:has(.order-lub-favorite-toggle) .button {
		grid-column: 6 !important;
		grid-row: 1 !important;
	}
}

@media (max-width: 900px) {
	body.woocommerce-shop .order-lub-shop-content ul.products li.product:has(.order-lub-favorite-toggle),
	body.post-type-archive-product .order-lub-shop-content ul.products li.product:has(.order-lub-favorite-toggle),
	body.tax-product_cat .order-lub-shop-content ul.products li.product:has(.order-lub-favorite-toggle) {
		grid-template-areas:
			"name favorite"
			"spec spec"
			"price price"
			"quantity button" !important;
	}

	.order-lub-shop-content ul.products li.product .order-lub-favorite-toggle {
		grid-area: favorite !important;
		grid-column: auto !important;
		justify-self: end;
	}
}

@media (max-width: 540px) {
	body.woocommerce-shop .order-lub-shop-content ul.products li.product:has(.order-lub-favorite-toggle),
	body.post-type-archive-product .order-lub-shop-content ul.products li.product:has(.order-lub-favorite-toggle),
	body.tax-product_cat .order-lub-shop-content ul.products li.product:has(.order-lub-favorite-toggle) {
		grid-template-columns: minmax(0, 1fr) 42px !important;
		grid-template-areas:
			"name favorite"
			"spec spec"
			"price price"
			"quantity quantity"
			"button button" !important;
	}
}

/* ===================================================
30. SP商品一覧：画像なしリストの最終レイアウト調整

旧カード表示と業務用グリッドの指定をSPだけ解除し、
ログイン状態にかかわらず安定する単純な縦並びにする。
PC（769px以上）には影響させない。
=================================================== */

@media (max-width: 768px) {
	body.woocommerce-shop .order-lub-shop-content ul.products,
	body.post-type-archive-product .order-lub-shop-content ul.products,
	body.tax-product_cat .order-lub-shop-content ul.products {
		display: block !important;
		margin: 0 0 84px !important;
		padding: 0 !important;
		border-top: 1px solid #d8e0e6 !important;
	}

	body.woocommerce-shop .order-lub-shop-content ul.products li.product,
	body.post-type-archive-product .order-lub-shop-content ul.products li.product,
	body.tax-product_cat .order-lub-shop-content ul.products li.product,
	body.woocommerce-shop .order-lub-shop-content ul.products li.product.first,
	body.woocommerce-shop .order-lub-shop-content ul.products li.product.last,
	body.post-type-archive-product .order-lub-shop-content ul.products li.product.first,
	body.post-type-archive-product .order-lub-shop-content ul.products li.product.last,
	body.tax-product_cat .order-lub-shop-content ul.products li.product.first,
	body.tax-product_cat .order-lub-shop-content ul.products li.product.last,
	body.woocommerce-shop .order-lub-shop-content ul.products li.product:has(.order-lub-loop-qty-control),
	body.post-type-archive-product .order-lub-shop-content ul.products li.product:has(.order-lub-loop-qty-control),
	body.tax-product_cat .order-lub-shop-content ul.products li.product:has(.order-lub-loop-qty-control),
	body.woocommerce-shop .order-lub-shop-content ul.products li.product:has(.order-lub-favorite-toggle),
	body.post-type-archive-product .order-lub-shop-content ul.products li.product:has(.order-lub-favorite-toggle),
	body.tax-product_cat .order-lub-shop-content ul.products li.product:has(.order-lub-favorite-toggle) {
		position: relative !important;
		display: flex !important;
		flex-direction: column !important;
		align-items: stretch !important;
		gap: 0 !important;
		width: 100% !important;
		height: auto !important;
		min-height: 0 !important;
		max-height: none !important;
		margin: 0 !important;
		padding: 20px 14px !important;
		border: 0 !important;
		border-bottom: 1px solid #d8e0e6 !important;
		border-radius: 0 !important;
		background: #fff !important;
		overflow: visible !important;
		box-shadow: none !important;
		box-sizing: border-box !important;
	}

	body.woocommerce-shop .order-lub-shop-content ul.products li.product > a.woocommerce-LoopProduct-link,
	body.woocommerce-shop .order-lub-shop-content ul.products li.product > a.woocommerce-loop-product__link,
	body.post-type-archive-product .order-lub-shop-content ul.products li.product > a.woocommerce-LoopProduct-link,
	body.post-type-archive-product .order-lub-shop-content ul.products li.product > a.woocommerce-loop-product__link,
	body.tax-product_cat .order-lub-shop-content ul.products li.product > a.woocommerce-LoopProduct-link,
	body.tax-product_cat .order-lub-shop-content ul.products li.product > a.woocommerce-loop-product__link {
		order: 1 !important;
		display: block !important;
		width: 100% !important;
		margin: 0 0 14px !important;
		padding: 0 52px 0 0 !important;
		box-sizing: border-box !important;
	}

	body.woocommerce-shop .order-lub-shop-content .woocommerce-loop-product__title,
	body.post-type-archive-product .order-lub-shop-content .woocommerce-loop-product__title,
	body.tax-product_cat .order-lub-shop-content .woocommerce-loop-product__title {
		display: block !important;
		width: 100% !important;
		height: auto !important;
		min-height: 0 !important;
		max-height: none !important;
		margin: 0 !important;
		padding: 0 !important;
		color: #132b46 !important;
		font-size: 16px !important;
		font-weight: 800 !important;
		line-height: 1.55 !important;
		text-align: left !important;
		overflow-wrap: anywhere !important;
	}

	.order-lub-shop-content ul.products li.product .order-lub-favorite-toggle {
		position: absolute !important;
		top: 16px !important;
		right: 14px !important;
		z-index: 2 !important;
		width: 42px !important;
		height: 42px !important;
		min-width: 42px !important;
		margin: 0 !important;
	}

	.order-lub-shop-content ul.products li.product .order-lub-loop-product-spec {
		order: 2 !important;
		display: grid !important;
		grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
		gap: 8px !important;
		width: 100% !important;
		margin: 0 0 14px !important;
		padding: 10px 12px !important;
		border-radius: 7px !important;
		background: #f6f8fa !important;
		box-sizing: border-box !important;
	}

	.order-lub-shop-content ul.products li.product .order-lub-loop-product-spec dt {
		margin-bottom: 4px !important;
		font-size: 11px !important;
		line-height: 1.3 !important;
	}

	.order-lub-shop-content ul.products li.product .order-lub-loop-product-spec dd {
		font-size: 13px !important;
		line-height: 1.45 !important;
	}

	body.woocommerce-shop .order-lub-shop-content ul.products li.product .price,
	body.post-type-archive-product .order-lub-shop-content ul.products li.product .price,
	body.tax-product_cat .order-lub-shop-content ul.products li.product .price {
		order: 3 !important;
		display: block !important;
		width: 100% !important;
		height: auto !important;
		min-height: 0 !important;
		max-height: none !important;
		margin: 0 0 14px !important;
		padding: 0 !important;
		text-align: left !important;
	}

	body:not(.logged-in).woocommerce-shop .order-lub-shop-content ul.products li.product .price,
	body:not(.logged-in).post-type-archive-product .order-lub-shop-content ul.products li.product .price,
	body:not(.logged-in).tax-product_cat .order-lub-shop-content ul.products li.product .price {
		display: none !important;
	}

	.order-lub-shop-content ul.products li.product .order-lub-login-price-note {
		order: 3 !important;
		display: block !important;
		width: 100% !important;
		height: auto !important;
		min-height: 0 !important;
		margin: 0 0 14px !important;
		padding: 0 !important;
		color: #5e6b78 !important;
		font-size: 13px !important;
		font-weight: 600 !important;
		line-height: 1.5 !important;
		text-align: left !important;
	}

	.order-lub-shop-content ul.products li.product .order-lub-loop-qty-control {
		order: 4 !important;
		display: grid !important;
		align-self: flex-start !important;
		width: 112px !important;
		height: 36px !important;
		margin: 0 0 10px !important;
	}

	body.woocommerce-shop .order-lub-shop-content ul.products li.product .button,
	body.post-type-archive-product .order-lub-shop-content ul.products li.product .button,
	body.tax-product_cat .order-lub-shop-content ul.products li.product .button,
	body.woocommerce-shop .order-lub-shop-content ul.products li.product .order-lub-login-required-button,
	body.post-type-archive-product .order-lub-shop-content ul.products li.product .order-lub-login-required-button,
	body.tax-product_cat .order-lub-shop-content ul.products li.product .order-lub-login-required-button {
		order: 5 !important;
		display: inline-flex !important;
		align-items: center !important;
		justify-content: center !important;
		width: 100% !important;
		height: 44px !important;
		min-width: 0 !important;
		min-height: 44px !important;
		max-height: none !important;
		margin: 0 !important;
		padding: 0 14px !important;
		font-size: 14px !important;
		line-height: 1.2 !important;
		box-sizing: border-box !important;
	}
}

/* PC商品一覧：規格・粘度・容量・荷姿を個別の列として見出しと揃える。 */
@media (min-width: 901px) {
    .order-lub-product-list-header,
    body:is(.woocommerce-shop, .post-type-archive-product, .tax-product_cat) .order-lub-shop-content ul.products li.product:is(.product) {
        grid-template-columns: minmax(120px, 1fr) minmax(350px, 2.35fr) minmax(130px, .9fr) 112px 156px !important;
        gap: 12px !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    .order-lub-product-list-header.has-favorite-column,
    body:is(.woocommerce-shop, .post-type-archive-product, .tax-product_cat) .order-lub-shop-content ul.products li.product:has(.order-lub-favorite-toggle) {
        grid-template-columns: minmax(120px, 1fr) minmax(350px, 2.35fr) minmax(130px, .9fr) 56px 112px 156px !important;
    }
    .order-lub-product-list-header__spec,
    .order-lub-shop-content .order-lub-loop-product-spec {
        display: grid;
        width: 100%;
        max-width: 350px;
        grid-template-columns: minmax(0, 1.6fr) minmax(0, .9fr) minmax(0, .7fr) minmax(0, .9fr);
        gap: 0;
        align-items: center;
    }
    .order-lub-product-list-header__spec > span,
    .order-lub-shop-content .order-lub-loop-product-spec__item {
        box-sizing: border-box;
        min-width: 0;
        padding: 8px 8px;
        border-left: 0;
    }
    .order-lub-product-list-header__spec > span {
        white-space: nowrap;
        font-size: 12px;
    }
    .order-lub-shop-content .order-lub-loop-product-spec dt {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }
    .order-lub-shop-content .order-lub-loop-product-spec dd {
        font-size: 14px;
        line-height: 1.6;
    }
    body:is(.woocommerce-shop, .post-type-archive-product, .tax-product_cat) .order-lub-shop-content ul.products li.product:is(.product) {
        border-bottom: 0 !important;
    }
}
@media (min-width: 901px) and (max-width: 1000px) {
    .order-lub-product-list-header,
    body:is(.woocommerce-shop, .post-type-archive-product, .tax-product_cat) .order-lub-shop-content ul.products li.product:is(.product) {
        grid-template-columns: minmax(100px, 1fr) minmax(260px, 2fr) minmax(118px, .85fr) 112px 140px !important;
        gap: 8px !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
    .order-lub-product-list-header.has-favorite-column,
    body:is(.woocommerce-shop, .post-type-archive-product, .tax-product_cat) .order-lub-shop-content ul.products li.product:has(.order-lub-favorite-toggle) {
        grid-template-columns: minmax(100px, 1fr) minmax(260px, 2fr) minmax(118px, .85fr) 44px 112px 140px !important;
    }
}

/* 商品一覧：旧在庫停止表示との互換スタイル */
.order-lub-shop-content .order-lub-out-of-stock-price {
	display: inline-block;
	color: #c90012;
	font-size: 17px;
	font-weight: 800;
	line-height: 1.4;
}

.order-lub-shop-content .order-lub-out-of-stock-action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 100%;
	min-height: 40px;
	padding: 8px 14px;
	border: 1px solid #cfd8e1;
	border-radius: 6px;
	background: #f4f6f8;
	color: #596773;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
}

@media (min-width: 901px) {
	.order-lub-shop-content ul.products li.product .order-lub-out-of-stock-action {
		grid-column: 5 !important;
		grid-row: 1 !important;
	}

	.order-lub-shop-content ul.products li.product:has(.order-lub-favorite-toggle) .order-lub-out-of-stock-action {
		grid-column: 6 !important;
	}
}

@media (max-width: 900px) {
	.order-lub-shop-content ul.products li.product .order-lub-out-of-stock-action {
		grid-area: button !important;
	}
}

/* 商品一覧：長納期商品の価格下に表示する案内 */
body.woocommerce-shop .order-lub-shop-content ul.products li.product .price,
body.post-type-archive-product .order-lub-shop-content ul.products li.product .price,
body.tax-product_cat .order-lub-shop-content ul.products li.product .price {
	height: auto !important;
	min-height: 0 !important;
	max-height: none !important;
	white-space: normal !important;
}

body.woocommerce-shop .order-lub-shop-content ul.products li.product .price:has(.order-lub-long-lead-time-note),
body.post-type-archive-product .order-lub-shop-content ul.products li.product .price:has(.order-lub-long-lead-time-note),
body.tax-product_cat .order-lub-shop-content ul.products li.product .price:has(.order-lub-long-lead-time-note) {
	display: flex !important;
	flex-direction: column !important;
	align-items: flex-start !important;
	justify-content: center !important;
	gap: 0 !important;
}

.order-lub-shop-content .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;
}

/* プロユース会員：基本価格の下へ合計5缶以上の1缶価格を表示 */
.order-lub-shop-content .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-shop-content .order-lub-pro-price-breakdown__base,
.order-lub-shop-content .order-lub-pro-price-breakdown__five {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: baseline !important;
	gap: 5px !important;
}

.order-lub-shop-content .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-shop-content .order-lub-pro-price-breakdown__base strong {
	color: #c90012 !important;
	font-size: 18px !important;
	font-weight: 800 !important;
	white-space: nowrap !important;
}

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

.order-lub-shop-content .order-lub-pro-price-breakdown__five small {
	color: #075f9e !important;
}

.order-lub-shop-content .order-lub-pro-price-breakdown__five strong {
	color: #005691 !important;
	font-size: 14px !important;
	font-weight: 800 !important;
	white-space: nowrap !important;
}

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

/* 商品カテゴリ説明：エディタで指定した文字配置をテーマCSSより優先する。 */
body.tax-product_cat .term-description .has-text-align-left,
body.tax-product_cat .woocommerce-products-header__description .has-text-align-left,
body.tax-product_cat .term-description [align="left"],
body.tax-product_cat .woocommerce-products-header__description [align="left"],
body.tax-product_cat .term-description [style*="text-align: left"],
body.tax-product_cat .term-description [style*="text-align:left"],
body.tax-product_cat .woocommerce-products-header__description [style*="text-align: left"],
body.tax-product_cat .woocommerce-products-header__description [style*="text-align:left"] {
	text-align: left !important;
}

body.tax-product_cat .term-description .has-text-align-center,
body.tax-product_cat .woocommerce-products-header__description .has-text-align-center,
body.tax-product_cat .term-description [align="center"],
body.tax-product_cat .woocommerce-products-header__description [align="center"],
body.tax-product_cat .term-description [style*="text-align: center"],
body.tax-product_cat .term-description [style*="text-align:center"],
body.tax-product_cat .woocommerce-products-header__description [style*="text-align: center"],
body.tax-product_cat .woocommerce-products-header__description [style*="text-align:center"] {
	text-align: center !important;
}

body.tax-product_cat .term-description .has-text-align-right,
body.tax-product_cat .woocommerce-products-header__description .has-text-align-right,
body.tax-product_cat .term-description [align="right"],
body.tax-product_cat .woocommerce-products-header__description [align="right"],
body.tax-product_cat .term-description [style*="text-align: right"],
body.tax-product_cat .term-description [style*="text-align:right"],
body.tax-product_cat .woocommerce-products-header__description [style*="text-align: right"],
body.tax-product_cat .woocommerce-products-header__description [style*="text-align:right"] {
	text-align: right !important;
}

/* ===================================================
SP最終調整：カテゴリ・絞り込み・並び替えを省スペース化
=================================================== */
@media (max-width: 768px) {
	body.woocommerce-shop .order-lub-shop-layout,
	body.post-type-archive-product .order-lub-shop-layout,
	body.tax-product_cat .order-lub-shop-layout,
	body.woocommerce-shop .order-lub-shop-layout--has-sidebar,
	body.post-type-archive-product .order-lub-shop-layout--has-sidebar,
	body.tax-product_cat .order-lub-shop-layout--has-sidebar {
		margin-top: 8px !important;
	}

	body.woocommerce-shop aside.order-lub-shop-sidebar,
	body.post-type-archive-product aside.order-lub-shop-sidebar,
	body.tax-product_cat aside.order-lub-shop-sidebar {
		display: grid !important;
		grid-template-columns: auto minmax(0, 1fr) !important;
		gap: 10px !important;
		align-items: center !important;
		margin-bottom: 10px !important;
		padding: 8px 10px !important;
		border-radius: 9px !important;
		box-shadow: 0 3px 12px rgba(15, 23, 42, 0.05) !important;
	}

	body.woocommerce-shop .order-lub-shop-sidebar__title,
	body.post-type-archive-product .order-lub-shop-sidebar__title,
	body.tax-product_cat .order-lub-shop-sidebar__title {
		margin: 0 !important;
		padding-left: 8px !important;
		border-left-width: 3px !important;
		font-size: 13px !important;
		line-height: 1.35 !important;
		white-space: nowrap !important;
	}

	body.woocommerce-shop .order-lub-shop-category-select,
	body.post-type-archive-product .order-lub-shop-category-select,
	body.tax-product_cat .order-lub-shop-category-select {
		height: 38px !important;
		min-height: 38px !important;
		padding-right: 34px !important;
		padding-left: 10px !important;
		border-radius: 6px !important;
		font-size: 13px !important;
	}

	.order-lub-shop-filter {
		margin-bottom: 10px !important;
		padding: 11px 12px 12px !important;
		border-radius: 8px !important;
	}

	.order-lub-shop-filter__title {
		margin-bottom: 4px !important;
		font-size: 16px !important;
		line-height: 1.35 !important;
	}

	.order-lub-shop-filter__description {
		margin-bottom: 9px !important;
		font-size: 11px !important;
		line-height: 1.55 !important;
	}

	.order-lub-shop-filter__description-main,
	.order-lub-shop-filter__description-note {
		display: none !important;
	}

	.order-lub-shop-filter__description-mobile {
		display: block !important;
		color: #5e7081 !important;
	}

	.order-lub-shop-filter__form {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 8px !important;
	}

	.order-lub-shop-filter__field {
		gap: 3px !important;
		font-size: 11px !important;
	}

	.order-lub-shop-filter__field select {
		height: 38px !important;
		min-height: 38px !important;
		padding-right: 30px !important;
		padding-left: 9px !important;
		border-radius: 5px !important;
		font-size: 13px !important;
	}

	.order-lub-shop-filter__actions {
		grid-column: 1 / -1 !important;
		gap: 8px !important;
		min-height: 38px !important;
	}

	.order-lub-shop-filter__submit,
	.order-lub-shop-filter__reset {
		min-height: 38px !important;
		padding-right: 10px !important;
		padding-left: 10px !important;
		font-size: 12px !important;
	}

	body.woocommerce-shop .order-lub-shop-content .woocommerce-ordering,
	body.post-type-archive-product .order-lub-shop-content .woocommerce-ordering,
	body.tax-product_cat .order-lub-shop-content .woocommerce-ordering {
		width: 148px !important;
		margin: 0 0 8px auto !important;
	}

	body.woocommerce-shop .order-lub-shop-content .woocommerce-ordering select,
	body.post-type-archive-product .order-lub-shop-content .woocommerce-ordering select,
	body.tax-product_cat .order-lub-shop-content .woocommerce-ordering select {
		height: 36px !important;
		min-height: 36px !important;
		padding: 0 30px 0 10px !important;
		border-radius: 6px !important;
		font-size: 12px !important;
	}
}

/* PCモックアップ確定版：必ず既存の商品一覧指定より後で上書きする。 */
@media (min-width: 901px) {
	.order-lub-shop-content--empty .order-lub-shop-filter--main {
		display: block !important;
	}

	body.woocommerce-shop .order-lub-shop-layout--has-sidebar,
	body.post-type-archive-product .order-lub-shop-layout--has-sidebar,
	body.tax-product_cat .order-lub-shop-layout--has-sidebar {
		grid-template-columns: 260px minmax(0, 1fr) !important;
		gap: 36px !important;
	}

	body.woocommerce-shop .order-lub-shop-layout--has-sidebar > .order-lub-shop-sidebar,
	body.post-type-archive-product .order-lub-shop-layout--has-sidebar > .order-lub-shop-sidebar,
	body.tax-product_cat .order-lub-shop-layout--has-sidebar > .order-lub-shop-sidebar,
	body.woocommerce-shop aside.order-lub-shop-sidebar,
	body.post-type-archive-product aside.order-lub-shop-sidebar,
	body.tax-product_cat aside.order-lub-shop-sidebar {
		width: 260px !important;
		max-width: 260px !important;
	}

	.order-lub-product-list-header {
		margin: 12px 0 10px !important;
		padding-top: 13px !important;
		padding-bottom: 13px !important;
		border: 0 !important;
		border-radius: 7px !important;
		background: #173f67 !important;
		color: #fff !important;
		box-shadow: none !important;
	}

	.order-lub-product-list-header,
	.order-lub-product-list-header span {
		color: #fff !important;
	}

	body.woocommerce-shop .order-lub-shop-content ul.products,
	body.post-type-archive-product .order-lub-shop-content ul.products,
	body.tax-product_cat .order-lub-shop-content ul.products {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) !important;
		grid-auto-flow: row !important;
		gap: 10px !important;
		width: 100% !important;
		border-top: 0 !important;
		background: transparent !important;
	}

	body.woocommerce-shop .order-lub-shop-content ul.products li.product,
	body.post-type-archive-product .order-lub-shop-content ul.products li.product,
	body.tax-product_cat .order-lub-shop-content ul.products li.product,
	body.woocommerce-shop .order-lub-shop-content ul.products li.product.first,
	body.woocommerce-shop .order-lub-shop-content ul.products li.product.last,
	body.post-type-archive-product .order-lub-shop-content ul.products li.product.first,
	body.post-type-archive-product .order-lub-shop-content ul.products li.product.last,
	body.tax-product_cat .order-lub-shop-content ul.products li.product.first,
	body.tax-product_cat .order-lub-shop-content ul.products li.product.last {
		grid-column: 1 / -1 !important;
		min-height: 96px !important;
		padding-top: 16px !important;
		padding-bottom: 16px !important;
		border: 1px solid #dce5ec !important;
		border-radius: 8px !important;
		background: #fff !important;
		box-shadow: 0 2px 7px rgba(25, 55, 80, 0.035) !important;
		transition: border-color .15s ease, box-shadow .15s ease !important;
	}

	body.woocommerce-shop .order-lub-shop-content ul.products li.product:hover,
	body.post-type-archive-product .order-lub-shop-content ul.products li.product:hover,
	body.tax-product_cat .order-lub-shop-content ul.products li.product:hover {
		border-color: #b9cbd9 !important;
		background: #fff !important;
		box-shadow: 0 5px 14px rgba(25, 55, 80, 0.08) !important;
	}

	body.woocommerce-shop .order-lub-shop-content ul.products li.product .button,
	body.post-type-archive-product .order-lub-shop-content ul.products li.product .button,
	body.tax-product_cat .order-lub-shop-content ul.products li.product .button,
	body.woocommerce-shop .order-lub-shop-content ul.products li.product .order-lub-login-required-button,
	body.post-type-archive-product .order-lub-shop-content ul.products li.product .order-lub-login-required-button,
	body.tax-product_cat .order-lub-shop-content ul.products li.product .order-lub-login-required-button {
		border-radius: 6px !important;
		background: #176fc1 !important;
		box-shadow: none !important;
	}
}

/* 小型PC横はみ出し防止：最終上書き */
@media (min-width: 1441px) {
	body:is(.woocommerce-shop, .post-type-archive-product, .tax-product_cat) .order-lub-product-list-header,
	body:is(.woocommerce-shop, .post-type-archive-product, .tax-product_cat) .order-lub-shop-content ul.products li.product:is(.product) {
		grid-template-columns: minmax(92px, .85fr) minmax(0, 2fr) minmax(104px, .8fr) 112px minmax(128px, 144px) !important;
		gap: 8px !important;
		min-width: 0 !important;
	}

	body:is(.woocommerce-shop, .post-type-archive-product, .tax-product_cat) .order-lub-product-list-header.has-favorite-column,
	body:is(.woocommerce-shop, .post-type-archive-product, .tax-product_cat) .order-lub-shop-content ul.products li.product:has(.order-lub-favorite-toggle) {
		grid-template-columns: minmax(92px, .85fr) minmax(0, 2fr) minmax(104px, .8fr) 48px 112px minmax(128px, 144px) !important;
	}

	body:is(.woocommerce-shop, .post-type-archive-product, .tax-product_cat) .order-lub-shop-content,
	body:is(.woocommerce-shop, .post-type-archive-product, .tax-product_cat) .order-lub-shop-content ul.products,
	body:is(.woocommerce-shop, .post-type-archive-product, .tax-product_cat) .order-lub-shop-content ul.products li.product {
		min-width: 0 !important;
		max-width: 100% !important;
		box-sizing: border-box !important;
	}

	.order-lub-product-list-header__spec,
	.order-lub-shop-content .order-lub-loop-product-spec {
		max-width: 100% !important;
	}

	.order-lub-product-list-header__spec > span {
		padding-right: 4px !important;
		padding-left: 4px !important;
		font-size: 11px !important;
	}
}

@media (min-width: 769px) and (max-width: 1440px) {
	body:is(.woocommerce-shop, .post-type-archive-product, .tax-product_cat) .order-lub-shop-layout--has-sidebar {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) !important;
		gap: 14px !important;
		width: 100% !important;
		max-width: 100% !important;
	}

	body:is(.woocommerce-shop, .post-type-archive-product, .tax-product_cat) .order-lub-shop-layout--has-sidebar > .order-lub-shop-sidebar,
	body:is(.woocommerce-shop, .post-type-archive-product, .tax-product_cat) aside.order-lub-shop-sidebar {
		display: block !important;
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box !important;
	}

	.order-lub-shop-filter--sidebar {
		display: none !important;
	}

	.order-lub-shop-filter--main {
		display: block !important;
	}

	body:is(.woocommerce-shop, .post-type-archive-product, .tax-product_cat) .order-lub-shop-content,
	body:is(.woocommerce-shop, .post-type-archive-product, .tax-product_cat) .order-lub-shop-content ul.products {
		width: 100% !important;
		min-width: 0 !important;
		max-width: 100% !important;
		box-sizing: border-box !important;
	}

	.order-lub-product-list-header {
		display: none !important;
	}

	body:is(.woocommerce-shop, .post-type-archive-product, .tax-product_cat) .order-lub-shop-content ul.products {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) !important;
		gap: 10px !important;
	}

	body:is(.woocommerce-shop, .post-type-archive-product, .tax-product_cat) .order-lub-shop-content ul.products li.product:is(.product),
	body:is(.woocommerce-shop, .post-type-archive-product, .tax-product_cat) .order-lub-shop-content ul.products li.product:has(.order-lub-loop-qty-control),
	body:is(.woocommerce-shop, .post-type-archive-product, .tax-product_cat) .order-lub-shop-content ul.products li.product:has(.order-lub-favorite-toggle) {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) auto !important;
		grid-template-rows: auto !important;
		grid-template-areas:
			"name favorite"
			"spec spec"
			"price price"
			"quantity button" !important;
		gap: 12px 16px !important;
		width: 100% !important;
		min-width: 0 !important;
		max-width: 100% !important;
		height: auto !important;
		min-height: 0 !important;
		padding: 18px !important;
		box-sizing: border-box !important;
	}

	body:is(.woocommerce-shop, .post-type-archive-product, .tax-product_cat) .order-lub-shop-content .woocommerce-loop-product__title {
		grid-area: name !important;
		grid-column: auto !important;
		min-width: 0 !important;
		overflow-wrap: anywhere !important;
	}

	.order-lub-shop-content .order-lub-loop-product-spec {
		grid-area: spec !important;
		grid-column: auto !important;
		width: 100% !important;
		max-width: 100% !important;
	}

	body:is(.woocommerce-shop, .post-type-archive-product, .tax-product_cat) .order-lub-shop-content ul.products li.product .price,
	.order-lub-shop-content ul.products li.product .order-lub-login-price-note {
		grid-area: price !important;
		grid-column: auto !important;
		text-align: left !important;
	}

	.order-lub-shop-content ul.products li.product .order-lub-favorite-toggle {
		grid-area: favorite !important;
		grid-column: auto !important;
		justify-self: end !important;
	}

	.order-lub-shop-content ul.products li.product .order-lub-loop-qty-control {
		grid-area: quantity !important;
		grid-column: auto !important;
		grid-row: auto !important;
	}

	body:is(.woocommerce-shop, .post-type-archive-product, .tax-product_cat) .order-lub-shop-content ul.products li.product .button,
	body:is(.woocommerce-shop, .post-type-archive-product, .tax-product_cat) .order-lub-shop-content ul.products li.product .order-lub-login-required-button {
		grid-area: button !important;
		grid-column: auto !important;
		grid-row: auto !important;
		width: 150px !important;
		min-width: 0 !important;
		max-width: 100% !important;
	}
}
