/*
Theme Name: moban19_v260519
Theme URI:  #
Author: lr
Author URI: #
Description: A Custom WooCommerce theme
Version: 1.0
License: GNU General Public License v2 or later
License URI:
*/
/* 修复 WooCommerce 在 Bootstrap input-group 中的排版冲突 */
.empty-cart-wrapper {
    padding: 60px 30px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.empty-cart-wrapper:hover {
    transform: translateY(-5px);
}

.empty-cart-icon-circle {
    width: 120px;
    height: 120px;
    line-height: 120px;
    background: #fdfaf7; /* 极淡的暖色背景 */
    color: #DE3163; /* 主题棕色 */
    font-size: 60px;
    border-radius: 50%;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed rgba(222, 49, 99, 0.3);
}

/* 标题样式 */
.empty-cart-title {
    font-size: 28px;
    color: #333;
    margin-bottom: 15px;
}

/* 描述文字样式 */
.empty-cart-desc {
    font-size: 16px;
    line-height: 1.8;
    max-width: 450px;
    margin: 0 auto 35px;
}

/* 返回商店按钮样式 */
.btn-shop-now {
    background-color: #DE3163 !important;
    color: #fff !important;
    padding: 15px 40px !important;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px !important; /* 圆角按钮 */
    transition: all 0.4s ease !important;
    border: none !important;
}

.btn-shop-now:hover {
    background-color: #333 !important; /* 悬浮变黑，增加对比 */
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15) !important;
}

/* 移动端微调 */
@media (max-width: 576px) {
    .empty-cart-wrapper {
        padding: 40px 20px;
    }
    .empty-cart-icon-circle {
        width: 100px;
        height: 100px;
        font-size: 50px;
    }
    .empty-cart-title {
        font-size: 22px;
    }
}
.wc-bootstrap-input-group {
    flex-wrap: nowrap;
}

.wc-bootstrap-input-group .quantity {
    display: flex;
    flex: 0 0 80px; /* 控制数字输入框的宽度 */
}

/* 隐藏 WooCommerce 默认的上下箭头（如果不想要的话） */
.wc-bootstrap-input-group .quantity input[type="number"] {
    width: 100%;
    -moz-appearance: textfield;
}

.wc-bootstrap-input-group .quantity input::-webkit-outer-spin-button,
.wc-bootstrap-input-group .quantity input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* 防止心愿单按钮的 YITH 插件默认样式破坏网格 */
.yith-wcwl-add-to-wishlist {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}
.pagination-container {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.pagination-container ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 8px;
    align-items: center;
}

.pagination-container ul li a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 6px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    background-color: #fff;
    color: #212529;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

/* 悬停状态 (Hover) */
.pagination-container ul li a:hover:not(.disabled):not(.active) {
    background-color: #f8f9fa;
    border-color: #dee2e6;
    color: #DE3163;
    transform: translateY(-2px);
}

/* 激活状态 (Active) */
.pagination-container ul li a.active {
    background-color: #DE3163;
    border-color: #DE3163;
    color: #fff;
    cursor: default;
    box-shadow: 0 4px 10px rgba(222, 49, 99, 0.2);
}

.pagination-container ul li a.disabled {
    color: #adb5bd;
    pointer-events: none;
    background-color: #f8f9fa;
    border-color: #e9ecef;
    cursor: not-allowed;
}

.pagination-container ul li a[href="javascript:;"] {
    border: none;
    background: transparent;
    cursor: default;
}

@media (max-width: 576px) {
    .pagination-container ul {
        gap: 5px;
    }
    .pagination-container ul li a {
        min-width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }
}
p.woocommerce-result-count{
    margin-bottom: 0 !important;
}
.img-fluid,.banner-img,.logo_img,.content-image{
    width: 100% !important;
    height: auto !important;
    object-fit: cover;
}
.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* 针对 Firefox */
.quantity-input[type=number] {
    -moz-appearance: textfield;
}

.pro-price span{
    font-weight: 500 !important;
    font-size: 14px !important;
    color: #747691 !important;
    margin: 0 !important;
}

.product-img img {
    aspect-ratio: 3 / 4; /* 或者 1 / 1 */
    object-fit: cover;
    width: 100%;
}
/* 或者强制给 wrapper 一个高度防止错位 */
.product-wrapper {
    height: 100%;
}

/* 让下拉框看起来更高级一点 */
.woocommerce-ordering select {
    border: 1px solid #ddd;
    height: 45px;
    padding: 0 15px;
    border-radius: 0;
    background-color: #fff;
    font-size: 14px;
    color: #666;
    outline: none;
    cursor: pointer;
}

/* 隐藏移动端的默认边框线 */
.woocommerce-ordering {
    margin: 0;
}    .header-area {

         position: static !important;
     }