/* Pinks — Thickness Pages */

/* Keep WooCommerce's own dropdown working (it holds the selected size) but out of sight. */
.ptp-wrap { position: relative; width: 100%; }
.ptp-wrap .ptp-select {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}
td.value:has(.ptp-wrap) .reset_variations { display: none !important; }

/* Thickness buttons */
.ptp-buttons {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(76px, 1fr));
	gap: 8px;
	margin: 4px 0 10px;
}
html body .ptp-buttons a.ptp-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 8px 6px;
	border: 1px solid #d9d9d9;
	border-radius: 6px;
	background: #fff;
	color: #111;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}
html body .ptp-buttons a.ptp-btn:hover { border-color: #ef2d9f; color: #ef2d9f; }
html body .ptp-buttons a.ptp-btn.is-current {
	border-color: #ef2d9f;
	background: #ef2d9f;
	color: #fff;
	font-weight: 600;
}
html body .ptp-buttons a.ptp-btn.is-oos { color: #999; background: #f6f6f6; text-decoration: line-through; }
html body .ptp-buttons a.ptp-btn.is-oos.is-current { color: #fff; background: #c9c9c9; border-color: #c9c9c9; }
html body .ptp-buttons a.ptp-btn:focus-visible { outline: 2px solid #111; outline-offset: 2px; }

/* Facts box at the top of the description */
.ptp-facts {
	margin: 0 0 18px;
	padding: 14px 16px;
	border: 1px solid #eee;
	border-left: 4px solid #ef2d9f;
	border-radius: 6px;
	background: #fafafa;
}
.ptp-facts .ptp-facts__title { margin: 0 0 8px; font-size: 18px; line-height: 1.3; }
.ptp-facts .ptp-facts__list { margin: 0 0 8px; padding-left: 18px; }
.ptp-facts .ptp-facts__list li { margin: 2px 0; }
.ptp-facts .ptp-facts__more { margin: 0; font-size: 14px; }
.ptp-facts .ptp-facts__more a { color: #ef2d9f; }

@media (max-width: 480px) {
	.ptp-buttons { grid-template-columns: repeat(4, 1fr); gap: 6px; }
	html body .ptp-buttons a.ptp-btn { min-height: 40px; font-size: 13px; padding: 6px 2px; }
}

/* The site adds " Inc-VAT" after every price; the facts box already says inc/ex VAT in words. */
html body .ptp-facts .woocommerce-Price-amount::after { content: none !important; display: none !important; }
