/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

/* Global Spacings Start */
:root {
	--section-padding-top-global: 3rem;
	--section-padding-right-global: 1rem;
	--section-padding-bottom-global: 3rem;
	--section-padding-left-global: 1rem;
}
@media(min-width: 1024px) {
	:root {
		--section-padding-top-global: 5rem;
		--section-padding-bottom-global: 5rem;
	}
}
/* Global Spacings End */

.elementor-element.elementor-widget.elementor-widget-text-editor {
    & p:last-child,
    & ul:last-child{
        margin-bottom: 0;
    }
}
span.text-h-line-left {
    display: flex;
    flex-direction: row;
    align-items: center;
    &::before {
        content: '';
        color: var(--e-global-color-accent);
        display: inline-block;
        border-top: .3rem solid var(--e-global-color-accent);
        width: clamp(2rem, 5vw, 4.5rem);
        margin-right: 1rem;
    }
}

/* OverFlow Clip */
.overflow-x-clip {
	overflow-x: clip !important;
}
.overflow-y-clip {
	overflow-y: clip !important;
}

/* Auto Overflow-x-clip For Parent of template Elementor Container */
.elementor-element.e-con-full.e-flex.e-con.e-parent:has(
		div > div > div.elementor-template
	) {
	overflow-x: clip !important;
}


section.elementor-element.e-flex.e-con.e-parent {
    padding: 4rem 1rem;
}


/* Footer CopyRight Start */
a.mp-copyright-link {
	& .mp-copyright-img {
		transform: translate(-130%, -120%);
		background-color: #ffffff;
		padding: 10px 20px;
		border-radius: 10px;
		box-shadow: 0px 0px 24px 0px #8b0dbb;
		max-width: 150px;
	}
	/*
	&::before {
		content: '';
		width: 10px;
		min-height: 1px;
		z-index: 200;
		border-style: solid;
		border-width: 5px 5px 0px 5px;
		border-color: #ffffff transparent transparent transparent;
		transform: translate(50%, -300%);
	}
	*/
}

a.mp-copyright-link {
	&::before,
	.mp-copyright-img {
		position: absolute;
		transition: all 200ms;
		opacity: 0;
		visibility: hidden;
		transition-timing-function: ease-in-out;
	}
	&:hover {
		&::before,
		.mp-copyright-img {
			visibility: visible;
			opacity: 1;
		}
	}
}
@media (max-width: 1024px) {
	a.mp-copyright-link {
		&::before,
		.mp-copyright-img {
			opacity: 0 !important;
			visibility: hidden !important;
			display: none;
		}
	}
}
/* Footer CopyRight End */

/* Image Badge End */
.elementor-element.image-has-badge {
  > .elementor-widget-container {
    position: relative;

    &::before,
    &::after {
      content: '';
      display: block;
      background-image: url('https://celebritylasercare.ca/wp-content/uploads/2024/10/image-addon.webp');
      background-size: 8rem;
      width: 8rem;
      height: 8rem;
      position: absolute;
    }
  }

  &.img-badge-top-left > .elementor-widget-container::before {
    top: 1rem;
    left: -4rem;
  }

  &.img-badge-bottom-right > .elementor-widget-container::after {
    bottom: 1rem;
    right: -4rem;
  }
}
/* Image Badge End */

/* RankMath BreadCrumb Start */
.rank-math-breadcrumb {
    color: #FFFFFF;
    font-weight: 600;
    & a {
        color: #FFFFFF;
        font-weight: 400;
        &:hover {
            color: var( --e-global-color-accent );
        }
    }
}
/* RankMath BreadCrumb End */

/* Fix for Woo Cart Minus Plus Btns Starts */
div.quantity .minus {
    border-radius: 0.5rem 0rem 0rem 0.5rem;
}
div.quantity .plus {
    border-radius: 0rem 0.5rem 0.5rem 0rem;
}
/* Fix for Woo Cart Minus Plus Btns Ends */

.text-balance .elementor-heading-title,
.text-balance p {
	text-wrap: balance;
}