﻿:root {
  --ly-plum: #582259;
  --ly-plum-dark: #351438;
  --ly-plum-soft: #f4edf5;
  --ly-orange: #f39a3f;
  --ly-ink: #19151a;
  --ly-muted: #6f6870;
  --ly-line: #ded8df;
  --ly-white: #ffffff;
  --ly-max: 1360px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ly-white);
}

body {
  margin: 0;
  color: var(--ly-ink);
  background: var(--ly-white);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.app-shell {
  min-height: 100vh;
  background:
    linear-gradient(90deg, transparent 0, transparent calc(50% - .5px), rgba(88, 34, 89, .045) 50%, transparent calc(50% + .5px)),
    #fff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  display: grid;
  grid-template-columns: 90px 1fr auto;
  align-items: center;
  min-height: 82px;
  padding: 0 max(28px, calc((100vw - var(--ly-max)) / 2));
  border-bottom: 1px solid var(--ly-line);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(18px);
}

.brand {
  display: block;
  width: 60px;
  height: 66px;
  overflow: hidden;
  color: transparent !important;
  font-size: 0 !important;
  background: url("/assets/longyin-logo.png") center 7px / 56px auto no-repeat;
}

.main-nav {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: clamp(26px, 3.8vw, 58px);
  align-self: stretch;
}

.main-nav > a {
  position: relative;
  display: flex;
  align-items: center;
  color: #3f3940;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .04em;
  text-decoration: none;
}

.main-nav > a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--ly-plum);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

.main-nav > a:hover::after,
.main-nav > a.is-active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.language-switch {
  display: flex;
  gap: 7px;
  color: var(--ly-muted);
}

.language-choice-wrap {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.language-switch button {
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font-size: 13px;
  cursor: pointer;
}

.language-switch button.is-active {
  color: var(--ly-plum);
  font-weight: 800;
}

.account-button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--ly-plum);
  border-radius: 0;
  color: var(--ly-plum);
  background: #fff;
}

.mobile-menu-button,
.mobile-nav-contact {
  display: none;
}

.site-main {
  display: flex;
  flex-direction: column;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(440px, .92fr) minmax(520px, 1.25fr);
  min-height: min(760px, calc(100vh - 82px));
  overflow: hidden;
  border-bottom: 1px solid var(--ly-line);
  background: #fff;
}

.hero::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-top: 120px solid var(--ly-orange);
  border-right: 120px solid transparent;
  content: "";
  z-index: 2;
}

.hero-copy {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 8vw, 124px) clamp(38px, 6.5vw, 112px);
}

.hero-copy::after {
  position: absolute;
  right: -44px;
  bottom: 0;
  width: 88px;
  height: 150px;
  background: var(--ly-plum);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  content: "";
}

.hero h1 {
  max-width: 650px;
  margin: 0;
  color: #171218;
  font-family: "Noto Serif SC", "Songti SC", SimSun, serif;
  font-size: clamp(60px, 6.6vw, 108px);
  font-weight: 700;
  letter-spacing: -.075em;
  line-height: .98;
}

.hero h1 span,
.hero h1 em {
  display: block;
  font-style: normal;
}

.hero h1 em {
  margin-top: .14em;
  color: var(--ly-plum);
}

.hero-copy > p {
  max-width: 520px;
  margin: 34px 0 0;
  color: var(--ly-muted);
  font-size: clamp(16px, 1.25vw, 20px);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 25px;
  border: 1px solid var(--ly-plum);
  border-radius: 0;
  font-size: 14px;
  font-weight: 760;
  letter-spacing: .04em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, color .2s ease, background .2s ease;
}

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

.button-primary {
  color: #fff;
  background: var(--ly-plum);
}

.button-secondary {
  color: var(--ly-plum);
  background: #fff;
}

.hero-search {
  display: flex;
  width: min(100%, 560px);
  min-height: 56px;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  padding-left: 18px;
  border: 1px solid var(--ly-line);
  border-bottom: 3px solid var(--ly-plum);
  background: #fff;
}

.hero-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  color: var(--ly-ink);
  background: transparent;
}

.hero-search button {
  align-self: stretch;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 18px;
  border: 0;
  color: #fff;
  background: var(--ly-plum);
  cursor: pointer;
}

.hero-media {
  position: relative;
  min-height: 560px;
  margin: 0;
  overflow: hidden;
  background: #eee8e2;
}

.hero-media::after {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 180px;
  height: 220px;
  background: var(--ly-plum);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  content: "";
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(.82) contrast(1.02);
  transition: transform .8s cubic-bezier(.2,.7,.2,1);
}

.hero:hover .hero-media img {
  transform: scale(1.025);
}

.category-rail {
  position: relative !important;
  inset: auto !important;
  z-index: 4;
  width: 100% !important;
  max-width: none !important;
  border: 0 !important;
  border-bottom: 1px solid var(--ly-line) !important;
  background: #fff !important;
  box-shadow: none !important;
  transform: none !important;
}

.category-rail-heading {
  width: min(var(--ly-max), calc(100% - 64px));
  margin: 0 auto;
  padding: 38px 0 22px;
  border-bottom: 1px solid var(--ly-plum);
  color: var(--ly-plum);
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 27px;
  font-weight: 800;
}

.category-rail-heading i {
  display: none;
}

.category-rail-list {
  display: grid !important;
  grid-template-columns: repeat(11, minmax(100px, 1fr));
  width: min(var(--ly-max), calc(100% - 64px));
  margin: 0 auto;
  padding: 0 0 34px;
  overflow-x: auto;
}

.category-rail-list > button {
  min-width: 112px;
  min-height: 130px;
  padding: 23px 14px 18px !important;
  border: 0 !important;
  border-right: 1px solid var(--ly-line) !important;
  border-radius: 0 !important;
  color: var(--ly-ink) !important;
  background: #fff !important;
  text-align: left;
  cursor: pointer;
}

.category-rail-list > button:first-child {
  border-left: 1px solid var(--ly-line) !important;
}

.category-rail-list > button:hover,
.category-rail-list > button.is-active {
  color: #fff !important;
  background: var(--ly-plum) !important;
}

.category-number {
  display: block;
  margin-bottom: 18px;
  color: var(--ly-orange);
  font-family: Georgia, serif;
  font-size: 26px;
  line-height: 1;
}

.category-name {
  display: grid;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.category-name small {
  color: var(--ly-muted);
  font-size: 11px;
  font-weight: 500;
}

.category-rail-list > button:hover .category-name small,
.category-rail-list > button.is-active .category-name small {
  color: rgba(255,255,255,.72);
}

.advisor-card,
.contact-channel-rail {
  display: none !important;
}

.featured-editorial {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  grid-template-rows: auto 250px 250px;
  gap: 1px;
  width: min(var(--ly-max), calc(100% - 64px));
  margin: 0 auto;
  padding: 84px 0 104px;
  background: var(--ly-line);
}

.featured-heading {
  grid-column: 1 / -1;
  display: flex;
  align-items: end;
  justify-content: space-between;
  padding: 0 0 24px;
  background: #fff;
}

.featured-heading h2,
.catalog-intro h2,
.service-intro h2 {
  margin: 0;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(34px, 3.4vw, 56px);
  letter-spacing: -.04em;
}

.featured-heading h2::before,
.catalog-intro h2::before {
  display: inline-block;
  width: 30px;
  height: 3px;
  margin: 0 14px .22em 0;
  background: var(--ly-plum);
  content: "";
}

.featured-heading button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 0 6px;
  border: 0;
  border-bottom: 1px solid var(--ly-plum);
  color: var(--ly-plum);
  background: transparent;
  cursor: pointer;
}

.featured-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0 !important;
  background: #ddd;
  cursor: pointer;
}

.featured-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s ease;
}

.featured-card:hover img {
  transform: scale(1.045);
}

.featured-headphones {
  grid-row: 2 / 4;
}

.featured-stack {
  display: contents;
}

.featured-skincare,
.featured-ceramics {
  grid-column: 2;
}

.featured-travel {
  grid-column: 3;
  grid-row: 2 / 4;
}

.travel-copy {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 40px 32px 34px;
  color: #fff;
  background: linear-gradient(0deg, rgba(53,20,56,.94), rgba(53,20,56,0));
}

.travel-copy strong {
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 28px;
}

.travel-copy small {
  margin-top: 16px;
  color: #fff;
}

.catalog-section {
  width: min(var(--ly-max), calc(100% - 64px));
  margin: 0 auto;
  padding: 94px 0 118px;
  border-top: 1px solid var(--ly-plum);
}

.catalog-intro {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 32px;
  margin-bottom: 42px;
}

.catalog-intro p {
  color: var(--ly-muted);
  line-height: 1.7;
}

.catalog-count {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 !important;
  color: var(--ly-plum) !important;
}

.catalog-count strong {
  font-family: Georgia, serif;
  font-size: clamp(50px, 5vw, 78px);
  font-weight: 500;
  line-height: .8;
}

.catalog-toolbar {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(190px, .3fr) minmax(170px, .25fr);
  gap: 12px;
  margin-bottom: 28px;
}

.catalog-toolbar label {
  display: flex;
  min-height: 50px;
  align-items: center;
  border: 1px solid var(--ly-line);
  border-radius: 0;
  background: #fff;
}

.catalog-search-control {
  padding: 0 16px;
  gap: 11px;
}

.catalog-toolbar input,
.catalog-toolbar select {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--ly-ink);
  background: transparent;
}

.catalog-toolbar select {
  height: 100%;
  padding: 0 16px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--ly-line);
  background: var(--ly-line);
}

.product-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0 !important;
  color: var(--ly-ink);
  background: #fff;
  text-align: left;
  cursor: pointer;
}

.product-image-wrap {
  position: relative;
  display: block;
  aspect-ratio: 1 / .78;
  overflow: hidden;
  background: #f5f3f5;
}

.product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
  transition: transform .4s ease;
}

.product-card:hover .product-image-wrap img {
  transform: scale(1.04);
}

.product-source {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 8px;
  color: #fff;
  background: var(--ly-plum);
  font-size: 10px;
  letter-spacing: .08em;
}

.product-card-copy {
  display: grid;
  min-height: 154px;
  grid-template-rows: auto 1fr auto;
  gap: 9px;
  padding: 20px;
}

.product-card-copy small {
  color: var(--ly-orange);
  font-weight: 800;
  letter-spacing: .05em;
}

.product-card-copy strong {
  font-size: 15px;
  line-height: 1.55;
}

.product-card-copy > span {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--ly-line);
  color: var(--ly-plum);
  font-size: 13px;
  font-weight: 800;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 38px;
}

.pagination button {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--ly-plum);
  border-radius: 0;
  color: var(--ly-plum);
  background: #fff;
}

.marketplace-note {
  margin-top: 24px;
  color: var(--ly-muted);
  text-align: center;
  font-size: 12px;
}

.service-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, .8fr) minmax(700px, 1.7fr);
  gap: 70px;
  padding: 94px max(32px, calc((100vw - var(--ly-max)) / 2));
  overflow: hidden;
  color: #fff;
  background: var(--ly-plum);
}

.service-section::after {
  position: absolute;
  right: -40px;
  bottom: -110px;
  width: 380px;
  height: 380px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 50%;
  content: "";
}

.service-intro {
  position: relative;
  z-index: 2;
}

.service-intro h2 {
  color: #fff;
  line-height: 1.15;
}

.service-intro p {
  margin: 22px 0 28px;
  color: rgba(255,255,255,.72);
  line-height: 1.8;
}

.service-intro .button-primary {
  border-color: var(--ly-orange);
  color: var(--ly-plum-dark);
  background: var(--ly-orange);
}

.service-list {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.service-list article {
  min-width: 0;
  padding: 8px 26px 20px;
  border-left: 1px solid rgba(255,255,255,.24);
}

.service-list article > span {
  display: block;
  margin-bottom: 42px;
  color: var(--ly-orange);
  font-family: Georgia, serif;
  font-size: 54px;
}

.service-list svg {
  width: 38px;
  height: 38px;
  margin-bottom: 26px;
  color: #fff;
}

.service-list h3 {
  margin: 0 0 12px;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 24px;
}

.service-list p {
  margin: 0;
  color: rgba(255,255,255,.68);
  font-size: 13px;
  line-height: 1.8;
}

.site-footer {
  position: relative;
  display: grid;
  grid-template-columns: .9fr 1fr;
  align-items: end;
  gap: 70px;
  min-height: 300px;
  padding: 70px max(32px, calc((100vw - var(--ly-max)) / 2)) 58px;
  overflow: hidden;
  border: 0;
  color: var(--ly-ink);
  background: #fff;
}

.site-footer::before {
  display: block;
  width: 310px;
  height: 210px;
  background: url("/assets/longyin-logo.png") center / contain no-repeat;
  content: "";
}

.site-footer > div:first-child {
  display: none;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  padding: 22px 0;
  border-top: 1px solid var(--ly-line);
}

.footer-meta strong {
  color: var(--ly-plum);
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 23px;
}

.footer-meta span {
  color: var(--ly-muted);
  font-size: 13px;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > *,
  .hero-media,
  .category-rail-list > button,
  .featured-editorial > *,
  .catalog-intro,
  .catalog-toolbar,
  .product-card,
  .service-section > * {
    animation: ly-reveal .7s both cubic-bezier(.2,.7,.2,1);
  }

  .hero-media { animation-delay: .12s; }
  .category-rail-list > button:nth-child(2n) { animation-delay: .05s; }
  .product-card:nth-child(2n) { animation-delay: .05s; }
  .product-card:nth-child(3n) { animation-delay: .1s; }
}

@keyframes ly-reveal {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: 72px 1fr auto;
    padding-inline: 24px;
  }

  .main-nav {
    gap: 22px;
  }

  .hero {
    grid-template-columns: 1fr 1fr;
  }

  .hero-copy {
    padding-inline: 40px;
  }

  .featured-editorial,
  .catalog-section,
  .category-rail-heading,
  .category-rail-list {
    width: calc(100% - 48px);
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .service-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 68px;
    grid-template-columns: 58px 1fr auto;
    padding: 0 16px;
  }

  .brand {
    width: 48px;
    height: 56px;
    background-size: 46px auto;
  }

  .main-nav {
    position: fixed;
    top: 68px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px;
    border-bottom: 1px solid var(--ly-line);
    background: #fff;
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav > a {
    min-height: 48px;
    justify-content: center;
  }

  .mobile-nav-contact {
    display: block;
    min-height: 48px;
    border: 0;
    color: #fff;
    background: var(--ly-plum);
  }

  .header-actions {
    gap: 10px;
  }

  .language-switch,
  .account-button {
    display: none;
  }

  .mobile-menu-button {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid var(--ly-plum);
    color: var(--ly-plum);
    background: #fff;
  }

  .hero {
    display: flex;
    min-height: auto;
    flex-direction: column;
  }

  .hero-copy {
    padding: 82px 22px 54px;
  }

  .hero::before {
    border-top-width: 72px;
    border-right-width: 72px;
  }

  .hero h1 {
    font-size: clamp(52px, 15vw, 72px);
  }

  .hero-copy > p {
    margin-top: 24px;
    font-size: 15px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 28px;
  }

  .hero-search {
    margin-top: 18px;
  }

  .hero-search button span {
    display: none;
  }

  .hero-media {
    min-height: 430px;
  }

  .category-rail-heading,
  .category-rail-list,
  .featured-editorial,
  .catalog-section {
    width: calc(100% - 32px);
  }

  .category-rail-heading {
    padding-top: 28px;
  }

  .category-rail-list {
    grid-template-columns: repeat(11, 120px);
  }

  .featured-editorial {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 300px 180px 300px;
    padding: 64px 0 72px;
  }

  .featured-heading {
    grid-column: 1 / -1;
  }

  .featured-headphones {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .featured-stack {
    display: contents;
  }

  .featured-skincare {
    grid-column: 1;
    grid-row: 3;
  }

  .featured-ceramics {
    grid-column: 2;
    grid-row: 3;
  }

  .featured-travel {
    grid-column: 1 / -1;
    grid-row: 4;
  }

  .catalog-section {
    padding: 72px 0 82px;
  }

  .catalog-intro {
    grid-template-columns: 1fr;
  }

  .catalog-count {
    justify-self: start;
  }

  .catalog-toolbar {
    grid-template-columns: 1fr;
  }

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

  .product-card-copy {
    min-height: 142px;
    padding: 15px;
  }

  .service-section {
    gap: 48px;
    padding: 72px 22px;
  }

  .service-list {
    grid-template-columns: 1fr;
  }

  .service-list article {
    display: grid;
    grid-template-columns: 70px 44px 1fr;
    align-items: start;
    gap: 12px;
    padding: 24px 0;
    border-top: 1px solid rgba(255,255,255,.22);
    border-left: 0;
  }

  .service-list article > span,
  .service-list svg {
    margin: 0;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 58px 22px 40px;
  }

  .site-footer::before {
    width: 250px;
    height: 180px;
  }
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-image-wrap {
    aspect-ratio: 1.2 / 1;
  }
}


/* Final reset of legacy sidebar layout constraints. */
.app-shell {
  display: block !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}
.site-header,
.site-main {
  left: auto !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}
.site-main {
  padding: 0 !important;
}
.featured-editorial {
  position: relative !important;
}
@media (prefers-reduced-motion: no-preference) {
  .category-rail-list > button,
  .featured-editorial > *,
  .product-card {
    animation: none !important;
  }
}

/* Crop the supplied combined logo to the emblem in navigation. */
.brand {
  width: 58px !important;
  height: 42px !important;
  background-position: center top !important;
  background-size: 58px auto !important;
}
@media (max-width: 760px) {
  .brand {
    width: 48px !important;
    height: 35px !important;
    background-size: 48px auto !important;
  }
}
