/* Qingtian Network: Little Fashion layout, navigation and service pages. */
:root {
  --store-ink: #22243d;
  --store-cream: #ffffff;
  --store-blue: #4d4a95;
  --store-blue-hover: #383674;
  --store-blue-soft: #eeedf7;
  --store-surface: #fff;
  --store-border: #dfdeea;
  --store-muted: #55576c;
  --store-media: #f3f1f8;
  --store-container: 1280px;
  --store-font: Inter, "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

body.store-site {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  color: var(--store-ink);
  background: var(--store-cream);
  font: 400 16px / 1.55 var(--store-font) !important;
}

.store-site > main {
  flex: 1 0 auto;
}

.store-site .container {
  max-width: var(--store-container);
}

/* The original theme assigns 18 px to individual tags with !important. */
.store-site :where(ul, ol, li, p, a, label, input, div, button, select, textarea) {
  font-family: inherit;
  font-size: inherit !important;
  font-weight: inherit !important;
}

.store-site :is(h1, h2, h3, h4, h5, h6, .h1, .h2, .h3) {
  color: var(--store-ink);
  font-family: var(--store-font);
  font-weight: 650 !important;
  line-height: 1.25;
}

.store-site .h1 { font-size: clamp(1.85rem, 3.4vw, 2.6rem) !important; }
.store-site .h2 { font-size: clamp(1.3rem, 2.3vw, 1.65rem) !important; }
.store-site .h3 { font-size: 1.16rem !important; }
.store-site .text-success { color: var(--store-blue) !important; }
.store-site .text-muted { color: var(--store-muted) !important; }
.store-site .bg-light { background-color: var(--store-cream) !important; }
.store-site .bg-success { background-color: var(--store-blue) !important; }
.store-site .bg-success :is(h1, h2, h3) { color: #fff; }

.store-site .btn {
  border-radius: 3px;
  font-weight: 600 !important;
}

.store-site :is(.btn-success, .btn-primary) {
  color: #fff;
  background-color: var(--store-blue) !important;
  border-color: var(--store-blue) !important;
}

.store-site :is(.btn-success, .btn-primary):hover {
  color: #fff;
  background-color: var(--store-blue-hover) !important;
  border-color: var(--store-blue-hover) !important;
}

.store-site .btn-outline-success {
  color: var(--store-blue);
  border-color: var(--store-blue);
}

.store-site .btn-outline-success:hover {
  color: #fff;
  background: var(--store-blue);
}

.store-site :is(a, button, input, select, textarea):focus-visible {
  outline: 2px solid var(--store-blue);
  outline-offset: 3px;
}

.store-site :is(.store-topbar, #templatemo_nav_top) {
  min-height: 31px;
  padding-block: 0;
  background: var(--store-ink) !important;
  color: #eaebee;
  font-size: 12px !important;
  line-height: 1.4;
}

.store-site :is(.store-topbar, #templatemo_nav_top) * {
  font-size: 12px !important;
}

.store-site :is(.store-topbar, #templatemo_nav_top) :is(.container, .w-100) {
  min-height: 31px;
  align-items: center;
}

.store-site :is(.store-topbar, #templatemo_nav_top) a {
  color: #eaebee !important;
}

.store-site :is(.store-topbar, #templatemo_nav_top) a:hover {
  text-decoration: underline !important;
  text-underline-offset: .2em;
}

.store-site > .store-header,
.store-site > nav.navbar:not(#templatemo_nav_top) {
  position: relative;
  z-index: 10;
  padding-block: 0;
  border-bottom: 1px solid var(--store-border);
  background: var(--store-surface);
  box-shadow: none !important;
}

.store-site :is(.store-header, nav.navbar:not(#templatemo_nav_top)) > .container {
  min-height: 62px;
}

.store-site :is(.store-brand, .navbar-brand) {
  margin-block: 0;
  color: var(--store-ink) !important;
  font-size: 1.48rem !important;
  font-weight: 750 !important;
  letter-spacing: .025em;
  line-height: 1.2;
}

.store-site #templatemo_main_nav .navbar-nav .nav-link {
  position: relative;
  padding: 1.26rem .65rem 1.16rem;
  color: var(--store-ink);
  font-size: .94rem !important;
  font-weight: 550 !important;
  line-height: 1.45;
}

.store-site #templatemo_main_nav .navbar-nav .nav-link:is(:hover, [aria-current="page"]) {
  color: var(--store-blue);
}

.store-site #templatemo_main_nav .navbar-nav .nav-link[aria-current="page"]::after {
  position: absolute;
  right: .65rem;
  bottom: 0;
  left: .65rem;
  height: 2px;
  background: var(--store-blue);
  content: "";
}

.store-site #templatemo_main_nav .navbar .nav-icon {
  margin: 0;
  padding: .42rem .58rem;
}

.store-site .navbar-toggler {
  padding: .25rem .42rem;
}

.store-site :is(.store-footer, #tempaltemo_footer) {
  color: #d9dde3;
  background: var(--store-ink) !important;
  font-size: 14px;
}

.store-site :is(.store-footer, #tempaltemo_footer) > .container > .row > [class*="col-"] {
  padding-top: 2rem !important;
}

.store-site :is(.store-footer, #tempaltemo_footer) :is(h2, .h2) {
  margin-bottom: .7rem;
  color: #f5f5f5 !important;
  font-size: 1.06rem !important;
  font-weight: 650 !important;
}

.store-site :is(.store-footer, #tempaltemo_footer) .footer-link-list li {
  padding-top: .32rem;
}

.store-site :is(.store-footer, #tempaltemo_footer) a {
  color: #d9dde3;
}

.store-site :is(.store-footer, #tempaltemo_footer) a:hover {
  color: #fff;
  text-decoration: underline !important;
  text-underline-offset: .2em;
}

.store-site :is(.store-footer, #tempaltemo_footer) .bg-black {
  border-top: 1px solid #373c44;
  background: var(--store-ink) !important;
  font-size: 12px !important;
}

.store-page-head {
  margin-bottom: 1rem;
  padding-block: .65rem 1.1rem;
  border-bottom: 1px solid var(--store-border);
}

.store-site .store-page-head h1 {
  margin: .28rem 0 .45rem;
  font-size: clamp(1.75rem, 3.25vw, 2.35rem) !important;
}

.store-site .store-page-head p {
  max-width: 65ch;
  margin-bottom: 0;
  color: var(--store-muted);
  font-size: .94rem !important;
}

.store-site :is(.store-breadcrumb, .breadcrumb) {
  display: flex;
  flex-wrap: wrap;
  gap: .15rem .52rem;
  margin: 0 0 .45rem;
  padding: 0;
  color: var(--store-muted);
  font-size: .82rem !important;
  list-style: none;
}

.store-breadcrumb a,
.store-site .breadcrumb a {
  color: var(--store-muted);
  text-underline-offset: .15em;
}

.store-breadcrumb li + li::before {
  margin-right: .5rem;
  color: #7b838d;
  content: "/";
}

.store-site .store-section-title {
  margin: 0 0 .85rem;
  font-size: clamp(1.25rem, 2.05vw, 1.65rem) !important;
  font-weight: 700 !important;
  line-height: 1.3;
}

.store-site :is(.store-list, .store-product-detail).py-5 {
  padding-block: 1.4rem 2.5rem !important;
}

.store-site .store-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .22rem .55rem;
  margin: 0 0 .9rem;
  padding: 0;
  border-bottom: 1px solid var(--store-border);
  list-style: none;
}

.store-site .store-filter-tabs :is(a, button) {
  display: inline-flex;
  align-items: center;
  min-height: 37px;
  padding: .36rem .58rem;
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--store-muted);
  background: transparent;
  font-size: .89rem !important;
  text-decoration: none;
}

.store-site .store-filter-tabs :is(a, button):is(:hover, .active, [aria-current="page"]) {
  border-bottom-color: var(--store-blue);
  color: var(--store-blue);
}

.store-site .store-sort {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .2rem .7rem;
  margin-bottom: .8rem;
  color: var(--store-muted);
  font-size: .85rem !important;
}

.store-sort nav {
  display: flex;
  gap: .65rem;
}

.store-site .store-sort a {
  color: var(--store-muted);
  text-underline-offset: .16em;
}

.store-site .store-sort a:is(:hover, [aria-current="page"]) {
  color: var(--store-blue);
}

.store-site .store-side-nav {
  margin: 0 0 1.2rem;
  padding: .3rem;
  border: 1px solid var(--store-border);
  background: var(--store-surface);
  list-style: none;
}

.store-site .store-side-nav h2 {
  margin: 0;
  padding: .58rem .7rem .42rem;
  font-size: 1rem !important;
}

.store-side-nav ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.store-side-nav li {
  padding: 0 !important;
}

.store-site .store-side-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding: .6rem .7rem;
  color: var(--store-ink);
  font-size: .9rem !important;
  text-decoration: none;
}

.store-site .store-side-nav a:is(:hover, [aria-current="page"]) {
  color: var(--store-blue);
  background: var(--store-blue-soft);
}

.store-directory,
.store-news-grid,
.store-doc-grid {
  display: grid;
  align-items: stretch;
  gap: 1rem;
  margin-inline: 0;
}

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

.store-news-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

:is(.store-directory, .store-news-grid, .store-doc-grid) > [class*="col-"] {
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
}

.store-product-card,
.store-news-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  overflow-wrap: anywhere;
  border: 1px solid var(--store-border);
  border-radius: 0;
  background: var(--store-surface);
  box-shadow: none;
}

.store-product-card:hover,
.store-news-card:hover {
  border-color: #4d4a95;
}

.store-product-card > .card {
  border: 0;
  border-radius: 0;
}

.store-product-media {
  display: grid;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  place-items: center;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 0;
  border-bottom: 1px solid var(--store-border);
  border-radius: 0;
  background: var(--store-media);
}

.store-product-media > a {
  width: 100%;
  height: 100%;
}

.store-product-media img,
.store-product-card .catalog-card-image {
  display: block;
  width: 100%;
  height: 100%;
  padding: .7rem;
  object-fit: contain;
}

img.store-product-media {
  display: block;
  height: auto;
  padding: .7rem;
  object-fit: contain;
}

.store-product-card :is(.store-product-info, .card-body),
.store-news-card :is(.store-news-body, .card-body) {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: .8rem .88rem;
}

.store-site .store-product-card :is(h2, h3, .h3),
.store-site .store-news-card :is(h2, h3, .h3) {
  margin: 0 0 .38rem;
  font-size: 1.02rem !important;
  font-weight: 650 !important;
  line-height: 1.38;
}

.store-product-card :is(h2, h3) a,
.store-news-card :is(h2, h3) a {
  color: inherit;
  text-decoration: none;
}

.store-product-card :is(h2, h3) a:hover,
.store-product-info > a:hover,
.store-news-card :is(h2, h3) a:hover {
  color: var(--store-blue);
}

.store-site :is(.store-product-card, .store-news-card) p:not(.store-price) {
  margin-bottom: .55rem;
  color: var(--store-muted);
  font-size: .87rem !important;
  line-height: 1.55;
}

.store-site .store-price {
  margin-bottom: 0;
  color: var(--store-ink);
  font-size: 1.12rem !important;
  font-weight: 700 !important;
  font-variant-numeric: tabular-nums;
  line-height: 1.3;
}

.store-product-card .store-price {
  margin-top: auto;
}

.store-site .store-product-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .24rem .5rem;
  margin-top: auto;
  color: var(--store-muted);
  font-size: .79rem !important;
}

.store-promo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .55rem 1rem;
  margin-block: 1.45rem;
  padding: .85rem 1rem;
  border: 1px solid var(--store-border);
  background: #f0eff8;
}

.store-promo strong {
  color: var(--store-muted);
  font-size: .8rem;
  font-weight: 600;
}

.store-promo p {
  margin: .1rem 0 0;
}

.store-site .store-promo > a {
  padding: .36rem .64rem;
  border: 1px solid #d9c6bb;
  color: var(--store-blue);
  font-size: .88rem !important;
  text-decoration: none;
}

.store-promo > a:hover {
  background: var(--store-surface);
}

.store-product-detail :is(.card, .store-sidebar-panel) {
  border-color: var(--store-border);
  border-radius: 0;
}

.store-product-detail > .container > nav {
  padding-top: 1.05rem;
}

.store-product-detail .row > :is(.col-lg-5, .col-lg-7) {
  margin-top: 1.25rem !important;
}

.store-site .store-product-detail h1 {
  margin-bottom: .55rem;
  font-size: clamp(1.55rem, 3vw, 2.15rem) !important;
}

.store-site .store-product-detail .store-price {
  font-size: 1.38rem !important;
}

.store-site .store-product-category {
  display: inline-block;
  margin-bottom: .35rem;
  color: var(--store-blue);
  font-size: .84rem !important;
  text-decoration: none;
}

.store-product-actions {
  margin-bottom: 1rem;
}

.store-site .store-product-sources {
  margin-bottom: 0;
  color: var(--store-muted);
  font-size: .86rem !important;
}

.store-specs {
  margin-block: .9rem 1rem;
  border-top: 1px solid var(--store-border);
}

.store-specs > div {
  display: grid;
  grid-template-columns: minmax(5.2rem, 27%) minmax(0, 1fr);
  gap: .2rem .85rem;
  padding-block: .5rem;
  border-bottom: 1px solid var(--store-border);
}

.store-specs dt {
  color: var(--store-muted);
  font-weight: 500;
}

.store-specs dd {
  margin-bottom: 0;
  overflow-wrap: anywhere;
}

.store-site .store-specs :is(dt, dd) {
  font-size: .9rem !important;
}

.catalog-gallery-main {
  display: block;
  width: 100%;
  height: auto;
  max-height: 34rem;
  padding: .75rem;
  object-fit: contain;
  background: var(--store-media);
}

.catalog-gallery-thumb {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: var(--store-media);
}

[data-gallery-index] {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--store-border);
  background: var(--store-surface);
}

[data-gallery-index][aria-current="true"] {
  border-color: var(--store-blue);
  box-shadow: inset 0 0 0 1px var(--store-blue);
}

.store-site :is(.catalog-gallery-caption, #catalog-gallery-caption, #catalog-gallery-original) {
  color: var(--store-muted);
  font-size: .82rem !important;
}

.store-news-media {
  display: block;
  overflow: hidden;
  border-bottom: 1px solid var(--store-border);
  background: var(--store-media);
}

.store-news-media img,
img.store-news-media,
.store-news-card .card-img-top {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.store-site :is(.store-news-meta, .catalog-release-stats, .store-release-stats) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .24rem .72rem;
  padding-left: 0;
  color: var(--store-muted);
  font-size: .78rem !important;
  font-variant-numeric: tabular-nums;
  list-style: none;
}

.store-news-meta a {
  color: inherit;
  text-underline-offset: .16em;
}

.store-reading {
  line-height: 1.74;
  overflow-wrap: anywhere;
}

.store-reading > :is(h2, h3) {
  margin-block: 1.45rem .48rem;
}

.store-site .store-reading p {
  margin-bottom: 1rem;
  font-size: 1rem !important;
}

.store-reading img,
.store-article-figure img {
  display: block;
  max-width: 100%;
  height: auto;
}

.store-article-figure {
  margin-block: 1rem 1.25rem;
}

.store-article-figure figcaption {
  margin-top: .45rem;
  color: var(--store-muted);
  font-size: .85rem;
}

.store-sidebar {
  min-width: 0;
}

.store-sidebar-panel {
  margin-bottom: 1rem;
  padding: .95rem 1rem;
  border: 1px solid var(--store-border);
  background: var(--store-surface);
}

.store-site .store-sidebar-panel :is(h2, h3) {
  margin: 0 0 .6rem;
  font-size: 1rem !important;
}

.store-sidebar-panel ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.store-sidebar-panel li + li {
  margin-top: .5rem;
  padding-top: .5rem;
  border-top: 1px solid var(--store-border);
}

.store-site .store-sidebar-panel a {
  color: var(--store-ink);
  font-size: .91rem !important;
  text-underline-offset: .15em;
}

.store-site .store-sidebar-panel a:hover {
  color: var(--store-blue);
}

/* Retain the original Bootstrap search dialog and its full-page backdrop. */
#templatemo_search .modal-dialog {
  pointer-events: auto;
}

.store-site #templatemo_search .modal-dialog {
  max-width: 43rem;
}

.store-site #templatemo_search .form-control {
  min-height: 43px;
  border-color: var(--store-border);
}

[data-search-results] {
  max-height: min(58vh, 32rem);
  overflow-y: auto;
  overflow-wrap: anywhere;
}

.store-site .catalog-search-result {
  display: block;
  padding: .67rem .35rem;
  border-bottom: 1px solid var(--store-border);
  color: var(--store-ink);
  text-decoration: none;
}

.store-site .catalog-search-result:hover {
  color: var(--store-blue);
}

.catalog-search-result small {
  display: block;
  color: var(--store-muted);
}

@media (min-width: 992px) {
  .store-site #templatemo_main_nav .navbar-nav {
    max-width: 36rem;
    gap: .5rem;
  }
}

@media (max-width: 991.98px) {
  .store-site #templatemo_main_nav .navbar-nav {
    max-width: none;
    margin-block: .25rem .5rem;
    border-top: 1px solid var(--store-border);
  }

  .store-site #templatemo_main_nav .navbar-nav .nav-link {
    padding: .67rem .3rem;
  }

  .store-site #templatemo_main_nav .navbar-nav .nav-link[aria-current="page"]::after {
    inset-inline: .3rem auto;
    width: 2rem;
  }

  .store-side-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: .15rem;
  }

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

@media (max-width: 767.98px) {
  .store-directory,
  .store-news-grid,
  .store-doc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .7rem;
  }

  .store-site :is(.store-footer, #tempaltemo_footer) > .container > .row > [class*="col-"] {
    padding-top: 1.05rem !important;
  }
}

@media (max-width: 575.98px) {
  .store-site :is(.store-brand, .navbar-brand) {
    max-width: calc(100% - 3.2rem);
    font-size: 1.28rem !important;
    white-space: normal;
  }

  .store-site #templatemo_main_nav > .navbar {
    width: 100%;
    padding-top: 0;
  }

  .store-site #templatemo_main_nav .input-group {
    max-width: 24rem;
  }

  .store-page-head {
    padding-block: .42rem .95rem;
  }

  .store-product-media img,
  img.store-product-media,
  .store-product-card .catalog-card-image {
    padding: .43rem;
  }

  .store-product-card :is(.store-product-info, .card-body),
  .store-news-card :is(.store-news-body, .card-body) {
    padding: .63rem;
  }
}

/* Retained Little Fashion navigation, product grid and footer. */
.store-site .section-padding { padding-block: 56px; }
.store-site .store-header { position: relative; top: auto; padding-block: 0; box-shadow: none; background: #fff; }
.store-site .store-header > .container { min-height: 86px; }
.store-site .store-brand { font-size: 25px !important; letter-spacing: .06em; }
.store-site .store-brand strong { font-weight: 800; }
.store-site .store-brand span { color: var(--store-blue); }
.store-site #templatemo_main_nav .nav-link { padding: 30px 16px; color: #626260; font-size: 15px !important; font-weight: 500 !important; }
.store-site #templatemo_main_nav .nav-link[aria-current="page"] { color: var(--store-blue); }
.store-site #templatemo_main_nav .nav-link[aria-current="page"]::after { display: none; }
.store-search-toggle { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 0; background: transparent; font-size: 20px !important; color: var(--store-ink); }
.store-search-toggle:hover { color: var(--store-blue); }
.store-site .store-footer.site-footer { padding: 60px 0 0; background: #23243e !important; }
.store-site .store-footer :is(h4,h5) { color: #fff; font-size: 16px; font-weight: 650 !important; }
.store-site .store-footer h4 { font-size: 24px; letter-spacing: .05em; }
.store-site .store-footer p { color: #d4d3e6; font-size: 14px; }
.store-site .store-footer .footer-menu { gap: 12px 28px; padding: 0; margin: 0; }
.store-site .store-footer .footer-menu-item { width: auto; margin: 0; list-style: none; }
.store-site .store-footer .footer-menu-link { display: block; color: #d4d3e6; font-size: 14px !important; }
.store-site .store-footer .store-footer-bottom { display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; padding-block: 24px; margin-top: 32px; border-top: 1px solid #333437; }
.store-site .store-footer .store-footer-bottom p { margin: 0; font-size: 12px !important; }
[data-icp-slot] { display: inline-block; min-width: 220px; color: #d4d3e6; font-size: 12px; }
[data-icp-slot]:not(:has(a))::after { content: ""; display: inline-block; width: 130px; margin-left: 6px; border-bottom: 1px solid #565658; }
.store-site .store-page-head { padding: 14px 0 30px; margin-bottom: 30px; border-bottom: 0; }
.store-site .store-page-head h1 { margin: 14px 0; font-size: clamp(30px,4vw,46px) !important; font-weight: 800 !important; }
.store-site .store-page-head p { max-width: 760px; line-height: 1.8; }
.store-site .store-list { padding-block: 38px 72px; }
.store-site .store-filter-tabs { gap: 24px; margin-bottom: 26px; border-color: #dfdeea; }
.store-site .store-filter-tabs a { padding: 10px 0; }
.store-directory { gap: 38px 26px; }
.store-site .store-product-card.product-thumb { overflow: visible; border: 0; border-radius: 0; box-shadow: none; background: transparent; margin-bottom: 0; }
.store-site .store-product-card:hover { border-color: transparent; }
.store-site .store-product-media { aspect-ratio: 16 / 11; border: 0; padding: 12px; background: #f6f4fa; }
.store-site .store-product-media img { object-fit: contain; padding: 0; }
.store-site .store-product-info.product-info { padding: 19px 0 0; gap: 8px; display: flex; flex-direction: column; position: static; }
.store-site .store-product-info :is(h2,h3,h5) { margin: 0; font-size: 21px !important; line-height: 1.45; }
.store-site .store-product-info .product-p { margin: 0; font-size: 14px !important; line-height: 1.8; }
.store-site .store-product-info .store-product-meta { padding-top: 8px; }
.store-site .store-news-card { border: 0; overflow: visible; background: transparent; }
.store-site .store-news-body { padding: 17px 0 0; }
.store-site .store-news-card h2 { font-size: 18px !important; }
.store-site .store-news-media { border: 0; }
.store-site .store-news-media img { object-fit: contain; background: #f3f1f8; }
.store-site .store-news-grid, .store-site .store-doc-grid { gap: 34px 24px; }
.store-site .store-reading { padding-right: 20px; }
.store-site .store-reading > section { margin-top: 30px; }
.store-site .store-reading .h3 { margin-bottom: 14px; font-size: 22px !important; }
.store-site .store-reading p { color: #555550; line-height: 1.95; }
.store-site .store-sidebar-panel { padding: 22px; border-color: #dfdeea; background: #f4f2fa; }
.store-site .store-product-detail { padding-block: 32px 60px; }
.store-site .store-product-detail .row { margin-top: 20px; }
.store-site .store-product-detail h1 { font-size: clamp(28px,3vw,38px) !important; line-height: 1.4; }
.store-site .store-product-detail .store-section-title { margin-top: 30px; font-size: 20px !important; }
.store-site .store-product-detail p, .store-product-features { font-size: 15px; line-height: 1.9; }
.store-product-features { padding-left: 1.25em; }
.store-product-features li + li { margin-top: 8px; }
.store-site .catalog-gallery-main { padding: 16px; background: #f3f1f8; }
.store-site .store-price-note { color: #55576c; font-size: 13px; }
.store-site .store-product-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.store-site .store-product-actions .btn { padding: 13px 20px; font-size: 13px !important; border-radius: 0; }
.store-site .store-shelf + .store-shelf { margin-top: 48px; }
.store-site .store-promo { padding: 22px 26px; margin-block: 38px; border: 0; background: #f0eff8; }
.store-site .store-doc-grid .store-news-body { padding: 22px; border-top: 2px solid #252525; background: #f4f2fa; }
.store-site .store-doc-grid .store-news-card h2 { font-size: 19px !important; }
@media (max-width: 991.98px) {
 .store-site .store-header > .container { min-height: 72px; }
 .store-site #templatemo_main_nav .nav-link { padding: 13px 8px; }
 .store-site .store-header .navbar-toggler { border: 0; }
 .store-site .store-reading { padding-right: 0; }
 .store-site .store-footer.site-footer { padding-top: 40px; }
 .store-site .store-footer .row { row-gap: 24px; }
}
@media (max-width: 560px) {
 .store-site .container { padding-inline: 20px; }
 .store-site .store-brand { font-size: 22px !important; }
 .store-site .store-header > .container { min-height: 66px; }
 .store-site .store-list { padding-block: 24px 46px; }
 .store-site .store-page-head { margin-bottom: 20px; padding-bottom: 12px; }
 .store-site .store-page-head h1 { font-size: 30px !important; }
 .store-site .store-filter-tabs { column-gap: 18px; }
 .store-site .store-directory { gap: 28px 14px; }
 .store-site .store-product-info :is(h2,h3,h5) { font-size: 18px !important; }
 .store-site .store-product-media { padding: 6px; }
 .store-site .store-product-info .product-p { font-size: 13px !important; }
 .store-site .store-footer .store-footer-bottom { margin-top: 20px; }
 .store-site .store-footer .store-footer-bottom p { font-size: 11px !important; }
 .store-site .store-product-detail { padding-block: 20px 40px; }
 .store-site .store-product-detail .store-section-title { margin-top: 24px; }
}

.store-site .store-search-button { border: 0; background: transparent; padding: 10px; color: var(--store-ink); font-size: 20px !important; }
.store-site .store-gallery-thumbs { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin-top: 20px; }
.store-site .catalog-gallery-description { padding: 14px 0; }
.store-site .store-service-info.product-info { padding: 0 0 0 24px; }
.store-site .store-service-info > .product-title { font-size: 26px; margin: 0 0 12px; }
.store-site .store-service-body { margin-top: 36px; }
.store-site .store-credit-group { margin-top: 46px; }
.store-site .store-credit-group .h5 { font-size: 20px; }
.store-site .site-header.store-page-head { margin-top: 0; background: #f4f2fa; padding-block: 32px; }
@media(max-width:991px){ .store-site .store-service-info.product-info { padding: 24px 0 0; } }

/* Keep all static sections present in direct-open and full-page views. */
.store-site section { content-visibility: visible; contain-intrinsic-size: none; }


:root {
  --primary-color: #4d4a95;
  --section-bg-color: #f0eff8;
}

.store-site .store-header > .container {
  min-height: 74px;
}
.store-site .store-brand strong {
  display: inline-flex;
  align-items: center;
  color: var(--store-ink);
  font-size: 24px;
}
.store-site .store-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.store-site .store-brand-mark {
  width: 30px;
  height: 30px;
}
.store-site #templatemo_main_nav .nav-link {
  padding-block: 24px;
}
.store-site .site-header.store-page-head {
  background: #eeedf7;
}
.store-site .custom-btn {
  background: #383674;
}
.store-site .custom-btn:is(:hover, :focus-visible) {
  background: #4d4a95;
  color: #fff;
}
.store-site .custom-border-btn {
  background: #fff;
  color: #383674;
}
.store-site .store-product-card .store-price {
  color: #4d4a95;
}
.store-site .store-footer a {
  color: #efeef8;
}
.store-site .store-search-button {
  border: 0;
  background: transparent;
  padding: 10px;
  color: var(--store-ink);
  font-size: 20px !important;
}
@media (max-width: 991.98px) {
  .store-site .store-header > .container { min-height: 66px; }
  .store-site #templatemo_main_nav .nav-link { padding-block: 12px; }
  .store-site .store-brand strong { font-size: 21px; }
  .store-site .store-brand-mark { width: 27px; height: 27px; }
}

@media (min-width: 768px) {
  .store-shelf .store-directory:has(> .store-product-card:only-child) {
    grid-template-columns: minmax(0, 1fr);
  }
  .store-shelf .store-product-card:only-child {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
    gap: 24px;
    align-items: center;
    padding-right: 24px;
  }
  .store-shelf .store-product-card:only-child .store-product-media {
    aspect-ratio: 16 / 9;
  }
}

.store-site .store-card-order {
  align-self: flex-start;
  display: inline-flex;
  gap: 12px;
  align-items: center;
  min-height: 38px;
  margin-top: 2px;
  color: var(--store-blue);
  font-size: 14px !important;
  font-weight: 600 !important;
}
.store-site .store-card-order:is(:hover, :focus-visible) {
  color: var(--store-blue-hover);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.store-site .store-buy-actions { margin-top: 18px; }
.commerce-page { background: #fff; }
.commerce-steps { display: flex; align-items: center; gap: 28px; padding: 0 0 25px; margin: 0 0 32px; border-bottom: 1px solid var(--store-border); list-style: none; counter-reset: order-step; }
.commerce-steps li { display: flex; gap: 10px; align-items: center; color: var(--store-muted); font-size: 14px; }
.commerce-steps li::before { display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid var(--store-border); counter-increment: order-step; content: counter(order-step); font-size: 12px; }
.commerce-steps li[aria-current] { color: var(--store-ink); font-weight: 650; }
.commerce-steps li[aria-current]::before { color: #fff; background: var(--store-blue); border-color: var(--store-blue); }
.commerce-layout { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(300px,1fr); align-items: start; gap: 48px; }
.commerce-main { min-width: 0; }
.commerce-panel { padding: 0 0 32px; margin-bottom: 32px; border-bottom: 1px solid var(--store-border); }
.store-site .commerce-panel h2 { margin: 0 0 24px; font-size: 25px; font-weight: 750 !important; }
.store-site .commerce-panel p { font-size: 14px !important; color: var(--store-muted); line-height: 1.9; }
.store-site .commerce-scope-section h3 { margin: 28px 0 14px; font-size: 18px; }
.commerce-scope-section ul { padding-left: 1.15em; color: var(--store-muted); }
.commerce-scope-section li { padding-left: 3px; margin-bottom: 8px; font-size: 14px; line-height: 1.8; }
.commerce-field { margin: 0 0 22px; }
.commerce-field label { display: block; margin-bottom: 9px; color: var(--store-ink); font-size: 14px; font-weight: 600; }
.commerce-field label span { margin-left: 8px; color: var(--store-muted); font-size: 11px; font-weight: 400; }
.commerce-field .form-control { min-height: 48px; padding: 12px 14px; border-radius: 0; border-color: var(--store-border); font-size: 15px !important; }
.commerce-field textarea.form-control { min-height: 120px; resize: vertical; }
.store-site .commerce-field-help { margin: 8px 0 0; font-size: 12px !important; }
.commerce-panel .commerce-continue { padding: 15px 30px; border-radius: 0; }
.commerce-summary { position: sticky; top: 24px; min-width: 0; padding: 28px; background: var(--store-blue-soft); }
.commerce-product-image { display: grid; aspect-ratio: 16/10; align-items: center; background: var(--store-media); margin-bottom: 22px; }
.commerce-product-image img { display: block; width: 100%; height: 100%; max-height: 240px; object-fit: contain; }
.store-site .commerce-service-summary h2 { margin: 0 0 12px; font-size: 22px; line-height: 1.5; }
.store-site .commerce-service-summary h2 a { color: var(--store-ink); }
.store-site .commerce-summary p { margin: 0 0 18px; color: var(--store-muted); font-size: 12px !important; line-height: 1.8; }
.commerce-amounts { margin: 26px 0; }
.commerce-amounts>div { display: flex; justify-content: space-between; gap: 20px; margin: 14px 0; }
.commerce-amounts dt { font-size: 14px; font-weight: 400; color: var(--store-muted); }
.commerce-amounts dd { margin: 0; font-size: 14px; font-variant-numeric: tabular-nums; }
.commerce-amounts .commerce-total { align-items: baseline; padding-top: 20px; margin-top: 22px; border-top: 1px solid var(--store-border); }
.commerce-amounts .commerce-total dt { color: #222; font-weight: 650; }
.store-site .commerce-amounts .store-price { color: var(--store-blue); font-size: 28px !important; }
.store-site .commerce-return-link { display: inline-block; margin-top: 8px; color: var(--store-muted); font-size: 13px !important; text-decoration: underline; text-underline-offset: 4px; }
.commerce-panel-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; }
.store-site .commerce-panel-heading a { font-size: 13px !important; color: var(--store-blue); }
.commerce-contact-summary { margin: 24px 0 0; }
.commerce-contact-summary>div { display: grid; grid-template-columns: 112px minmax(0,1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--store-border); }
.commerce-contact-summary dt { color: var(--store-muted); font-size: 14px; font-weight: 400; }
.commerce-contact-summary dd { margin: 0; font-size: 14px; white-space: pre-wrap; overflow-wrap: anywhere; }
.commerce-payment-methods { display: flex; margin: 0 0 28px; }
.commerce-payment-option { display: flex; align-items: center; gap: 12px; min-width: 155px; padding: 16px 24px; border: 1px solid #2b81d9; color: #1769b7; background: #f6faff; font-size: 16px; }
.commerce-payment-option::before { content: '支'; display: grid; place-items: center; width: 26px; height: 26px; background: #1677ff; color: #fff; border-radius: 4px; font-size: 17px; }
.commerce-payment-notice { padding: 22px 24px; margin: 0 0 24px; background: var(--store-blue-soft); }
.store-site .commerce-payment-notice h3 { font-size: 17px; margin: 0 0 10px; }
.store-site .commerce-payment-notice p { margin: 0; }
.store-site .commerce-pay { display: inline-block; border-radius: 0; margin-right: 18px; padding: 15px 24px; font-size: 14px !important; }
.store-site .commerce-page .btn[disabled] { cursor: not-allowed; background: #8b8985; color: #fff; border-color: #8b8985; opacity: .6; }
.store-site .commerce-form-status,.store-site .commerce-order-status { font-size: 13px !important; color: var(--store-muted); }
@media(max-width:991.98px) {
 .commerce-layout { grid-template-columns: minmax(0,1fr); gap: 32px; }
 .commerce-summary { position: static; }
 .commerce-main { display: contents; }
 .commerce-summary { grid-row: 1; }
 .commerce-service-summary { display: grid; grid-template-columns: 140px minmax(0,1fr); gap: 8px 20px; }
 .commerce-service-summary .commerce-product-image { grid-row: span 2; margin: 0; }
 .commerce-service-summary p { margin: 0; }
}
@media(max-width:560px) {
 .commerce-layout { gap: 26px; }
 .commerce-summary { padding: 20px; }
 .commerce-service-summary { grid-template-columns: 104px minmax(0,1fr); gap: 7px 14px; }
 .store-site .commerce-service-summary h2 { font-size: 18px; }
 .store-site .commerce-service-summary>p { display: none; }
 .commerce-amounts { margin: 20px 0; }
 .commerce-amounts .commerce-total { margin-top: 16px; padding-top: 16px; }
 .commerce-panel { margin-bottom: 24px; padding-bottom: 24px; }
 .store-site .commerce-panel h2 { font-size: 22px; margin-bottom: 20px; }
 .commerce-contact-summary>div { grid-template-columns: 94px minmax(0,1fr); gap: 12px; }
 .commerce-steps { gap: 24px; margin-bottom: 24px; }
 .commerce-steps li { font-size: 13px; }
}

.commerce-scope-details summary { cursor: pointer; padding: 0 0 12px; font-size: 16px; font-weight: 600; }
.store-site .commerce-local-note { font-size: 12px !important; color: var(--store-muted); }

.commerce-service-summary { display: grid; grid-template-columns: 100px minmax(0,1fr); gap: 8px 18px; }
.commerce-service-summary .commerce-product-image { grid-row: span 2; margin: 0; align-self: start; }
.store-site .commerce-service-summary h2 { font-size: 19px; margin: 0; }
.store-site .commerce-service-summary>p { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; margin: 0; }

