/*
 * jh-shop-look: single product pages and the shop archive of automatedboatingsolutions.com in the
 * home page's look. Loaded ONLY on is_product() / is_shop() / is_product_taxonomy() (see ../jh-shop-look.php),
 * after shop.css, and every rule starts with body.jh-shop, so nothing here reaches the home page.
 * Values are the home page's own (page 10, widget 710cc672): .btn-primary, .model card, .model .price .amt.
 * 2026-10-13 (job: product pages).
 */

/* ---- buy buttons: the home page's .btn.btn-primary (single product + every product card) ---- */

body.jh-shop.single-product div.product form.cart button.single_add_to_cart_button.button,
body.jh-shop.woocommerce ul.products li.product a.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: var(--abs-font);
	font-weight: 700;
	font-size: 1rem;
	line-height: 1.6;
	padding: 15px 30px;
	border-radius: 999px;
	border: 2px solid transparent;
	background: linear-gradient(135deg, var(--abs-aqua), var(--abs-aqua-2));
	color: var(--abs-deep);
	text-decoration: none;
	box-shadow: none;
	cursor: pointer;
	transition: .2s;
}

body.jh-shop.single-product div.product form.cart button.single_add_to_cart_button.button:hover,
body.jh-shop.single-product div.product form.cart button.single_add_to_cart_button.button:focus-visible,
body.jh-shop.woocommerce ul.products li.product a.button:hover,
body.jh-shop.woocommerce ul.products li.product a.button:focus-visible {
	background: linear-gradient(135deg, var(--abs-aqua), var(--abs-aqua-2));
	color: var(--abs-deep);
	transform: translateY(-2px);
	box-shadow: 0 12px 28px -10px rgba(22, 184, 207, .7);
}

body.jh-shop.single-product div.product form.cart button.single_add_to_cart_button.button:disabled,
body.jh-shop.single-product div.product form.cart button.single_add_to_cart_button.button.disabled {
	opacity: .55;
	transform: none;
	box-shadow: none;
}

/* ---- breadcrumbs: quiet ---- */

body.jh-shop .woocommerce-breadcrumb.woocommerce-breadcrumb {
	margin: 0;
	padding: 28px 0 0;
	color: var(--abs-muted);
	font-size: .85rem;
}

body.jh-shop .woocommerce-breadcrumb a {
	color: var(--abs-muted);
	text-decoration: none;
}

body.jh-shop .woocommerce-breadcrumb a:hover {
	color: var(--abs-aqua);
}

/* ---- single product: gallery left, summary card right ---- */

body.jh-shop.single-product div.product {
	margin-top: 24px;
}

body.jh-shop.single-product div.product div.images {
	width: 48%;
	margin-bottom: 40px;
}

body.jh-shop.single-product div.product div.images .woocommerce-product-gallery__wrapper {
	border-radius: var(--abs-radius);
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--abs-line);
	box-shadow: var(--abs-shadow);
}

body.jh-shop.single-product div.product div.images img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 0;
}

body.jh-shop.single-product div.product div.images .flex-control-thumbs li img {
	border-radius: 10px;
}

/* Summary: the home page's quote card (.qcard), like the cart's main column. */
body.jh-shop.single-product div.product div.summary {
	width: 48%;
	background: #fff;
	border: 1px solid var(--abs-line);
	border-radius: 20px;
	box-shadow: var(--abs-shadow);
	padding: 36px 40px;
	margin-bottom: 40px;
}

body.jh-shop.single-product div.product .product_title {
	margin: 0 0 14px;
}

/* Price: the home page's model-card price (.model .price .amt). */
body.jh-shop.single-product div.product div.summary p.price,
body.jh-shop.single-product div.product div.summary span.price {
	color: var(--abs-navy);
	font-size: 2.1rem;
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -.01em;
	margin: 0 0 18px;
}

body.jh-shop.single-product div.product div.summary p.price del {
	color: var(--abs-muted);
	font-size: .6em;
	font-weight: 600;
	opacity: 1;
}

body.jh-shop.single-product div.product div.summary p.price ins {
	text-decoration: none;
}

/* Short description + tab panels: the home page's paragraph colour, font and line height. */
body.jh-shop.single-product .woocommerce-product-details__short-description,
body.jh-shop.single-product .woocommerce-Tabs-panel {
	color: var(--abs-muted);
	font-family: var(--abs-font);
	font-size: 1.02rem;
	line-height: 1.6;
}

body.jh-shop.single-product .woocommerce-product-details__short-description p,
body.jh-shop.single-product .woocommerce-Tabs-panel p {
	color: var(--abs-muted);
}

/* Quantity + Add to cart on one row; quantity field = the site's form field (border #c5d1dc, job 272). */
body.jh-shop.single-product div.product form.cart {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 12px;
	margin: 26px 0 28px;
}

body.jh-shop.single-product div.product form.cart::before,
body.jh-shop.single-product div.product form.cart::after {
	display: none;
}

body.jh-shop.single-product div.product form.cart div.quantity {
	float: none;
	margin: 0;
	display: flex;
}

body.jh-shop.single-product div.product form.cart div.quantity input.qty {
	width: 84px;
	height: auto;
	padding: 0 10px;
	background: #fbfcfe;
	border: 1px solid var(--abs-field);
	border-radius: 10px;
	color: var(--abs-ink);
	font-family: var(--abs-font);
	font-size: 1rem;
	font-weight: 600;
	text-align: center;
	box-shadow: none;
}

body.jh-shop.single-product div.product form.cart div.quantity input.qty:focus {
	background: #fff;
	border-color: var(--abs-aqua);
	box-shadow: 0 0 0 1px var(--abs-aqua);
	outline: none;
}

body.jh-shop.single-product div.product form.cart button.single_add_to_cart_button.button {
	float: none;
	flex: 1 1 auto;
	max-width: 280px;
	margin: 0;
}

/* SKU / Category: small spec lines under a hairline, like the home page's .spec rows. */
body.jh-shop.single-product div.product .product_meta {
	border-top: 1px solid var(--abs-line);
	padding-top: 16px;
	color: var(--abs-muted);
	font-size: .9rem;
}

body.jh-shop.single-product div.product .product_meta > span {
	display: block;
	margin: 2px 0;
}

body.jh-shop.single-product div.product .product_meta a {
	color: var(--abs-navy);
	font-weight: 600;
	text-decoration: none;
}

body.jh-shop.single-product div.product .product_meta a:hover {
	color: var(--abs-aqua);
}

/* Tabs (only print when a product has a long description or attributes). */
body.jh-shop.single-product div.product .woocommerce-tabs {
	clear: both;
	padding-top: 8px;
}

body.jh-shop.single-product div.product .woocommerce-tabs ul.tabs {
	padding: 0;
	margin: 0 0 18px;
}

body.jh-shop.single-product div.product .woocommerce-tabs ul.tabs::before {
	border-bottom-color: var(--abs-line);
}

body.jh-shop.single-product div.product .woocommerce-tabs ul.tabs li {
	background: transparent;
	border: 0;
	border-radius: 0;
	margin: 0 22px 0 0;
	padding: 0;
}

body.jh-shop.single-product div.product .woocommerce-tabs ul.tabs li::before,
body.jh-shop.single-product div.product .woocommerce-tabs ul.tabs li::after {
	display: none;
}

body.jh-shop.single-product div.product .woocommerce-tabs ul.tabs li a {
	color: var(--abs-muted);
	font-weight: 700;
	padding: 10px 0;
	border-bottom: 2px solid transparent;
}

body.jh-shop.single-product div.product .woocommerce-tabs ul.tabs li.active a {
	color: var(--abs-navy);
	border-bottom-color: var(--abs-aqua);
}

body.jh-shop.single-product div.product .woocommerce-tabs .panel h2 {
	color: var(--abs-navy);
	font-size: 1.2rem;
	font-weight: 700;
}

/* ---- "Related products": below the product, full width, a row of model-style cards ---- */

body.jh-shop.single-product div.product section.related.products,
body.jh-shop.single-product div.product section.up-sells {
	clear: both;
	width: 100%;
	padding-top: 12px;
}

body.jh-shop.single-product div.product section.related.products > h2,
body.jh-shop.single-product div.product section.up-sells > h2 {
	color: var(--abs-navy);
	font-size: 1.5rem;
	font-weight: 800;
	letter-spacing: -.01em;
	margin: 0 0 18px;
}

body.jh-shop.single-product section.related ul.products,
body.jh-shop.single-product section.up-sells ul.products {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 28px;
	margin: 0;
}

body.jh-shop.single-product section.related ul.products::before,
body.jh-shop.single-product section.related ul.products::after,
body.jh-shop.single-product section.up-sells ul.products::before,
body.jh-shop.single-product section.up-sells ul.products::after {
	display: none;
}

body.jh-shop.single-product.woocommerce section.related ul.products li.product,
body.jh-shop.single-product.woocommerce section.up-sells ul.products li.product {
	float: none;
	width: auto;
	margin: 0;
}

/* ---- product cards (shop archive + related): model-card photo band + price ---- */

/* Column flex so the button sits at the bottom of every card, whatever the title length. */
body.jh-shop.woocommerce ul.products li.product {
	display: flex;
	flex-direction: column;
}

body.jh-shop.woocommerce ul.products li.product > a.woocommerce-LoopProduct-link {
	padding-bottom: 14px;
}

body.jh-shop.woocommerce ul.products li.product a img {
	height: auto;
	border-radius: 0;
}

body.jh-shop.woocommerce ul.products li.product .woocommerce-loop-product__title.woocommerce-loop-product__title {
	line-height: 1.15;
	letter-spacing: -.01em;
	padding: 4px 0 6px;
}

body.jh-shop.woocommerce ul.products li.product a.button {
	margin-top: auto;
	align-self: flex-start;
}

/* ---- tablet / phone ---- */

@media (max-width: 1100px) {
	body.jh-shop.single-product section.related ul.products,
	body.jh-shop.single-product section.up-sells ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 768px) {
	body.jh-shop.single-product div.product div.images,
	body.jh-shop.single-product div.product div.summary {
		float: none;
		width: 100%;
	}

	body.jh-shop.single-product div.product div.images {
		margin-bottom: 22px;
	}

	body.jh-shop.single-product section.related ul.products,
	body.jh-shop.single-product section.up-sells ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 18px;
	}
}

@media (max-width: 560px) {
	body.jh-shop .woocommerce-breadcrumb.woocommerce-breadcrumb {
		padding-top: 20px;
	}

	body.jh-shop.single-product div.product {
		margin-top: 16px;
	}

	body.jh-shop.single-product div.product div.summary {
		padding: 24px 20px;
		border-radius: 16px;
	}

	body.jh-shop.single-product div.product div.summary p.price {
		font-size: 1.8rem;
	}

	body.jh-shop.single-product div.product form.cart button.single_add_to_cart_button.button {
		max-width: none;
	}

	body.jh-shop.single-product section.related ul.products,
	body.jh-shop.single-product section.up-sells ul.products {
		grid-template-columns: minmax(0, 1fr);
	}

	/* shop archive: WooCommerce's two phone columns as a grid, so both cards are the same height */
	body.jh-shop.woocommerce:not(.single-product) ul.products {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 14px;
	}

	body.jh-shop.woocommerce:not(.single-product) ul.products::before,
	body.jh-shop.woocommerce:not(.single-product) ul.products::after {
		display: none;
	}

	body.jh-shop.woocommerce:not(.single-product) ul.products[class*=columns-] li.product {
		float: none;
		width: auto;
		margin: 0;
	}

	/* ~170px cards: a slimmer, full-width pill */
	body.jh-shop.woocommerce:not(.single-product) ul.products li.product a.button {
		align-self: stretch;
		padding: 11px 12px;
		font-size: .95rem;
	}
}
