:root {
  --rayna-black: #050505;
  --rayna-surface: #0d0d0d;
  --rayna-surface-soft: #141414;
  --rayna-gold: #c99a52;
  --rayna-gold-light: #e2bd7d;
  --rayna-line: rgba(255, 255, 255, 0.13);
  --rayna-cream: #f2eee7;
  --rayna-muted: #aaa7a1;
}

html {
  background: var(--rayna-black);
}

body.rayna-dark {
  background: var(--rayna-black);
  color: var(--rayna-cream);
}

body.rayna-dark #top_banner,
body.rayna-dark .bg-sm {
  background: #8f652d !important;
}

body.rayna-dark #top_banner .track span {
  color: #fff7e8;
  font-size: 11px;
  letter-spacing: 0.24em;
}

.rayna-site-header,
.rayna-mobile-header {
  background: rgba(5, 5, 5, 0.97) !important;
  border-bottom: 1px solid var(--rayna-line);
  color: var(--rayna-cream) !important;
  backdrop-filter: blur(18px);
}

.rayna-wordmark {
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: clamp(28px, 3.2vw, 48px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
  white-space: nowrap;
}

.rayna-account-links,
.rayna-site-header nav,
.rayna-site-header nav a,
.rayna-site-header button,
.rayna-mobile-header,
.rayna-mobile-header button {
  color: #dedbd5 !important;
}

.rayna-site-header nav a {
  letter-spacing: 0.02em;
  transition: color 180ms ease;
}

.rayna-site-header nav a:hover,
.rayna-site-header nav a.rayna-nav-active {
  color: var(--rayna-gold-light) !important;
}

.rayna-site-header svg *,
.rayna-mobile-header svg * {
  stroke: currentColor !important;
}

body.rayna-dark .btn_side_open_wrap span {
  background: #f3f0ea;
}

body.rayna-dark .rayna-mobile-drawer .rayna-mobile-menu {
  background: #fff !important;
  color: #171717 !important;
  border-right: 1px solid #e7e2d9;
  box-shadow: 18px 0 48px rgba(0, 0, 0, 0.24);
}

body.rayna-dark .rayna-mobile-drawer .rayna-mobile-menu > div {
  background: #fff !important;
  border-color: #e7e2d9 !important;
}

body.rayna-dark .rayna-mobile-drawer .rayna-mobile-menu a,
body.rayna-dark .rayna-mobile-drawer .rayna-mobile-menu button,
body.rayna-dark .rayna-mobile-drawer .rayna-mobile-menu p,
body.rayna-dark .rayna-mobile-drawer .rayna-mobile-menu span {
  color: #171717 !important;
}

body.rayna-dark .rayna-mobile-drawer .rayna-mobile-menu .text-gray-400 {
  color: #77736c !important;
}

body.rayna-dark .rayna-mobile-drawer .rayna-mobile-menu-link {
  border-radius: 2px;
  letter-spacing: 0.02em;
  transition:
    background-color 160ms ease,
    color 160ms ease;
}

body.rayna-dark .rayna-mobile-drawer .rayna-mobile-menu-link:hover,
body.rayna-dark .rayna-mobile-drawer .rayna-mobile-menu-link:focus-visible {
  background: #f5f1ea !important;
  color: #76501e !important;
}

body.rayna-dark .rayna-mobile-drawer .rayna-mobile-menu-link.is-active {
  background: #f4ede2 !important;
  color: #8f652d !important;
}

.rayna-public-main {
  background: var(--rayna-black) !important;
  color: var(--rayna-cream);
}

/* Public catalog, account and checkout pages inherit the black system. */
body.rayna-dark .rayna-public-main .bg-white {
  background-color: var(--rayna-black) !important;
}

body.rayna-dark .rayna-public-main .bg-gray-50,
body.rayna-dark .rayna-public-main .bg-gray-100 {
  background-color: var(--rayna-surface-soft) !important;
}

body.rayna-dark .rayna-public-main .text-black,
body.rayna-dark .rayna-public-main .text-gray-900,
body.rayna-dark .rayna-public-main .text-gray-800,
body.rayna-dark .rayna-public-main .text-gray-700 {
  color: var(--rayna-cream) !important;
}

body.rayna-dark .rayna-public-main .text-gray-600,
body.rayna-dark .rayna-public-main .text-gray-500,
body.rayna-dark .rayna-public-main .text-gray-400 {
  color: var(--rayna-muted) !important;
}

body.rayna-dark .rayna-public-main .border-gray-100,
body.rayna-dark .rayna-public-main .border-gray-200,
body.rayna-dark .rayna-public-main .border-gray-300,
body.rayna-dark .rayna-public-main .border-black {
  border-color: var(--rayna-line) !important;
}

body.rayna-dark .rayna-public-main input,
body.rayna-dark .rayna-public-main textarea,
body.rayna-dark .rayna-public-main select {
  background: #0e0e0e;
  border-color: #333 !important;
  color: var(--rayna-cream);
}

body.rayna-dark footer {
  background: #050505 !important;
  border-top: 1px solid var(--rayna-line);
}

.rayna-footer-brand {
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.rayna-site-footer {
  padding: 31px 0 21px;
  color: #b8b6b1;
}

.rayna-site-footer__grid {
  display: grid;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  grid-template-columns: 1.55fr 0.78fr 0.8fr 0.8fr 1.2fr;
  gap: clamp(18px, 3vw, 48px);
}

.rayna-site-footer h2 {
  margin: 0 0 8px;
  color: #f0eee9;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.rayna-site-footer nav,
.rayna-site-footer section {
  min-width: 0;
}

.rayna-site-footer nav a,
.rayna-site-footer section > p {
  display: block;
  margin: 0;
  color: #989691;
  font-size: 10px;
  line-height: 1.85;
}

.rayna-site-footer nav a:hover {
  color: var(--rayna-gold-light);
}

.rayna-site-footer__brand > p {
  margin-top: 7px !important;
  color: #9e9b95 !important;
}

.rayna-site-footer__cs p:first-of-type {
  color: #c5c1ba;
}

.rayna-site-footer__cs span {
  color: #8c8984;
}

.rayna-site-footer__copyright {
  width: min(1180px, calc(100% - 48px));
  margin: 18px auto 0;
  color: #66635f;
  font-family: "Inter", sans-serif;
  font-size: 9px;
  text-align: center;
}

.rayna-home {
  overflow: hidden;
  background: var(--rayna-black);
  color: var(--rayna-cream);
  font-family: "Pretendard Variable", "Inter", sans-serif;
}

.rayna-container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.rayna-kicker {
  color: var(--rayna-gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  line-height: 1.5;
}

.rayna-hero {
  position: relative;
  min-height: 500px;
  isolation: isolate;
  background: #050505;
}

.rayna-hero__image,
.rayna-hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.rayna-hero__image {
  z-index: -3;
  object-fit: contain;
  object-position: right center;
}

.rayna-hero__shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(3, 3, 3, 0.98) 4%, rgba(3, 3, 3, 0.78) 38%, rgba(3, 3, 3, 0.08) 72%),
    linear-gradient(0deg, rgba(3, 3, 3, 0.55), transparent 45%);
}

.rayna-hero__inner {
  display: flex;
  min-height: 500px;
  align-items: center;
}

.rayna-hero__copy {
  width: min(550px, 52vw);
  padding: 52px 0 58px;
}

.rayna-hero__title {
  display: flex;
  margin-top: 17px;
  flex-direction: column;
  font-family: "JoseonBoldMyongjo", "Noto Serif KR", serif;
  font-size: clamp(38px, 4vw, 56px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 1.18;
}

.rayna-hero__title strong {
  color: var(--rayna-gold);
  font-weight: 400;
}

.rayna-hero__description {
  margin-top: 21px;
  color: #cbc7c0;
  font-size: 15px;
  line-height: 1.8;
  white-space: pre-line;
}

.rayna-hero__actions {
  display: flex;
  margin-top: 27px;
  gap: 12px;
  flex-wrap: wrap;
}

.rayna-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 27px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 650;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.rayna-button:hover {
  transform: translateY(-2px);
}

.rayna-button--gold {
  background: linear-gradient(135deg, #e0b873, #b57c34);
  color: #130d06;
}

.rayna-button--ghost {
  border-color: rgba(214, 173, 107, 0.62);
  background: rgba(4, 4, 4, 0.46);
  color: #efe9de;
}

.rayna-button--ghost:hover {
  background: #e0b873;
  color: #130d06;
}

.rayna-benefits {
  border-top: 1px solid var(--rayna-line);
  border-bottom: 1px solid var(--rayna-line);
  background: linear-gradient(180deg, #0c0c0c, #080808);
}

.rayna-benefits__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.rayna-benefit {
  position: relative;
  min-height: 220px;
  padding: 38px 28px 35px;
  text-align: center;
}

.rayna-benefit + .rayna-benefit::before {
  position: absolute;
  top: 42px;
  bottom: 42px;
  left: 0;
  width: 1px;
  background: var(--rayna-line);
  content: "";
}

.rayna-benefit__icon {
  color: var(--rayna-gold);
  font-size: 34px;
  font-weight: 400;
}

.rayna-benefit h2 {
  margin-top: 21px;
  font-size: 16px;
  font-weight: 650;
}

.rayna-benefit p {
  max-width: 190px;
  margin: 11px auto 0;
  color: var(--rayna-muted);
  font-size: 12px;
  line-height: 1.7;
}

.rayna-section {
  padding: 100px 0 110px;
}

.rayna-section__header {
  max-width: 650px;
  margin: 0 auto 46px;
  text-align: center;
}

.rayna-section__header--left {
  margin-right: 0;
  margin-left: 0;
  text-align: left;
}

.rayna-section__header h2 {
  margin-top: 11px;
  font-family: "JoseonBoldMyongjo", "Noto Serif KR", serif;
  font-size: clamp(31px, 3vw, 44px);
  font-weight: 400;
  letter-spacing: -0.04em;
}

.rayna-section__header > p:last-child:not(.rayna-kicker) {
  margin-top: 15px;
  color: var(--rayna-muted);
  font-size: 14px;
}

.rayna-product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.rayna-product-card {
  overflow: hidden;
  border: 1px solid var(--rayna-line);
  background: #090909;
  transition: border-color 220ms ease, transform 220ms ease;
}

.rayna-product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(201, 154, 82, 0.72);
}

.rayna-product-card__image-wrap {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #111;
}

.rayna-product-card__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.08) brightness(0.88);
  transition: transform 500ms ease, filter 300ms ease;
}

.rayna-product-card:hover img {
  transform: scale(1.045);
  filter: saturate(0.95) contrast(1.05) brightness(1);
}

.rayna-product-card__body {
  padding: 22px 20px 24px;
}

.rayna-product-card__category {
  color: var(--rayna-gold);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.rayna-product-card h3 {
  min-height: 45px;
  margin-top: 10px;
  color: #f2eee8;
  font-size: 15px;
  font-weight: 550;
  line-height: 1.5;
}

.rayna-product-card span {
  display: inline-block;
  margin-top: 15px;
  color: #b9b5ad;
  font-size: 12px;
}

.rayna-product-card b {
  margin-left: 5px;
  color: var(--rayna-gold);
}

.rayna-process {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(135deg, #111 0%, #080808 55%, #050505 100%);
}

.rayna-process__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.rayna-process-card__visual {
  position: relative;
  height: 145px;
  overflow: hidden;
  background: #181818;
}

.rayna-process-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.3) brightness(0.68) contrast(1.1);
}

.rayna-process-card__visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.68), transparent 75%);
  content: "";
}

.rayna-process-card__visual span {
  position: absolute;
  right: 13px;
  bottom: 10px;
  z-index: 1;
  color: var(--rayna-gold);
  font-family: "Inter", sans-serif;
  font-size: 28px;
  font-weight: 300;
}

.rayna-process-card h3 {
  margin-top: 18px;
  color: #f0ece5;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.5;
}

.rayna-process-card p {
  margin-top: 8px;
  color: #918e88;
  font-size: 11px;
  line-height: 1.7;
}

.rayna-consult {
  position: relative;
  min-height: 215px;
  isolation: isolate;
  overflow: hidden;
  border-top: 1px solid var(--rayna-line);
  border-bottom: 1px solid var(--rayna-line);
}

.rayna-consult > img,
.rayna-consult__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.rayna-consult > img {
  z-index: -2;
  object-fit: cover;
  object-position: 70% 50%;
  filter: grayscale(0.25) brightness(0.58) contrast(1.08);
}

.rayna-consult__overlay {
  z-index: -1;
  background: linear-gradient(90deg, #080808 4%, rgba(8, 8, 8, 0.88) 41%, rgba(8, 8, 8, 0.16) 78%);
}

.rayna-consult__inner {
  display: flex;
  min-height: 215px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.rayna-consult h2 {
  max-width: 520px;
  font-family: "JoseonBoldMyongjo", "Noto Serif KR", serif;
  font-size: clamp(25px, 2.5vw, 34px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.4;
  white-space: pre-line;
}

.rayna-consult p {
  display: none;
}

.rayna-consult .rayna-button {
  min-height: 44px;
  margin-top: 16px;
  padding: 0 23px;
  font-size: 12px;
}

.rayna-notices {
  display: none;
  padding: 68px 0;
  background: #080808;
}

.rayna-notices__inner {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 70px;
}

.rayna-notices h2 {
  margin-top: 9px;
  font-family: "JoseonBoldMyongjo", serif;
  font-size: 29px;
  font-weight: 400;
}

.rayna-notices li {
  border-top: 1px solid var(--rayna-line);
}

.rayna-notices li:last-child {
  border-bottom: 1px solid var(--rayna-line);
}

.rayna-notices a {
  display: flex;
  padding: 17px 3px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #d7d2c9;
  font-size: 13px;
}

.rayna-notices time {
  color: #77736d;
  font-size: 11px;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .rayna-container {
    width: min(100% - 32px, 720px);
  }

  .rayna-hero,
  .rayna-hero__inner {
    min-height: 570px;
  }

  .rayna-hero__image {
    object-fit: cover;
    object-position: 68% center;
  }

  .rayna-hero__shade {
    background:
      linear-gradient(0deg, #050505 2%, rgba(5, 5, 5, 0.84) 42%, rgba(5, 5, 5, 0.12) 100%),
      linear-gradient(90deg, rgba(5, 5, 5, 0.72), transparent 70%);
  }

  .rayna-hero__inner {
    align-items: flex-end;
  }

  .rayna-hero__copy {
    width: 100%;
    padding: 210px 0 48px;
  }

  .rayna-benefits__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .rayna-benefit:nth-child(3)::before {
    display: none;
  }

  .rayna-benefit:nth-child(n + 3) {
    border-top: 1px solid var(--rayna-line);
  }

  .rayna-product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .rayna-process__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 14px;
  }

  .rayna-process-card:last-child {
    grid-column: 1 / -1;
    max-width: calc(50% - 7px);
  }

  .rayna-notices__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 560px) {
  .rayna-container {
    width: calc(100% - 28px);
  }

  .rayna-hero,
  .rayna-hero__inner {
    min-height: 590px;
  }

  .rayna-hero__image {
    object-position: 62% center;
  }

  .rayna-hero__copy {
    padding: 205px 0 42px;
  }

  .rayna-hero__title {
    font-size: 39px;
  }

  .rayna-hero__description {
    margin-top: 20px;
    font-size: 14px;
  }

  .rayna-hero__actions {
    margin-top: 26px;
  }

  .rayna-button {
    min-height: 46px;
    padding: 0 20px;
    font-size: 12px;
  }

  .rayna-benefit {
    min-height: 200px;
    padding: 30px 14px;
  }

  .rayna-benefit p {
    font-size: 11px;
  }

  .rayna-section {
    padding: 75px 0 82px;
  }

  .rayna-section__header {
    margin-bottom: 31px;
  }

  .rayna-product-grid {
    gap: 10px;
  }

  .rayna-product-card__body {
    padding: 16px 13px 18px;
  }

  .rayna-product-card h3 {
    min-height: 42px;
    font-size: 13px;
  }

  .rayna-process-card__visual {
    height: 118px;
  }

  .rayna-process-card h3 {
    font-size: 12px;
  }

  .rayna-process-card p {
    font-size: 10px;
  }

  .rayna-consult,
  .rayna-consult__inner {
    min-height: 270px;
  }

  .rayna-consult__overlay {
    background: linear-gradient(90deg, rgba(5, 5, 5, 0.96), rgba(5, 5, 5, 0.64) 75%, rgba(5, 5, 5, 0.3));
  }

  .rayna-consult > img {
    object-position: 65% center;
  }
}

@media (max-width: 700px) {
  .rayna-site-footer {
    padding: 30px 0 22px;
  }

  .rayna-site-footer__grid {
    width: calc(100% - 32px);
    grid-template-columns: 1fr 1fr;
    gap: 28px 22px;
  }

  .rayna-site-footer__brand,
  .rayna-site-footer__cs {
    grid-column: 1 / -1;
  }

  .rayna-site-footer__copyright {
    width: calc(100% - 32px);
    margin-top: 26px;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rayna-button,
  .rayna-product-card,
  .rayna-product-card img {
    transition: none;
  }
}
