/*
Theme Name: 轻盟商城日常补给站主题
Theme URI: https://example.com/qingmeng-store
Author: OpenAI
Description: 轻盟商城日常补给站主题，内置独立商品目录、购物车和下单功能。
Version: 3.1.1
Text Domain: qingmeng-store
*/

:root {
  --ink: #24231f;
  --muted: #77736a;
  --cream: #f7f3eb;
  --cream-deep: #ece5d8;
  --white: #fffdf8;
  --coral: #dd6b4e;
  --yellow: #efc85b;
  --sage: #a9b9a7;
  --line: rgba(36, 35, 31, .15);
  --serif: "Noto Serif CJK SC", "Songti SC", "STSong", "SimSun", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }
.ys-shell { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; }

.ys-announcement {
  min-height: 33px;
  padding: 7px 20px;
  display: flex;
  justify-content: center;
  gap: 14px;
  background: var(--ink);
  color: #f9f3e8;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-align: center;
}
.ys-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 243, 235, .94);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.ys-nav {
  min-height: 86px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 34px;
}
.ys-logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  line-height: 1;
}
.ys-logo strong { display: block; font-size: 16px; letter-spacing: .08em; }
.ys-logo small { display: block; margin-top: 5px; color: var(--muted); font-size: 8px; letter-spacing: .2em; }
.ys-logo__mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.ys-logo__mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.ys-nav__links, .ys-nav__actions { display: flex; align-items: center; gap: 24px; }
.ys-nav__links a, .ys-nav__actions button, .ys-nav__actions a {
  border: 0;
  background: none;
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
}
.ys-nav__links a:hover, .ys-nav__actions button:hover, .ys-nav__actions a:hover { color: var(--coral); }
.ys-nav__actions { justify-content: flex-end; }
.ys-nav__actions button { padding: 7px 0; display: inline-flex; align-items: center; gap: 6px; }
.ys-nav__actions svg { width: 17px; height: 17px; stroke-width: 1.7; }
.ys-bag-count {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  font-size: 10px;
}
.ys-menu-toggle { display: none; border: 0; background: none; cursor: pointer; }
.ys-menu-toggle svg { width: 20px; height: 20px; }
.ys-menu-panel { display: none; }

.ys-search {
  position: fixed;
  top: 119px;
  right: 0;
  left: 0;
  z-index: 18;
  padding: 22px 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  transform: translateY(-140%);
  transition: transform .25s ease;
}
.ys-search.is-open { transform: translateY(0); }
.ys-search__form { display: flex; align-items: center; gap: 15px; }
.ys-search__form svg { width: 20px; }
.ys-search__form input { flex: 1; min-width: 0; padding: 8px 0; border: 0; outline: 0; background: transparent; font-family: var(--serif); font-size: 27px; }
.ys-search__form button { border: 0; background: none; cursor: pointer; color: var(--muted); font-size: 11px; font-weight: 800; }

.ys-hero { padding: 38px 0 54px; background: var(--cream-deep); }
.ys-hero__inner { min-height: 570px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 8%; align-items: center; }
.ys-hero__copy { padding: 20px 0; }
.ys-eyebrow, .ys-section-label {
  margin: 0 0 17px;
  color: var(--coral);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.ys-hero h1 {
  max-width: 530px;
  margin: 0 0 25px;
  font-family: var(--serif);
  font-size: clamp(52px, 7vw, 92px);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.02em;
}
.ys-hero h1 em { color: var(--coral); font-style: normal; }
.ys-hero__lead { max-width: 430px; margin: 0 0 28px; color: #5f5b52; font-size: 16px; line-height: 1.85; }
.ys-hero__actions { display: flex; align-items: center; gap: 22px; }
.ys-hero__visual { position: relative; height: 560px; overflow: hidden; background: var(--sage); }
.ys-hero__visual img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.ys-hero__tag {
  position: absolute;
  right: 22px;
  bottom: 22px;
  max-width: 210px;
  padding: 15px 17px;
  background: var(--white);
  box-shadow: 0 10px 25px rgba(36, 35, 31, .13);
}
.ys-hero__tag strong { display: block; margin-bottom: 4px; color: var(--coral); font-size: 11px; }
.ys-hero__tag span { display: block; font-family: var(--serif); font-size: 18px; line-height: 1.2; }
.ys-button {
  min-height: 48px;
  padding: 0 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.ys-button:hover { transform: translateY(-2px); }
.ys-button svg { width: 16px; height: 16px; }
.ys-button--dark { background: var(--ink); color: #fff; }
.ys-button--dark:hover { background: var(--coral); }
.ys-button--accent { background: var(--coral); color: #fff; }
.ys-button--accent:hover { background: #bc5138; }
.ys-button--light { background: var(--white); color: var(--ink); }
.ys-button--light:hover { background: var(--yellow); }
.ys-plain-link { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-size: 12px; font-weight: 900; }
.ys-plain-link:hover { color: var(--coral); }
.ys-plain-link svg { width: 15px; }

.ys-trust { background: var(--coral); color: #fffaf2; }
.ys-trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.ys-trust__grid > div { padding: 21px 20px; border-left: 1px solid rgba(255, 255, 255, .25); }
.ys-trust__grid > div:first-child { border-left: 0; }
.ys-trust strong, .ys-trust span { display: block; }
.ys-trust strong { margin-bottom: 4px; font-size: 13px; }
.ys-trust span { color: #ffe9da; font-size: 11px; }

.ys-intro { padding: 110px 0; background: var(--white); }
.ys-intro__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 10%; }
.ys-intro h2, .ys-section-head h2, .ys-subscribe h2 {
  margin: 0 0 22px;
  font-family: var(--serif);
  font-size: clamp(38px, 5vw, 66px);
  font-weight: 400;
  line-height: 1.05;
}
.ys-intro__grid > div { max-width: 560px; }
.ys-intro__grid > div > p { margin: 0 0 27px; color: var(--muted); font-size: 16px; line-height: 1.9; }

.ys-section { padding: 105px 0; }
.ys-section--products { border-top: 1px solid var(--line); }
.ys-section-head { margin-bottom: 35px; display: flex; align-items: flex-end; justify-content: space-between; gap: 25px; }
.ys-section-head h2 { margin-bottom: 0; }
.ys-section-head > p { max-width: 300px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.ys-tabs { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 29px; }
.ys-tab { padding: 10px 15px; border: 1px solid var(--line); background: transparent; cursor: pointer; color: var(--muted); font-size: 11px; font-weight: 900; }
.ys-tab:hover, .ys-tab.is-active { border-color: var(--ink); background: var(--ink); color: #fff; }
.ys-products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px 17px; }
.ys-product { min-width: 0; }
.ys-product[hidden] { display: none; }
.ys-product__visual { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--cream-deep); }
.ys-product__visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.ys-product:hover .ys-product__visual img { transform: scale(1.04); }
.ys-product__badge { position: absolute; top: 12px; left: 12px; z-index: 1; padding: 6px 8px; background: var(--yellow); font-size: 10px; font-weight: 900; }
.ys-product__save { width: 35px; height: 35px; position: absolute; top: 10px; right: 10px; z-index: 1; display: grid; place-items: center; border: 0; background: rgba(255, 253, 248, .9); cursor: pointer; }
.ys-product__save svg { width: 17px; height: 17px; }
.ys-product__save.is-saved { color: var(--coral); }
.ys-product__actions { position: absolute; right: 10px; bottom: 10px; left: 10px; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: 6px; opacity: 0; transform: translateY(7px); transition: opacity .2s ease, transform .2s ease; }
.ys-product:hover .ys-product__actions, .ys-product__actions:focus-within { opacity: 1; transform: translateY(0); }
.ys-product__quick, .ys-product__buy { min-height: 43px; border: 0; cursor: pointer; font-size: 11px; font-weight: 900; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.ys-product__quick { background: var(--white); }
.ys-product__buy { background: var(--coral); color: #fff; }
.ys-product__info { padding: 15px 2px 0; }
.ys-product__line { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.ys-product h3 { margin: 0; font-size: 14px; line-height: 1.35; }
.ys-product__line strong { white-space: nowrap; font-size: 14px; }
.ys-product__info > p { margin: 7px 0 13px; color: var(--muted); font-size: 12px; }
.ys-product__colors { display: flex; gap: 6px; }
.ys-swatch { width: 12px; height: 12px; display: block; border: 1px solid rgba(0, 0, 0, .15); border-radius: 50%; }
.ys-swatch--pine { background: #506752; }
.ys-swatch--stone { background: #c9c1ae; }
.ys-swatch--night { background: #303237; }
.ys-swatch--clay { background: #c47a61; }
.ys-swatch--oat { background: #e8d5b2; }
.ys-empty-state { padding: 24px; border: 1px dashed var(--line); color: var(--muted); text-align: center; }

.ys-section--categories { background: var(--white); }
.ys-categories { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.ys-category { min-height: 460px; position: relative; overflow: hidden; background: var(--sage); color: #fff; }
.ys-category::after { position: absolute; inset: 0; background: rgba(20, 25, 20, .3); content: ""; transition: background .25s ease; }
.ys-category:hover::after { background: rgba(20, 25, 20, .15); }
.ys-category img { width: 100%; height: 100%; position: absolute; object-fit: cover; transition: transform .5s ease; }
.ys-category:hover img { transform: scale(1.05); }
.ys-category > span { position: absolute; right: 20px; bottom: 20px; left: 20px; z-index: 1; }
.ys-category small, .ys-category strong, .ys-category em { display: block; }
.ys-category small { margin-bottom: 12px; color: #fff0d5; font-size: 10px; font-weight: 900; letter-spacing: .12em; }
.ys-category strong { font-family: var(--serif); font-size: 29px; font-weight: 400; line-height: 1.1; }
.ys-category em { margin-top: 8px; color: #fff4e9; font-size: 11px; font-style: normal; }

.ys-feature { display: grid; grid-template-columns: 1.1fr .9fr; min-height: 570px; background: var(--ink); color: #fff9ef; }
.ys-feature__image { min-height: 570px; overflow: hidden; }
.ys-feature__image img { width: 100%; height: 100%; object-fit: cover; }
.ys-feature__copy { padding: 70px clamp(32px, 7vw, 100px); display: flex; flex-direction: column; justify-content: center; }
.ys-feature__copy .ys-eyebrow { color: var(--yellow); }
.ys-feature__copy h2 { max-width: 480px; margin: 0 0 22px; font-family: var(--serif); font-size: clamp(40px, 5vw, 67px); font-weight: 400; line-height: 1.03; }
.ys-feature__copy > p:not(.ys-eyebrow) { max-width: 390px; margin: 0 0 28px; color: #d8d1c3; font-size: 15px; line-height: 1.8; }
.ys-feature__copy .ys-button { align-self: flex-start; }
.ys-section--values { padding-top: 76px; padding-bottom: 76px; }
.ys-values { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ys-values > div { padding: 28px 18px; border-left: 1px solid var(--line); }
.ys-values > div:first-child { border-left: 0; }
.ys-values strong, .ys-values span { display: block; }
.ys-values strong { margin-bottom: 5px; font-size: 13px; }
.ys-values span { color: var(--muted); font-size: 12px; }
.ys-subscribe { margin-bottom: 35px; padding-top: 74px; padding-bottom: 74px; background: var(--yellow); }
.ys-subscribe > div { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: end; }
.ys-subscribe h2 { margin-bottom: 0; }
.ys-subscribe form { display: flex; border-bottom: 1px solid var(--ink); }
.ys-subscribe input { min-width: 0; flex: 1; padding: 14px 0; border: 0; outline: 0; background: transparent; }
.ys-subscribe button { padding: 14px 0 14px 15px; border: 0; background: none; cursor: pointer; font-size: 11px; font-weight: 900; }
.ys-form-note { display: none; margin: 9px 0 0; color: var(--ink); font-size: 12px; }
.ys-form-note.is-visible { display: block; }

.ys-footer { padding: 58px 0 24px; background: #292822; color: #f3eee5; }
.ys-footer__top { display: grid; grid-template-columns: 1.3fr .8fr .8fr .8fr; gap: 35px; padding-bottom: 46px; }
.ys-footer__brand p { max-width: 260px; margin: 17px 0 0; color: #bdb8ad; font-size: 13px; line-height: 1.7; }
.ys-logo--footer .ys-logo__mark { border-color: #f3eee5; }
.ys-footer__title { margin: 3px 0 15px; color: #e7c86a; font-size: 10px; font-weight: 900; letter-spacing: .14em; }
.ys-footer__links { display: grid; gap: 9px; color: #d3cec2; font-size: 13px; }
.ys-footer__links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.ys-footer__bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .15); color: #9c978d; font-size: 11px; }

.ys-drawer-backdrop { position: fixed; inset: 0; z-index: 40; background: rgba(20, 20, 17, .45); opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.ys-drawer { width: min(430px, 100%); position: fixed; top: 0; right: 0; bottom: 0; z-index: 41; display: flex; flex-direction: column; overflow-y: auto; padding: 29px; background: var(--white); transform: translateX(100%); transition: transform .3s ease; }
.ys-drawer.is-open { transform: translateX(0); }
.ys-drawer-backdrop.is-open { opacity: 1; pointer-events: auto; }
.ys-drawer__head { padding-bottom: 18px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.ys-drawer__head small { color: var(--coral); font-size: 9px; font-weight: 900; letter-spacing: .14em; }
.ys-drawer__head h2 { margin: 5px 0 0; font-family: var(--serif); font-size: 33px; font-weight: 400; }
.ys-icon-button { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line); background: none; cursor: pointer; }
.ys-icon-button svg { width: 18px; height: 18px; }
.ys-drawer__items { flex: 1; overflow: auto; padding: 22px 0; }
.ys-empty { color: var(--muted); font-size: 14px; }
.ys-cart-item { display: grid; grid-template-columns: 66px 1fr auto; gap: 13px; align-items: center; margin-bottom: 20px; }
.ys-cart-item img { width: 66px; height: 76px; object-fit: cover; }
.ys-cart-item__body { min-width: 0; }
.ys-cart-item__name { margin: 0 0 4px; font-size: 13px; font-weight: 900; }
.ys-cart-item__price { margin: 0; color: var(--muted); font-size: 12px; }
.ys-cart-item__remove { border: 0; background: none; cursor: pointer; color: var(--muted); font-size: 19px; }
.ys-quantity { width: max-content; margin-top: 9px; display: flex; align-items: center; border: 1px solid var(--line); }
.ys-quantity button { width: 27px; height: 25px; border: 0; background: transparent; cursor: pointer; color: var(--muted); }
.ys-quantity span { min-width: 26px; text-align: center; font-size: 12px; }
.ys-drawer__foot { padding-top: 18px; border-top: 1px solid var(--line); }
.ys-drawer__total { margin: 0 0 15px; display: flex; justify-content: space-between; font-size: 14px; }
.ys-drawer__total strong { font-size: 18px; }
.ys-drawer__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ys-drawer__actions .ys-button { width: 100%; padding: 0 8px; }
.ys-drawer__actions .is-disabled { opacity: .4; pointer-events: none; }
.ys-toast { position: fixed; right: 22px; bottom: 22px; z-index: 60; padding: 13px 16px; background: var(--ink); color: #fff; font-size: 12px; opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity .2s ease, transform .2s ease; }
.ys-toast.is-visible { opacity: 1; transform: translateY(0); }

.ys-page { padding-top: 80px; padding-bottom: 80px; }

.qm-checkout-panel { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.qm-checkout-panel__head { display: grid; gap: 3px; margin-bottom: 14px; }
.qm-checkout-panel__head span { color: var(--coral); font-size: 9px; font-weight: 900; letter-spacing: .14em; }
.qm-checkout-panel__head strong { font-size: 18px; }
.qm-order-form { display: grid; gap: 11px; }
.qm-order-form label { display: grid; gap: 5px; color: var(--muted); font-size: 11px; font-weight: 800; }
.qm-order-form input, .qm-order-form textarea { width: 100%; min-width: 0; padding: 10px 11px; border: 1px solid var(--line); border-radius: 0; outline: 0; background: var(--white); color: var(--ink); font-size: 13px; font-weight: 500; resize: vertical; }
.qm-order-form input:focus, .qm-order-form textarea:focus { border-color: var(--coral); box-shadow: 0 0 0 2px rgba(221, 107, 78, .12); }
.qm-field-optional { margin-left: 5px; color: var(--muted); font-size: 10px; font-weight: 500; }
.qm-order-form .ys-button { width: 100%; min-height: 45px; }
.qm-order-form .ys-button:disabled, .ys-drawer__actions button:disabled { cursor: wait; opacity: .55; }
.qm-order-note { display: none; margin: 0; color: var(--coral); font-size: 12px; line-height: 1.6; }
.qm-order-note.is-visible { display: block; }
.qm-honeypot { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (max-width: 960px) {
  .ys-nav { grid-template-columns: auto 1fr auto; }
  .ys-nav__links { display: none; }
  .ys-menu-toggle { display: block; }
  .ys-logo { justify-self: center; }
  .ys-hero__inner { grid-template-columns: 1fr 1fr; gap: 5%; }
  .ys-hero__visual { height: 500px; }
  .ys-categories { grid-template-columns: repeat(2, 1fr); }
  .ys-category { min-height: 330px; }
  .ys-products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ys-footer__top { grid-template-columns: 1.3fr 1fr 1fr; }
  .ys-footer__brand { grid-column: 1 / -1; }
}
.ys-menu-panel.is-open { display: block; padding: 16px 24px 20px; border-top: 1px solid var(--line); }
.ys-menu-panel nav { display: grid; gap: 14px; font-size: 13px; font-weight: 800; }

@media (max-width: 620px) {
  .ys-shell { width: min(calc(100% - 32px), var(--max)); }
  .ys-announcement { padding-right: 12px; padding-left: 12px; font-size: 9px; }
  .ys-nav { min-height: 72px; gap: 10px; }
  .ys-logo strong { font-size: 14px; }
  .ys-logo small { font-size: 7px; }
  .ys-logo__mark { width: 32px; height: 32px; }
  .ys-nav__actions { gap: 13px; }
  .ys-nav__actions span { display: none; }
  .ys-nav__actions button { padding: 7px 0; }
  .ys-hero { padding-top: 20px; padding-bottom: 25px; }
  .ys-hero__inner { display: flex; flex-direction: column; align-items: stretch; }
  .ys-hero__copy { order: 2; padding-top: 27px; }
  .ys-hero__visual { order: 1; height: 350px; }
  .ys-hero h1 { font-size: 56px; }
  .ys-hero__lead { font-size: 14px; }
  .ys-hero__actions { gap: 15px; flex-wrap: wrap; }
  .ys-trust__grid { grid-template-columns: 1fr 1fr; }
  .ys-trust__grid > div { padding: 16px 12px; }
  .ys-trust__grid > div:nth-child(3) { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .25); }
  .ys-trust__grid > div:nth-child(4) { border-top: 1px solid rgba(255, 255, 255, .25); }
  .ys-intro, .ys-section { padding-top: 66px; padding-bottom: 66px; }
  .ys-intro__grid, .ys-subscribe > div { grid-template-columns: 1fr; gap: 28px; }
  .ys-intro h2, .ys-section-head h2, .ys-subscribe h2 { font-size: 43px; }
  .ys-section-head { display: block; }
  .ys-section-head > p { margin-top: 16px; }
  .ys-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 27px 10px; }
  .ys-product__line { display: block; }
  .ys-product__line strong { display: block; margin-top: 5px; }
  .ys-product__actions { right: 8px; bottom: 8px; left: 8px; opacity: 1; transform: none; }
  .ys-product__quick, .ys-product__buy { min-height: 42px; }
  .ys-categories { grid-template-columns: 1fr; gap: 10px; }
  .ys-category { min-height: 240px; }
  .ys-feature { grid-template-columns: 1fr; }
  .ys-feature__image { min-height: 300px; }
  .ys-feature__copy { min-height: 390px; padding: 52px 32px; }
  .ys-values { grid-template-columns: 1fr 1fr; }
  .ys-values > div:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .ys-values > div:nth-child(4) { border-top: 1px solid var(--line); }
  .ys-subscribe { margin-bottom: 0; }
  .ys-footer__top { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
  .ys-footer__brand { grid-column: 1 / -1; }
  .ys-footer__bottom { flex-direction: column; }
  .ys-search { top: 105px; }
  .ys-search__form input { font-size: 21px; }
  .ys-drawer { padding: 24px 20px; }
}

/*
 * 2.2.0 Modern utility store skin.
 * Keep the theme-owned commerce markup stable across desktop and mobile.
 */
:root {
  --ink: #101828;
  --muted: #617084;
  --cream: #f3f6fa;
  --cream-deep: #e4edf6;
  --white: #ffffff;
  --coral: #ff5a3d;
  --yellow: #b8f34a;
  --sage: #a9c9ee;
  --line: rgba(16, 24, 40, .14);
  --serif: var(--sans);
}

body {
  background: var(--cream);
  color: var(--ink);
}
.ys-shell { width: min(calc(100% - 40px), 1280px); }
.ys-announcement {
  min-height: 31px;
  padding: 6px 20px;
  background: var(--ink);
  color: #dbeafe;
  font-size: 10px;
  letter-spacing: .12em;
}
.ys-header {
  background: rgba(243, 246, 250, .94);
  border-bottom-color: rgba(16, 24, 40, .12);
}
.ys-nav { min-height: 76px; gap: 28px; }
.ys-logo { gap: 10px; }
.ys-logo strong { font-size: 17px; letter-spacing: .04em; }
.ys-logo small { color: #8290a3; letter-spacing: .16em; }
.ys-logo__mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--ink);
}
.ys-nav__links, .ys-nav__actions { gap: 19px; }
.ys-nav__links a, .ys-nav__actions button, .ys-nav__actions a { font-size: 12px; letter-spacing: .02em; }
.ys-nav__links a:hover, .ys-nav__actions button:hover, .ys-nav__actions a:hover { color: var(--coral); }
.ys-bag-count { background: var(--coral); }
.ys-search { top: 107px; background: rgba(255, 255, 255, .98); }
.ys-search__form input { font-family: var(--sans); font-size: 22px; }

.ys-hero {
  padding: 20px 0 34px;
  background: var(--cream);
}
.ys-hero__inner {
  min-height: 540px;
  grid-template-columns: .92fr 1.08fr;
  gap: 18px;
}
.ys-hero__copy {
  position: relative;
  overflow: hidden;
  padding: 64px 56px;
  background: var(--ink);
  color: #fff;
}
.ys-hero__copy::after {
  width: 180px;
  height: 180px;
  position: absolute;
  right: -58px;
  bottom: -55px;
  border: 30px solid rgba(184, 243, 74, .9);
  border-radius: 50%;
  content: "";
}
.ys-eyebrow, .ys-section-label {
  margin-bottom: 14px;
  color: var(--coral);
  font-size: 10px;
  letter-spacing: .12em;
}
.ys-hero__copy .ys-eyebrow { color: var(--yellow); }
.ys-hero h1 {
  max-width: 520px;
  margin-bottom: 24px;
  font-family: var(--sans);
  font-size: 66px;
  font-weight: 850;
  line-height: 1;
  letter-spacing: -.04em;
}
.ys-hero h1 em { color: var(--yellow); }
.ys-hero__lead {
  max-width: 415px;
  margin-bottom: 30px;
  color: #c5d1df;
  font-size: 15px;
  line-height: 1.8;
}
.ys-hero__visual {
  height: 540px;
  background: var(--sage);
}
.ys-hero__visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(16, 24, 40, .24));
  content: "";
  pointer-events: none;
}
.ys-hero__tag {
  right: 20px;
  bottom: 20px;
  padding: 13px 15px;
  background: var(--yellow);
  box-shadow: none;
}
.ys-hero__tag strong { color: var(--ink); }
.ys-hero__tag span { font-family: var(--sans); font-size: 15px; font-weight: 800; }
.ys-button { min-height: 46px; border-radius: 4px; }
.ys-button:hover { transform: translateY(-2px); }
.ys-button--dark { background: var(--yellow); color: var(--ink); }
.ys-button--dark:hover { background: #d5ff82; }
.ys-button--accent { background: var(--coral); }
.ys-button--accent:hover { background: #e9482c; }
.ys-button--light { background: #fff; color: var(--ink); }
.ys-button--light:hover { background: var(--yellow); }
.ys-plain-link { color: #fff; }
.ys-plain-link:hover { color: var(--yellow); }

.ys-trust { background: var(--yellow); color: var(--ink); }
.ys-trust__grid > div { border-left-color: rgba(16, 24, 40, .16); }
.ys-trust span { color: #43512d; }
.ys-intro { padding: 78px 0; background: var(--white); }
.ys-intro h2, .ys-section-head h2, .ys-subscribe h2 {
  font-family: var(--sans);
  font-size: 50px;
  font-weight: 850;
  letter-spacing: -.04em;
}
.ys-intro__grid > div > p { color: var(--muted); font-size: 15px; }
.ys-section { padding: 78px 0; }
.ys-section--products { border-top: 0; background: var(--cream); }
.ys-section-head { margin-bottom: 28px; }
.ys-section-head h2 { font-size: 48px; }
.ys-section-head > p { color: var(--muted); }
.ys-tabs { gap: 8px; margin-bottom: 24px; }
.ys-tab {
  padding: 9px 14px;
  border-color: rgba(16, 24, 40, .18);
  border-radius: 999px;
  color: var(--muted);
}
.ys-tab:hover, .ys-tab.is-active { border-color: var(--ink); background: var(--ink); color: #fff; }
.ys-products { gap: 22px 14px; }
.ys-product {
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(16, 24, 40, .1);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(16, 24, 40, .05);
}
.ys-product__visual { aspect-ratio: 1 / 1.08; background: #e8eef5; }
.ys-product__visual img { transition: transform .35s ease; }
.ys-product__badge { top: 12px; left: 12px; border-radius: 999px; background: var(--yellow); }
.ys-product__save { top: 10px; right: 10px; border-radius: 50%; background: rgba(255, 255, 255, .9); }
.ys-product__quick, .ys-product__buy { border-radius: 4px; }
.ys-product__quick { background: #fff; }
.ys-product__buy { background: var(--coral); }
.ys-product__info { padding: 14px 15px 16px; }
.ys-product h3 { font-size: 14px; }
.ys-product__line strong { color: var(--coral); }
.ys-product__info > p { margin-bottom: 12px; color: var(--muted); }
.ys-empty-state { border-color: rgba(16, 24, 40, .2); }

.ys-section--categories { background: var(--white); }
.ys-categories { gap: 14px; }
.ys-category { min-height: 390px; border-radius: 8px; }
.ys-category::after { background: linear-gradient(180deg, rgba(16, 24, 40, .05), rgba(16, 24, 40, .72)); }
.ys-category:hover::after { background: linear-gradient(180deg, rgba(16, 24, 40, .02), rgba(16, 24, 40, .58)); }
.ys-category strong { font-family: var(--sans); font-size: 24px; font-weight: 800; }
.ys-category small { color: var(--yellow); }
.ys-category em { color: #e1eaf4; }
.ys-feature {
  min-height: 500px;
  background: var(--ink);
}
.ys-feature__image { min-height: 500px; }
.ys-feature__copy { padding: 62px clamp(32px, 7vw, 100px); }
.ys-feature__copy .ys-eyebrow { color: var(--yellow); }
.ys-feature__copy h2 {
  font-family: var(--sans);
  font-size: 54px;
  font-weight: 850;
  letter-spacing: -.04em;
}
.ys-feature__copy > p:not(.ys-eyebrow) { color: #bdcada; font-size: 14px; }
.ys-section--values { padding-top: 56px; padding-bottom: 56px; background: var(--cream); }
.ys-values { border-color: rgba(16, 24, 40, .14); }
.ys-values > div { border-left-color: rgba(16, 24, 40, .14); }
.ys-values span { color: var(--muted); }
.ys-subscribe {
  margin-bottom: 26px;
  padding: 54px 0;
  background: var(--sage);
}
.ys-subscribe h2 { font-size: 46px; }
.ys-subscribe form { border-bottom-color: var(--ink); }
.ys-footer { padding-top: 52px; background: #0b1220; }
.ys-logo--footer .ys-logo__mark { background: #fff; }
.ys-footer__brand p { color: #9aabc0; }
.ys-footer__title { color: var(--yellow); }
.ys-footer__links { color: #c3cfdd; }
.ys-footer__bottom { border-top-color: rgba(255, 255, 255, .14); color: #8293a8; }
.ys-drawer-backdrop { background: rgba(5, 12, 25, .56); }
.ys-drawer { background: #fff; }
.ys-drawer__head small { color: var(--coral); }
.ys-drawer__head h2 { font-family: var(--sans); font-size: 29px; font-weight: 850; }
.ys-icon-button { border-radius: 4px; }
.ys-drawer__total strong { color: var(--coral); }
.ys-toast { background: var(--ink); }

@media (max-width: 960px) {
  .ys-hero__copy { padding: 48px 38px; }
  .ys-hero h1 { font-size: 54px; }
  .ys-hero__visual { height: 500px; }
  .ys-category { min-height: 300px; }
}

@media (max-width: 620px) {
  .ys-shell { width: min(calc(100% - 30px), 1280px); }
  .ys-nav { min-height: 68px; }
  .ys-logo__mark { width: 34px; height: 34px; border-radius: 8px; }
  .ys-logo strong { font-size: 15px; }
  .ys-hero { padding-top: 12px; padding-bottom: 20px; }
  .ys-hero__copy { padding: 38px 25px 45px; }
  .ys-hero__inner { gap: 10px; }
  .ys-hero h1 { font-size: 42px; }
  .ys-hero__lead { font-size: 14px; }
  .ys-hero__visual { height: 320px; }
  .ys-trust__grid > div { padding: 15px 10px; }
  .ys-intro, .ys-section { padding-top: 55px; padding-bottom: 55px; }
  .ys-intro h2, .ys-section-head h2, .ys-subscribe h2 { font-size: 36px; }
  .ys-products { gap: 16px 9px; }
  .ys-product { border-radius: 6px; }
  .ys-product__info { padding: 12px 11px 14px; }
  .ys-product__line strong { font-size: 13px; }
  .ys-product__quick, .ys-product__buy { min-height: 40px; font-size: 10px; }
  .ys-category { min-height: 220px; }
  .ys-feature__copy { min-height: 350px; padding: 45px 25px; }
  .ys-feature__copy h2 { font-size: 39px; }
  .ys-subscribe { margin-bottom: 0; padding: 42px 0; }
}

/*
 * 2.1.2 legacy skin: restore the previous light home-store presentation.
 * Remote image loading and commerce behavior are unchanged.
 */
:root {
  --ink: #24231f;
  --muted: #77736a;
  --cream: #f7f3eb;
  --cream-deep: #ece5d8;
  --white: #fffdf8;
  --coral: #dd6b4e;
  --yellow: #efc85b;
  --sage: #a9b9a7;
  --line: rgba(36, 35, 31, .15);
  --serif: "Noto Serif CJK SC", "Songti SC", "STSong", "SimSun", Georgia, serif;
}

body { background: var(--cream); color: var(--ink); }
.ys-shell { width: min(calc(100% - 48px), var(--max)); }
.ys-announcement {
  min-height: 33px;
  padding: 7px 20px;
  background: var(--ink);
  color: #f9f3e8;
  font-size: 11px;
  letter-spacing: .08em;
}
.ys-header { background: rgba(247, 243, 235, .94); border-bottom-color: var(--line); }
.ys-nav { min-height: 86px; gap: 34px; }
.ys-logo { gap: 11px; }
.ys-logo strong { font-size: 16px; letter-spacing: .08em; }
.ys-logo small { color: var(--muted); font-size: 8px; letter-spacing: .2em; }
.ys-logo__mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
}
.ys-nav__links, .ys-nav__actions { gap: 24px; }
.ys-nav__links a, .ys-nav__actions button, .ys-nav__actions a { font-size: 11px; letter-spacing: .06em; }
.ys-nav__links a:hover, .ys-nav__actions button:hover, .ys-nav__actions a:hover { color: var(--coral); }
.ys-bag-count { background: var(--coral); }
.ys-search { top: 119px; background: var(--white); }
.ys-search__form input { font-family: var(--serif); font-size: 27px; }

.ys-hero { padding: 38px 0 54px; background: var(--cream-deep); }
.ys-hero__inner { min-height: 570px; grid-template-columns: .9fr 1.1fr; gap: 8%; }
.ys-hero__copy { padding: 20px 0; background: transparent; color: var(--ink); }
.ys-hero__copy::after { display: none; }
.ys-eyebrow, .ys-section-label {
  margin-bottom: 17px;
  color: var(--coral);
  font-size: 10px;
  letter-spacing: .16em;
}
.ys-hero__copy .ys-eyebrow { color: var(--coral); }
.ys-hero h1 {
  max-width: 530px;
  margin-bottom: 25px;
  font-family: var(--serif);
  font-size: clamp(52px, 7vw, 92px);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.02em;
}
.ys-hero h1 em { color: var(--coral); }
.ys-hero__lead { max-width: 430px; margin-bottom: 28px; color: #5f5b52; font-size: 16px; line-height: 1.85; }
.ys-hero__visual { height: 560px; background: var(--sage); }
.ys-hero__visual::after { display: none; }
.ys-hero__tag {
  right: 22px;
  bottom: 22px;
  max-width: 210px;
  padding: 15px 17px;
  background: var(--white);
  box-shadow: 0 10px 25px rgba(36, 35, 31, .13);
}
.ys-hero__tag strong { color: var(--coral); }
.ys-hero__tag span { font-family: var(--serif); font-size: 18px; font-weight: 400; }
.ys-button { min-height: 48px; border-radius: 0; }
.ys-button--dark { background: var(--ink); color: #fff; }
.ys-button--dark:hover { background: var(--coral); }
.ys-button--accent { background: var(--coral); color: #fff; }
.ys-button--accent:hover { background: #bc5138; }
.ys-button--light { background: var(--white); color: var(--ink); }
.ys-button--light:hover { background: var(--yellow); }
.ys-plain-link { color: var(--ink); }
.ys-plain-link:hover { color: var(--coral); }

.ys-trust { background: var(--coral); color: #fffaf2; }
.ys-trust__grid > div { border-left-color: rgba(255, 255, 255, .25); }
.ys-trust span { color: #ffe9da; }
.ys-intro { padding: 110px 0; background: var(--white); }
.ys-intro h2, .ys-section-head h2, .ys-subscribe h2 {
  font-family: var(--serif);
  font-size: clamp(38px, 5vw, 66px);
  font-weight: 400;
  letter-spacing: 0;
}
.ys-intro__grid > div > p { color: var(--muted); font-size: 16px; }
.ys-section { padding: 105px 0; }
.ys-section--products { border-top: 1px solid var(--line); background: var(--cream); }
.ys-section-head { margin-bottom: 35px; }
.ys-section-head h2 { font-size: clamp(38px, 5vw, 66px); }
.ys-section-head > p { color: var(--muted); }
.ys-tabs { gap: 7px; margin-bottom: 29px; }
.ys-tab {
  padding: 10px 15px;
  border-color: var(--line);
  border-radius: 0;
  color: var(--muted);
}
.ys-tab:hover, .ys-tab.is-active { border-color: var(--ink); background: var(--ink); color: #fff; }
.ys-products { gap: 34px 17px; }
.ys-product { overflow: visible; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.ys-product__visual { aspect-ratio: 4 / 5; background: var(--cream-deep); }
.ys-product__visual img { transition: transform .5s ease; }
.ys-product__badge { top: 12px; left: 12px; border-radius: 0; background: var(--yellow); }
.ys-product__save { top: 10px; right: 10px; border-radius: 0; background: rgba(255, 253, 248, .9); }
.ys-product__quick, .ys-product__buy { border-radius: 0; }
.ys-product__quick { background: var(--white); }
.ys-product__buy { background: var(--coral); }
.ys-product__info { padding: 15px 2px 0; }
.ys-product__line strong { color: var(--ink); }
.ys-product__info > p { margin-bottom: 13px; color: var(--muted); }
.ys-empty-state { border-color: var(--line); }

.ys-section--categories { background: var(--white); }
.ys-categories { gap: 12px; }
.ys-category { min-height: 460px; border-radius: 0; }
.ys-category::after { background: rgba(20, 25, 20, .3); }
.ys-category:hover::after { background: rgba(20, 25, 20, .15); }
.ys-category strong { font-family: var(--serif); font-size: 29px; font-weight: 400; }
.ys-category small { color: #fff0d5; }
.ys-category em { color: #fff4e9; }
.ys-feature { min-height: 570px; background: var(--ink); }
.ys-feature__image { min-height: 570px; }
.ys-feature__copy { padding: 70px clamp(32px, 7vw, 100px); }
.ys-feature__copy .ys-eyebrow { color: var(--yellow); }
.ys-feature__copy h2 {
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 67px);
  font-weight: 400;
  letter-spacing: 0;
}
.ys-feature__copy > p:not(.ys-eyebrow) { color: #d8d1c3; font-size: 15px; }
.ys-section--values { padding-top: 76px; padding-bottom: 76px; background: var(--cream); }
.ys-values { border-color: var(--line); }
.ys-values > div { border-left-color: var(--line); }
.ys-values span { color: var(--muted); }
.ys-subscribe { margin-bottom: 35px; padding-top: 74px; padding-bottom: 74px; background: var(--yellow); }
.ys-subscribe h2 { font-size: clamp(38px, 5vw, 66px); }
.ys-subscribe form { border-bottom-color: var(--ink); }
.ys-footer { padding-top: 58px; background: #292822; }
.ys-logo--footer .ys-logo__mark { border-color: #f3eee5; background: var(--yellow); }
.ys-footer__brand p { color: #bdb8ad; }
.ys-footer__title { color: #e7c86a; }
.ys-footer__links { color: #d3cec2; }
.ys-footer__bottom { border-top-color: rgba(255, 255, 255, .15); color: #9c978d; }
.ys-drawer-backdrop { background: rgba(20, 20, 17, .45); }
.ys-drawer__head h2 { font-family: var(--serif); font-size: 33px; font-weight: 400; }
.ys-icon-button { border-radius: 0; }
.ys-drawer__total strong { color: var(--ink); }

@media (max-width: 960px) {
  .ys-hero__copy { padding: 20px 0; }
  .ys-hero h1 { font-size: clamp(52px, 7vw, 92px); }
  .ys-hero__visual { height: 500px; }
  .ys-category { min-height: 330px; }
}

@media (max-width: 620px) {
  .ys-shell { width: min(calc(100% - 32px), var(--max)); }
  .ys-nav { min-height: 72px; gap: 10px; }
  .ys-logo__mark { width: 32px; height: 32px; border-radius: 0; font-size: 16px; }
  .ys-logo strong { font-size: 14px; }
  .ys-logo small { font-size: 7px; }
  .ys-hero { padding-top: 20px; padding-bottom: 25px; }
  .ys-hero__copy { padding-top: 27px; }
  .ys-hero__visual { height: 350px; }
  .ys-hero h1 { font-size: 56px; }
  .ys-hero__lead { font-size: 14px; }
  .ys-intro, .ys-section { padding-top: 66px; padding-bottom: 66px; }
  .ys-intro h2, .ys-section-head h2, .ys-subscribe h2 { font-size: 43px; }
  .ys-products { gap: 27px 10px; }
  .ys-product { border-radius: 0; }
  .ys-product__info { padding: 15px 2px 0; }
  .ys-category { min-height: 240px; }
  .ys-feature__image { min-height: 300px; }
  .ys-feature__copy { min-height: 390px; padding: 52px 32px; }
  .ys-subscribe { margin-bottom: 0; }
}

/*
 * 3.0.0 complete redesign: Qingmeng Daily Supply.
 * Product cards use the theme's own lightweight catalog and local cart data.
 */
:root {
  --qm-black: #111111;
  --qm-paper: #f6f4ef;
  --qm-white: #ffffff;
  --qm-lime: #d8f36a;
  --qm-orange: #ff6847;
  --qm-blue: #d9e8ff;
  --qm-muted: #777777;
  --qm-line: #d9d7d0;
}

body { background: var(--qm-paper); color: var(--qm-black); }
.qm-shell { width: min(calc(100% - 48px), 1240px); margin: 0 auto; }
.qm-announcement {
  min-height: 34px;
  padding: 8px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  background: var(--qm-black);
  color: #f7f7f2;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
}
.qm-announcement strong { color: var(--qm-lime); }
.qm-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 244, 239, .96);
  border-bottom: 1px solid var(--qm-line);
  backdrop-filter: blur(12px);
}
.qm-nav {
  min-height: 80px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
}
.qm-logo { gap: 10px; }
.qm-logo strong { font-size: 17px; letter-spacing: .06em; }
.qm-logo small { margin-top: 4px; color: #8a8a85; font-size: 8px; letter-spacing: .16em; }
.qm-logo__mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--qm-black);
  background: var(--qm-lime);
  color: var(--qm-black);
  font-family: var(--serif);
  font-size: 19px;
}
.qm-nav__links, .qm-nav__actions { gap: 22px; }
.qm-nav__links a, .qm-nav__actions button, .qm-nav__actions a {
  border: 0;
  background: none;
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
}
.qm-nav__links a:hover, .qm-nav__actions button:hover, .qm-nav__actions a:hover { color: var(--qm-orange); }
.qm-nav__actions { justify-content: flex-end; }
.qm-nav__actions button { padding: 7px 0; display: inline-flex; align-items: center; gap: 6px; }
.qm-nav__actions svg { width: 17px; height: 17px; stroke-width: 1.8; }
.qm-menu-toggle { display: none; border: 0; background: none; cursor: pointer; }
.qm-menu-toggle svg { width: 20px; height: 20px; }
.qm-menu-panel { display: none; }
.qm-menu-panel.is-open { display: block; padding: 15px 24px 20px; border-top: 1px solid var(--qm-line); }
.qm-menu-panel nav { display: grid; gap: 13px; font-size: 13px; font-weight: 800; }
.qm-search {
  top: 114px;
  background: var(--qm-white);
  border-bottom-color: var(--qm-line);
}
.qm-search__form input { font-family: var(--sans); font-size: 24px; }

.qm-hero { padding: 26px 0 42px; background: var(--qm-paper); }
.qm-hero__grid {
  min-height: 590px;
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 18px;
}
.qm-hero__copy {
  position: relative;
  overflow: hidden;
  padding: 62px 58px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--qm-black);
  color: #fff;
}
.qm-hero__copy::after {
  width: 170px;
  height: 170px;
  position: absolute;
  right: -68px;
  bottom: -68px;
  border: 30px solid var(--qm-orange);
  border-radius: 50%;
  content: "";
}
.qm-kicker {
  margin: 0 0 17px;
  color: var(--qm-orange);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
}
.qm-hero__copy .qm-kicker { color: var(--qm-lime); }
.qm-hero h1 {
  max-width: 540px;
  margin: 0 0 24px;
  font-family: var(--sans);
  font-size: clamp(50px, 6.3vw, 82px);
  font-weight: 900;
  line-height: .98;
  letter-spacing: -.06em;
}
.qm-hero h1 strong { color: var(--qm-lime); font-weight: 900; }
.qm-hero__lead {
  max-width: 410px;
  margin: 0 0 31px;
  color: #c9c9c4;
  font-size: 15px;
  line-height: 1.85;
}
.qm-hero__actions { display: flex; align-items: center; gap: 20px; }
.qm-button {
  min-height: 48px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .04em;
}
.qm-button svg { width: 16px; height: 16px; }
.qm-button--lime { background: var(--qm-lime); color: var(--qm-black); }
.qm-button--lime:hover { background: #edff9c; }
.qm-button--outline { border-color: var(--qm-black); background: transparent; color: var(--qm-black); }
.qm-button--outline:hover { background: var(--qm-black); color: #fff; }
.qm-text-link { color: #fff; font-size: 12px; font-weight: 900; }
.qm-text-link:hover { color: var(--qm-lime); }
.qm-text-link span { margin-left: 4px; font-size: 17px; }
.qm-hero__proof {
  max-width: 450px;
  margin-top: auto;
  padding-top: 35px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.qm-hero__proof > div { padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .24); }
.qm-hero__proof strong, .qm-hero__proof span { display: block; }
.qm-hero__proof strong { color: var(--qm-lime); font-size: 20px; }
.qm-hero__proof span { margin-top: 3px; color: #a9a9a4; font-size: 10px; }
.qm-hero__media { position: relative; overflow: hidden; background: var(--qm-blue); }
.qm-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.qm-hero__label {
  position: absolute;
  right: 20px;
  bottom: 20px;
  min-width: 190px;
  padding: 16px 18px;
  background: var(--qm-lime);
  color: var(--qm-black);
}
.qm-hero__label span, .qm-hero__label strong, .qm-hero__label small { display: block; }
.qm-hero__label span { margin-bottom: 9px; font-size: 9px; font-weight: 900; letter-spacing: .1em; }
.qm-hero__label strong { font-size: 17px; line-height: 1.2; }
.qm-hero__label small { margin-top: 5px; font-size: 10px; }

.qm-category-rail { padding: 0 0 50px; background: var(--qm-paper); }
.qm-category-rail__head {
  padding-bottom: 15px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 1px solid var(--qm-line);
}
.qm-category-rail__head span { color: var(--qm-orange); font-size: 10px; font-weight: 900; letter-spacing: .12em; }
.qm-category-rail__head strong { font-size: 13px; }
.qm-category-rail__items { display: grid; grid-template-columns: repeat(4, 1fr); }
.qm-category-rail__items a {
  min-height: 100px;
  position: relative;
  padding: 20px 22px 16px 0;
  border-bottom: 1px solid var(--qm-line);
  border-right: 1px solid var(--qm-line);
}
.qm-category-rail__items a:not(:first-child) { padding-left: 22px; }
.qm-category-rail__items a:last-child { border-right: 0; }
.qm-category-rail__items a:hover { background: var(--qm-lime); }
.qm-category-number { display: block; margin-bottom: 13px; color: var(--qm-orange); font-size: 10px; font-weight: 900; }
.qm-category-rail__items strong, .qm-category-rail__items small { display: block; }
.qm-category-rail__items strong { font-size: 16px; }
.qm-category-rail__items small { margin-top: 4px; color: var(--qm-muted); font-size: 11px; }
.qm-category-rail__items i { position: absolute; right: 16px; bottom: 17px; font-size: 20px; font-style: normal; }

.qm-section { padding: 100px 0; }
.qm-shop { background: var(--qm-white); }
.qm-section-head { margin-bottom: 35px; display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.qm-section-head h2 {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(38px, 5vw, 65px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.06em;
}
.qm-section-head > p { max-width: 320px; margin: 0 0 2px; color: var(--qm-muted); font-size: 13px; line-height: 1.7; }
.qm-filter-bar { margin-bottom: 31px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.qm-filters { display: flex; flex-wrap: wrap; gap: 7px; }
.qm-filter {
  padding: 10px 14px;
  border: 1px solid var(--qm-line);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  color: var(--qm-muted);
  font-size: 11px;
  font-weight: 900;
}
.qm-filter:hover, .qm-filter.is-active { border-color: var(--qm-black); background: var(--qm-black); color: #fff; }
.qm-filter-note { color: #a09f99; font-size: 9px; font-weight: 900; letter-spacing: .1em; white-space: nowrap; }
.qm-products { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 17px; }
.qm-product { min-width: 0; }
.qm-product__visual { aspect-ratio: 4 / 5; background: #e7edf5; }
.qm-product__visual img { transition: transform .45s ease; }
.qm-product:hover .qm-product__visual img { transform: scale(1.035); }
.qm-product__badge { border-radius: 0; background: var(--qm-lime); }
.qm-product__save { border-radius: 50%; }
.qm-product__actions { gap: 5px; }
.qm-product__quick, .qm-product__buy { min-height: 44px; border-radius: 0; font-size: 10px; }
.qm-product__quick { background: #fff; }
.qm-product__buy { background: var(--qm-orange); }
.qm-product__info { padding: 13px 0 0; }
.qm-product__line h3 { font-size: 14px; font-weight: 900; }
.qm-product__line strong { color: var(--qm-orange); font-size: 14px; }
.qm-product__info > p { margin: 7px 0 12px; color: var(--qm-muted); font-size: 11px; }
.qm-product__colors { gap: 5px; }
.qm-empty { margin-top: 25px; }

.qm-story { display: grid; grid-template-columns: 1.08fr .92fr; min-height: 600px; background: var(--qm-blue); }
.qm-story__image { min-height: 600px; overflow: hidden; }
.qm-story__image img { width: 100%; height: 100%; object-fit: cover; }
.qm-story__copy { padding: 78px clamp(35px, 8vw, 115px); display: flex; flex-direction: column; justify-content: center; }
.qm-story__copy h2 {
  margin: 0 0 24px;
  font-family: var(--sans);
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.06em;
}
.qm-story__copy h2 strong { color: var(--qm-orange); font-weight: 900; }
.qm-story__copy > p:not(.qm-kicker) { max-width: 410px; margin: 0 0 30px; color: #4c6079; font-size: 15px; line-height: 1.9; }
.qm-story__copy .qm-button { align-self: flex-start; }

.qm-use-cases { padding: 100px 0; background: var(--qm-black); color: #fff; }
.qm-section-head--compact { margin-bottom: 42px; }
.qm-use-cases .qm-kicker { color: var(--qm-lime); }
.qm-use-cases .qm-section-head > p { color: #a4a4a0; }
.qm-use-cases__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #444; border-bottom: 1px solid #444; }
.qm-use-cases__grid a { min-height: 215px; position: relative; padding: 21px 20px; border-right: 1px solid #444; }
.qm-use-cases__grid a:last-child { border-right: 0; }
.qm-use-cases__grid a:hover { background: #222; }
.qm-use-cases__grid span, .qm-use-cases__grid strong, .qm-use-cases__grid small { display: block; }
.qm-use-cases__grid span { color: var(--qm-orange); font-size: 10px; font-weight: 900; }
.qm-use-cases__grid strong { position: absolute; bottom: 50px; font-size: 22px; }
.qm-use-cases__grid small { position: absolute; bottom: 24px; color: #a4a4a0; font-size: 11px; }
.qm-use-cases__grid i { position: absolute; top: 18px; right: 20px; color: var(--qm-lime); font-size: 22px; font-style: normal; }

.qm-subscribe {
  margin: 0;
  padding: 76px 0;
  background: var(--qm-lime);
}
.qm-subscribe > div { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; }
.qm-subscribe .qm-kicker { color: var(--qm-orange); }
.qm-subscribe h2 { margin: 0; font-family: var(--sans); font-size: clamp(43px, 5vw, 68px); font-weight: 900; line-height: .98; letter-spacing: -.06em; }
.qm-subscribe h2 strong { color: var(--qm-orange); }
.qm-subscribe__lead { max-width: 390px; margin: 0 0 23px; color: #4c5b2b; font-size: 13px; line-height: 1.7; }
.qm-subscribe form { display: flex; border-bottom: 1px solid var(--qm-black); }
.qm-subscribe input { min-width: 0; flex: 1; padding: 14px 0; border: 0; outline: 0; background: transparent; }
.qm-subscribe button { padding: 14px 0 14px 16px; border: 0; background: none; cursor: pointer; font-size: 11px; font-weight: 900; }
.qm-subscribe button span { margin-left: 5px; font-size: 17px; }
.qm-subscribe .ys-form-note { color: var(--qm-black); }

.qm-footer { padding: 62px 0 25px; background: #242424; color: #f2f1ec; }
.qm-footer__top { grid-template-columns: 1.4fr .8fr .8fr .8fr; }
.qm-footer__brand p { color: #aeaea8; }
.qm-footer .qm-logo__mark { background: var(--qm-lime); }
.qm-footer .ys-footer__title { color: var(--qm-lime); }
.qm-footer .ys-footer__links { color: #c7c7c1; }
.qm-footer .ys-footer__bottom { border-top-color: #484844; color: #96968f; }

.qm-drawer { background: #fff; }
.qm-drawer .ys-drawer__head h2 { font-family: var(--sans); font-weight: 900; }
.qm-drawer .ys-drawer__head small { color: var(--qm-orange); }
.qm-drawer .ys-drawer__total strong { color: var(--qm-orange); }
.qm-drawer .ys-button--dark { background: var(--qm-black); color: #fff; }
.qm-drawer .ys-button--accent { background: var(--qm-orange); color: #fff; }
.qm-story, .qm-use-cases, .qm-subscribe {
  content-visibility: auto;
  contain-intrinsic-size: 620px;
}

@media (max-width: 960px) {
  .qm-nav { grid-template-columns: auto 1fr auto; }
  .qm-nav__links { display: none; }
  .qm-menu-toggle { display: block; }
  .qm-logo { justify-self: center; }
  .qm-hero__copy { padding: 48px 40px; }
  .qm-hero h1 { font-size: 56px; }
  .qm-products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .qm-story__copy { padding: 60px 48px; }
  .qm-use-cases__grid { grid-template-columns: repeat(2, 1fr); }
  .qm-use-cases__grid a:nth-child(2) { border-right: 0; }
  .qm-use-cases__grid a:nth-child(3), .qm-use-cases__grid a:nth-child(4) { border-top: 1px solid #444; }
}

@media (max-width: 620px) {
  .qm-shell { width: min(calc(100% - 30px), 1240px); }
  .qm-announcement { justify-content: space-between; gap: 7px; padding-right: 12px; padding-left: 12px; font-size: 8px; }
  .qm-announcement strong { display: none; }
  .qm-nav { min-height: 70px; gap: 10px; }
  .qm-logo__mark { width: 32px; height: 32px; font-size: 16px; }
  .qm-logo strong { font-size: 14px; }
  .qm-logo small { font-size: 7px; }
  .qm-nav__actions { gap: 13px; }
  .qm-nav__actions span { display: none; }
  .qm-search { top: 104px; }
  .qm-search__form input { font-size: 20px; }
  .qm-hero { padding: 12px 0 22px; }
  .qm-hero__grid { min-height: 0; display: flex; flex-direction: column; gap: 10px; }
  .qm-hero__media { order: 1; height: 330px; }
  .qm-hero__copy { order: 2; min-height: 410px; padding: 36px 25px 30px; }
  .qm-hero h1 { font-size: 45px; }
  .qm-hero__lead { font-size: 14px; }
  .qm-hero__proof { padding-top: 26px; }
  .qm-hero__label { right: 12px; bottom: 12px; min-width: 165px; padding: 12px 13px; }
  .qm-category-rail { padding-bottom: 35px; }
  .qm-category-rail__head { display: block; }
  .qm-category-rail__head strong { display: block; margin-top: 7px; }
  .qm-category-rail__items { grid-template-columns: repeat(2, 1fr); }
  .qm-category-rail__items a, .qm-category-rail__items a:not(:first-child) { min-height: 108px; padding: 17px 15px; }
  .qm-category-rail__items a:nth-child(2) { border-right: 0; }
  .qm-category-rail__items a:nth-child(3), .qm-category-rail__items a:nth-child(4) { border-top: 1px solid var(--qm-line); }
  .qm-category-rail__items i { right: 13px; bottom: 14px; }
  .qm-section { padding: 66px 0; }
  .qm-section-head { display: block; margin-bottom: 27px; }
  .qm-section-head h2 { margin-top: 3px; font-size: 40px; }
  .qm-section-head > p { margin-top: 17px; }
  .qm-filter-bar { display: block; margin-bottom: 25px; }
  .qm-filters { gap: 6px; }
  .qm-filter { padding: 8px 11px; font-size: 10px; }
  .qm-filter-note { display: block; margin-top: 14px; }
  .qm-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 10px; }
  .qm-product__info { padding-top: 10px; }
  .qm-product__line { display: block; }
  .qm-product__line strong { display: block; margin-top: 5px; }
  .qm-product__actions { right: 7px; bottom: 7px; left: 7px; opacity: 1; transform: none; }
  .qm-product__quick, .qm-product__buy { min-height: 39px; padding: 0 3px; font-size: 9px; }
  .qm-story { display: flex; flex-direction: column; min-height: 0; }
  .qm-story__image { min-height: 310px; }
  .qm-story__copy { min-height: 410px; padding: 48px 25px; }
  .qm-story__copy h2 { font-size: 42px; }
  .qm-use-cases { padding: 66px 0; }
  .qm-use-cases__grid a { min-height: 170px; padding: 17px 15px; }
  .qm-use-cases__grid strong { bottom: 43px; font-size: 17px; }
  .qm-use-cases__grid small { bottom: 19px; font-size: 10px; }
  .qm-use-cases__grid i { top: 14px; right: 14px; }
  .qm-subscribe { padding: 55px 0; }
  .qm-subscribe > div { display: block; }
  .qm-subscribe h2 { margin-bottom: 30px; font-size: 43px; }
  .qm-footer__top { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
  .qm-footer__brand { grid-column: 1 / -1; }
}
