.bbf-product-page-bar {
	display: none;
}

@media (max-width: 767px) {
	body.single-product {
		--bbf-product-surface: #fff;
		--bbf-product-ink: #1f2a2a;
		--bbf-product-page-bar-height: 50px;
		--bbf-product-gallery-shade: 0;
	}

	body.single-product .woocommerce-breadcrumb,
	body.single-product .page-breadcrumb,
	body.single-product .tm-breadcrumb,
	body.single-product .sticky-product-bar,
	body.single-product .sticky-product-add-to-cart,
	body.single-product .minimog-product-sticky {
		display: none !important;
	}

	.bbf-product-page-bar {
		position: sticky;
		top: 0;
		z-index: 20;
		display: grid;
		grid-template-columns: 42px minmax(0, 1fr) 42px;
		align-items: center;
		min-height: var(--bbf-product-page-bar-height);
		padding: 4px 10px;
		background: var(--bbf-product-surface);
		border-bottom: 1px solid rgba(31, 42, 42, .08);
		color: var(--bbf-product-ink);
	}

	.bbf-product-page-bar__back,
	.bbf-product-page-bar__share {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 40px;
		height: 40px;
		margin: 0;
		padding: 0;
		border: 0;
		border-radius: 50%;
		background: transparent;
		color: inherit;
		box-shadow: none;
		text-decoration: none;
		-webkit-tap-highlight-color: transparent;
	}

	.bbf-product-page-bar__back {
		font-size: 27px;
		line-height: 1;
	}

	.bbf-product-page-bar__share svg {
		width: 22px;
		height: 22px;
		overflow: visible;
		fill: var(--bbf-product-surface);
		stroke: currentColor;
		stroke-linecap: round;
		stroke-linejoin: round;
		stroke-width: 1.7;
	}

	.bbf-product-page-bar__title {
		overflow: hidden;
		padding: 0 8px;
		font-size: 13px;
		font-weight: 600;
		line-height: 1.25;
		text-align: center;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	body.single-product .bbf-mobile-product-shell,
	body.single-product #woo-single-info,
	body.single-product .bbf-mobile-product-stage {
		position: relative;
		overflow: visible;
	}

	body.single-product .bbf-mobile-product-stage {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		margin-right: 0;
		margin-left: 0;
	}

	body.single-product .bbf-mobile-product-gallery-column,
	body.single-product .bbf-mobile-product-summary-column {
		width: 100%;
		max-width: none;
		padding-right: 0;
		padding-left: 0;
		flex: 0 0 100%;
	}

	body.single-product .bbf-mobile-product-gallery-column {
		position: sticky;
		top: var(--bbf-product-page-bar-height);
		z-index: 0;
		align-self: flex-start;
		background: #fff;
		isolation: isolate;
	}

	body.single-product .bbf-mobile-product-gallery-column::after {
		position: absolute;
		z-index: 3;
		inset: 0;
		background: #000;
		content: "";
		opacity: var(--bbf-product-gallery-shade);
		pointer-events: none;
		will-change: opacity;
	}

	body.single-product .bbf-mobile-product-gallery-column > .tm-sticky-column,
	body.single-product .bbf-mobile-product-gallery-column .woo-single-images {
		position: static !important;
		width: 100%;
		margin: 0 !important;
		transform: none !important;
	}

	body.single-product .bbf-mobile-product-gallery {
		position: relative !important;
		display: block;
		width: 100%;
		min-height: 0;
		margin: 0 !important;
		background: #fff;
	}

	body.single-product .bbf-mobile-product-gallery .tm-swiper,
	body.single-product .bbf-mobile-product-gallery .swiper-inner,
	body.single-product .bbf-mobile-product-gallery .swiper,
	body.single-product .bbf-mobile-product-gallery .swiper-wrapper,
	body.single-product .bbf-mobile-product-gallery .swiper-slide,
	body.single-product .bbf-mobile-product-gallery .woocommerce-product-gallery__image,
	body.single-product .bbf-mobile-product-gallery m-image {
		margin-top: 0 !important;
		margin-bottom: 0 !important;
	}

	body.single-product .bbf-mobile-product-gallery img {
		display: block;
		width: 100%;
		height: auto;
		max-height: none;
		object-fit: contain;
	}

	body.single-product .bbf-mobile-product-summary-column {
		position: relative;
		z-index: 5;
		margin-top: 0;
		background: var(--bbf-product-surface);
		border-radius: 10px 10px 0 0;
	}

	body.single-product .bbf-mobile-product-summary-column > .tm-sticky-column {
		position: static !important;
		transform: none !important;
	}

	body.single-product .bbf-mobile-product-summary {
		position: relative;
		margin-top: 0 !important;
		padding-top: 16px !important;
		border-radius: 10px 10px 0 0;
		background: var(--bbf-product-surface);
		box-shadow: 0 -1px 0 rgba(31, 42, 42, .04);
	}

	body.single-product .bbf-mobile-product-summary::before {
		display: none;
	}

	body.single-product .bbf-product-buy-intro {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(124px, 38%);
		gap: 14px;
		align-items: center;
		margin: 0 0 18px;
		padding: 0 16px;
	}

	body.single-product .bbf-product-buy-intro__copy {
		min-width: 0;
	}

	body.single-product .bbf-product-buy-intro__copy .product_title,
	body.single-product .bbf-product-buy-intro__copy .entry-title {
		margin: 0 0 7px !important;
		font-size: clamp(18px, 5.1vw, 22px) !important;
		line-height: 1.22 !important;
	}

	body.single-product .bbf-product-buy-intro__copy .price {
		display: block;
		margin: 0 !important;
		font-size: 18px !important;
		font-weight: 700;
		line-height: 1.25;
	}

	body.single-product .bbf-product-pack-button {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		justify-content: center;
		min-height: 58px;
		margin: 0;
		padding: 10px 13px;
		border: 1px solid rgba(31, 42, 42, .2);
		border-radius: 8px;
		background: #fff;
		color: var(--bbf-product-ink);
		box-shadow: none;
		text-align: left;
		-webkit-tap-highlight-color: transparent;
	}

	body.single-product .bbf-product-pack-button__label {
		margin-bottom: 3px;
		font-size: 10px;
		font-weight: 600;
		letter-spacing: .05em;
		line-height: 1;
		text-transform: uppercase;
		opacity: .62;
	}

	body.single-product .bbf-product-pack-button__value {
		display: flex;
		align-items: center;
		justify-content: space-between;
		width: 100%;
		font-size: 13px;
		font-weight: 700;
		line-height: 1.2;
	}

	body.single-product .bbf-product-pack-button__value::after {
		margin-left: 8px;
		border: solid currentColor;
		border-width: 0 1.5px 1.5px 0;
		content: "";
		padding: 3px;
		transform: rotate(45deg) translateY(-2px);
	}

	body.single-product.bbf-product-page-ready #page-content {
		overflow: visible;
	}
}


@media (max-width: 767px) {
	body.single-product .bbf-product-buy-intro:not(:has(.bbf-product-pack-button)) {
		display: block;
	}

	body.single-product .bbf-product-buy-intro__copy .product-subtitle,
	body.single-product .bbf-product-buy-intro__copy .product-sub-title,
	body.single-product .bbf-product-buy-intro__copy .wc-product-subtitle,
	body.single-product .bbf-product-buy-intro__copy .bbf-product-subtitle,
	body.single-product .bbf-product-buy-intro__copy .product-before-title,
	body.single-product .bbf-product-buy-intro__copy [class*="product-subtitle"] {
		display: block;
		margin: 0 0 5px !important;
		font-size: 13px;
		line-height: 1.3;
		color: #7c80b7;
	}

	body.single-product .bbf-product-pack-button__label {
		opacity: 1;
		color: #666b6b;
	}

	.bbf-pack-sheet {
		position: fixed;
		z-index: 999999;
		inset: 0;
		display: block;
		visibility: hidden;
		opacity: 0;
		pointer-events: none;
		transition: visibility 0s linear .28s, opacity .28s ease;
	}

	.bbf-pack-sheet.is-open {
		visibility: visible;
		opacity: 1;
		pointer-events: auto;
		transition-delay: 0s;
	}

	.bbf-pack-sheet__backdrop {
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
		margin: 0;
		padding: 0;
		border: 0;
		border-radius: 0;
		background: rgba(0, 0, 0, .42);
	}

	.bbf-pack-sheet__panel {
		position: absolute;
		right: 0;
		bottom: 0;
		left: 0;
		max-height: min(78svh, 720px);
		padding: 8px 18px max(20px, env(safe-area-inset-bottom));
		overflow: auto;
		border-radius: 16px 16px 0 0;
		background: #fff;
		transform: translateY(100%);
		transition: transform .3s cubic-bezier(.22, .8, .3, 1);
	}

	.bbf-pack-sheet.is-open .bbf-pack-sheet__panel {
		transform: translateY(0);
	}

	.bbf-pack-sheet__handle {
		display: block;
		width: 38px;
		height: 4px;
		margin: 0 auto 13px;
		border-radius: 4px;
		background: #d2d5d5;
	}

	.bbf-pack-sheet__header {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 18px;
		margin-bottom: 14px;
	}

	.bbf-pack-sheet__header h2 {
		margin: 0;
		font-size: 20px;
		line-height: 1.25;
	}

	.bbf-pack-sheet__close {
		width: 38px;
		height: 38px;
		margin: 0;
		padding: 0;
		border: 0;
		border-radius: 50%;
		background: #f3f4f4;
		color: #1f2a2a;
		font-size: 27px;
		font-weight: 300;
		line-height: 36px;
	}

	.bbf-pack-sheet__options {
		display: grid;
		gap: 9px;
	}

	.bbf-pack-sheet__option {
		display: flex;
		align-items: center;
		justify-content: space-between;
		width: 100%;
		min-height: 58px;
		margin: 0;
		padding: 13px 15px;
		border: 1px solid rgba(31, 42, 42, .16);
		border-radius: 9px;
		background: #fff;
		color: #1f2a2a;
		box-shadow: none;
		text-align: left;
	}

	.bbf-pack-sheet__option span {
		font-size: 15px;
		font-weight: 700;
	}

	.bbf-pack-sheet__option small {
		color: #777d7d;
		font-size: 12px;
	}

	body.bbf-pack-sheet-open {
		overflow: hidden;
	}
}

@media (min-width: 768px) {
	.bbf-pack-sheet {
		display: none !important;
	}
}
