/*
Theme Name: Kadence Child
Theme URI: https://ylroad.com
Description: Custom child theme for ylroad.com
Author: ylroad
Template: kadence
Version: 1.0
*/

/* 隐藏WooCommerce价格 */
.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price,
.woocommerce .product_meta .sku_wrapper,
.woocommerce .single_add_to_cart_button,
.woocommerce a.button.add_to_cart_button,
.woocommerce a.button.product_type_simple {
    display: none !important;
}

/* 修改Add to Cart按钮为Get Quote */
.woocommerce ul.products li.product a.button {
    background: #ff6b35 !important;
    color: #fff !important;
}

.woocommerce ul.products li.product a.button:hover {
    background: #e55a2b !important;
}

/* 隐藏WooCommerce价格 */
.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price,
.woocommerce .product_meta .sku_wrapper,
.woocommerce .single_add_to_cart_button,
.woocommerce a.button.add_to_cart_button,
.woocommerce a.button.product_type_simple,
.woocommerce .quantity,
.woocommerce .cart,
.woocommerce .checkout,
.woocommerce .woocommerce-Price-amount,
.woocommerce .woocommerce-Price-currencySymbol {
    display: none !important;
}

/* 隐藏Add to Cart按钮 */
.woocommerce ul.products li.product .button,
.woocommerce div.product form.cart {
    display: none !important;
}

/* 强制隐藏所有价格相关元素 */
.woocommerce .price,
.woocommerce .product_meta .sku_wrapper,
.woocommerce .single_add_to_cart_button,
.woocommerce a.button.add_to_cart_button,
.woocommerce a.button.product_type_simple,
.woocommerce .quantity,
.woocommerce .cart,
.woocommerce .checkout,
.woocommerce .woocommerce-Price-amount,
.woocommerce .woocommerce-Price-currencySymbol,
.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* 隐藏Add to Cart按钮 */
.woocommerce ul.products li.product .button,
.woocommerce div.product form.cart,
.woocommerce .single_add_to_cart_button {
    display: none !important;
}

/* 隐藏WooCommerce价格 */
.woocommerce .price,
.woocommerce .product_meta .sku_wrapper,
.woocommerce .single_add_to_cart_button,
.woocommerce a.button.add_to_cart_button,
.woocommerce a.button.product_type_simple,
.woocommerce .quantity,
.woocommerce .cart,
.woocommerce .checkout,
.woocommerce .woocommerce-Price-amount,
.woocommerce .woocommerce-Price-currencySymbol,
.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* 强制隐藏所有价格 */
.woocommerce .price,
.woocommerce .product_meta .sku_wrapper,
.woocommerce .single_add_to_cart_button,
.woocommerce a.button.add_to_cart_button,
.woocommerce a.button.product_type_simple,
.woocommerce .quantity,
.woocommerce .cart,
.woocommerce .checkout,
.woocommerce .woocommerce-Price-amount,
.woocommerce .woocommerce-Price-currencySymbol,
.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* 隐藏WooCommerce价格 */
.woocommerce .price,
.woocommerce .product_meta .sku_wrapper,
.woocommerce .single_add_to_cart_button,
.woocommerce a.button.add_to_cart_button,
.woocommerce a.button.product_type_simple,
.woocommerce .quantity,
.woocommerce .cart,
.woocommerce .checkout,
.woocommerce .woocommerce-Price-amount,
.woocommerce .woocommerce-Price-currencySymbol,
.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* === 强制隐藏所有WooCommerce价格元素 === */
.woocommerce .price,
.woocommerce .product_meta .sku_wrapper,
.woocommerce .single_add_to_cart_button,
.woocommerce a.button.add_to_cart_button,
.woocommerce a.button.product_type_simple,
.woocommerce .quantity,
.woocommerce .cart,
.woocommerce .checkout,
.woocommerce .woocommerce-Price-amount,
.woocommerce .woocommerce-Price-currencySymbol,
.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price,
.woocommerce .woocommerce-variation-price,
.woocommerce .woocommerce-Price-amount amount,
.woocommerce .woocommerce-Price-amount bdi {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    font-size: 0 !important;
    line-height: 0 !important;
}

/* 隐藏Add to Cart按钮 */
.woocommerce ul.products li.product .button,
.woocommerce div.product form.cart,
.woocommerce .single_add_to_cart_button,
.woocommerce .product_meta .posted_in,
.woocommerce .product_meta .tagged_as {
    display: none !important;
}

/* 隐藏购物车图标 */
.woocommerce .cart-contents,
.woocommerce .widget_shopping_cart {
    display: none !important;
}

/* === 强制隐藏所有WooCommerce价格元素 === */
.woocommerce .price,
.woocommerce .product_meta .sku_wrapper,
.woocommerce .single_add_to_cart_button,
.woocommerce a.button.add_to_cart_button,
.woocommerce a.button.product_type_simple,
.woocommerce .quantity,
.woocommerce .cart,
.woocommerce .checkout,
.woocommerce .woocommerce-Price-amount,
.woocommerce .woocommerce-Price-currencySymbol,
.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price,
.woocommerce .woocommerce-variation-price,
.woocommerce .woocommerce-Price-amount amount,
.woocommerce .woocommerce-Price-amount bdi {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    font-size: 0 !important;
    line-height: 0 !important;
}

/* 隐藏Add to Cart按钮 */
.woocommerce ul.products li.product .button,
.woocommerce div.product form.cart,
.woocommerce .single_add_to_cart_button,
.woocommerce .product_meta .posted_in,
.woocommerce .product_meta .tagged_as {
    display: none !important;
}

/* 隐藏购物车图标 */
.woocommerce .cart-contents,
.woocommerce .widget_shopping_cart {
    display: none !important;
}

/* === 强制隐藏所有WooCommerce价格元素 === */
.woocommerce .price,
.woocommerce .product_meta .sku_wrapper,
.woocommerce .single_add_to_cart_button,
.woocommerce a.button.add_to_cart_button,
.woocommerce a.button.product_type_simple,
.woocommerce .quantity,
.woocommerce .cart,
.woocommerce .checkout,
.woocommerce .woocommerce-Price-amount,
.woocommerce .woocommerce-Price-currencySymbol,
.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price,
.woocommerce .woocommerce-variation-price,
.woocommerce .woocommerce-Price-amount amount,
.woocommerce .woocommerce-Price-amount bdi {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    font-size: 0 !important;
    line-height: 0 !important;
}

/* 隐藏Add to Cart按钮 */
.woocommerce ul.products li.product .button,
.woocommerce div.product form.cart,
.woocommerce .single_add_to_cart_button,
.woocommerce .product_meta .posted_in,
.woocommerce .product_meta .tagged_as {
    display: none !important;
}

/* 隐藏购物车图标 */
.woocommerce .cart-contents,
.woocommerce .widget_shopping_cart {
    display: none !important;
}
/* yl-hide-price: 隐藏所有WooCommerce价格 */
.yl-hide-price .price,
.woocommerce .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price,
.woocommerce ul.products li.product .price,
.woocommerce .woocommerce-Price-amount,
.woocommerce .woocommerce-Price-currencySymbol,
.woocommerce .single_add_to_cart_button,
.woocommerce a.button.add_to_cart_button,
.woocommerce .product_meta .sku_wrapper {
    display:none!important; visibility:hidden!important; height:0!important; overflow:hidden!important;
}
/* yl-price-hide-v2: 终极价格隐藏 */
body.woocommerce div.product p.price,
body.woocommerce div.product span.price,
body.woocommerce ul.products li.product .price,
body.woocommerce .woocommerce-Price-amount,
body.woocommerce .woocommerce-Price-currencySymbol,
body.woocommerce .single_add_to_cart_button,
body.woocommerce a.button.add_to_cart_button,
body.woocommerce .product_meta .sku_wrapper,
body.woocommerce .woocommerce-variation-price,
body.woocommerce .quantity,
body.woocommerce .cart,
body.woocommerce .checkout,
body.woocommerce .widget_shopping_cart,
body.woocommerce .cart-contents {
    display:none!important;visibility:hidden!important;height:0!important;overflow:hidden!important;margin:0!important;padding:0!important;font-size:0!important;line-height:0!important;
}
/* yl-price-hide-final: 终极价格隐藏 */
body.woocommerce div.product p.price,
body.woocommerce div.product span.price,
body.woocommerce ul.products li.product .price,
body.woocommerce .woocommerce-Price-amount,
body.woocommerce .woocommerce-Price-currencySymbol,
body.woocommerce .single_add_to_cart_button,
body.woocommerce a.button.add_to_cart_button,
body.woocommerce .product_meta .sku_wrapper,
body.woocommerce .woocommerce-variation-price,
body.woocommerce .quantity,
body.woocommerce .cart,
body.woocommerce .checkout,
body.woocommerce .widget_shopping_cart,
body.woocommerce .cart-contents {
    display:none!important;visibility:hidden!important;height:0!important;overflow:hidden!important;margin:0!important;padding:0!important;font-size:0!important;line-height:0!important;
}

/* === yl-price-ultimate: 终极价格隐藏 === */
body.woocommerce div.product p.price,
body.woocommerce div.product span.price,
body.woocommerce ul.products li.product .price,
body.woocommerce .woocommerce-Price-amount,
body.woocommerce .woocommerce-Price-currencySymbol,
body.woocommerce .single_add_to_cart_button,
body.woocommerce a.button.add_to_cart_button,
body.woocommerce .product_meta .sku_wrapper,
body.woocommerce .woocommerce-variation-price,
body.woocommerce .quantity,
body.woocommerce .cart,
body.woocommerce .checkout,
body.woocommerce .widget_shopping_cart,
body.woocommerce .cart-contents,
.woocommerce .price,
.woocommerce .product_meta .sku_wrapper,
.woocommerce .single_add_to_cart_button,
.woocommerce a.button.add_to_cart_button,
.woocommerce a.button.product_type_simple,
.woocommerce .quantity,
.woocommerce .cart,
.woocommerce .checkout,
.woocommerce .woocommerce-Price-amount,
.woocommerce .woocommerce-Price-currencySymbol,
.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price,
.woocommerce .woocommerce-variation-price,
.woocommerce .woocommerce-Price-amount amount,
.woocommerce .woocommerce-Price-amount bdi {
    display:none!important;
    visibility:hidden!important;
    height:0!important;
    max-height:0!important;
    overflow:hidden!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    font-size:0!important;
    line-height:0!important;
    width:0!important;
    max-width:0!important;
    opacity:0!important;
    position:absolute!important;
    clip:rect(0,0,0,0)!important;
}

/* yl-price-ultimate: 终极隐藏 */
.woocommerce .price,
.woocommerce .woocommerce-Price-amount,
.woocommerce .woocommerce-Price-currencySymbol,
.woocommerce .single_add_to_cart_button,
.woocommerce a.button.add_to_cart_button,
.woocommerce .product_meta .sku_wrapper {
    display:none!important;visibility:hidden!important;height:0!important;overflow:hidden!important;
}

/* === 隐藏WooCommerce价格 === */
.woocommerce .price,
.woocommerce .woocommerce-Price-amount,
.woocommerce .woocommerce-Price-currencySymbol,
.woocommerce .single_add_to_cart_button,
.woocommerce a.button.add_to_cart_button,
.woocommerce .product_meta .sku_wrapper,
.woocommerce .quantity,
.woocommerce .cart,
.woocommerce .checkout {
    display:none!important;
    visibility:hidden!important;
    height:0!important;
    overflow:hidden!important;
}
/* yl-price-final */
.woocommerce .price,.woocommerce .woocommerce-Price-amount,.woocommerce .woocommerce-Price-currencySymbol,.woocommerce .single_add_to_cart_button,.woocommerce a.button.add_to_cart_button,.woocommerce .product_meta .sku_wrapper,.woocommerce .quantity,.woocommerce .cart,.woocommerce .checkout,.woocommerce .widget_shopping_cart,.woocommerce .cart-contents,.woocommerce-variation-price,.woocommerce-Price-amount amount,.woocommerce-Price-amount bdi{display:none!important;visibility:hidden!important;height:0!important;overflow:hidden!important}

/* 隐藏WooCommerce价格 */
.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price,
.woocommerce .product_meta .sku_wrapper,
.woocommerce .single_add_to_cart_button,
.woocommerce a.button.add_to_cart_button,
.woocommerce a.button.product_type_simple {
    display: none !important;
}

/* 修改Add to Cart按钮为Get Quote */
.woocommerce ul.products li.product a.button {
    background: #ff6b35 !important;
    color: #fff !important;
}

.woocommerce ul.products li.product a.button:hover {
    background: #e55a2b !important;
}

/* 隐藏首页标题 */
.page-id-62 .page-header-title,
.page-id-62 .entry-header h1,
.page-id-62 .kadence-page-header {
    display: none !important;
}

/* 隐藏首页标题 */
.page-id-62 .page-header-title,
.page-id-62 .entry-header h1,
.page-id-62 .kadence-page-header {
    display: none !important;
}

/* 隐藏首页标题 */
.page-id-62 .page-header-title,
.page-id-62 .entry-header h1,
.page-id-62 .kadence-page-header {
    display: none !important;
}

/* 隐藏WooCommerce价格 */
.woocommerce div.product p.price,
.woocommerce div.product span.price,
.woocommerce ul.products li.product .price,
.price {
    display: none !important;
}

/* 隐藏添加到购物车按钮 */
.woocommerce a.button.add_to_cart_button,
.woocommerce a.button.product_type_simple,
.woocommerce button.single_add_to_cart_button {
    display: none !important;
}

/* 修复导航菜单显示 */
.kadence-header-row .kadence-navigation {
    display: block !important;
}

.kadence-navigation ul.kadence-nav-list {
    display: flex !important;
    list-style: none;
    padding: 0;
    margin: 0;
}

.kadence-navigation ul.kadence-nav-list li {
    display: inline-block !important;
    margin: 0 15px;
}

.kadence-navigation ul.kadence-nav-list li a {
    display: block;
    padding: 10px 0;
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

/* 隐藏汉堡菜单图标（桌面端） */
@media (min-width: 1024px) {
    .kadence-header-row .kadence-navigation-toggle {
        display: none !important;
    }
}

/* 强制显示导航菜单 */
.yl-nav {
    display: block !important;
}

.yl-nav-list {
    display: flex !important;
    flex-direction: row !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.yl-nav-list li {
    display: inline-block !important;
    margin: 0 15px !important;
}

.yl-nav-list a {
    display: block !important;
    text-decoration: none !important;
    color: #333 !important;
    font-weight: 500 !important;
    font-size: 16px !important;
}

/* 隐藏汉堡菜单（桌面端） */
@media (min-width: 769px) {
    .yl-menu-toggle {
        display: none !important;
    }
}
