/*
Theme Name: beauty-woo
Theme URI:  #
Author: lr
Author URI: #
Description: A custom WooCommerce theme
Version: 1.0
License: GNU General Public License v2 or later
License URI:
*/
:root {
    --brand-black: #111;
    --brand-dark: #1c1c1c;
    --brand-gray: #888;
    --brand-light-gray: #f5f5f5;
    --brand-border: #e5e5e5;
}
<!-- 新增外层容器，撑满屏幕 -->

     /* 强制页面撑满屏幕 */
 html, body {
     height: 100%;
     margin: 0;
 }
/* 主容器：弹性布局，中间区域自动占满 */
.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
/* 中间内容区域：自动占满剩余空间 */
.error-404-area {
    flex: 1;
    display: flex;
    align-items: center; /* 垂直居中 */
    padding: 20px 0;
}
/* 保持原内容的居中样式 */
.error-404-content {
    width: 100%;
    text-align: center;
}
/* ================= Header ================= */
.site-header,
.navbar {
    background: #fff;
    border-bottom: 1px solid var(--brand-border);
    z-index: 1020;
}

.header-inner {
    min-height: 72px;
    display: flex;
    align-items: center;
}

.navbar-brand img {
    height: 40px;
}

@media (max-width: 767px) {
    .navbar-brand img {
        height: 30px;
    }
}

/* 主菜单 */
.navbar-nav {
    gap: 36px;
}

.navbar-nav .nav-link {
    font-size: 14px;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-weight: 500;
    color: #222;
    position: relative;
}

/* 下划线 hover */
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 1px;
    background: #000;
    transition: width .3s ease;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

/* Header 右侧 */
.header-actions {
    display: flex;
    gap: 20px;
}

.header-actions i {
    font-size: 18px;
}

/* Cart badge */
.cart-count {
    background: #111;
    color: #fff;
    font-size: 10px;
    padding: 3px 6px;
}

/* ================= Mini Cart ================= */

.mini-cart-wrap {
    position: relative;
}

.mini-cart-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
}

/* 下拉容器 */
.mini-cart-dropdown {
    position: absolute;
    right: 0;
    top: 140%;
    width: 320px;
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 20px 40px rgba(0,0,0,.12);
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all .25s ease;
    z-index: 999;
}

/* Hover 展示（桌面端） */
@media (min-width: 992px) {
    .mini-cart-wrap:hover .mini-cart-dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

/* Woo mini cart 重置 */
.woocommerce-mini-cart {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* 单个商品 */
.woocommerce-mini-cart-item {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

/* 商品图 */
.woocommerce-mini-cart-item img {
    width: 60px;
    height: auto;
    border: 1px solid #eee;
}

/* 商品信息 */
.woocommerce-mini-cart-item a {
    color: #111;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
}

.woocommerce-mini-cart-item .quantity {
    font-size: 12px;
    color: #777;
}

/* 删除按钮 */
.woocommerce-mini-cart-item .remove {
    font-size: 14px;
    color: #999;
    margin-left: auto;
}

.woocommerce-mini-cart-item .remove:hover {
    color: #000;
}

/* 小计 */
.woocommerce-mini-cart__total {
    border-top: 1px solid #eee;
    padding-top: 12px;
    font-size: 13px;
    text-align: right;
}

/* 按钮 */
.woocommerce-mini-cart__buttons a {
    display: block;
    text-align: center;
    padding: 10px;
    margin-top: 10px;
    border: 1px solid #111;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.woocommerce-mini-cart__buttons a.checkout {
    background: #111;
    color: #fff;
}

.woocommerce-mini-cart__buttons a:not(.checkout) {
    background: transparent;
    color: #111;
}


/* ================= Home ====================*/



/* ================= Footer ================= */
.site-footer {
    background: var(--brand-black);
    color: var(--brand-gray);
    font-size: 14px;
    line-height: 1.8;
}

/* 上部 */
.footer-top {
    padding: 80px 0 60px;
}

/* Grid */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
}

/* 标题 */
.footer-title {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 24px;
    position: relative;
}

.footer-title::after {
    content: '';
    display: block;
    width: 24px;
    height: 1px;
    background: #fff; /* ✅ 改为纯白 */
    margin-top: 10px;
}

/* 文本 */
.footer-col p {
    color: var(--brand-gray);
    margin-bottom: 10px;
}

/* 链接 */
.site-footer ul {
    list-style: none;
    padding: 0;
}

.site-footer ul li {
    margin-bottom: 10px;
}

.site-footer a {
    color: var(--brand-gray);
    text-decoration: none;
    transition: all .3s ease;
}

.site-footer a:hover {
    color: #fff;
    padding-left: 4px;
}

/* Newsletter */
.footer-newsletter {
    display: flex;
    margin-top: 16px;
}

.footer-newsletter input {
    flex: 1;
    background: transparent;
    border: 1px solid #333;
    padding: 10px 12px;
    color: #fff;
}

.footer-newsletter button {
    background: #fff;   /* ✅ 白按钮 */
    color: #000;
    border: none;
    padding: 0 18px;
    font-size: 13px;
    cursor: pointer;
}

/* 底部 */
.footer-bottom {
    border-top: 1px solid #222;
    padding: 20px 0;
    text-align: center;
    font-size: 12px;
}
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-title::after {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-newsletter {
        flex-direction: column;
    }

    .footer-newsletter button {
        margin-top: 10px;
    }
}