/**
 * H2 QA Design UI v1 — mockup-accurate staging CSS
 * Pay.jp iframe internals are never targeted.
 */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;600;700;800&display=swap');

body.h2qa-dv1 {
	--dv1-ink: #1a2330;
	--dv1-ink-soft: #334155;
	--dv1-muted: #5b6b7c;
	--dv1-line: #d8e0e6;
	--dv1-line-strong: #a8b4c0;
	--dv1-bg: #f5f7f8;
	--dv1-surface: #ffffff;
	--dv1-teal: #0d6b66;
	--dv1-teal-hover: #0a5551;
	--dv1-teal-soft: #e7f4f3;
	--dv1-ink-btn: #1c2430;
	--dv1-gray-btn: #e8eef1;
	--dv1-danger: #b42318;
	--dv1-radius: 8px;
	--dv1-radius-sm: 6px;
	--dv1-field-h: 48px;
	--dv1-max: 1120px;
	--dv1-font: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;

	font-family: var(--dv1-font);
	color: var(--dv1-ink);
	background: var(--dv1-bg);
	font-size: 15px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

body.h2qa-dv1 a { color: var(--dv1-teal); }
body.h2qa-dv1 img { max-width: 100%; height: auto; }
body.h2qa-dv1 .h2qa-dv1-header__logo {
	max-width: none;
	height: auto; /* overridden below with explicit box */
}

/* Hide broken / empty product images (keep placeholder SVG) */
body.h2qa-dv1 img[src=""],
body.h2qa-dv1 img:not([src]),
body.h2qa-dv1 img[src*="undefined"],
body.h2qa-dv1 img.h2qa-dv1-broken {
	display: none !important;
}

/* -------------------------------------------------------------------------- */
/* Header — white, clear logo, no overlap                                      */
/* -------------------------------------------------------------------------- */
.h2qa-dv1-header {
	position: sticky;
	top: 0;
	z-index: 10050;
	background: #fff;
	border-bottom: 1px solid var(--dv1-line);
	box-shadow: 0 1px 0 rgba(26, 35, 48, 0.04);
}
.h2qa-dv1-header__inner {
	max-width: var(--dv1-max);
	margin: 0 auto;
	padding: 12px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 64px;
}
.h2qa-dv1-header__brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	text-decoration: none !important;
	color: var(--dv1-ink) !important;
	min-width: 0;
}
.h2qa-dv1-header__logo {
	display: block;
	width: auto !important;
	height: 44px !important;
	min-width: 36px;
	min-height: 44px;
	max-width: 56px !important;
	max-height: 44px !important;
	border-radius: 50%;
	object-fit: contain;
	object-position: center;
	flex: 0 0 auto;
	flex-shrink: 0;
	background: #fff;
	border: 1px solid var(--dv1-line);
}
.h2qa-dv1-header__logo-fallback {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--dv1-teal);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	font-size: 13px;
}
.h2qa-dv1-header__name {
	font-size: 15px;
	font-weight: 700;
	line-height: 1.35;
	color: var(--dv1-ink);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.h2qa-dv1-header__nav {
	display: flex;
	align-items: center;
	gap: 8px 20px;
	flex-wrap: wrap;
	font-size: 14px;
	font-weight: 700;
}
.h2qa-dv1-header__nav a {
	color: var(--dv1-ink) !important;
	text-decoration: none !important;
}
.h2qa-dv1-header__nav a:hover { color: var(--dv1-teal) !important; }
.h2qa-dv1-header__cart {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.h2qa-dv1-header__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 20px;
	height: 20px;
	padding: 0 6px;
	border-radius: 999px;
	background: var(--dv1-teal);
	color: #fff !important;
	font-size: 11px;
	font-weight: 800;
}
.h2qa-dv1-header__menu,
.h2qa-dv1-header__cart-mobile { display: none; }
.h2qa-dv1-header__menu {
	width: 40px;
	height: 40px;
	border: 0;
	background: transparent;
	padding: 8px;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
}
.h2qa-dv1-header__menu span {
	display: block !important;
	width: 100% !important;
	height: 2px !important;
	min-height: 2px !important;
	max-height: 2px !important;
	font-size: inherit !important;
	line-height: 2px !important;
	background: var(--dv1-ink) !important;
	border-radius: 1px;
	opacity: 1 !important;
	visibility: visible !important;
	overflow: visible !important;
}
.h2qa-dv1-header__cart-icon {
	width: 22px;
	height: 22px;
	display: inline-block;
	border: 2px solid var(--dv1-ink);
	border-radius: 4px 4px 6px 6px;
	position: relative;
}
.h2qa-dv1-header__cart-icon::before {
	content: "";
	position: absolute;
	top: -6px;
	left: 3px;
	width: 12px;
	height: 6px;
	border: 2px solid var(--dv1-ink);
	border-bottom: 0;
	border-radius: 6px 6px 0 0;
}

/* -------------------------------------------------------------------------- */
/* Page shell                                                                  */
/* -------------------------------------------------------------------------- */
body.h2qa-dv1 .woocommerce,
body.h2qa-dv1 .woocommerce-page .entry-content > .woocommerce {
	max-width: var(--dv1-max);
	margin: 0 auto;
	padding: 28px 24px 72px;
}

body.h2qa-dv1 .woocommerce-breadcrumb {
	font-size: 13px;
	font-weight: 600;
	color: var(--dv1-muted);
	margin: 0 0 18px;
}

body.h2qa-dv1-shop .woocommerce-products-header__title,
body.h2qa-dv1-checkout .entry-title,
body.h2qa-dv1 h1.page-title {
	font-size: 28px;
	font-weight: 800;
	color: var(--dv1-ink) !important;
	margin: 0 0 8px;
}

/* -------------------------------------------------------------------------- */
/* Shop cards                                                                  */
/* -------------------------------------------------------------------------- */
body.h2qa-dv1-shop .woocommerce-result-count,
body.h2qa-dv1-shop .woocommerce-ordering {
	font-size: 14px;
	font-weight: 600;
	color: var(--dv1-ink-soft);
}
body.h2qa-dv1-shop .woocommerce-ordering select {
	min-height: 40px;
	border: 1px solid var(--dv1-line-strong);
	border-radius: var(--dv1-radius-sm);
	padding: 8px 12px;
	font-weight: 600;
	color: var(--dv1-ink);
	background: #fff;
}

body.h2qa-dv1-shop ul.products {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	margin: 24px 0 0 !important;
	padding: 0 !important;
	list-style: none !important;
}
body.h2qa-dv1-shop ul.products::before,
body.h2qa-dv1-shop ul.products::after { content: none !important; display: none !important; }

body.h2qa-dv1-shop ul.products li.product {
	float: none !important;
	width: 100% !important;
	margin: 0 !important;
	background: var(--dv1-surface);
	border: 1px solid var(--dv1-line);
	border-radius: 12px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	box-shadow: 0 1px 2px rgba(26, 35, 48, 0.04);
}
body.h2qa-dv1-shop ul.products li.product a img {
	margin: 0 !important;
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	background: #eef3f2;
}
body.h2qa-dv1-shop ul.products li.product .woocommerce-loop-product__title {
	font-size: 16px !important;
	font-weight: 700 !important;
	color: var(--dv1-ink) !important;
	padding: 14px 16px 4px !important;
	margin: 0 !important;
	line-height: 1.4;
}
body.h2qa-dv1-shop ul.products li.product .price {
	padding: 0 16px 12px;
	font-size: 18px !important;
	font-weight: 800 !important;
	color: var(--dv1-ink) !important;
}
body.h2qa-dv1-shop ul.products li.product .button,
body.h2qa-dv1-shop ul.products li.product a.button {
	margin: auto 16px 16px !important;
	min-height: 44px;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border: 0 !important;
	border-radius: var(--dv1-radius-sm) !important;
	background: var(--dv1-teal) !important;
	color: #fff !important;
	font-size: 14px !important;
	font-weight: 800 !important;
}

/* -------------------------------------------------------------------------- */
/* Product detail                                                              */
/* -------------------------------------------------------------------------- */
body.h2qa-dv1-product div.product {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	gap: 40px;
	align-items: start;
	background: var(--dv1-surface);
	border: 1px solid var(--dv1-line);
	border-radius: 12px;
	padding: 28px;
}
body.h2qa-dv1-product div.product .woocommerce-product-gallery,
body.h2qa-dv1-product div.product .summary {
	float: none !important;
	width: 100% !important;
	margin: 0 !important;
}
body.h2qa-dv1-product .h2qa-dv1-stock {
	display: inline-block;
	margin: 0 0 10px;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 800;
}
body.h2qa-dv1-product .h2qa-dv1-stock.is-in {
	background: var(--dv1-teal-soft);
	color: var(--dv1-teal);
}
body.h2qa-dv1-product .h2qa-dv1-stock.is-out {
	background: #fde8e6;
	color: var(--dv1-danger);
}
body.h2qa-dv1-product .product_title {
	font-size: 28px !important;
	font-weight: 800 !important;
	color: var(--dv1-ink) !important;
	margin: 0 0 10px !important;
	line-height: 1.3;
}
body.h2qa-dv1-product .summary .price {
	font-size: 26px !important;
	font-weight: 800 !important;
	color: var(--dv1-ink) !important;
	margin: 0 0 18px !important;
}
body.h2qa-dv1-product form.cart {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
	margin: 8px 0 18px;
}
body.h2qa-dv1-product form.cart .quantity {
	display: inline-flex;
	align-items: center;
	border: 1px solid var(--dv1-line-strong);
	border-radius: var(--dv1-radius-sm);
	overflow: hidden;
	background: #fff;
}
body.h2qa-dv1-product form.cart .quantity .qty {
	width: 56px;
	min-height: 46px;
	border: 0 !important;
	text-align: center;
	font-size: 16px;
	font-weight: 700;
	color: var(--dv1-ink);
	box-shadow: none !important;
}
body.h2qa-dv1-product .h2qa-dv1-qty-btn {
	width: 40px;
	min-height: 46px;
	border: 0;
	background: #f1f5f4;
	color: var(--dv1-ink);
	font-size: 18px;
	font-weight: 700;
	cursor: pointer;
}
body.h2qa-dv1-product form.cart .single_add_to_cart_button {
	flex: 1 1 220px;
	min-height: 48px;
	border: 0 !important;
	border-radius: var(--dv1-radius-sm) !important;
	background: var(--dv1-teal) !important;
	color: #fff !important;
	font-size: 15px !important;
	font-weight: 800 !important;
}
body.h2qa-dv1-product .woocommerce-product-details__short-description,
body.h2qa-dv1-product .product_meta {
	font-size: 14px;
	font-weight: 600;
	color: var(--dv1-ink-soft) !important;
}
body.h2qa-dv1-product .woocommerce-tabs {
	grid-column: 1 / -1;
	margin-top: 8px;
}
body.h2qa-dv1-product .woocommerce-tabs ul.tabs {
	padding: 0 !important;
	margin: 0 0 12px !important;
	border: 0 !important;
	display: flex;
	gap: 8px;
}
body.h2qa-dv1-product .woocommerce-tabs ul.tabs li {
	border: 1px solid var(--dv1-line) !important;
	border-radius: 999px !important;
	background: #fff !important;
	padding: 0 !important;
	margin: 0 !important;
}
body.h2qa-dv1-product .woocommerce-tabs ul.tabs li.active {
	background: var(--dv1-teal-soft) !important;
	border-color: var(--dv1-teal) !important;
}
body.h2qa-dv1-product .woocommerce-tabs ul.tabs li a {
	padding: 8px 14px !important;
	font-weight: 800 !important;
	color: var(--dv1-ink) !important;
}

/* -------------------------------------------------------------------------- */
/* Cart 2-col                                                                  */
/* -------------------------------------------------------------------------- */
body.h2qa-dv1-cart .woocommerce {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
	gap: 24px;
	align-items: start;
}
body.h2qa-dv1-cart .woocommerce-notices-wrapper { grid-column: 1 / -1; }
body.h2qa-dv1-cart form.woocommerce-cart-form {
	grid-column: 1;
	background: #fff;
	border: 1px solid var(--dv1-line);
	border-radius: 12px;
	padding: 20px;
}
body.h2qa-dv1-cart .cart-collaterals {
	grid-column: 2;
	float: none !important;
	width: 100% !important;
}
body.h2qa-dv1-cart .cart_totals {
	float: none !important;
	width: 100% !important;
	background: #fff;
	border: 1px solid var(--dv1-line);
	border-radius: 12px;
	padding: 20px;
}
body.h2qa-dv1-cart .cart_totals h2 {
	font-size: 18px;
	font-weight: 800;
	margin: 0 0 14px;
	color: var(--dv1-ink);
}
body.h2qa-dv1-cart table.shop_table th,
body.h2qa-dv1-cart table.shop_table td {
	color: var(--dv1-ink) !important;
	font-size: 14px;
	font-weight: 600;
	border-color: var(--dv1-line) !important;
	padding: 12px 8px !important;
}
body.h2qa-dv1-cart .wc-proceed-to-checkout a.checkout-button {
	display: flex !important;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	border-radius: var(--dv1-radius-sm) !important;
	background: var(--dv1-teal) !important;
	color: #fff !important;
	font-weight: 800 !important;
	font-size: 15px !important;
	border: 0 !important;
}

/* -------------------------------------------------------------------------- */
/* Checkout                                                                    */
/* -------------------------------------------------------------------------- */
.h2qa-dv1-steps {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	margin: 0 0 20px;
}
.h2qa-dv1-steps__item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 12px;
	border-radius: 999px;
	background: #eef2f4;
	color: var(--dv1-muted);
	font-size: 13px;
	font-weight: 700;
}
.h2qa-dv1-steps__item span {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #cfd8df;
	color: #fff;
	font-size: 12px;
	font-weight: 800;
}
.h2qa-dv1-steps__item.is-active {
	background: var(--dv1-teal-soft);
	color: var(--dv1-teal);
}
.h2qa-dv1-steps__item.is-active span {
	background: var(--dv1-teal);
}

.h2qa-dv1-same-address {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 700;
	color: var(--dv1-ink);
	margin: 0 0 6px;
}
.h2qa-dv1-same-address-note {
	font-size: 13px;
	font-weight: 600;
	color: var(--dv1-muted);
	margin: 0 0 18px;
}

.h2qa-dv1-checkout-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
	gap: 24px;
	align-items: start;
}
.h2qa-dv1-checkout-main,
.h2qa-dv1-checkout-aside {
	background: #fff;
	border: 1px solid var(--dv1-line);
	border-radius: 12px;
	padding: 24px;
}
.h2qa-dv1-checkout-aside { position: sticky; top: 80px; }

body.h2qa-dv1-checkout #customer_details { float: none !important; width: 100% !important; }
body.h2qa-dv1-checkout .woocommerce-billing-fields > h3,
body.h2qa-dv1-checkout #order_review_heading {
	font-size: 18px;
	font-weight: 800;
	color: var(--dv1-ink);
	margin: 0 0 16px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--dv1-line);
}

body.h2qa-dv1 .woocommerce-shipping-fields,
body.h2qa-dv1 #ship-to-different-address,
body.h2qa-dv1 .ship-to-different-address,
body.h2qa-dv1 .shipping_address {
	display: none !important;
}

/* -------------------------------------------------------------------------- */
/* Unified forms                                                               */
/* -------------------------------------------------------------------------- */
body.h2qa-dv1 .woocommerce form .form-row { margin: 0 0 14px !important; padding: 0 !important; }
body.h2qa-dv1 .woocommerce form .form-row label {
	display: block;
	font-size: 13px !important;
	font-weight: 800 !important;
	color: var(--dv1-ink) !important;
	margin: 0 0 6px !important;
}
body.h2qa-dv1 .woocommerce form .required { color: var(--dv1-danger) !important; border: 0 !important; }
body.h2qa-dv1 .woocommerce form .input-text,
body.h2qa-dv1 .woocommerce form select,
body.h2qa-dv1 .woocommerce form textarea,
body.h2qa-dv1 .select2-container .select2-selection--single {
	box-sizing: border-box !important;
	width: 100% !important;
	min-height: var(--dv1-field-h) !important;
	border: 1px solid var(--dv1-line-strong) !important;
	border-radius: var(--dv1-radius-sm) !important;
	background: #fff !important;
	color: var(--dv1-ink) !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	padding: 10px 12px !important;
	box-shadow: none !important;
}
body.h2qa-dv1 .woocommerce form textarea { min-height: 100px !important; }
body.h2qa-dv1 .woocommerce form .input-text:focus,
body.h2qa-dv1 .woocommerce form select:focus,
body.h2qa-dv1 .woocommerce form textarea:focus {
	border-color: var(--dv1-teal) !important;
	outline: 3px solid rgba(13, 107, 102, 0.18) !important;
}
body.h2qa-dv1 .woocommerce form .form-row-first,
body.h2qa-dv1 .woocommerce form .form-row-last { width: 48% !important; }

/* Postcode autofill button (existing MU) */
body.h2qa-dv1 .h2qa-postcode-autofill-btn,
body.h2qa-dv1 button.h2qa-jp-postcode-btn,
body.h2qa-dv1 .h2qa-jp-autofill-btn {
	min-height: 40px !important;
	padding: 8px 14px !important;
	border: 0 !important;
	border-radius: var(--dv1-radius-sm) !important;
	background: var(--dv1-teal) !important;
	color: #fff !important;
	font-weight: 800 !important;
	font-size: 13px !important;
}

/* Notices */
body.h2qa-dv1 .woocommerce-info,
body.h2qa-dv1 .woocommerce-message,
body.h2qa-dv1 .woocommerce-error {
	color: var(--dv1-ink) !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	border-radius: var(--dv1-radius-sm);
	background: #fff !important;
}

/* -------------------------------------------------------------------------- */
/* Button hierarchy                                                            */
/* -------------------------------------------------------------------------- */
/* Normal / secondary */
body.h2qa-dv1 .woocommerce a.button,
body.h2qa-dv1 .woocommerce button.button,
body.h2qa-dv1 .woocommerce input.button {
	min-height: 42px;
	border-radius: var(--dv1-radius-sm) !important;
	background: var(--dv1-gray-btn) !important;
	border: 1px solid var(--dv1-line) !important;
	color: var(--dv1-ink) !important;
	font-weight: 800 !important;
	font-size: 14px !important;
}
/* Add to cart / proceed (teal) */
body.h2qa-dv1 .woocommerce a.button.alt,
body.h2qa-dv1 .woocommerce button.button.alt,
body.h2qa-dv1 .woocommerce input.button.alt,
body.h2qa-dv1 .single_add_to_cart_button,
body.h2qa-dv1 .checkout-button {
	background: var(--dv1-teal) !important;
	border-color: var(--dv1-teal) !important;
	color: #fff !important;
}
/* Card confirm — most prominent teal */
body.h2qa-dv1 #payment #payjp-card-validator,
body.h2qa-dv1 #payment button#payjp-card-validator,
body.h2qa-dv1 #payment input#payjp-card-validator {
	display: block !important;
	width: 100% !important;
	min-height: 54px !important;
	margin: 14px 0 10px !important;
	padding: 14px 18px !important;
	border: 0 !important;
	border-radius: var(--dv1-radius-sm) !important;
	background: var(--dv1-teal) !important;
	color: #fff !important;
	font-size: 16px !important;
	font-weight: 800 !important;
	letter-spacing: 0.02em;
	box-shadow: 0 10px 22px rgba(13, 107, 102, 0.28);
	cursor: pointer !important;
}
body.h2qa-dv1 #payment #payjp-card-validator:hover {
	background: var(--dv1-teal-hover) !important;
}
/* Place order — distinct ink (not same as card confirm) */
body.h2qa-dv1 #payment #place_order {
	display: block !important;
	width: 100% !important;
	min-height: 54px !important;
	margin-top: 10px !important;
	border: 0 !important;
	border-radius: var(--dv1-radius-sm) !important;
	background: var(--dv1-ink-btn) !important;
	color: #fff !important;
	font-size: 16px !important;
	font-weight: 800 !important;
}
body.h2qa-dv1 #payment #place_order:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

/* Payment methods */
body.h2qa-dv1 #payment {
	background: #f7faf9 !important;
	border: 1px solid var(--dv1-line) !important;
	border-radius: 12px !important;
	padding: 12px 14px 16px !important;
}
body.h2qa-dv1 #payment ul.payment_methods { border: 0 !important; padding: 0 !important; }
body.h2qa-dv1 #payment ul.payment_methods > li {
	background: #fff;
	border: 1px solid var(--dv1-line);
	border-radius: var(--dv1-radius-sm);
	margin: 0 0 10px !important;
	padding: 12px 14px !important;
}
body.h2qa-dv1 #payment ul.payment_methods > li > label {
	font-size: 15px !important;
	font-weight: 800 !important;
	color: var(--dv1-ink) !important;
}
body.h2qa-dv1 #payment .payment_box {
	background: transparent !important;
	color: var(--dv1-ink-soft) !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	padding: 0 !important;
	margin: 0 !important;
}
/* Pay.jp outer mount — never style iframe internals */
body.h2qa-dv1 #payjp-card-form,
body.h2qa-dv1 #payment .payjs-outer,
body.h2qa-dv1 #payment .PayjpElement {
	box-sizing: border-box !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
}
body.h2qa-dv1 #payment iframe[name*="_payjpElements"],
body.h2qa-dv1 #payment iframe[title*="Secure payment"] {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 260px !important;
}
body.h2qa-dv1 .h2qa-payjp-field-hints {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 6px;
	margin: 8px 0;
	font-size: 12px;
	font-weight: 800;
	color: var(--dv1-ink);
}
body.h2qa-dv1 .h2-cc-suspension-notice { display: none !important; }

/* Added-to-cart notice CTA */
body.h2qa-dv1 .woocommerce-message .button {
	background: var(--dv1-teal) !important;
	border-color: var(--dv1-teal) !important;
	color: #fff !important;
}

/* -------------------------------------------------------------------------- */
/* Responsive                                                                  */
/* -------------------------------------------------------------------------- */
@media (max-width: 960px) {
	body.h2qa-dv1-shop ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
	body.h2qa-dv1-product div.product { grid-template-columns: 1fr; padding: 18px; gap: 20px; }
	body.h2qa-dv1-cart .woocommerce,
	.h2qa-dv1-checkout-grid { grid-template-columns: 1fr; }
	body.h2qa-dv1-cart .cart-collaterals { grid-column: 1; }
	.h2qa-dv1-checkout-aside { position: static; }
}

@media (max-width: 720px) {
	.h2qa-dv1-header__nav {
		display: none;
		position: absolute;
		top: 64px;
		left: 0;
		right: 0;
		background: #fff;
		border-bottom: 1px solid var(--dv1-line);
		flex-direction: column;
		align-items: stretch;
		padding: 12px 16px;
		gap: 10px;
		z-index: 10060;
	}
	.h2qa-dv1-header__nav.is-open { display: flex !important; }
	.h2qa-dv1-header__menu,
	.h2qa-dv1-header__cart-mobile {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		position: relative;
		text-decoration: none;
	}
	.h2qa-dv1-header__name { font-size: 13px; max-width: 46vw; }
	.h2qa-dv1-header__inner { padding: 10px 14px; position: relative; }

	/* Mobile shop single column list */
	body.h2qa-dv1-shop ul.products { grid-template-columns: 1fr; }
	body.h2qa-dv1-shop ul.products li.product {
		display: grid;
		grid-template-columns: 110px minmax(0, 1fr);
		grid-template-rows: auto auto auto;
		gap: 4px 12px;
		padding: 12px;
		align-items: center;
	}
	body.h2qa-dv1-shop ul.products li.product .woocommerce-LoopProduct-link {
		display: contents;
	}
	body.h2qa-dv1-shop ul.products li.product a img {
		grid-column: 1;
		grid-row: 1 / span 3;
		align-self: start;
		aspect-ratio: 1;
		width: 110px;
		height: auto;
		border-radius: 8px;
	}
	body.h2qa-dv1-shop ul.products li.product .woocommerce-loop-product__title {
		grid-column: 2;
		grid-row: 1;
		padding: 0 !important;
		margin: 0 !important;
		font-size: 15px !important;
		align-self: end;
	}
	body.h2qa-dv1-shop ul.products li.product .price {
		grid-column: 2;
		grid-row: 2;
		padding: 0 !important;
		margin: 0 !important;
		font-size: 16px !important;
		align-self: start;
	}
	body.h2qa-dv1-shop ul.products li.product .button,
	body.h2qa-dv1-shop ul.products li.product a.button {
		grid-column: 2;
		grid-row: 3;
		margin: 6px 0 0 !important;
		width: 100%;
		align-self: start;
		justify-self: stretch;
	}

	/* Checkout / payment — shrink horizontal padding so Pay.jp iframe >= 260px at 375px */
	body.h2qa-dv1 .woocommerce {
		padding: 12px 10px 48px;
	}
	.h2qa-dv1-checkout-main,
	.h2qa-dv1-checkout-aside {
		padding: 12px 10px;
	}
	body.h2qa-dv1 #payment {
		padding: 8px 6px 10px !important;
		margin: 0 !important;
	}
	body.h2qa-dv1 #payment ul.payment_methods > li {
		padding: 8px 6px !important;
		margin: 0 0 8px !important;
	}
	body.h2qa-dv1 #payment .payment_box,
	body.h2qa-dv1 #payment fieldset {
		padding: 0 !important;
		margin: 0 !important;
	}
	body.h2qa-dv1 #payment #wc-payjp-cc-form {
		padding: 0 !important;
		margin: 0 !important;
	}
	body.h2qa-dv1 #payment #woopayjp-cc-info {
		padding: 0 !important;
		margin: 0 !important;
	}
	body.h2qa-dv1 #payment .form-row {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
	body.h2qa-dv1-cart form.woocommerce-cart-form,
	body.h2qa-dv1-cart .cart_totals {
		padding: 12px 10px;
	}

	body.h2qa-dv1 .woocommerce form .form-row-first,
	body.h2qa-dv1 .woocommerce form .form-row-last {
		width: 100% !important;
		float: none !important;
	}
	body.h2qa-dv1-product .product_title { font-size: 22px !important; }
}

/* ≤400px — ensure Pay.jp iframe ≥260px (375px iPhone) */
@media (max-width: 400px) {
	body.h2qa-dv1 .woocommerce {
		padding-left: 8px !important;
		padding-right: 8px !important;
	}
	.h2qa-dv1-checkout-main,
	.h2qa-dv1-checkout-aside {
		padding-left: 8px !important;
		padding-right: 8px !important;
	}
	body.h2qa-dv1 #payment {
		padding-left: 4px !important;
		padding-right: 4px !important;
	}
	body.h2qa-dv1 #payment ul.payment_methods > li {
		padding-left: 4px !important;
		padding-right: 4px !important;
	}
	body.h2qa-dv1 #payment .form-row-first,
	body.h2qa-dv1 #payment .form-row-last,
	body.h2qa-dv1 #payment .form-row-wide {
		margin-left: 0 !important;
		margin-right: 0 !important;
	}
}
