/*
Theme Name: Hello Elementor Child
Description: Child theme for Hello Elementor
Author: Haroon Yamin
Author URI: https://linkedin.com/in/haroon-wedev
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-child
*/

/* Add your custom styles below */
@keyframes rotate360 {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
.icon-grid > * {
    display: grid;
}
.icon-fill svg path {
	fill: transparent;
}
.icon-size svg {
	width: 24px;
}
#moderncart-slide-out {
	border-top-left-radius: 24px;
    border-bottom-left-radius: 24px;
}
#moderncart-floating-cart {
	bottom: 92px;
}
.img-rotate img {
	animation: rotate360 5s linear infinite;
    transform-origin: center center;
}

/* Marquee Section */
.marquee-wrap {
  overflow: hidden;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: scroll 24s linear infinite;
}
.marquee-track span {
  padding-right: 50px;
  white-space: nowrap;
}
.hy-accordion .e-n-accordion-item {
	border-bottom: 1px solid #DFDFDF !important;
}

/* Shop - Category List Bar */
.wc-product-categories-list-wrapper {
	overflow: hidden;
}
.wc-product-categories-list {
	list-style: none;
	padding: 0 0 10px 0;
	display: flex;
	gap: 12px;
	overflow-y: hidden;
	overflow-x: auto;
}
.wc-product-categories-list li a {
	padding: 12px 18px;
	border: 1px solid #222;
	border-radius: 50px;
	color: #222;
	display: block;
    width: max-content;
	transition: all 0.4s ease;
}
.wc-product-categories-list li a:hover {
	background-color: #222;
	color: #fff;
}

/* Shop - Category Sidebar */
.hy-accordion-item:not(:last-child) {
	margin-bottom: 20px;
}
.hy-accordion-title {
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	color: #222;
	font-size: 22px;
	font-weight: 600;
	padding: 12px 0;
}
.hy-accordion-title.is-active svg {
	transform: rotate(180deg);
}
.hy-accordion-products {
	padding: 0;
	list-style: none;
}
.hy-accordion-products li a {
	display: block;
	padding: 6px 0;
	color: #222;
	font-size: 18px;
}
.hy-accordion-products li a:hover {
	text-decoration: underline;
}
.wc-discounted-price {
    font-weight: 600;
}
.acf-accordion {
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.acf-accordion-item {
	background-color: rgba(0, 0, 0, 0.03);
	padding: 8px !important;
	border-radius: 16px;
}
button.acf-accordion-header {
	padding: 18px 24px !important;
	width: 100%;
	border: 0;
	border-radius: 16px;
	background-color: transparent !important;
	color: #222 !important;
	font-size: 20px;
	font-weight: 600;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.acf-accordion-icon {
	font-size: 30px;
	line-height: 1em;
	transition: all 0.4s ease;
}
.acf-accordion-item.active .acf-accordion-icon {
	transform: rotate(45deg);
}
.acf-accordion-content {
	overflow: hidden;
	visibility: hidden;
	max-height: 0;
	transition: all 0.4s ease;
}
.acf-accordion-content-wrapper {
	font-size: 18px;
	padding: 2px 24px 18px 24px !important;
}
.acf-accordion-item.active .acf-accordion-content {
	display: block;
	visibility: visible;
	max-height: 1000px;
}

/* Media Query */
@media only screen and (max-width: 768px) {
    #moderncart-slide-out-modal.moderncart-cart-style-slideout #moderncart-slide-out {
        max-width: 100%;
    }
	.hy-accordion-title {
		font-size 20px;
	}
	.hy-accordion-products li a {
		font-size: 16px;
	}
	.wc-product-categories-list {
		gap: 6px;
	}
	.wc-product-categories-list li a {
		font-size: 14px;
		padding: 8px 10px;
	}
}
@media screen and (max-width: 576px) {
	button.acf-accordion-header {
		padding: 10px 8px !important;
		font-size: 18px;
	}
	.acf-accordion-content-wrapper {
		padding: 2px 8px 10px 8px !important;
		font-size: 16px;
	}
}