/* ============================================================
   LUSEN 서브페이지(쇼핑몰) 공통 스타일
   사용처: shop.head.php, shop.tail.php,
           skin/shop/lusen/listcategory.skin.php,
           skin/shop/lusen/list.10.skin.php,
           skin/shop/lusen/item.info.skin.php
   ============================================================ */


@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.css');

:root {
  --lu-bg: #ffffff;
  --lu-ink: #111111;
  --lu-ink-dim: #8a8779;
  --lu-inactive: #c7c4b8;
  --lu-line: rgba(17, 17, 17, 0.10);
}

body {
  background: var(--lu-bg) !important;
  color: var(--lu-ink);
  font-family: 'Jost', 'Pretendard', -apple-system, sans-serif !important;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body * {
  font-family: inherit;
}

/* 기본 쇼핑몰의 1200px 최소 너비를 해제해 반응형 레이아웃을 적용한다. */
#wrapper {
  min-width: 0;
}

/* ---------- 헤더 : 상단 아이콘줄 + 로고/메뉴 ---------- */
.ek-header {
  position: relative;
}

.ek-util-bar {
  position: absolute;
  top: 36px;
  right: 4vw;
  z-index: 10;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 33px;
}

.ek-social-btn {
  color: var(--lu-inactive);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: .85;
  transition: opacity .3s ease, color .3s ease, background .3s ease;
  text-decoration: none;
  padding: 12px;
  margin: -12px;
  border-radius: 50%;
  border: none;
  background: none;
  cursor: pointer;
}

.ek-social-btn:hover,
.ek-social-btn:focus-visible {
  opacity: 1;
  color: var(--lu-ink);
  background: rgba(17, 17, 17, 0.06);
}

.ek-social-btn svg {
  width: 26px;
  height: 26px;
}

.ek-util-lang-wrap {
  position: relative;
}

.ek-util-lang-popover {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  background: #000000;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  padding: 4px;
  min-width: 80px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}

.ek-util-lang-popover.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.ek-util-lang-popover button {
  background: none;
  border: none;
  color: var(--lu-inactive);
  font-family: inherit;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  width: 100%;
  padding: 8px 10px;
  border-radius: 5px;
  cursor: pointer;
  transition: color .25s ease, background .25s ease;
}

.ek-util-lang-popover button:hover,
.ek-util-lang-popover button.is-active {
  color: #e0b97e;
  background: rgba(224, 185, 126, 0.08);
}

.ek-topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  padding: 26px 4vw;
  border-bottom: 1px solid var(--lu-line);
}

.ek-brand {
  display: flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
}

.ek-logo {
  height: 120px;
  width: auto;
  display: block;
}

.ek-brand-x {
  font-size: 44px;
  font-weight: 400;
  color: #111111;
  line-height: 1;
}

.ek-brand-ekinex-img {
  height: 38px;
  width: auto;
  display: block;
}

.ek-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  transform: translateY(40px);
}

.ek-nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: clamp(14px, 1.8vw, 22px);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--lu-inactive);
  padding-bottom: 8px;
  transition: color .3s ease;
  white-space: nowrap;
}

.ek-nav-link.is-active {
  color: var(--lu-ink);
}

.ek-nav-link:hover {
  color: var(--lu-ink);
}

.ek-nav-divider {
  color: var(--lu-line);
  font-size: 20px;
  font-weight: 300;
}

/* ---------- 공통 레이아웃 그릇 ---------- */
#wrapper {
  width: 100%;
  background: #ffffff;
  max-width: 100vw;
  overflow-x: hidden;
}

#container {
  display: block;
  width: 100%;
  background: #ffffff;
}

#aside {
  display: none;
}

.shop-content {
  width: 100%;
  background: #ffffff;
}

/* 분류 상단내용(ca_head_html) 원본 블록 : 좌측 패널/로고 이미지로 재사용하므로 항상 숨김 */
#sct_hhtml {
  display: none;
}

/* 분류 하단내용(ca_tail_html) : 제품분류(카드 갤러리) 다음, 푸터 앞에 소개문구로 노출 (헤더와 같은 좌우 4vw 폭) */
#sct_thtml {
  width: 100%;
  padding: 60px 4vw 80px;
}

/* 상위분류(시리즈/브랜드 카드 갤러리) 페이지의 페이지네이션 : 하위 전체 상품 개수 기준이라 의미가 없어 숨김 */
#sct:has(.ek-track) .pg_wrap,
#sct:has(.ek-brand-wall) .pg_wrap {
  display: none;
}

/* 소개문구 + 연락처 2단 블록 (메인페이지 푸터와 같은 톤) */
.lu-footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 48px;
  width: 100%;
  padding-bottom: 44px;
}

.lu-footer-desc-block {
  max-width: none;
}

.lu-footer-title {
  margin: 0 0 20px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #111111;
}

.lu-footer-desc p {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.8;
  color: #8a8779;
  letter-spacing: 0.01em;
}

.lu-footer-desc p:last-child {
  margin-bottom: 0;
}

.lu-footer-contact-block {
  padding-top: 4px;
}

.lu-footer-contact {
  display: grid;
  grid-template-columns: auto auto;
  gap: 10px 24px;
  font-size: 13px;
  letter-spacing: 0.03em;
  margin: 0;
}

.lu-footer-contact dt {
  color: #8a8779;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 11px;
  font-weight: 700;
  align-self: center;
}

.lu-footer-contact dd {
  margin: 0;
  color: #6f6d61;
  font-weight: 500;
}

/* ---------- 시리즈 전환탭 (Switch: ERA/Proxima/FF Series 등) ---------- */
.ek-subbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 30px 4vw 30px 4vw;
}

.ek-series-switch {
  display: flex;
  gap: 22px;
}

.ek-series-switch a {
  font-size: clamp(14px, 1.8vw, 22px);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: #c7c4b8;
  padding-bottom: 6px;
  border-bottom: 1px solid transparent;
  transition: color .3s ease, border-color .3s ease;
}

.ek-series-switch a.is-active {
  color: #111111;
  border-color: #111111;
}

.ek-series-switch a:hover {
  color: #111111;
}

/* ---------- EKINEX Switch 상위분류 : 시리즈 카드 갤러리 ---------- */
.ek-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.4vw, 40px);
  padding: 40px 4vw 60px;
  width: 100%;
}

.ek-card {
  position: relative;
  width: 100%;
  aspect-ratio: 4/4.2;
  border-radius: 2px;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  background: #15151a;
  display: block;
}

.ek-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(.25) brightness(.82);
  transform: scale(1.02);
  transition: transform 1.1s cubic-bezier(.16, 1, .3, 1), filter .6s ease;
}

.ek-card:hover .ek-card-img {
  transform: scale(1.13);
  filter: grayscale(0) brightness(.9);
}

.ek-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .6) 100%);
  z-index: 1;
  transition: opacity .5s ease;
}

.ek-card:hover::before {
  opacity: .85;
}

.ek-card-name {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 30px;
  text-align: center;
  color: #ffffff;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  z-index: 2;
  transition: transform .5s cubic-bezier(.16, 1, .3, 1);
}

.ek-card:hover .ek-card-name {
  transform: translateY(-4px);
}

.ek-card-name::after {
  content: "";
  display: block;
  width: 28px;
  height: 1px;
  background: #e0b97e;
  margin: 12px auto 0;
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform .5s cubic-bezier(.16, 1, .3, 1);
}

.ek-card:hover .ek-card-name::after {
  transform: scaleX(1);
}

/* ---------- Lighting 상위분류 : 브랜드 로고 그리드 ---------- */
.ek-brand-wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 40px 4vw 60px;
}

.ek-brand-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 72px 24px;
  border: 1px solid var(--lu-line);
  text-decoration: none;
  background: #ffffff;
  overflow: hidden;
}

/* 기본 : 브랜드명 텍스트 (일반 폰트) */
.ek-brand-card-name {
  font-family: 'Jost', 'Pretendard', -apple-system, sans-serif;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #111111;
  transition: opacity .3s ease, transform .3s ease;
}

.ek-brand-card:hover .ek-brand-card-name {
  opacity: 0;
  transform: scale(0.92);
}

/* 호버 시 : 등록된 로고 이미지로 전환 */
.ek-brand-card-logo {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity .35s ease, transform .35s ease;
  pointer-events: none;
}

.ek-brand-card:hover .ek-brand-card-logo {
  opacity: 1;
  transform: scale(1);
}

.ek-brand-card-logo img {
  width: auto;
  height: auto;
  max-width: min(260px, calc(100% - 32px));
  max-height: 110px;
  object-fit: contain;
}

/* ---------- Switch 시리즈(ERA/Proxima/FF Series) : 좌측 패널 + 프로젝트 그리드 ---------- */
.ek-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
}

.ek-product-panel {
  position: sticky;
  top: 0;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-left: 4vw;
}

.ek-product-name {
  margin: 0;
  color: #111111;
  font-size: 20px;
  font-weight: 500;
  text-align: left;
}

.ek-product-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  background: #15151a;
  filter: grayscale(.15);
}

.ek-gallery {
  padding: 0px 4vw 100px;
}

.ek-gallery-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 24px;
}

.ek-gallery-title {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
}

.ek-gallery-count {
  font-size: 13px;
  color: #8a8779;
}

.ek-project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.ek-project-card {
  position: relative;
  display: block;
  aspect-ratio: 1/1;
  border-radius: 0;
  overflow: hidden;
  cursor: pointer;
  background: #ece9e0;
  text-decoration: none;
}

.ek-project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(.1);
  transition: transform .7s cubic-bezier(.16, 1, .3, 1), filter .5s ease;
}

.ek-project-card:hover img {
  transform: scale(1.08);
  filter: grayscale(0);
}

.ek-project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  display: flex;
  align-items: flex-end;
  padding: 18px;
  transition: background .45s ease;
}

.ek-project-card:hover .ek-project-overlay {
  background: rgba(0, 0, 0, .45);
}

.ek-project-info p {
  margin: 0;
  color: #fff;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .4s ease, transform .4s ease;
}

.ek-project-card:hover .ek-project-info p {
  opacity: 1;
  transform: translateY(0);
}

.ek-project-name {
  font-size: 16px;
  font-weight: 500;
}

.ek-project-meta {
  font-size: 11px;
  font-weight: 300;
  color: rgba(255, 255, 255, .75);
  margin-top: 3px !important;
}

.ek-project-plus {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 68px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  opacity: 0;
  transform: translate(-50%, -50%) scale(.7);
  transition: opacity .4s ease, transform .45s cubic-bezier(.16, 1, .3, 1);
}

.ek-project-plus svg {
  width: 100%;
  height: 100%;
}

.ek-project-card:hover .ek-project-plus {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.ek-project-card.lu-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.16, 1, .3, 1), transform .7s cubic-bezier(.16, 1, .3, 1);
}

.ek-project-card.lu-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Lighting 브랜드(SOKA 등) : 좌측 프로젝트 텍스트 리스트 + 우측 사진 콜라주 ---------- */
.lt-brand-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 0;
  align-items: start;
  padding: 40px 4vw 100px;
}

.lt-brand-logo-wrap {
  box-sizing: border-box;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px 24px;
  margin-bottom: 40px;
  background: #f7f6f2;
  isolation: isolate;
}

.lt-brand-name {
  font-family: 'Jost', 'Pretendard', -apple-system, sans-serif;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #111111;
}

.lt-project-list {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.lt-project-row {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 16px 6px 16px 18px;
  border-bottom: 1px solid rgba(17, 17, 17, .08);
  text-decoration: none;
  color: #111111;
  background: rgba(17, 17, 17, 0);
  transition: background .35s ease, padding-left .35s ease;
}

.lt-project-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #111111;
  transform: scaleY(0);
  transition: transform .35s ease;
}

.lt-project-row:hover {
  background: rgba(17, 17, 17, .05);
  padding-left: 26px;
}

.lt-project-row:hover::before {
  transform: scaleY(1);
}

.lt-project-row-name {
  font-size: 16px;
  font-weight: 500;
}

.lt-project-row-meta {
  font-size: 11px;
  color: #8a8779;
}

.lt-collage {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding-left: 40px;
}

.lt-collage .lu-masonry-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
  min-width: 0;
}

.lt-collage-item {
  position: relative;
  display: block;
  border-radius: 2px;
  overflow: hidden;
}

.lt-collage-item img {
  width: 100%;
  height: auto;
  display: block;
  filter: grayscale(.1);
  transition: transform .6s ease, filter .4s ease;
}

.lt-collage-item:hover img {
  transform: scale(1.05);
  filter: grayscale(0);
}

.lt-collage-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  display: flex;
  align-items: flex-end;
  padding: 14px;
  transition: background .45s ease;
}

.lt-collage-item:hover .lt-collage-overlay {
  background: rgba(0, 0, 0, .45);
}

.lt-collage-name,
.lt-collage-meta {
  display: block;
  margin: 0;
  color: #ffffff;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .4s ease, transform .4s ease;
}

.lt-collage-item:hover .lt-collage-name,
.lt-collage-item:hover .lt-collage-meta {
  opacity: 1;
  transform: translateY(0);
}

.lt-collage-name {
  font-size: 13px;
  font-weight: 500;
}

.lt-collage-meta {
  font-size: 11px;
  font-weight: 300;
  color: rgba(255, 255, 255, .75);
  margin-top: 3px;
}

/* ---------- 프로젝트 상세 (item.info.skin.php) ---------- */
.pd-back {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 24px 4vw 0;
  font-size: 13px;
  color: #8a8779;
  text-decoration: none;
  width: fit-content;
}

.pd-back:hover {
  color: #111111;
}

.pd-back svg {
  width: 14px;
  height: 14px;
}

.pd-main {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 56px;
  padding: 32px 4vw 0;
  align-items: start;
}

.pd-info-title {
  margin: 0 0 6px;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #333;
}

.pd-info-category {
  margin: 0 0 32px;
  font-size: 13px;
  color: #8a8779;
  letter-spacing: 0.02em;
}

.pd-meta {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pd-meta li {
  display: grid;
  grid-template-columns: 88px 1fr;
  font-size: 13px;
  line-height: 1.6;
}

.pd-meta-label {
  color: #8a8779;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 11px;
  padding-top: 2px;
}

.pd-meta-value {
  color: #111111;
  font-weight: 400;
}

.pd-meta-link {
  color: #b8925a;
  text-decoration: underline;
  text-underline-offset: 2px;
  word-break: break-all;
  transition: color .2s ease;
}

.pd-meta-link:hover {
  color: #8a6a3d;
}

.pd-desc p {
  margin: 0 0 10px;
  font-size: 12.5px;
  font-weight: 300;
  line-height: 1.8;
  color: #8a8779;
}

.pd-slider {
  position: relative;
  min-width: 0;
  background: #0b0b0b;
  border-radius: 2px;
  overflow: hidden;
  /* background: #ece9e0; */
  aspect-ratio: 16/10;
}

.pd-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .6s ease;
}

.pd-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.pd-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.pd-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .6);
  background: rgba(17, 17, 17, 0.25);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  cursor: pointer;
  transition: background .3s ease;
  z-index: 2;
}

.pd-slider-btn:hover {
  background: rgba(17, 17, 17, 0.45);
}

.pd-slider-btn.prev {
  left: 18px;
}

.pd-slider-btn.next {
  right: 18px;
}

.pd-slider-btn svg {
  width: 16px;
  height: 16px;
}

.pd-slider-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  display: flex;
  justify-content: center;
  gap: 7px;
  z-index: 2;
}

.pd-slider-dot {
  padding: 0;
  border: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .5);
  cursor: pointer;
  transition: background .3s ease, transform .3s ease;
}

.pd-slider-dot.is-active {
  background: #ffffff;
  transform: scale(1.3);
}

.pd-products {
  grid-column: 2 / 3;
  padding: 36px 0 100px;
}

.pd-products-title {
  margin: 0 0 22px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8a8779;
}

.pd-product-row {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.pd-product-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-decoration: none;
  width: 140px;
}

.pd-product-thumb {
  width: 140px;
  height: 140px;
  border-radius: 2px;
  background: #15151a;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pd-product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(.2) brightness(.92);
  transition: transform .6s cubic-bezier(.16, 1, .3, 1), filter .4s ease;
}

.pd-product-card:hover .pd-product-thumb img {
  transform: scale(1.1);
  filter: grayscale(0);
}

.pd-product-name {
  font-size: 11.5px;
  line-height: 1.5;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #111111;
}

/* ---------- 푸터 ---------- */
.lu-footer {
  margin-top: clamp(50px, 8vw, 100px);
  padding: 32px 4vw;
  background: #ffffff;
  border-top: 1px solid rgba(17, 17, 17, 0.10);
}

.lu-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #a6a396;
}

.lu-footer-copy {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.lu-footer-gear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  opacity: .55;
  transition: opacity .3s ease, transform .3s ease;
}

.lu-footer-gear:hover,
.lu-footer-gear:focus-visible {
  opacity: 1;
  transform: rotate(35deg);
}

.lu-footer-gear svg {
  width: 15px;
  height: 15px;
}

.lu-footer-logout,
.lu-footer-admin-link {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #a6a396;
  text-decoration: none;
  transition: color .3s ease;
}

.lu-footer-logout:hover,
.lu-footer-admin-link:hover {
  color: #111111;
}

/* ---------- 맨 위로 버튼 ---------- */
.lu-top-btn {
  position: fixed;
  right: 28px;
  bottom: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(17, 17, 17, 0.12);
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
  color: #111111;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .3s ease, transform .3s ease, background .3s ease;
  z-index: 999;
}

.lu-top-btn.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.lu-top-btn:hover {
  background: #f3f1eb;
}

.lu-top-btn svg {
  width: 20px;
  height: 20px;
}

/* ============================================================
   반응형
   ============================================================ */
@media (max-width:900px) {
  .ek-topbar {
    padding: 20px 6vw;
  }

  .ek-brand {
    gap: 12px;
  }

  .ek-logo {
    height: 90px;
  }

  .ek-brand-x {
    font-size: 32px;
  }

  .ek-brand-ekinex-img {
    height: 28px;
  }

  .ek-brand-wall {
    grid-template-columns: repeat(3, 1fr);
    margin: 28px 6vw 44px;
  }

  .ek-track {
    grid-template-columns: repeat(2, 1fr);
    padding: 28px 6vw 44px;
  }

  .ek-project-grid {
    grid-template-columns: repeat(2, 1fr);
  }
#sct_thtml {
    padding: 40px 6vw 60px;
  }

  .lu-footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .lu-footer-contact {
    grid-template-columns: auto 1fr;
  }

  .ek-card {
    width: 100%;
  }

  .ek-layout {
    grid-template-columns: 1fr;
  }

  .ek-product-panel {
    position: relative;
    margin-left: 0;
    aspect-ratio: 16/9;
  }

  .ek-gallery {
    padding: 36px 6vw 70px;
  }

  .ek-subbar {
    padding: 16px 6vw;
  }

  .ek-series-switch {
    gap: 14px;
  }

  .lt-brand-layout {
    grid-template-columns: 1fr;
    padding: 28px 6vw 70px;
  }

  .lt-collage {
    padding-left: 0;
    margin-top: 28px;
  }

  .pd-main {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 24px 6vw 0;
  }

  .pd-products {
    grid-column: 1;
    padding: 28px 0 70px;
  }

  .pd-back {
    padding: 20px 6vw 0;
  }
}


@media (max-width:480px) {
  .ek-brand-wall {
    grid-template-columns: repeat(2, 1fr);
  }

  .ek-brand-card {
    padding: 28px 16px;
  }

  .ek-project-grid {
    grid-template-columns: 1fr;
  }
.ek-util-bar {
    top: 10px;
    right: 5vw;
    gap: 30px;
  }

  .ek-social-btn svg {
    width: 20px;
    height: 20px;
  }

  .ek-topbar {
    padding: 16px 5vw;
    gap: 10px 12px;
  }

  .ek-nav {
    gap: 16px;
  }

  .ek-nav-link {
    letter-spacing: 0.02em;
    padding-bottom: 6px;
  }

  .ek-nav-divider {
    font-size: 16px;
  }

  .ek-track {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ek-card-name {
    font-size: 16px;
    bottom: 20px;
  }

  .pd-info-title {
    font-size: 21px;
  }

  .pd-meta li {
    grid-template-columns: 72px 1fr;
  }

  .pd-product-row {
    gap: 16px;
  }

  .pd-product-card {
    width: calc(50% - 8px);
  }

  .pd-product-thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
  }

  .lu-top-btn {
    width: 42px;
    height: 42px;
    right: 16px;
    bottom: 16px;
  }
}

@media (max-width:420px) {
  .lt-brand-name {
    font-size: 22px;
  }
}

@media (max-width:760px) {
  .lu-footer {
    padding: 48px 7vw 28px;
  }

  .lu-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Mobile category pages: shared gutters, centered headings and stable type sizes. */
@media (max-width: 900px) {
  .ek-subbar { justify-content: center; padding: 20px 24px; }
  .ek-series-switch { justify-content: center; flex-wrap: wrap; gap: 10px 14px; }
  .ek-series-switch a { font-size: 12px; line-height: 20px; letter-spacing: 0; }
  .ek-layout .ek-product-panel { position: relative; margin: 0; padding: 12px 24px 0; aspect-ratio: auto; gap: 20px; align-items: center; }
  .ek-layout .ek-product-name { width: 100%; text-align: center; font-size: 18px; line-height: 26px; font-weight: 500; }
  .ek-layout .ek-product-img { width: 100%; max-width: 400px; height: 260px !important; aspect-ratio: auto; object-fit: contain; background: transparent; }
  .ek-layout .ek-gallery { min-width: 0; padding: 32px 24px 64px; }
  .ek-layout .ek-gallery-head { flex-direction: column; align-items: center; gap: 6px; margin-bottom: 24px; text-align: center; }
  .ek-layout .ek-gallery-title { font-size: 18px; font-weight: 500; line-height: 26px; }
  .ek-layout .ek-gallery-count { font-size: 12px; line-height: 20px; }
  .ek-project-name { font-size: 18px; line-height: 26px; }
  .ek-project-meta { font-size: 14px; line-height: 22px; }
}
/* Small screens navigate photos by swipe or position dots. */
@media (max-width: 900px) {
  .pd-slider-btn { display: none; }
}

/* Photos blend into the page without frames or contrasting letterbox panels. */
.ek-project-card, .ek-project-card img, .pd-slider, .pd-slide, .pd-slide img,
.pd-product-thumb, .pd-product-thumb img { border: 0; border-radius: 0; box-shadow: none; }
.ek-project-card, .pd-slider, .pd-product-thumb { background: #000; }
.pd-slider:focus:not(:focus-visible), .ek-project-card:focus:not(:focus-visible) { outline: none; }
/* Exclude the outer raster edge; drop the reveal transform once settled. */
.ek-project-card { clip-path: inset(1px); }
.ek-project-card.lu-reveal.is-visible { transform: none; }
/* Mobile header: compact utilities, centered logo, then centered main navigation. */
@media (max-width: 900px) {
  .ek-util-bar { top: 8px; right: 18px; transform: none; gap: 0; }
  .ek-util-bar .ek-social-btn { width: 32px; height: 32px; padding: 7px; margin: 0; }
  .ek-util-bar .ek-social-btn svg { width: 18px; height: 18px; }
  .ek-topbar { flex-direction: column; flex-wrap: nowrap; align-items: center; gap: 18px; padding: 44px 24px 20px; border-bottom-width: .5px; }
  .ek-brand { justify-content: center; }
  .ek-logo { height: 104px; }
  .ek-nav { width: 100%; justify-content: center; flex-wrap: nowrap; gap: 18px; transform: none; }
  .ek-nav-link { font-size: 16px; line-height: 24px; padding-bottom: 0; letter-spacing: .02em; }
  .ek-nav-divider { font-size: 16px; line-height: 24px; }
}
/* Desktop arrows stay subdued until hovered or reached by keyboard. */
@media (min-width: 901px) {
  .pd-slider-btn { opacity: .3; transition: opacity .2s ease, background .3s ease; }
  .pd-slider-btn:hover, .pd-slider-btn:focus-visible { opacity: .85; }
}

/* Compact mobile Switch overview cards. */
@media (max-width: 900px) {
  .ek-track { padding: 16px 24px 40px; gap: 12px; }
  .ek-track .ek-card { aspect-ratio: 16 / 11; }
  .ek-track .ek-card-name { bottom: 16px; font-size: 16px; }
}

/* Category panel titles use consistent uppercase lettering. */
.ek-product-name, .lt-brand-name { text-transform: uppercase; }

/* Shared body size: project copy set to 14px. */
.pd-desc,
.pd-desc p, .pd-desc span, .pd-desc a, .pd-desc strong,
.pd-desc em, .pd-desc li, .pd-desc div,
.pd-info-category, .pd-meta li, .pd-meta-label, .pd-meta-value,
.ek-layout .ek-gallery-count, .ek-project-meta,
.lt-project-row-meta, .lt-collage-meta,
.lu-footer-desc, .lu-footer-desc p,
.lu-footer-contact, .lu-footer-contact dt, .lu-footer-contact dd {
  font-size: 14px;
}
.pd-desc { line-height: 1.8; }
.pd-meta li {
  grid-template-columns: 88px minmax(0, 1fr);
  column-gap: 12px;
}
