.kotto-sales-terms, .kotto-release-notice {
	box-sizing: border-box;
	max-width: 1040px;
	margin: 28px auto;
	padding: 24px 20px;
	border-top: 1px solid #dcdcd5;
	color: #163c32;
	font: 400 14px/1.9 "Yu Gothic", "Hiragino Kaku Gothic ProN", system-ui, sans-serif;
	overflow-wrap: anywhere;
}
.kotto-sales-terms h2 { margin: 0 0 16px; font-size: 23px; line-height: 1.6; }
.kotto-sales-terms h3 { margin-top: 26px; font-size: 17px; }
.kotto-sales-terms__confirmed { margin: 20px 0; }
.kotto-sales-terms__confirmed > div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid #e7e6df; }
.kotto-sales-terms__confirmed dt { font-weight: 600; }
.kotto-sales-terms__confirmed dd { margin: 0; }
.kotto-sales-terms__pending { color: #515b55; font-size: 13px; }
.kotto-sales-terms__pending ul { padding-left: 20px; }
.kotto-sales-terms__pending li { margin: 8px 0; }
.kotto-sales-terms__links { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 24px; }
.kotto-sales-terms__links a { color: #163c32; text-decoration: underline; text-underline-offset: 4px; }
.kotto-price-tax { display: inline-block; font-size: max(11px, .72em); font-weight: 400; }
.kotto-checkout-review { display: block; margin: 18px 0; padding: 18px; border: 1px solid #d2d5cd; background: #faf9f5; color: #163c32; font-size: 14px; line-height: 1.9; overflow-wrap: anywhere; }
.kotto-checkout-review a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.kotto-review-example { width: 100%; border-collapse: collapse; margin-block: 20px; font-size: 15px; }
.kotto-review-example caption { text-align: left; margin-bottom: 12px; }
.kotto-review-example th, .kotto-review-example td { border-bottom: 1px solid #dcdcd5; padding: 12px 8px; text-align: left; }
.kotto-review-example td:last-child, .kotto-review-example th:last-child { text-align: right; white-space: nowrap; }
.kotto-review-disabled { padding: 16px 24px; background: #e4e6df; border: 1px solid #b7beb4; color: #46534b; font: inherit; }
.kotto-checkout-terms-details { max-width: 1040px; margin: 24px auto; padding: 12px; color: #163c32; }
.kotto-checkout-terms-details > summary { cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.kotto-document-links { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-block: 24px; }

.wp-block-woocommerce-order-confirmation-status > h1 {
	font-size: clamp(1.5rem, 2.5vw, 1.875rem);
	line-height: 1.35;
}
.wp-block-woocommerce-order-confirmation-status > p,
.woocommerce-order > .woocommerce-thankyou-order-received {
	max-inline-size: 44rem;
	font-size: 1rem;
	line-height: 1.75;
}
.wp-block-woocommerce-order-confirmation-summary,
.wp-block-woocommerce-order-confirmation-totals table,
.woocommerce-order .woocommerce-order-overview,
.woocommerce-order .woocommerce-table--order-details {
	font-size: 1rem;
	line-height: 1.6;
}
.woocommerce-order ul.woocommerce-order-overview.order_details > li {
	font-size: .875rem;
}
.wp-block-woocommerce-order-confirmation-summary .includes_tax,
.wp-block-woocommerce-order-confirmation-totals tfoot .includes_tax,
.woocommerce-order :is(.woocommerce-order-overview__total, .woocommerce-table--order-details tfoot) .includes_tax {
	display: block;
	font-size: .875rem;
	line-height: 1.5;
	white-space: nowrap;
}

@media (max-width: 600px) {
	.wp-block-woocommerce-order-confirmation-totals .wc-block-order-confirmation-totals__table :is(th, td),
	.woocommerce-order .woocommerce-table--order-details.shop_table :is(th, td) {
		padding-inline: 8px;
		overflow-wrap: anywhere;
	}
	.woocommerce-order ul.woocommerce-order-overview.order_details > li {
		float: none;
		margin-inline-end: 0;
		padding-inline-end: 0;
		border-inline-end: 0;
		overflow-wrap: anywhere;
	}
}

@media (max-width: 730px) {
	.kotto-sales-terms, .kotto-release-notice { margin-block: 20px; padding: 20px 12px; }
	.kotto-sales-terms__confirmed > div { grid-template-columns: 82px minmax(0, 1fr); gap: 12px; }
	.kotto-sales-terms h2 { font-size: 21px; }
}
