.container--brand-split-product {
	max-width: 100%;
	padding-left: 0;
	padding-right: 0;
}

.product-brand-split {
	width: 100%;
	max-width: 100%;
}

.product-brand-split .product-container--brand-split,
.product-brand-split .product-main--brand-split,
.product-brand-split .product-row--brand-split {
	width: 100%;
	max-width: 100%;
}

.product-brand-split .row.content-row.product-row--brand-split {
	max-width: 100% !important;
}

.product-brand-split .product-container--brand-split {
	padding-left: 40px;
	padding-right: 40px;
}

.product-brand-split .product-row--brand-split {
	display: flex;
	flex-wrap: nowrap;
	align-items: flex-start;
	gap: 36px;
	margin-left: 0;
	margin-right: 0;
}

.product-brand-split .product-row--brand-split > .col {
	padding-left: 0;
	padding-right: 0;
	margin-bottom: 0;
}

.product-container--brand-split .product-media-split {
	flex: 0 0 62%;
	max-width: 62%;
	width: 62%;
	padding-bottom: 0;
}

.product-container--brand-split .product-info.entry-summary {
	flex: 0 0 38%;
	max-width: 38%;
	width: 38%;
	margin-left: 0;
	padding-left: 8px;
}

.pp-brand-split-media {
	width: 100%;
	max-width: 100%;
	margin-top: 30px;
}

.pp-brand-split-media__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 2px;
	align-items: start;
	width: 100%;
}

/* Same visual media height on desktop */
.pp-brand-split-media__primary,
.pp-brand-split-media__gallery {
	width: 100%;
	min-width: 0;
	aspect-ratio: 5 / 6;
	background: #fff;
}

/* Let wrappers fully fill the media box */
.pp-brand-split-media__primary .product-images,
.pp-brand-split-primary-wrap,
.pp-brand-split-primary-wrap .woocommerce-product-gallery__image,
.pp-brand-split-primary-wrap .woocommerce-product-gallery__image a,
.pp-brand-split-media__gallery .pp-brand-gallery-slider,
.pp-brand-split-media__gallery .flickity-viewport,
.pp-brand-split-media__gallery .flickity-slider,
.pp-brand-split-media__gallery .pp-brand-gallery-slider__item,
.pp-brand-split-media__gallery .woocommerce-product-gallery__image,
.pp-brand-split-media__gallery .woocommerce-product-gallery__image a {
	width: 100%;
	height: 100%;
	max-width: 100%;
	margin: 0;
	border-radius: 10px;
}

/* Primary image column */
.pp-brand-split-primary-wrap .woocommerce-product-gallery__image {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 0;
	height: 100%;
}

.pp-brand-split-primary-wrap .woocommerce-product-gallery__image a {
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 0;
	width: 100%;
	height: 100%;
}

.pp-brand-split-primary-wrap img {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: cover;
	object-position: center center;
}

/* Slider column */
.pp-brand-split-media__gallery .flickity-viewport {
	height: 100% !important;
}

.pp-brand-split-media__gallery .flickity-slider {
	height: 100%;
}

.pp-brand-split-media__gallery .pp-brand-gallery-slider__item {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
}

.pp-brand-split-media__gallery .woocommerce-product-gallery__image {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
}

.pp-brand-split-media__gallery .woocommerce-product-gallery__image a {
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 0;
	width: 100%;
	height: 100%;
}

.pp-brand-gallery-slider .pp-brand-gallery-slider__item img,
.pp-brand-split-media__gallery img {
	display: block;
	width: 100%;
	height: 100% !important;
	margin: 0;
	object-fit: cover;
	object-position: center center;
	background: #fff;
}

.pp-brand-gallery-slider .woocommerce-product-gallery__image a {
	display: block;
	line-height: 0;
	height: 100%;
	width: 100%;
}

.pp-brand-gallery-slider img {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: cover; 
	object-position: center center; 
}


.pp-brand-gallery-slider {
	position: relative;
	padding-bottom: 0px;
}

.pp-brand-gallery-slider > .flickity-prev-next-button,
.pp-brand-gallery-slider > .flickity-page-dots {
	position: absolute !important;
	top: auto !important;
}

.pp-brand-gallery-slider > .flickity-prev-next-button {
	bottom: -55px !important;
	width: 32px !important;
	height: 32px !important;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	opacity: 1 !important;
	transform: none !important;
	z-index: 3 !important;
}

.pp-brand-gallery-slider > .flickity-prev-next-button:hover,
.pp-brand-gallery-slider > .flickity-prev-next-button:focus {
	background: transparent !important;
	box-shadow: none !important;
	opacity: 1 !important;
}

.pp-brand-gallery-slider > .flickity-prev-next-button.previous {
	right: -10px !important;
    left: 30px !important;
}

.pp-brand-gallery-slider > .flickity-prev-next-button.next {
	right: -1px !important;
}

.pp-brand-gallery-slider > .flickity-prev-next-button svg {
	display: block !important;
	width: 28px !important;
	height: 28px !important;
	position: static !important;
	left: auto !important;
	top: auto !important;
}

.pp-brand-gallery-slider > .flickity-prev-next-button .arrow {
	fill: #222 !important;
}

.pp-brand-gallery-slider > .flickity-page-dots {
	left: 50% !important;
	bottom: -30px !important;
	width: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	transform: translateX(-50%) !important;
	line-height: 1 !important;
	white-space: nowrap !important;
	z-index: 2 !important;
}

.pp-brand-gallery-slider > .flickity-page-dots .dot {
	width: 7px !important;
	height: 7px !important;
	margin: 0 4px !important;
	background: #b7b7b7 !important;
	opacity: 1 !important;
	box-shadow: none !important;
}

.pp-brand-gallery-slider > .flickity-page-dots .dot.is-selected {
	background: #444 !important;
}

.product-container--brand-split .product-footer {
	margin-top: 36px;
}

@media (min-width: 1600px) {
	.product-brand-split .product-container--brand-split {
		padding-left: 60px;
		padding-right: 60px;
	}
}

@media (max-width: 1399px) {
	.product-brand-split .product-container--brand-split {
		padding-left: 24px;
		padding-right: 24px;
	}

	.product-brand-split .product-row--brand-split {
		gap: 28px;
	}
}

@media (max-width: 1199px) {
	.product-container--brand-split .product-row--brand-split {
		flex-wrap: wrap;
		gap: 24px;
	}

	.product-container--brand-split .product-media-split,
	.product-container--brand-split .product-info.entry-summary {
		flex: 0 0 100%;
		max-width: 100%;
		width: 100%;
		padding-left: 0;
	}
}

@media (max-width: 767px) {
	.product-brand-split .product-container--brand-split {
		padding-left: 15px;
		padding-right: 15px;
	}

	.pp-brand-gallery-slider {
		padding-bottom: 20px;
	}

	.pp-brand-gallery-slider .flickity-prev-next-button.previous {
		left: 0;
	}

	.pp-brand-gallery-slider .flickity-prev-next-button.next {
		right: 0;
	}
}

.pp-brand-mobile-unified {
	display: none;
}

@media (max-width: 767px) {
    .product-main.product-main--brand-split,.pp-brand-split-media.woocommerce-product-gallery{ padding-top: 0px !important; margin-top: 0px !important;  }
	.pp-brand-split-media__grid {
		display: none;
	}

	.pp-brand-mobile-unified {
		display: block;
		width: 100%;
		margin-top: 18px;
	}

	.pp-brand-mobile-slider {
		position: relative;
		width: 100%;
		box-sizing: border-box;
	}

	.pp-brand-mobile-slider .flickity-viewport {
		width: 100%;
		aspect-ratio: 4 / 5;
		height: auto !important;
		overflow: visible;
		background: transparent;
	}

	.pp-brand-mobile-unified .pp-brand-mobile-slider .flickity-slider {
		height: 100% !important;
	}

	.pp-brand-mobile-unified .flickity-slider .pp-brand-mobile-slider__item {
		width: 95% !important;
		height: 95% !important;
		margin-right: 14px;
		display: flex;
		align-items: center;
		justify-content: center;
		background: #fff;
		border-radius: 10px;
		overflow: hidden;
	}

	.pp-brand-mobile-slider .woocommerce-product-gallery__image,
	.pp-brand-mobile-slider .woocommerce-product-gallery__image a {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 100%;
		height: 100%;
		line-height: 0;
	}

	.pp-brand-mobile-slider img {
		display: block;
		width: 100%;
		height: 100% !important;
		object-fit: contain;
		object-position: center center;
		margin: 0;
		background: #fff;
	}

	.pp-brand-mobile-slider .flickity-page-dots {
		bottom: 0;
	}

	.pp-brand-mobile-slider .flickity-prev-next-button {
		display: none !important;
	}
}