/**
 * BerleyPro Product Slider — base styles.
 * Loaded automatically by the plugin. The Bricks UI controls own all colours,
 * typography, padding, sizing — this file just provides structural defaults
 * and the responsive scaffolding (so an instance with no overrides still looks right).
 */

.bp-product-slider {
	position: relative;
	padding: 0 80px;
}

/* Hide-on-mobile-portrait helper — toggled by the Bricks UI checkbox. */
@media (max-width: 478px) {
	.bp-product-slider.bp-hide-mp {
		display: none !important;
	}
}

.bp-product-slider .splide__track {
	overflow: hidden;
}

.bp-product-slider .splide__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

/* Arrows — defaults, all overridable via UI */
.bp-product-slider .splide__arrow {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: #1A1A1A;
	opacity: 0.92;
	transition: background 0.25s ease, opacity 0.25s ease;
	border: 0;
}

.bp-product-slider .splide__arrow:hover {
	background: #CB333B;
	opacity: 1;
}

.bp-product-slider .splide__arrow:disabled {
	opacity: 0.3;
	cursor: not-allowed;
}

.bp-product-slider .splide__arrow svg {
	fill: #FFFFFF;
	width: 22px;
	height: 22px;
}

.bp-product-slider .splide__arrow--prev { left: 16px; }
.bp-product-slider .splide__arrow--next { right: 16px; }

/* Pagination dots — defaults, all overridable via UI */
.bp-product-slider .splide__pagination {
	bottom: -28px;
	display: flex;
	justify-content: center;
	gap: 0;
	padding: 0;
	margin: 0;
}

.bp-product-slider .splide__pagination__page {
	width: 10px;
	height: 10px;
	margin: 0 6px;
	border-radius: 50%;
	background: #CCCCCC;
	border: 0;
	opacity: 1;
	transition: background 0.25s ease, transform 0.25s ease;
}

.bp-product-slider .splide__pagination__page.is-active {
	background: #CB333B;
	transform: scale(1.3);
}

.bp-product-slider .splide__pagination__page:hover {
	background: #999999;
}

/* Slide / card defaults */
.bp-product-slider .bp-slide {
	background: transparent;
	display: flex;
	flex-direction: column;
}

.bp-product-slider .bp-slide-link {
	display: block;
	text-decoration: none;
	color: inherit;
}

.bp-product-slider .bp-slide-img {
	overflow: hidden;
}

.bp-product-slider .bp-slide-img img {
	width: 100%;
	height: auto;
	aspect-ratio: var(--bp-img-ar, 1 / 1);
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}

.bp-product-slider .bp-slide-link:hover .bp-slide-img img {
	transform: scale(1.05);
}

/* Title — typography, color, margin all overridable */
.bp-product-slider .bp-slide-title {
	font-family: 'custom_font_60530', 'Helvetica Neue', sans-serif;
	font-size: 18px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #1A1A1A;
	margin: 15px 0 5px;
	line-height: 1.2;
	display: -webkit-box;
	-webkit-line-clamp: var(--bp-line-clamp, 1);
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Price */
.bp-product-slider .bp-slide-price {
	font-family: 'custom_font_60533', sans-serif;
	font-size: 14px;
	color: #555555;
	margin-bottom: 8px;
}

/* Add-to-cart button */
.bp-product-slider .bp-slide-cart {
	margin-top: 8px;
}

.bp-product-slider .bp-slide-cart .button {
	display: inline-block;
	background: #CB333B;
	color: #ffffff;
	padding: 10px 20px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	text-decoration: none;
	border-radius: 0;
	transition: background 0.25s ease;
}

.bp-product-slider .bp-slide-cart .button:hover {
	background: #A8282E;
}

/* Responsive scaffolding — UI overrides apply on top */
@media (max-width: 991px) {
	.bp-product-slider {
		padding: 0 60px;
	}
	.bp-product-slider .splide__arrow {
		width: 44px;
		height: 44px;
	}
}

@media (max-width: 767px) {
	.bp-product-slider {
		padding: 0 40px;
	}
	.bp-product-slider .splide__arrow {
		width: 40px;
		height: 40px;
	}
	.bp-product-slider .splide__arrow--prev { left: 4px; }
	.bp-product-slider .splide__arrow--next { right: 4px; }
}

@media (max-width: 600px) {
	.bp-product-slider {
		padding: 0 20px;
	}
	.bp-product-slider .splide__arrow {
		display: none;
	}
}
