.single-product .summary {
	display: flex;
}

.single-product .product .entry-summary .summary-container {
	width: strech;
}

.single-product .product-border {
	display: none !important;
}

@media screen and (max-width: 1025px) {
	.single-product .product .entry-summary .summary-container {
		width: 100% !important;
	}

	.single-product .avada-single-product-gallery-wrapper {
		width: 100% !important;
	}

	.single-product .avada-single-product-gallery-wrapper .woocommerce-product-gallery {
		width: 100% !important;
	}

	.single-product .avada-single-product-gallery-wrapper .woocommerce-product-gallery .woocommerce-product-gallery__wrapper {
		width: 100% !important;
	}

	.single-product .avada-single-product-gallery-wrapper .woocommerce-product-gallery .woocommerce-product-gallery__wrapper img {
		width: 100% !important;
	}

	.single-product .avada-product-gallery .woocommerce-product-gallery__image .zoomImg {
		display: none !important;
	}

	.single-product .avada-product-gallery .avada-product-gallery-lightbox-trigger {
		z-index: 2;
		touch-action: manipulation;
	}

	.single-product #wrapper .product .summary.entry-summary {
		float: none !important;
		width: 100% !important;
	}
}

@media screen and (max-width: 1025px) {
	.single-product .product {
		display: flex;
		flex-direction: column;
	}

	.single-product #wrapper .product .summary.entry-summary {
		margin-left: 0 !important;
	}

	.single-product #wrapper .product .summary.entry-summary .summary-container {
		float: none !important;
		width: 100% !important;
	}
}

.single-product .summary .hhm-payment-icons {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1rem;
	width: 100%;
	margin: 1rem 0 1rem;
	padding: 0;
	clear: both;
}

.single-product .summary .hhm-payment-icons__image {
	display: block;
	width: auto;
	height: 28px;
	max-width: 52px;
	object-fit: contain;
	margin: 0;
}


.single-product .summary .hhm-product-delivery {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
	width: 100%;
	clear: both;
}

.single-product .summary .hhm-product-delivery--above-cart,
.single-product .summary .hhm-product-delivery--below-cart {
	margin: 0;
	padding-top: 0;
	border-top: 0;
}

.single-product .summary .hhm-accordion {
	width: 100%;
	clear: both;
	border-top: 1px solid rgba(0, 0, 0, 0.08);
	padding-bottom: 0.85rem;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.single-product .summary .hhm-accordion__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding-top: 0.85rem;
	margin: 0;
	cursor: pointer;
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.35;
	list-style: none;
	color: #2f302f;
}

.single-product .summary .hhm-accordion__header::-webkit-details-marker {
	display: none;
}

.single-product .summary .hhm-accordion__title {
	flex: 1 1 auto;
	min-width: 0;
}

.single-product .summary .hhm-accordion__icon {
	flex: 0 0 auto;
	width: 1.25rem;
	height: 1.25rem;
	position: relative;
}

.single-product .summary .hhm-accordion__icon::before,
.single-product .summary .hhm-accordion__icon::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0.75rem;
	height: 2px;
	background: currentColor;
	transform: translate(-50%, -50%);
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.single-product .summary .hhm-accordion__icon::after {
	transform: translate(-50%, -50%) rotate(90deg);
}

.single-product .summary .hhm-accordion[open] .hhm-accordion__icon::after {
	opacity: 0;
}

.single-product .summary .hhm-accordion__panel,
.hhm-product-tabs .hhm-accordion__panel {
	overflow: hidden;
}

.single-product .summary .hhm-accordion:not([open]) .hhm-accordion__panel,
.hhm-product-tabs .hhm-accordion:not([open]) .hhm-accordion__panel {
	height: 0;
	padding-bottom: 0;
}

.single-product .summary form.cart + .hhm-payment-icons,
.single-product .summary .hhm-payment-icons {
	margin-top: 0.75rem;
}

.hhm-product-tabs {
	margin-top: 1.5rem;
}

.hhm-product-tabs .hhm-accordion {
	border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.hhm-product-tabs .hhm-accordion__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 0.95rem 0;
	margin: 0;
	cursor: pointer;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.35;
	list-style: none;
	color: #2f302f;
}

.hhm-product-tabs .hhm-accordion__header::-webkit-details-marker {
	display: none;
}

.hhm-product-tabs .hhm-accordion__icon {
	flex: 0 0 auto;
	width: 1.25rem;
	height: 1.25rem;
	position: relative;
}

.hhm-product-tabs .hhm-accordion__icon::before,
.hhm-product-tabs .hhm-accordion__icon::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0.75rem;
	height: 2px;
	background: currentColor;
	transform: translate(-50%, -50%);
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.hhm-product-tabs .hhm-accordion__icon::after {
	transform: translate(-50%, -50%) rotate(90deg);
}

.hhm-product-tabs .hhm-accordion[open] .hhm-accordion__icon::after {
	opacity: 0;
}

.hhm-product-tabs .hhm-accordion__panel {
	padding: 0 0 1rem;
}

@media screen and (max-width: 767px) {
	.single-product .summary .single_add_to_cart_button {
		position: sticky;
		bottom: 0.75rem;
		z-index: 2;
	}

	.single-product .woocommerce-tabs,
	.single-product .hhm-product-tabs {
		margin-top: 1rem;
	}
}

.single-product .summary .hhm-product-delivery__item {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
}

.single-product .summary .hhm-product-delivery__item--origin {
	padding-left: 0;
}

.single-product .summary .hhm-product-delivery__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 1.35rem;
	width: 1.35rem;
	height: 1.35rem;
	margin-top: 0.1rem;
	color: #3d8b37;
}

.single-product .summary .hhm-product-delivery__icon svg {
	display: block;
	width: 1.1rem;
	height: 1.1rem;
}

.single-product .summary .hhm-product-delivery__item--packaging .hhm-product-delivery__icon {
	color: #4a6fa5;
}

.single-product .summary .hhm-product-delivery__item--provider .hhm-product-delivery__icon {
	color: #5f6368;
}

.single-product .summary .hhm-product-delivery__content {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	min-width: 0;
}

.single-product .summary .hhm-product-delivery__text {
	display: block;
	font-size: 0.95em;
	line-height: 1.45;
}

.single-product .summary .hhm-product-delivery__flag {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1rem;
	height: 1rem;
	margin: 0 0.35rem;
	vertical-align: middle;
	border-radius: 2px;
	overflow: hidden;
	flex-shrink: 0;
}

.single-product .summary .hhm-product-delivery__flag svg {
	display: block;
	width: 1rem;
	height: 1rem;
	max-width: 1rem;
	max-height: 1rem;
}

.single-product .summary .hhm-product-delivery__item--shipping .hhm-product-delivery__text,
.single-product .summary .hhm-product-delivery__item--pickup .hhm-product-delivery__text,
.single-product .summary .hhm-product-delivery__item--shipping-standard .hhm-product-delivery__text {
	color: #3d8b37;
}

.single-product .summary .hhm-product-delivery__item--shipping-express .hhm-product-delivery__icon {
	color: #c9722a;
}

.single-product .summary .hhm-product-delivery__item--shipping-express .hhm-product-delivery__text {
	color: #c9722a;
}

/* Cart & checkout: "Sendung" shipping method options */
/* The checkout totals table (Avada checkout builder) sets white-space:
 * nowrap on its <td> cells for compact price columns; since it's an
 * auto-layout table that also affects this "Sendung" cell, it forces the
 * whole table (and its other rows/columns) wider than its container,
 * triggering an unwanted horizontal scroll area. Resetting wrapping alone
 * then lets the same auto-layout shrink this column down to its
 * min-content (a single word), so a fixed min-width is also enforced on
 * desktop -- a percentage (even inside min()) doesn't work here because
 * table auto-layout treats percentages as indeterminate while computing
 * intrinsic sizes, so it's reset back to 0 for the <=768px layout below,
 * where the td is full-width already and doesn't need this fallback. */
#shipping_method,
.woocommerce-shipping-methods {
	text-align: left !important;
	white-space: normal !important;
	list-style: none;
	margin: 0.5rem 0 0 !important;
	padding: 0 !important;
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
	min-width: 260px;
	max-width: 100%;
	box-sizing: border-box;
}

.awb-cart-totals-table th {
	text-align: left !important;
}

.woocommerce-shipping-totals.shipping th {
	width: 1% !important;
}

@media screen and (max-width: 768px) {
	.woocommerce-checkout .woocommerce-content-box {
		padding: 30px 10px !important;
	}
}

#shipping_method li,
.woocommerce-shipping-methods li {
	display: flex !important;
	align-items: flex-start;
	gap: 0.65rem;
	margin: 0 !important;
	padding: 0.75rem 0.9rem;
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 8px;
	background: #fff;
	white-space: normal;
	max-width: 100%;
	box-sizing: border-box;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}

#shipping_method li:hover,
.woocommerce-shipping-methods li:hover {
	border-color: rgba(0, 0, 0, 0.25);
}

#shipping_method li:has(input.shipping_method:checked),
.woocommerce-shipping-methods li:has(input.shipping_method:checked) {
	border-color: #6a715a;
	background: rgba(106, 113, 90, 0.07);
}

#shipping_method li input.shipping_method,
.woocommerce-shipping-methods li input.shipping_method {
	flex: 0 0 auto;
	width: 1.1rem;
	height: 1.1rem;
	margin: 0.15rem 0 0 !important;
	float: none !important;
}

#shipping_method li label,
.woocommerce-shipping-methods li label {
	display: flex;
	align-items: flex-start;
	flex: 1 1 auto;
	min-width: 0;
	cursor: pointer;
	text-align: left;
	margin: 0;
}

.hhm-shipping-option {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
	width: 100%;
	min-width: 0;
	max-width: 100%;
	text-align: left;
	white-space: normal;
	line-height: 1.4;
}

.hhm-shipping-option__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 1.4rem;
	width: 1.4rem;
	height: 1.4rem;
	margin-top: 0.05rem;
	color: #3d8b37;
}

@media screen and (max-width: 768px) {
	/* td must stay full-width here (not fit-content): the shipping option
	 * cards wrap onto multiple lines, and sizing td by its own content in a
	 * fit-content/auto context makes that intrinsic-size calculation
	 * indeterminate, which can collapse the wrapped text down to its
	 * absolute minimum. The row itself is blockified too so th/td aren't
	 * left as block boxes inside a table-row parent, which is what made
	 * that intrinsic-size confusion happen in the first place. */
	.woocommerce-shipping-totals.shipping {
		display: block;
	}

	.woocommerce-shipping-totals.shipping th {
		display: block !important;
		width: fit-content !important;
	}

	/* !important: the checkout builder's own "form.checkout .shop_table
	 * tfoot td { width: 40% }" rule is more specific than a plain
	 * ".shipping td" selector and would otherwise win, shrinking this cell
	 * back down. */
	.woocommerce-shipping-totals.shipping td {
		display: block !important;
		width: 100% !important;
	}

	/* The 260px desktop fallback above is only needed to stop the nested
	 * totals table's auto-layout from starving this column; td is already
	 * a determinate 100% here, so drop it to avoid ever overflowing a
	 * narrow phone screen. */
	#shipping_method,
	.woocommerce-shipping-methods {
		min-width: 0;
	}
}

.hhm-shipping-option__icon svg {
	display: block;
	width: 1.15rem;
	height: 1.15rem;
}

.hhm-shipping-option--express .hhm-shipping-option__icon {
	color: #c9722a;
}

.hhm-shipping-option__body {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	min-width: 0;
}

.hhm-shipping-option__title {
	font-weight: 700;
	font-size: 0.95rem;
	line-height: 1.35;
	color: #2f302f;
	white-space: normal;
}

.hhm-shipping-option__line {
	display: block;
	font-size: 0.85em;
	line-height: 1.4;
	opacity: 0.75;
	white-space: normal;
}

@media screen and (max-width: 480px) {
	#shipping_method li,
	.woocommerce-shipping-methods li {
		padding: 0.65rem 0.75rem;
	}

	.hhm-shipping-option__title {
		font-size: 0.9rem;
	}
}

.single-product .summary .hhm-product-delivery__subtext {
	display: block;
	font-size: 0.85em;
	line-height: 1.4;
	opacity: 0.75;
}

.single-product .summary .hhm-trust-logos {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem 1.25rem;
	width: 100%;
	padding-top: 1rem;
	border-top: 1px solid rgba(0, 0, 0, 0.08);
	clear: both;
}

@media screen and (max-width : 700px) {
	.single-product .summary .hhm-trust-logos {
		flex-wrap: nowrap;
		gap: 0;
	}
} 
.single-product .summary .hhm-trust-logos__image {
	display: block;
	width: auto;
	height: auto;
	max-width: 200px;
	object-fit: contain;
	margin: 0;
}

@media screen and (max-width : 700px) {
	.single-product .summary .hhm-trust-logos__image {
		max-width: 50%;
	}
}

.single-product .summary .product_meta {
	font-size: 0.8rem;
	line-height: 1.45;
	margin: 0.25rem 0 0.65rem;
	color: #5f605f;
	padding: 0;
}

.single-product .summary .product_meta > span {
	display: block;
}

.single-product .summary .product_meta a {
	color: inherit;
	font-size: 0.8rem;
}

body.single-product .summary .ti-widget.ti-goog,
body.single-product .summary .ti-widget.ti-goog.h-text-align-left {
	text-align: left !important;

	a {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
}

/* WooCommerce add-to-cart CTA — strong contrast on white product/shop backgrounds */
:root {
	--hhm-cta-bg: #444344;
	--hhm-cta-bg-hover: #2f302f;
	--hhm-cta-bg-active: #252525;
	--hhm-cta-text: #ffffff;
	--hhm-cta-shadow: 0 4px 14px rgba(68, 67, 68, 0.28);
	--hhm-cta-shadow-hover: 0 6px 18px rgba(68, 67, 68, 0.34);
}

.woocommerce.single-product .summary form.cart {
	flex-wrap: nowrap;
	margin: 0;
}

.woocommerce.single-product .summary form.cart .quantity {
	margin-top: 10px;
	margin-bottom: 10px;
}

.woocommerce.single-product .summary form.cart .single_add_to_cart_button,
.woocommerce.single-product .summary form.cart .single_add_to_cart_button.button,
.woocommerce.single-product .summary form.cart button.single_add_to_cart_button {
	display: block;
	width: fit-content;
	padding: 0 1.75rem;
	background-color: var(--hhm-cta-bg) !important;
	border: 2px solid var(--hhm-cta-bg) !important;
	border-radius: 0;
	color: var(--hhm-cta-text) !important;
	font-weight: 700;
	font-size: 1rem;
	line-height: 1.2;
	letter-spacing: 0.02em;
	text-transform: none;
	box-shadow: var(--hhm-cta-shadow);
	transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
	height: 40px;
}

.woocommerce.single-product .summary form.cart .single_add_to_cart_button:hover,
.woocommerce.single-product .summary form.cart .single_add_to_cart_button:focus,
.woocommerce.single-product .summary form.cart .single_add_to_cart_button.button:hover,
.woocommerce.single-product .summary form.cart .single_add_to_cart_button.button:focus,
.woocommerce.single-product .summary form.cart button.single_add_to_cart_button:hover,
.woocommerce.single-product .summary form.cart button.single_add_to_cart_button:focus {
	background-color: var(--hhm-cta-bg-hover) !important;
	border-color: var(--hhm-cta-bg-hover) !important;
	color: var(--hhm-cta-text) !important;
	box-shadow: var(--hhm-cta-shadow-hover);
	transform: translateY(-1px);
}

.woocommerce.single-product .summary form.cart .single_add_to_cart_button:active,
.woocommerce.single-product .summary form.cart button.single_add_to_cart_button:active {
	background-color: var(--hhm-cta-bg-active) !important;
	border-color: var(--hhm-cta-bg-active) !important;
	box-shadow: 0 2px 8px rgba(68, 67, 68, 0.22);
	transform: translateY(0);
}

.woocommerce.woocommerce-shop .product .fusion-product-wrapper,
.woocommerce.single-product .related  .product .fusion-product-wrapper {
	height: 100%;
    display: flex;
    flex-direction: column;
}

.woocommerce.woocommerce-shop .product .fusion-product-wrapper a,
.woocommerce.woocommerce-shop .product .fusion-product-wrapper a .featured-image,
.woocommerce.single-product .related  .product .fusion-product-wrapper a,
.woocommerce.single-product .related  .product .fusion-product-wrapper a .featured-image {
	height: 100%;
}

.woocommerce.woocommerce-shop .product .fusion-product-wrapper a .featured-image img,
.woocommerce.single-product .related  .product .fusion-product-wrapper a .featured-image img {
	height: 100%;
	object-fit: cover;
}

@media screen and (min-width: 700px) {
	.woocommerce.woocommerce-shop .product .fusion-product-wrapper .fusion-product-content,
	.woocommerce.single-product .related  .product .fusion-product-wrapper .fusion-product-content {
		min-height: 200px;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
	}
}

.woocommerce.woocommerce-shop .product .cart-loading {
	display: none !important;
}

@media screen and (max-width: 767px) {
	html .woocommerce.single-product .woocommerce-container .social-share {
		display: flex !important;
		flex-direction: column !important;
	}

	html .woocommerce.single-product .woocommerce-container .social-share li {
		width: 100% !important;
	}
}


