/* E-7 하위 페이지 안쪽 구성 (영진약품 서브 템플릿 방식) */
.y-page { padding: 0 !important; }
.y-tabs-w { padding: 0 20px; }
.y-inner { width: min(1320px, calc(100% - 2 * clamp(20px, 4.2vw, 60px))); margin: 0 auto; }
.y-small { width: min(900px, calc(100% - 40px)); margin: 0 auto; }
.y-c { text-align: center; }
.y-sec { padding: 110px 0 0; }
.y-sec[hidden] { display: none; }
.y-sec + .y-sec { padding-top: 120px; }
.y-eb { display: block; font-size: 14px; font-weight: 700; letter-spacing: .04em; color: var(--y-pt); }
.y-lead { margin: 0; font-size: clamp(24px, 2.1vw, 30px); line-height: 1.5; font-weight: 600; letter-spacing: -0.04em; color: var(--y-ink); }
.y-lead em { font-style: normal; color: var(--y-pt); }
.y-wide { margin: 64px 0 0; border-radius: 16px; overflow: hidden; aspect-ratio: 1320 / 560; }
.y-wide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.y-2t { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; margin-top: 64px; }
.y-2t h4, .y-2s h4 { margin: 0; font-size: clamp(22px, 1.7vw, 24px); line-height: 1.45; font-weight: 600; letter-spacing: -0.04em; }
.y-2t p { margin: 0 0 14px; font-size: 17px; line-height: 1.75; color: var(--y-g5); }
/* 왼쪽 큰 글자는 붙어 있고, 지금 보는 항목만 초록 */
.y-stk-in { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; }
.y-stk-l { position: sticky; top: 140px; align-self: start; list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.y-stk-l li { font-size: clamp(30px, 3.4vw, 50px); font-weight: 700; line-height: 1.15; letter-spacing: -0.04em; color: #c9c9c9; transition: color .4s; }
.y-stk-l li.on { color: var(--y-pt); }
.y-stk-r { display: grid; gap: 96px; }
.y-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 16px; display: block; }
.y-card small { display: block; margin-top: 32px; font-size: 15px; font-weight: 700; color: var(--y-pt); }
.y-card h5 { margin: 10px 0 0; font-size: clamp(22px, 1.7vw, 24px); line-height: 1.45; font-weight: 600; letter-spacing: -0.04em; }
.y-card p { margin: 16px 0 0; font-size: 16px; line-height: 1.75; color: var(--y-g5); }
.y-bul { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.y-bul li { position: relative; padding-left: 14px; font-size: 15px; line-height: 1.65; color: var(--y-g5); }
.y-bul li::before { content: ""; position: absolute; left: 0; top: .72em; width: 4px; height: 4px; border-radius: 50%; background: var(--y-g9); }
.y-bul b { color: var(--y-ink); font-weight: 600; margin-right: 6px; }
.y-btns { margin-top: 28px !important; display: flex; flex-wrap: wrap; gap: 10px; }
.y-pill { display: inline-flex; align-items: center; gap: 14px; height: 52px; padding: 0 26px; border-radius: 999px; background: #f2f2f2; color: var(--y-ink); font-size: 15px; font-weight: 600; text-decoration: none; transition: background .4s, color .4s, border-color .4s; border: 1px solid transparent; cursor: pointer; font-family: inherit; }
.y-pill:hover { background: #e5e5e5; }
.y-pill.line { background: #fff; border-color: var(--y-pt); color: var(--y-pt); }
.y-pill.line:hover { background: var(--y-pt); color: #fff; }
.y-pill.pt { background: var(--y-pt); color: #fff; }
.y-pill.pt:hover { background: var(--y-pt-h); }
/* 회색 면 섹션: 왼쪽 제목, 오른쪽 항목 */
.y-surf { margin-top: 120px; padding: 110px 0 !important; background: var(--y-bg); }
.y-sec.y-surf + .y-sec { padding-top: 120px; }
.y-2s { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; }
.y-2s .l p { margin: 18px 0 0; font-size: 15px; line-height: 1.75; color: var(--y-g7); }
.y-nums { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.y-nums li { padding: 32px 24px; background: #fff; border-radius: 8px; }
.y-nums b { display: block; font-size: clamp(34px, 3vw, 44px); font-weight: 700; letter-spacing: -0.03em; color: var(--y-pt); line-height: 1; }
.y-nums b small { font-size: .42em; margin-left: 2px; color: var(--y-ink); font-weight: 600; }
.y-nums span { display: block; margin-top: 14px; font-size: 15px; color: var(--y-g5); font-weight: 500; }
.y-items { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px 40px; }
.y-items > li > small { font-size: 14px; font-weight: 700; color: var(--y-pt); letter-spacing: .04em; }
.y-items h5 { margin: 10px 0 0; font-size: clamp(20px, 1.7vw, 24px); font-weight: 600; letter-spacing: -0.04em; }
.y-items p { margin: 12px 0 0; font-size: 15px; line-height: 1.75; color: var(--y-g5); }
.y-items.c3 { grid-template-columns: repeat(3, 1fr); }
/* CEO 인사말형 2단 */
.y-ceo { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; }
.y-ceo h4 { margin: 0; font-size: 22px; line-height: 1.5; font-weight: 700; letter-spacing: -0.04em; }
.y-ceo .l img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 16px; margin-top: 32px; display: block; }
.y-ceo .r p { margin: 0 0 16px; font-size: 17px; line-height: 1.75; color: var(--y-g5); }
.y-ceo .r p.y-blue { font-size: 22px; line-height: 1.55; font-weight: 600; color: var(--y-pt); margin-bottom: 28px; }
.y-quote blockquote { margin: 22px 0 0; font-size: clamp(22px, 2vw, 28px); line-height: 1.6; font-weight: 600; letter-spacing: -0.04em; color: var(--y-ink); }
.y-quote p { margin: 26px 0 0; font-size: 16px; line-height: 1.8; color: var(--y-g7); }
/* 히스토리: 밑줄 탭(붙음) + 왼쪽 시대 사진(붙음) + 세로선 타임라인 */
.y-ul-tabs { position: sticky; top: 0; z-index: 5; margin-top: 64px; background: #fff; border-bottom: 2px solid var(--y-ln); transition: top .45s cubic-bezier(.16,1,.3,1); }
body:has(.header:not(.hd-hide)) .y-ul-tabs { top: var(--hd); }
.y-ul-tabs .y-inner { display: flex; justify-content: center; gap: 8px; }
.y-ul-tabs a { position: relative; padding: 20px 28px; font-size: 18px; font-weight: 600; color: var(--y-g9); cursor: pointer; text-decoration: none; }
.y-ul-tabs a.on { color: var(--y-ink); }
.y-ul-tabs a.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--y-pt); }
.y-tl { margin-top: 80px; }
.y-era { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; padding-bottom: 120px; scroll-margin-top: 180px; }
.y-era-im { position: sticky; top: 200px; align-self: start; display: grid; place-items: center; aspect-ratio: 1; max-width: 460px; border-radius: 16px; background: #111; overflow: hidden; }
.y-era-im img { width: 62%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
.y-era-im span { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); padding: 8px 18px; border-radius: 999px; background: rgba(255,255,255,.12); color: #fff; font-size: 15px; font-weight: 600; white-space: nowrap; }
.y-yrs { position: relative; list-style: none; margin: 0; padding: 0 0 0 40px; border-left: 1px solid var(--y-ln2); }
.y-yrs li { position: relative; padding: 0 0 44px; }
.y-yrs li::before { content: ""; position: absolute; left: -46px; top: 8px; width: 11px; height: 11px; border-radius: 50%; background: #fff; border: 2px solid var(--y-pt); box-sizing: border-box; }
.y-yrs li:first-child::before { background: var(--y-pt); }
.y-yrs b { display: block; font-size: 24px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.y-yrs p { margin: 10px 0 0; font-size: 16px; line-height: 1.6; color: var(--y-g5); }
/* 흰 박스 2개 (CI) */
.y-boxes { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 64px; }
.y-box { padding: 48px; border: 1px solid var(--y-ln); border-radius: 8px; }
.y-box .im { margin: 24px 0 28px; padding: 32px; background: var(--y-bg3); border-radius: 8px; display: grid; place-items: center; }
.y-box .im img { max-width: 100%; height: auto; }
.y-box p { margin: 0 0 12px; font-size: 15px; line-height: 1.75; color: var(--y-g5); }
.y-sw { display: flex; align-items: center; gap: 18px; margin-top: 22px; }
.y-sw img { height: 56px; width: auto; border-radius: 4px; }
.y-sw span { font-size: 14px; color: var(--y-g7); line-height: 1.6; } .y-sw b { display: block; color: var(--y-ink); font-size: 16px; }
.y-more { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--y-ln); }
.y-more summary { cursor: pointer; font-size: 15px; font-weight: 600; color: var(--y-g5); }
.y-more p { margin: 14px 0 0; font-size: 15px; line-height: 1.75; color: var(--y-g5); }
/* 사진 띠 배너: 사진 위 왼쪽 제목, 오른쪽 흰 설명 */
.y-banner { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; min-height: 360px; padding: 56px 64px; border-radius: 8px; overflow: hidden; color: #fff; }
.y-banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.y-banner::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.45); z-index: -1; }
.y-banner h4 { margin: 0; font-size: clamp(28px, 2.5vw, 36px); line-height: 1.35; font-weight: 600; letter-spacing: -0.04em; }
.y-banner p { margin: 0; font-size: 16px; line-height: 1.8; color: rgba(255,255,255,.88); }
.y-banner a { color: #fff; text-decoration: underline; }
/* 번호 카드 (연구분야형) */
.y-ncards { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.y-ncards li { padding: 40px 44px; background: #f9fafb; border: 1px solid var(--y-ln); border-radius: 8px; }
.y-ncards small { font-size: 15px; font-weight: 700; color: var(--y-pt); }
.y-ncards h5 { margin: 8px 0 0; font-size: 22px; font-weight: 600; letter-spacing: -0.04em; }
.y-ncards p { margin: 12px 0 0; font-size: 15px; line-height: 1.75; color: var(--y-g5); }
.y-2st { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; }
.y-2st > h4 { position: sticky; top: 140px; align-self: start; margin: 0; font-size: clamp(30px, 2.9vw, 42px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.3; }
/* 표 */
.y-tbl { width: 100%; border-collapse: collapse; border-top: 1px solid var(--y-ink); font-size: 15px; }
.y-tbl th, .y-tbl td { padding: 18px 16px; border-bottom: 1px solid var(--y-ln); text-align: left; vertical-align: top; }
.y-tbl th { width: 200px; font-weight: 600; background: var(--y-bg3); }
.y-tbl td { color: var(--y-g5); }
/* 사진 격자 */
.y-gal { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.y-gal figure { margin: 0; }
.y-gal img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; display: block; transition: transform .6s; }
.y-gal li { overflow: hidden; }
.y-gal figcaption { margin-top: 14px; font-size: 17px; font-weight: 600; letter-spacing: -0.03em; }
.y-gal figcaption span { display: block; margin-top: 4px; font-size: 14px; font-weight: 400; color: var(--y-g7); }
/* 카드형 안내 (고객지원 벤토) */
.y-bento { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 24px; margin-top: 64px; }
.y-bento > * { position: relative; display: flex; flex-direction: column; padding: 48px; border-radius: 16px; background: var(--y-bg3); border: 1px solid #f0f0f0; }
.y-bento .tall { grid-row: span 2; }
.y-bento h5 { margin: 0; font-size: 24px; font-weight: 600; letter-spacing: -0.04em; }
.y-bento p { margin: 12px 0 0; font-size: 16px; line-height: 1.7; color: var(--y-g7); }
.y-bento .ic { position: absolute; right: 40px; top: 40px; width: 56px; height: 56px; border-radius: 50%; background: var(--y-pt-l); color: var(--y-pt); display: grid; place-items: center; font-size: 24px; }
.y-bento .y-btns { margin-top: auto !important; padding-top: 32px; }
/* 뉴스 카드 3열 */
.y-news3 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 24px; }
.y-news3 a { display: block; color: inherit; text-decoration: none; }
.y-news3 .im { aspect-ratio: 388 / 240; border-radius: 8px; overflow: hidden; background: var(--y-bg3); display: grid; place-items: center; }
.y-news3 .im img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.y-news3 .im.logo img { width: 40%; height: auto; object-fit: contain; }
.y-news3 a:hover .im img { transform: scale(1.04); }
.y-news3 b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 20px; font-size: 19px; line-height: 1.45; font-weight: 600; letter-spacing: -0.03em; }
.y-news3 time, .y-news3 small { display: block; margin-top: 10px; font-size: 14px; color: var(--y-g7); }
.y-tt { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; font-size: 15px; color: var(--y-g5); }
.y-tt b { color: var(--y-pt); }
/* 뉴스 상세 (펼침) */
.y-art { border-top: 1px solid var(--y-ink); }
.y-art h4 { margin: 40px 0 0; font-size: clamp(26px, 2.5vw, 36px); line-height: 1.35; font-weight: 600; letter-spacing: -0.04em; }
.y-art .meta { margin-top: 16px; padding-bottom: 32px; border-bottom: 1px solid var(--y-ln); font-size: 14px; color: var(--y-g7); }
.y-art .bd { padding: 40px 0; font-size: 17px; line-height: 1.8; color: var(--y-g5); }
.y-art .bd img { max-width: 100%; border-radius: 8px; }

@media (max-width: 960px) {
  .y-sec { padding-top: 64px; } .y-sec + .y-sec { padding-top: 72px; }
  .y-lead { font-size: 21px; } .y-lead br { display: none; }
  .y-wide { margin-top: 36px; aspect-ratio: 4 / 3; }
  .y-2t, .y-stk-in, .y-2s, .y-ceo, .y-era, .y-boxes, .y-banner, .y-2st, .y-bento { grid-template-columns: 1fr; gap: 28px; }
  .y-2t { margin-top: 36px; } .y-2t p, .y-ceo .r p { font-size: 16px; }
  .y-stk-l { display: none; }
  .y-stk-r { gap: 56px; }
  .y-surf { margin-top: 72px; padding: 64px 0 !important; }
  .y-nums { grid-template-columns: 1fr 1fr; gap: 10px; } .y-nums li { padding: 24px 18px; }
  .y-items, .y-items.c3 { grid-template-columns: 1fr; gap: 32px; }
  .y-ceo .l img { aspect-ratio: 4 / 3; margin-top: 20px; }
  .y-ceo .r p.y-blue { font-size: 19px; }
  .y-ul-tabs { margin-top: 36px; } .y-ul-tabs .y-inner { justify-content: flex-start; overflow-x: auto; gap: 0; } .y-ul-tabs a { padding: 16px 14px; font-size: 15px; white-space: nowrap; }
  .y-tl { margin-top: 40px; }
  .y-era { padding-bottom: 56px; scroll-margin-top: 130px; }
  .y-era-im { position: relative; top: 0; aspect-ratio: 16 / 9; max-width: none; }
  .y-era-im img { width: 34%; }
  .y-yrs { padding-left: 28px; } .y-yrs li::before { left: -34px; } .y-yrs b { font-size: 20px; } .y-yrs p { font-size: 15px; } .y-yrs li { padding-bottom: 32px; }
  .y-box { padding: 28px 22px; }
  .y-banner { padding: 40px 24px; min-height: 0; }
  .y-2st > h4 { position: static; font-size: 26px; }
  .y-ncards li { padding: 28px 22px; }
  .y-tbl th { width: 96px; padding: 14px 10px; } .y-tbl td { padding: 14px 10px; }
  .y-gal { grid-template-columns: 1fr 1fr; gap: 16px; } .y-gal figcaption { font-size: 15px; }
  .y-bento > * { padding: 32px 24px; } .y-bento .tall { grid-row: auto; } .y-bento .ic { right: 24px; top: 28px; width: 44px; height: 44px; font-size: 19px; }
  .y-news3 { grid-template-columns: 1fr; gap: 36px; }
}
.y-sub { margin: 20px 0 0; font-size: 16px; line-height: 1.75; color: var(--y-g7); }
.y-sh { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 40px; }
.y-sh h4 { margin: 0; font-size: clamp(28px, 2.5vw, 36px); font-weight: 600; letter-spacing: -0.04em; }
.y-sh p { margin: 0; font-size: 15px; color: var(--y-g7); }
.y-gal .ph { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 8px; overflow: hidden; }
.y-gal .ph:hover img { transform: scale(1.04); }
.y-forms b { font-size: clamp(24px, 2vw, 30px) !important; color: var(--y-ink) !important; }
.y-logos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.y-logos li { display: grid; place-items: center; height: 132px; border: 1px solid var(--y-ln); border-radius: 8px; background: #fff; }
.y-logos img { max-width: 62%; max-height: 46px; object-fit: contain; }
.y-logos span { font-size: 22px; font-weight: 700; color: #1d4fa3; letter-spacing: -0.03em; }
.y-note { margin: 16px 0 0; font-size: 14px; color: var(--y-g9); text-align: right; }
.y-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.y-chips li { padding: 12px 20px; border: 1px solid var(--y-ln2); border-radius: 999px; font-size: 15px; font-weight: 600; background: #fff; }
.y-ncards li .y-btns { margin-top: 20px !important; }
.y-ncards .y-pill { height: 44px; padding: 0 20px; font-size: 14px; }
.y-items a, .y-tbl a { color: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (max-width: 960px) {
  .y-sh { display: block; } .y-sh p { margin-top: 10px; }
  .y-logos { grid-template-columns: 1fr 1fr; gap: 10px; } .y-logos li { height: 96px; }
  .y-chips li { padding: 10px 16px; font-size: 14px; }
}
.y-logos .y-ml span { color: var(--y-g9); font-size: 17px; font-weight: 600; }
.y-tbl2 th { width: auto; }
.y-tbl2 tr:first-child th { background: var(--y-bg3); }
.y-tbl2 td b { color: var(--y-ink); font-weight: 600; }
.y-tbl2 td:first-child { width: 36%; }
.y-2img { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.y-2img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; }
.y-2img h5 { margin: 0; font-size: 24px; line-height: 1.45; font-weight: 600; letter-spacing: -0.04em; }
.y-2img p { margin: 16px 0 0; font-size: 16px; line-height: 1.75; color: var(--y-g5); }
.y-pat { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--y-ink); }
.y-pat li { display: grid; grid-template-columns: 80px 1fr 200px 120px; gap: 20px; align-items: center; padding: 28px 12px; border-bottom: 1px solid var(--y-ln); }
.y-pat span { justify-self: start; padding: 5px 12px; border: 1px solid var(--y-pt); border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--y-pt); }
.y-pat b { font-size: 18px; font-weight: 600; letter-spacing: -0.03em; }
.y-pat em, .y-pat time { font-style: normal; font-size: 14px; color: var(--y-g7); }
.y-2st > h4 .y-eb { display: block; font-size: 15px; }
@media (max-width: 960px) {
  .y-2img { grid-template-columns: 1fr; gap: 20px; }
  .y-pat li { grid-template-columns: auto 1fr; gap: 8px 12px; padding: 20px 4px; }
  .y-pat b { grid-column: 2; } .y-pat em { grid-column: 2; } .y-pat time { grid-column: 2; }
  .y-pat span { grid-row: span 3; align-self: start; }
  .y-tbl2 td:first-child { width: 40%; }
}
.gtabs { display: flex !important; flex-wrap: wrap; gap: 8px !important; margin: 0 0 32px !important; border: 0 !important; }
.gtabs button { height: 44px; padding: 0 20px !important; border: 1px solid var(--y-ln2) !important; border-radius: 999px !important; background: #fff !important; color: var(--y-g5) !important; font-size: 15px !important; font-weight: 600; }
.gtabs button[aria-pressed="true"] { background: var(--y-ink) !important; border-color: var(--y-ink) !important; color: #fff !important; }
.gtabs button em { font-style: normal; margin-left: 6px; opacity: .6; }
.pgal { gap: 16px !important; } .pgal img, .pgal .ph { border-radius: 8px !important; }

/* ── 제품 검색 (영진약품 제품검색 구성) ── */
.y-psrch { position: relative; max-width: 900px; margin: 0 auto !important; display: block !important; border: 0 !important; background: none !important; }
.y-psrch input { width: 100%; height: 72px; padding: 0 76px 0 36px !important; border: 2px solid var(--y-ink) !important; border-radius: 999px !important; font: inherit; font-size: 19px !important; background: #fff !important; box-sizing: border-box; }
.y-psrch input:focus { outline: none; border-color: var(--y-pt) !important; }
.y-psrch button { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--y-ink) !important; color: #fff !important; display: grid; place-items: center; cursor: pointer; }
.y-pfil { margin: 48px 0 0; padding: 12px 40px; border-radius: 16px; background: var(--y-bg3); }
.y-pfil .row { display: grid; grid-template-columns: 96px 1fr; align-items: start; gap: 16px; padding: 22px 0; }
.y-pfil .row + .row { border-top: 1px solid var(--y-ln); }
.y-pfil .row > b { padding-top: 9px; font-size: 16px; font-weight: 600; }
.y-prod .seg { display: flex !important; flex-wrap: wrap; gap: 8px; padding: 0 !important; background: none !important; border: 0 !important; }
.y-prod .seg button, .y-prod .p-cats a { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 18px !important; border: 1px solid var(--y-ln) !important; border-radius: 999px !important; background: #fff !important; color: var(--y-g5) !important; font: inherit; font-size: 15px !important; text-decoration: none; cursor: pointer; transition: border-color .2s, color .2s; }
.y-prod .seg button:hover, .y-prod .p-cats a:hover { border-color: var(--y-ink) !important; color: var(--y-ink) !important; }
.y-prod .seg button em, .y-prod .p-cats a em { font-style: normal; font-size: 13px; color: var(--y-g9); }
.y-prod .seg button[aria-pressed="true"], .y-prod .p-cats a[aria-current="true"] { background: var(--y-ink) !important; border-color: var(--y-ink) !important; color: #fff !important; }
.y-prod .seg button[aria-pressed="true"] em, .y-prod .p-cats a[aria-current="true"] em { color: rgba(255,255,255,.7); }
.y-prod .p-cats { display: flex !important; flex-wrap: wrap; gap: 8px; margin: 0 !important; }
.y-pcount { margin: 64px 0 0 !important; padding-bottom: 20px; border-bottom: 1px solid var(--y-ink); }
.y-pcount .p-count { margin: 0 !important; font-size: 17px !important; color: var(--y-ink) !important; }
.y-pcount span { font-size: 14px; color: var(--y-g9); }
.y-pg { display: grid !important; grid-template-columns: repeat(4, 1fr) !important; gap: 48px 24px !important; margin-top: 40px !important; padding: 0; list-style: none; }
.y-pg .pc { border: 0 !important; border-radius: 0 !important; padding: 0 !important; background: none !important; }
.y-pg .pc .thumb { display: block; width: 100%; aspect-ratio: 1; border-radius: 12px !important; background: var(--y-bg3) !important; border: 1px solid transparent !important; overflow: hidden; position: relative; padding: 0; cursor: pointer; transition: border-color .3s; }
.y-pg .pc .thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .5s; }
.y-pg .pc:hover .thumb { border-color: var(--y-pt) !important; }
.y-pg .pc:hover .thumb img { transform: scale(1.05); }
.y-pg .pc .tp { position: absolute; left: 14px; top: 14px; padding: 4px 10px; border-radius: 999px !important; font-size: 12px; }
.y-pg .pc .cat { display: block; padding: 0 !important; margin-top: 18px !important; font-size: 14px !important; }
.y-pg .pc .name { display: block; padding: 0 !important; margin-top: 6px; font-size: 19px !important; font-weight: 600 !important; letter-spacing: -0.03em; text-decoration: none; }
.y-pg .pc .acts { display: none !important; }
.y-pg .empty { padding: 80px 0; text-align: center; color: var(--y-g7); border-bottom: 1px solid var(--y-ln); }

/* 제품 상세 창 */
.modal.pd .modal-box { width: min(1080px, calc(100vw - 48px)) !important; max-width: none !important; border-radius: 20px !important; padding: 0 !important; overflow: auto; max-height: calc(100vh - 64px); }
.modal.pd .mh { padding: 28px 40px 0 !important; border: 0 !important; }
.modal.pd .mh .sla { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--y-pt-l); color: var(--y-pt); font-size: 13px; font-weight: 600; }
.modal.pd .mh .x { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--y-ln) !important; background: #fff !important; font-size: 22px; }
.modal.pd .mb { display: grid !important; grid-template-columns: 1fr 1.15fr !important; gap: 48px !important; padding: 24px 40px 32px !important; }
.modal.pd .pim { aspect-ratio: 1; border-radius: 16px !important; background: var(--y-bg3) !important; display: grid; place-items: center; color: var(--y-g9); border: 0 !important; }
.modal.pd .pim img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.modal.pd h3 { margin: 0 !important; font-size: 34px !important; font-weight: 700 !important; letter-spacing: -0.04em; }
.modal.pd .meta { margin-top: 14px !important; padding-bottom: 24px; border-bottom: 1px solid var(--y-ink); display: flex; gap: 8px; }
.modal.pd .meta span { padding: 4px 12px; border-radius: 999px; border: 1px solid var(--y-ln); font-size: 13px; color: var(--y-g5); background: #fff !important; }
.modal.pd .dl { margin: 0 !important; }
.modal.pd .dl > div { display: grid !important; grid-template-columns: 140px 1fr !important; gap: 16px; padding: 20px 0 !important; border-bottom: 1px solid var(--y-ln) !important; }
.modal.pd .dl dt { font-weight: 600; font-size: 15px; color: var(--y-ink) !important; }
.modal.pd .dl dd { margin: 0; font-size: 15px; line-height: 1.75; color: var(--y-g5) !important; white-space: pre-line; }
.modal.pd .dl dd p { margin: 0; }
.modal.pd .mf { display: flex !important; justify-content: space-between; align-items: center; gap: 16px; padding: 24px 40px !important; background: var(--y-bg3) !important; border: 0 !important; }
.modal.pd .mf .btn { border-radius: 999px !important; background: var(--y-pt) !important; border-color: var(--y-pt) !important; }

@media (max-width: 960px) {
  .y-psrch input { height: 56px; font-size: 16px !important; padding-left: 22px !important; }
  .y-psrch button { width: 42px; height: 42px; right: 8px; }
  .y-pfil { margin-top: 28px; padding: 4px 18px; border-radius: 12px; }
  .y-pfil .row { grid-template-columns: 1fr; gap: 10px; padding: 16px 0; }
  .y-pfil .row > b { padding: 0; font-size: 14px; }
  .y-prod .seg { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .y-prod .seg button, .y-prod .p-cats a { height: 36px; padding: 0 14px !important; font-size: 14px !important; flex: none; white-space: nowrap; }
  .y-pcount { margin-top: 40px !important; flex-wrap: wrap; gap: 4px; }
  .y-pcount span { display: none; }
  .y-pg { grid-template-columns: 1fr 1fr !important; gap: 32px 12px !important; margin-top: 24px !important; }
  .y-pg .pc .tp { left: 8px; top: 8px; font-size: 11px; padding: 3px 8px; }
  .y-pg .pc .name { font-size: 16px !important; }
  .y-pg .pc .cat { font-size: 12px !important; margin-top: 12px !important; }
  .modal.pd .modal-box { width: 100vw !important; max-height: 100%; height: 100%; border-radius: 0 !important; }
  .modal.pd .mh { padding: 16px 20px 0 !important; }
  .modal.pd .mb { grid-template-columns: 1fr !important; gap: 24px !important; padding: 16px 20px 24px !important; }
  .modal.pd h3 { font-size: 26px !important; }
  .modal.pd .dl > div { grid-template-columns: 1fr !important; gap: 6px; padding: 16px 0 !important; }
  .modal.pd .mf { flex-direction: column; align-items: stretch; padding: 20px !important; }
}
.y-psrch { width: 100% !important; padding: 0 !important; }
.y-pg .pc .tp.g { background: var(--y-ink) !important; color: #fff !important; border: 0 !important; }
.modal.pd .dl > div:first-child { border-top: 0 !important; }
.modal.pd .dl { border-top: 0 !important; }

/* ── 뉴스룸 ── */
.y-board { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--y-ink); }
.y-board li { border-bottom: 1px solid var(--y-ln); }
.y-board summary { display: grid; grid-template-columns: 80px 1fr 120px 32px; align-items: center; gap: 16px; padding: 30px 8px; cursor: pointer; list-style: none; }
.y-board summary::-webkit-details-marker { display: none; }
.y-board .no { font-size: 15px; color: var(--y-g9); text-align: center; }
.y-board summary b { font-size: 19px; font-weight: 500; letter-spacing: -0.03em; transition: color .2s; }
.y-board summary:hover b { color: var(--y-pt); }
.y-board time { font-size: 15px; color: var(--y-g7); text-align: right; }
.y-board summary i { width: 12px; height: 12px; border-right: 2px solid var(--y-ink); border-bottom: 2px solid var(--y-ink); transform: rotate(45deg); justify-self: center; margin-top: -6px; transition: transform .3s; }
.y-board details[open] summary i { transform: rotate(-135deg); margin-top: 6px; }
.y-board details[open] summary b { font-weight: 600; }
.y-board .bd { margin: 0 0 32px; padding: 40px 96px; border-radius: 12px; background: var(--y-bg3); font-size: 16px; line-height: 1.85; color: var(--y-g5); }
.y-board .bd p { margin: 0; }
.y-board .bd img { display: block; max-width: 640px; width: 100%; border-radius: 8px; }
.y-np3 { margin-top: 56px !important; grid-template-columns: 1fr 1fr !important; }
.y-np3 .im img { object-fit: contain !important; mix-blend-mode: multiply; }
.y-np3 small { margin-top: 20px !important; color: var(--y-pt) !important; font-weight: 600; }
.y-np3 b { margin-top: 6px !important; font-size: 24px !important; }
.y-npd { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; padding: 64px 0; border-top: 1px solid var(--y-ink); scroll-margin-top: 120px; }
.y-npd + .y-npd { border-top-color: var(--y-ln); }
.y-npd .pim { aspect-ratio: 1; border-radius: 16px; background: var(--y-bg3); display: grid; place-items: center; overflow: hidden; }
.y-npd .pim img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.y-npd .sla { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--y-pt-l); color: var(--y-pt); font-size: 13px; font-weight: 600; }
.y-npd h4 { margin: 18px 0 0; font-size: clamp(28px, 2.6vw, 38px); font-weight: 700; letter-spacing: -0.04em; }
.y-npd .meta { margin: 10px 0 0; padding-bottom: 24px; border-bottom: 1px solid var(--y-ink); font-size: 16px; color: var(--y-g7); }
.y-npd .dl { margin: 0 !important; border: 0 !important; }
.y-npd .dl > div { display: grid !important; grid-template-columns: 140px 1fr !important; gap: 16px; padding: 20px 0 !important; border-bottom: 1px solid var(--y-ln) !important; border-top: 0 !important; }
.y-npd .dl dt { font-weight: 600; font-size: 15px; color: var(--y-ink) !important; }
.y-npd .dl dd { margin: 0; font-size: 15px; line-height: 1.75; color: var(--y-g5) !important; white-space: pre-line; }
.y-npd .y-btns { margin-top: 32px; display: flex; gap: 10px; flex-wrap: wrap; }
.y-fam { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; border-top: 1px solid var(--y-ink); }
.y-fam a { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 16px; padding: 32px 4px; border-bottom: 1px solid var(--y-ln); color: inherit; text-decoration: none; }
.y-fam b { font-size: 22px; font-weight: 600; letter-spacing: -0.04em; transition: color .2s; }
.y-fam small { grid-row: 2; font-size: 14px; color: var(--y-g9); }
.y-fam i { grid-row: 1 / span 2; grid-column: 2; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--y-ln); display: grid; place-items: center; font-style: normal; font-size: 18px; transition: background .2s, color .2s, border-color .2s; }
.y-fam a:hover b { color: var(--y-pt); }
.y-fam a:hover i { background: var(--y-pt); border-color: var(--y-pt); color: #fff; }
@media (max-width: 960px) {
  .y-board summary { grid-template-columns: 1fr 24px; gap: 6px 12px; padding: 22px 4px; }
  .y-board .no { display: none; }
  .y-board summary b { font-size: 16px; line-height: 1.5; }
  .y-board time { grid-row: 2; text-align: left; font-size: 13px; }
  .y-board summary i { grid-row: 1 / span 2; grid-column: 2; }
  .y-board .bd { padding: 24px 20px; font-size: 15px; margin-bottom: 20px; }
  .y-np3 { grid-template-columns: 1fr 1fr !important; gap: 16px !important; margin-top: 32px !important; }
  .y-np3 b { font-size: 17px !important; }
  .y-np3 small { font-size: 12px !important; margin-top: 12px !important; }
  .y-npd { grid-template-columns: 1fr; gap: 28px; padding: 40px 0; }
  .y-npd .dl > div { grid-template-columns: 1fr !important; gap: 6px; padding: 16px 0 !important; }
  .y-fam { grid-template-columns: 1fr; margin-top: 32px; }
  .y-fam a { padding: 22px 4px; }
  .y-fam b { font-size: 18px; }
  .y-fam i { width: 40px; height: 40px; }
}
@media (max-width: 960px) { .y-tt > span { display: none; } .y-tt p { margin: 0; } }

/* ── 고객문의 ── */
.y-cc { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.y-cc li { padding: 40px; border-radius: 16px; background: var(--y-bg3); }
.y-cc small { display: block; font-size: 15px; font-weight: 600; color: var(--y-pt); }
.y-cc b { display: block; margin-top: 16px; font-size: 22px; font-weight: 600; letter-spacing: -0.03em; word-break: break-all; }
.y-cc b a, .y-cc p a { color: inherit; text-decoration: none; }
.y-cc b a:hover { color: var(--y-pt); }
.y-cc p { margin: 8px 0 0; font-size: 15px; color: var(--y-g7); }
.y-fw { border-top: 1px solid var(--y-ink); }
.y-req { margin: 0; padding: 18px 0; text-align: right; font-size: 14px; color: var(--y-g7); border-bottom: 1px solid var(--y-ln); }
.y-req span, .y-ctc .req { color: var(--y-pt) !important; }
.y-ctc .cf .grid2 { gap: 0 32px; }
.y-ctc .cf .fld { margin: 0; padding: 26px 0; border-bottom: 1px solid var(--y-ln); }
.y-ctc .cf .fld > .lb { margin-bottom: 12px; font-size: 16px; font-weight: 600; }
.y-ctc .cf .inp { min-height: 56px; padding: 0 20px; font-size: 16px; }
.y-ctc .cf .ta { min-height: 200px; padding: 18px 20px; font-size: 16px; }
.y-ctc .cf .choices span { min-height: 44px; padding: 0 20px; font-size: 15px; border-color: var(--y-ln) !important; }
.y-ctc .cf .choices input:checked + span { background: var(--y-ink) !important; border-color: var(--y-ink) !important; box-shadow: none !important; }
.y-ctc .cf .file-zone { min-height: 72px; border-radius: 8px; border-color: var(--y-ln2, #d9d9d9); background: var(--y-bg3); }
.y-ctc .cf .file-zone:hover { border-color: var(--y-pt); background: var(--y-pt-l); color: var(--y-pt); }
.y-ctc .cf .agree-line { margin: 0; padding: 26px 0; font-size: 15px; }
.y-ctc .cf .agree-line input { accent-color: var(--y-pt); }
.y-ctc .cf .submit { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 24px; padding-top: 24px; font-size: 14px; color: var(--y-g7); }
.y-ctc .cf .submit .btn { min-width: 240px; height: 60px; border-radius: 999px !important; background: var(--y-pt) !important; border-color: var(--y-pt) !important; font-size: 17px; }
.y-legal { margin-top: 48px; }
.y-legal h5 { margin: 24px 0 0; font-size: 15px; font-weight: 600; }
.y-legal ol { margin: 10px 0 0; padding-left: 20px; font-size: 15px; line-height: 1.75; color: var(--y-g5); }
.y-loc { display: grid; grid-template-columns: 300px 1fr; gap: 64px; margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--y-ink); }
.y-loct { list-style: none; margin: 0; padding: 0; position: sticky; top: 140px; align-self: start; }
.y-loct button { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 22px 4px; border: 0; border-bottom: 1px solid var(--y-ln); background: none; font: inherit; font-size: 22px; font-weight: 500; letter-spacing: -0.03em; color: var(--y-g9); text-align: left; cursor: pointer; transition: color .2s; }
.y-loct button::after { content: "→"; font-size: 18px; opacity: 0; transition: opacity .2s; }
.y-loct button:hover { color: var(--y-ink); }
.y-loct button[aria-pressed="true"] { color: var(--y-ink); font-weight: 700; }
.y-loct button[aria-pressed="true"]::after { opacity: 1; color: var(--y-pt); }
.y-locp .im { position: relative; display: block; aspect-ratio: 16 / 8; border-radius: 16px; overflow: hidden; }
.y-locp .im img { width: 100%; height: 100%; object-fit: cover; }
.y-locp .im span { position: absolute; right: 20px; bottom: 20px; padding: 10px 18px; border-radius: 999px; background: #fff; color: var(--y-ink); font-size: 14px; font-weight: 600; }
.y-locp h5 { margin: 40px 0 0; padding-bottom: 20px; border-bottom: 1px solid var(--y-ink); font-size: 28px; font-weight: 700; letter-spacing: -0.04em; }
.y-locp dl { margin: 0; }
.y-locp dl > div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--y-ln); font-size: 16px; }
.y-locp dt { font-weight: 600; }
.y-locp dd { margin: 0; color: var(--y-g5); }
.y-locp dd a { color: inherit; }
@media (max-width: 960px) {
  .y-cc { grid-template-columns: 1fr; gap: 12px; margin-top: 32px; }
  .y-cc li { padding: 24px; border-radius: 12px; }
  .y-cc b { font-size: 18px; margin-top: 10px; }
  .y-ctc .cf .grid2 { grid-template-columns: 1fr; }
  .y-ctc .cf .fld { padding: 20px 0; }
  .y-ctc .cf .submit .btn { width: 100%; }
  .y-loc { grid-template-columns: 1fr; gap: 24px; margin-top: 32px; padding-top: 0; border: 0; }
  .y-loct { position: static; display: flex; overflow-x: auto; gap: 8px; scrollbar-width: none; }
  .y-loct button { flex: none; width: auto; padding: 0 18px; height: 40px; border: 1px solid var(--y-ln); border-radius: 999px; font-size: 15px; white-space: nowrap; }
  .y-loct button::after { display: none; }
  .y-loct button[aria-pressed="true"] { background: var(--y-ink); border-color: var(--y-ink); color: #fff; }
  .y-locp .im { aspect-ratio: 4 / 3; border-radius: 12px; }
  .y-locp h5 { font-size: 22px; margin-top: 28px; }
  .y-locp dl > div { grid-template-columns: 80px 1fr; font-size: 15px; padding: 16px 0; }
}
.y-cc { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); } @media (max-width: 960px) { .y-cc { grid-template-columns: 1fr; } }
