/* Single product page. */

.shop-product__crumbs {
	margin-bottom: 0;
}

.shop-product__media .wc-block-product-gallery-large-image img,
.shop-product__media .wc-block-product-gallery-large-image__image {
	border-radius: var(--wp--custom--radius--card);
	background: var(--wp--preset--color--white, #fff);
}

.shop-product__media .wc-block-product-gallery-thumbnails img {
	border-radius: var(--wp--custom--radius--control);
}

@media (min-width: 782px) {
	.shop-product__sticky {
		position: sticky;
		top: 7rem;
	}
}

.shop-product__title {
	font-size: clamp(1.6rem, 3.2vw, 2.4rem) !important;
	line-height: 1.15;
	margin: 0;
}

/* Large, high-contrast price (as on the original store). */
.shop-product__price {
	font-size: clamp(2.4rem, 8vw, 3.25rem) !important;
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -0.02em;
}

.shop-product__price del {
	font-size: 0.72em;
	margin-right: 0.5rem !important;
}

.shop-product__stock {
	margin-top: -0.25rem !important;
}

.shop-product__excerpt {
	color: var(--wp--preset--color--secondary);
}

.shop-product .wc-block-add-to-cart-with-options .wp-block-button__link,
.shop-product .wc-block-add-to-cart-with-options .single_add_to_cart_button,
.shop-product .wc-block-components-product-button__button {
	min-height: 52px;
	padding-inline: 2rem;
	font-size: 1.05rem;
	border-radius: var(--wp--custom--radius--pill);
}

.shop-product__summary .wc-block-product-filter-chips__item {
	border-radius: var(--wp--custom--radius--pill);
	border: 1px solid var(--wp--preset--color--border-light);
	background: var(--wp--preset--color--white, #fff);
	color: var(--wp--preset--color--main);
	padding: 0.4rem 0.9rem;
	font-weight: 600;
}

.shop-product__summary .wc-block-product-filter-chips__item[aria-checked="true"],
.shop-product__summary .wc-block-product-filter-chips__item[aria-pressed="true"] {
	border-color: var(--wp--preset--color--primary-alt-accent);
	background: var(--wp--preset--color--primary-alt-accent);
	color: var(--wp--preset--color--white, #fff);
}

.shop-product__stock {
	font-weight: 700;
	color: var(--wp--preset--color--primary-alt-accent);
}

.shop-trust {
	border-top: 1px solid var(--wp--preset--color--border-light);
	padding-top: 1rem;
}

.shop-trust__delivery {
	font-weight: 700;
	margin: 0 0 0.5rem;
}

.shop-trust__list {
	display: grid;
	gap: 0.45rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.shop-trust__list li {
	position: relative;
	padding-left: 1.6rem;
}

.shop-trust__list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.3em;
	width: 1rem;
	height: 1rem;
	background: var(--wp--preset--color--primary-alt-accent);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3L13 4.5' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3L13 4.5' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.shop-trust__list a {
	color: inherit;
}

.shop-product__details {
	background: var(--wp--preset--color--white, #fff);
	border: 1px solid var(--wp--preset--color--border-light);
	border-radius: var(--wp--custom--radius--card);
	padding: var(--wp--preset--spacing--medium);
}

.shop-product__details {
	overflow-wrap: anywhere;
}

/* Supplier descriptions (AliExpress imports) carry fixed widths; keep them inside the column. */
.shop-product__details :where(div, p, span, section, figure, img, video, iframe, table) {
	max-width: 100% !important;
	box-sizing: border-box;
}

.shop-product__details :where(img, video) {
	height: auto !important;
}

.shop-product__details table {
	display: block;
	overflow-x: auto;
}

@media (max-width: 781px) {
	.shop-product__columns {
		gap: 1rem !important;
	}

	.shop-product__details {
		padding: 1rem;
	}
}
