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

/* Add your custom CSS below */
.fkcart-checkout--text {
	line-height: 1em;
}
#fkcart-modal .fkcart-checkout-wrap #fkcart-checkout-button {
	align-items: center;
}
.icon-grid .elementor-icon,
.icon-grid .elementor-menu-cart__wrapper,
.icon-grid .elementor-menu-cart__toggle {
    display: grid;
}
.archive-product-loop .elementor-pagination {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	row-gap: 12px;
}
.archive-product-loop .elementor-pagination a,
.archive-product-loop .elementor-pagination span {
	padding: 6px 10px;
	border: 1px solid rgba(0, 0, 0, 0.1);
}
.archive-product-loop .elementor-pagination a:hover,
.archive-product-loop .elementor-pagination span {
	background-color: var(--e-global-color-primary);
	color: #fff !important;
}

/* Price Filter */
.price-filter-wrapper {
	max-width: 400px;
	font-family: sans-serif;
}
.price-filter-wrapper h3 {
	font-family: 'Poppins';
	font-size: 16px;
	font-weight: 500;
	margin-bottom: 12px;
}
.price-slider {
	position: relative;
	height: 5px;
	background: rgba(0,0,0,0.15);
	border-radius: 5px;
	margin-bottom: 15px;
}
.price-slider input[type=range] {
	position: absolute;
	width: 100%;
	top: -6px;
	background: none;
	pointer-events: none;
	-webkit-appearance: none;
}
.price-slider input[type=range]::-webkit-slider-thumb {
	pointer-events: all;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #fff;
	border: 2px solid #000;
	cursor: pointer;
	-webkit-appearance: none;
}
.price-inputs {
	display: flex;
	justify-content: space-between;
	gap: 10px;
}
.price-inputs input {
	width: 100px;
	text-align: center;
	padding: 8px;
	border: 1px solid #ccc;
	border-radius: 6px;
}
.price-inputs label {
	display: block;
	text-align: center;
	margin-top: 5px;
	font-size: 13px;
}
.hy-product-variation .quantity:has(.input-text.qty) {
	display: none !important;
}
.hy-product-variation .single_add_to_cart_button  {
	display: flex !important;
    gap: 10px !important;
	border-radius: 12px !important;
	justify-content: center !important;
}
.hy-product-variation .stock.in-stock {
	color: var( --e-global-color-primary ) !important;
	font-weight: 600;
}
.hy-product-variation .qty-dropdown {
	padding: 4px;
    width: 50px;
    height: -webkit-fill-available;
	border-radius: 12px !important;
}

/* Cart page */
.alignwide {
	margin: 0 !important;
}
.wc-block-cart__submit-button {
	background-color: var( --e-global-color-primary ) !important;
	color: #fff !important;
	transition: all 0.3s ease !important;
	border-radius: 12px;
}
.wc-block-cart__submit-button:hover {
	background-color: #333 !important;
}

/* Elementor Legal Page */
#hy-legal-page strong,
#hy-legal-page b {
	font-weight: 600;
}
#hy-legal-page a {
	color: var( --e-global-color-primary );
	text-decoration: underline;
}

/* Account Page */
/* WooCommerce Account */
:root {
	--hy-field-bg: rgba(0,0,0,0.03);
    --hy-heading-bg: rgba(0, 0, 0, 0.1);
    --hy-heading-color: #1E1E1E;
	--hy-text-color: #1E1E1E;
}
.woocommerce-account .woocommerce-MyAccount-navigation br {
	display: none;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul {
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
	list-style: none;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul a {
	padding: 12px 16px;
	color: var(--hy-text-color);
	display: block;
	background-color: var(--hy-field-bg);
	font-size: 18px;
	border-radius: 6px;
	line-height: 1.2em;
	text-decoration: none;
	transition: all 0.3s ease
}
.woocommerce-account .woocommerce-MyAccount-navigation ul a:hover,
.woocommerce-account .woocommerce-MyAccount-navigation ul .is-active a{
	background-color: var(--e-global-color-primary);
	color: #fff;
}
.woocommerce-account .woocommerce-MyAccount-content *:not(a) {
	color: var(--hy-text-color);
}
.woocommerce-account .woocommerce-MyAccount-content p {
	margin: 0 0 10px 0;
	font-size: 20px;
}
.woocommerce-account .woocommerce-MyAccount-content p br {
	display: none;
}
.woocommerce-account .woocommerce-MyAccount-content .edit {
	font-size: 14px;
	font-weight: 500;
}
.woocommerce-account:has(.woocommerce-form-login) p a,
.woocommerce-account .woocommerce-MyAccount-content .edit,
.woocommerce-account .woocommerce-MyAccount-content p a {
	color: var(--e-global-color-primary);
	text-decoration: underline;
}
.woocommerce-account:has(.woocommerce-form-login) p a:hover,
.woocommerce-account .woocommerce-MyAccount-content .edit:hover,
.woocommerce-account .woocommerce-MyAccount-content p a:hover {
	text-decoration: underline;
}
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	margin-bottom: 20px;
	margin-top: 20px;
}
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title h2 {
	margin: 0;
	font-size: 24px;
	color: var(--hy-text-color);
}
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title:before,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title:after {
	content: none;
}

/* Cart Account Login */
.woocommerce-account:has(.woocommerce-ResetPassword),
.woocommerce-account:has(.woocommerce-form-login) {
	color: var(--hy-text-color);
}
.woocommerce-account:has(.woocommerce-ResetPassword) .woocommerce p,
.woocommerce-account:has(.woocommerce-form-login) .woocommerce p {
	color: var(--hy-text-color);
}
.woocommerce-account:has(.woocommerce-ResetPassword) label,
.woocommerce-account:has(.woocommerce-form-login) label {
	color: var(--hy-text-color);
}
.woocommerce-account:has(.woocommerce-form-login) form.checkout_coupon, 
.woocommerce-account:has(.woocommerce-form-login) form.login, 
.woocommerce-account:has(.woocommerce-form-login) form.register {
	border-radius: 0;
	border-color: rgba(0, 0, 0, 0.15);
}
.woocommerce-account .woocommerce-form-register.register .button,
.woocommerce-account .woocommerce-ResetPassword.lost_reset_password .button,
.woocommerce .woocommerce-form-login .woocommerce-form-login__submit,
.woocommerce-account .woocommerce-MyAccount-content .button[type="submit"] {
	background-color: var(--e-global-color-primary);
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	margin: 10px 0;
}
.woocommerce-account .woocommerce-form-register.register .button,
.woocommerce .woocommerce-form-login .woocommerce-form-login__submit {
	margin: 0;
}
.woocommerce-account .woocommerce-form-register.register .button:hover,
.woocommerce-account .woocommerce-ResetPassword.lost_reset_password .button:hover,
.woocommerce .woocommerce-form-login .woocommerce-form-login__submit:hover,
.woocommerce-account .woocommerce-MyAccount-content .button[type="submit"]:hover {
	color: #fff;
	background-color: #222;
	border: none;
}
.woocommerce-account form p.form-row {
	margin-bottom: 14px;
}
.woocommerce-account form .form-row .input-text {
	background-color: rgba(0, 0, 0, 0.02);
	border-color: rgba(0, 0, 0, 0.1);
}
.woocommerce-account form .form-row label {
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 6px;
}
#account_display_name_description {
	font-size: 14px;
    font-weight: 400;
}
.woocommerce-account .woocommerce-MyAccount-content legend {
	padding: 0 8px;
}
.woocommerce-account .woocommerce-MyAccount-content .select2 {
	font-size: 16px;
}
.woocommerce-account .woocommerce-form-register.register br,
.woocommerce-account .woocommerce-ResetPassword.lost_reset_password br,
.woocommerce-account .woocommerce-form.woocommerce-form-login.login br {
	display: none;
}
.woocommerce-form-login__rememberme {
    margin: 4px 0 0 16px !important;
}
@media screen and (max-width: 768px) {
	.woocommerce-account .woocommerce-MyAccount-content {
		margin-top: 48px;
	}
	#single-product-gallery .gallery {
		flex-direction: row;
		display: flex;
		overflow-y: hidden;
		overflow-x: auto;
		padding-bottom: 10px;
	}
	#single-product-gallery .gallery .gallery-item {
		width: 100%;
		max-width: 200px;
		height: auto;
	}
}

/* Affiliated Account - WPSlice */
.slicewp-form .slicewp-button-primary {
	background-color: var(--e-global-color-primary);
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	border: none;
}
.slicewp-form .slicewp-button-primary:hover {
	color: #fff;
	background-color: #222;
}