/* ==========================================================================
   BicCamera Mobile — design tokens & base
   ========================================================================== */
:root {
	--bc-red: #e60012;
	--bc-red-dark: #c0000f;
	--bc-orange: #ff8c00;
	--bc-bg: #f2f2f2;
	--bc-card: #ffffff;
	--bc-text: #333333;
	--bc-text-sub: #777777;
	--bc-line: #e5e5e5;
	--bc-radius: 8px;
	--bc-header-h: 44px;
	--bc-tabbar-h: 56px;
	--bc-font: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
	font-family: var(--bc-font);
	font-size: 14px;
	line-height: 1.6;
	color: var(--bc-text);
	background: var(--bc-bg);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input { font: inherit; }

.bcm-ico { display: block; }

/* ==========================================================================
   Header — white bar like the real smartphone site
   ========================================================================== */
.bcm-header {
	background: #fff;
	color: var(--bc-text);
	border-bottom: 1px solid var(--bc-line);
}

.bcm-header__row {
	display: flex;
	align-items: center;
	height: 51px;
	padding: 0 8px;
	gap: 4px;
}

.bcm-header__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 44px;
	position: relative;
	color: var(--bc-text);
}

.bcm-header__logo {
	flex: 1;
	white-space: nowrap;
	padding-left: 4px;
	display: flex;
	align-items: center;
	min-width: 0;
}
.bcm-header__logo img { display: block; height: 30px; width: auto; max-width: 100%; }

.bcm-header__actions { display: flex; align-items: center; }

.bcm-badge {
	position: absolute;
	top: 2px;
	right: 0;
	min-width: 16px;
	height: 16px;
	padding: 0 4px;
	border-radius: 8px;
	background: var(--bc-red);
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	line-height: 16px;
	text-align: center;
}

.bcm-header__search { padding: 4px 10px 10px; }

.bcm-header__search form {
	display: flex;
	align-items: stretch;
	border: 1px solid #ccc;
	border-radius: 4px;
	overflow: hidden;
	height: 42px;
	background: #fff;
}

.bcm-header__search input {
	flex: 1;
	border: 0;
	outline: 0;
	background: none;
	font-size: 15px;
	padding: 0 12px;
	color: var(--bc-text);
}

.bcm-header__search button {
	flex: 0 0 48px;
	background: var(--bc-red);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
}

.bcm-header__links {
	display: flex;
	gap: 2px;
	overflow-x: auto;
	background: #fff;
	color: var(--bc-text);
	border-top: 1px solid var(--bc-line);
	padding: 0 8px;
	scrollbar-width: none;
}
.bcm-header__links::-webkit-scrollbar { display: none; }

.bcm-header__links a {
	flex: 0 0 auto;
	padding: 9px 8px 8px;
	font-size: 12px;
	font-weight: 600;
	color: var(--bc-text-sub);
	white-space: nowrap;
}

/* ==========================================================================
   Drawer
   ========================================================================== */
.bcm-drawer { position: fixed; inset: 0; z-index: 200; visibility: hidden; }
.bcm-drawer.is-open { visibility: visible; }

.bcm-drawer__scrim {
	position: absolute; inset: 0;
	background: rgba(0, 0, 0, .45);
	opacity: 0;
	transition: opacity .25s;
}
.bcm-drawer.is-open .bcm-drawer__scrim { opacity: 1; }

.bcm-drawer__panel {
	position: absolute;
	z-index: 1;
	top: 0; left: 0; bottom: 0;
	width: 82%;
	max-width: 320px;
	background: #fff;
	transform: translateX(-100%);
	transition: transform .25s;
	overflow-y: auto;
}
.bcm-drawer.is-open .bcm-drawer__panel { transform: none; }

.bcm-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 16px;
	background: #f6f6f6;
	color: var(--bc-text);
	font-weight: 400;
	border-bottom: 1px solid var(--bc-line);
}

.bcm-drawer__auth {
	display: flex;
	gap: 10px;
	padding: 14px 16px;
}
.bcm-drawer__login {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 40px;
	background: var(--bc-red);
	color: #fff;
	border-radius: 4px;
	font-size: 14px;
	font-weight: 700;
}
.bcm-drawer__register {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 40px;
	background: #fff;
	border: 1px solid #70c13f;
	color: #70c13f;
	border-radius: 4px;
	font-size: 14px;
	font-weight: 700;
}

.bcm-drawer__menu { list-style: none; }
.bcm-drawer__menu a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 16px;
	border-bottom: 1px solid var(--bc-line);
	font-size: 14px;
}

/* ==========================================================================
   Placeholder boxes (until licensed assets arrive)
   ========================================================================== */
.bcm-ph {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	background: linear-gradient(135deg, #e8e8e8, #d4d4d4);
	border-radius: var(--bc-radius);
	color: #999;
	font-size: 12px;
	font-weight: 600;
	overflow: hidden;
}
.bcm-ph--hero { border-radius: 0; background: linear-gradient(135deg, #b8000e, #e60012 60%, #ff4d4d); color: rgba(255, 255, 255, .85); font-size: 15px; }

/* ==========================================================================
   Hero carousel — 2:1 banners with next-slide peek, like the real site
   ========================================================================== */
.bcm-hero { background: #fff; padding: 10px 0 4px; }

.bcm-carousel { position: relative; overflow: hidden; }

.bcm-carousel__track {
	display: flex;
	gap: 10px;
	padding: 0 25px;
	transition: transform .4s ease;
}

.bcm-carousel__slide { flex: 0 0 100%; }

.bcm-carousel__dots {
	display: flex;
	justify-content: center;
	gap: 11px;
	padding: 8px 0 4px;
}
.bcm-carousel__dots button {
	width: 8px; height: 8px;
	border-radius: 50%;
	background: #d8d8d8;
}
.bcm-carousel__dots button.is-on { background: var(--bc-red); }

/* ==========================================================================
   Sections
   ========================================================================== */
.bcm-sec { margin-top: 10px; background: var(--bc-card); padding: 14px 0 16px; }

.bcm-sec__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 12px 10px;
}

.bcm-sec__title {
	font-size: 18px;
	font-weight: 400;
	line-height: 1.3;
}

.bcm-sec__more {
	display: flex;
	align-items: center;
	gap: 2px;
	font-size: 12px;
	color: var(--bc-text-sub);
	white-space: nowrap;
}

/* Horizontal scroll card rows */
.bcm-hscroll {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	padding: 0 12px 4px;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}
.bcm-hscroll::-webkit-scrollbar { display: none; }
[hidden] { display: none !important; }

.bcm-cardlink {
	flex: 0 0 38%;
	scroll-snap-align: start;
}
.bcm-cardlink--wide { flex: 0 0 72%; }

/* Category grid (3 cols) */
.bcm-catgrid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
	padding: 0 12px;
}
.bcm-catgrid__item { text-align: center; }
.bcm-catgrid__label {
	display: block;
	margin-top: 5px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.35;
}

/* Deal links (2x2 text chips) */
.bcm-deallinks {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	padding: 0 12px 12px;
}
.bcm-deallinks a {
	padding: 10px;
	border: 1px solid var(--bc-line);
	border-radius: var(--bc-radius);
	font-size: 13px;
	font-weight: 700;
	text-align: center;
	color: var(--bc-red);
	background: #fff;
}

/* Popular search grid (4 cols) */
.bcm-popgrid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 10px 8px;
	padding: 0 12px;
}
.bcm-popgrid__item { text-align: center; }
.bcm-popgrid__label {
	display: block;
	margin-top: 4px;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.3;
}
.bcm-popgrid__all {
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--bc-bg);
	border-radius: var(--bc-radius);
	min-height: 100%;
}
.bcm-popgrid__all .bcm-popgrid__label { margin: 0; color: var(--bc-text-sub); }

/* ==========================================================================
   Footer
   ========================================================================== */
.bcm-footer {
	margin-top: 12px;
	background: #fff;
	padding: 20px 16px 24px;
	border-top: 1px solid var(--bc-line);
}

.bcm-footer__cols {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}
.bcm-footer__col h3 {
	font-size: 13px;
	font-weight: 800;
	margin-bottom: 8px;
	padding-bottom: 6px;
	border-bottom: 2px solid var(--bc-red);
	display: inline-block;
}
.bcm-footer__col a {
	display: block;
	padding: 5px 0;
	font-size: 12px;
	color: var(--bc-text-sub);
}

.bcm-footer__copy {
	margin-top: 18px;
	text-align: center;
	font-size: 11px;
	color: #aaa;
}

/* ==========================================================================
   Bottom tab bar
   ========================================================================== */
.bcm-tabbar {
	position: fixed;
	left: 0; right: 0; bottom: 0;
	z-index: 150;
	display: flex;
	height: calc(var(--bc-tabbar-h) + env(safe-area-inset-bottom));
	padding-bottom: env(safe-area-inset-bottom);
	background: #fff;
	border-top: 1px solid var(--bc-line);
	box-shadow: 0 -1px 6px rgba(0, 0, 0, .08);
}

.bcm-tabbar__item {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	font-size: 10px;
	font-weight: 600;
	color: var(--bc-text-sub);
	position: relative;
}
.bcm-tabbar__item.is-active { color: var(--bc-red); }

/* ==========================================================================
   Generic page wrapper / WooCommerce base reset
   ========================================================================== */
.bcm-page { background: #fff; padding: 16px 12px; min-height: 40vh; }

.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-error {
	margin: 10px 12px;
	padding: 10px 14px;
	border-radius: var(--bc-radius);
	background: #fff;
	border: 1px solid var(--bc-line);
	font-size: 13px;
	list-style: none;
}
.woocommerce .woocommerce-message { border-left: 4px solid #2e9e4f; }
.woocommerce .woocommerce-info { border-left: 4px solid #1e6fd9; }
.woocommerce .woocommerce-error { border-left: 4px solid var(--bc-red); }

/* ==========================================================================
   Category navigation page (/categories/)
   ========================================================================== */
.bcm-catpage { padding: 0; background: var(--bc-bg); }

.bcm-catpage__title {
	background: #fff;
	font-size: 16px;
	font-weight: 800;
	padding: 14px 12px;
	border-bottom: 1px solid var(--bc-line);
}

.bcm-acc { background: #fff; }
.bcm-acc__item + .bcm-acc__item { border-top: 1px solid var(--bc-line); }

.bcm-acc__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 15px 14px;
	font-size: 14px;
	font-weight: 700;
	text-align: left;
}
.bcm-acc__head .bcm-ico { color: var(--bc-text-sub); transition: transform .2s; }
.bcm-acc__head[aria-expanded="true"] .bcm-ico { transform: rotate(90deg); }

.bcm-acc__body { display: none; background: #fafafa; border-top: 1px solid var(--bc-line); }
.bcm-acc__body.is-open { display: block; }

.bcm-acc__link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 14px 12px 26px;
	font-size: 13px;
	border-bottom: 1px solid #f0f0f0;
}
.bcm-acc__link .bcm-ico { color: #bbb; }
.bcm-acc__link--all { color: var(--bc-red); font-weight: 700; }

/* ==========================================================================
   Product archive (list)
   ========================================================================== */
.bcm-plist { background: var(--bc-bg); }

.bcm-plist__bar {
	position: sticky;
	top: calc(var(--bc-header-h) + 83px);
	background: #fff;
	padding: 10px 12px;
	border-bottom: 1px solid var(--bc-line);
}
/* keep it simple: not sticky for now */
.bcm-plist__bar { position: static; }

.bcm-plist__count { font-size: 14px; font-weight: 800; display: block; }
.bcm-plist__count small { color: var(--bc-text-sub); font-weight: 400; font-size: 12px; }

.bcm-plist__tools {
	display: flex;
	gap: 8px;
	margin-top: 8px;
}

.bcm-sort { flex: 1; }
.bcm-sort select {
	width: 100%;
	height: 36px;
	padding: 0 8px;
	border: 1px solid var(--bc-line);
	border-radius: 6px;
	background: #fff;
	font-size: 13px;
}

.bcm-plist__filter {
	display: flex;
	align-items: center;
	gap: 4px;
	height: 36px;
	padding: 0 14px;
	border: 1px solid var(--bc-line);
	border-radius: 6px;
	background: #fff;
	font-size: 13px;
	font-weight: 600;
}

.bcm-pitems { list-style: none; }
.bcm-pitem { background: #fff; border-bottom: 1px solid var(--bc-line); }

.bcm-pitem__link { display: flex; gap: 10px; padding: 12px; }

.bcm-pitem__thumb {
	flex: 0 0 96px;
	width: 96px;
}
.bcm-pitem__thumb img { border-radius: var(--bc-radius); }

.bcm-pitem__info { flex: 1; min-width: 0; }
.bcm-pitem__name {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.45;
}

.bcm-pitem__rating { display: block; font-size: 11px; color: #f5a623; margin-top: 3px; }

.bcm-pitem__price {
	display: block;
	margin-top: 4px;
	font-size: 18px;
	font-weight: 800;
	color: var(--bc-red);
}
.bcm-pitem__price small { font-size: 10px; font-weight: 400; }

.bcm-pitem__points {
	display: inline-block;
	margin-top: 2px;
	font-size: 11px;
	font-weight: 700;
	color: var(--bc-orange);
}

.bcm-pitem__stock { display: block; font-size: 11px; color: #2e9e4f; margin-top: 2px; }
.bcm-pitem__stock--out { color: var(--bc-text-sub); }

.bcm-pager { padding: 14px 12px; background: #fff; }
.bcm-pager ul { display: flex; justify-content: center; gap: 6px; list-style: none; }
.bcm-pager a, .bcm-pager span {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	padding: 0 10px;
	border: 1px solid var(--bc-line);
	border-radius: 6px;
	font-size: 13px;
}
.bcm-pager .current { background: var(--bc-red); border-color: var(--bc-red); color: #fff; font-weight: 700; }

.bcm-plist__empty { padding: 40px 12px; text-align: center; color: var(--bc-text-sub); }

/* Filter bottom sheet */
.bcm-filter { position: fixed; inset: 0; z-index: 200; visibility: hidden; }
.bcm-filter.is-open { visibility: visible; }

.bcm-filter__scrim { position: absolute; inset: 0; background: rgba(0,0,0,.45); opacity: 0; transition: opacity .25s; }
.bcm-filter.is-open .bcm-filter__scrim { opacity: 1; }

.bcm-filter__panel {
	position: absolute;
	left: 0; right: 0; bottom: 0;
	max-height: 70vh;
	background: #fff;
	border-radius: 12px 12px 0 0;
	transform: translateY(100%);
	transition: transform .25s;
	overflow-y: auto;
}
.bcm-filter.is-open .bcm-filter__panel { transform: none; }

.bcm-filter__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 16px;
	font-weight: 800;
	border-bottom: 1px solid var(--bc-line);
}

.bcm-filter__body { padding: 14px 16px 24px; }
.bcm-filter__body h3 { font-size: 13px; font-weight: 800; margin-bottom: 8px; }
.bcm-filter__link {
	display: flex;
	justify-content: space-between;
	padding: 10px 0;
	border-bottom: 1px solid #f0f0f0;
	font-size: 13px;
}

/* ==========================================================================
   Single product
   ========================================================================== */
.bcm-pd { background: #fff; }

.bcm-pd__crumbs {
	display: flex;
	align-items: center;
	gap: 4px;
	padding: 8px 12px;
	font-size: 11px;
	color: var(--bc-text-sub);
	background: var(--bc-bg);
	overflow: hidden;
	white-space: nowrap;
}
.bcm-pd__crumbs span { overflow: hidden; text-overflow: ellipsis; }
.bcm-pd__crumbs .bcm-ico { flex: 0 0 auto; color: #bbb; }

.bcm-pd__gallery { background: #fff; }
.bcm-pd__gallery .bcm-carousel__slide img { width: 100%; }
.bcm-carousel__dots--dark button { background: #ccc; }
.bcm-carousel__dots--dark button.is-on { background: var(--bc-red); }

.bcm-pd__body { padding: 0 0 20px; }

.bcm-pd__name {
	padding: 12px 12px 0;
	font-size: 16px;
	font-weight: 800;
	line-height: 1.5;
}

.bcm-pd__meta {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 6px 12px 0;
	font-size: 12px;
}
.bcm-pd__rlink { color: var(--bc-text-sub); }

.bcm-pd__stars { position: relative; display: inline-block; font-size: 0; }
.bcm-pd__stars::before { content: "★★★★★"; font-size: 14px; color: #ddd; }
.bcm-pd__stars::after {
	content: "★★★★★";
	font-size: 14px;
	color: #f5a623;
	position: absolute;
	left: 0; top: 0;
	width: calc(var(--rating) / 5 * 100%);
	overflow: hidden;
}

.bcm-pd__pricebox {
	margin: 10px 12px 0;
	padding: 12px;
	background: #fff5f5;
	border-radius: var(--bc-radius);
}

.bcm-pd__price {
	font-size: 26px;
	font-weight: 800;
	color: var(--bc-red);
	line-height: 1.2;
}
.bcm-pd__price small { font-size: 11px; font-weight: 400; }
.bcm-pd__points { margin-top: 2px; font-size: 12px; font-weight: 700; color: var(--bc-orange); }

.bcm-pd__stockline {
	display: flex;
	gap: 12px;
	padding: 8px 12px 0;
	font-size: 12px;
}
.bcm-pd__stock { color: #2e9e4f; font-weight: 700; }
.bcm-pd__stock--out { color: var(--bc-text-sub); }
.bcm-pd__ship { color: var(--bc-text-sub); }

.bcm-pd__excerpt { padding: 8px 12px 0; font-size: 13px; color: var(--bc-text-sub); }

.bcm-pd__sec { margin-top: 16px; padding: 0 12px; }
.bcm-pd__sec h2 {
	font-size: 14px;
	font-weight: 800;
	padding: 8px 10px;
	background: var(--bc-bg);
	border-left: 4px solid var(--bc-red);
	margin-bottom: 10px;
}
.bcm-pd__desc { font-size: 13px; line-height: 1.8; }

.bcm-pd__specs { width: 100%; border-collapse: collapse; font-size: 12px; }
.bcm-pd__specs th, .bcm-pd__specs td {
	padding: 8px 10px;
	border: 1px solid var(--bc-line);
	text-align: left;
	vertical-align: top;
}
.bcm-pd__specs th { width: 34%; background: #fafafa; font-weight: 600; }

.bcm-pd__rsummary { font-size: 13px; color: var(--bc-text-sub); }

.bcm-hscroll--pad { padding: 0 0 4px; }
.bcm-rcard { flex: 0 0 40%; }
.bcm-rcard img { border-radius: var(--bc-radius); }
.bcm-rcard__name {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin-top: 5px;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.4;
}
.bcm-rcard__price { font-size: 13px; font-weight: 800; color: var(--bc-red); }

/* Fixed add-to-cart bar */
.bcm-cta__form { display: flex; gap: 8px; }

.bcm-cta__qty {
	display: flex;
	align-items: center;
	border: 1px solid var(--bc-line);
	border-radius: 6px;
	overflow: hidden;
}
.bcm-cta__qty button {
	width: 34px;
	height: 44px;
	font-size: 18px;
	background: #fafafa;
}
.bcm-cta__qty input {
	width: 42px;
	height: 44px;
	border: 0;
	border-left: 1px solid var(--bc-line);
	border-right: 1px solid var(--bc-line);
	text-align: center;
	font-size: 15px;
	font-weight: 700;
	-moz-appearance: textfield;
	appearance: textfield;
}
.bcm-cta__qty input::-webkit-outer-spin-button,
.bcm-cta__qty input::-webkit-inner-spin-button { -webkit-appearance: none; }

.bcm-cta__cart {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	height: 44px;
	background: var(--bc-red);
	color: #fff;
	border-radius: 6px;
	font-size: 15px;
	font-weight: 800;
}
.bcm-cta__cart:active { background: var(--bc-red-dark); }

/* ==========================================================================
   Cart
   ========================================================================== */
.woocommerce-cart .bcm-page { padding: 0; background: var(--bc-bg); }

.woocommerce-cart .woocommerce-cart-form { background: #fff; margin-top: 10px; }

.woocommerce-cart table.shop_table,
.woocommerce-cart table.shop_table thead,
.woocommerce-cart table.shop_table tbody,
.woocommerce-cart table.shop_table tr,
.woocommerce-cart table.shop_table td { display: block; width: 100%; border: 0; }

.woocommerce-cart table.shop_table thead { display: none; }

.woocommerce-cart .cart_item {
	position: relative;
	display: grid !important;
	grid-template-columns: 72px 1fr;
	grid-template-areas:
		"thumb name"
		"thumb price"
		"thumb qty"
		"thumb subtotal";
	gap: 2px 10px;
	padding: 14px 12px;
	border-bottom: 1px solid var(--bc-line) !important;
}

.woocommerce-cart .cart_item td { padding: 0; text-align: left !important; }
.woocommerce-cart .cart_item td::before { display: none; }

.woocommerce-cart .product-thumbnail { grid-area: thumb; }
.woocommerce-cart .product-thumbnail img { width: 72px; height: 72px; object-fit: contain; border-radius: 6px; }

.woocommerce-cart .product-name { grid-area: name; font-size: 13px; font-weight: 600; line-height: 1.45; }

.woocommerce-cart .product-price { grid-area: price; font-size: 12px; color: var(--bc-text-sub); }

.woocommerce-cart .product-quantity { grid-area: qty; margin-top: 4px; }
.woocommerce-cart .quantity input {
	width: 56px;
	height: 34px;
	border: 1px solid var(--bc-line);
	border-radius: 6px;
	text-align: center;
	font-size: 14px;
}

.woocommerce-cart .product-subtotal { grid-area: subtotal; font-size: 15px; font-weight: 800; color: var(--bc-red); }

.woocommerce-cart .product-remove {
	position: absolute;
	top: 10px;
	right: 10px;
	width: auto !important;
}
.woocommerce-cart .product-remove a {
	font-size: 18px;
	color: #bbb !important;
	text-decoration: none;
}

.woocommerce-cart .actions { padding: 12px; }
.woocommerce-cart .actions .coupon {
	display: flex;
	gap: 8px;
	margin-bottom: 10px;
}
.woocommerce-cart .actions .coupon input {
	flex: 1;
	height: 40px;
	border: 1px solid var(--bc-line);
	border-radius: 6px;
	padding: 0 10px;
	font-size: 13px;
}
.woocommerce-cart button.button,
.woocommerce-cart a.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 40px;
	padding: 0 16px;
	border: 1px solid var(--bc-line);
	border-radius: 6px;
	background: #fff;
	font-size: 13px;
	font-weight: 600;
	color: var(--bc-text);
}

.woocommerce-cart .cart-collaterals { margin-top: 10px; background: #fff; padding: 14px 12px; }
.woocommerce-cart .cart_totals h2 { font-size: 15px; font-weight: 800; margin-bottom: 10px; }
.woocommerce-cart .cart_totals table { width: 100%; border-collapse: collapse; font-size: 13px; }
.woocommerce-cart .cart_totals th, .woocommerce-cart .cart_totals td {
	padding: 8px 0;
	border: 0 !important;
	border-bottom: 1px solid #f0f0f0 !important;
	text-align: left;
	vertical-align: top;
}
.woocommerce-cart .cart_totals td { text-align: right; }
.woocommerce-cart .cart_totals .order-total th,
.woocommerce-cart .cart_totals .order-total td { font-size: 17px; font-weight: 800; color: var(--bc-red); border-bottom: 0 !important; }

.woocommerce-cart .wc-proceed-to-checkout { margin-top: 14px; }
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 48px;
	background: var(--bc-red);
	color: #fff;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 800;
}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:active { background: var(--bc-red-dark); }

.woocommerce-cart .cart-empty,
.woocommerce-cart .return-to-shop { text-align: center; padding: 30px 12px; background: #fff; margin-top: 10px; }
.woocommerce-cart .return-to-shop a { color: var(--bc-red); font-weight: 700; }

/* ==========================================================================
   Checkout
   ========================================================================== */
.woocommerce-checkout .bcm-page { padding: 0; background: var(--bc-bg); }

.woocommerce-checkout form.checkout { margin-top: 10px; }
.woocommerce-checkout .col2-set,
.woocommerce-checkout #order_review_heading,
.woocommerce-checkout #order_review { background: #fff; padding: 14px 12px; margin-bottom: 10px; }

.woocommerce-checkout h3, .woocommerce-checkout #order_review_heading {
	font-size: 15px;
	font-weight: 800;
	margin-bottom: 12px;
	padding-left: 10px;
	border-left: 4px solid var(--bc-red);
}

.woocommerce-checkout .form-row { display: block; margin-bottom: 12px; width: 100% !important; float: none !important; }
.woocommerce-checkout .form-row label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 4px; }
.woocommerce-checkout .form-row .required { color: var(--bc-red); }
.woocommerce-checkout .form-row input.input-text,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea {
	width: 100%;
	height: 44px;
	border: 1px solid var(--bc-line);
	border-radius: 6px;
	padding: 0 12px;
	font-size: 14px;
	background: #fff;
}
.woocommerce-checkout .form-row textarea { height: auto; padding: 10px 12px; }

.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-shipping-fields,
.woocommerce-checkout .woocommerce-additional-fields { margin-bottom: 10px; }

.woocommerce-checkout #order_review table { width: 100%; border-collapse: collapse; font-size: 13px; }
.woocommerce-checkout #order_review th, .woocommerce-checkout #order_review td {
	padding: 8px 0;
	border: 0 !important;
	border-bottom: 1px solid #f0f0f0 !important;
	text-align: left;
	vertical-align: top;
}
.woocommerce-checkout #order_review tfoot th { text-align: left; }
.woocommerce-checkout #order_review tfoot td { text-align: right; }
.woocommerce-checkout #order_review .order-total th,
.woocommerce-checkout #order_review .order-total td { font-size: 17px; font-weight: 800; color: var(--bc-red); }

.woocommerce-checkout #payment { background: transparent; padding: 0; }
.woocommerce-checkout #payment ul.payment_methods { list-style: none; padding: 0; }
.woocommerce-checkout #payment li { padding: 10px 0; border-bottom: 1px solid #f0f0f0; font-size: 13px; }
.woocommerce-checkout #payment .payment_box { background: #fafafa; border-radius: 6px; padding: 10px; margin-top: 8px; font-size: 12px; color: var(--bc-text-sub); }

.woocommerce-checkout #place_order {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 50px;
	margin-top: 14px;
	background: var(--bc-red);
	color: #fff;
	border: 0;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 800;
}

.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper { font-size: 12px; color: var(--bc-text-sub); margin-top: 12px; }

/* Notices & form validation */
.woocommerce .woocommerce-error { color: var(--bc-red); }
.woocommerce form .form-row.woocommerce-invalid input.input-text { border-color: var(--bc-red); }
.woocommerce form .form-row.woocommerce-validated input.input-text { border-color: #2e9e4f; }

/* ==========================================================================
   My account / login / register
   ========================================================================== */
.woocommerce-account .bcm-page { padding: 0; background: var(--bc-bg); }

.woocommerce-account .woocommerce { padding: 12px; }

/* Login / register cards */
.woocommerce-account .u-columns {
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
}
.woocommerce-account .u-column1,
.woocommerce-account .u-column2 {
	background: #fff;
	border-radius: var(--bc-radius);
	padding: 18px 14px;
	width: 100% !important;
	float: none !important;
}
.woocommerce-account h2 {
	font-size: 16px;
	font-weight: 800;
	margin-bottom: 12px;
	padding-left: 10px;
	border-left: 4px solid var(--bc-red);
}
.woocommerce-account .form-row { margin-bottom: 12px; }
.woocommerce-account .form-row label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 4px; }
.woocommerce-account .form-row input.input-text {
	width: 100%;
	height: 44px;
	border: 1px solid var(--bc-line);
	border-radius: 6px;
	padding: 0 12px;
	font-size: 14px;
}
.woocommerce-account .woocommerce-button.button,
.woocommerce-account button.button,
.woocommerce-account a.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 20px;
	background: var(--bc-red);
	color: #fff !important;
	border: 0;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 800;
}
.woocommerce-account .woocommerce-privacy-policy-text { font-size: 11px; color: var(--bc-text-sub); }
.woocommerce-account .woocommerce-LostPassword a { font-size: 12px; color: var(--bc-text-sub); }
.woocommerce-account label.woocommerce-form__label-for-checkbox { font-size: 12px; }

/* Logged-in account nav */
.woocommerce-account .woocommerce-MyAccount-navigation {
	background: #fff;
	border-radius: var(--bc-radius);
	margin-bottom: 12px;
	overflow-x: auto;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul {
	display: flex;
	list-style: none;
	white-space: nowrap;
}
.woocommerce-account .woocommerce-MyAccount-navigation li a {
	display: block;
	padding: 13px 16px;
	font-size: 13px;
	font-weight: 600;
	color: var(--bc-text-sub);
	border-bottom: 2px solid transparent;
}
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
	color: var(--bc-red);
	border-bottom-color: var(--bc-red);
}

.woocommerce-account .woocommerce-MyAccount-content {
	background: #fff;
	border-radius: var(--bc-radius);
	padding: 16px 14px;
	font-size: 13px;
}
.woocommerce-account .woocommerce-MyAccount-content p { margin-bottom: 10px; }

/* Orders table -> cards */
.woocommerce-account table.woocommerce-orders-table,
.woocommerce-account table.woocommerce-orders-table thead,
.woocommerce-account table.woocommerce-orders-table tbody,
.woocommerce-account table.woocommerce-orders-table tr,
.woocommerce-account table.woocommerce-orders-table td { display: block; width: 100%; border: 0; }
.woocommerce-account table.woocommerce-orders-table thead { display: none; }
.woocommerce-account .woocommerce-orders-table tr {
	padding: 12px 0;
	border-bottom: 1px solid var(--bc-line) !important;
}
.woocommerce-account .woocommerce-orders-table td { padding: 2px 0; text-align: left !important; font-size: 13px; }
.woocommerce-account .woocommerce-orders-table td::before {
	content: attr(data-title) "：";
	font-size: 11px;
	color: var(--bc-text-sub);
	margin-right: 4px;
}
.woocommerce-account .woocommerce-orders-table .woocommerce-orders-table__cell-order-actions::before { display: none; }
.woocommerce-account .woocommerce-orders-table .button { min-height: 34px; font-size: 12px; margin-top: 6px; }

/* Address cards */
.woocommerce-account .woocommerce-Addresses .woocommerce-Address {
	background: #fafafa;
	border-radius: var(--bc-radius);
	padding: 12px;
	margin-bottom: 10px;
	width: 100% !important;
	float: none !important;
}
.woocommerce-account .woocommerce-Address-title h3 { font-size: 13px; font-weight: 800; display: inline; }
.woocommerce-account .woocommerce-Address-title .edit { font-size: 12px; color: var(--bc-red); margin-left: 8px; }

/* ==========================================================================
   Wishlist
   ========================================================================== */
.bcm-pd__wishlist { padding: 10px 12px 0; }
.bcm-pd__wishlist .tinvwl_add_to_wishlist_button {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: 100%;
	height: 44px;
	border: 1px solid var(--bc-red);
	border-radius: 6px;
	background: #fff;
	color: var(--bc-red);
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
}
.bcm-pd__wishlist .tinvwl_add_to_wishlist_button.tinvwl-product-in-list {
	background: #fff5f5;
}

/* Wishlist page */
.tinv-wishlist .bcm-page { padding: 0; background: var(--bc-bg); }
.tinv-wishlist .tinv-header { background: #fff; padding: 14px 12px; font-size: 16px; font-weight: 800; margin-top: 10px; }
.tinv-wishlist table.tinvwl-table-manage-list,
.tinv-wishlist table.tinvwl-table-manage-list thead,
.tinv-wishlist table.tinvwl-table-manage-list tbody,
.tinv-wishlist table.tinvwl-table-manage-list tr,
.tinv-wishlist table.tinvwl-table-manage-list td { display: block; width: 100%; border: 0; }
.tinv-wishlist table.tinvwl-table-manage-list thead { display: none; }
.tinv-wishlist .tinvwl-table-manage-list tr {
	background: #fff;
	padding: 12px;
	border-bottom: 1px solid var(--bc-line) !important;
}
.tinv-wishlist .tinvwl-table-manage-list td { padding: 2px 0; text-align: left !important; }
.tinv-wishlist .product-thumbnail img { width: 72px; border-radius: 6px; }
.tinv-wishlist .product-name { font-size: 13px; font-weight: 600; }
.tinv-wishlist .product-price { font-size: 15px; font-weight: 800; color: var(--bc-red); }
.tinv-wishlist .product-action .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	padding: 0 16px;
	background: var(--bc-red);
	color: #fff !important;
	border-radius: 6px;
	font-size: 13px;
	font-weight: 700;
}
.tinv-wishlist .product-remove .remove { font-size: 18px; color: #bbb; text-decoration: none; }
.tinv-wishlist .tinvwl-break-text { padding: 30px 12px; text-align: center; color: var(--bc-text-sub); }
.tinv-wishlist .tinvwl-buttons-group .button { background: var(--bc-red); color: #fff; border-radius: 6px; padding: 10px 16px; }

/* ==========================================================================
   Static pages
   ========================================================================== */
.bcm-static__title {
	font-size: 18px;
	font-weight: 800;
	padding: 14px 12px;
	background: #fff;
	border-bottom: 1px solid var(--bc-line);
}
.bcm-static { padding: 0; background: var(--bc-bg); }
.bcm-static__body { background: #fff; padding: 16px 12px; font-size: 13px; line-height: 1.9; }
.bcm-static__body h2 {
	font-size: 14px;
	font-weight: 800;
	margin: 18px 0 8px;
	padding-left: 10px;
	border-left: 4px solid var(--bc-red);
}
.bcm-static__body h2:first-child { margin-top: 0; }
.bcm-static__body p { color: var(--bc-text-sub); margin-bottom: 6px; }

/* FAQ accordion (help page, official style) */
.bcm-faq { background: #fff; border-bottom: 1px solid var(--bc-line); }
.bcm-faq summary {
	display: flex; align-items: center; justify-content: space-between; gap: 8px;
	padding: 12px; font-size: 13px; font-weight: 600; cursor: pointer; list-style: none;
}
.bcm-faq summary::-webkit-details-marker { display: none; }
.bcm-faq summary::after { content: "›"; color: #999; font-size: 18px; transform: rotate(90deg); transition: transform .2s; }
.bcm-faq[open] summary::after { transform: rotate(-90deg); }
.bcm-faq__a { padding: 0 12px 14px; font-size: 12px; line-height: 1.9; color: var(--bc-text-sub); }
.bcm-faq-cat { background: var(--bc-bg); padding: 10px 12px 6px; font-size: 13px; font-weight: 700; color: var(--bc-text); border-left: 4px solid #d8191f; margin-top: 14px; }
.bcm-faq-cat:first-child { margin-top: 0; }
.bcm-contact { background: #fff; margin-top: 14px; padding: 14px 12px; text-align: center; }
.bcm-contact__title { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.bcm-contact__text { font-size: 12px; color: var(--bc-text-sub); line-height: 1.8; }

/* ==========================================================================
   Fidelity pass 2 — real smartphone-site details
   ========================================================================== */
.bcm-ph--hero { border-radius: 6px; }

.bcm-sqgrid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	padding: 0 10px;
}
.bcm-sqgrid__item .bcm-ph { border-radius: 6px; }

/* sections sit directly on white like the real TOP */
.bcm-sec { margin-top: 0; padding: 10px 0 16px; }
.bcm-sec + .bcm-sec { border-top: 1px solid var(--bc-line); }
.bcm-sec__head { padding: 10px 12px 12px; }

.bcm-catgrid, .bcm-popgrid { padding: 0 10px; }
.bcm-hscroll { padding: 0 10px 4px; scroll-padding: 0 10px; }

/* ==========================================================================
   Fidelity pass 3 — sticky search, 円 prices, red points
   ========================================================================== */
.bcm-header { position: relative; }
.bcm-header__search {
	position: sticky;
	top: 0;
	z-index: 110;
	background: #fff;
	padding: 6px 10px 10px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, .12);
}

/* price as "79,800円" */
.bcm-yen { font-weight: 800; color: var(--bc-red); }
.bcm-yen small { font-size: .55em; font-weight: 400; }

/* points in red like the official site */
.bcm-pitem__points, .bcm-pd__points { color: var(--bc-red) !important; }

/* gold stars */
.bcm-stars { color: #f5a623; letter-spacing: 1px; }
.bcm-stars__count { color: #356bb3; font-size: 11px; margin-left: 4px; }

.bcm-pts { font-size: 12px; font-weight: 700; color: var(--bc-red); }
.bcm-pitem__price .bcm-yen { font-size: 18px; }
.bcm-pd__price .bcm-yen { font-size: 26px; }
.bcm-rcard__price .bcm-yen { font-size: 14px; }

/* ==========================================================================
   TOP rebuild — official section components
   ========================================================================== */
.bcm-sec__title { font-size: 15px; font-weight: 700; }
.bcm-sec__title--solo { padding: 12px 12px 8px; }
.bcm-sec__head { align-items: baseline; }
.bcm-sec__more { color: #0068b7; font-size: 12px; }
.bcm-sec--flat { padding: 0; }

.bcm-header__auth { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.25; margin-right: 2px; }
.bcm-header__auth a { font-size: 10px; color: var(--bc-text); white-space: nowrap; }

.bcm-header__links a { position: relative; }
.bcm-header__links a + a::before {
	content: "|";
	position: absolute;
	left: -7px;
	top: 50%;
	transform: translateY(-50%);
	color: #ccc;
	font-size: 10px;
}

.bcm-pcard { flex: 0 0 108px; max-width: 108px; scroll-snap-align: start; display: block; }
.bcm-pcard__img { display: block; aspect-ratio: 1/1; overflow: hidden; }
.bcm-pcard__img img { width: 100%; height: 100%; object-fit: contain; }
.bcm-pcard__img .bcm-ph { border-radius: 4px; }
.bcm-pcard__name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 11px; line-height: 1.35; margin-top: 4px; min-height: 30px; }
.bcm-pcard__price { display: block; margin-top: 2px; }
.bcm-pcard__price .bcm-yen { font-size: 14px; }
.bcm-pcard__pts { display: block; font-size: 10px; color: var(--bc-text-sub); }

.bcm-sqgrid__item { position: relative; display: block; }
.bcm-sqgrid__item img { border-radius: 6px; width: 100%; }
.bcm-sqgrid__item--labeled .bcm-ph { border-radius: 6px; }
.bcm-sqgrid__label { display: block; text-align: center; font-size: 12px; font-weight: 700; margin-top: 4px; }

.bcm-svc { margin: 0 10px; background: #faf6ea; border: 1px solid #e8dfc8; border-radius: 6px; padding: 10px 8px 12px; }
.bcm-svc__head { text-align: center; font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.bcm-svc__logo { color: var(--bc-red); }
.bcm-svc__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 4px; text-align: center; }
.bcm-svc__grid b { display: block; color: var(--bc-red); font-size: 15px; font-weight: 800; line-height: 1.2; }
.bcm-svc__grid small { display: block; font-size: 10px; color: var(--bc-text-sub); line-height: 1.3; }

.bcm-banner { display: block; }
.bcm-banner img { width: 100%; }
.bcm-banner--pad { display: block; margin: 6px 10px; }
.bcm-banner--pad img, .bcm-banner--pad .bcm-ph { border-radius: 6px; }

.bcm-rowlink { display: flex; align-items: center; justify-content: space-between; gap: 8px; background: #fff; padding: 12px; font-size: 12px; border-bottom: 1px solid var(--bc-line); }
.bcm-rowlink__chev { color: #999; font-size: 18px; line-height: 1; flex: 0 0 auto; }

.bcm-tabs { display: flex; gap: 6px; padding: 0 12px 10px; overflow-x: auto; scrollbar-width: none; }
.bcm-tabs::-webkit-scrollbar { display: none; }
.bcm-tabs button { flex: 1 0 auto; border: 1px solid var(--bc-line); border-radius: 4px; background: #fff; font-size: 12px; padding: 7px 12px; color: var(--bc-text); white-space: nowrap; }
.bcm-tabs button.is-on { background: #555; border-color: #555; color: #fff; font-weight: 700; }

.bcm-cat2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--bc-line); border-top: 1px solid var(--bc-line); }
.bcm-cat2__item { display: flex; align-items: center; justify-content: space-between; gap: 6px; background: #fff; padding: 4px 8px; min-height: 50px; }
.bcm-cat2__label { font-size: 11px; font-weight: 700; line-height: 1.35; flex: 1; min-width: 0; }
.bcm-cat2__img { flex: 1; }
.bcm-cat2__img .bcm-ph { border-radius: 4px; font-size: 9px; }

/* pickup/article rows */
.bcm-pickrow { display: flex; align-items: center; gap: 10px; background: #fff; padding: 10px 12px; border-bottom: 1px solid var(--bc-line); }
.bcm-pickrow__img { flex: 0 0 108px; }
.bcm-pickrow__img img { display: block; width: 108px; height: auto; }
.bcm-pickrow__img .bcm-ph { border-radius: 4px; font-size: 9px; }
.bcm-pickrow__txt { flex: 1; min-width: 0; }
.bcm-pickrow__txt b { display: block; font-size: 12px; line-height: 1.4; }
.bcm-pickrow__txt small { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 11px; color: var(--bc-text-sub); line-height: 1.4; margin-top: 2px; }

/* ranking */
.bcm-rank__period { font-size: 10px; color: var(--bc-text-sub); }
.bcm-rank__cat { text-align: center; font-size: 13px; font-weight: 700; background: #f2f2f2; border-top: 1px solid var(--bc-line); border-bottom: 1px solid var(--bc-line); padding: 8px; }
.bcm-rank__row { display: flex; gap: 8px; padding: 14px 12px 4px; }
.bcm-rank__item { flex: 1; min-width: 0; position: relative; display: block; }
.bcm-rank__crown { position: absolute; top: -10px; left: 0; z-index: 2; width: 26px; height: 20px; display: flex; align-items: flex-end; justify-content: center; clip-path: polygon(0 100%, 0 30%, 25% 60%, 50% 0, 75% 60%, 100% 30%, 100% 100%); }
.bcm-rank__crown i { font-style: normal; font-size: 10px; font-weight: 800; color: #fff; line-height: 1.6; }
.bcm-rank__crown--1 { background: #d8a800; }
.bcm-rank__crown--2 { background: #9e9e9e; }
.bcm-rank__crown--3 { background: #b87333; }
.bcm-stars { display: block; font-size: 10px; color: #f5a623; }

.bcm-morelink { display: block; text-align: center; color: #0068b7; font-size: 13px; padding: 10px 0 14px; }

.bcm-svcrow { display: flex; justify-content: center; gap: 18px; padding: 14px 8px 4px; color: #444; }
.bcm-center { text-align: center; padding: 10px 0 4px; }
.bcm-btn-red { display: inline-block; background: var(--bc-red); color: #fff; font-size: 13px; font-weight: 700; border-radius: 22px; padding: 10px 34px; }

.bcm-applesp { display: block; background: #111; color: #fff; text-align: center; margin: 10px 10px 0; border-radius: 6px; padding: 18px 12px; }
.bcm-applesp b { display: block; font-size: 16px; letter-spacing: 1px; }
.bcm-applesp small { display: block; font-size: 11px; color: #ccc; margin-top: 8px; line-height: 1.6; }

.bcm-biz { display: block; background: #fff; border: 2px solid var(--bc-red); border-radius: 6px; margin: 10px; padding: 12px; text-align: center; }
.bcm-biz b { color: var(--bc-red); font-size: 18px; font-weight: 900; }
.bcm-biz b span { background: var(--bc-red); color: #fff; font-size: 10px; border-radius: 3px; padding: 2px 5px; vertical-align: middle; }
.bcm-biz small { display: block; font-size: 11px; color: var(--bc-text-sub); margin-top: 4px; }

/* ==========================================================================
   Footer — official replica
   ========================================================================== */
.bcm-footer { background: #fff; margin-top: 10px; border-top: 1px solid var(--bc-line); }
.bcm-frows { background: #fff; }
.bcm-fhead { font-size: 13px; font-weight: 700; padding: 12px; border-bottom: 1px solid var(--bc-line); }
.bcm-facc { border-bottom: 1px solid var(--bc-line); }
.bcm-facc summary { display: flex; align-items: center; justify-content: space-between; padding: 12px; font-size: 12px; cursor: pointer; list-style: none; }
.bcm-facc summary::-webkit-details-marker { display: none; }
.bcm-facc__plus { position: relative; width: 14px; height: 14px; flex: 0 0 auto; }
.bcm-facc__plus::before, .bcm-facc__plus::after { content: ""; position: absolute; background: #888; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.bcm-facc__plus::before { width: 12px; height: 2px; }
.bcm-facc__plus::after { width: 2px; height: 12px; }
.bcm-facc[open] .bcm-facc__plus::after { display: none; }
.bcm-facc__body { padding: 0 12px 10px; }
.bcm-facc__body a { display: block; font-size: 12px; color: #0068b7; padding: 6px 0; }

.bcm-sns { display: flex; justify-content: center; gap: 16px; padding: 18px 0 6px; }
.bcm-sns a { width: 40px; height: 40px; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #fff; }
.bcm-sns__x { background: #000; }
.bcm-sns__ig { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.bcm-sns__tt { background: #000; }
.bcm-sns__yt { background: #ff0000; }

.bcm-warn { margin: 14px 16px; border: 2px dashed var(--bc-red); border-radius: 6px; color: var(--bc-red); font-size: 12px; font-weight: 700; text-align: center; line-height: 1.7; padding: 10px 8px; }

.bcm-fcorps { display: flex; gap: 10px; padding: 4px 24px 18px; }
.bcm-fcorps__col { flex: 1; }
.bcm-fcorps__col a { display: block; font-size: 11px; color: #0068b7; padding: 5px 0; text-align: center; }

.bcm-footer__copy { background: #595757; color: #fff; text-align: center; font-size: 11px; padding: 12px 0 calc(12px + env(safe-area-inset-bottom)); margin: 0; }

.bcm-pagetop { position: fixed; right: 10px; bottom: 76px; z-index: 90; width: 52px; background: rgba(89, 87, 87, .85); color: #fff; border-radius: 6px; text-align: center; padding: 6px 2px; line-height: 1.2; }
.bcm-pagetop span { display: block; font-size: 12px; }
.bcm-pagetop small { display: block; font-size: 8px; }

/* cat2 real images */
.bcm-cat2__img { flex: 0 0 96px; }
.bcm-cat2__img img { display: block; width: 96px; height: 46px; object-fit: contain; object-position: center; }

/* footer shareholder coupon */
.bcm-fyutai { text-align: center; padding: 14px 12px 4px; }
.bcm-fyutai img { width: 139px; height: auto; }
.bcm-fyutai small { display: block; font-size: 10px; color: var(--bc-text-sub); margin-top: 4px; text-decoration: underline; }

/* Campaign pages */
.bcm-camp{background:#fff;padding-bottom:24px}
.bcm-camp__hero{display:block;width:100%;height:auto}
.bcm-camp__title{font-size:18px;font-weight:700;line-height:1.4;padding:14px 14px 0;margin:0;color:#1a1a1a}
.bcm-camp__lead{font-size:13px;line-height:1.7;padding:10px 14px 0;margin:0;color:#333}
.bcm-camp__points{margin:12px 14px 0;padding:0;list-style:none}
.bcm-camp__points li{position:relative;font-size:12.5px;line-height:1.7;color:#444;padding:6px 0 6px 16px;border-bottom:1px solid #f0f0f0}
.bcm-camp__points li::before{content:"";position:absolute;left:2px;top:14px;width:6px;height:6px;border-radius:50%;background:#d21f26}
.bcm-camp__note{font-size:11.5px;color:#888;line-height:1.6;padding:10px 14px 0;margin:0}
.bcm-camp__links{padding:16px 14px 0;display:flex;flex-direction:column;gap:10px}
.bcm-camp__btn{display:flex;align-items:center;justify-content:space-between;gap:8px;background:#d21f26;color:#fff;font-size:13.5px;font-weight:700;text-decoration:none;padding:13px 14px;border-radius:6px}
.bcm-camp__btn .bcm-rowlink__chev{color:#fff;font-weight:400}

/* Listing pages (feature / articles) */
.bcm-listing{background:#fff;min-height:60vh}
.bcm-listing__title{font-size:17px;font-weight:700;padding:14px 14px 10px;margin:0;color:#1a1a1a;border-bottom:2px solid #d21f26}
.bcm-listing__items{display:flex;flex-direction:column}
.bcm-listing__item{display:flex;align-items:center;gap:10px;padding:12px 14px;border-bottom:1px solid #eee;text-decoration:none;color:#1a1a1a}
.bcm-listing__img{width:88px;height:66px;object-fit:cover;flex-shrink:0;border-radius:4px;background:#f4f4f4}
.bcm-listing__body{display:flex;flex-direction:column;gap:4px;flex:1;min-width:0}
.bcm-listing__name{font-size:13px;font-weight:700;line-height:1.4}
.bcm-listing__lead{font-size:11px;color:#777;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.bcm-listing__item .bcm-rowlink__chev{color:#bbb;font-size:18px}

/* 404 links */
.bcm-404links{padding:16px 0 0;display:flex;flex-direction:column;gap:10px}

/* Category page — breadcrumb + subcategory grid (official style) */
.bcm-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; background: #fff; padding: 8px 12px; font-size: 11px; color: var(--bc-text-sub); border-bottom: 1px solid var(--bc-line); }
.bcm-crumbs a { color: #0068b7; }
.bcm-crumbs__sep { color: #bbb; }
.bcm-crumbs em { font-style: normal; color: var(--bc-text); font-weight: 700; }

.bcm-subcats { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: #fff; padding: 10px; border-bottom: 1px solid var(--bc-line); }
.bcm-subcats__item { display: flex; align-items: center; justify-content: space-between; gap: 6px; border: 1px solid var(--bc-line); border-radius: 4px; padding: 9px 10px; font-size: 12px; font-weight: 700; color: var(--bc-text); line-height: 1.3; }
.bcm-subcats__item small { color: var(--bc-text-sub); font-weight: 400; font-size: 10px; flex: 0 0 auto; }

/* Product detail — official-style inline buy row */
.bcm-pd__code { font-size: 11px; color: var(--bc-text-sub); padding: 2px 12px 0; }
.bcm-pd__freeship { color: var(--bc-red); font-weight: 700; }
.bcm-pd__freeship small { font-size: 9px; font-weight: 400; color: var(--bc-text-sub); margin-left: 2px; }

.bcm-pd__buyrow { display: flex; gap: 8px; padding: 12px; }
.bcm-pd__qty { display: flex; align-items: center; border: 1px solid var(--bc-line); border-radius: 6px; overflow: hidden; }
.bcm-pd__qty button { width: 34px; height: 44px; font-size: 18px; background: #fafafa; }
.bcm-pd__qty input { width: 42px; height: 44px; border: 0; border-left: 1px solid var(--bc-line); border-right: 1px solid var(--bc-line); text-align: center; font-size: 15px; font-weight: 700; -moz-appearance: textfield; appearance: textfield; }
.bcm-pd__qty input::-webkit-outer-spin-button,
.bcm-pd__qty input::-webkit-inner-spin-button { -webkit-appearance: none; }

.bcm-pd__cartbtn { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; height: 44px; background: var(--bc-red); color: #fff; border-radius: 6px; font-size: 15px; font-weight: 800; border: 0; }
.bcm-pd__cartbtn:active { background: var(--bc-red-dark); }

.bcm-cta__cart--full { width: 100%; border: 0; }

/* Add-to-cart confirmation modal — official-style card */
.bcm-added { position: fixed; inset: 0; z-index: 200; display: none; }
.bcm-added.is-open { display: block; }
.bcm-added__scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, .5); }
.bcm-added__card { position: absolute; left: 24px; right: 24px; top: 50%; transform: translateY(-50%); background: #fff; border-radius: 12px; padding: 22px 18px 16px; box-shadow: 0 12px 40px rgba(0, 0, 0, .3); text-align: center; }
.bcm-added__x { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border-radius: 50%; background: #eee; border: 0; color: #666; font-size: 16px; line-height: 1; }
.bcm-added__check { width: 52px; height: 52px; margin: 0 auto 10px; border-radius: 50%; background: #2e9e4f; display: flex; align-items: center; justify-content: center; }
.bcm-added__title { font-size: 15px; font-weight: 800; color: var(--bc-text); margin-bottom: 14px; }
.bcm-added__product { display: flex; align-items: center; gap: 10px; text-align: left; background: #f7f7f7; border-radius: 8px; padding: 10px; margin-bottom: 10px; }
.bcm-added__thumb { flex: 0 0 56px; width: 56px; height: 56px; background: #fff; border: 1px solid var(--bc-line); border-radius: 6px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.bcm-added__thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.bcm-added__pinfo { flex: 1; min-width: 0; }
.bcm-added__name { font-size: 11.5px; color: var(--bc-text); line-height: 1.45; margin: 0 0 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bcm-added__price { font-size: 12px; margin: 0; }
.bcm-added__price .bcm-yen { font-size: 15px; }
.bcm-added__price small { color: var(--bc-text-sub); font-size: 10px; }
.bcm-added__total { font-size: 12px; color: var(--bc-text-sub); margin-bottom: 12px; }
.bcm-added__total b { color: var(--bc-red); font-size: 14px; }
.bcm-added__btns { display: flex; flex-direction: column; gap: 8px; }
.bcm-added__cart { display: block; text-align: center; background: var(--bc-red); color: #fff; font-size: 14px; font-weight: 700; border-radius: 22px; padding: 13px; text-decoration: none; }
.bcm-added__continue { display: block; width: 100%; text-align: center; background: #fff; border: 1px solid #bbb; color: var(--bc-text); font-size: 13px; border-radius: 22px; padding: 12px; }

/* cart badge pop */
.bcm-badge { transition: transform .15s ease; }

/* Add-to-cart modal — conversion extras */
.bcm-added.is-open .bcm-added__card { animation: bcm-added-pop .22s ease; }
.bcm-added.is-open .bcm-added__scrim { animation: bcm-added-fade .18s ease; }
@keyframes bcm-added-pop { from { transform: translateY(-50%) scale(.92); opacity: 0; } to { transform: translateY(-50%) scale(1); opacity: 1; } }
@keyframes bcm-added-fade { from { opacity: 0; } to { opacity: 1; } }

.bcm-added__ptsline { display: inline-block; background: #fdecec; color: var(--bc-red); font-size: 12px; font-weight: 700; border-radius: 12px; padding: 4px 12px; margin-bottom: 8px; }
.bcm-added__ptsline b { font-size: 14px; }
.bcm-added__sumwrap { white-space: nowrap; }
.bcm-added__sumv .woocommerce-Price-amount, .bcm-added__sumv { color: var(--bc-red); font-weight: 700; }

.bcm-added__cross { border-top: 1px solid var(--bc-line); margin-top: 12px; padding-top: 10px; }
.bcm-added__crosshead { font-size: 11px; font-weight: 700; color: var(--bc-text-sub); text-align: left; margin-bottom: 6px; }
.bcm-added__crossrow { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bcm-added__crossitem { display: block; text-align: left; border: 1px solid var(--bc-line); border-radius: 6px; padding: 8px; text-decoration: none; }
.bcm-added__crossitem img { display: block; width: 100%; height: 56px; object-fit: contain; margin-bottom: 4px; }
.bcm-added__crossname { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 10.5px; line-height: 1.35; color: var(--bc-text); min-height: 28px; }
.bcm-added__crossprice .bcm-yen { font-size: 12px; }

/* Points system hidden (no points program on this site) */
.bcm-pitem__points, .bcm-pcard__pts, .bcm-pd__points, .bcm-pts, .bcm-added__ptsline { display: none !important; }

/* Add-to-cart loading spinner (0.8s minimum feedback) */
.bcm-pd__cartbtn { position: relative; }
.bcm-pd__cartbtn.is-loading { color: transparent; pointer-events: none; }
.bcm-pd__cartbtn.is-loading svg { opacity: 0; }
.bcm-pd__cartbtn.is-loading::after {
	content: ''; position: absolute; left: 50%; top: 50%; width: 20px; height: 20px;
	margin: -10px 0 0 -10px; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff;
	border-radius: 50%; animation: bcm-spin .7s linear infinite;
}
@keyframes bcm-spin { to { transform: rotate(360deg); } }

/* ==========================================================================
   Cart page (BicCamera mobile style)
   ========================================================================== */
.bcm-cart__head { font-size: 14px; padding: 12px 0 4px; color: #333; }
.bcm-cart__head b { color: var(--bc-red); font-size: 16px; }

.bcm-cartitem { position: relative; display: flex; gap: 10px; padding: 14px 24px 14px 0; border-bottom: 1px solid #e8e8e8; }
.bcm-cartitem__img { flex: 0 0 72px; align-self: flex-start; }
.bcm-cartitem__img img { width: 72px; height: auto; display: block; }
.bcm-cartitem__body { flex: 1; min-width: 0; }
.bcm-cartitem__name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13px; line-height: 1.5; color: #0068c9; text-decoration: none; }
.bcm-cartitem__price { margin-top: 6px; font-size: 14px; font-weight: 800; color: var(--bc-red); }
.bcm-cartitem__price small { font-weight: 400; font-size: 10px; color: #666; }
.bcm-cartitem__row { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.bcm-cartitem__qty { display: inline-flex; align-items: stretch; border: 1px solid #ccc; border-radius: 6px; overflow: hidden; background: #fff; }
.bcm-cartitem__qty button { width: 34px; height: 32px; border: 0; background: #f5f5f5; font-size: 16px; color: #333; }
.bcm-cartitem__qty .quantity { display: flex; }
.bcm-cartitem__qty input.qty { width: 40px; height: 32px; border: 0; border-left: 1px solid #eee; border-right: 1px solid #eee; text-align: center; font-size: 14px; padding: 0; -moz-appearance: textfield; appearance: textfield; }
.bcm-cartitem__qty input.qty::-webkit-outer-spin-button, .bcm-cartitem__qty input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.bcm-cartitem__qtyfixed { font-size: 13px; color: #666; }
.bcm-cartitem__sub { font-size: 16px; font-weight: 800; color: var(--bc-red); }
.bcm-cartitem__rm { position: absolute; top: 8px; right: 0; width: 28px; height: 28px; line-height: 26px; text-align: center; font-size: 20px; color: #999; text-decoration: none; }

.bcm-cart__update { display: none !important; }
.bcm-cart__coupon { margin: 14px 0 4px; border: 1px solid #e8e8e8; border-radius: 6px; background: #fafafa; }
.bcm-cart__coupon summary { padding: 10px 12px; font-size: 13px; cursor: pointer; list-style: none; }
.bcm-cart__coupon summary::before { content: '▸ '; color: #999; }
.bcm-cart__coupon[open] summary::before { content: '▾ '; }
.bcm-cart__couponrow { display: flex; gap: 8px; padding: 0 12px 12px; }
.bcm-cart__couponrow input { flex: 1; height: 38px; border: 1px solid #ccc; border-radius: 6px; padding: 0 10px; font-size: 14px; }
.bcm-cart__couponrow .button { height: 38px; padding: 0 16px; border: 1px solid var(--bc-red); border-radius: 6px; background: #fff; color: var(--bc-red); font-weight: 700; font-size: 13px; }

/* Totals box (default WC cart-totals markup, restyled) */
.bcm-cart__collaterals .cart_totals { margin-top: 16px; border: 1px solid #e8e8e8; border-radius: 8px; padding: 4px 14px 14px; background: #fff; }
.bcm-cart__collaterals .cart_totals h2 { font-size: 15px; padding: 10px 0; margin: 0; border-bottom: 1px solid #eee; }
.bcm-cart__collaterals .cart_totals table.shop_table { width: 100%; border-collapse: collapse; font-size: 14px; }
.bcm-cart__collaterals .cart_totals table.shop_table th, .bcm-cart__collaterals .cart_totals table.shop_table td { padding: 10px 0; border: 0; border-bottom: 1px dashed #eee; text-align: right; }
.bcm-cart__collaterals .cart_totals table.shop_table th { text-align: left; font-weight: 400; color: #555; }
.bcm-cart__collaterals .cart_totals .order-total th, .bcm-cart__collaterals .cart_totals .order-total td { border-bottom: 0; font-weight: 800; }
.bcm-cart__collaterals .cart_totals .order-total td { color: var(--bc-red); font-size: 20px; }
.bcm-cart__collaterals .cart_totals .order-total td small { font-size: 11px; font-weight: 400; }
.bcm-cart__collaterals .wc-proceed-to-checkout { margin-top: 14px; padding: 0; }
.bcm-cart__collaterals .wc-proceed-to-checkout .checkout-button { display: block; width: 100%; padding: 14px 0; background: var(--bc-red); color: #fff !important; font-size: 16px; font-weight: 800; text-align: center; border-radius: 6px; text-decoration: none; margin: 0; }
.bcm-cart__collaterals .wc-proceed-to-checkout .checkout-button:active { background: var(--bc-red-dark); }

.bcm-cart__continue { display: block; margin: 14px 0 30px; padding: 12px 0; border: 1px solid #ccc; border-radius: 6px; text-align: center; font-size: 14px; color: #333; text-decoration: none; background: #fff; }

/* Empty cart */
.woocommerce .cart-empty.woocommerce-info { border: 0; background: none; padding: 30px 0 10px; text-align: center; color: #555; }
.woocommerce .cart-empty.woocommerce-info::before { display: none; }
.woocommerce .return-to-shop { text-align: center; padding-bottom: 30px; }
.woocommerce .return-to-shop .button { display: inline-block; padding: 12px 28px; background: var(--bc-red); color: #fff !important; border-radius: 6px; font-weight: 800; text-decoration: none; }

/* Notices on cart page */
.woocommerce-message, .woocommerce-error, .woocommerce-info { border-radius: 6px; font-size: 13px; }

/* ==========================================================================
   Checkout page (BicCamera mobile style)
   ========================================================================== */
.bcm-co__sec { background: #fff; border: 1px solid #e8e8e8; border-radius: 8px; padding: 14px; margin: 12px 0; }
.bcm-co__title { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 800; margin: 0 0 12px; padding-bottom: 10px; border-bottom: 1px solid #eee; }
.bcm-co__num { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: var(--bc-red); color: #fff; font-size: 12px; font-weight: 800; }
.bcm-co__subtitle { font-size: 13px; font-weight: 700; margin: 16px 0 8px; padding-left: 8px; border-left: 3px solid var(--bc-red); }
.bcm-co__subtitle--pay { margin-top: 4px; }

/* Form fields */
.bcm-co .form-row { margin: 0 0 12px; padding: 0; width: 100%; float: none; }
.bcm-co .form-row label { display: block; font-size: 12px; font-weight: 700; color: #333; margin-bottom: 5px; }
.bcm-co .form-row label .required { color: var(--bc-red); }
.bcm-co .form-row input.input-text, .bcm-co .form-row textarea, .bcm-co .form-row select { width: 100%; height: 44px; border: 1px solid #ccc; border-radius: 6px; padding: 0 12px; font-size: 15px; background: #fff; box-sizing: border-box; }
.bcm-co .form-row textarea { height: auto; min-height: 90px; padding: 10px 12px; }
.bcm-co .form-row input.input-text:focus, .bcm-co .form-row textarea:focus, .bcm-co .form-row select:focus { border-color: var(--bc-red); outline: none; box-shadow: 0 0 0 2px rgba(204,0,0,.08); }
.bcm-co .form-row .description { font-size: 11px; color: #888; margin-top: 4px; }
.bcm-co .select2-container .select2-selection--single { height: 44px; border: 1px solid #ccc; border-radius: 6px; }
.bcm-co .select2-container .select2-selection--single .select2-selection__rendered { line-height: 42px; padding-left: 12px; font-size: 15px; }
.bcm-co .select2-container .select2-selection--single .select2-selection__arrow { height: 42px; }
.bcm-co .woocommerce-invalid input.input-text { border-color: var(--bc-red); }
.bcm-co .woocommerce-form__label-for-checkbox { font-size: 13px; font-weight: 400; display: flex; align-items: center; gap: 8px; }
.bcm-co .woocommerce-form__label-for-checkbox .input-checkbox { width: 18px; height: 18px; }
.bcm-co__shiptoggle { margin: 6px 0 10px; font-size: 13px; }
.bcm-co__ship .shipping_address { border-top: 1px dashed #ddd; padding-top: 12px; margin-top: 6px; }

/* Coupon toggle */
.bcm-co__coupontoggle { margin: 12px 0; }
.bcm-co__showcoupon { display: flex; justify-content: space-between; align-items: center; padding: 11px 12px; border: 1px solid #e8e8e8; border-radius: 6px; background: #fafafa; font-size: 13px; color: #333; text-decoration: none; }
.bcm-co__couponform { display: flex; gap: 8px; margin: 8px 0; }
.bcm-co__couponform .form-row { margin: 0; }
.bcm-co__couponform .form-row-first { flex: 1; }
.bcm-co__couponform input.input-text { height: 42px; width: 100%; border: 1px solid #ccc; border-radius: 6px; padding: 0 10px; font-size: 14px; }
.bcm-co__couponform .button { height: 42px; padding: 0 18px; border: 1px solid var(--bc-red); background: #fff; color: var(--bc-red); border-radius: 6px; font-weight: 700; }

/* Order review table */
.bcm-co .woocommerce-checkout-review-order-table { width: 100%; border-collapse: collapse; font-size: 13px; margin-bottom: 14px; }
.bcm-co .woocommerce-checkout-review-order-table thead th { text-align: left; font-size: 11px; color: #888; font-weight: 400; padding: 0 0 6px; border-bottom: 1px solid #eee; }
.bcm-co .woocommerce-checkout-review-order-table thead th.product-total, .bcm-co .woocommerce-checkout-review-order-table td.product-total { text-align: right; }
.bcm-co .woocommerce-checkout-review-order-table td { padding: 8px 0; border-bottom: 1px dashed #eee; vertical-align: top; }
.bcm-co .woocommerce-checkout-review-order-table .product-name { padding-right: 8px; line-height: 1.5; }
.bcm-co .woocommerce-checkout-review-order-table .product-quantity { color: #888; font-size: 12px; }
.bcm-co .woocommerce-checkout-review-order-table tfoot th { text-align: left; font-weight: 400; color: #555; padding: 8px 0; border-bottom: 1px dashed #eee; }
.bcm-co .woocommerce-checkout-review-order-table tfoot td { text-align: right; padding: 8px 0; border-bottom: 1px dashed #eee; font-weight: 700; }
.bcm-co .woocommerce-checkout-review-order-table tfoot .order-total th, .bcm-co .woocommerce-checkout-review-order-table tfoot .order-total td { border-bottom: 0; font-weight: 800; }
.bcm-co .woocommerce-checkout-review-order-table tfoot .order-total td { color: var(--bc-red); font-size: 19px; }

/* Payment methods as cards */
.bcm-co .wc_payment_methods { list-style: none; margin: 0 0 14px; padding: 0; }
.bcm-co .wc_payment_methods li.wc_payment_method { margin-bottom: 8px; }
.bcm-co .wc_payment_methods li.wc_payment_method > label { display: block; padding: 12px 12px 12px 38px; border: 1px solid #ccc; border-radius: 8px; font-size: 14px; font-weight: 700; color: #333; position: relative; cursor: pointer; background: #fff; }
.bcm-co .wc_payment_methods li.wc_payment_method > label::before { content: ''; position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; border: 2px solid #bbb; border-radius: 50%; box-sizing: border-box; }
.bcm-co .wc_payment_methods li.wc_payment_method > input.input-radio { position: absolute; opacity: 0; pointer-events: none; }
.bcm-co .wc_payment_methods li.wc_payment_method:has(> input.input-radio:checked) > label { border-color: var(--bc-red); box-shadow: 0 0 0 1px var(--bc-red); }
.bcm-co .wc_payment_methods li.wc_payment_method:has(> input.input-radio:checked) > label::before { border-color: var(--bc-red); background: radial-gradient(circle, var(--bc-red) 0 5px, #fff 6px); }
.bcm-co .wc_payment_methods .payment_box { margin: 6px 0 0; padding: 10px 12px; background: #f7f7f7; border-radius: 6px; font-size: 12px; color: #555; line-height: 1.6; }
.bcm-co .wc_payment_methods .payment_box p:last-child { margin-bottom: 0; }
.bcm-co .wc_payment_methods li.wc_payment_method img { max-height: 24px; vertical-align: middle; margin-left: 6px; }

/* Place order */
.bcm-co .place-order { margin: 6px 0 4px; }
.bcm-co .woocommerce-terms-and-conditions-wrapper { font-size: 12px; color: #666; margin-bottom: 10px; }
.bcm-co button#place_order, .bcm-co button#place_order.button { display: block; width: 100%; padding: 15px 0; background: var(--bc-red); color: #fff !important; border: 0; border-radius: 6px; font-size: 16px; font-weight: 800; }
.bcm-co button#place_order:active { background: var(--bc-red-dark); }

/* Checkout login / info notices */
.woocommerce-form-login-toggle .woocommerce-info, .woocommerce-checkout .woocommerce-info { border-radius: 6px; font-size: 13px; }

/* Cart page v2 — official ショッピングカート layout */
body.woocommerce-cart h1.bcm-static__title, body.woocommerce-checkout h1.bcm-static__title { border-left: 4px solid var(--bc-red); padding-left: 10px; font-size: 17px; }

.bcm-csum { border: 1px solid #e8e8e8; border-radius: 8px; padding: 12px 14px; margin: 12px 0; background: #fff; }
.bcm-csum__total { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; font-weight: 700; }
.bcm-csum__total b { color: var(--bc-red); font-size: 22px; font-weight: 800; }
.bcm-csum__row { display: flex; justify-content: space-between; font-size: 12px; color: #555; padding-top: 5px; }
.bcm-csum__row--tax { color: #888; }
.bcm-csum--bottom { margin-top: 14px; }
.bcm-csum__go { display: block; text-align: center; background: var(--bc-red); color: #fff !important; font-weight: 800; font-size: 16px; padding: 14px 0; border-radius: 6px; text-decoration: none; }
.bcm-csum__go:active { background: var(--bc-red-dark); }

.bcm-cartitem { padding: 14px 0; }
.bcm-cartitem__imgcol { flex: 0 0 84px; align-self: flex-start; }
.bcm-cartitem__rm { position: static; display: inline-block; width: auto; height: auto; line-height: 1.4; margin-top: 8px; font-size: 11px; color: #666; text-decoration: none; }
.bcm-cartitem__stock { margin-top: 4px; font-size: 11px; font-weight: 700; color: #2e7d32; }
.bcm-cartitem__stock--out { color: var(--bc-red); }
.bcm-cartitem__row { justify-content: flex-start; }
.bcm-cartitem__qtywrap { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: #555; }
.bcm-cartitem__qtysel { height: 32px; border: 1px solid #ccc; border-radius: 6px; padding: 0 8px; font-size: 14px; background: #fff; }

/* Cart page v3 — flatten to official flat/hairline style */
body.woocommerce-cart .bcm-static { background: #fff; }
.bcm-csum { border: 0; border-radius: 0; border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; padding: 12px 2px; margin: 10px 0 0; }
.bcm-csum__total { font-size: 14px; }
.bcm-csum__total b { font-size: 20px; }
.bcm-csum__row { padding-top: 6px; }
.bcm-csum--bottom { margin-top: 14px; border-bottom: 0; }

.bcm-cart__items { margin-top: 4px; }
.bcm-cartitem { padding: 14px 0; gap: 12px; border-bottom: 1px solid #e0e0e0; }
.bcm-cartitem__imgcol { flex: 0 0 96px; }
.bcm-cartitem__img img { width: 96px; }
.bcm-cartitem__name { font-size: 13px; color: #0f5da8; line-height: 1.45; }
.bcm-cartitem__stock { font-size: 11px; color: #333; font-weight: 400; margin-top: 3px; }
.bcm-cartitem__price { margin-top: 5px; font-size: 16px; }
.bcm-cartitem__price small { font-size: 10px; }
.bcm-cartitem__row { margin-top: 12px; justify-content: space-between; }
.bcm-cartitem__qtysel { min-width: 64px; height: 34px; }
.bcm-cartitem__rm { margin-top: 10px; color: #777; }

.bcm-cart__coupon { border: 0; border-radius: 0; border-top: 1px solid #e0e0e0; border-bottom: 1px solid #e0e0e0; background: #fff; margin: 0; }
.bcm-cart__coupon summary { padding: 13px 2px; font-size: 13px; color: #333; }
.bcm-cart__couponrow { padding: 0 2px 12px; }

.bcm-csum__go { border-radius: 4px; margin-top: 12px; }
.bcm-cart__continue { border: 1px solid #bbb; border-radius: 4px; color: #333; margin: 12px 0 26px; }

/* Neutralize legacy table-based cart rules (custom div template is live) */
.woocommerce-cart .cart_item.bcm-cartitem { display: flex !important; position: relative; gap: 12px; padding: 14px 0; border-bottom: 1px solid #e0e0e0 !important; }
.woocommerce-cart .bcm-cart .actions { padding: 0; }
.woocommerce-cart .actions .bcm-cart__coupon.coupon { display: block; margin: 0; }

/* Cart/checkout: bump small text for readability */
.bcm-csum__total { font-size: 15px; font-weight: 700; }
.bcm-csum__row { font-size: 13px; color: #444; padding-top: 7px; }
.bcm-cartitem__name { font-size: 14px; font-weight: 500; }
.bcm-cartitem__stock { font-size: 12px; }
.bcm-cartitem__price { font-size: 17px; }
.bcm-cartitem__price small { font-size: 11px; color: #555; }
.bcm-cartitem__qtywrap { font-size: 13px; color: #333; }
.bcm-cartitem__qtysel { font-size: 15px; height: 36px; min-width: 68px; }
.bcm-cartitem__rm { font-size: 12px; color: #555; }
.bcm-cart__coupon summary { font-size: 14px; font-weight: 500; }
.bcm-cart__couponrow input { font-size: 15px; }
.bcm-cart__continue { font-size: 15px; font-weight: 500; }

.bcm-co .form-row label { font-size: 13px; }
.bcm-co .woocommerce-checkout-review-order-table { font-size: 14px; }
.bcm-co .woocommerce-checkout-review-order-table thead th { font-size: 12px; }
.bcm-co .wc_payment_methods li.wc_payment_method > label { font-size: 15px; }
.bcm-co .wc_payment_methods .payment_box { font-size: 13px; }
.bcm-co .woocommerce-terms-and-conditions-wrapper { font-size: 13px; }
.bcm-co__showcoupon { font-size: 14px; }

/* Cart page v4 — full-width qty row like official */
.woocommerce-cart .cart_item.bcm-cartitem { display: block !important; }
.bcm-cartitem__top { display: flex; gap: 12px; }
.bcm-cartitem__body { flex: 1; min-width: 0; }
.bcm-cartitem__row { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; padding-top: 12px; border-top: 1px dashed #ddd; }
.bcm-cartitem__qtyfixed { font-size: 13px; color: #333; }

/* Cart: delivery estimate + trust bar + recommendations */
.bcm-csum__row--deliver span:last-child { color: var(--bc-red); font-weight: 700; }
.bcm-cart__trust { display: flex; margin: 14px 0 4px; border-top: 1px solid #eee; padding-top: 12px; }
.bcm-cart__trust span { flex: 1; text-align: center; font-size: 11px; color: #444; line-height: 1.5; }
.bcm-cart__trust span::before { content: '✓'; display: block; width: 22px; height: 22px; line-height: 22px; margin: 0 auto 4px; border-radius: 50%; background: #2e7d32; color: #fff; font-size: 12px; font-weight: 700; }
.bcm-cart__trust span + span { border-left: 1px solid #eee; }
.bcm-cart__recs { margin: 18px 0 24px; }
.bcm-cart__recs .bcm-sec__title--solo { font-size: 15px; }

/* Trust bar v2 — plain official-style text line (no icons) */
.bcm-cart__trust { display: block; margin: 10px 0 0; border-top: 0; padding-top: 0; text-align: center; font-size: 11px; color: #888; line-height: 1.8; }
.bcm-cart__trust span { display: inline; font-size: 11px; }
.bcm-cart__trust span::before { display: none; }
.bcm-cart__trust span + span { border-left: 0; margin-left: 8px; padding-left: 8px; border-left: 1px solid #ddd; }
.bcm-cart__trust br { display: none; }
.bcm-cart__trust small { font-size: 10px; color: #aaa; }

/* Cart qty row v2 — blend into item block */
.bcm-cartitem__row { margin-top: 10px; padding-top: 10px; border-top: 1px solid #eee; }
.bcm-cartitem__qtywrap { font-size: 12px; color: #777; }
.bcm-cartitem__qtysel { min-width: 60px; height: 32px; border: 1px solid #ddd; border-radius: 4px; padding: 0 6px; font-size: 14px; color: #333; background: #fff; }

/* Qty row: label left, select right edge */
.bcm-cartitem__row { justify-content: stretch; }
.bcm-cartitem__qtywrap { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 0; }

/* Delivery estimate: plain black like other rows */
.bcm-csum__row--deliver span:last-child { color: #333; font-weight: 400; }

/* ==========================================================================
   Checkout: steps bar + official field bands
   ========================================================================== */
.bcm-steps { list-style: none; display: flex; margin: 6px 0 16px; padding: 0 2px; }
.bcm-steps li { flex: 1; text-align: center; position: relative; }
.bcm-steps li i { display: block; width: 16px; height: 16px; margin: 0 auto 5px; border-radius: 50%; background: #fff; border: 2px solid #ccc; position: relative; z-index: 1; }
.bcm-steps li::before { content: ''; position: absolute; top: 7px; left: -50%; width: 100%; height: 2px; background: #ddd; }
.bcm-steps li:first-child::before { display: none; }
.bcm-steps li.is-done i { background: #8bc34a; border-color: #8bc34a; }
.bcm-steps li.is-done i::after { content: '✓'; position: absolute; inset: 0; color: #fff; font-size: 10px; line-height: 13px; text-align: center; }
.bcm-steps li.is-done::before, .bcm-steps li.is-current::before { background: #8bc34a; }
.bcm-steps li.is-current i { border-color: #8bc34a; box-shadow: 0 0 0 3px #e3f0d3; }
.bcm-steps li span { font-size: 10px; color: #999; line-height: 1.3; display: block; }
.bcm-steps li.is-current span { color: #5b8f22; font-weight: 700; }
.bcm-steps li.is-done span { color: #8bc34a; }

/* Field bands: gray label strip + red 必須 badge */
.bcm-co .form-row label { display: flex; align-items: center; gap: 6px; background: #efefef; border-radius: 4px 4px 0 0; padding: 8px 10px; font-size: 13px; font-weight: 700; color: #333; margin-bottom: 0; }
.bcm-co .form-row label .optional { color: #888; font-weight: 400; font-size: 11px; }
.bcm-co .form-row label .required { font-size: 0; color: transparent; text-decoration: none; }
.bcm-co .form-row label .required::before { content: '必須'; font-size: 10px; font-weight: 700; color: #fff; background: var(--bc-red); border-radius: 3px; padding: 2px 6px; }
.bcm-co .form-row .woocommerce-input-wrapper { display: block; margin-top: 6px; }
.bcm-co .form-row .woocommerce-input-wrapper input.input-text, .bcm-co .form-row .woocommerce-input-wrapper textarea { border-radius: 4px; }
.bcm-co .form-row.bcm-nolabel label { display: none; }
.bcm-co .form-row.bcm-nolabel .woocommerce-input-wrapper { margin-top: 0; }

/* Side-by-side fields (姓/名, セイ/メイ) */
.bcm-co .woocommerce-billing-fields__field-wrapper, .bcm-co .woocommerce-shipping-fields__field-wrapper { display: flex; flex-wrap: wrap; column-gap: 10px; }
.bcm-co .woocommerce-billing-fields__field-wrapper .form-row, .bcm-co .woocommerce-shipping-fields__field-wrapper .form-row { flex: 0 0 100%; }
.bcm-co .form-row.form-row-first, .bcm-co .form-row.form-row-last { flex: 0 0 calc(50% - 5px); width: calc(50% - 5px); }

/* Postcode lookup link */
.bcm-co__zipsearch { display: inline-block; margin-top: 6px; font-size: 12px; color: #0f5da8; text-decoration: underline; }

/* Checkout section titles: red bar, no number circles */
.bcm-co__title { padding-left: 8px; border-left: 3px solid var(--bc-red); border-bottom: 0; padding-bottom: 0; }
.bcm-co__num { display: none; }

/* Checkout pair layout: one shared band, two inputs below */
.bcm-co .form-row.form-row-first, .bcm-co .form-row.form-row-last { flex: 0 0 100%; width: 100%; }
.bcm-co__pair { display: flex; gap: 10px; margin-top: 6px; }
.bcm-co__pair .woocommerce-input-wrapper { flex: 1; margin-top: 0; }

/* Checkout page: hide header quick-links row (keep on all other pages) */
body.woocommerce-checkout .bcm-header__links { display: none; }

/* Checkout page: hide search bar, page title, coupon toggle (distraction-free) */
body.woocommerce-checkout .bcm-header__search,
body.woocommerce-checkout h1.bcm-static__title,
body.woocommerce-checkout .bcm-co__coupontoggle,
body.woocommerce-checkout .bcm-co__couponform { display: none; }

/* ==========================================================================
   1.1.4 Checkout pixel-match: badge left, hidden country, merged 住所 box
   ========================================================================== */
.bcm-co .form-row.bcm-hide { display: none !important; }

/* 必須 badge on the LEFT of the label (official order) */
.bcm-co .form-row label .required { order: -1; }
.bcm-co .form-row label { background: #f5f5f5; padding: 7px 10px; }
.bcm-co .form-row label .required::before { padding: 2px 5px; border-radius: 2px; font-size: 10px; }

/* 丁番地 / 建物名: plain label, no band, no badge (official look) */
.bcm-co #billing_address_1_field label, .bcm-co #shipping_address_1_field label,
.bcm-co #billing_address_2_field label, .bcm-co #shipping_address_2_field label { background: transparent; padding: 0 0 5px; border-radius: 0; }
#billing_address_1_field label .required, #shipping_address_1_field label .required { display: none; }

/* Field spacing + input shape */
.bcm-co .form-row { margin-bottom: 14px; }
.bcm-co .form-row input.input-text, .bcm-co .form-row textarea, .bcm-co .form-row select { border-radius: 4px; border-color: #cfcfcf; }

/* Merged 住所 box: dashed gray readonly-looking container */
.bcm-co__addrbox { border: 1px dashed #cfcfcf; border-radius: 4px; background: #fafafa; padding: 11px 12px; margin-top: 6px; }
.bcm-co__addrph { color: #999; font-size: 13px; }
.bcm-co__addrbox.is-filled .bcm-co__addrph { display: none; }
.bcm-co__addrbox:not(.is-filled) .woocommerce-input-wrapper { display: none; }
.bcm-co__addrbox .woocommerce-input-wrapper { margin-top: 0; }
.bcm-co__addrbox.is-filled { display: flex; flex-wrap: wrap; align-items: center; column-gap: 2px; }
.bcm-co__addrbox select, .bcm-co__addrbox input.input-text { border: 0 !important; background: transparent !important; height: auto; min-height: 0; padding: 0; font-size: 14px; border-radius: 0; box-shadow: none !important; width: auto; }
.bcm-co__addrbox select { pointer-events: none; -webkit-appearance: none; appearance: none; }
.bcm-co__addrbox input.input-text { flex: 0 1 auto; min-width: 140px; }

/* Hide (オプション) markers on address labels — official shows none */
.bcm-co .woocommerce-billing-fields label .optional,
.bcm-co .woocommerce-shipping-fields label .optional { display: none; }

/* 住所 box: tame the selectWoo-enhanced prefecture select (plain text look) */
.bcm-co__addrbox .select2-container { pointer-events: none; width: auto !important; display: inline-block; }
.bcm-co__addrbox .select2-container .select2-selection--single { border: 0 !important; background: transparent !important; height: auto; padding: 0; box-shadow: none !important; }
.bcm-co__addrbox .select2-container .select2-selection__rendered { padding: 0; color: #333; font-size: 14px; line-height: 1.6; }
.bcm-co__addrbox .select2-container .select2-selection__arrow { display: none; }

/* ==========================================================================
   1.2.0 Checkout polish: flat page (no card frame), official steps bar
   ========================================================================== */
body.woocommerce-checkout .bcm-co__sec { border: 0; border-radius: 0; padding: 0; background: transparent; }

/* Steps bar: thicker line, bigger circles, current step = solid green check */
.bcm-steps li i { width: 20px; height: 20px; border-width: 3px; border-color: #dcdcdc; }
.bcm-steps li::before { height: 4px; top: 9px; background: #e4e4e4; }
.bcm-steps li.is-done::before, .bcm-steps li.is-current::before { background: #8bc34a; }
.bcm-steps li.is-done i, .bcm-steps li.is-current i { background: #8bc34a; border-color: #8bc34a; box-shadow: none; }
.bcm-steps li.is-done i::after, .bcm-steps li.is-current i::after { content: '✓'; position: absolute; inset: 0; color: #fff; font-size: 11px; line-height: 14px; text-align: center; }
.bcm-steps li span { font-size: 12px; color: #aaa; }
.bcm-steps li.is-current span { color: #5b8f22; }

/* Inputs: official height */
.bcm-co .form-row input.input-text, .bcm-co .form-row textarea, .bcm-co .form-row select { height: 42px; }

/* Official: postcode input is short (~55% width), not full width */
.bcm-co #billing_postcode_field input.input-text,
.bcm-co #shipping_postcode_field input.input-text { width: 55%; max-width: 220px; }

/* 住所 box: bare address text once filled (official look) */
.bcm-co__addrbox.is-filled { border-color: transparent; background: transparent; padding: 4px 2px; }

/* Inline validation errors (official style: red border + pink bg + small red text) */
.bcm-co .form-row input.input-text.bcm-err, .bcm-co .form-row select.bcm-err,
.bcm-co input.bcm-err, .bcm-co select.bcm-err { border-color: #e60012 !important; background: #fdf2f2 !important; }
.bcm-co .form-row.woocommerce-invalid input.input-text,
.bcm-co .form-row.woocommerce-invalid select { background: #fdf2f2 !important; }
/* Paired fields share one .form-row: a row-level valid/invalid mark from WC's
   blur validation must not bleed onto the sibling input — only .bcm-err marks it. */
.bcm-co .form-row.woocommerce-invalid .bcm-co__pair input.input-text:not(.bcm-err),
.bcm-co .form-row.woocommerce-validated .bcm-co__pair input.input-text:not(.bcm-err) { border-color: #cfcfcf !important; background: #fff !important; }
/* Optional fields (e.g. 建物名) must not glow green while still empty */
.bcm-co .form-row.woocommerce-validated input.input-text:placeholder-shown { border-color: #cfcfcf !important; }
.bcm-co__errors { margin-top: 5px; }
.bcm-co__err { color: #d90010; font-size: 11px; line-height: 1.5; }

/* 丁番地/建物名 disabled until postcode entered (official grayed look) */
.bcm-co .form-row.bcm-disabled input.input-text { background: #f0f0f0; color: #999; pointer-events: none; }

/* Safety net: WC processing overlay must never cover checkout (hidden entirely) */
body.woocommerce-checkout .blockUI.blockOverlay,
body.woocommerce-checkout .blockUI.blockMsg { display: none !important; }

/* Server-rendered per-field error lines: pure-CSS display, no JS needed */
.bcm-co__errline { display: none; color: #d90010; font-size: 11px; line-height: 1.5; margin: 4px 0 10px; flex: 0 0 100%; width: 100%; }
/* Only JS (per-input) decides which error line shows — row-level WC classes are
   ambiguous for paired rows (姓/名 share one row). */
.bcm-co__errline.is-on { display: block; }
/* No green "validated" borders on checkout (official site has none) */
.bcm-co .form-row.woocommerce-validated input.input-text,
.bcm-co .form-row.woocommerce-validated select { border-color: #cfcfcf !important; }

/* Steps bar: thicker line, bigger circles, larger labels */
.bcm-steps li i { width: 18px; height: 18px; border-width: 3px; margin-bottom: 6px; }
.bcm-steps li::before { height: 3px; top: 8px; }
.bcm-steps li span { font-size: 11px; }

/* ==========================================================================
   Checkout: two-step flow (customer info → review / delivery / payment)
   ========================================================================== */
.bcm-co__assure { display: flex; margin: 18px 0 4px; border: 1px solid #dfeeda; border-radius: 8px; background: #f6fbf3; }
.bcm-co__assure-item { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 12px 4px; text-align: center; font-size: 10.5px; line-height: 1.4; color: #3d6b2a; font-weight: 600; }
.bcm-co__assure-item + .bcm-co__assure-item { border-left: 1px solid #e2f0dc; }
.bcm-co__assure-item svg { width: 20px; height: 20px; color: #5ba23f; }
.bcm-co__nextnote { text-align: center; font-size: 12px; color: #8a8a8a; margin: 2px 0 14px; }
.bcm-co__nextnote span { display: block; font-size: 14px; font-weight: 700; color: #333; margin-bottom: 4px; }
.bcm-co__trustline { text-align: center; font-size: 11px; color: #9a9a9a; margin: 12px 0 0; }
.bcm-co__nextbtn { position: relative; display: block; width: 100%; background: var(--bc-red); color: #fff; border: 0; border-radius: 26px; padding: 16px 10px; font-size: 16px; font-weight: 700; letter-spacing: .02em; cursor: pointer; box-shadow: 0 3px 0 #a8000c; }
.bcm-co__nextbtn:active { transform: translateY(2px); box-shadow: 0 1px 0 #a8000c; }
.bcm-co__nextbtn i { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-style: normal; font-size: 18px; }
.bcm-co__backbtn { display: inline-block; margin: 2px 0 12px; font-size: 13px; color: #0068b7; text-decoration: none; }
.bcm-co__delivery-row { margin-bottom: 12px; }
.bcm-co__delivery-row:last-child { margin-bottom: 0; }
.bcm-co__delivery-row label { display: block; font-size: 13px; font-weight: 700; color: #333; margin-bottom: 6px; }
.bcm-co__delivery-row select { width: 100%; height: 42px; border: 1px solid #cfcfcf; border-radius: 4px; padding: 0 10px; font-size: 15px; background: #fff; }
.bcm-co__ordernote { text-align: center; font-size: 11px; color: #8a8a8a; margin: 10px 0 20px; }

/* Order review: never wrap the price figures */
.bcm-co .woocommerce-checkout-review-order-table .amount,
.bcm-co .woocommerce-checkout-review-order-table .order-total td { white-space: nowrap; }

/* ==========================================================================
   Checkout step 2: order review (product rows + summary box)
   ========================================================================== */
.bcm-co__review { background: #fff; }
.bcm-co__items { list-style: none; margin: 0; padding: 0; }
.bcm-co__item { display: flex; align-items: flex-start; gap: 10px; padding: 12px 0; border-bottom: 1px solid #f0f0f0; }
.bcm-co__item:last-child { border-bottom: 0; }
.bcm-co__item-thumb { flex: 0 0 56px; width: 56px; height: 56px; border: 1px solid #eee; border-radius: 4px; overflow: hidden; display: flex; align-items: center; justify-content: center; background: #fff; }
.bcm-co__item-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.bcm-co__item-info { flex: 1; min-width: 0; }
.bcm-co__item-name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 12.5px; line-height: 1.5; color: #333; }
.bcm-co__item-qty { display: block; margin-top: 4px; font-size: 11px; color: #8a8a8a; }
.bcm-co__item-price { flex: 0 0 auto; font-size: 13px; font-weight: 700; color: #333; white-space: nowrap; }
.bcm-co__sum { margin-top: 12px; border-top: 2px solid #333; padding-top: 2px; }
.bcm-co__sumrow { display: flex; justify-content: space-between; align-items: baseline; padding: 9px 0; font-size: 13px; color: #333; border-bottom: 1px solid #f0f0f0; }
.bcm-co__sumrow .amount { white-space: nowrap; }
.bcm-co__sumrow--total { border-bottom: 0; padding: 12px 0 2px; font-size: 15px; font-weight: 700; }
.bcm-co__sumtotal { color: var(--bc-red); font-size: 20px; font-weight: 800; white-space: nowrap; }

/* ==========================================================================
   Stripe card form: Japanese-native style overrides (style only)
   Doubled #wc-stripe-card-form id beats the plugin's own !important rules.
   ========================================================================== */
body #wc-stripe-card-form#wc-stripe-card-form .stripe-header,
body #wc-stripe-card-form#wc-stripe-card-form .accordion-header,
body #wc-stripe-card-form#wc-stripe-card-form .stripe-save-card { display: none !important; }

body #wc-stripe-card-form#wc-stripe-card-form .stripe-container { border: 0 !important; border-radius: 0 !important; }
body #wc-stripe-card-form#wc-stripe-card-form .accordion-body { padding: 0 !important; }
body #wc-stripe-card-form#wc-stripe-card-form .form-grid { display: block !important; }
body #wc-stripe-card-form#wc-stripe-card-form .form-grid > div { margin-bottom: 14px; }
body #wc-stripe-card-form#wc-stripe-card-form .form-grid > div:last-child { margin-bottom: 0; }

body #wc-stripe-card-form#wc-stripe-card-form .stripe-label { font-size: 13px !important; font-weight: 700 !important; color: #333 !important; margin-bottom: 6px !important; }

body #wc-stripe-card-form#wc-stripe-card-form .input-wrapper { border-radius: 4px !important; }
body #wc-stripe-card-form#wc-stripe-card-form .stripe-input {
	height: 44px !important;
	border: 1px solid #cfcfcf !important;
	border-radius: 4px !important;
	padding: 0 12px !important;
	font-size: 15px !important;
	color: #333 !important;
	background: #fff !important;
	box-shadow: none !important;
}
body #wc-stripe-card-form#wc-stripe-card-form .stripe-input:focus { border-color: #888 !important; }
body #wc-stripe-card-form#wc-stripe-card-form .input-wrapper:focus-within { box-shadow: none !important; }
body #wc-stripe-card-form#wc-stripe-card-form input#wcs-cvc.stripe-input { padding-right: 56px !important; }

/* hidden original expiry input (still functional for the plugin) */
body #wc-stripe-card-form#wc-stripe-card-form .bcm-exp-sr {
	position: absolute !important;
	width: 1px !important; height: 1px !important;
	padding: 0 !important; margin: 0 !important;
	border: 0 !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

/* month / year selects */
.bcm-exp-selects { display: flex !important; gap: 8px; }
.bcm-exp-select {
	flex: 1 1 0 !important;
	width: 50% !important;
	height: 44px !important;
	border: 1px solid #cfcfcf !important;
	border-radius: 4px !important;
	padding: 0 30px 0 12px !important;
	font-size: 15px !important;
	color: #333 !important;
	background: #fff url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23666' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 10px center !important;
	-webkit-appearance: none !important;
	appearance: none !important;
	font-family: inherit !important;
	line-height: 1.5 !important;
}
.bcm-exp-select:focus { border-color: #888 !important; outline: none !important; }

/* CVC helper */
.bcm-cvc-help { margin-top: 6px; }
.bcm-cvc-help__btn {
	background: none; border: 0; padding: 0;
	font-size: 12px; color: #0068b7; text-decoration: underline; cursor: pointer;
}
.bcm-cvc-help__panel {
	margin-top: 6px; padding: 8px 10px;
	background: #f7f7f7; border: 1px solid #e3e3e3; border-radius: 4px;
	font-size: 12px; line-height: 1.7; color: #555;
}

/* error messages */
body #wc-stripe-card-form#wc-stripe-card-form #wcs-card-error,
body #wc-stripe-card-form#wc-stripe-card-form #wcs-expiry-error,
body #wc-stripe-card-form#wc-stripe-card-form #wcs-cvc-error { font-size: 12px !important; line-height: 1.5 !important; margin-top: 5px !important; }

/* ==========================================================================
   Payment method row: card brand marks + Japanese trust copy
   ========================================================================== */
.bcm-pay-brands { display: inline-flex; gap: 4px; margin-left: 8px; vertical-align: middle; }
.bcm-pay-brands .bcm-brand { display: block; width: 34px; height: 22px; }

.wc_payment_method .payment_box .bcm-pay-desc { margin: 0 0 14px; padding: 10px 12px; background: #f7f7f7; border-radius: 6px; }
.wc_payment_method .payment_box .bcm-pay-desc p { margin: 0; font-size: 12px; line-height: 1.8; color: #555; }
.wc_payment_method .payment_box .bcm-pay-desc__lead { color: #333 !important; }
.wc_payment_method .payment_box .bcm-pay-desc__lead strong { color: #333; }
.wc_payment_method .payment_box .bcm-pay-desc__note { margin-top: 4px !important; color: #8a8a8a !important; font-size: 11px !important; }

/* ==========================================================================
   Card form v2 — official-style minimal: clean inputs, inline 月/年 units,
   inline CVC help link, no input icons.
   ========================================================================== */
body #wc-stripe-card-form#wc-stripe-card-form #wcs-card-icons,
body #wc-stripe-card-form#wc-stripe-card-form .cvc-icon { display: none !important; }
body #wc-stripe-card-form#wc-stripe-card-form input#wcs-card-number.stripe-input,
body #wc-stripe-card-form#wc-stripe-card-form input#wcs-cvc.stripe-input { padding-right: 12px !important; }

/* expiry: [ 1 ▼ ] 月 / [ 2026 ▼ ] 年 */
.bcm-exp-selects { display: flex !important; align-items: center; gap: 6px; }
.bcm-exp-select { flex: 0 0 auto !important; width: 74px !important; }
#bcm-exp-year.bcm-exp-select { width: 92px !important; }
.bcm-exp-unit, .bcm-exp-slash { font-size: 14px; color: #333; line-height: 44px; }
.bcm-exp-slash { color: #999; margin: 0 2px; }

/* CVC: input left, help link right */
.bcm-cvc-row { display: flex; align-items: center; gap: 10px; }
.bcm-cvc-row .input-wrapper { flex: 1 1 auto; }
.bcm-cvc-help { margin-top: 0 !important; flex: 0 0 auto; }
.bcm-cvc-help__btn { white-space: nowrap; font-size: 11.5px; }
.bcm-cvc-help__btn::before { content: "▶"; font-size: 8px; margin-right: 3px; color: #0068b7; }
.bcm-cvc-help__panel { margin-top: 8px; }

/* ==========================================================================
   Card form v3 — professional polish: boxed panel matching checkout sections,
   roomier selects, CVC row that never truncates the help link.
   ========================================================================== */
.payment_method_wc_stripe_card .payment_box {
	background: #fafafa !important;
	border: 1px solid #e6e6e6 !important;
	border-radius: 8px;
	padding: 14px 14px 16px !important;
	margin-top: 10px;
}
body #wc-stripe-card-form#wc-stripe-card-form .form-grid > div { margin-bottom: 16px; }
body #wc-stripe-card-form#wc-stripe-card-form .form-grid > div:last-child { margin-bottom: 2px; }

/* inputs: slightly taller, softer focus */
body #wc-stripe-card-form#wc-stripe-card-form .stripe-input { height: 46px !important; }
body #wc-stripe-card-form#wc-stripe-card-form .stripe-input:focus { border-color: #b0b0b0 !important; box-shadow: 0 0 0 2px rgba(0,0,0,.05) !important; }

/* expiry selects: align with inputs, roomier */
.bcm-exp-select { height: 46px !important; width: 82px !important; }
#bcm-exp-year.bcm-exp-select { width: 102px !important; }
.bcm-exp-unit, .bcm-exp-slash { line-height: 46px; }
.bcm-exp-select:focus { border-color: #b0b0b0 !important; }

/* CVC row: link never truncates */
.bcm-cvc-row .input-wrapper { flex: 1 1 auto; min-width: 0; }
.bcm-cvc-help { flex: 0 0 auto; margin-left: auto; }
.bcm-cvc-help__btn { font-size: 11px; letter-spacing: 0; }

/* ==========================================================================
   Card form v4 — CVC help link wraps below input (fits 360px screens),
   panel in white to blend with the page sections.
   ========================================================================== */
.payment_method_wc_stripe_card .payment_box { background: #fff !important; border-color: #e3e3e3 !important; }

.bcm-cvc-row { flex-wrap: wrap; row-gap: 6px; }
.bcm-cvc-row .input-wrapper { flex: 1 1 100%; }
.bcm-cvc-help { flex: 1 1 100%; margin-left: 0; text-align: left; }
.bcm-cvc-help__btn { padding: 2px 0; }

/* ==========================================================================
   Card form v5 — layout cohesion: no nested panel, fields flow directly on
   the page like every other checkout section.
   ========================================================================== */
.bcm-co .wc_payment_methods .payment_method_wc_stripe_card .payment_box,
.payment_method_wc_stripe_card .payment_box {
	background: transparent !important;
	border: 0 !important;
	border-radius: 0;
	padding: 4px 2px 0 !important;
	margin-top: 12px !important;
}
body #wc-stripe-card-form#wc-stripe-card-form .form-grid > div { margin-bottom: 18px; }

/* Privacy policy link inside the checkout notice must look clickable */
.woocommerce-privacy-policy-text a, .woocommerce-terms-and-conditions-wrapper a { color: #0068b7; text-decoration: underline; }

/* ==========================================================================
   Thank-you page (order received)
   ========================================================================== */
.bcm-ty { padding-bottom: 20px; }
.bcm-ty__hero { text-align: center; padding: 22px 16px 16px; background: #fff; }
.bcm-ty__check { display: inline-flex; margin-bottom: 10px; }
.bcm-ty__title { font-size: 19px; font-weight: 800; color: #333; margin: 0 0 10px; }
.bcm-ty__lead { font-size: 13px; line-height: 1.9; color: #555; margin: 0; }
.bcm-ty__lead strong { color: #333; }

.bcm-ty__panel { background: #fff; margin: 12px 0 0; padding: 16px 14px; border-top: 1px solid #f0f0f0; border-bottom: 1px solid #f0f0f0; }
.bcm-ty__subtitle { font-size: 14px; font-weight: 700; color: #333; margin: 0 0 12px; padding-left: 9px; border-left: 3px solid var(--bc-red); line-height: 1.3; }

.bcm-ty__meta { margin: 0; }
.bcm-ty__meta > div { display: flex; justify-content: space-between; align-items: baseline; padding: 8px 0; border-bottom: 1px solid #f4f4f4; font-size: 13px; }
.bcm-ty__meta > div:last-child { border-bottom: 0; }
.bcm-ty__meta dt { color: #8a8a8a; font-weight: 400; }
.bcm-ty__meta dd { margin: 0; color: #333; font-weight: 700; }
.bcm-ty__ordernum { font-size: 16px; color: var(--bc-red) !important; }
.bcm-ty__total { color: var(--bc-red) !important; font-size: 15px; }

.bcm-ty__items { list-style: none; margin: 0 0 4px; padding: 0; }
.bcm-ty__item { display: flex; align-items: flex-start; gap: 10px; padding: 10px 0; border-bottom: 1px solid #f4f4f4; }
.bcm-ty__item:last-child { border-bottom: 0; }
.bcm-ty__thumb { flex: 0 0 52px; width: 52px; height: 52px; border: 1px solid #eee; border-radius: 4px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.bcm-ty__thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.bcm-ty__iteminfo { flex: 1; min-width: 0; }
.bcm-ty__itemname { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 12.5px; line-height: 1.5; color: #333; }
.bcm-ty__itemqty { display: block; margin-top: 4px; font-size: 11px; color: #8a8a8a; }
.bcm-ty__itemprice { flex: 0 0 auto; font-size: 13px; font-weight: 700; color: #333; white-space: nowrap; }

.bcm-ty__sums { border-top: 2px solid #333; margin-top: 8px; }
.bcm-ty__sumrow { display: flex; justify-content: space-between; padding: 8px 0; font-size: 13px; color: #333; border-bottom: 1px solid #f4f4f4; }
.bcm-ty__sumrow--total { border-bottom: 0; font-weight: 700; font-size: 14px; padding-top: 12px; }
.bcm-ty__grand { color: var(--bc-red); font-size: 19px; font-weight: 800; white-space: nowrap; }

.bcm-ty__addr { font-style: normal; font-size: 13px; line-height: 2; color: #333; }
.bcm-ty__delivery { margin: 10px 0 0; padding: 9px 12px; background: #f7f9fc; border-radius: 6px; font-size: 12.5px; color: #333; }

/* 会員登録ナビ（成功直後の第1画面・高さ圧縮版） */
@keyframes bcmTyFadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.bcm-ty__reg { margin: 12px 12px 0; padding: 14px 14px 12px; background: linear-gradient(180deg, #fff5f5 0%, #fff 70%); border: 1px solid #ffd9dc; border-radius: 12px; animation: bcmTyFadeUp .55s ease .25s both; }
.bcm-ty__hook { font-size: 13px; color: #333; text-align: center; line-height: 1.75; margin: 0 0 12px; }
.bcm-ty__hook strong { color: var(--bc-red); }
.bcm-ty__reg-title { font-size: 16px; font-weight: 800; color: #333; text-align: center; margin: 0 0 14px; line-height: 1.6; }
.bcm-ty__benefits { list-style: none; margin: 12px 0 0; padding: 10px 4px 2px; border-top: 1px dashed #f0c8cb; display: grid; grid-template-columns: 1fr 1fr; column-gap: 6px; }
.bcm-ty__benefits li { position: relative; padding: 4px 0 4px 20px; font-size: 11px; color: #444; line-height: 1.55; }
.bcm-ty__benefits li::before { content: ''; position: absolute; left: 0; top: 7px; width: 13px; height: 13px; border-radius: 50%; background: var(--bc-red) url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 12.5l4 4L18 8' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/8px no-repeat; }

.bcm-ty__magic { background: #fff; border: 1px solid #eee; border-radius: 10px; padding: 12px 12px 10px; }
.bcm-ty__magic-lead { font-size: 13.5px; font-weight: 700; color: var(--bc-red); text-align: center; margin: 0 0 10px; }
.bcm-ty__magic-sub { font-size: 10.5px; color: #8a8a8a; text-align: center; line-height: 1.7; margin: 8px 0 0; }
.bcm-ty__magic-form { display: flex; flex-direction: column; gap: 10px; }
.bcm-ty__magic-form input { width: 100%; height: 46px; border: 1px solid #cfcfcf; border-radius: 6px; padding: 0 12px; font-size: 15px; box-sizing: border-box; }
.bcm-ty__magic-form input:focus { border-color: #888; outline: none; }
.bcm-ty__magic-btn { width: 100%; height: 48px; border: 0; border-radius: 6px; background: var(--bc-red); color: #fff; font-size: 15px; font-weight: 700; cursor: pointer; }
.bcm-ty__magic-btn:disabled { opacity: .6; }
.bcm-ty__magic-form.is-sent .bcm-ty__magic-btn { background: #3aad4b; }
.bcm-ty__magic-msg { margin: 10px 0 0; font-size: 12.5px; line-height: 1.7; text-align: center; }
.bcm-ty__magic-msg.is-ok { color: #2e8b3c; }
.bcm-ty__magic-msg.is-error { color: var(--bc-red); }
.bcm-ty__magic-msg small { color: #8a8a8a; font-size: 11px; }

.bcm-ty__social { margin-top: 12px; text-align: center; }
.bcm-ty__social-lead { font-size: 10.5px; color: #9a9a9a; margin: 0 0 8px; }
.bcm-ty__social-row { display: flex; justify-content: center; gap: 12px; }
.bcm-soc { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; text-decoration: none; box-sizing: border-box; }
.bcm-soc--google { background: #fff; border: 1px solid #dadce0; }
.bcm-soc--apple { background: #000; color: #fff; }
.bcm-soc--yahoo { background: #ff0033; }
.bcm-soc__ymark { color: #fff; font-weight: 800; font-style: italic; font-size: 15px; font-family: Arial, sans-serif; }
.bcm-soc--microsoft { background: #fff; border: 1px solid #dadce0; }
.bcm-ty__social-note { font-size: 10px; color: #aaa; margin: 8px 0 0; }

.bcm-ty__reg--member { background: #fff; border: 1px solid #eee; }
.bcm-ty__mypage { display: block; text-align: center; padding: 14px; background: #333; color: #fff; border-radius: 6px; font-size: 14px; font-weight: 700; text-decoration: none; }
.bcm-ty__continue { text-align: center; margin: 18px 0 0; }
.bcm-ty__continue a { color: #0068b7; font-size: 13px; text-decoration: underline; }

/* ==========================================================================
   Thank-you v2 — full-width provider buttons (fever-style, JP localized)
   ========================================================================== */
.bcm-ty__btns { display: flex; flex-direction: column; gap: 10px; }
.bcm-tybtn {
	position: relative; display: flex; align-items: center; justify-content: center;
	width: 100%; height: 48px; box-sizing: border-box;
	border: 1px solid #cfcfcf; border-radius: 6px; background: #fff;
	font-family: inherit; font-size: 14px; font-weight: 700; color: #333;
	text-decoration: none; cursor: pointer; padding: 0 14px;
	transition: background .15s ease, border-color .15s ease;
}
.bcm-tybtn:active { background: #f5f5f5; }
.bcm-tybtn__icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); display: inline-flex; align-items: center; justify-content: center; width: 22px; }
.bcm-tybtn__icon--yahoo { color: #ff0033; font-weight: 800; font-style: italic; font-size: 15px; font-family: Arial, sans-serif; }
.bcm-tybtn--email[aria-expanded="true"] { border-color: var(--bc-red); background: #fff7f7; }
.bcm-tybtn--email[aria-expanded="true"]::after {
	content: ''; position: absolute; right: 16px; top: 50%;
	width: 7px; height: 7px; border-right: 2px solid #999; border-bottom: 2px solid #999;
	transform: translateY(-70%) rotate(-135deg);
}
.bcm-tybtn--email::after {
	content: ''; position: absolute; right: 16px; top: 50%;
	width: 7px; height: 7px; border-right: 2px solid #999; border-bottom: 2px solid #999;
	transform: translateY(-30%) rotate(45deg);
}
.bcm-ty__magicwrap { overflow: hidden; transition: max-height .35s ease; }
.bcm-ty__magicwrap[hidden] { display: none; }
.bcm-ty__magicwrap .bcm-ty__magic { margin-top: 10px; }
.bcm-ty__social-note { font-size: 10px; color: #aaa; text-align: center; margin: 10px 0 0; }

/* ==========================================================================
   Thank-you v3 — one-tap registration first (max conversion)
   ========================================================================== */
.bcm-ty__quick { text-align: center; }
.bcm-ty__quick-btn {
	width: 100%; height: 52px; border: 0; border-radius: 6px;
	background: var(--bc-red); color: #fff;
	font-family: inherit; font-size: 16px; font-weight: 800; cursor: pointer;
	box-shadow: 0 2px 6px rgba(230,0,18,.25);
}
.bcm-ty__quick-btn:active { transform: translateY(1px); }
.bcm-ty__quick-btn:disabled { opacity: .8; }
.bcm-ty__quick-btn.is-done { background: #3aad4b; box-shadow: none; }
.bcm-ty__quick-mail { margin: 10px 0 0; font-size: 12px; color: #666; }
.bcm-ty__quick-mail strong { color: #333; word-break: break-all; }
.bcm-ty__quick-sub { margin: 6px 0 0; font-size: 10.5px; color: #9a9a9a; line-height: 1.7; }
.bcm-ty__othermail {
	margin-top: 8px; background: none; border: 0; padding: 4px;
	font-family: inherit; font-size: 12px; color: #0068b7; text-decoration: underline; cursor: pointer;
}
.bcm-ty__divider { display: flex; align-items: center; gap: 10px; margin: 16px 0 10px; color: #aaa; font-size: 11px; }
.bcm-ty__divider::before, .bcm-ty__divider::after { content: ''; flex: 1; border-top: 1px solid #e5e5e5; }
.bcm-ty__divider span { white-space: nowrap; }

/* Thank-you v4 — email-first button group, expanded by default */
.bcm-ty__btns + .bcm-ty__magicwrap { margin-top: 10px; }
.bcm-ty__magicwrap + .bcm-ty__btns { margin-top: 10px; }

/* Thank-you v5 — provider-matched recommendation */
.bcm-ty__reco-cap { font-size: 12.5px; color: #333; text-align: center; line-height: 1.75; margin: 0 0 12px; }
.bcm-ty__reco-cap strong { color: var(--bc-red); }
.bcm-tybtn--reco { border-color: var(--bc-red) !important; background: #fff7f7; }
.bcm-ty__btns + .bcm-ty__btns { margin-top: 10px; }
