/*
Theme Name: YOHO
Theme URI: http://wp.lsdit.com/
Author: YOHO
Author URI: http://wp.lsdit.com/
Description: YOHO - Handcrafted Jewelry eCommerce WordPress Theme
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: yoho
Tags: custom-background, custom-logo, custom-menu, featured-images, woocommerce, e-commerce
*/

/* ==========================================================================
   YOHO 设计系统 —— 配色 / 字体 / 间距变量
   视觉规范参考自珠宝电商行业通用设计语言（主色红、浅灰卡片、留白充足）
   ========================================================================== */
:root {
    /* 主色 */
    --yoho-primary: #d51243;        /* 主强调色（按钮 / 角标 / 强调文字） */
    --yoho-primary-dark: #b50833;   /* 悬停深红 */
    --yoho-primary-deep: #a30f33;   /* 更深变体 */

    /* 中性色 */
    --yoho-black: #040404;          /* 标题 */
    --yoho-body: #6f7172;           /* 正文灰 */
    --yoho-muted: #999999;          /* 次级文字 */
    --yoho-muted-2: #969696;

    /* 背景 / 边框 */
    --yoho-bg-light: #eaedff;       /* 浅卡片底（分类卡片 / 图标底） */
    --yoho-bg-gray: #f6f6f6;
    --yoho-bg-gray-2: #f8f8f8;
    --yoho-bg-gray-3: #f9f9f9;
    --yoho-border: #e7e7e7;
    --yoho-border-2: #e8e8e8;
    --yoho-border-3: #e0e0e0;
    --yoho-white: #ffffff;

    /* 字体 */
    --yoho-font-heading: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --yoho-font-body: var(--yoho-font-heading);

    /* 间距 */
    --yoho-section-space: 80px;
    --yoho-container: 1400px;

    /* 圆角 */
    --yoho-radius: 8px;
    --yoho-radius-lg: 12px;
}

/* ==========================================================================
   基础重置
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--yoho-font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--yoho-body);
    background: var(--yoho-white);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.25s ease;
}

a:hover {
    color: var(--yoho-primary);
}

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 0.5em;
    font-family: var(--yoho-font-heading);
    font-weight: 700;
    color: var(--yoho-black);
    line-height: 1.25;
}

p {
    margin: 0 0 1em;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
}

/* ==========================================================================
   容器
   ========================================================================== */
.yoho-container {
    width: 100%;
    max-width: var(--yoho-container);
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   通用按钮
   ========================================================================== */
.yoho-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    background: var(--yoho-primary);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    line-height: 1;
    border-radius: 4px;
    border: none;
    transition: background 0.25s ease, transform 0.2s ease;
}

.yoho-btn:hover {
    background: var(--yoho-primary-dark);
    color: #fff;
    transform: translateY(-2px);
}

.yoho-btn i {
    font-style: normal;
    transition: transform 0.25s ease;
}

.yoho-btn:hover i {
    transform: translateX(4px);
}

/* ==========================================================================
   区块标题
   ========================================================================== */
.yoho-section {
    padding: var(--yoho-section-space) 0;
}

.yoho-section__title {
    font-size: 36px;
    margin-bottom: 8px;
}

.yoho-section__title span {
    color: var(--yoho-primary);
}

.yoho-section__title img {
    display: inline-block;
    margin-left: 6px;
    vertical-align: baseline;
}

.yoho-section__subtitle {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--yoho-primary);
    margin-bottom: 10px;
}
