.single-product .product-summary .product_title:has(+ .adesso-product-subtitle) {
	padding-block-end: 0.1rem;
}

.adesso-product-subtitle {
	margin-block: 0 2rem;
	font-size: 1.125rem;
	font-weight: 600;
	overflow-wrap: anywhere;
}

.adesso-product-price-label {
	margin-inline-end: 0.25em;
}

.adesso-product-price-values--sale .adesso-product-price-label--msrp {
	color: #767676;
}

.adesso-product-price-values {
	display: inline-block;
	max-width: 100%;
}

.adesso-product-price-values--sale {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.25em 0.65em;
}

.adesso-product-price-sale,
.adesso-product-price-regular {
	display: inline-flex;
	align-items: baseline;
}

.single-product .product-summary .single-sticky > .price + .stock {
	margin-top: 16px;
}

.single-product .description-wrapper :is(.description-container, .product-specification-section, .product-shipping-section) {
	min-width: 0;
	max-width: 100%;
}

.single-product :is(.product-description-table-scroll, .description-container .wp-block-table, .gearnix-spec-table-wrap, .shipping-table-wrap) {
	max-width: 100%;
	overflow-x: auto;
}

.single-product .description-container table {
	width: 100%;
	max-width: 100%;
}

.single-product .description-container table :is(colgroup, col, th, td)[width] {
	/* Let content size columns in tables imported with legacy width attributes. */
	width: auto;
}

.single-product .description-container table :is(th, td) {
	/* Keep identifiers intact when sizing columns so wide tables can scroll. */
	overflow-wrap: break-word;
}

.single-product :is(.gearnix-spec-table, .shipping-table) :is(th, td) {
	overflow-wrap: anywhere;
}

.single-product .description-container table :is(img, video, iframe) {
	max-width: 100%;
}

.single-product .product-shipping-section .shipping-table-wrap {
	margin-top: 20px;
}

.single-product .product-shipping-section .shipping-table {
	width: 100%;
	border-collapse: collapse;
	border: 1px solid #e0e0e0;
}

.single-product .product-shipping-section .shipping-table :is(th, td) {
	padding: 12px 16px;
	border: 1px solid #e0e0e0;
	text-align: left;
	vertical-align: top;
}

.single-product .product-shipping-section .shipping-table th {
	background: #f7f7f7;
	font-weight: 600;
}

.single-product .product-shipping-section .shipping-table td:nth-child(2) {
	white-space: nowrap;
}

@media (max-width: 767px) {
	.single-product .product-shipping-section .shipping-table :is(th, td) {
		padding: 8px 5px;
	}
}

.adesso-product-cart-layout {
	display: flex;
	align-items: center;
	gap: 8px;
}

.single-product .product-summary form.cart .adesso-product-cart-layout > .quantity:not(.hidden) {
	flex: 0 0 clamp(100px, 34%, 150px);
	min-width: 0;
	margin: 0;
}

.single-product .product-summary form.cart .adesso-product-cart-layout > .quantity .qty {
	width: 100%;
	min-width: 0;
	padding-inline: clamp(34px, 30%, 40px);
}

.single-product .product-summary form.cart .adesso-product-cart-layout > .quantity :is(.minus, .plus) {
	width: clamp(34px, 30%, 40px);
}

.adesso-product-purchase {
	display: flex;
	flex: 1;
	align-items: stretch;
	gap: 8px;
	min-width: 0;
}

.single-product .product-summary :is(.adesso-product-purchase .woosw-btn, .single-sticky > .woosw-btn) {
	display: none;
}

.single-product .product-summary form.cart .adesso-product-purchase > .single_add_to_cart_button {
	flex: 1 1 0;
	float: none;
	width: auto;
	min-width: 0;
	min-height: 50px;
	height: auto;
	margin: 0;
	padding: 8px;
	line-height: 1.2;
	white-space: normal;
}

.single-product .product-summary form.cart .adesso-product-purchase > .adesso-product-buy-now {
	color: #fff;
	background-color: var(--rbb-general-primary-color, #222);
	background-image: linear-gradient(var(--rbb-general-gradient-deg), var(--rbb-general-gradient-color), var(--rbb-general-gradient-color2));
}

.single-product .product-summary .single-sticky > form.cart:has(~ :is(.woosc-btn, .ask-questions, .rbb-social)),
.single-product .product-summary .single-sticky > :is(.woosc-btn-icon-text, .ask-questions, .rbb-social) {
	margin-block-end: 12px;
}

@media (min-width: 768px) {
	.single-product .product-summary:not(.product-slider) .single-sticky:has(> .adesso-product-videos) > .adesso-product-subtitle {
		margin-block-end: 18px;
	}

	.single-product .product-summary:not(.product-slider) .single-sticky:has(> .adesso-product-videos) > .woocommerce-product-details__short-description {
		margin-block: 16px 18px;
	}

	.single-product .product-summary:not(.product-slider) .single-sticky:has(> .adesso-product-videos) > form.cart {
		margin-block: 18px 10px;
	}

	.single-product .product-summary:not(.product-slider) .single-sticky:has(> .adesso-product-videos) > :is(.woosc-btn-icon-text, .ask-questions, .rbb-social) {
		margin-block-end: 8px;
	}
}

.rbb-product-single-image-default #rbb-gallery-lightbox {
	display: flex;
	align-items: center;
	justify-content: center;
}

.rbb-product-single-image-default #rbb-gallery-lightbox > .rbb-slick-product-gallery {
	width: 100%;
	min-width: 0;
}

.rbb-slick-product-gallery__video {
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #111;
}

.rbb-slick-product-gallery__video .wp-video {
	/* Override the shortcode's inline pixel width inside responsive gallery slides. */
	width: 100% !important;
	height: 100%;
}

.rbb-slick-product-gallery__video .mejs-container {
	/* MediaElement writes inline dimensions during initialization and resizing. */
	width: 100% !important;
	height: 100% !important;
}

.rbb-slick-product-gallery__video :is(video, iframe) {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.single-product .product-summary .single-sticky > .product_meta {
	border-block-start: 0;
}

.single-product .product-summary .adesso-product-videos + .product_meta {
	margin-block-start: 16px;
	padding-block-start: 0;
}

.single-product .product-summary .single-sticky > .product_meta:not(:has(> *)) {
	margin-block: 0;
	padding-block: 0;
}

.adesso-product-videos {
	padding-block-start: var(--adesso-product-video-top-space, 0px);
}

.adesso-product-video-player {
	width: 100%;
	aspect-ratio: 16 / 9;
	max-height: var(--adesso-product-video-max-height, none);
	overflow: hidden;
	border-radius: 8px;
	background: #111;
}

.adesso-product-video-player :is(video, iframe) {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

.adesso-product-video-player video {
	object-fit: contain;
}

.adesso-product-video-thumbs {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	padding: 8px 3px 4px;
}

.adesso-product-video-thumbs button {
	position: relative;
	flex: 0 0 72px;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: 4px;
	background: #222;
	color: #fff;
}

.adesso-product-video-thumbs button[aria-pressed="true"] {
	outline: 2px solid var(--rbb-general-primary-color, #222);
	outline-offset: 1px;
}

.adesso-product-video-thumbs button:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: -4px;
}

.adesso-product-video-thumbs img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.adesso-product-video-thumbs span {
	position: absolute;
	inset: auto 0 0;
	padding: 2px;
	background: rgb(0 0 0 / 75%);
	font-size: 12px;
	text-align: center;
}

@media (max-width: 767px) {
	.single-product .product-summary .single-sticky > :is(.woosc-btn, .ask-questions) {
		padding-inline-end: 6px;
	}

	.single-product .product-summary .single-sticky > .woosc-btn .woosc-btn-text {
		margin-inline-start: 6px;
	}

	.single-product .product-summary .single-sticky > .woosc-btn .woosc-btn-icon {
		font-size: 14px;
	}

	.single-product .product-summary .single-sticky > :is(.ask-questions, .rbb-social) em {
		padding-inline-end: 6px;
		font-size: 14px;
	}
}

@media (max-width: 359px) {
	.single-product .product-summary .single-sticky > :is(.ask-questions, .rbb-social),
	.single-product .product-summary .single-sticky > .woosc-btn .woosc-btn-text {
		font-size: 11px;
	}
}
