
:root {
  --paper: #fafbfb;
  --paper-soft: #eef2f5;
  --ink: #101820;
  --steel: #6b7580;
  --line: #e4e7ea;
  --deep: #12314f;
  --deep-2: #1c3a52;
  --aqua: #0ea8b7;
  --white: #ffffff;
  --radius: 3px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Noto Sans KR', 'Malgun Gothic', sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* offset anchored sections so the sticky header doesn't cover the title */
#about, #history, #products, #shower, #contact {
  scroll-margin-top: 118px;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--aqua);
  font-weight: 600;
}

/* ---------- Header ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,251,251,0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px 28px 14px;
}

.logo img { height: 30px; }

.header-utility {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 12.5px;
  letter-spacing: .2px;
  color: var(--steel);
}

.header-utility .search-box {
  display: flex;
  align-items: center;
  border: none;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 4px 2px;
  gap: 8px;
}
.header-utility .search-box input {
  border: none;
  outline: none;
  font-size: 13px;
  width: 120px;
  background: transparent;
  color: var(--ink);
}
.header-utility .search-box button {
  border: none;
  background: none;
  cursor: pointer;
  color: var(--steel);
}
.header-utility .search-box:focus-within { border-color: var(--aqua); }
.header-utility .search-box:focus-within button { color: var(--aqua); }
.header-utility a:hover { color: var(--ink); }

.lang-toggle {
  border: 1px solid var(--line);
  background: none;
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .6px;
  color: var(--steel);
  cursor: pointer;
  line-height: 1;
  white-space: nowrap;
}
.lang-toggle:hover { border-color: var(--aqua); color: var(--aqua); }

.hamburger-btn {
  display: none;
  background: none;
  border: none;
  font-size: 19px;
  color: var(--ink);
  cursor: pointer;
  padding: 4px 6px;
  line-height: 1;
}

nav.main-nav {
  border-top: 1px solid var(--line);
}
.nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 15px 28px;
}
.nav-list > li {
  position: relative;
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .2px;
  line-height: 1;
}
.nav-list > li > a, .nav-list > li > span { padding: 6px 2px; line-height: 1; }
.nav-list > li:hover > a { color: var(--aqua); }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  background: none;
  border: none;
  margin: 0;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .2px;
  line-height: 1;
  padding: 6px 2px;
  cursor: pointer;
  color: var(--ink);
}
.has-dropdown:hover .nav-toggle,
.has-dropdown.open .nav-toggle { color: var(--aqua); }

.dropdown {
  display: none;
  position: absolute;
  top: 34px;
  left: 50%;
  transform: translateX(-50%);
  min-width: 200px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 20px 40px rgba(16,24,32,0.09);
  padding: 14px 0;
  border-radius: var(--radius);
  z-index: 200;
}
.has-dropdown.open .dropdown { display: block; }
@media (hover: hover) and (pointer: fine) {
  .has-dropdown:hover .dropdown { display: block; }
}
.dropdown a {
  display: block;
  padding: 9px 22px;
  font-size: 13.5px;
  font-weight: 400;
  color: var(--steel);
  white-space: nowrap;
}
.dropdown a:hover { color: var(--ink); background: var(--paper-soft); }

.nav-mobile-utility { display: none; }

/* ---------- Hero Slider ---------- */
.hero-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16/6.2;
  overflow: hidden;
  background: var(--deep);
}
.hero-slider .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-slider .slide.active { opacity: 1; }
.hero-slider .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: var(--deep);
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(9,16,23,0.82) 0%, rgba(9,16,23,0.32) 42%, rgba(9,16,23,0.05) 68%);
  z-index: 2;
  pointer-events: none;
}
.hero-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 44px;
  z-index: 3;
  color: #fff;
}
.hero-copy .eyebrow { color: #86e3ea; margin-bottom: 16px; }
.hero-copy h1 {
  margin: 0;
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 300;
  line-height: 1.28;
  letter-spacing: -.3px;
  max-width: 620px;
}
.hero-copy h1 b { font-weight: 700; }
.hero-copy p {
  margin: 18px 0 26px;
  font-size: 14.5px;
  color: #c3d3de;
  max-width: 420px;
}
.hero-copy .btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--deep);
  padding: 13px 26px;
  border-radius: var(--radius);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .2px;
}
.hero-copy .btn-hero:hover { background: var(--aqua); color: #fff; }
.hero-dots {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}
.hero-dots span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
}
.hero-dots span.active { background: #fff; }

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section-tight { padding: 60px 0; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.feature-card figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}
.feature-card img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  transition: transform .7s ease;
}
.feature-card:hover img { transform: scale(1.045); }
.feature-card figcaption {
  position: absolute;
  left: 26px;
  bottom: 22px;
  color: #fff;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: .2px;
}
.feature-card figcaption i { margin-left: 6px; font-style: normal; }
.feature-card figure::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(9,16,23,.55) 0%, rgba(9,16,23,0) 55%);
}
.feature-card p.caption-text {
  margin-top: 18px;
  font-size: 14.5px;
  color: var(--steel);
}

.section-title {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 16px;
  margin-bottom: 44px;
  text-align: center;
}
.section-title .kr {
  font-size: 26px;
  font-weight: 700;
  color: var(--ink);
}
.section-title .en {
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--aqua);
  font-weight: 600;
}
.section-title-wrap { text-align: center; margin-bottom: 44px; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 44px;
}
.section-head .section-title { text-align: left; justify-content: flex-start; margin-bottom: 0; flex-direction: column; align-items: flex-start; gap: 8px; }
.view-all {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--steel);
  white-space: nowrap;
  border-bottom: 1px solid var(--line);
  padding-bottom: 3px;
}
.view-all:hover { color: var(--aqua); border-color: var(--aqua); }

/* ---------- About stats (홈 회사소개) ---------- */
.about-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-top: 40px;
  flex-wrap: wrap;
  text-align: center;
}
.about-stat .en {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--aqua);
  font-weight: 600;
  margin-bottom: 8px;
}
.about-stat b {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}
.about-stat span {
  display: block;
  font-size: 12.5px;
  color: var(--steel);
}

/* ---------- Flagship spotlight ---------- */
.spotlight { background: var(--paper-soft); }
.spotlight-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  border-radius: 4px;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
}
.spotlight-visual { position: relative; min-height: 420px; overflow: hidden; }
.spotlight-visual img { width: 100%; height: 100%; object-fit: cover; }
.spotlight-body { padding: 56px 60px; display: flex; flex-direction: column; justify-content: center; }
.spotlight-body .eyebrow { margin-bottom: 16px; }
.spotlight-body h3 { margin: 0 0 6px; font-size: 30px; font-weight: 700; }
.spotlight-body .en { color: var(--steel); font-size: 13.5px; margin-bottom: 20px; }
.spotlight-body p { color: var(--steel); font-size: 15px; max-width: 400px; margin-bottom: 28px; }
.spotlight-body .price { font-size: 24px; font-weight: 700; font-variant-numeric: tabular-nums; margin-bottom: 26px; color: var(--deep); }
.spotlight-body .price small { font-size: 13px; font-weight: 400; color: var(--steel); margin-left: 6px; }
.spotlight-body .btn-dark {
  display: inline-flex;
  align-self: flex-start;
  padding: 14px 30px;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .2px;
}
.spotlight-body .btn-dark:hover { background: var(--deep); }

/* ---------- Product Grid ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
}
.product-card figure {
  margin: 0;
  overflow: hidden;
  background: var(--paper-soft);
  border-radius: var(--radius);
  aspect-ratio: 1/1;
  transition: box-shadow .35s ease, transform .35s ease;
}
.product-card:hover figure { box-shadow: 0 20px 36px -14px rgba(16,24,32,0.22); transform: translateY(-3px); }
.product-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.product-card:hover img { transform: scale(1.06); }
.product-card .name {
  margin-top: 16px;
  font-size: 14.5px;
  font-weight: 600;
}
.product-card .spec {
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--steel);
}
.product-card .spec span { display: block; }

/* ---------- Promo Slider ---------- */
.promo-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16/5;
  overflow: hidden;
}
.promo-slider .slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}
.promo-slider .slide.active { opacity: 1; }
.promo-slider .slide img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- CS Banner ---------- */
.cs-banner {
  background: var(--ink);
  color: #fff;
  text-align: center;
  padding: 52px 20px;
}
.cs-banner h5 {
  font-size: 20px;
  margin: 0 0 14px;
  font-weight: 300;
  letter-spacing: .3px;
}
.cs-banner h5 i { margin-right: 10px; color: var(--aqua); }
.cs-banner p { font-size: 13.5px; color: #97a3ac; margin: 0; }

/* ---------- Footer ---------- */
footer.site-footer {
  background: #0d1013;
  color: #8b95a0;
  padding: 64px 0 30px;
  font-size: 13px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr .8fr .8fr .8fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-wordmark { font-size: 19px; font-weight: 800; color: #fff; margin-bottom: 14px; letter-spacing: .2px; }
.footer-wordmark span { color: var(--aqua); }
.footer-grid p.desc { font-size: 13px; max-width: 300px; margin: 0; color: #8b95a0; }
.footer-grid h4 { color: #fff; font-size: 12.5px; letter-spacing: .8px; margin: 0 0 18px; font-weight: 600; }
.footer-grid ul { display: flex; flex-direction: column; gap: 11px; font-size: 13px; }
.footer-grid ul a:hover { color: #fff; }
.footer-legal { padding-top: 26px; }
.footer-legal p { margin: 4px 0; }

/* ---------- Back to top ---------- */
.site-btn {
  position: fixed;
  right: 24px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 50;
}
.site-btn a {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--ink);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 16px;
  box-shadow: 0 8px 20px rgba(16,24,32,0.25);
}
.site-btn a:hover { background: var(--aqua); }

/* ---------- Sub-page banner & breadcrumb ---------- */
.page-banner {
  background: linear-gradient(150deg, var(--deep), #0a1c2e);
  color: #fff;
  text-align: center;
  padding: 68px 20px 48px;
}
.page-banner h1 {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 300;
  letter-spacing: .2px;
}
.page-banner p {
  margin: 0;
  color: #86e3ea;
  font-size: 12.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.breadcrumb {
  max-width: 1180px;
  margin: 18px auto 0;
  padding: 0 28px;
  font-size: 13px;
  color: var(--steel);
}
.breadcrumb a { color: var(--steel); }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb span.sep { margin: 0 6px; color: #c7ccd1; }
.breadcrumb span.current { color: var(--ink); font-weight: 500; }

/* ---------- Prose / content blocks ---------- */
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 {
  font-size: 22px;
  margin: 40px 0 14px;
  font-weight: 700;
}
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--steel); font-size: 15px; margin: 0 0 14px; }
.prose blockquote {
  margin: 0 0 24px;
  padding: 20px 24px;
  background: var(--paper-soft);
  border-left: 3px solid var(--aqua);
  font-size: 17px;
  font-weight: 500;
  color: var(--deep);
  border-radius: 0 4px 4px 0;
}
.prose h3 { font-size: 16px; margin: 26px 0 10px; font-weight: 700; }
.prose ul, .prose ol { color: var(--steel); font-size: 15px; margin: 0 0 14px; padding-left: 22px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin: 4px 0; }
.prose a { color: var(--deep); text-decoration: underline; }
.prose .info-table td { color: var(--steel); }
.prose .policy-meta { font-size: 13px; color: var(--steel); margin-bottom: 30px; }

/* Long-form legal pages keep full Korean and English bodies side by side in
   the markup; the active <html lang> (set by js/i18n.js) picks which shows. */
html[lang="en"] .lang-ko,
html:not([lang="en"]) .lang-en { display: none; }

/* ---------- History timeline ---------- */
.history { max-width: 920px; }
.history-intro { text-align: center; margin-bottom: 64px; }
.history-intro h2 { margin: 10px 0 14px; font-size: 26px; font-weight: 700; }
.history-intro p { max-width: 620px; margin: 0 auto; color: var(--steel); font-size: 15px; }
.timeline { list-style: none; margin: 0; padding: 0; }
.tl-year { display: grid; grid-template-columns: 150px 1fr; }
.tl-year-label {
  margin: 0;
  padding-right: 34px;
  text-align: right;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--deep);
  font-variant-numeric: tabular-nums;
}
.tl-events {
  position: relative;
  margin: 0;
  padding: 6px 0 44px 36px;
  border-left: 2px solid var(--line);
}
.tl-events::before {
  /* year marker on the line */
  content: '';
  position: absolute;
  top: 12px;
  left: -9px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--paper);
  border: 3px solid var(--deep);
}
.tl-year:last-child .tl-events { padding-bottom: 8px; }
.tl-year:last-child .tl-events::before { background: var(--aqua); border-color: var(--aqua); }
.tl-events > li { display: grid; grid-template-columns: 62px 1fr; gap: 14px; padding: 7px 0; }
.tl-month { font-size: 15px; font-weight: 700; color: var(--aqua); font-variant-numeric: tabular-nums; line-height: 1.6; }
.tl-text p { margin: 0 0 4px; font-size: 15.5px; line-height: 1.6; color: var(--ink); }
.tl-text p:last-child { margin-bottom: 0; }
.history-links { display: flex; justify-content: center; gap: 28px; margin-top: 56px; flex-wrap: wrap; }

.map-embed {
  aspect-ratio: 16/9;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--line);
  margin: 20px 0 30px;
}
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 30px;
  font-size: 14px;
}
.info-table th, .info-table td {
  border: 1px solid var(--line);
  padding: 12px 16px;
  text-align: left;
}
.info-table th {
  width: 160px;
  background: var(--paper-soft);
  color: var(--steel);
  font-weight: 500;
}

/* ---------- Category cards (제품소개) ---------- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin: 30px 0 10px;
}
.category-card {
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
  background: var(--paper-soft);
  transition: box-shadow .3s ease, transform .3s ease;
}
.category-card:hover { box-shadow: 0 20px 36px -14px rgba(16,24,32,0.2); transform: translateY(-4px); }
.category-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.category-card .cc-body { padding: 18px 12px 22px; background: var(--paper); }
.category-card .cc-en { font-size: 11.5px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--aqua); }
.category-card .cc-kr { font-size: 16px; font-weight: 600; margin: 5px 0 6px; }
.category-card .cc-desc { font-size: 12.5px; color: var(--steel); }
.lookbook-banner {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  align-items: center;
  gap: 24px;
  margin-top: 40px;
  padding: 18px 28px 18px 18px;
  background: var(--paper-soft);
  border-radius: 6px;
  transition: box-shadow .3s ease;
}
.lookbook-banner:hover { box-shadow: 0 20px 36px -18px rgba(16,24,32,0.25); }
.lookbook-banner img { width: 120px; height: 120px; object-fit: cover; border-radius: 4px; }
.lookbook-banner strong { display: block; font-size: 18px; margin: 4px 0 4px; }
.lookbook-banner p { margin: 0; font-size: 13.5px; color: var(--steel); }
.lookbook-banner > i { color: var(--aqua); font-size: 18px; }
.pd-more-styling { display: inline-block; margin: -26px 0 40px; font-size: 13.5px; font-weight: 600; color: var(--deep); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Certificate gallery ---------- */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.cert-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  cursor: pointer;
  transition: box-shadow .3s ease, transform .3s ease;
}
.cert-card:hover { box-shadow: 0 20px 36px -14px rgba(16,24,32,0.2); transform: translateY(-4px); }
.cert-card img { width: 100%; aspect-ratio: 3/4; object-fit: contain; background: var(--paper-soft); padding: 10px; }
.cert-card .cert-name {
  padding: 12px 14px 16px;
  font-size: 13.5px;
  font-weight: 500;
  text-align: center;
  border-top: 1px solid var(--line);
}

/* ---------- Catalog viewer ---------- */
.cat-hero {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 64px;
}
.cat-hero-cover img {
  width: 100%;
  height: auto;
  border-radius: 2px;
  box-shadow: 0 30px 50px -24px rgba(16,24,32,0.45);
  transition: transform .3s ease;
}
.cat-hero-cover:hover img { transform: translateY(-4px); }
.cat-hero-body h2 { margin: 10px 0 14px; font-size: 28px; font-weight: 700; }
.cat-hero-body > p { margin: 0 0 18px; color: var(--steel); font-size: 15px; max-width: 560px; }
.cat-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--steel); margin-bottom: 26px; }
.cat-meta li + li::before { content: '·'; margin-right: 18px; color: var(--line); }
.cat-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cat-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 24px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.cat-btn:hover { border-color: var(--aqua); color: var(--aqua); }
.cat-btn-primary { background: var(--ink); color: #fff; }
.cat-btn-primary:hover { background: var(--deep); border-color: var(--deep); color: #fff; }

.cat-chapters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  scroll-margin-top: 130px;
}
.cat-chapters button {
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: none;
  font: inherit;
  font-size: 13px;
  color: var(--steel);
  cursor: pointer;
}
.cat-chapters button:hover { color: var(--ink); border-color: var(--ink); }
.cat-chapters button.active { color: #fff; background: var(--ink); border-color: var(--ink); font-weight: 600; }

.cat-viewer {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px 72px;
  background: var(--paper-soft);
  border-radius: 6px;
  scroll-margin-top: 130px;
}
.cat-stage { position: relative; display: flex; justify-content: center; }
.cat-stage.is-spread::after {
  /* book gutter shading where the two pages meet */
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: 50%;
  width: 36px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.09) 50%, rgba(0,0,0,0) 100%);
  pointer-events: none;
}
.cat-page {
  display: block;
  padding: 0;
  border: none;
  background: #fff;
  cursor: zoom-in;
  box-shadow: 0 18px 40px -20px rgba(16,24,32,0.4);
}
.cat-page img {
  display: block;
  height: min(72vh, 780px);
  width: auto;
  aspect-ratio: 1400 / 1983;
}
.cat-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 8px 20px -10px rgba(16,24,32,0.3);
  z-index: 2;
}
.cat-nav:hover:not(:disabled) { border-color: var(--aqua); color: var(--aqua); }
.cat-nav:disabled { opacity: .35; cursor: default; }
.cat-prev { left: 14px; }
.cat-next { right: 14px; }

.cat-status {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 14px 2px 12px;
  font-size: 13px;
  color: var(--steel);
  font-variant-numeric: tabular-nums;
}
#catPageLabel { font-weight: 600; color: var(--ink); }

.cat-thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 2px 12px;
  scrollbar-width: thin;
}
.cat-thumb {
  flex: 0 0 auto;
  width: 74px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  text-align: center;
  font-size: 11px;
  color: var(--steel);
}
.cat-thumb img {
  width: 74px;
  height: auto;
  aspect-ratio: 240 / 340;
  border: 2px solid transparent;
  border-radius: 2px;
  background: #fff;
  opacity: .7;
  transition: opacity .2s ease, border-color .2s ease;
}
.cat-thumb span { display: block; margin-top: 4px; }
.cat-thumb:hover img { opacity: 1; }
.cat-thumb.active img { opacity: 1; border-color: var(--aqua); }
.cat-thumb.active span { color: var(--ink); font-weight: 700; }

.cat-zoom {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  background: rgba(10,14,18,0.94);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease;
}
.cat-zoom.show { opacity: 1; visibility: visible; }
.cat-zoom-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  color: #fff;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.cat-zoom-bar span { margin-right: auto; }
.cat-zoom-bar button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25);
  background: none;
  color: #fff;
  font-size: 15px;
  cursor: pointer;
}
.cat-zoom-bar button:hover { border-color: var(--aqua); color: var(--aqua); }
.cat-zoom-scroll { flex: 1; overflow: auto; padding: 0 16px 24px; }
.cat-zoom-scroll img { width: min(1400px, 100%); height: auto; margin: 0 auto; background: #fff; }

/* ---------- Category listing (shop) ---------- */
.list-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 26px;
  font-size: 13.5px;
  color: var(--steel);
}
.category-tabs {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.category-tabs a {
  padding: 0 0 14px;
  border-bottom: 2px solid transparent;
  font-size: 14px;
  color: var(--steel);
  margin-bottom: -1px;
}
.category-tabs a:hover { color: var(--ink); }
.category-tabs a.active { color: var(--ink); border-color: var(--aqua); font-weight: 700; }

.sub-tabs {
  border-bottom: none;
  margin-top: -20px;
  margin-bottom: 28px;
  gap: 10px;
}
.sub-tabs a {
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  font-size: 13px;
  color: var(--steel);
  margin-bottom: 0;
}
.sub-tabs a:hover { color: var(--ink); border-color: var(--ink); }
.sub-tabs a.active { color: #fff; background: var(--ink); border-color: var(--ink); font-weight: 600; }

.price { color: var(--deep); font-weight: 700; margin-top: 8px; font-size: 14px; font-variant-numeric: tabular-nums; }

/* ---------- Product detail ---------- */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: flex-start;
}
.product-detail figure { margin: 0; background: var(--paper-soft); border-radius: var(--radius); overflow: hidden; }
.product-detail img { width: 100%; display: block; }
.pd-figure-wrap {
  position: relative;
  padding: 28px;
  transition: background-color .3s ease;
}
.pd-figure-wrap img { border-radius: calc(var(--radius) - 2px); }
.product-detail .pd-category { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--aqua); font-weight: 600; margin-bottom: 10px; }
.product-detail h1 { font-size: 25px; margin: 0 0 6px; font-weight: 700; }
.product-detail .pd-en { color: var(--steel); font-size: 14px; margin-bottom: 20px; }
.product-detail .pd-price { font-size: 26px; font-weight: 700; color: var(--deep); margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.pd-actions { display: flex; gap: 10px; margin-top: 28px; }
.pd-actions button {
  flex: 1;
  padding: 15px 0;
  border-radius: var(--radius);
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--ink);
  background: #fff;
  color: var(--ink);
  letter-spacing: .2px;
}
.pd-actions button.primary { background: var(--ink); color: #fff; }
.pd-actions button:hover.primary { background: var(--deep); border-color: var(--deep); }
.pd-actions button:hover:not(.primary) { background: var(--paper-soft); }
.pd-notfound { text-align: center; padding: 80px 20px; color: var(--steel); }

/* ---------- Custom cursor ---------- */
:root.has-custom-cursor,
:root.has-custom-cursor a,
:root.has-custom-cursor button,
:root.has-custom-cursor .product-card,
:root.has-custom-cursor .lb-card {
  cursor: none;
}
:root.has-custom-cursor input,
:root.has-custom-cursor textarea,
:root.has-custom-cursor select {
  cursor: auto;
}
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s ease;
}
.custom-cursor.visible { opacity: 1; }
.custom-cursor-dot {
  position: absolute;
  top: 0; left: 0;
  width: 10px; height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: var(--ink);
  /* light halo keeps the dot visible over dark buttons and photos */
  box-shadow: 0 0 0 2px rgba(255,255,255,0.85);
  transition: width .25s ease, height .25s ease, margin .25s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
/* over dark sections (footer, banners, hero, overlays) the dot turns white */
.custom-cursor.on-dark .custom-cursor-dot {
  background: #fff;
  box-shadow: 0 0 0 2px rgba(16,24,32,0.55);
}
.custom-cursor.active .custom-cursor-dot {
  width: 60px; height: 60px;
  margin: -30px 0 0 -30px;
  background: rgba(16,24,32,0.05);
  border: 1px solid var(--ink);
}
.custom-cursor-label {
  position: absolute;
  top: 0; left: 0;
  transform: translate(-50%, -50%);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--ink);
  white-space: nowrap;
  opacity: 0;
  transition: opacity .2s ease;
}
.custom-cursor.active .custom-cursor-label { opacity: 1; }
.custom-cursor.active.on-dark .custom-cursor-dot { background: rgba(255,255,255,0.08); border-color: #fff; box-shadow: none; }
.custom-cursor.active .custom-cursor-dot { box-shadow: none; }
.custom-cursor.on-dark .custom-cursor-label { color: #fff; }
@media (prefers-reduced-motion: reduce) {
  .custom-cursor { display: none; }
}

/* ---------- Lookbook (styling gallery) ---------- */
.lookbook-intro { text-align: center; max-width: 680px; margin: 0 auto 36px; }
.lookbook-intro h2 { font-size: 28px; font-weight: 700; margin: 10px 0 12px; }
.lookbook-intro p { margin: 0 0 10px; color: var(--steel); font-size: 15px; }
.lookbook-intro .lookbook-note { font-size: 13px; }
.lookbook-note i { color: var(--aqua); margin-right: 4px; }
.lookbook-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 32px; }
.lookbook-filters button { padding: 7px 16px; border: 1px solid var(--line); border-radius: 20px; background: none; font: inherit; font-size: 13.5px; color: var(--steel); cursor: pointer; }
.lookbook-filters button em { font-style: normal; font-size: 12px; opacity: .7; margin-left: 2px; }
.lookbook-filters button:hover { color: var(--ink); border-color: var(--ink); }
.lookbook-filters button.active { color: #fff; background: var(--ink); border-color: var(--ink); font-weight: 600; }
.lookbook-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.lb-card { position: relative; display: block; padding: 0; border: none; background: none; text-align: left; font: inherit; cursor: zoom-in; overflow: hidden; }
.lb-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; background: var(--paper-soft); transition: transform .5s ease; }
.lb-card:hover img { transform: scale(1.02); }
.lb-card-space { position: absolute; top: 12px; left: 12px; padding: 3px 10px; border-radius: 20px; background: rgba(255,255,255,.9); font-size: 11.5px; font-weight: 600; color: var(--deep); }
.lb-card-name { display: block; margin-top: 10px; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.lb-zoom { position: fixed; inset: 0; z-index: 1000; display: flex; flex-direction: column; background: rgba(10,14,18,0.94); opacity: 0; visibility: hidden; transition: opacity .2s ease; }
.lb-zoom.show { opacity: 1; visibility: visible; }
.lb-zoom-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; color: #fff; font-size: 14px; font-variant-numeric: tabular-nums; }
.lb-zoom-bar span { margin-right: auto; }
.lb-zoom-bar button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: none; color: #fff; font-size: 15px; cursor: pointer; }
.lb-zoom-bar button:hover { border-color: var(--aqua); color: var(--aqua); }
.lb-zoom-body { flex: 1; display: flex; gap: 32px; align-items: center; justify-content: center; padding: 0 24px 24px; min-height: 0; }
.lb-zoom-body img { max-height: 100%; max-width: min(640px, 60vw); object-fit: contain; border-radius: 6px; }
.lb-zoom-info { color: #fff; max-width: 300px; }
.lb-zoom-space { font-size: 12px; letter-spacing: 1px; color: #86e3ea; }
.lb-zoom-info h3 { font-size: 22px; margin: 8px 0 22px; line-height: 1.4; }
.lb-zoom-actions { display: flex; flex-direction: column; gap: 10px; }
.lb-zoom-actions .cat-btn { justify-content: center; border-color: rgba(255,255,255,.5); color: #fff; }
.lb-zoom-actions .cat-btn-primary { background: #fff; color: var(--ink); border-color: #fff; }
@media (max-width: 900px) {
  .lookbook-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .lb-zoom-body { flex-direction: column; gap: 16px; }
  .lb-zoom-body img { max-width: 100%; max-height: 60vh; }
  .lb-zoom-info { max-width: none; width: 100%; text-align: center; }
  .lb-zoom-actions { flex-direction: row; justify-content: center; }
}

/* ---------- Technology ---------- */
.tech-intro { text-align: center; }
.tech-intro h2 { font-size: 34px; font-weight: 300; line-height: 1.35; margin: 14px 0 18px; }
.tech-intro h2 b { font-weight: 700; }
.tech-lead { max-width: 640px; margin: 0 auto 48px; color: var(--steel); font-size: 15px; }
.tech-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 900px; margin: 0 auto; }
.tech-stats li { padding: 26px 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); }
.tech-stats b { display: block; font-size: 36px; font-weight: 800; color: var(--deep); line-height: 1.1; }
.tech-stats span { display: block; margin-top: 8px; font-size: 13px; color: var(--steel); }
.tech-head { max-width: 640px; margin-bottom: 36px; }
.tech-head h3 { font-size: 26px; font-weight: 700; margin: 10px 0 12px; line-height: 1.4; }
.tech-head p { margin: 0; color: var(--steel); font-size: 15px; }
.tech-materials { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.tech-mat { display: grid; grid-template-columns: 180px 1fr; gap: 24px; align-items: center; padding: 22px; background: var(--paper); border-radius: 6px; }
.tech-mat img { width: 180px; height: 180px; object-fit: cover; border-radius: 4px; background: var(--paper-soft); }
.tech-mat h4 { font-size: 19px; margin: 0 0 8px; }
.tech-mat p { margin: 0 0 12px; font-size: 14px; color: var(--steel); }
.tech-mat-count b { font-size: 24px; color: var(--deep); }
.tech-certs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tech-cert { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: var(--paper); transition: box-shadow .3s ease, transform .3s ease; }
.tech-cert:hover { box-shadow: 0 20px 36px -18px rgba(16,24,32,0.25); transform: translateY(-3px); }
.tech-cert img { width: 100%; height: 220px; object-fit: cover; object-position: top; background: var(--paper-soft); }
.tech-cert > div { padding: 20px 22px 24px; }
.tech-cert-tag { display: inline-block; padding: 2px 10px; border-radius: 20px; background: var(--deep); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 1px; }
.tech-cert h4 { font-size: 17px; margin: 10px 0 8px; }
.tech-cert p { margin: 0; font-size: 13.5px; color: var(--steel); }
.tech-design { display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: center; }
.tech-drawing { display: block; text-align: center; font-size: 12.5px; color: var(--steel); }
.tech-drawing img { width: 100%; height: auto; margin-bottom: 10px; background: #fff; box-shadow: 0 24px 40px -24px rgba(16,24,32,0.4); }
.tech-install-title { font-size: 14px; font-weight: 700; margin: 0 0 12px; }
.tech-install li { display: grid; grid-template-columns: 140px 1fr 32px; gap: 14px; align-items: center; padding: 7px 0; font-size: 14px; }
.tech-install-bar { height: 8px; border-radius: 4px; background: var(--line); overflow: hidden; }
.tech-install-bar i { display: block; height: 100%; background: var(--aqua); border-radius: 4px; }
.tech-install b { text-align: right; color: var(--deep); font-variant-numeric: tabular-nums; }
.tech-milestones { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tech-milestones li { padding: 22px; border-top: 3px solid var(--deep); background: var(--paper-soft); border-radius: 0 0 6px 6px; }
.tech-milestones span { display: block; font-size: 13px; font-weight: 700; color: var(--aqua); margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.tech-milestones b { font-size: 15px; font-weight: 600; line-height: 1.5; }
.tech-milestones b span { display: inline; font-size: inherit; font-weight: inherit; color: inherit; margin: 0; }
.tech-more { margin: 28px 0 0; }
.tech-cta { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
@media (max-width: 900px) {
  .tech-stats, .tech-milestones { grid-template-columns: 1fr 1fr; }
  .tech-materials, .tech-certs { grid-template-columns: 1fr; }
  .tech-design { grid-template-columns: 1fr; gap: 32px; }
  .tech-drawing { max-width: 320px; margin: 0 auto; }
}
@media (max-width: 520px) {
  .tech-intro h2 { font-size: 26px; }
  .tech-mat { grid-template-columns: 96px 1fr; gap: 16px; padding: 16px; }
  .tech-mat img { width: 96px; height: 96px; }
  .tech-install li { grid-template-columns: 92px 1fr 28px; gap: 10px; }
}

/* ---------- 3D viewer / AR panel ---------- */
.pd-extra-photo { margin: 0 0 40px; background: var(--paper-soft); border-radius: var(--radius); overflow: hidden; }
.pd-extra-photo img { width: 100%; display: block; }
.pd-size-photo { margin: 0 0 40px; }
.pd-size-photo img { display: block; width: 100%; max-width: 480px; margin: 0 auto; border-radius: var(--radius); background: var(--paper-soft); }
.pd-3d-panel { margin: 0 0 40px; }
.pd-3d-panel model-viewer { position: relative; }
.pd-3d-ar-btn {
  position: absolute;
  bottom: 16px;
  right: 16px;
}
.pd-3d-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  height: 260px;
  background: var(--paper-soft);
  border: 1px dashed var(--line);
  border-radius: 8px;
  text-align: center;
  padding: 20px;
}
.pd-3d-placeholder i { font-size: 30px; color: var(--steel); }
.pd-3d-placeholder p { margin: 0; font-size: 13.5px; color: var(--steel); line-height: 1.7; }

/* ---------- B2B document center (도면/BIM/매뉴얼/인증서) ---------- */
.doc-downloads {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 24px 0;
}
.doc-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  transition: border-color .2s ease, background .2s ease;
}
.doc-btn i { color: var(--aqua); font-size: 15px; width: 18px; text-align: center; flex-shrink: 0; }
.doc-btn:hover { border-color: var(--aqua); background: var(--paper-soft); }
.doc-btn.disabled {
  color: var(--steel);
  cursor: not-allowed;
  pointer-events: none;
  opacity: .6;
}
.doc-btn.disabled i { color: var(--steel); }
.pd-doc-request {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.pd-doc-request:hover { color: var(--aqua); }
.pd-inquiry-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
  padding: 14px 28px;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .2px;
}
.pd-inquiry-btn:hover { background: var(--deep); }
.doc-btn.disabled em {
  margin-left: auto;
  font-style: normal;
  font-size: 10px;
  background: var(--paper-soft);
  padding: 2px 8px;
  border-radius: 20px;
  flex-shrink: 0;
}

.doc-hover-panel {
  position: fixed;
  z-index: 600;
  width: 230px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 20px 40px -14px rgba(16,24,32,0.28);
  padding: 14px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity .15s ease, transform .15s ease;
  pointer-events: none;
}
.doc-hover-panel.show { opacity: 1; visibility: visible; transform: translateY(0); }
.doc-hover-title { font-size: 12px; font-weight: 700; margin-bottom: 10px; }
.doc-hover-body .doc-downloads { grid-template-columns: 1fr; gap: 6px; margin: 0; }
.doc-hover-body .doc-btn { padding: 8px 10px; font-size: 11.5px; }
@media (max-width: 860px) {
  .doc-hover-panel { display: none; }
}

/* ---------- Forms (login / join / contact) ---------- */
.form-card {
  max-width: 480px;
  margin: 0 auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 44px 40px;
  box-shadow: 0 30px 60px -30px rgba(16,24,32,0.15);
}
.form-card.wide { max-width: 680px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--ink);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  background: var(--paper);
  color: var(--ink);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--aqua); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-consent { margin: 6px 0 18px; }
/* spam honeypot: kept off-screen rather than display:none so bots still see it */
.form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-consent-box {
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--steel);
}
.form-consent-box b { color: var(--ink); font-weight: 600; }
.form-consent-box a { color: var(--deep); text-decoration: underline; }
.form-consent-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 12px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
}
.form-consent-check input { margin-top: 3px; width: 16px; height: 16px; flex-shrink: 0; accent-color: var(--deep); }
.form-submit {
  width: 100%;
  padding: 15px 0;
  background: var(--ink);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .2px;
  cursor: pointer;
  margin-top: 8px;
}
.form-submit:hover { background: var(--deep); }
.form-foot {
  text-align: center;
  margin-top: 22px;
  font-size: 13px;
  color: var(--steel);
}

/* ---------- Empty state (orders / cart) ---------- */
.empty-state {
  text-align: center;
  padding: 90px 20px;
  color: var(--steel);
}
.empty-state i { font-size: 40px; color: var(--line); margin-bottom: 18px; display: block; }
.empty-state p { margin: 0 0 20px; font-size: 15px; }
.empty-state a.btn {
  display: inline-block;
  padding: 13px 28px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  font-size: 13.5px;
  font-weight: 600;
}
.empty-state a.btn:hover { background: var(--deep); }
.empty-state a.btn + a.btn { margin-left: 8px; }

/* ---------- Orders / Cart list ---------- */
.order-list { display: flex; flex-direction: column; gap: 14px; max-width: 720px; margin: 0 auto; }
.order-row {
  display: flex;
  align-items: center;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 16px 20px;
}
.order-row .order-thumb {
  width: 64px; height: 64px;
  border-radius: var(--radius);
  object-fit: cover;
  flex-shrink: 0;
  background: var(--paper-soft);
}
.order-row .order-info { flex: 1; min-width: 0; }
.order-row .order-name { font-weight: 700; font-size: 14.5px; margin-bottom: 4px; }
.order-row .order-meta { font-size: 12.5px; color: var(--steel); }
.order-row .order-price { font-weight: 700; color: var(--deep); white-space: nowrap; font-variant-numeric: tabular-nums; }
.order-row .order-actions { display: flex; gap: 8px; flex-shrink: 0; }
.order-row .order-actions button {
  padding: 9px 16px;
  border-radius: var(--radius);
  font-size: 12.5px;
  cursor: pointer;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--steel);
}
.order-row .order-actions button.primary { border-color: var(--ink); background: var(--ink); color: #fff; }
.order-status-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 30px;
  font-size: 11.5px;
  background: var(--paper-soft);
  color: var(--deep);
  margin-left: 8px;
}
@media (max-width: 520px) {
  .order-row { flex-wrap: wrap; }
  .order-row .order-actions { width: 100%; justify-content: flex-end; }
}

/* ---------- Lightbox (인증서 큰 화면 보기) ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 998;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 40px;
  background: rgba(9,16,23,0.9);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease;
}
.lightbox.show { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: min(90vw, 900px);
  max-height: 78vh;
  width: auto;
  object-fit: contain;
  border-radius: 4px;
  background: #fff;
}
.lightbox-caption { color: #fff; font-size: 14.5px; }
.lightbox-close {
  position: absolute;
  top: 22px;
  right: 28px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.lightbox-close:hover { background: rgba(255,255,255,0.22); }

/* ---------- Toast (준비중 안내) ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 40px;
  transform: translateX(-50%) translateY(20px);
  background: rgba(16,24,32,0.94);
  color: #fff;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-size: 13.5px;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ---------- Responsive ---------- */

/* Tablet */
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; }
  .product-grid, .category-grid, .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-hero { grid-template-columns: 140px 1fr; gap: 24px; align-items: start; margin-bottom: 40px; }
  .cat-hero-body h2 { font-size: 22px; margin-top: 6px; }
  .cat-viewer { padding: 16px; }
  .cat-stage { width: 100%; }
  .cat-page { width: 100%; }
  .cat-page img { width: 100%; height: auto; }
  .cat-nav { width: 38px; height: 38px; font-size: 13px; background: rgba(250,251,251,.9); }
  .cat-prev { left: 6px; }
  .cat-next { right: 6px; }
  .cat-hint { display: none; }
  .product-detail { grid-template-columns: 1fr; gap: 28px; }
  .spotlight-grid { grid-template-columns: 1fr; }
  .spotlight-visual { min-height: 260px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 64px 0; }
  .section-tight { padding: 40px 0; }
}

/* Mobile: switch to a hamburger-driven nav drawer */
@media (max-width: 860px) {
  .hamburger-btn { display: block; }

  .header-top { gap: 10px; }
  .header-utility { gap: 12px; flex: 1; min-width: 0; }
  .header-utility > a { display: none; }
  .header-utility .search-box { flex: 1; min-width: 0; }
  .header-utility .search-box input { width: 100%; min-width: 0; }

  nav.main-nav { border-top: none; }
  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
    max-width: none;
  }
  #mainNav.nav-open .nav-list {
    display: flex;
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    background: var(--paper);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px rgba(16,24,32,0.1);
    max-height: calc(100vh - 100%);
    overflow-y: auto;
  }
  #mainNav { position: relative; }

  .nav-mobile-utility {
    display: flex;
    background: var(--paper-soft);
    border-bottom: 1px solid var(--line);
  }
  .nav-mobile-utility a {
    flex: 1;
    text-align: center;
    padding: 14px 4px;
    font-size: 11.5px;
    white-space: nowrap;
    color: var(--deep);
    border-right: 1px solid rgba(0,0,0,0.06);
  }
  .nav-mobile-utility a:last-child { border-right: none; }
  .nav-mobile-utility a i { display: block; margin-bottom: 4px; font-size: 15px; }

  .nav-list > li { width: 100%; }
  .nav-list > li > a,
  .nav-toggle {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 16px 20px;
    border-bottom: 1px solid var(--line);
    font-size: 15.5px;
  }
  .nav-toggle { justify-content: space-between; }
  .nav-toggle::after {
    content: '\f107';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 13px;
    color: #bbb;
    transition: transform .2s ease;
  }
  .has-dropdown.open .nav-toggle::after { transform: rotate(180deg); }

  .dropdown {
    display: none;
    position: static;
    transform: none;
    min-width: 0;
    width: 100%;
    background: var(--paper-soft);
    border: none;
    box-shadow: none;
    border-radius: 0;
    padding: 4px 0;
  }
  .has-dropdown.open .dropdown { display: block; }
  .dropdown a {
    padding: 13px 20px 13px 36px;
    font-size: 14.5px;
    border-bottom: 1px solid var(--line);
  }

  /* offset anchors for the shorter mobile header */
  #about, #history, #products, #shower, #contact { scroll-margin-top: 70px; }
}

@media (max-width: 640px) {
  .lookbook-banner { grid-template-columns: 84px 1fr; padding: 14px; gap: 16px; }
  .lookbook-banner img { width: 84px; height: 84px; }
  .lookbook-banner > i { display: none; }
  .tl-year { grid-template-columns: 1fr; }
  .tl-year-label { text-align: left; padding: 0 0 10px; font-size: 24px; }
  .tl-events { margin-left: 8px; padding-left: 26px; }
  .tl-events > li { grid-template-columns: 50px 1fr; gap: 10px; }
  .tl-text p { font-size: 14.5px; }
  .cat-hero { grid-template-columns: 1fr; }
  .cat-hero-cover { width: 150px; }
  .page-banner { padding: 46px 20px 34px; }
  .page-banner h1 { font-size: 23px; }
  .section-title .kr { font-size: 21px; }
  .hero-slider { aspect-ratio: 4/5; }
  .hero-copy { bottom: 30px; }
  .feature-card img { height: 220px; }
  .cs-banner h5 { font-size: 17px; }
  .spotlight-body { padding: 36px 26px; }

  /* stack label/value tables instead of squeezing two columns */
  .info-table, .info-table tbody, .info-table tr, .info-table th, .info-table td {
    display: block;
    width: auto;
  }
  .info-table tr { border: 1px solid var(--line); border-radius: 4px; margin-bottom: 10px; overflow: hidden; }
  .info-table th, .info-table td { border: none; padding: 10px 14px; }
  .info-table th { border-bottom: 1px solid var(--line); background: var(--paper-soft); }
}

@media (max-width: 520px) {
  .product-grid, .category-grid, .cert-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .header-top { padding: 16px 16px 8px; }
  .container { padding: 0 16px; }
  .form-card { padding: 30px 20px; }
  .product-detail .pd-price { font-size: 22px; }
  .pd-actions { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-dots span { width: 20px; height: 20px; margin: -6px; background: transparent; position: relative; }
  .hero-dots span::before {
    content: '';
    position: absolute; left: 6px; top: 6px;
    width: 8px; height: 8px; border-radius: 50%;
    background: rgba(255,255,255,0.5);
  }
  .hero-dots span.active::before { background: #fff; }
}
