@charset "UTF-8";
/* ==========================================================================
   YeShe Theme — Core
   Visual language: Simplehuman-style editorial commerce
   Display font: Dinamic   |   Body font: Lato
   ========================================================================== */

/* ---------- 1. Web fonts ---------- */
@font-face {
    font-family: 'Dinamic';
    src: url('../font/SHDinamic-BoldText.woff2') format('woff2'),
         url('../font/SHDinamic-BoldText.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Dinamic';
    src: url('../font/SHDinamic-MediumText.woff2') format('woff2'),
         url('../font/SHDinamic-MediumText.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Dinamic';
    src: url('../font/SHDinamic-RegularText.woff2') format('woff2'),
         url('../font/SHDinamic-RegularText.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Dinamic';
    src: url('../font/SHDinamic-ThinText.woff2') format('woff2'),
         url('../font/SHDinamic-ThinText.woff') format('woff');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Lato';
    src: url('../font/lato_n4.c3b93d431f0091c8be23185e15c9d1fee1e971c5.woff2') format('woff2'),
         url('../font/lato_n4.d5c00c781efb195594fd2fd4ad04f7882949e327.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Lato';
    src: url('../font/lato_n5.b2fec044fbe05725e71d90882e5f3b21dae2efbd.woff2') format('woff2'),
         url('../font/lato_n5.f25a9a5c73ff9372e69074488f99e8ac702b5447.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Lato';
    src: url('../font/lato_n7.900f219bc7337bc57a7a2151983f0a4a4d9d5dcf.woff2') format('woff2'),
         url('../font/lato_n7.a55c60751adcc35be7c4f8a0313f9698598612ee.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Lato';
    src: url('../font/lato_i4.09c847adc47c2fefc3368f2e241a3712168bc4b6.woff2') format('woff2'),
         url('../font/lato_i4.3c7d9eb6c1b0a2bf62d892c3ee4582b016d0f30c.woff') format('woff');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

/* ---------- 2. Design tokens ---------- */
:root {
    /* type */
    --ys-font-display: 'Dinamic', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --ys-font-body: 'Lato', 'Helvetica Neue', Helvetica, Arial, sans-serif;

    /* ink */
    --ys-ink: #0a0a0a;
    --ys-ink-soft: #1a1a1a;
    --ys-body: #4a4a4a;
    --ys-muted: #757575;
    --ys-faint: #979797;

    /* surfaces */
    --ys-white: #ffffff;
    --ys-surface: #f6f6f8;
    --ys-surface-alt: #f5f5f7;
    --ys-line: #e5e5e5;
    --ys-line-strong: #cacaca;

    /* accents */
    --ys-accent: #0a0a0a;
    --ys-accent-hover: #333333;
    --ys-sale: #b3261e;
    --ys-success: #1f7a3f;
    --ys-warning: #a35a00;

    /* structure */
    --ys-max: 1440px;
    --ys-gutter: 40px;
    --ys-header-h: 69px;              /* 栏目/头部高度，按要求对齐参考（桌面） */
    --ys-bar-h: 38px;                 /* simplehuman announcement bar height */
    --ys-radius: 2px;
    --ys-radius-lg: 4px;

    /* motion */
    --ys-ease: cubic-bezier(.22, .61, .36, 1);
    --ys-dur: .28s;

    /* elevation */
    --ys-shadow-sm: 0 1px 3px rgba(0, 0, 0, .06);
    --ys-shadow-md: 0 6px 24px rgba(0, 0, 0, .10);
    --ys-shadow-lg: 0 18px 48px rgba(0, 0, 0, .16);
}

/* ---------- 3. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--ys-white);
    color: var(--ys-ink);
    font-family: var(--ys-font-body);
    font-size: 15px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* clip（非 hidden）不新建滚动容器，杜绝 100vw 的全宽元素把页面撑出横向滚动条 */
    overflow-x: clip;
}
body.ys-nav-open { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-family: var(--ys-font-display);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -.015em;
    color: var(--ys-ink);
}
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
input, select, textarea { font: inherit; color: inherit; }
table { width: 100%; border-collapse: collapse; }
:focus-visible { outline: 2px solid var(--ys-ink); outline-offset: 2px; }
.sr-only, .visually-hidden {
    position: absolute !important; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
    position: absolute; top: -100px; left: 12px; z-index: 999;
    background: var(--ys-ink); color: #fff; padding: 10px 18px; font-size: 13px;
}
.skip-link:focus { top: 12px; }

/* ---------- 4. Layout helpers ---------- */
.ys-container {
    width: 100%;
    max-width: var(--ys-max);
    margin: 0 auto;
    padding: 0 var(--ys-gutter);
}
.ys-container--narrow { max-width: 900px; }
.ys-section { padding: 72px 0; }
.ys-section--tight { padding: 48px 0; }
.ys-section--surface { background: var(--ys-surface); }

/* ---------- 5. Typography ---------- */
.ys-eyebrow {
    font-family: var(--ys-font-body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--ys-muted);
    margin: 0 0 14px;
}
.ys-eyebrow--light { color: rgba(255, 255, 255, .72); }
.ys-display {
    font-family: var(--ys-font-display);
    font-size: clamp(30px, 4.2vw, 52px);
    font-weight: 700;
    letter-spacing: -.03em;
    line-height: 1.06;
}
.ys-title {
    font-family: var(--ys-font-display);
    font-size: clamp(24px, 3vw, 38px);
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.1;
}
.ys-subtitle {
    font-family: var(--ys-font-body);
    font-size: 16px;
    color: var(--ys-body);
    line-height: 1.7;
    max-width: 640px;
}
.ys-lead { font-size: 17px; color: var(--ys-body); }
.ys-text-muted { color: var(--ys-muted); }
.ys-center { text-align: center; }
.ys-center .ys-subtitle { margin-left: auto; margin-right: auto; }

/* ---------- 6. Buttons ---------- */
.ys-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 28px;
    border: 1px solid var(--ys-ink);
    border-radius: var(--ys-radius);
    background: var(--ys-ink);
    color: #fff;
    font-family: var(--ys-font-body);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background var(--ys-dur) var(--ys-ease),
                color var(--ys-dur) var(--ys-ease),
                border-color var(--ys-dur) var(--ys-ease);
}
.ys-btn:hover { background: var(--ys-accent-hover); border-color: var(--ys-accent-hover); }
.ys-btn--ghost { background: transparent; color: var(--ys-ink); }
.ys-btn--ghost:hover { background: var(--ys-ink); color: #fff; }
.ys-btn--light { background: #fff; color: var(--ys-ink); border-color: #fff; }
.ys-btn--light:hover { background: rgba(255, 255, 255, .84); border-color: rgba(255, 255, 255, .84); color: var(--ys-ink); }
.ys-btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.ys-btn--outline-light:hover { background: #fff; color: var(--ys-ink); border-color: #fff; }
.ys-btn--sm { min-height: 38px; padding: 0 18px; font-size: 12px; }
.ys-btn--lg { min-height: 54px; padding: 0 40px; font-size: 14px; }
.ys-btn--block { width: 100%; }
.ys-btn[disabled], .ys-btn.is-disabled { opacity: .45; pointer-events: none; }

.ys-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    border-bottom: 1px solid currentColor;
    padding-bottom: 2px;
    transition: opacity var(--ys-dur) var(--ys-ease);
}
.ys-link:hover { opacity: .6; }
.ys-link svg { width: 12px; height: 12px; }

/* ---------- 7. Forms ---------- */
.ys-field { margin-bottom: 18px; }
.ys-label {
    display: block;
    margin-bottom: 7px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--ys-ink);
}
.ys-label .req { color: var(--ys-sale); margin-left: 2px; }
.ys-input,
.ys-select,
.ys-textarea {
    width: 100%;
    min-height: 46px;
    padding: 12px 14px;
    border: 1px solid var(--ys-line-strong);
    border-radius: var(--ys-radius);
    background: #fff;
    font-size: 15px;
    color: var(--ys-ink);
    transition: border-color var(--ys-dur) var(--ys-ease), box-shadow var(--ys-dur) var(--ys-ease);
}
.ys-textarea { min-height: 130px; resize: vertical; }
.ys-input:focus,
.ys-select:focus,
.ys-textarea:focus {
    outline: none;
    border-color: var(--ys-ink);
    box-shadow: 0 0 0 1px var(--ys-ink);
}
.ys-input::placeholder, .ys-textarea::placeholder { color: var(--ys-faint); }
.ys-select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%230a0a0a' d='M1.41 0L6 4.59 10.59 0 12 1.41 6 7.41 0 1.41z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 38px;
}
.ys-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ys-check {
    display: flex; align-items: flex-start; gap: 9px;
    font-size: 13px; color: var(--ys-body); cursor: pointer;
}
.ys-check input { margin: 3px 0 0; accent-color: var(--ys-ink); }

.ys-alert {
    padding: 13px 16px;
    margin-bottom: 20px;
    border-radius: var(--ys-radius);
    font-size: 14px;
    border: 1px solid transparent;
}
.ys-alert--error { background: #fdecea; border-color: #f5c6c2; color: #8c1d18; }
.ys-alert--success { background: #e8f5ec; border-color: #bfe3cb; color: #14612f; }
.ys-alert--info { background: var(--ys-surface); border-color: var(--ys-line); color: var(--ys-body); }

/* ==========================================================================
   8. Announcement bar
   ========================================================================== */
.ys-bar {
    background: #6c5ce7;            /* simplehuman indigo bar */
    color: #fff;
    font-size: 12px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: .14px;
}
.ys-bar__inner {
    min-height: var(--ys-bar-h);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
}
.ys-bar__inner a { border-bottom: 1px solid rgba(255, 255, 255, .5); }
.ys-bar__inner a:hover { border-color: #fff; }

/* ==========================================================================
   9. Header
   ========================================================================== */
.ys-header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: rgba(0, 0, 0, .88);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.ys-header__inner {
    height: var(--ys-header-h);
    display: flex;
    align-items: center;
    gap: 32px;
}
.ys-logo {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    color: #fff;
}
.ys-logo svg { height: 24px; width: auto; }
.ys-logo img { height: 30px; width: auto; object-fit: contain; }
.ys-logo__fallback {
    font-family: var(--ys-font-display);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1;
}

/* desktop nav — centered between logo and icons (matches simplehuman spacing) */
.ys-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1 1 auto;
    justify-content: center;
}
.ys-nav__item { position: relative; }
.ys-nav__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: var(--ys-header-h);
    padding: 0 14px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .02em;
    text-transform: none;
    color: rgba(255, 255, 255, .9);
    cursor: pointer;
    background: none;
    border: 0;
    transition: color var(--ys-dur) var(--ys-ease);
}
.ys-nav__item:hover .ys-nav__link,
.ys-nav__link.is-active { color: #fff; }
.ys-nav__link::after {
    content: '';
    position: absolute;
    left: 14px; right: 14px; bottom: 14px;
    height: 2px;
    background: #fff;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform var(--ys-dur) var(--ys-ease);
}
.ys-nav__item:hover .ys-nav__link::after,
.ys-nav__link.is-active::after { transform: scaleX(1); }

/* --- mega menu --- */
.ys-mega {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    background: #fff;
    color: var(--ys-ink);
    border-top: 1px solid var(--ys-line);
    box-shadow: var(--ys-shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .2s var(--ys-ease), transform .2s var(--ys-ease), visibility .2s;
}
.ys-nav__item:hover .ys-mega,
.ys-nav__item:focus-within .ys-mega {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.ys-mega__inner {
    max-width: var(--ys-max);
    margin: 0 auto;
    padding: 32px var(--ys-gutter) 36px;
}
.ys-mega__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--ys-line);
}
.ys-mega__title {
    font-family: var(--ys-font-display);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -.01em;
}
.ys-mega__grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
}
.ys-mcard {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px 12px 12px;
    border-radius: var(--ys-radius-lg);
    background: #fff;
    transition: background var(--ys-dur) var(--ys-ease);
}
.ys-mcard:hover { background: var(--ys-surface); }
.ys-mcard__text {
    font-size: 13px;
    font-weight: 700;
    color: var(--ys-ink);
    line-height: 1.3;
}
.ys-mcard__actions { display: flex; gap: 16px; font-size: 12px; color: var(--ys-body); }
.ys-mcard__actions a { text-decoration: underline; text-underline-offset: 3px; }
.ys-mcard__actions a:hover { color: var(--ys-ink); }
.ys-mcard__img {
    display: block;
    aspect-ratio: 1 / 1;
    background: var(--ys-surface-alt);
    border-radius: var(--ys-radius);
    overflow: hidden;
}
.ys-mcard__img img {
    width: 100%; height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: transform .4s var(--ys-ease);
}
.ys-mcard:hover .ys-mcard__img img { transform: scale(1.05); }
.ys-mcard--all {
    align-items: flex-start;
    justify-content: space-between;
    background: var(--ys-surface);
}
.ys-mcard--all:hover { background: var(--ys-ink); color: #fff; }
.ys-mcard--all:hover .ys-mcard__text { color: #fff; }
.ys-mcard--all svg { width: 13px; height: 13px; margin-top: 6px; }

/* ---------- Compact mega menu: first 5 product categories ---------- */
.ys-mega--compact .ys-mega__inner {
    padding-top: 28px;
    padding-bottom: 32px;
}
.ys-mega__grid--3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 220px));
    justify-content: center;
    gap: 28px;
}
.ys-mcard--center {
    align-items: center;
    text-align: center;
    gap: 14px;
    padding: 16px 14px 14px;
}
.ys-mcard--center .ys-mcard__img {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: var(--ys-surface-alt);
    border-radius: var(--ys-radius);
}
.ys-mcard--center .ys-mcard__text {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .02em;
    text-transform: none;
}

/* --- header icons --- */
.ys-actions { display: flex; align-items: center; gap: 6px; flex: 0 0 auto; }
.ys-iconbtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border: 0;
    background: transparent;
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    transition: background var(--ys-dur) var(--ys-ease);
}
.ys-iconbtn:hover { background: rgba(255, 255, 255, .14); }
.ys-iconbtn svg { width: 21px; height: 21px; }
.ys-cart__count {
    position: absolute;
    top: 2px; right: 0;
    min-width: 17px; height: 17px;
    padding: 0 4px;
    border-radius: 9px;
    background: #fff;
    color: var(--ys-ink);
    font-size: 10px;
    font-weight: 700;
    line-height: 17px;
    text-align: center;
}
.ys-avatar {
    width: 26px; height: 26px;
    border-radius: 50%;
    object-fit: cover;
}
.ys-actions__login {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    padding: 0 8px;
}
.ys-burger {
    display: none;
    width: 40px; height: 40px;
    border: 0; background: transparent;
    cursor: pointer;
    padding: 10px 8px;
}
.ys-burger span {
    display: block; height: 2px;
    background: #fff; margin: 4px 0;
    transition: transform .25s var(--ys-ease), opacity .2s;
}

/* --- search drawer --- */
.ys-searchbar {
    display: none;
    background: #fff;
    border-bottom: 1px solid var(--ys-line);
}
.ys-searchbar.is-open { display: block; }
.ys-searchbar__form { display: flex; align-items: center; gap: 12px; padding: 18px 0; }
.ys-searchbar__input {
    flex: 1;
    border: 0;
    border-bottom: 1px solid var(--ys-line-strong);
    padding: 10px 2px;
    font-size: 16px;
    background: transparent;
    color: var(--ys-ink);
}
.ys-searchbar__input::placeholder { color: var(--ys-muted); opacity: 1; }
.ys-searchbar__input:focus { outline: none; border-color: var(--ys-ink); }
.ys-searchbar__close {
    border: 0; background: transparent; cursor: pointer;
    font-size: 26px; line-height: 1; color: var(--ys-muted);
    padding: 0 4px;
}
.ys-searchbar__close:hover { color: var(--ys-ink); }

/* --- mobile drawer --- */
.ys-drawer {
    position: fixed;
    inset: 0 auto 0 0;
    width: min(86vw, 380px);
    background: #fff;
    z-index: 400;
    transform: translateX(-100%);
    transition: transform .32s var(--ys-ease);
    overflow-y: auto;
    box-shadow: var(--ys-shadow-lg);
}
.ys-drawer.is-open { transform: translateX(0); }
.ys-drawer__head {
    display: flex; align-items: center; justify-content: space-between;
    height: 56px; padding: 0 20px;
    background: var(--ys-ink); color: #fff;
}
.ys-drawer__head .ys-logo__fallback { font-size: 22px; }
.ys-drawer__close {
    border: 0; background: transparent; color: #fff;
    font-size: 26px; line-height: 1; cursor: pointer; padding: 0 4px;
}
.ys-drawer__body { padding: 12px 0 40px; }
.ys-drawer__link {
    display: flex; align-items: center; justify-content: space-between;
    padding: 15px 24px;
    font-size: 13px; font-weight: 700;
    letter-spacing: .02em; text-transform: none;
    border-bottom: 1px solid var(--ys-line);
    cursor: pointer; background: none; border-left: 0; border-right: 0; border-top: 0;
    width: 100%; text-align: left;
}
.ys-drawer__link.is-open { color: var(--ys-muted); }
.ys-drawer__sub { display: none; padding: 4px 0 10px; background: var(--ys-surface); }
.ys-drawer__sub.is-open { display: block; }
.ys-drawer__sub a {
    display: block;
    padding: 11px 24px 11px 36px;
    font-size: 14px;
    color: var(--ys-body);
}
.ys-drawer__sub a:hover { color: var(--ys-ink); background: #ebebef; }
.ys-drawer__foot { padding: 24px; display: grid; gap: 10px; }
.ys-overlay {
    position: fixed; inset: 0;
    background: rgba(0, 0, 0, .45);
    z-index: 390;
    opacity: 0; visibility: hidden;
    transition: opacity .3s var(--ys-ease), visibility .3s;
}
.ys-overlay.is-open { opacity: 1; visibility: visible; }

/* ==========================================================================
   10. Footer  (Clean Skin Club-style 4-col layout)
   ========================================================================== */
.ys-flash {
    position: relative;
    padding: 14px 0;
    font-size: 14px;
    border-bottom: 1px solid transparent;
}
.ys-flash--success { background: #e8f5ec; color: #14612f; border-color: #bfe3cb; }
.ys-flash--error   { background: #fdecea; color: #8c1d18; border-color: #f5c6c2; }
.ys-flash__close {
    position: absolute; top: 50%; right: 0; transform: translateY(-50%);
    width: 28px; height: 28px;
    border: 0; background: transparent;
    font-size: 22px; line-height: 1; cursor: pointer; color: inherit; opacity: .6;
}
.ys-flash__close:hover { opacity: 1; }
.ys-footer {
    background: #1d1d1f;            /* simplehuman footer charcoal rgb(29,29,31) */
    color: rgba(153, 153, 153, .85);
    padding: 56px 0 60px;
    margin-top: 0;
    font-size: 14px;
}
.ys-footer__grid {
    display: grid;
    grid-template-columns: 1.35fr repeat(3, auto);
    gap: 40px 40px;
    padding-bottom: 32px;
}
.ys-footer__col--shop .ys-footer__list { min-width: 150px; }
.ys-footer__col--news { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.ys-footer__h {
    font-family: var(--ys-font-body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 16px;
}
.ys-footer__h--lg {
    font-family: var(--ys-font-body);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -.01em;
    text-transform: none;
    margin: 0 0 4px;
    color: #fff;
}
.ys-footer__list { display: grid; gap: 11px; }
.ys-footer__list a {
    font-size: 15px;
    color: rgba(153, 153, 153, .9);
    transition: color var(--ys-dur) var(--ys-ease);
}
.ys-footer__list a:hover { color: #fff; }
.ys-footer__list a:hover { color: #fff; }

/* ---------- Newsletter form (white input + pink Sign-up) ---------- */
.ys-footer__news { display: flex; flex-direction: column; gap: 8px; max-width: 340px; width: 100%; }
.ys-footer__input {
    width: 100%;
    min-height: 44px;
    padding: 0 14px;
    border: 0;
    background: #fff;
    color: #003459;
    font-size: 14px;
    border-radius: 2px;
    transition: box-shadow var(--ys-dur) var(--ys-ease);
}
.ys-footer__input::placeholder { color: rgba(0, 0, 0, .5); }
.ys-footer__input:focus { outline: none; box-shadow: 0 0 0 2px rgba(255, 255, 255, .35); }
.ys-footer__submit {
    width: 100%;
    min-height: 44px;
    border: 0;
    background: #d42c5a;
    color: #fff;
    font-family: var(--ys-font-body);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: capitalize;
    cursor: pointer;
    border-radius: 2px;
    transition: background var(--ys-dur) var(--ys-ease), transform .15s var(--ys-ease);
}
.ys-footer__submit:hover { background: #b8244d; }
.ys-footer__submit:active { transform: translateY(1px); }

/* ---------- Socials (TikTok / Instagram / Facebook) — centered under Sign-up ---------- */
.ys-footer__social { display: flex; justify-content: center; gap: 20px; margin-top: 6px; }
.ys-footer__social a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 34px; height: 34px;
    color: #fff;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    transition: background var(--ys-dur) var(--ys-ease), opacity var(--ys-dur) var(--ys-ease), transform .15s var(--ys-ease);
}
.ys-footer__social a:hover { background: rgba(255, 255, 255, .18); transform: translateY(-2px); }
.ys-footer__social svg { width: 20px; height: 20px; }

.ys-footer__copy {
    font-size: 13px;
    color: rgba(153, 153, 153, .7);
    margin: 12px 0 0;
    letter-spacing: .02em;
}
@media (max-width: 1199px) {
    .ys-footer { padding-bottom: 40px; }
}
.ys-footer__friends {
    padding: 18px 0 0;
    border-top: 1px solid rgba(255, 255, 255, .14);
    margin-top: 26px;
    font-size: 14px;                      /* 与底部法律链接(14px)一致 */
    color: rgba(255, 255, 255, .6);
    display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center;
    justify-content: flex-start;          /* 左对齐，对齐头部 logo */
    text-align: left;
}
.ys-footer__friends b {
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .9);
    font-size: 12px;
}
.ys-footer__friends a { color: rgba(255, 255, 255, .8); }
.ys-footer__friends a:hover { color: #fff; }
.ys-footer__bottom {
    padding-top: 22px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px 28px;
}
.ys-footer__legal { display: flex; flex-wrap: wrap; gap: 6px 28px; }
.ys-footer__legal a {
    font-size: 14px;
    color: rgba(255, 255, 255, .82);
    transition: color var(--ys-dur) var(--ys-ease);
}
.ys-footer__legal a:hover { color: #fff; }

@media (max-width: 1024px) {
    .ys-footer__grid { grid-template-columns: 1.3fr repeat(3, 1fr); }
}
@media (max-width: 720px) {
    /* 手机端隐藏页脚三列链接（Shop / Help / About），仅保留品牌区 + 法务行 */
    .ys-footer__col--shop,
    .ys-footer__col--about,
    .ys-footer__grid > .ys-footer__col:not(.ys-footer__col--news):not(.ys-footer__col--shop):not(.ys-footer__col--about) { display: none; }
    .ys-footer__grid { grid-template-columns: 1fr; gap: 0; }
    .ys-footer__col--news { grid-column: 1 / -1; margin-bottom: 8px; }
}
@media (max-width: 480px) {
    .ys-footer__grid { grid-template-columns: 1fr; gap: 0; }
    .ys-footer__col--news { grid-column: 1 / -1; }
}

/* ==========================================================================
   11. Shared blocks: breadcrumb / pagination / product grid
   ========================================================================== */
.ys-crumbs {
    display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
    padding: 18px 0;
    font-size: 12px;
    color: var(--ys-muted);
}
.ys-crumbs a:hover { color: var(--ys-ink); text-decoration: underline; }
.ys-crumbs span.sep { color: var(--ys-line-strong); }
.ys-crumbs strong { color: var(--ys-ink); font-weight: 500; }

.ys-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px 20px;
}
.ys-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ys-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.ys-card { position: relative; display: flex; flex-direction: column; }
.ys-card__media {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    background: var(--ys-surface-alt);
    border-radius: var(--ys-radius);
    overflow: hidden;
    margin-bottom: 14px;
}
.ys-card__media img {
    width: 100%; height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: transform .5s var(--ys-ease);
}
.ys-card:hover .ys-card__media img { transform: scale(1.045); }
.ys-card__media--cover img { object-fit: cover; mix-blend-mode: normal; }
.ys-card__tag {
    position: absolute;
    top: 10px; left: 10px;
    padding: 4px 9px;
    background: var(--ys-ink);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    border-radius: var(--ys-radius);
}
.ys-card__tag--sale { background: var(--ys-sale); }
.ys-card__name {
    font-family: var(--ys-font-body);
    font-size: 14px;
    font-weight: 700;
    color: var(--ys-ink);
    line-height: 1.35;
    margin-bottom: 5px;
}
.ys-card:hover .ys-card__name { text-decoration: underline; }
.ys-card__meta { font-size: 12px; color: var(--ys-muted); margin-bottom: 8px; }
.ys-price { display: flex; align-items: baseline; gap: 9px; font-size: 14px; }
.ys-price__now { font-weight: 700; color: var(--ys-ink); }
.ys-price__was { color: var(--ys-faint); text-decoration: line-through; font-size: 13px; }
.ys-price__sale { color: var(--ys-sale); font-weight: 700; }
.ys-card__actions { display: flex; gap: 16px; margin-top: 10px; font-size: 12px; color: var(--ys-body); }
.ys-card__actions a { text-decoration: underline; text-underline-offset: 3px; }
.ys-card__actions a:hover { color: var(--ys-ink); }

.pagination { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 46px 0 0; }
.page-item {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 38px; height: 38px; padding: 0 11px;
    border: 1px solid var(--ys-line);
    border-radius: var(--ys-radius);
    font-size: 13px; color: var(--ys-body);
    transition: all var(--ys-dur) var(--ys-ease);
}
.page-item:hover { border-color: var(--ys-ink); color: var(--ys-ink); }
.page-item.active { background: var(--ys-ink); border-color: var(--ys-ink); color: #fff; font-weight: 700; }
.page-item.disabled { opacity: .4; pointer-events: none; }
.page-item.page-ellipsis { border-color: transparent; pointer-events: none; }

/* reveal on scroll */
.ys-reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ys-ease), transform .7s var(--ys-ease); }
.ys-reveal.is-in { opacity: 1; transform: none; }

/* ---------- 12. Responsive ---------- */
@media (max-width: 1200px) {
    :root { --ys-gutter: 28px; }
    .ys-mega__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .ys-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
    .ys-nav { display: none; }
    .ys-burger { display: block; }
    .ys-actions__login { display: none; }
    .ys-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
    :root { --ys-gutter: 20px; --ys-header-h: 56px; }
    .ys-section { padding: 52px 0; }
    .ys-grid, .ys-grid--3, .ys-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
    .ys-form-row { grid-template-columns: 1fr; }
    .ys-footer { padding: 48px 0 26px; }
    .ys-footer__bottom { flex-direction: column; align-items: center; }
}
@media (max-width: 520px) {
    .ys-grid, .ys-grid--3, .ys-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
    html { scroll-behavior: auto; }
    .ys-reveal { opacity: 1; transform: none; }
}
