/* PNG Safety home sections: Offers / New Products grids and the categories carousel.
   Sizes and colours match the Elementor Pro loops they replace. */

.png-section {
	--png-yellow: #ffea00;
	--png-gold: #c5a003;
	--png-red: #ff3300;
	--png-border: #eeeeee;
	display: flex;
	flex-direction: column;
	gap: 20px;
	width: 100%;
	color: #666;
	font-family: "Work Sans", Arial, sans-serif;
}

/* Title + yellow line */
.png-section__head {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
}
.png-section .png-section__title {
	margin: 0;
	font-family: "Work Sans", Arial, sans-serif;
	font-size: 30px;
	font-weight: 400;
	line-height: 1.2;
	color: #000;
	text-align: center;
}
.png-section__line {
	display: block;
	width: 300px;
	max-width: 100%;
	border-top: 4px solid var(--png-yellow);
}

/* Product grid */
.png-grid {
	display: grid;
	grid-template-columns: repeat(var(--png-cols, 4), minmax(0, 1fr));
	gap: 5px;
}
.png-card {
	display: flex;
	flex-direction: column;
	gap: 20px;
	min-width: 0;
	margin: 0;
	padding: 0 25px;
}
.png-card__img {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1 / 1; /* same box for every product, so titles and prices line up */
	margin-top: 10px;
	border: 1px solid var(--png-border);
	background: #fff;
	overflow: hidden;
}
.png-card__img img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: 100%;
	margin: 0;
	object-fit: contain; /* whole photo visible, nothing cropped */
}
.png-section .png-card__title {
	margin: 0;
	padding: 0;
	font-family: "Work Sans", Arial, sans-serif;
	font-size: 16px;
	font-weight: 300;
	line-height: 1.2;
	text-align: center;
	color: #000;
}
.png-section .png-card__title a {
	color: #000;
	text-decoration: none;
}
.png-section .png-card__title a:hover {
	color: var(--png-gold);
}

/* Price: gold, sale price big red, old price grey, "ex. VAT" smaller */
.png-section .png-card__price {
	margin: auto 0 10px;
	font-family: "Roboto", sans-serif;
	font-size: 16px;
	font-weight: 600;
	line-height: 1;
	color: var(--png-gold);
	text-align: center;
}
.png-section .png-card__price .amount {
	color: inherit;
	font-size: inherit;
	font-weight: inherit;
}
.png-section .png-card__price ins {
	margin: 0 4px 0 0;
	padding: 0;
	font-size: 24px;
	font-weight: 600;
	color: var(--png-red);
	text-decoration: none;
	background: none;
}
.png-section .png-card__price del {
	margin: 0 2px 0 0;
	font-size: 14px;
	font-weight: 500;
	color: #666;
	opacity: 1;
}
.png-section .png-card__price small {
	font-size: 0.8em;
	color: var(--png-gold);
}
.png-empty {
	margin: 0;
	text-align: center;
}

/* Categories carousel */
.png-carousel {
	--png-gap: 10px;
	--png-n: var(--png-per, 6);
	position: relative;
}
.png-carousel__viewport {
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	outline: none;
}
.png-carousel__viewport::-webkit-scrollbar {
	display: none;
}
.png-carousel__track {
	display: flex;
	gap: var(--png-gap);
}
.png-cat {
	flex: 0 0 calc((100% - (var(--png-n) - 1) * var(--png-gap)) / var(--png-n));
	display: flex;
	flex-direction: column;
	gap: 20px;
	min-width: 0;
	padding: 10px;
	scroll-snap-align: start;
}
.png-cat__img {
	display: block;
	aspect-ratio: 1 / 1;
}
.png-cat__img img {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: contain;
}
.png-section .png-cat__title {
	margin: 0;
	padding: 0;
	font-family: "Work Sans", Arial, sans-serif;
	font-size: 16px;
	font-weight: 300;
	line-height: 1.2;
	text-align: center;
	color: #000;
}
.png-section .png-cat__title a {
	color: #000;
	text-decoration: none;
}
.png-section .png-cat__title a:hover {
	color: var(--png-gold);
}
.png-section .png-carousel__arrow {
	position: absolute;
	top: calc(50% - 25px);
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 25px;
	height: 25px;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
	color: #000;
	cursor: pointer;
}
.png-carousel__arrow svg {
	width: 25px;
	height: 25px;
	fill: currentColor;
}
.png-carousel__arrow--prev {
	left: 0;
}
.png-carousel__arrow--next {
	right: 0;
}
.png-carousel__arrow:focus-visible,
.png-carousel__dots button:focus-visible {
	outline: 2px solid var(--png-gold);
	outline-offset: 2px;
}
.png-carousel__dots {
	display: flex;
	justify-content: center;
	gap: 12px;
	min-height: 6px;
	margin-top: 10px;
}
.png-section .png-carousel__dots button {
	width: 6px;
	height: 6px;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #000;
	opacity: 0.2;
	cursor: pointer;
}
.png-section .png-carousel__dots button[aria-current="true"] {
	opacity: 1;
}
.png-carousel.is-static .png-carousel__arrow,
.png-carousel.is-static .png-carousel__dots {
	display: none;
}

/* Elementor breakpoints: tablet ≤1024px, mobile ≤767px */
@media (max-width: 1024px) {
	.png-grid {
		grid-template-columns: repeat(var(--png-cols-t, 2), minmax(0, 1fr));
	}
	.png-carousel {
		--png-n: var(--png-per-t, 2);
	}
}
@media (max-width: 767px) {
	.png-grid {
		grid-template-columns: repeat(var(--png-cols-m, 2), minmax(0, 1fr));
	}
	.png-carousel {
		--png-n: var(--png-per-m, 2);
	}
	.png-card {
		padding: 0 10px;
	}
	.png-section .png-card__price ins {
		font-size: 20px;
	}
}
