/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/



/**
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 写 wordpress 的 自定义 css 里 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*/

/* ~~~~~~~~~~~~~~~~~~~ 手机菜单 ~~~~~~~~~~~~~~~~~~~ */

/* 移除按钮的 点击/悬停 效果 */
.ast-menu-toggle,
.ast-menu-toggle:focus,
.ast-menu-toggle:hover,
.ast-menu-toggle:active {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
    background-color: transparent !important;
    color: inherit !important;
}

/* 移除点击时的蓝色边框 */
.ast-menu-toggle::-moz-focus-inner {
    border: 0 !important;
}

/* ~~~~~~~~~~~~~ 隐藏 woocommerce 内容 ~~~~~~~~~~~~ */

/* 平板和手机设备 不显示 WooCommerce 多级分类菜单简码 */
@media (max-width: 1200px) {
    .wooc-category-menu-container {
        display: none !important;
    }
}

/* 修改 WooCommerce 字体样式 */
.woocommerce-js ul.products li.product .woocommerce-loop-category__title, .woocommerce-page ul.products li.product .woocommerce-loop-category__title {
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.01rem;
    line-height: 1.5;
}

/* 隐藏 商品列表 排序下拉框 */
form.woocommerce-ordering {
    display: none !important;
}

/* 隐藏 商品列表 结果计数 */
.woocommerce-result-count {
    display: none !important;
}

/* 隐藏 单个商品 相关产品区域 */
.related.products {
    display: none !important;
}

/* 修改 woocommerce 左侧边栏产品搜索框高度 */
input[type="text"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="reset"],
input[type="tel"],
input[type="date"],
select {
    height: auto !important;
}

/* 修改 woocommerce 右侧内容居中 */
.woocommerce div.product .summary.entry-summary {
    text-align: center;
    margin: 0 auto;
    float: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}



/**
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 本文件内容 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*/

/* ~~~~~~~~~~~~~~~~~~~ 二级菜单 ~~~~~~~~~~~~~~~~~~~ */

/* 背景颜色 */
.ast-header-break-point .main-navigation .sub-menu,
.main-navigation .sub-menu {
    background-color: #ffffff !important;
}

/* 文字颜色 */
.main-navigation .sub-menu a {
    color: #000000 !important;
}

/* 悬停效果 */
.main-navigation .sub-menu a:hover {
    color: #000000 !important;
    background-color: #f0f0f1 !important;
}



/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
