:root {
  color-scheme: light;
  --blue: #1754d6;
  --blue-hover: #1244b0;
  --ink: #142039;
  --muted: #5d6c81;
  --line: #dfe5ed;
  --light: #f4f7fb;
  --wash: #ebf3ff;
  --green: #267452;
  --max: 1380px;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "PingFang SC",
    "Microsoft YaHei",
    "Noto Sans CJK SC",
    sans-serif;
  font-size: 16px;
  color: var(--ink);
  background: white;
  -webkit-font-smoothing: antialiased;
}
* {
  box-sizing: border-box;
}
html {
  scroll-padding-top: 82px;
}
body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid #6598ff;
  outline-offset: 3px;
}
button:disabled {
  cursor: not-allowed;
}
h1,
h2,
h3,
p {
  margin: 0;
}
svg.ico {
  width: 1.15em;
  height: 1.15em;
  display: inline-block;
  flex: none;
  vertical-align: -0.16em;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
[hidden] {
  display: none !important;
}
.wrap,
.head-inner {
  width: min(calc(100% - 80px), var(--max));
  margin-inline: auto;
}
.skip {
  position: absolute;
  left: 12px;
  top: -90px;
  z-index: 100;
  padding: 10px 15px;
  background: white;
  color: var(--blue);
}
.skip:focus {
  top: 6px;
}
#main {
  flex: 1;
  outline: none;
}
.loading {
  padding-block: 70px;
  color: var(--muted);
}
.site-head {
  position: sticky;
  top: 0;
  z-index: 15;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid #e0e7f0;
}
.head-inner {
  height: 74px;
  display: flex;
  align-items: center;
  gap: clamp(32px, 5.3vw, 84px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
  font-size: 30px;
  font-weight: 790;
  letter-spacing: 0.035em;
  line-height: 1;
  color: #14284d;
}
.brand img {
  width: 44px;
  height: 37px;
}
.main-nav {
  align-self: stretch;
  display: flex;
  align-items: stretch;
  gap: clamp(18px, 2.5vw, 39px);
}
.main-nav a {
  display: flex;
  align-items: center;
  position: relative;
  font-size: 16px;
  font-weight: 610;
  white-space: nowrap;
  color: #36435a;
}
.main-nav a[aria-current="page"],
.main-nav a:hover {
  color: var(--blue);
}
.main-nav a[aria-current="page"]:after {
  content: "";
  position: absolute;
  bottom: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--blue);
  left: 0;
  right: 0;
}
.head-tools {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 21px;
  white-space: nowrap;
  font-size: 15px;
  font-weight: 620;
}
.guest-link {
  display: flex;
  align-items: center;
  gap: 7px;
}
.head-tools a:hover,
.foot a:hover {
  color: var(--blue);
}
.cart-link {
  position: relative;
  color: #293951;
  border-inline: 1px solid var(--line);
  padding: 0 18px;
  display: flex;
  align-items: center;
  height: 23px;
}
.cart-link .ico {
  width: 23px;
  height: 23px;
}
.cart-count {
  position: absolute;
  top: -10px;
  right: 9px;
  border-radius: 10px;
  color: white;
  background: var(--blue);
  font-size: 10px;
  padding: 1px 4px;
  min-width: 15px;
  text-align: center;
  line-height: 1.35;
}
.account-link {
  color: var(--blue);
}
.menu-toggle {
  display: none;
  border: 0;
  background: #f1f5fb;
  border-radius: 7px;
  color: var(--ink);
  padding: 8px;
}
.icon-slot {
  display: inline-flex;
  align-items: center;
}
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #e2f0ff;
}
.hero .wrap {
  position: relative;
  z-index: 2;
}
.hero-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}
.hero-copy {
  width: 45%;
  height: clamp(238px, 21.2vw, 333px);
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: flex-start;
  padding-left: clamp(0px, 2.2vw, 35px);
}
.hero h1 {
  font-size: clamp(40px, 4.15vw, 66px);
  font-weight: 770;
  line-height: 1.14;
  letter-spacing: -0.045em;
  color: #101e36;
}
.hero p {
  margin-top: 15px;
  font-size: clamp(17px, 1.55vw, 24px);
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: #35485f;
}
.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 24px;
  color: #134ab6;
  font-size: clamp(15px, 1.25vw, 20px);
  font-weight: 700;
}
.hero-link:hover {
  color: #062f96;
}
.hero-link .ico {
  width: 20px;
}
.catalog-layout {
  display: grid;
  grid-template-columns: clamp(195px, 18vw, 245px) minmax(0, 1fr);
  gap: clamp(22px, 2.6vw, 42px);
  padding-block: 32px 52px;
  align-items: start;
}
.side {
  border-right: 1px solid var(--line);
  padding: 4px clamp(12px, 1.6vw, 25px) 10px 0;
  min-height: 410px;
  position: sticky;
  top: 102px;
}
.side h2,
.catalog-top h2 {
  font-size: 23px;
  letter-spacing: -0.035em;
  line-height: 1.35;
  font-weight: 730;
}
.side h2 {
  margin: 2px 0 19px 9px;
}
.cats {
  display: grid;
  gap: 5px;
}
.cat {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 530;
  line-height: 1.25;
  padding: 10px 13px;
  color: #39475c;
}
.cat .ico {
  width: 19px;
  height: 19px;
}
.cat[aria-current="true"] {
  background: #e3eeff;
  color: #154dbd;
  font-weight: 685;
}
.cat:hover {
  background: #f0f5fd;
}
.cat[aria-current="true"]:hover {
  background: #dbe9ff;
}
.catalog-pane {
  min-width: 0;
}
.catalog-top {
  min-height: 43px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}
.search-box {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #cfd8e5;
  border-radius: 8px;
  padding: 0 13px;
  width: min(34%, 340px);
  min-width: 185px;
  background: white;
  color: #768499;
}
.search-box input {
  border: 0;
  background: transparent;
  width: 100%;
  min-width: 0;
  height: 40px;
  font-size: 15px;
  color: var(--ink);
  outline: none;
}
.search-box:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px #dae8fe;
}
.search-box input:focus-visible {
  outline: 0;
}
.rows {
  display: grid;
  gap: 9px;
}
.product-row {
  display: grid;
  grid-template-columns: clamp(108px, 13.1vw, 188px) minmax(
      125px,
      1fr
    ) max-content max-content;
  align-items: center;
  gap: clamp(12px, 1.7vw, 26px);
  padding: 9px 15px 9px 10px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  transition:
    border-color 0.15s,
    background 0.15s;
}
.product-row:hover {
  border-color: #b6caeb;
  background: #fcfdff;
}
.product-image {
  display: block;
  aspect-ratio: 2.3;
  overflow: hidden;
  border-radius: 6px;
  background: #f1f5fa;
}
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-copy {
  min-width: 0;
}
.product-name {
  font-size: clamp(17px, 1.45vw, 22px);
  font-weight: 680;
  line-height: 1.42;
  letter-spacing: -0.025em;
  overflow-wrap: anywhere;
}
.product-name:hover {
  color: var(--blue);
}
.tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  color: var(--muted);
  gap: 6px 12px;
  margin-top: 7px;
  font-size: 13px;
  line-height: 1.45;
}
.tags span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.tags .stock {
  color: var(--green);
}
.tags .tag-line {
  height: 12px;
  border-left: 1px solid #d5dce6;
}
.product-price {
  font-size: clamp(18px, 1.7vw, 26px);
  font-weight: 720;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.045em;
  white-space: nowrap;
}
.product-price small {
  font-size: 0.65em;
  margin-right: 2px;
}
.btn {
  border-radius: 6px;
  padding: 9px 18px;
  min-height: 39px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 590;
  line-height: 1.35;
  text-align: center;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.btn-primary:hover {
  background: var(--blue-hover);
  border-color: var(--blue-hover);
}
.btn-quiet {
  background: white;
  border-color: var(--line);
  color: var(--ink);
}
.btn-quiet:hover {
  background: #f4f7fb;
}
.btn:disabled {
  opacity: 0.55;
}
.empty-box {
  padding: 42px 20px;
  text-align: center;
  background: #f9fbfe;
  border: 1px dashed #ced8e5;
  border-radius: 10px;
}
.empty-box p {
  color: var(--muted);
  margin-bottom: 15px;
}
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 22px;
}
.pagination a {
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
}
.pagination a[aria-current="page"] {
  background: var(--blue);
  color: white;
}
.list-group {
  font-size: 16px;
  font-weight: 690;
  margin: 13px 0 2px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.list-group:first-child {
  margin-top: 1px;
}
.list-group:before {
  content: "";
  height: 16px;
  width: 3px;
  border-radius: 2px;
  background: var(--blue);
}
.list-group small {
  color: var(--muted);
  font-weight: 500;
}
.page-intro {
  border-bottom: 1px solid var(--line);
  background: linear-gradient(112deg, #edf5ff, #f7faff 64%, #fff);
}
.page-intro > .wrap {
  padding-block: 23px 25px;
}
.crumb {
  font-size: 14px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.crumb a:hover {
  color: var(--blue);
}
.page-intro h1 {
  margin-top: 12px;
  font-size: clamp(29px, 2.7vw, 41px);
  letter-spacing: -0.04em;
  line-height: 1.25;
}
.reading {
  padding-block: 32px 64px;
  max-width: 960px;
}
.text-page {
  max-width: 790px;
  margin-inline: auto;
}
.reading h2 {
  font-size: 22px;
  margin: 27px 0 9px;
  letter-spacing: -0.02em;
}
.reading h2:first-child {
  margin-top: 0;
}
.reading p {
  line-height: 1.85;
  color: #46566c;
  margin: 9px 0;
}
.story-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 22px 4px;
  border-bottom: 1px solid var(--line);
}
.story-card h2 {
  margin: 0;
  font-size: 21px;
}
.story-card p {
  margin: 5px 0 0;
  font-size: 15px;
}
.story-card .ico {
  color: var(--blue);
}
.story-card:hover h2 {
  color: var(--blue);
}
.reading .btn {
  margin-top: 20px;
}
.foot {
  background: #f9fbfd;
  border-top: 1px solid var(--line);
}
.foot-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding-block: 24px;
}
.small-brand {
  font-size: 19px;
  gap: 6px;
}
.brand.small-brand img {
  width: 29px;
  height: 25px;
}
.foot nav {
  display: flex;
  gap: 22px;
  font-size: 14px;
  color: var(--muted);
}
@media (min-width: 1600px) {
  .hero-art {
    object-fit: fill;
  }
}
@media (max-width: 950px) {
  .wrap,
  .head-inner {
    width: calc(100% - 40px);
  }
  .head-inner {
    gap: 27px;
    height: 65px;
  }
  .main-nav {
    gap: 18px;
  }
  .head-tools {
    gap: 12px;
  }
  .brand {
    font-size: 26px;
  }
  .brand img {
    width: 38px;
  }
  .guest-link .ico {
    display: none;
  }
  .cart-link {
    padding: 0 11px;
  }
  .catalog-layout {
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 18px;
  }
  .side {
    padding-right: 12px;
    top: 90px;
  }
  .product-row {
    grid-template-columns: 100px minmax(95px, 1fr) max-content max-content;
    gap: 10px;
    padding: 8px;
  }
  .product-row .btn {
    padding: 8px 10px;
  }
  .tags {
    gap: 4px 7px;
  }
  .cat {
    font-size: 15px;
  }
  .search-box {
    width: 42%;
  }
}
@media (max-width: 740px) {
  html {
    scroll-padding-top: 68px;
  }
  .wrap,
  .head-inner {
    width: calc(100% - 32px);
  }
  .head-inner {
    height: 58px;
    gap: 12px;
  }
  .brand {
    font-size: 25px;
    gap: 5px;
  }
  .brand img {
    width: 35px;
    height: 32px;
  }
  .main-nav {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .site-head.menu-open .main-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    padding: 9px 16px;
    border-bottom: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 7px 10px #19305c0c;
    gap: 3px;
  }
  .main-nav a {
    padding: 10px 9px;
    border-radius: 5px;
    font-size: 15px;
    justify-content: center;
  }
  .main-nav a[aria-current="page"] {
    background: var(--wash);
  }
  .main-nav a[aria-current="page"]:after {
    display: none;
  }
  .head-tools {
    gap: 12px;
    font-size: 14px;
  }
  .cart-link {
    border: 0;
    padding: 0 3px;
  }
  .cart-count {
    right: -5px;
  }
  .hero-copy {
    height: clamp(158px, 29vw, 214px);
    width: 53%;
    padding: 10px 0;
  }
  .hero h1 {
    font-size: clamp(28px, 5.7vw, 40px);
  }
  .hero p {
    font-size: 14px;
    letter-spacing: 0.005em;
    margin-top: 8px;
  }
  .hero-link {
    margin-top: 13px;
    font-size: 14px;
    gap: 5px;
  }
  .hero-link .ico {
    width: 15px;
  }
  .hero-art {
    object-fit: fill;
  }
  .catalog-layout {
    display: block;
    padding-block: 15px 32px;
  }
  .side {
    border: 0;
    position: static;
    min-height: 0;
    padding: 0 0 15px;
  }
  .side h2 {
    display: none;
  }
  .cats {
    display: flex;
    overflow-x: auto;
    scrollbar-width: thin;
    gap: 6px;
  }
  .cat {
    flex: none;
    min-height: 35px;
    padding: 7px 12px;
    border: 1px solid var(--line);
    font-size: 14px;
    gap: 5px;
    white-space: nowrap;
  }
  .cat[aria-current="true"] {
    border-color: #c6dbff;
  }
  .cat .ico {
    width: 15px;
    height: 15px;
  }
  .catalog-top {
    margin-bottom: 10px;
    gap: 9px;
  }
  .catalog-top h2 {
    font-size: 20px;
  }
  .search-box {
    width: 48%;
    min-width: 105px;
    padding: 0 9px;
  }
  .search-box input {
    height: 34px;
    font-size: 14px;
  }
  .product-row {
    grid-template-columns: clamp(74px, 17vw, 110px) minmax(0, 1fr) max-content;
    gap: 5px 10px;
    grid-template-areas: "pic info info" "pic price buy";
    padding: 9px 10px 9px 8px;
  }
  .product-image {
    grid-area: pic;
    aspect-ratio: 1.55;
  }
  .product-copy {
    grid-area: info;
  }
  .product-name {
    font-size: 16px;
  }
  .product-price {
    grid-area: price;
    font-size: 17px;
    align-self: end;
  }
  .product-row .btn {
    grid-area: buy;
    min-height: 30px;
    font-size: 13px;
    padding: 5px 10px;
  }
  .tags {
    margin-top: 2px;
    font-size: 12px;
    gap: 5px;
  }
  .tags .tag-line {
    height: 10px;
  }
  .rows {
    gap: 7px;
  }
  .foot-inner {
    align-items: flex-start;
  }
  .foot nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px 14px;
    font-size: 13px;
  }
  .page-intro > .wrap {
    padding-block: 17px;
  }
  .reading {
    padding-block: 20px 38px;
  }
  .story-card h2 {
    font-size: 18px;
  }
  .story-card {
    padding: 16px 0;
  }
}
@media (max-width: 370px) {
  .head-tools {
    gap: 8px;
  }
  .guest-link {
    font-size: 13px;
  }
  .wrap,
  .head-inner {
    width: calc(100% - 24px);
  }
  .cat {
    padding-inline: 9px;
  }
  .hero h1 {
    font-size: 25px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
.main-nav {
  gap: clamp(12px, 1.55vw, 26px);
}
.main-nav a {
  font-size: 15px;
}
.head-inner {
  gap: clamp(23px, 3.8vw, 65px);
}
.main-nav a[target="_blank"]:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.cat-icon {
  width: 23px;
  height: 23px;
  object-fit: contain;
  border-radius: 5px;
  background: white;
  padding: 2px;
}
.product-row {
  grid-template-columns: clamp(76px, 6.2vw, 94px) minmax(
      125px,
      1fr
    ) max-content max-content;
  gap: clamp(14px, 1.65vw, 27px);
  padding: 10px 17px 10px 11px;
}
.product-image {
  width: 100%;
  aspect-ratio: 1.22;
  display: grid;
  place-items: center;
  border: 1px solid #e7ebf2;
  background: #f6f9fd;
}
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.rows + .rows {
  margin-top: 25px;
}
.list-group {
  margin-bottom: 3px;
}
.previous {
  display: block;
  font-size: 12px;
  line-height: 1.4;
  color: var(--muted);
  letter-spacing: 0;
  font-weight: 500;
  text-align: right;
}
.tags .stock-low {
  color: #94600b;
}
.tags .guest-tag {
  color: #6c5b41;
}
.guide-panel {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 22px;
}
.guide-panel h3 {
  font-size: 20px;
}
.guide-panel p {
  line-height: 1.8;
  color: var(--muted);
  margin: 10px 0 18px;
}
@media (min-width: 741px) and (max-width: 1130px) {
  .head-inner {
    gap: 20px;
  }
  .main-nav {
    gap: 12px;
  }
  .main-nav a {
    font-size: 14px;
  }
  .head-tools {
    gap: 12px;
  }
  .head-tools .guest-link .ico {
    display: none;
  }
  .cart-link {
    padding-inline: 10px;
  }
}
@media (min-width: 741px) and (max-width: 960px) {
  .head-inner {
    gap: 14px;
  }
  .main-nav {
    gap: 10px;
  }
  .brand {
    font-size: 22px;
  }
  .brand img {
    width: 32px;
  }
  .head-tools {
    font-size: 13px;
    gap: 8px;
  }
  .wrap,
  .head-inner {
    width: calc(100% - 28px);
  }
  .main-nav a {
    font-size: 13px;
  }
  .guest-link {
    letter-spacing: -0.04em;
  }
  .product-row {
    grid-template-columns: 72px minmax(95px, 1fr) max-content max-content;
    gap: 9px;
  }
  .guest-tag {
    display: none !important;
  }
}
@media (max-width: 740px) {
  .product-row {
    grid-template-columns: 66px minmax(0, 1fr) max-content;
    gap: 3px 10px;
    padding: 9px 10px 9px 8px;
  }
  .product-image {
    width: 66px;
    aspect-ratio: 1;
  }
  .cat-icon {
    width: 16px;
    height: 16px;
    padding: 0;
  }
  .previous {
    display: inline;
    margin-left: 5px;
    font-size: 10px;
  }
  .tags {
    font-size: 11px;
    gap: 4px 7px;
  }
  .list-group {
    margin-bottom: 2px;
    font-size: 14px;
  }
  .rows + .rows {
    margin-top: 18px;
  }
  .hero-art {
    object-fit: cover;
    object-position: 74% center;
  }
  .hero {
    background: #e1eeff;
  }
  .hero-copy {
    width: 45%;
  }
  .hero:after {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0 52% 0 0;
    background: linear-gradient(to right, #e4efff 10%, #e3effe 65%, #e3effe00);
  }
  .hero-link {
    margin-top: 12px;
  }
  .hero-copy h1 {
    white-space: nowrap;
  }
  .guide-panel {
    padding: 15px;
  }
}
@media (max-width: 510px) {
  .hero-art {
    width: 135%;
    height: 100%;
    left: auto;
    right: -4%;
    object-fit: fill;
  }
  .hero-copy {
    height: 155px;
  }
  .hero:after {
    right: 51%;
  }
  .hero h1 {
    font-size: clamp(25px, 6.1vw, 31px);
  }
  .hero p {
    font-size: 13px;
  }
}
.product-image {
  position: relative;
}
.product-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.empty-icon {
  display: inline-flex;
  color: #7594bf;
  font-size: 34px;
  margin-bottom: 15px;
}
.member-hint {
  color: #516d96;
}
@media (max-width: 740px) {
  .hero-copy {
    height: clamp(118px, 30.9vw, 206px);
  }
  .hero-art {
    width: 146%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    left: auto;
    right: -12%;
    object-position: center;
  }
  .hero:after {
    right: 59%;
    background: linear-gradient(90deg, #e4efff 8%, #e4effff5 57%, #e4efff00);
  }
  .hero h1 {
    font-size: clamp(24px, 6.1vw, 38px);
  }
}
