/*
 * mshop-consult / hyetaek-split — 혜택의 차이 시안 E #consult
 * 강조색은 --hy-cs-accent (블록 accent_color 설정 시 인라인으로 덮어씀) → 프레임 --hy-accent → #C4001A.
 */
.hy-cs {
    --hy-cs-accent: var(--hy-accent, #C4001A);
    --hy-cs-ink: var(--foreground, #111111);
    --hy-cs-sub: var(--muted-foreground, #555555);
    --hy-cs-faint: #767676;
    --hy-cs-line: var(--border, #E5E5E5);
    --hy-cs-soft: var(--muted, #F4F4F4);
    min-width: 0;
    color: var(--hy-cs-ink);
}
.hy-cs *, .hy-cs *::before, .hy-cs *::after { box-sizing: border-box; }
.hy-cs [hidden] { display: none !important; }

.hy-cs__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 20px 40px;
    align-items: center;
}

/* ── 왼쪽 문구 ── */
.hy-cs__copy { min-width: 0; }
.hy-cs__eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--hy-cs-accent);
}
.hy-cs__headline {
    margin: 8px 0 0;
    font-size: clamp(26px, 3.2vw, 40px);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.2;
    color: var(--hy-cs-ink);
    word-break: keep-all;
    overflow-wrap: anywhere;
}
.hy-cs__hl { color: var(--hy-cs-accent); }
.hy-cs__desc {
    margin: 12px 0 0;
    max-width: 420px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--hy-cs-sub);
    word-break: keep-all;
}
.hy-cs__tel {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    margin-top: 16px;
    font-size: 14px;
    font-weight: 700;
    color: var(--hy-cs-ink);
    text-decoration: none;
}
.hy-cs__tel:hover { color: var(--hy-cs-accent); text-decoration: none; }
.hy-cs__tel svg { width: 18px; height: 18px; flex: none; }
.hy-cs__tel-num { font-variant-numeric: tabular-nums; }

/* ── 오른쪽 폼 카드 ── */
.hy-cs__form {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 28px;
    border: 1px solid var(--hy-cs-line);
    border-radius: 20px;
    background: var(--background, #FFFFFF);
}
.hy-cs__honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    opacity: 0;
}
.hy-cs__label { font-size: 13px; font-weight: 700; color: var(--hy-cs-ink); }
.hy-cs__label:not(:first-of-type) { margin-top: 4px; }
.hy-cs__input {
    display: block;
    width: 100%;
    height: 50px;
    padding: 0 18px;
    border: 1px solid #DDDDDD;
    border-radius: 12px;
    background: #FFFFFF;
    color: var(--hy-cs-ink);
    font: inherit;
    font-size: 15px;
    -webkit-appearance: none;
    appearance: none;
}
.hy-cs__input::placeholder { color: #9A9A9A; }
.hy-cs__input:focus { outline: none; border-color: var(--hy-cs-ink); }
.hy-cs__input--select {
    padding-right: 40px;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23555555' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}
.hy-cs__input--area {
    height: auto;
    min-height: 96px;
    padding: 14px 18px;
    line-height: 1.6;
    resize: vertical;
}

/* 약관 */
.hy-cs__policies { margin-top: 4px; display: flex; flex-direction: column; gap: 4px; }
.hy-cs__policy {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 8px;
}
.hy-cs__check {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    min-width: 0;
    font-size: 13px;
    color: var(--hy-cs-sub);
    cursor: pointer;
}
.hy-cs__check input {
    flex: none;
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: #111111;
}
.hy-cs__req { font-style: normal; color: var(--hy-cs-accent); }
.hy-cs__policy-toggle {
    min-height: 40px;
    padding: 0 4px;
    border: 0;
    background: none;
    color: var(--hy-cs-sub);
    font: inherit;
    font-size: 13px;
    text-decoration: underline;
    cursor: pointer;
}
.hy-cs__policy-body {
    flex: 1 1 100%;
    max-height: 160px;
    overflow-y: auto;
    padding: 10px 12px;
    border-radius: 10px;
    background: var(--hy-cs-soft);
    color: var(--hy-cs-sub);
    font-size: 12px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}
.hy-cs__policy-body table { width: 100%; border-collapse: collapse; }
.hy-cs__policy-body th,
.hy-cs__policy-body td { padding: 4px 6px; border: 1px solid var(--hy-cs-line); }

/* 제출 */
.hy-cs__submit {
    height: 52px;
    margin-top: 6px;
    border: 0;
    border-radius: 999px;
    background: var(--hy-cs-accent);
    color: #FFFFFF;
    font: inherit;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}
.hy-cs__submit:hover { filter: brightness(0.94); }
.hy-cs__submit:focus-visible { outline: 2px solid var(--hy-cs-ink); outline-offset: 2px; }
.hy-cs__submit:disabled { opacity: 0.55; cursor: not-allowed; }

/* ── 모바일: 한 단으로 ── */
@media (max-width: 768px) {
    .hy-cs__grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .hy-cs__form { padding: 20px; border-radius: 16px; }
    .hy-cs__desc { font-size: 14px; }
}
