/*
 * Site-specific rules migrated from Appearance > Customise > Additional CSS.
 * Kept separate and loaded last so the parallel theme matches the live site.
 */

/* WhatsApp button wrapper. */
.wabtn {
	background: #25d366;
	color: #fff;
	border-radius: 10px;
	padding: 6px 14px;
	width: fit-content;
	margin: 12px auto;
}

.wa-floating-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	color: #fff;
	font-weight: 500;
	text-decoration: none;
	white-space: nowrap;
}

.wabtn svg {
	width: 28px;
	height: 28px;
	display: block;
}

.button-text {
	line-height: 1;
}

.wabtn:hover {
	background: #1ebe5d;
}

li p {
	display: inline-block;
}

.fullwidth-post .event-details strong {
	white-space: normal;
	line-height: 1;
}

.fullwidth-post .event-post .event-details .details {
	height: 100% !important;
}

/* Store header gallery sizing and focal points. */
#store-header .itm {
	position: relative;
	overflow: hidden;
	aspect-ratio: 1 / 1;
}

#store-header .itm.cover {
	aspect-ratio: 2 / 1;
}

#store-header .store-popup {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

#store-header .store-popup img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 60%;
	transition: transform 0.35s ease, opacity 0.35s ease;
}

#store-header .itm.sq-ad-focus-top img {
	object-position: 50% 0%;
}

#store-header .itm.focus-top img {
	object-position: 50% 25%;
}

#store-header .itm.focus-centre img {
	object-position: 50% 50%;
}

#store-header .itm.focus-bottom img {
	object-position: 50% 75%;
}

#store-header .itm.focus-left img {
	object-position: 25% 50%;
}

#store-header .itm.focus-right img {
	object-position: 75% 50%;
}

#store-header .store-popup::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.22);
	opacity: 0;
	transition: opacity 0.3s ease;
	z-index: 2;
	pointer-events: none;
}

#store-header .store-popup::after {
	content: "\f002";
	font-family: FontAwesome;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) scale(0.85);
	opacity: 0;
	color: #fff;
	font-size: 24px;
	line-height: 1;
	transition: opacity 0.3s ease, transform 0.3s ease;
	z-index: 3;
	pointer-events: none;
}

#store-header .store-popup:hover::before,
#store-header .store-popup:focus::before,
#store-header .store-popup:hover::after,
#store-header .store-popup:focus::after {
	opacity: 1;
}

#store-header .store-popup:hover::after,
#store-header .store-popup:focus::after {
	transform: translate(-50%, -50%) scale(1);
}

#store-header .store-popup:hover img,
#store-header .store-popup:focus img {
	transform: scale(1.03);
}

/* Scheduled-content shortcode. */
.galleria-scheduled-box {
	margin: 2rem 0;
	padding: clamp(1.5rem, 3vw, 2.25rem);
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 18px;
	background: #fffaf5;
}

.galleria-scheduled-box__title {
	margin: 0 0 0.75rem;
	font-size: clamp(1.35rem, 2.5vw, 1.8rem);
	line-height: 1.2;
}

.galleria-scheduled-box__content {
	margin: 0;
}

.galleria-scheduled-box__content p:last-child {
	margin-bottom: 0;
}

.galleria-scheduled-box__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 1.25rem;
	padding: 0.8rem 1.25rem;
	border-radius: 999px;
	background: #222;
	color: #fff;
	text-decoration: none;
	font-weight: 600;
	transition: opacity 0.2s ease;
}

.galleria-scheduled-box__button:hover {
	color: #fff;
	opacity: 0.85;
}

@media screen and (max-width: 991px) {
	#cms-header #cms-header-navigation.phones-nav.collapse,
	#cms-header #cms-header-navigation.tablets-nav.collapse {
		z-index: 10000;
	}
}

.kb-button::after {
	display: none !important;
}

