/* ==========================================================================
   Canoe & Kayak - Single product summary (top of every product page)
   ==========================================================================
   2026-10-25, Enderon. Enqueued from functions.php on product pages only,
   versioned by filemtime.

   1. SHORT DESCRIPTION
   Staff format the short description with whatever they like: h1, h3 to h6,
   paragraphs, lists, images and video embeds all occur. restored-custom.css
   makes every content h1 white ("body .mkdf-content h1"), meant for hero
   titles over photos, so an h1 short description drew as 60px white on white:
   a 280px blank gap under the price on Piper, Trevally, Manta Ray and John
   Dory. Every heading level here now reads as one consistent lead line, and
   the editor's inline text-align:center is overridden so it lines up with the
   rest of the column. The global h1 rule is left alone.

   2. SPACING AND STRUCTURE
   306 of 465 products have no short description, so the column is only the
   title, price and buy row. Hairlines under the price and above the meta give
   the column a frame that reads as deliberate whether it is short or long,
   and the theme's 47px gaps are tightened.
   ========================================================================== */

/* Price block, closed off with a hairline. */
.mkdf-woo-single-page .mkdf-single-product-summary .price {
	margin-bottom: 0;
	padding-bottom: 22px;
	border-bottom: 1px solid #e6e6e6;
}

/* 1. Short description */
.mkdf-woo-single-page .mkdf-single-product-summary .woocommerce-product-details__short-description {
	display: block;
	margin-top: 22px;
	font-size: 16px;
	line-height: 1.6;
	color: #555;
}

.mkdf-woo-single-page .mkdf-single-product-summary .woocommerce-product-details__short-description :is(h1, h2, h3, h4, h5, h6) {
	margin: 0 0 10px;
	font-family: Roboto, sans-serif;
	font-size: 19px;
	font-weight: 600;
	line-height: 1.45;
	letter-spacing: 0;
	text-transform: none;
	text-align: left !important;
	color: #303030;
}

.mkdf-woo-single-page .mkdf-single-product-summary .woocommerce-product-details__short-description :is(p, ul, ol) {
	margin: 0 0 10px;
}

/* Text after an alignleft/alignright image starts below it, not squeezed between. */
.mkdf-woo-single-page .mkdf-single-product-summary .woocommerce-product-details__short-description :is(h1, h2, h3, h4, h5, h6, p, ul, ol) {
	clear: both;
}

.mkdf-woo-single-page .mkdf-single-product-summary .woocommerce-product-details__short-description :is(ul, ol) {
	padding-left: 20px;
}

.mkdf-woo-single-page .mkdf-single-product-summary .woocommerce-product-details__short-description ul {
	list-style: disc;
}

.mkdf-woo-single-page .mkdf-single-product-summary .woocommerce-product-details__short-description li {
	margin-bottom: 4px;
}

.mkdf-woo-single-page .mkdf-single-product-summary .woocommerce-product-details__short-description img {
	max-width: 100%;
	height: auto;
}

.mkdf-woo-single-page .mkdf-single-product-summary .woocommerce-product-details__short-description iframe {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
}

.mkdf-woo-single-page .mkdf-single-product-summary .woocommerce-product-details__short-description > :last-child {
	margin-bottom: 0;
}

/* 2. Buy row and meta */
.mkdf-woo-single-page .mkdf-single-product-summary form.cart {
	margin-top: 28px;
}

.mkdf-woo-single-page .mkdf-single-product-summary .product_meta {
	margin-top: 28px;
	padding-top: 20px;
	border-top: 1px solid #e6e6e6;
	font-size: 14px;
}

/* 3. Booking buttons in a short description (course pages, 2026-10-25),
   styled like the Add to cart / Find a store pair below them. */
.mkdf-woo-single-page .mkdf-single-product-summary .woocommerce-product-details__short-description p.ck-sd-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 4px 0 14px;
}

.mkdf-woo-single-page .mkdf-single-product-summary .woocommerce-product-details__short-description .ck-sd-button {
	display: inline-block;
	padding: 8px 22px;
	border: 2px solid #006c32;
	background-color: #006c32;
	color: #fff;
	font-family: Montserrat, sans-serif;
	font-size: 12px;
	font-weight: 700;
	line-height: 24px;
	letter-spacing: 2.4px;
	text-transform: uppercase;
	text-decoration: none;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.mkdf-woo-single-page .mkdf-single-product-summary .woocommerce-product-details__short-description .ck-sd-button--outline {
	background-color: transparent;
	color: #006c32;
}

.mkdf-woo-single-page .mkdf-single-product-summary .woocommerce-product-details__short-description .ck-sd-button:is(:hover, :focus-visible) {
	border-color: #303030;
	background-color: #303030;
	color: #fff;
}
