/*!
Theme Name: Blocksy Child (SparkyStay)
Theme URI: https://creativethemes.com/blocksy/
Description: Child theme for Blocksy. All custom code for SparkyStay lives here.
Author: SparkyStay
Template: blocksy
Version: 0.1.0
Text Domain: blocksy-child
*/

/* Snippet #6: Hide "out of stock" message on single product pages */
.single-product .summary .stock.out-of-stock {
	display: none !important;
}

/* Snippet #10: Style out-of-stock alternative button */
.oos-alt-button {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	height: 60px !important;
	padding: 5px 20px !important;
	font-size: 15px !important;
	font-weight: 500 !important;
	letter-spacing: -0.5px !important;
	text-align: center !important;
	border-radius: 3px !important;
	border: 2px solid rgb(239, 108, 0) !important;
	background-color: transparent !important;
	color: rgb(239, 108, 0) !important;
	text-decoration: none !important;
	margin-top: 12px !important;
	box-sizing: border-box !important;
}

.oos-alt-button:hover {
	background-color: rgb(239, 108, 0) !important;
	color: #ffffff !important;
	text-decoration: none !important;
}

.sparkystay-product-guarantee {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 18px 0 14px;
	padding: 11px 13px;
	color: var(--theme-text-color);
	background: #f7f8fa;
	border: 1px solid rgba(40, 71, 103, 0.12);
	border-radius: 6px;
	text-decoration: none;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}

.sparkystay-product-guarantee:hover,
.sparkystay-product-guarantee:focus-visible {
	color: var(--theme-text-color);
	background: #ffffff;
	border-color: rgba(51, 122, 53, 0.35);
	text-decoration: none;
}

.sparkystay-product-guarantee__icon {
	display: inline-flex;
	flex: 0 0 22px;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	color: #ffffff;
	background: #337a35;
	border-radius: 50%;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
}

.sparkystay-product-guarantee__content {
	display: grid;
	gap: 2px;
	min-width: 0;
}

.sparkystay-product-guarantee__title {
	color: #1f2f46;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.25;
}

.sparkystay-product-guarantee__text {
	color: #6f7782;
	font-size: 12px;
	line-height: 1.3;
}

/* Snippet #11: Mobile "Filters" button next to sorting on product archives */
.sparkystay-mobile-filters-button {
	display: none;
	align-items: center;
	gap: 8px;
	height: 34px;
	padding: 0 12px;
	border-radius: 3px;
	border: 1px solid rgba(0, 0, 0, 0.12);
	background: transparent;
	color: var(--theme-text-color);
	font-size: 14px;
	line-height: 1;
	cursor: pointer;
	order: -1;
}

.sparkystay-mobile-filters-button[data-sparkystay-filters-state='missing'] {
	display: none !important;
}

.sparkystay-mobile-filters-button__icon {
	display: inline-flex;
	width: 18px;
	height: 18px;
}

.sparkystay-mobile-filters-button__icon svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

@media (max-width: 999.98px) {
	.sparkystay-mobile-filters-button {
		display: inline-flex;
	}
}

@media (max-width: 420px) {
	.sparkystay-mobile-filters-button__label {
		display: none;
	}
}

@media (max-width: 999.98px) {
	/* Keep the filters block in the DOM so its overlay can render. */
	body.sparkystay-has-mobile-filters-button.woocommerce.archive div[data-sidebar] {
		grid-row-gap: 0 !important;
	}

	body.sparkystay-has-mobile-filters-button #sidebar.ct-hidden-sm,
	body.sparkystay-has-mobile-filters-button #sidebar.ct-hidden-md {
		display: block !important;
	}

	/* Make sidebar visually "empty" when closed (no padding/box), and hide the original opener button. */
	body.sparkystay-has-mobile-filters-button #sidebar .ct-sidebar {
		padding: 0 !important;
		background: transparent !important;
		border: 0 !important;
		box-shadow: none !important;
	}

	body.sparkystay-has-mobile-filters-button #sidebar .ct-widget {
		margin-bottom: 0 !important;
	}

	body.sparkystay-has-mobile-filters-button #sidebar .wp-block-woocommerce-product-filters {
		margin: 0 !important;
	}

	body.sparkystay-has-mobile-filters-button #sidebar .wp-block-woocommerce-product-filters .wc-block-product-filters__open-overlay {
		display: none !important;
	}
}
.ct-footer div[data-column="widget-area-1"] .wp-block-image img{

  filter: brightness(0) invert(1);
}

.ct-footer .ss-trust .ss-trust-item,
.ct-footer .ss-trust .ss-trust-item a,
.ct-footer .ss-trust .ss-trust-item .ss-trust-ico {
	color: #ffffff;
}

.ct-footer .wp-block-heading {
	color: #ffffff;
}

/* Footer badges list for editor content */
.sparkystay-footer-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.sparkystay-footer-badges li {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 5px 11px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.12);
	color: rgba(255, 255, 255, 0.75);
	font-size: 12px;
	font-weight: 500;
	line-height: 1.3;
	white-space: nowrap;
}

.sparkystay-footer-badges li a {
	color: inherit;
	text-decoration: none;
}

.sparkystay-footer-badges li a:hover,
.sparkystay-footer-badges li a:focus-visible {
	color: #ffffff;
}
.wc-block-product-filters .wc-block-product-filters__overlay-content{
  padding-right: 20px;
}

/* Homepage landing template */
.ss-landing--homepage {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

.ss-landing--homepage .ss-landing__content {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

.ss-landing--homepage .ss-landing__content > * {
	margin-block-start: 0;
	margin-block-end: 0;
}

.ss-landing--homepage .ss-landing__content > .alignfull {
	width: 100%;
	max-width: none;
	margin-inline: 0;
}

#menu-main-menu .sub-menu .ct-menu-link{
  white-space: nowrap;
}
#menu-main-menu .sub-menu .ct-menu-link strong {
  margin-right: 3px;
}

/* Single product Add to Cart button */

.single-product form.cart .single_add_to_cart_button {

  border-color: #ef6c00;

  box-shadow: none;

  outline: none;

}

.single-product form.cart .single_add_to_cart_button:hover,

.single-product form.cart .single_add_to_cart_button:focus {

  border-color: #ef6c00;

  box-shadow: none;

  outline: none;

}
