/* Product estimate and price panel. Scoped to Storefront product detail. */
.tc-product-detail .tc-storefront-estimate,
.tc-product-detail .tc-storefront-estimate * { box-sizing: border-box; }

.tc-product-detail .tc-storefront-estimate-packs { margin: 0; }
.tc-product-detail .tc-storefront-estimate-packs-label { margin: 0 0 0.5rem; color: #334f69; font-size: 0.9rem; font-weight: 700; }
.tc-product-detail .tc-storefront-estimate-pack-list { margin: 0 0 0.75rem; padding: 0; list-style: none; }
.tc-product-detail .tc-storefront-estimate-pack-item { margin: 0 0 0.5rem; padding: 0.65rem 0.75rem; border: 1px solid #d8e4ed; border-radius: 5px; background: #f7fafc; }
.tc-product-detail .tc-storefront-estimate-pack-item label { display: flex; align-items: flex-start; gap: 0.5rem; min-height: 36px; cursor: pointer; }
.tc-product-detail .tc-storefront-estimate-pack-name { color: #173e64; font-size: 0.9rem; font-weight: 600; }

.tc-product-detail .tc-storefront-price-board {
	overflow: hidden;
	margin: 0;
	border: 1px solid #d6e4ef;
	border-radius: 7px;
	background: #fff;
}
.tc-product-detail .tc-storefront-price-board__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.4rem 1rem;
	padding: 0.5rem 0.9rem;
	border-bottom: 1px solid #e2ebf2;
}
.tc-product-detail .tc-storefront-price-board__row:last-child { border-bottom: 0; }
.tc-product-detail .tc-storefront-price-board__label,
.tc-product-detail .tc-storefront-price-board__product-heading { color: #173e64; font-size: 1.05rem; font-weight: 700; }
.tc-product-detail .tc-storefront-price-board__icon { display: inline-block; width: 1.25em; margin-right: 0.35rem; color: #0878c9; text-align: center; }
.tc-product-detail .tc-storefront-price-board__values { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.2rem; margin-left: auto; text-align: right; }
.tc-product-detail .tc-storefront-price-board__amount { color: #173e64; font-family: Arial, Helvetica, sans-serif; font-size: 20px; font-weight: 800; }
.tc-product-detail .tc-storefront-price-board__tax { color: #ed0b2c; font-size: 12px; font-weight: 700; }
.tc-product-detail .tc-storefront-price-board__note { display: block; margin-top: 0.2rem; padding-left: 1.7rem; color: #687b8c; font-size: 12px; font-weight: 400; line-height: 1.4; }

.tc-product-detail .tc-storefront-price-board__row--product { background: #fff; }
.tc-product-detail .tc-storefront-price-board__sale { color: #ed0b2c; font-family: Arial, Helvetica, sans-serif; font-size: 20px; font-weight: 800; line-height: 1; letter-spacing: -0.03em; }
.tc-product-detail .tc-storefront-price-board__discount { padding: 0.15rem 0.4rem; border-radius: 4px; background: #f20b2b; color: #fff; font-family: Arial, Helvetica, sans-serif; font-size: 12px; font-weight: 800; }

.tc-product-detail .tc-storefront-price-board__row--construction .tc-storefront-price-board__amount,
.tc-product-detail .tc-storefront-price-board__row--disposal .tc-storefront-price-board__amount,
.tc-product-detail .tc-storefront-price-board__row--option .tc-storefront-price-board__amount,
.tc-product-detail .tc-storefront-price-board__row--option .tc-storefront-option-price { color: #ed0b2c; }
.tc-product-detail .tc-storefront-price-board__row--option .tc-storefront-option-price { font-family: Arial, Helvetica, sans-serif; font-size: 20px; font-weight: 800; }

.tc-product-detail .tc-storefront-price-board__row--option-input { display: grid; grid-template-columns: minmax(0, 1fr); align-items: flex-start; justify-content: start; gap: 0.35rem 0.75rem; }
.tc-product-detail .tc-storefront-price-board__option-inputs { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; gap: 0.2rem; margin-left: 0; }
.tc-product-detail .tc-storefront-option-select { width: 100%; max-width: 100%; min-width: 0; min-height: 44px; padding: 0.55rem 1.75rem 0.55rem 0.6rem; border: 1px solid #b9cddc; border-radius: 4px; background-color: #fff; color: #173e64; font-size: 14px; line-height: 1.5; }
.tc-product-detail .tc-storefront-option-select:focus-visible { outline: 2px solid #0878c9; outline-offset: 2px; }
.tc-product-detail .tc-storefront-option-select:disabled { color: #66798b; background-color: #f1f4f6; }
.tc-product-detail .tc-storefront-option-choice-item { display: flex; align-items: center; justify-content: flex-start; gap: 0.4rem; min-height: 30px; margin: 0; color: #334f69; font-size: 12px; cursor: pointer; }
.tc-product-detail .tc-storefront-option-required { margin-left: 0.35rem; color: #d90b29; font-size: 12px; }
.tc-product-detail .tc-storefront-option-fixed-description { flex: 0 0 100%; color: #66798b; font-size: 12px; line-height: 1.45; }

.tc-product-detail .tc-storefront-estimate-wide { width: 100%; margin: 0; }
.tc-product-detail .tc-storefront-price-board--wide-total { margin: 0 0 0.75rem; border-color: #f4cbd2; background: linear-gradient(90deg, #fff7f8, #fff0f2); }
.tc-product-detail .tc-storefront-price-board__row--pack { flex-wrap: nowrap; align-items: center; padding: 0.85rem 1rem; border: 0; color: #e80829; }
.tc-product-detail .tc-storefront-price-board__pack-copy { color: #d90b29; font-size: 12px; line-height: 1.45; }
.tc-product-detail .tc-storefront-price-board__pack-formula { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 1.05rem; font-weight: 800; line-height: 1.2; }
.tc-product-detail .tc-storefront-price-board__pack { flex: 0 0 auto; margin-left: auto; color: #ed0b2c; font-family: Arial, Helvetica, sans-serif; font-size: clamp(1.55rem, 3vw, 2.15rem); font-weight: 800; line-height: 1; letter-spacing: -0.03em; text-align: right; }
.tc-product-detail .tc-storefront-price-board__pack-tax { color: #ed0b2c; font-family: sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 0; }

.tc-product-detail .tc-storefront-price-board--inquiry { display: flex; align-items: center; justify-content: center; gap: 0.75rem; margin: 0 0 0.75rem; padding: 0.9rem 1rem; border-color: #f4cbd2; background: #fff4f6; color: #d90b29; font-size: 0.9rem; font-weight: 700; }
.tc-product-detail .tc-storefront-price-board--inquiry strong { width: 100%; color: #ed0b2c; font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.2; text-align: center; }

.tc-product-detail .tc-storefront-estimate-action { width: 100%; margin: 0; }
.tc-product-detail .tc-storefront-estimate-button {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	width: 100%;
	min-height: 58px;
	padding: 0.75rem 1.1rem;
	border: 0;
	border-radius: 7px;
	background: linear-gradient(135deg, #ff1739, #ed0025);
	color: #fff;
	font-size: clamp(1rem, 2vw, 1.25rem);
	font-weight: 800;
	line-height: 1.3;
	text-align: center;
	text-decoration: none;
	box-shadow: none;
}
.tc-product-detail .tc-storefront-estimate-button:hover,
.tc-product-detail .tc-storefront-estimate-button:focus { color: #fff; filter: brightness(0.9); text-decoration: none; }
.tc-product-detail .tc-storefront-estimate-button.is-disabled { background: #9aa5af; box-shadow: none; cursor: not-allowed; opacity: 0.78; }
.tc-product-detail .tc-storefront-estimate-button__icon { flex: 0 0 auto; }

.tc-product-detail .tc-storefront-estimate-assurance { display: flex; align-items: flex-start; gap: 0.45rem; margin: 0.65rem 0 0; color: #5b6f82; font-size: 12px; line-height: 1.5; }
.tc-product-detail .tc-storefront-estimate-assurance__label { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 0.25rem; color: #1673ad; font-weight: 700; }
.tc-product-detail .tc-storefront-estimate-assurance__body { min-width: 0; }

@media (max-width: 834px) {
	.tc-product-detail .tc-storefront-price-board__pack { font-size: 2rem; }
	.tc-product-detail .tc-storefront-estimate-button { min-height: 60px; font-size: 1.08rem; }
}

@media (max-width: 480px) {
	.tc-product-detail .tc-storefront-price-board__row { gap: 0.3rem 0.65rem; padding-inline: 0.75rem; }
	.tc-product-detail .tc-storefront-price-board__row--product { flex-wrap: nowrap; }
	.tc-product-detail .tc-storefront-price-board__row--product .tc-storefront-price-board__label { flex: 0 0 auto; font-size: 0.9rem; }
	.tc-product-detail .tc-storefront-price-board__row--product .tc-storefront-price-board__values { flex-wrap: nowrap; gap: 0.15rem; }
	.tc-product-detail .tc-storefront-price-board__row--product .tc-storefront-price-board__discount { flex: 0 0 auto; }
	.tc-product-detail .tc-storefront-price-board__row--option-input { grid-template-columns: minmax(0, 1fr); }
	.tc-product-detail .tc-storefront-price-board__option-inputs { align-items: flex-start; margin-left: 0; }
	.tc-product-detail .tc-storefront-option-choice-item { justify-content: flex-start; }
	.tc-product-detail .tc-storefront-price-board__row--pack { gap: 0.35rem; padding: 0.75rem; }
	.tc-product-detail .tc-storefront-price-board__pack-formula { white-space: nowrap; font-size: 0.9rem; }
	.tc-product-detail .tc-storefront-price-board__pack { font-size: 1.65rem; white-space: nowrap; }
	.tc-product-detail .tc-storefront-price-board--inquiry { align-items: flex-start; flex-direction: column; }
	.tc-product-detail .tc-storefront-price-board--inquiry strong { align-self: flex-end; }
	.tc-product-detail .tc-storefront-estimate-assurance { flex-direction: column; }
}
