/**
 * Storefront product price — case total + per-bottle (bundles) and single-product total.
 * Case and primary totals inherit Jet Single Price / Blocksy `.price` typography.
 * Tokens: docs/design-system.md
 */

/* Single Product CB (23097) — breadcrumb row + back link. */
.single-product .md-single-product-breadcrumb-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 16px;
	width: 100%;
}

.single-product .md-single-product-breadcrumb-row > .elementor-widget-woocommerce-breadcrumb {
	flex: 1 1 auto;
	min-width: 0;
	margin: 0 !important;
}

.single-product .md-single-product-breadcrumb-row .woocommerce-breadcrumb {
	margin: 0;
}

.single-product .md-single-product-back-to-store {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 0.35rem;
	font-family: "Open Sans", sans-serif;
	font-size: 0.875rem;
	font-weight: 400;
	line-height: 1.4;
	color: #111111;
	text-decoration: none;
	white-space: nowrap;
}

.single-product .md-single-product-back-to-store:hover {
	color: #262626;
}

.single-product .md-single-product-back-to-store:focus-visible {
	outline: 2px solid #d3a877;
	outline-offset: 2px;
}

.single-product .md-single-product-back-to-store .fa-arrow-left {
	font-size: 0.875rem;
	color: inherit;
}

.md-storefront-price {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	margin: 0;
}

/* Case total (bundles) and primary total (simple) — match parent `.price`, not hero H1. */
.md-storefront-price__case,
.md-storefront-price__primary {
	display: block;
	margin: 0;
	font: inherit;
	color: inherit;
	line-height: inherit;
	letter-spacing: inherit;
}

.md-storefront-price__primary .woocommerce-Price-amount {
	font: inherit;
	color: inherit;
}

.md-storefront-price__primary del {
	display: block;
	font-size: 0.55em;
	opacity: 0.65;
	margin-bottom: 0.15em;
}

.md-storefront-price__primary ins {
	text-decoration: none;
}

.md-storefront-price__unit {
	display: block;
	margin: 0;
	font-family: "Open Sans", sans-serif;
	font-size: 0.875rem;
	font-weight: 400;
	line-height: 1.4;
	color: #6e6a63;
}

.md-storefront-price__unit-label {
	margin-left: 0;
}

.md-price-vat-notice {
	display: block;
	margin: 0;
	font-family: "Open Sans", sans-serif;
	font-size: 0.75rem;
	font-weight: 400;
	line-height: 1.4;
	color: #6e6a63;
}

/* Price kind (SRP / trade) below shelf amount on single-product cards. */
.md-storefront-price__kind {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	margin: 0;
	font-family: "Open Sans", sans-serif;
	font-size: 0.875rem;
	font-weight: 400;
	line-height: 1.3;
}

.md-storefront-price__kind--srp {
	color: #6e6a63;
}

.md-storefront-price__kind--trade {
	color: #d97706;
}

.md-storefront-price__kind-label {
	margin: 0;
}

.md-storefront-price__kind-tip-wrap {
	position: relative;
	display: inline-flex;
	vertical-align: middle;
	flex-shrink: 0;
}

.md-storefront-price__kind-info {
	appearance: none;
	-webkit-appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 14px;
	height: 14px;
	padding: 0;
	margin: 0;
	border: 0 !important;
	border-radius: 0;
	background: transparent !important;
	background-color: transparent !important;
	box-shadow: none !important;
	color: #111111 !important;
	cursor: help;
	font-size: 12px;
	line-height: 1;
}

.elementor-kit-6 button.md-storefront-price__kind-info,
.elementor-kit-6 .md-storefront-price__kind-info {
	background: transparent !important;
	background-color: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	color: #111111 !important;
}

.md-storefront-price__kind-info:hover,
.md-storefront-price__kind-info:focus-visible {
	color: #111111 !important;
	background: transparent !important;
	background-color: transparent !important;
}

.md-storefront-price__kind-info:focus-visible {
	outline: 2px solid #d3a877;
	outline-offset: 2px;
	border-radius: 2px;
}

.md-storefront-price__kind-tooltip {
	position: absolute;
	left: 0;
	right: auto;
	top: calc(100% + 6px);
	min-width: 168px;
	max-width: 240px;
	padding: 7px 9px;
	border-radius: 8px;
	background: #111111;
	color: #ffffff;
	font-family: "Open Sans", sans-serif;
	font-size: 0.6875rem;
	font-weight: 400;
	line-height: 1.35;
	text-align: left;
	white-space: normal;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.15s ease, visibility 0.15s ease;
	z-index: 20;
}

.md-storefront-price__kind-tip-wrap:hover .md-storefront-price__kind-tooltip,
.md-storefront-price__kind-tip-wrap:focus-within .md-storefront-price__kind-tooltip {
	opacity: 1;
	visibility: visible;
}

/* Case savings banner — design-system success message (docs/design-system.md). */
.md-storefront-case-savings-wrap {
	width: 100%;
	margin: 0 0 1rem;
}

.md-storefront-case-savings-wrap .md-storefront-price__savings {
	margin: 0;
}

.md-storefront-price__savings {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	margin: 0.5rem 0 0;
	padding: 0.75rem 1rem;
	font-family: "Open Sans", sans-serif;
	font-size: 0.875rem;
	font-weight: 400;
	line-height: 1.5;
	color: #111111;
	background: #ecf6ef;
	border: 1px solid #dad3c7;
	border-radius: 8px;
}

.md-storefront-price__savings-icon {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 1.25rem;
	height: 1.25rem;
	margin-top: 0.125rem;
	border-radius: 50%;
	background: #16a34a;
	color: #ffffff;
	font-size: 0.625rem;
	line-height: 1;
}

.md-storefront-price__savings-text {
	margin: 0;
	font: inherit;
	color: inherit;
}

.md-storefront-price__savings-text .woocommerce-Price-amount {
	font: inherit;
	color: inherit;
	font-weight: 600;
}

/* Elementor / Blocksy price widgets reuse the same markup. */
.elementor-widget-woocommerce-product-price .md-storefront-price,
.product .summary .md-storefront-price,
.ct-product-add-to-cart .md-storefront-price {
	width: 100%;
}

/*
 * Single Product CB (Elementor template 23097) — Price | Volume | ABV | Origin cards.
 * Cards: containers 1c319d8, 2a2f973, 92a3a47, e2b4b29 inside row a56b7a6.
 * Equal height: CSS grid row + Elementor --align-self overrides on the price card.
 */
.single-product .elementor-23097 .elementor-element-a56b7a6 {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 8px;
	--align-items: stretch !important;
	align-items: stretch !important;
}

.single-product .elementor-23097 .elementor-element-a56b7a6 > .e-con,
.single-product .elementor-23097 .elementor-element-a56b7a6 > .elementor-element {
	--align-self: stretch !important;
	--flex-grow: 1 !important;
	--flex-shrink: 1 !important;
	--flex-basis: 0 !important;
	align-self: stretch !important;
	flex: 1 1 auto !important;
	height: 100% !important;
	min-height: 100%;
}

.single-product .elementor-23097 .elementor-element-a56b7a6 .elementor-element-1c319d8,
.single-product .elementor-23097 .elementor-element-a56b7a6 .elementor-element-2a2f973,
.single-product .elementor-23097 .elementor-element-a56b7a6 .elementor-element-92a3a47,
.single-product .elementor-23097 .elementor-element-a56b7a6 .elementor-element-e2b4b29 {
	--align-items: center;
	--align-self: stretch !important;
	--flex-grow: 1 !important;
	--flex-shrink: 1 !important;
	--flex-basis: 0 !important;
	align-items: center;
	align-self: stretch !important;
	flex: 1 1 auto !important;
	height: 100% !important;
	min-height: 100%;
	--padding-block-start: 0;
	--padding-block-end: 0;
	padding-block: 0 !important;
	box-sizing: border-box;
}

.single-product .elementor-23097 .elementor-element-a56b7a6 .elementor-widget-icon {
	align-self: center;
	flex-shrink: 0;
}

.single-product .elementor-23097 .elementor-element-a56b7a6 .e-div-block-base {
	flex: 1 1 auto;
	align-self: stretch;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding-block: 0 !important;
	padding-inline: 12px;
	gap: 0;
	min-height: 0;
}

.single-product .elementor-23097 .elementor-element-a56b7a6 > .e-con {
	--padding-block-start: 0;
	--padding-block-end: 0;
}

.single-product .elementor-23097 .elementor-element-a56b7a6 .elementor-widget {
	--kit-widget-spacing: 0px;
	margin-block: 0 !important;
}

.single-product .elementor-23097 .elementor-element-a56b7a6 .elementor-widget-container {
	margin-block: 0 !important;
	padding-block: 0 !important;
}

.single-product .elementor-23097 .elementor-element-a56b7a6 .elementor-widget-text-editor p,
.single-product .elementor-23097 .elementor-element-a56b7a6 .elementor-widget-jet-listing-dynamic-field .jet-listing-dynamic-field__content {
	margin-block: 0;
	line-height: 1.25;
}

.single-product .elementor-23097 .elementor-element-1c319d8 .elementor-widget-jet-single-price .price,
.single-product .elementor-23097 .elementor-element-1c319d8 .md-storefront-price,
.single-product .elementor-23097 .elementor-element-1c319d8 .md-storefront-price__primary {
	margin-block: 0 !important;
	padding-block: 0 !important;
	line-height: 1.2;
}

/* Jet Single Price (f0ef896) — valid phrasing markup inside p.price; collapse wrapper gap. */
.single-product .elementor-23097 .elementor-element-f0ef896.elementor-widget-jet-single-price {
	margin-block: 0 !important;
	padding-block: 0 !important;
	--kit-widget-spacing: 0px;
	align-self: auto;
}

.single-product .elementor-23097 .elementor-element-f0ef896 .elementor-widget-container,
.single-product .elementor-23097 .elementor-element-f0ef896 .elementor-jet-single-price {
	margin: 0 !important;
	padding: 0 !important;
	line-height: 1.2;
}

.single-product .elementor-23097 .elementor-element-f0ef896 p.price {
	display: contents;
	margin: 0 !important;
	padding: 0 !important;
}

.single-product .elementor-23097 .elementor-element-f0ef896 p.price:empty {
	display: none !important;
	height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	line-height: 0 !important;
}

.single-product .elementor-23097 .elementor-element-a56b7a6 .md-storefront-price {
	gap: 0;
	margin: 0;
}

.single-product .elementor-23097 .elementor-element-a56b7a6 .md-storefront-price__unit {
	line-height: 1.3;
}

.single-product .elementor-23097 .elementor-element-a56b7a6 .md-storefront-price__kind {
	line-height: 1.3;
}

/* SRP label in price card heading slot (replaces static "Price" text). */
.single-product .elementor-23097 .elementor-element-a56b7a6 .elementor-element-e7eba5b .md-storefront-price__kind {
	margin: 0;
	padding: 0;
	font: inherit;
	color: inherit;
	line-height: 1.25;
}

.single-product .elementor-23097 .elementor-element-a56b7a6 .elementor-element-e7eba5b .md-storefront-price__kind-tip-wrap {
	line-height: 1;
}

.single-product .elementor-23097 .elementor-element-3988e71 {
	--spacer-size: 6px;
}

/* Banner rendered inside MD Price Range widget (dynamic, country-aware). */
.single-product .elementor-23097 .elementor-widget-md_price_range .md-storefront-case-savings-wrap {
	width: 100%;
	margin: 0 0 0.5rem;
}

.single-product .elementor-23097 .elementor-widget-md_price_range,
.single-product .elementor-23097 .elementor-widget-md_price_range .elementor-widget-container {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.35rem;
}

/* Legacy: banner above Segmentation row when injected via container hook. */
.single-product .elementor-23097 .md-storefront-case-savings-wrap {
	margin-block-end: 0.5rem;
}

.single-product .elementor-23097 .elementor-element-e9dae46 {
	flex-wrap: nowrap;
	align-items: baseline;
}

/* "Price-range:" label (a6fe022) — reset block + Elementor widget margins for baseline row. */
.single-product .elementor-23097 .elementor-element-e9dae46 > .elementor-element-a6fe022 {
	margin: 0;
	align-self: baseline;
}

.single-product .elementor-23097 .elementor-element-e9dae46 > .elementor-element-a6fe022 p {
	margin: 0;
	line-height: 1.4;
}

.single-product .elementor-23097 .elementor-element-e9dae46 .elementor-widget-md_price_range {
	flex: 1 1 auto;
	min-width: 0;
	align-self: baseline;
}

.single-product .elementor-23097 .elementor-element-e9dae46 .md-price-range,
.single-product .elementor-23097 .elementor-element-e9dae46 .md-price-range__label {
	line-height: 1.4;
}

@media (max-width: 767px) {
	.single-product .elementor-23097 .elementor-element-a56b7a6 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.single-product .elementor-23097 .elementor-element-a56b7a6 .e-div-block-base {
		padding-inline: 10px;
	}

	.single-product .elementor-23097 .elementor-element-e9dae46 {
		flex-wrap: wrap;
		row-gap: 0.25rem;
	}
}

/* Blocksy floating bar — compact shelf price + kind/VAT (unit SRP vs trade). */
body.md-b2b-md-pricing-preview .ct-floating-bar .ct-container {
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: center;
	gap: 20px;
}

body.md-b2b-md-pricing-preview .ct-floating-bar-content {
	grid-column: 1;
	justify-self: start;
	min-width: 0;
}

body.md-b2b-md-pricing-preview .ct-floating-bar-shipping {
	grid-column: 2;
	justify-self: center;
	display: flex;
	justify-content: center;
	padding-inline: 12px;
	min-width: 0;
}

body.md-b2b-md-pricing-preview .ct-floating-bar-actions {
	grid-column: 3;
	justify-self: end;
}

.ct-floating-bar .product-price > .price {
	margin: 0;
}

.ct-floating-bar .md-storefront-price--floating-bar {
	display: inline-flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.15rem;
	max-width: 100%;
}

.ct-floating-bar .md-storefront-price--floating-bar.md-storefront-price--unit-trade {
	flex-direction: column;
	align-items: flex-start;
	gap: 0.1rem;
}

.ct-floating-bar .md-storefront-price__inline {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: baseline;
	column-gap: 0.35em;
	row-gap: 0.1em;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.35;
	color: var(--theme-text-color);
}

.ct-floating-bar .md-storefront-price__inline .md-b2b-price__amount {
	font: inherit;
	font-weight: 600;
	color: inherit;
}

.ct-floating-bar .md-storefront-price__inline .md-b2b-price__sub,
.ct-floating-bar .md-storefront-price__inline .md-price-vat-notice--inline {
	font: inherit;
	font-weight: 400;
	color: #6e6a63;
}

.ct-floating-bar .md-storefront-price__inline .md-storefront-price__kind-label--inline {
	font: inherit;
	font-weight: 500;
	color: #6e6a63;
}

.ct-floating-bar .md-storefront-price__inline .md-storefront-price__kind-label--trade {
	color: #d97706;
}

.ct-floating-bar .md-b2b-fs-floating {
	display: block;
	width: 100%;
	min-width: 140px;
	max-width: 280px;
	margin-top: 0;
}

.ct-floating-bar .md-b2b-fs-floating--floating-bar {
	text-align: center;
	margin-inline: auto;
}

.ct-floating-bar .md-b2b-fs-floating__line {
	margin: 0 0 4px;
	font-family: "Open Sans", sans-serif;
	font-size: 11px;
	font-weight: 400;
	line-height: 1.3;
	color: #6e6a63;
}

.md-b2b-fs-floating--unlocked .md-storefront-price__savings {
	margin: 0;
	width: 100%;
	border-radius: 12px;
	font-weight: 600;
}

.ct-floating-bar .md-b2b-fs-floating--unlocked .md-storefront-price__savings {
	padding: 0.5rem 0.75rem;
	font-size: 11px;
	line-height: 1.35;
}

.ct-floating-bar .md-b2b-fs-floating--unlocked .md-storefront-price__savings-icon {
	width: 1rem;
	height: 1rem;
	margin-top: 0;
	font-size: 0.5rem;
}

.md-b2b-fs-floating--mini-cart.md-b2b-fs-floating--unlocked .md-storefront-price__savings {
	padding: 0.75rem 1rem;
	font-size: 13px;
	line-height: 1.4;
}

.md-b2b-fs-floating--mini-cart.md-b2b-fs-floating--unlocked .md-storefront-price__savings-icon {
	width: 1.125rem;
	height: 1.125rem;
	font-size: 0.5625rem;
	margin-top: 0.0625rem;
}

.ct-floating-bar .md-b2b-fs-floating__track {
	height: 6px;
	background: #f6f1eb;
	border-radius: 999px;
	overflow: hidden;
}

.ct-floating-bar .md-b2b-fs-floating__fill {
	height: 100%;
	background: #16a34a;
	border-radius: 999px;
	transition: width 0.25s ease;
}

/* Header mini cart / off-canvas cart panel (#woo-cart-panel on this site). */
.md-b2b-fs-mini-cart-wrap,
.ct-header-cart .md-b2b-fs-floating,
#woo-cart-panel .md-b2b-fs-floating {
	display: block;
	width: 100%;
	margin-bottom: var(--mini-cart-items-spacing, 15px);
}

.ct-header-cart:has(.md-b2b-fs-mini-cart-wrap) .ct-shipping-progress-mini-cart,
#woo-cart-panel .ct-panel-content-inner:has(.md-b2b-fs-mini-cart-wrap) .ct-shipping-progress-mini-cart {
	display: none;
}

.ct-header-cart .md-b2b-fs-mini-cart-wrap .md-b2b-fs-success-bar,
#woo-cart-panel .md-b2b-fs-mini-cart-wrap .md-b2b-fs-success-bar,
.ct-header-cart .md-b2b-fs-floating--mini-cart.md-b2b-fs-floating--unlocked .md-b2b-fs-success-bar,
#woo-cart-panel .md-b2b-fs-floating--mini-cart.md-b2b-fs-floating--unlocked .md-b2b-fs-success-bar {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	box-sizing: border-box;
	width: 100%;
	margin: 0;
	padding: 0.75rem 1rem;
	font-family: "Open Sans", sans-serif;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
	color: #111111;
	background-color: #ecf6ef;
	border: 1px solid #dad3c7;
	border-radius: 12px;
}

.ct-header-cart .md-b2b-fs-mini-cart-wrap .md-b2b-fs-success-bar__icon,
#woo-cart-panel .md-b2b-fs-mini-cart-wrap .md-b2b-fs-success-bar__icon {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 1.125rem;
	height: 1.125rem;
	margin-top: 0.0625rem;
	border-radius: 50%;
	background-color: #16a34a;
	color: #ffffff;
	font-size: 0.5625rem;
	line-height: 1;
}

.ct-header-cart .md-b2b-fs-mini-cart-wrap .md-b2b-fs-success-bar__text,
#woo-cart-panel .md-b2b-fs-mini-cart-wrap .md-b2b-fs-success-bar__text {
	margin: 0;
	font: inherit;
	font-weight: 600;
	color: inherit;
}

.md-b2b-fs-floating--mini-cart .md-b2b-fs-floating__line {
	font-size: 13px;
}

.md-b2b-fs-floating--mini-cart .md-b2b-fs-floating__track {
	height: 8px;
}

.md-b2b-fs-floating--mini-cart .md-b2b-fs-floating__line,
.md-b2b-fs-floating--floating-bar .md-b2b-fs-floating__line {
	text-align: center;
}

.ct-floating-bar .md-storefront-price--floating-bar .md-storefront-price__primary {
	font: inherit;
}

.ct-floating-bar .md-storefront-price--floating-bar .md-price-vat-notice,
.ct-floating-bar .md-storefront-price--floating-bar .md-storefront-price__kind {
	font-size: 0.6875rem;
	line-height: 1.25;
}

.ct-floating-bar .md-storefront-price--floating-bar .md-storefront-price__kind-info {
	width: 12px;
	height: 12px;
	font-size: 10px;
}
