/* Yunxiu storefront — teasenz-inspired chrome */

:root {
  --yx-ink: #1a1a1a;
  --yx-nav: #4a4a4a;
  --yx-muted: #6b6b6b;
  --yx-line: #e6e6e6;
  --yx-bg: #fff;
  --yx-paper: #f3f3f3;
  --yx-olive: #4a5340;
  --yx-olive-dark: #3a4233;
  --yx-sale: #c45c26;
  --yx-header-h: 72px;
  --yx-nav-h: 40px;
  --yx-serif: "Cormorant Garamond", "Times New Roman", serif;
  --yx-sans: "Jost", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", sans-serif;
}

html {
  margin-top: 0 !important;
}

body.yunxiu-store {
  font-family: var(--yx-sans);
  color: var(--yx-ink);
  background: var(--yx-bg);
  margin: 0;
}

body.yunxiu-store.admin-bar #masthead.yx-header {
  top: 32px;
}

/* Hide Google Translate chrome, keep the widget initializable */
#google_translate_element {
  position: absolute !important;
  left: -9999px !important;
  top: 0 !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
iframe.goog-te-banner-frame,
.goog-te-banner-frame,
.goog-te-balloon-frame,
body > .skiptranslate {
  display: none !important;
}
body {
  top: 0 !important;
}
.goog-te-gadget,
.goog-te-gadget-simple {
  font-size: 0 !important;
}
font {
  background: transparent !important;
}

.yx-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: visible;
}

.yx-content {
  flex: 1;
}

/* -------- Header -------- */
#masthead.yx-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  background-color: #fff;
  border-bottom: 1px solid transparent;
}

.yx-header-top {
  position: relative;
  z-index: 1100;
  height: var(--yx-header-h);
  border-bottom: 1px solid transparent;
}

.yx-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  height: 100%;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.yx-header-left {
  justify-self: start;
}

.yx-header-center {
  justify-self: center;
}

.yx-header-right {
  justify-self: end;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  height: 40px;
  position: relative;
}

.yx-icon-btn {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  background-color: transparent;
  border: 0;
  box-shadow: none;
  outline: none;
  width: 40px;
  height: 40px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--yx-ink);
  cursor: pointer;
  text-decoration: none;
  position: relative;
  line-height: 0;
  flex-shrink: 0;
  border-radius: 0;
}

.yx-icon-btn svg {
  width: 22px;
  height: 22px;
  display: block;
}

.yx-heart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.yx-heart svg {
  width: 22px;
  height: 22px;
  overflow: visible;
  transform: none;
}

button.yx-icon-btn:hover,
button.yx-icon-btn:focus,
button.yx-icon-btn:focus-visible,
button.yx-icon-btn:active,
a.yx-icon-btn:hover,
a.yx-icon-btn:focus,
a.yx-icon-btn:focus-visible,
a.yx-icon-btn:active,
.yx-search-open:hover,
.yx-search-open:focus,
.yx-search-open:focus-visible,
.yx-search-open:active {
  background: transparent !important;
  background-color: transparent !important;
  color: var(--yx-ink) !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  outline-style: none !important;
  opacity: 1;
}

.yx-menu-toggle {
  display: none;
}

.yx-cart-count {
  position: absolute;
  top: 2px;
  right: 0;
  min-width: 16px;
  height: 16px;
  border-radius: 99px;
  background: var(--yx-olive);
  color: #fff;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* Search overlay — figure 2 */
.yx-search-panel {
  position: absolute;
  inset: 0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.yx-search-panel[hidden] {
  display: none !important;
}

.yx-search-form {
  width: min(480px, calc(100% - 80px));
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #c4c4c4;
  border-radius: 0;
  box-shadow: none;
  outline: none;
  padding: 0 4px 0 14px;
  height: 36px;
}

.yx-search-form:focus,
.yx-search-form:focus-within {
  outline: none;
  box-shadow: none;
  border: 1px solid #c4c4c4;
}

.yx-search-input {
  flex: 1;
  border: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  font-size: 14px;
  font-family: var(--yx-sans);
  background: transparent;
  color: #555;
  min-width: 0;
  height: 34px;
  padding: 0;
  margin: 0;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}

input.yx-search-input[type="search"]:focus,
input.yx-search-input[type="search"]:focus-visible,
input.yx-search-input[type="search"]:active,
.yx-search-input:focus,
.yx-search-input:focus-visible,
.yx-search-input:active {
  border: 0 !important;
  border-color: transparent !important;
  outline: none !important;
  outline-width: 0 !important;
  outline-style: none !important;
  box-shadow: none !important;
  background: transparent !important;
  color: #555 !important;
}

.yx-search-input::-webkit-search-decoration,
.yx-search-input::-webkit-search-cancel-button,
.yx-search-input::-webkit-search-results-button,
.yx-search-input::-webkit-search-results-decoration {
  display: none;
  -webkit-appearance: none;
}

.yx-search-input::placeholder {
  color: #9a9a9a;
  opacity: 1;
}

.yx-search-close {
  width: 36px;
  height: 36px;
  color: #666;
}

.yx-search-close svg {
  width: 16px;
  height: 16px;
}

#masthead.yx-header *:focus,
#masthead.yx-header *:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

#masthead.yx-header.is-search-open .yx-header-inner {
  visibility: hidden;
}

#masthead.yx-header.is-search-open .yx-search-panel {
  display: flex !important;
}

body.yx-home-hero #masthead.yx-header.is-search-open {
  background: #fff;
  background-color: #fff;
}

/* Language dropdown */
.yx-lang {
  position: relative;
}

.yx-lang-toggle {
  appearance: none;
  -webkit-appearance: none;
  background: none;
  background-color: transparent;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 40px;
  padding: 0 10px;
  font-family: var(--yx-sans);
  font-size: 13px;
  letter-spacing: 0.08em;
  cursor: pointer;
  color: var(--yx-ink);
  box-shadow: none;
  outline: none;
  border-radius: 0;
}

.yx-lang-toggle,
.yx-lang-toggle .yx-lang-short,
.yx-lang-toggle svg,
button.yx-lang-toggle:hover,
button.yx-lang-toggle:hover .yx-lang-short,
button.yx-lang-toggle:hover svg,
button.yx-lang-toggle:focus,
button.yx-lang-toggle:focus-visible,
button.yx-lang-toggle:active {
  color: var(--yx-ink) !important;
  fill: currentColor;
}

button.yx-lang-toggle:hover,
button.yx-lang-toggle:focus,
button.yx-lang-toggle:focus-visible,
button.yx-lang-toggle:active {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  outline: none !important;
  border: 0 !important;
  opacity: 1;
}

.yx-lang-toggle svg {
  width: 10px;
  height: 7px;
}

.yx-lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: #fff;
  border: 1px solid #eee;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  min-width: 180px;
  z-index: 1200;
}

.yx-header .yx-lang {
  position: static;
}

.yx-header .yx-lang-menu {
  right: 0;
  left: auto;
  top: calc(100% + 8px);
}

.yx-lang-item {
  width: 100%;
  appearance: none;
  background: none;
  border: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  font-size: 14px;
  font-family: var(--yx-sans);
  cursor: pointer;
  text-align: left;
  color: var(--yx-ink);
}

button.yx-lang-item:hover,
button.yx-lang-item:focus,
button.yx-lang-item.is-active,
.yx-lang-item:hover,
.yx-lang-item.is-active {
  background: #f4f4f4 !important;
  background-color: #f4f4f4 !important;
  color: var(--yx-ink) !important;
  box-shadow: none !important;
  outline: none !important;
}

.yx-flag {
  font-size: 16px;
  line-height: 1;
}

/* Nav */
.yx-nav {
  border-top: 0;
}

.yx-menu {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 12px;
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0;
  min-height: var(--yx-nav-h);
}

.yx-menu svg,
.yx-menu .icon,
.yx-menu .dropdown-toggle {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.yx-menu > .menu-item-has-children > a::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 6px;
  border-left: 3.5px solid transparent;
  border-right: 3.5px solid transparent;
  border-top: 4px solid currentColor;
  vertical-align: middle;
  opacity: 0.75;
}

.yx-menu > li {
  position: relative;
}

.yx-menu > li > a {
  display: block;
  padding: 9px 12px;
  text-decoration: none;
  color: var(--yx-nav);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.yx-menu > li > a:hover {
  opacity: 0.8;
}

.yx-menu > li.current-menu-item > a,
.yx-menu > li.current-menu-ancestor > a,
body.home:not(.yx-home-hero) .yx-menu > li.menu-item-home > a,
.yx-menu > .menu-item-has-children:hover > a,
.yx-menu > .menu-item-has-children.is-open > a {
  color: var(--yx-sale) !important;
  font-weight: 500;
  opacity: 1;
}

body:not(.yx-home-hero):not(.home) .yx-menu > li.menu-item-home:not(.current-menu-item) > a {
  color: var(--yx-nav) !important;
  font-weight: 500;
}

.yx-menu .sub-menu {
  display: block;
  position: absolute;
  left: 0;
  top: calc(100% + 10px);
  margin: 0;
  padding: 14px 0 12px;
  list-style: none;
  background: #fff;
  min-width: 230px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
  z-index: 30;
  visibility: hidden;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.32s ease, transform 0.32s ease, visibility 0.32s;
}

.yx-menu .sub-menu::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 22px;
  width: 12px;
  height: 12px;
  background: #fff;
  transform: rotate(45deg);
  box-shadow: -1px -1px 2px rgba(0, 0, 0, 0.04);
}

.yx-menu .sub-menu::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -14px;
  height: 14px;
}

.yx-menu .menu-item-has-children:hover > .sub-menu,
.yx-menu .menu-item-has-children:focus-within > .sub-menu,
.yx-menu .menu-item-has-children.is-open > .sub-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.yx-menu .sub-menu a {
  display: block;
  padding: 8px 20px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.45;
}

.yx-menu .sub-menu a:hover {
  background: #f7f7f7;
}

/* Hide leftover parent branding / landing notice */
body.yunxiu-store .site-branding,
body.yunxiu-store #masthead.site-header,
.tl-topbar {
  display: none !important;
}

.yx-home {
  width: 100%;
}

.yx-home .tea-landing {
  margin-top: 0;
}

.home .yx-content,
.home .yx-home,
.home .tea-landing {
  overflow-x: clip;
}

/* Home: hero image is the full top background, header floats on it */
body.yx-home-hero #masthead.yx-header {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  background: transparent;
  background-color: transparent;
  border: 0;
}

body.yx-home-hero.admin-bar #masthead.yx-header {
  top: 32px;
}

body.yx-home-hero .yx-nav {
  border-top: 0;
}

body.yx-home-hero #masthead.yx-header:not(.is-scrolled):not(.is-search-open) .yx-menu > li > a {
  color: #fff !important;
  font-weight: 500;
}

body.yx-home-hero #masthead.yx-header:not(.is-scrolled):not(.is-search-open) .yx-menu > .menu-item-has-children:hover > a,
body.yx-home-hero #masthead.yx-header:not(.is-scrolled):not(.is-search-open) .yx-menu > .menu-item-has-children.is-open > a {
  color: var(--yx-sale) !important;
}

body.yx-home-hero #masthead.yx-header:not(.is-scrolled):not(.is-search-open) .yx-icon-btn,
body.yx-home-hero #masthead.yx-header:not(.is-scrolled):not(.is-search-open) .yx-lang-toggle,
body.yx-home-hero #masthead.yx-header:not(.is-scrolled):not(.is-search-open) .yx-lang-toggle .yx-lang-short,
body.yx-home-hero #masthead.yx-header:not(.is-scrolled):not(.is-search-open) .yx-lang-toggle svg {
  color: #fff !important;
}

body.yx-home-hero #masthead.yx-header.is-scrolled {
  position: fixed;
}

body.yx-home-hero #masthead.yx-header.is-scrolled .yx-menu > li > a {
  color: var(--yx-nav) !important;
}

body.yx-home-hero #masthead.yx-header.is-search-open .yx-menu > li > a {
  color: var(--yx-nav) !important;
}

body.yx-home-hero #masthead.yx-header.is-scrolled .yx-menu > li.current-menu-item > a,
body.yx-home-hero #masthead.yx-header.is-scrolled .yx-menu > li.menu-item-home > a,
body.yx-home-hero #masthead.yx-header.is-scrolled .yx-menu > .menu-item-has-children:hover > a,
body.yx-home-hero #masthead.yx-header.is-scrolled .yx-menu > .menu-item-has-children.is-open > a,
body.yx-home-hero #masthead.yx-header.is-search-open .yx-menu > li.current-menu-item > a,
body.yx-home-hero #masthead.yx-header.is-search-open .yx-menu > li.menu-item-home > a {
  color: var(--yx-sale) !important;
  font-weight: 500;
}

body.yx-home-hero #masthead.yx-header.is-scrolled .yx-icon-btn,
body.yx-home-hero #masthead.yx-header.is-scrolled .yx-lang-toggle,
body.yx-home-hero #masthead.yx-header.is-search-open .yx-icon-btn,
body.yx-home-hero #masthead.yx-header.is-search-open .yx-lang-toggle {
  color: var(--yx-ink) !important;
}

body.yx-home-hero #masthead.yx-header.is-search-open {
  background: #fff;
  background-color: #fff;
}

body.yx-home-hero #masthead.yx-header.is-search-open.is-scrolled {
  background: #fff;
  background-color: #fff;
}

body.yx-home-hero .yx-content {
  padding-top: 0;
}

body.yx-home-hero .tl-hero {
  min-height: 100vh !important;
  margin-top: 0 !important;
}

body.yx-home-hero .tl-hero-inner {
  padding-top: calc(var(--yx-header-h) + var(--yx-nav-h) + 48px) !important;
}

body.yx-home-hero .tl-hero::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 200px;
  background: linear-gradient(180deg, rgba(18, 20, 16, 0.38) 0%, rgba(18, 20, 16, 0.12) 55%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

body.yx-home-hero .tl-hero::after {
  background:
    linear-gradient(90deg, rgba(18, 20, 16, 0.55) 0%, rgba(18, 20, 16, 0.28) 38%, rgba(18, 20, 16, 0.04) 68%, transparent 100%),
    linear-gradient(0deg, rgba(18, 20, 16, 0.28) 0%, transparent 42%) !important;
}

/* Inner pages (SALE, categories, login): solid white */
body.yunxiu-store:not(.yx-home-hero) {
  background: #fff;
}

body.yunxiu-store:not(.yx-home-hero) #masthead.yx-header {
  display: contents;
  position: static;
  background: transparent;
  border: 0;
}

body.yunxiu-store:not(.yx-home-hero) .yx-header-top {
  position: relative;
  z-index: 1100;
  background: #fff;
  border-bottom: 0;
  flex-shrink: 0;
}

body.yunxiu-store:not(.yx-home-hero) .yx-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-top: 0;
  border-bottom: 0;
  flex-shrink: 0;
}

body.admin-bar.yunxiu-store:not(.yx-home-hero) .yx-nav {
  top: 32px;
}

body.yx-home-hero #masthead.yx-header.is-scrolled:not(.is-search-open),
body.yunxiu-store:not(.yx-home-hero) #masthead.yx-header.is-scrolled:not(.is-search-open) .yx-nav {
  background: rgba(255, 255, 255, 0.78);
  background-color: rgba(255, 255, 255, 0.78);
  box-shadow: none;
  border: 0;
}

@media (min-width: 1025px) {
  body.yx-home-hero #masthead.yx-header.is-scrolled:not(.is-search-open) .yx-header-top {
    display: none;
  }
}

body.yunxiu-store #masthead.yx-header.is-scrolled .yx-nav {
  border-top: 0;
}

body.yunxiu-store #masthead.yx-header.is-scrolled .yx-menu > li > a {
  font-size: 16px;
  font-weight: 500;
  padding: 9px 12px;
}

body.yunxiu-store:not(.yx-home-hero) .yx-content,
body.yx-sale-page,
body.yx-sale-page .yx-archive,
body.tax-product_cat .yx-archive,
body.woocommerce-account .yx-page-wrap {
  background: #fff;
}

body.yunxiu-store p.yx-archive-lead {
  max-width: 640px;
  margin: 16px auto 0;
  text-align: center;
  font-size: 14px;
  line-height: 1.7;
  color: #777;
}

.yx-sale-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  letter-spacing: 0.02em;
}

.yx-card-image {
  position: relative;
}

.yx-price-now {
  margin-right: 8px;
}

.yx-price-was {
  color: #999;
  text-decoration: line-through;
  font-weight: 400;
}

/* -------- Archive (figure 7) -------- */
.yx-archive {
  background: #fff;
  padding: 28px 0 80px;
}

.yx-archive-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.yx-breadcrumb,
.woocommerce-breadcrumb {
  font-size: 13px;
  color: #888;
  margin: 0 0 12px;
}

.yx-breadcrumb a,
.woocommerce-breadcrumb a {
  color: #888;
  text-decoration: none;
}

.yx-breadcrumb a:hover,
.woocommerce-breadcrumb a:hover {
  color: var(--yx-ink);
}

.yx-bc-sep {
  padding: 0 6px;
  color: #bbb;
}

.yx-archive-header {
  text-align: center;
  margin-bottom: 28px;
}

.yx-archive-title,
.yx-login-title {
  font-family: var(--yx-serif);
  font-weight: 500;
  font-size: 42px;
  margin: 0 0 10px;
  letter-spacing: 0.02em;
  color: #222;
}

.yx-title-rule {
  display: block;
  width: 42px;
  height: 3px;
  background: var(--yx-olive);
  margin: 8px auto 0;
}

.yx-archive-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 22px;
  font-size: 13px;
  color: #666;
}

.yx-result-count {
  margin: 0;
}

.yx-ordering {
  display: flex;
  align-items: center;
  gap: 8px;
}

.yx-ordering-label {
  color: #444;
}

.yx-ordering .woocommerce-ordering {
  margin: 0;
}

.yx-ordering select {
  border: 0;
  background: transparent;
  font-family: var(--yx-sans);
  font-size: 13px;
  color: #444;
  cursor: pointer;
}

.yx-archive ul.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.yx-archive ul.products li.product,
.yx-card {
  width: auto !important;
  margin: 0 !important;
  float: none !important;
  text-align: center;
}

.yx-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.yx-card-image {
  position: relative;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fafafa;
  margin-bottom: 16px;
  overflow: hidden;
}

.yx-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.yx-card-title {
  font-family: var(--yx-sans);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
  margin: 0 0 10px;
  color: #333;
  min-height: 2.9em;
}

.yx-card-price {
  font-size: 14px;
  color: #333;
}

.yx-price-aslow {
  margin-top: 4px;
  font-size: 13px;
  color: #888;
}

.yx-empty {
  text-align: center;
  padding: 48px 0;
  color: #777;
}

/* -------- Login (figure 3) -------- */
body.yx-login-page .yx-page-wrap,
body.woocommerce-account .yx-page-wrap {
  max-width: none;
  padding: 0;
}

body.woocommerce-account .woocommerce {
  max-width: none;
}

.yx-login {
  padding: 36px 20px 0;
}

.yx-login-box {
  max-width: 980px;
  margin: 0 auto 48px;
  border: 1px solid #cfcfcf;
  padding: 36px 48px 40px;
  background: #fff;
}

.yx-login-header {
  text-align: center;
  margin-bottom: 28px;
}

.yx-login-form {
  max-width: 480px;
  margin: 0 auto;
  border: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
}

.yx-login-form .show-password-input {
  display: none !important;
}

.yx-login-form .password-input {
  display: block;
}

.yx-register[hidden] {
  display: none !important;
}

.woocommerce form.login,
.woocommerce form.register {
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

.yx-login-form .form-row {
  margin: 0 0 16px;
}

.yx-login-form label {
  display: block;
  font-size: 13px;
  margin-bottom: 6px;
}

.yx-login-form .required {
  color: #c45c26;
}

.yx-login-form input.input-text {
  width: 100%;
  height: 38px;
  border: 1px solid #cfcfcf;
  padding: 0 10px;
  font-size: 14px;
  font-family: var(--yx-sans);
  box-sizing: border-box;
}

.yx-show-password,
.yx-remember {
  font-size: 13px;
  margin: 8px 0;
}

.yx-remember {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.yx-whats-this {
  appearance: none;
  background: none;
  border: 0;
  color: #2b6cb0;
  cursor: pointer;
  font-size: 13px;
  padding: 0;
  font-family: inherit;
}

.yx-remember-tip {
  flex-basis: 100%;
  font-size: 12px;
  color: #666;
}

.yx-btn-signin {
  appearance: none;
  border: 0;
  background: var(--yx-olive) !important;
  color: #fff !important;
  padding: 10px 22px;
  font-size: 13px;
  letter-spacing: 0.08em;
  cursor: pointer;
  margin-top: 8px;
  font-family: var(--yx-sans);
}

.yx-btn-signin:hover {
  background: var(--yx-olive-dark) !important;
}

.yx-login-links {
  max-width: 640px;
  margin: 28px auto 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
  letter-spacing: 0.06em;
}

.yx-login-links a {
  color: var(--yx-ink);
  text-decoration: none;
  font-weight: 500;
}

.yx-login-links a:hover {
  text-decoration: underline;
}

.yx-register {
  max-width: 480px;
  margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--yx-line);
}

.yx-register h2 {
  font-family: var(--yx-serif);
  font-weight: 500;
  text-align: center;
}

.tea-landing .tl-footer-info {
  display: none !important;
}

/* Footer */
body.yunxiu-store #colophon.yx-footer,
.yx-footer {
  background: #f1f2f2;
  background-color: #f1f2f2;
  border-top: 0;
  margin-top: auto;
  color: rgba(18, 18, 18, 0.75);
}

body.yunxiu-store #colophon.yx-footer a,
.yx-footer a {
  color: rgba(18, 18, 18, 0.75);
  text-decoration: none;
}

body.yunxiu-store #colophon.yx-footer a:hover,
body.yunxiu-store #colophon.yx-footer a:focus,
.yx-footer a:hover {
  color: #121212;
}

.yx-footer-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 8px 24px 0;
}

.yx-footer-nl {
  text-align: center;
  padding: 40px 0 36px;
}

.yx-footer-nl-title {
  margin: 0 0 22px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #454545;
}

.yx-footer-nl-form {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 560px;
  margin: 0 auto;
}

.yx-footer-nl-field {
  position: relative;
  flex: 1;
  min-width: 0;
  display: block;
}

.yx-footer-nl-icon {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: #9a9a9a;
  display: flex;
  pointer-events: none;
}

.yx-footer-nl-icon svg {
  width: 18px;
  height: 18px;
}

.yx-footer-nl-form input[type="email"] {
  width: 100%;
  height: 40px;
  border: 0;
  border-bottom: 1px solid #ccc;
  border-radius: 0;
  background: transparent;
  background-color: transparent;
  box-shadow: none;
  outline: none;
  padding: 0 8px 0 28px;
  font-size: 15px;
  font-family: var(--yx-sans);
  color: #121212;
}

.yx-footer-nl-form input[type="email"]::placeholder {
  color: #b0b0b0;
}

.yx-footer-nl-form input[type="email"]:focus {
  outline: none !important;
  border-bottom-color: #999;
}

button.yx-footer-nl-submit,
.yx-footer-nl-submit {
  appearance: none;
  -webkit-appearance: none;
  flex-shrink: 0;
  background: transparent !important;
  background-color: transparent !important;
  border: 0;
  box-shadow: none;
  color: #848484;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 10px 4px;
  font-family: var(--yx-sans);
  line-height: 1.2;
}

button.yx-footer-nl-submit:hover,
.yx-footer-nl-submit:hover {
  background: transparent !important;
  background-color: transparent !important;
  color: #454545;
}

.yx-footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px 32px;
  max-width: 1100px;
  margin: 0 auto;
  text-align: left;
  padding: 8px 0 0;
}

.yx-footer h4 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #454545;
  margin: 0 0 15px;
  line-height: 1.1;
}

.yx-footer-contact h4 {
  margin-top: 22px;
}

.yx-footer-contact h4:first-child {
  margin-top: 0;
}

.yx-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.yx-footer li {
  margin: 0 0 8px;
}

.yx-footer a {
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}

.yx-footer p {
  color: rgba(18, 18, 18, 0.75);
  font-size: 15px;
  font-weight: 400;
  line-height: 24px;
  margin: 0 0 8px;
}

.yx-footer-social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  padding: 40px 0 28px;
}

.yx-footer-social a {
  width: 22px;
  height: 22px;
  color: #6d6d6d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.yx-footer-social a:hover {
  color: #121212;
}

.yx-footer-social svg {
  width: 18px;
  height: 18px;
  display: block;
}

.yx-footer-bar {
  background: #f6f6f6;
  color: #848484;
}

.yx-footer-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.yx-footer-copy {
  text-align: center;
  font-size: 13px;
  color: #848484;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0;
  line-height: 1.4;
}

.yx-footer-bar-spacer {
  display: block;
}

.yx-lang--footer {
  justify-self: start;
  position: relative;
}

.yx-lang--footer .yx-lang-toggle {
  height: auto;
  padding: 4px 8px;
  border: 1px solid #d0d0d0;
  background: #fff !important;
  background-color: #fff !important;
  color: #454545;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  gap: 6px;
  min-width: 0;
}

.yx-lang--footer .yx-lang-toggle:hover {
  background: #fff !important;
  background-color: #fff !important;
}

.yx-lang--footer .yx-lang-toggle svg {
  width: 10px;
  height: 7px;
}

.yx-lang--footer .yx-lang-menu {
  left: 0;
  right: auto;
  bottom: calc(100% + 6px);
  top: auto;
  z-index: 40;
}

/* Woo account leftovers */
.woocommerce-account .woocommerce-MyAccount-navigation {
  max-width: 1100px;
  margin: 24px auto 0;
  padding: 0 24px;
}

.woocommerce-account .woocommerce-MyAccount-content {
  max-width: 1100px;
  margin: 0 auto 48px;
  padding: 0 24px;
}

body.yunxiu-store #content-wrap,
body.yunxiu-store .container {
  max-width: none;
}

body.yunxiu-store .site-info,
body.yunxiu-store #colophon.site-footer {
  display: none;
}

/* Single product polish */
.woocommerce div.product {
  max-width: 1100px;
  margin: 32px auto 64px;
  padding: 0 24px;
}

/* Mobile */
@media (max-width: 1024px) {
  body.yunxiu-store:not(.yx-home-hero) #masthead.yx-header {
    display: block;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    background-color: #fff;
  }

  body.yunxiu-store:not(.yx-home-hero) .yx-nav {
    position: static;
  }

  .yx-menu-toggle {
    display: inline-flex;
  }

  .yx-nav {
    display: none;
    border-top: 1px solid var(--yx-line);
  }

  .yx-header.is-nav-open .yx-nav {
    display: block;
  }

  .yx-menu {
    flex-direction: column;
    align-items: stretch;
    padding: 8px 0 16px;
  }

  .yx-menu .sub-menu {
    position: static;
    display: block;
    visibility: visible;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    box-shadow: none;
    padding: 0 0 8px 16px;
    min-width: 0;
    top: auto;
    transition: none;
  }

  .yx-menu .sub-menu::before,
  .yx-menu .sub-menu::after {
    display: none;
  }

  .yx-archive ul.products {
    grid-template-columns: repeat(2, 1fr);
  }

  .yx-footer-cols {
    grid-template-columns: 1fr 1fr;
  }

  .yx-archive-title,
  .yx-login-title {
    font-size: 32px;
  }

  .yx-login-box {
    padding: 28px 20px;
  }
}

@media (max-width: 640px) {
  .yx-archive ul.products {
    grid-template-columns: 1fr;
  }

  .yx-footer-cols {
    grid-template-columns: 1fr;
  }

  .yx-footer-nl-form {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .yx-footer-nl-submit {
    align-self: flex-end;
  }

  .yx-footer-bar-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 8px;
  }

  .yx-lang--footer {
    justify-self: center;
  }

  .yx-footer-bar-spacer {
    display: none;
  }

  .yx-login-links {
    flex-direction: column;
    align-items: flex-start;
  }
}
