/* ============================================================
   YHS Wholesale Page — Front-end Styles
   ============================================================ */

/* ── 整体容器 ── */
.yhs-ws-intro {
    margin: 0 0 40px;
}

/* ============================================================
   价值主张三列（Features）
   ============================================================ */
.yhs-ws-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.yhs-ws-feature {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 28px 24px 24px;
    border-radius: 14px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.09);
    transition: background .18s, border-color .18s, transform .18s;
}
html:not(.dark-mode) .yhs-ws-feature {
    background: #f9fafb;
    border-color: #e5e7eb;
}
.yhs-ws-feature:hover {
    background: rgba(255,255,255,.07);
    border-color: rgba(255,255,255,.16);
    transform: translateY(-2px);
}
html:not(.dark-mode) .yhs-ws-feature:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
    transform: translateY(-2px);
}

/* 图标圆角方块 */
.yhs-ws-feature__icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}
.yhs-ws-feature__icon svg {
    width: 24px;
    height: 24px;
}
.yhs-ws-icon--shield  { background: rgba(245,81,58,.18);  color: #F5513A; }
.yhs-ws-icon--tag     { background: rgba(72,187,120,.18); color: #48bb78; }
.yhs-ws-icon--support { background: rgba(99,179,237,.18); color: #63b3ed; }

.yhs-ws-feature__title {
    margin: 0 0 10px;
    font-size: 15px;
    font-weight: 700;
    color: rgba(255,255,255,.92);
    line-height: 1.4;
}
html:not(.dark-mode) .yhs-ws-feature__title { color: #111827; }

.yhs-ws-feature__text {
    margin: 0;
    font-size: 13px;
    line-height: 1.7;
    color: rgba(255,255,255,.48);
}
html:not(.dark-mode) .yhs-ws-feature__text { color: #6b7280; }

/* ============================================================
   Wholesale Ordering Information
   ============================================================ */
.yhs-ws-ordering {
    padding: 24px 28px;
    border-radius: 12px;
    background: rgba(245,81,58,.06);
    border: 1px solid rgba(245,81,58,.2);
    margin-bottom: 36px;
}
html:not(.dark-mode) .yhs-ws-ordering {
    background: #fff9f8;
    border-color: rgba(245,81,58,.25);
}

.yhs-ws-ordering__title {
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: 800;
    color: rgba(255,255,255,.92);
    letter-spacing: .1px;
}
html:not(.dark-mode) .yhs-ws-ordering__title { color: #111827; }

.yhs-ws-ordering__intro {
    margin: 0 0 14px;
    font-size: 13.5px;
    line-height: 1.65;
    color: rgba(255,255,255,.55);
}
html:not(.dark-mode) .yhs-ws-ordering__intro { color: #4b5563; }

.yhs-ws-ordering__list {
    margin: 0 0 14px;
    padding-left: 20px;
}
.yhs-ws-ordering__list li {
    font-size: 13.5px;
    line-height: 1.65;
    color: rgba(255,255,255,.55);
    margin-bottom: 6px;
}
html:not(.dark-mode) .yhs-ws-ordering__list li { color: #4b5563; }
.yhs-ws-ordering__list li strong {
    color: rgba(255,255,255,.85);
    font-weight: 700;
}
html:not(.dark-mode) .yhs-ws-ordering__list li strong { color: #111827; }

.yhs-ws-ordering__contact {
    margin: 0;
    font-size: 13px;
    color: rgba(255,255,255,.45);
}
html:not(.dark-mode) .yhs-ws-ordering__contact { color: #6b7280; }
.yhs-ws-ordering__contact a {
    color: #F5513A;
    text-decoration: none;
    font-weight: 600;
}
.yhs-ws-ordering__contact a:hover { text-decoration: underline; }

/* ============================================================
   批发注册表单扩展字段
   ============================================================ */
.yhs-ws-fields {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,.08);
}
html:not(.dark-mode) .yhs-ws-fields { border-top-color: #e5e7eb; }

.yhs-ws-field-row {
    display: grid;
    gap: 14px;
    margin-bottom: 14px;
}
.yhs-ws-field-row--2col {
    grid-template-columns: 1fr 1fr;
}
@media (max-width: 599px) {
    .yhs-ws-field-row--2col { grid-template-columns: 1fr; }
}

.yhs-ws-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.yhs-ws-field label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .4px;
    color: rgba(255,255,255,.55);
}
html:not(.dark-mode) .yhs-ws-field label { color: #6b7280; }

.yhs-ws-field label .required { color: #F5513A; margin-left: 2px; }
.yhs-ws-field label .optional { font-weight: 400; color: rgba(255,255,255,.3); text-transform: none; }
html:not(.dark-mode) .yhs-ws-field label .optional { color: #9ca3af; }

.yhs-ws-field input[type="text"],
.yhs-ws-field input[type="email"],
.yhs-ws-field input[type="tel"],
.yhs-ws-field input[type="url"],
.yhs-ws-field select {
    width: 100%;
    padding: 10px 13px;
    background: rgba(255,255,255,.06);
    border: 1.5px solid rgba(255,255,255,.12);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    color: #f0f0f0;
    box-sizing: border-box;
    outline: none;
    transition: border-color .18s, background .18s;
    appearance: none;
    -webkit-appearance: none;
}
html:not(.dark-mode) .yhs-ws-field input[type="text"],
html:not(.dark-mode) .yhs-ws-field input[type="email"],
html:not(.dark-mode) .yhs-ws-field input[type="tel"],
html:not(.dark-mode) .yhs-ws-field input[type="url"],
html:not(.dark-mode) .yhs-ws-field select {
    background: #f9fafb;
    border-color: #d1d5db;
    color: #111827;
}

.yhs-ws-field input:focus,
.yhs-ws-field select:focus {
    border-color: #F5513A;
    background: rgba(255,255,255,.1);
    box-shadow: 0 0 0 3px rgba(245,81,58,.15);
}
html:not(.dark-mode) .yhs-ws-field input:focus,
html:not(.dark-mode) .yhs-ws-field select:focus {
    background: #fff;
    box-shadow: 0 0 0 3px rgba(245,81,58,.12);
}

/* select 下拉箭头 */
.yhs-ws-field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

/* option 深色背景 — 防止白底白字问题 */
.yhs-ws-field select option {
    background-color: #1c1c21;
    color: #f0f0f0;
}
html:not(.dark-mode) .yhs-ws-field select option {
    background-color: #ffffff;
    color: #111827;
}

