/*
Theme Name:   Xstore-Child
Theme URI:    https://xstore.8theme.com
Description:  XStore is a multi-purpose theme that offers the ultimate WordPress and WooCommerce synergy, providing a comprehensive, all-in-one solution.
Author:       8theme
Author URI:   https://www.8theme.com
Template:     xstore
Version:      1.0
Text Domain:  xstore-child
Tags: e-commerce, two-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-menu, custom-logo, featured-images, full-width-template, threaded-comments, accessibility-ready, rtl-language-support, footer-widgets, sticky-post, theme-options, translation-ready, ecommerce, woocommerce, shop, elementor, business, corporate, blog, news, light, dark
*/
/* Main container */
/* Main container */
.shipping-class-block {
   /* margin: 0px 0; */
    display: inline-block;
    line-height: 1;
}

/* Free shipping image */
.free-shipping-icon {
    height: auto; /* Adjust as needed */
    width: auto;
    max-width: 100%;
    vertical-align: middle;
}

/* Free shipping text */
.free-shipping-text {
    color: #EC008D;
    font-weight: regular;
    font-size: 1.1em;
	text-transform: uppercase;
    /* padding: 5px 1px; */
    border-radius: 3px;
    /*background-color: #f8f8f8;*/
}

/* Regular shipping text */
.shipping-class-label {
    font-weight: regular;
    color: #333;
	font-size: 1.1em;
	text-transform: uppercase;
    margin-right: 5px;
}

.shipping-class-value {
    color: #666;
}

/* Dark mode support for XStore */
.et-dark-mode .shipping-class-block {
    background: none;
}
.et-dark-mode .free-shipping-text {
    background-color: #2a2a2a;
}
.et-dark-mode .shipping-class-label {
    color: #eee;
}
.et-dark-mode .shipping-class-value {
    color: #aaa;
}

add_filter('woocommerce_order_hide_shipping_address', '__return_false');