.icon-grid > * {
	display: grid;
} 
.svg-fill svg {
	fill: none !important;
}
.fkcart-icon-checkout {
	width: 30px;
	height: 30px;
}
.fkcart-icon-checkout:hover {
	color: var( --e-global-color-primary );
}

/* Header */
#header .sub-menu a {
	font-weight: 500;
}

/* Product Card */
.card-featured-img {
	overflow: hidden;
	border-radius: 8px;
}
.card-featured-img img {
	aspect-ratio: 1;
	object-fit: cover;
	background-color: #fff;
}
.card-add-btn .wc-forward {
    width: 100% !important;
}
.product-card-sale {
/* 	position: absolute;
	top: 8px;
	left: 8px;
	z-index: 1; */
	margin: 0;
	width: fit-content;
	background-color: var(--e-global-color-primary);
	padding: 4px 10px;
	font-size: 14px;
	color: #fff;
	font-weight: 600;
	border-radius: 6px;
}

/* Icon Text Box */
.icon-text-box-wrapper {
	box-shadow: 0px 8px 10px -6px #0000001a,
      0px 20px 25px -5px #0000001a;
}
.icon-text-box .elementor-icon {
	padding: 1rem;
	border-radius: 6px;
    background: linear-gradient(135deg, #00a6f4 0%, #00b8db 100%);
    box-shadow: 0px 4px 6px -4px #00a6f433,
      0px 10px 15px -3px #00a6f433;
}

/* About Text Box */
.about-text-box .elementor-icon {
	box-shadow: 0px 1px 2px 0px #0f172a0a, 0px 1px 3px 0px #0f172a14;
    padding: 12px;
    border-radius: 8px;
	background-color: #fff;
}

/* Footer */
.footer-notice ul {
    margin-bottom: 1rem;
}

/* WooCommerce */
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product p.price, 
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product span.price {
	color: var( --e-global-color-primary );
}

/* Accordion */
.accordion-text h4 {
	font-size: 18px;
}
.accordion-text ul,
.accordion-text ol {
	margin-bottom: 1rem;
}
.accordion-text li:not( :last-child ) {
	margin-bottom: 6px;
}

/* About Editor */
.about-editor .page-content h2 {
	font-size: 28px;
	font-weight: 600;
}
.about-editor .page-content h3 {
	font-size: 22px;
	font-weight: 600;
}
.about-editor .page-content hr {
    margin: 1.25rem 0;
    border-color: rgba(0,0,0,0.1);
}
.about-editor .page-content ul,
.about-editor .page-content ol {
    margin-bottom: 1rem;
}
.about-editor .page-content li:not( :last-child ) {
	margin-bottom: 6px;
}
.about-editor .page-content a {
	font-weight: 500;
}

/* Single Product Page */
.product-gallery img {
    border: 1px solid rgba(0,0,0,0.15) !important;
    border-radius: 12px !important;
	background-color: #fff;
}
.woocommerce div.product div.images .flex-control-thumbs li img {
	transition: all 0.3s ease !important;
}
#single-product-content h2 {
	font-size: 28px;
	font-weight: 600;
}
#single-product-content h3 {
	font-size: 24px;
	font-weight: 600;
}
#single-product-content ul,
#single-product-content ol {
	margin-bottom: 1rem;
}
#single-product-content li:not( :last-child ) {
	margin-bottom: 8px;
}
#single-product-content hr {
	border-color: rgba(0,0,0,0.15);
	margin: 1.5rem 0;
}

/* WordPress Spinner */
.blockUI.blockOverlay::before,
.woocommerce .blockUI.blockOverlay::before {
	display: none !important;
}

/* 2. Style the Overlay Background */
.blockUI.blockOverlay {
	background: rgba(255, 255, 255, 0.7) !important;
	backdrop-filter: blur(2px);
}

/* 3. Create the New CSS Spinner */
.blockUI.blockOverlay::after {
	content: "";
	box-sizing: border-box;
	position: absolute;
	top: 50%;
	left: 50%;
	width: 40px;
	height: 40px;
	margin-top: -20px;
	margin-left: -20px;
	border-radius: 50%;
	border: 3px solid #eee;
	border-top-color: var(--e-global-color-primary);
	animation: spin 0.8s linear infinite;
}

@keyframes spin {
	to { transform: rotate(360deg); }
}

/* WooCommerce Checkout */
.woocommerce-checkout {
    #content {
        padding: 24px 48px 60px 48px;
        max-width: 1100px;
    }
    .alignwide {
        margin: 0;
    }
    .entry-title {
        max-width: 100%;
        padding: 0;
    }

    .woocommerce-NoticeGroup-checkout {
        width: 100%;

        .woocommerce-error {
            background-color: #fff;
            border: 1px solid #b81c23;
            border-radius: 8px;

            li {
                font-size: 14px;

                &:not(:last-child) {
                    margin-bottom: 5px;
                }
            }
        }
    }

    .woocommerce-form-coupon-toggle {
        .woocommerce-info {
            background-color: #fff;
            border: 1px solid var(--e-global-color-primary);
            border-radius: 8px;

            a {
                color: var(--e-global-color-primary);
                font-weight: 600;
                transition: all 0.3s ease;

                &:hover {
                    color: #222;
                }
            }
        }
    }

    form.checkout_coupon {
        background-color: #fff;
        background-color: #fff;
        border: 1px solid var(--e-global-color-primary);
        border-radius: 8px;
        display: flex;
        width: 100%;

        .form-row {
            margin: 0;

            input.input-text {
                border: 1px solid rgba(0, 0, 0, 0.6);
                background-color: rgb(from var(--e-global-color-primary) r g b / 4%);
                border-radius: 8px;
                padding: 10px 14px;
                font-size: 18px;
                outline: none;
                &:focus {
                    border-color: var(--e-global-color-primary);
                }
            }
            button.button[name="apply_coupon"] {
                background-color: var(--e-global-color-primary);
                color: #fff;
                padding: 12px 16px;
                display: block;
                border: 1px solid var(--e-global-color-primary);
                border-radius: 8px;
                font-weight: 500;

                &:hover {
                    color: var(--e-global-color-secondary);
                }
            }
        }
    }

    form.checkout.woocommerce-checkout {
        display: flex;
        flex-wrap: wrap;
        gap: 2rem;
		
		.checkout-inline-error-message {
			margin-top: 6px;
		}

        #customer_details {
            width: calc(60% - 1rem);
            display: flex;
            flex-wrap: wrap;
            .col-1,
            .col-2 {
                width: 100%;
            }
            .woocommerce-billing-fields__field-wrapper {
                display: flex;
                flex-wrap: wrap;
                gap: 12px;
                margin-bottom: 2rem;

                .form-row {
                    margin: 0;
                    padding: 0;

                    label {
                        margin-top: 4px;
                        font-weight: 500;
                    }

                    span.select2-selection.select2-selection--single,
                    input.input-text {
                        border: 1px solid rgba(0, 0, 0, 0.3);
                        border-radius: 8px;
                        outline: none;

                        &:focus {
                            border-color: var(--e-global-color-primary);
                        }
                    }
                }
                .form-row-first,
                .form-row-last {
                    width: calc(50% - 6px);
                }
                .form-row-wide {
                    width: 100%;
                }
            }
        }
        #order_review_heading {
            display: none;
        }
        #order_review {
            width: calc(40% - 1rem);

            &:before {
                content: "Product Summary";
                display: block;
                font-size: 1.75rem;
                margin-bottom: 1rem;
                font-weight: 500;
            }

            table.shop_table {
                background-color: #fff;
                border-radius: 8px;

                * {
                    border: none;
                }
                thead tr th {
                    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
                }
                tbody tr {
                    td {
                        background-color: transparent;
                        font-weight: 500;
                    }
                    &:first-child td {
                        padding-top: 1.25rem;
                    }
                    &:last-child td {
                        padding-bottom: 1.25rem;
                    }
                }
                tfoot tr {
                    th,
                    td,
                    strong {
                        font-weight: 700;
                    }
                    &:first-child th,
                    &:first-child td {
                        border-top: 1px solid rgba(0, 0, 0, 0.15);
                    }
                }
            }

            #payment.woocommerce-checkout-payment {
                background-color: #0f8dd60f;
                border: 1px solid rgba(0, 0, 0, 0.1);
                border-radius: 8px;
                padding: 1.25rem;

                ul.wc_payment_methods {
                    padding: 0;

                    .woocommerce-info {
                        line-height: 1.6em;
                        font-size: 14px;
                        font-weight: 500;
                    }
                }

                .woocommerce-privacy-policy-text p {
                    font-size: 14px;
                    font-weight: 500;

                    a {
                        color: var(--e-global-color-primary);
                        transition: all 0.3s ease;

                        &:hover {
                            color: #222;
                        }
                    }
                }

                .form-row.place-order {
                    padding: 1rem 0 0 0;
                }

                button#place_order {
                    background-color: var(--e-global-color-primary);
                    padding: 16px;
                    width: 100%;
                    border-radius: 8px;
                    &:hover {
                        background-color: #222;
                    }
                }
            }
        }
        .woocommerce-additional-fields__field-wrapper textarea#order_comments {
            border: 1px solid rgba(0, 0, 0, 0.3);
            border-radius: 8px;
            outline: none;
            min-height: 80px;

            &:focus {
                border-color: var(--e-global-color-primary);
            }
        }
    }
}

@media screen and (max-width: 820px) {
    .woocommerce-checkout .form-row-first,
    .woocommerce-checkout .form-row-last,
    .woocommerce-checkout #order_review,
    .woocommerce-checkout #customer_details {
        width: 100% !important;
    }
    .woocommerce-checkout #content {
        padding: 24px 16px 48px 16px;
    }
}
