@charset "UTF-8";
/* ==========================================================================
   YeShe — Generic pages (About, Contact, 404, simple page)
   ========================================================================== */

/* ---------- Page hero (about / contact) ---------- */
.ys-pagehero {
    position: relative;
    min-height: 380px;
    display: flex; align-items: flex-end;
    overflow: hidden;
    background: #141416;
    color: #fff;
}
.ys-pagehero--compact { min-height: 280px; }
.ys-pagehero__bg {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
}
.ys-pagehero__scrim {
    position: absolute; inset: 0;
    background: linear-gradient(110deg, rgba(0, 0, 0, .75) 0%, rgba(0, 0, 0, .5) 50%, rgba(0, 0, 0, .25) 80%);
}
.ys-pagehero__inner {
    position: relative;
    padding: 64px 0 56px;
    color: #fff;
    max-width: 760px;
}
.ys-pagehero__inner .ys-display {
    color: #fff;
    margin: 4px 0 18px;
    max-width: 18ch;
}
.ys-pagehero__lead {
    color: rgba(255, 255, 255, .82);
    font-size: 17px;
    line-height: 1.7;
    margin: 0;
    max-width: 58ch;
}

/* ---------- Section header (eyebrow + display) ---------- */
.ys-sechead {
    display: flex; align-items: flex-end; justify-content: space-between;
    gap: 24px; margin-bottom: 34px;
}
.ys-sechead.ys-center { display: block; text-align: center; }
.ys-sechead.ys-center .ys-title { margin-top: 4px; }
.ys-sechead .ys-title { margin-top: 2px; }
.ys-sechead .ys-subtitle { margin-top: 10px; }

/* ---------- Split (image + text alternating) ---------- */
.ys-split {
    display: grid; grid-template-columns: 1fr 1fr;
    align-items: center; gap: 0;
    background: var(--ys-surface);
}
.ys-split__media { position: relative; min-height: 460px; overflow: hidden; }
.ys-split__media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.ys-split__body { padding: clamp(36px, 6vw, 84px); }
.ys-split__body .ys-subtitle { margin: 14px 0 26px; }

/* ---------- What Drives Us (4 numbered values) ---------- */
.ys-values {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 26px;
}
.ys-value {
    background: #fff;
    padding: 28px 26px 30px;
    border: 1px solid var(--ys-line);
    border-radius: var(--ys-radius-lg);
    display: flex; flex-direction: column; gap: 12px;
    transition: transform .3s var(--ys-ease), box-shadow .3s var(--ys-ease);
}
.ys-value:hover { transform: translateY(-3px); box-shadow: var(--ys-shadow-md); }
.ys-value__num {
    font-family: var(--ys-font-display);
    font-size: 38px;
    font-weight: 700;
    letter-spacing: -.04em;
    color: var(--ys-ink);
    line-height: 1;
    margin-bottom: 6px;
}
.ys-value__title {
    font-family: var(--ys-font-display);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -.01em;
    color: var(--ys-ink);
}
.ys-value__copy { font-size: 14px; color: var(--ys-body); line-height: 1.65; margin: 0; }

/* ---------- Designed for a Better Planet (3 image+text panels) ---------- */
.ys-panel { display: flex; flex-direction: column; }
.ys-panel__media {
    display: block;
    aspect-ratio: 4 / 3;
    background: var(--ys-surface-alt);
    border-radius: var(--ys-radius-lg);
    overflow: hidden;
    margin-bottom: 18px;
}
.ys-panel__media img { width: 100%; height: 100%; object-fit: cover; }
.ys-panel__title {
    font-family: var(--ys-font-display);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -.01em;
    margin-bottom: 8px;
    color: var(--ys-ink);
}
.ys-panel__copy { font-size: 14px; color: var(--ys-body); line-height: 1.7; margin: 0; }

/* ---------- CTA actions (primary + ghost) ---------- */
.ys-cta-actions {
    display: inline-flex; flex-wrap: wrap; gap: 12px; justify-content: center;
    margin-top: 26px;
}

/* ==========================================================================
   Contact page — category strip, explore by space, contact form
   ========================================================================== */

/* Category strip (Open Top / Small Can / Wall Mount / Sensor Pump 9 / Cleanstation + Shop All) */
.ys-ctstrip { padding: 36px 0 8px; }
.ys-ctstrip__grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 22px;
}
.ys-ctstrip__cell {
    display: flex; flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--ys-ink);
    transition: transform .3s var(--ys-ease);
}
.ys-ctstrip__cell:hover { transform: translateY(-3px); }
.ys-ctstrip__cell:hover .ys-ctstrip__name { text-decoration: underline; text-underline-offset: 4px; }
.ys-ctstrip__media {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: var(--ys-surface-alt);
    border-radius: 4px;
    overflow: hidden;
}
.ys-ctstrip__media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 6%; }
.ys-ctstrip__name {
    font-size: 12px; font-weight: 500;
    letter-spacing: .02em;
    color: var(--ys-ink);
    text-align: center;
}
.ys-ctstrip__cell--all { justify-content: center; }
.ys-ctstrip__cell--all .ys-ctstrip__media {
    display: flex; align-items: center; justify-content: center;
    background: var(--ys-surface);
    border: 1px solid var(--ys-line);
}
.ys-ctstrip__plus {
    font-family: var(--ys-font-display);
    font-size: 38px; font-weight: 300;
    color: var(--ys-ink);
    line-height: 1;
}

/* Explore by space */
.ys-spaces {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}
.ys-spaces__cell {
    display: flex; align-items: center; gap: 16px;
    padding: 22px 26px;
    border: 1px solid var(--ys-line);
    border-radius: var(--ys-radius-lg);
    color: var(--ys-ink);
    text-decoration: none;
    transition: border-color var(--ys-dur) var(--ys-ease), background var(--ys-dur) var(--ys-ease);
}
.ys-spaces__cell:hover { border-color: var(--ys-ink); background: var(--ys-surface); }
.ys-spaces__icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px;
    border: 1px solid var(--ys-line-strong);
    border-radius: 50%;
    color: var(--ys-ink);
}
.ys-spaces__name {
    font-family: var(--ys-font-display);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -.01em;
}

/* Contact form (centered) */
.ys-contactform {
    max-width: 880px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Contact info cards */
.ys-cardrow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.ys-info-cell {
    text-align: center;
    gap: 10px;
}
.ys-info-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--ys-muted);
}
.ys-info-value {
    font-size: 15px;
    line-height: 1.55;
    color: var(--ys-ink);
    word-break: break-word;
}
@media (max-width: 768px) {
    .ys-cardrow { grid-template-columns: 1fr; }
}
.ys-contactform form > .ys-btn { margin-top: 4px; }
.ys-contactform__fineprint {
    font-size: 12px;
    color: var(--ys-muted);
    margin: 16px 0 0;
    line-height: 1.6;
}
.ys-contactform__fineprint a { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Article body (about etc.) ---------- */
.ys-article__body {
    font-size: 15.5px;
    line-height: 1.8;
    color: var(--ys-body);
}
.ys-article__body h2, .ys-article__body h3 { margin: 34px 0 12px; font-size: 20px; }
.ys-article__body h2:first-child, .ys-article__body h3:first-child { margin-top: 0; }
.ys-article__body p { margin: 0 0 16px; }
.ys-article__body ul, .ys-article__body ol { margin: 0 0 18px; padding-left: 22px; }
.ys-article__body ul { list-style: disc; }
.ys-article__body ol { list-style: decimal; }
.ys-article__body li { margin-bottom: 7px; }
.ys-article__body img { border-radius: var(--ys-radius); margin: 18px 0; }
.ys-article__body a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 404 ---------- */
.ys-404 { padding: 100px 0 120px; }
.ys-404 .ys-display { margin: 8px 0 18px; }
.ys-searchpage { display: flex; gap: 10px; max-width: 560px; margin: 20px auto 0; }
.ys-searchpage--center { max-width: 480px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .ys-ctstrip__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .ys-values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
    .ys-split { grid-template-columns: 1fr; }
    .ys-split__media { min-height: 280px; }
    .ys-split__media img { position: relative; }
    .ys-ctstrip__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .ys-spaces { grid-template-columns: 1fr; }
    .ys-searchpage { flex-direction: column; }
}
@media (max-width: 480px) {
.ys-ctstrip__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ys-values { grid-template-columns: 1fr; }
}

/* ---------- FAQ page ---------- */
.ys-faq { min-width: 0; }
.ys-faq__group { margin-bottom: 34px; }
.ys-faq__group:last-child { margin-bottom: 0; }
.ys-faq__item {
    border: 1px solid var(--ys-line, #e8e8ea);
    border-radius: 14px;
    background: #fff;
    margin-bottom: 10px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
}
.ys-faq__item > summary {
    list-style: none;
    cursor: pointer;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 16px 20px;
    font-weight: 700; font-size: 15px; color: var(--ys-ink, #0a0a0a); line-height: 1.4;
    transition: color var(--ys-dur, .2s) var(--ys-ease, ease);
}
.ys-faq__item > summary::-webkit-details-marker { display: none; }
.ys-faq__item > summary::after {
    content: '+';
    flex: 0 0 22px; height: 22px;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid var(--ys-line, #e8e8ea);
    border-radius: 50%;
    font-size: 16px; font-weight: 400; line-height: 1;
    color: var(--ys-muted, #888);
    transition: transform var(--ys-dur, .2s) var(--ys-ease, ease), color var(--ys-dur, .2s) ease, border-color var(--ys-dur, .2s) ease;
}
.ys-faq__item:hover { border-color: var(--ys-line-strong, #cfcfd3); }
.ys-faq__item[open] { border-color: var(--ys-line, #e8e8ea); }
.ys-faq__item[open] > summary { color: var(--ys-ink, #0a0a0a); }
.ys-faq__item[open] > summary::after {
    transform: rotate(180deg);
    content: '−';
    color: #fff;
    border-color: var(--ys-ink, #0a0a0a);
    background: var(--ys-ink, #0a0a0a);
}
.ys-faq__item > p {
    margin: 0;
    padding: 14px 20px 18px;
    border-top: 1px solid var(--ys-line, #e8e8ea);
    font-size: 14.5px; line-height: 1.7; color: var(--ys-body, #444);
}
.ys-faq__more {
    margin: 40px auto 0;
    max-width: 880px;
    padding: 22px 24px;
    text-align: center;
    background: var(--ys-surface, #f6f6f7);
    border: 1px dashed var(--ys-line, #e8e8ea);
    border-radius: 14px;
}
@media (max-width: 560px) {
    .ys-faq__item > summary { font-size: 14px; padding: 14px 16px; }
    .ys-faq__item > p { padding: 12px 16px 16px; }
}

/* ---------- Banner hero (adaptive: real <img>, viewport-proportional like yeshe.com) ---------- */
.ys-pagehero--banner {
    position: relative;
    overflow: hidden;
    background: #f4f4f5;
    /* 复刻 yeshe.com sub-banner：高度 = 37vw，全端等比；≥1920px 封顶 32.5rem */
    height: 37vw;
    max-height: 520px;
    width: 100%;
    /* 关键：覆盖基类 .ys-pagehero 的 min-height:380px，否则手机端容器被撑高出现大空白 */
    min-height: 0;
}
.ys-pagehero--banner .ys-pagehero__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
.ys-pagehero--banner .ys-pagehero__scrim {
    background: transparent;
}
@media (min-width: 1920px) {
    .ys-pagehero--banner { height: 32.5rem; }
}
@media (max-width: 560px) {
    /* 手机端：完整显示整张 1920×600 图 —— 等比缩放到全宽，不裁切任何内容 */
    .ys-pagehero--banner {
        height: auto;
        aspect-ratio: 1920 / 600;
    }
    .ys-pagehero--banner .ys-pagehero__img {
        object-fit: contain;
    }
}

/* ---------- Contact two-column (form left / info right) ---------- */
.ys-contact2col {
    display: grid;
    grid-template-columns: 1.7fr 1fr;
    gap: 40px 44px;
    align-items: start;
}

/* Editorial header for the form column */
.ys-contact2col__formhead { margin-bottom: 32px; }
.ys-contact2col__formtitle {
    margin: 12px 0 12px;
    font-family: var(--ys-font-display);
    font-size: clamp(25px, 2.5vw, 36px);
    font-weight: 700;
    letter-spacing: -.022em;
    line-height: 1.1;
    color: var(--ys-ink, #0a0a0a);
}
.ys-contact2col__formlead {
    margin: 0;
    max-width: 54ch;
    font-size: 15px;
    line-height: 1.68;
    color: var(--ys-body, #4a4a4a);
}

/* Info panel — inverted to ink so it contrasts with the white form and reads
   as a deliberate, luxurious block rather than a grey utility box. */
.ys-contact2col__info {
    background: #0a0a0a;
    color: #fff;
    border-radius: 20px;
    padding: 30px 28px 26px;
    border: 0;
}
.ys-contact2col__info > .ys-eyebrow {
    color: rgba(255, 255, 255, .5);
    letter-spacing: .2em;
    margin-bottom: 8px;
}
.ys-contact2col__info-card {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    padding: 19px 0;
    border-top: 1px solid rgba(255, 255, 255, .13);
    margin: 0;
}
.ys-contact2col__info-card:first-of-type { border-top: 0; padding-top: 0; }
.ys-contact2col__icon {
    flex: 0 0 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .07);
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid rgba(255, 255, 255, .18);
    color: #fff;
    box-shadow: none;
}
.ys-contact2col__info-text { padding-top: 3px; min-width: 0; }
.ys-contact2col__info-label {
    display: block;
    font-size: 10.5px; letter-spacing: .17em; text-transform: uppercase;
    color: rgba(255, 255, 255, .5);
    margin-bottom: 5px;
}
.ys-contact2col__info-value {
    display: block;
    font-size: 15px; font-weight: 600;
    line-height: 1.5;
    color: #fff;
}
.ys-contact2col__info-value .tz { color: rgba(255, 255, 255, .55); font-weight: 400; font-size: 13px; }
/* 可点击的电话 / 邮箱：观感与纯文本一致，悬停时下划线暗示可点 */
a.ys-contact2col__info-link {
    display: block;
    font-size: 15px; font-weight: 600;
    color: #fff;
    text-decoration: none;
    word-break: break-word;
    transition: opacity .2s var(--ys-ease, ease);
}
a.ys-contact2col__info-link:hover {
    opacity: .7;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.ys-contact2col__hours {
    padding-top: 19px;
    border-top: 1px solid rgba(255, 255, 255, .13);
    margin-top: 0;
}
.ys-contact2col__wholesale {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 22px;
    padding: 15px 18px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .14);
    color: #fff;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    transition: background .25s var(--ys-ease, ease), border-color .25s var(--ys-ease, ease);
}
.ys-contact2col__wholesale:hover {
    background: rgba(255, 255, 255, .12);
    border-color: rgba(255, 255, 255, .3);
}
.ys-contact2col__wholesale .arr { transition: transform .25s var(--ys-ease, ease); }
.ys-contact2col__wholesale:hover .arr { transform: translateX(4px); }

.ys-contact2col__reply {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 18px 0 0;
    font-size: 13.5px;
    color: var(--ys-body, #4a4a4a);
}
.ys-contact2col__reply svg { flex: 0 0 auto; color: var(--ys-success, #1f7a3f); }

/* ===== FAQ 编辑风双栏：左折叠问答 + 右吸顶商品栏（与文章详情页同一体系） ===== */
.ys-faq-layout { display: grid; grid-template-columns: minmax(0, 1fr); }
.ys-faq-layout.has-rail {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 56px;
    align-items: start;
}
.ys-faq__group { margin-bottom: 34px; }
.ys-faq__group:last-child { margin-bottom: 0; }
.ys-faq__group-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--ys-font-display, inherit);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ys-ink, #0a0a0a);
    margin: 0 0 14px;
}
.ys-faq__group-title::before {
    content: '';
    width: 26px; height: 1px;
    background: var(--ys-ink, #0a0a0a);
    opacity: .5;
}

/* 商品栏（与 news.css 的 ys-postrail 同款视觉） */
.ys-postrail {
    position: sticky;
    top: 116px;
    padding: 24px 22px 22px;
    background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
    border: 1px solid var(--ys-line, #e8e8ea);
    border-radius: 20px;
}
.ys-postrail__label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ys-ink, #0a0a0a);
}
.ys-postrail__label::before {
    content: '';
    width: 22px; height: 1px;
    background: var(--ys-ink, #0a0a0a);
    opacity: .5;
}
.ys-postrail__list { display: grid; gap: 8px; }
.ys-railcard {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 10px;
    border-radius: 14px;
    text-decoration: none;
    transition: background .2s var(--ys-ease, ease), box-shadow .2s var(--ys-ease, ease), transform .25s var(--ys-ease, ease);
}
.ys-railcard:hover { background: #fff; box-shadow: 0 10px 26px rgba(10, 10, 10, .08); transform: translateX(2px); }
.ys-railcard__media {
    display: block;
    width: 72px; height: 72px;
    border-radius: 12px;
    background: radial-gradient(110% 80% at 50% 25%, #fff 0%, var(--ys-surface-alt, #f4f4f5) 100%);
    overflow: hidden;
}
.ys-railcard__media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .4s var(--ys-ease, ease); }
.ys-railcard:hover .ys-railcard__media img { transform: scale(1.08); }
.ys-railcard__body { min-width: 0; display: grid; gap: 4px; }
.ys-railcard__name {
    font-size: 14px;
    font-weight: 700;
    color: var(--ys-ink, #0a0a0a);
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.ys-railcard:hover .ys-railcard__name { text-decoration: underline; text-underline-offset: 3px; }
.ys-railcard__price { display: flex; align-items: baseline; gap: 7px; font-size: 14px; }
.ys-railcard__price .ys-price__now { font-family: var(--ys-font-display, inherit); font-size: 16px; font-weight: 700; color: var(--ys-ink, #0a0a0a); }
.ys-railcard__price .ys-price__was { font-size: 12px; color: var(--ys-muted, #8a8a8e); }
.ys-railcard__arrow {
    color: var(--ys-muted, #8a8a8e);
    font-size: 17px;
    line-height: 1;
    transition: transform .25s var(--ys-ease, ease), color .25s var(--ys-ease, ease);
}
.ys-railcard:hover .ys-railcard__arrow { transform: translateX(4px); color: var(--ys-ink, #0a0a0a); }
.ys-postrail__all {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px dashed var(--ys-line, #e8e8ea);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--ys-muted, #8a8a8e);
    text-decoration: none;
    transition: color .2s var(--ys-ease, ease);
}
.ys-postrail__all span { transition: transform .25s var(--ys-ease, ease); }
.ys-postrail__all:hover { color: var(--ys-ink, #0a0a0a); }
.ys-postrail__all:hover span { transform: translateX(4px); }

@media (max-width: 1080px) {
    .ys-faq-layout.has-rail { grid-template-columns: minmax(0, 1fr) 280px; gap: 40px; }
    .ys-postrail { top: 100px; }
}
@media (max-width: 900px) {
    /* 右栏转为正文下方的横向卡片流（与文章详情页断点一致） */
    .ys-faq-layout.has-rail { grid-template-columns: 1fr; gap: 44px; }
    .ys-postrail { position: static; }
    .ys-postrail__list { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
    .ys-postrail__all { margin-top: 14px; }
}
@media (max-width: 960px) {
    /* 表单在前，联系资料整块收在后面（4 项 + 批发入口竖排，不再切 3 列） */
    .ys-contact2col { grid-template-columns: 1fr; gap: 34px; }
    .ys-contact2col__formhead { margin-bottom: 26px; }
    .ys-contact2col__info { padding: 26px 22px 22px; }
    .ys-contact2col__info-card { padding: 17px 0; }
    .ys-contact2col__info-card:first-of-type { padding-top: 0; }
    .ys-contact2col__hours { padding-top: 17px; }
}

/* 联系表单：输入框与 Submit 按钮统一圆角（近似右侧设计稿约 10px 弧度） */
.ys-contact2col__form .ys-input,
.ys-contact2col__form .ys-select,
.ys-contact2col__form .ys-textarea,
.ys-contact2col__form .ys-btn { border-radius: 10px; }

/* 联系表单：Submit 按钮铺满整行，与上方输入框等宽对齐 */
.ys-contact2col__form form > .ys-btn { width: 100%; }

/* ---------- About page — hot products grid ---------- */
.ys-hotgrid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 24px;
}

.ys-hotcard {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--ys-line);
    border-radius: 6px;
    overflow: hidden;
    transition: transform .35s var(--ys-ease),
                box-shadow .35s var(--ys-ease),
                border-color .35s var(--ys-ease);
}
.ys-hotcard:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 36px rgba(10, 10, 10, .08);
    border-color: var(--ys-line-strong);
}

.ys-hotcard__media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    background: var(--ys-surface-alt);
    overflow: hidden;
}
.ys-hotcard__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
    padding: 16%;
    transition: transform .5s var(--ys-ease);
}
.ys-hotcard:hover .ys-hotcard__media img { transform: scale(1.06); }

.ys-hotcard__tag {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 5px 11px;
    background: var(--ys-ink);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    border-radius: 2px;
    z-index: 2;
}
.ys-hotcard__tag--sale { background: var(--ys-sale); }

.ys-hotcard__body {
    padding: 22px 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.ys-hotcard__name {
    font-family: var(--ys-font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--ys-ink);
    line-height: 1.25;
    text-decoration: none;
    transition: opacity .2s var(--ys-ease);
}
.ys-hotcard__name:hover { opacity: .7; }

.ys-hotcard__sub {
    margin: 0;
    font-size: 13px;
    color: var(--ys-muted);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ys-hotcard__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--ys-line);
}

.ys-hotcard__price { display: flex; align-items: baseline; gap: 8px; }
.ys-hotcard__price .now {
    font-family: var(--ys-font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--ys-ink);
}
.ys-hotcard__price .was {
    font-size: 13px;
    color: var(--ys-faint);
    text-decoration: line-through;
}

.ys-hotcard__shop {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ys-ink);
    text-decoration: none;
    transition: gap .25s var(--ys-ease), opacity .2s var(--ys-ease);
}
.ys-hotcard__shop svg { width: 16px; height: 16px; }
.ys-hotcard__shop:hover { gap: 10px; opacity: .7; }

@media (max-width: 1024px) {
    .ys-hotgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 18px; }
    .ys-hotcard__body { padding: 18px 18px 20px; }
    .ys-hotcard__name { font-size: 16px; }
    .ys-hotcard__price .now { font-size: 18px; }
}
@media (max-width: 520px) {
    .ys-hotgrid { grid-template-columns: 1fr; gap: 20px; }
}
