/* 레이노 공용 UI 조각 (2026-11-05)
   RAYNO MALL 링크 — 상단 헤더(.rm-top, 어두운 사진 위)와 전체 메뉴 안(.rm-menu, 흰 바탕).
   2026-11-05 담당자 요청으로 알약 버튼 → 글자 + 가는 가방 아이콘 (SIHA 참고). 밑줄이 왼쪽에서 자라나는 효과.
   각 페이지에 남아 있는 옛 .rm-top/.rm-menu 규칙보다 이 파일이 나중에 읽혀 기준이 됩니다. */
a.rm-top{position:relative;display:inline-flex;align-items:center;gap:9px;font-family:inherit;font-weight:600;font-size:13px;letter-spacing:.14em;text-transform:uppercase;color:#fff;text-decoration:none;white-space:nowrap;border:0;border-radius:0;padding:4px 0;background:none;-webkit-backdrop-filter:none;backdrop-filter:none;transition:opacity .25s ease}
a.rm-top::before{content:"";width:18px;height:18px;flex:none;background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M5.5 8.5h13l1 12.5h-15l1-12.5z'/><path d='M9 8.5V6.8a3 3 0 0 1 6 0v1.7'/></svg>") center/contain no-repeat}
a.rm-top::after{content:"";position:absolute;left:27px;right:0;bottom:0;width:auto;height:1px;border-radius:0;background:#fff;transform:scaleX(0);transform-origin:left;transition:transform .35s cubic-bezier(.2,.7,.2,1)}
a.rm-top:hover{background:none;border:0;color:#fff;transform:none;opacity:.9}
a.rm-top:hover::after{background:#fff;transform:scaleX(1)}
@media (max-width:860px){a.rm-top{display:none}}
/* 전체 메뉴 안의 링크 (흰 바탕) */
a.rm-menu{position:relative;display:inline-flex;align-items:center;gap:9px;font-weight:600;font-size:13px;letter-spacing:.14em;text-transform:uppercase;color:#1a1714;text-decoration:none;border:0;border-radius:0;padding:4px 0;background:none;transition:opacity .25s ease}
a.rm-menu::before{content:"";width:18px;height:18px;flex:none;background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1714' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M5.5 8.5h13l1 12.5h-15l1-12.5z'/><path d='M9 8.5V6.8a3 3 0 0 1 6 0v1.7'/></svg>") center/contain no-repeat}
a.rm-menu svg{display:none}
a.rm-menu::after{content:"";position:absolute;left:27px;right:0;bottom:0;height:1px;background:#1a1714;transform:scaleX(0);transform-origin:left;transition:transform .35s cubic-bezier(.2,.7,.2,1)}
a.rm-menu:hover{background:none;border:0;color:#1a1714;opacity:.9}
a.rm-menu:hover::after{transform:scaleX(1)}

/* 전체 메뉴 — 메가 메뉴 (2026-11-11 담당자 시안, 2026-11-23 "통일안 2"로 다시 짬). PC · 모바일이 같은 내용(.mg)을 쓴다.
   내용(HTML)은 각 페이지의 .mn-cols 바로 뒤 <div class="mg">. 예전 메뉴(.mn-cols)는 화면에 내지 않는다.
   PC(821px 이상): 제품 네 칸이 모두 같은 틀 — 사진 → 제목 → 한 줄 설명 → 제품 줄 — 이고, 오른쪽에 고객지원 · ABOUT 칸(연한 바탕).
     네 칸 = SKINS(.mg-c0, UVB+UVA+HEV) · 자동차 열 차단 필름(.mg-c1, UVB+UVA) · 아키텍처(.mg-c2) · 프로텍션·케어(.mg-c3).
     SKINS 칸만 다른 점은 두 가지뿐: 제목의 "+HEV" 가 보라색, 제품 줄 아래 [SKINS 알아보기] 버튼. 칸 전체가 SKINS 상세로 가는 링크 하나다.
     사진 · 제목 · 제품 줄의 높이가 네 칸에서 같아야 한다. 한 칸의 글 크기나 여백만 바꾸면 줄이 어긋난다.
   모바일(820px 이하): SKINS 띠 → 두 칸씩(UVB+UVA | 고객지원, 아키텍처 | ABOUT) → 프로텍션·케어 → 딜러십. 사진은 빼고 제목 + 한 줄 설명만.
   2026-11-18: 고객지원 · ABOUT 이 안 보인다는 담당자 지적으로 (1) 메뉴가 화면보다 길면 메뉴 안에서 내려볼 수 있게 하고
   (2) 세로가 낮은 PC 화면에서는 촘촘하게 줄이고 (3) 모바일에서는 고객지원 · ABOUT 을 위로 올렸다.
   페이지의 메뉴 내용과 이 파일을 함께 바꿀 때는 페이지의 <link … site-ui.css?v=숫자> 의 숫자를 올린다(브라우저가 이 파일을 1시간 기억한다). */
#main-menu .mn-cols{display:none!important}
#main-menu .mn-panel2{box-sizing:border-box!important;max-height:100%!important;max-height:100dvh!important;overflow-y:auto!important;overscroll-behavior:contain}
/* 딜러십 링크 (2026-11-18): RAYNO MALL 옆. RAYNO MALL 과 같은 글자 모양(영문 대문자 DEALERSHIP)에 가게 아이콘만 다르다. 모바일은 메뉴 맨 아래(.mg-util) */
a.rm-top.rm-deal::before{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M4 9.5l1.3-5h13.4l1.3 5'/><path d='M4 9.5a2.67 2.67 0 0 0 5.33 0a2.67 2.67 0 0 0 5.34 0a2.67 2.67 0 0 0 5.33 0'/><path d='M5.5 12.6V20h13v-7.4'/><path d='M10 20v-4.4h4V20'/></svg>")}
a.rm-menu.rm-deal::before{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1714' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M4 9.5l1.3-5h13.4l1.3 5'/><path d='M4 9.5a2.67 2.67 0 0 0 5.33 0a2.67 2.67 0 0 0 5.34 0a2.67 2.67 0 0 0 5.33 0'/><path d='M5.5 12.6V20h13v-7.4'/><path d='M10 20v-4.4h4V20'/></svg>")}
a.rm-menu{vertical-align:middle}
a.rm-menu.rm-deal{margin-left:clamp(20px,2.2vw,34px)}
.mg-util{display:none}
.mg{display:grid;color:#1a1714}
.mg a{text-decoration:none;color:inherit}
.mg-c0{display:block}
.mg-c0 .mg-ph,.mg-c0 .mg-ko,.mg-c0 .mg-desc,.mg-c0 .mg-list,.mg-row{display:block}
.mg-hev{color:#7C5CE0}
/* 메뉴 안의 사진 4장은 <img> 가 아니라 배경으로 넣는다 (2026-11-18). 메뉴가 닫혀 있는 동안(display:none)에는 브라우저가 배경 그림을 내려받지 않아, 메뉴를 열지 않는 방문자는 이 사진들을 받지 않는다. */
/* SKINS 공식 로고 (2026-11-17): 글자는 화면 낭독기용으로 남기고, 화면에는 로고 그림을 보여준다 */
.mg-skins-wm{display:block;aspect-ratio:1600/420;background:url(mimos/skins-logo-purple.webp) left center/contain no-repeat;font-size:0;line-height:0;color:transparent}
.mg-skins-btn{display:inline-flex;align-items:center;gap:10px;border-radius:999px;background:#7C5CE0;color:#fff;font-weight:700;transition:background .25s}
.mg-col{min-width:0}
.mg-ph{aspect-ratio:16/10;border-radius:8px;overflow:hidden;background:#e9e4dc}
.mg-c0 .mg-ph{background:#ebdbde url(menu-skins.webp) 50% 50%/cover no-repeat}
.mg-c1 .mg-ph{background:#e9e4dc url(menu-automotive.webp) center/cover no-repeat}
.mg-c2 .mg-ph{background:#e9e4dc url(menu-architecture.webp) center/cover no-repeat}
.mg-c3 .mg-ph{background:#e9e4dc url(menu-protection.webp) center/cover no-repeat}
.mg-ko{font-weight:800;letter-spacing:-.02em;line-height:1.2}
.mg-en{font-weight:600;letter-spacing:.14em;color:#9a968f;margin-top:6px}
.mg-desc{line-height:1.55;color:#55514c;word-break:keep-all}
.mg-list a,.mg-row{display:block;border-top:1px solid rgba(26,23,20,.1);font-weight:600;letter-spacing:.01em;word-break:keep-all;transition:color .2s}
.mg-list a svg{display:none}
/* 제품 이름: 한글을 앞에 진하게, 영문은 뒤에 작고 옅게 (2026-11-18, 푸터와 같은 방식) */
.mg-pen{font-size:.8em;font-weight:500;color:#9a968f;letter-spacing:.04em;margin-left:7px}
.mg-list a:hover{color:#F4911C}
.mg-c0:hover .mg-row{color:#7C5CE0}  /* 스킨스 칸은 주황이 아니라 SKINS 보라 (2026-11-25. 제목의 "+HEV" 와 같은 색) */
@media (min-width:821px){
  #main-menu .mn-panel2>div:first-child{margin-bottom:clamp(18px,2vw,28px)!important}
  .mg{grid-template-columns:repeat(4,minmax(0,1fr)) minmax(0,1.1fr);gap:clamp(16px,1.9vw,30px);max-width:1360px;margin:clamp(14px,1.6vw,22px) auto 0}
  .mg-c0 .mg-skins-wm{display:none}
  .mg-c0 .mg-skins-btn{margin-top:16px;padding:11px 18px;font-size:13.5px}
  .mg-c0:hover .mg-skins-btn{background:#5B3FC4}
  .mg-ko{font-size:clamp(19px,1.6vw,23px);margin-top:18px}
  .mg-en{font-size:11.5px}
  .mg-desc{font-size:13.5px;margin:8px 0 12px;min-height:3.1em}  /* 3.1em = 두 줄. 한 칸만 두 줄이 돼도 제품 줄이 어긋나지 않게 */
  .mg-list a,.mg-row{padding:11px 2px;font-size:14px}
  .mg-side{background:#f7f5f1;border-radius:12px;padding:clamp(16px,1.5vw,22px) clamp(16px,1.5vw,22px) 6px;align-self:start}
  .mg-side .mg-ko{margin-top:0}
  .mg-side .mg-grp+.mg-grp{margin-top:clamp(20px,2vw,28px)}
  .mg-side .mg-list{margin-top:12px}
}
/* 세로가 낮은 PC 화면(노트북): 사진을 낮추고 설명을 빼 한 화면에 들어오게 한다 */
@media (min-width:821px) and (max-height:820px){
  #main-menu .mn-panel2{padding-top:16px!important;padding-bottom:18px!important}
  #main-menu .mn-panel2>div:first-child{margin-bottom:6px!important}
  #main-menu .mn-panel2>a.rm-menu{margin-bottom:8px!important}
  .mg{margin-top:4px}
  .mg-c0 .mg-skins-btn{margin-top:10px;padding:8px 14px}
  .mg-ph{aspect-ratio:16/7}
  .mg-ko{font-size:18px;margin-top:12px}
  .mg-desc{font-size:12.5px;line-height:1.4;margin:5px 0 0;min-height:0}
  .mg-list{margin-top:10px}
  .mg-list a,.mg-row{padding:7px 2px;font-size:13.5px}
  .mg-side{padding:14px 16px 4px}
  .mg-side .mg-grp+.mg-grp{margin-top:14px}
  .mg-side .mg-list{margin-top:8px}
}
/* 세로가 낮고 폭도 좁은 PC(태블릿 가로 등): SKINS 설명이 두 줄이 되므로 네 칸 모두 두 줄 높이를 잡아 제품 줄을 맞춘다 */
@media (min-width:821px) and (max-width:1219px) and (max-height:820px){
  .mg-desc{min-height:2.8em}
}
@media (max-width:820px){
  #main-menu .mn-panel2{background:#fbfaf8!important}
  #main-menu .mn-panel2>a.rm-menu.rm-deal{display:none}
  .mg{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 20px;margin-top:4px}
  .mg-c0{grid-column:1 / -1;order:0;position:relative;display:flex;flex-direction:column;justify-content:center;min-height:116px;padding:16px 18px;box-sizing:border-box;border-radius:12px;overflow:hidden;background:#EFEBFB}
  /* 사진(2026-11-23 새 사진)은 얼굴이 오른쪽 절반을 채운다. 글은 왼쪽 절반 안에 들어가야 얼굴과 겹치지 않으므로 설명을 두 줄로 나눈다(max-width) */
  .mg-c0::before{content:"";position:absolute;inset:0;background:url(menu-skins.webp) 50% 38%/cover no-repeat}
  .mg-c0::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#EFEBFB 0%,rgba(239,235,251,.94) 32%,rgba(239,235,251,0) 56%)}
  .mg-c0>*{position:relative;z-index:1}
  .mg-c0 .mg-ph,.mg-c0 .mg-list,.mg-c0 .mg-skins-btn{display:none}
  .mg-c1{order:1}.mg-g1{order:2}.mg-c2{order:3}.mg-g2{order:4}.mg-c3{order:5}
  .mg-c0 .mg-skins-wm{width:92px}
  .mg-ph{display:none}
  .mg-desc{font-size:12px;line-height:16.5px;margin:5px 0 0;color:#6b6863}
  .mg-ko{font-size:17px}
  .mg-c0 .mg-ko{font-size:18px;margin-top:10px}
  .mg-c0 .mg-desc{font-size:12.5px;line-height:1.3;margin:4px 0 0;color:#3d3935;max-width:10.5em}
  .mg-en{font-size:10.5px;margin-top:5px}
  .mg-list{margin-top:12px}
  .mg-list a{padding:12px 0;font-size:14.5px}
  .mg-side{display:contents}
  .mg-util{display:block;order:6;grid-column:1 / -1;padding-top:16px;border-top:1px solid rgba(26,23,20,.12)}
  .mg-util a{display:inline-flex;align-items:center;gap:9px;min-height:44px;font-size:13px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:#1a1714;text-decoration:none}
  .mg-util a::before{content:"";width:18px;height:18px;flex:none;background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1714' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M4 9.5l1.3-5h13.4l1.3 5'/><path d='M4 9.5a2.67 2.67 0 0 0 5.33 0a2.67 2.67 0 0 0 5.34 0a2.67 2.67 0 0 0 5.33 0'/><path d='M5.5 12.6V20h13v-7.4'/><path d='M10 20v-4.4h4V20'/></svg>") center/contain no-repeat}
  .mg::after{content:"고객센터 1588-8695 · 평일 10:00–12:00 / 13:00–17:00";order:7;grid-column:1 / -1;margin-top:-10px;font-size:12px;color:#9a968f;line-height:1.7}
}

/* 제품 페이지 아래 라인업의 SKINS 카드: 작은 영문 이름표 자리에 SKINS 로고 (2026-11-17).
   8개 제품 페이지가 같은 카드를 쓰므로 여기 한 곳에서 바꾼다. 글자는 낭독기용으로 남는다 */
.pd-lc-text[data-prod="mimos"] .lu-en{width:clamp(60px,4.8vw,72px);aspect-ratio:1600/420;background:url(mimos/skins-logo-white.webp) left center/contain no-repeat;font-size:0;line-height:0;color:transparent}

/* 제품 페이지 "상세 사양 · 핵심 사양" 제목 오른쪽의 [브로슈어 보기] 버튼 (2026-11-18).
   8개 제품 페이지가 같이 쓴다. 모양은 같은 페이지의 "시공점 찾기" 버튼과 맞췄다.
   브로슈어 주소는 각 페이지의 버튼(a.pd-broch)에 적혀 있다. 휴대폰에서는 제목 아래로 내려간다 */
.pd-spec-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px 32px;flex-wrap:wrap}
.pd-spec-head.is-center{display:grid;grid-template-columns:1fr auto 1fr;align-items:end;gap:20px 24px}
.pd-spec-head.is-center>div{grid-column:2}
.pd-spec-head.is-center>.pd-broch{grid-column:3;justify-self:end}
a.pd-broch{flex:none;display:inline-flex;align-items:center;gap:12px;padding:18px 32px;border-radius:100px;background:#1a1005;color:#fff;font-family:'Pretendard',sans-serif;font-weight:700;font-size:clamp(15px,1.3vw,17px);letter-spacing:-.01em;text-decoration:none;white-space:nowrap;transition:transform .3s ease,box-shadow .3s ease,filter .3s ease}
a.pd-broch:hover{transform:translateY(-2px);box-shadow:0 16px 36px rgba(244,145,28,.42);filter:brightness(1.05)}
a.pd-broch:focus-visible{outline:3px solid #F4911C;outline-offset:3px}
.pd-broch-arr{flex:none;transition:transform .3s ease}
a.pd-broch:hover .pd-broch-arr{transform:translate(2px,-2px)}
@media (max-width:760px){
.pd-spec-head,.pd-spec-head.is-center{display:flex;flex-direction:column;flex-wrap:nowrap;align-items:flex-start;gap:22px}
.pd-spec-head.is-center{align-items:center}
a.pd-broch{padding:16px 28px}
}
@media (prefers-reduced-motion:reduce){a.pd-broch,.pd-broch-arr{transition:none}a.pd-broch:hover{transform:none}a.pd-broch:hover .pd-broch-arr{transform:none}}
