/* "Details" control (2026-11-19, CTI_Details / cti-details.js). Text #1a1a1a on white 17:1; on #fff3cd 15:1.
   The box is absolutely positioned, so opening it never moves the page. */
.cti-details {
	position: relative;
	display: inline-block;
	vertical-align: baseline;
	font-style: normal;
}

.cti-details .cti-details__btn,
.cti-details .cti-details__btn:hover,
.cti-details .cti-details__btn:active {
	display: inline-flex;
	align-items: center;
	min-width: 0;
	width: auto;
	min-height: 24px;
	margin: 0;
	padding: 0 2px !important;
	border: 0 !important;
	border-radius: 2px;
	background: none !important;
	box-shadow: none !important;
	color: #1a1a1a !important;
	font: inherit;
	font-size: 13px !important;
	font-weight: 600 !important;
	line-height: 1.4 !important;
	letter-spacing: normal;
	text-transform: none;
	text-decoration: underline;
	text-underline-offset: 2px;
	cursor: pointer;
}

.cti-details .cti-details__btn:focus-visible {
	outline: 2px solid #1a1a1a;
	outline-offset: 2px;
}

/* 2026-11-19: icon variant for cart/checkout line items - a 15px "i" right after the text, slightly raised, inside
   a 44 x 44 px tap area that takes no extra room (negative margins). #1a1a1a on white 17:1. */
.cti-details--icon {
	top: -0.3em;
	margin-left: 2px;
	line-height: 1;
	vertical-align: baseline;
}

.cti-details .cti-details__btn--icon,
.cti-details .cti-details__btn--icon:hover,
.cti-details .cti-details__btn--icon:active {
	justify-content: center;
	width: 44px;
	height: 44px;
	min-height: 44px;
	margin: -14px -14px -15px -14px !important;
	padding: 0 !important;
	border-radius: 50%;
	text-decoration: none;
	vertical-align: middle;
}

.cti-details .cti-details__btn--icon svg {
	display: block;
	width: 15px;
	height: 15px;
	pointer-events: none;
}

/* Keyboard focus only: a small dark ring around the icon (the theme's purple ring would show on every tap). */
.cti-details .cti-details__btn:focus:not(:focus-visible) {
	outline: none !important;
}

.cti-details .cti-details__btn--icon:focus-visible {
	outline: 2px solid #1a1a1a !important;
	outline-offset: -12px !important;
}

.cti-details--icon .cti-details__box {
	top: calc( 100% + 6px );
}

/* The sensor line's name runs inline so the icon sits right after its last word (cart + checkout). Its container is
   a flex column in the blocks (which would put the icon on its own line), so that one line uses normal flow. */
table.wc-block-cart-items tr.cti-tpms-line .wc-block-cart-item__wrap,
.wc-block-components-order-summary-item.cti-tpms-summary .wc-block-components-order-summary-item__description {
	display: block !important;
}

/* The name keeps room for the icon at the end of its last line (padding); the icon's holder is zero-width and the
   icon sits absolutely just past the last word, so it can never wrap onto a line of its own. */
table.wc-block-cart-items tr.cti-tpms-line .wc-block-components-product-name,
.wc-block-components-order-summary-item.cti-tpms-summary .wc-block-components-product-name {
	display: inline !important;
	padding-right: 19px;
}

.cti-tpms-line__details {
	position: relative;
	display: inline-block;
	width: 0;
	height: 0;
	margin-left: -19px;
	vertical-align: baseline;
}

.cti-tpms-line__details .cti-details--icon {
	position: absolute;
	top: auto;
	bottom: -0.72em;
	left: 3px;
	margin: 0;
}

table.wc-block-cart-items tr.cti-tpms-line .wc-block-cart-item__prices {
	margin-top: 4px;
}

/* 2026-11-19: no product description under the tire name in the cart and checkout line items. */
.wc-block-cart-items .wc-block-components-product-metadata__description,
.wc-block-components-order-summary-item .wc-block-components-product-metadata__description {
	display: none;
}

.cti-details__box {
	position: absolute;
	z-index: 1000;
	top: calc( 100% + 4px );
	left: 0;
	width: 280px;
	max-width: calc( 100vw - 16px );
	box-sizing: border-box;
	padding: 10px 12px;
	border: 1px solid #b8b8b8;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 6px 20px rgba( 0, 0, 0, 0.15 );
	color: #1a1a1a;
	font-size: 13px;
	font-style: normal;
	font-weight: 400;
	line-height: 1.45;
	text-align: left;
	text-transform: none;
	white-space: normal;
}

.cti-details__box[hidden] {
	display: none;
}

.cti-details__line {
	display: block;
}

.cti-details__line + .cti-details__line {
	margin-top: 6px;
}

/* The one-line extra-charges note (cart page, product options). */
.cti-extra-charges {
	margin: 0 0 12px;
	padding: 8px 12px;
	border-radius: 6px;
	background: #fff3cd;
	color: #1a1a1a;
	font-size: 14px;
	line-height: 1.45;
}
