:root {
  --cg-header-bg: #faf7f3;
  --cg-header-bg-open: #fffaf7;
  --cg-header-scrolled-bg: #fdfaf6;
  --cg-header-border: rgba(66, 58, 48, 0);
  --cg-header-ink: #2f2a24;
  --cg-header-muted: rgba(36, 31, 27, 0.58);
}

body.about-page .sub-shell {
  --cg-header-bg: #fcf8f1;
  --cg-header-bg-open: #fcf8f1;
}

.solar-page {
  --cg-header-bg: #fdf8f2;
  --cg-header-bg-open: #fdf8f2;
}

.light-page {
  --cg-header-bg: #f3eee7;
  --cg-header-bg-open: #f3eee7;
}

.rp-page {
  --cg-header-bg: #f4efe6;
  --cg-header-bg-open: #f4efe6;
}

body.refractory-page .rp-page {
  --cg-header-bg: #f4efe6;
  --cg-header-bg-open: #f4efe6;
}

body.advanced-page .sub-shell {
  --cg-header-bg: #fdf9f3;
  --cg-header-bg-open: #fdf9f3;
}

body.lifting-page .sub-shell {
  --cg-header-bg: #f7f2ea;
  --cg-header-bg-open: #f7f2ea;
}

body.microfat-page .sub-shell {
  --cg-header-bg: #fcf7f1;
  --cg-header-bg-open: #fcf7f1;
}

body.xan-page .sub-shell {
  --cg-header-bg: #f2eee7;
  --cg-header-bg-open: #f2eee7;
}

body.pigment-page .sub-shell {
  --cg-header-bg: #f2eee7;
  --cg-header-bg-open: #f2eee7;
}

body.ota-page .sub-shell {
  --cg-header-bg: #f2eee7;
  --cg-header-bg-open: #f2eee7;
}

body.adm-page .sub-shell {
  --cg-header-bg: #f2eee7;
  --cg-header-bg-open: #f2eee7;
}

body.eye-page .sub-shell {
  --cg-header-bg: #f2eee7;
  --cg-header-bg-open: #f2eee7;
}

body.laser-solution-page .sub-shell {
  --cg-header-bg: #ede5da;
  --cg-header-bg-open: #ede5da;
}

body.before-after-page .sub-shell {
  --cg-header-bg: #f5f0e7;
  --cg-header-bg-open: #f5f0e7;
}

body.events-page .sub-shell {
  --cg-header-bg: #f9f5ee;
  --cg-header-bg-open: #f9f5ee;
}

body.appointment-page .sub-shell,
body.member-auth-page .sub-shell {
  --cg-header-bg: #faf6ef;
  --cg-header-bg-open: #faf6ef;
}

.policy-shell {
  --cg-header-bg: #f4f0e8;
  --cg-header-bg-open: #fbf7f0;
}

.main-header.scrolled {
  background: var(--cg-header-scrolled-bg);
  border-bottom-color: var(--cg-header-border);
}

.policy-header {
  background: var(--cg-header-bg);
  color: var(--cg-header-ink);
}

.cg-language-switcher {
  position: fixed;
  top: 1.85rem;
  right: 2.25rem;
  z-index: 24;
  display: grid;
  justify-items: end;
}

.cg-language-switcher.is-header-mounted {
  margin-left: 0;
}

.cg-language-switcher.is-header-mounted::before {
  display: none;
}

.cg-language-switcher button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 30px;
  padding: 0 8px;
  border: 1px solid rgba(50, 45, 38, 0.08);
  border-radius: 4px;
  background: transparent;
  color: var(--cg-header-muted);
  font-family: "Sorts Mill Goudy", Georgia, serif;
  font-size: 11px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.08em;
  box-shadow: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.cg-language-switcher button:hover,
.cg-language-switcher button:focus-visible {
  background: rgba(47, 40, 33, 0.04);
  color: rgba(35, 31, 27, 0.82);
  outline: none;
}

.cg-language-current {
  position: relative;
  min-width: 44px !important;
  background: transparent;
  color: var(--cg-header-muted);
}

.cg-language-current:hover,
.cg-language-current:focus-visible,
.cg-language-switcher.is-open .cg-language-current {
  background: rgba(47, 40, 33, 0.04);
  color: rgba(25, 22, 19, 0.82);
}

.cg-language-current::after {
  content: "";
  display: block;
  width: 4px;
  height: 4px;
  margin-left: 4px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-1px) rotate(45deg);
  transition: transform 0.22s ease;
}

.cg-language-switcher.is-open .cg-language-current::after {
  transform: translateY(2px) rotate(225deg);
}

.cg-language-options {
  position: absolute;
  left: auto;
  right: 0;
  top: calc(100% + 0.5rem);
  display: flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(50, 45, 38, 0.09);
  border-radius: 4px;
  background: rgba(253, 250, 246, 0.92);
  box-shadow: 0 10px 22px rgba(31, 27, 22, 0.06);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px) scale(0.96);
  transform-origin: right top;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.cg-language-switcher.is-open .cg-language-options {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  transition-duration: 0s;
}

.cg-language-options button {
  background: transparent;
}

.cg-language-options button:hover,
.cg-language-options button:focus-visible {
  transform: translateY(-1px);
}

.goog-te-banner-frame,
iframe.goog-te-banner-frame,
#goog-gt-tt,
.goog-te-balloon-frame,
.goog-te-menu-frame,
body > .skiptranslate {
  display: none !important;
}

#cg-google-translate-root {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

html.translated-ltr body,
html.translated-rtl body,
body {
  top: 0 !important;
}

html.cg-manual-lang body {
  word-break: keep-all;
  overflow-wrap: break-word;
}

html.cg-manual-lang .main_refi .txt01,
html.cg-manual-lang .main_clar .tit02,
html.cg-manual-lang .main_less .tit02,
html.cg-manual-lang .main_doctor .tit01,
html.cg-manual-lang .main_doctor .tit02,
html.cg-manual-lang .main_doctor .txt01,
html.cg-manual-lang .main_glow .tit02,
html.cg-manual-lang .main_note .tit02,
html.cg-manual-lang .main_note ul li,
html.cg-manual-lang .main_about .loca,
html.cg-manual-lang .main_about .txt01,
html.cg-manual-lang .m_main_refi .txt01,
html.cg-manual-lang .m_main_clar .tit02,
html.cg-manual-lang .m_main_less .tit02,
html.cg-manual-lang .m_main_doctor .tit01,
html.cg-manual-lang .m_main_glow .tit02,
html.cg-manual-lang .m_main_note .tit02,
html.cg-manual-lang .m_main_note ul li,
html.cg-manual-lang .m_main_about .loca {
  letter-spacing: 0;
  word-break: keep-all;
  overflow-wrap: break-word;
}

html.cg-manual-lang .main_note ul li a,
html.cg-manual-lang .m_main_note ul li a {
  min-width: 0;
  white-space: normal;
}

html.cg-manual-lang .main_note ul li .title {
  min-width: 0;
  line-height: 1.35;
}

html.cg-manual-lang .main_about .schedule li .days,
html.cg-manual-lang .m_main_about .schedule li .days {
  justify-content: flex-start;
  gap: 0.48rem;
  width: 7.1rem;
  letter-spacing: 0;
}

html.cg-manual-lang .main_about .schedule li .days span,
html.cg-manual-lang .m_main_about .schedule li .days span {
  display: inline-block;
  white-space: nowrap;
}

html.cg-lang-en .main_refi .txt01,
html.cg-lang-en .main_clar .tit02,
html.cg-lang-en .main_less .tit02,
html.cg-lang-en .main_doctor .tit02,
html.cg-lang-en .main_doctor .txt01,
html.cg-lang-en .main_glow .tit02 {
  font-size: 1.06rem;
  line-height: 1.62;
}

html.cg-lang-en .main_doctor .tit01 {
  font-size: 2.28rem;
  line-height: 1.45;
}

html.cg-lang-en .main_note .tit02 {
  font-size: 1.08rem;
  line-height: 1.45;
}

html.cg-lang-en .main_about .btns li a {
  font-size: 0.92rem;
  line-height: 1.18;
  padding: 0 0.35rem;
}

@media (max-width: 1024px) {
  .main-header .ht-inner {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) 46px;
    align-items: center;
    position: relative;
    z-index: 3;
    min-height: 64px;
    padding: 17px 25.8px;
    background: var(--cg-header-bg);
    color: var(--cg-header-ink);
  }

  .main-header.open .ht-inner {
    background: var(--cg-header-bg-open);
  }

  .main-header .ht-inner__left,
  .main-header .ht-inner__center,
  .main-header .ht-inner__right {
    width: auto;
    min-width: 0;
    height: auto;
  }

  .main-header .ht-inner__left {
    grid-column: 1;
    justify-content: flex-start;
  }

  .main-header .ht-inner__center {
    grid-column: 2;
    justify-content: center;
    padding: 0;
  }

  .main-header .ht-inner__right {
    grid-column: 3;
    justify-content: flex-end;
    gap: 0;
  }

  .main-header .header_lang {
    display: none;
  }

  .main-header .hamberger {
    position: relative;
    z-index: 4;
    justify-content: flex-start;
    width: 36px;
    height: 26px;
  }

  .main-header .hd_menu {
    width: 21px;
    height: 16px;
    margin-left: 3px;
  }

  .main-header .hd_menu span {
    display: block;
    width: 21px;
    height: 1px;
    background: var(--cg-header-ink);
    transform-origin: center;
    transition:
      margin 240ms ease 120ms,
      transform 320ms cubic-bezier(0.19, 1, 0.22, 1),
      opacity 180ms ease,
      background-color 220ms ease;
  }

  .main-header .hd_menu span:first-child {
    margin-bottom: 6px;
  }

  .main-header .hd_menu span:nth-child(3) {
    margin-top: 6px;
  }

  body.open .main-header .hd_menu span,
  .main-header.open .hd_menu span {
    background: #2b2b2b;
    transition:
      margin 220ms ease,
      transform 340ms cubic-bezier(0.19, 1, 0.22, 1) 90ms,
      opacity 180ms ease,
      background-color 220ms ease;
  }

  body.open .main-header .hd_menu span:first-child,
  .main-header.open .hd_menu span:first-child {
    margin-top: 7.5px;
    margin-bottom: -1px;
    opacity: 1;
    transform: rotate(45deg);
  }

  body.open .main-header .hd_menu span:nth-child(2),
  .main-header.open .hd_menu span:nth-child(2) {
    opacity: 1;
    transform: rotate(135deg);
  }

  body.open .main-header .hd_menu span:nth-child(3),
  .main-header.open .hd_menu span:nth-child(3) {
    margin-top: 6px;
    opacity: 0;
    transform: rotate(135deg) scaleX(0.72);
  }

  .main-header .logo {
    max-width: 100%;
    min-width: 0;
    padding: 0;
    text-align: center;
  }

  .main-header .logo a {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    font-size: 1.26rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    white-space: nowrap;
    line-height: 1.12;
  }

  .main-header .cg-logo-mark {
    display: block;
    width: 114px;
    height: auto;
  }

  .main-header .cg-logo-text {
    display: none;
    font-family: "KoPubWorld_Batang_Pro_l", "KoPubBatang", "KoPubWorld Batang", "Noto Serif KR", serif;
    font-weight: 300;
  }

  .main-header .ht-inner__left,
  .main-header .ht-inner__center,
  .main-header .ht-inner__right {
    animation: cg-header-content-drop 0.86s cubic-bezier(0.19, 1, 0.22, 1) 1.04s both;
  }

  .main-header .ht-inner__center {
    animation-delay: 1.12s;
  }

  .main-header .ht-inner__right {
    animation-delay: 1.18s;
  }

  .cg-language-switcher.is-header-mounted {
    position: relative;
    top: auto;
    right: auto;
    z-index: 4;
    margin-left: 0;
    justify-self: end;
  }

  .cg-language-switcher button {
    width: 36px;
    min-width: 36px;
    height: 26px;
    padding: 0;
    border-color: rgba(50, 45, 38, 0.07);
    font-size: 10px;
    letter-spacing: 0.06em;
  }

  .cg-language-current {
    min-width: 36px !important;
  }

}

@keyframes cg-header-content-drop {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .main-header .ht-inner__left,
  .main-header .ht-inner__center,
  .main-header .ht-inner__right {
    animation: none !important;
  }
}

@media (min-width: 1025px) {
  .main-header .hamberger {
    position: relative;
    width: 44px;
    height: 34px;
    justify-content: center;
  }

  .main-header .hamberger::before {
    content: none;
    display: none;
  }

  .main-header .hd_menu {
    position: relative;
    width: 26px;
    height: 20px;
  }

  .main-header .hd_menu span {
    position: absolute;
    left: 1px;
    width: 24px;
    height: 1px;
    margin: 0 !important;
    transform: none;
    transform-origin: center;
    transition:
      top 420ms cubic-bezier(0.19, 1, 0.22, 1),
      width 420ms cubic-bezier(0.19, 1, 0.22, 1),
      transform 520ms cubic-bezier(0.19, 1, 0.22, 1),
      opacity 240ms ease,
      background-color 260ms ease;
  }

  .main-header .hd_menu span:first-child {
    top: 2px;
  }

  .main-header .hd_menu span:nth-child(2) {
    top: 10px;
  }

  .main-header .hd_menu span:nth-child(3) {
    top: 18px;
  }

  body.open .main-header .hamberger::before,
  .main-header.open .hamberger::before {
    opacity: 0;
    transform: none;
  }

  body.open .main-header .hd_menu span,
  .main-header.open .hd_menu span {
    top: 10px;
    left: 2px;
    width: 22px;
    background: #2b2b2b;
  }

  body.open .main-header .hd_menu span:first-child,
  .main-header.open .hd_menu span:first-child {
    opacity: 1;
    transform: rotate(41deg);
  }

  body.open .main-header .hd_menu span:nth-child(2),
  .main-header.open .hd_menu span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0.3);
  }

  body.open .main-header .hd_menu span:nth-child(3),
  .main-header.open .hd_menu span:nth-child(3) {
    opacity: 1;
    transform: rotate(-41deg);
  }

  html:not(.cg-manual-lang) .main-header .pc_cont_1024.logo a {
    display: block;
    width: 132px;
    min-width: 132px;
    aspect-ratio: 425 / 57;
    overflow: hidden;
    color: transparent !important;
    font-size: 0 !important;
    line-height: 0 !important;
    letter-spacing: 0 !important;
    background: url("local-assets/brand/cg-wordmark-light@4x.png") center / contain no-repeat;
    transition: background-image 220ms ease, opacity 220ms ease;
  }

  html:not(.cg-manual-lang) .main-header:is(.scrolled, .open) .pc_cont_1024.logo a {
    width: 132px;
    min-width: 132px;
    background-image: url("local-assets/brand/cg-wordmark-dark@4x.png");
  }
}

@media (max-width: 768px) {
  .cg-language-switcher.is-header-mounted {
    margin-left: 0;
  }

  html.cg-manual-lang .main-header .ht-inner__left,
  html.cg-manual-lang .main-header .ht-inner__right {
    width: auto;
    flex: 0 1 auto;
  }

  html.cg-manual-lang .main-header .ht-inner__center {
    width: auto;
    min-width: 0;
    flex: 1 1 auto;
    padding: 0;
  }

  html.cg-manual-lang .m_main_note ul li {
    align-items: flex-start;
    line-height: 1.45;
  }

  html.cg-manual-lang .m_main_note ul li .category {
    width: auto;
    min-width: 5.7rem;
    margin-right: 0.42rem;
  }

  html.cg-manual-lang .m_main_about .btns li a {
    font-size: 0.76rem;
    line-height: 1.18;
    padding: 0 0.24rem;
  }

  html.cg-lang-en .m_main_refi .txt01,
  html.cg-lang-en .m_main_clar .tit02,
  html.cg-lang-en .m_main_less .tit02,
  html.cg-lang-en .m_main_glow .tit02 {
    font-size: 1.08rem;
    line-height: 1.72;
  }

  html.cg-lang-en .m_main_doctor .tit01 {
    font-size: 1.55rem;
    line-height: 1.52;
  }

  html.cg-lang-en .m_main_note .tit02 {
    font-size: 1rem;
    line-height: 1.52;
  }

  html.cg-lang-en .m_main_about .schedule li .days {
    width: 7.4rem;
  }
}

@media (min-width: 1025px) {
  html.cg-manual-lang .main-header .pc_cont_1024.logo a {
    display: block;
    width: 132px;
    min-width: 132px;
    aspect-ratio: 425 / 57;
    overflow: hidden;
    color: transparent !important;
    font-size: 0 !important;
    line-height: 0 !important;
    letter-spacing: 0 !important;
    background: url("local-assets/brand/cg-wordmark-dark@4x.png") center / contain no-repeat;
    transition: background-image 220ms ease, opacity 220ms ease;
  }

  html.cg-manual-lang .main-header:not(.scrolled):not(.open) .pc_cont_1024.logo a {
    background-image: url("local-assets/brand/cg-wordmark-light@4x.png");
  }

  .main-header:not(.scrolled):not(.open) .cg-language-switcher.is-header-mounted::before {
    background: rgba(253, 250, 246, 0.34);
  }

  .main-header:not(.scrolled):not(.open) .cg-language-current {
    color: rgba(255, 252, 246, 0.82);
  }

  .main-header:not(.scrolled):not(.open) .cg-language-current:hover,
  .main-header:not(.scrolled):not(.open) .cg-language-current:focus-visible,
  .main-header:not(.scrolled):not(.open) .cg-language-switcher.is-open .cg-language-current {
    background: rgba(255, 252, 246, 0.12);
    color: #fffaf2;
  }
}

@media print {
  .cg-language-switcher,
  #cg-google-translate-root {
    display: none !important;
  }
}
