@charset "UTF-8";
/* 商品ページ: スマホで画面下に固定する「カートへ入れる」バー（static/js/sticky-cart.js が表示を切り替える） */
.sticky-cartbar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1000; /* UIkit のモーダル（1010）より下 */
	background: #fff;
	box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.12);
	padding: 10px 16px;
	padding-bottom: calc(10px + env(safe-area-inset-bottom));
}
.sticky-cartbar[hidden] {
	display: none;
}
.sticky-cartbar-inner {
	display: flex;
	align-items: center;
	gap: 12px;
	max-width: 600px;
	margin: 0 auto;
}
.sticky-cartbar-price {
	flex: 0 0 auto;
	color: #e65c4a; /* 商品ページの価格と同じ色 */
	white-space: nowrap;
}
.sticky-cartbar-amount {
	font-size: 1.25rem;
	font-weight: bold;
}
.sticky-cartbar-tax {
	font-size: 0.75rem;
}
.sticky-cartbar-btn {
	flex: 1 1 auto;
	height: 44px;
	border: none;
	border-radius: 0;
	background: #00a6c4; /* 本来の「カートへ入れる」と同じ色 */
	color: #fff;
	font-size: 1rem;
	letter-spacing: 0.05em;
	cursor: pointer;
}
.sticky-cartbar-btn:hover,
.sticky-cartbar-btn:focus {
	opacity: 0.85;
}
/* バーを出している間は、ページの最後がバーに隠れないようにし、チャットボタンをバーの上に上げる */
body.has-sticky-cart {
	padding-bottom: 72px;
}
body.has-sticky-cart .sakai-chat-container {
	bottom: calc(80px + env(safe-area-inset-bottom)) !important;
}
@media screen and (min-width: 960px) {
	.sticky-cartbar {
		display: none !important;
	}
}
