/*
Theme Name: YY Mall
Theme URI: http://your-domain.com/
Description: 温暖柔和商业模式风 - 优化转化体验
Author: YY
Version: 2.0
*/

/* ============================================================
   DESIGN TOKENS — 柔和暖色系统
   ============================================================ */
:root {
    /* 基底色：暖白 / 米白 / 奶油 */
    --bg-base:        #faf7f2;
    --bg-soft:        rgba(245, 240, 234, 0.75);
    --bg-card:        rgba(255, 255, 255, 0.80);
    --bg-soft-pink:   rgba(253, 246, 242, 0.75);
    --bg-soft-green:  rgba(243, 247, 243, 0.75);

    /* 主色调：鼠尾草绿（柔和但可识别） */
    --sage:           #7a9e7e;
    --sage-light:     #a3c0a7;
    --sage-dark:      #5d8462;

    /* 强调色：珊瑚橙（CTA / 重点提示） */
    --coral:          #e8a87c;
    --coral-light:    #f0c4a4;
    --coral-dark:     #d4895f;

    /* 辅助色：暖金 / 淡杏 / 奶茶 */
    --honey:          #d4a574;
    --apricot:        #f2c8a0;
    --latte:          #c4a882;

    /* 文字色（暖灰系，非纯黑） */
    --text-primary:   #3d3530;
    --text-secondary: #7a6e64;
    --text-muted:     #a89e94;
    --text-on-dark:   #faf7f2;

    /* 边框 / 分割线 */
    --border-light:   #ece5dd;
    --border-soft:    #f0ebe3;

    /* 阴影：极浅、大范围扩散 */
    --shadow-xs:  0 2px 8px rgba(122, 110, 100, 0.04);
    --shadow-sm:  0 4px 16px rgba(122, 110, 100, 0.06);
    --shadow-md:  0 8px 28px rgba(122, 110, 100, 0.08);
    --shadow-lg:  0 12px 40px rgba(122, 110, 100, 0.10);

    /* 圆角 */
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --radius-pill: 50px;

    /* 间距 */
    --space-xs:  8px;
    --space-sm:  16px;
    --space-md:  24px;
    --space-lg:  40px;
    --space-xl:  60px;

    /* 缓动曲线 */
    --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition: 0.28s var(--ease-soft);

    /* 字体 */
    --font-sans: "Plus Jakarta Sans", "Inter", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

/* ============================================================
   GLOBAL RESET & BASE
   ============================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

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

/* 全局截图背景 */
.yy-bg-static {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--bg-base);
    z-index: -2;
}
.yy-bg-overlay {
    position: fixed;
    inset: 0;
    z-index: -1;
    background: rgba(250, 247, 242, 0.30);
}

body {
    font-family: var(--font-sans);
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-primary);
    background: transparent;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 纸张纹理叠加已移除（与视频背景冲突） */

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    outline: none;
}

/* ============================================================
   HEADER — 柔和导航（白色磨砂玻璃感）
   ============================================================ */
.yy-header {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    height: 64px;
    position: sticky;
    top: 0;
    z-index: 999;
    border-bottom: 1px solid var(--border-soft);
}

.yy-header-inner {
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    height: 64px;
    padding: 0 24px;
    gap: 8px;
}

.yy-logo {
    font-size: 19px;
    font-weight: 700;
    white-space: nowrap;
    letter-spacing: -0.02em;
}
.yy-logo a { color: var(--text-primary); }
.yy-logo .logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    background: var(--sage);
    border-radius: var(--radius-sm);
    margin-right: 8px;
    color: #fff;
    font-size: 18px;
    vertical-align: middle;
    box-shadow: var(--shadow-xs);
}

.yy-nav { flex: 1; display: flex; gap: 4px; margin-left: 20px; }
.yy-nav a {
    padding: 8px 16px;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-pill);
    transition: var(--transition);
}
.yy-nav a:hover {
    color: var(--sage-dark);
    background: var(--bg-soft-green);
}
.yy-nav a.active {
    color: var(--sage-dark);
    background: var(--bg-soft-green);
    font-weight: 600;
}

.yy-search { margin-right: 8px; display: flex; align-items: center; }
.yy-search input {
    width: 180px;
    height: 38px;
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-pill) 0 0 var(--radius-pill);
    padding: 0 16px;
    font-size: 13.5px;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.70);
    transition: var(--transition);
}
.yy-search input::placeholder { color: var(--text-muted); }
.yy-search input:focus {
    border-color: var(--sage-light);
    background: rgba(255, 255, 255, 0.90);
    width: 220px;
}
.yy-search button {
    height: 38px;
    border: none;
    background: var(--sage);
    color: #fff;
    padding: 0 18px;
    border-radius: 0 var(--radius-pill) var(--radius-pill) 0;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: var(--transition);
}
.yy-search button:hover { background: var(--sage-dark); }

.yy-user { white-space: nowrap; font-size: 14px; }
.yy-user a {
    color: var(--text-secondary);
    font-weight: 500;
    padding: 8px 14px;
    border-radius: var(--radius-pill);
}
.yy-user a:hover { color: var(--sage-dark); background: var(--bg-soft-green); }

.yy-cart-badge {
    display: inline-block;
    background: var(--coral);
    color: #fff;
    font-size: 11px;
    border-radius: var(--radius-pill);
    padding: 2px 8px;
    margin-left: 4px;
    line-height: 1.4;
    font-weight: 600;
}

/* ============================================================
   HERO SECTION — 首屏温暖大图
   ============================================================ */
.yy-hero {
    max-width: 1320px;
    margin: 24px auto 0;
    padding: 0 24px;
}

.yy-hero-banner {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: linear-gradient(135deg, #e8a87c 0%, #f0c4a4 30%, #d4a574 60%, #c4a882 100%);
    padding: 56px 48px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    min-height: 320px;
}

/* 视频背景 */
.yy-hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}
/* 视频上方柔和遮罩（保证文字可读） */
.yy-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(135deg,
        rgba(60, 50, 45, 0.45) 0%,
        rgba(100, 80, 70, 0.30) 40%,
        rgba(122, 110, 100, 0.25) 70%,
        rgba(180, 150, 130, 0.20) 100%);
}
.yy-hero-banner::before {
    content: '';
    position: absolute;
    top: -60px; right: -40px;
    width: 300px; height: 300px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    z-index: 1;
}
.yy-hero-banner::after {
    content: '';
    position: absolute;
    bottom: -80px; right: 120px;
    width: 200px; height: 200px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    z-index: 1;
}

.yy-hero-content { position: relative; z-index: 2; max-width: 560px; }
.yy-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 18px;
    backdrop-filter: blur(8px);
}
.yy-hero-tag .dot {
    width: 6px; height: 6px;
    background: #fff;
    border-radius: 50%;
    animation: breathe 2s ease-in-out infinite;
}
@keyframes breathe {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.yy-hero h1 {
    font-size: 38px;
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
}
.yy-hero p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 28px;
}

.yy-hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.yy-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: var(--coral-dark);
    padding: 13px 32px;
    border-radius: var(--radius-pill);
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transition: var(--transition);
}
.yy-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
    color: var(--coral-dark);
}
.yy-hero-hint {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ============================================================
   TRUST BADGES — 信任标牌
   ============================================================ */
.yy-trust {
    max-width: 1320px;
    margin: 24px auto 0;
    padding: 0 24px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.yy-trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.60);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-md);
    padding: 10px 18px;
    box-shadow: 0 2px 12px rgba(122, 110, 100, 0.05);
    font-size: 13.5px;
    color: var(--text-secondary);
    font-weight: 500;
}
.yy-trust-badge .icon {
    width: 28px; height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    font-size: 15px;
}
.yy-trust-badge:nth-child(1) .icon { background: var(--bg-soft-green); }
.yy-trust-badge:nth-child(2) .icon { background: var(--bg-soft-pink); }
.yy-trust-badge:nth-child(3) .icon { background: #fef5e7; }

/* ============================================================
   CONTENT WRAPPER — 白色柔和卡片容器
   ============================================================ */
.yy-content-wrapper {
    width: calc(100% - 48px);
    max-width: 1272px;
    margin: 32px auto;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: 0 4px 24px rgba(122, 110, 100, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

/* ============================================================
   SECTION HEADER — 标题区域
   ============================================================ */
.yy-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
}
.yy-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}
.yy-section-title .deco {
    width: 4px; height: 24px;
    background: var(--coral);
    border-radius: 2px;
}
.yy-more-btn {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    background: var(--bg-soft);
    transition: var(--transition);
}
.yy-more-btn:hover {
    color: var(--coral-dark);
    background: var(--bg-soft-pink);
}

/* ============================================================
   PRODUCT GRID — 商品网格
   ============================================================ */
.yy-goods-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

/* ============================================================
   PRODUCT CARD — 柔和商品卡
   ============================================================ */
.yy-good-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: var(--transition);
    cursor: pointer;
}
.yy-good-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.88);
    border-color: var(--sage-light);
}

.yy-good-image-wrapper {
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: var(--bg-soft);
    position: relative;
}
.yy-good-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s var(--ease-soft);
}
.yy-good-card:hover .yy-good-image-wrapper img {
    transform: scale(1.04);
}

/* 小标签：上架/热销 */
.yy-good-tag {
    position: absolute;
    top: 12px; left: 12px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 600;
    color: var(--coral-dark);
}

.yy-good-info { padding: 16px 18px 20px; }
.yy-good-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
    line-height: 1.5;
    height: 45px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.yy-good-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 14px;
    line-height: 1.4;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}
.yy-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.yy-price-box {
    display: flex;
    align-items: baseline;
    color: var(--coral-dark);
}
.yy-price-symbol { font-size: 14px; font-weight: 600; margin-right: 1px; }
.yy-price-value { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }

.yy-add-cart-btn {
    width: 38px; height: 38px;
    border: none !important;
    background: var(--bg-soft-green) !important;
    color: var(--sage-dark) !important;
    border-radius: var(--radius-sm) !important;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    display: flex !important;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    padding: 0 !important;
    line-height: 38px;
    text-indent: 0;
}
.yy-add-cart-btn:hover {
    background: var(--sage) !important;
    color: #fff !important;
    transform: scale(1.08);
}
.yy-add-cart-btn.loading {
    opacity: 0.6;
    pointer-events: none;
}
.yy-add-cart-btn .added {
    display: none;
}

/* WooCommerce add-to-cart redirect: stay on same page after adding */
.added_to_cart {
    display: none !important;
}

/* ============================================================
   CATEGORY TAGS — 分类筛选
   ============================================================ */
.yy-category-section {
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--border-soft);
}
.yy-category-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.yy-category-tag {
    cursor: pointer;
    font-size: 13.5px;
    font-weight: 500;
    padding: 9px 20px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-light);
    color: var(--text-secondary);
    background: var(--bg-base);
    transition: var(--transition);
}
.yy-category-tag:hover {
    color: var(--sage-dark);
    border-color: var(--sage-light);
    background: var(--bg-soft-green);
    transform: translateY(-1px);
}
.yy-category-tag.active {
    color: #fff;
    background: var(--sage);
    border-color: var(--sage);
}

/* ============================================================
   PRODUCT DETAIL PAGE — 商品详情
   ============================================================ */
.yy-detail-box {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    padding: 10px 0;
}
.yy-detail-image {
    width: 460px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    background: var(--bg-soft);
    flex-shrink: 0;
}
.yy-detail-image img { width: 100%; height: auto; }

.yy-detail-info { flex: 1; min-width: 280px; max-width: 480px; }

.yy-detail-breadcrumb {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
}
.yy-detail-breadcrumb a:hover { color: var(--sage-dark); }

.yy-detail-info h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.35;
    letter-spacing: -0.01em;
    margin-bottom: 12px;
}
.yy-detail-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.yy-detail-price-box {
    background: var(--bg-soft-pink);
    border: 1px solid #f5e0d8;
    border-radius: var(--radius-md);
    padding: 20px 24px;
    margin-bottom: 24px;
}
.yy-detail-price-label {
    font-size: 14px;
    color: var(--text-muted);
    margin-right: 12px;
}
.yy-detail-price-value {
    font-size: 28px;
    color: var(--coral-dark);
    font-weight: 700;
    letter-spacing: -0.01em;
}

.yy-detail-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
    font-size: 13.5px;
    color: var(--text-muted);
}
.yy-detail-meta span { display: flex; align-items: center; gap: 4px; }

.yy-detail-actions {
    display: flex;
    gap: 12px;
    margin-top: 28px;
}

/* WooCommerce form overrides for detail page */
.yy-detail-info .cart { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 24px; }
.yy-detail-info .quantity { margin: 0 !important; }
.yy-detail-info .quantity .qty {
    width: 70px; height: 46px;
    text-align: center;
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-size: 16px;
    color: var(--text-primary);
}
.yy-detail-info .single_add_to_cart_button {
    flex: 1;
    min-width: 180px;
    height: 46px;
    border: none !important;
    border-radius: var(--radius-md) !important;
    background: var(--sage) !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: var(--transition);
}
.yy-detail-info .single_add_to_cart_button:hover {
    background: var(--sage-dark) !important;
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

/* ============================================================
   WOOCOMMERCE SHOP GRID OVERRIDE
   ============================================================ */
ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 22px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
ul.products li.product {
    list-style: none !important;
    margin: 0 !important;
    width: auto !important;
}
ul.products::before, ul.products::after { display: none !important; }

.woocommerce .woocommerce-result-count {
    font-size: 14px; color: var(--text-muted); margin: 0; float: left;
}
.woocommerce .woocommerce-ordering { margin: 0 0 1em; }
.woocommerce .woocommerce-ordering select {
    padding: 8px 14px;
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-pill);
    font-size: 13.5px;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.75);
}

/* WooCommerce buttons — warm sage style */
.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce .button {
    background: var(--sage) !important;
    color: #fff !important;
    border: none !important;
    border-radius: var(--radius-md) !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    padding: 12px 32px !important;
    transition: var(--transition);
    box-shadow: none !important;
    text-shadow: none !important;
}
.woocommerce button.button:hover,
.woocommerce a.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce .button:hover {
    background: var(--sage-dark) !important;
    color: #fff !important;
    transform: translateY(-1px);
}

.woocommerce .quantity .qty {
    width: 70px; height: 42px;
    text-align: center;
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-size: 15px;
}

/* WooCommerce notices — warm toast style */
.woocommerce-message,
.woocommerce-info {
    border-top-color: var(--sage) !important;
    background: var(--bg-soft-green) !important;
    border-radius: var(--radius-md) !important;
    padding: 16px 20px !important;
    color: var(--text-secondary) !important;
}
.woocommerce-message::before,
.woocommerce-info::before { color: var(--sage) !important; }

.woocommerce-error {
    border-top-color: var(--coral) !important;
    background: var(--bg-soft-pink) !important;
    border-radius: var(--radius-md) !important;
}

/* Pagination */
.woocommerce nav.woocommerce-pagination ul {
    border: none !important;
    display: flex;
    gap: 6px;
    justify-content: center;
}
.woocommerce nav.woocommerce-pagination ul li { border: none !important; }
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    padding: 8px 14px;
    border: 1px solid var(--border-light) !important;
    border-radius: var(--radius-sm) !important;
    font-size: 14px;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.70);
}
.woocommerce nav.woocommerce-pagination ul li .current {
    background: var(--sage) !important;
    color: #fff !important;
    border-color: var(--sage) !important;
}

/* ============================================================
   CART PAGE
   ============================================================ */
.woocommerce table.shop_table {
    border-radius: var(--radius-md) !important;
    border: 1px solid var(--border-soft) !important;
    overflow: hidden;
}
.woocommerce table.shop_table th {
    background: var(--bg-soft) !important;
    color: var(--text-secondary) !important;
    font-size: 13.5px;
    padding: 14px 16px !important;
}
.woocommerce table.shop_table td {
    padding: 16px !important;
    border-top: 1px solid var(--border-soft) !important;
}
.woocommerce-cart-form__cart-item img {
    width: 72px !important;
    border-radius: var(--radius-sm);
}

/* ============================================================
   FLOATING CONSULT BUTTON — 右下角轻柔悬浮咨询
   ============================================================ */
.yy-float-consult {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 998;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.yy-float-btn {
    width: 52px; height: 52px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
}
.yy-float-btn.primary {
    background: var(--sage);
    color: #fff;
}
.yy-float-btn.primary::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid var(--sage);
    opacity: 0.3;
    animation: ripple 2.5s ease-out infinite;
}
@keyframes ripple {
    0% { transform: scale(1); opacity: 0.3; }
    100% { transform: scale(1.5); opacity: 0; }
}
.yy-float-btn:hover {
    transform: scale(1.1);
}
.yy-float-cart {
    background: var(--coral);
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-pill);
    padding: 0 20px;
    width: auto;
    height: 52px;
    gap: 6px;
    display: none;
}

/* ============================================================
   FOOTER — 暖灰小字
   ============================================================ */
.yy-footer {
    text-align: center;
    padding: 36px 24px 28px;
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.8;
}
.yy-footer .divider {
    max-width: 1200px;
    margin: 0 auto 28px;
    height: 1px;
    background: var(--border-soft);
}
.yy-footer a { color: var(--text-muted); }
.yy-footer a:hover { color: var(--sage-dark); }
.yy-footer .footer-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 10px;
}

/* ============================================================
   TOAST NOTIFICATION — 温柔提示
   ============================================================ */
.yy-toast {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--text-primary);
    padding: 14px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-soft);
    font-size: 14px;
    font-weight: 500;
    z-index: 9999;
    opacity: 0;
    transition: all 0.3s var(--ease-soft);
    display: flex;
    align-items: center;
    gap: 8px;
    pointer-events: none;
}
.yy-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
.yy-toast .toast-icon {
    width: 24px; height: 24px;
    border-radius: 50%;
    background: var(--sage);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

/* ============================================================
   EMPTY STATE
   ============================================================ */
.yy-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}
.yy-empty .icon { font-size: 48px; margin-bottom: 16px; opacity: 0.4; }
.yy-empty p { font-size: 15px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
    .yy-goods-grid, ul.products { grid-template-columns: repeat(3, 1fr) !important; }
    .yy-detail-image { width: 400px; }
}

@media (max-width: 768px) {
    .yy-goods-grid, ul.products { grid-template-columns: repeat(2, 1fr) !important; gap: 14px !important; }
    .yy-content-wrapper { width: calc(100% - 24px); padding: 24px 20px; }
    .yy-hero { padding: 0 12px; }
    .yy-hero-banner { padding: 36px 24px; min-height: 240px; }
    .yy-hero h1 { font-size: 26px; }
    .yy-hero p { font-size: 15px; }
    .yy-header-inner { flex-wrap: wrap; height: auto; padding: 12px 16px; }
    .yy-header { position: sticky; }
    .yy-nav { order: 3; width: 100%; overflow-x: auto; padding: 4px 0; gap: 2px; }
    .yy-nav a { white-space: nowrap; font-size: 13px; padding: 6px 12px; }
    .yy-search { display: none; }
    .yy-detail-box { flex-direction: column; gap: 24px; }
    .yy-detail-image { width: 100%; max-width: 420px; margin: 0 auto; }
    .yy-trust { padding: 0 12px; }
    .yy-trust-badge { padding: 8px 14px; font-size: 12.5px; }
    .yy-float-consult { bottom: 16px; right: 16px; }
    .yy-float-cart { display: flex; }
    .yy-section-title { font-size: 20px; }
}

@media (max-width: 480px) {
    .yy-goods-grid, ul.products { grid-template-columns: 1fr !important; }
    .yy-good-image-wrapper { aspect-ratio: 4/3; }
}

/* ============================================================
   HOMEPAGE SHORTCODE STYLES — 后台编辑器短代码样式
   ============================================================ */
.yy-goods-grid { grid-template-columns: repeat(var(--cols, 4), 1fr); }

/* 自由文字区块 */
.yy-text-block {
    border-radius: 18px;
    padding: 28px 32px;
    margin: 24px 0;
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
}
.yy-text-block.bg-soft   { background: #faf6f0; border: 1px solid #f0ebe3; }
.yy-text-block.bg-white  { background: #fff; border: 1px solid #ece5dd; box-shadow: 0 2px 12px rgba(122,110,100,0.04); }
.yy-text-block.bg-green  { background: #f0f6f1; border: 1px solid #dde9df; }
.yy-text-block.bg-pink   { background: #fdf4f0; border: 1px solid #f5e0d8; }
.yy-text-block.bg-none   { background: transparent; border: none; padding: 0; }
.yy-text-block h2, .yy-text-block h3 {
    color: var(--text-primary);
    font-weight: 700;
    margin-bottom: 12px;
}
.yy-text-block p { margin-bottom: 12px; }
.yy-text-block img { border-radius: 14px; max-width: 100%; height: auto; }

/* 宽幅横幅 */
.yy-custom-banner {
    background-size: cover;
    background-position: center;
    background-color: #f5f0ea;
    border-radius: 20px;
    margin: 24px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    position: relative;
}
.yy-custom-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.25), rgba(0,0,0,0.1));
}
.yy-custom-banner-content {
    position: relative;
    z-index: 1;
    padding: 32px;
    color: #fff;
}
.yy-custom-banner-content h2 { font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.yy-custom-banner-content p { font-size: 15px; opacity: 0.9; margin-bottom: 16px; }
.yy-banner-btn {
    display: inline-block;
    padding: 12px 32px;
    background: rgba(255,255,255,0.95);
    color: var(--coral-dark);
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.28s var(--ease-soft);
}
.yy-banner-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.2); }

/* 首页内容区域 */
.home .yy-content-wrapper,
.front-page .yy-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 40px;
}

/* 后台编辑器中的短代码提示 */
.wp-block-shortcode { 
    background: #f5f0ea; 
    border-radius: 8px; 
    padding: 8px 12px;
}

/* ============================================================
   CART & CHECKOUT — 经典WooCommerce柔暖样式
   ============================================================ */

/* Cart form */
.yy-cart-content,
.yy-checkout-content {
    margin-top: 20px;
}

.woocommerce-cart-form table.shop_table,
.woocommerce-checkout-review-order-table,
form.woocommerce-checkout table {
    border: none !important;
    border-radius: 18px !important;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(122, 110, 100, 0.06);
    border: 1px solid #f0ebe3 !important;
}

.woocommerce-cart-form table.shop_table th {
    background: #faf7f2 !important;
    color: var(--text-secondary) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-transform: none !important;
    padding: 16px 14px !important;
    letter-spacing: 0;
    border-bottom: 1px solid #f0ebe3 !important;
}

.woocommerce-cart-form table.shop_table td {
    padding: 16px 14px !important;
    border-top: 1px solid #f5f0e8 !important;
    background: #fff !important;
}

.woocommerce-cart-form table.shop_table tr:hover td {
    background: #fffdf8 !important;
}

/* Product name in cart */
.woocommerce-cart-form .product-name a,
.woocommerce-cart-form .product-name {
    color: var(--text-primary) !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    text-decoration: none !important;
}

/* Product image in cart */
.woocommerce-cart-form .product-thumbnail img {
    border-radius: 12px !important;
    width: 72px !important;
    height: auto !important;
}

/* Quantity input */
.woocommerce-cart-form .qty:not(.input-text) {
    width: 56px !important;
    height: 40px !important;
    border-radius: 12px !important;
    border: 1.5px solid #e5d9cc !important;
    background: #fdf9f4 !important;
    text-align: center;
    font-size: 15px;
    color: var(--text-primary);
}
.woocommerce-cart-form .qty:focus {
    border-color: #f0b89e !important;
    box-shadow: 0 0 0 3px rgba(240, 184, 158, 0.12);
    outline: none;
}

/* Remove button */
.woocommerce-cart-form .product-remove a.remove {
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    background: #fce8e0 !important;
    color: #d4795a !important;
    font-size: 18px !important;
    line-height: 30px !important;
    transition: all 0.2s;
}
.woocommerce-cart-form .product-remove a.remove:hover {
    background: #f5c0b0 !important;
    color: #fff !important;
    transform: scale(1.1);
}

/* Cart totals */
.cart_totals .shop_table,
.woocommerce-cart .cart-collaterals .cart_totals table {
    border-radius: 16px !important;
    border: 1px solid #f0ebe3 !important;
    background: #fffdf8 !important;
}
.cart_totals .shop_table th {
    background: transparent !important;
    border-bottom: 1px solid #f5f0e8 !important;
    font-size: 14px !important;
    color: var(--text-secondary) !important;
}
.cart_totals .shop_table td {
    border-bottom: 1px solid #f5f0e8 !important;
    text-align: right;
}

/* Coupon */
.woocommerce-cart-form .coupon .input-text,
.checkout_coupon .input-text {
    height: 44px !important;
    border-radius: 14px !important;
    border: 1.5px solid #e5d9cc !important;
    background: #fdf9f4 !important;
    padding: 0 16px !important;
    font-size: 14px !important;
    min-width: 140px !important;
}
.woocommerce-cart-form .coupon .button,
.checkout_coupon .button {
    height: 44px !important;
    border-radius: 14px !important;
    background: var(--bg-soft) !important;
    color: var(--text-secondary) !important;
    border: none !important;
    font-weight: 600 !important;
    padding: 0 24px !important;
    transition: all 0.25s;
}
.woocommerce-cart-form .coupon .button:hover,
.checkout_coupon .button:hover {
    background: var(--coral) !important;
    color: #fff !important;
}

/* Update cart button */
.woocommerce-cart-form button[name='update_cart'] {
    height: 44px !important;
    border-radius: 14px !important;
    background: var(--bg-soft-green) !important;
    color: var(--sage-dark) !important;
    border: none !important;
    font-weight: 600 !important;
    padding: 0 28px !important;
}

/* Proceed to checkout */
.wc-proceed-to-checkout .checkout-button,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    height: 56px !important;
    line-height: 56px !important;
    border-radius: 50px !important;
    background: linear-gradient(135deg, #f8b4a2 0%, #e89a7c 100%) !important;
    color: #fff !important;
    font-size: 17px !important;
    font-weight: 600 !important;
    text-align: center !important;
    box-shadow: 0 6px 20px rgba(232, 154, 124, 0.30) !important;
    transition: all 0.3s !important;
    margin-bottom: 8px !important;
    display: block !important;
    text-decoration: none !important;
}
.wc-proceed-to-checkout .checkout-button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 30px rgba(232, 154, 124, 0.40) !important;
}

/* Cart empty state */
.woocommerce-cart .cart-empty,
.woocommerce-checkout .cart-empty {
    text-align: center;
    padding: 60px 20px !important;
    font-size: 18px !important;
    color: var(--text-muted) !important;
}
.woocommerce-cart .return-to-shop .button,
.woocommerce-checkout .return-to-shop .button {
    height: 48px !important;
    line-height: 48px !important;
    border-radius: 50px !important;
    background: linear-gradient(135deg, #f8b4a2, #e89a7c) !important;
    color: #fff !important;
    font-weight: 600 !important;
    padding: 0 40px !important;
}

/* Checkout form */
form.woocommerce-checkout .col2-set .col-1,
form.woocommerce-checkout .col2-set .col-2 {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
}

.woocommerce-billing-fields h3,
.woocommerce-shipping-fields h3,
.woocommerce-additional-fields h3,
#ship-to-different-address label {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: var(--text-primary) !important;
    margin-bottom: 16px !important;
    padding-bottom: 8px;
    border-bottom: 2px solid #f5f0e8;
}

/* Checkout inputs */
form.woocommerce-checkout input[type="text"],
form.woocommerce-checkout input[type="email"],
form.woocommerce-checkout input[type="tel"],
form.woocommerce-checkout input[type="password"],
form.woocommerce-checkout textarea,
form.woocommerce-checkout select {
    height: 50px !important;
    border-radius: 14px !important;
    border: 1.5px solid #e5d9cc !important;
    background: #fdf9f4 !important;
    padding: 0 16px !important;
    font-size: 15px !important;
    color: var(--text-primary) !important;
    transition: all 0.25s;
    width: 100%;
    box-sizing: border-box;
}
form.woocommerce-checkout textarea {
    height: auto !important;
    padding: 12px 16px !important;
    min-height: 80px;
}
form.woocommerce-checkout input:focus,
form.woocommerce-checkout textarea:focus,
form.woocommerce-checkout select:focus {
    border-color: #f0b89e !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(240, 184, 158, 0.12) !important;
    outline: none !important;
}

/* Checkout labels */
form.woocommerce-checkout label {
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: var(--text-secondary) !important;
    margin-bottom: 5px !important;
}

/* Place order button */
#place_order {
    height: 56px !important;
    border-radius: 50px !important;
    background: linear-gradient(135deg, var(--sage) 0%, #5d8462 100%) !important;
    color: #fff !important;
    border: none !important;
    font-size: 17px !important;
    font-weight: 600 !important;
    width: 100% !important;
    box-shadow: 0 6px 20px rgba(122, 158, 126, 0.30) !important;
    transition: all 0.3s !important;
    cursor: pointer !important;
}
#place_order:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 30px rgba(122, 158, 126, 0.40) !important;
}
#place_order:active {
    transform: scale(0.97) !important;
}

/* Order review table */
.woocommerce-checkout-review-order-table {
    border-radius: 16px !important;
    border: 1px solid #f0ebe3 !important;
    overflow: hidden;
}
.woocommerce-checkout-review-order-table th {
    background: #faf7f2 !important;
    color: var(--text-secondary) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    padding: 14px !important;
}
.woocommerce-checkout-review-order-table td {
    padding: 14px !important;
    border-top: 1px solid #f5f0e8 !important;
}
.woocommerce-checkout-review-order-table .order-total th,
.woocommerce-checkout-review-order-table .order-total td {
    background: #fffdf8 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: var(--coral-dark) !important;
}

/* Payment methods */
ul.wc_payment_methods,
ul.payment_methods {
    list-style: none !important;
    padding: 0 !important;
}
ul.wc_payment_methods li {
    background: #fffdf8 !important;
    border: 1px solid #f0ebe3 !important;
    border-radius: 14px !important;
    padding: 16px !important;
    margin-bottom: 10px !important;
    transition: all 0.2s;
}
ul.wc_payment_methods li:hover {
    border-color: #f0b89e !important;
}
ul.wc_payment_methods label {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: var(--text-primary) !important;
    cursor: pointer;
}
ul.wc_payment_methods .payment_box {
    background: #faf7f2 !important;
    border-radius: 10px !important;
    padding: 12px 16px !important;
    margin-top: 10px !important;
    border: none !important;
}

/* Checkout notices */
.woocommerce-NoticeGroup,
.woocommerce-info,
.woocommerce-message {
    background: var(--bg-soft-green) !important;
    border-radius: 14px !important;
    border: 1px solid var(--border-green, #d8e8da) !important;
    color: var(--sage-dark) !important;
    padding: 14px 20px !important;
    list-style: none !important;
}
.woocommerce-info::before,
.woocommerce-message::before {
    color: var(--sage) !important;
}

/* Login reminder on checkout */
.woocommerce-form-login-toggle .woocommerce-info {
    background: var(--bg-soft-pink) !important;
    border-color: #f5e0d8 !important;
    color: var(--coral-dark) !important;
}
.woocommerce-form-login-toggle .woocommerce-info::before {
    color: var(--coral-dark) !important;
}

/* Responsive */
@media (max-width: 768px) {
    .woocommerce-cart-form table.shop_table thead { display: none; }
    .woocommerce-cart-form table.shop_table tr { display: block; padding: 12px; border-bottom: 2px solid #f5f0e8; }
    .woocommerce-cart-form table.shop_table td { display: block; text-align: right !important; padding: 4px 0 !important; border: none !important; }
    .woocommerce-cart-form table.shop_table td::before {
        content: attr(data-title);
        float: left;
        font-weight: 600;
        font-size: 13px;
        color: var(--text-secondary);
    }
    .woocommerce-cart-form .product-thumbnail { display: none !important; }
    .woocommerce-cart-form .product-quantity .qty { width: 80px !important; }
}

/* ============================================================
   AUTH PAGES — 登录/注册 大容器柔暖设计
   ============================================================ */
.yy-auth-wrap {
    min-height: calc(100vh - 64px);
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    justify-content: center;
    padding: 32px 0;
    background: linear-gradient(160deg, #fff9f0 0%, #ffefea 50%, #fdf4ee 100%);
    position: relative;
}

/* 柔和装饰圆 */
.yy-auth-wrap::before {
    content: '';
    position: absolute;
    top: 60px; left: 8%;
    width: 280px; height: 280px;
    background: rgba(232, 168, 124, 0.10);
    border-radius: 50%;
    filter: blur(60px);
}
.yy-auth-wrap::after {
    content: '';
    position: absolute;
    bottom: 40px; right: 8%;
    width: 320px; height: 320px;
    background: rgba(122, 158, 126, 0.08);
    border-radius: 50%;
    filter: blur(70px);
}

.yy-auth-card {
    position: relative;
    z-index: 1;
    width: 90%;
    max-width: 90vw;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 32px;
    padding: 56px 8%;
    box-shadow: 0 12px 48px rgba(122, 110, 100, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.7);
}

/* 登录/注册页通知（错误/成功提示） */
.yy-auth-notices {
    position: relative;
    z-index: 1;
    width: 90%;
    max-width: 90vw;
}
.yy-auth-notices .woocommerce-message,
.yy-auth-notices .woocommerce-error,
.yy-auth-notices .woocommerce-info {
    margin: 0;
    border-radius: 14px;
    font-size: 14px;
}
.yy-auth-notices .woocommerce-error {
    background: #fdf1ef;
    border-top-color: #d4895f;
    color: #a33d2b;
}
.yy-auth-notices .woocommerce-error::before { color: #d4895f; }
.yy-auth-notices .woocommerce-message {
    background: #f1f8f1;
    border-top-color: #7a9e7e;
    color: #3b6d11;
}
.yy-auth-notices .woocommerce-message::before { color: #7a9e7e; }

.yy-auth-header {
    text-align: center;
    margin-bottom: 36px;
}
.yy-auth-emoji {
    font-size: 52px;
    margin-bottom: 14px;
    display: inline-block;
    animation: yy-float 3s ease-in-out infinite;
}
@keyframes yy-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}
.yy-auth-header h1 {
    font-size: 30px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}
.yy-auth-header p {
    font-size: 16px;
    color: var(--text-muted);
}

.yy-auth-form { margin: 0; }

.yy-field-group {
    margin-bottom: 22px;
    position: relative;
}
.yy-field-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
    padding-left: 4px;
}
.yy-field-hint {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 6px;
    line-height: 1.4;
    padding-left: 4px;
}

/* 输入框 — 更圆润柔和 */
.yy-input {
    width: 100%;
    height: 56px;
    padding: 0 22px;
    border: 2px solid #ecdfd1;
    border-radius: 18px;
    font-size: 16px;
    color: var(--text-primary);
    background: #fdf9f4;
    transition: all 0.3s var(--ease-soft);
    font-family: inherit;
    box-sizing: border-box;
}
.yy-input::placeholder {
    color: #cbbfae;
}
.yy-input:hover {
    border-color: #e0cdb8;
    background: #fffdf9;
}
.yy-input:focus {
    border-color: #f0b89e;
    background: #ffffff;
    box-shadow: 0 0 0 5px rgba(240, 184, 158, 0.14), 0 2px 8px rgba(240, 184, 158, 0.08);
}

/* Password field with toggle */
.yy-password-wrap {
    position: relative;
    display: block;
}
.yy-password-wrap .yy-input {
    padding-right: 56px;
}
.yy-toggle-pwd {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 20px;
    user-select: none;
    opacity: 0.5;
    transition: opacity 0.2s, transform 0.2s;
}
.yy-toggle-pwd:hover { opacity: 1; transform: translateY(-50%) scale(1.1); }

/* Divider */
.yy-auth-divider {
    text-align: center;
    margin: 28px 0 24px;
    position: relative;
    color: var(--text-muted);
    font-size: 13px;
}
.yy-auth-divider::before {
    content: '';
    position: absolute;
    top: 50%; left: 0; right: 0;
    height: 1px;
    background: var(--border-light);
}
.yy-auth-divider span {
    position: relative;
    background: transparent;
    padding: 0 16px;
}

/* Privacy hint */
.yy-auth-privacy {
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    margin: 18px 0 28px;
    padding: 14px;
    background: var(--bg-soft-green);
    border-radius: 14px;
}

/* Options row */
.yy-auth-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
    font-size: 14.5px;
    padding: 0 4px;
}
.yy-remember {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: var(--text-secondary);
}
.yy-remember input[type="checkbox"] {
    width: 20px; height: 20px;
    accent-color: var(--sage);
    cursor: pointer;
    border-radius: 6px;
}
.yy-forgot {
    color: var(--text-muted);
    font-size: 14px;
    transition: var(--transition);
}
.yy-forgot:hover { color: var(--coral-dark); }

/* 提交按钮 — 胶囊形更柔和 */
.yy-auth-submit { margin: 0; padding: 0 4px; }
.yy-auth-btn {
    width: 100%;
    height: 58px;
    border: none;
    border-radius: 50px;
    background: linear-gradient(135deg, #f8b4a2 0%, #e89a7c 50%, #e08a6a 100%);
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s var(--ease-soft);
    letter-spacing: 0.02em;
    box-shadow: 0 6px 20px rgba(232, 154, 124, 0.30);
    position: relative;
    overflow: hidden;
}
.yy-auth-btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}
.yy-auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(232, 154, 124, 0.40);
    background: linear-gradient(135deg, #f0a088 0%, #e08a6a 50%, #d67a5a 100%);
}
.yy-auth-btn:hover::before { left: 100%; }
.yy-auth-btn:active {
    transform: scale(0.97);
}

/* Switch link */
.yy-auth-switch {
    text-align: center;
    margin-top: 28px;
    font-size: 15px;
    color: var(--text-muted);
}
.yy-auth-switch a {
    color: var(--coral-dark);
    font-weight: 600;
    transition: var(--transition);
    margin-left: 2px;
}
.yy-auth-switch a:hover {
    color: var(--sage-dark);
}

/* WooCommerce error/message on auth page */
.woocommerce-error,
.woocommerce-message {
    background: var(--bg-soft-pink) !important;
    border-radius: 14px !important;
    border: 1px solid #f5e0d8 !important;
    color: var(--coral-dark) !important;
    padding: 14px 20px !important;
    margin-bottom: 20px !important;
    font-size: 14px !important;
    list-style: none !important;
}
.woocommerce-error li,
.woocommerce-message li { list-style: none !important; }

/* Logged-in account page */
.woocommerce-MyAccount-navigation ul {
    list-style: none; padding: 0; margin: 0 0 24px;
    display: flex; gap: 8px; flex-wrap: wrap;
}
.woocommerce-MyAccount-navigation ul li a {
    display: inline-block; padding: 8px 18px;
    border-radius: 50px; background: var(--bg-soft);
    color: var(--text-secondary); font-size: 14px; font-weight: 500;
    transition: var(--transition); text-decoration: none;
}
.woocommerce-MyAccount-navigation ul li.is-active a {
    background: var(--sage); color: #fff;
}
.woocommerce-MyAccount-navigation ul li a:hover {
    background: var(--coral); color: #fff;
}
.woocommerce-MyAccount-content { padding: 0; font-size: 14.5px; }

@media (max-width: 768px) {
    .yy-auth-card { padding: 40px 24px; }
    .yy-auth-header h1 { font-size: 24px; }
    .yy-auth-header p { font-size: 14.5px; }
    .yy-input { height: 52px; font-size: 15px; border-radius: 16px; }
    .yy-auth-btn { height: 54px; font-size: 16px; }
}
@media (max-width: 480px) {
    .yy-auth-wrap { padding: 16px 0; }
    .yy-auth-card { width: 92%; padding: 32px 20px; border-radius: 24px; }
    .yy-auth-header h1 { font-size: 22px; }
    .yy-auth-header .yy-auth-emoji { font-size: 42px; }
}
